orb-billing 4.53.0 → 4.55.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/CHANGELOG.md +22 -0
- package/core.d.ts.map +1 -1
- package/core.js +12 -6
- package/core.js.map +1 -1
- package/core.mjs +12 -6
- package/core.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/customers/credits/ledger.d.ts +2 -2
- package/resources/customers/credits/ledger.d.ts.map +1 -1
- package/resources/events/backfills.d.ts +30 -0
- package/resources/events/backfills.d.ts.map +1 -1
- package/resources/events/backfills.js.map +1 -1
- package/resources/events/backfills.mjs.map +1 -1
- package/resources/invoice-line-items.d.ts +175 -2
- package/resources/invoice-line-items.d.ts.map +1 -1
- package/resources/invoices.d.ts +350 -4
- package/resources/invoices.d.ts.map +1 -1
- package/resources/invoices.js.map +1 -1
- package/resources/invoices.mjs.map +1 -1
- package/resources/plans/plans.d.ts +213 -25
- package/resources/plans/plans.d.ts.map +1 -1
- package/resources/plans/plans.js.map +1 -1
- package/resources/plans/plans.mjs.map +1 -1
- package/resources/prices/prices.d.ts +530 -61
- package/resources/prices/prices.d.ts.map +1 -1
- package/resources/prices/prices.js.map +1 -1
- package/resources/prices/prices.mjs.map +1 -1
- package/resources/subscriptions.d.ts +453 -269
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/subscriptions.js.map +1 -1
- package/resources/subscriptions.mjs.map +1 -1
- package/src/core.ts +14 -6
- package/src/resources/customers/credits/ledger.ts +2 -2
- package/src/resources/events/backfills.ts +35 -0
- package/src/resources/invoice-line-items.ts +221 -2
- package/src/resources/invoices.ts +442 -4
- package/src/resources/plans/plans.ts +259 -31
- package/src/resources/prices/prices.ts +752 -88
- package/src/resources/subscriptions.ts +569 -345
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -147,7 +147,9 @@ export type Price =
|
|
|
147
147
|
| Price.MatrixWithDisplayNamePrice
|
|
148
148
|
| Price.BulkWithProrationPrice
|
|
149
149
|
| Price.GroupedTieredPackagePrice
|
|
150
|
-
| Price.MaxGroupTieredPackagePrice
|
|
150
|
+
| Price.MaxGroupTieredPackagePrice
|
|
151
|
+
| Price.ScalableMatrixWithUnitPricingPrice
|
|
152
|
+
| Price.ScalableMatrixWithTieredPricingPrice;
|
|
151
153
|
|
|
152
154
|
export namespace Price {
|
|
153
155
|
export interface UnitPrice {
|
|
@@ -202,6 +204,8 @@ export namespace Price {
|
|
|
202
204
|
price_type: 'usage_price' | 'fixed_price';
|
|
203
205
|
|
|
204
206
|
unit_config: UnitPrice.UnitConfig;
|
|
207
|
+
|
|
208
|
+
dimensional_price_configuration?: UnitPrice.DimensionalPriceConfiguration | null;
|
|
205
209
|
}
|
|
206
210
|
|
|
207
211
|
export namespace UnitPrice {
|
|
@@ -265,6 +269,12 @@ export namespace Price {
|
|
|
265
269
|
*/
|
|
266
270
|
unit_amount: string;
|
|
267
271
|
}
|
|
272
|
+
|
|
273
|
+
export interface DimensionalPriceConfiguration {
|
|
274
|
+
dimension_values: Array<string>;
|
|
275
|
+
|
|
276
|
+
dimensional_price_group_id: string;
|
|
277
|
+
}
|
|
268
278
|
}
|
|
269
279
|
|
|
270
280
|
export interface PackagePrice {
|
|
@@ -319,6 +329,8 @@ export namespace Price {
|
|
|
319
329
|
plan_phase_order: number | null;
|
|
320
330
|
|
|
321
331
|
price_type: 'usage_price' | 'fixed_price';
|
|
332
|
+
|
|
333
|
+
dimensional_price_configuration?: PackagePrice.DimensionalPriceConfiguration | null;
|
|
322
334
|
}
|
|
323
335
|
|
|
324
336
|
export namespace PackagePrice {
|
|
@@ -388,6 +400,12 @@ export namespace Price {
|
|
|
388
400
|
*/
|
|
389
401
|
package_size: number;
|
|
390
402
|
}
|
|
403
|
+
|
|
404
|
+
export interface DimensionalPriceConfiguration {
|
|
405
|
+
dimension_values: Array<string>;
|
|
406
|
+
|
|
407
|
+
dimensional_price_group_id: string;
|
|
408
|
+
}
|
|
391
409
|
}
|
|
392
410
|
|
|
393
411
|
export interface MatrixPrice {
|
|
@@ -442,6 +460,8 @@ export namespace Price {
|
|
|
442
460
|
plan_phase_order: number | null;
|
|
443
461
|
|
|
444
462
|
price_type: 'usage_price' | 'fixed_price';
|
|
463
|
+
|
|
464
|
+
dimensional_price_configuration?: MatrixPrice.DimensionalPriceConfiguration | null;
|
|
445
465
|
}
|
|
446
466
|
|
|
447
467
|
export namespace MatrixPrice {
|
|
@@ -531,6 +551,12 @@ export namespace Price {
|
|
|
531
551
|
*/
|
|
532
552
|
minimum_amount: string;
|
|
533
553
|
}
|
|
554
|
+
|
|
555
|
+
export interface DimensionalPriceConfiguration {
|
|
556
|
+
dimension_values: Array<string>;
|
|
557
|
+
|
|
558
|
+
dimensional_price_group_id: string;
|
|
559
|
+
}
|
|
534
560
|
}
|
|
535
561
|
|
|
536
562
|
export interface TieredPrice {
|
|
@@ -585,6 +611,8 @@ export namespace Price {
|
|
|
585
611
|
price_type: 'usage_price' | 'fixed_price';
|
|
586
612
|
|
|
587
613
|
tiered_config: TieredPrice.TieredConfig;
|
|
614
|
+
|
|
615
|
+
dimensional_price_configuration?: TieredPrice.DimensionalPriceConfiguration | null;
|
|
588
616
|
}
|
|
589
617
|
|
|
590
618
|
export namespace TieredPrice {
|
|
@@ -667,6 +695,12 @@ export namespace Price {
|
|
|
667
695
|
last_unit?: number | null;
|
|
668
696
|
}
|
|
669
697
|
}
|
|
698
|
+
|
|
699
|
+
export interface DimensionalPriceConfiguration {
|
|
700
|
+
dimension_values: Array<string>;
|
|
701
|
+
|
|
702
|
+
dimensional_price_group_id: string;
|
|
703
|
+
}
|
|
670
704
|
}
|
|
671
705
|
|
|
672
706
|
export interface TieredBpsPrice {
|
|
@@ -721,6 +755,8 @@ export namespace Price {
|
|
|
721
755
|
price_type: 'usage_price' | 'fixed_price';
|
|
722
756
|
|
|
723
757
|
tiered_bps_config: TieredBpsPrice.TieredBpsConfig;
|
|
758
|
+
|
|
759
|
+
dimensional_price_configuration?: TieredBpsPrice.DimensionalPriceConfiguration | null;
|
|
724
760
|
}
|
|
725
761
|
|
|
726
762
|
export namespace TieredBpsPrice {
|
|
@@ -809,6 +845,12 @@ export namespace Price {
|
|
|
809
845
|
per_unit_maximum?: string | null;
|
|
810
846
|
}
|
|
811
847
|
}
|
|
848
|
+
|
|
849
|
+
export interface DimensionalPriceConfiguration {
|
|
850
|
+
dimension_values: Array<string>;
|
|
851
|
+
|
|
852
|
+
dimensional_price_group_id: string;
|
|
853
|
+
}
|
|
812
854
|
}
|
|
813
855
|
|
|
814
856
|
export interface BpsPrice {
|
|
@@ -863,6 +905,8 @@ export namespace Price {
|
|
|
863
905
|
plan_phase_order: number | null;
|
|
864
906
|
|
|
865
907
|
price_type: 'usage_price' | 'fixed_price';
|
|
908
|
+
|
|
909
|
+
dimensional_price_configuration?: BpsPrice.DimensionalPriceConfiguration | null;
|
|
866
910
|
}
|
|
867
911
|
|
|
868
912
|
export namespace BpsPrice {
|
|
@@ -931,6 +975,12 @@ export namespace Price {
|
|
|
931
975
|
*/
|
|
932
976
|
minimum_amount: string;
|
|
933
977
|
}
|
|
978
|
+
|
|
979
|
+
export interface DimensionalPriceConfiguration {
|
|
980
|
+
dimension_values: Array<string>;
|
|
981
|
+
|
|
982
|
+
dimensional_price_group_id: string;
|
|
983
|
+
}
|
|
934
984
|
}
|
|
935
985
|
|
|
936
986
|
export interface BulkBpsPrice {
|
|
@@ -985,6 +1035,8 @@ export namespace Price {
|
|
|
985
1035
|
plan_phase_order: number | null;
|
|
986
1036
|
|
|
987
1037
|
price_type: 'usage_price' | 'fixed_price';
|
|
1038
|
+
|
|
1039
|
+
dimensional_price_configuration?: BulkBpsPrice.DimensionalPriceConfiguration | null;
|
|
988
1040
|
}
|
|
989
1041
|
|
|
990
1042
|
export namespace BulkBpsPrice {
|
|
@@ -1068,6 +1120,12 @@ export namespace Price {
|
|
|
1068
1120
|
*/
|
|
1069
1121
|
minimum_amount: string;
|
|
1070
1122
|
}
|
|
1123
|
+
|
|
1124
|
+
export interface DimensionalPriceConfiguration {
|
|
1125
|
+
dimension_values: Array<string>;
|
|
1126
|
+
|
|
1127
|
+
dimensional_price_group_id: string;
|
|
1128
|
+
}
|
|
1071
1129
|
}
|
|
1072
1130
|
|
|
1073
1131
|
export interface BulkPrice {
|
|
@@ -1122,6 +1180,8 @@ export namespace Price {
|
|
|
1122
1180
|
plan_phase_order: number | null;
|
|
1123
1181
|
|
|
1124
1182
|
price_type: 'usage_price' | 'fixed_price';
|
|
1183
|
+
|
|
1184
|
+
dimensional_price_configuration?: BulkPrice.DimensionalPriceConfiguration | null;
|
|
1125
1185
|
}
|
|
1126
1186
|
|
|
1127
1187
|
export namespace BulkPrice {
|
|
@@ -1199,6 +1259,12 @@ export namespace Price {
|
|
|
1199
1259
|
*/
|
|
1200
1260
|
minimum_amount: string;
|
|
1201
1261
|
}
|
|
1262
|
+
|
|
1263
|
+
export interface DimensionalPriceConfiguration {
|
|
1264
|
+
dimension_values: Array<string>;
|
|
1265
|
+
|
|
1266
|
+
dimensional_price_group_id: string;
|
|
1267
|
+
}
|
|
1202
1268
|
}
|
|
1203
1269
|
|
|
1204
1270
|
export interface ThresholdTotalAmountPrice {
|
|
@@ -1253,6 +1319,8 @@ export namespace Price {
|
|
|
1253
1319
|
price_type: 'usage_price' | 'fixed_price';
|
|
1254
1320
|
|
|
1255
1321
|
threshold_total_amount_config: Record<string, unknown>;
|
|
1322
|
+
|
|
1323
|
+
dimensional_price_configuration?: ThresholdTotalAmountPrice.DimensionalPriceConfiguration | null;
|
|
1256
1324
|
}
|
|
1257
1325
|
|
|
1258
1326
|
export namespace ThresholdTotalAmountPrice {
|
|
@@ -1309,6 +1377,12 @@ export namespace Price {
|
|
|
1309
1377
|
*/
|
|
1310
1378
|
minimum_amount: string;
|
|
1311
1379
|
}
|
|
1380
|
+
|
|
1381
|
+
export interface DimensionalPriceConfiguration {
|
|
1382
|
+
dimension_values: Array<string>;
|
|
1383
|
+
|
|
1384
|
+
dimensional_price_group_id: string;
|
|
1385
|
+
}
|
|
1312
1386
|
}
|
|
1313
1387
|
|
|
1314
1388
|
export interface TieredPackagePrice {
|
|
@@ -1363,6 +1437,8 @@ export namespace Price {
|
|
|
1363
1437
|
price_type: 'usage_price' | 'fixed_price';
|
|
1364
1438
|
|
|
1365
1439
|
tiered_package_config: Record<string, unknown>;
|
|
1440
|
+
|
|
1441
|
+
dimensional_price_configuration?: TieredPackagePrice.DimensionalPriceConfiguration | null;
|
|
1366
1442
|
}
|
|
1367
1443
|
|
|
1368
1444
|
export namespace TieredPackagePrice {
|
|
@@ -1419,6 +1495,12 @@ export namespace Price {
|
|
|
1419
1495
|
*/
|
|
1420
1496
|
minimum_amount: string;
|
|
1421
1497
|
}
|
|
1498
|
+
|
|
1499
|
+
export interface DimensionalPriceConfiguration {
|
|
1500
|
+
dimension_values: Array<string>;
|
|
1501
|
+
|
|
1502
|
+
dimensional_price_group_id: string;
|
|
1503
|
+
}
|
|
1422
1504
|
}
|
|
1423
1505
|
|
|
1424
1506
|
export interface GroupedTieredPrice {
|
|
@@ -1473,6 +1555,8 @@ export namespace Price {
|
|
|
1473
1555
|
plan_phase_order: number | null;
|
|
1474
1556
|
|
|
1475
1557
|
price_type: 'usage_price' | 'fixed_price';
|
|
1558
|
+
|
|
1559
|
+
dimensional_price_configuration?: GroupedTieredPrice.DimensionalPriceConfiguration | null;
|
|
1476
1560
|
}
|
|
1477
1561
|
|
|
1478
1562
|
export namespace GroupedTieredPrice {
|
|
@@ -1529,6 +1613,12 @@ export namespace Price {
|
|
|
1529
1613
|
*/
|
|
1530
1614
|
minimum_amount: string;
|
|
1531
1615
|
}
|
|
1616
|
+
|
|
1617
|
+
export interface DimensionalPriceConfiguration {
|
|
1618
|
+
dimension_values: Array<string>;
|
|
1619
|
+
|
|
1620
|
+
dimensional_price_group_id: string;
|
|
1621
|
+
}
|
|
1532
1622
|
}
|
|
1533
1623
|
|
|
1534
1624
|
export interface TieredWithMinimumPrice {
|
|
@@ -1583,6 +1673,8 @@ export namespace Price {
|
|
|
1583
1673
|
price_type: 'usage_price' | 'fixed_price';
|
|
1584
1674
|
|
|
1585
1675
|
tiered_with_minimum_config: Record<string, unknown>;
|
|
1676
|
+
|
|
1677
|
+
dimensional_price_configuration?: TieredWithMinimumPrice.DimensionalPriceConfiguration | null;
|
|
1586
1678
|
}
|
|
1587
1679
|
|
|
1588
1680
|
export namespace TieredWithMinimumPrice {
|
|
@@ -1639,6 +1731,12 @@ export namespace Price {
|
|
|
1639
1731
|
*/
|
|
1640
1732
|
minimum_amount: string;
|
|
1641
1733
|
}
|
|
1734
|
+
|
|
1735
|
+
export interface DimensionalPriceConfiguration {
|
|
1736
|
+
dimension_values: Array<string>;
|
|
1737
|
+
|
|
1738
|
+
dimensional_price_group_id: string;
|
|
1739
|
+
}
|
|
1642
1740
|
}
|
|
1643
1741
|
|
|
1644
1742
|
export interface TieredPackageWithMinimumPrice {
|
|
@@ -1693,6 +1791,8 @@ export namespace Price {
|
|
|
1693
1791
|
price_type: 'usage_price' | 'fixed_price';
|
|
1694
1792
|
|
|
1695
1793
|
tiered_package_with_minimum_config: Record<string, unknown>;
|
|
1794
|
+
|
|
1795
|
+
dimensional_price_configuration?: TieredPackageWithMinimumPrice.DimensionalPriceConfiguration | null;
|
|
1696
1796
|
}
|
|
1697
1797
|
|
|
1698
1798
|
export namespace TieredPackageWithMinimumPrice {
|
|
@@ -1749,6 +1849,12 @@ export namespace Price {
|
|
|
1749
1849
|
*/
|
|
1750
1850
|
minimum_amount: string;
|
|
1751
1851
|
}
|
|
1852
|
+
|
|
1853
|
+
export interface DimensionalPriceConfiguration {
|
|
1854
|
+
dimension_values: Array<string>;
|
|
1855
|
+
|
|
1856
|
+
dimensional_price_group_id: string;
|
|
1857
|
+
}
|
|
1752
1858
|
}
|
|
1753
1859
|
|
|
1754
1860
|
export interface PackageWithAllocationPrice {
|
|
@@ -1803,6 +1909,8 @@ export namespace Price {
|
|
|
1803
1909
|
plan_phase_order: number | null;
|
|
1804
1910
|
|
|
1805
1911
|
price_type: 'usage_price' | 'fixed_price';
|
|
1912
|
+
|
|
1913
|
+
dimensional_price_configuration?: PackageWithAllocationPrice.DimensionalPriceConfiguration | null;
|
|
1806
1914
|
}
|
|
1807
1915
|
|
|
1808
1916
|
export namespace PackageWithAllocationPrice {
|
|
@@ -1859,6 +1967,12 @@ export namespace Price {
|
|
|
1859
1967
|
*/
|
|
1860
1968
|
minimum_amount: string;
|
|
1861
1969
|
}
|
|
1970
|
+
|
|
1971
|
+
export interface DimensionalPriceConfiguration {
|
|
1972
|
+
dimension_values: Array<string>;
|
|
1973
|
+
|
|
1974
|
+
dimensional_price_group_id: string;
|
|
1975
|
+
}
|
|
1862
1976
|
}
|
|
1863
1977
|
|
|
1864
1978
|
export interface UnitWithPercentPrice {
|
|
@@ -1913,6 +2027,8 @@ export namespace Price {
|
|
|
1913
2027
|
price_type: 'usage_price' | 'fixed_price';
|
|
1914
2028
|
|
|
1915
2029
|
unit_with_percent_config: Record<string, unknown>;
|
|
2030
|
+
|
|
2031
|
+
dimensional_price_configuration?: UnitWithPercentPrice.DimensionalPriceConfiguration | null;
|
|
1916
2032
|
}
|
|
1917
2033
|
|
|
1918
2034
|
export namespace UnitWithPercentPrice {
|
|
@@ -1969,6 +2085,12 @@ export namespace Price {
|
|
|
1969
2085
|
*/
|
|
1970
2086
|
minimum_amount: string;
|
|
1971
2087
|
}
|
|
2088
|
+
|
|
2089
|
+
export interface DimensionalPriceConfiguration {
|
|
2090
|
+
dimension_values: Array<string>;
|
|
2091
|
+
|
|
2092
|
+
dimensional_price_group_id: string;
|
|
2093
|
+
}
|
|
1972
2094
|
}
|
|
1973
2095
|
|
|
1974
2096
|
export interface MatrixWithAllocationPrice {
|
|
@@ -2023,6 +2145,8 @@ export namespace Price {
|
|
|
2023
2145
|
plan_phase_order: number | null;
|
|
2024
2146
|
|
|
2025
2147
|
price_type: 'usage_price' | 'fixed_price';
|
|
2148
|
+
|
|
2149
|
+
dimensional_price_configuration?: MatrixWithAllocationPrice.DimensionalPriceConfiguration | null;
|
|
2026
2150
|
}
|
|
2027
2151
|
|
|
2028
2152
|
export namespace MatrixWithAllocationPrice {
|
|
@@ -2117,6 +2241,12 @@ export namespace Price {
|
|
|
2117
2241
|
*/
|
|
2118
2242
|
minimum_amount: string;
|
|
2119
2243
|
}
|
|
2244
|
+
|
|
2245
|
+
export interface DimensionalPriceConfiguration {
|
|
2246
|
+
dimension_values: Array<string>;
|
|
2247
|
+
|
|
2248
|
+
dimensional_price_group_id: string;
|
|
2249
|
+
}
|
|
2120
2250
|
}
|
|
2121
2251
|
|
|
2122
2252
|
export interface TieredWithProrationPrice {
|
|
@@ -2171,6 +2301,8 @@ export namespace Price {
|
|
|
2171
2301
|
price_type: 'usage_price' | 'fixed_price';
|
|
2172
2302
|
|
|
2173
2303
|
tiered_with_proration_config: Record<string, unknown>;
|
|
2304
|
+
|
|
2305
|
+
dimensional_price_configuration?: TieredWithProrationPrice.DimensionalPriceConfiguration | null;
|
|
2174
2306
|
}
|
|
2175
2307
|
|
|
2176
2308
|
export namespace TieredWithProrationPrice {
|
|
@@ -2227,6 +2359,12 @@ export namespace Price {
|
|
|
2227
2359
|
*/
|
|
2228
2360
|
minimum_amount: string;
|
|
2229
2361
|
}
|
|
2362
|
+
|
|
2363
|
+
export interface DimensionalPriceConfiguration {
|
|
2364
|
+
dimension_values: Array<string>;
|
|
2365
|
+
|
|
2366
|
+
dimensional_price_group_id: string;
|
|
2367
|
+
}
|
|
2230
2368
|
}
|
|
2231
2369
|
|
|
2232
2370
|
export interface UnitWithProrationPrice {
|
|
@@ -2281,6 +2419,8 @@ export namespace Price {
|
|
|
2281
2419
|
price_type: 'usage_price' | 'fixed_price';
|
|
2282
2420
|
|
|
2283
2421
|
unit_with_proration_config: Record<string, unknown>;
|
|
2422
|
+
|
|
2423
|
+
dimensional_price_configuration?: UnitWithProrationPrice.DimensionalPriceConfiguration | null;
|
|
2284
2424
|
}
|
|
2285
2425
|
|
|
2286
2426
|
export namespace UnitWithProrationPrice {
|
|
@@ -2337,6 +2477,12 @@ export namespace Price {
|
|
|
2337
2477
|
*/
|
|
2338
2478
|
minimum_amount: string;
|
|
2339
2479
|
}
|
|
2480
|
+
|
|
2481
|
+
export interface DimensionalPriceConfiguration {
|
|
2482
|
+
dimension_values: Array<string>;
|
|
2483
|
+
|
|
2484
|
+
dimensional_price_group_id: string;
|
|
2485
|
+
}
|
|
2340
2486
|
}
|
|
2341
2487
|
|
|
2342
2488
|
export interface GroupedAllocationPrice {
|
|
@@ -2391,6 +2537,8 @@ export namespace Price {
|
|
|
2391
2537
|
plan_phase_order: number | null;
|
|
2392
2538
|
|
|
2393
2539
|
price_type: 'usage_price' | 'fixed_price';
|
|
2540
|
+
|
|
2541
|
+
dimensional_price_configuration?: GroupedAllocationPrice.DimensionalPriceConfiguration | null;
|
|
2394
2542
|
}
|
|
2395
2543
|
|
|
2396
2544
|
export namespace GroupedAllocationPrice {
|
|
@@ -2447,6 +2595,12 @@ export namespace Price {
|
|
|
2447
2595
|
*/
|
|
2448
2596
|
minimum_amount: string;
|
|
2449
2597
|
}
|
|
2598
|
+
|
|
2599
|
+
export interface DimensionalPriceConfiguration {
|
|
2600
|
+
dimension_values: Array<string>;
|
|
2601
|
+
|
|
2602
|
+
dimensional_price_group_id: string;
|
|
2603
|
+
}
|
|
2450
2604
|
}
|
|
2451
2605
|
|
|
2452
2606
|
export interface GroupedWithProratedMinimumPrice {
|
|
@@ -2501,6 +2655,8 @@ export namespace Price {
|
|
|
2501
2655
|
plan_phase_order: number | null;
|
|
2502
2656
|
|
|
2503
2657
|
price_type: 'usage_price' | 'fixed_price';
|
|
2658
|
+
|
|
2659
|
+
dimensional_price_configuration?: GroupedWithProratedMinimumPrice.DimensionalPriceConfiguration | null;
|
|
2504
2660
|
}
|
|
2505
2661
|
|
|
2506
2662
|
export namespace GroupedWithProratedMinimumPrice {
|
|
@@ -2557,6 +2713,12 @@ export namespace Price {
|
|
|
2557
2713
|
*/
|
|
2558
2714
|
minimum_amount: string;
|
|
2559
2715
|
}
|
|
2716
|
+
|
|
2717
|
+
export interface DimensionalPriceConfiguration {
|
|
2718
|
+
dimension_values: Array<string>;
|
|
2719
|
+
|
|
2720
|
+
dimensional_price_group_id: string;
|
|
2721
|
+
}
|
|
2560
2722
|
}
|
|
2561
2723
|
|
|
2562
2724
|
export interface GroupedWithMeteredMinimumPrice {
|
|
@@ -2611,6 +2773,8 @@ export namespace Price {
|
|
|
2611
2773
|
plan_phase_order: number | null;
|
|
2612
2774
|
|
|
2613
2775
|
price_type: 'usage_price' | 'fixed_price';
|
|
2776
|
+
|
|
2777
|
+
dimensional_price_configuration?: GroupedWithMeteredMinimumPrice.DimensionalPriceConfiguration | null;
|
|
2614
2778
|
}
|
|
2615
2779
|
|
|
2616
2780
|
export namespace GroupedWithMeteredMinimumPrice {
|
|
@@ -2667,6 +2831,12 @@ export namespace Price {
|
|
|
2667
2831
|
*/
|
|
2668
2832
|
minimum_amount: string;
|
|
2669
2833
|
}
|
|
2834
|
+
|
|
2835
|
+
export interface DimensionalPriceConfiguration {
|
|
2836
|
+
dimension_values: Array<string>;
|
|
2837
|
+
|
|
2838
|
+
dimensional_price_group_id: string;
|
|
2839
|
+
}
|
|
2670
2840
|
}
|
|
2671
2841
|
|
|
2672
2842
|
export interface MatrixWithDisplayNamePrice {
|
|
@@ -2721,6 +2891,8 @@ export namespace Price {
|
|
|
2721
2891
|
plan_phase_order: number | null;
|
|
2722
2892
|
|
|
2723
2893
|
price_type: 'usage_price' | 'fixed_price';
|
|
2894
|
+
|
|
2895
|
+
dimensional_price_configuration?: MatrixWithDisplayNamePrice.DimensionalPriceConfiguration | null;
|
|
2724
2896
|
}
|
|
2725
2897
|
|
|
2726
2898
|
export namespace MatrixWithDisplayNamePrice {
|
|
@@ -2777,6 +2949,12 @@ export namespace Price {
|
|
|
2777
2949
|
*/
|
|
2778
2950
|
minimum_amount: string;
|
|
2779
2951
|
}
|
|
2952
|
+
|
|
2953
|
+
export interface DimensionalPriceConfiguration {
|
|
2954
|
+
dimension_values: Array<string>;
|
|
2955
|
+
|
|
2956
|
+
dimensional_price_group_id: string;
|
|
2957
|
+
}
|
|
2780
2958
|
}
|
|
2781
2959
|
|
|
2782
2960
|
export interface BulkWithProrationPrice {
|
|
@@ -2820,20 +2998,258 @@ export namespace Price {
|
|
|
2820
2998
|
*/
|
|
2821
2999
|
metadata: Record<string, string>;
|
|
2822
3000
|
|
|
2823
|
-
minimum: BulkWithProrationPrice.Minimum | null;
|
|
3001
|
+
minimum: BulkWithProrationPrice.Minimum | null;
|
|
3002
|
+
|
|
3003
|
+
minimum_amount: string | null;
|
|
3004
|
+
|
|
3005
|
+
model_type: 'bulk_with_proration';
|
|
3006
|
+
|
|
3007
|
+
name: string;
|
|
3008
|
+
|
|
3009
|
+
plan_phase_order: number | null;
|
|
3010
|
+
|
|
3011
|
+
price_type: 'usage_price' | 'fixed_price';
|
|
3012
|
+
|
|
3013
|
+
dimensional_price_configuration?: BulkWithProrationPrice.DimensionalPriceConfiguration | null;
|
|
3014
|
+
}
|
|
3015
|
+
|
|
3016
|
+
export namespace BulkWithProrationPrice {
|
|
3017
|
+
export interface BillableMetric {
|
|
3018
|
+
id: string;
|
|
3019
|
+
}
|
|
3020
|
+
|
|
3021
|
+
export interface BillingCycleConfiguration {
|
|
3022
|
+
duration: number;
|
|
3023
|
+
|
|
3024
|
+
duration_unit: 'day' | 'month';
|
|
3025
|
+
}
|
|
3026
|
+
|
|
3027
|
+
export interface CreditAllocation {
|
|
3028
|
+
allows_rollover: boolean;
|
|
3029
|
+
|
|
3030
|
+
currency: string;
|
|
3031
|
+
}
|
|
3032
|
+
|
|
3033
|
+
export interface InvoicingCycleConfiguration {
|
|
3034
|
+
duration: number;
|
|
3035
|
+
|
|
3036
|
+
duration_unit: 'day' | 'month';
|
|
3037
|
+
}
|
|
3038
|
+
|
|
3039
|
+
export interface Item {
|
|
3040
|
+
id: string;
|
|
3041
|
+
|
|
3042
|
+
name: string;
|
|
3043
|
+
}
|
|
3044
|
+
|
|
3045
|
+
export interface Maximum {
|
|
3046
|
+
/**
|
|
3047
|
+
* List of price_ids that this maximum amount applies to. For plan/plan phase
|
|
3048
|
+
* maximums, this can be a subset of prices.
|
|
3049
|
+
*/
|
|
3050
|
+
applies_to_price_ids: Array<string>;
|
|
3051
|
+
|
|
3052
|
+
/**
|
|
3053
|
+
* Maximum amount applied
|
|
3054
|
+
*/
|
|
3055
|
+
maximum_amount: string;
|
|
3056
|
+
}
|
|
3057
|
+
|
|
3058
|
+
export interface Minimum {
|
|
3059
|
+
/**
|
|
3060
|
+
* List of price_ids that this minimum amount applies to. For plan/plan phase
|
|
3061
|
+
* minimums, this can be a subset of prices.
|
|
3062
|
+
*/
|
|
3063
|
+
applies_to_price_ids: Array<string>;
|
|
3064
|
+
|
|
3065
|
+
/**
|
|
3066
|
+
* Minimum amount applied
|
|
3067
|
+
*/
|
|
3068
|
+
minimum_amount: string;
|
|
3069
|
+
}
|
|
3070
|
+
|
|
3071
|
+
export interface DimensionalPriceConfiguration {
|
|
3072
|
+
dimension_values: Array<string>;
|
|
3073
|
+
|
|
3074
|
+
dimensional_price_group_id: string;
|
|
3075
|
+
}
|
|
3076
|
+
}
|
|
3077
|
+
|
|
3078
|
+
export interface GroupedTieredPackagePrice {
|
|
3079
|
+
id: string;
|
|
3080
|
+
|
|
3081
|
+
billable_metric: GroupedTieredPackagePrice.BillableMetric | null;
|
|
3082
|
+
|
|
3083
|
+
billing_cycle_configuration: GroupedTieredPackagePrice.BillingCycleConfiguration;
|
|
3084
|
+
|
|
3085
|
+
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
3086
|
+
|
|
3087
|
+
conversion_rate: number | null;
|
|
3088
|
+
|
|
3089
|
+
created_at: string;
|
|
3090
|
+
|
|
3091
|
+
credit_allocation: GroupedTieredPackagePrice.CreditAllocation | null;
|
|
3092
|
+
|
|
3093
|
+
currency: string;
|
|
3094
|
+
|
|
3095
|
+
discount: Shared.Discount | null;
|
|
3096
|
+
|
|
3097
|
+
external_price_id: string | null;
|
|
3098
|
+
|
|
3099
|
+
fixed_price_quantity: number | null;
|
|
3100
|
+
|
|
3101
|
+
grouped_tiered_package_config: Record<string, unknown>;
|
|
3102
|
+
|
|
3103
|
+
invoicing_cycle_configuration: GroupedTieredPackagePrice.InvoicingCycleConfiguration | null;
|
|
3104
|
+
|
|
3105
|
+
item: GroupedTieredPackagePrice.Item;
|
|
3106
|
+
|
|
3107
|
+
maximum: GroupedTieredPackagePrice.Maximum | null;
|
|
3108
|
+
|
|
3109
|
+
maximum_amount: string | null;
|
|
3110
|
+
|
|
3111
|
+
/**
|
|
3112
|
+
* User specified key-value pairs for the resource. If not present, this defaults
|
|
3113
|
+
* to an empty dictionary. Individual keys can be removed by setting the value to
|
|
3114
|
+
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
3115
|
+
* `null`.
|
|
3116
|
+
*/
|
|
3117
|
+
metadata: Record<string, string>;
|
|
3118
|
+
|
|
3119
|
+
minimum: GroupedTieredPackagePrice.Minimum | null;
|
|
3120
|
+
|
|
3121
|
+
minimum_amount: string | null;
|
|
3122
|
+
|
|
3123
|
+
model_type: 'grouped_tiered_package';
|
|
3124
|
+
|
|
3125
|
+
name: string;
|
|
3126
|
+
|
|
3127
|
+
plan_phase_order: number | null;
|
|
3128
|
+
|
|
3129
|
+
price_type: 'usage_price' | 'fixed_price';
|
|
3130
|
+
|
|
3131
|
+
dimensional_price_configuration?: GroupedTieredPackagePrice.DimensionalPriceConfiguration | null;
|
|
3132
|
+
}
|
|
3133
|
+
|
|
3134
|
+
export namespace GroupedTieredPackagePrice {
|
|
3135
|
+
export interface BillableMetric {
|
|
3136
|
+
id: string;
|
|
3137
|
+
}
|
|
3138
|
+
|
|
3139
|
+
export interface BillingCycleConfiguration {
|
|
3140
|
+
duration: number;
|
|
3141
|
+
|
|
3142
|
+
duration_unit: 'day' | 'month';
|
|
3143
|
+
}
|
|
3144
|
+
|
|
3145
|
+
export interface CreditAllocation {
|
|
3146
|
+
allows_rollover: boolean;
|
|
3147
|
+
|
|
3148
|
+
currency: string;
|
|
3149
|
+
}
|
|
3150
|
+
|
|
3151
|
+
export interface InvoicingCycleConfiguration {
|
|
3152
|
+
duration: number;
|
|
3153
|
+
|
|
3154
|
+
duration_unit: 'day' | 'month';
|
|
3155
|
+
}
|
|
3156
|
+
|
|
3157
|
+
export interface Item {
|
|
3158
|
+
id: string;
|
|
3159
|
+
|
|
3160
|
+
name: string;
|
|
3161
|
+
}
|
|
3162
|
+
|
|
3163
|
+
export interface Maximum {
|
|
3164
|
+
/**
|
|
3165
|
+
* List of price_ids that this maximum amount applies to. For plan/plan phase
|
|
3166
|
+
* maximums, this can be a subset of prices.
|
|
3167
|
+
*/
|
|
3168
|
+
applies_to_price_ids: Array<string>;
|
|
3169
|
+
|
|
3170
|
+
/**
|
|
3171
|
+
* Maximum amount applied
|
|
3172
|
+
*/
|
|
3173
|
+
maximum_amount: string;
|
|
3174
|
+
}
|
|
3175
|
+
|
|
3176
|
+
export interface Minimum {
|
|
3177
|
+
/**
|
|
3178
|
+
* List of price_ids that this minimum amount applies to. For plan/plan phase
|
|
3179
|
+
* minimums, this can be a subset of prices.
|
|
3180
|
+
*/
|
|
3181
|
+
applies_to_price_ids: Array<string>;
|
|
3182
|
+
|
|
3183
|
+
/**
|
|
3184
|
+
* Minimum amount applied
|
|
3185
|
+
*/
|
|
3186
|
+
minimum_amount: string;
|
|
3187
|
+
}
|
|
3188
|
+
|
|
3189
|
+
export interface DimensionalPriceConfiguration {
|
|
3190
|
+
dimension_values: Array<string>;
|
|
3191
|
+
|
|
3192
|
+
dimensional_price_group_id: string;
|
|
3193
|
+
}
|
|
3194
|
+
}
|
|
3195
|
+
|
|
3196
|
+
export interface MaxGroupTieredPackagePrice {
|
|
3197
|
+
id: string;
|
|
3198
|
+
|
|
3199
|
+
billable_metric: MaxGroupTieredPackagePrice.BillableMetric | null;
|
|
3200
|
+
|
|
3201
|
+
billing_cycle_configuration: MaxGroupTieredPackagePrice.BillingCycleConfiguration;
|
|
3202
|
+
|
|
3203
|
+
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
3204
|
+
|
|
3205
|
+
conversion_rate: number | null;
|
|
3206
|
+
|
|
3207
|
+
created_at: string;
|
|
3208
|
+
|
|
3209
|
+
credit_allocation: MaxGroupTieredPackagePrice.CreditAllocation | null;
|
|
3210
|
+
|
|
3211
|
+
currency: string;
|
|
3212
|
+
|
|
3213
|
+
discount: Shared.Discount | null;
|
|
3214
|
+
|
|
3215
|
+
external_price_id: string | null;
|
|
3216
|
+
|
|
3217
|
+
fixed_price_quantity: number | null;
|
|
3218
|
+
|
|
3219
|
+
invoicing_cycle_configuration: MaxGroupTieredPackagePrice.InvoicingCycleConfiguration | null;
|
|
3220
|
+
|
|
3221
|
+
item: MaxGroupTieredPackagePrice.Item;
|
|
3222
|
+
|
|
3223
|
+
max_group_tiered_package_config: Record<string, unknown>;
|
|
3224
|
+
|
|
3225
|
+
maximum: MaxGroupTieredPackagePrice.Maximum | null;
|
|
3226
|
+
|
|
3227
|
+
maximum_amount: string | null;
|
|
3228
|
+
|
|
3229
|
+
/**
|
|
3230
|
+
* User specified key-value pairs for the resource. If not present, this defaults
|
|
3231
|
+
* to an empty dictionary. Individual keys can be removed by setting the value to
|
|
3232
|
+
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
3233
|
+
* `null`.
|
|
3234
|
+
*/
|
|
3235
|
+
metadata: Record<string, string>;
|
|
3236
|
+
|
|
3237
|
+
minimum: MaxGroupTieredPackagePrice.Minimum | null;
|
|
2824
3238
|
|
|
2825
3239
|
minimum_amount: string | null;
|
|
2826
3240
|
|
|
2827
|
-
model_type: '
|
|
3241
|
+
model_type: 'max_group_tiered_package';
|
|
2828
3242
|
|
|
2829
3243
|
name: string;
|
|
2830
3244
|
|
|
2831
3245
|
plan_phase_order: number | null;
|
|
2832
3246
|
|
|
2833
3247
|
price_type: 'usage_price' | 'fixed_price';
|
|
3248
|
+
|
|
3249
|
+
dimensional_price_configuration?: MaxGroupTieredPackagePrice.DimensionalPriceConfiguration | null;
|
|
2834
3250
|
}
|
|
2835
3251
|
|
|
2836
|
-
export namespace
|
|
3252
|
+
export namespace MaxGroupTieredPackagePrice {
|
|
2837
3253
|
export interface BillableMetric {
|
|
2838
3254
|
id: string;
|
|
2839
3255
|
}
|
|
@@ -2887,14 +3303,20 @@ export namespace Price {
|
|
|
2887
3303
|
*/
|
|
2888
3304
|
minimum_amount: string;
|
|
2889
3305
|
}
|
|
3306
|
+
|
|
3307
|
+
export interface DimensionalPriceConfiguration {
|
|
3308
|
+
dimension_values: Array<string>;
|
|
3309
|
+
|
|
3310
|
+
dimensional_price_group_id: string;
|
|
3311
|
+
}
|
|
2890
3312
|
}
|
|
2891
3313
|
|
|
2892
|
-
export interface
|
|
3314
|
+
export interface ScalableMatrixWithUnitPricingPrice {
|
|
2893
3315
|
id: string;
|
|
2894
3316
|
|
|
2895
|
-
billable_metric:
|
|
3317
|
+
billable_metric: ScalableMatrixWithUnitPricingPrice.BillableMetric | null;
|
|
2896
3318
|
|
|
2897
|
-
billing_cycle_configuration:
|
|
3319
|
+
billing_cycle_configuration: ScalableMatrixWithUnitPricingPrice.BillingCycleConfiguration;
|
|
2898
3320
|
|
|
2899
3321
|
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
2900
3322
|
|
|
@@ -2902,7 +3324,7 @@ export namespace Price {
|
|
|
2902
3324
|
|
|
2903
3325
|
created_at: string;
|
|
2904
3326
|
|
|
2905
|
-
credit_allocation:
|
|
3327
|
+
credit_allocation: ScalableMatrixWithUnitPricingPrice.CreditAllocation | null;
|
|
2906
3328
|
|
|
2907
3329
|
currency: string;
|
|
2908
3330
|
|
|
@@ -2912,13 +3334,11 @@ export namespace Price {
|
|
|
2912
3334
|
|
|
2913
3335
|
fixed_price_quantity: number | null;
|
|
2914
3336
|
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
invoicing_cycle_configuration: GroupedTieredPackagePrice.InvoicingCycleConfiguration | null;
|
|
3337
|
+
invoicing_cycle_configuration: ScalableMatrixWithUnitPricingPrice.InvoicingCycleConfiguration | null;
|
|
2918
3338
|
|
|
2919
|
-
item:
|
|
3339
|
+
item: ScalableMatrixWithUnitPricingPrice.Item;
|
|
2920
3340
|
|
|
2921
|
-
maximum:
|
|
3341
|
+
maximum: ScalableMatrixWithUnitPricingPrice.Maximum | null;
|
|
2922
3342
|
|
|
2923
3343
|
maximum_amount: string | null;
|
|
2924
3344
|
|
|
@@ -2930,20 +3350,24 @@ export namespace Price {
|
|
|
2930
3350
|
*/
|
|
2931
3351
|
metadata: Record<string, string>;
|
|
2932
3352
|
|
|
2933
|
-
minimum:
|
|
3353
|
+
minimum: ScalableMatrixWithUnitPricingPrice.Minimum | null;
|
|
2934
3354
|
|
|
2935
3355
|
minimum_amount: string | null;
|
|
2936
3356
|
|
|
2937
|
-
model_type: '
|
|
3357
|
+
model_type: 'scalable_matrix_with_unit_pricing';
|
|
2938
3358
|
|
|
2939
3359
|
name: string;
|
|
2940
3360
|
|
|
2941
3361
|
plan_phase_order: number | null;
|
|
2942
3362
|
|
|
2943
3363
|
price_type: 'usage_price' | 'fixed_price';
|
|
3364
|
+
|
|
3365
|
+
scalable_matrix_with_unit_pricing_config: Record<string, unknown>;
|
|
3366
|
+
|
|
3367
|
+
dimensional_price_configuration?: ScalableMatrixWithUnitPricingPrice.DimensionalPriceConfiguration | null;
|
|
2944
3368
|
}
|
|
2945
3369
|
|
|
2946
|
-
export namespace
|
|
3370
|
+
export namespace ScalableMatrixWithUnitPricingPrice {
|
|
2947
3371
|
export interface BillableMetric {
|
|
2948
3372
|
id: string;
|
|
2949
3373
|
}
|
|
@@ -2997,14 +3421,20 @@ export namespace Price {
|
|
|
2997
3421
|
*/
|
|
2998
3422
|
minimum_amount: string;
|
|
2999
3423
|
}
|
|
3424
|
+
|
|
3425
|
+
export interface DimensionalPriceConfiguration {
|
|
3426
|
+
dimension_values: Array<string>;
|
|
3427
|
+
|
|
3428
|
+
dimensional_price_group_id: string;
|
|
3429
|
+
}
|
|
3000
3430
|
}
|
|
3001
3431
|
|
|
3002
|
-
export interface
|
|
3432
|
+
export interface ScalableMatrixWithTieredPricingPrice {
|
|
3003
3433
|
id: string;
|
|
3004
3434
|
|
|
3005
|
-
billable_metric:
|
|
3435
|
+
billable_metric: ScalableMatrixWithTieredPricingPrice.BillableMetric | null;
|
|
3006
3436
|
|
|
3007
|
-
billing_cycle_configuration:
|
|
3437
|
+
billing_cycle_configuration: ScalableMatrixWithTieredPricingPrice.BillingCycleConfiguration;
|
|
3008
3438
|
|
|
3009
3439
|
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
3010
3440
|
|
|
@@ -3012,7 +3442,7 @@ export namespace Price {
|
|
|
3012
3442
|
|
|
3013
3443
|
created_at: string;
|
|
3014
3444
|
|
|
3015
|
-
credit_allocation:
|
|
3445
|
+
credit_allocation: ScalableMatrixWithTieredPricingPrice.CreditAllocation | null;
|
|
3016
3446
|
|
|
3017
3447
|
currency: string;
|
|
3018
3448
|
|
|
@@ -3022,13 +3452,11 @@ export namespace Price {
|
|
|
3022
3452
|
|
|
3023
3453
|
fixed_price_quantity: number | null;
|
|
3024
3454
|
|
|
3025
|
-
invoicing_cycle_configuration:
|
|
3026
|
-
|
|
3027
|
-
item: MaxGroupTieredPackagePrice.Item;
|
|
3455
|
+
invoicing_cycle_configuration: ScalableMatrixWithTieredPricingPrice.InvoicingCycleConfiguration | null;
|
|
3028
3456
|
|
|
3029
|
-
|
|
3457
|
+
item: ScalableMatrixWithTieredPricingPrice.Item;
|
|
3030
3458
|
|
|
3031
|
-
maximum:
|
|
3459
|
+
maximum: ScalableMatrixWithTieredPricingPrice.Maximum | null;
|
|
3032
3460
|
|
|
3033
3461
|
maximum_amount: string | null;
|
|
3034
3462
|
|
|
@@ -3040,20 +3468,24 @@ export namespace Price {
|
|
|
3040
3468
|
*/
|
|
3041
3469
|
metadata: Record<string, string>;
|
|
3042
3470
|
|
|
3043
|
-
minimum:
|
|
3471
|
+
minimum: ScalableMatrixWithTieredPricingPrice.Minimum | null;
|
|
3044
3472
|
|
|
3045
3473
|
minimum_amount: string | null;
|
|
3046
3474
|
|
|
3047
|
-
model_type: '
|
|
3475
|
+
model_type: 'scalable_matrix_with_tiered_pricing';
|
|
3048
3476
|
|
|
3049
3477
|
name: string;
|
|
3050
3478
|
|
|
3051
3479
|
plan_phase_order: number | null;
|
|
3052
3480
|
|
|
3053
3481
|
price_type: 'usage_price' | 'fixed_price';
|
|
3482
|
+
|
|
3483
|
+
scalable_matrix_with_tiered_pricing_config: Record<string, unknown>;
|
|
3484
|
+
|
|
3485
|
+
dimensional_price_configuration?: ScalableMatrixWithTieredPricingPrice.DimensionalPriceConfiguration | null;
|
|
3054
3486
|
}
|
|
3055
3487
|
|
|
3056
|
-
export namespace
|
|
3488
|
+
export namespace ScalableMatrixWithTieredPricingPrice {
|
|
3057
3489
|
export interface BillableMetric {
|
|
3058
3490
|
id: string;
|
|
3059
3491
|
}
|
|
@@ -3107,6 +3539,12 @@ export namespace Price {
|
|
|
3107
3539
|
*/
|
|
3108
3540
|
minimum_amount: string;
|
|
3109
3541
|
}
|
|
3542
|
+
|
|
3543
|
+
export interface DimensionalPriceConfiguration {
|
|
3544
|
+
dimension_values: Array<string>;
|
|
3545
|
+
|
|
3546
|
+
dimensional_price_group_id: string;
|
|
3547
|
+
}
|
|
3110
3548
|
}
|
|
3111
3549
|
}
|
|
3112
3550
|
|
|
@@ -3139,7 +3577,9 @@ export type PriceCreateParams =
|
|
|
3139
3577
|
| PriceCreateParams.NewFloatingGroupedWithMeteredMinimumPrice
|
|
3140
3578
|
| PriceCreateParams.NewFloatingMatrixWithDisplayNamePrice
|
|
3141
3579
|
| PriceCreateParams.NewFloatingBulkWithProrationPrice
|
|
3142
|
-
| PriceCreateParams.NewFloatingGroupedTieredPackagePrice
|
|
3580
|
+
| PriceCreateParams.NewFloatingGroupedTieredPackagePrice
|
|
3581
|
+
| PriceCreateParams.NewFloatingScalableMatrixWithUnitPricingPrice
|
|
3582
|
+
| PriceCreateParams.NewFloatingScalableMatrixWithTieredPricingPrice;
|
|
3143
3583
|
|
|
3144
3584
|
export declare namespace PriceCreateParams {
|
|
3145
3585
|
export interface NewFloatingUnitPrice {
|
|
@@ -3165,7 +3605,7 @@ export declare namespace PriceCreateParams {
|
|
|
3165
3605
|
*/
|
|
3166
3606
|
name: string;
|
|
3167
3607
|
|
|
3168
|
-
unit_config:
|
|
3608
|
+
unit_config: NewFloatingUnitPrice.UnitConfig;
|
|
3169
3609
|
|
|
3170
3610
|
/**
|
|
3171
3611
|
* The id of the billable metric for the price. Only needed if the price is
|
|
@@ -3183,7 +3623,7 @@ export declare namespace PriceCreateParams {
|
|
|
3183
3623
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
3184
3624
|
* months.
|
|
3185
3625
|
*/
|
|
3186
|
-
billing_cycle_configuration?:
|
|
3626
|
+
billing_cycle_configuration?: NewFloatingUnitPrice.BillingCycleConfiguration | null;
|
|
3187
3627
|
|
|
3188
3628
|
/**
|
|
3189
3629
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -3210,7 +3650,7 @@ export declare namespace PriceCreateParams {
|
|
|
3210
3650
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3211
3651
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
3212
3652
|
*/
|
|
3213
|
-
invoicing_cycle_configuration?:
|
|
3653
|
+
invoicing_cycle_configuration?: NewFloatingUnitPrice.InvoicingCycleConfiguration | null;
|
|
3214
3654
|
|
|
3215
3655
|
/**
|
|
3216
3656
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -3284,7 +3724,7 @@ export declare namespace PriceCreateParams {
|
|
|
3284
3724
|
*/
|
|
3285
3725
|
name: string;
|
|
3286
3726
|
|
|
3287
|
-
package_config:
|
|
3727
|
+
package_config: NewFloatingPackagePrice.PackageConfig;
|
|
3288
3728
|
|
|
3289
3729
|
/**
|
|
3290
3730
|
* The id of the billable metric for the price. Only needed if the price is
|
|
@@ -3302,7 +3742,7 @@ export declare namespace PriceCreateParams {
|
|
|
3302
3742
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
3303
3743
|
* months.
|
|
3304
3744
|
*/
|
|
3305
|
-
billing_cycle_configuration?:
|
|
3745
|
+
billing_cycle_configuration?: NewFloatingPackagePrice.BillingCycleConfiguration | null;
|
|
3306
3746
|
|
|
3307
3747
|
/**
|
|
3308
3748
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -3329,7 +3769,7 @@ export declare namespace PriceCreateParams {
|
|
|
3329
3769
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3330
3770
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
3331
3771
|
*/
|
|
3332
|
-
invoicing_cycle_configuration?:
|
|
3772
|
+
invoicing_cycle_configuration?: NewFloatingPackagePrice.InvoicingCycleConfiguration | null;
|
|
3333
3773
|
|
|
3334
3774
|
/**
|
|
3335
3775
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -3402,7 +3842,7 @@ export declare namespace PriceCreateParams {
|
|
|
3402
3842
|
*/
|
|
3403
3843
|
item_id: string;
|
|
3404
3844
|
|
|
3405
|
-
matrix_config:
|
|
3845
|
+
matrix_config: NewFloatingMatrixPrice.MatrixConfig;
|
|
3406
3846
|
|
|
3407
3847
|
model_type: 'matrix';
|
|
3408
3848
|
|
|
@@ -3427,7 +3867,7 @@ export declare namespace PriceCreateParams {
|
|
|
3427
3867
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
3428
3868
|
* months.
|
|
3429
3869
|
*/
|
|
3430
|
-
billing_cycle_configuration?:
|
|
3870
|
+
billing_cycle_configuration?: NewFloatingMatrixPrice.BillingCycleConfiguration | null;
|
|
3431
3871
|
|
|
3432
3872
|
/**
|
|
3433
3873
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -3454,7 +3894,7 @@ export declare namespace PriceCreateParams {
|
|
|
3454
3894
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3455
3895
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
3456
3896
|
*/
|
|
3457
|
-
invoicing_cycle_configuration?:
|
|
3897
|
+
invoicing_cycle_configuration?: NewFloatingMatrixPrice.InvoicingCycleConfiguration | null;
|
|
3458
3898
|
|
|
3459
3899
|
/**
|
|
3460
3900
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -3547,7 +3987,7 @@ export declare namespace PriceCreateParams {
|
|
|
3547
3987
|
*/
|
|
3548
3988
|
item_id: string;
|
|
3549
3989
|
|
|
3550
|
-
matrix_with_allocation_config:
|
|
3990
|
+
matrix_with_allocation_config: NewFloatingMatrixWithAllocationPrice.MatrixWithAllocationConfig;
|
|
3551
3991
|
|
|
3552
3992
|
model_type: 'matrix_with_allocation';
|
|
3553
3993
|
|
|
@@ -3572,7 +4012,7 @@ export declare namespace PriceCreateParams {
|
|
|
3572
4012
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
3573
4013
|
* months.
|
|
3574
4014
|
*/
|
|
3575
|
-
billing_cycle_configuration?:
|
|
4015
|
+
billing_cycle_configuration?: NewFloatingMatrixWithAllocationPrice.BillingCycleConfiguration | null;
|
|
3576
4016
|
|
|
3577
4017
|
/**
|
|
3578
4018
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -3599,7 +4039,7 @@ export declare namespace PriceCreateParams {
|
|
|
3599
4039
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3600
4040
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
3601
4041
|
*/
|
|
3602
|
-
invoicing_cycle_configuration?:
|
|
4042
|
+
invoicing_cycle_configuration?: NewFloatingMatrixWithAllocationPrice.InvoicingCycleConfiguration | null;
|
|
3603
4043
|
|
|
3604
4044
|
/**
|
|
3605
4045
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -3704,7 +4144,7 @@ export declare namespace PriceCreateParams {
|
|
|
3704
4144
|
*/
|
|
3705
4145
|
name: string;
|
|
3706
4146
|
|
|
3707
|
-
tiered_config:
|
|
4147
|
+
tiered_config: NewFloatingTieredPrice.TieredConfig;
|
|
3708
4148
|
|
|
3709
4149
|
/**
|
|
3710
4150
|
* The id of the billable metric for the price. Only needed if the price is
|
|
@@ -3722,7 +4162,7 @@ export declare namespace PriceCreateParams {
|
|
|
3722
4162
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
3723
4163
|
* months.
|
|
3724
4164
|
*/
|
|
3725
|
-
billing_cycle_configuration?:
|
|
4165
|
+
billing_cycle_configuration?: NewFloatingTieredPrice.BillingCycleConfiguration | null;
|
|
3726
4166
|
|
|
3727
4167
|
/**
|
|
3728
4168
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -3749,7 +4189,7 @@ export declare namespace PriceCreateParams {
|
|
|
3749
4189
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3750
4190
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
3751
4191
|
*/
|
|
3752
|
-
invoicing_cycle_configuration?:
|
|
4192
|
+
invoicing_cycle_configuration?: NewFloatingTieredPrice.InvoicingCycleConfiguration | null;
|
|
3753
4193
|
|
|
3754
4194
|
/**
|
|
3755
4195
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -3842,7 +4282,7 @@ export declare namespace PriceCreateParams {
|
|
|
3842
4282
|
*/
|
|
3843
4283
|
name: string;
|
|
3844
4284
|
|
|
3845
|
-
tiered_bps_config:
|
|
4285
|
+
tiered_bps_config: NewFloatingTieredBpsPrice.TieredBpsConfig;
|
|
3846
4286
|
|
|
3847
4287
|
/**
|
|
3848
4288
|
* The id of the billable metric for the price. Only needed if the price is
|
|
@@ -3860,7 +4300,7 @@ export declare namespace PriceCreateParams {
|
|
|
3860
4300
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
3861
4301
|
* months.
|
|
3862
4302
|
*/
|
|
3863
|
-
billing_cycle_configuration?:
|
|
4303
|
+
billing_cycle_configuration?: NewFloatingTieredBpsPrice.BillingCycleConfiguration | null;
|
|
3864
4304
|
|
|
3865
4305
|
/**
|
|
3866
4306
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -3887,7 +4327,7 @@ export declare namespace PriceCreateParams {
|
|
|
3887
4327
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3888
4328
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
3889
4329
|
*/
|
|
3890
|
-
invoicing_cycle_configuration?:
|
|
4330
|
+
invoicing_cycle_configuration?: NewFloatingTieredBpsPrice.InvoicingCycleConfiguration | null;
|
|
3891
4331
|
|
|
3892
4332
|
/**
|
|
3893
4333
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -3964,7 +4404,7 @@ export declare namespace PriceCreateParams {
|
|
|
3964
4404
|
}
|
|
3965
4405
|
|
|
3966
4406
|
export interface NewFloatingBpsPrice {
|
|
3967
|
-
bps_config:
|
|
4407
|
+
bps_config: NewFloatingBpsPrice.BpsConfig;
|
|
3968
4408
|
|
|
3969
4409
|
/**
|
|
3970
4410
|
* The cadence to bill for this price on.
|
|
@@ -4004,7 +4444,7 @@ export declare namespace PriceCreateParams {
|
|
|
4004
4444
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
4005
4445
|
* months.
|
|
4006
4446
|
*/
|
|
4007
|
-
billing_cycle_configuration?:
|
|
4447
|
+
billing_cycle_configuration?: NewFloatingBpsPrice.BillingCycleConfiguration | null;
|
|
4008
4448
|
|
|
4009
4449
|
/**
|
|
4010
4450
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -4031,7 +4471,7 @@ export declare namespace PriceCreateParams {
|
|
|
4031
4471
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4032
4472
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
4033
4473
|
*/
|
|
4034
|
-
invoicing_cycle_configuration?:
|
|
4474
|
+
invoicing_cycle_configuration?: NewFloatingBpsPrice.InvoicingCycleConfiguration | null;
|
|
4035
4475
|
|
|
4036
4476
|
/**
|
|
4037
4477
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -4088,7 +4528,7 @@ export declare namespace PriceCreateParams {
|
|
|
4088
4528
|
}
|
|
4089
4529
|
|
|
4090
4530
|
export interface NewFloatingBulkBpsPrice {
|
|
4091
|
-
bulk_bps_config:
|
|
4531
|
+
bulk_bps_config: NewFloatingBulkBpsPrice.BulkBpsConfig;
|
|
4092
4532
|
|
|
4093
4533
|
/**
|
|
4094
4534
|
* The cadence to bill for this price on.
|
|
@@ -4128,7 +4568,7 @@ export declare namespace PriceCreateParams {
|
|
|
4128
4568
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
4129
4569
|
* months.
|
|
4130
4570
|
*/
|
|
4131
|
-
billing_cycle_configuration?:
|
|
4571
|
+
billing_cycle_configuration?: NewFloatingBulkBpsPrice.BillingCycleConfiguration | null;
|
|
4132
4572
|
|
|
4133
4573
|
/**
|
|
4134
4574
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -4155,7 +4595,7 @@ export declare namespace PriceCreateParams {
|
|
|
4155
4595
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4156
4596
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
4157
4597
|
*/
|
|
4158
|
-
invoicing_cycle_configuration?:
|
|
4598
|
+
invoicing_cycle_configuration?: NewFloatingBulkBpsPrice.InvoicingCycleConfiguration | null;
|
|
4159
4599
|
|
|
4160
4600
|
/**
|
|
4161
4601
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -4227,7 +4667,7 @@ export declare namespace PriceCreateParams {
|
|
|
4227
4667
|
}
|
|
4228
4668
|
|
|
4229
4669
|
export interface NewFloatingBulkPrice {
|
|
4230
|
-
bulk_config:
|
|
4670
|
+
bulk_config: NewFloatingBulkPrice.BulkConfig;
|
|
4231
4671
|
|
|
4232
4672
|
/**
|
|
4233
4673
|
* The cadence to bill for this price on.
|
|
@@ -4267,7 +4707,7 @@ export declare namespace PriceCreateParams {
|
|
|
4267
4707
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
4268
4708
|
* months.
|
|
4269
4709
|
*/
|
|
4270
|
-
billing_cycle_configuration?:
|
|
4710
|
+
billing_cycle_configuration?: NewFloatingBulkPrice.BillingCycleConfiguration | null;
|
|
4271
4711
|
|
|
4272
4712
|
/**
|
|
4273
4713
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -4294,7 +4734,7 @@ export declare namespace PriceCreateParams {
|
|
|
4294
4734
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4295
4735
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
4296
4736
|
*/
|
|
4297
|
-
invoicing_cycle_configuration?:
|
|
4737
|
+
invoicing_cycle_configuration?: NewFloatingBulkPrice.InvoicingCycleConfiguration | null;
|
|
4298
4738
|
|
|
4299
4739
|
/**
|
|
4300
4740
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -4400,7 +4840,7 @@ export declare namespace PriceCreateParams {
|
|
|
4400
4840
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
4401
4841
|
* months.
|
|
4402
4842
|
*/
|
|
4403
|
-
billing_cycle_configuration?:
|
|
4843
|
+
billing_cycle_configuration?: NewFloatingThresholdTotalAmountPrice.BillingCycleConfiguration | null;
|
|
4404
4844
|
|
|
4405
4845
|
/**
|
|
4406
4846
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -4427,7 +4867,7 @@ export declare namespace PriceCreateParams {
|
|
|
4427
4867
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4428
4868
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
4429
4869
|
*/
|
|
4430
|
-
invoicing_cycle_configuration?:
|
|
4870
|
+
invoicing_cycle_configuration?: NewFloatingThresholdTotalAmountPrice.InvoicingCycleConfiguration | null;
|
|
4431
4871
|
|
|
4432
4872
|
/**
|
|
4433
4873
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -4512,7 +4952,7 @@ export declare namespace PriceCreateParams {
|
|
|
4512
4952
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
4513
4953
|
* months.
|
|
4514
4954
|
*/
|
|
4515
|
-
billing_cycle_configuration?:
|
|
4955
|
+
billing_cycle_configuration?: NewFloatingTieredPackagePrice.BillingCycleConfiguration | null;
|
|
4516
4956
|
|
|
4517
4957
|
/**
|
|
4518
4958
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -4539,7 +4979,7 @@ export declare namespace PriceCreateParams {
|
|
|
4539
4979
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4540
4980
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
4541
4981
|
*/
|
|
4542
|
-
invoicing_cycle_configuration?:
|
|
4982
|
+
invoicing_cycle_configuration?: NewFloatingTieredPackagePrice.InvoicingCycleConfiguration | null;
|
|
4543
4983
|
|
|
4544
4984
|
/**
|
|
4545
4985
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -4624,7 +5064,7 @@ export declare namespace PriceCreateParams {
|
|
|
4624
5064
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
4625
5065
|
* months.
|
|
4626
5066
|
*/
|
|
4627
|
-
billing_cycle_configuration?:
|
|
5067
|
+
billing_cycle_configuration?: NewFloatingGroupedTieredPrice.BillingCycleConfiguration | null;
|
|
4628
5068
|
|
|
4629
5069
|
/**
|
|
4630
5070
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -4651,7 +5091,7 @@ export declare namespace PriceCreateParams {
|
|
|
4651
5091
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4652
5092
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
4653
5093
|
*/
|
|
4654
|
-
invoicing_cycle_configuration?:
|
|
5094
|
+
invoicing_cycle_configuration?: NewFloatingGroupedTieredPrice.InvoicingCycleConfiguration | null;
|
|
4655
5095
|
|
|
4656
5096
|
/**
|
|
4657
5097
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -4736,7 +5176,7 @@ export declare namespace PriceCreateParams {
|
|
|
4736
5176
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
4737
5177
|
* months.
|
|
4738
5178
|
*/
|
|
4739
|
-
billing_cycle_configuration?:
|
|
5179
|
+
billing_cycle_configuration?: NewFloatingMaxGroupTieredPackagePrice.BillingCycleConfiguration | null;
|
|
4740
5180
|
|
|
4741
5181
|
/**
|
|
4742
5182
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -4763,7 +5203,7 @@ export declare namespace PriceCreateParams {
|
|
|
4763
5203
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4764
5204
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
4765
5205
|
*/
|
|
4766
|
-
invoicing_cycle_configuration?:
|
|
5206
|
+
invoicing_cycle_configuration?: NewFloatingMaxGroupTieredPackagePrice.InvoicingCycleConfiguration | null;
|
|
4767
5207
|
|
|
4768
5208
|
/**
|
|
4769
5209
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -4848,7 +5288,7 @@ export declare namespace PriceCreateParams {
|
|
|
4848
5288
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
4849
5289
|
* months.
|
|
4850
5290
|
*/
|
|
4851
|
-
billing_cycle_configuration?:
|
|
5291
|
+
billing_cycle_configuration?: NewFloatingTieredWithMinimumPrice.BillingCycleConfiguration | null;
|
|
4852
5292
|
|
|
4853
5293
|
/**
|
|
4854
5294
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -4875,7 +5315,7 @@ export declare namespace PriceCreateParams {
|
|
|
4875
5315
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4876
5316
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
4877
5317
|
*/
|
|
4878
|
-
invoicing_cycle_configuration?:
|
|
5318
|
+
invoicing_cycle_configuration?: NewFloatingTieredWithMinimumPrice.InvoicingCycleConfiguration | null;
|
|
4879
5319
|
|
|
4880
5320
|
/**
|
|
4881
5321
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -4960,7 +5400,7 @@ export declare namespace PriceCreateParams {
|
|
|
4960
5400
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
4961
5401
|
* months.
|
|
4962
5402
|
*/
|
|
4963
|
-
billing_cycle_configuration?:
|
|
5403
|
+
billing_cycle_configuration?: NewFloatingPackageWithAllocationPrice.BillingCycleConfiguration | null;
|
|
4964
5404
|
|
|
4965
5405
|
/**
|
|
4966
5406
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -4987,7 +5427,7 @@ export declare namespace PriceCreateParams {
|
|
|
4987
5427
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4988
5428
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
4989
5429
|
*/
|
|
4990
|
-
invoicing_cycle_configuration?:
|
|
5430
|
+
invoicing_cycle_configuration?: NewFloatingPackageWithAllocationPrice.InvoicingCycleConfiguration | null;
|
|
4991
5431
|
|
|
4992
5432
|
/**
|
|
4993
5433
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -5072,7 +5512,7 @@ export declare namespace PriceCreateParams {
|
|
|
5072
5512
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
5073
5513
|
* months.
|
|
5074
5514
|
*/
|
|
5075
|
-
billing_cycle_configuration?:
|
|
5515
|
+
billing_cycle_configuration?: NewFloatingTieredPackageWithMinimumPrice.BillingCycleConfiguration | null;
|
|
5076
5516
|
|
|
5077
5517
|
/**
|
|
5078
5518
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -5099,7 +5539,7 @@ export declare namespace PriceCreateParams {
|
|
|
5099
5539
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5100
5540
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
5101
5541
|
*/
|
|
5102
|
-
invoicing_cycle_configuration?:
|
|
5542
|
+
invoicing_cycle_configuration?: NewFloatingTieredPackageWithMinimumPrice.InvoicingCycleConfiguration | null;
|
|
5103
5543
|
|
|
5104
5544
|
/**
|
|
5105
5545
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -5184,7 +5624,7 @@ export declare namespace PriceCreateParams {
|
|
|
5184
5624
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
5185
5625
|
* months.
|
|
5186
5626
|
*/
|
|
5187
|
-
billing_cycle_configuration?:
|
|
5627
|
+
billing_cycle_configuration?: NewFloatingUnitWithPercentPrice.BillingCycleConfiguration | null;
|
|
5188
5628
|
|
|
5189
5629
|
/**
|
|
5190
5630
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -5211,7 +5651,7 @@ export declare namespace PriceCreateParams {
|
|
|
5211
5651
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5212
5652
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
5213
5653
|
*/
|
|
5214
|
-
invoicing_cycle_configuration?:
|
|
5654
|
+
invoicing_cycle_configuration?: NewFloatingUnitWithPercentPrice.InvoicingCycleConfiguration | null;
|
|
5215
5655
|
|
|
5216
5656
|
/**
|
|
5217
5657
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -5296,7 +5736,7 @@ export declare namespace PriceCreateParams {
|
|
|
5296
5736
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
5297
5737
|
* months.
|
|
5298
5738
|
*/
|
|
5299
|
-
billing_cycle_configuration?:
|
|
5739
|
+
billing_cycle_configuration?: NewFloatingTieredWithProrationPrice.BillingCycleConfiguration | null;
|
|
5300
5740
|
|
|
5301
5741
|
/**
|
|
5302
5742
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -5323,7 +5763,7 @@ export declare namespace PriceCreateParams {
|
|
|
5323
5763
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5324
5764
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
5325
5765
|
*/
|
|
5326
|
-
invoicing_cycle_configuration?:
|
|
5766
|
+
invoicing_cycle_configuration?: NewFloatingTieredWithProrationPrice.InvoicingCycleConfiguration | null;
|
|
5327
5767
|
|
|
5328
5768
|
/**
|
|
5329
5769
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -5408,7 +5848,7 @@ export declare namespace PriceCreateParams {
|
|
|
5408
5848
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
5409
5849
|
* months.
|
|
5410
5850
|
*/
|
|
5411
|
-
billing_cycle_configuration?:
|
|
5851
|
+
billing_cycle_configuration?: NewFloatingUnitWithProrationPrice.BillingCycleConfiguration | null;
|
|
5412
5852
|
|
|
5413
5853
|
/**
|
|
5414
5854
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -5435,7 +5875,7 @@ export declare namespace PriceCreateParams {
|
|
|
5435
5875
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5436
5876
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
5437
5877
|
*/
|
|
5438
|
-
invoicing_cycle_configuration?:
|
|
5878
|
+
invoicing_cycle_configuration?: NewFloatingUnitWithProrationPrice.InvoicingCycleConfiguration | null;
|
|
5439
5879
|
|
|
5440
5880
|
/**
|
|
5441
5881
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -5520,7 +5960,7 @@ export declare namespace PriceCreateParams {
|
|
|
5520
5960
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
5521
5961
|
* months.
|
|
5522
5962
|
*/
|
|
5523
|
-
billing_cycle_configuration?:
|
|
5963
|
+
billing_cycle_configuration?: NewFloatingGroupedAllocationPrice.BillingCycleConfiguration | null;
|
|
5524
5964
|
|
|
5525
5965
|
/**
|
|
5526
5966
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -5547,7 +5987,7 @@ export declare namespace PriceCreateParams {
|
|
|
5547
5987
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5548
5988
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
5549
5989
|
*/
|
|
5550
|
-
invoicing_cycle_configuration?:
|
|
5990
|
+
invoicing_cycle_configuration?: NewFloatingGroupedAllocationPrice.InvoicingCycleConfiguration | null;
|
|
5551
5991
|
|
|
5552
5992
|
/**
|
|
5553
5993
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -5632,7 +6072,7 @@ export declare namespace PriceCreateParams {
|
|
|
5632
6072
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
5633
6073
|
* months.
|
|
5634
6074
|
*/
|
|
5635
|
-
billing_cycle_configuration?:
|
|
6075
|
+
billing_cycle_configuration?: NewFloatingGroupedWithProratedMinimumPrice.BillingCycleConfiguration | null;
|
|
5636
6076
|
|
|
5637
6077
|
/**
|
|
5638
6078
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -5659,7 +6099,7 @@ export declare namespace PriceCreateParams {
|
|
|
5659
6099
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5660
6100
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
5661
6101
|
*/
|
|
5662
|
-
invoicing_cycle_configuration?:
|
|
6102
|
+
invoicing_cycle_configuration?: NewFloatingGroupedWithProratedMinimumPrice.InvoicingCycleConfiguration | null;
|
|
5663
6103
|
|
|
5664
6104
|
/**
|
|
5665
6105
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -5744,7 +6184,7 @@ export declare namespace PriceCreateParams {
|
|
|
5744
6184
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
5745
6185
|
* months.
|
|
5746
6186
|
*/
|
|
5747
|
-
billing_cycle_configuration?:
|
|
6187
|
+
billing_cycle_configuration?: NewFloatingGroupedWithMeteredMinimumPrice.BillingCycleConfiguration | null;
|
|
5748
6188
|
|
|
5749
6189
|
/**
|
|
5750
6190
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -5771,7 +6211,7 @@ export declare namespace PriceCreateParams {
|
|
|
5771
6211
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5772
6212
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
5773
6213
|
*/
|
|
5774
|
-
invoicing_cycle_configuration?:
|
|
6214
|
+
invoicing_cycle_configuration?: NewFloatingGroupedWithMeteredMinimumPrice.InvoicingCycleConfiguration | null;
|
|
5775
6215
|
|
|
5776
6216
|
/**
|
|
5777
6217
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -5856,7 +6296,7 @@ export declare namespace PriceCreateParams {
|
|
|
5856
6296
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
5857
6297
|
* months.
|
|
5858
6298
|
*/
|
|
5859
|
-
billing_cycle_configuration?:
|
|
6299
|
+
billing_cycle_configuration?: NewFloatingMatrixWithDisplayNamePrice.BillingCycleConfiguration | null;
|
|
5860
6300
|
|
|
5861
6301
|
/**
|
|
5862
6302
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -5883,7 +6323,7 @@ export declare namespace PriceCreateParams {
|
|
|
5883
6323
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5884
6324
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
5885
6325
|
*/
|
|
5886
|
-
invoicing_cycle_configuration?:
|
|
6326
|
+
invoicing_cycle_configuration?: NewFloatingMatrixWithDisplayNamePrice.InvoicingCycleConfiguration | null;
|
|
5887
6327
|
|
|
5888
6328
|
/**
|
|
5889
6329
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -5968,7 +6408,7 @@ export declare namespace PriceCreateParams {
|
|
|
5968
6408
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
5969
6409
|
* months.
|
|
5970
6410
|
*/
|
|
5971
|
-
billing_cycle_configuration?:
|
|
6411
|
+
billing_cycle_configuration?: NewFloatingBulkWithProrationPrice.BillingCycleConfiguration | null;
|
|
5972
6412
|
|
|
5973
6413
|
/**
|
|
5974
6414
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -5995,7 +6435,7 @@ export declare namespace PriceCreateParams {
|
|
|
5995
6435
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5996
6436
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
5997
6437
|
*/
|
|
5998
|
-
invoicing_cycle_configuration?:
|
|
6438
|
+
invoicing_cycle_configuration?: NewFloatingBulkWithProrationPrice.InvoicingCycleConfiguration | null;
|
|
5999
6439
|
|
|
6000
6440
|
/**
|
|
6001
6441
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -6080,7 +6520,7 @@ export declare namespace PriceCreateParams {
|
|
|
6080
6520
|
* For custom cadence: specifies the duration of the billing period in days or
|
|
6081
6521
|
* months.
|
|
6082
6522
|
*/
|
|
6083
|
-
billing_cycle_configuration?:
|
|
6523
|
+
billing_cycle_configuration?: NewFloatingGroupedTieredPackagePrice.BillingCycleConfiguration | null;
|
|
6084
6524
|
|
|
6085
6525
|
/**
|
|
6086
6526
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
@@ -6107,7 +6547,7 @@ export declare namespace PriceCreateParams {
|
|
|
6107
6547
|
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
6108
6548
|
* If unspecified, a single invoice is produced per billing cycle.
|
|
6109
6549
|
*/
|
|
6110
|
-
invoicing_cycle_configuration?:
|
|
6550
|
+
invoicing_cycle_configuration?: NewFloatingGroupedTieredPackagePrice.InvoicingCycleConfiguration | null;
|
|
6111
6551
|
|
|
6112
6552
|
/**
|
|
6113
6553
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
@@ -6150,6 +6590,230 @@ export declare namespace PriceCreateParams {
|
|
|
6150
6590
|
duration_unit: 'day' | 'month';
|
|
6151
6591
|
}
|
|
6152
6592
|
}
|
|
6593
|
+
|
|
6594
|
+
export interface NewFloatingScalableMatrixWithUnitPricingPrice {
|
|
6595
|
+
/**
|
|
6596
|
+
* The cadence to bill for this price on.
|
|
6597
|
+
*/
|
|
6598
|
+
cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
|
|
6599
|
+
|
|
6600
|
+
/**
|
|
6601
|
+
* An ISO 4217 currency string for which this price is billed in.
|
|
6602
|
+
*/
|
|
6603
|
+
currency: string;
|
|
6604
|
+
|
|
6605
|
+
/**
|
|
6606
|
+
* The id of the item the plan will be associated with.
|
|
6607
|
+
*/
|
|
6608
|
+
item_id: string;
|
|
6609
|
+
|
|
6610
|
+
model_type: 'scalable_matrix_with_unit_pricing';
|
|
6611
|
+
|
|
6612
|
+
/**
|
|
6613
|
+
* The name of the price.
|
|
6614
|
+
*/
|
|
6615
|
+
name: string;
|
|
6616
|
+
|
|
6617
|
+
scalable_matrix_with_unit_pricing_config: Record<string, unknown>;
|
|
6618
|
+
|
|
6619
|
+
/**
|
|
6620
|
+
* The id of the billable metric for the price. Only needed if the price is
|
|
6621
|
+
* usage-based.
|
|
6622
|
+
*/
|
|
6623
|
+
billable_metric_id?: string | null;
|
|
6624
|
+
|
|
6625
|
+
/**
|
|
6626
|
+
* If the Price represents a fixed cost, the price will be billed in-advance if
|
|
6627
|
+
* this is true, and in-arrears if this is false.
|
|
6628
|
+
*/
|
|
6629
|
+
billed_in_advance?: boolean | null;
|
|
6630
|
+
|
|
6631
|
+
/**
|
|
6632
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
6633
|
+
* months.
|
|
6634
|
+
*/
|
|
6635
|
+
billing_cycle_configuration?: NewFloatingScalableMatrixWithUnitPricingPrice.BillingCycleConfiguration | null;
|
|
6636
|
+
|
|
6637
|
+
/**
|
|
6638
|
+
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
6639
|
+
*/
|
|
6640
|
+
conversion_rate?: number | null;
|
|
6641
|
+
|
|
6642
|
+
/**
|
|
6643
|
+
* An alias for the price.
|
|
6644
|
+
*/
|
|
6645
|
+
external_price_id?: string | null;
|
|
6646
|
+
|
|
6647
|
+
/**
|
|
6648
|
+
* If the Price represents a fixed cost, this represents the quantity of units
|
|
6649
|
+
* applied.
|
|
6650
|
+
*/
|
|
6651
|
+
fixed_price_quantity?: number | null;
|
|
6652
|
+
|
|
6653
|
+
/**
|
|
6654
|
+
* The property used to group this price on an invoice
|
|
6655
|
+
*/
|
|
6656
|
+
invoice_grouping_key?: string | null;
|
|
6657
|
+
|
|
6658
|
+
/**
|
|
6659
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
6660
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
6661
|
+
*/
|
|
6662
|
+
invoicing_cycle_configuration?: NewFloatingScalableMatrixWithUnitPricingPrice.InvoicingCycleConfiguration | null;
|
|
6663
|
+
|
|
6664
|
+
/**
|
|
6665
|
+
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
6666
|
+
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
6667
|
+
* by setting `metadata` to `null`.
|
|
6668
|
+
*/
|
|
6669
|
+
metadata?: Record<string, string | null> | null;
|
|
6670
|
+
}
|
|
6671
|
+
|
|
6672
|
+
export namespace NewFloatingScalableMatrixWithUnitPricingPrice {
|
|
6673
|
+
/**
|
|
6674
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
6675
|
+
* months.
|
|
6676
|
+
*/
|
|
6677
|
+
export interface BillingCycleConfiguration {
|
|
6678
|
+
/**
|
|
6679
|
+
* The duration of the billing period.
|
|
6680
|
+
*/
|
|
6681
|
+
duration: number;
|
|
6682
|
+
|
|
6683
|
+
/**
|
|
6684
|
+
* The unit of billing period duration.
|
|
6685
|
+
*/
|
|
6686
|
+
duration_unit: 'day' | 'month';
|
|
6687
|
+
}
|
|
6688
|
+
|
|
6689
|
+
/**
|
|
6690
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
6691
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
6692
|
+
*/
|
|
6693
|
+
export interface InvoicingCycleConfiguration {
|
|
6694
|
+
/**
|
|
6695
|
+
* The duration of the billing period.
|
|
6696
|
+
*/
|
|
6697
|
+
duration: number;
|
|
6698
|
+
|
|
6699
|
+
/**
|
|
6700
|
+
* The unit of billing period duration.
|
|
6701
|
+
*/
|
|
6702
|
+
duration_unit: 'day' | 'month';
|
|
6703
|
+
}
|
|
6704
|
+
}
|
|
6705
|
+
|
|
6706
|
+
export interface NewFloatingScalableMatrixWithTieredPricingPrice {
|
|
6707
|
+
/**
|
|
6708
|
+
* The cadence to bill for this price on.
|
|
6709
|
+
*/
|
|
6710
|
+
cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
|
|
6711
|
+
|
|
6712
|
+
/**
|
|
6713
|
+
* An ISO 4217 currency string for which this price is billed in.
|
|
6714
|
+
*/
|
|
6715
|
+
currency: string;
|
|
6716
|
+
|
|
6717
|
+
/**
|
|
6718
|
+
* The id of the item the plan will be associated with.
|
|
6719
|
+
*/
|
|
6720
|
+
item_id: string;
|
|
6721
|
+
|
|
6722
|
+
model_type: 'scalable_matrix_with_tiered_pricing';
|
|
6723
|
+
|
|
6724
|
+
/**
|
|
6725
|
+
* The name of the price.
|
|
6726
|
+
*/
|
|
6727
|
+
name: string;
|
|
6728
|
+
|
|
6729
|
+
scalable_matrix_with_tiered_pricing_config: Record<string, unknown>;
|
|
6730
|
+
|
|
6731
|
+
/**
|
|
6732
|
+
* The id of the billable metric for the price. Only needed if the price is
|
|
6733
|
+
* usage-based.
|
|
6734
|
+
*/
|
|
6735
|
+
billable_metric_id?: string | null;
|
|
6736
|
+
|
|
6737
|
+
/**
|
|
6738
|
+
* If the Price represents a fixed cost, the price will be billed in-advance if
|
|
6739
|
+
* this is true, and in-arrears if this is false.
|
|
6740
|
+
*/
|
|
6741
|
+
billed_in_advance?: boolean | null;
|
|
6742
|
+
|
|
6743
|
+
/**
|
|
6744
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
6745
|
+
* months.
|
|
6746
|
+
*/
|
|
6747
|
+
billing_cycle_configuration?: NewFloatingScalableMatrixWithTieredPricingPrice.BillingCycleConfiguration | null;
|
|
6748
|
+
|
|
6749
|
+
/**
|
|
6750
|
+
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
6751
|
+
*/
|
|
6752
|
+
conversion_rate?: number | null;
|
|
6753
|
+
|
|
6754
|
+
/**
|
|
6755
|
+
* An alias for the price.
|
|
6756
|
+
*/
|
|
6757
|
+
external_price_id?: string | null;
|
|
6758
|
+
|
|
6759
|
+
/**
|
|
6760
|
+
* If the Price represents a fixed cost, this represents the quantity of units
|
|
6761
|
+
* applied.
|
|
6762
|
+
*/
|
|
6763
|
+
fixed_price_quantity?: number | null;
|
|
6764
|
+
|
|
6765
|
+
/**
|
|
6766
|
+
* The property used to group this price on an invoice
|
|
6767
|
+
*/
|
|
6768
|
+
invoice_grouping_key?: string | null;
|
|
6769
|
+
|
|
6770
|
+
/**
|
|
6771
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
6772
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
6773
|
+
*/
|
|
6774
|
+
invoicing_cycle_configuration?: NewFloatingScalableMatrixWithTieredPricingPrice.InvoicingCycleConfiguration | null;
|
|
6775
|
+
|
|
6776
|
+
/**
|
|
6777
|
+
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
6778
|
+
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
6779
|
+
* by setting `metadata` to `null`.
|
|
6780
|
+
*/
|
|
6781
|
+
metadata?: Record<string, string | null> | null;
|
|
6782
|
+
}
|
|
6783
|
+
|
|
6784
|
+
export namespace NewFloatingScalableMatrixWithTieredPricingPrice {
|
|
6785
|
+
/**
|
|
6786
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
6787
|
+
* months.
|
|
6788
|
+
*/
|
|
6789
|
+
export interface BillingCycleConfiguration {
|
|
6790
|
+
/**
|
|
6791
|
+
* The duration of the billing period.
|
|
6792
|
+
*/
|
|
6793
|
+
duration: number;
|
|
6794
|
+
|
|
6795
|
+
/**
|
|
6796
|
+
* The unit of billing period duration.
|
|
6797
|
+
*/
|
|
6798
|
+
duration_unit: 'day' | 'month';
|
|
6799
|
+
}
|
|
6800
|
+
|
|
6801
|
+
/**
|
|
6802
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
6803
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
6804
|
+
*/
|
|
6805
|
+
export interface InvoicingCycleConfiguration {
|
|
6806
|
+
/**
|
|
6807
|
+
* The duration of the billing period.
|
|
6808
|
+
*/
|
|
6809
|
+
duration: number;
|
|
6810
|
+
|
|
6811
|
+
/**
|
|
6812
|
+
* The unit of billing period duration.
|
|
6813
|
+
*/
|
|
6814
|
+
duration_unit: 'day' | 'month';
|
|
6815
|
+
}
|
|
6816
|
+
}
|
|
6153
6817
|
}
|
|
6154
6818
|
|
|
6155
6819
|
export interface PriceUpdateParams {
|