Skip to content

Commit 4dd271a

Browse files
committed
feat: update generated APIs
1 parent 8ce2450 commit 4dd271a

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

packages/clients/src/api/billing/v2beta1/api.gen.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,16 @@ export class API extends ParentAPI {
221221
)
222222

223223
/**
224-
* List discounts. List all discounts for your organization and usable
224+
* List discounts. List all discounts for your Organization and usable
225225
* categories, products, offers, references, regions and zones where the
226-
* discount can be applied.
226+
* discount can be applied. As a reseller:
227+
*
228+
* - If you do not specify an `organization_id` you will list the discounts
229+
* applied to your own Organization and your customers
230+
* - If you indicate your `organization_id` you will list only the discounts
231+
* applied to your Organization
232+
* - If you indicate `the organization_id` of one of your customers, you will
233+
* list the discounts applied to their Organization.
227234
*
228235
* @param request - The request {@link ListDiscountsRequest}
229236
* @returns A Promise of ListDiscountsResponse

packages/clients/src/api/billing/v2beta1/types.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export interface Discount {
119119
id: string
120120
/** The creation date of the discount. */
121121
creationDate?: Date
122-
/** The organization ID of the discount. */
122+
/** The Organization ID of the discount. */
123123
organizationId: string
124124
/** The description of the discount. */
125125
description: string

0 commit comments

Comments
 (0)