@trigger.dev/core 0.0.0-v3-prerelease-20240916161707 → 0.0.0-v3-prerelease-20240916162259
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.
- package/dist/commonjs/v3/apiClient/index.d.ts +44 -44
- package/dist/commonjs/v3/schemas/api.d.ts +178 -178
- package/dist/commonjs/v3/schemas/build.d.ts +126 -126
- package/dist/commonjs/v3/schemas/fetch.d.ts +14 -14
- package/dist/commonjs/v3/schemas/messages.d.ts +3125 -3125
- package/dist/commonjs/v3/schemas/resources.d.ts +30 -30
- package/dist/commonjs/v3/schemas/schemas.d.ts +466 -466
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +44 -44
- package/dist/esm/v3/schemas/api.d.ts +178 -178
- package/dist/esm/v3/schemas/build.d.ts +126 -126
- package/dist/esm/v3/schemas/fetch.d.ts +14 -14
- package/dist/esm/v3/schemas/messages.d.ts +3125 -3125
- package/dist/esm/v3/schemas/resources.d.ts +30 -30
- package/dist/esm/v3/schemas/schemas.d.ts +466 -466
- package/dist/esm/version.js +1 -1
- 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;
|
|
29
30
|
slug: string;
|
|
30
31
|
createdAt: Date;
|
|
31
|
-
title: string;
|
|
32
32
|
}, {
|
|
33
33
|
id: string;
|
|
34
|
+
title: string;
|
|
34
35
|
slug: string;
|
|
35
36
|
createdAt: Date;
|
|
36
|
-
title: string;
|
|
37
37
|
}>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
id: string;
|
|
40
|
-
externalRef: string;
|
|
41
39
|
name: string;
|
|
40
|
+
id: string;
|
|
42
41
|
slug: string;
|
|
43
|
-
createdAt: Date;
|
|
44
42
|
organization: {
|
|
45
43
|
id: string;
|
|
44
|
+
title: string;
|
|
46
45
|
slug: string;
|
|
47
46
|
createdAt: Date;
|
|
48
|
-
title: string;
|
|
49
47
|
};
|
|
50
|
-
|
|
51
|
-
id: string;
|
|
48
|
+
createdAt: Date;
|
|
52
49
|
externalRef: string;
|
|
50
|
+
}, {
|
|
53
51
|
name: string;
|
|
52
|
+
id: string;
|
|
54
53
|
slug: string;
|
|
55
|
-
createdAt: Date;
|
|
56
54
|
organization: {
|
|
57
55
|
id: string;
|
|
56
|
+
title: string;
|
|
58
57
|
slug: string;
|
|
59
58
|
createdAt: Date;
|
|
60
|
-
title: string;
|
|
61
59
|
};
|
|
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;
|
|
77
78
|
slug: string;
|
|
78
79
|
createdAt: Date;
|
|
79
|
-
title: string;
|
|
80
80
|
}, {
|
|
81
81
|
id: string;
|
|
82
|
+
title: string;
|
|
82
83
|
slug: string;
|
|
83
84
|
createdAt: Date;
|
|
84
|
-
title: string;
|
|
85
85
|
}>;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
|
-
id: string;
|
|
88
|
-
externalRef: string;
|
|
89
87
|
name: string;
|
|
88
|
+
id: string;
|
|
90
89
|
slug: string;
|
|
91
|
-
createdAt: Date;
|
|
92
90
|
organization: {
|
|
93
91
|
id: string;
|
|
92
|
+
title: string;
|
|
94
93
|
slug: string;
|
|
95
94
|
createdAt: Date;
|
|
96
|
-
title: string;
|
|
97
95
|
};
|
|
98
|
-
|
|
99
|
-
id: string;
|
|
96
|
+
createdAt: Date;
|
|
100
97
|
externalRef: string;
|
|
98
|
+
}, {
|
|
101
99
|
name: string;
|
|
100
|
+
id: string;
|
|
102
101
|
slug: string;
|
|
103
|
-
createdAt: Date;
|
|
104
102
|
organization: {
|
|
105
103
|
id: string;
|
|
104
|
+
title: string;
|
|
106
105
|
slug: string;
|
|
107
106
|
createdAt: Date;
|
|
108
|
-
title: string;
|
|
109
107
|
};
|
|
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?:
|
|
349
|
-
memory?:
|
|
348
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
349
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
350
350
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
351
351
|
}, {
|
|
352
|
-
cpu?:
|
|
353
|
-
memory?:
|
|
352
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
353
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | 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?:
|
|
417
|
-
memory?:
|
|
416
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
417
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | 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?:
|
|
475
|
-
memory?:
|
|
474
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
475
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | 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,19 +487,17 @@ 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
|
-
contentHash: string;
|
|
491
490
|
filePath: string;
|
|
491
|
+
contentHash: string;
|
|
492
492
|
contents: string;
|
|
493
493
|
taskIds: string[];
|
|
494
494
|
}, {
|
|
495
|
-
contentHash: string;
|
|
496
495
|
filePath: string;
|
|
496
|
+
contentHash: string;
|
|
497
497
|
contents: string;
|
|
498
498
|
taskIds: string[];
|
|
499
499
|
}>, "many">>;
|
|
500
500
|
}, "strip", z.ZodTypeAny, {
|
|
501
|
-
packageVersion: string;
|
|
502
|
-
contentHash: string;
|
|
503
501
|
tasks: {
|
|
504
502
|
id: string;
|
|
505
503
|
filePath: string;
|
|
@@ -549,8 +547,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
549
547
|
randomize?: boolean | undefined;
|
|
550
548
|
} | undefined;
|
|
551
549
|
machine?: {
|
|
552
|
-
cpu?:
|
|
553
|
-
memory?:
|
|
550
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
551
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
554
552
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
555
553
|
} | undefined;
|
|
556
554
|
triggerSource?: string | undefined;
|
|
@@ -559,16 +557,16 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
559
557
|
timezone: string;
|
|
560
558
|
} | undefined;
|
|
561
559
|
}[];
|
|
560
|
+
contentHash: string;
|
|
561
|
+
packageVersion: string;
|
|
562
562
|
cliPackageVersion?: string | undefined;
|
|
563
563
|
sourceFiles?: {
|
|
564
|
-
contentHash: string;
|
|
565
564
|
filePath: string;
|
|
565
|
+
contentHash: string;
|
|
566
566
|
contents: string;
|
|
567
567
|
taskIds: string[];
|
|
568
568
|
}[] | undefined;
|
|
569
569
|
}, {
|
|
570
|
-
packageVersion: string;
|
|
571
|
-
contentHash: string;
|
|
572
570
|
tasks: {
|
|
573
571
|
id: string;
|
|
574
572
|
filePath: string;
|
|
@@ -618,8 +616,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
618
616
|
randomize?: boolean | undefined;
|
|
619
617
|
} | undefined;
|
|
620
618
|
machine?: {
|
|
621
|
-
cpu?:
|
|
622
|
-
memory?:
|
|
619
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
620
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
623
621
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
624
622
|
} | undefined;
|
|
625
623
|
triggerSource?: string | undefined;
|
|
@@ -628,20 +626,19 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
628
626
|
timezone: string;
|
|
629
627
|
} | undefined;
|
|
630
628
|
}[];
|
|
629
|
+
contentHash: string;
|
|
630
|
+
packageVersion: string;
|
|
631
631
|
cliPackageVersion?: string | undefined;
|
|
632
632
|
sourceFiles?: {
|
|
633
|
-
contentHash: string;
|
|
634
633
|
filePath: string;
|
|
634
|
+
contentHash: 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;
|
|
642
641
|
metadata: {
|
|
643
|
-
packageVersion: string;
|
|
644
|
-
contentHash: string;
|
|
645
642
|
tasks: {
|
|
646
643
|
id: string;
|
|
647
644
|
filePath: string;
|
|
@@ -691,8 +688,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
691
688
|
randomize?: boolean | undefined;
|
|
692
689
|
} | undefined;
|
|
693
690
|
machine?: {
|
|
694
|
-
cpu?:
|
|
695
|
-
memory?:
|
|
691
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
692
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
696
693
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
697
694
|
} | undefined;
|
|
698
695
|
triggerSource?: string | undefined;
|
|
@@ -701,20 +698,20 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
701
698
|
timezone: string;
|
|
702
699
|
} | undefined;
|
|
703
700
|
}[];
|
|
701
|
+
contentHash: string;
|
|
702
|
+
packageVersion: string;
|
|
704
703
|
cliPackageVersion?: string | undefined;
|
|
705
704
|
sourceFiles?: {
|
|
706
|
-
contentHash: string;
|
|
707
705
|
filePath: string;
|
|
706
|
+
contentHash: string;
|
|
708
707
|
contents: string;
|
|
709
708
|
taskIds: string[];
|
|
710
709
|
}[] | undefined;
|
|
711
710
|
};
|
|
711
|
+
localOnly: boolean;
|
|
712
712
|
supportsLazyAttempts?: boolean | undefined;
|
|
713
713
|
}, {
|
|
714
|
-
localOnly: boolean;
|
|
715
714
|
metadata: {
|
|
716
|
-
packageVersion: string;
|
|
717
|
-
contentHash: string;
|
|
718
715
|
tasks: {
|
|
719
716
|
id: string;
|
|
720
717
|
filePath: string;
|
|
@@ -764,8 +761,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
764
761
|
randomize?: boolean | undefined;
|
|
765
762
|
} | undefined;
|
|
766
763
|
machine?: {
|
|
767
|
-
cpu?:
|
|
768
|
-
memory?:
|
|
764
|
+
cpu?: 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
765
|
+
memory?: 8 | 1 | 2 | 4 | 0.25 | 0.5 | undefined;
|
|
769
766
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
770
767
|
} | undefined;
|
|
771
768
|
triggerSource?: string | undefined;
|
|
@@ -774,14 +771,17 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
774
771
|
timezone: string;
|
|
775
772
|
} | undefined;
|
|
776
773
|
}[];
|
|
774
|
+
contentHash: string;
|
|
775
|
+
packageVersion: string;
|
|
777
776
|
cliPackageVersion?: string | undefined;
|
|
778
777
|
sourceFiles?: {
|
|
779
|
-
contentHash: string;
|
|
780
778
|
filePath: string;
|
|
779
|
+
contentHash: string;
|
|
781
780
|
contents: string;
|
|
782
781
|
taskIds: string[];
|
|
783
782
|
}[] | undefined;
|
|
784
783
|
};
|
|
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;
|
|
793
794
|
id: string;
|
|
794
795
|
contentHash: string;
|
|
795
|
-
version: string;
|
|
796
796
|
}, {
|
|
797
|
+
version: string;
|
|
797
798
|
id: string;
|
|
798
799
|
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
|
-
batchId: string;
|
|
1746
1745
|
runs: string[];
|
|
1747
|
-
}, {
|
|
1748
1746
|
batchId: string;
|
|
1747
|
+
}, {
|
|
1749
1748
|
runs: string[];
|
|
1749
|
+
batchId: 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" | "
|
|
1759
|
+
status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
|
|
1760
1760
|
id: string;
|
|
1761
1761
|
taskRunId: string;
|
|
1762
1762
|
}, {
|
|
1763
|
-
status: "PENDING" | "
|
|
1763
|
+
status: "PENDING" | "COMPLETED" | "CANCELED" | "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" | "
|
|
1770
|
+
status: "PENDING" | "COMPLETED" | "CANCELED" | "FAILED";
|
|
1771
1771
|
id: string;
|
|
1772
1772
|
taskRunId: string;
|
|
1773
1773
|
}[];
|
|
1774
1774
|
}, {
|
|
1775
1775
|
id: string;
|
|
1776
1776
|
items: {
|
|
1777
|
-
status: "PENDING" | "
|
|
1777
|
+
status: "PENDING" | "COMPLETED" | "CANCELED" | "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;
|
|
1875
1876
|
id: string;
|
|
1876
1877
|
contentHash: string;
|
|
1877
|
-
version: string;
|
|
1878
|
-
shortCode: string;
|
|
1879
1878
|
imageTag: string;
|
|
1879
|
+
shortCode: 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;
|
|
1887
1888
|
id: string;
|
|
1888
1889
|
contentHash: string;
|
|
1889
|
-
version: string;
|
|
1890
|
-
shortCode: string;
|
|
1891
1890
|
imageTag: string;
|
|
1891
|
+
shortCode: string;
|
|
1892
1892
|
externalBuildData?: {
|
|
1893
1893
|
projectId: string;
|
|
1894
1894
|
buildId: string;
|
|
@@ -2018,6 +2018,7 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2018
2018
|
exportName: string;
|
|
2019
2019
|
}>, "many">;
|
|
2020
2020
|
}, "strip", z.ZodTypeAny, {
|
|
2021
|
+
version: string;
|
|
2021
2022
|
id: string;
|
|
2022
2023
|
tasks: {
|
|
2023
2024
|
id: string;
|
|
@@ -2025,8 +2026,8 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2025
2026
|
filePath: string;
|
|
2026
2027
|
exportName: string;
|
|
2027
2028
|
}[];
|
|
2028
|
-
version: string;
|
|
2029
2029
|
}, {
|
|
2030
|
+
version: string;
|
|
2030
2031
|
id: string;
|
|
2031
2032
|
tasks: {
|
|
2032
2033
|
id: string;
|
|
@@ -2034,13 +2035,12 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2034
2035
|
filePath: string;
|
|
2035
2036
|
exportName: string;
|
|
2036
2037
|
}[];
|
|
2037
|
-
version: string;
|
|
2038
2038
|
}>>;
|
|
2039
2039
|
}, "strip", z.ZodTypeAny, {
|
|
2040
|
-
status: "PENDING" | "CANCELED" | "
|
|
2040
|
+
status: "PENDING" | "CANCELED" | "TIMED_OUT" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
|
|
2041
|
+
version: string;
|
|
2041
2042
|
id: string;
|
|
2042
2043
|
contentHash: string;
|
|
2043
|
-
version: string;
|
|
2044
2044
|
shortCode: string;
|
|
2045
2045
|
imageReference?: string | null | undefined;
|
|
2046
2046
|
errorData?: {
|
|
@@ -2050,6 +2050,7 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2050
2050
|
stderr?: string | undefined;
|
|
2051
2051
|
} | null | undefined;
|
|
2052
2052
|
worker?: {
|
|
2053
|
+
version: string;
|
|
2053
2054
|
id: string;
|
|
2054
2055
|
tasks: {
|
|
2055
2056
|
id: string;
|
|
@@ -2057,13 +2058,12 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2057
2058
|
filePath: string;
|
|
2058
2059
|
exportName: string;
|
|
2059
2060
|
}[];
|
|
2060
|
-
version: string;
|
|
2061
2061
|
} | undefined;
|
|
2062
2062
|
}, {
|
|
2063
|
-
status: "PENDING" | "CANCELED" | "
|
|
2063
|
+
status: "PENDING" | "CANCELED" | "TIMED_OUT" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED";
|
|
2064
|
+
version: string;
|
|
2064
2065
|
id: string;
|
|
2065
2066
|
contentHash: string;
|
|
2066
|
-
version: string;
|
|
2067
2067
|
shortCode: string;
|
|
2068
2068
|
imageReference?: string | null | undefined;
|
|
2069
2069
|
errorData?: {
|
|
@@ -2073,6 +2073,7 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2073
2073
|
stderr?: string | undefined;
|
|
2074
2074
|
} | null | undefined;
|
|
2075
2075
|
worker?: {
|
|
2076
|
+
version: string;
|
|
2076
2077
|
id: string;
|
|
2077
2078
|
tasks: {
|
|
2078
2079
|
id: string;
|
|
@@ -2080,7 +2081,6 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2080
2081
|
filePath: string;
|
|
2081
2082
|
exportName: string;
|
|
2082
2083
|
}[];
|
|
2083
|
-
version: string;
|
|
2084
2084
|
} | undefined;
|
|
2085
2085
|
}>;
|
|
2086
2086
|
export type GetDeploymentResponseBody = z.infer<typeof GetDeploymentResponseBody>;
|
|
@@ -2145,17 +2145,17 @@ export declare const ScheduledTaskPayload: z.ZodObject<{
|
|
|
2145
2145
|
upcoming: z.ZodArray<z.ZodDate, "many">;
|
|
2146
2146
|
}, "strip", z.ZodTypeAny, {
|
|
2147
2147
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2148
|
+
timestamp: Date;
|
|
2148
2149
|
timezone: string;
|
|
2149
2150
|
scheduleId: string;
|
|
2150
|
-
timestamp: Date;
|
|
2151
2151
|
upcoming: Date[];
|
|
2152
2152
|
lastTimestamp?: Date | undefined;
|
|
2153
2153
|
externalId?: string | undefined;
|
|
2154
2154
|
}, {
|
|
2155
2155
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2156
|
+
timestamp: Date;
|
|
2156
2157
|
timezone: string;
|
|
2157
2158
|
scheduleId: string;
|
|
2158
|
-
timestamp: Date;
|
|
2159
2159
|
upcoming: Date[];
|
|
2160
2160
|
lastTimestamp?: Date | undefined;
|
|
2161
2161
|
externalId?: string | undefined;
|
|
@@ -2273,12 +2273,12 @@ export declare const ScheduleGenerator: z.ZodObject<{
|
|
|
2273
2273
|
description: z.ZodString;
|
|
2274
2274
|
}, "strip", z.ZodTypeAny, {
|
|
2275
2275
|
type: "CRON";
|
|
2276
|
-
expression: string;
|
|
2277
2276
|
description: string;
|
|
2277
|
+
expression: string;
|
|
2278
2278
|
}, {
|
|
2279
2279
|
type: "CRON";
|
|
2280
|
-
expression: string;
|
|
2281
2280
|
description: string;
|
|
2281
|
+
expression: string;
|
|
2282
2282
|
}>;
|
|
2283
2283
|
export type ScheduleGenerator = z.infer<typeof ScheduleGenerator>;
|
|
2284
2284
|
export declare const ScheduleObject: z.ZodObject<{
|
|
@@ -2294,12 +2294,12 @@ export declare const ScheduleObject: z.ZodObject<{
|
|
|
2294
2294
|
description: z.ZodString;
|
|
2295
2295
|
}, "strip", z.ZodTypeAny, {
|
|
2296
2296
|
type: "CRON";
|
|
2297
|
-
expression: string;
|
|
2298
2297
|
description: string;
|
|
2298
|
+
expression: string;
|
|
2299
2299
|
}, {
|
|
2300
2300
|
type: "CRON";
|
|
2301
|
-
expression: string;
|
|
2302
2301
|
description: string;
|
|
2302
|
+
expression: string;
|
|
2303
2303
|
}>;
|
|
2304
2304
|
timezone: z.ZodString;
|
|
2305
2305
|
nextRun: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -2319,13 +2319,13 @@ export declare const ScheduleObject: z.ZodObject<{
|
|
|
2319
2319
|
}, "strip", z.ZodTypeAny, {
|
|
2320
2320
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2321
2321
|
id: string;
|
|
2322
|
-
timezone: string;
|
|
2323
|
-
task: string;
|
|
2324
2322
|
active: boolean;
|
|
2323
|
+
task: string;
|
|
2324
|
+
timezone: string;
|
|
2325
2325
|
generator: {
|
|
2326
2326
|
type: "CRON";
|
|
2327
|
-
expression: string;
|
|
2328
2327
|
description: string;
|
|
2328
|
+
expression: string;
|
|
2329
2329
|
};
|
|
2330
2330
|
environments: {
|
|
2331
2331
|
type: string;
|
|
@@ -2338,13 +2338,13 @@ export declare const ScheduleObject: z.ZodObject<{
|
|
|
2338
2338
|
}, {
|
|
2339
2339
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2340
2340
|
id: string;
|
|
2341
|
-
timezone: string;
|
|
2342
|
-
task: string;
|
|
2343
2341
|
active: boolean;
|
|
2342
|
+
task: string;
|
|
2343
|
+
timezone: string;
|
|
2344
2344
|
generator: {
|
|
2345
2345
|
type: "CRON";
|
|
2346
|
-
expression: string;
|
|
2347
2346
|
description: string;
|
|
2347
|
+
expression: string;
|
|
2348
2348
|
};
|
|
2349
2349
|
environments: {
|
|
2350
2350
|
type: string;
|
|
@@ -2378,12 +2378,12 @@ export declare const ListSchedulesResult: z.ZodObject<{
|
|
|
2378
2378
|
description: z.ZodString;
|
|
2379
2379
|
}, "strip", z.ZodTypeAny, {
|
|
2380
2380
|
type: "CRON";
|
|
2381
|
-
expression: string;
|
|
2382
2381
|
description: string;
|
|
2382
|
+
expression: string;
|
|
2383
2383
|
}, {
|
|
2384
2384
|
type: "CRON";
|
|
2385
|
-
expression: string;
|
|
2386
2385
|
description: string;
|
|
2386
|
+
expression: string;
|
|
2387
2387
|
}>;
|
|
2388
2388
|
timezone: z.ZodString;
|
|
2389
2389
|
nextRun: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -2403,13 +2403,13 @@ export declare const ListSchedulesResult: z.ZodObject<{
|
|
|
2403
2403
|
}, "strip", z.ZodTypeAny, {
|
|
2404
2404
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2405
2405
|
id: string;
|
|
2406
|
-
timezone: string;
|
|
2407
|
-
task: string;
|
|
2408
2406
|
active: boolean;
|
|
2407
|
+
task: string;
|
|
2408
|
+
timezone: string;
|
|
2409
2409
|
generator: {
|
|
2410
2410
|
type: "CRON";
|
|
2411
|
-
expression: string;
|
|
2412
2411
|
description: string;
|
|
2412
|
+
expression: string;
|
|
2413
2413
|
};
|
|
2414
2414
|
environments: {
|
|
2415
2415
|
type: string;
|
|
@@ -2422,13 +2422,13 @@ export declare const ListSchedulesResult: z.ZodObject<{
|
|
|
2422
2422
|
}, {
|
|
2423
2423
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2424
2424
|
id: string;
|
|
2425
|
-
timezone: string;
|
|
2426
|
-
task: string;
|
|
2427
2425
|
active: boolean;
|
|
2426
|
+
task: string;
|
|
2427
|
+
timezone: string;
|
|
2428
2428
|
generator: {
|
|
2429
2429
|
type: "CRON";
|
|
2430
|
-
expression: string;
|
|
2431
2430
|
description: string;
|
|
2431
|
+
expression: string;
|
|
2432
2432
|
};
|
|
2433
2433
|
environments: {
|
|
2434
2434
|
type: string;
|
|
@@ -2456,13 +2456,13 @@ export declare const ListSchedulesResult: z.ZodObject<{
|
|
|
2456
2456
|
data: {
|
|
2457
2457
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2458
2458
|
id: string;
|
|
2459
|
-
timezone: string;
|
|
2460
|
-
task: string;
|
|
2461
2459
|
active: boolean;
|
|
2460
|
+
task: string;
|
|
2461
|
+
timezone: string;
|
|
2462
2462
|
generator: {
|
|
2463
2463
|
type: "CRON";
|
|
2464
|
-
expression: string;
|
|
2465
2464
|
description: string;
|
|
2465
|
+
expression: string;
|
|
2466
2466
|
};
|
|
2467
2467
|
environments: {
|
|
2468
2468
|
type: string;
|
|
@@ -2482,13 +2482,13 @@ export declare const ListSchedulesResult: z.ZodObject<{
|
|
|
2482
2482
|
data: {
|
|
2483
2483
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2484
2484
|
id: string;
|
|
2485
|
-
timezone: string;
|
|
2486
|
-
task: string;
|
|
2487
2485
|
active: boolean;
|
|
2486
|
+
task: string;
|
|
2487
|
+
timezone: string;
|
|
2488
2488
|
generator: {
|
|
2489
2489
|
type: "CRON";
|
|
2490
|
-
expression: string;
|
|
2491
2490
|
description: string;
|
|
2491
|
+
expression: string;
|
|
2492
2492
|
};
|
|
2493
2493
|
environments: {
|
|
2494
2494
|
type: string;
|
|
@@ -2534,12 +2534,12 @@ export declare const RunEnvironmentDetails: z.ZodObject<{
|
|
|
2534
2534
|
name: z.ZodString;
|
|
2535
2535
|
user: z.ZodOptional<z.ZodString>;
|
|
2536
2536
|
}, "strip", z.ZodTypeAny, {
|
|
2537
|
-
id: string;
|
|
2538
2537
|
name: string;
|
|
2538
|
+
id: string;
|
|
2539
2539
|
user?: string | undefined;
|
|
2540
2540
|
}, {
|
|
2541
|
-
id: string;
|
|
2542
2541
|
name: string;
|
|
2542
|
+
id: string;
|
|
2543
2543
|
user?: string | undefined;
|
|
2544
2544
|
}>;
|
|
2545
2545
|
export type RunEnvironmentDetails = z.infer<typeof RunEnvironmentDetails>;
|
|
@@ -2553,19 +2553,19 @@ export declare const RunScheduleDetails: z.ZodObject<{
|
|
|
2553
2553
|
description: z.ZodString;
|
|
2554
2554
|
}, "strip", z.ZodTypeAny, {
|
|
2555
2555
|
type: "CRON";
|
|
2556
|
-
expression: string;
|
|
2557
2556
|
description: string;
|
|
2557
|
+
expression: string;
|
|
2558
2558
|
}, {
|
|
2559
2559
|
type: "CRON";
|
|
2560
|
-
expression: string;
|
|
2561
2560
|
description: string;
|
|
2561
|
+
expression: string;
|
|
2562
2562
|
}>;
|
|
2563
2563
|
}, "strip", z.ZodTypeAny, {
|
|
2564
2564
|
id: string;
|
|
2565
2565
|
generator: {
|
|
2566
2566
|
type: "CRON";
|
|
2567
|
-
expression: string;
|
|
2568
2567
|
description: string;
|
|
2568
|
+
expression: string;
|
|
2569
2569
|
};
|
|
2570
2570
|
externalId?: string | undefined;
|
|
2571
2571
|
deduplicationKey?: string | undefined;
|
|
@@ -2573,8 +2573,8 @@ export declare const RunScheduleDetails: z.ZodObject<{
|
|
|
2573
2573
|
id: string;
|
|
2574
2574
|
generator: {
|
|
2575
2575
|
type: "CRON";
|
|
2576
|
-
expression: string;
|
|
2577
2576
|
description: string;
|
|
2577
|
+
expression: string;
|
|
2578
2578
|
};
|
|
2579
2579
|
externalId?: string | undefined;
|
|
2580
2580
|
deduplicationKey?: string | undefined;
|
|
@@ -2595,19 +2595,19 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2595
2595
|
description: z.ZodString;
|
|
2596
2596
|
}, "strip", z.ZodTypeAny, {
|
|
2597
2597
|
type: "CRON";
|
|
2598
|
-
expression: string;
|
|
2599
2598
|
description: string;
|
|
2599
|
+
expression: string;
|
|
2600
2600
|
}, {
|
|
2601
2601
|
type: "CRON";
|
|
2602
|
-
expression: string;
|
|
2603
2602
|
description: string;
|
|
2603
|
+
expression: string;
|
|
2604
2604
|
}>;
|
|
2605
2605
|
}, "strip", z.ZodTypeAny, {
|
|
2606
2606
|
id: string;
|
|
2607
2607
|
generator: {
|
|
2608
2608
|
type: "CRON";
|
|
2609
|
-
expression: string;
|
|
2610
2609
|
description: string;
|
|
2610
|
+
expression: string;
|
|
2611
2611
|
};
|
|
2612
2612
|
externalId?: string | undefined;
|
|
2613
2613
|
deduplicationKey?: string | undefined;
|
|
@@ -2615,8 +2615,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2615
2615
|
id: string;
|
|
2616
2616
|
generator: {
|
|
2617
2617
|
type: "CRON";
|
|
2618
|
-
expression: string;
|
|
2619
2618
|
description: string;
|
|
2619
|
+
expression: string;
|
|
2620
2620
|
};
|
|
2621
2621
|
externalId?: string | undefined;
|
|
2622
2622
|
deduplicationKey?: string | undefined;
|
|
@@ -2642,10 +2642,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2642
2642
|
stackTrace?: string | undefined;
|
|
2643
2643
|
}>>;
|
|
2644
2644
|
}, "strip", z.ZodTypeAny, {
|
|
2645
|
-
status: "PENDING" | "
|
|
2645
|
+
status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
|
|
2646
2646
|
id: string;
|
|
2647
|
-
createdAt: Date;
|
|
2648
2647
|
updatedAt: Date;
|
|
2648
|
+
createdAt: Date;
|
|
2649
2649
|
startedAt?: Date | undefined;
|
|
2650
2650
|
completedAt?: Date | undefined;
|
|
2651
2651
|
error?: {
|
|
@@ -2654,10 +2654,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2654
2654
|
stackTrace?: string | undefined;
|
|
2655
2655
|
} | undefined;
|
|
2656
2656
|
}, {
|
|
2657
|
-
status: "PENDING" | "
|
|
2657
|
+
status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
|
|
2658
2658
|
id: string;
|
|
2659
|
-
createdAt: Date;
|
|
2660
2659
|
updatedAt: Date;
|
|
2660
|
+
createdAt: Date;
|
|
2661
2661
|
startedAt?: Date | undefined;
|
|
2662
2662
|
completedAt?: Date | undefined;
|
|
2663
2663
|
error?: {
|
|
@@ -2690,15 +2690,13 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2690
2690
|
baseCostInCents: z.ZodNumber;
|
|
2691
2691
|
durationMs: z.ZodNumber;
|
|
2692
2692
|
}, "strip", z.ZodTypeAny, {
|
|
2693
|
-
status: "
|
|
2693
|
+
status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2694
2694
|
id: string;
|
|
2695
|
-
createdAt: Date;
|
|
2696
|
-
tags: string[];
|
|
2697
2695
|
attempts: ({
|
|
2698
|
-
status: "PENDING" | "
|
|
2696
|
+
status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
|
|
2699
2697
|
id: string;
|
|
2700
|
-
createdAt: Date;
|
|
2701
2698
|
updatedAt: Date;
|
|
2699
|
+
createdAt: Date;
|
|
2702
2700
|
startedAt?: Date | undefined;
|
|
2703
2701
|
completedAt?: Date | undefined;
|
|
2704
2702
|
error?: {
|
|
@@ -2708,6 +2706,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2708
2706
|
} | undefined;
|
|
2709
2707
|
} | undefined)[];
|
|
2710
2708
|
updatedAt: Date;
|
|
2709
|
+
isTest: boolean;
|
|
2710
|
+
createdAt: Date;
|
|
2711
|
+
tags: string[];
|
|
2712
|
+
durationMs: number;
|
|
2713
|
+
costInCents: number;
|
|
2714
|
+
baseCostInCents: number;
|
|
2711
2715
|
taskIdentifier: string;
|
|
2712
2716
|
isQueued: boolean;
|
|
2713
2717
|
isExecuting: boolean;
|
|
@@ -2715,10 +2719,6 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2715
2719
|
isSuccess: boolean;
|
|
2716
2720
|
isFailed: boolean;
|
|
2717
2721
|
isCancelled: boolean;
|
|
2718
|
-
isTest: boolean;
|
|
2719
|
-
costInCents: number;
|
|
2720
|
-
baseCostInCents: number;
|
|
2721
|
-
durationMs: number;
|
|
2722
2722
|
payload?: any;
|
|
2723
2723
|
payloadPresignedUrl?: string | undefined;
|
|
2724
2724
|
output?: any;
|
|
@@ -2727,8 +2727,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2727
2727
|
id: string;
|
|
2728
2728
|
generator: {
|
|
2729
2729
|
type: "CRON";
|
|
2730
|
-
expression: string;
|
|
2731
2730
|
description: string;
|
|
2731
|
+
expression: string;
|
|
2732
2732
|
};
|
|
2733
2733
|
externalId?: string | undefined;
|
|
2734
2734
|
deduplicationKey?: string | undefined;
|
|
@@ -2741,15 +2741,13 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2741
2741
|
ttl?: string | undefined;
|
|
2742
2742
|
expiredAt?: Date | undefined;
|
|
2743
2743
|
}, {
|
|
2744
|
-
status: "
|
|
2744
|
+
status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2745
2745
|
id: string;
|
|
2746
|
-
createdAt: Date;
|
|
2747
|
-
tags: string[];
|
|
2748
2746
|
attempts: ({
|
|
2749
|
-
status: "PENDING" | "
|
|
2747
|
+
status: "PENDING" | "COMPLETED" | "CANCELED" | "EXECUTING" | "FAILED" | "PAUSED";
|
|
2750
2748
|
id: string;
|
|
2751
|
-
createdAt: Date;
|
|
2752
2749
|
updatedAt: Date;
|
|
2750
|
+
createdAt: Date;
|
|
2753
2751
|
startedAt?: Date | undefined;
|
|
2754
2752
|
completedAt?: Date | undefined;
|
|
2755
2753
|
error?: {
|
|
@@ -2759,6 +2757,12 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2759
2757
|
} | undefined;
|
|
2760
2758
|
} | undefined)[];
|
|
2761
2759
|
updatedAt: Date;
|
|
2760
|
+
isTest: boolean;
|
|
2761
|
+
createdAt: Date;
|
|
2762
|
+
tags: string[];
|
|
2763
|
+
durationMs: number;
|
|
2764
|
+
costInCents: number;
|
|
2765
|
+
baseCostInCents: number;
|
|
2762
2766
|
taskIdentifier: string;
|
|
2763
2767
|
isQueued: boolean;
|
|
2764
2768
|
isExecuting: boolean;
|
|
@@ -2766,10 +2770,6 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2766
2770
|
isSuccess: boolean;
|
|
2767
2771
|
isFailed: boolean;
|
|
2768
2772
|
isCancelled: boolean;
|
|
2769
|
-
isTest: boolean;
|
|
2770
|
-
costInCents: number;
|
|
2771
|
-
baseCostInCents: number;
|
|
2772
|
-
durationMs: number;
|
|
2773
2773
|
payload?: any;
|
|
2774
2774
|
payloadPresignedUrl?: string | undefined;
|
|
2775
2775
|
output?: any;
|
|
@@ -2778,8 +2778,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2778
2778
|
id: string;
|
|
2779
2779
|
generator: {
|
|
2780
2780
|
type: "CRON";
|
|
2781
|
-
expression: string;
|
|
2782
2781
|
description: string;
|
|
2782
|
+
expression: string;
|
|
2783
2783
|
};
|
|
2784
2784
|
externalId?: string | undefined;
|
|
2785
2785
|
deduplicationKey?: string | undefined;
|
|
@@ -2799,12 +2799,12 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
2799
2799
|
name: z.ZodString;
|
|
2800
2800
|
user: z.ZodOptional<z.ZodString>;
|
|
2801
2801
|
}, "strip", z.ZodTypeAny, {
|
|
2802
|
-
id: string;
|
|
2803
2802
|
name: string;
|
|
2803
|
+
id: string;
|
|
2804
2804
|
user?: string | undefined;
|
|
2805
2805
|
}, {
|
|
2806
|
-
id: string;
|
|
2807
2806
|
name: string;
|
|
2807
|
+
id: string;
|
|
2808
2808
|
user?: string | undefined;
|
|
2809
2809
|
}>;
|
|
2810
2810
|
id: z.ZodString;
|
|
@@ -2831,11 +2831,15 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
2831
2831
|
baseCostInCents: z.ZodNumber;
|
|
2832
2832
|
durationMs: z.ZodNumber;
|
|
2833
2833
|
}, "strip", z.ZodTypeAny, {
|
|
2834
|
-
status: "
|
|
2834
|
+
status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2835
2835
|
id: string;
|
|
2836
|
+
updatedAt: Date;
|
|
2837
|
+
isTest: boolean;
|
|
2836
2838
|
createdAt: Date;
|
|
2837
2839
|
tags: string[];
|
|
2838
|
-
|
|
2840
|
+
durationMs: number;
|
|
2841
|
+
costInCents: number;
|
|
2842
|
+
baseCostInCents: number;
|
|
2839
2843
|
taskIdentifier: string;
|
|
2840
2844
|
isQueued: boolean;
|
|
2841
2845
|
isExecuting: boolean;
|
|
@@ -2843,13 +2847,9 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
2843
2847
|
isSuccess: boolean;
|
|
2844
2848
|
isFailed: boolean;
|
|
2845
2849
|
isCancelled: boolean;
|
|
2846
|
-
isTest: boolean;
|
|
2847
|
-
costInCents: number;
|
|
2848
|
-
baseCostInCents: number;
|
|
2849
|
-
durationMs: number;
|
|
2850
2850
|
env: {
|
|
2851
|
-
id: string;
|
|
2852
2851
|
name: string;
|
|
2852
|
+
id: string;
|
|
2853
2853
|
user?: string | undefined;
|
|
2854
2854
|
};
|
|
2855
2855
|
idempotencyKey?: string | undefined;
|
|
@@ -2860,11 +2860,15 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
2860
2860
|
ttl?: string | undefined;
|
|
2861
2861
|
expiredAt?: Date | undefined;
|
|
2862
2862
|
}, {
|
|
2863
|
-
status: "
|
|
2863
|
+
status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2864
2864
|
id: string;
|
|
2865
|
+
updatedAt: Date;
|
|
2866
|
+
isTest: boolean;
|
|
2865
2867
|
createdAt: Date;
|
|
2866
2868
|
tags: string[];
|
|
2867
|
-
|
|
2869
|
+
durationMs: number;
|
|
2870
|
+
costInCents: number;
|
|
2871
|
+
baseCostInCents: number;
|
|
2868
2872
|
taskIdentifier: string;
|
|
2869
2873
|
isQueued: boolean;
|
|
2870
2874
|
isExecuting: boolean;
|
|
@@ -2872,13 +2876,9 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
2872
2876
|
isSuccess: boolean;
|
|
2873
2877
|
isFailed: boolean;
|
|
2874
2878
|
isCancelled: boolean;
|
|
2875
|
-
isTest: boolean;
|
|
2876
|
-
costInCents: number;
|
|
2877
|
-
baseCostInCents: number;
|
|
2878
|
-
durationMs: number;
|
|
2879
2879
|
env: {
|
|
2880
|
-
id: string;
|
|
2881
2880
|
name: string;
|
|
2881
|
+
id: string;
|
|
2882
2882
|
user?: string | undefined;
|
|
2883
2883
|
};
|
|
2884
2884
|
idempotencyKey?: string | undefined;
|
|
@@ -2897,12 +2897,12 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
2897
2897
|
name: z.ZodString;
|
|
2898
2898
|
user: z.ZodOptional<z.ZodString>;
|
|
2899
2899
|
}, "strip", z.ZodTypeAny, {
|
|
2900
|
-
id: string;
|
|
2901
2900
|
name: string;
|
|
2901
|
+
id: string;
|
|
2902
2902
|
user?: string | undefined;
|
|
2903
2903
|
}, {
|
|
2904
|
-
id: string;
|
|
2905
2904
|
name: string;
|
|
2905
|
+
id: string;
|
|
2906
2906
|
user?: string | undefined;
|
|
2907
2907
|
}>;
|
|
2908
2908
|
id: z.ZodString;
|
|
@@ -2929,11 +2929,15 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
2929
2929
|
baseCostInCents: z.ZodNumber;
|
|
2930
2930
|
durationMs: z.ZodNumber;
|
|
2931
2931
|
}, "strip", z.ZodTypeAny, {
|
|
2932
|
-
status: "
|
|
2932
|
+
status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2933
2933
|
id: string;
|
|
2934
|
+
updatedAt: Date;
|
|
2935
|
+
isTest: boolean;
|
|
2934
2936
|
createdAt: Date;
|
|
2935
2937
|
tags: string[];
|
|
2936
|
-
|
|
2938
|
+
durationMs: number;
|
|
2939
|
+
costInCents: number;
|
|
2940
|
+
baseCostInCents: number;
|
|
2937
2941
|
taskIdentifier: string;
|
|
2938
2942
|
isQueued: boolean;
|
|
2939
2943
|
isExecuting: boolean;
|
|
@@ -2941,13 +2945,9 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
2941
2945
|
isSuccess: boolean;
|
|
2942
2946
|
isFailed: boolean;
|
|
2943
2947
|
isCancelled: boolean;
|
|
2944
|
-
isTest: boolean;
|
|
2945
|
-
costInCents: number;
|
|
2946
|
-
baseCostInCents: number;
|
|
2947
|
-
durationMs: number;
|
|
2948
2948
|
env: {
|
|
2949
|
-
id: string;
|
|
2950
2949
|
name: string;
|
|
2950
|
+
id: string;
|
|
2951
2951
|
user?: string | undefined;
|
|
2952
2952
|
};
|
|
2953
2953
|
idempotencyKey?: string | undefined;
|
|
@@ -2958,11 +2958,15 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
2958
2958
|
ttl?: string | undefined;
|
|
2959
2959
|
expiredAt?: Date | undefined;
|
|
2960
2960
|
}, {
|
|
2961
|
-
status: "
|
|
2961
|
+
status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2962
2962
|
id: string;
|
|
2963
|
+
updatedAt: Date;
|
|
2964
|
+
isTest: boolean;
|
|
2963
2965
|
createdAt: Date;
|
|
2964
2966
|
tags: string[];
|
|
2965
|
-
|
|
2967
|
+
durationMs: number;
|
|
2968
|
+
costInCents: number;
|
|
2969
|
+
baseCostInCents: number;
|
|
2966
2970
|
taskIdentifier: string;
|
|
2967
2971
|
isQueued: boolean;
|
|
2968
2972
|
isExecuting: boolean;
|
|
@@ -2970,13 +2974,9 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
2970
2974
|
isSuccess: boolean;
|
|
2971
2975
|
isFailed: boolean;
|
|
2972
2976
|
isCancelled: boolean;
|
|
2973
|
-
isTest: boolean;
|
|
2974
|
-
costInCents: number;
|
|
2975
|
-
baseCostInCents: number;
|
|
2976
|
-
durationMs: number;
|
|
2977
2977
|
env: {
|
|
2978
|
-
id: string;
|
|
2979
2978
|
name: string;
|
|
2979
|
+
id: string;
|
|
2980
2980
|
user?: string | undefined;
|
|
2981
2981
|
};
|
|
2982
2982
|
idempotencyKey?: string | undefined;
|
|
@@ -2999,11 +2999,15 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
2999
2999
|
}>;
|
|
3000
3000
|
}, "strip", z.ZodTypeAny, {
|
|
3001
3001
|
data: {
|
|
3002
|
-
status: "
|
|
3002
|
+
status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3003
3003
|
id: string;
|
|
3004
|
+
updatedAt: Date;
|
|
3005
|
+
isTest: boolean;
|
|
3004
3006
|
createdAt: Date;
|
|
3005
3007
|
tags: string[];
|
|
3006
|
-
|
|
3008
|
+
durationMs: number;
|
|
3009
|
+
costInCents: number;
|
|
3010
|
+
baseCostInCents: number;
|
|
3007
3011
|
taskIdentifier: string;
|
|
3008
3012
|
isQueued: boolean;
|
|
3009
3013
|
isExecuting: boolean;
|
|
@@ -3011,13 +3015,9 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3011
3015
|
isSuccess: boolean;
|
|
3012
3016
|
isFailed: boolean;
|
|
3013
3017
|
isCancelled: boolean;
|
|
3014
|
-
isTest: boolean;
|
|
3015
|
-
costInCents: number;
|
|
3016
|
-
baseCostInCents: number;
|
|
3017
|
-
durationMs: number;
|
|
3018
3018
|
env: {
|
|
3019
|
-
id: string;
|
|
3020
3019
|
name: string;
|
|
3020
|
+
id: string;
|
|
3021
3021
|
user?: string | undefined;
|
|
3022
3022
|
};
|
|
3023
3023
|
idempotencyKey?: string | undefined;
|
|
@@ -3034,11 +3034,15 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3034
3034
|
};
|
|
3035
3035
|
}, {
|
|
3036
3036
|
data: {
|
|
3037
|
-
status: "
|
|
3037
|
+
status: "COMPLETED" | "CANCELED" | "QUEUED" | "EXECUTING" | "FAILED" | "WAITING_FOR_DEPLOY" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3038
3038
|
id: string;
|
|
3039
|
+
updatedAt: Date;
|
|
3040
|
+
isTest: boolean;
|
|
3039
3041
|
createdAt: Date;
|
|
3040
3042
|
tags: string[];
|
|
3041
|
-
|
|
3043
|
+
durationMs: number;
|
|
3044
|
+
costInCents: number;
|
|
3045
|
+
baseCostInCents: number;
|
|
3042
3046
|
taskIdentifier: string;
|
|
3043
3047
|
isQueued: boolean;
|
|
3044
3048
|
isExecuting: boolean;
|
|
@@ -3046,13 +3050,9 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3046
3050
|
isSuccess: boolean;
|
|
3047
3051
|
isFailed: boolean;
|
|
3048
3052
|
isCancelled: boolean;
|
|
3049
|
-
isTest: boolean;
|
|
3050
|
-
costInCents: number;
|
|
3051
|
-
baseCostInCents: number;
|
|
3052
|
-
durationMs: number;
|
|
3053
3053
|
env: {
|
|
3054
|
-
id: string;
|
|
3055
3054
|
name: string;
|
|
3055
|
+
id: string;
|
|
3056
3056
|
user?: string | undefined;
|
|
3057
3057
|
};
|
|
3058
3058
|
idempotencyKey?: string | undefined;
|