orb-billing 3.1.0 → 4.0.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.
Files changed (60) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/index.d.mts +1 -0
  3. package/index.d.ts +1 -0
  4. package/index.d.ts.map +1 -1
  5. package/index.js +1 -0
  6. package/index.js.map +1 -1
  7. package/index.mjs +1 -0
  8. package/index.mjs.map +1 -1
  9. package/package.json +2 -2
  10. package/resources/alerts.d.ts +9 -9
  11. package/resources/alerts.d.ts.map +1 -1
  12. package/resources/alerts.js.map +1 -1
  13. package/resources/alerts.mjs.map +1 -1
  14. package/resources/customers/customers.d.ts +0 -7
  15. package/resources/customers/customers.d.ts.map +1 -1
  16. package/resources/customers/customers.js +0 -3
  17. package/resources/customers/customers.js.map +1 -1
  18. package/resources/customers/customers.mjs +0 -3
  19. package/resources/customers/customers.mjs.map +1 -1
  20. package/resources/customers/index.d.ts +0 -1
  21. package/resources/customers/index.d.ts.map +1 -1
  22. package/resources/customers/index.js +1 -3
  23. package/resources/customers/index.js.map +1 -1
  24. package/resources/customers/index.mjs +0 -1
  25. package/resources/customers/index.mjs.map +1 -1
  26. package/resources/events/events.d.ts +11 -2
  27. package/resources/events/events.d.ts.map +1 -1
  28. package/resources/events/events.js +11 -2
  29. package/resources/events/events.js.map +1 -1
  30. package/resources/events/events.mjs +11 -2
  31. package/resources/events/events.mjs.map +1 -1
  32. package/resources/plans/plans.d.ts +15 -15
  33. package/resources/plans/plans.d.ts.map +1 -1
  34. package/resources/prices/prices.d.ts +108 -18
  35. package/resources/prices/prices.d.ts.map +1 -1
  36. package/resources/prices/prices.js.map +1 -1
  37. package/resources/prices/prices.mjs.map +1 -1
  38. package/resources/subscriptions.d.ts +18 -28
  39. package/resources/subscriptions.d.ts.map +1 -1
  40. package/resources/subscriptions.js.map +1 -1
  41. package/resources/subscriptions.mjs.map +1 -1
  42. package/src/index.ts +1 -0
  43. package/src/resources/alerts.ts +24 -9
  44. package/src/resources/customers/customers.ts +0 -7
  45. package/src/resources/customers/index.ts +0 -7
  46. package/src/resources/events/events.ts +11 -2
  47. package/src/resources/plans/plans.ts +15 -15
  48. package/src/resources/prices/prices.ts +162 -18
  49. package/src/resources/subscriptions.ts +18 -30
  50. package/src/version.ts +1 -1
  51. package/version.d.ts +1 -1
  52. package/version.js +1 -1
  53. package/version.mjs +1 -1
  54. package/resources/customers/usage.d.ts +0 -322
  55. package/resources/customers/usage.d.ts.map +0 -1
  56. package/resources/customers/usage.js +0 -223
  57. package/resources/customers/usage.js.map +0 -1
  58. package/resources/customers/usage.mjs +0 -219
  59. package/resources/customers/usage.mjs.map +0 -1
  60. package/src/resources/customers/usage.ts +0 -368
@@ -378,6 +378,8 @@ export namespace Price {
378
378
 
379
379
  billable_metric: UnitPrice.BillableMetric | null;
380
380
 
381
+ billing_cycle_configuration: UnitPrice.BillingCycleConfiguration | null;
382
+
381
383
  cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
382
384
 
383
385
  conversion_rate: number | null;
@@ -428,6 +430,12 @@ export namespace Price {
428
430
  id: string;
429
431
  }
430
432
 
433
+ export interface BillingCycleConfiguration {
434
+ duration: number;
435
+
436
+ duration_unit: 'day' | 'month';
437
+ }
438
+
431
439
  export interface CreditAllocation {
432
440
  allows_rollover: boolean;
433
441
 
@@ -479,6 +487,8 @@ export namespace Price {
479
487
 
480
488
  billable_metric: PackagePrice.BillableMetric | null;
481
489
 
490
+ billing_cycle_configuration: PackagePrice.BillingCycleConfiguration | null;
491
+
482
492
  cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
483
493
 
484
494
  conversion_rate: number | null;
@@ -529,6 +539,12 @@ export namespace Price {
529
539
  id: string;
530
540
  }
531
541
 
542
+ export interface BillingCycleConfiguration {
543
+ duration: number;
544
+
545
+ duration_unit: 'day' | 'month';
546
+ }
547
+
532
548
  export interface CreditAllocation {
533
549
  allows_rollover: boolean;
534
550
 
@@ -586,6 +602,8 @@ export namespace Price {
586
602
 
587
603
  billable_metric: MatrixPrice.BillableMetric | null;
588
604
 
605
+ billing_cycle_configuration: MatrixPrice.BillingCycleConfiguration | null;
606
+
589
607
  cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
590
608
 
591
609
  conversion_rate: number | null;
@@ -636,6 +654,12 @@ export namespace Price {
636
654
  id: string;
637
655
  }
638
656
 
657
+ export interface BillingCycleConfiguration {
658
+ duration: number;
659
+
660
+ duration_unit: 'day' | 'month';
661
+ }
662
+
639
663
  export interface CreditAllocation {
640
664
  allows_rollover: boolean;
641
665
 
@@ -713,6 +737,8 @@ export namespace Price {
713
737
 
714
738
  billable_metric: TieredPrice.BillableMetric | null;
715
739
 
740
+ billing_cycle_configuration: TieredPrice.BillingCycleConfiguration | null;
741
+
716
742
  cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
717
743
 
718
744
  conversion_rate: number | null;
@@ -763,6 +789,12 @@ export namespace Price {
763
789
  id: string;
764
790
  }
765
791
 
792
+ export interface BillingCycleConfiguration {
793
+ duration: number;
794
+
795
+ duration_unit: 'day' | 'month';
796
+ }
797
+
766
798
  export interface CreditAllocation {
767
799
  allows_rollover: boolean;
768
800
 
@@ -833,6 +865,8 @@ export namespace Price {
833
865
 
834
866
  billable_metric: TieredBpsPrice.BillableMetric | null;
835
867
 
868
+ billing_cycle_configuration: TieredBpsPrice.BillingCycleConfiguration | null;
869
+
836
870
  cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
837
871
 
838
872
  conversion_rate: number | null;
@@ -883,6 +917,12 @@ export namespace Price {
883
917
  id: string;
884
918
  }
885
919
 
920
+ export interface BillingCycleConfiguration {
921
+ duration: number;
922
+
923
+ duration_unit: 'day' | 'month';
924
+ }
925
+
886
926
  export interface CreditAllocation {
887
927
  allows_rollover: boolean;
888
928
 
@@ -959,6 +999,8 @@ export namespace Price {
959
999
 
960
1000
  billable_metric: BpsPrice.BillableMetric | null;
961
1001
 
1002
+ billing_cycle_configuration: BpsPrice.BillingCycleConfiguration | null;
1003
+
962
1004
  bps_config: BpsPrice.BpsConfig;
963
1005
 
964
1006
  cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
@@ -1009,6 +1051,12 @@ export namespace Price {
1009
1051
  id: string;
1010
1052
  }
1011
1053
 
1054
+ export interface BillingCycleConfiguration {
1055
+ duration: number;
1056
+
1057
+ duration_unit: 'day' | 'month';
1058
+ }
1059
+
1012
1060
  export interface BpsConfig {
1013
1061
  /**
1014
1062
  * Basis point take rate per event
@@ -1065,6 +1113,8 @@ export namespace Price {
1065
1113
 
1066
1114
  billable_metric: BulkBpsPrice.BillableMetric | null;
1067
1115
 
1116
+ billing_cycle_configuration: BulkBpsPrice.BillingCycleConfiguration | null;
1117
+
1068
1118
  bulk_bps_config: BulkBpsPrice.BulkBpsConfig;
1069
1119
 
1070
1120
  cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
@@ -1115,6 +1165,12 @@ export namespace Price {
1115
1165
  id: string;
1116
1166
  }
1117
1167
 
1168
+ export interface BillingCycleConfiguration {
1169
+ duration: number;
1170
+
1171
+ duration_unit: 'day' | 'month';
1172
+ }
1173
+
1118
1174
  export interface BulkBpsConfig {
1119
1175
  /**
1120
1176
  * Tiers for a bulk BPS pricing model where all usage is aggregated to a single
@@ -1186,6 +1242,8 @@ export namespace Price {
1186
1242
 
1187
1243
  billable_metric: BulkPrice.BillableMetric | null;
1188
1244
 
1245
+ billing_cycle_configuration: BulkPrice.BillingCycleConfiguration | null;
1246
+
1189
1247
  bulk_config: BulkPrice.BulkConfig;
1190
1248
 
1191
1249
  cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
@@ -1236,6 +1294,12 @@ export namespace Price {
1236
1294
  id: string;
1237
1295
  }
1238
1296
 
1297
+ export interface BillingCycleConfiguration {
1298
+ duration: number;
1299
+
1300
+ duration_unit: 'day' | 'month';
1301
+ }
1302
+
1239
1303
  export interface BulkConfig {
1240
1304
  /**
1241
1305
  * Bulk tiers for rating based on total usage volume
@@ -1301,6 +1365,8 @@ export namespace Price {
1301
1365
 
1302
1366
  billable_metric: ThresholdTotalAmountPrice.BillableMetric | null;
1303
1367
 
1368
+ billing_cycle_configuration: ThresholdTotalAmountPrice.BillingCycleConfiguration | null;
1369
+
1304
1370
  cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
1305
1371
 
1306
1372
  conversion_rate: number | null;
@@ -1351,6 +1417,12 @@ export namespace Price {
1351
1417
  id: string;
1352
1418
  }
1353
1419
 
1420
+ export interface BillingCycleConfiguration {
1421
+ duration: number;
1422
+
1423
+ duration_unit: 'day' | 'month';
1424
+ }
1425
+
1354
1426
  export interface CreditAllocation {
1355
1427
  allows_rollover: boolean;
1356
1428
 
@@ -1395,6 +1467,8 @@ export namespace Price {
1395
1467
 
1396
1468
  billable_metric: TieredPackagePrice.BillableMetric | null;
1397
1469
 
1470
+ billing_cycle_configuration: TieredPackagePrice.BillingCycleConfiguration | null;
1471
+
1398
1472
  cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
1399
1473
 
1400
1474
  conversion_rate: number | null;
@@ -1445,6 +1519,12 @@ export namespace Price {
1445
1519
  id: string;
1446
1520
  }
1447
1521
 
1522
+ export interface BillingCycleConfiguration {
1523
+ duration: number;
1524
+
1525
+ duration_unit: 'day' | 'month';
1526
+ }
1527
+
1448
1528
  export interface CreditAllocation {
1449
1529
  allows_rollover: boolean;
1450
1530
 
@@ -1489,6 +1569,8 @@ export namespace Price {
1489
1569
 
1490
1570
  billable_metric: GroupedTieredPrice.BillableMetric | null;
1491
1571
 
1572
+ billing_cycle_configuration: GroupedTieredPrice.BillingCycleConfiguration | null;
1573
+
1492
1574
  cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
1493
1575
 
1494
1576
  conversion_rate: number | null;
@@ -1539,6 +1621,12 @@ export namespace Price {
1539
1621
  id: string;
1540
1622
  }
1541
1623
 
1624
+ export interface BillingCycleConfiguration {
1625
+ duration: number;
1626
+
1627
+ duration_unit: 'day' | 'month';
1628
+ }
1629
+
1542
1630
  export interface CreditAllocation {
1543
1631
  allows_rollover: boolean;
1544
1632
 
@@ -1583,6 +1671,8 @@ export namespace Price {
1583
1671
 
1584
1672
  billable_metric: TieredWithMinimumPrice.BillableMetric | null;
1585
1673
 
1674
+ billing_cycle_configuration: TieredWithMinimumPrice.BillingCycleConfiguration | null;
1675
+
1586
1676
  cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
1587
1677
 
1588
1678
  conversion_rate: number | null;
@@ -1633,6 +1723,12 @@ export namespace Price {
1633
1723
  id: string;
1634
1724
  }
1635
1725
 
1726
+ export interface BillingCycleConfiguration {
1727
+ duration: number;
1728
+
1729
+ duration_unit: 'day' | 'month';
1730
+ }
1731
+
1636
1732
  export interface CreditAllocation {
1637
1733
  allows_rollover: boolean;
1638
1734
 
@@ -1677,6 +1773,8 @@ export namespace Price {
1677
1773
 
1678
1774
  billable_metric: TieredPackageWithMinimumPrice.BillableMetric | null;
1679
1775
 
1776
+ billing_cycle_configuration: TieredPackageWithMinimumPrice.BillingCycleConfiguration | null;
1777
+
1680
1778
  cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
1681
1779
 
1682
1780
  conversion_rate: number | null;
@@ -1727,6 +1825,12 @@ export namespace Price {
1727
1825
  id: string;
1728
1826
  }
1729
1827
 
1828
+ export interface BillingCycleConfiguration {
1829
+ duration: number;
1830
+
1831
+ duration_unit: 'day' | 'month';
1832
+ }
1833
+
1730
1834
  export interface CreditAllocation {
1731
1835
  allows_rollover: boolean;
1732
1836
 
@@ -1771,6 +1875,8 @@ export namespace Price {
1771
1875
 
1772
1876
  billable_metric: PackageWithAllocationPrice.BillableMetric | null;
1773
1877
 
1878
+ billing_cycle_configuration: PackageWithAllocationPrice.BillingCycleConfiguration | null;
1879
+
1774
1880
  cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
1775
1881
 
1776
1882
  conversion_rate: number | null;
@@ -1821,6 +1927,12 @@ export namespace Price {
1821
1927
  id: string;
1822
1928
  }
1823
1929
 
1930
+ export interface BillingCycleConfiguration {
1931
+ duration: number;
1932
+
1933
+ duration_unit: 'day' | 'month';
1934
+ }
1935
+
1824
1936
  export interface CreditAllocation {
1825
1937
  allows_rollover: boolean;
1826
1938
 
@@ -1865,6 +1977,8 @@ export namespace Price {
1865
1977
 
1866
1978
  billable_metric: UnitWithPercentPrice.BillableMetric | null;
1867
1979
 
1980
+ billing_cycle_configuration: UnitWithPercentPrice.BillingCycleConfiguration | null;
1981
+
1868
1982
  cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
1869
1983
 
1870
1984
  conversion_rate: number | null;
@@ -1915,6 +2029,12 @@ export namespace Price {
1915
2029
  id: string;
1916
2030
  }
1917
2031
 
2032
+ export interface BillingCycleConfiguration {
2033
+ duration: number;
2034
+
2035
+ duration_unit: 'day' | 'month';
2036
+ }
2037
+
1918
2038
  export interface CreditAllocation {
1919
2039
  allows_rollover: boolean;
1920
2040
 
@@ -1959,6 +2079,8 @@ export namespace Price {
1959
2079
 
1960
2080
  billable_metric: MatrixWithAllocationPrice.BillableMetric | null;
1961
2081
 
2082
+ billing_cycle_configuration: MatrixWithAllocationPrice.BillingCycleConfiguration | null;
2083
+
1962
2084
  cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
1963
2085
 
1964
2086
  conversion_rate: number | null;
@@ -2009,6 +2131,12 @@ export namespace Price {
2009
2131
  id: string;
2010
2132
  }
2011
2133
 
2134
+ export interface BillingCycleConfiguration {
2135
+ duration: number;
2136
+
2137
+ duration_unit: 'day' | 'month';
2138
+ }
2139
+
2012
2140
  export interface CreditAllocation {
2013
2141
  allows_rollover: boolean;
2014
2142
 
@@ -2091,6 +2219,8 @@ export namespace Price {
2091
2219
 
2092
2220
  billable_metric: TieredWithProrationPrice.BillableMetric | null;
2093
2221
 
2222
+ billing_cycle_configuration: TieredWithProrationPrice.BillingCycleConfiguration | null;
2223
+
2094
2224
  cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
2095
2225
 
2096
2226
  conversion_rate: number | null;
@@ -2141,6 +2271,12 @@ export namespace Price {
2141
2271
  id: string;
2142
2272
  }
2143
2273
 
2274
+ export interface BillingCycleConfiguration {
2275
+ duration: number;
2276
+
2277
+ duration_unit: 'day' | 'month';
2278
+ }
2279
+
2144
2280
  export interface CreditAllocation {
2145
2281
  allows_rollover: boolean;
2146
2282
 
@@ -2185,6 +2321,8 @@ export namespace Price {
2185
2321
 
2186
2322
  billable_metric: UnitWithProrationPrice.BillableMetric | null;
2187
2323
 
2324
+ billing_cycle_configuration: UnitWithProrationPrice.BillingCycleConfiguration | null;
2325
+
2188
2326
  cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
2189
2327
 
2190
2328
  conversion_rate: number | null;
@@ -2235,6 +2373,12 @@ export namespace Price {
2235
2373
  id: string;
2236
2374
  }
2237
2375
 
2376
+ export interface BillingCycleConfiguration {
2377
+ duration: number;
2378
+
2379
+ duration_unit: 'day' | 'month';
2380
+ }
2381
+
2238
2382
  export interface CreditAllocation {
2239
2383
  allows_rollover: boolean;
2240
2384
 
@@ -2304,7 +2448,7 @@ export namespace PriceCreateParams {
2304
2448
  /**
2305
2449
  * The cadence to bill for this price on.
2306
2450
  */
2307
- cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time';
2451
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
2308
2452
 
2309
2453
  /**
2310
2454
  * An ISO 4217 currency string for which this price is billed in.
@@ -2379,7 +2523,7 @@ export namespace PriceCreateParams {
2379
2523
  /**
2380
2524
  * The cadence to bill for this price on.
2381
2525
  */
2382
- cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time';
2526
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
2383
2527
 
2384
2528
  /**
2385
2529
  * An ISO 4217 currency string for which this price is billed in.
@@ -2460,7 +2604,7 @@ export namespace PriceCreateParams {
2460
2604
  /**
2461
2605
  * The cadence to bill for this price on.
2462
2606
  */
2463
- cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time';
2607
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
2464
2608
 
2465
2609
  /**
2466
2610
  * An ISO 4217 currency string for which this price is billed in.
@@ -2561,7 +2705,7 @@ export namespace PriceCreateParams {
2561
2705
  /**
2562
2706
  * The cadence to bill for this price on.
2563
2707
  */
2564
- cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time';
2708
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
2565
2709
 
2566
2710
  /**
2567
2711
  * An ISO 4217 currency string for which this price is billed in.
@@ -2667,7 +2811,7 @@ export namespace PriceCreateParams {
2667
2811
  /**
2668
2812
  * The cadence to bill for this price on.
2669
2813
  */
2670
- cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time';
2814
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
2671
2815
 
2672
2816
  /**
2673
2817
  * An ISO 4217 currency string for which this price is billed in.
@@ -2761,7 +2905,7 @@ export namespace PriceCreateParams {
2761
2905
  /**
2762
2906
  * The cadence to bill for this price on.
2763
2907
  */
2764
- cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time';
2908
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
2765
2909
 
2766
2910
  /**
2767
2911
  * An ISO 4217 currency string for which this price is billed in.
@@ -2863,7 +3007,7 @@ export namespace PriceCreateParams {
2863
3007
  /**
2864
3008
  * The cadence to bill for this price on.
2865
3009
  */
2866
- cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time';
3010
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
2867
3011
 
2868
3012
  /**
2869
3013
  * An ISO 4217 currency string for which this price is billed in.
@@ -2943,7 +3087,7 @@ export namespace PriceCreateParams {
2943
3087
  /**
2944
3088
  * The cadence to bill for this price on.
2945
3089
  */
2946
- cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time';
3090
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
2947
3091
 
2948
3092
  /**
2949
3093
  * An ISO 4217 currency string for which this price is billed in.
@@ -3038,7 +3182,7 @@ export namespace PriceCreateParams {
3038
3182
  /**
3039
3183
  * The cadence to bill for this price on.
3040
3184
  */
3041
- cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time';
3185
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
3042
3186
 
3043
3187
  /**
3044
3188
  * An ISO 4217 currency string for which this price is billed in.
@@ -3125,7 +3269,7 @@ export namespace PriceCreateParams {
3125
3269
  /**
3126
3270
  * The cadence to bill for this price on.
3127
3271
  */
3128
- cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time';
3272
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
3129
3273
 
3130
3274
  /**
3131
3275
  * An ISO 4217 currency string for which this price is billed in.
@@ -3191,7 +3335,7 @@ export namespace PriceCreateParams {
3191
3335
  /**
3192
3336
  * The cadence to bill for this price on.
3193
3337
  */
3194
- cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time';
3338
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
3195
3339
 
3196
3340
  /**
3197
3341
  * An ISO 4217 currency string for which this price is billed in.
@@ -3257,7 +3401,7 @@ export namespace PriceCreateParams {
3257
3401
  /**
3258
3402
  * The cadence to bill for this price on.
3259
3403
  */
3260
- cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time';
3404
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
3261
3405
 
3262
3406
  /**
3263
3407
  * An ISO 4217 currency string for which this price is billed in.
@@ -3323,7 +3467,7 @@ export namespace PriceCreateParams {
3323
3467
  /**
3324
3468
  * The cadence to bill for this price on.
3325
3469
  */
3326
- cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time';
3470
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
3327
3471
 
3328
3472
  /**
3329
3473
  * An ISO 4217 currency string for which this price is billed in.
@@ -3389,7 +3533,7 @@ export namespace PriceCreateParams {
3389
3533
  /**
3390
3534
  * The cadence to bill for this price on.
3391
3535
  */
3392
- cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time';
3536
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
3393
3537
 
3394
3538
  /**
3395
3539
  * An ISO 4217 currency string for which this price is billed in.
@@ -3455,7 +3599,7 @@ export namespace PriceCreateParams {
3455
3599
  /**
3456
3600
  * The cadence to bill for this price on.
3457
3601
  */
3458
- cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time';
3602
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
3459
3603
 
3460
3604
  /**
3461
3605
  * An ISO 4217 currency string for which this price is billed in.
@@ -3521,7 +3665,7 @@ export namespace PriceCreateParams {
3521
3665
  /**
3522
3666
  * The cadence to bill for this price on.
3523
3667
  */
3524
- cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time';
3668
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
3525
3669
 
3526
3670
  /**
3527
3671
  * An ISO 4217 currency string for which this price is billed in.
@@ -3587,7 +3731,7 @@ export namespace PriceCreateParams {
3587
3731
  /**
3588
3732
  * The cadence to bill for this price on.
3589
3733
  */
3590
- cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time';
3734
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
3591
3735
 
3592
3736
  /**
3593
3737
  * An ISO 4217 currency string for which this price is billed in.
@@ -3653,7 +3797,7 @@ export namespace PriceCreateParams {
3653
3797
  /**
3654
3798
  * The cadence to bill for this price on.
3655
3799
  */
3656
- cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time';
3800
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
3657
3801
 
3658
3802
  /**
3659
3803
  * An ISO 4217 currency string for which this price is billed in.