@trigger.dev/core 4.8.0-webhooks.20261015065339 → 4.8.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/logger.js +1 -1
- package/dist/commonjs/logger.js.map +1 -1
- package/dist/commonjs/utils.js.map +1 -1
- package/dist/commonjs/v3/apiClient/core.d.ts +2 -0
- package/dist/commonjs/v3/apiClient/core.js +2 -0
- package/dist/commonjs/v3/apiClient/core.js.map +1 -1
- package/dist/commonjs/v3/apiClient/getBranch.js +2 -2
- package/dist/commonjs/v3/apiClient/getBranch.js.map +1 -1
- package/dist/commonjs/v3/apiClient/index.d.ts +358 -2
- package/dist/commonjs/v3/apiClient/index.js +61 -2
- package/dist/commonjs/v3/apiClient/index.js.map +1 -1
- package/dist/commonjs/v3/apiClient/runStream.js +38 -19
- package/dist/commonjs/v3/apiClient/runStream.js.map +1 -1
- package/dist/commonjs/v3/apiClient/stream.js +7 -1
- package/dist/commonjs/v3/apiClient/stream.js.map +1 -1
- package/dist/commonjs/v3/config.d.ts +44 -1
- package/dist/commonjs/v3/otel/tracingSDK.d.ts +2 -0
- package/dist/commonjs/v3/otel/tracingSDK.js +2 -1
- package/dist/commonjs/v3/otel/tracingSDK.js.map +1 -1
- package/dist/commonjs/v3/otel/userSpanProcessor.d.ts +20 -0
- package/dist/commonjs/v3/otel/userSpanProcessor.js +94 -0
- package/dist/commonjs/v3/otel/userSpanProcessor.js.map +1 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/continueRetry.d.ts +28 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/continueRetry.js +54 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/continueRetry.js.map +1 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.d.ts +7 -16
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.js +21 -16
- package/dist/commonjs/v3/runEngineWorker/supervisor/http.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.d.ts +1 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.js +2 -0
- package/dist/commonjs/v3/runEngineWorker/supervisor/schemas.js.map +1 -1
- package/dist/commonjs/v3/runEngineWorker/workload/schemas.d.ts +1 -0
- package/dist/commonjs/v3/schemas/api.d.ts +30 -0
- package/dist/commonjs/v3/schemas/api.js +4 -1
- package/dist/commonjs/v3/schemas/api.js.map +1 -1
- package/dist/commonjs/v3/schemas/build.d.ts +84 -24
- package/dist/commonjs/v3/schemas/index.d.ts +1 -0
- package/dist/commonjs/v3/schemas/messages.d.ts +50 -20
- package/dist/commonjs/v3/schemas/query.d.ts +854 -0
- package/dist/commonjs/v3/schemas/query.js +156 -1
- package/dist/commonjs/v3/schemas/query.js.map +1 -1
- package/dist/commonjs/v3/schemas/resources.d.ts +84 -24
- package/dist/commonjs/v3/schemas/schemas.d.ts +60 -0
- package/dist/commonjs/v3/schemas/webhookApi.d.ts +14 -0
- package/dist/commonjs/v3/schemas/webhookApi.js +20 -1
- package/dist/commonjs/v3/schemas/webhookApi.js.map +1 -1
- package/dist/commonjs/v3/schemas/webhookConfig.d.ts +68 -0
- package/dist/commonjs/v3/schemas/webhookConfig.js +46 -5
- package/dist/commonjs/v3/schemas/webhookConfig.js.map +1 -1
- package/dist/commonjs/v3/schemas/webhookFilter.d.ts +5 -4
- package/dist/commonjs/v3/streams/asyncIterableStream.d.ts +1 -1
- package/dist/commonjs/v3/streams/asyncIterableStream.js +46 -12
- package/dist/commonjs/v3/streams/asyncIterableStream.js.map +1 -1
- package/dist/commonjs/v3/utils/structuredLogger.d.ts +6 -6
- package/dist/commonjs/v3/utils/structuredLogger.js.map +1 -1
- package/dist/commonjs/v3/webhooks/index.d.ts +713 -5
- package/dist/commonjs/v3/webhooks/index.js +247 -14
- package/dist/commonjs/v3/webhooks/index.js.map +1 -1
- package/dist/commonjs/version.js +1 -1
- package/dist/esm/logger.js +1 -1
- package/dist/esm/logger.js.map +1 -1
- package/dist/esm/utils.js.map +1 -1
- package/dist/esm/v3/apiClient/core.d.ts +2 -0
- package/dist/esm/v3/apiClient/core.js +2 -0
- package/dist/esm/v3/apiClient/core.js.map +1 -1
- package/dist/esm/v3/apiClient/getBranch.js +2 -2
- package/dist/esm/v3/apiClient/getBranch.js.map +1 -1
- package/dist/esm/v3/apiClient/index.d.ts +358 -2
- package/dist/esm/v3/apiClient/index.js +62 -3
- package/dist/esm/v3/apiClient/index.js.map +1 -1
- package/dist/esm/v3/apiClient/runStream.js +38 -19
- package/dist/esm/v3/apiClient/runStream.js.map +1 -1
- package/dist/esm/v3/apiClient/stream.js +7 -1
- package/dist/esm/v3/apiClient/stream.js.map +1 -1
- package/dist/esm/v3/config.d.ts +44 -1
- package/dist/esm/v3/otel/tracingSDK.d.ts +2 -0
- package/dist/esm/v3/otel/tracingSDK.js +2 -1
- package/dist/esm/v3/otel/tracingSDK.js.map +1 -1
- package/dist/esm/v3/otel/userSpanProcessor.d.ts +20 -0
- package/dist/esm/v3/otel/userSpanProcessor.js +90 -0
- package/dist/esm/v3/otel/userSpanProcessor.js.map +1 -0
- package/dist/esm/v3/runEngineWorker/supervisor/continueRetry.d.ts +28 -0
- package/dist/esm/v3/runEngineWorker/supervisor/continueRetry.js +51 -0
- package/dist/esm/v3/runEngineWorker/supervisor/continueRetry.js.map +1 -0
- package/dist/esm/v3/runEngineWorker/supervisor/http.d.ts +7 -16
- package/dist/esm/v3/runEngineWorker/supervisor/http.js +21 -16
- package/dist/esm/v3/runEngineWorker/supervisor/http.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.d.ts +1 -0
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.js +2 -0
- package/dist/esm/v3/runEngineWorker/supervisor/schemas.js.map +1 -1
- package/dist/esm/v3/runEngineWorker/workload/schemas.d.ts +1 -0
- package/dist/esm/v3/schemas/api.d.ts +30 -0
- package/dist/esm/v3/schemas/api.js +4 -1
- package/dist/esm/v3/schemas/api.js.map +1 -1
- package/dist/esm/v3/schemas/build.d.ts +84 -24
- package/dist/esm/v3/schemas/index.d.ts +1 -0
- package/dist/esm/v3/schemas/messages.d.ts +50 -20
- package/dist/esm/v3/schemas/query.d.ts +854 -0
- package/dist/esm/v3/schemas/query.js +155 -0
- package/dist/esm/v3/schemas/query.js.map +1 -1
- package/dist/esm/v3/schemas/resources.d.ts +84 -24
- package/dist/esm/v3/schemas/schemas.d.ts +60 -0
- package/dist/esm/v3/schemas/webhookApi.d.ts +14 -0
- package/dist/esm/v3/schemas/webhookApi.js +19 -0
- package/dist/esm/v3/schemas/webhookApi.js.map +1 -1
- package/dist/esm/v3/schemas/webhookConfig.d.ts +68 -0
- package/dist/esm/v3/schemas/webhookConfig.js +46 -5
- package/dist/esm/v3/schemas/webhookConfig.js.map +1 -1
- package/dist/esm/v3/schemas/webhookFilter.d.ts +5 -4
- package/dist/esm/v3/streams/asyncIterableStream.d.ts +1 -1
- package/dist/esm/v3/streams/asyncIterableStream.js +46 -12
- package/dist/esm/v3/streams/asyncIterableStream.js.map +1 -1
- package/dist/esm/v3/utils/structuredLogger.d.ts +6 -6
- package/dist/esm/v3/utils/structuredLogger.js.map +1 -1
- package/dist/esm/v3/webhooks/index.d.ts +713 -5
- package/dist/esm/v3/webhooks/index.js +247 -14
- package/dist/esm/v3/webhooks/index.js.map +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -738,6 +738,7 @@ export declare const WebhookEndpointMetadata: z.ZodObject<{
|
|
|
738
738
|
hex: "hex";
|
|
739
739
|
}>;
|
|
740
740
|
signatureHeader: z.ZodString;
|
|
741
|
+
additionalSignatureHeaders: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
741
742
|
signature: z.ZodOptional<z.ZodObject<{
|
|
742
743
|
itemSeparator: z.ZodOptional<z.ZodString>;
|
|
743
744
|
fieldSeparator: z.ZodOptional<z.ZodString>;
|
|
@@ -748,6 +749,7 @@ export declare const WebhookEndpointMetadata: z.ZodObject<{
|
|
|
748
749
|
source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
749
750
|
from: z.ZodLiteral<"header">;
|
|
750
751
|
name: z.ZodString;
|
|
752
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
751
753
|
}, z.core.$strip>, z.ZodObject<{
|
|
752
754
|
from: z.ZodLiteral<"signatureField">;
|
|
753
755
|
field: z.ZodString;
|
|
@@ -764,6 +766,11 @@ export declare const WebhookEndpointMetadata: z.ZodObject<{
|
|
|
764
766
|
milliseconds: "milliseconds";
|
|
765
767
|
seconds: "seconds";
|
|
766
768
|
}>>;
|
|
769
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
770
|
+
"http-date": "http-date";
|
|
771
|
+
iso8601: "iso8601";
|
|
772
|
+
unix: "unix";
|
|
773
|
+
}>>;
|
|
767
774
|
toleranceSeconds: z.ZodOptional<z.ZodNumber>;
|
|
768
775
|
}, z.core.$strip>>;
|
|
769
776
|
signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
|
|
@@ -771,6 +778,7 @@ export declare const WebhookEndpointMetadata: z.ZodObject<{
|
|
|
771
778
|
vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
772
779
|
from: z.ZodLiteral<"header">;
|
|
773
780
|
name: z.ZodString;
|
|
781
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
774
782
|
}, z.core.$strip>, z.ZodObject<{
|
|
775
783
|
from: z.ZodLiteral<"signatureField">;
|
|
776
784
|
field: z.ZodString;
|
|
@@ -853,6 +861,7 @@ export declare const WebhookEndpointMetadata: z.ZodObject<{
|
|
|
853
861
|
source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
854
862
|
from: z.ZodLiteral<"header">;
|
|
855
863
|
name: z.ZodString;
|
|
864
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
856
865
|
}, z.core.$strip>, z.ZodObject<{
|
|
857
866
|
from: z.ZodLiteral<"signatureField">;
|
|
858
867
|
field: z.ZodString;
|
|
@@ -869,6 +878,11 @@ export declare const WebhookEndpointMetadata: z.ZodObject<{
|
|
|
869
878
|
milliseconds: "milliseconds";
|
|
870
879
|
seconds: "seconds";
|
|
871
880
|
}>>;
|
|
881
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
882
|
+
"http-date": "http-date";
|
|
883
|
+
iso8601: "iso8601";
|
|
884
|
+
unix: "unix";
|
|
885
|
+
}>>;
|
|
872
886
|
toleranceSeconds: z.ZodOptional<z.ZodNumber>;
|
|
873
887
|
}, z.core.$strip>>;
|
|
874
888
|
signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
|
|
@@ -876,6 +890,7 @@ export declare const WebhookEndpointMetadata: z.ZodObject<{
|
|
|
876
890
|
vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
877
891
|
from: z.ZodLiteral<"header">;
|
|
878
892
|
name: z.ZodString;
|
|
893
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
879
894
|
}, z.core.$strip>, z.ZodObject<{
|
|
880
895
|
from: z.ZodLiteral<"signatureField">;
|
|
881
896
|
field: z.ZodString;
|
|
@@ -937,6 +952,7 @@ export declare const WebhookEndpointMetadata: z.ZodObject<{
|
|
|
937
952
|
hex: "hex";
|
|
938
953
|
}>;
|
|
939
954
|
signatureHeader: z.ZodString;
|
|
955
|
+
additionalSignatureHeaders: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
940
956
|
signature: z.ZodOptional<z.ZodObject<{
|
|
941
957
|
itemSeparator: z.ZodOptional<z.ZodString>;
|
|
942
958
|
fieldSeparator: z.ZodOptional<z.ZodString>;
|
|
@@ -947,6 +963,7 @@ export declare const WebhookEndpointMetadata: z.ZodObject<{
|
|
|
947
963
|
source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
948
964
|
from: z.ZodLiteral<"header">;
|
|
949
965
|
name: z.ZodString;
|
|
966
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
950
967
|
}, z.core.$strip>, z.ZodObject<{
|
|
951
968
|
from: z.ZodLiteral<"signatureField">;
|
|
952
969
|
field: z.ZodString;
|
|
@@ -963,6 +980,11 @@ export declare const WebhookEndpointMetadata: z.ZodObject<{
|
|
|
963
980
|
milliseconds: "milliseconds";
|
|
964
981
|
seconds: "seconds";
|
|
965
982
|
}>>;
|
|
983
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
984
|
+
"http-date": "http-date";
|
|
985
|
+
iso8601: "iso8601";
|
|
986
|
+
unix: "unix";
|
|
987
|
+
}>>;
|
|
966
988
|
toleranceSeconds: z.ZodOptional<z.ZodNumber>;
|
|
967
989
|
}, z.core.$strip>>;
|
|
968
990
|
signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
|
|
@@ -970,6 +992,7 @@ export declare const WebhookEndpointMetadata: z.ZodObject<{
|
|
|
970
992
|
vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
971
993
|
from: z.ZodLiteral<"header">;
|
|
972
994
|
name: z.ZodString;
|
|
995
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
973
996
|
}, z.core.$strip>, z.ZodObject<{
|
|
974
997
|
from: z.ZodLiteral<"signatureField">;
|
|
975
998
|
field: z.ZodString;
|
|
@@ -1052,6 +1075,7 @@ export declare const WebhookEndpointMetadata: z.ZodObject<{
|
|
|
1052
1075
|
source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
1053
1076
|
from: z.ZodLiteral<"header">;
|
|
1054
1077
|
name: z.ZodString;
|
|
1078
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1055
1079
|
}, z.core.$strip>, z.ZodObject<{
|
|
1056
1080
|
from: z.ZodLiteral<"signatureField">;
|
|
1057
1081
|
field: z.ZodString;
|
|
@@ -1068,6 +1092,11 @@ export declare const WebhookEndpointMetadata: z.ZodObject<{
|
|
|
1068
1092
|
milliseconds: "milliseconds";
|
|
1069
1093
|
seconds: "seconds";
|
|
1070
1094
|
}>>;
|
|
1095
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
1096
|
+
"http-date": "http-date";
|
|
1097
|
+
iso8601: "iso8601";
|
|
1098
|
+
unix: "unix";
|
|
1099
|
+
}>>;
|
|
1071
1100
|
toleranceSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1072
1101
|
}, z.core.$strip>>;
|
|
1073
1102
|
signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
|
|
@@ -1075,6 +1104,7 @@ export declare const WebhookEndpointMetadata: z.ZodObject<{
|
|
|
1075
1104
|
vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
1076
1105
|
from: z.ZodLiteral<"header">;
|
|
1077
1106
|
name: z.ZodString;
|
|
1107
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1078
1108
|
}, z.core.$strip>, z.ZodObject<{
|
|
1079
1109
|
from: z.ZodLiteral<"signatureField">;
|
|
1080
1110
|
field: z.ZodString;
|
|
@@ -1156,6 +1186,7 @@ export declare const WebhookEndpointManifest: z.ZodObject<{
|
|
|
1156
1186
|
hex: "hex";
|
|
1157
1187
|
}>;
|
|
1158
1188
|
signatureHeader: z.ZodString;
|
|
1189
|
+
additionalSignatureHeaders: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1159
1190
|
signature: z.ZodOptional<z.ZodObject<{
|
|
1160
1191
|
itemSeparator: z.ZodOptional<z.ZodString>;
|
|
1161
1192
|
fieldSeparator: z.ZodOptional<z.ZodString>;
|
|
@@ -1166,6 +1197,7 @@ export declare const WebhookEndpointManifest: z.ZodObject<{
|
|
|
1166
1197
|
source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
1167
1198
|
from: z.ZodLiteral<"header">;
|
|
1168
1199
|
name: z.ZodString;
|
|
1200
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1169
1201
|
}, z.core.$strip>, z.ZodObject<{
|
|
1170
1202
|
from: z.ZodLiteral<"signatureField">;
|
|
1171
1203
|
field: z.ZodString;
|
|
@@ -1182,6 +1214,11 @@ export declare const WebhookEndpointManifest: z.ZodObject<{
|
|
|
1182
1214
|
milliseconds: "milliseconds";
|
|
1183
1215
|
seconds: "seconds";
|
|
1184
1216
|
}>>;
|
|
1217
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
1218
|
+
"http-date": "http-date";
|
|
1219
|
+
iso8601: "iso8601";
|
|
1220
|
+
unix: "unix";
|
|
1221
|
+
}>>;
|
|
1185
1222
|
toleranceSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1186
1223
|
}, z.core.$strip>>;
|
|
1187
1224
|
signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
|
|
@@ -1189,6 +1226,7 @@ export declare const WebhookEndpointManifest: z.ZodObject<{
|
|
|
1189
1226
|
vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
1190
1227
|
from: z.ZodLiteral<"header">;
|
|
1191
1228
|
name: z.ZodString;
|
|
1229
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1192
1230
|
}, z.core.$strip>, z.ZodObject<{
|
|
1193
1231
|
from: z.ZodLiteral<"signatureField">;
|
|
1194
1232
|
field: z.ZodString;
|
|
@@ -1271,6 +1309,7 @@ export declare const WebhookEndpointManifest: z.ZodObject<{
|
|
|
1271
1309
|
source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
1272
1310
|
from: z.ZodLiteral<"header">;
|
|
1273
1311
|
name: z.ZodString;
|
|
1312
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1274
1313
|
}, z.core.$strip>, z.ZodObject<{
|
|
1275
1314
|
from: z.ZodLiteral<"signatureField">;
|
|
1276
1315
|
field: z.ZodString;
|
|
@@ -1287,6 +1326,11 @@ export declare const WebhookEndpointManifest: z.ZodObject<{
|
|
|
1287
1326
|
milliseconds: "milliseconds";
|
|
1288
1327
|
seconds: "seconds";
|
|
1289
1328
|
}>>;
|
|
1329
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
1330
|
+
"http-date": "http-date";
|
|
1331
|
+
iso8601: "iso8601";
|
|
1332
|
+
unix: "unix";
|
|
1333
|
+
}>>;
|
|
1290
1334
|
toleranceSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1291
1335
|
}, z.core.$strip>>;
|
|
1292
1336
|
signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
|
|
@@ -1294,6 +1338,7 @@ export declare const WebhookEndpointManifest: z.ZodObject<{
|
|
|
1294
1338
|
vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
1295
1339
|
from: z.ZodLiteral<"header">;
|
|
1296
1340
|
name: z.ZodString;
|
|
1341
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1297
1342
|
}, z.core.$strip>, z.ZodObject<{
|
|
1298
1343
|
from: z.ZodLiteral<"signatureField">;
|
|
1299
1344
|
field: z.ZodString;
|
|
@@ -1355,6 +1400,7 @@ export declare const WebhookEndpointManifest: z.ZodObject<{
|
|
|
1355
1400
|
hex: "hex";
|
|
1356
1401
|
}>;
|
|
1357
1402
|
signatureHeader: z.ZodString;
|
|
1403
|
+
additionalSignatureHeaders: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1358
1404
|
signature: z.ZodOptional<z.ZodObject<{
|
|
1359
1405
|
itemSeparator: z.ZodOptional<z.ZodString>;
|
|
1360
1406
|
fieldSeparator: z.ZodOptional<z.ZodString>;
|
|
@@ -1365,6 +1411,7 @@ export declare const WebhookEndpointManifest: z.ZodObject<{
|
|
|
1365
1411
|
source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
1366
1412
|
from: z.ZodLiteral<"header">;
|
|
1367
1413
|
name: z.ZodString;
|
|
1414
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1368
1415
|
}, z.core.$strip>, z.ZodObject<{
|
|
1369
1416
|
from: z.ZodLiteral<"signatureField">;
|
|
1370
1417
|
field: z.ZodString;
|
|
@@ -1381,6 +1428,11 @@ export declare const WebhookEndpointManifest: z.ZodObject<{
|
|
|
1381
1428
|
milliseconds: "milliseconds";
|
|
1382
1429
|
seconds: "seconds";
|
|
1383
1430
|
}>>;
|
|
1431
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
1432
|
+
"http-date": "http-date";
|
|
1433
|
+
iso8601: "iso8601";
|
|
1434
|
+
unix: "unix";
|
|
1435
|
+
}>>;
|
|
1384
1436
|
toleranceSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1385
1437
|
}, z.core.$strip>>;
|
|
1386
1438
|
signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
|
|
@@ -1388,6 +1440,7 @@ export declare const WebhookEndpointManifest: z.ZodObject<{
|
|
|
1388
1440
|
vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
1389
1441
|
from: z.ZodLiteral<"header">;
|
|
1390
1442
|
name: z.ZodString;
|
|
1443
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1391
1444
|
}, z.core.$strip>, z.ZodObject<{
|
|
1392
1445
|
from: z.ZodLiteral<"signatureField">;
|
|
1393
1446
|
field: z.ZodString;
|
|
@@ -1470,6 +1523,7 @@ export declare const WebhookEndpointManifest: z.ZodObject<{
|
|
|
1470
1523
|
source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
1471
1524
|
from: z.ZodLiteral<"header">;
|
|
1472
1525
|
name: z.ZodString;
|
|
1526
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1473
1527
|
}, z.core.$strip>, z.ZodObject<{
|
|
1474
1528
|
from: z.ZodLiteral<"signatureField">;
|
|
1475
1529
|
field: z.ZodString;
|
|
@@ -1486,6 +1540,11 @@ export declare const WebhookEndpointManifest: z.ZodObject<{
|
|
|
1486
1540
|
milliseconds: "milliseconds";
|
|
1487
1541
|
seconds: "seconds";
|
|
1488
1542
|
}>>;
|
|
1543
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
1544
|
+
"http-date": "http-date";
|
|
1545
|
+
iso8601: "iso8601";
|
|
1546
|
+
unix: "unix";
|
|
1547
|
+
}>>;
|
|
1489
1548
|
toleranceSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1490
1549
|
}, z.core.$strip>>;
|
|
1491
1550
|
signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
|
|
@@ -1493,6 +1552,7 @@ export declare const WebhookEndpointManifest: z.ZodObject<{
|
|
|
1493
1552
|
vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
1494
1553
|
from: z.ZodLiteral<"header">;
|
|
1495
1554
|
name: z.ZodString;
|
|
1555
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1496
1556
|
}, z.core.$strip>, z.ZodObject<{
|
|
1497
1557
|
from: z.ZodLiteral<"signatureField">;
|
|
1498
1558
|
field: z.ZodString;
|
|
@@ -247,21 +247,35 @@ export declare const WebhookDeliveryObject: z.ZodObject<{
|
|
|
247
247
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
248
248
|
}, z.core.$strip>;
|
|
249
249
|
export type WebhookDeliveryObject = z.infer<typeof WebhookDeliveryObject>;
|
|
250
|
+
export declare const MAX_WEBHOOK_PREVIOUS_SECRET_TTL_SECONDS: number;
|
|
251
|
+
/**
|
|
252
|
+
* How long, in seconds, the secret being replaced keeps verifying deliveries (at most 7 days). Omit it
|
|
253
|
+
* or pass 0 to replace the secret immediately.
|
|
254
|
+
*/
|
|
255
|
+
export declare const WebhookPreviousSecretTtlSeconds: z.ZodNumber;
|
|
256
|
+
/** `POST /api/v1/webhooks/endpoints/:endpointId/rotate-secret`: the body is optional. */
|
|
257
|
+
export declare const RotateWebhookEndpointSecretRequestBody: z.ZodObject<{
|
|
258
|
+
previousSecretTtlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
259
|
+
}, z.core.$strip>;
|
|
260
|
+
export type RotateWebhookEndpointSecretRequestBody = z.infer<typeof RotateWebhookEndpointSecretRequestBody>;
|
|
250
261
|
/** Rotating/setting a signing secret returns the plaintext ONCE; it is never readable again. */
|
|
251
262
|
export declare const RotateWebhookEndpointSecretResponse: z.ZodObject<{
|
|
252
263
|
id: z.ZodString;
|
|
253
264
|
secretSet: z.ZodLiteral<true>;
|
|
254
265
|
secret: z.ZodString;
|
|
266
|
+
previousSecretExpiresAt: z.ZodOptional<z.ZodString>;
|
|
255
267
|
}, z.core.$strip>;
|
|
256
268
|
export type RotateWebhookEndpointSecretResponse = z.infer<typeof RotateWebhookEndpointSecretResponse>;
|
|
257
269
|
/** `PUT /api/v1/webhooks/endpoints/:endpointId/secret`: store a secret or public key the provider issued. */
|
|
258
270
|
export declare const SetWebhookEndpointSecretRequestBody: z.ZodObject<{
|
|
259
271
|
secret: z.ZodString;
|
|
272
|
+
previousSecretTtlSeconds: z.ZodOptional<z.ZodNumber>;
|
|
260
273
|
}, z.core.$strip>;
|
|
261
274
|
export type SetWebhookEndpointSecretRequestBody = z.infer<typeof SetWebhookEndpointSecretRequestBody>;
|
|
262
275
|
export declare const SetWebhookEndpointSecretResponse: z.ZodObject<{
|
|
263
276
|
id: z.ZodString;
|
|
264
277
|
secretSet: z.ZodLiteral<true>;
|
|
278
|
+
previousSecretExpiresAt: z.ZodOptional<z.ZodString>;
|
|
265
279
|
}, z.core.$strip>;
|
|
266
280
|
export type SetWebhookEndpointSecretResponse = z.infer<typeof SetWebhookEndpointSecretResponse>;
|
|
267
281
|
/** Replaying re-runs a delivery's task from its stored event as a new delivery. */
|
|
@@ -106,19 +106,38 @@ export const WebhookDeliveryObject = WebhookDeliveryListItem.extend({
|
|
|
106
106
|
updatedAt: z.coerce.date(),
|
|
107
107
|
});
|
|
108
108
|
// ── Write actions ──
|
|
109
|
+
export const MAX_WEBHOOK_PREVIOUS_SECRET_TTL_SECONDS = 7 * 24 * 60 * 60;
|
|
110
|
+
/**
|
|
111
|
+
* How long, in seconds, the secret being replaced keeps verifying deliveries (at most 7 days). Omit it
|
|
112
|
+
* or pass 0 to replace the secret immediately.
|
|
113
|
+
*/
|
|
114
|
+
export const WebhookPreviousSecretTtlSeconds = z
|
|
115
|
+
.number()
|
|
116
|
+
.int()
|
|
117
|
+
.min(0)
|
|
118
|
+
.max(MAX_WEBHOOK_PREVIOUS_SECRET_TTL_SECONDS);
|
|
119
|
+
/** `POST /api/v1/webhooks/endpoints/:endpointId/rotate-secret`: the body is optional. */
|
|
120
|
+
export const RotateWebhookEndpointSecretRequestBody = z.object({
|
|
121
|
+
previousSecretTtlSeconds: WebhookPreviousSecretTtlSeconds.optional(),
|
|
122
|
+
});
|
|
109
123
|
/** Rotating/setting a signing secret returns the plaintext ONCE; it is never readable again. */
|
|
110
124
|
export const RotateWebhookEndpointSecretResponse = z.object({
|
|
111
125
|
id: z.string(),
|
|
112
126
|
secretSet: z.literal(true),
|
|
113
127
|
secret: z.string(),
|
|
128
|
+
/** When the replaced secret stops verifying deliveries; absent when it was replaced immediately. */
|
|
129
|
+
previousSecretExpiresAt: z.string().optional(),
|
|
114
130
|
});
|
|
115
131
|
/** `PUT /api/v1/webhooks/endpoints/:endpointId/secret`: store a secret or public key the provider issued. */
|
|
116
132
|
export const SetWebhookEndpointSecretRequestBody = z.object({
|
|
117
133
|
secret: z.string().trim().min(1).max(4096),
|
|
134
|
+
previousSecretTtlSeconds: WebhookPreviousSecretTtlSeconds.optional(),
|
|
118
135
|
});
|
|
119
136
|
export const SetWebhookEndpointSecretResponse = z.object({
|
|
120
137
|
id: z.string(),
|
|
121
138
|
secretSet: z.literal(true),
|
|
139
|
+
/** When the replaced secret stops verifying deliveries; absent when it was replaced immediately. */
|
|
140
|
+
previousSecretExpiresAt: z.string().optional(),
|
|
122
141
|
});
|
|
123
142
|
/** Replaying re-runs a delivery's task from its stored event as a new delivery. */
|
|
124
143
|
export const ReplayWebhookDeliveryResponse = z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhookApi.js","sourceRoot":"","sources":["../../../../src/v3/schemas/webhookApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAC3B,yFAAyF;AACzF,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAE/D,kGAAkG;AAClG,+FAA+F;AAC/F,8FAA8F;AAC9F,4EAA4E;AAE5E,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC,CAAC;AAGnF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,SAAS;IACT,YAAY;IACZ,WAAW;IACX,QAAQ;IACR,UAAU;IACV,WAAW;CACZ,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,yC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B;IACtB,4BAA4B;IAC5B,wBAAwB;IACxB,iBAAiB;CAClB,CAAC,CAAC;AAGH,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,sBAAsB;IAC5B,+CAA+C;IAC/C,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,CAAC,mBAAmB,EAAE,gBAAgB,EAAE,aAAa,EAAE,kBAAkB,CAAC,CAAC;SAChF,QAAQ,EAAE;CACd,CAAC,CAAC;AAGH,mGAAmG;AACnG,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE;IACtB,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,QAAQ,EAAE;IACxC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAC"}
|
|
@@ -17,6 +17,7 @@ export type WebhookIdempotencyField = z.infer<typeof WebhookIdempotencyField>;
|
|
|
17
17
|
export declare const WebhookValueSource: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
18
18
|
from: z.ZodLiteral<"header">;
|
|
19
19
|
name: z.ZodString;
|
|
20
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
20
21
|
}, z.core.$strip>, z.ZodObject<{
|
|
21
22
|
from: z.ZodLiteral<"signatureField">;
|
|
22
23
|
field: z.ZodString;
|
|
@@ -41,6 +42,7 @@ export declare const WebhookTimestampConfig: z.ZodObject<{
|
|
|
41
42
|
source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
42
43
|
from: z.ZodLiteral<"header">;
|
|
43
44
|
name: z.ZodString;
|
|
45
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
44
46
|
}, z.core.$strip>, z.ZodObject<{
|
|
45
47
|
from: z.ZodLiteral<"signatureField">;
|
|
46
48
|
field: z.ZodString;
|
|
@@ -57,6 +59,11 @@ export declare const WebhookTimestampConfig: z.ZodObject<{
|
|
|
57
59
|
milliseconds: "milliseconds";
|
|
58
60
|
seconds: "seconds";
|
|
59
61
|
}>>;
|
|
62
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
63
|
+
"http-date": "http-date";
|
|
64
|
+
iso8601: "iso8601";
|
|
65
|
+
unix: "unix";
|
|
66
|
+
}>>;
|
|
60
67
|
toleranceSeconds: z.ZodOptional<z.ZodNumber>;
|
|
61
68
|
}, z.core.$strip>;
|
|
62
69
|
export type WebhookTimestampConfig = z.infer<typeof WebhookTimestampConfig>;
|
|
@@ -73,6 +80,7 @@ export declare const WebhookSigningString: z.ZodUnion<readonly [z.ZodLiteral<"ra
|
|
|
73
80
|
vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
74
81
|
from: z.ZodLiteral<"header">;
|
|
75
82
|
name: z.ZodString;
|
|
83
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
76
84
|
}, z.core.$strip>, z.ZodObject<{
|
|
77
85
|
from: z.ZodLiteral<"signatureField">;
|
|
78
86
|
field: z.ZodString;
|
|
@@ -108,6 +116,7 @@ export declare const WebhookHmacConfig: z.ZodObject<{
|
|
|
108
116
|
hex: "hex";
|
|
109
117
|
}>;
|
|
110
118
|
signatureHeader: z.ZodString;
|
|
119
|
+
additionalSignatureHeaders: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
111
120
|
signature: z.ZodOptional<z.ZodObject<{
|
|
112
121
|
itemSeparator: z.ZodOptional<z.ZodString>;
|
|
113
122
|
fieldSeparator: z.ZodOptional<z.ZodString>;
|
|
@@ -118,6 +127,7 @@ export declare const WebhookHmacConfig: z.ZodObject<{
|
|
|
118
127
|
source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
119
128
|
from: z.ZodLiteral<"header">;
|
|
120
129
|
name: z.ZodString;
|
|
130
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
121
131
|
}, z.core.$strip>, z.ZodObject<{
|
|
122
132
|
from: z.ZodLiteral<"signatureField">;
|
|
123
133
|
field: z.ZodString;
|
|
@@ -134,6 +144,11 @@ export declare const WebhookHmacConfig: z.ZodObject<{
|
|
|
134
144
|
milliseconds: "milliseconds";
|
|
135
145
|
seconds: "seconds";
|
|
136
146
|
}>>;
|
|
147
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
148
|
+
"http-date": "http-date";
|
|
149
|
+
iso8601: "iso8601";
|
|
150
|
+
unix: "unix";
|
|
151
|
+
}>>;
|
|
137
152
|
toleranceSeconds: z.ZodOptional<z.ZodNumber>;
|
|
138
153
|
}, z.core.$strip>>;
|
|
139
154
|
signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
|
|
@@ -141,6 +156,7 @@ export declare const WebhookHmacConfig: z.ZodObject<{
|
|
|
141
156
|
vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
142
157
|
from: z.ZodLiteral<"header">;
|
|
143
158
|
name: z.ZodString;
|
|
159
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
144
160
|
}, z.core.$strip>, z.ZodObject<{
|
|
145
161
|
from: z.ZodLiteral<"signatureField">;
|
|
146
162
|
field: z.ZodString;
|
|
@@ -195,6 +211,7 @@ export declare const WebhookAsymmetricConfig: z.ZodObject<{
|
|
|
195
211
|
source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
196
212
|
from: z.ZodLiteral<"header">;
|
|
197
213
|
name: z.ZodString;
|
|
214
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
198
215
|
}, z.core.$strip>, z.ZodObject<{
|
|
199
216
|
from: z.ZodLiteral<"signatureField">;
|
|
200
217
|
field: z.ZodString;
|
|
@@ -211,6 +228,11 @@ export declare const WebhookAsymmetricConfig: z.ZodObject<{
|
|
|
211
228
|
milliseconds: "milliseconds";
|
|
212
229
|
seconds: "seconds";
|
|
213
230
|
}>>;
|
|
231
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
232
|
+
"http-date": "http-date";
|
|
233
|
+
iso8601: "iso8601";
|
|
234
|
+
unix: "unix";
|
|
235
|
+
}>>;
|
|
214
236
|
toleranceSeconds: z.ZodOptional<z.ZodNumber>;
|
|
215
237
|
}, z.core.$strip>>;
|
|
216
238
|
signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
|
|
@@ -218,6 +240,7 @@ export declare const WebhookAsymmetricConfig: z.ZodObject<{
|
|
|
218
240
|
vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
219
241
|
from: z.ZodLiteral<"header">;
|
|
220
242
|
name: z.ZodString;
|
|
243
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
221
244
|
}, z.core.$strip>, z.ZodObject<{
|
|
222
245
|
from: z.ZodLiteral<"signatureField">;
|
|
223
246
|
field: z.ZodString;
|
|
@@ -291,6 +314,7 @@ export declare const WebhookVerifierConfig: import("../utils/zod.js").Compatible
|
|
|
291
314
|
hex: "hex";
|
|
292
315
|
}>;
|
|
293
316
|
signatureHeader: z.ZodString;
|
|
317
|
+
additionalSignatureHeaders: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
294
318
|
signature: z.ZodOptional<z.ZodObject<{
|
|
295
319
|
itemSeparator: z.ZodOptional<z.ZodString>;
|
|
296
320
|
fieldSeparator: z.ZodOptional<z.ZodString>;
|
|
@@ -301,6 +325,7 @@ export declare const WebhookVerifierConfig: import("../utils/zod.js").Compatible
|
|
|
301
325
|
source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
302
326
|
from: z.ZodLiteral<"header">;
|
|
303
327
|
name: z.ZodString;
|
|
328
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
304
329
|
}, z.core.$strip>, z.ZodObject<{
|
|
305
330
|
from: z.ZodLiteral<"signatureField">;
|
|
306
331
|
field: z.ZodString;
|
|
@@ -317,6 +342,11 @@ export declare const WebhookVerifierConfig: import("../utils/zod.js").Compatible
|
|
|
317
342
|
milliseconds: "milliseconds";
|
|
318
343
|
seconds: "seconds";
|
|
319
344
|
}>>;
|
|
345
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
346
|
+
"http-date": "http-date";
|
|
347
|
+
iso8601: "iso8601";
|
|
348
|
+
unix: "unix";
|
|
349
|
+
}>>;
|
|
320
350
|
toleranceSeconds: z.ZodOptional<z.ZodNumber>;
|
|
321
351
|
}, z.core.$strip>>;
|
|
322
352
|
signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
|
|
@@ -324,6 +354,7 @@ export declare const WebhookVerifierConfig: import("../utils/zod.js").Compatible
|
|
|
324
354
|
vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
325
355
|
from: z.ZodLiteral<"header">;
|
|
326
356
|
name: z.ZodString;
|
|
357
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
327
358
|
}, z.core.$strip>, z.ZodObject<{
|
|
328
359
|
from: z.ZodLiteral<"signatureField">;
|
|
329
360
|
field: z.ZodString;
|
|
@@ -406,6 +437,7 @@ export declare const WebhookVerifierConfig: import("../utils/zod.js").Compatible
|
|
|
406
437
|
source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
407
438
|
from: z.ZodLiteral<"header">;
|
|
408
439
|
name: z.ZodString;
|
|
440
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
409
441
|
}, z.core.$strip>, z.ZodObject<{
|
|
410
442
|
from: z.ZodLiteral<"signatureField">;
|
|
411
443
|
field: z.ZodString;
|
|
@@ -422,6 +454,11 @@ export declare const WebhookVerifierConfig: import("../utils/zod.js").Compatible
|
|
|
422
454
|
milliseconds: "milliseconds";
|
|
423
455
|
seconds: "seconds";
|
|
424
456
|
}>>;
|
|
457
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
458
|
+
"http-date": "http-date";
|
|
459
|
+
iso8601: "iso8601";
|
|
460
|
+
unix: "unix";
|
|
461
|
+
}>>;
|
|
425
462
|
toleranceSeconds: z.ZodOptional<z.ZodNumber>;
|
|
426
463
|
}, z.core.$strip>>;
|
|
427
464
|
signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
|
|
@@ -429,6 +466,7 @@ export declare const WebhookVerifierConfig: import("../utils/zod.js").Compatible
|
|
|
429
466
|
vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
430
467
|
from: z.ZodLiteral<"header">;
|
|
431
468
|
name: z.ZodString;
|
|
469
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
432
470
|
}, z.core.$strip>, z.ZodObject<{
|
|
433
471
|
from: z.ZodLiteral<"signatureField">;
|
|
434
472
|
field: z.ZodString;
|
|
@@ -503,6 +541,7 @@ export declare const WebhookVerifierArtifact: import("../utils/zod.js").Compatib
|
|
|
503
541
|
hex: "hex";
|
|
504
542
|
}>;
|
|
505
543
|
signatureHeader: z.ZodString;
|
|
544
|
+
additionalSignatureHeaders: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
506
545
|
signature: z.ZodOptional<z.ZodObject<{
|
|
507
546
|
itemSeparator: z.ZodOptional<z.ZodString>;
|
|
508
547
|
fieldSeparator: z.ZodOptional<z.ZodString>;
|
|
@@ -513,6 +552,7 @@ export declare const WebhookVerifierArtifact: import("../utils/zod.js").Compatib
|
|
|
513
552
|
source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
514
553
|
from: z.ZodLiteral<"header">;
|
|
515
554
|
name: z.ZodString;
|
|
555
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
516
556
|
}, z.core.$strip>, z.ZodObject<{
|
|
517
557
|
from: z.ZodLiteral<"signatureField">;
|
|
518
558
|
field: z.ZodString;
|
|
@@ -529,6 +569,11 @@ export declare const WebhookVerifierArtifact: import("../utils/zod.js").Compatib
|
|
|
529
569
|
milliseconds: "milliseconds";
|
|
530
570
|
seconds: "seconds";
|
|
531
571
|
}>>;
|
|
572
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
573
|
+
"http-date": "http-date";
|
|
574
|
+
iso8601: "iso8601";
|
|
575
|
+
unix: "unix";
|
|
576
|
+
}>>;
|
|
532
577
|
toleranceSeconds: z.ZodOptional<z.ZodNumber>;
|
|
533
578
|
}, z.core.$strip>>;
|
|
534
579
|
signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
|
|
@@ -536,6 +581,7 @@ export declare const WebhookVerifierArtifact: import("../utils/zod.js").Compatib
|
|
|
536
581
|
vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
537
582
|
from: z.ZodLiteral<"header">;
|
|
538
583
|
name: z.ZodString;
|
|
584
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
539
585
|
}, z.core.$strip>, z.ZodObject<{
|
|
540
586
|
from: z.ZodLiteral<"signatureField">;
|
|
541
587
|
field: z.ZodString;
|
|
@@ -618,6 +664,7 @@ export declare const WebhookVerifierArtifact: import("../utils/zod.js").Compatib
|
|
|
618
664
|
source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
619
665
|
from: z.ZodLiteral<"header">;
|
|
620
666
|
name: z.ZodString;
|
|
667
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
621
668
|
}, z.core.$strip>, z.ZodObject<{
|
|
622
669
|
from: z.ZodLiteral<"signatureField">;
|
|
623
670
|
field: z.ZodString;
|
|
@@ -634,6 +681,11 @@ export declare const WebhookVerifierArtifact: import("../utils/zod.js").Compatib
|
|
|
634
681
|
milliseconds: "milliseconds";
|
|
635
682
|
seconds: "seconds";
|
|
636
683
|
}>>;
|
|
684
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
685
|
+
"http-date": "http-date";
|
|
686
|
+
iso8601: "iso8601";
|
|
687
|
+
unix: "unix";
|
|
688
|
+
}>>;
|
|
637
689
|
toleranceSeconds: z.ZodOptional<z.ZodNumber>;
|
|
638
690
|
}, z.core.$strip>>;
|
|
639
691
|
signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
|
|
@@ -641,6 +693,7 @@ export declare const WebhookVerifierArtifact: import("../utils/zod.js").Compatib
|
|
|
641
693
|
vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
642
694
|
from: z.ZodLiteral<"header">;
|
|
643
695
|
name: z.ZodString;
|
|
696
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
644
697
|
}, z.core.$strip>, z.ZodObject<{
|
|
645
698
|
from: z.ZodLiteral<"signatureField">;
|
|
646
699
|
field: z.ZodString;
|
|
@@ -702,6 +755,7 @@ export declare const WebhookVerifierArtifact: import("../utils/zod.js").Compatib
|
|
|
702
755
|
hex: "hex";
|
|
703
756
|
}>;
|
|
704
757
|
signatureHeader: z.ZodString;
|
|
758
|
+
additionalSignatureHeaders: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
705
759
|
signature: z.ZodOptional<z.ZodObject<{
|
|
706
760
|
itemSeparator: z.ZodOptional<z.ZodString>;
|
|
707
761
|
fieldSeparator: z.ZodOptional<z.ZodString>;
|
|
@@ -712,6 +766,7 @@ export declare const WebhookVerifierArtifact: import("../utils/zod.js").Compatib
|
|
|
712
766
|
source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
713
767
|
from: z.ZodLiteral<"header">;
|
|
714
768
|
name: z.ZodString;
|
|
769
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
715
770
|
}, z.core.$strip>, z.ZodObject<{
|
|
716
771
|
from: z.ZodLiteral<"signatureField">;
|
|
717
772
|
field: z.ZodString;
|
|
@@ -728,6 +783,11 @@ export declare const WebhookVerifierArtifact: import("../utils/zod.js").Compatib
|
|
|
728
783
|
milliseconds: "milliseconds";
|
|
729
784
|
seconds: "seconds";
|
|
730
785
|
}>>;
|
|
786
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
787
|
+
"http-date": "http-date";
|
|
788
|
+
iso8601: "iso8601";
|
|
789
|
+
unix: "unix";
|
|
790
|
+
}>>;
|
|
731
791
|
toleranceSeconds: z.ZodOptional<z.ZodNumber>;
|
|
732
792
|
}, z.core.$strip>>;
|
|
733
793
|
signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
|
|
@@ -735,6 +795,7 @@ export declare const WebhookVerifierArtifact: import("../utils/zod.js").Compatib
|
|
|
735
795
|
vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
736
796
|
from: z.ZodLiteral<"header">;
|
|
737
797
|
name: z.ZodString;
|
|
798
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
738
799
|
}, z.core.$strip>, z.ZodObject<{
|
|
739
800
|
from: z.ZodLiteral<"signatureField">;
|
|
740
801
|
field: z.ZodString;
|
|
@@ -817,6 +878,7 @@ export declare const WebhookVerifierArtifact: import("../utils/zod.js").Compatib
|
|
|
817
878
|
source: import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
818
879
|
from: z.ZodLiteral<"header">;
|
|
819
880
|
name: z.ZodString;
|
|
881
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
820
882
|
}, z.core.$strip>, z.ZodObject<{
|
|
821
883
|
from: z.ZodLiteral<"signatureField">;
|
|
822
884
|
field: z.ZodString;
|
|
@@ -833,6 +895,11 @@ export declare const WebhookVerifierArtifact: import("../utils/zod.js").Compatib
|
|
|
833
895
|
milliseconds: "milliseconds";
|
|
834
896
|
seconds: "seconds";
|
|
835
897
|
}>>;
|
|
898
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
899
|
+
"http-date": "http-date";
|
|
900
|
+
iso8601: "iso8601";
|
|
901
|
+
unix: "unix";
|
|
902
|
+
}>>;
|
|
836
903
|
toleranceSeconds: z.ZodOptional<z.ZodNumber>;
|
|
837
904
|
}, z.core.$strip>>;
|
|
838
905
|
signingString: z.ZodUnion<readonly [z.ZodLiteral<"raw">, z.ZodObject<{
|
|
@@ -840,6 +907,7 @@ export declare const WebhookVerifierArtifact: import("../utils/zod.js").Compatib
|
|
|
840
907
|
vars: z.ZodOptional<z.ZodRecord<z.ZodString, import("../utils/zod.js").CompatibleZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
841
908
|
from: z.ZodLiteral<"header">;
|
|
842
909
|
name: z.ZodString;
|
|
910
|
+
fallback: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
843
911
|
}, z.core.$strip>, z.ZodObject<{
|
|
844
912
|
from: z.ZodLiteral<"signatureField">;
|
|
845
913
|
field: z.ZodString;
|