@trigger.dev/core 0.0.0-prerelease-20240926084729 → 0.0.0-prerelease-20241003205750

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 (101) hide show
  1. package/dist/commonjs/schemas/api.d.ts +8 -8
  2. package/dist/commonjs/v3/apiClient/index.d.ts +55 -55
  3. package/dist/commonjs/v3/config.d.ts +8 -0
  4. package/dist/commonjs/v3/errors.js +4 -1
  5. package/dist/commonjs/v3/errors.js.map +1 -1
  6. package/dist/commonjs/v3/index.d.ts +1 -0
  7. package/dist/commonjs/v3/index.js +1 -0
  8. package/dist/commonjs/v3/index.js.map +1 -1
  9. package/dist/commonjs/v3/runMetadata/index.d.ts +2 -1
  10. package/dist/commonjs/v3/runMetadata/index.js +9 -2
  11. package/dist/commonjs/v3/runMetadata/index.js.map +1 -1
  12. package/dist/commonjs/v3/schemas/api.d.ts +285 -266
  13. package/dist/commonjs/v3/schemas/api.js +3 -0
  14. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  15. package/dist/commonjs/v3/schemas/build.d.ts +66 -52
  16. package/dist/commonjs/v3/schemas/common.d.ts +116 -102
  17. package/dist/commonjs/v3/schemas/common.js +3 -0
  18. package/dist/commonjs/v3/schemas/common.js.map +1 -1
  19. package/dist/commonjs/v3/schemas/messages.d.ts +2267 -2119
  20. package/dist/commonjs/v3/schemas/resources.d.ts +36 -28
  21. package/dist/commonjs/v3/schemas/resources.js +1 -0
  22. package/dist/commonjs/v3/schemas/resources.js.map +1 -1
  23. package/dist/commonjs/v3/schemas/schemas.d.ts +282 -257
  24. package/dist/commonjs/v3/schemas/schemas.js +1 -0
  25. package/dist/commonjs/v3/schemas/schemas.js.map +1 -1
  26. package/dist/commonjs/v3/timeout/api.d.ts +11 -0
  27. package/dist/commonjs/v3/timeout/api.js +38 -0
  28. package/dist/commonjs/v3/timeout/api.js.map +1 -0
  29. package/dist/commonjs/v3/timeout/types.d.ts +9 -0
  30. package/dist/commonjs/v3/timeout/types.js +15 -0
  31. package/dist/commonjs/v3/timeout/types.js.map +1 -0
  32. package/dist/commonjs/v3/timeout/usageTimeoutManager.d.ts +10 -0
  33. package/dist/commonjs/v3/timeout/usageTimeoutManager.js +32 -0
  34. package/dist/commonjs/v3/timeout/usageTimeoutManager.js.map +1 -0
  35. package/dist/commonjs/v3/timeout-api.d.ts +3 -0
  36. package/dist/commonjs/v3/timeout-api.js +9 -0
  37. package/dist/commonjs/v3/timeout-api.js.map +1 -0
  38. package/dist/commonjs/v3/tracer.d.ts +1 -1
  39. package/dist/commonjs/v3/tracer.js +28 -14
  40. package/dist/commonjs/v3/tracer.js.map +1 -1
  41. package/dist/commonjs/v3/types/index.d.ts +10 -0
  42. package/dist/commonjs/v3/utils/globals.d.ts +4 -0
  43. package/dist/commonjs/v3/utils/globals.js.map +1 -1
  44. package/dist/commonjs/v3/workers/index.d.ts +1 -0
  45. package/dist/commonjs/v3/workers/index.js +3 -1
  46. package/dist/commonjs/v3/workers/index.js.map +1 -1
  47. package/dist/commonjs/v3/workers/taskExecutor.d.ts +1 -1
  48. package/dist/commonjs/v3/workers/taskExecutor.js +41 -35
  49. package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
  50. package/dist/commonjs/version.js +1 -1
  51. package/dist/esm/schemas/api.d.ts +8 -8
  52. package/dist/esm/v3/apiClient/index.d.ts +55 -55
  53. package/dist/esm/v3/config.d.ts +8 -0
  54. package/dist/esm/v3/errors.js +4 -1
  55. package/dist/esm/v3/errors.js.map +1 -1
  56. package/dist/esm/v3/index.d.ts +1 -0
  57. package/dist/esm/v3/index.js +1 -0
  58. package/dist/esm/v3/index.js.map +1 -1
  59. package/dist/esm/v3/runMetadata/index.d.ts +2 -1
  60. package/dist/esm/v3/runMetadata/index.js +9 -2
  61. package/dist/esm/v3/runMetadata/index.js.map +1 -1
  62. package/dist/esm/v3/schemas/api.d.ts +285 -266
  63. package/dist/esm/v3/schemas/api.js +3 -0
  64. package/dist/esm/v3/schemas/api.js.map +1 -1
  65. package/dist/esm/v3/schemas/build.d.ts +66 -52
  66. package/dist/esm/v3/schemas/common.d.ts +116 -102
  67. package/dist/esm/v3/schemas/common.js +3 -0
  68. package/dist/esm/v3/schemas/common.js.map +1 -1
  69. package/dist/esm/v3/schemas/messages.d.ts +2231 -2083
  70. package/dist/esm/v3/schemas/resources.d.ts +36 -28
  71. package/dist/esm/v3/schemas/resources.js +1 -0
  72. package/dist/esm/v3/schemas/resources.js.map +1 -1
  73. package/dist/esm/v3/schemas/schemas.d.ts +282 -257
  74. package/dist/esm/v3/schemas/schemas.js +1 -0
  75. package/dist/esm/v3/schemas/schemas.js.map +1 -1
  76. package/dist/esm/v3/timeout/api.d.ts +11 -0
  77. package/dist/esm/v3/timeout/api.js +34 -0
  78. package/dist/esm/v3/timeout/api.js.map +1 -0
  79. package/dist/esm/v3/timeout/types.d.ts +9 -0
  80. package/dist/esm/v3/timeout/types.js +11 -0
  81. package/dist/esm/v3/timeout/types.js.map +1 -0
  82. package/dist/esm/v3/timeout/usageTimeoutManager.d.ts +10 -0
  83. package/dist/esm/v3/timeout/usageTimeoutManager.js +28 -0
  84. package/dist/esm/v3/timeout/usageTimeoutManager.js.map +1 -0
  85. package/dist/esm/v3/timeout-api.d.ts +3 -0
  86. package/dist/esm/v3/timeout-api.js +6 -0
  87. package/dist/esm/v3/timeout-api.js.map +1 -0
  88. package/dist/esm/v3/tracer.d.ts +1 -1
  89. package/dist/esm/v3/tracer.js +28 -14
  90. package/dist/esm/v3/tracer.js.map +1 -1
  91. package/dist/esm/v3/types/index.d.ts +10 -0
  92. package/dist/esm/v3/utils/globals.d.ts +4 -0
  93. package/dist/esm/v3/utils/globals.js.map +1 -1
  94. package/dist/esm/v3/workers/index.d.ts +1 -0
  95. package/dist/esm/v3/workers/index.js +1 -0
  96. package/dist/esm/v3/workers/index.js.map +1 -1
  97. package/dist/esm/v3/workers/taskExecutor.d.ts +1 -1
  98. package/dist/esm/v3/workers/taskExecutor.js +41 -35
  99. package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
  100. package/dist/esm/version.js +1 -1
  101. package/package.json +1 -1
@@ -26,39 +26,39 @@ export declare const GetProjectResponseBody: z.ZodObject<{
26
26
  createdAt: z.ZodDate;
27
27
  }, "strip", z.ZodTypeAny, {
28
28
  id: string;
29
- createdAt: Date;
30
29
  slug: string;
30
+ createdAt: Date;
31
31
  title: string;
32
32
  }, {
33
33
  id: string;
34
- createdAt: Date;
35
34
  slug: string;
35
+ createdAt: Date;
36
36
  title: string;
37
37
  }>;
38
38
  }, "strip", z.ZodTypeAny, {
39
- name: string;
40
39
  id: string;
41
- createdAt: Date;
40
+ externalRef: string;
41
+ name: string;
42
42
  slug: string;
43
+ createdAt: Date;
43
44
  organization: {
44
45
  id: string;
45
- createdAt: Date;
46
46
  slug: string;
47
+ createdAt: Date;
47
48
  title: string;
48
49
  };
49
- externalRef: string;
50
50
  }, {
51
- name: string;
52
51
  id: string;
53
- createdAt: Date;
52
+ externalRef: string;
53
+ name: string;
54
54
  slug: string;
55
+ createdAt: Date;
55
56
  organization: {
56
57
  id: string;
57
- createdAt: Date;
58
58
  slug: string;
59
+ createdAt: Date;
59
60
  title: string;
60
61
  };
61
- externalRef: string;
62
62
  }>;
63
63
  export type GetProjectResponseBody = z.infer<typeof GetProjectResponseBody>;
64
64
  export declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
@@ -74,39 +74,39 @@ export declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
74
74
  createdAt: z.ZodDate;
75
75
  }, "strip", z.ZodTypeAny, {
76
76
  id: string;
77
- createdAt: Date;
78
77
  slug: string;
78
+ createdAt: Date;
79
79
  title: string;
80
80
  }, {
81
81
  id: string;
82
- createdAt: Date;
83
82
  slug: string;
83
+ createdAt: Date;
84
84
  title: string;
85
85
  }>;
86
86
  }, "strip", z.ZodTypeAny, {
87
- name: string;
88
87
  id: string;
89
- createdAt: Date;
88
+ externalRef: string;
89
+ name: string;
90
90
  slug: string;
91
+ createdAt: Date;
91
92
  organization: {
92
93
  id: string;
93
- createdAt: Date;
94
94
  slug: string;
95
+ createdAt: Date;
95
96
  title: string;
96
97
  };
97
- externalRef: string;
98
98
  }, {
99
- name: string;
100
99
  id: string;
101
- createdAt: Date;
100
+ externalRef: string;
101
+ name: string;
102
102
  slug: string;
103
+ createdAt: Date;
103
104
  organization: {
104
105
  id: string;
105
- createdAt: Date;
106
106
  slug: string;
107
+ createdAt: Date;
107
108
  title: string;
108
109
  };
109
- externalRef: string;
110
110
  }>, "many">;
111
111
  export type GetProjectsResponseBody = z.infer<typeof GetProjectsResponseBody>;
112
112
  export declare const GetProjectEnvResponse: z.ZodObject<{
@@ -345,12 +345,12 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
345
345
  memory: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0.25>, z.ZodLiteral<0.5>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<8>]>>;
346
346
  preset: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
347
347
  }, "strip", z.ZodTypeAny, {
348
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
349
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
348
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
349
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
350
350
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
351
351
  }, {
352
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
353
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
352
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
353
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
354
354
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
355
355
  }>>;
356
356
  triggerSource: z.ZodOptional<z.ZodString>;
@@ -364,6 +364,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
364
364
  cron: string;
365
365
  timezone: string;
366
366
  }>>;
367
+ maxDuration: z.ZodOptional<z.ZodNumber>;
367
368
  }, "strip", z.ZodTypeAny, {
368
369
  id: string;
369
370
  filePath: string;
@@ -413,8 +414,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
413
414
  randomize?: boolean | undefined;
414
415
  } | undefined;
415
416
  machine?: {
416
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
417
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
417
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
418
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
418
419
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
419
420
  } | undefined;
420
421
  triggerSource?: string | undefined;
@@ -422,6 +423,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
422
423
  cron: string;
423
424
  timezone: string;
424
425
  } | undefined;
426
+ maxDuration?: number | undefined;
425
427
  }, {
426
428
  id: string;
427
429
  filePath: string;
@@ -471,8 +473,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
471
473
  randomize?: boolean | undefined;
472
474
  } | undefined;
473
475
  machine?: {
474
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
475
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
476
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
477
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
476
478
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
477
479
  } | undefined;
478
480
  triggerSource?: string | undefined;
@@ -480,6 +482,7 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
480
482
  cron: string;
481
483
  timezone: string;
482
484
  } | undefined;
485
+ maxDuration?: number | undefined;
483
486
  }>, "many">;
484
487
  sourceFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
485
488
  filePath: z.ZodString;
@@ -487,19 +490,19 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
487
490
  contentHash: z.ZodString;
488
491
  taskIds: z.ZodArray<z.ZodString, "many">;
489
492
  }, "strip", z.ZodTypeAny, {
490
- filePath: string;
491
493
  contentHash: string;
494
+ filePath: string;
492
495
  contents: string;
493
496
  taskIds: string[];
494
497
  }, {
495
- filePath: string;
496
498
  contentHash: string;
499
+ filePath: string;
497
500
  contents: string;
498
501
  taskIds: string[];
499
502
  }>, "many">>;
500
503
  }, "strip", z.ZodTypeAny, {
501
- contentHash: string;
502
504
  packageVersion: string;
505
+ contentHash: string;
503
506
  tasks: {
504
507
  id: string;
505
508
  filePath: string;
@@ -549,8 +552,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
549
552
  randomize?: boolean | undefined;
550
553
  } | undefined;
551
554
  machine?: {
552
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
553
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
555
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
556
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
554
557
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
555
558
  } | undefined;
556
559
  triggerSource?: string | undefined;
@@ -558,17 +561,18 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
558
561
  cron: string;
559
562
  timezone: string;
560
563
  } | undefined;
564
+ maxDuration?: number | undefined;
561
565
  }[];
562
566
  cliPackageVersion?: string | undefined;
563
567
  sourceFiles?: {
564
- filePath: string;
565
568
  contentHash: string;
569
+ filePath: string;
566
570
  contents: string;
567
571
  taskIds: string[];
568
572
  }[] | undefined;
569
573
  }, {
570
- contentHash: string;
571
574
  packageVersion: string;
575
+ contentHash: string;
572
576
  tasks: {
573
577
  id: string;
574
578
  filePath: string;
@@ -618,8 +622,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
618
622
  randomize?: boolean | undefined;
619
623
  } | undefined;
620
624
  machine?: {
621
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
622
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
625
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
626
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
623
627
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
624
628
  } | undefined;
625
629
  triggerSource?: string | undefined;
@@ -627,20 +631,22 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
627
631
  cron: string;
628
632
  timezone: string;
629
633
  } | undefined;
634
+ maxDuration?: number | undefined;
630
635
  }[];
631
636
  cliPackageVersion?: string | undefined;
632
637
  sourceFiles?: {
633
- filePath: string;
634
638
  contentHash: string;
639
+ filePath: string;
635
640
  contents: string;
636
641
  taskIds: string[];
637
642
  }[] | undefined;
638
643
  }>;
639
644
  supportsLazyAttempts: z.ZodOptional<z.ZodBoolean>;
640
645
  }, "strip", z.ZodTypeAny, {
646
+ localOnly: boolean;
641
647
  metadata: {
642
- contentHash: string;
643
648
  packageVersion: string;
649
+ contentHash: string;
644
650
  tasks: {
645
651
  id: string;
646
652
  filePath: string;
@@ -690,8 +696,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
690
696
  randomize?: boolean | undefined;
691
697
  } | undefined;
692
698
  machine?: {
693
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
694
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
699
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
700
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
695
701
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
696
702
  } | undefined;
697
703
  triggerSource?: string | undefined;
@@ -699,21 +705,22 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
699
705
  cron: string;
700
706
  timezone: string;
701
707
  } | undefined;
708
+ maxDuration?: number | undefined;
702
709
  }[];
703
710
  cliPackageVersion?: string | undefined;
704
711
  sourceFiles?: {
705
- filePath: string;
706
712
  contentHash: string;
713
+ filePath: string;
707
714
  contents: string;
708
715
  taskIds: string[];
709
716
  }[] | undefined;
710
717
  };
711
- localOnly: boolean;
712
718
  supportsLazyAttempts?: boolean | undefined;
713
719
  }, {
720
+ localOnly: boolean;
714
721
  metadata: {
715
- contentHash: string;
716
722
  packageVersion: string;
723
+ contentHash: string;
717
724
  tasks: {
718
725
  id: string;
719
726
  filePath: string;
@@ -763,8 +770,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
763
770
  randomize?: boolean | undefined;
764
771
  } | undefined;
765
772
  machine?: {
766
- cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
767
- memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
773
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
774
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
768
775
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
769
776
  } | undefined;
770
777
  triggerSource?: string | undefined;
@@ -772,16 +779,16 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
772
779
  cron: string;
773
780
  timezone: string;
774
781
  } | undefined;
782
+ maxDuration?: number | undefined;
775
783
  }[];
776
784
  cliPackageVersion?: string | undefined;
777
785
  sourceFiles?: {
778
- filePath: string;
779
786
  contentHash: string;
787
+ filePath: string;
780
788
  contents: string;
781
789
  taskIds: string[];
782
790
  }[] | undefined;
783
791
  };
784
- localOnly: boolean;
785
792
  supportsLazyAttempts?: boolean | undefined;
786
793
  }>;
787
794
  export type CreateBackgroundWorkerRequestBody = z.infer<typeof CreateBackgroundWorkerRequestBody>;
@@ -791,12 +798,12 @@ export declare const CreateBackgroundWorkerResponse: z.ZodObject<{
791
798
  contentHash: z.ZodString;
792
799
  }, "strip", z.ZodTypeAny, {
793
800
  id: string;
794
- version: string;
795
801
  contentHash: string;
802
+ version: string;
796
803
  }, {
797
804
  id: string;
798
- version: string;
799
805
  contentHash: string;
806
+ version: string;
800
807
  }>;
801
808
  export type CreateBackgroundWorkerResponse = z.infer<typeof CreateBackgroundWorkerResponse>;
802
809
  export declare const RunTags: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -1005,6 +1012,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
1005
1012
  maxAttempts: z.ZodOptional<z.ZodNumber>;
1006
1013
  metadata: z.ZodAny;
1007
1014
  metadataType: z.ZodOptional<z.ZodString>;
1015
+ maxDuration: z.ZodOptional<z.ZodNumber>;
1008
1016
  }, "strip", z.ZodTypeAny, {
1009
1017
  dependentAttempt?: string | undefined;
1010
1018
  parentAttempt?: string | undefined;
@@ -1058,6 +1066,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
1058
1066
  maxAttempts?: number | undefined;
1059
1067
  metadata?: any;
1060
1068
  metadataType?: string | undefined;
1069
+ maxDuration?: number | undefined;
1061
1070
  }, {
1062
1071
  dependentAttempt?: string | undefined;
1063
1072
  parentAttempt?: string | undefined;
@@ -1111,6 +1120,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
1111
1120
  maxAttempts?: number | undefined;
1112
1121
  metadata?: any;
1113
1122
  metadataType?: string | undefined;
1123
+ maxDuration?: number | undefined;
1114
1124
  }>>;
1115
1125
  }, "strip", z.ZodTypeAny, {
1116
1126
  payload?: any;
@@ -1168,6 +1178,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
1168
1178
  maxAttempts?: number | undefined;
1169
1179
  metadata?: any;
1170
1180
  metadataType?: string | undefined;
1181
+ maxDuration?: number | undefined;
1171
1182
  } | undefined;
1172
1183
  }, {
1173
1184
  payload?: any;
@@ -1225,6 +1236,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
1225
1236
  maxAttempts?: number | undefined;
1226
1237
  metadata?: any;
1227
1238
  metadataType?: string | undefined;
1239
+ maxDuration?: number | undefined;
1228
1240
  } | undefined;
1229
1241
  }>;
1230
1242
  export type TriggerTaskRequestBody = z.infer<typeof TriggerTaskRequestBody>;
@@ -1441,6 +1453,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1441
1453
  maxAttempts: z.ZodOptional<z.ZodNumber>;
1442
1454
  metadata: z.ZodAny;
1443
1455
  metadataType: z.ZodOptional<z.ZodString>;
1456
+ maxDuration: z.ZodOptional<z.ZodNumber>;
1444
1457
  }, "strip", z.ZodTypeAny, {
1445
1458
  dependentAttempt?: string | undefined;
1446
1459
  parentAttempt?: string | undefined;
@@ -1494,6 +1507,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1494
1507
  maxAttempts?: number | undefined;
1495
1508
  metadata?: any;
1496
1509
  metadataType?: string | undefined;
1510
+ maxDuration?: number | undefined;
1497
1511
  }, {
1498
1512
  dependentAttempt?: string | undefined;
1499
1513
  parentAttempt?: string | undefined;
@@ -1547,6 +1561,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1547
1561
  maxAttempts?: number | undefined;
1548
1562
  metadata?: any;
1549
1563
  metadataType?: string | undefined;
1564
+ maxDuration?: number | undefined;
1550
1565
  }>>;
1551
1566
  }, "strip", z.ZodTypeAny, {
1552
1567
  payload?: any;
@@ -1604,6 +1619,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1604
1619
  maxAttempts?: number | undefined;
1605
1620
  metadata?: any;
1606
1621
  metadataType?: string | undefined;
1622
+ maxDuration?: number | undefined;
1607
1623
  } | undefined;
1608
1624
  }, {
1609
1625
  payload?: any;
@@ -1661,6 +1677,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1661
1677
  maxAttempts?: number | undefined;
1662
1678
  metadata?: any;
1663
1679
  metadataType?: string | undefined;
1680
+ maxDuration?: number | undefined;
1664
1681
  } | undefined;
1665
1682
  }>, "many">;
1666
1683
  dependentAttempt: z.ZodOptional<z.ZodString>;
@@ -1721,6 +1738,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1721
1738
  maxAttempts?: number | undefined;
1722
1739
  metadata?: any;
1723
1740
  metadataType?: string | undefined;
1741
+ maxDuration?: number | undefined;
1724
1742
  } | undefined;
1725
1743
  }[];
1726
1744
  dependentAttempt?: string | undefined;
@@ -1781,6 +1799,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1781
1799
  maxAttempts?: number | undefined;
1782
1800
  metadata?: any;
1783
1801
  metadataType?: string | undefined;
1802
+ maxDuration?: number | undefined;
1784
1803
  } | undefined;
1785
1804
  }[];
1786
1805
  dependentAttempt?: string | undefined;
@@ -1921,10 +1940,10 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
1921
1940
  registryHost: z.ZodOptional<z.ZodString>;
1922
1941
  }, "strip", z.ZodTypeAny, {
1923
1942
  id: string;
1924
- version: string;
1925
1943
  contentHash: string;
1926
- imageTag: string;
1944
+ version: string;
1927
1945
  shortCode: string;
1946
+ imageTag: string;
1928
1947
  externalBuildData?: {
1929
1948
  projectId: string;
1930
1949
  buildId: string;
@@ -1933,10 +1952,10 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
1933
1952
  registryHost?: string | undefined;
1934
1953
  }, {
1935
1954
  id: string;
1936
- version: string;
1937
1955
  contentHash: string;
1938
- imageTag: string;
1956
+ version: string;
1939
1957
  shortCode: string;
1958
+ imageTag: string;
1940
1959
  externalBuildData?: {
1941
1960
  projectId: string;
1942
1961
  buildId: string;
@@ -2056,39 +2075,39 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2056
2075
  exportName: z.ZodString;
2057
2076
  }, "strip", z.ZodTypeAny, {
2058
2077
  id: string;
2078
+ slug: string;
2059
2079
  filePath: string;
2060
2080
  exportName: string;
2061
- slug: string;
2062
2081
  }, {
2063
2082
  id: string;
2083
+ slug: string;
2064
2084
  filePath: string;
2065
2085
  exportName: string;
2066
- slug: string;
2067
2086
  }>, "many">;
2068
2087
  }, "strip", z.ZodTypeAny, {
2069
2088
  id: string;
2070
- version: string;
2071
2089
  tasks: {
2072
2090
  id: string;
2091
+ slug: string;
2073
2092
  filePath: string;
2074
2093
  exportName: string;
2075
- slug: string;
2076
2094
  }[];
2095
+ version: string;
2077
2096
  }, {
2078
2097
  id: string;
2079
- version: string;
2080
2098
  tasks: {
2081
2099
  id: string;
2100
+ slug: string;
2082
2101
  filePath: string;
2083
2102
  exportName: string;
2084
- slug: string;
2085
2103
  }[];
2104
+ version: string;
2086
2105
  }>>;
2087
2106
  }, "strip", z.ZodTypeAny, {
2088
2107
  status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
2089
2108
  id: string;
2090
- version: string;
2091
2109
  contentHash: string;
2110
+ version: string;
2092
2111
  shortCode: string;
2093
2112
  imageReference?: string | null | undefined;
2094
2113
  errorData?: {
@@ -2099,19 +2118,19 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2099
2118
  } | null | undefined;
2100
2119
  worker?: {
2101
2120
  id: string;
2102
- version: string;
2103
2121
  tasks: {
2104
2122
  id: string;
2123
+ slug: string;
2105
2124
  filePath: string;
2106
2125
  exportName: string;
2107
- slug: string;
2108
2126
  }[];
2127
+ version: string;
2109
2128
  } | undefined;
2110
2129
  }, {
2111
2130
  status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
2112
2131
  id: string;
2113
- version: string;
2114
2132
  contentHash: string;
2133
+ version: string;
2115
2134
  shortCode: string;
2116
2135
  imageReference?: string | null | undefined;
2117
2136
  errorData?: {
@@ -2122,13 +2141,13 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2122
2141
  } | null | undefined;
2123
2142
  worker?: {
2124
2143
  id: string;
2125
- version: string;
2126
2144
  tasks: {
2127
2145
  id: string;
2146
+ slug: string;
2128
2147
  filePath: string;
2129
2148
  exportName: string;
2130
- slug: string;
2131
2149
  }[];
2150
+ version: string;
2132
2151
  } | undefined;
2133
2152
  }>;
2134
2153
  export type GetDeploymentResponseBody = z.infer<typeof GetDeploymentResponseBody>;
@@ -2193,17 +2212,17 @@ export declare const ScheduledTaskPayload: z.ZodObject<{
2193
2212
  upcoming: z.ZodArray<z.ZodDate, "many">;
2194
2213
  }, "strip", z.ZodTypeAny, {
2195
2214
  type: "DECLARATIVE" | "IMPERATIVE";
2196
- timestamp: Date;
2197
2215
  timezone: string;
2198
2216
  scheduleId: string;
2217
+ timestamp: Date;
2199
2218
  upcoming: Date[];
2200
2219
  lastTimestamp?: Date | undefined;
2201
2220
  externalId?: string | undefined;
2202
2221
  }, {
2203
2222
  type: "DECLARATIVE" | "IMPERATIVE";
2204
- timestamp: Date;
2205
2223
  timezone: string;
2206
2224
  scheduleId: string;
2225
+ timestamp: Date;
2207
2226
  upcoming: Date[];
2208
2227
  lastTimestamp?: Date | undefined;
2209
2228
  externalId?: string | undefined;
@@ -2250,14 +2269,14 @@ export declare const CreateScheduleOptions: z.ZodObject<{
2250
2269
  */
2251
2270
  timezone: z.ZodOptional<z.ZodString>;
2252
2271
  }, "strip", z.ZodTypeAny, {
2253
- task: string;
2254
2272
  cron: string;
2273
+ task: string;
2255
2274
  deduplicationKey: string;
2256
2275
  externalId?: string | undefined;
2257
2276
  timezone?: string | undefined;
2258
2277
  }, {
2259
- task: string;
2260
2278
  cron: string;
2279
+ task: string;
2261
2280
  deduplicationKey: string;
2262
2281
  externalId?: string | undefined;
2263
2282
  timezone?: string | undefined;
@@ -2304,13 +2323,13 @@ export declare const UpdateScheduleOptions: z.ZodObject<Omit<{
2304
2323
  */
2305
2324
  timezone: z.ZodOptional<z.ZodString>;
2306
2325
  }, "deduplicationKey">, "strip", z.ZodTypeAny, {
2307
- task: string;
2308
2326
  cron: string;
2327
+ task: string;
2309
2328
  timezone?: string | undefined;
2310
2329
  externalId?: string | undefined;
2311
2330
  }, {
2312
- task: string;
2313
2331
  cron: string;
2332
+ task: string;
2314
2333
  timezone?: string | undefined;
2315
2334
  externalId?: string | undefined;
2316
2335
  }>;
@@ -2367,8 +2386,8 @@ export declare const ScheduleObject: z.ZodObject<{
2367
2386
  }, "strip", z.ZodTypeAny, {
2368
2387
  type: "DECLARATIVE" | "IMPERATIVE";
2369
2388
  id: string;
2370
- task: string;
2371
2389
  timezone: string;
2390
+ task: string;
2372
2391
  active: boolean;
2373
2392
  generator: {
2374
2393
  type: "CRON";
@@ -2386,8 +2405,8 @@ export declare const ScheduleObject: z.ZodObject<{
2386
2405
  }, {
2387
2406
  type: "DECLARATIVE" | "IMPERATIVE";
2388
2407
  id: string;
2389
- task: string;
2390
2408
  timezone: string;
2409
+ task: string;
2391
2410
  active: boolean;
2392
2411
  generator: {
2393
2412
  type: "CRON";
@@ -2451,8 +2470,8 @@ export declare const ListSchedulesResult: z.ZodObject<{
2451
2470
  }, "strip", z.ZodTypeAny, {
2452
2471
  type: "DECLARATIVE" | "IMPERATIVE";
2453
2472
  id: string;
2454
- task: string;
2455
2473
  timezone: string;
2474
+ task: string;
2456
2475
  active: boolean;
2457
2476
  generator: {
2458
2477
  type: "CRON";
@@ -2470,8 +2489,8 @@ export declare const ListSchedulesResult: z.ZodObject<{
2470
2489
  }, {
2471
2490
  type: "DECLARATIVE" | "IMPERATIVE";
2472
2491
  id: string;
2473
- task: string;
2474
2492
  timezone: string;
2493
+ task: string;
2475
2494
  active: boolean;
2476
2495
  generator: {
2477
2496
  type: "CRON";
@@ -2504,8 +2523,8 @@ export declare const ListSchedulesResult: z.ZodObject<{
2504
2523
  data: {
2505
2524
  type: "DECLARATIVE" | "IMPERATIVE";
2506
2525
  id: string;
2507
- task: string;
2508
2526
  timezone: string;
2527
+ task: string;
2509
2528
  active: boolean;
2510
2529
  generator: {
2511
2530
  type: "CRON";
@@ -2530,8 +2549,8 @@ export declare const ListSchedulesResult: z.ZodObject<{
2530
2549
  data: {
2531
2550
  type: "DECLARATIVE" | "IMPERATIVE";
2532
2551
  id: string;
2533
- task: string;
2534
2552
  timezone: string;
2553
+ task: string;
2535
2554
  active: boolean;
2536
2555
  generator: {
2537
2556
  type: "CRON";
@@ -2573,7 +2592,7 @@ export declare const TimezonesResult: z.ZodObject<{
2573
2592
  timezones: string[];
2574
2593
  }>;
2575
2594
  export type TimezonesResult = z.infer<typeof TimezonesResult>;
2576
- export declare const RunStatus: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
2595
+ export declare const RunStatus: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
2577
2596
  export type RunStatus = z.infer<typeof RunStatus>;
2578
2597
  export declare const AttemptStatus: z.ZodEnum<["PENDING", "EXECUTING", "PAUSED", "COMPLETED", "FAILED", "CANCELED"]>;
2579
2598
  export type AttemptStatus = z.infer<typeof AttemptStatus>;
@@ -2582,12 +2601,12 @@ export declare const RunEnvironmentDetails: z.ZodObject<{
2582
2601
  name: z.ZodString;
2583
2602
  user: z.ZodOptional<z.ZodString>;
2584
2603
  }, "strip", z.ZodTypeAny, {
2585
- name: string;
2586
2604
  id: string;
2605
+ name: string;
2587
2606
  user?: string | undefined;
2588
2607
  }, {
2589
- name: string;
2590
2608
  id: string;
2609
+ name: string;
2591
2610
  user?: string | undefined;
2592
2611
  }>;
2593
2612
  export type RunEnvironmentDetails = z.infer<typeof RunEnvironmentDetails>;
@@ -2635,7 +2654,7 @@ export declare const RelatedRunDetails: z.ZodObject<{
2635
2654
  triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
2636
2655
  batchId: z.ZodOptional<z.ZodString>;
2637
2656
  id: z.ZodString;
2638
- status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
2657
+ status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
2639
2658
  taskIdentifier: z.ZodString;
2640
2659
  idempotencyKey: z.ZodOptional<z.ZodString>;
2641
2660
  version: z.ZodOptional<z.ZodString>;
@@ -2659,14 +2678,10 @@ export declare const RelatedRunDetails: z.ZodObject<{
2659
2678
  durationMs: z.ZodNumber;
2660
2679
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2661
2680
  }, "strip", z.ZodTypeAny, {
2662
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2681
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2663
2682
  id: string;
2664
- tags: string[];
2665
- isTest: boolean;
2666
2683
  createdAt: Date;
2667
- durationMs: number;
2668
- costInCents: number;
2669
- baseCostInCents: number;
2684
+ tags: string[];
2670
2685
  depth: number;
2671
2686
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2672
2687
  taskIdentifier: string;
@@ -2676,7 +2691,11 @@ export declare const RelatedRunDetails: z.ZodObject<{
2676
2691
  isSuccess: boolean;
2677
2692
  isFailed: boolean;
2678
2693
  isCancelled: boolean;
2694
+ isTest: boolean;
2679
2695
  updatedAt: Date;
2696
+ costInCents: number;
2697
+ baseCostInCents: number;
2698
+ durationMs: number;
2680
2699
  batchId?: string | undefined;
2681
2700
  idempotencyKey?: string | undefined;
2682
2701
  version?: string | undefined;
@@ -2687,14 +2706,10 @@ export declare const RelatedRunDetails: z.ZodObject<{
2687
2706
  expiredAt?: Date | undefined;
2688
2707
  metadata?: Record<string, any> | undefined;
2689
2708
  }, {
2690
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2709
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2691
2710
  id: string;
2692
- tags: string[];
2693
- isTest: boolean;
2694
2711
  createdAt: Date;
2695
- durationMs: number;
2696
- costInCents: number;
2697
- baseCostInCents: number;
2712
+ tags: string[];
2698
2713
  depth: number;
2699
2714
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2700
2715
  taskIdentifier: string;
@@ -2704,7 +2719,11 @@ export declare const RelatedRunDetails: z.ZodObject<{
2704
2719
  isSuccess: boolean;
2705
2720
  isFailed: boolean;
2706
2721
  isCancelled: boolean;
2722
+ isTest: boolean;
2707
2723
  updatedAt: Date;
2724
+ costInCents: number;
2725
+ baseCostInCents: number;
2726
+ durationMs: number;
2708
2727
  batchId?: string | undefined;
2709
2728
  idempotencyKey?: string | undefined;
2710
2729
  version?: string | undefined;
@@ -2762,7 +2781,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2762
2781
  triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
2763
2782
  batchId: z.ZodOptional<z.ZodString>;
2764
2783
  id: z.ZodString;
2765
- status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
2784
+ status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
2766
2785
  taskIdentifier: z.ZodString;
2767
2786
  idempotencyKey: z.ZodOptional<z.ZodString>;
2768
2787
  version: z.ZodOptional<z.ZodString>;
@@ -2786,14 +2805,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2786
2805
  durationMs: z.ZodNumber;
2787
2806
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2788
2807
  }, "strip", z.ZodTypeAny, {
2789
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2808
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2790
2809
  id: string;
2791
- tags: string[];
2792
- isTest: boolean;
2793
2810
  createdAt: Date;
2794
- durationMs: number;
2795
- costInCents: number;
2796
- baseCostInCents: number;
2811
+ tags: string[];
2797
2812
  depth: number;
2798
2813
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2799
2814
  taskIdentifier: string;
@@ -2803,7 +2818,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2803
2818
  isSuccess: boolean;
2804
2819
  isFailed: boolean;
2805
2820
  isCancelled: boolean;
2821
+ isTest: boolean;
2806
2822
  updatedAt: Date;
2823
+ costInCents: number;
2824
+ baseCostInCents: number;
2825
+ durationMs: number;
2807
2826
  batchId?: string | undefined;
2808
2827
  idempotencyKey?: string | undefined;
2809
2828
  version?: string | undefined;
@@ -2814,14 +2833,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2814
2833
  expiredAt?: Date | undefined;
2815
2834
  metadata?: Record<string, any> | undefined;
2816
2835
  }, {
2817
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2836
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2818
2837
  id: string;
2819
- tags: string[];
2820
- isTest: boolean;
2821
2838
  createdAt: Date;
2822
- durationMs: number;
2823
- costInCents: number;
2824
- baseCostInCents: number;
2839
+ tags: string[];
2825
2840
  depth: number;
2826
2841
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2827
2842
  taskIdentifier: string;
@@ -2831,7 +2846,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2831
2846
  isSuccess: boolean;
2832
2847
  isFailed: boolean;
2833
2848
  isCancelled: boolean;
2849
+ isTest: boolean;
2834
2850
  updatedAt: Date;
2851
+ costInCents: number;
2852
+ baseCostInCents: number;
2853
+ durationMs: number;
2835
2854
  batchId?: string | undefined;
2836
2855
  idempotencyKey?: string | undefined;
2837
2856
  version?: string | undefined;
@@ -2847,7 +2866,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2847
2866
  triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
2848
2867
  batchId: z.ZodOptional<z.ZodString>;
2849
2868
  id: z.ZodString;
2850
- status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
2869
+ status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
2851
2870
  taskIdentifier: z.ZodString;
2852
2871
  idempotencyKey: z.ZodOptional<z.ZodString>;
2853
2872
  version: z.ZodOptional<z.ZodString>;
@@ -2871,14 +2890,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2871
2890
  durationMs: z.ZodNumber;
2872
2891
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2873
2892
  }, "strip", z.ZodTypeAny, {
2874
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2893
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2875
2894
  id: string;
2876
- tags: string[];
2877
- isTest: boolean;
2878
2895
  createdAt: Date;
2879
- durationMs: number;
2880
- costInCents: number;
2881
- baseCostInCents: number;
2896
+ tags: string[];
2882
2897
  depth: number;
2883
2898
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2884
2899
  taskIdentifier: string;
@@ -2888,7 +2903,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2888
2903
  isSuccess: boolean;
2889
2904
  isFailed: boolean;
2890
2905
  isCancelled: boolean;
2906
+ isTest: boolean;
2891
2907
  updatedAt: Date;
2908
+ costInCents: number;
2909
+ baseCostInCents: number;
2910
+ durationMs: number;
2892
2911
  batchId?: string | undefined;
2893
2912
  idempotencyKey?: string | undefined;
2894
2913
  version?: string | undefined;
@@ -2899,14 +2918,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2899
2918
  expiredAt?: Date | undefined;
2900
2919
  metadata?: Record<string, any> | undefined;
2901
2920
  }, {
2902
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2921
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2903
2922
  id: string;
2904
- tags: string[];
2905
- isTest: boolean;
2906
2923
  createdAt: Date;
2907
- durationMs: number;
2908
- costInCents: number;
2909
- baseCostInCents: number;
2924
+ tags: string[];
2910
2925
  depth: number;
2911
2926
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2912
2927
  taskIdentifier: string;
@@ -2916,7 +2931,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2916
2931
  isSuccess: boolean;
2917
2932
  isFailed: boolean;
2918
2933
  isCancelled: boolean;
2934
+ isTest: boolean;
2919
2935
  updatedAt: Date;
2936
+ costInCents: number;
2937
+ baseCostInCents: number;
2938
+ durationMs: number;
2920
2939
  batchId?: string | undefined;
2921
2940
  idempotencyKey?: string | undefined;
2922
2941
  version?: string | undefined;
@@ -2932,7 +2951,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2932
2951
  triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
2933
2952
  batchId: z.ZodOptional<z.ZodString>;
2934
2953
  id: z.ZodString;
2935
- status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
2954
+ status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
2936
2955
  taskIdentifier: z.ZodString;
2937
2956
  idempotencyKey: z.ZodOptional<z.ZodString>;
2938
2957
  version: z.ZodOptional<z.ZodString>;
@@ -2956,14 +2975,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2956
2975
  durationMs: z.ZodNumber;
2957
2976
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2958
2977
  }, "strip", z.ZodTypeAny, {
2959
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2978
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2960
2979
  id: string;
2961
- tags: string[];
2962
- isTest: boolean;
2963
2980
  createdAt: Date;
2964
- durationMs: number;
2965
- costInCents: number;
2966
- baseCostInCents: number;
2981
+ tags: string[];
2967
2982
  depth: number;
2968
2983
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2969
2984
  taskIdentifier: string;
@@ -2973,7 +2988,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2973
2988
  isSuccess: boolean;
2974
2989
  isFailed: boolean;
2975
2990
  isCancelled: boolean;
2991
+ isTest: boolean;
2976
2992
  updatedAt: Date;
2993
+ costInCents: number;
2994
+ baseCostInCents: number;
2995
+ durationMs: number;
2977
2996
  batchId?: string | undefined;
2978
2997
  idempotencyKey?: string | undefined;
2979
2998
  version?: string | undefined;
@@ -2984,14 +3003,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2984
3003
  expiredAt?: Date | undefined;
2985
3004
  metadata?: Record<string, any> | undefined;
2986
3005
  }, {
2987
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3006
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2988
3007
  id: string;
2989
- tags: string[];
2990
- isTest: boolean;
2991
3008
  createdAt: Date;
2992
- durationMs: number;
2993
- costInCents: number;
2994
- baseCostInCents: number;
3009
+ tags: string[];
2995
3010
  depth: number;
2996
3011
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2997
3012
  taskIdentifier: string;
@@ -3001,7 +3016,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3001
3016
  isSuccess: boolean;
3002
3017
  isFailed: boolean;
3003
3018
  isCancelled: boolean;
3019
+ isTest: boolean;
3004
3020
  updatedAt: Date;
3021
+ costInCents: number;
3022
+ baseCostInCents: number;
3023
+ durationMs: number;
3005
3024
  batchId?: string | undefined;
3006
3025
  idempotencyKey?: string | undefined;
3007
3026
  version?: string | undefined;
@@ -3014,14 +3033,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3014
3033
  }>, "many">>;
3015
3034
  }, "strip", z.ZodTypeAny, {
3016
3035
  root?: {
3017
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3036
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3018
3037
  id: string;
3019
- tags: string[];
3020
- isTest: boolean;
3021
3038
  createdAt: Date;
3022
- durationMs: number;
3023
- costInCents: number;
3024
- baseCostInCents: number;
3039
+ tags: string[];
3025
3040
  depth: number;
3026
3041
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3027
3042
  taskIdentifier: string;
@@ -3031,7 +3046,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3031
3046
  isSuccess: boolean;
3032
3047
  isFailed: boolean;
3033
3048
  isCancelled: boolean;
3049
+ isTest: boolean;
3034
3050
  updatedAt: Date;
3051
+ costInCents: number;
3052
+ baseCostInCents: number;
3053
+ durationMs: number;
3035
3054
  batchId?: string | undefined;
3036
3055
  idempotencyKey?: string | undefined;
3037
3056
  version?: string | undefined;
@@ -3043,14 +3062,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3043
3062
  metadata?: Record<string, any> | undefined;
3044
3063
  } | undefined;
3045
3064
  parent?: {
3046
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3065
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3047
3066
  id: string;
3048
- tags: string[];
3049
- isTest: boolean;
3050
3067
  createdAt: Date;
3051
- durationMs: number;
3052
- costInCents: number;
3053
- baseCostInCents: number;
3068
+ tags: string[];
3054
3069
  depth: number;
3055
3070
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3056
3071
  taskIdentifier: string;
@@ -3060,7 +3075,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3060
3075
  isSuccess: boolean;
3061
3076
  isFailed: boolean;
3062
3077
  isCancelled: boolean;
3078
+ isTest: boolean;
3063
3079
  updatedAt: Date;
3080
+ costInCents: number;
3081
+ baseCostInCents: number;
3082
+ durationMs: number;
3064
3083
  batchId?: string | undefined;
3065
3084
  idempotencyKey?: string | undefined;
3066
3085
  version?: string | undefined;
@@ -3072,14 +3091,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3072
3091
  metadata?: Record<string, any> | undefined;
3073
3092
  } | undefined;
3074
3093
  children?: {
3075
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3094
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3076
3095
  id: string;
3077
- tags: string[];
3078
- isTest: boolean;
3079
3096
  createdAt: Date;
3080
- durationMs: number;
3081
- costInCents: number;
3082
- baseCostInCents: number;
3097
+ tags: string[];
3083
3098
  depth: number;
3084
3099
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3085
3100
  taskIdentifier: string;
@@ -3089,7 +3104,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3089
3104
  isSuccess: boolean;
3090
3105
  isFailed: boolean;
3091
3106
  isCancelled: boolean;
3107
+ isTest: boolean;
3092
3108
  updatedAt: Date;
3109
+ costInCents: number;
3110
+ baseCostInCents: number;
3111
+ durationMs: number;
3093
3112
  batchId?: string | undefined;
3094
3113
  idempotencyKey?: string | undefined;
3095
3114
  version?: string | undefined;
@@ -3102,14 +3121,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3102
3121
  }[] | undefined;
3103
3122
  }, {
3104
3123
  root?: {
3105
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3124
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3106
3125
  id: string;
3107
- tags: string[];
3108
- isTest: boolean;
3109
3126
  createdAt: Date;
3110
- durationMs: number;
3111
- costInCents: number;
3112
- baseCostInCents: number;
3127
+ tags: string[];
3113
3128
  depth: number;
3114
3129
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3115
3130
  taskIdentifier: string;
@@ -3119,7 +3134,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3119
3134
  isSuccess: boolean;
3120
3135
  isFailed: boolean;
3121
3136
  isCancelled: boolean;
3137
+ isTest: boolean;
3122
3138
  updatedAt: Date;
3139
+ costInCents: number;
3140
+ baseCostInCents: number;
3141
+ durationMs: number;
3123
3142
  batchId?: string | undefined;
3124
3143
  idempotencyKey?: string | undefined;
3125
3144
  version?: string | undefined;
@@ -3131,14 +3150,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3131
3150
  metadata?: Record<string, any> | undefined;
3132
3151
  } | undefined;
3133
3152
  parent?: {
3134
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3153
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3135
3154
  id: string;
3136
- tags: string[];
3137
- isTest: boolean;
3138
3155
  createdAt: Date;
3139
- durationMs: number;
3140
- costInCents: number;
3141
- baseCostInCents: number;
3156
+ tags: string[];
3142
3157
  depth: number;
3143
3158
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3144
3159
  taskIdentifier: string;
@@ -3148,7 +3163,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3148
3163
  isSuccess: boolean;
3149
3164
  isFailed: boolean;
3150
3165
  isCancelled: boolean;
3166
+ isTest: boolean;
3151
3167
  updatedAt: Date;
3168
+ costInCents: number;
3169
+ baseCostInCents: number;
3170
+ durationMs: number;
3152
3171
  batchId?: string | undefined;
3153
3172
  idempotencyKey?: string | undefined;
3154
3173
  version?: string | undefined;
@@ -3160,14 +3179,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3160
3179
  metadata?: Record<string, any> | undefined;
3161
3180
  } | undefined;
3162
3181
  children?: {
3163
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3182
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3164
3183
  id: string;
3165
- tags: string[];
3166
- isTest: boolean;
3167
3184
  createdAt: Date;
3168
- durationMs: number;
3169
- costInCents: number;
3170
- baseCostInCents: number;
3185
+ tags: string[];
3171
3186
  depth: number;
3172
3187
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3173
3188
  taskIdentifier: string;
@@ -3177,7 +3192,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3177
3192
  isSuccess: boolean;
3178
3193
  isFailed: boolean;
3179
3194
  isCancelled: boolean;
3195
+ isTest: boolean;
3180
3196
  updatedAt: Date;
3197
+ costInCents: number;
3198
+ baseCostInCents: number;
3199
+ durationMs: number;
3181
3200
  batchId?: string | undefined;
3182
3201
  idempotencyKey?: string | undefined;
3183
3202
  version?: string | undefined;
@@ -3238,7 +3257,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3238
3257
  triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
3239
3258
  batchId: z.ZodOptional<z.ZodString>;
3240
3259
  id: z.ZodString;
3241
- status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
3260
+ status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
3242
3261
  taskIdentifier: z.ZodString;
3243
3262
  idempotencyKey: z.ZodOptional<z.ZodString>;
3244
3263
  version: z.ZodOptional<z.ZodString>;
@@ -3262,14 +3281,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3262
3281
  durationMs: z.ZodNumber;
3263
3282
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3264
3283
  }, "strip", z.ZodTypeAny, {
3265
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3284
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3266
3285
  id: string;
3267
- tags: string[];
3268
- isTest: boolean;
3269
3286
  createdAt: Date;
3270
- durationMs: number;
3271
- costInCents: number;
3272
- baseCostInCents: number;
3287
+ tags: string[];
3273
3288
  depth: number;
3274
3289
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3275
3290
  taskIdentifier: string;
@@ -3279,17 +3294,17 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3279
3294
  isSuccess: boolean;
3280
3295
  isFailed: boolean;
3281
3296
  isCancelled: boolean;
3297
+ isTest: boolean;
3282
3298
  updatedAt: Date;
3299
+ costInCents: number;
3300
+ baseCostInCents: number;
3301
+ durationMs: number;
3283
3302
  relatedRuns: {
3284
3303
  root?: {
3285
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3304
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3286
3305
  id: string;
3287
- tags: string[];
3288
- isTest: boolean;
3289
3306
  createdAt: Date;
3290
- durationMs: number;
3291
- costInCents: number;
3292
- baseCostInCents: number;
3307
+ tags: string[];
3293
3308
  depth: number;
3294
3309
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3295
3310
  taskIdentifier: string;
@@ -3299,7 +3314,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3299
3314
  isSuccess: boolean;
3300
3315
  isFailed: boolean;
3301
3316
  isCancelled: boolean;
3317
+ isTest: boolean;
3302
3318
  updatedAt: Date;
3319
+ costInCents: number;
3320
+ baseCostInCents: number;
3321
+ durationMs: number;
3303
3322
  batchId?: string | undefined;
3304
3323
  idempotencyKey?: string | undefined;
3305
3324
  version?: string | undefined;
@@ -3311,14 +3330,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3311
3330
  metadata?: Record<string, any> | undefined;
3312
3331
  } | undefined;
3313
3332
  parent?: {
3314
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3333
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3315
3334
  id: string;
3316
- tags: string[];
3317
- isTest: boolean;
3318
3335
  createdAt: Date;
3319
- durationMs: number;
3320
- costInCents: number;
3321
- baseCostInCents: number;
3336
+ tags: string[];
3322
3337
  depth: number;
3323
3338
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3324
3339
  taskIdentifier: string;
@@ -3328,7 +3343,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3328
3343
  isSuccess: boolean;
3329
3344
  isFailed: boolean;
3330
3345
  isCancelled: boolean;
3346
+ isTest: boolean;
3331
3347
  updatedAt: Date;
3348
+ costInCents: number;
3349
+ baseCostInCents: number;
3350
+ durationMs: number;
3332
3351
  batchId?: string | undefined;
3333
3352
  idempotencyKey?: string | undefined;
3334
3353
  version?: string | undefined;
@@ -3340,14 +3359,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3340
3359
  metadata?: Record<string, any> | undefined;
3341
3360
  } | undefined;
3342
3361
  children?: {
3343
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3362
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3344
3363
  id: string;
3345
- tags: string[];
3346
- isTest: boolean;
3347
3364
  createdAt: Date;
3348
- durationMs: number;
3349
- costInCents: number;
3350
- baseCostInCents: number;
3365
+ tags: string[];
3351
3366
  depth: number;
3352
3367
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3353
3368
  taskIdentifier: string;
@@ -3357,7 +3372,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3357
3372
  isSuccess: boolean;
3358
3373
  isFailed: boolean;
3359
3374
  isCancelled: boolean;
3375
+ isTest: boolean;
3360
3376
  updatedAt: Date;
3377
+ costInCents: number;
3378
+ baseCostInCents: number;
3379
+ durationMs: number;
3361
3380
  batchId?: string | undefined;
3362
3381
  idempotencyKey?: string | undefined;
3363
3382
  version?: string | undefined;
@@ -3406,14 +3425,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3406
3425
  expiredAt?: Date | undefined;
3407
3426
  metadata?: Record<string, any> | undefined;
3408
3427
  }, {
3409
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3428
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3410
3429
  id: string;
3411
- tags: string[];
3412
- isTest: boolean;
3413
3430
  createdAt: Date;
3414
- durationMs: number;
3415
- costInCents: number;
3416
- baseCostInCents: number;
3431
+ tags: string[];
3417
3432
  depth: number;
3418
3433
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3419
3434
  taskIdentifier: string;
@@ -3423,17 +3438,17 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3423
3438
  isSuccess: boolean;
3424
3439
  isFailed: boolean;
3425
3440
  isCancelled: boolean;
3441
+ isTest: boolean;
3426
3442
  updatedAt: Date;
3443
+ costInCents: number;
3444
+ baseCostInCents: number;
3445
+ durationMs: number;
3427
3446
  relatedRuns: {
3428
3447
  root?: {
3429
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3448
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3430
3449
  id: string;
3431
- tags: string[];
3432
- isTest: boolean;
3433
3450
  createdAt: Date;
3434
- durationMs: number;
3435
- costInCents: number;
3436
- baseCostInCents: number;
3451
+ tags: string[];
3437
3452
  depth: number;
3438
3453
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3439
3454
  taskIdentifier: string;
@@ -3443,7 +3458,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3443
3458
  isSuccess: boolean;
3444
3459
  isFailed: boolean;
3445
3460
  isCancelled: boolean;
3461
+ isTest: boolean;
3446
3462
  updatedAt: Date;
3463
+ costInCents: number;
3464
+ baseCostInCents: number;
3465
+ durationMs: number;
3447
3466
  batchId?: string | undefined;
3448
3467
  idempotencyKey?: string | undefined;
3449
3468
  version?: string | undefined;
@@ -3455,14 +3474,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3455
3474
  metadata?: Record<string, any> | undefined;
3456
3475
  } | undefined;
3457
3476
  parent?: {
3458
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3477
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3459
3478
  id: string;
3460
- tags: string[];
3461
- isTest: boolean;
3462
3479
  createdAt: Date;
3463
- durationMs: number;
3464
- costInCents: number;
3465
- baseCostInCents: number;
3480
+ tags: string[];
3466
3481
  depth: number;
3467
3482
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3468
3483
  taskIdentifier: string;
@@ -3472,7 +3487,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3472
3487
  isSuccess: boolean;
3473
3488
  isFailed: boolean;
3474
3489
  isCancelled: boolean;
3490
+ isTest: boolean;
3475
3491
  updatedAt: Date;
3492
+ costInCents: number;
3493
+ baseCostInCents: number;
3494
+ durationMs: number;
3476
3495
  batchId?: string | undefined;
3477
3496
  idempotencyKey?: string | undefined;
3478
3497
  version?: string | undefined;
@@ -3484,14 +3503,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3484
3503
  metadata?: Record<string, any> | undefined;
3485
3504
  } | undefined;
3486
3505
  children?: {
3487
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3506
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3488
3507
  id: string;
3489
- tags: string[];
3490
- isTest: boolean;
3491
3508
  createdAt: Date;
3492
- durationMs: number;
3493
- costInCents: number;
3494
- baseCostInCents: number;
3509
+ tags: string[];
3495
3510
  depth: number;
3496
3511
  triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3497
3512
  taskIdentifier: string;
@@ -3501,7 +3516,11 @@ export declare const RetrieveRunResponse: z.ZodObject<{
3501
3516
  isSuccess: boolean;
3502
3517
  isFailed: boolean;
3503
3518
  isCancelled: boolean;
3519
+ isTest: boolean;
3504
3520
  updatedAt: Date;
3521
+ costInCents: number;
3522
+ baseCostInCents: number;
3523
+ durationMs: number;
3505
3524
  batchId?: string | undefined;
3506
3525
  idempotencyKey?: string | undefined;
3507
3526
  version?: string | undefined;
@@ -3557,16 +3576,16 @@ export declare const ListRunResponseItem: z.ZodObject<{
3557
3576
  name: z.ZodString;
3558
3577
  user: z.ZodOptional<z.ZodString>;
3559
3578
  }, "strip", z.ZodTypeAny, {
3560
- name: string;
3561
3579
  id: string;
3580
+ name: string;
3562
3581
  user?: string | undefined;
3563
3582
  }, {
3564
- name: string;
3565
3583
  id: string;
3584
+ name: string;
3566
3585
  user?: string | undefined;
3567
3586
  }>;
3568
3587
  id: z.ZodString;
3569
- status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
3588
+ status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
3570
3589
  taskIdentifier: z.ZodString;
3571
3590
  idempotencyKey: z.ZodOptional<z.ZodString>;
3572
3591
  version: z.ZodOptional<z.ZodString>;
@@ -3590,14 +3609,10 @@ export declare const ListRunResponseItem: z.ZodObject<{
3590
3609
  durationMs: z.ZodNumber;
3591
3610
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3592
3611
  }, "strip", z.ZodTypeAny, {
3593
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3612
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3594
3613
  id: string;
3595
- tags: string[];
3596
- isTest: boolean;
3597
3614
  createdAt: Date;
3598
- durationMs: number;
3599
- costInCents: number;
3600
- baseCostInCents: number;
3615
+ tags: string[];
3601
3616
  taskIdentifier: string;
3602
3617
  isQueued: boolean;
3603
3618
  isExecuting: boolean;
@@ -3605,10 +3620,14 @@ export declare const ListRunResponseItem: z.ZodObject<{
3605
3620
  isSuccess: boolean;
3606
3621
  isFailed: boolean;
3607
3622
  isCancelled: boolean;
3623
+ isTest: boolean;
3608
3624
  updatedAt: Date;
3625
+ costInCents: number;
3626
+ baseCostInCents: number;
3627
+ durationMs: number;
3609
3628
  env: {
3610
- name: string;
3611
3629
  id: string;
3630
+ name: string;
3612
3631
  user?: string | undefined;
3613
3632
  };
3614
3633
  idempotencyKey?: string | undefined;
@@ -3620,14 +3639,10 @@ export declare const ListRunResponseItem: z.ZodObject<{
3620
3639
  expiredAt?: Date | undefined;
3621
3640
  metadata?: Record<string, any> | undefined;
3622
3641
  }, {
3623
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3642
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3624
3643
  id: string;
3625
- tags: string[];
3626
- isTest: boolean;
3627
3644
  createdAt: Date;
3628
- durationMs: number;
3629
- costInCents: number;
3630
- baseCostInCents: number;
3645
+ tags: string[];
3631
3646
  taskIdentifier: string;
3632
3647
  isQueued: boolean;
3633
3648
  isExecuting: boolean;
@@ -3635,10 +3650,14 @@ export declare const ListRunResponseItem: z.ZodObject<{
3635
3650
  isSuccess: boolean;
3636
3651
  isFailed: boolean;
3637
3652
  isCancelled: boolean;
3653
+ isTest: boolean;
3638
3654
  updatedAt: Date;
3655
+ costInCents: number;
3656
+ baseCostInCents: number;
3657
+ durationMs: number;
3639
3658
  env: {
3640
- name: string;
3641
3659
  id: string;
3660
+ name: string;
3642
3661
  user?: string | undefined;
3643
3662
  };
3644
3663
  idempotencyKey?: string | undefined;
@@ -3658,16 +3677,16 @@ export declare const ListRunResponse: z.ZodObject<{
3658
3677
  name: z.ZodString;
3659
3678
  user: z.ZodOptional<z.ZodString>;
3660
3679
  }, "strip", z.ZodTypeAny, {
3661
- name: string;
3662
3680
  id: string;
3681
+ name: string;
3663
3682
  user?: string | undefined;
3664
3683
  }, {
3665
- name: string;
3666
3684
  id: string;
3685
+ name: string;
3667
3686
  user?: string | undefined;
3668
3687
  }>;
3669
3688
  id: z.ZodString;
3670
- status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
3689
+ status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED", "TIMED_OUT"]>;
3671
3690
  taskIdentifier: z.ZodString;
3672
3691
  idempotencyKey: z.ZodOptional<z.ZodString>;
3673
3692
  version: z.ZodOptional<z.ZodString>;
@@ -3691,14 +3710,10 @@ export declare const ListRunResponse: z.ZodObject<{
3691
3710
  durationMs: z.ZodNumber;
3692
3711
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3693
3712
  }, "strip", z.ZodTypeAny, {
3694
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3713
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3695
3714
  id: string;
3696
- tags: string[];
3697
- isTest: boolean;
3698
3715
  createdAt: Date;
3699
- durationMs: number;
3700
- costInCents: number;
3701
- baseCostInCents: number;
3716
+ tags: string[];
3702
3717
  taskIdentifier: string;
3703
3718
  isQueued: boolean;
3704
3719
  isExecuting: boolean;
@@ -3706,10 +3721,14 @@ export declare const ListRunResponse: z.ZodObject<{
3706
3721
  isSuccess: boolean;
3707
3722
  isFailed: boolean;
3708
3723
  isCancelled: boolean;
3724
+ isTest: boolean;
3709
3725
  updatedAt: Date;
3726
+ costInCents: number;
3727
+ baseCostInCents: number;
3728
+ durationMs: number;
3710
3729
  env: {
3711
- name: string;
3712
3730
  id: string;
3731
+ name: string;
3713
3732
  user?: string | undefined;
3714
3733
  };
3715
3734
  idempotencyKey?: string | undefined;
@@ -3721,14 +3740,10 @@ export declare const ListRunResponse: z.ZodObject<{
3721
3740
  expiredAt?: Date | undefined;
3722
3741
  metadata?: Record<string, any> | undefined;
3723
3742
  }, {
3724
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3743
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3725
3744
  id: string;
3726
- tags: string[];
3727
- isTest: boolean;
3728
3745
  createdAt: Date;
3729
- durationMs: number;
3730
- costInCents: number;
3731
- baseCostInCents: number;
3746
+ tags: string[];
3732
3747
  taskIdentifier: string;
3733
3748
  isQueued: boolean;
3734
3749
  isExecuting: boolean;
@@ -3736,10 +3751,14 @@ export declare const ListRunResponse: z.ZodObject<{
3736
3751
  isSuccess: boolean;
3737
3752
  isFailed: boolean;
3738
3753
  isCancelled: boolean;
3754
+ isTest: boolean;
3739
3755
  updatedAt: Date;
3756
+ costInCents: number;
3757
+ baseCostInCents: number;
3758
+ durationMs: number;
3740
3759
  env: {
3741
- name: string;
3742
3760
  id: string;
3761
+ name: string;
3743
3762
  user?: string | undefined;
3744
3763
  };
3745
3764
  idempotencyKey?: string | undefined;
@@ -3763,14 +3782,10 @@ export declare const ListRunResponse: z.ZodObject<{
3763
3782
  }>;
3764
3783
  }, "strip", z.ZodTypeAny, {
3765
3784
  data: {
3766
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3785
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3767
3786
  id: string;
3768
- tags: string[];
3769
- isTest: boolean;
3770
3787
  createdAt: Date;
3771
- durationMs: number;
3772
- costInCents: number;
3773
- baseCostInCents: number;
3788
+ tags: string[];
3774
3789
  taskIdentifier: string;
3775
3790
  isQueued: boolean;
3776
3791
  isExecuting: boolean;
@@ -3778,10 +3793,14 @@ export declare const ListRunResponse: z.ZodObject<{
3778
3793
  isSuccess: boolean;
3779
3794
  isFailed: boolean;
3780
3795
  isCancelled: boolean;
3796
+ isTest: boolean;
3781
3797
  updatedAt: Date;
3798
+ costInCents: number;
3799
+ baseCostInCents: number;
3800
+ durationMs: number;
3782
3801
  env: {
3783
- name: string;
3784
3802
  id: string;
3803
+ name: string;
3785
3804
  user?: string | undefined;
3786
3805
  };
3787
3806
  idempotencyKey?: string | undefined;
@@ -3799,14 +3818,10 @@ export declare const ListRunResponse: z.ZodObject<{
3799
3818
  };
3800
3819
  }, {
3801
3820
  data: {
3802
- status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3821
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "TIMED_OUT" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3803
3822
  id: string;
3804
- tags: string[];
3805
- isTest: boolean;
3806
3823
  createdAt: Date;
3807
- durationMs: number;
3808
- costInCents: number;
3809
- baseCostInCents: number;
3824
+ tags: string[];
3810
3825
  taskIdentifier: string;
3811
3826
  isQueued: boolean;
3812
3827
  isExecuting: boolean;
@@ -3814,10 +3829,14 @@ export declare const ListRunResponse: z.ZodObject<{
3814
3829
  isSuccess: boolean;
3815
3830
  isFailed: boolean;
3816
3831
  isCancelled: boolean;
3832
+ isTest: boolean;
3817
3833
  updatedAt: Date;
3834
+ costInCents: number;
3835
+ baseCostInCents: number;
3836
+ durationMs: number;
3818
3837
  env: {
3819
- name: string;
3820
3838
  id: string;
3839
+ name: string;
3821
3840
  user?: string | undefined;
3822
3841
  };
3823
3842
  idempotencyKey?: string | undefined;