@trigger.dev/core 0.0.0-prerelease-20240825150620 → 0.0.0-prerelease-20240911144933

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 (51) hide show
  1. package/dist/commonjs/v3/apiClient/index.d.ts +44 -44
  2. package/dist/commonjs/v3/build/externals.d.ts +1 -0
  3. package/dist/commonjs/v3/build/externals.js +5 -0
  4. package/dist/commonjs/v3/build/externals.js.map +1 -0
  5. package/dist/commonjs/v3/build/index.d.ts +1 -0
  6. package/dist/commonjs/v3/build/index.js +1 -0
  7. package/dist/commonjs/v3/build/index.js.map +1 -1
  8. package/dist/commonjs/v3/build/resolvedConfig.d.ts +1 -0
  9. package/dist/commonjs/v3/build/runtime.d.ts +5 -0
  10. package/dist/commonjs/v3/build/runtime.js +19 -0
  11. package/dist/commonjs/v3/build/runtime.js.map +1 -1
  12. package/dist/commonjs/v3/config.d.ts +10 -0
  13. package/dist/commonjs/v3/schemas/api.d.ts +187 -178
  14. package/dist/commonjs/v3/schemas/api.js +3 -0
  15. package/dist/commonjs/v3/schemas/api.js.map +1 -1
  16. package/dist/commonjs/v3/schemas/build.d.ts +146 -126
  17. package/dist/commonjs/v3/schemas/build.js +2 -0
  18. package/dist/commonjs/v3/schemas/build.js.map +1 -1
  19. package/dist/commonjs/v3/schemas/fetch.d.ts +14 -14
  20. package/dist/commonjs/v3/schemas/messages.d.ts +3106 -3101
  21. package/dist/commonjs/v3/schemas/resources.d.ts +30 -30
  22. package/dist/commonjs/v3/schemas/schemas.d.ts +460 -460
  23. package/dist/commonjs/v3/workers/taskExecutor.js +0 -12
  24. package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
  25. package/dist/commonjs/version.js +1 -1
  26. package/dist/esm/v3/apiClient/index.d.ts +44 -44
  27. package/dist/esm/v3/build/externals.d.ts +1 -0
  28. package/dist/esm/v3/build/externals.js +2 -0
  29. package/dist/esm/v3/build/externals.js.map +1 -0
  30. package/dist/esm/v3/build/index.d.ts +1 -0
  31. package/dist/esm/v3/build/index.js +1 -0
  32. package/dist/esm/v3/build/index.js.map +1 -1
  33. package/dist/esm/v3/build/resolvedConfig.d.ts +1 -0
  34. package/dist/esm/v3/build/runtime.d.ts +5 -0
  35. package/dist/esm/v3/build/runtime.js +18 -0
  36. package/dist/esm/v3/build/runtime.js.map +1 -1
  37. package/dist/esm/v3/config.d.ts +10 -0
  38. package/dist/esm/v3/schemas/api.d.ts +187 -178
  39. package/dist/esm/v3/schemas/api.js +3 -0
  40. package/dist/esm/v3/schemas/api.js.map +1 -1
  41. package/dist/esm/v3/schemas/build.d.ts +146 -126
  42. package/dist/esm/v3/schemas/build.js +2 -0
  43. package/dist/esm/v3/schemas/build.js.map +1 -1
  44. package/dist/esm/v3/schemas/fetch.d.ts +14 -14
  45. package/dist/esm/v3/schemas/messages.d.ts +3106 -3101
  46. package/dist/esm/v3/schemas/resources.d.ts +30 -30
  47. package/dist/esm/v3/schemas/schemas.d.ts +460 -460
  48. package/dist/esm/v3/workers/taskExecutor.js +0 -12
  49. package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
  50. package/dist/esm/version.js +1 -1
  51. package/package.json +112 -4
@@ -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">]>;
@@ -1742,11 +1742,11 @@ export declare const BatchTriggerTaskResponse: z.ZodObject<{
1742
1742
  batchId: z.ZodString;
1743
1743
  runs: z.ZodArray<z.ZodString, "many">;
1744
1744
  }, "strip", z.ZodTypeAny, {
1745
- runs: string[];
1746
1745
  batchId: string;
1747
- }, {
1748
1746
  runs: string[];
1747
+ }, {
1749
1748
  batchId: string;
1749
+ runs: string[];
1750
1750
  }>;
1751
1751
  export type BatchTriggerTaskResponse = z.infer<typeof BatchTriggerTaskResponse>;
1752
1752
  export declare const GetBatchResponseBody: z.ZodObject<{
@@ -1756,25 +1756,25 @@ export declare const GetBatchResponseBody: z.ZodObject<{
1756
1756
  taskRunId: z.ZodString;
1757
1757
  status: z.ZodEnum<["PENDING", "CANCELED", "COMPLETED", "FAILED"]>;
1758
1758
  }, "strip", z.ZodTypeAny, {
1759
- status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
1759
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1760
1760
  id: string;
1761
1761
  taskRunId: string;
1762
1762
  }, {
1763
- status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
1763
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1764
1764
  id: string;
1765
1765
  taskRunId: string;
1766
1766
  }>, "many">;
1767
1767
  }, "strip", z.ZodTypeAny, {
1768
1768
  id: string;
1769
1769
  items: {
1770
- status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
1770
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1771
1771
  id: string;
1772
1772
  taskRunId: string;
1773
1773
  }[];
1774
1774
  }, {
1775
1775
  id: string;
1776
1776
  items: {
1777
- status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
1777
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
1778
1778
  id: string;
1779
1779
  taskRunId: string;
1780
1780
  }[];
@@ -1872,11 +1872,11 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
1872
1872
  }>>>;
1873
1873
  registryHost: z.ZodOptional<z.ZodString>;
1874
1874
  }, "strip", z.ZodTypeAny, {
1875
- version: string;
1876
1875
  id: string;
1877
1876
  contentHash: string;
1878
- imageTag: string;
1877
+ version: string;
1879
1878
  shortCode: string;
1879
+ imageTag: string;
1880
1880
  externalBuildData?: {
1881
1881
  projectId: string;
1882
1882
  buildId: string;
@@ -1884,11 +1884,11 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
1884
1884
  } | null | undefined;
1885
1885
  registryHost?: string | undefined;
1886
1886
  }, {
1887
- version: string;
1888
1887
  id: string;
1889
1888
  contentHash: string;
1890
- imageTag: string;
1889
+ version: string;
1891
1890
  shortCode: string;
1891
+ imageTag: string;
1892
1892
  externalBuildData?: {
1893
1893
  projectId: string;
1894
1894
  buildId: string;
@@ -1900,12 +1900,21 @@ export type InitializeDeploymentResponseBody = z.infer<typeof InitializeDeployme
1900
1900
  export declare const InitializeDeploymentRequestBody: z.ZodObject<{
1901
1901
  contentHash: z.ZodString;
1902
1902
  userId: z.ZodOptional<z.ZodString>;
1903
+ registryHost: z.ZodOptional<z.ZodString>;
1904
+ selfHosted: z.ZodOptional<z.ZodBoolean>;
1905
+ namespace: z.ZodOptional<z.ZodString>;
1903
1906
  }, "strip", z.ZodTypeAny, {
1904
1907
  contentHash: string;
1905
1908
  userId?: string | undefined;
1909
+ registryHost?: string | undefined;
1910
+ selfHosted?: boolean | undefined;
1911
+ namespace?: string | undefined;
1906
1912
  }, {
1907
1913
  contentHash: string;
1908
1914
  userId?: string | undefined;
1915
+ registryHost?: string | undefined;
1916
+ selfHosted?: boolean | undefined;
1917
+ namespace?: string | undefined;
1909
1918
  }>;
1910
1919
  export type InitializeDeploymentRequestBody = z.infer<typeof InitializeDeploymentRequestBody>;
1911
1920
  export declare const DeploymentErrorData: z.ZodObject<{
@@ -2009,7 +2018,6 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2009
2018
  exportName: string;
2010
2019
  }>, "many">;
2011
2020
  }, "strip", z.ZodTypeAny, {
2012
- version: string;
2013
2021
  id: string;
2014
2022
  tasks: {
2015
2023
  id: string;
@@ -2017,8 +2025,8 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2017
2025
  filePath: string;
2018
2026
  exportName: string;
2019
2027
  }[];
2020
- }, {
2021
2028
  version: string;
2029
+ }, {
2022
2030
  id: string;
2023
2031
  tasks: {
2024
2032
  id: string;
@@ -2026,12 +2034,13 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2026
2034
  filePath: string;
2027
2035
  exportName: string;
2028
2036
  }[];
2037
+ version: string;
2029
2038
  }>>;
2030
2039
  }, "strip", z.ZodTypeAny, {
2031
- status: "PENDING" | "CANCELED" | "TIMED_OUT" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
2032
- version: string;
2040
+ status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
2033
2041
  id: string;
2034
2042
  contentHash: string;
2043
+ version: string;
2035
2044
  shortCode: string;
2036
2045
  imageReference?: string | null | undefined;
2037
2046
  errorData?: {
@@ -2041,7 +2050,6 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2041
2050
  stderr?: string | undefined;
2042
2051
  } | null | undefined;
2043
2052
  worker?: {
2044
- version: string;
2045
2053
  id: string;
2046
2054
  tasks: {
2047
2055
  id: string;
@@ -2049,12 +2057,13 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2049
2057
  filePath: string;
2050
2058
  exportName: string;
2051
2059
  }[];
2060
+ version: string;
2052
2061
  } | undefined;
2053
2062
  }, {
2054
- status: "PENDING" | "CANCELED" | "TIMED_OUT" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
2055
- version: string;
2063
+ status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
2056
2064
  id: string;
2057
2065
  contentHash: string;
2066
+ version: string;
2058
2067
  shortCode: string;
2059
2068
  imageReference?: string | null | undefined;
2060
2069
  errorData?: {
@@ -2064,7 +2073,6 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2064
2073
  stderr?: string | undefined;
2065
2074
  } | null | undefined;
2066
2075
  worker?: {
2067
- version: string;
2068
2076
  id: string;
2069
2077
  tasks: {
2070
2078
  id: string;
@@ -2072,6 +2080,7 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2072
2080
  filePath: string;
2073
2081
  exportName: string;
2074
2082
  }[];
2083
+ version: string;
2075
2084
  } | undefined;
2076
2085
  }>;
2077
2086
  export type GetDeploymentResponseBody = z.infer<typeof GetDeploymentResponseBody>;
@@ -2136,17 +2145,17 @@ export declare const ScheduledTaskPayload: z.ZodObject<{
2136
2145
  upcoming: z.ZodArray<z.ZodDate, "many">;
2137
2146
  }, "strip", z.ZodTypeAny, {
2138
2147
  type: "DECLARATIVE" | "IMPERATIVE";
2139
- timestamp: Date;
2140
2148
  timezone: string;
2141
2149
  scheduleId: string;
2150
+ timestamp: Date;
2142
2151
  upcoming: Date[];
2143
2152
  lastTimestamp?: Date | undefined;
2144
2153
  externalId?: string | undefined;
2145
2154
  }, {
2146
2155
  type: "DECLARATIVE" | "IMPERATIVE";
2147
- timestamp: Date;
2148
2156
  timezone: string;
2149
2157
  scheduleId: string;
2158
+ timestamp: Date;
2150
2159
  upcoming: Date[];
2151
2160
  lastTimestamp?: Date | undefined;
2152
2161
  externalId?: string | undefined;
@@ -2264,12 +2273,12 @@ export declare const ScheduleGenerator: z.ZodObject<{
2264
2273
  description: z.ZodString;
2265
2274
  }, "strip", z.ZodTypeAny, {
2266
2275
  type: "CRON";
2267
- description: string;
2268
2276
  expression: string;
2277
+ description: string;
2269
2278
  }, {
2270
2279
  type: "CRON";
2271
- description: string;
2272
2280
  expression: string;
2281
+ description: string;
2273
2282
  }>;
2274
2283
  export type ScheduleGenerator = z.infer<typeof ScheduleGenerator>;
2275
2284
  export declare const ScheduleObject: z.ZodObject<{
@@ -2285,12 +2294,12 @@ export declare const ScheduleObject: z.ZodObject<{
2285
2294
  description: z.ZodString;
2286
2295
  }, "strip", z.ZodTypeAny, {
2287
2296
  type: "CRON";
2288
- description: string;
2289
2297
  expression: string;
2298
+ description: string;
2290
2299
  }, {
2291
2300
  type: "CRON";
2292
- description: string;
2293
2301
  expression: string;
2302
+ description: string;
2294
2303
  }>;
2295
2304
  timezone: z.ZodString;
2296
2305
  nextRun: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -2310,13 +2319,13 @@ export declare const ScheduleObject: z.ZodObject<{
2310
2319
  }, "strip", z.ZodTypeAny, {
2311
2320
  type: "DECLARATIVE" | "IMPERATIVE";
2312
2321
  id: string;
2313
- active: boolean;
2314
- task: string;
2315
2322
  timezone: string;
2323
+ task: string;
2324
+ active: boolean;
2316
2325
  generator: {
2317
2326
  type: "CRON";
2318
- description: string;
2319
2327
  expression: string;
2328
+ description: string;
2320
2329
  };
2321
2330
  environments: {
2322
2331
  type: string;
@@ -2329,13 +2338,13 @@ export declare const ScheduleObject: z.ZodObject<{
2329
2338
  }, {
2330
2339
  type: "DECLARATIVE" | "IMPERATIVE";
2331
2340
  id: string;
2332
- active: boolean;
2333
- task: string;
2334
2341
  timezone: string;
2342
+ task: string;
2343
+ active: boolean;
2335
2344
  generator: {
2336
2345
  type: "CRON";
2337
- description: string;
2338
2346
  expression: string;
2347
+ description: string;
2339
2348
  };
2340
2349
  environments: {
2341
2350
  type: string;
@@ -2369,12 +2378,12 @@ export declare const ListSchedulesResult: z.ZodObject<{
2369
2378
  description: z.ZodString;
2370
2379
  }, "strip", z.ZodTypeAny, {
2371
2380
  type: "CRON";
2372
- description: string;
2373
2381
  expression: string;
2382
+ description: string;
2374
2383
  }, {
2375
2384
  type: "CRON";
2376
- description: string;
2377
2385
  expression: string;
2386
+ description: string;
2378
2387
  }>;
2379
2388
  timezone: z.ZodString;
2380
2389
  nextRun: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -2394,13 +2403,13 @@ export declare const ListSchedulesResult: z.ZodObject<{
2394
2403
  }, "strip", z.ZodTypeAny, {
2395
2404
  type: "DECLARATIVE" | "IMPERATIVE";
2396
2405
  id: string;
2397
- active: boolean;
2398
- task: string;
2399
2406
  timezone: string;
2407
+ task: string;
2408
+ active: boolean;
2400
2409
  generator: {
2401
2410
  type: "CRON";
2402
- description: string;
2403
2411
  expression: string;
2412
+ description: string;
2404
2413
  };
2405
2414
  environments: {
2406
2415
  type: string;
@@ -2413,13 +2422,13 @@ export declare const ListSchedulesResult: z.ZodObject<{
2413
2422
  }, {
2414
2423
  type: "DECLARATIVE" | "IMPERATIVE";
2415
2424
  id: string;
2416
- active: boolean;
2417
- task: string;
2418
2425
  timezone: string;
2426
+ task: string;
2427
+ active: boolean;
2419
2428
  generator: {
2420
2429
  type: "CRON";
2421
- description: string;
2422
2430
  expression: string;
2431
+ description: string;
2423
2432
  };
2424
2433
  environments: {
2425
2434
  type: string;
@@ -2447,13 +2456,13 @@ export declare const ListSchedulesResult: z.ZodObject<{
2447
2456
  data: {
2448
2457
  type: "DECLARATIVE" | "IMPERATIVE";
2449
2458
  id: string;
2450
- active: boolean;
2451
- task: string;
2452
2459
  timezone: string;
2460
+ task: string;
2461
+ active: boolean;
2453
2462
  generator: {
2454
2463
  type: "CRON";
2455
- description: string;
2456
2464
  expression: string;
2465
+ description: string;
2457
2466
  };
2458
2467
  environments: {
2459
2468
  type: string;
@@ -2473,13 +2482,13 @@ export declare const ListSchedulesResult: z.ZodObject<{
2473
2482
  data: {
2474
2483
  type: "DECLARATIVE" | "IMPERATIVE";
2475
2484
  id: string;
2476
- active: boolean;
2477
- task: string;
2478
2485
  timezone: string;
2486
+ task: string;
2487
+ active: boolean;
2479
2488
  generator: {
2480
2489
  type: "CRON";
2481
- description: string;
2482
2490
  expression: string;
2491
+ description: string;
2483
2492
  };
2484
2493
  environments: {
2485
2494
  type: string;
@@ -2525,12 +2534,12 @@ export declare const RunEnvironmentDetails: z.ZodObject<{
2525
2534
  name: z.ZodString;
2526
2535
  user: z.ZodOptional<z.ZodString>;
2527
2536
  }, "strip", z.ZodTypeAny, {
2528
- name: string;
2529
2537
  id: string;
2538
+ name: string;
2530
2539
  user?: string | undefined;
2531
2540
  }, {
2532
- name: string;
2533
2541
  id: string;
2542
+ name: string;
2534
2543
  user?: string | undefined;
2535
2544
  }>;
2536
2545
  export type RunEnvironmentDetails = z.infer<typeof RunEnvironmentDetails>;
@@ -2544,19 +2553,19 @@ export declare const RunScheduleDetails: z.ZodObject<{
2544
2553
  description: z.ZodString;
2545
2554
  }, "strip", z.ZodTypeAny, {
2546
2555
  type: "CRON";
2547
- description: string;
2548
2556
  expression: string;
2557
+ description: string;
2549
2558
  }, {
2550
2559
  type: "CRON";
2551
- description: string;
2552
2560
  expression: string;
2561
+ description: string;
2553
2562
  }>;
2554
2563
  }, "strip", z.ZodTypeAny, {
2555
2564
  id: string;
2556
2565
  generator: {
2557
2566
  type: "CRON";
2558
- description: string;
2559
2567
  expression: string;
2568
+ description: string;
2560
2569
  };
2561
2570
  externalId?: string | undefined;
2562
2571
  deduplicationKey?: string | undefined;
@@ -2564,8 +2573,8 @@ export declare const RunScheduleDetails: z.ZodObject<{
2564
2573
  id: string;
2565
2574
  generator: {
2566
2575
  type: "CRON";
2567
- description: string;
2568
2576
  expression: string;
2577
+ description: string;
2569
2578
  };
2570
2579
  externalId?: string | undefined;
2571
2580
  deduplicationKey?: string | undefined;
@@ -2586,19 +2595,19 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2586
2595
  description: z.ZodString;
2587
2596
  }, "strip", z.ZodTypeAny, {
2588
2597
  type: "CRON";
2589
- description: string;
2590
2598
  expression: string;
2599
+ description: string;
2591
2600
  }, {
2592
2601
  type: "CRON";
2593
- description: string;
2594
2602
  expression: string;
2603
+ description: string;
2595
2604
  }>;
2596
2605
  }, "strip", z.ZodTypeAny, {
2597
2606
  id: string;
2598
2607
  generator: {
2599
2608
  type: "CRON";
2600
- description: string;
2601
2609
  expression: string;
2610
+ description: string;
2602
2611
  };
2603
2612
  externalId?: string | undefined;
2604
2613
  deduplicationKey?: string | undefined;
@@ -2606,8 +2615,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2606
2615
  id: string;
2607
2616
  generator: {
2608
2617
  type: "CRON";
2609
- description: string;
2610
2618
  expression: string;
2619
+ description: string;
2611
2620
  };
2612
2621
  externalId?: string | undefined;
2613
2622
  deduplicationKey?: string | undefined;
@@ -2633,10 +2642,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2633
2642
  stackTrace?: string | undefined;
2634
2643
  }>>;
2635
2644
  }, "strip", z.ZodTypeAny, {
2636
- status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
2645
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2637
2646
  id: string;
2638
- updatedAt: Date;
2639
2647
  createdAt: Date;
2648
+ updatedAt: Date;
2640
2649
  startedAt?: Date | undefined;
2641
2650
  completedAt?: Date | undefined;
2642
2651
  error?: {
@@ -2645,10 +2654,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2645
2654
  stackTrace?: string | undefined;
2646
2655
  } | undefined;
2647
2656
  }, {
2648
- status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
2657
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2649
2658
  id: string;
2650
- updatedAt: Date;
2651
2659
  createdAt: Date;
2660
+ updatedAt: Date;
2652
2661
  startedAt?: Date | undefined;
2653
2662
  completedAt?: Date | undefined;
2654
2663
  error?: {
@@ -2681,13 +2690,15 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2681
2690
  baseCostInCents: z.ZodNumber;
2682
2691
  durationMs: z.ZodNumber;
2683
2692
  }, "strip", z.ZodTypeAny, {
2684
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2693
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2685
2694
  id: string;
2695
+ createdAt: Date;
2696
+ tags: string[];
2686
2697
  attempts: ({
2687
- status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
2698
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2688
2699
  id: string;
2689
- updatedAt: Date;
2690
2700
  createdAt: Date;
2701
+ updatedAt: Date;
2691
2702
  startedAt?: Date | undefined;
2692
2703
  completedAt?: Date | undefined;
2693
2704
  error?: {
@@ -2697,12 +2708,6 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2697
2708
  } | undefined;
2698
2709
  } | undefined)[];
2699
2710
  updatedAt: Date;
2700
- isTest: boolean;
2701
- createdAt: Date;
2702
- tags: string[];
2703
- durationMs: number;
2704
- costInCents: number;
2705
- baseCostInCents: number;
2706
2711
  taskIdentifier: string;
2707
2712
  isQueued: boolean;
2708
2713
  isExecuting: boolean;
@@ -2710,6 +2715,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2710
2715
  isSuccess: boolean;
2711
2716
  isFailed: boolean;
2712
2717
  isCancelled: boolean;
2718
+ isTest: boolean;
2719
+ costInCents: number;
2720
+ baseCostInCents: number;
2721
+ durationMs: number;
2713
2722
  payload?: any;
2714
2723
  payloadPresignedUrl?: string | undefined;
2715
2724
  output?: any;
@@ -2718,8 +2727,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2718
2727
  id: string;
2719
2728
  generator: {
2720
2729
  type: "CRON";
2721
- description: string;
2722
2730
  expression: string;
2731
+ description: string;
2723
2732
  };
2724
2733
  externalId?: string | undefined;
2725
2734
  deduplicationKey?: string | undefined;
@@ -2732,13 +2741,15 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2732
2741
  ttl?: string | undefined;
2733
2742
  expiredAt?: Date | undefined;
2734
2743
  }, {
2735
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2744
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2736
2745
  id: string;
2746
+ createdAt: Date;
2747
+ tags: string[];
2737
2748
  attempts: ({
2738
- status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
2749
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2739
2750
  id: string;
2740
- updatedAt: Date;
2741
2751
  createdAt: Date;
2752
+ updatedAt: Date;
2742
2753
  startedAt?: Date | undefined;
2743
2754
  completedAt?: Date | undefined;
2744
2755
  error?: {
@@ -2748,12 +2759,6 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2748
2759
  } | undefined;
2749
2760
  } | undefined)[];
2750
2761
  updatedAt: Date;
2751
- isTest: boolean;
2752
- createdAt: Date;
2753
- tags: string[];
2754
- durationMs: number;
2755
- costInCents: number;
2756
- baseCostInCents: number;
2757
2762
  taskIdentifier: string;
2758
2763
  isQueued: boolean;
2759
2764
  isExecuting: boolean;
@@ -2761,6 +2766,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2761
2766
  isSuccess: boolean;
2762
2767
  isFailed: boolean;
2763
2768
  isCancelled: boolean;
2769
+ isTest: boolean;
2770
+ costInCents: number;
2771
+ baseCostInCents: number;
2772
+ durationMs: number;
2764
2773
  payload?: any;
2765
2774
  payloadPresignedUrl?: string | undefined;
2766
2775
  output?: any;
@@ -2769,8 +2778,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2769
2778
  id: string;
2770
2779
  generator: {
2771
2780
  type: "CRON";
2772
- description: string;
2773
2781
  expression: string;
2782
+ description: string;
2774
2783
  };
2775
2784
  externalId?: string | undefined;
2776
2785
  deduplicationKey?: string | undefined;
@@ -2790,12 +2799,12 @@ export declare const ListRunResponseItem: z.ZodObject<{
2790
2799
  name: z.ZodString;
2791
2800
  user: z.ZodOptional<z.ZodString>;
2792
2801
  }, "strip", z.ZodTypeAny, {
2793
- name: string;
2794
2802
  id: string;
2803
+ name: string;
2795
2804
  user?: string | undefined;
2796
2805
  }, {
2797
- name: string;
2798
2806
  id: string;
2807
+ name: string;
2799
2808
  user?: string | undefined;
2800
2809
  }>;
2801
2810
  id: z.ZodString;
@@ -2822,15 +2831,11 @@ export declare const ListRunResponseItem: z.ZodObject<{
2822
2831
  baseCostInCents: z.ZodNumber;
2823
2832
  durationMs: z.ZodNumber;
2824
2833
  }, "strip", z.ZodTypeAny, {
2825
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2834
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2826
2835
  id: string;
2827
- updatedAt: Date;
2828
- isTest: boolean;
2829
2836
  createdAt: Date;
2830
2837
  tags: string[];
2831
- durationMs: number;
2832
- costInCents: number;
2833
- baseCostInCents: number;
2838
+ updatedAt: Date;
2834
2839
  taskIdentifier: string;
2835
2840
  isQueued: boolean;
2836
2841
  isExecuting: boolean;
@@ -2838,9 +2843,13 @@ export declare const ListRunResponseItem: z.ZodObject<{
2838
2843
  isSuccess: boolean;
2839
2844
  isFailed: boolean;
2840
2845
  isCancelled: boolean;
2846
+ isTest: boolean;
2847
+ costInCents: number;
2848
+ baseCostInCents: number;
2849
+ durationMs: number;
2841
2850
  env: {
2842
- name: string;
2843
2851
  id: string;
2852
+ name: string;
2844
2853
  user?: string | undefined;
2845
2854
  };
2846
2855
  idempotencyKey?: string | undefined;
@@ -2851,15 +2860,11 @@ export declare const ListRunResponseItem: z.ZodObject<{
2851
2860
  ttl?: string | undefined;
2852
2861
  expiredAt?: Date | undefined;
2853
2862
  }, {
2854
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2863
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2855
2864
  id: string;
2856
- updatedAt: Date;
2857
- isTest: boolean;
2858
2865
  createdAt: Date;
2859
2866
  tags: string[];
2860
- durationMs: number;
2861
- costInCents: number;
2862
- baseCostInCents: number;
2867
+ updatedAt: Date;
2863
2868
  taskIdentifier: string;
2864
2869
  isQueued: boolean;
2865
2870
  isExecuting: boolean;
@@ -2867,9 +2872,13 @@ export declare const ListRunResponseItem: z.ZodObject<{
2867
2872
  isSuccess: boolean;
2868
2873
  isFailed: boolean;
2869
2874
  isCancelled: boolean;
2875
+ isTest: boolean;
2876
+ costInCents: number;
2877
+ baseCostInCents: number;
2878
+ durationMs: number;
2870
2879
  env: {
2871
- name: string;
2872
2880
  id: string;
2881
+ name: string;
2873
2882
  user?: string | undefined;
2874
2883
  };
2875
2884
  idempotencyKey?: string | undefined;
@@ -2888,12 +2897,12 @@ export declare const ListRunResponse: z.ZodObject<{
2888
2897
  name: z.ZodString;
2889
2898
  user: z.ZodOptional<z.ZodString>;
2890
2899
  }, "strip", z.ZodTypeAny, {
2891
- name: string;
2892
2900
  id: string;
2901
+ name: string;
2893
2902
  user?: string | undefined;
2894
2903
  }, {
2895
- name: string;
2896
2904
  id: string;
2905
+ name: string;
2897
2906
  user?: string | undefined;
2898
2907
  }>;
2899
2908
  id: z.ZodString;
@@ -2920,15 +2929,11 @@ export declare const ListRunResponse: z.ZodObject<{
2920
2929
  baseCostInCents: z.ZodNumber;
2921
2930
  durationMs: z.ZodNumber;
2922
2931
  }, "strip", z.ZodTypeAny, {
2923
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2932
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2924
2933
  id: string;
2925
- updatedAt: Date;
2926
- isTest: boolean;
2927
2934
  createdAt: Date;
2928
2935
  tags: string[];
2929
- durationMs: number;
2930
- costInCents: number;
2931
- baseCostInCents: number;
2936
+ updatedAt: Date;
2932
2937
  taskIdentifier: string;
2933
2938
  isQueued: boolean;
2934
2939
  isExecuting: boolean;
@@ -2936,9 +2941,13 @@ export declare const ListRunResponse: z.ZodObject<{
2936
2941
  isSuccess: boolean;
2937
2942
  isFailed: boolean;
2938
2943
  isCancelled: boolean;
2944
+ isTest: boolean;
2945
+ costInCents: number;
2946
+ baseCostInCents: number;
2947
+ durationMs: number;
2939
2948
  env: {
2940
- name: string;
2941
2949
  id: string;
2950
+ name: string;
2942
2951
  user?: string | undefined;
2943
2952
  };
2944
2953
  idempotencyKey?: string | undefined;
@@ -2949,15 +2958,11 @@ export declare const ListRunResponse: z.ZodObject<{
2949
2958
  ttl?: string | undefined;
2950
2959
  expiredAt?: Date | undefined;
2951
2960
  }, {
2952
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2961
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2953
2962
  id: string;
2954
- updatedAt: Date;
2955
- isTest: boolean;
2956
2963
  createdAt: Date;
2957
2964
  tags: string[];
2958
- durationMs: number;
2959
- costInCents: number;
2960
- baseCostInCents: number;
2965
+ updatedAt: Date;
2961
2966
  taskIdentifier: string;
2962
2967
  isQueued: boolean;
2963
2968
  isExecuting: boolean;
@@ -2965,9 +2970,13 @@ export declare const ListRunResponse: z.ZodObject<{
2965
2970
  isSuccess: boolean;
2966
2971
  isFailed: boolean;
2967
2972
  isCancelled: boolean;
2973
+ isTest: boolean;
2974
+ costInCents: number;
2975
+ baseCostInCents: number;
2976
+ durationMs: number;
2968
2977
  env: {
2969
- name: string;
2970
2978
  id: string;
2979
+ name: string;
2971
2980
  user?: string | undefined;
2972
2981
  };
2973
2982
  idempotencyKey?: string | undefined;
@@ -2990,15 +2999,11 @@ export declare const ListRunResponse: z.ZodObject<{
2990
2999
  }>;
2991
3000
  }, "strip", z.ZodTypeAny, {
2992
3001
  data: {
2993
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3002
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2994
3003
  id: string;
2995
- updatedAt: Date;
2996
- isTest: boolean;
2997
3004
  createdAt: Date;
2998
3005
  tags: string[];
2999
- durationMs: number;
3000
- costInCents: number;
3001
- baseCostInCents: number;
3006
+ updatedAt: Date;
3002
3007
  taskIdentifier: string;
3003
3008
  isQueued: boolean;
3004
3009
  isExecuting: boolean;
@@ -3006,9 +3011,13 @@ export declare const ListRunResponse: z.ZodObject<{
3006
3011
  isSuccess: boolean;
3007
3012
  isFailed: boolean;
3008
3013
  isCancelled: boolean;
3014
+ isTest: boolean;
3015
+ costInCents: number;
3016
+ baseCostInCents: number;
3017
+ durationMs: number;
3009
3018
  env: {
3010
- name: string;
3011
3019
  id: string;
3020
+ name: string;
3012
3021
  user?: string | undefined;
3013
3022
  };
3014
3023
  idempotencyKey?: string | undefined;
@@ -3025,15 +3034,11 @@ export declare const ListRunResponse: z.ZodObject<{
3025
3034
  };
3026
3035
  }, {
3027
3036
  data: {
3028
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3037
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3029
3038
  id: string;
3030
- updatedAt: Date;
3031
- isTest: boolean;
3032
3039
  createdAt: Date;
3033
3040
  tags: string[];
3034
- durationMs: number;
3035
- costInCents: number;
3036
- baseCostInCents: number;
3041
+ updatedAt: Date;
3037
3042
  taskIdentifier: string;
3038
3043
  isQueued: boolean;
3039
3044
  isExecuting: boolean;
@@ -3041,9 +3046,13 @@ export declare const ListRunResponse: z.ZodObject<{
3041
3046
  isSuccess: boolean;
3042
3047
  isFailed: boolean;
3043
3048
  isCancelled: boolean;
3049
+ isTest: boolean;
3050
+ costInCents: number;
3051
+ baseCostInCents: number;
3052
+ durationMs: number;
3044
3053
  env: {
3045
- name: string;
3046
3054
  id: string;
3055
+ name: string;
3047
3056
  user?: string | undefined;
3048
3057
  };
3049
3058
  idempotencyKey?: string | undefined;