@archildata/api-types 0.0.31 → 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 +19 -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
|
};
|
|
@@ -2613,6 +2619,15 @@ export interface operations {
|
|
|
2613
2619
|
};
|
|
2614
2620
|
400: components["responses"]["ValidationError"];
|
|
2615
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
|
+
};
|
|
2616
2631
|
404: components["responses"]["NotFound"];
|
|
2617
2632
|
/** @description The sandbox is not running or the network policy changed concurrently */
|
|
2618
2633
|
409: {
|