@trigger.dev/core 0.0.0-prerelease-20240823132052 → 0.0.0-prerelease-20240905123715

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 (39) hide show
  1. package/dist/commonjs/v3/apiClient/index.d.ts +45 -45
  2. package/dist/commonjs/v3/build/extensions.d.ts +1 -1
  3. package/dist/commonjs/v3/build/extensions.js +2 -2
  4. package/dist/commonjs/v3/build/extensions.js.map +1 -1
  5. package/dist/commonjs/v3/build/runtime.d.ts +5 -0
  6. package/dist/commonjs/v3/build/runtime.js +19 -0
  7. package/dist/commonjs/v3/build/runtime.js.map +1 -1
  8. package/dist/commonjs/v3/config.d.ts +10 -0
  9. package/dist/commonjs/v3/schemas/api.d.ts +207 -207
  10. package/dist/commonjs/v3/schemas/build.d.ts +190 -170
  11. package/dist/commonjs/v3/schemas/build.js +2 -0
  12. package/dist/commonjs/v3/schemas/build.js.map +1 -1
  13. package/dist/commonjs/v3/schemas/fetch.d.ts +14 -14
  14. package/dist/commonjs/v3/schemas/messages.d.ts +2821 -2816
  15. package/dist/commonjs/v3/schemas/resources.d.ts +36 -36
  16. package/dist/commonjs/v3/schemas/schemas.d.ts +395 -395
  17. package/dist/commonjs/v3/workers/taskExecutor.js +0 -12
  18. package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
  19. package/dist/commonjs/version.js +1 -1
  20. package/dist/esm/v3/apiClient/index.d.ts +45 -45
  21. package/dist/esm/v3/build/extensions.d.ts +1 -1
  22. package/dist/esm/v3/build/extensions.js +1 -1
  23. package/dist/esm/v3/build/extensions.js.map +1 -1
  24. package/dist/esm/v3/build/runtime.d.ts +5 -0
  25. package/dist/esm/v3/build/runtime.js +18 -0
  26. package/dist/esm/v3/build/runtime.js.map +1 -1
  27. package/dist/esm/v3/config.d.ts +10 -0
  28. package/dist/esm/v3/schemas/api.d.ts +207 -207
  29. package/dist/esm/v3/schemas/build.d.ts +190 -170
  30. package/dist/esm/v3/schemas/build.js +2 -0
  31. package/dist/esm/v3/schemas/build.js.map +1 -1
  32. package/dist/esm/v3/schemas/fetch.d.ts +14 -14
  33. package/dist/esm/v3/schemas/messages.d.ts +2821 -2816
  34. package/dist/esm/v3/schemas/resources.d.ts +36 -36
  35. package/dist/esm/v3/schemas/schemas.d.ts +395 -395
  36. package/dist/esm/v3/workers/taskExecutor.js +0 -12
  37. package/dist/esm/v3/workers/taskExecutor.js.map +1 -1
  38. package/dist/esm/version.js +1 -1
  39. package/package.json +1 -1
@@ -26,38 +26,38 @@ export declare const GetProjectResponseBody: z.ZodObject<{
26
26
  createdAt: z.ZodDate;
27
27
  }, "strip", z.ZodTypeAny, {
28
28
  id: string;
29
- title: string;
30
- slug: string;
31
29
  createdAt: Date;
30
+ slug: string;
31
+ title: string;
32
32
  }, {
33
33
  id: string;
34
- title: string;
35
- slug: string;
36
34
  createdAt: Date;
35
+ slug: string;
36
+ title: string;
37
37
  }>;
38
38
  }, "strip", z.ZodTypeAny, {
39
39
  name: string;
40
40
  id: string;
41
+ createdAt: Date;
41
42
  slug: string;
42
43
  organization: {
43
44
  id: string;
44
- title: string;
45
- slug: string;
46
45
  createdAt: Date;
46
+ slug: string;
47
+ title: string;
47
48
  };
48
- createdAt: Date;
49
49
  externalRef: string;
50
50
  }, {
51
51
  name: string;
52
52
  id: string;
53
+ createdAt: Date;
53
54
  slug: string;
54
55
  organization: {
55
56
  id: string;
56
- title: string;
57
- slug: string;
58
57
  createdAt: Date;
58
+ slug: string;
59
+ title: string;
59
60
  };
60
- createdAt: Date;
61
61
  externalRef: string;
62
62
  }>;
63
63
  export type GetProjectResponseBody = z.infer<typeof GetProjectResponseBody>;
@@ -74,38 +74,38 @@ 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
- slug: string;
79
77
  createdAt: Date;
78
+ slug: string;
79
+ title: string;
80
80
  }, {
81
81
  id: string;
82
- title: string;
83
- slug: string;
84
82
  createdAt: Date;
83
+ slug: string;
84
+ title: string;
85
85
  }>;
86
86
  }, "strip", z.ZodTypeAny, {
87
87
  name: string;
88
88
  id: string;
89
+ createdAt: Date;
89
90
  slug: string;
90
91
  organization: {
91
92
  id: string;
92
- title: string;
93
- slug: string;
94
93
  createdAt: Date;
94
+ slug: string;
95
+ title: string;
95
96
  };
96
- createdAt: Date;
97
97
  externalRef: string;
98
98
  }, {
99
99
  name: string;
100
100
  id: string;
101
+ createdAt: Date;
101
102
  slug: string;
102
103
  organization: {
103
104
  id: string;
104
- title: string;
105
- slug: string;
106
105
  createdAt: Date;
106
+ slug: string;
107
+ title: string;
107
108
  };
108
- createdAt: Date;
109
109
  externalRef: string;
110
110
  }>, "many">;
111
111
  export type GetProjectsResponseBody = z.infer<typeof GetProjectsResponseBody>;
@@ -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>;
@@ -365,9 +365,9 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
365
365
  timezone: string;
366
366
  }>>;
367
367
  }, "strip", z.ZodTypeAny, {
368
- id: string;
369
368
  filePath: string;
370
369
  exportName: string;
370
+ id: string;
371
371
  queue?: {
372
372
  name?: string | undefined;
373
373
  concurrencyLimit?: number | undefined;
@@ -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;
@@ -423,9 +423,9 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
423
423
  timezone: string;
424
424
  } | undefined;
425
425
  }, {
426
- id: string;
427
426
  filePath: string;
428
427
  exportName: string;
428
+ id: string;
429
429
  queue?: {
430
430
  name?: string | undefined;
431
431
  concurrencyLimit?: number | 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,21 +487,23 @@ 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;
492
491
  contents: string;
492
+ filePath: string;
493
493
  taskIds: string[];
494
494
  }, {
495
- filePath: string;
496
495
  contentHash: string;
497
496
  contents: string;
497
+ filePath: string;
498
498
  taskIds: string[];
499
499
  }>, "many">>;
500
500
  }, "strip", z.ZodTypeAny, {
501
+ packageVersion: string;
502
+ contentHash: string;
501
503
  tasks: {
502
- id: string;
503
504
  filePath: string;
504
505
  exportName: string;
506
+ id: string;
505
507
  queue?: {
506
508
  name?: string | undefined;
507
509
  concurrencyLimit?: number | undefined;
@@ -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,20 +559,20 @@ 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;
566
565
  contents: string;
566
+ filePath: string;
567
567
  taskIds: string[];
568
568
  }[] | undefined;
569
569
  }, {
570
+ packageVersion: string;
571
+ contentHash: string;
570
572
  tasks: {
571
- id: string;
572
573
  filePath: string;
573
574
  exportName: string;
575
+ id: string;
574
576
  queue?: {
575
577
  name?: string | undefined;
576
578
  concurrencyLimit?: number | undefined;
@@ -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,23 +628,24 @@ 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;
635
634
  contents: string;
635
+ filePath: 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
- id: string;
644
646
  filePath: string;
645
647
  exportName: string;
648
+ id: string;
646
649
  queue?: {
647
650
  name?: string | undefined;
648
651
  concurrencyLimit?: number | undefined;
@@ -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,24 +701,24 @@ 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
707
  contents: string;
708
+ filePath: 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
- id: string;
717
719
  filePath: string;
718
720
  exportName: string;
721
+ id: string;
719
722
  queue?: {
720
723
  name?: string | undefined;
721
724
  concurrencyLimit?: number | undefined;
@@ -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
780
  contents: string;
781
+ filePath: 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>;
@@ -791,12 +791,12 @@ export declare const CreateBackgroundWorkerResponse: z.ZodObject<{
791
791
  contentHash: z.ZodString;
792
792
  }, "strip", z.ZodTypeAny, {
793
793
  version: string;
794
- id: string;
795
794
  contentHash: string;
795
+ id: string;
796
796
  }, {
797
797
  version: string;
798
- id: string;
799
798
  contentHash: string;
799
+ id: 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
  }[];
@@ -1819,11 +1819,11 @@ export declare const StartDeploymentIndexingResponseBody: z.ZodObject<{
1819
1819
  id: z.ZodString;
1820
1820
  contentHash: z.ZodString;
1821
1821
  }, "strip", z.ZodTypeAny, {
1822
- id: string;
1823
1822
  contentHash: string;
1824
- }, {
1825
1823
  id: string;
1824
+ }, {
1826
1825
  contentHash: string;
1826
+ id: string;
1827
1827
  }>;
1828
1828
  export type StartDeploymentIndexingResponseBody = z.infer<typeof StartDeploymentIndexingResponseBody>;
1829
1829
  export declare const FinalizeDeploymentRequestBody: z.ZodObject<{
@@ -1873,8 +1873,8 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
1873
1873
  registryHost: z.ZodOptional<z.ZodString>;
1874
1874
  }, "strip", z.ZodTypeAny, {
1875
1875
  version: string;
1876
- id: string;
1877
1876
  contentHash: string;
1877
+ id: string;
1878
1878
  imageTag: string;
1879
1879
  shortCode: string;
1880
1880
  externalBuildData?: {
@@ -1885,8 +1885,8 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
1885
1885
  registryHost?: string | undefined;
1886
1886
  }, {
1887
1887
  version: string;
1888
- id: string;
1889
1888
  contentHash: string;
1889
+ id: string;
1890
1890
  imageTag: string;
1891
1891
  shortCode: string;
1892
1892
  externalBuildData?: {
@@ -1914,13 +1914,13 @@ export declare const DeploymentErrorData: z.ZodObject<{
1914
1914
  stack: z.ZodOptional<z.ZodString>;
1915
1915
  stderr: z.ZodOptional<z.ZodString>;
1916
1916
  }, "strip", z.ZodTypeAny, {
1917
- message: string;
1918
1917
  name: string;
1918
+ message: string;
1919
1919
  stack?: string | undefined;
1920
1920
  stderr?: string | undefined;
1921
1921
  }, {
1922
- message: string;
1923
1922
  name: string;
1923
+ message: string;
1924
1924
  stack?: string | undefined;
1925
1925
  stderr?: string | undefined;
1926
1926
  }>;
@@ -1932,27 +1932,27 @@ export declare const FailDeploymentRequestBody: z.ZodObject<{
1932
1932
  stack: z.ZodOptional<z.ZodString>;
1933
1933
  stderr: z.ZodOptional<z.ZodString>;
1934
1934
  }, "strip", z.ZodTypeAny, {
1935
- message: string;
1936
1935
  name: string;
1936
+ message: string;
1937
1937
  stack?: string | undefined;
1938
1938
  stderr?: string | undefined;
1939
1939
  }, {
1940
- message: string;
1941
1940
  name: string;
1941
+ message: string;
1942
1942
  stack?: string | undefined;
1943
1943
  stderr?: string | undefined;
1944
1944
  }>;
1945
1945
  }, "strip", z.ZodTypeAny, {
1946
1946
  error: {
1947
- message: string;
1948
1947
  name: string;
1948
+ message: string;
1949
1949
  stack?: string | undefined;
1950
1950
  stderr?: string | undefined;
1951
1951
  };
1952
1952
  }, {
1953
1953
  error: {
1954
- message: string;
1955
1954
  name: string;
1955
+ message: string;
1956
1956
  stack?: string | undefined;
1957
1957
  stderr?: string | undefined;
1958
1958
  };
@@ -1979,13 +1979,13 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1979
1979
  stack: z.ZodOptional<z.ZodString>;
1980
1980
  stderr: z.ZodOptional<z.ZodString>;
1981
1981
  }, "strip", z.ZodTypeAny, {
1982
- message: string;
1983
1982
  name: string;
1983
+ message: string;
1984
1984
  stack?: string | undefined;
1985
1985
  stderr?: string | undefined;
1986
1986
  }, {
1987
- message: string;
1988
1987
  name: string;
1988
+ message: string;
1989
1989
  stack?: string | undefined;
1990
1990
  stderr?: string | undefined;
1991
1991
  }>>>;
@@ -1998,45 +1998,45 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
1998
1998
  filePath: z.ZodString;
1999
1999
  exportName: z.ZodString;
2000
2000
  }, "strip", z.ZodTypeAny, {
2001
- id: string;
2002
- slug: string;
2003
2001
  filePath: string;
2004
2002
  exportName: string;
2005
- }, {
2006
2003
  id: string;
2007
2004
  slug: string;
2005
+ }, {
2008
2006
  filePath: string;
2009
2007
  exportName: string;
2008
+ id: string;
2009
+ slug: string;
2010
2010
  }>, "many">;
2011
2011
  }, "strip", z.ZodTypeAny, {
2012
2012
  version: string;
2013
2013
  id: string;
2014
2014
  tasks: {
2015
- id: string;
2016
- slug: string;
2017
2015
  filePath: string;
2018
2016
  exportName: string;
2017
+ id: string;
2018
+ slug: string;
2019
2019
  }[];
2020
2020
  }, {
2021
2021
  version: string;
2022
2022
  id: string;
2023
2023
  tasks: {
2024
- id: string;
2025
- slug: string;
2026
2024
  filePath: string;
2027
2025
  exportName: string;
2026
+ id: string;
2027
+ slug: string;
2028
2028
  }[];
2029
2029
  }>>;
2030
2030
  }, "strip", z.ZodTypeAny, {
2031
- status: "PENDING" | "CANCELED" | "TIMED_OUT" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
2032
2031
  version: string;
2033
- id: string;
2032
+ status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
2034
2033
  contentHash: string;
2034
+ id: string;
2035
2035
  shortCode: string;
2036
2036
  imageReference?: string | null | undefined;
2037
2037
  errorData?: {
2038
- message: string;
2039
2038
  name: string;
2039
+ message: string;
2040
2040
  stack?: string | undefined;
2041
2041
  stderr?: string | undefined;
2042
2042
  } | null | undefined;
@@ -2044,22 +2044,22 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2044
2044
  version: string;
2045
2045
  id: string;
2046
2046
  tasks: {
2047
- id: string;
2048
- slug: string;
2049
2047
  filePath: string;
2050
2048
  exportName: string;
2049
+ id: string;
2050
+ slug: string;
2051
2051
  }[];
2052
2052
  } | undefined;
2053
2053
  }, {
2054
- status: "PENDING" | "CANCELED" | "TIMED_OUT" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
2055
2054
  version: string;
2056
- id: string;
2055
+ status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
2057
2056
  contentHash: string;
2057
+ id: string;
2058
2058
  shortCode: string;
2059
2059
  imageReference?: string | null | undefined;
2060
2060
  errorData?: {
2061
- message: string;
2062
2061
  name: string;
2062
+ message: string;
2063
2063
  stack?: string | undefined;
2064
2064
  stderr?: string | undefined;
2065
2065
  } | null | undefined;
@@ -2067,10 +2067,10 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
2067
2067
  version: string;
2068
2068
  id: string;
2069
2069
  tasks: {
2070
- id: string;
2071
- slug: string;
2072
2070
  filePath: string;
2073
2071
  exportName: string;
2072
+ id: string;
2073
+ slug: string;
2074
2074
  }[];
2075
2075
  } | undefined;
2076
2076
  }>;
@@ -2136,17 +2136,17 @@ export declare const ScheduledTaskPayload: z.ZodObject<{
2136
2136
  upcoming: z.ZodArray<z.ZodDate, "many">;
2137
2137
  }, "strip", z.ZodTypeAny, {
2138
2138
  type: "DECLARATIVE" | "IMPERATIVE";
2139
- timestamp: Date;
2140
2139
  timezone: string;
2141
2140
  scheduleId: string;
2141
+ timestamp: Date;
2142
2142
  upcoming: Date[];
2143
2143
  lastTimestamp?: Date | undefined;
2144
2144
  externalId?: string | undefined;
2145
2145
  }, {
2146
2146
  type: "DECLARATIVE" | "IMPERATIVE";
2147
- timestamp: Date;
2148
2147
  timezone: string;
2149
2148
  scheduleId: string;
2149
+ timestamp: Date;
2150
2150
  upcoming: Date[];
2151
2151
  lastTimestamp?: Date | undefined;
2152
2152
  externalId?: string | undefined;
@@ -2264,12 +2264,12 @@ export declare const ScheduleGenerator: z.ZodObject<{
2264
2264
  description: z.ZodString;
2265
2265
  }, "strip", z.ZodTypeAny, {
2266
2266
  type: "CRON";
2267
- description: string;
2268
2267
  expression: string;
2268
+ description: string;
2269
2269
  }, {
2270
2270
  type: "CRON";
2271
- description: string;
2272
2271
  expression: string;
2272
+ description: string;
2273
2273
  }>;
2274
2274
  export type ScheduleGenerator = z.infer<typeof ScheduleGenerator>;
2275
2275
  export declare const ScheduleObject: z.ZodObject<{
@@ -2285,12 +2285,12 @@ export declare const ScheduleObject: z.ZodObject<{
2285
2285
  description: z.ZodString;
2286
2286
  }, "strip", z.ZodTypeAny, {
2287
2287
  type: "CRON";
2288
- description: string;
2289
2288
  expression: string;
2289
+ description: string;
2290
2290
  }, {
2291
2291
  type: "CRON";
2292
- description: string;
2293
2292
  expression: string;
2293
+ description: string;
2294
2294
  }>;
2295
2295
  timezone: z.ZodString;
2296
2296
  nextRun: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -2309,14 +2309,14 @@ export declare const ScheduleObject: z.ZodObject<{
2309
2309
  }>, "many">;
2310
2310
  }, "strip", z.ZodTypeAny, {
2311
2311
  type: "DECLARATIVE" | "IMPERATIVE";
2312
+ timezone: string;
2312
2313
  id: string;
2313
- active: boolean;
2314
2314
  task: string;
2315
- timezone: string;
2315
+ active: boolean;
2316
2316
  generator: {
2317
2317
  type: "CRON";
2318
- description: string;
2319
2318
  expression: string;
2319
+ description: string;
2320
2320
  };
2321
2321
  environments: {
2322
2322
  type: string;
@@ -2328,14 +2328,14 @@ export declare const ScheduleObject: z.ZodObject<{
2328
2328
  nextRun?: Date | null | undefined;
2329
2329
  }, {
2330
2330
  type: "DECLARATIVE" | "IMPERATIVE";
2331
+ timezone: string;
2331
2332
  id: string;
2332
- active: boolean;
2333
2333
  task: string;
2334
- timezone: string;
2334
+ active: boolean;
2335
2335
  generator: {
2336
2336
  type: "CRON";
2337
- description: string;
2338
2337
  expression: string;
2338
+ description: string;
2339
2339
  };
2340
2340
  environments: {
2341
2341
  type: string;
@@ -2369,12 +2369,12 @@ export declare const ListSchedulesResult: z.ZodObject<{
2369
2369
  description: z.ZodString;
2370
2370
  }, "strip", z.ZodTypeAny, {
2371
2371
  type: "CRON";
2372
- description: string;
2373
2372
  expression: string;
2373
+ description: string;
2374
2374
  }, {
2375
2375
  type: "CRON";
2376
- description: string;
2377
2376
  expression: string;
2377
+ description: string;
2378
2378
  }>;
2379
2379
  timezone: z.ZodString;
2380
2380
  nextRun: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
@@ -2393,14 +2393,14 @@ export declare const ListSchedulesResult: z.ZodObject<{
2393
2393
  }>, "many">;
2394
2394
  }, "strip", z.ZodTypeAny, {
2395
2395
  type: "DECLARATIVE" | "IMPERATIVE";
2396
+ timezone: string;
2396
2397
  id: string;
2397
- active: boolean;
2398
2398
  task: string;
2399
- timezone: string;
2399
+ active: boolean;
2400
2400
  generator: {
2401
2401
  type: "CRON";
2402
- description: string;
2403
2402
  expression: string;
2403
+ description: string;
2404
2404
  };
2405
2405
  environments: {
2406
2406
  type: string;
@@ -2412,14 +2412,14 @@ export declare const ListSchedulesResult: z.ZodObject<{
2412
2412
  nextRun?: Date | null | undefined;
2413
2413
  }, {
2414
2414
  type: "DECLARATIVE" | "IMPERATIVE";
2415
+ timezone: string;
2415
2416
  id: string;
2416
- active: boolean;
2417
2417
  task: string;
2418
- timezone: string;
2418
+ active: boolean;
2419
2419
  generator: {
2420
2420
  type: "CRON";
2421
- description: string;
2422
2421
  expression: string;
2422
+ description: string;
2423
2423
  };
2424
2424
  environments: {
2425
2425
  type: string;
@@ -2446,14 +2446,14 @@ export declare const ListSchedulesResult: z.ZodObject<{
2446
2446
  }, "strip", z.ZodTypeAny, {
2447
2447
  data: {
2448
2448
  type: "DECLARATIVE" | "IMPERATIVE";
2449
+ timezone: string;
2449
2450
  id: string;
2450
- active: boolean;
2451
2451
  task: string;
2452
- timezone: string;
2452
+ active: boolean;
2453
2453
  generator: {
2454
2454
  type: "CRON";
2455
- description: string;
2456
2455
  expression: string;
2456
+ description: string;
2457
2457
  };
2458
2458
  environments: {
2459
2459
  type: string;
@@ -2472,14 +2472,14 @@ export declare const ListSchedulesResult: z.ZodObject<{
2472
2472
  }, {
2473
2473
  data: {
2474
2474
  type: "DECLARATIVE" | "IMPERATIVE";
2475
+ timezone: string;
2475
2476
  id: string;
2476
- active: boolean;
2477
2477
  task: string;
2478
- timezone: string;
2478
+ active: boolean;
2479
2479
  generator: {
2480
2480
  type: "CRON";
2481
- description: string;
2482
2481
  expression: string;
2482
+ description: string;
2483
2483
  };
2484
2484
  environments: {
2485
2485
  type: string;
@@ -2544,19 +2544,19 @@ export declare const RunScheduleDetails: z.ZodObject<{
2544
2544
  description: z.ZodString;
2545
2545
  }, "strip", z.ZodTypeAny, {
2546
2546
  type: "CRON";
2547
- description: string;
2548
2547
  expression: string;
2548
+ description: string;
2549
2549
  }, {
2550
2550
  type: "CRON";
2551
- description: string;
2552
2551
  expression: string;
2552
+ description: string;
2553
2553
  }>;
2554
2554
  }, "strip", z.ZodTypeAny, {
2555
2555
  id: string;
2556
2556
  generator: {
2557
2557
  type: "CRON";
2558
- description: string;
2559
2558
  expression: string;
2559
+ description: string;
2560
2560
  };
2561
2561
  externalId?: string | undefined;
2562
2562
  deduplicationKey?: string | undefined;
@@ -2564,8 +2564,8 @@ export declare const RunScheduleDetails: z.ZodObject<{
2564
2564
  id: string;
2565
2565
  generator: {
2566
2566
  type: "CRON";
2567
- description: string;
2568
2567
  expression: string;
2568
+ description: string;
2569
2569
  };
2570
2570
  externalId?: string | undefined;
2571
2571
  deduplicationKey?: string | undefined;
@@ -2586,19 +2586,19 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2586
2586
  description: z.ZodString;
2587
2587
  }, "strip", z.ZodTypeAny, {
2588
2588
  type: "CRON";
2589
- description: string;
2590
2589
  expression: string;
2590
+ description: string;
2591
2591
  }, {
2592
2592
  type: "CRON";
2593
- description: string;
2594
2593
  expression: string;
2594
+ description: string;
2595
2595
  }>;
2596
2596
  }, "strip", z.ZodTypeAny, {
2597
2597
  id: string;
2598
2598
  generator: {
2599
2599
  type: "CRON";
2600
- description: string;
2601
2600
  expression: string;
2601
+ description: string;
2602
2602
  };
2603
2603
  externalId?: string | undefined;
2604
2604
  deduplicationKey?: string | undefined;
@@ -2606,8 +2606,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2606
2606
  id: string;
2607
2607
  generator: {
2608
2608
  type: "CRON";
2609
- description: string;
2610
2609
  expression: string;
2610
+ description: string;
2611
2611
  };
2612
2612
  externalId?: string | undefined;
2613
2613
  deduplicationKey?: string | undefined;
@@ -2633,10 +2633,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2633
2633
  stackTrace?: string | undefined;
2634
2634
  }>>;
2635
2635
  }, "strip", z.ZodTypeAny, {
2636
- status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
2636
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2637
2637
  id: string;
2638
- updatedAt: Date;
2639
2638
  createdAt: Date;
2639
+ updatedAt: Date;
2640
2640
  startedAt?: Date | undefined;
2641
2641
  completedAt?: Date | undefined;
2642
2642
  error?: {
@@ -2645,10 +2645,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2645
2645
  stackTrace?: string | undefined;
2646
2646
  } | undefined;
2647
2647
  }, {
2648
- status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
2648
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2649
2649
  id: string;
2650
- updatedAt: Date;
2651
2650
  createdAt: Date;
2651
+ updatedAt: Date;
2652
2652
  startedAt?: Date | undefined;
2653
2653
  completedAt?: Date | undefined;
2654
2654
  error?: {
@@ -2681,13 +2681,19 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2681
2681
  baseCostInCents: z.ZodNumber;
2682
2682
  durationMs: z.ZodNumber;
2683
2683
  }, "strip", z.ZodTypeAny, {
2684
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2684
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2685
2685
  id: string;
2686
+ tags: string[];
2687
+ isTest: boolean;
2688
+ createdAt: Date;
2689
+ durationMs: number;
2690
+ costInCents: number;
2691
+ baseCostInCents: number;
2686
2692
  attempts: ({
2687
- status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
2693
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2688
2694
  id: string;
2689
- updatedAt: Date;
2690
2695
  createdAt: Date;
2696
+ updatedAt: Date;
2691
2697
  startedAt?: Date | undefined;
2692
2698
  completedAt?: Date | undefined;
2693
2699
  error?: {
@@ -2697,12 +2703,6 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2697
2703
  } | undefined;
2698
2704
  } | undefined)[];
2699
2705
  updatedAt: Date;
2700
- isTest: boolean;
2701
- createdAt: Date;
2702
- tags: string[];
2703
- durationMs: number;
2704
- costInCents: number;
2705
- baseCostInCents: number;
2706
2706
  taskIdentifier: string;
2707
2707
  isQueued: boolean;
2708
2708
  isExecuting: boolean;
@@ -2718,8 +2718,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2718
2718
  id: string;
2719
2719
  generator: {
2720
2720
  type: "CRON";
2721
- description: string;
2722
2721
  expression: string;
2722
+ description: string;
2723
2723
  };
2724
2724
  externalId?: string | undefined;
2725
2725
  deduplicationKey?: string | undefined;
@@ -2732,13 +2732,19 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2732
2732
  ttl?: string | undefined;
2733
2733
  expiredAt?: Date | undefined;
2734
2734
  }, {
2735
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2735
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2736
2736
  id: string;
2737
+ tags: string[];
2738
+ isTest: boolean;
2739
+ createdAt: Date;
2740
+ durationMs: number;
2741
+ costInCents: number;
2742
+ baseCostInCents: number;
2737
2743
  attempts: ({
2738
- status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
2744
+ status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
2739
2745
  id: string;
2740
- updatedAt: Date;
2741
2746
  createdAt: Date;
2747
+ updatedAt: Date;
2742
2748
  startedAt?: Date | undefined;
2743
2749
  completedAt?: Date | undefined;
2744
2750
  error?: {
@@ -2748,12 +2754,6 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2748
2754
  } | undefined;
2749
2755
  } | undefined)[];
2750
2756
  updatedAt: Date;
2751
- isTest: boolean;
2752
- createdAt: Date;
2753
- tags: string[];
2754
- durationMs: number;
2755
- costInCents: number;
2756
- baseCostInCents: number;
2757
2757
  taskIdentifier: string;
2758
2758
  isQueued: boolean;
2759
2759
  isExecuting: boolean;
@@ -2769,8 +2769,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
2769
2769
  id: string;
2770
2770
  generator: {
2771
2771
  type: "CRON";
2772
- description: string;
2773
2772
  expression: string;
2773
+ description: string;
2774
2774
  };
2775
2775
  externalId?: string | undefined;
2776
2776
  deduplicationKey?: string | undefined;
@@ -2822,15 +2822,20 @@ export declare const ListRunResponseItem: z.ZodObject<{
2822
2822
  baseCostInCents: z.ZodNumber;
2823
2823
  durationMs: z.ZodNumber;
2824
2824
  }, "strip", z.ZodTypeAny, {
2825
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2825
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2826
+ env: {
2827
+ name: string;
2828
+ id: string;
2829
+ user?: string | undefined;
2830
+ };
2826
2831
  id: string;
2827
- updatedAt: Date;
2832
+ tags: string[];
2828
2833
  isTest: boolean;
2829
2834
  createdAt: Date;
2830
- tags: string[];
2831
2835
  durationMs: number;
2832
2836
  costInCents: number;
2833
2837
  baseCostInCents: number;
2838
+ updatedAt: Date;
2834
2839
  taskIdentifier: string;
2835
2840
  isQueued: boolean;
2836
2841
  isExecuting: boolean;
@@ -2838,11 +2843,6 @@ export declare const ListRunResponseItem: z.ZodObject<{
2838
2843
  isSuccess: boolean;
2839
2844
  isFailed: boolean;
2840
2845
  isCancelled: boolean;
2841
- env: {
2842
- name: string;
2843
- id: string;
2844
- user?: string | undefined;
2845
- };
2846
2846
  idempotencyKey?: string | undefined;
2847
2847
  version?: string | undefined;
2848
2848
  startedAt?: Date | undefined;
@@ -2851,15 +2851,20 @@ export declare const ListRunResponseItem: z.ZodObject<{
2851
2851
  ttl?: string | undefined;
2852
2852
  expiredAt?: Date | undefined;
2853
2853
  }, {
2854
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2854
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2855
+ env: {
2856
+ name: string;
2857
+ id: string;
2858
+ user?: string | undefined;
2859
+ };
2855
2860
  id: string;
2856
- updatedAt: Date;
2861
+ tags: string[];
2857
2862
  isTest: boolean;
2858
2863
  createdAt: Date;
2859
- tags: string[];
2860
2864
  durationMs: number;
2861
2865
  costInCents: number;
2862
2866
  baseCostInCents: number;
2867
+ updatedAt: Date;
2863
2868
  taskIdentifier: string;
2864
2869
  isQueued: boolean;
2865
2870
  isExecuting: boolean;
@@ -2867,11 +2872,6 @@ export declare const ListRunResponseItem: z.ZodObject<{
2867
2872
  isSuccess: boolean;
2868
2873
  isFailed: boolean;
2869
2874
  isCancelled: boolean;
2870
- env: {
2871
- name: string;
2872
- id: string;
2873
- user?: string | undefined;
2874
- };
2875
2875
  idempotencyKey?: string | undefined;
2876
2876
  version?: string | undefined;
2877
2877
  startedAt?: Date | undefined;
@@ -2920,15 +2920,20 @@ export declare const ListRunResponse: z.ZodObject<{
2920
2920
  baseCostInCents: z.ZodNumber;
2921
2921
  durationMs: z.ZodNumber;
2922
2922
  }, "strip", z.ZodTypeAny, {
2923
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2923
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2924
+ env: {
2925
+ name: string;
2926
+ id: string;
2927
+ user?: string | undefined;
2928
+ };
2924
2929
  id: string;
2925
- updatedAt: Date;
2930
+ tags: string[];
2926
2931
  isTest: boolean;
2927
2932
  createdAt: Date;
2928
- tags: string[];
2929
2933
  durationMs: number;
2930
2934
  costInCents: number;
2931
2935
  baseCostInCents: number;
2936
+ updatedAt: Date;
2932
2937
  taskIdentifier: string;
2933
2938
  isQueued: boolean;
2934
2939
  isExecuting: boolean;
@@ -2936,11 +2941,6 @@ export declare const ListRunResponse: z.ZodObject<{
2936
2941
  isSuccess: boolean;
2937
2942
  isFailed: boolean;
2938
2943
  isCancelled: boolean;
2939
- env: {
2940
- name: string;
2941
- id: string;
2942
- user?: string | undefined;
2943
- };
2944
2944
  idempotencyKey?: string | undefined;
2945
2945
  version?: string | undefined;
2946
2946
  startedAt?: Date | undefined;
@@ -2949,15 +2949,20 @@ export declare const ListRunResponse: z.ZodObject<{
2949
2949
  ttl?: string | undefined;
2950
2950
  expiredAt?: Date | undefined;
2951
2951
  }, {
2952
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2952
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2953
+ env: {
2954
+ name: string;
2955
+ id: string;
2956
+ user?: string | undefined;
2957
+ };
2953
2958
  id: string;
2954
- updatedAt: Date;
2959
+ tags: string[];
2955
2960
  isTest: boolean;
2956
2961
  createdAt: Date;
2957
- tags: string[];
2958
2962
  durationMs: number;
2959
2963
  costInCents: number;
2960
2964
  baseCostInCents: number;
2965
+ updatedAt: Date;
2961
2966
  taskIdentifier: string;
2962
2967
  isQueued: boolean;
2963
2968
  isExecuting: boolean;
@@ -2965,11 +2970,6 @@ export declare const ListRunResponse: z.ZodObject<{
2965
2970
  isSuccess: boolean;
2966
2971
  isFailed: boolean;
2967
2972
  isCancelled: boolean;
2968
- env: {
2969
- name: string;
2970
- id: string;
2971
- user?: string | undefined;
2972
- };
2973
2973
  idempotencyKey?: string | undefined;
2974
2974
  version?: string | undefined;
2975
2975
  startedAt?: Date | undefined;
@@ -2990,15 +2990,20 @@ export declare const ListRunResponse: z.ZodObject<{
2990
2990
  }>;
2991
2991
  }, "strip", z.ZodTypeAny, {
2992
2992
  data: {
2993
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2993
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
2994
+ env: {
2995
+ name: string;
2996
+ id: string;
2997
+ user?: string | undefined;
2998
+ };
2994
2999
  id: string;
2995
- updatedAt: Date;
3000
+ tags: string[];
2996
3001
  isTest: boolean;
2997
3002
  createdAt: Date;
2998
- tags: string[];
2999
3003
  durationMs: number;
3000
3004
  costInCents: number;
3001
3005
  baseCostInCents: number;
3006
+ updatedAt: Date;
3002
3007
  taskIdentifier: string;
3003
3008
  isQueued: boolean;
3004
3009
  isExecuting: boolean;
@@ -3006,11 +3011,6 @@ export declare const ListRunResponse: z.ZodObject<{
3006
3011
  isSuccess: boolean;
3007
3012
  isFailed: boolean;
3008
3013
  isCancelled: boolean;
3009
- env: {
3010
- name: string;
3011
- id: string;
3012
- user?: string | undefined;
3013
- };
3014
3014
  idempotencyKey?: string | undefined;
3015
3015
  version?: string | undefined;
3016
3016
  startedAt?: Date | undefined;
@@ -3025,15 +3025,20 @@ export declare const ListRunResponse: z.ZodObject<{
3025
3025
  };
3026
3026
  }, {
3027
3027
  data: {
3028
- status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3028
+ status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
3029
+ env: {
3030
+ name: string;
3031
+ id: string;
3032
+ user?: string | undefined;
3033
+ };
3029
3034
  id: string;
3030
- updatedAt: Date;
3035
+ tags: string[];
3031
3036
  isTest: boolean;
3032
3037
  createdAt: Date;
3033
- tags: string[];
3034
3038
  durationMs: number;
3035
3039
  costInCents: number;
3036
3040
  baseCostInCents: number;
3041
+ updatedAt: Date;
3037
3042
  taskIdentifier: string;
3038
3043
  isQueued: boolean;
3039
3044
  isExecuting: boolean;
@@ -3041,11 +3046,6 @@ export declare const ListRunResponse: z.ZodObject<{
3041
3046
  isSuccess: boolean;
3042
3047
  isFailed: boolean;
3043
3048
  isCancelled: boolean;
3044
- env: {
3045
- name: string;
3046
- id: string;
3047
- user?: string | undefined;
3048
- };
3049
3049
  idempotencyKey?: string | undefined;
3050
3050
  version?: string | undefined;
3051
3051
  startedAt?: Date | undefined;
@@ -3064,11 +3064,11 @@ export declare const CreateEnvironmentVariableRequestBody: z.ZodObject<{
3064
3064
  name: z.ZodString;
3065
3065
  value: z.ZodString;
3066
3066
  }, "strip", z.ZodTypeAny, {
3067
- value: string;
3068
3067
  name: string;
3069
- }, {
3070
3068
  value: string;
3069
+ }, {
3071
3070
  name: string;
3071
+ value: string;
3072
3072
  }>;
3073
3073
  export type CreateEnvironmentVariableRequestBody = z.infer<typeof CreateEnvironmentVariableRequestBody>;
3074
3074
  export declare const UpdateEnvironmentVariableRequestBody: z.ZodObject<{
@@ -3110,20 +3110,20 @@ export declare const EnvironmentVariable: z.ZodObject<{
3110
3110
  name: z.ZodString;
3111
3111
  value: z.ZodString;
3112
3112
  }, "strip", z.ZodTypeAny, {
3113
- value: string;
3114
3113
  name: string;
3115
- }, {
3116
3114
  value: string;
3115
+ }, {
3117
3116
  name: string;
3117
+ value: string;
3118
3118
  }>;
3119
3119
  export declare const EnvironmentVariables: z.ZodArray<z.ZodObject<{
3120
3120
  name: z.ZodString;
3121
3121
  value: z.ZodString;
3122
3122
  }, "strip", z.ZodTypeAny, {
3123
- value: string;
3124
3123
  name: string;
3125
- }, {
3126
3124
  value: string;
3125
+ }, {
3127
3126
  name: string;
3127
+ value: string;
3128
3128
  }>, "many">;
3129
3129
  export type EnvironmentVariables = z.infer<typeof EnvironmentVariables>;