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.
@@ -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 true, ending an in-arrears price interval mid-cycle will defer billing the
6743
- * final line itemuntil the next scheduled invoice. If false, it will be billed on
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, ending an in-arrears price interval mid-cycle will defer billing the
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. If not provided, behavior will follow account default.
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.34.0'; // x-release-please-version
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.34.0";
1
+ export declare const VERSION = "5.36.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '5.34.0'; // x-release-please-version
4
+ exports.VERSION = '5.36.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '5.34.0'; // x-release-please-version
1
+ export const VERSION = '5.36.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map