Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions packages/clients/src/api/billing/v2beta1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,16 @@ export class API extends ParentAPI {
)

/**
* List discounts. List all discounts for your organization and usable
* List discounts. List all discounts for your Organization and usable
* categories, products, offers, references, regions and zones where the
* discount can be applied.
* discount can be applied. As a reseller:
*
* - If you do not specify an `organization_id` you will list the discounts
* applied to your own Organization and your customers
* - If you indicate your `organization_id` you will list only the discounts
* applied to your Organization
* - If you indicate `the organization_id` of one of your customers, you will
* list the discounts applied to their Organization.
*
* @param request - The request {@link ListDiscountsRequest}
* @returns A Promise of ListDiscountsResponse
Expand Down
2 changes: 1 addition & 1 deletion packages/clients/src/api/billing/v2beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export interface Discount {
id: string
/** The creation date of the discount. */
creationDate?: Date
/** The organization ID of the discount. */
/** The Organization ID of the discount. */
organizationId: string
/** The description of the discount. */
description: string
Expand Down
Loading