orb-billing 6.18.0 → 6.20.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 +14 -0
- package/client.d.mts +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/invoices.d.mts +29 -2
- package/resources/invoices.d.mts.map +1 -1
- package/resources/invoices.d.ts +29 -2
- package/resources/invoices.d.ts.map +1 -1
- package/resources/invoices.js +2 -2
- package/resources/invoices.js.map +1 -1
- package/resources/invoices.mjs +2 -2
- package/resources/invoices.mjs.map +1 -1
- package/resources/shared.d.mts +14 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +14 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/subscriptions.d.mts +13 -0
- package/resources/subscriptions.d.mts.map +1 -1
- package/resources/subscriptions.d.ts +13 -0
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/subscriptions.js +13 -0
- package/resources/subscriptions.js.map +1 -1
- package/resources/subscriptions.mjs +13 -0
- package/resources/subscriptions.mjs.map +1 -1
- package/src/client.ts +2 -0
- package/src/resources/index.ts +1 -0
- package/src/resources/invoices.ts +38 -2
- package/src/resources/shared.ts +16 -0
- package/src/resources/subscriptions.ts +13 -0
- 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
|
@@ -693,6 +693,19 @@ export declare class Subscriptions extends APIResource {
|
|
|
693
693
|
* on the price interval. To remove a price interval entirely from a subscription,
|
|
694
694
|
* set the `end_date` to be equivalent to the `start_date`.
|
|
695
695
|
*
|
|
696
|
+
* ## Trials
|
|
697
|
+
*
|
|
698
|
+
* Price intervals inside a subscription's trial period cannot be modified through
|
|
699
|
+
* this endpoint. The restriction applies to the whole price interval, not only to
|
|
700
|
+
* its dates, so a request that edits `filter` or `usage_customer_ids` and leaves
|
|
701
|
+
* the dates unset is rejected in the same way. Trial boundaries are moved with the
|
|
702
|
+
* [update trial](/api-reference/subscription/update-trial) endpoint. A price also
|
|
703
|
+
* cannot be added with a `start_date` that falls before the trial ends.
|
|
704
|
+
*
|
|
705
|
+
* Each usage price in the trial has a second price interval that begins when the
|
|
706
|
+
* trial ends and is not subject to these restrictions. Editing that interval
|
|
707
|
+
* applies the change to all usage from the trial end onward.
|
|
708
|
+
*
|
|
696
709
|
* ## Fixed fee quantity transitions
|
|
697
710
|
*
|
|
698
711
|
* The fixed fee quantity transitions for a fixed fee price interval can also be
|