@trigger.dev/core 4.3.2 → 4.4.0
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 +8 -1
- package/dist/commonjs/v3/apiClient/index.js +47 -8
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/apiClient/streamBatchItems.test.js +39 -0
- package/dist/commonjs/v3/apiClient/streamBatchItems.test.js.map +1 -1
- package/dist/commonjs/v3/idempotency-key-catalog/catalog.d.ts +9 -0
- package/dist/commonjs/v3/idempotency-key-catalog/catalog.js +3 -0
- package/dist/commonjs/v3/idempotency-key-catalog/catalog.js.map +1 -0
- package/dist/commonjs/v3/idempotency-key-catalog/index.d.ts +9 -0
- package/dist/commonjs/v3/idempotency-key-catalog/index.js +33 -0
- package/dist/commonjs/v3/idempotency-key-catalog/index.js.map +1 -0
- package/dist/commonjs/v3/idempotency-key-catalog/lruIdempotencyKeyCatalog.d.ts +8 -0
- package/dist/commonjs/v3/idempotency-key-catalog/lruIdempotencyKeyCatalog.js +35 -0
- package/dist/commonjs/v3/idempotency-key-catalog/lruIdempotencyKeyCatalog.js.map +1 -0
- package/dist/commonjs/v3/idempotency-key-catalog/lruIdempotencyKeyCatalog.test.d.ts +1 -0
- package/dist/commonjs/v3/idempotency-key-catalog/lruIdempotencyKeyCatalog.test.js +161 -0
- package/dist/commonjs/v3/idempotency-key-catalog/lruIdempotencyKeyCatalog.test.js.map +1 -0
- package/dist/commonjs/v3/idempotency-key-catalog-api.d.ts +3 -0
- package/dist/commonjs/v3/idempotency-key-catalog-api.js +9 -0
- package/dist/commonjs/v3/idempotency-key-catalog-api.js.map +1 -0
- package/dist/commonjs/v3/idempotencyKeys.d.ts +51 -4
- package/dist/commonjs/v3/idempotencyKeys.js +97 -5
- package/dist/commonjs/v3/idempotencyKeys.js.map +1 -1
- package/dist/commonjs/v3/imports/superjson-cjs.cjs.map +1 -0
- package/dist/commonjs/v3/imports/superjson.d.ts +1 -0
- package/dist/commonjs/v3/imports/superjson.js +15 -0
- package/dist/commonjs/v3/isomorphic/duration.d.ts +11 -0
- package/dist/commonjs/v3/isomorphic/duration.js +18 -6
- package/dist/commonjs/v3/isomorphic/duration.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +61 -60
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +191 -184
- package/dist/commonjs/v3/runEngineWorker/workload/http.d.ts +46 -45
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +163 -156
- package/dist/commonjs/v3/schemas/api-type.test.d.ts +1 -0
- package/dist/commonjs/v3/schemas/api-type.test.js +127 -0
- package/dist/commonjs/v3/schemas/api-type.test.js.map +1 -0
- package/dist/commonjs/v3/schemas/api.d.ts +621 -102
- package/dist/commonjs/v3/schemas/api.js +57 -29
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/checkpoints.d.ts +66 -66
- package/dist/commonjs/v3/schemas/common.d.ts +215 -177
- package/dist/commonjs/v3/schemas/common.js +6 -0
- package/dist/commonjs/v3/schemas/common.js.map +1 -1
- package/dist/commonjs/v3/schemas/index.d.ts +1 -0
- package/dist/commonjs/v3/schemas/index.js +1 -0
- package/dist/commonjs/v3/schemas/index.js.map +1 -1
- package/dist/commonjs/v3/schemas/messages.d.ts +2149 -2032
- package/dist/commonjs/v3/schemas/query.d.ts +215 -0
- package/dist/commonjs/v3/schemas/query.js +58 -0
- package/dist/commonjs/v3/schemas/query.js.map +1 -0
- package/dist/commonjs/v3/schemas/runEngine.d.ts +157 -150
- package/dist/commonjs/v3/schemas/schemas.d.ts +281 -262
- package/dist/commonjs/v3/schemas/webhooks.d.ts +68 -68
- package/dist/commonjs/v3/serverOnly/idempotencyKeys.d.ts +36 -0
- package/dist/commonjs/v3/serverOnly/idempotencyKeys.js +58 -0
- package/dist/commonjs/v3/serverOnly/idempotencyKeys.js.map +1 -0
- package/dist/commonjs/v3/serverOnly/index.d.ts +1 -0
- package/dist/commonjs/v3/serverOnly/index.js +1 -0
- package/dist/commonjs/v3/serverOnly/index.js.map +1 -1
- package/dist/commonjs/v3/types/tasks.d.ts +16 -0
- package/dist/commonjs/v3/types/tools.js +2 -2
- package/dist/commonjs/v3/types/tools.js.map +1 -1
- package/dist/commonjs/v3/utils/flattenAttributes.d.ts +2 -2
- package/dist/commonjs/v3/utils/flattenAttributes.js +24 -13
- package/dist/commonjs/v3/utils/flattenAttributes.js.map +1 -1
- package/dist/commonjs/v3/utils/globals.d.ts +2 -0
- package/dist/commonjs/v3/utils/globals.js.map +1 -1
- package/dist/commonjs/v3/utils/ioSerialization.d.ts +1 -1
- package/dist/commonjs/v3/utils/ioSerialization.js +15 -27
- package/dist/commonjs/v3/utils/ioSerialization.js.map +1 -1
- package/dist/commonjs/v3/vendor/superjson.cjs +833 -0
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +8 -1
- package/dist/esm/v3/apiClient/index.js +48 -9
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/apiClient/streamBatchItems.test.js +39 -0
- package/dist/esm/v3/apiClient/streamBatchItems.test.js.map +1 -1
- package/dist/esm/v3/idempotency-key-catalog/catalog.d.ts +9 -0
- package/dist/esm/v3/idempotency-key-catalog/catalog.js +2 -0
- package/dist/esm/v3/idempotency-key-catalog/catalog.js.map +1 -0
- package/dist/esm/v3/idempotency-key-catalog/index.d.ts +9 -0
- package/dist/esm/v3/idempotency-key-catalog/index.js +29 -0
- package/dist/esm/v3/idempotency-key-catalog/index.js.map +1 -0
- package/dist/esm/v3/idempotency-key-catalog/lruIdempotencyKeyCatalog.d.ts +8 -0
- package/dist/esm/v3/idempotency-key-catalog/lruIdempotencyKeyCatalog.js +31 -0
- package/dist/esm/v3/idempotency-key-catalog/lruIdempotencyKeyCatalog.js.map +1 -0
- package/dist/esm/v3/idempotency-key-catalog/lruIdempotencyKeyCatalog.test.d.ts +1 -0
- package/dist/esm/v3/idempotency-key-catalog/lruIdempotencyKeyCatalog.test.js +159 -0
- package/dist/esm/v3/idempotency-key-catalog/lruIdempotencyKeyCatalog.test.js.map +1 -0
- package/dist/esm/v3/idempotency-key-catalog-api.d.ts +3 -0
- package/dist/esm/v3/idempotency-key-catalog-api.js +6 -0
- package/dist/esm/v3/idempotency-key-catalog-api.js.map +1 -0
- package/dist/esm/v3/idempotencyKeys.d.ts +51 -4
- package/dist/esm/v3/idempotencyKeys.js +96 -5
- package/dist/esm/v3/idempotencyKeys.js.map +1 -1
- package/dist/esm/v3/imports/superjson.d.ts +2 -0
- package/dist/esm/v3/imports/superjson.js +12 -0
- package/dist/esm/v3/imports/superjson.js.map +1 -0
- package/dist/esm/v3/isomorphic/duration.d.ts +11 -0
- package/dist/esm/v3/isomorphic/duration.js +17 -6
- package/dist/esm/v3/isomorphic/duration.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +61 -60
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +191 -184
- package/dist/esm/v3/runEngineWorker/workload/http.d.ts +46 -45
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +163 -156
- package/dist/esm/v3/schemas/api-type.test.d.ts +1 -0
- package/dist/esm/v3/schemas/api-type.test.js +125 -0
- package/dist/esm/v3/schemas/api-type.test.js.map +1 -0
- package/dist/esm/v3/schemas/api.d.ts +621 -102
- package/dist/esm/v3/schemas/api.js +54 -26
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/checkpoints.d.ts +66 -66
- package/dist/esm/v3/schemas/common.d.ts +215 -177
- package/dist/esm/v3/schemas/common.js +6 -0
- package/dist/esm/v3/schemas/common.js.map +1 -1
- package/dist/esm/v3/schemas/index.d.ts +1 -0
- package/dist/esm/v3/schemas/index.js +1 -0
- package/dist/esm/v3/schemas/index.js.map +1 -1
- package/dist/esm/v3/schemas/messages.d.ts +2149 -2032
- package/dist/esm/v3/schemas/query.d.ts +215 -0
- package/dist/esm/v3/schemas/query.js +55 -0
- package/dist/esm/v3/schemas/query.js.map +1 -0
- package/dist/esm/v3/schemas/runEngine.d.ts +157 -150
- package/dist/esm/v3/schemas/schemas.d.ts +281 -262
- package/dist/esm/v3/schemas/webhooks.d.ts +68 -68
- package/dist/esm/v3/serverOnly/idempotencyKeys.d.ts +36 -0
- package/dist/esm/v3/serverOnly/idempotencyKeys.js +51 -0
- package/dist/esm/v3/serverOnly/idempotencyKeys.js.map +1 -0
- package/dist/esm/v3/serverOnly/index.d.ts +1 -0
- package/dist/esm/v3/serverOnly/index.js +1 -0
- package/dist/esm/v3/serverOnly/index.js.map +1 -1
- package/dist/esm/v3/types/tasks.d.ts +16 -0
- package/dist/esm/v3/types/tools.js +2 -2
- package/dist/esm/v3/types/tools.js.map +1 -1
- package/dist/esm/v3/utils/flattenAttributes.d.ts +2 -2
- package/dist/esm/v3/utils/flattenAttributes.js +24 -13
- package/dist/esm/v3/utils/flattenAttributes.js.map +1 -1
- package/dist/esm/v3/utils/globals.d.ts +2 -0
- package/dist/esm/v3/utils/globals.js.map +1 -1
- package/dist/esm/v3/utils/ioSerialization.d.ts +1 -1
- package/dist/esm/v3/utils/ioSerialization.js +9 -24
- package/dist/esm/v3/utils/ioSerialization.js.map +1 -1
- package/dist/esm/v3/vendor/superjson.mjs +800 -0
- package/dist/esm/version.js +1 -1
- package/package.json +9 -7
|
@@ -740,6 +740,18 @@ export declare const CreateBackgroundWorkerResponse: z.ZodObject<{
|
|
|
740
740
|
export type CreateBackgroundWorkerResponse = z.infer<typeof CreateBackgroundWorkerResponse>;
|
|
741
741
|
export declare const RunTags: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
742
742
|
export type RunTags = z.infer<typeof RunTags>;
|
|
743
|
+
/** Stores the original user-provided idempotency key and scope */
|
|
744
|
+
export declare const IdempotencyKeyOptionsSchema: z.ZodObject<{
|
|
745
|
+
key: z.ZodString;
|
|
746
|
+
scope: z.ZodEnum<["run", "attempt", "global"]>;
|
|
747
|
+
}, "strip", z.ZodTypeAny, {
|
|
748
|
+
key: string;
|
|
749
|
+
scope: "run" | "attempt" | "global";
|
|
750
|
+
}, {
|
|
751
|
+
key: string;
|
|
752
|
+
scope: "run" | "attempt" | "global";
|
|
753
|
+
}>;
|
|
754
|
+
export type IdempotencyKeyOptionsSchema = z.infer<typeof IdempotencyKeyOptionsSchema>;
|
|
743
755
|
export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
744
756
|
payload: z.ZodAny;
|
|
745
757
|
context: z.ZodAny;
|
|
@@ -783,6 +795,17 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
783
795
|
delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
784
796
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
785
797
|
idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
|
|
798
|
+
/** The original user-provided idempotency key and scope */
|
|
799
|
+
idempotencyKeyOptions: z.ZodOptional<z.ZodObject<{
|
|
800
|
+
key: z.ZodString;
|
|
801
|
+
scope: z.ZodEnum<["run", "attempt", "global"]>;
|
|
802
|
+
}, "strip", z.ZodTypeAny, {
|
|
803
|
+
key: string;
|
|
804
|
+
scope: "run" | "attempt" | "global";
|
|
805
|
+
}, {
|
|
806
|
+
key: string;
|
|
807
|
+
scope: "run" | "attempt" | "global";
|
|
808
|
+
}>>;
|
|
786
809
|
machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
787
810
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
788
811
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -799,14 +822,17 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
799
822
|
key: z.ZodString;
|
|
800
823
|
delay: z.ZodString;
|
|
801
824
|
mode: z.ZodOptional<z.ZodEnum<["leading", "trailing"]>>;
|
|
825
|
+
maxDelay: z.ZodOptional<z.ZodString>;
|
|
802
826
|
}, "strip", z.ZodTypeAny, {
|
|
803
827
|
key: string;
|
|
804
828
|
delay: string;
|
|
805
829
|
mode?: "leading" | "trailing" | undefined;
|
|
830
|
+
maxDelay?: string | undefined;
|
|
806
831
|
}, {
|
|
807
832
|
key: string;
|
|
808
833
|
delay: string;
|
|
809
834
|
mode?: "leading" | "trailing" | undefined;
|
|
835
|
+
maxDelay?: string | undefined;
|
|
810
836
|
}>>;
|
|
811
837
|
}, "strip", z.ZodTypeAny, {
|
|
812
838
|
metadata?: any;
|
|
@@ -830,6 +856,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
830
856
|
key: string;
|
|
831
857
|
delay: string;
|
|
832
858
|
mode?: "leading" | "trailing" | undefined;
|
|
859
|
+
maxDelay?: string | undefined;
|
|
833
860
|
} | undefined;
|
|
834
861
|
dependentAttempt?: string | undefined;
|
|
835
862
|
parentAttempt?: string | undefined;
|
|
@@ -838,6 +865,10 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
838
865
|
parentRunId?: string | undefined;
|
|
839
866
|
resumeParentOnCompletion?: boolean | undefined;
|
|
840
867
|
lockToVersion?: string | undefined;
|
|
868
|
+
idempotencyKeyOptions?: {
|
|
869
|
+
key: string;
|
|
870
|
+
scope: "run" | "attempt" | "global";
|
|
871
|
+
} | undefined;
|
|
841
872
|
metadataType?: string | undefined;
|
|
842
873
|
test?: boolean | undefined;
|
|
843
874
|
bulkActionId?: string | undefined;
|
|
@@ -863,6 +894,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
863
894
|
key: string;
|
|
864
895
|
delay: string;
|
|
865
896
|
mode?: "leading" | "trailing" | undefined;
|
|
897
|
+
maxDelay?: string | undefined;
|
|
866
898
|
} | undefined;
|
|
867
899
|
dependentAttempt?: string | undefined;
|
|
868
900
|
parentAttempt?: string | undefined;
|
|
@@ -871,6 +903,10 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
871
903
|
parentRunId?: string | undefined;
|
|
872
904
|
resumeParentOnCompletion?: boolean | undefined;
|
|
873
905
|
lockToVersion?: string | undefined;
|
|
906
|
+
idempotencyKeyOptions?: {
|
|
907
|
+
key: string;
|
|
908
|
+
scope: "run" | "attempt" | "global";
|
|
909
|
+
} | undefined;
|
|
874
910
|
metadataType?: string | undefined;
|
|
875
911
|
test?: boolean | undefined;
|
|
876
912
|
bulkActionId?: string | undefined;
|
|
@@ -898,6 +934,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
898
934
|
key: string;
|
|
899
935
|
delay: string;
|
|
900
936
|
mode?: "leading" | "trailing" | undefined;
|
|
937
|
+
maxDelay?: string | undefined;
|
|
901
938
|
} | undefined;
|
|
902
939
|
dependentAttempt?: string | undefined;
|
|
903
940
|
parentAttempt?: string | undefined;
|
|
@@ -906,6 +943,10 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
906
943
|
parentRunId?: string | undefined;
|
|
907
944
|
resumeParentOnCompletion?: boolean | undefined;
|
|
908
945
|
lockToVersion?: string | undefined;
|
|
946
|
+
idempotencyKeyOptions?: {
|
|
947
|
+
key: string;
|
|
948
|
+
scope: "run" | "attempt" | "global";
|
|
949
|
+
} | undefined;
|
|
909
950
|
metadataType?: string | undefined;
|
|
910
951
|
test?: boolean | undefined;
|
|
911
952
|
bulkActionId?: string | undefined;
|
|
@@ -935,6 +976,7 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
935
976
|
key: string;
|
|
936
977
|
delay: string;
|
|
937
978
|
mode?: "leading" | "trailing" | undefined;
|
|
979
|
+
maxDelay?: string | undefined;
|
|
938
980
|
} | undefined;
|
|
939
981
|
dependentAttempt?: string | undefined;
|
|
940
982
|
parentAttempt?: string | undefined;
|
|
@@ -943,6 +985,10 @@ export declare const TriggerTaskRequestBody: z.ZodObject<{
|
|
|
943
985
|
parentRunId?: string | undefined;
|
|
944
986
|
resumeParentOnCompletion?: boolean | undefined;
|
|
945
987
|
lockToVersion?: string | undefined;
|
|
988
|
+
idempotencyKeyOptions?: {
|
|
989
|
+
key: string;
|
|
990
|
+
scope: "run" | "attempt" | "global";
|
|
991
|
+
} | undefined;
|
|
946
992
|
metadataType?: string | undefined;
|
|
947
993
|
test?: boolean | undefined;
|
|
948
994
|
bulkActionId?: string | undefined;
|
|
@@ -1006,6 +1052,17 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1006
1052
|
delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
1007
1053
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1008
1054
|
idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
|
|
1055
|
+
/** The original user-provided idempotency key and scope */
|
|
1056
|
+
idempotencyKeyOptions: z.ZodOptional<z.ZodObject<{
|
|
1057
|
+
key: z.ZodString;
|
|
1058
|
+
scope: z.ZodEnum<["run", "attempt", "global"]>;
|
|
1059
|
+
}, "strip", z.ZodTypeAny, {
|
|
1060
|
+
key: string;
|
|
1061
|
+
scope: "run" | "attempt" | "global";
|
|
1062
|
+
}, {
|
|
1063
|
+
key: string;
|
|
1064
|
+
scope: "run" | "attempt" | "global";
|
|
1065
|
+
}>>;
|
|
1009
1066
|
machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
1010
1067
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
1011
1068
|
maxDuration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1022,14 +1079,17 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1022
1079
|
key: z.ZodString;
|
|
1023
1080
|
delay: z.ZodString;
|
|
1024
1081
|
mode: z.ZodOptional<z.ZodEnum<["leading", "trailing"]>>;
|
|
1082
|
+
maxDelay: z.ZodOptional<z.ZodString>;
|
|
1025
1083
|
}, "strip", z.ZodTypeAny, {
|
|
1026
1084
|
key: string;
|
|
1027
1085
|
delay: string;
|
|
1028
1086
|
mode?: "leading" | "trailing" | undefined;
|
|
1087
|
+
maxDelay?: string | undefined;
|
|
1029
1088
|
}, {
|
|
1030
1089
|
key: string;
|
|
1031
1090
|
delay: string;
|
|
1032
1091
|
mode?: "leading" | "trailing" | undefined;
|
|
1092
|
+
maxDelay?: string | undefined;
|
|
1033
1093
|
}>>;
|
|
1034
1094
|
}, "strip", z.ZodTypeAny, {
|
|
1035
1095
|
metadata?: any;
|
|
@@ -1053,6 +1113,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1053
1113
|
key: string;
|
|
1054
1114
|
delay: string;
|
|
1055
1115
|
mode?: "leading" | "trailing" | undefined;
|
|
1116
|
+
maxDelay?: string | undefined;
|
|
1056
1117
|
} | undefined;
|
|
1057
1118
|
dependentAttempt?: string | undefined;
|
|
1058
1119
|
parentAttempt?: string | undefined;
|
|
@@ -1061,6 +1122,10 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1061
1122
|
parentRunId?: string | undefined;
|
|
1062
1123
|
resumeParentOnCompletion?: boolean | undefined;
|
|
1063
1124
|
lockToVersion?: string | undefined;
|
|
1125
|
+
idempotencyKeyOptions?: {
|
|
1126
|
+
key: string;
|
|
1127
|
+
scope: "run" | "attempt" | "global";
|
|
1128
|
+
} | undefined;
|
|
1064
1129
|
metadataType?: string | undefined;
|
|
1065
1130
|
test?: boolean | undefined;
|
|
1066
1131
|
bulkActionId?: string | undefined;
|
|
@@ -1086,6 +1151,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1086
1151
|
key: string;
|
|
1087
1152
|
delay: string;
|
|
1088
1153
|
mode?: "leading" | "trailing" | undefined;
|
|
1154
|
+
maxDelay?: string | undefined;
|
|
1089
1155
|
} | undefined;
|
|
1090
1156
|
dependentAttempt?: string | undefined;
|
|
1091
1157
|
parentAttempt?: string | undefined;
|
|
@@ -1094,6 +1160,10 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1094
1160
|
parentRunId?: string | undefined;
|
|
1095
1161
|
resumeParentOnCompletion?: boolean | undefined;
|
|
1096
1162
|
lockToVersion?: string | undefined;
|
|
1163
|
+
idempotencyKeyOptions?: {
|
|
1164
|
+
key: string;
|
|
1165
|
+
scope: "run" | "attempt" | "global";
|
|
1166
|
+
} | undefined;
|
|
1097
1167
|
metadataType?: string | undefined;
|
|
1098
1168
|
test?: boolean | undefined;
|
|
1099
1169
|
bulkActionId?: string | undefined;
|
|
@@ -1121,6 +1191,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1121
1191
|
key: string;
|
|
1122
1192
|
delay: string;
|
|
1123
1193
|
mode?: "leading" | "trailing" | undefined;
|
|
1194
|
+
maxDelay?: string | undefined;
|
|
1124
1195
|
} | undefined;
|
|
1125
1196
|
dependentAttempt?: string | undefined;
|
|
1126
1197
|
parentAttempt?: string | undefined;
|
|
@@ -1129,6 +1200,10 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1129
1200
|
parentRunId?: string | undefined;
|
|
1130
1201
|
resumeParentOnCompletion?: boolean | undefined;
|
|
1131
1202
|
lockToVersion?: string | undefined;
|
|
1203
|
+
idempotencyKeyOptions?: {
|
|
1204
|
+
key: string;
|
|
1205
|
+
scope: "run" | "attempt" | "global";
|
|
1206
|
+
} | undefined;
|
|
1132
1207
|
metadataType?: string | undefined;
|
|
1133
1208
|
test?: boolean | undefined;
|
|
1134
1209
|
bulkActionId?: string | undefined;
|
|
@@ -1158,6 +1233,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1158
1233
|
key: string;
|
|
1159
1234
|
delay: string;
|
|
1160
1235
|
mode?: "leading" | "trailing" | undefined;
|
|
1236
|
+
maxDelay?: string | undefined;
|
|
1161
1237
|
} | undefined;
|
|
1162
1238
|
dependentAttempt?: string | undefined;
|
|
1163
1239
|
parentAttempt?: string | undefined;
|
|
@@ -1166,6 +1242,10 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1166
1242
|
parentRunId?: string | undefined;
|
|
1167
1243
|
resumeParentOnCompletion?: boolean | undefined;
|
|
1168
1244
|
lockToVersion?: string | undefined;
|
|
1245
|
+
idempotencyKeyOptions?: {
|
|
1246
|
+
key: string;
|
|
1247
|
+
scope: "run" | "attempt" | "global";
|
|
1248
|
+
} | undefined;
|
|
1169
1249
|
metadataType?: string | undefined;
|
|
1170
1250
|
test?: boolean | undefined;
|
|
1171
1251
|
bulkActionId?: string | undefined;
|
|
@@ -1198,6 +1278,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1198
1278
|
key: string;
|
|
1199
1279
|
delay: string;
|
|
1200
1280
|
mode?: "leading" | "trailing" | undefined;
|
|
1281
|
+
maxDelay?: string | undefined;
|
|
1201
1282
|
} | undefined;
|
|
1202
1283
|
dependentAttempt?: string | undefined;
|
|
1203
1284
|
parentAttempt?: string | undefined;
|
|
@@ -1206,6 +1287,10 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1206
1287
|
parentRunId?: string | undefined;
|
|
1207
1288
|
resumeParentOnCompletion?: boolean | undefined;
|
|
1208
1289
|
lockToVersion?: string | undefined;
|
|
1290
|
+
idempotencyKeyOptions?: {
|
|
1291
|
+
key: string;
|
|
1292
|
+
scope: "run" | "attempt" | "global";
|
|
1293
|
+
} | undefined;
|
|
1209
1294
|
metadataType?: string | undefined;
|
|
1210
1295
|
test?: boolean | undefined;
|
|
1211
1296
|
bulkActionId?: string | undefined;
|
|
@@ -1238,6 +1323,7 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1238
1323
|
key: string;
|
|
1239
1324
|
delay: string;
|
|
1240
1325
|
mode?: "leading" | "trailing" | undefined;
|
|
1326
|
+
maxDelay?: string | undefined;
|
|
1241
1327
|
} | undefined;
|
|
1242
1328
|
dependentAttempt?: string | undefined;
|
|
1243
1329
|
parentAttempt?: string | undefined;
|
|
@@ -1246,6 +1332,10 @@ export declare const BatchTriggerTaskRequestBody: z.ZodObject<{
|
|
|
1246
1332
|
parentRunId?: string | undefined;
|
|
1247
1333
|
resumeParentOnCompletion?: boolean | undefined;
|
|
1248
1334
|
lockToVersion?: string | undefined;
|
|
1335
|
+
idempotencyKeyOptions?: {
|
|
1336
|
+
key: string;
|
|
1337
|
+
scope: "run" | "attempt" | "global";
|
|
1338
|
+
} | undefined;
|
|
1249
1339
|
metadataType?: string | undefined;
|
|
1250
1340
|
test?: boolean | undefined;
|
|
1251
1341
|
bulkActionId?: string | undefined;
|
|
@@ -1265,6 +1355,17 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
1265
1355
|
delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
1266
1356
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1267
1357
|
idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
|
|
1358
|
+
/** The original user-provided idempotency key and scope */
|
|
1359
|
+
idempotencyKeyOptions: z.ZodOptional<z.ZodObject<{
|
|
1360
|
+
key: z.ZodString;
|
|
1361
|
+
scope: z.ZodEnum<["run", "attempt", "global"]>;
|
|
1362
|
+
}, "strip", z.ZodTypeAny, {
|
|
1363
|
+
key: string;
|
|
1364
|
+
scope: "run" | "attempt" | "global";
|
|
1365
|
+
}, {
|
|
1366
|
+
key: string;
|
|
1367
|
+
scope: "run" | "attempt" | "global";
|
|
1368
|
+
}>>;
|
|
1268
1369
|
lockToVersion: z.ZodOptional<z.ZodString>;
|
|
1269
1370
|
machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
1270
1371
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1289,14 +1390,17 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
1289
1390
|
key: z.ZodString;
|
|
1290
1391
|
delay: z.ZodString;
|
|
1291
1392
|
mode: z.ZodOptional<z.ZodEnum<["leading", "trailing"]>>;
|
|
1393
|
+
maxDelay: z.ZodOptional<z.ZodString>;
|
|
1292
1394
|
}, "strip", z.ZodTypeAny, {
|
|
1293
1395
|
key: string;
|
|
1294
1396
|
delay: string;
|
|
1295
1397
|
mode?: "leading" | "trailing" | undefined;
|
|
1398
|
+
maxDelay?: string | undefined;
|
|
1296
1399
|
}, {
|
|
1297
1400
|
key: string;
|
|
1298
1401
|
delay: string;
|
|
1299
1402
|
mode?: "leading" | "trailing" | undefined;
|
|
1403
|
+
maxDelay?: string | undefined;
|
|
1300
1404
|
}>>;
|
|
1301
1405
|
}, "strip", z.ZodTypeAny, {
|
|
1302
1406
|
metadata?: any;
|
|
@@ -1319,9 +1423,14 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
1319
1423
|
key: string;
|
|
1320
1424
|
delay: string;
|
|
1321
1425
|
mode?: "leading" | "trailing" | undefined;
|
|
1426
|
+
maxDelay?: string | undefined;
|
|
1322
1427
|
} | undefined;
|
|
1323
1428
|
parentAttempt?: string | undefined;
|
|
1324
1429
|
lockToVersion?: string | undefined;
|
|
1430
|
+
idempotencyKeyOptions?: {
|
|
1431
|
+
key: string;
|
|
1432
|
+
scope: "run" | "attempt" | "global";
|
|
1433
|
+
} | undefined;
|
|
1325
1434
|
metadataType?: string | undefined;
|
|
1326
1435
|
test?: boolean | undefined;
|
|
1327
1436
|
}, {
|
|
@@ -1345,9 +1454,14 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
1345
1454
|
key: string;
|
|
1346
1455
|
delay: string;
|
|
1347
1456
|
mode?: "leading" | "trailing" | undefined;
|
|
1457
|
+
maxDelay?: string | undefined;
|
|
1348
1458
|
} | undefined;
|
|
1349
1459
|
parentAttempt?: string | undefined;
|
|
1350
1460
|
lockToVersion?: string | undefined;
|
|
1461
|
+
idempotencyKeyOptions?: {
|
|
1462
|
+
key: string;
|
|
1463
|
+
scope: "run" | "attempt" | "global";
|
|
1464
|
+
} | undefined;
|
|
1351
1465
|
metadataType?: string | undefined;
|
|
1352
1466
|
test?: boolean | undefined;
|
|
1353
1467
|
}>>;
|
|
@@ -1374,9 +1488,14 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
1374
1488
|
key: string;
|
|
1375
1489
|
delay: string;
|
|
1376
1490
|
mode?: "leading" | "trailing" | undefined;
|
|
1491
|
+
maxDelay?: string | undefined;
|
|
1377
1492
|
} | undefined;
|
|
1378
1493
|
parentAttempt?: string | undefined;
|
|
1379
1494
|
lockToVersion?: string | undefined;
|
|
1495
|
+
idempotencyKeyOptions?: {
|
|
1496
|
+
key: string;
|
|
1497
|
+
scope: "run" | "attempt" | "global";
|
|
1498
|
+
} | undefined;
|
|
1380
1499
|
metadataType?: string | undefined;
|
|
1381
1500
|
test?: boolean | undefined;
|
|
1382
1501
|
} | undefined;
|
|
@@ -1405,9 +1524,14 @@ export declare const BatchTriggerTaskItem: z.ZodObject<{
|
|
|
1405
1524
|
key: string;
|
|
1406
1525
|
delay: string;
|
|
1407
1526
|
mode?: "leading" | "trailing" | undefined;
|
|
1527
|
+
maxDelay?: string | undefined;
|
|
1408
1528
|
} | undefined;
|
|
1409
1529
|
parentAttempt?: string | undefined;
|
|
1410
1530
|
lockToVersion?: string | undefined;
|
|
1531
|
+
idempotencyKeyOptions?: {
|
|
1532
|
+
key: string;
|
|
1533
|
+
scope: "run" | "attempt" | "global";
|
|
1534
|
+
} | undefined;
|
|
1411
1535
|
metadataType?: string | undefined;
|
|
1412
1536
|
test?: boolean | undefined;
|
|
1413
1537
|
} | undefined;
|
|
@@ -1425,6 +1549,17 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1425
1549
|
delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
1426
1550
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1427
1551
|
idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
|
|
1552
|
+
/** The original user-provided idempotency key and scope */
|
|
1553
|
+
idempotencyKeyOptions: z.ZodOptional<z.ZodObject<{
|
|
1554
|
+
key: z.ZodString;
|
|
1555
|
+
scope: z.ZodEnum<["run", "attempt", "global"]>;
|
|
1556
|
+
}, "strip", z.ZodTypeAny, {
|
|
1557
|
+
key: string;
|
|
1558
|
+
scope: "run" | "attempt" | "global";
|
|
1559
|
+
}, {
|
|
1560
|
+
key: string;
|
|
1561
|
+
scope: "run" | "attempt" | "global";
|
|
1562
|
+
}>>;
|
|
1428
1563
|
lockToVersion: z.ZodOptional<z.ZodString>;
|
|
1429
1564
|
machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
1430
1565
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1449,14 +1584,17 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1449
1584
|
key: z.ZodString;
|
|
1450
1585
|
delay: z.ZodString;
|
|
1451
1586
|
mode: z.ZodOptional<z.ZodEnum<["leading", "trailing"]>>;
|
|
1587
|
+
maxDelay: z.ZodOptional<z.ZodString>;
|
|
1452
1588
|
}, "strip", z.ZodTypeAny, {
|
|
1453
1589
|
key: string;
|
|
1454
1590
|
delay: string;
|
|
1455
1591
|
mode?: "leading" | "trailing" | undefined;
|
|
1592
|
+
maxDelay?: string | undefined;
|
|
1456
1593
|
}, {
|
|
1457
1594
|
key: string;
|
|
1458
1595
|
delay: string;
|
|
1459
1596
|
mode?: "leading" | "trailing" | undefined;
|
|
1597
|
+
maxDelay?: string | undefined;
|
|
1460
1598
|
}>>;
|
|
1461
1599
|
}, "strip", z.ZodTypeAny, {
|
|
1462
1600
|
metadata?: any;
|
|
@@ -1479,9 +1617,14 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1479
1617
|
key: string;
|
|
1480
1618
|
delay: string;
|
|
1481
1619
|
mode?: "leading" | "trailing" | undefined;
|
|
1620
|
+
maxDelay?: string | undefined;
|
|
1482
1621
|
} | undefined;
|
|
1483
1622
|
parentAttempt?: string | undefined;
|
|
1484
1623
|
lockToVersion?: string | undefined;
|
|
1624
|
+
idempotencyKeyOptions?: {
|
|
1625
|
+
key: string;
|
|
1626
|
+
scope: "run" | "attempt" | "global";
|
|
1627
|
+
} | undefined;
|
|
1485
1628
|
metadataType?: string | undefined;
|
|
1486
1629
|
test?: boolean | undefined;
|
|
1487
1630
|
}, {
|
|
@@ -1505,9 +1648,14 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1505
1648
|
key: string;
|
|
1506
1649
|
delay: string;
|
|
1507
1650
|
mode?: "leading" | "trailing" | undefined;
|
|
1651
|
+
maxDelay?: string | undefined;
|
|
1508
1652
|
} | undefined;
|
|
1509
1653
|
parentAttempt?: string | undefined;
|
|
1510
1654
|
lockToVersion?: string | undefined;
|
|
1655
|
+
idempotencyKeyOptions?: {
|
|
1656
|
+
key: string;
|
|
1657
|
+
scope: "run" | "attempt" | "global";
|
|
1658
|
+
} | undefined;
|
|
1511
1659
|
metadataType?: string | undefined;
|
|
1512
1660
|
test?: boolean | undefined;
|
|
1513
1661
|
}>>;
|
|
@@ -1534,9 +1682,14 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1534
1682
|
key: string;
|
|
1535
1683
|
delay: string;
|
|
1536
1684
|
mode?: "leading" | "trailing" | undefined;
|
|
1685
|
+
maxDelay?: string | undefined;
|
|
1537
1686
|
} | undefined;
|
|
1538
1687
|
parentAttempt?: string | undefined;
|
|
1539
1688
|
lockToVersion?: string | undefined;
|
|
1689
|
+
idempotencyKeyOptions?: {
|
|
1690
|
+
key: string;
|
|
1691
|
+
scope: "run" | "attempt" | "global";
|
|
1692
|
+
} | undefined;
|
|
1540
1693
|
metadataType?: string | undefined;
|
|
1541
1694
|
test?: boolean | undefined;
|
|
1542
1695
|
} | undefined;
|
|
@@ -1565,9 +1718,14 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1565
1718
|
key: string;
|
|
1566
1719
|
delay: string;
|
|
1567
1720
|
mode?: "leading" | "trailing" | undefined;
|
|
1721
|
+
maxDelay?: string | undefined;
|
|
1568
1722
|
} | undefined;
|
|
1569
1723
|
parentAttempt?: string | undefined;
|
|
1570
1724
|
lockToVersion?: string | undefined;
|
|
1725
|
+
idempotencyKeyOptions?: {
|
|
1726
|
+
key: string;
|
|
1727
|
+
scope: "run" | "attempt" | "global";
|
|
1728
|
+
} | undefined;
|
|
1571
1729
|
metadataType?: string | undefined;
|
|
1572
1730
|
test?: boolean | undefined;
|
|
1573
1731
|
} | undefined;
|
|
@@ -1610,9 +1768,14 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1610
1768
|
key: string;
|
|
1611
1769
|
delay: string;
|
|
1612
1770
|
mode?: "leading" | "trailing" | undefined;
|
|
1771
|
+
maxDelay?: string | undefined;
|
|
1613
1772
|
} | undefined;
|
|
1614
1773
|
parentAttempt?: string | undefined;
|
|
1615
1774
|
lockToVersion?: string | undefined;
|
|
1775
|
+
idempotencyKeyOptions?: {
|
|
1776
|
+
key: string;
|
|
1777
|
+
scope: "run" | "attempt" | "global";
|
|
1778
|
+
} | undefined;
|
|
1616
1779
|
metadataType?: string | undefined;
|
|
1617
1780
|
test?: boolean | undefined;
|
|
1618
1781
|
} | undefined;
|
|
@@ -1646,9 +1809,14 @@ export declare const BatchTriggerTaskV2RequestBody: z.ZodObject<{
|
|
|
1646
1809
|
key: string;
|
|
1647
1810
|
delay: string;
|
|
1648
1811
|
mode?: "leading" | "trailing" | undefined;
|
|
1812
|
+
maxDelay?: string | undefined;
|
|
1649
1813
|
} | undefined;
|
|
1650
1814
|
parentAttempt?: string | undefined;
|
|
1651
1815
|
lockToVersion?: string | undefined;
|
|
1816
|
+
idempotencyKeyOptions?: {
|
|
1817
|
+
key: string;
|
|
1818
|
+
scope: "run" | "attempt" | "global";
|
|
1819
|
+
} | undefined;
|
|
1652
1820
|
metadataType?: string | undefined;
|
|
1653
1821
|
test?: boolean | undefined;
|
|
1654
1822
|
} | undefined;
|
|
@@ -1712,6 +1880,17 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
1712
1880
|
delay: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
1713
1881
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
1714
1882
|
idempotencyKeyTTL: z.ZodOptional<z.ZodString>;
|
|
1883
|
+
/** The original user-provided idempotency key and scope */
|
|
1884
|
+
idempotencyKeyOptions: z.ZodOptional<z.ZodObject<{
|
|
1885
|
+
key: z.ZodString;
|
|
1886
|
+
scope: z.ZodEnum<["run", "attempt", "global"]>;
|
|
1887
|
+
}, "strip", z.ZodTypeAny, {
|
|
1888
|
+
key: string;
|
|
1889
|
+
scope: "run" | "attempt" | "global";
|
|
1890
|
+
}, {
|
|
1891
|
+
key: string;
|
|
1892
|
+
scope: "run" | "attempt" | "global";
|
|
1893
|
+
}>>;
|
|
1715
1894
|
lockToVersion: z.ZodOptional<z.ZodString>;
|
|
1716
1895
|
machine: z.ZodOptional<z.ZodEnum<["micro", "small-1x", "small-2x", "medium-1x", "medium-2x", "large-1x", "large-2x"]>>;
|
|
1717
1896
|
maxAttempts: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1736,14 +1915,17 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
1736
1915
|
key: z.ZodString;
|
|
1737
1916
|
delay: z.ZodString;
|
|
1738
1917
|
mode: z.ZodOptional<z.ZodEnum<["leading", "trailing"]>>;
|
|
1918
|
+
maxDelay: z.ZodOptional<z.ZodString>;
|
|
1739
1919
|
}, "strip", z.ZodTypeAny, {
|
|
1740
1920
|
key: string;
|
|
1741
1921
|
delay: string;
|
|
1742
1922
|
mode?: "leading" | "trailing" | undefined;
|
|
1923
|
+
maxDelay?: string | undefined;
|
|
1743
1924
|
}, {
|
|
1744
1925
|
key: string;
|
|
1745
1926
|
delay: string;
|
|
1746
1927
|
mode?: "leading" | "trailing" | undefined;
|
|
1928
|
+
maxDelay?: string | undefined;
|
|
1747
1929
|
}>>;
|
|
1748
1930
|
}, "strip", z.ZodTypeAny, {
|
|
1749
1931
|
metadata?: any;
|
|
@@ -1766,9 +1948,14 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
1766
1948
|
key: string;
|
|
1767
1949
|
delay: string;
|
|
1768
1950
|
mode?: "leading" | "trailing" | undefined;
|
|
1951
|
+
maxDelay?: string | undefined;
|
|
1769
1952
|
} | undefined;
|
|
1770
1953
|
parentAttempt?: string | undefined;
|
|
1771
1954
|
lockToVersion?: string | undefined;
|
|
1955
|
+
idempotencyKeyOptions?: {
|
|
1956
|
+
key: string;
|
|
1957
|
+
scope: "run" | "attempt" | "global";
|
|
1958
|
+
} | undefined;
|
|
1772
1959
|
metadataType?: string | undefined;
|
|
1773
1960
|
test?: boolean | undefined;
|
|
1774
1961
|
}, {
|
|
@@ -1792,9 +1979,14 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
1792
1979
|
key: string;
|
|
1793
1980
|
delay: string;
|
|
1794
1981
|
mode?: "leading" | "trailing" | undefined;
|
|
1982
|
+
maxDelay?: string | undefined;
|
|
1795
1983
|
} | undefined;
|
|
1796
1984
|
parentAttempt?: string | undefined;
|
|
1797
1985
|
lockToVersion?: string | undefined;
|
|
1986
|
+
idempotencyKeyOptions?: {
|
|
1987
|
+
key: string;
|
|
1988
|
+
scope: "run" | "attempt" | "global";
|
|
1989
|
+
} | undefined;
|
|
1798
1990
|
metadataType?: string | undefined;
|
|
1799
1991
|
test?: boolean | undefined;
|
|
1800
1992
|
}>>;
|
|
@@ -1821,9 +2013,14 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
1821
2013
|
key: string;
|
|
1822
2014
|
delay: string;
|
|
1823
2015
|
mode?: "leading" | "trailing" | undefined;
|
|
2016
|
+
maxDelay?: string | undefined;
|
|
1824
2017
|
} | undefined;
|
|
1825
2018
|
parentAttempt?: string | undefined;
|
|
1826
2019
|
lockToVersion?: string | undefined;
|
|
2020
|
+
idempotencyKeyOptions?: {
|
|
2021
|
+
key: string;
|
|
2022
|
+
scope: "run" | "attempt" | "global";
|
|
2023
|
+
} | undefined;
|
|
1827
2024
|
metadataType?: string | undefined;
|
|
1828
2025
|
test?: boolean | undefined;
|
|
1829
2026
|
} | undefined;
|
|
@@ -1852,9 +2049,14 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
1852
2049
|
key: string;
|
|
1853
2050
|
delay: string;
|
|
1854
2051
|
mode?: "leading" | "trailing" | undefined;
|
|
2052
|
+
maxDelay?: string | undefined;
|
|
1855
2053
|
} | undefined;
|
|
1856
2054
|
parentAttempt?: string | undefined;
|
|
1857
2055
|
lockToVersion?: string | undefined;
|
|
2056
|
+
idempotencyKeyOptions?: {
|
|
2057
|
+
key: string;
|
|
2058
|
+
scope: "run" | "attempt" | "global";
|
|
2059
|
+
} | undefined;
|
|
1858
2060
|
metadataType?: string | undefined;
|
|
1859
2061
|
test?: boolean | undefined;
|
|
1860
2062
|
} | undefined;
|
|
@@ -1895,9 +2097,14 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
1895
2097
|
key: string;
|
|
1896
2098
|
delay: string;
|
|
1897
2099
|
mode?: "leading" | "trailing" | undefined;
|
|
2100
|
+
maxDelay?: string | undefined;
|
|
1898
2101
|
} | undefined;
|
|
1899
2102
|
parentAttempt?: string | undefined;
|
|
1900
2103
|
lockToVersion?: string | undefined;
|
|
2104
|
+
idempotencyKeyOptions?: {
|
|
2105
|
+
key: string;
|
|
2106
|
+
scope: "run" | "attempt" | "global";
|
|
2107
|
+
} | undefined;
|
|
1901
2108
|
metadataType?: string | undefined;
|
|
1902
2109
|
test?: boolean | undefined;
|
|
1903
2110
|
} | undefined;
|
|
@@ -1930,9 +2137,14 @@ export declare const BatchTriggerTaskV3RequestBody: z.ZodObject<{
|
|
|
1930
2137
|
key: string;
|
|
1931
2138
|
delay: string;
|
|
1932
2139
|
mode?: "leading" | "trailing" | undefined;
|
|
2140
|
+
maxDelay?: string | undefined;
|
|
1933
2141
|
} | undefined;
|
|
1934
2142
|
parentAttempt?: string | undefined;
|
|
1935
2143
|
lockToVersion?: string | undefined;
|
|
2144
|
+
idempotencyKeyOptions?: {
|
|
2145
|
+
key: string;
|
|
2146
|
+
scope: "run" | "attempt" | "global";
|
|
2147
|
+
} | undefined;
|
|
1936
2148
|
metadataType?: string | undefined;
|
|
1937
2149
|
test?: boolean | undefined;
|
|
1938
2150
|
} | undefined;
|
|
@@ -1967,16 +2179,35 @@ export declare const CreateBatchRequestBody: z.ZodObject<{
|
|
|
1967
2179
|
resumeParentOnCompletion: z.ZodOptional<z.ZodBoolean>;
|
|
1968
2180
|
/** Idempotency key for the batch */
|
|
1969
2181
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
2182
|
+
/** The original user-provided idempotency key and scope */
|
|
2183
|
+
idempotencyKeyOptions: z.ZodOptional<z.ZodObject<{
|
|
2184
|
+
key: z.ZodString;
|
|
2185
|
+
scope: z.ZodEnum<["run", "attempt", "global"]>;
|
|
2186
|
+
}, "strip", z.ZodTypeAny, {
|
|
2187
|
+
key: string;
|
|
2188
|
+
scope: "run" | "attempt" | "global";
|
|
2189
|
+
}, {
|
|
2190
|
+
key: string;
|
|
2191
|
+
scope: "run" | "attempt" | "global";
|
|
2192
|
+
}>>;
|
|
1970
2193
|
}, "strip", z.ZodTypeAny, {
|
|
1971
2194
|
runCount: number;
|
|
1972
2195
|
idempotencyKey?: string | undefined;
|
|
1973
2196
|
parentRunId?: string | undefined;
|
|
1974
2197
|
resumeParentOnCompletion?: boolean | undefined;
|
|
2198
|
+
idempotencyKeyOptions?: {
|
|
2199
|
+
key: string;
|
|
2200
|
+
scope: "run" | "attempt" | "global";
|
|
2201
|
+
} | undefined;
|
|
1975
2202
|
}, {
|
|
1976
2203
|
runCount: number;
|
|
1977
2204
|
idempotencyKey?: string | undefined;
|
|
1978
2205
|
parentRunId?: string | undefined;
|
|
1979
2206
|
resumeParentOnCompletion?: boolean | undefined;
|
|
2207
|
+
idempotencyKeyOptions?: {
|
|
2208
|
+
key: string;
|
|
2209
|
+
scope: "run" | "attempt" | "global";
|
|
2210
|
+
} | undefined;
|
|
1980
2211
|
}>;
|
|
1981
2212
|
export type CreateBatchRequestBody = z.infer<typeof CreateBatchRequestBody>;
|
|
1982
2213
|
/**
|
|
@@ -2165,6 +2396,29 @@ export declare const FinalizeDeploymentRequestBody: z.ZodObject<{
|
|
|
2165
2396
|
skipPushToRegistry?: boolean | undefined;
|
|
2166
2397
|
}>;
|
|
2167
2398
|
export type FinalizeDeploymentRequestBody = z.infer<typeof FinalizeDeploymentRequestBody>;
|
|
2399
|
+
export declare const BuildServerMetadata: z.ZodObject<{
|
|
2400
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
2401
|
+
isNativeBuild: z.ZodOptional<z.ZodBoolean>;
|
|
2402
|
+
artifactKey: z.ZodOptional<z.ZodString>;
|
|
2403
|
+
skipPromotion: z.ZodOptional<z.ZodBoolean>;
|
|
2404
|
+
configFilePath: z.ZodOptional<z.ZodString>;
|
|
2405
|
+
skipEnqueue: z.ZodOptional<z.ZodBoolean>;
|
|
2406
|
+
}, "strip", z.ZodTypeAny, {
|
|
2407
|
+
skipPromotion?: boolean | undefined;
|
|
2408
|
+
buildId?: string | undefined;
|
|
2409
|
+
isNativeBuild?: boolean | undefined;
|
|
2410
|
+
artifactKey?: string | undefined;
|
|
2411
|
+
configFilePath?: string | undefined;
|
|
2412
|
+
skipEnqueue?: boolean | undefined;
|
|
2413
|
+
}, {
|
|
2414
|
+
skipPromotion?: boolean | undefined;
|
|
2415
|
+
buildId?: string | undefined;
|
|
2416
|
+
isNativeBuild?: boolean | undefined;
|
|
2417
|
+
artifactKey?: string | undefined;
|
|
2418
|
+
configFilePath?: string | undefined;
|
|
2419
|
+
skipEnqueue?: boolean | undefined;
|
|
2420
|
+
}>;
|
|
2421
|
+
export type BuildServerMetadata = z.infer<typeof BuildServerMetadata>;
|
|
2168
2422
|
export declare const ProgressDeploymentRequestBody: z.ZodObject<{
|
|
2169
2423
|
contentHash: z.ZodOptional<z.ZodString>;
|
|
2170
2424
|
gitMeta: z.ZodOptional<z.ZodObject<{
|
|
@@ -2211,6 +2465,28 @@ export declare const ProgressDeploymentRequestBody: z.ZodObject<{
|
|
|
2211
2465
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2212
2466
|
}>>;
|
|
2213
2467
|
runtime: z.ZodOptional<z.ZodString>;
|
|
2468
|
+
buildServerMetadata: z.ZodOptional<z.ZodObject<{
|
|
2469
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
2470
|
+
isNativeBuild: z.ZodOptional<z.ZodBoolean>;
|
|
2471
|
+
artifactKey: z.ZodOptional<z.ZodString>;
|
|
2472
|
+
skipPromotion: z.ZodOptional<z.ZodBoolean>;
|
|
2473
|
+
configFilePath: z.ZodOptional<z.ZodString>;
|
|
2474
|
+
skipEnqueue: z.ZodOptional<z.ZodBoolean>;
|
|
2475
|
+
}, "strip", z.ZodTypeAny, {
|
|
2476
|
+
skipPromotion?: boolean | undefined;
|
|
2477
|
+
buildId?: string | undefined;
|
|
2478
|
+
isNativeBuild?: boolean | undefined;
|
|
2479
|
+
artifactKey?: string | undefined;
|
|
2480
|
+
configFilePath?: string | undefined;
|
|
2481
|
+
skipEnqueue?: boolean | undefined;
|
|
2482
|
+
}, {
|
|
2483
|
+
skipPromotion?: boolean | undefined;
|
|
2484
|
+
buildId?: string | undefined;
|
|
2485
|
+
isNativeBuild?: boolean | undefined;
|
|
2486
|
+
artifactKey?: string | undefined;
|
|
2487
|
+
configFilePath?: string | undefined;
|
|
2488
|
+
skipEnqueue?: boolean | undefined;
|
|
2489
|
+
}>>;
|
|
2214
2490
|
}, "strip", z.ZodTypeAny, {
|
|
2215
2491
|
runtime?: string | undefined;
|
|
2216
2492
|
contentHash?: string | undefined;
|
|
@@ -2229,6 +2505,14 @@ export declare const ProgressDeploymentRequestBody: z.ZodObject<{
|
|
|
2229
2505
|
pullRequestTitle?: string | undefined;
|
|
2230
2506
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2231
2507
|
} | undefined;
|
|
2508
|
+
buildServerMetadata?: {
|
|
2509
|
+
skipPromotion?: boolean | undefined;
|
|
2510
|
+
buildId?: string | undefined;
|
|
2511
|
+
isNativeBuild?: boolean | undefined;
|
|
2512
|
+
artifactKey?: string | undefined;
|
|
2513
|
+
configFilePath?: string | undefined;
|
|
2514
|
+
skipEnqueue?: boolean | undefined;
|
|
2515
|
+
} | undefined;
|
|
2232
2516
|
}, {
|
|
2233
2517
|
runtime?: string | undefined;
|
|
2234
2518
|
contentHash?: string | undefined;
|
|
@@ -2247,6 +2531,14 @@ export declare const ProgressDeploymentRequestBody: z.ZodObject<{
|
|
|
2247
2531
|
pullRequestTitle?: string | undefined;
|
|
2248
2532
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2249
2533
|
} | undefined;
|
|
2534
|
+
buildServerMetadata?: {
|
|
2535
|
+
skipPromotion?: boolean | undefined;
|
|
2536
|
+
buildId?: string | undefined;
|
|
2537
|
+
isNativeBuild?: boolean | undefined;
|
|
2538
|
+
artifactKey?: string | undefined;
|
|
2539
|
+
configFilePath?: string | undefined;
|
|
2540
|
+
skipEnqueue?: boolean | undefined;
|
|
2541
|
+
} | undefined;
|
|
2250
2542
|
}>;
|
|
2251
2543
|
export type ProgressDeploymentRequestBody = z.infer<typeof ProgressDeploymentRequestBody>;
|
|
2252
2544
|
export declare const CancelDeploymentRequestBody: z.ZodObject<{
|
|
@@ -2273,26 +2565,6 @@ export declare const ExternalBuildData: z.ZodObject<{
|
|
|
2273
2565
|
export type ExternalBuildData = z.infer<typeof ExternalBuildData>;
|
|
2274
2566
|
export declare const DeploymentTriggeredVia: z.ZodUnion<[z.ZodEnum<["cli:manual", "cli:ci_other", "cli:github_actions", "cli:gitlab_ci", "cli:circleci", "cli:jenkins", "cli:azure_pipelines", "cli:bitbucket_pipelines", "cli:travis_ci", "cli:buildkite", "git_integration:github", "dashboard"]>, z.ZodType<string & {}, z.ZodTypeDef, string & {}>]>;
|
|
2275
2567
|
export type DeploymentTriggeredVia = z.infer<typeof DeploymentTriggeredVia>;
|
|
2276
|
-
export declare const BuildServerMetadata: z.ZodObject<{
|
|
2277
|
-
buildId: z.ZodOptional<z.ZodString>;
|
|
2278
|
-
isNativeBuild: z.ZodOptional<z.ZodBoolean>;
|
|
2279
|
-
artifactKey: z.ZodOptional<z.ZodString>;
|
|
2280
|
-
skipPromotion: z.ZodOptional<z.ZodBoolean>;
|
|
2281
|
-
configFilePath: z.ZodOptional<z.ZodString>;
|
|
2282
|
-
}, "strip", z.ZodTypeAny, {
|
|
2283
|
-
skipPromotion?: boolean | undefined;
|
|
2284
|
-
buildId?: string | undefined;
|
|
2285
|
-
isNativeBuild?: boolean | undefined;
|
|
2286
|
-
artifactKey?: string | undefined;
|
|
2287
|
-
configFilePath?: string | undefined;
|
|
2288
|
-
}, {
|
|
2289
|
-
skipPromotion?: boolean | undefined;
|
|
2290
|
-
buildId?: string | undefined;
|
|
2291
|
-
isNativeBuild?: boolean | undefined;
|
|
2292
|
-
artifactKey?: string | undefined;
|
|
2293
|
-
configFilePath?: string | undefined;
|
|
2294
|
-
}>;
|
|
2295
|
-
export type BuildServerMetadata = z.infer<typeof BuildServerMetadata>;
|
|
2296
2568
|
export declare const UpsertBranchRequestBody: z.ZodObject<{
|
|
2297
2569
|
git: z.ZodOptional<z.ZodObject<{
|
|
2298
2570
|
provider: z.ZodOptional<z.ZodString>;
|
|
@@ -2503,7 +2775,7 @@ export declare const InitializeDeploymentResponseBody: z.ZodObject<{
|
|
|
2503
2775
|
} | undefined;
|
|
2504
2776
|
}>;
|
|
2505
2777
|
export type InitializeDeploymentResponseBody = z.infer<typeof InitializeDeploymentResponseBody>;
|
|
2506
|
-
|
|
2778
|
+
declare const InitializeDeploymentRequestBodyBase: z.ZodObject<{
|
|
2507
2779
|
contentHash: z.ZodString;
|
|
2508
2780
|
userId: z.ZodOptional<z.ZodString>;
|
|
2509
2781
|
/** @deprecated This is now determined by the webapp. This is only used to warn users with old CLI versions. */
|
|
@@ -2554,6 +2826,7 @@ export declare const InitializeDeploymentRequestBody: z.ZodIntersection<z.ZodObj
|
|
|
2554
2826
|
type: z.ZodOptional<z.ZodEnum<["MANAGED", "UNMANAGED", "V1"]>>;
|
|
2555
2827
|
runtime: z.ZodOptional<z.ZodString>;
|
|
2556
2828
|
initialStatus: z.ZodOptional<z.ZodEnum<["PENDING", "BUILDING"]>>;
|
|
2829
|
+
isLocalBuild: z.ZodOptional<z.ZodBoolean>;
|
|
2557
2830
|
triggeredVia: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["cli:manual", "cli:ci_other", "cli:github_actions", "cli:gitlab_ci", "cli:circleci", "cli:jenkins", "cli:azure_pipelines", "cli:bitbucket_pipelines", "cli:travis_ci", "cli:buildkite", "git_integration:github", "dashboard"]>, z.ZodType<string & {}, z.ZodTypeDef, string & {}>]>>;
|
|
2558
2831
|
buildId: z.ZodOptional<z.ZodString>;
|
|
2559
2832
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2562,6 +2835,7 @@ export declare const InitializeDeploymentRequestBody: z.ZodIntersection<z.ZodObj
|
|
|
2562
2835
|
runtime?: string | undefined;
|
|
2563
2836
|
userId?: string | undefined;
|
|
2564
2837
|
selfHosted?: boolean | undefined;
|
|
2838
|
+
buildId?: string | undefined;
|
|
2565
2839
|
gitMeta?: {
|
|
2566
2840
|
dirty?: boolean | undefined;
|
|
2567
2841
|
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
@@ -2577,8 +2851,8 @@ export declare const InitializeDeploymentRequestBody: z.ZodIntersection<z.ZodObj
|
|
|
2577
2851
|
pullRequestTitle?: string | undefined;
|
|
2578
2852
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2579
2853
|
} | undefined;
|
|
2580
|
-
buildId?: string | undefined;
|
|
2581
2854
|
initialStatus?: "PENDING" | "BUILDING" | undefined;
|
|
2855
|
+
isLocalBuild?: boolean | undefined;
|
|
2582
2856
|
triggeredVia?: (string & {}) | "cli:manual" | "cli:ci_other" | "cli:github_actions" | "cli:gitlab_ci" | "cli:circleci" | "cli:jenkins" | "cli:azure_pipelines" | "cli:bitbucket_pipelines" | "cli:travis_ci" | "cli:buildkite" | "git_integration:github" | "dashboard" | undefined;
|
|
2583
2857
|
}, {
|
|
2584
2858
|
contentHash: string;
|
|
@@ -2586,6 +2860,7 @@ export declare const InitializeDeploymentRequestBody: z.ZodIntersection<z.ZodObj
|
|
|
2586
2860
|
runtime?: string | undefined;
|
|
2587
2861
|
userId?: string | undefined;
|
|
2588
2862
|
selfHosted?: boolean | undefined;
|
|
2863
|
+
buildId?: string | undefined;
|
|
2589
2864
|
gitMeta?: {
|
|
2590
2865
|
dirty?: boolean | undefined;
|
|
2591
2866
|
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
@@ -2601,38 +2876,176 @@ export declare const InitializeDeploymentRequestBody: z.ZodIntersection<z.ZodObj
|
|
|
2601
2876
|
pullRequestTitle?: string | undefined;
|
|
2602
2877
|
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2603
2878
|
} | undefined;
|
|
2604
|
-
buildId?: string | undefined;
|
|
2605
2879
|
initialStatus?: "PENDING" | "BUILDING" | undefined;
|
|
2880
|
+
isLocalBuild?: boolean | undefined;
|
|
2606
2881
|
triggeredVia?: (string & {}) | "cli:manual" | "cli:ci_other" | "cli:github_actions" | "cli:gitlab_ci" | "cli:circleci" | "cli:jenkins" | "cli:azure_pipelines" | "cli:bitbucket_pipelines" | "cli:travis_ci" | "cli:buildkite" | "git_integration:github" | "dashboard" | undefined;
|
|
2607
|
-
}
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2882
|
+
}>;
|
|
2883
|
+
type BaseOutput = z.output<typeof InitializeDeploymentRequestBodyBase>;
|
|
2884
|
+
type NativeBuildOutput = BaseOutput & {
|
|
2885
|
+
isNativeBuild: true;
|
|
2886
|
+
skipPromotion?: boolean;
|
|
2887
|
+
artifactKey?: string;
|
|
2888
|
+
configFilePath?: string;
|
|
2889
|
+
skipEnqueue?: boolean;
|
|
2890
|
+
};
|
|
2891
|
+
type NonNativeBuildOutput = BaseOutput & {
|
|
2892
|
+
isNativeBuild: false;
|
|
2893
|
+
skipPromotion?: never;
|
|
2894
|
+
artifactKey?: never;
|
|
2895
|
+
configFilePath?: never;
|
|
2896
|
+
skipEnqueue?: never;
|
|
2897
|
+
};
|
|
2898
|
+
export declare const InitializeDeploymentRequestBody: z.ZodEffects<z.ZodObject<{
|
|
2899
|
+
contentHash: z.ZodString;
|
|
2900
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
2901
|
+
/** @deprecated This is now determined by the webapp. This is only used to warn users with old CLI versions. */
|
|
2902
|
+
selfHosted: z.ZodOptional<z.ZodBoolean>;
|
|
2903
|
+
gitMeta: z.ZodOptional<z.ZodObject<{
|
|
2904
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
2905
|
+
source: z.ZodOptional<z.ZodEnum<["trigger_github_app", "github_actions", "local"]>>;
|
|
2906
|
+
ghUsername: z.ZodOptional<z.ZodString>;
|
|
2907
|
+
ghUserAvatarUrl: z.ZodOptional<z.ZodString>;
|
|
2908
|
+
commitAuthorName: z.ZodOptional<z.ZodString>;
|
|
2909
|
+
commitMessage: z.ZodOptional<z.ZodString>;
|
|
2910
|
+
commitRef: z.ZodOptional<z.ZodString>;
|
|
2911
|
+
commitSha: z.ZodOptional<z.ZodString>;
|
|
2912
|
+
dirty: z.ZodOptional<z.ZodBoolean>;
|
|
2913
|
+
remoteUrl: z.ZodOptional<z.ZodString>;
|
|
2914
|
+
pullRequestNumber: z.ZodOptional<z.ZodNumber>;
|
|
2915
|
+
pullRequestTitle: z.ZodOptional<z.ZodString>;
|
|
2916
|
+
pullRequestState: z.ZodOptional<z.ZodEnum<["open", "closed", "merged"]>>;
|
|
2917
|
+
}, "strip", z.ZodTypeAny, {
|
|
2918
|
+
dirty?: boolean | undefined;
|
|
2919
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2920
|
+
provider?: string | undefined;
|
|
2921
|
+
ghUsername?: string | undefined;
|
|
2922
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2923
|
+
commitAuthorName?: string | undefined;
|
|
2924
|
+
commitMessage?: string | undefined;
|
|
2925
|
+
commitRef?: string | undefined;
|
|
2926
|
+
commitSha?: string | undefined;
|
|
2927
|
+
remoteUrl?: string | undefined;
|
|
2928
|
+
pullRequestNumber?: number | undefined;
|
|
2929
|
+
pullRequestTitle?: string | undefined;
|
|
2930
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2931
|
+
}, {
|
|
2932
|
+
dirty?: boolean | undefined;
|
|
2933
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2934
|
+
provider?: string | undefined;
|
|
2935
|
+
ghUsername?: string | undefined;
|
|
2936
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2937
|
+
commitAuthorName?: string | undefined;
|
|
2938
|
+
commitMessage?: string | undefined;
|
|
2939
|
+
commitRef?: string | undefined;
|
|
2940
|
+
commitSha?: string | undefined;
|
|
2941
|
+
remoteUrl?: string | undefined;
|
|
2942
|
+
pullRequestNumber?: number | undefined;
|
|
2943
|
+
pullRequestTitle?: string | undefined;
|
|
2944
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2945
|
+
}>>;
|
|
2946
|
+
type: z.ZodOptional<z.ZodEnum<["MANAGED", "UNMANAGED", "V1"]>>;
|
|
2947
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
2948
|
+
initialStatus: z.ZodOptional<z.ZodEnum<["PENDING", "BUILDING"]>>;
|
|
2949
|
+
isLocalBuild: z.ZodOptional<z.ZodBoolean>;
|
|
2950
|
+
triggeredVia: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["cli:manual", "cli:ci_other", "cli:github_actions", "cli:gitlab_ci", "cli:circleci", "cli:jenkins", "cli:azure_pipelines", "cli:bitbucket_pipelines", "cli:travis_ci", "cli:buildkite", "git_integration:github", "dashboard"]>, z.ZodType<string & {}, z.ZodTypeDef, string & {}>]>>;
|
|
2951
|
+
buildId: z.ZodOptional<z.ZodString>;
|
|
2952
|
+
} & {
|
|
2953
|
+
isNativeBuild: z.ZodDefault<z.ZodBoolean>;
|
|
2954
|
+
skipPromotion: z.ZodOptional<z.ZodBoolean>;
|
|
2955
|
+
artifactKey: z.ZodOptional<z.ZodString>;
|
|
2611
2956
|
configFilePath: z.ZodOptional<z.ZodString>;
|
|
2957
|
+
skipEnqueue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2612
2958
|
}, "strip", z.ZodTypeAny, {
|
|
2613
|
-
|
|
2614
|
-
isNativeBuild:
|
|
2615
|
-
|
|
2959
|
+
contentHash: string;
|
|
2960
|
+
isNativeBuild: boolean;
|
|
2961
|
+
skipEnqueue: boolean;
|
|
2962
|
+
type?: "V1" | "MANAGED" | "UNMANAGED" | undefined;
|
|
2963
|
+
runtime?: string | undefined;
|
|
2964
|
+
userId?: string | undefined;
|
|
2965
|
+
selfHosted?: boolean | undefined;
|
|
2966
|
+
skipPromotion?: boolean | undefined;
|
|
2967
|
+
buildId?: string | undefined;
|
|
2968
|
+
artifactKey?: string | undefined;
|
|
2616
2969
|
configFilePath?: string | undefined;
|
|
2970
|
+
gitMeta?: {
|
|
2971
|
+
dirty?: boolean | undefined;
|
|
2972
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
2973
|
+
provider?: string | undefined;
|
|
2974
|
+
ghUsername?: string | undefined;
|
|
2975
|
+
ghUserAvatarUrl?: string | undefined;
|
|
2976
|
+
commitAuthorName?: string | undefined;
|
|
2977
|
+
commitMessage?: string | undefined;
|
|
2978
|
+
commitRef?: string | undefined;
|
|
2979
|
+
commitSha?: string | undefined;
|
|
2980
|
+
remoteUrl?: string | undefined;
|
|
2981
|
+
pullRequestNumber?: number | undefined;
|
|
2982
|
+
pullRequestTitle?: string | undefined;
|
|
2983
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
2984
|
+
} | undefined;
|
|
2985
|
+
initialStatus?: "PENDING" | "BUILDING" | undefined;
|
|
2986
|
+
isLocalBuild?: boolean | undefined;
|
|
2987
|
+
triggeredVia?: (string & {}) | "cli:manual" | "cli:ci_other" | "cli:github_actions" | "cli:gitlab_ci" | "cli:circleci" | "cli:jenkins" | "cli:azure_pipelines" | "cli:bitbucket_pipelines" | "cli:travis_ci" | "cli:buildkite" | "git_integration:github" | "dashboard" | undefined;
|
|
2617
2988
|
}, {
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2989
|
+
contentHash: string;
|
|
2990
|
+
type?: "V1" | "MANAGED" | "UNMANAGED" | undefined;
|
|
2991
|
+
runtime?: string | undefined;
|
|
2992
|
+
userId?: string | undefined;
|
|
2993
|
+
selfHosted?: boolean | undefined;
|
|
2994
|
+
skipPromotion?: boolean | undefined;
|
|
2995
|
+
buildId?: string | undefined;
|
|
2996
|
+
isNativeBuild?: boolean | undefined;
|
|
2997
|
+
artifactKey?: string | undefined;
|
|
2621
2998
|
configFilePath?: string | undefined;
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2999
|
+
skipEnqueue?: boolean | undefined;
|
|
3000
|
+
gitMeta?: {
|
|
3001
|
+
dirty?: boolean | undefined;
|
|
3002
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
3003
|
+
provider?: string | undefined;
|
|
3004
|
+
ghUsername?: string | undefined;
|
|
3005
|
+
ghUserAvatarUrl?: string | undefined;
|
|
3006
|
+
commitAuthorName?: string | undefined;
|
|
3007
|
+
commitMessage?: string | undefined;
|
|
3008
|
+
commitRef?: string | undefined;
|
|
3009
|
+
commitSha?: string | undefined;
|
|
3010
|
+
remoteUrl?: string | undefined;
|
|
3011
|
+
pullRequestNumber?: number | undefined;
|
|
3012
|
+
pullRequestTitle?: string | undefined;
|
|
3013
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
3014
|
+
} | undefined;
|
|
3015
|
+
initialStatus?: "PENDING" | "BUILDING" | undefined;
|
|
3016
|
+
isLocalBuild?: boolean | undefined;
|
|
3017
|
+
triggeredVia?: (string & {}) | "cli:manual" | "cli:ci_other" | "cli:github_actions" | "cli:gitlab_ci" | "cli:circleci" | "cli:jenkins" | "cli:azure_pipelines" | "cli:bitbucket_pipelines" | "cli:travis_ci" | "cli:buildkite" | "git_integration:github" | "dashboard" | undefined;
|
|
3018
|
+
}>, NativeBuildOutput | NonNativeBuildOutput, {
|
|
3019
|
+
contentHash: string;
|
|
3020
|
+
type?: "V1" | "MANAGED" | "UNMANAGED" | undefined;
|
|
3021
|
+
runtime?: string | undefined;
|
|
3022
|
+
userId?: string | undefined;
|
|
3023
|
+
selfHosted?: boolean | undefined;
|
|
3024
|
+
skipPromotion?: boolean | undefined;
|
|
3025
|
+
buildId?: string | undefined;
|
|
3026
|
+
isNativeBuild?: boolean | undefined;
|
|
3027
|
+
artifactKey?: string | undefined;
|
|
2632
3028
|
configFilePath?: string | undefined;
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
3029
|
+
skipEnqueue?: boolean | undefined;
|
|
3030
|
+
gitMeta?: {
|
|
3031
|
+
dirty?: boolean | undefined;
|
|
3032
|
+
source?: "trigger_github_app" | "github_actions" | "local" | undefined;
|
|
3033
|
+
provider?: string | undefined;
|
|
3034
|
+
ghUsername?: string | undefined;
|
|
3035
|
+
ghUserAvatarUrl?: string | undefined;
|
|
3036
|
+
commitAuthorName?: string | undefined;
|
|
3037
|
+
commitMessage?: string | undefined;
|
|
3038
|
+
commitRef?: string | undefined;
|
|
3039
|
+
commitSha?: string | undefined;
|
|
3040
|
+
remoteUrl?: string | undefined;
|
|
3041
|
+
pullRequestNumber?: number | undefined;
|
|
3042
|
+
pullRequestTitle?: string | undefined;
|
|
3043
|
+
pullRequestState?: "open" | "closed" | "merged" | undefined;
|
|
3044
|
+
} | undefined;
|
|
3045
|
+
initialStatus?: "PENDING" | "BUILDING" | undefined;
|
|
3046
|
+
isLocalBuild?: boolean | undefined;
|
|
3047
|
+
triggeredVia?: (string & {}) | "cli:manual" | "cli:ci_other" | "cli:github_actions" | "cli:gitlab_ci" | "cli:circleci" | "cli:jenkins" | "cli:azure_pipelines" | "cli:bitbucket_pipelines" | "cli:travis_ci" | "cli:buildkite" | "git_integration:github" | "dashboard" | undefined;
|
|
3048
|
+
}>;
|
|
2636
3049
|
export type InitializeDeploymentRequestBody = z.infer<typeof InitializeDeploymentRequestBody>;
|
|
2637
3050
|
export declare const RemoteBuildProviderStatusResponseBody: z.ZodObject<{
|
|
2638
3051
|
status: z.ZodEnum<["operational", "degraded", "unknown"]>;
|
|
@@ -2742,6 +3155,7 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2742
3155
|
version: z.ZodString;
|
|
2743
3156
|
imageReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2744
3157
|
imagePlatform: z.ZodString;
|
|
3158
|
+
commitSHA: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2745
3159
|
externalBuildData: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2746
3160
|
buildId: z.ZodString;
|
|
2747
3161
|
buildToken: z.ZodString;
|
|
@@ -2809,6 +3223,25 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2809
3223
|
exportName?: string | undefined;
|
|
2810
3224
|
}[];
|
|
2811
3225
|
}>>;
|
|
3226
|
+
integrationDeployments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3227
|
+
id: z.ZodString;
|
|
3228
|
+
integrationName: z.ZodString;
|
|
3229
|
+
integrationDeploymentId: z.ZodString;
|
|
3230
|
+
commitSHA: z.ZodString;
|
|
3231
|
+
createdAt: z.ZodDate;
|
|
3232
|
+
}, "strip", z.ZodTypeAny, {
|
|
3233
|
+
id: string;
|
|
3234
|
+
createdAt: Date;
|
|
3235
|
+
commitSHA: string;
|
|
3236
|
+
integrationName: string;
|
|
3237
|
+
integrationDeploymentId: string;
|
|
3238
|
+
}, {
|
|
3239
|
+
id: string;
|
|
3240
|
+
createdAt: Date;
|
|
3241
|
+
commitSHA: string;
|
|
3242
|
+
integrationName: string;
|
|
3243
|
+
integrationDeploymentId: string;
|
|
3244
|
+
}>, "many">>>;
|
|
2812
3245
|
}, "strip", z.ZodTypeAny, {
|
|
2813
3246
|
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "INSTALLING" | "DEPLOYING" | "DEPLOYED";
|
|
2814
3247
|
id: string;
|
|
@@ -2832,12 +3265,20 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2832
3265
|
buildId: string;
|
|
2833
3266
|
buildToken: string;
|
|
2834
3267
|
} | null | undefined;
|
|
3268
|
+
commitSHA?: string | null | undefined;
|
|
2835
3269
|
errorData?: {
|
|
2836
3270
|
message: string;
|
|
2837
3271
|
name: string;
|
|
2838
3272
|
stack?: string | undefined;
|
|
2839
3273
|
stderr?: string | undefined;
|
|
2840
3274
|
} | null | undefined;
|
|
3275
|
+
integrationDeployments?: {
|
|
3276
|
+
id: string;
|
|
3277
|
+
createdAt: Date;
|
|
3278
|
+
commitSHA: string;
|
|
3279
|
+
integrationName: string;
|
|
3280
|
+
integrationDeploymentId: string;
|
|
3281
|
+
}[] | null | undefined;
|
|
2841
3282
|
}, {
|
|
2842
3283
|
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "INSTALLING" | "DEPLOYING" | "DEPLOYED";
|
|
2843
3284
|
id: string;
|
|
@@ -2861,12 +3302,20 @@ export declare const GetDeploymentResponseBody: z.ZodObject<{
|
|
|
2861
3302
|
buildId: string;
|
|
2862
3303
|
buildToken: string;
|
|
2863
3304
|
} | null | undefined;
|
|
3305
|
+
commitSHA?: string | null | undefined;
|
|
2864
3306
|
errorData?: {
|
|
2865
3307
|
message: string;
|
|
2866
3308
|
name: string;
|
|
2867
3309
|
stack?: string | undefined;
|
|
2868
3310
|
stderr?: string | undefined;
|
|
2869
3311
|
} | null | undefined;
|
|
3312
|
+
integrationDeployments?: {
|
|
3313
|
+
id: string;
|
|
3314
|
+
createdAt: Date;
|
|
3315
|
+
commitSHA: string;
|
|
3316
|
+
integrationName: string;
|
|
3317
|
+
integrationDeploymentId: string;
|
|
3318
|
+
}[] | null | undefined;
|
|
2870
3319
|
}>;
|
|
2871
3320
|
export type GetDeploymentResponseBody = z.infer<typeof GetDeploymentResponseBody>;
|
|
2872
3321
|
export declare const GetLatestDeploymentResponseBody: z.ZodObject<Omit<{
|
|
@@ -2877,6 +3326,7 @@ export declare const GetLatestDeploymentResponseBody: z.ZodObject<Omit<{
|
|
|
2877
3326
|
version: z.ZodString;
|
|
2878
3327
|
imageReference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2879
3328
|
imagePlatform: z.ZodString;
|
|
3329
|
+
commitSHA: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2880
3330
|
externalBuildData: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2881
3331
|
buildId: z.ZodString;
|
|
2882
3332
|
buildToken: z.ZodString;
|
|
@@ -2944,6 +3394,25 @@ export declare const GetLatestDeploymentResponseBody: z.ZodObject<Omit<{
|
|
|
2944
3394
|
exportName?: string | undefined;
|
|
2945
3395
|
}[];
|
|
2946
3396
|
}>>;
|
|
3397
|
+
integrationDeployments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
3398
|
+
id: z.ZodString;
|
|
3399
|
+
integrationName: z.ZodString;
|
|
3400
|
+
integrationDeploymentId: z.ZodString;
|
|
3401
|
+
commitSHA: z.ZodString;
|
|
3402
|
+
createdAt: z.ZodDate;
|
|
3403
|
+
}, "strip", z.ZodTypeAny, {
|
|
3404
|
+
id: string;
|
|
3405
|
+
createdAt: Date;
|
|
3406
|
+
commitSHA: string;
|
|
3407
|
+
integrationName: string;
|
|
3408
|
+
integrationDeploymentId: string;
|
|
3409
|
+
}, {
|
|
3410
|
+
id: string;
|
|
3411
|
+
createdAt: Date;
|
|
3412
|
+
commitSHA: string;
|
|
3413
|
+
integrationName: string;
|
|
3414
|
+
integrationDeploymentId: string;
|
|
3415
|
+
}>, "many">>>;
|
|
2947
3416
|
}, "worker">, "strip", z.ZodTypeAny, {
|
|
2948
3417
|
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "INSTALLING" | "DEPLOYING" | "DEPLOYED";
|
|
2949
3418
|
id: string;
|
|
@@ -2957,12 +3426,20 @@ export declare const GetLatestDeploymentResponseBody: z.ZodObject<Omit<{
|
|
|
2957
3426
|
buildId: string;
|
|
2958
3427
|
buildToken: string;
|
|
2959
3428
|
} | null | undefined;
|
|
3429
|
+
commitSHA?: string | null | undefined;
|
|
2960
3430
|
errorData?: {
|
|
2961
3431
|
message: string;
|
|
2962
3432
|
name: string;
|
|
2963
3433
|
stack?: string | undefined;
|
|
2964
3434
|
stderr?: string | undefined;
|
|
2965
3435
|
} | null | undefined;
|
|
3436
|
+
integrationDeployments?: {
|
|
3437
|
+
id: string;
|
|
3438
|
+
createdAt: Date;
|
|
3439
|
+
commitSHA: string;
|
|
3440
|
+
integrationName: string;
|
|
3441
|
+
integrationDeploymentId: string;
|
|
3442
|
+
}[] | null | undefined;
|
|
2966
3443
|
}, {
|
|
2967
3444
|
status: "CANCELED" | "FAILED" | "TIMED_OUT" | "PENDING" | "BUILDING" | "INSTALLING" | "DEPLOYING" | "DEPLOYED";
|
|
2968
3445
|
id: string;
|
|
@@ -2976,12 +3453,20 @@ export declare const GetLatestDeploymentResponseBody: z.ZodObject<Omit<{
|
|
|
2976
3453
|
buildId: string;
|
|
2977
3454
|
buildToken: string;
|
|
2978
3455
|
} | null | undefined;
|
|
3456
|
+
commitSHA?: string | null | undefined;
|
|
2979
3457
|
errorData?: {
|
|
2980
3458
|
message: string;
|
|
2981
3459
|
name: string;
|
|
2982
3460
|
stack?: string | undefined;
|
|
2983
3461
|
stderr?: string | undefined;
|
|
2984
3462
|
} | null | undefined;
|
|
3463
|
+
integrationDeployments?: {
|
|
3464
|
+
id: string;
|
|
3465
|
+
createdAt: Date;
|
|
3466
|
+
commitSHA: string;
|
|
3467
|
+
integrationName: string;
|
|
3468
|
+
integrationDeploymentId: string;
|
|
3469
|
+
}[] | null | undefined;
|
|
2985
3470
|
}>;
|
|
2986
3471
|
export type GetLatestDeploymentResponseBody = z.infer<typeof GetLatestDeploymentResponseBody>;
|
|
2987
3472
|
export declare const DeploymentLogEvent: z.ZodObject<{
|
|
@@ -3515,6 +4000,20 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
3515
4000
|
values?: string[] | undefined;
|
|
3516
4001
|
}>, "many">>;
|
|
3517
4002
|
}, "strip", z.ZodTypeAny, {
|
|
4003
|
+
run: {
|
|
4004
|
+
id: string;
|
|
4005
|
+
isTest: boolean;
|
|
4006
|
+
machine: {
|
|
4007
|
+
cpu: number;
|
|
4008
|
+
memory: number;
|
|
4009
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
4010
|
+
centsPerMs: number;
|
|
4011
|
+
};
|
|
4012
|
+
traceContext: Record<string, unknown>;
|
|
4013
|
+
friendlyId: string;
|
|
4014
|
+
attemptNumber: number;
|
|
4015
|
+
masterQueue: string;
|
|
4016
|
+
};
|
|
3518
4017
|
version: "1";
|
|
3519
4018
|
environment: {
|
|
3520
4019
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
@@ -3531,20 +4030,6 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
3531
4030
|
friendlyId?: string | undefined;
|
|
3532
4031
|
imagePlatform?: string | undefined;
|
|
3533
4032
|
};
|
|
3534
|
-
run: {
|
|
3535
|
-
id: string;
|
|
3536
|
-
isTest: boolean;
|
|
3537
|
-
machine: {
|
|
3538
|
-
cpu: number;
|
|
3539
|
-
memory: number;
|
|
3540
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
3541
|
-
centsPerMs: number;
|
|
3542
|
-
};
|
|
3543
|
-
traceContext: Record<string, unknown>;
|
|
3544
|
-
friendlyId: string;
|
|
3545
|
-
attemptNumber: number;
|
|
3546
|
-
masterQueue: string;
|
|
3547
|
-
};
|
|
3548
4033
|
snapshot: {
|
|
3549
4034
|
id: string;
|
|
3550
4035
|
createdAt: Date;
|
|
@@ -3596,6 +4081,20 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
3596
4081
|
values?: string[] | undefined;
|
|
3597
4082
|
}[] | undefined;
|
|
3598
4083
|
}, {
|
|
4084
|
+
run: {
|
|
4085
|
+
id: string;
|
|
4086
|
+
isTest: boolean;
|
|
4087
|
+
machine: {
|
|
4088
|
+
cpu: number;
|
|
4089
|
+
memory: number;
|
|
4090
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
4091
|
+
centsPerMs: number;
|
|
4092
|
+
};
|
|
4093
|
+
traceContext: Record<string, unknown>;
|
|
4094
|
+
friendlyId: string;
|
|
4095
|
+
attemptNumber: number;
|
|
4096
|
+
masterQueue: string;
|
|
4097
|
+
};
|
|
3599
4098
|
version: "1";
|
|
3600
4099
|
environment: {
|
|
3601
4100
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
@@ -3612,20 +4111,6 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
3612
4111
|
friendlyId?: string | undefined;
|
|
3613
4112
|
imagePlatform?: string | undefined;
|
|
3614
4113
|
};
|
|
3615
|
-
run: {
|
|
3616
|
-
id: string;
|
|
3617
|
-
isTest: boolean;
|
|
3618
|
-
machine: {
|
|
3619
|
-
cpu: number;
|
|
3620
|
-
memory: number;
|
|
3621
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
3622
|
-
centsPerMs: number;
|
|
3623
|
-
};
|
|
3624
|
-
traceContext: Record<string, unknown>;
|
|
3625
|
-
friendlyId: string;
|
|
3626
|
-
attemptNumber: number;
|
|
3627
|
-
masterQueue: string;
|
|
3628
|
-
};
|
|
3629
4114
|
snapshot: {
|
|
3630
4115
|
id: string;
|
|
3631
4116
|
createdAt: Date;
|
|
@@ -3679,6 +4164,20 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
3679
4164
|
}>, "many">;
|
|
3680
4165
|
}, "strip", z.ZodTypeAny, {
|
|
3681
4166
|
dequeuedMessages: {
|
|
4167
|
+
run: {
|
|
4168
|
+
id: string;
|
|
4169
|
+
isTest: boolean;
|
|
4170
|
+
machine: {
|
|
4171
|
+
cpu: number;
|
|
4172
|
+
memory: number;
|
|
4173
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
4174
|
+
centsPerMs: number;
|
|
4175
|
+
};
|
|
4176
|
+
traceContext: Record<string, unknown>;
|
|
4177
|
+
friendlyId: string;
|
|
4178
|
+
attemptNumber: number;
|
|
4179
|
+
masterQueue: string;
|
|
4180
|
+
};
|
|
3682
4181
|
version: "1";
|
|
3683
4182
|
environment: {
|
|
3684
4183
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
@@ -3695,20 +4194,6 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
3695
4194
|
friendlyId?: string | undefined;
|
|
3696
4195
|
imagePlatform?: string | undefined;
|
|
3697
4196
|
};
|
|
3698
|
-
run: {
|
|
3699
|
-
id: string;
|
|
3700
|
-
isTest: boolean;
|
|
3701
|
-
machine: {
|
|
3702
|
-
cpu: number;
|
|
3703
|
-
memory: number;
|
|
3704
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
3705
|
-
centsPerMs: number;
|
|
3706
|
-
};
|
|
3707
|
-
traceContext: Record<string, unknown>;
|
|
3708
|
-
friendlyId: string;
|
|
3709
|
-
attemptNumber: number;
|
|
3710
|
-
masterQueue: string;
|
|
3711
|
-
};
|
|
3712
4197
|
snapshot: {
|
|
3713
4198
|
id: string;
|
|
3714
4199
|
createdAt: Date;
|
|
@@ -3762,6 +4247,20 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
3762
4247
|
}[];
|
|
3763
4248
|
}, {
|
|
3764
4249
|
dequeuedMessages: {
|
|
4250
|
+
run: {
|
|
4251
|
+
id: string;
|
|
4252
|
+
isTest: boolean;
|
|
4253
|
+
machine: {
|
|
4254
|
+
cpu: number;
|
|
4255
|
+
memory: number;
|
|
4256
|
+
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
4257
|
+
centsPerMs: number;
|
|
4258
|
+
};
|
|
4259
|
+
traceContext: Record<string, unknown>;
|
|
4260
|
+
friendlyId: string;
|
|
4261
|
+
attemptNumber: number;
|
|
4262
|
+
masterQueue: string;
|
|
4263
|
+
};
|
|
3765
4264
|
version: "1";
|
|
3766
4265
|
environment: {
|
|
3767
4266
|
type: "PRODUCTION" | "STAGING" | "DEVELOPMENT" | "PREVIEW";
|
|
@@ -3778,20 +4277,6 @@ export declare const DevDequeueResponseBody: z.ZodObject<{
|
|
|
3778
4277
|
friendlyId?: string | undefined;
|
|
3779
4278
|
imagePlatform?: string | undefined;
|
|
3780
4279
|
};
|
|
3781
|
-
run: {
|
|
3782
|
-
id: string;
|
|
3783
|
-
isTest: boolean;
|
|
3784
|
-
machine: {
|
|
3785
|
-
cpu: number;
|
|
3786
|
-
memory: number;
|
|
3787
|
-
name: "micro" | "small-1x" | "small-2x" | "medium-1x" | "medium-2x" | "large-1x" | "large-2x";
|
|
3788
|
-
centsPerMs: number;
|
|
3789
|
-
};
|
|
3790
|
-
traceContext: Record<string, unknown>;
|
|
3791
|
-
friendlyId: string;
|
|
3792
|
-
attemptNumber: number;
|
|
3793
|
-
masterQueue: string;
|
|
3794
|
-
};
|
|
3795
4280
|
snapshot: {
|
|
3796
4281
|
id: string;
|
|
3797
4282
|
createdAt: Date;
|
|
@@ -5562,12 +6047,45 @@ export declare const ImportEnvironmentVariablesRequestBody: z.ZodObject<{
|
|
|
5562
6047
|
variables: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
5563
6048
|
parentVariables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5564
6049
|
override: z.ZodOptional<z.ZodBoolean>;
|
|
6050
|
+
source: z.ZodOptional<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
6051
|
+
type: z.ZodLiteral<"user">;
|
|
6052
|
+
userId: z.ZodString;
|
|
6053
|
+
}, "strip", z.ZodTypeAny, {
|
|
6054
|
+
type: "user";
|
|
6055
|
+
userId: string;
|
|
6056
|
+
}, {
|
|
6057
|
+
type: "user";
|
|
6058
|
+
userId: string;
|
|
6059
|
+
}>, z.ZodObject<{
|
|
6060
|
+
type: z.ZodLiteral<"integration">;
|
|
6061
|
+
integration: z.ZodString;
|
|
6062
|
+
}, "strip", z.ZodTypeAny, {
|
|
6063
|
+
type: "integration";
|
|
6064
|
+
integration: string;
|
|
6065
|
+
}, {
|
|
6066
|
+
type: "integration";
|
|
6067
|
+
integration: string;
|
|
6068
|
+
}>]>>;
|
|
5565
6069
|
}, "strip", z.ZodTypeAny, {
|
|
5566
6070
|
variables: Record<string, string>;
|
|
6071
|
+
source?: {
|
|
6072
|
+
type: "user";
|
|
6073
|
+
userId: string;
|
|
6074
|
+
} | {
|
|
6075
|
+
type: "integration";
|
|
6076
|
+
integration: string;
|
|
6077
|
+
} | undefined;
|
|
5567
6078
|
parentVariables?: Record<string, string> | undefined;
|
|
5568
6079
|
override?: boolean | undefined;
|
|
5569
6080
|
}, {
|
|
5570
6081
|
variables: Record<string, string>;
|
|
6082
|
+
source?: {
|
|
6083
|
+
type: "user";
|
|
6084
|
+
userId: string;
|
|
6085
|
+
} | {
|
|
6086
|
+
type: "integration";
|
|
6087
|
+
integration: string;
|
|
6088
|
+
} | undefined;
|
|
5571
6089
|
parentVariables?: Record<string, string> | undefined;
|
|
5572
6090
|
override?: boolean | undefined;
|
|
5573
6091
|
}>;
|
|
@@ -6935,3 +7453,4 @@ export declare const AppendToStreamResponseBody: z.ZodObject<{
|
|
|
6935
7453
|
message?: string | undefined;
|
|
6936
7454
|
}>;
|
|
6937
7455
|
export type AppendToStreamResponseBody = z.infer<typeof AppendToStreamResponseBody>;
|
|
7456
|
+
export {};
|