orb-billing 6.11.0 → 6.12.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 +7 -0
- package/package.json +1 -1
- package/resources/beta/beta.d.mts +114 -24
- package/resources/beta/beta.d.mts.map +1 -1
- package/resources/beta/beta.d.ts +114 -24
- package/resources/beta/beta.d.ts.map +1 -1
- package/resources/beta/beta.js.map +1 -1
- package/resources/beta/beta.mjs.map +1 -1
- package/resources/beta/external-plan-id.d.mts +114 -24
- package/resources/beta/external-plan-id.d.mts.map +1 -1
- package/resources/beta/external-plan-id.d.ts +114 -24
- package/resources/beta/external-plan-id.d.ts.map +1 -1
- package/resources/plans/plans.d.mts +57 -12
- package/resources/plans/plans.d.mts.map +1 -1
- package/resources/plans/plans.d.ts +57 -12
- 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.mts +265 -53
- package/resources/prices/prices.d.mts.map +1 -1
- package/resources/prices/prices.d.ts +265 -53
- 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/shared.d.mts +255 -51
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +255 -51
- package/resources/shared.d.ts.map +1 -1
- package/resources/subscriptions.d.mts +370 -74
- package/resources/subscriptions.d.mts.map +1 -1
- package/resources/subscriptions.d.ts +370 -74
- package/resources/subscriptions.d.ts.map +1 -1
- package/src/resources/beta/beta.ts +114 -24
- package/src/resources/beta/external-plan-id.ts +114 -24
- package/src/resources/plans/plans.ts +57 -12
- package/src/resources/prices/prices.ts +265 -53
- package/src/resources/shared.ts +255 -51
- package/src/resources/subscriptions.ts +370 -74
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -500,7 +500,8 @@ export namespace PlanCreateParams {
|
|
|
500
500
|
/**
|
|
501
501
|
* License allocations to associate with this price. Each entry defines a
|
|
502
502
|
* per-license credit pool granted each cadence. Requires license_type_id or
|
|
503
|
-
* license_type_configuration to be set.
|
|
503
|
+
* license_type_configuration to be set. Usage prices draw down from these
|
|
504
|
+
* allocations only if they set the same license type.
|
|
504
505
|
*/
|
|
505
506
|
license_allocations: Array<LicenseAllocationPrice.LicenseAllocation>;
|
|
506
507
|
|
|
@@ -581,7 +582,11 @@ export namespace PlanCreateParams {
|
|
|
581
582
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
582
583
|
|
|
583
584
|
/**
|
|
584
|
-
* The ID of the license type to associate with this price.
|
|
585
|
+
* The ID of the license type to associate with this price. On a usage price this
|
|
586
|
+
* also marks the price as eligible to draw down from that license type's
|
|
587
|
+
* allocation; a usage price created without it is billed normally. Usage prices
|
|
588
|
+
* with a license type must use the `unit` model, and only draw down when their
|
|
589
|
+
* currency matches the allocation's.
|
|
585
590
|
*/
|
|
586
591
|
license_type_id?: string | null;
|
|
587
592
|
|
|
@@ -706,7 +711,11 @@ export namespace PlanCreateParams {
|
|
|
706
711
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
707
712
|
|
|
708
713
|
/**
|
|
709
|
-
* The ID of the license type to associate with this price.
|
|
714
|
+
* The ID of the license type to associate with this price. On a usage price this
|
|
715
|
+
* also marks the price as eligible to draw down from that license type's
|
|
716
|
+
* allocation; a usage price created without it is billed normally. Usage prices
|
|
717
|
+
* with a license type must use the `unit` model, and only draw down when their
|
|
718
|
+
* currency matches the allocation's.
|
|
710
719
|
*/
|
|
711
720
|
license_type_id?: string | null;
|
|
712
721
|
|
|
@@ -861,7 +870,11 @@ export namespace PlanCreateParams {
|
|
|
861
870
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
862
871
|
|
|
863
872
|
/**
|
|
864
|
-
* The ID of the license type to associate with this price.
|
|
873
|
+
* The ID of the license type to associate with this price. On a usage price this
|
|
874
|
+
* also marks the price as eligible to draw down from that license type's
|
|
875
|
+
* allocation; a usage price created without it is billed normally. Usage prices
|
|
876
|
+
* with a license type must use the `unit` model, and only draw down when their
|
|
877
|
+
* currency matches the allocation's.
|
|
865
878
|
*/
|
|
866
879
|
license_type_id?: string | null;
|
|
867
880
|
|
|
@@ -1009,7 +1022,11 @@ export namespace PlanCreateParams {
|
|
|
1009
1022
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
1010
1023
|
|
|
1011
1024
|
/**
|
|
1012
|
-
* The ID of the license type to associate with this price.
|
|
1025
|
+
* The ID of the license type to associate with this price. On a usage price this
|
|
1026
|
+
* also marks the price as eligible to draw down from that license type's
|
|
1027
|
+
* allocation; a usage price created without it is billed normally. Usage prices
|
|
1028
|
+
* with a license type must use the `unit` model, and only draw down when their
|
|
1029
|
+
* currency matches the allocation's.
|
|
1013
1030
|
*/
|
|
1014
1031
|
license_type_id?: string | null;
|
|
1015
1032
|
|
|
@@ -1178,7 +1195,11 @@ export namespace PlanCreateParams {
|
|
|
1178
1195
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
1179
1196
|
|
|
1180
1197
|
/**
|
|
1181
|
-
* The ID of the license type to associate with this price.
|
|
1198
|
+
* The ID of the license type to associate with this price. On a usage price this
|
|
1199
|
+
* also marks the price as eligible to draw down from that license type's
|
|
1200
|
+
* allocation; a usage price created without it is billed normally. Usage prices
|
|
1201
|
+
* with a license type must use the `unit` model, and only draw down when their
|
|
1202
|
+
* currency matches the allocation's.
|
|
1182
1203
|
*/
|
|
1183
1204
|
license_type_id?: string | null;
|
|
1184
1205
|
|
|
@@ -1314,7 +1335,11 @@ export namespace PlanCreateParams {
|
|
|
1314
1335
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
1315
1336
|
|
|
1316
1337
|
/**
|
|
1317
|
-
* The ID of the license type to associate with this price.
|
|
1338
|
+
* The ID of the license type to associate with this price. On a usage price this
|
|
1339
|
+
* also marks the price as eligible to draw down from that license type's
|
|
1340
|
+
* allocation; a usage price created without it is billed normally. Usage prices
|
|
1341
|
+
* with a license type must use the `unit` model, and only draw down when their
|
|
1342
|
+
* currency matches the allocation's.
|
|
1318
1343
|
*/
|
|
1319
1344
|
license_type_id?: string | null;
|
|
1320
1345
|
|
|
@@ -1447,7 +1472,11 @@ export namespace PlanCreateParams {
|
|
|
1447
1472
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
1448
1473
|
|
|
1449
1474
|
/**
|
|
1450
|
-
* The ID of the license type to associate with this price.
|
|
1475
|
+
* The ID of the license type to associate with this price. On a usage price this
|
|
1476
|
+
* also marks the price as eligible to draw down from that license type's
|
|
1477
|
+
* allocation; a usage price created without it is billed normally. Usage prices
|
|
1478
|
+
* with a license type must use the `unit` model, and only draw down when their
|
|
1479
|
+
* currency matches the allocation's.
|
|
1451
1480
|
*/
|
|
1452
1481
|
license_type_id?: string | null;
|
|
1453
1482
|
|
|
@@ -1580,7 +1609,11 @@ export namespace PlanCreateParams {
|
|
|
1580
1609
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
1581
1610
|
|
|
1582
1611
|
/**
|
|
1583
|
-
* The ID of the license type to associate with this price.
|
|
1612
|
+
* The ID of the license type to associate with this price. On a usage price this
|
|
1613
|
+
* also marks the price as eligible to draw down from that license type's
|
|
1614
|
+
* allocation; a usage price created without it is billed normally. Usage prices
|
|
1615
|
+
* with a license type must use the `unit` model, and only draw down when their
|
|
1616
|
+
* currency matches the allocation's.
|
|
1584
1617
|
*/
|
|
1585
1618
|
license_type_id?: string | null;
|
|
1586
1619
|
|
|
@@ -1739,7 +1772,11 @@ export namespace PlanCreateParams {
|
|
|
1739
1772
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
1740
1773
|
|
|
1741
1774
|
/**
|
|
1742
|
-
* The ID of the license type to associate with this price.
|
|
1775
|
+
* The ID of the license type to associate with this price. On a usage price this
|
|
1776
|
+
* also marks the price as eligible to draw down from that license type's
|
|
1777
|
+
* allocation; a usage price created without it is billed normally. Usage prices
|
|
1778
|
+
* with a license type must use the `unit` model, and only draw down when their
|
|
1779
|
+
* currency matches the allocation's.
|
|
1743
1780
|
*/
|
|
1744
1781
|
license_type_id?: string | null;
|
|
1745
1782
|
|
|
@@ -1887,7 +1924,11 @@ export namespace PlanCreateParams {
|
|
|
1887
1924
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
1888
1925
|
|
|
1889
1926
|
/**
|
|
1890
|
-
* The ID of the license type to associate with this price.
|
|
1927
|
+
* The ID of the license type to associate with this price. On a usage price this
|
|
1928
|
+
* also marks the price as eligible to draw down from that license type's
|
|
1929
|
+
* allocation; a usage price created without it is billed normally. Usage prices
|
|
1930
|
+
* with a license type must use the `unit` model, and only draw down when their
|
|
1931
|
+
* currency matches the allocation's.
|
|
1891
1932
|
*/
|
|
1892
1933
|
license_type_id?: string | null;
|
|
1893
1934
|
|
|
@@ -2022,7 +2063,11 @@ export namespace PlanCreateParams {
|
|
|
2022
2063
|
invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
|
|
2023
2064
|
|
|
2024
2065
|
/**
|
|
2025
|
-
* The ID of the license type to associate with this price.
|
|
2066
|
+
* The ID of the license type to associate with this price. On a usage price this
|
|
2067
|
+
* also marks the price as eligible to draw down from that license type's
|
|
2068
|
+
* allocation; a usage price created without it is billed normally. Usage prices
|
|
2069
|
+
* with a license type must use the `unit` model, and only draw down when their
|
|
2070
|
+
* currency matches the allocation's.
|
|
2026
2071
|
*/
|
|
2027
2072
|
license_type_id?: string | null;
|
|
2028
2073
|
|