orb-billing 4.58.0 → 4.60.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 +21 -0
- package/package.json +1 -1
- package/resources/credit-notes.d.ts +4 -0
- package/resources/credit-notes.d.ts.map +1 -1
- package/resources/credit-notes.js.map +1 -1
- package/resources/credit-notes.mjs.map +1 -1
- package/resources/customers/customers.d.ts +78 -0
- package/resources/customers/customers.d.ts.map +1 -1
- package/resources/customers/customers.js.map +1 -1
- package/resources/customers/customers.mjs.map +1 -1
- package/resources/plans/plans.d.ts +25 -25
- package/resources/prices/prices.d.ts +28 -28
- package/resources/subscriptions.d.ts +124 -105
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/subscriptions.js +6 -5
- package/resources/subscriptions.js.map +1 -1
- package/resources/subscriptions.mjs +6 -5
- package/resources/subscriptions.mjs.map +1 -1
- package/src/resources/credit-notes.ts +5 -0
- package/src/resources/customers/customers.ts +94 -0
- package/src/resources/plans/plans.ts +25 -25
- package/src/resources/prices/prices.ts +28 -28
- package/src/resources/subscriptions.ts +126 -105
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -2495,7 +2495,7 @@ export declare namespace PriceCreateParams {
|
|
|
2495
2495
|
*/
|
|
2496
2496
|
currency: string;
|
|
2497
2497
|
/**
|
|
2498
|
-
* The id of the item the
|
|
2498
|
+
* The id of the item the price will be associated with.
|
|
2499
2499
|
*/
|
|
2500
2500
|
item_id: string;
|
|
2501
2501
|
model_type: 'unit';
|
|
@@ -2594,7 +2594,7 @@ export declare namespace PriceCreateParams {
|
|
|
2594
2594
|
*/
|
|
2595
2595
|
currency: string;
|
|
2596
2596
|
/**
|
|
2597
|
-
* The id of the item the
|
|
2597
|
+
* The id of the item the price will be associated with.
|
|
2598
2598
|
*/
|
|
2599
2599
|
item_id: string;
|
|
2600
2600
|
model_type: 'package';
|
|
@@ -2698,7 +2698,7 @@ export declare namespace PriceCreateParams {
|
|
|
2698
2698
|
*/
|
|
2699
2699
|
currency: string;
|
|
2700
2700
|
/**
|
|
2701
|
-
* The id of the item the
|
|
2701
|
+
* The id of the item the price will be associated with.
|
|
2702
2702
|
*/
|
|
2703
2703
|
item_id: string;
|
|
2704
2704
|
matrix_config: NewFloatingMatrixPrice.MatrixConfig;
|
|
@@ -2819,7 +2819,7 @@ export declare namespace PriceCreateParams {
|
|
|
2819
2819
|
*/
|
|
2820
2820
|
currency: string;
|
|
2821
2821
|
/**
|
|
2822
|
-
* The id of the item the
|
|
2822
|
+
* The id of the item the price will be associated with.
|
|
2823
2823
|
*/
|
|
2824
2824
|
item_id: string;
|
|
2825
2825
|
matrix_with_allocation_config: NewFloatingMatrixWithAllocationPrice.MatrixWithAllocationConfig;
|
|
@@ -2944,7 +2944,7 @@ export declare namespace PriceCreateParams {
|
|
|
2944
2944
|
*/
|
|
2945
2945
|
currency: string;
|
|
2946
2946
|
/**
|
|
2947
|
-
* The id of the item the
|
|
2947
|
+
* The id of the item the price will be associated with.
|
|
2948
2948
|
*/
|
|
2949
2949
|
item_id: string;
|
|
2950
2950
|
model_type: 'tiered';
|
|
@@ -3059,7 +3059,7 @@ export declare namespace PriceCreateParams {
|
|
|
3059
3059
|
*/
|
|
3060
3060
|
currency: string;
|
|
3061
3061
|
/**
|
|
3062
|
-
* The id of the item the
|
|
3062
|
+
* The id of the item the price will be associated with.
|
|
3063
3063
|
*/
|
|
3064
3064
|
item_id: string;
|
|
3065
3065
|
model_type: 'tiered_bps';
|
|
@@ -3180,7 +3180,7 @@ export declare namespace PriceCreateParams {
|
|
|
3180
3180
|
*/
|
|
3181
3181
|
currency: string;
|
|
3182
3182
|
/**
|
|
3183
|
-
* The id of the item the
|
|
3183
|
+
* The id of the item the price will be associated with.
|
|
3184
3184
|
*/
|
|
3185
3185
|
item_id: string;
|
|
3186
3186
|
model_type: 'bps';
|
|
@@ -3283,7 +3283,7 @@ export declare namespace PriceCreateParams {
|
|
|
3283
3283
|
*/
|
|
3284
3284
|
currency: string;
|
|
3285
3285
|
/**
|
|
3286
|
-
* The id of the item the
|
|
3286
|
+
* The id of the item the price will be associated with.
|
|
3287
3287
|
*/
|
|
3288
3288
|
item_id: string;
|
|
3289
3289
|
model_type: 'bulk_bps';
|
|
@@ -3399,7 +3399,7 @@ export declare namespace PriceCreateParams {
|
|
|
3399
3399
|
*/
|
|
3400
3400
|
currency: string;
|
|
3401
3401
|
/**
|
|
3402
|
-
* The id of the item the
|
|
3402
|
+
* The id of the item the price will be associated with.
|
|
3403
3403
|
*/
|
|
3404
3404
|
item_id: string;
|
|
3405
3405
|
model_type: 'bulk';
|
|
@@ -3509,7 +3509,7 @@ export declare namespace PriceCreateParams {
|
|
|
3509
3509
|
*/
|
|
3510
3510
|
currency: string;
|
|
3511
3511
|
/**
|
|
3512
|
-
* The id of the item the
|
|
3512
|
+
* The id of the item the price will be associated with.
|
|
3513
3513
|
*/
|
|
3514
3514
|
item_id: string;
|
|
3515
3515
|
model_type: 'threshold_total_amount';
|
|
@@ -3602,7 +3602,7 @@ export declare namespace PriceCreateParams {
|
|
|
3602
3602
|
*/
|
|
3603
3603
|
currency: string;
|
|
3604
3604
|
/**
|
|
3605
|
-
* The id of the item the
|
|
3605
|
+
* The id of the item the price will be associated with.
|
|
3606
3606
|
*/
|
|
3607
3607
|
item_id: string;
|
|
3608
3608
|
model_type: 'tiered_package';
|
|
@@ -3696,7 +3696,7 @@ export declare namespace PriceCreateParams {
|
|
|
3696
3696
|
currency: string;
|
|
3697
3697
|
grouped_tiered_config: Record<string, unknown>;
|
|
3698
3698
|
/**
|
|
3699
|
-
* The id of the item the
|
|
3699
|
+
* The id of the item the price will be associated with.
|
|
3700
3700
|
*/
|
|
3701
3701
|
item_id: string;
|
|
3702
3702
|
model_type: 'grouped_tiered';
|
|
@@ -3788,7 +3788,7 @@ export declare namespace PriceCreateParams {
|
|
|
3788
3788
|
*/
|
|
3789
3789
|
currency: string;
|
|
3790
3790
|
/**
|
|
3791
|
-
* The id of the item the
|
|
3791
|
+
* The id of the item the price will be associated with.
|
|
3792
3792
|
*/
|
|
3793
3793
|
item_id: string;
|
|
3794
3794
|
max_group_tiered_package_config: Record<string, unknown>;
|
|
@@ -3881,7 +3881,7 @@ export declare namespace PriceCreateParams {
|
|
|
3881
3881
|
*/
|
|
3882
3882
|
currency: string;
|
|
3883
3883
|
/**
|
|
3884
|
-
* The id of the item the
|
|
3884
|
+
* The id of the item the price will be associated with.
|
|
3885
3885
|
*/
|
|
3886
3886
|
item_id: string;
|
|
3887
3887
|
model_type: 'tiered_with_minimum';
|
|
@@ -3974,7 +3974,7 @@ export declare namespace PriceCreateParams {
|
|
|
3974
3974
|
*/
|
|
3975
3975
|
currency: string;
|
|
3976
3976
|
/**
|
|
3977
|
-
* The id of the item the
|
|
3977
|
+
* The id of the item the price will be associated with.
|
|
3978
3978
|
*/
|
|
3979
3979
|
item_id: string;
|
|
3980
3980
|
model_type: 'package_with_allocation';
|
|
@@ -4067,7 +4067,7 @@ export declare namespace PriceCreateParams {
|
|
|
4067
4067
|
*/
|
|
4068
4068
|
currency: string;
|
|
4069
4069
|
/**
|
|
4070
|
-
* The id of the item the
|
|
4070
|
+
* The id of the item the price will be associated with.
|
|
4071
4071
|
*/
|
|
4072
4072
|
item_id: string;
|
|
4073
4073
|
model_type: 'tiered_package_with_minimum';
|
|
@@ -4160,7 +4160,7 @@ export declare namespace PriceCreateParams {
|
|
|
4160
4160
|
*/
|
|
4161
4161
|
currency: string;
|
|
4162
4162
|
/**
|
|
4163
|
-
* The id of the item the
|
|
4163
|
+
* The id of the item the price will be associated with.
|
|
4164
4164
|
*/
|
|
4165
4165
|
item_id: string;
|
|
4166
4166
|
model_type: 'unit_with_percent';
|
|
@@ -4253,7 +4253,7 @@ export declare namespace PriceCreateParams {
|
|
|
4253
4253
|
*/
|
|
4254
4254
|
currency: string;
|
|
4255
4255
|
/**
|
|
4256
|
-
* The id of the item the
|
|
4256
|
+
* The id of the item the price will be associated with.
|
|
4257
4257
|
*/
|
|
4258
4258
|
item_id: string;
|
|
4259
4259
|
model_type: 'tiered_with_proration';
|
|
@@ -4346,7 +4346,7 @@ export declare namespace PriceCreateParams {
|
|
|
4346
4346
|
*/
|
|
4347
4347
|
currency: string;
|
|
4348
4348
|
/**
|
|
4349
|
-
* The id of the item the
|
|
4349
|
+
* The id of the item the price will be associated with.
|
|
4350
4350
|
*/
|
|
4351
4351
|
item_id: string;
|
|
4352
4352
|
model_type: 'unit_with_proration';
|
|
@@ -4440,7 +4440,7 @@ export declare namespace PriceCreateParams {
|
|
|
4440
4440
|
currency: string;
|
|
4441
4441
|
grouped_allocation_config: Record<string, unknown>;
|
|
4442
4442
|
/**
|
|
4443
|
-
* The id of the item the
|
|
4443
|
+
* The id of the item the price will be associated with.
|
|
4444
4444
|
*/
|
|
4445
4445
|
item_id: string;
|
|
4446
4446
|
model_type: 'grouped_allocation';
|
|
@@ -4533,7 +4533,7 @@ export declare namespace PriceCreateParams {
|
|
|
4533
4533
|
currency: string;
|
|
4534
4534
|
grouped_with_prorated_minimum_config: Record<string, unknown>;
|
|
4535
4535
|
/**
|
|
4536
|
-
* The id of the item the
|
|
4536
|
+
* The id of the item the price will be associated with.
|
|
4537
4537
|
*/
|
|
4538
4538
|
item_id: string;
|
|
4539
4539
|
model_type: 'grouped_with_prorated_minimum';
|
|
@@ -4626,7 +4626,7 @@ export declare namespace PriceCreateParams {
|
|
|
4626
4626
|
currency: string;
|
|
4627
4627
|
grouped_with_metered_minimum_config: Record<string, unknown>;
|
|
4628
4628
|
/**
|
|
4629
|
-
* The id of the item the
|
|
4629
|
+
* The id of the item the price will be associated with.
|
|
4630
4630
|
*/
|
|
4631
4631
|
item_id: string;
|
|
4632
4632
|
model_type: 'grouped_with_metered_minimum';
|
|
@@ -4718,7 +4718,7 @@ export declare namespace PriceCreateParams {
|
|
|
4718
4718
|
*/
|
|
4719
4719
|
currency: string;
|
|
4720
4720
|
/**
|
|
4721
|
-
* The id of the item the
|
|
4721
|
+
* The id of the item the price will be associated with.
|
|
4722
4722
|
*/
|
|
4723
4723
|
item_id: string;
|
|
4724
4724
|
matrix_with_display_name_config: Record<string, unknown>;
|
|
@@ -4812,7 +4812,7 @@ export declare namespace PriceCreateParams {
|
|
|
4812
4812
|
*/
|
|
4813
4813
|
currency: string;
|
|
4814
4814
|
/**
|
|
4815
|
-
* The id of the item the
|
|
4815
|
+
* The id of the item the price will be associated with.
|
|
4816
4816
|
*/
|
|
4817
4817
|
item_id: string;
|
|
4818
4818
|
model_type: 'bulk_with_proration';
|
|
@@ -4905,7 +4905,7 @@ export declare namespace PriceCreateParams {
|
|
|
4905
4905
|
currency: string;
|
|
4906
4906
|
grouped_tiered_package_config: Record<string, unknown>;
|
|
4907
4907
|
/**
|
|
4908
|
-
* The id of the item the
|
|
4908
|
+
* The id of the item the price will be associated with.
|
|
4909
4909
|
*/
|
|
4910
4910
|
item_id: string;
|
|
4911
4911
|
model_type: 'grouped_tiered_package';
|
|
@@ -4997,7 +4997,7 @@ export declare namespace PriceCreateParams {
|
|
|
4997
4997
|
*/
|
|
4998
4998
|
currency: string;
|
|
4999
4999
|
/**
|
|
5000
|
-
* The id of the item the
|
|
5000
|
+
* The id of the item the price will be associated with.
|
|
5001
5001
|
*/
|
|
5002
5002
|
item_id: string;
|
|
5003
5003
|
model_type: 'scalable_matrix_with_unit_pricing';
|
|
@@ -5090,7 +5090,7 @@ export declare namespace PriceCreateParams {
|
|
|
5090
5090
|
*/
|
|
5091
5091
|
currency: string;
|
|
5092
5092
|
/**
|
|
5093
|
-
* The id of the item the
|
|
5093
|
+
* The id of the item the price will be associated with.
|
|
5094
5094
|
*/
|
|
5095
5095
|
item_id: string;
|
|
5096
5096
|
model_type: 'scalable_matrix_with_tiered_pricing';
|
|
@@ -5184,7 +5184,7 @@ export declare namespace PriceCreateParams {
|
|
|
5184
5184
|
*/
|
|
5185
5185
|
currency: string;
|
|
5186
5186
|
/**
|
|
5187
|
-
* The id of the item the
|
|
5187
|
+
* The id of the item the price will be associated with.
|
|
5188
5188
|
*/
|
|
5189
5189
|
item_id: string;
|
|
5190
5190
|
model_type: 'cumulative_grouped_bulk';
|