@archildata/api-types 0.0.59 → 0.0.61
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 +38 -12
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1240,7 +1240,7 @@ export interface components {
|
|
|
1240
1240
|
/** @enum {string} */
|
|
1241
1241
|
billingMode: "not_setup" | "self_serve" | "managed";
|
|
1242
1242
|
/** @enum {string} */
|
|
1243
|
-
plan: "developer" | "team" | "enterprise" | "unknown";
|
|
1243
|
+
plan: "free" | "developer" | "team" | "enterprise" | "unknown";
|
|
1244
1244
|
/** @description Current subscription status, `none`, or `managed`. */
|
|
1245
1245
|
subscriptionStatus: string;
|
|
1246
1246
|
billingPeriod?: components["schemas"]["BillingPeriod"];
|
|
@@ -1466,6 +1466,8 @@ export interface components {
|
|
|
1466
1466
|
consent: true;
|
|
1467
1467
|
paymentMethodId?: string;
|
|
1468
1468
|
setupIntentId?: string;
|
|
1469
|
+
/** @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, and with trial_not_offered where free trials are not offered. */
|
|
1470
|
+
trial?: boolean;
|
|
1469
1471
|
};
|
|
1470
1472
|
BillingChangeRequest: {
|
|
1471
1473
|
/** @enum {string} */
|
|
@@ -1525,7 +1527,7 @@ export interface components {
|
|
|
1525
1527
|
/** @enum {string} */
|
|
1526
1528
|
kind: "subscribe" | "upgrade" | "downgrade" | "next_invoice";
|
|
1527
1529
|
/** @enum {string} */
|
|
1528
|
-
currentPlan: "none" | "developer" | "team" | "enterprise" | "unknown";
|
|
1530
|
+
currentPlan: "none" | "free" | "developer" | "team" | "enterprise" | "unknown";
|
|
1529
1531
|
/** @enum {string} */
|
|
1530
1532
|
targetPlan?: "developer" | "team";
|
|
1531
1533
|
/** @enum {string} */
|
|
@@ -1563,13 +1565,18 @@ export interface components {
|
|
|
1563
1565
|
};
|
|
1564
1566
|
BillingSubscriptionState: {
|
|
1565
1567
|
/** @enum {string} */
|
|
1566
|
-
plan: "developer" | "team" | "enterprise" | "unknown";
|
|
1568
|
+
plan: "free" | "developer" | "team" | "enterprise" | "unknown";
|
|
1567
1569
|
/** @description Current subscription status, or `none`. */
|
|
1568
1570
|
subscriptionStatus: string;
|
|
1569
1571
|
billingPeriod?: components["schemas"]["BillingPeriod"];
|
|
1570
1572
|
/** Format: int64 */
|
|
1571
1573
|
scheduledCancellationAt?: number;
|
|
1572
1574
|
scheduledChange?: components["schemas"]["BillingScheduledChange"];
|
|
1575
|
+
/**
|
|
1576
|
+
* Format: int64
|
|
1577
|
+
* @description When a free trial running now ends and the plan starts billing (Unix seconds).
|
|
1578
|
+
*/
|
|
1579
|
+
trialEndsAt?: number;
|
|
1573
1580
|
};
|
|
1574
1581
|
ApiResponse_BillingSubscriptionState: {
|
|
1575
1582
|
success: boolean;
|
|
@@ -1600,7 +1607,7 @@ export interface components {
|
|
|
1600
1607
|
*/
|
|
1601
1608
|
state?: "applied" | "pending" | "scheduled";
|
|
1602
1609
|
/** @enum {string} */
|
|
1603
|
-
plan?: "developer" | "team" | "enterprise" | "unknown";
|
|
1610
|
+
plan?: "free" | "developer" | "team" | "enterprise" | "unknown";
|
|
1604
1611
|
subscriptionStatus?: string;
|
|
1605
1612
|
scheduledChange?: components["schemas"]["BillingScheduledChange"];
|
|
1606
1613
|
nextAction?: components["schemas"]["BillingNextAction"];
|
|
@@ -1724,9 +1731,9 @@ export interface components {
|
|
|
1724
1731
|
/** @description Denied addresses block all traffic to them, and allowed addresses admit all traffic to them regardless of domain rules. Other connections are matched by TLS SNI, or HTTP Host on any port, against domain denies, then domain allows, then the default. When domain rules are present, TCP connections without a hostname are denied; UDP follows the address rules and the default, except that UDP port 443 is denied. Header transforms, forwarding, and drain selectors apply to plaintext HTTP on any port, and to TLS on any port whose handshake offers HTTP through ALPN (or, on port 443, offers no ALPN). */
|
|
1725
1732
|
SandboxEgressPolicy: {
|
|
1726
1733
|
default: components["schemas"]["SandboxNetworkAction"];
|
|
1727
|
-
/** @description Allowed IPv4 addresses, CIDR ranges,
|
|
1734
|
+
/** @description Allowed IPv4 addresses, CIDR ranges, lowercase domain patterns using * wildcards, or target objects with optional outbound HTTPS request transformations. The first matching domain rule wins, including its transformations and forwarding. Numeric wildcard IP targets such as 10.0.0.* are rejected; use a CIDR range instead. Asterisk matches zero or more characters, including dots; mount.*.archil.com matches mount endpoints across fleets. A leading *. matches subdomains but not the apex domain, including when applying transformations. */
|
|
1728
1735
|
allow?: (string | components["schemas"]["SandboxEgressRule"])[];
|
|
1729
|
-
/** @description Denied IPv4 addresses, CIDR ranges,
|
|
1736
|
+
/** @description Denied IPv4 addresses, CIDR ranges, or lowercase domain patterns using * wildcards. Numeric wildcard IP targets such as 10.0.0.* are rejected; use a CIDR range instead. Asterisk matches zero or more characters, including dots; data.*.archil.com matches data endpoints across fleets. A leading *. matches subdomains but not the apex domain. */
|
|
1730
1737
|
deny?: string[];
|
|
1731
1738
|
/** @description Optional hosts whose HTTP(S) requests should finish before pausing, regardless of URL path. Pausing gates new matching requests and waits up to ten minutes by default for active responses, including streams, before taking a snapshot. Errors stop counting, and expiry proceeds with the snapshot. This does not limit requests during normal operation. Selectors do not grant network access. Matching uses the original request host before transformations or forwarding. Policies with domain rules apply selectors on any port; policies with only selectors apply them on TCP ports 80 and 443. Connections may need to be retried after resume. */
|
|
1732
1739
|
drain_on_pause?: string[];
|
|
@@ -1751,11 +1758,12 @@ export interface components {
|
|
|
1751
1758
|
/**
|
|
1752
1759
|
* @description Sandbox network policy. New sandboxes on free plans are managed: their
|
|
1753
1760
|
* egress denies everything except Archil's allowlist of package
|
|
1754
|
-
* registries, Git hosts, OS package mirrors,
|
|
1755
|
-
*
|
|
1756
|
-
*
|
|
1757
|
-
*
|
|
1758
|
-
*
|
|
1761
|
+
* registries, Git hosts, OS package mirrors, model provider APIs, and
|
|
1762
|
+
* managed fleet mount/data endpoints (mount.*.archil.com and
|
|
1763
|
+
* data.*.archil.com). Free plans cannot set an egress policy; a create
|
|
1764
|
+
* request with one is rejected with `sandbox_network_plan_required`,
|
|
1765
|
+
* as are policy updates. Start/resume and forks retain the stored policy.
|
|
1766
|
+
* For paid accounts, egress is unrestricted when omitted.
|
|
1759
1767
|
*/
|
|
1760
1768
|
SandboxNetwork: {
|
|
1761
1769
|
egress?: components["schemas"]["SandboxEgressPolicy"];
|
|
@@ -3360,7 +3368,7 @@ export interface operations {
|
|
|
3360
3368
|
400: components["responses"]["ValidationError"];
|
|
3361
3369
|
401: components["responses"]["Unauthorized"];
|
|
3362
3370
|
404: components["responses"]["NotFound"];
|
|
3363
|
-
/** @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 */
|
|
3371
|
+
/** @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`) or free trials are not offered (`trial_not_offered`). */
|
|
3364
3372
|
409: {
|
|
3365
3373
|
headers: {
|
|
3366
3374
|
[name: string]: unknown;
|
|
@@ -3370,6 +3378,15 @@ export interface operations {
|
|
|
3370
3378
|
};
|
|
3371
3379
|
};
|
|
3372
3380
|
502: components["responses"]["InternalError"];
|
|
3381
|
+
/** @description Autumn already has this operation and is still applying it (`operation_in_progress`); retry with the same operationId */
|
|
3382
|
+
503: {
|
|
3383
|
+
headers: {
|
|
3384
|
+
[name: string]: unknown;
|
|
3385
|
+
};
|
|
3386
|
+
content: {
|
|
3387
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3388
|
+
};
|
|
3389
|
+
};
|
|
3373
3390
|
};
|
|
3374
3391
|
};
|
|
3375
3392
|
changeBillingSubscription: {
|
|
@@ -3406,6 +3423,15 @@ export interface operations {
|
|
|
3406
3423
|
};
|
|
3407
3424
|
};
|
|
3408
3425
|
502: components["responses"]["InternalError"];
|
|
3426
|
+
/** @description Autumn already has this operation and is still applying it (`operation_in_progress`); retry with the same operationId */
|
|
3427
|
+
503: {
|
|
3428
|
+
headers: {
|
|
3429
|
+
[name: string]: unknown;
|
|
3430
|
+
};
|
|
3431
|
+
content: {
|
|
3432
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
3433
|
+
};
|
|
3434
|
+
};
|
|
3409
3435
|
};
|
|
3410
3436
|
};
|
|
3411
3437
|
withdrawBillingScheduledChange: {
|