@trigger.dev/core 0.0.0-prerelease-20250116195421 → 0.0.0-prerelease-20250210232715

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.
Files changed (62) hide show
  1. package/dist/commonjs/logger.js +38 -0
  2. package/dist/commonjs/logger.js.map +1 -1
  3. package/dist/commonjs/schemas/api.d.ts +121 -121
  4. package/dist/commonjs/schemas/tasks.d.ts +4 -4
  5. package/dist/commonjs/v3/apiClient/core.d.ts +26 -2
  6. package/dist/commonjs/v3/apiClient/core.js +51 -1
  7. package/dist/commonjs/v3/apiClient/core.js.map +1 -1
  8. package/dist/commonjs/v3/apiClient/index.d.ts +67 -67
  9. package/dist/commonjs/v3/apiClient/index.js.map +1 -1
  10. package/dist/commonjs/v3/apiClient/runStream.js +2 -2
  11. package/dist/commonjs/v3/build/runtime.js +15 -1
  12. package/dist/commonjs/v3/build/runtime.js.map +1 -1
  13. package/dist/commonjs/v3/runtime/preventMultipleWaits.d.ts +1 -0
  14. package/dist/commonjs/v3/schemas/api.d.ts +549 -515
  15. package/dist/commonjs/v3/schemas/api.js +22 -21
  16. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  17. package/dist/commonjs/v3/schemas/build.d.ts +264 -202
  18. package/dist/commonjs/v3/schemas/fetch.d.ts +115 -0
  19. package/dist/commonjs/v3/schemas/messages.d.ts +3906 -3721
  20. package/dist/commonjs/v3/schemas/messages.js +4 -4
  21. package/dist/commonjs/v3/schemas/messages.js.map +1 -1
  22. package/dist/commonjs/v3/schemas/resources.d.ts +108 -64
  23. package/dist/commonjs/v3/schemas/schemas.d.ts +354 -262
  24. package/dist/commonjs/v3/schemas/schemas.js +11 -2
  25. package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
  26. package/dist/commonjs/v3/schemas/style.d.ts +10 -10
  27. package/dist/commonjs/v3/types/tasks.d.ts +2 -5
  28. package/dist/commonjs/v3/zodMessageHandler.d.ts +2 -0
  29. package/dist/commonjs/v3/zodMessageHandler.js +8 -0
  30. package/dist/commonjs/v3/zodMessageHandler.js.map +1 -1
  31. package/dist/commonjs/version.js +1 -1
  32. package/dist/esm/logger.js +38 -0
  33. package/dist/esm/logger.js.map +1 -1
  34. package/dist/esm/schemas/api.d.ts +121 -121
  35. package/dist/esm/schemas/tasks.d.ts +4 -4
  36. package/dist/esm/v3/apiClient/core.d.ts +26 -2
  37. package/dist/esm/v3/apiClient/core.js +48 -0
  38. package/dist/esm/v3/apiClient/core.js.map +1 -1
  39. package/dist/esm/v3/apiClient/index.d.ts +67 -67
  40. package/dist/esm/v3/apiClient/index.js.map +1 -1
  41. package/dist/esm/v3/apiClient/runStream.js +2 -2
  42. package/dist/esm/v3/build/runtime.js +15 -1
  43. package/dist/esm/v3/build/runtime.js.map +1 -1
  44. package/dist/esm/v3/schemas/api.d.ts +549 -515
  45. package/dist/esm/v3/schemas/api.js +22 -21
  46. package/dist/esm/v3/schemas/api.js.map +1 -1
  47. package/dist/esm/v3/schemas/build.d.ts +264 -202
  48. package/dist/esm/v3/schemas/fetch.d.ts +115 -0
  49. package/dist/esm/v3/schemas/messages.d.ts +3906 -3721
  50. package/dist/esm/v3/schemas/messages.js +3 -3
  51. package/dist/esm/v3/schemas/messages.js.map +1 -1
  52. package/dist/esm/v3/schemas/resources.d.ts +108 -64
  53. package/dist/esm/v3/schemas/schemas.d.ts +354 -262
  54. package/dist/esm/v3/schemas/schemas.js +12 -3
  55. package/dist/esm/v3/schemas/schemas.js.map +1 -1
  56. package/dist/esm/v3/schemas/style.d.ts +10 -10
  57. package/dist/esm/v3/types/tasks.d.ts +2 -5
  58. package/dist/esm/v3/zodMessageHandler.d.ts +2 -0
  59. package/dist/esm/v3/zodMessageHandler.js +8 -0
  60. package/dist/esm/v3/zodMessageHandler.js.map +1 -1
  61. package/dist/esm/version.js +1 -1
  62. package/package.json +2 -1
@@ -36,8 +36,8 @@ export declare const GetProjectResponseBody: z.ZodObject<{
36
36
  title: string;
37
37
  }>;
38
38
  }, "strip", z.ZodTypeAny, {
39
- id: string;
40
39
  name: string;
40
+ id: string;
41
41
  createdAt: Date;
42
42
  slug: string;
43
43
  organization: {
@@ -48,8 +48,8 @@ export declare const GetProjectResponseBody: z.ZodObject<{
48
48
  };
49
49
  externalRef: string;
50
50
  }, {
51
- id: string;
52
51
  name: string;
52
+ id: string;
53
53
  createdAt: Date;
54
54
  slug: string;
55
55
  organization: {
@@ -84,8 +84,8 @@ export declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
84
84
  title: string;
85
85
  }>;
86
86
  }, "strip", z.ZodTypeAny, {
87
- id: string;
88
87
  name: string;
88
+ id: string;
89
89
  createdAt: Date;
90
90
  slug: string;
91
91
  organization: {
@@ -96,8 +96,8 @@ export declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
96
96
  };
97
97
  externalRef: string;
98
98
  }, {
99
- id: string;
100
99
  name: string;
100
+ id: string;
101
101
  createdAt: Date;
102
102
  slug: string;
103
103
  organization: {
@@ -139,13 +139,13 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
139
139
  exportName: z.ZodString;
140
140
  queue: z.ZodOptional<z.ZodObject<{
141
141
  name: z.ZodOptional<z.ZodString>;
142
- concurrencyLimit: z.ZodOptional<z.ZodNumber>;
142
+ concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
143
143
  }, "strip", z.ZodTypeAny, {
144
144
  name?: string | undefined;
145
- concurrencyLimit?: number | undefined;
145
+ concurrencyLimit?: number | null | undefined;
146
146
  }, {
147
147
  name?: string | undefined;
148
- concurrencyLimit?: number | undefined;
148
+ concurrencyLimit?: number | null | undefined;
149
149
  }>>;
150
150
  retry: z.ZodOptional<z.ZodObject<{
151
151
  maxAttempts: z.ZodOptional<z.ZodNumber>;
@@ -153,18 +153,31 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
153
153
  minTimeoutInMs: z.ZodOptional<z.ZodNumber>;
154
154
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
155
155
  randomize: z.ZodOptional<z.ZodBoolean>;
156
+ outOfMemory: z.ZodOptional<z.ZodObject<{
157
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
158
+ }, "strip", z.ZodTypeAny, {
159
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
160
+ }, {
161
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
162
+ }>>;
156
163
  }, "strip", z.ZodTypeAny, {
157
164
  maxAttempts?: number | undefined;
158
165
  factor?: number | undefined;
159
166
  minTimeoutInMs?: number | undefined;
160
167
  maxTimeoutInMs?: number | undefined;
161
168
  randomize?: boolean | undefined;
169
+ outOfMemory?: {
170
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
171
+ } | undefined;
162
172
  }, {
163
173
  maxAttempts?: number | undefined;
164
174
  factor?: number | undefined;
165
175
  minTimeoutInMs?: number | undefined;
166
176
  maxTimeoutInMs?: number | undefined;
167
177
  randomize?: boolean | undefined;
178
+ outOfMemory?: {
179
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
180
+ } | undefined;
168
181
  }>>;
169
182
  machine: z.ZodOptional<z.ZodObject<{
170
183
  cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
@@ -193,12 +206,17 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
193
206
  maxDuration: z.ZodOptional<z.ZodNumber>;
194
207
  }, "strip", z.ZodTypeAny, {
195
208
  id: string;
196
- exportName: string;
197
209
  filePath: string;
198
- description?: string | undefined;
210
+ exportName: string;
211
+ maxDuration?: number | undefined;
199
212
  queue?: {
200
213
  name?: string | undefined;
201
- concurrencyLimit?: number | undefined;
214
+ concurrencyLimit?: number | null | undefined;
215
+ } | undefined;
216
+ machine?: {
217
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
218
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
219
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
202
220
  } | undefined;
203
221
  retry?: {
204
222
  maxAttempts?: number | undefined;
@@ -206,26 +224,29 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
206
224
  minTimeoutInMs?: number | undefined;
207
225
  maxTimeoutInMs?: number | undefined;
208
226
  randomize?: boolean | undefined;
227
+ outOfMemory?: {
228
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
229
+ } | undefined;
209
230
  } | undefined;
210
- machine?: {
211
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
212
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
213
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
214
- } | undefined;
231
+ description?: string | undefined;
215
232
  triggerSource?: string | undefined;
216
233
  schedule?: {
217
234
  cron: string;
218
235
  timezone: string;
219
236
  } | undefined;
220
- maxDuration?: number | undefined;
221
237
  }, {
222
238
  id: string;
223
- exportName: string;
224
239
  filePath: string;
225
- description?: string | undefined;
240
+ exportName: string;
241
+ maxDuration?: number | undefined;
226
242
  queue?: {
227
243
  name?: string | undefined;
228
- concurrencyLimit?: number | undefined;
244
+ concurrencyLimit?: number | null | undefined;
245
+ } | undefined;
246
+ machine?: {
247
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
248
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
249
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
229
250
  } | undefined;
230
251
  retry?: {
231
252
  maxAttempts?: number | undefined;
@@ -233,18 +254,16 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
233
254
  minTimeoutInMs?: number | undefined;
234
255
  maxTimeoutInMs?: number | undefined;
235
256
  randomize?: boolean | undefined;
257
+ outOfMemory?: {
258
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
259
+ } | undefined;
236
260
  } | undefined;
237
- machine?: {
238
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
239
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
240
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
241
- } | undefined;
261
+ description?: string | undefined;
242
262
  triggerSource?: string | undefined;
243
263
  schedule?: {
244
264
  cron: string;
245
265
  timezone: string;
246
266
  } | undefined;
247
- maxDuration?: number | undefined;
248
267
  }>, "many">;
249
268
  sourceFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
250
269
  filePath: z.ZodString;
@@ -263,14 +282,21 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
263
282
  taskIds: string[];
264
283
  }>, "many">>;
265
284
  }, "strip", z.ZodTypeAny, {
285
+ contentHash: string;
286
+ packageVersion: string;
266
287
  tasks: {
267
288
  id: string;
268
- exportName: string;
269
289
  filePath: string;
270
- description?: string | undefined;
290
+ exportName: string;
291
+ maxDuration?: number | undefined;
271
292
  queue?: {
272
293
  name?: string | undefined;
273
- concurrencyLimit?: number | undefined;
294
+ concurrencyLimit?: number | null | undefined;
295
+ } | undefined;
296
+ machine?: {
297
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
298
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
299
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
274
300
  } | undefined;
275
301
  retry?: {
276
302
  maxAttempts?: number | undefined;
@@ -278,21 +304,17 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
278
304
  minTimeoutInMs?: number | undefined;
279
305
  maxTimeoutInMs?: number | undefined;
280
306
  randomize?: boolean | undefined;
307
+ outOfMemory?: {
308
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
309
+ } | undefined;
281
310
  } | undefined;
282
- machine?: {
283
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
284
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
285
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
286
- } | undefined;
311
+ description?: string | undefined;
287
312
  triggerSource?: string | undefined;
288
313
  schedule?: {
289
314
  cron: string;
290
315
  timezone: string;
291
316
  } | undefined;
292
- maxDuration?: number | undefined;
293
317
  }[];
294
- contentHash: string;
295
- packageVersion: string;
296
318
  cliPackageVersion?: string | undefined;
297
319
  sourceFiles?: {
298
320
  filePath: string;
@@ -301,14 +323,21 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
301
323
  taskIds: string[];
302
324
  }[] | undefined;
303
325
  }, {
326
+ contentHash: string;
327
+ packageVersion: string;
304
328
  tasks: {
305
329
  id: string;
306
- exportName: string;
307
330
  filePath: string;
308
- description?: string | undefined;
331
+ exportName: string;
332
+ maxDuration?: number | undefined;
309
333
  queue?: {
310
334
  name?: string | undefined;
311
- concurrencyLimit?: number | undefined;
335
+ concurrencyLimit?: number | null | undefined;
336
+ } | undefined;
337
+ machine?: {
338
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
339
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
340
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
312
341
  } | undefined;
313
342
  retry?: {
314
343
  maxAttempts?: number | undefined;
@@ -316,21 +345,17 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
316
345
  minTimeoutInMs?: number | undefined;
317
346
  maxTimeoutInMs?: number | undefined;
318
347
  randomize?: boolean | undefined;
348
+ outOfMemory?: {
349
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
350
+ } | undefined;
319
351
  } | undefined;
320
- machine?: {
321
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
322
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
323
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
324
- } | undefined;
352
+ description?: string | undefined;
325
353
  triggerSource?: string | undefined;
326
354
  schedule?: {
327
355
  cron: string;
328
356
  timezone: string;
329
357
  } | undefined;
330
- maxDuration?: number | undefined;
331
358
  }[];
332
- contentHash: string;
333
- packageVersion: string;
334
359
  cliPackageVersion?: string | undefined;
335
360
  sourceFiles?: {
336
361
  filePath: string;
@@ -342,14 +367,21 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
342
367
  supportsLazyAttempts: z.ZodOptional<z.ZodBoolean>;
343
368
  }, "strip", z.ZodTypeAny, {
344
369
  metadata: {
370
+ contentHash: string;
371
+ packageVersion: string;
345
372
  tasks: {
346
373
  id: string;
347
- exportName: string;
348
374
  filePath: string;
349
- description?: string | undefined;
375
+ exportName: string;
376
+ maxDuration?: number | undefined;
350
377
  queue?: {
351
378
  name?: string | undefined;
352
- concurrencyLimit?: number | undefined;
379
+ concurrencyLimit?: number | null | undefined;
380
+ } | undefined;
381
+ machine?: {
382
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
383
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
384
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
353
385
  } | undefined;
354
386
  retry?: {
355
387
  maxAttempts?: number | undefined;
@@ -357,21 +389,17 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
357
389
  minTimeoutInMs?: number | undefined;
358
390
  maxTimeoutInMs?: number | undefined;
359
391
  randomize?: boolean | undefined;
392
+ outOfMemory?: {
393
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
394
+ } | undefined;
360
395
  } | undefined;
361
- machine?: {
362
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
363
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
364
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
365
- } | undefined;
396
+ description?: string | undefined;
366
397
  triggerSource?: string | undefined;
367
398
  schedule?: {
368
399
  cron: string;
369
400
  timezone: string;
370
401
  } | undefined;
371
- maxDuration?: number | undefined;
372
402
  }[];
373
- contentHash: string;
374
- packageVersion: string;
375
403
  cliPackageVersion?: string | undefined;
376
404
  sourceFiles?: {
377
405
  filePath: string;
@@ -384,14 +412,21 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
384
412
  supportsLazyAttempts?: boolean | undefined;
385
413
  }, {
386
414
  metadata: {
415
+ contentHash: string;
416
+ packageVersion: string;
387
417
  tasks: {
388
418
  id: string;
389
- exportName: string;
390
419
  filePath: string;
391
- description?: string | undefined;
420
+ exportName: string;
421
+ maxDuration?: number | undefined;
392
422
  queue?: {
393
423
  name?: string | undefined;
394
- concurrencyLimit?: number | undefined;
424
+ concurrencyLimit?: number | null | undefined;
425
+ } | undefined;
426
+ machine?: {
427
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
428
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
429
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
395
430
  } | undefined;
396
431
  retry?: {
397
432
  maxAttempts?: number | undefined;
@@ -399,21 +434,17 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
399
434
  minTimeoutInMs?: number | undefined;
400
435
  maxTimeoutInMs?: number | undefined;
401
436
  randomize?: boolean | undefined;
437
+ outOfMemory?: {
438
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
439
+ } | undefined;
402
440
  } | undefined;
403
- machine?: {
404
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
405
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
406
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
407
- } | undefined;
441
+ description?: string | undefined;
408
442
  triggerSource?: string | undefined;
409
443
  schedule?: {
410
444
  cron: string;
411
445
  timezone: string;
412
446
  } | undefined;
413
- maxDuration?: number | undefined;
414
447
  }[];
415
- contentHash: string;
416
- packageVersion: string;
417
448
  cliPackageVersion?: string | undefined;
418
449
  sourceFiles?: {
419
450
  filePath: string;
@@ -446,132 +477,132 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
446
477
  payload: z.ZodAny;
447
478
  context: z.ZodAny;
448
479
  options: z.ZodOptional<z.ZodObject<{
480
+ concurrencyKey: z.ZodOptional<z.ZodString>;
481
+ delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
449
482
  dependentAttempt: z.ZodOptional<z.ZodString>;
450
- parentAttempt: z.ZodOptional<z.ZodString>;
451
483
  dependentBatch: z.ZodOptional<z.ZodString>;
452
- parentBatch: z.ZodOptional<z.ZodString>;
484
+ idempotencyKey: z.ZodOptional<z.ZodString>;
485
+ idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
453
486
  lockToVersion: z.ZodOptional<z.ZodString>;
487
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
488
+ maxAttempts: z.ZodOptional<z.ZodNumber>;
489
+ maxDuration: z.ZodOptional<z.ZodNumber>;
490
+ metadata: z.ZodAny;
491
+ metadataType: z.ZodOptional<z.ZodString>;
492
+ parentAttempt: z.ZodOptional<z.ZodString>;
493
+ parentBatch: z.ZodOptional<z.ZodString>;
494
+ payloadType: z.ZodOptional<z.ZodString>;
454
495
  queue: z.ZodOptional<z.ZodObject<{
455
496
  name: z.ZodOptional<z.ZodString>;
456
- concurrencyLimit: z.ZodOptional<z.ZodNumber>;
497
+ concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
457
498
  }, "strip", z.ZodTypeAny, {
458
499
  name?: string | undefined;
459
- concurrencyLimit?: number | undefined;
500
+ concurrencyLimit?: number | null | undefined;
460
501
  }, {
461
502
  name?: string | undefined;
462
- concurrencyLimit?: number | undefined;
503
+ concurrencyLimit?: number | null | undefined;
463
504
  }>>;
464
- concurrencyKey: z.ZodOptional<z.ZodString>;
465
- idempotencyKey: z.ZodOptional<z.ZodString>;
466
- idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
505
+ tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
467
506
  test: z.ZodOptional<z.ZodBoolean>;
468
- payloadType: z.ZodOptional<z.ZodString>;
469
- delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
470
507
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
471
- tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
472
- maxAttempts: z.ZodOptional<z.ZodNumber>;
473
- metadata: z.ZodAny;
474
- metadataType: z.ZodOptional<z.ZodString>;
475
- maxDuration: z.ZodOptional<z.ZodNumber>;
476
- machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
477
508
  }, "strip", z.ZodTypeAny, {
509
+ payloadType?: string | undefined;
510
+ tags?: string | string[] | undefined;
511
+ idempotencyKey?: string | undefined;
478
512
  maxAttempts?: number | undefined;
513
+ metadata?: any;
514
+ maxDuration?: number | undefined;
479
515
  queue?: {
480
516
  name?: string | undefined;
481
- concurrencyLimit?: number | undefined;
517
+ concurrencyLimit?: number | null | undefined;
482
518
  } | undefined;
483
519
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
484
- maxDuration?: number | undefined;
485
- payloadType?: string | undefined;
486
- tags?: string | string[] | undefined;
487
- idempotencyKey?: string | undefined;
488
- metadata?: any;
489
- delay?: string | Date | undefined;
490
520
  idempotencyKeyTTL?: string | undefined;
491
521
  concurrencyKey?: string | undefined;
522
+ delay?: string | Date | undefined;
492
523
  ttl?: string | number | undefined;
493
524
  dependentAttempt?: string | undefined;
494
- parentAttempt?: string | undefined;
495
525
  dependentBatch?: string | undefined;
496
- parentBatch?: string | undefined;
497
526
  lockToVersion?: string | undefined;
498
- test?: boolean | undefined;
499
527
  metadataType?: string | undefined;
528
+ parentAttempt?: string | undefined;
529
+ parentBatch?: string | undefined;
530
+ test?: boolean | undefined;
500
531
  }, {
532
+ payloadType?: string | undefined;
533
+ tags?: string | string[] | undefined;
534
+ idempotencyKey?: string | undefined;
501
535
  maxAttempts?: number | undefined;
536
+ metadata?: any;
537
+ maxDuration?: number | undefined;
502
538
  queue?: {
503
539
  name?: string | undefined;
504
- concurrencyLimit?: number | undefined;
540
+ concurrencyLimit?: number | null | undefined;
505
541
  } | undefined;
506
542
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
507
- maxDuration?: number | undefined;
508
- payloadType?: string | undefined;
509
- tags?: string | string[] | undefined;
510
- idempotencyKey?: string | undefined;
511
- metadata?: any;
512
- delay?: string | Date | undefined;
513
543
  idempotencyKeyTTL?: string | undefined;
514
544
  concurrencyKey?: string | undefined;
545
+ delay?: string | Date | undefined;
515
546
  ttl?: string | number | undefined;
516
547
  dependentAttempt?: string | undefined;
517
- parentAttempt?: string | undefined;
518
548
  dependentBatch?: string | undefined;
519
- parentBatch?: string | undefined;
520
549
  lockToVersion?: string | undefined;
521
- test?: boolean | undefined;
522
550
  metadataType?: string | undefined;
551
+ parentAttempt?: string | undefined;
552
+ parentBatch?: string | undefined;
553
+ test?: boolean | undefined;
523
554
  }>>;
524
555
  }, "strip", z.ZodTypeAny, {
525
556
  options?: {
557
+ payloadType?: string | undefined;
558
+ tags?: string | string[] | undefined;
559
+ idempotencyKey?: string | undefined;
526
560
  maxAttempts?: number | undefined;
561
+ metadata?: any;
562
+ maxDuration?: number | undefined;
527
563
  queue?: {
528
564
  name?: string | undefined;
529
- concurrencyLimit?: number | undefined;
565
+ concurrencyLimit?: number | null | undefined;
530
566
  } | undefined;
531
567
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
532
- maxDuration?: number | undefined;
533
- payloadType?: string | undefined;
534
- tags?: string | string[] | undefined;
535
- idempotencyKey?: string | undefined;
536
- metadata?: any;
537
- delay?: string | Date | undefined;
538
568
  idempotencyKeyTTL?: string | undefined;
539
569
  concurrencyKey?: string | undefined;
570
+ delay?: string | Date | undefined;
540
571
  ttl?: string | number | undefined;
541
572
  dependentAttempt?: string | undefined;
542
- parentAttempt?: string | undefined;
543
573
  dependentBatch?: string | undefined;
544
- parentBatch?: string | undefined;
545
574
  lockToVersion?: string | undefined;
546
- test?: boolean | undefined;
547
575
  metadataType?: string | undefined;
576
+ parentAttempt?: string | undefined;
577
+ parentBatch?: string | undefined;
578
+ test?: boolean | undefined;
548
579
  } | undefined;
549
580
  payload?: any;
550
581
  context?: any;
551
582
  }, {
552
583
  options?: {
584
+ payloadType?: string | undefined;
585
+ tags?: string | string[] | undefined;
586
+ idempotencyKey?: string | undefined;
553
587
  maxAttempts?: number | undefined;
588
+ metadata?: any;
589
+ maxDuration?: number | undefined;
554
590
  queue?: {
555
591
  name?: string | undefined;
556
- concurrencyLimit?: number | undefined;
592
+ concurrencyLimit?: number | null | undefined;
557
593
  } | undefined;
558
594
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
559
- maxDuration?: number | undefined;
560
- payloadType?: string | undefined;
561
- tags?: string | string[] | undefined;
562
- idempotencyKey?: string | undefined;
563
- metadata?: any;
564
- delay?: string | Date | undefined;
565
595
  idempotencyKeyTTL?: string | undefined;
566
596
  concurrencyKey?: string | undefined;
597
+ delay?: string | Date | undefined;
567
598
  ttl?: string | number | undefined;
568
599
  dependentAttempt?: string | undefined;
569
- parentAttempt?: string | undefined;
570
600
  dependentBatch?: string | undefined;
571
- parentBatch?: string | undefined;
572
601
  lockToVersion?: string | undefined;
573
- test?: boolean | undefined;
574
602
  metadataType?: string | undefined;
603
+ parentAttempt?: string | undefined;
604
+ parentBatch?: string | undefined;
605
+ test?: boolean | undefined;
575
606
  } | undefined;
576
607
  payload?: any;
577
608
  context?: any;
@@ -590,132 +621,132 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
590
621
  payload: z.ZodAny;
591
622
  context: z.ZodAny;
592
623
  options: z.ZodOptional<z.ZodObject<{
624
+ concurrencyKey: z.ZodOptional<z.ZodString>;
625
+ delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
593
626
  dependentAttempt: z.ZodOptional<z.ZodString>;
594
- parentAttempt: z.ZodOptional<z.ZodString>;
595
627
  dependentBatch: z.ZodOptional<z.ZodString>;
596
- parentBatch: z.ZodOptional<z.ZodString>;
628
+ idempotencyKey: z.ZodOptional<z.ZodString>;
629
+ idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
597
630
  lockToVersion: z.ZodOptional<z.ZodString>;
631
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
632
+ maxAttempts: z.ZodOptional<z.ZodNumber>;
633
+ maxDuration: z.ZodOptional<z.ZodNumber>;
634
+ metadata: z.ZodAny;
635
+ metadataType: z.ZodOptional<z.ZodString>;
636
+ parentAttempt: z.ZodOptional<z.ZodString>;
637
+ parentBatch: z.ZodOptional<z.ZodString>;
638
+ payloadType: z.ZodOptional<z.ZodString>;
598
639
  queue: z.ZodOptional<z.ZodObject<{
599
640
  name: z.ZodOptional<z.ZodString>;
600
- concurrencyLimit: z.ZodOptional<z.ZodNumber>;
641
+ concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
601
642
  }, "strip", z.ZodTypeAny, {
602
643
  name?: string | undefined;
603
- concurrencyLimit?: number | undefined;
644
+ concurrencyLimit?: number | null | undefined;
604
645
  }, {
605
646
  name?: string | undefined;
606
- concurrencyLimit?: number | undefined;
647
+ concurrencyLimit?: number | null | undefined;
607
648
  }>>;
608
- concurrencyKey: z.ZodOptional<z.ZodString>;
609
- idempotencyKey: z.ZodOptional<z.ZodString>;
610
- idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
649
+ tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
611
650
  test: z.ZodOptional<z.ZodBoolean>;
612
- payloadType: z.ZodOptional<z.ZodString>;
613
- delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
614
651
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
615
- tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
616
- maxAttempts: z.ZodOptional<z.ZodNumber>;
617
- metadata: z.ZodAny;
618
- metadataType: z.ZodOptional<z.ZodString>;
619
- maxDuration: z.ZodOptional<z.ZodNumber>;
620
- machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
621
652
  }, "strip", z.ZodTypeAny, {
653
+ payloadType?: string | undefined;
654
+ tags?: string | string[] | undefined;
655
+ idempotencyKey?: string | undefined;
622
656
  maxAttempts?: number | undefined;
657
+ metadata?: any;
658
+ maxDuration?: number | undefined;
623
659
  queue?: {
624
660
  name?: string | undefined;
625
- concurrencyLimit?: number | undefined;
661
+ concurrencyLimit?: number | null | undefined;
626
662
  } | undefined;
627
663
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
628
- maxDuration?: number | undefined;
629
- payloadType?: string | undefined;
630
- tags?: string | string[] | undefined;
631
- idempotencyKey?: string | undefined;
632
- metadata?: any;
633
- delay?: string | Date | undefined;
634
664
  idempotencyKeyTTL?: string | undefined;
635
665
  concurrencyKey?: string | undefined;
666
+ delay?: string | Date | undefined;
636
667
  ttl?: string | number | undefined;
637
668
  dependentAttempt?: string | undefined;
638
- parentAttempt?: string | undefined;
639
669
  dependentBatch?: string | undefined;
640
- parentBatch?: string | undefined;
641
670
  lockToVersion?: string | undefined;
642
- test?: boolean | undefined;
643
671
  metadataType?: string | undefined;
672
+ parentAttempt?: string | undefined;
673
+ parentBatch?: string | undefined;
674
+ test?: boolean | undefined;
644
675
  }, {
676
+ payloadType?: string | undefined;
677
+ tags?: string | string[] | undefined;
678
+ idempotencyKey?: string | undefined;
645
679
  maxAttempts?: number | undefined;
680
+ metadata?: any;
681
+ maxDuration?: number | undefined;
646
682
  queue?: {
647
683
  name?: string | undefined;
648
- concurrencyLimit?: number | undefined;
684
+ concurrencyLimit?: number | null | undefined;
649
685
  } | undefined;
650
686
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
651
- maxDuration?: number | undefined;
652
- payloadType?: string | undefined;
653
- tags?: string | string[] | undefined;
654
- idempotencyKey?: string | undefined;
655
- metadata?: any;
656
- delay?: string | Date | undefined;
657
687
  idempotencyKeyTTL?: string | undefined;
658
688
  concurrencyKey?: string | undefined;
689
+ delay?: string | Date | undefined;
659
690
  ttl?: string | number | undefined;
660
691
  dependentAttempt?: string | undefined;
661
- parentAttempt?: string | undefined;
662
692
  dependentBatch?: string | undefined;
663
- parentBatch?: string | undefined;
664
693
  lockToVersion?: string | undefined;
665
- test?: boolean | undefined;
666
694
  metadataType?: string | undefined;
695
+ parentAttempt?: string | undefined;
696
+ parentBatch?: string | undefined;
697
+ test?: boolean | undefined;
667
698
  }>>;
668
699
  }, "strip", z.ZodTypeAny, {
669
700
  options?: {
701
+ payloadType?: string | undefined;
702
+ tags?: string | string[] | undefined;
703
+ idempotencyKey?: string | undefined;
670
704
  maxAttempts?: number | undefined;
705
+ metadata?: any;
706
+ maxDuration?: number | undefined;
671
707
  queue?: {
672
708
  name?: string | undefined;
673
- concurrencyLimit?: number | undefined;
709
+ concurrencyLimit?: number | null | undefined;
674
710
  } | undefined;
675
711
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
676
- maxDuration?: number | undefined;
677
- payloadType?: string | undefined;
678
- tags?: string | string[] | undefined;
679
- idempotencyKey?: string | undefined;
680
- metadata?: any;
681
- delay?: string | Date | undefined;
682
712
  idempotencyKeyTTL?: string | undefined;
683
713
  concurrencyKey?: string | undefined;
714
+ delay?: string | Date | undefined;
684
715
  ttl?: string | number | undefined;
685
716
  dependentAttempt?: string | undefined;
686
- parentAttempt?: string | undefined;
687
717
  dependentBatch?: string | undefined;
688
- parentBatch?: string | undefined;
689
718
  lockToVersion?: string | undefined;
690
- test?: boolean | undefined;
691
719
  metadataType?: string | undefined;
720
+ parentAttempt?: string | undefined;
721
+ parentBatch?: string | undefined;
722
+ test?: boolean | undefined;
692
723
  } | undefined;
693
724
  payload?: any;
694
725
  context?: any;
695
726
  }, {
696
727
  options?: {
728
+ payloadType?: string | undefined;
729
+ tags?: string | string[] | undefined;
730
+ idempotencyKey?: string | undefined;
697
731
  maxAttempts?: number | undefined;
732
+ metadata?: any;
733
+ maxDuration?: number | undefined;
698
734
  queue?: {
699
735
  name?: string | undefined;
700
- concurrencyLimit?: number | undefined;
736
+ concurrencyLimit?: number | null | undefined;
701
737
  } | undefined;
702
738
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
703
- maxDuration?: number | undefined;
704
- payloadType?: string | undefined;
705
- tags?: string | string[] | undefined;
706
- idempotencyKey?: string | undefined;
707
- metadata?: any;
708
- delay?: string | Date | undefined;
709
739
  idempotencyKeyTTL?: string | undefined;
710
740
  concurrencyKey?: string | undefined;
741
+ delay?: string | Date | undefined;
711
742
  ttl?: string | number | undefined;
712
743
  dependentAttempt?: string | undefined;
713
- parentAttempt?: string | undefined;
714
744
  dependentBatch?: string | undefined;
715
- parentBatch?: string | undefined;
716
745
  lockToVersion?: string | undefined;
717
- test?: boolean | undefined;
718
746
  metadataType?: string | undefined;
747
+ parentAttempt?: string | undefined;
748
+ parentBatch?: string | undefined;
749
+ test?: boolean | undefined;
719
750
  } | undefined;
720
751
  payload?: any;
721
752
  context?: any;
@@ -724,28 +755,28 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
724
755
  }, "strip", z.ZodTypeAny, {
725
756
  items: {
726
757
  options?: {
758
+ payloadType?: string | undefined;
759
+ tags?: string | string[] | undefined;
760
+ idempotencyKey?: string | undefined;
727
761
  maxAttempts?: number | undefined;
762
+ metadata?: any;
763
+ maxDuration?: number | undefined;
728
764
  queue?: {
729
765
  name?: string | undefined;
730
- concurrencyLimit?: number | undefined;
766
+ concurrencyLimit?: number | null | undefined;
731
767
  } | undefined;
732
768
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
733
- maxDuration?: number | undefined;
734
- payloadType?: string | undefined;
735
- tags?: string | string[] | undefined;
736
- idempotencyKey?: string | undefined;
737
- metadata?: any;
738
- delay?: string | Date | undefined;
739
769
  idempotencyKeyTTL?: string | undefined;
740
770
  concurrencyKey?: string | undefined;
771
+ delay?: string | Date | undefined;
741
772
  ttl?: string | number | undefined;
742
773
  dependentAttempt?: string | undefined;
743
- parentAttempt?: string | undefined;
744
774
  dependentBatch?: string | undefined;
745
- parentBatch?: string | undefined;
746
775
  lockToVersion?: string | undefined;
747
- test?: boolean | undefined;
748
776
  metadataType?: string | undefined;
777
+ parentAttempt?: string | undefined;
778
+ parentBatch?: string | undefined;
779
+ test?: boolean | undefined;
749
780
  } | undefined;
750
781
  payload?: any;
751
782
  context?: any;
@@ -754,28 +785,28 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
754
785
  }, {
755
786
  items: {
756
787
  options?: {
788
+ payloadType?: string | undefined;
789
+ tags?: string | string[] | undefined;
790
+ idempotencyKey?: string | undefined;
757
791
  maxAttempts?: number | undefined;
792
+ metadata?: any;
793
+ maxDuration?: number | undefined;
758
794
  queue?: {
759
795
  name?: string | undefined;
760
- concurrencyLimit?: number | undefined;
796
+ concurrencyLimit?: number | null | undefined;
761
797
  } | undefined;
762
798
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
763
- maxDuration?: number | undefined;
764
- payloadType?: string | undefined;
765
- tags?: string | string[] | undefined;
766
- idempotencyKey?: string | undefined;
767
- metadata?: any;
768
- delay?: string | Date | undefined;
769
799
  idempotencyKeyTTL?: string | undefined;
770
800
  concurrencyKey?: string | undefined;
801
+ delay?: string | Date | undefined;
771
802
  ttl?: string | number | undefined;
772
803
  dependentAttempt?: string | undefined;
773
- parentAttempt?: string | undefined;
774
804
  dependentBatch?: string | undefined;
775
- parentBatch?: string | undefined;
776
805
  lockToVersion?: string | undefined;
777
- test?: boolean | undefined;
778
806
  metadataType?: string | undefined;
807
+ parentAttempt?: string | undefined;
808
+ parentBatch?: string | undefined;
809
+ test?: boolean | undefined;
779
810
  } | undefined;
780
811
  payload?: any;
781
812
  context?: any;
@@ -788,119 +819,119 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
788
819
  payload: z.ZodAny;
789
820
  context: z.ZodAny;
790
821
  options: z.ZodOptional<z.ZodObject<{
822
+ concurrencyKey: z.ZodOptional<z.ZodString>;
823
+ delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
824
+ idempotencyKey: z.ZodOptional<z.ZodString>;
825
+ idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
791
826
  lockToVersion: z.ZodOptional<z.ZodString>;
827
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
828
+ maxAttempts: z.ZodOptional<z.ZodNumber>;
829
+ maxDuration: z.ZodOptional<z.ZodNumber>;
830
+ metadata: z.ZodAny;
831
+ metadataType: z.ZodOptional<z.ZodString>;
832
+ parentAttempt: z.ZodOptional<z.ZodString>;
833
+ payloadType: z.ZodOptional<z.ZodString>;
792
834
  queue: z.ZodOptional<z.ZodObject<{
793
835
  name: z.ZodOptional<z.ZodString>;
794
- concurrencyLimit: z.ZodOptional<z.ZodNumber>;
836
+ concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
795
837
  }, "strip", z.ZodTypeAny, {
796
838
  name?: string | undefined;
797
- concurrencyLimit?: number | undefined;
839
+ concurrencyLimit?: number | null | undefined;
798
840
  }, {
799
841
  name?: string | undefined;
800
- concurrencyLimit?: number | undefined;
842
+ concurrencyLimit?: number | null | undefined;
801
843
  }>>;
802
- concurrencyKey: z.ZodOptional<z.ZodString>;
803
- idempotencyKey: z.ZodOptional<z.ZodString>;
804
- idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
844
+ tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
805
845
  test: z.ZodOptional<z.ZodBoolean>;
806
- payloadType: z.ZodOptional<z.ZodString>;
807
- delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
808
846
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
809
- tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
810
- maxAttempts: z.ZodOptional<z.ZodNumber>;
811
- metadata: z.ZodAny;
812
- metadataType: z.ZodOptional<z.ZodString>;
813
- maxDuration: z.ZodOptional<z.ZodNumber>;
814
- parentAttempt: z.ZodOptional<z.ZodString>;
815
- machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
816
847
  }, "strip", z.ZodTypeAny, {
848
+ payloadType?: string | undefined;
849
+ tags?: string | string[] | undefined;
850
+ idempotencyKey?: string | undefined;
817
851
  maxAttempts?: number | undefined;
852
+ metadata?: any;
853
+ maxDuration?: number | undefined;
818
854
  queue?: {
819
855
  name?: string | undefined;
820
- concurrencyLimit?: number | undefined;
856
+ concurrencyLimit?: number | null | undefined;
821
857
  } | undefined;
822
858
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
823
- maxDuration?: number | undefined;
824
- payloadType?: string | undefined;
825
- tags?: string | string[] | undefined;
826
- idempotencyKey?: string | undefined;
827
- metadata?: any;
828
- delay?: string | Date | undefined;
829
859
  idempotencyKeyTTL?: string | undefined;
830
860
  concurrencyKey?: string | undefined;
861
+ delay?: string | Date | undefined;
831
862
  ttl?: string | number | undefined;
832
- parentAttempt?: string | undefined;
833
863
  lockToVersion?: string | undefined;
834
- test?: boolean | undefined;
835
864
  metadataType?: string | undefined;
865
+ parentAttempt?: string | undefined;
866
+ test?: boolean | undefined;
836
867
  }, {
868
+ payloadType?: string | undefined;
869
+ tags?: string | string[] | undefined;
870
+ idempotencyKey?: string | undefined;
837
871
  maxAttempts?: number | undefined;
872
+ metadata?: any;
873
+ maxDuration?: number | undefined;
838
874
  queue?: {
839
875
  name?: string | undefined;
840
- concurrencyLimit?: number | undefined;
876
+ concurrencyLimit?: number | null | undefined;
841
877
  } | undefined;
842
878
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
843
- maxDuration?: number | undefined;
844
- payloadType?: string | undefined;
845
- tags?: string | string[] | undefined;
846
- idempotencyKey?: string | undefined;
847
- metadata?: any;
848
- delay?: string | Date | undefined;
849
879
  idempotencyKeyTTL?: string | undefined;
850
880
  concurrencyKey?: string | undefined;
881
+ delay?: string | Date | undefined;
851
882
  ttl?: string | number | undefined;
852
- parentAttempt?: string | undefined;
853
883
  lockToVersion?: string | undefined;
854
- test?: boolean | undefined;
855
884
  metadataType?: string | undefined;
885
+ parentAttempt?: string | undefined;
886
+ test?: boolean | undefined;
856
887
  }>>;
857
888
  }, "strip", z.ZodTypeAny, {
858
889
  task: string;
859
890
  options?: {
891
+ payloadType?: string | undefined;
892
+ tags?: string | string[] | undefined;
893
+ idempotencyKey?: string | undefined;
860
894
  maxAttempts?: number | undefined;
895
+ metadata?: any;
896
+ maxDuration?: number | undefined;
861
897
  queue?: {
862
898
  name?: string | undefined;
863
- concurrencyLimit?: number | undefined;
899
+ concurrencyLimit?: number | null | undefined;
864
900
  } | undefined;
865
901
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
866
- maxDuration?: number | undefined;
867
- payloadType?: string | undefined;
868
- tags?: string | string[] | undefined;
869
- idempotencyKey?: string | undefined;
870
- metadata?: any;
871
- delay?: string | Date | undefined;
872
902
  idempotencyKeyTTL?: string | undefined;
873
903
  concurrencyKey?: string | undefined;
904
+ delay?: string | Date | undefined;
874
905
  ttl?: string | number | undefined;
875
- parentAttempt?: string | undefined;
876
906
  lockToVersion?: string | undefined;
877
- test?: boolean | undefined;
878
907
  metadataType?: string | undefined;
908
+ parentAttempt?: string | undefined;
909
+ test?: boolean | undefined;
879
910
  } | undefined;
880
911
  payload?: any;
881
912
  context?: any;
882
913
  }, {
883
914
  task: string;
884
915
  options?: {
916
+ payloadType?: string | undefined;
917
+ tags?: string | string[] | undefined;
918
+ idempotencyKey?: string | undefined;
885
919
  maxAttempts?: number | undefined;
920
+ metadata?: any;
921
+ maxDuration?: number | undefined;
886
922
  queue?: {
887
923
  name?: string | undefined;
888
- concurrencyLimit?: number | undefined;
924
+ concurrencyLimit?: number | null | undefined;
889
925
  } | undefined;
890
926
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
891
- maxDuration?: number | undefined;
892
- payloadType?: string | undefined;
893
- tags?: string | string[] | undefined;
894
- idempotencyKey?: string | undefined;
895
- metadata?: any;
896
- delay?: string | Date | undefined;
897
927
  idempotencyKeyTTL?: string | undefined;
898
928
  concurrencyKey?: string | undefined;
929
+ delay?: string | Date | undefined;
899
930
  ttl?: string | number | undefined;
900
- parentAttempt?: string | undefined;
901
931
  lockToVersion?: string | undefined;
902
- test?: boolean | undefined;
903
932
  metadataType?: string | undefined;
933
+ parentAttempt?: string | undefined;
934
+ test?: boolean | undefined;
904
935
  } | undefined;
905
936
  payload?: any;
906
937
  context?: any;
@@ -912,119 +943,119 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
912
943
  payload: z.ZodAny;
913
944
  context: z.ZodAny;
914
945
  options: z.ZodOptional<z.ZodObject<{
946
+ concurrencyKey: z.ZodOptional<z.ZodString>;
947
+ delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
948
+ idempotencyKey: z.ZodOptional<z.ZodString>;
949
+ idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
915
950
  lockToVersion: z.ZodOptional<z.ZodString>;
951
+ machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
952
+ maxAttempts: z.ZodOptional<z.ZodNumber>;
953
+ maxDuration: z.ZodOptional<z.ZodNumber>;
954
+ metadata: z.ZodAny;
955
+ metadataType: z.ZodOptional<z.ZodString>;
956
+ parentAttempt: z.ZodOptional<z.ZodString>;
957
+ payloadType: z.ZodOptional<z.ZodString>;
916
958
  queue: z.ZodOptional<z.ZodObject<{
917
959
  name: z.ZodOptional<z.ZodString>;
918
- concurrencyLimit: z.ZodOptional<z.ZodNumber>;
960
+ concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
919
961
  }, "strip", z.ZodTypeAny, {
920
962
  name?: string | undefined;
921
- concurrencyLimit?: number | undefined;
963
+ concurrencyLimit?: number | null | undefined;
922
964
  }, {
923
965
  name?: string | undefined;
924
- concurrencyLimit?: number | undefined;
966
+ concurrencyLimit?: number | null | undefined;
925
967
  }>>;
926
- concurrencyKey: z.ZodOptional<z.ZodString>;
927
- idempotencyKey: z.ZodOptional<z.ZodString>;
928
- idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
968
+ tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
929
969
  test: z.ZodOptional<z.ZodBoolean>;
930
- payloadType: z.ZodOptional<z.ZodString>;
931
- delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
932
970
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
933
- tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
934
- maxAttempts: z.ZodOptional<z.ZodNumber>;
935
- metadata: z.ZodAny;
936
- metadataType: z.ZodOptional<z.ZodString>;
937
- maxDuration: z.ZodOptional<z.ZodNumber>;
938
- parentAttempt: z.ZodOptional<z.ZodString>;
939
- machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
940
971
  }, "strip", z.ZodTypeAny, {
972
+ payloadType?: string | undefined;
973
+ tags?: string | string[] | undefined;
974
+ idempotencyKey?: string | undefined;
941
975
  maxAttempts?: number | undefined;
976
+ metadata?: any;
977
+ maxDuration?: number | undefined;
942
978
  queue?: {
943
979
  name?: string | undefined;
944
- concurrencyLimit?: number | undefined;
980
+ concurrencyLimit?: number | null | undefined;
945
981
  } | undefined;
946
982
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
947
- maxDuration?: number | undefined;
948
- payloadType?: string | undefined;
949
- tags?: string | string[] | undefined;
950
- idempotencyKey?: string | undefined;
951
- metadata?: any;
952
- delay?: string | Date | undefined;
953
983
  idempotencyKeyTTL?: string | undefined;
954
984
  concurrencyKey?: string | undefined;
985
+ delay?: string | Date | undefined;
955
986
  ttl?: string | number | undefined;
956
- parentAttempt?: string | undefined;
957
987
  lockToVersion?: string | undefined;
958
- test?: boolean | undefined;
959
988
  metadataType?: string | undefined;
989
+ parentAttempt?: string | undefined;
990
+ test?: boolean | undefined;
960
991
  }, {
992
+ payloadType?: string | undefined;
993
+ tags?: string | string[] | undefined;
994
+ idempotencyKey?: string | undefined;
961
995
  maxAttempts?: number | undefined;
996
+ metadata?: any;
997
+ maxDuration?: number | undefined;
962
998
  queue?: {
963
999
  name?: string | undefined;
964
- concurrencyLimit?: number | undefined;
1000
+ concurrencyLimit?: number | null | undefined;
965
1001
  } | undefined;
966
1002
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
967
- maxDuration?: number | undefined;
968
- payloadType?: string | undefined;
969
- tags?: string | string[] | undefined;
970
- idempotencyKey?: string | undefined;
971
- metadata?: any;
972
- delay?: string | Date | undefined;
973
1003
  idempotencyKeyTTL?: string | undefined;
974
1004
  concurrencyKey?: string | undefined;
1005
+ delay?: string | Date | undefined;
975
1006
  ttl?: string | number | undefined;
976
- parentAttempt?: string | undefined;
977
1007
  lockToVersion?: string | undefined;
978
- test?: boolean | undefined;
979
1008
  metadataType?: string | undefined;
1009
+ parentAttempt?: string | undefined;
1010
+ test?: boolean | undefined;
980
1011
  }>>;
981
1012
  }, "strip", z.ZodTypeAny, {
982
1013
  task: string;
983
1014
  options?: {
1015
+ payloadType?: string | undefined;
1016
+ tags?: string | string[] | undefined;
1017
+ idempotencyKey?: string | undefined;
984
1018
  maxAttempts?: number | undefined;
1019
+ metadata?: any;
1020
+ maxDuration?: number | undefined;
985
1021
  queue?: {
986
1022
  name?: string | undefined;
987
- concurrencyLimit?: number | undefined;
1023
+ concurrencyLimit?: number | null | undefined;
988
1024
  } | undefined;
989
1025
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
990
- maxDuration?: number | undefined;
991
- payloadType?: string | undefined;
992
- tags?: string | string[] | undefined;
993
- idempotencyKey?: string | undefined;
994
- metadata?: any;
995
- delay?: string | Date | undefined;
996
1026
  idempotencyKeyTTL?: string | undefined;
997
1027
  concurrencyKey?: string | undefined;
1028
+ delay?: string | Date | undefined;
998
1029
  ttl?: string | number | undefined;
999
- parentAttempt?: string | undefined;
1000
1030
  lockToVersion?: string | undefined;
1001
- test?: boolean | undefined;
1002
1031
  metadataType?: string | undefined;
1032
+ parentAttempt?: string | undefined;
1033
+ test?: boolean | undefined;
1003
1034
  } | undefined;
1004
1035
  payload?: any;
1005
1036
  context?: any;
1006
1037
  }, {
1007
1038
  task: string;
1008
1039
  options?: {
1040
+ payloadType?: string | undefined;
1041
+ tags?: string | string[] | undefined;
1042
+ idempotencyKey?: string | undefined;
1009
1043
  maxAttempts?: number | undefined;
1044
+ metadata?: any;
1045
+ maxDuration?: number | undefined;
1010
1046
  queue?: {
1011
1047
  name?: string | undefined;
1012
- concurrencyLimit?: number | undefined;
1048
+ concurrencyLimit?: number | null | undefined;
1013
1049
  } | undefined;
1014
1050
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1015
- maxDuration?: number | undefined;
1016
- payloadType?: string | undefined;
1017
- tags?: string | string[] | undefined;
1018
- idempotencyKey?: string | undefined;
1019
- metadata?: any;
1020
- delay?: string | Date | undefined;
1021
1051
  idempotencyKeyTTL?: string | undefined;
1022
1052
  concurrencyKey?: string | undefined;
1053
+ delay?: string | Date | undefined;
1023
1054
  ttl?: string | number | undefined;
1024
- parentAttempt?: string | undefined;
1025
1055
  lockToVersion?: string | undefined;
1026
- test?: boolean | undefined;
1027
1056
  metadataType?: string | undefined;
1057
+ parentAttempt?: string | undefined;
1058
+ test?: boolean | undefined;
1028
1059
  } | undefined;
1029
1060
  payload?: any;
1030
1061
  context?: any;
@@ -1034,25 +1065,25 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1034
1065
  items: {
1035
1066
  task: string;
1036
1067
  options?: {
1068
+ payloadType?: string | undefined;
1069
+ tags?: string | string[] | undefined;
1070
+ idempotencyKey?: string | undefined;
1037
1071
  maxAttempts?: number | undefined;
1072
+ metadata?: any;
1073
+ maxDuration?: number | undefined;
1038
1074
  queue?: {
1039
1075
  name?: string | undefined;
1040
- concurrencyLimit?: number | undefined;
1076
+ concurrencyLimit?: number | null | undefined;
1041
1077
  } | undefined;
1042
1078
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1043
- maxDuration?: number | undefined;
1044
- payloadType?: string | undefined;
1045
- tags?: string | string[] | undefined;
1046
- idempotencyKey?: string | undefined;
1047
- metadata?: any;
1048
- delay?: string | Date | undefined;
1049
1079
  idempotencyKeyTTL?: string | undefined;
1050
1080
  concurrencyKey?: string | undefined;
1081
+ delay?: string | Date | undefined;
1051
1082
  ttl?: string | number | undefined;
1052
- parentAttempt?: string | undefined;
1053
1083
  lockToVersion?: string | undefined;
1054
- test?: boolean | undefined;
1055
1084
  metadataType?: string | undefined;
1085
+ parentAttempt?: string | undefined;
1086
+ test?: boolean | undefined;
1056
1087
  } | undefined;
1057
1088
  payload?: any;
1058
1089
  context?: any;
@@ -1062,25 +1093,25 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1062
1093
  items: {
1063
1094
  task: string;
1064
1095
  options?: {
1096
+ payloadType?: string | undefined;
1097
+ tags?: string | string[] | undefined;
1098
+ idempotencyKey?: string | undefined;
1065
1099
  maxAttempts?: number | undefined;
1100
+ metadata?: any;
1101
+ maxDuration?: number | undefined;
1066
1102
  queue?: {
1067
1103
  name?: string | undefined;
1068
- concurrencyLimit?: number | undefined;
1104
+ concurrencyLimit?: number | null | undefined;
1069
1105
  } | undefined;
1070
1106
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1071
- maxDuration?: number | undefined;
1072
- payloadType?: string | undefined;
1073
- tags?: string | string[] | undefined;
1074
- idempotencyKey?: string | undefined;
1075
- metadata?: any;
1076
- delay?: string | Date | undefined;
1077
1107
  idempotencyKeyTTL?: string | undefined;
1078
1108
  concurrencyKey?: string | undefined;
1109
+ delay?: string | Date | undefined;
1079
1110
  ttl?: string | number | undefined;
1080
- parentAttempt?: string | undefined;
1081
1111
  lockToVersion?: string | undefined;
1082
- test?: boolean | undefined;
1083
1112
  metadataType?: string | undefined;
1113
+ parentAttempt?: string | undefined;
1114
+ test?: boolean | undefined;
1084
1115
  } | undefined;
1085
1116
  payload?: any;
1086
1117
  context?: any;
@@ -1148,26 +1179,26 @@ export declare const GetBatchResponseBody: z.ZodObject<{
1148
1179
  taskRunId: z.ZodString;
1149
1180
  status: z.ZodEnum<["PENDING", "CANCELED", "COMPLETED", "FAILED"]>;
1150
1181
  }, "strip", z.ZodTypeAny, {
1151
- id: string;
1152
1182
  status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1183
+ id: string;
1153
1184
  taskRunId: string;
1154
1185
  }, {
1155
- id: string;
1156
1186
  status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1187
+ id: string;
1157
1188
  taskRunId: string;
1158
1189
  }>, "many">;
1159
1190
  }, "strip", z.ZodTypeAny, {
1160
1191
  id: string;
1161
1192
  items: {
1162
- id: string;
1163
1193
  status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1194
+ id: string;
1164
1195
  taskRunId: string;
1165
1196
  }[];
1166
1197
  }, {
1167
1198
  id: string;
1168
1199
  items: {
1169
- id: string;
1170
1200
  status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1201
+ id: string;
1171
1202
  taskRunId: string;
1172
1203
  }[];
1173
1204
  }>;
@@ -1221,12 +1252,15 @@ export type StartDeploymentIndexingResponseBody = z.infer<typeof StartDeployment
1221
1252
  export declare const FinalizeDeploymentRequestBody: z.ZodObject<{
1222
1253
  imageReference: z.ZodString;
1223
1254
  selfHosted: z.ZodOptional<z.ZodBoolean>;
1255
+ skipRegistryProxy: z.ZodOptional<z.ZodBoolean>;
1224
1256
  }, "strip", z.ZodTypeAny, {
1225
1257
  imageReference: string;
1226
1258
  selfHosted?: boolean | undefined;
1259
+ skipRegistryProxy?: boolean | undefined;
1227
1260
  }, {
1228
1261
  imageReference: string;
1229
1262
  selfHosted?: boolean | undefined;
1263
+ skipRegistryProxy?: boolean | undefined;
1230
1264
  }>;
1231
1265
  export type FinalizeDeploymentRequestBody = z.infer<typeof FinalizeDeploymentRequestBody>;
1232
1266
  export declare const ExternalBuildData: z.ZodObject<{
@@ -1315,13 +1349,13 @@ export declare const DeploymentErrorData: z.ZodObject<{
1315
1349
  stack: z.ZodOptional<z.ZodString>;
1316
1350
  stderr: z.ZodOptional<z.ZodString>;
1317
1351
  }, "strip", z.ZodTypeAny, {
1318
- message: string;
1319
1352
  name: string;
1353
+ message: string;
1320
1354
  stack?: string | undefined;
1321
1355
  stderr?: string | undefined;
1322
1356
  }, {
1323
- message: string;
1324
1357
  name: string;
1358
+ message: string;
1325
1359
  stack?: string | undefined;
1326
1360
  stderr?: string | undefined;
1327
1361
  }>;
@@ -1333,27 +1367,27 @@ export declare const FailDeploymentRequestBody: z.ZodObject<{
1333
1367
  stack: z.ZodOptional<z.ZodString>;
1334
1368
  stderr: z.ZodOptional<z.ZodString>;
1335
1369
  }, "strip", z.ZodTypeAny, {
1336
- message: string;
1337
1370
  name: string;
1371
+ message: string;
1338
1372
  stack?: string | undefined;
1339
1373
  stderr?: string | undefined;
1340
1374
  }, {
1341
- message: string;
1342
1375
  name: string;
1376
+ message: string;
1343
1377
  stack?: string | undefined;
1344
1378
  stderr?: string | undefined;
1345
1379
  }>;
1346
1380
  }, "strip", z.ZodTypeAny, {
1347
1381
  error: {
1348
- message: string;
1349
1382
  name: string;
1383
+ message: string;
1350
1384
  stack?: string | undefined;
1351
1385
  stderr?: string | undefined;
1352
1386
  };
1353
1387
  }, {
1354
1388
  error: {
1355
- message: string;
1356
1389
  name: string;
1390
+ message: string;
1357
1391
  stack?: string | undefined;
1358
1392
  stderr?: string | undefined;
1359
1393
  };
@@ -1380,13 +1414,13 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1380
1414
  stack: z.ZodOptional<z.ZodString>;
1381
1415
  stderr: z.ZodOptional<z.ZodString>;
1382
1416
  }, "strip", z.ZodTypeAny, {
1383
- message: string;
1384
1417
  name: string;
1418
+ message: string;
1385
1419
  stack?: string | undefined;
1386
1420
  stderr?: string | undefined;
1387
1421
  }, {
1388
- message: string;
1389
1422
  name: string;
1423
+ message: string;
1390
1424
  stack?: string | undefined;
1391
1425
  stderr?: string | undefined;
1392
1426
  }>>>;
@@ -1400,77 +1434,77 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1400
1434
  exportName: z.ZodString;
1401
1435
  }, "strip", z.ZodTypeAny, {
1402
1436
  id: string;
1403
- exportName: string;
1404
1437
  filePath: string;
1438
+ exportName: string;
1405
1439
  slug: string;
1406
1440
  }, {
1407
1441
  id: string;
1408
- exportName: string;
1409
1442
  filePath: string;
1443
+ exportName: string;
1410
1444
  slug: string;
1411
1445
  }>, "many">;
1412
1446
  }, "strip", z.ZodTypeAny, {
1413
1447
  id: string;
1448
+ version: string;
1414
1449
  tasks: {
1415
1450
  id: string;
1416
- exportName: string;
1417
1451
  filePath: string;
1452
+ exportName: string;
1418
1453
  slug: string;
1419
1454
  }[];
1420
- version: string;
1421
1455
  }, {
1422
1456
  id: string;
1457
+ version: string;
1423
1458
  tasks: {
1424
1459
  id: string;
1425
- exportName: string;
1426
1460
  filePath: string;
1461
+ exportName: string;
1427
1462
  slug: string;
1428
1463
  }[];
1429
- version: string;
1430
1464
  }>>;
1431
1465
  }, "strip", z.ZodTypeAny, {
1432
- id: string;
1433
1466
  status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1467
+ id: string;
1434
1468
  version: string;
1435
1469
  contentHash: string;
1436
1470
  shortCode: string;
1437
1471
  worker?: {
1438
1472
  id: string;
1473
+ version: string;
1439
1474
  tasks: {
1440
1475
  id: string;
1441
- exportName: string;
1442
1476
  filePath: string;
1477
+ exportName: string;
1443
1478
  slug: string;
1444
1479
  }[];
1445
- version: string;
1446
1480
  } | undefined;
1447
1481
  imageReference?: string | null | undefined;
1448
1482
  errorData?: {
1449
- message: string;
1450
1483
  name: string;
1484
+ message: string;
1451
1485
  stack?: string | undefined;
1452
1486
  stderr?: string | undefined;
1453
1487
  } | null | undefined;
1454
1488
  }, {
1455
- id: string;
1456
1489
  status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1490
+ id: string;
1457
1491
  version: string;
1458
1492
  contentHash: string;
1459
1493
  shortCode: string;
1460
1494
  worker?: {
1461
1495
  id: string;
1496
+ version: string;
1462
1497
  tasks: {
1463
1498
  id: string;
1464
- exportName: string;
1465
1499
  filePath: string;
1500
+ exportName: string;
1466
1501
  slug: string;
1467
1502
  }[];
1468
- version: string;
1469
1503
  } | undefined;
1470
1504
  imageReference?: string | null | undefined;
1471
1505
  errorData?: {
1472
- message: string;
1473
1506
  name: string;
1507
+ message: string;
1474
1508
  stack?: string | undefined;
1475
1509
  stderr?: string | undefined;
1476
1510
  } | null | undefined;
@@ -1538,16 +1572,16 @@ export declare const ScheduledTaskPayload: z.ZodObject<{
1538
1572
  }, "strip", z.ZodTypeAny, {
1539
1573
  type: "DECLARATIVE" | "IMPERATIVE";
1540
1574
  timezone: string;
1541
- timestamp: Date;
1542
1575
  scheduleId: string;
1576
+ timestamp: Date;
1543
1577
  upcoming: Date[];
1544
1578
  externalId?: string | undefined;
1545
1579
  lastTimestamp?: Date | undefined;
1546
1580
  }, {
1547
1581
  type: "DECLARATIVE" | "IMPERATIVE";
1548
1582
  timezone: string;
1549
- timestamp: Date;
1550
1583
  scheduleId: string;
1584
+ timestamp: Date;
1551
1585
  upcoming: Date[];
1552
1586
  externalId?: string | undefined;
1553
1587
  lastTimestamp?: Date | undefined;
@@ -1594,14 +1628,14 @@ export declare const CreateScheduleOptions: z.ZodObject<{
1594
1628
  */
1595
1629
  timezone: z.ZodOptional<z.ZodString>;
1596
1630
  }, "strip", z.ZodTypeAny, {
1597
- cron: string;
1598
1631
  task: string;
1632
+ cron: string;
1599
1633
  deduplicationKey: string;
1600
1634
  timezone?: string | undefined;
1601
1635
  externalId?: string | undefined;
1602
1636
  }, {
1603
- cron: string;
1604
1637
  task: string;
1638
+ cron: string;
1605
1639
  deduplicationKey: string;
1606
1640
  timezone?: string | undefined;
1607
1641
  externalId?: string | undefined;
@@ -1648,13 +1682,13 @@ export declare const UpdateScheduleOptions: z.ZodObject<Omit<{
1648
1682
  */
1649
1683
  timezone: z.ZodOptional<z.ZodString>;
1650
1684
  }, "deduplicationKey">, "strip", z.ZodTypeAny, {
1651
- cron: string;
1652
1685
  task: string;
1686
+ cron: string;
1653
1687
  timezone?: string | undefined;
1654
1688
  externalId?: string | undefined;
1655
1689
  }, {
1656
- cron: string;
1657
1690
  task: string;
1691
+ cron: string;
1658
1692
  timezone?: string | undefined;
1659
1693
  externalId?: string | undefined;
1660
1694
  }>;
@@ -1700,19 +1734,19 @@ export declare const ScheduleObject: z.ZodObject<{
1700
1734
  type: z.ZodString;
1701
1735
  userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1702
1736
  }, "strip", z.ZodTypeAny, {
1703
- id: string;
1704
1737
  type: string;
1738
+ id: string;
1705
1739
  userName?: string | null | undefined;
1706
1740
  }, {
1707
- id: string;
1708
1741
  type: string;
1742
+ id: string;
1709
1743
  userName?: string | null | undefined;
1710
1744
  }>, "many">;
1711
1745
  }, "strip", z.ZodTypeAny, {
1712
- id: string;
1713
1746
  type: "DECLARATIVE" | "IMPERATIVE";
1714
- timezone: string;
1747
+ id: string;
1715
1748
  task: string;
1749
+ timezone: string;
1716
1750
  generator: {
1717
1751
  type: "CRON";
1718
1752
  description: string;
@@ -1720,18 +1754,18 @@ export declare const ScheduleObject: z.ZodObject<{
1720
1754
  };
1721
1755
  active: boolean;
1722
1756
  environments: {
1723
- id: string;
1724
1757
  type: string;
1758
+ id: string;
1725
1759
  userName?: string | null | undefined;
1726
1760
  }[];
1727
1761
  externalId?: string | null | undefined;
1728
1762
  deduplicationKey?: string | null | undefined;
1729
1763
  nextRun?: Date | null | undefined;
1730
1764
  }, {
1731
- id: string;
1732
1765
  type: "DECLARATIVE" | "IMPERATIVE";
1733
- timezone: string;
1766
+ id: string;
1734
1767
  task: string;
1768
+ timezone: string;
1735
1769
  generator: {
1736
1770
  type: "CRON";
1737
1771
  description: string;
@@ -1739,8 +1773,8 @@ export declare const ScheduleObject: z.ZodObject<{
1739
1773
  };
1740
1774
  active: boolean;
1741
1775
  environments: {
1742
- id: string;
1743
1776
  type: string;
1777
+ id: string;
1744
1778
  userName?: string | null | undefined;
1745
1779
  }[];
1746
1780
  externalId?: string | null | undefined;
@@ -1784,19 +1818,19 @@ export declare const ListSchedulesResult: z.ZodObject<{
1784
1818
  type: z.ZodString;
1785
1819
  userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1786
1820
  }, "strip", z.ZodTypeAny, {
1787
- id: string;
1788
1821
  type: string;
1822
+ id: string;
1789
1823
  userName?: string | null | undefined;
1790
1824
  }, {
1791
- id: string;
1792
1825
  type: string;
1826
+ id: string;
1793
1827
  userName?: string | null | undefined;
1794
1828
  }>, "many">;
1795
1829
  }, "strip", z.ZodTypeAny, {
1796
- id: string;
1797
1830
  type: "DECLARATIVE" | "IMPERATIVE";
1798
- timezone: string;
1831
+ id: string;
1799
1832
  task: string;
1833
+ timezone: string;
1800
1834
  generator: {
1801
1835
  type: "CRON";
1802
1836
  description: string;
@@ -1804,18 +1838,18 @@ export declare const ListSchedulesResult: z.ZodObject<{
1804
1838
  };
1805
1839
  active: boolean;
1806
1840
  environments: {
1807
- id: string;
1808
1841
  type: string;
1842
+ id: string;
1809
1843
  userName?: string | null | undefined;
1810
1844
  }[];
1811
1845
  externalId?: string | null | undefined;
1812
1846
  deduplicationKey?: string | null | undefined;
1813
1847
  nextRun?: Date | null | undefined;
1814
1848
  }, {
1815
- id: string;
1816
1849
  type: "DECLARATIVE" | "IMPERATIVE";
1817
- timezone: string;
1850
+ id: string;
1818
1851
  task: string;
1852
+ timezone: string;
1819
1853
  generator: {
1820
1854
  type: "CRON";
1821
1855
  description: string;
@@ -1823,8 +1857,8 @@ export declare const ListSchedulesResult: z.ZodObject<{
1823
1857
  };
1824
1858
  active: boolean;
1825
1859
  environments: {
1826
- id: string;
1827
1860
  type: string;
1861
+ id: string;
1828
1862
  userName?: string | null | undefined;
1829
1863
  }[];
1830
1864
  externalId?: string | null | undefined;
@@ -1846,10 +1880,10 @@ export declare const ListSchedulesResult: z.ZodObject<{
1846
1880
  }>;
1847
1881
  }, "strip", z.ZodTypeAny, {
1848
1882
  data: {
1849
- id: string;
1850
1883
  type: "DECLARATIVE" | "IMPERATIVE";
1851
- timezone: string;
1884
+ id: string;
1852
1885
  task: string;
1886
+ timezone: string;
1853
1887
  generator: {
1854
1888
  type: "CRON";
1855
1889
  description: string;
@@ -1857,8 +1891,8 @@ export declare const ListSchedulesResult: z.ZodObject<{
1857
1891
  };
1858
1892
  active: boolean;
1859
1893
  environments: {
1860
- id: string;
1861
1894
  type: string;
1895
+ id: string;
1862
1896
  userName?: string | null | undefined;
1863
1897
  }[];
1864
1898
  externalId?: string | null | undefined;
@@ -1872,10 +1906,10 @@ export declare const ListSchedulesResult: z.ZodObject<{
1872
1906
  };
1873
1907
  }, {
1874
1908
  data: {
1875
- id: string;
1876
1909
  type: "DECLARATIVE" | "IMPERATIVE";
1877
- timezone: string;
1910
+ id: string;
1878
1911
  task: string;
1912
+ timezone: string;
1879
1913
  generator: {
1880
1914
  type: "CRON";
1881
1915
  description: string;
@@ -1883,8 +1917,8 @@ export declare const ListSchedulesResult: z.ZodObject<{
1883
1917
  };
1884
1918
  active: boolean;
1885
1919
  environments: {
1886
- id: string;
1887
1920
  type: string;
1921
+ id: string;
1888
1922
  userName?: string | null | undefined;
1889
1923
  }[];
1890
1924
  externalId?: string | null | undefined;
@@ -1926,12 +1960,12 @@ export declare const RunEnvironmentDetails: z.ZodObject<{
1926
1960
  name: z.ZodString;
1927
1961
  user: z.ZodOptional<z.ZodString>;
1928
1962
  }, "strip", z.ZodTypeAny, {
1929
- id: string;
1930
1963
  name: string;
1964
+ id: string;
1931
1965
  user?: string | undefined;
1932
1966
  }, {
1933
- id: string;
1934
1967
  name: string;
1968
+ id: string;
1935
1969
  user?: string | undefined;
1936
1970
  }>;
1937
1971
  export type RunEnvironmentDetails = z.infer<typeof RunEnvironmentDetails>;
@@ -2003,8 +2037,8 @@ export declare const RelatedRunDetails: z.ZodObject<{
2003
2037
  durationMs: z.ZodNumber;
2004
2038
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2005
2039
  }, "strip", z.ZodTypeAny, {
2006
- id: string;
2007
2040
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2041
+ id: string;
2008
2042
  tags: string[];
2009
2043
  isTest: boolean;
2010
2044
  createdAt: Date;
@@ -2021,9 +2055,9 @@ export declare const RelatedRunDetails: z.ZodObject<{
2021
2055
  isFailed: boolean;
2022
2056
  isCancelled: boolean;
2023
2057
  updatedAt: Date;
2024
- version?: string | undefined;
2025
2058
  startedAt?: Date | undefined;
2026
2059
  idempotencyKey?: string | undefined;
2060
+ version?: string | undefined;
2027
2061
  metadata?: Record<string, any> | undefined;
2028
2062
  ttl?: string | undefined;
2029
2063
  batchId?: string | undefined;
@@ -2031,8 +2065,8 @@ export declare const RelatedRunDetails: z.ZodObject<{
2031
2065
  delayedUntil?: Date | undefined;
2032
2066
  expiredAt?: Date | undefined;
2033
2067
  }, {
2034
- id: string;
2035
2068
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2069
+ id: string;
2036
2070
  tags: string[];
2037
2071
  isTest: boolean;
2038
2072
  createdAt: Date;
@@ -2049,9 +2083,9 @@ export declare const RelatedRunDetails: z.ZodObject<{
2049
2083
  isFailed: boolean;
2050
2084
  isCancelled: boolean;
2051
2085
  updatedAt: Date;
2052
- version?: string | undefined;
2053
2086
  startedAt?: Date | undefined;
2054
2087
  idempotencyKey?: string | undefined;
2088
+ version?: string | undefined;
2055
2089
  metadata?: Record<string, any> | undefined;
2056
2090
  ttl?: string | undefined;
2057
2091
  batchId?: string | undefined;
@@ -2070,12 +2104,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2070
2104
  stackTrace: z.ZodOptional<z.ZodString>;
2071
2105
  }, "strip", z.ZodTypeAny, {
2072
2106
  message: string;
2073
- stackTrace?: string | undefined;
2074
2107
  name?: string | undefined;
2108
+ stackTrace?: string | undefined;
2075
2109
  }, {
2076
2110
  message: string;
2077
- stackTrace?: string | undefined;
2078
2111
  name?: string | undefined;
2112
+ stackTrace?: string | undefined;
2079
2113
  }>>;
2080
2114
  schedule: z.ZodOptional<z.ZodObject<{
2081
2115
  id: z.ZodString;
@@ -2143,8 +2177,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2143
2177
  durationMs: z.ZodNumber;
2144
2178
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2145
2179
  }, "strip", z.ZodTypeAny, {
2146
- id: string;
2147
2180
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2181
+ id: string;
2148
2182
  tags: string[];
2149
2183
  isTest: boolean;
2150
2184
  createdAt: Date;
@@ -2161,9 +2195,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2161
2195
  isFailed: boolean;
2162
2196
  isCancelled: boolean;
2163
2197
  updatedAt: Date;
2164
- version?: string | undefined;
2165
2198
  startedAt?: Date | undefined;
2166
2199
  idempotencyKey?: string | undefined;
2200
+ version?: string | undefined;
2167
2201
  metadata?: Record<string, any> | undefined;
2168
2202
  ttl?: string | undefined;
2169
2203
  batchId?: string | undefined;
@@ -2171,8 +2205,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2171
2205
  delayedUntil?: Date | undefined;
2172
2206
  expiredAt?: Date | undefined;
2173
2207
  }, {
2174
- id: string;
2175
2208
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2209
+ id: string;
2176
2210
  tags: string[];
2177
2211
  isTest: boolean;
2178
2212
  createdAt: Date;
@@ -2189,9 +2223,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2189
2223
  isFailed: boolean;
2190
2224
  isCancelled: boolean;
2191
2225
  updatedAt: Date;
2192
- version?: string | undefined;
2193
2226
  startedAt?: Date | undefined;
2194
2227
  idempotencyKey?: string | undefined;
2228
+ version?: string | undefined;
2195
2229
  metadata?: Record<string, any> | undefined;
2196
2230
  ttl?: string | undefined;
2197
2231
  batchId?: string | undefined;
@@ -2228,8 +2262,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2228
2262
  durationMs: z.ZodNumber;
2229
2263
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2230
2264
  }, "strip", z.ZodTypeAny, {
2231
- id: string;
2232
2265
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2266
+ id: string;
2233
2267
  tags: string[];
2234
2268
  isTest: boolean;
2235
2269
  createdAt: Date;
@@ -2246,9 +2280,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2246
2280
  isFailed: boolean;
2247
2281
  isCancelled: boolean;
2248
2282
  updatedAt: Date;
2249
- version?: string | undefined;
2250
2283
  startedAt?: Date | undefined;
2251
2284
  idempotencyKey?: string | undefined;
2285
+ version?: string | undefined;
2252
2286
  metadata?: Record<string, any> | undefined;
2253
2287
  ttl?: string | undefined;
2254
2288
  batchId?: string | undefined;
@@ -2256,8 +2290,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2256
2290
  delayedUntil?: Date | undefined;
2257
2291
  expiredAt?: Date | undefined;
2258
2292
  }, {
2259
- id: string;
2260
2293
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2294
+ id: string;
2261
2295
  tags: string[];
2262
2296
  isTest: boolean;
2263
2297
  createdAt: Date;
@@ -2274,9 +2308,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2274
2308
  isFailed: boolean;
2275
2309
  isCancelled: boolean;
2276
2310
  updatedAt: Date;
2277
- version?: string | undefined;
2278
2311
  startedAt?: Date | undefined;
2279
2312
  idempotencyKey?: string | undefined;
2313
+ version?: string | undefined;
2280
2314
  metadata?: Record<string, any> | undefined;
2281
2315
  ttl?: string | undefined;
2282
2316
  batchId?: string | undefined;
@@ -2313,8 +2347,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2313
2347
  durationMs: z.ZodNumber;
2314
2348
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2315
2349
  }, "strip", z.ZodTypeAny, {
2316
- id: string;
2317
2350
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2351
+ id: string;
2318
2352
  tags: string[];
2319
2353
  isTest: boolean;
2320
2354
  createdAt: Date;
@@ -2331,9 +2365,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2331
2365
  isFailed: boolean;
2332
2366
  isCancelled: boolean;
2333
2367
  updatedAt: Date;
2334
- version?: string | undefined;
2335
2368
  startedAt?: Date | undefined;
2336
2369
  idempotencyKey?: string | undefined;
2370
+ version?: string | undefined;
2337
2371
  metadata?: Record<string, any> | undefined;
2338
2372
  ttl?: string | undefined;
2339
2373
  batchId?: string | undefined;
@@ -2341,8 +2375,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2341
2375
  delayedUntil?: Date | undefined;
2342
2376
  expiredAt?: Date | undefined;
2343
2377
  }, {
2344
- id: string;
2345
2378
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2379
+ id: string;
2346
2380
  tags: string[];
2347
2381
  isTest: boolean;
2348
2382
  createdAt: Date;
@@ -2359,9 +2393,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2359
2393
  isFailed: boolean;
2360
2394
  isCancelled: boolean;
2361
2395
  updatedAt: Date;
2362
- version?: string | undefined;
2363
2396
  startedAt?: Date | undefined;
2364
2397
  idempotencyKey?: string | undefined;
2398
+ version?: string | undefined;
2365
2399
  metadata?: Record<string, any> | undefined;
2366
2400
  ttl?: string | undefined;
2367
2401
  batchId?: string | undefined;
@@ -2371,8 +2405,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2371
2405
  }>, "many">>;
2372
2406
  }, "strip", z.ZodTypeAny, {
2373
2407
  root?: {
2374
- id: string;
2375
2408
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2409
+ id: string;
2376
2410
  tags: string[];
2377
2411
  isTest: boolean;
2378
2412
  createdAt: Date;
@@ -2389,9 +2423,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2389
2423
  isFailed: boolean;
2390
2424
  isCancelled: boolean;
2391
2425
  updatedAt: Date;
2392
- version?: string | undefined;
2393
2426
  startedAt?: Date | undefined;
2394
2427
  idempotencyKey?: string | undefined;
2428
+ version?: string | undefined;
2395
2429
  metadata?: Record<string, any> | undefined;
2396
2430
  ttl?: string | undefined;
2397
2431
  batchId?: string | undefined;
@@ -2400,8 +2434,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2400
2434
  expiredAt?: Date | undefined;
2401
2435
  } | undefined;
2402
2436
  parent?: {
2403
- id: string;
2404
2437
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2438
+ id: string;
2405
2439
  tags: string[];
2406
2440
  isTest: boolean;
2407
2441
  createdAt: Date;
@@ -2418,9 +2452,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2418
2452
  isFailed: boolean;
2419
2453
  isCancelled: boolean;
2420
2454
  updatedAt: Date;
2421
- version?: string | undefined;
2422
2455
  startedAt?: Date | undefined;
2423
2456
  idempotencyKey?: string | undefined;
2457
+ version?: string | undefined;
2424
2458
  metadata?: Record<string, any> | undefined;
2425
2459
  ttl?: string | undefined;
2426
2460
  batchId?: string | undefined;
@@ -2429,8 +2463,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2429
2463
  expiredAt?: Date | undefined;
2430
2464
  } | undefined;
2431
2465
  children?: {
2432
- id: string;
2433
2466
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2467
+ id: string;
2434
2468
  tags: string[];
2435
2469
  isTest: boolean;
2436
2470
  createdAt: Date;
@@ -2447,9 +2481,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2447
2481
  isFailed: boolean;
2448
2482
  isCancelled: boolean;
2449
2483
  updatedAt: Date;
2450
- version?: string | undefined;
2451
2484
  startedAt?: Date | undefined;
2452
2485
  idempotencyKey?: string | undefined;
2486
+ version?: string | undefined;
2453
2487
  metadata?: Record<string, any> | undefined;
2454
2488
  ttl?: string | undefined;
2455
2489
  batchId?: string | undefined;
@@ -2459,8 +2493,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2459
2493
  }[] | undefined;
2460
2494
  }, {
2461
2495
  root?: {
2462
- id: string;
2463
2496
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2497
+ id: string;
2464
2498
  tags: string[];
2465
2499
  isTest: boolean;
2466
2500
  createdAt: Date;
@@ -2477,9 +2511,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2477
2511
  isFailed: boolean;
2478
2512
  isCancelled: boolean;
2479
2513
  updatedAt: Date;
2480
- version?: string | undefined;
2481
2514
  startedAt?: Date | undefined;
2482
2515
  idempotencyKey?: string | undefined;
2516
+ version?: string | undefined;
2483
2517
  metadata?: Record<string, any> | undefined;
2484
2518
  ttl?: string | undefined;
2485
2519
  batchId?: string | undefined;
@@ -2488,8 +2522,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2488
2522
  expiredAt?: Date | undefined;
2489
2523
  } | undefined;
2490
2524
  parent?: {
2491
- id: string;
2492
2525
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2526
+ id: string;
2493
2527
  tags: string[];
2494
2528
  isTest: boolean;
2495
2529
  createdAt: Date;
@@ -2506,9 +2540,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2506
2540
  isFailed: boolean;
2507
2541
  isCancelled: boolean;
2508
2542
  updatedAt: Date;
2509
- version?: string | undefined;
2510
2543
  startedAt?: Date | undefined;
2511
2544
  idempotencyKey?: string | undefined;
2545
+ version?: string | undefined;
2512
2546
  metadata?: Record<string, any> | undefined;
2513
2547
  ttl?: string | undefined;
2514
2548
  batchId?: string | undefined;
@@ -2517,8 +2551,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2517
2551
  expiredAt?: Date | undefined;
2518
2552
  } | undefined;
2519
2553
  children?: {
2520
- id: string;
2521
2554
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2555
+ id: string;
2522
2556
  tags: string[];
2523
2557
  isTest: boolean;
2524
2558
  createdAt: Date;
@@ -2535,9 +2569,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2535
2569
  isFailed: boolean;
2536
2570
  isCancelled: boolean;
2537
2571
  updatedAt: Date;
2538
- version?: string | undefined;
2539
2572
  startedAt?: Date | undefined;
2540
2573
  idempotencyKey?: string | undefined;
2574
+ version?: string | undefined;
2541
2575
  metadata?: Record<string, any> | undefined;
2542
2576
  ttl?: string | undefined;
2543
2577
  batchId?: string | undefined;
@@ -2559,35 +2593,35 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2559
2593
  stackTrace: z.ZodOptional<z.ZodString>;
2560
2594
  }, "strip", z.ZodTypeAny, {
2561
2595
  message: string;
2562
- stackTrace?: string | undefined;
2563
2596
  name?: string | undefined;
2597
+ stackTrace?: string | undefined;
2564
2598
  }, {
2565
2599
  message: string;
2566
- stackTrace?: string | undefined;
2567
2600
  name?: string | undefined;
2601
+ stackTrace?: string | undefined;
2568
2602
  }>>;
2569
2603
  }, "strip", z.ZodTypeAny, {
2570
- id: string;
2571
2604
  status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2605
+ id: string;
2572
2606
  createdAt: Date;
2573
2607
  updatedAt: Date;
2574
2608
  startedAt?: Date | undefined;
2575
2609
  error?: {
2576
2610
  message: string;
2577
- stackTrace?: string | undefined;
2578
2611
  name?: string | undefined;
2612
+ stackTrace?: string | undefined;
2579
2613
  } | undefined;
2580
2614
  completedAt?: Date | undefined;
2581
2615
  }, {
2582
- id: string;
2583
2616
  status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2617
+ id: string;
2584
2618
  createdAt: Date;
2585
2619
  updatedAt: Date;
2586
2620
  startedAt?: Date | undefined;
2587
2621
  error?: {
2588
2622
  message: string;
2589
- stackTrace?: string | undefined;
2590
2623
  name?: string | undefined;
2624
+ stackTrace?: string | undefined;
2591
2625
  } | undefined;
2592
2626
  completedAt?: Date | undefined;
2593
2627
  }>>, "many">;
@@ -2620,8 +2654,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2620
2654
  durationMs: z.ZodNumber;
2621
2655
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2622
2656
  }, "strip", z.ZodTypeAny, {
2623
- id: string;
2624
2657
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2658
+ id: string;
2625
2659
  tags: string[];
2626
2660
  isTest: boolean;
2627
2661
  createdAt: Date;
@@ -2629,10 +2663,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2629
2663
  costInCents: number;
2630
2664
  baseCostInCents: number;
2631
2665
  taskIdentifier: string;
2666
+ attemptCount: number;
2632
2667
  relatedRuns: {
2633
2668
  root?: {
2634
- id: string;
2635
2669
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2670
+ id: string;
2636
2671
  tags: string[];
2637
2672
  isTest: boolean;
2638
2673
  createdAt: Date;
@@ -2649,9 +2684,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2649
2684
  isFailed: boolean;
2650
2685
  isCancelled: boolean;
2651
2686
  updatedAt: Date;
2652
- version?: string | undefined;
2653
2687
  startedAt?: Date | undefined;
2654
2688
  idempotencyKey?: string | undefined;
2689
+ version?: string | undefined;
2655
2690
  metadata?: Record<string, any> | undefined;
2656
2691
  ttl?: string | undefined;
2657
2692
  batchId?: string | undefined;
@@ -2660,8 +2695,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2660
2695
  expiredAt?: Date | undefined;
2661
2696
  } | undefined;
2662
2697
  parent?: {
2663
- id: string;
2664
2698
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2699
+ id: string;
2665
2700
  tags: string[];
2666
2701
  isTest: boolean;
2667
2702
  createdAt: Date;
@@ -2678,9 +2713,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2678
2713
  isFailed: boolean;
2679
2714
  isCancelled: boolean;
2680
2715
  updatedAt: Date;
2681
- version?: string | undefined;
2682
2716
  startedAt?: Date | undefined;
2683
2717
  idempotencyKey?: string | undefined;
2718
+ version?: string | undefined;
2684
2719
  metadata?: Record<string, any> | undefined;
2685
2720
  ttl?: string | undefined;
2686
2721
  batchId?: string | undefined;
@@ -2689,8 +2724,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2689
2724
  expiredAt?: Date | undefined;
2690
2725
  } | undefined;
2691
2726
  children?: {
2692
- id: string;
2693
2727
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2728
+ id: string;
2694
2729
  tags: string[];
2695
2730
  isTest: boolean;
2696
2731
  createdAt: Date;
@@ -2707,9 +2742,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2707
2742
  isFailed: boolean;
2708
2743
  isCancelled: boolean;
2709
2744
  updatedAt: Date;
2710
- version?: string | undefined;
2711
2745
  startedAt?: Date | undefined;
2712
2746
  idempotencyKey?: string | undefined;
2747
+ version?: string | undefined;
2713
2748
  metadata?: Record<string, any> | undefined;
2714
2749
  ttl?: string | undefined;
2715
2750
  batchId?: string | undefined;
@@ -2728,19 +2763,25 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2728
2763
  isCancelled: boolean;
2729
2764
  updatedAt: Date;
2730
2765
  attempts: ({
2731
- id: string;
2732
2766
  status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2767
+ id: string;
2733
2768
  createdAt: Date;
2734
2769
  updatedAt: Date;
2735
2770
  startedAt?: Date | undefined;
2736
2771
  error?: {
2737
2772
  message: string;
2738
- stackTrace?: string | undefined;
2739
2773
  name?: string | undefined;
2774
+ stackTrace?: string | undefined;
2740
2775
  } | undefined;
2741
2776
  completedAt?: Date | undefined;
2742
2777
  } | undefined)[];
2743
- attemptCount: number;
2778
+ output?: any;
2779
+ startedAt?: Date | undefined;
2780
+ payload?: any;
2781
+ idempotencyKey?: string | undefined;
2782
+ version?: string | undefined;
2783
+ metadata?: Record<string, any> | undefined;
2784
+ ttl?: string | undefined;
2744
2785
  schedule?: {
2745
2786
  id: string;
2746
2787
  generator: {
@@ -2751,27 +2792,20 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2751
2792
  externalId?: string | undefined;
2752
2793
  deduplicationKey?: string | undefined;
2753
2794
  } | undefined;
2754
- version?: string | undefined;
2755
- startedAt?: Date | undefined;
2756
- payload?: any;
2757
- idempotencyKey?: string | undefined;
2758
- metadata?: Record<string, any> | undefined;
2759
- output?: any;
2795
+ payloadPresignedUrl?: string | undefined;
2796
+ outputPresignedUrl?: string | undefined;
2760
2797
  error?: {
2761
2798
  message: string;
2762
- stackTrace?: string | undefined;
2763
2799
  name?: string | undefined;
2800
+ stackTrace?: string | undefined;
2764
2801
  } | undefined;
2765
- ttl?: string | undefined;
2766
- payloadPresignedUrl?: string | undefined;
2767
- outputPresignedUrl?: string | undefined;
2768
2802
  batchId?: string | undefined;
2769
2803
  finishedAt?: Date | undefined;
2770
2804
  delayedUntil?: Date | undefined;
2771
2805
  expiredAt?: Date | undefined;
2772
2806
  }, {
2773
- id: string;
2774
2807
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2808
+ id: string;
2775
2809
  tags: string[];
2776
2810
  isTest: boolean;
2777
2811
  createdAt: Date;
@@ -2781,8 +2815,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2781
2815
  taskIdentifier: string;
2782
2816
  relatedRuns: {
2783
2817
  root?: {
2784
- id: string;
2785
2818
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2819
+ id: string;
2786
2820
  tags: string[];
2787
2821
  isTest: boolean;
2788
2822
  createdAt: Date;
@@ -2799,9 +2833,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2799
2833
  isFailed: boolean;
2800
2834
  isCancelled: boolean;
2801
2835
  updatedAt: Date;
2802
- version?: string | undefined;
2803
2836
  startedAt?: Date | undefined;
2804
2837
  idempotencyKey?: string | undefined;
2838
+ version?: string | undefined;
2805
2839
  metadata?: Record<string, any> | undefined;
2806
2840
  ttl?: string | undefined;
2807
2841
  batchId?: string | undefined;
@@ -2810,8 +2844,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2810
2844
  expiredAt?: Date | undefined;
2811
2845
  } | undefined;
2812
2846
  parent?: {
2813
- id: string;
2814
2847
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2848
+ id: string;
2815
2849
  tags: string[];
2816
2850
  isTest: boolean;
2817
2851
  createdAt: Date;
@@ -2828,9 +2862,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2828
2862
  isFailed: boolean;
2829
2863
  isCancelled: boolean;
2830
2864
  updatedAt: Date;
2831
- version?: string | undefined;
2832
2865
  startedAt?: Date | undefined;
2833
2866
  idempotencyKey?: string | undefined;
2867
+ version?: string | undefined;
2834
2868
  metadata?: Record<string, any> | undefined;
2835
2869
  ttl?: string | undefined;
2836
2870
  batchId?: string | undefined;
@@ -2839,8 +2873,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2839
2873
  expiredAt?: Date | undefined;
2840
2874
  } | undefined;
2841
2875
  children?: {
2842
- id: string;
2843
2876
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2877
+ id: string;
2844
2878
  tags: string[];
2845
2879
  isTest: boolean;
2846
2880
  createdAt: Date;
@@ -2857,9 +2891,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2857
2891
  isFailed: boolean;
2858
2892
  isCancelled: boolean;
2859
2893
  updatedAt: Date;
2860
- version?: string | undefined;
2861
2894
  startedAt?: Date | undefined;
2862
2895
  idempotencyKey?: string | undefined;
2896
+ version?: string | undefined;
2863
2897
  metadata?: Record<string, any> | undefined;
2864
2898
  ttl?: string | undefined;
2865
2899
  batchId?: string | undefined;
@@ -2878,18 +2912,25 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2878
2912
  isCancelled: boolean;
2879
2913
  updatedAt: Date;
2880
2914
  attempts: ({
2881
- id: string;
2882
2915
  status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2916
+ id: string;
2883
2917
  createdAt: Date;
2884
2918
  updatedAt: Date;
2885
2919
  startedAt?: Date | undefined;
2886
2920
  error?: {
2887
2921
  message: string;
2888
- stackTrace?: string | undefined;
2889
2922
  name?: string | undefined;
2923
+ stackTrace?: string | undefined;
2890
2924
  } | undefined;
2891
2925
  completedAt?: Date | undefined;
2892
2926
  } | undefined)[];
2927
+ output?: any;
2928
+ startedAt?: Date | undefined;
2929
+ payload?: any;
2930
+ idempotencyKey?: string | undefined;
2931
+ version?: string | undefined;
2932
+ metadata?: Record<string, any> | undefined;
2933
+ ttl?: string | undefined;
2893
2934
  schedule?: {
2894
2935
  id: string;
2895
2936
  generator: {
@@ -2900,25 +2941,18 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2900
2941
  externalId?: string | undefined;
2901
2942
  deduplicationKey?: string | undefined;
2902
2943
  } | undefined;
2903
- version?: string | undefined;
2904
- startedAt?: Date | undefined;
2905
- payload?: any;
2906
- idempotencyKey?: string | undefined;
2907
- metadata?: Record<string, any> | undefined;
2908
- output?: any;
2944
+ attemptCount?: number | undefined;
2945
+ payloadPresignedUrl?: string | undefined;
2946
+ outputPresignedUrl?: string | undefined;
2909
2947
  error?: {
2910
2948
  message: string;
2911
- stackTrace?: string | undefined;
2912
2949
  name?: string | undefined;
2950
+ stackTrace?: string | undefined;
2913
2951
  } | undefined;
2914
- ttl?: string | undefined;
2915
- payloadPresignedUrl?: string | undefined;
2916
- outputPresignedUrl?: string | undefined;
2917
2952
  batchId?: string | undefined;
2918
2953
  finishedAt?: Date | undefined;
2919
2954
  delayedUntil?: Date | undefined;
2920
2955
  expiredAt?: Date | undefined;
2921
- attemptCount?: number | undefined;
2922
2956
  }>;
2923
2957
  export type RetrieveRunResponse = z.infer<typeof RetrieveRunResponse>;
2924
2958
  export declare const ListRunResponseItem: z.ZodObject<{
@@ -2927,12 +2961,12 @@ export declare const ListRunResponseItem: z.ZodObject<{
2927
2961
  name: z.ZodString;
2928
2962
  user: z.ZodOptional<z.ZodString>;
2929
2963
  }, "strip", z.ZodTypeAny, {
2930
- id: string;
2931
2964
  name: string;
2965
+ id: string;
2932
2966
  user?: string | undefined;
2933
2967
  }, {
2934
- id: string;
2935
2968
  name: string;
2969
+ id: string;
2936
2970
  user?: string | undefined;
2937
2971
  }>;
2938
2972
  id: z.ZodString;
@@ -2960,8 +2994,8 @@ export declare const ListRunResponseItem: z.ZodObject<{
2960
2994
  durationMs: z.ZodNumber;
2961
2995
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2962
2996
  }, "strip", z.ZodTypeAny, {
2963
- id: string;
2964
2997
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2998
+ id: string;
2965
2999
  tags: string[];
2966
3000
  isTest: boolean;
2967
3001
  createdAt: Date;
@@ -2977,21 +3011,21 @@ export declare const ListRunResponseItem: z.ZodObject<{
2977
3011
  isCancelled: boolean;
2978
3012
  updatedAt: Date;
2979
3013
  env: {
2980
- id: string;
2981
3014
  name: string;
3015
+ id: string;
2982
3016
  user?: string | undefined;
2983
3017
  };
2984
- version?: string | undefined;
2985
3018
  startedAt?: Date | undefined;
2986
3019
  idempotencyKey?: string | undefined;
3020
+ version?: string | undefined;
2987
3021
  metadata?: Record<string, any> | undefined;
2988
3022
  ttl?: string | undefined;
2989
3023
  finishedAt?: Date | undefined;
2990
3024
  delayedUntil?: Date | undefined;
2991
3025
  expiredAt?: Date | undefined;
2992
3026
  }, {
2993
- id: string;
2994
3027
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3028
+ id: string;
2995
3029
  tags: string[];
2996
3030
  isTest: boolean;
2997
3031
  createdAt: Date;
@@ -3007,13 +3041,13 @@ export declare const ListRunResponseItem: z.ZodObject<{
3007
3041
  isCancelled: boolean;
3008
3042
  updatedAt: Date;
3009
3043
  env: {
3010
- id: string;
3011
3044
  name: string;
3045
+ id: string;
3012
3046
  user?: string | undefined;
3013
3047
  };
3014
- version?: string | undefined;
3015
3048
  startedAt?: Date | undefined;
3016
3049
  idempotencyKey?: string | undefined;
3050
+ version?: string | undefined;
3017
3051
  metadata?: Record<string, any> | undefined;
3018
3052
  ttl?: string | undefined;
3019
3053
  finishedAt?: Date | undefined;
@@ -3028,12 +3062,12 @@ export declare const ListRunResponse: z.ZodObject<{
3028
3062
  name: z.ZodString;
3029
3063
  user: z.ZodOptional<z.ZodString>;
3030
3064
  }, "strip", z.ZodTypeAny, {
3031
- id: string;
3032
3065
  name: string;
3066
+ id: string;
3033
3067
  user?: string | undefined;
3034
3068
  }, {
3035
- id: string;
3036
3069
  name: string;
3070
+ id: string;
3037
3071
  user?: string | undefined;
3038
3072
  }>;
3039
3073
  id: z.ZodString;
@@ -3061,8 +3095,8 @@ export declare const ListRunResponse: z.ZodObject<{
3061
3095
  durationMs: z.ZodNumber;
3062
3096
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3063
3097
  }, "strip", z.ZodTypeAny, {
3064
- id: string;
3065
3098
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3099
+ id: string;
3066
3100
  tags: string[];
3067
3101
  isTest: boolean;
3068
3102
  createdAt: Date;
@@ -3078,21 +3112,21 @@ export declare const ListRunResponse: z.ZodObject<{
3078
3112
  isCancelled: boolean;
3079
3113
  updatedAt: Date;
3080
3114
  env: {
3081
- id: string;
3082
3115
  name: string;
3116
+ id: string;
3083
3117
  user?: string | undefined;
3084
3118
  };
3085
- version?: string | undefined;
3086
3119
  startedAt?: Date | undefined;
3087
3120
  idempotencyKey?: string | undefined;
3121
+ version?: string | undefined;
3088
3122
  metadata?: Record<string, any> | undefined;
3089
3123
  ttl?: string | undefined;
3090
3124
  finishedAt?: Date | undefined;
3091
3125
  delayedUntil?: Date | undefined;
3092
3126
  expiredAt?: Date | undefined;
3093
3127
  }, {
3094
- id: string;
3095
3128
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3129
+ id: string;
3096
3130
  tags: string[];
3097
3131
  isTest: boolean;
3098
3132
  createdAt: Date;
@@ -3108,13 +3142,13 @@ export declare const ListRunResponse: z.ZodObject<{
3108
3142
  isCancelled: boolean;
3109
3143
  updatedAt: Date;
3110
3144
  env: {
3111
- id: string;
3112
3145
  name: string;
3146
+ id: string;
3113
3147
  user?: string | undefined;
3114
3148
  };
3115
- version?: string | undefined;
3116
3149
  startedAt?: Date | undefined;
3117
3150
  idempotencyKey?: string | undefined;
3151
+ version?: string | undefined;
3118
3152
  metadata?: Record<string, any> | undefined;
3119
3153
  ttl?: string | undefined;
3120
3154
  finishedAt?: Date | undefined;
@@ -3133,8 +3167,8 @@ export declare const ListRunResponse: z.ZodObject<{
3133
3167
  }>;
3134
3168
  }, "strip", z.ZodTypeAny, {
3135
3169
  data: {
3136
- id: string;
3137
3170
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3171
+ id: string;
3138
3172
  tags: string[];
3139
3173
  isTest: boolean;
3140
3174
  createdAt: Date;
@@ -3150,13 +3184,13 @@ export declare const ListRunResponse: z.ZodObject<{
3150
3184
  isCancelled: boolean;
3151
3185
  updatedAt: Date;
3152
3186
  env: {
3153
- id: string;
3154
3187
  name: string;
3188
+ id: string;
3155
3189
  user?: string | undefined;
3156
3190
  };
3157
- version?: string | undefined;
3158
3191
  startedAt?: Date | undefined;
3159
3192
  idempotencyKey?: string | undefined;
3193
+ version?: string | undefined;
3160
3194
  metadata?: Record<string, any> | undefined;
3161
3195
  ttl?: string | undefined;
3162
3196
  finishedAt?: Date | undefined;
@@ -3169,8 +3203,8 @@ export declare const ListRunResponse: z.ZodObject<{
3169
3203
  };
3170
3204
  }, {
3171
3205
  data: {
3172
- id: string;
3173
3206
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3207
+ id: string;
3174
3208
  tags: string[];
3175
3209
  isTest: boolean;
3176
3210
  createdAt: Date;
@@ -3186,13 +3220,13 @@ export declare const ListRunResponse: z.ZodObject<{
3186
3220
  isCancelled: boolean;
3187
3221
  updatedAt: Date;
3188
3222
  env: {
3189
- id: string;
3190
3223
  name: string;
3224
+ id: string;
3191
3225
  user?: string | undefined;
3192
3226
  };
3193
- version?: string | undefined;
3194
3227
  startedAt?: Date | undefined;
3195
3228
  idempotencyKey?: string | undefined;
3229
+ version?: string | undefined;
3196
3230
  metadata?: Record<string, any> | undefined;
3197
3231
  ttl?: string | undefined;
3198
3232
  finishedAt?: Date | undefined;
@@ -3209,11 +3243,11 @@ export declare const CreateEnvironmentVariableRequestBody: z.ZodObject<{
3209
3243
  name: z.ZodString;
3210
3244
  value: z.ZodString;
3211
3245
  }, "strip", z.ZodTypeAny, {
3212
- value: string;
3213
3246
  name: string;
3214
- }, {
3215
3247
  value: string;
3248
+ }, {
3216
3249
  name: string;
3250
+ value: string;
3217
3251
  }>;
3218
3252
  export type CreateEnvironmentVariableRequestBody = z.infer<typeof CreateEnvironmentVariableRequestBody>;
3219
3253
  export declare const UpdateEnvironmentVariableRequestBody: z.ZodObject<{
@@ -3255,21 +3289,21 @@ export declare const EnvironmentVariable: z.ZodObject<{
3255
3289
  name: z.ZodString;
3256
3290
  value: z.ZodString;
3257
3291
  }, "strip", z.ZodTypeAny, {
3258
- value: string;
3259
3292
  name: string;
3260
- }, {
3261
3293
  value: string;
3294
+ }, {
3262
3295
  name: string;
3296
+ value: string;
3263
3297
  }>;
3264
3298
  export declare const EnvironmentVariables: z.ZodArray<z.ZodObject<{
3265
3299
  name: z.ZodString;
3266
3300
  value: z.ZodString;
3267
3301
  }, "strip", z.ZodTypeAny, {
3268
- value: string;
3269
3302
  name: string;
3270
- }, {
3271
3303
  value: string;
3304
+ }, {
3272
3305
  name: string;
3306
+ value: string;
3273
3307
  }>, "many">;
3274
3308
  export type EnvironmentVariables = z.infer<typeof EnvironmentVariables>;
3275
3309
  export declare const UpdateMetadataRequestBody: z.ZodObject<{
@@ -3659,15 +3693,15 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3659
3693
  message: z.ZodString;
3660
3694
  stackTrace: z.ZodString;
3661
3695
  }, "strip", z.ZodTypeAny, {
3662
- type: "BUILT_IN_ERROR";
3696
+ name: string;
3663
3697
  message: string;
3698
+ type: "BUILT_IN_ERROR";
3664
3699
  stackTrace: string;
3665
- name: string;
3666
3700
  }, {
3667
- type: "BUILT_IN_ERROR";
3701
+ name: string;
3668
3702
  message: string;
3703
+ type: "BUILT_IN_ERROR";
3669
3704
  stackTrace: string;
3670
- name: string;
3671
3705
  }>, z.ZodObject<{
3672
3706
  type: z.ZodLiteral<"CUSTOM_ERROR">;
3673
3707
  raw: z.ZodString;
@@ -3692,20 +3726,20 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3692
3726
  message: z.ZodOptional<z.ZodString>;
3693
3727
  stackTrace: z.ZodOptional<z.ZodString>;
3694
3728
  }, "strip", z.ZodTypeAny, {
3695
- type: "INTERNAL_ERROR";
3696
3729
  code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT";
3730
+ type: "INTERNAL_ERROR";
3697
3731
  message?: string | undefined;
3698
3732
  stackTrace?: string | undefined;
3699
3733
  }, {
3700
- type: "INTERNAL_ERROR";
3701
3734
  code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT";
3735
+ type: "INTERNAL_ERROR";
3702
3736
  message?: string | undefined;
3703
3737
  stackTrace?: string | undefined;
3704
3738
  }>]>>>;
3705
3739
  }, "strip", z.ZodTypeAny, {
3706
3740
  number: number;
3707
- id: string;
3708
3741
  status: string;
3742
+ id: string;
3709
3743
  isTest: boolean;
3710
3744
  createdAt: Date;
3711
3745
  costInCents: number;
@@ -3715,40 +3749,40 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3715
3749
  friendlyId: string;
3716
3750
  usageDurationMs: number;
3717
3751
  runTags: string[] | null;
3752
+ output?: string | null | undefined;
3718
3753
  startedAt?: string | Date | null | undefined;
3719
3754
  payload?: string | null | undefined;
3720
3755
  payloadType?: string | null | undefined;
3721
3756
  idempotencyKey?: string | null | undefined;
3722
3757
  metadata?: string | null | undefined;
3723
- output?: string | null | undefined;
3724
- outputType?: string | null | undefined;
3758
+ ttl?: string | null | undefined;
3725
3759
  error?: {
3726
- type: "INTERNAL_ERROR";
3727
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT";
3728
- message?: string | undefined;
3729
- stackTrace?: string | undefined;
3730
- } | {
3731
- type: "BUILT_IN_ERROR";
3760
+ name: string;
3732
3761
  message: string;
3762
+ type: "BUILT_IN_ERROR";
3733
3763
  stackTrace: string;
3734
- name: string;
3735
3764
  } | {
3736
3765
  type: "CUSTOM_ERROR";
3737
3766
  raw: string;
3738
3767
  } | {
3739
3768
  type: "STRING_ERROR";
3740
3769
  raw: string;
3770
+ } | {
3771
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT";
3772
+ type: "INTERNAL_ERROR";
3773
+ message?: string | undefined;
3774
+ stackTrace?: string | undefined;
3741
3775
  } | null | undefined;
3742
- ttl?: string | null | undefined;
3743
3776
  expiredAt?: string | Date | null | undefined;
3744
3777
  completedAt?: string | Date | null | undefined;
3745
3778
  metadataType?: string | null | undefined;
3746
3779
  delayUntil?: string | Date | null | undefined;
3747
3780
  queuedAt?: string | Date | null | undefined;
3781
+ outputType?: string | null | undefined;
3748
3782
  }, {
3749
3783
  number: number;
3750
- id: string;
3751
3784
  status: string;
3785
+ id: string;
3752
3786
  isTest: boolean;
3753
3787
  createdAt: string;
3754
3788
  costInCents: number;
@@ -3757,36 +3791,36 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3757
3791
  updatedAt: string;
3758
3792
  friendlyId: string;
3759
3793
  usageDurationMs: number;
3794
+ output?: string | null | undefined;
3760
3795
  startedAt?: string | null | undefined;
3761
3796
  payload?: string | null | undefined;
3762
3797
  payloadType?: string | null | undefined;
3763
3798
  idempotencyKey?: string | null | undefined;
3764
3799
  metadata?: string | null | undefined;
3765
- output?: string | null | undefined;
3766
- outputType?: string | null | undefined;
3800
+ ttl?: string | null | undefined;
3767
3801
  error?: {
3768
- type: "INTERNAL_ERROR";
3769
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT";
3770
- message?: string | undefined;
3771
- stackTrace?: string | undefined;
3772
- } | {
3773
- type: "BUILT_IN_ERROR";
3802
+ name: string;
3774
3803
  message: string;
3804
+ type: "BUILT_IN_ERROR";
3775
3805
  stackTrace: string;
3776
- name: string;
3777
3806
  } | {
3778
3807
  type: "CUSTOM_ERROR";
3779
3808
  raw: string;
3780
3809
  } | {
3781
3810
  type: "STRING_ERROR";
3782
3811
  raw: string;
3812
+ } | {
3813
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT";
3814
+ type: "INTERNAL_ERROR";
3815
+ message?: string | undefined;
3816
+ stackTrace?: string | undefined;
3783
3817
  } | null | undefined;
3784
- ttl?: string | null | undefined;
3785
3818
  expiredAt?: string | null | undefined;
3786
3819
  completedAt?: string | null | undefined;
3787
3820
  metadataType?: string | null | undefined;
3788
3821
  delayUntil?: string | null | undefined;
3789
3822
  queuedAt?: string | null | undefined;
3823
+ outputType?: string | null | undefined;
3790
3824
  runTags?: string[] | null | undefined;
3791
3825
  }>;
3792
3826
  export type SubscribeRunRawShape = z.infer<typeof SubscribeRunRawShape>;
@@ -3800,15 +3834,15 @@ export declare const RetrieveBatchResponse: z.ZodObject<{
3800
3834
  updatedAt: z.ZodDate;
3801
3835
  runCount: z.ZodNumber;
3802
3836
  }, "strip", z.ZodTypeAny, {
3803
- id: string;
3804
3837
  status: "COMPLETED" | "PENDING";
3838
+ id: string;
3805
3839
  createdAt: Date;
3806
3840
  updatedAt: Date;
3807
3841
  runCount: number;
3808
3842
  idempotencyKey?: string | undefined;
3809
3843
  }, {
3810
- id: string;
3811
3844
  status: "COMPLETED" | "PENDING";
3845
+ id: string;
3812
3846
  createdAt: Date;
3813
3847
  updatedAt: Date;
3814
3848
  runCount: number;
@@ -3823,18 +3857,18 @@ export declare const SubscribeRealtimeStreamChunkRawShape: z.ZodObject<{
3823
3857
  value: z.ZodString;
3824
3858
  createdAt: z.ZodDate;
3825
3859
  }, "strip", z.ZodTypeAny, {
3826
- id: string;
3827
3860
  value: string;
3861
+ id: string;
3828
3862
  createdAt: Date;
3829
- key: string;
3830
3863
  runId: string;
3864
+ key: string;
3831
3865
  sequence: number;
3832
3866
  }, {
3833
- id: string;
3834
3867
  value: string;
3868
+ id: string;
3835
3869
  createdAt: Date;
3836
- key: string;
3837
3870
  runId: string;
3871
+ key: string;
3838
3872
  sequence: number;
3839
3873
  }>;
3840
3874
  export type SubscribeRealtimeStreamChunkRawShape = z.infer<typeof SubscribeRealtimeStreamChunkRawShape>;