@trigger.dev/core 0.0.0-prerelease-20241219214230 → 0.0.0-prerelease-20250110154019
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/v3/apiClient/index.d.ts +169 -165
- package/dist/commonjs/v3/apiClient/index.js +9 -0
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/apiClient/runStream.d.ts +2 -17
- package/dist/commonjs/v3/apiClient/runStream.js +68 -47
- package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
- package/dist/commonjs/v3/apiClientManager/index.d.ts +1 -1
- package/dist/commonjs/v3/config.d.ts +55 -0
- package/dist/commonjs/v3/runMetadata/manager.d.ts +3 -3
- package/dist/commonjs/v3/runMetadata/manager.js +1 -7
- package/dist/commonjs/v3/runMetadata/manager.js.map +1 -1
- package/dist/commonjs/v3/schemas/api.d.ts +820 -820
- package/dist/commonjs/v3/schemas/api.js +15 -7
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +250 -250
- package/dist/commonjs/v3/schemas/fetch.d.ts +31 -31
- package/dist/commonjs/v3/schemas/messages.d.ts +3714 -3714
- package/dist/commonjs/v3/schemas/resources.d.ts +82 -82
- package/dist/commonjs/v3/schemas/schemas.d.ts +424 -424
- package/dist/commonjs/v3/types/tasks.d.ts +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/schemas/api.d.ts +8 -8
- package/dist/esm/v3/apiClient/index.d.ts +141 -137
- package/dist/esm/v3/apiClient/index.js +10 -1
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/apiClient/runStream.d.ts +2 -17
- package/dist/esm/v3/apiClient/runStream.js +67 -44
- package/dist/esm/v3/apiClient/runStream.js.map +1 -1
- package/dist/esm/v3/config.d.ts +55 -0
- package/dist/esm/v3/runMetadata/manager.d.ts +3 -3
- package/dist/esm/v3/runMetadata/manager.js +1 -7
- package/dist/esm/v3/runMetadata/manager.js.map +1 -1
- package/dist/esm/v3/schemas/api.d.ts +712 -712
- package/dist/esm/v3/schemas/api.js +15 -7
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +100 -100
- package/dist/esm/v3/schemas/messages.d.ts +2391 -2391
- package/dist/esm/v3/schemas/resources.d.ts +56 -56
- package/dist/esm/v3/schemas/schemas.d.ts +224 -224
- package/dist/esm/v3/types/tasks.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -26,38 +26,38 @@ export declare const GetProjectResponseBody: z.ZodObject<{
|
|
|
26
26
|
createdAt: z.ZodDate;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
28
|
id: string;
|
|
29
|
-
createdAt: Date;
|
|
30
|
-
slug: string;
|
|
31
29
|
title: string;
|
|
30
|
+
slug: string;
|
|
31
|
+
createdAt: Date;
|
|
32
32
|
}, {
|
|
33
33
|
id: string;
|
|
34
|
-
createdAt: Date;
|
|
35
|
-
slug: string;
|
|
36
34
|
title: string;
|
|
35
|
+
slug: string;
|
|
36
|
+
createdAt: Date;
|
|
37
37
|
}>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
id: string;
|
|
40
39
|
name: string;
|
|
41
|
-
|
|
40
|
+
id: string;
|
|
42
41
|
slug: string;
|
|
43
42
|
organization: {
|
|
44
43
|
id: string;
|
|
45
|
-
createdAt: Date;
|
|
46
|
-
slug: string;
|
|
47
44
|
title: string;
|
|
45
|
+
slug: string;
|
|
46
|
+
createdAt: Date;
|
|
48
47
|
};
|
|
48
|
+
createdAt: Date;
|
|
49
49
|
externalRef: string;
|
|
50
50
|
}, {
|
|
51
|
-
id: string;
|
|
52
51
|
name: string;
|
|
53
|
-
|
|
52
|
+
id: string;
|
|
54
53
|
slug: string;
|
|
55
54
|
organization: {
|
|
56
55
|
id: string;
|
|
57
|
-
createdAt: Date;
|
|
58
|
-
slug: string;
|
|
59
56
|
title: string;
|
|
57
|
+
slug: string;
|
|
58
|
+
createdAt: Date;
|
|
60
59
|
};
|
|
60
|
+
createdAt: Date;
|
|
61
61
|
externalRef: string;
|
|
62
62
|
}>;
|
|
63
63
|
export type GetProjectResponseBody = z.infer<typeof GetProjectResponseBody>;
|
|
@@ -74,38 +74,38 @@ export declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
|
|
|
74
74
|
createdAt: z.ZodDate;
|
|
75
75
|
}, "strip", z.ZodTypeAny, {
|
|
76
76
|
id: string;
|
|
77
|
-
createdAt: Date;
|
|
78
|
-
slug: string;
|
|
79
77
|
title: string;
|
|
78
|
+
slug: string;
|
|
79
|
+
createdAt: Date;
|
|
80
80
|
}, {
|
|
81
81
|
id: string;
|
|
82
|
-
createdAt: Date;
|
|
83
|
-
slug: string;
|
|
84
82
|
title: string;
|
|
83
|
+
slug: string;
|
|
84
|
+
createdAt: Date;
|
|
85
85
|
}>;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
|
-
id: string;
|
|
88
87
|
name: string;
|
|
89
|
-
|
|
88
|
+
id: string;
|
|
90
89
|
slug: string;
|
|
91
90
|
organization: {
|
|
92
91
|
id: string;
|
|
93
|
-
createdAt: Date;
|
|
94
|
-
slug: string;
|
|
95
92
|
title: string;
|
|
93
|
+
slug: string;
|
|
94
|
+
createdAt: Date;
|
|
96
95
|
};
|
|
96
|
+
createdAt: Date;
|
|
97
97
|
externalRef: string;
|
|
98
98
|
}, {
|
|
99
|
-
id: string;
|
|
100
99
|
name: string;
|
|
101
|
-
|
|
100
|
+
id: string;
|
|
102
101
|
slug: string;
|
|
103
102
|
organization: {
|
|
104
103
|
id: string;
|
|
105
|
-
createdAt: Date;
|
|
106
|
-
slug: string;
|
|
107
104
|
title: string;
|
|
105
|
+
slug: string;
|
|
106
|
+
createdAt: Date;
|
|
108
107
|
};
|
|
108
|
+
createdAt: Date;
|
|
109
109
|
externalRef: string;
|
|
110
110
|
}>, "many">;
|
|
111
111
|
export type GetProjectsResponseBody = z.infer<typeof GetProjectsResponseBody>;
|
|
@@ -154,29 +154,29 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
154
154
|
maxTimeoutInMs: z.ZodOptional<z.ZodNumber>;
|
|
155
155
|
randomize: z.ZodOptional<z.ZodBoolean>;
|
|
156
156
|
}, "strip", z.ZodTypeAny, {
|
|
157
|
-
maxAttempts?: number | undefined;
|
|
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?:
|
|
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?:
|
|
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>;
|
|
@@ -184,37 +184,37 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
184
184
|
cron: z.ZodString;
|
|
185
185
|
timezone: z.ZodString;
|
|
186
186
|
}, "strip", z.ZodTypeAny, {
|
|
187
|
-
timezone: string;
|
|
188
187
|
cron: string;
|
|
189
|
-
}, {
|
|
190
188
|
timezone: string;
|
|
189
|
+
}, {
|
|
191
190
|
cron: string;
|
|
191
|
+
timezone: string;
|
|
192
192
|
}>>;
|
|
193
193
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
194
194
|
}, "strip", z.ZodTypeAny, {
|
|
195
195
|
id: string;
|
|
196
196
|
filePath: string;
|
|
197
197
|
exportName: string;
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
198
|
+
description?: string | undefined;
|
|
199
|
+
schedule?: {
|
|
200
|
+
cron: string;
|
|
201
|
+
timezone: string;
|
|
201
202
|
} | undefined;
|
|
202
|
-
maxDuration?: number | 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
209
|
} | undefined;
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
210
|
+
maxDuration?: number | undefined;
|
|
211
|
+
queue?: {
|
|
212
|
+
name?: string | undefined;
|
|
213
|
+
concurrencyLimit?: number | undefined;
|
|
214
214
|
} | undefined;
|
|
215
215
|
machine?: {
|
|
216
|
-
cpu?:
|
|
217
|
-
memory?:
|
|
216
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
217
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
218
218
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
219
219
|
} | undefined;
|
|
220
220
|
triggerSource?: string | undefined;
|
|
@@ -222,26 +222,26 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
222
222
|
id: string;
|
|
223
223
|
filePath: string;
|
|
224
224
|
exportName: string;
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
225
|
+
description?: string | undefined;
|
|
226
|
+
schedule?: {
|
|
227
|
+
cron: string;
|
|
228
|
+
timezone: string;
|
|
228
229
|
} | undefined;
|
|
229
|
-
maxDuration?: number | 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
236
|
} | undefined;
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
237
|
+
maxDuration?: number | undefined;
|
|
238
|
+
queue?: {
|
|
239
|
+
name?: string | undefined;
|
|
240
|
+
concurrencyLimit?: number | undefined;
|
|
241
241
|
} | undefined;
|
|
242
242
|
machine?: {
|
|
243
|
-
cpu?:
|
|
244
|
-
memory?:
|
|
243
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
244
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
245
245
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
246
246
|
} | undefined;
|
|
247
247
|
triggerSource?: string | undefined;
|
|
@@ -267,26 +267,26 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
267
267
|
id: string;
|
|
268
268
|
filePath: string;
|
|
269
269
|
exportName: string;
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
270
|
+
description?: string | undefined;
|
|
271
|
+
schedule?: {
|
|
272
|
+
cron: string;
|
|
273
|
+
timezone: string;
|
|
273
274
|
} | undefined;
|
|
274
|
-
maxDuration?: number | undefined;
|
|
275
275
|
retry?: {
|
|
276
|
-
maxAttempts?: number | undefined;
|
|
277
276
|
factor?: number | undefined;
|
|
278
277
|
minTimeoutInMs?: number | undefined;
|
|
279
278
|
maxTimeoutInMs?: number | undefined;
|
|
280
279
|
randomize?: boolean | undefined;
|
|
280
|
+
maxAttempts?: number | undefined;
|
|
281
281
|
} | undefined;
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
282
|
+
maxDuration?: number | undefined;
|
|
283
|
+
queue?: {
|
|
284
|
+
name?: string | undefined;
|
|
285
|
+
concurrencyLimit?: number | undefined;
|
|
286
286
|
} | undefined;
|
|
287
287
|
machine?: {
|
|
288
|
-
cpu?:
|
|
289
|
-
memory?:
|
|
288
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
289
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
290
290
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
291
291
|
} | undefined;
|
|
292
292
|
triggerSource?: string | undefined;
|
|
@@ -305,26 +305,26 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
305
305
|
id: string;
|
|
306
306
|
filePath: string;
|
|
307
307
|
exportName: string;
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
308
|
+
description?: string | undefined;
|
|
309
|
+
schedule?: {
|
|
310
|
+
cron: string;
|
|
311
|
+
timezone: string;
|
|
311
312
|
} | undefined;
|
|
312
|
-
maxDuration?: number | undefined;
|
|
313
313
|
retry?: {
|
|
314
|
-
maxAttempts?: number | undefined;
|
|
315
314
|
factor?: number | undefined;
|
|
316
315
|
minTimeoutInMs?: number | undefined;
|
|
317
316
|
maxTimeoutInMs?: number | undefined;
|
|
318
317
|
randomize?: boolean | undefined;
|
|
318
|
+
maxAttempts?: number | undefined;
|
|
319
319
|
} | undefined;
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
320
|
+
maxDuration?: number | undefined;
|
|
321
|
+
queue?: {
|
|
322
|
+
name?: string | undefined;
|
|
323
|
+
concurrencyLimit?: number | undefined;
|
|
324
324
|
} | undefined;
|
|
325
325
|
machine?: {
|
|
326
|
-
cpu?:
|
|
327
|
-
memory?:
|
|
326
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
327
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
328
328
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
329
329
|
} | undefined;
|
|
330
330
|
triggerSource?: string | undefined;
|
|
@@ -346,26 +346,26 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
346
346
|
id: string;
|
|
347
347
|
filePath: string;
|
|
348
348
|
exportName: string;
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
349
|
+
description?: string | undefined;
|
|
350
|
+
schedule?: {
|
|
351
|
+
cron: string;
|
|
352
|
+
timezone: string;
|
|
352
353
|
} | undefined;
|
|
353
|
-
maxDuration?: number | undefined;
|
|
354
354
|
retry?: {
|
|
355
|
-
maxAttempts?: number | undefined;
|
|
356
355
|
factor?: number | undefined;
|
|
357
356
|
minTimeoutInMs?: number | undefined;
|
|
358
357
|
maxTimeoutInMs?: number | undefined;
|
|
359
358
|
randomize?: boolean | undefined;
|
|
359
|
+
maxAttempts?: number | undefined;
|
|
360
360
|
} | undefined;
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
361
|
+
maxDuration?: number | undefined;
|
|
362
|
+
queue?: {
|
|
363
|
+
name?: string | undefined;
|
|
364
|
+
concurrencyLimit?: number | undefined;
|
|
365
365
|
} | undefined;
|
|
366
366
|
machine?: {
|
|
367
|
-
cpu?:
|
|
368
|
-
memory?:
|
|
367
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
368
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
369
369
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
370
370
|
} | undefined;
|
|
371
371
|
triggerSource?: string | undefined;
|
|
@@ -388,26 +388,26 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
388
388
|
id: string;
|
|
389
389
|
filePath: string;
|
|
390
390
|
exportName: string;
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
391
|
+
description?: string | undefined;
|
|
392
|
+
schedule?: {
|
|
393
|
+
cron: string;
|
|
394
|
+
timezone: string;
|
|
394
395
|
} | undefined;
|
|
395
|
-
maxDuration?: number | undefined;
|
|
396
396
|
retry?: {
|
|
397
|
-
maxAttempts?: number | undefined;
|
|
398
397
|
factor?: number | undefined;
|
|
399
398
|
minTimeoutInMs?: number | undefined;
|
|
400
399
|
maxTimeoutInMs?: number | undefined;
|
|
401
400
|
randomize?: boolean | undefined;
|
|
401
|
+
maxAttempts?: number | undefined;
|
|
402
402
|
} | undefined;
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
403
|
+
maxDuration?: number | undefined;
|
|
404
|
+
queue?: {
|
|
405
|
+
name?: string | undefined;
|
|
406
|
+
concurrencyLimit?: number | undefined;
|
|
407
407
|
} | undefined;
|
|
408
408
|
machine?: {
|
|
409
|
-
cpu?:
|
|
410
|
-
memory?:
|
|
409
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
410
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
411
411
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
412
412
|
} | undefined;
|
|
413
413
|
triggerSource?: string | undefined;
|
|
@@ -431,12 +431,12 @@ export declare const CreateBackgroundWorkerResponse: z.ZodObject<{
|
|
|
431
431
|
version: z.ZodString;
|
|
432
432
|
contentHash: z.ZodString;
|
|
433
433
|
}, "strip", z.ZodTypeAny, {
|
|
434
|
-
id: string;
|
|
435
434
|
version: string;
|
|
435
|
+
id: string;
|
|
436
436
|
contentHash: string;
|
|
437
437
|
}, {
|
|
438
|
-
id: string;
|
|
439
438
|
version: string;
|
|
439
|
+
id: string;
|
|
440
440
|
contentHash: string;
|
|
441
441
|
}>;
|
|
442
442
|
export type CreateBackgroundWorkerResponse = z.infer<typeof CreateBackgroundWorkerResponse>;
|
|
@@ -474,99 +474,99 @@ 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
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
477
|
+
metadata?: any;
|
|
478
|
+
idempotencyKey?: string | undefined;
|
|
479
|
+
payloadType?: string | undefined;
|
|
480
|
+
tags?: string | string[] | undefined;
|
|
481
|
+
maxAttempts?: number | undefined;
|
|
482
|
+
maxDuration?: number | undefined;
|
|
482
483
|
queue?: {
|
|
483
484
|
name?: string | undefined;
|
|
484
485
|
concurrencyLimit?: number | undefined;
|
|
485
486
|
} | undefined;
|
|
486
|
-
concurrencyKey?: string | undefined;
|
|
487
|
-
idempotencyKey?: string | undefined;
|
|
488
|
-
idempotencyKeyTTL?: string | undefined;
|
|
489
|
-
test?: boolean | undefined;
|
|
490
|
-
payloadType?: string | undefined;
|
|
491
487
|
delay?: string | Date | undefined;
|
|
488
|
+
idempotencyKeyTTL?: string | undefined;
|
|
489
|
+
concurrencyKey?: string | undefined;
|
|
492
490
|
ttl?: string | number | undefined;
|
|
493
|
-
tags?: string | string[] | undefined;
|
|
494
|
-
maxAttempts?: number | undefined;
|
|
495
|
-
metadata?: any;
|
|
496
|
-
metadataType?: string | undefined;
|
|
497
|
-
maxDuration?: number | undefined;
|
|
498
|
-
}, {
|
|
499
491
|
dependentAttempt?: string | undefined;
|
|
500
492
|
parentAttempt?: string | undefined;
|
|
501
493
|
dependentBatch?: string | undefined;
|
|
502
494
|
parentBatch?: string | undefined;
|
|
503
495
|
lockToVersion?: string | undefined;
|
|
496
|
+
test?: boolean | undefined;
|
|
497
|
+
metadataType?: string | undefined;
|
|
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;
|
|
504
505
|
queue?: {
|
|
505
506
|
name?: string | undefined;
|
|
506
507
|
concurrencyLimit?: number | undefined;
|
|
507
508
|
} | undefined;
|
|
508
|
-
concurrencyKey?: string | undefined;
|
|
509
|
-
idempotencyKey?: string | undefined;
|
|
510
|
-
idempotencyKeyTTL?: string | undefined;
|
|
511
|
-
test?: boolean | undefined;
|
|
512
|
-
payloadType?: string | undefined;
|
|
513
509
|
delay?: string | Date | undefined;
|
|
510
|
+
idempotencyKeyTTL?: string | undefined;
|
|
511
|
+
concurrencyKey?: string | undefined;
|
|
514
512
|
ttl?: string | number | undefined;
|
|
515
|
-
tags?: string | string[] | undefined;
|
|
516
|
-
maxAttempts?: number | undefined;
|
|
517
|
-
metadata?: any;
|
|
518
|
-
metadataType?: string | undefined;
|
|
519
|
-
maxDuration?: number | undefined;
|
|
520
|
-
}>>;
|
|
521
|
-
}, "strip", z.ZodTypeAny, {
|
|
522
|
-
options?: {
|
|
523
513
|
dependentAttempt?: string | undefined;
|
|
524
514
|
parentAttempt?: string | undefined;
|
|
525
515
|
dependentBatch?: string | undefined;
|
|
526
516
|
parentBatch?: string | undefined;
|
|
527
517
|
lockToVersion?: string | undefined;
|
|
518
|
+
test?: boolean | undefined;
|
|
519
|
+
metadataType?: string | undefined;
|
|
520
|
+
}>>;
|
|
521
|
+
}, "strip", z.ZodTypeAny, {
|
|
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;
|
|
528
529
|
queue?: {
|
|
529
530
|
name?: string | undefined;
|
|
530
531
|
concurrencyLimit?: number | undefined;
|
|
531
532
|
} | undefined;
|
|
532
|
-
concurrencyKey?: string | undefined;
|
|
533
|
-
idempotencyKey?: string | undefined;
|
|
534
|
-
idempotencyKeyTTL?: string | undefined;
|
|
535
|
-
test?: boolean | undefined;
|
|
536
|
-
payloadType?: string | undefined;
|
|
537
533
|
delay?: string | Date | undefined;
|
|
534
|
+
idempotencyKeyTTL?: string | undefined;
|
|
535
|
+
concurrencyKey?: string | undefined;
|
|
538
536
|
ttl?: string | number | undefined;
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
537
|
+
dependentAttempt?: string | undefined;
|
|
538
|
+
parentAttempt?: string | undefined;
|
|
539
|
+
dependentBatch?: string | undefined;
|
|
540
|
+
parentBatch?: string | undefined;
|
|
541
|
+
lockToVersion?: string | undefined;
|
|
542
|
+
test?: boolean | undefined;
|
|
542
543
|
metadataType?: string | undefined;
|
|
543
|
-
maxDuration?: number | undefined;
|
|
544
544
|
} | undefined;
|
|
545
545
|
payload?: any;
|
|
546
546
|
context?: any;
|
|
547
547
|
}, {
|
|
548
548
|
options?: {
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
549
|
+
metadata?: any;
|
|
550
|
+
idempotencyKey?: string | undefined;
|
|
551
|
+
payloadType?: string | undefined;
|
|
552
|
+
tags?: string | string[] | undefined;
|
|
553
|
+
maxAttempts?: number | undefined;
|
|
554
|
+
maxDuration?: number | undefined;
|
|
554
555
|
queue?: {
|
|
555
556
|
name?: string | undefined;
|
|
556
557
|
concurrencyLimit?: number | undefined;
|
|
557
558
|
} | undefined;
|
|
558
|
-
concurrencyKey?: string | undefined;
|
|
559
|
-
idempotencyKey?: string | undefined;
|
|
560
|
-
idempotencyKeyTTL?: string | undefined;
|
|
561
|
-
test?: boolean | undefined;
|
|
562
|
-
payloadType?: string | undefined;
|
|
563
559
|
delay?: string | Date | undefined;
|
|
560
|
+
idempotencyKeyTTL?: string | undefined;
|
|
561
|
+
concurrencyKey?: string | undefined;
|
|
564
562
|
ttl?: string | number | undefined;
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
563
|
+
dependentAttempt?: string | undefined;
|
|
564
|
+
parentAttempt?: string | undefined;
|
|
565
|
+
dependentBatch?: string | undefined;
|
|
566
|
+
parentBatch?: string | undefined;
|
|
567
|
+
lockToVersion?: string | undefined;
|
|
568
|
+
test?: boolean | undefined;
|
|
568
569
|
metadataType?: string | undefined;
|
|
569
|
-
maxDuration?: number | undefined;
|
|
570
570
|
} | undefined;
|
|
571
571
|
payload?: any;
|
|
572
572
|
context?: any;
|
|
@@ -613,99 +613,99 @@ 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
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
616
|
+
metadata?: any;
|
|
617
|
+
idempotencyKey?: string | undefined;
|
|
618
|
+
payloadType?: string | undefined;
|
|
619
|
+
tags?: string | string[] | undefined;
|
|
620
|
+
maxAttempts?: number | undefined;
|
|
621
|
+
maxDuration?: number | undefined;
|
|
621
622
|
queue?: {
|
|
622
623
|
name?: string | undefined;
|
|
623
624
|
concurrencyLimit?: number | undefined;
|
|
624
625
|
} | undefined;
|
|
625
|
-
concurrencyKey?: string | undefined;
|
|
626
|
-
idempotencyKey?: string | undefined;
|
|
627
|
-
idempotencyKeyTTL?: string | undefined;
|
|
628
|
-
test?: boolean | undefined;
|
|
629
|
-
payloadType?: string | undefined;
|
|
630
626
|
delay?: string | Date | undefined;
|
|
627
|
+
idempotencyKeyTTL?: string | undefined;
|
|
628
|
+
concurrencyKey?: string | undefined;
|
|
631
629
|
ttl?: string | number | undefined;
|
|
632
|
-
tags?: string | string[] | undefined;
|
|
633
|
-
maxAttempts?: number | undefined;
|
|
634
|
-
metadata?: any;
|
|
635
|
-
metadataType?: string | undefined;
|
|
636
|
-
maxDuration?: number | undefined;
|
|
637
|
-
}, {
|
|
638
630
|
dependentAttempt?: string | undefined;
|
|
639
631
|
parentAttempt?: string | undefined;
|
|
640
632
|
dependentBatch?: string | undefined;
|
|
641
633
|
parentBatch?: string | undefined;
|
|
642
634
|
lockToVersion?: string | undefined;
|
|
635
|
+
test?: boolean | undefined;
|
|
636
|
+
metadataType?: string | undefined;
|
|
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;
|
|
643
644
|
queue?: {
|
|
644
645
|
name?: string | undefined;
|
|
645
646
|
concurrencyLimit?: number | undefined;
|
|
646
647
|
} | undefined;
|
|
647
|
-
concurrencyKey?: string | undefined;
|
|
648
|
-
idempotencyKey?: string | undefined;
|
|
649
|
-
idempotencyKeyTTL?: string | undefined;
|
|
650
|
-
test?: boolean | undefined;
|
|
651
|
-
payloadType?: string | undefined;
|
|
652
648
|
delay?: string | Date | undefined;
|
|
649
|
+
idempotencyKeyTTL?: string | undefined;
|
|
650
|
+
concurrencyKey?: string | undefined;
|
|
653
651
|
ttl?: string | number | undefined;
|
|
654
|
-
tags?: string | string[] | undefined;
|
|
655
|
-
maxAttempts?: number | undefined;
|
|
656
|
-
metadata?: any;
|
|
657
|
-
metadataType?: string | undefined;
|
|
658
|
-
maxDuration?: number | undefined;
|
|
659
|
-
}>>;
|
|
660
|
-
}, "strip", z.ZodTypeAny, {
|
|
661
|
-
options?: {
|
|
662
652
|
dependentAttempt?: string | undefined;
|
|
663
653
|
parentAttempt?: string | undefined;
|
|
664
654
|
dependentBatch?: string | undefined;
|
|
665
655
|
parentBatch?: string | undefined;
|
|
666
656
|
lockToVersion?: string | undefined;
|
|
657
|
+
test?: boolean | undefined;
|
|
658
|
+
metadataType?: string | undefined;
|
|
659
|
+
}>>;
|
|
660
|
+
}, "strip", z.ZodTypeAny, {
|
|
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;
|
|
667
668
|
queue?: {
|
|
668
669
|
name?: string | undefined;
|
|
669
670
|
concurrencyLimit?: number | undefined;
|
|
670
671
|
} | undefined;
|
|
671
|
-
concurrencyKey?: string | undefined;
|
|
672
|
-
idempotencyKey?: string | undefined;
|
|
673
|
-
idempotencyKeyTTL?: string | undefined;
|
|
674
|
-
test?: boolean | undefined;
|
|
675
|
-
payloadType?: string | undefined;
|
|
676
672
|
delay?: string | Date | undefined;
|
|
673
|
+
idempotencyKeyTTL?: string | undefined;
|
|
674
|
+
concurrencyKey?: string | undefined;
|
|
677
675
|
ttl?: string | number | undefined;
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
676
|
+
dependentAttempt?: string | undefined;
|
|
677
|
+
parentAttempt?: string | undefined;
|
|
678
|
+
dependentBatch?: string | undefined;
|
|
679
|
+
parentBatch?: string | undefined;
|
|
680
|
+
lockToVersion?: string | undefined;
|
|
681
|
+
test?: boolean | undefined;
|
|
681
682
|
metadataType?: string | undefined;
|
|
682
|
-
maxDuration?: number | undefined;
|
|
683
683
|
} | undefined;
|
|
684
684
|
payload?: any;
|
|
685
685
|
context?: any;
|
|
686
686
|
}, {
|
|
687
687
|
options?: {
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
688
|
+
metadata?: any;
|
|
689
|
+
idempotencyKey?: string | undefined;
|
|
690
|
+
payloadType?: string | undefined;
|
|
691
|
+
tags?: string | string[] | undefined;
|
|
692
|
+
maxAttempts?: number | undefined;
|
|
693
|
+
maxDuration?: number | undefined;
|
|
693
694
|
queue?: {
|
|
694
695
|
name?: string | undefined;
|
|
695
696
|
concurrencyLimit?: number | undefined;
|
|
696
697
|
} | undefined;
|
|
697
|
-
concurrencyKey?: string | undefined;
|
|
698
|
-
idempotencyKey?: string | undefined;
|
|
699
|
-
idempotencyKeyTTL?: string | undefined;
|
|
700
|
-
test?: boolean | undefined;
|
|
701
|
-
payloadType?: string | undefined;
|
|
702
698
|
delay?: string | Date | undefined;
|
|
699
|
+
idempotencyKeyTTL?: string | undefined;
|
|
700
|
+
concurrencyKey?: string | undefined;
|
|
703
701
|
ttl?: string | number | undefined;
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
702
|
+
dependentAttempt?: string | undefined;
|
|
703
|
+
parentAttempt?: string | undefined;
|
|
704
|
+
dependentBatch?: string | undefined;
|
|
705
|
+
parentBatch?: string | undefined;
|
|
706
|
+
lockToVersion?: string | undefined;
|
|
707
|
+
test?: boolean | undefined;
|
|
707
708
|
metadataType?: string | undefined;
|
|
708
|
-
maxDuration?: number | undefined;
|
|
709
709
|
} | undefined;
|
|
710
710
|
payload?: any;
|
|
711
711
|
context?: any;
|
|
@@ -714,27 +714,27 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
714
714
|
}, "strip", z.ZodTypeAny, {
|
|
715
715
|
items: {
|
|
716
716
|
options?: {
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
717
|
+
metadata?: any;
|
|
718
|
+
idempotencyKey?: string | undefined;
|
|
719
|
+
payloadType?: string | undefined;
|
|
720
|
+
tags?: string | string[] | undefined;
|
|
721
|
+
maxAttempts?: number | undefined;
|
|
722
|
+
maxDuration?: number | undefined;
|
|
722
723
|
queue?: {
|
|
723
724
|
name?: string | undefined;
|
|
724
725
|
concurrencyLimit?: number | undefined;
|
|
725
726
|
} | undefined;
|
|
726
|
-
concurrencyKey?: string | undefined;
|
|
727
|
-
idempotencyKey?: string | undefined;
|
|
728
|
-
idempotencyKeyTTL?: string | undefined;
|
|
729
|
-
test?: boolean | undefined;
|
|
730
|
-
payloadType?: string | undefined;
|
|
731
727
|
delay?: string | Date | undefined;
|
|
728
|
+
idempotencyKeyTTL?: string | undefined;
|
|
729
|
+
concurrencyKey?: string | undefined;
|
|
732
730
|
ttl?: string | number | undefined;
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
731
|
+
dependentAttempt?: string | undefined;
|
|
732
|
+
parentAttempt?: string | undefined;
|
|
733
|
+
dependentBatch?: string | undefined;
|
|
734
|
+
parentBatch?: string | undefined;
|
|
735
|
+
lockToVersion?: string | undefined;
|
|
736
|
+
test?: boolean | undefined;
|
|
736
737
|
metadataType?: string | undefined;
|
|
737
|
-
maxDuration?: number | undefined;
|
|
738
738
|
} | undefined;
|
|
739
739
|
payload?: any;
|
|
740
740
|
context?: any;
|
|
@@ -743,27 +743,27 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
743
743
|
}, {
|
|
744
744
|
items: {
|
|
745
745
|
options?: {
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
746
|
+
metadata?: any;
|
|
747
|
+
idempotencyKey?: string | undefined;
|
|
748
|
+
payloadType?: string | undefined;
|
|
749
|
+
tags?: string | string[] | undefined;
|
|
750
|
+
maxAttempts?: number | undefined;
|
|
751
|
+
maxDuration?: number | undefined;
|
|
751
752
|
queue?: {
|
|
752
753
|
name?: string | undefined;
|
|
753
754
|
concurrencyLimit?: number | undefined;
|
|
754
755
|
} | undefined;
|
|
755
|
-
concurrencyKey?: string | undefined;
|
|
756
|
-
idempotencyKey?: string | undefined;
|
|
757
|
-
idempotencyKeyTTL?: string | undefined;
|
|
758
|
-
test?: boolean | undefined;
|
|
759
|
-
payloadType?: string | undefined;
|
|
760
756
|
delay?: string | Date | undefined;
|
|
757
|
+
idempotencyKeyTTL?: string | undefined;
|
|
758
|
+
concurrencyKey?: string | undefined;
|
|
761
759
|
ttl?: string | number | undefined;
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
760
|
+
dependentAttempt?: string | undefined;
|
|
761
|
+
parentAttempt?: string | undefined;
|
|
762
|
+
dependentBatch?: string | undefined;
|
|
763
|
+
parentBatch?: string | undefined;
|
|
764
|
+
lockToVersion?: string | undefined;
|
|
765
|
+
test?: boolean | undefined;
|
|
765
766
|
metadataType?: string | undefined;
|
|
766
|
-
maxDuration?: number | undefined;
|
|
767
767
|
} | undefined;
|
|
768
768
|
payload?: any;
|
|
769
769
|
context?: any;
|
|
@@ -801,89 +801,89 @@ 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
|
-
|
|
805
|
-
|
|
804
|
+
metadata?: any;
|
|
805
|
+
idempotencyKey?: string | undefined;
|
|
806
|
+
payloadType?: string | undefined;
|
|
807
|
+
tags?: string | string[] | undefined;
|
|
808
|
+
maxAttempts?: number | undefined;
|
|
809
|
+
maxDuration?: number | undefined;
|
|
806
810
|
queue?: {
|
|
807
811
|
name?: string | undefined;
|
|
808
812
|
concurrencyLimit?: number | undefined;
|
|
809
813
|
} | undefined;
|
|
810
|
-
|
|
811
|
-
idempotencyKey?: string | undefined;
|
|
814
|
+
delay?: string | Date | undefined;
|
|
812
815
|
idempotencyKeyTTL?: string | undefined;
|
|
816
|
+
concurrencyKey?: string | undefined;
|
|
817
|
+
ttl?: string | number | undefined;
|
|
818
|
+
parentAttempt?: string | undefined;
|
|
819
|
+
lockToVersion?: string | undefined;
|
|
813
820
|
test?: boolean | undefined;
|
|
821
|
+
metadataType?: string | undefined;
|
|
822
|
+
}, {
|
|
823
|
+
metadata?: any;
|
|
824
|
+
idempotencyKey?: string | undefined;
|
|
814
825
|
payloadType?: string | undefined;
|
|
815
|
-
delay?: string | Date | undefined;
|
|
816
|
-
ttl?: string | number | undefined;
|
|
817
826
|
tags?: string | string[] | undefined;
|
|
818
827
|
maxAttempts?: number | undefined;
|
|
819
|
-
metadata?: any;
|
|
820
|
-
metadataType?: string | undefined;
|
|
821
828
|
maxDuration?: number | undefined;
|
|
822
|
-
}, {
|
|
823
|
-
parentAttempt?: string | undefined;
|
|
824
|
-
lockToVersion?: string | undefined;
|
|
825
829
|
queue?: {
|
|
826
830
|
name?: string | undefined;
|
|
827
831
|
concurrencyLimit?: number | undefined;
|
|
828
832
|
} | undefined;
|
|
829
|
-
concurrencyKey?: string | undefined;
|
|
830
|
-
idempotencyKey?: string | undefined;
|
|
831
|
-
idempotencyKeyTTL?: string | undefined;
|
|
832
|
-
test?: boolean | undefined;
|
|
833
|
-
payloadType?: string | undefined;
|
|
834
833
|
delay?: string | Date | undefined;
|
|
834
|
+
idempotencyKeyTTL?: string | undefined;
|
|
835
|
+
concurrencyKey?: string | undefined;
|
|
835
836
|
ttl?: string | number | undefined;
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
837
|
+
parentAttempt?: string | undefined;
|
|
838
|
+
lockToVersion?: string | undefined;
|
|
839
|
+
test?: boolean | undefined;
|
|
839
840
|
metadataType?: string | undefined;
|
|
840
|
-
maxDuration?: number | undefined;
|
|
841
841
|
}>>;
|
|
842
842
|
}, "strip", z.ZodTypeAny, {
|
|
843
843
|
task: string;
|
|
844
844
|
options?: {
|
|
845
|
-
|
|
846
|
-
|
|
845
|
+
metadata?: any;
|
|
846
|
+
idempotencyKey?: string | undefined;
|
|
847
|
+
payloadType?: string | undefined;
|
|
848
|
+
tags?: string | string[] | undefined;
|
|
849
|
+
maxAttempts?: number | undefined;
|
|
850
|
+
maxDuration?: number | undefined;
|
|
847
851
|
queue?: {
|
|
848
852
|
name?: string | undefined;
|
|
849
853
|
concurrencyLimit?: number | undefined;
|
|
850
854
|
} | undefined;
|
|
851
|
-
concurrencyKey?: string | undefined;
|
|
852
|
-
idempotencyKey?: string | undefined;
|
|
853
|
-
idempotencyKeyTTL?: string | undefined;
|
|
854
|
-
test?: boolean | undefined;
|
|
855
|
-
payloadType?: string | undefined;
|
|
856
855
|
delay?: string | Date | undefined;
|
|
856
|
+
idempotencyKeyTTL?: string | undefined;
|
|
857
|
+
concurrencyKey?: string | undefined;
|
|
857
858
|
ttl?: string | number | undefined;
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
859
|
+
parentAttempt?: string | undefined;
|
|
860
|
+
lockToVersion?: string | undefined;
|
|
861
|
+
test?: boolean | undefined;
|
|
861
862
|
metadataType?: string | undefined;
|
|
862
|
-
maxDuration?: number | undefined;
|
|
863
863
|
} | undefined;
|
|
864
864
|
payload?: any;
|
|
865
865
|
context?: any;
|
|
866
866
|
}, {
|
|
867
867
|
task: string;
|
|
868
868
|
options?: {
|
|
869
|
-
|
|
870
|
-
|
|
869
|
+
metadata?: any;
|
|
870
|
+
idempotencyKey?: string | undefined;
|
|
871
|
+
payloadType?: string | undefined;
|
|
872
|
+
tags?: string | string[] | undefined;
|
|
873
|
+
maxAttempts?: number | undefined;
|
|
874
|
+
maxDuration?: number | undefined;
|
|
871
875
|
queue?: {
|
|
872
876
|
name?: string | undefined;
|
|
873
877
|
concurrencyLimit?: number | undefined;
|
|
874
878
|
} | undefined;
|
|
875
|
-
concurrencyKey?: string | undefined;
|
|
876
|
-
idempotencyKey?: string | undefined;
|
|
877
|
-
idempotencyKeyTTL?: string | undefined;
|
|
878
|
-
test?: boolean | undefined;
|
|
879
|
-
payloadType?: string | undefined;
|
|
880
879
|
delay?: string | Date | undefined;
|
|
880
|
+
idempotencyKeyTTL?: string | undefined;
|
|
881
|
+
concurrencyKey?: string | undefined;
|
|
881
882
|
ttl?: string | number | undefined;
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
883
|
+
parentAttempt?: string | undefined;
|
|
884
|
+
lockToVersion?: string | undefined;
|
|
885
|
+
test?: boolean | undefined;
|
|
885
886
|
metadataType?: string | undefined;
|
|
886
|
-
maxDuration?: number | undefined;
|
|
887
887
|
} | undefined;
|
|
888
888
|
payload?: any;
|
|
889
889
|
context?: any;
|
|
@@ -920,89 +920,89 @@ 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
|
-
|
|
924
|
-
|
|
923
|
+
metadata?: any;
|
|
924
|
+
idempotencyKey?: string | undefined;
|
|
925
|
+
payloadType?: string | undefined;
|
|
926
|
+
tags?: string | string[] | undefined;
|
|
927
|
+
maxAttempts?: number | undefined;
|
|
928
|
+
maxDuration?: number | undefined;
|
|
925
929
|
queue?: {
|
|
926
930
|
name?: string | undefined;
|
|
927
931
|
concurrencyLimit?: number | undefined;
|
|
928
932
|
} | undefined;
|
|
929
|
-
|
|
930
|
-
idempotencyKey?: string | undefined;
|
|
933
|
+
delay?: string | Date | undefined;
|
|
931
934
|
idempotencyKeyTTL?: string | undefined;
|
|
935
|
+
concurrencyKey?: string | undefined;
|
|
936
|
+
ttl?: string | number | undefined;
|
|
937
|
+
parentAttempt?: string | undefined;
|
|
938
|
+
lockToVersion?: string | undefined;
|
|
932
939
|
test?: boolean | undefined;
|
|
940
|
+
metadataType?: string | undefined;
|
|
941
|
+
}, {
|
|
942
|
+
metadata?: any;
|
|
943
|
+
idempotencyKey?: string | undefined;
|
|
933
944
|
payloadType?: string | undefined;
|
|
934
|
-
delay?: string | Date | undefined;
|
|
935
|
-
ttl?: string | number | undefined;
|
|
936
945
|
tags?: string | string[] | undefined;
|
|
937
946
|
maxAttempts?: number | undefined;
|
|
938
|
-
metadata?: any;
|
|
939
|
-
metadataType?: string | undefined;
|
|
940
947
|
maxDuration?: number | undefined;
|
|
941
|
-
}, {
|
|
942
|
-
parentAttempt?: string | undefined;
|
|
943
|
-
lockToVersion?: string | undefined;
|
|
944
948
|
queue?: {
|
|
945
949
|
name?: string | undefined;
|
|
946
950
|
concurrencyLimit?: number | undefined;
|
|
947
951
|
} | undefined;
|
|
948
|
-
concurrencyKey?: string | undefined;
|
|
949
|
-
idempotencyKey?: string | undefined;
|
|
950
|
-
idempotencyKeyTTL?: string | undefined;
|
|
951
|
-
test?: boolean | undefined;
|
|
952
|
-
payloadType?: string | undefined;
|
|
953
952
|
delay?: string | Date | undefined;
|
|
953
|
+
idempotencyKeyTTL?: string | undefined;
|
|
954
|
+
concurrencyKey?: string | undefined;
|
|
954
955
|
ttl?: string | number | undefined;
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
956
|
+
parentAttempt?: string | undefined;
|
|
957
|
+
lockToVersion?: string | undefined;
|
|
958
|
+
test?: boolean | undefined;
|
|
958
959
|
metadataType?: string | undefined;
|
|
959
|
-
maxDuration?: number | undefined;
|
|
960
960
|
}>>;
|
|
961
961
|
}, "strip", z.ZodTypeAny, {
|
|
962
962
|
task: string;
|
|
963
963
|
options?: {
|
|
964
|
-
|
|
965
|
-
|
|
964
|
+
metadata?: any;
|
|
965
|
+
idempotencyKey?: string | undefined;
|
|
966
|
+
payloadType?: string | undefined;
|
|
967
|
+
tags?: string | string[] | undefined;
|
|
968
|
+
maxAttempts?: number | undefined;
|
|
969
|
+
maxDuration?: number | undefined;
|
|
966
970
|
queue?: {
|
|
967
971
|
name?: string | undefined;
|
|
968
972
|
concurrencyLimit?: number | undefined;
|
|
969
973
|
} | undefined;
|
|
970
|
-
concurrencyKey?: string | undefined;
|
|
971
|
-
idempotencyKey?: string | undefined;
|
|
972
|
-
idempotencyKeyTTL?: string | undefined;
|
|
973
|
-
test?: boolean | undefined;
|
|
974
|
-
payloadType?: string | undefined;
|
|
975
974
|
delay?: string | Date | undefined;
|
|
975
|
+
idempotencyKeyTTL?: string | undefined;
|
|
976
|
+
concurrencyKey?: string | undefined;
|
|
976
977
|
ttl?: string | number | undefined;
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
978
|
+
parentAttempt?: string | undefined;
|
|
979
|
+
lockToVersion?: string | undefined;
|
|
980
|
+
test?: boolean | undefined;
|
|
980
981
|
metadataType?: string | undefined;
|
|
981
|
-
maxDuration?: number | undefined;
|
|
982
982
|
} | undefined;
|
|
983
983
|
payload?: any;
|
|
984
984
|
context?: any;
|
|
985
985
|
}, {
|
|
986
986
|
task: string;
|
|
987
987
|
options?: {
|
|
988
|
-
|
|
989
|
-
|
|
988
|
+
metadata?: any;
|
|
989
|
+
idempotencyKey?: string | undefined;
|
|
990
|
+
payloadType?: string | undefined;
|
|
991
|
+
tags?: string | string[] | undefined;
|
|
992
|
+
maxAttempts?: number | undefined;
|
|
993
|
+
maxDuration?: number | undefined;
|
|
990
994
|
queue?: {
|
|
991
995
|
name?: string | undefined;
|
|
992
996
|
concurrencyLimit?: number | undefined;
|
|
993
997
|
} | undefined;
|
|
994
|
-
concurrencyKey?: string | undefined;
|
|
995
|
-
idempotencyKey?: string | undefined;
|
|
996
|
-
idempotencyKeyTTL?: string | undefined;
|
|
997
|
-
test?: boolean | undefined;
|
|
998
|
-
payloadType?: string | undefined;
|
|
999
998
|
delay?: string | Date | undefined;
|
|
999
|
+
idempotencyKeyTTL?: string | undefined;
|
|
1000
|
+
concurrencyKey?: string | undefined;
|
|
1000
1001
|
ttl?: string | number | undefined;
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1002
|
+
parentAttempt?: string | undefined;
|
|
1003
|
+
lockToVersion?: string | undefined;
|
|
1004
|
+
test?: boolean | undefined;
|
|
1004
1005
|
metadataType?: string | undefined;
|
|
1005
|
-
maxDuration?: number | undefined;
|
|
1006
1006
|
} | undefined;
|
|
1007
1007
|
payload?: any;
|
|
1008
1008
|
context?: any;
|
|
@@ -1012,24 +1012,24 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1012
1012
|
items: {
|
|
1013
1013
|
task: string;
|
|
1014
1014
|
options?: {
|
|
1015
|
-
|
|
1016
|
-
|
|
1015
|
+
metadata?: any;
|
|
1016
|
+
idempotencyKey?: string | undefined;
|
|
1017
|
+
payloadType?: string | undefined;
|
|
1018
|
+
tags?: string | string[] | undefined;
|
|
1019
|
+
maxAttempts?: number | undefined;
|
|
1020
|
+
maxDuration?: number | undefined;
|
|
1017
1021
|
queue?: {
|
|
1018
1022
|
name?: string | undefined;
|
|
1019
1023
|
concurrencyLimit?: number | undefined;
|
|
1020
1024
|
} | undefined;
|
|
1021
|
-
concurrencyKey?: string | undefined;
|
|
1022
|
-
idempotencyKey?: string | undefined;
|
|
1023
|
-
idempotencyKeyTTL?: string | undefined;
|
|
1024
|
-
test?: boolean | undefined;
|
|
1025
|
-
payloadType?: string | undefined;
|
|
1026
1025
|
delay?: string | Date | undefined;
|
|
1026
|
+
idempotencyKeyTTL?: string | undefined;
|
|
1027
|
+
concurrencyKey?: string | undefined;
|
|
1027
1028
|
ttl?: string | number | undefined;
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1029
|
+
parentAttempt?: string | undefined;
|
|
1030
|
+
lockToVersion?: string | undefined;
|
|
1031
|
+
test?: boolean | undefined;
|
|
1031
1032
|
metadataType?: string | undefined;
|
|
1032
|
-
maxDuration?: number | undefined;
|
|
1033
1033
|
} | undefined;
|
|
1034
1034
|
payload?: any;
|
|
1035
1035
|
context?: any;
|
|
@@ -1039,24 +1039,24 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1039
1039
|
items: {
|
|
1040
1040
|
task: string;
|
|
1041
1041
|
options?: {
|
|
1042
|
-
|
|
1043
|
-
|
|
1042
|
+
metadata?: any;
|
|
1043
|
+
idempotencyKey?: string | undefined;
|
|
1044
|
+
payloadType?: string | undefined;
|
|
1045
|
+
tags?: string | string[] | undefined;
|
|
1046
|
+
maxAttempts?: number | undefined;
|
|
1047
|
+
maxDuration?: number | undefined;
|
|
1044
1048
|
queue?: {
|
|
1045
1049
|
name?: string | undefined;
|
|
1046
1050
|
concurrencyLimit?: number | undefined;
|
|
1047
1051
|
} | undefined;
|
|
1048
|
-
concurrencyKey?: string | undefined;
|
|
1049
|
-
idempotencyKey?: string | undefined;
|
|
1050
|
-
idempotencyKeyTTL?: string | undefined;
|
|
1051
|
-
test?: boolean | undefined;
|
|
1052
|
-
payloadType?: string | undefined;
|
|
1053
1052
|
delay?: string | Date | undefined;
|
|
1053
|
+
idempotencyKeyTTL?: string | undefined;
|
|
1054
|
+
concurrencyKey?: string | undefined;
|
|
1054
1055
|
ttl?: string | number | undefined;
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1056
|
+
parentAttempt?: string | undefined;
|
|
1057
|
+
lockToVersion?: string | undefined;
|
|
1058
|
+
test?: boolean | undefined;
|
|
1058
1059
|
metadataType?: string | undefined;
|
|
1059
|
-
maxDuration?: number | undefined;
|
|
1060
1060
|
} | undefined;
|
|
1061
1061
|
payload?: any;
|
|
1062
1062
|
context?: 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,26 +1124,26 @@ 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" | "COMPLETED" | "CANCELED" | "FAILED";
|
|
1127
1128
|
id: string;
|
|
1128
|
-
status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
|
|
1129
1129
|
taskRunId: string;
|
|
1130
1130
|
}, {
|
|
1131
|
+
status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
|
|
1131
1132
|
id: string;
|
|
1132
|
-
status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
|
|
1133
1133
|
taskRunId: string;
|
|
1134
1134
|
}>, "many">;
|
|
1135
1135
|
}, "strip", z.ZodTypeAny, {
|
|
1136
1136
|
id: string;
|
|
1137
1137
|
items: {
|
|
1138
|
+
status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
|
|
1138
1139
|
id: string;
|
|
1139
|
-
status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
|
|
1140
1140
|
taskRunId: string;
|
|
1141
1141
|
}[];
|
|
1142
1142
|
}, {
|
|
1143
1143
|
id: string;
|
|
1144
1144
|
items: {
|
|
1145
|
+
status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
|
|
1145
1146
|
id: string;
|
|
1146
|
-
status: "COMPLETED" | "CANCELED" | "FAILED" | "PENDING";
|
|
1147
1147
|
taskRunId: string;
|
|
1148
1148
|
}[];
|
|
1149
1149
|
}>;
|
|
@@ -1240,8 +1240,8 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
|
|
|
1240
1240
|
}>>>;
|
|
1241
1241
|
registryHost: z.ZodOptional<z.ZodString>;
|
|
1242
1242
|
}, "strip", z.ZodTypeAny, {
|
|
1243
|
-
id: string;
|
|
1244
1243
|
version: string;
|
|
1244
|
+
id: string;
|
|
1245
1245
|
contentHash: string;
|
|
1246
1246
|
imageTag: string;
|
|
1247
1247
|
shortCode: string;
|
|
@@ -1252,8 +1252,8 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
|
|
|
1252
1252
|
} | null | undefined;
|
|
1253
1253
|
registryHost?: string | undefined;
|
|
1254
1254
|
}, {
|
|
1255
|
-
id: string;
|
|
1256
1255
|
version: string;
|
|
1256
|
+
id: string;
|
|
1257
1257
|
contentHash: string;
|
|
1258
1258
|
imageTag: string;
|
|
1259
1259
|
shortCode: string;
|
|
@@ -1376,48 +1376,48 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
1376
1376
|
exportName: z.ZodString;
|
|
1377
1377
|
}, "strip", z.ZodTypeAny, {
|
|
1378
1378
|
id: string;
|
|
1379
|
+
slug: string;
|
|
1379
1380
|
filePath: string;
|
|
1380
1381
|
exportName: string;
|
|
1381
|
-
slug: string;
|
|
1382
1382
|
}, {
|
|
1383
1383
|
id: string;
|
|
1384
|
+
slug: string;
|
|
1384
1385
|
filePath: string;
|
|
1385
1386
|
exportName: string;
|
|
1386
|
-
slug: string;
|
|
1387
1387
|
}>, "many">;
|
|
1388
1388
|
}, "strip", z.ZodTypeAny, {
|
|
1389
|
-
id: string;
|
|
1390
1389
|
version: string;
|
|
1390
|
+
id: string;
|
|
1391
1391
|
tasks: {
|
|
1392
1392
|
id: string;
|
|
1393
|
+
slug: string;
|
|
1393
1394
|
filePath: string;
|
|
1394
1395
|
exportName: string;
|
|
1395
|
-
slug: string;
|
|
1396
1396
|
}[];
|
|
1397
1397
|
}, {
|
|
1398
|
-
id: string;
|
|
1399
1398
|
version: string;
|
|
1399
|
+
id: string;
|
|
1400
1400
|
tasks: {
|
|
1401
1401
|
id: string;
|
|
1402
|
+
slug: string;
|
|
1402
1403
|
filePath: string;
|
|
1403
1404
|
exportName: string;
|
|
1404
|
-
slug: string;
|
|
1405
1405
|
}[];
|
|
1406
1406
|
}>>;
|
|
1407
1407
|
}, "strip", z.ZodTypeAny, {
|
|
1408
|
-
|
|
1409
|
-
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
|
|
1408
|
+
status: "PENDING" | "CANCELED" | "TIMED_OUT" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
|
|
1410
1409
|
version: string;
|
|
1410
|
+
id: string;
|
|
1411
1411
|
contentHash: string;
|
|
1412
1412
|
shortCode: string;
|
|
1413
1413
|
worker?: {
|
|
1414
|
-
id: string;
|
|
1415
1414
|
version: string;
|
|
1415
|
+
id: string;
|
|
1416
1416
|
tasks: {
|
|
1417
1417
|
id: string;
|
|
1418
|
+
slug: string;
|
|
1418
1419
|
filePath: string;
|
|
1419
1420
|
exportName: string;
|
|
1420
|
-
slug: string;
|
|
1421
1421
|
}[];
|
|
1422
1422
|
} | undefined;
|
|
1423
1423
|
imageReference?: string | null | undefined;
|
|
@@ -1428,19 +1428,19 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
1428
1428
|
stderr?: string | undefined;
|
|
1429
1429
|
} | null | undefined;
|
|
1430
1430
|
}, {
|
|
1431
|
-
|
|
1432
|
-
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
|
|
1431
|
+
status: "PENDING" | "CANCELED" | "TIMED_OUT" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
|
|
1433
1432
|
version: string;
|
|
1433
|
+
id: string;
|
|
1434
1434
|
contentHash: string;
|
|
1435
1435
|
shortCode: string;
|
|
1436
1436
|
worker?: {
|
|
1437
|
-
id: string;
|
|
1438
1437
|
version: string;
|
|
1438
|
+
id: string;
|
|
1439
1439
|
tasks: {
|
|
1440
1440
|
id: string;
|
|
1441
|
+
slug: string;
|
|
1441
1442
|
filePath: string;
|
|
1442
1443
|
exportName: string;
|
|
1443
|
-
slug: string;
|
|
1444
1444
|
}[];
|
|
1445
1445
|
} | undefined;
|
|
1446
1446
|
imageReference?: string | null | undefined;
|
|
@@ -1513,20 +1513,20 @@ 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
|
-
timezone: string;
|
|
1517
1516
|
timestamp: Date;
|
|
1517
|
+
timezone: string;
|
|
1518
1518
|
scheduleId: string;
|
|
1519
1519
|
upcoming: Date[];
|
|
1520
|
-
externalId?: string | undefined;
|
|
1521
1520
|
lastTimestamp?: Date | undefined;
|
|
1521
|
+
externalId?: string | undefined;
|
|
1522
1522
|
}, {
|
|
1523
1523
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
1524
|
-
timezone: string;
|
|
1525
1524
|
timestamp: Date;
|
|
1525
|
+
timezone: string;
|
|
1526
1526
|
scheduleId: string;
|
|
1527
1527
|
upcoming: Date[];
|
|
1528
|
-
externalId?: string | undefined;
|
|
1529
1528
|
lastTimestamp?: Date | undefined;
|
|
1529
|
+
externalId?: string | undefined;
|
|
1530
1530
|
}>;
|
|
1531
1531
|
export type ScheduledTaskPayload = z.infer<typeof ScheduledTaskPayload>;
|
|
1532
1532
|
export declare const CreateScheduleOptions: z.ZodObject<{
|
|
@@ -1570,17 +1570,17 @@ export declare const CreateScheduleOptions: z.ZodObject<{
|
|
|
1570
1570
|
*/
|
|
1571
1571
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1572
1572
|
}, "strip", z.ZodTypeAny, {
|
|
1573
|
+
cron: string;
|
|
1573
1574
|
task: string;
|
|
1574
1575
|
deduplicationKey: string;
|
|
1575
|
-
cron: string;
|
|
1576
|
-
externalId?: string | undefined;
|
|
1577
1576
|
timezone?: string | undefined;
|
|
1577
|
+
externalId?: string | undefined;
|
|
1578
1578
|
}, {
|
|
1579
|
+
cron: string;
|
|
1579
1580
|
task: string;
|
|
1580
1581
|
deduplicationKey: string;
|
|
1581
|
-
cron: string;
|
|
1582
|
-
externalId?: string | undefined;
|
|
1583
1582
|
timezone?: string | undefined;
|
|
1583
|
+
externalId?: string | undefined;
|
|
1584
1584
|
}>;
|
|
1585
1585
|
export type CreateScheduleOptions = z.infer<typeof CreateScheduleOptions>;
|
|
1586
1586
|
export declare const UpdateScheduleOptions: z.ZodObject<Omit<{
|
|
@@ -1624,15 +1624,15 @@ export declare const UpdateScheduleOptions: z.ZodObject<Omit<{
|
|
|
1624
1624
|
*/
|
|
1625
1625
|
timezone: z.ZodOptional<z.ZodString>;
|
|
1626
1626
|
}, "deduplicationKey">, "strip", z.ZodTypeAny, {
|
|
1627
|
-
task: string;
|
|
1628
1627
|
cron: string;
|
|
1629
|
-
|
|
1628
|
+
task: string;
|
|
1630
1629
|
timezone?: string | undefined;
|
|
1630
|
+
externalId?: string | undefined;
|
|
1631
1631
|
}, {
|
|
1632
|
-
task: string;
|
|
1633
1632
|
cron: string;
|
|
1634
|
-
|
|
1633
|
+
task: string;
|
|
1635
1634
|
timezone?: string | undefined;
|
|
1635
|
+
externalId?: string | undefined;
|
|
1636
1636
|
}>;
|
|
1637
1637
|
export type UpdateScheduleOptions = z.infer<typeof UpdateScheduleOptions>;
|
|
1638
1638
|
export declare const ScheduleGenerator: z.ZodObject<{
|
|
@@ -1641,12 +1641,12 @@ export declare const ScheduleGenerator: z.ZodObject<{
|
|
|
1641
1641
|
description: z.ZodString;
|
|
1642
1642
|
}, "strip", z.ZodTypeAny, {
|
|
1643
1643
|
type: "CRON";
|
|
1644
|
-
expression: string;
|
|
1645
1644
|
description: string;
|
|
1645
|
+
expression: string;
|
|
1646
1646
|
}, {
|
|
1647
1647
|
type: "CRON";
|
|
1648
|
-
expression: string;
|
|
1649
1648
|
description: string;
|
|
1649
|
+
expression: string;
|
|
1650
1650
|
}>;
|
|
1651
1651
|
export type ScheduleGenerator = z.infer<typeof ScheduleGenerator>;
|
|
1652
1652
|
export declare const ScheduleObject: z.ZodObject<{
|
|
@@ -1662,12 +1662,12 @@ export declare const ScheduleObject: z.ZodObject<{
|
|
|
1662
1662
|
description: z.ZodString;
|
|
1663
1663
|
}, "strip", z.ZodTypeAny, {
|
|
1664
1664
|
type: "CRON";
|
|
1665
|
-
expression: string;
|
|
1666
1665
|
description: string;
|
|
1666
|
+
expression: string;
|
|
1667
1667
|
}, {
|
|
1668
1668
|
type: "CRON";
|
|
1669
|
-
expression: string;
|
|
1670
1669
|
description: string;
|
|
1670
|
+
expression: string;
|
|
1671
1671
|
}>;
|
|
1672
1672
|
timezone: z.ZodString;
|
|
1673
1673
|
nextRun: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -1676,47 +1676,47 @@ export declare const ScheduleObject: z.ZodObject<{
|
|
|
1676
1676
|
type: z.ZodString;
|
|
1677
1677
|
userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1678
1678
|
}, "strip", z.ZodTypeAny, {
|
|
1679
|
-
id: string;
|
|
1680
1679
|
type: string;
|
|
1680
|
+
id: string;
|
|
1681
1681
|
userName?: string | null | undefined;
|
|
1682
1682
|
}, {
|
|
1683
|
-
id: string;
|
|
1684
1683
|
type: string;
|
|
1684
|
+
id: string;
|
|
1685
1685
|
userName?: string | null | undefined;
|
|
1686
1686
|
}>, "many">;
|
|
1687
1687
|
}, "strip", z.ZodTypeAny, {
|
|
1688
|
-
id: string;
|
|
1689
1688
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
1689
|
+
id: string;
|
|
1690
|
+
active: boolean;
|
|
1690
1691
|
task: string;
|
|
1692
|
+
timezone: string;
|
|
1691
1693
|
generator: {
|
|
1692
1694
|
type: "CRON";
|
|
1693
|
-
expression: string;
|
|
1694
1695
|
description: string;
|
|
1696
|
+
expression: string;
|
|
1695
1697
|
};
|
|
1696
|
-
active: boolean;
|
|
1697
|
-
timezone: string;
|
|
1698
1698
|
environments: {
|
|
1699
|
-
id: string;
|
|
1700
1699
|
type: string;
|
|
1700
|
+
id: string;
|
|
1701
1701
|
userName?: string | null | undefined;
|
|
1702
1702
|
}[];
|
|
1703
1703
|
externalId?: string | null | undefined;
|
|
1704
1704
|
deduplicationKey?: string | null | undefined;
|
|
1705
1705
|
nextRun?: Date | null | undefined;
|
|
1706
1706
|
}, {
|
|
1707
|
-
id: string;
|
|
1708
1707
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
1708
|
+
id: string;
|
|
1709
|
+
active: boolean;
|
|
1709
1710
|
task: string;
|
|
1711
|
+
timezone: string;
|
|
1710
1712
|
generator: {
|
|
1711
1713
|
type: "CRON";
|
|
1712
|
-
expression: string;
|
|
1713
1714
|
description: string;
|
|
1715
|
+
expression: string;
|
|
1714
1716
|
};
|
|
1715
|
-
active: boolean;
|
|
1716
|
-
timezone: string;
|
|
1717
1717
|
environments: {
|
|
1718
|
-
id: string;
|
|
1719
1718
|
type: string;
|
|
1719
|
+
id: string;
|
|
1720
1720
|
userName?: string | null | undefined;
|
|
1721
1721
|
}[];
|
|
1722
1722
|
externalId?: string | null | undefined;
|
|
@@ -1746,12 +1746,12 @@ export declare const ListSchedulesResult: z.ZodObject<{
|
|
|
1746
1746
|
description: z.ZodString;
|
|
1747
1747
|
}, "strip", z.ZodTypeAny, {
|
|
1748
1748
|
type: "CRON";
|
|
1749
|
-
expression: string;
|
|
1750
1749
|
description: string;
|
|
1750
|
+
expression: string;
|
|
1751
1751
|
}, {
|
|
1752
1752
|
type: "CRON";
|
|
1753
|
-
expression: string;
|
|
1754
1753
|
description: string;
|
|
1754
|
+
expression: string;
|
|
1755
1755
|
}>;
|
|
1756
1756
|
timezone: z.ZodString;
|
|
1757
1757
|
nextRun: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -1760,47 +1760,47 @@ export declare const ListSchedulesResult: z.ZodObject<{
|
|
|
1760
1760
|
type: z.ZodString;
|
|
1761
1761
|
userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1762
1762
|
}, "strip", z.ZodTypeAny, {
|
|
1763
|
-
id: string;
|
|
1764
1763
|
type: string;
|
|
1764
|
+
id: string;
|
|
1765
1765
|
userName?: string | null | undefined;
|
|
1766
1766
|
}, {
|
|
1767
|
-
id: string;
|
|
1768
1767
|
type: string;
|
|
1768
|
+
id: string;
|
|
1769
1769
|
userName?: string | null | undefined;
|
|
1770
1770
|
}>, "many">;
|
|
1771
1771
|
}, "strip", z.ZodTypeAny, {
|
|
1772
|
-
id: string;
|
|
1773
1772
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
1773
|
+
id: string;
|
|
1774
|
+
active: boolean;
|
|
1774
1775
|
task: string;
|
|
1776
|
+
timezone: string;
|
|
1775
1777
|
generator: {
|
|
1776
1778
|
type: "CRON";
|
|
1777
|
-
expression: string;
|
|
1778
1779
|
description: string;
|
|
1780
|
+
expression: string;
|
|
1779
1781
|
};
|
|
1780
|
-
active: boolean;
|
|
1781
|
-
timezone: string;
|
|
1782
1782
|
environments: {
|
|
1783
|
-
id: string;
|
|
1784
1783
|
type: string;
|
|
1784
|
+
id: string;
|
|
1785
1785
|
userName?: string | null | undefined;
|
|
1786
1786
|
}[];
|
|
1787
1787
|
externalId?: string | null | undefined;
|
|
1788
1788
|
deduplicationKey?: string | null | undefined;
|
|
1789
1789
|
nextRun?: Date | null | undefined;
|
|
1790
1790
|
}, {
|
|
1791
|
-
id: string;
|
|
1792
1791
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
1792
|
+
id: string;
|
|
1793
|
+
active: boolean;
|
|
1793
1794
|
task: string;
|
|
1795
|
+
timezone: string;
|
|
1794
1796
|
generator: {
|
|
1795
1797
|
type: "CRON";
|
|
1796
|
-
expression: string;
|
|
1797
1798
|
description: string;
|
|
1799
|
+
expression: string;
|
|
1798
1800
|
};
|
|
1799
|
-
active: boolean;
|
|
1800
|
-
timezone: string;
|
|
1801
1801
|
environments: {
|
|
1802
|
-
id: string;
|
|
1803
1802
|
type: string;
|
|
1803
|
+
id: string;
|
|
1804
1804
|
userName?: string | null | undefined;
|
|
1805
1805
|
}[];
|
|
1806
1806
|
externalId?: string | null | undefined;
|
|
@@ -1822,19 +1822,19 @@ export declare const ListSchedulesResult: z.ZodObject<{
|
|
|
1822
1822
|
}>;
|
|
1823
1823
|
}, "strip", z.ZodTypeAny, {
|
|
1824
1824
|
data: {
|
|
1825
|
-
id: string;
|
|
1826
1825
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
1826
|
+
id: string;
|
|
1827
|
+
active: boolean;
|
|
1827
1828
|
task: string;
|
|
1829
|
+
timezone: string;
|
|
1828
1830
|
generator: {
|
|
1829
1831
|
type: "CRON";
|
|
1830
|
-
expression: string;
|
|
1831
1832
|
description: string;
|
|
1833
|
+
expression: string;
|
|
1832
1834
|
};
|
|
1833
|
-
active: boolean;
|
|
1834
|
-
timezone: string;
|
|
1835
1835
|
environments: {
|
|
1836
|
-
id: string;
|
|
1837
1836
|
type: string;
|
|
1837
|
+
id: string;
|
|
1838
1838
|
userName?: string | null | undefined;
|
|
1839
1839
|
}[];
|
|
1840
1840
|
externalId?: string | null | undefined;
|
|
@@ -1848,19 +1848,19 @@ export declare const ListSchedulesResult: z.ZodObject<{
|
|
|
1848
1848
|
};
|
|
1849
1849
|
}, {
|
|
1850
1850
|
data: {
|
|
1851
|
-
id: string;
|
|
1852
1851
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
1852
|
+
id: string;
|
|
1853
|
+
active: boolean;
|
|
1853
1854
|
task: string;
|
|
1855
|
+
timezone: string;
|
|
1854
1856
|
generator: {
|
|
1855
1857
|
type: "CRON";
|
|
1856
|
-
expression: string;
|
|
1857
1858
|
description: string;
|
|
1859
|
+
expression: string;
|
|
1858
1860
|
};
|
|
1859
|
-
active: boolean;
|
|
1860
|
-
timezone: string;
|
|
1861
1861
|
environments: {
|
|
1862
|
-
id: string;
|
|
1863
1862
|
type: string;
|
|
1863
|
+
id: string;
|
|
1864
1864
|
userName?: string | null | undefined;
|
|
1865
1865
|
}[];
|
|
1866
1866
|
externalId?: string | null | undefined;
|
|
@@ -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>;
|
|
@@ -1921,19 +1921,19 @@ export declare const RunScheduleDetails: z.ZodObject<{
|
|
|
1921
1921
|
description: z.ZodString;
|
|
1922
1922
|
}, "strip", z.ZodTypeAny, {
|
|
1923
1923
|
type: "CRON";
|
|
1924
|
-
expression: string;
|
|
1925
1924
|
description: string;
|
|
1925
|
+
expression: string;
|
|
1926
1926
|
}, {
|
|
1927
1927
|
type: "CRON";
|
|
1928
|
-
expression: string;
|
|
1929
1928
|
description: string;
|
|
1929
|
+
expression: string;
|
|
1930
1930
|
}>;
|
|
1931
1931
|
}, "strip", z.ZodTypeAny, {
|
|
1932
1932
|
id: string;
|
|
1933
1933
|
generator: {
|
|
1934
1934
|
type: "CRON";
|
|
1935
|
-
expression: string;
|
|
1936
1935
|
description: string;
|
|
1936
|
+
expression: string;
|
|
1937
1937
|
};
|
|
1938
1938
|
externalId?: string | undefined;
|
|
1939
1939
|
deduplicationKey?: string | undefined;
|
|
@@ -1941,8 +1941,8 @@ export declare const RunScheduleDetails: z.ZodObject<{
|
|
|
1941
1941
|
id: string;
|
|
1942
1942
|
generator: {
|
|
1943
1943
|
type: "CRON";
|
|
1944
|
-
expression: string;
|
|
1945
1944
|
description: string;
|
|
1945
|
+
expression: string;
|
|
1946
1946
|
};
|
|
1947
1947
|
externalId?: string | undefined;
|
|
1948
1948
|
deduplicationKey?: string | undefined;
|
|
@@ -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: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
1982
1983
|
id: string;
|
|
1983
|
-
|
|
1984
|
+
updatedAt: Date;
|
|
1985
|
+
isTest: boolean;
|
|
1986
|
+
createdAt: Date;
|
|
1984
1987
|
tags: string[];
|
|
1988
|
+
durationMs: number;
|
|
1989
|
+
costInCents: number;
|
|
1990
|
+
baseCostInCents: number;
|
|
1985
1991
|
taskIdentifier: string;
|
|
1986
1992
|
depth: number;
|
|
1987
|
-
triggerFunction: "
|
|
1993
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
1988
1994
|
isQueued: boolean;
|
|
1989
1995
|
isExecuting: boolean;
|
|
1990
1996
|
isCompleted: boolean;
|
|
1991
1997
|
isSuccess: boolean;
|
|
1992
1998
|
isFailed: boolean;
|
|
1993
1999
|
isCancelled: boolean;
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
costInCents: number;
|
|
1998
|
-
baseCostInCents: number;
|
|
1999
|
-
durationMs: number;
|
|
2000
|
+
version?: string | undefined;
|
|
2001
|
+
metadata?: Record<string, any> | undefined;
|
|
2002
|
+
startedAt?: Date | undefined;
|
|
2000
2003
|
idempotencyKey?: string | undefined;
|
|
2001
2004
|
ttl?: string | undefined;
|
|
2002
|
-
metadata?: Record<string, any> | undefined;
|
|
2003
2005
|
batchId?: string | undefined;
|
|
2004
|
-
version?: 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: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2010
2011
|
id: string;
|
|
2011
|
-
|
|
2012
|
+
updatedAt: Date;
|
|
2013
|
+
isTest: boolean;
|
|
2014
|
+
createdAt: Date;
|
|
2012
2015
|
tags: string[];
|
|
2016
|
+
durationMs: number;
|
|
2017
|
+
costInCents: number;
|
|
2018
|
+
baseCostInCents: number;
|
|
2013
2019
|
taskIdentifier: string;
|
|
2014
2020
|
depth: number;
|
|
2015
|
-
triggerFunction: "
|
|
2021
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
2016
2022
|
isQueued: boolean;
|
|
2017
2023
|
isExecuting: boolean;
|
|
2018
2024
|
isCompleted: boolean;
|
|
2019
2025
|
isSuccess: boolean;
|
|
2020
2026
|
isFailed: boolean;
|
|
2021
2027
|
isCancelled: boolean;
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
costInCents: number;
|
|
2026
|
-
baseCostInCents: number;
|
|
2027
|
-
durationMs: number;
|
|
2028
|
+
version?: string | undefined;
|
|
2029
|
+
metadata?: Record<string, any> | undefined;
|
|
2030
|
+
startedAt?: Date | undefined;
|
|
2028
2031
|
idempotencyKey?: string | undefined;
|
|
2029
2032
|
ttl?: string | undefined;
|
|
2030
|
-
metadata?: Record<string, any> | undefined;
|
|
2031
2033
|
batchId?: string | undefined;
|
|
2032
|
-
version?: string | undefined;
|
|
2033
|
-
startedAt?: Date | undefined;
|
|
2034
2034
|
finishedAt?: Date | undefined;
|
|
2035
2035
|
delayedUntil?: Date | undefined;
|
|
2036
2036
|
expiredAt?: Date | undefined;
|
|
@@ -2063,19 +2063,19 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2063
2063
|
description: z.ZodString;
|
|
2064
2064
|
}, "strip", z.ZodTypeAny, {
|
|
2065
2065
|
type: "CRON";
|
|
2066
|
-
expression: string;
|
|
2067
2066
|
description: string;
|
|
2067
|
+
expression: string;
|
|
2068
2068
|
}, {
|
|
2069
2069
|
type: "CRON";
|
|
2070
|
-
expression: string;
|
|
2071
2070
|
description: string;
|
|
2071
|
+
expression: string;
|
|
2072
2072
|
}>;
|
|
2073
2073
|
}, "strip", z.ZodTypeAny, {
|
|
2074
2074
|
id: string;
|
|
2075
2075
|
generator: {
|
|
2076
2076
|
type: "CRON";
|
|
2077
|
-
expression: string;
|
|
2078
2077
|
description: string;
|
|
2078
|
+
expression: string;
|
|
2079
2079
|
};
|
|
2080
2080
|
externalId?: string | undefined;
|
|
2081
2081
|
deduplicationKey?: string | undefined;
|
|
@@ -2083,8 +2083,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2083
2083
|
id: string;
|
|
2084
2084
|
generator: {
|
|
2085
2085
|
type: "CRON";
|
|
2086
|
-
expression: string;
|
|
2087
2086
|
description: string;
|
|
2087
|
+
expression: string;
|
|
2088
2088
|
};
|
|
2089
2089
|
externalId?: string | undefined;
|
|
2090
2090
|
deduplicationKey?: string | 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: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2122
2123
|
id: string;
|
|
2123
|
-
|
|
2124
|
+
updatedAt: Date;
|
|
2125
|
+
isTest: boolean;
|
|
2126
|
+
createdAt: Date;
|
|
2124
2127
|
tags: string[];
|
|
2128
|
+
durationMs: number;
|
|
2129
|
+
costInCents: number;
|
|
2130
|
+
baseCostInCents: number;
|
|
2125
2131
|
taskIdentifier: string;
|
|
2126
2132
|
depth: number;
|
|
2127
|
-
triggerFunction: "
|
|
2133
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
2128
2134
|
isQueued: boolean;
|
|
2129
2135
|
isExecuting: boolean;
|
|
2130
2136
|
isCompleted: boolean;
|
|
2131
2137
|
isSuccess: boolean;
|
|
2132
2138
|
isFailed: boolean;
|
|
2133
2139
|
isCancelled: boolean;
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
costInCents: number;
|
|
2138
|
-
baseCostInCents: number;
|
|
2139
|
-
durationMs: number;
|
|
2140
|
+
version?: string | undefined;
|
|
2141
|
+
metadata?: Record<string, any> | undefined;
|
|
2142
|
+
startedAt?: Date | undefined;
|
|
2140
2143
|
idempotencyKey?: string | undefined;
|
|
2141
2144
|
ttl?: string | undefined;
|
|
2142
|
-
metadata?: Record<string, any> | undefined;
|
|
2143
2145
|
batchId?: string | undefined;
|
|
2144
|
-
version?: 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: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2150
2151
|
id: string;
|
|
2151
|
-
|
|
2152
|
+
updatedAt: Date;
|
|
2153
|
+
isTest: boolean;
|
|
2154
|
+
createdAt: Date;
|
|
2152
2155
|
tags: string[];
|
|
2156
|
+
durationMs: number;
|
|
2157
|
+
costInCents: number;
|
|
2158
|
+
baseCostInCents: number;
|
|
2153
2159
|
taskIdentifier: string;
|
|
2154
2160
|
depth: number;
|
|
2155
|
-
triggerFunction: "
|
|
2161
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
2156
2162
|
isQueued: boolean;
|
|
2157
2163
|
isExecuting: boolean;
|
|
2158
2164
|
isCompleted: boolean;
|
|
2159
2165
|
isSuccess: boolean;
|
|
2160
2166
|
isFailed: boolean;
|
|
2161
2167
|
isCancelled: boolean;
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
costInCents: number;
|
|
2166
|
-
baseCostInCents: number;
|
|
2167
|
-
durationMs: number;
|
|
2168
|
+
version?: string | undefined;
|
|
2169
|
+
metadata?: Record<string, any> | undefined;
|
|
2170
|
+
startedAt?: Date | undefined;
|
|
2168
2171
|
idempotencyKey?: string | undefined;
|
|
2169
2172
|
ttl?: string | undefined;
|
|
2170
|
-
metadata?: Record<string, any> | undefined;
|
|
2171
2173
|
batchId?: string | undefined;
|
|
2172
|
-
version?: 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: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2207
2208
|
id: string;
|
|
2208
|
-
|
|
2209
|
+
updatedAt: Date;
|
|
2210
|
+
isTest: boolean;
|
|
2211
|
+
createdAt: Date;
|
|
2209
2212
|
tags: string[];
|
|
2213
|
+
durationMs: number;
|
|
2214
|
+
costInCents: number;
|
|
2215
|
+
baseCostInCents: number;
|
|
2210
2216
|
taskIdentifier: string;
|
|
2211
2217
|
depth: number;
|
|
2212
|
-
triggerFunction: "
|
|
2218
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
2213
2219
|
isQueued: boolean;
|
|
2214
2220
|
isExecuting: boolean;
|
|
2215
2221
|
isCompleted: boolean;
|
|
2216
2222
|
isSuccess: boolean;
|
|
2217
2223
|
isFailed: boolean;
|
|
2218
2224
|
isCancelled: boolean;
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
costInCents: number;
|
|
2223
|
-
baseCostInCents: number;
|
|
2224
|
-
durationMs: number;
|
|
2225
|
+
version?: string | undefined;
|
|
2226
|
+
metadata?: Record<string, any> | undefined;
|
|
2227
|
+
startedAt?: Date | undefined;
|
|
2225
2228
|
idempotencyKey?: string | undefined;
|
|
2226
2229
|
ttl?: string | undefined;
|
|
2227
|
-
metadata?: Record<string, any> | undefined;
|
|
2228
2230
|
batchId?: string | undefined;
|
|
2229
|
-
version?: 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: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2235
2236
|
id: string;
|
|
2236
|
-
|
|
2237
|
+
updatedAt: Date;
|
|
2238
|
+
isTest: boolean;
|
|
2239
|
+
createdAt: Date;
|
|
2237
2240
|
tags: string[];
|
|
2241
|
+
durationMs: number;
|
|
2242
|
+
costInCents: number;
|
|
2243
|
+
baseCostInCents: number;
|
|
2238
2244
|
taskIdentifier: string;
|
|
2239
2245
|
depth: number;
|
|
2240
|
-
triggerFunction: "
|
|
2246
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
2241
2247
|
isQueued: boolean;
|
|
2242
2248
|
isExecuting: boolean;
|
|
2243
2249
|
isCompleted: boolean;
|
|
2244
2250
|
isSuccess: boolean;
|
|
2245
2251
|
isFailed: boolean;
|
|
2246
2252
|
isCancelled: boolean;
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
costInCents: number;
|
|
2251
|
-
baseCostInCents: number;
|
|
2252
|
-
durationMs: number;
|
|
2253
|
+
version?: string | undefined;
|
|
2254
|
+
metadata?: Record<string, any> | undefined;
|
|
2255
|
+
startedAt?: Date | undefined;
|
|
2253
2256
|
idempotencyKey?: string | undefined;
|
|
2254
2257
|
ttl?: string | undefined;
|
|
2255
|
-
metadata?: Record<string, any> | undefined;
|
|
2256
2258
|
batchId?: string | undefined;
|
|
2257
|
-
version?: 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: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2292
2293
|
id: string;
|
|
2293
|
-
|
|
2294
|
+
updatedAt: Date;
|
|
2295
|
+
isTest: boolean;
|
|
2296
|
+
createdAt: Date;
|
|
2294
2297
|
tags: string[];
|
|
2298
|
+
durationMs: number;
|
|
2299
|
+
costInCents: number;
|
|
2300
|
+
baseCostInCents: number;
|
|
2295
2301
|
taskIdentifier: string;
|
|
2296
2302
|
depth: number;
|
|
2297
|
-
triggerFunction: "
|
|
2303
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
2298
2304
|
isQueued: boolean;
|
|
2299
2305
|
isExecuting: boolean;
|
|
2300
2306
|
isCompleted: boolean;
|
|
2301
2307
|
isSuccess: boolean;
|
|
2302
2308
|
isFailed: boolean;
|
|
2303
2309
|
isCancelled: boolean;
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
costInCents: number;
|
|
2308
|
-
baseCostInCents: number;
|
|
2309
|
-
durationMs: number;
|
|
2310
|
+
version?: string | undefined;
|
|
2311
|
+
metadata?: Record<string, any> | undefined;
|
|
2312
|
+
startedAt?: Date | undefined;
|
|
2310
2313
|
idempotencyKey?: string | undefined;
|
|
2311
2314
|
ttl?: string | undefined;
|
|
2312
|
-
metadata?: Record<string, any> | undefined;
|
|
2313
2315
|
batchId?: string | undefined;
|
|
2314
|
-
version?: 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: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2320
2321
|
id: string;
|
|
2321
|
-
|
|
2322
|
+
updatedAt: Date;
|
|
2323
|
+
isTest: boolean;
|
|
2324
|
+
createdAt: Date;
|
|
2322
2325
|
tags: string[];
|
|
2326
|
+
durationMs: number;
|
|
2327
|
+
costInCents: number;
|
|
2328
|
+
baseCostInCents: number;
|
|
2323
2329
|
taskIdentifier: string;
|
|
2324
2330
|
depth: number;
|
|
2325
|
-
triggerFunction: "
|
|
2331
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
2326
2332
|
isQueued: boolean;
|
|
2327
2333
|
isExecuting: boolean;
|
|
2328
2334
|
isCompleted: boolean;
|
|
2329
2335
|
isSuccess: boolean;
|
|
2330
2336
|
isFailed: boolean;
|
|
2331
2337
|
isCancelled: boolean;
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
costInCents: number;
|
|
2336
|
-
baseCostInCents: number;
|
|
2337
|
-
durationMs: number;
|
|
2338
|
+
version?: string | undefined;
|
|
2339
|
+
metadata?: Record<string, any> | undefined;
|
|
2340
|
+
startedAt?: Date | undefined;
|
|
2338
2341
|
idempotencyKey?: string | undefined;
|
|
2339
2342
|
ttl?: string | undefined;
|
|
2340
|
-
metadata?: Record<string, any> | undefined;
|
|
2341
2343
|
batchId?: string | undefined;
|
|
2342
|
-
version?: 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: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2350
2351
|
id: string;
|
|
2351
|
-
|
|
2352
|
+
updatedAt: Date;
|
|
2353
|
+
isTest: boolean;
|
|
2354
|
+
createdAt: Date;
|
|
2352
2355
|
tags: string[];
|
|
2356
|
+
durationMs: number;
|
|
2357
|
+
costInCents: number;
|
|
2358
|
+
baseCostInCents: number;
|
|
2353
2359
|
taskIdentifier: string;
|
|
2354
2360
|
depth: number;
|
|
2355
|
-
triggerFunction: "
|
|
2361
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
2356
2362
|
isQueued: boolean;
|
|
2357
2363
|
isExecuting: boolean;
|
|
2358
2364
|
isCompleted: boolean;
|
|
2359
2365
|
isSuccess: boolean;
|
|
2360
2366
|
isFailed: boolean;
|
|
2361
2367
|
isCancelled: boolean;
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
costInCents: number;
|
|
2366
|
-
baseCostInCents: number;
|
|
2367
|
-
durationMs: number;
|
|
2368
|
+
version?: string | undefined;
|
|
2369
|
+
metadata?: Record<string, any> | undefined;
|
|
2370
|
+
startedAt?: Date | undefined;
|
|
2368
2371
|
idempotencyKey?: string | undefined;
|
|
2369
2372
|
ttl?: string | undefined;
|
|
2370
|
-
metadata?: Record<string, any> | undefined;
|
|
2371
2373
|
batchId?: string | undefined;
|
|
2372
|
-
version?: 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: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2379
2380
|
id: string;
|
|
2380
|
-
|
|
2381
|
+
updatedAt: Date;
|
|
2382
|
+
isTest: boolean;
|
|
2383
|
+
createdAt: Date;
|
|
2381
2384
|
tags: string[];
|
|
2385
|
+
durationMs: number;
|
|
2386
|
+
costInCents: number;
|
|
2387
|
+
baseCostInCents: number;
|
|
2382
2388
|
taskIdentifier: string;
|
|
2383
2389
|
depth: number;
|
|
2384
|
-
triggerFunction: "
|
|
2390
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
2385
2391
|
isQueued: boolean;
|
|
2386
2392
|
isExecuting: boolean;
|
|
2387
2393
|
isCompleted: boolean;
|
|
2388
2394
|
isSuccess: boolean;
|
|
2389
2395
|
isFailed: boolean;
|
|
2390
2396
|
isCancelled: boolean;
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
costInCents: number;
|
|
2395
|
-
baseCostInCents: number;
|
|
2396
|
-
durationMs: number;
|
|
2397
|
+
version?: string | undefined;
|
|
2398
|
+
metadata?: Record<string, any> | undefined;
|
|
2399
|
+
startedAt?: Date | undefined;
|
|
2397
2400
|
idempotencyKey?: string | undefined;
|
|
2398
2401
|
ttl?: string | undefined;
|
|
2399
|
-
metadata?: Record<string, any> | undefined;
|
|
2400
2402
|
batchId?: string | undefined;
|
|
2401
|
-
version?: 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: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2408
2409
|
id: string;
|
|
2409
|
-
|
|
2410
|
+
updatedAt: Date;
|
|
2411
|
+
isTest: boolean;
|
|
2412
|
+
createdAt: Date;
|
|
2410
2413
|
tags: string[];
|
|
2414
|
+
durationMs: number;
|
|
2415
|
+
costInCents: number;
|
|
2416
|
+
baseCostInCents: number;
|
|
2411
2417
|
taskIdentifier: string;
|
|
2412
2418
|
depth: number;
|
|
2413
|
-
triggerFunction: "
|
|
2419
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
2414
2420
|
isQueued: boolean;
|
|
2415
2421
|
isExecuting: boolean;
|
|
2416
2422
|
isCompleted: boolean;
|
|
2417
2423
|
isSuccess: boolean;
|
|
2418
2424
|
isFailed: boolean;
|
|
2419
2425
|
isCancelled: boolean;
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
costInCents: number;
|
|
2424
|
-
baseCostInCents: number;
|
|
2425
|
-
durationMs: number;
|
|
2426
|
+
version?: string | undefined;
|
|
2427
|
+
metadata?: Record<string, any> | undefined;
|
|
2428
|
+
startedAt?: Date | undefined;
|
|
2426
2429
|
idempotencyKey?: string | undefined;
|
|
2427
2430
|
ttl?: string | undefined;
|
|
2428
|
-
metadata?: Record<string, any> | undefined;
|
|
2429
2431
|
batchId?: string | undefined;
|
|
2430
|
-
version?: 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: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2438
2439
|
id: string;
|
|
2439
|
-
|
|
2440
|
+
updatedAt: Date;
|
|
2441
|
+
isTest: boolean;
|
|
2442
|
+
createdAt: Date;
|
|
2440
2443
|
tags: string[];
|
|
2444
|
+
durationMs: number;
|
|
2445
|
+
costInCents: number;
|
|
2446
|
+
baseCostInCents: number;
|
|
2441
2447
|
taskIdentifier: string;
|
|
2442
2448
|
depth: number;
|
|
2443
|
-
triggerFunction: "
|
|
2449
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
2444
2450
|
isQueued: boolean;
|
|
2445
2451
|
isExecuting: boolean;
|
|
2446
2452
|
isCompleted: boolean;
|
|
2447
2453
|
isSuccess: boolean;
|
|
2448
2454
|
isFailed: boolean;
|
|
2449
2455
|
isCancelled: boolean;
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
costInCents: number;
|
|
2454
|
-
baseCostInCents: number;
|
|
2455
|
-
durationMs: number;
|
|
2456
|
+
version?: string | undefined;
|
|
2457
|
+
metadata?: Record<string, any> | undefined;
|
|
2458
|
+
startedAt?: Date | undefined;
|
|
2456
2459
|
idempotencyKey?: string | undefined;
|
|
2457
2460
|
ttl?: string | undefined;
|
|
2458
|
-
metadata?: Record<string, any> | undefined;
|
|
2459
2461
|
batchId?: string | undefined;
|
|
2460
|
-
version?: 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: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2467
2468
|
id: string;
|
|
2468
|
-
|
|
2469
|
+
updatedAt: Date;
|
|
2470
|
+
isTest: boolean;
|
|
2471
|
+
createdAt: Date;
|
|
2469
2472
|
tags: string[];
|
|
2473
|
+
durationMs: number;
|
|
2474
|
+
costInCents: number;
|
|
2475
|
+
baseCostInCents: number;
|
|
2470
2476
|
taskIdentifier: string;
|
|
2471
2477
|
depth: number;
|
|
2472
|
-
triggerFunction: "
|
|
2478
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
2473
2479
|
isQueued: boolean;
|
|
2474
2480
|
isExecuting: boolean;
|
|
2475
2481
|
isCompleted: boolean;
|
|
2476
2482
|
isSuccess: boolean;
|
|
2477
2483
|
isFailed: boolean;
|
|
2478
2484
|
isCancelled: boolean;
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
costInCents: number;
|
|
2483
|
-
baseCostInCents: number;
|
|
2484
|
-
durationMs: number;
|
|
2485
|
+
version?: string | undefined;
|
|
2486
|
+
metadata?: Record<string, any> | undefined;
|
|
2487
|
+
startedAt?: Date | undefined;
|
|
2485
2488
|
idempotencyKey?: string | undefined;
|
|
2486
2489
|
ttl?: string | undefined;
|
|
2487
|
-
metadata?: Record<string, any> | undefined;
|
|
2488
2490
|
batchId?: string | undefined;
|
|
2489
|
-
version?: 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: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2496
2497
|
id: string;
|
|
2497
|
-
|
|
2498
|
+
updatedAt: Date;
|
|
2499
|
+
isTest: boolean;
|
|
2500
|
+
createdAt: Date;
|
|
2498
2501
|
tags: string[];
|
|
2502
|
+
durationMs: number;
|
|
2503
|
+
costInCents: number;
|
|
2504
|
+
baseCostInCents: number;
|
|
2499
2505
|
taskIdentifier: string;
|
|
2500
2506
|
depth: number;
|
|
2501
|
-
triggerFunction: "
|
|
2507
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
2502
2508
|
isQueued: boolean;
|
|
2503
2509
|
isExecuting: boolean;
|
|
2504
2510
|
isCompleted: boolean;
|
|
2505
2511
|
isSuccess: boolean;
|
|
2506
2512
|
isFailed: boolean;
|
|
2507
2513
|
isCancelled: boolean;
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
costInCents: number;
|
|
2512
|
-
baseCostInCents: number;
|
|
2513
|
-
durationMs: number;
|
|
2514
|
+
version?: string | undefined;
|
|
2515
|
+
metadata?: Record<string, any> | undefined;
|
|
2516
|
+
startedAt?: Date | undefined;
|
|
2514
2517
|
idempotencyKey?: string | undefined;
|
|
2515
2518
|
ttl?: string | undefined;
|
|
2516
|
-
metadata?: Record<string, any> | undefined;
|
|
2517
2519
|
batchId?: string | undefined;
|
|
2518
|
-
version?: 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" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
|
|
2546
2547
|
id: string;
|
|
2547
|
-
status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
|
|
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" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
|
|
2558
2559
|
id: string;
|
|
2559
|
-
status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
|
|
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,301 +2596,301 @@ 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: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2599
2600
|
id: string;
|
|
2600
|
-
|
|
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;
|
|
2616
|
+
createdAt: Date;
|
|
2601
2617
|
tags: string[];
|
|
2618
|
+
durationMs: number;
|
|
2619
|
+
costInCents: number;
|
|
2620
|
+
baseCostInCents: number;
|
|
2602
2621
|
taskIdentifier: string;
|
|
2603
2622
|
relatedRuns: {
|
|
2604
2623
|
root?: {
|
|
2624
|
+
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2605
2625
|
id: string;
|
|
2606
|
-
|
|
2626
|
+
updatedAt: Date;
|
|
2627
|
+
isTest: boolean;
|
|
2628
|
+
createdAt: Date;
|
|
2607
2629
|
tags: string[];
|
|
2630
|
+
durationMs: number;
|
|
2631
|
+
costInCents: number;
|
|
2632
|
+
baseCostInCents: number;
|
|
2608
2633
|
taskIdentifier: string;
|
|
2609
2634
|
depth: number;
|
|
2610
|
-
triggerFunction: "
|
|
2635
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
2611
2636
|
isQueued: boolean;
|
|
2612
2637
|
isExecuting: boolean;
|
|
2613
2638
|
isCompleted: boolean;
|
|
2614
2639
|
isSuccess: boolean;
|
|
2615
2640
|
isFailed: boolean;
|
|
2616
2641
|
isCancelled: boolean;
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
costInCents: number;
|
|
2621
|
-
baseCostInCents: number;
|
|
2622
|
-
durationMs: number;
|
|
2642
|
+
version?: string | undefined;
|
|
2643
|
+
metadata?: Record<string, any> | undefined;
|
|
2644
|
+
startedAt?: Date | undefined;
|
|
2623
2645
|
idempotencyKey?: string | undefined;
|
|
2624
2646
|
ttl?: string | undefined;
|
|
2625
|
-
metadata?: Record<string, any> | undefined;
|
|
2626
2647
|
batchId?: string | undefined;
|
|
2627
|
-
version?: string | undefined;
|
|
2628
|
-
startedAt?: Date | undefined;
|
|
2629
2648
|
finishedAt?: Date | undefined;
|
|
2630
2649
|
delayedUntil?: Date | undefined;
|
|
2631
2650
|
expiredAt?: Date | undefined;
|
|
2632
2651
|
} | undefined;
|
|
2633
2652
|
parent?: {
|
|
2653
|
+
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2634
2654
|
id: string;
|
|
2635
|
-
|
|
2655
|
+
updatedAt: Date;
|
|
2656
|
+
isTest: boolean;
|
|
2657
|
+
createdAt: Date;
|
|
2636
2658
|
tags: string[];
|
|
2659
|
+
durationMs: number;
|
|
2660
|
+
costInCents: number;
|
|
2661
|
+
baseCostInCents: number;
|
|
2637
2662
|
taskIdentifier: string;
|
|
2638
2663
|
depth: number;
|
|
2639
|
-
triggerFunction: "
|
|
2664
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
2640
2665
|
isQueued: boolean;
|
|
2641
2666
|
isExecuting: boolean;
|
|
2642
2667
|
isCompleted: boolean;
|
|
2643
2668
|
isSuccess: boolean;
|
|
2644
2669
|
isFailed: boolean;
|
|
2645
2670
|
isCancelled: boolean;
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
costInCents: number;
|
|
2650
|
-
baseCostInCents: number;
|
|
2651
|
-
durationMs: number;
|
|
2671
|
+
version?: string | undefined;
|
|
2672
|
+
metadata?: Record<string, any> | undefined;
|
|
2673
|
+
startedAt?: Date | undefined;
|
|
2652
2674
|
idempotencyKey?: string | undefined;
|
|
2653
2675
|
ttl?: string | undefined;
|
|
2654
|
-
metadata?: Record<string, any> | undefined;
|
|
2655
2676
|
batchId?: string | undefined;
|
|
2656
|
-
version?: string | undefined;
|
|
2657
|
-
startedAt?: Date | undefined;
|
|
2658
2677
|
finishedAt?: Date | undefined;
|
|
2659
2678
|
delayedUntil?: Date | undefined;
|
|
2660
2679
|
expiredAt?: Date | undefined;
|
|
2661
2680
|
} | undefined;
|
|
2662
2681
|
children?: {
|
|
2682
|
+
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2663
2683
|
id: string;
|
|
2664
|
-
|
|
2684
|
+
updatedAt: Date;
|
|
2685
|
+
isTest: boolean;
|
|
2686
|
+
createdAt: Date;
|
|
2665
2687
|
tags: string[];
|
|
2688
|
+
durationMs: number;
|
|
2689
|
+
costInCents: number;
|
|
2690
|
+
baseCostInCents: number;
|
|
2666
2691
|
taskIdentifier: string;
|
|
2667
2692
|
depth: number;
|
|
2668
|
-
triggerFunction: "
|
|
2693
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
2669
2694
|
isQueued: boolean;
|
|
2670
2695
|
isExecuting: boolean;
|
|
2671
2696
|
isCompleted: boolean;
|
|
2672
2697
|
isSuccess: boolean;
|
|
2673
2698
|
isFailed: boolean;
|
|
2674
2699
|
isCancelled: boolean;
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
costInCents: number;
|
|
2679
|
-
baseCostInCents: number;
|
|
2680
|
-
durationMs: number;
|
|
2700
|
+
version?: string | undefined;
|
|
2701
|
+
metadata?: Record<string, any> | undefined;
|
|
2702
|
+
startedAt?: Date | undefined;
|
|
2681
2703
|
idempotencyKey?: string | undefined;
|
|
2682
2704
|
ttl?: string | undefined;
|
|
2683
|
-
metadata?: Record<string, any> | undefined;
|
|
2684
2705
|
batchId?: string | undefined;
|
|
2685
|
-
version?: string | undefined;
|
|
2686
|
-
startedAt?: Date | undefined;
|
|
2687
2706
|
finishedAt?: Date | undefined;
|
|
2688
2707
|
delayedUntil?: Date | undefined;
|
|
2689
2708
|
expiredAt?: Date | undefined;
|
|
2690
2709
|
}[] | undefined;
|
|
2691
2710
|
};
|
|
2692
2711
|
depth: number;
|
|
2693
|
-
triggerFunction: "
|
|
2712
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
2694
2713
|
isQueued: boolean;
|
|
2695
2714
|
isExecuting: boolean;
|
|
2696
2715
|
isCompleted: boolean;
|
|
2697
2716
|
isSuccess: boolean;
|
|
2698
2717
|
isFailed: boolean;
|
|
2699
2718
|
isCancelled: boolean;
|
|
2700
|
-
isTest: boolean;
|
|
2701
|
-
createdAt: Date;
|
|
2702
|
-
updatedAt: Date;
|
|
2703
|
-
costInCents: number;
|
|
2704
|
-
baseCostInCents: number;
|
|
2705
|
-
durationMs: number;
|
|
2706
|
-
attempts: ({
|
|
2707
|
-
id: string;
|
|
2708
|
-
status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
|
|
2709
|
-
createdAt: Date;
|
|
2710
|
-
updatedAt: Date;
|
|
2711
|
-
error?: {
|
|
2712
|
-
message: string;
|
|
2713
|
-
name?: string | undefined;
|
|
2714
|
-
stackTrace?: string | undefined;
|
|
2715
|
-
} | undefined;
|
|
2716
|
-
startedAt?: Date | undefined;
|
|
2717
|
-
completedAt?: Date | undefined;
|
|
2718
|
-
} | undefined)[];
|
|
2719
2719
|
attemptCount: number;
|
|
2720
2720
|
payload?: any;
|
|
2721
|
-
|
|
2722
|
-
ttl?: string | undefined;
|
|
2721
|
+
version?: string | undefined;
|
|
2723
2722
|
metadata?: Record<string, any> | undefined;
|
|
2724
|
-
|
|
2723
|
+
startedAt?: Date | undefined;
|
|
2725
2724
|
output?: any;
|
|
2726
|
-
outputPresignedUrl?: string | undefined;
|
|
2727
2725
|
error?: {
|
|
2728
2726
|
message: string;
|
|
2729
2727
|
name?: string | undefined;
|
|
2730
2728
|
stackTrace?: string | undefined;
|
|
2731
2729
|
} | undefined;
|
|
2730
|
+
idempotencyKey?: string | undefined;
|
|
2732
2731
|
schedule?: {
|
|
2733
2732
|
id: string;
|
|
2734
2733
|
generator: {
|
|
2735
2734
|
type: "CRON";
|
|
2736
|
-
expression: string;
|
|
2737
2735
|
description: string;
|
|
2736
|
+
expression: string;
|
|
2738
2737
|
};
|
|
2739
2738
|
externalId?: string | undefined;
|
|
2740
2739
|
deduplicationKey?: string | undefined;
|
|
2741
2740
|
} | undefined;
|
|
2741
|
+
ttl?: string | undefined;
|
|
2742
|
+
payloadPresignedUrl?: string | undefined;
|
|
2743
|
+
outputPresignedUrl?: string | undefined;
|
|
2742
2744
|
batchId?: string | undefined;
|
|
2743
|
-
version?: string | undefined;
|
|
2744
|
-
startedAt?: Date | undefined;
|
|
2745
2745
|
finishedAt?: Date | undefined;
|
|
2746
2746
|
delayedUntil?: Date | undefined;
|
|
2747
2747
|
expiredAt?: Date | undefined;
|
|
2748
2748
|
}, {
|
|
2749
|
+
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2749
2750
|
id: string;
|
|
2750
|
-
|
|
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)[];
|
|
2764
|
+
updatedAt: Date;
|
|
2765
|
+
isTest: boolean;
|
|
2766
|
+
createdAt: Date;
|
|
2751
2767
|
tags: string[];
|
|
2768
|
+
durationMs: number;
|
|
2769
|
+
costInCents: number;
|
|
2770
|
+
baseCostInCents: number;
|
|
2752
2771
|
taskIdentifier: string;
|
|
2753
2772
|
relatedRuns: {
|
|
2754
2773
|
root?: {
|
|
2774
|
+
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2755
2775
|
id: string;
|
|
2756
|
-
|
|
2776
|
+
updatedAt: Date;
|
|
2777
|
+
isTest: boolean;
|
|
2778
|
+
createdAt: Date;
|
|
2757
2779
|
tags: string[];
|
|
2780
|
+
durationMs: number;
|
|
2781
|
+
costInCents: number;
|
|
2782
|
+
baseCostInCents: number;
|
|
2758
2783
|
taskIdentifier: string;
|
|
2759
2784
|
depth: number;
|
|
2760
|
-
triggerFunction: "
|
|
2785
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
2761
2786
|
isQueued: boolean;
|
|
2762
2787
|
isExecuting: boolean;
|
|
2763
2788
|
isCompleted: boolean;
|
|
2764
2789
|
isSuccess: boolean;
|
|
2765
2790
|
isFailed: boolean;
|
|
2766
2791
|
isCancelled: boolean;
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
costInCents: number;
|
|
2771
|
-
baseCostInCents: number;
|
|
2772
|
-
durationMs: number;
|
|
2792
|
+
version?: string | undefined;
|
|
2793
|
+
metadata?: Record<string, any> | undefined;
|
|
2794
|
+
startedAt?: Date | undefined;
|
|
2773
2795
|
idempotencyKey?: string | undefined;
|
|
2774
2796
|
ttl?: string | undefined;
|
|
2775
|
-
metadata?: Record<string, any> | undefined;
|
|
2776
2797
|
batchId?: string | undefined;
|
|
2777
|
-
version?: string | undefined;
|
|
2778
|
-
startedAt?: Date | undefined;
|
|
2779
2798
|
finishedAt?: Date | undefined;
|
|
2780
2799
|
delayedUntil?: Date | undefined;
|
|
2781
2800
|
expiredAt?: Date | undefined;
|
|
2782
2801
|
} | undefined;
|
|
2783
2802
|
parent?: {
|
|
2803
|
+
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2784
2804
|
id: string;
|
|
2785
|
-
|
|
2805
|
+
updatedAt: Date;
|
|
2806
|
+
isTest: boolean;
|
|
2807
|
+
createdAt: Date;
|
|
2786
2808
|
tags: string[];
|
|
2809
|
+
durationMs: number;
|
|
2810
|
+
costInCents: number;
|
|
2811
|
+
baseCostInCents: number;
|
|
2787
2812
|
taskIdentifier: string;
|
|
2788
2813
|
depth: number;
|
|
2789
|
-
triggerFunction: "
|
|
2814
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
2790
2815
|
isQueued: boolean;
|
|
2791
2816
|
isExecuting: boolean;
|
|
2792
2817
|
isCompleted: boolean;
|
|
2793
2818
|
isSuccess: boolean;
|
|
2794
2819
|
isFailed: boolean;
|
|
2795
2820
|
isCancelled: boolean;
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
costInCents: number;
|
|
2800
|
-
baseCostInCents: number;
|
|
2801
|
-
durationMs: number;
|
|
2821
|
+
version?: string | undefined;
|
|
2822
|
+
metadata?: Record<string, any> | undefined;
|
|
2823
|
+
startedAt?: Date | undefined;
|
|
2802
2824
|
idempotencyKey?: string | undefined;
|
|
2803
2825
|
ttl?: string | undefined;
|
|
2804
|
-
metadata?: Record<string, any> | undefined;
|
|
2805
2826
|
batchId?: string | undefined;
|
|
2806
|
-
version?: string | undefined;
|
|
2807
|
-
startedAt?: Date | undefined;
|
|
2808
2827
|
finishedAt?: Date | undefined;
|
|
2809
2828
|
delayedUntil?: Date | undefined;
|
|
2810
2829
|
expiredAt?: Date | undefined;
|
|
2811
2830
|
} | undefined;
|
|
2812
2831
|
children?: {
|
|
2832
|
+
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2813
2833
|
id: string;
|
|
2814
|
-
|
|
2834
|
+
updatedAt: Date;
|
|
2835
|
+
isTest: boolean;
|
|
2836
|
+
createdAt: Date;
|
|
2815
2837
|
tags: string[];
|
|
2838
|
+
durationMs: number;
|
|
2839
|
+
costInCents: number;
|
|
2840
|
+
baseCostInCents: number;
|
|
2816
2841
|
taskIdentifier: string;
|
|
2817
2842
|
depth: number;
|
|
2818
|
-
triggerFunction: "
|
|
2843
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
2819
2844
|
isQueued: boolean;
|
|
2820
2845
|
isExecuting: boolean;
|
|
2821
2846
|
isCompleted: boolean;
|
|
2822
2847
|
isSuccess: boolean;
|
|
2823
2848
|
isFailed: boolean;
|
|
2824
2849
|
isCancelled: boolean;
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
costInCents: number;
|
|
2829
|
-
baseCostInCents: number;
|
|
2830
|
-
durationMs: number;
|
|
2850
|
+
version?: string | undefined;
|
|
2851
|
+
metadata?: Record<string, any> | undefined;
|
|
2852
|
+
startedAt?: Date | undefined;
|
|
2831
2853
|
idempotencyKey?: string | undefined;
|
|
2832
2854
|
ttl?: string | undefined;
|
|
2833
|
-
metadata?: Record<string, any> | undefined;
|
|
2834
2855
|
batchId?: string | undefined;
|
|
2835
|
-
version?: string | undefined;
|
|
2836
|
-
startedAt?: Date | undefined;
|
|
2837
2856
|
finishedAt?: Date | undefined;
|
|
2838
2857
|
delayedUntil?: Date | undefined;
|
|
2839
2858
|
expiredAt?: Date | undefined;
|
|
2840
2859
|
}[] | undefined;
|
|
2841
2860
|
};
|
|
2842
2861
|
depth: number;
|
|
2843
|
-
triggerFunction: "
|
|
2862
|
+
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
2844
2863
|
isQueued: boolean;
|
|
2845
2864
|
isExecuting: boolean;
|
|
2846
2865
|
isCompleted: boolean;
|
|
2847
2866
|
isSuccess: boolean;
|
|
2848
2867
|
isFailed: boolean;
|
|
2849
2868
|
isCancelled: boolean;
|
|
2850
|
-
isTest: boolean;
|
|
2851
|
-
createdAt: Date;
|
|
2852
|
-
updatedAt: Date;
|
|
2853
|
-
costInCents: number;
|
|
2854
|
-
baseCostInCents: number;
|
|
2855
|
-
durationMs: number;
|
|
2856
|
-
attempts: ({
|
|
2857
|
-
id: string;
|
|
2858
|
-
status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
|
|
2859
|
-
createdAt: Date;
|
|
2860
|
-
updatedAt: Date;
|
|
2861
|
-
error?: {
|
|
2862
|
-
message: string;
|
|
2863
|
-
name?: string | undefined;
|
|
2864
|
-
stackTrace?: string | undefined;
|
|
2865
|
-
} | undefined;
|
|
2866
|
-
startedAt?: Date | undefined;
|
|
2867
|
-
completedAt?: Date | undefined;
|
|
2868
|
-
} | undefined)[];
|
|
2869
2869
|
payload?: any;
|
|
2870
|
-
|
|
2871
|
-
ttl?: string | undefined;
|
|
2870
|
+
version?: string | undefined;
|
|
2872
2871
|
metadata?: Record<string, any> | undefined;
|
|
2873
|
-
|
|
2872
|
+
startedAt?: Date | undefined;
|
|
2874
2873
|
output?: any;
|
|
2875
|
-
outputPresignedUrl?: string | undefined;
|
|
2876
2874
|
error?: {
|
|
2877
2875
|
message: string;
|
|
2878
2876
|
name?: string | undefined;
|
|
2879
2877
|
stackTrace?: string | undefined;
|
|
2880
2878
|
} | undefined;
|
|
2879
|
+
idempotencyKey?: string | undefined;
|
|
2881
2880
|
schedule?: {
|
|
2882
2881
|
id: string;
|
|
2883
2882
|
generator: {
|
|
2884
2883
|
type: "CRON";
|
|
2885
|
-
expression: string;
|
|
2886
2884
|
description: string;
|
|
2885
|
+
expression: string;
|
|
2887
2886
|
};
|
|
2888
2887
|
externalId?: string | undefined;
|
|
2889
2888
|
deduplicationKey?: string | undefined;
|
|
2890
2889
|
} | undefined;
|
|
2890
|
+
ttl?: string | undefined;
|
|
2891
|
+
payloadPresignedUrl?: string | undefined;
|
|
2892
|
+
outputPresignedUrl?: string | undefined;
|
|
2891
2893
|
batchId?: string | undefined;
|
|
2892
|
-
version?: string | undefined;
|
|
2893
|
-
startedAt?: Date | undefined;
|
|
2894
2894
|
finishedAt?: Date | undefined;
|
|
2895
2895
|
delayedUntil?: Date | undefined;
|
|
2896
2896
|
expiredAt?: Date | undefined;
|
|
@@ -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,9 +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: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2939
2940
|
id: string;
|
|
2940
|
-
|
|
2941
|
+
updatedAt: Date;
|
|
2942
|
+
isTest: boolean;
|
|
2943
|
+
createdAt: Date;
|
|
2941
2944
|
tags: string[];
|
|
2945
|
+
durationMs: number;
|
|
2946
|
+
costInCents: number;
|
|
2947
|
+
baseCostInCents: number;
|
|
2942
2948
|
taskIdentifier: string;
|
|
2943
2949
|
isQueued: boolean;
|
|
2944
2950
|
isExecuting: boolean;
|
|
@@ -2946,29 +2952,29 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
2946
2952
|
isSuccess: boolean;
|
|
2947
2953
|
isFailed: boolean;
|
|
2948
2954
|
isCancelled: boolean;
|
|
2949
|
-
isTest: boolean;
|
|
2950
|
-
createdAt: Date;
|
|
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
|
-
idempotencyKey?: string | undefined;
|
|
2961
|
-
ttl?: string | undefined;
|
|
2962
|
-
metadata?: Record<string, any> | undefined;
|
|
2963
2960
|
version?: string | undefined;
|
|
2961
|
+
metadata?: Record<string, any> | undefined;
|
|
2964
2962
|
startedAt?: Date | undefined;
|
|
2963
|
+
idempotencyKey?: string | undefined;
|
|
2964
|
+
ttl?: string | undefined;
|
|
2965
2965
|
finishedAt?: Date | undefined;
|
|
2966
2966
|
delayedUntil?: Date | undefined;
|
|
2967
2967
|
expiredAt?: Date | undefined;
|
|
2968
2968
|
}, {
|
|
2969
|
+
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2969
2970
|
id: string;
|
|
2970
|
-
|
|
2971
|
+
updatedAt: Date;
|
|
2972
|
+
isTest: boolean;
|
|
2973
|
+
createdAt: Date;
|
|
2971
2974
|
tags: string[];
|
|
2975
|
+
durationMs: number;
|
|
2976
|
+
costInCents: number;
|
|
2977
|
+
baseCostInCents: number;
|
|
2972
2978
|
taskIdentifier: string;
|
|
2973
2979
|
isQueued: boolean;
|
|
2974
2980
|
isExecuting: boolean;
|
|
@@ -2976,22 +2982,16 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
2976
2982
|
isSuccess: boolean;
|
|
2977
2983
|
isFailed: boolean;
|
|
2978
2984
|
isCancelled: boolean;
|
|
2979
|
-
isTest: boolean;
|
|
2980
|
-
createdAt: Date;
|
|
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
|
-
idempotencyKey?: string | undefined;
|
|
2991
|
-
ttl?: string | undefined;
|
|
2992
|
-
metadata?: Record<string, any> | undefined;
|
|
2993
2990
|
version?: string | undefined;
|
|
2991
|
+
metadata?: Record<string, any> | undefined;
|
|
2994
2992
|
startedAt?: Date | undefined;
|
|
2993
|
+
idempotencyKey?: string | undefined;
|
|
2994
|
+
ttl?: string | 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,9 +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: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3040
3041
|
id: string;
|
|
3041
|
-
|
|
3042
|
+
updatedAt: Date;
|
|
3043
|
+
isTest: boolean;
|
|
3044
|
+
createdAt: Date;
|
|
3042
3045
|
tags: string[];
|
|
3046
|
+
durationMs: number;
|
|
3047
|
+
costInCents: number;
|
|
3048
|
+
baseCostInCents: number;
|
|
3043
3049
|
taskIdentifier: string;
|
|
3044
3050
|
isQueued: boolean;
|
|
3045
3051
|
isExecuting: boolean;
|
|
@@ -3047,29 +3053,29 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3047
3053
|
isSuccess: boolean;
|
|
3048
3054
|
isFailed: boolean;
|
|
3049
3055
|
isCancelled: boolean;
|
|
3050
|
-
isTest: boolean;
|
|
3051
|
-
createdAt: Date;
|
|
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
|
-
idempotencyKey?: string | undefined;
|
|
3062
|
-
ttl?: string | undefined;
|
|
3063
|
-
metadata?: Record<string, any> | undefined;
|
|
3064
3061
|
version?: string | undefined;
|
|
3062
|
+
metadata?: Record<string, any> | undefined;
|
|
3065
3063
|
startedAt?: Date | undefined;
|
|
3064
|
+
idempotencyKey?: string | undefined;
|
|
3065
|
+
ttl?: string | undefined;
|
|
3066
3066
|
finishedAt?: Date | undefined;
|
|
3067
3067
|
delayedUntil?: Date | undefined;
|
|
3068
3068
|
expiredAt?: Date | undefined;
|
|
3069
3069
|
}, {
|
|
3070
|
+
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3070
3071
|
id: string;
|
|
3071
|
-
|
|
3072
|
+
updatedAt: Date;
|
|
3073
|
+
isTest: boolean;
|
|
3074
|
+
createdAt: Date;
|
|
3072
3075
|
tags: string[];
|
|
3076
|
+
durationMs: number;
|
|
3077
|
+
costInCents: number;
|
|
3078
|
+
baseCostInCents: number;
|
|
3073
3079
|
taskIdentifier: string;
|
|
3074
3080
|
isQueued: boolean;
|
|
3075
3081
|
isExecuting: boolean;
|
|
@@ -3077,22 +3083,16 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3077
3083
|
isSuccess: boolean;
|
|
3078
3084
|
isFailed: boolean;
|
|
3079
3085
|
isCancelled: boolean;
|
|
3080
|
-
isTest: boolean;
|
|
3081
|
-
createdAt: Date;
|
|
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
|
-
idempotencyKey?: string | undefined;
|
|
3092
|
-
ttl?: string | undefined;
|
|
3093
|
-
metadata?: Record<string, any> | undefined;
|
|
3094
3091
|
version?: string | undefined;
|
|
3092
|
+
metadata?: Record<string, any> | undefined;
|
|
3095
3093
|
startedAt?: Date | undefined;
|
|
3094
|
+
idempotencyKey?: string | undefined;
|
|
3095
|
+
ttl?: string | undefined;
|
|
3096
3096
|
finishedAt?: Date | undefined;
|
|
3097
3097
|
delayedUntil?: Date | undefined;
|
|
3098
3098
|
expiredAt?: Date | undefined;
|
|
@@ -3109,9 +3109,15 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3109
3109
|
}>;
|
|
3110
3110
|
}, "strip", z.ZodTypeAny, {
|
|
3111
3111
|
data: {
|
|
3112
|
+
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3112
3113
|
id: string;
|
|
3113
|
-
|
|
3114
|
+
updatedAt: Date;
|
|
3115
|
+
isTest: boolean;
|
|
3116
|
+
createdAt: Date;
|
|
3114
3117
|
tags: string[];
|
|
3118
|
+
durationMs: number;
|
|
3119
|
+
costInCents: number;
|
|
3120
|
+
baseCostInCents: number;
|
|
3115
3121
|
taskIdentifier: string;
|
|
3116
3122
|
isQueued: boolean;
|
|
3117
3123
|
isExecuting: boolean;
|
|
@@ -3119,22 +3125,16 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3119
3125
|
isSuccess: boolean;
|
|
3120
3126
|
isFailed: boolean;
|
|
3121
3127
|
isCancelled: boolean;
|
|
3122
|
-
isTest: boolean;
|
|
3123
|
-
createdAt: Date;
|
|
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
|
-
idempotencyKey?: string | undefined;
|
|
3134
|
-
ttl?: string | undefined;
|
|
3135
|
-
metadata?: Record<string, any> | undefined;
|
|
3136
3133
|
version?: string | undefined;
|
|
3134
|
+
metadata?: Record<string, any> | undefined;
|
|
3137
3135
|
startedAt?: Date | undefined;
|
|
3136
|
+
idempotencyKey?: string | undefined;
|
|
3137
|
+
ttl?: string | undefined;
|
|
3138
3138
|
finishedAt?: Date | undefined;
|
|
3139
3139
|
delayedUntil?: Date | undefined;
|
|
3140
3140
|
expiredAt?: Date | undefined;
|
|
@@ -3145,9 +3145,15 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3145
3145
|
};
|
|
3146
3146
|
}, {
|
|
3147
3147
|
data: {
|
|
3148
|
+
status: "COMPLETED" | "CANCELED" | "QUEUED" | "TIMED_OUT" | "EXECUTING" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3148
3149
|
id: string;
|
|
3149
|
-
|
|
3150
|
+
updatedAt: Date;
|
|
3151
|
+
isTest: boolean;
|
|
3152
|
+
createdAt: Date;
|
|
3150
3153
|
tags: string[];
|
|
3154
|
+
durationMs: number;
|
|
3155
|
+
costInCents: number;
|
|
3156
|
+
baseCostInCents: number;
|
|
3151
3157
|
taskIdentifier: string;
|
|
3152
3158
|
isQueued: boolean;
|
|
3153
3159
|
isExecuting: boolean;
|
|
@@ -3155,22 +3161,16 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3155
3161
|
isSuccess: boolean;
|
|
3156
3162
|
isFailed: boolean;
|
|
3157
3163
|
isCancelled: boolean;
|
|
3158
|
-
isTest: boolean;
|
|
3159
|
-
createdAt: Date;
|
|
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
|
-
idempotencyKey?: string | undefined;
|
|
3170
|
-
ttl?: string | undefined;
|
|
3171
|
-
metadata?: Record<string, any> | undefined;
|
|
3172
3169
|
version?: string | undefined;
|
|
3170
|
+
metadata?: Record<string, any> | undefined;
|
|
3173
3171
|
startedAt?: Date | undefined;
|
|
3172
|
+
idempotencyKey?: string | undefined;
|
|
3173
|
+
ttl?: string | undefined;
|
|
3174
3174
|
finishedAt?: Date | undefined;
|
|
3175
3175
|
delayedUntil?: Date | undefined;
|
|
3176
3176
|
expiredAt?: Date | undefined;
|
|
@@ -3606,13 +3606,13 @@ export type UpdateMetadataResponseBody = z.infer<typeof UpdateMetadataResponseBo
|
|
|
3606
3606
|
export declare const SubscribeRunRawShape: z.ZodObject<{
|
|
3607
3607
|
id: z.ZodString;
|
|
3608
3608
|
idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3609
|
-
createdAt: z.ZodDate
|
|
3610
|
-
updatedAt: z.ZodDate
|
|
3611
|
-
startedAt: z.ZodOptional<z.ZodNullable<z.
|
|
3612
|
-
delayUntil: z.ZodOptional<z.ZodNullable<z.
|
|
3613
|
-
queuedAt: z.ZodOptional<z.ZodNullable<z.
|
|
3614
|
-
expiredAt: z.ZodOptional<z.ZodNullable<z.
|
|
3615
|
-
completedAt: z.ZodOptional<z.ZodNullable<z.
|
|
3609
|
+
createdAt: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodDate>;
|
|
3610
|
+
updatedAt: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodDate>;
|
|
3611
|
+
startedAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | Date | null | undefined, string | null | undefined>;
|
|
3612
|
+
delayUntil: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | Date | null | undefined, string | null | undefined>;
|
|
3613
|
+
queuedAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | Date | null | undefined, string | null | undefined>;
|
|
3614
|
+
expiredAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | Date | null | undefined, string | null | undefined>;
|
|
3615
|
+
completedAt: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | Date | null | undefined, string | null | undefined>;
|
|
3616
3616
|
taskIdentifier: z.ZodString;
|
|
3617
3617
|
friendlyId: z.ZodString;
|
|
3618
3618
|
number: z.ZodNumber;
|
|
@@ -3680,23 +3680,22 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
|
|
|
3680
3680
|
}>]>>>;
|
|
3681
3681
|
}, "strip", z.ZodTypeAny, {
|
|
3682
3682
|
number: number;
|
|
3683
|
-
id: string;
|
|
3684
3683
|
status: string;
|
|
3685
|
-
|
|
3684
|
+
id: string;
|
|
3685
|
+
updatedAt: Date;
|
|
3686
3686
|
isTest: boolean;
|
|
3687
3687
|
createdAt: Date;
|
|
3688
|
-
updatedAt: 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
3694
|
payload?: string | null | undefined;
|
|
3695
|
-
idempotencyKey?: string | null | undefined;
|
|
3696
|
-
payloadType?: string | null | undefined;
|
|
3697
|
-
ttl?: string | null | undefined;
|
|
3698
3695
|
metadata?: string | null | undefined;
|
|
3699
|
-
|
|
3696
|
+
startedAt?: string | Date | null | undefined;
|
|
3697
|
+
completedAt?: string | Date | null | undefined;
|
|
3698
|
+
delayUntil?: string | Date | null | undefined;
|
|
3700
3699
|
output?: string | null | undefined;
|
|
3701
3700
|
error?: {
|
|
3702
3701
|
message: string;
|
|
@@ -3715,30 +3714,30 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
|
|
|
3715
3714
|
message?: string | undefined;
|
|
3716
3715
|
stackTrace?: string | undefined;
|
|
3717
3716
|
} | null | undefined;
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
completedAt?: Date | null | undefined;
|
|
3717
|
+
idempotencyKey?: string | null | undefined;
|
|
3718
|
+
payloadType?: string | null | undefined;
|
|
3721
3719
|
outputType?: string | null | undefined;
|
|
3722
|
-
|
|
3723
|
-
|
|
3720
|
+
ttl?: string | null | undefined;
|
|
3721
|
+
expiredAt?: string | Date | null | undefined;
|
|
3722
|
+
metadataType?: string | null | undefined;
|
|
3723
|
+
queuedAt?: string | Date | null | undefined;
|
|
3724
3724
|
}, {
|
|
3725
3725
|
number: number;
|
|
3726
|
-
id: string;
|
|
3727
3726
|
status: string;
|
|
3728
|
-
|
|
3727
|
+
id: string;
|
|
3728
|
+
updatedAt: string;
|
|
3729
3729
|
isTest: boolean;
|
|
3730
|
-
createdAt:
|
|
3731
|
-
updatedAt: Date;
|
|
3730
|
+
createdAt: string;
|
|
3732
3731
|
costInCents: number;
|
|
3733
3732
|
baseCostInCents: number;
|
|
3733
|
+
taskIdentifier: string;
|
|
3734
3734
|
friendlyId: string;
|
|
3735
3735
|
usageDurationMs: number;
|
|
3736
3736
|
payload?: string | null | undefined;
|
|
3737
|
-
idempotencyKey?: string | null | undefined;
|
|
3738
|
-
payloadType?: string | null | undefined;
|
|
3739
|
-
ttl?: string | null | undefined;
|
|
3740
3737
|
metadata?: string | null | undefined;
|
|
3741
|
-
|
|
3738
|
+
startedAt?: string | null | undefined;
|
|
3739
|
+
completedAt?: string | null | undefined;
|
|
3740
|
+
delayUntil?: string | null | undefined;
|
|
3742
3741
|
output?: string | null | undefined;
|
|
3743
3742
|
error?: {
|
|
3744
3743
|
message: string;
|
|
@@ -3757,12 +3756,13 @@ export declare const SubscribeRunRawShape: z.ZodObject<{
|
|
|
3757
3756
|
message?: string | undefined;
|
|
3758
3757
|
stackTrace?: string | undefined;
|
|
3759
3758
|
} | null | undefined;
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
completedAt?: Date | null | undefined;
|
|
3759
|
+
idempotencyKey?: string | null | undefined;
|
|
3760
|
+
payloadType?: string | null | undefined;
|
|
3763
3761
|
outputType?: string | null | undefined;
|
|
3764
|
-
|
|
3765
|
-
|
|
3762
|
+
ttl?: string | null | undefined;
|
|
3763
|
+
expiredAt?: string | null | undefined;
|
|
3764
|
+
metadataType?: string | null | undefined;
|
|
3765
|
+
queuedAt?: string | null | undefined;
|
|
3766
3766
|
runTags?: string[] | null | undefined;
|
|
3767
3767
|
}>;
|
|
3768
3768
|
export type SubscribeRunRawShape = z.infer<typeof SubscribeRunRawShape>;
|
|
@@ -3776,17 +3776,17 @@ export declare const RetrieveBatchResponse: z.ZodObject<{
|
|
|
3776
3776
|
updatedAt: z.ZodDate;
|
|
3777
3777
|
runCount: z.ZodNumber;
|
|
3778
3778
|
}, "strip", z.ZodTypeAny, {
|
|
3779
|
+
status: "PENDING" | "COMPLETED";
|
|
3779
3780
|
id: string;
|
|
3780
|
-
status: "COMPLETED" | "PENDING";
|
|
3781
|
-
createdAt: Date;
|
|
3782
3781
|
updatedAt: Date;
|
|
3782
|
+
createdAt: Date;
|
|
3783
3783
|
runCount: number;
|
|
3784
3784
|
idempotencyKey?: string | undefined;
|
|
3785
3785
|
}, {
|
|
3786
|
+
status: "PENDING" | "COMPLETED";
|
|
3786
3787
|
id: string;
|
|
3787
|
-
status: "COMPLETED" | "PENDING";
|
|
3788
|
-
createdAt: Date;
|
|
3789
3788
|
updatedAt: Date;
|
|
3789
|
+
createdAt: Date;
|
|
3790
3790
|
runCount: number;
|
|
3791
3791
|
idempotencyKey?: string | undefined;
|
|
3792
3792
|
}>;
|
|
@@ -3799,17 +3799,17 @@ export declare const SubscribeRealtimeStreamChunkRawShape: z.ZodObject<{
|
|
|
3799
3799
|
value: z.ZodString;
|
|
3800
3800
|
createdAt: z.ZodDate;
|
|
3801
3801
|
}, "strip", z.ZodTypeAny, {
|
|
3802
|
-
id: string;
|
|
3803
3802
|
value: string;
|
|
3804
|
-
|
|
3803
|
+
id: string;
|
|
3805
3804
|
key: string;
|
|
3805
|
+
createdAt: Date;
|
|
3806
3806
|
runId: string;
|
|
3807
3807
|
sequence: number;
|
|
3808
3808
|
}, {
|
|
3809
|
-
id: string;
|
|
3810
3809
|
value: string;
|
|
3811
|
-
|
|
3810
|
+
id: string;
|
|
3812
3811
|
key: string;
|
|
3812
|
+
createdAt: Date;
|
|
3813
3813
|
runId: string;
|
|
3814
3814
|
sequence: number;
|
|
3815
3815
|
}>;
|