@trigger.dev/core 0.0.0-prerelease-20241203170318 → 0.0.0-prerelease-20241212160659

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/commonjs/v3/apiClient/index.d.ts +128 -126
  2. package/dist/commonjs/v3/apiClient/index.js +4 -0
  3. package/dist/commonjs/v3/apiClient/index.js.map +1 -1
  4. package/dist/commonjs/v3/apiClient/runStream.d.ts +28 -4
  5. package/dist/commonjs/v3/apiClient/runStream.js +104 -38
  6. package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
  7. package/dist/commonjs/v3/apiClient/stream.d.ts +6 -1
  8. package/dist/commonjs/v3/apiClient/stream.js +155 -24
  9. package/dist/commonjs/v3/apiClient/stream.js.map +1 -1
  10. package/dist/commonjs/v3/runMetadata/manager.d.ts +2 -1
  11. package/dist/commonjs/v3/runMetadata/manager.js +11 -5
  12. package/dist/commonjs/v3/runMetadata/manager.js.map +1 -1
  13. package/dist/commonjs/v3/runMetadata/metadataStream.d.ts +7 -7
  14. package/dist/commonjs/v3/runMetadata/metadataStream.js +33 -39
  15. package/dist/commonjs/v3/runMetadata/metadataStream.js.map +1 -1
  16. package/dist/commonjs/v3/schemas/api.d.ts +698 -675
  17. package/dist/commonjs/v3/schemas/api.js +9 -1
  18. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  19. package/dist/commonjs/v3/schemas/build.d.ts +108 -108
  20. package/dist/commonjs/v3/schemas/messages.d.ts +2442 -2442
  21. package/dist/commonjs/v3/schemas/resources.d.ts +58 -58
  22. package/dist/commonjs/v3/schemas/schemas.d.ts +359 -359
  23. package/dist/commonjs/v3/types/tasks.d.ts +25 -1
  24. package/dist/commonjs/v3/utils/ioSerialization.d.ts +4 -1
  25. package/dist/commonjs/v3/utils/ioSerialization.js +14 -2
  26. package/dist/commonjs/v3/utils/ioSerialization.js.map +1 -1
  27. package/dist/esm/v3/apiClient/index.d.ts +128 -126
  28. package/dist/esm/v3/apiClient/index.js +4 -0
  29. package/dist/esm/v3/apiClient/index.js.map +1 -1
  30. package/dist/esm/v3/apiClient/runStream.d.ts +28 -4
  31. package/dist/esm/v3/apiClient/runStream.js +102 -39
  32. package/dist/esm/v3/apiClient/runStream.js.map +1 -1
  33. package/dist/esm/v3/apiClient/stream.d.ts +6 -1
  34. package/dist/esm/v3/apiClient/stream.js +151 -23
  35. package/dist/esm/v3/apiClient/stream.js.map +1 -1
  36. package/dist/esm/v3/runMetadata/manager.d.ts +2 -1
  37. package/dist/esm/v3/runMetadata/manager.js +11 -5
  38. package/dist/esm/v3/runMetadata/manager.js.map +1 -1
  39. package/dist/esm/v3/runMetadata/metadataStream.d.ts +7 -7
  40. package/dist/esm/v3/runMetadata/metadataStream.js +33 -39
  41. package/dist/esm/v3/runMetadata/metadataStream.js.map +1 -1
  42. package/dist/esm/v3/schemas/api.d.ts +698 -675
  43. package/dist/esm/v3/schemas/api.js +8 -0
  44. package/dist/esm/v3/schemas/api.js.map +1 -1
  45. package/dist/esm/v3/schemas/build.d.ts +108 -108
  46. package/dist/esm/v3/schemas/messages.d.ts +2442 -2442
  47. package/dist/esm/v3/schemas/resources.d.ts +58 -58
  48. package/dist/esm/v3/schemas/schemas.d.ts +359 -359
  49. package/dist/esm/v3/types/tasks.d.ts +25 -1
  50. package/dist/esm/v3/utils/ioSerialization.d.ts +4 -1
  51. package/dist/esm/v3/utils/ioSerialization.js +14 -2
  52. package/dist/esm/v3/utils/ioSerialization.js.map +1 -1
  53. package/package.json +2 -2
@@ -26,39 +26,39 @@ export declare const GetProjectResponseBody: z.ZodObject<{
26
26
  createdAt: z.ZodDate;
27
27
  }, "strip", z.ZodTypeAny, {
28
28
  id: string;
29
- slug: string;
30
29
  createdAt: Date;
30
+ slug: string;
31
31
  title: string;
32
32
  }, {
33
33
  id: string;
34
- slug: string;
35
34
  createdAt: Date;
35
+ slug: string;
36
36
  title: string;
37
37
  }>;
38
38
  }, "strip", z.ZodTypeAny, {
39
- id: string;
40
- externalRef: string;
41
39
  name: string;
42
- slug: string;
40
+ id: string;
43
41
  createdAt: Date;
42
+ slug: string;
44
43
  organization: {
45
44
  id: string;
46
- slug: string;
47
45
  createdAt: Date;
46
+ slug: string;
48
47
  title: string;
49
48
  };
50
- }, {
51
- id: string;
52
49
  externalRef: string;
50
+ }, {
53
51
  name: string;
54
- slug: string;
52
+ id: string;
55
53
  createdAt: Date;
54
+ slug: string;
56
55
  organization: {
57
56
  id: string;
58
- slug: string;
59
57
  createdAt: Date;
58
+ slug: string;
60
59
  title: string;
61
60
  };
61
+ externalRef: string;
62
62
  }>;
63
63
  export type GetProjectResponseBody = z.infer<typeof GetProjectResponseBody>;
64
64
  export declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
@@ -74,39 +74,39 @@ export declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
74
74
  createdAt: z.ZodDate;
75
75
  }, "strip", z.ZodTypeAny, {
76
76
  id: string;
77
- slug: string;
78
77
  createdAt: Date;
78
+ slug: string;
79
79
  title: string;
80
80
  }, {
81
81
  id: string;
82
- slug: string;
83
82
  createdAt: Date;
83
+ slug: string;
84
84
  title: string;
85
85
  }>;
86
86
  }, "strip", z.ZodTypeAny, {
87
- id: string;
88
- externalRef: string;
89
87
  name: string;
90
- slug: string;
88
+ id: string;
91
89
  createdAt: Date;
90
+ slug: string;
92
91
  organization: {
93
92
  id: string;
94
- slug: string;
95
93
  createdAt: Date;
94
+ slug: string;
96
95
  title: string;
97
96
  };
98
- }, {
99
- id: string;
100
97
  externalRef: string;
98
+ }, {
101
99
  name: string;
102
- slug: string;
100
+ id: string;
103
101
  createdAt: Date;
102
+ slug: string;
104
103
  organization: {
105
104
  id: string;
106
- slug: string;
107
105
  createdAt: Date;
106
+ slug: string;
108
107
  title: string;
109
108
  };
109
+ externalRef: string;
110
110
  }>, "many">;
111
111
  export type GetProjectsResponseBody = z.infer<typeof GetProjectsResponseBody>;
112
112
  export declare const GetProjectEnvResponse: z.ZodObject<{
@@ -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 | 0.25 | 0.5 | 4 | undefined;
175
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
174
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
175
+ memory?: 2 | 1 | 4 | 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 | 0.25 | 0.5 | 4 | undefined;
179
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
178
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
179
+ memory?: 2 | 1 | 4 | 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>;
@@ -195,11 +195,16 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
195
195
  id: string;
196
196
  filePath: string;
197
197
  exportName: string;
198
- description?: string | undefined;
198
+ maxDuration?: number | undefined;
199
199
  queue?: {
200
200
  name?: string | undefined;
201
201
  concurrencyLimit?: number | undefined;
202
202
  } | undefined;
203
+ machine?: {
204
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
205
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
206
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
207
+ } | undefined;
203
208
  retry?: {
204
209
  maxAttempts?: number | undefined;
205
210
  factor?: number | undefined;
@@ -207,26 +212,26 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
207
212
  maxTimeoutInMs?: number | undefined;
208
213
  randomize?: boolean | undefined;
209
214
  } | undefined;
210
- machine?: {
211
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
212
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
213
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
214
- } | undefined;
215
+ description?: string | undefined;
215
216
  triggerSource?: string | undefined;
216
217
  schedule?: {
217
218
  cron: string;
218
219
  timezone: string;
219
220
  } | undefined;
220
- maxDuration?: number | undefined;
221
221
  }, {
222
222
  id: string;
223
223
  filePath: string;
224
224
  exportName: string;
225
- description?: string | undefined;
225
+ maxDuration?: number | undefined;
226
226
  queue?: {
227
227
  name?: string | undefined;
228
228
  concurrencyLimit?: number | undefined;
229
229
  } | undefined;
230
+ machine?: {
231
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
232
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
233
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
234
+ } | undefined;
230
235
  retry?: {
231
236
  maxAttempts?: number | undefined;
232
237
  factor?: number | undefined;
@@ -234,17 +239,12 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
234
239
  maxTimeoutInMs?: number | undefined;
235
240
  randomize?: boolean | undefined;
236
241
  } | undefined;
237
- machine?: {
238
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
239
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
240
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
241
- } | undefined;
242
+ description?: string | undefined;
242
243
  triggerSource?: string | undefined;
243
244
  schedule?: {
244
245
  cron: string;
245
246
  timezone: string;
246
247
  } | undefined;
247
- maxDuration?: number | undefined;
248
248
  }>, "many">;
249
249
  sourceFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
250
250
  filePath: z.ZodString;
@@ -252,28 +252,33 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
252
252
  contentHash: z.ZodString;
253
253
  taskIds: z.ZodArray<z.ZodString, "many">;
254
254
  }, "strip", z.ZodTypeAny, {
255
- contentHash: string;
256
255
  filePath: string;
256
+ contentHash: string;
257
257
  contents: string;
258
258
  taskIds: string[];
259
259
  }, {
260
- contentHash: string;
261
260
  filePath: string;
261
+ contentHash: string;
262
262
  contents: string;
263
263
  taskIds: string[];
264
264
  }>, "many">>;
265
265
  }, "strip", z.ZodTypeAny, {
266
- packageVersion: string;
267
266
  contentHash: string;
267
+ packageVersion: string;
268
268
  tasks: {
269
269
  id: string;
270
270
  filePath: string;
271
271
  exportName: string;
272
- description?: string | undefined;
272
+ maxDuration?: number | undefined;
273
273
  queue?: {
274
274
  name?: string | undefined;
275
275
  concurrencyLimit?: number | undefined;
276
276
  } | undefined;
277
+ machine?: {
278
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
279
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
280
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
281
+ } | undefined;
277
282
  retry?: {
278
283
  maxAttempts?: number | undefined;
279
284
  factor?: number | undefined;
@@ -281,37 +286,37 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
281
286
  maxTimeoutInMs?: number | undefined;
282
287
  randomize?: boolean | undefined;
283
288
  } | undefined;
284
- machine?: {
285
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
286
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
287
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
288
- } | undefined;
289
+ description?: string | undefined;
289
290
  triggerSource?: string | undefined;
290
291
  schedule?: {
291
292
  cron: string;
292
293
  timezone: string;
293
294
  } | undefined;
294
- maxDuration?: number | undefined;
295
295
  }[];
296
296
  cliPackageVersion?: string | undefined;
297
297
  sourceFiles?: {
298
- contentHash: string;
299
298
  filePath: string;
299
+ contentHash: string;
300
300
  contents: string;
301
301
  taskIds: string[];
302
302
  }[] | undefined;
303
303
  }, {
304
- packageVersion: string;
305
304
  contentHash: string;
305
+ packageVersion: string;
306
306
  tasks: {
307
307
  id: string;
308
308
  filePath: string;
309
309
  exportName: string;
310
- description?: string | undefined;
310
+ maxDuration?: number | undefined;
311
311
  queue?: {
312
312
  name?: string | undefined;
313
313
  concurrencyLimit?: number | undefined;
314
314
  } | undefined;
315
+ machine?: {
316
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
317
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
318
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
319
+ } | undefined;
315
320
  retry?: {
316
321
  maxAttempts?: number | undefined;
317
322
  factor?: number | undefined;
@@ -319,41 +324,40 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
319
324
  maxTimeoutInMs?: number | undefined;
320
325
  randomize?: boolean | undefined;
321
326
  } | undefined;
322
- machine?: {
323
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
324
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
325
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
326
- } | undefined;
327
+ description?: string | undefined;
327
328
  triggerSource?: string | undefined;
328
329
  schedule?: {
329
330
  cron: string;
330
331
  timezone: string;
331
332
  } | undefined;
332
- maxDuration?: number | undefined;
333
333
  }[];
334
334
  cliPackageVersion?: string | undefined;
335
335
  sourceFiles?: {
336
- contentHash: string;
337
336
  filePath: string;
337
+ contentHash: string;
338
338
  contents: string;
339
339
  taskIds: string[];
340
340
  }[] | undefined;
341
341
  }>;
342
342
  supportsLazyAttempts: z.ZodOptional<z.ZodBoolean>;
343
343
  }, "strip", z.ZodTypeAny, {
344
- localOnly: boolean;
345
344
  metadata: {
346
- packageVersion: string;
347
345
  contentHash: string;
346
+ packageVersion: string;
348
347
  tasks: {
349
348
  id: string;
350
349
  filePath: string;
351
350
  exportName: string;
352
- description?: string | undefined;
351
+ maxDuration?: number | undefined;
353
352
  queue?: {
354
353
  name?: string | undefined;
355
354
  concurrencyLimit?: number | undefined;
356
355
  } | undefined;
356
+ machine?: {
357
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
358
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
359
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
360
+ } | undefined;
357
361
  retry?: {
358
362
  maxAttempts?: number | undefined;
359
363
  factor?: number | undefined;
@@ -361,41 +365,41 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
361
365
  maxTimeoutInMs?: number | undefined;
362
366
  randomize?: boolean | undefined;
363
367
  } | undefined;
364
- machine?: {
365
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
366
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
367
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
368
- } | undefined;
368
+ description?: string | undefined;
369
369
  triggerSource?: string | undefined;
370
370
  schedule?: {
371
371
  cron: string;
372
372
  timezone: string;
373
373
  } | undefined;
374
- maxDuration?: number | undefined;
375
374
  }[];
376
375
  cliPackageVersion?: string | undefined;
377
376
  sourceFiles?: {
378
- contentHash: string;
379
377
  filePath: string;
378
+ contentHash: string;
380
379
  contents: string;
381
380
  taskIds: string[];
382
381
  }[] | undefined;
383
382
  };
383
+ localOnly: boolean;
384
384
  supportsLazyAttempts?: boolean | undefined;
385
385
  }, {
386
- localOnly: boolean;
387
386
  metadata: {
388
- packageVersion: string;
389
387
  contentHash: string;
388
+ packageVersion: string;
390
389
  tasks: {
391
390
  id: string;
392
391
  filePath: string;
393
392
  exportName: string;
394
- description?: string | undefined;
393
+ maxDuration?: number | undefined;
395
394
  queue?: {
396
395
  name?: string | undefined;
397
396
  concurrencyLimit?: number | undefined;
398
397
  } | undefined;
398
+ machine?: {
399
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
400
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
401
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
402
+ } | undefined;
399
403
  retry?: {
400
404
  maxAttempts?: number | undefined;
401
405
  factor?: number | undefined;
@@ -403,26 +407,22 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
403
407
  maxTimeoutInMs?: number | undefined;
404
408
  randomize?: boolean | undefined;
405
409
  } | undefined;
406
- machine?: {
407
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
408
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
409
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
410
- } | undefined;
410
+ description?: string | undefined;
411
411
  triggerSource?: string | undefined;
412
412
  schedule?: {
413
413
  cron: string;
414
414
  timezone: string;
415
415
  } | undefined;
416
- maxDuration?: number | undefined;
417
416
  }[];
418
417
  cliPackageVersion?: string | undefined;
419
418
  sourceFiles?: {
420
- contentHash: string;
421
419
  filePath: string;
420
+ contentHash: string;
422
421
  contents: string;
423
422
  taskIds: string[];
424
423
  }[] | undefined;
425
424
  };
425
+ localOnly: boolean;
426
426
  supportsLazyAttempts?: boolean | undefined;
427
427
  }>;
428
428
  export type CreateBackgroundWorkerRequestBody = z.infer<typeof CreateBackgroundWorkerRequestBody>;
@@ -432,12 +432,12 @@ export declare const CreateBackgroundWorkerResponse: z.ZodObject<{
432
432
  contentHash: z.ZodString;
433
433
  }, "strip", z.ZodTypeAny, {
434
434
  id: string;
435
- contentHash: string;
436
435
  version: string;
436
+ contentHash: string;
437
437
  }, {
438
438
  id: string;
439
- contentHash: string;
440
439
  version: string;
440
+ contentHash: string;
441
441
  }>;
442
442
  export type CreateBackgroundWorkerResponse = z.infer<typeof CreateBackgroundWorkerResponse>;
443
443
  export declare const RunTags: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -474,98 +474,98 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
474
474
  metadataType: z.ZodOptional<z.ZodString>;
475
475
  maxDuration: z.ZodOptional<z.ZodNumber>;
476
476
  }, "strip", z.ZodTypeAny, {
477
+ payloadType?: string | undefined;
478
+ tags?: string | string[] | undefined;
479
+ idempotencyKey?: string | undefined;
480
+ maxAttempts?: number | undefined;
481
+ metadata?: any;
482
+ maxDuration?: number | undefined;
477
483
  queue?: {
478
484
  name?: string | undefined;
479
485
  concurrencyLimit?: number | undefined;
480
486
  } | undefined;
481
- maxAttempts?: number | undefined;
482
- maxDuration?: number | undefined;
483
- metadata?: any;
487
+ idempotencyKeyTTL?: string | undefined;
488
+ concurrencyKey?: string | undefined;
489
+ delay?: string | Date | undefined;
490
+ ttl?: string | number | undefined;
484
491
  dependentAttempt?: string | undefined;
485
492
  parentAttempt?: string | undefined;
486
493
  dependentBatch?: string | undefined;
487
494
  parentBatch?: string | undefined;
488
495
  lockToVersion?: string | undefined;
489
- concurrencyKey?: string | undefined;
490
- idempotencyKey?: string | undefined;
491
- idempotencyKeyTTL?: string | undefined;
492
496
  test?: boolean | undefined;
493
- payloadType?: string | undefined;
494
- delay?: string | Date | undefined;
495
- ttl?: string | number | undefined;
496
- tags?: string | string[] | undefined;
497
497
  metadataType?: string | undefined;
498
498
  }, {
499
+ payloadType?: string | undefined;
500
+ tags?: string | string[] | undefined;
501
+ idempotencyKey?: string | undefined;
502
+ maxAttempts?: number | undefined;
503
+ metadata?: any;
504
+ maxDuration?: number | undefined;
499
505
  queue?: {
500
506
  name?: string | undefined;
501
507
  concurrencyLimit?: number | undefined;
502
508
  } | undefined;
503
- maxAttempts?: number | undefined;
504
- maxDuration?: number | undefined;
505
- metadata?: any;
509
+ idempotencyKeyTTL?: string | undefined;
510
+ concurrencyKey?: string | undefined;
511
+ delay?: string | Date | undefined;
512
+ ttl?: string | number | undefined;
506
513
  dependentAttempt?: string | undefined;
507
514
  parentAttempt?: string | undefined;
508
515
  dependentBatch?: string | undefined;
509
516
  parentBatch?: string | undefined;
510
517
  lockToVersion?: string | undefined;
511
- concurrencyKey?: string | undefined;
512
- idempotencyKey?: string | undefined;
513
- idempotencyKeyTTL?: string | undefined;
514
518
  test?: boolean | undefined;
515
- payloadType?: string | undefined;
516
- delay?: string | Date | undefined;
517
- ttl?: string | number | undefined;
518
- tags?: string | string[] | undefined;
519
519
  metadataType?: string | undefined;
520
520
  }>>;
521
521
  }, "strip", z.ZodTypeAny, {
522
522
  options?: {
523
+ payloadType?: string | undefined;
524
+ tags?: string | string[] | undefined;
525
+ idempotencyKey?: string | undefined;
526
+ maxAttempts?: number | undefined;
527
+ metadata?: any;
528
+ maxDuration?: number | undefined;
523
529
  queue?: {
524
530
  name?: string | undefined;
525
531
  concurrencyLimit?: number | undefined;
526
532
  } | undefined;
527
- maxAttempts?: number | undefined;
528
- maxDuration?: number | undefined;
529
- metadata?: any;
533
+ idempotencyKeyTTL?: string | undefined;
534
+ concurrencyKey?: string | undefined;
535
+ delay?: string | Date | undefined;
536
+ ttl?: string | number | undefined;
530
537
  dependentAttempt?: string | undefined;
531
538
  parentAttempt?: string | undefined;
532
539
  dependentBatch?: string | undefined;
533
540
  parentBatch?: string | undefined;
534
541
  lockToVersion?: string | undefined;
535
- concurrencyKey?: string | undefined;
536
- idempotencyKey?: string | undefined;
537
- idempotencyKeyTTL?: string | undefined;
538
542
  test?: boolean | undefined;
539
- payloadType?: string | undefined;
540
- delay?: string | Date | undefined;
541
- ttl?: string | number | undefined;
542
- tags?: string | string[] | undefined;
543
543
  metadataType?: string | undefined;
544
544
  } | undefined;
545
545
  payload?: any;
546
546
  context?: any;
547
547
  }, {
548
548
  options?: {
549
+ payloadType?: string | undefined;
550
+ tags?: string | string[] | undefined;
551
+ idempotencyKey?: string | undefined;
552
+ maxAttempts?: number | undefined;
553
+ metadata?: any;
554
+ maxDuration?: number | undefined;
549
555
  queue?: {
550
556
  name?: string | undefined;
551
557
  concurrencyLimit?: number | undefined;
552
558
  } | undefined;
553
- maxAttempts?: number | undefined;
554
- maxDuration?: number | undefined;
555
- metadata?: any;
559
+ idempotencyKeyTTL?: string | undefined;
560
+ concurrencyKey?: string | undefined;
561
+ delay?: string | Date | undefined;
562
+ ttl?: string | number | undefined;
556
563
  dependentAttempt?: string | undefined;
557
564
  parentAttempt?: string | undefined;
558
565
  dependentBatch?: string | undefined;
559
566
  parentBatch?: string | undefined;
560
567
  lockToVersion?: string | undefined;
561
- concurrencyKey?: string | undefined;
562
- idempotencyKey?: string | undefined;
563
- idempotencyKeyTTL?: string | undefined;
564
568
  test?: boolean | undefined;
565
- payloadType?: string | undefined;
566
- delay?: string | Date | undefined;
567
- ttl?: string | number | undefined;
568
- tags?: string | string[] | undefined;
569
569
  metadataType?: string | undefined;
570
570
  } | undefined;
571
571
  payload?: any;
@@ -613,98 +613,98 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
613
613
  metadataType: z.ZodOptional<z.ZodString>;
614
614
  maxDuration: z.ZodOptional<z.ZodNumber>;
615
615
  }, "strip", z.ZodTypeAny, {
616
+ payloadType?: string | undefined;
617
+ tags?: string | string[] | undefined;
618
+ idempotencyKey?: string | undefined;
619
+ maxAttempts?: number | undefined;
620
+ metadata?: any;
621
+ maxDuration?: number | undefined;
616
622
  queue?: {
617
623
  name?: string | undefined;
618
624
  concurrencyLimit?: number | undefined;
619
625
  } | undefined;
620
- maxAttempts?: number | undefined;
621
- maxDuration?: number | undefined;
622
- metadata?: any;
626
+ idempotencyKeyTTL?: string | undefined;
627
+ concurrencyKey?: string | undefined;
628
+ delay?: string | Date | undefined;
629
+ ttl?: string | number | undefined;
623
630
  dependentAttempt?: string | undefined;
624
631
  parentAttempt?: string | undefined;
625
632
  dependentBatch?: string | undefined;
626
633
  parentBatch?: string | undefined;
627
634
  lockToVersion?: string | undefined;
628
- concurrencyKey?: string | undefined;
629
- idempotencyKey?: string | undefined;
630
- idempotencyKeyTTL?: string | undefined;
631
635
  test?: boolean | undefined;
632
- payloadType?: string | undefined;
633
- delay?: string | Date | undefined;
634
- ttl?: string | number | undefined;
635
- tags?: string | string[] | undefined;
636
636
  metadataType?: string | undefined;
637
637
  }, {
638
+ payloadType?: string | undefined;
639
+ tags?: string | string[] | undefined;
640
+ idempotencyKey?: string | undefined;
641
+ maxAttempts?: number | undefined;
642
+ metadata?: any;
643
+ maxDuration?: number | undefined;
638
644
  queue?: {
639
645
  name?: string | undefined;
640
646
  concurrencyLimit?: number | undefined;
641
647
  } | undefined;
642
- maxAttempts?: number | undefined;
643
- maxDuration?: number | undefined;
644
- metadata?: any;
648
+ idempotencyKeyTTL?: string | undefined;
649
+ concurrencyKey?: string | undefined;
650
+ delay?: string | Date | undefined;
651
+ ttl?: string | number | undefined;
645
652
  dependentAttempt?: string | undefined;
646
653
  parentAttempt?: string | undefined;
647
654
  dependentBatch?: string | undefined;
648
655
  parentBatch?: string | undefined;
649
656
  lockToVersion?: string | undefined;
650
- concurrencyKey?: string | undefined;
651
- idempotencyKey?: string | undefined;
652
- idempotencyKeyTTL?: string | undefined;
653
657
  test?: boolean | undefined;
654
- payloadType?: string | undefined;
655
- delay?: string | Date | undefined;
656
- ttl?: string | number | undefined;
657
- tags?: string | string[] | undefined;
658
658
  metadataType?: string | undefined;
659
659
  }>>;
660
660
  }, "strip", z.ZodTypeAny, {
661
661
  options?: {
662
+ payloadType?: string | undefined;
663
+ tags?: string | string[] | undefined;
664
+ idempotencyKey?: string | undefined;
665
+ maxAttempts?: number | undefined;
666
+ metadata?: any;
667
+ maxDuration?: number | undefined;
662
668
  queue?: {
663
669
  name?: string | undefined;
664
670
  concurrencyLimit?: number | undefined;
665
671
  } | undefined;
666
- maxAttempts?: number | undefined;
667
- maxDuration?: number | undefined;
668
- metadata?: any;
672
+ idempotencyKeyTTL?: string | undefined;
673
+ concurrencyKey?: string | undefined;
674
+ delay?: string | Date | undefined;
675
+ ttl?: string | number | undefined;
669
676
  dependentAttempt?: string | undefined;
670
677
  parentAttempt?: string | undefined;
671
678
  dependentBatch?: string | undefined;
672
679
  parentBatch?: string | undefined;
673
680
  lockToVersion?: string | undefined;
674
- concurrencyKey?: string | undefined;
675
- idempotencyKey?: string | undefined;
676
- idempotencyKeyTTL?: string | undefined;
677
681
  test?: boolean | undefined;
678
- payloadType?: string | undefined;
679
- delay?: string | Date | undefined;
680
- ttl?: string | number | undefined;
681
- tags?: string | string[] | undefined;
682
682
  metadataType?: string | undefined;
683
683
  } | undefined;
684
684
  payload?: any;
685
685
  context?: any;
686
686
  }, {
687
687
  options?: {
688
+ payloadType?: string | undefined;
689
+ tags?: string | string[] | undefined;
690
+ idempotencyKey?: string | undefined;
691
+ maxAttempts?: number | undefined;
692
+ metadata?: any;
693
+ maxDuration?: number | undefined;
688
694
  queue?: {
689
695
  name?: string | undefined;
690
696
  concurrencyLimit?: number | undefined;
691
697
  } | undefined;
692
- maxAttempts?: number | undefined;
693
- maxDuration?: number | undefined;
694
- metadata?: any;
698
+ idempotencyKeyTTL?: string | undefined;
699
+ concurrencyKey?: string | undefined;
700
+ delay?: string | Date | undefined;
701
+ ttl?: string | number | undefined;
695
702
  dependentAttempt?: string | undefined;
696
703
  parentAttempt?: string | undefined;
697
704
  dependentBatch?: string | undefined;
698
705
  parentBatch?: string | undefined;
699
706
  lockToVersion?: string | undefined;
700
- concurrencyKey?: string | undefined;
701
- idempotencyKey?: string | undefined;
702
- idempotencyKeyTTL?: string | undefined;
703
707
  test?: boolean | undefined;
704
- payloadType?: string | undefined;
705
- delay?: string | Date | undefined;
706
- ttl?: string | number | undefined;
707
- tags?: string | string[] | undefined;
708
708
  metadataType?: string | undefined;
709
709
  } | undefined;
710
710
  payload?: any;
@@ -714,26 +714,26 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
714
714
  }, "strip", z.ZodTypeAny, {
715
715
  items: {
716
716
  options?: {
717
+ payloadType?: string | undefined;
718
+ tags?: string | string[] | undefined;
719
+ idempotencyKey?: string | undefined;
720
+ maxAttempts?: number | undefined;
721
+ metadata?: any;
722
+ maxDuration?: number | undefined;
717
723
  queue?: {
718
724
  name?: string | undefined;
719
725
  concurrencyLimit?: number | undefined;
720
726
  } | undefined;
721
- maxAttempts?: number | undefined;
722
- maxDuration?: number | undefined;
723
- metadata?: any;
727
+ idempotencyKeyTTL?: string | undefined;
728
+ concurrencyKey?: string | undefined;
729
+ delay?: string | Date | undefined;
730
+ ttl?: string | number | undefined;
724
731
  dependentAttempt?: string | undefined;
725
732
  parentAttempt?: string | undefined;
726
733
  dependentBatch?: string | undefined;
727
734
  parentBatch?: string | undefined;
728
735
  lockToVersion?: string | undefined;
729
- concurrencyKey?: string | undefined;
730
- idempotencyKey?: string | undefined;
731
- idempotencyKeyTTL?: string | undefined;
732
736
  test?: boolean | undefined;
733
- payloadType?: string | undefined;
734
- delay?: string | Date | undefined;
735
- ttl?: string | number | undefined;
736
- tags?: string | string[] | undefined;
737
737
  metadataType?: string | undefined;
738
738
  } | undefined;
739
739
  payload?: any;
@@ -743,26 +743,26 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
743
743
  }, {
744
744
  items: {
745
745
  options?: {
746
+ payloadType?: string | undefined;
747
+ tags?: string | string[] | undefined;
748
+ idempotencyKey?: string | undefined;
749
+ maxAttempts?: number | undefined;
750
+ metadata?: any;
751
+ maxDuration?: number | undefined;
746
752
  queue?: {
747
753
  name?: string | undefined;
748
754
  concurrencyLimit?: number | undefined;
749
755
  } | undefined;
750
- maxAttempts?: number | undefined;
751
- maxDuration?: number | undefined;
752
- metadata?: any;
756
+ idempotencyKeyTTL?: string | undefined;
757
+ concurrencyKey?: string | undefined;
758
+ delay?: string | Date | undefined;
759
+ ttl?: string | number | undefined;
753
760
  dependentAttempt?: string | undefined;
754
761
  parentAttempt?: string | undefined;
755
762
  dependentBatch?: string | undefined;
756
763
  parentBatch?: string | undefined;
757
764
  lockToVersion?: string | undefined;
758
- concurrencyKey?: string | undefined;
759
- idempotencyKey?: string | undefined;
760
- idempotencyKeyTTL?: string | undefined;
761
765
  test?: boolean | undefined;
762
- payloadType?: string | undefined;
763
- delay?: string | Date | undefined;
764
- ttl?: string | number | undefined;
765
- tags?: string | string[] | undefined;
766
766
  metadataType?: string | undefined;
767
767
  } | undefined;
768
768
  payload?: any;
@@ -801,64 +801,64 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
801
801
  maxDuration: z.ZodOptional<z.ZodNumber>;
802
802
  parentAttempt: z.ZodOptional<z.ZodString>;
803
803
  }, "strip", z.ZodTypeAny, {
804
+ payloadType?: string | undefined;
805
+ tags?: string | string[] | undefined;
806
+ idempotencyKey?: string | undefined;
807
+ maxAttempts?: number | undefined;
808
+ metadata?: any;
809
+ maxDuration?: number | undefined;
804
810
  queue?: {
805
811
  name?: string | undefined;
806
812
  concurrencyLimit?: number | undefined;
807
813
  } | undefined;
808
- maxAttempts?: number | undefined;
809
- maxDuration?: number | undefined;
810
- metadata?: any;
811
- parentAttempt?: string | undefined;
812
- lockToVersion?: string | undefined;
813
- concurrencyKey?: string | undefined;
814
- idempotencyKey?: string | undefined;
815
814
  idempotencyKeyTTL?: string | undefined;
816
- test?: boolean | undefined;
817
- payloadType?: string | undefined;
815
+ concurrencyKey?: string | undefined;
818
816
  delay?: string | Date | undefined;
819
817
  ttl?: string | number | undefined;
820
- tags?: string | string[] | undefined;
818
+ parentAttempt?: string | undefined;
819
+ lockToVersion?: string | undefined;
820
+ test?: boolean | undefined;
821
821
  metadataType?: string | undefined;
822
822
  }, {
823
+ payloadType?: string | undefined;
824
+ tags?: string | string[] | undefined;
825
+ idempotencyKey?: string | undefined;
826
+ maxAttempts?: number | undefined;
827
+ metadata?: any;
828
+ maxDuration?: number | undefined;
823
829
  queue?: {
824
830
  name?: string | undefined;
825
831
  concurrencyLimit?: number | undefined;
826
832
  } | undefined;
827
- maxAttempts?: number | undefined;
828
- maxDuration?: number | undefined;
829
- metadata?: any;
830
- parentAttempt?: string | undefined;
831
- lockToVersion?: string | undefined;
832
- concurrencyKey?: string | undefined;
833
- idempotencyKey?: string | undefined;
834
833
  idempotencyKeyTTL?: string | undefined;
835
- test?: boolean | undefined;
836
- payloadType?: string | undefined;
834
+ concurrencyKey?: string | undefined;
837
835
  delay?: string | Date | undefined;
838
836
  ttl?: string | number | undefined;
839
- tags?: string | string[] | undefined;
837
+ parentAttempt?: string | undefined;
838
+ lockToVersion?: string | undefined;
839
+ test?: boolean | undefined;
840
840
  metadataType?: string | undefined;
841
841
  }>>;
842
842
  }, "strip", z.ZodTypeAny, {
843
843
  task: string;
844
844
  options?: {
845
+ payloadType?: string | undefined;
846
+ tags?: string | string[] | undefined;
847
+ idempotencyKey?: string | undefined;
848
+ maxAttempts?: number | undefined;
849
+ metadata?: any;
850
+ maxDuration?: number | undefined;
845
851
  queue?: {
846
852
  name?: string | undefined;
847
853
  concurrencyLimit?: number | undefined;
848
854
  } | undefined;
849
- maxAttempts?: number | undefined;
850
- maxDuration?: number | undefined;
851
- metadata?: any;
852
- parentAttempt?: string | undefined;
853
- lockToVersion?: string | undefined;
854
- concurrencyKey?: string | undefined;
855
- idempotencyKey?: string | undefined;
856
855
  idempotencyKeyTTL?: string | undefined;
857
- test?: boolean | undefined;
858
- payloadType?: string | undefined;
856
+ concurrencyKey?: string | undefined;
859
857
  delay?: string | Date | undefined;
860
858
  ttl?: string | number | undefined;
861
- tags?: string | string[] | undefined;
859
+ parentAttempt?: string | undefined;
860
+ lockToVersion?: string | undefined;
861
+ test?: boolean | undefined;
862
862
  metadataType?: string | undefined;
863
863
  } | undefined;
864
864
  payload?: any;
@@ -866,23 +866,23 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
866
866
  }, {
867
867
  task: string;
868
868
  options?: {
869
+ payloadType?: string | undefined;
870
+ tags?: string | string[] | undefined;
871
+ idempotencyKey?: string | undefined;
872
+ maxAttempts?: number | undefined;
873
+ metadata?: any;
874
+ maxDuration?: number | undefined;
869
875
  queue?: {
870
876
  name?: string | undefined;
871
877
  concurrencyLimit?: number | undefined;
872
878
  } | undefined;
873
- maxAttempts?: number | undefined;
874
- maxDuration?: number | undefined;
875
- metadata?: any;
876
- parentAttempt?: string | undefined;
877
- lockToVersion?: string | undefined;
878
- concurrencyKey?: string | undefined;
879
- idempotencyKey?: string | undefined;
880
879
  idempotencyKeyTTL?: string | undefined;
881
- test?: boolean | undefined;
882
- payloadType?: string | undefined;
880
+ concurrencyKey?: string | undefined;
883
881
  delay?: string | Date | undefined;
884
882
  ttl?: string | number | undefined;
885
- tags?: string | string[] | undefined;
883
+ parentAttempt?: string | undefined;
884
+ lockToVersion?: string | undefined;
885
+ test?: boolean | undefined;
886
886
  metadataType?: string | undefined;
887
887
  } | undefined;
888
888
  payload?: any;
@@ -920,64 +920,64 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
920
920
  maxDuration: z.ZodOptional<z.ZodNumber>;
921
921
  parentAttempt: z.ZodOptional<z.ZodString>;
922
922
  }, "strip", z.ZodTypeAny, {
923
+ payloadType?: string | undefined;
924
+ tags?: string | string[] | undefined;
925
+ idempotencyKey?: string | undefined;
926
+ maxAttempts?: number | undefined;
927
+ metadata?: any;
928
+ maxDuration?: number | undefined;
923
929
  queue?: {
924
930
  name?: string | undefined;
925
931
  concurrencyLimit?: number | undefined;
926
932
  } | undefined;
927
- maxAttempts?: number | undefined;
928
- maxDuration?: number | undefined;
929
- metadata?: any;
930
- parentAttempt?: string | undefined;
931
- lockToVersion?: string | undefined;
932
- concurrencyKey?: string | undefined;
933
- idempotencyKey?: string | undefined;
934
933
  idempotencyKeyTTL?: string | undefined;
935
- test?: boolean | undefined;
936
- payloadType?: string | undefined;
934
+ concurrencyKey?: string | undefined;
937
935
  delay?: string | Date | undefined;
938
936
  ttl?: string | number | undefined;
939
- tags?: string | string[] | undefined;
937
+ parentAttempt?: string | undefined;
938
+ lockToVersion?: string | undefined;
939
+ test?: boolean | undefined;
940
940
  metadataType?: string | undefined;
941
941
  }, {
942
+ payloadType?: string | undefined;
943
+ tags?: string | string[] | undefined;
944
+ idempotencyKey?: string | undefined;
945
+ maxAttempts?: number | undefined;
946
+ metadata?: any;
947
+ maxDuration?: number | undefined;
942
948
  queue?: {
943
949
  name?: string | undefined;
944
950
  concurrencyLimit?: number | undefined;
945
951
  } | undefined;
946
- maxAttempts?: number | undefined;
947
- maxDuration?: number | undefined;
948
- metadata?: any;
949
- parentAttempt?: string | undefined;
950
- lockToVersion?: string | undefined;
951
- concurrencyKey?: string | undefined;
952
- idempotencyKey?: string | undefined;
953
952
  idempotencyKeyTTL?: string | undefined;
954
- test?: boolean | undefined;
955
- payloadType?: string | undefined;
953
+ concurrencyKey?: string | undefined;
956
954
  delay?: string | Date | undefined;
957
955
  ttl?: string | number | undefined;
958
- tags?: string | string[] | undefined;
956
+ parentAttempt?: string | undefined;
957
+ lockToVersion?: string | undefined;
958
+ test?: boolean | undefined;
959
959
  metadataType?: string | undefined;
960
960
  }>>;
961
961
  }, "strip", z.ZodTypeAny, {
962
962
  task: string;
963
963
  options?: {
964
+ payloadType?: string | undefined;
965
+ tags?: string | string[] | undefined;
966
+ idempotencyKey?: string | undefined;
967
+ maxAttempts?: number | undefined;
968
+ metadata?: any;
969
+ maxDuration?: number | undefined;
964
970
  queue?: {
965
971
  name?: string | undefined;
966
972
  concurrencyLimit?: number | undefined;
967
973
  } | undefined;
968
- maxAttempts?: number | undefined;
969
- maxDuration?: number | undefined;
970
- metadata?: any;
971
- parentAttempt?: string | undefined;
972
- lockToVersion?: string | undefined;
973
- concurrencyKey?: string | undefined;
974
- idempotencyKey?: string | undefined;
975
974
  idempotencyKeyTTL?: string | undefined;
976
- test?: boolean | undefined;
977
- payloadType?: string | undefined;
975
+ concurrencyKey?: string | undefined;
978
976
  delay?: string | Date | undefined;
979
977
  ttl?: string | number | undefined;
980
- tags?: string | string[] | undefined;
978
+ parentAttempt?: string | undefined;
979
+ lockToVersion?: string | undefined;
980
+ test?: boolean | undefined;
981
981
  metadataType?: string | undefined;
982
982
  } | undefined;
983
983
  payload?: any;
@@ -985,23 +985,23 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
985
985
  }, {
986
986
  task: string;
987
987
  options?: {
988
+ payloadType?: string | undefined;
989
+ tags?: string | string[] | undefined;
990
+ idempotencyKey?: string | undefined;
991
+ maxAttempts?: number | undefined;
992
+ metadata?: any;
993
+ maxDuration?: number | undefined;
988
994
  queue?: {
989
995
  name?: string | undefined;
990
996
  concurrencyLimit?: number | undefined;
991
997
  } | undefined;
992
- maxAttempts?: number | undefined;
993
- maxDuration?: number | undefined;
994
- metadata?: any;
995
- parentAttempt?: string | undefined;
996
- lockToVersion?: string | undefined;
997
- concurrencyKey?: string | undefined;
998
- idempotencyKey?: string | undefined;
999
998
  idempotencyKeyTTL?: string | undefined;
1000
- test?: boolean | undefined;
1001
- payloadType?: string | undefined;
999
+ concurrencyKey?: string | undefined;
1002
1000
  delay?: string | Date | undefined;
1003
1001
  ttl?: string | number | undefined;
1004
- tags?: string | string[] | undefined;
1002
+ parentAttempt?: string | undefined;
1003
+ lockToVersion?: string | undefined;
1004
+ test?: boolean | undefined;
1005
1005
  metadataType?: string | undefined;
1006
1006
  } | undefined;
1007
1007
  payload?: any;
@@ -1012,23 +1012,23 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1012
1012
  items: {
1013
1013
  task: string;
1014
1014
  options?: {
1015
+ payloadType?: string | undefined;
1016
+ tags?: string | string[] | undefined;
1017
+ idempotencyKey?: string | undefined;
1018
+ maxAttempts?: number | undefined;
1019
+ metadata?: any;
1020
+ maxDuration?: number | undefined;
1015
1021
  queue?: {
1016
1022
  name?: string | undefined;
1017
1023
  concurrencyLimit?: number | undefined;
1018
1024
  } | undefined;
1019
- maxAttempts?: number | undefined;
1020
- maxDuration?: number | undefined;
1021
- metadata?: any;
1022
- parentAttempt?: string | undefined;
1023
- lockToVersion?: string | undefined;
1024
- concurrencyKey?: string | undefined;
1025
- idempotencyKey?: string | undefined;
1026
1025
  idempotencyKeyTTL?: string | undefined;
1027
- test?: boolean | undefined;
1028
- payloadType?: string | undefined;
1026
+ concurrencyKey?: string | undefined;
1029
1027
  delay?: string | Date | undefined;
1030
1028
  ttl?: string | number | undefined;
1031
- tags?: string | string[] | undefined;
1029
+ parentAttempt?: string | undefined;
1030
+ lockToVersion?: string | undefined;
1031
+ test?: boolean | undefined;
1032
1032
  metadataType?: string | undefined;
1033
1033
  } | undefined;
1034
1034
  payload?: any;
@@ -1039,23 +1039,23 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1039
1039
  items: {
1040
1040
  task: string;
1041
1041
  options?: {
1042
+ payloadType?: string | undefined;
1043
+ tags?: string | string[] | undefined;
1044
+ idempotencyKey?: string | undefined;
1045
+ maxAttempts?: number | undefined;
1046
+ metadata?: any;
1047
+ maxDuration?: number | undefined;
1042
1048
  queue?: {
1043
1049
  name?: string | undefined;
1044
1050
  concurrencyLimit?: number | undefined;
1045
1051
  } | undefined;
1046
- maxAttempts?: number | undefined;
1047
- maxDuration?: number | undefined;
1048
- metadata?: any;
1049
- parentAttempt?: string | undefined;
1050
- lockToVersion?: string | undefined;
1051
- concurrencyKey?: string | undefined;
1052
- idempotencyKey?: string | undefined;
1053
1052
  idempotencyKeyTTL?: string | undefined;
1054
- test?: boolean | undefined;
1055
- payloadType?: string | undefined;
1053
+ concurrencyKey?: string | undefined;
1056
1054
  delay?: string | Date | undefined;
1057
1055
  ttl?: string | number | undefined;
1058
- tags?: string | string[] | undefined;
1056
+ parentAttempt?: string | undefined;
1057
+ lockToVersion?: string | undefined;
1058
+ test?: boolean | undefined;
1059
1059
  metadataType?: string | undefined;
1060
1060
  } | undefined;
1061
1061
  payload?: any;
@@ -1075,13 +1075,13 @@ export declare const BatchTriggerTaskV2Response: z.ZodObject<{
1075
1075
  idempotencyKey: z.ZodOptional<z.ZodString>;
1076
1076
  }, "strip", z.ZodTypeAny, {
1077
1077
  id: string;
1078
- isCached: boolean;
1079
1078
  taskIdentifier: string;
1079
+ isCached: boolean;
1080
1080
  idempotencyKey?: string | undefined;
1081
1081
  }, {
1082
1082
  id: string;
1083
- isCached: boolean;
1084
1083
  taskIdentifier: string;
1084
+ isCached: boolean;
1085
1085
  idempotencyKey?: string | undefined;
1086
1086
  }>, "many">;
1087
1087
  }, "strip", z.ZodTypeAny, {
@@ -1089,8 +1089,8 @@ export declare const BatchTriggerTaskV2Response: z.ZodObject<{
1089
1089
  isCached: boolean;
1090
1090
  runs: {
1091
1091
  id: string;
1092
- isCached: boolean;
1093
1092
  taskIdentifier: string;
1093
+ isCached: boolean;
1094
1094
  idempotencyKey?: string | undefined;
1095
1095
  }[];
1096
1096
  idempotencyKey?: string | undefined;
@@ -1099,8 +1099,8 @@ export declare const BatchTriggerTaskV2Response: z.ZodObject<{
1099
1099
  isCached: boolean;
1100
1100
  runs: {
1101
1101
  id: string;
1102
- isCached: boolean;
1103
1102
  taskIdentifier: string;
1103
+ isCached: boolean;
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,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: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1128
1128
  id: string;
1129
1129
  taskRunId: string;
1130
1130
  }, {
1131
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1131
+ status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
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: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
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: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1146
1146
  id: string;
1147
1147
  taskRunId: string;
1148
1148
  }[];
@@ -1241,10 +1241,10 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
1241
1241
  registryHost: z.ZodOptional<z.ZodString>;
1242
1242
  }, "strip", z.ZodTypeAny, {
1243
1243
  id: string;
1244
- contentHash: string;
1245
1244
  version: string;
1246
- shortCode: string;
1245
+ contentHash: string;
1247
1246
  imageTag: string;
1247
+ shortCode: string;
1248
1248
  externalBuildData?: {
1249
1249
  projectId: string;
1250
1250
  buildId: string;
@@ -1253,10 +1253,10 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
1253
1253
  registryHost?: string | undefined;
1254
1254
  }, {
1255
1255
  id: string;
1256
- contentHash: string;
1257
1256
  version: string;
1258
- shortCode: string;
1257
+ contentHash: string;
1259
1258
  imageTag: string;
1259
+ shortCode: string;
1260
1260
  externalBuildData?: {
1261
1261
  projectId: string;
1262
1262
  buildId: string;
@@ -1376,63 +1376,50 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1376
1376
  exportName: z.ZodString;
1377
1377
  }, "strip", z.ZodTypeAny, {
1378
1378
  id: string;
1379
- slug: string;
1380
1379
  filePath: string;
1381
1380
  exportName: string;
1381
+ slug: string;
1382
1382
  }, {
1383
1383
  id: string;
1384
- slug: string;
1385
1384
  filePath: string;
1386
1385
  exportName: string;
1386
+ slug: string;
1387
1387
  }>, "many">;
1388
1388
  }, "strip", z.ZodTypeAny, {
1389
1389
  id: string;
1390
+ version: string;
1390
1391
  tasks: {
1391
1392
  id: string;
1392
- slug: string;
1393
1393
  filePath: string;
1394
1394
  exportName: string;
1395
+ slug: string;
1395
1396
  }[];
1396
- version: string;
1397
1397
  }, {
1398
1398
  id: string;
1399
+ version: string;
1399
1400
  tasks: {
1400
1401
  id: string;
1401
- slug: string;
1402
1402
  filePath: string;
1403
1403
  exportName: string;
1404
+ slug: string;
1404
1405
  }[];
1405
- version: string;
1406
1406
  }>>;
1407
1407
  }, "strip", z.ZodTypeAny, {
1408
- status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
1408
+ status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1409
1409
  id: string;
1410
- contentHash: string;
1411
1410
  version: string;
1411
+ contentHash: string;
1412
1412
  shortCode: string;
1413
- imageReference?: string | null | undefined;
1414
- errorData?: {
1415
- message: string;
1416
- name: string;
1417
- stack?: string | undefined;
1418
- stderr?: string | undefined;
1419
- } | null | undefined;
1420
1413
  worker?: {
1421
1414
  id: string;
1415
+ version: string;
1422
1416
  tasks: {
1423
1417
  id: string;
1424
- slug: string;
1425
1418
  filePath: string;
1426
1419
  exportName: string;
1420
+ slug: string;
1427
1421
  }[];
1428
- version: string;
1429
1422
  } | undefined;
1430
- }, {
1431
- status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
1432
- id: string;
1433
- contentHash: string;
1434
- version: string;
1435
- shortCode: string;
1436
1423
  imageReference?: string | null | undefined;
1437
1424
  errorData?: {
1438
1425
  message: string;
@@ -1440,16 +1427,29 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1440
1427
  stack?: string | undefined;
1441
1428
  stderr?: string | undefined;
1442
1429
  } | null | undefined;
1430
+ }, {
1431
+ status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1432
+ id: string;
1433
+ version: string;
1434
+ contentHash: string;
1435
+ shortCode: string;
1443
1436
  worker?: {
1444
1437
  id: string;
1438
+ version: string;
1445
1439
  tasks: {
1446
1440
  id: string;
1447
- slug: string;
1448
1441
  filePath: string;
1449
1442
  exportName: string;
1443
+ slug: string;
1450
1444
  }[];
1451
- version: string;
1452
1445
  } | undefined;
1446
+ imageReference?: string | null | undefined;
1447
+ errorData?: {
1448
+ message: string;
1449
+ name: string;
1450
+ stack?: string | undefined;
1451
+ stderr?: string | undefined;
1452
+ } | null | undefined;
1453
1453
  }>;
1454
1454
  export type GetDeploymentResponseBody = z.infer<typeof GetDeploymentResponseBody>;
1455
1455
  export declare const CreateUploadPayloadUrlResponseBody: z.ZodObject<{
@@ -1517,16 +1517,16 @@ export declare const ScheduledTaskPayload: z.ZodObject<{
1517
1517
  scheduleId: string;
1518
1518
  timestamp: Date;
1519
1519
  upcoming: Date[];
1520
- lastTimestamp?: Date | undefined;
1521
1520
  externalId?: string | undefined;
1521
+ lastTimestamp?: Date | undefined;
1522
1522
  }, {
1523
1523
  type: "DECLARATIVE" | "IMPERATIVE";
1524
1524
  timezone: string;
1525
1525
  scheduleId: string;
1526
1526
  timestamp: Date;
1527
1527
  upcoming: Date[];
1528
- lastTimestamp?: Date | undefined;
1529
1528
  externalId?: string | undefined;
1529
+ lastTimestamp?: Date | undefined;
1530
1530
  }>;
1531
1531
  export type ScheduledTaskPayload = z.infer<typeof ScheduledTaskPayload>;
1532
1532
  export declare const CreateScheduleOptions: z.ZodObject<{
@@ -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
- cron: string;
1574
1573
  task: string;
1574
+ cron: string;
1575
1575
  deduplicationKey: string;
1576
1576
  timezone?: string | undefined;
1577
1577
  externalId?: string | undefined;
1578
1578
  }, {
1579
- cron: string;
1580
1579
  task: string;
1580
+ cron: 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
- cron: string;
1628
1627
  task: string;
1628
+ cron: string;
1629
1629
  timezone?: string | undefined;
1630
1630
  externalId?: string | undefined;
1631
1631
  }, {
1632
- cron: string;
1633
1632
  task: string;
1633
+ cron: string;
1634
1634
  timezone?: string | undefined;
1635
1635
  externalId?: string | undefined;
1636
1636
  }>;
@@ -1687,14 +1687,14 @@ export declare const ScheduleObject: z.ZodObject<{
1687
1687
  }, "strip", z.ZodTypeAny, {
1688
1688
  type: "DECLARATIVE" | "IMPERATIVE";
1689
1689
  id: string;
1690
- timezone: string;
1691
1690
  task: string;
1692
- active: boolean;
1691
+ timezone: string;
1693
1692
  generator: {
1694
1693
  type: "CRON";
1695
1694
  description: string;
1696
1695
  expression: string;
1697
1696
  };
1697
+ active: boolean;
1698
1698
  environments: {
1699
1699
  type: string;
1700
1700
  id: string;
@@ -1706,14 +1706,14 @@ export declare const ScheduleObject: z.ZodObject<{
1706
1706
  }, {
1707
1707
  type: "DECLARATIVE" | "IMPERATIVE";
1708
1708
  id: string;
1709
- timezone: string;
1710
1709
  task: string;
1711
- active: boolean;
1710
+ timezone: string;
1712
1711
  generator: {
1713
1712
  type: "CRON";
1714
1713
  description: string;
1715
1714
  expression: string;
1716
1715
  };
1716
+ active: boolean;
1717
1717
  environments: {
1718
1718
  type: string;
1719
1719
  id: string;
@@ -1771,14 +1771,14 @@ export declare const ListSchedulesResult: z.ZodObject<{
1771
1771
  }, "strip", z.ZodTypeAny, {
1772
1772
  type: "DECLARATIVE" | "IMPERATIVE";
1773
1773
  id: string;
1774
- timezone: string;
1775
1774
  task: string;
1776
- active: boolean;
1775
+ timezone: string;
1777
1776
  generator: {
1778
1777
  type: "CRON";
1779
1778
  description: string;
1780
1779
  expression: string;
1781
1780
  };
1781
+ active: boolean;
1782
1782
  environments: {
1783
1783
  type: string;
1784
1784
  id: string;
@@ -1790,14 +1790,14 @@ export declare const ListSchedulesResult: z.ZodObject<{
1790
1790
  }, {
1791
1791
  type: "DECLARATIVE" | "IMPERATIVE";
1792
1792
  id: string;
1793
- timezone: string;
1794
1793
  task: string;
1795
- active: boolean;
1794
+ timezone: string;
1796
1795
  generator: {
1797
1796
  type: "CRON";
1798
1797
  description: string;
1799
1798
  expression: string;
1800
1799
  };
1800
+ active: boolean;
1801
1801
  environments: {
1802
1802
  type: string;
1803
1803
  id: string;
@@ -1824,14 +1824,14 @@ export declare const ListSchedulesResult: z.ZodObject<{
1824
1824
  data: {
1825
1825
  type: "DECLARATIVE" | "IMPERATIVE";
1826
1826
  id: string;
1827
- timezone: string;
1828
1827
  task: string;
1829
- active: boolean;
1828
+ timezone: string;
1830
1829
  generator: {
1831
1830
  type: "CRON";
1832
1831
  description: string;
1833
1832
  expression: string;
1834
1833
  };
1834
+ active: boolean;
1835
1835
  environments: {
1836
1836
  type: string;
1837
1837
  id: string;
@@ -1850,14 +1850,14 @@ export declare const ListSchedulesResult: z.ZodObject<{
1850
1850
  data: {
1851
1851
  type: "DECLARATIVE" | "IMPERATIVE";
1852
1852
  id: string;
1853
- timezone: string;
1854
1853
  task: string;
1855
- active: boolean;
1854
+ timezone: string;
1856
1855
  generator: {
1857
1856
  type: "CRON";
1858
1857
  description: string;
1859
1858
  expression: string;
1860
1859
  };
1860
+ active: boolean;
1861
1861
  environments: {
1862
1862
  type: string;
1863
1863
  id: string;
@@ -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>;
@@ -1979,58 +1979,58 @@ export declare const RelatedRunDetails: z.ZodObject<{
1979
1979
  durationMs: z.ZodNumber;
1980
1980
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1981
1981
  }, "strip", z.ZodTypeAny, {
1982
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
1982
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
1983
1983
  id: string;
1984
- createdAt: Date;
1985
1984
  tags: string[];
1985
+ isTest: boolean;
1986
+ createdAt: Date;
1987
+ durationMs: number;
1988
+ costInCents: number;
1989
+ baseCostInCents: number;
1986
1990
  taskIdentifier: string;
1987
1991
  depth: number;
1988
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
1992
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
1989
1993
  isQueued: boolean;
1990
1994
  isExecuting: boolean;
1991
1995
  isCompleted: boolean;
1992
1996
  isSuccess: boolean;
1993
1997
  isFailed: boolean;
1994
1998
  isCancelled: boolean;
1995
- isTest: boolean;
1996
1999
  updatedAt: Date;
1997
- costInCents: number;
1998
- baseCostInCents: number;
1999
- durationMs: number;
2000
- metadata?: Record<string, any> | undefined;
2001
- version?: string | undefined;
2000
+ startedAt?: Date | undefined;
2002
2001
  idempotencyKey?: string | undefined;
2002
+ version?: string | undefined;
2003
+ metadata?: Record<string, any> | undefined;
2003
2004
  ttl?: string | undefined;
2004
2005
  batchId?: string | undefined;
2005
- startedAt?: Date | undefined;
2006
2006
  finishedAt?: Date | undefined;
2007
2007
  delayedUntil?: Date | undefined;
2008
2008
  expiredAt?: Date | undefined;
2009
2009
  }, {
2010
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2010
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2011
2011
  id: string;
2012
- createdAt: Date;
2013
2012
  tags: string[];
2013
+ isTest: boolean;
2014
+ createdAt: Date;
2015
+ durationMs: number;
2016
+ costInCents: number;
2017
+ baseCostInCents: number;
2014
2018
  taskIdentifier: string;
2015
2019
  depth: number;
2016
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2020
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2017
2021
  isQueued: boolean;
2018
2022
  isExecuting: boolean;
2019
2023
  isCompleted: boolean;
2020
2024
  isSuccess: boolean;
2021
2025
  isFailed: boolean;
2022
2026
  isCancelled: boolean;
2023
- isTest: boolean;
2024
2027
  updatedAt: Date;
2025
- costInCents: number;
2026
- baseCostInCents: number;
2027
- durationMs: number;
2028
- metadata?: Record<string, any> | undefined;
2029
- version?: string | undefined;
2028
+ startedAt?: Date | undefined;
2030
2029
  idempotencyKey?: string | undefined;
2030
+ version?: string | undefined;
2031
+ metadata?: Record<string, any> | undefined;
2031
2032
  ttl?: string | undefined;
2032
2033
  batchId?: string | undefined;
2033
- startedAt?: Date | undefined;
2034
2034
  finishedAt?: Date | undefined;
2035
2035
  delayedUntil?: Date | undefined;
2036
2036
  expiredAt?: Date | undefined;
@@ -2119,58 +2119,58 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2119
2119
  durationMs: z.ZodNumber;
2120
2120
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2121
2121
  }, "strip", z.ZodTypeAny, {
2122
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2122
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2123
2123
  id: string;
2124
- createdAt: Date;
2125
2124
  tags: string[];
2125
+ isTest: boolean;
2126
+ createdAt: Date;
2127
+ durationMs: number;
2128
+ costInCents: number;
2129
+ baseCostInCents: number;
2126
2130
  taskIdentifier: string;
2127
2131
  depth: number;
2128
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2132
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2129
2133
  isQueued: boolean;
2130
2134
  isExecuting: boolean;
2131
2135
  isCompleted: boolean;
2132
2136
  isSuccess: boolean;
2133
2137
  isFailed: boolean;
2134
2138
  isCancelled: boolean;
2135
- isTest: boolean;
2136
2139
  updatedAt: Date;
2137
- costInCents: number;
2138
- baseCostInCents: number;
2139
- durationMs: number;
2140
- metadata?: Record<string, any> | undefined;
2141
- version?: string | undefined;
2140
+ startedAt?: Date | undefined;
2142
2141
  idempotencyKey?: string | undefined;
2142
+ version?: string | undefined;
2143
+ metadata?: Record<string, any> | undefined;
2143
2144
  ttl?: string | undefined;
2144
2145
  batchId?: string | undefined;
2145
- startedAt?: Date | undefined;
2146
2146
  finishedAt?: Date | undefined;
2147
2147
  delayedUntil?: Date | undefined;
2148
2148
  expiredAt?: Date | undefined;
2149
2149
  }, {
2150
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2150
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2151
2151
  id: string;
2152
- createdAt: Date;
2153
2152
  tags: string[];
2153
+ isTest: boolean;
2154
+ createdAt: Date;
2155
+ durationMs: number;
2156
+ costInCents: number;
2157
+ baseCostInCents: number;
2154
2158
  taskIdentifier: string;
2155
2159
  depth: number;
2156
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2160
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2157
2161
  isQueued: boolean;
2158
2162
  isExecuting: boolean;
2159
2163
  isCompleted: boolean;
2160
2164
  isSuccess: boolean;
2161
2165
  isFailed: boolean;
2162
2166
  isCancelled: boolean;
2163
- isTest: boolean;
2164
2167
  updatedAt: Date;
2165
- costInCents: number;
2166
- baseCostInCents: number;
2167
- durationMs: number;
2168
- metadata?: Record<string, any> | undefined;
2169
- version?: string | undefined;
2168
+ startedAt?: Date | undefined;
2170
2169
  idempotencyKey?: string | undefined;
2170
+ version?: string | undefined;
2171
+ metadata?: Record<string, any> | undefined;
2171
2172
  ttl?: string | undefined;
2172
2173
  batchId?: string | undefined;
2173
- startedAt?: Date | undefined;
2174
2174
  finishedAt?: Date | undefined;
2175
2175
  delayedUntil?: Date | undefined;
2176
2176
  expiredAt?: Date | undefined;
@@ -2204,58 +2204,58 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2204
2204
  durationMs: z.ZodNumber;
2205
2205
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2206
2206
  }, "strip", z.ZodTypeAny, {
2207
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2207
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2208
2208
  id: string;
2209
- createdAt: Date;
2210
2209
  tags: string[];
2210
+ isTest: boolean;
2211
+ createdAt: Date;
2212
+ durationMs: number;
2213
+ costInCents: number;
2214
+ baseCostInCents: number;
2211
2215
  taskIdentifier: string;
2212
2216
  depth: number;
2213
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2217
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2214
2218
  isQueued: boolean;
2215
2219
  isExecuting: boolean;
2216
2220
  isCompleted: boolean;
2217
2221
  isSuccess: boolean;
2218
2222
  isFailed: boolean;
2219
2223
  isCancelled: boolean;
2220
- isTest: boolean;
2221
2224
  updatedAt: Date;
2222
- costInCents: number;
2223
- baseCostInCents: number;
2224
- durationMs: number;
2225
- metadata?: Record<string, any> | undefined;
2226
- version?: string | undefined;
2225
+ startedAt?: Date | undefined;
2227
2226
  idempotencyKey?: string | undefined;
2227
+ version?: string | undefined;
2228
+ metadata?: Record<string, any> | undefined;
2228
2229
  ttl?: string | undefined;
2229
2230
  batchId?: string | undefined;
2230
- startedAt?: Date | undefined;
2231
2231
  finishedAt?: Date | undefined;
2232
2232
  delayedUntil?: Date | undefined;
2233
2233
  expiredAt?: Date | undefined;
2234
2234
  }, {
2235
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2235
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2236
2236
  id: string;
2237
- createdAt: Date;
2238
2237
  tags: string[];
2238
+ isTest: boolean;
2239
+ createdAt: Date;
2240
+ durationMs: number;
2241
+ costInCents: number;
2242
+ baseCostInCents: number;
2239
2243
  taskIdentifier: string;
2240
2244
  depth: number;
2241
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2245
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2242
2246
  isQueued: boolean;
2243
2247
  isExecuting: boolean;
2244
2248
  isCompleted: boolean;
2245
2249
  isSuccess: boolean;
2246
2250
  isFailed: boolean;
2247
2251
  isCancelled: boolean;
2248
- isTest: boolean;
2249
2252
  updatedAt: Date;
2250
- costInCents: number;
2251
- baseCostInCents: number;
2252
- durationMs: number;
2253
- metadata?: Record<string, any> | undefined;
2254
- version?: string | undefined;
2253
+ startedAt?: Date | undefined;
2255
2254
  idempotencyKey?: string | undefined;
2255
+ version?: string | undefined;
2256
+ metadata?: Record<string, any> | undefined;
2256
2257
  ttl?: string | undefined;
2257
2258
  batchId?: string | undefined;
2258
- startedAt?: Date | undefined;
2259
2259
  finishedAt?: Date | undefined;
2260
2260
  delayedUntil?: Date | undefined;
2261
2261
  expiredAt?: Date | undefined;
@@ -2289,234 +2289,234 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2289
2289
  durationMs: z.ZodNumber;
2290
2290
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2291
2291
  }, "strip", z.ZodTypeAny, {
2292
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2292
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2293
2293
  id: string;
2294
- createdAt: Date;
2295
2294
  tags: string[];
2295
+ isTest: boolean;
2296
+ createdAt: Date;
2297
+ durationMs: number;
2298
+ costInCents: number;
2299
+ baseCostInCents: number;
2296
2300
  taskIdentifier: string;
2297
2301
  depth: number;
2298
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2302
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2299
2303
  isQueued: boolean;
2300
2304
  isExecuting: boolean;
2301
2305
  isCompleted: boolean;
2302
2306
  isSuccess: boolean;
2303
2307
  isFailed: boolean;
2304
2308
  isCancelled: boolean;
2305
- isTest: boolean;
2306
2309
  updatedAt: Date;
2307
- costInCents: number;
2308
- baseCostInCents: number;
2309
- durationMs: number;
2310
- metadata?: Record<string, any> | undefined;
2311
- version?: string | undefined;
2310
+ startedAt?: Date | undefined;
2312
2311
  idempotencyKey?: string | undefined;
2312
+ version?: string | undefined;
2313
+ metadata?: Record<string, any> | undefined;
2313
2314
  ttl?: string | undefined;
2314
2315
  batchId?: string | undefined;
2315
- startedAt?: Date | undefined;
2316
2316
  finishedAt?: Date | undefined;
2317
2317
  delayedUntil?: Date | undefined;
2318
2318
  expiredAt?: Date | undefined;
2319
2319
  }, {
2320
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2320
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2321
2321
  id: string;
2322
- createdAt: Date;
2323
2322
  tags: string[];
2323
+ isTest: boolean;
2324
+ createdAt: Date;
2325
+ durationMs: number;
2326
+ costInCents: number;
2327
+ baseCostInCents: number;
2324
2328
  taskIdentifier: string;
2325
2329
  depth: number;
2326
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2330
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2327
2331
  isQueued: boolean;
2328
2332
  isExecuting: boolean;
2329
2333
  isCompleted: boolean;
2330
2334
  isSuccess: boolean;
2331
2335
  isFailed: boolean;
2332
2336
  isCancelled: boolean;
2333
- isTest: boolean;
2334
2337
  updatedAt: Date;
2335
- costInCents: number;
2336
- baseCostInCents: number;
2337
- durationMs: number;
2338
- metadata?: Record<string, any> | undefined;
2339
- version?: string | undefined;
2338
+ startedAt?: Date | undefined;
2340
2339
  idempotencyKey?: string | undefined;
2340
+ version?: string | undefined;
2341
+ metadata?: Record<string, any> | undefined;
2341
2342
  ttl?: string | undefined;
2342
2343
  batchId?: string | undefined;
2343
- startedAt?: Date | undefined;
2344
2344
  finishedAt?: Date | undefined;
2345
2345
  delayedUntil?: Date | undefined;
2346
2346
  expiredAt?: Date | undefined;
2347
2347
  }>, "many">>;
2348
2348
  }, "strip", z.ZodTypeAny, {
2349
2349
  root?: {
2350
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2350
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2351
2351
  id: string;
2352
- createdAt: Date;
2353
2352
  tags: string[];
2353
+ isTest: boolean;
2354
+ createdAt: Date;
2355
+ durationMs: number;
2356
+ costInCents: number;
2357
+ baseCostInCents: number;
2354
2358
  taskIdentifier: string;
2355
2359
  depth: number;
2356
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2360
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2357
2361
  isQueued: boolean;
2358
2362
  isExecuting: boolean;
2359
2363
  isCompleted: boolean;
2360
2364
  isSuccess: boolean;
2361
2365
  isFailed: boolean;
2362
2366
  isCancelled: boolean;
2363
- isTest: boolean;
2364
2367
  updatedAt: Date;
2365
- costInCents: number;
2366
- baseCostInCents: number;
2367
- durationMs: number;
2368
- metadata?: Record<string, any> | undefined;
2369
- version?: string | undefined;
2368
+ startedAt?: Date | undefined;
2370
2369
  idempotencyKey?: string | undefined;
2370
+ version?: string | undefined;
2371
+ metadata?: Record<string, any> | undefined;
2371
2372
  ttl?: string | undefined;
2372
2373
  batchId?: string | undefined;
2373
- startedAt?: Date | undefined;
2374
2374
  finishedAt?: Date | undefined;
2375
2375
  delayedUntil?: Date | undefined;
2376
2376
  expiredAt?: Date | undefined;
2377
2377
  } | undefined;
2378
2378
  parent?: {
2379
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2379
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2380
2380
  id: string;
2381
- createdAt: Date;
2382
2381
  tags: string[];
2382
+ isTest: boolean;
2383
+ createdAt: Date;
2384
+ durationMs: number;
2385
+ costInCents: number;
2386
+ baseCostInCents: number;
2383
2387
  taskIdentifier: string;
2384
2388
  depth: number;
2385
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2389
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2386
2390
  isQueued: boolean;
2387
2391
  isExecuting: boolean;
2388
2392
  isCompleted: boolean;
2389
2393
  isSuccess: boolean;
2390
2394
  isFailed: boolean;
2391
2395
  isCancelled: boolean;
2392
- isTest: boolean;
2393
2396
  updatedAt: Date;
2394
- costInCents: number;
2395
- baseCostInCents: number;
2396
- durationMs: number;
2397
- metadata?: Record<string, any> | undefined;
2398
- version?: string | undefined;
2397
+ startedAt?: Date | undefined;
2399
2398
  idempotencyKey?: string | undefined;
2399
+ version?: string | undefined;
2400
+ metadata?: Record<string, any> | undefined;
2400
2401
  ttl?: string | undefined;
2401
2402
  batchId?: string | undefined;
2402
- startedAt?: Date | undefined;
2403
2403
  finishedAt?: Date | undefined;
2404
2404
  delayedUntil?: Date | undefined;
2405
2405
  expiredAt?: Date | undefined;
2406
2406
  } | undefined;
2407
2407
  children?: {
2408
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2408
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2409
2409
  id: string;
2410
- createdAt: Date;
2411
2410
  tags: string[];
2411
+ isTest: boolean;
2412
+ createdAt: Date;
2413
+ durationMs: number;
2414
+ costInCents: number;
2415
+ baseCostInCents: number;
2412
2416
  taskIdentifier: string;
2413
2417
  depth: number;
2414
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2418
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2415
2419
  isQueued: boolean;
2416
2420
  isExecuting: boolean;
2417
2421
  isCompleted: boolean;
2418
2422
  isSuccess: boolean;
2419
2423
  isFailed: boolean;
2420
2424
  isCancelled: boolean;
2421
- isTest: boolean;
2422
2425
  updatedAt: Date;
2423
- costInCents: number;
2424
- baseCostInCents: number;
2425
- durationMs: number;
2426
- metadata?: Record<string, any> | undefined;
2427
- version?: string | undefined;
2426
+ startedAt?: Date | undefined;
2428
2427
  idempotencyKey?: string | undefined;
2428
+ version?: string | undefined;
2429
+ metadata?: Record<string, any> | undefined;
2429
2430
  ttl?: string | undefined;
2430
2431
  batchId?: string | undefined;
2431
- startedAt?: Date | undefined;
2432
2432
  finishedAt?: Date | undefined;
2433
2433
  delayedUntil?: Date | undefined;
2434
2434
  expiredAt?: Date | undefined;
2435
2435
  }[] | undefined;
2436
2436
  }, {
2437
2437
  root?: {
2438
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2438
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2439
2439
  id: string;
2440
- createdAt: Date;
2441
2440
  tags: string[];
2441
+ isTest: boolean;
2442
+ createdAt: Date;
2443
+ durationMs: number;
2444
+ costInCents: number;
2445
+ baseCostInCents: number;
2442
2446
  taskIdentifier: string;
2443
2447
  depth: number;
2444
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2448
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2445
2449
  isQueued: boolean;
2446
2450
  isExecuting: boolean;
2447
2451
  isCompleted: boolean;
2448
2452
  isSuccess: boolean;
2449
2453
  isFailed: boolean;
2450
2454
  isCancelled: boolean;
2451
- isTest: boolean;
2452
2455
  updatedAt: Date;
2453
- costInCents: number;
2454
- baseCostInCents: number;
2455
- durationMs: number;
2456
- metadata?: Record<string, any> | undefined;
2457
- version?: string | undefined;
2456
+ startedAt?: Date | undefined;
2458
2457
  idempotencyKey?: string | undefined;
2458
+ version?: string | undefined;
2459
+ metadata?: Record<string, any> | undefined;
2459
2460
  ttl?: string | undefined;
2460
2461
  batchId?: string | undefined;
2461
- startedAt?: Date | undefined;
2462
2462
  finishedAt?: Date | undefined;
2463
2463
  delayedUntil?: Date | undefined;
2464
2464
  expiredAt?: Date | undefined;
2465
2465
  } | undefined;
2466
2466
  parent?: {
2467
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2467
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2468
2468
  id: string;
2469
- createdAt: Date;
2470
2469
  tags: string[];
2470
+ isTest: boolean;
2471
+ createdAt: Date;
2472
+ durationMs: number;
2473
+ costInCents: number;
2474
+ baseCostInCents: number;
2471
2475
  taskIdentifier: string;
2472
2476
  depth: number;
2473
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2477
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2474
2478
  isQueued: boolean;
2475
2479
  isExecuting: boolean;
2476
2480
  isCompleted: boolean;
2477
2481
  isSuccess: boolean;
2478
2482
  isFailed: boolean;
2479
2483
  isCancelled: boolean;
2480
- isTest: boolean;
2481
2484
  updatedAt: Date;
2482
- costInCents: number;
2483
- baseCostInCents: number;
2484
- durationMs: number;
2485
- metadata?: Record<string, any> | undefined;
2486
- version?: string | undefined;
2485
+ startedAt?: Date | undefined;
2487
2486
  idempotencyKey?: string | undefined;
2487
+ version?: string | undefined;
2488
+ metadata?: Record<string, any> | undefined;
2488
2489
  ttl?: string | undefined;
2489
2490
  batchId?: string | undefined;
2490
- startedAt?: Date | undefined;
2491
2491
  finishedAt?: Date | undefined;
2492
2492
  delayedUntil?: Date | undefined;
2493
2493
  expiredAt?: Date | undefined;
2494
2494
  } | undefined;
2495
2495
  children?: {
2496
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2496
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2497
2497
  id: string;
2498
- createdAt: Date;
2499
2498
  tags: string[];
2499
+ isTest: boolean;
2500
+ createdAt: Date;
2501
+ durationMs: number;
2502
+ costInCents: number;
2503
+ baseCostInCents: number;
2500
2504
  taskIdentifier: string;
2501
2505
  depth: number;
2502
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2506
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2503
2507
  isQueued: boolean;
2504
2508
  isExecuting: boolean;
2505
2509
  isCompleted: boolean;
2506
2510
  isSuccess: boolean;
2507
2511
  isFailed: boolean;
2508
2512
  isCancelled: boolean;
2509
- isTest: boolean;
2510
2513
  updatedAt: Date;
2511
- costInCents: number;
2512
- baseCostInCents: number;
2513
- durationMs: number;
2514
- metadata?: Record<string, any> | undefined;
2515
- version?: string | undefined;
2514
+ startedAt?: Date | undefined;
2516
2515
  idempotencyKey?: string | undefined;
2516
+ version?: string | undefined;
2517
+ metadata?: Record<string, any> | undefined;
2517
2518
  ttl?: string | undefined;
2518
2519
  batchId?: string | undefined;
2519
- startedAt?: Date | undefined;
2520
2520
  finishedAt?: Date | undefined;
2521
2521
  delayedUntil?: Date | undefined;
2522
2522
  expiredAt?: Date | undefined;
@@ -2543,28 +2543,28 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2543
2543
  stackTrace?: string | undefined;
2544
2544
  }>>;
2545
2545
  }, "strip", z.ZodTypeAny, {
2546
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2546
+ status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2547
2547
  id: string;
2548
2548
  createdAt: Date;
2549
2549
  updatedAt: Date;
2550
+ startedAt?: Date | undefined;
2550
2551
  error?: {
2551
2552
  message: string;
2552
2553
  name?: string | undefined;
2553
2554
  stackTrace?: string | undefined;
2554
2555
  } | undefined;
2555
- startedAt?: Date | undefined;
2556
2556
  completedAt?: Date | undefined;
2557
2557
  }, {
2558
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2558
+ status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2559
2559
  id: string;
2560
2560
  createdAt: Date;
2561
2561
  updatedAt: Date;
2562
+ startedAt?: Date | undefined;
2562
2563
  error?: {
2563
2564
  message: string;
2564
2565
  name?: string | undefined;
2565
2566
  stackTrace?: string | undefined;
2566
2567
  } | undefined;
2567
- startedAt?: Date | undefined;
2568
2568
  completedAt?: Date | undefined;
2569
2569
  }>>, "many">;
2570
2570
  attemptCount: z.ZodDefault<z.ZodNumber>;
@@ -2596,127 +2596,134 @@ 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: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2600
2600
  id: string;
2601
- createdAt: Date;
2602
2601
  tags: string[];
2603
- taskIdentifier: string;
2604
- depth: number;
2605
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2606
- isQueued: boolean;
2607
- isExecuting: boolean;
2608
- isCompleted: boolean;
2609
- isSuccess: boolean;
2610
- isFailed: boolean;
2611
- isCancelled: boolean;
2612
2602
  isTest: boolean;
2613
- updatedAt: Date;
2603
+ createdAt: Date;
2604
+ durationMs: number;
2614
2605
  costInCents: number;
2615
2606
  baseCostInCents: number;
2616
- durationMs: number;
2607
+ taskIdentifier: string;
2617
2608
  relatedRuns: {
2618
2609
  root?: {
2619
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2610
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2620
2611
  id: string;
2621
- createdAt: Date;
2622
2612
  tags: string[];
2613
+ isTest: boolean;
2614
+ createdAt: Date;
2615
+ durationMs: number;
2616
+ costInCents: number;
2617
+ baseCostInCents: number;
2623
2618
  taskIdentifier: string;
2624
2619
  depth: number;
2625
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2620
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2626
2621
  isQueued: boolean;
2627
2622
  isExecuting: boolean;
2628
2623
  isCompleted: boolean;
2629
2624
  isSuccess: boolean;
2630
2625
  isFailed: boolean;
2631
2626
  isCancelled: boolean;
2632
- isTest: boolean;
2633
2627
  updatedAt: Date;
2634
- costInCents: number;
2635
- baseCostInCents: number;
2636
- durationMs: number;
2637
- metadata?: Record<string, any> | undefined;
2638
- version?: string | undefined;
2628
+ startedAt?: Date | undefined;
2639
2629
  idempotencyKey?: string | undefined;
2630
+ version?: string | undefined;
2631
+ metadata?: Record<string, any> | undefined;
2640
2632
  ttl?: string | undefined;
2641
2633
  batchId?: string | undefined;
2642
- startedAt?: Date | undefined;
2643
2634
  finishedAt?: Date | undefined;
2644
2635
  delayedUntil?: Date | undefined;
2645
2636
  expiredAt?: Date | undefined;
2646
2637
  } | undefined;
2647
2638
  parent?: {
2648
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2639
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2649
2640
  id: string;
2650
- createdAt: Date;
2651
2641
  tags: string[];
2642
+ isTest: boolean;
2643
+ createdAt: Date;
2644
+ durationMs: number;
2645
+ costInCents: number;
2646
+ baseCostInCents: number;
2652
2647
  taskIdentifier: string;
2653
2648
  depth: number;
2654
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2649
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2655
2650
  isQueued: boolean;
2656
2651
  isExecuting: boolean;
2657
2652
  isCompleted: boolean;
2658
2653
  isSuccess: boolean;
2659
2654
  isFailed: boolean;
2660
2655
  isCancelled: boolean;
2661
- isTest: boolean;
2662
2656
  updatedAt: Date;
2663
- costInCents: number;
2664
- baseCostInCents: number;
2665
- durationMs: number;
2666
- metadata?: Record<string, any> | undefined;
2667
- version?: string | undefined;
2657
+ startedAt?: Date | undefined;
2668
2658
  idempotencyKey?: string | undefined;
2659
+ version?: string | undefined;
2660
+ metadata?: Record<string, any> | undefined;
2669
2661
  ttl?: string | undefined;
2670
2662
  batchId?: string | undefined;
2671
- startedAt?: Date | undefined;
2672
2663
  finishedAt?: Date | undefined;
2673
2664
  delayedUntil?: Date | undefined;
2674
2665
  expiredAt?: Date | undefined;
2675
2666
  } | undefined;
2676
2667
  children?: {
2677
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2668
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2678
2669
  id: string;
2679
- createdAt: Date;
2680
2670
  tags: string[];
2671
+ isTest: boolean;
2672
+ createdAt: Date;
2673
+ durationMs: number;
2674
+ costInCents: number;
2675
+ baseCostInCents: number;
2681
2676
  taskIdentifier: string;
2682
2677
  depth: number;
2683
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2678
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2684
2679
  isQueued: boolean;
2685
2680
  isExecuting: boolean;
2686
2681
  isCompleted: boolean;
2687
2682
  isSuccess: boolean;
2688
2683
  isFailed: boolean;
2689
2684
  isCancelled: boolean;
2690
- isTest: boolean;
2691
2685
  updatedAt: Date;
2692
- costInCents: number;
2693
- baseCostInCents: number;
2694
- durationMs: number;
2695
- metadata?: Record<string, any> | undefined;
2696
- version?: string | undefined;
2686
+ startedAt?: Date | undefined;
2697
2687
  idempotencyKey?: string | undefined;
2688
+ version?: string | undefined;
2689
+ metadata?: Record<string, any> | undefined;
2698
2690
  ttl?: string | undefined;
2699
2691
  batchId?: string | undefined;
2700
- startedAt?: Date | undefined;
2701
2692
  finishedAt?: Date | undefined;
2702
2693
  delayedUntil?: Date | undefined;
2703
2694
  expiredAt?: Date | undefined;
2704
2695
  }[] | undefined;
2705
2696
  };
2697
+ depth: number;
2698
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2699
+ isQueued: boolean;
2700
+ isExecuting: boolean;
2701
+ isCompleted: boolean;
2702
+ isSuccess: boolean;
2703
+ isFailed: boolean;
2704
+ isCancelled: boolean;
2705
+ updatedAt: Date;
2706
2706
  attempts: ({
2707
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2707
+ status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2708
2708
  id: string;
2709
2709
  createdAt: Date;
2710
2710
  updatedAt: Date;
2711
+ startedAt?: Date | undefined;
2711
2712
  error?: {
2712
2713
  message: string;
2713
2714
  name?: string | undefined;
2714
2715
  stackTrace?: string | undefined;
2715
2716
  } | undefined;
2716
- startedAt?: Date | undefined;
2717
2717
  completedAt?: Date | undefined;
2718
2718
  } | undefined)[];
2719
2719
  attemptCount: number;
2720
+ output?: any;
2721
+ startedAt?: Date | undefined;
2722
+ payload?: any;
2723
+ idempotencyKey?: string | undefined;
2724
+ version?: string | undefined;
2725
+ metadata?: Record<string, any> | undefined;
2726
+ ttl?: string | undefined;
2720
2727
  schedule?: {
2721
2728
  id: string;
2722
2729
  generator: {
@@ -2727,145 +2734,145 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2727
2734
  externalId?: string | undefined;
2728
2735
  deduplicationKey?: string | undefined;
2729
2736
  } | undefined;
2730
- metadata?: Record<string, any> | undefined;
2731
- version?: string | undefined;
2732
- payload?: any;
2733
- idempotencyKey?: string | undefined;
2734
- ttl?: string | undefined;
2735
- batchId?: string | undefined;
2737
+ payloadPresignedUrl?: string | undefined;
2738
+ outputPresignedUrl?: string | undefined;
2736
2739
  error?: {
2737
2740
  message: string;
2738
2741
  name?: string | undefined;
2739
2742
  stackTrace?: string | undefined;
2740
2743
  } | undefined;
2741
- startedAt?: Date | undefined;
2744
+ batchId?: string | undefined;
2742
2745
  finishedAt?: Date | undefined;
2743
2746
  delayedUntil?: Date | undefined;
2744
2747
  expiredAt?: Date | undefined;
2745
- payloadPresignedUrl?: string | undefined;
2746
- output?: any;
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: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2750
2750
  id: string;
2751
- createdAt: Date;
2752
2751
  tags: string[];
2753
- taskIdentifier: string;
2754
- depth: number;
2755
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2756
- isQueued: boolean;
2757
- isExecuting: boolean;
2758
- isCompleted: boolean;
2759
- isSuccess: boolean;
2760
- isFailed: boolean;
2761
- isCancelled: boolean;
2762
2752
  isTest: boolean;
2763
- updatedAt: Date;
2753
+ createdAt: Date;
2754
+ durationMs: number;
2764
2755
  costInCents: number;
2765
2756
  baseCostInCents: number;
2766
- durationMs: number;
2757
+ taskIdentifier: string;
2767
2758
  relatedRuns: {
2768
2759
  root?: {
2769
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2760
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2770
2761
  id: string;
2771
- createdAt: Date;
2772
2762
  tags: string[];
2763
+ isTest: boolean;
2764
+ createdAt: Date;
2765
+ durationMs: number;
2766
+ costInCents: number;
2767
+ baseCostInCents: number;
2773
2768
  taskIdentifier: string;
2774
2769
  depth: number;
2775
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2770
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2776
2771
  isQueued: boolean;
2777
2772
  isExecuting: boolean;
2778
2773
  isCompleted: boolean;
2779
2774
  isSuccess: boolean;
2780
2775
  isFailed: boolean;
2781
2776
  isCancelled: boolean;
2782
- isTest: boolean;
2783
2777
  updatedAt: Date;
2784
- costInCents: number;
2785
- baseCostInCents: number;
2786
- durationMs: number;
2787
- metadata?: Record<string, any> | undefined;
2788
- version?: string | undefined;
2778
+ startedAt?: Date | undefined;
2789
2779
  idempotencyKey?: string | undefined;
2780
+ version?: string | undefined;
2781
+ metadata?: Record<string, any> | undefined;
2790
2782
  ttl?: string | undefined;
2791
2783
  batchId?: string | undefined;
2792
- startedAt?: Date | undefined;
2793
2784
  finishedAt?: Date | undefined;
2794
2785
  delayedUntil?: Date | undefined;
2795
2786
  expiredAt?: Date | undefined;
2796
2787
  } | undefined;
2797
2788
  parent?: {
2798
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2789
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2799
2790
  id: string;
2800
- createdAt: Date;
2801
2791
  tags: string[];
2792
+ isTest: boolean;
2793
+ createdAt: Date;
2794
+ durationMs: number;
2795
+ costInCents: number;
2796
+ baseCostInCents: number;
2802
2797
  taskIdentifier: string;
2803
2798
  depth: number;
2804
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2799
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2805
2800
  isQueued: boolean;
2806
2801
  isExecuting: boolean;
2807
2802
  isCompleted: boolean;
2808
2803
  isSuccess: boolean;
2809
2804
  isFailed: boolean;
2810
2805
  isCancelled: boolean;
2811
- isTest: boolean;
2812
2806
  updatedAt: Date;
2813
- costInCents: number;
2814
- baseCostInCents: number;
2815
- durationMs: number;
2816
- metadata?: Record<string, any> | undefined;
2817
- version?: string | undefined;
2807
+ startedAt?: Date | undefined;
2818
2808
  idempotencyKey?: string | undefined;
2809
+ version?: string | undefined;
2810
+ metadata?: Record<string, any> | undefined;
2819
2811
  ttl?: string | undefined;
2820
2812
  batchId?: string | undefined;
2821
- startedAt?: Date | undefined;
2822
2813
  finishedAt?: Date | undefined;
2823
2814
  delayedUntil?: Date | undefined;
2824
2815
  expiredAt?: Date | undefined;
2825
2816
  } | undefined;
2826
2817
  children?: {
2827
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2818
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2828
2819
  id: string;
2829
- createdAt: Date;
2830
2820
  tags: string[];
2821
+ isTest: boolean;
2822
+ createdAt: Date;
2823
+ durationMs: number;
2824
+ costInCents: number;
2825
+ baseCostInCents: number;
2831
2826
  taskIdentifier: string;
2832
2827
  depth: number;
2833
- triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2828
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2834
2829
  isQueued: boolean;
2835
2830
  isExecuting: boolean;
2836
2831
  isCompleted: boolean;
2837
2832
  isSuccess: boolean;
2838
2833
  isFailed: boolean;
2839
2834
  isCancelled: boolean;
2840
- isTest: boolean;
2841
2835
  updatedAt: Date;
2842
- costInCents: number;
2843
- baseCostInCents: number;
2844
- durationMs: number;
2845
- metadata?: Record<string, any> | undefined;
2846
- version?: string | undefined;
2836
+ startedAt?: Date | undefined;
2847
2837
  idempotencyKey?: string | undefined;
2838
+ version?: string | undefined;
2839
+ metadata?: Record<string, any> | undefined;
2848
2840
  ttl?: string | undefined;
2849
2841
  batchId?: string | undefined;
2850
- startedAt?: Date | undefined;
2851
2842
  finishedAt?: Date | undefined;
2852
2843
  delayedUntil?: Date | undefined;
2853
2844
  expiredAt?: Date | undefined;
2854
2845
  }[] | undefined;
2855
2846
  };
2847
+ depth: number;
2848
+ triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
2849
+ isQueued: boolean;
2850
+ isExecuting: boolean;
2851
+ isCompleted: boolean;
2852
+ isSuccess: boolean;
2853
+ isFailed: boolean;
2854
+ isCancelled: boolean;
2855
+ updatedAt: Date;
2856
2856
  attempts: ({
2857
- status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2857
+ status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2858
2858
  id: string;
2859
2859
  createdAt: Date;
2860
2860
  updatedAt: Date;
2861
+ startedAt?: Date | undefined;
2861
2862
  error?: {
2862
2863
  message: string;
2863
2864
  name?: string | undefined;
2864
2865
  stackTrace?: string | undefined;
2865
2866
  } | undefined;
2866
- startedAt?: Date | undefined;
2867
2867
  completedAt?: Date | undefined;
2868
2868
  } | undefined)[];
2869
+ output?: any;
2870
+ startedAt?: Date | undefined;
2871
+ payload?: any;
2872
+ idempotencyKey?: string | undefined;
2873
+ version?: string | undefined;
2874
+ metadata?: Record<string, any> | undefined;
2875
+ ttl?: string | undefined;
2869
2876
  schedule?: {
2870
2877
  id: string;
2871
2878
  generator: {
@@ -2876,24 +2883,17 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2876
2883
  externalId?: string | undefined;
2877
2884
  deduplicationKey?: string | undefined;
2878
2885
  } | undefined;
2879
- metadata?: Record<string, any> | undefined;
2880
- version?: string | undefined;
2881
- payload?: any;
2882
- idempotencyKey?: string | undefined;
2883
- ttl?: string | undefined;
2884
- batchId?: string | undefined;
2886
+ payloadPresignedUrl?: string | undefined;
2887
+ outputPresignedUrl?: string | undefined;
2885
2888
  error?: {
2886
2889
  message: string;
2887
2890
  name?: string | undefined;
2888
2891
  stackTrace?: string | undefined;
2889
2892
  } | undefined;
2890
- startedAt?: Date | undefined;
2893
+ batchId?: string | undefined;
2891
2894
  finishedAt?: Date | undefined;
2892
2895
  delayedUntil?: Date | undefined;
2893
2896
  expiredAt?: Date | undefined;
2894
- payloadPresignedUrl?: string | undefined;
2895
- output?: any;
2896
- outputPresignedUrl?: string | undefined;
2897
2897
  attemptCount?: number | undefined;
2898
2898
  }>;
2899
2899
  export type RetrieveRunResponse = z.infer<typeof RetrieveRunResponse>;
@@ -2903,12 +2903,12 @@ export declare const ListRunResponseItem: z.ZodObject<{
2903
2903
  name: z.ZodString;
2904
2904
  user: z.ZodOptional<z.ZodString>;
2905
2905
  }, "strip", z.ZodTypeAny, {
2906
- 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,10 +2936,14 @@ 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: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2940
2940
  id: string;
2941
- createdAt: Date;
2942
2941
  tags: string[];
2942
+ isTest: boolean;
2943
+ createdAt: Date;
2944
+ durationMs: number;
2945
+ costInCents: number;
2946
+ baseCostInCents: number;
2943
2947
  taskIdentifier: string;
2944
2948
  isQueued: boolean;
2945
2949
  isExecuting: boolean;
@@ -2947,29 +2951,29 @@ export declare const ListRunResponseItem: z.ZodObject<{
2947
2951
  isSuccess: boolean;
2948
2952
  isFailed: boolean;
2949
2953
  isCancelled: boolean;
2950
- isTest: boolean;
2951
2954
  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
- metadata?: Record<string, any> | undefined;
2961
- version?: string | undefined;
2960
+ startedAt?: Date | undefined;
2962
2961
  idempotencyKey?: string | undefined;
2962
+ version?: string | undefined;
2963
+ metadata?: Record<string, any> | undefined;
2963
2964
  ttl?: string | undefined;
2964
- startedAt?: Date | undefined;
2965
2965
  finishedAt?: Date | undefined;
2966
2966
  delayedUntil?: Date | undefined;
2967
2967
  expiredAt?: Date | undefined;
2968
2968
  }, {
2969
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2969
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2970
2970
  id: string;
2971
- createdAt: Date;
2972
2971
  tags: string[];
2972
+ isTest: boolean;
2973
+ createdAt: Date;
2974
+ durationMs: number;
2975
+ costInCents: number;
2976
+ baseCostInCents: number;
2973
2977
  taskIdentifier: string;
2974
2978
  isQueued: boolean;
2975
2979
  isExecuting: boolean;
@@ -2977,21 +2981,17 @@ export declare const ListRunResponseItem: z.ZodObject<{
2977
2981
  isSuccess: boolean;
2978
2982
  isFailed: boolean;
2979
2983
  isCancelled: boolean;
2980
- isTest: boolean;
2981
2984
  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
- metadata?: Record<string, any> | undefined;
2991
- version?: string | undefined;
2990
+ startedAt?: Date | undefined;
2992
2991
  idempotencyKey?: string | undefined;
2992
+ version?: string | undefined;
2993
+ metadata?: Record<string, any> | undefined;
2993
2994
  ttl?: string | undefined;
2994
- startedAt?: Date | undefined;
2995
2995
  finishedAt?: Date | undefined;
2996
2996
  delayedUntil?: Date | undefined;
2997
2997
  expiredAt?: Date | undefined;
@@ -3004,12 +3004,12 @@ export declare const ListRunResponse: z.ZodObject<{
3004
3004
  name: z.ZodString;
3005
3005
  user: z.ZodOptional<z.ZodString>;
3006
3006
  }, "strip", z.ZodTypeAny, {
3007
- 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,10 +3037,14 @@ 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: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3041
3041
  id: string;
3042
- createdAt: Date;
3043
3042
  tags: string[];
3043
+ isTest: boolean;
3044
+ createdAt: Date;
3045
+ durationMs: number;
3046
+ costInCents: number;
3047
+ baseCostInCents: number;
3044
3048
  taskIdentifier: string;
3045
3049
  isQueued: boolean;
3046
3050
  isExecuting: boolean;
@@ -3048,29 +3052,29 @@ export declare const ListRunResponse: z.ZodObject<{
3048
3052
  isSuccess: boolean;
3049
3053
  isFailed: boolean;
3050
3054
  isCancelled: boolean;
3051
- isTest: boolean;
3052
3055
  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
- metadata?: Record<string, any> | undefined;
3062
- version?: string | undefined;
3061
+ startedAt?: Date | undefined;
3063
3062
  idempotencyKey?: string | undefined;
3063
+ version?: string | undefined;
3064
+ metadata?: Record<string, any> | undefined;
3064
3065
  ttl?: string | undefined;
3065
- startedAt?: Date | undefined;
3066
3066
  finishedAt?: Date | undefined;
3067
3067
  delayedUntil?: Date | undefined;
3068
3068
  expiredAt?: Date | undefined;
3069
3069
  }, {
3070
- status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3070
+ status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3071
3071
  id: string;
3072
- createdAt: Date;
3073
3072
  tags: string[];
3073
+ isTest: boolean;
3074
+ createdAt: Date;
3075
+ durationMs: number;
3076
+ costInCents: number;
3077
+ baseCostInCents: number;
3074
3078
  taskIdentifier: string;
3075
3079
  isQueued: boolean;
3076
3080
  isExecuting: boolean;
@@ -3078,21 +3082,17 @@ export declare const ListRunResponse: z.ZodObject<{
3078
3082
  isSuccess: boolean;
3079
3083
  isFailed: boolean;
3080
3084
  isCancelled: boolean;
3081
- isTest: boolean;
3082
3085
  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
- metadata?: Record<string, any> | undefined;
3092
- version?: string | undefined;
3091
+ startedAt?: Date | undefined;
3093
3092
  idempotencyKey?: string | undefined;
3093
+ version?: string | undefined;
3094
+ metadata?: Record<string, any> | undefined;
3094
3095
  ttl?: string | undefined;
3095
- startedAt?: Date | undefined;
3096
3096
  finishedAt?: Date | undefined;
3097
3097
  delayedUntil?: Date | undefined;
3098
3098
  expiredAt?: Date | undefined;
@@ -3109,10 +3109,14 @@ 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: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3113
3113
  id: string;
3114
- createdAt: Date;
3115
3114
  tags: string[];
3115
+ isTest: boolean;
3116
+ createdAt: Date;
3117
+ durationMs: number;
3118
+ costInCents: number;
3119
+ baseCostInCents: number;
3116
3120
  taskIdentifier: string;
3117
3121
  isQueued: boolean;
3118
3122
  isExecuting: boolean;
@@ -3120,21 +3124,17 @@ export declare const ListRunResponse: z.ZodObject<{
3120
3124
  isSuccess: boolean;
3121
3125
  isFailed: boolean;
3122
3126
  isCancelled: boolean;
3123
- isTest: boolean;
3124
3127
  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
- metadata?: Record<string, any> | undefined;
3134
- version?: string | undefined;
3133
+ startedAt?: Date | undefined;
3135
3134
  idempotencyKey?: string | undefined;
3135
+ version?: string | undefined;
3136
+ metadata?: Record<string, any> | undefined;
3136
3137
  ttl?: string | undefined;
3137
- startedAt?: Date | undefined;
3138
3138
  finishedAt?: Date | undefined;
3139
3139
  delayedUntil?: Date | undefined;
3140
3140
  expiredAt?: Date | undefined;
@@ -3145,10 +3145,14 @@ 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: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3149
3149
  id: string;
3150
- createdAt: Date;
3151
3150
  tags: string[];
3151
+ isTest: boolean;
3152
+ createdAt: Date;
3153
+ durationMs: number;
3154
+ costInCents: number;
3155
+ baseCostInCents: number;
3152
3156
  taskIdentifier: string;
3153
3157
  isQueued: boolean;
3154
3158
  isExecuting: boolean;
@@ -3156,21 +3160,17 @@ export declare const ListRunResponse: z.ZodObject<{
3156
3160
  isSuccess: boolean;
3157
3161
  isFailed: boolean;
3158
3162
  isCancelled: boolean;
3159
- isTest: boolean;
3160
3163
  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
- metadata?: Record<string, any> | undefined;
3170
- version?: string | undefined;
3169
+ startedAt?: Date | undefined;
3171
3170
  idempotencyKey?: string | undefined;
3171
+ version?: string | undefined;
3172
+ metadata?: Record<string, any> | undefined;
3172
3173
  ttl?: string | undefined;
3173
- startedAt?: Date | undefined;
3174
3174
  finishedAt?: Date | undefined;
3175
3175
  delayedUntil?: Date | undefined;
3176
3176
  expiredAt?: Date | undefined;
@@ -3346,21 +3346,22 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3346
3346
  number: number;
3347
3347
  status: string;
3348
3348
  id: string;
3349
- createdAt: Date;
3350
- taskIdentifier: string;
3351
3349
  isTest: boolean;
3352
- updatedAt: Date;
3350
+ createdAt: Date;
3353
3351
  costInCents: number;
3354
3352
  baseCostInCents: number;
3353
+ taskIdentifier: string;
3354
+ updatedAt: Date;
3355
3355
  friendlyId: string;
3356
3356
  usageDurationMs: number;
3357
3357
  runTags: string[] | null;
3358
- metadata?: string | null | undefined;
3358
+ output?: string | null | undefined;
3359
+ startedAt?: Date | null | undefined;
3359
3360
  payload?: string | null | undefined;
3360
- idempotencyKey?: string | null | undefined;
3361
3361
  payloadType?: string | null | undefined;
3362
+ idempotencyKey?: string | null | undefined;
3363
+ metadata?: string | null | undefined;
3362
3364
  ttl?: string | null | undefined;
3363
- metadataType?: string | null | undefined;
3364
3365
  error?: {
3365
3366
  message: string;
3366
3367
  type: "BUILT_IN_ERROR";
@@ -3378,10 +3379,9 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3378
3379
  message?: string | undefined;
3379
3380
  stackTrace?: string | undefined;
3380
3381
  } | null | undefined;
3381
- startedAt?: Date | null | undefined;
3382
3382
  expiredAt?: Date | null | undefined;
3383
- output?: string | null | undefined;
3384
3383
  completedAt?: Date | null | undefined;
3384
+ metadataType?: string | null | undefined;
3385
3385
  delayUntil?: Date | null | undefined;
3386
3386
  queuedAt?: Date | null | undefined;
3387
3387
  outputType?: string | null | undefined;
@@ -3389,20 +3389,21 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3389
3389
  number: number;
3390
3390
  status: string;
3391
3391
  id: string;
3392
- createdAt: Date;
3393
- taskIdentifier: string;
3394
3392
  isTest: boolean;
3395
- updatedAt: Date;
3393
+ createdAt: Date;
3396
3394
  costInCents: number;
3397
3395
  baseCostInCents: number;
3396
+ taskIdentifier: string;
3397
+ updatedAt: Date;
3398
3398
  friendlyId: string;
3399
3399
  usageDurationMs: number;
3400
- metadata?: string | null | undefined;
3400
+ output?: string | null | undefined;
3401
+ startedAt?: Date | null | undefined;
3401
3402
  payload?: string | null | undefined;
3402
- idempotencyKey?: string | null | undefined;
3403
3403
  payloadType?: string | null | undefined;
3404
+ idempotencyKey?: string | null | undefined;
3405
+ metadata?: string | null | undefined;
3404
3406
  ttl?: string | null | undefined;
3405
- metadataType?: string | null | undefined;
3406
3407
  error?: {
3407
3408
  message: string;
3408
3409
  type: "BUILT_IN_ERROR";
@@ -3420,10 +3421,9 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3420
3421
  message?: string | undefined;
3421
3422
  stackTrace?: string | undefined;
3422
3423
  } | null | undefined;
3423
- startedAt?: Date | null | undefined;
3424
3424
  expiredAt?: Date | null | undefined;
3425
- output?: string | null | undefined;
3426
3425
  completedAt?: Date | null | undefined;
3426
+ metadataType?: string | null | undefined;
3427
3427
  delayUntil?: Date | null | undefined;
3428
3428
  queuedAt?: Date | null | undefined;
3429
3429
  outputType?: string | null | undefined;
@@ -3440,14 +3440,14 @@ export declare const RetrieveBatchResponse: z.ZodObject<{
3440
3440
  updatedAt: z.ZodDate;
3441
3441
  runCount: z.ZodNumber;
3442
3442
  }, "strip", z.ZodTypeAny, {
3443
- status: "PENDING" | "COMPLETED";
3443
+ status: "COMPLETED" | "PENDING";
3444
3444
  id: string;
3445
3445
  createdAt: Date;
3446
3446
  updatedAt: Date;
3447
3447
  runCount: number;
3448
3448
  idempotencyKey?: string | undefined;
3449
3449
  }, {
3450
- status: "PENDING" | "COMPLETED";
3450
+ status: "COMPLETED" | "PENDING";
3451
3451
  id: string;
3452
3452
  createdAt: Date;
3453
3453
  updatedAt: Date;
@@ -3455,3 +3455,26 @@ export declare const RetrieveBatchResponse: z.ZodObject<{
3455
3455
  idempotencyKey?: string | undefined;
3456
3456
  }>;
3457
3457
  export type RetrieveBatchResponse = z.infer<typeof RetrieveBatchResponse>;
3458
+ export declare const SubscribeRealtimeStreamChunkRawShape: z.ZodObject<{
3459
+ id: z.ZodString;
3460
+ runId: z.ZodString;
3461
+ sequence: z.ZodNumber;
3462
+ key: z.ZodString;
3463
+ value: z.ZodString;
3464
+ createdAt: z.ZodDate;
3465
+ }, "strip", z.ZodTypeAny, {
3466
+ key: string;
3467
+ value: string;
3468
+ id: string;
3469
+ createdAt: Date;
3470
+ runId: string;
3471
+ sequence: number;
3472
+ }, {
3473
+ key: string;
3474
+ value: string;
3475
+ id: string;
3476
+ createdAt: Date;
3477
+ runId: string;
3478
+ sequence: number;
3479
+ }>;
3480
+ export type SubscribeRealtimeStreamChunkRawShape = z.infer<typeof SubscribeRealtimeStreamChunkRawShape>;