orb-billing 2.0.1 → 2.1.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 +20 -0
- package/README.md +49 -3
- package/error.js +1 -1
- package/error.js.map +1 -1
- package/error.mjs +1 -1
- package/error.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/customers/costs.d.ts +2 -2
- package/resources/customers/credits/credits.d.ts +2 -0
- package/resources/customers/credits/credits.d.ts.map +1 -1
- package/resources/customers/credits/credits.js.map +1 -1
- package/resources/customers/credits/credits.mjs.map +1 -1
- package/resources/invoice-line-items.d.ts +1 -1
- package/resources/invoices.d.ts +8 -12
- package/resources/invoices.d.ts.map +1 -1
- package/resources/invoices.js.map +1 -1
- package/resources/invoices.mjs.map +1 -1
- package/resources/plans/plans.d.ts +0 -13
- 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 +1 -45
- 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 +2 -50
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/subscriptions.js.map +1 -1
- package/resources/subscriptions.mjs.map +1 -1
- package/src/error.ts +1 -1
- package/src/resources/customers/costs.ts +2 -2
- package/src/resources/customers/credits/credits.ts +4 -0
- package/src/resources/invoice-line-items.ts +1 -1
- package/src/resources/invoices.ts +8 -13
- package/src/resources/plans/plans.ts +0 -16
- package/src/resources/prices/prices.ts +1 -55
- package/src/resources/subscriptions.ts +2 -61
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1580,7 +1580,7 @@ export namespace Subscription {
|
|
|
1580
1580
|
* }
|
|
1581
1581
|
* ```
|
|
1582
1582
|
*
|
|
1583
|
-
*
|
|
1583
|
+
* ## Fixed fees
|
|
1584
1584
|
*
|
|
1585
1585
|
* Fixed fees are prices that are applied independent of usage quantities, and
|
|
1586
1586
|
* follow unit pricing. They also have an additional parameter
|
|
@@ -1966,7 +1966,7 @@ export namespace SubscriptionFetchCostsResponse {
|
|
|
1966
1966
|
* }
|
|
1967
1967
|
* ```
|
|
1968
1968
|
*
|
|
1969
|
-
*
|
|
1969
|
+
* ## Fixed fees
|
|
1970
1970
|
*
|
|
1971
1971
|
* Fixed fees are prices that are applied independent of usage quantities, and
|
|
1972
1972
|
* follow unit pricing. They also have an additional parameter
|
|
@@ -2138,11 +2138,6 @@ export namespace SubscriptionCreateParams {
|
|
|
2138
2138
|
* Rate per unit of usage
|
|
2139
2139
|
*/
|
|
2140
2140
|
unit_amount: string;
|
|
2141
|
-
|
|
2142
|
-
/**
|
|
2143
|
-
* Multiplier to scale rated quantity by
|
|
2144
|
-
*/
|
|
2145
|
-
scaling_factor?: number | null;
|
|
2146
2141
|
}
|
|
2147
2142
|
|
|
2148
2143
|
/**
|
|
@@ -2303,12 +2298,6 @@ export namespace SubscriptionCreateParams {
|
|
|
2303
2298
|
* Matrix values for specified matrix grouping keys
|
|
2304
2299
|
*/
|
|
2305
2300
|
matrix_values: Array<MatrixConfig.MatrixValue>;
|
|
2306
|
-
|
|
2307
|
-
/**
|
|
2308
|
-
* Default optional multiplier to scale rated quantities that fall into the default
|
|
2309
|
-
* bucket by
|
|
2310
|
-
*/
|
|
2311
|
-
scaling_factor?: number | null;
|
|
2312
2301
|
}
|
|
2313
2302
|
|
|
2314
2303
|
export namespace MatrixConfig {
|
|
@@ -2324,11 +2313,6 @@ export namespace SubscriptionCreateParams {
|
|
|
2324
2313
|
* Unit price for the specified dimension_values
|
|
2325
2314
|
*/
|
|
2326
2315
|
unit_amount: string;
|
|
2327
|
-
|
|
2328
|
-
/**
|
|
2329
|
-
* Optional multiplier to scale rated quantities by
|
|
2330
|
-
*/
|
|
2331
|
-
scaling_factor?: number | null;
|
|
2332
2316
|
}
|
|
2333
2317
|
}
|
|
2334
2318
|
|
|
@@ -3439,11 +3423,6 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
3439
3423
|
* Rate per unit of usage
|
|
3440
3424
|
*/
|
|
3441
3425
|
unit_amount: string;
|
|
3442
|
-
|
|
3443
|
-
/**
|
|
3444
|
-
* Multiplier to scale rated quantity by
|
|
3445
|
-
*/
|
|
3446
|
-
scaling_factor?: number | null;
|
|
3447
3426
|
}
|
|
3448
3427
|
}
|
|
3449
3428
|
|
|
@@ -3586,12 +3565,6 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
3586
3565
|
* Matrix values for specified matrix grouping keys
|
|
3587
3566
|
*/
|
|
3588
3567
|
matrix_values: Array<MatrixConfig.MatrixValue>;
|
|
3589
|
-
|
|
3590
|
-
/**
|
|
3591
|
-
* Default optional multiplier to scale rated quantities that fall into the default
|
|
3592
|
-
* bucket by
|
|
3593
|
-
*/
|
|
3594
|
-
scaling_factor?: number | null;
|
|
3595
3568
|
}
|
|
3596
3569
|
|
|
3597
3570
|
export namespace MatrixConfig {
|
|
@@ -3607,11 +3580,6 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
3607
3580
|
* Unit price for the specified dimension_values
|
|
3608
3581
|
*/
|
|
3609
3582
|
unit_amount: string;
|
|
3610
|
-
|
|
3611
|
-
/**
|
|
3612
|
-
* Optional multiplier to scale rated quantities by
|
|
3613
|
-
*/
|
|
3614
|
-
scaling_factor?: number | null;
|
|
3615
3583
|
}
|
|
3616
3584
|
}
|
|
3617
3585
|
}
|
|
@@ -3691,12 +3659,6 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
3691
3659
|
* Matrix values for specified matrix grouping keys
|
|
3692
3660
|
*/
|
|
3693
3661
|
matrix_values: Array<MatrixWithAllocationConfig.MatrixValue>;
|
|
3694
|
-
|
|
3695
|
-
/**
|
|
3696
|
-
* Default optional multiplier to scale rated quantities that fall into the default
|
|
3697
|
-
* bucket by
|
|
3698
|
-
*/
|
|
3699
|
-
scaling_factor?: number | null;
|
|
3700
3662
|
}
|
|
3701
3663
|
|
|
3702
3664
|
export namespace MatrixWithAllocationConfig {
|
|
@@ -3712,11 +3674,6 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
3712
3674
|
* Unit price for the specified dimension_values
|
|
3713
3675
|
*/
|
|
3714
3676
|
unit_amount: string;
|
|
3715
|
-
|
|
3716
|
-
/**
|
|
3717
|
-
* Optional multiplier to scale rated quantities by
|
|
3718
|
-
*/
|
|
3719
|
-
scaling_factor?: number | null;
|
|
3720
3677
|
}
|
|
3721
3678
|
}
|
|
3722
3679
|
}
|
|
@@ -4604,11 +4561,6 @@ export namespace SubscriptionSchedulePlanChangeParams {
|
|
|
4604
4561
|
* Rate per unit of usage
|
|
4605
4562
|
*/
|
|
4606
4563
|
unit_amount: string;
|
|
4607
|
-
|
|
4608
|
-
/**
|
|
4609
|
-
* Multiplier to scale rated quantity by
|
|
4610
|
-
*/
|
|
4611
|
-
scaling_factor?: number | null;
|
|
4612
4564
|
}
|
|
4613
4565
|
|
|
4614
4566
|
/**
|
|
@@ -4769,12 +4721,6 @@ export namespace SubscriptionSchedulePlanChangeParams {
|
|
|
4769
4721
|
* Matrix values for specified matrix grouping keys
|
|
4770
4722
|
*/
|
|
4771
4723
|
matrix_values: Array<MatrixConfig.MatrixValue>;
|
|
4772
|
-
|
|
4773
|
-
/**
|
|
4774
|
-
* Default optional multiplier to scale rated quantities that fall into the default
|
|
4775
|
-
* bucket by
|
|
4776
|
-
*/
|
|
4777
|
-
scaling_factor?: number | null;
|
|
4778
4724
|
}
|
|
4779
4725
|
|
|
4780
4726
|
export namespace MatrixConfig {
|
|
@@ -4790,11 +4736,6 @@ export namespace SubscriptionSchedulePlanChangeParams {
|
|
|
4790
4736
|
* Unit price for the specified dimension_values
|
|
4791
4737
|
*/
|
|
4792
4738
|
unit_amount: string;
|
|
4793
|
-
|
|
4794
|
-
/**
|
|
4795
|
-
* Optional multiplier to scale rated quantities by
|
|
4796
|
-
*/
|
|
4797
|
-
scaling_factor?: number | null;
|
|
4798
4739
|
}
|
|
4799
4740
|
}
|
|
4800
4741
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '2.0
|
|
1
|
+
export const VERSION = '2.1.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "2.0
|
|
1
|
+
export declare const VERSION = "2.1.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '2.0
|
|
1
|
+
export const VERSION = '2.1.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|