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

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.
@@ -36,8 +36,8 @@ export declare const GetProjectResponseBody: z.ZodObject<{
36
36
  title: string;
37
37
  }>;
38
38
  }, "strip", z.ZodTypeAny, {
39
- name: string;
40
39
  id: string;
40
+ name: 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
- name: string;
52
51
  id: string;
52
+ name: 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
- name: string;
88
87
  id: string;
88
+ name: 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
- name: string;
100
99
  id: string;
100
+ name: string;
101
101
  createdAt: Date;
102
102
  slug: string;
103
103
  organization: {
@@ -193,18 +193,13 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
193
193
  maxDuration: z.ZodOptional<z.ZodNumber>;
194
194
  }, "strip", z.ZodTypeAny, {
195
195
  id: string;
196
- filePath: string;
197
196
  exportName: string;
198
- maxDuration?: number | undefined;
197
+ filePath: string;
198
+ description?: string | undefined;
199
199
  queue?: {
200
200
  name?: string | undefined;
201
201
  concurrencyLimit?: number | undefined;
202
202
  } | undefined;
203
- machine?: {
204
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
205
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
206
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
207
- } | undefined;
208
203
  retry?: {
209
204
  maxAttempts?: number | undefined;
210
205
  factor?: number | undefined;
@@ -212,26 +207,26 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
212
207
  maxTimeoutInMs?: number | undefined;
213
208
  randomize?: boolean | undefined;
214
209
  } | undefined;
215
- description?: string | undefined;
210
+ machine?: {
211
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
212
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
213
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
214
+ } | undefined;
216
215
  triggerSource?: string | undefined;
217
216
  schedule?: {
218
217
  cron: string;
219
218
  timezone: string;
220
219
  } | undefined;
220
+ maxDuration?: number | undefined;
221
221
  }, {
222
222
  id: string;
223
- filePath: string;
224
223
  exportName: string;
225
- maxDuration?: number | undefined;
224
+ filePath: string;
225
+ description?: string | undefined;
226
226
  queue?: {
227
227
  name?: string | undefined;
228
228
  concurrencyLimit?: number | undefined;
229
229
  } | undefined;
230
- machine?: {
231
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
232
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
233
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
234
- } | undefined;
235
230
  retry?: {
236
231
  maxAttempts?: number | undefined;
237
232
  factor?: number | undefined;
@@ -239,12 +234,17 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
239
234
  maxTimeoutInMs?: number | undefined;
240
235
  randomize?: boolean | undefined;
241
236
  } | undefined;
242
- description?: string | undefined;
237
+ machine?: {
238
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
239
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
240
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
241
+ } | undefined;
243
242
  triggerSource?: string | undefined;
244
243
  schedule?: {
245
244
  cron: string;
246
245
  timezone: string;
247
246
  } | undefined;
247
+ maxDuration?: number | undefined;
248
248
  }>, "many">;
249
249
  sourceFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
250
250
  filePath: z.ZodString;
@@ -265,18 +265,13 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
265
265
  }, "strip", z.ZodTypeAny, {
266
266
  tasks: {
267
267
  id: string;
268
- filePath: string;
269
268
  exportName: string;
270
- maxDuration?: number | undefined;
269
+ filePath: string;
270
+ description?: string | undefined;
271
271
  queue?: {
272
272
  name?: string | undefined;
273
273
  concurrencyLimit?: number | undefined;
274
274
  } | undefined;
275
- machine?: {
276
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
277
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
278
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
279
- } | undefined;
280
275
  retry?: {
281
276
  maxAttempts?: number | undefined;
282
277
  factor?: number | undefined;
@@ -284,12 +279,17 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
284
279
  maxTimeoutInMs?: number | undefined;
285
280
  randomize?: boolean | undefined;
286
281
  } | undefined;
287
- description?: string | undefined;
282
+ machine?: {
283
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
284
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
285
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
286
+ } | undefined;
288
287
  triggerSource?: string | undefined;
289
288
  schedule?: {
290
289
  cron: string;
291
290
  timezone: string;
292
291
  } | undefined;
292
+ maxDuration?: number | undefined;
293
293
  }[];
294
294
  contentHash: string;
295
295
  packageVersion: string;
@@ -303,18 +303,13 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
303
303
  }, {
304
304
  tasks: {
305
305
  id: string;
306
- filePath: string;
307
306
  exportName: string;
308
- maxDuration?: number | undefined;
307
+ filePath: string;
308
+ description?: string | undefined;
309
309
  queue?: {
310
310
  name?: string | undefined;
311
311
  concurrencyLimit?: number | undefined;
312
312
  } | undefined;
313
- machine?: {
314
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
315
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
316
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
317
- } | undefined;
318
313
  retry?: {
319
314
  maxAttempts?: number | undefined;
320
315
  factor?: number | undefined;
@@ -322,12 +317,17 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
322
317
  maxTimeoutInMs?: number | undefined;
323
318
  randomize?: boolean | undefined;
324
319
  } | undefined;
325
- description?: string | undefined;
320
+ machine?: {
321
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
322
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
323
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
324
+ } | undefined;
326
325
  triggerSource?: string | undefined;
327
326
  schedule?: {
328
327
  cron: string;
329
328
  timezone: string;
330
329
  } | undefined;
330
+ maxDuration?: number | undefined;
331
331
  }[];
332
332
  contentHash: string;
333
333
  packageVersion: string;
@@ -344,18 +344,13 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
344
344
  metadata: {
345
345
  tasks: {
346
346
  id: string;
347
- filePath: string;
348
347
  exportName: string;
349
- maxDuration?: number | undefined;
348
+ filePath: string;
349
+ description?: string | undefined;
350
350
  queue?: {
351
351
  name?: string | undefined;
352
352
  concurrencyLimit?: number | undefined;
353
353
  } | undefined;
354
- machine?: {
355
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
356
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
357
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
358
- } | undefined;
359
354
  retry?: {
360
355
  maxAttempts?: number | undefined;
361
356
  factor?: number | undefined;
@@ -363,12 +358,17 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
363
358
  maxTimeoutInMs?: number | undefined;
364
359
  randomize?: boolean | undefined;
365
360
  } | undefined;
366
- description?: string | undefined;
361
+ machine?: {
362
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
363
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
364
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
365
+ } | undefined;
367
366
  triggerSource?: string | undefined;
368
367
  schedule?: {
369
368
  cron: string;
370
369
  timezone: string;
371
370
  } | undefined;
371
+ maxDuration?: number | undefined;
372
372
  }[];
373
373
  contentHash: string;
374
374
  packageVersion: string;
@@ -386,18 +386,13 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
386
386
  metadata: {
387
387
  tasks: {
388
388
  id: string;
389
- filePath: string;
390
389
  exportName: string;
391
- maxDuration?: number | undefined;
390
+ filePath: string;
391
+ description?: string | undefined;
392
392
  queue?: {
393
393
  name?: string | undefined;
394
394
  concurrencyLimit?: number | undefined;
395
395
  } | undefined;
396
- machine?: {
397
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
398
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
399
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
400
- } | undefined;
401
396
  retry?: {
402
397
  maxAttempts?: number | undefined;
403
398
  factor?: number | undefined;
@@ -405,12 +400,17 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
405
400
  maxTimeoutInMs?: number | undefined;
406
401
  randomize?: boolean | undefined;
407
402
  } | undefined;
408
- description?: string | undefined;
403
+ machine?: {
404
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
405
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
406
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
407
+ } | undefined;
409
408
  triggerSource?: string | undefined;
410
409
  schedule?: {
411
410
  cron: string;
412
411
  timezone: string;
413
412
  } | undefined;
413
+ maxDuration?: number | undefined;
414
414
  }[];
415
415
  contentHash: string;
416
416
  packageVersion: string;
@@ -475,17 +475,17 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
475
475
  maxDuration: z.ZodOptional<z.ZodNumber>;
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
- metadata?: any;
479
- payloadType?: string | undefined;
480
- tags?: string | string[] | undefined;
481
- idempotencyKey?: string | undefined;
482
478
  maxAttempts?: number | undefined;
483
- maxDuration?: number | undefined;
484
479
  queue?: {
485
480
  name?: string | undefined;
486
481
  concurrencyLimit?: number | undefined;
487
482
  } | undefined;
488
483
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
484
+ maxDuration?: number | undefined;
485
+ payloadType?: string | undefined;
486
+ tags?: string | string[] | undefined;
487
+ idempotencyKey?: string | undefined;
488
+ metadata?: any;
489
489
  delay?: string | Date | undefined;
490
490
  idempotencyKeyTTL?: string | undefined;
491
491
  concurrencyKey?: string | undefined;
@@ -498,17 +498,17 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
498
498
  test?: boolean | undefined;
499
499
  metadataType?: string | undefined;
500
500
  }, {
501
- metadata?: any;
502
- payloadType?: string | undefined;
503
- tags?: string | string[] | undefined;
504
- idempotencyKey?: string | undefined;
505
501
  maxAttempts?: number | undefined;
506
- maxDuration?: number | undefined;
507
502
  queue?: {
508
503
  name?: string | undefined;
509
504
  concurrencyLimit?: number | undefined;
510
505
  } | undefined;
511
506
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
507
+ maxDuration?: number | undefined;
508
+ payloadType?: string | undefined;
509
+ tags?: string | string[] | undefined;
510
+ idempotencyKey?: string | undefined;
511
+ metadata?: any;
512
512
  delay?: string | Date | undefined;
513
513
  idempotencyKeyTTL?: string | undefined;
514
514
  concurrencyKey?: string | undefined;
@@ -523,17 +523,17 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
523
523
  }>>;
524
524
  }, "strip", z.ZodTypeAny, {
525
525
  options?: {
526
- metadata?: any;
527
- payloadType?: string | undefined;
528
- tags?: string | string[] | undefined;
529
- idempotencyKey?: string | undefined;
530
526
  maxAttempts?: number | undefined;
531
- maxDuration?: number | undefined;
532
527
  queue?: {
533
528
  name?: string | undefined;
534
529
  concurrencyLimit?: number | undefined;
535
530
  } | undefined;
536
531
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
532
+ maxDuration?: number | undefined;
533
+ payloadType?: string | undefined;
534
+ tags?: string | string[] | undefined;
535
+ idempotencyKey?: string | undefined;
536
+ metadata?: any;
537
537
  delay?: string | Date | undefined;
538
538
  idempotencyKeyTTL?: string | undefined;
539
539
  concurrencyKey?: string | undefined;
@@ -550,17 +550,17 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
550
550
  context?: any;
551
551
  }, {
552
552
  options?: {
553
- metadata?: any;
554
- payloadType?: string | undefined;
555
- tags?: string | string[] | undefined;
556
- idempotencyKey?: string | undefined;
557
553
  maxAttempts?: number | undefined;
558
- maxDuration?: number | undefined;
559
554
  queue?: {
560
555
  name?: string | undefined;
561
556
  concurrencyLimit?: number | undefined;
562
557
  } | undefined;
563
558
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
559
+ maxDuration?: number | undefined;
560
+ payloadType?: string | undefined;
561
+ tags?: string | string[] | undefined;
562
+ idempotencyKey?: string | undefined;
563
+ metadata?: any;
564
564
  delay?: string | Date | undefined;
565
565
  idempotencyKeyTTL?: string | undefined;
566
566
  concurrencyKey?: string | undefined;
@@ -619,17 +619,17 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
619
619
  maxDuration: z.ZodOptional<z.ZodNumber>;
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
- metadata?: any;
623
- payloadType?: string | undefined;
624
- tags?: string | string[] | undefined;
625
- idempotencyKey?: string | undefined;
626
622
  maxAttempts?: number | undefined;
627
- maxDuration?: number | undefined;
628
623
  queue?: {
629
624
  name?: string | undefined;
630
625
  concurrencyLimit?: number | undefined;
631
626
  } | undefined;
632
627
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
628
+ maxDuration?: number | undefined;
629
+ payloadType?: string | undefined;
630
+ tags?: string | string[] | undefined;
631
+ idempotencyKey?: string | undefined;
632
+ metadata?: any;
633
633
  delay?: string | Date | undefined;
634
634
  idempotencyKeyTTL?: string | undefined;
635
635
  concurrencyKey?: string | undefined;
@@ -642,17 +642,17 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
642
642
  test?: boolean | undefined;
643
643
  metadataType?: string | undefined;
644
644
  }, {
645
- metadata?: any;
646
- payloadType?: string | undefined;
647
- tags?: string | string[] | undefined;
648
- idempotencyKey?: string | undefined;
649
645
  maxAttempts?: number | undefined;
650
- maxDuration?: number | undefined;
651
646
  queue?: {
652
647
  name?: string | undefined;
653
648
  concurrencyLimit?: number | undefined;
654
649
  } | undefined;
655
650
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
651
+ maxDuration?: number | undefined;
652
+ payloadType?: string | undefined;
653
+ tags?: string | string[] | undefined;
654
+ idempotencyKey?: string | undefined;
655
+ metadata?: any;
656
656
  delay?: string | Date | undefined;
657
657
  idempotencyKeyTTL?: string | undefined;
658
658
  concurrencyKey?: string | undefined;
@@ -667,17 +667,17 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
667
667
  }>>;
668
668
  }, "strip", z.ZodTypeAny, {
669
669
  options?: {
670
- metadata?: any;
671
- payloadType?: string | undefined;
672
- tags?: string | string[] | undefined;
673
- idempotencyKey?: string | undefined;
674
670
  maxAttempts?: number | undefined;
675
- maxDuration?: number | undefined;
676
671
  queue?: {
677
672
  name?: string | undefined;
678
673
  concurrencyLimit?: number | undefined;
679
674
  } | undefined;
680
675
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
676
+ maxDuration?: number | undefined;
677
+ payloadType?: string | undefined;
678
+ tags?: string | string[] | undefined;
679
+ idempotencyKey?: string | undefined;
680
+ metadata?: any;
681
681
  delay?: string | Date | undefined;
682
682
  idempotencyKeyTTL?: string | undefined;
683
683
  concurrencyKey?: string | undefined;
@@ -694,17 +694,17 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
694
694
  context?: any;
695
695
  }, {
696
696
  options?: {
697
- metadata?: any;
698
- payloadType?: string | undefined;
699
- tags?: string | string[] | undefined;
700
- idempotencyKey?: string | undefined;
701
697
  maxAttempts?: number | undefined;
702
- maxDuration?: number | undefined;
703
698
  queue?: {
704
699
  name?: string | undefined;
705
700
  concurrencyLimit?: number | undefined;
706
701
  } | undefined;
707
702
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
703
+ maxDuration?: number | undefined;
704
+ payloadType?: string | undefined;
705
+ tags?: string | string[] | undefined;
706
+ idempotencyKey?: string | undefined;
707
+ metadata?: any;
708
708
  delay?: string | Date | undefined;
709
709
  idempotencyKeyTTL?: string | undefined;
710
710
  concurrencyKey?: string | undefined;
@@ -724,17 +724,17 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
724
724
  }, "strip", z.ZodTypeAny, {
725
725
  items: {
726
726
  options?: {
727
- metadata?: any;
728
- payloadType?: string | undefined;
729
- tags?: string | string[] | undefined;
730
- idempotencyKey?: string | undefined;
731
727
  maxAttempts?: number | undefined;
732
- maxDuration?: number | undefined;
733
728
  queue?: {
734
729
  name?: string | undefined;
735
730
  concurrencyLimit?: number | undefined;
736
731
  } | undefined;
737
732
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
733
+ maxDuration?: number | undefined;
734
+ payloadType?: string | undefined;
735
+ tags?: string | string[] | undefined;
736
+ idempotencyKey?: string | undefined;
737
+ metadata?: any;
738
738
  delay?: string | Date | undefined;
739
739
  idempotencyKeyTTL?: string | undefined;
740
740
  concurrencyKey?: string | undefined;
@@ -754,17 +754,17 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
754
754
  }, {
755
755
  items: {
756
756
  options?: {
757
- metadata?: any;
758
- payloadType?: string | undefined;
759
- tags?: string | string[] | undefined;
760
- idempotencyKey?: string | undefined;
761
757
  maxAttempts?: number | undefined;
762
- maxDuration?: number | undefined;
763
758
  queue?: {
764
759
  name?: string | undefined;
765
760
  concurrencyLimit?: number | undefined;
766
761
  } | undefined;
767
762
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
763
+ maxDuration?: number | undefined;
764
+ payloadType?: string | undefined;
765
+ tags?: string | string[] | undefined;
766
+ idempotencyKey?: string | undefined;
767
+ metadata?: any;
768
768
  delay?: string | Date | undefined;
769
769
  idempotencyKeyTTL?: string | undefined;
770
770
  concurrencyKey?: string | undefined;
@@ -814,17 +814,17 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
814
814
  parentAttempt: z.ZodOptional<z.ZodString>;
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
- metadata?: any;
818
- payloadType?: string | undefined;
819
- tags?: string | string[] | undefined;
820
- idempotencyKey?: string | undefined;
821
817
  maxAttempts?: number | undefined;
822
- maxDuration?: number | undefined;
823
818
  queue?: {
824
819
  name?: string | undefined;
825
820
  concurrencyLimit?: number | undefined;
826
821
  } | undefined;
827
822
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
823
+ maxDuration?: number | undefined;
824
+ payloadType?: string | undefined;
825
+ tags?: string | string[] | undefined;
826
+ idempotencyKey?: string | undefined;
827
+ metadata?: any;
828
828
  delay?: string | Date | undefined;
829
829
  idempotencyKeyTTL?: string | undefined;
830
830
  concurrencyKey?: string | undefined;
@@ -834,17 +834,17 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
834
834
  test?: boolean | undefined;
835
835
  metadataType?: string | undefined;
836
836
  }, {
837
- metadata?: any;
838
- payloadType?: string | undefined;
839
- tags?: string | string[] | undefined;
840
- idempotencyKey?: string | undefined;
841
837
  maxAttempts?: number | undefined;
842
- maxDuration?: number | undefined;
843
838
  queue?: {
844
839
  name?: string | undefined;
845
840
  concurrencyLimit?: number | undefined;
846
841
  } | undefined;
847
842
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
843
+ maxDuration?: number | undefined;
844
+ payloadType?: string | undefined;
845
+ tags?: string | string[] | undefined;
846
+ idempotencyKey?: string | undefined;
847
+ metadata?: any;
848
848
  delay?: string | Date | undefined;
849
849
  idempotencyKeyTTL?: string | undefined;
850
850
  concurrencyKey?: string | undefined;
@@ -857,17 +857,17 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
857
857
  }, "strip", z.ZodTypeAny, {
858
858
  task: string;
859
859
  options?: {
860
- metadata?: any;
861
- payloadType?: string | undefined;
862
- tags?: string | string[] | undefined;
863
- idempotencyKey?: string | undefined;
864
860
  maxAttempts?: number | undefined;
865
- maxDuration?: number | undefined;
866
861
  queue?: {
867
862
  name?: string | undefined;
868
863
  concurrencyLimit?: number | undefined;
869
864
  } | undefined;
870
865
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
866
+ maxDuration?: number | undefined;
867
+ payloadType?: string | undefined;
868
+ tags?: string | string[] | undefined;
869
+ idempotencyKey?: string | undefined;
870
+ metadata?: any;
871
871
  delay?: string | Date | undefined;
872
872
  idempotencyKeyTTL?: string | undefined;
873
873
  concurrencyKey?: string | undefined;
@@ -882,17 +882,17 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
882
882
  }, {
883
883
  task: string;
884
884
  options?: {
885
- metadata?: any;
886
- payloadType?: string | undefined;
887
- tags?: string | string[] | undefined;
888
- idempotencyKey?: string | undefined;
889
885
  maxAttempts?: number | undefined;
890
- maxDuration?: number | undefined;
891
886
  queue?: {
892
887
  name?: string | undefined;
893
888
  concurrencyLimit?: number | undefined;
894
889
  } | undefined;
895
890
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
891
+ maxDuration?: number | undefined;
892
+ payloadType?: string | undefined;
893
+ tags?: string | string[] | undefined;
894
+ idempotencyKey?: string | undefined;
895
+ metadata?: any;
896
896
  delay?: string | Date | undefined;
897
897
  idempotencyKeyTTL?: string | undefined;
898
898
  concurrencyKey?: string | undefined;
@@ -938,17 +938,17 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
938
938
  parentAttempt: z.ZodOptional<z.ZodString>;
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
- metadata?: any;
942
- payloadType?: string | undefined;
943
- tags?: string | string[] | undefined;
944
- idempotencyKey?: string | undefined;
945
941
  maxAttempts?: number | undefined;
946
- maxDuration?: number | undefined;
947
942
  queue?: {
948
943
  name?: string | undefined;
949
944
  concurrencyLimit?: number | undefined;
950
945
  } | undefined;
951
946
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
947
+ maxDuration?: number | undefined;
948
+ payloadType?: string | undefined;
949
+ tags?: string | string[] | undefined;
950
+ idempotencyKey?: string | undefined;
951
+ metadata?: any;
952
952
  delay?: string | Date | undefined;
953
953
  idempotencyKeyTTL?: string | undefined;
954
954
  concurrencyKey?: string | undefined;
@@ -958,17 +958,17 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
958
958
  test?: boolean | undefined;
959
959
  metadataType?: string | undefined;
960
960
  }, {
961
- metadata?: any;
962
- payloadType?: string | undefined;
963
- tags?: string | string[] | undefined;
964
- idempotencyKey?: string | undefined;
965
961
  maxAttempts?: number | undefined;
966
- maxDuration?: number | undefined;
967
962
  queue?: {
968
963
  name?: string | undefined;
969
964
  concurrencyLimit?: number | undefined;
970
965
  } | undefined;
971
966
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
967
+ maxDuration?: number | undefined;
968
+ payloadType?: string | undefined;
969
+ tags?: string | string[] | undefined;
970
+ idempotencyKey?: string | undefined;
971
+ metadata?: any;
972
972
  delay?: string | Date | undefined;
973
973
  idempotencyKeyTTL?: string | undefined;
974
974
  concurrencyKey?: string | undefined;
@@ -981,17 +981,17 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
981
981
  }, "strip", z.ZodTypeAny, {
982
982
  task: string;
983
983
  options?: {
984
- metadata?: any;
985
- payloadType?: string | undefined;
986
- tags?: string | string[] | undefined;
987
- idempotencyKey?: string | undefined;
988
984
  maxAttempts?: number | undefined;
989
- maxDuration?: number | undefined;
990
985
  queue?: {
991
986
  name?: string | undefined;
992
987
  concurrencyLimit?: number | undefined;
993
988
  } | undefined;
994
989
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
990
+ maxDuration?: number | undefined;
991
+ payloadType?: string | undefined;
992
+ tags?: string | string[] | undefined;
993
+ idempotencyKey?: string | undefined;
994
+ metadata?: any;
995
995
  delay?: string | Date | undefined;
996
996
  idempotencyKeyTTL?: string | undefined;
997
997
  concurrencyKey?: string | undefined;
@@ -1006,17 +1006,17 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1006
1006
  }, {
1007
1007
  task: string;
1008
1008
  options?: {
1009
- metadata?: any;
1010
- payloadType?: string | undefined;
1011
- tags?: string | string[] | undefined;
1012
- idempotencyKey?: string | undefined;
1013
1009
  maxAttempts?: number | undefined;
1014
- maxDuration?: number | undefined;
1015
1010
  queue?: {
1016
1011
  name?: string | undefined;
1017
1012
  concurrencyLimit?: number | undefined;
1018
1013
  } | undefined;
1019
1014
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1015
+ maxDuration?: number | undefined;
1016
+ payloadType?: string | undefined;
1017
+ tags?: string | string[] | undefined;
1018
+ idempotencyKey?: string | undefined;
1019
+ metadata?: any;
1020
1020
  delay?: string | Date | undefined;
1021
1021
  idempotencyKeyTTL?: string | undefined;
1022
1022
  concurrencyKey?: string | undefined;
@@ -1034,17 +1034,17 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1034
1034
  items: {
1035
1035
  task: string;
1036
1036
  options?: {
1037
- metadata?: any;
1038
- payloadType?: string | undefined;
1039
- tags?: string | string[] | undefined;
1040
- idempotencyKey?: string | undefined;
1041
1037
  maxAttempts?: number | undefined;
1042
- maxDuration?: number | undefined;
1043
1038
  queue?: {
1044
1039
  name?: string | undefined;
1045
1040
  concurrencyLimit?: number | undefined;
1046
1041
  } | undefined;
1047
1042
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1043
+ maxDuration?: number | undefined;
1044
+ payloadType?: string | undefined;
1045
+ tags?: string | string[] | undefined;
1046
+ idempotencyKey?: string | undefined;
1047
+ metadata?: any;
1048
1048
  delay?: string | Date | undefined;
1049
1049
  idempotencyKeyTTL?: string | undefined;
1050
1050
  concurrencyKey?: string | undefined;
@@ -1062,17 +1062,17 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1062
1062
  items: {
1063
1063
  task: string;
1064
1064
  options?: {
1065
- metadata?: any;
1066
- payloadType?: string | undefined;
1067
- tags?: string | string[] | undefined;
1068
- idempotencyKey?: string | undefined;
1069
1065
  maxAttempts?: number | undefined;
1070
- maxDuration?: number | undefined;
1071
1066
  queue?: {
1072
1067
  name?: string | undefined;
1073
1068
  concurrencyLimit?: number | undefined;
1074
1069
  } | undefined;
1075
1070
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1071
+ maxDuration?: number | undefined;
1072
+ payloadType?: string | undefined;
1073
+ tags?: string | string[] | undefined;
1074
+ idempotencyKey?: string | undefined;
1075
+ metadata?: any;
1076
1076
  delay?: string | Date | undefined;
1077
1077
  idempotencyKeyTTL?: string | undefined;
1078
1078
  concurrencyKey?: string | undefined;
@@ -1148,26 +1148,26 @@ 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
- status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1152
1151
  id: string;
1152
+ status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1153
1153
  taskRunId: string;
1154
1154
  }, {
1155
- status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1156
1155
  id: string;
1156
+ status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1157
1157
  taskRunId: string;
1158
1158
  }>, "many">;
1159
1159
  }, "strip", z.ZodTypeAny, {
1160
1160
  id: string;
1161
1161
  items: {
1162
- status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1163
1162
  id: string;
1163
+ status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1164
1164
  taskRunId: string;
1165
1165
  }[];
1166
1166
  }, {
1167
1167
  id: string;
1168
1168
  items: {
1169
- status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1170
1169
  id: string;
1170
+ status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1171
1171
  taskRunId: string;
1172
1172
  }[];
1173
1173
  }>;
@@ -1400,49 +1400,49 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1400
1400
  exportName: z.ZodString;
1401
1401
  }, "strip", z.ZodTypeAny, {
1402
1402
  id: string;
1403
- filePath: string;
1404
1403
  exportName: string;
1404
+ filePath: string;
1405
1405
  slug: string;
1406
1406
  }, {
1407
1407
  id: string;
1408
- filePath: string;
1409
1408
  exportName: string;
1409
+ filePath: string;
1410
1410
  slug: string;
1411
1411
  }>, "many">;
1412
1412
  }, "strip", z.ZodTypeAny, {
1413
1413
  id: string;
1414
- version: string;
1415
1414
  tasks: {
1416
1415
  id: string;
1417
- filePath: string;
1418
1416
  exportName: string;
1417
+ filePath: string;
1419
1418
  slug: string;
1420
1419
  }[];
1420
+ version: string;
1421
1421
  }, {
1422
1422
  id: string;
1423
- version: string;
1424
1423
  tasks: {
1425
1424
  id: string;
1426
- filePath: string;
1427
1425
  exportName: string;
1426
+ filePath: string;
1428
1427
  slug: string;
1429
1428
  }[];
1429
+ version: string;
1430
1430
  }>>;
1431
1431
  }, "strip", z.ZodTypeAny, {
1432
- status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1433
1432
  id: string;
1433
+ status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1434
1434
  version: string;
1435
1435
  contentHash: string;
1436
1436
  shortCode: string;
1437
1437
  worker?: {
1438
1438
  id: string;
1439
- version: string;
1440
1439
  tasks: {
1441
1440
  id: string;
1442
- filePath: string;
1443
1441
  exportName: string;
1442
+ filePath: string;
1444
1443
  slug: string;
1445
1444
  }[];
1445
+ version: string;
1446
1446
  } | undefined;
1447
1447
  imageReference?: string | null | undefined;
1448
1448
  errorData?: {
@@ -1452,20 +1452,20 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1452
1452
  stderr?: string | undefined;
1453
1453
  } | null | undefined;
1454
1454
  }, {
1455
- status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1456
1455
  id: string;
1456
+ status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1457
1457
  version: string;
1458
1458
  contentHash: string;
1459
1459
  shortCode: string;
1460
1460
  worker?: {
1461
1461
  id: string;
1462
- version: string;
1463
1462
  tasks: {
1464
1463
  id: string;
1465
- filePath: string;
1466
1464
  exportName: string;
1465
+ filePath: string;
1467
1466
  slug: string;
1468
1467
  }[];
1468
+ version: string;
1469
1469
  } | undefined;
1470
1470
  imageReference?: string | null | undefined;
1471
1471
  errorData?: {
@@ -1537,16 +1537,16 @@ export declare const ScheduledTaskPayload: z.ZodObject<{
1537
1537
  upcoming: z.ZodArray<z.ZodDate, "many">;
1538
1538
  }, "strip", z.ZodTypeAny, {
1539
1539
  type: "DECLARATIVE" | "IMPERATIVE";
1540
- timestamp: Date;
1541
1540
  timezone: string;
1541
+ timestamp: Date;
1542
1542
  scheduleId: string;
1543
1543
  upcoming: Date[];
1544
1544
  externalId?: string | undefined;
1545
1545
  lastTimestamp?: Date | undefined;
1546
1546
  }, {
1547
1547
  type: "DECLARATIVE" | "IMPERATIVE";
1548
- timestamp: Date;
1549
1548
  timezone: string;
1549
+ timestamp: Date;
1550
1550
  scheduleId: string;
1551
1551
  upcoming: Date[];
1552
1552
  externalId?: string | undefined;
@@ -1594,14 +1594,14 @@ export declare const CreateScheduleOptions: z.ZodObject<{
1594
1594
  */
1595
1595
  timezone: z.ZodOptional<z.ZodString>;
1596
1596
  }, "strip", z.ZodTypeAny, {
1597
- task: string;
1598
1597
  cron: string;
1598
+ task: string;
1599
1599
  deduplicationKey: string;
1600
1600
  timezone?: string | undefined;
1601
1601
  externalId?: string | undefined;
1602
1602
  }, {
1603
- task: string;
1604
1603
  cron: string;
1604
+ task: string;
1605
1605
  deduplicationKey: string;
1606
1606
  timezone?: string | undefined;
1607
1607
  externalId?: string | undefined;
@@ -1648,13 +1648,13 @@ export declare const UpdateScheduleOptions: z.ZodObject<Omit<{
1648
1648
  */
1649
1649
  timezone: z.ZodOptional<z.ZodString>;
1650
1650
  }, "deduplicationKey">, "strip", z.ZodTypeAny, {
1651
- task: string;
1652
1651
  cron: string;
1652
+ task: string;
1653
1653
  timezone?: string | undefined;
1654
1654
  externalId?: string | undefined;
1655
1655
  }, {
1656
- task: string;
1657
1656
  cron: string;
1657
+ task: string;
1658
1658
  timezone?: string | undefined;
1659
1659
  externalId?: string | undefined;
1660
1660
  }>;
@@ -1700,19 +1700,19 @@ export declare const ScheduleObject: z.ZodObject<{
1700
1700
  type: z.ZodString;
1701
1701
  userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1702
1702
  }, "strip", z.ZodTypeAny, {
1703
- type: string;
1704
1703
  id: string;
1704
+ type: string;
1705
1705
  userName?: string | null | undefined;
1706
1706
  }, {
1707
- type: string;
1708
1707
  id: string;
1708
+ type: string;
1709
1709
  userName?: string | null | undefined;
1710
1710
  }>, "many">;
1711
1711
  }, "strip", z.ZodTypeAny, {
1712
- type: "DECLARATIVE" | "IMPERATIVE";
1713
1712
  id: string;
1714
- task: string;
1713
+ type: "DECLARATIVE" | "IMPERATIVE";
1715
1714
  timezone: string;
1715
+ task: string;
1716
1716
  generator: {
1717
1717
  type: "CRON";
1718
1718
  description: string;
@@ -1720,18 +1720,18 @@ export declare const ScheduleObject: z.ZodObject<{
1720
1720
  };
1721
1721
  active: boolean;
1722
1722
  environments: {
1723
- type: string;
1724
1723
  id: string;
1724
+ type: string;
1725
1725
  userName?: string | null | undefined;
1726
1726
  }[];
1727
1727
  externalId?: string | null | undefined;
1728
1728
  deduplicationKey?: string | null | undefined;
1729
1729
  nextRun?: Date | null | undefined;
1730
1730
  }, {
1731
- type: "DECLARATIVE" | "IMPERATIVE";
1732
1731
  id: string;
1733
- task: string;
1732
+ type: "DECLARATIVE" | "IMPERATIVE";
1734
1733
  timezone: string;
1734
+ task: string;
1735
1735
  generator: {
1736
1736
  type: "CRON";
1737
1737
  description: string;
@@ -1739,8 +1739,8 @@ export declare const ScheduleObject: z.ZodObject<{
1739
1739
  };
1740
1740
  active: boolean;
1741
1741
  environments: {
1742
- type: string;
1743
1742
  id: string;
1743
+ type: string;
1744
1744
  userName?: string | null | undefined;
1745
1745
  }[];
1746
1746
  externalId?: string | null | undefined;
@@ -1784,19 +1784,19 @@ export declare const ListSchedulesResult: z.ZodObject<{
1784
1784
  type: z.ZodString;
1785
1785
  userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1786
1786
  }, "strip", z.ZodTypeAny, {
1787
- type: string;
1788
1787
  id: string;
1788
+ type: string;
1789
1789
  userName?: string | null | undefined;
1790
1790
  }, {
1791
- type: string;
1792
1791
  id: string;
1792
+ type: string;
1793
1793
  userName?: string | null | undefined;
1794
1794
  }>, "many">;
1795
1795
  }, "strip", z.ZodTypeAny, {
1796
- type: "DECLARATIVE" | "IMPERATIVE";
1797
1796
  id: string;
1798
- task: string;
1797
+ type: "DECLARATIVE" | "IMPERATIVE";
1799
1798
  timezone: string;
1799
+ task: string;
1800
1800
  generator: {
1801
1801
  type: "CRON";
1802
1802
  description: string;
@@ -1804,18 +1804,18 @@ export declare const ListSchedulesResult: z.ZodObject<{
1804
1804
  };
1805
1805
  active: boolean;
1806
1806
  environments: {
1807
- type: string;
1808
1807
  id: string;
1808
+ type: string;
1809
1809
  userName?: string | null | undefined;
1810
1810
  }[];
1811
1811
  externalId?: string | null | undefined;
1812
1812
  deduplicationKey?: string | null | undefined;
1813
1813
  nextRun?: Date | null | undefined;
1814
1814
  }, {
1815
- type: "DECLARATIVE" | "IMPERATIVE";
1816
1815
  id: string;
1817
- task: string;
1816
+ type: "DECLARATIVE" | "IMPERATIVE";
1818
1817
  timezone: string;
1818
+ task: string;
1819
1819
  generator: {
1820
1820
  type: "CRON";
1821
1821
  description: string;
@@ -1823,8 +1823,8 @@ export declare const ListSchedulesResult: z.ZodObject<{
1823
1823
  };
1824
1824
  active: boolean;
1825
1825
  environments: {
1826
- type: string;
1827
1826
  id: string;
1827
+ type: string;
1828
1828
  userName?: string | null | undefined;
1829
1829
  }[];
1830
1830
  externalId?: string | null | undefined;
@@ -1846,10 +1846,10 @@ export declare const ListSchedulesResult: z.ZodObject<{
1846
1846
  }>;
1847
1847
  }, "strip", z.ZodTypeAny, {
1848
1848
  data: {
1849
- type: "DECLARATIVE" | "IMPERATIVE";
1850
1849
  id: string;
1851
- task: string;
1850
+ type: "DECLARATIVE" | "IMPERATIVE";
1852
1851
  timezone: string;
1852
+ task: string;
1853
1853
  generator: {
1854
1854
  type: "CRON";
1855
1855
  description: string;
@@ -1857,8 +1857,8 @@ export declare const ListSchedulesResult: z.ZodObject<{
1857
1857
  };
1858
1858
  active: boolean;
1859
1859
  environments: {
1860
- type: string;
1861
1860
  id: string;
1861
+ type: string;
1862
1862
  userName?: string | null | undefined;
1863
1863
  }[];
1864
1864
  externalId?: string | null | undefined;
@@ -1872,10 +1872,10 @@ export declare const ListSchedulesResult: z.ZodObject<{
1872
1872
  };
1873
1873
  }, {
1874
1874
  data: {
1875
- type: "DECLARATIVE" | "IMPERATIVE";
1876
1875
  id: string;
1877
- task: string;
1876
+ type: "DECLARATIVE" | "IMPERATIVE";
1878
1877
  timezone: string;
1878
+ task: string;
1879
1879
  generator: {
1880
1880
  type: "CRON";
1881
1881
  description: string;
@@ -1883,8 +1883,8 @@ export declare const ListSchedulesResult: z.ZodObject<{
1883
1883
  };
1884
1884
  active: boolean;
1885
1885
  environments: {
1886
- type: string;
1887
1886
  id: string;
1887
+ type: string;
1888
1888
  userName?: string | null | undefined;
1889
1889
  }[];
1890
1890
  externalId?: string | null | undefined;
@@ -1926,12 +1926,12 @@ export declare const RunEnvironmentDetails: z.ZodObject<{
1926
1926
  name: z.ZodString;
1927
1927
  user: z.ZodOptional<z.ZodString>;
1928
1928
  }, "strip", z.ZodTypeAny, {
1929
- name: string;
1930
1929
  id: string;
1930
+ name: string;
1931
1931
  user?: string | undefined;
1932
1932
  }, {
1933
- name: string;
1934
1933
  id: string;
1934
+ name: string;
1935
1935
  user?: string | undefined;
1936
1936
  }>;
1937
1937
  export type RunEnvironmentDetails = z.infer<typeof RunEnvironmentDetails>;
@@ -2003,8 +2003,8 @@ export declare const RelatedRunDetails: z.ZodObject<{
2003
2003
  durationMs: z.ZodNumber;
2004
2004
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2005
2005
  }, "strip", z.ZodTypeAny, {
2006
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2007
2006
  id: string;
2007
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2008
2008
  tags: string[];
2009
2009
  isTest: boolean;
2010
2010
  createdAt: Date;
@@ -2021,18 +2021,18 @@ export declare const RelatedRunDetails: z.ZodObject<{
2021
2021
  isFailed: boolean;
2022
2022
  isCancelled: boolean;
2023
2023
  updatedAt: Date;
2024
- metadata?: Record<string, any> | undefined;
2024
+ version?: string | undefined;
2025
2025
  startedAt?: Date | undefined;
2026
2026
  idempotencyKey?: string | undefined;
2027
- version?: string | undefined;
2027
+ metadata?: Record<string, any> | undefined;
2028
2028
  ttl?: string | undefined;
2029
2029
  batchId?: string | undefined;
2030
2030
  finishedAt?: Date | undefined;
2031
2031
  delayedUntil?: Date | undefined;
2032
2032
  expiredAt?: Date | undefined;
2033
2033
  }, {
2034
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2035
2034
  id: string;
2035
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2036
2036
  tags: string[];
2037
2037
  isTest: boolean;
2038
2038
  createdAt: Date;
@@ -2049,10 +2049,10 @@ export declare const RelatedRunDetails: z.ZodObject<{
2049
2049
  isFailed: boolean;
2050
2050
  isCancelled: boolean;
2051
2051
  updatedAt: Date;
2052
- metadata?: Record<string, any> | undefined;
2052
+ version?: string | undefined;
2053
2053
  startedAt?: Date | undefined;
2054
2054
  idempotencyKey?: string | undefined;
2055
- version?: string | undefined;
2055
+ metadata?: Record<string, any> | undefined;
2056
2056
  ttl?: string | undefined;
2057
2057
  batchId?: string | undefined;
2058
2058
  finishedAt?: Date | undefined;
@@ -2070,12 +2070,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2070
2070
  stackTrace: z.ZodOptional<z.ZodString>;
2071
2071
  }, "strip", z.ZodTypeAny, {
2072
2072
  message: string;
2073
- name?: string | undefined;
2074
2073
  stackTrace?: string | undefined;
2074
+ name?: string | undefined;
2075
2075
  }, {
2076
2076
  message: string;
2077
- name?: string | undefined;
2078
2077
  stackTrace?: string | undefined;
2078
+ name?: string | undefined;
2079
2079
  }>>;
2080
2080
  schedule: z.ZodOptional<z.ZodObject<{
2081
2081
  id: z.ZodString;
@@ -2143,8 +2143,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2143
2143
  durationMs: z.ZodNumber;
2144
2144
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2145
2145
  }, "strip", z.ZodTypeAny, {
2146
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2147
2146
  id: string;
2147
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2148
2148
  tags: string[];
2149
2149
  isTest: boolean;
2150
2150
  createdAt: Date;
@@ -2161,18 +2161,18 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2161
2161
  isFailed: boolean;
2162
2162
  isCancelled: boolean;
2163
2163
  updatedAt: Date;
2164
- metadata?: Record<string, any> | undefined;
2164
+ version?: string | undefined;
2165
2165
  startedAt?: Date | undefined;
2166
2166
  idempotencyKey?: string | undefined;
2167
- version?: string | undefined;
2167
+ metadata?: Record<string, any> | undefined;
2168
2168
  ttl?: string | undefined;
2169
2169
  batchId?: string | undefined;
2170
2170
  finishedAt?: Date | undefined;
2171
2171
  delayedUntil?: Date | undefined;
2172
2172
  expiredAt?: Date | undefined;
2173
2173
  }, {
2174
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2175
2174
  id: string;
2175
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2176
2176
  tags: string[];
2177
2177
  isTest: boolean;
2178
2178
  createdAt: Date;
@@ -2189,10 +2189,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2189
2189
  isFailed: boolean;
2190
2190
  isCancelled: boolean;
2191
2191
  updatedAt: Date;
2192
- metadata?: Record<string, any> | undefined;
2192
+ version?: string | undefined;
2193
2193
  startedAt?: Date | undefined;
2194
2194
  idempotencyKey?: string | undefined;
2195
- version?: string | undefined;
2195
+ metadata?: Record<string, any> | undefined;
2196
2196
  ttl?: string | undefined;
2197
2197
  batchId?: string | undefined;
2198
2198
  finishedAt?: Date | undefined;
@@ -2228,8 +2228,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2228
2228
  durationMs: z.ZodNumber;
2229
2229
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2230
2230
  }, "strip", z.ZodTypeAny, {
2231
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2232
2231
  id: string;
2232
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2233
2233
  tags: string[];
2234
2234
  isTest: boolean;
2235
2235
  createdAt: Date;
@@ -2246,18 +2246,18 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2246
2246
  isFailed: boolean;
2247
2247
  isCancelled: boolean;
2248
2248
  updatedAt: Date;
2249
- metadata?: Record<string, any> | undefined;
2249
+ version?: string | undefined;
2250
2250
  startedAt?: Date | undefined;
2251
2251
  idempotencyKey?: string | undefined;
2252
- version?: string | undefined;
2252
+ metadata?: Record<string, any> | undefined;
2253
2253
  ttl?: string | undefined;
2254
2254
  batchId?: string | undefined;
2255
2255
  finishedAt?: Date | undefined;
2256
2256
  delayedUntil?: Date | undefined;
2257
2257
  expiredAt?: Date | undefined;
2258
2258
  }, {
2259
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2260
2259
  id: string;
2260
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2261
2261
  tags: string[];
2262
2262
  isTest: boolean;
2263
2263
  createdAt: Date;
@@ -2274,10 +2274,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2274
2274
  isFailed: boolean;
2275
2275
  isCancelled: boolean;
2276
2276
  updatedAt: Date;
2277
- metadata?: Record<string, any> | undefined;
2277
+ version?: string | undefined;
2278
2278
  startedAt?: Date | undefined;
2279
2279
  idempotencyKey?: string | undefined;
2280
- version?: string | undefined;
2280
+ metadata?: Record<string, any> | undefined;
2281
2281
  ttl?: string | undefined;
2282
2282
  batchId?: string | undefined;
2283
2283
  finishedAt?: Date | undefined;
@@ -2313,8 +2313,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2313
2313
  durationMs: z.ZodNumber;
2314
2314
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2315
2315
  }, "strip", z.ZodTypeAny, {
2316
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2317
2316
  id: string;
2317
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2318
2318
  tags: string[];
2319
2319
  isTest: boolean;
2320
2320
  createdAt: Date;
@@ -2331,18 +2331,18 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2331
2331
  isFailed: boolean;
2332
2332
  isCancelled: boolean;
2333
2333
  updatedAt: Date;
2334
- metadata?: Record<string, any> | undefined;
2334
+ version?: string | undefined;
2335
2335
  startedAt?: Date | undefined;
2336
2336
  idempotencyKey?: string | undefined;
2337
- version?: string | undefined;
2337
+ metadata?: Record<string, any> | undefined;
2338
2338
  ttl?: string | undefined;
2339
2339
  batchId?: string | undefined;
2340
2340
  finishedAt?: Date | undefined;
2341
2341
  delayedUntil?: Date | undefined;
2342
2342
  expiredAt?: Date | undefined;
2343
2343
  }, {
2344
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2345
2344
  id: string;
2345
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2346
2346
  tags: string[];
2347
2347
  isTest: boolean;
2348
2348
  createdAt: Date;
@@ -2359,10 +2359,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2359
2359
  isFailed: boolean;
2360
2360
  isCancelled: boolean;
2361
2361
  updatedAt: Date;
2362
- metadata?: Record<string, any> | undefined;
2362
+ version?: string | undefined;
2363
2363
  startedAt?: Date | undefined;
2364
2364
  idempotencyKey?: string | undefined;
2365
- version?: string | undefined;
2365
+ metadata?: Record<string, any> | undefined;
2366
2366
  ttl?: string | undefined;
2367
2367
  batchId?: string | undefined;
2368
2368
  finishedAt?: Date | undefined;
@@ -2371,8 +2371,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2371
2371
  }>, "many">>;
2372
2372
  }, "strip", z.ZodTypeAny, {
2373
2373
  root?: {
2374
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2375
2374
  id: string;
2375
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2376
2376
  tags: string[];
2377
2377
  isTest: boolean;
2378
2378
  createdAt: Date;
@@ -2389,10 +2389,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2389
2389
  isFailed: boolean;
2390
2390
  isCancelled: boolean;
2391
2391
  updatedAt: Date;
2392
- metadata?: Record<string, any> | undefined;
2392
+ version?: string | undefined;
2393
2393
  startedAt?: Date | undefined;
2394
2394
  idempotencyKey?: string | undefined;
2395
- version?: string | undefined;
2395
+ metadata?: Record<string, any> | undefined;
2396
2396
  ttl?: string | undefined;
2397
2397
  batchId?: string | undefined;
2398
2398
  finishedAt?: Date | undefined;
@@ -2400,8 +2400,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2400
2400
  expiredAt?: Date | undefined;
2401
2401
  } | undefined;
2402
2402
  parent?: {
2403
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2404
2403
  id: string;
2404
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2405
2405
  tags: string[];
2406
2406
  isTest: boolean;
2407
2407
  createdAt: Date;
@@ -2418,10 +2418,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2418
2418
  isFailed: boolean;
2419
2419
  isCancelled: boolean;
2420
2420
  updatedAt: Date;
2421
- metadata?: Record<string, any> | undefined;
2421
+ version?: string | undefined;
2422
2422
  startedAt?: Date | undefined;
2423
2423
  idempotencyKey?: string | undefined;
2424
- version?: string | undefined;
2424
+ metadata?: Record<string, any> | undefined;
2425
2425
  ttl?: string | undefined;
2426
2426
  batchId?: string | undefined;
2427
2427
  finishedAt?: Date | undefined;
@@ -2429,8 +2429,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2429
2429
  expiredAt?: Date | undefined;
2430
2430
  } | undefined;
2431
2431
  children?: {
2432
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2433
2432
  id: string;
2433
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2434
2434
  tags: string[];
2435
2435
  isTest: boolean;
2436
2436
  createdAt: Date;
@@ -2447,10 +2447,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2447
2447
  isFailed: boolean;
2448
2448
  isCancelled: boolean;
2449
2449
  updatedAt: Date;
2450
- metadata?: Record<string, any> | undefined;
2450
+ version?: string | undefined;
2451
2451
  startedAt?: Date | undefined;
2452
2452
  idempotencyKey?: string | undefined;
2453
- version?: string | undefined;
2453
+ metadata?: Record<string, any> | undefined;
2454
2454
  ttl?: string | undefined;
2455
2455
  batchId?: string | undefined;
2456
2456
  finishedAt?: Date | undefined;
@@ -2459,8 +2459,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2459
2459
  }[] | undefined;
2460
2460
  }, {
2461
2461
  root?: {
2462
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2463
2462
  id: string;
2463
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2464
2464
  tags: string[];
2465
2465
  isTest: boolean;
2466
2466
  createdAt: Date;
@@ -2477,10 +2477,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2477
2477
  isFailed: boolean;
2478
2478
  isCancelled: boolean;
2479
2479
  updatedAt: Date;
2480
- metadata?: Record<string, any> | undefined;
2480
+ version?: string | undefined;
2481
2481
  startedAt?: Date | undefined;
2482
2482
  idempotencyKey?: string | undefined;
2483
- version?: string | undefined;
2483
+ metadata?: Record<string, any> | undefined;
2484
2484
  ttl?: string | undefined;
2485
2485
  batchId?: string | undefined;
2486
2486
  finishedAt?: Date | undefined;
@@ -2488,8 +2488,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2488
2488
  expiredAt?: Date | undefined;
2489
2489
  } | undefined;
2490
2490
  parent?: {
2491
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2492
2491
  id: string;
2492
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2493
2493
  tags: string[];
2494
2494
  isTest: boolean;
2495
2495
  createdAt: Date;
@@ -2506,10 +2506,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2506
2506
  isFailed: boolean;
2507
2507
  isCancelled: boolean;
2508
2508
  updatedAt: Date;
2509
- metadata?: Record<string, any> | undefined;
2509
+ version?: string | undefined;
2510
2510
  startedAt?: Date | undefined;
2511
2511
  idempotencyKey?: string | undefined;
2512
- version?: string | undefined;
2512
+ metadata?: Record<string, any> | undefined;
2513
2513
  ttl?: string | undefined;
2514
2514
  batchId?: string | undefined;
2515
2515
  finishedAt?: Date | undefined;
@@ -2517,8 +2517,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2517
2517
  expiredAt?: Date | undefined;
2518
2518
  } | undefined;
2519
2519
  children?: {
2520
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2521
2520
  id: string;
2521
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2522
2522
  tags: string[];
2523
2523
  isTest: boolean;
2524
2524
  createdAt: Date;
@@ -2535,10 +2535,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2535
2535
  isFailed: boolean;
2536
2536
  isCancelled: boolean;
2537
2537
  updatedAt: Date;
2538
- metadata?: Record<string, any> | undefined;
2538
+ version?: string | undefined;
2539
2539
  startedAt?: Date | undefined;
2540
2540
  idempotencyKey?: string | undefined;
2541
- version?: string | undefined;
2541
+ metadata?: Record<string, any> | undefined;
2542
2542
  ttl?: string | undefined;
2543
2543
  batchId?: string | undefined;
2544
2544
  finishedAt?: Date | undefined;
@@ -2559,35 +2559,35 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2559
2559
  stackTrace: z.ZodOptional<z.ZodString>;
2560
2560
  }, "strip", z.ZodTypeAny, {
2561
2561
  message: string;
2562
- name?: string | undefined;
2563
2562
  stackTrace?: string | undefined;
2563
+ name?: string | undefined;
2564
2564
  }, {
2565
2565
  message: string;
2566
- name?: string | undefined;
2567
2566
  stackTrace?: string | undefined;
2567
+ name?: string | undefined;
2568
2568
  }>>;
2569
2569
  }, "strip", z.ZodTypeAny, {
2570
- status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2571
2570
  id: string;
2571
+ status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2572
2572
  createdAt: Date;
2573
2573
  updatedAt: Date;
2574
2574
  startedAt?: Date | undefined;
2575
2575
  error?: {
2576
2576
  message: string;
2577
- name?: string | undefined;
2578
2577
  stackTrace?: string | undefined;
2578
+ name?: string | undefined;
2579
2579
  } | undefined;
2580
2580
  completedAt?: Date | undefined;
2581
2581
  }, {
2582
- status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2583
2582
  id: string;
2583
+ status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2584
2584
  createdAt: Date;
2585
2585
  updatedAt: Date;
2586
2586
  startedAt?: Date | undefined;
2587
2587
  error?: {
2588
2588
  message: string;
2589
- name?: string | undefined;
2590
2589
  stackTrace?: string | undefined;
2590
+ name?: string | undefined;
2591
2591
  } | undefined;
2592
2592
  completedAt?: Date | undefined;
2593
2593
  }>>, "many">;
@@ -2620,8 +2620,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2620
2620
  durationMs: z.ZodNumber;
2621
2621
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2622
2622
  }, "strip", z.ZodTypeAny, {
2623
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2624
2623
  id: string;
2624
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2625
2625
  tags: string[];
2626
2626
  isTest: boolean;
2627
2627
  createdAt: Date;
@@ -2631,8 +2631,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2631
2631
  taskIdentifier: string;
2632
2632
  relatedRuns: {
2633
2633
  root?: {
2634
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2635
2634
  id: string;
2635
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2636
2636
  tags: string[];
2637
2637
  isTest: boolean;
2638
2638
  createdAt: Date;
@@ -2649,10 +2649,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2649
2649
  isFailed: boolean;
2650
2650
  isCancelled: boolean;
2651
2651
  updatedAt: Date;
2652
- metadata?: Record<string, any> | undefined;
2652
+ version?: string | undefined;
2653
2653
  startedAt?: Date | undefined;
2654
2654
  idempotencyKey?: string | undefined;
2655
- version?: string | undefined;
2655
+ metadata?: Record<string, any> | undefined;
2656
2656
  ttl?: string | undefined;
2657
2657
  batchId?: string | undefined;
2658
2658
  finishedAt?: Date | undefined;
@@ -2660,8 +2660,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2660
2660
  expiredAt?: Date | undefined;
2661
2661
  } | undefined;
2662
2662
  parent?: {
2663
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2664
2663
  id: string;
2664
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2665
2665
  tags: string[];
2666
2666
  isTest: boolean;
2667
2667
  createdAt: Date;
@@ -2678,10 +2678,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2678
2678
  isFailed: boolean;
2679
2679
  isCancelled: boolean;
2680
2680
  updatedAt: Date;
2681
- metadata?: Record<string, any> | undefined;
2681
+ version?: string | undefined;
2682
2682
  startedAt?: Date | undefined;
2683
2683
  idempotencyKey?: string | undefined;
2684
- version?: string | undefined;
2684
+ metadata?: Record<string, any> | undefined;
2685
2685
  ttl?: string | undefined;
2686
2686
  batchId?: string | undefined;
2687
2687
  finishedAt?: Date | undefined;
@@ -2689,8 +2689,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2689
2689
  expiredAt?: Date | undefined;
2690
2690
  } | undefined;
2691
2691
  children?: {
2692
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2693
2692
  id: string;
2693
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2694
2694
  tags: string[];
2695
2695
  isTest: boolean;
2696
2696
  createdAt: Date;
@@ -2707,10 +2707,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2707
2707
  isFailed: boolean;
2708
2708
  isCancelled: boolean;
2709
2709
  updatedAt: Date;
2710
- metadata?: Record<string, any> | undefined;
2710
+ version?: string | undefined;
2711
2711
  startedAt?: Date | undefined;
2712
2712
  idempotencyKey?: string | undefined;
2713
- version?: string | undefined;
2713
+ metadata?: Record<string, any> | undefined;
2714
2714
  ttl?: string | undefined;
2715
2715
  batchId?: string | undefined;
2716
2716
  finishedAt?: Date | undefined;
@@ -2728,30 +2728,19 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2728
2728
  isCancelled: boolean;
2729
2729
  updatedAt: Date;
2730
2730
  attempts: ({
2731
- status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2732
2731
  id: string;
2732
+ status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2733
2733
  createdAt: Date;
2734
2734
  updatedAt: Date;
2735
2735
  startedAt?: Date | undefined;
2736
2736
  error?: {
2737
2737
  message: string;
2738
- name?: string | undefined;
2739
2738
  stackTrace?: string | undefined;
2739
+ name?: string | undefined;
2740
2740
  } | undefined;
2741
2741
  completedAt?: Date | undefined;
2742
2742
  } | undefined)[];
2743
2743
  attemptCount: number;
2744
- metadata?: Record<string, any> | undefined;
2745
- payload?: any;
2746
- startedAt?: Date | undefined;
2747
- idempotencyKey?: string | undefined;
2748
- version?: string | undefined;
2749
- error?: {
2750
- message: string;
2751
- name?: string | undefined;
2752
- stackTrace?: string | undefined;
2753
- } | undefined;
2754
- output?: any;
2755
2744
  schedule?: {
2756
2745
  id: string;
2757
2746
  generator: {
@@ -2762,6 +2751,17 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2762
2751
  externalId?: string | undefined;
2763
2752
  deduplicationKey?: string | undefined;
2764
2753
  } | 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
2765
  ttl?: string | undefined;
2766
2766
  payloadPresignedUrl?: string | undefined;
2767
2767
  outputPresignedUrl?: string | undefined;
@@ -2770,8 +2770,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2770
2770
  delayedUntil?: Date | undefined;
2771
2771
  expiredAt?: Date | undefined;
2772
2772
  }, {
2773
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2774
2773
  id: string;
2774
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2775
2775
  tags: string[];
2776
2776
  isTest: boolean;
2777
2777
  createdAt: Date;
@@ -2781,8 +2781,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2781
2781
  taskIdentifier: string;
2782
2782
  relatedRuns: {
2783
2783
  root?: {
2784
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2785
2784
  id: string;
2785
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2786
2786
  tags: string[];
2787
2787
  isTest: boolean;
2788
2788
  createdAt: Date;
@@ -2799,10 +2799,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2799
2799
  isFailed: boolean;
2800
2800
  isCancelled: boolean;
2801
2801
  updatedAt: Date;
2802
- metadata?: Record<string, any> | undefined;
2802
+ version?: string | undefined;
2803
2803
  startedAt?: Date | undefined;
2804
2804
  idempotencyKey?: string | undefined;
2805
- version?: string | undefined;
2805
+ metadata?: Record<string, any> | undefined;
2806
2806
  ttl?: string | undefined;
2807
2807
  batchId?: string | undefined;
2808
2808
  finishedAt?: Date | undefined;
@@ -2810,8 +2810,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2810
2810
  expiredAt?: Date | undefined;
2811
2811
  } | undefined;
2812
2812
  parent?: {
2813
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2814
2813
  id: string;
2814
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2815
2815
  tags: string[];
2816
2816
  isTest: boolean;
2817
2817
  createdAt: Date;
@@ -2828,10 +2828,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2828
2828
  isFailed: boolean;
2829
2829
  isCancelled: boolean;
2830
2830
  updatedAt: Date;
2831
- metadata?: Record<string, any> | undefined;
2831
+ version?: string | undefined;
2832
2832
  startedAt?: Date | undefined;
2833
2833
  idempotencyKey?: string | undefined;
2834
- version?: string | undefined;
2834
+ metadata?: Record<string, any> | undefined;
2835
2835
  ttl?: string | undefined;
2836
2836
  batchId?: string | undefined;
2837
2837
  finishedAt?: Date | undefined;
@@ -2839,8 +2839,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2839
2839
  expiredAt?: Date | undefined;
2840
2840
  } | undefined;
2841
2841
  children?: {
2842
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2843
2842
  id: string;
2843
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2844
2844
  tags: string[];
2845
2845
  isTest: boolean;
2846
2846
  createdAt: Date;
@@ -2857,10 +2857,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2857
2857
  isFailed: boolean;
2858
2858
  isCancelled: boolean;
2859
2859
  updatedAt: Date;
2860
- metadata?: Record<string, any> | undefined;
2860
+ version?: string | undefined;
2861
2861
  startedAt?: Date | undefined;
2862
2862
  idempotencyKey?: string | undefined;
2863
- version?: string | undefined;
2863
+ metadata?: Record<string, any> | undefined;
2864
2864
  ttl?: string | undefined;
2865
2865
  batchId?: string | undefined;
2866
2866
  finishedAt?: Date | undefined;
@@ -2878,29 +2878,18 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2878
2878
  isCancelled: boolean;
2879
2879
  updatedAt: Date;
2880
2880
  attempts: ({
2881
- status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2882
2881
  id: string;
2882
+ status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2883
2883
  createdAt: Date;
2884
2884
  updatedAt: Date;
2885
2885
  startedAt?: Date | undefined;
2886
2886
  error?: {
2887
2887
  message: string;
2888
- name?: string | undefined;
2889
2888
  stackTrace?: string | undefined;
2889
+ name?: string | undefined;
2890
2890
  } | undefined;
2891
2891
  completedAt?: Date | undefined;
2892
2892
  } | undefined)[];
2893
- metadata?: Record<string, any> | undefined;
2894
- payload?: any;
2895
- startedAt?: Date | undefined;
2896
- idempotencyKey?: string | undefined;
2897
- version?: string | undefined;
2898
- error?: {
2899
- message: string;
2900
- name?: string | undefined;
2901
- stackTrace?: string | undefined;
2902
- } | undefined;
2903
- output?: any;
2904
2893
  schedule?: {
2905
2894
  id: string;
2906
2895
  generator: {
@@ -2911,6 +2900,17 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2911
2900
  externalId?: string | undefined;
2912
2901
  deduplicationKey?: string | undefined;
2913
2902
  } | 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
2914
  ttl?: string | undefined;
2915
2915
  payloadPresignedUrl?: string | undefined;
2916
2916
  outputPresignedUrl?: string | undefined;
@@ -2927,12 +2927,12 @@ export declare const ListRunResponseItem: z.ZodObject<{
2927
2927
  name: z.ZodString;
2928
2928
  user: z.ZodOptional<z.ZodString>;
2929
2929
  }, "strip", z.ZodTypeAny, {
2930
- name: string;
2931
2930
  id: string;
2931
+ name: string;
2932
2932
  user?: string | undefined;
2933
2933
  }, {
2934
- name: string;
2935
2934
  id: string;
2935
+ name: string;
2936
2936
  user?: string | undefined;
2937
2937
  }>;
2938
2938
  id: z.ZodString;
@@ -2960,8 +2960,8 @@ export declare const ListRunResponseItem: z.ZodObject<{
2960
2960
  durationMs: z.ZodNumber;
2961
2961
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2962
2962
  }, "strip", z.ZodTypeAny, {
2963
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2964
2963
  id: string;
2964
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2965
2965
  tags: string[];
2966
2966
  isTest: boolean;
2967
2967
  createdAt: Date;
@@ -2977,21 +2977,21 @@ export declare const ListRunResponseItem: z.ZodObject<{
2977
2977
  isCancelled: boolean;
2978
2978
  updatedAt: Date;
2979
2979
  env: {
2980
- name: string;
2981
2980
  id: string;
2981
+ name: string;
2982
2982
  user?: string | undefined;
2983
2983
  };
2984
- metadata?: Record<string, any> | undefined;
2984
+ version?: string | undefined;
2985
2985
  startedAt?: Date | undefined;
2986
2986
  idempotencyKey?: string | undefined;
2987
- version?: string | undefined;
2987
+ metadata?: Record<string, any> | undefined;
2988
2988
  ttl?: string | undefined;
2989
2989
  finishedAt?: Date | undefined;
2990
2990
  delayedUntil?: Date | undefined;
2991
2991
  expiredAt?: Date | undefined;
2992
2992
  }, {
2993
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2994
2993
  id: string;
2994
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2995
2995
  tags: string[];
2996
2996
  isTest: boolean;
2997
2997
  createdAt: Date;
@@ -3007,14 +3007,14 @@ export declare const ListRunResponseItem: z.ZodObject<{
3007
3007
  isCancelled: boolean;
3008
3008
  updatedAt: Date;
3009
3009
  env: {
3010
- name: string;
3011
3010
  id: string;
3011
+ name: string;
3012
3012
  user?: string | undefined;
3013
3013
  };
3014
- metadata?: Record<string, any> | undefined;
3014
+ version?: string | undefined;
3015
3015
  startedAt?: Date | undefined;
3016
3016
  idempotencyKey?: string | undefined;
3017
- version?: string | undefined;
3017
+ metadata?: Record<string, any> | undefined;
3018
3018
  ttl?: string | undefined;
3019
3019
  finishedAt?: Date | undefined;
3020
3020
  delayedUntil?: Date | undefined;
@@ -3028,12 +3028,12 @@ export declare const ListRunResponse: z.ZodObject<{
3028
3028
  name: z.ZodString;
3029
3029
  user: z.ZodOptional<z.ZodString>;
3030
3030
  }, "strip", z.ZodTypeAny, {
3031
- name: string;
3032
3031
  id: string;
3032
+ name: string;
3033
3033
  user?: string | undefined;
3034
3034
  }, {
3035
- name: string;
3036
3035
  id: string;
3036
+ name: string;
3037
3037
  user?: string | undefined;
3038
3038
  }>;
3039
3039
  id: z.ZodString;
@@ -3061,8 +3061,8 @@ export declare const ListRunResponse: z.ZodObject<{
3061
3061
  durationMs: z.ZodNumber;
3062
3062
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3063
3063
  }, "strip", z.ZodTypeAny, {
3064
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3065
3064
  id: string;
3065
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3066
3066
  tags: string[];
3067
3067
  isTest: boolean;
3068
3068
  createdAt: Date;
@@ -3078,21 +3078,21 @@ export declare const ListRunResponse: z.ZodObject<{
3078
3078
  isCancelled: boolean;
3079
3079
  updatedAt: Date;
3080
3080
  env: {
3081
- name: string;
3082
3081
  id: string;
3082
+ name: string;
3083
3083
  user?: string | undefined;
3084
3084
  };
3085
- metadata?: Record<string, any> | undefined;
3085
+ version?: string | undefined;
3086
3086
  startedAt?: Date | undefined;
3087
3087
  idempotencyKey?: string | undefined;
3088
- version?: string | undefined;
3088
+ metadata?: Record<string, any> | undefined;
3089
3089
  ttl?: string | undefined;
3090
3090
  finishedAt?: Date | undefined;
3091
3091
  delayedUntil?: Date | undefined;
3092
3092
  expiredAt?: Date | undefined;
3093
3093
  }, {
3094
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3095
3094
  id: string;
3095
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3096
3096
  tags: string[];
3097
3097
  isTest: boolean;
3098
3098
  createdAt: Date;
@@ -3108,14 +3108,14 @@ export declare const ListRunResponse: z.ZodObject<{
3108
3108
  isCancelled: boolean;
3109
3109
  updatedAt: Date;
3110
3110
  env: {
3111
- name: string;
3112
3111
  id: string;
3112
+ name: string;
3113
3113
  user?: string | undefined;
3114
3114
  };
3115
- metadata?: Record<string, any> | undefined;
3115
+ version?: string | undefined;
3116
3116
  startedAt?: Date | undefined;
3117
3117
  idempotencyKey?: string | undefined;
3118
- version?: string | undefined;
3118
+ metadata?: Record<string, any> | undefined;
3119
3119
  ttl?: string | undefined;
3120
3120
  finishedAt?: Date | undefined;
3121
3121
  delayedUntil?: Date | undefined;
@@ -3133,8 +3133,8 @@ export declare const ListRunResponse: z.ZodObject<{
3133
3133
  }>;
3134
3134
  }, "strip", z.ZodTypeAny, {
3135
3135
  data: {
3136
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3137
3136
  id: string;
3137
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3138
3138
  tags: string[];
3139
3139
  isTest: boolean;
3140
3140
  createdAt: Date;
@@ -3150,14 +3150,14 @@ export declare const ListRunResponse: z.ZodObject<{
3150
3150
  isCancelled: boolean;
3151
3151
  updatedAt: Date;
3152
3152
  env: {
3153
- name: string;
3154
3153
  id: string;
3154
+ name: string;
3155
3155
  user?: string | undefined;
3156
3156
  };
3157
- metadata?: Record<string, any> | undefined;
3157
+ version?: string | undefined;
3158
3158
  startedAt?: Date | undefined;
3159
3159
  idempotencyKey?: string | undefined;
3160
- version?: string | undefined;
3160
+ metadata?: Record<string, any> | undefined;
3161
3161
  ttl?: string | undefined;
3162
3162
  finishedAt?: Date | undefined;
3163
3163
  delayedUntil?: Date | undefined;
@@ -3169,8 +3169,8 @@ export declare const ListRunResponse: z.ZodObject<{
3169
3169
  };
3170
3170
  }, {
3171
3171
  data: {
3172
- status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3173
3172
  id: string;
3173
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3174
3174
  tags: string[];
3175
3175
  isTest: boolean;
3176
3176
  createdAt: Date;
@@ -3186,14 +3186,14 @@ export declare const ListRunResponse: z.ZodObject<{
3186
3186
  isCancelled: boolean;
3187
3187
  updatedAt: Date;
3188
3188
  env: {
3189
- name: string;
3190
3189
  id: string;
3190
+ name: string;
3191
3191
  user?: string | undefined;
3192
3192
  };
3193
- metadata?: Record<string, any> | undefined;
3193
+ version?: string | undefined;
3194
3194
  startedAt?: Date | undefined;
3195
3195
  idempotencyKey?: string | undefined;
3196
- version?: string | undefined;
3196
+ metadata?: Record<string, any> | undefined;
3197
3197
  ttl?: string | undefined;
3198
3198
  finishedAt?: Date | undefined;
3199
3199
  delayedUntil?: Date | undefined;
@@ -3661,13 +3661,13 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3661
3661
  }, "strip", z.ZodTypeAny, {
3662
3662
  type: "BUILT_IN_ERROR";
3663
3663
  message: string;
3664
- name: string;
3665
3664
  stackTrace: string;
3665
+ name: string;
3666
3666
  }, {
3667
3667
  type: "BUILT_IN_ERROR";
3668
3668
  message: string;
3669
- name: string;
3670
3669
  stackTrace: string;
3670
+ name: string;
3671
3671
  }>, z.ZodObject<{
3672
3672
  type: z.ZodLiteral<"CUSTOM_ERROR">;
3673
3673
  raw: z.ZodString;
@@ -3704,41 +3704,41 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3704
3704
  }>]>>>;
3705
3705
  }, "strip", z.ZodTypeAny, {
3706
3706
  number: number;
3707
- status: string;
3708
3707
  id: string;
3708
+ status: string;
3709
3709
  isTest: boolean;
3710
3710
  createdAt: Date;
3711
3711
  costInCents: number;
3712
3712
  baseCostInCents: number;
3713
3713
  taskIdentifier: string;
3714
- friendlyId: string;
3715
3714
  updatedAt: Date;
3715
+ friendlyId: string;
3716
3716
  usageDurationMs: number;
3717
3717
  runTags: string[] | null;
3718
- metadata?: string | null | undefined;
3718
+ startedAt?: string | Date | null | undefined;
3719
3719
  payload?: string | null | undefined;
3720
3720
  payloadType?: string | null | undefined;
3721
- startedAt?: string | Date | null | undefined;
3722
3721
  idempotencyKey?: string | null | undefined;
3722
+ metadata?: string | null | undefined;
3723
+ output?: string | null | undefined;
3724
+ outputType?: string | null | undefined;
3723
3725
  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
+ } | {
3724
3731
  type: "BUILT_IN_ERROR";
3725
3732
  message: string;
3726
- name: string;
3727
3733
  stackTrace: string;
3734
+ name: string;
3728
3735
  } | {
3729
3736
  type: "CUSTOM_ERROR";
3730
3737
  raw: string;
3731
3738
  } | {
3732
3739
  type: "STRING_ERROR";
3733
3740
  raw: string;
3734
- } | {
3735
- type: "INTERNAL_ERROR";
3736
- 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";
3737
- message?: string | undefined;
3738
- stackTrace?: string | undefined;
3739
3741
  } | null | undefined;
3740
- output?: string | null | undefined;
3741
- outputType?: string | null | undefined;
3742
3742
  ttl?: string | null | undefined;
3743
3743
  expiredAt?: string | Date | null | undefined;
3744
3744
  completedAt?: string | Date | null | undefined;
@@ -3747,40 +3747,40 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3747
3747
  queuedAt?: string | Date | null | undefined;
3748
3748
  }, {
3749
3749
  number: number;
3750
- status: string;
3751
3750
  id: string;
3751
+ status: string;
3752
3752
  isTest: boolean;
3753
3753
  createdAt: string;
3754
3754
  costInCents: number;
3755
3755
  baseCostInCents: number;
3756
3756
  taskIdentifier: string;
3757
- friendlyId: string;
3758
3757
  updatedAt: string;
3758
+ friendlyId: string;
3759
3759
  usageDurationMs: number;
3760
- metadata?: string | null | undefined;
3760
+ startedAt?: string | null | undefined;
3761
3761
  payload?: string | null | undefined;
3762
3762
  payloadType?: string | null | undefined;
3763
- startedAt?: string | null | undefined;
3764
3763
  idempotencyKey?: string | null | undefined;
3764
+ metadata?: string | null | undefined;
3765
+ output?: string | null | undefined;
3766
+ outputType?: string | null | undefined;
3765
3767
  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
+ } | {
3766
3773
  type: "BUILT_IN_ERROR";
3767
3774
  message: string;
3768
- name: string;
3769
3775
  stackTrace: string;
3776
+ name: string;
3770
3777
  } | {
3771
3778
  type: "CUSTOM_ERROR";
3772
3779
  raw: string;
3773
3780
  } | {
3774
3781
  type: "STRING_ERROR";
3775
3782
  raw: string;
3776
- } | {
3777
- type: "INTERNAL_ERROR";
3778
- 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";
3779
- message?: string | undefined;
3780
- stackTrace?: string | undefined;
3781
3783
  } | null | undefined;
3782
- output?: string | null | undefined;
3783
- outputType?: string | null | undefined;
3784
3784
  ttl?: string | null | undefined;
3785
3785
  expiredAt?: string | null | undefined;
3786
3786
  completedAt?: string | null | undefined;
@@ -3800,15 +3800,15 @@ export declare const RetrieveBatchResponse: z.ZodObject<{
3800
3800
  updatedAt: z.ZodDate;
3801
3801
  runCount: z.ZodNumber;
3802
3802
  }, "strip", z.ZodTypeAny, {
3803
- status: "COMPLETED" | "PENDING";
3804
3803
  id: string;
3804
+ status: "COMPLETED" | "PENDING";
3805
3805
  createdAt: Date;
3806
3806
  updatedAt: Date;
3807
3807
  runCount: number;
3808
3808
  idempotencyKey?: string | undefined;
3809
3809
  }, {
3810
- status: "COMPLETED" | "PENDING";
3811
3810
  id: string;
3811
+ status: "COMPLETED" | "PENDING";
3812
3812
  createdAt: Date;
3813
3813
  updatedAt: Date;
3814
3814
  runCount: number;
@@ -3823,17 +3823,17 @@ export declare const SubscribeRealtimeStreamChunkRawShape: z.ZodObject<{
3823
3823
  value: z.ZodString;
3824
3824
  createdAt: z.ZodDate;
3825
3825
  }, "strip", z.ZodTypeAny, {
3826
- value: string;
3827
- key: string;
3828
3826
  id: string;
3827
+ value: string;
3829
3828
  createdAt: Date;
3829
+ key: string;
3830
3830
  runId: string;
3831
3831
  sequence: number;
3832
3832
  }, {
3833
- value: string;
3834
- key: string;
3835
3833
  id: string;
3834
+ value: string;
3836
3835
  createdAt: Date;
3836
+ key: string;
3837
3837
  runId: string;
3838
3838
  sequence: number;
3839
3839
  }>;