@archildata/api-types 0.0.70 → 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.
Files changed (2) hide show
  1. package/index.d.ts +15 -5
  2. 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
- /** @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. Refused with trial_unavailable once the account has had the trial. */
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} */
@@ -2291,8 +2298,11 @@ export interface components {
2291
2298
  * @default 86400
2292
2299
  */
2293
2300
  max_ttl_seconds: number;
2294
- /** @description Pause after this many seconds without a direct process connection, preserving memory and processes for resume. Omit or set to zero to disable idle expiry. */
2295
- idle_ttl_seconds?: number;
2301
+ /**
2302
+ * @description Pause after this many seconds without a direct process connection, preserving memory and processes for resume. Defaults to 30 minutes; zero disables idle expiry.
2303
+ * @default 1800
2304
+ */
2305
+ idle_ttl_seconds: number;
2296
2306
  /** @description Maximum number of concurrently attached process sessions. Detached processes and one-shot process controls do not count. */
2297
2307
  max_concurrent_execs?: number;
2298
2308
  };
@@ -3795,7 +3805,7 @@ export interface operations {
3795
3805
  "application/json": components["schemas"]["ErrorResponse"];
3796
3806
  };
3797
3807
  };
3798
- /** @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`). */
3799
3809
  409: {
3800
3810
  headers: {
3801
3811
  [name: string]: unknown;
@@ -3832,7 +3842,7 @@ export interface operations {
3832
3842
  400: components["responses"]["ValidationError"];
3833
3843
  401: components["responses"]["Unauthorized"];
3834
3844
  404: components["responses"]["NotFound"];
3835
- /** @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`). */
3836
3846
  409: {
3837
3847
  headers: {
3838
3848
  [name: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@archildata/api-types",
3
- "version": "0.0.70",
3
+ "version": "0.0.72",
4
4
  "description": "API types for the Archil control plane",
5
5
  "type": "module",
6
6
  "types": "index.d.ts",