@trigger.dev/core 0.0.0-prerelease-20250212002625 → 0.0.0-python-preview-20250226140121

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 (161) hide show
  1. package/dist/commonjs/schemas/api.d.ts +1999 -1999
  2. package/dist/commonjs/schemas/events.d.ts +8 -8
  3. package/dist/commonjs/schemas/fetch.d.ts +54 -54
  4. package/dist/commonjs/schemas/integrations.d.ts +4 -4
  5. package/dist/commonjs/schemas/notifications.d.ts +80 -80
  6. package/dist/commonjs/schemas/properties.d.ts +4 -4
  7. package/dist/commonjs/schemas/request.d.ts +4 -4
  8. package/dist/commonjs/schemas/requestFilter.d.ts +2 -2
  9. package/dist/commonjs/schemas/runs.d.ts +39 -39
  10. package/dist/commonjs/schemas/schedules.d.ts +12 -12
  11. package/dist/commonjs/schemas/statuses.d.ts +24 -24
  12. package/dist/commonjs/schemas/tasks.d.ts +50 -50
  13. package/dist/commonjs/schemas/triggers.d.ts +36 -36
  14. package/dist/commonjs/v3/apiClient/index.d.ts +72 -72
  15. package/dist/commonjs/v3/apiClientManager/index.d.ts +1 -1
  16. package/dist/commonjs/v3/apps/provider.d.ts +1 -0
  17. package/dist/commonjs/v3/apps/provider.js +1 -0
  18. package/dist/commonjs/v3/apps/provider.js.map +1 -1
  19. package/dist/commonjs/v3/errors.d.ts +1 -0
  20. package/dist/commonjs/v3/errors.js +31 -0
  21. package/dist/commonjs/v3/errors.js.map +1 -1
  22. package/dist/commonjs/v3/index.d.ts +1 -0
  23. package/dist/commonjs/v3/index.js +1 -0
  24. package/dist/commonjs/v3/index.js.map +1 -1
  25. package/dist/commonjs/v3/links.d.ts +3 -0
  26. package/dist/commonjs/v3/links.js +3 -0
  27. package/dist/commonjs/v3/links.js.map +1 -1
  28. package/dist/commonjs/v3/run-timeline-metrics-api.d.ts +2 -0
  29. package/dist/commonjs/v3/run-timeline-metrics-api.js +8 -0
  30. package/dist/commonjs/v3/run-timeline-metrics-api.js.map +1 -0
  31. package/dist/commonjs/v3/runTimelineMetrics/index.d.ts +23 -0
  32. package/dist/commonjs/v3/runTimelineMetrics/index.js +160 -0
  33. package/dist/commonjs/v3/runTimelineMetrics/index.js.map +1 -0
  34. package/dist/commonjs/v3/runTimelineMetrics/runTimelineMetricsManager.d.ts +13 -0
  35. package/dist/commonjs/v3/runTimelineMetrics/runTimelineMetricsManager.js +52 -0
  36. package/dist/commonjs/v3/runTimelineMetrics/runTimelineMetricsManager.js.map +1 -0
  37. package/dist/commonjs/v3/runTimelineMetrics/types.d.ts +11 -0
  38. package/dist/commonjs/v3/runTimelineMetrics/types.js +3 -0
  39. package/dist/commonjs/v3/runTimelineMetrics/types.js.map +1 -0
  40. package/dist/commonjs/v3/schemas/api.d.ts +403 -403
  41. package/dist/commonjs/v3/schemas/build.d.ts +168 -168
  42. package/dist/commonjs/v3/schemas/common.d.ts +24 -24
  43. package/dist/commonjs/v3/schemas/common.js +1 -0
  44. package/dist/commonjs/v3/schemas/common.js.map +1 -1
  45. package/dist/commonjs/v3/schemas/fetch.d.ts +13 -13
  46. package/dist/commonjs/v3/schemas/index.d.ts +1 -0
  47. package/dist/commonjs/v3/schemas/index.js +1 -0
  48. package/dist/commonjs/v3/schemas/index.js.map +1 -1
  49. package/dist/commonjs/v3/schemas/messages.d.ts +6213 -3727
  50. package/dist/commonjs/v3/schemas/messages.js +22 -0
  51. package/dist/commonjs/v3/schemas/messages.js.map +1 -1
  52. package/dist/commonjs/v3/schemas/openTelemetry.d.ts +20 -20
  53. package/dist/commonjs/v3/schemas/resources.d.ts +58 -58
  54. package/dist/commonjs/v3/schemas/schemas.d.ts +386 -253
  55. package/dist/commonjs/v3/schemas/schemas.js +17 -1
  56. package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
  57. package/dist/commonjs/v3/schemas/webhooks.d.ts +1612 -0
  58. package/dist/commonjs/v3/schemas/webhooks.js +187 -0
  59. package/dist/commonjs/v3/schemas/webhooks.js.map +1 -0
  60. package/dist/commonjs/v3/semanticInternalAttributes.d.ts +1 -0
  61. package/dist/commonjs/v3/semanticInternalAttributes.js +1 -0
  62. package/dist/commonjs/v3/semanticInternalAttributes.js.map +1 -1
  63. package/dist/commonjs/v3/taskContext/index.js +1 -1
  64. package/dist/commonjs/v3/taskContext/index.js.map +1 -1
  65. package/dist/commonjs/v3/tracer.d.ts +10 -2
  66. package/dist/commonjs/v3/tracer.js +13 -4
  67. package/dist/commonjs/v3/tracer.js.map +1 -1
  68. package/dist/commonjs/v3/utils/flattenAttributes.js.map +1 -1
  69. package/dist/commonjs/v3/utils/globals.d.ts +2 -0
  70. package/dist/commonjs/v3/utils/globals.js.map +1 -1
  71. package/dist/commonjs/v3/workers/index.d.ts +1 -0
  72. package/dist/commonjs/v3/workers/index.js +3 -1
  73. package/dist/commonjs/v3/workers/index.js.map +1 -1
  74. package/dist/commonjs/v3/workers/taskExecutor.js +19 -9
  75. package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
  76. package/dist/commonjs/v3/zodMessageHandler.d.ts +2 -2
  77. package/dist/commonjs/v3/zodSocket.d.ts +2 -2
  78. package/dist/commonjs/v3/zodSocket.js +3 -2
  79. package/dist/commonjs/v3/zodSocket.js.map +1 -1
  80. package/dist/commonjs/version.js +1 -1
  81. package/dist/esm/schemas/api.d.ts +2001 -2001
  82. package/dist/esm/schemas/events.d.ts +8 -8
  83. package/dist/esm/schemas/fetch.d.ts +54 -54
  84. package/dist/esm/schemas/integrations.d.ts +4 -4
  85. package/dist/esm/schemas/notifications.d.ts +80 -80
  86. package/dist/esm/schemas/properties.d.ts +4 -4
  87. package/dist/esm/schemas/request.d.ts +4 -4
  88. package/dist/esm/schemas/requestFilter.d.ts +2 -2
  89. package/dist/esm/schemas/runs.d.ts +39 -39
  90. package/dist/esm/schemas/schedules.d.ts +12 -12
  91. package/dist/esm/schemas/statuses.d.ts +24 -24
  92. package/dist/esm/schemas/tasks.d.ts +50 -50
  93. package/dist/esm/schemas/triggers.d.ts +36 -36
  94. package/dist/esm/v3/apiClient/index.d.ts +72 -72
  95. package/dist/esm/v3/apiClientManager/index.d.ts +1 -1
  96. package/dist/esm/v3/apps/provider.d.ts +1 -0
  97. package/dist/esm/v3/apps/provider.js +1 -0
  98. package/dist/esm/v3/apps/provider.js.map +1 -1
  99. package/dist/esm/v3/errors.d.ts +1 -0
  100. package/dist/esm/v3/errors.js +30 -0
  101. package/dist/esm/v3/errors.js.map +1 -1
  102. package/dist/esm/v3/index.d.ts +1 -0
  103. package/dist/esm/v3/index.js +1 -0
  104. package/dist/esm/v3/index.js.map +1 -1
  105. package/dist/esm/v3/links.d.ts +3 -0
  106. package/dist/esm/v3/links.js +3 -0
  107. package/dist/esm/v3/links.js.map +1 -1
  108. package/dist/esm/v3/run-timeline-metrics-api.d.ts +2 -0
  109. package/dist/esm/v3/run-timeline-metrics-api.js +5 -0
  110. package/dist/esm/v3/run-timeline-metrics-api.js.map +1 -0
  111. package/dist/esm/v3/runTimelineMetrics/index.d.ts +23 -0
  112. package/dist/esm/v3/runTimelineMetrics/index.js +156 -0
  113. package/dist/esm/v3/runTimelineMetrics/index.js.map +1 -0
  114. package/dist/esm/v3/runTimelineMetrics/runTimelineMetricsManager.d.ts +13 -0
  115. package/dist/esm/v3/runTimelineMetrics/runTimelineMetricsManager.js +47 -0
  116. package/dist/esm/v3/runTimelineMetrics/runTimelineMetricsManager.js.map +1 -0
  117. package/dist/esm/v3/runTimelineMetrics/types.d.ts +11 -0
  118. package/dist/esm/v3/runTimelineMetrics/types.js +2 -0
  119. package/dist/esm/v3/runTimelineMetrics/types.js.map +1 -0
  120. package/dist/esm/v3/schemas/api.d.ts +403 -403
  121. package/dist/esm/v3/schemas/build.d.ts +168 -168
  122. package/dist/esm/v3/schemas/common.d.ts +24 -24
  123. package/dist/esm/v3/schemas/common.js +1 -0
  124. package/dist/esm/v3/schemas/common.js.map +1 -1
  125. package/dist/esm/v3/schemas/fetch.d.ts +13 -13
  126. package/dist/esm/v3/schemas/index.d.ts +1 -0
  127. package/dist/esm/v3/schemas/index.js +1 -0
  128. package/dist/esm/v3/schemas/index.js.map +1 -1
  129. package/dist/esm/v3/schemas/messages.d.ts +6213 -3727
  130. package/dist/esm/v3/schemas/messages.js +23 -1
  131. package/dist/esm/v3/schemas/messages.js.map +1 -1
  132. package/dist/esm/v3/schemas/openTelemetry.d.ts +20 -20
  133. package/dist/esm/v3/schemas/resources.d.ts +58 -58
  134. package/dist/esm/v3/schemas/schemas.d.ts +386 -253
  135. package/dist/esm/v3/schemas/schemas.js +16 -0
  136. package/dist/esm/v3/schemas/schemas.js.map +1 -1
  137. package/dist/esm/v3/schemas/webhooks.d.ts +1612 -0
  138. package/dist/esm/v3/schemas/webhooks.js +184 -0
  139. package/dist/esm/v3/schemas/webhooks.js.map +1 -0
  140. package/dist/esm/v3/semanticInternalAttributes.d.ts +1 -0
  141. package/dist/esm/v3/semanticInternalAttributes.js +1 -0
  142. package/dist/esm/v3/semanticInternalAttributes.js.map +1 -1
  143. package/dist/esm/v3/taskContext/index.js +1 -1
  144. package/dist/esm/v3/taskContext/index.js.map +1 -1
  145. package/dist/esm/v3/tracer.d.ts +10 -2
  146. package/dist/esm/v3/tracer.js +13 -4
  147. package/dist/esm/v3/tracer.js.map +1 -1
  148. package/dist/esm/v3/utils/flattenAttributes.js.map +1 -1
  149. package/dist/esm/v3/utils/globals.d.ts +2 -0
  150. package/dist/esm/v3/utils/globals.js.map +1 -1
  151. package/dist/esm/v3/workers/index.d.ts +1 -0
  152. package/dist/esm/v3/workers/index.js +1 -0
  153. package/dist/esm/v3/workers/index.js.map +1 -1
  154. package/dist/esm/v3/workers/taskExecutor.js +20 -10
  155. package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
  156. package/dist/esm/v3/zodMessageHandler.d.ts +2 -2
  157. package/dist/esm/v3/zodSocket.d.ts +2 -2
  158. package/dist/esm/v3/zodSocket.js +3 -2
  159. package/dist/esm/v3/zodSocket.js.map +1 -1
  160. package/dist/esm/version.js +1 -1
  161. package/package.json +1 -1
@@ -36,8 +36,8 @@ export declare const GetProjectResponseBody: z.ZodObject<{
36
36
  title: string;
37
37
  }>;
38
38
  }, "strip", z.ZodTypeAny, {
39
- id: string;
40
39
  name: string;
40
+ id: string;
41
41
  createdAt: Date;
42
42
  slug: string;
43
43
  organization: {
@@ -48,8 +48,8 @@ export declare const GetProjectResponseBody: z.ZodObject<{
48
48
  };
49
49
  externalRef: string;
50
50
  }, {
51
- id: string;
52
51
  name: string;
52
+ id: string;
53
53
  createdAt: Date;
54
54
  slug: string;
55
55
  organization: {
@@ -84,8 +84,8 @@ export declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
84
84
  title: string;
85
85
  }>;
86
86
  }, "strip", z.ZodTypeAny, {
87
- id: string;
88
87
  name: string;
88
+ id: string;
89
89
  createdAt: Date;
90
90
  slug: string;
91
91
  organization: {
@@ -96,8 +96,8 @@ export declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
96
96
  };
97
97
  externalRef: string;
98
98
  }, {
99
- id: string;
100
99
  name: string;
100
+ id: string;
101
101
  createdAt: Date;
102
102
  slug: string;
103
103
  organization: {
@@ -116,14 +116,14 @@ export declare const GetProjectEnvResponse: z.ZodObject<{
116
116
  projectId: z.ZodString;
117
117
  }, "strip", z.ZodTypeAny, {
118
118
  name: string;
119
+ projectId: string;
119
120
  apiKey: string;
120
121
  apiUrl: string;
121
- projectId: string;
122
122
  }, {
123
123
  name: string;
124
+ projectId: string;
124
125
  apiKey: string;
125
126
  apiUrl: string;
126
- projectId: string;
127
127
  }>;
128
128
  export type GetProjectEnvResponse = z.infer<typeof GetProjectEnvResponse>;
129
129
  export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
@@ -184,12 +184,12 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
184
184
  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>]>>;
185
185
  preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
186
186
  }, "strip", z.ZodTypeAny, {
187
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
188
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
187
+ cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
188
+ memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
189
189
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
190
190
  }, {
191
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
192
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
191
+ cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
192
+ memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
193
193
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
194
194
  }>>;
195
195
  triggerSource: z.ZodOptional<z.ZodString>;
@@ -206,18 +206,19 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
206
206
  maxDuration: z.ZodOptional<z.ZodNumber>;
207
207
  }, "strip", z.ZodTypeAny, {
208
208
  id: string;
209
- exportName: string;
210
209
  filePath: string;
211
- machine?: {
212
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
213
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
214
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
215
- } | undefined;
216
- description?: string | undefined;
210
+ exportName: string;
211
+ maxDuration?: number | undefined;
217
212
  queue?: {
218
213
  name?: string | undefined;
219
214
  concurrencyLimit?: number | null | undefined;
220
215
  } | undefined;
216
+ machine?: {
217
+ cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
218
+ memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
219
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
220
+ } | undefined;
221
+ description?: string | undefined;
221
222
  retry?: {
222
223
  maxAttempts?: number | undefined;
223
224
  factor?: number | undefined;
@@ -233,21 +234,21 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
233
234
  cron: string;
234
235
  timezone: string;
235
236
  } | undefined;
236
- maxDuration?: number | undefined;
237
237
  }, {
238
238
  id: string;
239
- exportName: string;
240
239
  filePath: string;
241
- machine?: {
242
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
243
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
244
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
245
- } | undefined;
246
- description?: string | undefined;
240
+ exportName: string;
241
+ maxDuration?: number | undefined;
247
242
  queue?: {
248
243
  name?: string | undefined;
249
244
  concurrencyLimit?: number | null | undefined;
250
245
  } | undefined;
246
+ machine?: {
247
+ cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
248
+ memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
249
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
250
+ } | undefined;
251
+ description?: string | undefined;
251
252
  retry?: {
252
253
  maxAttempts?: number | undefined;
253
254
  factor?: number | undefined;
@@ -263,7 +264,6 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
263
264
  cron: string;
264
265
  timezone: string;
265
266
  } | undefined;
266
- maxDuration?: number | undefined;
267
267
  }>, "many">;
268
268
  sourceFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
269
269
  filePath: z.ZodString;
@@ -282,20 +282,22 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
282
282
  taskIds: string[];
283
283
  }>, "many">>;
284
284
  }, "strip", z.ZodTypeAny, {
285
+ contentHash: string;
285
286
  tasks: {
286
287
  id: string;
287
- exportName: string;
288
288
  filePath: string;
289
- machine?: {
290
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
291
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
292
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
293
- } | undefined;
294
- description?: string | undefined;
289
+ exportName: string;
290
+ maxDuration?: number | undefined;
295
291
  queue?: {
296
292
  name?: string | undefined;
297
293
  concurrencyLimit?: number | null | undefined;
298
294
  } | undefined;
295
+ machine?: {
296
+ cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
297
+ memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
298
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
299
+ } | undefined;
300
+ description?: string | undefined;
299
301
  retry?: {
300
302
  maxAttempts?: number | undefined;
301
303
  factor?: number | undefined;
@@ -311,9 +313,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
311
313
  cron: string;
312
314
  timezone: string;
313
315
  } | undefined;
314
- maxDuration?: number | undefined;
315
316
  }[];
316
- contentHash: string;
317
317
  packageVersion: string;
318
318
  cliPackageVersion?: string | undefined;
319
319
  sourceFiles?: {
@@ -323,20 +323,22 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
323
323
  taskIds: string[];
324
324
  }[] | undefined;
325
325
  }, {
326
+ contentHash: string;
326
327
  tasks: {
327
328
  id: string;
328
- exportName: string;
329
329
  filePath: string;
330
- machine?: {
331
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
332
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
333
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
334
- } | undefined;
335
- description?: string | undefined;
330
+ exportName: string;
331
+ maxDuration?: number | undefined;
336
332
  queue?: {
337
333
  name?: string | undefined;
338
334
  concurrencyLimit?: number | null | undefined;
339
335
  } | undefined;
336
+ machine?: {
337
+ cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
338
+ memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
339
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
340
+ } | undefined;
341
+ description?: string | undefined;
340
342
  retry?: {
341
343
  maxAttempts?: number | undefined;
342
344
  factor?: number | undefined;
@@ -352,9 +354,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
352
354
  cron: string;
353
355
  timezone: string;
354
356
  } | undefined;
355
- maxDuration?: number | undefined;
356
357
  }[];
357
- contentHash: string;
358
358
  packageVersion: string;
359
359
  cliPackageVersion?: string | undefined;
360
360
  sourceFiles?: {
@@ -367,20 +367,22 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
367
367
  supportsLazyAttempts: z.ZodOptional<z.ZodBoolean>;
368
368
  }, "strip", z.ZodTypeAny, {
369
369
  metadata: {
370
+ contentHash: string;
370
371
  tasks: {
371
372
  id: string;
372
- exportName: string;
373
373
  filePath: string;
374
- machine?: {
375
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
376
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
377
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
378
- } | undefined;
379
- description?: string | undefined;
374
+ exportName: string;
375
+ maxDuration?: number | undefined;
380
376
  queue?: {
381
377
  name?: string | undefined;
382
378
  concurrencyLimit?: number | null | undefined;
383
379
  } | undefined;
380
+ machine?: {
381
+ cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
382
+ memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
383
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
384
+ } | undefined;
385
+ description?: string | undefined;
384
386
  retry?: {
385
387
  maxAttempts?: number | undefined;
386
388
  factor?: number | undefined;
@@ -396,9 +398,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
396
398
  cron: string;
397
399
  timezone: string;
398
400
  } | undefined;
399
- maxDuration?: number | undefined;
400
401
  }[];
401
- contentHash: string;
402
402
  packageVersion: string;
403
403
  cliPackageVersion?: string | undefined;
404
404
  sourceFiles?: {
@@ -412,20 +412,22 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
412
412
  supportsLazyAttempts?: boolean | undefined;
413
413
  }, {
414
414
  metadata: {
415
+ contentHash: string;
415
416
  tasks: {
416
417
  id: string;
417
- exportName: string;
418
418
  filePath: string;
419
- machine?: {
420
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
421
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
422
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
423
- } | undefined;
424
- description?: string | undefined;
419
+ exportName: string;
420
+ maxDuration?: number | undefined;
425
421
  queue?: {
426
422
  name?: string | undefined;
427
423
  concurrencyLimit?: number | null | undefined;
428
424
  } | undefined;
425
+ machine?: {
426
+ cpu?: 4 | 2 | 1 | 0.25 | 0.5 | undefined;
427
+ memory?: 4 | 2 | 1 | 0.25 | 0.5 | 8 | undefined;
428
+ preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
429
+ } | undefined;
430
+ description?: string | undefined;
429
431
  retry?: {
430
432
  maxAttempts?: number | undefined;
431
433
  factor?: number | undefined;
@@ -441,9 +443,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
441
443
  cron: string;
442
444
  timezone: string;
443
445
  } | undefined;
444
- maxDuration?: number | undefined;
445
446
  }[];
446
- contentHash: string;
447
447
  packageVersion: string;
448
448
  cliPackageVersion?: string | undefined;
449
449
  sourceFiles?: {
@@ -506,20 +506,20 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
506
506
  test: z.ZodOptional<z.ZodBoolean>;
507
507
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
508
508
  }, "strip", z.ZodTypeAny, {
509
+ payloadType?: string | undefined;
510
+ tags?: string | string[] | undefined;
511
+ idempotencyKey?: string | undefined;
509
512
  maxAttempts?: number | undefined;
510
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
513
+ metadata?: any;
514
+ maxDuration?: number | undefined;
511
515
  queue?: {
512
516
  name?: string | undefined;
513
517
  concurrencyLimit?: number | null | undefined;
514
518
  } | undefined;
515
- maxDuration?: number | undefined;
516
- payloadType?: string | undefined;
517
- tags?: string | string[] | undefined;
518
- idempotencyKey?: string | undefined;
519
- metadata?: any;
519
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
520
+ delay?: string | Date | undefined;
520
521
  idempotencyKeyTTL?: string | undefined;
521
522
  concurrencyKey?: string | undefined;
522
- delay?: string | Date | undefined;
523
523
  ttl?: string | number | undefined;
524
524
  dependentAttempt?: string | undefined;
525
525
  dependentBatch?: string | undefined;
@@ -529,20 +529,20 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
529
529
  parentBatch?: string | undefined;
530
530
  test?: boolean | undefined;
531
531
  }, {
532
+ payloadType?: string | undefined;
533
+ tags?: string | string[] | undefined;
534
+ idempotencyKey?: string | undefined;
532
535
  maxAttempts?: number | undefined;
533
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
536
+ metadata?: any;
537
+ maxDuration?: number | undefined;
534
538
  queue?: {
535
539
  name?: string | undefined;
536
540
  concurrencyLimit?: number | null | undefined;
537
541
  } | undefined;
538
- maxDuration?: number | undefined;
539
- payloadType?: string | undefined;
540
- tags?: string | string[] | undefined;
541
- idempotencyKey?: string | undefined;
542
- metadata?: any;
542
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
543
+ delay?: string | Date | undefined;
543
544
  idempotencyKeyTTL?: string | undefined;
544
545
  concurrencyKey?: string | undefined;
545
- delay?: string | Date | undefined;
546
546
  ttl?: string | number | undefined;
547
547
  dependentAttempt?: string | undefined;
548
548
  dependentBatch?: string | undefined;
@@ -554,20 +554,20 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
554
554
  }>>;
555
555
  }, "strip", z.ZodTypeAny, {
556
556
  options?: {
557
+ payloadType?: string | undefined;
558
+ tags?: string | string[] | undefined;
559
+ idempotencyKey?: string | undefined;
557
560
  maxAttempts?: number | undefined;
558
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
561
+ metadata?: any;
562
+ maxDuration?: number | undefined;
559
563
  queue?: {
560
564
  name?: string | undefined;
561
565
  concurrencyLimit?: number | null | undefined;
562
566
  } | undefined;
563
- maxDuration?: number | undefined;
564
- payloadType?: string | undefined;
565
- tags?: string | string[] | undefined;
566
- idempotencyKey?: string | undefined;
567
- metadata?: any;
567
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
568
+ delay?: string | Date | undefined;
568
569
  idempotencyKeyTTL?: string | undefined;
569
570
  concurrencyKey?: string | undefined;
570
- delay?: string | Date | undefined;
571
571
  ttl?: string | number | undefined;
572
572
  dependentAttempt?: string | undefined;
573
573
  dependentBatch?: string | undefined;
@@ -581,20 +581,20 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
581
581
  context?: any;
582
582
  }, {
583
583
  options?: {
584
+ payloadType?: string | undefined;
585
+ tags?: string | string[] | undefined;
586
+ idempotencyKey?: string | undefined;
584
587
  maxAttempts?: number | undefined;
585
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
588
+ metadata?: any;
589
+ maxDuration?: number | undefined;
586
590
  queue?: {
587
591
  name?: string | undefined;
588
592
  concurrencyLimit?: number | null | undefined;
589
593
  } | undefined;
590
- maxDuration?: number | undefined;
591
- payloadType?: string | undefined;
592
- tags?: string | string[] | undefined;
593
- idempotencyKey?: string | undefined;
594
- metadata?: any;
594
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
595
+ delay?: string | Date | undefined;
595
596
  idempotencyKeyTTL?: string | undefined;
596
597
  concurrencyKey?: string | undefined;
597
- delay?: string | Date | undefined;
598
598
  ttl?: string | number | undefined;
599
599
  dependentAttempt?: string | undefined;
600
600
  dependentBatch?: string | undefined;
@@ -650,20 +650,20 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
650
650
  test: z.ZodOptional<z.ZodBoolean>;
651
651
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
652
652
  }, "strip", z.ZodTypeAny, {
653
+ payloadType?: string | undefined;
654
+ tags?: string | string[] | undefined;
655
+ idempotencyKey?: string | undefined;
653
656
  maxAttempts?: number | undefined;
654
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
657
+ metadata?: any;
658
+ maxDuration?: number | undefined;
655
659
  queue?: {
656
660
  name?: string | undefined;
657
661
  concurrencyLimit?: number | null | undefined;
658
662
  } | undefined;
659
- maxDuration?: number | undefined;
660
- payloadType?: string | undefined;
661
- tags?: string | string[] | undefined;
662
- idempotencyKey?: string | undefined;
663
- metadata?: any;
663
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
664
+ delay?: string | Date | undefined;
664
665
  idempotencyKeyTTL?: string | undefined;
665
666
  concurrencyKey?: string | undefined;
666
- delay?: string | Date | undefined;
667
667
  ttl?: string | number | undefined;
668
668
  dependentAttempt?: string | undefined;
669
669
  dependentBatch?: string | undefined;
@@ -673,20 +673,20 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
673
673
  parentBatch?: string | undefined;
674
674
  test?: boolean | undefined;
675
675
  }, {
676
+ payloadType?: string | undefined;
677
+ tags?: string | string[] | undefined;
678
+ idempotencyKey?: string | undefined;
676
679
  maxAttempts?: number | undefined;
677
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
680
+ metadata?: any;
681
+ maxDuration?: number | undefined;
678
682
  queue?: {
679
683
  name?: string | undefined;
680
684
  concurrencyLimit?: number | null | undefined;
681
685
  } | undefined;
682
- maxDuration?: number | undefined;
683
- payloadType?: string | undefined;
684
- tags?: string | string[] | undefined;
685
- idempotencyKey?: string | undefined;
686
- metadata?: any;
686
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
687
+ delay?: string | Date | undefined;
687
688
  idempotencyKeyTTL?: string | undefined;
688
689
  concurrencyKey?: string | undefined;
689
- delay?: string | Date | undefined;
690
690
  ttl?: string | number | undefined;
691
691
  dependentAttempt?: string | undefined;
692
692
  dependentBatch?: string | undefined;
@@ -698,20 +698,20 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
698
698
  }>>;
699
699
  }, "strip", z.ZodTypeAny, {
700
700
  options?: {
701
+ payloadType?: string | undefined;
702
+ tags?: string | string[] | undefined;
703
+ idempotencyKey?: string | undefined;
701
704
  maxAttempts?: number | undefined;
702
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
705
+ metadata?: any;
706
+ maxDuration?: number | undefined;
703
707
  queue?: {
704
708
  name?: string | undefined;
705
709
  concurrencyLimit?: number | null | undefined;
706
710
  } | undefined;
707
- maxDuration?: number | undefined;
708
- payloadType?: string | undefined;
709
- tags?: string | string[] | undefined;
710
- idempotencyKey?: string | undefined;
711
- metadata?: any;
711
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
712
+ delay?: string | Date | undefined;
712
713
  idempotencyKeyTTL?: string | undefined;
713
714
  concurrencyKey?: string | undefined;
714
- delay?: string | Date | undefined;
715
715
  ttl?: string | number | undefined;
716
716
  dependentAttempt?: string | undefined;
717
717
  dependentBatch?: string | undefined;
@@ -725,20 +725,20 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
725
725
  context?: any;
726
726
  }, {
727
727
  options?: {
728
+ payloadType?: string | undefined;
729
+ tags?: string | string[] | undefined;
730
+ idempotencyKey?: string | undefined;
728
731
  maxAttempts?: number | undefined;
729
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
732
+ metadata?: any;
733
+ maxDuration?: number | undefined;
730
734
  queue?: {
731
735
  name?: string | undefined;
732
736
  concurrencyLimit?: number | null | undefined;
733
737
  } | undefined;
734
- maxDuration?: number | undefined;
735
- payloadType?: string | undefined;
736
- tags?: string | string[] | undefined;
737
- idempotencyKey?: string | undefined;
738
- metadata?: any;
738
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
739
+ delay?: string | Date | undefined;
739
740
  idempotencyKeyTTL?: string | undefined;
740
741
  concurrencyKey?: string | undefined;
741
- delay?: string | Date | undefined;
742
742
  ttl?: string | number | undefined;
743
743
  dependentAttempt?: string | undefined;
744
744
  dependentBatch?: string | undefined;
@@ -755,20 +755,20 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
755
755
  }, "strip", z.ZodTypeAny, {
756
756
  items: {
757
757
  options?: {
758
+ payloadType?: string | undefined;
759
+ tags?: string | string[] | undefined;
760
+ idempotencyKey?: string | undefined;
758
761
  maxAttempts?: number | undefined;
759
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
762
+ metadata?: any;
763
+ maxDuration?: number | undefined;
760
764
  queue?: {
761
765
  name?: string | undefined;
762
766
  concurrencyLimit?: number | null | undefined;
763
767
  } | undefined;
764
- maxDuration?: number | undefined;
765
- payloadType?: string | undefined;
766
- tags?: string | string[] | undefined;
767
- idempotencyKey?: string | undefined;
768
- metadata?: any;
768
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
769
+ delay?: string | Date | undefined;
769
770
  idempotencyKeyTTL?: string | undefined;
770
771
  concurrencyKey?: string | undefined;
771
- delay?: string | Date | undefined;
772
772
  ttl?: string | number | undefined;
773
773
  dependentAttempt?: string | undefined;
774
774
  dependentBatch?: string | undefined;
@@ -785,20 +785,20 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
785
785
  }, {
786
786
  items: {
787
787
  options?: {
788
+ payloadType?: string | undefined;
789
+ tags?: string | string[] | undefined;
790
+ idempotencyKey?: string | undefined;
788
791
  maxAttempts?: number | undefined;
789
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
792
+ metadata?: any;
793
+ maxDuration?: number | undefined;
790
794
  queue?: {
791
795
  name?: string | undefined;
792
796
  concurrencyLimit?: number | null | undefined;
793
797
  } | undefined;
794
- maxDuration?: number | undefined;
795
- payloadType?: string | undefined;
796
- tags?: string | string[] | undefined;
797
- idempotencyKey?: string | undefined;
798
- metadata?: any;
798
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
799
+ delay?: string | Date | undefined;
799
800
  idempotencyKeyTTL?: string | undefined;
800
801
  concurrencyKey?: string | undefined;
801
- delay?: string | Date | undefined;
802
802
  ttl?: string | number | undefined;
803
803
  dependentAttempt?: string | undefined;
804
804
  dependentBatch?: string | undefined;
@@ -845,40 +845,40 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
845
845
  test: z.ZodOptional<z.ZodBoolean>;
846
846
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
847
847
  }, "strip", z.ZodTypeAny, {
848
+ payloadType?: string | undefined;
849
+ tags?: string | string[] | undefined;
850
+ idempotencyKey?: string | undefined;
848
851
  maxAttempts?: number | undefined;
849
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
852
+ metadata?: any;
853
+ maxDuration?: number | undefined;
850
854
  queue?: {
851
855
  name?: string | undefined;
852
856
  concurrencyLimit?: number | null | undefined;
853
857
  } | undefined;
854
- maxDuration?: number | undefined;
855
- payloadType?: string | undefined;
856
- tags?: string | string[] | undefined;
857
- idempotencyKey?: string | undefined;
858
- metadata?: any;
858
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
859
+ delay?: string | Date | undefined;
859
860
  idempotencyKeyTTL?: string | undefined;
860
861
  concurrencyKey?: string | undefined;
861
- delay?: string | Date | undefined;
862
862
  ttl?: string | number | undefined;
863
863
  lockToVersion?: string | undefined;
864
864
  metadataType?: string | undefined;
865
865
  parentAttempt?: string | undefined;
866
866
  test?: boolean | undefined;
867
867
  }, {
868
+ payloadType?: string | undefined;
869
+ tags?: string | string[] | undefined;
870
+ idempotencyKey?: string | undefined;
868
871
  maxAttempts?: number | undefined;
869
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
872
+ metadata?: any;
873
+ maxDuration?: number | undefined;
870
874
  queue?: {
871
875
  name?: string | undefined;
872
876
  concurrencyLimit?: number | null | undefined;
873
877
  } | undefined;
874
- maxDuration?: number | undefined;
875
- payloadType?: string | undefined;
876
- tags?: string | string[] | undefined;
877
- idempotencyKey?: string | undefined;
878
- metadata?: any;
878
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
879
+ delay?: string | Date | undefined;
879
880
  idempotencyKeyTTL?: string | undefined;
880
881
  concurrencyKey?: string | undefined;
881
- delay?: string | Date | undefined;
882
882
  ttl?: string | number | undefined;
883
883
  lockToVersion?: string | undefined;
884
884
  metadataType?: string | undefined;
@@ -888,20 +888,20 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
888
888
  }, "strip", z.ZodTypeAny, {
889
889
  task: string;
890
890
  options?: {
891
+ payloadType?: string | undefined;
892
+ tags?: string | string[] | undefined;
893
+ idempotencyKey?: string | undefined;
891
894
  maxAttempts?: number | undefined;
892
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
895
+ metadata?: any;
896
+ maxDuration?: number | undefined;
893
897
  queue?: {
894
898
  name?: string | undefined;
895
899
  concurrencyLimit?: number | null | undefined;
896
900
  } | undefined;
897
- maxDuration?: number | undefined;
898
- payloadType?: string | undefined;
899
- tags?: string | string[] | undefined;
900
- idempotencyKey?: string | undefined;
901
- metadata?: any;
901
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
902
+ delay?: string | Date | undefined;
902
903
  idempotencyKeyTTL?: string | undefined;
903
904
  concurrencyKey?: string | undefined;
904
- delay?: string | Date | undefined;
905
905
  ttl?: string | number | undefined;
906
906
  lockToVersion?: string | undefined;
907
907
  metadataType?: string | undefined;
@@ -913,20 +913,20 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
913
913
  }, {
914
914
  task: string;
915
915
  options?: {
916
+ payloadType?: string | undefined;
917
+ tags?: string | string[] | undefined;
918
+ idempotencyKey?: string | undefined;
916
919
  maxAttempts?: number | undefined;
917
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
920
+ metadata?: any;
921
+ maxDuration?: number | undefined;
918
922
  queue?: {
919
923
  name?: string | undefined;
920
924
  concurrencyLimit?: number | null | undefined;
921
925
  } | undefined;
922
- maxDuration?: number | undefined;
923
- payloadType?: string | undefined;
924
- tags?: string | string[] | undefined;
925
- idempotencyKey?: string | undefined;
926
- metadata?: any;
926
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
927
+ delay?: string | Date | undefined;
927
928
  idempotencyKeyTTL?: string | undefined;
928
929
  concurrencyKey?: string | undefined;
929
- delay?: string | Date | undefined;
930
930
  ttl?: string | number | undefined;
931
931
  lockToVersion?: string | undefined;
932
932
  metadataType?: string | undefined;
@@ -969,40 +969,40 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
969
969
  test: z.ZodOptional<z.ZodBoolean>;
970
970
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
971
971
  }, "strip", z.ZodTypeAny, {
972
+ payloadType?: string | undefined;
973
+ tags?: string | string[] | undefined;
974
+ idempotencyKey?: string | undefined;
972
975
  maxAttempts?: number | undefined;
973
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
976
+ metadata?: any;
977
+ maxDuration?: number | undefined;
974
978
  queue?: {
975
979
  name?: string | undefined;
976
980
  concurrencyLimit?: number | null | undefined;
977
981
  } | undefined;
978
- maxDuration?: number | undefined;
979
- payloadType?: string | undefined;
980
- tags?: string | string[] | undefined;
981
- idempotencyKey?: string | undefined;
982
- metadata?: any;
982
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
983
+ delay?: string | Date | undefined;
983
984
  idempotencyKeyTTL?: string | undefined;
984
985
  concurrencyKey?: string | undefined;
985
- delay?: string | Date | undefined;
986
986
  ttl?: string | number | undefined;
987
987
  lockToVersion?: string | undefined;
988
988
  metadataType?: string | undefined;
989
989
  parentAttempt?: string | undefined;
990
990
  test?: boolean | undefined;
991
991
  }, {
992
+ payloadType?: string | undefined;
993
+ tags?: string | string[] | undefined;
994
+ idempotencyKey?: string | undefined;
992
995
  maxAttempts?: number | undefined;
993
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
996
+ metadata?: any;
997
+ maxDuration?: number | undefined;
994
998
  queue?: {
995
999
  name?: string | undefined;
996
1000
  concurrencyLimit?: number | null | undefined;
997
1001
  } | undefined;
998
- maxDuration?: number | undefined;
999
- payloadType?: string | undefined;
1000
- tags?: string | string[] | undefined;
1001
- idempotencyKey?: string | undefined;
1002
- metadata?: any;
1002
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1003
+ delay?: string | Date | undefined;
1003
1004
  idempotencyKeyTTL?: string | undefined;
1004
1005
  concurrencyKey?: string | undefined;
1005
- delay?: string | Date | undefined;
1006
1006
  ttl?: string | number | undefined;
1007
1007
  lockToVersion?: string | undefined;
1008
1008
  metadataType?: string | undefined;
@@ -1012,20 +1012,20 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1012
1012
  }, "strip", z.ZodTypeAny, {
1013
1013
  task: string;
1014
1014
  options?: {
1015
+ payloadType?: string | undefined;
1016
+ tags?: string | string[] | undefined;
1017
+ idempotencyKey?: string | undefined;
1015
1018
  maxAttempts?: number | undefined;
1016
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1019
+ metadata?: any;
1020
+ maxDuration?: number | undefined;
1017
1021
  queue?: {
1018
1022
  name?: string | undefined;
1019
1023
  concurrencyLimit?: number | null | undefined;
1020
1024
  } | undefined;
1021
- maxDuration?: number | undefined;
1022
- payloadType?: string | undefined;
1023
- tags?: string | string[] | undefined;
1024
- idempotencyKey?: string | undefined;
1025
- metadata?: any;
1025
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1026
+ delay?: string | Date | undefined;
1026
1027
  idempotencyKeyTTL?: string | undefined;
1027
1028
  concurrencyKey?: string | undefined;
1028
- delay?: string | Date | undefined;
1029
1029
  ttl?: string | number | undefined;
1030
1030
  lockToVersion?: string | undefined;
1031
1031
  metadataType?: string | undefined;
@@ -1037,20 +1037,20 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1037
1037
  }, {
1038
1038
  task: string;
1039
1039
  options?: {
1040
+ payloadType?: string | undefined;
1041
+ tags?: string | string[] | undefined;
1042
+ idempotencyKey?: string | undefined;
1040
1043
  maxAttempts?: number | undefined;
1041
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1044
+ metadata?: any;
1045
+ maxDuration?: number | undefined;
1042
1046
  queue?: {
1043
1047
  name?: string | undefined;
1044
1048
  concurrencyLimit?: number | null | undefined;
1045
1049
  } | undefined;
1046
- maxDuration?: number | undefined;
1047
- payloadType?: string | undefined;
1048
- tags?: string | string[] | undefined;
1049
- idempotencyKey?: string | undefined;
1050
- metadata?: any;
1050
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1051
+ delay?: string | Date | undefined;
1051
1052
  idempotencyKeyTTL?: string | undefined;
1052
1053
  concurrencyKey?: string | undefined;
1053
- delay?: string | Date | undefined;
1054
1054
  ttl?: string | number | undefined;
1055
1055
  lockToVersion?: string | undefined;
1056
1056
  metadataType?: string | undefined;
@@ -1065,20 +1065,20 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1065
1065
  items: {
1066
1066
  task: string;
1067
1067
  options?: {
1068
+ payloadType?: string | undefined;
1069
+ tags?: string | string[] | undefined;
1070
+ idempotencyKey?: string | undefined;
1068
1071
  maxAttempts?: number | undefined;
1069
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1072
+ metadata?: any;
1073
+ maxDuration?: number | undefined;
1070
1074
  queue?: {
1071
1075
  name?: string | undefined;
1072
1076
  concurrencyLimit?: number | null | undefined;
1073
1077
  } | undefined;
1074
- maxDuration?: number | undefined;
1075
- payloadType?: string | undefined;
1076
- tags?: string | string[] | undefined;
1077
- idempotencyKey?: string | undefined;
1078
- metadata?: any;
1078
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1079
+ delay?: string | Date | undefined;
1079
1080
  idempotencyKeyTTL?: string | undefined;
1080
1081
  concurrencyKey?: string | undefined;
1081
- delay?: string | Date | undefined;
1082
1082
  ttl?: string | number | undefined;
1083
1083
  lockToVersion?: string | undefined;
1084
1084
  metadataType?: string | undefined;
@@ -1093,20 +1093,20 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1093
1093
  items: {
1094
1094
  task: string;
1095
1095
  options?: {
1096
+ payloadType?: string | undefined;
1097
+ tags?: string | string[] | undefined;
1098
+ idempotencyKey?: string | undefined;
1096
1099
  maxAttempts?: number | undefined;
1097
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1100
+ metadata?: any;
1101
+ maxDuration?: number | undefined;
1098
1102
  queue?: {
1099
1103
  name?: string | undefined;
1100
1104
  concurrencyLimit?: number | null | undefined;
1101
1105
  } | undefined;
1102
- maxDuration?: number | undefined;
1103
- payloadType?: string | undefined;
1104
- tags?: string | string[] | undefined;
1105
- idempotencyKey?: string | undefined;
1106
- metadata?: any;
1106
+ machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1107
+ delay?: string | Date | undefined;
1107
1108
  idempotencyKeyTTL?: string | undefined;
1108
1109
  concurrencyKey?: string | undefined;
1109
- delay?: string | Date | undefined;
1110
1110
  ttl?: string | number | undefined;
1111
1111
  lockToVersion?: string | undefined;
1112
1112
  metadataType?: string | undefined;
@@ -1179,26 +1179,26 @@ export declare const GetBatchResponseBody: z.ZodObject<{
1179
1179
  taskRunId: z.ZodString;
1180
1180
  status: z.ZodEnum<["PENDING", "CANCELED", "COMPLETED", "FAILED"]>;
1181
1181
  }, "strip", z.ZodTypeAny, {
1182
- id: string;
1183
1182
  status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1183
+ id: string;
1184
1184
  taskRunId: string;
1185
1185
  }, {
1186
- id: string;
1187
1186
  status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1187
+ id: string;
1188
1188
  taskRunId: string;
1189
1189
  }>, "many">;
1190
1190
  }, "strip", z.ZodTypeAny, {
1191
1191
  id: string;
1192
1192
  items: {
1193
- id: string;
1194
1193
  status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1194
+ id: string;
1195
1195
  taskRunId: string;
1196
1196
  }[];
1197
1197
  }, {
1198
1198
  id: string;
1199
1199
  items: {
1200
- id: string;
1201
1200
  status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
1201
+ id: string;
1202
1202
  taskRunId: string;
1203
1203
  }[];
1204
1204
  }>;
@@ -1349,13 +1349,13 @@ export declare const DeploymentErrorData: z.ZodObject<{
1349
1349
  stack: z.ZodOptional<z.ZodString>;
1350
1350
  stderr: z.ZodOptional<z.ZodString>;
1351
1351
  }, "strip", z.ZodTypeAny, {
1352
- message: string;
1353
1352
  name: string;
1353
+ message: string;
1354
1354
  stack?: string | undefined;
1355
1355
  stderr?: string | undefined;
1356
1356
  }, {
1357
- message: string;
1358
1357
  name: string;
1358
+ message: string;
1359
1359
  stack?: string | undefined;
1360
1360
  stderr?: string | undefined;
1361
1361
  }>;
@@ -1367,27 +1367,27 @@ export declare const FailDeploymentRequestBody: z.ZodObject<{
1367
1367
  stack: z.ZodOptional<z.ZodString>;
1368
1368
  stderr: z.ZodOptional<z.ZodString>;
1369
1369
  }, "strip", z.ZodTypeAny, {
1370
- message: string;
1371
1370
  name: string;
1371
+ message: string;
1372
1372
  stack?: string | undefined;
1373
1373
  stderr?: string | undefined;
1374
1374
  }, {
1375
- message: string;
1376
1375
  name: string;
1376
+ message: string;
1377
1377
  stack?: string | undefined;
1378
1378
  stderr?: string | undefined;
1379
1379
  }>;
1380
1380
  }, "strip", z.ZodTypeAny, {
1381
1381
  error: {
1382
- message: string;
1383
1382
  name: string;
1383
+ message: string;
1384
1384
  stack?: string | undefined;
1385
1385
  stderr?: string | undefined;
1386
1386
  };
1387
1387
  }, {
1388
1388
  error: {
1389
- message: string;
1390
1389
  name: string;
1390
+ message: string;
1391
1391
  stack?: string | undefined;
1392
1392
  stderr?: string | undefined;
1393
1393
  };
@@ -1414,13 +1414,13 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1414
1414
  stack: z.ZodOptional<z.ZodString>;
1415
1415
  stderr: z.ZodOptional<z.ZodString>;
1416
1416
  }, "strip", z.ZodTypeAny, {
1417
- message: string;
1418
1417
  name: string;
1418
+ message: string;
1419
1419
  stack?: string | undefined;
1420
1420
  stderr?: string | undefined;
1421
1421
  }, {
1422
- message: string;
1423
1422
  name: string;
1423
+ message: string;
1424
1424
  stack?: string | undefined;
1425
1425
  stderr?: string | undefined;
1426
1426
  }>>>;
@@ -1434,77 +1434,77 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1434
1434
  exportName: z.ZodString;
1435
1435
  }, "strip", z.ZodTypeAny, {
1436
1436
  id: string;
1437
- exportName: string;
1438
1437
  filePath: string;
1438
+ exportName: string;
1439
1439
  slug: string;
1440
1440
  }, {
1441
1441
  id: string;
1442
- exportName: string;
1443
1442
  filePath: string;
1443
+ exportName: string;
1444
1444
  slug: string;
1445
1445
  }>, "many">;
1446
1446
  }, "strip", z.ZodTypeAny, {
1447
1447
  id: string;
1448
+ version: string;
1448
1449
  tasks: {
1449
1450
  id: string;
1450
- exportName: string;
1451
1451
  filePath: string;
1452
+ exportName: string;
1452
1453
  slug: string;
1453
1454
  }[];
1454
- version: string;
1455
1455
  }, {
1456
1456
  id: string;
1457
+ version: string;
1457
1458
  tasks: {
1458
1459
  id: string;
1459
- exportName: string;
1460
1460
  filePath: string;
1461
+ exportName: string;
1461
1462
  slug: string;
1462
1463
  }[];
1463
- version: string;
1464
1464
  }>>;
1465
1465
  }, "strip", z.ZodTypeAny, {
1466
- id: string;
1467
1466
  status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1467
+ id: string;
1468
1468
  version: string;
1469
1469
  contentHash: string;
1470
1470
  shortCode: string;
1471
1471
  worker?: {
1472
1472
  id: string;
1473
+ version: string;
1473
1474
  tasks: {
1474
1475
  id: string;
1475
- exportName: string;
1476
1476
  filePath: string;
1477
+ exportName: string;
1477
1478
  slug: string;
1478
1479
  }[];
1479
- version: string;
1480
1480
  } | undefined;
1481
1481
  imageReference?: string | null | undefined;
1482
1482
  errorData?: {
1483
- message: string;
1484
1483
  name: string;
1484
+ message: string;
1485
1485
  stack?: string | undefined;
1486
1486
  stderr?: string | undefined;
1487
1487
  } | null | undefined;
1488
1488
  }, {
1489
- id: string;
1490
1489
  status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1490
+ id: string;
1491
1491
  version: string;
1492
1492
  contentHash: string;
1493
1493
  shortCode: string;
1494
1494
  worker?: {
1495
1495
  id: string;
1496
+ version: string;
1496
1497
  tasks: {
1497
1498
  id: string;
1498
- exportName: string;
1499
1499
  filePath: string;
1500
+ exportName: string;
1500
1501
  slug: string;
1501
1502
  }[];
1502
- version: string;
1503
1503
  } | undefined;
1504
1504
  imageReference?: string | null | undefined;
1505
1505
  errorData?: {
1506
- message: string;
1507
1506
  name: string;
1507
+ message: string;
1508
1508
  stack?: string | undefined;
1509
1509
  stderr?: string | undefined;
1510
1510
  } | null | undefined;
@@ -1570,18 +1570,18 @@ export declare const ScheduledTaskPayload: z.ZodObject<{
1570
1570
  /** The next 5 dates this task is scheduled to run */
1571
1571
  upcoming: z.ZodArray<z.ZodDate, "many">;
1572
1572
  }, "strip", z.ZodTypeAny, {
1573
+ timestamp: Date;
1573
1574
  type: "DECLARATIVE" | "IMPERATIVE";
1574
1575
  timezone: string;
1575
1576
  scheduleId: string;
1576
- timestamp: Date;
1577
1577
  upcoming: Date[];
1578
1578
  externalId?: string | undefined;
1579
1579
  lastTimestamp?: Date | undefined;
1580
1580
  }, {
1581
+ timestamp: Date;
1581
1582
  type: "DECLARATIVE" | "IMPERATIVE";
1582
1583
  timezone: string;
1583
1584
  scheduleId: string;
1584
- timestamp: Date;
1585
1585
  upcoming: Date[];
1586
1586
  externalId?: string | undefined;
1587
1587
  lastTimestamp?: Date | undefined;
@@ -1628,14 +1628,14 @@ export declare const CreateScheduleOptions: z.ZodObject<{
1628
1628
  */
1629
1629
  timezone: z.ZodOptional<z.ZodString>;
1630
1630
  }, "strip", z.ZodTypeAny, {
1631
- cron: string;
1632
1631
  task: string;
1632
+ cron: string;
1633
1633
  deduplicationKey: string;
1634
1634
  timezone?: string | undefined;
1635
1635
  externalId?: string | undefined;
1636
1636
  }, {
1637
- cron: string;
1638
1637
  task: string;
1638
+ cron: string;
1639
1639
  deduplicationKey: string;
1640
1640
  timezone?: string | undefined;
1641
1641
  externalId?: string | undefined;
@@ -1682,13 +1682,13 @@ export declare const UpdateScheduleOptions: z.ZodObject<Omit<{
1682
1682
  */
1683
1683
  timezone: z.ZodOptional<z.ZodString>;
1684
1684
  }, "deduplicationKey">, "strip", z.ZodTypeAny, {
1685
- cron: string;
1686
1685
  task: string;
1686
+ cron: string;
1687
1687
  timezone?: string | undefined;
1688
1688
  externalId?: string | undefined;
1689
1689
  }, {
1690
- cron: string;
1691
1690
  task: string;
1691
+ cron: string;
1692
1692
  timezone?: string | undefined;
1693
1693
  externalId?: string | undefined;
1694
1694
  }>;
@@ -1734,47 +1734,47 @@ export declare const ScheduleObject: z.ZodObject<{
1734
1734
  type: z.ZodString;
1735
1735
  userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1736
1736
  }, "strip", z.ZodTypeAny, {
1737
- id: string;
1738
1737
  type: string;
1738
+ id: string;
1739
1739
  userName?: string | null | undefined;
1740
1740
  }, {
1741
- id: string;
1742
1741
  type: string;
1742
+ id: string;
1743
1743
  userName?: string | null | undefined;
1744
1744
  }>, "many">;
1745
1745
  }, "strip", z.ZodTypeAny, {
1746
- id: string;
1747
1746
  type: "DECLARATIVE" | "IMPERATIVE";
1748
- timezone: string;
1747
+ id: string;
1749
1748
  task: string;
1749
+ timezone: string;
1750
+ active: boolean;
1750
1751
  generator: {
1751
1752
  type: "CRON";
1752
1753
  description: string;
1753
1754
  expression: string;
1754
1755
  };
1755
- active: boolean;
1756
1756
  environments: {
1757
- id: string;
1758
1757
  type: string;
1758
+ id: string;
1759
1759
  userName?: string | null | undefined;
1760
1760
  }[];
1761
1761
  externalId?: string | null | undefined;
1762
1762
  deduplicationKey?: string | null | undefined;
1763
1763
  nextRun?: Date | null | undefined;
1764
1764
  }, {
1765
- id: string;
1766
1765
  type: "DECLARATIVE" | "IMPERATIVE";
1767
- timezone: string;
1766
+ id: string;
1768
1767
  task: string;
1768
+ timezone: string;
1769
+ active: boolean;
1769
1770
  generator: {
1770
1771
  type: "CRON";
1771
1772
  description: string;
1772
1773
  expression: string;
1773
1774
  };
1774
- active: boolean;
1775
1775
  environments: {
1776
- id: string;
1777
1776
  type: string;
1777
+ id: string;
1778
1778
  userName?: string | null | undefined;
1779
1779
  }[];
1780
1780
  externalId?: string | null | undefined;
@@ -1818,47 +1818,47 @@ export declare const ListSchedulesResult: z.ZodObject<{
1818
1818
  type: z.ZodString;
1819
1819
  userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1820
1820
  }, "strip", z.ZodTypeAny, {
1821
- id: string;
1822
1821
  type: string;
1822
+ id: string;
1823
1823
  userName?: string | null | undefined;
1824
1824
  }, {
1825
- id: string;
1826
1825
  type: string;
1826
+ id: string;
1827
1827
  userName?: string | null | undefined;
1828
1828
  }>, "many">;
1829
1829
  }, "strip", z.ZodTypeAny, {
1830
- id: string;
1831
1830
  type: "DECLARATIVE" | "IMPERATIVE";
1832
- timezone: string;
1831
+ id: string;
1833
1832
  task: string;
1833
+ timezone: string;
1834
+ active: boolean;
1834
1835
  generator: {
1835
1836
  type: "CRON";
1836
1837
  description: string;
1837
1838
  expression: string;
1838
1839
  };
1839
- active: boolean;
1840
1840
  environments: {
1841
- id: string;
1842
1841
  type: string;
1842
+ id: string;
1843
1843
  userName?: string | null | undefined;
1844
1844
  }[];
1845
1845
  externalId?: string | null | undefined;
1846
1846
  deduplicationKey?: string | null | undefined;
1847
1847
  nextRun?: Date | null | undefined;
1848
1848
  }, {
1849
- id: string;
1850
1849
  type: "DECLARATIVE" | "IMPERATIVE";
1851
- timezone: string;
1850
+ id: string;
1852
1851
  task: string;
1852
+ timezone: string;
1853
+ active: boolean;
1853
1854
  generator: {
1854
1855
  type: "CRON";
1855
1856
  description: string;
1856
1857
  expression: string;
1857
1858
  };
1858
- active: boolean;
1859
1859
  environments: {
1860
- id: string;
1861
1860
  type: string;
1861
+ id: string;
1862
1862
  userName?: string | null | undefined;
1863
1863
  }[];
1864
1864
  externalId?: string | null | undefined;
@@ -1880,19 +1880,19 @@ export declare const ListSchedulesResult: z.ZodObject<{
1880
1880
  }>;
1881
1881
  }, "strip", z.ZodTypeAny, {
1882
1882
  data: {
1883
- id: string;
1884
1883
  type: "DECLARATIVE" | "IMPERATIVE";
1885
- timezone: string;
1884
+ id: string;
1886
1885
  task: string;
1886
+ timezone: string;
1887
+ active: boolean;
1887
1888
  generator: {
1888
1889
  type: "CRON";
1889
1890
  description: string;
1890
1891
  expression: string;
1891
1892
  };
1892
- active: boolean;
1893
1893
  environments: {
1894
- id: string;
1895
1894
  type: string;
1895
+ id: string;
1896
1896
  userName?: string | null | undefined;
1897
1897
  }[];
1898
1898
  externalId?: string | null | undefined;
@@ -1906,19 +1906,19 @@ export declare const ListSchedulesResult: z.ZodObject<{
1906
1906
  };
1907
1907
  }, {
1908
1908
  data: {
1909
- id: string;
1910
1909
  type: "DECLARATIVE" | "IMPERATIVE";
1911
- timezone: string;
1910
+ id: string;
1912
1911
  task: string;
1912
+ timezone: string;
1913
+ active: boolean;
1913
1914
  generator: {
1914
1915
  type: "CRON";
1915
1916
  description: string;
1916
1917
  expression: string;
1917
1918
  };
1918
- active: boolean;
1919
1919
  environments: {
1920
- id: string;
1921
1920
  type: string;
1921
+ id: string;
1922
1922
  userName?: string | null | undefined;
1923
1923
  }[];
1924
1924
  externalId?: string | null | undefined;
@@ -1960,12 +1960,12 @@ export declare const RunEnvironmentDetails: z.ZodObject<{
1960
1960
  name: z.ZodString;
1961
1961
  user: z.ZodOptional<z.ZodString>;
1962
1962
  }, "strip", z.ZodTypeAny, {
1963
- id: string;
1964
1963
  name: string;
1964
+ id: string;
1965
1965
  user?: string | undefined;
1966
1966
  }, {
1967
- id: string;
1968
1967
  name: string;
1968
+ id: string;
1969
1969
  user?: string | undefined;
1970
1970
  }>;
1971
1971
  export type RunEnvironmentDetails = z.infer<typeof RunEnvironmentDetails>;
@@ -2037,8 +2037,8 @@ export declare const RelatedRunDetails: z.ZodObject<{
2037
2037
  durationMs: z.ZodNumber;
2038
2038
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2039
2039
  }, "strip", z.ZodTypeAny, {
2040
- id: string;
2041
2040
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2041
+ id: string;
2042
2042
  tags: string[];
2043
2043
  isTest: boolean;
2044
2044
  createdAt: Date;
@@ -2055,9 +2055,9 @@ export declare const RelatedRunDetails: z.ZodObject<{
2055
2055
  isFailed: boolean;
2056
2056
  isCancelled: boolean;
2057
2057
  updatedAt: Date;
2058
- version?: string | undefined;
2059
2058
  startedAt?: Date | undefined;
2060
2059
  idempotencyKey?: string | undefined;
2060
+ version?: string | undefined;
2061
2061
  metadata?: Record<string, any> | undefined;
2062
2062
  ttl?: string | undefined;
2063
2063
  batchId?: string | undefined;
@@ -2065,8 +2065,8 @@ export declare const RelatedRunDetails: z.ZodObject<{
2065
2065
  delayedUntil?: Date | undefined;
2066
2066
  expiredAt?: Date | undefined;
2067
2067
  }, {
2068
- id: string;
2069
2068
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2069
+ id: string;
2070
2070
  tags: string[];
2071
2071
  isTest: boolean;
2072
2072
  createdAt: Date;
@@ -2083,9 +2083,9 @@ export declare const RelatedRunDetails: z.ZodObject<{
2083
2083
  isFailed: boolean;
2084
2084
  isCancelled: boolean;
2085
2085
  updatedAt: Date;
2086
- version?: string | undefined;
2087
2086
  startedAt?: Date | undefined;
2088
2087
  idempotencyKey?: string | undefined;
2088
+ version?: string | undefined;
2089
2089
  metadata?: Record<string, any> | undefined;
2090
2090
  ttl?: string | undefined;
2091
2091
  batchId?: string | undefined;
@@ -2104,12 +2104,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2104
2104
  stackTrace: z.ZodOptional<z.ZodString>;
2105
2105
  }, "strip", z.ZodTypeAny, {
2106
2106
  message: string;
2107
- stackTrace?: string | undefined;
2108
2107
  name?: string | undefined;
2108
+ stackTrace?: string | undefined;
2109
2109
  }, {
2110
2110
  message: string;
2111
- stackTrace?: string | undefined;
2112
2111
  name?: string | undefined;
2112
+ stackTrace?: string | undefined;
2113
2113
  }>>;
2114
2114
  schedule: z.ZodOptional<z.ZodObject<{
2115
2115
  id: z.ZodString;
@@ -2177,8 +2177,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2177
2177
  durationMs: z.ZodNumber;
2178
2178
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2179
2179
  }, "strip", z.ZodTypeAny, {
2180
- id: string;
2181
2180
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2181
+ id: string;
2182
2182
  tags: string[];
2183
2183
  isTest: boolean;
2184
2184
  createdAt: Date;
@@ -2195,9 +2195,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2195
2195
  isFailed: boolean;
2196
2196
  isCancelled: boolean;
2197
2197
  updatedAt: Date;
2198
- version?: string | undefined;
2199
2198
  startedAt?: Date | undefined;
2200
2199
  idempotencyKey?: string | undefined;
2200
+ version?: string | undefined;
2201
2201
  metadata?: Record<string, any> | undefined;
2202
2202
  ttl?: string | undefined;
2203
2203
  batchId?: string | undefined;
@@ -2205,8 +2205,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2205
2205
  delayedUntil?: Date | undefined;
2206
2206
  expiredAt?: Date | undefined;
2207
2207
  }, {
2208
- id: string;
2209
2208
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2209
+ id: string;
2210
2210
  tags: string[];
2211
2211
  isTest: boolean;
2212
2212
  createdAt: Date;
@@ -2223,9 +2223,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2223
2223
  isFailed: boolean;
2224
2224
  isCancelled: boolean;
2225
2225
  updatedAt: Date;
2226
- version?: string | undefined;
2227
2226
  startedAt?: Date | undefined;
2228
2227
  idempotencyKey?: string | undefined;
2228
+ version?: string | undefined;
2229
2229
  metadata?: Record<string, any> | undefined;
2230
2230
  ttl?: string | undefined;
2231
2231
  batchId?: string | undefined;
@@ -2262,8 +2262,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2262
2262
  durationMs: z.ZodNumber;
2263
2263
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2264
2264
  }, "strip", z.ZodTypeAny, {
2265
- id: string;
2266
2265
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2266
+ id: string;
2267
2267
  tags: string[];
2268
2268
  isTest: boolean;
2269
2269
  createdAt: Date;
@@ -2280,9 +2280,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2280
2280
  isFailed: boolean;
2281
2281
  isCancelled: boolean;
2282
2282
  updatedAt: Date;
2283
- version?: string | undefined;
2284
2283
  startedAt?: Date | undefined;
2285
2284
  idempotencyKey?: string | undefined;
2285
+ version?: string | undefined;
2286
2286
  metadata?: Record<string, any> | undefined;
2287
2287
  ttl?: string | undefined;
2288
2288
  batchId?: string | undefined;
@@ -2290,8 +2290,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2290
2290
  delayedUntil?: Date | undefined;
2291
2291
  expiredAt?: Date | undefined;
2292
2292
  }, {
2293
- id: string;
2294
2293
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2294
+ id: string;
2295
2295
  tags: string[];
2296
2296
  isTest: boolean;
2297
2297
  createdAt: Date;
@@ -2308,9 +2308,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2308
2308
  isFailed: boolean;
2309
2309
  isCancelled: boolean;
2310
2310
  updatedAt: Date;
2311
- version?: string | undefined;
2312
2311
  startedAt?: Date | undefined;
2313
2312
  idempotencyKey?: string | undefined;
2313
+ version?: string | undefined;
2314
2314
  metadata?: Record<string, any> | undefined;
2315
2315
  ttl?: string | undefined;
2316
2316
  batchId?: string | undefined;
@@ -2347,8 +2347,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2347
2347
  durationMs: z.ZodNumber;
2348
2348
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2349
2349
  }, "strip", z.ZodTypeAny, {
2350
- id: string;
2351
2350
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2351
+ id: string;
2352
2352
  tags: string[];
2353
2353
  isTest: boolean;
2354
2354
  createdAt: Date;
@@ -2365,9 +2365,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2365
2365
  isFailed: boolean;
2366
2366
  isCancelled: boolean;
2367
2367
  updatedAt: Date;
2368
- version?: string | undefined;
2369
2368
  startedAt?: Date | undefined;
2370
2369
  idempotencyKey?: string | undefined;
2370
+ version?: string | undefined;
2371
2371
  metadata?: Record<string, any> | undefined;
2372
2372
  ttl?: string | undefined;
2373
2373
  batchId?: string | undefined;
@@ -2375,8 +2375,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2375
2375
  delayedUntil?: Date | undefined;
2376
2376
  expiredAt?: Date | undefined;
2377
2377
  }, {
2378
- id: string;
2379
2378
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2379
+ id: string;
2380
2380
  tags: string[];
2381
2381
  isTest: boolean;
2382
2382
  createdAt: Date;
@@ -2393,9 +2393,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2393
2393
  isFailed: boolean;
2394
2394
  isCancelled: boolean;
2395
2395
  updatedAt: Date;
2396
- version?: string | undefined;
2397
2396
  startedAt?: Date | undefined;
2398
2397
  idempotencyKey?: string | undefined;
2398
+ version?: string | undefined;
2399
2399
  metadata?: Record<string, any> | undefined;
2400
2400
  ttl?: string | undefined;
2401
2401
  batchId?: string | undefined;
@@ -2405,8 +2405,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2405
2405
  }>, "many">>;
2406
2406
  }, "strip", z.ZodTypeAny, {
2407
2407
  root?: {
2408
- id: string;
2409
2408
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2409
+ id: string;
2410
2410
  tags: string[];
2411
2411
  isTest: boolean;
2412
2412
  createdAt: Date;
@@ -2423,9 +2423,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2423
2423
  isFailed: boolean;
2424
2424
  isCancelled: boolean;
2425
2425
  updatedAt: Date;
2426
- version?: string | undefined;
2427
2426
  startedAt?: Date | undefined;
2428
2427
  idempotencyKey?: string | undefined;
2428
+ version?: string | undefined;
2429
2429
  metadata?: Record<string, any> | undefined;
2430
2430
  ttl?: string | undefined;
2431
2431
  batchId?: string | undefined;
@@ -2434,8 +2434,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2434
2434
  expiredAt?: Date | undefined;
2435
2435
  } | undefined;
2436
2436
  parent?: {
2437
- id: string;
2438
2437
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2438
+ id: string;
2439
2439
  tags: string[];
2440
2440
  isTest: boolean;
2441
2441
  createdAt: Date;
@@ -2452,9 +2452,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2452
2452
  isFailed: boolean;
2453
2453
  isCancelled: boolean;
2454
2454
  updatedAt: Date;
2455
- version?: string | undefined;
2456
2455
  startedAt?: Date | undefined;
2457
2456
  idempotencyKey?: string | undefined;
2457
+ version?: string | undefined;
2458
2458
  metadata?: Record<string, any> | undefined;
2459
2459
  ttl?: string | undefined;
2460
2460
  batchId?: string | undefined;
@@ -2463,8 +2463,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2463
2463
  expiredAt?: Date | undefined;
2464
2464
  } | undefined;
2465
2465
  children?: {
2466
- id: string;
2467
2466
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2467
+ id: string;
2468
2468
  tags: string[];
2469
2469
  isTest: boolean;
2470
2470
  createdAt: Date;
@@ -2481,9 +2481,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2481
2481
  isFailed: boolean;
2482
2482
  isCancelled: boolean;
2483
2483
  updatedAt: Date;
2484
- version?: string | undefined;
2485
2484
  startedAt?: Date | undefined;
2486
2485
  idempotencyKey?: string | undefined;
2486
+ version?: string | undefined;
2487
2487
  metadata?: Record<string, any> | undefined;
2488
2488
  ttl?: string | undefined;
2489
2489
  batchId?: string | undefined;
@@ -2493,8 +2493,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2493
2493
  }[] | undefined;
2494
2494
  }, {
2495
2495
  root?: {
2496
- id: string;
2497
2496
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2497
+ id: string;
2498
2498
  tags: string[];
2499
2499
  isTest: boolean;
2500
2500
  createdAt: Date;
@@ -2511,9 +2511,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2511
2511
  isFailed: boolean;
2512
2512
  isCancelled: boolean;
2513
2513
  updatedAt: Date;
2514
- version?: string | undefined;
2515
2514
  startedAt?: Date | undefined;
2516
2515
  idempotencyKey?: string | undefined;
2516
+ version?: string | undefined;
2517
2517
  metadata?: Record<string, any> | undefined;
2518
2518
  ttl?: string | undefined;
2519
2519
  batchId?: string | undefined;
@@ -2522,8 +2522,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2522
2522
  expiredAt?: Date | undefined;
2523
2523
  } | undefined;
2524
2524
  parent?: {
2525
- id: string;
2526
2525
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2526
+ id: string;
2527
2527
  tags: string[];
2528
2528
  isTest: boolean;
2529
2529
  createdAt: Date;
@@ -2540,9 +2540,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2540
2540
  isFailed: boolean;
2541
2541
  isCancelled: boolean;
2542
2542
  updatedAt: Date;
2543
- version?: string | undefined;
2544
2543
  startedAt?: Date | undefined;
2545
2544
  idempotencyKey?: string | undefined;
2545
+ version?: string | undefined;
2546
2546
  metadata?: Record<string, any> | undefined;
2547
2547
  ttl?: string | undefined;
2548
2548
  batchId?: string | undefined;
@@ -2551,8 +2551,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2551
2551
  expiredAt?: Date | undefined;
2552
2552
  } | undefined;
2553
2553
  children?: {
2554
- id: string;
2555
2554
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2555
+ id: string;
2556
2556
  tags: string[];
2557
2557
  isTest: boolean;
2558
2558
  createdAt: Date;
@@ -2569,9 +2569,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2569
2569
  isFailed: boolean;
2570
2570
  isCancelled: boolean;
2571
2571
  updatedAt: Date;
2572
- version?: string | undefined;
2573
2572
  startedAt?: Date | undefined;
2574
2573
  idempotencyKey?: string | undefined;
2574
+ version?: string | undefined;
2575
2575
  metadata?: Record<string, any> | undefined;
2576
2576
  ttl?: string | undefined;
2577
2577
  batchId?: string | undefined;
@@ -2593,35 +2593,35 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2593
2593
  stackTrace: z.ZodOptional<z.ZodString>;
2594
2594
  }, "strip", z.ZodTypeAny, {
2595
2595
  message: string;
2596
- stackTrace?: string | undefined;
2597
2596
  name?: string | undefined;
2597
+ stackTrace?: string | undefined;
2598
2598
  }, {
2599
2599
  message: string;
2600
- stackTrace?: string | undefined;
2601
2600
  name?: string | undefined;
2601
+ stackTrace?: string | undefined;
2602
2602
  }>>;
2603
2603
  }, "strip", z.ZodTypeAny, {
2604
- id: string;
2605
2604
  status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2605
+ id: string;
2606
2606
  createdAt: Date;
2607
2607
  updatedAt: Date;
2608
2608
  startedAt?: Date | undefined;
2609
2609
  error?: {
2610
2610
  message: string;
2611
- stackTrace?: string | undefined;
2612
2611
  name?: string | undefined;
2612
+ stackTrace?: string | undefined;
2613
2613
  } | undefined;
2614
2614
  completedAt?: Date | undefined;
2615
2615
  }, {
2616
- id: string;
2617
2616
  status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2617
+ id: string;
2618
2618
  createdAt: Date;
2619
2619
  updatedAt: Date;
2620
2620
  startedAt?: Date | undefined;
2621
2621
  error?: {
2622
2622
  message: string;
2623
- stackTrace?: string | undefined;
2624
2623
  name?: string | undefined;
2624
+ stackTrace?: string | undefined;
2625
2625
  } | undefined;
2626
2626
  completedAt?: Date | undefined;
2627
2627
  }>>, "many">;
@@ -2654,19 +2654,20 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2654
2654
  durationMs: z.ZodNumber;
2655
2655
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2656
2656
  }, "strip", z.ZodTypeAny, {
2657
- id: string;
2658
2657
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2658
+ id: string;
2659
2659
  tags: string[];
2660
2660
  isTest: boolean;
2661
2661
  createdAt: Date;
2662
2662
  durationMs: number;
2663
2663
  costInCents: number;
2664
2664
  baseCostInCents: number;
2665
+ attemptCount: number;
2665
2666
  taskIdentifier: string;
2666
2667
  relatedRuns: {
2667
2668
  root?: {
2668
- id: string;
2669
2669
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2670
+ id: string;
2670
2671
  tags: string[];
2671
2672
  isTest: boolean;
2672
2673
  createdAt: Date;
@@ -2683,9 +2684,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2683
2684
  isFailed: boolean;
2684
2685
  isCancelled: boolean;
2685
2686
  updatedAt: Date;
2686
- version?: string | undefined;
2687
2687
  startedAt?: Date | undefined;
2688
2688
  idempotencyKey?: string | undefined;
2689
+ version?: string | undefined;
2689
2690
  metadata?: Record<string, any> | undefined;
2690
2691
  ttl?: string | undefined;
2691
2692
  batchId?: string | undefined;
@@ -2694,8 +2695,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2694
2695
  expiredAt?: Date | undefined;
2695
2696
  } | undefined;
2696
2697
  parent?: {
2697
- id: string;
2698
2698
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2699
+ id: string;
2699
2700
  tags: string[];
2700
2701
  isTest: boolean;
2701
2702
  createdAt: Date;
@@ -2712,9 +2713,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2712
2713
  isFailed: boolean;
2713
2714
  isCancelled: boolean;
2714
2715
  updatedAt: Date;
2715
- version?: string | undefined;
2716
2716
  startedAt?: Date | undefined;
2717
2717
  idempotencyKey?: string | undefined;
2718
+ version?: string | undefined;
2718
2719
  metadata?: Record<string, any> | undefined;
2719
2720
  ttl?: string | undefined;
2720
2721
  batchId?: string | undefined;
@@ -2723,8 +2724,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2723
2724
  expiredAt?: Date | undefined;
2724
2725
  } | undefined;
2725
2726
  children?: {
2726
- id: string;
2727
2727
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2728
+ id: string;
2728
2729
  tags: string[];
2729
2730
  isTest: boolean;
2730
2731
  createdAt: Date;
@@ -2741,9 +2742,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2741
2742
  isFailed: boolean;
2742
2743
  isCancelled: boolean;
2743
2744
  updatedAt: Date;
2744
- version?: string | undefined;
2745
2745
  startedAt?: Date | undefined;
2746
2746
  idempotencyKey?: string | undefined;
2747
+ version?: string | undefined;
2747
2748
  metadata?: Record<string, any> | undefined;
2748
2749
  ttl?: string | undefined;
2749
2750
  batchId?: string | undefined;
@@ -2762,19 +2763,23 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2762
2763
  isCancelled: boolean;
2763
2764
  updatedAt: Date;
2764
2765
  attempts: ({
2765
- id: string;
2766
2766
  status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2767
+ id: string;
2767
2768
  createdAt: Date;
2768
2769
  updatedAt: Date;
2769
2770
  startedAt?: Date | undefined;
2770
2771
  error?: {
2771
2772
  message: string;
2772
- stackTrace?: string | undefined;
2773
2773
  name?: string | undefined;
2774
+ stackTrace?: string | undefined;
2774
2775
  } | undefined;
2775
2776
  completedAt?: Date | undefined;
2776
2777
  } | undefined)[];
2777
- attemptCount: number;
2778
+ startedAt?: Date | undefined;
2779
+ payload?: any;
2780
+ idempotencyKey?: string | undefined;
2781
+ version?: string | undefined;
2782
+ metadata?: Record<string, any> | undefined;
2778
2783
  schedule?: {
2779
2784
  id: string;
2780
2785
  generator: {
@@ -2785,27 +2790,22 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2785
2790
  externalId?: string | undefined;
2786
2791
  deduplicationKey?: string | undefined;
2787
2792
  } | undefined;
2788
- version?: string | undefined;
2789
- output?: any;
2790
- startedAt?: Date | undefined;
2791
- payload?: any;
2792
- idempotencyKey?: string | undefined;
2793
- metadata?: Record<string, any> | undefined;
2794
- ttl?: string | undefined;
2795
- payloadPresignedUrl?: string | undefined;
2796
- outputPresignedUrl?: string | undefined;
2797
2793
  error?: {
2798
2794
  message: string;
2799
- stackTrace?: string | undefined;
2800
2795
  name?: string | undefined;
2796
+ stackTrace?: string | undefined;
2801
2797
  } | undefined;
2798
+ output?: any;
2799
+ ttl?: string | undefined;
2800
+ payloadPresignedUrl?: string | undefined;
2801
+ outputPresignedUrl?: string | undefined;
2802
2802
  batchId?: string | undefined;
2803
2803
  finishedAt?: Date | undefined;
2804
2804
  delayedUntil?: Date | undefined;
2805
2805
  expiredAt?: Date | undefined;
2806
2806
  }, {
2807
- id: string;
2808
2807
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2808
+ id: string;
2809
2809
  tags: string[];
2810
2810
  isTest: boolean;
2811
2811
  createdAt: Date;
@@ -2815,8 +2815,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2815
2815
  taskIdentifier: string;
2816
2816
  relatedRuns: {
2817
2817
  root?: {
2818
- id: string;
2819
2818
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2819
+ id: string;
2820
2820
  tags: string[];
2821
2821
  isTest: boolean;
2822
2822
  createdAt: Date;
@@ -2833,9 +2833,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2833
2833
  isFailed: boolean;
2834
2834
  isCancelled: boolean;
2835
2835
  updatedAt: Date;
2836
- version?: string | undefined;
2837
2836
  startedAt?: Date | undefined;
2838
2837
  idempotencyKey?: string | undefined;
2838
+ version?: string | undefined;
2839
2839
  metadata?: Record<string, any> | undefined;
2840
2840
  ttl?: string | undefined;
2841
2841
  batchId?: string | undefined;
@@ -2844,8 +2844,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2844
2844
  expiredAt?: Date | undefined;
2845
2845
  } | undefined;
2846
2846
  parent?: {
2847
- id: string;
2848
2847
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2848
+ id: string;
2849
2849
  tags: string[];
2850
2850
  isTest: boolean;
2851
2851
  createdAt: Date;
@@ -2862,9 +2862,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2862
2862
  isFailed: boolean;
2863
2863
  isCancelled: boolean;
2864
2864
  updatedAt: Date;
2865
- version?: string | undefined;
2866
2865
  startedAt?: Date | undefined;
2867
2866
  idempotencyKey?: string | undefined;
2867
+ version?: string | undefined;
2868
2868
  metadata?: Record<string, any> | undefined;
2869
2869
  ttl?: string | undefined;
2870
2870
  batchId?: string | undefined;
@@ -2873,8 +2873,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2873
2873
  expiredAt?: Date | undefined;
2874
2874
  } | undefined;
2875
2875
  children?: {
2876
- id: string;
2877
2876
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2877
+ id: string;
2878
2878
  tags: string[];
2879
2879
  isTest: boolean;
2880
2880
  createdAt: Date;
@@ -2891,9 +2891,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2891
2891
  isFailed: boolean;
2892
2892
  isCancelled: boolean;
2893
2893
  updatedAt: Date;
2894
- version?: string | undefined;
2895
2894
  startedAt?: Date | undefined;
2896
2895
  idempotencyKey?: string | undefined;
2896
+ version?: string | undefined;
2897
2897
  metadata?: Record<string, any> | undefined;
2898
2898
  ttl?: string | undefined;
2899
2899
  batchId?: string | undefined;
@@ -2912,18 +2912,23 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2912
2912
  isCancelled: boolean;
2913
2913
  updatedAt: Date;
2914
2914
  attempts: ({
2915
- id: string;
2916
2915
  status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2916
+ id: string;
2917
2917
  createdAt: Date;
2918
2918
  updatedAt: Date;
2919
2919
  startedAt?: Date | undefined;
2920
2920
  error?: {
2921
2921
  message: string;
2922
- stackTrace?: string | undefined;
2923
2922
  name?: string | undefined;
2923
+ stackTrace?: string | undefined;
2924
2924
  } | undefined;
2925
2925
  completedAt?: Date | undefined;
2926
2926
  } | undefined)[];
2927
+ startedAt?: Date | undefined;
2928
+ payload?: any;
2929
+ idempotencyKey?: string | undefined;
2930
+ version?: string | undefined;
2931
+ metadata?: Record<string, any> | undefined;
2927
2932
  schedule?: {
2928
2933
  id: string;
2929
2934
  generator: {
@@ -2934,25 +2939,20 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2934
2939
  externalId?: string | undefined;
2935
2940
  deduplicationKey?: string | undefined;
2936
2941
  } | undefined;
2937
- version?: string | undefined;
2938
- output?: any;
2939
- startedAt?: Date | undefined;
2940
- payload?: any;
2941
- idempotencyKey?: string | undefined;
2942
- metadata?: Record<string, any> | undefined;
2943
- ttl?: string | undefined;
2944
- payloadPresignedUrl?: string | undefined;
2945
- outputPresignedUrl?: string | undefined;
2942
+ attemptCount?: number | undefined;
2946
2943
  error?: {
2947
2944
  message: string;
2948
- stackTrace?: string | undefined;
2949
2945
  name?: string | undefined;
2946
+ stackTrace?: string | undefined;
2950
2947
  } | undefined;
2948
+ output?: any;
2949
+ ttl?: string | undefined;
2950
+ payloadPresignedUrl?: string | undefined;
2951
+ outputPresignedUrl?: string | undefined;
2951
2952
  batchId?: string | undefined;
2952
2953
  finishedAt?: Date | undefined;
2953
2954
  delayedUntil?: Date | undefined;
2954
2955
  expiredAt?: Date | undefined;
2955
- attemptCount?: number | undefined;
2956
2956
  }>;
2957
2957
  export type RetrieveRunResponse = z.infer<typeof RetrieveRunResponse>;
2958
2958
  export declare const ListRunResponseItem: z.ZodObject<{
@@ -2961,12 +2961,12 @@ export declare const ListRunResponseItem: z.ZodObject<{
2961
2961
  name: z.ZodString;
2962
2962
  user: z.ZodOptional<z.ZodString>;
2963
2963
  }, "strip", z.ZodTypeAny, {
2964
- id: string;
2965
2964
  name: string;
2965
+ id: string;
2966
2966
  user?: string | undefined;
2967
2967
  }, {
2968
- id: string;
2969
2968
  name: string;
2969
+ id: string;
2970
2970
  user?: string | undefined;
2971
2971
  }>;
2972
2972
  id: z.ZodString;
@@ -2994,8 +2994,8 @@ export declare const ListRunResponseItem: z.ZodObject<{
2994
2994
  durationMs: z.ZodNumber;
2995
2995
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2996
2996
  }, "strip", z.ZodTypeAny, {
2997
- id: string;
2998
2997
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2998
+ id: string;
2999
2999
  tags: string[];
3000
3000
  isTest: boolean;
3001
3001
  createdAt: Date;
@@ -3011,21 +3011,21 @@ export declare const ListRunResponseItem: z.ZodObject<{
3011
3011
  isCancelled: boolean;
3012
3012
  updatedAt: Date;
3013
3013
  env: {
3014
- id: string;
3015
3014
  name: string;
3015
+ id: string;
3016
3016
  user?: string | undefined;
3017
3017
  };
3018
- version?: string | undefined;
3019
3018
  startedAt?: Date | undefined;
3020
3019
  idempotencyKey?: string | undefined;
3020
+ version?: string | undefined;
3021
3021
  metadata?: Record<string, any> | undefined;
3022
3022
  ttl?: string | undefined;
3023
3023
  finishedAt?: Date | undefined;
3024
3024
  delayedUntil?: Date | undefined;
3025
3025
  expiredAt?: Date | undefined;
3026
3026
  }, {
3027
- id: string;
3028
3027
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3028
+ id: string;
3029
3029
  tags: string[];
3030
3030
  isTest: boolean;
3031
3031
  createdAt: Date;
@@ -3041,13 +3041,13 @@ export declare const ListRunResponseItem: z.ZodObject<{
3041
3041
  isCancelled: boolean;
3042
3042
  updatedAt: Date;
3043
3043
  env: {
3044
- id: string;
3045
3044
  name: string;
3045
+ id: string;
3046
3046
  user?: string | undefined;
3047
3047
  };
3048
- version?: string | undefined;
3049
3048
  startedAt?: Date | undefined;
3050
3049
  idempotencyKey?: string | undefined;
3050
+ version?: string | undefined;
3051
3051
  metadata?: Record<string, any> | undefined;
3052
3052
  ttl?: string | undefined;
3053
3053
  finishedAt?: Date | undefined;
@@ -3062,12 +3062,12 @@ export declare const ListRunResponse: z.ZodObject<{
3062
3062
  name: z.ZodString;
3063
3063
  user: z.ZodOptional<z.ZodString>;
3064
3064
  }, "strip", z.ZodTypeAny, {
3065
- id: string;
3066
3065
  name: string;
3066
+ id: string;
3067
3067
  user?: string | undefined;
3068
3068
  }, {
3069
- id: string;
3070
3069
  name: string;
3070
+ id: string;
3071
3071
  user?: string | undefined;
3072
3072
  }>;
3073
3073
  id: z.ZodString;
@@ -3095,8 +3095,8 @@ export declare const ListRunResponse: z.ZodObject<{
3095
3095
  durationMs: z.ZodNumber;
3096
3096
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3097
3097
  }, "strip", z.ZodTypeAny, {
3098
- id: string;
3099
3098
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3099
+ id: string;
3100
3100
  tags: string[];
3101
3101
  isTest: boolean;
3102
3102
  createdAt: Date;
@@ -3112,21 +3112,21 @@ export declare const ListRunResponse: z.ZodObject<{
3112
3112
  isCancelled: boolean;
3113
3113
  updatedAt: Date;
3114
3114
  env: {
3115
- id: string;
3116
3115
  name: string;
3116
+ id: string;
3117
3117
  user?: string | undefined;
3118
3118
  };
3119
- version?: string | undefined;
3120
3119
  startedAt?: Date | undefined;
3121
3120
  idempotencyKey?: string | undefined;
3121
+ version?: string | undefined;
3122
3122
  metadata?: Record<string, any> | undefined;
3123
3123
  ttl?: string | undefined;
3124
3124
  finishedAt?: Date | undefined;
3125
3125
  delayedUntil?: Date | undefined;
3126
3126
  expiredAt?: Date | undefined;
3127
3127
  }, {
3128
- id: string;
3129
3128
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3129
+ id: string;
3130
3130
  tags: string[];
3131
3131
  isTest: boolean;
3132
3132
  createdAt: Date;
@@ -3142,13 +3142,13 @@ export declare const ListRunResponse: z.ZodObject<{
3142
3142
  isCancelled: boolean;
3143
3143
  updatedAt: Date;
3144
3144
  env: {
3145
- id: string;
3146
3145
  name: string;
3146
+ id: string;
3147
3147
  user?: string | undefined;
3148
3148
  };
3149
- version?: string | undefined;
3150
3149
  startedAt?: Date | undefined;
3151
3150
  idempotencyKey?: string | undefined;
3151
+ version?: string | undefined;
3152
3152
  metadata?: Record<string, any> | undefined;
3153
3153
  ttl?: string | undefined;
3154
3154
  finishedAt?: Date | undefined;
@@ -3167,8 +3167,8 @@ export declare const ListRunResponse: z.ZodObject<{
3167
3167
  }>;
3168
3168
  }, "strip", z.ZodTypeAny, {
3169
3169
  data: {
3170
- id: string;
3171
3170
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3171
+ id: string;
3172
3172
  tags: string[];
3173
3173
  isTest: boolean;
3174
3174
  createdAt: Date;
@@ -3184,13 +3184,13 @@ export declare const ListRunResponse: z.ZodObject<{
3184
3184
  isCancelled: boolean;
3185
3185
  updatedAt: Date;
3186
3186
  env: {
3187
- id: string;
3188
3187
  name: string;
3188
+ id: string;
3189
3189
  user?: string | undefined;
3190
3190
  };
3191
- version?: string | undefined;
3192
3191
  startedAt?: Date | undefined;
3193
3192
  idempotencyKey?: string | undefined;
3193
+ version?: string | undefined;
3194
3194
  metadata?: Record<string, any> | undefined;
3195
3195
  ttl?: string | undefined;
3196
3196
  finishedAt?: Date | undefined;
@@ -3203,8 +3203,8 @@ export declare const ListRunResponse: z.ZodObject<{
3203
3203
  };
3204
3204
  }, {
3205
3205
  data: {
3206
- id: string;
3207
3206
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3207
+ id: string;
3208
3208
  tags: string[];
3209
3209
  isTest: boolean;
3210
3210
  createdAt: Date;
@@ -3220,13 +3220,13 @@ export declare const ListRunResponse: z.ZodObject<{
3220
3220
  isCancelled: boolean;
3221
3221
  updatedAt: Date;
3222
3222
  env: {
3223
- id: string;
3224
3223
  name: string;
3224
+ id: string;
3225
3225
  user?: string | undefined;
3226
3226
  };
3227
- version?: string | undefined;
3228
3227
  startedAt?: Date | undefined;
3229
3228
  idempotencyKey?: string | undefined;
3229
+ version?: string | undefined;
3230
3230
  metadata?: Record<string, any> | undefined;
3231
3231
  ttl?: string | undefined;
3232
3232
  finishedAt?: Date | undefined;
@@ -3243,11 +3243,11 @@ export declare const CreateEnvironmentVariableRequestBody: z.ZodObject<{
3243
3243
  name: z.ZodString;
3244
3244
  value: z.ZodString;
3245
3245
  }, "strip", z.ZodTypeAny, {
3246
- value: string;
3247
3246
  name: string;
3248
- }, {
3249
3247
  value: string;
3248
+ }, {
3250
3249
  name: string;
3250
+ value: string;
3251
3251
  }>;
3252
3252
  export type CreateEnvironmentVariableRequestBody = z.infer<typeof CreateEnvironmentVariableRequestBody>;
3253
3253
  export declare const UpdateEnvironmentVariableRequestBody: z.ZodObject<{
@@ -3289,21 +3289,21 @@ export declare const EnvironmentVariable: z.ZodObject<{
3289
3289
  name: z.ZodString;
3290
3290
  value: z.ZodString;
3291
3291
  }, "strip", z.ZodTypeAny, {
3292
- value: string;
3293
3292
  name: string;
3294
- }, {
3295
3293
  value: string;
3294
+ }, {
3296
3295
  name: string;
3296
+ value: string;
3297
3297
  }>;
3298
3298
  export declare const EnvironmentVariables: z.ZodArray<z.ZodObject<{
3299
3299
  name: z.ZodString;
3300
3300
  value: z.ZodString;
3301
3301
  }, "strip", z.ZodTypeAny, {
3302
- value: string;
3303
3302
  name: string;
3304
- }, {
3305
3303
  value: string;
3304
+ }, {
3306
3305
  name: string;
3306
+ value: string;
3307
3307
  }>, "many">;
3308
3308
  export type EnvironmentVariables = z.infer<typeof EnvironmentVariables>;
3309
3309
  export declare const UpdateMetadataRequestBody: z.ZodObject<{
@@ -3693,15 +3693,15 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3693
3693
  message: z.ZodString;
3694
3694
  stackTrace: z.ZodString;
3695
3695
  }, "strip", z.ZodTypeAny, {
3696
- type: "BUILT_IN_ERROR";
3696
+ name: string;
3697
3697
  message: string;
3698
+ type: "BUILT_IN_ERROR";
3698
3699
  stackTrace: string;
3699
- name: string;
3700
3700
  }, {
3701
- type: "BUILT_IN_ERROR";
3701
+ name: string;
3702
3702
  message: string;
3703
+ type: "BUILT_IN_ERROR";
3703
3704
  stackTrace: string;
3704
- name: string;
3705
3705
  }>, z.ZodObject<{
3706
3706
  type: z.ZodLiteral<"CUSTOM_ERROR">;
3707
3707
  raw: z.ZodString;
@@ -3722,105 +3722,105 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3722
3722
  raw: string;
3723
3723
  }>, z.ZodObject<{
3724
3724
  type: z.ZodLiteral<"INTERNAL_ERROR">;
3725
- code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "COULD_NOT_IMPORT_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_PROCESS_SIGKILL_TIMEOUT", "TASK_PROCESS_SIGSEGV", "TASK_PROCESS_SIGTERM", "TASK_PROCESS_OOM_KILLED", "TASK_PROCESS_MAYBE_OOM_KILLED", "TASK_RUN_CANCELLED", "TASK_INPUT_ERROR", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR", "GRACEFUL_EXIT_TIMEOUT", "TASK_RUN_HEARTBEAT_TIMEOUT", "TASK_RUN_CRASHED", "MAX_DURATION_EXCEEDED", "DISK_SPACE_EXCEEDED", "POD_EVICTED", "POD_UNKNOWN_ERROR", "OUTDATED_SDK_VERSION", "TASK_DID_CONCURRENT_WAIT"]>;
3725
+ code: z.ZodEnum<["COULD_NOT_FIND_EXECUTOR", "COULD_NOT_FIND_TASK", "COULD_NOT_IMPORT_TASK", "CONFIGURED_INCORRECTLY", "TASK_ALREADY_RUNNING", "TASK_EXECUTION_FAILED", "TASK_EXECUTION_ABORTED", "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE", "TASK_PROCESS_SIGKILL_TIMEOUT", "TASK_PROCESS_SIGSEGV", "TASK_PROCESS_SIGTERM", "TASK_PROCESS_OOM_KILLED", "TASK_PROCESS_MAYBE_OOM_KILLED", "TASK_RUN_CANCELLED", "TASK_INPUT_ERROR", "TASK_OUTPUT_ERROR", "HANDLE_ERROR_ERROR", "GRACEFUL_EXIT_TIMEOUT", "TASK_RUN_HEARTBEAT_TIMEOUT", "TASK_RUN_CRASHED", "MAX_DURATION_EXCEEDED", "DISK_SPACE_EXCEEDED", "POD_EVICTED", "POD_UNKNOWN_ERROR", "OUTDATED_SDK_VERSION", "TASK_DID_CONCURRENT_WAIT", "RECURSIVE_WAIT_DEADLOCK"]>;
3726
3726
  message: z.ZodOptional<z.ZodString>;
3727
3727
  stackTrace: z.ZodOptional<z.ZodString>;
3728
3728
  }, "strip", z.ZodTypeAny, {
3729
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
3729
3730
  type: "INTERNAL_ERROR";
3730
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT";
3731
3731
  message?: string | undefined;
3732
3732
  stackTrace?: string | undefined;
3733
3733
  }, {
3734
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
3734
3735
  type: "INTERNAL_ERROR";
3735
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT";
3736
3736
  message?: string | undefined;
3737
3737
  stackTrace?: string | undefined;
3738
3738
  }>]>>>;
3739
3739
  }, "strip", z.ZodTypeAny, {
3740
3740
  number: number;
3741
- id: string;
3742
3741
  status: string;
3742
+ id: string;
3743
3743
  isTest: boolean;
3744
3744
  createdAt: Date;
3745
3745
  costInCents: number;
3746
3746
  baseCostInCents: number;
3747
3747
  taskIdentifier: string;
3748
- updatedAt: Date;
3749
3748
  friendlyId: string;
3749
+ updatedAt: Date;
3750
3750
  usageDurationMs: number;
3751
3751
  runTags: string[] | null;
3752
- output?: string | null | undefined;
3753
3752
  startedAt?: string | Date | null | undefined;
3754
3753
  payload?: string | null | undefined;
3755
3754
  payloadType?: string | null | undefined;
3756
3755
  idempotencyKey?: string | null | undefined;
3757
3756
  metadata?: string | null | undefined;
3758
- ttl?: string | null | undefined;
3759
3757
  error?: {
3760
- type: "INTERNAL_ERROR";
3761
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT";
3762
- message?: string | undefined;
3763
- stackTrace?: string | undefined;
3764
- } | {
3765
- type: "BUILT_IN_ERROR";
3758
+ name: string;
3766
3759
  message: string;
3760
+ type: "BUILT_IN_ERROR";
3767
3761
  stackTrace: string;
3768
- name: string;
3769
3762
  } | {
3770
3763
  type: "CUSTOM_ERROR";
3771
3764
  raw: string;
3772
3765
  } | {
3773
3766
  type: "STRING_ERROR";
3774
3767
  raw: string;
3768
+ } | {
3769
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
3770
+ type: "INTERNAL_ERROR";
3771
+ message?: string | undefined;
3772
+ stackTrace?: string | undefined;
3775
3773
  } | null | undefined;
3774
+ output?: string | null | undefined;
3775
+ outputType?: string | null | undefined;
3776
+ ttl?: string | null | undefined;
3776
3777
  expiredAt?: string | Date | null | undefined;
3777
3778
  completedAt?: string | Date | null | undefined;
3778
3779
  metadataType?: string | null | undefined;
3779
3780
  delayUntil?: string | Date | null | undefined;
3780
3781
  queuedAt?: string | Date | null | undefined;
3781
- outputType?: string | null | undefined;
3782
3782
  }, {
3783
3783
  number: number;
3784
- id: string;
3785
3784
  status: string;
3785
+ id: string;
3786
3786
  isTest: boolean;
3787
3787
  createdAt: string;
3788
3788
  costInCents: number;
3789
3789
  baseCostInCents: number;
3790
3790
  taskIdentifier: string;
3791
- updatedAt: string;
3792
3791
  friendlyId: string;
3792
+ updatedAt: string;
3793
3793
  usageDurationMs: number;
3794
- output?: string | null | undefined;
3795
3794
  startedAt?: string | null | undefined;
3796
3795
  payload?: string | null | undefined;
3797
3796
  payloadType?: string | null | undefined;
3798
3797
  idempotencyKey?: string | null | undefined;
3799
3798
  metadata?: string | null | undefined;
3800
- ttl?: string | null | undefined;
3801
3799
  error?: {
3802
- type: "INTERNAL_ERROR";
3803
- code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT";
3804
- message?: string | undefined;
3805
- stackTrace?: string | undefined;
3806
- } | {
3807
- type: "BUILT_IN_ERROR";
3800
+ name: string;
3808
3801
  message: string;
3802
+ type: "BUILT_IN_ERROR";
3809
3803
  stackTrace: string;
3810
- name: string;
3811
3804
  } | {
3812
3805
  type: "CUSTOM_ERROR";
3813
3806
  raw: string;
3814
3807
  } | {
3815
3808
  type: "STRING_ERROR";
3816
3809
  raw: string;
3810
+ } | {
3811
+ code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION" | "TASK_DID_CONCURRENT_WAIT" | "RECURSIVE_WAIT_DEADLOCK";
3812
+ type: "INTERNAL_ERROR";
3813
+ message?: string | undefined;
3814
+ stackTrace?: string | undefined;
3817
3815
  } | null | undefined;
3816
+ output?: string | null | undefined;
3817
+ outputType?: string | null | undefined;
3818
+ ttl?: string | null | undefined;
3818
3819
  expiredAt?: string | null | undefined;
3819
3820
  completedAt?: string | null | undefined;
3820
3821
  metadataType?: string | null | undefined;
3821
3822
  delayUntil?: string | null | undefined;
3822
3823
  queuedAt?: string | null | undefined;
3823
- outputType?: string | null | undefined;
3824
3824
  runTags?: string[] | null | undefined;
3825
3825
  }>;
3826
3826
  export type SubscribeRunRawShape = z.infer<typeof SubscribeRunRawShape>;
@@ -3834,15 +3834,15 @@ export declare const RetrieveBatchResponse: z.ZodObject<{
3834
3834
  updatedAt: z.ZodDate;
3835
3835
  runCount: z.ZodNumber;
3836
3836
  }, "strip", z.ZodTypeAny, {
3837
- id: string;
3838
3837
  status: "COMPLETED" | "PENDING";
3838
+ id: string;
3839
3839
  createdAt: Date;
3840
3840
  updatedAt: Date;
3841
3841
  runCount: number;
3842
3842
  idempotencyKey?: string | undefined;
3843
3843
  }, {
3844
- id: string;
3845
3844
  status: "COMPLETED" | "PENDING";
3845
+ id: string;
3846
3846
  createdAt: Date;
3847
3847
  updatedAt: Date;
3848
3848
  runCount: number;
@@ -3857,15 +3857,15 @@ export declare const SubscribeRealtimeStreamChunkRawShape: z.ZodObject<{
3857
3857
  value: z.ZodString;
3858
3858
  createdAt: z.ZodDate;
3859
3859
  }, "strip", z.ZodTypeAny, {
3860
- id: string;
3861
3860
  value: string;
3861
+ id: string;
3862
3862
  createdAt: Date;
3863
3863
  runId: string;
3864
3864
  key: string;
3865
3865
  sequence: number;
3866
3866
  }, {
3867
- id: string;
3868
3867
  value: string;
3868
+ id: string;
3869
3869
  createdAt: Date;
3870
3870
  runId: string;
3871
3871
  key: string;