@trigger.dev/core 0.0.0-prerelease-20240920143613 → 0.0.0-prerelease-20240926083759
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/core.js +18 -1
- package/dist/commonjs/v3/apiClient/core.js.map +1 -1
- package/dist/commonjs/v3/apiClient/index.d.ts +59 -48
- package/dist/commonjs/v3/apiClient/index.js +7 -2
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/apiClientManager/index.d.ts +5 -0
- package/dist/commonjs/v3/apiClientManager/index.js +28 -1
- package/dist/commonjs/v3/apiClientManager/index.js.map +1 -1
- package/dist/commonjs/v3/index.d.ts +1 -0
- package/dist/commonjs/v3/index.js +1 -0
- package/dist/commonjs/v3/index.js.map +1 -1
- package/dist/commonjs/v3/run-metadata-api.d.ts +2 -0
- package/dist/commonjs/v3/run-metadata-api.js +8 -0
- package/dist/commonjs/v3/run-metadata-api.js.map +1 -0
- package/dist/commonjs/v3/runMetadata/index.d.ts +14 -0
- package/dist/commonjs/v3/runMetadata/index.js +60 -0
- package/dist/commonjs/v3/runMetadata/index.js.map +1 -0
- package/dist/commonjs/v3/schemas/api.d.ts +308 -230
- package/dist/commonjs/v3/schemas/api.js +12 -1
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +52 -52
- package/dist/commonjs/v3/schemas/common.d.ts +109 -100
- package/dist/commonjs/v3/schemas/common.js +3 -1
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/messages.d.ts +2221 -2104
- package/dist/commonjs/v3/schemas/resources.d.ts +28 -28
- package/dist/commonjs/v3/schemas/schemas.d.ts +276 -257
- package/dist/commonjs/v3/workers/taskExecutor.js +12 -8
- package/dist/commonjs/v3/workers/taskExecutor.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/apiClient/core.js +18 -1
- package/dist/esm/v3/apiClient/core.js.map +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +59 -48
- package/dist/esm/v3/apiClient/index.js +8 -3
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/apiClientManager/index.d.ts +5 -0
- package/dist/esm/v3/apiClientManager/index.js +26 -0
- package/dist/esm/v3/apiClientManager/index.js.map +1 -1
- package/dist/esm/v3/index.d.ts +1 -0
- package/dist/esm/v3/index.js +1 -0
- package/dist/esm/v3/index.js.map +1 -1
- package/dist/esm/v3/run-metadata-api.d.ts +2 -0
- package/dist/esm/v3/run-metadata-api.js +5 -0
- package/dist/esm/v3/run-metadata-api.js.map +1 -0
- package/dist/esm/v3/runMetadata/index.d.ts +14 -0
- package/dist/esm/v3/runMetadata/index.js +56 -0
- package/dist/esm/v3/runMetadata/index.js.map +1 -0
- package/dist/esm/v3/schemas/api.d.ts +308 -230
- package/dist/esm/v3/schemas/api.js +11 -0
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +52 -52
- package/dist/esm/v3/schemas/common.d.ts +109 -100
- package/dist/esm/v3/schemas/common.js +3 -1
- package/dist/esm/v3/schemas/common.js.map +1 -1
- package/dist/esm/v3/schemas/messages.d.ts +2183 -2066
- package/dist/esm/v3/schemas/resources.d.ts +28 -28
- package/dist/esm/v3/schemas/schemas.d.ts +276 -257
- package/dist/esm/v3/workers/taskExecutor.js +4 -0
- package/dist/esm/v3/workers/taskExecutor.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
|
-
slug: string;
|
|
30
29
|
createdAt: Date;
|
|
30
|
+
slug: string;
|
|
31
31
|
title: string;
|
|
32
32
|
}, {
|
|
33
33
|
id: string;
|
|
34
|
-
slug: string;
|
|
35
34
|
createdAt: Date;
|
|
35
|
+
slug: string;
|
|
36
36
|
title: string;
|
|
37
37
|
}>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
id: string;
|
|
40
|
-
externalRef: string;
|
|
41
39
|
name: string;
|
|
42
|
-
|
|
40
|
+
id: string;
|
|
43
41
|
createdAt: Date;
|
|
42
|
+
slug: string;
|
|
44
43
|
organization: {
|
|
45
44
|
id: string;
|
|
46
|
-
slug: string;
|
|
47
45
|
createdAt: Date;
|
|
46
|
+
slug: string;
|
|
48
47
|
title: string;
|
|
49
48
|
};
|
|
50
|
-
}, {
|
|
51
|
-
id: string;
|
|
52
49
|
externalRef: string;
|
|
50
|
+
}, {
|
|
53
51
|
name: string;
|
|
54
|
-
|
|
52
|
+
id: string;
|
|
55
53
|
createdAt: Date;
|
|
54
|
+
slug: string;
|
|
56
55
|
organization: {
|
|
57
56
|
id: string;
|
|
58
|
-
slug: string;
|
|
59
57
|
createdAt: Date;
|
|
58
|
+
slug: string;
|
|
60
59
|
title: string;
|
|
61
60
|
};
|
|
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
|
-
slug: string;
|
|
78
77
|
createdAt: Date;
|
|
78
|
+
slug: string;
|
|
79
79
|
title: string;
|
|
80
80
|
}, {
|
|
81
81
|
id: string;
|
|
82
|
-
slug: string;
|
|
83
82
|
createdAt: Date;
|
|
83
|
+
slug: string;
|
|
84
84
|
title: string;
|
|
85
85
|
}>;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
|
-
id: string;
|
|
88
|
-
externalRef: string;
|
|
89
87
|
name: string;
|
|
90
|
-
|
|
88
|
+
id: string;
|
|
91
89
|
createdAt: Date;
|
|
90
|
+
slug: string;
|
|
92
91
|
organization: {
|
|
93
92
|
id: string;
|
|
94
|
-
slug: string;
|
|
95
93
|
createdAt: Date;
|
|
94
|
+
slug: string;
|
|
96
95
|
title: string;
|
|
97
96
|
};
|
|
98
|
-
}, {
|
|
99
|
-
id: string;
|
|
100
97
|
externalRef: string;
|
|
98
|
+
}, {
|
|
101
99
|
name: string;
|
|
102
|
-
|
|
100
|
+
id: string;
|
|
103
101
|
createdAt: Date;
|
|
102
|
+
slug: string;
|
|
104
103
|
organization: {
|
|
105
104
|
id: string;
|
|
106
|
-
slug: string;
|
|
107
105
|
createdAt: Date;
|
|
106
|
+
slug: string;
|
|
108
107
|
title: string;
|
|
109
108
|
};
|
|
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?: 2 | 1 |
|
|
349
|
-
memory?: 2 | 1 |
|
|
348
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
349
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
350
350
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
351
351
|
}, {
|
|
352
|
-
cpu?: 2 | 1 |
|
|
353
|
-
memory?: 2 | 1 |
|
|
352
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
353
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 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?: 2 | 1 |
|
|
417
|
-
memory?: 2 | 1 |
|
|
416
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
417
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 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?: 2 | 1 |
|
|
475
|
-
memory?: 2 | 1 |
|
|
474
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
475
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 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,19 +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
|
-
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
501
|
contentHash: string;
|
|
502
|
+
packageVersion: string;
|
|
503
503
|
tasks: {
|
|
504
504
|
id: string;
|
|
505
505
|
filePath: string;
|
|
@@ -549,8 +549,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
549
549
|
randomize?: boolean | undefined;
|
|
550
550
|
} | undefined;
|
|
551
551
|
machine?: {
|
|
552
|
-
cpu?: 2 | 1 |
|
|
553
|
-
memory?: 2 | 1 |
|
|
552
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
553
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
554
554
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
555
555
|
} | undefined;
|
|
556
556
|
triggerSource?: string | undefined;
|
|
@@ -561,14 +561,14 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
561
561
|
}[];
|
|
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
570
|
contentHash: string;
|
|
571
|
+
packageVersion: string;
|
|
572
572
|
tasks: {
|
|
573
573
|
id: string;
|
|
574
574
|
filePath: string;
|
|
@@ -618,8 +618,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
618
618
|
randomize?: boolean | undefined;
|
|
619
619
|
} | undefined;
|
|
620
620
|
machine?: {
|
|
621
|
-
cpu?: 2 | 1 |
|
|
622
|
-
memory?: 2 | 1 |
|
|
621
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
622
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
623
623
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
624
624
|
} | undefined;
|
|
625
625
|
triggerSource?: string | undefined;
|
|
@@ -630,18 +630,17 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
630
630
|
}[];
|
|
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
642
|
contentHash: string;
|
|
643
|
+
packageVersion: string;
|
|
645
644
|
tasks: {
|
|
646
645
|
id: string;
|
|
647
646
|
filePath: string;
|
|
@@ -691,8 +690,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
691
690
|
randomize?: boolean | undefined;
|
|
692
691
|
} | undefined;
|
|
693
692
|
machine?: {
|
|
694
|
-
cpu?: 2 | 1 |
|
|
695
|
-
memory?: 2 | 1 |
|
|
693
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
694
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
696
695
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
697
696
|
} | undefined;
|
|
698
697
|
triggerSource?: string | undefined;
|
|
@@ -703,18 +702,18 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
703
702
|
}[];
|
|
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
715
|
contentHash: string;
|
|
716
|
+
packageVersion: string;
|
|
718
717
|
tasks: {
|
|
719
718
|
id: string;
|
|
720
719
|
filePath: string;
|
|
@@ -764,8 +763,8 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
764
763
|
randomize?: boolean | undefined;
|
|
765
764
|
} | undefined;
|
|
766
765
|
machine?: {
|
|
767
|
-
cpu?: 2 | 1 |
|
|
768
|
-
memory?: 2 | 1 |
|
|
766
|
+
cpu?: 2 | 1 | 0.25 | 0.5 | 4 | undefined;
|
|
767
|
+
memory?: 2 | 1 | 0.25 | 0.5 | 4 | 8 | undefined;
|
|
769
768
|
preset?: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x" | undefined;
|
|
770
769
|
} | undefined;
|
|
771
770
|
triggerSource?: string | undefined;
|
|
@@ -776,12 +775,13 @@ export declare const CreateBackgroundWorkerRequestBody: z.ZodObject<{
|
|
|
776
775
|
}[];
|
|
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>;
|
|
@@ -791,12 +791,12 @@ export declare const CreateBackgroundWorkerResponse: z.ZodObject<{
|
|
|
791
791
|
contentHash: z.ZodString;
|
|
792
792
|
}, "strip", z.ZodTypeAny, {
|
|
793
793
|
id: string;
|
|
794
|
-
contentHash: string;
|
|
795
794
|
version: string;
|
|
795
|
+
contentHash: string;
|
|
796
796
|
}, {
|
|
797
797
|
id: string;
|
|
798
|
-
contentHash: string;
|
|
799
798
|
version: string;
|
|
799
|
+
contentHash: 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">]>;
|
|
@@ -1003,6 +1003,8 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
1003
1003
|
ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1004
1004
|
tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1005
1005
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
1006
|
+
metadata: z.ZodAny;
|
|
1007
|
+
metadataType: z.ZodOptional<z.ZodString>;
|
|
1006
1008
|
}, "strip", z.ZodTypeAny, {
|
|
1007
1009
|
dependentAttempt?: string | undefined;
|
|
1008
1010
|
parentAttempt?: string | undefined;
|
|
@@ -1054,6 +1056,8 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
1054
1056
|
ttl?: string | number | undefined;
|
|
1055
1057
|
tags?: string | string[] | undefined;
|
|
1056
1058
|
maxAttempts?: number | undefined;
|
|
1059
|
+
metadata?: any;
|
|
1060
|
+
metadataType?: string | undefined;
|
|
1057
1061
|
}, {
|
|
1058
1062
|
dependentAttempt?: string | undefined;
|
|
1059
1063
|
parentAttempt?: string | undefined;
|
|
@@ -1105,6 +1109,8 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
1105
1109
|
ttl?: string | number | undefined;
|
|
1106
1110
|
tags?: string | string[] | undefined;
|
|
1107
1111
|
maxAttempts?: number | undefined;
|
|
1112
|
+
metadata?: any;
|
|
1113
|
+
metadataType?: string | undefined;
|
|
1108
1114
|
}>>;
|
|
1109
1115
|
}, "strip", z.ZodTypeAny, {
|
|
1110
1116
|
payload?: any;
|
|
@@ -1160,6 +1166,8 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
1160
1166
|
ttl?: string | number | undefined;
|
|
1161
1167
|
tags?: string | string[] | undefined;
|
|
1162
1168
|
maxAttempts?: number | undefined;
|
|
1169
|
+
metadata?: any;
|
|
1170
|
+
metadataType?: string | undefined;
|
|
1163
1171
|
} | undefined;
|
|
1164
1172
|
}, {
|
|
1165
1173
|
payload?: any;
|
|
@@ -1215,6 +1223,8 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
1215
1223
|
ttl?: string | number | undefined;
|
|
1216
1224
|
tags?: string | string[] | undefined;
|
|
1217
1225
|
maxAttempts?: number | undefined;
|
|
1226
|
+
metadata?: any;
|
|
1227
|
+
metadataType?: string | undefined;
|
|
1218
1228
|
} | undefined;
|
|
1219
1229
|
}>;
|
|
1220
1230
|
export type TriggerTaskRequestBody = z.infer<typeof TriggerTaskRequestBody>;
|
|
@@ -1429,6 +1439,8 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1429
1439
|
ttl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
1430
1440
|
tags: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1431
1441
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
1442
|
+
metadata: z.ZodAny;
|
|
1443
|
+
metadataType: z.ZodOptional<z.ZodString>;
|
|
1432
1444
|
}, "strip", z.ZodTypeAny, {
|
|
1433
1445
|
dependentAttempt?: string | undefined;
|
|
1434
1446
|
parentAttempt?: string | undefined;
|
|
@@ -1480,6 +1492,8 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1480
1492
|
ttl?: string | number | undefined;
|
|
1481
1493
|
tags?: string | string[] | undefined;
|
|
1482
1494
|
maxAttempts?: number | undefined;
|
|
1495
|
+
metadata?: any;
|
|
1496
|
+
metadataType?: string | undefined;
|
|
1483
1497
|
}, {
|
|
1484
1498
|
dependentAttempt?: string | undefined;
|
|
1485
1499
|
parentAttempt?: string | undefined;
|
|
@@ -1531,6 +1545,8 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1531
1545
|
ttl?: string | number | undefined;
|
|
1532
1546
|
tags?: string | string[] | undefined;
|
|
1533
1547
|
maxAttempts?: number | undefined;
|
|
1548
|
+
metadata?: any;
|
|
1549
|
+
metadataType?: string | undefined;
|
|
1534
1550
|
}>>;
|
|
1535
1551
|
}, "strip", z.ZodTypeAny, {
|
|
1536
1552
|
payload?: any;
|
|
@@ -1586,6 +1602,8 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1586
1602
|
ttl?: string | number | undefined;
|
|
1587
1603
|
tags?: string | string[] | undefined;
|
|
1588
1604
|
maxAttempts?: number | undefined;
|
|
1605
|
+
metadata?: any;
|
|
1606
|
+
metadataType?: string | undefined;
|
|
1589
1607
|
} | undefined;
|
|
1590
1608
|
}, {
|
|
1591
1609
|
payload?: any;
|
|
@@ -1641,6 +1659,8 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1641
1659
|
ttl?: string | number | undefined;
|
|
1642
1660
|
tags?: string | string[] | undefined;
|
|
1643
1661
|
maxAttempts?: number | undefined;
|
|
1662
|
+
metadata?: any;
|
|
1663
|
+
metadataType?: string | undefined;
|
|
1644
1664
|
} | undefined;
|
|
1645
1665
|
}>, "many">;
|
|
1646
1666
|
dependentAttempt: z.ZodOptional<z.ZodString>;
|
|
@@ -1699,6 +1719,8 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1699
1719
|
ttl?: string | number | undefined;
|
|
1700
1720
|
tags?: string | string[] | undefined;
|
|
1701
1721
|
maxAttempts?: number | undefined;
|
|
1722
|
+
metadata?: any;
|
|
1723
|
+
metadataType?: string | undefined;
|
|
1702
1724
|
} | undefined;
|
|
1703
1725
|
}[];
|
|
1704
1726
|
dependentAttempt?: string | undefined;
|
|
@@ -1757,6 +1779,8 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1757
1779
|
ttl?: string | number | undefined;
|
|
1758
1780
|
tags?: string | string[] | undefined;
|
|
1759
1781
|
maxAttempts?: number | undefined;
|
|
1782
|
+
metadata?: any;
|
|
1783
|
+
metadataType?: string | undefined;
|
|
1760
1784
|
} | undefined;
|
|
1761
1785
|
}[];
|
|
1762
1786
|
dependentAttempt?: string | undefined;
|
|
@@ -1897,10 +1921,10 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
|
|
|
1897
1921
|
registryHost: z.ZodOptional<z.ZodString>;
|
|
1898
1922
|
}, "strip", z.ZodTypeAny, {
|
|
1899
1923
|
id: string;
|
|
1900
|
-
contentHash: string;
|
|
1901
1924
|
version: string;
|
|
1902
|
-
|
|
1925
|
+
contentHash: string;
|
|
1903
1926
|
imageTag: string;
|
|
1927
|
+
shortCode: string;
|
|
1904
1928
|
externalBuildData?: {
|
|
1905
1929
|
projectId: string;
|
|
1906
1930
|
buildId: string;
|
|
@@ -1909,10 +1933,10 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
|
|
|
1909
1933
|
registryHost?: string | undefined;
|
|
1910
1934
|
}, {
|
|
1911
1935
|
id: string;
|
|
1912
|
-
contentHash: string;
|
|
1913
1936
|
version: string;
|
|
1914
|
-
|
|
1937
|
+
contentHash: string;
|
|
1915
1938
|
imageTag: string;
|
|
1939
|
+
shortCode: string;
|
|
1916
1940
|
externalBuildData?: {
|
|
1917
1941
|
projectId: string;
|
|
1918
1942
|
buildId: string;
|
|
@@ -2032,39 +2056,39 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2032
2056
|
exportName: z.ZodString;
|
|
2033
2057
|
}, "strip", z.ZodTypeAny, {
|
|
2034
2058
|
id: string;
|
|
2035
|
-
slug: string;
|
|
2036
2059
|
filePath: string;
|
|
2037
2060
|
exportName: string;
|
|
2061
|
+
slug: string;
|
|
2038
2062
|
}, {
|
|
2039
2063
|
id: string;
|
|
2040
|
-
slug: string;
|
|
2041
2064
|
filePath: string;
|
|
2042
2065
|
exportName: string;
|
|
2066
|
+
slug: string;
|
|
2043
2067
|
}>, "many">;
|
|
2044
2068
|
}, "strip", z.ZodTypeAny, {
|
|
2045
2069
|
id: string;
|
|
2070
|
+
version: string;
|
|
2046
2071
|
tasks: {
|
|
2047
2072
|
id: string;
|
|
2048
|
-
slug: string;
|
|
2049
2073
|
filePath: string;
|
|
2050
2074
|
exportName: string;
|
|
2075
|
+
slug: string;
|
|
2051
2076
|
}[];
|
|
2052
|
-
version: string;
|
|
2053
2077
|
}, {
|
|
2054
2078
|
id: string;
|
|
2079
|
+
version: string;
|
|
2055
2080
|
tasks: {
|
|
2056
2081
|
id: string;
|
|
2057
|
-
slug: string;
|
|
2058
2082
|
filePath: string;
|
|
2059
2083
|
exportName: string;
|
|
2084
|
+
slug: string;
|
|
2060
2085
|
}[];
|
|
2061
|
-
version: string;
|
|
2062
2086
|
}>>;
|
|
2063
2087
|
}, "strip", z.ZodTypeAny, {
|
|
2064
2088
|
status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
|
|
2065
2089
|
id: string;
|
|
2066
|
-
contentHash: string;
|
|
2067
2090
|
version: string;
|
|
2091
|
+
contentHash: string;
|
|
2068
2092
|
shortCode: string;
|
|
2069
2093
|
imageReference?: string | null | undefined;
|
|
2070
2094
|
errorData?: {
|
|
@@ -2075,19 +2099,19 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2075
2099
|
} | null | undefined;
|
|
2076
2100
|
worker?: {
|
|
2077
2101
|
id: string;
|
|
2102
|
+
version: string;
|
|
2078
2103
|
tasks: {
|
|
2079
2104
|
id: string;
|
|
2080
|
-
slug: string;
|
|
2081
2105
|
filePath: string;
|
|
2082
2106
|
exportName: string;
|
|
2107
|
+
slug: string;
|
|
2083
2108
|
}[];
|
|
2084
|
-
version: string;
|
|
2085
2109
|
} | undefined;
|
|
2086
2110
|
}, {
|
|
2087
2111
|
status: "PENDING" | "CANCELED" | "FAILED" | "BUILDING" | "DEPLOYING" | "DEPLOYED" | "TIMED_OUT";
|
|
2088
2112
|
id: string;
|
|
2089
|
-
contentHash: string;
|
|
2090
2113
|
version: string;
|
|
2114
|
+
contentHash: string;
|
|
2091
2115
|
shortCode: string;
|
|
2092
2116
|
imageReference?: string | null | undefined;
|
|
2093
2117
|
errorData?: {
|
|
@@ -2098,13 +2122,13 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2098
2122
|
} | null | undefined;
|
|
2099
2123
|
worker?: {
|
|
2100
2124
|
id: string;
|
|
2125
|
+
version: string;
|
|
2101
2126
|
tasks: {
|
|
2102
2127
|
id: string;
|
|
2103
|
-
slug: string;
|
|
2104
2128
|
filePath: string;
|
|
2105
2129
|
exportName: string;
|
|
2130
|
+
slug: string;
|
|
2106
2131
|
}[];
|
|
2107
|
-
version: string;
|
|
2108
2132
|
} | undefined;
|
|
2109
2133
|
}>;
|
|
2110
2134
|
export type GetDeploymentResponseBody = z.infer<typeof GetDeploymentResponseBody>;
|
|
@@ -2169,17 +2193,17 @@ export declare const ScheduledTaskPayload: z.ZodObject<{
|
|
|
2169
2193
|
upcoming: z.ZodArray<z.ZodDate, "many">;
|
|
2170
2194
|
}, "strip", z.ZodTypeAny, {
|
|
2171
2195
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2196
|
+
timestamp: Date;
|
|
2172
2197
|
timezone: string;
|
|
2173
2198
|
scheduleId: string;
|
|
2174
|
-
timestamp: Date;
|
|
2175
2199
|
upcoming: Date[];
|
|
2176
2200
|
lastTimestamp?: Date | undefined;
|
|
2177
2201
|
externalId?: string | undefined;
|
|
2178
2202
|
}, {
|
|
2179
2203
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2204
|
+
timestamp: Date;
|
|
2180
2205
|
timezone: string;
|
|
2181
2206
|
scheduleId: string;
|
|
2182
|
-
timestamp: Date;
|
|
2183
2207
|
upcoming: Date[];
|
|
2184
2208
|
lastTimestamp?: Date | undefined;
|
|
2185
2209
|
externalId?: string | undefined;
|
|
@@ -2226,14 +2250,14 @@ export declare const CreateScheduleOptions: z.ZodObject<{
|
|
|
2226
2250
|
*/
|
|
2227
2251
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2228
2252
|
}, "strip", z.ZodTypeAny, {
|
|
2229
|
-
cron: string;
|
|
2230
2253
|
task: string;
|
|
2254
|
+
cron: string;
|
|
2231
2255
|
deduplicationKey: string;
|
|
2232
2256
|
externalId?: string | undefined;
|
|
2233
2257
|
timezone?: string | undefined;
|
|
2234
2258
|
}, {
|
|
2235
|
-
cron: string;
|
|
2236
2259
|
task: string;
|
|
2260
|
+
cron: string;
|
|
2237
2261
|
deduplicationKey: string;
|
|
2238
2262
|
externalId?: string | undefined;
|
|
2239
2263
|
timezone?: string | undefined;
|
|
@@ -2280,13 +2304,13 @@ export declare const UpdateScheduleOptions: z.ZodObject<Omit<{
|
|
|
2280
2304
|
*/
|
|
2281
2305
|
timezone: z.ZodOptional<z.ZodString>;
|
|
2282
2306
|
}, "deduplicationKey">, "strip", z.ZodTypeAny, {
|
|
2283
|
-
cron: string;
|
|
2284
2307
|
task: string;
|
|
2308
|
+
cron: string;
|
|
2285
2309
|
timezone?: string | undefined;
|
|
2286
2310
|
externalId?: string | undefined;
|
|
2287
2311
|
}, {
|
|
2288
|
-
cron: string;
|
|
2289
2312
|
task: string;
|
|
2313
|
+
cron: string;
|
|
2290
2314
|
timezone?: string | undefined;
|
|
2291
2315
|
externalId?: string | undefined;
|
|
2292
2316
|
}>;
|
|
@@ -2343,8 +2367,8 @@ export declare const ScheduleObject: z.ZodObject<{
|
|
|
2343
2367
|
}, "strip", z.ZodTypeAny, {
|
|
2344
2368
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2345
2369
|
id: string;
|
|
2346
|
-
timezone: string;
|
|
2347
2370
|
task: string;
|
|
2371
|
+
timezone: string;
|
|
2348
2372
|
active: boolean;
|
|
2349
2373
|
generator: {
|
|
2350
2374
|
type: "CRON";
|
|
@@ -2362,8 +2386,8 @@ export declare const ScheduleObject: z.ZodObject<{
|
|
|
2362
2386
|
}, {
|
|
2363
2387
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2364
2388
|
id: string;
|
|
2365
|
-
timezone: string;
|
|
2366
2389
|
task: string;
|
|
2390
|
+
timezone: string;
|
|
2367
2391
|
active: boolean;
|
|
2368
2392
|
generator: {
|
|
2369
2393
|
type: "CRON";
|
|
@@ -2427,8 +2451,8 @@ export declare const ListSchedulesResult: z.ZodObject<{
|
|
|
2427
2451
|
}, "strip", z.ZodTypeAny, {
|
|
2428
2452
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2429
2453
|
id: string;
|
|
2430
|
-
timezone: string;
|
|
2431
2454
|
task: string;
|
|
2455
|
+
timezone: string;
|
|
2432
2456
|
active: boolean;
|
|
2433
2457
|
generator: {
|
|
2434
2458
|
type: "CRON";
|
|
@@ -2446,8 +2470,8 @@ export declare const ListSchedulesResult: z.ZodObject<{
|
|
|
2446
2470
|
}, {
|
|
2447
2471
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2448
2472
|
id: string;
|
|
2449
|
-
timezone: string;
|
|
2450
2473
|
task: string;
|
|
2474
|
+
timezone: string;
|
|
2451
2475
|
active: boolean;
|
|
2452
2476
|
generator: {
|
|
2453
2477
|
type: "CRON";
|
|
@@ -2480,8 +2504,8 @@ export declare const ListSchedulesResult: z.ZodObject<{
|
|
|
2480
2504
|
data: {
|
|
2481
2505
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2482
2506
|
id: string;
|
|
2483
|
-
timezone: string;
|
|
2484
2507
|
task: string;
|
|
2508
|
+
timezone: string;
|
|
2485
2509
|
active: boolean;
|
|
2486
2510
|
generator: {
|
|
2487
2511
|
type: "CRON";
|
|
@@ -2506,8 +2530,8 @@ export declare const ListSchedulesResult: z.ZodObject<{
|
|
|
2506
2530
|
data: {
|
|
2507
2531
|
type: "DECLARATIVE" | "IMPERATIVE";
|
|
2508
2532
|
id: string;
|
|
2509
|
-
timezone: string;
|
|
2510
2533
|
task: string;
|
|
2534
|
+
timezone: string;
|
|
2511
2535
|
active: boolean;
|
|
2512
2536
|
generator: {
|
|
2513
2537
|
type: "CRON";
|
|
@@ -2558,12 +2582,12 @@ export declare const RunEnvironmentDetails: z.ZodObject<{
|
|
|
2558
2582
|
name: z.ZodString;
|
|
2559
2583
|
user: z.ZodOptional<z.ZodString>;
|
|
2560
2584
|
}, "strip", z.ZodTypeAny, {
|
|
2561
|
-
id: string;
|
|
2562
2585
|
name: string;
|
|
2586
|
+
id: string;
|
|
2563
2587
|
user?: string | undefined;
|
|
2564
2588
|
}, {
|
|
2565
|
-
id: string;
|
|
2566
2589
|
name: string;
|
|
2590
|
+
id: string;
|
|
2567
2591
|
user?: string | undefined;
|
|
2568
2592
|
}>;
|
|
2569
2593
|
export type RunEnvironmentDetails = z.infer<typeof RunEnvironmentDetails>;
|
|
@@ -2633,11 +2657,16 @@ export declare const RelatedRunDetails: z.ZodObject<{
|
|
|
2633
2657
|
costInCents: z.ZodNumber;
|
|
2634
2658
|
baseCostInCents: z.ZodNumber;
|
|
2635
2659
|
durationMs: z.ZodNumber;
|
|
2660
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2636
2661
|
}, "strip", z.ZodTypeAny, {
|
|
2637
2662
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2638
2663
|
id: string;
|
|
2639
|
-
createdAt: Date;
|
|
2640
2664
|
tags: string[];
|
|
2665
|
+
isTest: boolean;
|
|
2666
|
+
createdAt: Date;
|
|
2667
|
+
durationMs: number;
|
|
2668
|
+
costInCents: number;
|
|
2669
|
+
baseCostInCents: number;
|
|
2641
2670
|
depth: number;
|
|
2642
2671
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
2643
2672
|
taskIdentifier: string;
|
|
@@ -2647,11 +2676,7 @@ export declare const RelatedRunDetails: z.ZodObject<{
|
|
|
2647
2676
|
isSuccess: boolean;
|
|
2648
2677
|
isFailed: boolean;
|
|
2649
2678
|
isCancelled: boolean;
|
|
2650
|
-
isTest: boolean;
|
|
2651
2679
|
updatedAt: Date;
|
|
2652
|
-
costInCents: number;
|
|
2653
|
-
baseCostInCents: number;
|
|
2654
|
-
durationMs: number;
|
|
2655
2680
|
batchId?: string | undefined;
|
|
2656
2681
|
idempotencyKey?: string | undefined;
|
|
2657
2682
|
version?: string | undefined;
|
|
@@ -2660,11 +2685,16 @@ export declare const RelatedRunDetails: z.ZodObject<{
|
|
|
2660
2685
|
delayedUntil?: Date | undefined;
|
|
2661
2686
|
ttl?: string | undefined;
|
|
2662
2687
|
expiredAt?: Date | undefined;
|
|
2688
|
+
metadata?: Record<string, any> | undefined;
|
|
2663
2689
|
}, {
|
|
2664
2690
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2665
2691
|
id: string;
|
|
2666
|
-
createdAt: Date;
|
|
2667
2692
|
tags: string[];
|
|
2693
|
+
isTest: boolean;
|
|
2694
|
+
createdAt: Date;
|
|
2695
|
+
durationMs: number;
|
|
2696
|
+
costInCents: number;
|
|
2697
|
+
baseCostInCents: number;
|
|
2668
2698
|
depth: number;
|
|
2669
2699
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
2670
2700
|
taskIdentifier: string;
|
|
@@ -2674,11 +2704,7 @@ export declare const RelatedRunDetails: z.ZodObject<{
|
|
|
2674
2704
|
isSuccess: boolean;
|
|
2675
2705
|
isFailed: boolean;
|
|
2676
2706
|
isCancelled: boolean;
|
|
2677
|
-
isTest: boolean;
|
|
2678
2707
|
updatedAt: Date;
|
|
2679
|
-
costInCents: number;
|
|
2680
|
-
baseCostInCents: number;
|
|
2681
|
-
durationMs: number;
|
|
2682
2708
|
batchId?: string | undefined;
|
|
2683
2709
|
idempotencyKey?: string | undefined;
|
|
2684
2710
|
version?: string | undefined;
|
|
@@ -2687,6 +2713,7 @@ export declare const RelatedRunDetails: z.ZodObject<{
|
|
|
2687
2713
|
delayedUntil?: Date | undefined;
|
|
2688
2714
|
ttl?: string | undefined;
|
|
2689
2715
|
expiredAt?: Date | undefined;
|
|
2716
|
+
metadata?: Record<string, any> | undefined;
|
|
2690
2717
|
}>;
|
|
2691
2718
|
export declare const RetrieveRunResponse: z.ZodObject<{
|
|
2692
2719
|
payload: z.ZodOptional<z.ZodAny>;
|
|
@@ -2757,11 +2784,16 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2757
2784
|
costInCents: z.ZodNumber;
|
|
2758
2785
|
baseCostInCents: z.ZodNumber;
|
|
2759
2786
|
durationMs: z.ZodNumber;
|
|
2787
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2760
2788
|
}, "strip", z.ZodTypeAny, {
|
|
2761
2789
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2762
2790
|
id: string;
|
|
2763
|
-
createdAt: Date;
|
|
2764
2791
|
tags: string[];
|
|
2792
|
+
isTest: boolean;
|
|
2793
|
+
createdAt: Date;
|
|
2794
|
+
durationMs: number;
|
|
2795
|
+
costInCents: number;
|
|
2796
|
+
baseCostInCents: number;
|
|
2765
2797
|
depth: number;
|
|
2766
2798
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
2767
2799
|
taskIdentifier: string;
|
|
@@ -2771,11 +2803,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2771
2803
|
isSuccess: boolean;
|
|
2772
2804
|
isFailed: boolean;
|
|
2773
2805
|
isCancelled: boolean;
|
|
2774
|
-
isTest: boolean;
|
|
2775
2806
|
updatedAt: Date;
|
|
2776
|
-
costInCents: number;
|
|
2777
|
-
baseCostInCents: number;
|
|
2778
|
-
durationMs: number;
|
|
2779
2807
|
batchId?: string | undefined;
|
|
2780
2808
|
idempotencyKey?: string | undefined;
|
|
2781
2809
|
version?: string | undefined;
|
|
@@ -2784,11 +2812,16 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2784
2812
|
delayedUntil?: Date | undefined;
|
|
2785
2813
|
ttl?: string | undefined;
|
|
2786
2814
|
expiredAt?: Date | undefined;
|
|
2815
|
+
metadata?: Record<string, any> | undefined;
|
|
2787
2816
|
}, {
|
|
2788
2817
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2789
2818
|
id: string;
|
|
2790
|
-
createdAt: Date;
|
|
2791
2819
|
tags: string[];
|
|
2820
|
+
isTest: boolean;
|
|
2821
|
+
createdAt: Date;
|
|
2822
|
+
durationMs: number;
|
|
2823
|
+
costInCents: number;
|
|
2824
|
+
baseCostInCents: number;
|
|
2792
2825
|
depth: number;
|
|
2793
2826
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
2794
2827
|
taskIdentifier: string;
|
|
@@ -2798,11 +2831,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2798
2831
|
isSuccess: boolean;
|
|
2799
2832
|
isFailed: boolean;
|
|
2800
2833
|
isCancelled: boolean;
|
|
2801
|
-
isTest: boolean;
|
|
2802
2834
|
updatedAt: Date;
|
|
2803
|
-
costInCents: number;
|
|
2804
|
-
baseCostInCents: number;
|
|
2805
|
-
durationMs: number;
|
|
2806
2835
|
batchId?: string | undefined;
|
|
2807
2836
|
idempotencyKey?: string | undefined;
|
|
2808
2837
|
version?: string | undefined;
|
|
@@ -2811,6 +2840,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2811
2840
|
delayedUntil?: Date | undefined;
|
|
2812
2841
|
ttl?: string | undefined;
|
|
2813
2842
|
expiredAt?: Date | undefined;
|
|
2843
|
+
metadata?: Record<string, any> | undefined;
|
|
2814
2844
|
}>>;
|
|
2815
2845
|
parent: z.ZodOptional<z.ZodObject<{
|
|
2816
2846
|
depth: z.ZodNumber;
|
|
@@ -2839,11 +2869,16 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2839
2869
|
costInCents: z.ZodNumber;
|
|
2840
2870
|
baseCostInCents: z.ZodNumber;
|
|
2841
2871
|
durationMs: z.ZodNumber;
|
|
2872
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2842
2873
|
}, "strip", z.ZodTypeAny, {
|
|
2843
2874
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2844
2875
|
id: string;
|
|
2845
|
-
createdAt: Date;
|
|
2846
2876
|
tags: string[];
|
|
2877
|
+
isTest: boolean;
|
|
2878
|
+
createdAt: Date;
|
|
2879
|
+
durationMs: number;
|
|
2880
|
+
costInCents: number;
|
|
2881
|
+
baseCostInCents: number;
|
|
2847
2882
|
depth: number;
|
|
2848
2883
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
2849
2884
|
taskIdentifier: string;
|
|
@@ -2853,11 +2888,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2853
2888
|
isSuccess: boolean;
|
|
2854
2889
|
isFailed: boolean;
|
|
2855
2890
|
isCancelled: boolean;
|
|
2856
|
-
isTest: boolean;
|
|
2857
2891
|
updatedAt: Date;
|
|
2858
|
-
costInCents: number;
|
|
2859
|
-
baseCostInCents: number;
|
|
2860
|
-
durationMs: number;
|
|
2861
2892
|
batchId?: string | undefined;
|
|
2862
2893
|
idempotencyKey?: string | undefined;
|
|
2863
2894
|
version?: string | undefined;
|
|
@@ -2866,11 +2897,16 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2866
2897
|
delayedUntil?: Date | undefined;
|
|
2867
2898
|
ttl?: string | undefined;
|
|
2868
2899
|
expiredAt?: Date | undefined;
|
|
2900
|
+
metadata?: Record<string, any> | undefined;
|
|
2869
2901
|
}, {
|
|
2870
2902
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2871
2903
|
id: string;
|
|
2872
|
-
createdAt: Date;
|
|
2873
2904
|
tags: string[];
|
|
2905
|
+
isTest: boolean;
|
|
2906
|
+
createdAt: Date;
|
|
2907
|
+
durationMs: number;
|
|
2908
|
+
costInCents: number;
|
|
2909
|
+
baseCostInCents: number;
|
|
2874
2910
|
depth: number;
|
|
2875
2911
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
2876
2912
|
taskIdentifier: string;
|
|
@@ -2880,11 +2916,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2880
2916
|
isSuccess: boolean;
|
|
2881
2917
|
isFailed: boolean;
|
|
2882
2918
|
isCancelled: boolean;
|
|
2883
|
-
isTest: boolean;
|
|
2884
2919
|
updatedAt: Date;
|
|
2885
|
-
costInCents: number;
|
|
2886
|
-
baseCostInCents: number;
|
|
2887
|
-
durationMs: number;
|
|
2888
2920
|
batchId?: string | undefined;
|
|
2889
2921
|
idempotencyKey?: string | undefined;
|
|
2890
2922
|
version?: string | undefined;
|
|
@@ -2893,6 +2925,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2893
2925
|
delayedUntil?: Date | undefined;
|
|
2894
2926
|
ttl?: string | undefined;
|
|
2895
2927
|
expiredAt?: Date | undefined;
|
|
2928
|
+
metadata?: Record<string, any> | undefined;
|
|
2896
2929
|
}>>;
|
|
2897
2930
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2898
2931
|
depth: z.ZodNumber;
|
|
@@ -2921,11 +2954,16 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2921
2954
|
costInCents: z.ZodNumber;
|
|
2922
2955
|
baseCostInCents: z.ZodNumber;
|
|
2923
2956
|
durationMs: z.ZodNumber;
|
|
2957
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2924
2958
|
}, "strip", z.ZodTypeAny, {
|
|
2925
2959
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2926
2960
|
id: string;
|
|
2927
|
-
createdAt: Date;
|
|
2928
2961
|
tags: string[];
|
|
2962
|
+
isTest: boolean;
|
|
2963
|
+
createdAt: Date;
|
|
2964
|
+
durationMs: number;
|
|
2965
|
+
costInCents: number;
|
|
2966
|
+
baseCostInCents: number;
|
|
2929
2967
|
depth: number;
|
|
2930
2968
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
2931
2969
|
taskIdentifier: string;
|
|
@@ -2935,11 +2973,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2935
2973
|
isSuccess: boolean;
|
|
2936
2974
|
isFailed: boolean;
|
|
2937
2975
|
isCancelled: boolean;
|
|
2938
|
-
isTest: boolean;
|
|
2939
2976
|
updatedAt: Date;
|
|
2940
|
-
costInCents: number;
|
|
2941
|
-
baseCostInCents: number;
|
|
2942
|
-
durationMs: number;
|
|
2943
2977
|
batchId?: string | undefined;
|
|
2944
2978
|
idempotencyKey?: string | undefined;
|
|
2945
2979
|
version?: string | undefined;
|
|
@@ -2948,11 +2982,16 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2948
2982
|
delayedUntil?: Date | undefined;
|
|
2949
2983
|
ttl?: string | undefined;
|
|
2950
2984
|
expiredAt?: Date | undefined;
|
|
2985
|
+
metadata?: Record<string, any> | undefined;
|
|
2951
2986
|
}, {
|
|
2952
2987
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2953
2988
|
id: string;
|
|
2954
|
-
createdAt: Date;
|
|
2955
2989
|
tags: string[];
|
|
2990
|
+
isTest: boolean;
|
|
2991
|
+
createdAt: Date;
|
|
2992
|
+
durationMs: number;
|
|
2993
|
+
costInCents: number;
|
|
2994
|
+
baseCostInCents: number;
|
|
2956
2995
|
depth: number;
|
|
2957
2996
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
2958
2997
|
taskIdentifier: string;
|
|
@@ -2962,11 +3001,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2962
3001
|
isSuccess: boolean;
|
|
2963
3002
|
isFailed: boolean;
|
|
2964
3003
|
isCancelled: boolean;
|
|
2965
|
-
isTest: boolean;
|
|
2966
3004
|
updatedAt: Date;
|
|
2967
|
-
costInCents: number;
|
|
2968
|
-
baseCostInCents: number;
|
|
2969
|
-
durationMs: number;
|
|
2970
3005
|
batchId?: string | undefined;
|
|
2971
3006
|
idempotencyKey?: string | undefined;
|
|
2972
3007
|
version?: string | undefined;
|
|
@@ -2975,13 +3010,18 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2975
3010
|
delayedUntil?: Date | undefined;
|
|
2976
3011
|
ttl?: string | undefined;
|
|
2977
3012
|
expiredAt?: Date | undefined;
|
|
3013
|
+
metadata?: Record<string, any> | undefined;
|
|
2978
3014
|
}>, "many">>;
|
|
2979
3015
|
}, "strip", z.ZodTypeAny, {
|
|
2980
3016
|
root?: {
|
|
2981
3017
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
2982
3018
|
id: string;
|
|
2983
|
-
createdAt: Date;
|
|
2984
3019
|
tags: string[];
|
|
3020
|
+
isTest: boolean;
|
|
3021
|
+
createdAt: Date;
|
|
3022
|
+
durationMs: number;
|
|
3023
|
+
costInCents: number;
|
|
3024
|
+
baseCostInCents: number;
|
|
2985
3025
|
depth: number;
|
|
2986
3026
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
2987
3027
|
taskIdentifier: string;
|
|
@@ -2991,11 +3031,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
2991
3031
|
isSuccess: boolean;
|
|
2992
3032
|
isFailed: boolean;
|
|
2993
3033
|
isCancelled: boolean;
|
|
2994
|
-
isTest: boolean;
|
|
2995
3034
|
updatedAt: Date;
|
|
2996
|
-
costInCents: number;
|
|
2997
|
-
baseCostInCents: number;
|
|
2998
|
-
durationMs: number;
|
|
2999
3035
|
batchId?: string | undefined;
|
|
3000
3036
|
idempotencyKey?: string | undefined;
|
|
3001
3037
|
version?: string | undefined;
|
|
@@ -3004,12 +3040,17 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3004
3040
|
delayedUntil?: Date | undefined;
|
|
3005
3041
|
ttl?: string | undefined;
|
|
3006
3042
|
expiredAt?: Date | undefined;
|
|
3043
|
+
metadata?: Record<string, any> | undefined;
|
|
3007
3044
|
} | undefined;
|
|
3008
3045
|
parent?: {
|
|
3009
3046
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3010
3047
|
id: string;
|
|
3011
|
-
createdAt: Date;
|
|
3012
3048
|
tags: string[];
|
|
3049
|
+
isTest: boolean;
|
|
3050
|
+
createdAt: Date;
|
|
3051
|
+
durationMs: number;
|
|
3052
|
+
costInCents: number;
|
|
3053
|
+
baseCostInCents: number;
|
|
3013
3054
|
depth: number;
|
|
3014
3055
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3015
3056
|
taskIdentifier: string;
|
|
@@ -3019,11 +3060,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3019
3060
|
isSuccess: boolean;
|
|
3020
3061
|
isFailed: boolean;
|
|
3021
3062
|
isCancelled: boolean;
|
|
3022
|
-
isTest: boolean;
|
|
3023
3063
|
updatedAt: Date;
|
|
3024
|
-
costInCents: number;
|
|
3025
|
-
baseCostInCents: number;
|
|
3026
|
-
durationMs: number;
|
|
3027
3064
|
batchId?: string | undefined;
|
|
3028
3065
|
idempotencyKey?: string | undefined;
|
|
3029
3066
|
version?: string | undefined;
|
|
@@ -3032,12 +3069,17 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3032
3069
|
delayedUntil?: Date | undefined;
|
|
3033
3070
|
ttl?: string | undefined;
|
|
3034
3071
|
expiredAt?: Date | undefined;
|
|
3072
|
+
metadata?: Record<string, any> | undefined;
|
|
3035
3073
|
} | undefined;
|
|
3036
3074
|
children?: {
|
|
3037
3075
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3038
3076
|
id: string;
|
|
3039
|
-
createdAt: Date;
|
|
3040
3077
|
tags: string[];
|
|
3078
|
+
isTest: boolean;
|
|
3079
|
+
createdAt: Date;
|
|
3080
|
+
durationMs: number;
|
|
3081
|
+
costInCents: number;
|
|
3082
|
+
baseCostInCents: number;
|
|
3041
3083
|
depth: number;
|
|
3042
3084
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3043
3085
|
taskIdentifier: string;
|
|
@@ -3047,11 +3089,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3047
3089
|
isSuccess: boolean;
|
|
3048
3090
|
isFailed: boolean;
|
|
3049
3091
|
isCancelled: boolean;
|
|
3050
|
-
isTest: boolean;
|
|
3051
3092
|
updatedAt: Date;
|
|
3052
|
-
costInCents: number;
|
|
3053
|
-
baseCostInCents: number;
|
|
3054
|
-
durationMs: number;
|
|
3055
3093
|
batchId?: string | undefined;
|
|
3056
3094
|
idempotencyKey?: string | undefined;
|
|
3057
3095
|
version?: string | undefined;
|
|
@@ -3060,13 +3098,18 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3060
3098
|
delayedUntil?: Date | undefined;
|
|
3061
3099
|
ttl?: string | undefined;
|
|
3062
3100
|
expiredAt?: Date | undefined;
|
|
3101
|
+
metadata?: Record<string, any> | undefined;
|
|
3063
3102
|
}[] | undefined;
|
|
3064
3103
|
}, {
|
|
3065
3104
|
root?: {
|
|
3066
3105
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3067
3106
|
id: string;
|
|
3068
|
-
createdAt: Date;
|
|
3069
3107
|
tags: string[];
|
|
3108
|
+
isTest: boolean;
|
|
3109
|
+
createdAt: Date;
|
|
3110
|
+
durationMs: number;
|
|
3111
|
+
costInCents: number;
|
|
3112
|
+
baseCostInCents: number;
|
|
3070
3113
|
depth: number;
|
|
3071
3114
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3072
3115
|
taskIdentifier: string;
|
|
@@ -3076,11 +3119,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3076
3119
|
isSuccess: boolean;
|
|
3077
3120
|
isFailed: boolean;
|
|
3078
3121
|
isCancelled: boolean;
|
|
3079
|
-
isTest: boolean;
|
|
3080
3122
|
updatedAt: Date;
|
|
3081
|
-
costInCents: number;
|
|
3082
|
-
baseCostInCents: number;
|
|
3083
|
-
durationMs: number;
|
|
3084
3123
|
batchId?: string | undefined;
|
|
3085
3124
|
idempotencyKey?: string | undefined;
|
|
3086
3125
|
version?: string | undefined;
|
|
@@ -3089,12 +3128,17 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3089
3128
|
delayedUntil?: Date | undefined;
|
|
3090
3129
|
ttl?: string | undefined;
|
|
3091
3130
|
expiredAt?: Date | undefined;
|
|
3131
|
+
metadata?: Record<string, any> | undefined;
|
|
3092
3132
|
} | undefined;
|
|
3093
3133
|
parent?: {
|
|
3094
3134
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3095
3135
|
id: string;
|
|
3096
|
-
createdAt: Date;
|
|
3097
3136
|
tags: string[];
|
|
3137
|
+
isTest: boolean;
|
|
3138
|
+
createdAt: Date;
|
|
3139
|
+
durationMs: number;
|
|
3140
|
+
costInCents: number;
|
|
3141
|
+
baseCostInCents: number;
|
|
3098
3142
|
depth: number;
|
|
3099
3143
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3100
3144
|
taskIdentifier: string;
|
|
@@ -3104,11 +3148,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3104
3148
|
isSuccess: boolean;
|
|
3105
3149
|
isFailed: boolean;
|
|
3106
3150
|
isCancelled: boolean;
|
|
3107
|
-
isTest: boolean;
|
|
3108
3151
|
updatedAt: Date;
|
|
3109
|
-
costInCents: number;
|
|
3110
|
-
baseCostInCents: number;
|
|
3111
|
-
durationMs: number;
|
|
3112
3152
|
batchId?: string | undefined;
|
|
3113
3153
|
idempotencyKey?: string | undefined;
|
|
3114
3154
|
version?: string | undefined;
|
|
@@ -3117,12 +3157,17 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3117
3157
|
delayedUntil?: Date | undefined;
|
|
3118
3158
|
ttl?: string | undefined;
|
|
3119
3159
|
expiredAt?: Date | undefined;
|
|
3160
|
+
metadata?: Record<string, any> | undefined;
|
|
3120
3161
|
} | undefined;
|
|
3121
3162
|
children?: {
|
|
3122
3163
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3123
3164
|
id: string;
|
|
3124
|
-
createdAt: Date;
|
|
3125
3165
|
tags: string[];
|
|
3166
|
+
isTest: boolean;
|
|
3167
|
+
createdAt: Date;
|
|
3168
|
+
durationMs: number;
|
|
3169
|
+
costInCents: number;
|
|
3170
|
+
baseCostInCents: number;
|
|
3126
3171
|
depth: number;
|
|
3127
3172
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3128
3173
|
taskIdentifier: string;
|
|
@@ -3132,11 +3177,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3132
3177
|
isSuccess: boolean;
|
|
3133
3178
|
isFailed: boolean;
|
|
3134
3179
|
isCancelled: boolean;
|
|
3135
|
-
isTest: boolean;
|
|
3136
3180
|
updatedAt: Date;
|
|
3137
|
-
costInCents: number;
|
|
3138
|
-
baseCostInCents: number;
|
|
3139
|
-
durationMs: number;
|
|
3140
3181
|
batchId?: string | undefined;
|
|
3141
3182
|
idempotencyKey?: string | undefined;
|
|
3142
3183
|
version?: string | undefined;
|
|
@@ -3145,6 +3186,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3145
3186
|
delayedUntil?: Date | undefined;
|
|
3146
3187
|
ttl?: string | undefined;
|
|
3147
3188
|
expiredAt?: Date | undefined;
|
|
3189
|
+
metadata?: Record<string, any> | undefined;
|
|
3148
3190
|
}[] | undefined;
|
|
3149
3191
|
}>;
|
|
3150
3192
|
attempts: z.ZodArray<z.ZodOptional<z.ZodObject<{
|
|
@@ -3218,11 +3260,16 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3218
3260
|
costInCents: z.ZodNumber;
|
|
3219
3261
|
baseCostInCents: z.ZodNumber;
|
|
3220
3262
|
durationMs: z.ZodNumber;
|
|
3263
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3221
3264
|
}, "strip", z.ZodTypeAny, {
|
|
3222
3265
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3223
3266
|
id: string;
|
|
3224
|
-
createdAt: Date;
|
|
3225
3267
|
tags: string[];
|
|
3268
|
+
isTest: boolean;
|
|
3269
|
+
createdAt: Date;
|
|
3270
|
+
durationMs: number;
|
|
3271
|
+
costInCents: number;
|
|
3272
|
+
baseCostInCents: number;
|
|
3226
3273
|
depth: number;
|
|
3227
3274
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3228
3275
|
taskIdentifier: string;
|
|
@@ -3232,17 +3279,17 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3232
3279
|
isSuccess: boolean;
|
|
3233
3280
|
isFailed: boolean;
|
|
3234
3281
|
isCancelled: boolean;
|
|
3235
|
-
isTest: boolean;
|
|
3236
3282
|
updatedAt: Date;
|
|
3237
|
-
costInCents: number;
|
|
3238
|
-
baseCostInCents: number;
|
|
3239
|
-
durationMs: number;
|
|
3240
3283
|
relatedRuns: {
|
|
3241
3284
|
root?: {
|
|
3242
3285
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3243
3286
|
id: string;
|
|
3244
|
-
createdAt: Date;
|
|
3245
3287
|
tags: string[];
|
|
3288
|
+
isTest: boolean;
|
|
3289
|
+
createdAt: Date;
|
|
3290
|
+
durationMs: number;
|
|
3291
|
+
costInCents: number;
|
|
3292
|
+
baseCostInCents: number;
|
|
3246
3293
|
depth: number;
|
|
3247
3294
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3248
3295
|
taskIdentifier: string;
|
|
@@ -3252,11 +3299,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3252
3299
|
isSuccess: boolean;
|
|
3253
3300
|
isFailed: boolean;
|
|
3254
3301
|
isCancelled: boolean;
|
|
3255
|
-
isTest: boolean;
|
|
3256
3302
|
updatedAt: Date;
|
|
3257
|
-
costInCents: number;
|
|
3258
|
-
baseCostInCents: number;
|
|
3259
|
-
durationMs: number;
|
|
3260
3303
|
batchId?: string | undefined;
|
|
3261
3304
|
idempotencyKey?: string | undefined;
|
|
3262
3305
|
version?: string | undefined;
|
|
@@ -3265,12 +3308,17 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3265
3308
|
delayedUntil?: Date | undefined;
|
|
3266
3309
|
ttl?: string | undefined;
|
|
3267
3310
|
expiredAt?: Date | undefined;
|
|
3311
|
+
metadata?: Record<string, any> | undefined;
|
|
3268
3312
|
} | undefined;
|
|
3269
3313
|
parent?: {
|
|
3270
3314
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3271
3315
|
id: string;
|
|
3272
|
-
createdAt: Date;
|
|
3273
3316
|
tags: string[];
|
|
3317
|
+
isTest: boolean;
|
|
3318
|
+
createdAt: Date;
|
|
3319
|
+
durationMs: number;
|
|
3320
|
+
costInCents: number;
|
|
3321
|
+
baseCostInCents: number;
|
|
3274
3322
|
depth: number;
|
|
3275
3323
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3276
3324
|
taskIdentifier: string;
|
|
@@ -3280,11 +3328,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3280
3328
|
isSuccess: boolean;
|
|
3281
3329
|
isFailed: boolean;
|
|
3282
3330
|
isCancelled: boolean;
|
|
3283
|
-
isTest: boolean;
|
|
3284
3331
|
updatedAt: Date;
|
|
3285
|
-
costInCents: number;
|
|
3286
|
-
baseCostInCents: number;
|
|
3287
|
-
durationMs: number;
|
|
3288
3332
|
batchId?: string | undefined;
|
|
3289
3333
|
idempotencyKey?: string | undefined;
|
|
3290
3334
|
version?: string | undefined;
|
|
@@ -3293,12 +3337,17 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3293
3337
|
delayedUntil?: Date | undefined;
|
|
3294
3338
|
ttl?: string | undefined;
|
|
3295
3339
|
expiredAt?: Date | undefined;
|
|
3340
|
+
metadata?: Record<string, any> | undefined;
|
|
3296
3341
|
} | undefined;
|
|
3297
3342
|
children?: {
|
|
3298
3343
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3299
3344
|
id: string;
|
|
3300
|
-
createdAt: Date;
|
|
3301
3345
|
tags: string[];
|
|
3346
|
+
isTest: boolean;
|
|
3347
|
+
createdAt: Date;
|
|
3348
|
+
durationMs: number;
|
|
3349
|
+
costInCents: number;
|
|
3350
|
+
baseCostInCents: number;
|
|
3302
3351
|
depth: number;
|
|
3303
3352
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3304
3353
|
taskIdentifier: string;
|
|
@@ -3308,11 +3357,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3308
3357
|
isSuccess: boolean;
|
|
3309
3358
|
isFailed: boolean;
|
|
3310
3359
|
isCancelled: boolean;
|
|
3311
|
-
isTest: boolean;
|
|
3312
3360
|
updatedAt: Date;
|
|
3313
|
-
costInCents: number;
|
|
3314
|
-
baseCostInCents: number;
|
|
3315
|
-
durationMs: number;
|
|
3316
3361
|
batchId?: string | undefined;
|
|
3317
3362
|
idempotencyKey?: string | undefined;
|
|
3318
3363
|
version?: string | undefined;
|
|
@@ -3321,6 +3366,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3321
3366
|
delayedUntil?: Date | undefined;
|
|
3322
3367
|
ttl?: string | undefined;
|
|
3323
3368
|
expiredAt?: Date | undefined;
|
|
3369
|
+
metadata?: Record<string, any> | undefined;
|
|
3324
3370
|
}[] | undefined;
|
|
3325
3371
|
};
|
|
3326
3372
|
attempts: ({
|
|
@@ -3358,11 +3404,16 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3358
3404
|
delayedUntil?: Date | undefined;
|
|
3359
3405
|
ttl?: string | undefined;
|
|
3360
3406
|
expiredAt?: Date | undefined;
|
|
3407
|
+
metadata?: Record<string, any> | undefined;
|
|
3361
3408
|
}, {
|
|
3362
3409
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3363
3410
|
id: string;
|
|
3364
|
-
createdAt: Date;
|
|
3365
3411
|
tags: string[];
|
|
3412
|
+
isTest: boolean;
|
|
3413
|
+
createdAt: Date;
|
|
3414
|
+
durationMs: number;
|
|
3415
|
+
costInCents: number;
|
|
3416
|
+
baseCostInCents: number;
|
|
3366
3417
|
depth: number;
|
|
3367
3418
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3368
3419
|
taskIdentifier: string;
|
|
@@ -3372,17 +3423,17 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3372
3423
|
isSuccess: boolean;
|
|
3373
3424
|
isFailed: boolean;
|
|
3374
3425
|
isCancelled: boolean;
|
|
3375
|
-
isTest: boolean;
|
|
3376
3426
|
updatedAt: Date;
|
|
3377
|
-
costInCents: number;
|
|
3378
|
-
baseCostInCents: number;
|
|
3379
|
-
durationMs: number;
|
|
3380
3427
|
relatedRuns: {
|
|
3381
3428
|
root?: {
|
|
3382
3429
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3383
3430
|
id: string;
|
|
3384
|
-
createdAt: Date;
|
|
3385
3431
|
tags: string[];
|
|
3432
|
+
isTest: boolean;
|
|
3433
|
+
createdAt: Date;
|
|
3434
|
+
durationMs: number;
|
|
3435
|
+
costInCents: number;
|
|
3436
|
+
baseCostInCents: number;
|
|
3386
3437
|
depth: number;
|
|
3387
3438
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3388
3439
|
taskIdentifier: string;
|
|
@@ -3392,11 +3443,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3392
3443
|
isSuccess: boolean;
|
|
3393
3444
|
isFailed: boolean;
|
|
3394
3445
|
isCancelled: boolean;
|
|
3395
|
-
isTest: boolean;
|
|
3396
3446
|
updatedAt: Date;
|
|
3397
|
-
costInCents: number;
|
|
3398
|
-
baseCostInCents: number;
|
|
3399
|
-
durationMs: number;
|
|
3400
3447
|
batchId?: string | undefined;
|
|
3401
3448
|
idempotencyKey?: string | undefined;
|
|
3402
3449
|
version?: string | undefined;
|
|
@@ -3405,12 +3452,17 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3405
3452
|
delayedUntil?: Date | undefined;
|
|
3406
3453
|
ttl?: string | undefined;
|
|
3407
3454
|
expiredAt?: Date | undefined;
|
|
3455
|
+
metadata?: Record<string, any> | undefined;
|
|
3408
3456
|
} | undefined;
|
|
3409
3457
|
parent?: {
|
|
3410
3458
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3411
3459
|
id: string;
|
|
3412
|
-
createdAt: Date;
|
|
3413
3460
|
tags: string[];
|
|
3461
|
+
isTest: boolean;
|
|
3462
|
+
createdAt: Date;
|
|
3463
|
+
durationMs: number;
|
|
3464
|
+
costInCents: number;
|
|
3465
|
+
baseCostInCents: number;
|
|
3414
3466
|
depth: number;
|
|
3415
3467
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3416
3468
|
taskIdentifier: string;
|
|
@@ -3420,11 +3472,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3420
3472
|
isSuccess: boolean;
|
|
3421
3473
|
isFailed: boolean;
|
|
3422
3474
|
isCancelled: boolean;
|
|
3423
|
-
isTest: boolean;
|
|
3424
3475
|
updatedAt: Date;
|
|
3425
|
-
costInCents: number;
|
|
3426
|
-
baseCostInCents: number;
|
|
3427
|
-
durationMs: number;
|
|
3428
3476
|
batchId?: string | undefined;
|
|
3429
3477
|
idempotencyKey?: string | undefined;
|
|
3430
3478
|
version?: string | undefined;
|
|
@@ -3433,12 +3481,17 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3433
3481
|
delayedUntil?: Date | undefined;
|
|
3434
3482
|
ttl?: string | undefined;
|
|
3435
3483
|
expiredAt?: Date | undefined;
|
|
3484
|
+
metadata?: Record<string, any> | undefined;
|
|
3436
3485
|
} | undefined;
|
|
3437
3486
|
children?: {
|
|
3438
3487
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3439
3488
|
id: string;
|
|
3440
|
-
createdAt: Date;
|
|
3441
3489
|
tags: string[];
|
|
3490
|
+
isTest: boolean;
|
|
3491
|
+
createdAt: Date;
|
|
3492
|
+
durationMs: number;
|
|
3493
|
+
costInCents: number;
|
|
3494
|
+
baseCostInCents: number;
|
|
3442
3495
|
depth: number;
|
|
3443
3496
|
triggerFunction: "triggerAndWait" | "trigger" | "batchTriggerAndWait" | "batchTrigger";
|
|
3444
3497
|
taskIdentifier: string;
|
|
@@ -3448,11 +3501,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3448
3501
|
isSuccess: boolean;
|
|
3449
3502
|
isFailed: boolean;
|
|
3450
3503
|
isCancelled: boolean;
|
|
3451
|
-
isTest: boolean;
|
|
3452
3504
|
updatedAt: Date;
|
|
3453
|
-
costInCents: number;
|
|
3454
|
-
baseCostInCents: number;
|
|
3455
|
-
durationMs: number;
|
|
3456
3505
|
batchId?: string | undefined;
|
|
3457
3506
|
idempotencyKey?: string | undefined;
|
|
3458
3507
|
version?: string | undefined;
|
|
@@ -3461,6 +3510,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3461
3510
|
delayedUntil?: Date | undefined;
|
|
3462
3511
|
ttl?: string | undefined;
|
|
3463
3512
|
expiredAt?: Date | undefined;
|
|
3513
|
+
metadata?: Record<string, any> | undefined;
|
|
3464
3514
|
}[] | undefined;
|
|
3465
3515
|
};
|
|
3466
3516
|
attempts: ({
|
|
@@ -3498,6 +3548,7 @@ export declare const RetrieveRunResponse: z.ZodObject<{
|
|
|
3498
3548
|
delayedUntil?: Date | undefined;
|
|
3499
3549
|
ttl?: string | undefined;
|
|
3500
3550
|
expiredAt?: Date | undefined;
|
|
3551
|
+
metadata?: Record<string, any> | undefined;
|
|
3501
3552
|
}>;
|
|
3502
3553
|
export type RetrieveRunResponse = z.infer<typeof RetrieveRunResponse>;
|
|
3503
3554
|
export declare const ListRunResponseItem: z.ZodObject<{
|
|
@@ -3506,12 +3557,12 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
3506
3557
|
name: z.ZodString;
|
|
3507
3558
|
user: z.ZodOptional<z.ZodString>;
|
|
3508
3559
|
}, "strip", z.ZodTypeAny, {
|
|
3509
|
-
id: string;
|
|
3510
3560
|
name: string;
|
|
3561
|
+
id: string;
|
|
3511
3562
|
user?: string | undefined;
|
|
3512
3563
|
}, {
|
|
3513
|
-
id: string;
|
|
3514
3564
|
name: string;
|
|
3565
|
+
id: string;
|
|
3515
3566
|
user?: string | undefined;
|
|
3516
3567
|
}>;
|
|
3517
3568
|
id: z.ZodString;
|
|
@@ -3537,11 +3588,16 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
3537
3588
|
costInCents: z.ZodNumber;
|
|
3538
3589
|
baseCostInCents: z.ZodNumber;
|
|
3539
3590
|
durationMs: z.ZodNumber;
|
|
3591
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3540
3592
|
}, "strip", z.ZodTypeAny, {
|
|
3541
3593
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3542
3594
|
id: string;
|
|
3543
|
-
createdAt: Date;
|
|
3544
3595
|
tags: string[];
|
|
3596
|
+
isTest: boolean;
|
|
3597
|
+
createdAt: Date;
|
|
3598
|
+
durationMs: number;
|
|
3599
|
+
costInCents: number;
|
|
3600
|
+
baseCostInCents: number;
|
|
3545
3601
|
taskIdentifier: string;
|
|
3546
3602
|
isQueued: boolean;
|
|
3547
3603
|
isExecuting: boolean;
|
|
@@ -3549,14 +3605,10 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
3549
3605
|
isSuccess: boolean;
|
|
3550
3606
|
isFailed: boolean;
|
|
3551
3607
|
isCancelled: boolean;
|
|
3552
|
-
isTest: boolean;
|
|
3553
3608
|
updatedAt: Date;
|
|
3554
|
-
costInCents: number;
|
|
3555
|
-
baseCostInCents: number;
|
|
3556
|
-
durationMs: number;
|
|
3557
3609
|
env: {
|
|
3558
|
-
id: string;
|
|
3559
3610
|
name: string;
|
|
3611
|
+
id: string;
|
|
3560
3612
|
user?: string | undefined;
|
|
3561
3613
|
};
|
|
3562
3614
|
idempotencyKey?: string | undefined;
|
|
@@ -3566,11 +3618,16 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
3566
3618
|
delayedUntil?: Date | undefined;
|
|
3567
3619
|
ttl?: string | undefined;
|
|
3568
3620
|
expiredAt?: Date | undefined;
|
|
3621
|
+
metadata?: Record<string, any> | undefined;
|
|
3569
3622
|
}, {
|
|
3570
3623
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3571
3624
|
id: string;
|
|
3572
|
-
createdAt: Date;
|
|
3573
3625
|
tags: string[];
|
|
3626
|
+
isTest: boolean;
|
|
3627
|
+
createdAt: Date;
|
|
3628
|
+
durationMs: number;
|
|
3629
|
+
costInCents: number;
|
|
3630
|
+
baseCostInCents: number;
|
|
3574
3631
|
taskIdentifier: string;
|
|
3575
3632
|
isQueued: boolean;
|
|
3576
3633
|
isExecuting: boolean;
|
|
@@ -3578,14 +3635,10 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
3578
3635
|
isSuccess: boolean;
|
|
3579
3636
|
isFailed: boolean;
|
|
3580
3637
|
isCancelled: boolean;
|
|
3581
|
-
isTest: boolean;
|
|
3582
3638
|
updatedAt: Date;
|
|
3583
|
-
costInCents: number;
|
|
3584
|
-
baseCostInCents: number;
|
|
3585
|
-
durationMs: number;
|
|
3586
3639
|
env: {
|
|
3587
|
-
id: string;
|
|
3588
3640
|
name: string;
|
|
3641
|
+
id: string;
|
|
3589
3642
|
user?: string | undefined;
|
|
3590
3643
|
};
|
|
3591
3644
|
idempotencyKey?: string | undefined;
|
|
@@ -3595,6 +3648,7 @@ export declare const ListRunResponseItem: z.ZodObject<{
|
|
|
3595
3648
|
delayedUntil?: Date | undefined;
|
|
3596
3649
|
ttl?: string | undefined;
|
|
3597
3650
|
expiredAt?: Date | undefined;
|
|
3651
|
+
metadata?: Record<string, any> | undefined;
|
|
3598
3652
|
}>;
|
|
3599
3653
|
export type ListRunResponseItem = z.infer<typeof ListRunResponseItem>;
|
|
3600
3654
|
export declare const ListRunResponse: z.ZodObject<{
|
|
@@ -3604,12 +3658,12 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3604
3658
|
name: z.ZodString;
|
|
3605
3659
|
user: z.ZodOptional<z.ZodString>;
|
|
3606
3660
|
}, "strip", z.ZodTypeAny, {
|
|
3607
|
-
id: string;
|
|
3608
3661
|
name: string;
|
|
3662
|
+
id: string;
|
|
3609
3663
|
user?: string | undefined;
|
|
3610
3664
|
}, {
|
|
3611
|
-
id: string;
|
|
3612
3665
|
name: string;
|
|
3666
|
+
id: string;
|
|
3613
3667
|
user?: string | undefined;
|
|
3614
3668
|
}>;
|
|
3615
3669
|
id: z.ZodString;
|
|
@@ -3635,11 +3689,16 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3635
3689
|
costInCents: z.ZodNumber;
|
|
3636
3690
|
baseCostInCents: z.ZodNumber;
|
|
3637
3691
|
durationMs: z.ZodNumber;
|
|
3692
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3638
3693
|
}, "strip", z.ZodTypeAny, {
|
|
3639
3694
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3640
3695
|
id: string;
|
|
3641
|
-
createdAt: Date;
|
|
3642
3696
|
tags: string[];
|
|
3697
|
+
isTest: boolean;
|
|
3698
|
+
createdAt: Date;
|
|
3699
|
+
durationMs: number;
|
|
3700
|
+
costInCents: number;
|
|
3701
|
+
baseCostInCents: number;
|
|
3643
3702
|
taskIdentifier: string;
|
|
3644
3703
|
isQueued: boolean;
|
|
3645
3704
|
isExecuting: boolean;
|
|
@@ -3647,14 +3706,10 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3647
3706
|
isSuccess: boolean;
|
|
3648
3707
|
isFailed: boolean;
|
|
3649
3708
|
isCancelled: boolean;
|
|
3650
|
-
isTest: boolean;
|
|
3651
3709
|
updatedAt: Date;
|
|
3652
|
-
costInCents: number;
|
|
3653
|
-
baseCostInCents: number;
|
|
3654
|
-
durationMs: number;
|
|
3655
3710
|
env: {
|
|
3656
|
-
id: string;
|
|
3657
3711
|
name: string;
|
|
3712
|
+
id: string;
|
|
3658
3713
|
user?: string | undefined;
|
|
3659
3714
|
};
|
|
3660
3715
|
idempotencyKey?: string | undefined;
|
|
@@ -3664,11 +3719,16 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3664
3719
|
delayedUntil?: Date | undefined;
|
|
3665
3720
|
ttl?: string | undefined;
|
|
3666
3721
|
expiredAt?: Date | undefined;
|
|
3722
|
+
metadata?: Record<string, any> | undefined;
|
|
3667
3723
|
}, {
|
|
3668
3724
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3669
3725
|
id: string;
|
|
3670
|
-
createdAt: Date;
|
|
3671
3726
|
tags: string[];
|
|
3727
|
+
isTest: boolean;
|
|
3728
|
+
createdAt: Date;
|
|
3729
|
+
durationMs: number;
|
|
3730
|
+
costInCents: number;
|
|
3731
|
+
baseCostInCents: number;
|
|
3672
3732
|
taskIdentifier: string;
|
|
3673
3733
|
isQueued: boolean;
|
|
3674
3734
|
isExecuting: boolean;
|
|
@@ -3676,14 +3736,10 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3676
3736
|
isSuccess: boolean;
|
|
3677
3737
|
isFailed: boolean;
|
|
3678
3738
|
isCancelled: boolean;
|
|
3679
|
-
isTest: boolean;
|
|
3680
3739
|
updatedAt: Date;
|
|
3681
|
-
costInCents: number;
|
|
3682
|
-
baseCostInCents: number;
|
|
3683
|
-
durationMs: number;
|
|
3684
3740
|
env: {
|
|
3685
|
-
id: string;
|
|
3686
3741
|
name: string;
|
|
3742
|
+
id: string;
|
|
3687
3743
|
user?: string | undefined;
|
|
3688
3744
|
};
|
|
3689
3745
|
idempotencyKey?: string | undefined;
|
|
@@ -3693,6 +3749,7 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3693
3749
|
delayedUntil?: Date | undefined;
|
|
3694
3750
|
ttl?: string | undefined;
|
|
3695
3751
|
expiredAt?: Date | undefined;
|
|
3752
|
+
metadata?: Record<string, any> | undefined;
|
|
3696
3753
|
}>, "many">;
|
|
3697
3754
|
pagination: z.ZodObject<{
|
|
3698
3755
|
next: z.ZodOptional<z.ZodString>;
|
|
@@ -3708,8 +3765,12 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3708
3765
|
data: {
|
|
3709
3766
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3710
3767
|
id: string;
|
|
3711
|
-
createdAt: Date;
|
|
3712
3768
|
tags: string[];
|
|
3769
|
+
isTest: boolean;
|
|
3770
|
+
createdAt: Date;
|
|
3771
|
+
durationMs: number;
|
|
3772
|
+
costInCents: number;
|
|
3773
|
+
baseCostInCents: number;
|
|
3713
3774
|
taskIdentifier: string;
|
|
3714
3775
|
isQueued: boolean;
|
|
3715
3776
|
isExecuting: boolean;
|
|
@@ -3717,14 +3778,10 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3717
3778
|
isSuccess: boolean;
|
|
3718
3779
|
isFailed: boolean;
|
|
3719
3780
|
isCancelled: boolean;
|
|
3720
|
-
isTest: boolean;
|
|
3721
3781
|
updatedAt: Date;
|
|
3722
|
-
costInCents: number;
|
|
3723
|
-
baseCostInCents: number;
|
|
3724
|
-
durationMs: number;
|
|
3725
3782
|
env: {
|
|
3726
|
-
id: string;
|
|
3727
3783
|
name: string;
|
|
3784
|
+
id: string;
|
|
3728
3785
|
user?: string | undefined;
|
|
3729
3786
|
};
|
|
3730
3787
|
idempotencyKey?: string | undefined;
|
|
@@ -3734,6 +3791,7 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3734
3791
|
delayedUntil?: Date | undefined;
|
|
3735
3792
|
ttl?: string | undefined;
|
|
3736
3793
|
expiredAt?: Date | undefined;
|
|
3794
|
+
metadata?: Record<string, any> | undefined;
|
|
3737
3795
|
}[];
|
|
3738
3796
|
pagination: {
|
|
3739
3797
|
next?: string | undefined;
|
|
@@ -3743,8 +3801,12 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3743
3801
|
data: {
|
|
3744
3802
|
status: "CANCELED" | "COMPLETED" | "FAILED" | "WAITING_FOR_DEPLOY" | "QUEUED" | "EXECUTING" | "REATTEMPTING" | "FROZEN" | "CRASHED" | "INTERRUPTED" | "SYSTEM_FAILURE" | "DELAYED" | "EXPIRED";
|
|
3745
3803
|
id: string;
|
|
3746
|
-
createdAt: Date;
|
|
3747
3804
|
tags: string[];
|
|
3805
|
+
isTest: boolean;
|
|
3806
|
+
createdAt: Date;
|
|
3807
|
+
durationMs: number;
|
|
3808
|
+
costInCents: number;
|
|
3809
|
+
baseCostInCents: number;
|
|
3748
3810
|
taskIdentifier: string;
|
|
3749
3811
|
isQueued: boolean;
|
|
3750
3812
|
isExecuting: boolean;
|
|
@@ -3752,14 +3814,10 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3752
3814
|
isSuccess: boolean;
|
|
3753
3815
|
isFailed: boolean;
|
|
3754
3816
|
isCancelled: boolean;
|
|
3755
|
-
isTest: boolean;
|
|
3756
3817
|
updatedAt: Date;
|
|
3757
|
-
costInCents: number;
|
|
3758
|
-
baseCostInCents: number;
|
|
3759
|
-
durationMs: number;
|
|
3760
3818
|
env: {
|
|
3761
|
-
id: string;
|
|
3762
3819
|
name: string;
|
|
3820
|
+
id: string;
|
|
3763
3821
|
user?: string | undefined;
|
|
3764
3822
|
};
|
|
3765
3823
|
idempotencyKey?: string | undefined;
|
|
@@ -3769,6 +3827,7 @@ export declare const ListRunResponse: z.ZodObject<{
|
|
|
3769
3827
|
delayedUntil?: Date | undefined;
|
|
3770
3828
|
ttl?: string | undefined;
|
|
3771
3829
|
expiredAt?: Date | undefined;
|
|
3830
|
+
metadata?: Record<string, any> | undefined;
|
|
3772
3831
|
}[];
|
|
3773
3832
|
pagination: {
|
|
3774
3833
|
next?: string | undefined;
|
|
@@ -3843,3 +3902,22 @@ export declare const EnvironmentVariables: z.ZodArray<z.ZodObject<{
|
|
|
3843
3902
|
name: string;
|
|
3844
3903
|
}>, "many">;
|
|
3845
3904
|
export type EnvironmentVariables = z.infer<typeof EnvironmentVariables>;
|
|
3905
|
+
export declare const UpdateMetadataRequestBody: z.ZodObject<{
|
|
3906
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>>;
|
|
3907
|
+
metadataType: z.ZodOptional<z.ZodString>;
|
|
3908
|
+
}, "strip", z.ZodTypeAny, {
|
|
3909
|
+
metadata: Record<string, import("../../schemas/json.js").DeserializedJson>;
|
|
3910
|
+
metadataType?: string | undefined;
|
|
3911
|
+
}, {
|
|
3912
|
+
metadata: Record<string, import("../../schemas/json.js").DeserializedJson>;
|
|
3913
|
+
metadataType?: string | undefined;
|
|
3914
|
+
}>;
|
|
3915
|
+
export type UpdateMetadataRequestBody = z.infer<typeof UpdateMetadataRequestBody>;
|
|
3916
|
+
export declare const UpdateMetadataResponseBody: z.ZodObject<{
|
|
3917
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodType<import("../../schemas/json.js").DeserializedJson, z.ZodTypeDef, import("../../schemas/json.js").DeserializedJson>>;
|
|
3918
|
+
}, "strip", z.ZodTypeAny, {
|
|
3919
|
+
metadata: Record<string, import("../../schemas/json.js").DeserializedJson>;
|
|
3920
|
+
}, {
|
|
3921
|
+
metadata: Record<string, import("../../schemas/json.js").DeserializedJson>;
|
|
3922
|
+
}>;
|
|
3923
|
+
export type UpdateMetadataResponseBody = z.infer<typeof UpdateMetadataResponseBody>;
|