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