@trigger.dev/core 0.0.0-v3-prerelease-20250108131948 → 0.0.0-v3-prerelease-20250108142426

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.
@@ -26,38 +26,38 @@ export declare const GetProjectResponseBody: z.ZodObject<{
26
26
  createdAt: z.ZodDate;
27
27
  }, "strip", z.ZodTypeAny, {
28
28
  id: string;
29
- createdAt: Date;
30
- slug: string;
31
29
  title: string;
30
+ slug: string;
31
+ createdAt: Date;
32
32
  }, {
33
33
  id: string;
34
- createdAt: Date;
35
- slug: string;
36
34
  title: string;
35
+ slug: string;
36
+ createdAt: Date;
37
37
  }>;
38
38
  }, "strip", z.ZodTypeAny, {
39
39
  name: string;
40
40
  id: string;
41
- createdAt: Date;
42
41
  slug: string;
43
42
  organization: {
44
43
  id: string;
45
- createdAt: Date;
46
- slug: string;
47
44
  title: string;
45
+ slug: string;
46
+ createdAt: Date;
48
47
  };
48
+ createdAt: Date;
49
49
  externalRef: string;
50
50
  }, {
51
51
  name: string;
52
52
  id: string;
53
- createdAt: Date;
54
53
  slug: string;
55
54
  organization: {
56
55
  id: string;
57
- createdAt: Date;
58
- slug: string;
59
56
  title: string;
57
+ slug: string;
58
+ createdAt: Date;
60
59
  };
60
+ createdAt: Date;
61
61
  externalRef: string;
62
62
  }>;
63
63
  export type GetProjectResponseBody = z.infer<typeof GetProjectResponseBody>;
@@ -74,38 +74,38 @@ export declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
74
74
  createdAt: z.ZodDate;
75
75
  }, "strip", z.ZodTypeAny, {
76
76
  id: string;
77
- createdAt: Date;
78
- slug: string;
79
77
  title: string;
78
+ slug: string;
79
+ createdAt: Date;
80
80
  }, {
81
81
  id: string;
82
- createdAt: Date;
83
- slug: string;
84
82
  title: string;
83
+ slug: string;
84
+ createdAt: Date;
85
85
  }>;
86
86
  }, "strip", z.ZodTypeAny, {
87
87
  name: string;
88
88
  id: string;
89
- createdAt: Date;
90
89
  slug: string;
91
90
  organization: {
92
91
  id: string;
93
- createdAt: Date;
94
- slug: string;
95
92
  title: string;
93
+ slug: string;
94
+ createdAt: Date;
96
95
  };
96
+ createdAt: Date;
97
97
  externalRef: string;
98
98
  }, {
99
99
  name: string;
100
100
  id: string;
101
- createdAt: Date;
102
101
  slug: string;
103
102
  organization: {
104
103
  id: string;
105
- createdAt: Date;
106
- slug: string;
107
104
  title: string;
105
+ slug: string;
106
+ createdAt: Date;
108
107
  };
108
+ createdAt: Date;
109
109
  externalRef: string;
110
110
  }>, "many">;
111
111
  export type GetProjectsResponseBody = z.infer<typeof GetProjectsResponseBody>;
@@ -154,29 +154,29 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
154
154
  maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
155
155
  randomize: z.ZodOptional<z.ZodBoolean>;
156
156
  }, "strip", z.ZodTypeAny, {
157
- maxAttempts?: number | undefined;
158
157
  factor?: number | undefined;
159
158
  minTimeoutInMs?: number | undefined;
160
159
  maxTimeoutInMs?: number | undefined;
161
160
  randomize?: boolean | undefined;
162
- }, {
163
161
  maxAttempts?: number | undefined;
162
+ }, {
164
163
  factor?: number | undefined;
165
164
  minTimeoutInMs?: number | undefined;
166
165
  maxTimeoutInMs?: number | undefined;
167
166
  randomize?: boolean | undefined;
167
+ maxAttempts?: number | undefined;
168
168
  }>>;
169
169
  machine: z.ZodOptional<z.ZodObject<{
170
170
  cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
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?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
175
+ memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | 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?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
179
+ memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | 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>;
@@ -195,56 +195,56 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
195
195
  id: string;
196
196
  filePath: string;
197
197
  exportName: string;
198
+ description?: string | undefined;
199
+ schedule?: {
200
+ cron: string;
201
+ timezone: string;
202
+ } | undefined;
203
+ retry?: {
204
+ factor?: number | undefined;
205
+ minTimeoutInMs?: number | undefined;
206
+ maxTimeoutInMs?: number | undefined;
207
+ randomize?: boolean | undefined;
208
+ maxAttempts?: number | undefined;
209
+ } | undefined;
198
210
  maxDuration?: number | undefined;
199
211
  queue?: {
200
212
  name?: string | undefined;
201
213
  concurrencyLimit?: number | undefined;
202
214
  } | undefined;
203
215
  machine?: {
204
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
205
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
216
+ cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
217
+ memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
206
218
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
207
219
  } | undefined;
220
+ triggerSource?: string | undefined;
221
+ }, {
222
+ id: string;
223
+ filePath: string;
224
+ exportName: string;
225
+ description?: string | undefined;
226
+ schedule?: {
227
+ cron: string;
228
+ timezone: string;
229
+ } | undefined;
208
230
  retry?: {
209
- maxAttempts?: number | undefined;
210
231
  factor?: number | undefined;
211
232
  minTimeoutInMs?: number | undefined;
212
233
  maxTimeoutInMs?: number | undefined;
213
234
  randomize?: boolean | undefined;
235
+ maxAttempts?: number | undefined;
214
236
  } | undefined;
215
- description?: string | undefined;
216
- triggerSource?: string | undefined;
217
- schedule?: {
218
- cron: string;
219
- timezone: string;
220
- } | undefined;
221
- }, {
222
- id: string;
223
- filePath: string;
224
- exportName: string;
225
237
  maxDuration?: number | undefined;
226
238
  queue?: {
227
239
  name?: string | undefined;
228
240
  concurrencyLimit?: number | undefined;
229
241
  } | undefined;
230
242
  machine?: {
231
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
232
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
243
+ cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
244
+ memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
233
245
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
234
246
  } | undefined;
235
- retry?: {
236
- maxAttempts?: number | undefined;
237
- factor?: number | undefined;
238
- minTimeoutInMs?: number | undefined;
239
- maxTimeoutInMs?: number | undefined;
240
- randomize?: boolean | undefined;
241
- } | undefined;
242
- description?: string | undefined;
243
247
  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,36 +263,36 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
263
263
  taskIds: string[];
264
264
  }>, "many">>;
265
265
  }, "strip", z.ZodTypeAny, {
266
- contentHash: string;
267
- packageVersion: string;
268
266
  tasks: {
269
267
  id: string;
270
268
  filePath: string;
271
269
  exportName: string;
270
+ description?: string | undefined;
271
+ schedule?: {
272
+ cron: string;
273
+ timezone: string;
274
+ } | undefined;
275
+ retry?: {
276
+ factor?: number | undefined;
277
+ minTimeoutInMs?: number | undefined;
278
+ maxTimeoutInMs?: number | undefined;
279
+ randomize?: boolean | undefined;
280
+ maxAttempts?: number | undefined;
281
+ } | undefined;
272
282
  maxDuration?: number | undefined;
273
283
  queue?: {
274
284
  name?: string | undefined;
275
285
  concurrencyLimit?: number | undefined;
276
286
  } | undefined;
277
287
  machine?: {
278
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
279
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
288
+ cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
289
+ memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
280
290
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
281
291
  } | undefined;
282
- retry?: {
283
- maxAttempts?: number | undefined;
284
- factor?: number | undefined;
285
- minTimeoutInMs?: number | undefined;
286
- maxTimeoutInMs?: number | undefined;
287
- randomize?: boolean | undefined;
288
- } | undefined;
289
- description?: string | undefined;
290
292
  triggerSource?: string | undefined;
291
- schedule?: {
292
- cron: string;
293
- timezone: string;
294
- } | undefined;
295
293
  }[];
294
+ contentHash: string;
295
+ packageVersion: string;
296
296
  cliPackageVersion?: string | undefined;
297
297
  sourceFiles?: {
298
298
  filePath: string;
@@ -301,36 +301,36 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
301
301
  taskIds: string[];
302
302
  }[] | undefined;
303
303
  }, {
304
- contentHash: string;
305
- packageVersion: string;
306
304
  tasks: {
307
305
  id: string;
308
306
  filePath: string;
309
307
  exportName: string;
308
+ description?: string | undefined;
309
+ schedule?: {
310
+ cron: string;
311
+ timezone: string;
312
+ } | undefined;
313
+ retry?: {
314
+ factor?: number | undefined;
315
+ minTimeoutInMs?: number | undefined;
316
+ maxTimeoutInMs?: number | undefined;
317
+ randomize?: boolean | undefined;
318
+ maxAttempts?: number | undefined;
319
+ } | undefined;
310
320
  maxDuration?: number | undefined;
311
321
  queue?: {
312
322
  name?: string | undefined;
313
323
  concurrencyLimit?: number | undefined;
314
324
  } | undefined;
315
325
  machine?: {
316
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
317
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
326
+ cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
327
+ memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
318
328
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
319
329
  } | undefined;
320
- retry?: {
321
- maxAttempts?: number | undefined;
322
- factor?: number | undefined;
323
- minTimeoutInMs?: number | undefined;
324
- maxTimeoutInMs?: number | undefined;
325
- randomize?: boolean | undefined;
326
- } | undefined;
327
- description?: string | undefined;
328
330
  triggerSource?: string | undefined;
329
- schedule?: {
330
- cron: string;
331
- timezone: string;
332
- } | undefined;
333
331
  }[];
332
+ contentHash: string;
333
+ packageVersion: string;
334
334
  cliPackageVersion?: string | undefined;
335
335
  sourceFiles?: {
336
336
  filePath: string;
@@ -342,36 +342,36 @@ 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;
347
345
  tasks: {
348
346
  id: string;
349
347
  filePath: string;
350
348
  exportName: string;
349
+ description?: string | undefined;
350
+ schedule?: {
351
+ cron: string;
352
+ timezone: string;
353
+ } | undefined;
354
+ retry?: {
355
+ factor?: number | undefined;
356
+ minTimeoutInMs?: number | undefined;
357
+ maxTimeoutInMs?: number | undefined;
358
+ randomize?: boolean | undefined;
359
+ maxAttempts?: number | undefined;
360
+ } | undefined;
351
361
  maxDuration?: number | undefined;
352
362
  queue?: {
353
363
  name?: string | undefined;
354
364
  concurrencyLimit?: number | undefined;
355
365
  } | undefined;
356
366
  machine?: {
357
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
358
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
367
+ cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
368
+ memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
359
369
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
360
370
  } | undefined;
361
- retry?: {
362
- maxAttempts?: number | undefined;
363
- factor?: number | undefined;
364
- minTimeoutInMs?: number | undefined;
365
- maxTimeoutInMs?: number | undefined;
366
- randomize?: boolean | undefined;
367
- } | undefined;
368
- description?: string | undefined;
369
371
  triggerSource?: string | undefined;
370
- schedule?: {
371
- cron: string;
372
- timezone: string;
373
- } | undefined;
374
372
  }[];
373
+ contentHash: string;
374
+ packageVersion: string;
375
375
  cliPackageVersion?: string | undefined;
376
376
  sourceFiles?: {
377
377
  filePath: string;
@@ -384,36 +384,36 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
384
384
  supportsLazyAttempts?: boolean | undefined;
385
385
  }, {
386
386
  metadata: {
387
- contentHash: string;
388
- packageVersion: string;
389
387
  tasks: {
390
388
  id: string;
391
389
  filePath: string;
392
390
  exportName: string;
391
+ description?: string | undefined;
392
+ schedule?: {
393
+ cron: string;
394
+ timezone: string;
395
+ } | undefined;
396
+ retry?: {
397
+ factor?: number | undefined;
398
+ minTimeoutInMs?: number | undefined;
399
+ maxTimeoutInMs?: number | undefined;
400
+ randomize?: boolean | undefined;
401
+ maxAttempts?: number | undefined;
402
+ } | undefined;
393
403
  maxDuration?: number | undefined;
394
404
  queue?: {
395
405
  name?: string | undefined;
396
406
  concurrencyLimit?: number | undefined;
397
407
  } | undefined;
398
408
  machine?: {
399
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
400
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
409
+ cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
410
+ memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
401
411
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
402
412
  } | undefined;
403
- retry?: {
404
- maxAttempts?: number | undefined;
405
- factor?: number | undefined;
406
- minTimeoutInMs?: number | undefined;
407
- maxTimeoutInMs?: number | undefined;
408
- randomize?: boolean | undefined;
409
- } | undefined;
410
- description?: string | undefined;
411
413
  triggerSource?: string | undefined;
412
- schedule?: {
413
- cron: string;
414
- timezone: string;
415
- } | undefined;
416
414
  }[];
415
+ contentHash: string;
416
+ packageVersion: string;
417
417
  cliPackageVersion?: string | undefined;
418
418
  sourceFiles?: {
419
419
  filePath: string;
@@ -431,12 +431,12 @@ export declare const CreateBackgroundWorkerResponse: z.ZodObject<{
431
431
  version: z.ZodString;
432
432
  contentHash: z.ZodString;
433
433
  }, "strip", z.ZodTypeAny, {
434
- id: string;
435
434
  version: string;
435
+ id: string;
436
436
  contentHash: string;
437
437
  }, {
438
- id: string;
439
438
  version: string;
439
+ id: string;
440
440
  contentHash: string;
441
441
  }>;
442
442
  export type CreateBackgroundWorkerResponse = z.infer<typeof CreateBackgroundWorkerResponse>;
@@ -475,9 +475,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
475
475
  maxDuration: z.ZodOptional<z.ZodNumber>;
476
476
  }, "strip", z.ZodTypeAny, {
477
477
  metadata?: any;
478
+ idempotencyKey?: string | undefined;
478
479
  payloadType?: string | undefined;
479
480
  tags?: string | string[] | undefined;
480
- idempotencyKey?: string | undefined;
481
481
  maxAttempts?: number | undefined;
482
482
  maxDuration?: number | undefined;
483
483
  queue?: {
@@ -497,9 +497,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
497
497
  metadataType?: string | undefined;
498
498
  }, {
499
499
  metadata?: any;
500
+ idempotencyKey?: string | undefined;
500
501
  payloadType?: string | undefined;
501
502
  tags?: string | string[] | undefined;
502
- idempotencyKey?: string | undefined;
503
503
  maxAttempts?: number | undefined;
504
504
  maxDuration?: number | undefined;
505
505
  queue?: {
@@ -521,9 +521,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
521
521
  }, "strip", z.ZodTypeAny, {
522
522
  options?: {
523
523
  metadata?: any;
524
+ idempotencyKey?: string | undefined;
524
525
  payloadType?: string | undefined;
525
526
  tags?: string | string[] | undefined;
526
- idempotencyKey?: string | undefined;
527
527
  maxAttempts?: number | undefined;
528
528
  maxDuration?: number | undefined;
529
529
  queue?: {
@@ -547,9 +547,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
547
547
  }, {
548
548
  options?: {
549
549
  metadata?: any;
550
+ idempotencyKey?: string | undefined;
550
551
  payloadType?: string | undefined;
551
552
  tags?: string | string[] | undefined;
552
- idempotencyKey?: string | undefined;
553
553
  maxAttempts?: number | undefined;
554
554
  maxDuration?: number | undefined;
555
555
  queue?: {
@@ -614,9 +614,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
614
614
  maxDuration: z.ZodOptional<z.ZodNumber>;
615
615
  }, "strip", z.ZodTypeAny, {
616
616
  metadata?: any;
617
+ idempotencyKey?: string | undefined;
617
618
  payloadType?: string | undefined;
618
619
  tags?: string | string[] | undefined;
619
- idempotencyKey?: string | undefined;
620
620
  maxAttempts?: number | undefined;
621
621
  maxDuration?: number | undefined;
622
622
  queue?: {
@@ -636,9 +636,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
636
636
  metadataType?: string | undefined;
637
637
  }, {
638
638
  metadata?: any;
639
+ idempotencyKey?: string | undefined;
639
640
  payloadType?: string | undefined;
640
641
  tags?: string | string[] | undefined;
641
- idempotencyKey?: string | undefined;
642
642
  maxAttempts?: number | undefined;
643
643
  maxDuration?: number | undefined;
644
644
  queue?: {
@@ -660,9 +660,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
660
660
  }, "strip", z.ZodTypeAny, {
661
661
  options?: {
662
662
  metadata?: any;
663
+ idempotencyKey?: string | undefined;
663
664
  payloadType?: string | undefined;
664
665
  tags?: string | string[] | undefined;
665
- idempotencyKey?: string | undefined;
666
666
  maxAttempts?: number | undefined;
667
667
  maxDuration?: number | undefined;
668
668
  queue?: {
@@ -686,9 +686,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
686
686
  }, {
687
687
  options?: {
688
688
  metadata?: any;
689
+ idempotencyKey?: string | undefined;
689
690
  payloadType?: string | undefined;
690
691
  tags?: string | string[] | undefined;
691
- idempotencyKey?: string | undefined;
692
692
  maxAttempts?: number | undefined;
693
693
  maxDuration?: number | undefined;
694
694
  queue?: {
@@ -715,9 +715,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
715
715
  items: {
716
716
  options?: {
717
717
  metadata?: any;
718
+ idempotencyKey?: string | undefined;
718
719
  payloadType?: string | undefined;
719
720
  tags?: string | string[] | undefined;
720
- idempotencyKey?: string | undefined;
721
721
  maxAttempts?: number | undefined;
722
722
  maxDuration?: number | undefined;
723
723
  queue?: {
@@ -744,9 +744,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
744
744
  items: {
745
745
  options?: {
746
746
  metadata?: any;
747
+ idempotencyKey?: string | undefined;
747
748
  payloadType?: string | undefined;
748
749
  tags?: string | string[] | undefined;
749
- idempotencyKey?: string | undefined;
750
750
  maxAttempts?: number | undefined;
751
751
  maxDuration?: number | undefined;
752
752
  queue?: {
@@ -802,9 +802,9 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
802
802
  parentAttempt: z.ZodOptional<z.ZodString>;
803
803
  }, "strip", z.ZodTypeAny, {
804
804
  metadata?: any;
805
+ idempotencyKey?: string | undefined;
805
806
  payloadType?: string | undefined;
806
807
  tags?: string | string[] | undefined;
807
- idempotencyKey?: string | undefined;
808
808
  maxAttempts?: number | undefined;
809
809
  maxDuration?: number | undefined;
810
810
  queue?: {
@@ -821,9 +821,9 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
821
821
  metadataType?: string | undefined;
822
822
  }, {
823
823
  metadata?: any;
824
+ idempotencyKey?: string | undefined;
824
825
  payloadType?: string | undefined;
825
826
  tags?: string | string[] | undefined;
826
- idempotencyKey?: string | undefined;
827
827
  maxAttempts?: number | undefined;
828
828
  maxDuration?: number | undefined;
829
829
  queue?: {
@@ -843,9 +843,9 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
843
843
  task: string;
844
844
  options?: {
845
845
  metadata?: any;
846
+ idempotencyKey?: string | undefined;
846
847
  payloadType?: string | undefined;
847
848
  tags?: string | string[] | undefined;
848
- idempotencyKey?: string | undefined;
849
849
  maxAttempts?: number | undefined;
850
850
  maxDuration?: number | undefined;
851
851
  queue?: {
@@ -867,9 +867,9 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
867
867
  task: string;
868
868
  options?: {
869
869
  metadata?: any;
870
+ idempotencyKey?: string | undefined;
870
871
  payloadType?: string | undefined;
871
872
  tags?: string | string[] | undefined;
872
- idempotencyKey?: string | undefined;
873
873
  maxAttempts?: number | undefined;
874
874
  maxDuration?: number | undefined;
875
875
  queue?: {
@@ -921,9 +921,9 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
921
921
  parentAttempt: z.ZodOptional<z.ZodString>;
922
922
  }, "strip", z.ZodTypeAny, {
923
923
  metadata?: any;
924
+ idempotencyKey?: string | undefined;
924
925
  payloadType?: string | undefined;
925
926
  tags?: string | string[] | undefined;
926
- idempotencyKey?: string | undefined;
927
927
  maxAttempts?: number | undefined;
928
928
  maxDuration?: number | undefined;
929
929
  queue?: {
@@ -940,9 +940,9 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
940
940
  metadataType?: string | undefined;
941
941
  }, {
942
942
  metadata?: any;
943
+ idempotencyKey?: string | undefined;
943
944
  payloadType?: string | undefined;
944
945
  tags?: string | string[] | undefined;
945
- idempotencyKey?: string | undefined;
946
946
  maxAttempts?: number | undefined;
947
947
  maxDuration?: number | undefined;
948
948
  queue?: {
@@ -962,9 +962,9 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
962
962
  task: string;
963
963
  options?: {
964
964
  metadata?: any;
965
+ idempotencyKey?: string | undefined;
965
966
  payloadType?: string | undefined;
966
967
  tags?: string | string[] | undefined;
967
- idempotencyKey?: string | undefined;
968
968
  maxAttempts?: number | undefined;
969
969
  maxDuration?: number | undefined;
970
970
  queue?: {
@@ -986,9 +986,9 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
986
986
  task: string;
987
987
  options?: {
988
988
  metadata?: any;
989
+ idempotencyKey?: string | undefined;
989
990
  payloadType?: string | undefined;
990
991
  tags?: string | string[] | undefined;
991
- idempotencyKey?: string | undefined;
992
992
  maxAttempts?: number | undefined;
993
993
  maxDuration?: number | undefined;
994
994
  queue?: {
@@ -1013,9 +1013,9 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1013
1013
  task: string;
1014
1014
  options?: {
1015
1015
  metadata?: any;
1016
+ idempotencyKey?: string | undefined;
1016
1017
  payloadType?: string | undefined;
1017
1018
  tags?: string | string[] | undefined;
1018
- idempotencyKey?: string | undefined;
1019
1019
  maxAttempts?: number | undefined;
1020
1020
  maxDuration?: number | undefined;
1021
1021
  queue?: {
@@ -1040,9 +1040,9 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1040
1040
  task: string;
1041
1041
  options?: {
1042
1042
  metadata?: any;
1043
+ idempotencyKey?: string | undefined;
1043
1044
  payloadType?: string | undefined;
1044
1045
  tags?: string | string[] | undefined;
1045
- idempotencyKey?: string | undefined;
1046
1046
  maxAttempts?: number | undefined;
1047
1047
  maxDuration?: number | undefined;
1048
1048
  queue?: {
@@ -1086,23 +1086,23 @@ export declare const BatchTriggerTaskV2Response: z.ZodObject<{
1086
1086
  }>, "many">;
1087
1087
  }, "strip", z.ZodTypeAny, {
1088
1088
  id: string;
1089
- isCached: boolean;
1090
1089
  runs: {
1091
1090
  id: string;
1092
1091
  taskIdentifier: string;
1093
1092
  isCached: boolean;
1094
1093
  idempotencyKey?: string | undefined;
1095
1094
  }[];
1095
+ isCached: boolean;
1096
1096
  idempotencyKey?: string | undefined;
1097
1097
  }, {
1098
1098
  id: string;
1099
- isCached: boolean;
1100
1099
  runs: {
1101
1100
  id: string;
1102
1101
  taskIdentifier: string;
1103
1102
  isCached: boolean;
1104
1103
  idempotencyKey?: string | undefined;
1105
1104
  }[];
1105
+ isCached: boolean;
1106
1106
  idempotencyKey?: string | undefined;
1107
1107
  }>;
1108
1108
  export type BatchTriggerTaskV2Response = z.infer<typeof BatchTriggerTaskV2Response>;
@@ -1124,25 +1124,25 @@ export declare const GetBatchResponseBody: z.ZodObject<{
1124
1124
  taskRunId: z.ZodString;
1125
1125
  status: z.ZodEnum<["PENDING", "CANCELED", "COMPLETED", "FAILED"]>;
1126
1126
  }, "strip", z.ZodTypeAny, {
1127
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1127
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
1128
1128
  id: string;
1129
1129
  taskRunId: string;
1130
1130
  }, {
1131
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1131
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
1132
1132
  id: string;
1133
1133
  taskRunId: string;
1134
1134
  }>, "many">;
1135
1135
  }, "strip", z.ZodTypeAny, {
1136
1136
  id: string;
1137
1137
  items: {
1138
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1138
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
1139
1139
  id: string;
1140
1140
  taskRunId: string;
1141
1141
  }[];
1142
1142
  }, {
1143
1143
  id: string;
1144
1144
  items: {
1145
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1145
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
1146
1146
  id: string;
1147
1147
  taskRunId: string;
1148
1148
  }[];
@@ -1240,11 +1240,11 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
1240
1240
  }>>>;
1241
1241
  registryHost: z.ZodOptional<z.ZodString>;
1242
1242
  }, "strip", z.ZodTypeAny, {
1243
- id: string;
1244
1243
  version: string;
1244
+ id: string;
1245
1245
  contentHash: string;
1246
- shortCode: string;
1247
1246
  imageTag: string;
1247
+ shortCode: string;
1248
1248
  externalBuildData?: {
1249
1249
  projectId: string;
1250
1250
  buildId: string;
@@ -1252,11 +1252,11 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
1252
1252
  } | null | undefined;
1253
1253
  registryHost?: string | undefined;
1254
1254
  }, {
1255
- id: string;
1256
1255
  version: string;
1256
+ id: string;
1257
1257
  contentHash: string;
1258
- shortCode: string;
1259
1258
  imageTag: string;
1259
+ shortCode: string;
1260
1260
  externalBuildData?: {
1261
1261
  projectId: string;
1262
1262
  buildId: string;
@@ -1376,48 +1376,48 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1376
1376
  exportName: z.ZodString;
1377
1377
  }, "strip", z.ZodTypeAny, {
1378
1378
  id: string;
1379
+ slug: string;
1379
1380
  filePath: string;
1380
1381
  exportName: string;
1381
- slug: string;
1382
1382
  }, {
1383
1383
  id: string;
1384
+ slug: string;
1384
1385
  filePath: string;
1385
1386
  exportName: string;
1386
- slug: string;
1387
1387
  }>, "many">;
1388
1388
  }, "strip", z.ZodTypeAny, {
1389
- id: string;
1390
1389
  version: string;
1390
+ id: string;
1391
1391
  tasks: {
1392
1392
  id: string;
1393
+ slug: string;
1393
1394
  filePath: string;
1394
1395
  exportName: string;
1395
- slug: string;
1396
1396
  }[];
1397
1397
  }, {
1398
- id: string;
1399
1398
  version: string;
1399
+ id: string;
1400
1400
  tasks: {
1401
1401
  id: string;
1402
+ slug: string;
1402
1403
  filePath: string;
1403
1404
  exportName: string;
1404
- slug: string;
1405
1405
  }[];
1406
1406
  }>>;
1407
1407
  }, "strip", z.ZodTypeAny, {
1408
- status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
1409
- id: string;
1408
+ status: "PENDING" | "CANCELED" | "TIMED_OUT" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1410
1409
  version: string;
1410
+ id: string;
1411
1411
  contentHash: string;
1412
1412
  shortCode: string;
1413
1413
  worker?: {
1414
- id: string;
1415
1414
  version: string;
1415
+ id: string;
1416
1416
  tasks: {
1417
1417
  id: string;
1418
+ slug: string;
1418
1419
  filePath: string;
1419
1420
  exportName: string;
1420
- slug: string;
1421
1421
  }[];
1422
1422
  } | undefined;
1423
1423
  imageReference?: string | null | undefined;
@@ -1428,19 +1428,19 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1428
1428
  stderr?: string | undefined;
1429
1429
  } | null | undefined;
1430
1430
  }, {
1431
- status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
1432
- id: string;
1431
+ status: "PENDING" | "CANCELED" | "TIMED_OUT" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1433
1432
  version: string;
1433
+ id: string;
1434
1434
  contentHash: string;
1435
1435
  shortCode: string;
1436
1436
  worker?: {
1437
- id: string;
1438
1437
  version: string;
1438
+ id: string;
1439
1439
  tasks: {
1440
1440
  id: string;
1441
+ slug: string;
1441
1442
  filePath: string;
1442
1443
  exportName: string;
1443
- slug: string;
1444
1444
  }[];
1445
1445
  } | undefined;
1446
1446
  imageReference?: string | null | undefined;
@@ -1570,14 +1570,14 @@ export declare const CreateScheduleOptions: z.ZodObject<{
1570
1570
  */
1571
1571
  timezone: z.ZodOptional<z.ZodString>;
1572
1572
  }, "strip", z.ZodTypeAny, {
1573
- task: string;
1574
1573
  cron: string;
1574
+ task: string;
1575
1575
  deduplicationKey: string;
1576
1576
  timezone?: string | undefined;
1577
1577
  externalId?: string | undefined;
1578
1578
  }, {
1579
- task: string;
1580
1579
  cron: string;
1580
+ task: string;
1581
1581
  deduplicationKey: string;
1582
1582
  timezone?: string | undefined;
1583
1583
  externalId?: string | undefined;
@@ -1624,13 +1624,13 @@ export declare const UpdateScheduleOptions: z.ZodObject<Omit<{
1624
1624
  */
1625
1625
  timezone: z.ZodOptional<z.ZodString>;
1626
1626
  }, "deduplicationKey">, "strip", z.ZodTypeAny, {
1627
- task: string;
1628
1627
  cron: string;
1628
+ task: string;
1629
1629
  timezone?: string | undefined;
1630
1630
  externalId?: string | undefined;
1631
1631
  }, {
1632
- task: string;
1633
1632
  cron: string;
1633
+ task: string;
1634
1634
  timezone?: string | undefined;
1635
1635
  externalId?: string | undefined;
1636
1636
  }>;
@@ -1687,9 +1687,9 @@ export declare const ScheduleObject: z.ZodObject<{
1687
1687
  }, "strip", z.ZodTypeAny, {
1688
1688
  type: "DECLARATIVE" | "IMPERATIVE";
1689
1689
  id: string;
1690
+ active: boolean;
1690
1691
  task: string;
1691
1692
  timezone: string;
1692
- active: boolean;
1693
1693
  generator: {
1694
1694
  type: "CRON";
1695
1695
  description: string;
@@ -1706,9 +1706,9 @@ export declare const ScheduleObject: z.ZodObject<{
1706
1706
  }, {
1707
1707
  type: "DECLARATIVE" | "IMPERATIVE";
1708
1708
  id: string;
1709
+ active: boolean;
1709
1710
  task: string;
1710
1711
  timezone: string;
1711
- active: boolean;
1712
1712
  generator: {
1713
1713
  type: "CRON";
1714
1714
  description: string;
@@ -1771,9 +1771,9 @@ export declare const ListSchedulesResult: z.ZodObject<{
1771
1771
  }, "strip", z.ZodTypeAny, {
1772
1772
  type: "DECLARATIVE" | "IMPERATIVE";
1773
1773
  id: string;
1774
+ active: boolean;
1774
1775
  task: string;
1775
1776
  timezone: string;
1776
- active: boolean;
1777
1777
  generator: {
1778
1778
  type: "CRON";
1779
1779
  description: string;
@@ -1790,9 +1790,9 @@ export declare const ListSchedulesResult: z.ZodObject<{
1790
1790
  }, {
1791
1791
  type: "DECLARATIVE" | "IMPERATIVE";
1792
1792
  id: string;
1793
+ active: boolean;
1793
1794
  task: string;
1794
1795
  timezone: string;
1795
- active: boolean;
1796
1796
  generator: {
1797
1797
  type: "CRON";
1798
1798
  description: string;
@@ -1824,9 +1824,9 @@ export declare const ListSchedulesResult: z.ZodObject<{
1824
1824
  data: {
1825
1825
  type: "DECLARATIVE" | "IMPERATIVE";
1826
1826
  id: string;
1827
+ active: boolean;
1827
1828
  task: string;
1828
1829
  timezone: string;
1829
- active: boolean;
1830
1830
  generator: {
1831
1831
  type: "CRON";
1832
1832
  description: string;
@@ -1850,9 +1850,9 @@ export declare const ListSchedulesResult: z.ZodObject<{
1850
1850
  data: {
1851
1851
  type: "DECLARATIVE" | "IMPERATIVE";
1852
1852
  id: string;
1853
+ active: boolean;
1853
1854
  task: string;
1854
1855
  timezone: string;
1855
- active: boolean;
1856
1856
  generator: {
1857
1857
  type: "CRON";
1858
1858
  description: string;
@@ -1979,11 +1979,12 @@ export declare const RelatedRunDetails: z.ZodObject<{
1979
1979
  durationMs: z.ZodNumber;
1980
1980
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1981
1981
  }, "strip", z.ZodTypeAny, {
1982
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
1982
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
1983
1983
  id: string;
1984
- tags: string[];
1984
+ updatedAt: Date;
1985
1985
  isTest: boolean;
1986
1986
  createdAt: Date;
1987
+ tags: string[];
1987
1988
  durationMs: number;
1988
1989
  costInCents: number;
1989
1990
  baseCostInCents: number;
@@ -1996,22 +1997,22 @@ export declare const RelatedRunDetails: z.ZodObject<{
1996
1997
  isSuccess: boolean;
1997
1998
  isFailed: boolean;
1998
1999
  isCancelled: boolean;
1999
- updatedAt: Date;
2000
+ version?: string | undefined;
2000
2001
  metadata?: Record<string, any> | undefined;
2001
2002
  startedAt?: Date | undefined;
2002
2003
  idempotencyKey?: string | undefined;
2003
- version?: string | undefined;
2004
2004
  ttl?: string | undefined;
2005
2005
  batchId?: string | undefined;
2006
2006
  finishedAt?: Date | undefined;
2007
2007
  delayedUntil?: Date | undefined;
2008
2008
  expiredAt?: Date | undefined;
2009
2009
  }, {
2010
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2010
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2011
2011
  id: string;
2012
- tags: string[];
2012
+ updatedAt: Date;
2013
2013
  isTest: boolean;
2014
2014
  createdAt: Date;
2015
+ tags: string[];
2015
2016
  durationMs: number;
2016
2017
  costInCents: number;
2017
2018
  baseCostInCents: number;
@@ -2024,11 +2025,10 @@ export declare const RelatedRunDetails: z.ZodObject<{
2024
2025
  isSuccess: boolean;
2025
2026
  isFailed: boolean;
2026
2027
  isCancelled: boolean;
2027
- updatedAt: Date;
2028
+ version?: string | undefined;
2028
2029
  metadata?: Record<string, any> | undefined;
2029
2030
  startedAt?: Date | undefined;
2030
2031
  idempotencyKey?: string | undefined;
2031
- version?: string | undefined;
2032
2032
  ttl?: string | undefined;
2033
2033
  batchId?: string | undefined;
2034
2034
  finishedAt?: Date | undefined;
@@ -2119,11 +2119,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2119
2119
  durationMs: z.ZodNumber;
2120
2120
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2121
2121
  }, "strip", z.ZodTypeAny, {
2122
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2122
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2123
2123
  id: string;
2124
- tags: string[];
2124
+ updatedAt: Date;
2125
2125
  isTest: boolean;
2126
2126
  createdAt: Date;
2127
+ tags: string[];
2127
2128
  durationMs: number;
2128
2129
  costInCents: number;
2129
2130
  baseCostInCents: number;
@@ -2136,22 +2137,22 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2136
2137
  isSuccess: boolean;
2137
2138
  isFailed: boolean;
2138
2139
  isCancelled: boolean;
2139
- updatedAt: Date;
2140
+ version?: string | undefined;
2140
2141
  metadata?: Record<string, any> | undefined;
2141
2142
  startedAt?: Date | undefined;
2142
2143
  idempotencyKey?: string | undefined;
2143
- version?: string | undefined;
2144
2144
  ttl?: string | undefined;
2145
2145
  batchId?: string | undefined;
2146
2146
  finishedAt?: Date | undefined;
2147
2147
  delayedUntil?: Date | undefined;
2148
2148
  expiredAt?: Date | undefined;
2149
2149
  }, {
2150
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2150
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2151
2151
  id: string;
2152
- tags: string[];
2152
+ updatedAt: Date;
2153
2153
  isTest: boolean;
2154
2154
  createdAt: Date;
2155
+ tags: string[];
2155
2156
  durationMs: number;
2156
2157
  costInCents: number;
2157
2158
  baseCostInCents: number;
@@ -2164,11 +2165,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2164
2165
  isSuccess: boolean;
2165
2166
  isFailed: boolean;
2166
2167
  isCancelled: boolean;
2167
- updatedAt: Date;
2168
+ version?: string | undefined;
2168
2169
  metadata?: Record<string, any> | undefined;
2169
2170
  startedAt?: Date | undefined;
2170
2171
  idempotencyKey?: string | undefined;
2171
- version?: string | undefined;
2172
2172
  ttl?: string | undefined;
2173
2173
  batchId?: string | undefined;
2174
2174
  finishedAt?: Date | undefined;
@@ -2204,11 +2204,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2204
2204
  durationMs: z.ZodNumber;
2205
2205
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2206
2206
  }, "strip", z.ZodTypeAny, {
2207
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2207
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2208
2208
  id: string;
2209
- tags: string[];
2209
+ updatedAt: Date;
2210
2210
  isTest: boolean;
2211
2211
  createdAt: Date;
2212
+ tags: string[];
2212
2213
  durationMs: number;
2213
2214
  costInCents: number;
2214
2215
  baseCostInCents: number;
@@ -2221,22 +2222,22 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2221
2222
  isSuccess: boolean;
2222
2223
  isFailed: boolean;
2223
2224
  isCancelled: boolean;
2224
- updatedAt: Date;
2225
+ version?: string | undefined;
2225
2226
  metadata?: Record<string, any> | undefined;
2226
2227
  startedAt?: Date | undefined;
2227
2228
  idempotencyKey?: string | undefined;
2228
- version?: string | undefined;
2229
2229
  ttl?: string | undefined;
2230
2230
  batchId?: string | undefined;
2231
2231
  finishedAt?: Date | undefined;
2232
2232
  delayedUntil?: Date | undefined;
2233
2233
  expiredAt?: Date | undefined;
2234
2234
  }, {
2235
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2235
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2236
2236
  id: string;
2237
- tags: string[];
2237
+ updatedAt: Date;
2238
2238
  isTest: boolean;
2239
2239
  createdAt: Date;
2240
+ tags: string[];
2240
2241
  durationMs: number;
2241
2242
  costInCents: number;
2242
2243
  baseCostInCents: number;
@@ -2249,11 +2250,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2249
2250
  isSuccess: boolean;
2250
2251
  isFailed: boolean;
2251
2252
  isCancelled: boolean;
2252
- updatedAt: Date;
2253
+ version?: string | undefined;
2253
2254
  metadata?: Record<string, any> | undefined;
2254
2255
  startedAt?: Date | undefined;
2255
2256
  idempotencyKey?: string | undefined;
2256
- version?: string | undefined;
2257
2257
  ttl?: string | undefined;
2258
2258
  batchId?: string | undefined;
2259
2259
  finishedAt?: Date | undefined;
@@ -2289,11 +2289,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2289
2289
  durationMs: z.ZodNumber;
2290
2290
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2291
2291
  }, "strip", z.ZodTypeAny, {
2292
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2292
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2293
2293
  id: string;
2294
- tags: string[];
2294
+ updatedAt: Date;
2295
2295
  isTest: boolean;
2296
2296
  createdAt: Date;
2297
+ tags: string[];
2297
2298
  durationMs: number;
2298
2299
  costInCents: number;
2299
2300
  baseCostInCents: number;
@@ -2306,22 +2307,22 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2306
2307
  isSuccess: boolean;
2307
2308
  isFailed: boolean;
2308
2309
  isCancelled: boolean;
2309
- updatedAt: Date;
2310
+ version?: string | undefined;
2310
2311
  metadata?: Record<string, any> | undefined;
2311
2312
  startedAt?: Date | undefined;
2312
2313
  idempotencyKey?: string | undefined;
2313
- version?: string | undefined;
2314
2314
  ttl?: string | undefined;
2315
2315
  batchId?: string | undefined;
2316
2316
  finishedAt?: Date | undefined;
2317
2317
  delayedUntil?: Date | undefined;
2318
2318
  expiredAt?: Date | undefined;
2319
2319
  }, {
2320
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2320
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2321
2321
  id: string;
2322
- tags: string[];
2322
+ updatedAt: Date;
2323
2323
  isTest: boolean;
2324
2324
  createdAt: Date;
2325
+ tags: string[];
2325
2326
  durationMs: number;
2326
2327
  costInCents: number;
2327
2328
  baseCostInCents: number;
@@ -2334,11 +2335,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2334
2335
  isSuccess: boolean;
2335
2336
  isFailed: boolean;
2336
2337
  isCancelled: boolean;
2337
- updatedAt: Date;
2338
+ version?: string | undefined;
2338
2339
  metadata?: Record<string, any> | undefined;
2339
2340
  startedAt?: Date | undefined;
2340
2341
  idempotencyKey?: string | undefined;
2341
- version?: string | undefined;
2342
2342
  ttl?: string | undefined;
2343
2343
  batchId?: string | undefined;
2344
2344
  finishedAt?: Date | undefined;
@@ -2347,11 +2347,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2347
2347
  }>, "many">>;
2348
2348
  }, "strip", z.ZodTypeAny, {
2349
2349
  root?: {
2350
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2350
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2351
2351
  id: string;
2352
- tags: string[];
2352
+ updatedAt: Date;
2353
2353
  isTest: boolean;
2354
2354
  createdAt: Date;
2355
+ tags: string[];
2355
2356
  durationMs: number;
2356
2357
  costInCents: number;
2357
2358
  baseCostInCents: number;
@@ -2364,11 +2365,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2364
2365
  isSuccess: boolean;
2365
2366
  isFailed: boolean;
2366
2367
  isCancelled: boolean;
2367
- updatedAt: Date;
2368
+ version?: string | undefined;
2368
2369
  metadata?: Record<string, any> | undefined;
2369
2370
  startedAt?: Date | undefined;
2370
2371
  idempotencyKey?: string | undefined;
2371
- version?: string | undefined;
2372
2372
  ttl?: string | undefined;
2373
2373
  batchId?: string | undefined;
2374
2374
  finishedAt?: Date | undefined;
@@ -2376,11 +2376,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2376
2376
  expiredAt?: Date | undefined;
2377
2377
  } | undefined;
2378
2378
  parent?: {
2379
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2379
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2380
2380
  id: string;
2381
- tags: string[];
2381
+ updatedAt: Date;
2382
2382
  isTest: boolean;
2383
2383
  createdAt: Date;
2384
+ tags: string[];
2384
2385
  durationMs: number;
2385
2386
  costInCents: number;
2386
2387
  baseCostInCents: number;
@@ -2393,11 +2394,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2393
2394
  isSuccess: boolean;
2394
2395
  isFailed: boolean;
2395
2396
  isCancelled: boolean;
2396
- updatedAt: Date;
2397
+ version?: string | undefined;
2397
2398
  metadata?: Record<string, any> | undefined;
2398
2399
  startedAt?: Date | undefined;
2399
2400
  idempotencyKey?: string | undefined;
2400
- version?: string | undefined;
2401
2401
  ttl?: string | undefined;
2402
2402
  batchId?: string | undefined;
2403
2403
  finishedAt?: Date | undefined;
@@ -2405,11 +2405,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2405
2405
  expiredAt?: Date | undefined;
2406
2406
  } | undefined;
2407
2407
  children?: {
2408
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2408
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2409
2409
  id: string;
2410
- tags: string[];
2410
+ updatedAt: Date;
2411
2411
  isTest: boolean;
2412
2412
  createdAt: Date;
2413
+ tags: string[];
2413
2414
  durationMs: number;
2414
2415
  costInCents: number;
2415
2416
  baseCostInCents: number;
@@ -2422,11 +2423,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2422
2423
  isSuccess: boolean;
2423
2424
  isFailed: boolean;
2424
2425
  isCancelled: boolean;
2425
- updatedAt: Date;
2426
+ version?: string | undefined;
2426
2427
  metadata?: Record<string, any> | undefined;
2427
2428
  startedAt?: Date | undefined;
2428
2429
  idempotencyKey?: string | undefined;
2429
- version?: string | undefined;
2430
2430
  ttl?: string | undefined;
2431
2431
  batchId?: string | undefined;
2432
2432
  finishedAt?: Date | undefined;
@@ -2435,11 +2435,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2435
2435
  }[] | undefined;
2436
2436
  }, {
2437
2437
  root?: {
2438
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2438
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2439
2439
  id: string;
2440
- tags: string[];
2440
+ updatedAt: Date;
2441
2441
  isTest: boolean;
2442
2442
  createdAt: Date;
2443
+ tags: string[];
2443
2444
  durationMs: number;
2444
2445
  costInCents: number;
2445
2446
  baseCostInCents: number;
@@ -2452,11 +2453,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2452
2453
  isSuccess: boolean;
2453
2454
  isFailed: boolean;
2454
2455
  isCancelled: boolean;
2455
- updatedAt: Date;
2456
+ version?: string | undefined;
2456
2457
  metadata?: Record<string, any> | undefined;
2457
2458
  startedAt?: Date | undefined;
2458
2459
  idempotencyKey?: string | undefined;
2459
- version?: string | undefined;
2460
2460
  ttl?: string | undefined;
2461
2461
  batchId?: string | undefined;
2462
2462
  finishedAt?: Date | undefined;
@@ -2464,11 +2464,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2464
2464
  expiredAt?: Date | undefined;
2465
2465
  } | undefined;
2466
2466
  parent?: {
2467
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2467
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2468
2468
  id: string;
2469
- tags: string[];
2469
+ updatedAt: Date;
2470
2470
  isTest: boolean;
2471
2471
  createdAt: Date;
2472
+ tags: string[];
2472
2473
  durationMs: number;
2473
2474
  costInCents: number;
2474
2475
  baseCostInCents: number;
@@ -2481,11 +2482,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2481
2482
  isSuccess: boolean;
2482
2483
  isFailed: boolean;
2483
2484
  isCancelled: boolean;
2484
- updatedAt: Date;
2485
+ version?: string | undefined;
2485
2486
  metadata?: Record<string, any> | undefined;
2486
2487
  startedAt?: Date | undefined;
2487
2488
  idempotencyKey?: string | undefined;
2488
- version?: string | undefined;
2489
2489
  ttl?: string | undefined;
2490
2490
  batchId?: string | undefined;
2491
2491
  finishedAt?: Date | undefined;
@@ -2493,11 +2493,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2493
2493
  expiredAt?: Date | undefined;
2494
2494
  } | undefined;
2495
2495
  children?: {
2496
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2496
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2497
2497
  id: string;
2498
- tags: string[];
2498
+ updatedAt: Date;
2499
2499
  isTest: boolean;
2500
2500
  createdAt: Date;
2501
+ tags: string[];
2501
2502
  durationMs: number;
2502
2503
  costInCents: number;
2503
2504
  baseCostInCents: number;
@@ -2510,11 +2511,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2510
2511
  isSuccess: boolean;
2511
2512
  isFailed: boolean;
2512
2513
  isCancelled: boolean;
2513
- updatedAt: Date;
2514
+ version?: string | undefined;
2514
2515
  metadata?: Record<string, any> | undefined;
2515
2516
  startedAt?: Date | undefined;
2516
2517
  idempotencyKey?: string | undefined;
2517
- version?: string | undefined;
2518
2518
  ttl?: string | undefined;
2519
2519
  batchId?: string | undefined;
2520
2520
  finishedAt?: Date | undefined;
@@ -2543,29 +2543,29 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2543
2543
  stackTrace?: string | undefined;
2544
2544
  }>>;
2545
2545
  }, "strip", z.ZodTypeAny, {
2546
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2546
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
2547
2547
  id: string;
2548
- createdAt: Date;
2549
2548
  updatedAt: Date;
2549
+ createdAt: Date;
2550
2550
  startedAt?: Date | undefined;
2551
+ completedAt?: Date | undefined;
2551
2552
  error?: {
2552
2553
  message: string;
2553
2554
  name?: string | undefined;
2554
2555
  stackTrace?: string | undefined;
2555
2556
  } | undefined;
2556
- completedAt?: Date | undefined;
2557
2557
  }, {
2558
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2558
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
2559
2559
  id: string;
2560
- createdAt: Date;
2561
2560
  updatedAt: Date;
2561
+ createdAt: Date;
2562
2562
  startedAt?: Date | undefined;
2563
+ completedAt?: Date | undefined;
2563
2564
  error?: {
2564
2565
  message: string;
2565
2566
  name?: string | undefined;
2566
2567
  stackTrace?: string | undefined;
2567
2568
  } | undefined;
2568
- completedAt?: Date | undefined;
2569
2569
  }>>, "many">;
2570
2570
  attemptCount: z.ZodDefault<z.ZodNumber>;
2571
2571
  depth: z.ZodNumber;
@@ -2596,32 +2596,37 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2596
2596
  durationMs: z.ZodNumber;
2597
2597
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2598
2598
  }, "strip", z.ZodTypeAny, {
2599
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2599
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2600
2600
  id: string;
2601
- tags: string[];
2601
+ attempts: ({
2602
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
2603
+ id: string;
2604
+ updatedAt: Date;
2605
+ createdAt: Date;
2606
+ startedAt?: Date | undefined;
2607
+ completedAt?: Date | undefined;
2608
+ error?: {
2609
+ message: string;
2610
+ name?: string | undefined;
2611
+ stackTrace?: string | undefined;
2612
+ } | undefined;
2613
+ } | undefined)[];
2614
+ updatedAt: Date;
2602
2615
  isTest: boolean;
2603
2616
  createdAt: Date;
2617
+ tags: string[];
2604
2618
  durationMs: number;
2605
2619
  costInCents: number;
2606
2620
  baseCostInCents: number;
2607
2621
  taskIdentifier: string;
2608
- attemptCount: number;
2609
- depth: number;
2610
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2611
- isQueued: boolean;
2612
- isExecuting: boolean;
2613
- isCompleted: boolean;
2614
- isSuccess: boolean;
2615
- isFailed: boolean;
2616
- isCancelled: boolean;
2617
- updatedAt: Date;
2618
2622
  relatedRuns: {
2619
2623
  root?: {
2620
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2624
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2621
2625
  id: string;
2622
- tags: string[];
2626
+ updatedAt: Date;
2623
2627
  isTest: boolean;
2624
2628
  createdAt: Date;
2629
+ tags: string[];
2625
2630
  durationMs: number;
2626
2631
  costInCents: number;
2627
2632
  baseCostInCents: number;
@@ -2634,11 +2639,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2634
2639
  isSuccess: boolean;
2635
2640
  isFailed: boolean;
2636
2641
  isCancelled: boolean;
2637
- updatedAt: Date;
2642
+ version?: string | undefined;
2638
2643
  metadata?: Record<string, any> | undefined;
2639
2644
  startedAt?: Date | undefined;
2640
2645
  idempotencyKey?: string | undefined;
2641
- version?: string | undefined;
2642
2646
  ttl?: string | undefined;
2643
2647
  batchId?: string | undefined;
2644
2648
  finishedAt?: Date | undefined;
@@ -2646,11 +2650,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2646
2650
  expiredAt?: Date | undefined;
2647
2651
  } | undefined;
2648
2652
  parent?: {
2649
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2653
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2650
2654
  id: string;
2651
- tags: string[];
2655
+ updatedAt: Date;
2652
2656
  isTest: boolean;
2653
2657
  createdAt: Date;
2658
+ tags: string[];
2654
2659
  durationMs: number;
2655
2660
  costInCents: number;
2656
2661
  baseCostInCents: number;
@@ -2663,11 +2668,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2663
2668
  isSuccess: boolean;
2664
2669
  isFailed: boolean;
2665
2670
  isCancelled: boolean;
2666
- updatedAt: Date;
2671
+ version?: string | undefined;
2667
2672
  metadata?: Record<string, any> | undefined;
2668
2673
  startedAt?: Date | undefined;
2669
2674
  idempotencyKey?: string | undefined;
2670
- version?: string | undefined;
2671
2675
  ttl?: string | undefined;
2672
2676
  batchId?: string | undefined;
2673
2677
  finishedAt?: Date | undefined;
@@ -2675,11 +2679,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2675
2679
  expiredAt?: Date | undefined;
2676
2680
  } | undefined;
2677
2681
  children?: {
2678
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2682
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2679
2683
  id: string;
2680
- tags: string[];
2684
+ updatedAt: Date;
2681
2685
  isTest: boolean;
2682
2686
  createdAt: Date;
2687
+ tags: string[];
2683
2688
  durationMs: number;
2684
2689
  costInCents: number;
2685
2690
  baseCostInCents: number;
@@ -2692,11 +2697,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2692
2697
  isSuccess: boolean;
2693
2698
  isFailed: boolean;
2694
2699
  isCancelled: boolean;
2695
- updatedAt: Date;
2700
+ version?: string | undefined;
2696
2701
  metadata?: Record<string, any> | undefined;
2697
2702
  startedAt?: Date | undefined;
2698
2703
  idempotencyKey?: string | undefined;
2699
- version?: string | undefined;
2700
2704
  ttl?: string | undefined;
2701
2705
  batchId?: string | undefined;
2702
2706
  finishedAt?: Date | undefined;
@@ -2704,31 +2708,26 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2704
2708
  expiredAt?: Date | undefined;
2705
2709
  }[] | undefined;
2706
2710
  };
2707
- attempts: ({
2708
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2709
- id: string;
2710
- createdAt: Date;
2711
- updatedAt: Date;
2712
- startedAt?: Date | undefined;
2713
- error?: {
2714
- message: string;
2715
- name?: string | undefined;
2716
- stackTrace?: string | undefined;
2717
- } | undefined;
2718
- completedAt?: Date | undefined;
2719
- } | undefined)[];
2720
- metadata?: Record<string, any> | undefined;
2711
+ depth: number;
2712
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2713
+ isQueued: boolean;
2714
+ isExecuting: boolean;
2715
+ isCompleted: boolean;
2716
+ isSuccess: boolean;
2717
+ isFailed: boolean;
2718
+ isCancelled: boolean;
2719
+ attemptCount: number;
2721
2720
  payload?: any;
2722
- startedAt?: Date | undefined;
2723
- idempotencyKey?: string | undefined;
2724
2721
  version?: string | undefined;
2722
+ metadata?: Record<string, any> | undefined;
2723
+ startedAt?: Date | undefined;
2724
+ output?: any;
2725
2725
  error?: {
2726
2726
  message: string;
2727
2727
  name?: string | undefined;
2728
2728
  stackTrace?: string | undefined;
2729
2729
  } | undefined;
2730
- output?: any;
2731
- ttl?: string | undefined;
2730
+ idempotencyKey?: string | undefined;
2732
2731
  schedule?: {
2733
2732
  id: string;
2734
2733
  generator: {
@@ -2739,38 +2738,45 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2739
2738
  externalId?: string | undefined;
2740
2739
  deduplicationKey?: string | undefined;
2741
2740
  } | undefined;
2741
+ ttl?: string | undefined;
2742
+ payloadPresignedUrl?: string | undefined;
2743
+ outputPresignedUrl?: string | undefined;
2742
2744
  batchId?: string | undefined;
2743
2745
  finishedAt?: Date | undefined;
2744
2746
  delayedUntil?: Date | undefined;
2745
2747
  expiredAt?: Date | undefined;
2746
- payloadPresignedUrl?: string | undefined;
2747
- outputPresignedUrl?: string | undefined;
2748
2748
  }, {
2749
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2749
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2750
2750
  id: string;
2751
- tags: string[];
2751
+ attempts: ({
2752
+ status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
2753
+ id: string;
2754
+ updatedAt: Date;
2755
+ createdAt: Date;
2756
+ startedAt?: Date | undefined;
2757
+ completedAt?: Date | undefined;
2758
+ error?: {
2759
+ message: string;
2760
+ name?: string | undefined;
2761
+ stackTrace?: string | undefined;
2762
+ } | undefined;
2763
+ } | undefined)[];
2764
+ updatedAt: Date;
2752
2765
  isTest: boolean;
2753
2766
  createdAt: Date;
2767
+ tags: string[];
2754
2768
  durationMs: number;
2755
2769
  costInCents: number;
2756
2770
  baseCostInCents: number;
2757
2771
  taskIdentifier: string;
2758
- depth: number;
2759
- triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2760
- isQueued: boolean;
2761
- isExecuting: boolean;
2762
- isCompleted: boolean;
2763
- isSuccess: boolean;
2764
- isFailed: boolean;
2765
- isCancelled: boolean;
2766
- updatedAt: Date;
2767
2772
  relatedRuns: {
2768
2773
  root?: {
2769
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2774
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2770
2775
  id: string;
2771
- tags: string[];
2776
+ updatedAt: Date;
2772
2777
  isTest: boolean;
2773
2778
  createdAt: Date;
2779
+ tags: string[];
2774
2780
  durationMs: number;
2775
2781
  costInCents: number;
2776
2782
  baseCostInCents: number;
@@ -2783,11 +2789,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2783
2789
  isSuccess: boolean;
2784
2790
  isFailed: boolean;
2785
2791
  isCancelled: boolean;
2786
- updatedAt: Date;
2792
+ version?: string | undefined;
2787
2793
  metadata?: Record<string, any> | undefined;
2788
2794
  startedAt?: Date | undefined;
2789
2795
  idempotencyKey?: string | undefined;
2790
- version?: string | undefined;
2791
2796
  ttl?: string | undefined;
2792
2797
  batchId?: string | undefined;
2793
2798
  finishedAt?: Date | undefined;
@@ -2795,11 +2800,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2795
2800
  expiredAt?: Date | undefined;
2796
2801
  } | undefined;
2797
2802
  parent?: {
2798
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2803
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2799
2804
  id: string;
2800
- tags: string[];
2805
+ updatedAt: Date;
2801
2806
  isTest: boolean;
2802
2807
  createdAt: Date;
2808
+ tags: string[];
2803
2809
  durationMs: number;
2804
2810
  costInCents: number;
2805
2811
  baseCostInCents: number;
@@ -2812,11 +2818,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2812
2818
  isSuccess: boolean;
2813
2819
  isFailed: boolean;
2814
2820
  isCancelled: boolean;
2815
- updatedAt: Date;
2821
+ version?: string | undefined;
2816
2822
  metadata?: Record<string, any> | undefined;
2817
2823
  startedAt?: Date | undefined;
2818
2824
  idempotencyKey?: string | undefined;
2819
- version?: string | undefined;
2820
2825
  ttl?: string | undefined;
2821
2826
  batchId?: string | undefined;
2822
2827
  finishedAt?: Date | undefined;
@@ -2824,11 +2829,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2824
2829
  expiredAt?: Date | undefined;
2825
2830
  } | undefined;
2826
2831
  children?: {
2827
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2832
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2828
2833
  id: string;
2829
- tags: string[];
2834
+ updatedAt: Date;
2830
2835
  isTest: boolean;
2831
2836
  createdAt: Date;
2837
+ tags: string[];
2832
2838
  durationMs: number;
2833
2839
  costInCents: number;
2834
2840
  baseCostInCents: number;
@@ -2841,11 +2847,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2841
2847
  isSuccess: boolean;
2842
2848
  isFailed: boolean;
2843
2849
  isCancelled: boolean;
2844
- updatedAt: Date;
2850
+ version?: string | undefined;
2845
2851
  metadata?: Record<string, any> | undefined;
2846
2852
  startedAt?: Date | undefined;
2847
2853
  idempotencyKey?: string | undefined;
2848
- version?: string | undefined;
2849
2854
  ttl?: string | undefined;
2850
2855
  batchId?: string | undefined;
2851
2856
  finishedAt?: Date | undefined;
@@ -2853,31 +2858,25 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2853
2858
  expiredAt?: Date | undefined;
2854
2859
  }[] | undefined;
2855
2860
  };
2856
- attempts: ({
2857
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2858
- id: string;
2859
- createdAt: Date;
2860
- updatedAt: Date;
2861
- startedAt?: Date | undefined;
2862
- error?: {
2863
- message: string;
2864
- name?: string | undefined;
2865
- stackTrace?: string | undefined;
2866
- } | undefined;
2867
- completedAt?: Date | undefined;
2868
- } | undefined)[];
2869
- metadata?: Record<string, any> | undefined;
2861
+ depth: number;
2862
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2863
+ isQueued: boolean;
2864
+ isExecuting: boolean;
2865
+ isCompleted: boolean;
2866
+ isSuccess: boolean;
2867
+ isFailed: boolean;
2868
+ isCancelled: boolean;
2870
2869
  payload?: any;
2871
- startedAt?: Date | undefined;
2872
- idempotencyKey?: string | undefined;
2873
2870
  version?: string | undefined;
2871
+ metadata?: Record<string, any> | undefined;
2872
+ startedAt?: Date | undefined;
2873
+ output?: any;
2874
2874
  error?: {
2875
2875
  message: string;
2876
2876
  name?: string | undefined;
2877
2877
  stackTrace?: string | undefined;
2878
2878
  } | undefined;
2879
- output?: any;
2880
- ttl?: string | undefined;
2879
+ idempotencyKey?: string | undefined;
2881
2880
  schedule?: {
2882
2881
  id: string;
2883
2882
  generator: {
@@ -2888,13 +2887,14 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2888
2887
  externalId?: string | undefined;
2889
2888
  deduplicationKey?: string | undefined;
2890
2889
  } | undefined;
2891
- attemptCount?: number | undefined;
2890
+ ttl?: string | undefined;
2891
+ payloadPresignedUrl?: string | undefined;
2892
+ outputPresignedUrl?: string | undefined;
2892
2893
  batchId?: string | undefined;
2893
2894
  finishedAt?: Date | undefined;
2894
2895
  delayedUntil?: Date | undefined;
2895
2896
  expiredAt?: Date | undefined;
2896
- payloadPresignedUrl?: string | undefined;
2897
- outputPresignedUrl?: string | undefined;
2897
+ attemptCount?: number | undefined;
2898
2898
  }>;
2899
2899
  export type RetrieveRunResponse = z.infer<typeof RetrieveRunResponse>;
2900
2900
  export declare const ListRunResponseItem: z.ZodObject<{
@@ -2936,11 +2936,12 @@ export declare const ListRunResponseItem: z.ZodObject<{
2936
2936
  durationMs: z.ZodNumber;
2937
2937
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2938
2938
  }, "strip", z.ZodTypeAny, {
2939
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2939
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2940
2940
  id: string;
2941
- tags: string[];
2941
+ updatedAt: Date;
2942
2942
  isTest: boolean;
2943
2943
  createdAt: Date;
2944
+ tags: string[];
2944
2945
  durationMs: number;
2945
2946
  costInCents: number;
2946
2947
  baseCostInCents: number;
@@ -2951,26 +2952,26 @@ export declare const ListRunResponseItem: z.ZodObject<{
2951
2952
  isSuccess: boolean;
2952
2953
  isFailed: boolean;
2953
2954
  isCancelled: boolean;
2954
- updatedAt: Date;
2955
2955
  env: {
2956
2956
  name: string;
2957
2957
  id: string;
2958
2958
  user?: string | undefined;
2959
2959
  };
2960
+ version?: string | undefined;
2960
2961
  metadata?: Record<string, any> | undefined;
2961
2962
  startedAt?: Date | undefined;
2962
2963
  idempotencyKey?: string | undefined;
2963
- version?: string | undefined;
2964
2964
  ttl?: string | undefined;
2965
2965
  finishedAt?: Date | undefined;
2966
2966
  delayedUntil?: Date | undefined;
2967
2967
  expiredAt?: Date | undefined;
2968
2968
  }, {
2969
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2969
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2970
2970
  id: string;
2971
- tags: string[];
2971
+ updatedAt: Date;
2972
2972
  isTest: boolean;
2973
2973
  createdAt: Date;
2974
+ tags: string[];
2974
2975
  durationMs: number;
2975
2976
  costInCents: number;
2976
2977
  baseCostInCents: number;
@@ -2981,16 +2982,15 @@ export declare const ListRunResponseItem: z.ZodObject<{
2981
2982
  isSuccess: boolean;
2982
2983
  isFailed: boolean;
2983
2984
  isCancelled: boolean;
2984
- updatedAt: Date;
2985
2985
  env: {
2986
2986
  name: string;
2987
2987
  id: string;
2988
2988
  user?: string | undefined;
2989
2989
  };
2990
+ version?: string | undefined;
2990
2991
  metadata?: Record<string, any> | undefined;
2991
2992
  startedAt?: Date | undefined;
2992
2993
  idempotencyKey?: string | undefined;
2993
- version?: string | undefined;
2994
2994
  ttl?: string | undefined;
2995
2995
  finishedAt?: Date | undefined;
2996
2996
  delayedUntil?: Date | undefined;
@@ -3037,11 +3037,12 @@ export declare const ListRunResponse: z.ZodObject<{
3037
3037
  durationMs: z.ZodNumber;
3038
3038
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3039
3039
  }, "strip", z.ZodTypeAny, {
3040
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3040
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3041
3041
  id: string;
3042
- tags: string[];
3042
+ updatedAt: Date;
3043
3043
  isTest: boolean;
3044
3044
  createdAt: Date;
3045
+ tags: string[];
3045
3046
  durationMs: number;
3046
3047
  costInCents: number;
3047
3048
  baseCostInCents: number;
@@ -3052,26 +3053,26 @@ export declare const ListRunResponse: z.ZodObject<{
3052
3053
  isSuccess: boolean;
3053
3054
  isFailed: boolean;
3054
3055
  isCancelled: boolean;
3055
- updatedAt: Date;
3056
3056
  env: {
3057
3057
  name: string;
3058
3058
  id: string;
3059
3059
  user?: string | undefined;
3060
3060
  };
3061
+ version?: string | undefined;
3061
3062
  metadata?: Record<string, any> | undefined;
3062
3063
  startedAt?: Date | undefined;
3063
3064
  idempotencyKey?: string | undefined;
3064
- version?: string | undefined;
3065
3065
  ttl?: string | undefined;
3066
3066
  finishedAt?: Date | undefined;
3067
3067
  delayedUntil?: Date | undefined;
3068
3068
  expiredAt?: Date | undefined;
3069
3069
  }, {
3070
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3070
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3071
3071
  id: string;
3072
- tags: string[];
3072
+ updatedAt: Date;
3073
3073
  isTest: boolean;
3074
3074
  createdAt: Date;
3075
+ tags: string[];
3075
3076
  durationMs: number;
3076
3077
  costInCents: number;
3077
3078
  baseCostInCents: number;
@@ -3082,16 +3083,15 @@ export declare const ListRunResponse: z.ZodObject<{
3082
3083
  isSuccess: boolean;
3083
3084
  isFailed: boolean;
3084
3085
  isCancelled: boolean;
3085
- updatedAt: Date;
3086
3086
  env: {
3087
3087
  name: string;
3088
3088
  id: string;
3089
3089
  user?: string | undefined;
3090
3090
  };
3091
+ version?: string | undefined;
3091
3092
  metadata?: Record<string, any> | undefined;
3092
3093
  startedAt?: Date | undefined;
3093
3094
  idempotencyKey?: string | undefined;
3094
- version?: string | undefined;
3095
3095
  ttl?: string | undefined;
3096
3096
  finishedAt?: Date | undefined;
3097
3097
  delayedUntil?: Date | undefined;
@@ -3109,11 +3109,12 @@ export declare const ListRunResponse: z.ZodObject<{
3109
3109
  }>;
3110
3110
  }, "strip", z.ZodTypeAny, {
3111
3111
  data: {
3112
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3112
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3113
3113
  id: string;
3114
- tags: string[];
3114
+ updatedAt: Date;
3115
3115
  isTest: boolean;
3116
3116
  createdAt: Date;
3117
+ tags: string[];
3117
3118
  durationMs: number;
3118
3119
  costInCents: number;
3119
3120
  baseCostInCents: number;
@@ -3124,16 +3125,15 @@ export declare const ListRunResponse: z.ZodObject<{
3124
3125
  isSuccess: boolean;
3125
3126
  isFailed: boolean;
3126
3127
  isCancelled: boolean;
3127
- updatedAt: Date;
3128
3128
  env: {
3129
3129
  name: string;
3130
3130
  id: string;
3131
3131
  user?: string | undefined;
3132
3132
  };
3133
+ version?: string | undefined;
3133
3134
  metadata?: Record<string, any> | undefined;
3134
3135
  startedAt?: Date | undefined;
3135
3136
  idempotencyKey?: string | undefined;
3136
- version?: string | undefined;
3137
3137
  ttl?: string | undefined;
3138
3138
  finishedAt?: Date | undefined;
3139
3139
  delayedUntil?: Date | undefined;
@@ -3145,11 +3145,12 @@ export declare const ListRunResponse: z.ZodObject<{
3145
3145
  };
3146
3146
  }, {
3147
3147
  data: {
3148
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3148
+ status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3149
3149
  id: string;
3150
- tags: string[];
3150
+ updatedAt: Date;
3151
3151
  isTest: boolean;
3152
3152
  createdAt: Date;
3153
+ tags: string[];
3153
3154
  durationMs: number;
3154
3155
  costInCents: number;
3155
3156
  baseCostInCents: number;
@@ -3160,16 +3161,15 @@ export declare const ListRunResponse: z.ZodObject<{
3160
3161
  isSuccess: boolean;
3161
3162
  isFailed: boolean;
3162
3163
  isCancelled: boolean;
3163
- updatedAt: Date;
3164
3164
  env: {
3165
3165
  name: string;
3166
3166
  id: string;
3167
3167
  user?: string | undefined;
3168
3168
  };
3169
+ version?: string | undefined;
3169
3170
  metadata?: Record<string, any> | undefined;
3170
3171
  startedAt?: Date | undefined;
3171
3172
  idempotencyKey?: string | undefined;
3172
- version?: string | undefined;
3173
3173
  ttl?: string | undefined;
3174
3174
  finishedAt?: Date | undefined;
3175
3175
  delayedUntil?: Date | undefined;
@@ -3635,13 +3635,13 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3635
3635
  message: z.ZodString;
3636
3636
  stackTrace: z.ZodString;
3637
3637
  }, "strip", z.ZodTypeAny, {
3638
- type: "BUILT_IN_ERROR";
3639
3638
  message: string;
3639
+ type: "BUILT_IN_ERROR";
3640
3640
  name: string;
3641
3641
  stackTrace: string;
3642
3642
  }, {
3643
- type: "BUILT_IN_ERROR";
3644
3643
  message: string;
3644
+ type: "BUILT_IN_ERROR";
3645
3645
  name: string;
3646
3646
  stackTrace: string;
3647
3647
  }>, z.ZodObject<{
@@ -3668,13 +3668,13 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3668
3668
  message: z.ZodOptional<z.ZodString>;
3669
3669
  stackTrace: z.ZodOptional<z.ZodString>;
3670
3670
  }, "strip", z.ZodTypeAny, {
3671
- type: "INTERNAL_ERROR";
3672
3671
  code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION";
3672
+ type: "INTERNAL_ERROR";
3673
3673
  message?: string | undefined;
3674
3674
  stackTrace?: string | undefined;
3675
3675
  }, {
3676
- type: "INTERNAL_ERROR";
3677
3676
  code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION";
3677
+ type: "INTERNAL_ERROR";
3678
3678
  message?: string | undefined;
3679
3679
  stackTrace?: string | undefined;
3680
3680
  }>]>>>;
@@ -3682,23 +3682,24 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3682
3682
  number: number;
3683
3683
  status: string;
3684
3684
  id: string;
3685
+ updatedAt: Date;
3685
3686
  isTest: boolean;
3686
3687
  createdAt: Date;
3687
3688
  costInCents: number;
3688
3689
  baseCostInCents: number;
3689
3690
  taskIdentifier: string;
3690
- updatedAt: Date;
3691
3691
  friendlyId: string;
3692
3692
  usageDurationMs: number;
3693
3693
  runTags: string[] | null;
3694
- metadata?: string | null | undefined;
3695
3694
  payload?: string | null | undefined;
3696
- payloadType?: string | null | undefined;
3695
+ metadata?: string | null | undefined;
3697
3696
  startedAt?: string | Date | null | undefined;
3698
- idempotencyKey?: string | null | undefined;
3697
+ completedAt?: string | Date | null | undefined;
3698
+ delayUntil?: string | Date | null | undefined;
3699
+ output?: string | null | undefined;
3699
3700
  error?: {
3700
- type: "BUILT_IN_ERROR";
3701
3701
  message: string;
3702
+ type: "BUILT_IN_ERROR";
3702
3703
  name: string;
3703
3704
  stackTrace: string;
3704
3705
  } | {
@@ -3708,39 +3709,39 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3708
3709
  type: "STRING_ERROR";
3709
3710
  raw: string;
3710
3711
  } | {
3711
- type: "INTERNAL_ERROR";
3712
3712
  code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION";
3713
+ type: "INTERNAL_ERROR";
3713
3714
  message?: string | undefined;
3714
3715
  stackTrace?: string | undefined;
3715
3716
  } | null | undefined;
3716
- output?: string | null | undefined;
3717
+ idempotencyKey?: string | null | undefined;
3718
+ payloadType?: string | null | undefined;
3717
3719
  outputType?: string | null | undefined;
3718
3720
  ttl?: string | null | undefined;
3719
- metadataType?: string | null | undefined;
3720
3721
  expiredAt?: string | Date | null | undefined;
3721
- completedAt?: string | Date | null | undefined;
3722
- delayUntil?: string | Date | null | undefined;
3722
+ metadataType?: string | null | undefined;
3723
3723
  queuedAt?: string | Date | null | undefined;
3724
3724
  }, {
3725
3725
  number: number;
3726
3726
  status: string;
3727
3727
  id: string;
3728
+ updatedAt: string;
3728
3729
  isTest: boolean;
3729
3730
  createdAt: string;
3730
3731
  costInCents: number;
3731
3732
  baseCostInCents: number;
3732
3733
  taskIdentifier: string;
3733
- updatedAt: string;
3734
3734
  friendlyId: string;
3735
3735
  usageDurationMs: number;
3736
- metadata?: string | null | undefined;
3737
3736
  payload?: string | null | undefined;
3738
- payloadType?: string | null | undefined;
3737
+ metadata?: string | null | undefined;
3739
3738
  startedAt?: string | null | undefined;
3740
- idempotencyKey?: string | null | undefined;
3739
+ completedAt?: string | null | undefined;
3740
+ delayUntil?: string | null | undefined;
3741
+ output?: string | null | undefined;
3741
3742
  error?: {
3742
- type: "BUILT_IN_ERROR";
3743
3743
  message: string;
3744
+ type: "BUILT_IN_ERROR";
3744
3745
  name: string;
3745
3746
  stackTrace: string;
3746
3747
  } | {
@@ -3750,18 +3751,17 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3750
3751
  type: "STRING_ERROR";
3751
3752
  raw: string;
3752
3753
  } | {
3753
- type: "INTERNAL_ERROR";
3754
3754
  code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION";
3755
+ type: "INTERNAL_ERROR";
3755
3756
  message?: string | undefined;
3756
3757
  stackTrace?: string | undefined;
3757
3758
  } | null | undefined;
3758
- output?: string | null | undefined;
3759
+ idempotencyKey?: string | null | undefined;
3760
+ payloadType?: string | null | undefined;
3759
3761
  outputType?: string | null | undefined;
3760
3762
  ttl?: string | null | undefined;
3761
- metadataType?: string | null | undefined;
3762
3763
  expiredAt?: string | null | undefined;
3763
- completedAt?: string | null | undefined;
3764
- delayUntil?: string | null | undefined;
3764
+ metadataType?: string | null | undefined;
3765
3765
  queuedAt?: string | null | undefined;
3766
3766
  runTags?: string[] | null | undefined;
3767
3767
  }>;
@@ -3778,15 +3778,15 @@ export declare const RetrieveBatchResponse: z.ZodObject<{
3778
3778
  }, "strip", z.ZodTypeAny, {
3779
3779
  status: "PENDING" | "COMPLETED";
3780
3780
  id: string;
3781
- createdAt: Date;
3782
3781
  updatedAt: Date;
3782
+ createdAt: Date;
3783
3783
  runCount: number;
3784
3784
  idempotencyKey?: string | undefined;
3785
3785
  }, {
3786
3786
  status: "PENDING" | "COMPLETED";
3787
3787
  id: string;
3788
- createdAt: Date;
3789
3788
  updatedAt: Date;
3789
+ createdAt: Date;
3790
3790
  runCount: number;
3791
3791
  idempotencyKey?: string | undefined;
3792
3792
  }>;
@@ -3800,15 +3800,15 @@ export declare const SubscribeRealtimeStreamChunkRawShape: z.ZodObject<{
3800
3800
  createdAt: z.ZodDate;
3801
3801
  }, "strip", z.ZodTypeAny, {
3802
3802
  value: string;
3803
- key: string;
3804
3803
  id: string;
3804
+ key: string;
3805
3805
  createdAt: Date;
3806
3806
  runId: string;
3807
3807
  sequence: number;
3808
3808
  }, {
3809
3809
  value: string;
3810
- key: string;
3811
3810
  id: string;
3811
+ key: string;
3812
3812
  createdAt: Date;
3813
3813
  runId: string;
3814
3814
  sequence: number;