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

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 (82) 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 +2123 -2123
  4. package/dist/commonjs/schemas/events.d.ts +8 -8
  5. package/dist/commonjs/schemas/fetch.d.ts +54 -54
  6. package/dist/commonjs/schemas/integrations.d.ts +4 -4
  7. package/dist/commonjs/schemas/notifications.d.ts +80 -80
  8. package/dist/commonjs/schemas/properties.d.ts +4 -4
  9. package/dist/commonjs/schemas/request.d.ts +4 -4
  10. package/dist/commonjs/schemas/requestFilter.d.ts +2 -2
  11. package/dist/commonjs/schemas/runs.d.ts +39 -39
  12. package/dist/commonjs/schemas/schedules.d.ts +12 -12
  13. package/dist/commonjs/schemas/statuses.d.ts +24 -24
  14. package/dist/commonjs/schemas/tasks.d.ts +54 -54
  15. package/dist/commonjs/schemas/triggers.d.ts +36 -36
  16. package/dist/commonjs/v3/apiClient/core.d.ts +26 -2
  17. package/dist/commonjs/v3/apiClient/core.js +51 -1
  18. package/dist/commonjs/v3/apiClient/core.js.map +1 -1
  19. package/dist/commonjs/v3/apiClient/index.d.ts +70 -70
  20. package/dist/commonjs/v3/apiClient/index.js.map +1 -1
  21. package/dist/commonjs/v3/build/runtime.js +15 -1
  22. package/dist/commonjs/v3/build/runtime.js.map +1 -1
  23. package/dist/commonjs/v3/runtime/preventMultipleWaits.d.ts +1 -0
  24. package/dist/commonjs/v3/schemas/api.d.ts +406 -403
  25. package/dist/commonjs/v3/schemas/api.js +1 -0
  26. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  27. package/dist/commonjs/v3/schemas/build.d.ts +178 -178
  28. package/dist/commonjs/v3/schemas/common.d.ts +1374 -1374
  29. package/dist/commonjs/v3/schemas/messages.d.ts +3001 -2959
  30. package/dist/commonjs/v3/schemas/messages.js +4 -4
  31. package/dist/commonjs/v3/schemas/messages.js.map +1 -1
  32. package/dist/commonjs/v3/schemas/openTelemetry.d.ts +20 -20
  33. package/dist/commonjs/v3/schemas/resources.d.ts +52 -52
  34. package/dist/commonjs/v3/schemas/schemas.d.ts +239 -239
  35. package/dist/commonjs/v3/schemas/schemas.js +2 -2
  36. package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
  37. package/dist/commonjs/v3/schemas/style.d.ts +10 -10
  38. package/dist/commonjs/v3/zodMessageHandler.d.ts +4 -2
  39. package/dist/commonjs/v3/zodMessageHandler.js +8 -0
  40. package/dist/commonjs/v3/zodMessageHandler.js.map +1 -1
  41. package/dist/commonjs/version.js +1 -1
  42. package/dist/esm/logger.js +38 -0
  43. package/dist/esm/logger.js.map +1 -1
  44. package/dist/esm/schemas/api.d.ts +2123 -2123
  45. package/dist/esm/schemas/events.d.ts +8 -8
  46. package/dist/esm/schemas/fetch.d.ts +54 -54
  47. package/dist/esm/schemas/integrations.d.ts +4 -4
  48. package/dist/esm/schemas/notifications.d.ts +80 -80
  49. package/dist/esm/schemas/properties.d.ts +4 -4
  50. package/dist/esm/schemas/request.d.ts +4 -4
  51. package/dist/esm/schemas/requestFilter.d.ts +2 -2
  52. package/dist/esm/schemas/runs.d.ts +39 -39
  53. package/dist/esm/schemas/schedules.d.ts +12 -12
  54. package/dist/esm/schemas/statuses.d.ts +24 -24
  55. package/dist/esm/schemas/tasks.d.ts +54 -54
  56. package/dist/esm/schemas/triggers.d.ts +36 -36
  57. package/dist/esm/v3/apiClient/core.d.ts +26 -2
  58. package/dist/esm/v3/apiClient/core.js +48 -0
  59. package/dist/esm/v3/apiClient/core.js.map +1 -1
  60. package/dist/esm/v3/apiClient/index.d.ts +70 -70
  61. package/dist/esm/v3/apiClient/index.js.map +1 -1
  62. package/dist/esm/v3/build/runtime.js +15 -1
  63. package/dist/esm/v3/build/runtime.js.map +1 -1
  64. package/dist/esm/v3/schemas/api.d.ts +406 -403
  65. package/dist/esm/v3/schemas/api.js +1 -0
  66. package/dist/esm/v3/schemas/api.js.map +1 -1
  67. package/dist/esm/v3/schemas/build.d.ts +178 -178
  68. package/dist/esm/v3/schemas/common.d.ts +1374 -1374
  69. package/dist/esm/v3/schemas/messages.d.ts +3001 -2959
  70. package/dist/esm/v3/schemas/messages.js +3 -3
  71. package/dist/esm/v3/schemas/messages.js.map +1 -1
  72. package/dist/esm/v3/schemas/openTelemetry.d.ts +20 -20
  73. package/dist/esm/v3/schemas/resources.d.ts +52 -52
  74. package/dist/esm/v3/schemas/schemas.d.ts +239 -239
  75. package/dist/esm/v3/schemas/schemas.js +2 -2
  76. package/dist/esm/v3/schemas/schemas.js.map +1 -1
  77. package/dist/esm/v3/schemas/style.d.ts +10 -10
  78. package/dist/esm/v3/zodMessageHandler.d.ts +4 -2
  79. package/dist/esm/v3/zodMessageHandler.js +8 -0
  80. package/dist/esm/v3/zodMessageHandler.js.map +1 -1
  81. package/dist/esm/version.js +1 -1
  82. 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>;
@@ -193,13 +193,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
193
193
  maxDuration: z.ZodOptional<z.ZodNumber>;
194
194
  }, "strip", z.ZodTypeAny, {
195
195
  id: string;
196
- exportName: string;
197
196
  filePath: string;
198
- description?: string | undefined;
199
- queue?: {
200
- name?: string | undefined;
201
- concurrencyLimit?: number | undefined;
202
- } | undefined;
197
+ exportName: string;
203
198
  retry?: {
204
199
  maxAttempts?: number | undefined;
205
200
  factor?: number | undefined;
@@ -207,26 +202,26 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
207
202
  maxTimeoutInMs?: number | undefined;
208
203
  randomize?: boolean | undefined;
209
204
  } | undefined;
205
+ maxDuration?: number | undefined;
206
+ queue?: {
207
+ name?: string | undefined;
208
+ concurrencyLimit?: number | null | undefined;
209
+ } | undefined;
210
210
  machine?: {
211
211
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
212
212
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
213
213
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
214
214
  } | undefined;
215
+ description?: string | undefined;
215
216
  triggerSource?: string | undefined;
216
217
  schedule?: {
217
218
  cron: string;
218
219
  timezone: string;
219
220
  } | undefined;
220
- maxDuration?: number | undefined;
221
221
  }, {
222
222
  id: string;
223
- exportName: string;
224
223
  filePath: string;
225
- description?: string | undefined;
226
- queue?: {
227
- name?: string | undefined;
228
- concurrencyLimit?: number | undefined;
229
- } | undefined;
224
+ exportName: string;
230
225
  retry?: {
231
226
  maxAttempts?: number | undefined;
232
227
  factor?: number | undefined;
@@ -234,17 +229,22 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
234
229
  maxTimeoutInMs?: number | undefined;
235
230
  randomize?: boolean | undefined;
236
231
  } | undefined;
232
+ maxDuration?: number | undefined;
233
+ queue?: {
234
+ name?: string | undefined;
235
+ concurrencyLimit?: number | null | undefined;
236
+ } | undefined;
237
237
  machine?: {
238
238
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
239
239
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
240
240
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
241
241
  } | undefined;
242
+ description?: string | undefined;
242
243
  triggerSource?: string | undefined;
243
244
  schedule?: {
244
245
  cron: string;
245
246
  timezone: string;
246
247
  } | undefined;
247
- maxDuration?: number | undefined;
248
248
  }>, "many">;
249
249
  sourceFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
250
250
  filePath: z.ZodString;
@@ -263,15 +263,12 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
263
263
  taskIds: string[];
264
264
  }>, "many">>;
265
265
  }, "strip", z.ZodTypeAny, {
266
+ contentHash: string;
267
+ packageVersion: string;
266
268
  tasks: {
267
269
  id: string;
268
- exportName: string;
269
270
  filePath: string;
270
- description?: string | undefined;
271
- queue?: {
272
- name?: string | undefined;
273
- concurrencyLimit?: number | undefined;
274
- } | undefined;
271
+ exportName: string;
275
272
  retry?: {
276
273
  maxAttempts?: number | undefined;
277
274
  factor?: number | undefined;
@@ -279,20 +276,23 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
279
276
  maxTimeoutInMs?: number | undefined;
280
277
  randomize?: boolean | undefined;
281
278
  } | undefined;
279
+ maxDuration?: number | undefined;
280
+ queue?: {
281
+ name?: string | undefined;
282
+ concurrencyLimit?: number | null | undefined;
283
+ } | undefined;
282
284
  machine?: {
283
285
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
284
286
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
285
287
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
286
288
  } | undefined;
289
+ description?: string | undefined;
287
290
  triggerSource?: string | undefined;
288
291
  schedule?: {
289
292
  cron: string;
290
293
  timezone: string;
291
294
  } | undefined;
292
- maxDuration?: number | undefined;
293
295
  }[];
294
- contentHash: string;
295
- packageVersion: string;
296
296
  cliPackageVersion?: string | undefined;
297
297
  sourceFiles?: {
298
298
  filePath: string;
@@ -301,15 +301,12 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
301
301
  taskIds: string[];
302
302
  }[] | undefined;
303
303
  }, {
304
+ contentHash: string;
305
+ packageVersion: string;
304
306
  tasks: {
305
307
  id: string;
306
- exportName: string;
307
308
  filePath: string;
308
- description?: string | undefined;
309
- queue?: {
310
- name?: string | undefined;
311
- concurrencyLimit?: number | undefined;
312
- } | undefined;
309
+ exportName: string;
313
310
  retry?: {
314
311
  maxAttempts?: number | undefined;
315
312
  factor?: number | undefined;
@@ -317,20 +314,23 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
317
314
  maxTimeoutInMs?: number | undefined;
318
315
  randomize?: boolean | undefined;
319
316
  } | undefined;
317
+ maxDuration?: number | undefined;
318
+ queue?: {
319
+ name?: string | undefined;
320
+ concurrencyLimit?: number | null | undefined;
321
+ } | undefined;
320
322
  machine?: {
321
323
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
322
324
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
323
325
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
324
326
  } | undefined;
327
+ description?: string | undefined;
325
328
  triggerSource?: string | undefined;
326
329
  schedule?: {
327
330
  cron: string;
328
331
  timezone: string;
329
332
  } | undefined;
330
- maxDuration?: number | undefined;
331
333
  }[];
332
- contentHash: string;
333
- packageVersion: string;
334
334
  cliPackageVersion?: string | undefined;
335
335
  sourceFiles?: {
336
336
  filePath: string;
@@ -342,15 +342,12 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
342
342
  supportsLazyAttempts: z.ZodOptional<z.ZodBoolean>;
343
343
  }, "strip", z.ZodTypeAny, {
344
344
  metadata: {
345
+ contentHash: string;
346
+ packageVersion: string;
345
347
  tasks: {
346
348
  id: string;
347
- exportName: string;
348
349
  filePath: string;
349
- description?: string | undefined;
350
- queue?: {
351
- name?: string | undefined;
352
- concurrencyLimit?: number | undefined;
353
- } | undefined;
350
+ exportName: string;
354
351
  retry?: {
355
352
  maxAttempts?: number | undefined;
356
353
  factor?: number | undefined;
@@ -358,20 +355,23 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
358
355
  maxTimeoutInMs?: number | undefined;
359
356
  randomize?: boolean | undefined;
360
357
  } | undefined;
358
+ maxDuration?: number | undefined;
359
+ queue?: {
360
+ name?: string | undefined;
361
+ concurrencyLimit?: number | null | undefined;
362
+ } | undefined;
361
363
  machine?: {
362
364
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
363
365
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
364
366
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
365
367
  } | undefined;
368
+ description?: string | undefined;
366
369
  triggerSource?: string | undefined;
367
370
  schedule?: {
368
371
  cron: string;
369
372
  timezone: string;
370
373
  } | undefined;
371
- maxDuration?: number | undefined;
372
374
  }[];
373
- contentHash: string;
374
- packageVersion: string;
375
375
  cliPackageVersion?: string | undefined;
376
376
  sourceFiles?: {
377
377
  filePath: string;
@@ -384,15 +384,12 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
384
384
  supportsLazyAttempts?: boolean | undefined;
385
385
  }, {
386
386
  metadata: {
387
+ contentHash: string;
388
+ packageVersion: string;
387
389
  tasks: {
388
390
  id: string;
389
- exportName: string;
390
391
  filePath: string;
391
- description?: string | undefined;
392
- queue?: {
393
- name?: string | undefined;
394
- concurrencyLimit?: number | undefined;
395
- } | undefined;
392
+ exportName: string;
396
393
  retry?: {
397
394
  maxAttempts?: number | undefined;
398
395
  factor?: number | undefined;
@@ -400,20 +397,23 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
400
397
  maxTimeoutInMs?: number | undefined;
401
398
  randomize?: boolean | undefined;
402
399
  } | undefined;
400
+ maxDuration?: number | undefined;
401
+ queue?: {
402
+ name?: string | undefined;
403
+ concurrencyLimit?: number | null | undefined;
404
+ } | undefined;
403
405
  machine?: {
404
406
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
405
407
  memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
406
408
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
407
409
  } | undefined;
410
+ description?: string | undefined;
408
411
  triggerSource?: string | undefined;
409
412
  schedule?: {
410
413
  cron: string;
411
414
  timezone: string;
412
415
  } | undefined;
413
- maxDuration?: number | undefined;
414
416
  }[];
415
- contentHash: string;
416
- packageVersion: string;
417
417
  cliPackageVersion?: string | undefined;
418
418
  sourceFiles?: {
419
419
  filePath: string;
@@ -453,13 +453,13 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
453
453
  lockToVersion: z.ZodOptional<z.ZodString>;
454
454
  queue: z.ZodOptional<z.ZodObject<{
455
455
  name: z.ZodOptional<z.ZodString>;
456
- concurrencyLimit: z.ZodOptional<z.ZodNumber>;
456
+ concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
457
457
  }, "strip", z.ZodTypeAny, {
458
458
  name?: string | undefined;
459
- concurrencyLimit?: number | undefined;
459
+ concurrencyLimit?: number | null | undefined;
460
460
  }, {
461
461
  name?: string | undefined;
462
- concurrencyLimit?: number | undefined;
462
+ concurrencyLimit?: number | null | undefined;
463
463
  }>>;
464
464
  concurrencyKey: z.ZodOptional<z.ZodString>;
465
465
  idempotencyKey: z.ZodOptional<z.ZodString>;
@@ -476,17 +476,17 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
476
476
  machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
477
477
  }, "strip", z.ZodTypeAny, {
478
478
  maxAttempts?: number | undefined;
479
- queue?: {
480
- name?: string | undefined;
481
- concurrencyLimit?: number | undefined;
482
- } | undefined;
483
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
484
- maxDuration?: number | undefined;
479
+ delay?: string | Date | undefined;
485
480
  payloadType?: string | undefined;
486
481
  tags?: string | string[] | undefined;
487
482
  idempotencyKey?: string | undefined;
488
483
  metadata?: any;
489
- delay?: string | Date | undefined;
484
+ maxDuration?: number | undefined;
485
+ queue?: {
486
+ name?: string | undefined;
487
+ concurrencyLimit?: number | null | undefined;
488
+ } | undefined;
489
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
490
490
  idempotencyKeyTTL?: string | undefined;
491
491
  concurrencyKey?: string | undefined;
492
492
  ttl?: string | number | undefined;
@@ -499,17 +499,17 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
499
499
  metadataType?: string | undefined;
500
500
  }, {
501
501
  maxAttempts?: number | undefined;
502
- queue?: {
503
- name?: string | undefined;
504
- concurrencyLimit?: number | undefined;
505
- } | undefined;
506
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
507
- maxDuration?: number | undefined;
502
+ delay?: string | Date | undefined;
508
503
  payloadType?: string | undefined;
509
504
  tags?: string | string[] | undefined;
510
505
  idempotencyKey?: string | undefined;
511
506
  metadata?: any;
512
- delay?: string | Date | undefined;
507
+ maxDuration?: number | undefined;
508
+ queue?: {
509
+ name?: string | undefined;
510
+ concurrencyLimit?: number | null | undefined;
511
+ } | undefined;
512
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
513
513
  idempotencyKeyTTL?: string | undefined;
514
514
  concurrencyKey?: string | undefined;
515
515
  ttl?: string | number | undefined;
@@ -524,17 +524,17 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
524
524
  }, "strip", z.ZodTypeAny, {
525
525
  options?: {
526
526
  maxAttempts?: number | undefined;
527
- queue?: {
528
- name?: string | undefined;
529
- concurrencyLimit?: number | undefined;
530
- } | undefined;
531
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
532
- maxDuration?: number | undefined;
527
+ delay?: string | Date | undefined;
533
528
  payloadType?: string | undefined;
534
529
  tags?: string | string[] | undefined;
535
530
  idempotencyKey?: string | undefined;
536
531
  metadata?: any;
537
- delay?: string | Date | undefined;
532
+ maxDuration?: number | undefined;
533
+ queue?: {
534
+ name?: string | undefined;
535
+ concurrencyLimit?: number | null | undefined;
536
+ } | undefined;
537
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
538
538
  idempotencyKeyTTL?: string | undefined;
539
539
  concurrencyKey?: string | undefined;
540
540
  ttl?: string | number | undefined;
@@ -551,17 +551,17 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
551
551
  }, {
552
552
  options?: {
553
553
  maxAttempts?: number | undefined;
554
- queue?: {
555
- name?: string | undefined;
556
- concurrencyLimit?: number | undefined;
557
- } | undefined;
558
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
559
- maxDuration?: number | undefined;
554
+ delay?: string | Date | undefined;
560
555
  payloadType?: string | undefined;
561
556
  tags?: string | string[] | undefined;
562
557
  idempotencyKey?: string | undefined;
563
558
  metadata?: any;
564
- delay?: string | Date | undefined;
559
+ maxDuration?: number | undefined;
560
+ queue?: {
561
+ name?: string | undefined;
562
+ concurrencyLimit?: number | null | undefined;
563
+ } | undefined;
564
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
565
565
  idempotencyKeyTTL?: string | undefined;
566
566
  concurrencyKey?: string | undefined;
567
567
  ttl?: string | number | undefined;
@@ -597,13 +597,13 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
597
597
  lockToVersion: z.ZodOptional<z.ZodString>;
598
598
  queue: z.ZodOptional<z.ZodObject<{
599
599
  name: z.ZodOptional<z.ZodString>;
600
- concurrencyLimit: z.ZodOptional<z.ZodNumber>;
600
+ concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
601
601
  }, "strip", z.ZodTypeAny, {
602
602
  name?: string | undefined;
603
- concurrencyLimit?: number | undefined;
603
+ concurrencyLimit?: number | null | undefined;
604
604
  }, {
605
605
  name?: string | undefined;
606
- concurrencyLimit?: number | undefined;
606
+ concurrencyLimit?: number | null | undefined;
607
607
  }>>;
608
608
  concurrencyKey: z.ZodOptional<z.ZodString>;
609
609
  idempotencyKey: z.ZodOptional<z.ZodString>;
@@ -620,17 +620,17 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
620
620
  machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
621
621
  }, "strip", z.ZodTypeAny, {
622
622
  maxAttempts?: number | undefined;
623
- queue?: {
624
- name?: string | undefined;
625
- concurrencyLimit?: number | undefined;
626
- } | undefined;
627
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
628
- maxDuration?: number | undefined;
623
+ delay?: string | Date | undefined;
629
624
  payloadType?: string | undefined;
630
625
  tags?: string | string[] | undefined;
631
626
  idempotencyKey?: string | undefined;
632
627
  metadata?: any;
633
- delay?: string | Date | undefined;
628
+ maxDuration?: number | undefined;
629
+ queue?: {
630
+ name?: string | undefined;
631
+ concurrencyLimit?: number | null | undefined;
632
+ } | undefined;
633
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
634
634
  idempotencyKeyTTL?: string | undefined;
635
635
  concurrencyKey?: string | undefined;
636
636
  ttl?: string | number | undefined;
@@ -643,17 +643,17 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
643
643
  metadataType?: string | undefined;
644
644
  }, {
645
645
  maxAttempts?: number | undefined;
646
- queue?: {
647
- name?: string | undefined;
648
- concurrencyLimit?: number | undefined;
649
- } | undefined;
650
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
651
- maxDuration?: number | undefined;
646
+ delay?: string | Date | undefined;
652
647
  payloadType?: string | undefined;
653
648
  tags?: string | string[] | undefined;
654
649
  idempotencyKey?: string | undefined;
655
650
  metadata?: any;
656
- delay?: string | Date | undefined;
651
+ maxDuration?: number | undefined;
652
+ queue?: {
653
+ name?: string | undefined;
654
+ concurrencyLimit?: number | null | undefined;
655
+ } | undefined;
656
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
657
657
  idempotencyKeyTTL?: string | undefined;
658
658
  concurrencyKey?: string | undefined;
659
659
  ttl?: string | number | undefined;
@@ -668,17 +668,17 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
668
668
  }, "strip", z.ZodTypeAny, {
669
669
  options?: {
670
670
  maxAttempts?: number | undefined;
671
- queue?: {
672
- name?: string | undefined;
673
- concurrencyLimit?: number | undefined;
674
- } | undefined;
675
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
676
- maxDuration?: number | undefined;
671
+ delay?: string | Date | undefined;
677
672
  payloadType?: string | undefined;
678
673
  tags?: string | string[] | undefined;
679
674
  idempotencyKey?: string | undefined;
680
675
  metadata?: any;
681
- delay?: string | Date | undefined;
676
+ maxDuration?: number | undefined;
677
+ queue?: {
678
+ name?: string | undefined;
679
+ concurrencyLimit?: number | null | undefined;
680
+ } | undefined;
681
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
682
682
  idempotencyKeyTTL?: string | undefined;
683
683
  concurrencyKey?: string | undefined;
684
684
  ttl?: string | number | undefined;
@@ -695,17 +695,17 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
695
695
  }, {
696
696
  options?: {
697
697
  maxAttempts?: number | undefined;
698
- queue?: {
699
- name?: string | undefined;
700
- concurrencyLimit?: number | undefined;
701
- } | undefined;
702
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
703
- maxDuration?: number | undefined;
698
+ delay?: string | Date | undefined;
704
699
  payloadType?: string | undefined;
705
700
  tags?: string | string[] | undefined;
706
701
  idempotencyKey?: string | undefined;
707
702
  metadata?: any;
708
- delay?: string | Date | undefined;
703
+ maxDuration?: number | undefined;
704
+ queue?: {
705
+ name?: string | undefined;
706
+ concurrencyLimit?: number | null | undefined;
707
+ } | undefined;
708
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
709
709
  idempotencyKeyTTL?: string | undefined;
710
710
  concurrencyKey?: string | undefined;
711
711
  ttl?: string | number | undefined;
@@ -725,17 +725,17 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
725
725
  items: {
726
726
  options?: {
727
727
  maxAttempts?: number | undefined;
728
- queue?: {
729
- name?: string | undefined;
730
- concurrencyLimit?: number | undefined;
731
- } | undefined;
732
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
733
- maxDuration?: number | undefined;
728
+ delay?: string | Date | undefined;
734
729
  payloadType?: string | undefined;
735
730
  tags?: string | string[] | undefined;
736
731
  idempotencyKey?: string | undefined;
737
732
  metadata?: any;
738
- delay?: string | Date | undefined;
733
+ maxDuration?: number | undefined;
734
+ queue?: {
735
+ name?: string | undefined;
736
+ concurrencyLimit?: number | null | undefined;
737
+ } | undefined;
738
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
739
739
  idempotencyKeyTTL?: string | undefined;
740
740
  concurrencyKey?: string | undefined;
741
741
  ttl?: string | number | undefined;
@@ -755,17 +755,17 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
755
755
  items: {
756
756
  options?: {
757
757
  maxAttempts?: number | undefined;
758
- queue?: {
759
- name?: string | undefined;
760
- concurrencyLimit?: number | undefined;
761
- } | undefined;
762
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
763
- maxDuration?: number | undefined;
758
+ delay?: string | Date | undefined;
764
759
  payloadType?: string | undefined;
765
760
  tags?: string | string[] | undefined;
766
761
  idempotencyKey?: string | undefined;
767
762
  metadata?: any;
768
- delay?: string | Date | undefined;
763
+ maxDuration?: number | undefined;
764
+ queue?: {
765
+ name?: string | undefined;
766
+ concurrencyLimit?: number | null | undefined;
767
+ } | undefined;
768
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
769
769
  idempotencyKeyTTL?: string | undefined;
770
770
  concurrencyKey?: string | undefined;
771
771
  ttl?: string | number | undefined;
@@ -791,13 +791,13 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
791
791
  lockToVersion: z.ZodOptional<z.ZodString>;
792
792
  queue: z.ZodOptional<z.ZodObject<{
793
793
  name: z.ZodOptional<z.ZodString>;
794
- concurrencyLimit: z.ZodOptional<z.ZodNumber>;
794
+ concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
795
795
  }, "strip", z.ZodTypeAny, {
796
796
  name?: string | undefined;
797
- concurrencyLimit?: number | undefined;
797
+ concurrencyLimit?: number | null | undefined;
798
798
  }, {
799
799
  name?: string | undefined;
800
- concurrencyLimit?: number | undefined;
800
+ concurrencyLimit?: number | null | undefined;
801
801
  }>>;
802
802
  concurrencyKey: z.ZodOptional<z.ZodString>;
803
803
  idempotencyKey: z.ZodOptional<z.ZodString>;
@@ -815,17 +815,17 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
815
815
  machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
816
816
  }, "strip", z.ZodTypeAny, {
817
817
  maxAttempts?: number | undefined;
818
- queue?: {
819
- name?: string | undefined;
820
- concurrencyLimit?: number | undefined;
821
- } | undefined;
822
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
823
- maxDuration?: number | undefined;
818
+ delay?: string | Date | undefined;
824
819
  payloadType?: string | undefined;
825
820
  tags?: string | string[] | undefined;
826
821
  idempotencyKey?: string | undefined;
827
822
  metadata?: any;
828
- delay?: string | Date | undefined;
823
+ maxDuration?: number | undefined;
824
+ queue?: {
825
+ name?: string | undefined;
826
+ concurrencyLimit?: number | null | undefined;
827
+ } | undefined;
828
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
829
829
  idempotencyKeyTTL?: string | undefined;
830
830
  concurrencyKey?: string | undefined;
831
831
  ttl?: string | number | undefined;
@@ -835,17 +835,17 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
835
835
  metadataType?: string | undefined;
836
836
  }, {
837
837
  maxAttempts?: number | undefined;
838
- queue?: {
839
- name?: string | undefined;
840
- concurrencyLimit?: number | undefined;
841
- } | undefined;
842
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
843
- maxDuration?: number | undefined;
838
+ delay?: string | Date | undefined;
844
839
  payloadType?: string | undefined;
845
840
  tags?: string | string[] | undefined;
846
841
  idempotencyKey?: string | undefined;
847
842
  metadata?: any;
848
- delay?: string | Date | undefined;
843
+ maxDuration?: number | undefined;
844
+ queue?: {
845
+ name?: string | undefined;
846
+ concurrencyLimit?: number | null | undefined;
847
+ } | undefined;
848
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
849
849
  idempotencyKeyTTL?: string | undefined;
850
850
  concurrencyKey?: string | undefined;
851
851
  ttl?: string | number | undefined;
@@ -858,17 +858,17 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
858
858
  task: string;
859
859
  options?: {
860
860
  maxAttempts?: number | undefined;
861
- queue?: {
862
- name?: string | undefined;
863
- concurrencyLimit?: number | undefined;
864
- } | undefined;
865
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
866
- maxDuration?: number | undefined;
861
+ delay?: string | Date | undefined;
867
862
  payloadType?: string | undefined;
868
863
  tags?: string | string[] | undefined;
869
864
  idempotencyKey?: string | undefined;
870
865
  metadata?: any;
871
- delay?: string | Date | undefined;
866
+ maxDuration?: number | undefined;
867
+ queue?: {
868
+ name?: string | undefined;
869
+ concurrencyLimit?: number | null | undefined;
870
+ } | undefined;
871
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
872
872
  idempotencyKeyTTL?: string | undefined;
873
873
  concurrencyKey?: string | undefined;
874
874
  ttl?: string | number | undefined;
@@ -883,17 +883,17 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
883
883
  task: string;
884
884
  options?: {
885
885
  maxAttempts?: number | undefined;
886
- queue?: {
887
- name?: string | undefined;
888
- concurrencyLimit?: number | undefined;
889
- } | undefined;
890
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
891
- maxDuration?: number | undefined;
886
+ delay?: string | Date | undefined;
892
887
  payloadType?: string | undefined;
893
888
  tags?: string | string[] | undefined;
894
889
  idempotencyKey?: string | undefined;
895
890
  metadata?: any;
896
- delay?: string | Date | undefined;
891
+ maxDuration?: number | undefined;
892
+ queue?: {
893
+ name?: string | undefined;
894
+ concurrencyLimit?: number | null | undefined;
895
+ } | undefined;
896
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
897
897
  idempotencyKeyTTL?: string | undefined;
898
898
  concurrencyKey?: string | undefined;
899
899
  ttl?: string | number | undefined;
@@ -915,13 +915,13 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
915
915
  lockToVersion: z.ZodOptional<z.ZodString>;
916
916
  queue: z.ZodOptional<z.ZodObject<{
917
917
  name: z.ZodOptional<z.ZodString>;
918
- concurrencyLimit: z.ZodOptional<z.ZodNumber>;
918
+ concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
919
919
  }, "strip", z.ZodTypeAny, {
920
920
  name?: string | undefined;
921
- concurrencyLimit?: number | undefined;
921
+ concurrencyLimit?: number | null | undefined;
922
922
  }, {
923
923
  name?: string | undefined;
924
- concurrencyLimit?: number | undefined;
924
+ concurrencyLimit?: number | null | undefined;
925
925
  }>>;
926
926
  concurrencyKey: z.ZodOptional<z.ZodString>;
927
927
  idempotencyKey: z.ZodOptional<z.ZodString>;
@@ -939,17 +939,17 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
939
939
  machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
940
940
  }, "strip", z.ZodTypeAny, {
941
941
  maxAttempts?: number | undefined;
942
- queue?: {
943
- name?: string | undefined;
944
- concurrencyLimit?: number | undefined;
945
- } | undefined;
946
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
947
- maxDuration?: number | undefined;
942
+ delay?: string | Date | undefined;
948
943
  payloadType?: string | undefined;
949
944
  tags?: string | string[] | undefined;
950
945
  idempotencyKey?: string | undefined;
951
946
  metadata?: any;
952
- delay?: string | Date | undefined;
947
+ maxDuration?: number | undefined;
948
+ queue?: {
949
+ name?: string | undefined;
950
+ concurrencyLimit?: number | null | undefined;
951
+ } | undefined;
952
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
953
953
  idempotencyKeyTTL?: string | undefined;
954
954
  concurrencyKey?: string | undefined;
955
955
  ttl?: string | number | undefined;
@@ -959,17 +959,17 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
959
959
  metadataType?: string | undefined;
960
960
  }, {
961
961
  maxAttempts?: number | undefined;
962
- queue?: {
963
- name?: string | undefined;
964
- concurrencyLimit?: number | undefined;
965
- } | undefined;
966
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
967
- maxDuration?: number | undefined;
962
+ delay?: string | Date | undefined;
968
963
  payloadType?: string | undefined;
969
964
  tags?: string | string[] | undefined;
970
965
  idempotencyKey?: string | undefined;
971
966
  metadata?: any;
972
- delay?: string | Date | undefined;
967
+ maxDuration?: number | undefined;
968
+ queue?: {
969
+ name?: string | undefined;
970
+ concurrencyLimit?: number | null | undefined;
971
+ } | undefined;
972
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
973
973
  idempotencyKeyTTL?: string | undefined;
974
974
  concurrencyKey?: string | undefined;
975
975
  ttl?: string | number | undefined;
@@ -982,17 +982,17 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
982
982
  task: string;
983
983
  options?: {
984
984
  maxAttempts?: number | undefined;
985
- queue?: {
986
- name?: string | undefined;
987
- concurrencyLimit?: number | undefined;
988
- } | undefined;
989
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
990
- maxDuration?: number | undefined;
985
+ delay?: string | Date | undefined;
991
986
  payloadType?: string | undefined;
992
987
  tags?: string | string[] | undefined;
993
988
  idempotencyKey?: string | undefined;
994
989
  metadata?: any;
995
- delay?: string | Date | undefined;
990
+ maxDuration?: number | undefined;
991
+ queue?: {
992
+ name?: string | undefined;
993
+ concurrencyLimit?: number | null | undefined;
994
+ } | undefined;
995
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
996
996
  idempotencyKeyTTL?: string | undefined;
997
997
  concurrencyKey?: string | undefined;
998
998
  ttl?: string | number | undefined;
@@ -1007,17 +1007,17 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1007
1007
  task: string;
1008
1008
  options?: {
1009
1009
  maxAttempts?: number | undefined;
1010
- queue?: {
1011
- name?: string | undefined;
1012
- concurrencyLimit?: number | undefined;
1013
- } | undefined;
1014
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1015
- maxDuration?: number | undefined;
1010
+ delay?: string | Date | undefined;
1016
1011
  payloadType?: string | undefined;
1017
1012
  tags?: string | string[] | undefined;
1018
1013
  idempotencyKey?: string | undefined;
1019
1014
  metadata?: any;
1020
- delay?: string | Date | undefined;
1015
+ maxDuration?: number | undefined;
1016
+ queue?: {
1017
+ name?: string | undefined;
1018
+ concurrencyLimit?: number | null | undefined;
1019
+ } | undefined;
1020
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1021
1021
  idempotencyKeyTTL?: string | undefined;
1022
1022
  concurrencyKey?: string | undefined;
1023
1023
  ttl?: string | number | undefined;
@@ -1035,17 +1035,17 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1035
1035
  task: string;
1036
1036
  options?: {
1037
1037
  maxAttempts?: number | undefined;
1038
- queue?: {
1039
- name?: string | undefined;
1040
- concurrencyLimit?: number | undefined;
1041
- } | undefined;
1042
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1043
- maxDuration?: number | undefined;
1038
+ delay?: string | Date | undefined;
1044
1039
  payloadType?: string | undefined;
1045
1040
  tags?: string | string[] | undefined;
1046
1041
  idempotencyKey?: string | undefined;
1047
1042
  metadata?: any;
1048
- delay?: string | Date | undefined;
1043
+ maxDuration?: number | undefined;
1044
+ queue?: {
1045
+ name?: string | undefined;
1046
+ concurrencyLimit?: number | null | undefined;
1047
+ } | undefined;
1048
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1049
1049
  idempotencyKeyTTL?: string | undefined;
1050
1050
  concurrencyKey?: string | undefined;
1051
1051
  ttl?: string | number | undefined;
@@ -1063,17 +1063,17 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1063
1063
  task: string;
1064
1064
  options?: {
1065
1065
  maxAttempts?: number | undefined;
1066
- queue?: {
1067
- name?: string | undefined;
1068
- concurrencyLimit?: number | undefined;
1069
- } | undefined;
1070
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1071
- maxDuration?: number | undefined;
1066
+ delay?: string | Date | undefined;
1072
1067
  payloadType?: string | undefined;
1073
1068
  tags?: string | string[] | undefined;
1074
1069
  idempotencyKey?: string | undefined;
1075
1070
  metadata?: any;
1076
- delay?: string | Date | undefined;
1071
+ maxDuration?: number | undefined;
1072
+ queue?: {
1073
+ name?: string | undefined;
1074
+ concurrencyLimit?: number | null | undefined;
1075
+ } | undefined;
1076
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1077
1077
  idempotencyKeyTTL?: string | undefined;
1078
1078
  concurrencyKey?: string | undefined;
1079
1079
  ttl?: string | number | undefined;
@@ -1148,28 +1148,28 @@ export declare const GetBatchResponseBody: z.ZodObject<{
1148
1148
  taskRunId: z.ZodString;
1149
1149
  status: z.ZodEnum<["PENDING", "CANCELED", "COMPLETED", "FAILED"]>;
1150
1150
  }, "strip", z.ZodTypeAny, {
1151
- id: string;
1152
1151
  status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1152
+ id: string;
1153
1153
  taskRunId: string;
1154
1154
  }, {
1155
- id: string;
1156
1155
  status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1156
+ id: string;
1157
1157
  taskRunId: string;
1158
1158
  }>, "many">;
1159
1159
  }, "strip", z.ZodTypeAny, {
1160
- id: string;
1161
1160
  items: {
1162
- id: string;
1163
1161
  status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1162
+ id: string;
1164
1163
  taskRunId: string;
1165
1164
  }[];
1166
- }, {
1167
1165
  id: string;
1166
+ }, {
1168
1167
  items: {
1169
- id: string;
1170
1168
  status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1169
+ id: string;
1171
1170
  taskRunId: string;
1172
1171
  }[];
1172
+ id: string;
1173
1173
  }>;
1174
1174
  export type GetBatchResponseBody = z.infer<typeof GetBatchResponseBody>;
1175
1175
  export declare const AddTagsRequestBody: z.ZodObject<{
@@ -1221,12 +1221,15 @@ export type StartDeploymentIndexingResponseBody = z.infer<typeof StartDeployment
1221
1221
  export declare const FinalizeDeploymentRequestBody: z.ZodObject<{
1222
1222
  imageReference: z.ZodString;
1223
1223
  selfHosted: z.ZodOptional<z.ZodBoolean>;
1224
+ skipRegistryProxy: z.ZodOptional<z.ZodBoolean>;
1224
1225
  }, "strip", z.ZodTypeAny, {
1225
1226
  imageReference: string;
1226
1227
  selfHosted?: boolean | undefined;
1228
+ skipRegistryProxy?: boolean | undefined;
1227
1229
  }, {
1228
1230
  imageReference: string;
1229
1231
  selfHosted?: boolean | undefined;
1232
+ skipRegistryProxy?: boolean | undefined;
1230
1233
  }>;
1231
1234
  export type FinalizeDeploymentRequestBody = z.infer<typeof FinalizeDeploymentRequestBody>;
1232
1235
  export declare const ExternalBuildData: z.ZodObject<{
@@ -1400,49 +1403,49 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1400
1403
  exportName: z.ZodString;
1401
1404
  }, "strip", z.ZodTypeAny, {
1402
1405
  id: string;
1403
- exportName: string;
1404
1406
  filePath: string;
1407
+ exportName: string;
1405
1408
  slug: string;
1406
1409
  }, {
1407
1410
  id: string;
1408
- exportName: string;
1409
1411
  filePath: string;
1412
+ exportName: string;
1410
1413
  slug: string;
1411
1414
  }>, "many">;
1412
1415
  }, "strip", z.ZodTypeAny, {
1413
1416
  id: string;
1417
+ version: string;
1414
1418
  tasks: {
1415
1419
  id: string;
1416
- exportName: string;
1417
1420
  filePath: string;
1421
+ exportName: string;
1418
1422
  slug: string;
1419
1423
  }[];
1420
- version: string;
1421
1424
  }, {
1422
1425
  id: string;
1426
+ version: string;
1423
1427
  tasks: {
1424
1428
  id: string;
1425
- exportName: string;
1426
1429
  filePath: string;
1430
+ exportName: string;
1427
1431
  slug: string;
1428
1432
  }[];
1429
- version: string;
1430
1433
  }>>;
1431
1434
  }, "strip", z.ZodTypeAny, {
1432
- id: string;
1433
1435
  status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1436
+ id: string;
1434
1437
  version: string;
1435
1438
  contentHash: string;
1436
1439
  shortCode: string;
1437
1440
  worker?: {
1438
1441
  id: string;
1442
+ version: string;
1439
1443
  tasks: {
1440
1444
  id: string;
1441
- exportName: string;
1442
1445
  filePath: string;
1446
+ exportName: string;
1443
1447
  slug: string;
1444
1448
  }[];
1445
- version: string;
1446
1449
  } | undefined;
1447
1450
  imageReference?: string | null | undefined;
1448
1451
  errorData?: {
@@ -1452,20 +1455,20 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1452
1455
  stderr?: string | undefined;
1453
1456
  } | null | undefined;
1454
1457
  }, {
1455
- id: string;
1456
1458
  status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1459
+ id: string;
1457
1460
  version: string;
1458
1461
  contentHash: string;
1459
1462
  shortCode: string;
1460
1463
  worker?: {
1461
1464
  id: string;
1465
+ version: string;
1462
1466
  tasks: {
1463
1467
  id: string;
1464
- exportName: string;
1465
1468
  filePath: string;
1469
+ exportName: string;
1466
1470
  slug: string;
1467
1471
  }[];
1468
- version: string;
1469
1472
  } | undefined;
1470
1473
  imageReference?: string | null | undefined;
1471
1474
  errorData?: {
@@ -1538,16 +1541,16 @@ export declare const ScheduledTaskPayload: z.ZodObject<{
1538
1541
  }, "strip", z.ZodTypeAny, {
1539
1542
  type: "DECLARATIVE" | "IMPERATIVE";
1540
1543
  timezone: string;
1541
- timestamp: Date;
1542
1544
  scheduleId: string;
1545
+ timestamp: Date;
1543
1546
  upcoming: Date[];
1544
1547
  externalId?: string | undefined;
1545
1548
  lastTimestamp?: Date | undefined;
1546
1549
  }, {
1547
1550
  type: "DECLARATIVE" | "IMPERATIVE";
1548
1551
  timezone: string;
1549
- timestamp: Date;
1550
1552
  scheduleId: string;
1553
+ timestamp: Date;
1551
1554
  upcoming: Date[];
1552
1555
  externalId?: string | undefined;
1553
1556
  lastTimestamp?: Date | undefined;
@@ -1594,14 +1597,14 @@ export declare const CreateScheduleOptions: z.ZodObject<{
1594
1597
  */
1595
1598
  timezone: z.ZodOptional<z.ZodString>;
1596
1599
  }, "strip", z.ZodTypeAny, {
1597
- cron: string;
1598
1600
  task: string;
1601
+ cron: string;
1599
1602
  deduplicationKey: string;
1600
1603
  timezone?: string | undefined;
1601
1604
  externalId?: string | undefined;
1602
1605
  }, {
1603
- cron: string;
1604
1606
  task: string;
1607
+ cron: string;
1605
1608
  deduplicationKey: string;
1606
1609
  timezone?: string | undefined;
1607
1610
  externalId?: string | undefined;
@@ -1648,13 +1651,13 @@ export declare const UpdateScheduleOptions: z.ZodObject<Omit<{
1648
1651
  */
1649
1652
  timezone: z.ZodOptional<z.ZodString>;
1650
1653
  }, "deduplicationKey">, "strip", z.ZodTypeAny, {
1651
- cron: string;
1652
1654
  task: string;
1655
+ cron: string;
1653
1656
  timezone?: string | undefined;
1654
1657
  externalId?: string | undefined;
1655
1658
  }, {
1656
- cron: string;
1657
1659
  task: string;
1660
+ cron: string;
1658
1661
  timezone?: string | undefined;
1659
1662
  externalId?: string | undefined;
1660
1663
  }>;
@@ -1700,19 +1703,19 @@ export declare const ScheduleObject: z.ZodObject<{
1700
1703
  type: z.ZodString;
1701
1704
  userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1702
1705
  }, "strip", z.ZodTypeAny, {
1703
- id: string;
1704
1706
  type: string;
1707
+ id: string;
1705
1708
  userName?: string | null | undefined;
1706
1709
  }, {
1707
- id: string;
1708
1710
  type: string;
1711
+ id: string;
1709
1712
  userName?: string | null | undefined;
1710
1713
  }>, "many">;
1711
1714
  }, "strip", z.ZodTypeAny, {
1712
- id: string;
1713
1715
  type: "DECLARATIVE" | "IMPERATIVE";
1714
- timezone: string;
1716
+ id: string;
1715
1717
  task: string;
1718
+ timezone: string;
1716
1719
  generator: {
1717
1720
  type: "CRON";
1718
1721
  description: string;
@@ -1720,18 +1723,18 @@ export declare const ScheduleObject: z.ZodObject<{
1720
1723
  };
1721
1724
  active: boolean;
1722
1725
  environments: {
1723
- id: string;
1724
1726
  type: string;
1727
+ id: string;
1725
1728
  userName?: string | null | undefined;
1726
1729
  }[];
1727
1730
  externalId?: string | null | undefined;
1728
1731
  deduplicationKey?: string | null | undefined;
1729
1732
  nextRun?: Date | null | undefined;
1730
1733
  }, {
1731
- id: string;
1732
1734
  type: "DECLARATIVE" | "IMPERATIVE";
1733
- timezone: string;
1735
+ id: string;
1734
1736
  task: string;
1737
+ timezone: string;
1735
1738
  generator: {
1736
1739
  type: "CRON";
1737
1740
  description: string;
@@ -1739,8 +1742,8 @@ export declare const ScheduleObject: z.ZodObject<{
1739
1742
  };
1740
1743
  active: boolean;
1741
1744
  environments: {
1742
- id: string;
1743
1745
  type: string;
1746
+ id: string;
1744
1747
  userName?: string | null | undefined;
1745
1748
  }[];
1746
1749
  externalId?: string | null | undefined;
@@ -1784,19 +1787,19 @@ export declare const ListSchedulesResult: z.ZodObject<{
1784
1787
  type: z.ZodString;
1785
1788
  userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1786
1789
  }, "strip", z.ZodTypeAny, {
1787
- id: string;
1788
1790
  type: string;
1791
+ id: string;
1789
1792
  userName?: string | null | undefined;
1790
1793
  }, {
1791
- id: string;
1792
1794
  type: string;
1795
+ id: string;
1793
1796
  userName?: string | null | undefined;
1794
1797
  }>, "many">;
1795
1798
  }, "strip", z.ZodTypeAny, {
1796
- id: string;
1797
1799
  type: "DECLARATIVE" | "IMPERATIVE";
1798
- timezone: string;
1800
+ id: string;
1799
1801
  task: string;
1802
+ timezone: string;
1800
1803
  generator: {
1801
1804
  type: "CRON";
1802
1805
  description: string;
@@ -1804,18 +1807,18 @@ export declare const ListSchedulesResult: z.ZodObject<{
1804
1807
  };
1805
1808
  active: boolean;
1806
1809
  environments: {
1807
- id: string;
1808
1810
  type: string;
1811
+ id: string;
1809
1812
  userName?: string | null | undefined;
1810
1813
  }[];
1811
1814
  externalId?: string | null | undefined;
1812
1815
  deduplicationKey?: string | null | undefined;
1813
1816
  nextRun?: Date | null | undefined;
1814
1817
  }, {
1815
- id: string;
1816
1818
  type: "DECLARATIVE" | "IMPERATIVE";
1817
- timezone: string;
1819
+ id: string;
1818
1820
  task: string;
1821
+ timezone: string;
1819
1822
  generator: {
1820
1823
  type: "CRON";
1821
1824
  description: string;
@@ -1823,8 +1826,8 @@ export declare const ListSchedulesResult: z.ZodObject<{
1823
1826
  };
1824
1827
  active: boolean;
1825
1828
  environments: {
1826
- id: string;
1827
1829
  type: string;
1830
+ id: string;
1828
1831
  userName?: string | null | undefined;
1829
1832
  }[];
1830
1833
  externalId?: string | null | undefined;
@@ -1846,10 +1849,10 @@ export declare const ListSchedulesResult: z.ZodObject<{
1846
1849
  }>;
1847
1850
  }, "strip", z.ZodTypeAny, {
1848
1851
  data: {
1849
- id: string;
1850
1852
  type: "DECLARATIVE" | "IMPERATIVE";
1851
- timezone: string;
1853
+ id: string;
1852
1854
  task: string;
1855
+ timezone: string;
1853
1856
  generator: {
1854
1857
  type: "CRON";
1855
1858
  description: string;
@@ -1857,8 +1860,8 @@ export declare const ListSchedulesResult: z.ZodObject<{
1857
1860
  };
1858
1861
  active: boolean;
1859
1862
  environments: {
1860
- id: string;
1861
1863
  type: string;
1864
+ id: string;
1862
1865
  userName?: string | null | undefined;
1863
1866
  }[];
1864
1867
  externalId?: string | null | undefined;
@@ -1872,10 +1875,10 @@ export declare const ListSchedulesResult: z.ZodObject<{
1872
1875
  };
1873
1876
  }, {
1874
1877
  data: {
1875
- id: string;
1876
1878
  type: "DECLARATIVE" | "IMPERATIVE";
1877
- timezone: string;
1879
+ id: string;
1878
1880
  task: string;
1881
+ timezone: string;
1879
1882
  generator: {
1880
1883
  type: "CRON";
1881
1884
  description: string;
@@ -1883,8 +1886,8 @@ export declare const ListSchedulesResult: z.ZodObject<{
1883
1886
  };
1884
1887
  active: boolean;
1885
1888
  environments: {
1886
- id: string;
1887
1889
  type: string;
1890
+ id: string;
1888
1891
  userName?: string | null | undefined;
1889
1892
  }[];
1890
1893
  externalId?: string | null | undefined;
@@ -1926,12 +1929,12 @@ export declare const RunEnvironmentDetails: z.ZodObject<{
1926
1929
  name: z.ZodString;
1927
1930
  user: z.ZodOptional<z.ZodString>;
1928
1931
  }, "strip", z.ZodTypeAny, {
1929
- id: string;
1930
1932
  name: string;
1933
+ id: string;
1931
1934
  user?: string | undefined;
1932
1935
  }, {
1933
- id: string;
1934
1936
  name: string;
1937
+ id: string;
1935
1938
  user?: string | undefined;
1936
1939
  }>;
1937
1940
  export type RunEnvironmentDetails = z.infer<typeof RunEnvironmentDetails>;
@@ -2003,8 +2006,8 @@ export declare const RelatedRunDetails: z.ZodObject<{
2003
2006
  durationMs: z.ZodNumber;
2004
2007
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2005
2008
  }, "strip", z.ZodTypeAny, {
2006
- id: string;
2007
2009
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2010
+ id: string;
2008
2011
  tags: string[];
2009
2012
  isTest: boolean;
2010
2013
  createdAt: Date;
@@ -2021,9 +2024,9 @@ export declare const RelatedRunDetails: z.ZodObject<{
2021
2024
  isFailed: boolean;
2022
2025
  isCancelled: boolean;
2023
2026
  updatedAt: Date;
2024
- version?: string | undefined;
2025
2027
  startedAt?: Date | undefined;
2026
2028
  idempotencyKey?: string | undefined;
2029
+ version?: string | undefined;
2027
2030
  metadata?: Record<string, any> | undefined;
2028
2031
  ttl?: string | undefined;
2029
2032
  batchId?: string | undefined;
@@ -2031,8 +2034,8 @@ export declare const RelatedRunDetails: z.ZodObject<{
2031
2034
  delayedUntil?: Date | undefined;
2032
2035
  expiredAt?: Date | undefined;
2033
2036
  }, {
2034
- id: string;
2035
2037
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2038
+ id: string;
2036
2039
  tags: string[];
2037
2040
  isTest: boolean;
2038
2041
  createdAt: Date;
@@ -2049,9 +2052,9 @@ export declare const RelatedRunDetails: z.ZodObject<{
2049
2052
  isFailed: boolean;
2050
2053
  isCancelled: boolean;
2051
2054
  updatedAt: Date;
2052
- version?: string | undefined;
2053
2055
  startedAt?: Date | undefined;
2054
2056
  idempotencyKey?: string | undefined;
2057
+ version?: string | undefined;
2055
2058
  metadata?: Record<string, any> | undefined;
2056
2059
  ttl?: string | undefined;
2057
2060
  batchId?: string | undefined;
@@ -2070,12 +2073,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2070
2073
  stackTrace: z.ZodOptional<z.ZodString>;
2071
2074
  }, "strip", z.ZodTypeAny, {
2072
2075
  message: string;
2073
- stackTrace?: string | undefined;
2074
2076
  name?: string | undefined;
2077
+ stackTrace?: string | undefined;
2075
2078
  }, {
2076
2079
  message: string;
2077
- stackTrace?: string | undefined;
2078
2080
  name?: string | undefined;
2081
+ stackTrace?: string | undefined;
2079
2082
  }>>;
2080
2083
  schedule: z.ZodOptional<z.ZodObject<{
2081
2084
  id: z.ZodString;
@@ -2143,8 +2146,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2143
2146
  durationMs: z.ZodNumber;
2144
2147
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2145
2148
  }, "strip", z.ZodTypeAny, {
2146
- id: string;
2147
2149
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2150
+ id: string;
2148
2151
  tags: string[];
2149
2152
  isTest: boolean;
2150
2153
  createdAt: Date;
@@ -2161,9 +2164,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2161
2164
  isFailed: boolean;
2162
2165
  isCancelled: boolean;
2163
2166
  updatedAt: Date;
2164
- version?: string | undefined;
2165
2167
  startedAt?: Date | undefined;
2166
2168
  idempotencyKey?: string | undefined;
2169
+ version?: string | undefined;
2167
2170
  metadata?: Record<string, any> | undefined;
2168
2171
  ttl?: string | undefined;
2169
2172
  batchId?: string | undefined;
@@ -2171,8 +2174,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2171
2174
  delayedUntil?: Date | undefined;
2172
2175
  expiredAt?: Date | undefined;
2173
2176
  }, {
2174
- id: string;
2175
2177
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2178
+ id: string;
2176
2179
  tags: string[];
2177
2180
  isTest: boolean;
2178
2181
  createdAt: Date;
@@ -2189,9 +2192,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2189
2192
  isFailed: boolean;
2190
2193
  isCancelled: boolean;
2191
2194
  updatedAt: Date;
2192
- version?: string | undefined;
2193
2195
  startedAt?: Date | undefined;
2194
2196
  idempotencyKey?: string | undefined;
2197
+ version?: string | undefined;
2195
2198
  metadata?: Record<string, any> | undefined;
2196
2199
  ttl?: string | undefined;
2197
2200
  batchId?: string | undefined;
@@ -2228,8 +2231,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2228
2231
  durationMs: z.ZodNumber;
2229
2232
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2230
2233
  }, "strip", z.ZodTypeAny, {
2231
- id: string;
2232
2234
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2235
+ id: string;
2233
2236
  tags: string[];
2234
2237
  isTest: boolean;
2235
2238
  createdAt: Date;
@@ -2246,9 +2249,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2246
2249
  isFailed: boolean;
2247
2250
  isCancelled: boolean;
2248
2251
  updatedAt: Date;
2249
- version?: string | undefined;
2250
2252
  startedAt?: Date | undefined;
2251
2253
  idempotencyKey?: string | undefined;
2254
+ version?: string | undefined;
2252
2255
  metadata?: Record<string, any> | undefined;
2253
2256
  ttl?: string | undefined;
2254
2257
  batchId?: string | undefined;
@@ -2256,8 +2259,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2256
2259
  delayedUntil?: Date | undefined;
2257
2260
  expiredAt?: Date | undefined;
2258
2261
  }, {
2259
- id: string;
2260
2262
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2263
+ id: string;
2261
2264
  tags: string[];
2262
2265
  isTest: boolean;
2263
2266
  createdAt: Date;
@@ -2274,9 +2277,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2274
2277
  isFailed: boolean;
2275
2278
  isCancelled: boolean;
2276
2279
  updatedAt: Date;
2277
- version?: string | undefined;
2278
2280
  startedAt?: Date | undefined;
2279
2281
  idempotencyKey?: string | undefined;
2282
+ version?: string | undefined;
2280
2283
  metadata?: Record<string, any> | undefined;
2281
2284
  ttl?: string | undefined;
2282
2285
  batchId?: string | undefined;
@@ -2313,8 +2316,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2313
2316
  durationMs: z.ZodNumber;
2314
2317
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2315
2318
  }, "strip", z.ZodTypeAny, {
2316
- id: string;
2317
2319
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2320
+ id: string;
2318
2321
  tags: string[];
2319
2322
  isTest: boolean;
2320
2323
  createdAt: Date;
@@ -2331,9 +2334,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2331
2334
  isFailed: boolean;
2332
2335
  isCancelled: boolean;
2333
2336
  updatedAt: Date;
2334
- version?: string | undefined;
2335
2337
  startedAt?: Date | undefined;
2336
2338
  idempotencyKey?: string | undefined;
2339
+ version?: string | undefined;
2337
2340
  metadata?: Record<string, any> | undefined;
2338
2341
  ttl?: string | undefined;
2339
2342
  batchId?: string | undefined;
@@ -2341,8 +2344,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2341
2344
  delayedUntil?: Date | undefined;
2342
2345
  expiredAt?: Date | undefined;
2343
2346
  }, {
2344
- id: string;
2345
2347
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2348
+ id: string;
2346
2349
  tags: string[];
2347
2350
  isTest: boolean;
2348
2351
  createdAt: Date;
@@ -2359,9 +2362,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2359
2362
  isFailed: boolean;
2360
2363
  isCancelled: boolean;
2361
2364
  updatedAt: Date;
2362
- version?: string | undefined;
2363
2365
  startedAt?: Date | undefined;
2364
2366
  idempotencyKey?: string | undefined;
2367
+ version?: string | undefined;
2365
2368
  metadata?: Record<string, any> | undefined;
2366
2369
  ttl?: string | undefined;
2367
2370
  batchId?: string | undefined;
@@ -2371,8 +2374,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2371
2374
  }>, "many">>;
2372
2375
  }, "strip", z.ZodTypeAny, {
2373
2376
  root?: {
2374
- id: string;
2375
2377
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2378
+ id: string;
2376
2379
  tags: string[];
2377
2380
  isTest: boolean;
2378
2381
  createdAt: Date;
@@ -2389,9 +2392,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2389
2392
  isFailed: boolean;
2390
2393
  isCancelled: boolean;
2391
2394
  updatedAt: Date;
2392
- version?: string | undefined;
2393
2395
  startedAt?: Date | undefined;
2394
2396
  idempotencyKey?: string | undefined;
2397
+ version?: string | undefined;
2395
2398
  metadata?: Record<string, any> | undefined;
2396
2399
  ttl?: string | undefined;
2397
2400
  batchId?: string | undefined;
@@ -2400,8 +2403,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2400
2403
  expiredAt?: Date | undefined;
2401
2404
  } | undefined;
2402
2405
  parent?: {
2403
- id: string;
2404
2406
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2407
+ id: string;
2405
2408
  tags: string[];
2406
2409
  isTest: boolean;
2407
2410
  createdAt: Date;
@@ -2418,9 +2421,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2418
2421
  isFailed: boolean;
2419
2422
  isCancelled: boolean;
2420
2423
  updatedAt: Date;
2421
- version?: string | undefined;
2422
2424
  startedAt?: Date | undefined;
2423
2425
  idempotencyKey?: string | undefined;
2426
+ version?: string | undefined;
2424
2427
  metadata?: Record<string, any> | undefined;
2425
2428
  ttl?: string | undefined;
2426
2429
  batchId?: string | undefined;
@@ -2429,8 +2432,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2429
2432
  expiredAt?: Date | undefined;
2430
2433
  } | undefined;
2431
2434
  children?: {
2432
- id: string;
2433
2435
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2436
+ id: string;
2434
2437
  tags: string[];
2435
2438
  isTest: boolean;
2436
2439
  createdAt: Date;
@@ -2447,9 +2450,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2447
2450
  isFailed: boolean;
2448
2451
  isCancelled: boolean;
2449
2452
  updatedAt: Date;
2450
- version?: string | undefined;
2451
2453
  startedAt?: Date | undefined;
2452
2454
  idempotencyKey?: string | undefined;
2455
+ version?: string | undefined;
2453
2456
  metadata?: Record<string, any> | undefined;
2454
2457
  ttl?: string | undefined;
2455
2458
  batchId?: string | undefined;
@@ -2459,8 +2462,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2459
2462
  }[] | undefined;
2460
2463
  }, {
2461
2464
  root?: {
2462
- id: string;
2463
2465
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2466
+ id: string;
2464
2467
  tags: string[];
2465
2468
  isTest: boolean;
2466
2469
  createdAt: Date;
@@ -2477,9 +2480,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2477
2480
  isFailed: boolean;
2478
2481
  isCancelled: boolean;
2479
2482
  updatedAt: Date;
2480
- version?: string | undefined;
2481
2483
  startedAt?: Date | undefined;
2482
2484
  idempotencyKey?: string | undefined;
2485
+ version?: string | undefined;
2483
2486
  metadata?: Record<string, any> | undefined;
2484
2487
  ttl?: string | undefined;
2485
2488
  batchId?: string | undefined;
@@ -2488,8 +2491,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2488
2491
  expiredAt?: Date | undefined;
2489
2492
  } | undefined;
2490
2493
  parent?: {
2491
- id: string;
2492
2494
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2495
+ id: string;
2493
2496
  tags: string[];
2494
2497
  isTest: boolean;
2495
2498
  createdAt: Date;
@@ -2506,9 +2509,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2506
2509
  isFailed: boolean;
2507
2510
  isCancelled: boolean;
2508
2511
  updatedAt: Date;
2509
- version?: string | undefined;
2510
2512
  startedAt?: Date | undefined;
2511
2513
  idempotencyKey?: string | undefined;
2514
+ version?: string | undefined;
2512
2515
  metadata?: Record<string, any> | undefined;
2513
2516
  ttl?: string | undefined;
2514
2517
  batchId?: string | undefined;
@@ -2517,8 +2520,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2517
2520
  expiredAt?: Date | undefined;
2518
2521
  } | undefined;
2519
2522
  children?: {
2520
- id: string;
2521
2523
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2524
+ id: string;
2522
2525
  tags: string[];
2523
2526
  isTest: boolean;
2524
2527
  createdAt: Date;
@@ -2535,9 +2538,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2535
2538
  isFailed: boolean;
2536
2539
  isCancelled: boolean;
2537
2540
  updatedAt: Date;
2538
- version?: string | undefined;
2539
2541
  startedAt?: Date | undefined;
2540
2542
  idempotencyKey?: string | undefined;
2543
+ version?: string | undefined;
2541
2544
  metadata?: Record<string, any> | undefined;
2542
2545
  ttl?: string | undefined;
2543
2546
  batchId?: string | undefined;
@@ -2559,36 +2562,36 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2559
2562
  stackTrace: z.ZodOptional<z.ZodString>;
2560
2563
  }, "strip", z.ZodTypeAny, {
2561
2564
  message: string;
2562
- stackTrace?: string | undefined;
2563
2565
  name?: string | undefined;
2566
+ stackTrace?: string | undefined;
2564
2567
  }, {
2565
2568
  message: string;
2566
- stackTrace?: string | undefined;
2567
2569
  name?: string | undefined;
2570
+ stackTrace?: string | undefined;
2568
2571
  }>>;
2569
2572
  }, "strip", z.ZodTypeAny, {
2570
- id: string;
2571
2573
  status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2574
+ id: string;
2572
2575
  createdAt: Date;
2573
2576
  updatedAt: Date;
2574
- startedAt?: Date | undefined;
2575
2577
  error?: {
2576
2578
  message: string;
2577
- stackTrace?: string | undefined;
2578
2579
  name?: string | undefined;
2580
+ stackTrace?: string | undefined;
2579
2581
  } | undefined;
2582
+ startedAt?: Date | undefined;
2580
2583
  completedAt?: Date | undefined;
2581
2584
  }, {
2582
- id: string;
2583
2585
  status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2586
+ id: string;
2584
2587
  createdAt: Date;
2585
2588
  updatedAt: Date;
2586
- startedAt?: Date | undefined;
2587
2589
  error?: {
2588
2590
  message: string;
2589
- stackTrace?: string | undefined;
2590
2591
  name?: string | undefined;
2592
+ stackTrace?: string | undefined;
2591
2593
  } | undefined;
2594
+ startedAt?: Date | undefined;
2592
2595
  completedAt?: Date | undefined;
2593
2596
  }>>, "many">;
2594
2597
  attemptCount: z.ZodDefault<z.ZodNumber>;
@@ -2620,8 +2623,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2620
2623
  durationMs: z.ZodNumber;
2621
2624
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2622
2625
  }, "strip", z.ZodTypeAny, {
2623
- id: string;
2624
2626
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2627
+ id: string;
2625
2628
  tags: string[];
2626
2629
  isTest: boolean;
2627
2630
  createdAt: Date;
@@ -2631,8 +2634,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2631
2634
  taskIdentifier: string;
2632
2635
  relatedRuns: {
2633
2636
  root?: {
2634
- id: string;
2635
2637
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2638
+ id: string;
2636
2639
  tags: string[];
2637
2640
  isTest: boolean;
2638
2641
  createdAt: Date;
@@ -2649,9 +2652,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2649
2652
  isFailed: boolean;
2650
2653
  isCancelled: boolean;
2651
2654
  updatedAt: Date;
2652
- version?: string | undefined;
2653
2655
  startedAt?: Date | undefined;
2654
2656
  idempotencyKey?: string | undefined;
2657
+ version?: string | undefined;
2655
2658
  metadata?: Record<string, any> | undefined;
2656
2659
  ttl?: string | undefined;
2657
2660
  batchId?: string | undefined;
@@ -2660,8 +2663,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2660
2663
  expiredAt?: Date | undefined;
2661
2664
  } | undefined;
2662
2665
  parent?: {
2663
- id: string;
2664
2666
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2667
+ id: string;
2665
2668
  tags: string[];
2666
2669
  isTest: boolean;
2667
2670
  createdAt: Date;
@@ -2678,9 +2681,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2678
2681
  isFailed: boolean;
2679
2682
  isCancelled: boolean;
2680
2683
  updatedAt: Date;
2681
- version?: string | undefined;
2682
2684
  startedAt?: Date | undefined;
2683
2685
  idempotencyKey?: string | undefined;
2686
+ version?: string | undefined;
2684
2687
  metadata?: Record<string, any> | undefined;
2685
2688
  ttl?: string | undefined;
2686
2689
  batchId?: string | undefined;
@@ -2689,8 +2692,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2689
2692
  expiredAt?: Date | undefined;
2690
2693
  } | undefined;
2691
2694
  children?: {
2692
- id: string;
2693
2695
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2696
+ id: string;
2694
2697
  tags: string[];
2695
2698
  isTest: boolean;
2696
2699
  createdAt: Date;
@@ -2707,9 +2710,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2707
2710
  isFailed: boolean;
2708
2711
  isCancelled: boolean;
2709
2712
  updatedAt: Date;
2710
- version?: string | undefined;
2711
2713
  startedAt?: Date | undefined;
2712
2714
  idempotencyKey?: string | undefined;
2715
+ version?: string | undefined;
2713
2716
  metadata?: Record<string, any> | undefined;
2714
2717
  ttl?: string | undefined;
2715
2718
  batchId?: string | undefined;
@@ -2728,19 +2731,31 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2728
2731
  isCancelled: boolean;
2729
2732
  updatedAt: Date;
2730
2733
  attempts: ({
2731
- id: string;
2732
2734
  status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2735
+ id: string;
2733
2736
  createdAt: Date;
2734
2737
  updatedAt: Date;
2735
- startedAt?: Date | undefined;
2736
2738
  error?: {
2737
2739
  message: string;
2738
- stackTrace?: string | undefined;
2739
2740
  name?: string | undefined;
2741
+ stackTrace?: string | undefined;
2740
2742
  } | undefined;
2743
+ startedAt?: Date | undefined;
2741
2744
  completedAt?: Date | undefined;
2742
2745
  } | undefined)[];
2743
2746
  attemptCount: number;
2747
+ error?: {
2748
+ message: string;
2749
+ name?: string | undefined;
2750
+ stackTrace?: string | undefined;
2751
+ } | undefined;
2752
+ output?: any;
2753
+ startedAt?: Date | undefined;
2754
+ payload?: any;
2755
+ idempotencyKey?: string | undefined;
2756
+ version?: string | undefined;
2757
+ metadata?: Record<string, any> | undefined;
2758
+ ttl?: string | undefined;
2744
2759
  schedule?: {
2745
2760
  id: string;
2746
2761
  generator: {
@@ -2751,18 +2766,6 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2751
2766
  externalId?: string | undefined;
2752
2767
  deduplicationKey?: string | undefined;
2753
2768
  } | 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;
2760
- error?: {
2761
- message: string;
2762
- stackTrace?: string | undefined;
2763
- name?: string | undefined;
2764
- } | undefined;
2765
- ttl?: string | undefined;
2766
2769
  payloadPresignedUrl?: string | undefined;
2767
2770
  outputPresignedUrl?: string | undefined;
2768
2771
  batchId?: string | undefined;
@@ -2770,8 +2773,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2770
2773
  delayedUntil?: Date | undefined;
2771
2774
  expiredAt?: Date | undefined;
2772
2775
  }, {
2773
- id: string;
2774
2776
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2777
+ id: string;
2775
2778
  tags: string[];
2776
2779
  isTest: boolean;
2777
2780
  createdAt: Date;
@@ -2781,8 +2784,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2781
2784
  taskIdentifier: string;
2782
2785
  relatedRuns: {
2783
2786
  root?: {
2784
- id: string;
2785
2787
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2788
+ id: string;
2786
2789
  tags: string[];
2787
2790
  isTest: boolean;
2788
2791
  createdAt: Date;
@@ -2799,9 +2802,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2799
2802
  isFailed: boolean;
2800
2803
  isCancelled: boolean;
2801
2804
  updatedAt: Date;
2802
- version?: string | undefined;
2803
2805
  startedAt?: Date | undefined;
2804
2806
  idempotencyKey?: string | undefined;
2807
+ version?: string | undefined;
2805
2808
  metadata?: Record<string, any> | undefined;
2806
2809
  ttl?: string | undefined;
2807
2810
  batchId?: string | undefined;
@@ -2810,8 +2813,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2810
2813
  expiredAt?: Date | undefined;
2811
2814
  } | undefined;
2812
2815
  parent?: {
2813
- id: string;
2814
2816
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2817
+ id: string;
2815
2818
  tags: string[];
2816
2819
  isTest: boolean;
2817
2820
  createdAt: Date;
@@ -2828,9 +2831,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2828
2831
  isFailed: boolean;
2829
2832
  isCancelled: boolean;
2830
2833
  updatedAt: Date;
2831
- version?: string | undefined;
2832
2834
  startedAt?: Date | undefined;
2833
2835
  idempotencyKey?: string | undefined;
2836
+ version?: string | undefined;
2834
2837
  metadata?: Record<string, any> | undefined;
2835
2838
  ttl?: string | undefined;
2836
2839
  batchId?: string | undefined;
@@ -2839,8 +2842,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2839
2842
  expiredAt?: Date | undefined;
2840
2843
  } | undefined;
2841
2844
  children?: {
2842
- id: string;
2843
2845
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2846
+ id: string;
2844
2847
  tags: string[];
2845
2848
  isTest: boolean;
2846
2849
  createdAt: Date;
@@ -2857,9 +2860,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2857
2860
  isFailed: boolean;
2858
2861
  isCancelled: boolean;
2859
2862
  updatedAt: Date;
2860
- version?: string | undefined;
2861
2863
  startedAt?: Date | undefined;
2862
2864
  idempotencyKey?: string | undefined;
2865
+ version?: string | undefined;
2863
2866
  metadata?: Record<string, any> | undefined;
2864
2867
  ttl?: string | undefined;
2865
2868
  batchId?: string | undefined;
@@ -2878,18 +2881,30 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2878
2881
  isCancelled: boolean;
2879
2882
  updatedAt: Date;
2880
2883
  attempts: ({
2881
- id: string;
2882
2884
  status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2885
+ id: string;
2883
2886
  createdAt: Date;
2884
2887
  updatedAt: Date;
2885
- startedAt?: Date | undefined;
2886
2888
  error?: {
2887
2889
  message: string;
2888
- stackTrace?: string | undefined;
2889
2890
  name?: string | undefined;
2891
+ stackTrace?: string | undefined;
2890
2892
  } | undefined;
2893
+ startedAt?: Date | undefined;
2891
2894
  completedAt?: Date | undefined;
2892
2895
  } | undefined)[];
2896
+ error?: {
2897
+ message: string;
2898
+ name?: string | undefined;
2899
+ stackTrace?: string | undefined;
2900
+ } | undefined;
2901
+ output?: any;
2902
+ startedAt?: Date | undefined;
2903
+ payload?: any;
2904
+ idempotencyKey?: string | undefined;
2905
+ version?: string | undefined;
2906
+ metadata?: Record<string, any> | undefined;
2907
+ ttl?: string | undefined;
2893
2908
  schedule?: {
2894
2909
  id: string;
2895
2910
  generator: {
@@ -2900,18 +2915,6 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2900
2915
  externalId?: string | undefined;
2901
2916
  deduplicationKey?: string | undefined;
2902
2917
  } | 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;
2909
- error?: {
2910
- message: string;
2911
- stackTrace?: string | undefined;
2912
- name?: string | undefined;
2913
- } | undefined;
2914
- ttl?: string | undefined;
2915
2918
  payloadPresignedUrl?: string | undefined;
2916
2919
  outputPresignedUrl?: string | undefined;
2917
2920
  batchId?: string | undefined;
@@ -2927,12 +2930,12 @@ export declare const ListRunResponseItem: z.ZodObject<{
2927
2930
  name: z.ZodString;
2928
2931
  user: z.ZodOptional<z.ZodString>;
2929
2932
  }, "strip", z.ZodTypeAny, {
2930
- id: string;
2931
2933
  name: string;
2934
+ id: string;
2932
2935
  user?: string | undefined;
2933
2936
  }, {
2934
- id: string;
2935
2937
  name: string;
2938
+ id: string;
2936
2939
  user?: string | undefined;
2937
2940
  }>;
2938
2941
  id: z.ZodString;
@@ -2960,8 +2963,8 @@ export declare const ListRunResponseItem: z.ZodObject<{
2960
2963
  durationMs: z.ZodNumber;
2961
2964
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2962
2965
  }, "strip", z.ZodTypeAny, {
2963
- id: string;
2964
2966
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2967
+ id: string;
2965
2968
  tags: string[];
2966
2969
  isTest: boolean;
2967
2970
  createdAt: Date;
@@ -2977,21 +2980,21 @@ export declare const ListRunResponseItem: z.ZodObject<{
2977
2980
  isCancelled: boolean;
2978
2981
  updatedAt: Date;
2979
2982
  env: {
2980
- id: string;
2981
2983
  name: string;
2984
+ id: string;
2982
2985
  user?: string | undefined;
2983
2986
  };
2984
- version?: string | undefined;
2985
2987
  startedAt?: Date | undefined;
2986
2988
  idempotencyKey?: string | undefined;
2989
+ version?: string | undefined;
2987
2990
  metadata?: Record<string, any> | undefined;
2988
2991
  ttl?: string | undefined;
2989
2992
  finishedAt?: Date | undefined;
2990
2993
  delayedUntil?: Date | undefined;
2991
2994
  expiredAt?: Date | undefined;
2992
2995
  }, {
2993
- id: string;
2994
2996
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2997
+ id: string;
2995
2998
  tags: string[];
2996
2999
  isTest: boolean;
2997
3000
  createdAt: Date;
@@ -3007,13 +3010,13 @@ export declare const ListRunResponseItem: z.ZodObject<{
3007
3010
  isCancelled: boolean;
3008
3011
  updatedAt: Date;
3009
3012
  env: {
3010
- id: string;
3011
3013
  name: string;
3014
+ id: string;
3012
3015
  user?: string | undefined;
3013
3016
  };
3014
- version?: string | undefined;
3015
3017
  startedAt?: Date | undefined;
3016
3018
  idempotencyKey?: string | undefined;
3019
+ version?: string | undefined;
3017
3020
  metadata?: Record<string, any> | undefined;
3018
3021
  ttl?: string | undefined;
3019
3022
  finishedAt?: Date | undefined;
@@ -3028,12 +3031,12 @@ export declare const ListRunResponse: z.ZodObject<{
3028
3031
  name: z.ZodString;
3029
3032
  user: z.ZodOptional<z.ZodString>;
3030
3033
  }, "strip", z.ZodTypeAny, {
3031
- id: string;
3032
3034
  name: string;
3035
+ id: string;
3033
3036
  user?: string | undefined;
3034
3037
  }, {
3035
- id: string;
3036
3038
  name: string;
3039
+ id: string;
3037
3040
  user?: string | undefined;
3038
3041
  }>;
3039
3042
  id: z.ZodString;
@@ -3061,8 +3064,8 @@ export declare const ListRunResponse: z.ZodObject<{
3061
3064
  durationMs: z.ZodNumber;
3062
3065
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3063
3066
  }, "strip", z.ZodTypeAny, {
3064
- id: string;
3065
3067
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3068
+ id: string;
3066
3069
  tags: string[];
3067
3070
  isTest: boolean;
3068
3071
  createdAt: Date;
@@ -3078,21 +3081,21 @@ export declare const ListRunResponse: z.ZodObject<{
3078
3081
  isCancelled: boolean;
3079
3082
  updatedAt: Date;
3080
3083
  env: {
3081
- id: string;
3082
3084
  name: string;
3085
+ id: string;
3083
3086
  user?: string | undefined;
3084
3087
  };
3085
- version?: string | undefined;
3086
3088
  startedAt?: Date | undefined;
3087
3089
  idempotencyKey?: string | undefined;
3090
+ version?: string | undefined;
3088
3091
  metadata?: Record<string, any> | undefined;
3089
3092
  ttl?: string | undefined;
3090
3093
  finishedAt?: Date | undefined;
3091
3094
  delayedUntil?: Date | undefined;
3092
3095
  expiredAt?: Date | undefined;
3093
3096
  }, {
3094
- id: string;
3095
3097
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3098
+ id: string;
3096
3099
  tags: string[];
3097
3100
  isTest: boolean;
3098
3101
  createdAt: Date;
@@ -3108,13 +3111,13 @@ export declare const ListRunResponse: z.ZodObject<{
3108
3111
  isCancelled: boolean;
3109
3112
  updatedAt: Date;
3110
3113
  env: {
3111
- id: string;
3112
3114
  name: string;
3115
+ id: string;
3113
3116
  user?: string | undefined;
3114
3117
  };
3115
- version?: string | undefined;
3116
3118
  startedAt?: Date | undefined;
3117
3119
  idempotencyKey?: string | undefined;
3120
+ version?: string | undefined;
3118
3121
  metadata?: Record<string, any> | undefined;
3119
3122
  ttl?: string | undefined;
3120
3123
  finishedAt?: Date | undefined;
@@ -3133,8 +3136,8 @@ export declare const ListRunResponse: z.ZodObject<{
3133
3136
  }>;
3134
3137
  }, "strip", z.ZodTypeAny, {
3135
3138
  data: {
3136
- id: string;
3137
3139
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3140
+ id: string;
3138
3141
  tags: string[];
3139
3142
  isTest: boolean;
3140
3143
  createdAt: Date;
@@ -3150,13 +3153,13 @@ export declare const ListRunResponse: z.ZodObject<{
3150
3153
  isCancelled: boolean;
3151
3154
  updatedAt: Date;
3152
3155
  env: {
3153
- id: string;
3154
3156
  name: string;
3157
+ id: string;
3155
3158
  user?: string | undefined;
3156
3159
  };
3157
- version?: string | undefined;
3158
3160
  startedAt?: Date | undefined;
3159
3161
  idempotencyKey?: string | undefined;
3162
+ version?: string | undefined;
3160
3163
  metadata?: Record<string, any> | undefined;
3161
3164
  ttl?: string | undefined;
3162
3165
  finishedAt?: Date | undefined;
@@ -3169,8 +3172,8 @@ export declare const ListRunResponse: z.ZodObject<{
3169
3172
  };
3170
3173
  }, {
3171
3174
  data: {
3172
- id: string;
3173
3175
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3176
+ id: string;
3174
3177
  tags: string[];
3175
3178
  isTest: boolean;
3176
3179
  createdAt: Date;
@@ -3186,13 +3189,13 @@ export declare const ListRunResponse: z.ZodObject<{
3186
3189
  isCancelled: boolean;
3187
3190
  updatedAt: Date;
3188
3191
  env: {
3189
- id: string;
3190
3192
  name: string;
3193
+ id: string;
3191
3194
  user?: string | undefined;
3192
3195
  };
3193
- version?: string | undefined;
3194
3196
  startedAt?: Date | undefined;
3195
3197
  idempotencyKey?: string | undefined;
3198
+ version?: string | undefined;
3196
3199
  metadata?: Record<string, any> | undefined;
3197
3200
  ttl?: string | undefined;
3198
3201
  finishedAt?: Date | undefined;
@@ -3659,15 +3662,15 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3659
3662
  message: z.ZodString;
3660
3663
  stackTrace: z.ZodString;
3661
3664
  }, "strip", z.ZodTypeAny, {
3662
- type: "BUILT_IN_ERROR";
3663
3665
  message: string;
3664
- stackTrace: string;
3666
+ type: "BUILT_IN_ERROR";
3665
3667
  name: string;
3668
+ stackTrace: string;
3666
3669
  }, {
3667
- type: "BUILT_IN_ERROR";
3668
3670
  message: string;
3669
- stackTrace: string;
3671
+ type: "BUILT_IN_ERROR";
3670
3672
  name: string;
3673
+ stackTrace: string;
3671
3674
  }>, z.ZodObject<{
3672
3675
  type: z.ZodLiteral<"CUSTOM_ERROR">;
3673
3676
  raw: z.ZodString;
@@ -3692,20 +3695,20 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3692
3695
  message: z.ZodOptional<z.ZodString>;
3693
3696
  stackTrace: z.ZodOptional<z.ZodString>;
3694
3697
  }, "strip", z.ZodTypeAny, {
3695
- type: "INTERNAL_ERROR";
3696
3698
  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";
3699
+ type: "INTERNAL_ERROR";
3697
3700
  message?: string | undefined;
3698
3701
  stackTrace?: string | undefined;
3699
3702
  }, {
3700
- type: "INTERNAL_ERROR";
3701
3703
  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";
3704
+ type: "INTERNAL_ERROR";
3702
3705
  message?: string | undefined;
3703
3706
  stackTrace?: string | undefined;
3704
3707
  }>]>>>;
3705
3708
  }, "strip", z.ZodTypeAny, {
3706
3709
  number: number;
3707
- id: string;
3708
3710
  status: string;
3711
+ id: string;
3709
3712
  isTest: boolean;
3710
3713
  createdAt: Date;
3711
3714
  costInCents: number;
@@ -3715,40 +3718,40 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3715
3718
  friendlyId: string;
3716
3719
  usageDurationMs: number;
3717
3720
  runTags: string[] | null;
3718
- startedAt?: string | Date | null | undefined;
3719
- payload?: string | null | undefined;
3720
- payloadType?: string | null | undefined;
3721
- idempotencyKey?: string | null | undefined;
3722
- metadata?: string | null | undefined;
3723
- output?: string | null | undefined;
3724
- outputType?: string | null | undefined;
3725
3721
  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";
3732
3722
  message: string;
3733
- stackTrace: string;
3723
+ type: "BUILT_IN_ERROR";
3734
3724
  name: string;
3725
+ stackTrace: string;
3735
3726
  } | {
3736
3727
  type: "CUSTOM_ERROR";
3737
3728
  raw: string;
3738
3729
  } | {
3739
3730
  type: "STRING_ERROR";
3740
3731
  raw: string;
3732
+ } | {
3733
+ 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";
3734
+ type: "INTERNAL_ERROR";
3735
+ message?: string | undefined;
3736
+ stackTrace?: string | undefined;
3741
3737
  } | null | undefined;
3738
+ output?: string | null | undefined;
3739
+ startedAt?: string | Date | null | undefined;
3740
+ payload?: string | null | undefined;
3741
+ payloadType?: string | null | undefined;
3742
+ idempotencyKey?: string | null | undefined;
3743
+ metadata?: string | null | undefined;
3742
3744
  ttl?: string | null | undefined;
3743
3745
  expiredAt?: string | Date | null | undefined;
3744
3746
  completedAt?: string | Date | null | undefined;
3745
3747
  metadataType?: string | null | undefined;
3746
3748
  delayUntil?: string | Date | null | undefined;
3747
3749
  queuedAt?: string | Date | null | undefined;
3750
+ outputType?: string | null | undefined;
3748
3751
  }, {
3749
3752
  number: number;
3750
- id: string;
3751
3753
  status: string;
3754
+ id: string;
3752
3755
  isTest: boolean;
3753
3756
  createdAt: string;
3754
3757
  costInCents: number;
@@ -3757,36 +3760,36 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3757
3760
  updatedAt: string;
3758
3761
  friendlyId: string;
3759
3762
  usageDurationMs: number;
3760
- startedAt?: string | null | undefined;
3761
- payload?: string | null | undefined;
3762
- payloadType?: string | null | undefined;
3763
- idempotencyKey?: string | null | undefined;
3764
- metadata?: string | null | undefined;
3765
- output?: string | null | undefined;
3766
- outputType?: string | null | undefined;
3767
3763
  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";
3774
3764
  message: string;
3775
- stackTrace: string;
3765
+ type: "BUILT_IN_ERROR";
3776
3766
  name: string;
3767
+ stackTrace: string;
3777
3768
  } | {
3778
3769
  type: "CUSTOM_ERROR";
3779
3770
  raw: string;
3780
3771
  } | {
3781
3772
  type: "STRING_ERROR";
3782
3773
  raw: string;
3774
+ } | {
3775
+ 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";
3776
+ type: "INTERNAL_ERROR";
3777
+ message?: string | undefined;
3778
+ stackTrace?: string | undefined;
3783
3779
  } | null | undefined;
3780
+ output?: string | null | undefined;
3781
+ startedAt?: string | null | undefined;
3782
+ payload?: string | null | undefined;
3783
+ payloadType?: string | null | undefined;
3784
+ idempotencyKey?: string | null | undefined;
3785
+ metadata?: string | null | undefined;
3784
3786
  ttl?: string | null | undefined;
3785
3787
  expiredAt?: string | null | undefined;
3786
3788
  completedAt?: string | null | undefined;
3787
3789
  metadataType?: string | null | undefined;
3788
3790
  delayUntil?: string | null | undefined;
3789
3791
  queuedAt?: string | null | undefined;
3792
+ outputType?: string | null | undefined;
3790
3793
  runTags?: string[] | null | undefined;
3791
3794
  }>;
3792
3795
  export type SubscribeRunRawShape = z.infer<typeof SubscribeRunRawShape>;
@@ -3800,15 +3803,15 @@ export declare const RetrieveBatchResponse: z.ZodObject<{
3800
3803
  updatedAt: z.ZodDate;
3801
3804
  runCount: z.ZodNumber;
3802
3805
  }, "strip", z.ZodTypeAny, {
3803
- id: string;
3804
3806
  status: "COMPLETED" | "PENDING";
3807
+ id: string;
3805
3808
  createdAt: Date;
3806
3809
  updatedAt: Date;
3807
3810
  runCount: number;
3808
3811
  idempotencyKey?: string | undefined;
3809
3812
  }, {
3810
- id: string;
3811
3813
  status: "COMPLETED" | "PENDING";
3814
+ id: string;
3812
3815
  createdAt: Date;
3813
3816
  updatedAt: Date;
3814
3817
  runCount: number;
@@ -3823,18 +3826,18 @@ export declare const SubscribeRealtimeStreamChunkRawShape: z.ZodObject<{
3823
3826
  value: z.ZodString;
3824
3827
  createdAt: z.ZodDate;
3825
3828
  }, "strip", z.ZodTypeAny, {
3826
- id: string;
3827
3829
  value: string;
3830
+ id: string;
3828
3831
  createdAt: Date;
3829
- key: string;
3830
3832
  runId: string;
3833
+ key: string;
3831
3834
  sequence: number;
3832
3835
  }, {
3833
- id: string;
3834
3836
  value: string;
3837
+ id: string;
3835
3838
  createdAt: Date;
3836
- key: string;
3837
3839
  runId: string;
3840
+ key: string;
3838
3841
  sequence: number;
3839
3842
  }>;
3840
3843
  export type SubscribeRealtimeStreamChunkRawShape = z.infer<typeof SubscribeRealtimeStreamChunkRawShape>;