@archildata/api-types 0.0.30 → 0.0.32
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 +21 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -501,9 +501,11 @@ export interface paths {
|
|
|
501
501
|
* Replace a running sandbox's network policy
|
|
502
502
|
* @description Applies the complete replacement policy to a running sandbox, then
|
|
503
503
|
* records it as the current policy. A rejected update leaves the previous
|
|
504
|
-
* policy unchanged.
|
|
505
|
-
*
|
|
506
|
-
*
|
|
504
|
+
* policy unchanged. Free-plan accounts cannot update network policies and
|
|
505
|
+
* receive 403 with code sandbox_network_plan_required. For paid accounts,
|
|
506
|
+
* an empty object restores unrestricted egress. Existing network sessions
|
|
507
|
+
* are not terminated; the replacement governs new connections and is
|
|
508
|
+
* retained across later stops and resumes. Sandboxes
|
|
507
509
|
* that are not running, or whose policy changes concurrently, return 409.
|
|
508
510
|
*/
|
|
509
511
|
put: operations["updateSandboxNetwork"];
|
|
@@ -669,7 +671,11 @@ export interface components {
|
|
|
669
671
|
[key: string]: string;
|
|
670
672
|
};
|
|
671
673
|
};
|
|
672
|
-
/**
|
|
674
|
+
/**
|
|
675
|
+
* @description Sandbox network policy. New sandboxes on free plans receive deny-all
|
|
676
|
+
* egress with no allowlist exceptions. Start/resume and forks retain the
|
|
677
|
+
* stored policy. For paid accounts, egress is unrestricted when omitted.
|
|
678
|
+
*/
|
|
673
679
|
SandboxNetwork: {
|
|
674
680
|
egress?: components["schemas"]["SandboxEgressPolicy"];
|
|
675
681
|
};
|
|
@@ -1334,6 +1340,8 @@ export interface components {
|
|
|
1334
1340
|
tokenSuffix?: string;
|
|
1335
1341
|
/** Format: date-time */
|
|
1336
1342
|
createdAt?: string;
|
|
1343
|
+
/** @description ID of creator identity */
|
|
1344
|
+
createdBy?: string;
|
|
1337
1345
|
/** Format: date-time */
|
|
1338
1346
|
lastUsedAt?: string;
|
|
1339
1347
|
};
|
|
@@ -2611,6 +2619,15 @@ export interface operations {
|
|
|
2611
2619
|
};
|
|
2612
2620
|
400: components["responses"]["ValidationError"];
|
|
2613
2621
|
401: components["responses"]["Unauthorized"];
|
|
2622
|
+
/** @description Network policy updates require a paid plan (sandbox_network_plan_required) */
|
|
2623
|
+
403: {
|
|
2624
|
+
headers: {
|
|
2625
|
+
[name: string]: unknown;
|
|
2626
|
+
};
|
|
2627
|
+
content: {
|
|
2628
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
2629
|
+
};
|
|
2630
|
+
};
|
|
2614
2631
|
404: components["responses"]["NotFound"];
|
|
2615
2632
|
/** @description The sandbox is not running or the network policy changed concurrently */
|
|
2616
2633
|
409: {
|