@archildata/api-types 0.0.19 → 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 +22 -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. */
|
|
@@ -1247,6 +1263,8 @@ export interface components {
|
|
|
1247
1263
|
data: components["schemas"]["DiskResponse"][];
|
|
1248
1264
|
/** @description Set when more disks remain beyond this page. Pass it back as the `cursor` query parameter to fetch the next page. Absent on the last page. */
|
|
1249
1265
|
nextCursor?: string;
|
|
1266
|
+
/** @description Total matching disks when `short=true`. */
|
|
1267
|
+
total?: number;
|
|
1250
1268
|
};
|
|
1251
1269
|
ApiResponse_Disk: {
|
|
1252
1270
|
/** @example true */
|
|
@@ -1712,6 +1730,10 @@ export interface operations {
|
|
|
1712
1730
|
limit?: components["parameters"]["Limit"];
|
|
1713
1731
|
/** @description Pagination cursor from a previous response */
|
|
1714
1732
|
cursor?: components["parameters"]["Cursor"];
|
|
1733
|
+
/** @description Return list-view disk data without decrypted mount credentials, authorized users, or mount authorization probes. Short results are ordered by creation time, newest first. */
|
|
1734
|
+
short?: boolean;
|
|
1735
|
+
/** @description When `short=true`, case-insensitive substring match against disk name or ID. */
|
|
1736
|
+
q?: string;
|
|
1715
1737
|
/** @description Filter disks by exact name match. */
|
|
1716
1738
|
name?: string;
|
|
1717
1739
|
};
|