@trigger.dev/core 0.0.0-prerelease-20241128131418 → 0.0.0-prerelease-20241202120601

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: {
@@ -184,27 +184,22 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
184
184
  cron: z.ZodString;
185
185
  timezone: z.ZodString;
186
186
  }, "strip", z.ZodTypeAny, {
187
- cron: string;
188
187
  timezone: string;
189
- }, {
190
188
  cron: string;
189
+ }, {
191
190
  timezone: string;
191
+ cron: string;
192
192
  }>>;
193
193
  maxDuration: z.ZodOptional<z.ZodNumber>;
194
194
  }, "strip", z.ZodTypeAny, {
195
195
  id: string;
196
196
  filePath: string;
197
197
  exportName: string;
198
- maxDuration?: number | undefined;
199
198
  queue?: {
200
199
  name?: string | undefined;
201
200
  concurrencyLimit?: number | undefined;
202
201
  } | 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;
202
+ maxDuration?: number | undefined;
208
203
  retry?: {
209
204
  maxAttempts?: number | undefined;
210
205
  factor?: number | undefined;
@@ -213,25 +208,25 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
213
208
  randomize?: boolean | undefined;
214
209
  } | undefined;
215
210
  description?: string | undefined;
216
- triggerSource?: string | undefined;
217
211
  schedule?: {
218
- cron: string;
219
212
  timezone: string;
213
+ cron: string;
214
+ } | undefined;
215
+ machine?: {
216
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
217
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
218
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
220
219
  } | undefined;
220
+ triggerSource?: string | undefined;
221
221
  }, {
222
222
  id: string;
223
223
  filePath: string;
224
224
  exportName: string;
225
- maxDuration?: number | undefined;
226
225
  queue?: {
227
226
  name?: string | undefined;
228
227
  concurrencyLimit?: number | undefined;
229
228
  } | 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;
229
+ maxDuration?: number | undefined;
235
230
  retry?: {
236
231
  maxAttempts?: number | undefined;
237
232
  factor?: number | undefined;
@@ -240,11 +235,16 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
240
235
  randomize?: boolean | undefined;
241
236
  } | undefined;
242
237
  description?: string | undefined;
243
- triggerSource?: string | undefined;
244
238
  schedule?: {
245
- cron: string;
246
239
  timezone: string;
240
+ cron: string;
241
+ } | undefined;
242
+ machine?: {
243
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
244
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
245
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
247
246
  } | undefined;
247
+ triggerSource?: string | undefined;
248
248
  }>, "many">;
249
249
  sourceFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
250
250
  filePath: z.ZodString;
@@ -263,22 +263,15 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
263
263
  taskIds: string[];
264
264
  }>, "many">>;
265
265
  }, "strip", z.ZodTypeAny, {
266
- packageVersion: string;
267
- contentHash: string;
268
266
  tasks: {
269
267
  id: string;
270
268
  filePath: string;
271
269
  exportName: string;
272
- maxDuration?: number | undefined;
273
270
  queue?: {
274
271
  name?: string | undefined;
275
272
  concurrencyLimit?: number | undefined;
276
273
  } | undefined;
277
- machine?: {
278
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
279
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
280
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
281
- } | undefined;
274
+ maxDuration?: number | undefined;
282
275
  retry?: {
283
276
  maxAttempts?: number | undefined;
284
277
  factor?: number | undefined;
@@ -287,12 +280,19 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
287
280
  randomize?: boolean | undefined;
288
281
  } | undefined;
289
282
  description?: string | undefined;
290
- triggerSource?: string | undefined;
291
283
  schedule?: {
292
- cron: string;
293
284
  timezone: string;
285
+ cron: string;
294
286
  } | undefined;
287
+ machine?: {
288
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
289
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
290
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
291
+ } | undefined;
292
+ triggerSource?: string | undefined;
295
293
  }[];
294
+ contentHash: string;
295
+ packageVersion: string;
296
296
  cliPackageVersion?: string | undefined;
297
297
  sourceFiles?: {
298
298
  filePath: string;
@@ -301,22 +301,15 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
301
301
  taskIds: string[];
302
302
  }[] | undefined;
303
303
  }, {
304
- packageVersion: string;
305
- contentHash: string;
306
304
  tasks: {
307
305
  id: string;
308
306
  filePath: string;
309
307
  exportName: string;
310
- maxDuration?: number | undefined;
311
308
  queue?: {
312
309
  name?: string | undefined;
313
310
  concurrencyLimit?: number | undefined;
314
311
  } | undefined;
315
- machine?: {
316
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
317
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
318
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
319
- } | undefined;
312
+ maxDuration?: number | undefined;
320
313
  retry?: {
321
314
  maxAttempts?: number | undefined;
322
315
  factor?: number | undefined;
@@ -325,12 +318,19 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
325
318
  randomize?: boolean | undefined;
326
319
  } | undefined;
327
320
  description?: string | undefined;
328
- triggerSource?: string | undefined;
329
321
  schedule?: {
330
- cron: string;
331
322
  timezone: string;
323
+ cron: string;
324
+ } | undefined;
325
+ machine?: {
326
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
327
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
328
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
332
329
  } | undefined;
330
+ triggerSource?: string | undefined;
333
331
  }[];
332
+ contentHash: string;
333
+ packageVersion: string;
334
334
  cliPackageVersion?: string | undefined;
335
335
  sourceFiles?: {
336
336
  filePath: string;
@@ -342,22 +342,15 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
342
342
  supportsLazyAttempts: z.ZodOptional<z.ZodBoolean>;
343
343
  }, "strip", z.ZodTypeAny, {
344
344
  metadata: {
345
- packageVersion: string;
346
- contentHash: string;
347
345
  tasks: {
348
346
  id: string;
349
347
  filePath: string;
350
348
  exportName: string;
351
- maxDuration?: number | undefined;
352
349
  queue?: {
353
350
  name?: string | undefined;
354
351
  concurrencyLimit?: number | undefined;
355
352
  } | undefined;
356
- machine?: {
357
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
358
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
359
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
360
- } | undefined;
353
+ maxDuration?: number | undefined;
361
354
  retry?: {
362
355
  maxAttempts?: number | undefined;
363
356
  factor?: number | undefined;
@@ -366,12 +359,19 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
366
359
  randomize?: boolean | undefined;
367
360
  } | undefined;
368
361
  description?: string | undefined;
369
- triggerSource?: string | undefined;
370
362
  schedule?: {
371
- cron: string;
372
363
  timezone: string;
364
+ cron: string;
373
365
  } | undefined;
366
+ machine?: {
367
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
368
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
369
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
370
+ } | undefined;
371
+ triggerSource?: string | undefined;
374
372
  }[];
373
+ contentHash: string;
374
+ packageVersion: string;
375
375
  cliPackageVersion?: string | undefined;
376
376
  sourceFiles?: {
377
377
  filePath: string;
@@ -384,22 +384,15 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
384
384
  supportsLazyAttempts?: boolean | undefined;
385
385
  }, {
386
386
  metadata: {
387
- packageVersion: string;
388
- contentHash: string;
389
387
  tasks: {
390
388
  id: string;
391
389
  filePath: string;
392
390
  exportName: string;
393
- maxDuration?: number | undefined;
394
391
  queue?: {
395
392
  name?: string | undefined;
396
393
  concurrencyLimit?: number | undefined;
397
394
  } | undefined;
398
- machine?: {
399
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
400
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
401
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
402
- } | undefined;
395
+ maxDuration?: number | undefined;
403
396
  retry?: {
404
397
  maxAttempts?: number | undefined;
405
398
  factor?: number | undefined;
@@ -408,12 +401,19 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
408
401
  randomize?: boolean | undefined;
409
402
  } | undefined;
410
403
  description?: string | undefined;
411
- triggerSource?: string | undefined;
412
404
  schedule?: {
413
- cron: string;
414
405
  timezone: string;
406
+ cron: string;
407
+ } | undefined;
408
+ machine?: {
409
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
410
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
411
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
415
412
  } | undefined;
413
+ triggerSource?: string | undefined;
416
414
  }[];
415
+ contentHash: string;
416
+ packageVersion: string;
417
417
  cliPackageVersion?: string | undefined;
418
418
  sourceFiles?: {
419
419
  filePath: string;
@@ -474,99 +474,99 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
474
474
  metadataType: z.ZodOptional<z.ZodString>;
475
475
  maxDuration: z.ZodOptional<z.ZodNumber>;
476
476
  }, "strip", z.ZodTypeAny, {
477
- payloadType?: string | undefined;
478
- tags?: string | string[] | undefined;
479
- idempotencyKey?: string | undefined;
480
- maxAttempts?: number | undefined;
481
- metadata?: any;
482
- maxDuration?: number | undefined;
477
+ dependentAttempt?: string | undefined;
478
+ parentAttempt?: string | undefined;
479
+ dependentBatch?: string | undefined;
480
+ parentBatch?: string | undefined;
481
+ lockToVersion?: string | undefined;
483
482
  queue?: {
484
483
  name?: string | undefined;
485
484
  concurrencyLimit?: number | undefined;
486
485
  } | undefined;
487
- idempotencyKeyTTL?: string | undefined;
488
486
  concurrencyKey?: string | undefined;
487
+ idempotencyKey?: string | undefined;
488
+ idempotencyKeyTTL?: string | undefined;
489
+ test?: boolean | undefined;
490
+ payloadType?: string | undefined;
489
491
  delay?: string | Date | undefined;
490
492
  ttl?: string | number | undefined;
493
+ tags?: string | string[] | undefined;
494
+ maxAttempts?: number | undefined;
495
+ metadata?: any;
496
+ metadataType?: string | undefined;
497
+ maxDuration?: number | undefined;
498
+ }, {
491
499
  dependentAttempt?: string | undefined;
492
500
  parentAttempt?: string | undefined;
493
501
  dependentBatch?: string | undefined;
494
502
  parentBatch?: string | undefined;
495
503
  lockToVersion?: string | undefined;
496
- test?: boolean | undefined;
497
- metadataType?: string | undefined;
498
- }, {
499
- payloadType?: string | undefined;
500
- tags?: string | string[] | undefined;
501
- idempotencyKey?: string | undefined;
502
- maxAttempts?: number | undefined;
503
- metadata?: any;
504
- maxDuration?: number | undefined;
505
504
  queue?: {
506
505
  name?: string | undefined;
507
506
  concurrencyLimit?: number | undefined;
508
507
  } | undefined;
509
- idempotencyKeyTTL?: string | undefined;
510
508
  concurrencyKey?: string | undefined;
509
+ idempotencyKey?: string | undefined;
510
+ idempotencyKeyTTL?: string | undefined;
511
+ test?: boolean | undefined;
512
+ payloadType?: string | undefined;
511
513
  delay?: string | Date | undefined;
512
514
  ttl?: string | number | undefined;
515
+ tags?: string | string[] | undefined;
516
+ maxAttempts?: number | undefined;
517
+ metadata?: any;
518
+ metadataType?: string | undefined;
519
+ maxDuration?: number | undefined;
520
+ }>>;
521
+ }, "strip", z.ZodTypeAny, {
522
+ options?: {
513
523
  dependentAttempt?: string | undefined;
514
524
  parentAttempt?: string | undefined;
515
525
  dependentBatch?: string | undefined;
516
526
  parentBatch?: string | undefined;
517
527
  lockToVersion?: string | undefined;
518
- test?: boolean | undefined;
519
- metadataType?: string | undefined;
520
- }>>;
521
- }, "strip", z.ZodTypeAny, {
522
- options?: {
523
- payloadType?: string | undefined;
524
- tags?: string | string[] | undefined;
525
- idempotencyKey?: string | undefined;
526
- maxAttempts?: number | undefined;
527
- metadata?: any;
528
- maxDuration?: number | undefined;
529
528
  queue?: {
530
529
  name?: string | undefined;
531
530
  concurrencyLimit?: number | undefined;
532
531
  } | undefined;
533
- idempotencyKeyTTL?: string | undefined;
534
532
  concurrencyKey?: string | undefined;
533
+ idempotencyKey?: string | undefined;
534
+ idempotencyKeyTTL?: string | undefined;
535
+ test?: boolean | undefined;
536
+ payloadType?: string | undefined;
535
537
  delay?: string | Date | undefined;
536
538
  ttl?: string | number | undefined;
537
- dependentAttempt?: string | undefined;
538
- parentAttempt?: string | undefined;
539
- dependentBatch?: string | undefined;
540
- parentBatch?: string | undefined;
541
- lockToVersion?: string | undefined;
542
- test?: boolean | undefined;
539
+ tags?: string | string[] | undefined;
540
+ maxAttempts?: number | undefined;
541
+ metadata?: any;
543
542
  metadataType?: string | undefined;
543
+ maxDuration?: number | undefined;
544
544
  } | undefined;
545
545
  payload?: any;
546
546
  context?: any;
547
547
  }, {
548
548
  options?: {
549
- payloadType?: string | undefined;
550
- tags?: string | string[] | undefined;
551
- idempotencyKey?: string | undefined;
552
- maxAttempts?: number | undefined;
553
- metadata?: any;
554
- maxDuration?: number | undefined;
549
+ dependentAttempt?: string | undefined;
550
+ parentAttempt?: string | undefined;
551
+ dependentBatch?: string | undefined;
552
+ parentBatch?: string | undefined;
553
+ lockToVersion?: string | undefined;
555
554
  queue?: {
556
555
  name?: string | undefined;
557
556
  concurrencyLimit?: number | undefined;
558
557
  } | undefined;
559
- idempotencyKeyTTL?: string | undefined;
560
558
  concurrencyKey?: string | undefined;
559
+ idempotencyKey?: string | undefined;
560
+ idempotencyKeyTTL?: string | undefined;
561
+ test?: boolean | undefined;
562
+ payloadType?: string | undefined;
561
563
  delay?: string | Date | undefined;
562
564
  ttl?: string | number | undefined;
563
- dependentAttempt?: string | undefined;
564
- parentAttempt?: string | undefined;
565
- dependentBatch?: string | undefined;
566
- parentBatch?: string | undefined;
567
- lockToVersion?: string | undefined;
568
- test?: boolean | undefined;
565
+ tags?: string | string[] | undefined;
566
+ maxAttempts?: number | undefined;
567
+ metadata?: any;
569
568
  metadataType?: string | undefined;
569
+ maxDuration?: number | undefined;
570
570
  } | undefined;
571
571
  payload?: any;
572
572
  context?: any;
@@ -613,99 +613,99 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
613
613
  metadataType: z.ZodOptional<z.ZodString>;
614
614
  maxDuration: z.ZodOptional<z.ZodNumber>;
615
615
  }, "strip", z.ZodTypeAny, {
616
- payloadType?: string | undefined;
617
- tags?: string | string[] | undefined;
618
- idempotencyKey?: string | undefined;
619
- maxAttempts?: number | undefined;
620
- metadata?: any;
621
- maxDuration?: number | undefined;
616
+ dependentAttempt?: string | undefined;
617
+ parentAttempt?: string | undefined;
618
+ dependentBatch?: string | undefined;
619
+ parentBatch?: string | undefined;
620
+ lockToVersion?: string | undefined;
622
621
  queue?: {
623
622
  name?: string | undefined;
624
623
  concurrencyLimit?: number | undefined;
625
624
  } | undefined;
626
- idempotencyKeyTTL?: string | undefined;
627
625
  concurrencyKey?: string | undefined;
626
+ idempotencyKey?: string | undefined;
627
+ idempotencyKeyTTL?: string | undefined;
628
+ test?: boolean | undefined;
629
+ payloadType?: string | undefined;
628
630
  delay?: string | Date | undefined;
629
631
  ttl?: string | number | undefined;
632
+ tags?: string | string[] | undefined;
633
+ maxAttempts?: number | undefined;
634
+ metadata?: any;
635
+ metadataType?: string | undefined;
636
+ maxDuration?: number | undefined;
637
+ }, {
630
638
  dependentAttempt?: string | undefined;
631
639
  parentAttempt?: string | undefined;
632
640
  dependentBatch?: string | undefined;
633
641
  parentBatch?: string | undefined;
634
642
  lockToVersion?: string | undefined;
635
- test?: boolean | undefined;
636
- metadataType?: string | undefined;
637
- }, {
638
- payloadType?: string | undefined;
639
- tags?: string | string[] | undefined;
640
- idempotencyKey?: string | undefined;
641
- maxAttempts?: number | undefined;
642
- metadata?: any;
643
- maxDuration?: number | undefined;
644
643
  queue?: {
645
644
  name?: string | undefined;
646
645
  concurrencyLimit?: number | undefined;
647
646
  } | undefined;
648
- idempotencyKeyTTL?: string | undefined;
649
647
  concurrencyKey?: string | undefined;
648
+ idempotencyKey?: string | undefined;
649
+ idempotencyKeyTTL?: string | undefined;
650
+ test?: boolean | undefined;
651
+ payloadType?: string | undefined;
650
652
  delay?: string | Date | undefined;
651
653
  ttl?: string | number | undefined;
654
+ tags?: string | string[] | undefined;
655
+ maxAttempts?: number | undefined;
656
+ metadata?: any;
657
+ metadataType?: string | undefined;
658
+ maxDuration?: number | undefined;
659
+ }>>;
660
+ }, "strip", z.ZodTypeAny, {
661
+ options?: {
652
662
  dependentAttempt?: string | undefined;
653
663
  parentAttempt?: string | undefined;
654
664
  dependentBatch?: string | undefined;
655
665
  parentBatch?: string | undefined;
656
666
  lockToVersion?: string | undefined;
657
- test?: boolean | undefined;
658
- metadataType?: string | undefined;
659
- }>>;
660
- }, "strip", z.ZodTypeAny, {
661
- options?: {
662
- payloadType?: string | undefined;
663
- tags?: string | string[] | undefined;
664
- idempotencyKey?: string | undefined;
665
- maxAttempts?: number | undefined;
666
- metadata?: any;
667
- maxDuration?: number | undefined;
668
667
  queue?: {
669
668
  name?: string | undefined;
670
669
  concurrencyLimit?: number | undefined;
671
670
  } | undefined;
672
- idempotencyKeyTTL?: string | undefined;
673
671
  concurrencyKey?: string | undefined;
672
+ idempotencyKey?: string | undefined;
673
+ idempotencyKeyTTL?: string | undefined;
674
+ test?: boolean | undefined;
675
+ payloadType?: string | undefined;
674
676
  delay?: string | Date | undefined;
675
677
  ttl?: string | number | undefined;
676
- dependentAttempt?: string | undefined;
677
- parentAttempt?: string | undefined;
678
- dependentBatch?: string | undefined;
679
- parentBatch?: string | undefined;
680
- lockToVersion?: string | undefined;
681
- test?: boolean | undefined;
678
+ tags?: string | string[] | undefined;
679
+ maxAttempts?: number | undefined;
680
+ metadata?: any;
682
681
  metadataType?: string | undefined;
682
+ maxDuration?: number | undefined;
683
683
  } | undefined;
684
684
  payload?: any;
685
685
  context?: any;
686
686
  }, {
687
687
  options?: {
688
- payloadType?: string | undefined;
689
- tags?: string | string[] | undefined;
690
- idempotencyKey?: string | undefined;
691
- maxAttempts?: number | undefined;
692
- metadata?: any;
693
- maxDuration?: number | undefined;
688
+ dependentAttempt?: string | undefined;
689
+ parentAttempt?: string | undefined;
690
+ dependentBatch?: string | undefined;
691
+ parentBatch?: string | undefined;
692
+ lockToVersion?: string | undefined;
694
693
  queue?: {
695
694
  name?: string | undefined;
696
695
  concurrencyLimit?: number | undefined;
697
696
  } | undefined;
698
- idempotencyKeyTTL?: string | undefined;
699
697
  concurrencyKey?: string | undefined;
698
+ idempotencyKey?: string | undefined;
699
+ idempotencyKeyTTL?: string | undefined;
700
+ test?: boolean | undefined;
701
+ payloadType?: string | undefined;
700
702
  delay?: string | Date | undefined;
701
703
  ttl?: string | number | undefined;
702
- dependentAttempt?: string | undefined;
703
- parentAttempt?: string | undefined;
704
- dependentBatch?: string | undefined;
705
- parentBatch?: string | undefined;
706
- lockToVersion?: string | undefined;
707
- test?: boolean | undefined;
704
+ tags?: string | string[] | undefined;
705
+ maxAttempts?: number | undefined;
706
+ metadata?: any;
708
707
  metadataType?: string | undefined;
708
+ maxDuration?: number | undefined;
709
709
  } | undefined;
710
710
  payload?: any;
711
711
  context?: any;
@@ -714,27 +714,27 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
714
714
  }, "strip", z.ZodTypeAny, {
715
715
  items: {
716
716
  options?: {
717
- payloadType?: string | undefined;
718
- tags?: string | string[] | undefined;
719
- idempotencyKey?: string | undefined;
720
- maxAttempts?: number | undefined;
721
- metadata?: any;
722
- maxDuration?: number | undefined;
717
+ dependentAttempt?: string | undefined;
718
+ parentAttempt?: string | undefined;
719
+ dependentBatch?: string | undefined;
720
+ parentBatch?: string | undefined;
721
+ lockToVersion?: string | undefined;
723
722
  queue?: {
724
723
  name?: string | undefined;
725
724
  concurrencyLimit?: number | undefined;
726
725
  } | undefined;
727
- idempotencyKeyTTL?: string | undefined;
728
726
  concurrencyKey?: string | undefined;
727
+ idempotencyKey?: string | undefined;
728
+ idempotencyKeyTTL?: string | undefined;
729
+ test?: boolean | undefined;
730
+ payloadType?: string | undefined;
729
731
  delay?: string | Date | undefined;
730
732
  ttl?: string | number | undefined;
731
- dependentAttempt?: string | undefined;
732
- parentAttempt?: string | undefined;
733
- dependentBatch?: string | undefined;
734
- parentBatch?: string | undefined;
735
- lockToVersion?: string | undefined;
736
- test?: boolean | undefined;
733
+ tags?: string | string[] | undefined;
734
+ maxAttempts?: number | undefined;
735
+ metadata?: any;
737
736
  metadataType?: string | undefined;
737
+ maxDuration?: number | undefined;
738
738
  } | undefined;
739
739
  payload?: any;
740
740
  context?: any;
@@ -743,27 +743,27 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
743
743
  }, {
744
744
  items: {
745
745
  options?: {
746
- payloadType?: string | undefined;
747
- tags?: string | string[] | undefined;
748
- idempotencyKey?: string | undefined;
749
- maxAttempts?: number | undefined;
750
- metadata?: any;
751
- maxDuration?: number | undefined;
746
+ dependentAttempt?: string | undefined;
747
+ parentAttempt?: string | undefined;
748
+ dependentBatch?: string | undefined;
749
+ parentBatch?: string | undefined;
750
+ lockToVersion?: string | undefined;
752
751
  queue?: {
753
752
  name?: string | undefined;
754
753
  concurrencyLimit?: number | undefined;
755
754
  } | undefined;
756
- idempotencyKeyTTL?: string | undefined;
757
755
  concurrencyKey?: string | undefined;
756
+ idempotencyKey?: string | undefined;
757
+ idempotencyKeyTTL?: string | undefined;
758
+ test?: boolean | undefined;
759
+ payloadType?: string | undefined;
758
760
  delay?: string | Date | undefined;
759
761
  ttl?: string | number | undefined;
760
- dependentAttempt?: string | undefined;
761
- parentAttempt?: string | undefined;
762
- dependentBatch?: string | undefined;
763
- parentBatch?: string | undefined;
764
- lockToVersion?: string | undefined;
765
- test?: boolean | undefined;
762
+ tags?: string | string[] | undefined;
763
+ maxAttempts?: number | undefined;
764
+ metadata?: any;
766
765
  metadataType?: string | undefined;
766
+ maxDuration?: number | undefined;
767
767
  } | undefined;
768
768
  payload?: any;
769
769
  context?: any;
@@ -801,89 +801,89 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
801
801
  maxDuration: z.ZodOptional<z.ZodNumber>;
802
802
  parentAttempt: z.ZodOptional<z.ZodString>;
803
803
  }, "strip", z.ZodTypeAny, {
804
- payloadType?: string | undefined;
805
- tags?: string | string[] | undefined;
806
- idempotencyKey?: string | undefined;
807
- maxAttempts?: number | undefined;
808
- metadata?: any;
809
- maxDuration?: number | undefined;
804
+ parentAttempt?: string | undefined;
805
+ lockToVersion?: string | undefined;
810
806
  queue?: {
811
807
  name?: string | undefined;
812
808
  concurrencyLimit?: number | undefined;
813
809
  } | undefined;
814
- idempotencyKeyTTL?: string | undefined;
815
810
  concurrencyKey?: string | undefined;
816
- delay?: string | Date | undefined;
817
- ttl?: string | number | undefined;
818
- parentAttempt?: string | undefined;
819
- lockToVersion?: string | undefined;
811
+ idempotencyKey?: string | undefined;
812
+ idempotencyKeyTTL?: string | undefined;
820
813
  test?: boolean | undefined;
821
- metadataType?: string | undefined;
822
- }, {
823
814
  payloadType?: string | undefined;
815
+ delay?: string | Date | undefined;
816
+ ttl?: string | number | undefined;
824
817
  tags?: string | string[] | undefined;
825
- idempotencyKey?: string | undefined;
826
818
  maxAttempts?: number | undefined;
827
819
  metadata?: any;
820
+ metadataType?: string | undefined;
828
821
  maxDuration?: number | undefined;
822
+ }, {
823
+ parentAttempt?: string | undefined;
824
+ lockToVersion?: string | undefined;
829
825
  queue?: {
830
826
  name?: string | undefined;
831
827
  concurrencyLimit?: number | undefined;
832
828
  } | undefined;
833
- idempotencyKeyTTL?: string | undefined;
834
829
  concurrencyKey?: string | undefined;
830
+ idempotencyKey?: string | undefined;
831
+ idempotencyKeyTTL?: string | undefined;
832
+ test?: boolean | undefined;
833
+ payloadType?: string | undefined;
835
834
  delay?: string | Date | undefined;
836
835
  ttl?: string | number | undefined;
837
- parentAttempt?: string | undefined;
838
- lockToVersion?: string | undefined;
839
- test?: boolean | undefined;
836
+ tags?: string | string[] | undefined;
837
+ maxAttempts?: number | undefined;
838
+ metadata?: any;
840
839
  metadataType?: string | undefined;
840
+ maxDuration?: number | undefined;
841
841
  }>>;
842
842
  }, "strip", z.ZodTypeAny, {
843
843
  task: string;
844
844
  options?: {
845
- payloadType?: string | undefined;
846
- tags?: string | string[] | undefined;
847
- idempotencyKey?: string | undefined;
848
- maxAttempts?: number | undefined;
849
- metadata?: any;
850
- maxDuration?: number | undefined;
845
+ parentAttempt?: string | undefined;
846
+ lockToVersion?: string | undefined;
851
847
  queue?: {
852
848
  name?: string | undefined;
853
849
  concurrencyLimit?: number | undefined;
854
850
  } | undefined;
855
- idempotencyKeyTTL?: string | undefined;
856
851
  concurrencyKey?: string | undefined;
852
+ idempotencyKey?: string | undefined;
853
+ idempotencyKeyTTL?: string | undefined;
854
+ test?: boolean | undefined;
855
+ payloadType?: string | undefined;
857
856
  delay?: string | Date | undefined;
858
857
  ttl?: string | number | undefined;
859
- parentAttempt?: string | undefined;
860
- lockToVersion?: string | undefined;
861
- test?: boolean | undefined;
858
+ tags?: string | string[] | undefined;
859
+ maxAttempts?: number | undefined;
860
+ metadata?: any;
862
861
  metadataType?: string | undefined;
862
+ maxDuration?: number | undefined;
863
863
  } | undefined;
864
864
  payload?: any;
865
865
  context?: any;
866
866
  }, {
867
867
  task: string;
868
868
  options?: {
869
- payloadType?: string | undefined;
870
- tags?: string | string[] | undefined;
871
- idempotencyKey?: string | undefined;
872
- maxAttempts?: number | undefined;
873
- metadata?: any;
874
- maxDuration?: number | undefined;
869
+ parentAttempt?: string | undefined;
870
+ lockToVersion?: string | undefined;
875
871
  queue?: {
876
872
  name?: string | undefined;
877
873
  concurrencyLimit?: number | undefined;
878
874
  } | undefined;
879
- idempotencyKeyTTL?: string | undefined;
880
875
  concurrencyKey?: string | undefined;
876
+ idempotencyKey?: string | undefined;
877
+ idempotencyKeyTTL?: string | undefined;
878
+ test?: boolean | undefined;
879
+ payloadType?: string | undefined;
881
880
  delay?: string | Date | undefined;
882
881
  ttl?: string | number | undefined;
883
- parentAttempt?: string | undefined;
884
- lockToVersion?: string | undefined;
885
- test?: boolean | undefined;
882
+ tags?: string | string[] | undefined;
883
+ maxAttempts?: number | undefined;
884
+ metadata?: any;
886
885
  metadataType?: string | undefined;
886
+ maxDuration?: number | undefined;
887
887
  } | undefined;
888
888
  payload?: any;
889
889
  context?: any;
@@ -920,89 +920,89 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
920
920
  maxDuration: z.ZodOptional<z.ZodNumber>;
921
921
  parentAttempt: z.ZodOptional<z.ZodString>;
922
922
  }, "strip", z.ZodTypeAny, {
923
- payloadType?: string | undefined;
924
- tags?: string | string[] | undefined;
925
- idempotencyKey?: string | undefined;
926
- maxAttempts?: number | undefined;
927
- metadata?: any;
928
- maxDuration?: number | undefined;
923
+ parentAttempt?: string | undefined;
924
+ lockToVersion?: string | undefined;
929
925
  queue?: {
930
926
  name?: string | undefined;
931
927
  concurrencyLimit?: number | undefined;
932
928
  } | undefined;
933
- idempotencyKeyTTL?: string | undefined;
934
929
  concurrencyKey?: string | undefined;
935
- delay?: string | Date | undefined;
936
- ttl?: string | number | undefined;
937
- parentAttempt?: string | undefined;
938
- lockToVersion?: string | undefined;
930
+ idempotencyKey?: string | undefined;
931
+ idempotencyKeyTTL?: string | undefined;
939
932
  test?: boolean | undefined;
940
- metadataType?: string | undefined;
941
- }, {
942
933
  payloadType?: string | undefined;
934
+ delay?: string | Date | undefined;
935
+ ttl?: string | number | undefined;
943
936
  tags?: string | string[] | undefined;
944
- idempotencyKey?: string | undefined;
945
937
  maxAttempts?: number | undefined;
946
938
  metadata?: any;
939
+ metadataType?: string | undefined;
947
940
  maxDuration?: number | undefined;
941
+ }, {
942
+ parentAttempt?: string | undefined;
943
+ lockToVersion?: string | undefined;
948
944
  queue?: {
949
945
  name?: string | undefined;
950
946
  concurrencyLimit?: number | undefined;
951
947
  } | undefined;
952
- idempotencyKeyTTL?: string | undefined;
953
948
  concurrencyKey?: string | undefined;
949
+ idempotencyKey?: string | undefined;
950
+ idempotencyKeyTTL?: string | undefined;
951
+ test?: boolean | undefined;
952
+ payloadType?: string | undefined;
954
953
  delay?: string | Date | undefined;
955
954
  ttl?: string | number | undefined;
956
- parentAttempt?: string | undefined;
957
- lockToVersion?: string | undefined;
958
- test?: boolean | undefined;
955
+ tags?: string | string[] | undefined;
956
+ maxAttempts?: number | undefined;
957
+ metadata?: any;
959
958
  metadataType?: string | undefined;
959
+ maxDuration?: number | undefined;
960
960
  }>>;
961
961
  }, "strip", z.ZodTypeAny, {
962
962
  task: string;
963
963
  options?: {
964
- payloadType?: string | undefined;
965
- tags?: string | string[] | undefined;
966
- idempotencyKey?: string | undefined;
967
- maxAttempts?: number | undefined;
968
- metadata?: any;
969
- maxDuration?: number | undefined;
964
+ parentAttempt?: string | undefined;
965
+ lockToVersion?: string | undefined;
970
966
  queue?: {
971
967
  name?: string | undefined;
972
968
  concurrencyLimit?: number | undefined;
973
969
  } | undefined;
974
- idempotencyKeyTTL?: string | undefined;
975
970
  concurrencyKey?: string | undefined;
971
+ idempotencyKey?: string | undefined;
972
+ idempotencyKeyTTL?: string | undefined;
973
+ test?: boolean | undefined;
974
+ payloadType?: string | undefined;
976
975
  delay?: string | Date | undefined;
977
976
  ttl?: string | number | undefined;
978
- parentAttempt?: string | undefined;
979
- lockToVersion?: string | undefined;
980
- test?: boolean | undefined;
977
+ tags?: string | string[] | undefined;
978
+ maxAttempts?: number | undefined;
979
+ metadata?: any;
981
980
  metadataType?: string | undefined;
981
+ maxDuration?: number | undefined;
982
982
  } | undefined;
983
983
  payload?: any;
984
984
  context?: any;
985
985
  }, {
986
986
  task: string;
987
987
  options?: {
988
- payloadType?: string | undefined;
989
- tags?: string | string[] | undefined;
990
- idempotencyKey?: string | undefined;
991
- maxAttempts?: number | undefined;
992
- metadata?: any;
993
- maxDuration?: number | undefined;
988
+ parentAttempt?: string | undefined;
989
+ lockToVersion?: string | undefined;
994
990
  queue?: {
995
991
  name?: string | undefined;
996
992
  concurrencyLimit?: number | undefined;
997
993
  } | undefined;
998
- idempotencyKeyTTL?: string | undefined;
999
994
  concurrencyKey?: string | undefined;
995
+ idempotencyKey?: string | undefined;
996
+ idempotencyKeyTTL?: string | undefined;
997
+ test?: boolean | undefined;
998
+ payloadType?: string | undefined;
1000
999
  delay?: string | Date | undefined;
1001
1000
  ttl?: string | number | undefined;
1002
- parentAttempt?: string | undefined;
1003
- lockToVersion?: string | undefined;
1004
- test?: boolean | undefined;
1001
+ tags?: string | string[] | undefined;
1002
+ maxAttempts?: number | undefined;
1003
+ metadata?: any;
1005
1004
  metadataType?: string | undefined;
1005
+ maxDuration?: number | undefined;
1006
1006
  } | undefined;
1007
1007
  payload?: any;
1008
1008
  context?: any;
@@ -1012,24 +1012,24 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1012
1012
  items: {
1013
1013
  task: string;
1014
1014
  options?: {
1015
- payloadType?: string | undefined;
1016
- tags?: string | string[] | undefined;
1017
- idempotencyKey?: string | undefined;
1018
- maxAttempts?: number | undefined;
1019
- metadata?: any;
1020
- maxDuration?: number | undefined;
1015
+ parentAttempt?: string | undefined;
1016
+ lockToVersion?: string | undefined;
1021
1017
  queue?: {
1022
1018
  name?: string | undefined;
1023
1019
  concurrencyLimit?: number | undefined;
1024
1020
  } | undefined;
1025
- idempotencyKeyTTL?: string | undefined;
1026
1021
  concurrencyKey?: string | undefined;
1022
+ idempotencyKey?: string | undefined;
1023
+ idempotencyKeyTTL?: string | undefined;
1024
+ test?: boolean | undefined;
1025
+ payloadType?: string | undefined;
1027
1026
  delay?: string | Date | undefined;
1028
1027
  ttl?: string | number | undefined;
1029
- parentAttempt?: string | undefined;
1030
- lockToVersion?: string | undefined;
1031
- test?: boolean | undefined;
1028
+ tags?: string | string[] | undefined;
1029
+ maxAttempts?: number | undefined;
1030
+ metadata?: any;
1032
1031
  metadataType?: string | undefined;
1032
+ maxDuration?: number | undefined;
1033
1033
  } | undefined;
1034
1034
  payload?: any;
1035
1035
  context?: any;
@@ -1039,24 +1039,24 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1039
1039
  items: {
1040
1040
  task: string;
1041
1041
  options?: {
1042
- payloadType?: string | undefined;
1043
- tags?: string | string[] | undefined;
1044
- idempotencyKey?: string | undefined;
1045
- maxAttempts?: number | undefined;
1046
- metadata?: any;
1047
- maxDuration?: number | undefined;
1042
+ parentAttempt?: string | undefined;
1043
+ lockToVersion?: string | undefined;
1048
1044
  queue?: {
1049
1045
  name?: string | undefined;
1050
1046
  concurrencyLimit?: number | undefined;
1051
1047
  } | undefined;
1052
- idempotencyKeyTTL?: string | undefined;
1053
1048
  concurrencyKey?: string | undefined;
1049
+ idempotencyKey?: string | undefined;
1050
+ idempotencyKeyTTL?: string | undefined;
1051
+ test?: boolean | undefined;
1052
+ payloadType?: string | undefined;
1054
1053
  delay?: string | Date | undefined;
1055
1054
  ttl?: string | number | undefined;
1056
- parentAttempt?: string | undefined;
1057
- lockToVersion?: string | undefined;
1058
- test?: boolean | undefined;
1055
+ tags?: string | string[] | undefined;
1056
+ maxAttempts?: number | undefined;
1057
+ metadata?: any;
1059
1058
  metadataType?: string | undefined;
1059
+ maxDuration?: number | undefined;
1060
1060
  } | undefined;
1061
1061
  payload?: any;
1062
1062
  context?: any;
@@ -1075,13 +1075,13 @@ export declare const BatchTriggerTaskV2Response: z.ZodObject<{
1075
1075
  idempotencyKey: z.ZodOptional<z.ZodString>;
1076
1076
  }, "strip", z.ZodTypeAny, {
1077
1077
  id: string;
1078
- taskIdentifier: string;
1079
1078
  isCached: boolean;
1079
+ taskIdentifier: string;
1080
1080
  idempotencyKey?: string | undefined;
1081
1081
  }, {
1082
1082
  id: string;
1083
- taskIdentifier: string;
1084
1083
  isCached: boolean;
1084
+ taskIdentifier: string;
1085
1085
  idempotencyKey?: string | undefined;
1086
1086
  }>, "many">;
1087
1087
  }, "strip", z.ZodTypeAny, {
@@ -1089,8 +1089,8 @@ export declare const BatchTriggerTaskV2Response: z.ZodObject<{
1089
1089
  isCached: boolean;
1090
1090
  runs: {
1091
1091
  id: string;
1092
- taskIdentifier: string;
1093
1092
  isCached: boolean;
1093
+ taskIdentifier: string;
1094
1094
  idempotencyKey?: string | undefined;
1095
1095
  }[];
1096
1096
  idempotencyKey?: string | undefined;
@@ -1099,8 +1099,8 @@ export declare const BatchTriggerTaskV2Response: z.ZodObject<{
1099
1099
  isCached: boolean;
1100
1100
  runs: {
1101
1101
  id: string;
1102
- taskIdentifier: string;
1103
1102
  isCached: boolean;
1103
+ taskIdentifier: string;
1104
1104
  idempotencyKey?: string | undefined;
1105
1105
  }[];
1106
1106
  idempotencyKey?: string | undefined;
@@ -1124,26 +1124,26 @@ export declare const GetBatchResponseBody: z.ZodObject<{
1124
1124
  taskRunId: z.ZodString;
1125
1125
  status: z.ZodEnum<["PENDING", "CANCELED", "COMPLETED", "FAILED"]>;
1126
1126
  }, "strip", z.ZodTypeAny, {
1127
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1128
1127
  id: string;
1128
+ status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1129
1129
  taskRunId: string;
1130
1130
  }, {
1131
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1132
1131
  id: string;
1132
+ status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1133
1133
  taskRunId: string;
1134
1134
  }>, "many">;
1135
1135
  }, "strip", z.ZodTypeAny, {
1136
1136
  id: string;
1137
1137
  items: {
1138
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1139
1138
  id: string;
1139
+ status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1140
1140
  taskRunId: string;
1141
1141
  }[];
1142
1142
  }, {
1143
1143
  id: string;
1144
1144
  items: {
1145
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1146
1145
  id: string;
1146
+ status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1147
1147
  taskRunId: string;
1148
1148
  }[];
1149
1149
  }>;
@@ -1243,8 +1243,8 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
1243
1243
  id: string;
1244
1244
  version: string;
1245
1245
  contentHash: string;
1246
- shortCode: string;
1247
1246
  imageTag: string;
1247
+ shortCode: string;
1248
1248
  externalBuildData?: {
1249
1249
  projectId: string;
1250
1250
  buildId: string;
@@ -1255,8 +1255,8 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
1255
1255
  id: string;
1256
1256
  version: string;
1257
1257
  contentHash: string;
1258
- shortCode: string;
1259
1258
  imageTag: string;
1259
+ shortCode: string;
1260
1260
  externalBuildData?: {
1261
1261
  projectId: string;
1262
1262
  buildId: string;
@@ -1291,13 +1291,13 @@ export declare const DeploymentErrorData: z.ZodObject<{
1291
1291
  stack: z.ZodOptional<z.ZodString>;
1292
1292
  stderr: z.ZodOptional<z.ZodString>;
1293
1293
  }, "strip", z.ZodTypeAny, {
1294
- name: string;
1295
1294
  message: string;
1295
+ name: string;
1296
1296
  stack?: string | undefined;
1297
1297
  stderr?: string | undefined;
1298
1298
  }, {
1299
- name: string;
1300
1299
  message: string;
1300
+ name: string;
1301
1301
  stack?: string | undefined;
1302
1302
  stderr?: string | undefined;
1303
1303
  }>;
@@ -1309,27 +1309,27 @@ export declare const FailDeploymentRequestBody: z.ZodObject<{
1309
1309
  stack: z.ZodOptional<z.ZodString>;
1310
1310
  stderr: z.ZodOptional<z.ZodString>;
1311
1311
  }, "strip", z.ZodTypeAny, {
1312
- name: string;
1313
1312
  message: string;
1313
+ name: string;
1314
1314
  stack?: string | undefined;
1315
1315
  stderr?: string | undefined;
1316
1316
  }, {
1317
- name: string;
1318
1317
  message: string;
1318
+ name: string;
1319
1319
  stack?: string | undefined;
1320
1320
  stderr?: string | undefined;
1321
1321
  }>;
1322
1322
  }, "strip", z.ZodTypeAny, {
1323
1323
  error: {
1324
- name: string;
1325
1324
  message: string;
1325
+ name: string;
1326
1326
  stack?: string | undefined;
1327
1327
  stderr?: string | undefined;
1328
1328
  };
1329
1329
  }, {
1330
1330
  error: {
1331
- name: string;
1332
1331
  message: string;
1332
+ name: string;
1333
1333
  stack?: string | undefined;
1334
1334
  stderr?: string | undefined;
1335
1335
  };
@@ -1356,13 +1356,13 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1356
1356
  stack: z.ZodOptional<z.ZodString>;
1357
1357
  stderr: z.ZodOptional<z.ZodString>;
1358
1358
  }, "strip", z.ZodTypeAny, {
1359
- name: string;
1360
1359
  message: string;
1360
+ name: string;
1361
1361
  stack?: string | undefined;
1362
1362
  stderr?: string | undefined;
1363
1363
  }, {
1364
- name: string;
1365
1364
  message: string;
1365
+ name: string;
1366
1366
  stack?: string | undefined;
1367
1367
  stderr?: string | undefined;
1368
1368
  }>>>;
@@ -1405,18 +1405,11 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1405
1405
  }[];
1406
1406
  }>>;
1407
1407
  }, "strip", z.ZodTypeAny, {
1408
- status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
1409
1408
  id: string;
1409
+ status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1410
1410
  version: string;
1411
1411
  contentHash: string;
1412
1412
  shortCode: string;
1413
- imageReference?: string | null | undefined;
1414
- errorData?: {
1415
- name: string;
1416
- message: string;
1417
- stack?: string | undefined;
1418
- stderr?: string | undefined;
1419
- } | null | undefined;
1420
1413
  worker?: {
1421
1414
  id: string;
1422
1415
  version: string;
@@ -1427,19 +1420,19 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1427
1420
  slug: string;
1428
1421
  }[];
1429
1422
  } | undefined;
1430
- }, {
1431
- status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
1432
- id: string;
1433
- version: string;
1434
- contentHash: string;
1435
- shortCode: string;
1436
1423
  imageReference?: string | null | undefined;
1437
1424
  errorData?: {
1438
- name: string;
1439
1425
  message: string;
1426
+ name: string;
1440
1427
  stack?: string | undefined;
1441
1428
  stderr?: string | undefined;
1442
1429
  } | null | undefined;
1430
+ }, {
1431
+ id: string;
1432
+ status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1433
+ version: string;
1434
+ contentHash: string;
1435
+ shortCode: string;
1443
1436
  worker?: {
1444
1437
  id: string;
1445
1438
  version: string;
@@ -1450,6 +1443,13 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1450
1443
  slug: string;
1451
1444
  }[];
1452
1445
  } | undefined;
1446
+ imageReference?: string | null | undefined;
1447
+ errorData?: {
1448
+ message: string;
1449
+ name: string;
1450
+ stack?: string | undefined;
1451
+ stderr?: string | undefined;
1452
+ } | null | undefined;
1453
1453
  }>;
1454
1454
  export type GetDeploymentResponseBody = z.infer<typeof GetDeploymentResponseBody>;
1455
1455
  export declare const CreateUploadPayloadUrlResponseBody: z.ZodObject<{
@@ -1514,19 +1514,19 @@ export declare const ScheduledTaskPayload: z.ZodObject<{
1514
1514
  }, "strip", z.ZodTypeAny, {
1515
1515
  type: "DECLARATIVE" | "IMPERATIVE";
1516
1516
  timezone: string;
1517
- scheduleId: string;
1518
1517
  timestamp: Date;
1518
+ scheduleId: string;
1519
1519
  upcoming: Date[];
1520
- lastTimestamp?: Date | undefined;
1521
1520
  externalId?: string | undefined;
1521
+ lastTimestamp?: Date | undefined;
1522
1522
  }, {
1523
1523
  type: "DECLARATIVE" | "IMPERATIVE";
1524
1524
  timezone: string;
1525
- scheduleId: string;
1526
1525
  timestamp: Date;
1526
+ scheduleId: string;
1527
1527
  upcoming: Date[];
1528
- lastTimestamp?: Date | undefined;
1529
1528
  externalId?: string | undefined;
1529
+ lastTimestamp?: Date | undefined;
1530
1530
  }>;
1531
1531
  export type ScheduledTaskPayload = z.infer<typeof ScheduledTaskPayload>;
1532
1532
  export declare const CreateScheduleOptions: z.ZodObject<{
@@ -1571,16 +1571,16 @@ export declare const CreateScheduleOptions: z.ZodObject<{
1571
1571
  timezone: z.ZodOptional<z.ZodString>;
1572
1572
  }, "strip", z.ZodTypeAny, {
1573
1573
  task: string;
1574
- cron: string;
1575
1574
  deduplicationKey: string;
1576
- timezone?: string | undefined;
1575
+ cron: string;
1577
1576
  externalId?: string | undefined;
1577
+ timezone?: string | undefined;
1578
1578
  }, {
1579
1579
  task: string;
1580
- cron: string;
1581
1580
  deduplicationKey: string;
1582
- timezone?: string | undefined;
1581
+ cron: string;
1583
1582
  externalId?: string | undefined;
1583
+ timezone?: string | undefined;
1584
1584
  }>;
1585
1585
  export type CreateScheduleOptions = z.infer<typeof CreateScheduleOptions>;
1586
1586
  export declare const UpdateScheduleOptions: z.ZodObject<Omit<{
@@ -1626,13 +1626,13 @@ export declare const UpdateScheduleOptions: z.ZodObject<Omit<{
1626
1626
  }, "deduplicationKey">, "strip", z.ZodTypeAny, {
1627
1627
  task: string;
1628
1628
  cron: string;
1629
- timezone?: string | undefined;
1630
1629
  externalId?: string | undefined;
1630
+ timezone?: string | undefined;
1631
1631
  }, {
1632
1632
  task: string;
1633
1633
  cron: string;
1634
- timezone?: string | undefined;
1635
1634
  externalId?: string | undefined;
1635
+ timezone?: string | undefined;
1636
1636
  }>;
1637
1637
  export type UpdateScheduleOptions = z.infer<typeof UpdateScheduleOptions>;
1638
1638
  export declare const ScheduleGenerator: z.ZodObject<{
@@ -1641,12 +1641,12 @@ export declare const ScheduleGenerator: z.ZodObject<{
1641
1641
  description: z.ZodString;
1642
1642
  }, "strip", z.ZodTypeAny, {
1643
1643
  type: "CRON";
1644
- description: string;
1645
1644
  expression: string;
1645
+ description: string;
1646
1646
  }, {
1647
1647
  type: "CRON";
1648
- description: string;
1649
1648
  expression: string;
1649
+ description: string;
1650
1650
  }>;
1651
1651
  export type ScheduleGenerator = z.infer<typeof ScheduleGenerator>;
1652
1652
  export declare const ScheduleObject: z.ZodObject<{
@@ -1662,12 +1662,12 @@ export declare const ScheduleObject: z.ZodObject<{
1662
1662
  description: z.ZodString;
1663
1663
  }, "strip", z.ZodTypeAny, {
1664
1664
  type: "CRON";
1665
- description: string;
1666
1665
  expression: string;
1666
+ description: string;
1667
1667
  }, {
1668
1668
  type: "CRON";
1669
- description: string;
1670
1669
  expression: string;
1670
+ description: string;
1671
1671
  }>;
1672
1672
  timezone: z.ZodString;
1673
1673
  nextRun: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -1676,47 +1676,47 @@ export declare const ScheduleObject: z.ZodObject<{
1676
1676
  type: z.ZodString;
1677
1677
  userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1678
1678
  }, "strip", z.ZodTypeAny, {
1679
- type: string;
1680
1679
  id: string;
1680
+ type: string;
1681
1681
  userName?: string | null | undefined;
1682
1682
  }, {
1683
- type: string;
1684
1683
  id: string;
1684
+ type: string;
1685
1685
  userName?: string | null | undefined;
1686
1686
  }>, "many">;
1687
1687
  }, "strip", z.ZodTypeAny, {
1688
- type: "DECLARATIVE" | "IMPERATIVE";
1689
1688
  id: string;
1689
+ type: "DECLARATIVE" | "IMPERATIVE";
1690
1690
  task: string;
1691
- timezone: string;
1692
- active: boolean;
1693
1691
  generator: {
1694
1692
  type: "CRON";
1695
- description: string;
1696
1693
  expression: string;
1694
+ description: string;
1697
1695
  };
1696
+ active: boolean;
1697
+ timezone: string;
1698
1698
  environments: {
1699
- type: string;
1700
1699
  id: string;
1700
+ type: string;
1701
1701
  userName?: string | null | undefined;
1702
1702
  }[];
1703
1703
  externalId?: string | null | undefined;
1704
1704
  deduplicationKey?: string | null | undefined;
1705
1705
  nextRun?: Date | null | undefined;
1706
1706
  }, {
1707
- type: "DECLARATIVE" | "IMPERATIVE";
1708
1707
  id: string;
1708
+ type: "DECLARATIVE" | "IMPERATIVE";
1709
1709
  task: string;
1710
- timezone: string;
1711
- active: boolean;
1712
1710
  generator: {
1713
1711
  type: "CRON";
1714
- description: string;
1715
1712
  expression: string;
1713
+ description: string;
1716
1714
  };
1715
+ active: boolean;
1716
+ timezone: string;
1717
1717
  environments: {
1718
- type: string;
1719
1718
  id: string;
1719
+ type: string;
1720
1720
  userName?: string | null | undefined;
1721
1721
  }[];
1722
1722
  externalId?: string | null | undefined;
@@ -1746,12 +1746,12 @@ export declare const ListSchedulesResult: z.ZodObject<{
1746
1746
  description: z.ZodString;
1747
1747
  }, "strip", z.ZodTypeAny, {
1748
1748
  type: "CRON";
1749
- description: string;
1750
1749
  expression: string;
1750
+ description: string;
1751
1751
  }, {
1752
1752
  type: "CRON";
1753
- description: string;
1754
1753
  expression: string;
1754
+ description: string;
1755
1755
  }>;
1756
1756
  timezone: z.ZodString;
1757
1757
  nextRun: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -1760,47 +1760,47 @@ export declare const ListSchedulesResult: z.ZodObject<{
1760
1760
  type: z.ZodString;
1761
1761
  userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1762
1762
  }, "strip", z.ZodTypeAny, {
1763
- type: string;
1764
1763
  id: string;
1764
+ type: string;
1765
1765
  userName?: string | null | undefined;
1766
1766
  }, {
1767
- type: string;
1768
1767
  id: string;
1768
+ type: string;
1769
1769
  userName?: string | null | undefined;
1770
1770
  }>, "many">;
1771
1771
  }, "strip", z.ZodTypeAny, {
1772
- type: "DECLARATIVE" | "IMPERATIVE";
1773
1772
  id: string;
1773
+ type: "DECLARATIVE" | "IMPERATIVE";
1774
1774
  task: string;
1775
- timezone: string;
1776
- active: boolean;
1777
1775
  generator: {
1778
1776
  type: "CRON";
1779
- description: string;
1780
1777
  expression: string;
1778
+ description: string;
1781
1779
  };
1780
+ active: boolean;
1781
+ timezone: string;
1782
1782
  environments: {
1783
- type: string;
1784
1783
  id: string;
1784
+ type: string;
1785
1785
  userName?: string | null | undefined;
1786
1786
  }[];
1787
1787
  externalId?: string | null | undefined;
1788
1788
  deduplicationKey?: string | null | undefined;
1789
1789
  nextRun?: Date | null | undefined;
1790
1790
  }, {
1791
- type: "DECLARATIVE" | "IMPERATIVE";
1792
1791
  id: string;
1792
+ type: "DECLARATIVE" | "IMPERATIVE";
1793
1793
  task: string;
1794
- timezone: string;
1795
- active: boolean;
1796
1794
  generator: {
1797
1795
  type: "CRON";
1798
- description: string;
1799
1796
  expression: string;
1797
+ description: string;
1800
1798
  };
1799
+ active: boolean;
1800
+ timezone: string;
1801
1801
  environments: {
1802
- type: string;
1803
1802
  id: string;
1803
+ type: string;
1804
1804
  userName?: string | null | undefined;
1805
1805
  }[];
1806
1806
  externalId?: string | null | undefined;
@@ -1822,19 +1822,19 @@ export declare const ListSchedulesResult: z.ZodObject<{
1822
1822
  }>;
1823
1823
  }, "strip", z.ZodTypeAny, {
1824
1824
  data: {
1825
- type: "DECLARATIVE" | "IMPERATIVE";
1826
1825
  id: string;
1826
+ type: "DECLARATIVE" | "IMPERATIVE";
1827
1827
  task: string;
1828
- timezone: string;
1829
- active: boolean;
1830
1828
  generator: {
1831
1829
  type: "CRON";
1832
- description: string;
1833
1830
  expression: string;
1831
+ description: string;
1834
1832
  };
1833
+ active: boolean;
1834
+ timezone: string;
1835
1835
  environments: {
1836
- type: string;
1837
1836
  id: string;
1837
+ type: string;
1838
1838
  userName?: string | null | undefined;
1839
1839
  }[];
1840
1840
  externalId?: string | null | undefined;
@@ -1848,19 +1848,19 @@ export declare const ListSchedulesResult: z.ZodObject<{
1848
1848
  };
1849
1849
  }, {
1850
1850
  data: {
1851
- type: "DECLARATIVE" | "IMPERATIVE";
1852
1851
  id: string;
1852
+ type: "DECLARATIVE" | "IMPERATIVE";
1853
1853
  task: string;
1854
- timezone: string;
1855
- active: boolean;
1856
1854
  generator: {
1857
1855
  type: "CRON";
1858
- description: string;
1859
1856
  expression: string;
1857
+ description: string;
1860
1858
  };
1859
+ active: boolean;
1860
+ timezone: string;
1861
1861
  environments: {
1862
- type: string;
1863
1862
  id: string;
1863
+ type: string;
1864
1864
  userName?: string | null | undefined;
1865
1865
  }[];
1866
1866
  externalId?: string | null | undefined;
@@ -1902,12 +1902,12 @@ export declare const RunEnvironmentDetails: z.ZodObject<{
1902
1902
  name: z.ZodString;
1903
1903
  user: z.ZodOptional<z.ZodString>;
1904
1904
  }, "strip", z.ZodTypeAny, {
1905
- name: string;
1906
1905
  id: string;
1906
+ name: string;
1907
1907
  user?: string | undefined;
1908
1908
  }, {
1909
- name: string;
1910
1909
  id: string;
1910
+ name: string;
1911
1911
  user?: string | undefined;
1912
1912
  }>;
1913
1913
  export type RunEnvironmentDetails = z.infer<typeof RunEnvironmentDetails>;
@@ -1921,19 +1921,19 @@ export declare const RunScheduleDetails: z.ZodObject<{
1921
1921
  description: z.ZodString;
1922
1922
  }, "strip", z.ZodTypeAny, {
1923
1923
  type: "CRON";
1924
- description: string;
1925
1924
  expression: string;
1925
+ description: string;
1926
1926
  }, {
1927
1927
  type: "CRON";
1928
- description: string;
1929
1928
  expression: string;
1929
+ description: string;
1930
1930
  }>;
1931
1931
  }, "strip", z.ZodTypeAny, {
1932
1932
  id: string;
1933
1933
  generator: {
1934
1934
  type: "CRON";
1935
- description: string;
1936
1935
  expression: string;
1936
+ description: string;
1937
1937
  };
1938
1938
  externalId?: string | undefined;
1939
1939
  deduplicationKey?: string | undefined;
@@ -1941,8 +1941,8 @@ export declare const RunScheduleDetails: z.ZodObject<{
1941
1941
  id: string;
1942
1942
  generator: {
1943
1943
  type: "CRON";
1944
- description: string;
1945
1944
  expression: string;
1945
+ description: string;
1946
1946
  };
1947
1947
  externalId?: string | undefined;
1948
1948
  deduplicationKey?: string | undefined;
@@ -1979,58 +1979,58 @@ export declare const RelatedRunDetails: z.ZodObject<{
1979
1979
  durationMs: z.ZodNumber;
1980
1980
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1981
1981
  }, "strip", z.ZodTypeAny, {
1982
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
1983
1982
  id: string;
1983
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
1984
1984
  tags: string[];
1985
- isTest: boolean;
1986
- createdAt: Date;
1987
- durationMs: number;
1988
- costInCents: number;
1989
- baseCostInCents: number;
1990
1985
  taskIdentifier: string;
1991
1986
  depth: number;
1992
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
1987
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
1993
1988
  isQueued: boolean;
1994
1989
  isExecuting: boolean;
1995
1990
  isCompleted: boolean;
1996
1991
  isSuccess: boolean;
1997
1992
  isFailed: boolean;
1998
1993
  isCancelled: boolean;
1994
+ isTest: boolean;
1995
+ createdAt: Date;
1999
1996
  updatedAt: Date;
2000
- startedAt?: Date | undefined;
1997
+ costInCents: number;
1998
+ baseCostInCents: number;
1999
+ durationMs: number;
2001
2000
  idempotencyKey?: string | undefined;
2002
- version?: string | undefined;
2003
- metadata?: Record<string, any> | undefined;
2004
2001
  ttl?: string | undefined;
2002
+ metadata?: Record<string, any> | undefined;
2005
2003
  batchId?: string | undefined;
2004
+ version?: string | undefined;
2005
+ startedAt?: Date | undefined;
2006
2006
  finishedAt?: Date | undefined;
2007
2007
  delayedUntil?: Date | undefined;
2008
2008
  expiredAt?: Date | undefined;
2009
2009
  }, {
2010
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2011
2010
  id: string;
2011
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2012
2012
  tags: string[];
2013
- isTest: boolean;
2014
- createdAt: Date;
2015
- durationMs: number;
2016
- costInCents: number;
2017
- baseCostInCents: number;
2018
2013
  taskIdentifier: string;
2019
2014
  depth: number;
2020
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2015
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2021
2016
  isQueued: boolean;
2022
2017
  isExecuting: boolean;
2023
2018
  isCompleted: boolean;
2024
2019
  isSuccess: boolean;
2025
2020
  isFailed: boolean;
2026
2021
  isCancelled: boolean;
2022
+ isTest: boolean;
2023
+ createdAt: Date;
2027
2024
  updatedAt: Date;
2028
- startedAt?: Date | undefined;
2025
+ costInCents: number;
2026
+ baseCostInCents: number;
2027
+ durationMs: number;
2029
2028
  idempotencyKey?: string | undefined;
2030
- version?: string | undefined;
2031
- metadata?: Record<string, any> | undefined;
2032
2029
  ttl?: string | undefined;
2030
+ metadata?: Record<string, any> | undefined;
2033
2031
  batchId?: string | undefined;
2032
+ version?: string | undefined;
2033
+ startedAt?: Date | undefined;
2034
2034
  finishedAt?: Date | undefined;
2035
2035
  delayedUntil?: Date | undefined;
2036
2036
  expiredAt?: Date | undefined;
@@ -2063,19 +2063,19 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2063
2063
  description: z.ZodString;
2064
2064
  }, "strip", z.ZodTypeAny, {
2065
2065
  type: "CRON";
2066
- description: string;
2067
2066
  expression: string;
2067
+ description: string;
2068
2068
  }, {
2069
2069
  type: "CRON";
2070
- description: string;
2071
2070
  expression: string;
2071
+ description: string;
2072
2072
  }>;
2073
2073
  }, "strip", z.ZodTypeAny, {
2074
2074
  id: string;
2075
2075
  generator: {
2076
2076
  type: "CRON";
2077
- description: string;
2078
2077
  expression: string;
2078
+ description: string;
2079
2079
  };
2080
2080
  externalId?: string | undefined;
2081
2081
  deduplicationKey?: string | undefined;
@@ -2083,8 +2083,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2083
2083
  id: string;
2084
2084
  generator: {
2085
2085
  type: "CRON";
2086
- description: string;
2087
2086
  expression: string;
2087
+ description: string;
2088
2088
  };
2089
2089
  externalId?: string | undefined;
2090
2090
  deduplicationKey?: string | undefined;
@@ -2119,58 +2119,58 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2119
2119
  durationMs: z.ZodNumber;
2120
2120
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2121
2121
  }, "strip", z.ZodTypeAny, {
2122
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2123
2122
  id: string;
2123
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2124
2124
  tags: string[];
2125
- isTest: boolean;
2126
- createdAt: Date;
2127
- durationMs: number;
2128
- costInCents: number;
2129
- baseCostInCents: number;
2130
2125
  taskIdentifier: string;
2131
2126
  depth: number;
2132
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2127
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2133
2128
  isQueued: boolean;
2134
2129
  isExecuting: boolean;
2135
2130
  isCompleted: boolean;
2136
2131
  isSuccess: boolean;
2137
2132
  isFailed: boolean;
2138
2133
  isCancelled: boolean;
2134
+ isTest: boolean;
2135
+ createdAt: Date;
2139
2136
  updatedAt: Date;
2140
- startedAt?: Date | undefined;
2137
+ costInCents: number;
2138
+ baseCostInCents: number;
2139
+ durationMs: number;
2141
2140
  idempotencyKey?: string | undefined;
2142
- version?: string | undefined;
2143
- metadata?: Record<string, any> | undefined;
2144
2141
  ttl?: string | undefined;
2142
+ metadata?: Record<string, any> | undefined;
2145
2143
  batchId?: string | undefined;
2144
+ version?: string | undefined;
2145
+ startedAt?: Date | undefined;
2146
2146
  finishedAt?: Date | undefined;
2147
2147
  delayedUntil?: Date | undefined;
2148
2148
  expiredAt?: Date | undefined;
2149
2149
  }, {
2150
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2151
2150
  id: string;
2151
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2152
2152
  tags: string[];
2153
- isTest: boolean;
2154
- createdAt: Date;
2155
- durationMs: number;
2156
- costInCents: number;
2157
- baseCostInCents: number;
2158
2153
  taskIdentifier: string;
2159
2154
  depth: number;
2160
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2155
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2161
2156
  isQueued: boolean;
2162
2157
  isExecuting: boolean;
2163
2158
  isCompleted: boolean;
2164
2159
  isSuccess: boolean;
2165
2160
  isFailed: boolean;
2166
2161
  isCancelled: boolean;
2162
+ isTest: boolean;
2163
+ createdAt: Date;
2167
2164
  updatedAt: Date;
2168
- startedAt?: Date | undefined;
2165
+ costInCents: number;
2166
+ baseCostInCents: number;
2167
+ durationMs: number;
2169
2168
  idempotencyKey?: string | undefined;
2170
- version?: string | undefined;
2171
- metadata?: Record<string, any> | undefined;
2172
2169
  ttl?: string | undefined;
2170
+ metadata?: Record<string, any> | undefined;
2173
2171
  batchId?: string | undefined;
2172
+ version?: string | undefined;
2173
+ startedAt?: Date | undefined;
2174
2174
  finishedAt?: Date | undefined;
2175
2175
  delayedUntil?: Date | undefined;
2176
2176
  expiredAt?: Date | undefined;
@@ -2204,58 +2204,58 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2204
2204
  durationMs: z.ZodNumber;
2205
2205
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2206
2206
  }, "strip", z.ZodTypeAny, {
2207
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2208
2207
  id: string;
2208
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2209
2209
  tags: string[];
2210
- isTest: boolean;
2211
- createdAt: Date;
2212
- durationMs: number;
2213
- costInCents: number;
2214
- baseCostInCents: number;
2215
2210
  taskIdentifier: string;
2216
2211
  depth: number;
2217
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2212
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2218
2213
  isQueued: boolean;
2219
2214
  isExecuting: boolean;
2220
2215
  isCompleted: boolean;
2221
2216
  isSuccess: boolean;
2222
2217
  isFailed: boolean;
2223
2218
  isCancelled: boolean;
2219
+ isTest: boolean;
2220
+ createdAt: Date;
2224
2221
  updatedAt: Date;
2225
- startedAt?: Date | undefined;
2222
+ costInCents: number;
2223
+ baseCostInCents: number;
2224
+ durationMs: number;
2226
2225
  idempotencyKey?: string | undefined;
2227
- version?: string | undefined;
2228
- metadata?: Record<string, any> | undefined;
2229
2226
  ttl?: string | undefined;
2227
+ metadata?: Record<string, any> | undefined;
2230
2228
  batchId?: string | undefined;
2229
+ version?: string | undefined;
2230
+ startedAt?: Date | undefined;
2231
2231
  finishedAt?: Date | undefined;
2232
2232
  delayedUntil?: Date | undefined;
2233
2233
  expiredAt?: Date | undefined;
2234
2234
  }, {
2235
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2236
2235
  id: string;
2236
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2237
2237
  tags: string[];
2238
- isTest: boolean;
2239
- createdAt: Date;
2240
- durationMs: number;
2241
- costInCents: number;
2242
- baseCostInCents: number;
2243
2238
  taskIdentifier: string;
2244
2239
  depth: number;
2245
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2240
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2246
2241
  isQueued: boolean;
2247
2242
  isExecuting: boolean;
2248
2243
  isCompleted: boolean;
2249
2244
  isSuccess: boolean;
2250
2245
  isFailed: boolean;
2251
2246
  isCancelled: boolean;
2247
+ isTest: boolean;
2248
+ createdAt: Date;
2252
2249
  updatedAt: Date;
2253
- startedAt?: Date | undefined;
2250
+ costInCents: number;
2251
+ baseCostInCents: number;
2252
+ durationMs: number;
2254
2253
  idempotencyKey?: string | undefined;
2255
- version?: string | undefined;
2256
- metadata?: Record<string, any> | undefined;
2257
2254
  ttl?: string | undefined;
2255
+ metadata?: Record<string, any> | undefined;
2258
2256
  batchId?: string | undefined;
2257
+ version?: string | undefined;
2258
+ startedAt?: Date | undefined;
2259
2259
  finishedAt?: Date | undefined;
2260
2260
  delayedUntil?: Date | undefined;
2261
2261
  expiredAt?: Date | undefined;
@@ -2289,234 +2289,234 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2289
2289
  durationMs: z.ZodNumber;
2290
2290
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2291
2291
  }, "strip", z.ZodTypeAny, {
2292
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2293
2292
  id: string;
2293
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2294
2294
  tags: string[];
2295
- isTest: boolean;
2296
- createdAt: Date;
2297
- durationMs: number;
2298
- costInCents: number;
2299
- baseCostInCents: number;
2300
2295
  taskIdentifier: string;
2301
2296
  depth: number;
2302
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2297
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2303
2298
  isQueued: boolean;
2304
2299
  isExecuting: boolean;
2305
2300
  isCompleted: boolean;
2306
2301
  isSuccess: boolean;
2307
2302
  isFailed: boolean;
2308
2303
  isCancelled: boolean;
2304
+ isTest: boolean;
2305
+ createdAt: Date;
2309
2306
  updatedAt: Date;
2310
- startedAt?: Date | undefined;
2307
+ costInCents: number;
2308
+ baseCostInCents: number;
2309
+ durationMs: number;
2311
2310
  idempotencyKey?: string | undefined;
2312
- version?: string | undefined;
2313
- metadata?: Record<string, any> | undefined;
2314
2311
  ttl?: string | undefined;
2312
+ metadata?: Record<string, any> | undefined;
2315
2313
  batchId?: string | undefined;
2314
+ version?: string | undefined;
2315
+ startedAt?: Date | undefined;
2316
2316
  finishedAt?: Date | undefined;
2317
2317
  delayedUntil?: Date | undefined;
2318
2318
  expiredAt?: Date | undefined;
2319
2319
  }, {
2320
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2321
2320
  id: string;
2321
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2322
2322
  tags: string[];
2323
- isTest: boolean;
2324
- createdAt: Date;
2325
- durationMs: number;
2326
- costInCents: number;
2327
- baseCostInCents: number;
2328
2323
  taskIdentifier: string;
2329
2324
  depth: number;
2330
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2325
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2331
2326
  isQueued: boolean;
2332
2327
  isExecuting: boolean;
2333
2328
  isCompleted: boolean;
2334
2329
  isSuccess: boolean;
2335
2330
  isFailed: boolean;
2336
2331
  isCancelled: boolean;
2332
+ isTest: boolean;
2333
+ createdAt: Date;
2337
2334
  updatedAt: Date;
2338
- startedAt?: Date | undefined;
2335
+ costInCents: number;
2336
+ baseCostInCents: number;
2337
+ durationMs: number;
2339
2338
  idempotencyKey?: string | undefined;
2340
- version?: string | undefined;
2341
- metadata?: Record<string, any> | undefined;
2342
2339
  ttl?: string | undefined;
2340
+ metadata?: Record<string, any> | undefined;
2343
2341
  batchId?: string | undefined;
2342
+ version?: string | undefined;
2343
+ startedAt?: Date | undefined;
2344
2344
  finishedAt?: Date | undefined;
2345
2345
  delayedUntil?: Date | undefined;
2346
2346
  expiredAt?: Date | undefined;
2347
2347
  }>, "many">>;
2348
2348
  }, "strip", z.ZodTypeAny, {
2349
2349
  root?: {
2350
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2351
2350
  id: string;
2351
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2352
2352
  tags: string[];
2353
- isTest: boolean;
2354
- createdAt: Date;
2355
- durationMs: number;
2356
- costInCents: number;
2357
- baseCostInCents: number;
2358
2353
  taskIdentifier: string;
2359
2354
  depth: number;
2360
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2355
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2361
2356
  isQueued: boolean;
2362
2357
  isExecuting: boolean;
2363
2358
  isCompleted: boolean;
2364
2359
  isSuccess: boolean;
2365
2360
  isFailed: boolean;
2366
2361
  isCancelled: boolean;
2362
+ isTest: boolean;
2363
+ createdAt: Date;
2367
2364
  updatedAt: Date;
2368
- startedAt?: Date | undefined;
2365
+ costInCents: number;
2366
+ baseCostInCents: number;
2367
+ durationMs: number;
2369
2368
  idempotencyKey?: string | undefined;
2370
- version?: string | undefined;
2371
- metadata?: Record<string, any> | undefined;
2372
2369
  ttl?: string | undefined;
2370
+ metadata?: Record<string, any> | undefined;
2373
2371
  batchId?: string | undefined;
2372
+ version?: string | undefined;
2373
+ startedAt?: Date | undefined;
2374
2374
  finishedAt?: Date | undefined;
2375
2375
  delayedUntil?: Date | undefined;
2376
2376
  expiredAt?: Date | undefined;
2377
2377
  } | undefined;
2378
2378
  parent?: {
2379
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2380
2379
  id: string;
2380
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2381
2381
  tags: string[];
2382
- isTest: boolean;
2383
- createdAt: Date;
2384
- durationMs: number;
2385
- costInCents: number;
2386
- baseCostInCents: number;
2387
2382
  taskIdentifier: string;
2388
2383
  depth: number;
2389
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2384
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2390
2385
  isQueued: boolean;
2391
2386
  isExecuting: boolean;
2392
2387
  isCompleted: boolean;
2393
2388
  isSuccess: boolean;
2394
2389
  isFailed: boolean;
2395
2390
  isCancelled: boolean;
2391
+ isTest: boolean;
2392
+ createdAt: Date;
2396
2393
  updatedAt: Date;
2397
- startedAt?: Date | undefined;
2394
+ costInCents: number;
2395
+ baseCostInCents: number;
2396
+ durationMs: number;
2398
2397
  idempotencyKey?: string | undefined;
2399
- version?: string | undefined;
2400
- metadata?: Record<string, any> | undefined;
2401
2398
  ttl?: string | undefined;
2399
+ metadata?: Record<string, any> | undefined;
2402
2400
  batchId?: string | undefined;
2401
+ version?: string | undefined;
2402
+ startedAt?: Date | undefined;
2403
2403
  finishedAt?: Date | undefined;
2404
2404
  delayedUntil?: Date | undefined;
2405
2405
  expiredAt?: Date | undefined;
2406
2406
  } | undefined;
2407
2407
  children?: {
2408
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2409
2408
  id: string;
2409
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2410
2410
  tags: string[];
2411
- isTest: boolean;
2412
- createdAt: Date;
2413
- durationMs: number;
2414
- costInCents: number;
2415
- baseCostInCents: number;
2416
2411
  taskIdentifier: string;
2417
2412
  depth: number;
2418
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2413
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2419
2414
  isQueued: boolean;
2420
2415
  isExecuting: boolean;
2421
2416
  isCompleted: boolean;
2422
2417
  isSuccess: boolean;
2423
2418
  isFailed: boolean;
2424
2419
  isCancelled: boolean;
2420
+ isTest: boolean;
2421
+ createdAt: Date;
2425
2422
  updatedAt: Date;
2426
- startedAt?: Date | undefined;
2423
+ costInCents: number;
2424
+ baseCostInCents: number;
2425
+ durationMs: number;
2427
2426
  idempotencyKey?: string | undefined;
2428
- version?: string | undefined;
2429
- metadata?: Record<string, any> | undefined;
2430
2427
  ttl?: string | undefined;
2428
+ metadata?: Record<string, any> | undefined;
2431
2429
  batchId?: string | undefined;
2430
+ version?: string | undefined;
2431
+ startedAt?: Date | undefined;
2432
2432
  finishedAt?: Date | undefined;
2433
2433
  delayedUntil?: Date | undefined;
2434
2434
  expiredAt?: Date | undefined;
2435
2435
  }[] | undefined;
2436
2436
  }, {
2437
2437
  root?: {
2438
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2439
2438
  id: string;
2439
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2440
2440
  tags: string[];
2441
- isTest: boolean;
2442
- createdAt: Date;
2443
- durationMs: number;
2444
- costInCents: number;
2445
- baseCostInCents: number;
2446
2441
  taskIdentifier: string;
2447
2442
  depth: number;
2448
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2443
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2449
2444
  isQueued: boolean;
2450
2445
  isExecuting: boolean;
2451
2446
  isCompleted: boolean;
2452
2447
  isSuccess: boolean;
2453
2448
  isFailed: boolean;
2454
2449
  isCancelled: boolean;
2450
+ isTest: boolean;
2451
+ createdAt: Date;
2455
2452
  updatedAt: Date;
2456
- startedAt?: Date | undefined;
2453
+ costInCents: number;
2454
+ baseCostInCents: number;
2455
+ durationMs: number;
2457
2456
  idempotencyKey?: string | undefined;
2458
- version?: string | undefined;
2459
- metadata?: Record<string, any> | undefined;
2460
2457
  ttl?: string | undefined;
2458
+ metadata?: Record<string, any> | undefined;
2461
2459
  batchId?: string | undefined;
2460
+ version?: string | undefined;
2461
+ startedAt?: Date | undefined;
2462
2462
  finishedAt?: Date | undefined;
2463
2463
  delayedUntil?: Date | undefined;
2464
2464
  expiredAt?: Date | undefined;
2465
2465
  } | undefined;
2466
2466
  parent?: {
2467
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2468
2467
  id: string;
2468
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2469
2469
  tags: string[];
2470
- isTest: boolean;
2471
- createdAt: Date;
2472
- durationMs: number;
2473
- costInCents: number;
2474
- baseCostInCents: number;
2475
2470
  taskIdentifier: string;
2476
2471
  depth: number;
2477
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2472
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2478
2473
  isQueued: boolean;
2479
2474
  isExecuting: boolean;
2480
2475
  isCompleted: boolean;
2481
2476
  isSuccess: boolean;
2482
2477
  isFailed: boolean;
2483
2478
  isCancelled: boolean;
2479
+ isTest: boolean;
2480
+ createdAt: Date;
2484
2481
  updatedAt: Date;
2485
- startedAt?: Date | undefined;
2482
+ costInCents: number;
2483
+ baseCostInCents: number;
2484
+ durationMs: number;
2486
2485
  idempotencyKey?: string | undefined;
2487
- version?: string | undefined;
2488
- metadata?: Record<string, any> | undefined;
2489
2486
  ttl?: string | undefined;
2487
+ metadata?: Record<string, any> | undefined;
2490
2488
  batchId?: string | undefined;
2489
+ version?: string | undefined;
2490
+ startedAt?: Date | undefined;
2491
2491
  finishedAt?: Date | undefined;
2492
2492
  delayedUntil?: Date | undefined;
2493
2493
  expiredAt?: Date | undefined;
2494
2494
  } | undefined;
2495
2495
  children?: {
2496
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2497
2496
  id: string;
2497
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2498
2498
  tags: string[];
2499
- isTest: boolean;
2500
- createdAt: Date;
2501
- durationMs: number;
2502
- costInCents: number;
2503
- baseCostInCents: number;
2504
2499
  taskIdentifier: string;
2505
2500
  depth: number;
2506
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2501
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2507
2502
  isQueued: boolean;
2508
2503
  isExecuting: boolean;
2509
2504
  isCompleted: boolean;
2510
2505
  isSuccess: boolean;
2511
2506
  isFailed: boolean;
2512
2507
  isCancelled: boolean;
2508
+ isTest: boolean;
2509
+ createdAt: Date;
2513
2510
  updatedAt: Date;
2514
- startedAt?: Date | undefined;
2511
+ costInCents: number;
2512
+ baseCostInCents: number;
2513
+ durationMs: number;
2515
2514
  idempotencyKey?: string | undefined;
2516
- version?: string | undefined;
2517
- metadata?: Record<string, any> | undefined;
2518
2515
  ttl?: string | undefined;
2516
+ metadata?: Record<string, any> | undefined;
2519
2517
  batchId?: string | undefined;
2518
+ version?: string | undefined;
2519
+ startedAt?: Date | undefined;
2520
2520
  finishedAt?: Date | undefined;
2521
2521
  delayedUntil?: Date | undefined;
2522
2522
  expiredAt?: Date | undefined;
@@ -2543,28 +2543,28 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2543
2543
  stackTrace?: string | undefined;
2544
2544
  }>>;
2545
2545
  }, "strip", z.ZodTypeAny, {
2546
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2547
2546
  id: string;
2547
+ status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2548
2548
  createdAt: Date;
2549
2549
  updatedAt: Date;
2550
- startedAt?: Date | undefined;
2551
2550
  error?: {
2552
2551
  message: string;
2553
2552
  name?: string | undefined;
2554
2553
  stackTrace?: string | undefined;
2555
2554
  } | undefined;
2555
+ startedAt?: Date | undefined;
2556
2556
  completedAt?: Date | undefined;
2557
2557
  }, {
2558
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2559
2558
  id: string;
2559
+ status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2560
2560
  createdAt: Date;
2561
2561
  updatedAt: Date;
2562
- startedAt?: Date | undefined;
2563
2562
  error?: {
2564
2563
  message: string;
2565
2564
  name?: string | undefined;
2566
2565
  stackTrace?: string | undefined;
2567
2566
  } | undefined;
2567
+ startedAt?: Date | undefined;
2568
2568
  completedAt?: Date | undefined;
2569
2569
  }>>, "many">;
2570
2570
  attemptCount: z.ZodDefault<z.ZodNumber>;
@@ -2596,304 +2596,304 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2596
2596
  durationMs: z.ZodNumber;
2597
2597
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2598
2598
  }, "strip", z.ZodTypeAny, {
2599
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2600
2599
  id: string;
2600
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2601
2601
  tags: string[];
2602
- isTest: boolean;
2603
- createdAt: Date;
2604
- durationMs: number;
2605
- costInCents: number;
2606
- baseCostInCents: number;
2607
2602
  taskIdentifier: string;
2608
- depth: number;
2609
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2610
- isQueued: boolean;
2611
- isExecuting: boolean;
2612
- isCompleted: boolean;
2613
- isSuccess: boolean;
2614
- isFailed: boolean;
2615
- isCancelled: boolean;
2616
- updatedAt: Date;
2617
2603
  relatedRuns: {
2618
2604
  root?: {
2619
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2620
2605
  id: string;
2606
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2621
2607
  tags: string[];
2622
- isTest: boolean;
2623
- createdAt: Date;
2624
- durationMs: number;
2625
- costInCents: number;
2626
- baseCostInCents: number;
2627
2608
  taskIdentifier: string;
2628
2609
  depth: number;
2629
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2610
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2630
2611
  isQueued: boolean;
2631
2612
  isExecuting: boolean;
2632
2613
  isCompleted: boolean;
2633
2614
  isSuccess: boolean;
2634
2615
  isFailed: boolean;
2635
2616
  isCancelled: boolean;
2617
+ isTest: boolean;
2618
+ createdAt: Date;
2636
2619
  updatedAt: Date;
2637
- startedAt?: Date | undefined;
2620
+ costInCents: number;
2621
+ baseCostInCents: number;
2622
+ durationMs: number;
2638
2623
  idempotencyKey?: string | undefined;
2639
- version?: string | undefined;
2640
- metadata?: Record<string, any> | undefined;
2641
2624
  ttl?: string | undefined;
2625
+ metadata?: Record<string, any> | undefined;
2642
2626
  batchId?: string | undefined;
2627
+ version?: string | undefined;
2628
+ startedAt?: Date | undefined;
2643
2629
  finishedAt?: Date | undefined;
2644
2630
  delayedUntil?: Date | undefined;
2645
2631
  expiredAt?: Date | undefined;
2646
2632
  } | undefined;
2647
2633
  parent?: {
2648
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2649
2634
  id: string;
2635
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2650
2636
  tags: string[];
2651
- isTest: boolean;
2652
- createdAt: Date;
2653
- durationMs: number;
2654
- costInCents: number;
2655
- baseCostInCents: number;
2656
2637
  taskIdentifier: string;
2657
2638
  depth: number;
2658
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2639
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2659
2640
  isQueued: boolean;
2660
2641
  isExecuting: boolean;
2661
2642
  isCompleted: boolean;
2662
2643
  isSuccess: boolean;
2663
2644
  isFailed: boolean;
2664
2645
  isCancelled: boolean;
2646
+ isTest: boolean;
2647
+ createdAt: Date;
2665
2648
  updatedAt: Date;
2666
- startedAt?: Date | undefined;
2649
+ costInCents: number;
2650
+ baseCostInCents: number;
2651
+ durationMs: number;
2667
2652
  idempotencyKey?: string | undefined;
2668
- version?: string | undefined;
2669
- metadata?: Record<string, any> | undefined;
2670
2653
  ttl?: string | undefined;
2654
+ metadata?: Record<string, any> | undefined;
2671
2655
  batchId?: string | undefined;
2656
+ version?: string | undefined;
2657
+ startedAt?: Date | undefined;
2672
2658
  finishedAt?: Date | undefined;
2673
2659
  delayedUntil?: Date | undefined;
2674
2660
  expiredAt?: Date | undefined;
2675
2661
  } | undefined;
2676
2662
  children?: {
2677
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2678
2663
  id: string;
2664
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2679
2665
  tags: string[];
2680
- isTest: boolean;
2681
- createdAt: Date;
2682
- durationMs: number;
2683
- costInCents: number;
2684
- baseCostInCents: number;
2685
2666
  taskIdentifier: string;
2686
2667
  depth: number;
2687
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2668
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2688
2669
  isQueued: boolean;
2689
2670
  isExecuting: boolean;
2690
2671
  isCompleted: boolean;
2691
2672
  isSuccess: boolean;
2692
2673
  isFailed: boolean;
2693
2674
  isCancelled: boolean;
2675
+ isTest: boolean;
2676
+ createdAt: Date;
2694
2677
  updatedAt: Date;
2695
- startedAt?: Date | undefined;
2678
+ costInCents: number;
2679
+ baseCostInCents: number;
2680
+ durationMs: number;
2696
2681
  idempotencyKey?: string | undefined;
2697
- version?: string | undefined;
2698
- metadata?: Record<string, any> | undefined;
2699
2682
  ttl?: string | undefined;
2683
+ metadata?: Record<string, any> | undefined;
2700
2684
  batchId?: string | undefined;
2685
+ version?: string | undefined;
2686
+ startedAt?: Date | undefined;
2701
2687
  finishedAt?: Date | undefined;
2702
2688
  delayedUntil?: Date | undefined;
2703
2689
  expiredAt?: Date | undefined;
2704
2690
  }[] | undefined;
2705
2691
  };
2692
+ depth: number;
2693
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2694
+ isQueued: boolean;
2695
+ isExecuting: boolean;
2696
+ isCompleted: boolean;
2697
+ isSuccess: boolean;
2698
+ isFailed: boolean;
2699
+ isCancelled: boolean;
2700
+ isTest: boolean;
2701
+ createdAt: Date;
2702
+ updatedAt: Date;
2703
+ costInCents: number;
2704
+ baseCostInCents: number;
2705
+ durationMs: number;
2706
2706
  attempts: ({
2707
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2708
2707
  id: string;
2708
+ status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2709
2709
  createdAt: Date;
2710
2710
  updatedAt: Date;
2711
- startedAt?: Date | undefined;
2712
2711
  error?: {
2713
2712
  message: string;
2714
2713
  name?: string | undefined;
2715
2714
  stackTrace?: string | undefined;
2716
2715
  } | undefined;
2716
+ startedAt?: Date | undefined;
2717
2717
  completedAt?: Date | undefined;
2718
2718
  } | undefined)[];
2719
2719
  attemptCount: number;
2720
- output?: any;
2721
- startedAt?: Date | undefined;
2722
2720
  payload?: any;
2723
2721
  idempotencyKey?: string | undefined;
2724
- version?: string | undefined;
2725
- metadata?: Record<string, any> | undefined;
2726
2722
  ttl?: string | undefined;
2723
+ metadata?: Record<string, any> | undefined;
2724
+ payloadPresignedUrl?: string | undefined;
2725
+ output?: any;
2726
+ outputPresignedUrl?: string | undefined;
2727
+ error?: {
2728
+ message: string;
2729
+ name?: string | undefined;
2730
+ stackTrace?: string | undefined;
2731
+ } | undefined;
2727
2732
  schedule?: {
2728
2733
  id: string;
2729
2734
  generator: {
2730
2735
  type: "CRON";
2731
- description: string;
2732
2736
  expression: string;
2737
+ description: string;
2733
2738
  };
2734
2739
  externalId?: string | undefined;
2735
2740
  deduplicationKey?: string | undefined;
2736
2741
  } | undefined;
2737
2742
  batchId?: string | undefined;
2738
- error?: {
2739
- message: string;
2740
- name?: string | undefined;
2741
- stackTrace?: string | undefined;
2742
- } | undefined;
2743
+ version?: string | undefined;
2744
+ startedAt?: Date | undefined;
2743
2745
  finishedAt?: Date | undefined;
2744
2746
  delayedUntil?: Date | undefined;
2745
2747
  expiredAt?: Date | undefined;
2746
- payloadPresignedUrl?: string | undefined;
2747
- outputPresignedUrl?: string | undefined;
2748
2748
  }, {
2749
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2750
2749
  id: string;
2751
- tags: string[];
2752
- isTest: boolean;
2753
- createdAt: Date;
2754
- durationMs: number;
2755
- costInCents: number;
2756
- baseCostInCents: number;
2750
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2751
+ tags: string[];
2757
2752
  taskIdentifier: string;
2758
- depth: number;
2759
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2760
- isQueued: boolean;
2761
- isExecuting: boolean;
2762
- isCompleted: boolean;
2763
- isSuccess: boolean;
2764
- isFailed: boolean;
2765
- isCancelled: boolean;
2766
- updatedAt: Date;
2767
2753
  relatedRuns: {
2768
2754
  root?: {
2769
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2770
2755
  id: string;
2756
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2771
2757
  tags: string[];
2772
- isTest: boolean;
2773
- createdAt: Date;
2774
- durationMs: number;
2775
- costInCents: number;
2776
- baseCostInCents: number;
2777
2758
  taskIdentifier: string;
2778
2759
  depth: number;
2779
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2760
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2780
2761
  isQueued: boolean;
2781
2762
  isExecuting: boolean;
2782
2763
  isCompleted: boolean;
2783
2764
  isSuccess: boolean;
2784
2765
  isFailed: boolean;
2785
2766
  isCancelled: boolean;
2767
+ isTest: boolean;
2768
+ createdAt: Date;
2786
2769
  updatedAt: Date;
2787
- startedAt?: Date | undefined;
2770
+ costInCents: number;
2771
+ baseCostInCents: number;
2772
+ durationMs: number;
2788
2773
  idempotencyKey?: string | undefined;
2789
- version?: string | undefined;
2790
- metadata?: Record<string, any> | undefined;
2791
2774
  ttl?: string | undefined;
2775
+ metadata?: Record<string, any> | undefined;
2792
2776
  batchId?: string | undefined;
2777
+ version?: string | undefined;
2778
+ startedAt?: Date | undefined;
2793
2779
  finishedAt?: Date | undefined;
2794
2780
  delayedUntil?: Date | undefined;
2795
2781
  expiredAt?: Date | undefined;
2796
2782
  } | undefined;
2797
2783
  parent?: {
2798
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2799
2784
  id: string;
2785
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2800
2786
  tags: string[];
2801
- isTest: boolean;
2802
- createdAt: Date;
2803
- durationMs: number;
2804
- costInCents: number;
2805
- baseCostInCents: number;
2806
2787
  taskIdentifier: string;
2807
2788
  depth: number;
2808
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2789
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2809
2790
  isQueued: boolean;
2810
2791
  isExecuting: boolean;
2811
2792
  isCompleted: boolean;
2812
2793
  isSuccess: boolean;
2813
2794
  isFailed: boolean;
2814
2795
  isCancelled: boolean;
2796
+ isTest: boolean;
2797
+ createdAt: Date;
2815
2798
  updatedAt: Date;
2816
- startedAt?: Date | undefined;
2799
+ costInCents: number;
2800
+ baseCostInCents: number;
2801
+ durationMs: number;
2817
2802
  idempotencyKey?: string | undefined;
2818
- version?: string | undefined;
2819
- metadata?: Record<string, any> | undefined;
2820
2803
  ttl?: string | undefined;
2804
+ metadata?: Record<string, any> | undefined;
2821
2805
  batchId?: string | undefined;
2806
+ version?: string | undefined;
2807
+ startedAt?: Date | undefined;
2822
2808
  finishedAt?: Date | undefined;
2823
2809
  delayedUntil?: Date | undefined;
2824
2810
  expiredAt?: Date | undefined;
2825
2811
  } | undefined;
2826
2812
  children?: {
2827
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2828
2813
  id: string;
2814
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2829
2815
  tags: string[];
2830
- isTest: boolean;
2831
- createdAt: Date;
2832
- durationMs: number;
2833
- costInCents: number;
2834
- baseCostInCents: number;
2835
2816
  taskIdentifier: string;
2836
2817
  depth: number;
2837
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2818
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2838
2819
  isQueued: boolean;
2839
2820
  isExecuting: boolean;
2840
2821
  isCompleted: boolean;
2841
2822
  isSuccess: boolean;
2842
2823
  isFailed: boolean;
2843
2824
  isCancelled: boolean;
2825
+ isTest: boolean;
2826
+ createdAt: Date;
2844
2827
  updatedAt: Date;
2845
- startedAt?: Date | undefined;
2828
+ costInCents: number;
2829
+ baseCostInCents: number;
2830
+ durationMs: number;
2846
2831
  idempotencyKey?: string | undefined;
2847
- version?: string | undefined;
2848
- metadata?: Record<string, any> | undefined;
2849
2832
  ttl?: string | undefined;
2833
+ metadata?: Record<string, any> | undefined;
2850
2834
  batchId?: string | undefined;
2835
+ version?: string | undefined;
2836
+ startedAt?: Date | undefined;
2851
2837
  finishedAt?: Date | undefined;
2852
2838
  delayedUntil?: Date | undefined;
2853
2839
  expiredAt?: Date | undefined;
2854
2840
  }[] | undefined;
2855
2841
  };
2842
+ depth: number;
2843
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2844
+ isQueued: boolean;
2845
+ isExecuting: boolean;
2846
+ isCompleted: boolean;
2847
+ isSuccess: boolean;
2848
+ isFailed: boolean;
2849
+ isCancelled: boolean;
2850
+ isTest: boolean;
2851
+ createdAt: Date;
2852
+ updatedAt: Date;
2853
+ costInCents: number;
2854
+ baseCostInCents: number;
2855
+ durationMs: number;
2856
2856
  attempts: ({
2857
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2858
2857
  id: string;
2858
+ status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2859
2859
  createdAt: Date;
2860
2860
  updatedAt: Date;
2861
- startedAt?: Date | undefined;
2862
2861
  error?: {
2863
2862
  message: string;
2864
2863
  name?: string | undefined;
2865
2864
  stackTrace?: string | undefined;
2866
2865
  } | undefined;
2866
+ startedAt?: Date | undefined;
2867
2867
  completedAt?: Date | undefined;
2868
2868
  } | undefined)[];
2869
- output?: any;
2870
- startedAt?: Date | undefined;
2871
2869
  payload?: any;
2872
2870
  idempotencyKey?: string | undefined;
2873
- version?: string | undefined;
2874
- metadata?: Record<string, any> | undefined;
2875
2871
  ttl?: string | undefined;
2872
+ metadata?: Record<string, any> | undefined;
2873
+ payloadPresignedUrl?: string | undefined;
2874
+ output?: any;
2875
+ outputPresignedUrl?: string | undefined;
2876
+ error?: {
2877
+ message: string;
2878
+ name?: string | undefined;
2879
+ stackTrace?: string | undefined;
2880
+ } | undefined;
2876
2881
  schedule?: {
2877
2882
  id: string;
2878
2883
  generator: {
2879
2884
  type: "CRON";
2880
- description: string;
2881
2885
  expression: string;
2886
+ description: string;
2882
2887
  };
2883
2888
  externalId?: string | undefined;
2884
2889
  deduplicationKey?: string | undefined;
2885
2890
  } | undefined;
2886
2891
  batchId?: string | undefined;
2887
- error?: {
2888
- message: string;
2889
- name?: string | undefined;
2890
- stackTrace?: string | undefined;
2891
- } | undefined;
2892
+ version?: string | undefined;
2893
+ startedAt?: Date | undefined;
2892
2894
  finishedAt?: Date | undefined;
2893
2895
  delayedUntil?: Date | undefined;
2894
2896
  expiredAt?: Date | undefined;
2895
- payloadPresignedUrl?: string | undefined;
2896
- outputPresignedUrl?: string | undefined;
2897
2897
  attemptCount?: number | undefined;
2898
2898
  }>;
2899
2899
  export type RetrieveRunResponse = z.infer<typeof RetrieveRunResponse>;
@@ -2903,12 +2903,12 @@ export declare const ListRunResponseItem: z.ZodObject<{
2903
2903
  name: z.ZodString;
2904
2904
  user: z.ZodOptional<z.ZodString>;
2905
2905
  }, "strip", z.ZodTypeAny, {
2906
- name: string;
2907
2906
  id: string;
2907
+ name: string;
2908
2908
  user?: string | undefined;
2909
2909
  }, {
2910
- name: string;
2911
2910
  id: string;
2911
+ name: string;
2912
2912
  user?: string | undefined;
2913
2913
  }>;
2914
2914
  id: z.ZodString;
@@ -2936,14 +2936,9 @@ export declare const ListRunResponseItem: z.ZodObject<{
2936
2936
  durationMs: z.ZodNumber;
2937
2937
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2938
2938
  }, "strip", z.ZodTypeAny, {
2939
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2940
2939
  id: string;
2940
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2941
2941
  tags: string[];
2942
- isTest: boolean;
2943
- createdAt: Date;
2944
- durationMs: number;
2945
- costInCents: number;
2946
- baseCostInCents: number;
2947
2942
  taskIdentifier: string;
2948
2943
  isQueued: boolean;
2949
2944
  isExecuting: boolean;
@@ -2951,29 +2946,29 @@ export declare const ListRunResponseItem: z.ZodObject<{
2951
2946
  isSuccess: boolean;
2952
2947
  isFailed: boolean;
2953
2948
  isCancelled: boolean;
2949
+ isTest: boolean;
2950
+ createdAt: Date;
2954
2951
  updatedAt: Date;
2952
+ costInCents: number;
2953
+ baseCostInCents: number;
2954
+ durationMs: number;
2955
2955
  env: {
2956
- name: string;
2957
2956
  id: string;
2957
+ name: string;
2958
2958
  user?: string | undefined;
2959
2959
  };
2960
- startedAt?: Date | undefined;
2961
2960
  idempotencyKey?: string | undefined;
2962
- version?: string | undefined;
2963
- metadata?: Record<string, any> | undefined;
2964
2961
  ttl?: string | undefined;
2962
+ metadata?: Record<string, any> | undefined;
2963
+ version?: string | undefined;
2964
+ startedAt?: Date | undefined;
2965
2965
  finishedAt?: Date | undefined;
2966
2966
  delayedUntil?: Date | undefined;
2967
2967
  expiredAt?: Date | undefined;
2968
2968
  }, {
2969
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2970
2969
  id: string;
2970
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2971
2971
  tags: string[];
2972
- isTest: boolean;
2973
- createdAt: Date;
2974
- durationMs: number;
2975
- costInCents: number;
2976
- baseCostInCents: number;
2977
2972
  taskIdentifier: string;
2978
2973
  isQueued: boolean;
2979
2974
  isExecuting: boolean;
@@ -2981,17 +2976,22 @@ export declare const ListRunResponseItem: z.ZodObject<{
2981
2976
  isSuccess: boolean;
2982
2977
  isFailed: boolean;
2983
2978
  isCancelled: boolean;
2979
+ isTest: boolean;
2980
+ createdAt: Date;
2984
2981
  updatedAt: Date;
2982
+ costInCents: number;
2983
+ baseCostInCents: number;
2984
+ durationMs: number;
2985
2985
  env: {
2986
- name: string;
2987
2986
  id: string;
2987
+ name: string;
2988
2988
  user?: string | undefined;
2989
2989
  };
2990
- startedAt?: Date | undefined;
2991
2990
  idempotencyKey?: string | undefined;
2992
- version?: string | undefined;
2993
- metadata?: Record<string, any> | undefined;
2994
2991
  ttl?: string | undefined;
2992
+ metadata?: Record<string, any> | undefined;
2993
+ version?: string | undefined;
2994
+ startedAt?: Date | undefined;
2995
2995
  finishedAt?: Date | undefined;
2996
2996
  delayedUntil?: Date | undefined;
2997
2997
  expiredAt?: Date | undefined;
@@ -3004,12 +3004,12 @@ export declare const ListRunResponse: z.ZodObject<{
3004
3004
  name: z.ZodString;
3005
3005
  user: z.ZodOptional<z.ZodString>;
3006
3006
  }, "strip", z.ZodTypeAny, {
3007
- name: string;
3008
3007
  id: string;
3008
+ name: string;
3009
3009
  user?: string | undefined;
3010
3010
  }, {
3011
- name: string;
3012
3011
  id: string;
3012
+ name: string;
3013
3013
  user?: string | undefined;
3014
3014
  }>;
3015
3015
  id: z.ZodString;
@@ -3037,14 +3037,9 @@ export declare const ListRunResponse: z.ZodObject<{
3037
3037
  durationMs: z.ZodNumber;
3038
3038
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3039
3039
  }, "strip", z.ZodTypeAny, {
3040
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3041
3040
  id: string;
3041
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3042
3042
  tags: string[];
3043
- isTest: boolean;
3044
- createdAt: Date;
3045
- durationMs: number;
3046
- costInCents: number;
3047
- baseCostInCents: number;
3048
3043
  taskIdentifier: string;
3049
3044
  isQueued: boolean;
3050
3045
  isExecuting: boolean;
@@ -3052,29 +3047,29 @@ export declare const ListRunResponse: z.ZodObject<{
3052
3047
  isSuccess: boolean;
3053
3048
  isFailed: boolean;
3054
3049
  isCancelled: boolean;
3050
+ isTest: boolean;
3051
+ createdAt: Date;
3055
3052
  updatedAt: Date;
3053
+ costInCents: number;
3054
+ baseCostInCents: number;
3055
+ durationMs: number;
3056
3056
  env: {
3057
- name: string;
3058
3057
  id: string;
3058
+ name: string;
3059
3059
  user?: string | undefined;
3060
3060
  };
3061
- startedAt?: Date | undefined;
3062
3061
  idempotencyKey?: string | undefined;
3063
- version?: string | undefined;
3064
- metadata?: Record<string, any> | undefined;
3065
3062
  ttl?: string | undefined;
3063
+ metadata?: Record<string, any> | undefined;
3064
+ version?: string | undefined;
3065
+ startedAt?: Date | undefined;
3066
3066
  finishedAt?: Date | undefined;
3067
3067
  delayedUntil?: Date | undefined;
3068
3068
  expiredAt?: Date | undefined;
3069
3069
  }, {
3070
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3071
3070
  id: string;
3071
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3072
3072
  tags: string[];
3073
- isTest: boolean;
3074
- createdAt: Date;
3075
- durationMs: number;
3076
- costInCents: number;
3077
- baseCostInCents: number;
3078
3073
  taskIdentifier: string;
3079
3074
  isQueued: boolean;
3080
3075
  isExecuting: boolean;
@@ -3082,17 +3077,22 @@ export declare const ListRunResponse: z.ZodObject<{
3082
3077
  isSuccess: boolean;
3083
3078
  isFailed: boolean;
3084
3079
  isCancelled: boolean;
3080
+ isTest: boolean;
3081
+ createdAt: Date;
3085
3082
  updatedAt: Date;
3083
+ costInCents: number;
3084
+ baseCostInCents: number;
3085
+ durationMs: number;
3086
3086
  env: {
3087
- name: string;
3088
3087
  id: string;
3088
+ name: string;
3089
3089
  user?: string | undefined;
3090
3090
  };
3091
- startedAt?: Date | undefined;
3092
3091
  idempotencyKey?: string | undefined;
3093
- version?: string | undefined;
3094
- metadata?: Record<string, any> | undefined;
3095
3092
  ttl?: string | undefined;
3093
+ metadata?: Record<string, any> | undefined;
3094
+ version?: string | undefined;
3095
+ startedAt?: Date | undefined;
3096
3096
  finishedAt?: Date | undefined;
3097
3097
  delayedUntil?: Date | undefined;
3098
3098
  expiredAt?: Date | undefined;
@@ -3109,14 +3109,9 @@ export declare const ListRunResponse: z.ZodObject<{
3109
3109
  }>;
3110
3110
  }, "strip", z.ZodTypeAny, {
3111
3111
  data: {
3112
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3113
3112
  id: string;
3113
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3114
3114
  tags: string[];
3115
- isTest: boolean;
3116
- createdAt: Date;
3117
- durationMs: number;
3118
- costInCents: number;
3119
- baseCostInCents: number;
3120
3115
  taskIdentifier: string;
3121
3116
  isQueued: boolean;
3122
3117
  isExecuting: boolean;
@@ -3124,17 +3119,22 @@ export declare const ListRunResponse: z.ZodObject<{
3124
3119
  isSuccess: boolean;
3125
3120
  isFailed: boolean;
3126
3121
  isCancelled: boolean;
3122
+ isTest: boolean;
3123
+ createdAt: Date;
3127
3124
  updatedAt: Date;
3125
+ costInCents: number;
3126
+ baseCostInCents: number;
3127
+ durationMs: number;
3128
3128
  env: {
3129
- name: string;
3130
3129
  id: string;
3130
+ name: string;
3131
3131
  user?: string | undefined;
3132
3132
  };
3133
- startedAt?: Date | undefined;
3134
3133
  idempotencyKey?: string | undefined;
3135
- version?: string | undefined;
3136
- metadata?: Record<string, any> | undefined;
3137
3134
  ttl?: string | undefined;
3135
+ metadata?: Record<string, any> | undefined;
3136
+ version?: string | undefined;
3137
+ startedAt?: Date | undefined;
3138
3138
  finishedAt?: Date | undefined;
3139
3139
  delayedUntil?: Date | undefined;
3140
3140
  expiredAt?: Date | undefined;
@@ -3145,14 +3145,9 @@ export declare const ListRunResponse: z.ZodObject<{
3145
3145
  };
3146
3146
  }, {
3147
3147
  data: {
3148
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3149
3148
  id: string;
3149
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3150
3150
  tags: string[];
3151
- isTest: boolean;
3152
- createdAt: Date;
3153
- durationMs: number;
3154
- costInCents: number;
3155
- baseCostInCents: number;
3156
3151
  taskIdentifier: string;
3157
3152
  isQueued: boolean;
3158
3153
  isExecuting: boolean;
@@ -3160,17 +3155,22 @@ export declare const ListRunResponse: z.ZodObject<{
3160
3155
  isSuccess: boolean;
3161
3156
  isFailed: boolean;
3162
3157
  isCancelled: boolean;
3158
+ isTest: boolean;
3159
+ createdAt: Date;
3163
3160
  updatedAt: Date;
3161
+ costInCents: number;
3162
+ baseCostInCents: number;
3163
+ durationMs: number;
3164
3164
  env: {
3165
- name: string;
3166
3165
  id: string;
3166
+ name: string;
3167
3167
  user?: string | undefined;
3168
3168
  };
3169
- startedAt?: Date | undefined;
3170
3169
  idempotencyKey?: string | undefined;
3171
- version?: string | undefined;
3172
- metadata?: Record<string, any> | undefined;
3173
3170
  ttl?: string | undefined;
3171
+ metadata?: Record<string, any> | undefined;
3172
+ version?: string | undefined;
3173
+ startedAt?: Date | undefined;
3174
3174
  finishedAt?: Date | undefined;
3175
3175
  delayedUntil?: Date | undefined;
3176
3176
  expiredAt?: Date | undefined;
@@ -3185,11 +3185,11 @@ export declare const CreateEnvironmentVariableRequestBody: z.ZodObject<{
3185
3185
  name: z.ZodString;
3186
3186
  value: z.ZodString;
3187
3187
  }, "strip", z.ZodTypeAny, {
3188
- name: string;
3189
3188
  value: string;
3190
- }, {
3191
3189
  name: string;
3190
+ }, {
3192
3191
  value: string;
3192
+ name: string;
3193
3193
  }>;
3194
3194
  export type CreateEnvironmentVariableRequestBody = z.infer<typeof CreateEnvironmentVariableRequestBody>;
3195
3195
  export declare const UpdateEnvironmentVariableRequestBody: z.ZodObject<{
@@ -3231,21 +3231,21 @@ export declare const EnvironmentVariable: z.ZodObject<{
3231
3231
  name: z.ZodString;
3232
3232
  value: z.ZodString;
3233
3233
  }, "strip", z.ZodTypeAny, {
3234
- name: string;
3235
3234
  value: string;
3236
- }, {
3237
3235
  name: string;
3236
+ }, {
3238
3237
  value: string;
3238
+ name: string;
3239
3239
  }>;
3240
3240
  export declare const EnvironmentVariables: z.ZodArray<z.ZodObject<{
3241
3241
  name: z.ZodString;
3242
3242
  value: z.ZodString;
3243
3243
  }, "strip", z.ZodTypeAny, {
3244
- name: string;
3245
3244
  value: string;
3246
- }, {
3247
3245
  name: string;
3246
+ }, {
3248
3247
  value: string;
3248
+ name: string;
3249
3249
  }>, "many">;
3250
3250
  export type EnvironmentVariables = z.infer<typeof EnvironmentVariables>;
3251
3251
  export declare const UpdateMetadataRequestBody: z.ZodObject<{
@@ -3308,65 +3308,65 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3308
3308
  }>>>;
3309
3309
  }, "strip", z.ZodTypeAny, {
3310
3310
  number: number;
3311
- status: string;
3312
3311
  id: string;
3312
+ status: string;
3313
+ taskIdentifier: string;
3313
3314
  isTest: boolean;
3314
3315
  createdAt: Date;
3316
+ updatedAt: Date;
3315
3317
  costInCents: number;
3316
3318
  baseCostInCents: number;
3317
- taskIdentifier: string;
3318
- updatedAt: Date;
3319
3319
  friendlyId: string;
3320
3320
  usageDurationMs: number;
3321
3321
  runTags: string[] | null;
3322
- output?: string | null | undefined;
3323
- startedAt?: Date | null | undefined;
3324
3322
  payload?: string | null | undefined;
3325
- payloadType?: string | null | undefined;
3326
3323
  idempotencyKey?: string | null | undefined;
3327
- metadata?: string | null | undefined;
3324
+ payloadType?: string | null | undefined;
3328
3325
  ttl?: string | null | undefined;
3326
+ metadata?: string | null | undefined;
3329
3327
  metadataType?: string | null | undefined;
3328
+ output?: string | null | undefined;
3330
3329
  error?: {
3331
3330
  message: string;
3332
3331
  name?: string | undefined;
3333
3332
  stackTrace?: string | undefined;
3334
3333
  } | null | undefined;
3334
+ startedAt?: Date | null | undefined;
3335
3335
  expiredAt?: Date | null | undefined;
3336
3336
  completedAt?: Date | null | undefined;
3337
+ outputType?: string | null | undefined;
3337
3338
  delayUntil?: Date | null | undefined;
3338
3339
  queuedAt?: Date | null | undefined;
3339
- outputType?: string | null | undefined;
3340
3340
  }, {
3341
3341
  number: number;
3342
- status: string;
3343
3342
  id: string;
3343
+ status: string;
3344
+ taskIdentifier: string;
3344
3345
  isTest: boolean;
3345
3346
  createdAt: Date;
3347
+ updatedAt: Date;
3346
3348
  costInCents: number;
3347
3349
  baseCostInCents: number;
3348
- taskIdentifier: string;
3349
- updatedAt: Date;
3350
3350
  friendlyId: string;
3351
3351
  usageDurationMs: number;
3352
- output?: string | null | undefined;
3353
- startedAt?: Date | null | undefined;
3354
3352
  payload?: string | null | undefined;
3355
- payloadType?: string | null | undefined;
3356
3353
  idempotencyKey?: string | null | undefined;
3357
- metadata?: string | null | undefined;
3354
+ payloadType?: string | null | undefined;
3358
3355
  ttl?: string | null | undefined;
3356
+ metadata?: string | null | undefined;
3359
3357
  metadataType?: string | null | undefined;
3358
+ output?: string | null | undefined;
3360
3359
  error?: {
3361
3360
  message: string;
3362
3361
  name?: string | undefined;
3363
3362
  stackTrace?: string | undefined;
3364
3363
  } | null | undefined;
3364
+ startedAt?: Date | null | undefined;
3365
3365
  expiredAt?: Date | null | undefined;
3366
3366
  completedAt?: Date | null | undefined;
3367
+ outputType?: string | null | undefined;
3367
3368
  delayUntil?: Date | null | undefined;
3368
3369
  queuedAt?: Date | null | undefined;
3369
- outputType?: string | null | undefined;
3370
3370
  runTags?: string[] | null | undefined;
3371
3371
  }>;
3372
3372
  export type SubscribeRunRawShape = z.infer<typeof SubscribeRunRawShape>;
@@ -3380,15 +3380,15 @@ export declare const RetrieveBatchResponse: z.ZodObject<{
3380
3380
  updatedAt: z.ZodDate;
3381
3381
  runCount: z.ZodNumber;
3382
3382
  }, "strip", z.ZodTypeAny, {
3383
- status: "PENDING" | "COMPLETED";
3384
3383
  id: string;
3384
+ status: "COMPLETED" | "PENDING";
3385
3385
  createdAt: Date;
3386
3386
  updatedAt: Date;
3387
3387
  runCount: number;
3388
3388
  idempotencyKey?: string | undefined;
3389
3389
  }, {
3390
- status: "PENDING" | "COMPLETED";
3391
3390
  id: string;
3391
+ status: "COMPLETED" | "PENDING";
3392
3392
  createdAt: Date;
3393
3393
  updatedAt: Date;
3394
3394
  runCount: number;