@archildata/api-types 0.0.20 → 0.0.21
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 +16 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -660,6 +660,20 @@ export interface components {
|
|
|
660
660
|
};
|
|
661
661
|
/** @enum {string} */
|
|
662
662
|
SandboxState: "pending" | "running" | "pausing" | "paused" | "stopping" | "stopped" | "exited" | "failed" | "deleting" | "deleted";
|
|
663
|
+
/** @enum {string} */
|
|
664
|
+
SandboxNetworkAction: "allow" | "deny";
|
|
665
|
+
/** @description Deny targets take precedence when an address matches both lists. */
|
|
666
|
+
SandboxEgressPolicy: {
|
|
667
|
+
default: components["schemas"]["SandboxNetworkAction"];
|
|
668
|
+
/** @description Allowed IPv4 addresses or CIDR ranges. */
|
|
669
|
+
allow?: string[];
|
|
670
|
+
/** @description Denied IPv4 addresses or CIDR ranges. */
|
|
671
|
+
deny?: string[];
|
|
672
|
+
};
|
|
673
|
+
/** @description Sandbox network policy. Egress is unrestricted when omitted. */
|
|
674
|
+
SandboxNetwork: {
|
|
675
|
+
egress?: components["schemas"]["SandboxEgressPolicy"];
|
|
676
|
+
};
|
|
663
677
|
Sandbox: {
|
|
664
678
|
/** Format: uuid */
|
|
665
679
|
sandbox_id: string;
|
|
@@ -680,6 +694,7 @@ export interface components {
|
|
|
680
694
|
*/
|
|
681
695
|
platform?: "arm64" | "amd64";
|
|
682
696
|
endpoints?: components["schemas"]["SandboxEndpoint"][];
|
|
697
|
+
network?: components["schemas"]["SandboxNetwork"];
|
|
683
698
|
/** Format: date-time */
|
|
684
699
|
created_at: string;
|
|
685
700
|
/** Format: date-time */
|
|
@@ -757,6 +772,7 @@ export interface components {
|
|
|
757
772
|
env?: {
|
|
758
773
|
[key: string]: string;
|
|
759
774
|
};
|
|
775
|
+
network?: components["schemas"]["SandboxNetwork"];
|
|
760
776
|
/** @description Lifetime budget applied independently to each powered-on session */
|
|
761
777
|
max_ttl_seconds?: number;
|
|
762
778
|
/** @description Maximum number of concurrently attached exec sessions. Detached processes and one-shot process controls do not count. */
|