@trigger.dev/core 0.0.0-prerelease-20250213143202 → 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 (151) 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 +51 -51
  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 +293 -293
  41. package/dist/commonjs/v3/schemas/build.d.ts +196 -196
  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/messages.d.ts +6605 -4119
  47. package/dist/commonjs/v3/schemas/messages.js +22 -0
  48. package/dist/commonjs/v3/schemas/messages.js.map +1 -1
  49. package/dist/commonjs/v3/schemas/openTelemetry.d.ts +20 -20
  50. package/dist/commonjs/v3/schemas/resources.d.ts +52 -52
  51. package/dist/commonjs/v3/schemas/schemas.d.ts +485 -352
  52. package/dist/commonjs/v3/schemas/schemas.js +17 -1
  53. package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
  54. package/dist/commonjs/v3/schemas/webhooks.d.ts +238 -238
  55. package/dist/commonjs/v3/semanticInternalAttributes.d.ts +1 -0
  56. package/dist/commonjs/v3/semanticInternalAttributes.js +1 -0
  57. package/dist/commonjs/v3/semanticInternalAttributes.js.map +1 -1
  58. package/dist/commonjs/v3/taskContext/index.js +1 -1
  59. package/dist/commonjs/v3/taskContext/index.js.map +1 -1
  60. package/dist/commonjs/v3/tracer.d.ts +10 -2
  61. package/dist/commonjs/v3/tracer.js +13 -4
  62. package/dist/commonjs/v3/tracer.js.map +1 -1
  63. package/dist/commonjs/v3/utils/flattenAttributes.js.map +1 -1
  64. package/dist/commonjs/v3/utils/globals.d.ts +2 -0
  65. package/dist/commonjs/v3/utils/globals.js.map +1 -1
  66. package/dist/commonjs/v3/workers/index.d.ts +1 -0
  67. package/dist/commonjs/v3/workers/index.js +3 -1
  68. package/dist/commonjs/v3/workers/index.js.map +1 -1
  69. package/dist/commonjs/v3/workers/taskExecutor.js +19 -9
  70. package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
  71. package/dist/commonjs/v3/zodMessageHandler.d.ts +2 -2
  72. package/dist/commonjs/v3/zodSocket.d.ts +2 -2
  73. package/dist/commonjs/v3/zodSocket.js +3 -2
  74. package/dist/commonjs/v3/zodSocket.js.map +1 -1
  75. package/dist/commonjs/version.js +1 -1
  76. package/dist/esm/schemas/api.d.ts +2001 -2001
  77. package/dist/esm/schemas/events.d.ts +8 -8
  78. package/dist/esm/schemas/fetch.d.ts +54 -54
  79. package/dist/esm/schemas/integrations.d.ts +4 -4
  80. package/dist/esm/schemas/notifications.d.ts +80 -80
  81. package/dist/esm/schemas/properties.d.ts +4 -4
  82. package/dist/esm/schemas/request.d.ts +4 -4
  83. package/dist/esm/schemas/requestFilter.d.ts +2 -2
  84. package/dist/esm/schemas/runs.d.ts +39 -39
  85. package/dist/esm/schemas/schedules.d.ts +12 -12
  86. package/dist/esm/schemas/statuses.d.ts +24 -24
  87. package/dist/esm/schemas/tasks.d.ts +50 -50
  88. package/dist/esm/schemas/triggers.d.ts +36 -36
  89. package/dist/esm/v3/apiClient/index.d.ts +51 -51
  90. package/dist/esm/v3/apiClientManager/index.d.ts +1 -1
  91. package/dist/esm/v3/apps/provider.d.ts +1 -0
  92. package/dist/esm/v3/apps/provider.js +1 -0
  93. package/dist/esm/v3/apps/provider.js.map +1 -1
  94. package/dist/esm/v3/errors.d.ts +1 -0
  95. package/dist/esm/v3/errors.js +30 -0
  96. package/dist/esm/v3/errors.js.map +1 -1
  97. package/dist/esm/v3/index.d.ts +1 -0
  98. package/dist/esm/v3/index.js +1 -0
  99. package/dist/esm/v3/index.js.map +1 -1
  100. package/dist/esm/v3/links.d.ts +3 -0
  101. package/dist/esm/v3/links.js +3 -0
  102. package/dist/esm/v3/links.js.map +1 -1
  103. package/dist/esm/v3/run-timeline-metrics-api.d.ts +2 -0
  104. package/dist/esm/v3/run-timeline-metrics-api.js +5 -0
  105. package/dist/esm/v3/run-timeline-metrics-api.js.map +1 -0
  106. package/dist/esm/v3/runTimelineMetrics/index.d.ts +23 -0
  107. package/dist/esm/v3/runTimelineMetrics/index.js +156 -0
  108. package/dist/esm/v3/runTimelineMetrics/index.js.map +1 -0
  109. package/dist/esm/v3/runTimelineMetrics/runTimelineMetricsManager.d.ts +13 -0
  110. package/dist/esm/v3/runTimelineMetrics/runTimelineMetricsManager.js +47 -0
  111. package/dist/esm/v3/runTimelineMetrics/runTimelineMetricsManager.js.map +1 -0
  112. package/dist/esm/v3/runTimelineMetrics/types.d.ts +11 -0
  113. package/dist/esm/v3/runTimelineMetrics/types.js +2 -0
  114. package/dist/esm/v3/runTimelineMetrics/types.js.map +1 -0
  115. package/dist/esm/v3/schemas/api.d.ts +293 -293
  116. package/dist/esm/v3/schemas/build.d.ts +196 -196
  117. package/dist/esm/v3/schemas/common.d.ts +24 -24
  118. package/dist/esm/v3/schemas/common.js +1 -0
  119. package/dist/esm/v3/schemas/common.js.map +1 -1
  120. package/dist/esm/v3/schemas/fetch.d.ts +13 -13
  121. package/dist/esm/v3/schemas/messages.d.ts +6605 -4119
  122. package/dist/esm/v3/schemas/messages.js +23 -1
  123. package/dist/esm/v3/schemas/messages.js.map +1 -1
  124. package/dist/esm/v3/schemas/openTelemetry.d.ts +20 -20
  125. package/dist/esm/v3/schemas/resources.d.ts +52 -52
  126. package/dist/esm/v3/schemas/schemas.d.ts +485 -352
  127. package/dist/esm/v3/schemas/schemas.js +16 -0
  128. package/dist/esm/v3/schemas/schemas.js.map +1 -1
  129. package/dist/esm/v3/schemas/webhooks.d.ts +238 -238
  130. package/dist/esm/v3/semanticInternalAttributes.d.ts +1 -0
  131. package/dist/esm/v3/semanticInternalAttributes.js +1 -0
  132. package/dist/esm/v3/semanticInternalAttributes.js.map +1 -1
  133. package/dist/esm/v3/taskContext/index.js +1 -1
  134. package/dist/esm/v3/taskContext/index.js.map +1 -1
  135. package/dist/esm/v3/tracer.d.ts +10 -2
  136. package/dist/esm/v3/tracer.js +13 -4
  137. package/dist/esm/v3/tracer.js.map +1 -1
  138. package/dist/esm/v3/utils/flattenAttributes.js.map +1 -1
  139. package/dist/esm/v3/utils/globals.d.ts +2 -0
  140. package/dist/esm/v3/utils/globals.js.map +1 -1
  141. package/dist/esm/v3/workers/index.d.ts +1 -0
  142. package/dist/esm/v3/workers/index.js +1 -0
  143. package/dist/esm/v3/workers/index.js.map +1 -1
  144. package/dist/esm/v3/workers/taskExecutor.js +20 -10
  145. package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
  146. package/dist/esm/v3/zodMessageHandler.d.ts +2 -2
  147. package/dist/esm/v3/zodSocket.d.ts +2 -2
  148. package/dist/esm/v3/zodSocket.js +3 -2
  149. package/dist/esm/v3/zodSocket.js.map +1 -1
  150. package/dist/esm/version.js +1 -1
  151. package/package.json +1 -1
@@ -4,13 +4,13 @@ export declare const WhoAmIResponseSchema: z.ZodObject<{
4
4
  email: z.ZodString;
5
5
  dashboardUrl: z.ZodString;
6
6
  }, "strip", z.ZodTypeAny, {
7
- dashboardUrl: string;
8
7
  userId: string;
9
8
  email: string;
10
- }, {
11
9
  dashboardUrl: string;
10
+ }, {
12
11
  userId: string;
13
12
  email: string;
13
+ dashboardUrl: string;
14
14
  }>;
15
15
  export type WhoAmIResponse = z.infer<typeof WhoAmIResponseSchema>;
16
16
  export declare const GetProjectResponseBody: z.ZodObject<{
@@ -26,38 +26,38 @@ export declare const GetProjectResponseBody: z.ZodObject<{
26
26
  createdAt: z.ZodDate;
27
27
  }, "strip", z.ZodTypeAny, {
28
28
  id: string;
29
- slug: string;
30
29
  createdAt: Date;
30
+ slug: string;
31
31
  title: string;
32
32
  }, {
33
33
  id: string;
34
- slug: string;
35
34
  createdAt: Date;
35
+ slug: string;
36
36
  title: string;
37
37
  }>;
38
38
  }, "strip", z.ZodTypeAny, {
39
39
  name: string;
40
40
  id: string;
41
+ createdAt: Date;
41
42
  slug: string;
42
43
  organization: {
43
44
  id: string;
44
- slug: string;
45
45
  createdAt: Date;
46
+ slug: string;
46
47
  title: string;
47
48
  };
48
- createdAt: Date;
49
49
  externalRef: string;
50
50
  }, {
51
51
  name: string;
52
52
  id: string;
53
+ createdAt: Date;
53
54
  slug: string;
54
55
  organization: {
55
56
  id: string;
56
- slug: string;
57
57
  createdAt: Date;
58
+ slug: string;
58
59
  title: string;
59
60
  };
60
- createdAt: Date;
61
61
  externalRef: string;
62
62
  }>;
63
63
  export type GetProjectResponseBody = z.infer<typeof GetProjectResponseBody>;
@@ -74,38 +74,38 @@ export declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
74
74
  createdAt: z.ZodDate;
75
75
  }, "strip", z.ZodTypeAny, {
76
76
  id: string;
77
- slug: string;
78
77
  createdAt: Date;
78
+ slug: string;
79
79
  title: string;
80
80
  }, {
81
81
  id: string;
82
- slug: string;
83
82
  createdAt: Date;
83
+ slug: string;
84
84
  title: string;
85
85
  }>;
86
86
  }, "strip", z.ZodTypeAny, {
87
87
  name: string;
88
88
  id: string;
89
+ createdAt: Date;
89
90
  slug: string;
90
91
  organization: {
91
92
  id: string;
92
- slug: string;
93
93
  createdAt: Date;
94
+ slug: string;
94
95
  title: string;
95
96
  };
96
- createdAt: Date;
97
97
  externalRef: string;
98
98
  }, {
99
99
  name: string;
100
100
  id: string;
101
+ createdAt: Date;
101
102
  slug: string;
102
103
  organization: {
103
104
  id: string;
104
- slug: string;
105
105
  createdAt: Date;
106
+ slug: string;
106
107
  title: string;
107
108
  };
108
- createdAt: Date;
109
109
  externalRef: string;
110
110
  }>, "many">;
111
111
  export type GetProjectsResponseBody = z.infer<typeof GetProjectsResponseBody>;
@@ -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>;
@@ -208,17 +208,17 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
208
208
  id: string;
209
209
  filePath: string;
210
210
  exportName: string;
211
- triggerSource?: string | undefined;
212
- machine?: {
213
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
214
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
215
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
216
- } | undefined;
217
211
  maxDuration?: number | undefined;
218
212
  queue?: {
219
213
  name?: string | undefined;
220
214
  concurrencyLimit?: number | null | undefined;
221
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;
222
222
  retry?: {
223
223
  maxAttempts?: number | undefined;
224
224
  factor?: number | undefined;
@@ -229,7 +229,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
229
229
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
230
230
  } | undefined;
231
231
  } | undefined;
232
- description?: string | undefined;
232
+ triggerSource?: string | undefined;
233
233
  schedule?: {
234
234
  cron: string;
235
235
  timezone: string;
@@ -238,17 +238,17 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
238
238
  id: string;
239
239
  filePath: string;
240
240
  exportName: string;
241
- triggerSource?: string | undefined;
242
- machine?: {
243
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
244
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
245
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
246
- } | undefined;
247
241
  maxDuration?: number | undefined;
248
242
  queue?: {
249
243
  name?: string | undefined;
250
244
  concurrencyLimit?: number | null | undefined;
251
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;
252
252
  retry?: {
253
253
  maxAttempts?: number | undefined;
254
254
  factor?: number | undefined;
@@ -259,7 +259,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
259
259
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
260
260
  } | undefined;
261
261
  } | undefined;
262
- description?: string | undefined;
262
+ triggerSource?: string | undefined;
263
263
  schedule?: {
264
264
  cron: string;
265
265
  timezone: string;
@@ -282,21 +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
288
  filePath: string;
288
289
  exportName: string;
289
- triggerSource?: string | undefined;
290
- machine?: {
291
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
292
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
293
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
294
- } | undefined;
295
290
  maxDuration?: number | undefined;
296
291
  queue?: {
297
292
  name?: string | undefined;
298
293
  concurrencyLimit?: number | null | undefined;
299
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;
300
301
  retry?: {
301
302
  maxAttempts?: number | undefined;
302
303
  factor?: number | undefined;
@@ -307,13 +308,12 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
307
308
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
308
309
  } | undefined;
309
310
  } | undefined;
310
- description?: string | undefined;
311
+ triggerSource?: string | undefined;
311
312
  schedule?: {
312
313
  cron: string;
313
314
  timezone: string;
314
315
  } | undefined;
315
316
  }[];
316
- contentHash: string;
317
317
  packageVersion: string;
318
318
  cliPackageVersion?: string | undefined;
319
319
  sourceFiles?: {
@@ -323,21 +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
329
  filePath: string;
329
330
  exportName: string;
330
- triggerSource?: string | undefined;
331
- machine?: {
332
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
333
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
334
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
335
- } | undefined;
336
331
  maxDuration?: number | undefined;
337
332
  queue?: {
338
333
  name?: string | undefined;
339
334
  concurrencyLimit?: number | null | undefined;
340
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;
341
342
  retry?: {
342
343
  maxAttempts?: number | undefined;
343
344
  factor?: number | undefined;
@@ -348,13 +349,12 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
348
349
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
349
350
  } | undefined;
350
351
  } | undefined;
351
- description?: string | undefined;
352
+ triggerSource?: string | undefined;
352
353
  schedule?: {
353
354
  cron: string;
354
355
  timezone: string;
355
356
  } | undefined;
356
357
  }[];
357
- contentHash: string;
358
358
  packageVersion: string;
359
359
  cliPackageVersion?: string | undefined;
360
360
  sourceFiles?: {
@@ -367,21 +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
373
  filePath: string;
373
374
  exportName: string;
374
- triggerSource?: string | undefined;
375
- machine?: {
376
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
377
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
378
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
379
- } | undefined;
380
375
  maxDuration?: number | undefined;
381
376
  queue?: {
382
377
  name?: string | undefined;
383
378
  concurrencyLimit?: number | null | undefined;
384
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;
385
386
  retry?: {
386
387
  maxAttempts?: number | undefined;
387
388
  factor?: number | undefined;
@@ -392,13 +393,12 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
392
393
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
393
394
  } | undefined;
394
395
  } | undefined;
395
- description?: string | undefined;
396
+ triggerSource?: string | undefined;
396
397
  schedule?: {
397
398
  cron: string;
398
399
  timezone: string;
399
400
  } | undefined;
400
401
  }[];
401
- contentHash: string;
402
402
  packageVersion: string;
403
403
  cliPackageVersion?: string | undefined;
404
404
  sourceFiles?: {
@@ -412,21 +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
418
  filePath: string;
418
419
  exportName: string;
419
- triggerSource?: string | undefined;
420
- machine?: {
421
- cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
422
- memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
423
- preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
424
- } | undefined;
425
420
  maxDuration?: number | undefined;
426
421
  queue?: {
427
422
  name?: string | undefined;
428
423
  concurrencyLimit?: number | null | undefined;
429
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;
430
431
  retry?: {
431
432
  maxAttempts?: number | undefined;
432
433
  factor?: number | undefined;
@@ -437,13 +438,12 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
437
438
  machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
438
439
  } | undefined;
439
440
  } | undefined;
440
- description?: string | undefined;
441
+ triggerSource?: string | undefined;
441
442
  schedule?: {
442
443
  cron: string;
443
444
  timezone: string;
444
445
  } | undefined;
445
446
  }[];
446
- contentHash: string;
447
447
  packageVersion: string;
448
448
  cliPackageVersion?: string | undefined;
449
449
  sourceFiles?: {
@@ -506,10 +506,9 @@ 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
- idempotencyKey?: string | undefined;
510
- tags?: string | string[] | undefined;
511
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
512
509
  payloadType?: string | undefined;
510
+ tags?: string | string[] | undefined;
511
+ idempotencyKey?: string | undefined;
513
512
  maxAttempts?: number | undefined;
514
513
  metadata?: any;
515
514
  maxDuration?: number | undefined;
@@ -517,9 +516,10 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
517
516
  name?: string | undefined;
518
517
  concurrencyLimit?: number | null | undefined;
519
518
  } | undefined;
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,10 +529,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
529
529
  parentBatch?: string | undefined;
530
530
  test?: boolean | undefined;
531
531
  }, {
532
- idempotencyKey?: string | undefined;
533
- tags?: string | string[] | undefined;
534
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
535
532
  payloadType?: string | undefined;
533
+ tags?: string | string[] | undefined;
534
+ idempotencyKey?: string | undefined;
536
535
  maxAttempts?: number | undefined;
537
536
  metadata?: any;
538
537
  maxDuration?: number | undefined;
@@ -540,9 +539,10 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
540
539
  name?: string | undefined;
541
540
  concurrencyLimit?: number | null | undefined;
542
541
  } | undefined;
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,10 +554,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
554
554
  }>>;
555
555
  }, "strip", z.ZodTypeAny, {
556
556
  options?: {
557
- idempotencyKey?: string | undefined;
558
- tags?: string | string[] | undefined;
559
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
560
557
  payloadType?: string | undefined;
558
+ tags?: string | string[] | undefined;
559
+ idempotencyKey?: string | undefined;
561
560
  maxAttempts?: number | undefined;
562
561
  metadata?: any;
563
562
  maxDuration?: number | undefined;
@@ -565,9 +564,10 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
565
564
  name?: string | undefined;
566
565
  concurrencyLimit?: number | null | undefined;
567
566
  } | undefined;
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,10 +581,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
581
581
  context?: any;
582
582
  }, {
583
583
  options?: {
584
- idempotencyKey?: string | undefined;
585
- tags?: string | string[] | undefined;
586
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
587
584
  payloadType?: string | undefined;
585
+ tags?: string | string[] | undefined;
586
+ idempotencyKey?: string | undefined;
588
587
  maxAttempts?: number | undefined;
589
588
  metadata?: any;
590
589
  maxDuration?: number | undefined;
@@ -592,9 +591,10 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
592
591
  name?: string | undefined;
593
592
  concurrencyLimit?: number | null | undefined;
594
593
  } | undefined;
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,10 +650,9 @@ 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
- idempotencyKey?: string | undefined;
654
- tags?: string | string[] | undefined;
655
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
656
653
  payloadType?: string | undefined;
654
+ tags?: string | string[] | undefined;
655
+ idempotencyKey?: string | undefined;
657
656
  maxAttempts?: number | undefined;
658
657
  metadata?: any;
659
658
  maxDuration?: number | undefined;
@@ -661,9 +660,10 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
661
660
  name?: string | undefined;
662
661
  concurrencyLimit?: number | null | undefined;
663
662
  } | undefined;
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,10 +673,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
673
673
  parentBatch?: string | undefined;
674
674
  test?: boolean | undefined;
675
675
  }, {
676
- idempotencyKey?: string | undefined;
677
- tags?: string | string[] | undefined;
678
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
679
676
  payloadType?: string | undefined;
677
+ tags?: string | string[] | undefined;
678
+ idempotencyKey?: string | undefined;
680
679
  maxAttempts?: number | undefined;
681
680
  metadata?: any;
682
681
  maxDuration?: number | undefined;
@@ -684,9 +683,10 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
684
683
  name?: string | undefined;
685
684
  concurrencyLimit?: number | null | undefined;
686
685
  } | undefined;
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,10 +698,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
698
698
  }>>;
699
699
  }, "strip", z.ZodTypeAny, {
700
700
  options?: {
701
- idempotencyKey?: string | undefined;
702
- tags?: string | string[] | undefined;
703
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
704
701
  payloadType?: string | undefined;
702
+ tags?: string | string[] | undefined;
703
+ idempotencyKey?: string | undefined;
705
704
  maxAttempts?: number | undefined;
706
705
  metadata?: any;
707
706
  maxDuration?: number | undefined;
@@ -709,9 +708,10 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
709
708
  name?: string | undefined;
710
709
  concurrencyLimit?: number | null | undefined;
711
710
  } | undefined;
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,10 +725,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
725
725
  context?: any;
726
726
  }, {
727
727
  options?: {
728
- idempotencyKey?: string | undefined;
729
- tags?: string | string[] | undefined;
730
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
731
728
  payloadType?: string | undefined;
729
+ tags?: string | string[] | undefined;
730
+ idempotencyKey?: string | undefined;
732
731
  maxAttempts?: number | undefined;
733
732
  metadata?: any;
734
733
  maxDuration?: number | undefined;
@@ -736,9 +735,10 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
736
735
  name?: string | undefined;
737
736
  concurrencyLimit?: number | null | undefined;
738
737
  } | undefined;
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,10 +755,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
755
755
  }, "strip", z.ZodTypeAny, {
756
756
  items: {
757
757
  options?: {
758
- idempotencyKey?: string | undefined;
759
- tags?: string | string[] | undefined;
760
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
761
758
  payloadType?: string | undefined;
759
+ tags?: string | string[] | undefined;
760
+ idempotencyKey?: string | undefined;
762
761
  maxAttempts?: number | undefined;
763
762
  metadata?: any;
764
763
  maxDuration?: number | undefined;
@@ -766,9 +765,10 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
766
765
  name?: string | undefined;
767
766
  concurrencyLimit?: number | null | undefined;
768
767
  } | undefined;
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,10 +785,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
785
785
  }, {
786
786
  items: {
787
787
  options?: {
788
- idempotencyKey?: string | undefined;
789
- tags?: string | string[] | undefined;
790
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
791
788
  payloadType?: string | undefined;
789
+ tags?: string | string[] | undefined;
790
+ idempotencyKey?: string | undefined;
792
791
  maxAttempts?: number | undefined;
793
792
  metadata?: any;
794
793
  maxDuration?: number | undefined;
@@ -796,9 +795,10 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
796
795
  name?: string | undefined;
797
796
  concurrencyLimit?: number | null | undefined;
798
797
  } | undefined;
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,10 +845,9 @@ 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
- idempotencyKey?: string | undefined;
849
- tags?: string | string[] | undefined;
850
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
851
848
  payloadType?: string | undefined;
849
+ tags?: string | string[] | undefined;
850
+ idempotencyKey?: string | undefined;
852
851
  maxAttempts?: number | undefined;
853
852
  metadata?: any;
854
853
  maxDuration?: number | undefined;
@@ -856,19 +855,19 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
856
855
  name?: string | undefined;
857
856
  concurrencyLimit?: number | null | undefined;
858
857
  } | undefined;
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
- idempotencyKey?: string | undefined;
869
- tags?: string | string[] | undefined;
870
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
871
868
  payloadType?: string | undefined;
869
+ tags?: string | string[] | undefined;
870
+ idempotencyKey?: string | undefined;
872
871
  maxAttempts?: number | undefined;
873
872
  metadata?: any;
874
873
  maxDuration?: number | undefined;
@@ -876,9 +875,10 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
876
875
  name?: string | undefined;
877
876
  concurrencyLimit?: number | null | undefined;
878
877
  } | undefined;
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,10 +888,9 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
888
888
  }, "strip", z.ZodTypeAny, {
889
889
  task: string;
890
890
  options?: {
891
- idempotencyKey?: string | undefined;
892
- tags?: string | string[] | undefined;
893
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
894
891
  payloadType?: string | undefined;
892
+ tags?: string | string[] | undefined;
893
+ idempotencyKey?: string | undefined;
895
894
  maxAttempts?: number | undefined;
896
895
  metadata?: any;
897
896
  maxDuration?: number | undefined;
@@ -899,9 +898,10 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
899
898
  name?: string | undefined;
900
899
  concurrencyLimit?: number | null | undefined;
901
900
  } | undefined;
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,10 +913,9 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
913
913
  }, {
914
914
  task: string;
915
915
  options?: {
916
- idempotencyKey?: string | undefined;
917
- tags?: string | string[] | undefined;
918
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
919
916
  payloadType?: string | undefined;
917
+ tags?: string | string[] | undefined;
918
+ idempotencyKey?: string | undefined;
920
919
  maxAttempts?: number | undefined;
921
920
  metadata?: any;
922
921
  maxDuration?: number | undefined;
@@ -924,9 +923,10 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
924
923
  name?: string | undefined;
925
924
  concurrencyLimit?: number | null | undefined;
926
925
  } | undefined;
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,10 +969,9 @@ 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
- idempotencyKey?: string | undefined;
973
- tags?: string | string[] | undefined;
974
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
975
972
  payloadType?: string | undefined;
973
+ tags?: string | string[] | undefined;
974
+ idempotencyKey?: string | undefined;
976
975
  maxAttempts?: number | undefined;
977
976
  metadata?: any;
978
977
  maxDuration?: number | undefined;
@@ -980,19 +979,19 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
980
979
  name?: string | undefined;
981
980
  concurrencyLimit?: number | null | undefined;
982
981
  } | undefined;
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
- idempotencyKey?: string | undefined;
993
- tags?: string | string[] | undefined;
994
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
995
992
  payloadType?: string | undefined;
993
+ tags?: string | string[] | undefined;
994
+ idempotencyKey?: string | undefined;
996
995
  maxAttempts?: number | undefined;
997
996
  metadata?: any;
998
997
  maxDuration?: number | undefined;
@@ -1000,9 +999,10 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1000
999
  name?: string | undefined;
1001
1000
  concurrencyLimit?: number | null | undefined;
1002
1001
  } | undefined;
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,10 +1012,9 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1012
1012
  }, "strip", z.ZodTypeAny, {
1013
1013
  task: string;
1014
1014
  options?: {
1015
- idempotencyKey?: string | undefined;
1016
- tags?: string | string[] | undefined;
1017
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1018
1015
  payloadType?: string | undefined;
1016
+ tags?: string | string[] | undefined;
1017
+ idempotencyKey?: string | undefined;
1019
1018
  maxAttempts?: number | undefined;
1020
1019
  metadata?: any;
1021
1020
  maxDuration?: number | undefined;
@@ -1023,9 +1022,10 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1023
1022
  name?: string | undefined;
1024
1023
  concurrencyLimit?: number | null | undefined;
1025
1024
  } | undefined;
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,10 +1037,9 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1037
1037
  }, {
1038
1038
  task: string;
1039
1039
  options?: {
1040
- idempotencyKey?: string | undefined;
1041
- tags?: string | string[] | undefined;
1042
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1043
1040
  payloadType?: string | undefined;
1041
+ tags?: string | string[] | undefined;
1042
+ idempotencyKey?: string | undefined;
1044
1043
  maxAttempts?: number | undefined;
1045
1044
  metadata?: any;
1046
1045
  maxDuration?: number | undefined;
@@ -1048,9 +1047,10 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1048
1047
  name?: string | undefined;
1049
1048
  concurrencyLimit?: number | null | undefined;
1050
1049
  } | undefined;
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,10 +1065,9 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1065
1065
  items: {
1066
1066
  task: string;
1067
1067
  options?: {
1068
- idempotencyKey?: string | undefined;
1069
- tags?: string | string[] | undefined;
1070
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1071
1068
  payloadType?: string | undefined;
1069
+ tags?: string | string[] | undefined;
1070
+ idempotencyKey?: string | undefined;
1072
1071
  maxAttempts?: number | undefined;
1073
1072
  metadata?: any;
1074
1073
  maxDuration?: number | undefined;
@@ -1076,9 +1075,10 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1076
1075
  name?: string | undefined;
1077
1076
  concurrencyLimit?: number | null | undefined;
1078
1077
  } | undefined;
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,10 +1093,9 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1093
1093
  items: {
1094
1094
  task: string;
1095
1095
  options?: {
1096
- idempotencyKey?: string | undefined;
1097
- tags?: string | string[] | undefined;
1098
- machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
1099
1096
  payloadType?: string | undefined;
1097
+ tags?: string | string[] | undefined;
1098
+ idempotencyKey?: string | undefined;
1100
1099
  maxAttempts?: number | undefined;
1101
1100
  metadata?: any;
1102
1101
  maxDuration?: number | undefined;
@@ -1104,9 +1103,10 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
1104
1103
  name?: string | undefined;
1105
1104
  concurrencyLimit?: number | null | undefined;
1106
1105
  } | undefined;
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;
@@ -1300,9 +1300,9 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
1300
1300
  }, "strip", z.ZodTypeAny, {
1301
1301
  id: string;
1302
1302
  version: string;
1303
- shortCode: string;
1304
1303
  contentHash: string;
1305
1304
  imageTag: string;
1305
+ shortCode: string;
1306
1306
  externalBuildData?: {
1307
1307
  projectId: string;
1308
1308
  buildId: string;
@@ -1312,9 +1312,9 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
1312
1312
  }, {
1313
1313
  id: string;
1314
1314
  version: string;
1315
- shortCode: string;
1316
1315
  contentHash: string;
1317
1316
  imageTag: string;
1317
+ shortCode: string;
1318
1318
  externalBuildData?: {
1319
1319
  projectId: string;
1320
1320
  buildId: string;
@@ -1434,48 +1434,48 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1434
1434
  exportName: z.ZodString;
1435
1435
  }, "strip", z.ZodTypeAny, {
1436
1436
  id: string;
1437
- slug: string;
1438
1437
  filePath: string;
1439
1438
  exportName: string;
1439
+ slug: string;
1440
1440
  }, {
1441
1441
  id: string;
1442
- slug: string;
1443
1442
  filePath: string;
1444
1443
  exportName: string;
1444
+ slug: string;
1445
1445
  }>, "many">;
1446
1446
  }, "strip", z.ZodTypeAny, {
1447
1447
  id: string;
1448
1448
  version: string;
1449
1449
  tasks: {
1450
1450
  id: string;
1451
- slug: string;
1452
1451
  filePath: string;
1453
1452
  exportName: string;
1453
+ slug: string;
1454
1454
  }[];
1455
1455
  }, {
1456
1456
  id: string;
1457
1457
  version: string;
1458
1458
  tasks: {
1459
1459
  id: string;
1460
- slug: string;
1461
1460
  filePath: string;
1462
1461
  exportName: string;
1462
+ slug: string;
1463
1463
  }[];
1464
1464
  }>>;
1465
1465
  }, "strip", z.ZodTypeAny, {
1466
1466
  status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1467
1467
  id: string;
1468
1468
  version: string;
1469
- shortCode: string;
1470
1469
  contentHash: string;
1470
+ shortCode: string;
1471
1471
  worker?: {
1472
1472
  id: string;
1473
1473
  version: string;
1474
1474
  tasks: {
1475
1475
  id: string;
1476
- slug: string;
1477
1476
  filePath: string;
1478
1477
  exportName: string;
1478
+ slug: string;
1479
1479
  }[];
1480
1480
  } | undefined;
1481
1481
  imageReference?: string | null | undefined;
@@ -1489,16 +1489,16 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1489
1489
  status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
1490
1490
  id: string;
1491
1491
  version: string;
1492
- shortCode: string;
1493
1492
  contentHash: string;
1493
+ shortCode: string;
1494
1494
  worker?: {
1495
1495
  id: string;
1496
1496
  version: string;
1497
1497
  tasks: {
1498
1498
  id: string;
1499
- slug: string;
1500
1499
  filePath: string;
1501
1500
  exportName: string;
1501
+ slug: string;
1502
1502
  }[];
1503
1503
  } | undefined;
1504
1504
  imageReference?: string | 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;
@@ -1747,12 +1747,12 @@ export declare const ScheduleObject: z.ZodObject<{
1747
1747
  id: string;
1748
1748
  task: string;
1749
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
1757
  type: string;
1758
1758
  id: string;
@@ -1766,12 +1766,12 @@ export declare const ScheduleObject: z.ZodObject<{
1766
1766
  id: string;
1767
1767
  task: string;
1768
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
1776
  type: string;
1777
1777
  id: string;
@@ -1831,12 +1831,12 @@ export declare const ListSchedulesResult: z.ZodObject<{
1831
1831
  id: string;
1832
1832
  task: string;
1833
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
1841
  type: string;
1842
1842
  id: string;
@@ -1850,12 +1850,12 @@ export declare const ListSchedulesResult: z.ZodObject<{
1850
1850
  id: string;
1851
1851
  task: string;
1852
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
1860
  type: string;
1861
1861
  id: string;
@@ -1884,12 +1884,12 @@ export declare const ListSchedulesResult: z.ZodObject<{
1884
1884
  id: string;
1885
1885
  task: string;
1886
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
1894
  type: string;
1895
1895
  id: string;
@@ -1910,12 +1910,12 @@ export declare const ListSchedulesResult: z.ZodObject<{
1910
1910
  id: string;
1911
1911
  task: string;
1912
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
1920
  type: string;
1921
1921
  id: string;
@@ -2039,9 +2039,9 @@ export declare const RelatedRunDetails: z.ZodObject<{
2039
2039
  }, "strip", z.ZodTypeAny, {
2040
2040
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2041
2041
  id: string;
2042
- createdAt: Date;
2043
- isTest: boolean;
2044
2042
  tags: string[];
2043
+ isTest: boolean;
2044
+ createdAt: Date;
2045
2045
  durationMs: number;
2046
2046
  costInCents: number;
2047
2047
  baseCostInCents: number;
@@ -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;
@@ -2067,9 +2067,9 @@ export declare const RelatedRunDetails: z.ZodObject<{
2067
2067
  }, {
2068
2068
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2069
2069
  id: string;
2070
- createdAt: Date;
2071
- isTest: boolean;
2072
2070
  tags: string[];
2071
+ isTest: boolean;
2072
+ createdAt: Date;
2073
2073
  durationMs: number;
2074
2074
  costInCents: number;
2075
2075
  baseCostInCents: number;
@@ -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;
@@ -2179,9 +2179,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2179
2179
  }, "strip", z.ZodTypeAny, {
2180
2180
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2181
2181
  id: string;
2182
- createdAt: Date;
2183
- isTest: boolean;
2184
2182
  tags: string[];
2183
+ isTest: boolean;
2184
+ createdAt: Date;
2185
2185
  durationMs: number;
2186
2186
  costInCents: number;
2187
2187
  baseCostInCents: number;
@@ -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;
@@ -2207,9 +2207,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2207
2207
  }, {
2208
2208
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2209
2209
  id: string;
2210
- createdAt: Date;
2211
- isTest: boolean;
2212
2210
  tags: string[];
2211
+ isTest: boolean;
2212
+ createdAt: Date;
2213
2213
  durationMs: number;
2214
2214
  costInCents: number;
2215
2215
  baseCostInCents: number;
@@ -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;
@@ -2264,9 +2264,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2264
2264
  }, "strip", z.ZodTypeAny, {
2265
2265
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2266
2266
  id: string;
2267
- createdAt: Date;
2268
- isTest: boolean;
2269
2267
  tags: string[];
2268
+ isTest: boolean;
2269
+ createdAt: Date;
2270
2270
  durationMs: number;
2271
2271
  costInCents: number;
2272
2272
  baseCostInCents: number;
@@ -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;
@@ -2292,9 +2292,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2292
2292
  }, {
2293
2293
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2294
2294
  id: string;
2295
- createdAt: Date;
2296
- isTest: boolean;
2297
2295
  tags: string[];
2296
+ isTest: boolean;
2297
+ createdAt: Date;
2298
2298
  durationMs: number;
2299
2299
  costInCents: number;
2300
2300
  baseCostInCents: number;
@@ -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;
@@ -2349,9 +2349,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2349
2349
  }, "strip", z.ZodTypeAny, {
2350
2350
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2351
2351
  id: string;
2352
- createdAt: Date;
2353
- isTest: boolean;
2354
2352
  tags: string[];
2353
+ isTest: boolean;
2354
+ createdAt: Date;
2355
2355
  durationMs: number;
2356
2356
  costInCents: number;
2357
2357
  baseCostInCents: number;
@@ -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;
@@ -2377,9 +2377,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2377
2377
  }, {
2378
2378
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2379
2379
  id: string;
2380
- createdAt: Date;
2381
- isTest: boolean;
2382
2380
  tags: string[];
2381
+ isTest: boolean;
2382
+ createdAt: Date;
2383
2383
  durationMs: number;
2384
2384
  costInCents: number;
2385
2385
  baseCostInCents: number;
@@ -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;
@@ -2407,9 +2407,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2407
2407
  root?: {
2408
2408
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2409
2409
  id: string;
2410
- createdAt: Date;
2411
- isTest: boolean;
2412
2410
  tags: string[];
2411
+ isTest: boolean;
2412
+ createdAt: Date;
2413
2413
  durationMs: number;
2414
2414
  costInCents: number;
2415
2415
  baseCostInCents: number;
@@ -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;
@@ -2436,9 +2436,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2436
2436
  parent?: {
2437
2437
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2438
2438
  id: string;
2439
- createdAt: Date;
2440
- isTest: boolean;
2441
2439
  tags: string[];
2440
+ isTest: boolean;
2441
+ createdAt: Date;
2442
2442
  durationMs: number;
2443
2443
  costInCents: number;
2444
2444
  baseCostInCents: number;
@@ -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;
@@ -2465,9 +2465,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2465
2465
  children?: {
2466
2466
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2467
2467
  id: string;
2468
- createdAt: Date;
2469
- isTest: boolean;
2470
2468
  tags: string[];
2469
+ isTest: boolean;
2470
+ createdAt: Date;
2471
2471
  durationMs: number;
2472
2472
  costInCents: number;
2473
2473
  baseCostInCents: number;
@@ -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;
@@ -2495,9 +2495,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2495
2495
  root?: {
2496
2496
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2497
2497
  id: string;
2498
- createdAt: Date;
2499
- isTest: boolean;
2500
2498
  tags: string[];
2499
+ isTest: boolean;
2500
+ createdAt: Date;
2501
2501
  durationMs: number;
2502
2502
  costInCents: number;
2503
2503
  baseCostInCents: number;
@@ -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;
@@ -2524,9 +2524,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2524
2524
  parent?: {
2525
2525
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2526
2526
  id: string;
2527
- createdAt: Date;
2528
- isTest: boolean;
2529
2527
  tags: string[];
2528
+ isTest: boolean;
2529
+ createdAt: Date;
2530
2530
  durationMs: number;
2531
2531
  costInCents: number;
2532
2532
  baseCostInCents: number;
@@ -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;
@@ -2553,9 +2553,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2553
2553
  children?: {
2554
2554
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2555
2555
  id: string;
2556
- createdAt: Date;
2557
- isTest: boolean;
2558
2556
  tags: string[];
2557
+ isTest: boolean;
2558
+ createdAt: Date;
2559
2559
  durationMs: number;
2560
2560
  costInCents: number;
2561
2561
  baseCostInCents: number;
@@ -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;
@@ -2605,24 +2605,24 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2605
2605
  id: string;
2606
2606
  createdAt: Date;
2607
2607
  updatedAt: Date;
2608
+ startedAt?: Date | undefined;
2608
2609
  error?: {
2609
2610
  message: string;
2610
2611
  name?: string | undefined;
2611
2612
  stackTrace?: string | undefined;
2612
2613
  } | undefined;
2613
- startedAt?: Date | undefined;
2614
2614
  completedAt?: Date | undefined;
2615
2615
  }, {
2616
2616
  status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
2617
2617
  id: string;
2618
2618
  createdAt: Date;
2619
2619
  updatedAt: Date;
2620
+ startedAt?: Date | undefined;
2620
2621
  error?: {
2621
2622
  message: string;
2622
2623
  name?: string | undefined;
2623
2624
  stackTrace?: string | undefined;
2624
2625
  } | undefined;
2625
- startedAt?: Date | undefined;
2626
2626
  completedAt?: Date | undefined;
2627
2627
  }>>, "many">;
2628
2628
  attemptCount: z.ZodDefault<z.ZodNumber>;
@@ -2656,20 +2656,21 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2656
2656
  }, "strip", z.ZodTypeAny, {
2657
2657
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2658
2658
  id: string;
2659
- createdAt: Date;
2660
- isTest: boolean;
2661
2659
  tags: string[];
2660
+ isTest: boolean;
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
2669
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2669
2670
  id: string;
2670
- createdAt: Date;
2671
- isTest: boolean;
2672
2671
  tags: string[];
2672
+ isTest: boolean;
2673
+ createdAt: Date;
2673
2674
  durationMs: number;
2674
2675
  costInCents: number;
2675
2676
  baseCostInCents: number;
@@ -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;
@@ -2696,9 +2697,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2696
2697
  parent?: {
2697
2698
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2698
2699
  id: string;
2699
- createdAt: Date;
2700
- isTest: boolean;
2701
2700
  tags: string[];
2701
+ isTest: boolean;
2702
+ createdAt: Date;
2702
2703
  durationMs: number;
2703
2704
  costInCents: number;
2704
2705
  baseCostInCents: number;
@@ -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;
@@ -2725,9 +2726,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2725
2726
  children?: {
2726
2727
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2727
2728
  id: string;
2728
- createdAt: Date;
2729
- isTest: boolean;
2730
2729
  tags: string[];
2730
+ isTest: boolean;
2731
+ createdAt: Date;
2731
2732
  durationMs: number;
2732
2733
  costInCents: number;
2733
2734
  baseCostInCents: number;
@@ -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;
@@ -2766,27 +2767,19 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2766
2767
  id: string;
2767
2768
  createdAt: Date;
2768
2769
  updatedAt: Date;
2770
+ startedAt?: Date | undefined;
2769
2771
  error?: {
2770
2772
  message: string;
2771
2773
  name?: string | undefined;
2772
2774
  stackTrace?: string | undefined;
2773
2775
  } | undefined;
2774
- startedAt?: Date | undefined;
2775
2776
  completedAt?: Date | undefined;
2776
2777
  } | undefined)[];
2777
- attemptCount: number;
2778
- version?: string | undefined;
2779
- error?: {
2780
- message: string;
2781
- name?: string | undefined;
2782
- stackTrace?: string | undefined;
2783
- } | undefined;
2784
2778
  startedAt?: Date | undefined;
2785
- idempotencyKey?: string | undefined;
2786
- output?: any;
2787
2779
  payload?: any;
2780
+ idempotencyKey?: string | undefined;
2781
+ version?: string | undefined;
2788
2782
  metadata?: Record<string, any> | undefined;
2789
- ttl?: string | undefined;
2790
2783
  schedule?: {
2791
2784
  id: string;
2792
2785
  generator: {
@@ -2797,6 +2790,13 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2797
2790
  externalId?: string | undefined;
2798
2791
  deduplicationKey?: string | undefined;
2799
2792
  } | undefined;
2793
+ error?: {
2794
+ message: string;
2795
+ name?: string | undefined;
2796
+ stackTrace?: string | undefined;
2797
+ } | undefined;
2798
+ output?: any;
2799
+ ttl?: string | undefined;
2800
2800
  payloadPresignedUrl?: string | undefined;
2801
2801
  outputPresignedUrl?: string | undefined;
2802
2802
  batchId?: string | undefined;
@@ -2806,9 +2806,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2806
2806
  }, {
2807
2807
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2808
2808
  id: string;
2809
- createdAt: Date;
2810
- isTest: boolean;
2811
2809
  tags: string[];
2810
+ isTest: boolean;
2811
+ createdAt: Date;
2812
2812
  durationMs: number;
2813
2813
  costInCents: number;
2814
2814
  baseCostInCents: number;
@@ -2817,9 +2817,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2817
2817
  root?: {
2818
2818
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2819
2819
  id: string;
2820
- createdAt: Date;
2821
- isTest: boolean;
2822
2820
  tags: string[];
2821
+ isTest: boolean;
2822
+ createdAt: Date;
2823
2823
  durationMs: number;
2824
2824
  costInCents: number;
2825
2825
  baseCostInCents: number;
@@ -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;
@@ -2846,9 +2846,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2846
2846
  parent?: {
2847
2847
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2848
2848
  id: string;
2849
- createdAt: Date;
2850
- isTest: boolean;
2851
2849
  tags: string[];
2850
+ isTest: boolean;
2851
+ createdAt: Date;
2852
2852
  durationMs: number;
2853
2853
  costInCents: number;
2854
2854
  baseCostInCents: number;
@@ -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;
@@ -2875,9 +2875,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2875
2875
  children?: {
2876
2876
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2877
2877
  id: string;
2878
- createdAt: Date;
2879
- isTest: boolean;
2880
2878
  tags: string[];
2879
+ isTest: boolean;
2880
+ createdAt: Date;
2881
2881
  durationMs: number;
2882
2882
  costInCents: number;
2883
2883
  baseCostInCents: number;
@@ -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;
@@ -2916,26 +2916,19 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2916
2916
  id: string;
2917
2917
  createdAt: Date;
2918
2918
  updatedAt: Date;
2919
+ startedAt?: Date | undefined;
2919
2920
  error?: {
2920
2921
  message: string;
2921
2922
  name?: string | undefined;
2922
2923
  stackTrace?: string | undefined;
2923
2924
  } | undefined;
2924
- startedAt?: Date | undefined;
2925
2925
  completedAt?: Date | undefined;
2926
2926
  } | undefined)[];
2927
- version?: string | undefined;
2928
- error?: {
2929
- message: string;
2930
- name?: string | undefined;
2931
- stackTrace?: string | undefined;
2932
- } | undefined;
2933
2927
  startedAt?: Date | undefined;
2934
- idempotencyKey?: string | undefined;
2935
- output?: any;
2936
2928
  payload?: any;
2929
+ idempotencyKey?: string | undefined;
2930
+ version?: string | undefined;
2937
2931
  metadata?: Record<string, any> | undefined;
2938
- ttl?: string | undefined;
2939
2932
  schedule?: {
2940
2933
  id: string;
2941
2934
  generator: {
@@ -2946,13 +2939,20 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2946
2939
  externalId?: string | undefined;
2947
2940
  deduplicationKey?: string | undefined;
2948
2941
  } | undefined;
2942
+ attemptCount?: number | undefined;
2943
+ error?: {
2944
+ message: string;
2945
+ name?: string | undefined;
2946
+ stackTrace?: string | undefined;
2947
+ } | undefined;
2948
+ output?: any;
2949
+ ttl?: string | undefined;
2949
2950
  payloadPresignedUrl?: string | undefined;
2950
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<{
@@ -2996,9 +2996,9 @@ export declare const ListRunResponseItem: z.ZodObject<{
2996
2996
  }, "strip", z.ZodTypeAny, {
2997
2997
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
2998
2998
  id: string;
2999
- createdAt: Date;
3000
- isTest: boolean;
3001
2999
  tags: string[];
3000
+ isTest: boolean;
3001
+ createdAt: Date;
3002
3002
  durationMs: number;
3003
3003
  costInCents: number;
3004
3004
  baseCostInCents: number;
@@ -3015,9 +3015,9 @@ export declare const ListRunResponseItem: z.ZodObject<{
3015
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;
@@ -3026,9 +3026,9 @@ export declare const ListRunResponseItem: z.ZodObject<{
3026
3026
  }, {
3027
3027
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3028
3028
  id: string;
3029
- createdAt: Date;
3030
- isTest: boolean;
3031
3029
  tags: string[];
3030
+ isTest: boolean;
3031
+ createdAt: Date;
3032
3032
  durationMs: number;
3033
3033
  costInCents: number;
3034
3034
  baseCostInCents: number;
@@ -3045,9 +3045,9 @@ export declare const ListRunResponseItem: z.ZodObject<{
3045
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;
@@ -3097,9 +3097,9 @@ export declare const ListRunResponse: z.ZodObject<{
3097
3097
  }, "strip", z.ZodTypeAny, {
3098
3098
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3099
3099
  id: string;
3100
- createdAt: Date;
3101
- isTest: boolean;
3102
3100
  tags: string[];
3101
+ isTest: boolean;
3102
+ createdAt: Date;
3103
3103
  durationMs: number;
3104
3104
  costInCents: number;
3105
3105
  baseCostInCents: number;
@@ -3116,9 +3116,9 @@ export declare const ListRunResponse: z.ZodObject<{
3116
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;
@@ -3127,9 +3127,9 @@ export declare const ListRunResponse: z.ZodObject<{
3127
3127
  }, {
3128
3128
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3129
3129
  id: string;
3130
- createdAt: Date;
3131
- isTest: boolean;
3132
3130
  tags: string[];
3131
+ isTest: boolean;
3132
+ createdAt: Date;
3133
3133
  durationMs: number;
3134
3134
  costInCents: number;
3135
3135
  baseCostInCents: number;
@@ -3146,9 +3146,9 @@ export declare const ListRunResponse: z.ZodObject<{
3146
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;
@@ -3169,9 +3169,9 @@ export declare const ListRunResponse: z.ZodObject<{
3169
3169
  data: {
3170
3170
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3171
3171
  id: string;
3172
- createdAt: Date;
3173
- isTest: boolean;
3174
3172
  tags: string[];
3173
+ isTest: boolean;
3174
+ createdAt: Date;
3175
3175
  durationMs: number;
3176
3176
  costInCents: number;
3177
3177
  baseCostInCents: number;
@@ -3188,9 +3188,9 @@ export declare const ListRunResponse: z.ZodObject<{
3188
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;
@@ -3205,9 +3205,9 @@ export declare const ListRunResponse: z.ZodObject<{
3205
3205
  data: {
3206
3206
  status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3207
3207
  id: string;
3208
- createdAt: Date;
3209
- isTest: boolean;
3210
3208
  tags: string[];
3209
+ isTest: boolean;
3210
+ createdAt: Date;
3211
3211
  durationMs: number;
3212
3212
  costInCents: number;
3213
3213
  baseCostInCents: number;
@@ -3224,9 +3224,9 @@ export declare const ListRunResponse: z.ZodObject<{
3224
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;
@@ -3722,16 +3722,16 @@ 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";
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";
3730
3730
  type: "INTERNAL_ERROR";
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";
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";
3735
3735
  type: "INTERNAL_ERROR";
3736
3736
  message?: string | undefined;
3737
3737
  stackTrace?: string | undefined;
@@ -3740,15 +3740,20 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3740
3740
  number: number;
3741
3741
  status: string;
3742
3742
  id: string;
3743
- createdAt: Date;
3744
3743
  isTest: boolean;
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
+ startedAt?: string | Date | null | undefined;
3753
+ payload?: string | null | undefined;
3754
+ payloadType?: string | null | undefined;
3755
+ idempotencyKey?: string | null | undefined;
3756
+ metadata?: string | null | undefined;
3752
3757
  error?: {
3753
3758
  name: string;
3754
3759
  message: string;
@@ -3761,36 +3766,36 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3761
3766
  type: "STRING_ERROR";
3762
3767
  raw: string;
3763
3768
  } | {
3764
- 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";
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";
3765
3770
  type: "INTERNAL_ERROR";
3766
3771
  message?: string | undefined;
3767
3772
  stackTrace?: string | undefined;
3768
3773
  } | null | undefined;
3769
- startedAt?: string | Date | null | undefined;
3770
- completedAt?: string | Date | null | undefined;
3771
- idempotencyKey?: string | null | undefined;
3772
3774
  output?: string | null | undefined;
3773
- payload?: string | null | undefined;
3774
- payloadType?: string | null | undefined;
3775
- metadata?: string | null | undefined;
3775
+ outputType?: string | null | undefined;
3776
3776
  ttl?: string | null | undefined;
3777
3777
  expiredAt?: string | Date | null | undefined;
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
3784
  status: string;
3785
3785
  id: string;
3786
- createdAt: string;
3787
3786
  isTest: boolean;
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
+ startedAt?: string | null | undefined;
3795
+ payload?: string | null | undefined;
3796
+ payloadType?: string | null | undefined;
3797
+ idempotencyKey?: string | null | undefined;
3798
+ metadata?: string | null | undefined;
3794
3799
  error?: {
3795
3800
  name: string;
3796
3801
  message: string;
@@ -3803,24 +3808,19 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
3803
3808
  type: "STRING_ERROR";
3804
3809
  raw: string;
3805
3810
  } | {
3806
- 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";
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";
3807
3812
  type: "INTERNAL_ERROR";
3808
3813
  message?: string | undefined;
3809
3814
  stackTrace?: string | undefined;
3810
3815
  } | null | undefined;
3811
- startedAt?: string | null | undefined;
3812
- completedAt?: string | null | undefined;
3813
- idempotencyKey?: string | null | undefined;
3814
3816
  output?: string | null | undefined;
3815
- payload?: string | null | undefined;
3816
- payloadType?: string | null | undefined;
3817
- metadata?: string | null | undefined;
3817
+ outputType?: string | null | undefined;
3818
3818
  ttl?: string | null | undefined;
3819
3819
  expiredAt?: string | null | undefined;
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>;