@leaflow/sdk 0.0.0-dev.208.g336fdb8 → 0.0.0-dev.210.g700abef
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"];
|