Skip to content

Commit 99cf7fb

Browse files
committed
feat: update generated APIs
1 parent 50cbd0a commit 99cf7fb

File tree

2 files changed

+240
-121
lines changed

2 files changed

+240
-121
lines changed

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

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ import type {
3131

3232
/**
3333
* Billing API.
34-
*
35-
* This API allows you to manage and query your Scaleway billing and
36-
* consumption.
34+
35+
This API allows you to manage and query your Scaleway billing and consumption.
3736
*/
3837
export class API extends ParentAPI {
3938
protected pageOfListConsumptions = (
@@ -72,8 +71,7 @@ export class API extends ParentAPI {
7271
)
7372

7473
/**
75-
* Get monthly consumption. Consumption allows you to retrieve your past or
76-
* current consumption cost, by project or category.
74+
* Get monthly consumption. Consumption allows you to retrieve your past or current consumption cost, by project or category.
7775
*
7876
* @param request - The request {@link ListConsumptionsRequest}
7977
* @returns A Promise of ListConsumptionsResponse
@@ -105,8 +103,7 @@ export class API extends ParentAPI {
105103
)
106104

107105
/**
108-
* Get monthly consumption taxes. Consumption Tax allows you to retrieve your
109-
* past or current tax charges, by project or category.
106+
* Get monthly consumption taxes. Consumption Tax allows you to retrieve your past or current tax charges, by project or category.
110107
*
111108
* @param request - The request {@link ListTaxesRequest}
112109
* @returns A Promise of ListTaxesResponse
@@ -138,8 +135,7 @@ export class API extends ParentAPI {
138135
)
139136

140137
/**
141-
* List invoices. List all your invoices, filtering by `start_date` and
142-
* `invoice_type`. Each invoice has its own ID.
138+
* List invoices. List all your invoices, filtering by `start_date` and `invoice_type`. Each invoice has its own ID.
143139
*
144140
* @param request - The request {@link ListInvoicesRequest}
145141
* @returns A Promise of ListInvoicesResponse
@@ -221,16 +217,10 @@ export class API extends ParentAPI {
221217
)
222218

223219
/**
224-
* List discounts. List all discounts for your Organization and usable
225-
* categories, products, offers, references, regions and zones where the
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.
220+
* List discounts. List all discounts for your Organization and usable categories, products, offers, references, regions and zones where the discount can be applied. As a reseller:
221+
- If you do not specify an `organization_id` you will list the discounts applied to your own Organization and your customers
222+
- If you indicate your `organization_id` you will list only the discounts applied to your Organization
223+
- If you indicate `the organization_id` of one of your customers, you will list the discounts applied to their Organization.
234224
*
235225
* @param request - The request {@link ListDiscountsRequest}
236226
* @returns A Promise of ListDiscountsResponse

0 commit comments

Comments
 (0)