orb-billing 5.34.0 → 5.36.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 +16 -0
- package/package.json +1 -1
- package/resources/shared.d.ts +12 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/shared.js.map +1 -1
- package/resources/shared.mjs.map +1 -1
- package/resources/subscriptions.d.ts +14 -5
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/subscriptions.js +4 -0
- package/resources/subscriptions.js.map +1 -1
- package/resources/subscriptions.mjs +4 -0
- package/resources/subscriptions.mjs.map +1 -1
- package/src/resources/shared.ts +14 -0
- package/src/resources/subscriptions.ts +15 -5
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/resources/shared.ts
CHANGED
|
@@ -2743,6 +2743,20 @@ export interface NewAllocationPrice {
|
|
|
2743
2743
|
* The filters that determine which items the allocation applies to.
|
|
2744
2744
|
*/
|
|
2745
2745
|
filters?: Array<NewAllocationPrice.Filter> | null;
|
|
2746
|
+
|
|
2747
|
+
/**
|
|
2748
|
+
* The item ID that line items representing charges for this allocation will be
|
|
2749
|
+
* associated with. If not provided, the default allocation item for the currency
|
|
2750
|
+
* will be used (e.g. 'Included Allocation (USD)').
|
|
2751
|
+
*/
|
|
2752
|
+
item_id?: string | null;
|
|
2753
|
+
|
|
2754
|
+
/**
|
|
2755
|
+
* The (per-unit) cost basis of each created block. If non-zero, a customer will be
|
|
2756
|
+
* invoiced according to the quantity and per unit cost basis specified for the
|
|
2757
|
+
* allocation each cadence.
|
|
2758
|
+
*/
|
|
2759
|
+
per_unit_cost_basis?: string;
|
|
2746
2760
|
}
|
|
2747
2761
|
|
|
2748
2762
|
export namespace NewAllocationPrice {
|
|
@@ -268,6 +268,10 @@ export class Subscriptions extends APIResource {
|
|
|
268
268
|
* specified in the subscription's invoicing currency, when creating a
|
|
269
269
|
* subscription. E.g. pass in `10.00` to issue an invoice when usage amounts hit
|
|
270
270
|
* \$10.00 for a subscription that invoices in USD.
|
|
271
|
+
*
|
|
272
|
+
* ## Limits
|
|
273
|
+
*
|
|
274
|
+
* By default, Orb limits the number of subscriptions per customer to 100.
|
|
271
275
|
*/
|
|
272
276
|
create(
|
|
273
277
|
body: SubscriptionCreateParams,
|
|
@@ -6739,9 +6743,8 @@ export interface SubscriptionPriceIntervalsParams {
|
|
|
6739
6743
|
allow_invoice_credit_or_void?: boolean | null;
|
|
6740
6744
|
|
|
6741
6745
|
/**
|
|
6742
|
-
* If
|
|
6743
|
-
*
|
|
6744
|
-
* its end date. If not provided, behaviorwill follow account default.
|
|
6746
|
+
* If set, the default value to use for added/edited price intervals with an
|
|
6747
|
+
* end_date set.
|
|
6745
6748
|
*/
|
|
6746
6749
|
can_defer_billing?: boolean | null;
|
|
6747
6750
|
|
|
@@ -6769,6 +6772,13 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
6769
6772
|
*/
|
|
6770
6773
|
allocation_price?: Shared.NewAllocationPrice | null;
|
|
6771
6774
|
|
|
6775
|
+
/**
|
|
6776
|
+
* If true, an in-arrears price interval ending mid-cycle will defer billing the
|
|
6777
|
+
* final line item until the next scheduled invoice. If false, it will be billed on
|
|
6778
|
+
* its end date.
|
|
6779
|
+
*/
|
|
6780
|
+
can_defer_billing?: boolean | null;
|
|
6781
|
+
|
|
6772
6782
|
/**
|
|
6773
6783
|
* A list of discounts to initialize on the price interval.
|
|
6774
6784
|
*/
|
|
@@ -7570,9 +7580,9 @@ export namespace SubscriptionPriceIntervalsParams {
|
|
|
7570
7580
|
billing_cycle_day?: number | null;
|
|
7571
7581
|
|
|
7572
7582
|
/**
|
|
7573
|
-
* If true,
|
|
7583
|
+
* If true, an in-arrears price interval ending mid-cycle will defer billing the
|
|
7574
7584
|
* final line item until the next scheduled invoice. If false, it will be billed on
|
|
7575
|
-
* its end date.
|
|
7585
|
+
* its end date.
|
|
7576
7586
|
*/
|
|
7577
7587
|
can_defer_billing?: boolean | null;
|
|
7578
7588
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.36.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "5.
|
|
1
|
+
export declare const VERSION = "5.36.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '5.
|
|
1
|
+
export const VERSION = '5.36.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|