@trigger.dev/core 0.0.0-prerelease-20240918092613 → 0.0.0-prerelease-20240918162321
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 +3799 -3104
- package/dist/commonjs/v3/schemas/messages.js +28 -14
- package/dist/commonjs/v3/schemas/messages.js.map +1 -1
- package/dist/commonjs/v3/schemas/resources.d.ts +30 -30
- package/dist/commonjs/v3/schemas/schemas.d.ts +460 -460
- package/dist/commonjs/v3/utils/ioSerialization.d.ts +1 -0
- package/dist/commonjs/v3/utils/ioSerialization.js +19 -0
- package/dist/commonjs/v3/utils/ioSerialization.js.map +1 -1
- 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 +3799 -3104
- package/dist/esm/v3/schemas/messages.js +28 -14
- package/dist/esm/v3/schemas/messages.js.map +1 -1
- package/dist/esm/v3/schemas/resources.d.ts +30 -30
- package/dist/esm/v3/schemas/schemas.d.ts +460 -460
- package/dist/esm/v3/utils/ioSerialization.d.ts +1 -0
- package/dist/esm/v3/utils/ioSerialization.js +18 -0
- package/dist/esm/v3/utils/ioSerialization.js.map +1 -1
- 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;
|
|
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?:
|
|
349
|
-
memory?:
|
|
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?:
|
|
353
|
-
memory?:
|
|
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?:
|
|
417
|
-
memory?:
|
|
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?:
|
|
475
|
-
memory?:
|
|
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?:
|
|
551
|
-
memory?:
|
|
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?:
|
|
620
|
-
memory?:
|
|
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?:
|
|
692
|
-
memory?:
|
|
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?:
|
|
765
|
-
memory?:
|
|
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" | "
|
|
1759
|
+
status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED";
|
|
1760
1760
|
id: string;
|
|
1761
1761
|
taskRunId: string;
|
|
1762
1762
|
}, {
|
|
1763
|
-
status: "PENDING" | "
|
|
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" | "
|
|
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" | "
|
|
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
|
-
|
|
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
|
-
|
|
1889
|
+
version: string;
|
|
1891
1890
|
shortCode: string;
|
|
1891
|
+
imageTag: string;
|
|
1892
1892
|
externalBuildData?: {
|
|
1893
1893
|
projectId: string;
|
|
1894
1894
|
buildId: string;
|
|
@@ -2018,7 +2018,6 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2018
2018
|
exportName: string;
|
|
2019
2019
|
}>, "many">;
|
|
2020
2020
|
}, "strip", z.ZodTypeAny, {
|
|
2021
|
-
version: string;
|
|
2022
2021
|
id: string;
|
|
2023
2022
|
tasks: {
|
|
2024
2023
|
id: string;
|
|
@@ -2026,8 +2025,8 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2026
2025
|
filePath: string;
|
|
2027
2026
|
exportName: string;
|
|
2028
2027
|
}[];
|
|
2029
|
-
}, {
|
|
2030
2028
|
version: string;
|
|
2029
|
+
}, {
|
|
2031
2030
|
id: string;
|
|
2032
2031
|
tasks: {
|
|
2033
2032
|
id: string;
|
|
@@ -2035,12 +2034,13 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2035
2034
|
filePath: string;
|
|
2036
2035
|
exportName: string;
|
|
2037
2036
|
}[];
|
|
2037
|
+
version: string;
|
|
2038
2038
|
}>>;
|
|
2039
2039
|
}, "strip", z.ZodTypeAny, {
|
|
2040
|
-
status: "PENDING" | "CANCELED" | "
|
|
2041
|
-
version: string;
|
|
2040
|
+
status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
|
|
2042
2041
|
id: string;
|
|
2043
2042
|
contentHash: string;
|
|
2043
|
+
version: string;
|
|
2044
2044
|
shortCode: string;
|
|
2045
2045
|
imageReference?: string | null | undefined;
|
|
2046
2046
|
errorData?: {
|
|
@@ -2050,7 +2050,6 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2050
2050
|
stderr?: string | undefined;
|
|
2051
2051
|
} | null | undefined;
|
|
2052
2052
|
worker?: {
|
|
2053
|
-
version: string;
|
|
2054
2053
|
id: string;
|
|
2055
2054
|
tasks: {
|
|
2056
2055
|
id: string;
|
|
@@ -2058,12 +2057,13 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2058
2057
|
filePath: string;
|
|
2059
2058
|
exportName: string;
|
|
2060
2059
|
}[];
|
|
2060
|
+
version: string;
|
|
2061
2061
|
} | undefined;
|
|
2062
2062
|
}, {
|
|
2063
|
-
status: "PENDING" | "CANCELED" | "
|
|
2064
|
-
version: string;
|
|
2063
|
+
status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
|
|
2065
2064
|
id: string;
|
|
2066
2065
|
contentHash: string;
|
|
2066
|
+
version: string;
|
|
2067
2067
|
shortCode: string;
|
|
2068
2068
|
imageReference?: string | null | undefined;
|
|
2069
2069
|
errorData?: {
|
|
@@ -2073,7 +2073,6 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2073
2073
|
stderr?: string | undefined;
|
|
2074
2074
|
} | null | undefined;
|
|
2075
2075
|
worker?: {
|
|
2076
|
-
version: string;
|
|
2077
2076
|
id: string;
|
|
2078
2077
|
tasks: {
|
|
2079
2078
|
id: string;
|
|
@@ -2081,6 +2080,7 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2081
2080
|
filePath: string;
|
|
2082
2081
|
exportName: string;
|
|
2083
2082
|
}[];
|
|
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;
|
|
2149
2148
|
timezone: string;
|
|
2150
2149
|
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;
|
|
2157
2156
|
timezone: string;
|
|
2158
2157
|
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
|
-
description: string;
|
|
2277
2276
|
expression: string;
|
|
2277
|
+
description: string;
|
|
2278
2278
|
}, {
|
|
2279
2279
|
type: "CRON";
|
|
2280
|
-
description: string;
|
|
2281
2280
|
expression: string;
|
|
2281
|
+
description: 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
|
-
description: string;
|
|
2298
2297
|
expression: string;
|
|
2298
|
+
description: string;
|
|
2299
2299
|
}, {
|
|
2300
2300
|
type: "CRON";
|
|
2301
|
-
description: string;
|
|
2302
2301
|
expression: string;
|
|
2302
|
+
description: 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
|
-
active: boolean;
|
|
2323
|
-
task: string;
|
|
2324
2322
|
timezone: string;
|
|
2323
|
+
task: string;
|
|
2324
|
+
active: boolean;
|
|
2325
2325
|
generator: {
|
|
2326
2326
|
type: "CRON";
|
|
2327
|
-
description: string;
|
|
2328
2327
|
expression: string;
|
|
2328
|
+
description: 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
|
-
active: boolean;
|
|
2342
|
-
task: string;
|
|
2343
2341
|
timezone: string;
|
|
2342
|
+
task: string;
|
|
2343
|
+
active: boolean;
|
|
2344
2344
|
generator: {
|
|
2345
2345
|
type: "CRON";
|
|
2346
|
-
description: string;
|
|
2347
2346
|
expression: string;
|
|
2347
|
+
description: 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
|
-
description: string;
|
|
2382
2381
|
expression: string;
|
|
2382
|
+
description: string;
|
|
2383
2383
|
}, {
|
|
2384
2384
|
type: "CRON";
|
|
2385
|
-
description: string;
|
|
2386
2385
|
expression: string;
|
|
2386
|
+
description: 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
|
-
active: boolean;
|
|
2407
|
-
task: string;
|
|
2408
2406
|
timezone: string;
|
|
2407
|
+
task: string;
|
|
2408
|
+
active: boolean;
|
|
2409
2409
|
generator: {
|
|
2410
2410
|
type: "CRON";
|
|
2411
|
-
description: string;
|
|
2412
2411
|
expression: string;
|
|
2412
|
+
description: 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
|
-
active: boolean;
|
|
2426
|
-
task: string;
|
|
2427
2425
|
timezone: string;
|
|
2426
|
+
task: string;
|
|
2427
|
+
active: boolean;
|
|
2428
2428
|
generator: {
|
|
2429
2429
|
type: "CRON";
|
|
2430
|
-
description: string;
|
|
2431
2430
|
expression: string;
|
|
2431
|
+
description: 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
|
-
active: boolean;
|
|
2460
|
-
task: string;
|
|
2461
2459
|
timezone: string;
|
|
2460
|
+
task: string;
|
|
2461
|
+
active: boolean;
|
|
2462
2462
|
generator: {
|
|
2463
2463
|
type: "CRON";
|
|
2464
|
-
description: string;
|
|
2465
2464
|
expression: string;
|
|
2465
|
+
description: 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
|
-
active: boolean;
|
|
2486
|
-
task: string;
|
|
2487
2485
|
timezone: string;
|
|
2486
|
+
task: string;
|
|
2487
|
+
active: boolean;
|
|
2488
2488
|
generator: {
|
|
2489
2489
|
type: "CRON";
|
|
2490
|
-
description: string;
|
|
2491
2490
|
expression: string;
|
|
2491
|
+
description: 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
|
-
name: string;
|
|
2538
2537
|
id: string;
|
|
2538
|
+
name: string;
|
|
2539
2539
|
user?: string | undefined;
|
|
2540
2540
|
}, {
|
|
2541
|
-
name: string;
|
|
2542
2541
|
id: string;
|
|
2542
|
+
name: 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
|
-
description: string;
|
|
2557
2556
|
expression: string;
|
|
2557
|
+
description: string;
|
|
2558
2558
|
}, {
|
|
2559
2559
|
type: "CRON";
|
|
2560
|
-
description: string;
|
|
2561
2560
|
expression: string;
|
|
2561
|
+
description: string;
|
|
2562
2562
|
}>;
|
|
2563
2563
|
}, "strip", z.ZodTypeAny, {
|
|
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;
|
|
@@ -2573,8 +2573,8 @@ export declare const RunScheduleDetails: z.ZodObject<{
|
|
|
2573
2573
|
id: string;
|
|
2574
2574
|
generator: {
|
|
2575
2575
|
type: "CRON";
|
|
2576
|
-
description: string;
|
|
2577
2576
|
expression: string;
|
|
2577
|
+
description: 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
|
-
description: string;
|
|
2599
2598
|
expression: string;
|
|
2599
|
+
description: string;
|
|
2600
2600
|
}, {
|
|
2601
2601
|
type: "CRON";
|
|
2602
|
-
description: string;
|
|
2603
2602
|
expression: string;
|
|
2603
|
+
description: string;
|
|
2604
2604
|
}>;
|
|
2605
2605
|
}, "strip", z.ZodTypeAny, {
|
|
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;
|
|
@@ -2615,8 +2615,8 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2615
2615
|
id: string;
|
|
2616
2616
|
generator: {
|
|
2617
2617
|
type: "CRON";
|
|
2618
|
-
description: string;
|
|
2619
2618
|
expression: string;
|
|
2619
|
+
description: 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" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
|
|
2646
2646
|
id: string;
|
|
2647
|
-
updatedAt: Date;
|
|
2648
2647
|
createdAt: Date;
|
|
2648
|
+
updatedAt: 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" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
|
|
2658
2658
|
id: string;
|
|
2659
|
-
updatedAt: Date;
|
|
2660
2659
|
createdAt: Date;
|
|
2660
|
+
updatedAt: Date;
|
|
2661
2661
|
startedAt?: Date | undefined;
|
|
2662
2662
|
completedAt?: Date | undefined;
|
|
2663
2663
|
error?: {
|
|
@@ -2690,13 +2690,15 @@ 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: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2694
2694
|
id: string;
|
|
2695
|
+
createdAt: Date;
|
|
2696
|
+
tags: string[];
|
|
2695
2697
|
attempts: ({
|
|
2696
|
-
status: "PENDING" | "
|
|
2698
|
+
status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
|
|
2697
2699
|
id: string;
|
|
2698
|
-
updatedAt: Date;
|
|
2699
2700
|
createdAt: Date;
|
|
2701
|
+
updatedAt: Date;
|
|
2700
2702
|
startedAt?: Date | undefined;
|
|
2701
2703
|
completedAt?: Date | undefined;
|
|
2702
2704
|
error?: {
|
|
@@ -2706,12 +2708,6 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2706
2708
|
} | undefined;
|
|
2707
2709
|
} | undefined)[];
|
|
2708
2710
|
updatedAt: Date;
|
|
2709
|
-
isTest: boolean;
|
|
2710
|
-
createdAt: Date;
|
|
2711
|
-
tags: string[];
|
|
2712
|
-
durationMs: number;
|
|
2713
|
-
costInCents: number;
|
|
2714
|
-
baseCostInCents: number;
|
|
2715
2711
|
taskIdentifier: string;
|
|
2716
2712
|
isQueued: boolean;
|
|
2717
2713
|
isExecuting: boolean;
|
|
@@ -2719,6 +2715,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2719
2715
|
isSuccess: boolean;
|
|
2720
2716
|
isFailed: boolean;
|
|
2721
2717
|
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
|
-
description: string;
|
|
2731
2730
|
expression: string;
|
|
2731
|
+
description: string;
|
|
2732
2732
|
};
|
|
2733
2733
|
externalId?: string | undefined;
|
|
2734
2734
|
deduplicationKey?: string | undefined;
|
|
@@ -2741,13 +2741,15 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2741
2741
|
ttl?: string | undefined;
|
|
2742
2742
|
expiredAt?: Date | undefined;
|
|
2743
2743
|
}, {
|
|
2744
|
-
status: "
|
|
2744
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2745
2745
|
id: string;
|
|
2746
|
+
createdAt: Date;
|
|
2747
|
+
tags: string[];
|
|
2746
2748
|
attempts: ({
|
|
2747
|
-
status: "PENDING" | "
|
|
2749
|
+
status: "PENDING" | "CANCELED" | "COMPLETED" | "FAILED" | "EXECUTING" | "PAUSED";
|
|
2748
2750
|
id: string;
|
|
2749
|
-
updatedAt: Date;
|
|
2750
2751
|
createdAt: Date;
|
|
2752
|
+
updatedAt: Date;
|
|
2751
2753
|
startedAt?: Date | undefined;
|
|
2752
2754
|
completedAt?: Date | undefined;
|
|
2753
2755
|
error?: {
|
|
@@ -2757,12 +2759,6 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2757
2759
|
} | undefined;
|
|
2758
2760
|
} | undefined)[];
|
|
2759
2761
|
updatedAt: Date;
|
|
2760
|
-
isTest: boolean;
|
|
2761
|
-
createdAt: Date;
|
|
2762
|
-
tags: string[];
|
|
2763
|
-
durationMs: number;
|
|
2764
|
-
costInCents: number;
|
|
2765
|
-
baseCostInCents: number;
|
|
2766
2762
|
taskIdentifier: string;
|
|
2767
2763
|
isQueued: boolean;
|
|
2768
2764
|
isExecuting: boolean;
|
|
@@ -2770,6 +2766,10 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2770
2766
|
isSuccess: boolean;
|
|
2771
2767
|
isFailed: boolean;
|
|
2772
2768
|
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
|
-
description: string;
|
|
2782
2781
|
expression: string;
|
|
2782
|
+
description: 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
|
-
name: string;
|
|
2803
2802
|
id: string;
|
|
2803
|
+
name: string;
|
|
2804
2804
|
user?: string | undefined;
|
|
2805
2805
|
}, {
|
|
2806
|
-
name: string;
|
|
2807
2806
|
id: string;
|
|
2807
|
+
name: string;
|
|
2808
2808
|
user?: string | undefined;
|
|
2809
2809
|
}>;
|
|
2810
2810
|
id: z.ZodString;
|
|
@@ -2831,15 +2831,11 @@ 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: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2835
2835
|
id: string;
|
|
2836
|
-
updatedAt: Date;
|
|
2837
|
-
isTest: boolean;
|
|
2838
2836
|
createdAt: Date;
|
|
2839
2837
|
tags: string[];
|
|
2840
|
-
|
|
2841
|
-
costInCents: number;
|
|
2842
|
-
baseCostInCents: number;
|
|
2838
|
+
updatedAt: Date;
|
|
2843
2839
|
taskIdentifier: string;
|
|
2844
2840
|
isQueued: boolean;
|
|
2845
2841
|
isExecuting: boolean;
|
|
@@ -2847,9 +2843,13 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
2847
2843
|
isSuccess: boolean;
|
|
2848
2844
|
isFailed: boolean;
|
|
2849
2845
|
isCancelled: boolean;
|
|
2846
|
+
isTest: boolean;
|
|
2847
|
+
costInCents: number;
|
|
2848
|
+
baseCostInCents: number;
|
|
2849
|
+
durationMs: number;
|
|
2850
2850
|
env: {
|
|
2851
|
-
name: string;
|
|
2852
2851
|
id: string;
|
|
2852
|
+
name: string;
|
|
2853
2853
|
user?: string | undefined;
|
|
2854
2854
|
};
|
|
2855
2855
|
idempotencyKey?: string | undefined;
|
|
@@ -2860,15 +2860,11 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
2860
2860
|
ttl?: string | undefined;
|
|
2861
2861
|
expiredAt?: Date | undefined;
|
|
2862
2862
|
}, {
|
|
2863
|
-
status: "
|
|
2863
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2864
2864
|
id: string;
|
|
2865
|
-
updatedAt: Date;
|
|
2866
|
-
isTest: boolean;
|
|
2867
2865
|
createdAt: Date;
|
|
2868
2866
|
tags: string[];
|
|
2869
|
-
|
|
2870
|
-
costInCents: number;
|
|
2871
|
-
baseCostInCents: number;
|
|
2867
|
+
updatedAt: Date;
|
|
2872
2868
|
taskIdentifier: string;
|
|
2873
2869
|
isQueued: boolean;
|
|
2874
2870
|
isExecuting: boolean;
|
|
@@ -2876,9 +2872,13 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
2876
2872
|
isSuccess: boolean;
|
|
2877
2873
|
isFailed: boolean;
|
|
2878
2874
|
isCancelled: boolean;
|
|
2875
|
+
isTest: boolean;
|
|
2876
|
+
costInCents: number;
|
|
2877
|
+
baseCostInCents: number;
|
|
2878
|
+
durationMs: number;
|
|
2879
2879
|
env: {
|
|
2880
|
-
name: string;
|
|
2881
2880
|
id: string;
|
|
2881
|
+
name: 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
|
-
name: string;
|
|
2901
2900
|
id: string;
|
|
2901
|
+
name: string;
|
|
2902
2902
|
user?: string | undefined;
|
|
2903
2903
|
}, {
|
|
2904
|
-
name: string;
|
|
2905
2904
|
id: string;
|
|
2905
|
+
name: string;
|
|
2906
2906
|
user?: string | undefined;
|
|
2907
2907
|
}>;
|
|
2908
2908
|
id: z.ZodString;
|
|
@@ -2929,15 +2929,11 @@ 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: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2933
2933
|
id: string;
|
|
2934
|
-
updatedAt: Date;
|
|
2935
|
-
isTest: boolean;
|
|
2936
2934
|
createdAt: Date;
|
|
2937
2935
|
tags: string[];
|
|
2938
|
-
|
|
2939
|
-
costInCents: number;
|
|
2940
|
-
baseCostInCents: number;
|
|
2936
|
+
updatedAt: Date;
|
|
2941
2937
|
taskIdentifier: string;
|
|
2942
2938
|
isQueued: boolean;
|
|
2943
2939
|
isExecuting: boolean;
|
|
@@ -2945,9 +2941,13 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
2945
2941
|
isSuccess: boolean;
|
|
2946
2942
|
isFailed: boolean;
|
|
2947
2943
|
isCancelled: boolean;
|
|
2944
|
+
isTest: boolean;
|
|
2945
|
+
costInCents: number;
|
|
2946
|
+
baseCostInCents: number;
|
|
2947
|
+
durationMs: number;
|
|
2948
2948
|
env: {
|
|
2949
|
-
name: string;
|
|
2950
2949
|
id: string;
|
|
2950
|
+
name: string;
|
|
2951
2951
|
user?: string | undefined;
|
|
2952
2952
|
};
|
|
2953
2953
|
idempotencyKey?: string | undefined;
|
|
@@ -2958,15 +2958,11 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
2958
2958
|
ttl?: string | undefined;
|
|
2959
2959
|
expiredAt?: Date | undefined;
|
|
2960
2960
|
}, {
|
|
2961
|
-
status: "
|
|
2961
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2962
2962
|
id: string;
|
|
2963
|
-
updatedAt: Date;
|
|
2964
|
-
isTest: boolean;
|
|
2965
2963
|
createdAt: Date;
|
|
2966
2964
|
tags: string[];
|
|
2967
|
-
|
|
2968
|
-
costInCents: number;
|
|
2969
|
-
baseCostInCents: number;
|
|
2965
|
+
updatedAt: Date;
|
|
2970
2966
|
taskIdentifier: string;
|
|
2971
2967
|
isQueued: boolean;
|
|
2972
2968
|
isExecuting: boolean;
|
|
@@ -2974,9 +2970,13 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
2974
2970
|
isSuccess: boolean;
|
|
2975
2971
|
isFailed: boolean;
|
|
2976
2972
|
isCancelled: boolean;
|
|
2973
|
+
isTest: boolean;
|
|
2974
|
+
costInCents: number;
|
|
2975
|
+
baseCostInCents: number;
|
|
2976
|
+
durationMs: number;
|
|
2977
2977
|
env: {
|
|
2978
|
-
name: string;
|
|
2979
2978
|
id: string;
|
|
2979
|
+
name: string;
|
|
2980
2980
|
user?: string | undefined;
|
|
2981
2981
|
};
|
|
2982
2982
|
idempotencyKey?: string | undefined;
|
|
@@ -2999,15 +2999,11 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
2999
2999
|
}>;
|
|
3000
3000
|
}, "strip", z.ZodTypeAny, {
|
|
3001
3001
|
data: {
|
|
3002
|
-
status: "
|
|
3002
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3003
3003
|
id: string;
|
|
3004
|
-
updatedAt: Date;
|
|
3005
|
-
isTest: boolean;
|
|
3006
3004
|
createdAt: Date;
|
|
3007
3005
|
tags: string[];
|
|
3008
|
-
|
|
3009
|
-
costInCents: number;
|
|
3010
|
-
baseCostInCents: number;
|
|
3006
|
+
updatedAt: Date;
|
|
3011
3007
|
taskIdentifier: string;
|
|
3012
3008
|
isQueued: boolean;
|
|
3013
3009
|
isExecuting: boolean;
|
|
@@ -3015,9 +3011,13 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3015
3011
|
isSuccess: boolean;
|
|
3016
3012
|
isFailed: boolean;
|
|
3017
3013
|
isCancelled: boolean;
|
|
3014
|
+
isTest: boolean;
|
|
3015
|
+
costInCents: number;
|
|
3016
|
+
baseCostInCents: number;
|
|
3017
|
+
durationMs: number;
|
|
3018
3018
|
env: {
|
|
3019
|
-
name: string;
|
|
3020
3019
|
id: string;
|
|
3020
|
+
name: string;
|
|
3021
3021
|
user?: string | undefined;
|
|
3022
3022
|
};
|
|
3023
3023
|
idempotencyKey?: string | undefined;
|
|
@@ -3034,15 +3034,11 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3034
3034
|
};
|
|
3035
3035
|
}, {
|
|
3036
3036
|
data: {
|
|
3037
|
-
status: "
|
|
3037
|
+
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3038
3038
|
id: string;
|
|
3039
|
-
updatedAt: Date;
|
|
3040
|
-
isTest: boolean;
|
|
3041
3039
|
createdAt: Date;
|
|
3042
3040
|
tags: string[];
|
|
3043
|
-
|
|
3044
|
-
costInCents: number;
|
|
3045
|
-
baseCostInCents: number;
|
|
3041
|
+
updatedAt: Date;
|
|
3046
3042
|
taskIdentifier: string;
|
|
3047
3043
|
isQueued: boolean;
|
|
3048
3044
|
isExecuting: boolean;
|
|
@@ -3050,9 +3046,13 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3050
3046
|
isSuccess: boolean;
|
|
3051
3047
|
isFailed: boolean;
|
|
3052
3048
|
isCancelled: boolean;
|
|
3049
|
+
isTest: boolean;
|
|
3050
|
+
costInCents: number;
|
|
3051
|
+
baseCostInCents: number;
|
|
3052
|
+
durationMs: number;
|
|
3053
3053
|
env: {
|
|
3054
|
-
name: string;
|
|
3055
3054
|
id: string;
|
|
3055
|
+
name: string;
|
|
3056
3056
|
user?: string | undefined;
|
|
3057
3057
|
};
|
|
3058
3058
|
idempotencyKey?: string | undefined;
|