@archildata/api-types 0.0.71 → 0.0.73
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 +6 -4
- 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,8 @@ export interface components {
|
|
|
1760
1762
|
consent: true;
|
|
1761
1763
|
paymentMethodId?: string;
|
|
1762
1764
|
setupIntentId?: string;
|
|
1763
|
-
/** @description Start Team
|
|
1764
|
-
|
|
1765
|
+
/** @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. */
|
|
1766
|
+
introOffer?: boolean;
|
|
1765
1767
|
};
|
|
1766
1768
|
BillingChangeRequest: {
|
|
1767
1769
|
/** @enum {string} */
|
|
@@ -3798,7 +3800,7 @@ export interface operations {
|
|
|
3798
3800
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
3799
3801
|
};
|
|
3800
3802
|
};
|
|
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`) */
|
|
3803
|
+
/** @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
3804
|
409: {
|
|
3803
3805
|
headers: {
|
|
3804
3806
|
[name: string]: unknown;
|
|
@@ -3835,7 +3837,7 @@ export interface operations {
|
|
|
3835
3837
|
400: components["responses"]["ValidationError"];
|
|
3836
3838
|
401: components["responses"]["Unauthorized"];
|
|
3837
3839
|
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.
|
|
3840
|
+
/** @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. The intro offer is refused to an account that has paid money on an invoice before (`intro_offer_unavailable`). */
|
|
3839
3841
|
409: {
|
|
3840
3842
|
headers: {
|
|
3841
3843
|
[name: string]: unknown;
|