orb-billing 4.10.0 → 4.11.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 +13 -0
- package/package.json +1 -1
- package/resources/plans/plans.d.ts +664 -0
- 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 +910 -28
- 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 +824 -0
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/subscriptions.js.map +1 -1
- package/resources/subscriptions.mjs.map +1 -1
- package/src/resources/plans/plans.ts +766 -0
- package/src/resources/prices/prices.ts +1087 -25
- package/src/resources/subscriptions.ts +959 -7
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -380,7 +380,7 @@ export namespace Price {
|
|
|
380
380
|
|
|
381
381
|
billable_metric: UnitPrice.BillableMetric | null;
|
|
382
382
|
|
|
383
|
-
billing_cycle_configuration: UnitPrice.BillingCycleConfiguration
|
|
383
|
+
billing_cycle_configuration: UnitPrice.BillingCycleConfiguration;
|
|
384
384
|
|
|
385
385
|
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
386
386
|
|
|
@@ -398,6 +398,8 @@ export namespace Price {
|
|
|
398
398
|
|
|
399
399
|
fixed_price_quantity: number | null;
|
|
400
400
|
|
|
401
|
+
invoicing_cycle_configuration: UnitPrice.InvoicingCycleConfiguration | null;
|
|
402
|
+
|
|
401
403
|
item: UnitPrice.Item;
|
|
402
404
|
|
|
403
405
|
maximum: UnitPrice.Maximum | null;
|
|
@@ -444,6 +446,12 @@ export namespace Price {
|
|
|
444
446
|
currency: string;
|
|
445
447
|
}
|
|
446
448
|
|
|
449
|
+
export interface InvoicingCycleConfiguration {
|
|
450
|
+
duration: number;
|
|
451
|
+
|
|
452
|
+
duration_unit: 'day' | 'month';
|
|
453
|
+
}
|
|
454
|
+
|
|
447
455
|
export interface Item {
|
|
448
456
|
id: string;
|
|
449
457
|
|
|
@@ -489,7 +497,7 @@ export namespace Price {
|
|
|
489
497
|
|
|
490
498
|
billable_metric: PackagePrice.BillableMetric | null;
|
|
491
499
|
|
|
492
|
-
billing_cycle_configuration: PackagePrice.BillingCycleConfiguration
|
|
500
|
+
billing_cycle_configuration: PackagePrice.BillingCycleConfiguration;
|
|
493
501
|
|
|
494
502
|
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
495
503
|
|
|
@@ -507,6 +515,8 @@ export namespace Price {
|
|
|
507
515
|
|
|
508
516
|
fixed_price_quantity: number | null;
|
|
509
517
|
|
|
518
|
+
invoicing_cycle_configuration: PackagePrice.InvoicingCycleConfiguration | null;
|
|
519
|
+
|
|
510
520
|
item: PackagePrice.Item;
|
|
511
521
|
|
|
512
522
|
maximum: PackagePrice.Maximum | null;
|
|
@@ -553,6 +563,12 @@ export namespace Price {
|
|
|
553
563
|
currency: string;
|
|
554
564
|
}
|
|
555
565
|
|
|
566
|
+
export interface InvoicingCycleConfiguration {
|
|
567
|
+
duration: number;
|
|
568
|
+
|
|
569
|
+
duration_unit: 'day' | 'month';
|
|
570
|
+
}
|
|
571
|
+
|
|
556
572
|
export interface Item {
|
|
557
573
|
id: string;
|
|
558
574
|
|
|
@@ -604,7 +620,7 @@ export namespace Price {
|
|
|
604
620
|
|
|
605
621
|
billable_metric: MatrixPrice.BillableMetric | null;
|
|
606
622
|
|
|
607
|
-
billing_cycle_configuration: MatrixPrice.BillingCycleConfiguration
|
|
623
|
+
billing_cycle_configuration: MatrixPrice.BillingCycleConfiguration;
|
|
608
624
|
|
|
609
625
|
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
610
626
|
|
|
@@ -622,6 +638,8 @@ export namespace Price {
|
|
|
622
638
|
|
|
623
639
|
fixed_price_quantity: number | null;
|
|
624
640
|
|
|
641
|
+
invoicing_cycle_configuration: MatrixPrice.InvoicingCycleConfiguration | null;
|
|
642
|
+
|
|
625
643
|
item: MatrixPrice.Item;
|
|
626
644
|
|
|
627
645
|
matrix_config: MatrixPrice.MatrixConfig;
|
|
@@ -668,6 +686,12 @@ export namespace Price {
|
|
|
668
686
|
currency: string;
|
|
669
687
|
}
|
|
670
688
|
|
|
689
|
+
export interface InvoicingCycleConfiguration {
|
|
690
|
+
duration: number;
|
|
691
|
+
|
|
692
|
+
duration_unit: 'day' | 'month';
|
|
693
|
+
}
|
|
694
|
+
|
|
671
695
|
export interface Item {
|
|
672
696
|
id: string;
|
|
673
697
|
|
|
@@ -739,7 +763,7 @@ export namespace Price {
|
|
|
739
763
|
|
|
740
764
|
billable_metric: TieredPrice.BillableMetric | null;
|
|
741
765
|
|
|
742
|
-
billing_cycle_configuration: TieredPrice.BillingCycleConfiguration
|
|
766
|
+
billing_cycle_configuration: TieredPrice.BillingCycleConfiguration;
|
|
743
767
|
|
|
744
768
|
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
745
769
|
|
|
@@ -757,6 +781,8 @@ export namespace Price {
|
|
|
757
781
|
|
|
758
782
|
fixed_price_quantity: number | null;
|
|
759
783
|
|
|
784
|
+
invoicing_cycle_configuration: TieredPrice.InvoicingCycleConfiguration | null;
|
|
785
|
+
|
|
760
786
|
item: TieredPrice.Item;
|
|
761
787
|
|
|
762
788
|
maximum: TieredPrice.Maximum | null;
|
|
@@ -803,6 +829,12 @@ export namespace Price {
|
|
|
803
829
|
currency: string;
|
|
804
830
|
}
|
|
805
831
|
|
|
832
|
+
export interface InvoicingCycleConfiguration {
|
|
833
|
+
duration: number;
|
|
834
|
+
|
|
835
|
+
duration_unit: 'day' | 'month';
|
|
836
|
+
}
|
|
837
|
+
|
|
806
838
|
export interface Item {
|
|
807
839
|
id: string;
|
|
808
840
|
|
|
@@ -867,7 +899,7 @@ export namespace Price {
|
|
|
867
899
|
|
|
868
900
|
billable_metric: TieredBpsPrice.BillableMetric | null;
|
|
869
901
|
|
|
870
|
-
billing_cycle_configuration: TieredBpsPrice.BillingCycleConfiguration
|
|
902
|
+
billing_cycle_configuration: TieredBpsPrice.BillingCycleConfiguration;
|
|
871
903
|
|
|
872
904
|
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
873
905
|
|
|
@@ -885,6 +917,8 @@ export namespace Price {
|
|
|
885
917
|
|
|
886
918
|
fixed_price_quantity: number | null;
|
|
887
919
|
|
|
920
|
+
invoicing_cycle_configuration: TieredBpsPrice.InvoicingCycleConfiguration | null;
|
|
921
|
+
|
|
888
922
|
item: TieredBpsPrice.Item;
|
|
889
923
|
|
|
890
924
|
maximum: TieredBpsPrice.Maximum | null;
|
|
@@ -931,6 +965,12 @@ export namespace Price {
|
|
|
931
965
|
currency: string;
|
|
932
966
|
}
|
|
933
967
|
|
|
968
|
+
export interface InvoicingCycleConfiguration {
|
|
969
|
+
duration: number;
|
|
970
|
+
|
|
971
|
+
duration_unit: 'day' | 'month';
|
|
972
|
+
}
|
|
973
|
+
|
|
934
974
|
export interface Item {
|
|
935
975
|
id: string;
|
|
936
976
|
|
|
@@ -1001,7 +1041,7 @@ export namespace Price {
|
|
|
1001
1041
|
|
|
1002
1042
|
billable_metric: BpsPrice.BillableMetric | null;
|
|
1003
1043
|
|
|
1004
|
-
billing_cycle_configuration: BpsPrice.BillingCycleConfiguration
|
|
1044
|
+
billing_cycle_configuration: BpsPrice.BillingCycleConfiguration;
|
|
1005
1045
|
|
|
1006
1046
|
bps_config: BpsPrice.BpsConfig;
|
|
1007
1047
|
|
|
@@ -1021,6 +1061,8 @@ export namespace Price {
|
|
|
1021
1061
|
|
|
1022
1062
|
fixed_price_quantity: number | null;
|
|
1023
1063
|
|
|
1064
|
+
invoicing_cycle_configuration: BpsPrice.InvoicingCycleConfiguration | null;
|
|
1065
|
+
|
|
1024
1066
|
item: BpsPrice.Item;
|
|
1025
1067
|
|
|
1026
1068
|
maximum: BpsPrice.Maximum | null;
|
|
@@ -1077,6 +1119,12 @@ export namespace Price {
|
|
|
1077
1119
|
currency: string;
|
|
1078
1120
|
}
|
|
1079
1121
|
|
|
1122
|
+
export interface InvoicingCycleConfiguration {
|
|
1123
|
+
duration: number;
|
|
1124
|
+
|
|
1125
|
+
duration_unit: 'day' | 'month';
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1080
1128
|
export interface Item {
|
|
1081
1129
|
id: string;
|
|
1082
1130
|
|
|
@@ -1115,7 +1163,7 @@ export namespace Price {
|
|
|
1115
1163
|
|
|
1116
1164
|
billable_metric: BulkBpsPrice.BillableMetric | null;
|
|
1117
1165
|
|
|
1118
|
-
billing_cycle_configuration: BulkBpsPrice.BillingCycleConfiguration
|
|
1166
|
+
billing_cycle_configuration: BulkBpsPrice.BillingCycleConfiguration;
|
|
1119
1167
|
|
|
1120
1168
|
bulk_bps_config: BulkBpsPrice.BulkBpsConfig;
|
|
1121
1169
|
|
|
@@ -1135,6 +1183,8 @@ export namespace Price {
|
|
|
1135
1183
|
|
|
1136
1184
|
fixed_price_quantity: number | null;
|
|
1137
1185
|
|
|
1186
|
+
invoicing_cycle_configuration: BulkBpsPrice.InvoicingCycleConfiguration | null;
|
|
1187
|
+
|
|
1138
1188
|
item: BulkBpsPrice.Item;
|
|
1139
1189
|
|
|
1140
1190
|
maximum: BulkBpsPrice.Maximum | null;
|
|
@@ -1206,6 +1256,12 @@ export namespace Price {
|
|
|
1206
1256
|
currency: string;
|
|
1207
1257
|
}
|
|
1208
1258
|
|
|
1259
|
+
export interface InvoicingCycleConfiguration {
|
|
1260
|
+
duration: number;
|
|
1261
|
+
|
|
1262
|
+
duration_unit: 'day' | 'month';
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1209
1265
|
export interface Item {
|
|
1210
1266
|
id: string;
|
|
1211
1267
|
|
|
@@ -1244,7 +1300,7 @@ export namespace Price {
|
|
|
1244
1300
|
|
|
1245
1301
|
billable_metric: BulkPrice.BillableMetric | null;
|
|
1246
1302
|
|
|
1247
|
-
billing_cycle_configuration: BulkPrice.BillingCycleConfiguration
|
|
1303
|
+
billing_cycle_configuration: BulkPrice.BillingCycleConfiguration;
|
|
1248
1304
|
|
|
1249
1305
|
bulk_config: BulkPrice.BulkConfig;
|
|
1250
1306
|
|
|
@@ -1264,6 +1320,8 @@ export namespace Price {
|
|
|
1264
1320
|
|
|
1265
1321
|
fixed_price_quantity: number | null;
|
|
1266
1322
|
|
|
1323
|
+
invoicing_cycle_configuration: BulkPrice.InvoicingCycleConfiguration | null;
|
|
1324
|
+
|
|
1267
1325
|
item: BulkPrice.Item;
|
|
1268
1326
|
|
|
1269
1327
|
maximum: BulkPrice.Maximum | null;
|
|
@@ -1329,6 +1387,12 @@ export namespace Price {
|
|
|
1329
1387
|
currency: string;
|
|
1330
1388
|
}
|
|
1331
1389
|
|
|
1390
|
+
export interface InvoicingCycleConfiguration {
|
|
1391
|
+
duration: number;
|
|
1392
|
+
|
|
1393
|
+
duration_unit: 'day' | 'month';
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1332
1396
|
export interface Item {
|
|
1333
1397
|
id: string;
|
|
1334
1398
|
|
|
@@ -1367,7 +1431,7 @@ export namespace Price {
|
|
|
1367
1431
|
|
|
1368
1432
|
billable_metric: ThresholdTotalAmountPrice.BillableMetric | null;
|
|
1369
1433
|
|
|
1370
|
-
billing_cycle_configuration: ThresholdTotalAmountPrice.BillingCycleConfiguration
|
|
1434
|
+
billing_cycle_configuration: ThresholdTotalAmountPrice.BillingCycleConfiguration;
|
|
1371
1435
|
|
|
1372
1436
|
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
1373
1437
|
|
|
@@ -1385,6 +1449,8 @@ export namespace Price {
|
|
|
1385
1449
|
|
|
1386
1450
|
fixed_price_quantity: number | null;
|
|
1387
1451
|
|
|
1452
|
+
invoicing_cycle_configuration: ThresholdTotalAmountPrice.InvoicingCycleConfiguration | null;
|
|
1453
|
+
|
|
1388
1454
|
item: ThresholdTotalAmountPrice.Item;
|
|
1389
1455
|
|
|
1390
1456
|
maximum: ThresholdTotalAmountPrice.Maximum | null;
|
|
@@ -1431,6 +1497,12 @@ export namespace Price {
|
|
|
1431
1497
|
currency: string;
|
|
1432
1498
|
}
|
|
1433
1499
|
|
|
1500
|
+
export interface InvoicingCycleConfiguration {
|
|
1501
|
+
duration: number;
|
|
1502
|
+
|
|
1503
|
+
duration_unit: 'day' | 'month';
|
|
1504
|
+
}
|
|
1505
|
+
|
|
1434
1506
|
export interface Item {
|
|
1435
1507
|
id: string;
|
|
1436
1508
|
|
|
@@ -1469,7 +1541,7 @@ export namespace Price {
|
|
|
1469
1541
|
|
|
1470
1542
|
billable_metric: TieredPackagePrice.BillableMetric | null;
|
|
1471
1543
|
|
|
1472
|
-
billing_cycle_configuration: TieredPackagePrice.BillingCycleConfiguration
|
|
1544
|
+
billing_cycle_configuration: TieredPackagePrice.BillingCycleConfiguration;
|
|
1473
1545
|
|
|
1474
1546
|
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
1475
1547
|
|
|
@@ -1487,6 +1559,8 @@ export namespace Price {
|
|
|
1487
1559
|
|
|
1488
1560
|
fixed_price_quantity: number | null;
|
|
1489
1561
|
|
|
1562
|
+
invoicing_cycle_configuration: TieredPackagePrice.InvoicingCycleConfiguration | null;
|
|
1563
|
+
|
|
1490
1564
|
item: TieredPackagePrice.Item;
|
|
1491
1565
|
|
|
1492
1566
|
maximum: TieredPackagePrice.Maximum | null;
|
|
@@ -1533,6 +1607,12 @@ export namespace Price {
|
|
|
1533
1607
|
currency: string;
|
|
1534
1608
|
}
|
|
1535
1609
|
|
|
1610
|
+
export interface InvoicingCycleConfiguration {
|
|
1611
|
+
duration: number;
|
|
1612
|
+
|
|
1613
|
+
duration_unit: 'day' | 'month';
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1536
1616
|
export interface Item {
|
|
1537
1617
|
id: string;
|
|
1538
1618
|
|
|
@@ -1571,7 +1651,7 @@ export namespace Price {
|
|
|
1571
1651
|
|
|
1572
1652
|
billable_metric: GroupedTieredPrice.BillableMetric | null;
|
|
1573
1653
|
|
|
1574
|
-
billing_cycle_configuration: GroupedTieredPrice.BillingCycleConfiguration
|
|
1654
|
+
billing_cycle_configuration: GroupedTieredPrice.BillingCycleConfiguration;
|
|
1575
1655
|
|
|
1576
1656
|
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
1577
1657
|
|
|
@@ -1591,6 +1671,8 @@ export namespace Price {
|
|
|
1591
1671
|
|
|
1592
1672
|
grouped_tiered_config: Record<string, unknown>;
|
|
1593
1673
|
|
|
1674
|
+
invoicing_cycle_configuration: GroupedTieredPrice.InvoicingCycleConfiguration | null;
|
|
1675
|
+
|
|
1594
1676
|
item: GroupedTieredPrice.Item;
|
|
1595
1677
|
|
|
1596
1678
|
maximum: GroupedTieredPrice.Maximum | null;
|
|
@@ -1635,6 +1717,12 @@ export namespace Price {
|
|
|
1635
1717
|
currency: string;
|
|
1636
1718
|
}
|
|
1637
1719
|
|
|
1720
|
+
export interface InvoicingCycleConfiguration {
|
|
1721
|
+
duration: number;
|
|
1722
|
+
|
|
1723
|
+
duration_unit: 'day' | 'month';
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1638
1726
|
export interface Item {
|
|
1639
1727
|
id: string;
|
|
1640
1728
|
|
|
@@ -1673,7 +1761,7 @@ export namespace Price {
|
|
|
1673
1761
|
|
|
1674
1762
|
billable_metric: TieredWithMinimumPrice.BillableMetric | null;
|
|
1675
1763
|
|
|
1676
|
-
billing_cycle_configuration: TieredWithMinimumPrice.BillingCycleConfiguration
|
|
1764
|
+
billing_cycle_configuration: TieredWithMinimumPrice.BillingCycleConfiguration;
|
|
1677
1765
|
|
|
1678
1766
|
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
1679
1767
|
|
|
@@ -1691,6 +1779,8 @@ export namespace Price {
|
|
|
1691
1779
|
|
|
1692
1780
|
fixed_price_quantity: number | null;
|
|
1693
1781
|
|
|
1782
|
+
invoicing_cycle_configuration: TieredWithMinimumPrice.InvoicingCycleConfiguration | null;
|
|
1783
|
+
|
|
1694
1784
|
item: TieredWithMinimumPrice.Item;
|
|
1695
1785
|
|
|
1696
1786
|
maximum: TieredWithMinimumPrice.Maximum | null;
|
|
@@ -1737,6 +1827,12 @@ export namespace Price {
|
|
|
1737
1827
|
currency: string;
|
|
1738
1828
|
}
|
|
1739
1829
|
|
|
1830
|
+
export interface InvoicingCycleConfiguration {
|
|
1831
|
+
duration: number;
|
|
1832
|
+
|
|
1833
|
+
duration_unit: 'day' | 'month';
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1740
1836
|
export interface Item {
|
|
1741
1837
|
id: string;
|
|
1742
1838
|
|
|
@@ -1775,7 +1871,7 @@ export namespace Price {
|
|
|
1775
1871
|
|
|
1776
1872
|
billable_metric: TieredPackageWithMinimumPrice.BillableMetric | null;
|
|
1777
1873
|
|
|
1778
|
-
billing_cycle_configuration: TieredPackageWithMinimumPrice.BillingCycleConfiguration
|
|
1874
|
+
billing_cycle_configuration: TieredPackageWithMinimumPrice.BillingCycleConfiguration;
|
|
1779
1875
|
|
|
1780
1876
|
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
1781
1877
|
|
|
@@ -1793,6 +1889,8 @@ export namespace Price {
|
|
|
1793
1889
|
|
|
1794
1890
|
fixed_price_quantity: number | null;
|
|
1795
1891
|
|
|
1892
|
+
invoicing_cycle_configuration: TieredPackageWithMinimumPrice.InvoicingCycleConfiguration | null;
|
|
1893
|
+
|
|
1796
1894
|
item: TieredPackageWithMinimumPrice.Item;
|
|
1797
1895
|
|
|
1798
1896
|
maximum: TieredPackageWithMinimumPrice.Maximum | null;
|
|
@@ -1839,6 +1937,12 @@ export namespace Price {
|
|
|
1839
1937
|
currency: string;
|
|
1840
1938
|
}
|
|
1841
1939
|
|
|
1940
|
+
export interface InvoicingCycleConfiguration {
|
|
1941
|
+
duration: number;
|
|
1942
|
+
|
|
1943
|
+
duration_unit: 'day' | 'month';
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1842
1946
|
export interface Item {
|
|
1843
1947
|
id: string;
|
|
1844
1948
|
|
|
@@ -1877,7 +1981,7 @@ export namespace Price {
|
|
|
1877
1981
|
|
|
1878
1982
|
billable_metric: PackageWithAllocationPrice.BillableMetric | null;
|
|
1879
1983
|
|
|
1880
|
-
billing_cycle_configuration: PackageWithAllocationPrice.BillingCycleConfiguration
|
|
1984
|
+
billing_cycle_configuration: PackageWithAllocationPrice.BillingCycleConfiguration;
|
|
1881
1985
|
|
|
1882
1986
|
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
1883
1987
|
|
|
@@ -1895,6 +1999,8 @@ export namespace Price {
|
|
|
1895
1999
|
|
|
1896
2000
|
fixed_price_quantity: number | null;
|
|
1897
2001
|
|
|
2002
|
+
invoicing_cycle_configuration: PackageWithAllocationPrice.InvoicingCycleConfiguration | null;
|
|
2003
|
+
|
|
1898
2004
|
item: PackageWithAllocationPrice.Item;
|
|
1899
2005
|
|
|
1900
2006
|
maximum: PackageWithAllocationPrice.Maximum | null;
|
|
@@ -1941,6 +2047,12 @@ export namespace Price {
|
|
|
1941
2047
|
currency: string;
|
|
1942
2048
|
}
|
|
1943
2049
|
|
|
2050
|
+
export interface InvoicingCycleConfiguration {
|
|
2051
|
+
duration: number;
|
|
2052
|
+
|
|
2053
|
+
duration_unit: 'day' | 'month';
|
|
2054
|
+
}
|
|
2055
|
+
|
|
1944
2056
|
export interface Item {
|
|
1945
2057
|
id: string;
|
|
1946
2058
|
|
|
@@ -1979,7 +2091,7 @@ export namespace Price {
|
|
|
1979
2091
|
|
|
1980
2092
|
billable_metric: UnitWithPercentPrice.BillableMetric | null;
|
|
1981
2093
|
|
|
1982
|
-
billing_cycle_configuration: UnitWithPercentPrice.BillingCycleConfiguration
|
|
2094
|
+
billing_cycle_configuration: UnitWithPercentPrice.BillingCycleConfiguration;
|
|
1983
2095
|
|
|
1984
2096
|
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
1985
2097
|
|
|
@@ -1997,6 +2109,8 @@ export namespace Price {
|
|
|
1997
2109
|
|
|
1998
2110
|
fixed_price_quantity: number | null;
|
|
1999
2111
|
|
|
2112
|
+
invoicing_cycle_configuration: UnitWithPercentPrice.InvoicingCycleConfiguration | null;
|
|
2113
|
+
|
|
2000
2114
|
item: UnitWithPercentPrice.Item;
|
|
2001
2115
|
|
|
2002
2116
|
maximum: UnitWithPercentPrice.Maximum | null;
|
|
@@ -2043,6 +2157,12 @@ export namespace Price {
|
|
|
2043
2157
|
currency: string;
|
|
2044
2158
|
}
|
|
2045
2159
|
|
|
2160
|
+
export interface InvoicingCycleConfiguration {
|
|
2161
|
+
duration: number;
|
|
2162
|
+
|
|
2163
|
+
duration_unit: 'day' | 'month';
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2046
2166
|
export interface Item {
|
|
2047
2167
|
id: string;
|
|
2048
2168
|
|
|
@@ -2081,7 +2201,7 @@ export namespace Price {
|
|
|
2081
2201
|
|
|
2082
2202
|
billable_metric: MatrixWithAllocationPrice.BillableMetric | null;
|
|
2083
2203
|
|
|
2084
|
-
billing_cycle_configuration: MatrixWithAllocationPrice.BillingCycleConfiguration
|
|
2204
|
+
billing_cycle_configuration: MatrixWithAllocationPrice.BillingCycleConfiguration;
|
|
2085
2205
|
|
|
2086
2206
|
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
2087
2207
|
|
|
@@ -2099,6 +2219,8 @@ export namespace Price {
|
|
|
2099
2219
|
|
|
2100
2220
|
fixed_price_quantity: number | null;
|
|
2101
2221
|
|
|
2222
|
+
invoicing_cycle_configuration: MatrixWithAllocationPrice.InvoicingCycleConfiguration | null;
|
|
2223
|
+
|
|
2102
2224
|
item: MatrixWithAllocationPrice.Item;
|
|
2103
2225
|
|
|
2104
2226
|
matrix_with_allocation_config: MatrixWithAllocationPrice.MatrixWithAllocationConfig;
|
|
@@ -2145,6 +2267,12 @@ export namespace Price {
|
|
|
2145
2267
|
currency: string;
|
|
2146
2268
|
}
|
|
2147
2269
|
|
|
2270
|
+
export interface InvoicingCycleConfiguration {
|
|
2271
|
+
duration: number;
|
|
2272
|
+
|
|
2273
|
+
duration_unit: 'day' | 'month';
|
|
2274
|
+
}
|
|
2275
|
+
|
|
2148
2276
|
export interface Item {
|
|
2149
2277
|
id: string;
|
|
2150
2278
|
|
|
@@ -2221,7 +2349,7 @@ export namespace Price {
|
|
|
2221
2349
|
|
|
2222
2350
|
billable_metric: TieredWithProrationPrice.BillableMetric | null;
|
|
2223
2351
|
|
|
2224
|
-
billing_cycle_configuration: TieredWithProrationPrice.BillingCycleConfiguration
|
|
2352
|
+
billing_cycle_configuration: TieredWithProrationPrice.BillingCycleConfiguration;
|
|
2225
2353
|
|
|
2226
2354
|
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
2227
2355
|
|
|
@@ -2239,6 +2367,8 @@ export namespace Price {
|
|
|
2239
2367
|
|
|
2240
2368
|
fixed_price_quantity: number | null;
|
|
2241
2369
|
|
|
2370
|
+
invoicing_cycle_configuration: TieredWithProrationPrice.InvoicingCycleConfiguration | null;
|
|
2371
|
+
|
|
2242
2372
|
item: TieredWithProrationPrice.Item;
|
|
2243
2373
|
|
|
2244
2374
|
maximum: TieredWithProrationPrice.Maximum | null;
|
|
@@ -2285,6 +2415,12 @@ export namespace Price {
|
|
|
2285
2415
|
currency: string;
|
|
2286
2416
|
}
|
|
2287
2417
|
|
|
2418
|
+
export interface InvoicingCycleConfiguration {
|
|
2419
|
+
duration: number;
|
|
2420
|
+
|
|
2421
|
+
duration_unit: 'day' | 'month';
|
|
2422
|
+
}
|
|
2423
|
+
|
|
2288
2424
|
export interface Item {
|
|
2289
2425
|
id: string;
|
|
2290
2426
|
|
|
@@ -2323,7 +2459,7 @@ export namespace Price {
|
|
|
2323
2459
|
|
|
2324
2460
|
billable_metric: UnitWithProrationPrice.BillableMetric | null;
|
|
2325
2461
|
|
|
2326
|
-
billing_cycle_configuration: UnitWithProrationPrice.BillingCycleConfiguration
|
|
2462
|
+
billing_cycle_configuration: UnitWithProrationPrice.BillingCycleConfiguration;
|
|
2327
2463
|
|
|
2328
2464
|
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
2329
2465
|
|
|
@@ -2341,6 +2477,8 @@ export namespace Price {
|
|
|
2341
2477
|
|
|
2342
2478
|
fixed_price_quantity: number | null;
|
|
2343
2479
|
|
|
2480
|
+
invoicing_cycle_configuration: UnitWithProrationPrice.InvoicingCycleConfiguration | null;
|
|
2481
|
+
|
|
2344
2482
|
item: UnitWithProrationPrice.Item;
|
|
2345
2483
|
|
|
2346
2484
|
maximum: UnitWithProrationPrice.Maximum | null;
|
|
@@ -2387,6 +2525,12 @@ export namespace Price {
|
|
|
2387
2525
|
currency: string;
|
|
2388
2526
|
}
|
|
2389
2527
|
|
|
2528
|
+
export interface InvoicingCycleConfiguration {
|
|
2529
|
+
duration: number;
|
|
2530
|
+
|
|
2531
|
+
duration_unit: 'day' | 'month';
|
|
2532
|
+
}
|
|
2533
|
+
|
|
2390
2534
|
export interface Item {
|
|
2391
2535
|
id: string;
|
|
2392
2536
|
|
|
@@ -2425,7 +2569,7 @@ export namespace Price {
|
|
|
2425
2569
|
|
|
2426
2570
|
billable_metric: GroupedAllocationPrice.BillableMetric | null;
|
|
2427
2571
|
|
|
2428
|
-
billing_cycle_configuration: GroupedAllocationPrice.BillingCycleConfiguration
|
|
2572
|
+
billing_cycle_configuration: GroupedAllocationPrice.BillingCycleConfiguration;
|
|
2429
2573
|
|
|
2430
2574
|
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
2431
2575
|
|
|
@@ -2445,6 +2589,8 @@ export namespace Price {
|
|
|
2445
2589
|
|
|
2446
2590
|
grouped_allocation_config: Record<string, unknown>;
|
|
2447
2591
|
|
|
2592
|
+
invoicing_cycle_configuration: GroupedAllocationPrice.InvoicingCycleConfiguration | null;
|
|
2593
|
+
|
|
2448
2594
|
item: GroupedAllocationPrice.Item;
|
|
2449
2595
|
|
|
2450
2596
|
maximum: GroupedAllocationPrice.Maximum | null;
|
|
@@ -2489,6 +2635,12 @@ export namespace Price {
|
|
|
2489
2635
|
currency: string;
|
|
2490
2636
|
}
|
|
2491
2637
|
|
|
2638
|
+
export interface InvoicingCycleConfiguration {
|
|
2639
|
+
duration: number;
|
|
2640
|
+
|
|
2641
|
+
duration_unit: 'day' | 'month';
|
|
2642
|
+
}
|
|
2643
|
+
|
|
2492
2644
|
export interface Item {
|
|
2493
2645
|
id: string;
|
|
2494
2646
|
|
|
@@ -2527,7 +2679,7 @@ export namespace Price {
|
|
|
2527
2679
|
|
|
2528
2680
|
billable_metric: BulkWithProrationPrice.BillableMetric | null;
|
|
2529
2681
|
|
|
2530
|
-
billing_cycle_configuration: BulkWithProrationPrice.BillingCycleConfiguration
|
|
2682
|
+
billing_cycle_configuration: BulkWithProrationPrice.BillingCycleConfiguration;
|
|
2531
2683
|
|
|
2532
2684
|
bulk_with_proration_config: Record<string, unknown>;
|
|
2533
2685
|
|
|
@@ -2547,6 +2699,8 @@ export namespace Price {
|
|
|
2547
2699
|
|
|
2548
2700
|
fixed_price_quantity: number | null;
|
|
2549
2701
|
|
|
2702
|
+
invoicing_cycle_configuration: BulkWithProrationPrice.InvoicingCycleConfiguration | null;
|
|
2703
|
+
|
|
2550
2704
|
item: BulkWithProrationPrice.Item;
|
|
2551
2705
|
|
|
2552
2706
|
maximum: BulkWithProrationPrice.Maximum | null;
|
|
@@ -2591,6 +2745,12 @@ export namespace Price {
|
|
|
2591
2745
|
currency: string;
|
|
2592
2746
|
}
|
|
2593
2747
|
|
|
2748
|
+
export interface InvoicingCycleConfiguration {
|
|
2749
|
+
duration: number;
|
|
2750
|
+
|
|
2751
|
+
duration_unit: 'day' | 'month';
|
|
2752
|
+
}
|
|
2753
|
+
|
|
2594
2754
|
export interface Item {
|
|
2595
2755
|
id: string;
|
|
2596
2756
|
|
|
@@ -2689,6 +2849,12 @@ export namespace PriceCreateParams {
|
|
|
2689
2849
|
*/
|
|
2690
2850
|
billed_in_advance?: boolean | null;
|
|
2691
2851
|
|
|
2852
|
+
/**
|
|
2853
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
2854
|
+
* months.
|
|
2855
|
+
*/
|
|
2856
|
+
billing_cycle_configuration?: PriceCreateParams.NewFloatingUnitPrice.BillingCycleConfiguration | null;
|
|
2857
|
+
|
|
2692
2858
|
/**
|
|
2693
2859
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
2694
2860
|
*/
|
|
@@ -2710,6 +2876,12 @@ export namespace PriceCreateParams {
|
|
|
2710
2876
|
*/
|
|
2711
2877
|
invoice_grouping_key?: string | null;
|
|
2712
2878
|
|
|
2879
|
+
/**
|
|
2880
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
2881
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
2882
|
+
*/
|
|
2883
|
+
invoicing_cycle_configuration?: PriceCreateParams.NewFloatingUnitPrice.InvoicingCycleConfiguration | null;
|
|
2884
|
+
|
|
2713
2885
|
/**
|
|
2714
2886
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
2715
2887
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -2725,6 +2897,38 @@ export namespace PriceCreateParams {
|
|
|
2725
2897
|
*/
|
|
2726
2898
|
unit_amount: string;
|
|
2727
2899
|
}
|
|
2900
|
+
|
|
2901
|
+
/**
|
|
2902
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
2903
|
+
* months.
|
|
2904
|
+
*/
|
|
2905
|
+
export interface BillingCycleConfiguration {
|
|
2906
|
+
/**
|
|
2907
|
+
* The duration of the billing period.
|
|
2908
|
+
*/
|
|
2909
|
+
duration: number;
|
|
2910
|
+
|
|
2911
|
+
/**
|
|
2912
|
+
* The unit of billing period duration.
|
|
2913
|
+
*/
|
|
2914
|
+
duration_unit: 'day' | 'month';
|
|
2915
|
+
}
|
|
2916
|
+
|
|
2917
|
+
/**
|
|
2918
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
2919
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
2920
|
+
*/
|
|
2921
|
+
export interface InvoicingCycleConfiguration {
|
|
2922
|
+
/**
|
|
2923
|
+
* The duration of the billing period.
|
|
2924
|
+
*/
|
|
2925
|
+
duration: number;
|
|
2926
|
+
|
|
2927
|
+
/**
|
|
2928
|
+
* The unit of billing period duration.
|
|
2929
|
+
*/
|
|
2930
|
+
duration_unit: 'day' | 'month';
|
|
2931
|
+
}
|
|
2728
2932
|
}
|
|
2729
2933
|
|
|
2730
2934
|
export interface NewFloatingPackagePrice {
|
|
@@ -2764,6 +2968,12 @@ export namespace PriceCreateParams {
|
|
|
2764
2968
|
*/
|
|
2765
2969
|
billed_in_advance?: boolean | null;
|
|
2766
2970
|
|
|
2971
|
+
/**
|
|
2972
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
2973
|
+
* months.
|
|
2974
|
+
*/
|
|
2975
|
+
billing_cycle_configuration?: PriceCreateParams.NewFloatingPackagePrice.BillingCycleConfiguration | null;
|
|
2976
|
+
|
|
2767
2977
|
/**
|
|
2768
2978
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
2769
2979
|
*/
|
|
@@ -2785,6 +2995,12 @@ export namespace PriceCreateParams {
|
|
|
2785
2995
|
*/
|
|
2786
2996
|
invoice_grouping_key?: string | null;
|
|
2787
2997
|
|
|
2998
|
+
/**
|
|
2999
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3000
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
3001
|
+
*/
|
|
3002
|
+
invoicing_cycle_configuration?: PriceCreateParams.NewFloatingPackagePrice.InvoicingCycleConfiguration | null;
|
|
3003
|
+
|
|
2788
3004
|
/**
|
|
2789
3005
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
2790
3006
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -2806,6 +3022,38 @@ export namespace PriceCreateParams {
|
|
|
2806
3022
|
*/
|
|
2807
3023
|
package_size: number;
|
|
2808
3024
|
}
|
|
3025
|
+
|
|
3026
|
+
/**
|
|
3027
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
3028
|
+
* months.
|
|
3029
|
+
*/
|
|
3030
|
+
export interface BillingCycleConfiguration {
|
|
3031
|
+
/**
|
|
3032
|
+
* The duration of the billing period.
|
|
3033
|
+
*/
|
|
3034
|
+
duration: number;
|
|
3035
|
+
|
|
3036
|
+
/**
|
|
3037
|
+
* The unit of billing period duration.
|
|
3038
|
+
*/
|
|
3039
|
+
duration_unit: 'day' | 'month';
|
|
3040
|
+
}
|
|
3041
|
+
|
|
3042
|
+
/**
|
|
3043
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3044
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
3045
|
+
*/
|
|
3046
|
+
export interface InvoicingCycleConfiguration {
|
|
3047
|
+
/**
|
|
3048
|
+
* The duration of the billing period.
|
|
3049
|
+
*/
|
|
3050
|
+
duration: number;
|
|
3051
|
+
|
|
3052
|
+
/**
|
|
3053
|
+
* The unit of billing period duration.
|
|
3054
|
+
*/
|
|
3055
|
+
duration_unit: 'day' | 'month';
|
|
3056
|
+
}
|
|
2809
3057
|
}
|
|
2810
3058
|
|
|
2811
3059
|
export interface NewFloatingMatrixPrice {
|
|
@@ -2845,6 +3093,12 @@ export namespace PriceCreateParams {
|
|
|
2845
3093
|
*/
|
|
2846
3094
|
billed_in_advance?: boolean | null;
|
|
2847
3095
|
|
|
3096
|
+
/**
|
|
3097
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
3098
|
+
* months.
|
|
3099
|
+
*/
|
|
3100
|
+
billing_cycle_configuration?: PriceCreateParams.NewFloatingMatrixPrice.BillingCycleConfiguration | null;
|
|
3101
|
+
|
|
2848
3102
|
/**
|
|
2849
3103
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
2850
3104
|
*/
|
|
@@ -2866,6 +3120,12 @@ export namespace PriceCreateParams {
|
|
|
2866
3120
|
*/
|
|
2867
3121
|
invoice_grouping_key?: string | null;
|
|
2868
3122
|
|
|
3123
|
+
/**
|
|
3124
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3125
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
3126
|
+
*/
|
|
3127
|
+
invoicing_cycle_configuration?: PriceCreateParams.NewFloatingMatrixPrice.InvoicingCycleConfiguration | null;
|
|
3128
|
+
|
|
2869
3129
|
/**
|
|
2870
3130
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
2871
3131
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -2907,6 +3167,38 @@ export namespace PriceCreateParams {
|
|
|
2907
3167
|
unit_amount: string;
|
|
2908
3168
|
}
|
|
2909
3169
|
}
|
|
3170
|
+
|
|
3171
|
+
/**
|
|
3172
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
3173
|
+
* months.
|
|
3174
|
+
*/
|
|
3175
|
+
export interface BillingCycleConfiguration {
|
|
3176
|
+
/**
|
|
3177
|
+
* The duration of the billing period.
|
|
3178
|
+
*/
|
|
3179
|
+
duration: number;
|
|
3180
|
+
|
|
3181
|
+
/**
|
|
3182
|
+
* The unit of billing period duration.
|
|
3183
|
+
*/
|
|
3184
|
+
duration_unit: 'day' | 'month';
|
|
3185
|
+
}
|
|
3186
|
+
|
|
3187
|
+
/**
|
|
3188
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3189
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
3190
|
+
*/
|
|
3191
|
+
export interface InvoicingCycleConfiguration {
|
|
3192
|
+
/**
|
|
3193
|
+
* The duration of the billing period.
|
|
3194
|
+
*/
|
|
3195
|
+
duration: number;
|
|
3196
|
+
|
|
3197
|
+
/**
|
|
3198
|
+
* The unit of billing period duration.
|
|
3199
|
+
*/
|
|
3200
|
+
duration_unit: 'day' | 'month';
|
|
3201
|
+
}
|
|
2910
3202
|
}
|
|
2911
3203
|
|
|
2912
3204
|
export interface NewFloatingMatrixWithAllocationPrice {
|
|
@@ -2946,6 +3238,12 @@ export namespace PriceCreateParams {
|
|
|
2946
3238
|
*/
|
|
2947
3239
|
billed_in_advance?: boolean | null;
|
|
2948
3240
|
|
|
3241
|
+
/**
|
|
3242
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
3243
|
+
* months.
|
|
3244
|
+
*/
|
|
3245
|
+
billing_cycle_configuration?: PriceCreateParams.NewFloatingMatrixWithAllocationPrice.BillingCycleConfiguration | null;
|
|
3246
|
+
|
|
2949
3247
|
/**
|
|
2950
3248
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
2951
3249
|
*/
|
|
@@ -2967,6 +3265,12 @@ export namespace PriceCreateParams {
|
|
|
2967
3265
|
*/
|
|
2968
3266
|
invoice_grouping_key?: string | null;
|
|
2969
3267
|
|
|
3268
|
+
/**
|
|
3269
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3270
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
3271
|
+
*/
|
|
3272
|
+
invoicing_cycle_configuration?: PriceCreateParams.NewFloatingMatrixWithAllocationPrice.InvoicingCycleConfiguration | null;
|
|
3273
|
+
|
|
2970
3274
|
/**
|
|
2971
3275
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
2972
3276
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3013,6 +3317,38 @@ export namespace PriceCreateParams {
|
|
|
3013
3317
|
unit_amount: string;
|
|
3014
3318
|
}
|
|
3015
3319
|
}
|
|
3320
|
+
|
|
3321
|
+
/**
|
|
3322
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
3323
|
+
* months.
|
|
3324
|
+
*/
|
|
3325
|
+
export interface BillingCycleConfiguration {
|
|
3326
|
+
/**
|
|
3327
|
+
* The duration of the billing period.
|
|
3328
|
+
*/
|
|
3329
|
+
duration: number;
|
|
3330
|
+
|
|
3331
|
+
/**
|
|
3332
|
+
* The unit of billing period duration.
|
|
3333
|
+
*/
|
|
3334
|
+
duration_unit: 'day' | 'month';
|
|
3335
|
+
}
|
|
3336
|
+
|
|
3337
|
+
/**
|
|
3338
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3339
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
3340
|
+
*/
|
|
3341
|
+
export interface InvoicingCycleConfiguration {
|
|
3342
|
+
/**
|
|
3343
|
+
* The duration of the billing period.
|
|
3344
|
+
*/
|
|
3345
|
+
duration: number;
|
|
3346
|
+
|
|
3347
|
+
/**
|
|
3348
|
+
* The unit of billing period duration.
|
|
3349
|
+
*/
|
|
3350
|
+
duration_unit: 'day' | 'month';
|
|
3351
|
+
}
|
|
3016
3352
|
}
|
|
3017
3353
|
|
|
3018
3354
|
export interface NewFloatingTieredPrice {
|
|
@@ -3052,6 +3388,12 @@ export namespace PriceCreateParams {
|
|
|
3052
3388
|
*/
|
|
3053
3389
|
billed_in_advance?: boolean | null;
|
|
3054
3390
|
|
|
3391
|
+
/**
|
|
3392
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
3393
|
+
* months.
|
|
3394
|
+
*/
|
|
3395
|
+
billing_cycle_configuration?: PriceCreateParams.NewFloatingTieredPrice.BillingCycleConfiguration | null;
|
|
3396
|
+
|
|
3055
3397
|
/**
|
|
3056
3398
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
3057
3399
|
*/
|
|
@@ -3073,6 +3415,12 @@ export namespace PriceCreateParams {
|
|
|
3073
3415
|
*/
|
|
3074
3416
|
invoice_grouping_key?: string | null;
|
|
3075
3417
|
|
|
3418
|
+
/**
|
|
3419
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3420
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
3421
|
+
*/
|
|
3422
|
+
invoicing_cycle_configuration?: PriceCreateParams.NewFloatingTieredPrice.InvoicingCycleConfiguration | null;
|
|
3423
|
+
|
|
3076
3424
|
/**
|
|
3077
3425
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3078
3426
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3107,16 +3455,48 @@ export namespace PriceCreateParams {
|
|
|
3107
3455
|
last_unit?: number | null;
|
|
3108
3456
|
}
|
|
3109
3457
|
}
|
|
3110
|
-
}
|
|
3111
3458
|
|
|
3112
|
-
export interface NewFloatingTieredBpsPrice {
|
|
3113
3459
|
/**
|
|
3114
|
-
*
|
|
3460
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
3461
|
+
* months.
|
|
3115
3462
|
*/
|
|
3116
|
-
|
|
3463
|
+
export interface BillingCycleConfiguration {
|
|
3464
|
+
/**
|
|
3465
|
+
* The duration of the billing period.
|
|
3466
|
+
*/
|
|
3467
|
+
duration: number;
|
|
3468
|
+
|
|
3469
|
+
/**
|
|
3470
|
+
* The unit of billing period duration.
|
|
3471
|
+
*/
|
|
3472
|
+
duration_unit: 'day' | 'month';
|
|
3473
|
+
}
|
|
3117
3474
|
|
|
3118
3475
|
/**
|
|
3119
|
-
*
|
|
3476
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3477
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
3478
|
+
*/
|
|
3479
|
+
export interface InvoicingCycleConfiguration {
|
|
3480
|
+
/**
|
|
3481
|
+
* The duration of the billing period.
|
|
3482
|
+
*/
|
|
3483
|
+
duration: number;
|
|
3484
|
+
|
|
3485
|
+
/**
|
|
3486
|
+
* The unit of billing period duration.
|
|
3487
|
+
*/
|
|
3488
|
+
duration_unit: 'day' | 'month';
|
|
3489
|
+
}
|
|
3490
|
+
}
|
|
3491
|
+
|
|
3492
|
+
export interface NewFloatingTieredBpsPrice {
|
|
3493
|
+
/**
|
|
3494
|
+
* The cadence to bill for this price on.
|
|
3495
|
+
*/
|
|
3496
|
+
cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
|
|
3497
|
+
|
|
3498
|
+
/**
|
|
3499
|
+
* An ISO 4217 currency string for which this price is billed in.
|
|
3120
3500
|
*/
|
|
3121
3501
|
currency: string;
|
|
3122
3502
|
|
|
@@ -3146,6 +3526,12 @@ export namespace PriceCreateParams {
|
|
|
3146
3526
|
*/
|
|
3147
3527
|
billed_in_advance?: boolean | null;
|
|
3148
3528
|
|
|
3529
|
+
/**
|
|
3530
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
3531
|
+
* months.
|
|
3532
|
+
*/
|
|
3533
|
+
billing_cycle_configuration?: PriceCreateParams.NewFloatingTieredBpsPrice.BillingCycleConfiguration | null;
|
|
3534
|
+
|
|
3149
3535
|
/**
|
|
3150
3536
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
3151
3537
|
*/
|
|
@@ -3167,6 +3553,12 @@ export namespace PriceCreateParams {
|
|
|
3167
3553
|
*/
|
|
3168
3554
|
invoice_grouping_key?: string | null;
|
|
3169
3555
|
|
|
3556
|
+
/**
|
|
3557
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3558
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
3559
|
+
*/
|
|
3560
|
+
invoicing_cycle_configuration?: PriceCreateParams.NewFloatingTieredBpsPrice.InvoicingCycleConfiguration | null;
|
|
3561
|
+
|
|
3170
3562
|
/**
|
|
3171
3563
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3172
3564
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3207,6 +3599,38 @@ export namespace PriceCreateParams {
|
|
|
3207
3599
|
per_unit_maximum?: string | null;
|
|
3208
3600
|
}
|
|
3209
3601
|
}
|
|
3602
|
+
|
|
3603
|
+
/**
|
|
3604
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
3605
|
+
* months.
|
|
3606
|
+
*/
|
|
3607
|
+
export interface BillingCycleConfiguration {
|
|
3608
|
+
/**
|
|
3609
|
+
* The duration of the billing period.
|
|
3610
|
+
*/
|
|
3611
|
+
duration: number;
|
|
3612
|
+
|
|
3613
|
+
/**
|
|
3614
|
+
* The unit of billing period duration.
|
|
3615
|
+
*/
|
|
3616
|
+
duration_unit: 'day' | 'month';
|
|
3617
|
+
}
|
|
3618
|
+
|
|
3619
|
+
/**
|
|
3620
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3621
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
3622
|
+
*/
|
|
3623
|
+
export interface InvoicingCycleConfiguration {
|
|
3624
|
+
/**
|
|
3625
|
+
* The duration of the billing period.
|
|
3626
|
+
*/
|
|
3627
|
+
duration: number;
|
|
3628
|
+
|
|
3629
|
+
/**
|
|
3630
|
+
* The unit of billing period duration.
|
|
3631
|
+
*/
|
|
3632
|
+
duration_unit: 'day' | 'month';
|
|
3633
|
+
}
|
|
3210
3634
|
}
|
|
3211
3635
|
|
|
3212
3636
|
export interface NewFloatingBpsPrice {
|
|
@@ -3246,6 +3670,12 @@ export namespace PriceCreateParams {
|
|
|
3246
3670
|
*/
|
|
3247
3671
|
billed_in_advance?: boolean | null;
|
|
3248
3672
|
|
|
3673
|
+
/**
|
|
3674
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
3675
|
+
* months.
|
|
3676
|
+
*/
|
|
3677
|
+
billing_cycle_configuration?: PriceCreateParams.NewFloatingBpsPrice.BillingCycleConfiguration | null;
|
|
3678
|
+
|
|
3249
3679
|
/**
|
|
3250
3680
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
3251
3681
|
*/
|
|
@@ -3267,6 +3697,12 @@ export namespace PriceCreateParams {
|
|
|
3267
3697
|
*/
|
|
3268
3698
|
invoice_grouping_key?: string | null;
|
|
3269
3699
|
|
|
3700
|
+
/**
|
|
3701
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3702
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
3703
|
+
*/
|
|
3704
|
+
invoicing_cycle_configuration?: PriceCreateParams.NewFloatingBpsPrice.InvoicingCycleConfiguration | null;
|
|
3705
|
+
|
|
3270
3706
|
/**
|
|
3271
3707
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3272
3708
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3287,6 +3723,38 @@ export namespace PriceCreateParams {
|
|
|
3287
3723
|
*/
|
|
3288
3724
|
per_unit_maximum?: string | null;
|
|
3289
3725
|
}
|
|
3726
|
+
|
|
3727
|
+
/**
|
|
3728
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
3729
|
+
* months.
|
|
3730
|
+
*/
|
|
3731
|
+
export interface BillingCycleConfiguration {
|
|
3732
|
+
/**
|
|
3733
|
+
* The duration of the billing period.
|
|
3734
|
+
*/
|
|
3735
|
+
duration: number;
|
|
3736
|
+
|
|
3737
|
+
/**
|
|
3738
|
+
* The unit of billing period duration.
|
|
3739
|
+
*/
|
|
3740
|
+
duration_unit: 'day' | 'month';
|
|
3741
|
+
}
|
|
3742
|
+
|
|
3743
|
+
/**
|
|
3744
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3745
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
3746
|
+
*/
|
|
3747
|
+
export interface InvoicingCycleConfiguration {
|
|
3748
|
+
/**
|
|
3749
|
+
* The duration of the billing period.
|
|
3750
|
+
*/
|
|
3751
|
+
duration: number;
|
|
3752
|
+
|
|
3753
|
+
/**
|
|
3754
|
+
* The unit of billing period duration.
|
|
3755
|
+
*/
|
|
3756
|
+
duration_unit: 'day' | 'month';
|
|
3757
|
+
}
|
|
3290
3758
|
}
|
|
3291
3759
|
|
|
3292
3760
|
export interface NewFloatingBulkBpsPrice {
|
|
@@ -3326,6 +3794,12 @@ export namespace PriceCreateParams {
|
|
|
3326
3794
|
*/
|
|
3327
3795
|
billed_in_advance?: boolean | null;
|
|
3328
3796
|
|
|
3797
|
+
/**
|
|
3798
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
3799
|
+
* months.
|
|
3800
|
+
*/
|
|
3801
|
+
billing_cycle_configuration?: PriceCreateParams.NewFloatingBulkBpsPrice.BillingCycleConfiguration | null;
|
|
3802
|
+
|
|
3329
3803
|
/**
|
|
3330
3804
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
3331
3805
|
*/
|
|
@@ -3347,6 +3821,12 @@ export namespace PriceCreateParams {
|
|
|
3347
3821
|
*/
|
|
3348
3822
|
invoice_grouping_key?: string | null;
|
|
3349
3823
|
|
|
3824
|
+
/**
|
|
3825
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3826
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
3827
|
+
*/
|
|
3828
|
+
invoicing_cycle_configuration?: PriceCreateParams.NewFloatingBulkBpsPrice.InvoicingCycleConfiguration | null;
|
|
3829
|
+
|
|
3350
3830
|
/**
|
|
3351
3831
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3352
3832
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3382,6 +3862,38 @@ export namespace PriceCreateParams {
|
|
|
3382
3862
|
per_unit_maximum?: string | null;
|
|
3383
3863
|
}
|
|
3384
3864
|
}
|
|
3865
|
+
|
|
3866
|
+
/**
|
|
3867
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
3868
|
+
* months.
|
|
3869
|
+
*/
|
|
3870
|
+
export interface BillingCycleConfiguration {
|
|
3871
|
+
/**
|
|
3872
|
+
* The duration of the billing period.
|
|
3873
|
+
*/
|
|
3874
|
+
duration: number;
|
|
3875
|
+
|
|
3876
|
+
/**
|
|
3877
|
+
* The unit of billing period duration.
|
|
3878
|
+
*/
|
|
3879
|
+
duration_unit: 'day' | 'month';
|
|
3880
|
+
}
|
|
3881
|
+
|
|
3882
|
+
/**
|
|
3883
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3884
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
3885
|
+
*/
|
|
3886
|
+
export interface InvoicingCycleConfiguration {
|
|
3887
|
+
/**
|
|
3888
|
+
* The duration of the billing period.
|
|
3889
|
+
*/
|
|
3890
|
+
duration: number;
|
|
3891
|
+
|
|
3892
|
+
/**
|
|
3893
|
+
* The unit of billing period duration.
|
|
3894
|
+
*/
|
|
3895
|
+
duration_unit: 'day' | 'month';
|
|
3896
|
+
}
|
|
3385
3897
|
}
|
|
3386
3898
|
|
|
3387
3899
|
export interface NewFloatingBulkPrice {
|
|
@@ -3421,6 +3933,12 @@ export namespace PriceCreateParams {
|
|
|
3421
3933
|
*/
|
|
3422
3934
|
billed_in_advance?: boolean | null;
|
|
3423
3935
|
|
|
3936
|
+
/**
|
|
3937
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
3938
|
+
* months.
|
|
3939
|
+
*/
|
|
3940
|
+
billing_cycle_configuration?: PriceCreateParams.NewFloatingBulkPrice.BillingCycleConfiguration | null;
|
|
3941
|
+
|
|
3424
3942
|
/**
|
|
3425
3943
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
3426
3944
|
*/
|
|
@@ -3442,6 +3960,12 @@ export namespace PriceCreateParams {
|
|
|
3442
3960
|
*/
|
|
3443
3961
|
invoice_grouping_key?: string | null;
|
|
3444
3962
|
|
|
3963
|
+
/**
|
|
3964
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
3965
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
3966
|
+
*/
|
|
3967
|
+
invoicing_cycle_configuration?: PriceCreateParams.NewFloatingBulkPrice.InvoicingCycleConfiguration | null;
|
|
3968
|
+
|
|
3445
3969
|
/**
|
|
3446
3970
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3447
3971
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3471,6 +3995,38 @@ export namespace PriceCreateParams {
|
|
|
3471
3995
|
maximum_units?: number | null;
|
|
3472
3996
|
}
|
|
3473
3997
|
}
|
|
3998
|
+
|
|
3999
|
+
/**
|
|
4000
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4001
|
+
* months.
|
|
4002
|
+
*/
|
|
4003
|
+
export interface BillingCycleConfiguration {
|
|
4004
|
+
/**
|
|
4005
|
+
* The duration of the billing period.
|
|
4006
|
+
*/
|
|
4007
|
+
duration: number;
|
|
4008
|
+
|
|
4009
|
+
/**
|
|
4010
|
+
* The unit of billing period duration.
|
|
4011
|
+
*/
|
|
4012
|
+
duration_unit: 'day' | 'month';
|
|
4013
|
+
}
|
|
4014
|
+
|
|
4015
|
+
/**
|
|
4016
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4017
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4018
|
+
*/
|
|
4019
|
+
export interface InvoicingCycleConfiguration {
|
|
4020
|
+
/**
|
|
4021
|
+
* The duration of the billing period.
|
|
4022
|
+
*/
|
|
4023
|
+
duration: number;
|
|
4024
|
+
|
|
4025
|
+
/**
|
|
4026
|
+
* The unit of billing period duration.
|
|
4027
|
+
*/
|
|
4028
|
+
duration_unit: 'day' | 'month';
|
|
4029
|
+
}
|
|
3474
4030
|
}
|
|
3475
4031
|
|
|
3476
4032
|
export interface NewFloatingThresholdTotalAmountPrice {
|
|
@@ -3510,6 +4066,12 @@ export namespace PriceCreateParams {
|
|
|
3510
4066
|
*/
|
|
3511
4067
|
billed_in_advance?: boolean | null;
|
|
3512
4068
|
|
|
4069
|
+
/**
|
|
4070
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4071
|
+
* months.
|
|
4072
|
+
*/
|
|
4073
|
+
billing_cycle_configuration?: PriceCreateParams.NewFloatingThresholdTotalAmountPrice.BillingCycleConfiguration | null;
|
|
4074
|
+
|
|
3513
4075
|
/**
|
|
3514
4076
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
3515
4077
|
*/
|
|
@@ -3531,6 +4093,12 @@ export namespace PriceCreateParams {
|
|
|
3531
4093
|
*/
|
|
3532
4094
|
invoice_grouping_key?: string | null;
|
|
3533
4095
|
|
|
4096
|
+
/**
|
|
4097
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4098
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4099
|
+
*/
|
|
4100
|
+
invoicing_cycle_configuration?: PriceCreateParams.NewFloatingThresholdTotalAmountPrice.InvoicingCycleConfiguration | null;
|
|
4101
|
+
|
|
3534
4102
|
/**
|
|
3535
4103
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3536
4104
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3539,6 +4107,40 @@ export namespace PriceCreateParams {
|
|
|
3539
4107
|
metadata?: Record<string, string | null> | null;
|
|
3540
4108
|
}
|
|
3541
4109
|
|
|
4110
|
+
export namespace NewFloatingThresholdTotalAmountPrice {
|
|
4111
|
+
/**
|
|
4112
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4113
|
+
* months.
|
|
4114
|
+
*/
|
|
4115
|
+
export interface BillingCycleConfiguration {
|
|
4116
|
+
/**
|
|
4117
|
+
* The duration of the billing period.
|
|
4118
|
+
*/
|
|
4119
|
+
duration: number;
|
|
4120
|
+
|
|
4121
|
+
/**
|
|
4122
|
+
* The unit of billing period duration.
|
|
4123
|
+
*/
|
|
4124
|
+
duration_unit: 'day' | 'month';
|
|
4125
|
+
}
|
|
4126
|
+
|
|
4127
|
+
/**
|
|
4128
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4129
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4130
|
+
*/
|
|
4131
|
+
export interface InvoicingCycleConfiguration {
|
|
4132
|
+
/**
|
|
4133
|
+
* The duration of the billing period.
|
|
4134
|
+
*/
|
|
4135
|
+
duration: number;
|
|
4136
|
+
|
|
4137
|
+
/**
|
|
4138
|
+
* The unit of billing period duration.
|
|
4139
|
+
*/
|
|
4140
|
+
duration_unit: 'day' | 'month';
|
|
4141
|
+
}
|
|
4142
|
+
}
|
|
4143
|
+
|
|
3542
4144
|
export interface NewFloatingTieredPackagePrice {
|
|
3543
4145
|
/**
|
|
3544
4146
|
* The cadence to bill for this price on.
|
|
@@ -3576,6 +4178,12 @@ export namespace PriceCreateParams {
|
|
|
3576
4178
|
*/
|
|
3577
4179
|
billed_in_advance?: boolean | null;
|
|
3578
4180
|
|
|
4181
|
+
/**
|
|
4182
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4183
|
+
* months.
|
|
4184
|
+
*/
|
|
4185
|
+
billing_cycle_configuration?: PriceCreateParams.NewFloatingTieredPackagePrice.BillingCycleConfiguration | null;
|
|
4186
|
+
|
|
3579
4187
|
/**
|
|
3580
4188
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
3581
4189
|
*/
|
|
@@ -3597,6 +4205,12 @@ export namespace PriceCreateParams {
|
|
|
3597
4205
|
*/
|
|
3598
4206
|
invoice_grouping_key?: string | null;
|
|
3599
4207
|
|
|
4208
|
+
/**
|
|
4209
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4210
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4211
|
+
*/
|
|
4212
|
+
invoicing_cycle_configuration?: PriceCreateParams.NewFloatingTieredPackagePrice.InvoicingCycleConfiguration | null;
|
|
4213
|
+
|
|
3600
4214
|
/**
|
|
3601
4215
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3602
4216
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3605,6 +4219,40 @@ export namespace PriceCreateParams {
|
|
|
3605
4219
|
metadata?: Record<string, string | null> | null;
|
|
3606
4220
|
}
|
|
3607
4221
|
|
|
4222
|
+
export namespace NewFloatingTieredPackagePrice {
|
|
4223
|
+
/**
|
|
4224
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4225
|
+
* months.
|
|
4226
|
+
*/
|
|
4227
|
+
export interface BillingCycleConfiguration {
|
|
4228
|
+
/**
|
|
4229
|
+
* The duration of the billing period.
|
|
4230
|
+
*/
|
|
4231
|
+
duration: number;
|
|
4232
|
+
|
|
4233
|
+
/**
|
|
4234
|
+
* The unit of billing period duration.
|
|
4235
|
+
*/
|
|
4236
|
+
duration_unit: 'day' | 'month';
|
|
4237
|
+
}
|
|
4238
|
+
|
|
4239
|
+
/**
|
|
4240
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4241
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4242
|
+
*/
|
|
4243
|
+
export interface InvoicingCycleConfiguration {
|
|
4244
|
+
/**
|
|
4245
|
+
* The duration of the billing period.
|
|
4246
|
+
*/
|
|
4247
|
+
duration: number;
|
|
4248
|
+
|
|
4249
|
+
/**
|
|
4250
|
+
* The unit of billing period duration.
|
|
4251
|
+
*/
|
|
4252
|
+
duration_unit: 'day' | 'month';
|
|
4253
|
+
}
|
|
4254
|
+
}
|
|
4255
|
+
|
|
3608
4256
|
export interface NewFloatingGroupedTieredPrice {
|
|
3609
4257
|
/**
|
|
3610
4258
|
* The cadence to bill for this price on.
|
|
@@ -3642,6 +4290,12 @@ export namespace PriceCreateParams {
|
|
|
3642
4290
|
*/
|
|
3643
4291
|
billed_in_advance?: boolean | null;
|
|
3644
4292
|
|
|
4293
|
+
/**
|
|
4294
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4295
|
+
* months.
|
|
4296
|
+
*/
|
|
4297
|
+
billing_cycle_configuration?: PriceCreateParams.NewFloatingGroupedTieredPrice.BillingCycleConfiguration | null;
|
|
4298
|
+
|
|
3645
4299
|
/**
|
|
3646
4300
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
3647
4301
|
*/
|
|
@@ -3663,6 +4317,12 @@ export namespace PriceCreateParams {
|
|
|
3663
4317
|
*/
|
|
3664
4318
|
invoice_grouping_key?: string | null;
|
|
3665
4319
|
|
|
4320
|
+
/**
|
|
4321
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4322
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4323
|
+
*/
|
|
4324
|
+
invoicing_cycle_configuration?: PriceCreateParams.NewFloatingGroupedTieredPrice.InvoicingCycleConfiguration | null;
|
|
4325
|
+
|
|
3666
4326
|
/**
|
|
3667
4327
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3668
4328
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3671,6 +4331,40 @@ export namespace PriceCreateParams {
|
|
|
3671
4331
|
metadata?: Record<string, string | null> | null;
|
|
3672
4332
|
}
|
|
3673
4333
|
|
|
4334
|
+
export namespace NewFloatingGroupedTieredPrice {
|
|
4335
|
+
/**
|
|
4336
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4337
|
+
* months.
|
|
4338
|
+
*/
|
|
4339
|
+
export interface BillingCycleConfiguration {
|
|
4340
|
+
/**
|
|
4341
|
+
* The duration of the billing period.
|
|
4342
|
+
*/
|
|
4343
|
+
duration: number;
|
|
4344
|
+
|
|
4345
|
+
/**
|
|
4346
|
+
* The unit of billing period duration.
|
|
4347
|
+
*/
|
|
4348
|
+
duration_unit: 'day' | 'month';
|
|
4349
|
+
}
|
|
4350
|
+
|
|
4351
|
+
/**
|
|
4352
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4353
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4354
|
+
*/
|
|
4355
|
+
export interface InvoicingCycleConfiguration {
|
|
4356
|
+
/**
|
|
4357
|
+
* The duration of the billing period.
|
|
4358
|
+
*/
|
|
4359
|
+
duration: number;
|
|
4360
|
+
|
|
4361
|
+
/**
|
|
4362
|
+
* The unit of billing period duration.
|
|
4363
|
+
*/
|
|
4364
|
+
duration_unit: 'day' | 'month';
|
|
4365
|
+
}
|
|
4366
|
+
}
|
|
4367
|
+
|
|
3674
4368
|
export interface NewFloatingTieredWithMinimumPrice {
|
|
3675
4369
|
/**
|
|
3676
4370
|
* The cadence to bill for this price on.
|
|
@@ -3708,6 +4402,12 @@ export namespace PriceCreateParams {
|
|
|
3708
4402
|
*/
|
|
3709
4403
|
billed_in_advance?: boolean | null;
|
|
3710
4404
|
|
|
4405
|
+
/**
|
|
4406
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4407
|
+
* months.
|
|
4408
|
+
*/
|
|
4409
|
+
billing_cycle_configuration?: PriceCreateParams.NewFloatingTieredWithMinimumPrice.BillingCycleConfiguration | null;
|
|
4410
|
+
|
|
3711
4411
|
/**
|
|
3712
4412
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
3713
4413
|
*/
|
|
@@ -3729,6 +4429,12 @@ export namespace PriceCreateParams {
|
|
|
3729
4429
|
*/
|
|
3730
4430
|
invoice_grouping_key?: string | null;
|
|
3731
4431
|
|
|
4432
|
+
/**
|
|
4433
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4434
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4435
|
+
*/
|
|
4436
|
+
invoicing_cycle_configuration?: PriceCreateParams.NewFloatingTieredWithMinimumPrice.InvoicingCycleConfiguration | null;
|
|
4437
|
+
|
|
3732
4438
|
/**
|
|
3733
4439
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3734
4440
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3737,6 +4443,40 @@ export namespace PriceCreateParams {
|
|
|
3737
4443
|
metadata?: Record<string, string | null> | null;
|
|
3738
4444
|
}
|
|
3739
4445
|
|
|
4446
|
+
export namespace NewFloatingTieredWithMinimumPrice {
|
|
4447
|
+
/**
|
|
4448
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4449
|
+
* months.
|
|
4450
|
+
*/
|
|
4451
|
+
export interface BillingCycleConfiguration {
|
|
4452
|
+
/**
|
|
4453
|
+
* The duration of the billing period.
|
|
4454
|
+
*/
|
|
4455
|
+
duration: number;
|
|
4456
|
+
|
|
4457
|
+
/**
|
|
4458
|
+
* The unit of billing period duration.
|
|
4459
|
+
*/
|
|
4460
|
+
duration_unit: 'day' | 'month';
|
|
4461
|
+
}
|
|
4462
|
+
|
|
4463
|
+
/**
|
|
4464
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4465
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4466
|
+
*/
|
|
4467
|
+
export interface InvoicingCycleConfiguration {
|
|
4468
|
+
/**
|
|
4469
|
+
* The duration of the billing period.
|
|
4470
|
+
*/
|
|
4471
|
+
duration: number;
|
|
4472
|
+
|
|
4473
|
+
/**
|
|
4474
|
+
* The unit of billing period duration.
|
|
4475
|
+
*/
|
|
4476
|
+
duration_unit: 'day' | 'month';
|
|
4477
|
+
}
|
|
4478
|
+
}
|
|
4479
|
+
|
|
3740
4480
|
export interface NewFloatingPackageWithAllocationPrice {
|
|
3741
4481
|
/**
|
|
3742
4482
|
* The cadence to bill for this price on.
|
|
@@ -3774,6 +4514,12 @@ export namespace PriceCreateParams {
|
|
|
3774
4514
|
*/
|
|
3775
4515
|
billed_in_advance?: boolean | null;
|
|
3776
4516
|
|
|
4517
|
+
/**
|
|
4518
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4519
|
+
* months.
|
|
4520
|
+
*/
|
|
4521
|
+
billing_cycle_configuration?: PriceCreateParams.NewFloatingPackageWithAllocationPrice.BillingCycleConfiguration | null;
|
|
4522
|
+
|
|
3777
4523
|
/**
|
|
3778
4524
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
3779
4525
|
*/
|
|
@@ -3795,6 +4541,12 @@ export namespace PriceCreateParams {
|
|
|
3795
4541
|
*/
|
|
3796
4542
|
invoice_grouping_key?: string | null;
|
|
3797
4543
|
|
|
4544
|
+
/**
|
|
4545
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4546
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4547
|
+
*/
|
|
4548
|
+
invoicing_cycle_configuration?: PriceCreateParams.NewFloatingPackageWithAllocationPrice.InvoicingCycleConfiguration | null;
|
|
4549
|
+
|
|
3798
4550
|
/**
|
|
3799
4551
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3800
4552
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3803,6 +4555,40 @@ export namespace PriceCreateParams {
|
|
|
3803
4555
|
metadata?: Record<string, string | null> | null;
|
|
3804
4556
|
}
|
|
3805
4557
|
|
|
4558
|
+
export namespace NewFloatingPackageWithAllocationPrice {
|
|
4559
|
+
/**
|
|
4560
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4561
|
+
* months.
|
|
4562
|
+
*/
|
|
4563
|
+
export interface BillingCycleConfiguration {
|
|
4564
|
+
/**
|
|
4565
|
+
* The duration of the billing period.
|
|
4566
|
+
*/
|
|
4567
|
+
duration: number;
|
|
4568
|
+
|
|
4569
|
+
/**
|
|
4570
|
+
* The unit of billing period duration.
|
|
4571
|
+
*/
|
|
4572
|
+
duration_unit: 'day' | 'month';
|
|
4573
|
+
}
|
|
4574
|
+
|
|
4575
|
+
/**
|
|
4576
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4577
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4578
|
+
*/
|
|
4579
|
+
export interface InvoicingCycleConfiguration {
|
|
4580
|
+
/**
|
|
4581
|
+
* The duration of the billing period.
|
|
4582
|
+
*/
|
|
4583
|
+
duration: number;
|
|
4584
|
+
|
|
4585
|
+
/**
|
|
4586
|
+
* The unit of billing period duration.
|
|
4587
|
+
*/
|
|
4588
|
+
duration_unit: 'day' | 'month';
|
|
4589
|
+
}
|
|
4590
|
+
}
|
|
4591
|
+
|
|
3806
4592
|
export interface NewFloatingTieredPackageWithMinimumPrice {
|
|
3807
4593
|
/**
|
|
3808
4594
|
* The cadence to bill for this price on.
|
|
@@ -3840,6 +4626,12 @@ export namespace PriceCreateParams {
|
|
|
3840
4626
|
*/
|
|
3841
4627
|
billed_in_advance?: boolean | null;
|
|
3842
4628
|
|
|
4629
|
+
/**
|
|
4630
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4631
|
+
* months.
|
|
4632
|
+
*/
|
|
4633
|
+
billing_cycle_configuration?: PriceCreateParams.NewFloatingTieredPackageWithMinimumPrice.BillingCycleConfiguration | null;
|
|
4634
|
+
|
|
3843
4635
|
/**
|
|
3844
4636
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
3845
4637
|
*/
|
|
@@ -3861,6 +4653,12 @@ export namespace PriceCreateParams {
|
|
|
3861
4653
|
*/
|
|
3862
4654
|
invoice_grouping_key?: string | null;
|
|
3863
4655
|
|
|
4656
|
+
/**
|
|
4657
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4658
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4659
|
+
*/
|
|
4660
|
+
invoicing_cycle_configuration?: PriceCreateParams.NewFloatingTieredPackageWithMinimumPrice.InvoicingCycleConfiguration | null;
|
|
4661
|
+
|
|
3864
4662
|
/**
|
|
3865
4663
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3866
4664
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3869,6 +4667,40 @@ export namespace PriceCreateParams {
|
|
|
3869
4667
|
metadata?: Record<string, string | null> | null;
|
|
3870
4668
|
}
|
|
3871
4669
|
|
|
4670
|
+
export namespace NewFloatingTieredPackageWithMinimumPrice {
|
|
4671
|
+
/**
|
|
4672
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4673
|
+
* months.
|
|
4674
|
+
*/
|
|
4675
|
+
export interface BillingCycleConfiguration {
|
|
4676
|
+
/**
|
|
4677
|
+
* The duration of the billing period.
|
|
4678
|
+
*/
|
|
4679
|
+
duration: number;
|
|
4680
|
+
|
|
4681
|
+
/**
|
|
4682
|
+
* The unit of billing period duration.
|
|
4683
|
+
*/
|
|
4684
|
+
duration_unit: 'day' | 'month';
|
|
4685
|
+
}
|
|
4686
|
+
|
|
4687
|
+
/**
|
|
4688
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4689
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4690
|
+
*/
|
|
4691
|
+
export interface InvoicingCycleConfiguration {
|
|
4692
|
+
/**
|
|
4693
|
+
* The duration of the billing period.
|
|
4694
|
+
*/
|
|
4695
|
+
duration: number;
|
|
4696
|
+
|
|
4697
|
+
/**
|
|
4698
|
+
* The unit of billing period duration.
|
|
4699
|
+
*/
|
|
4700
|
+
duration_unit: 'day' | 'month';
|
|
4701
|
+
}
|
|
4702
|
+
}
|
|
4703
|
+
|
|
3872
4704
|
export interface NewFloatingUnitWithPercentPrice {
|
|
3873
4705
|
/**
|
|
3874
4706
|
* The cadence to bill for this price on.
|
|
@@ -3906,6 +4738,12 @@ export namespace PriceCreateParams {
|
|
|
3906
4738
|
*/
|
|
3907
4739
|
billed_in_advance?: boolean | null;
|
|
3908
4740
|
|
|
4741
|
+
/**
|
|
4742
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4743
|
+
* months.
|
|
4744
|
+
*/
|
|
4745
|
+
billing_cycle_configuration?: PriceCreateParams.NewFloatingUnitWithPercentPrice.BillingCycleConfiguration | null;
|
|
4746
|
+
|
|
3909
4747
|
/**
|
|
3910
4748
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
3911
4749
|
*/
|
|
@@ -3927,6 +4765,12 @@ export namespace PriceCreateParams {
|
|
|
3927
4765
|
*/
|
|
3928
4766
|
invoice_grouping_key?: string | null;
|
|
3929
4767
|
|
|
4768
|
+
/**
|
|
4769
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4770
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4771
|
+
*/
|
|
4772
|
+
invoicing_cycle_configuration?: PriceCreateParams.NewFloatingUnitWithPercentPrice.InvoicingCycleConfiguration | null;
|
|
4773
|
+
|
|
3930
4774
|
/**
|
|
3931
4775
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3932
4776
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -3935,6 +4779,40 @@ export namespace PriceCreateParams {
|
|
|
3935
4779
|
metadata?: Record<string, string | null> | null;
|
|
3936
4780
|
}
|
|
3937
4781
|
|
|
4782
|
+
export namespace NewFloatingUnitWithPercentPrice {
|
|
4783
|
+
/**
|
|
4784
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4785
|
+
* months.
|
|
4786
|
+
*/
|
|
4787
|
+
export interface BillingCycleConfiguration {
|
|
4788
|
+
/**
|
|
4789
|
+
* The duration of the billing period.
|
|
4790
|
+
*/
|
|
4791
|
+
duration: number;
|
|
4792
|
+
|
|
4793
|
+
/**
|
|
4794
|
+
* The unit of billing period duration.
|
|
4795
|
+
*/
|
|
4796
|
+
duration_unit: 'day' | 'month';
|
|
4797
|
+
}
|
|
4798
|
+
|
|
4799
|
+
/**
|
|
4800
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4801
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4802
|
+
*/
|
|
4803
|
+
export interface InvoicingCycleConfiguration {
|
|
4804
|
+
/**
|
|
4805
|
+
* The duration of the billing period.
|
|
4806
|
+
*/
|
|
4807
|
+
duration: number;
|
|
4808
|
+
|
|
4809
|
+
/**
|
|
4810
|
+
* The unit of billing period duration.
|
|
4811
|
+
*/
|
|
4812
|
+
duration_unit: 'day' | 'month';
|
|
4813
|
+
}
|
|
4814
|
+
}
|
|
4815
|
+
|
|
3938
4816
|
export interface NewFloatingTieredWithProrationPrice {
|
|
3939
4817
|
/**
|
|
3940
4818
|
* The cadence to bill for this price on.
|
|
@@ -3972,6 +4850,12 @@ export namespace PriceCreateParams {
|
|
|
3972
4850
|
*/
|
|
3973
4851
|
billed_in_advance?: boolean | null;
|
|
3974
4852
|
|
|
4853
|
+
/**
|
|
4854
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4855
|
+
* months.
|
|
4856
|
+
*/
|
|
4857
|
+
billing_cycle_configuration?: PriceCreateParams.NewFloatingTieredWithProrationPrice.BillingCycleConfiguration | null;
|
|
4858
|
+
|
|
3975
4859
|
/**
|
|
3976
4860
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
3977
4861
|
*/
|
|
@@ -3993,6 +4877,12 @@ export namespace PriceCreateParams {
|
|
|
3993
4877
|
*/
|
|
3994
4878
|
invoice_grouping_key?: string | null;
|
|
3995
4879
|
|
|
4880
|
+
/**
|
|
4881
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4882
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4883
|
+
*/
|
|
4884
|
+
invoicing_cycle_configuration?: PriceCreateParams.NewFloatingTieredWithProrationPrice.InvoicingCycleConfiguration | null;
|
|
4885
|
+
|
|
3996
4886
|
/**
|
|
3997
4887
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
3998
4888
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4001,6 +4891,40 @@ export namespace PriceCreateParams {
|
|
|
4001
4891
|
metadata?: Record<string, string | null> | null;
|
|
4002
4892
|
}
|
|
4003
4893
|
|
|
4894
|
+
export namespace NewFloatingTieredWithProrationPrice {
|
|
4895
|
+
/**
|
|
4896
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4897
|
+
* months.
|
|
4898
|
+
*/
|
|
4899
|
+
export interface BillingCycleConfiguration {
|
|
4900
|
+
/**
|
|
4901
|
+
* The duration of the billing period.
|
|
4902
|
+
*/
|
|
4903
|
+
duration: number;
|
|
4904
|
+
|
|
4905
|
+
/**
|
|
4906
|
+
* The unit of billing period duration.
|
|
4907
|
+
*/
|
|
4908
|
+
duration_unit: 'day' | 'month';
|
|
4909
|
+
}
|
|
4910
|
+
|
|
4911
|
+
/**
|
|
4912
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4913
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4914
|
+
*/
|
|
4915
|
+
export interface InvoicingCycleConfiguration {
|
|
4916
|
+
/**
|
|
4917
|
+
* The duration of the billing period.
|
|
4918
|
+
*/
|
|
4919
|
+
duration: number;
|
|
4920
|
+
|
|
4921
|
+
/**
|
|
4922
|
+
* The unit of billing period duration.
|
|
4923
|
+
*/
|
|
4924
|
+
duration_unit: 'day' | 'month';
|
|
4925
|
+
}
|
|
4926
|
+
}
|
|
4927
|
+
|
|
4004
4928
|
export interface NewFloatingUnitWithProrationPrice {
|
|
4005
4929
|
/**
|
|
4006
4930
|
* The cadence to bill for this price on.
|
|
@@ -4038,6 +4962,12 @@ export namespace PriceCreateParams {
|
|
|
4038
4962
|
*/
|
|
4039
4963
|
billed_in_advance?: boolean | null;
|
|
4040
4964
|
|
|
4965
|
+
/**
|
|
4966
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
4967
|
+
* months.
|
|
4968
|
+
*/
|
|
4969
|
+
billing_cycle_configuration?: PriceCreateParams.NewFloatingUnitWithProrationPrice.BillingCycleConfiguration | null;
|
|
4970
|
+
|
|
4041
4971
|
/**
|
|
4042
4972
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
4043
4973
|
*/
|
|
@@ -4059,6 +4989,12 @@ export namespace PriceCreateParams {
|
|
|
4059
4989
|
*/
|
|
4060
4990
|
invoice_grouping_key?: string | null;
|
|
4061
4991
|
|
|
4992
|
+
/**
|
|
4993
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
4994
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
4995
|
+
*/
|
|
4996
|
+
invoicing_cycle_configuration?: PriceCreateParams.NewFloatingUnitWithProrationPrice.InvoicingCycleConfiguration | null;
|
|
4997
|
+
|
|
4062
4998
|
/**
|
|
4063
4999
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4064
5000
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4067,6 +5003,40 @@ export namespace PriceCreateParams {
|
|
|
4067
5003
|
metadata?: Record<string, string | null> | null;
|
|
4068
5004
|
}
|
|
4069
5005
|
|
|
5006
|
+
export namespace NewFloatingUnitWithProrationPrice {
|
|
5007
|
+
/**
|
|
5008
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5009
|
+
* months.
|
|
5010
|
+
*/
|
|
5011
|
+
export interface BillingCycleConfiguration {
|
|
5012
|
+
/**
|
|
5013
|
+
* The duration of the billing period.
|
|
5014
|
+
*/
|
|
5015
|
+
duration: number;
|
|
5016
|
+
|
|
5017
|
+
/**
|
|
5018
|
+
* The unit of billing period duration.
|
|
5019
|
+
*/
|
|
5020
|
+
duration_unit: 'day' | 'month';
|
|
5021
|
+
}
|
|
5022
|
+
|
|
5023
|
+
/**
|
|
5024
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5025
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5026
|
+
*/
|
|
5027
|
+
export interface InvoicingCycleConfiguration {
|
|
5028
|
+
/**
|
|
5029
|
+
* The duration of the billing period.
|
|
5030
|
+
*/
|
|
5031
|
+
duration: number;
|
|
5032
|
+
|
|
5033
|
+
/**
|
|
5034
|
+
* The unit of billing period duration.
|
|
5035
|
+
*/
|
|
5036
|
+
duration_unit: 'day' | 'month';
|
|
5037
|
+
}
|
|
5038
|
+
}
|
|
5039
|
+
|
|
4070
5040
|
export interface NewFloatingGroupedAllocationPrice {
|
|
4071
5041
|
/**
|
|
4072
5042
|
* The cadence to bill for this price on.
|
|
@@ -4104,6 +5074,12 @@ export namespace PriceCreateParams {
|
|
|
4104
5074
|
*/
|
|
4105
5075
|
billed_in_advance?: boolean | null;
|
|
4106
5076
|
|
|
5077
|
+
/**
|
|
5078
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5079
|
+
* months.
|
|
5080
|
+
*/
|
|
5081
|
+
billing_cycle_configuration?: PriceCreateParams.NewFloatingGroupedAllocationPrice.BillingCycleConfiguration | null;
|
|
5082
|
+
|
|
4107
5083
|
/**
|
|
4108
5084
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
4109
5085
|
*/
|
|
@@ -4125,6 +5101,12 @@ export namespace PriceCreateParams {
|
|
|
4125
5101
|
*/
|
|
4126
5102
|
invoice_grouping_key?: string | null;
|
|
4127
5103
|
|
|
5104
|
+
/**
|
|
5105
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5106
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5107
|
+
*/
|
|
5108
|
+
invoicing_cycle_configuration?: PriceCreateParams.NewFloatingGroupedAllocationPrice.InvoicingCycleConfiguration | null;
|
|
5109
|
+
|
|
4128
5110
|
/**
|
|
4129
5111
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4130
5112
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4133,6 +5115,40 @@ export namespace PriceCreateParams {
|
|
|
4133
5115
|
metadata?: Record<string, string | null> | null;
|
|
4134
5116
|
}
|
|
4135
5117
|
|
|
5118
|
+
export namespace NewFloatingGroupedAllocationPrice {
|
|
5119
|
+
/**
|
|
5120
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5121
|
+
* months.
|
|
5122
|
+
*/
|
|
5123
|
+
export interface BillingCycleConfiguration {
|
|
5124
|
+
/**
|
|
5125
|
+
* The duration of the billing period.
|
|
5126
|
+
*/
|
|
5127
|
+
duration: number;
|
|
5128
|
+
|
|
5129
|
+
/**
|
|
5130
|
+
* The unit of billing period duration.
|
|
5131
|
+
*/
|
|
5132
|
+
duration_unit: 'day' | 'month';
|
|
5133
|
+
}
|
|
5134
|
+
|
|
5135
|
+
/**
|
|
5136
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5137
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5138
|
+
*/
|
|
5139
|
+
export interface InvoicingCycleConfiguration {
|
|
5140
|
+
/**
|
|
5141
|
+
* The duration of the billing period.
|
|
5142
|
+
*/
|
|
5143
|
+
duration: number;
|
|
5144
|
+
|
|
5145
|
+
/**
|
|
5146
|
+
* The unit of billing period duration.
|
|
5147
|
+
*/
|
|
5148
|
+
duration_unit: 'day' | 'month';
|
|
5149
|
+
}
|
|
5150
|
+
}
|
|
5151
|
+
|
|
4136
5152
|
export interface NewFloatingBulkWithProrationPrice {
|
|
4137
5153
|
bulk_with_proration_config: Record<string, unknown>;
|
|
4138
5154
|
|
|
@@ -4170,6 +5186,12 @@ export namespace PriceCreateParams {
|
|
|
4170
5186
|
*/
|
|
4171
5187
|
billed_in_advance?: boolean | null;
|
|
4172
5188
|
|
|
5189
|
+
/**
|
|
5190
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5191
|
+
* months.
|
|
5192
|
+
*/
|
|
5193
|
+
billing_cycle_configuration?: PriceCreateParams.NewFloatingBulkWithProrationPrice.BillingCycleConfiguration | null;
|
|
5194
|
+
|
|
4173
5195
|
/**
|
|
4174
5196
|
* The per unit conversion rate of the price currency to the invoicing currency.
|
|
4175
5197
|
*/
|
|
@@ -4191,6 +5213,12 @@ export namespace PriceCreateParams {
|
|
|
4191
5213
|
*/
|
|
4192
5214
|
invoice_grouping_key?: string | null;
|
|
4193
5215
|
|
|
5216
|
+
/**
|
|
5217
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5218
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5219
|
+
*/
|
|
5220
|
+
invoicing_cycle_configuration?: PriceCreateParams.NewFloatingBulkWithProrationPrice.InvoicingCycleConfiguration | null;
|
|
5221
|
+
|
|
4194
5222
|
/**
|
|
4195
5223
|
* User-specified key/value pairs for the resource. Individual keys can be removed
|
|
4196
5224
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
@@ -4198,6 +5226,40 @@ export namespace PriceCreateParams {
|
|
|
4198
5226
|
*/
|
|
4199
5227
|
metadata?: Record<string, string | null> | null;
|
|
4200
5228
|
}
|
|
5229
|
+
|
|
5230
|
+
export namespace NewFloatingBulkWithProrationPrice {
|
|
5231
|
+
/**
|
|
5232
|
+
* For custom cadence: specifies the duration of the billing period in days or
|
|
5233
|
+
* months.
|
|
5234
|
+
*/
|
|
5235
|
+
export interface BillingCycleConfiguration {
|
|
5236
|
+
/**
|
|
5237
|
+
* The duration of the billing period.
|
|
5238
|
+
*/
|
|
5239
|
+
duration: number;
|
|
5240
|
+
|
|
5241
|
+
/**
|
|
5242
|
+
* The unit of billing period duration.
|
|
5243
|
+
*/
|
|
5244
|
+
duration_unit: 'day' | 'month';
|
|
5245
|
+
}
|
|
5246
|
+
|
|
5247
|
+
/**
|
|
5248
|
+
* Within each billing cycle, specifies the cadence at which invoices are produced.
|
|
5249
|
+
* If unspecified, a single invoice is produced per billing cycle.
|
|
5250
|
+
*/
|
|
5251
|
+
export interface InvoicingCycleConfiguration {
|
|
5252
|
+
/**
|
|
5253
|
+
* The duration of the billing period.
|
|
5254
|
+
*/
|
|
5255
|
+
duration: number;
|
|
5256
|
+
|
|
5257
|
+
/**
|
|
5258
|
+
* The unit of billing period duration.
|
|
5259
|
+
*/
|
|
5260
|
+
duration_unit: 'day' | 'month';
|
|
5261
|
+
}
|
|
5262
|
+
}
|
|
4201
5263
|
}
|
|
4202
5264
|
|
|
4203
5265
|
export interface PriceUpdateParams {
|