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