@trigger.dev/core 4.0.0-v4-beta.23 → 4.0.0-v4-beta.25

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.
Files changed (85) hide show
  1. package/dist/commonjs/v3/apiClient/index.d.ts +18 -42
  2. package/dist/commonjs/v3/apiClient/index.js +17 -4
  3. package/dist/commonjs/v3/apiClient/index.js.map +1 -1
  4. package/dist/commonjs/v3/apiClient/runStream.d.ts +7 -1
  5. package/dist/commonjs/v3/apiClient/runStream.js +26 -12
  6. package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
  7. package/dist/commonjs/v3/apiClient/stream.js +2 -0
  8. package/dist/commonjs/v3/apiClient/stream.js.map +1 -1
  9. package/dist/commonjs/v3/apiClient/types.d.ts +22 -1
  10. package/dist/commonjs/v3/apiClient/version.d.ts +2 -0
  11. package/dist/commonjs/v3/apiClient/version.js +6 -0
  12. package/dist/commonjs/v3/apiClient/version.js.map +1 -0
  13. package/dist/commonjs/v3/config.d.ts +7 -0
  14. package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js +2 -7
  15. package/dist/commonjs/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
  16. package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +4 -4
  17. package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +20 -20
  18. package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +3 -3
  19. package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +16 -16
  20. package/dist/commonjs/v3/schemas/api.d.ts +83 -157
  21. package/dist/commonjs/v3/schemas/api.js +5 -28
  22. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  23. package/dist/commonjs/v3/schemas/build.d.ts +0 -32
  24. package/dist/commonjs/v3/schemas/checkpoints.d.ts +4 -4
  25. package/dist/commonjs/v3/schemas/messages.d.ts +4 -52
  26. package/dist/commonjs/v3/schemas/queues.d.ts +15 -4
  27. package/dist/commonjs/v3/schemas/queues.js +10 -14
  28. package/dist/commonjs/v3/schemas/queues.js.map +1 -1
  29. package/dist/commonjs/v3/schemas/resources.d.ts +0 -17
  30. package/dist/commonjs/v3/schemas/runEngine.d.ts +11 -10
  31. package/dist/commonjs/v3/schemas/runEngine.js +1 -0
  32. package/dist/commonjs/v3/schemas/runEngine.js.map +1 -1
  33. package/dist/commonjs/v3/schemas/schemas.d.ts +0 -25
  34. package/dist/commonjs/v3/schemas/schemas.js +0 -5
  35. package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
  36. package/dist/commonjs/v3/schemas/webhooks.d.ts +12 -12
  37. package/dist/commonjs/v3/serverOnly/index.d.ts +1 -0
  38. package/dist/commonjs/v3/serverOnly/index.js +1 -0
  39. package/dist/commonjs/v3/serverOnly/index.js.map +1 -1
  40. package/dist/commonjs/v3/types/queues.d.ts +0 -5
  41. package/dist/commonjs/v3/types/tasks.d.ts +1 -11
  42. package/dist/commonjs/version.js +1 -1
  43. package/dist/esm/v3/apiClient/index.d.ts +18 -42
  44. package/dist/esm/v3/apiClient/index.js +17 -4
  45. package/dist/esm/v3/apiClient/index.js.map +1 -1
  46. package/dist/esm/v3/apiClient/runStream.d.ts +7 -1
  47. package/dist/esm/v3/apiClient/runStream.js +26 -12
  48. package/dist/esm/v3/apiClient/runStream.js.map +1 -1
  49. package/dist/esm/v3/apiClient/stream.js +2 -0
  50. package/dist/esm/v3/apiClient/stream.js.map +1 -1
  51. package/dist/esm/v3/apiClient/types.d.ts +22 -1
  52. package/dist/esm/v3/apiClient/version.d.ts +2 -0
  53. package/dist/esm/v3/apiClient/version.js +3 -0
  54. package/dist/esm/v3/apiClient/version.js.map +1 -0
  55. package/dist/esm/v3/config.d.ts +7 -0
  56. package/dist/esm/v3/resource-catalog/standardResourceCatalog.js +2 -7
  57. package/dist/esm/v3/resource-catalog/standardResourceCatalog.js.map +1 -1
  58. package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +4 -4
  59. package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +20 -20
  60. package/dist/esm/v3/runEngineWorker/workload/http.d.ts +3 -3
  61. package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +16 -16
  62. package/dist/esm/v3/schemas/api.d.ts +83 -157
  63. package/dist/esm/v3/schemas/api.js +5 -28
  64. package/dist/esm/v3/schemas/api.js.map +1 -1
  65. package/dist/esm/v3/schemas/build.d.ts +0 -32
  66. package/dist/esm/v3/schemas/checkpoints.d.ts +4 -4
  67. package/dist/esm/v3/schemas/messages.d.ts +4 -52
  68. package/dist/esm/v3/schemas/queues.d.ts +15 -4
  69. package/dist/esm/v3/schemas/queues.js +9 -13
  70. package/dist/esm/v3/schemas/queues.js.map +1 -1
  71. package/dist/esm/v3/schemas/resources.d.ts +0 -17
  72. package/dist/esm/v3/schemas/runEngine.d.ts +11 -10
  73. package/dist/esm/v3/schemas/runEngine.js +1 -0
  74. package/dist/esm/v3/schemas/runEngine.js.map +1 -1
  75. package/dist/esm/v3/schemas/schemas.d.ts +0 -25
  76. package/dist/esm/v3/schemas/schemas.js +0 -5
  77. package/dist/esm/v3/schemas/schemas.js.map +1 -1
  78. package/dist/esm/v3/schemas/webhooks.d.ts +12 -12
  79. package/dist/esm/v3/serverOnly/index.d.ts +1 -0
  80. package/dist/esm/v3/serverOnly/index.js +1 -0
  81. package/dist/esm/v3/serverOnly/index.js.map +1 -1
  82. package/dist/esm/v3/types/queues.d.ts +0 -5
  83. package/dist/esm/v3/types/tasks.d.ts +1 -11
  84. package/dist/esm/version.js +1 -1
  85. package/package.json +1 -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;
@@ -343,7 +335,6 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
343
335
  queue?: {
344
336
  name?: string | undefined;
345
337
  concurrencyLimit?: number | null | undefined;
346
- releaseConcurrencyOnWaitpoint?: boolean | undefined;
347
338
  } | undefined;
348
339
  machine?: {
349
340
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
@@ -371,7 +362,6 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
371
362
  queues?: {
372
363
  name: string;
373
364
  concurrencyLimit?: number | null | undefined;
374
- releaseConcurrencyOnWaitpoint?: boolean | undefined;
375
365
  }[] | undefined;
376
366
  cliPackageVersion?: string | undefined;
377
367
  sourceFiles?: {
@@ -393,7 +383,6 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
393
383
  queue?: {
394
384
  name?: string | undefined;
395
385
  concurrencyLimit?: number | null | undefined;
396
- releaseConcurrencyOnWaitpoint?: boolean | undefined;
397
386
  } | undefined;
398
387
  machine?: {
399
388
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
@@ -421,7 +410,6 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
421
410
  queues?: {
422
411
  name: string;
423
412
  concurrencyLimit?: number | null | undefined;
424
- releaseConcurrencyOnWaitpoint?: boolean | undefined;
425
413
  }[] | undefined;
426
414
  cliPackageVersion?: string | undefined;
427
415
  sourceFiles?: {
@@ -449,7 +437,6 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
449
437
  queue?: {
450
438
  name?: string | undefined;
451
439
  concurrencyLimit?: number | null | undefined;
452
- releaseConcurrencyOnWaitpoint?: boolean | undefined;
453
440
  } | undefined;
454
441
  machine?: {
455
442
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
@@ -477,7 +464,6 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
477
464
  queues?: {
478
465
  name: string;
479
466
  concurrencyLimit?: number | null | undefined;
480
- releaseConcurrencyOnWaitpoint?: boolean | undefined;
481
467
  }[] | undefined;
482
468
  cliPackageVersion?: string | undefined;
483
469
  sourceFiles?: {
@@ -506,7 +492,6 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
506
492
  queue?: {
507
493
  name?: string | undefined;
508
494
  concurrencyLimit?: number | null | undefined;
509
- releaseConcurrencyOnWaitpoint?: boolean | undefined;
510
495
  } | undefined;
511
496
  machine?: {
512
497
  cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
@@ -534,7 +519,6 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
534
519
  queues?: {
535
520
  name: string;
536
521
  concurrencyLimit?: number | null | undefined;
537
- releaseConcurrencyOnWaitpoint?: boolean | undefined;
538
522
  }[] | undefined;
539
523
  cliPackageVersion?: string | undefined;
540
524
  sourceFiles?: {
@@ -622,7 +606,6 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
622
606
  test: z.ZodOptional<z.ZodBoolean>;
623
607
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
624
608
  priority: z.ZodOptional<z.ZodNumber>;
625
- releaseConcurrency: z.ZodOptional<z.ZodBoolean>;
626
609
  bulkActionId: z.ZodOptional<z.ZodString>;
627
610
  }, "strip", z.ZodTypeAny, {
628
611
  metadata?: any;
@@ -650,7 +633,6 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
650
633
  lockToVersion?: string | undefined;
651
634
  metadataType?: string | undefined;
652
635
  test?: boolean | undefined;
653
- releaseConcurrency?: boolean | undefined;
654
636
  bulkActionId?: string | undefined;
655
637
  }, {
656
638
  metadata?: any;
@@ -678,7 +660,6 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
678
660
  lockToVersion?: string | undefined;
679
661
  metadataType?: string | undefined;
680
662
  test?: boolean | undefined;
681
- releaseConcurrency?: boolean | undefined;
682
663
  bulkActionId?: string | undefined;
683
664
  }>>;
684
665
  }, "strip", z.ZodTypeAny, {
@@ -708,7 +689,6 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
708
689
  lockToVersion?: string | undefined;
709
690
  metadataType?: string | undefined;
710
691
  test?: boolean | undefined;
711
- releaseConcurrency?: boolean | undefined;
712
692
  bulkActionId?: string | undefined;
713
693
  } | undefined;
714
694
  payload?: any;
@@ -740,7 +720,6 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
740
720
  lockToVersion?: string | undefined;
741
721
  metadataType?: string | undefined;
742
722
  test?: boolean | undefined;
743
- releaseConcurrency?: boolean | undefined;
744
723
  bulkActionId?: string | undefined;
745
724
  } | undefined;
746
725
  payload?: any;
@@ -812,7 +791,6 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
812
791
  test: z.ZodOptional<z.ZodBoolean>;
813
792
  ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
814
793
  priority: z.ZodOptional<z.ZodNumber>;
815
- releaseConcurrency: z.ZodOptional<z.ZodBoolean>;
816
794
  bulkActionId: z.ZodOptional<z.ZodString>;
817
795
  }, "strip", z.ZodTypeAny, {
818
796
  metadata?: any;
@@ -840,7 +818,6 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
840
818
  lockToVersion?: string | undefined;
841
819
  metadataType?: string | undefined;
842
820
  test?: boolean | undefined;
843
- releaseConcurrency?: boolean | undefined;
844
821
  bulkActionId?: string | undefined;
845
822
  }, {
846
823
  metadata?: any;
@@ -868,7 +845,6 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
868
845
  lockToVersion?: string | undefined;
869
846
  metadataType?: string | undefined;
870
847
  test?: boolean | undefined;
871
- releaseConcurrency?: boolean | undefined;
872
848
  bulkActionId?: string | undefined;
873
849
  }>>;
874
850
  }, "strip", z.ZodTypeAny, {
@@ -898,7 +874,6 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
898
874
  lockToVersion?: string | undefined;
899
875
  metadataType?: string | undefined;
900
876
  test?: boolean | undefined;
901
- releaseConcurrency?: boolean | undefined;
902
877
  bulkActionId?: string | undefined;
903
878
  } | undefined;
904
879
  payload?: any;
@@ -930,7 +905,6 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
930
905
  lockToVersion?: string | undefined;
931
906
  metadataType?: string | undefined;
932
907
  test?: boolean | undefined;
933
- releaseConcurrency?: boolean | undefined;
934
908
  bulkActionId?: string | undefined;
935
909
  } | undefined;
936
910
  payload?: any;
@@ -965,7 +939,6 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
965
939
  lockToVersion?: string | undefined;
966
940
  metadataType?: string | undefined;
967
941
  test?: boolean | undefined;
968
- releaseConcurrency?: boolean | undefined;
969
942
  bulkActionId?: string | undefined;
970
943
  } | undefined;
971
944
  payload?: any;
@@ -1000,7 +973,6 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1000
973
  lockToVersion?: string | undefined;
1001
974
  metadataType?: string | undefined;
1002
975
  test?: boolean | undefined;
1003
- releaseConcurrency?: boolean | undefined;
1004
976
  bulkActionId?: string | undefined;
1005
977
  } | undefined;
1006
978
  payload?: any;
@@ -2368,8 +2340,8 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
2368
2340
  }, "strip", z.ZodTypeAny, {
2369
2341
  type: import("./runEngine.js").WaitpointType;
2370
2342
  id: string;
2371
- completedAt: Date;
2372
2343
  friendlyId: string;
2344
+ completedAt: Date;
2373
2345
  outputIsError: boolean;
2374
2346
  idempotencyKey?: string | undefined;
2375
2347
  output?: string | undefined;
@@ -2391,8 +2363,8 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
2391
2363
  }, {
2392
2364
  type: import("./runEngine.js").WaitpointType;
2393
2365
  id: string;
2394
- completedAt: Date;
2395
2366
  friendlyId: string;
2367
+ completedAt: Date;
2396
2368
  outputIsError: boolean;
2397
2369
  idempotencyKey?: string | undefined;
2398
2370
  output?: string | undefined;
@@ -2548,8 +2520,8 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
2548
2520
  completedWaitpoints: {
2549
2521
  type: import("./runEngine.js").WaitpointType;
2550
2522
  id: string;
2551
- completedAt: Date;
2552
2523
  friendlyId: string;
2524
+ completedAt: Date;
2553
2525
  outputIsError: boolean;
2554
2526
  idempotencyKey?: string | undefined;
2555
2527
  output?: string | undefined;
@@ -2624,8 +2596,8 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
2624
2596
  completedWaitpoints: {
2625
2597
  type: import("./runEngine.js").WaitpointType;
2626
2598
  id: string;
2627
- completedAt: Date;
2628
2599
  friendlyId: string;
2600
+ completedAt: Date;
2629
2601
  outputIsError: boolean;
2630
2602
  idempotencyKey?: string | undefined;
2631
2603
  output?: string | undefined;
@@ -2702,8 +2674,8 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
2702
2674
  completedWaitpoints: {
2703
2675
  type: import("./runEngine.js").WaitpointType;
2704
2676
  id: string;
2705
- completedAt: Date;
2706
2677
  friendlyId: string;
2678
+ completedAt: Date;
2707
2679
  outputIsError: boolean;
2708
2680
  idempotencyKey?: string | undefined;
2709
2681
  output?: string | undefined;
@@ -2780,8 +2752,8 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
2780
2752
  completedWaitpoints: {
2781
2753
  type: import("./runEngine.js").WaitpointType;
2782
2754
  id: string;
2783
- completedAt: Date;
2784
2755
  friendlyId: string;
2756
+ completedAt: Date;
2785
2757
  outputIsError: boolean;
2786
2758
  idempotencyKey?: string | undefined;
2787
2759
  output?: string | undefined;
@@ -3257,7 +3229,7 @@ export declare const TimezonesResult: z.ZodObject<{
3257
3229
  timezones: string[];
3258
3230
  }>;
3259
3231
  export type TimezonesResult = z.infer<typeof TimezonesResult>;
3260
- export declare const RunStatus: z.ZodEnum<["PENDING_VERSION", "WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
3232
+ export declare const RunStatus: z.ZodEnum<["PENDING_VERSION", "QUEUED", "DEQUEUED", "EXECUTING", "WAITING", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
3261
3233
  export type RunStatus = z.infer<typeof RunStatus>;
3262
3234
  export declare const AttemptStatus: z.ZodEnum<["PENDING", "EXECUTING", "PAUSED", "COMPLETED", "FAILED", "CANCELED"]>;
3263
3235
  export type AttemptStatus = z.infer<typeof AttemptStatus>;
@@ -3319,12 +3291,13 @@ export declare const RelatedRunDetails: z.ZodObject<{
3319
3291
  triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
3320
3292
  batchId: z.ZodOptional<z.ZodString>;
3321
3293
  id: z.ZodString;
3322
- status: z.ZodEnum<["PENDING_VERSION", "WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
3294
+ status: z.ZodEnum<["PENDING_VERSION", "QUEUED", "DEQUEUED", "EXECUTING", "WAITING", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
3323
3295
  taskIdentifier: z.ZodString;
3324
3296
  idempotencyKey: z.ZodOptional<z.ZodString>;
3325
3297
  version: z.ZodOptional<z.ZodString>;
3326
3298
  isQueued: z.ZodBoolean;
3327
3299
  isExecuting: z.ZodBoolean;
3300
+ isWaiting: z.ZodBoolean;
3328
3301
  isCompleted: z.ZodBoolean;
3329
3302
  isSuccess: z.ZodBoolean;
3330
3303
  isFailed: z.ZodBoolean;
@@ -3343,7 +3316,7 @@ export declare const RelatedRunDetails: z.ZodObject<{
3343
3316
  durationMs: z.ZodNumber;
3344
3317
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3345
3318
  }, "strip", z.ZodTypeAny, {
3346
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3319
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3347
3320
  id: string;
3348
3321
  tags: string[];
3349
3322
  isTest: boolean;
@@ -3356,6 +3329,7 @@ export declare const RelatedRunDetails: z.ZodObject<{
3356
3329
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
3357
3330
  isQueued: boolean;
3358
3331
  isExecuting: boolean;
3332
+ isWaiting: boolean;
3359
3333
  isCompleted: boolean;
3360
3334
  isSuccess: boolean;
3361
3335
  isFailed: boolean;
@@ -3371,7 +3345,7 @@ export declare const RelatedRunDetails: z.ZodObject<{
3371
3345
  delayedUntil?: Date | undefined;
3372
3346
  expiredAt?: Date | undefined;
3373
3347
  }, {
3374
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3348
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3375
3349
  id: string;
3376
3350
  tags: string[];
3377
3351
  isTest: boolean;
@@ -3384,6 +3358,7 @@ export declare const RelatedRunDetails: z.ZodObject<{
3384
3358
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
3385
3359
  isQueued: boolean;
3386
3360
  isExecuting: boolean;
3361
+ isWaiting: boolean;
3387
3362
  isCompleted: boolean;
3388
3363
  isSuccess: boolean;
3389
3364
  isFailed: boolean;
@@ -3459,12 +3434,13 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3459
3434
  triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
3460
3435
  batchId: z.ZodOptional<z.ZodString>;
3461
3436
  id: z.ZodString;
3462
- status: z.ZodEnum<["PENDING_VERSION", "WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
3437
+ status: z.ZodEnum<["PENDING_VERSION", "QUEUED", "DEQUEUED", "EXECUTING", "WAITING", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
3463
3438
  taskIdentifier: z.ZodString;
3464
3439
  idempotencyKey: z.ZodOptional<z.ZodString>;
3465
3440
  version: z.ZodOptional<z.ZodString>;
3466
3441
  isQueued: z.ZodBoolean;
3467
3442
  isExecuting: z.ZodBoolean;
3443
+ isWaiting: z.ZodBoolean;
3468
3444
  isCompleted: z.ZodBoolean;
3469
3445
  isSuccess: z.ZodBoolean;
3470
3446
  isFailed: z.ZodBoolean;
@@ -3483,7 +3459,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3483
3459
  durationMs: z.ZodNumber;
3484
3460
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3485
3461
  }, "strip", z.ZodTypeAny, {
3486
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3462
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3487
3463
  id: string;
3488
3464
  tags: string[];
3489
3465
  isTest: boolean;
@@ -3496,6 +3472,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3496
3472
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
3497
3473
  isQueued: boolean;
3498
3474
  isExecuting: boolean;
3475
+ isWaiting: boolean;
3499
3476
  isCompleted: boolean;
3500
3477
  isSuccess: boolean;
3501
3478
  isFailed: boolean;
@@ -3511,7 +3488,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3511
3488
  delayedUntil?: Date | undefined;
3512
3489
  expiredAt?: Date | undefined;
3513
3490
  }, {
3514
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3491
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3515
3492
  id: string;
3516
3493
  tags: string[];
3517
3494
  isTest: boolean;
@@ -3524,6 +3501,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3524
3501
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
3525
3502
  isQueued: boolean;
3526
3503
  isExecuting: boolean;
3504
+ isWaiting: boolean;
3527
3505
  isCompleted: boolean;
3528
3506
  isSuccess: boolean;
3529
3507
  isFailed: boolean;
@@ -3544,12 +3522,13 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3544
3522
  triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
3545
3523
  batchId: z.ZodOptional<z.ZodString>;
3546
3524
  id: z.ZodString;
3547
- status: z.ZodEnum<["PENDING_VERSION", "WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
3525
+ status: z.ZodEnum<["PENDING_VERSION", "QUEUED", "DEQUEUED", "EXECUTING", "WAITING", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
3548
3526
  taskIdentifier: z.ZodString;
3549
3527
  idempotencyKey: z.ZodOptional<z.ZodString>;
3550
3528
  version: z.ZodOptional<z.ZodString>;
3551
3529
  isQueued: z.ZodBoolean;
3552
3530
  isExecuting: z.ZodBoolean;
3531
+ isWaiting: z.ZodBoolean;
3553
3532
  isCompleted: z.ZodBoolean;
3554
3533
  isSuccess: z.ZodBoolean;
3555
3534
  isFailed: z.ZodBoolean;
@@ -3568,7 +3547,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3568
3547
  durationMs: z.ZodNumber;
3569
3548
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3570
3549
  }, "strip", z.ZodTypeAny, {
3571
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3550
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3572
3551
  id: string;
3573
3552
  tags: string[];
3574
3553
  isTest: boolean;
@@ -3581,6 +3560,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3581
3560
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
3582
3561
  isQueued: boolean;
3583
3562
  isExecuting: boolean;
3563
+ isWaiting: boolean;
3584
3564
  isCompleted: boolean;
3585
3565
  isSuccess: boolean;
3586
3566
  isFailed: boolean;
@@ -3596,7 +3576,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3596
3576
  delayedUntil?: Date | undefined;
3597
3577
  expiredAt?: Date | undefined;
3598
3578
  }, {
3599
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3579
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3600
3580
  id: string;
3601
3581
  tags: string[];
3602
3582
  isTest: boolean;
@@ -3609,6 +3589,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3609
3589
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
3610
3590
  isQueued: boolean;
3611
3591
  isExecuting: boolean;
3592
+ isWaiting: boolean;
3612
3593
  isCompleted: boolean;
3613
3594
  isSuccess: boolean;
3614
3595
  isFailed: boolean;
@@ -3629,12 +3610,13 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3629
3610
  triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
3630
3611
  batchId: z.ZodOptional<z.ZodString>;
3631
3612
  id: z.ZodString;
3632
- status: z.ZodEnum<["PENDING_VERSION", "WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
3613
+ status: z.ZodEnum<["PENDING_VERSION", "QUEUED", "DEQUEUED", "EXECUTING", "WAITING", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
3633
3614
  taskIdentifier: z.ZodString;
3634
3615
  idempotencyKey: z.ZodOptional<z.ZodString>;
3635
3616
  version: z.ZodOptional<z.ZodString>;
3636
3617
  isQueued: z.ZodBoolean;
3637
3618
  isExecuting: z.ZodBoolean;
3619
+ isWaiting: z.ZodBoolean;
3638
3620
  isCompleted: z.ZodBoolean;
3639
3621
  isSuccess: z.ZodBoolean;
3640
3622
  isFailed: z.ZodBoolean;
@@ -3653,7 +3635,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3653
3635
  durationMs: z.ZodNumber;
3654
3636
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3655
3637
  }, "strip", z.ZodTypeAny, {
3656
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3638
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3657
3639
  id: string;
3658
3640
  tags: string[];
3659
3641
  isTest: boolean;
@@ -3666,6 +3648,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3666
3648
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
3667
3649
  isQueued: boolean;
3668
3650
  isExecuting: boolean;
3651
+ isWaiting: boolean;
3669
3652
  isCompleted: boolean;
3670
3653
  isSuccess: boolean;
3671
3654
  isFailed: boolean;
@@ -3681,7 +3664,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3681
3664
  delayedUntil?: Date | undefined;
3682
3665
  expiredAt?: Date | undefined;
3683
3666
  }, {
3684
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3667
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3685
3668
  id: string;
3686
3669
  tags: string[];
3687
3670
  isTest: boolean;
@@ -3694,6 +3677,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3694
3677
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
3695
3678
  isQueued: boolean;
3696
3679
  isExecuting: boolean;
3680
+ isWaiting: boolean;
3697
3681
  isCompleted: boolean;
3698
3682
  isSuccess: boolean;
3699
3683
  isFailed: boolean;
@@ -3711,7 +3695,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3711
3695
  }>, "many">>;
3712
3696
  }, "strip", z.ZodTypeAny, {
3713
3697
  root?: {
3714
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3698
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3715
3699
  id: string;
3716
3700
  tags: string[];
3717
3701
  isTest: boolean;
@@ -3724,6 +3708,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3724
3708
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
3725
3709
  isQueued: boolean;
3726
3710
  isExecuting: boolean;
3711
+ isWaiting: boolean;
3727
3712
  isCompleted: boolean;
3728
3713
  isSuccess: boolean;
3729
3714
  isFailed: boolean;
@@ -3740,7 +3725,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3740
3725
  expiredAt?: Date | undefined;
3741
3726
  } | undefined;
3742
3727
  parent?: {
3743
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3728
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3744
3729
  id: string;
3745
3730
  tags: string[];
3746
3731
  isTest: boolean;
@@ -3753,6 +3738,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3753
3738
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
3754
3739
  isQueued: boolean;
3755
3740
  isExecuting: boolean;
3741
+ isWaiting: boolean;
3756
3742
  isCompleted: boolean;
3757
3743
  isSuccess: boolean;
3758
3744
  isFailed: boolean;
@@ -3769,7 +3755,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3769
3755
  expiredAt?: Date | undefined;
3770
3756
  } | undefined;
3771
3757
  children?: {
3772
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3758
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3773
3759
  id: string;
3774
3760
  tags: string[];
3775
3761
  isTest: boolean;
@@ -3782,6 +3768,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3782
3768
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
3783
3769
  isQueued: boolean;
3784
3770
  isExecuting: boolean;
3771
+ isWaiting: boolean;
3785
3772
  isCompleted: boolean;
3786
3773
  isSuccess: boolean;
3787
3774
  isFailed: boolean;
@@ -3799,7 +3786,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3799
3786
  }[] | undefined;
3800
3787
  }, {
3801
3788
  root?: {
3802
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3789
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3803
3790
  id: string;
3804
3791
  tags: string[];
3805
3792
  isTest: boolean;
@@ -3812,6 +3799,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3812
3799
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
3813
3800
  isQueued: boolean;
3814
3801
  isExecuting: boolean;
3802
+ isWaiting: boolean;
3815
3803
  isCompleted: boolean;
3816
3804
  isSuccess: boolean;
3817
3805
  isFailed: boolean;
@@ -3828,7 +3816,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3828
3816
  expiredAt?: Date | undefined;
3829
3817
  } | undefined;
3830
3818
  parent?: {
3831
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3819
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3832
3820
  id: string;
3833
3821
  tags: string[];
3834
3822
  isTest: boolean;
@@ -3841,6 +3829,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3841
3829
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
3842
3830
  isQueued: boolean;
3843
3831
  isExecuting: boolean;
3832
+ isWaiting: boolean;
3844
3833
  isCompleted: boolean;
3845
3834
  isSuccess: boolean;
3846
3835
  isFailed: boolean;
@@ -3857,7 +3846,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3857
3846
  expiredAt?: Date | undefined;
3858
3847
  } | undefined;
3859
3848
  children?: {
3860
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3849
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3861
3850
  id: string;
3862
3851
  tags: string[];
3863
3852
  isTest: boolean;
@@ -3870,6 +3859,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3870
3859
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
3871
3860
  isQueued: boolean;
3872
3861
  isExecuting: boolean;
3862
+ isWaiting: boolean;
3873
3863
  isCompleted: boolean;
3874
3864
  isSuccess: boolean;
3875
3865
  isFailed: boolean;
@@ -3886,62 +3876,18 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3886
3876
  expiredAt?: Date | undefined;
3887
3877
  }[] | undefined;
3888
3878
  }>;
3889
- attempts: z.ZodArray<z.ZodOptional<z.ZodObject<{
3890
- id: z.ZodString;
3891
- status: z.ZodEnum<["PENDING", "EXECUTING", "PAUSED", "COMPLETED", "FAILED", "CANCELED"]>;
3892
- createdAt: z.ZodDate;
3893
- updatedAt: z.ZodDate;
3894
- startedAt: z.ZodOptional<z.ZodDate>;
3895
- completedAt: z.ZodOptional<z.ZodDate>;
3896
- error: z.ZodOptional<z.ZodObject<{
3897
- message: z.ZodString;
3898
- name: z.ZodOptional<z.ZodString>;
3899
- stackTrace: z.ZodOptional<z.ZodString>;
3900
- }, "strip", z.ZodTypeAny, {
3901
- message: string;
3902
- name?: string | undefined;
3903
- stackTrace?: string | undefined;
3904
- }, {
3905
- message: string;
3906
- name?: string | undefined;
3907
- stackTrace?: string | undefined;
3908
- }>>;
3909
- }, "strip", z.ZodTypeAny, {
3910
- status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
3911
- id: string;
3912
- createdAt: Date;
3913
- updatedAt: Date;
3914
- error?: {
3915
- message: string;
3916
- name?: string | undefined;
3917
- stackTrace?: string | undefined;
3918
- } | undefined;
3919
- startedAt?: Date | undefined;
3920
- completedAt?: Date | undefined;
3921
- }, {
3922
- status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
3923
- id: string;
3924
- createdAt: Date;
3925
- updatedAt: Date;
3926
- error?: {
3927
- message: string;
3928
- name?: string | undefined;
3929
- stackTrace?: string | undefined;
3930
- } | undefined;
3931
- startedAt?: Date | undefined;
3932
- completedAt?: Date | undefined;
3933
- }>>, "many">;
3934
3879
  attemptCount: z.ZodDefault<z.ZodNumber>;
3935
3880
  depth: z.ZodNumber;
3936
3881
  triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
3937
3882
  batchId: z.ZodOptional<z.ZodString>;
3938
3883
  id: z.ZodString;
3939
- status: z.ZodEnum<["PENDING_VERSION", "WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
3884
+ status: z.ZodEnum<["PENDING_VERSION", "QUEUED", "DEQUEUED", "EXECUTING", "WAITING", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
3940
3885
  taskIdentifier: z.ZodString;
3941
3886
  idempotencyKey: z.ZodOptional<z.ZodString>;
3942
3887
  version: z.ZodOptional<z.ZodString>;
3943
3888
  isQueued: z.ZodBoolean;
3944
3889
  isExecuting: z.ZodBoolean;
3890
+ isWaiting: z.ZodBoolean;
3945
3891
  isCompleted: z.ZodBoolean;
3946
3892
  isSuccess: z.ZodBoolean;
3947
3893
  isFailed: z.ZodBoolean;
@@ -3960,7 +3906,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3960
3906
  durationMs: z.ZodNumber;
3961
3907
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3962
3908
  }, "strip", z.ZodTypeAny, {
3963
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3909
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3964
3910
  id: string;
3965
3911
  tags: string[];
3966
3912
  isTest: boolean;
@@ -3971,7 +3917,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3971
3917
  taskIdentifier: string;
3972
3918
  relatedRuns: {
3973
3919
  root?: {
3974
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3920
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3975
3921
  id: string;
3976
3922
  tags: string[];
3977
3923
  isTest: boolean;
@@ -3984,6 +3930,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3984
3930
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
3985
3931
  isQueued: boolean;
3986
3932
  isExecuting: boolean;
3933
+ isWaiting: boolean;
3987
3934
  isCompleted: boolean;
3988
3935
  isSuccess: boolean;
3989
3936
  isFailed: boolean;
@@ -4000,7 +3947,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
4000
3947
  expiredAt?: Date | undefined;
4001
3948
  } | undefined;
4002
3949
  parent?: {
4003
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3950
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4004
3951
  id: string;
4005
3952
  tags: string[];
4006
3953
  isTest: boolean;
@@ -4013,6 +3960,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
4013
3960
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
4014
3961
  isQueued: boolean;
4015
3962
  isExecuting: boolean;
3963
+ isWaiting: boolean;
4016
3964
  isCompleted: boolean;
4017
3965
  isSuccess: boolean;
4018
3966
  isFailed: boolean;
@@ -4029,7 +3977,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
4029
3977
  expiredAt?: Date | undefined;
4030
3978
  } | undefined;
4031
3979
  children?: {
4032
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
3980
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4033
3981
  id: string;
4034
3982
  tags: string[];
4035
3983
  isTest: boolean;
@@ -4042,6 +3990,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
4042
3990
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
4043
3991
  isQueued: boolean;
4044
3992
  isExecuting: boolean;
3993
+ isWaiting: boolean;
4045
3994
  isCompleted: boolean;
4046
3995
  isSuccess: boolean;
4047
3996
  isFailed: boolean;
@@ -4062,24 +4011,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
4062
4011
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
4063
4012
  isQueued: boolean;
4064
4013
  isExecuting: boolean;
4014
+ isWaiting: boolean;
4065
4015
  isCompleted: boolean;
4066
4016
  isSuccess: boolean;
4067
4017
  isFailed: boolean;
4068
4018
  isCancelled: boolean;
4069
4019
  updatedAt: Date;
4070
- attempts: ({
4071
- status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
4072
- id: string;
4073
- createdAt: Date;
4074
- updatedAt: Date;
4075
- error?: {
4076
- message: string;
4077
- name?: string | undefined;
4078
- stackTrace?: string | undefined;
4079
- } | undefined;
4080
- startedAt?: Date | undefined;
4081
- completedAt?: Date | undefined;
4082
- } | undefined)[];
4083
4020
  attemptCount: number;
4084
4021
  payload?: any;
4085
4022
  error?: {
@@ -4110,7 +4047,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
4110
4047
  delayedUntil?: Date | undefined;
4111
4048
  expiredAt?: Date | undefined;
4112
4049
  }, {
4113
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4050
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4114
4051
  id: string;
4115
4052
  tags: string[];
4116
4053
  isTest: boolean;
@@ -4121,7 +4058,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
4121
4058
  taskIdentifier: string;
4122
4059
  relatedRuns: {
4123
4060
  root?: {
4124
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4061
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4125
4062
  id: string;
4126
4063
  tags: string[];
4127
4064
  isTest: boolean;
@@ -4134,6 +4071,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
4134
4071
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
4135
4072
  isQueued: boolean;
4136
4073
  isExecuting: boolean;
4074
+ isWaiting: boolean;
4137
4075
  isCompleted: boolean;
4138
4076
  isSuccess: boolean;
4139
4077
  isFailed: boolean;
@@ -4150,7 +4088,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
4150
4088
  expiredAt?: Date | undefined;
4151
4089
  } | undefined;
4152
4090
  parent?: {
4153
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4091
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4154
4092
  id: string;
4155
4093
  tags: string[];
4156
4094
  isTest: boolean;
@@ -4163,6 +4101,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
4163
4101
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
4164
4102
  isQueued: boolean;
4165
4103
  isExecuting: boolean;
4104
+ isWaiting: boolean;
4166
4105
  isCompleted: boolean;
4167
4106
  isSuccess: boolean;
4168
4107
  isFailed: boolean;
@@ -4179,7 +4118,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
4179
4118
  expiredAt?: Date | undefined;
4180
4119
  } | undefined;
4181
4120
  children?: {
4182
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4121
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4183
4122
  id: string;
4184
4123
  tags: string[];
4185
4124
  isTest: boolean;
@@ -4192,6 +4131,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
4192
4131
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
4193
4132
  isQueued: boolean;
4194
4133
  isExecuting: boolean;
4134
+ isWaiting: boolean;
4195
4135
  isCompleted: boolean;
4196
4136
  isSuccess: boolean;
4197
4137
  isFailed: boolean;
@@ -4212,24 +4152,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
4212
4152
  triggerFunction: "trigger" | "batchTrigger" | "triggerAndWait" | "batchTriggerAndWait";
4213
4153
  isQueued: boolean;
4214
4154
  isExecuting: boolean;
4155
+ isWaiting: boolean;
4215
4156
  isCompleted: boolean;
4216
4157
  isSuccess: boolean;
4217
4158
  isFailed: boolean;
4218
4159
  isCancelled: boolean;
4219
4160
  updatedAt: Date;
4220
- attempts: ({
4221
- status: "EXECUTING" | "COMPLETED" | "CANCELED" | "FAILED" | "PENDING" | "PAUSED";
4222
- id: string;
4223
- createdAt: Date;
4224
- updatedAt: Date;
4225
- error?: {
4226
- message: string;
4227
- name?: string | undefined;
4228
- stackTrace?: string | undefined;
4229
- } | undefined;
4230
- startedAt?: Date | undefined;
4231
- completedAt?: Date | undefined;
4232
- } | undefined)[];
4233
4161
  payload?: any;
4234
4162
  error?: {
4235
4163
  message: string;
@@ -4276,12 +4204,13 @@ export declare const ListRunResponseItem: z.ZodObject<{
4276
4204
  user?: string | undefined;
4277
4205
  }>;
4278
4206
  id: z.ZodString;
4279
- status: z.ZodEnum<["PENDING_VERSION", "WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
4207
+ status: z.ZodEnum<["PENDING_VERSION", "QUEUED", "DEQUEUED", "EXECUTING", "WAITING", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
4280
4208
  taskIdentifier: z.ZodString;
4281
4209
  idempotencyKey: z.ZodOptional<z.ZodString>;
4282
4210
  version: z.ZodOptional<z.ZodString>;
4283
4211
  isQueued: z.ZodBoolean;
4284
4212
  isExecuting: z.ZodBoolean;
4213
+ isWaiting: z.ZodBoolean;
4285
4214
  isCompleted: z.ZodBoolean;
4286
4215
  isSuccess: z.ZodBoolean;
4287
4216
  isFailed: z.ZodBoolean;
@@ -4300,7 +4229,7 @@ export declare const ListRunResponseItem: z.ZodObject<{
4300
4229
  durationMs: z.ZodNumber;
4301
4230
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4302
4231
  }, "strip", z.ZodTypeAny, {
4303
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4232
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4304
4233
  id: string;
4305
4234
  tags: string[];
4306
4235
  isTest: boolean;
@@ -4311,6 +4240,7 @@ export declare const ListRunResponseItem: z.ZodObject<{
4311
4240
  taskIdentifier: string;
4312
4241
  isQueued: boolean;
4313
4242
  isExecuting: boolean;
4243
+ isWaiting: boolean;
4314
4244
  isCompleted: boolean;
4315
4245
  isSuccess: boolean;
4316
4246
  isFailed: boolean;
@@ -4330,7 +4260,7 @@ export declare const ListRunResponseItem: z.ZodObject<{
4330
4260
  delayedUntil?: Date | undefined;
4331
4261
  expiredAt?: Date | undefined;
4332
4262
  }, {
4333
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4263
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4334
4264
  id: string;
4335
4265
  tags: string[];
4336
4266
  isTest: boolean;
@@ -4341,6 +4271,7 @@ export declare const ListRunResponseItem: z.ZodObject<{
4341
4271
  taskIdentifier: string;
4342
4272
  isQueued: boolean;
4343
4273
  isExecuting: boolean;
4274
+ isWaiting: boolean;
4344
4275
  isCompleted: boolean;
4345
4276
  isSuccess: boolean;
4346
4277
  isFailed: boolean;
@@ -4377,12 +4308,13 @@ export declare const ListRunResponse: z.ZodObject<{
4377
4308
  user?: string | undefined;
4378
4309
  }>;
4379
4310
  id: z.ZodString;
4380
- status: z.ZodEnum<["PENDING_VERSION", "WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
4311
+ status: z.ZodEnum<["PENDING_VERSION", "QUEUED", "DEQUEUED", "EXECUTING", "WAITING", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
4381
4312
  taskIdentifier: z.ZodString;
4382
4313
  idempotencyKey: z.ZodOptional<z.ZodString>;
4383
4314
  version: z.ZodOptional<z.ZodString>;
4384
4315
  isQueued: z.ZodBoolean;
4385
4316
  isExecuting: z.ZodBoolean;
4317
+ isWaiting: z.ZodBoolean;
4386
4318
  isCompleted: z.ZodBoolean;
4387
4319
  isSuccess: z.ZodBoolean;
4388
4320
  isFailed: z.ZodBoolean;
@@ -4401,7 +4333,7 @@ export declare const ListRunResponse: z.ZodObject<{
4401
4333
  durationMs: z.ZodNumber;
4402
4334
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4403
4335
  }, "strip", z.ZodTypeAny, {
4404
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4336
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4405
4337
  id: string;
4406
4338
  tags: string[];
4407
4339
  isTest: boolean;
@@ -4412,6 +4344,7 @@ export declare const ListRunResponse: z.ZodObject<{
4412
4344
  taskIdentifier: string;
4413
4345
  isQueued: boolean;
4414
4346
  isExecuting: boolean;
4347
+ isWaiting: boolean;
4415
4348
  isCompleted: boolean;
4416
4349
  isSuccess: boolean;
4417
4350
  isFailed: boolean;
@@ -4431,7 +4364,7 @@ export declare const ListRunResponse: z.ZodObject<{
4431
4364
  delayedUntil?: Date | undefined;
4432
4365
  expiredAt?: Date | undefined;
4433
4366
  }, {
4434
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4367
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4435
4368
  id: string;
4436
4369
  tags: string[];
4437
4370
  isTest: boolean;
@@ -4442,6 +4375,7 @@ export declare const ListRunResponse: z.ZodObject<{
4442
4375
  taskIdentifier: string;
4443
4376
  isQueued: boolean;
4444
4377
  isExecuting: boolean;
4378
+ isWaiting: boolean;
4445
4379
  isCompleted: boolean;
4446
4380
  isSuccess: boolean;
4447
4381
  isFailed: boolean;
@@ -4473,7 +4407,7 @@ export declare const ListRunResponse: z.ZodObject<{
4473
4407
  }>;
4474
4408
  }, "strip", z.ZodTypeAny, {
4475
4409
  data: {
4476
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4410
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4477
4411
  id: string;
4478
4412
  tags: string[];
4479
4413
  isTest: boolean;
@@ -4484,6 +4418,7 @@ export declare const ListRunResponse: z.ZodObject<{
4484
4418
  taskIdentifier: string;
4485
4419
  isQueued: boolean;
4486
4420
  isExecuting: boolean;
4421
+ isWaiting: boolean;
4487
4422
  isCompleted: boolean;
4488
4423
  isSuccess: boolean;
4489
4424
  isFailed: boolean;
@@ -4509,7 +4444,7 @@ export declare const ListRunResponse: z.ZodObject<{
4509
4444
  };
4510
4445
  }, {
4511
4446
  data: {
4512
- status: "PENDING_VERSION" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4447
+ status: "PENDING_VERSION" | "QUEUED" | "DEQUEUED" | "EXECUTING" | "WAITING" | "COMPLETED" | "CANCELED" | "FAILED" | "CRASHED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED" | "TIMED_OUT";
4513
4448
  id: string;
4514
4449
  tags: string[];
4515
4450
  isTest: boolean;
@@ -4520,6 +4455,7 @@ export declare const ListRunResponse: z.ZodObject<{
4520
4455
  taskIdentifier: string;
4521
4456
  isQueued: boolean;
4522
4457
  isExecuting: boolean;
4458
+ isWaiting: boolean;
4523
4459
  isCompleted: boolean;
4524
4460
  isSuccess: boolean;
4525
4461
  isFailed: boolean;
@@ -5310,7 +5246,7 @@ export declare const WaitpointTokenItem: z.ZodObject<{
5310
5246
  tags: z.ZodArray<z.ZodString, "many">;
5311
5247
  createdAt: z.ZodDate;
5312
5248
  }, "strip", z.ZodTypeAny, {
5313
- status: "COMPLETED" | "TIMED_OUT" | "WAITING";
5249
+ status: "WAITING" | "COMPLETED" | "TIMED_OUT";
5314
5250
  url: string;
5315
5251
  id: string;
5316
5252
  tags: string[];
@@ -5321,7 +5257,7 @@ export declare const WaitpointTokenItem: z.ZodObject<{
5321
5257
  timeoutAt?: Date | undefined;
5322
5258
  idempotencyKeyExpiresAt?: Date | undefined;
5323
5259
  }, {
5324
- status: "COMPLETED" | "TIMED_OUT" | "WAITING";
5260
+ status: "WAITING" | "COMPLETED" | "TIMED_OUT";
5325
5261
  url: string;
5326
5262
  id: string;
5327
5263
  tags: string[];
@@ -5346,7 +5282,7 @@ export declare const WaitpointListTokenItem: z.ZodObject<Omit<{
5346
5282
  tags: z.ZodArray<z.ZodString, "many">;
5347
5283
  createdAt: z.ZodDate;
5348
5284
  }, "completedAfter">, "strip", z.ZodTypeAny, {
5349
- status: "COMPLETED" | "TIMED_OUT" | "WAITING";
5285
+ status: "WAITING" | "COMPLETED" | "TIMED_OUT";
5350
5286
  url: string;
5351
5287
  id: string;
5352
5288
  tags: string[];
@@ -5356,7 +5292,7 @@ export declare const WaitpointListTokenItem: z.ZodObject<Omit<{
5356
5292
  timeoutAt?: Date | undefined;
5357
5293
  idempotencyKeyExpiresAt?: Date | undefined;
5358
5294
  }, {
5359
- status: "COMPLETED" | "TIMED_OUT" | "WAITING";
5295
+ status: "WAITING" | "COMPLETED" | "TIMED_OUT";
5360
5296
  url: string;
5361
5297
  id: string;
5362
5298
  tags: string[];
@@ -5380,7 +5316,7 @@ export declare const WaitpointRetrieveTokenResponse: z.ZodIntersection<z.ZodObje
5380
5316
  tags: z.ZodArray<z.ZodString, "many">;
5381
5317
  createdAt: z.ZodDate;
5382
5318
  }, "completedAfter">, "strip", z.ZodTypeAny, {
5383
- status: "COMPLETED" | "TIMED_OUT" | "WAITING";
5319
+ status: "WAITING" | "COMPLETED" | "TIMED_OUT";
5384
5320
  url: string;
5385
5321
  id: string;
5386
5322
  tags: string[];
@@ -5390,7 +5326,7 @@ export declare const WaitpointRetrieveTokenResponse: z.ZodIntersection<z.ZodObje
5390
5326
  timeoutAt?: Date | undefined;
5391
5327
  idempotencyKeyExpiresAt?: Date | undefined;
5392
5328
  }, {
5393
- status: "COMPLETED" | "TIMED_OUT" | "WAITING";
5329
+ status: "WAITING" | "COMPLETED" | "TIMED_OUT";
5394
5330
  url: string;
5395
5331
  id: string;
5396
5332
  tags: string[];
@@ -5450,14 +5386,6 @@ export declare const WaitForDurationRequestBody: z.ZodObject<{
5450
5386
  * This means after that time if you pass the same idempotency key again, you will get a new waitpoint.
5451
5387
  */
5452
5388
  idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
5453
- /**
5454
- * If set to true, this will cause the waitpoint to release the current run from the queue's concurrency.
5455
- *
5456
- * This is useful if you want to allow other runs to execute while the waiting
5457
- *
5458
- * @default false
5459
- */
5460
- releaseConcurrency: z.ZodOptional<z.ZodBoolean>;
5461
5389
  /**
5462
5390
  * The date that the waitpoint will complete.
5463
5391
  */
@@ -5466,12 +5394,10 @@ export declare const WaitForDurationRequestBody: z.ZodObject<{
5466
5394
  date: Date;
5467
5395
  idempotencyKey?: string | undefined;
5468
5396
  idempotencyKeyTTL?: string | undefined;
5469
- releaseConcurrency?: boolean | undefined;
5470
5397
  }, {
5471
5398
  date: Date;
5472
5399
  idempotencyKey?: string | undefined;
5473
5400
  idempotencyKeyTTL?: string | undefined;
5474
- releaseConcurrency?: boolean | undefined;
5475
5401
  }>;
5476
5402
  export type WaitForDurationRequestBody = z.infer<typeof WaitForDurationRequestBody>;
5477
5403
  export declare const WaitForDurationResponseBody: z.ZodObject<{