@archildata/api-types 0.0.71 → 0.0.72
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/index.d.ts +10 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1748,6 +1748,8 @@ export interface components {
|
|
|
1748
1748
|
* @enum {string}
|
|
1749
1749
|
*/
|
|
1750
1750
|
timing?: "immediate" | "period_end";
|
|
1751
|
+
/** @description Preview the purchase with the intro offer, as BillingSubscribeRequest. */
|
|
1752
|
+
introOffer?: boolean;
|
|
1751
1753
|
};
|
|
1752
1754
|
BillingSubscribeRequest: {
|
|
1753
1755
|
/** @enum {string} */
|
|
@@ -1760,8 +1762,13 @@ export interface components {
|
|
|
1760
1762
|
consent: true;
|
|
1761
1763
|
paymentMethodId?: string;
|
|
1762
1764
|
setupIntentId?: string;
|
|
1763
|
-
/**
|
|
1765
|
+
/**
|
|
1766
|
+
* @deprecated
|
|
1767
|
+
* @description Start Team on its free trial instead of billing it now. The card in paymentMethodId or setupIntentId is charged when the trial ends. Team only, and not combined with introOffer. Refused with trial_unavailable once the account has had the trial. Superseded by introOffer.
|
|
1768
|
+
*/
|
|
1764
1769
|
trial?: boolean;
|
|
1770
|
+
/** @description Start Team with half off its first month, the sign-up path for accounts asking for Enterprise. Team only. Refused with intro_offer_unavailable once the account has paid money on an invoice; a $0 invoice, such as a trial's first, does not count. */
|
|
1771
|
+
introOffer?: boolean;
|
|
1765
1772
|
};
|
|
1766
1773
|
BillingChangeRequest: {
|
|
1767
1774
|
/** @enum {string} */
|
|
@@ -3798,7 +3805,7 @@ export interface operations {
|
|
|
3798
3805
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
3799
3806
|
};
|
|
3800
3807
|
};
|
|
3801
|
-
/** @description The requested change does not apply to the current subscription, with the current state in data (`already_on_plan`, `change_not_allowed`, `sales_managed_plan`, `no_subscription`, `multiple_subscriptions`, `managed_billing`) */
|
|
3808
|
+
/** @description The requested change does not apply to the current subscription, with the current state in data (`already_on_plan`, `change_not_allowed`, `sales_managed_plan`, `no_subscription`, `multiple_subscriptions`, `managed_billing`). The intro offer is refused to an account that has paid money on an invoice before, and to anything but a purchase (`intro_offer_unavailable`). */
|
|
3802
3809
|
409: {
|
|
3803
3810
|
headers: {
|
|
3804
3811
|
[name: string]: unknown;
|
|
@@ -3835,7 +3842,7 @@ export interface operations {
|
|
|
3835
3842
|
400: components["responses"]["ValidationError"];
|
|
3836
3843
|
401: components["responses"]["Unauthorized"];
|
|
3837
3844
|
404: components["responses"]["NotFound"];
|
|
3838
|
-
/** @description The account already has a subscription (`already_subscribed`), the operationId was used for a different request (`operation_conflict`), or the setup is incomplete (`setup_incomplete`); the current state is in data. A trial is refused when the account has had it (`trial_unavailable`). */
|
|
3845
|
+
/** @description The account already has a subscription (`already_subscribed`), the operationId was used for a different request (`operation_conflict`), or the setup is incomplete (`setup_incomplete`); the current state is in data. A trial is refused when the account has had it (`trial_unavailable`), and the intro offer to an account that has paid money on an invoice before (`intro_offer_unavailable`). */
|
|
3839
3846
|
409: {
|
|
3840
3847
|
headers: {
|
|
3841
3848
|
[name: string]: unknown;
|