@leaflow/sdk 0.83.0 → 0.84.1
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.
|
@@ -350,7 +350,16 @@ export interface components {
|
|
|
350
350
|
};
|
|
351
351
|
/** @description Immutable platform service identifier, such as compute, canopy or assistant. */
|
|
352
352
|
ProductID: string;
|
|
353
|
-
/**
|
|
353
|
+
/**
|
|
354
|
+
* @description Identify a price directly, or select a price for a plan. For each resource give its ID or lookup key, never both. Lookup keys require product_id.
|
|
355
|
+
*
|
|
356
|
+
* A line that gives a meter, `dimensions` or `duration_seconds` estimates usage and is
|
|
357
|
+
* priced only at a postpaid price. Such a line is refused with HTTP 400
|
|
358
|
+
* `BILLING_PURCHASE_INVALID` when `price_type` is `prepaid` or `one_time`, or when the price
|
|
359
|
+
* it names is not postpaid; `meta.field` is `price_type`, `price_id` or `price_lookup_key`
|
|
360
|
+
* accordingly. When the plan has no postpaid price, the line is returned unpriced with
|
|
361
|
+
* `no_price`.
|
|
362
|
+
*/
|
|
354
363
|
QuoteLine: {
|
|
355
364
|
price_lookup_key?: string;
|
|
356
365
|
plan_lookup_key?: string;
|
|
@@ -387,7 +396,8 @@ export interface components {
|
|
|
387
396
|
/**
|
|
388
397
|
* Format: int64
|
|
389
398
|
* @description For metered items, how long to price for. This allows an estimate such as "about
|
|
390
|
-
* this much per month" to be shown before anything exists.
|
|
399
|
+
* this much per month" to be shown before anything exists. The priced quantity is
|
|
400
|
+
* `quantity` multiplied by this duration.
|
|
391
401
|
*/
|
|
392
402
|
duration_seconds?: number;
|
|
393
403
|
};
|
|
@@ -451,6 +461,10 @@ export interface components {
|
|
|
451
461
|
price_id?: string;
|
|
452
462
|
plan_name?: string;
|
|
453
463
|
unit_amount?: components["schemas"]["Money"];
|
|
464
|
+
/**
|
|
465
|
+
* @description The quantity actually priced. When `duration_seconds` is given, it is the requested
|
|
466
|
+
* `quantity` multiplied by that duration.
|
|
467
|
+
*/
|
|
454
468
|
quantity?: string;
|
|
455
469
|
/** @description Not rounded. Round only for display. */
|
|
456
470
|
amount?: components["schemas"]["Money"];
|
|
@@ -1270,7 +1270,16 @@ export interface components {
|
|
|
1270
1270
|
/** Format: int64 */
|
|
1271
1271
|
total_count?: number;
|
|
1272
1272
|
};
|
|
1273
|
-
/**
|
|
1273
|
+
/**
|
|
1274
|
+
* @description Identify a price directly, or select a price for a plan. For each resource give its ID or lookup key, never both. Lookup keys require product_id.
|
|
1275
|
+
*
|
|
1276
|
+
* A line that gives a meter, `dimensions` or `duration_seconds` estimates usage and is
|
|
1277
|
+
* priced only at a postpaid price. Such a line is refused with HTTP 400
|
|
1278
|
+
* `BILLING_PURCHASE_INVALID` when `price_type` is `prepaid` or `one_time`, or when the price
|
|
1279
|
+
* it names is not postpaid; `meta.field` is `price_type`, `price_id` or `price_lookup_key`
|
|
1280
|
+
* accordingly. When the plan has no postpaid price, the line is returned unpriced with
|
|
1281
|
+
* `no_price`.
|
|
1282
|
+
*/
|
|
1274
1283
|
QuoteLine: {
|
|
1275
1284
|
price_lookup_key?: string;
|
|
1276
1285
|
plan_lookup_key?: string;
|
|
@@ -1307,7 +1316,8 @@ export interface components {
|
|
|
1307
1316
|
/**
|
|
1308
1317
|
* Format: int64
|
|
1309
1318
|
* @description For metered items, how long to price for. This allows an estimate such as "about
|
|
1310
|
-
* this much per month" to be shown before anything exists.
|
|
1319
|
+
* this much per month" to be shown before anything exists. The priced quantity is
|
|
1320
|
+
* `quantity` multiplied by this duration.
|
|
1311
1321
|
*/
|
|
1312
1322
|
duration_seconds?: number;
|
|
1313
1323
|
};
|
|
@@ -1352,6 +1362,10 @@ export interface components {
|
|
|
1352
1362
|
price_id?: string;
|
|
1353
1363
|
plan_name?: string;
|
|
1354
1364
|
unit_amount?: components["schemas"]["Money"];
|
|
1365
|
+
/**
|
|
1366
|
+
* @description The quantity actually priced. When `duration_seconds` is given, it is the requested
|
|
1367
|
+
* `quantity` multiplied by that duration.
|
|
1368
|
+
*/
|
|
1355
1369
|
quantity?: string;
|
|
1356
1370
|
/** @description Not rounded. Round only for display. */
|
|
1357
1371
|
amount?: components["schemas"]["Money"];
|
|
@@ -90,7 +90,7 @@ export interface paths {
|
|
|
90
90
|
};
|
|
91
91
|
/**
|
|
92
92
|
* List disk types on sale
|
|
93
|
-
* @description Only disk types currently on sale are listed. A withdrawn one disappears from here and can no longer be bought, while the disks already on it keep working and can still be resized.
|
|
93
|
+
* @description Only disk types currently on sale are listed, both system disk types and data disk types; `for_system` narrows the list to one of the two. A withdrawn one disappears from here and can no longer be bought, while the disks already on it keep working and can still be resized.
|
|
94
94
|
*/
|
|
95
95
|
get: operations["list-disk-types"];
|
|
96
96
|
put?: never;
|
|
@@ -1556,7 +1556,7 @@ export interface components {
|
|
|
1556
1556
|
RestoreBackupRequestBody: {
|
|
1557
1557
|
/**
|
|
1558
1558
|
* Format: uuid
|
|
1559
|
-
* @description May differ from the availability zone of the source disk, but must be in the same region. It has to be on sale — restoring creates a new disk, so a withdrawn type is rejected here as well
|
|
1559
|
+
* @description May differ from the availability zone of the source disk, but must be in the same region. It has to be a data disk type on sale — restoring creates a new data disk, so a withdrawn type or a system disk type is rejected here as well
|
|
1560
1560
|
*/
|
|
1561
1561
|
disk_type_id: string;
|
|
1562
1562
|
name: string;
|
|
@@ -1622,6 +1622,8 @@ export interface components {
|
|
|
1622
1622
|
availability_zone_id: string;
|
|
1623
1623
|
/** Format: uuid */
|
|
1624
1624
|
id: string;
|
|
1625
|
+
/** @description True for a system disk type, the one chosen as `boot_disk.disk_type_id` when creating an instance from an image. A system disk type cannot be used to create a data disk, and a data disk type cannot be used for a system disk. */
|
|
1626
|
+
for_system: boolean;
|
|
1625
1627
|
/**
|
|
1626
1628
|
* Format: int64
|
|
1627
1629
|
* @description IOPS a disk of `min_size_gb` gets. Null when this type is not rate-limited.
|
|
@@ -1785,7 +1787,7 @@ export interface components {
|
|
|
1785
1787
|
CreateDiskRequestBody: {
|
|
1786
1788
|
/**
|
|
1787
1789
|
* Format: uuid
|
|
1788
|
-
* @description A disk type currently on sale. A withdrawn one is rejected even though its identifier still resolves
|
|
1790
|
+
* @description A data disk type currently on sale, one whose `for_system` is false. A withdrawn one is rejected even though its identifier still resolves
|
|
1789
1791
|
*/
|
|
1790
1792
|
disk_type_id: string;
|
|
1791
1793
|
name: string;
|
|
@@ -2536,7 +2538,10 @@ export interface components {
|
|
|
2536
2538
|
};
|
|
2537
2539
|
/** @description A system disk purchased in the same order. Required when booting from an image; mutually exclusive with boot_disk_id. */
|
|
2538
2540
|
NewBootDisk: {
|
|
2539
|
-
/**
|
|
2541
|
+
/**
|
|
2542
|
+
* Format: uuid
|
|
2543
|
+
* @description A system disk type on sale in the availability zone of the instance, one whose `for_system` is true
|
|
2544
|
+
*/
|
|
2540
2545
|
disk_type_id: string;
|
|
2541
2546
|
/** Format: int64 */
|
|
2542
2547
|
size_gb: number;
|
|
@@ -2949,6 +2954,8 @@ export interface operations {
|
|
|
2949
2954
|
parameters: {
|
|
2950
2955
|
query: {
|
|
2951
2956
|
region_id: string;
|
|
2957
|
+
/** @description `true` lists only system disk types and `false` only data disk types. Both are listed when omitted. */
|
|
2958
|
+
for_system?: boolean;
|
|
2952
2959
|
};
|
|
2953
2960
|
header?: never;
|
|
2954
2961
|
path?: never;
|