@leaflow/sdk 0.75.0 → 0.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/billing/v1/index.d.ts +6 -6
- package/dist/billing/v1/schema.d.ts +61 -91
- package/dist/compute/v1/schema.d.ts +31 -23
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -3
- package/package.json +1 -13
- package/dist/fabric/v1/client.d.ts +0 -4
- package/dist/fabric/v1/client.js +0 -7
- package/dist/fabric/v1/index.d.ts +0 -115
- package/dist/fabric/v1/index.js +0 -5
- package/dist/fabric/v1/schema.d.ts +0 -2311
- package/dist/fabric/v1/schema.js +0 -5
- package/dist/fleet/v1/client.d.ts +0 -4
- package/dist/fleet/v1/client.js +0 -7
- package/dist/fleet/v1/index.d.ts +0 -15
- package/dist/fleet/v1/index.js +0 -5
- package/dist/fleet/v1/schema.d.ts +0 -291
- package/dist/fleet/v1/schema.js +0 -5
- package/dist/storage/v1/client.d.ts +0 -4
- package/dist/storage/v1/client.js +0 -7
- package/dist/storage/v1/index.d.ts +0 -35
- package/dist/storage/v1/index.js +0 -5
- package/dist/storage/v1/schema.d.ts +0 -751
- package/dist/storage/v1/schema.js +0 -5
|
@@ -14,17 +14,17 @@ export type GetAccountProjectClosurePreviewResult = operations["get-account-proj
|
|
|
14
14
|
/** The query parameters of `GET /account/v1/projects/{projectId}/closure-preview`. */
|
|
15
15
|
export type GetAccountProjectClosurePreviewQuery = operations["get-account-project-closure-preview"]["parameters"]["query"];
|
|
16
16
|
/** The success response body of `GET /catalog/v1/products`. */
|
|
17
|
-
export type
|
|
17
|
+
export type ListProductsResult = operations["list-products"]["responses"][200]["content"]["application/json"];
|
|
18
18
|
/** The success response body of `GET /catalog/v1/products/{productId}/plans`. */
|
|
19
|
-
export type
|
|
19
|
+
export type ListPlansResult = operations["list-plans"]["responses"][200]["content"]["application/json"];
|
|
20
20
|
/** The success response body of `GET /catalog/v1/plans/{planId}/prices`. */
|
|
21
|
-
export type
|
|
21
|
+
export type ListPricesResult = operations["list-prices"]["responses"][200]["content"]["application/json"];
|
|
22
22
|
/** The query parameters of `GET /catalog/v1/plans/{planId}/prices`. */
|
|
23
|
-
export type
|
|
23
|
+
export type ListPricesQuery = operations["list-prices"]["parameters"]["query"];
|
|
24
24
|
/** The success response body of `GET /catalog/v1/rate-cards/{rateCardId}/rules`. */
|
|
25
|
-
export type
|
|
25
|
+
export type ListRatesResult = operations["list-rates"]["responses"][200]["content"]["application/json"];
|
|
26
26
|
/** The query parameters of `GET /catalog/v1/rate-cards/{rateCardId}/rules`. */
|
|
27
|
-
export type
|
|
27
|
+
export type ListRatesQuery = operations["list-rates"]["parameters"]["query"];
|
|
28
28
|
/** The success response body of `POST /catalog/v1/estimates`. */
|
|
29
29
|
export type CreateEstimateResult = operations["create-estimate"]["responses"][200]["content"]["application/json"];
|
|
30
30
|
/** The request body of `POST /catalog/v1/estimates`. */
|
|
@@ -68,7 +68,7 @@ export interface paths {
|
|
|
68
68
|
cookie?: never;
|
|
69
69
|
};
|
|
70
70
|
/** List catalog products */
|
|
71
|
-
get: operations["list-
|
|
71
|
+
get: operations["list-products"];
|
|
72
72
|
put?: never;
|
|
73
73
|
post?: never;
|
|
74
74
|
delete?: never;
|
|
@@ -87,7 +87,7 @@ export interface paths {
|
|
|
87
87
|
cookie?: never;
|
|
88
88
|
};
|
|
89
89
|
/** List catalog plans */
|
|
90
|
-
get: operations["list-
|
|
90
|
+
get: operations["list-plans"];
|
|
91
91
|
put?: never;
|
|
92
92
|
post?: never;
|
|
93
93
|
delete?: never;
|
|
@@ -110,7 +110,7 @@ export interface paths {
|
|
|
110
110
|
* @description Public list prices only. An account holding a negotiated agreement may be charged less;
|
|
111
111
|
* it is never charged more.
|
|
112
112
|
*/
|
|
113
|
-
get: operations["list-
|
|
113
|
+
get: operations["list-prices"];
|
|
114
114
|
put?: never;
|
|
115
115
|
post?: never;
|
|
116
116
|
delete?: never;
|
|
@@ -133,7 +133,7 @@ export interface paths {
|
|
|
133
133
|
* @description Only public price lists are readable here. A list written for a single agreement is not,
|
|
134
134
|
* and its identifier cannot be used to reach it.
|
|
135
135
|
*/
|
|
136
|
-
get: operations["list-
|
|
136
|
+
get: operations["list-rates"];
|
|
137
137
|
put?: never;
|
|
138
138
|
post?: never;
|
|
139
139
|
delete?: never;
|
|
@@ -871,9 +871,9 @@ export interface paths {
|
|
|
871
871
|
};
|
|
872
872
|
/**
|
|
873
873
|
* Get project billing account
|
|
874
|
-
* @description
|
|
875
|
-
*
|
|
876
|
-
*
|
|
874
|
+
* @description Returns the payer's identity, its currency, and how much can still be spent. Cards,
|
|
875
|
+
* invoices and transaction history are not included; they belong to the account owner
|
|
876
|
+
* and are reached through `/account/v1/`.
|
|
877
877
|
*
|
|
878
878
|
* Returns 404 when no account pays for this project. Resources cannot be created in that
|
|
879
879
|
* state.
|
|
@@ -1502,41 +1502,37 @@ export interface components {
|
|
|
1502
1502
|
/** Format: int64 */
|
|
1503
1503
|
status: number;
|
|
1504
1504
|
};
|
|
1505
|
-
|
|
1505
|
+
Product: {
|
|
1506
1506
|
/** Format: uuid */
|
|
1507
1507
|
id: string;
|
|
1508
|
-
lookup_key: string;
|
|
1509
1508
|
name: string;
|
|
1510
1509
|
name_translations?: components["schemas"]["Translations"];
|
|
1511
1510
|
description?: string;
|
|
1512
1511
|
description_translations?: components["schemas"]["Translations"];
|
|
1513
1512
|
};
|
|
1514
|
-
|
|
1515
|
-
items: components["schemas"]["
|
|
1513
|
+
ProductList: {
|
|
1514
|
+
items: components["schemas"]["Product"][];
|
|
1516
1515
|
/** Format: int64 */
|
|
1517
1516
|
total_count?: number;
|
|
1518
1517
|
};
|
|
1519
|
-
|
|
1518
|
+
Plan: {
|
|
1520
1519
|
/** Format: uuid */
|
|
1521
1520
|
id: string;
|
|
1522
1521
|
/** Format: uuid */
|
|
1523
1522
|
product_id: string;
|
|
1524
|
-
lookup_key: string;
|
|
1525
1523
|
name: string;
|
|
1526
1524
|
name_translations?: components["schemas"]["Translations"];
|
|
1527
1525
|
description?: string;
|
|
1528
1526
|
description_translations?: components["schemas"]["Translations"];
|
|
1529
1527
|
};
|
|
1530
|
-
|
|
1531
|
-
items: components["schemas"]["
|
|
1528
|
+
PlanList: {
|
|
1529
|
+
items: components["schemas"]["Plan"][];
|
|
1532
1530
|
/** Format: int64 */
|
|
1533
1531
|
total_count?: number;
|
|
1534
1532
|
};
|
|
1535
|
-
|
|
1533
|
+
Price: {
|
|
1536
1534
|
termination_policy?: components["schemas"]["TerminationPolicy"];
|
|
1537
1535
|
refund_policy?: components["schemas"]["RefundPolicy"];
|
|
1538
|
-
/** @description External lookup alias within the service. Existing references use the price ID. */
|
|
1539
|
-
lookup_key?: string;
|
|
1540
1536
|
/** Format: uuid */
|
|
1541
1537
|
product_id?: string;
|
|
1542
1538
|
/** Format: uuid */
|
|
@@ -1597,12 +1593,12 @@ export interface components {
|
|
|
1597
1593
|
period?: "none" | "day" | "month" | "year";
|
|
1598
1594
|
setup_fee?: components["schemas"]["Money"];
|
|
1599
1595
|
};
|
|
1600
|
-
|
|
1601
|
-
items: components["schemas"]["
|
|
1596
|
+
PriceList: {
|
|
1597
|
+
items: components["schemas"]["Price"][];
|
|
1602
1598
|
/** Format: int64 */
|
|
1603
1599
|
total_count?: number;
|
|
1604
1600
|
};
|
|
1605
|
-
|
|
1601
|
+
Rate: {
|
|
1606
1602
|
meter: components["schemas"]["ObjectIdentity"];
|
|
1607
1603
|
/** @description The unit readings arrive in, such as `core-second`. */
|
|
1608
1604
|
unit?: string;
|
|
@@ -1627,17 +1623,21 @@ export interface components {
|
|
|
1627
1623
|
/** Format: date-time */
|
|
1628
1624
|
effective_to?: string | null;
|
|
1629
1625
|
};
|
|
1630
|
-
|
|
1631
|
-
items: components["schemas"]["
|
|
1626
|
+
RateList: {
|
|
1627
|
+
items: components["schemas"]["Rate"][];
|
|
1632
1628
|
/** Format: int64 */
|
|
1633
1629
|
total_count?: number;
|
|
1634
1630
|
};
|
|
1635
|
-
/** @description Identify a price directly, or select a price for a plan.
|
|
1631
|
+
/** @description Identify a price directly, or select a price for a plan. Account quotes apply applicable contract prices. */
|
|
1636
1632
|
QuoteLine: {
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1633
|
+
/** Format: uuid */
|
|
1634
|
+
price_id?: string;
|
|
1635
|
+
/** Format: uuid */
|
|
1636
|
+
product_id?: string;
|
|
1637
|
+
/** Format: uuid */
|
|
1638
|
+
plan_id?: string;
|
|
1639
|
+
/** Format: uuid */
|
|
1640
|
+
meter_id?: string;
|
|
1641
1641
|
/**
|
|
1642
1642
|
* @description The attributes the price depends on — region, instance type, token class.
|
|
1643
1643
|
*
|
|
@@ -1676,8 +1676,10 @@ export interface components {
|
|
|
1676
1676
|
* @description What is being changed.
|
|
1677
1677
|
*/
|
|
1678
1678
|
subscription_item_id: string;
|
|
1679
|
-
|
|
1680
|
-
|
|
1679
|
+
/** Format: uuid */
|
|
1680
|
+
price_id?: string;
|
|
1681
|
+
/** Format: uuid */
|
|
1682
|
+
plan_id?: string;
|
|
1681
1683
|
/** @description The new quantity. The current one is kept when omitted. */
|
|
1682
1684
|
quantity?: string;
|
|
1683
1685
|
/**
|
|
@@ -2029,7 +2031,7 @@ export interface components {
|
|
|
2029
2031
|
id: string;
|
|
2030
2032
|
/** Format: int64 */
|
|
2031
2033
|
billing_account_id: number;
|
|
2032
|
-
payment_gateway
|
|
2034
|
+
payment_gateway: string;
|
|
2033
2035
|
brand?: string;
|
|
2034
2036
|
last4?: string;
|
|
2035
2037
|
exp_month?: number | null;
|
|
@@ -2403,15 +2405,6 @@ export interface components {
|
|
|
2403
2405
|
requested_amount: components["schemas"]["Money"];
|
|
2404
2406
|
/** @description What has actually been returned. */
|
|
2405
2407
|
settled_amount?: components["schemas"]["Money"];
|
|
2406
|
-
/**
|
|
2407
|
-
* @description Withheld from what reaches the payer. It applies only to cash returned to a payment
|
|
2408
|
-
* method, so it is zero when `destination` is `balance`, and it is never taken out of
|
|
2409
|
-
* credit or a voucher.
|
|
2410
|
-
*
|
|
2411
|
-
* `settled_amount` is the amount put back against what was paid; the payer receives
|
|
2412
|
-
* that less this.
|
|
2413
|
-
*/
|
|
2414
|
-
fee_amount?: components["schemas"]["Money"];
|
|
2415
2408
|
currency: string;
|
|
2416
2409
|
/**
|
|
2417
2410
|
* @description Where the cash went.
|
|
@@ -2448,13 +2441,6 @@ export interface components {
|
|
|
2448
2441
|
RefundQuote: {
|
|
2449
2442
|
/** @description The most that can still be returned, before any fee. */
|
|
2450
2443
|
refundable_amount: components["schemas"]["Money"];
|
|
2451
|
-
/**
|
|
2452
|
-
* @description Withheld from the cash part. Zero when `destination` is `balance`, and never taken
|
|
2453
|
-
* out of credit or a voucher.
|
|
2454
|
-
*/
|
|
2455
|
-
fee_amount: components["schemas"]["Money"];
|
|
2456
|
-
/** @description `refundable_amount` less `fee_amount`. */
|
|
2457
|
-
net_amount: components["schemas"]["Money"];
|
|
2458
2444
|
currency: string;
|
|
2459
2445
|
/**
|
|
2460
2446
|
* @description Where the cash part would go. `gateway` returns it to the method it was paid
|
|
@@ -3043,11 +3029,8 @@ export interface components {
|
|
|
3043
3029
|
* @description How much is left, as a decimal string. Meaningful only when `metered` is true.
|
|
3044
3030
|
* `"0"` once exhausted, never negative.
|
|
3045
3031
|
*
|
|
3046
|
-
*
|
|
3047
|
-
*
|
|
3048
|
-
* warning, but it cannot enforce a strict limit: concurrent requests all see the same
|
|
3049
|
-
* figure. A hard limit has to be counted by the service that owns the capability, in
|
|
3050
|
-
* the same transaction as the operation it is limiting.
|
|
3032
|
+
* The figure is accurate as of the reply. It is suitable for display and for a soft
|
|
3033
|
+
* warning, and must not be used to enforce a strict limit.
|
|
3051
3034
|
*/
|
|
3052
3035
|
remaining_quantity?: string;
|
|
3053
3036
|
unit?: string;
|
|
@@ -3063,16 +3046,12 @@ export interface components {
|
|
|
3063
3046
|
/** Format: int64 */
|
|
3064
3047
|
total_count?: number;
|
|
3065
3048
|
};
|
|
3066
|
-
/** @description
|
|
3067
|
-
ObjectReference: {
|
|
3068
|
-
/** Format: uuid */
|
|
3069
|
-
id?: string;
|
|
3070
|
-
lookup_key?: string;
|
|
3071
|
-
};
|
|
3049
|
+
/** @description A catalog object inlined for display. */
|
|
3072
3050
|
ObjectIdentity: {
|
|
3073
3051
|
/** Format: uuid */
|
|
3074
3052
|
id: string;
|
|
3075
|
-
|
|
3053
|
+
name: string;
|
|
3054
|
+
name_translations?: components["schemas"]["Translations"];
|
|
3076
3055
|
};
|
|
3077
3056
|
/**
|
|
3078
3057
|
* @description Text in other languages, keyed by BCP 47 language tag (`zh-Hans`, `en`, `ja`).
|
|
@@ -3130,8 +3109,7 @@ export interface components {
|
|
|
3130
3109
|
* @description The `ETag` from an earlier reply. When the catalogue has not changed since, the
|
|
3131
3110
|
* answer is `304` with no body.
|
|
3132
3111
|
*
|
|
3133
|
-
*
|
|
3134
|
-
* cached at the edge, so a repeat read costs one round trip and no transfer.
|
|
3112
|
+
* Send it on every catalogue read. An unchanged catalogue is answered without a body.
|
|
3135
3113
|
*/
|
|
3136
3114
|
IfNoneMatch: string;
|
|
3137
3115
|
/** @description 1-based page number; the first page when omitted. */
|
|
@@ -3239,7 +3217,7 @@ export interface operations {
|
|
|
3239
3217
|
default: components["responses"]["Error"];
|
|
3240
3218
|
};
|
|
3241
3219
|
};
|
|
3242
|
-
"list-
|
|
3220
|
+
"list-products": {
|
|
3243
3221
|
parameters: {
|
|
3244
3222
|
query?: {
|
|
3245
3223
|
/** @description 1-based page number; the first page when omitted. */
|
|
@@ -3252,8 +3230,7 @@ export interface operations {
|
|
|
3252
3230
|
* @description The `ETag` from an earlier reply. When the catalogue has not changed since, the
|
|
3253
3231
|
* answer is `304` with no body.
|
|
3254
3232
|
*
|
|
3255
|
-
*
|
|
3256
|
-
* cached at the edge, so a repeat read costs one round trip and no transfer.
|
|
3233
|
+
* Send it on every catalogue read. An unchanged catalogue is answered without a body.
|
|
3257
3234
|
*/
|
|
3258
3235
|
"If-None-Match"?: components["parameters"]["IfNoneMatch"];
|
|
3259
3236
|
};
|
|
@@ -3273,14 +3250,14 @@ export interface operations {
|
|
|
3273
3250
|
[name: string]: unknown;
|
|
3274
3251
|
};
|
|
3275
3252
|
content: {
|
|
3276
|
-
"application/json": components["schemas"]["
|
|
3253
|
+
"application/json": components["schemas"]["ProductList"];
|
|
3277
3254
|
};
|
|
3278
3255
|
};
|
|
3279
3256
|
304: components["responses"]["NotModified"];
|
|
3280
3257
|
default: components["responses"]["Error"];
|
|
3281
3258
|
};
|
|
3282
3259
|
};
|
|
3283
|
-
"list-
|
|
3260
|
+
"list-plans": {
|
|
3284
3261
|
parameters: {
|
|
3285
3262
|
query?: {
|
|
3286
3263
|
/** @description 1-based page number; the first page when omitted. */
|
|
@@ -3293,8 +3270,7 @@ export interface operations {
|
|
|
3293
3270
|
* @description The `ETag` from an earlier reply. When the catalogue has not changed since, the
|
|
3294
3271
|
* answer is `304` with no body.
|
|
3295
3272
|
*
|
|
3296
|
-
*
|
|
3297
|
-
* cached at the edge, so a repeat read costs one round trip and no transfer.
|
|
3273
|
+
* Send it on every catalogue read. An unchanged catalogue is answered without a body.
|
|
3298
3274
|
*/
|
|
3299
3275
|
"If-None-Match"?: components["parameters"]["IfNoneMatch"];
|
|
3300
3276
|
};
|
|
@@ -3316,14 +3292,14 @@ export interface operations {
|
|
|
3316
3292
|
[name: string]: unknown;
|
|
3317
3293
|
};
|
|
3318
3294
|
content: {
|
|
3319
|
-
"application/json": components["schemas"]["
|
|
3295
|
+
"application/json": components["schemas"]["PlanList"];
|
|
3320
3296
|
};
|
|
3321
3297
|
};
|
|
3322
3298
|
304: components["responses"]["NotModified"];
|
|
3323
3299
|
default: components["responses"]["Error"];
|
|
3324
3300
|
};
|
|
3325
3301
|
};
|
|
3326
|
-
"list-
|
|
3302
|
+
"list-prices": {
|
|
3327
3303
|
parameters: {
|
|
3328
3304
|
query?: {
|
|
3329
3305
|
/** @description 1-based page number; the first page when omitted. */
|
|
@@ -3337,8 +3313,7 @@ export interface operations {
|
|
|
3337
3313
|
* @description The `ETag` from an earlier reply. When the catalogue has not changed since, the
|
|
3338
3314
|
* answer is `304` with no body.
|
|
3339
3315
|
*
|
|
3340
|
-
*
|
|
3341
|
-
* cached at the edge, so a repeat read costs one round trip and no transfer.
|
|
3316
|
+
* Send it on every catalogue read. An unchanged catalogue is answered without a body.
|
|
3342
3317
|
*/
|
|
3343
3318
|
"If-None-Match"?: components["parameters"]["IfNoneMatch"];
|
|
3344
3319
|
};
|
|
@@ -3360,14 +3335,14 @@ export interface operations {
|
|
|
3360
3335
|
[name: string]: unknown;
|
|
3361
3336
|
};
|
|
3362
3337
|
content: {
|
|
3363
|
-
"application/json": components["schemas"]["
|
|
3338
|
+
"application/json": components["schemas"]["PriceList"];
|
|
3364
3339
|
};
|
|
3365
3340
|
};
|
|
3366
3341
|
304: components["responses"]["NotModified"];
|
|
3367
3342
|
default: components["responses"]["Error"];
|
|
3368
3343
|
};
|
|
3369
3344
|
};
|
|
3370
|
-
"list-
|
|
3345
|
+
"list-rates": {
|
|
3371
3346
|
parameters: {
|
|
3372
3347
|
query?: {
|
|
3373
3348
|
/** @description 1-based page number; the first page when omitted. */
|
|
@@ -3375,7 +3350,7 @@ export interface operations {
|
|
|
3375
3350
|
/** @description How many per page, 100 at most. */
|
|
3376
3351
|
page_size?: components["parameters"]["PageSize"];
|
|
3377
3352
|
/** @description Filter by ID or lookup key. A lookup key is scoped to the product. */
|
|
3378
|
-
|
|
3353
|
+
meter_id?: string;
|
|
3379
3354
|
/** @description Return the rates in effect at this moment. Defaults to now. */
|
|
3380
3355
|
at?: string;
|
|
3381
3356
|
};
|
|
@@ -3384,8 +3359,7 @@ export interface operations {
|
|
|
3384
3359
|
* @description The `ETag` from an earlier reply. When the catalogue has not changed since, the
|
|
3385
3360
|
* answer is `304` with no body.
|
|
3386
3361
|
*
|
|
3387
|
-
*
|
|
3388
|
-
* cached at the edge, so a repeat read costs one round trip and no transfer.
|
|
3362
|
+
* Send it on every catalogue read. An unchanged catalogue is answered without a body.
|
|
3389
3363
|
*/
|
|
3390
3364
|
"If-None-Match"?: components["parameters"]["IfNoneMatch"];
|
|
3391
3365
|
};
|
|
@@ -3407,7 +3381,7 @@ export interface operations {
|
|
|
3407
3381
|
[name: string]: unknown;
|
|
3408
3382
|
};
|
|
3409
3383
|
content: {
|
|
3410
|
-
"application/json": components["schemas"]["
|
|
3384
|
+
"application/json": components["schemas"]["RateList"];
|
|
3411
3385
|
};
|
|
3412
3386
|
};
|
|
3413
3387
|
304: components["responses"]["NotModified"];
|
|
@@ -4197,8 +4171,7 @@ export interface operations {
|
|
|
4197
4171
|
/** @description Restrict to one of your accounts. All of them when omitted. */
|
|
4198
4172
|
billing_account_id?: components["parameters"]["AccountIdQuery"];
|
|
4199
4173
|
project_id?: string;
|
|
4200
|
-
|
|
4201
|
-
product?: components["schemas"]["ObjectReference"];
|
|
4174
|
+
product_id?: string;
|
|
4202
4175
|
resource_id?: string;
|
|
4203
4176
|
from?: components["parameters"]["From"];
|
|
4204
4177
|
/** @description Exclusive. */
|
|
@@ -4422,7 +4395,7 @@ export interface operations {
|
|
|
4422
4395
|
*/
|
|
4423
4396
|
group_by?: "product" | "plan" | "resource";
|
|
4424
4397
|
/** @description Filter by ID or lookup key. A lookup key is scoped to the product. */
|
|
4425
|
-
|
|
4398
|
+
product_id?: string;
|
|
4426
4399
|
/** @description 1-based page number; the first page when omitted. */
|
|
4427
4400
|
page?: components["parameters"]["Page"];
|
|
4428
4401
|
/** @description How many per page, 100 at most. */
|
|
@@ -4456,10 +4429,9 @@ export interface operations {
|
|
|
4456
4429
|
/** @description How many per page, 100 at most. */
|
|
4457
4430
|
page_size?: components["parameters"]["PageSize"];
|
|
4458
4431
|
resource_id?: string;
|
|
4432
|
+
product_id?: string;
|
|
4459
4433
|
/** @description Filter by ID or lookup key. A lookup key is scoped to the product. */
|
|
4460
|
-
|
|
4461
|
-
/** @description Filter by ID or lookup key. A lookup key is scoped to the product. */
|
|
4462
|
-
meter?: components["schemas"]["ObjectReference"];
|
|
4434
|
+
meter_id?: string;
|
|
4463
4435
|
from?: components["parameters"]["From"];
|
|
4464
4436
|
/** @description Exclusive. */
|
|
4465
4437
|
to?: components["parameters"]["To"];
|
|
@@ -4691,10 +4663,9 @@ export interface operations {
|
|
|
4691
4663
|
/** @description Restrict to one of your accounts. All of them when omitted. */
|
|
4692
4664
|
billing_account_id?: components["parameters"]["AccountIdQuery"];
|
|
4693
4665
|
/** @description Filter by ID or lookup key. A lookup key is scoped to the product. */
|
|
4694
|
-
|
|
4666
|
+
meter_id?: string;
|
|
4695
4667
|
status?: "active" | "depleted" | "expired" | "voided";
|
|
4696
|
-
|
|
4697
|
-
product?: components["schemas"]["ObjectReference"];
|
|
4668
|
+
product_id?: string;
|
|
4698
4669
|
};
|
|
4699
4670
|
header?: never;
|
|
4700
4671
|
path?: never;
|
|
@@ -4909,9 +4880,8 @@ export interface operations {
|
|
|
4909
4880
|
/** @description How many per page, 100 at most. */
|
|
4910
4881
|
page_size?: components["parameters"]["PageSize"];
|
|
4911
4882
|
/** @description Filter by ID or lookup key. A lookup key is scoped to the product. */
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
product?: components["schemas"]["ObjectReference"];
|
|
4883
|
+
meter_id?: string;
|
|
4884
|
+
product_id?: string;
|
|
4915
4885
|
};
|
|
4916
4886
|
header?: never;
|
|
4917
4887
|
path: {
|
|
@@ -4974,7 +4944,7 @@ export interface operations {
|
|
|
4974
4944
|
/** @description How many per page, 100 at most. */
|
|
4975
4945
|
page_size?: components["parameters"]["PageSize"];
|
|
4976
4946
|
/** @description Filter by ID or lookup key. A lookup key is scoped to the product. */
|
|
4977
|
-
|
|
4947
|
+
product_id?: string;
|
|
4978
4948
|
};
|
|
4979
4949
|
header?: never;
|
|
4980
4950
|
path: {
|
|
@@ -488,7 +488,7 @@ export interface paths {
|
|
|
488
488
|
* Open a remote console
|
|
489
489
|
* @description Operates the instance directly from a browser and does not require the instance to be reachable over the network, which makes it usable when a network misconfiguration prevents login.
|
|
490
490
|
*
|
|
491
|
-
* The returned address is single-use and expires within minutes.
|
|
491
|
+
* The returned address is single-use and expires within minutes. Request a new one before each use.
|
|
492
492
|
*/
|
|
493
493
|
post: operations["open-instance-console"];
|
|
494
494
|
delete?: never;
|
|
@@ -1382,7 +1382,8 @@ export interface components {
|
|
|
1382
1382
|
/** Format: uuid */
|
|
1383
1383
|
disk_id: string;
|
|
1384
1384
|
name: string;
|
|
1385
|
-
|
|
1385
|
+
/** Format: uuid */
|
|
1386
|
+
price_id: string;
|
|
1386
1387
|
order: components["schemas"]["OrderOptions"];
|
|
1387
1388
|
};
|
|
1388
1389
|
RenameBackupRequestBody: {
|
|
@@ -1400,7 +1401,8 @@ export interface components {
|
|
|
1400
1401
|
* @description Matches the size of the backup when omitted. When given, it must not be smaller than the backup
|
|
1401
1402
|
*/
|
|
1402
1403
|
size_gb?: number;
|
|
1403
|
-
|
|
1404
|
+
/** Format: uuid */
|
|
1405
|
+
price_id: string;
|
|
1404
1406
|
order: components["schemas"]["OrderOptions"];
|
|
1405
1407
|
};
|
|
1406
1408
|
DiskResource: {
|
|
@@ -1600,7 +1602,7 @@ export interface components {
|
|
|
1600
1602
|
country_code: string;
|
|
1601
1603
|
/** @description Display name for this place, shown to tenants (Hong Kong). It is the translatable one; the stable handle is code. */
|
|
1602
1604
|
name: string;
|
|
1603
|
-
/** @description The region's code, the way the outside world names this place (hk-1). Stable and human-written;
|
|
1605
|
+
/** @description The region's code, the way the outside world names this place (hk-1). Stable and human-written; addressing is by id. */
|
|
1604
1606
|
code: string;
|
|
1605
1607
|
/** Format: uuid */
|
|
1606
1608
|
id: string;
|
|
@@ -1609,7 +1611,7 @@ export interface components {
|
|
|
1609
1611
|
items: components["schemas"]["RegionResource"][] | null;
|
|
1610
1612
|
};
|
|
1611
1613
|
ZoneResource: {
|
|
1612
|
-
/** @description Display name for this zone, shown to tenants (Hong Kong A). It is the translatable one; the stable handle is code.
|
|
1614
|
+
/** @description Display name for this zone, shown to tenants (Hong Kong A). It is the translatable one; the stable handle is code. */
|
|
1613
1615
|
name: string;
|
|
1614
1616
|
/** @description The zone's code within its region (hk-1-a). Stable and human-written; addressing is by id. */
|
|
1615
1617
|
code: string;
|
|
@@ -1636,7 +1638,8 @@ export interface components {
|
|
|
1636
1638
|
* @description Restore from this snapshot. When given, the capacity need only be no smaller than the snapshot
|
|
1637
1639
|
*/
|
|
1638
1640
|
snapshot_id?: string;
|
|
1639
|
-
|
|
1641
|
+
/** Format: uuid */
|
|
1642
|
+
price_id: string;
|
|
1640
1643
|
order: components["schemas"]["OrderOptions"];
|
|
1641
1644
|
};
|
|
1642
1645
|
RenameDiskRequestBody: {
|
|
@@ -1648,7 +1651,8 @@ export interface components {
|
|
|
1648
1651
|
* @description Must be larger than the current capacity
|
|
1649
1652
|
*/
|
|
1650
1653
|
size_gb: number;
|
|
1651
|
-
|
|
1654
|
+
/** Format: uuid */
|
|
1655
|
+
price_id: string;
|
|
1652
1656
|
order: components["schemas"]["OrderOptions"];
|
|
1653
1657
|
};
|
|
1654
1658
|
RevertDiskRequestBody: {
|
|
@@ -1715,8 +1719,10 @@ export interface components {
|
|
|
1715
1719
|
private_network_id: string;
|
|
1716
1720
|
/** Format: uuid */
|
|
1717
1721
|
ipv4_pool_id: string;
|
|
1718
|
-
|
|
1719
|
-
|
|
1722
|
+
/** Format: uuid */
|
|
1723
|
+
price_id: string;
|
|
1724
|
+
/** Format: uuid */
|
|
1725
|
+
bandwidth_price_id: string;
|
|
1720
1726
|
order: components["schemas"]["OrderOptions"];
|
|
1721
1727
|
};
|
|
1722
1728
|
SetBandwidthRequestBody: {
|
|
@@ -1725,7 +1731,8 @@ export interface components {
|
|
|
1725
1731
|
* @description Applied to both directions
|
|
1726
1732
|
*/
|
|
1727
1733
|
mbps: number;
|
|
1728
|
-
|
|
1734
|
+
/** Format: uuid */
|
|
1735
|
+
price_id: string;
|
|
1729
1736
|
order: components["schemas"]["OrderOptions"];
|
|
1730
1737
|
};
|
|
1731
1738
|
BindFloatingIPRequestBody: {
|
|
@@ -1878,7 +1885,8 @@ export interface components {
|
|
|
1878
1885
|
*/
|
|
1879
1886
|
subnet_id?: string;
|
|
1880
1887
|
order: components["schemas"]["OrderOptions"];
|
|
1881
|
-
|
|
1888
|
+
/** Format: uuid */
|
|
1889
|
+
price_id: string;
|
|
1882
1890
|
boot_disk?: components["schemas"]["NewBootDisk"];
|
|
1883
1891
|
floating_ip?: components["schemas"]["NewFloatingIP"];
|
|
1884
1892
|
};
|
|
@@ -1965,7 +1973,8 @@ export interface components {
|
|
|
1965
1973
|
*/
|
|
1966
1974
|
instance_type_id: string;
|
|
1967
1975
|
order: components["schemas"]["OrderOptions"];
|
|
1968
|
-
|
|
1976
|
+
/** Format: uuid */
|
|
1977
|
+
price_id: string;
|
|
1969
1978
|
};
|
|
1970
1979
|
AttachDiskRequestBody: {
|
|
1971
1980
|
/** Format: uuid */
|
|
@@ -2117,7 +2126,8 @@ export interface components {
|
|
|
2117
2126
|
*/
|
|
2118
2127
|
instance_id: string;
|
|
2119
2128
|
name: string;
|
|
2120
|
-
|
|
2129
|
+
/** Format: uuid */
|
|
2130
|
+
price_id: string;
|
|
2121
2131
|
order: components["schemas"]["OrderOptions"];
|
|
2122
2132
|
};
|
|
2123
2133
|
RenamePrivateImageRequestBody: {
|
|
@@ -2317,7 +2327,8 @@ export interface components {
|
|
|
2317
2327
|
/** Format: uuid */
|
|
2318
2328
|
disk_id: string;
|
|
2319
2329
|
name: string;
|
|
2320
|
-
|
|
2330
|
+
/** Format: uuid */
|
|
2331
|
+
price_id: string;
|
|
2321
2332
|
order: components["schemas"]["OrderOptions"];
|
|
2322
2333
|
};
|
|
2323
2334
|
RenameSecurityGroupRequestBody: {
|
|
@@ -2333,12 +2344,6 @@ export interface components {
|
|
|
2333
2344
|
expected_amount?: string;
|
|
2334
2345
|
redemption_code?: string;
|
|
2335
2346
|
};
|
|
2336
|
-
/** @description Specify exactly one of id or lookup_key. A lookup key is scoped to the product of the resource service. */
|
|
2337
|
-
CatalogReference: {
|
|
2338
|
-
/** Format: uuid */
|
|
2339
|
-
id?: string;
|
|
2340
|
-
lookup_key?: string;
|
|
2341
|
-
};
|
|
2342
2347
|
/**
|
|
2343
2348
|
* @description A billable order has been created. Read it from the billing API to find out what is
|
|
2344
2349
|
* owed and whether payment is still required.
|
|
@@ -2364,14 +2369,17 @@ export interface components {
|
|
|
2364
2369
|
disk_type_id: string;
|
|
2365
2370
|
/** Format: int64 */
|
|
2366
2371
|
size_gb: number;
|
|
2367
|
-
|
|
2372
|
+
/** Format: uuid */
|
|
2373
|
+
price_id: string;
|
|
2368
2374
|
/** @default true */
|
|
2369
2375
|
delete_with_instance?: boolean;
|
|
2370
2376
|
};
|
|
2371
2377
|
/** @description An address and bandwidth purchased in the same order. Mutually exclusive with floating_ip_id. */
|
|
2372
2378
|
NewFloatingIP: {
|
|
2373
|
-
|
|
2374
|
-
|
|
2379
|
+
/** Format: uuid */
|
|
2380
|
+
price_id: string;
|
|
2381
|
+
/** Format: uuid */
|
|
2382
|
+
bandwidth_price_id: string;
|
|
2375
2383
|
/** Format: int64 */
|
|
2376
2384
|
bandwidth_mbps: number;
|
|
2377
2385
|
/** Format: uuid */
|
package/dist/index.d.ts
CHANGED
|
@@ -4,11 +4,8 @@ export * as billing from "./billing/v1/index.js";
|
|
|
4
4
|
export * as canopy from "./canopy/v1/index.js";
|
|
5
5
|
export * as compute from "./compute/v1/index.js";
|
|
6
6
|
export * as dns from "./dns/v1/index.js";
|
|
7
|
-
export * as fabric from "./fabric/v1/index.js";
|
|
8
|
-
export * as fleet from "./fleet/v1/index.js";
|
|
9
7
|
export * as iam from "./iam/v1/index.js";
|
|
10
8
|
export * as monitoring from "./monitoring/v1/index.js";
|
|
11
9
|
export * as notification from "./notification/v1/index.js";
|
|
12
|
-
export * as storage from "./storage/v1/index.js";
|
|
13
10
|
export * as support from "./support/v1/index.js";
|
|
14
11
|
export * as tunnel from "./tunnel/v1/index.js";
|
package/dist/index.js
CHANGED
|
@@ -13,11 +13,8 @@ export * as billing from "./billing/v1/index.js";
|
|
|
13
13
|
export * as canopy from "./canopy/v1/index.js";
|
|
14
14
|
export * as compute from "./compute/v1/index.js";
|
|
15
15
|
export * as dns from "./dns/v1/index.js";
|
|
16
|
-
export * as fabric from "./fabric/v1/index.js";
|
|
17
|
-
export * as fleet from "./fleet/v1/index.js";
|
|
18
16
|
export * as iam from "./iam/v1/index.js";
|
|
19
17
|
export * as monitoring from "./monitoring/v1/index.js";
|
|
20
18
|
export * as notification from "./notification/v1/index.js";
|
|
21
|
-
export * as storage from "./storage/v1/index.js";
|
|
22
19
|
export * as support from "./support/v1/index.js";
|
|
23
20
|
export * as tunnel from "./tunnel/v1/index.js";
|