@leaflow/sdk 0.102.0 → 0.103.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/account/v1/index.d.ts +4 -8
- package/dist/billing/account/v1/schema.d.ts +99 -197
- package/dist/billing/catalog/v1/schema.d.ts +17 -6
- package/dist/billing/project/v1/schema.d.ts +81 -54
- package/dist/compute/v1/index.d.ts +80 -22
- package/dist/compute/v1/schema.d.ts +2474 -1097
- package/dist/routes.d.ts +124 -20
- package/dist/routes.js +139 -22
- package/package.json +1 -1
|
@@ -171,7 +171,7 @@ export interface paths {
|
|
|
171
171
|
* - 409 `BILLING_CANCELLATION_SCHEDULES_DIFFER` when, for `period_end`, the paid terms end at
|
|
172
172
|
* different times;
|
|
173
173
|
* - 409 `BILLING_SUBSCRIPTION_OPERATION_PENDING` when a subscription is already being canceled
|
|
174
|
-
* (`meta.cancellation_id`) or reclaimed (`meta.
|
|
174
|
+
* (`meta.cancellation_id`) or reclaimed (`meta.action_id`);
|
|
175
175
|
* - 409 `BILLING_ORDER_PAYMENT_IN_FLIGHT` while an online payment for a renewal of one of them
|
|
176
176
|
* is in progress;
|
|
177
177
|
* - 409 `BILLING_CANCELLATION_REFUND_CHANGED` when the refund is no longer
|
|
@@ -433,7 +433,16 @@ export interface components {
|
|
|
433
433
|
*/
|
|
434
434
|
TerminationPolicy: "immediate" | "period_end";
|
|
435
435
|
/**
|
|
436
|
-
* @description
|
|
436
|
+
* @description none refunds nothing. prorated refunds the amount paid for the current period minus the value of
|
|
437
|
+
* the time used, never below zero and never more than what remains unrefunded. The time used runs
|
|
438
|
+
* from the period start to the effective cancellation time and is valued at the plan's
|
|
439
|
+
* shorter-period prices in the same currency, frozen at purchase as the order item's
|
|
440
|
+
* refund_monthly_amount and refund_hourly_amount: each full calendar month at the one-month prepaid
|
|
441
|
+
* price, the remainder at the postpaid hourly price or, without one, at the one-month price by the
|
|
442
|
+
* second. When the plan has no prepaid period shorter than the one bought, the time used is valued
|
|
443
|
+
* at the price paid, pro rata by the second. Discounts are not refunded, as they were never paid,
|
|
444
|
+
* and setup fees are excluded. The refunded part returns to the payment sources it came from. Tax
|
|
445
|
+
* paid is refunded in the same proportion as the amount it was paid on.
|
|
437
446
|
* @enum {string}
|
|
438
447
|
*/
|
|
439
448
|
RefundPolicy: "none" | "prorated";
|
|
@@ -450,8 +459,8 @@ export interface components {
|
|
|
450
459
|
* @description What the cancellation would return, subscription by subscription and in total, as of now. Give
|
|
451
460
|
* `proration_date` and `refundable_amount` when creating the cancellation.
|
|
452
461
|
*
|
|
453
|
-
* - `unused_amount`: before tax, the
|
|
454
|
-
* terms say.
|
|
462
|
+
* - `unused_amount`: before tax, the amount paid for the current periods minus the value of the
|
|
463
|
+
* time used, valued as refund policy `prorated` describes, whatever the refund terms say.
|
|
455
464
|
* - `refundable_amount`: what is returned the way it was paid, including the tax paid on it;
|
|
456
465
|
* `refund_amount` plus `credit_amount`.
|
|
457
466
|
* - `refund_amount`: the part returned to the balance or to the payment method.
|
|
@@ -689,7 +698,9 @@ export interface components {
|
|
|
689
698
|
/**
|
|
690
699
|
* @description Price renewing a prepaid subscription. Give `price_id`, or `interval` with
|
|
691
700
|
* `interval_count`, to renew for another term at the price currently sold for it. Naming
|
|
692
|
-
* the current term, or giving neither, renews at the agreed amount.
|
|
701
|
+
* the current term, or giving neither, renews at the agreed amount. A term sold at several
|
|
702
|
+
* prices that differ in termination policy is refused with 409
|
|
703
|
+
* `BILLING_RENEWAL_OPTION_AMBIGUOUS` unless `termination_policy` or `price_id` is given.
|
|
693
704
|
*/
|
|
694
705
|
QuoteRenewal: {
|
|
695
706
|
/** Format: uuid */
|
|
@@ -699,46 +710,41 @@ export interface components {
|
|
|
699
710
|
/** @enum {string} */
|
|
700
711
|
interval?: "day" | "month" | "year";
|
|
701
712
|
interval_count?: number;
|
|
713
|
+
/** @description With `interval` and `interval_count`, chooses among prices of that term that differ in termination policy. */
|
|
714
|
+
termination_policy?: components["schemas"]["TerminationPolicy"];
|
|
702
715
|
/**
|
|
703
716
|
* @description How many consecutive periods to renew for.
|
|
704
717
|
* @default 1
|
|
705
718
|
*/
|
|
706
719
|
periods?: number;
|
|
707
720
|
};
|
|
708
|
-
/** @description Quote exactly one target. Purchase lines, an existing order, a renewal list and a cancellation are mutually exclusive. */
|
|
709
|
-
QuoteRequest: components["schemas"]["PurchaseQuoteRequest"] | components["schemas"]["OrderQuoteRequest"] | components["schemas"]["RenewalQuoteRequest"] | components["schemas"]["CancellationQuoteRequest"];
|
|
710
721
|
/**
|
|
711
|
-
* @description
|
|
712
|
-
*
|
|
722
|
+
* @description Quote exactly one target: purchase `lines`, an existing `order_id`, `renewals` or a `cancellation`. Giving none or
|
|
723
|
+
* more than one, or a `promotion_code` with `renewals` or a `cancellation`, fails with HTTP 400
|
|
724
|
+
* `BILLING_PURCHASE_INVALID` and `meta.field` naming the offending field. Without a code, an
|
|
725
|
+
* applicable account discount is selected. An explicit code is evaluated without reserving or
|
|
713
726
|
* consuming a redemption and must be supplied again when confirming checkout through Billing.
|
|
714
|
-
* Future usage estimates cannot be combined with a promotion code or used as a checkout amount.
|
|
715
727
|
*/
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
order_id
|
|
728
|
-
/**
|
|
728
|
+
QuoteRequest: {
|
|
729
|
+
/**
|
|
730
|
+
* @description A proposed purchase, priced with the project's current billing account. Future usage
|
|
731
|
+
* estimates cannot be combined with a promotion code or used as a checkout amount.
|
|
732
|
+
*/
|
|
733
|
+
lines?: components["schemas"]["QuoteLine"][];
|
|
734
|
+
/**
|
|
735
|
+
* Format: uuid
|
|
736
|
+
* @description Preview checkout of this existing order. Its recorded purchase terms supply every line, and a
|
|
737
|
+
* confirmed order returns its recorded amounts. A preview does not change the order.
|
|
738
|
+
*/
|
|
739
|
+
order_id?: string;
|
|
740
|
+
/**
|
|
741
|
+
* @description Preview renewing these subscriptions, each at most once. Each entry represents a separate
|
|
742
|
+
* renewal order. To preview a new promotion code, create a renewal order and quote it by order_id.
|
|
743
|
+
*/
|
|
744
|
+
renewals?: components["schemas"]["QuoteRenewal"][];
|
|
745
|
+
cancellation?: components["schemas"]["QuoteCancellation"];
|
|
729
746
|
promotion_code?: string;
|
|
730
747
|
};
|
|
731
|
-
/**
|
|
732
|
-
* @description Preview renewing subscriptions, each at most once. Each entry represents a separate renewal
|
|
733
|
-
* order. To preview a new promotion code, create a renewal order and quote it by order_id.
|
|
734
|
-
*/
|
|
735
|
-
RenewalQuoteRequest: {
|
|
736
|
-
renewals: components["schemas"]["QuoteRenewal"][];
|
|
737
|
-
};
|
|
738
|
-
/** @description Preview one cancellation without combining it with a purchase, renewal or promotion code. */
|
|
739
|
-
CancellationQuoteRequest: {
|
|
740
|
-
cancellation: components["schemas"]["QuoteCancellation"];
|
|
741
|
-
};
|
|
742
748
|
/**
|
|
743
749
|
* @description A purchase quote line or one recorded order item. Monetary fields use the account currency.
|
|
744
750
|
* Fixed purchase amounts are rounded as checkout rounds them. Usage estimates are not amounts
|
|
@@ -1009,14 +1015,15 @@ export interface components {
|
|
|
1009
1015
|
* through checkout and delivery. One order may create several subscriptions, such as an instance,
|
|
1010
1016
|
* its system disk and its address; it has no single subscription ID.
|
|
1011
1017
|
*
|
|
1012
|
-
* Pending
|
|
1013
|
-
*
|
|
1014
|
-
* delivery, with started_at set to the confirmed effective time. Prepaid service periods start
|
|
1018
|
+
* Pending and provisioning do not grant service or accrue usage. A service-owned subscription
|
|
1019
|
+
* becomes provisioning when the owning service accepts the order, and active when the service
|
|
1020
|
+
* confirms delivery, with started_at set to the confirmed effective time; payment changes neither. Prepaid service periods start
|
|
1015
1021
|
* then; postpaid usage starts only when the service reports actual delivery and metering.
|
|
1016
1022
|
*
|
|
1017
1023
|
* One-time delivery may omit a subscription. Renewals reference and extend existing subscriptions
|
|
1018
|
-
* rather than creating another;
|
|
1019
|
-
*
|
|
1024
|
+
* rather than creating another; a change keeps the subscription ID and switches its terms when it
|
|
1025
|
+
* takes effect. Canceling or failing an
|
|
1026
|
+
* unfulfilled purchase closes its pending or provisioning subscriptions without starting a service period.
|
|
1020
1027
|
* Fixed renewals use the agreed recurring_amount and interval; already paid periods retain their
|
|
1021
1028
|
* original value. Technical state belongs to the owning service.
|
|
1022
1029
|
*
|
|
@@ -1042,7 +1049,10 @@ export interface components {
|
|
|
1042
1049
|
refund_policy?: components["schemas"]["RefundPolicy"];
|
|
1043
1050
|
/** Format: uuid */
|
|
1044
1051
|
order_item_id?: string;
|
|
1045
|
-
/**
|
|
1052
|
+
/**
|
|
1053
|
+
* Format: uuid
|
|
1054
|
+
* @description Present only on subscriptions created by an earlier change that replaced the subscription. A change now keeps the subscription ID.
|
|
1055
|
+
*/
|
|
1046
1056
|
replaces_subscription_id?: string;
|
|
1047
1057
|
/** Format: uuid */
|
|
1048
1058
|
coupon_id?: string;
|
|
@@ -1090,20 +1100,21 @@ export interface components {
|
|
|
1090
1100
|
quantity: string;
|
|
1091
1101
|
/**
|
|
1092
1102
|
* Format: date-time
|
|
1093
|
-
* @description End of the prepaid service already activated. Null
|
|
1094
|
-
* when its purchase has been paid, and for postpaid subscriptions with no prepaid end date.
|
|
1103
|
+
* @description End of the prepaid service already activated. Null until a new subscription becomes active,
|
|
1104
|
+
* even when its purchase has been paid, and for postpaid subscriptions with no prepaid end date.
|
|
1095
1105
|
*/
|
|
1096
1106
|
paid_until?: string | null;
|
|
1097
1107
|
auto_renew: boolean;
|
|
1098
1108
|
/**
|
|
1099
|
-
* @description pending means the purchase relationship exists but
|
|
1100
|
-
*
|
|
1109
|
+
* @description pending means the purchase relationship exists but its order has not been accepted.
|
|
1110
|
+
* provisioning means the service accepted the order and is delivering. For a service-owned
|
|
1111
|
+
* purchase, only confirmed delivery moves it to active; paying alone does not.
|
|
1101
1112
|
* @enum {string}
|
|
1102
1113
|
*/
|
|
1103
|
-
status: "pending" | "active" | "suspended" | "canceled" | "terminated";
|
|
1114
|
+
status: "pending" | "provisioning" | "active" | "suspended" | "canceled" | "terminated";
|
|
1104
1115
|
/**
|
|
1105
1116
|
* Format: date-time
|
|
1106
|
-
* @description Confirmed start of service. Null
|
|
1117
|
+
* @description Confirmed start of service. Null until a new subscription becomes active, including after payment.
|
|
1107
1118
|
*/
|
|
1108
1119
|
started_at?: string | null;
|
|
1109
1120
|
/** Format: date-time */
|
|
@@ -1153,8 +1164,9 @@ export interface components {
|
|
|
1153
1164
|
pagination: components["schemas"]["OffsetPagination"];
|
|
1154
1165
|
};
|
|
1155
1166
|
/**
|
|
1156
|
-
* @description pending_checkout has recorded purchase terms but no confirmed checkout
|
|
1157
|
-
*
|
|
1167
|
+
* @description pending_checkout has recorded purchase terms but no confirmed checkout; only a deferred order
|
|
1168
|
+
* with an amount due reaches it, since a zero-total order completes checkout at placement.
|
|
1169
|
+
* Confirmation moves it to pending. Both pending_checkout
|
|
1158
1170
|
* and pending can expire or be canceled; neither establishes service delivery.
|
|
1159
1171
|
*
|
|
1160
1172
|
* Follows the items. `pending` has confirmed checkout, is not yet accepted and may be paid or unpaid. `active` is
|
|
@@ -1285,8 +1297,8 @@ export interface components {
|
|
|
1285
1297
|
/**
|
|
1286
1298
|
* Format: uuid
|
|
1287
1299
|
* @description Stable Billing subscription ID. A new prepaid or postpaid service purchase returns the
|
|
1288
|
-
* pending subscription here; renewals reference the existing subscription
|
|
1289
|
-
*
|
|
1300
|
+
* pending subscription here; renewals and changes reference the existing subscription, which
|
|
1301
|
+
* keeps its ID. Absent for delivery without a subscription. This is not a business resource ID.
|
|
1290
1302
|
*/
|
|
1291
1303
|
subscription_id?: string;
|
|
1292
1304
|
/** @enum {string} */
|
|
@@ -1294,6 +1306,17 @@ export interface components {
|
|
|
1294
1306
|
interval_count?: number;
|
|
1295
1307
|
termination_policy?: components["schemas"]["TerminationPolicy"];
|
|
1296
1308
|
refund_policy?: components["schemas"]["RefundPolicy"];
|
|
1309
|
+
/**
|
|
1310
|
+
* @description Prepaid items only: the plan's one-month prepaid price for this item's quantity before tax, frozen
|
|
1311
|
+
* at purchase, used to value time used under a prorated refund or a downgrade. Null when the plan has
|
|
1312
|
+
* no prepaid period shorter than the one bought.
|
|
1313
|
+
*/
|
|
1314
|
+
refund_monthly_amount?: string | null;
|
|
1315
|
+
/**
|
|
1316
|
+
* @description Prepaid items only: the plan's postpaid hourly price for this item's quantity before tax, frozen at
|
|
1317
|
+
* purchase, used for time used short of a full month. Null when the plan has no postpaid price.
|
|
1318
|
+
*/
|
|
1319
|
+
refund_hourly_amount?: string | null;
|
|
1297
1320
|
completes_on_payment: boolean;
|
|
1298
1321
|
recurring_amount?: string;
|
|
1299
1322
|
setup_amount?: string;
|
|
@@ -1328,14 +1351,16 @@ export interface components {
|
|
|
1328
1351
|
quantity: string;
|
|
1329
1352
|
/**
|
|
1330
1353
|
* @description The unit amount of the price this line is charged under. Absent for a tiered price, which has no
|
|
1331
|
-
* single unit amount, and for a change that takes effect at once, which is charged
|
|
1332
|
-
*
|
|
1354
|
+
* single unit amount, and for a change that takes effect at once, which is charged as `gross_amount`
|
|
1355
|
+
* describes.
|
|
1333
1356
|
*/
|
|
1334
1357
|
unit_amount?: components["schemas"]["Money"];
|
|
1335
1358
|
/**
|
|
1336
1359
|
* @description Before discounts: the price applied to the quantity, which for a per-unit price is `unit_amount`
|
|
1337
|
-
* times `quantity`; a minimum charge can make it higher. For
|
|
1338
|
-
* the
|
|
1360
|
+
* times `quantity`; a minimum charge can make it higher. For an upgrade that takes effect at once it is
|
|
1361
|
+
* the new price minus the old price for the time left in the paid period, both at the subscription's
|
|
1362
|
+
* own period price, and the period end does not move; a downgrade charges nothing and may refund the
|
|
1363
|
+
* difference instead. A change between equal period prices charges and refunds nothing. The setup fee is not part of it; see `setup_amount`.
|
|
1339
1364
|
*
|
|
1340
1365
|
* Under an inclusive tax rate it includes tax, as the price does, and the included part is
|
|
1341
1366
|
* `tax_included_amount`. A renewal at the agreed terms is the exception: the agreed amount excludes
|
|
@@ -1447,6 +1472,8 @@ export interface components {
|
|
|
1447
1472
|
tax_amount: string;
|
|
1448
1473
|
total: string;
|
|
1449
1474
|
amount_paid: string;
|
|
1475
|
+
/** @description What is still collectible after applied credits and successful payments; never below zero. */
|
|
1476
|
+
amount_due: string;
|
|
1450
1477
|
amount_refunded: string;
|
|
1451
1478
|
/** Format: date-time */
|
|
1452
1479
|
due_at?: string;
|
|
@@ -6,13 +6,9 @@ export type ListBackupsResult = operations["list-backups"]["responses"][200]["co
|
|
|
6
6
|
/** The query parameters of `GET /api/v1/backups`. */
|
|
7
7
|
export type ListBackupsQuery = operations["list-backups"]["parameters"]["query"];
|
|
8
8
|
/** The success response body of `POST /api/v1/backups`. */
|
|
9
|
-
export type CreateBackupResult = operations["create-backup"]["responses"][
|
|
9
|
+
export type CreateBackupResult = operations["create-backup"]["responses"][202]["content"]["application/json"];
|
|
10
10
|
/** The request body of `POST /api/v1/backups`. */
|
|
11
11
|
export type CreateBackupBody = NonNullable<operations["create-backup"]["requestBody"]>["content"]["application/json"];
|
|
12
|
-
/** The success response body of `POST /api/v1/backups/quote`. */
|
|
13
|
-
export type CreateBackupQuoteResult = operations["create-backup-quote"]["responses"][200]["content"]["application/json"];
|
|
14
|
-
/** The request body of `POST /api/v1/backups/quote`. */
|
|
15
|
-
export type CreateBackupQuoteBody = NonNullable<operations["create-backup-quote"]["requestBody"]>["content"]["application/json"];
|
|
16
12
|
/** The success response body of `GET /api/v1/backups/{backupId}`. */
|
|
17
13
|
export type GetBackupResult = operations["get-backup"]["responses"][200]["content"]["application/json"];
|
|
18
14
|
/** The success response body of `PATCH /api/v1/backups/{backupId}`. */
|
|
@@ -22,9 +18,13 @@ export type RenameBackupBody = NonNullable<operations["rename-backup"]["requestB
|
|
|
22
18
|
/** The success response body of `DELETE /api/v1/backups/{backupId}`. */
|
|
23
19
|
export type DeleteBackupResult = operations["delete-backup"]["responses"][202]["content"]["application/json"];
|
|
24
20
|
/** The success response body of `POST /api/v1/backups/{backupId}/restore`. */
|
|
25
|
-
export type RestoreBackupResult = operations["restore-backup"]["responses"][
|
|
21
|
+
export type RestoreBackupResult = operations["restore-backup"]["responses"][202]["content"]["application/json"];
|
|
26
22
|
/** The request body of `POST /api/v1/backups/{backupId}/restore`. */
|
|
27
23
|
export type RestoreBackupBody = NonNullable<operations["restore-backup"]["requestBody"]>["content"]["application/json"];
|
|
24
|
+
/** The success response body of `POST /api/v1/backups/{backupId}/restore/quote`. */
|
|
25
|
+
export type CreateBackupRestoreQuoteResult = operations["create-backup-restore-quote"]["responses"][200]["content"]["application/json"];
|
|
26
|
+
/** The request body of `POST /api/v1/backups/{backupId}/restore/quote`. */
|
|
27
|
+
export type CreateBackupRestoreQuoteBody = NonNullable<operations["create-backup-restore-quote"]["requestBody"]>["content"]["application/json"];
|
|
28
28
|
/** The success response body of `GET /api/v1/disk-types`. */
|
|
29
29
|
export type ListDiskTypesResult = operations["list-disk-types"]["responses"][200]["content"]["application/json"];
|
|
30
30
|
/** The query parameters of `GET /api/v1/disk-types`. */
|
|
@@ -36,7 +36,7 @@ export type ListImagesResult = operations["list-images"]["responses"][200]["cont
|
|
|
36
36
|
/** The query parameters of `GET /api/v1/images`. */
|
|
37
37
|
export type ListImagesQuery = operations["list-images"]["parameters"]["query"];
|
|
38
38
|
/** The success response body of `POST /api/v1/images`. */
|
|
39
|
-
export type CreateImageResult = operations["create-image"]["responses"][
|
|
39
|
+
export type CreateImageResult = operations["create-image"]["responses"][202]["content"]["application/json"];
|
|
40
40
|
/** The request body of `POST /api/v1/images`. */
|
|
41
41
|
export type CreateImageBody = NonNullable<operations["create-image"]["requestBody"]>["content"]["application/json"];
|
|
42
42
|
/** The success response body of `POST /api/v1/images/quote`. */
|
|
@@ -68,9 +68,13 @@ export type ListDisksResult = operations["list-disks"]["responses"][200]["conten
|
|
|
68
68
|
/** The query parameters of `GET /api/v1/disks`. */
|
|
69
69
|
export type ListDisksQuery = operations["list-disks"]["parameters"]["query"];
|
|
70
70
|
/** The success response body of `POST /api/v1/disks`. */
|
|
71
|
-
export type CreateDiskResult = operations["create-disk"]["responses"][
|
|
71
|
+
export type CreateDiskResult = operations["create-disk"]["responses"][202]["content"]["application/json"];
|
|
72
72
|
/** The request body of `POST /api/v1/disks`. */
|
|
73
73
|
export type CreateDiskBody = NonNullable<operations["create-disk"]["requestBody"]>["content"]["application/json"];
|
|
74
|
+
/** The success response body of `POST /api/v1/disks/quote`. */
|
|
75
|
+
export type CreateDiskQuoteResult = operations["create-disk-quote"]["responses"][200]["content"]["application/json"];
|
|
76
|
+
/** The request body of `POST /api/v1/disks/quote`. */
|
|
77
|
+
export type CreateDiskQuoteBody = NonNullable<operations["create-disk-quote"]["requestBody"]>["content"]["application/json"];
|
|
74
78
|
/** The success response body of `GET /api/v1/disks/{diskId}`. */
|
|
75
79
|
export type GetDiskResult = operations["get-disk"]["responses"][200]["content"]["application/json"];
|
|
76
80
|
/** The success response body of `PATCH /api/v1/disks/{diskId}`. */
|
|
@@ -80,9 +84,13 @@ export type RenameDiskBody = NonNullable<operations["rename-disk"]["requestBody"
|
|
|
80
84
|
/** The success response body of `DELETE /api/v1/disks/{diskId}`. */
|
|
81
85
|
export type DeleteDiskResult = operations["delete-disk"]["responses"][202]["content"]["application/json"];
|
|
82
86
|
/** The success response body of `POST /api/v1/disks/{diskId}/resize`. */
|
|
83
|
-
export type ResizeDiskResult = operations["resize-disk"]["responses"][
|
|
87
|
+
export type ResizeDiskResult = operations["resize-disk"]["responses"][202]["content"]["application/json"];
|
|
84
88
|
/** The request body of `POST /api/v1/disks/{diskId}/resize`. */
|
|
85
89
|
export type ResizeDiskBody = NonNullable<operations["resize-disk"]["requestBody"]>["content"]["application/json"];
|
|
90
|
+
/** The success response body of `POST /api/v1/disks/{diskId}/resize/quote`. */
|
|
91
|
+
export type CreateDiskResizeQuoteResult = operations["create-disk-resize-quote"]["responses"][200]["content"]["application/json"];
|
|
92
|
+
/** The request body of `POST /api/v1/disks/{diskId}/resize/quote`. */
|
|
93
|
+
export type CreateDiskResizeQuoteBody = NonNullable<operations["create-disk-resize-quote"]["requestBody"]>["content"]["application/json"];
|
|
86
94
|
/** The success response body of `POST /api/v1/disks/{diskId}/revert`. */
|
|
87
95
|
export type RevertDiskResult = operations["revert-disk"]["responses"][202]["content"]["application/json"];
|
|
88
96
|
/** The request body of `POST /api/v1/disks/{diskId}/revert`. */
|
|
@@ -92,23 +100,31 @@ export type ListFloatingIpsResult = operations["list-floating-ips"]["responses"]
|
|
|
92
100
|
/** The query parameters of `GET /api/v1/floating-ips`. */
|
|
93
101
|
export type ListFloatingIpsQuery = operations["list-floating-ips"]["parameters"]["query"];
|
|
94
102
|
/** The success response body of `POST /api/v1/floating-ips`. */
|
|
95
|
-
export type AllocateFloatingIpResult = operations["allocate-floating-ip"]["responses"][
|
|
103
|
+
export type AllocateFloatingIpResult = operations["allocate-floating-ip"]["responses"][202]["content"]["application/json"];
|
|
96
104
|
/** The request body of `POST /api/v1/floating-ips`. */
|
|
97
105
|
export type AllocateFloatingIpBody = NonNullable<operations["allocate-floating-ip"]["requestBody"]>["content"]["application/json"];
|
|
106
|
+
/** The success response body of `POST /api/v1/floating-ips/quote`. */
|
|
107
|
+
export type CreateFloatingIpQuoteResult = operations["create-floating-ip-quote"]["responses"][200]["content"]["application/json"];
|
|
108
|
+
/** The request body of `POST /api/v1/floating-ips/quote`. */
|
|
109
|
+
export type CreateFloatingIpQuoteBody = NonNullable<operations["create-floating-ip-quote"]["requestBody"]>["content"]["application/json"];
|
|
98
110
|
/** The success response body of `GET /api/v1/floating-ips/{floatingIpId}`. */
|
|
99
111
|
export type GetFloatingIpResult = operations["get-floating-ip"]["responses"][200]["content"]["application/json"];
|
|
100
112
|
/** The success response body of `DELETE /api/v1/floating-ips/{floatingIpId}`. */
|
|
101
113
|
export type ReleaseFloatingIpResult = operations["release-floating-ip"]["responses"][202]["content"]["application/json"];
|
|
102
114
|
/** The success response body of `PUT /api/v1/floating-ips/{floatingIpId}/bandwidth`. */
|
|
103
|
-
export type SetFloatingIpBandwidthResult = operations["set-floating-ip-bandwidth"]["responses"][
|
|
115
|
+
export type SetFloatingIpBandwidthResult = operations["set-floating-ip-bandwidth"]["responses"][202]["content"]["application/json"];
|
|
104
116
|
/** The request body of `PUT /api/v1/floating-ips/{floatingIpId}/bandwidth`. */
|
|
105
117
|
export type SetFloatingIpBandwidthBody = NonNullable<operations["set-floating-ip-bandwidth"]["requestBody"]>["content"]["application/json"];
|
|
118
|
+
/** The success response body of `POST /api/v1/floating-ips/{floatingIpId}/bandwidth/quote`. */
|
|
119
|
+
export type CreateFloatingIpBandwidthQuoteResult = operations["create-floating-ip-bandwidth-quote"]["responses"][200]["content"]["application/json"];
|
|
120
|
+
/** The request body of `POST /api/v1/floating-ips/{floatingIpId}/bandwidth/quote`. */
|
|
121
|
+
export type CreateFloatingIpBandwidthQuoteBody = NonNullable<operations["create-floating-ip-bandwidth-quote"]["requestBody"]>["content"]["application/json"];
|
|
106
122
|
/** The success response body of `PUT /api/v1/floating-ips/{floatingIpId}/binding`. */
|
|
107
|
-
export type BindFloatingIpResult = operations["bind-floating-ip"]["responses"][
|
|
123
|
+
export type BindFloatingIpResult = operations["bind-floating-ip"]["responses"][202]["content"]["application/json"];
|
|
108
124
|
/** The request body of `PUT /api/v1/floating-ips/{floatingIpId}/binding`. */
|
|
109
125
|
export type BindFloatingIpBody = NonNullable<operations["bind-floating-ip"]["requestBody"]>["content"]["application/json"];
|
|
110
126
|
/** The success response body of `DELETE /api/v1/floating-ips/{floatingIpId}/binding`. */
|
|
111
|
-
export type UnbindFloatingIpResult = operations["unbind-floating-ip"]["responses"][
|
|
127
|
+
export type UnbindFloatingIpResult = operations["unbind-floating-ip"]["responses"][202]["content"]["application/json"];
|
|
112
128
|
/** The success response body of `GET /api/v1/instances`. */
|
|
113
129
|
export type ListInstancesResult = operations["list-instances"]["responses"][200]["content"]["application/json"];
|
|
114
130
|
/** The query parameters of `GET /api/v1/instances`. */
|
|
@@ -117,6 +133,10 @@ export type ListInstancesQuery = operations["list-instances"]["parameters"]["que
|
|
|
117
133
|
export type LaunchInstanceResult = operations["launch-instance"]["responses"][202]["content"]["application/json"];
|
|
118
134
|
/** The request body of `POST /api/v1/instances`. */
|
|
119
135
|
export type LaunchInstanceBody = NonNullable<operations["launch-instance"]["requestBody"]>["content"]["application/json"];
|
|
136
|
+
/** The success response body of `POST /api/v1/instances/quote`. */
|
|
137
|
+
export type CreateInstanceQuoteResult = operations["create-instance-quote"]["responses"][200]["content"]["application/json"];
|
|
138
|
+
/** The request body of `POST /api/v1/instances/quote`. */
|
|
139
|
+
export type CreateInstanceQuoteBody = NonNullable<operations["create-instance-quote"]["requestBody"]>["content"]["application/json"];
|
|
120
140
|
/** The success response body of `GET /api/v1/instances/{instanceId}`. */
|
|
121
141
|
export type GetInstanceResult = operations["get-instance"]["responses"][200]["content"]["application/json"];
|
|
122
142
|
/** The success response body of `PATCH /api/v1/instances/{instanceId}`. */
|
|
@@ -152,13 +172,17 @@ export type RebootInstanceResult = operations["reboot-instance"]["responses"][20
|
|
|
152
172
|
/** The request body of `POST /api/v1/instances/{instanceId}/reboot`. */
|
|
153
173
|
export type RebootInstanceBody = NonNullable<operations["reboot-instance"]["requestBody"]>["content"]["application/json"];
|
|
154
174
|
/** The success response body of `POST /api/v1/instances/{instanceId}/rebuild`. */
|
|
155
|
-
export type RebuildInstanceResult = operations["rebuild-instance"]["responses"][
|
|
175
|
+
export type RebuildInstanceResult = operations["rebuild-instance"]["responses"][202]["content"]["application/json"];
|
|
156
176
|
/** The request body of `POST /api/v1/instances/{instanceId}/rebuild`. */
|
|
157
177
|
export type RebuildInstanceBody = NonNullable<operations["rebuild-instance"]["requestBody"]>["content"]["application/json"];
|
|
158
178
|
/** The success response body of `POST /api/v1/instances/{instanceId}/resize`. */
|
|
159
179
|
export type ResizeInstanceResult = operations["resize-instance"]["responses"][202]["content"]["application/json"];
|
|
160
180
|
/** The request body of `POST /api/v1/instances/{instanceId}/resize`. */
|
|
161
181
|
export type ResizeInstanceBody = NonNullable<operations["resize-instance"]["requestBody"]>["content"]["application/json"];
|
|
182
|
+
/** The success response body of `POST /api/v1/instances/{instanceId}/resize/quote`. */
|
|
183
|
+
export type CreateInstanceResizeQuoteResult = operations["create-instance-resize-quote"]["responses"][200]["content"]["application/json"];
|
|
184
|
+
/** The request body of `POST /api/v1/instances/{instanceId}/resize/quote`. */
|
|
185
|
+
export type CreateInstanceResizeQuoteBody = NonNullable<operations["create-instance-resize-quote"]["requestBody"]>["content"]["application/json"];
|
|
162
186
|
/** The success response body of `POST /api/v1/instances/{instanceId}/start`. */
|
|
163
187
|
export type StartInstanceResult = operations["start-instance"]["responses"][202]["content"]["application/json"];
|
|
164
188
|
/** The request body of `POST /api/v1/instances/{instanceId}/start`. */
|
|
@@ -178,11 +202,11 @@ export type AttachDiskBody = NonNullable<operations["attach-disk"]["requestBody"
|
|
|
178
202
|
/** The success response body of `DELETE /api/v1/instances/{instanceId}/disks/{diskId}`. */
|
|
179
203
|
export type DetachDiskResult = operations["detach-disk"]["responses"][202]["content"]["application/json"];
|
|
180
204
|
/** The success response body of `POST /api/v1/instances/{instanceId}/floating-ips`. */
|
|
181
|
-
export type AttachInstanceFloatingIpResult = operations["attach-instance-floating-ip"]["responses"][
|
|
205
|
+
export type AttachInstanceFloatingIpResult = operations["attach-instance-floating-ip"]["responses"][202]["content"]["application/json"];
|
|
182
206
|
/** The request body of `POST /api/v1/instances/{instanceId}/floating-ips`. */
|
|
183
207
|
export type AttachInstanceFloatingIpBody = NonNullable<operations["attach-instance-floating-ip"]["requestBody"]>["content"]["application/json"];
|
|
184
208
|
/** The success response body of `DELETE /api/v1/instances/{instanceId}/floating-ips/{floatingIpId}`. */
|
|
185
|
-
export type DetachInstanceFloatingIpResult = operations["detach-instance-floating-ip"]["responses"][
|
|
209
|
+
export type DetachInstanceFloatingIpResult = operations["detach-instance-floating-ip"]["responses"][202]["content"]["application/json"];
|
|
186
210
|
/** The success response body of `GET /api/v1/instances/{instanceId}/ports`. */
|
|
187
211
|
export type ListInstancePortsResult = operations["list-instance-ports"]["responses"][200]["content"]["application/json"];
|
|
188
212
|
/** The query parameters of `GET /api/v1/instances/{instanceId}/ports`. */
|
|
@@ -202,15 +226,17 @@ export type ListPortsResult = operations["list-ports"]["responses"][200]["conten
|
|
|
202
226
|
/** The query parameters of `GET /api/v1/ports`. */
|
|
203
227
|
export type ListPortsQuery = operations["list-ports"]["parameters"]["query"];
|
|
204
228
|
/** The success response body of `POST /api/v1/ports`. */
|
|
205
|
-
export type CreatePortResult = operations["create-port"]["responses"][
|
|
229
|
+
export type CreatePortResult = operations["create-port"]["responses"][202]["content"]["application/json"];
|
|
206
230
|
/** The request body of `POST /api/v1/ports`. */
|
|
207
231
|
export type CreatePortBody = NonNullable<operations["create-port"]["requestBody"]>["content"]["application/json"];
|
|
232
|
+
/** The success response body of `DELETE /api/v1/ports/{portId}`. */
|
|
233
|
+
export type DeletePortResult = operations["delete-port"]["responses"][202]["content"]["application/json"];
|
|
208
234
|
/** The success response body of `GET /api/v1/private-networks`. */
|
|
209
235
|
export type ListPrivateNetworksResult = operations["list-private-networks"]["responses"][200]["content"]["application/json"];
|
|
210
236
|
/** The query parameters of `GET /api/v1/private-networks`. */
|
|
211
237
|
export type ListPrivateNetworksQuery = operations["list-private-networks"]["parameters"]["query"];
|
|
212
238
|
/** The success response body of `POST /api/v1/private-networks`. */
|
|
213
|
-
export type CreatePrivateNetworkResult = operations["create-private-network"]["responses"][
|
|
239
|
+
export type CreatePrivateNetworkResult = operations["create-private-network"]["responses"][202]["content"]["application/json"];
|
|
214
240
|
/** The request body of `POST /api/v1/private-networks`. */
|
|
215
241
|
export type CreatePrivateNetworkBody = NonNullable<operations["create-private-network"]["requestBody"]>["content"]["application/json"];
|
|
216
242
|
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}`. */
|
|
@@ -219,10 +245,14 @@ export type GetPrivateNetworkResult = operations["get-private-network"]["respons
|
|
|
219
245
|
export type RenamePrivateNetworkResult = operations["rename-private-network"]["responses"][200]["content"]["application/json"];
|
|
220
246
|
/** The request body of `PATCH /api/v1/private-networks/{privateNetworkId}`. */
|
|
221
247
|
export type RenamePrivateNetworkBody = NonNullable<operations["rename-private-network"]["requestBody"]>["content"]["application/json"];
|
|
248
|
+
/** The success response body of `DELETE /api/v1/private-networks/{privateNetworkId}`. */
|
|
249
|
+
export type DeletePrivateNetworkResult = operations["delete-private-network"]["responses"][202]["content"]["application/json"];
|
|
222
250
|
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/ipv6`. */
|
|
223
251
|
export type GetPrivateNetworkIpv6Result = operations["get-private-network-ipv6"]["responses"][200]["content"]["application/json"];
|
|
224
252
|
/** The success response body of `POST /api/v1/private-networks/{privateNetworkId}/ipv6`. */
|
|
225
|
-
export type EnablePrivateNetworkIpv6Result = operations["enable-private-network-ipv6"]["responses"][
|
|
253
|
+
export type EnablePrivateNetworkIpv6Result = operations["enable-private-network-ipv6"]["responses"][202]["content"]["application/json"];
|
|
254
|
+
/** The success response body of `DELETE /api/v1/private-networks/{privateNetworkId}/ipv6`. */
|
|
255
|
+
export type DisablePrivateNetworkIpv6Result = operations["disable-private-network-ipv6"]["responses"][202]["content"]["application/json"];
|
|
226
256
|
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/routes`. */
|
|
227
257
|
export type ListRoutesResult = operations["list-routes"]["responses"][200]["content"]["application/json"];
|
|
228
258
|
/** The query parameters of `GET /api/v1/private-networks/{privateNetworkId}/routes`. */
|
|
@@ -265,12 +295,42 @@ export type ListSecurityGroupRulesQuery = operations["list-security-group-rules"
|
|
|
265
295
|
export type CreateSecurityGroupRuleResult = operations["create-security-group-rule"]["responses"][201]["content"]["application/json"];
|
|
266
296
|
/** The request body of `POST /api/v1/security-groups/{securityGroupId}/rules`. */
|
|
267
297
|
export type CreateSecurityGroupRuleBody = NonNullable<operations["create-security-group-rule"]["requestBody"]>["content"]["application/json"];
|
|
298
|
+
/** The success response body of `GET /api/v1/regions/{regionId}/snapshot-quota`. */
|
|
299
|
+
export type GetSnapshotQuotaResult = operations["get-snapshot-quota"]["responses"][200]["content"]["application/json"];
|
|
300
|
+
/** The success response body of `PUT /api/v1/regions/{regionId}/snapshot-quota`. */
|
|
301
|
+
export type SetSnapshotQuotaResult = operations["set-snapshot-quota"]["responses"][202]["content"]["application/json"];
|
|
302
|
+
/** The request body of `PUT /api/v1/regions/{regionId}/snapshot-quota`. */
|
|
303
|
+
export type SetSnapshotQuotaBody = NonNullable<operations["set-snapshot-quota"]["requestBody"]>["content"]["application/json"];
|
|
304
|
+
/** The success response body of `POST /api/v1/regions/{regionId}/snapshot-quota/quote`. */
|
|
305
|
+
export type CreateSnapshotQuotaQuoteResult = operations["create-snapshot-quota-quote"]["responses"][200]["content"]["application/json"];
|
|
306
|
+
/** The request body of `POST /api/v1/regions/{regionId}/snapshot-quota/quote`. */
|
|
307
|
+
export type CreateSnapshotQuotaQuoteBody = NonNullable<operations["create-snapshot-quota-quote"]["requestBody"]>["content"]["application/json"];
|
|
308
|
+
/** The success response body of `GET /api/v1/regions/{regionId}/backup-service`. */
|
|
309
|
+
export type GetBackupServiceResult = operations["get-backup-service"]["responses"][200]["content"]["application/json"];
|
|
310
|
+
/** The success response body of `POST /api/v1/regions/{regionId}/backup-service`. */
|
|
311
|
+
export type CreateBackupServiceResult = operations["create-backup-service"]["responses"][202]["content"]["application/json"];
|
|
312
|
+
/** The request body of `POST /api/v1/regions/{regionId}/backup-service`. */
|
|
313
|
+
export type CreateBackupServiceBody = NonNullable<operations["create-backup-service"]["requestBody"]>["content"]["application/json"];
|
|
314
|
+
/** The success response body of `POST /api/v1/regions/{regionId}/backup-service/quote`. */
|
|
315
|
+
export type CreateBackupServiceQuoteResult = operations["create-backup-service-quote"]["responses"][200]["content"]["application/json"];
|
|
316
|
+
/** The success response body of `GET /api/v1/regions/{regionId}/backup-capacity-packs`. */
|
|
317
|
+
export type ListBackupCapacityPacksResult = operations["list-backup-capacity-packs"]["responses"][200]["content"]["application/json"];
|
|
318
|
+
/** The query parameters of `GET /api/v1/regions/{regionId}/backup-capacity-packs`. */
|
|
319
|
+
export type ListBackupCapacityPacksQuery = operations["list-backup-capacity-packs"]["parameters"]["query"];
|
|
320
|
+
/** The success response body of `POST /api/v1/regions/{regionId}/backup-capacity-packs`. */
|
|
321
|
+
export type CreateBackupCapacityPackResult = operations["create-backup-capacity-pack"]["responses"][202]["content"]["application/json"];
|
|
322
|
+
/** The request body of `POST /api/v1/regions/{regionId}/backup-capacity-packs`. */
|
|
323
|
+
export type CreateBackupCapacityPackBody = NonNullable<operations["create-backup-capacity-pack"]["requestBody"]>["content"]["application/json"];
|
|
324
|
+
/** The success response body of `POST /api/v1/regions/{regionId}/backup-capacity-packs/quote`. */
|
|
325
|
+
export type CreateBackupCapacityPackQuoteResult = operations["create-backup-capacity-pack-quote"]["responses"][200]["content"]["application/json"];
|
|
326
|
+
/** The request body of `POST /api/v1/regions/{regionId}/backup-capacity-packs/quote`. */
|
|
327
|
+
export type CreateBackupCapacityPackQuoteBody = NonNullable<operations["create-backup-capacity-pack-quote"]["requestBody"]>["content"]["application/json"];
|
|
268
328
|
/** The success response body of `GET /api/v1/snapshots`. */
|
|
269
329
|
export type ListSnapshotsResult = operations["list-snapshots"]["responses"][200]["content"]["application/json"];
|
|
270
330
|
/** The query parameters of `GET /api/v1/snapshots`. */
|
|
271
331
|
export type ListSnapshotsQuery = operations["list-snapshots"]["parameters"]["query"];
|
|
272
332
|
/** The success response body of `POST /api/v1/snapshots`. */
|
|
273
|
-
export type CreateSnapshotResult = operations["create-snapshot"]["responses"][
|
|
333
|
+
export type CreateSnapshotResult = operations["create-snapshot"]["responses"][202]["content"]["application/json"];
|
|
274
334
|
/** The request body of `POST /api/v1/snapshots`. */
|
|
275
335
|
export type CreateSnapshotBody = NonNullable<operations["create-snapshot"]["requestBody"]>["content"]["application/json"];
|
|
276
336
|
/** The success response body of `GET /api/v1/snapshots/{snapshotId}`. */
|
|
@@ -281,8 +341,6 @@ export type RenameSnapshotResult = operations["rename-snapshot"]["responses"][20
|
|
|
281
341
|
export type RenameSnapshotBody = NonNullable<operations["rename-snapshot"]["requestBody"]>["content"]["application/json"];
|
|
282
342
|
/** The success response body of `DELETE /api/v1/snapshots/{snapshotId}`. */
|
|
283
343
|
export type DeleteSnapshotResult = operations["delete-snapshot"]["responses"][202]["content"]["application/json"];
|
|
284
|
-
/** The success response body of `GET /api/v1/tasks/{taskId}`. */
|
|
285
|
-
export type GetTaskResult = operations["get-task"]["responses"][200]["content"]["application/json"];
|
|
286
344
|
/** The success response body of `GET /api/v1/ipv4-pools`. */
|
|
287
345
|
export type ListIpv4PoolsResult = operations["list-ipv4-pools"]["responses"][200]["content"]["application/json"];
|
|
288
346
|
/** The query parameters of `GET /api/v1/ipv4-pools`. */
|