@vercel/sandbox 1.5.0 → 1.7.0
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/dist/api-client/api-client.d.ts +87 -30
- package/dist/api-client/api-client.js +103 -22
- package/dist/api-client/api-client.js.map +1 -1
- package/dist/api-client/validators.d.ts +888 -18
- package/dist/api-client/validators.js +15 -2
- package/dist/api-client/validators.js.map +1 -1
- package/dist/command.d.ts +9 -1
- package/dist/command.js +8 -1
- package/dist/command.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/network-policy.d.ts +51 -3
- package/dist/sandbox.d.ts +54 -5
- package/dist/sandbox.js +53 -3
- package/dist/sandbox.js.map +1 -1
- package/dist/snapshot.d.ts +3 -3
- package/dist/snapshot.js +4 -1
- package/dist/snapshot.js.map +1 -1
- package/dist/utils/get-credentials.js +5 -1
- package/dist/utils/get-credentials.js.map +1 -1
- package/dist/utils/network-policy.js +54 -4
- package/dist/utils/network-policy.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/utils/jwt-expiry.d.ts +0 -42
- package/dist/utils/jwt-expiry.js +0 -106
- package/dist/utils/jwt-expiry.js.map +0 -1
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export type SandboxMetaData = z.infer<typeof Sandbox>;
|
|
3
|
+
export declare const InjectionRuleValidator: z.ZodObject<{
|
|
4
|
+
domain: z.ZodString;
|
|
5
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
6
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
domain: string;
|
|
9
|
+
headers?: Record<string, string> | undefined;
|
|
10
|
+
headerNames?: string[] | undefined;
|
|
11
|
+
}, {
|
|
12
|
+
domain: string;
|
|
13
|
+
headers?: Record<string, string> | undefined;
|
|
14
|
+
headerNames?: string[] | undefined;
|
|
15
|
+
}>;
|
|
3
16
|
export declare const NetworkPolicyValidator: z.ZodUnion<[z.ZodObject<{
|
|
4
17
|
mode: z.ZodLiteral<"allow-all">;
|
|
5
18
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -17,16 +30,55 @@ export declare const NetworkPolicyValidator: z.ZodUnion<[z.ZodObject<{
|
|
|
17
30
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18
31
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
19
32
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
33
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
34
|
+
domain: z.ZodString;
|
|
35
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
36
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
37
|
+
}, "strip", z.ZodTypeAny, {
|
|
38
|
+
domain: string;
|
|
39
|
+
headers?: Record<string, string> | undefined;
|
|
40
|
+
headerNames?: string[] | undefined;
|
|
41
|
+
}, {
|
|
42
|
+
domain: string;
|
|
43
|
+
headers?: Record<string, string> | undefined;
|
|
44
|
+
headerNames?: string[] | undefined;
|
|
45
|
+
}>, "many">>;
|
|
20
46
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
21
47
|
mode: z.ZodLiteral<"custom">;
|
|
22
48
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
23
49
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
24
50
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
51
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
52
|
+
domain: z.ZodString;
|
|
53
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
54
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
55
|
+
}, "strip", z.ZodTypeAny, {
|
|
56
|
+
domain: string;
|
|
57
|
+
headers?: Record<string, string> | undefined;
|
|
58
|
+
headerNames?: string[] | undefined;
|
|
59
|
+
}, {
|
|
60
|
+
domain: string;
|
|
61
|
+
headers?: Record<string, string> | undefined;
|
|
62
|
+
headerNames?: string[] | undefined;
|
|
63
|
+
}>, "many">>;
|
|
25
64
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
26
65
|
mode: z.ZodLiteral<"custom">;
|
|
27
66
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
28
67
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
29
68
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
69
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
70
|
+
domain: z.ZodString;
|
|
71
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
72
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
73
|
+
}, "strip", z.ZodTypeAny, {
|
|
74
|
+
domain: string;
|
|
75
|
+
headers?: Record<string, string> | undefined;
|
|
76
|
+
headerNames?: string[] | undefined;
|
|
77
|
+
}, {
|
|
78
|
+
domain: string;
|
|
79
|
+
headers?: Record<string, string> | undefined;
|
|
80
|
+
headerNames?: string[] | undefined;
|
|
81
|
+
}>, "many">>;
|
|
30
82
|
}, z.ZodTypeAny, "passthrough">>]>;
|
|
31
83
|
export declare const Sandbox: z.ZodObject<{
|
|
32
84
|
id: z.ZodString;
|
|
@@ -65,17 +117,67 @@ export declare const Sandbox: z.ZodObject<{
|
|
|
65
117
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
66
118
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
67
119
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
120
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
121
|
+
domain: z.ZodString;
|
|
122
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
123
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
124
|
+
}, "strip", z.ZodTypeAny, {
|
|
125
|
+
domain: string;
|
|
126
|
+
headers?: Record<string, string> | undefined;
|
|
127
|
+
headerNames?: string[] | undefined;
|
|
128
|
+
}, {
|
|
129
|
+
domain: string;
|
|
130
|
+
headers?: Record<string, string> | undefined;
|
|
131
|
+
headerNames?: string[] | undefined;
|
|
132
|
+
}>, "many">>;
|
|
68
133
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
69
134
|
mode: z.ZodLiteral<"custom">;
|
|
70
135
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
71
136
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
72
137
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
138
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
139
|
+
domain: z.ZodString;
|
|
140
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
141
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
142
|
+
}, "strip", z.ZodTypeAny, {
|
|
143
|
+
domain: string;
|
|
144
|
+
headers?: Record<string, string> | undefined;
|
|
145
|
+
headerNames?: string[] | undefined;
|
|
146
|
+
}, {
|
|
147
|
+
domain: string;
|
|
148
|
+
headers?: Record<string, string> | undefined;
|
|
149
|
+
headerNames?: string[] | undefined;
|
|
150
|
+
}>, "many">>;
|
|
73
151
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
74
152
|
mode: z.ZodLiteral<"custom">;
|
|
75
153
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
76
154
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
77
155
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
156
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
157
|
+
domain: z.ZodString;
|
|
158
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
159
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
160
|
+
}, "strip", z.ZodTypeAny, {
|
|
161
|
+
domain: string;
|
|
162
|
+
headers?: Record<string, string> | undefined;
|
|
163
|
+
headerNames?: string[] | undefined;
|
|
164
|
+
}, {
|
|
165
|
+
domain: string;
|
|
166
|
+
headers?: Record<string, string> | undefined;
|
|
167
|
+
headerNames?: string[] | undefined;
|
|
168
|
+
}>, "many">>;
|
|
78
169
|
}, z.ZodTypeAny, "passthrough">>]>>;
|
|
170
|
+
activeCpuDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
171
|
+
networkTransfer: z.ZodOptional<z.ZodObject<{
|
|
172
|
+
ingress: z.ZodNumber;
|
|
173
|
+
egress: z.ZodNumber;
|
|
174
|
+
}, "strip", z.ZodTypeAny, {
|
|
175
|
+
ingress: number;
|
|
176
|
+
egress: number;
|
|
177
|
+
}, {
|
|
178
|
+
ingress: number;
|
|
179
|
+
egress: number;
|
|
180
|
+
}>>;
|
|
79
181
|
}, "strip", z.ZodTypeAny, {
|
|
80
182
|
id: string;
|
|
81
183
|
memory: number;
|
|
@@ -105,7 +207,25 @@ export declare const Sandbox: z.ZodObject<{
|
|
|
105
207
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
106
208
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
107
209
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
210
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
211
|
+
domain: z.ZodString;
|
|
212
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
213
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
214
|
+
}, "strip", z.ZodTypeAny, {
|
|
215
|
+
domain: string;
|
|
216
|
+
headers?: Record<string, string> | undefined;
|
|
217
|
+
headerNames?: string[] | undefined;
|
|
218
|
+
}, {
|
|
219
|
+
domain: string;
|
|
220
|
+
headers?: Record<string, string> | undefined;
|
|
221
|
+
headerNames?: string[] | undefined;
|
|
222
|
+
}>, "many">>;
|
|
108
223
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
224
|
+
activeCpuDurationMs?: number | undefined;
|
|
225
|
+
networkTransfer?: {
|
|
226
|
+
ingress: number;
|
|
227
|
+
egress: number;
|
|
228
|
+
} | undefined;
|
|
109
229
|
}, {
|
|
110
230
|
id: string;
|
|
111
231
|
memory: number;
|
|
@@ -135,7 +255,25 @@ export declare const Sandbox: z.ZodObject<{
|
|
|
135
255
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
136
256
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
137
257
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
258
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
259
|
+
domain: z.ZodString;
|
|
260
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
261
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
262
|
+
}, "strip", z.ZodTypeAny, {
|
|
263
|
+
domain: string;
|
|
264
|
+
headers?: Record<string, string> | undefined;
|
|
265
|
+
headerNames?: string[] | undefined;
|
|
266
|
+
}, {
|
|
267
|
+
domain: string;
|
|
268
|
+
headers?: Record<string, string> | undefined;
|
|
269
|
+
headerNames?: string[] | undefined;
|
|
270
|
+
}>, "many">>;
|
|
138
271
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
272
|
+
activeCpuDurationMs?: number | undefined;
|
|
273
|
+
networkTransfer?: {
|
|
274
|
+
ingress: number;
|
|
275
|
+
egress: number;
|
|
276
|
+
} | undefined;
|
|
139
277
|
}>;
|
|
140
278
|
export type SandboxRouteData = z.infer<typeof SandboxRoute>;
|
|
141
279
|
export declare const SandboxRoute: z.ZodObject<{
|
|
@@ -158,7 +296,7 @@ export declare const Snapshot: z.ZodObject<{
|
|
|
158
296
|
region: z.ZodString;
|
|
159
297
|
status: z.ZodEnum<["created", "deleted", "failed"]>;
|
|
160
298
|
sizeBytes: z.ZodNumber;
|
|
161
|
-
expiresAt: z.ZodNumber
|
|
299
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
162
300
|
createdAt: z.ZodNumber;
|
|
163
301
|
updatedAt: z.ZodNumber;
|
|
164
302
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -169,7 +307,7 @@ export declare const Snapshot: z.ZodObject<{
|
|
|
169
307
|
updatedAt: number;
|
|
170
308
|
sourceSandboxId: string;
|
|
171
309
|
sizeBytes: number;
|
|
172
|
-
expiresAt
|
|
310
|
+
expiresAt?: number | undefined;
|
|
173
311
|
}, {
|
|
174
312
|
id: string;
|
|
175
313
|
region: string;
|
|
@@ -178,7 +316,7 @@ export declare const Snapshot: z.ZodObject<{
|
|
|
178
316
|
updatedAt: number;
|
|
179
317
|
sourceSandboxId: string;
|
|
180
318
|
sizeBytes: number;
|
|
181
|
-
expiresAt
|
|
319
|
+
expiresAt?: number | undefined;
|
|
182
320
|
}>;
|
|
183
321
|
export declare const Pagination: z.ZodObject<{
|
|
184
322
|
/**
|
|
@@ -269,17 +407,67 @@ export declare const SandboxResponse: z.ZodObject<{
|
|
|
269
407
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
270
408
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
271
409
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
410
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
411
|
+
domain: z.ZodString;
|
|
412
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
413
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
414
|
+
}, "strip", z.ZodTypeAny, {
|
|
415
|
+
domain: string;
|
|
416
|
+
headers?: Record<string, string> | undefined;
|
|
417
|
+
headerNames?: string[] | undefined;
|
|
418
|
+
}, {
|
|
419
|
+
domain: string;
|
|
420
|
+
headers?: Record<string, string> | undefined;
|
|
421
|
+
headerNames?: string[] | undefined;
|
|
422
|
+
}>, "many">>;
|
|
272
423
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
273
424
|
mode: z.ZodLiteral<"custom">;
|
|
274
425
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
275
426
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
276
427
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
428
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
429
|
+
domain: z.ZodString;
|
|
430
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
431
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
432
|
+
}, "strip", z.ZodTypeAny, {
|
|
433
|
+
domain: string;
|
|
434
|
+
headers?: Record<string, string> | undefined;
|
|
435
|
+
headerNames?: string[] | undefined;
|
|
436
|
+
}, {
|
|
437
|
+
domain: string;
|
|
438
|
+
headers?: Record<string, string> | undefined;
|
|
439
|
+
headerNames?: string[] | undefined;
|
|
440
|
+
}>, "many">>;
|
|
277
441
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
278
442
|
mode: z.ZodLiteral<"custom">;
|
|
279
443
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
280
444
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
281
445
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
446
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
447
|
+
domain: z.ZodString;
|
|
448
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
449
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
450
|
+
}, "strip", z.ZodTypeAny, {
|
|
451
|
+
domain: string;
|
|
452
|
+
headers?: Record<string, string> | undefined;
|
|
453
|
+
headerNames?: string[] | undefined;
|
|
454
|
+
}, {
|
|
455
|
+
domain: string;
|
|
456
|
+
headers?: Record<string, string> | undefined;
|
|
457
|
+
headerNames?: string[] | undefined;
|
|
458
|
+
}>, "many">>;
|
|
282
459
|
}, z.ZodTypeAny, "passthrough">>]>>;
|
|
460
|
+
activeCpuDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
461
|
+
networkTransfer: z.ZodOptional<z.ZodObject<{
|
|
462
|
+
ingress: z.ZodNumber;
|
|
463
|
+
egress: z.ZodNumber;
|
|
464
|
+
}, "strip", z.ZodTypeAny, {
|
|
465
|
+
ingress: number;
|
|
466
|
+
egress: number;
|
|
467
|
+
}, {
|
|
468
|
+
ingress: number;
|
|
469
|
+
egress: number;
|
|
470
|
+
}>>;
|
|
283
471
|
}, "strip", z.ZodTypeAny, {
|
|
284
472
|
id: string;
|
|
285
473
|
memory: number;
|
|
@@ -309,7 +497,25 @@ export declare const SandboxResponse: z.ZodObject<{
|
|
|
309
497
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
310
498
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
311
499
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
500
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
501
|
+
domain: z.ZodString;
|
|
502
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
503
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
504
|
+
}, "strip", z.ZodTypeAny, {
|
|
505
|
+
domain: string;
|
|
506
|
+
headers?: Record<string, string> | undefined;
|
|
507
|
+
headerNames?: string[] | undefined;
|
|
508
|
+
}, {
|
|
509
|
+
domain: string;
|
|
510
|
+
headers?: Record<string, string> | undefined;
|
|
511
|
+
headerNames?: string[] | undefined;
|
|
512
|
+
}>, "many">>;
|
|
312
513
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
514
|
+
activeCpuDurationMs?: number | undefined;
|
|
515
|
+
networkTransfer?: {
|
|
516
|
+
ingress: number;
|
|
517
|
+
egress: number;
|
|
518
|
+
} | undefined;
|
|
313
519
|
}, {
|
|
314
520
|
id: string;
|
|
315
521
|
memory: number;
|
|
@@ -339,7 +545,25 @@ export declare const SandboxResponse: z.ZodObject<{
|
|
|
339
545
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
340
546
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
341
547
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
548
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
549
|
+
domain: z.ZodString;
|
|
550
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
551
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
552
|
+
}, "strip", z.ZodTypeAny, {
|
|
553
|
+
domain: string;
|
|
554
|
+
headers?: Record<string, string> | undefined;
|
|
555
|
+
headerNames?: string[] | undefined;
|
|
556
|
+
}, {
|
|
557
|
+
domain: string;
|
|
558
|
+
headers?: Record<string, string> | undefined;
|
|
559
|
+
headerNames?: string[] | undefined;
|
|
560
|
+
}>, "many">>;
|
|
342
561
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
562
|
+
activeCpuDurationMs?: number | undefined;
|
|
563
|
+
networkTransfer?: {
|
|
564
|
+
ingress: number;
|
|
565
|
+
egress: number;
|
|
566
|
+
} | undefined;
|
|
343
567
|
}>;
|
|
344
568
|
}, "strip", z.ZodTypeAny, {
|
|
345
569
|
sandbox: {
|
|
@@ -371,7 +595,25 @@ export declare const SandboxResponse: z.ZodObject<{
|
|
|
371
595
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
372
596
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
373
597
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
598
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
599
|
+
domain: z.ZodString;
|
|
600
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
601
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
602
|
+
}, "strip", z.ZodTypeAny, {
|
|
603
|
+
domain: string;
|
|
604
|
+
headers?: Record<string, string> | undefined;
|
|
605
|
+
headerNames?: string[] | undefined;
|
|
606
|
+
}, {
|
|
607
|
+
domain: string;
|
|
608
|
+
headers?: Record<string, string> | undefined;
|
|
609
|
+
headerNames?: string[] | undefined;
|
|
610
|
+
}>, "many">>;
|
|
374
611
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
612
|
+
activeCpuDurationMs?: number | undefined;
|
|
613
|
+
networkTransfer?: {
|
|
614
|
+
ingress: number;
|
|
615
|
+
egress: number;
|
|
616
|
+
} | undefined;
|
|
375
617
|
};
|
|
376
618
|
}, {
|
|
377
619
|
sandbox: {
|
|
@@ -403,7 +645,25 @@ export declare const SandboxResponse: z.ZodObject<{
|
|
|
403
645
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
404
646
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
405
647
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
648
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
649
|
+
domain: z.ZodString;
|
|
650
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
651
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
652
|
+
}, "strip", z.ZodTypeAny, {
|
|
653
|
+
domain: string;
|
|
654
|
+
headers?: Record<string, string> | undefined;
|
|
655
|
+
headerNames?: string[] | undefined;
|
|
656
|
+
}, {
|
|
657
|
+
domain: string;
|
|
658
|
+
headers?: Record<string, string> | undefined;
|
|
659
|
+
headerNames?: string[] | undefined;
|
|
660
|
+
}>, "many">>;
|
|
406
661
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
662
|
+
activeCpuDurationMs?: number | undefined;
|
|
663
|
+
networkTransfer?: {
|
|
664
|
+
ingress: number;
|
|
665
|
+
egress: number;
|
|
666
|
+
} | undefined;
|
|
407
667
|
};
|
|
408
668
|
}>;
|
|
409
669
|
export declare const SandboxAndRoutesResponse: z.ZodObject<{
|
|
@@ -444,17 +704,67 @@ export declare const SandboxAndRoutesResponse: z.ZodObject<{
|
|
|
444
704
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
445
705
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
446
706
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
707
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
708
|
+
domain: z.ZodString;
|
|
709
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
710
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
711
|
+
}, "strip", z.ZodTypeAny, {
|
|
712
|
+
domain: string;
|
|
713
|
+
headers?: Record<string, string> | undefined;
|
|
714
|
+
headerNames?: string[] | undefined;
|
|
715
|
+
}, {
|
|
716
|
+
domain: string;
|
|
717
|
+
headers?: Record<string, string> | undefined;
|
|
718
|
+
headerNames?: string[] | undefined;
|
|
719
|
+
}>, "many">>;
|
|
447
720
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
448
721
|
mode: z.ZodLiteral<"custom">;
|
|
449
722
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
450
723
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
451
724
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
725
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
726
|
+
domain: z.ZodString;
|
|
727
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
728
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
729
|
+
}, "strip", z.ZodTypeAny, {
|
|
730
|
+
domain: string;
|
|
731
|
+
headers?: Record<string, string> | undefined;
|
|
732
|
+
headerNames?: string[] | undefined;
|
|
733
|
+
}, {
|
|
734
|
+
domain: string;
|
|
735
|
+
headers?: Record<string, string> | undefined;
|
|
736
|
+
headerNames?: string[] | undefined;
|
|
737
|
+
}>, "many">>;
|
|
452
738
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
453
739
|
mode: z.ZodLiteral<"custom">;
|
|
454
740
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
455
741
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
456
742
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
743
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
744
|
+
domain: z.ZodString;
|
|
745
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
746
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
747
|
+
}, "strip", z.ZodTypeAny, {
|
|
748
|
+
domain: string;
|
|
749
|
+
headers?: Record<string, string> | undefined;
|
|
750
|
+
headerNames?: string[] | undefined;
|
|
751
|
+
}, {
|
|
752
|
+
domain: string;
|
|
753
|
+
headers?: Record<string, string> | undefined;
|
|
754
|
+
headerNames?: string[] | undefined;
|
|
755
|
+
}>, "many">>;
|
|
457
756
|
}, z.ZodTypeAny, "passthrough">>]>>;
|
|
757
|
+
activeCpuDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
758
|
+
networkTransfer: z.ZodOptional<z.ZodObject<{
|
|
759
|
+
ingress: z.ZodNumber;
|
|
760
|
+
egress: z.ZodNumber;
|
|
761
|
+
}, "strip", z.ZodTypeAny, {
|
|
762
|
+
ingress: number;
|
|
763
|
+
egress: number;
|
|
764
|
+
}, {
|
|
765
|
+
ingress: number;
|
|
766
|
+
egress: number;
|
|
767
|
+
}>>;
|
|
458
768
|
}, "strip", z.ZodTypeAny, {
|
|
459
769
|
id: string;
|
|
460
770
|
memory: number;
|
|
@@ -484,7 +794,25 @@ export declare const SandboxAndRoutesResponse: z.ZodObject<{
|
|
|
484
794
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
485
795
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
486
796
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
797
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
798
|
+
domain: z.ZodString;
|
|
799
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
800
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
801
|
+
}, "strip", z.ZodTypeAny, {
|
|
802
|
+
domain: string;
|
|
803
|
+
headers?: Record<string, string> | undefined;
|
|
804
|
+
headerNames?: string[] | undefined;
|
|
805
|
+
}, {
|
|
806
|
+
domain: string;
|
|
807
|
+
headers?: Record<string, string> | undefined;
|
|
808
|
+
headerNames?: string[] | undefined;
|
|
809
|
+
}>, "many">>;
|
|
487
810
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
811
|
+
activeCpuDurationMs?: number | undefined;
|
|
812
|
+
networkTransfer?: {
|
|
813
|
+
ingress: number;
|
|
814
|
+
egress: number;
|
|
815
|
+
} | undefined;
|
|
488
816
|
}, {
|
|
489
817
|
id: string;
|
|
490
818
|
memory: number;
|
|
@@ -514,7 +842,25 @@ export declare const SandboxAndRoutesResponse: z.ZodObject<{
|
|
|
514
842
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
515
843
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
516
844
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
845
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
846
|
+
domain: z.ZodString;
|
|
847
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
848
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
849
|
+
}, "strip", z.ZodTypeAny, {
|
|
850
|
+
domain: string;
|
|
851
|
+
headers?: Record<string, string> | undefined;
|
|
852
|
+
headerNames?: string[] | undefined;
|
|
853
|
+
}, {
|
|
854
|
+
domain: string;
|
|
855
|
+
headers?: Record<string, string> | undefined;
|
|
856
|
+
headerNames?: string[] | undefined;
|
|
857
|
+
}>, "many">>;
|
|
517
858
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
859
|
+
activeCpuDurationMs?: number | undefined;
|
|
860
|
+
networkTransfer?: {
|
|
861
|
+
ingress: number;
|
|
862
|
+
egress: number;
|
|
863
|
+
} | undefined;
|
|
518
864
|
}>;
|
|
519
865
|
} & {
|
|
520
866
|
routes: z.ZodArray<z.ZodObject<{
|
|
@@ -560,7 +906,25 @@ export declare const SandboxAndRoutesResponse: z.ZodObject<{
|
|
|
560
906
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
561
907
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
562
908
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
909
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
910
|
+
domain: z.ZodString;
|
|
911
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
912
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
913
|
+
}, "strip", z.ZodTypeAny, {
|
|
914
|
+
domain: string;
|
|
915
|
+
headers?: Record<string, string> | undefined;
|
|
916
|
+
headerNames?: string[] | undefined;
|
|
917
|
+
}, {
|
|
918
|
+
domain: string;
|
|
919
|
+
headers?: Record<string, string> | undefined;
|
|
920
|
+
headerNames?: string[] | undefined;
|
|
921
|
+
}>, "many">>;
|
|
563
922
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
923
|
+
activeCpuDurationMs?: number | undefined;
|
|
924
|
+
networkTransfer?: {
|
|
925
|
+
ingress: number;
|
|
926
|
+
egress: number;
|
|
927
|
+
} | undefined;
|
|
564
928
|
};
|
|
565
929
|
routes: {
|
|
566
930
|
url: string;
|
|
@@ -597,7 +961,25 @@ export declare const SandboxAndRoutesResponse: z.ZodObject<{
|
|
|
597
961
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
598
962
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
599
963
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
964
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
965
|
+
domain: z.ZodString;
|
|
966
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
967
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
968
|
+
}, "strip", z.ZodTypeAny, {
|
|
969
|
+
domain: string;
|
|
970
|
+
headers?: Record<string, string> | undefined;
|
|
971
|
+
headerNames?: string[] | undefined;
|
|
972
|
+
}, {
|
|
973
|
+
domain: string;
|
|
974
|
+
headers?: Record<string, string> | undefined;
|
|
975
|
+
headerNames?: string[] | undefined;
|
|
976
|
+
}>, "many">>;
|
|
600
977
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
978
|
+
activeCpuDurationMs?: number | undefined;
|
|
979
|
+
networkTransfer?: {
|
|
980
|
+
ingress: number;
|
|
981
|
+
egress: number;
|
|
982
|
+
} | undefined;
|
|
601
983
|
};
|
|
602
984
|
routes: {
|
|
603
985
|
url: string;
|
|
@@ -832,17 +1214,67 @@ export declare const SandboxesResponse: z.ZodObject<{
|
|
|
832
1214
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
833
1215
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
834
1216
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1217
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1218
|
+
domain: z.ZodString;
|
|
1219
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1220
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1221
|
+
}, "strip", z.ZodTypeAny, {
|
|
1222
|
+
domain: string;
|
|
1223
|
+
headers?: Record<string, string> | undefined;
|
|
1224
|
+
headerNames?: string[] | undefined;
|
|
1225
|
+
}, {
|
|
1226
|
+
domain: string;
|
|
1227
|
+
headers?: Record<string, string> | undefined;
|
|
1228
|
+
headerNames?: string[] | undefined;
|
|
1229
|
+
}>, "many">>;
|
|
835
1230
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
836
1231
|
mode: z.ZodLiteral<"custom">;
|
|
837
1232
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
838
1233
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
839
1234
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1235
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1236
|
+
domain: z.ZodString;
|
|
1237
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1238
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1239
|
+
}, "strip", z.ZodTypeAny, {
|
|
1240
|
+
domain: string;
|
|
1241
|
+
headers?: Record<string, string> | undefined;
|
|
1242
|
+
headerNames?: string[] | undefined;
|
|
1243
|
+
}, {
|
|
1244
|
+
domain: string;
|
|
1245
|
+
headers?: Record<string, string> | undefined;
|
|
1246
|
+
headerNames?: string[] | undefined;
|
|
1247
|
+
}>, "many">>;
|
|
840
1248
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
841
1249
|
mode: z.ZodLiteral<"custom">;
|
|
842
1250
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
843
1251
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
844
1252
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1253
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1254
|
+
domain: z.ZodString;
|
|
1255
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1256
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1257
|
+
}, "strip", z.ZodTypeAny, {
|
|
1258
|
+
domain: string;
|
|
1259
|
+
headers?: Record<string, string> | undefined;
|
|
1260
|
+
headerNames?: string[] | undefined;
|
|
1261
|
+
}, {
|
|
1262
|
+
domain: string;
|
|
1263
|
+
headers?: Record<string, string> | undefined;
|
|
1264
|
+
headerNames?: string[] | undefined;
|
|
1265
|
+
}>, "many">>;
|
|
845
1266
|
}, z.ZodTypeAny, "passthrough">>]>>;
|
|
1267
|
+
activeCpuDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
1268
|
+
networkTransfer: z.ZodOptional<z.ZodObject<{
|
|
1269
|
+
ingress: z.ZodNumber;
|
|
1270
|
+
egress: z.ZodNumber;
|
|
1271
|
+
}, "strip", z.ZodTypeAny, {
|
|
1272
|
+
ingress: number;
|
|
1273
|
+
egress: number;
|
|
1274
|
+
}, {
|
|
1275
|
+
ingress: number;
|
|
1276
|
+
egress: number;
|
|
1277
|
+
}>>;
|
|
846
1278
|
}, "strip", z.ZodTypeAny, {
|
|
847
1279
|
id: string;
|
|
848
1280
|
memory: number;
|
|
@@ -872,7 +1304,25 @@ export declare const SandboxesResponse: z.ZodObject<{
|
|
|
872
1304
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
873
1305
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
874
1306
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1307
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1308
|
+
domain: z.ZodString;
|
|
1309
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1310
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1311
|
+
}, "strip", z.ZodTypeAny, {
|
|
1312
|
+
domain: string;
|
|
1313
|
+
headers?: Record<string, string> | undefined;
|
|
1314
|
+
headerNames?: string[] | undefined;
|
|
1315
|
+
}, {
|
|
1316
|
+
domain: string;
|
|
1317
|
+
headers?: Record<string, string> | undefined;
|
|
1318
|
+
headerNames?: string[] | undefined;
|
|
1319
|
+
}>, "many">>;
|
|
875
1320
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1321
|
+
activeCpuDurationMs?: number | undefined;
|
|
1322
|
+
networkTransfer?: {
|
|
1323
|
+
ingress: number;
|
|
1324
|
+
egress: number;
|
|
1325
|
+
} | undefined;
|
|
876
1326
|
}, {
|
|
877
1327
|
id: string;
|
|
878
1328
|
memory: number;
|
|
@@ -902,7 +1352,25 @@ export declare const SandboxesResponse: z.ZodObject<{
|
|
|
902
1352
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
903
1353
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
904
1354
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1355
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1356
|
+
domain: z.ZodString;
|
|
1357
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1358
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1359
|
+
}, "strip", z.ZodTypeAny, {
|
|
1360
|
+
domain: string;
|
|
1361
|
+
headers?: Record<string, string> | undefined;
|
|
1362
|
+
headerNames?: string[] | undefined;
|
|
1363
|
+
}, {
|
|
1364
|
+
domain: string;
|
|
1365
|
+
headers?: Record<string, string> | undefined;
|
|
1366
|
+
headerNames?: string[] | undefined;
|
|
1367
|
+
}>, "many">>;
|
|
905
1368
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1369
|
+
activeCpuDurationMs?: number | undefined;
|
|
1370
|
+
networkTransfer?: {
|
|
1371
|
+
ingress: number;
|
|
1372
|
+
egress: number;
|
|
1373
|
+
} | undefined;
|
|
906
1374
|
}>, "many">;
|
|
907
1375
|
pagination: z.ZodObject<{
|
|
908
1376
|
/**
|
|
@@ -959,7 +1427,25 @@ export declare const SandboxesResponse: z.ZodObject<{
|
|
|
959
1427
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
960
1428
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
961
1429
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1430
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1431
|
+
domain: z.ZodString;
|
|
1432
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1433
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1434
|
+
}, "strip", z.ZodTypeAny, {
|
|
1435
|
+
domain: string;
|
|
1436
|
+
headers?: Record<string, string> | undefined;
|
|
1437
|
+
headerNames?: string[] | undefined;
|
|
1438
|
+
}, {
|
|
1439
|
+
domain: string;
|
|
1440
|
+
headers?: Record<string, string> | undefined;
|
|
1441
|
+
headerNames?: string[] | undefined;
|
|
1442
|
+
}>, "many">>;
|
|
962
1443
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1444
|
+
activeCpuDurationMs?: number | undefined;
|
|
1445
|
+
networkTransfer?: {
|
|
1446
|
+
ingress: number;
|
|
1447
|
+
egress: number;
|
|
1448
|
+
} | undefined;
|
|
963
1449
|
}[];
|
|
964
1450
|
pagination: {
|
|
965
1451
|
count: number;
|
|
@@ -996,7 +1482,25 @@ export declare const SandboxesResponse: z.ZodObject<{
|
|
|
996
1482
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
997
1483
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
998
1484
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1485
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1486
|
+
domain: z.ZodString;
|
|
1487
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1488
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1489
|
+
}, "strip", z.ZodTypeAny, {
|
|
1490
|
+
domain: string;
|
|
1491
|
+
headers?: Record<string, string> | undefined;
|
|
1492
|
+
headerNames?: string[] | undefined;
|
|
1493
|
+
}, {
|
|
1494
|
+
domain: string;
|
|
1495
|
+
headers?: Record<string, string> | undefined;
|
|
1496
|
+
headerNames?: string[] | undefined;
|
|
1497
|
+
}>, "many">>;
|
|
999
1498
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1499
|
+
activeCpuDurationMs?: number | undefined;
|
|
1500
|
+
networkTransfer?: {
|
|
1501
|
+
ingress: number;
|
|
1502
|
+
egress: number;
|
|
1503
|
+
} | undefined;
|
|
1000
1504
|
}[];
|
|
1001
1505
|
pagination: {
|
|
1002
1506
|
count: number;
|
|
@@ -1011,7 +1515,7 @@ export declare const SnapshotsResponse: z.ZodObject<{
|
|
|
1011
1515
|
region: z.ZodString;
|
|
1012
1516
|
status: z.ZodEnum<["created", "deleted", "failed"]>;
|
|
1013
1517
|
sizeBytes: z.ZodNumber;
|
|
1014
|
-
expiresAt: z.ZodNumber
|
|
1518
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
1015
1519
|
createdAt: z.ZodNumber;
|
|
1016
1520
|
updatedAt: z.ZodNumber;
|
|
1017
1521
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1022,7 +1526,7 @@ export declare const SnapshotsResponse: z.ZodObject<{
|
|
|
1022
1526
|
updatedAt: number;
|
|
1023
1527
|
sourceSandboxId: string;
|
|
1024
1528
|
sizeBytes: number;
|
|
1025
|
-
expiresAt
|
|
1529
|
+
expiresAt?: number | undefined;
|
|
1026
1530
|
}, {
|
|
1027
1531
|
id: string;
|
|
1028
1532
|
region: string;
|
|
@@ -1031,7 +1535,7 @@ export declare const SnapshotsResponse: z.ZodObject<{
|
|
|
1031
1535
|
updatedAt: number;
|
|
1032
1536
|
sourceSandboxId: string;
|
|
1033
1537
|
sizeBytes: number;
|
|
1034
|
-
expiresAt
|
|
1538
|
+
expiresAt?: number | undefined;
|
|
1035
1539
|
}>, "many">;
|
|
1036
1540
|
pagination: z.ZodObject<{
|
|
1037
1541
|
/**
|
|
@@ -1072,7 +1576,7 @@ export declare const SnapshotsResponse: z.ZodObject<{
|
|
|
1072
1576
|
updatedAt: number;
|
|
1073
1577
|
sourceSandboxId: string;
|
|
1074
1578
|
sizeBytes: number;
|
|
1075
|
-
expiresAt
|
|
1579
|
+
expiresAt?: number | undefined;
|
|
1076
1580
|
}[];
|
|
1077
1581
|
}, {
|
|
1078
1582
|
pagination: {
|
|
@@ -1088,7 +1592,7 @@ export declare const SnapshotsResponse: z.ZodObject<{
|
|
|
1088
1592
|
updatedAt: number;
|
|
1089
1593
|
sourceSandboxId: string;
|
|
1090
1594
|
sizeBytes: number;
|
|
1091
|
-
expiresAt
|
|
1595
|
+
expiresAt?: number | undefined;
|
|
1092
1596
|
}[];
|
|
1093
1597
|
}>;
|
|
1094
1598
|
export declare const ExtendTimeoutResponse: z.ZodObject<{
|
|
@@ -1129,17 +1633,67 @@ export declare const ExtendTimeoutResponse: z.ZodObject<{
|
|
|
1129
1633
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1130
1634
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1131
1635
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1636
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1637
|
+
domain: z.ZodString;
|
|
1638
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1639
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1640
|
+
}, "strip", z.ZodTypeAny, {
|
|
1641
|
+
domain: string;
|
|
1642
|
+
headers?: Record<string, string> | undefined;
|
|
1643
|
+
headerNames?: string[] | undefined;
|
|
1644
|
+
}, {
|
|
1645
|
+
domain: string;
|
|
1646
|
+
headers?: Record<string, string> | undefined;
|
|
1647
|
+
headerNames?: string[] | undefined;
|
|
1648
|
+
}>, "many">>;
|
|
1132
1649
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1133
1650
|
mode: z.ZodLiteral<"custom">;
|
|
1134
1651
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1135
1652
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1136
1653
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1654
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1655
|
+
domain: z.ZodString;
|
|
1656
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1657
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1658
|
+
}, "strip", z.ZodTypeAny, {
|
|
1659
|
+
domain: string;
|
|
1660
|
+
headers?: Record<string, string> | undefined;
|
|
1661
|
+
headerNames?: string[] | undefined;
|
|
1662
|
+
}, {
|
|
1663
|
+
domain: string;
|
|
1664
|
+
headers?: Record<string, string> | undefined;
|
|
1665
|
+
headerNames?: string[] | undefined;
|
|
1666
|
+
}>, "many">>;
|
|
1137
1667
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1138
1668
|
mode: z.ZodLiteral<"custom">;
|
|
1139
1669
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1140
1670
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1141
1671
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1672
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1673
|
+
domain: z.ZodString;
|
|
1674
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1675
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1676
|
+
}, "strip", z.ZodTypeAny, {
|
|
1677
|
+
domain: string;
|
|
1678
|
+
headers?: Record<string, string> | undefined;
|
|
1679
|
+
headerNames?: string[] | undefined;
|
|
1680
|
+
}, {
|
|
1681
|
+
domain: string;
|
|
1682
|
+
headers?: Record<string, string> | undefined;
|
|
1683
|
+
headerNames?: string[] | undefined;
|
|
1684
|
+
}>, "many">>;
|
|
1142
1685
|
}, z.ZodTypeAny, "passthrough">>]>>;
|
|
1686
|
+
activeCpuDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
1687
|
+
networkTransfer: z.ZodOptional<z.ZodObject<{
|
|
1688
|
+
ingress: z.ZodNumber;
|
|
1689
|
+
egress: z.ZodNumber;
|
|
1690
|
+
}, "strip", z.ZodTypeAny, {
|
|
1691
|
+
ingress: number;
|
|
1692
|
+
egress: number;
|
|
1693
|
+
}, {
|
|
1694
|
+
ingress: number;
|
|
1695
|
+
egress: number;
|
|
1696
|
+
}>>;
|
|
1143
1697
|
}, "strip", z.ZodTypeAny, {
|
|
1144
1698
|
id: string;
|
|
1145
1699
|
memory: number;
|
|
@@ -1169,7 +1723,25 @@ export declare const ExtendTimeoutResponse: z.ZodObject<{
|
|
|
1169
1723
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1170
1724
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1171
1725
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1726
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1727
|
+
domain: z.ZodString;
|
|
1728
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1729
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1730
|
+
}, "strip", z.ZodTypeAny, {
|
|
1731
|
+
domain: string;
|
|
1732
|
+
headers?: Record<string, string> | undefined;
|
|
1733
|
+
headerNames?: string[] | undefined;
|
|
1734
|
+
}, {
|
|
1735
|
+
domain: string;
|
|
1736
|
+
headers?: Record<string, string> | undefined;
|
|
1737
|
+
headerNames?: string[] | undefined;
|
|
1738
|
+
}>, "many">>;
|
|
1172
1739
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1740
|
+
activeCpuDurationMs?: number | undefined;
|
|
1741
|
+
networkTransfer?: {
|
|
1742
|
+
ingress: number;
|
|
1743
|
+
egress: number;
|
|
1744
|
+
} | undefined;
|
|
1173
1745
|
}, {
|
|
1174
1746
|
id: string;
|
|
1175
1747
|
memory: number;
|
|
@@ -1199,7 +1771,25 @@ export declare const ExtendTimeoutResponse: z.ZodObject<{
|
|
|
1199
1771
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1200
1772
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1201
1773
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1774
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1775
|
+
domain: z.ZodString;
|
|
1776
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1777
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1778
|
+
}, "strip", z.ZodTypeAny, {
|
|
1779
|
+
domain: string;
|
|
1780
|
+
headers?: Record<string, string> | undefined;
|
|
1781
|
+
headerNames?: string[] | undefined;
|
|
1782
|
+
}, {
|
|
1783
|
+
domain: string;
|
|
1784
|
+
headers?: Record<string, string> | undefined;
|
|
1785
|
+
headerNames?: string[] | undefined;
|
|
1786
|
+
}>, "many">>;
|
|
1202
1787
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1788
|
+
activeCpuDurationMs?: number | undefined;
|
|
1789
|
+
networkTransfer?: {
|
|
1790
|
+
ingress: number;
|
|
1791
|
+
egress: number;
|
|
1792
|
+
} | undefined;
|
|
1203
1793
|
}>;
|
|
1204
1794
|
}, "strip", z.ZodTypeAny, {
|
|
1205
1795
|
sandbox: {
|
|
@@ -1231,7 +1821,25 @@ export declare const ExtendTimeoutResponse: z.ZodObject<{
|
|
|
1231
1821
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1232
1822
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1233
1823
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1824
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1825
|
+
domain: z.ZodString;
|
|
1826
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1827
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1828
|
+
}, "strip", z.ZodTypeAny, {
|
|
1829
|
+
domain: string;
|
|
1830
|
+
headers?: Record<string, string> | undefined;
|
|
1831
|
+
headerNames?: string[] | undefined;
|
|
1832
|
+
}, {
|
|
1833
|
+
domain: string;
|
|
1834
|
+
headers?: Record<string, string> | undefined;
|
|
1835
|
+
headerNames?: string[] | undefined;
|
|
1836
|
+
}>, "many">>;
|
|
1234
1837
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1838
|
+
activeCpuDurationMs?: number | undefined;
|
|
1839
|
+
networkTransfer?: {
|
|
1840
|
+
ingress: number;
|
|
1841
|
+
egress: number;
|
|
1842
|
+
} | undefined;
|
|
1235
1843
|
};
|
|
1236
1844
|
}, {
|
|
1237
1845
|
sandbox: {
|
|
@@ -1263,7 +1871,25 @@ export declare const ExtendTimeoutResponse: z.ZodObject<{
|
|
|
1263
1871
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1264
1872
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1265
1873
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1874
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1875
|
+
domain: z.ZodString;
|
|
1876
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1877
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1878
|
+
}, "strip", z.ZodTypeAny, {
|
|
1879
|
+
domain: string;
|
|
1880
|
+
headers?: Record<string, string> | undefined;
|
|
1881
|
+
headerNames?: string[] | undefined;
|
|
1882
|
+
}, {
|
|
1883
|
+
domain: string;
|
|
1884
|
+
headers?: Record<string, string> | undefined;
|
|
1885
|
+
headerNames?: string[] | undefined;
|
|
1886
|
+
}>, "many">>;
|
|
1266
1887
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1888
|
+
activeCpuDurationMs?: number | undefined;
|
|
1889
|
+
networkTransfer?: {
|
|
1890
|
+
ingress: number;
|
|
1891
|
+
egress: number;
|
|
1892
|
+
} | undefined;
|
|
1267
1893
|
};
|
|
1268
1894
|
}>;
|
|
1269
1895
|
export declare const UpdateNetworkPolicyResponse: z.ZodObject<{
|
|
@@ -1304,17 +1930,67 @@ export declare const UpdateNetworkPolicyResponse: z.ZodObject<{
|
|
|
1304
1930
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1305
1931
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1306
1932
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1933
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1934
|
+
domain: z.ZodString;
|
|
1935
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1936
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1937
|
+
}, "strip", z.ZodTypeAny, {
|
|
1938
|
+
domain: string;
|
|
1939
|
+
headers?: Record<string, string> | undefined;
|
|
1940
|
+
headerNames?: string[] | undefined;
|
|
1941
|
+
}, {
|
|
1942
|
+
domain: string;
|
|
1943
|
+
headers?: Record<string, string> | undefined;
|
|
1944
|
+
headerNames?: string[] | undefined;
|
|
1945
|
+
}>, "many">>;
|
|
1307
1946
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1308
1947
|
mode: z.ZodLiteral<"custom">;
|
|
1309
1948
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1310
1949
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1311
1950
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1951
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1952
|
+
domain: z.ZodString;
|
|
1953
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1954
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1955
|
+
}, "strip", z.ZodTypeAny, {
|
|
1956
|
+
domain: string;
|
|
1957
|
+
headers?: Record<string, string> | undefined;
|
|
1958
|
+
headerNames?: string[] | undefined;
|
|
1959
|
+
}, {
|
|
1960
|
+
domain: string;
|
|
1961
|
+
headers?: Record<string, string> | undefined;
|
|
1962
|
+
headerNames?: string[] | undefined;
|
|
1963
|
+
}>, "many">>;
|
|
1312
1964
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1313
1965
|
mode: z.ZodLiteral<"custom">;
|
|
1314
1966
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1315
1967
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1316
1968
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1969
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1970
|
+
domain: z.ZodString;
|
|
1971
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1972
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1973
|
+
}, "strip", z.ZodTypeAny, {
|
|
1974
|
+
domain: string;
|
|
1975
|
+
headers?: Record<string, string> | undefined;
|
|
1976
|
+
headerNames?: string[] | undefined;
|
|
1977
|
+
}, {
|
|
1978
|
+
domain: string;
|
|
1979
|
+
headers?: Record<string, string> | undefined;
|
|
1980
|
+
headerNames?: string[] | undefined;
|
|
1981
|
+
}>, "many">>;
|
|
1317
1982
|
}, z.ZodTypeAny, "passthrough">>]>>;
|
|
1983
|
+
activeCpuDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
1984
|
+
networkTransfer: z.ZodOptional<z.ZodObject<{
|
|
1985
|
+
ingress: z.ZodNumber;
|
|
1986
|
+
egress: z.ZodNumber;
|
|
1987
|
+
}, "strip", z.ZodTypeAny, {
|
|
1988
|
+
ingress: number;
|
|
1989
|
+
egress: number;
|
|
1990
|
+
}, {
|
|
1991
|
+
ingress: number;
|
|
1992
|
+
egress: number;
|
|
1993
|
+
}>>;
|
|
1318
1994
|
}, "strip", z.ZodTypeAny, {
|
|
1319
1995
|
id: string;
|
|
1320
1996
|
memory: number;
|
|
@@ -1344,7 +2020,25 @@ export declare const UpdateNetworkPolicyResponse: z.ZodObject<{
|
|
|
1344
2020
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1345
2021
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1346
2022
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2023
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2024
|
+
domain: z.ZodString;
|
|
2025
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2026
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2027
|
+
}, "strip", z.ZodTypeAny, {
|
|
2028
|
+
domain: string;
|
|
2029
|
+
headers?: Record<string, string> | undefined;
|
|
2030
|
+
headerNames?: string[] | undefined;
|
|
2031
|
+
}, {
|
|
2032
|
+
domain: string;
|
|
2033
|
+
headers?: Record<string, string> | undefined;
|
|
2034
|
+
headerNames?: string[] | undefined;
|
|
2035
|
+
}>, "many">>;
|
|
1347
2036
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2037
|
+
activeCpuDurationMs?: number | undefined;
|
|
2038
|
+
networkTransfer?: {
|
|
2039
|
+
ingress: number;
|
|
2040
|
+
egress: number;
|
|
2041
|
+
} | undefined;
|
|
1348
2042
|
}, {
|
|
1349
2043
|
id: string;
|
|
1350
2044
|
memory: number;
|
|
@@ -1374,7 +2068,25 @@ export declare const UpdateNetworkPolicyResponse: z.ZodObject<{
|
|
|
1374
2068
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1375
2069
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1376
2070
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2071
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2072
|
+
domain: z.ZodString;
|
|
2073
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2074
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2075
|
+
}, "strip", z.ZodTypeAny, {
|
|
2076
|
+
domain: string;
|
|
2077
|
+
headers?: Record<string, string> | undefined;
|
|
2078
|
+
headerNames?: string[] | undefined;
|
|
2079
|
+
}, {
|
|
2080
|
+
domain: string;
|
|
2081
|
+
headers?: Record<string, string> | undefined;
|
|
2082
|
+
headerNames?: string[] | undefined;
|
|
2083
|
+
}>, "many">>;
|
|
1377
2084
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2085
|
+
activeCpuDurationMs?: number | undefined;
|
|
2086
|
+
networkTransfer?: {
|
|
2087
|
+
ingress: number;
|
|
2088
|
+
egress: number;
|
|
2089
|
+
} | undefined;
|
|
1378
2090
|
}>;
|
|
1379
2091
|
}, "strip", z.ZodTypeAny, {
|
|
1380
2092
|
sandbox: {
|
|
@@ -1406,7 +2118,25 @@ export declare const UpdateNetworkPolicyResponse: z.ZodObject<{
|
|
|
1406
2118
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1407
2119
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1408
2120
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2121
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2122
|
+
domain: z.ZodString;
|
|
2123
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2124
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2125
|
+
}, "strip", z.ZodTypeAny, {
|
|
2126
|
+
domain: string;
|
|
2127
|
+
headers?: Record<string, string> | undefined;
|
|
2128
|
+
headerNames?: string[] | undefined;
|
|
2129
|
+
}, {
|
|
2130
|
+
domain: string;
|
|
2131
|
+
headers?: Record<string, string> | undefined;
|
|
2132
|
+
headerNames?: string[] | undefined;
|
|
2133
|
+
}>, "many">>;
|
|
1409
2134
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2135
|
+
activeCpuDurationMs?: number | undefined;
|
|
2136
|
+
networkTransfer?: {
|
|
2137
|
+
ingress: number;
|
|
2138
|
+
egress: number;
|
|
2139
|
+
} | undefined;
|
|
1410
2140
|
};
|
|
1411
2141
|
}, {
|
|
1412
2142
|
sandbox: {
|
|
@@ -1438,7 +2168,25 @@ export declare const UpdateNetworkPolicyResponse: z.ZodObject<{
|
|
|
1438
2168
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1439
2169
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1440
2170
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2171
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2172
|
+
domain: z.ZodString;
|
|
2173
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2174
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2175
|
+
}, "strip", z.ZodTypeAny, {
|
|
2176
|
+
domain: string;
|
|
2177
|
+
headers?: Record<string, string> | undefined;
|
|
2178
|
+
headerNames?: string[] | undefined;
|
|
2179
|
+
}, {
|
|
2180
|
+
domain: string;
|
|
2181
|
+
headers?: Record<string, string> | undefined;
|
|
2182
|
+
headerNames?: string[] | undefined;
|
|
2183
|
+
}>, "many">>;
|
|
1441
2184
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2185
|
+
activeCpuDurationMs?: number | undefined;
|
|
2186
|
+
networkTransfer?: {
|
|
2187
|
+
ingress: number;
|
|
2188
|
+
egress: number;
|
|
2189
|
+
} | undefined;
|
|
1442
2190
|
};
|
|
1443
2191
|
}>;
|
|
1444
2192
|
export declare const CreateSnapshotResponse: z.ZodObject<{
|
|
@@ -1448,7 +2196,7 @@ export declare const CreateSnapshotResponse: z.ZodObject<{
|
|
|
1448
2196
|
region: z.ZodString;
|
|
1449
2197
|
status: z.ZodEnum<["created", "deleted", "failed"]>;
|
|
1450
2198
|
sizeBytes: z.ZodNumber;
|
|
1451
|
-
expiresAt: z.ZodNumber
|
|
2199
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
1452
2200
|
createdAt: z.ZodNumber;
|
|
1453
2201
|
updatedAt: z.ZodNumber;
|
|
1454
2202
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1459,7 +2207,7 @@ export declare const CreateSnapshotResponse: z.ZodObject<{
|
|
|
1459
2207
|
updatedAt: number;
|
|
1460
2208
|
sourceSandboxId: string;
|
|
1461
2209
|
sizeBytes: number;
|
|
1462
|
-
expiresAt
|
|
2210
|
+
expiresAt?: number | undefined;
|
|
1463
2211
|
}, {
|
|
1464
2212
|
id: string;
|
|
1465
2213
|
region: string;
|
|
@@ -1468,7 +2216,7 @@ export declare const CreateSnapshotResponse: z.ZodObject<{
|
|
|
1468
2216
|
updatedAt: number;
|
|
1469
2217
|
sourceSandboxId: string;
|
|
1470
2218
|
sizeBytes: number;
|
|
1471
|
-
expiresAt
|
|
2219
|
+
expiresAt?: number | undefined;
|
|
1472
2220
|
}>;
|
|
1473
2221
|
sandbox: z.ZodObject<{
|
|
1474
2222
|
id: z.ZodString;
|
|
@@ -1507,17 +2255,67 @@ export declare const CreateSnapshotResponse: z.ZodObject<{
|
|
|
1507
2255
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1508
2256
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1509
2257
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2258
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2259
|
+
domain: z.ZodString;
|
|
2260
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2261
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2262
|
+
}, "strip", z.ZodTypeAny, {
|
|
2263
|
+
domain: string;
|
|
2264
|
+
headers?: Record<string, string> | undefined;
|
|
2265
|
+
headerNames?: string[] | undefined;
|
|
2266
|
+
}, {
|
|
2267
|
+
domain: string;
|
|
2268
|
+
headers?: Record<string, string> | undefined;
|
|
2269
|
+
headerNames?: string[] | undefined;
|
|
2270
|
+
}>, "many">>;
|
|
1510
2271
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1511
2272
|
mode: z.ZodLiteral<"custom">;
|
|
1512
2273
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1513
2274
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1514
2275
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2276
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2277
|
+
domain: z.ZodString;
|
|
2278
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2279
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2280
|
+
}, "strip", z.ZodTypeAny, {
|
|
2281
|
+
domain: string;
|
|
2282
|
+
headers?: Record<string, string> | undefined;
|
|
2283
|
+
headerNames?: string[] | undefined;
|
|
2284
|
+
}, {
|
|
2285
|
+
domain: string;
|
|
2286
|
+
headers?: Record<string, string> | undefined;
|
|
2287
|
+
headerNames?: string[] | undefined;
|
|
2288
|
+
}>, "many">>;
|
|
1515
2289
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1516
2290
|
mode: z.ZodLiteral<"custom">;
|
|
1517
2291
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1518
2292
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1519
2293
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2294
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2295
|
+
domain: z.ZodString;
|
|
2296
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2297
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2298
|
+
}, "strip", z.ZodTypeAny, {
|
|
2299
|
+
domain: string;
|
|
2300
|
+
headers?: Record<string, string> | undefined;
|
|
2301
|
+
headerNames?: string[] | undefined;
|
|
2302
|
+
}, {
|
|
2303
|
+
domain: string;
|
|
2304
|
+
headers?: Record<string, string> | undefined;
|
|
2305
|
+
headerNames?: string[] | undefined;
|
|
2306
|
+
}>, "many">>;
|
|
1520
2307
|
}, z.ZodTypeAny, "passthrough">>]>>;
|
|
2308
|
+
activeCpuDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
2309
|
+
networkTransfer: z.ZodOptional<z.ZodObject<{
|
|
2310
|
+
ingress: z.ZodNumber;
|
|
2311
|
+
egress: z.ZodNumber;
|
|
2312
|
+
}, "strip", z.ZodTypeAny, {
|
|
2313
|
+
ingress: number;
|
|
2314
|
+
egress: number;
|
|
2315
|
+
}, {
|
|
2316
|
+
ingress: number;
|
|
2317
|
+
egress: number;
|
|
2318
|
+
}>>;
|
|
1521
2319
|
}, "strip", z.ZodTypeAny, {
|
|
1522
2320
|
id: string;
|
|
1523
2321
|
memory: number;
|
|
@@ -1547,7 +2345,25 @@ export declare const CreateSnapshotResponse: z.ZodObject<{
|
|
|
1547
2345
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1548
2346
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1549
2347
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2348
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2349
|
+
domain: z.ZodString;
|
|
2350
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2351
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2352
|
+
}, "strip", z.ZodTypeAny, {
|
|
2353
|
+
domain: string;
|
|
2354
|
+
headers?: Record<string, string> | undefined;
|
|
2355
|
+
headerNames?: string[] | undefined;
|
|
2356
|
+
}, {
|
|
2357
|
+
domain: string;
|
|
2358
|
+
headers?: Record<string, string> | undefined;
|
|
2359
|
+
headerNames?: string[] | undefined;
|
|
2360
|
+
}>, "many">>;
|
|
1550
2361
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2362
|
+
activeCpuDurationMs?: number | undefined;
|
|
2363
|
+
networkTransfer?: {
|
|
2364
|
+
ingress: number;
|
|
2365
|
+
egress: number;
|
|
2366
|
+
} | undefined;
|
|
1551
2367
|
}, {
|
|
1552
2368
|
id: string;
|
|
1553
2369
|
memory: number;
|
|
@@ -1577,7 +2393,25 @@ export declare const CreateSnapshotResponse: z.ZodObject<{
|
|
|
1577
2393
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1578
2394
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1579
2395
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2396
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2397
|
+
domain: z.ZodString;
|
|
2398
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2399
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2400
|
+
}, "strip", z.ZodTypeAny, {
|
|
2401
|
+
domain: string;
|
|
2402
|
+
headers?: Record<string, string> | undefined;
|
|
2403
|
+
headerNames?: string[] | undefined;
|
|
2404
|
+
}, {
|
|
2405
|
+
domain: string;
|
|
2406
|
+
headers?: Record<string, string> | undefined;
|
|
2407
|
+
headerNames?: string[] | undefined;
|
|
2408
|
+
}>, "many">>;
|
|
1580
2409
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2410
|
+
activeCpuDurationMs?: number | undefined;
|
|
2411
|
+
networkTransfer?: {
|
|
2412
|
+
ingress: number;
|
|
2413
|
+
egress: number;
|
|
2414
|
+
} | undefined;
|
|
1581
2415
|
}>;
|
|
1582
2416
|
}, "strip", z.ZodTypeAny, {
|
|
1583
2417
|
sandbox: {
|
|
@@ -1609,7 +2443,25 @@ export declare const CreateSnapshotResponse: z.ZodObject<{
|
|
|
1609
2443
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1610
2444
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1611
2445
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2446
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2447
|
+
domain: z.ZodString;
|
|
2448
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2449
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2450
|
+
}, "strip", z.ZodTypeAny, {
|
|
2451
|
+
domain: string;
|
|
2452
|
+
headers?: Record<string, string> | undefined;
|
|
2453
|
+
headerNames?: string[] | undefined;
|
|
2454
|
+
}, {
|
|
2455
|
+
domain: string;
|
|
2456
|
+
headers?: Record<string, string> | undefined;
|
|
2457
|
+
headerNames?: string[] | undefined;
|
|
2458
|
+
}>, "many">>;
|
|
1612
2459
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2460
|
+
activeCpuDurationMs?: number | undefined;
|
|
2461
|
+
networkTransfer?: {
|
|
2462
|
+
ingress: number;
|
|
2463
|
+
egress: number;
|
|
2464
|
+
} | undefined;
|
|
1613
2465
|
};
|
|
1614
2466
|
snapshot: {
|
|
1615
2467
|
id: string;
|
|
@@ -1619,7 +2471,7 @@ export declare const CreateSnapshotResponse: z.ZodObject<{
|
|
|
1619
2471
|
updatedAt: number;
|
|
1620
2472
|
sourceSandboxId: string;
|
|
1621
2473
|
sizeBytes: number;
|
|
1622
|
-
expiresAt
|
|
2474
|
+
expiresAt?: number | undefined;
|
|
1623
2475
|
};
|
|
1624
2476
|
}, {
|
|
1625
2477
|
sandbox: {
|
|
@@ -1651,7 +2503,25 @@ export declare const CreateSnapshotResponse: z.ZodObject<{
|
|
|
1651
2503
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1652
2504
|
allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1653
2505
|
deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2506
|
+
injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2507
|
+
domain: z.ZodString;
|
|
2508
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2509
|
+
headerNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2510
|
+
}, "strip", z.ZodTypeAny, {
|
|
2511
|
+
domain: string;
|
|
2512
|
+
headers?: Record<string, string> | undefined;
|
|
2513
|
+
headerNames?: string[] | undefined;
|
|
2514
|
+
}, {
|
|
2515
|
+
domain: string;
|
|
2516
|
+
headers?: Record<string, string> | undefined;
|
|
2517
|
+
headerNames?: string[] | undefined;
|
|
2518
|
+
}>, "many">>;
|
|
1654
2519
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
2520
|
+
activeCpuDurationMs?: number | undefined;
|
|
2521
|
+
networkTransfer?: {
|
|
2522
|
+
ingress: number;
|
|
2523
|
+
egress: number;
|
|
2524
|
+
} | undefined;
|
|
1655
2525
|
};
|
|
1656
2526
|
snapshot: {
|
|
1657
2527
|
id: string;
|
|
@@ -1661,7 +2531,7 @@ export declare const CreateSnapshotResponse: z.ZodObject<{
|
|
|
1661
2531
|
updatedAt: number;
|
|
1662
2532
|
sourceSandboxId: string;
|
|
1663
2533
|
sizeBytes: number;
|
|
1664
|
-
expiresAt
|
|
2534
|
+
expiresAt?: number | undefined;
|
|
1665
2535
|
};
|
|
1666
2536
|
}>;
|
|
1667
2537
|
export declare const SnapshotResponse: z.ZodObject<{
|
|
@@ -1671,7 +2541,7 @@ export declare const SnapshotResponse: z.ZodObject<{
|
|
|
1671
2541
|
region: z.ZodString;
|
|
1672
2542
|
status: z.ZodEnum<["created", "deleted", "failed"]>;
|
|
1673
2543
|
sizeBytes: z.ZodNumber;
|
|
1674
|
-
expiresAt: z.ZodNumber
|
|
2544
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
1675
2545
|
createdAt: z.ZodNumber;
|
|
1676
2546
|
updatedAt: z.ZodNumber;
|
|
1677
2547
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1682,7 +2552,7 @@ export declare const SnapshotResponse: z.ZodObject<{
|
|
|
1682
2552
|
updatedAt: number;
|
|
1683
2553
|
sourceSandboxId: string;
|
|
1684
2554
|
sizeBytes: number;
|
|
1685
|
-
expiresAt
|
|
2555
|
+
expiresAt?: number | undefined;
|
|
1686
2556
|
}, {
|
|
1687
2557
|
id: string;
|
|
1688
2558
|
region: string;
|
|
@@ -1691,7 +2561,7 @@ export declare const SnapshotResponse: z.ZodObject<{
|
|
|
1691
2561
|
updatedAt: number;
|
|
1692
2562
|
sourceSandboxId: string;
|
|
1693
2563
|
sizeBytes: number;
|
|
1694
|
-
expiresAt
|
|
2564
|
+
expiresAt?: number | undefined;
|
|
1695
2565
|
}>;
|
|
1696
2566
|
}, "strip", z.ZodTypeAny, {
|
|
1697
2567
|
snapshot: {
|
|
@@ -1702,7 +2572,7 @@ export declare const SnapshotResponse: z.ZodObject<{
|
|
|
1702
2572
|
updatedAt: number;
|
|
1703
2573
|
sourceSandboxId: string;
|
|
1704
2574
|
sizeBytes: number;
|
|
1705
|
-
expiresAt
|
|
2575
|
+
expiresAt?: number | undefined;
|
|
1706
2576
|
};
|
|
1707
2577
|
}, {
|
|
1708
2578
|
snapshot: {
|
|
@@ -1713,6 +2583,6 @@ export declare const SnapshotResponse: z.ZodObject<{
|
|
|
1713
2583
|
updatedAt: number;
|
|
1714
2584
|
sourceSandboxId: string;
|
|
1715
2585
|
sizeBytes: number;
|
|
1716
|
-
expiresAt
|
|
2586
|
+
expiresAt?: number | undefined;
|
|
1717
2587
|
};
|
|
1718
2588
|
}>;
|