@trigger.dev/core 4.0.0-v4-beta.22 → 4.0.0-v4-beta.24
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/core.js +11 -0
- package/dist/commonjs/v3/apiClient/core.js.map +1 -1
- package/dist/commonjs/v3/apiClient/index.d.ts +18 -42
- package/dist/commonjs/v3/apiClient/index.js +17 -4
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/apiClient/runStream.d.ts +7 -1
- package/dist/commonjs/v3/apiClient/runStream.js +26 -12
- package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
- package/dist/commonjs/v3/apiClient/stream.js +2 -0
- package/dist/commonjs/v3/apiClient/stream.js.map +1 -1
- package/dist/commonjs/v3/apiClient/types.d.ts +22 -1
- package/dist/commonjs/v3/apiClient/version.d.ts +2 -0
- package/dist/commonjs/v3/apiClient/version.js +6 -0
- package/dist/commonjs/v3/apiClient/version.js.map +1 -0
- package/dist/commonjs/v3/build/runtime.d.ts +1 -0
- package/dist/commonjs/v3/build/runtime.js +17 -1
- package/dist/commonjs/v3/build/runtime.js.map +1 -1
- package/dist/commonjs/v3/config.d.ts +7 -0
- package/dist/commonjs/v3/consoleInterceptor.d.ts +2 -1
- package/dist/commonjs/v3/consoleInterceptor.js +7 -2
- package/dist/commonjs/v3/consoleInterceptor.js.map +1 -1
- package/dist/commonjs/v3/idempotencyKeys.js +2 -5
- package/dist/commonjs/v3/idempotencyKeys.js.map +1 -1
- package/dist/commonjs/v3/isomorphic/friendlyId.d.ts +1 -0
- package/dist/commonjs/v3/isomorphic/friendlyId.js +2 -1
- package/dist/commonjs/v3/isomorphic/friendlyId.js.map +1 -1
- package/dist/commonjs/v3/limits.js +2 -5
- package/dist/commonjs/v3/limits.js.map +1 -1
- package/dist/commonjs/v3/links.d.ts +3 -0
- package/dist/commonjs/v3/links.js +3 -0
- package/dist/commonjs/v3/links.js.map +1 -1
- package/dist/commonjs/v3/logger/taskLogger.d.ts +1 -0
- package/dist/commonjs/v3/logger/taskLogger.js +5 -19
- package/dist/commonjs/v3/logger/taskLogger.js.map +1 -1
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js +2 -7
- package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +4 -4
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +20 -20
- package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +3 -3
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +16 -16
- package/dist/commonjs/v3/schemas/api.d.ts +108 -157
- package/dist/commonjs/v3/schemas/api.js +7 -28
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +18 -40
- package/dist/commonjs/v3/schemas/build.js +1 -0
- package/dist/commonjs/v3/schemas/build.js.map +1 -1
- package/dist/commonjs/v3/schemas/checkpoints.d.ts +4 -4
- package/dist/commonjs/v3/schemas/messages.d.ts +9 -52
- package/dist/commonjs/v3/schemas/queues.d.ts +15 -4
- package/dist/commonjs/v3/schemas/queues.js +10 -14
- package/dist/commonjs/v3/schemas/queues.js.map +1 -1
- package/dist/commonjs/v3/schemas/resources.d.ts +6 -17
- package/dist/commonjs/v3/schemas/resources.js +2 -0
- package/dist/commonjs/v3/schemas/resources.js.map +1 -1
- package/dist/commonjs/v3/schemas/runEngine.d.ts +11 -10
- package/dist/commonjs/v3/schemas/runEngine.js +1 -0
- package/dist/commonjs/v3/schemas/runEngine.js.map +1 -1
- package/dist/commonjs/v3/schemas/schemas.d.ts +0 -25
- package/dist/commonjs/v3/schemas/schemas.js +0 -5
- package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
- package/dist/commonjs/v3/schemas/webhooks.d.ts +12 -12
- package/dist/commonjs/v3/serverOnly/index.d.ts +1 -0
- package/dist/commonjs/v3/serverOnly/index.js +1 -0
- package/dist/commonjs/v3/serverOnly/index.js.map +1 -1
- package/dist/commonjs/v3/types/queues.d.ts +0 -5
- package/dist/commonjs/v3/types/tasks.d.ts +1 -11
- package/dist/commonjs/v3/utils/crypto.d.ts +2 -0
- package/dist/commonjs/v3/utils/crypto.js +17 -0
- package/dist/commonjs/v3/utils/crypto.js.map +1 -0
- package/dist/commonjs/v3/utils/flattenAttributes.d.ts +1 -1
- package/dist/commonjs/v3/utils/flattenAttributes.js +186 -55
- package/dist/commonjs/v3/utils/flattenAttributes.js.map +1 -1
- package/dist/commonjs/v3/utils/ioSerialization.d.ts +19 -1
- package/dist/commonjs/v3/utils/ioSerialization.js +53 -10
- package/dist/commonjs/v3/utils/ioSerialization.js.map +1 -1
- package/dist/commonjs/v3/workers/taskExecutor.js +2 -3
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/apiClient/core.js +11 -0
- package/dist/esm/v3/apiClient/core.js.map +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +18 -42
- package/dist/esm/v3/apiClient/index.js +17 -4
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/apiClient/runStream.d.ts +7 -1
- package/dist/esm/v3/apiClient/runStream.js +26 -12
- package/dist/esm/v3/apiClient/runStream.js.map +1 -1
- package/dist/esm/v3/apiClient/stream.js +2 -0
- package/dist/esm/v3/apiClient/stream.js.map +1 -1
- package/dist/esm/v3/apiClient/types.d.ts +22 -1
- package/dist/esm/v3/apiClient/version.d.ts +2 -0
- package/dist/esm/v3/apiClient/version.js +3 -0
- package/dist/esm/v3/apiClient/version.js.map +1 -0
- package/dist/esm/v3/build/runtime.d.ts +1 -0
- package/dist/esm/v3/build/runtime.js +16 -1
- package/dist/esm/v3/build/runtime.js.map +1 -1
- package/dist/esm/v3/config.d.ts +7 -0
- package/dist/esm/v3/consoleInterceptor.d.ts +2 -1
- package/dist/esm/v3/consoleInterceptor.js +7 -2
- package/dist/esm/v3/consoleInterceptor.js.map +1 -1
- package/dist/esm/v3/idempotencyKeys.js +2 -5
- package/dist/esm/v3/idempotencyKeys.js.map +1 -1
- package/dist/esm/v3/isomorphic/friendlyId.d.ts +1 -0
- package/dist/esm/v3/isomorphic/friendlyId.js +1 -0
- package/dist/esm/v3/isomorphic/friendlyId.js.map +1 -1
- package/dist/esm/v3/limits.js +2 -5
- package/dist/esm/v3/limits.js.map +1 -1
- package/dist/esm/v3/links.d.ts +3 -0
- package/dist/esm/v3/links.js +3 -0
- package/dist/esm/v3/links.js.map +1 -1
- package/dist/esm/v3/logger/taskLogger.d.ts +1 -0
- package/dist/esm/v3/logger/taskLogger.js +5 -19
- package/dist/esm/v3/logger/taskLogger.js.map +1 -1
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.js +2 -7
- package/dist/esm/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +4 -4
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +20 -20
- package/dist/esm/v3/runEngineWorker/workload/http.d.ts +3 -3
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +16 -16
- package/dist/esm/v3/schemas/api.d.ts +108 -157
- package/dist/esm/v3/schemas/api.js +7 -28
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +18 -40
- package/dist/esm/v3/schemas/build.js +1 -0
- package/dist/esm/v3/schemas/build.js.map +1 -1
- package/dist/esm/v3/schemas/checkpoints.d.ts +4 -4
- package/dist/esm/v3/schemas/messages.d.ts +9 -52
- package/dist/esm/v3/schemas/queues.d.ts +15 -4
- package/dist/esm/v3/schemas/queues.js +9 -13
- package/dist/esm/v3/schemas/queues.js.map +1 -1
- package/dist/esm/v3/schemas/resources.d.ts +6 -17
- package/dist/esm/v3/schemas/resources.js +2 -0
- package/dist/esm/v3/schemas/resources.js.map +1 -1
- package/dist/esm/v3/schemas/runEngine.d.ts +11 -10
- package/dist/esm/v3/schemas/runEngine.js +1 -0
- package/dist/esm/v3/schemas/runEngine.js.map +1 -1
- package/dist/esm/v3/schemas/schemas.d.ts +0 -25
- package/dist/esm/v3/schemas/schemas.js +0 -5
- package/dist/esm/v3/schemas/schemas.js.map +1 -1
- package/dist/esm/v3/schemas/webhooks.d.ts +12 -12
- package/dist/esm/v3/serverOnly/index.d.ts +1 -0
- package/dist/esm/v3/serverOnly/index.js +1 -0
- package/dist/esm/v3/serverOnly/index.js.map +1 -1
- package/dist/esm/v3/types/queues.d.ts +0 -5
- package/dist/esm/v3/types/tasks.d.ts +1 -11
- package/dist/esm/v3/utils/crypto.d.ts +2 -0
- package/dist/esm/v3/utils/crypto.js +13 -0
- package/dist/esm/v3/utils/crypto.js.map +1 -0
- package/dist/esm/v3/utils/flattenAttributes.d.ts +1 -1
- package/dist/esm/v3/utils/flattenAttributes.js +186 -55
- package/dist/esm/v3/utils/flattenAttributes.js.map +1 -1
- package/dist/esm/v3/utils/ioSerialization.d.ts +19 -1
- package/dist/esm/v3/utils/ioSerialization.js +51 -11
- package/dist/esm/v3/utils/ioSerialization.js.map +1 -1
- package/dist/esm/v3/workers/taskExecutor.js +3 -4
- package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +4 -1
|
@@ -164,17 +164,14 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
164
164
|
queue: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
165
165
|
name: z.ZodString;
|
|
166
166
|
concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
167
|
-
releaseConcurrencyOnWaitpoint: z.ZodOptional<z.ZodBoolean>;
|
|
168
167
|
}, {
|
|
169
168
|
name: z.ZodOptional<z.ZodString>;
|
|
170
169
|
}>, "strip", z.ZodTypeAny, {
|
|
171
170
|
name?: string | undefined;
|
|
172
171
|
concurrencyLimit?: number | null | undefined;
|
|
173
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
174
172
|
}, {
|
|
175
173
|
name?: string | undefined;
|
|
176
174
|
concurrencyLimit?: number | null | undefined;
|
|
177
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
178
175
|
}>>;
|
|
179
176
|
retry: z.ZodOptional<z.ZodObject<{
|
|
180
177
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -244,7 +241,6 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
244
241
|
queue?: {
|
|
245
242
|
name?: string | undefined;
|
|
246
243
|
concurrencyLimit?: number | null | undefined;
|
|
247
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
248
244
|
} | undefined;
|
|
249
245
|
machine?: {
|
|
250
246
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -276,7 +272,6 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
276
272
|
queue?: {
|
|
277
273
|
name?: string | undefined;
|
|
278
274
|
concurrencyLimit?: number | null | undefined;
|
|
279
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
280
275
|
} | undefined;
|
|
281
276
|
machine?: {
|
|
282
277
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -304,15 +299,12 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
304
299
|
queues: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
305
300
|
name: z.ZodString;
|
|
306
301
|
concurrencyLimit: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
307
|
-
releaseConcurrencyOnWaitpoint: z.ZodOptional<z.ZodBoolean>;
|
|
308
302
|
}, "strip", z.ZodTypeAny, {
|
|
309
303
|
name: string;
|
|
310
304
|
concurrencyLimit?: number | null | undefined;
|
|
311
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
312
305
|
}, {
|
|
313
306
|
name: string;
|
|
314
307
|
concurrencyLimit?: number | null | undefined;
|
|
315
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
316
308
|
}>, "many">>;
|
|
317
309
|
sourceFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
318
310
|
filePath: z.ZodString;
|
|
@@ -330,6 +322,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
330
322
|
contents: string;
|
|
331
323
|
taskIds: string[];
|
|
332
324
|
}>, "many">>;
|
|
325
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
326
|
+
runtimeVersion: z.ZodOptional<z.ZodString>;
|
|
333
327
|
}, "strip", z.ZodTypeAny, {
|
|
334
328
|
contentHash: string;
|
|
335
329
|
packageVersion: string;
|
|
@@ -341,7 +335,6 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
341
335
|
queue?: {
|
|
342
336
|
name?: string | undefined;
|
|
343
337
|
concurrencyLimit?: number | null | undefined;
|
|
344
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
345
338
|
} | undefined;
|
|
346
339
|
machine?: {
|
|
347
340
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -369,7 +362,6 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
369
362
|
queues?: {
|
|
370
363
|
name: string;
|
|
371
364
|
concurrencyLimit?: number | null | undefined;
|
|
372
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
373
365
|
}[] | undefined;
|
|
374
366
|
cliPackageVersion?: string | undefined;
|
|
375
367
|
sourceFiles?: {
|
|
@@ -378,6 +370,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
378
370
|
contents: string;
|
|
379
371
|
taskIds: string[];
|
|
380
372
|
}[] | undefined;
|
|
373
|
+
runtime?: string | undefined;
|
|
374
|
+
runtimeVersion?: string | undefined;
|
|
381
375
|
}, {
|
|
382
376
|
contentHash: string;
|
|
383
377
|
packageVersion: string;
|
|
@@ -389,7 +383,6 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
389
383
|
queue?: {
|
|
390
384
|
name?: string | undefined;
|
|
391
385
|
concurrencyLimit?: number | null | undefined;
|
|
392
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
393
386
|
} | undefined;
|
|
394
387
|
machine?: {
|
|
395
388
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -417,7 +410,6 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
417
410
|
queues?: {
|
|
418
411
|
name: string;
|
|
419
412
|
concurrencyLimit?: number | null | undefined;
|
|
420
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
421
413
|
}[] | undefined;
|
|
422
414
|
cliPackageVersion?: string | undefined;
|
|
423
415
|
sourceFiles?: {
|
|
@@ -426,6 +418,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
426
418
|
contents: string;
|
|
427
419
|
taskIds: string[];
|
|
428
420
|
}[] | undefined;
|
|
421
|
+
runtime?: string | undefined;
|
|
422
|
+
runtimeVersion?: string | undefined;
|
|
429
423
|
}>;
|
|
430
424
|
engine: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"V1">, z.ZodLiteral<"V2">]>>;
|
|
431
425
|
supportsLazyAttempts: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -443,7 +437,6 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
443
437
|
queue?: {
|
|
444
438
|
name?: string | undefined;
|
|
445
439
|
concurrencyLimit?: number | null | undefined;
|
|
446
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
447
440
|
} | undefined;
|
|
448
441
|
machine?: {
|
|
449
442
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -471,7 +464,6 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
471
464
|
queues?: {
|
|
472
465
|
name: string;
|
|
473
466
|
concurrencyLimit?: number | null | undefined;
|
|
474
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
475
467
|
}[] | undefined;
|
|
476
468
|
cliPackageVersion?: string | undefined;
|
|
477
469
|
sourceFiles?: {
|
|
@@ -480,6 +472,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
480
472
|
contents: string;
|
|
481
473
|
taskIds: string[];
|
|
482
474
|
}[] | undefined;
|
|
475
|
+
runtime?: string | undefined;
|
|
476
|
+
runtimeVersion?: string | undefined;
|
|
483
477
|
};
|
|
484
478
|
localOnly: boolean;
|
|
485
479
|
engine?: "V1" | "V2" | undefined;
|
|
@@ -498,7 +492,6 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
498
492
|
queue?: {
|
|
499
493
|
name?: string | undefined;
|
|
500
494
|
concurrencyLimit?: number | null | undefined;
|
|
501
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
502
495
|
} | undefined;
|
|
503
496
|
machine?: {
|
|
504
497
|
cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
|
|
@@ -526,7 +519,6 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
526
519
|
queues?: {
|
|
527
520
|
name: string;
|
|
528
521
|
concurrencyLimit?: number | null | undefined;
|
|
529
|
-
releaseConcurrencyOnWaitpoint?: boolean | undefined;
|
|
530
522
|
}[] | undefined;
|
|
531
523
|
cliPackageVersion?: string | undefined;
|
|
532
524
|
sourceFiles?: {
|
|
@@ -535,6 +527,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
535
527
|
contents: string;
|
|
536
528
|
taskIds: string[];
|
|
537
529
|
}[] | undefined;
|
|
530
|
+
runtime?: string | undefined;
|
|
531
|
+
runtimeVersion?: string | undefined;
|
|
538
532
|
};
|
|
539
533
|
localOnly: boolean;
|
|
540
534
|
engine?: "V1" | "V2" | undefined;
|
|
@@ -612,7 +606,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
612
606
|
test: z.ZodOptional<z.ZodBoolean>;
|
|
613
607
|
ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
614
608
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
615
|
-
|
|
609
|
+
bulkActionId: z.ZodOptional<z.ZodString>;
|
|
616
610
|
}, "strip", z.ZodTypeAny, {
|
|
617
611
|
metadata?: any;
|
|
618
612
|
payloadType?: string | undefined;
|
|
@@ -639,7 +633,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
639
633
|
lockToVersion?: string | undefined;
|
|
640
634
|
metadataType?: string | undefined;
|
|
641
635
|
test?: boolean | undefined;
|
|
642
|
-
|
|
636
|
+
bulkActionId?: string | undefined;
|
|
643
637
|
}, {
|
|
644
638
|
metadata?: any;
|
|
645
639
|
payloadType?: string | undefined;
|
|
@@ -666,7 +660,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
666
660
|
lockToVersion?: string | undefined;
|
|
667
661
|
metadataType?: string | undefined;
|
|
668
662
|
test?: boolean | undefined;
|
|
669
|
-
|
|
663
|
+
bulkActionId?: string | undefined;
|
|
670
664
|
}>>;
|
|
671
665
|
}, "strip", z.ZodTypeAny, {
|
|
672
666
|
options?: {
|
|
@@ -695,7 +689,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
695
689
|
lockToVersion?: string | undefined;
|
|
696
690
|
metadataType?: string | undefined;
|
|
697
691
|
test?: boolean | undefined;
|
|
698
|
-
|
|
692
|
+
bulkActionId?: string | undefined;
|
|
699
693
|
} | undefined;
|
|
700
694
|
payload?: any;
|
|
701
695
|
context?: any;
|
|
@@ -726,7 +720,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
726
720
|
lockToVersion?: string | undefined;
|
|
727
721
|
metadataType?: string | undefined;
|
|
728
722
|
test?: boolean | undefined;
|
|
729
|
-
|
|
723
|
+
bulkActionId?: string | undefined;
|
|
730
724
|
} | undefined;
|
|
731
725
|
payload?: any;
|
|
732
726
|
context?: any;
|
|
@@ -797,7 +791,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
797
791
|
test: z.ZodOptional<z.ZodBoolean>;
|
|
798
792
|
ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
799
793
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
800
|
-
|
|
794
|
+
bulkActionId: z.ZodOptional<z.ZodString>;
|
|
801
795
|
}, "strip", z.ZodTypeAny, {
|
|
802
796
|
metadata?: any;
|
|
803
797
|
payloadType?: string | undefined;
|
|
@@ -824,7 +818,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
824
818
|
lockToVersion?: string | undefined;
|
|
825
819
|
metadataType?: string | undefined;
|
|
826
820
|
test?: boolean | undefined;
|
|
827
|
-
|
|
821
|
+
bulkActionId?: string | undefined;
|
|
828
822
|
}, {
|
|
829
823
|
metadata?: any;
|
|
830
824
|
payloadType?: string | undefined;
|
|
@@ -851,7 +845,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
851
845
|
lockToVersion?: string | undefined;
|
|
852
846
|
metadataType?: string | undefined;
|
|
853
847
|
test?: boolean | undefined;
|
|
854
|
-
|
|
848
|
+
bulkActionId?: string | undefined;
|
|
855
849
|
}>>;
|
|
856
850
|
}, "strip", z.ZodTypeAny, {
|
|
857
851
|
options?: {
|
|
@@ -880,7 +874,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
880
874
|
lockToVersion?: string | undefined;
|
|
881
875
|
metadataType?: string | undefined;
|
|
882
876
|
test?: boolean | undefined;
|
|
883
|
-
|
|
877
|
+
bulkActionId?: string | undefined;
|
|
884
878
|
} | undefined;
|
|
885
879
|
payload?: any;
|
|
886
880
|
context?: any;
|
|
@@ -911,7 +905,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
911
905
|
lockToVersion?: string | undefined;
|
|
912
906
|
metadataType?: string | undefined;
|
|
913
907
|
test?: boolean | undefined;
|
|
914
|
-
|
|
908
|
+
bulkActionId?: string | undefined;
|
|
915
909
|
} | undefined;
|
|
916
910
|
payload?: any;
|
|
917
911
|
context?: any;
|
|
@@ -945,7 +939,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
945
939
|
lockToVersion?: string | undefined;
|
|
946
940
|
metadataType?: string | undefined;
|
|
947
941
|
test?: boolean | undefined;
|
|
948
|
-
|
|
942
|
+
bulkActionId?: string | undefined;
|
|
949
943
|
} | undefined;
|
|
950
944
|
payload?: any;
|
|
951
945
|
context?: any;
|
|
@@ -979,7 +973,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
979
973
|
lockToVersion?: string | undefined;
|
|
980
974
|
metadataType?: string | undefined;
|
|
981
975
|
test?: boolean | undefined;
|
|
982
|
-
|
|
976
|
+
bulkActionId?: string | undefined;
|
|
983
977
|
} | undefined;
|
|
984
978
|
payload?: any;
|
|
985
979
|
context?: any;
|
|
@@ -1815,9 +1809,11 @@ export declare const InitializeDeploymentRequestBody: z.ZodObject<{
|
|
|
1815
1809
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
1816
1810
|
}>>;
|
|
1817
1811
|
type: z.ZodOptional<z.ZodEnum<["MANAGED", "UNMANAGED", "V1"]>>;
|
|
1812
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
1818
1813
|
}, "strip", z.ZodTypeAny, {
|
|
1819
1814
|
contentHash: string;
|
|
1820
1815
|
type?: "V1" | "MANAGED" | "UNMANAGED" | undefined;
|
|
1816
|
+
runtime?: string | undefined;
|
|
1821
1817
|
userId?: string | undefined;
|
|
1822
1818
|
selfHosted?: boolean | undefined;
|
|
1823
1819
|
gitMeta?: {
|
|
@@ -1834,6 +1830,7 @@ export declare const InitializeDeploymentRequestBody: z.ZodObject<{
|
|
|
1834
1830
|
}, {
|
|
1835
1831
|
contentHash: string;
|
|
1836
1832
|
type?: "V1" | "MANAGED" | "UNMANAGED" | undefined;
|
|
1833
|
+
runtime?: string | undefined;
|
|
1837
1834
|
userId?: string | undefined;
|
|
1838
1835
|
selfHosted?: boolean | undefined;
|
|
1839
1836
|
gitMeta?: {
|
|
@@ -2343,8 +2340,8 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2343
2340
|
}, "strip", z.ZodTypeAny, {
|
|
2344
2341
|
type: import("./runEngine.js").WaitpointType;
|
|
2345
2342
|
id: string;
|
|
2346
|
-
completedAt: Date;
|
|
2347
2343
|
friendlyId: string;
|
|
2344
|
+
completedAt: Date;
|
|
2348
2345
|
outputIsError: boolean;
|
|
2349
2346
|
idempotencyKey?: string | undefined;
|
|
2350
2347
|
output?: string | undefined;
|
|
@@ -2366,8 +2363,8 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2366
2363
|
}, {
|
|
2367
2364
|
type: import("./runEngine.js").WaitpointType;
|
|
2368
2365
|
id: string;
|
|
2369
|
-
completedAt: Date;
|
|
2370
2366
|
friendlyId: string;
|
|
2367
|
+
completedAt: Date;
|
|
2371
2368
|
outputIsError: boolean;
|
|
2372
2369
|
idempotencyKey?: string | undefined;
|
|
2373
2370
|
output?: string | undefined;
|
|
@@ -2523,8 +2520,8 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2523
2520
|
completedWaitpoints: {
|
|
2524
2521
|
type: import("./runEngine.js").WaitpointType;
|
|
2525
2522
|
id: string;
|
|
2526
|
-
completedAt: Date;
|
|
2527
2523
|
friendlyId: string;
|
|
2524
|
+
completedAt: Date;
|
|
2528
2525
|
outputIsError: boolean;
|
|
2529
2526
|
idempotencyKey?: string | undefined;
|
|
2530
2527
|
output?: string | undefined;
|
|
@@ -2599,8 +2596,8 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2599
2596
|
completedWaitpoints: {
|
|
2600
2597
|
type: import("./runEngine.js").WaitpointType;
|
|
2601
2598
|
id: string;
|
|
2602
|
-
completedAt: Date;
|
|
2603
2599
|
friendlyId: string;
|
|
2600
|
+
completedAt: Date;
|
|
2604
2601
|
outputIsError: boolean;
|
|
2605
2602
|
idempotencyKey?: string | undefined;
|
|
2606
2603
|
output?: string | undefined;
|
|
@@ -2677,8 +2674,8 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2677
2674
|
completedWaitpoints: {
|
|
2678
2675
|
type: import("./runEngine.js").WaitpointType;
|
|
2679
2676
|
id: string;
|
|
2680
|
-
completedAt: Date;
|
|
2681
2677
|
friendlyId: string;
|
|
2678
|
+
completedAt: Date;
|
|
2682
2679
|
outputIsError: boolean;
|
|
2683
2680
|
idempotencyKey?: string | undefined;
|
|
2684
2681
|
output?: string | undefined;
|
|
@@ -2755,8 +2752,8 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
2755
2752
|
completedWaitpoints: {
|
|
2756
2753
|
type: import("./runEngine.js").WaitpointType;
|
|
2757
2754
|
id: string;
|
|
2758
|
-
completedAt: Date;
|
|
2759
2755
|
friendlyId: string;
|
|
2756
|
+
completedAt: Date;
|
|
2760
2757
|
outputIsError: boolean;
|
|
2761
2758
|
idempotencyKey?: string | undefined;
|
|
2762
2759
|
output?: string | undefined;
|
|
@@ -3232,7 +3229,7 @@ export declare const TimezonesResult: z.ZodObject<{
|
|
|
3232
3229
|
timezones: string[];
|
|
3233
3230
|
}>;
|
|
3234
3231
|
export type TimezonesResult = z.infer<typeof TimezonesResult>;
|
|
3235
|
-
export declare const RunStatus: z.ZodEnum<["PENDING_VERSION", "
|
|
3232
|
+
export declare const RunStatus: z.ZodEnum<["PENDING_VERSION", "QUEUED", "DEQUEUED", "EXECUTING", "WAITING", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
|
|
3236
3233
|
export type RunStatus = z.infer<typeof RunStatus>;
|
|
3237
3234
|
export declare const AttemptStatus: z.ZodEnum<["PENDING", "EXECUTING", "PAUSED", "COMPLETED", "FAILED", "CANCELED"]>;
|
|
3238
3235
|
export type AttemptStatus = z.infer<typeof AttemptStatus>;
|
|
@@ -3294,12 +3291,13 @@ export declare const RelatedRunDetails: z.ZodObject<{
|
|
|
3294
3291
|
triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
|
|
3295
3292
|
batchId: z.ZodOptional<z.ZodString>;
|
|
3296
3293
|
id: z.ZodString;
|
|
3297
|
-
status: z.ZodEnum<["PENDING_VERSION", "
|
|
3294
|
+
status: z.ZodEnum<["PENDING_VERSION", "QUEUED", "DEQUEUED", "EXECUTING", "WAITING", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
|
|
3298
3295
|
taskIdentifier: z.ZodString;
|
|
3299
3296
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
3300
3297
|
version: z.ZodOptional<z.ZodString>;
|
|
3301
3298
|
isQueued: z.ZodBoolean;
|
|
3302
3299
|
isExecuting: z.ZodBoolean;
|
|
3300
|
+
isWaiting: z.ZodBoolean;
|
|
3303
3301
|
isCompleted: z.ZodBoolean;
|
|
3304
3302
|
isSuccess: z.ZodBoolean;
|
|
3305
3303
|
isFailed: z.ZodBoolean;
|
|
@@ -3318,7 +3316,7 @@ export declare const RelatedRunDetails: z.ZodObject<{
|
|
|
3318
3316
|
durationMs: z.ZodNumber;
|
|
3319
3317
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3320
3318
|
}, "strip", z.ZodTypeAny, {
|
|
3321
|
-
status: "PENDING_VERSION" | "
|
|
3319
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
3322
3320
|
id: string;
|
|
3323
3321
|
tags: string[];
|
|
3324
3322
|
isTest: boolean;
|
|
@@ -3331,6 +3329,7 @@ export declare const RelatedRunDetails: z.ZodObject<{
|
|
|
3331
3329
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
3332
3330
|
isQueued: boolean;
|
|
3333
3331
|
isExecuting: boolean;
|
|
3332
|
+
isWaiting: boolean;
|
|
3334
3333
|
isCompleted: boolean;
|
|
3335
3334
|
isSuccess: boolean;
|
|
3336
3335
|
isFailed: boolean;
|
|
@@ -3346,7 +3345,7 @@ export declare const RelatedRunDetails: z.ZodObject<{
|
|
|
3346
3345
|
delayedUntil?: Date | undefined;
|
|
3347
3346
|
expiredAt?: Date | undefined;
|
|
3348
3347
|
}, {
|
|
3349
|
-
status: "PENDING_VERSION" | "
|
|
3348
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
3350
3349
|
id: string;
|
|
3351
3350
|
tags: string[];
|
|
3352
3351
|
isTest: boolean;
|
|
@@ -3359,6 +3358,7 @@ export declare const RelatedRunDetails: z.ZodObject<{
|
|
|
3359
3358
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
3360
3359
|
isQueued: boolean;
|
|
3361
3360
|
isExecuting: boolean;
|
|
3361
|
+
isWaiting: boolean;
|
|
3362
3362
|
isCompleted: boolean;
|
|
3363
3363
|
isSuccess: boolean;
|
|
3364
3364
|
isFailed: boolean;
|
|
@@ -3434,12 +3434,13 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3434
3434
|
triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
|
|
3435
3435
|
batchId: z.ZodOptional<z.ZodString>;
|
|
3436
3436
|
id: z.ZodString;
|
|
3437
|
-
status: z.ZodEnum<["PENDING_VERSION", "
|
|
3437
|
+
status: z.ZodEnum<["PENDING_VERSION", "QUEUED", "DEQUEUED", "EXECUTING", "WAITING", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
|
|
3438
3438
|
taskIdentifier: z.ZodString;
|
|
3439
3439
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
3440
3440
|
version: z.ZodOptional<z.ZodString>;
|
|
3441
3441
|
isQueued: z.ZodBoolean;
|
|
3442
3442
|
isExecuting: z.ZodBoolean;
|
|
3443
|
+
isWaiting: z.ZodBoolean;
|
|
3443
3444
|
isCompleted: z.ZodBoolean;
|
|
3444
3445
|
isSuccess: z.ZodBoolean;
|
|
3445
3446
|
isFailed: z.ZodBoolean;
|
|
@@ -3458,7 +3459,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3458
3459
|
durationMs: z.ZodNumber;
|
|
3459
3460
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3460
3461
|
}, "strip", z.ZodTypeAny, {
|
|
3461
|
-
status: "PENDING_VERSION" | "
|
|
3462
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
3462
3463
|
id: string;
|
|
3463
3464
|
tags: string[];
|
|
3464
3465
|
isTest: boolean;
|
|
@@ -3471,6 +3472,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3471
3472
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
3472
3473
|
isQueued: boolean;
|
|
3473
3474
|
isExecuting: boolean;
|
|
3475
|
+
isWaiting: boolean;
|
|
3474
3476
|
isCompleted: boolean;
|
|
3475
3477
|
isSuccess: boolean;
|
|
3476
3478
|
isFailed: boolean;
|
|
@@ -3486,7 +3488,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3486
3488
|
delayedUntil?: Date | undefined;
|
|
3487
3489
|
expiredAt?: Date | undefined;
|
|
3488
3490
|
}, {
|
|
3489
|
-
status: "PENDING_VERSION" | "
|
|
3491
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
3490
3492
|
id: string;
|
|
3491
3493
|
tags: string[];
|
|
3492
3494
|
isTest: boolean;
|
|
@@ -3499,6 +3501,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3499
3501
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
3500
3502
|
isQueued: boolean;
|
|
3501
3503
|
isExecuting: boolean;
|
|
3504
|
+
isWaiting: boolean;
|
|
3502
3505
|
isCompleted: boolean;
|
|
3503
3506
|
isSuccess: boolean;
|
|
3504
3507
|
isFailed: boolean;
|
|
@@ -3519,12 +3522,13 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3519
3522
|
triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
|
|
3520
3523
|
batchId: z.ZodOptional<z.ZodString>;
|
|
3521
3524
|
id: z.ZodString;
|
|
3522
|
-
status: z.ZodEnum<["PENDING_VERSION", "
|
|
3525
|
+
status: z.ZodEnum<["PENDING_VERSION", "QUEUED", "DEQUEUED", "EXECUTING", "WAITING", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
|
|
3523
3526
|
taskIdentifier: z.ZodString;
|
|
3524
3527
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
3525
3528
|
version: z.ZodOptional<z.ZodString>;
|
|
3526
3529
|
isQueued: z.ZodBoolean;
|
|
3527
3530
|
isExecuting: z.ZodBoolean;
|
|
3531
|
+
isWaiting: z.ZodBoolean;
|
|
3528
3532
|
isCompleted: z.ZodBoolean;
|
|
3529
3533
|
isSuccess: z.ZodBoolean;
|
|
3530
3534
|
isFailed: z.ZodBoolean;
|
|
@@ -3543,7 +3547,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3543
3547
|
durationMs: z.ZodNumber;
|
|
3544
3548
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3545
3549
|
}, "strip", z.ZodTypeAny, {
|
|
3546
|
-
status: "PENDING_VERSION" | "
|
|
3550
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
3547
3551
|
id: string;
|
|
3548
3552
|
tags: string[];
|
|
3549
3553
|
isTest: boolean;
|
|
@@ -3556,6 +3560,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3556
3560
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
3557
3561
|
isQueued: boolean;
|
|
3558
3562
|
isExecuting: boolean;
|
|
3563
|
+
isWaiting: boolean;
|
|
3559
3564
|
isCompleted: boolean;
|
|
3560
3565
|
isSuccess: boolean;
|
|
3561
3566
|
isFailed: boolean;
|
|
@@ -3571,7 +3576,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3571
3576
|
delayedUntil?: Date | undefined;
|
|
3572
3577
|
expiredAt?: Date | undefined;
|
|
3573
3578
|
}, {
|
|
3574
|
-
status: "PENDING_VERSION" | "
|
|
3579
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
3575
3580
|
id: string;
|
|
3576
3581
|
tags: string[];
|
|
3577
3582
|
isTest: boolean;
|
|
@@ -3584,6 +3589,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3584
3589
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
3585
3590
|
isQueued: boolean;
|
|
3586
3591
|
isExecuting: boolean;
|
|
3592
|
+
isWaiting: boolean;
|
|
3587
3593
|
isCompleted: boolean;
|
|
3588
3594
|
isSuccess: boolean;
|
|
3589
3595
|
isFailed: boolean;
|
|
@@ -3604,12 +3610,13 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3604
3610
|
triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
|
|
3605
3611
|
batchId: z.ZodOptional<z.ZodString>;
|
|
3606
3612
|
id: z.ZodString;
|
|
3607
|
-
status: z.ZodEnum<["PENDING_VERSION", "
|
|
3613
|
+
status: z.ZodEnum<["PENDING_VERSION", "QUEUED", "DEQUEUED", "EXECUTING", "WAITING", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
|
|
3608
3614
|
taskIdentifier: z.ZodString;
|
|
3609
3615
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
3610
3616
|
version: z.ZodOptional<z.ZodString>;
|
|
3611
3617
|
isQueued: z.ZodBoolean;
|
|
3612
3618
|
isExecuting: z.ZodBoolean;
|
|
3619
|
+
isWaiting: z.ZodBoolean;
|
|
3613
3620
|
isCompleted: z.ZodBoolean;
|
|
3614
3621
|
isSuccess: z.ZodBoolean;
|
|
3615
3622
|
isFailed: z.ZodBoolean;
|
|
@@ -3628,7 +3635,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3628
3635
|
durationMs: z.ZodNumber;
|
|
3629
3636
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3630
3637
|
}, "strip", z.ZodTypeAny, {
|
|
3631
|
-
status: "PENDING_VERSION" | "
|
|
3638
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
3632
3639
|
id: string;
|
|
3633
3640
|
tags: string[];
|
|
3634
3641
|
isTest: boolean;
|
|
@@ -3641,6 +3648,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3641
3648
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
3642
3649
|
isQueued: boolean;
|
|
3643
3650
|
isExecuting: boolean;
|
|
3651
|
+
isWaiting: boolean;
|
|
3644
3652
|
isCompleted: boolean;
|
|
3645
3653
|
isSuccess: boolean;
|
|
3646
3654
|
isFailed: boolean;
|
|
@@ -3656,7 +3664,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3656
3664
|
delayedUntil?: Date | undefined;
|
|
3657
3665
|
expiredAt?: Date | undefined;
|
|
3658
3666
|
}, {
|
|
3659
|
-
status: "PENDING_VERSION" | "
|
|
3667
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
3660
3668
|
id: string;
|
|
3661
3669
|
tags: string[];
|
|
3662
3670
|
isTest: boolean;
|
|
@@ -3669,6 +3677,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3669
3677
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
3670
3678
|
isQueued: boolean;
|
|
3671
3679
|
isExecuting: boolean;
|
|
3680
|
+
isWaiting: boolean;
|
|
3672
3681
|
isCompleted: boolean;
|
|
3673
3682
|
isSuccess: boolean;
|
|
3674
3683
|
isFailed: boolean;
|
|
@@ -3686,7 +3695,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3686
3695
|
}>, "many">>;
|
|
3687
3696
|
}, "strip", z.ZodTypeAny, {
|
|
3688
3697
|
root?: {
|
|
3689
|
-
status: "PENDING_VERSION" | "
|
|
3698
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
3690
3699
|
id: string;
|
|
3691
3700
|
tags: string[];
|
|
3692
3701
|
isTest: boolean;
|
|
@@ -3699,6 +3708,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3699
3708
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
3700
3709
|
isQueued: boolean;
|
|
3701
3710
|
isExecuting: boolean;
|
|
3711
|
+
isWaiting: boolean;
|
|
3702
3712
|
isCompleted: boolean;
|
|
3703
3713
|
isSuccess: boolean;
|
|
3704
3714
|
isFailed: boolean;
|
|
@@ -3715,7 +3725,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3715
3725
|
expiredAt?: Date | undefined;
|
|
3716
3726
|
} | undefined;
|
|
3717
3727
|
parent?: {
|
|
3718
|
-
status: "PENDING_VERSION" | "
|
|
3728
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
3719
3729
|
id: string;
|
|
3720
3730
|
tags: string[];
|
|
3721
3731
|
isTest: boolean;
|
|
@@ -3728,6 +3738,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3728
3738
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
3729
3739
|
isQueued: boolean;
|
|
3730
3740
|
isExecuting: boolean;
|
|
3741
|
+
isWaiting: boolean;
|
|
3731
3742
|
isCompleted: boolean;
|
|
3732
3743
|
isSuccess: boolean;
|
|
3733
3744
|
isFailed: boolean;
|
|
@@ -3744,7 +3755,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3744
3755
|
expiredAt?: Date | undefined;
|
|
3745
3756
|
} | undefined;
|
|
3746
3757
|
children?: {
|
|
3747
|
-
status: "PENDING_VERSION" | "
|
|
3758
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
3748
3759
|
id: string;
|
|
3749
3760
|
tags: string[];
|
|
3750
3761
|
isTest: boolean;
|
|
@@ -3757,6 +3768,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3757
3768
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
3758
3769
|
isQueued: boolean;
|
|
3759
3770
|
isExecuting: boolean;
|
|
3771
|
+
isWaiting: boolean;
|
|
3760
3772
|
isCompleted: boolean;
|
|
3761
3773
|
isSuccess: boolean;
|
|
3762
3774
|
isFailed: boolean;
|
|
@@ -3774,7 +3786,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3774
3786
|
}[] | undefined;
|
|
3775
3787
|
}, {
|
|
3776
3788
|
root?: {
|
|
3777
|
-
status: "PENDING_VERSION" | "
|
|
3789
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
3778
3790
|
id: string;
|
|
3779
3791
|
tags: string[];
|
|
3780
3792
|
isTest: boolean;
|
|
@@ -3787,6 +3799,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3787
3799
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
3788
3800
|
isQueued: boolean;
|
|
3789
3801
|
isExecuting: boolean;
|
|
3802
|
+
isWaiting: boolean;
|
|
3790
3803
|
isCompleted: boolean;
|
|
3791
3804
|
isSuccess: boolean;
|
|
3792
3805
|
isFailed: boolean;
|
|
@@ -3803,7 +3816,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3803
3816
|
expiredAt?: Date | undefined;
|
|
3804
3817
|
} | undefined;
|
|
3805
3818
|
parent?: {
|
|
3806
|
-
status: "PENDING_VERSION" | "
|
|
3819
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
3807
3820
|
id: string;
|
|
3808
3821
|
tags: string[];
|
|
3809
3822
|
isTest: boolean;
|
|
@@ -3816,6 +3829,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3816
3829
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
3817
3830
|
isQueued: boolean;
|
|
3818
3831
|
isExecuting: boolean;
|
|
3832
|
+
isWaiting: boolean;
|
|
3819
3833
|
isCompleted: boolean;
|
|
3820
3834
|
isSuccess: boolean;
|
|
3821
3835
|
isFailed: boolean;
|
|
@@ -3832,7 +3846,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3832
3846
|
expiredAt?: Date | undefined;
|
|
3833
3847
|
} | undefined;
|
|
3834
3848
|
children?: {
|
|
3835
|
-
status: "PENDING_VERSION" | "
|
|
3849
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
3836
3850
|
id: string;
|
|
3837
3851
|
tags: string[];
|
|
3838
3852
|
isTest: boolean;
|
|
@@ -3845,6 +3859,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3845
3859
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
3846
3860
|
isQueued: boolean;
|
|
3847
3861
|
isExecuting: boolean;
|
|
3862
|
+
isWaiting: boolean;
|
|
3848
3863
|
isCompleted: boolean;
|
|
3849
3864
|
isSuccess: boolean;
|
|
3850
3865
|
isFailed: boolean;
|
|
@@ -3861,62 +3876,18 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3861
3876
|
expiredAt?: Date | undefined;
|
|
3862
3877
|
}[] | undefined;
|
|
3863
3878
|
}>;
|
|
3864
|
-
attempts: z.ZodArray<z.ZodOptional<z.ZodObject<{
|
|
3865
|
-
id: z.ZodString;
|
|
3866
|
-
status: z.ZodEnum<["PENDING", "EXECUTING", "PAUSED", "COMPLETED", "FAILED", "CANCELED"]>;
|
|
3867
|
-
createdAt: z.ZodDate;
|
|
3868
|
-
updatedAt: z.ZodDate;
|
|
3869
|
-
startedAt: z.ZodOptional<z.ZodDate>;
|
|
3870
|
-
completedAt: z.ZodOptional<z.ZodDate>;
|
|
3871
|
-
error: z.ZodOptional<z.ZodObject<{
|
|
3872
|
-
message: z.ZodString;
|
|
3873
|
-
name: z.ZodOptional<z.ZodString>;
|
|
3874
|
-
stackTrace: z.ZodOptional<z.ZodString>;
|
|
3875
|
-
}, "strip", z.ZodTypeAny, {
|
|
3876
|
-
message: string;
|
|
3877
|
-
name?: string | undefined;
|
|
3878
|
-
stackTrace?: string | undefined;
|
|
3879
|
-
}, {
|
|
3880
|
-
message: string;
|
|
3881
|
-
name?: string | undefined;
|
|
3882
|
-
stackTrace?: string | undefined;
|
|
3883
|
-
}>>;
|
|
3884
|
-
}, "strip", z.ZodTypeAny, {
|
|
3885
|
-
status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
|
|
3886
|
-
id: string;
|
|
3887
|
-
createdAt: Date;
|
|
3888
|
-
updatedAt: Date;
|
|
3889
|
-
error?: {
|
|
3890
|
-
message: string;
|
|
3891
|
-
name?: string | undefined;
|
|
3892
|
-
stackTrace?: string | undefined;
|
|
3893
|
-
} | undefined;
|
|
3894
|
-
startedAt?: Date | undefined;
|
|
3895
|
-
completedAt?: Date | undefined;
|
|
3896
|
-
}, {
|
|
3897
|
-
status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
|
|
3898
|
-
id: string;
|
|
3899
|
-
createdAt: Date;
|
|
3900
|
-
updatedAt: Date;
|
|
3901
|
-
error?: {
|
|
3902
|
-
message: string;
|
|
3903
|
-
name?: string | undefined;
|
|
3904
|
-
stackTrace?: string | undefined;
|
|
3905
|
-
} | undefined;
|
|
3906
|
-
startedAt?: Date | undefined;
|
|
3907
|
-
completedAt?: Date | undefined;
|
|
3908
|
-
}>>, "many">;
|
|
3909
3879
|
attemptCount: z.ZodDefault<z.ZodNumber>;
|
|
3910
3880
|
depth: z.ZodNumber;
|
|
3911
3881
|
triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
|
|
3912
3882
|
batchId: z.ZodOptional<z.ZodString>;
|
|
3913
3883
|
id: z.ZodString;
|
|
3914
|
-
status: z.ZodEnum<["PENDING_VERSION", "
|
|
3884
|
+
status: z.ZodEnum<["PENDING_VERSION", "QUEUED", "DEQUEUED", "EXECUTING", "WAITING", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
|
|
3915
3885
|
taskIdentifier: z.ZodString;
|
|
3916
3886
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
3917
3887
|
version: z.ZodOptional<z.ZodString>;
|
|
3918
3888
|
isQueued: z.ZodBoolean;
|
|
3919
3889
|
isExecuting: z.ZodBoolean;
|
|
3890
|
+
isWaiting: z.ZodBoolean;
|
|
3920
3891
|
isCompleted: z.ZodBoolean;
|
|
3921
3892
|
isSuccess: z.ZodBoolean;
|
|
3922
3893
|
isFailed: z.ZodBoolean;
|
|
@@ -3935,7 +3906,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3935
3906
|
durationMs: z.ZodNumber;
|
|
3936
3907
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3937
3908
|
}, "strip", z.ZodTypeAny, {
|
|
3938
|
-
status: "PENDING_VERSION" | "
|
|
3909
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
3939
3910
|
id: string;
|
|
3940
3911
|
tags: string[];
|
|
3941
3912
|
isTest: boolean;
|
|
@@ -3946,7 +3917,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3946
3917
|
taskIdentifier: string;
|
|
3947
3918
|
relatedRuns: {
|
|
3948
3919
|
root?: {
|
|
3949
|
-
status: "PENDING_VERSION" | "
|
|
3920
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
3950
3921
|
id: string;
|
|
3951
3922
|
tags: string[];
|
|
3952
3923
|
isTest: boolean;
|
|
@@ -3959,6 +3930,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3959
3930
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
3960
3931
|
isQueued: boolean;
|
|
3961
3932
|
isExecuting: boolean;
|
|
3933
|
+
isWaiting: boolean;
|
|
3962
3934
|
isCompleted: boolean;
|
|
3963
3935
|
isSuccess: boolean;
|
|
3964
3936
|
isFailed: boolean;
|
|
@@ -3975,7 +3947,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3975
3947
|
expiredAt?: Date | undefined;
|
|
3976
3948
|
} | undefined;
|
|
3977
3949
|
parent?: {
|
|
3978
|
-
status: "PENDING_VERSION" | "
|
|
3950
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
3979
3951
|
id: string;
|
|
3980
3952
|
tags: string[];
|
|
3981
3953
|
isTest: boolean;
|
|
@@ -3988,6 +3960,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3988
3960
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
3989
3961
|
isQueued: boolean;
|
|
3990
3962
|
isExecuting: boolean;
|
|
3963
|
+
isWaiting: boolean;
|
|
3991
3964
|
isCompleted: boolean;
|
|
3992
3965
|
isSuccess: boolean;
|
|
3993
3966
|
isFailed: boolean;
|
|
@@ -4004,7 +3977,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
4004
3977
|
expiredAt?: Date | undefined;
|
|
4005
3978
|
} | undefined;
|
|
4006
3979
|
children?: {
|
|
4007
|
-
status: "PENDING_VERSION" | "
|
|
3980
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
4008
3981
|
id: string;
|
|
4009
3982
|
tags: string[];
|
|
4010
3983
|
isTest: boolean;
|
|
@@ -4017,6 +3990,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
4017
3990
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
4018
3991
|
isQueued: boolean;
|
|
4019
3992
|
isExecuting: boolean;
|
|
3993
|
+
isWaiting: boolean;
|
|
4020
3994
|
isCompleted: boolean;
|
|
4021
3995
|
isSuccess: boolean;
|
|
4022
3996
|
isFailed: boolean;
|
|
@@ -4037,24 +4011,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
4037
4011
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
4038
4012
|
isQueued: boolean;
|
|
4039
4013
|
isExecuting: boolean;
|
|
4014
|
+
isWaiting: boolean;
|
|
4040
4015
|
isCompleted: boolean;
|
|
4041
4016
|
isSuccess: boolean;
|
|
4042
4017
|
isFailed: boolean;
|
|
4043
4018
|
isCancelled: boolean;
|
|
4044
4019
|
updatedAt: Date;
|
|
4045
|
-
attempts: ({
|
|
4046
|
-
status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
|
|
4047
|
-
id: string;
|
|
4048
|
-
createdAt: Date;
|
|
4049
|
-
updatedAt: Date;
|
|
4050
|
-
error?: {
|
|
4051
|
-
message: string;
|
|
4052
|
-
name?: string | undefined;
|
|
4053
|
-
stackTrace?: string | undefined;
|
|
4054
|
-
} | undefined;
|
|
4055
|
-
startedAt?: Date | undefined;
|
|
4056
|
-
completedAt?: Date | undefined;
|
|
4057
|
-
} | undefined)[];
|
|
4058
4020
|
attemptCount: number;
|
|
4059
4021
|
payload?: any;
|
|
4060
4022
|
error?: {
|
|
@@ -4085,7 +4047,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
4085
4047
|
delayedUntil?: Date | undefined;
|
|
4086
4048
|
expiredAt?: Date | undefined;
|
|
4087
4049
|
}, {
|
|
4088
|
-
status: "PENDING_VERSION" | "
|
|
4050
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
4089
4051
|
id: string;
|
|
4090
4052
|
tags: string[];
|
|
4091
4053
|
isTest: boolean;
|
|
@@ -4096,7 +4058,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
4096
4058
|
taskIdentifier: string;
|
|
4097
4059
|
relatedRuns: {
|
|
4098
4060
|
root?: {
|
|
4099
|
-
status: "PENDING_VERSION" | "
|
|
4061
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
4100
4062
|
id: string;
|
|
4101
4063
|
tags: string[];
|
|
4102
4064
|
isTest: boolean;
|
|
@@ -4109,6 +4071,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
4109
4071
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
4110
4072
|
isQueued: boolean;
|
|
4111
4073
|
isExecuting: boolean;
|
|
4074
|
+
isWaiting: boolean;
|
|
4112
4075
|
isCompleted: boolean;
|
|
4113
4076
|
isSuccess: boolean;
|
|
4114
4077
|
isFailed: boolean;
|
|
@@ -4125,7 +4088,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
4125
4088
|
expiredAt?: Date | undefined;
|
|
4126
4089
|
} | undefined;
|
|
4127
4090
|
parent?: {
|
|
4128
|
-
status: "PENDING_VERSION" | "
|
|
4091
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
4129
4092
|
id: string;
|
|
4130
4093
|
tags: string[];
|
|
4131
4094
|
isTest: boolean;
|
|
@@ -4138,6 +4101,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
4138
4101
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
4139
4102
|
isQueued: boolean;
|
|
4140
4103
|
isExecuting: boolean;
|
|
4104
|
+
isWaiting: boolean;
|
|
4141
4105
|
isCompleted: boolean;
|
|
4142
4106
|
isSuccess: boolean;
|
|
4143
4107
|
isFailed: boolean;
|
|
@@ -4154,7 +4118,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
4154
4118
|
expiredAt?: Date | undefined;
|
|
4155
4119
|
} | undefined;
|
|
4156
4120
|
children?: {
|
|
4157
|
-
status: "PENDING_VERSION" | "
|
|
4121
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
4158
4122
|
id: string;
|
|
4159
4123
|
tags: string[];
|
|
4160
4124
|
isTest: boolean;
|
|
@@ -4167,6 +4131,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
4167
4131
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
4168
4132
|
isQueued: boolean;
|
|
4169
4133
|
isExecuting: boolean;
|
|
4134
|
+
isWaiting: boolean;
|
|
4170
4135
|
isCompleted: boolean;
|
|
4171
4136
|
isSuccess: boolean;
|
|
4172
4137
|
isFailed: boolean;
|
|
@@ -4187,24 +4152,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
4187
4152
|
triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
|
|
4188
4153
|
isQueued: boolean;
|
|
4189
4154
|
isExecuting: boolean;
|
|
4155
|
+
isWaiting: boolean;
|
|
4190
4156
|
isCompleted: boolean;
|
|
4191
4157
|
isSuccess: boolean;
|
|
4192
4158
|
isFailed: boolean;
|
|
4193
4159
|
isCancelled: boolean;
|
|
4194
4160
|
updatedAt: Date;
|
|
4195
|
-
attempts: ({
|
|
4196
|
-
status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
|
|
4197
|
-
id: string;
|
|
4198
|
-
createdAt: Date;
|
|
4199
|
-
updatedAt: Date;
|
|
4200
|
-
error?: {
|
|
4201
|
-
message: string;
|
|
4202
|
-
name?: string | undefined;
|
|
4203
|
-
stackTrace?: string | undefined;
|
|
4204
|
-
} | undefined;
|
|
4205
|
-
startedAt?: Date | undefined;
|
|
4206
|
-
completedAt?: Date | undefined;
|
|
4207
|
-
} | undefined)[];
|
|
4208
4161
|
payload?: any;
|
|
4209
4162
|
error?: {
|
|
4210
4163
|
message: string;
|
|
@@ -4251,12 +4204,13 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
4251
4204
|
user?: string | undefined;
|
|
4252
4205
|
}>;
|
|
4253
4206
|
id: z.ZodString;
|
|
4254
|
-
status: z.ZodEnum<["PENDING_VERSION", "
|
|
4207
|
+
status: z.ZodEnum<["PENDING_VERSION", "QUEUED", "DEQUEUED", "EXECUTING", "WAITING", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
|
|
4255
4208
|
taskIdentifier: z.ZodString;
|
|
4256
4209
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
4257
4210
|
version: z.ZodOptional<z.ZodString>;
|
|
4258
4211
|
isQueued: z.ZodBoolean;
|
|
4259
4212
|
isExecuting: z.ZodBoolean;
|
|
4213
|
+
isWaiting: z.ZodBoolean;
|
|
4260
4214
|
isCompleted: z.ZodBoolean;
|
|
4261
4215
|
isSuccess: z.ZodBoolean;
|
|
4262
4216
|
isFailed: z.ZodBoolean;
|
|
@@ -4275,7 +4229,7 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
4275
4229
|
durationMs: z.ZodNumber;
|
|
4276
4230
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4277
4231
|
}, "strip", z.ZodTypeAny, {
|
|
4278
|
-
status: "PENDING_VERSION" | "
|
|
4232
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
4279
4233
|
id: string;
|
|
4280
4234
|
tags: string[];
|
|
4281
4235
|
isTest: boolean;
|
|
@@ -4286,6 +4240,7 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
4286
4240
|
taskIdentifier: string;
|
|
4287
4241
|
isQueued: boolean;
|
|
4288
4242
|
isExecuting: boolean;
|
|
4243
|
+
isWaiting: boolean;
|
|
4289
4244
|
isCompleted: boolean;
|
|
4290
4245
|
isSuccess: boolean;
|
|
4291
4246
|
isFailed: boolean;
|
|
@@ -4305,7 +4260,7 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
4305
4260
|
delayedUntil?: Date | undefined;
|
|
4306
4261
|
expiredAt?: Date | undefined;
|
|
4307
4262
|
}, {
|
|
4308
|
-
status: "PENDING_VERSION" | "
|
|
4263
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
4309
4264
|
id: string;
|
|
4310
4265
|
tags: string[];
|
|
4311
4266
|
isTest: boolean;
|
|
@@ -4316,6 +4271,7 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
4316
4271
|
taskIdentifier: string;
|
|
4317
4272
|
isQueued: boolean;
|
|
4318
4273
|
isExecuting: boolean;
|
|
4274
|
+
isWaiting: boolean;
|
|
4319
4275
|
isCompleted: boolean;
|
|
4320
4276
|
isSuccess: boolean;
|
|
4321
4277
|
isFailed: boolean;
|
|
@@ -4352,12 +4308,13 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
4352
4308
|
user?: string | undefined;
|
|
4353
4309
|
}>;
|
|
4354
4310
|
id: z.ZodString;
|
|
4355
|
-
status: z.ZodEnum<["PENDING_VERSION", "
|
|
4311
|
+
status: z.ZodEnum<["PENDING_VERSION", "QUEUED", "DEQUEUED", "EXECUTING", "WAITING", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
|
|
4356
4312
|
taskIdentifier: z.ZodString;
|
|
4357
4313
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
4358
4314
|
version: z.ZodOptional<z.ZodString>;
|
|
4359
4315
|
isQueued: z.ZodBoolean;
|
|
4360
4316
|
isExecuting: z.ZodBoolean;
|
|
4317
|
+
isWaiting: z.ZodBoolean;
|
|
4361
4318
|
isCompleted: z.ZodBoolean;
|
|
4362
4319
|
isSuccess: z.ZodBoolean;
|
|
4363
4320
|
isFailed: z.ZodBoolean;
|
|
@@ -4376,7 +4333,7 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
4376
4333
|
durationMs: z.ZodNumber;
|
|
4377
4334
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
4378
4335
|
}, "strip", z.ZodTypeAny, {
|
|
4379
|
-
status: "PENDING_VERSION" | "
|
|
4336
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
4380
4337
|
id: string;
|
|
4381
4338
|
tags: string[];
|
|
4382
4339
|
isTest: boolean;
|
|
@@ -4387,6 +4344,7 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
4387
4344
|
taskIdentifier: string;
|
|
4388
4345
|
isQueued: boolean;
|
|
4389
4346
|
isExecuting: boolean;
|
|
4347
|
+
isWaiting: boolean;
|
|
4390
4348
|
isCompleted: boolean;
|
|
4391
4349
|
isSuccess: boolean;
|
|
4392
4350
|
isFailed: boolean;
|
|
@@ -4406,7 +4364,7 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
4406
4364
|
delayedUntil?: Date | undefined;
|
|
4407
4365
|
expiredAt?: Date | undefined;
|
|
4408
4366
|
}, {
|
|
4409
|
-
status: "PENDING_VERSION" | "
|
|
4367
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
4410
4368
|
id: string;
|
|
4411
4369
|
tags: string[];
|
|
4412
4370
|
isTest: boolean;
|
|
@@ -4417,6 +4375,7 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
4417
4375
|
taskIdentifier: string;
|
|
4418
4376
|
isQueued: boolean;
|
|
4419
4377
|
isExecuting: boolean;
|
|
4378
|
+
isWaiting: boolean;
|
|
4420
4379
|
isCompleted: boolean;
|
|
4421
4380
|
isSuccess: boolean;
|
|
4422
4381
|
isFailed: boolean;
|
|
@@ -4448,7 +4407,7 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
4448
4407
|
}>;
|
|
4449
4408
|
}, "strip", z.ZodTypeAny, {
|
|
4450
4409
|
data: {
|
|
4451
|
-
status: "PENDING_VERSION" | "
|
|
4410
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
4452
4411
|
id: string;
|
|
4453
4412
|
tags: string[];
|
|
4454
4413
|
isTest: boolean;
|
|
@@ -4459,6 +4418,7 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
4459
4418
|
taskIdentifier: string;
|
|
4460
4419
|
isQueued: boolean;
|
|
4461
4420
|
isExecuting: boolean;
|
|
4421
|
+
isWaiting: boolean;
|
|
4462
4422
|
isCompleted: boolean;
|
|
4463
4423
|
isSuccess: boolean;
|
|
4464
4424
|
isFailed: boolean;
|
|
@@ -4484,7 +4444,7 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
4484
4444
|
};
|
|
4485
4445
|
}, {
|
|
4486
4446
|
data: {
|
|
4487
|
-
status: "PENDING_VERSION" | "
|
|
4447
|
+
status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
|
|
4488
4448
|
id: string;
|
|
4489
4449
|
tags: string[];
|
|
4490
4450
|
isTest: boolean;
|
|
@@ -4495,6 +4455,7 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
4495
4455
|
taskIdentifier: string;
|
|
4496
4456
|
isQueued: boolean;
|
|
4497
4457
|
isExecuting: boolean;
|
|
4458
|
+
isWaiting: boolean;
|
|
4498
4459
|
isCompleted: boolean;
|
|
4499
4460
|
isSuccess: boolean;
|
|
4500
4461
|
isFailed: boolean;
|
|
@@ -5285,7 +5246,7 @@ export declare const WaitpointTokenItem: z.ZodObject<{
|
|
|
5285
5246
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
5286
5247
|
createdAt: z.ZodDate;
|
|
5287
5248
|
}, "strip", z.ZodTypeAny, {
|
|
5288
|
-
status: "
|
|
5249
|
+
status: "WAITING" | "COMPLETED" | "TIMED_OUT";
|
|
5289
5250
|
url: string;
|
|
5290
5251
|
id: string;
|
|
5291
5252
|
tags: string[];
|
|
@@ -5296,7 +5257,7 @@ export declare const WaitpointTokenItem: z.ZodObject<{
|
|
|
5296
5257
|
timeoutAt?: Date | undefined;
|
|
5297
5258
|
idempotencyKeyExpiresAt?: Date | undefined;
|
|
5298
5259
|
}, {
|
|
5299
|
-
status: "
|
|
5260
|
+
status: "WAITING" | "COMPLETED" | "TIMED_OUT";
|
|
5300
5261
|
url: string;
|
|
5301
5262
|
id: string;
|
|
5302
5263
|
tags: string[];
|
|
@@ -5321,7 +5282,7 @@ export declare const WaitpointListTokenItem: z.ZodObject<Omit<{
|
|
|
5321
5282
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
5322
5283
|
createdAt: z.ZodDate;
|
|
5323
5284
|
}, "completedAfter">, "strip", z.ZodTypeAny, {
|
|
5324
|
-
status: "
|
|
5285
|
+
status: "WAITING" | "COMPLETED" | "TIMED_OUT";
|
|
5325
5286
|
url: string;
|
|
5326
5287
|
id: string;
|
|
5327
5288
|
tags: string[];
|
|
@@ -5331,7 +5292,7 @@ export declare const WaitpointListTokenItem: z.ZodObject<Omit<{
|
|
|
5331
5292
|
timeoutAt?: Date | undefined;
|
|
5332
5293
|
idempotencyKeyExpiresAt?: Date | undefined;
|
|
5333
5294
|
}, {
|
|
5334
|
-
status: "
|
|
5295
|
+
status: "WAITING" | "COMPLETED" | "TIMED_OUT";
|
|
5335
5296
|
url: string;
|
|
5336
5297
|
id: string;
|
|
5337
5298
|
tags: string[];
|
|
@@ -5355,7 +5316,7 @@ export declare const WaitpointRetrieveTokenResponse: z.ZodIntersection<z.ZodObje
|
|
|
5355
5316
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
5356
5317
|
createdAt: z.ZodDate;
|
|
5357
5318
|
}, "completedAfter">, "strip", z.ZodTypeAny, {
|
|
5358
|
-
status: "
|
|
5319
|
+
status: "WAITING" | "COMPLETED" | "TIMED_OUT";
|
|
5359
5320
|
url: string;
|
|
5360
5321
|
id: string;
|
|
5361
5322
|
tags: string[];
|
|
@@ -5365,7 +5326,7 @@ export declare const WaitpointRetrieveTokenResponse: z.ZodIntersection<z.ZodObje
|
|
|
5365
5326
|
timeoutAt?: Date | undefined;
|
|
5366
5327
|
idempotencyKeyExpiresAt?: Date | undefined;
|
|
5367
5328
|
}, {
|
|
5368
|
-
status: "
|
|
5329
|
+
status: "WAITING" | "COMPLETED" | "TIMED_OUT";
|
|
5369
5330
|
url: string;
|
|
5370
5331
|
id: string;
|
|
5371
5332
|
tags: string[];
|
|
@@ -5425,14 +5386,6 @@ export declare const WaitForDurationRequestBody: z.ZodObject<{
|
|
|
5425
5386
|
* This means after that time if you pass the same idempotency key again, you will get a new waitpoint.
|
|
5426
5387
|
*/
|
|
5427
5388
|
idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
|
|
5428
|
-
/**
|
|
5429
|
-
* If set to true, this will cause the waitpoint to release the current run from the queue's concurrency.
|
|
5430
|
-
*
|
|
5431
|
-
* This is useful if you want to allow other runs to execute while the waiting
|
|
5432
|
-
*
|
|
5433
|
-
* @default false
|
|
5434
|
-
*/
|
|
5435
|
-
releaseConcurrency: z.ZodOptional<z.ZodBoolean>;
|
|
5436
5389
|
/**
|
|
5437
5390
|
* The date that the waitpoint will complete.
|
|
5438
5391
|
*/
|
|
@@ -5441,12 +5394,10 @@ export declare const WaitForDurationRequestBody: z.ZodObject<{
|
|
|
5441
5394
|
date: Date;
|
|
5442
5395
|
idempotencyKey?: string | undefined;
|
|
5443
5396
|
idempotencyKeyTTL?: string | undefined;
|
|
5444
|
-
releaseConcurrency?: boolean | undefined;
|
|
5445
5397
|
}, {
|
|
5446
5398
|
date: Date;
|
|
5447
5399
|
idempotencyKey?: string | undefined;
|
|
5448
5400
|
idempotencyKeyTTL?: string | undefined;
|
|
5449
|
-
releaseConcurrency?: boolean | undefined;
|
|
5450
5401
|
}>;
|
|
5451
5402
|
export type WaitForDurationRequestBody = z.infer<typeof WaitForDurationRequestBody>;
|
|
5452
5403
|
export declare const WaitForDurationResponseBody: z.ZodObject<{
|