@trigger.dev/core 0.0.0-prerelease-20241202134753 → 0.0.0-prerelease-20241202154035

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