@trigger.dev/core 0.0.0-v3-prerelease-20240916181030 → 0.0.0-v3-prerelease-20240923150540

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 (31) hide show
  1. package/dist/commonjs/schemas/api.d.ts +8 -8
  2. package/dist/commonjs/v3/apiClient/index.d.ts +238 -60
  3. package/dist/commonjs/v3/build/resolvedConfig.d.ts +1 -0
  4. package/dist/commonjs/v3/schemas/api.d.ts +901 -194
  5. package/dist/commonjs/v3/schemas/api.js +23 -3
  6. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  7. package/dist/commonjs/v3/schemas/build.d.ts +126 -126
  8. package/dist/commonjs/v3/schemas/fetch.d.ts +14 -14
  9. package/dist/commonjs/v3/schemas/messages.d.ts +3799 -3104
  10. package/dist/commonjs/v3/schemas/messages.js +28 -14
  11. package/dist/commonjs/v3/schemas/messages.js.map +1 -1
  12. package/dist/commonjs/v3/schemas/resources.d.ts +30 -30
  13. package/dist/commonjs/v3/schemas/schemas.d.ts +460 -460
  14. package/dist/commonjs/v3/utils/ioSerialization.d.ts +1 -0
  15. package/dist/commonjs/v3/utils/ioSerialization.js +26 -1
  16. package/dist/commonjs/v3/utils/ioSerialization.js.map +1 -1
  17. package/dist/commonjs/version.js +1 -1
  18. package/dist/esm/schemas/api.d.ts +8 -8
  19. package/dist/esm/v3/apiClient/index.d.ts +178 -0
  20. package/dist/esm/v3/build/resolvedConfig.d.ts +1 -0
  21. package/dist/esm/v3/schemas/api.d.ts +707 -0
  22. package/dist/esm/v3/schemas/api.js +21 -1
  23. package/dist/esm/v3/schemas/api.js.map +1 -1
  24. package/dist/esm/v3/schemas/messages.d.ts +695 -0
  25. package/dist/esm/v3/schemas/messages.js +28 -14
  26. package/dist/esm/v3/schemas/messages.js.map +1 -1
  27. package/dist/esm/v3/utils/ioSerialization.d.ts +1 -0
  28. package/dist/esm/v3/utils/ioSerialization.js +25 -1
  29. package/dist/esm/v3/utils/ioSerialization.js.map +1 -1
  30. package/dist/esm/version.js +1 -1
  31. package/package.json +1 -1
@@ -26,39 +26,39 @@ export declare const GetProjectResponseBody: z.ZodObject<{
26
26
  createdAt: z.ZodDate;
27
27
  }, "strip", z.ZodTypeAny, {
28
28
  id: string;
29
- title: string;
30
29
  slug: string;
31
30
  createdAt: Date;
31
+ title: string;
32
32
  }, {
33
33
  id: string;
34
- title: string;
35
34
  slug: string;
36
35
  createdAt: Date;
36
+ title: string;
37
37
  }>;
38
38
  }, "strip", z.ZodTypeAny, {
39
- name: string;
40
39
  id: string;
40
+ externalRef: string;
41
+ name: string;
41
42
  slug: string;
43
+ createdAt: Date;
42
44
  organization: {
43
45
  id: string;
44
- title: string;
45
46
  slug: string;
46
47
  createdAt: Date;
48
+ title: string;
47
49
  };
48
- createdAt: Date;
49
- externalRef: string;
50
50
  }, {
51
- name: string;
52
51
  id: string;
52
+ externalRef: string;
53
+ name: string;
53
54
  slug: string;
55
+ createdAt: Date;
54
56
  organization: {
55
57
  id: string;
56
- title: string;
57
58
  slug: string;
58
59
  createdAt: Date;
60
+ title: string;
59
61
  };
60
- createdAt: Date;
61
- externalRef: string;
62
62
  }>;
63
63
  export type GetProjectResponseBody = z.infer<typeof GetProjectResponseBody>;
64
64
  export declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
@@ -74,39 +74,39 @@ export declare const GetProjectsResponseBody: z.ZodArray<z.ZodObject<{
74
74
  createdAt: z.ZodDate;
75
75
  }, "strip", z.ZodTypeAny, {
76
76
  id: string;
77
- title: string;
78
77
  slug: string;
79
78
  createdAt: Date;
79
+ title: string;
80
80
  }, {
81
81
  id: string;
82
- title: string;
83
82
  slug: string;
84
83
  createdAt: Date;
84
+ title: string;
85
85
  }>;
86
86
  }, "strip", z.ZodTypeAny, {
87
- name: string;
88
87
  id: string;
88
+ externalRef: string;
89
+ name: string;
89
90
  slug: string;
91
+ createdAt: Date;
90
92
  organization: {
91
93
  id: string;
92
- title: string;
93
94
  slug: string;
94
95
  createdAt: Date;
96
+ title: string;
95
97
  };
96
- createdAt: Date;
97
- externalRef: string;
98
98
  }, {
99
- name: string;
100
99
  id: string;
100
+ externalRef: string;
101
+ name: string;
101
102
  slug: string;
103
+ createdAt: Date;
102
104
  organization: {
103
105
  id: string;
104
- title: string;
105
106
  slug: string;
106
107
  createdAt: Date;
108
+ title: string;
107
109
  };
108
- createdAt: Date;
109
- externalRef: string;
110
110
  }>, "many">;
111
111
  export type GetProjectsResponseBody = z.infer<typeof GetProjectsResponseBody>;
112
112
  export declare const GetProjectEnvResponse: z.ZodObject<{
@@ -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?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
349
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | 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?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
353
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | 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>;
@@ -413,8 +413,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
413
413
  randomize?: boolean | undefined;
414
414
  } | undefined;
415
415
  machine?: {
416
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
417
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
416
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
417
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
418
418
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
419
419
  } | undefined;
420
420
  triggerSource?: string | undefined;
@@ -471,8 +471,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
471
471
  randomize?: boolean | undefined;
472
472
  } | undefined;
473
473
  machine?: {
474
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
475
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
474
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
475
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
476
476
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
477
477
  } | undefined;
478
478
  triggerSource?: string | undefined;
@@ -487,17 +487,19 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
487
487
  contentHash: z.ZodString;
488
488
  taskIds: z.ZodArray<z.ZodString, "many">;
489
489
  }, "strip", z.ZodTypeAny, {
490
- filePath: string;
491
490
  contentHash: string;
491
+ filePath: string;
492
492
  contents: string;
493
493
  taskIds: string[];
494
494
  }, {
495
- filePath: string;
496
495
  contentHash: string;
496
+ filePath: string;
497
497
  contents: string;
498
498
  taskIds: string[];
499
499
  }>, "many">>;
500
500
  }, "strip", z.ZodTypeAny, {
501
+ packageVersion: string;
502
+ contentHash: string;
501
503
  tasks: {
502
504
  id: string;
503
505
  filePath: string;
@@ -547,8 +549,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
547
549
  randomize?: boolean | undefined;
548
550
  } | undefined;
549
551
  machine?: {
550
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
551
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
552
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
553
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
552
554
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
553
555
  } | undefined;
554
556
  triggerSource?: string | undefined;
@@ -557,16 +559,16 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
557
559
  timezone: string;
558
560
  } | undefined;
559
561
  }[];
560
- contentHash: string;
561
- packageVersion: string;
562
562
  cliPackageVersion?: string | undefined;
563
563
  sourceFiles?: {
564
- filePath: string;
565
564
  contentHash: string;
565
+ filePath: string;
566
566
  contents: string;
567
567
  taskIds: string[];
568
568
  }[] | undefined;
569
569
  }, {
570
+ packageVersion: string;
571
+ contentHash: string;
570
572
  tasks: {
571
573
  id: string;
572
574
  filePath: string;
@@ -616,8 +618,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
616
618
  randomize?: boolean | undefined;
617
619
  } | undefined;
618
620
  machine?: {
619
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
620
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
621
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
622
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
621
623
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
622
624
  } | undefined;
623
625
  triggerSource?: string | undefined;
@@ -626,19 +628,20 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
626
628
  timezone: string;
627
629
  } | undefined;
628
630
  }[];
629
- contentHash: string;
630
- packageVersion: string;
631
631
  cliPackageVersion?: string | undefined;
632
632
  sourceFiles?: {
633
- filePath: string;
634
633
  contentHash: string;
634
+ filePath: string;
635
635
  contents: string;
636
636
  taskIds: string[];
637
637
  }[] | undefined;
638
638
  }>;
639
639
  supportsLazyAttempts: z.ZodOptional<z.ZodBoolean>;
640
640
  }, "strip", z.ZodTypeAny, {
641
+ localOnly: boolean;
641
642
  metadata: {
643
+ packageVersion: string;
644
+ contentHash: string;
642
645
  tasks: {
643
646
  id: string;
644
647
  filePath: string;
@@ -688,8 +691,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
688
691
  randomize?: boolean | undefined;
689
692
  } | undefined;
690
693
  machine?: {
691
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
692
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
694
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
695
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
693
696
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
694
697
  } | undefined;
695
698
  triggerSource?: string | undefined;
@@ -698,20 +701,20 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
698
701
  timezone: string;
699
702
  } | undefined;
700
703
  }[];
701
- contentHash: string;
702
- packageVersion: string;
703
704
  cliPackageVersion?: string | undefined;
704
705
  sourceFiles?: {
705
- filePath: string;
706
706
  contentHash: string;
707
+ filePath: string;
707
708
  contents: string;
708
709
  taskIds: string[];
709
710
  }[] | undefined;
710
711
  };
711
- localOnly: boolean;
712
712
  supportsLazyAttempts?: boolean | undefined;
713
713
  }, {
714
+ localOnly: boolean;
714
715
  metadata: {
716
+ packageVersion: string;
717
+ contentHash: string;
715
718
  tasks: {
716
719
  id: string;
717
720
  filePath: string;
@@ -761,8 +764,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
761
764
  randomize?: boolean | undefined;
762
765
  } | undefined;
763
766
  machine?: {
764
- cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
765
- memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
767
+ cpu?: 2 | 1 | 4 | 0.25 | 0.5 | undefined;
768
+ memory?: 2 | 1 | 4 | 0.25 | 0.5 | 8 | undefined;
766
769
  preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
767
770
  } | undefined;
768
771
  triggerSource?: string | undefined;
@@ -771,17 +774,14 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
771
774
  timezone: string;
772
775
  } | undefined;
773
776
  }[];
774
- contentHash: string;
775
- packageVersion: string;
776
777
  cliPackageVersion?: string | undefined;
777
778
  sourceFiles?: {
778
- filePath: string;
779
779
  contentHash: string;
780
+ filePath: string;
780
781
  contents: string;
781
782
  taskIds: string[];
782
783
  }[] | undefined;
783
784
  };
784
- localOnly: boolean;
785
785
  supportsLazyAttempts?: boolean | undefined;
786
786
  }>;
787
787
  export type CreateBackgroundWorkerRequestBody = z.infer<typeof CreateBackgroundWorkerRequestBody>;
@@ -790,13 +790,13 @@ export declare const CreateBackgroundWorkerResponse: z.ZodObject<{
790
790
  version: z.ZodString;
791
791
  contentHash: z.ZodString;
792
792
  }, "strip", z.ZodTypeAny, {
793
- version: string;
794
793
  id: string;
795
794
  contentHash: string;
796
- }, {
797
795
  version: string;
796
+ }, {
798
797
  id: string;
799
798
  contentHash: string;
799
+ version: string;
800
800
  }>;
801
801
  export type CreateBackgroundWorkerResponse = z.infer<typeof CreateBackgroundWorkerResponse>;
802
802
  export declare const RunTags: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
@@ -806,7 +806,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
806
806
  context: z.ZodAny;
807
807
  options: z.ZodOptional<z.ZodObject<{
808
808
  dependentAttempt: z.ZodOptional<z.ZodString>;
809
+ parentAttempt: z.ZodOptional<z.ZodString>;
809
810
  dependentBatch: z.ZodOptional<z.ZodString>;
811
+ parentBatch: z.ZodOptional<z.ZodString>;
810
812
  lockToVersion: z.ZodOptional<z.ZodString>;
811
813
  queue: z.ZodOptional<z.ZodObject<{
812
814
  name: z.ZodOptional<z.ZodString>;
@@ -1003,7 +1005,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
1003
1005
  maxAttempts: z.ZodOptional<z.ZodNumber>;
1004
1006
  }, "strip", z.ZodTypeAny, {
1005
1007
  dependentAttempt?: string | undefined;
1008
+ parentAttempt?: string | undefined;
1006
1009
  dependentBatch?: string | undefined;
1010
+ parentBatch?: string | undefined;
1007
1011
  lockToVersion?: string | undefined;
1008
1012
  queue?: {
1009
1013
  name?: string | undefined;
@@ -1052,7 +1056,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
1052
1056
  maxAttempts?: number | undefined;
1053
1057
  }, {
1054
1058
  dependentAttempt?: string | undefined;
1059
+ parentAttempt?: string | undefined;
1055
1060
  dependentBatch?: string | undefined;
1061
+ parentBatch?: string | undefined;
1056
1062
  lockToVersion?: string | undefined;
1057
1063
  queue?: {
1058
1064
  name?: string | undefined;
@@ -1105,7 +1111,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
1105
1111
  context?: any;
1106
1112
  options?: {
1107
1113
  dependentAttempt?: string | undefined;
1114
+ parentAttempt?: string | undefined;
1108
1115
  dependentBatch?: string | undefined;
1116
+ parentBatch?: string | undefined;
1109
1117
  lockToVersion?: string | undefined;
1110
1118
  queue?: {
1111
1119
  name?: string | undefined;
@@ -1158,7 +1166,9 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
1158
1166
  context?: any;
1159
1167
  options?: {
1160
1168
  dependentAttempt?: string | undefined;
1169
+ parentAttempt?: string | undefined;
1161
1170
  dependentBatch?: string | undefined;
1171
+ parentBatch?: string | undefined;
1162
1172
  lockToVersion?: string | undefined;
1163
1173
  queue?: {
1164
1174
  name?: string | undefined;
@@ -1222,7 +1232,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1222
1232
  context: z.ZodAny;
1223
1233
  options: z.ZodOptional<z.ZodObject<{
1224
1234
  dependentAttempt: z.ZodOptional<z.ZodString>;
1235
+ parentAttempt: z.ZodOptional<z.ZodString>;
1225
1236
  dependentBatch: z.ZodOptional<z.ZodString>;
1237
+ parentBatch: z.ZodOptional<z.ZodString>;
1226
1238
  lockToVersion: z.ZodOptional<z.ZodString>;
1227
1239
  queue: z.ZodOptional<z.ZodObject<{
1228
1240
  name: z.ZodOptional<z.ZodString>;
@@ -1419,7 +1431,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1419
1431
  maxAttempts: z.ZodOptional<z.ZodNumber>;
1420
1432
  }, "strip", z.ZodTypeAny, {
1421
1433
  dependentAttempt?: string | undefined;
1434
+ parentAttempt?: string | undefined;
1422
1435
  dependentBatch?: string | undefined;
1436
+ parentBatch?: string | undefined;
1423
1437
  lockToVersion?: string | undefined;
1424
1438
  queue?: {
1425
1439
  name?: string | undefined;
@@ -1468,7 +1482,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1468
1482
  maxAttempts?: number | undefined;
1469
1483
  }, {
1470
1484
  dependentAttempt?: string | undefined;
1485
+ parentAttempt?: string | undefined;
1471
1486
  dependentBatch?: string | undefined;
1487
+ parentBatch?: string | undefined;
1472
1488
  lockToVersion?: string | undefined;
1473
1489
  queue?: {
1474
1490
  name?: string | undefined;
@@ -1521,7 +1537,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1521
1537
  context?: any;
1522
1538
  options?: {
1523
1539
  dependentAttempt?: string | undefined;
1540
+ parentAttempt?: string | undefined;
1524
1541
  dependentBatch?: string | undefined;
1542
+ parentBatch?: string | undefined;
1525
1543
  lockToVersion?: string | undefined;
1526
1544
  queue?: {
1527
1545
  name?: string | undefined;
@@ -1574,7 +1592,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1574
1592
  context?: any;
1575
1593
  options?: {
1576
1594
  dependentAttempt?: string | undefined;
1595
+ parentAttempt?: string | undefined;
1577
1596
  dependentBatch?: string | undefined;
1597
+ parentBatch?: string | undefined;
1578
1598
  lockToVersion?: string | undefined;
1579
1599
  queue?: {
1580
1600
  name?: string | undefined;
@@ -1630,7 +1650,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1630
1650
  context?: any;
1631
1651
  options?: {
1632
1652
  dependentAttempt?: string | undefined;
1653
+ parentAttempt?: string | undefined;
1633
1654
  dependentBatch?: string | undefined;
1655
+ parentBatch?: string | undefined;
1634
1656
  lockToVersion?: string | undefined;
1635
1657
  queue?: {
1636
1658
  name?: string | undefined;
@@ -1686,7 +1708,9 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
1686
1708
  context?: any;
1687
1709
  options?: {
1688
1710
  dependentAttempt?: string | undefined;
1711
+ parentAttempt?: string | undefined;
1689
1712
  dependentBatch?: string | undefined;
1713
+ parentBatch?: string | undefined;
1690
1714
  lockToVersion?: string | undefined;
1691
1715
  queue?: {
1692
1716
  name?: string | undefined;
@@ -1742,11 +1766,11 @@ export declare const BatchTriggerTaskResponse: z.ZodObject<{
1742
1766
  batchId: z.ZodString;
1743
1767
  runs: z.ZodArray<z.ZodString, "many">;
1744
1768
  }, "strip", z.ZodTypeAny, {
1745
- runs: string[];
1746
1769
  batchId: string;
1747
- }, {
1748
1770
  runs: string[];
1771
+ }, {
1749
1772
  batchId: string;
1773
+ runs: string[];
1750
1774
  }>;
1751
1775
  export type BatchTriggerTaskResponse = z.infer<typeof BatchTriggerTaskResponse>;
1752
1776
  export declare const GetBatchResponseBody: z.ZodObject<{
@@ -1756,25 +1780,25 @@ export declare const GetBatchResponseBody: z.ZodObject<{
1756
1780
  taskRunId: z.ZodString;
1757
1781
  status: z.ZodEnum<["PENDING", "CANCELED", "COMPLETED", "FAILED"]>;
1758
1782
  }, "strip", z.ZodTypeAny, {
1759
- status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
1783
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1760
1784
  id: string;
1761
1785
  taskRunId: string;
1762
1786
  }, {
1763
- status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
1787
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1764
1788
  id: string;
1765
1789
  taskRunId: string;
1766
1790
  }>, "many">;
1767
1791
  }, "strip", z.ZodTypeAny, {
1768
1792
  id: string;
1769
1793
  items: {
1770
- status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
1794
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1771
1795
  id: string;
1772
1796
  taskRunId: string;
1773
1797
  }[];
1774
1798
  }, {
1775
1799
  id: string;
1776
1800
  items: {
1777
- status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
1801
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1778
1802
  id: string;
1779
1803
  taskRunId: string;
1780
1804
  }[];
@@ -1872,11 +1896,11 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
1872
1896
  }>>>;
1873
1897
  registryHost: z.ZodOptional<z.ZodString>;
1874
1898
  }, "strip", z.ZodTypeAny, {
1875
- version: string;
1876
1899
  id: string;
1877
1900
  contentHash: string;
1878
- imageTag: string;
1901
+ version: string;
1879
1902
  shortCode: string;
1903
+ imageTag: string;
1880
1904
  externalBuildData?: {
1881
1905
  projectId: string;
1882
1906
  buildId: string;
@@ -1884,11 +1908,11 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
1884
1908
  } | null | undefined;
1885
1909
  registryHost?: string | undefined;
1886
1910
  }, {
1887
- version: string;
1888
1911
  id: string;
1889
1912
  contentHash: string;
1890
- imageTag: string;
1913
+ version: string;
1891
1914
  shortCode: string;
1915
+ imageTag: string;
1892
1916
  externalBuildData?: {
1893
1917
  projectId: string;
1894
1918
  buildId: string;
@@ -2018,7 +2042,6 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2018
2042
  exportName: string;
2019
2043
  }>, "many">;
2020
2044
  }, "strip", z.ZodTypeAny, {
2021
- version: string;
2022
2045
  id: string;
2023
2046
  tasks: {
2024
2047
  id: string;
@@ -2026,8 +2049,8 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2026
2049
  filePath: string;
2027
2050
  exportName: string;
2028
2051
  }[];
2029
- }, {
2030
2052
  version: string;
2053
+ }, {
2031
2054
  id: string;
2032
2055
  tasks: {
2033
2056
  id: string;
@@ -2035,12 +2058,13 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2035
2058
  filePath: string;
2036
2059
  exportName: string;
2037
2060
  }[];
2061
+ version: string;
2038
2062
  }>>;
2039
2063
  }, "strip", z.ZodTypeAny, {
2040
- status: "PENDING" | "CANCELED" | "TIMED_OUT" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
2041
- version: string;
2064
+ status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
2042
2065
  id: string;
2043
2066
  contentHash: string;
2067
+ version: string;
2044
2068
  shortCode: string;
2045
2069
  imageReference?: string | null | undefined;
2046
2070
  errorData?: {
@@ -2050,7 +2074,6 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2050
2074
  stderr?: string | undefined;
2051
2075
  } | null | undefined;
2052
2076
  worker?: {
2053
- version: string;
2054
2077
  id: string;
2055
2078
  tasks: {
2056
2079
  id: string;
@@ -2058,12 +2081,13 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2058
2081
  filePath: string;
2059
2082
  exportName: string;
2060
2083
  }[];
2084
+ version: string;
2061
2085
  } | undefined;
2062
2086
  }, {
2063
- status: "PENDING" | "CANCELED" | "TIMED_OUT" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
2064
- version: string;
2087
+ status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
2065
2088
  id: string;
2066
2089
  contentHash: string;
2090
+ version: string;
2067
2091
  shortCode: string;
2068
2092
  imageReference?: string | null | undefined;
2069
2093
  errorData?: {
@@ -2073,7 +2097,6 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2073
2097
  stderr?: string | undefined;
2074
2098
  } | null | undefined;
2075
2099
  worker?: {
2076
- version: string;
2077
2100
  id: string;
2078
2101
  tasks: {
2079
2102
  id: string;
@@ -2081,6 +2104,7 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2081
2104
  filePath: string;
2082
2105
  exportName: string;
2083
2106
  }[];
2107
+ version: string;
2084
2108
  } | undefined;
2085
2109
  }>;
2086
2110
  export type GetDeploymentResponseBody = z.infer<typeof GetDeploymentResponseBody>;
@@ -2145,17 +2169,17 @@ export declare const ScheduledTaskPayload: z.ZodObject<{
2145
2169
  upcoming: z.ZodArray<z.ZodDate, "many">;
2146
2170
  }, "strip", z.ZodTypeAny, {
2147
2171
  type: "DECLARATIVE" | "IMPERATIVE";
2148
- timestamp: Date;
2149
2172
  timezone: string;
2150
2173
  scheduleId: string;
2174
+ timestamp: Date;
2151
2175
  upcoming: Date[];
2152
2176
  lastTimestamp?: Date | undefined;
2153
2177
  externalId?: string | undefined;
2154
2178
  }, {
2155
2179
  type: "DECLARATIVE" | "IMPERATIVE";
2156
- timestamp: Date;
2157
2180
  timezone: string;
2158
2181
  scheduleId: string;
2182
+ timestamp: Date;
2159
2183
  upcoming: Date[];
2160
2184
  lastTimestamp?: Date | undefined;
2161
2185
  externalId?: string | undefined;
@@ -2273,12 +2297,12 @@ export declare const ScheduleGenerator: z.ZodObject<{
2273
2297
  description: z.ZodString;
2274
2298
  }, "strip", z.ZodTypeAny, {
2275
2299
  type: "CRON";
2276
- description: string;
2277
2300
  expression: string;
2301
+ description: string;
2278
2302
  }, {
2279
2303
  type: "CRON";
2280
- description: string;
2281
2304
  expression: string;
2305
+ description: string;
2282
2306
  }>;
2283
2307
  export type ScheduleGenerator = z.infer<typeof ScheduleGenerator>;
2284
2308
  export declare const ScheduleObject: z.ZodObject<{
@@ -2294,12 +2318,12 @@ export declare const ScheduleObject: z.ZodObject<{
2294
2318
  description: z.ZodString;
2295
2319
  }, "strip", z.ZodTypeAny, {
2296
2320
  type: "CRON";
2297
- description: string;
2298
2321
  expression: string;
2322
+ description: string;
2299
2323
  }, {
2300
2324
  type: "CRON";
2301
- description: string;
2302
2325
  expression: string;
2326
+ description: string;
2303
2327
  }>;
2304
2328
  timezone: z.ZodString;
2305
2329
  nextRun: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -2319,13 +2343,13 @@ export declare const ScheduleObject: z.ZodObject<{
2319
2343
  }, "strip", z.ZodTypeAny, {
2320
2344
  type: "DECLARATIVE" | "IMPERATIVE";
2321
2345
  id: string;
2322
- active: boolean;
2323
- task: string;
2324
2346
  timezone: string;
2347
+ task: string;
2348
+ active: boolean;
2325
2349
  generator: {
2326
2350
  type: "CRON";
2327
- description: string;
2328
2351
  expression: string;
2352
+ description: string;
2329
2353
  };
2330
2354
  environments: {
2331
2355
  type: string;
@@ -2338,13 +2362,13 @@ export declare const ScheduleObject: z.ZodObject<{
2338
2362
  }, {
2339
2363
  type: "DECLARATIVE" | "IMPERATIVE";
2340
2364
  id: string;
2341
- active: boolean;
2342
- task: string;
2343
2365
  timezone: string;
2366
+ task: string;
2367
+ active: boolean;
2344
2368
  generator: {
2345
2369
  type: "CRON";
2346
- description: string;
2347
2370
  expression: string;
2371
+ description: string;
2348
2372
  };
2349
2373
  environments: {
2350
2374
  type: string;
@@ -2378,12 +2402,12 @@ export declare const ListSchedulesResult: z.ZodObject<{
2378
2402
  description: z.ZodString;
2379
2403
  }, "strip", z.ZodTypeAny, {
2380
2404
  type: "CRON";
2381
- description: string;
2382
2405
  expression: string;
2406
+ description: string;
2383
2407
  }, {
2384
2408
  type: "CRON";
2385
- description: string;
2386
2409
  expression: string;
2410
+ description: string;
2387
2411
  }>;
2388
2412
  timezone: z.ZodString;
2389
2413
  nextRun: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -2403,13 +2427,13 @@ export declare const ListSchedulesResult: z.ZodObject<{
2403
2427
  }, "strip", z.ZodTypeAny, {
2404
2428
  type: "DECLARATIVE" | "IMPERATIVE";
2405
2429
  id: string;
2406
- active: boolean;
2407
- task: string;
2408
2430
  timezone: string;
2431
+ task: string;
2432
+ active: boolean;
2409
2433
  generator: {
2410
2434
  type: "CRON";
2411
- description: string;
2412
2435
  expression: string;
2436
+ description: string;
2413
2437
  };
2414
2438
  environments: {
2415
2439
  type: string;
@@ -2422,13 +2446,13 @@ export declare const ListSchedulesResult: z.ZodObject<{
2422
2446
  }, {
2423
2447
  type: "DECLARATIVE" | "IMPERATIVE";
2424
2448
  id: string;
2425
- active: boolean;
2426
- task: string;
2427
2449
  timezone: string;
2450
+ task: string;
2451
+ active: boolean;
2428
2452
  generator: {
2429
2453
  type: "CRON";
2430
- description: string;
2431
2454
  expression: string;
2455
+ description: string;
2432
2456
  };
2433
2457
  environments: {
2434
2458
  type: string;
@@ -2456,13 +2480,13 @@ export declare const ListSchedulesResult: z.ZodObject<{
2456
2480
  data: {
2457
2481
  type: "DECLARATIVE" | "IMPERATIVE";
2458
2482
  id: string;
2459
- active: boolean;
2460
- task: string;
2461
2483
  timezone: string;
2484
+ task: string;
2485
+ active: boolean;
2462
2486
  generator: {
2463
2487
  type: "CRON";
2464
- description: string;
2465
2488
  expression: string;
2489
+ description: string;
2466
2490
  };
2467
2491
  environments: {
2468
2492
  type: string;
@@ -2482,13 +2506,13 @@ export declare const ListSchedulesResult: z.ZodObject<{
2482
2506
  data: {
2483
2507
  type: "DECLARATIVE" | "IMPERATIVE";
2484
2508
  id: string;
2485
- active: boolean;
2486
- task: string;
2487
2509
  timezone: string;
2510
+ task: string;
2511
+ active: boolean;
2488
2512
  generator: {
2489
2513
  type: "CRON";
2490
- description: string;
2491
2514
  expression: string;
2515
+ description: string;
2492
2516
  };
2493
2517
  environments: {
2494
2518
  type: string;
@@ -2534,12 +2558,12 @@ export declare const RunEnvironmentDetails: z.ZodObject<{
2534
2558
  name: z.ZodString;
2535
2559
  user: z.ZodOptional<z.ZodString>;
2536
2560
  }, "strip", z.ZodTypeAny, {
2537
- name: string;
2538
2561
  id: string;
2562
+ name: string;
2539
2563
  user?: string | undefined;
2540
2564
  }, {
2541
- name: string;
2542
2565
  id: string;
2566
+ name: string;
2543
2567
  user?: string | undefined;
2544
2568
  }>;
2545
2569
  export type RunEnvironmentDetails = z.infer<typeof RunEnvironmentDetails>;
@@ -2553,19 +2577,19 @@ export declare const RunScheduleDetails: z.ZodObject<{
2553
2577
  description: z.ZodString;
2554
2578
  }, "strip", z.ZodTypeAny, {
2555
2579
  type: "CRON";
2556
- description: string;
2557
2580
  expression: string;
2581
+ description: string;
2558
2582
  }, {
2559
2583
  type: "CRON";
2560
- description: string;
2561
2584
  expression: string;
2585
+ description: string;
2562
2586
  }>;
2563
2587
  }, "strip", z.ZodTypeAny, {
2564
2588
  id: string;
2565
2589
  generator: {
2566
2590
  type: "CRON";
2567
- description: string;
2568
2591
  expression: string;
2592
+ description: string;
2569
2593
  };
2570
2594
  externalId?: string | undefined;
2571
2595
  deduplicationKey?: string | undefined;
@@ -2573,13 +2597,97 @@ export declare const RunScheduleDetails: z.ZodObject<{
2573
2597
  id: string;
2574
2598
  generator: {
2575
2599
  type: "CRON";
2576
- description: string;
2577
2600
  expression: string;
2601
+ description: string;
2578
2602
  };
2579
2603
  externalId?: string | undefined;
2580
2604
  deduplicationKey?: string | undefined;
2581
2605
  }>;
2582
2606
  export type RunScheduleDetails = z.infer<typeof RunScheduleDetails>;
2607
+ export declare const TriggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
2608
+ export type TriggerFunction = z.infer<typeof TriggerFunction>;
2609
+ export declare const RelatedRunDetails: z.ZodObject<{
2610
+ depth: z.ZodNumber;
2611
+ triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
2612
+ batchId: z.ZodOptional<z.ZodString>;
2613
+ id: z.ZodString;
2614
+ status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
2615
+ taskIdentifier: z.ZodString;
2616
+ idempotencyKey: z.ZodOptional<z.ZodString>;
2617
+ version: z.ZodOptional<z.ZodString>;
2618
+ isQueued: z.ZodBoolean;
2619
+ isExecuting: z.ZodBoolean;
2620
+ isCompleted: z.ZodBoolean;
2621
+ isSuccess: z.ZodBoolean;
2622
+ isFailed: z.ZodBoolean;
2623
+ isCancelled: z.ZodBoolean;
2624
+ isTest: z.ZodBoolean;
2625
+ createdAt: z.ZodDate;
2626
+ updatedAt: z.ZodDate;
2627
+ startedAt: z.ZodOptional<z.ZodDate>;
2628
+ finishedAt: z.ZodOptional<z.ZodDate>;
2629
+ delayedUntil: z.ZodOptional<z.ZodDate>;
2630
+ ttl: z.ZodOptional<z.ZodString>;
2631
+ expiredAt: z.ZodOptional<z.ZodDate>;
2632
+ tags: z.ZodArray<z.ZodString, "many">;
2633
+ costInCents: z.ZodNumber;
2634
+ baseCostInCents: z.ZodNumber;
2635
+ durationMs: z.ZodNumber;
2636
+ }, "strip", z.ZodTypeAny, {
2637
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2638
+ id: string;
2639
+ createdAt: Date;
2640
+ tags: string[];
2641
+ depth: number;
2642
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2643
+ taskIdentifier: string;
2644
+ isQueued: boolean;
2645
+ isExecuting: boolean;
2646
+ isCompleted: boolean;
2647
+ isSuccess: boolean;
2648
+ isFailed: boolean;
2649
+ isCancelled: boolean;
2650
+ isTest: boolean;
2651
+ updatedAt: Date;
2652
+ costInCents: number;
2653
+ baseCostInCents: number;
2654
+ durationMs: number;
2655
+ batchId?: string | undefined;
2656
+ idempotencyKey?: string | undefined;
2657
+ version?: string | undefined;
2658
+ startedAt?: Date | undefined;
2659
+ finishedAt?: Date | undefined;
2660
+ delayedUntil?: Date | undefined;
2661
+ ttl?: string | undefined;
2662
+ expiredAt?: Date | undefined;
2663
+ }, {
2664
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2665
+ id: string;
2666
+ createdAt: Date;
2667
+ tags: string[];
2668
+ depth: number;
2669
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2670
+ taskIdentifier: string;
2671
+ isQueued: boolean;
2672
+ isExecuting: boolean;
2673
+ isCompleted: boolean;
2674
+ isSuccess: boolean;
2675
+ isFailed: boolean;
2676
+ isCancelled: boolean;
2677
+ isTest: boolean;
2678
+ updatedAt: Date;
2679
+ costInCents: number;
2680
+ baseCostInCents: number;
2681
+ durationMs: number;
2682
+ batchId?: string | undefined;
2683
+ idempotencyKey?: string | undefined;
2684
+ version?: string | undefined;
2685
+ startedAt?: Date | undefined;
2686
+ finishedAt?: Date | undefined;
2687
+ delayedUntil?: Date | undefined;
2688
+ ttl?: string | undefined;
2689
+ expiredAt?: Date | undefined;
2690
+ }>;
2583
2691
  export declare const RetrieveRunResponse: z.ZodObject<{
2584
2692
  payload: z.ZodOptional<z.ZodAny>;
2585
2693
  payloadPresignedUrl: z.ZodOptional<z.ZodString>;
@@ -2595,19 +2703,19 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2595
2703
  description: z.ZodString;
2596
2704
  }, "strip", z.ZodTypeAny, {
2597
2705
  type: "CRON";
2598
- description: string;
2599
2706
  expression: string;
2707
+ description: string;
2600
2708
  }, {
2601
2709
  type: "CRON";
2602
- description: string;
2603
2710
  expression: string;
2711
+ description: string;
2604
2712
  }>;
2605
2713
  }, "strip", z.ZodTypeAny, {
2606
2714
  id: string;
2607
2715
  generator: {
2608
2716
  type: "CRON";
2609
- description: string;
2610
2717
  expression: string;
2718
+ description: string;
2611
2719
  };
2612
2720
  externalId?: string | undefined;
2613
2721
  deduplicationKey?: string | undefined;
@@ -2615,12 +2723,430 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2615
2723
  id: string;
2616
2724
  generator: {
2617
2725
  type: "CRON";
2618
- description: string;
2619
2726
  expression: string;
2727
+ description: string;
2620
2728
  };
2621
2729
  externalId?: string | undefined;
2622
2730
  deduplicationKey?: string | undefined;
2623
2731
  }>>;
2732
+ relatedRuns: z.ZodObject<{
2733
+ root: z.ZodOptional<z.ZodObject<{
2734
+ depth: z.ZodNumber;
2735
+ triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
2736
+ batchId: z.ZodOptional<z.ZodString>;
2737
+ id: z.ZodString;
2738
+ status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
2739
+ taskIdentifier: z.ZodString;
2740
+ idempotencyKey: z.ZodOptional<z.ZodString>;
2741
+ version: z.ZodOptional<z.ZodString>;
2742
+ isQueued: z.ZodBoolean;
2743
+ isExecuting: z.ZodBoolean;
2744
+ isCompleted: z.ZodBoolean;
2745
+ isSuccess: z.ZodBoolean;
2746
+ isFailed: z.ZodBoolean;
2747
+ isCancelled: z.ZodBoolean;
2748
+ isTest: z.ZodBoolean;
2749
+ createdAt: z.ZodDate;
2750
+ updatedAt: z.ZodDate;
2751
+ startedAt: z.ZodOptional<z.ZodDate>;
2752
+ finishedAt: z.ZodOptional<z.ZodDate>;
2753
+ delayedUntil: z.ZodOptional<z.ZodDate>;
2754
+ ttl: z.ZodOptional<z.ZodString>;
2755
+ expiredAt: z.ZodOptional<z.ZodDate>;
2756
+ tags: z.ZodArray<z.ZodString, "many">;
2757
+ costInCents: z.ZodNumber;
2758
+ baseCostInCents: z.ZodNumber;
2759
+ durationMs: z.ZodNumber;
2760
+ }, "strip", z.ZodTypeAny, {
2761
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2762
+ id: string;
2763
+ createdAt: Date;
2764
+ tags: string[];
2765
+ depth: number;
2766
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2767
+ taskIdentifier: string;
2768
+ isQueued: boolean;
2769
+ isExecuting: boolean;
2770
+ isCompleted: boolean;
2771
+ isSuccess: boolean;
2772
+ isFailed: boolean;
2773
+ isCancelled: boolean;
2774
+ isTest: boolean;
2775
+ updatedAt: Date;
2776
+ costInCents: number;
2777
+ baseCostInCents: number;
2778
+ durationMs: number;
2779
+ batchId?: string | undefined;
2780
+ idempotencyKey?: string | undefined;
2781
+ version?: string | undefined;
2782
+ startedAt?: Date | undefined;
2783
+ finishedAt?: Date | undefined;
2784
+ delayedUntil?: Date | undefined;
2785
+ ttl?: string | undefined;
2786
+ expiredAt?: Date | undefined;
2787
+ }, {
2788
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2789
+ id: string;
2790
+ createdAt: Date;
2791
+ tags: string[];
2792
+ depth: number;
2793
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2794
+ taskIdentifier: string;
2795
+ isQueued: boolean;
2796
+ isExecuting: boolean;
2797
+ isCompleted: boolean;
2798
+ isSuccess: boolean;
2799
+ isFailed: boolean;
2800
+ isCancelled: boolean;
2801
+ isTest: boolean;
2802
+ updatedAt: Date;
2803
+ costInCents: number;
2804
+ baseCostInCents: number;
2805
+ durationMs: number;
2806
+ batchId?: string | undefined;
2807
+ idempotencyKey?: string | undefined;
2808
+ version?: string | undefined;
2809
+ startedAt?: Date | undefined;
2810
+ finishedAt?: Date | undefined;
2811
+ delayedUntil?: Date | undefined;
2812
+ ttl?: string | undefined;
2813
+ expiredAt?: Date | undefined;
2814
+ }>>;
2815
+ parent: z.ZodOptional<z.ZodObject<{
2816
+ depth: z.ZodNumber;
2817
+ triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
2818
+ batchId: z.ZodOptional<z.ZodString>;
2819
+ id: z.ZodString;
2820
+ status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
2821
+ taskIdentifier: z.ZodString;
2822
+ idempotencyKey: z.ZodOptional<z.ZodString>;
2823
+ version: z.ZodOptional<z.ZodString>;
2824
+ isQueued: z.ZodBoolean;
2825
+ isExecuting: z.ZodBoolean;
2826
+ isCompleted: z.ZodBoolean;
2827
+ isSuccess: z.ZodBoolean;
2828
+ isFailed: z.ZodBoolean;
2829
+ isCancelled: z.ZodBoolean;
2830
+ isTest: z.ZodBoolean;
2831
+ createdAt: z.ZodDate;
2832
+ updatedAt: z.ZodDate;
2833
+ startedAt: z.ZodOptional<z.ZodDate>;
2834
+ finishedAt: z.ZodOptional<z.ZodDate>;
2835
+ delayedUntil: z.ZodOptional<z.ZodDate>;
2836
+ ttl: z.ZodOptional<z.ZodString>;
2837
+ expiredAt: z.ZodOptional<z.ZodDate>;
2838
+ tags: z.ZodArray<z.ZodString, "many">;
2839
+ costInCents: z.ZodNumber;
2840
+ baseCostInCents: z.ZodNumber;
2841
+ durationMs: z.ZodNumber;
2842
+ }, "strip", z.ZodTypeAny, {
2843
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2844
+ id: string;
2845
+ createdAt: Date;
2846
+ tags: string[];
2847
+ depth: number;
2848
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2849
+ taskIdentifier: string;
2850
+ isQueued: boolean;
2851
+ isExecuting: boolean;
2852
+ isCompleted: boolean;
2853
+ isSuccess: boolean;
2854
+ isFailed: boolean;
2855
+ isCancelled: boolean;
2856
+ isTest: boolean;
2857
+ updatedAt: Date;
2858
+ costInCents: number;
2859
+ baseCostInCents: number;
2860
+ durationMs: number;
2861
+ batchId?: string | undefined;
2862
+ idempotencyKey?: string | undefined;
2863
+ version?: string | undefined;
2864
+ startedAt?: Date | undefined;
2865
+ finishedAt?: Date | undefined;
2866
+ delayedUntil?: Date | undefined;
2867
+ ttl?: string | undefined;
2868
+ expiredAt?: Date | undefined;
2869
+ }, {
2870
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2871
+ id: string;
2872
+ createdAt: Date;
2873
+ tags: string[];
2874
+ depth: number;
2875
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2876
+ taskIdentifier: string;
2877
+ isQueued: boolean;
2878
+ isExecuting: boolean;
2879
+ isCompleted: boolean;
2880
+ isSuccess: boolean;
2881
+ isFailed: boolean;
2882
+ isCancelled: boolean;
2883
+ isTest: boolean;
2884
+ updatedAt: Date;
2885
+ costInCents: number;
2886
+ baseCostInCents: number;
2887
+ durationMs: number;
2888
+ batchId?: string | undefined;
2889
+ idempotencyKey?: string | undefined;
2890
+ version?: string | undefined;
2891
+ startedAt?: Date | undefined;
2892
+ finishedAt?: Date | undefined;
2893
+ delayedUntil?: Date | undefined;
2894
+ ttl?: string | undefined;
2895
+ expiredAt?: Date | undefined;
2896
+ }>>;
2897
+ children: z.ZodOptional<z.ZodArray<z.ZodObject<{
2898
+ depth: z.ZodNumber;
2899
+ triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
2900
+ batchId: z.ZodOptional<z.ZodString>;
2901
+ id: z.ZodString;
2902
+ status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
2903
+ taskIdentifier: z.ZodString;
2904
+ idempotencyKey: z.ZodOptional<z.ZodString>;
2905
+ version: z.ZodOptional<z.ZodString>;
2906
+ isQueued: z.ZodBoolean;
2907
+ isExecuting: z.ZodBoolean;
2908
+ isCompleted: z.ZodBoolean;
2909
+ isSuccess: z.ZodBoolean;
2910
+ isFailed: z.ZodBoolean;
2911
+ isCancelled: z.ZodBoolean;
2912
+ isTest: z.ZodBoolean;
2913
+ createdAt: z.ZodDate;
2914
+ updatedAt: z.ZodDate;
2915
+ startedAt: z.ZodOptional<z.ZodDate>;
2916
+ finishedAt: z.ZodOptional<z.ZodDate>;
2917
+ delayedUntil: z.ZodOptional<z.ZodDate>;
2918
+ ttl: z.ZodOptional<z.ZodString>;
2919
+ expiredAt: z.ZodOptional<z.ZodDate>;
2920
+ tags: z.ZodArray<z.ZodString, "many">;
2921
+ costInCents: z.ZodNumber;
2922
+ baseCostInCents: z.ZodNumber;
2923
+ durationMs: z.ZodNumber;
2924
+ }, "strip", z.ZodTypeAny, {
2925
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2926
+ id: string;
2927
+ createdAt: Date;
2928
+ tags: string[];
2929
+ depth: number;
2930
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2931
+ taskIdentifier: string;
2932
+ isQueued: boolean;
2933
+ isExecuting: boolean;
2934
+ isCompleted: boolean;
2935
+ isSuccess: boolean;
2936
+ isFailed: boolean;
2937
+ isCancelled: boolean;
2938
+ isTest: boolean;
2939
+ updatedAt: Date;
2940
+ costInCents: number;
2941
+ baseCostInCents: number;
2942
+ durationMs: number;
2943
+ batchId?: string | undefined;
2944
+ idempotencyKey?: string | undefined;
2945
+ version?: string | undefined;
2946
+ startedAt?: Date | undefined;
2947
+ finishedAt?: Date | undefined;
2948
+ delayedUntil?: Date | undefined;
2949
+ ttl?: string | undefined;
2950
+ expiredAt?: Date | undefined;
2951
+ }, {
2952
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2953
+ id: string;
2954
+ createdAt: Date;
2955
+ tags: string[];
2956
+ depth: number;
2957
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2958
+ taskIdentifier: string;
2959
+ isQueued: boolean;
2960
+ isExecuting: boolean;
2961
+ isCompleted: boolean;
2962
+ isSuccess: boolean;
2963
+ isFailed: boolean;
2964
+ isCancelled: boolean;
2965
+ isTest: boolean;
2966
+ updatedAt: Date;
2967
+ costInCents: number;
2968
+ baseCostInCents: number;
2969
+ durationMs: number;
2970
+ batchId?: string | undefined;
2971
+ idempotencyKey?: string | undefined;
2972
+ version?: string | undefined;
2973
+ startedAt?: Date | undefined;
2974
+ finishedAt?: Date | undefined;
2975
+ delayedUntil?: Date | undefined;
2976
+ ttl?: string | undefined;
2977
+ expiredAt?: Date | undefined;
2978
+ }>, "many">>;
2979
+ }, "strip", z.ZodTypeAny, {
2980
+ root?: {
2981
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2982
+ id: string;
2983
+ createdAt: Date;
2984
+ tags: string[];
2985
+ depth: number;
2986
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
2987
+ taskIdentifier: string;
2988
+ isQueued: boolean;
2989
+ isExecuting: boolean;
2990
+ isCompleted: boolean;
2991
+ isSuccess: boolean;
2992
+ isFailed: boolean;
2993
+ isCancelled: boolean;
2994
+ isTest: boolean;
2995
+ updatedAt: Date;
2996
+ costInCents: number;
2997
+ baseCostInCents: number;
2998
+ durationMs: number;
2999
+ batchId?: string | undefined;
3000
+ idempotencyKey?: string | undefined;
3001
+ version?: string | undefined;
3002
+ startedAt?: Date | undefined;
3003
+ finishedAt?: Date | undefined;
3004
+ delayedUntil?: Date | undefined;
3005
+ ttl?: string | undefined;
3006
+ expiredAt?: Date | undefined;
3007
+ } | undefined;
3008
+ parent?: {
3009
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3010
+ id: string;
3011
+ createdAt: Date;
3012
+ tags: string[];
3013
+ depth: number;
3014
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3015
+ taskIdentifier: string;
3016
+ isQueued: boolean;
3017
+ isExecuting: boolean;
3018
+ isCompleted: boolean;
3019
+ isSuccess: boolean;
3020
+ isFailed: boolean;
3021
+ isCancelled: boolean;
3022
+ isTest: boolean;
3023
+ updatedAt: Date;
3024
+ costInCents: number;
3025
+ baseCostInCents: number;
3026
+ durationMs: number;
3027
+ batchId?: string | undefined;
3028
+ idempotencyKey?: string | undefined;
3029
+ version?: string | undefined;
3030
+ startedAt?: Date | undefined;
3031
+ finishedAt?: Date | undefined;
3032
+ delayedUntil?: Date | undefined;
3033
+ ttl?: string | undefined;
3034
+ expiredAt?: Date | undefined;
3035
+ } | undefined;
3036
+ children?: {
3037
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3038
+ id: string;
3039
+ createdAt: Date;
3040
+ tags: string[];
3041
+ depth: number;
3042
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3043
+ taskIdentifier: string;
3044
+ isQueued: boolean;
3045
+ isExecuting: boolean;
3046
+ isCompleted: boolean;
3047
+ isSuccess: boolean;
3048
+ isFailed: boolean;
3049
+ isCancelled: boolean;
3050
+ isTest: boolean;
3051
+ updatedAt: Date;
3052
+ costInCents: number;
3053
+ baseCostInCents: number;
3054
+ durationMs: number;
3055
+ batchId?: string | undefined;
3056
+ idempotencyKey?: string | undefined;
3057
+ version?: string | undefined;
3058
+ startedAt?: Date | undefined;
3059
+ finishedAt?: Date | undefined;
3060
+ delayedUntil?: Date | undefined;
3061
+ ttl?: string | undefined;
3062
+ expiredAt?: Date | undefined;
3063
+ }[] | undefined;
3064
+ }, {
3065
+ root?: {
3066
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3067
+ id: string;
3068
+ createdAt: Date;
3069
+ tags: string[];
3070
+ depth: number;
3071
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3072
+ taskIdentifier: string;
3073
+ isQueued: boolean;
3074
+ isExecuting: boolean;
3075
+ isCompleted: boolean;
3076
+ isSuccess: boolean;
3077
+ isFailed: boolean;
3078
+ isCancelled: boolean;
3079
+ isTest: boolean;
3080
+ updatedAt: Date;
3081
+ costInCents: number;
3082
+ baseCostInCents: number;
3083
+ durationMs: number;
3084
+ batchId?: string | undefined;
3085
+ idempotencyKey?: string | undefined;
3086
+ version?: string | undefined;
3087
+ startedAt?: Date | undefined;
3088
+ finishedAt?: Date | undefined;
3089
+ delayedUntil?: Date | undefined;
3090
+ ttl?: string | undefined;
3091
+ expiredAt?: Date | undefined;
3092
+ } | undefined;
3093
+ parent?: {
3094
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3095
+ id: string;
3096
+ createdAt: Date;
3097
+ tags: string[];
3098
+ depth: number;
3099
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3100
+ taskIdentifier: string;
3101
+ isQueued: boolean;
3102
+ isExecuting: boolean;
3103
+ isCompleted: boolean;
3104
+ isSuccess: boolean;
3105
+ isFailed: boolean;
3106
+ isCancelled: boolean;
3107
+ isTest: boolean;
3108
+ updatedAt: Date;
3109
+ costInCents: number;
3110
+ baseCostInCents: number;
3111
+ durationMs: number;
3112
+ batchId?: string | undefined;
3113
+ idempotencyKey?: string | undefined;
3114
+ version?: string | undefined;
3115
+ startedAt?: Date | undefined;
3116
+ finishedAt?: Date | undefined;
3117
+ delayedUntil?: Date | undefined;
3118
+ ttl?: string | undefined;
3119
+ expiredAt?: Date | undefined;
3120
+ } | undefined;
3121
+ children?: {
3122
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3123
+ id: string;
3124
+ createdAt: Date;
3125
+ tags: string[];
3126
+ depth: number;
3127
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3128
+ taskIdentifier: string;
3129
+ isQueued: boolean;
3130
+ isExecuting: boolean;
3131
+ isCompleted: boolean;
3132
+ isSuccess: boolean;
3133
+ isFailed: boolean;
3134
+ isCancelled: boolean;
3135
+ isTest: boolean;
3136
+ updatedAt: Date;
3137
+ costInCents: number;
3138
+ baseCostInCents: number;
3139
+ durationMs: number;
3140
+ batchId?: string | undefined;
3141
+ idempotencyKey?: string | undefined;
3142
+ version?: string | undefined;
3143
+ startedAt?: Date | undefined;
3144
+ finishedAt?: Date | undefined;
3145
+ delayedUntil?: Date | undefined;
3146
+ ttl?: string | undefined;
3147
+ expiredAt?: Date | undefined;
3148
+ }[] | undefined;
3149
+ }>;
2624
3150
  attempts: z.ZodArray<z.ZodOptional<z.ZodObject<{
2625
3151
  id: z.ZodString;
2626
3152
  status: z.ZodEnum<["PENDING", "EXECUTING", "PAUSED", "COMPLETED", "FAILED", "CANCELED"]>;
@@ -2642,10 +3168,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2642
3168
  stackTrace?: string | undefined;
2643
3169
  }>>;
2644
3170
  }, "strip", z.ZodTypeAny, {
2645
- status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
3171
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2646
3172
  id: string;
2647
- updatedAt: Date;
2648
3173
  createdAt: Date;
3174
+ updatedAt: Date;
2649
3175
  startedAt?: Date | undefined;
2650
3176
  completedAt?: Date | undefined;
2651
3177
  error?: {
@@ -2654,10 +3180,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2654
3180
  stackTrace?: string | undefined;
2655
3181
  } | undefined;
2656
3182
  }, {
2657
- status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
3183
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2658
3184
  id: string;
2659
- updatedAt: Date;
2660
3185
  createdAt: Date;
3186
+ updatedAt: Date;
2661
3187
  startedAt?: Date | undefined;
2662
3188
  completedAt?: Date | undefined;
2663
3189
  error?: {
@@ -2666,6 +3192,9 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2666
3192
  stackTrace?: string | undefined;
2667
3193
  } | undefined;
2668
3194
  }>>, "many">;
3195
+ depth: z.ZodNumber;
3196
+ triggerFunction: z.ZodEnum<["triggerAndWait", "trigger", "batchTriggerAndWait", "batchTrigger"]>;
3197
+ batchId: z.ZodOptional<z.ZodString>;
2669
3198
  id: z.ZodString;
2670
3199
  status: z.ZodEnum<["WAITING_FOR_DEPLOY", "QUEUED", "EXECUTING", "REATTEMPTING", "FROZEN", "COMPLETED", "CANCELED", "FAILED", "CRASHED", "INTERRUPTED", "SYSTEM_FAILURE", "DELAYED", "EXPIRED"]>;
2671
3200
  taskIdentifier: z.ZodString;
@@ -2690,13 +3219,115 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2690
3219
  baseCostInCents: z.ZodNumber;
2691
3220
  durationMs: z.ZodNumber;
2692
3221
  }, "strip", z.ZodTypeAny, {
2693
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3222
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2694
3223
  id: string;
3224
+ createdAt: Date;
3225
+ tags: string[];
3226
+ depth: number;
3227
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3228
+ taskIdentifier: string;
3229
+ isQueued: boolean;
3230
+ isExecuting: boolean;
3231
+ isCompleted: boolean;
3232
+ isSuccess: boolean;
3233
+ isFailed: boolean;
3234
+ isCancelled: boolean;
3235
+ isTest: boolean;
3236
+ updatedAt: Date;
3237
+ costInCents: number;
3238
+ baseCostInCents: number;
3239
+ durationMs: number;
3240
+ relatedRuns: {
3241
+ root?: {
3242
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3243
+ id: string;
3244
+ createdAt: Date;
3245
+ tags: string[];
3246
+ depth: number;
3247
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3248
+ taskIdentifier: string;
3249
+ isQueued: boolean;
3250
+ isExecuting: boolean;
3251
+ isCompleted: boolean;
3252
+ isSuccess: boolean;
3253
+ isFailed: boolean;
3254
+ isCancelled: boolean;
3255
+ isTest: boolean;
3256
+ updatedAt: Date;
3257
+ costInCents: number;
3258
+ baseCostInCents: number;
3259
+ durationMs: number;
3260
+ batchId?: string | undefined;
3261
+ idempotencyKey?: string | undefined;
3262
+ version?: string | undefined;
3263
+ startedAt?: Date | undefined;
3264
+ finishedAt?: Date | undefined;
3265
+ delayedUntil?: Date | undefined;
3266
+ ttl?: string | undefined;
3267
+ expiredAt?: Date | undefined;
3268
+ } | undefined;
3269
+ parent?: {
3270
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3271
+ id: string;
3272
+ createdAt: Date;
3273
+ tags: string[];
3274
+ depth: number;
3275
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3276
+ taskIdentifier: string;
3277
+ isQueued: boolean;
3278
+ isExecuting: boolean;
3279
+ isCompleted: boolean;
3280
+ isSuccess: boolean;
3281
+ isFailed: boolean;
3282
+ isCancelled: boolean;
3283
+ isTest: boolean;
3284
+ updatedAt: Date;
3285
+ costInCents: number;
3286
+ baseCostInCents: number;
3287
+ durationMs: number;
3288
+ batchId?: string | undefined;
3289
+ idempotencyKey?: string | undefined;
3290
+ version?: string | undefined;
3291
+ startedAt?: Date | undefined;
3292
+ finishedAt?: Date | undefined;
3293
+ delayedUntil?: Date | undefined;
3294
+ ttl?: string | undefined;
3295
+ expiredAt?: Date | undefined;
3296
+ } | undefined;
3297
+ children?: {
3298
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3299
+ id: string;
3300
+ createdAt: Date;
3301
+ tags: string[];
3302
+ depth: number;
3303
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3304
+ taskIdentifier: string;
3305
+ isQueued: boolean;
3306
+ isExecuting: boolean;
3307
+ isCompleted: boolean;
3308
+ isSuccess: boolean;
3309
+ isFailed: boolean;
3310
+ isCancelled: boolean;
3311
+ isTest: boolean;
3312
+ updatedAt: Date;
3313
+ costInCents: number;
3314
+ baseCostInCents: number;
3315
+ durationMs: number;
3316
+ batchId?: string | undefined;
3317
+ idempotencyKey?: string | undefined;
3318
+ version?: string | undefined;
3319
+ startedAt?: Date | undefined;
3320
+ finishedAt?: Date | undefined;
3321
+ delayedUntil?: Date | undefined;
3322
+ ttl?: string | undefined;
3323
+ expiredAt?: Date | undefined;
3324
+ }[] | undefined;
3325
+ };
2695
3326
  attempts: ({
2696
- status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
3327
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2697
3328
  id: string;
2698
- updatedAt: Date;
2699
3329
  createdAt: Date;
3330
+ updatedAt: Date;
2700
3331
  startedAt?: Date | undefined;
2701
3332
  completedAt?: Date | undefined;
2702
3333
  error?: {
@@ -2705,20 +3336,6 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2705
3336
  stackTrace?: string | undefined;
2706
3337
  } | undefined;
2707
3338
  } | undefined)[];
2708
- updatedAt: Date;
2709
- isTest: boolean;
2710
- createdAt: Date;
2711
- tags: string[];
2712
- durationMs: number;
2713
- costInCents: number;
2714
- baseCostInCents: number;
2715
- taskIdentifier: string;
2716
- isQueued: boolean;
2717
- isExecuting: boolean;
2718
- isCompleted: boolean;
2719
- isSuccess: boolean;
2720
- isFailed: boolean;
2721
- isCancelled: boolean;
2722
3339
  payload?: any;
2723
3340
  payloadPresignedUrl?: string | undefined;
2724
3341
  output?: any;
@@ -2727,12 +3344,13 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2727
3344
  id: string;
2728
3345
  generator: {
2729
3346
  type: "CRON";
2730
- description: string;
2731
3347
  expression: string;
3348
+ description: string;
2732
3349
  };
2733
3350
  externalId?: string | undefined;
2734
3351
  deduplicationKey?: string | undefined;
2735
3352
  } | undefined;
3353
+ batchId?: string | undefined;
2736
3354
  idempotencyKey?: string | undefined;
2737
3355
  version?: string | undefined;
2738
3356
  startedAt?: Date | undefined;
@@ -2741,13 +3359,115 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2741
3359
  ttl?: string | undefined;
2742
3360
  expiredAt?: Date | undefined;
2743
3361
  }, {
2744
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3362
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2745
3363
  id: string;
3364
+ createdAt: Date;
3365
+ tags: string[];
3366
+ depth: number;
3367
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3368
+ taskIdentifier: string;
3369
+ isQueued: boolean;
3370
+ isExecuting: boolean;
3371
+ isCompleted: boolean;
3372
+ isSuccess: boolean;
3373
+ isFailed: boolean;
3374
+ isCancelled: boolean;
3375
+ isTest: boolean;
3376
+ updatedAt: Date;
3377
+ costInCents: number;
3378
+ baseCostInCents: number;
3379
+ durationMs: number;
3380
+ relatedRuns: {
3381
+ root?: {
3382
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3383
+ id: string;
3384
+ createdAt: Date;
3385
+ tags: string[];
3386
+ depth: number;
3387
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3388
+ taskIdentifier: string;
3389
+ isQueued: boolean;
3390
+ isExecuting: boolean;
3391
+ isCompleted: boolean;
3392
+ isSuccess: boolean;
3393
+ isFailed: boolean;
3394
+ isCancelled: boolean;
3395
+ isTest: boolean;
3396
+ updatedAt: Date;
3397
+ costInCents: number;
3398
+ baseCostInCents: number;
3399
+ durationMs: number;
3400
+ batchId?: string | undefined;
3401
+ idempotencyKey?: string | undefined;
3402
+ version?: string | undefined;
3403
+ startedAt?: Date | undefined;
3404
+ finishedAt?: Date | undefined;
3405
+ delayedUntil?: Date | undefined;
3406
+ ttl?: string | undefined;
3407
+ expiredAt?: Date | undefined;
3408
+ } | undefined;
3409
+ parent?: {
3410
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3411
+ id: string;
3412
+ createdAt: Date;
3413
+ tags: string[];
3414
+ depth: number;
3415
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3416
+ taskIdentifier: string;
3417
+ isQueued: boolean;
3418
+ isExecuting: boolean;
3419
+ isCompleted: boolean;
3420
+ isSuccess: boolean;
3421
+ isFailed: boolean;
3422
+ isCancelled: boolean;
3423
+ isTest: boolean;
3424
+ updatedAt: Date;
3425
+ costInCents: number;
3426
+ baseCostInCents: number;
3427
+ durationMs: number;
3428
+ batchId?: string | undefined;
3429
+ idempotencyKey?: string | undefined;
3430
+ version?: string | undefined;
3431
+ startedAt?: Date | undefined;
3432
+ finishedAt?: Date | undefined;
3433
+ delayedUntil?: Date | undefined;
3434
+ ttl?: string | undefined;
3435
+ expiredAt?: Date | undefined;
3436
+ } | undefined;
3437
+ children?: {
3438
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3439
+ id: string;
3440
+ createdAt: Date;
3441
+ tags: string[];
3442
+ depth: number;
3443
+ triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
3444
+ taskIdentifier: string;
3445
+ isQueued: boolean;
3446
+ isExecuting: boolean;
3447
+ isCompleted: boolean;
3448
+ isSuccess: boolean;
3449
+ isFailed: boolean;
3450
+ isCancelled: boolean;
3451
+ isTest: boolean;
3452
+ updatedAt: Date;
3453
+ costInCents: number;
3454
+ baseCostInCents: number;
3455
+ durationMs: number;
3456
+ batchId?: string | undefined;
3457
+ idempotencyKey?: string | undefined;
3458
+ version?: string | undefined;
3459
+ startedAt?: Date | undefined;
3460
+ finishedAt?: Date | undefined;
3461
+ delayedUntil?: Date | undefined;
3462
+ ttl?: string | undefined;
3463
+ expiredAt?: Date | undefined;
3464
+ }[] | undefined;
3465
+ };
2746
3466
  attempts: ({
2747
- status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
3467
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2748
3468
  id: string;
2749
- updatedAt: Date;
2750
3469
  createdAt: Date;
3470
+ updatedAt: Date;
2751
3471
  startedAt?: Date | undefined;
2752
3472
  completedAt?: Date | undefined;
2753
3473
  error?: {
@@ -2756,20 +3476,6 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2756
3476
  stackTrace?: string | undefined;
2757
3477
  } | undefined;
2758
3478
  } | undefined)[];
2759
- updatedAt: Date;
2760
- isTest: boolean;
2761
- createdAt: Date;
2762
- tags: string[];
2763
- durationMs: number;
2764
- costInCents: number;
2765
- baseCostInCents: number;
2766
- taskIdentifier: string;
2767
- isQueued: boolean;
2768
- isExecuting: boolean;
2769
- isCompleted: boolean;
2770
- isSuccess: boolean;
2771
- isFailed: boolean;
2772
- isCancelled: boolean;
2773
3479
  payload?: any;
2774
3480
  payloadPresignedUrl?: string | undefined;
2775
3481
  output?: any;
@@ -2778,12 +3484,13 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2778
3484
  id: string;
2779
3485
  generator: {
2780
3486
  type: "CRON";
2781
- description: string;
2782
3487
  expression: string;
3488
+ description: string;
2783
3489
  };
2784
3490
  externalId?: string | undefined;
2785
3491
  deduplicationKey?: string | undefined;
2786
3492
  } | undefined;
3493
+ batchId?: string | undefined;
2787
3494
  idempotencyKey?: string | undefined;
2788
3495
  version?: string | undefined;
2789
3496
  startedAt?: Date | undefined;
@@ -2799,12 +3506,12 @@ export declare const ListRunResponseItem: z.ZodObject<{
2799
3506
  name: z.ZodString;
2800
3507
  user: z.ZodOptional<z.ZodString>;
2801
3508
  }, "strip", z.ZodTypeAny, {
2802
- name: string;
2803
3509
  id: string;
3510
+ name: string;
2804
3511
  user?: string | undefined;
2805
3512
  }, {
2806
- name: string;
2807
3513
  id: string;
3514
+ name: string;
2808
3515
  user?: string | undefined;
2809
3516
  }>;
2810
3517
  id: z.ZodString;
@@ -2831,15 +3538,10 @@ export declare const ListRunResponseItem: z.ZodObject<{
2831
3538
  baseCostInCents: z.ZodNumber;
2832
3539
  durationMs: z.ZodNumber;
2833
3540
  }, "strip", z.ZodTypeAny, {
2834
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3541
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2835
3542
  id: string;
2836
- updatedAt: Date;
2837
- isTest: boolean;
2838
3543
  createdAt: Date;
2839
3544
  tags: string[];
2840
- durationMs: number;
2841
- costInCents: number;
2842
- baseCostInCents: number;
2843
3545
  taskIdentifier: string;
2844
3546
  isQueued: boolean;
2845
3547
  isExecuting: boolean;
@@ -2847,9 +3549,14 @@ export declare const ListRunResponseItem: z.ZodObject<{
2847
3549
  isSuccess: boolean;
2848
3550
  isFailed: boolean;
2849
3551
  isCancelled: boolean;
3552
+ isTest: boolean;
3553
+ updatedAt: Date;
3554
+ costInCents: number;
3555
+ baseCostInCents: number;
3556
+ durationMs: number;
2850
3557
  env: {
2851
- name: string;
2852
3558
  id: string;
3559
+ name: string;
2853
3560
  user?: string | undefined;
2854
3561
  };
2855
3562
  idempotencyKey?: string | undefined;
@@ -2860,15 +3567,10 @@ export declare const ListRunResponseItem: z.ZodObject<{
2860
3567
  ttl?: string | undefined;
2861
3568
  expiredAt?: Date | undefined;
2862
3569
  }, {
2863
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3570
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2864
3571
  id: string;
2865
- updatedAt: Date;
2866
- isTest: boolean;
2867
3572
  createdAt: Date;
2868
3573
  tags: string[];
2869
- durationMs: number;
2870
- costInCents: number;
2871
- baseCostInCents: number;
2872
3574
  taskIdentifier: string;
2873
3575
  isQueued: boolean;
2874
3576
  isExecuting: boolean;
@@ -2876,9 +3578,14 @@ export declare const ListRunResponseItem: z.ZodObject<{
2876
3578
  isSuccess: boolean;
2877
3579
  isFailed: boolean;
2878
3580
  isCancelled: boolean;
3581
+ isTest: boolean;
3582
+ updatedAt: Date;
3583
+ costInCents: number;
3584
+ baseCostInCents: number;
3585
+ durationMs: number;
2879
3586
  env: {
2880
- name: string;
2881
3587
  id: string;
3588
+ name: string;
2882
3589
  user?: string | undefined;
2883
3590
  };
2884
3591
  idempotencyKey?: string | undefined;
@@ -2897,12 +3604,12 @@ export declare const ListRunResponse: z.ZodObject<{
2897
3604
  name: z.ZodString;
2898
3605
  user: z.ZodOptional<z.ZodString>;
2899
3606
  }, "strip", z.ZodTypeAny, {
2900
- name: string;
2901
3607
  id: string;
3608
+ name: string;
2902
3609
  user?: string | undefined;
2903
3610
  }, {
2904
- name: string;
2905
3611
  id: string;
3612
+ name: string;
2906
3613
  user?: string | undefined;
2907
3614
  }>;
2908
3615
  id: z.ZodString;
@@ -2929,15 +3636,10 @@ export declare const ListRunResponse: z.ZodObject<{
2929
3636
  baseCostInCents: z.ZodNumber;
2930
3637
  durationMs: z.ZodNumber;
2931
3638
  }, "strip", z.ZodTypeAny, {
2932
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3639
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2933
3640
  id: string;
2934
- updatedAt: Date;
2935
- isTest: boolean;
2936
3641
  createdAt: Date;
2937
3642
  tags: string[];
2938
- durationMs: number;
2939
- costInCents: number;
2940
- baseCostInCents: number;
2941
3643
  taskIdentifier: string;
2942
3644
  isQueued: boolean;
2943
3645
  isExecuting: boolean;
@@ -2945,9 +3647,14 @@ export declare const ListRunResponse: z.ZodObject<{
2945
3647
  isSuccess: boolean;
2946
3648
  isFailed: boolean;
2947
3649
  isCancelled: boolean;
3650
+ isTest: boolean;
3651
+ updatedAt: Date;
3652
+ costInCents: number;
3653
+ baseCostInCents: number;
3654
+ durationMs: number;
2948
3655
  env: {
2949
- name: string;
2950
3656
  id: string;
3657
+ name: string;
2951
3658
  user?: string | undefined;
2952
3659
  };
2953
3660
  idempotencyKey?: string | undefined;
@@ -2958,15 +3665,10 @@ export declare const ListRunResponse: z.ZodObject<{
2958
3665
  ttl?: string | undefined;
2959
3666
  expiredAt?: Date | undefined;
2960
3667
  }, {
2961
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3668
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2962
3669
  id: string;
2963
- updatedAt: Date;
2964
- isTest: boolean;
2965
3670
  createdAt: Date;
2966
3671
  tags: string[];
2967
- durationMs: number;
2968
- costInCents: number;
2969
- baseCostInCents: number;
2970
3672
  taskIdentifier: string;
2971
3673
  isQueued: boolean;
2972
3674
  isExecuting: boolean;
@@ -2974,9 +3676,14 @@ export declare const ListRunResponse: z.ZodObject<{
2974
3676
  isSuccess: boolean;
2975
3677
  isFailed: boolean;
2976
3678
  isCancelled: boolean;
3679
+ isTest: boolean;
3680
+ updatedAt: Date;
3681
+ costInCents: number;
3682
+ baseCostInCents: number;
3683
+ durationMs: number;
2977
3684
  env: {
2978
- name: string;
2979
3685
  id: string;
3686
+ name: string;
2980
3687
  user?: string | undefined;
2981
3688
  };
2982
3689
  idempotencyKey?: string | undefined;
@@ -2999,15 +3706,10 @@ export declare const ListRunResponse: z.ZodObject<{
2999
3706
  }>;
3000
3707
  }, "strip", z.ZodTypeAny, {
3001
3708
  data: {
3002
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3709
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3003
3710
  id: string;
3004
- updatedAt: Date;
3005
- isTest: boolean;
3006
3711
  createdAt: Date;
3007
3712
  tags: string[];
3008
- durationMs: number;
3009
- costInCents: number;
3010
- baseCostInCents: number;
3011
3713
  taskIdentifier: string;
3012
3714
  isQueued: boolean;
3013
3715
  isExecuting: boolean;
@@ -3015,9 +3717,14 @@ export declare const ListRunResponse: z.ZodObject<{
3015
3717
  isSuccess: boolean;
3016
3718
  isFailed: boolean;
3017
3719
  isCancelled: boolean;
3720
+ isTest: boolean;
3721
+ updatedAt: Date;
3722
+ costInCents: number;
3723
+ baseCostInCents: number;
3724
+ durationMs: number;
3018
3725
  env: {
3019
- name: string;
3020
3726
  id: string;
3727
+ name: string;
3021
3728
  user?: string | undefined;
3022
3729
  };
3023
3730
  idempotencyKey?: string | undefined;
@@ -3034,15 +3741,10 @@ export declare const ListRunResponse: z.ZodObject<{
3034
3741
  };
3035
3742
  }, {
3036
3743
  data: {
3037
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3744
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3038
3745
  id: string;
3039
- updatedAt: Date;
3040
- isTest: boolean;
3041
3746
  createdAt: Date;
3042
3747
  tags: string[];
3043
- durationMs: number;
3044
- costInCents: number;
3045
- baseCostInCents: number;
3046
3748
  taskIdentifier: string;
3047
3749
  isQueued: boolean;
3048
3750
  isExecuting: boolean;
@@ -3050,9 +3752,14 @@ export declare const ListRunResponse: z.ZodObject<{
3050
3752
  isSuccess: boolean;
3051
3753
  isFailed: boolean;
3052
3754
  isCancelled: boolean;
3755
+ isTest: boolean;
3756
+ updatedAt: Date;
3757
+ costInCents: number;
3758
+ baseCostInCents: number;
3759
+ durationMs: number;
3053
3760
  env: {
3054
- name: string;
3055
3761
  id: string;
3762
+ name: string;
3056
3763
  user?: string | undefined;
3057
3764
  };
3058
3765
  idempotencyKey?: string | undefined;