@trigger.dev/core 0.0.0-prerelease-20250110154019 → 0.0.0-prerelease-20250116155306
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.
- package/dist/commonjs/schemas/api.d.ts +2137 -2137
- package/dist/commonjs/schemas/events.d.ts +8 -8
- package/dist/commonjs/schemas/fetch.d.ts +54 -54
- package/dist/commonjs/schemas/integrations.d.ts +4 -4
- package/dist/commonjs/schemas/notifications.d.ts +80 -80
- package/dist/commonjs/schemas/properties.d.ts +4 -4
- package/dist/commonjs/schemas/request.d.ts +4 -4
- package/dist/commonjs/schemas/requestFilter.d.ts +2 -2
- package/dist/commonjs/schemas/runs.d.ts +39 -39
- package/dist/commonjs/schemas/schedules.d.ts +12 -12
- package/dist/commonjs/schemas/statuses.d.ts +24 -24
- package/dist/commonjs/schemas/tasks.d.ts +54 -54
- package/dist/commonjs/schemas/triggers.d.ts +36 -36
- package/dist/commonjs/v3/apiClient/index.d.ts +114 -111
- package/dist/commonjs/v3/apiClient/index.js +3 -0
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/apiClient/runStream.d.ts +1 -0
- package/dist/commonjs/v3/apiClient/runStream.js +3 -0
- package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
- package/dist/commonjs/v3/apiClient/stream.d.ts +1 -0
- package/dist/commonjs/v3/apiClient/stream.js +3 -0
- package/dist/commonjs/v3/apiClient/stream.js.map +1 -1
- package/dist/commonjs/v3/apiClientManager/index.d.ts +1 -1
- package/dist/commonjs/v3/config.d.ts +17 -0
- package/dist/commonjs/v3/errors.d.ts +14 -1
- package/dist/commonjs/v3/errors.js +35 -1
- package/dist/commonjs/v3/errors.js.map +1 -1
- package/dist/commonjs/v3/links.d.ts +3 -0
- package/dist/commonjs/v3/links.js +3 -0
- package/dist/commonjs/v3/links.js.map +1 -1
- package/dist/commonjs/v3/otel/tracingSDK.d.ts +2 -0
- package/dist/commonjs/v3/otel/tracingSDK.js +51 -0
- package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
- package/dist/commonjs/v3/runtime/devRuntimeManager.d.ts +1 -0
- package/dist/commonjs/v3/runtime/devRuntimeManager.js +36 -30
- package/dist/commonjs/v3/runtime/devRuntimeManager.js.map +1 -1
- package/dist/commonjs/v3/runtime/index.d.ts +4 -0
- package/dist/commonjs/v3/runtime/index.js +4 -0
- package/dist/commonjs/v3/runtime/index.js.map +1 -1
- package/dist/commonjs/v3/runtime/prodRuntimeManager.d.ts +1 -0
- package/dist/commonjs/v3/runtime/prodRuntimeManager.js +41 -33
- package/dist/commonjs/v3/runtime/prodRuntimeManager.js.map +1 -1
- package/dist/commonjs/v3/schemas/api.d.ts +541 -517
- package/dist/commonjs/v3/schemas/api.js +2 -0
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +346 -346
- package/dist/commonjs/v3/schemas/common.d.ts +166 -165
- package/dist/commonjs/v3/schemas/common.js +1 -0
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/fetch.d.ts +31 -31
- package/dist/commonjs/v3/schemas/messages.d.ts +4610 -4610
- package/dist/commonjs/v3/schemas/openTelemetry.d.ts +20 -20
- package/dist/commonjs/v3/schemas/resources.d.ts +84 -84
- package/dist/commonjs/v3/schemas/schemas.d.ts +457 -457
- package/dist/commonjs/v3/schemas/style.d.ts +10 -10
- package/dist/commonjs/v3/semanticInternalAttributes.d.ts +1 -0
- package/dist/commonjs/v3/semanticInternalAttributes.js +1 -0
- package/dist/commonjs/v3/semanticInternalAttributes.js.map +1 -1
- package/dist/commonjs/v3/types/tasks.d.ts +7 -3
- package/dist/commonjs/v3/types/tasks.js.map +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.js +5 -2
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/schemas/api.d.ts +2137 -2137
- package/dist/esm/schemas/events.d.ts +8 -8
- package/dist/esm/schemas/fetch.d.ts +54 -54
- package/dist/esm/schemas/integrations.d.ts +4 -4
- package/dist/esm/schemas/notifications.d.ts +80 -80
- package/dist/esm/schemas/properties.d.ts +4 -4
- package/dist/esm/schemas/request.d.ts +4 -4
- package/dist/esm/schemas/requestFilter.d.ts +2 -2
- package/dist/esm/schemas/runs.d.ts +39 -39
- package/dist/esm/schemas/schedules.d.ts +12 -12
- package/dist/esm/schemas/statuses.d.ts +24 -24
- package/dist/esm/schemas/tasks.d.ts +54 -54
- package/dist/esm/schemas/triggers.d.ts +36 -36
- package/dist/esm/v3/apiClient/index.d.ts +28 -25
- package/dist/esm/v3/apiClient/index.js +3 -0
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/apiClient/runStream.d.ts +1 -0
- package/dist/esm/v3/apiClient/runStream.js +3 -0
- package/dist/esm/v3/apiClient/runStream.js.map +1 -1
- package/dist/esm/v3/apiClient/stream.d.ts +1 -0
- package/dist/esm/v3/apiClient/stream.js +3 -0
- package/dist/esm/v3/apiClient/stream.js.map +1 -1
- package/dist/esm/v3/config.d.ts +17 -0
- package/dist/esm/v3/errors.d.ts +14 -1
- package/dist/esm/v3/errors.js +33 -0
- package/dist/esm/v3/errors.js.map +1 -1
- package/dist/esm/v3/links.d.ts +3 -0
- package/dist/esm/v3/links.js +3 -0
- package/dist/esm/v3/links.js.map +1 -1
- package/dist/esm/v3/otel/tracingSDK.d.ts +2 -0
- package/dist/esm/v3/otel/tracingSDK.js +51 -0
- package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
- package/dist/esm/v3/runtime/devRuntimeManager.d.ts +1 -0
- package/dist/esm/v3/runtime/devRuntimeManager.js +36 -30
- package/dist/esm/v3/runtime/devRuntimeManager.js.map +1 -1
- package/dist/esm/v3/runtime/index.d.ts +4 -0
- package/dist/esm/v3/runtime/index.js +4 -0
- package/dist/esm/v3/runtime/index.js.map +1 -1
- package/dist/esm/v3/runtime/preventMultipleWaits.d.ts +1 -0
- package/dist/esm/v3/runtime/preventMultipleWaits.js +25 -0
- package/dist/esm/v3/runtime/preventMultipleWaits.js.map +1 -0
- package/dist/esm/v3/runtime/prodRuntimeManager.d.ts +1 -0
- package/dist/esm/v3/runtime/prodRuntimeManager.js +41 -33
- package/dist/esm/v3/runtime/prodRuntimeManager.js.map +1 -1
- package/dist/esm/v3/schemas/api.d.ts +161 -137
- package/dist/esm/v3/schemas/api.js +3 -1
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +88 -88
- package/dist/esm/v3/schemas/common.d.ts +166 -165
- package/dist/esm/v3/schemas/common.js +1 -0
- package/dist/esm/v3/schemas/common.js.map +1 -1
- package/dist/esm/v3/schemas/fetch.d.ts +10 -10
- package/dist/esm/v3/schemas/messages.d.ts +1676 -1676
- package/dist/esm/v3/schemas/openTelemetry.d.ts +20 -20
- package/dist/esm/v3/schemas/resources.d.ts +4 -4
- package/dist/esm/v3/schemas/schemas.d.ts +52 -52
- package/dist/esm/v3/schemas/style.d.ts +10 -10
- package/dist/esm/v3/semanticInternalAttributes.d.ts +1 -0
- package/dist/esm/v3/semanticInternalAttributes.js +1 -0
- package/dist/esm/v3/semanticInternalAttributes.js.map +1 -1
- package/dist/esm/v3/types/tasks.d.ts +7 -3
- package/dist/esm/v3/types/tasks.js.map +1 -1
- package/dist/esm/v3/workers/taskExecutor.js +6 -3
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -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
|
-
title: string;
|
|
30
|
-
slug: string;
|
|
31
29
|
createdAt: Date;
|
|
30
|
+
slug: string;
|
|
31
|
+
title: string;
|
|
32
32
|
}, {
|
|
33
33
|
id: string;
|
|
34
|
-
title: string;
|
|
35
|
-
slug: string;
|
|
36
34
|
createdAt: Date;
|
|
35
|
+
slug: string;
|
|
36
|
+
title: string;
|
|
37
37
|
}>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
name: string;
|
|
40
39
|
id: string;
|
|
40
|
+
name: string;
|
|
41
|
+
createdAt: Date;
|
|
41
42
|
slug: string;
|
|
42
43
|
organization: {
|
|
43
44
|
id: string;
|
|
44
|
-
title: string;
|
|
45
|
-
slug: string;
|
|
46
45
|
createdAt: Date;
|
|
46
|
+
slug: string;
|
|
47
|
+
title: string;
|
|
47
48
|
};
|
|
48
|
-
createdAt: Date;
|
|
49
49
|
externalRef: string;
|
|
50
50
|
}, {
|
|
51
|
-
name: string;
|
|
52
51
|
id: string;
|
|
52
|
+
name: string;
|
|
53
|
+
createdAt: Date;
|
|
53
54
|
slug: string;
|
|
54
55
|
organization: {
|
|
55
56
|
id: string;
|
|
56
|
-
title: string;
|
|
57
|
-
slug: string;
|
|
58
57
|
createdAt: Date;
|
|
58
|
+
slug: string;
|
|
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
|
-
title: string;
|
|
78
|
-
slug: string;
|
|
79
77
|
createdAt: Date;
|
|
78
|
+
slug: string;
|
|
79
|
+
title: string;
|
|
80
80
|
}, {
|
|
81
81
|
id: string;
|
|
82
|
-
title: string;
|
|
83
|
-
slug: string;
|
|
84
82
|
createdAt: Date;
|
|
83
|
+
slug: string;
|
|
84
|
+
title: string;
|
|
85
85
|
}>;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
|
-
name: string;
|
|
88
87
|
id: string;
|
|
88
|
+
name: string;
|
|
89
|
+
createdAt: Date;
|
|
89
90
|
slug: string;
|
|
90
91
|
organization: {
|
|
91
92
|
id: string;
|
|
92
|
-
title: string;
|
|
93
|
-
slug: string;
|
|
94
93
|
createdAt: Date;
|
|
94
|
+
slug: string;
|
|
95
|
+
title: string;
|
|
95
96
|
};
|
|
96
|
-
createdAt: Date;
|
|
97
97
|
externalRef: string;
|
|
98
98
|
}, {
|
|
99
|
-
name: string;
|
|
100
99
|
id: string;
|
|
100
|
+
name: string;
|
|
101
|
+
createdAt: Date;
|
|
101
102
|
slug: string;
|
|
102
103
|
organization: {
|
|
103
104
|
id: string;
|
|
104
|
-
title: string;
|
|
105
|
-
slug: string;
|
|
106
105
|
createdAt: Date;
|
|
106
|
+
slug: string;
|
|
107
|
+
title: string;
|
|
107
108
|
};
|
|
108
|
-
createdAt: Date;
|
|
109
109
|
externalRef: string;
|
|
110
110
|
}>, "many">;
|
|
111
111
|
export type GetProjectsResponseBody = z.infer<typeof GetProjectsResponseBody>;
|
|
@@ -154,29 +154,29 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
154
154
|
maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
|
|
155
155
|
randomize: z.ZodOptional<z.ZodBoolean>;
|
|
156
156
|
}, "strip", z.ZodTypeAny, {
|
|
157
|
+
maxAttempts?: number | undefined;
|
|
157
158
|
factor?: number | undefined;
|
|
158
159
|
minTimeoutInMs?: number | undefined;
|
|
159
160
|
maxTimeoutInMs?: number | undefined;
|
|
160
161
|
randomize?: boolean | undefined;
|
|
161
|
-
maxAttempts?: number | undefined;
|
|
162
162
|
}, {
|
|
163
|
+
maxAttempts?: number | undefined;
|
|
163
164
|
factor?: number | undefined;
|
|
164
165
|
minTimeoutInMs?: number | undefined;
|
|
165
166
|
maxTimeoutInMs?: number | undefined;
|
|
166
167
|
randomize?: boolean | undefined;
|
|
167
|
-
maxAttempts?: number | undefined;
|
|
168
168
|
}>>;
|
|
169
169
|
machine: z.ZodOptional<z.ZodObject<{
|
|
170
170
|
cpu: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>;
|
|
171
171
|
memory: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
|
|
172
172
|
preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
173
173
|
}, "strip", z.ZodTypeAny, {
|
|
174
|
-
cpu?:
|
|
175
|
-
memory?:
|
|
174
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
175
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
176
176
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
177
177
|
}, {
|
|
178
|
-
cpu?:
|
|
179
|
-
memory?:
|
|
178
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
179
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
180
180
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
181
181
|
}>>;
|
|
182
182
|
triggerSource: z.ZodOptional<z.ZodString>;
|
|
@@ -193,58 +193,58 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
193
193
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
194
194
|
}, "strip", z.ZodTypeAny, {
|
|
195
195
|
id: string;
|
|
196
|
-
filePath: string;
|
|
197
196
|
exportName: string;
|
|
197
|
+
filePath: string;
|
|
198
198
|
description?: string | undefined;
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
199
|
+
queue?: {
|
|
200
|
+
name?: string | undefined;
|
|
201
|
+
concurrencyLimit?: number | undefined;
|
|
202
202
|
} | undefined;
|
|
203
203
|
retry?: {
|
|
204
|
+
maxAttempts?: number | undefined;
|
|
204
205
|
factor?: number | undefined;
|
|
205
206
|
minTimeoutInMs?: number | undefined;
|
|
206
207
|
maxTimeoutInMs?: number | undefined;
|
|
207
208
|
randomize?: boolean | undefined;
|
|
208
|
-
maxAttempts?: number | undefined;
|
|
209
|
-
} | undefined;
|
|
210
|
-
maxDuration?: number | undefined;
|
|
211
|
-
queue?: {
|
|
212
|
-
name?: string | undefined;
|
|
213
|
-
concurrencyLimit?: number | undefined;
|
|
214
209
|
} | undefined;
|
|
215
210
|
machine?: {
|
|
216
|
-
cpu?:
|
|
217
|
-
memory?:
|
|
211
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
212
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
218
213
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
219
214
|
} | undefined;
|
|
220
215
|
triggerSource?: string | undefined;
|
|
216
|
+
schedule?: {
|
|
217
|
+
cron: string;
|
|
218
|
+
timezone: string;
|
|
219
|
+
} | undefined;
|
|
220
|
+
maxDuration?: number | undefined;
|
|
221
221
|
}, {
|
|
222
222
|
id: string;
|
|
223
|
-
filePath: string;
|
|
224
223
|
exportName: string;
|
|
224
|
+
filePath: string;
|
|
225
225
|
description?: string | undefined;
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
226
|
+
queue?: {
|
|
227
|
+
name?: string | undefined;
|
|
228
|
+
concurrencyLimit?: number | undefined;
|
|
229
229
|
} | undefined;
|
|
230
230
|
retry?: {
|
|
231
|
+
maxAttempts?: number | undefined;
|
|
231
232
|
factor?: number | undefined;
|
|
232
233
|
minTimeoutInMs?: number | undefined;
|
|
233
234
|
maxTimeoutInMs?: number | undefined;
|
|
234
235
|
randomize?: boolean | undefined;
|
|
235
|
-
maxAttempts?: number | undefined;
|
|
236
|
-
} | undefined;
|
|
237
|
-
maxDuration?: number | undefined;
|
|
238
|
-
queue?: {
|
|
239
|
-
name?: string | undefined;
|
|
240
|
-
concurrencyLimit?: number | undefined;
|
|
241
236
|
} | undefined;
|
|
242
237
|
machine?: {
|
|
243
|
-
cpu?:
|
|
244
|
-
memory?:
|
|
238
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
239
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
245
240
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
246
241
|
} | undefined;
|
|
247
242
|
triggerSource?: string | undefined;
|
|
243
|
+
schedule?: {
|
|
244
|
+
cron: string;
|
|
245
|
+
timezone: string;
|
|
246
|
+
} | undefined;
|
|
247
|
+
maxDuration?: number | undefined;
|
|
248
248
|
}>, "many">;
|
|
249
249
|
sourceFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
250
250
|
filePath: z.ZodString;
|
|
@@ -265,31 +265,31 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
265
265
|
}, "strip", z.ZodTypeAny, {
|
|
266
266
|
tasks: {
|
|
267
267
|
id: string;
|
|
268
|
-
filePath: string;
|
|
269
268
|
exportName: string;
|
|
269
|
+
filePath: string;
|
|
270
270
|
description?: string | undefined;
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
271
|
+
queue?: {
|
|
272
|
+
name?: string | undefined;
|
|
273
|
+
concurrencyLimit?: number | undefined;
|
|
274
274
|
} | undefined;
|
|
275
275
|
retry?: {
|
|
276
|
+
maxAttempts?: number | undefined;
|
|
276
277
|
factor?: number | undefined;
|
|
277
278
|
minTimeoutInMs?: number | undefined;
|
|
278
279
|
maxTimeoutInMs?: number | undefined;
|
|
279
280
|
randomize?: boolean | undefined;
|
|
280
|
-
maxAttempts?: number | undefined;
|
|
281
|
-
} | undefined;
|
|
282
|
-
maxDuration?: number | undefined;
|
|
283
|
-
queue?: {
|
|
284
|
-
name?: string | undefined;
|
|
285
|
-
concurrencyLimit?: number | undefined;
|
|
286
281
|
} | undefined;
|
|
287
282
|
machine?: {
|
|
288
|
-
cpu?:
|
|
289
|
-
memory?:
|
|
283
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
284
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
290
285
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
291
286
|
} | undefined;
|
|
292
287
|
triggerSource?: string | undefined;
|
|
288
|
+
schedule?: {
|
|
289
|
+
cron: string;
|
|
290
|
+
timezone: string;
|
|
291
|
+
} | undefined;
|
|
292
|
+
maxDuration?: number | undefined;
|
|
293
293
|
}[];
|
|
294
294
|
contentHash: string;
|
|
295
295
|
packageVersion: string;
|
|
@@ -303,31 +303,31 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
303
303
|
}, {
|
|
304
304
|
tasks: {
|
|
305
305
|
id: string;
|
|
306
|
-
filePath: string;
|
|
307
306
|
exportName: string;
|
|
307
|
+
filePath: string;
|
|
308
308
|
description?: string | undefined;
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
309
|
+
queue?: {
|
|
310
|
+
name?: string | undefined;
|
|
311
|
+
concurrencyLimit?: number | undefined;
|
|
312
312
|
} | undefined;
|
|
313
313
|
retry?: {
|
|
314
|
+
maxAttempts?: number | undefined;
|
|
314
315
|
factor?: number | undefined;
|
|
315
316
|
minTimeoutInMs?: number | undefined;
|
|
316
317
|
maxTimeoutInMs?: number | undefined;
|
|
317
318
|
randomize?: boolean | undefined;
|
|
318
|
-
maxAttempts?: number | undefined;
|
|
319
|
-
} | undefined;
|
|
320
|
-
maxDuration?: number | undefined;
|
|
321
|
-
queue?: {
|
|
322
|
-
name?: string | undefined;
|
|
323
|
-
concurrencyLimit?: number | undefined;
|
|
324
319
|
} | undefined;
|
|
325
320
|
machine?: {
|
|
326
|
-
cpu?:
|
|
327
|
-
memory?:
|
|
321
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
322
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
328
323
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
329
324
|
} | undefined;
|
|
330
325
|
triggerSource?: string | undefined;
|
|
326
|
+
schedule?: {
|
|
327
|
+
cron: string;
|
|
328
|
+
timezone: string;
|
|
329
|
+
} | undefined;
|
|
330
|
+
maxDuration?: number | undefined;
|
|
331
331
|
}[];
|
|
332
332
|
contentHash: string;
|
|
333
333
|
packageVersion: string;
|
|
@@ -344,31 +344,31 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
344
344
|
metadata: {
|
|
345
345
|
tasks: {
|
|
346
346
|
id: string;
|
|
347
|
-
filePath: string;
|
|
348
347
|
exportName: string;
|
|
348
|
+
filePath: string;
|
|
349
349
|
description?: string | undefined;
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
350
|
+
queue?: {
|
|
351
|
+
name?: string | undefined;
|
|
352
|
+
concurrencyLimit?: number | undefined;
|
|
353
353
|
} | undefined;
|
|
354
354
|
retry?: {
|
|
355
|
+
maxAttempts?: number | undefined;
|
|
355
356
|
factor?: number | undefined;
|
|
356
357
|
minTimeoutInMs?: number | undefined;
|
|
357
358
|
maxTimeoutInMs?: number | undefined;
|
|
358
359
|
randomize?: boolean | undefined;
|
|
359
|
-
maxAttempts?: number | undefined;
|
|
360
|
-
} | undefined;
|
|
361
|
-
maxDuration?: number | undefined;
|
|
362
|
-
queue?: {
|
|
363
|
-
name?: string | undefined;
|
|
364
|
-
concurrencyLimit?: number | undefined;
|
|
365
360
|
} | undefined;
|
|
366
361
|
machine?: {
|
|
367
|
-
cpu?:
|
|
368
|
-
memory?:
|
|
362
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
363
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
369
364
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
370
365
|
} | undefined;
|
|
371
366
|
triggerSource?: string | undefined;
|
|
367
|
+
schedule?: {
|
|
368
|
+
cron: string;
|
|
369
|
+
timezone: string;
|
|
370
|
+
} | undefined;
|
|
371
|
+
maxDuration?: number | undefined;
|
|
372
372
|
}[];
|
|
373
373
|
contentHash: string;
|
|
374
374
|
packageVersion: string;
|
|
@@ -386,31 +386,31 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
386
386
|
metadata: {
|
|
387
387
|
tasks: {
|
|
388
388
|
id: string;
|
|
389
|
-
filePath: string;
|
|
390
389
|
exportName: string;
|
|
390
|
+
filePath: string;
|
|
391
391
|
description?: string | undefined;
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
392
|
+
queue?: {
|
|
393
|
+
name?: string | undefined;
|
|
394
|
+
concurrencyLimit?: number | undefined;
|
|
395
395
|
} | undefined;
|
|
396
396
|
retry?: {
|
|
397
|
+
maxAttempts?: number | undefined;
|
|
397
398
|
factor?: number | undefined;
|
|
398
399
|
minTimeoutInMs?: number | undefined;
|
|
399
400
|
maxTimeoutInMs?: number | undefined;
|
|
400
401
|
randomize?: boolean | undefined;
|
|
401
|
-
maxAttempts?: number | undefined;
|
|
402
|
-
} | undefined;
|
|
403
|
-
maxDuration?: number | undefined;
|
|
404
|
-
queue?: {
|
|
405
|
-
name?: string | undefined;
|
|
406
|
-
concurrencyLimit?: number | undefined;
|
|
407
402
|
} | undefined;
|
|
408
403
|
machine?: {
|
|
409
|
-
cpu?:
|
|
410
|
-
memory?:
|
|
404
|
+
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
405
|
+
memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
|
|
411
406
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
412
407
|
} | undefined;
|
|
413
408
|
triggerSource?: string | undefined;
|
|
409
|
+
schedule?: {
|
|
410
|
+
cron: string;
|
|
411
|
+
timezone: string;
|
|
412
|
+
} | undefined;
|
|
413
|
+
maxDuration?: number | undefined;
|
|
414
414
|
}[];
|
|
415
415
|
contentHash: string;
|
|
416
416
|
packageVersion: string;
|
|
@@ -431,12 +431,12 @@ export declare const CreateBackgroundWorkerResponse: z.ZodObject<{
|
|
|
431
431
|
version: z.ZodString;
|
|
432
432
|
contentHash: z.ZodString;
|
|
433
433
|
}, "strip", z.ZodTypeAny, {
|
|
434
|
-
version: string;
|
|
435
434
|
id: string;
|
|
435
|
+
version: string;
|
|
436
436
|
contentHash: string;
|
|
437
437
|
}, {
|
|
438
|
-
version: string;
|
|
439
438
|
id: string;
|
|
439
|
+
version: string;
|
|
440
440
|
contentHash: string;
|
|
441
441
|
}>;
|
|
442
442
|
export type CreateBackgroundWorkerResponse = z.infer<typeof CreateBackgroundWorkerResponse>;
|
|
@@ -473,20 +473,22 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
473
473
|
metadata: z.ZodAny;
|
|
474
474
|
metadataType: z.ZodOptional<z.ZodString>;
|
|
475
475
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
476
|
+
machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
476
477
|
}, "strip", z.ZodTypeAny, {
|
|
477
|
-
metadata?: any;
|
|
478
|
-
idempotencyKey?: string | undefined;
|
|
479
|
-
payloadType?: string | undefined;
|
|
480
|
-
tags?: string | string[] | undefined;
|
|
481
478
|
maxAttempts?: number | undefined;
|
|
482
|
-
maxDuration?: number | undefined;
|
|
483
479
|
queue?: {
|
|
484
480
|
name?: string | undefined;
|
|
485
481
|
concurrencyLimit?: number | undefined;
|
|
486
482
|
} | undefined;
|
|
487
|
-
|
|
483
|
+
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
484
|
+
maxDuration?: number | undefined;
|
|
485
|
+
payloadType?: string | undefined;
|
|
486
|
+
tags?: string | string[] | undefined;
|
|
487
|
+
idempotencyKey?: string | undefined;
|
|
488
|
+
metadata?: any;
|
|
488
489
|
idempotencyKeyTTL?: string | undefined;
|
|
489
490
|
concurrencyKey?: string | undefined;
|
|
491
|
+
delay?: string | Date | undefined;
|
|
490
492
|
ttl?: string | number | undefined;
|
|
491
493
|
dependentAttempt?: string | undefined;
|
|
492
494
|
parentAttempt?: string | undefined;
|
|
@@ -496,19 +498,20 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
496
498
|
test?: boolean | undefined;
|
|
497
499
|
metadataType?: string | undefined;
|
|
498
500
|
}, {
|
|
499
|
-
metadata?: any;
|
|
500
|
-
idempotencyKey?: string | undefined;
|
|
501
|
-
payloadType?: string | undefined;
|
|
502
|
-
tags?: string | string[] | undefined;
|
|
503
501
|
maxAttempts?: number | undefined;
|
|
504
|
-
maxDuration?: number | undefined;
|
|
505
502
|
queue?: {
|
|
506
503
|
name?: string | undefined;
|
|
507
504
|
concurrencyLimit?: number | undefined;
|
|
508
505
|
} | undefined;
|
|
509
|
-
|
|
506
|
+
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
507
|
+
maxDuration?: number | undefined;
|
|
508
|
+
payloadType?: string | undefined;
|
|
509
|
+
tags?: string | string[] | undefined;
|
|
510
|
+
idempotencyKey?: string | undefined;
|
|
511
|
+
metadata?: any;
|
|
510
512
|
idempotencyKeyTTL?: string | undefined;
|
|
511
513
|
concurrencyKey?: string | undefined;
|
|
514
|
+
delay?: string | Date | undefined;
|
|
512
515
|
ttl?: string | number | undefined;
|
|
513
516
|
dependentAttempt?: string | undefined;
|
|
514
517
|
parentAttempt?: string | undefined;
|
|
@@ -520,19 +523,20 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
520
523
|
}>>;
|
|
521
524
|
}, "strip", z.ZodTypeAny, {
|
|
522
525
|
options?: {
|
|
523
|
-
metadata?: any;
|
|
524
|
-
idempotencyKey?: string | undefined;
|
|
525
|
-
payloadType?: string | undefined;
|
|
526
|
-
tags?: string | string[] | undefined;
|
|
527
526
|
maxAttempts?: number | undefined;
|
|
528
|
-
maxDuration?: number | undefined;
|
|
529
527
|
queue?: {
|
|
530
528
|
name?: string | undefined;
|
|
531
529
|
concurrencyLimit?: number | undefined;
|
|
532
530
|
} | undefined;
|
|
533
|
-
|
|
531
|
+
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
532
|
+
maxDuration?: number | undefined;
|
|
533
|
+
payloadType?: string | undefined;
|
|
534
|
+
tags?: string | string[] | undefined;
|
|
535
|
+
idempotencyKey?: string | undefined;
|
|
536
|
+
metadata?: any;
|
|
534
537
|
idempotencyKeyTTL?: string | undefined;
|
|
535
538
|
concurrencyKey?: string | undefined;
|
|
539
|
+
delay?: string | Date | undefined;
|
|
536
540
|
ttl?: string | number | undefined;
|
|
537
541
|
dependentAttempt?: string | undefined;
|
|
538
542
|
parentAttempt?: string | undefined;
|
|
@@ -546,19 +550,20 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
546
550
|
context?: any;
|
|
547
551
|
}, {
|
|
548
552
|
options?: {
|
|
549
|
-
metadata?: any;
|
|
550
|
-
idempotencyKey?: string | undefined;
|
|
551
|
-
payloadType?: string | undefined;
|
|
552
|
-
tags?: string | string[] | undefined;
|
|
553
553
|
maxAttempts?: number | undefined;
|
|
554
|
-
maxDuration?: number | undefined;
|
|
555
554
|
queue?: {
|
|
556
555
|
name?: string | undefined;
|
|
557
556
|
concurrencyLimit?: number | undefined;
|
|
558
557
|
} | undefined;
|
|
559
|
-
|
|
558
|
+
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
559
|
+
maxDuration?: number | undefined;
|
|
560
|
+
payloadType?: string | undefined;
|
|
561
|
+
tags?: string | string[] | undefined;
|
|
562
|
+
idempotencyKey?: string | undefined;
|
|
563
|
+
metadata?: any;
|
|
560
564
|
idempotencyKeyTTL?: string | undefined;
|
|
561
565
|
concurrencyKey?: string | undefined;
|
|
566
|
+
delay?: string | Date | undefined;
|
|
562
567
|
ttl?: string | number | undefined;
|
|
563
568
|
dependentAttempt?: string | undefined;
|
|
564
569
|
parentAttempt?: string | undefined;
|
|
@@ -612,20 +617,22 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
612
617
|
metadata: z.ZodAny;
|
|
613
618
|
metadataType: z.ZodOptional<z.ZodString>;
|
|
614
619
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
620
|
+
machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
615
621
|
}, "strip", z.ZodTypeAny, {
|
|
616
|
-
metadata?: any;
|
|
617
|
-
idempotencyKey?: string | undefined;
|
|
618
|
-
payloadType?: string | undefined;
|
|
619
|
-
tags?: string | string[] | undefined;
|
|
620
622
|
maxAttempts?: number | undefined;
|
|
621
|
-
maxDuration?: number | undefined;
|
|
622
623
|
queue?: {
|
|
623
624
|
name?: string | undefined;
|
|
624
625
|
concurrencyLimit?: number | undefined;
|
|
625
626
|
} | undefined;
|
|
626
|
-
|
|
627
|
+
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
628
|
+
maxDuration?: number | undefined;
|
|
629
|
+
payloadType?: string | undefined;
|
|
630
|
+
tags?: string | string[] | undefined;
|
|
631
|
+
idempotencyKey?: string | undefined;
|
|
632
|
+
metadata?: any;
|
|
627
633
|
idempotencyKeyTTL?: string | undefined;
|
|
628
634
|
concurrencyKey?: string | undefined;
|
|
635
|
+
delay?: string | Date | undefined;
|
|
629
636
|
ttl?: string | number | undefined;
|
|
630
637
|
dependentAttempt?: string | undefined;
|
|
631
638
|
parentAttempt?: string | undefined;
|
|
@@ -635,19 +642,20 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
635
642
|
test?: boolean | undefined;
|
|
636
643
|
metadataType?: string | undefined;
|
|
637
644
|
}, {
|
|
638
|
-
metadata?: any;
|
|
639
|
-
idempotencyKey?: string | undefined;
|
|
640
|
-
payloadType?: string | undefined;
|
|
641
|
-
tags?: string | string[] | undefined;
|
|
642
645
|
maxAttempts?: number | undefined;
|
|
643
|
-
maxDuration?: number | undefined;
|
|
644
646
|
queue?: {
|
|
645
647
|
name?: string | undefined;
|
|
646
648
|
concurrencyLimit?: number | undefined;
|
|
647
649
|
} | undefined;
|
|
648
|
-
|
|
650
|
+
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
651
|
+
maxDuration?: number | undefined;
|
|
652
|
+
payloadType?: string | undefined;
|
|
653
|
+
tags?: string | string[] | undefined;
|
|
654
|
+
idempotencyKey?: string | undefined;
|
|
655
|
+
metadata?: any;
|
|
649
656
|
idempotencyKeyTTL?: string | undefined;
|
|
650
657
|
concurrencyKey?: string | undefined;
|
|
658
|
+
delay?: string | Date | undefined;
|
|
651
659
|
ttl?: string | number | undefined;
|
|
652
660
|
dependentAttempt?: string | undefined;
|
|
653
661
|
parentAttempt?: string | undefined;
|
|
@@ -659,19 +667,20 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
659
667
|
}>>;
|
|
660
668
|
}, "strip", z.ZodTypeAny, {
|
|
661
669
|
options?: {
|
|
662
|
-
metadata?: any;
|
|
663
|
-
idempotencyKey?: string | undefined;
|
|
664
|
-
payloadType?: string | undefined;
|
|
665
|
-
tags?: string | string[] | undefined;
|
|
666
670
|
maxAttempts?: number | undefined;
|
|
667
|
-
maxDuration?: number | undefined;
|
|
668
671
|
queue?: {
|
|
669
672
|
name?: string | undefined;
|
|
670
673
|
concurrencyLimit?: number | undefined;
|
|
671
674
|
} | undefined;
|
|
672
|
-
|
|
675
|
+
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
676
|
+
maxDuration?: number | undefined;
|
|
677
|
+
payloadType?: string | undefined;
|
|
678
|
+
tags?: string | string[] | undefined;
|
|
679
|
+
idempotencyKey?: string | undefined;
|
|
680
|
+
metadata?: any;
|
|
673
681
|
idempotencyKeyTTL?: string | undefined;
|
|
674
682
|
concurrencyKey?: string | undefined;
|
|
683
|
+
delay?: string | Date | undefined;
|
|
675
684
|
ttl?: string | number | undefined;
|
|
676
685
|
dependentAttempt?: string | undefined;
|
|
677
686
|
parentAttempt?: string | undefined;
|
|
@@ -685,19 +694,20 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
685
694
|
context?: any;
|
|
686
695
|
}, {
|
|
687
696
|
options?: {
|
|
688
|
-
metadata?: any;
|
|
689
|
-
idempotencyKey?: string | undefined;
|
|
690
|
-
payloadType?: string | undefined;
|
|
691
|
-
tags?: string | string[] | undefined;
|
|
692
697
|
maxAttempts?: number | undefined;
|
|
693
|
-
maxDuration?: number | undefined;
|
|
694
698
|
queue?: {
|
|
695
699
|
name?: string | undefined;
|
|
696
700
|
concurrencyLimit?: number | undefined;
|
|
697
701
|
} | undefined;
|
|
698
|
-
|
|
702
|
+
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
703
|
+
maxDuration?: number | undefined;
|
|
704
|
+
payloadType?: string | undefined;
|
|
705
|
+
tags?: string | string[] | undefined;
|
|
706
|
+
idempotencyKey?: string | undefined;
|
|
707
|
+
metadata?: any;
|
|
699
708
|
idempotencyKeyTTL?: string | undefined;
|
|
700
709
|
concurrencyKey?: string | undefined;
|
|
710
|
+
delay?: string | Date | undefined;
|
|
701
711
|
ttl?: string | number | undefined;
|
|
702
712
|
dependentAttempt?: string | undefined;
|
|
703
713
|
parentAttempt?: string | undefined;
|
|
@@ -714,19 +724,20 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
714
724
|
}, "strip", z.ZodTypeAny, {
|
|
715
725
|
items: {
|
|
716
726
|
options?: {
|
|
717
|
-
metadata?: any;
|
|
718
|
-
idempotencyKey?: string | undefined;
|
|
719
|
-
payloadType?: string | undefined;
|
|
720
|
-
tags?: string | string[] | undefined;
|
|
721
727
|
maxAttempts?: number | undefined;
|
|
722
|
-
maxDuration?: number | undefined;
|
|
723
728
|
queue?: {
|
|
724
729
|
name?: string | undefined;
|
|
725
730
|
concurrencyLimit?: number | undefined;
|
|
726
731
|
} | undefined;
|
|
727
|
-
|
|
732
|
+
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
733
|
+
maxDuration?: number | undefined;
|
|
734
|
+
payloadType?: string | undefined;
|
|
735
|
+
tags?: string | string[] | undefined;
|
|
736
|
+
idempotencyKey?: string | undefined;
|
|
737
|
+
metadata?: any;
|
|
728
738
|
idempotencyKeyTTL?: string | undefined;
|
|
729
739
|
concurrencyKey?: string | undefined;
|
|
740
|
+
delay?: string | Date | undefined;
|
|
730
741
|
ttl?: string | number | undefined;
|
|
731
742
|
dependentAttempt?: string | undefined;
|
|
732
743
|
parentAttempt?: string | undefined;
|
|
@@ -743,19 +754,20 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
743
754
|
}, {
|
|
744
755
|
items: {
|
|
745
756
|
options?: {
|
|
746
|
-
metadata?: any;
|
|
747
|
-
idempotencyKey?: string | undefined;
|
|
748
|
-
payloadType?: string | undefined;
|
|
749
|
-
tags?: string | string[] | undefined;
|
|
750
757
|
maxAttempts?: number | undefined;
|
|
751
|
-
maxDuration?: number | undefined;
|
|
752
758
|
queue?: {
|
|
753
759
|
name?: string | undefined;
|
|
754
760
|
concurrencyLimit?: number | undefined;
|
|
755
761
|
} | undefined;
|
|
756
|
-
|
|
762
|
+
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
763
|
+
maxDuration?: number | undefined;
|
|
764
|
+
payloadType?: string | undefined;
|
|
765
|
+
tags?: string | string[] | undefined;
|
|
766
|
+
idempotencyKey?: string | undefined;
|
|
767
|
+
metadata?: any;
|
|
757
768
|
idempotencyKeyTTL?: string | undefined;
|
|
758
769
|
concurrencyKey?: string | undefined;
|
|
770
|
+
delay?: string | Date | undefined;
|
|
759
771
|
ttl?: string | number | undefined;
|
|
760
772
|
dependentAttempt?: string | undefined;
|
|
761
773
|
parentAttempt?: string | undefined;
|
|
@@ -800,39 +812,42 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
800
812
|
metadataType: z.ZodOptional<z.ZodString>;
|
|
801
813
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
802
814
|
parentAttempt: z.ZodOptional<z.ZodString>;
|
|
815
|
+
machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
803
816
|
}, "strip", z.ZodTypeAny, {
|
|
804
|
-
metadata?: any;
|
|
805
|
-
idempotencyKey?: string | undefined;
|
|
806
|
-
payloadType?: string | undefined;
|
|
807
|
-
tags?: string | string[] | undefined;
|
|
808
817
|
maxAttempts?: number | undefined;
|
|
809
|
-
maxDuration?: number | undefined;
|
|
810
818
|
queue?: {
|
|
811
819
|
name?: string | undefined;
|
|
812
820
|
concurrencyLimit?: number | undefined;
|
|
813
821
|
} | undefined;
|
|
814
|
-
|
|
822
|
+
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
823
|
+
maxDuration?: number | undefined;
|
|
824
|
+
payloadType?: string | undefined;
|
|
825
|
+
tags?: string | string[] | undefined;
|
|
826
|
+
idempotencyKey?: string | undefined;
|
|
827
|
+
metadata?: any;
|
|
815
828
|
idempotencyKeyTTL?: string | undefined;
|
|
816
829
|
concurrencyKey?: string | undefined;
|
|
830
|
+
delay?: string | Date | undefined;
|
|
817
831
|
ttl?: string | number | undefined;
|
|
818
832
|
parentAttempt?: string | undefined;
|
|
819
833
|
lockToVersion?: string | undefined;
|
|
820
834
|
test?: boolean | undefined;
|
|
821
835
|
metadataType?: string | undefined;
|
|
822
836
|
}, {
|
|
823
|
-
metadata?: any;
|
|
824
|
-
idempotencyKey?: string | undefined;
|
|
825
|
-
payloadType?: string | undefined;
|
|
826
|
-
tags?: string | string[] | undefined;
|
|
827
837
|
maxAttempts?: number | undefined;
|
|
828
|
-
maxDuration?: number | undefined;
|
|
829
838
|
queue?: {
|
|
830
839
|
name?: string | undefined;
|
|
831
840
|
concurrencyLimit?: number | undefined;
|
|
832
841
|
} | undefined;
|
|
833
|
-
|
|
842
|
+
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
843
|
+
maxDuration?: number | undefined;
|
|
844
|
+
payloadType?: string | undefined;
|
|
845
|
+
tags?: string | string[] | undefined;
|
|
846
|
+
idempotencyKey?: string | undefined;
|
|
847
|
+
metadata?: any;
|
|
834
848
|
idempotencyKeyTTL?: string | undefined;
|
|
835
849
|
concurrencyKey?: string | undefined;
|
|
850
|
+
delay?: string | Date | undefined;
|
|
836
851
|
ttl?: string | number | undefined;
|
|
837
852
|
parentAttempt?: string | undefined;
|
|
838
853
|
lockToVersion?: string | undefined;
|
|
@@ -842,19 +857,20 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
842
857
|
}, "strip", z.ZodTypeAny, {
|
|
843
858
|
task: string;
|
|
844
859
|
options?: {
|
|
845
|
-
metadata?: any;
|
|
846
|
-
idempotencyKey?: string | undefined;
|
|
847
|
-
payloadType?: string | undefined;
|
|
848
|
-
tags?: string | string[] | undefined;
|
|
849
860
|
maxAttempts?: number | undefined;
|
|
850
|
-
maxDuration?: number | undefined;
|
|
851
861
|
queue?: {
|
|
852
862
|
name?: string | undefined;
|
|
853
863
|
concurrencyLimit?: number | undefined;
|
|
854
864
|
} | undefined;
|
|
855
|
-
|
|
865
|
+
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
866
|
+
maxDuration?: number | undefined;
|
|
867
|
+
payloadType?: string | undefined;
|
|
868
|
+
tags?: string | string[] | undefined;
|
|
869
|
+
idempotencyKey?: string | undefined;
|
|
870
|
+
metadata?: any;
|
|
856
871
|
idempotencyKeyTTL?: string | undefined;
|
|
857
872
|
concurrencyKey?: string | undefined;
|
|
873
|
+
delay?: string | Date | undefined;
|
|
858
874
|
ttl?: string | number | undefined;
|
|
859
875
|
parentAttempt?: string | undefined;
|
|
860
876
|
lockToVersion?: string | undefined;
|
|
@@ -866,19 +882,20 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
866
882
|
}, {
|
|
867
883
|
task: string;
|
|
868
884
|
options?: {
|
|
869
|
-
metadata?: any;
|
|
870
|
-
idempotencyKey?: string | undefined;
|
|
871
|
-
payloadType?: string | undefined;
|
|
872
|
-
tags?: string | string[] | undefined;
|
|
873
885
|
maxAttempts?: number | undefined;
|
|
874
|
-
maxDuration?: number | undefined;
|
|
875
886
|
queue?: {
|
|
876
887
|
name?: string | undefined;
|
|
877
888
|
concurrencyLimit?: number | undefined;
|
|
878
889
|
} | undefined;
|
|
879
|
-
|
|
890
|
+
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
891
|
+
maxDuration?: number | undefined;
|
|
892
|
+
payloadType?: string | undefined;
|
|
893
|
+
tags?: string | string[] | undefined;
|
|
894
|
+
idempotencyKey?: string | undefined;
|
|
895
|
+
metadata?: any;
|
|
880
896
|
idempotencyKeyTTL?: string | undefined;
|
|
881
897
|
concurrencyKey?: string | undefined;
|
|
898
|
+
delay?: string | Date | undefined;
|
|
882
899
|
ttl?: string | number | undefined;
|
|
883
900
|
parentAttempt?: string | undefined;
|
|
884
901
|
lockToVersion?: string | undefined;
|
|
@@ -919,39 +936,42 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
919
936
|
metadataType: z.ZodOptional<z.ZodString>;
|
|
920
937
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
921
938
|
parentAttempt: z.ZodOptional<z.ZodString>;
|
|
939
|
+
machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
922
940
|
}, "strip", z.ZodTypeAny, {
|
|
923
|
-
metadata?: any;
|
|
924
|
-
idempotencyKey?: string | undefined;
|
|
925
|
-
payloadType?: string | undefined;
|
|
926
|
-
tags?: string | string[] | undefined;
|
|
927
941
|
maxAttempts?: number | undefined;
|
|
928
|
-
maxDuration?: number | undefined;
|
|
929
942
|
queue?: {
|
|
930
943
|
name?: string | undefined;
|
|
931
944
|
concurrencyLimit?: number | undefined;
|
|
932
945
|
} | undefined;
|
|
933
|
-
|
|
946
|
+
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
947
|
+
maxDuration?: number | undefined;
|
|
948
|
+
payloadType?: string | undefined;
|
|
949
|
+
tags?: string | string[] | undefined;
|
|
950
|
+
idempotencyKey?: string | undefined;
|
|
951
|
+
metadata?: any;
|
|
934
952
|
idempotencyKeyTTL?: string | undefined;
|
|
935
953
|
concurrencyKey?: string | undefined;
|
|
954
|
+
delay?: string | Date | undefined;
|
|
936
955
|
ttl?: string | number | undefined;
|
|
937
956
|
parentAttempt?: string | undefined;
|
|
938
957
|
lockToVersion?: string | undefined;
|
|
939
958
|
test?: boolean | undefined;
|
|
940
959
|
metadataType?: string | undefined;
|
|
941
960
|
}, {
|
|
942
|
-
metadata?: any;
|
|
943
|
-
idempotencyKey?: string | undefined;
|
|
944
|
-
payloadType?: string | undefined;
|
|
945
|
-
tags?: string | string[] | undefined;
|
|
946
961
|
maxAttempts?: number | undefined;
|
|
947
|
-
maxDuration?: number | undefined;
|
|
948
962
|
queue?: {
|
|
949
963
|
name?: string | undefined;
|
|
950
964
|
concurrencyLimit?: number | undefined;
|
|
951
965
|
} | undefined;
|
|
952
|
-
|
|
966
|
+
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
967
|
+
maxDuration?: number | undefined;
|
|
968
|
+
payloadType?: string | undefined;
|
|
969
|
+
tags?: string | string[] | undefined;
|
|
970
|
+
idempotencyKey?: string | undefined;
|
|
971
|
+
metadata?: any;
|
|
953
972
|
idempotencyKeyTTL?: string | undefined;
|
|
954
973
|
concurrencyKey?: string | undefined;
|
|
974
|
+
delay?: string | Date | undefined;
|
|
955
975
|
ttl?: string | number | undefined;
|
|
956
976
|
parentAttempt?: string | undefined;
|
|
957
977
|
lockToVersion?: string | undefined;
|
|
@@ -961,19 +981,20 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
961
981
|
}, "strip", z.ZodTypeAny, {
|
|
962
982
|
task: string;
|
|
963
983
|
options?: {
|
|
964
|
-
metadata?: any;
|
|
965
|
-
idempotencyKey?: string | undefined;
|
|
966
|
-
payloadType?: string | undefined;
|
|
967
|
-
tags?: string | string[] | undefined;
|
|
968
984
|
maxAttempts?: number | undefined;
|
|
969
|
-
maxDuration?: number | undefined;
|
|
970
985
|
queue?: {
|
|
971
986
|
name?: string | undefined;
|
|
972
987
|
concurrencyLimit?: number | undefined;
|
|
973
988
|
} | undefined;
|
|
974
|
-
|
|
989
|
+
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
990
|
+
maxDuration?: number | undefined;
|
|
991
|
+
payloadType?: string | undefined;
|
|
992
|
+
tags?: string | string[] | undefined;
|
|
993
|
+
idempotencyKey?: string | undefined;
|
|
994
|
+
metadata?: any;
|
|
975
995
|
idempotencyKeyTTL?: string | undefined;
|
|
976
996
|
concurrencyKey?: string | undefined;
|
|
997
|
+
delay?: string | Date | undefined;
|
|
977
998
|
ttl?: string | number | undefined;
|
|
978
999
|
parentAttempt?: string | undefined;
|
|
979
1000
|
lockToVersion?: string | undefined;
|
|
@@ -985,19 +1006,20 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
985
1006
|
}, {
|
|
986
1007
|
task: string;
|
|
987
1008
|
options?: {
|
|
988
|
-
metadata?: any;
|
|
989
|
-
idempotencyKey?: string | undefined;
|
|
990
|
-
payloadType?: string | undefined;
|
|
991
|
-
tags?: string | string[] | undefined;
|
|
992
1009
|
maxAttempts?: number | undefined;
|
|
993
|
-
maxDuration?: number | undefined;
|
|
994
1010
|
queue?: {
|
|
995
1011
|
name?: string | undefined;
|
|
996
1012
|
concurrencyLimit?: number | undefined;
|
|
997
1013
|
} | undefined;
|
|
998
|
-
|
|
1014
|
+
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1015
|
+
maxDuration?: number | undefined;
|
|
1016
|
+
payloadType?: string | undefined;
|
|
1017
|
+
tags?: string | string[] | undefined;
|
|
1018
|
+
idempotencyKey?: string | undefined;
|
|
1019
|
+
metadata?: any;
|
|
999
1020
|
idempotencyKeyTTL?: string | undefined;
|
|
1000
1021
|
concurrencyKey?: string | undefined;
|
|
1022
|
+
delay?: string | Date | undefined;
|
|
1001
1023
|
ttl?: string | number | undefined;
|
|
1002
1024
|
parentAttempt?: string | undefined;
|
|
1003
1025
|
lockToVersion?: string | undefined;
|
|
@@ -1012,19 +1034,20 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1012
1034
|
items: {
|
|
1013
1035
|
task: string;
|
|
1014
1036
|
options?: {
|
|
1015
|
-
metadata?: any;
|
|
1016
|
-
idempotencyKey?: string | undefined;
|
|
1017
|
-
payloadType?: string | undefined;
|
|
1018
|
-
tags?: string | string[] | undefined;
|
|
1019
1037
|
maxAttempts?: number | undefined;
|
|
1020
|
-
maxDuration?: number | undefined;
|
|
1021
1038
|
queue?: {
|
|
1022
1039
|
name?: string | undefined;
|
|
1023
1040
|
concurrencyLimit?: number | undefined;
|
|
1024
1041
|
} | undefined;
|
|
1025
|
-
|
|
1042
|
+
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1043
|
+
maxDuration?: number | undefined;
|
|
1044
|
+
payloadType?: string | undefined;
|
|
1045
|
+
tags?: string | string[] | undefined;
|
|
1046
|
+
idempotencyKey?: string | undefined;
|
|
1047
|
+
metadata?: any;
|
|
1026
1048
|
idempotencyKeyTTL?: string | undefined;
|
|
1027
1049
|
concurrencyKey?: string | undefined;
|
|
1050
|
+
delay?: string | Date | undefined;
|
|
1028
1051
|
ttl?: string | number | undefined;
|
|
1029
1052
|
parentAttempt?: string | undefined;
|
|
1030
1053
|
lockToVersion?: string | undefined;
|
|
@@ -1039,19 +1062,20 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1039
1062
|
items: {
|
|
1040
1063
|
task: string;
|
|
1041
1064
|
options?: {
|
|
1042
|
-
metadata?: any;
|
|
1043
|
-
idempotencyKey?: string | undefined;
|
|
1044
|
-
payloadType?: string | undefined;
|
|
1045
|
-
tags?: string | string[] | undefined;
|
|
1046
1065
|
maxAttempts?: number | undefined;
|
|
1047
|
-
maxDuration?: number | undefined;
|
|
1048
1066
|
queue?: {
|
|
1049
1067
|
name?: string | undefined;
|
|
1050
1068
|
concurrencyLimit?: number | undefined;
|
|
1051
1069
|
} | undefined;
|
|
1052
|
-
|
|
1070
|
+
machine?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
1071
|
+
maxDuration?: number | undefined;
|
|
1072
|
+
payloadType?: string | undefined;
|
|
1073
|
+
tags?: string | string[] | undefined;
|
|
1074
|
+
idempotencyKey?: string | undefined;
|
|
1075
|
+
metadata?: any;
|
|
1053
1076
|
idempotencyKeyTTL?: string | undefined;
|
|
1054
1077
|
concurrencyKey?: string | undefined;
|
|
1078
|
+
delay?: string | Date | undefined;
|
|
1055
1079
|
ttl?: string | number | undefined;
|
|
1056
1080
|
parentAttempt?: string | undefined;
|
|
1057
1081
|
lockToVersion?: string | undefined;
|
|
@@ -1086,23 +1110,23 @@ export declare const BatchTriggerTaskV2Response: z.ZodObject<{
|
|
|
1086
1110
|
}>, "many">;
|
|
1087
1111
|
}, "strip", z.ZodTypeAny, {
|
|
1088
1112
|
id: string;
|
|
1113
|
+
isCached: boolean;
|
|
1089
1114
|
runs: {
|
|
1090
1115
|
id: string;
|
|
1091
1116
|
taskIdentifier: string;
|
|
1092
1117
|
isCached: boolean;
|
|
1093
1118
|
idempotencyKey?: string | undefined;
|
|
1094
1119
|
}[];
|
|
1095
|
-
isCached: boolean;
|
|
1096
1120
|
idempotencyKey?: string | undefined;
|
|
1097
1121
|
}, {
|
|
1098
1122
|
id: string;
|
|
1123
|
+
isCached: boolean;
|
|
1099
1124
|
runs: {
|
|
1100
1125
|
id: string;
|
|
1101
1126
|
taskIdentifier: string;
|
|
1102
1127
|
isCached: boolean;
|
|
1103
1128
|
idempotencyKey?: string | undefined;
|
|
1104
1129
|
}[];
|
|
1105
|
-
isCached: boolean;
|
|
1106
1130
|
idempotencyKey?: string | undefined;
|
|
1107
1131
|
}>;
|
|
1108
1132
|
export type BatchTriggerTaskV2Response = z.infer<typeof BatchTriggerTaskV2Response>;
|
|
@@ -1110,11 +1134,11 @@ export declare const BatchTriggerTaskResponse: z.ZodObject<{
|
|
|
1110
1134
|
batchId: z.ZodString;
|
|
1111
1135
|
runs: z.ZodArray<z.ZodString, "many">;
|
|
1112
1136
|
}, "strip", z.ZodTypeAny, {
|
|
1113
|
-
runs: string[];
|
|
1114
1137
|
batchId: string;
|
|
1115
|
-
}, {
|
|
1116
1138
|
runs: string[];
|
|
1139
|
+
}, {
|
|
1117
1140
|
batchId: string;
|
|
1141
|
+
runs: string[];
|
|
1118
1142
|
}>;
|
|
1119
1143
|
export type BatchTriggerTaskResponse = z.infer<typeof BatchTriggerTaskResponse>;
|
|
1120
1144
|
export declare const GetBatchResponseBody: z.ZodObject<{
|
|
@@ -1124,26 +1148,26 @@ export declare const GetBatchResponseBody: z.ZodObject<{
|
|
|
1124
1148
|
taskRunId: z.ZodString;
|
|
1125
1149
|
status: z.ZodEnum<["PENDING", "CANCELED", "COMPLETED", "FAILED"]>;
|
|
1126
1150
|
}, "strip", z.ZodTypeAny, {
|
|
1127
|
-
status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
|
|
1128
1151
|
id: string;
|
|
1152
|
+
status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
|
|
1129
1153
|
taskRunId: string;
|
|
1130
1154
|
}, {
|
|
1131
|
-
status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
|
|
1132
1155
|
id: string;
|
|
1156
|
+
status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
|
|
1133
1157
|
taskRunId: string;
|
|
1134
1158
|
}>, "many">;
|
|
1135
1159
|
}, "strip", z.ZodTypeAny, {
|
|
1136
1160
|
id: string;
|
|
1137
1161
|
items: {
|
|
1138
|
-
status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
|
|
1139
1162
|
id: string;
|
|
1163
|
+
status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
|
|
1140
1164
|
taskRunId: string;
|
|
1141
1165
|
}[];
|
|
1142
1166
|
}, {
|
|
1143
1167
|
id: string;
|
|
1144
1168
|
items: {
|
|
1145
|
-
status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
|
|
1146
1169
|
id: string;
|
|
1170
|
+
status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
|
|
1147
1171
|
taskRunId: string;
|
|
1148
1172
|
}[];
|
|
1149
1173
|
}>;
|
|
@@ -1240,8 +1264,8 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
|
|
|
1240
1264
|
}>>>;
|
|
1241
1265
|
registryHost: z.ZodOptional<z.ZodString>;
|
|
1242
1266
|
}, "strip", z.ZodTypeAny, {
|
|
1243
|
-
version: string;
|
|
1244
1267
|
id: string;
|
|
1268
|
+
version: string;
|
|
1245
1269
|
contentHash: string;
|
|
1246
1270
|
imageTag: string;
|
|
1247
1271
|
shortCode: string;
|
|
@@ -1252,8 +1276,8 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
|
|
|
1252
1276
|
} | null | undefined;
|
|
1253
1277
|
registryHost?: string | undefined;
|
|
1254
1278
|
}, {
|
|
1255
|
-
version: string;
|
|
1256
1279
|
id: string;
|
|
1280
|
+
version: string;
|
|
1257
1281
|
contentHash: string;
|
|
1258
1282
|
imageTag: string;
|
|
1259
1283
|
shortCode: string;
|
|
@@ -1376,49 +1400,49 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
1376
1400
|
exportName: z.ZodString;
|
|
1377
1401
|
}, "strip", z.ZodTypeAny, {
|
|
1378
1402
|
id: string;
|
|
1379
|
-
slug: string;
|
|
1380
|
-
filePath: string;
|
|
1381
1403
|
exportName: string;
|
|
1404
|
+
filePath: string;
|
|
1405
|
+
slug: string;
|
|
1382
1406
|
}, {
|
|
1383
1407
|
id: string;
|
|
1384
|
-
slug: string;
|
|
1385
|
-
filePath: string;
|
|
1386
1408
|
exportName: string;
|
|
1409
|
+
filePath: string;
|
|
1410
|
+
slug: string;
|
|
1387
1411
|
}>, "many">;
|
|
1388
1412
|
}, "strip", z.ZodTypeAny, {
|
|
1389
|
-
version: string;
|
|
1390
1413
|
id: string;
|
|
1391
1414
|
tasks: {
|
|
1392
1415
|
id: string;
|
|
1393
|
-
slug: string;
|
|
1394
|
-
filePath: string;
|
|
1395
1416
|
exportName: string;
|
|
1417
|
+
filePath: string;
|
|
1418
|
+
slug: string;
|
|
1396
1419
|
}[];
|
|
1397
|
-
}, {
|
|
1398
1420
|
version: string;
|
|
1421
|
+
}, {
|
|
1399
1422
|
id: string;
|
|
1400
1423
|
tasks: {
|
|
1401
1424
|
id: string;
|
|
1402
|
-
slug: string;
|
|
1403
|
-
filePath: string;
|
|
1404
1425
|
exportName: string;
|
|
1426
|
+
filePath: string;
|
|
1427
|
+
slug: string;
|
|
1405
1428
|
}[];
|
|
1429
|
+
version: string;
|
|
1406
1430
|
}>>;
|
|
1407
1431
|
}, "strip", z.ZodTypeAny, {
|
|
1408
|
-
status: "PENDING" | "CANCELED" | "TIMED_OUT" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
|
|
1409
|
-
version: string;
|
|
1410
1432
|
id: string;
|
|
1433
|
+
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
|
|
1434
|
+
version: string;
|
|
1411
1435
|
contentHash: string;
|
|
1412
1436
|
shortCode: string;
|
|
1413
1437
|
worker?: {
|
|
1414
|
-
version: string;
|
|
1415
1438
|
id: string;
|
|
1416
1439
|
tasks: {
|
|
1417
1440
|
id: string;
|
|
1418
|
-
slug: string;
|
|
1419
|
-
filePath: string;
|
|
1420
1441
|
exportName: string;
|
|
1442
|
+
filePath: string;
|
|
1443
|
+
slug: string;
|
|
1421
1444
|
}[];
|
|
1445
|
+
version: string;
|
|
1422
1446
|
} | undefined;
|
|
1423
1447
|
imageReference?: string | null | undefined;
|
|
1424
1448
|
errorData?: {
|
|
@@ -1428,20 +1452,20 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
1428
1452
|
stderr?: string | undefined;
|
|
1429
1453
|
} | null | undefined;
|
|
1430
1454
|
}, {
|
|
1431
|
-
status: "PENDING" | "CANCELED" | "TIMED_OUT" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
|
|
1432
|
-
version: string;
|
|
1433
1455
|
id: string;
|
|
1456
|
+
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
|
|
1457
|
+
version: string;
|
|
1434
1458
|
contentHash: string;
|
|
1435
1459
|
shortCode: string;
|
|
1436
1460
|
worker?: {
|
|
1437
|
-
version: string;
|
|
1438
1461
|
id: string;
|
|
1439
1462
|
tasks: {
|
|
1440
1463
|
id: string;
|
|
1441
|
-
slug: string;
|
|
1442
|
-
filePath: string;
|
|
1443
1464
|
exportName: string;
|
|
1465
|
+
filePath: string;
|
|
1466
|
+
slug: string;
|
|
1444
1467
|
}[];
|
|
1468
|
+
version: string;
|
|
1445
1469
|
} | undefined;
|
|
1446
1470
|
imageReference?: string | null | undefined;
|
|
1447
1471
|
errorData?: {
|
|
@@ -1513,20 +1537,20 @@ export declare const ScheduledTaskPayload: z.ZodObject<{
|
|
|
1513
1537
|
upcoming: z.ZodArray<z.ZodDate, "many">;
|
|
1514
1538
|
}, "strip", z.ZodTypeAny, {
|
|
1515
1539
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
1516
|
-
timestamp: Date;
|
|
1517
1540
|
timezone: string;
|
|
1518
1541
|
scheduleId: string;
|
|
1542
|
+
timestamp: Date;
|
|
1519
1543
|
upcoming: Date[];
|
|
1520
|
-
lastTimestamp?: Date | undefined;
|
|
1521
1544
|
externalId?: string | undefined;
|
|
1545
|
+
lastTimestamp?: Date | undefined;
|
|
1522
1546
|
}, {
|
|
1523
1547
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
1524
|
-
timestamp: Date;
|
|
1525
1548
|
timezone: string;
|
|
1526
1549
|
scheduleId: string;
|
|
1550
|
+
timestamp: Date;
|
|
1527
1551
|
upcoming: Date[];
|
|
1528
|
-
lastTimestamp?: Date | undefined;
|
|
1529
1552
|
externalId?: string | undefined;
|
|
1553
|
+
lastTimestamp?: Date | undefined;
|
|
1530
1554
|
}>;
|
|
1531
1555
|
export type ScheduledTaskPayload = z.infer<typeof ScheduledTaskPayload>;
|
|
1532
1556
|
export declare const CreateScheduleOptions: z.ZodObject<{
|
|
@@ -1676,47 +1700,47 @@ export declare const ScheduleObject: z.ZodObject<{
|
|
|
1676
1700
|
type: z.ZodString;
|
|
1677
1701
|
userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1678
1702
|
}, "strip", z.ZodTypeAny, {
|
|
1679
|
-
type: string;
|
|
1680
1703
|
id: string;
|
|
1704
|
+
type: string;
|
|
1681
1705
|
userName?: string | null | undefined;
|
|
1682
1706
|
}, {
|
|
1683
|
-
type: string;
|
|
1684
1707
|
id: string;
|
|
1708
|
+
type: string;
|
|
1685
1709
|
userName?: string | null | undefined;
|
|
1686
1710
|
}>, "many">;
|
|
1687
1711
|
}, "strip", z.ZodTypeAny, {
|
|
1688
|
-
type: "DECLARATIVE" | "IMPERATIVE";
|
|
1689
1712
|
id: string;
|
|
1690
|
-
|
|
1691
|
-
task: string;
|
|
1713
|
+
type: "DECLARATIVE" | "IMPERATIVE";
|
|
1692
1714
|
timezone: string;
|
|
1715
|
+
task: string;
|
|
1693
1716
|
generator: {
|
|
1694
1717
|
type: "CRON";
|
|
1695
1718
|
description: string;
|
|
1696
1719
|
expression: string;
|
|
1697
1720
|
};
|
|
1721
|
+
active: boolean;
|
|
1698
1722
|
environments: {
|
|
1699
|
-
type: string;
|
|
1700
1723
|
id: string;
|
|
1724
|
+
type: string;
|
|
1701
1725
|
userName?: string | null | undefined;
|
|
1702
1726
|
}[];
|
|
1703
1727
|
externalId?: string | null | undefined;
|
|
1704
1728
|
deduplicationKey?: string | null | undefined;
|
|
1705
1729
|
nextRun?: Date | null | undefined;
|
|
1706
1730
|
}, {
|
|
1707
|
-
type: "DECLARATIVE" | "IMPERATIVE";
|
|
1708
1731
|
id: string;
|
|
1709
|
-
|
|
1710
|
-
task: string;
|
|
1732
|
+
type: "DECLARATIVE" | "IMPERATIVE";
|
|
1711
1733
|
timezone: string;
|
|
1734
|
+
task: string;
|
|
1712
1735
|
generator: {
|
|
1713
1736
|
type: "CRON";
|
|
1714
1737
|
description: string;
|
|
1715
1738
|
expression: string;
|
|
1716
1739
|
};
|
|
1740
|
+
active: boolean;
|
|
1717
1741
|
environments: {
|
|
1718
|
-
type: string;
|
|
1719
1742
|
id: string;
|
|
1743
|
+
type: string;
|
|
1720
1744
|
userName?: string | null | undefined;
|
|
1721
1745
|
}[];
|
|
1722
1746
|
externalId?: string | null | undefined;
|
|
@@ -1760,47 +1784,47 @@ export declare const ListSchedulesResult: z.ZodObject<{
|
|
|
1760
1784
|
type: z.ZodString;
|
|
1761
1785
|
userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1762
1786
|
}, "strip", z.ZodTypeAny, {
|
|
1763
|
-
type: string;
|
|
1764
1787
|
id: string;
|
|
1788
|
+
type: string;
|
|
1765
1789
|
userName?: string | null | undefined;
|
|
1766
1790
|
}, {
|
|
1767
|
-
type: string;
|
|
1768
1791
|
id: string;
|
|
1792
|
+
type: string;
|
|
1769
1793
|
userName?: string | null | undefined;
|
|
1770
1794
|
}>, "many">;
|
|
1771
1795
|
}, "strip", z.ZodTypeAny, {
|
|
1772
|
-
type: "DECLARATIVE" | "IMPERATIVE";
|
|
1773
1796
|
id: string;
|
|
1774
|
-
|
|
1775
|
-
task: string;
|
|
1797
|
+
type: "DECLARATIVE" | "IMPERATIVE";
|
|
1776
1798
|
timezone: string;
|
|
1799
|
+
task: string;
|
|
1777
1800
|
generator: {
|
|
1778
1801
|
type: "CRON";
|
|
1779
1802
|
description: string;
|
|
1780
1803
|
expression: string;
|
|
1781
1804
|
};
|
|
1805
|
+
active: boolean;
|
|
1782
1806
|
environments: {
|
|
1783
|
-
type: string;
|
|
1784
1807
|
id: string;
|
|
1808
|
+
type: string;
|
|
1785
1809
|
userName?: string | null | undefined;
|
|
1786
1810
|
}[];
|
|
1787
1811
|
externalId?: string | null | undefined;
|
|
1788
1812
|
deduplicationKey?: string | null | undefined;
|
|
1789
1813
|
nextRun?: Date | null | undefined;
|
|
1790
1814
|
}, {
|
|
1791
|
-
type: "DECLARATIVE" | "IMPERATIVE";
|
|
1792
1815
|
id: string;
|
|
1793
|
-
|
|
1794
|
-
task: string;
|
|
1816
|
+
type: "DECLARATIVE" | "IMPERATIVE";
|
|
1795
1817
|
timezone: string;
|
|
1818
|
+
task: string;
|
|
1796
1819
|
generator: {
|
|
1797
1820
|
type: "CRON";
|
|
1798
1821
|
description: string;
|
|
1799
1822
|
expression: string;
|
|
1800
1823
|
};
|
|
1824
|
+
active: boolean;
|
|
1801
1825
|
environments: {
|
|
1802
|
-
type: string;
|
|
1803
1826
|
id: string;
|
|
1827
|
+
type: string;
|
|
1804
1828
|
userName?: string | null | undefined;
|
|
1805
1829
|
}[];
|
|
1806
1830
|
externalId?: string | null | undefined;
|
|
@@ -1822,19 +1846,19 @@ export declare const ListSchedulesResult: z.ZodObject<{
|
|
|
1822
1846
|
}>;
|
|
1823
1847
|
}, "strip", z.ZodTypeAny, {
|
|
1824
1848
|
data: {
|
|
1825
|
-
type: "DECLARATIVE" | "IMPERATIVE";
|
|
1826
1849
|
id: string;
|
|
1827
|
-
|
|
1828
|
-
task: string;
|
|
1850
|
+
type: "DECLARATIVE" | "IMPERATIVE";
|
|
1829
1851
|
timezone: string;
|
|
1852
|
+
task: string;
|
|
1830
1853
|
generator: {
|
|
1831
1854
|
type: "CRON";
|
|
1832
1855
|
description: string;
|
|
1833
1856
|
expression: string;
|
|
1834
1857
|
};
|
|
1858
|
+
active: boolean;
|
|
1835
1859
|
environments: {
|
|
1836
|
-
type: string;
|
|
1837
1860
|
id: string;
|
|
1861
|
+
type: string;
|
|
1838
1862
|
userName?: string | null | undefined;
|
|
1839
1863
|
}[];
|
|
1840
1864
|
externalId?: string | null | undefined;
|
|
@@ -1848,19 +1872,19 @@ export declare const ListSchedulesResult: z.ZodObject<{
|
|
|
1848
1872
|
};
|
|
1849
1873
|
}, {
|
|
1850
1874
|
data: {
|
|
1851
|
-
type: "DECLARATIVE" | "IMPERATIVE";
|
|
1852
1875
|
id: string;
|
|
1853
|
-
|
|
1854
|
-
task: string;
|
|
1876
|
+
type: "DECLARATIVE" | "IMPERATIVE";
|
|
1855
1877
|
timezone: string;
|
|
1878
|
+
task: string;
|
|
1856
1879
|
generator: {
|
|
1857
1880
|
type: "CRON";
|
|
1858
1881
|
description: string;
|
|
1859
1882
|
expression: string;
|
|
1860
1883
|
};
|
|
1884
|
+
active: boolean;
|
|
1861
1885
|
environments: {
|
|
1862
|
-
type: string;
|
|
1863
1886
|
id: string;
|
|
1887
|
+
type: string;
|
|
1864
1888
|
userName?: string | null | undefined;
|
|
1865
1889
|
}[];
|
|
1866
1890
|
externalId?: string | null | undefined;
|
|
@@ -1902,12 +1926,12 @@ export declare const RunEnvironmentDetails: z.ZodObject<{
|
|
|
1902
1926
|
name: z.ZodString;
|
|
1903
1927
|
user: z.ZodOptional<z.ZodString>;
|
|
1904
1928
|
}, "strip", z.ZodTypeAny, {
|
|
1905
|
-
name: string;
|
|
1906
1929
|
id: string;
|
|
1930
|
+
name: string;
|
|
1907
1931
|
user?: string | undefined;
|
|
1908
1932
|
}, {
|
|
1909
|
-
name: string;
|
|
1910
1933
|
id: string;
|
|
1934
|
+
name: string;
|
|
1911
1935
|
user?: string | undefined;
|
|
1912
1936
|
}>;
|
|
1913
1937
|
export type RunEnvironmentDetails = z.infer<typeof RunEnvironmentDetails>;
|
|
@@ -1979,12 +2003,11 @@ export declare const RelatedRunDetails: z.ZodObject<{
|
|
|
1979
2003
|
durationMs: z.ZodNumber;
|
|
1980
2004
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1981
2005
|
}, "strip", z.ZodTypeAny, {
|
|
1982
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
1983
2006
|
id: string;
|
|
1984
|
-
|
|
2007
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2008
|
+
tags: string[];
|
|
1985
2009
|
isTest: boolean;
|
|
1986
2010
|
createdAt: Date;
|
|
1987
|
-
tags: string[];
|
|
1988
2011
|
durationMs: number;
|
|
1989
2012
|
costInCents: number;
|
|
1990
2013
|
baseCostInCents: number;
|
|
@@ -1997,22 +2020,22 @@ export declare const RelatedRunDetails: z.ZodObject<{
|
|
|
1997
2020
|
isSuccess: boolean;
|
|
1998
2021
|
isFailed: boolean;
|
|
1999
2022
|
isCancelled: boolean;
|
|
2023
|
+
updatedAt: Date;
|
|
2000
2024
|
version?: string | undefined;
|
|
2001
|
-
metadata?: Record<string, any> | undefined;
|
|
2002
2025
|
startedAt?: Date | undefined;
|
|
2003
2026
|
idempotencyKey?: string | undefined;
|
|
2027
|
+
metadata?: Record<string, any> | undefined;
|
|
2004
2028
|
ttl?: string | undefined;
|
|
2005
2029
|
batchId?: string | undefined;
|
|
2006
2030
|
finishedAt?: Date | undefined;
|
|
2007
2031
|
delayedUntil?: Date | undefined;
|
|
2008
2032
|
expiredAt?: Date | undefined;
|
|
2009
2033
|
}, {
|
|
2010
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2011
2034
|
id: string;
|
|
2012
|
-
|
|
2035
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2036
|
+
tags: string[];
|
|
2013
2037
|
isTest: boolean;
|
|
2014
2038
|
createdAt: Date;
|
|
2015
|
-
tags: string[];
|
|
2016
2039
|
durationMs: number;
|
|
2017
2040
|
costInCents: number;
|
|
2018
2041
|
baseCostInCents: number;
|
|
@@ -2025,10 +2048,11 @@ export declare const RelatedRunDetails: z.ZodObject<{
|
|
|
2025
2048
|
isSuccess: boolean;
|
|
2026
2049
|
isFailed: boolean;
|
|
2027
2050
|
isCancelled: boolean;
|
|
2051
|
+
updatedAt: Date;
|
|
2028
2052
|
version?: string | undefined;
|
|
2029
|
-
metadata?: Record<string, any> | undefined;
|
|
2030
2053
|
startedAt?: Date | undefined;
|
|
2031
2054
|
idempotencyKey?: string | undefined;
|
|
2055
|
+
metadata?: Record<string, any> | undefined;
|
|
2032
2056
|
ttl?: string | undefined;
|
|
2033
2057
|
batchId?: string | undefined;
|
|
2034
2058
|
finishedAt?: Date | undefined;
|
|
@@ -2046,12 +2070,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2046
2070
|
stackTrace: z.ZodOptional<z.ZodString>;
|
|
2047
2071
|
}, "strip", z.ZodTypeAny, {
|
|
2048
2072
|
message: string;
|
|
2049
|
-
name?: string | undefined;
|
|
2050
2073
|
stackTrace?: string | undefined;
|
|
2074
|
+
name?: string | undefined;
|
|
2051
2075
|
}, {
|
|
2052
2076
|
message: string;
|
|
2053
|
-
name?: string | undefined;
|
|
2054
2077
|
stackTrace?: string | undefined;
|
|
2078
|
+
name?: string | undefined;
|
|
2055
2079
|
}>>;
|
|
2056
2080
|
schedule: z.ZodOptional<z.ZodObject<{
|
|
2057
2081
|
id: z.ZodString;
|
|
@@ -2119,12 +2143,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2119
2143
|
durationMs: z.ZodNumber;
|
|
2120
2144
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2121
2145
|
}, "strip", z.ZodTypeAny, {
|
|
2122
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2123
2146
|
id: string;
|
|
2124
|
-
|
|
2147
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2148
|
+
tags: string[];
|
|
2125
2149
|
isTest: boolean;
|
|
2126
2150
|
createdAt: Date;
|
|
2127
|
-
tags: string[];
|
|
2128
2151
|
durationMs: number;
|
|
2129
2152
|
costInCents: number;
|
|
2130
2153
|
baseCostInCents: number;
|
|
@@ -2137,22 +2160,22 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2137
2160
|
isSuccess: boolean;
|
|
2138
2161
|
isFailed: boolean;
|
|
2139
2162
|
isCancelled: boolean;
|
|
2163
|
+
updatedAt: Date;
|
|
2140
2164
|
version?: string | undefined;
|
|
2141
|
-
metadata?: Record<string, any> | undefined;
|
|
2142
2165
|
startedAt?: Date | undefined;
|
|
2143
2166
|
idempotencyKey?: string | undefined;
|
|
2167
|
+
metadata?: Record<string, any> | undefined;
|
|
2144
2168
|
ttl?: string | undefined;
|
|
2145
2169
|
batchId?: string | undefined;
|
|
2146
2170
|
finishedAt?: Date | undefined;
|
|
2147
2171
|
delayedUntil?: Date | undefined;
|
|
2148
2172
|
expiredAt?: Date | undefined;
|
|
2149
2173
|
}, {
|
|
2150
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2151
2174
|
id: string;
|
|
2152
|
-
|
|
2175
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2176
|
+
tags: string[];
|
|
2153
2177
|
isTest: boolean;
|
|
2154
2178
|
createdAt: Date;
|
|
2155
|
-
tags: string[];
|
|
2156
2179
|
durationMs: number;
|
|
2157
2180
|
costInCents: number;
|
|
2158
2181
|
baseCostInCents: number;
|
|
@@ -2165,10 +2188,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2165
2188
|
isSuccess: boolean;
|
|
2166
2189
|
isFailed: boolean;
|
|
2167
2190
|
isCancelled: boolean;
|
|
2191
|
+
updatedAt: Date;
|
|
2168
2192
|
version?: string | undefined;
|
|
2169
|
-
metadata?: Record<string, any> | undefined;
|
|
2170
2193
|
startedAt?: Date | undefined;
|
|
2171
2194
|
idempotencyKey?: string | undefined;
|
|
2195
|
+
metadata?: Record<string, any> | undefined;
|
|
2172
2196
|
ttl?: string | undefined;
|
|
2173
2197
|
batchId?: string | undefined;
|
|
2174
2198
|
finishedAt?: Date | undefined;
|
|
@@ -2204,12 +2228,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2204
2228
|
durationMs: z.ZodNumber;
|
|
2205
2229
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2206
2230
|
}, "strip", z.ZodTypeAny, {
|
|
2207
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2208
2231
|
id: string;
|
|
2209
|
-
|
|
2232
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2233
|
+
tags: string[];
|
|
2210
2234
|
isTest: boolean;
|
|
2211
2235
|
createdAt: Date;
|
|
2212
|
-
tags: string[];
|
|
2213
2236
|
durationMs: number;
|
|
2214
2237
|
costInCents: number;
|
|
2215
2238
|
baseCostInCents: number;
|
|
@@ -2222,22 +2245,22 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2222
2245
|
isSuccess: boolean;
|
|
2223
2246
|
isFailed: boolean;
|
|
2224
2247
|
isCancelled: boolean;
|
|
2248
|
+
updatedAt: Date;
|
|
2225
2249
|
version?: string | undefined;
|
|
2226
|
-
metadata?: Record<string, any> | undefined;
|
|
2227
2250
|
startedAt?: Date | undefined;
|
|
2228
2251
|
idempotencyKey?: string | undefined;
|
|
2252
|
+
metadata?: Record<string, any> | undefined;
|
|
2229
2253
|
ttl?: string | undefined;
|
|
2230
2254
|
batchId?: string | undefined;
|
|
2231
2255
|
finishedAt?: Date | undefined;
|
|
2232
2256
|
delayedUntil?: Date | undefined;
|
|
2233
2257
|
expiredAt?: Date | undefined;
|
|
2234
2258
|
}, {
|
|
2235
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2236
2259
|
id: string;
|
|
2237
|
-
|
|
2260
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2261
|
+
tags: string[];
|
|
2238
2262
|
isTest: boolean;
|
|
2239
2263
|
createdAt: Date;
|
|
2240
|
-
tags: string[];
|
|
2241
2264
|
durationMs: number;
|
|
2242
2265
|
costInCents: number;
|
|
2243
2266
|
baseCostInCents: number;
|
|
@@ -2250,10 +2273,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2250
2273
|
isSuccess: boolean;
|
|
2251
2274
|
isFailed: boolean;
|
|
2252
2275
|
isCancelled: boolean;
|
|
2276
|
+
updatedAt: Date;
|
|
2253
2277
|
version?: string | undefined;
|
|
2254
|
-
metadata?: Record<string, any> | undefined;
|
|
2255
2278
|
startedAt?: Date | undefined;
|
|
2256
2279
|
idempotencyKey?: string | undefined;
|
|
2280
|
+
metadata?: Record<string, any> | undefined;
|
|
2257
2281
|
ttl?: string | undefined;
|
|
2258
2282
|
batchId?: string | undefined;
|
|
2259
2283
|
finishedAt?: Date | undefined;
|
|
@@ -2289,12 +2313,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2289
2313
|
durationMs: z.ZodNumber;
|
|
2290
2314
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2291
2315
|
}, "strip", z.ZodTypeAny, {
|
|
2292
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2293
2316
|
id: string;
|
|
2294
|
-
|
|
2317
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2318
|
+
tags: string[];
|
|
2295
2319
|
isTest: boolean;
|
|
2296
2320
|
createdAt: Date;
|
|
2297
|
-
tags: string[];
|
|
2298
2321
|
durationMs: number;
|
|
2299
2322
|
costInCents: number;
|
|
2300
2323
|
baseCostInCents: number;
|
|
@@ -2307,22 +2330,22 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2307
2330
|
isSuccess: boolean;
|
|
2308
2331
|
isFailed: boolean;
|
|
2309
2332
|
isCancelled: boolean;
|
|
2333
|
+
updatedAt: Date;
|
|
2310
2334
|
version?: string | undefined;
|
|
2311
|
-
metadata?: Record<string, any> | undefined;
|
|
2312
2335
|
startedAt?: Date | undefined;
|
|
2313
2336
|
idempotencyKey?: string | undefined;
|
|
2337
|
+
metadata?: Record<string, any> | undefined;
|
|
2314
2338
|
ttl?: string | undefined;
|
|
2315
2339
|
batchId?: string | undefined;
|
|
2316
2340
|
finishedAt?: Date | undefined;
|
|
2317
2341
|
delayedUntil?: Date | undefined;
|
|
2318
2342
|
expiredAt?: Date | undefined;
|
|
2319
2343
|
}, {
|
|
2320
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2321
2344
|
id: string;
|
|
2322
|
-
|
|
2345
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2346
|
+
tags: string[];
|
|
2323
2347
|
isTest: boolean;
|
|
2324
2348
|
createdAt: Date;
|
|
2325
|
-
tags: string[];
|
|
2326
2349
|
durationMs: number;
|
|
2327
2350
|
costInCents: number;
|
|
2328
2351
|
baseCostInCents: number;
|
|
@@ -2335,10 +2358,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2335
2358
|
isSuccess: boolean;
|
|
2336
2359
|
isFailed: boolean;
|
|
2337
2360
|
isCancelled: boolean;
|
|
2361
|
+
updatedAt: Date;
|
|
2338
2362
|
version?: string | undefined;
|
|
2339
|
-
metadata?: Record<string, any> | undefined;
|
|
2340
2363
|
startedAt?: Date | undefined;
|
|
2341
2364
|
idempotencyKey?: string | undefined;
|
|
2365
|
+
metadata?: Record<string, any> | undefined;
|
|
2342
2366
|
ttl?: string | undefined;
|
|
2343
2367
|
batchId?: string | undefined;
|
|
2344
2368
|
finishedAt?: Date | undefined;
|
|
@@ -2347,12 +2371,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2347
2371
|
}>, "many">>;
|
|
2348
2372
|
}, "strip", z.ZodTypeAny, {
|
|
2349
2373
|
root?: {
|
|
2350
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2351
2374
|
id: string;
|
|
2352
|
-
|
|
2375
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2376
|
+
tags: string[];
|
|
2353
2377
|
isTest: boolean;
|
|
2354
2378
|
createdAt: Date;
|
|
2355
|
-
tags: string[];
|
|
2356
2379
|
durationMs: number;
|
|
2357
2380
|
costInCents: number;
|
|
2358
2381
|
baseCostInCents: number;
|
|
@@ -2365,10 +2388,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2365
2388
|
isSuccess: boolean;
|
|
2366
2389
|
isFailed: boolean;
|
|
2367
2390
|
isCancelled: boolean;
|
|
2391
|
+
updatedAt: Date;
|
|
2368
2392
|
version?: string | undefined;
|
|
2369
|
-
metadata?: Record<string, any> | undefined;
|
|
2370
2393
|
startedAt?: Date | undefined;
|
|
2371
2394
|
idempotencyKey?: string | undefined;
|
|
2395
|
+
metadata?: Record<string, any> | undefined;
|
|
2372
2396
|
ttl?: string | undefined;
|
|
2373
2397
|
batchId?: string | undefined;
|
|
2374
2398
|
finishedAt?: Date | undefined;
|
|
@@ -2376,12 +2400,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2376
2400
|
expiredAt?: Date | undefined;
|
|
2377
2401
|
} | undefined;
|
|
2378
2402
|
parent?: {
|
|
2379
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2380
2403
|
id: string;
|
|
2381
|
-
|
|
2404
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2405
|
+
tags: string[];
|
|
2382
2406
|
isTest: boolean;
|
|
2383
2407
|
createdAt: Date;
|
|
2384
|
-
tags: string[];
|
|
2385
2408
|
durationMs: number;
|
|
2386
2409
|
costInCents: number;
|
|
2387
2410
|
baseCostInCents: number;
|
|
@@ -2394,10 +2417,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2394
2417
|
isSuccess: boolean;
|
|
2395
2418
|
isFailed: boolean;
|
|
2396
2419
|
isCancelled: boolean;
|
|
2420
|
+
updatedAt: Date;
|
|
2397
2421
|
version?: string | undefined;
|
|
2398
|
-
metadata?: Record<string, any> | undefined;
|
|
2399
2422
|
startedAt?: Date | undefined;
|
|
2400
2423
|
idempotencyKey?: string | undefined;
|
|
2424
|
+
metadata?: Record<string, any> | undefined;
|
|
2401
2425
|
ttl?: string | undefined;
|
|
2402
2426
|
batchId?: string | undefined;
|
|
2403
2427
|
finishedAt?: Date | undefined;
|
|
@@ -2405,12 +2429,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2405
2429
|
expiredAt?: Date | undefined;
|
|
2406
2430
|
} | undefined;
|
|
2407
2431
|
children?: {
|
|
2408
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2409
2432
|
id: string;
|
|
2410
|
-
|
|
2433
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2434
|
+
tags: string[];
|
|
2411
2435
|
isTest: boolean;
|
|
2412
2436
|
createdAt: Date;
|
|
2413
|
-
tags: string[];
|
|
2414
2437
|
durationMs: number;
|
|
2415
2438
|
costInCents: number;
|
|
2416
2439
|
baseCostInCents: number;
|
|
@@ -2423,10 +2446,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2423
2446
|
isSuccess: boolean;
|
|
2424
2447
|
isFailed: boolean;
|
|
2425
2448
|
isCancelled: boolean;
|
|
2449
|
+
updatedAt: Date;
|
|
2426
2450
|
version?: string | undefined;
|
|
2427
|
-
metadata?: Record<string, any> | undefined;
|
|
2428
2451
|
startedAt?: Date | undefined;
|
|
2429
2452
|
idempotencyKey?: string | undefined;
|
|
2453
|
+
metadata?: Record<string, any> | undefined;
|
|
2430
2454
|
ttl?: string | undefined;
|
|
2431
2455
|
batchId?: string | undefined;
|
|
2432
2456
|
finishedAt?: Date | undefined;
|
|
@@ -2435,12 +2459,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2435
2459
|
}[] | undefined;
|
|
2436
2460
|
}, {
|
|
2437
2461
|
root?: {
|
|
2438
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2439
2462
|
id: string;
|
|
2440
|
-
|
|
2463
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2464
|
+
tags: string[];
|
|
2441
2465
|
isTest: boolean;
|
|
2442
2466
|
createdAt: Date;
|
|
2443
|
-
tags: string[];
|
|
2444
2467
|
durationMs: number;
|
|
2445
2468
|
costInCents: number;
|
|
2446
2469
|
baseCostInCents: number;
|
|
@@ -2453,10 +2476,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2453
2476
|
isSuccess: boolean;
|
|
2454
2477
|
isFailed: boolean;
|
|
2455
2478
|
isCancelled: boolean;
|
|
2479
|
+
updatedAt: Date;
|
|
2456
2480
|
version?: string | undefined;
|
|
2457
|
-
metadata?: Record<string, any> | undefined;
|
|
2458
2481
|
startedAt?: Date | undefined;
|
|
2459
2482
|
idempotencyKey?: string | undefined;
|
|
2483
|
+
metadata?: Record<string, any> | undefined;
|
|
2460
2484
|
ttl?: string | undefined;
|
|
2461
2485
|
batchId?: string | undefined;
|
|
2462
2486
|
finishedAt?: Date | undefined;
|
|
@@ -2464,12 +2488,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2464
2488
|
expiredAt?: Date | undefined;
|
|
2465
2489
|
} | undefined;
|
|
2466
2490
|
parent?: {
|
|
2467
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2468
2491
|
id: string;
|
|
2469
|
-
|
|
2492
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2493
|
+
tags: string[];
|
|
2470
2494
|
isTest: boolean;
|
|
2471
2495
|
createdAt: Date;
|
|
2472
|
-
tags: string[];
|
|
2473
2496
|
durationMs: number;
|
|
2474
2497
|
costInCents: number;
|
|
2475
2498
|
baseCostInCents: number;
|
|
@@ -2482,10 +2505,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2482
2505
|
isSuccess: boolean;
|
|
2483
2506
|
isFailed: boolean;
|
|
2484
2507
|
isCancelled: boolean;
|
|
2508
|
+
updatedAt: Date;
|
|
2485
2509
|
version?: string | undefined;
|
|
2486
|
-
metadata?: Record<string, any> | undefined;
|
|
2487
2510
|
startedAt?: Date | undefined;
|
|
2488
2511
|
idempotencyKey?: string | undefined;
|
|
2512
|
+
metadata?: Record<string, any> | undefined;
|
|
2489
2513
|
ttl?: string | undefined;
|
|
2490
2514
|
batchId?: string | undefined;
|
|
2491
2515
|
finishedAt?: Date | undefined;
|
|
@@ -2493,12 +2517,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2493
2517
|
expiredAt?: Date | undefined;
|
|
2494
2518
|
} | undefined;
|
|
2495
2519
|
children?: {
|
|
2496
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2497
2520
|
id: string;
|
|
2498
|
-
|
|
2521
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2522
|
+
tags: string[];
|
|
2499
2523
|
isTest: boolean;
|
|
2500
2524
|
createdAt: Date;
|
|
2501
|
-
tags: string[];
|
|
2502
2525
|
durationMs: number;
|
|
2503
2526
|
costInCents: number;
|
|
2504
2527
|
baseCostInCents: number;
|
|
@@ -2511,10 +2534,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2511
2534
|
isSuccess: boolean;
|
|
2512
2535
|
isFailed: boolean;
|
|
2513
2536
|
isCancelled: boolean;
|
|
2537
|
+
updatedAt: Date;
|
|
2514
2538
|
version?: string | undefined;
|
|
2515
|
-
metadata?: Record<string, any> | undefined;
|
|
2516
2539
|
startedAt?: Date | undefined;
|
|
2517
2540
|
idempotencyKey?: string | undefined;
|
|
2541
|
+
metadata?: Record<string, any> | undefined;
|
|
2518
2542
|
ttl?: string | undefined;
|
|
2519
2543
|
batchId?: string | undefined;
|
|
2520
2544
|
finishedAt?: Date | undefined;
|
|
@@ -2535,37 +2559,37 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2535
2559
|
stackTrace: z.ZodOptional<z.ZodString>;
|
|
2536
2560
|
}, "strip", z.ZodTypeAny, {
|
|
2537
2561
|
message: string;
|
|
2538
|
-
name?: string | undefined;
|
|
2539
2562
|
stackTrace?: string | undefined;
|
|
2563
|
+
name?: string | undefined;
|
|
2540
2564
|
}, {
|
|
2541
2565
|
message: string;
|
|
2542
|
-
name?: string | undefined;
|
|
2543
2566
|
stackTrace?: string | undefined;
|
|
2567
|
+
name?: string | undefined;
|
|
2544
2568
|
}>>;
|
|
2545
2569
|
}, "strip", z.ZodTypeAny, {
|
|
2546
|
-
status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
|
|
2547
2570
|
id: string;
|
|
2548
|
-
|
|
2571
|
+
status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
|
|
2549
2572
|
createdAt: Date;
|
|
2573
|
+
updatedAt: Date;
|
|
2550
2574
|
startedAt?: Date | undefined;
|
|
2551
|
-
completedAt?: Date | undefined;
|
|
2552
2575
|
error?: {
|
|
2553
2576
|
message: string;
|
|
2554
|
-
name?: string | undefined;
|
|
2555
2577
|
stackTrace?: string | undefined;
|
|
2578
|
+
name?: string | undefined;
|
|
2556
2579
|
} | undefined;
|
|
2580
|
+
completedAt?: Date | undefined;
|
|
2557
2581
|
}, {
|
|
2558
|
-
status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
|
|
2559
2582
|
id: string;
|
|
2560
|
-
|
|
2583
|
+
status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
|
|
2561
2584
|
createdAt: Date;
|
|
2585
|
+
updatedAt: Date;
|
|
2562
2586
|
startedAt?: Date | undefined;
|
|
2563
|
-
completedAt?: Date | undefined;
|
|
2564
2587
|
error?: {
|
|
2565
2588
|
message: string;
|
|
2566
|
-
name?: string | undefined;
|
|
2567
2589
|
stackTrace?: string | undefined;
|
|
2590
|
+
name?: string | undefined;
|
|
2568
2591
|
} | undefined;
|
|
2592
|
+
completedAt?: Date | undefined;
|
|
2569
2593
|
}>>, "many">;
|
|
2570
2594
|
attemptCount: z.ZodDefault<z.ZodNumber>;
|
|
2571
2595
|
depth: z.ZodNumber;
|
|
@@ -2596,37 +2620,22 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2596
2620
|
durationMs: z.ZodNumber;
|
|
2597
2621
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2598
2622
|
}, "strip", z.ZodTypeAny, {
|
|
2599
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2600
2623
|
id: string;
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
id: string;
|
|
2604
|
-
updatedAt: Date;
|
|
2605
|
-
createdAt: Date;
|
|
2606
|
-
startedAt?: Date | undefined;
|
|
2607
|
-
completedAt?: Date | undefined;
|
|
2608
|
-
error?: {
|
|
2609
|
-
message: string;
|
|
2610
|
-
name?: string | undefined;
|
|
2611
|
-
stackTrace?: string | undefined;
|
|
2612
|
-
} | undefined;
|
|
2613
|
-
} | undefined)[];
|
|
2614
|
-
updatedAt: Date;
|
|
2624
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2625
|
+
tags: string[];
|
|
2615
2626
|
isTest: boolean;
|
|
2616
2627
|
createdAt: Date;
|
|
2617
|
-
tags: string[];
|
|
2618
2628
|
durationMs: number;
|
|
2619
2629
|
costInCents: number;
|
|
2620
2630
|
baseCostInCents: number;
|
|
2621
2631
|
taskIdentifier: string;
|
|
2622
2632
|
relatedRuns: {
|
|
2623
2633
|
root?: {
|
|
2624
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2625
2634
|
id: string;
|
|
2626
|
-
|
|
2635
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2636
|
+
tags: string[];
|
|
2627
2637
|
isTest: boolean;
|
|
2628
2638
|
createdAt: Date;
|
|
2629
|
-
tags: string[];
|
|
2630
2639
|
durationMs: number;
|
|
2631
2640
|
costInCents: number;
|
|
2632
2641
|
baseCostInCents: number;
|
|
@@ -2639,10 +2648,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2639
2648
|
isSuccess: boolean;
|
|
2640
2649
|
isFailed: boolean;
|
|
2641
2650
|
isCancelled: boolean;
|
|
2651
|
+
updatedAt: Date;
|
|
2642
2652
|
version?: string | undefined;
|
|
2643
|
-
metadata?: Record<string, any> | undefined;
|
|
2644
2653
|
startedAt?: Date | undefined;
|
|
2645
2654
|
idempotencyKey?: string | undefined;
|
|
2655
|
+
metadata?: Record<string, any> | undefined;
|
|
2646
2656
|
ttl?: string | undefined;
|
|
2647
2657
|
batchId?: string | undefined;
|
|
2648
2658
|
finishedAt?: Date | undefined;
|
|
@@ -2650,12 +2660,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2650
2660
|
expiredAt?: Date | undefined;
|
|
2651
2661
|
} | undefined;
|
|
2652
2662
|
parent?: {
|
|
2653
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2654
2663
|
id: string;
|
|
2655
|
-
|
|
2664
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2665
|
+
tags: string[];
|
|
2656
2666
|
isTest: boolean;
|
|
2657
2667
|
createdAt: Date;
|
|
2658
|
-
tags: string[];
|
|
2659
2668
|
durationMs: number;
|
|
2660
2669
|
costInCents: number;
|
|
2661
2670
|
baseCostInCents: number;
|
|
@@ -2668,10 +2677,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2668
2677
|
isSuccess: boolean;
|
|
2669
2678
|
isFailed: boolean;
|
|
2670
2679
|
isCancelled: boolean;
|
|
2680
|
+
updatedAt: Date;
|
|
2671
2681
|
version?: string | undefined;
|
|
2672
|
-
metadata?: Record<string, any> | undefined;
|
|
2673
2682
|
startedAt?: Date | undefined;
|
|
2674
2683
|
idempotencyKey?: string | undefined;
|
|
2684
|
+
metadata?: Record<string, any> | undefined;
|
|
2675
2685
|
ttl?: string | undefined;
|
|
2676
2686
|
batchId?: string | undefined;
|
|
2677
2687
|
finishedAt?: Date | undefined;
|
|
@@ -2679,12 +2689,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2679
2689
|
expiredAt?: Date | undefined;
|
|
2680
2690
|
} | undefined;
|
|
2681
2691
|
children?: {
|
|
2682
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2683
2692
|
id: string;
|
|
2684
|
-
|
|
2693
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2694
|
+
tags: string[];
|
|
2685
2695
|
isTest: boolean;
|
|
2686
2696
|
createdAt: Date;
|
|
2687
|
-
tags: string[];
|
|
2688
2697
|
durationMs: number;
|
|
2689
2698
|
costInCents: number;
|
|
2690
2699
|
baseCostInCents: number;
|
|
@@ -2697,10 +2706,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2697
2706
|
isSuccess: boolean;
|
|
2698
2707
|
isFailed: boolean;
|
|
2699
2708
|
isCancelled: boolean;
|
|
2709
|
+
updatedAt: Date;
|
|
2700
2710
|
version?: string | undefined;
|
|
2701
|
-
metadata?: Record<string, any> | undefined;
|
|
2702
2711
|
startedAt?: Date | undefined;
|
|
2703
2712
|
idempotencyKey?: string | undefined;
|
|
2713
|
+
metadata?: Record<string, any> | undefined;
|
|
2704
2714
|
ttl?: string | undefined;
|
|
2705
2715
|
batchId?: string | undefined;
|
|
2706
2716
|
finishedAt?: Date | undefined;
|
|
@@ -2716,18 +2726,21 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2716
2726
|
isSuccess: boolean;
|
|
2717
2727
|
isFailed: boolean;
|
|
2718
2728
|
isCancelled: boolean;
|
|
2729
|
+
updatedAt: Date;
|
|
2730
|
+
attempts: ({
|
|
2731
|
+
id: string;
|
|
2732
|
+
status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
|
|
2733
|
+
createdAt: Date;
|
|
2734
|
+
updatedAt: Date;
|
|
2735
|
+
startedAt?: Date | undefined;
|
|
2736
|
+
error?: {
|
|
2737
|
+
message: string;
|
|
2738
|
+
stackTrace?: string | undefined;
|
|
2739
|
+
name?: string | undefined;
|
|
2740
|
+
} | undefined;
|
|
2741
|
+
completedAt?: Date | undefined;
|
|
2742
|
+
} | undefined)[];
|
|
2719
2743
|
attemptCount: number;
|
|
2720
|
-
payload?: any;
|
|
2721
|
-
version?: string | undefined;
|
|
2722
|
-
metadata?: Record<string, any> | undefined;
|
|
2723
|
-
startedAt?: Date | undefined;
|
|
2724
|
-
output?: any;
|
|
2725
|
-
error?: {
|
|
2726
|
-
message: string;
|
|
2727
|
-
name?: string | undefined;
|
|
2728
|
-
stackTrace?: string | undefined;
|
|
2729
|
-
} | undefined;
|
|
2730
|
-
idempotencyKey?: string | undefined;
|
|
2731
2744
|
schedule?: {
|
|
2732
2745
|
id: string;
|
|
2733
2746
|
generator: {
|
|
@@ -2738,45 +2751,41 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2738
2751
|
externalId?: string | undefined;
|
|
2739
2752
|
deduplicationKey?: string | undefined;
|
|
2740
2753
|
} | undefined;
|
|
2754
|
+
version?: string | undefined;
|
|
2755
|
+
output?: any;
|
|
2756
|
+
startedAt?: Date | undefined;
|
|
2757
|
+
payload?: any;
|
|
2758
|
+
idempotencyKey?: string | undefined;
|
|
2759
|
+
metadata?: Record<string, any> | undefined;
|
|
2741
2760
|
ttl?: string | undefined;
|
|
2742
2761
|
payloadPresignedUrl?: string | undefined;
|
|
2743
2762
|
outputPresignedUrl?: string | undefined;
|
|
2763
|
+
error?: {
|
|
2764
|
+
message: string;
|
|
2765
|
+
stackTrace?: string | undefined;
|
|
2766
|
+
name?: string | undefined;
|
|
2767
|
+
} | undefined;
|
|
2744
2768
|
batchId?: string | undefined;
|
|
2745
2769
|
finishedAt?: Date | undefined;
|
|
2746
2770
|
delayedUntil?: Date | undefined;
|
|
2747
2771
|
expiredAt?: Date | undefined;
|
|
2748
2772
|
}, {
|
|
2749
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2750
2773
|
id: string;
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
id: string;
|
|
2754
|
-
updatedAt: Date;
|
|
2755
|
-
createdAt: Date;
|
|
2756
|
-
startedAt?: Date | undefined;
|
|
2757
|
-
completedAt?: Date | undefined;
|
|
2758
|
-
error?: {
|
|
2759
|
-
message: string;
|
|
2760
|
-
name?: string | undefined;
|
|
2761
|
-
stackTrace?: string | undefined;
|
|
2762
|
-
} | undefined;
|
|
2763
|
-
} | undefined)[];
|
|
2764
|
-
updatedAt: Date;
|
|
2774
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2775
|
+
tags: string[];
|
|
2765
2776
|
isTest: boolean;
|
|
2766
2777
|
createdAt: Date;
|
|
2767
|
-
tags: string[];
|
|
2768
2778
|
durationMs: number;
|
|
2769
2779
|
costInCents: number;
|
|
2770
2780
|
baseCostInCents: number;
|
|
2771
2781
|
taskIdentifier: string;
|
|
2772
2782
|
relatedRuns: {
|
|
2773
2783
|
root?: {
|
|
2774
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2775
2784
|
id: string;
|
|
2776
|
-
|
|
2785
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2786
|
+
tags: string[];
|
|
2777
2787
|
isTest: boolean;
|
|
2778
2788
|
createdAt: Date;
|
|
2779
|
-
tags: string[];
|
|
2780
2789
|
durationMs: number;
|
|
2781
2790
|
costInCents: number;
|
|
2782
2791
|
baseCostInCents: number;
|
|
@@ -2789,10 +2798,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2789
2798
|
isSuccess: boolean;
|
|
2790
2799
|
isFailed: boolean;
|
|
2791
2800
|
isCancelled: boolean;
|
|
2801
|
+
updatedAt: Date;
|
|
2792
2802
|
version?: string | undefined;
|
|
2793
|
-
metadata?: Record<string, any> | undefined;
|
|
2794
2803
|
startedAt?: Date | undefined;
|
|
2795
2804
|
idempotencyKey?: string | undefined;
|
|
2805
|
+
metadata?: Record<string, any> | undefined;
|
|
2796
2806
|
ttl?: string | undefined;
|
|
2797
2807
|
batchId?: string | undefined;
|
|
2798
2808
|
finishedAt?: Date | undefined;
|
|
@@ -2800,12 +2810,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2800
2810
|
expiredAt?: Date | undefined;
|
|
2801
2811
|
} | undefined;
|
|
2802
2812
|
parent?: {
|
|
2803
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2804
2813
|
id: string;
|
|
2805
|
-
|
|
2814
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2815
|
+
tags: string[];
|
|
2806
2816
|
isTest: boolean;
|
|
2807
2817
|
createdAt: Date;
|
|
2808
|
-
tags: string[];
|
|
2809
2818
|
durationMs: number;
|
|
2810
2819
|
costInCents: number;
|
|
2811
2820
|
baseCostInCents: number;
|
|
@@ -2818,10 +2827,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2818
2827
|
isSuccess: boolean;
|
|
2819
2828
|
isFailed: boolean;
|
|
2820
2829
|
isCancelled: boolean;
|
|
2830
|
+
updatedAt: Date;
|
|
2821
2831
|
version?: string | undefined;
|
|
2822
|
-
metadata?: Record<string, any> | undefined;
|
|
2823
2832
|
startedAt?: Date | undefined;
|
|
2824
2833
|
idempotencyKey?: string | undefined;
|
|
2834
|
+
metadata?: Record<string, any> | undefined;
|
|
2825
2835
|
ttl?: string | undefined;
|
|
2826
2836
|
batchId?: string | undefined;
|
|
2827
2837
|
finishedAt?: Date | undefined;
|
|
@@ -2829,12 +2839,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2829
2839
|
expiredAt?: Date | undefined;
|
|
2830
2840
|
} | undefined;
|
|
2831
2841
|
children?: {
|
|
2832
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2833
2842
|
id: string;
|
|
2834
|
-
|
|
2843
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2844
|
+
tags: string[];
|
|
2835
2845
|
isTest: boolean;
|
|
2836
2846
|
createdAt: Date;
|
|
2837
|
-
tags: string[];
|
|
2838
2847
|
durationMs: number;
|
|
2839
2848
|
costInCents: number;
|
|
2840
2849
|
baseCostInCents: number;
|
|
@@ -2847,10 +2856,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2847
2856
|
isSuccess: boolean;
|
|
2848
2857
|
isFailed: boolean;
|
|
2849
2858
|
isCancelled: boolean;
|
|
2859
|
+
updatedAt: Date;
|
|
2850
2860
|
version?: string | undefined;
|
|
2851
|
-
metadata?: Record<string, any> | undefined;
|
|
2852
2861
|
startedAt?: Date | undefined;
|
|
2853
2862
|
idempotencyKey?: string | undefined;
|
|
2863
|
+
metadata?: Record<string, any> | undefined;
|
|
2854
2864
|
ttl?: string | undefined;
|
|
2855
2865
|
batchId?: string | undefined;
|
|
2856
2866
|
finishedAt?: Date | undefined;
|
|
@@ -2866,17 +2876,20 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2866
2876
|
isSuccess: boolean;
|
|
2867
2877
|
isFailed: boolean;
|
|
2868
2878
|
isCancelled: boolean;
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2879
|
+
updatedAt: Date;
|
|
2880
|
+
attempts: ({
|
|
2881
|
+
id: string;
|
|
2882
|
+
status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
|
|
2883
|
+
createdAt: Date;
|
|
2884
|
+
updatedAt: Date;
|
|
2885
|
+
startedAt?: Date | undefined;
|
|
2886
|
+
error?: {
|
|
2887
|
+
message: string;
|
|
2888
|
+
stackTrace?: string | undefined;
|
|
2889
|
+
name?: string | undefined;
|
|
2890
|
+
} | undefined;
|
|
2891
|
+
completedAt?: Date | undefined;
|
|
2892
|
+
} | undefined)[];
|
|
2880
2893
|
schedule?: {
|
|
2881
2894
|
id: string;
|
|
2882
2895
|
generator: {
|
|
@@ -2887,9 +2900,20 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2887
2900
|
externalId?: string | undefined;
|
|
2888
2901
|
deduplicationKey?: string | undefined;
|
|
2889
2902
|
} | undefined;
|
|
2903
|
+
version?: string | undefined;
|
|
2904
|
+
output?: any;
|
|
2905
|
+
startedAt?: Date | undefined;
|
|
2906
|
+
payload?: any;
|
|
2907
|
+
idempotencyKey?: string | undefined;
|
|
2908
|
+
metadata?: Record<string, any> | undefined;
|
|
2890
2909
|
ttl?: string | undefined;
|
|
2891
2910
|
payloadPresignedUrl?: string | undefined;
|
|
2892
2911
|
outputPresignedUrl?: string | undefined;
|
|
2912
|
+
error?: {
|
|
2913
|
+
message: string;
|
|
2914
|
+
stackTrace?: string | undefined;
|
|
2915
|
+
name?: string | undefined;
|
|
2916
|
+
} | undefined;
|
|
2893
2917
|
batchId?: string | undefined;
|
|
2894
2918
|
finishedAt?: Date | undefined;
|
|
2895
2919
|
delayedUntil?: Date | undefined;
|
|
@@ -2903,12 +2927,12 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
2903
2927
|
name: z.ZodString;
|
|
2904
2928
|
user: z.ZodOptional<z.ZodString>;
|
|
2905
2929
|
}, "strip", z.ZodTypeAny, {
|
|
2906
|
-
name: string;
|
|
2907
2930
|
id: string;
|
|
2931
|
+
name: string;
|
|
2908
2932
|
user?: string | undefined;
|
|
2909
2933
|
}, {
|
|
2910
|
-
name: string;
|
|
2911
2934
|
id: string;
|
|
2935
|
+
name: string;
|
|
2912
2936
|
user?: string | undefined;
|
|
2913
2937
|
}>;
|
|
2914
2938
|
id: z.ZodString;
|
|
@@ -2936,12 +2960,11 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
2936
2960
|
durationMs: z.ZodNumber;
|
|
2937
2961
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2938
2962
|
}, "strip", z.ZodTypeAny, {
|
|
2939
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2940
2963
|
id: string;
|
|
2941
|
-
|
|
2964
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2965
|
+
tags: string[];
|
|
2942
2966
|
isTest: boolean;
|
|
2943
2967
|
createdAt: Date;
|
|
2944
|
-
tags: string[];
|
|
2945
2968
|
durationMs: number;
|
|
2946
2969
|
costInCents: number;
|
|
2947
2970
|
baseCostInCents: number;
|
|
@@ -2952,26 +2975,26 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
2952
2975
|
isSuccess: boolean;
|
|
2953
2976
|
isFailed: boolean;
|
|
2954
2977
|
isCancelled: boolean;
|
|
2978
|
+
updatedAt: Date;
|
|
2955
2979
|
env: {
|
|
2956
|
-
name: string;
|
|
2957
2980
|
id: string;
|
|
2981
|
+
name: string;
|
|
2958
2982
|
user?: string | undefined;
|
|
2959
2983
|
};
|
|
2960
2984
|
version?: string | undefined;
|
|
2961
|
-
metadata?: Record<string, any> | undefined;
|
|
2962
2985
|
startedAt?: Date | undefined;
|
|
2963
2986
|
idempotencyKey?: string | undefined;
|
|
2987
|
+
metadata?: Record<string, any> | undefined;
|
|
2964
2988
|
ttl?: string | undefined;
|
|
2965
2989
|
finishedAt?: Date | undefined;
|
|
2966
2990
|
delayedUntil?: Date | undefined;
|
|
2967
2991
|
expiredAt?: Date | undefined;
|
|
2968
2992
|
}, {
|
|
2969
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2970
2993
|
id: string;
|
|
2971
|
-
|
|
2994
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
2995
|
+
tags: string[];
|
|
2972
2996
|
isTest: boolean;
|
|
2973
2997
|
createdAt: Date;
|
|
2974
|
-
tags: string[];
|
|
2975
2998
|
durationMs: number;
|
|
2976
2999
|
costInCents: number;
|
|
2977
3000
|
baseCostInCents: number;
|
|
@@ -2982,15 +3005,16 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
2982
3005
|
isSuccess: boolean;
|
|
2983
3006
|
isFailed: boolean;
|
|
2984
3007
|
isCancelled: boolean;
|
|
3008
|
+
updatedAt: Date;
|
|
2985
3009
|
env: {
|
|
2986
|
-
name: string;
|
|
2987
3010
|
id: string;
|
|
3011
|
+
name: string;
|
|
2988
3012
|
user?: string | undefined;
|
|
2989
3013
|
};
|
|
2990
3014
|
version?: string | undefined;
|
|
2991
|
-
metadata?: Record<string, any> | undefined;
|
|
2992
3015
|
startedAt?: Date | undefined;
|
|
2993
3016
|
idempotencyKey?: string | undefined;
|
|
3017
|
+
metadata?: Record<string, any> | undefined;
|
|
2994
3018
|
ttl?: string | undefined;
|
|
2995
3019
|
finishedAt?: Date | undefined;
|
|
2996
3020
|
delayedUntil?: Date | undefined;
|
|
@@ -3004,12 +3028,12 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3004
3028
|
name: z.ZodString;
|
|
3005
3029
|
user: z.ZodOptional<z.ZodString>;
|
|
3006
3030
|
}, "strip", z.ZodTypeAny, {
|
|
3007
|
-
name: string;
|
|
3008
3031
|
id: string;
|
|
3032
|
+
name: string;
|
|
3009
3033
|
user?: string | undefined;
|
|
3010
3034
|
}, {
|
|
3011
|
-
name: string;
|
|
3012
3035
|
id: string;
|
|
3036
|
+
name: string;
|
|
3013
3037
|
user?: string | undefined;
|
|
3014
3038
|
}>;
|
|
3015
3039
|
id: z.ZodString;
|
|
@@ -3037,12 +3061,11 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3037
3061
|
durationMs: z.ZodNumber;
|
|
3038
3062
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3039
3063
|
}, "strip", z.ZodTypeAny, {
|
|
3040
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3041
3064
|
id: string;
|
|
3042
|
-
|
|
3065
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
3066
|
+
tags: string[];
|
|
3043
3067
|
isTest: boolean;
|
|
3044
3068
|
createdAt: Date;
|
|
3045
|
-
tags: string[];
|
|
3046
3069
|
durationMs: number;
|
|
3047
3070
|
costInCents: number;
|
|
3048
3071
|
baseCostInCents: number;
|
|
@@ -3053,26 +3076,26 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3053
3076
|
isSuccess: boolean;
|
|
3054
3077
|
isFailed: boolean;
|
|
3055
3078
|
isCancelled: boolean;
|
|
3079
|
+
updatedAt: Date;
|
|
3056
3080
|
env: {
|
|
3057
|
-
name: string;
|
|
3058
3081
|
id: string;
|
|
3082
|
+
name: string;
|
|
3059
3083
|
user?: string | undefined;
|
|
3060
3084
|
};
|
|
3061
3085
|
version?: string | undefined;
|
|
3062
|
-
metadata?: Record<string, any> | undefined;
|
|
3063
3086
|
startedAt?: Date | undefined;
|
|
3064
3087
|
idempotencyKey?: string | undefined;
|
|
3088
|
+
metadata?: Record<string, any> | undefined;
|
|
3065
3089
|
ttl?: string | undefined;
|
|
3066
3090
|
finishedAt?: Date | undefined;
|
|
3067
3091
|
delayedUntil?: Date | undefined;
|
|
3068
3092
|
expiredAt?: Date | undefined;
|
|
3069
3093
|
}, {
|
|
3070
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3071
3094
|
id: string;
|
|
3072
|
-
|
|
3095
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
3096
|
+
tags: string[];
|
|
3073
3097
|
isTest: boolean;
|
|
3074
3098
|
createdAt: Date;
|
|
3075
|
-
tags: string[];
|
|
3076
3099
|
durationMs: number;
|
|
3077
3100
|
costInCents: number;
|
|
3078
3101
|
baseCostInCents: number;
|
|
@@ -3083,15 +3106,16 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3083
3106
|
isSuccess: boolean;
|
|
3084
3107
|
isFailed: boolean;
|
|
3085
3108
|
isCancelled: boolean;
|
|
3109
|
+
updatedAt: Date;
|
|
3086
3110
|
env: {
|
|
3087
|
-
name: string;
|
|
3088
3111
|
id: string;
|
|
3112
|
+
name: string;
|
|
3089
3113
|
user?: string | undefined;
|
|
3090
3114
|
};
|
|
3091
3115
|
version?: string | undefined;
|
|
3092
|
-
metadata?: Record<string, any> | undefined;
|
|
3093
3116
|
startedAt?: Date | undefined;
|
|
3094
3117
|
idempotencyKey?: string | undefined;
|
|
3118
|
+
metadata?: Record<string, any> | undefined;
|
|
3095
3119
|
ttl?: string | undefined;
|
|
3096
3120
|
finishedAt?: Date | undefined;
|
|
3097
3121
|
delayedUntil?: Date | undefined;
|
|
@@ -3109,12 +3133,11 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3109
3133
|
}>;
|
|
3110
3134
|
}, "strip", z.ZodTypeAny, {
|
|
3111
3135
|
data: {
|
|
3112
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3113
3136
|
id: string;
|
|
3114
|
-
|
|
3137
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
3138
|
+
tags: string[];
|
|
3115
3139
|
isTest: boolean;
|
|
3116
3140
|
createdAt: Date;
|
|
3117
|
-
tags: string[];
|
|
3118
3141
|
durationMs: number;
|
|
3119
3142
|
costInCents: number;
|
|
3120
3143
|
baseCostInCents: number;
|
|
@@ -3125,15 +3148,16 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3125
3148
|
isSuccess: boolean;
|
|
3126
3149
|
isFailed: boolean;
|
|
3127
3150
|
isCancelled: boolean;
|
|
3151
|
+
updatedAt: Date;
|
|
3128
3152
|
env: {
|
|
3129
|
-
name: string;
|
|
3130
3153
|
id: string;
|
|
3154
|
+
name: string;
|
|
3131
3155
|
user?: string | undefined;
|
|
3132
3156
|
};
|
|
3133
3157
|
version?: string | undefined;
|
|
3134
|
-
metadata?: Record<string, any> | undefined;
|
|
3135
3158
|
startedAt?: Date | undefined;
|
|
3136
3159
|
idempotencyKey?: string | undefined;
|
|
3160
|
+
metadata?: Record<string, any> | undefined;
|
|
3137
3161
|
ttl?: string | undefined;
|
|
3138
3162
|
finishedAt?: Date | undefined;
|
|
3139
3163
|
delayedUntil?: Date | undefined;
|
|
@@ -3145,12 +3169,11 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3145
3169
|
};
|
|
3146
3170
|
}, {
|
|
3147
3171
|
data: {
|
|
3148
|
-
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3149
3172
|
id: string;
|
|
3150
|
-
|
|
3173
|
+
status: "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
3174
|
+
tags: string[];
|
|
3151
3175
|
isTest: boolean;
|
|
3152
3176
|
createdAt: Date;
|
|
3153
|
-
tags: string[];
|
|
3154
3177
|
durationMs: number;
|
|
3155
3178
|
costInCents: number;
|
|
3156
3179
|
baseCostInCents: number;
|
|
@@ -3161,15 +3184,16 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3161
3184
|
isSuccess: boolean;
|
|
3162
3185
|
isFailed: boolean;
|
|
3163
3186
|
isCancelled: boolean;
|
|
3187
|
+
updatedAt: Date;
|
|
3164
3188
|
env: {
|
|
3165
|
-
name: string;
|
|
3166
3189
|
id: string;
|
|
3190
|
+
name: string;
|
|
3167
3191
|
user?: string | undefined;
|
|
3168
3192
|
};
|
|
3169
3193
|
version?: string | undefined;
|
|
3170
|
-
metadata?: Record<string, any> | undefined;
|
|
3171
3194
|
startedAt?: Date | undefined;
|
|
3172
3195
|
idempotencyKey?: string | undefined;
|
|
3196
|
+
metadata?: Record<string, any> | undefined;
|
|
3173
3197
|
ttl?: string | undefined;
|
|
3174
3198
|
finishedAt?: Date | undefined;
|
|
3175
3199
|
delayedUntil?: Date | undefined;
|
|
@@ -3635,15 +3659,15 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
|
|
|
3635
3659
|
message: z.ZodString;
|
|
3636
3660
|
stackTrace: z.ZodString;
|
|
3637
3661
|
}, "strip", z.ZodTypeAny, {
|
|
3638
|
-
message: string;
|
|
3639
3662
|
type: "BUILT_IN_ERROR";
|
|
3640
|
-
|
|
3663
|
+
message: string;
|
|
3641
3664
|
stackTrace: string;
|
|
3665
|
+
name: string;
|
|
3642
3666
|
}, {
|
|
3643
|
-
message: string;
|
|
3644
3667
|
type: "BUILT_IN_ERROR";
|
|
3645
|
-
|
|
3668
|
+
message: string;
|
|
3646
3669
|
stackTrace: string;
|
|
3670
|
+
name: string;
|
|
3647
3671
|
}>, z.ZodObject<{
|
|
3648
3672
|
type: z.ZodLiteral<"CUSTOM_ERROR">;
|
|
3649
3673
|
raw: z.ZodString;
|
|
@@ -3664,105 +3688,105 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
|
|
|
3664
3688
|
raw: string;
|
|
3665
3689
|
}>, z.ZodObject<{
|
|
3666
3690
|
type: z.ZodLiteral<"INTERNAL_ERROR">;
|
|
3667
|
-
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"]>;
|
|
3691
|
+
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"]>;
|
|
3668
3692
|
message: z.ZodOptional<z.ZodString>;
|
|
3669
3693
|
stackTrace: z.ZodOptional<z.ZodString>;
|
|
3670
3694
|
}, "strip", z.ZodTypeAny, {
|
|
3671
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION";
|
|
3672
3695
|
type: "INTERNAL_ERROR";
|
|
3696
|
+
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";
|
|
3673
3697
|
message?: string | undefined;
|
|
3674
3698
|
stackTrace?: string | undefined;
|
|
3675
3699
|
}, {
|
|
3676
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION";
|
|
3677
3700
|
type: "INTERNAL_ERROR";
|
|
3701
|
+
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";
|
|
3678
3702
|
message?: string | undefined;
|
|
3679
3703
|
stackTrace?: string | undefined;
|
|
3680
3704
|
}>]>>>;
|
|
3681
3705
|
}, "strip", z.ZodTypeAny, {
|
|
3682
3706
|
number: number;
|
|
3683
|
-
status: string;
|
|
3684
3707
|
id: string;
|
|
3685
|
-
|
|
3708
|
+
status: string;
|
|
3686
3709
|
isTest: boolean;
|
|
3687
3710
|
createdAt: Date;
|
|
3688
3711
|
costInCents: number;
|
|
3689
3712
|
baseCostInCents: number;
|
|
3690
3713
|
taskIdentifier: string;
|
|
3714
|
+
updatedAt: Date;
|
|
3691
3715
|
friendlyId: string;
|
|
3692
3716
|
usageDurationMs: number;
|
|
3693
3717
|
runTags: string[] | null;
|
|
3718
|
+
output?: string | null | undefined;
|
|
3719
|
+
startedAt?: string | Date | null | undefined;
|
|
3694
3720
|
payload?: string | null | undefined;
|
|
3721
|
+
payloadType?: string | null | undefined;
|
|
3722
|
+
idempotencyKey?: string | null | undefined;
|
|
3695
3723
|
metadata?: string | null | undefined;
|
|
3696
|
-
|
|
3697
|
-
completedAt?: string | Date | null | undefined;
|
|
3698
|
-
delayUntil?: string | Date | null | undefined;
|
|
3699
|
-
output?: string | null | undefined;
|
|
3724
|
+
ttl?: string | null | undefined;
|
|
3700
3725
|
error?: {
|
|
3701
|
-
|
|
3726
|
+
type: "INTERNAL_ERROR";
|
|
3727
|
+
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";
|
|
3728
|
+
message?: string | undefined;
|
|
3729
|
+
stackTrace?: string | undefined;
|
|
3730
|
+
} | {
|
|
3702
3731
|
type: "BUILT_IN_ERROR";
|
|
3703
|
-
|
|
3732
|
+
message: string;
|
|
3704
3733
|
stackTrace: string;
|
|
3734
|
+
name: string;
|
|
3705
3735
|
} | {
|
|
3706
3736
|
type: "CUSTOM_ERROR";
|
|
3707
3737
|
raw: string;
|
|
3708
3738
|
} | {
|
|
3709
3739
|
type: "STRING_ERROR";
|
|
3710
3740
|
raw: string;
|
|
3711
|
-
} | {
|
|
3712
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION";
|
|
3713
|
-
type: "INTERNAL_ERROR";
|
|
3714
|
-
message?: string | undefined;
|
|
3715
|
-
stackTrace?: string | undefined;
|
|
3716
3741
|
} | null | undefined;
|
|
3717
|
-
idempotencyKey?: string | null | undefined;
|
|
3718
|
-
payloadType?: string | null | undefined;
|
|
3719
|
-
outputType?: string | null | undefined;
|
|
3720
|
-
ttl?: string | null | undefined;
|
|
3721
3742
|
expiredAt?: string | Date | null | undefined;
|
|
3743
|
+
completedAt?: string | Date | null | undefined;
|
|
3722
3744
|
metadataType?: string | null | undefined;
|
|
3745
|
+
delayUntil?: string | Date | null | undefined;
|
|
3723
3746
|
queuedAt?: string | Date | null | undefined;
|
|
3747
|
+
outputType?: string | null | undefined;
|
|
3724
3748
|
}, {
|
|
3725
3749
|
number: number;
|
|
3726
|
-
status: string;
|
|
3727
3750
|
id: string;
|
|
3728
|
-
|
|
3751
|
+
status: string;
|
|
3729
3752
|
isTest: boolean;
|
|
3730
3753
|
createdAt: string;
|
|
3731
3754
|
costInCents: number;
|
|
3732
3755
|
baseCostInCents: number;
|
|
3733
3756
|
taskIdentifier: string;
|
|
3757
|
+
updatedAt: string;
|
|
3734
3758
|
friendlyId: string;
|
|
3735
3759
|
usageDurationMs: number;
|
|
3760
|
+
output?: string | null | undefined;
|
|
3761
|
+
startedAt?: string | null | undefined;
|
|
3736
3762
|
payload?: string | null | undefined;
|
|
3763
|
+
payloadType?: string | null | undefined;
|
|
3764
|
+
idempotencyKey?: string | null | undefined;
|
|
3737
3765
|
metadata?: string | null | undefined;
|
|
3738
|
-
|
|
3739
|
-
completedAt?: string | null | undefined;
|
|
3740
|
-
delayUntil?: string | null | undefined;
|
|
3741
|
-
output?: string | null | undefined;
|
|
3766
|
+
ttl?: string | null | undefined;
|
|
3742
3767
|
error?: {
|
|
3743
|
-
|
|
3768
|
+
type: "INTERNAL_ERROR";
|
|
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";
|
|
3770
|
+
message?: string | undefined;
|
|
3771
|
+
stackTrace?: string | undefined;
|
|
3772
|
+
} | {
|
|
3744
3773
|
type: "BUILT_IN_ERROR";
|
|
3745
|
-
|
|
3774
|
+
message: string;
|
|
3746
3775
|
stackTrace: string;
|
|
3776
|
+
name: string;
|
|
3747
3777
|
} | {
|
|
3748
3778
|
type: "CUSTOM_ERROR";
|
|
3749
3779
|
raw: string;
|
|
3750
3780
|
} | {
|
|
3751
3781
|
type: "STRING_ERROR";
|
|
3752
3782
|
raw: string;
|
|
3753
|
-
} | {
|
|
3754
|
-
code: "COULD_NOT_FIND_EXECUTOR" | "COULD_NOT_FIND_TASK" | "COULD_NOT_IMPORT_TASK" | "CONFIGURED_INCORRECTLY" | "TASK_ALREADY_RUNNING" | "TASK_EXECUTION_FAILED" | "TASK_EXECUTION_ABORTED" | "TASK_PROCESS_EXITED_WITH_NON_ZERO_CODE" | "TASK_PROCESS_SIGKILL_TIMEOUT" | "TASK_PROCESS_SIGSEGV" | "TASK_PROCESS_SIGTERM" | "TASK_PROCESS_OOM_KILLED" | "TASK_PROCESS_MAYBE_OOM_KILLED" | "TASK_RUN_CANCELLED" | "TASK_INPUT_ERROR" | "TASK_OUTPUT_ERROR" | "HANDLE_ERROR_ERROR" | "GRACEFUL_EXIT_TIMEOUT" | "TASK_RUN_HEARTBEAT_TIMEOUT" | "TASK_RUN_CRASHED" | "MAX_DURATION_EXCEEDED" | "DISK_SPACE_EXCEEDED" | "POD_EVICTED" | "POD_UNKNOWN_ERROR" | "OUTDATED_SDK_VERSION";
|
|
3755
|
-
type: "INTERNAL_ERROR";
|
|
3756
|
-
message?: string | undefined;
|
|
3757
|
-
stackTrace?: string | undefined;
|
|
3758
3783
|
} | null | undefined;
|
|
3759
|
-
idempotencyKey?: string | null | undefined;
|
|
3760
|
-
payloadType?: string | null | undefined;
|
|
3761
|
-
outputType?: string | null | undefined;
|
|
3762
|
-
ttl?: string | null | undefined;
|
|
3763
3784
|
expiredAt?: string | null | undefined;
|
|
3785
|
+
completedAt?: string | null | undefined;
|
|
3764
3786
|
metadataType?: string | null | undefined;
|
|
3787
|
+
delayUntil?: string | null | undefined;
|
|
3765
3788
|
queuedAt?: string | null | undefined;
|
|
3789
|
+
outputType?: string | null | undefined;
|
|
3766
3790
|
runTags?: string[] | null | undefined;
|
|
3767
3791
|
}>;
|
|
3768
3792
|
export type SubscribeRunRawShape = z.infer<typeof SubscribeRunRawShape>;
|
|
@@ -3776,17 +3800,17 @@ export declare const RetrieveBatchResponse: z.ZodObject<{
|
|
|
3776
3800
|
updatedAt: z.ZodDate;
|
|
3777
3801
|
runCount: z.ZodNumber;
|
|
3778
3802
|
}, "strip", z.ZodTypeAny, {
|
|
3779
|
-
status: "PENDING" | "COMPLETED";
|
|
3780
3803
|
id: string;
|
|
3781
|
-
|
|
3804
|
+
status: "COMPLETED" | "PENDING";
|
|
3782
3805
|
createdAt: Date;
|
|
3806
|
+
updatedAt: Date;
|
|
3783
3807
|
runCount: number;
|
|
3784
3808
|
idempotencyKey?: string | undefined;
|
|
3785
3809
|
}, {
|
|
3786
|
-
status: "PENDING" | "COMPLETED";
|
|
3787
3810
|
id: string;
|
|
3788
|
-
|
|
3811
|
+
status: "COMPLETED" | "PENDING";
|
|
3789
3812
|
createdAt: Date;
|
|
3813
|
+
updatedAt: Date;
|
|
3790
3814
|
runCount: number;
|
|
3791
3815
|
idempotencyKey?: string | undefined;
|
|
3792
3816
|
}>;
|
|
@@ -3799,18 +3823,18 @@ export declare const SubscribeRealtimeStreamChunkRawShape: z.ZodObject<{
|
|
|
3799
3823
|
value: z.ZodString;
|
|
3800
3824
|
createdAt: z.ZodDate;
|
|
3801
3825
|
}, "strip", z.ZodTypeAny, {
|
|
3802
|
-
value: string;
|
|
3803
3826
|
id: string;
|
|
3804
|
-
|
|
3827
|
+
value: string;
|
|
3805
3828
|
createdAt: Date;
|
|
3806
3829
|
runId: string;
|
|
3830
|
+
key: string;
|
|
3807
3831
|
sequence: number;
|
|
3808
3832
|
}, {
|
|
3809
|
-
value: string;
|
|
3810
3833
|
id: string;
|
|
3811
|
-
|
|
3834
|
+
value: string;
|
|
3812
3835
|
createdAt: Date;
|
|
3813
3836
|
runId: string;
|
|
3837
|
+
key: string;
|
|
3814
3838
|
sequence: number;
|
|
3815
3839
|
}>;
|
|
3816
3840
|
export type SubscribeRealtimeStreamChunkRawShape = z.infer<typeof SubscribeRealtimeStreamChunkRawShape>;
|