@uniformdev/webhooks 20.61.2-alpha.4 → 20.63.1-alpha.12
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/index.d.mts +237 -2479
- package/dist/index.d.ts +237 -2479
- package/dist/index.esm.js +18 -15
- package/dist/index.js +18 -15
- package/dist/index.mjs +18 -15
- package/package.json +4 -5
package/dist/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/definition.ts
|
|
2
|
-
import * as z from "zod
|
|
2
|
+
import * as z from "zod";
|
|
3
3
|
var addEventTypeToSchema = (schema, eventType) => z.object({
|
|
4
4
|
...schema.shape,
|
|
5
5
|
eventType: z.literal(eventType)
|
|
@@ -26,7 +26,7 @@ var webhookInitiatorSchema = z.strictObject({
|
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
// src/asset/common.ts
|
|
29
|
-
import * as z2 from "zod
|
|
29
|
+
import * as z2 from "zod";
|
|
30
30
|
var AssetCorePayloadSchema = z2.object({
|
|
31
31
|
id: z2.string(),
|
|
32
32
|
name: z2.string(),
|
|
@@ -98,7 +98,7 @@ var AssetPublishedDefinition = definition(
|
|
|
98
98
|
var AssetPublishedEventName = AssetPublishedDefinition["event"];
|
|
99
99
|
|
|
100
100
|
// src/composition/common.ts
|
|
101
|
-
import * as z3 from "zod
|
|
101
|
+
import * as z3 from "zod";
|
|
102
102
|
var CompositionCorePayloadSchema = z3.object({
|
|
103
103
|
id: z3.string(),
|
|
104
104
|
editionId: z3.string().optional(),
|
|
@@ -380,7 +380,7 @@ var CompositionReleaseRestoredDefinition = definition(
|
|
|
380
380
|
var CompositionReleaseRestoredEventName = CompositionReleaseRestoredDefinition["event"];
|
|
381
381
|
|
|
382
382
|
// src/entry/common.ts
|
|
383
|
-
import * as z4 from "zod
|
|
383
|
+
import * as z4 from "zod";
|
|
384
384
|
var EntryCorePayloadSchema = z4.object({
|
|
385
385
|
id: z4.string(),
|
|
386
386
|
editionId: z4.string().optional(),
|
|
@@ -662,7 +662,7 @@ var EntryReleaseRestoredDefinition = definition(
|
|
|
662
662
|
var EntryReleaseRestoredEventName = EntryReleaseRestoredDefinition["event"];
|
|
663
663
|
|
|
664
664
|
// src/manifest/manifest.published.ts
|
|
665
|
-
import * as z5 from "zod
|
|
665
|
+
import * as z5 from "zod";
|
|
666
666
|
var ManifestPublishedDefinition = definition(
|
|
667
667
|
{
|
|
668
668
|
event: "manifest.published",
|
|
@@ -687,7 +687,7 @@ var ManifestPublishedDefinition = definition(
|
|
|
687
687
|
var ManifestPublishedEventName = ManifestPublishedDefinition["event"];
|
|
688
688
|
|
|
689
689
|
// src/project-map/projectMap.delete.ts
|
|
690
|
-
import * as z6 from "zod
|
|
690
|
+
import * as z6 from "zod";
|
|
691
691
|
var ProjectMapDeleteDefinition = definition(
|
|
692
692
|
{
|
|
693
693
|
event: "projectmap.delete",
|
|
@@ -708,7 +708,7 @@ var ProjectMapDeleteDefinition = definition(
|
|
|
708
708
|
var ProjectMapDeletedEventName = ProjectMapDeleteDefinition["event"];
|
|
709
709
|
|
|
710
710
|
// src/project-map/projectMap.node.delete.ts
|
|
711
|
-
import * as z7 from "zod
|
|
711
|
+
import * as z7 from "zod";
|
|
712
712
|
var ProjectMapNodeDeleteDefinition = definition(
|
|
713
713
|
{
|
|
714
714
|
event: "projectmap.node.delete",
|
|
@@ -722,6 +722,7 @@ var ProjectMapNodeDeleteDefinition = definition(
|
|
|
722
722
|
path: z7.string(),
|
|
723
723
|
composition_id: z7.string().optional(),
|
|
724
724
|
locales: z7.record(
|
|
725
|
+
z7.string(),
|
|
725
726
|
z7.object({
|
|
726
727
|
name: z7.string(),
|
|
727
728
|
inherited: z7.boolean(),
|
|
@@ -756,7 +757,7 @@ var ProjectMapNodeDeleteDefinition = definition(
|
|
|
756
757
|
var ProjectMapNodeDeletedEventName = ProjectMapNodeDeleteDefinition["event"];
|
|
757
758
|
|
|
758
759
|
// src/project-map/projectMap.node.insert.ts
|
|
759
|
-
import * as z8 from "zod
|
|
760
|
+
import * as z8 from "zod";
|
|
760
761
|
var ProjectMapNodeInsertDefinition = definition(
|
|
761
762
|
{
|
|
762
763
|
event: "projectmap.node.insert",
|
|
@@ -770,6 +771,7 @@ var ProjectMapNodeInsertDefinition = definition(
|
|
|
770
771
|
path: z8.string(),
|
|
771
772
|
composition_id: z8.string().optional(),
|
|
772
773
|
locales: z8.record(
|
|
774
|
+
z8.string(),
|
|
773
775
|
z8.object({
|
|
774
776
|
name: z8.string(),
|
|
775
777
|
inherited: z8.boolean(),
|
|
@@ -804,7 +806,7 @@ var ProjectMapNodeInsertDefinition = definition(
|
|
|
804
806
|
var ProjectMapNodeInsertedEventName = ProjectMapNodeInsertDefinition["event"];
|
|
805
807
|
|
|
806
808
|
// src/project-map/projectMap.node.update.ts
|
|
807
|
-
import * as z9 from "zod
|
|
809
|
+
import * as z9 from "zod";
|
|
808
810
|
var ProjectMapNodeUpdateDefinition = definition(
|
|
809
811
|
{
|
|
810
812
|
event: "projectmap.node.update",
|
|
@@ -819,6 +821,7 @@ var ProjectMapNodeUpdateDefinition = definition(
|
|
|
819
821
|
composition_id: z9.string().optional(),
|
|
820
822
|
previous_path: z9.string(),
|
|
821
823
|
locales: z9.record(
|
|
824
|
+
z9.string(),
|
|
822
825
|
z9.object({
|
|
823
826
|
name: z9.string(),
|
|
824
827
|
inherited: z9.boolean(),
|
|
@@ -856,7 +859,7 @@ var ProjectMapNodeUpdateDefinition = definition(
|
|
|
856
859
|
var ProjectMapNodeUpdatedEventName = ProjectMapNodeUpdateDefinition["event"];
|
|
857
860
|
|
|
858
861
|
// src/project-map/projectMap.update.ts
|
|
859
|
-
import * as z10 from "zod
|
|
862
|
+
import * as z10 from "zod";
|
|
860
863
|
var ProjectMapUpdateDefinition = definition(
|
|
861
864
|
{
|
|
862
865
|
event: "projectmap.update",
|
|
@@ -884,7 +887,7 @@ var ProjectMapUpdateDefinition = definition(
|
|
|
884
887
|
var ProjectMapUpdatedEventName = ProjectMapUpdateDefinition["event"];
|
|
885
888
|
|
|
886
889
|
// src/redirect/redirect.delete.ts
|
|
887
|
-
import * as z11 from "zod
|
|
890
|
+
import * as z11 from "zod";
|
|
888
891
|
var RedirectDeleteDefinition = definition(
|
|
889
892
|
{
|
|
890
893
|
event: "redirect.delete",
|
|
@@ -916,7 +919,7 @@ var RedirectDeleteDefinition = definition(
|
|
|
916
919
|
var RedirectDeletedEventName = RedirectDeleteDefinition["event"];
|
|
917
920
|
|
|
918
921
|
// src/redirect/redirect.insert.ts
|
|
919
|
-
import * as z12 from "zod
|
|
922
|
+
import * as z12 from "zod";
|
|
920
923
|
var RedirectInsertDefinition = definition(
|
|
921
924
|
{
|
|
922
925
|
event: "redirect.insert",
|
|
@@ -948,7 +951,7 @@ var RedirectInsertDefinition = definition(
|
|
|
948
951
|
var RedirectInsertedEventName = RedirectInsertDefinition["event"];
|
|
949
952
|
|
|
950
953
|
// src/redirect/redirect.update.ts
|
|
951
|
-
import * as z13 from "zod
|
|
954
|
+
import * as z13 from "zod";
|
|
952
955
|
var RedirectUpdateDefinition = definition(
|
|
953
956
|
{
|
|
954
957
|
event: "redirect.update",
|
|
@@ -980,7 +983,7 @@ var RedirectUpdateDefinition = definition(
|
|
|
980
983
|
var RedirectUpdatedEventName = RedirectUpdateDefinition["event"];
|
|
981
984
|
|
|
982
985
|
// src/release/common.ts
|
|
983
|
-
import * as z14 from "zod
|
|
986
|
+
import * as z14 from "zod";
|
|
984
987
|
var ReleasePayloadSchema = z14.object({
|
|
985
988
|
id: z14.string(),
|
|
986
989
|
state: z14.enum(["open", "locked", "queued", "launching", "launched", "deleting"]),
|
|
@@ -1114,7 +1117,7 @@ var ArchivedReleaseLaunchStartedDefinition = definition(
|
|
|
1114
1117
|
);
|
|
1115
1118
|
|
|
1116
1119
|
// src/workflow/common.ts
|
|
1117
|
-
import * as z15 from "zod
|
|
1120
|
+
import * as z15 from "zod";
|
|
1118
1121
|
var WorkflowReferenceSchema = z15.strictObject({
|
|
1119
1122
|
workflowId: z15.string(),
|
|
1120
1123
|
workflowName: z15.string(),
|
package/dist/index.js
CHANGED
|
@@ -114,7 +114,7 @@ __export(src_exports, {
|
|
|
114
114
|
module.exports = __toCommonJS(src_exports);
|
|
115
115
|
|
|
116
116
|
// src/definition.ts
|
|
117
|
-
var z = __toESM(require("zod
|
|
117
|
+
var z = __toESM(require("zod"));
|
|
118
118
|
var addEventTypeToSchema = (schema, eventType) => z.object({
|
|
119
119
|
...schema.shape,
|
|
120
120
|
eventType: z.literal(eventType)
|
|
@@ -141,7 +141,7 @@ var webhookInitiatorSchema = z.strictObject({
|
|
|
141
141
|
});
|
|
142
142
|
|
|
143
143
|
// src/asset/common.ts
|
|
144
|
-
var z2 = __toESM(require("zod
|
|
144
|
+
var z2 = __toESM(require("zod"));
|
|
145
145
|
var AssetCorePayloadSchema = z2.object({
|
|
146
146
|
id: z2.string(),
|
|
147
147
|
name: z2.string(),
|
|
@@ -213,7 +213,7 @@ var AssetPublishedDefinition = definition(
|
|
|
213
213
|
var AssetPublishedEventName = AssetPublishedDefinition["event"];
|
|
214
214
|
|
|
215
215
|
// src/composition/common.ts
|
|
216
|
-
var z3 = __toESM(require("zod
|
|
216
|
+
var z3 = __toESM(require("zod"));
|
|
217
217
|
var CompositionCorePayloadSchema = z3.object({
|
|
218
218
|
id: z3.string(),
|
|
219
219
|
editionId: z3.string().optional(),
|
|
@@ -495,7 +495,7 @@ var CompositionReleaseRestoredDefinition = definition(
|
|
|
495
495
|
var CompositionReleaseRestoredEventName = CompositionReleaseRestoredDefinition["event"];
|
|
496
496
|
|
|
497
497
|
// src/entry/common.ts
|
|
498
|
-
var z4 = __toESM(require("zod
|
|
498
|
+
var z4 = __toESM(require("zod"));
|
|
499
499
|
var EntryCorePayloadSchema = z4.object({
|
|
500
500
|
id: z4.string(),
|
|
501
501
|
editionId: z4.string().optional(),
|
|
@@ -777,7 +777,7 @@ var EntryReleaseRestoredDefinition = definition(
|
|
|
777
777
|
var EntryReleaseRestoredEventName = EntryReleaseRestoredDefinition["event"];
|
|
778
778
|
|
|
779
779
|
// src/manifest/manifest.published.ts
|
|
780
|
-
var z5 = __toESM(require("zod
|
|
780
|
+
var z5 = __toESM(require("zod"));
|
|
781
781
|
var ManifestPublishedDefinition = definition(
|
|
782
782
|
{
|
|
783
783
|
event: "manifest.published",
|
|
@@ -802,7 +802,7 @@ var ManifestPublishedDefinition = definition(
|
|
|
802
802
|
var ManifestPublishedEventName = ManifestPublishedDefinition["event"];
|
|
803
803
|
|
|
804
804
|
// src/project-map/projectMap.delete.ts
|
|
805
|
-
var z6 = __toESM(require("zod
|
|
805
|
+
var z6 = __toESM(require("zod"));
|
|
806
806
|
var ProjectMapDeleteDefinition = definition(
|
|
807
807
|
{
|
|
808
808
|
event: "projectmap.delete",
|
|
@@ -823,7 +823,7 @@ var ProjectMapDeleteDefinition = definition(
|
|
|
823
823
|
var ProjectMapDeletedEventName = ProjectMapDeleteDefinition["event"];
|
|
824
824
|
|
|
825
825
|
// src/project-map/projectMap.node.delete.ts
|
|
826
|
-
var z7 = __toESM(require("zod
|
|
826
|
+
var z7 = __toESM(require("zod"));
|
|
827
827
|
var ProjectMapNodeDeleteDefinition = definition(
|
|
828
828
|
{
|
|
829
829
|
event: "projectmap.node.delete",
|
|
@@ -837,6 +837,7 @@ var ProjectMapNodeDeleteDefinition = definition(
|
|
|
837
837
|
path: z7.string(),
|
|
838
838
|
composition_id: z7.string().optional(),
|
|
839
839
|
locales: z7.record(
|
|
840
|
+
z7.string(),
|
|
840
841
|
z7.object({
|
|
841
842
|
name: z7.string(),
|
|
842
843
|
inherited: z7.boolean(),
|
|
@@ -871,7 +872,7 @@ var ProjectMapNodeDeleteDefinition = definition(
|
|
|
871
872
|
var ProjectMapNodeDeletedEventName = ProjectMapNodeDeleteDefinition["event"];
|
|
872
873
|
|
|
873
874
|
// src/project-map/projectMap.node.insert.ts
|
|
874
|
-
var z8 = __toESM(require("zod
|
|
875
|
+
var z8 = __toESM(require("zod"));
|
|
875
876
|
var ProjectMapNodeInsertDefinition = definition(
|
|
876
877
|
{
|
|
877
878
|
event: "projectmap.node.insert",
|
|
@@ -885,6 +886,7 @@ var ProjectMapNodeInsertDefinition = definition(
|
|
|
885
886
|
path: z8.string(),
|
|
886
887
|
composition_id: z8.string().optional(),
|
|
887
888
|
locales: z8.record(
|
|
889
|
+
z8.string(),
|
|
888
890
|
z8.object({
|
|
889
891
|
name: z8.string(),
|
|
890
892
|
inherited: z8.boolean(),
|
|
@@ -919,7 +921,7 @@ var ProjectMapNodeInsertDefinition = definition(
|
|
|
919
921
|
var ProjectMapNodeInsertedEventName = ProjectMapNodeInsertDefinition["event"];
|
|
920
922
|
|
|
921
923
|
// src/project-map/projectMap.node.update.ts
|
|
922
|
-
var z9 = __toESM(require("zod
|
|
924
|
+
var z9 = __toESM(require("zod"));
|
|
923
925
|
var ProjectMapNodeUpdateDefinition = definition(
|
|
924
926
|
{
|
|
925
927
|
event: "projectmap.node.update",
|
|
@@ -934,6 +936,7 @@ var ProjectMapNodeUpdateDefinition = definition(
|
|
|
934
936
|
composition_id: z9.string().optional(),
|
|
935
937
|
previous_path: z9.string(),
|
|
936
938
|
locales: z9.record(
|
|
939
|
+
z9.string(),
|
|
937
940
|
z9.object({
|
|
938
941
|
name: z9.string(),
|
|
939
942
|
inherited: z9.boolean(),
|
|
@@ -971,7 +974,7 @@ var ProjectMapNodeUpdateDefinition = definition(
|
|
|
971
974
|
var ProjectMapNodeUpdatedEventName = ProjectMapNodeUpdateDefinition["event"];
|
|
972
975
|
|
|
973
976
|
// src/project-map/projectMap.update.ts
|
|
974
|
-
var z10 = __toESM(require("zod
|
|
977
|
+
var z10 = __toESM(require("zod"));
|
|
975
978
|
var ProjectMapUpdateDefinition = definition(
|
|
976
979
|
{
|
|
977
980
|
event: "projectmap.update",
|
|
@@ -999,7 +1002,7 @@ var ProjectMapUpdateDefinition = definition(
|
|
|
999
1002
|
var ProjectMapUpdatedEventName = ProjectMapUpdateDefinition["event"];
|
|
1000
1003
|
|
|
1001
1004
|
// src/redirect/redirect.delete.ts
|
|
1002
|
-
var z11 = __toESM(require("zod
|
|
1005
|
+
var z11 = __toESM(require("zod"));
|
|
1003
1006
|
var RedirectDeleteDefinition = definition(
|
|
1004
1007
|
{
|
|
1005
1008
|
event: "redirect.delete",
|
|
@@ -1031,7 +1034,7 @@ var RedirectDeleteDefinition = definition(
|
|
|
1031
1034
|
var RedirectDeletedEventName = RedirectDeleteDefinition["event"];
|
|
1032
1035
|
|
|
1033
1036
|
// src/redirect/redirect.insert.ts
|
|
1034
|
-
var z12 = __toESM(require("zod
|
|
1037
|
+
var z12 = __toESM(require("zod"));
|
|
1035
1038
|
var RedirectInsertDefinition = definition(
|
|
1036
1039
|
{
|
|
1037
1040
|
event: "redirect.insert",
|
|
@@ -1063,7 +1066,7 @@ var RedirectInsertDefinition = definition(
|
|
|
1063
1066
|
var RedirectInsertedEventName = RedirectInsertDefinition["event"];
|
|
1064
1067
|
|
|
1065
1068
|
// src/redirect/redirect.update.ts
|
|
1066
|
-
var z13 = __toESM(require("zod
|
|
1069
|
+
var z13 = __toESM(require("zod"));
|
|
1067
1070
|
var RedirectUpdateDefinition = definition(
|
|
1068
1071
|
{
|
|
1069
1072
|
event: "redirect.update",
|
|
@@ -1095,7 +1098,7 @@ var RedirectUpdateDefinition = definition(
|
|
|
1095
1098
|
var RedirectUpdatedEventName = RedirectUpdateDefinition["event"];
|
|
1096
1099
|
|
|
1097
1100
|
// src/release/common.ts
|
|
1098
|
-
var z14 = __toESM(require("zod
|
|
1101
|
+
var z14 = __toESM(require("zod"));
|
|
1099
1102
|
var ReleasePayloadSchema = z14.object({
|
|
1100
1103
|
id: z14.string(),
|
|
1101
1104
|
state: z14.enum(["open", "locked", "queued", "launching", "launched", "deleting"]),
|
|
@@ -1229,7 +1232,7 @@ var ArchivedReleaseLaunchStartedDefinition = definition(
|
|
|
1229
1232
|
);
|
|
1230
1233
|
|
|
1231
1234
|
// src/workflow/common.ts
|
|
1232
|
-
var z15 = __toESM(require("zod
|
|
1235
|
+
var z15 = __toESM(require("zod"));
|
|
1233
1236
|
var WorkflowReferenceSchema = z15.strictObject({
|
|
1234
1237
|
workflowId: z15.string(),
|
|
1235
1238
|
workflowName: z15.string(),
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/definition.ts
|
|
2
|
-
import * as z from "zod
|
|
2
|
+
import * as z from "zod";
|
|
3
3
|
var addEventTypeToSchema = (schema, eventType) => z.object({
|
|
4
4
|
...schema.shape,
|
|
5
5
|
eventType: z.literal(eventType)
|
|
@@ -26,7 +26,7 @@ var webhookInitiatorSchema = z.strictObject({
|
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
// src/asset/common.ts
|
|
29
|
-
import * as z2 from "zod
|
|
29
|
+
import * as z2 from "zod";
|
|
30
30
|
var AssetCorePayloadSchema = z2.object({
|
|
31
31
|
id: z2.string(),
|
|
32
32
|
name: z2.string(),
|
|
@@ -98,7 +98,7 @@ var AssetPublishedDefinition = definition(
|
|
|
98
98
|
var AssetPublishedEventName = AssetPublishedDefinition["event"];
|
|
99
99
|
|
|
100
100
|
// src/composition/common.ts
|
|
101
|
-
import * as z3 from "zod
|
|
101
|
+
import * as z3 from "zod";
|
|
102
102
|
var CompositionCorePayloadSchema = z3.object({
|
|
103
103
|
id: z3.string(),
|
|
104
104
|
editionId: z3.string().optional(),
|
|
@@ -380,7 +380,7 @@ var CompositionReleaseRestoredDefinition = definition(
|
|
|
380
380
|
var CompositionReleaseRestoredEventName = CompositionReleaseRestoredDefinition["event"];
|
|
381
381
|
|
|
382
382
|
// src/entry/common.ts
|
|
383
|
-
import * as z4 from "zod
|
|
383
|
+
import * as z4 from "zod";
|
|
384
384
|
var EntryCorePayloadSchema = z4.object({
|
|
385
385
|
id: z4.string(),
|
|
386
386
|
editionId: z4.string().optional(),
|
|
@@ -662,7 +662,7 @@ var EntryReleaseRestoredDefinition = definition(
|
|
|
662
662
|
var EntryReleaseRestoredEventName = EntryReleaseRestoredDefinition["event"];
|
|
663
663
|
|
|
664
664
|
// src/manifest/manifest.published.ts
|
|
665
|
-
import * as z5 from "zod
|
|
665
|
+
import * as z5 from "zod";
|
|
666
666
|
var ManifestPublishedDefinition = definition(
|
|
667
667
|
{
|
|
668
668
|
event: "manifest.published",
|
|
@@ -687,7 +687,7 @@ var ManifestPublishedDefinition = definition(
|
|
|
687
687
|
var ManifestPublishedEventName = ManifestPublishedDefinition["event"];
|
|
688
688
|
|
|
689
689
|
// src/project-map/projectMap.delete.ts
|
|
690
|
-
import * as z6 from "zod
|
|
690
|
+
import * as z6 from "zod";
|
|
691
691
|
var ProjectMapDeleteDefinition = definition(
|
|
692
692
|
{
|
|
693
693
|
event: "projectmap.delete",
|
|
@@ -708,7 +708,7 @@ var ProjectMapDeleteDefinition = definition(
|
|
|
708
708
|
var ProjectMapDeletedEventName = ProjectMapDeleteDefinition["event"];
|
|
709
709
|
|
|
710
710
|
// src/project-map/projectMap.node.delete.ts
|
|
711
|
-
import * as z7 from "zod
|
|
711
|
+
import * as z7 from "zod";
|
|
712
712
|
var ProjectMapNodeDeleteDefinition = definition(
|
|
713
713
|
{
|
|
714
714
|
event: "projectmap.node.delete",
|
|
@@ -722,6 +722,7 @@ var ProjectMapNodeDeleteDefinition = definition(
|
|
|
722
722
|
path: z7.string(),
|
|
723
723
|
composition_id: z7.string().optional(),
|
|
724
724
|
locales: z7.record(
|
|
725
|
+
z7.string(),
|
|
725
726
|
z7.object({
|
|
726
727
|
name: z7.string(),
|
|
727
728
|
inherited: z7.boolean(),
|
|
@@ -756,7 +757,7 @@ var ProjectMapNodeDeleteDefinition = definition(
|
|
|
756
757
|
var ProjectMapNodeDeletedEventName = ProjectMapNodeDeleteDefinition["event"];
|
|
757
758
|
|
|
758
759
|
// src/project-map/projectMap.node.insert.ts
|
|
759
|
-
import * as z8 from "zod
|
|
760
|
+
import * as z8 from "zod";
|
|
760
761
|
var ProjectMapNodeInsertDefinition = definition(
|
|
761
762
|
{
|
|
762
763
|
event: "projectmap.node.insert",
|
|
@@ -770,6 +771,7 @@ var ProjectMapNodeInsertDefinition = definition(
|
|
|
770
771
|
path: z8.string(),
|
|
771
772
|
composition_id: z8.string().optional(),
|
|
772
773
|
locales: z8.record(
|
|
774
|
+
z8.string(),
|
|
773
775
|
z8.object({
|
|
774
776
|
name: z8.string(),
|
|
775
777
|
inherited: z8.boolean(),
|
|
@@ -804,7 +806,7 @@ var ProjectMapNodeInsertDefinition = definition(
|
|
|
804
806
|
var ProjectMapNodeInsertedEventName = ProjectMapNodeInsertDefinition["event"];
|
|
805
807
|
|
|
806
808
|
// src/project-map/projectMap.node.update.ts
|
|
807
|
-
import * as z9 from "zod
|
|
809
|
+
import * as z9 from "zod";
|
|
808
810
|
var ProjectMapNodeUpdateDefinition = definition(
|
|
809
811
|
{
|
|
810
812
|
event: "projectmap.node.update",
|
|
@@ -819,6 +821,7 @@ var ProjectMapNodeUpdateDefinition = definition(
|
|
|
819
821
|
composition_id: z9.string().optional(),
|
|
820
822
|
previous_path: z9.string(),
|
|
821
823
|
locales: z9.record(
|
|
824
|
+
z9.string(),
|
|
822
825
|
z9.object({
|
|
823
826
|
name: z9.string(),
|
|
824
827
|
inherited: z9.boolean(),
|
|
@@ -856,7 +859,7 @@ var ProjectMapNodeUpdateDefinition = definition(
|
|
|
856
859
|
var ProjectMapNodeUpdatedEventName = ProjectMapNodeUpdateDefinition["event"];
|
|
857
860
|
|
|
858
861
|
// src/project-map/projectMap.update.ts
|
|
859
|
-
import * as z10 from "zod
|
|
862
|
+
import * as z10 from "zod";
|
|
860
863
|
var ProjectMapUpdateDefinition = definition(
|
|
861
864
|
{
|
|
862
865
|
event: "projectmap.update",
|
|
@@ -884,7 +887,7 @@ var ProjectMapUpdateDefinition = definition(
|
|
|
884
887
|
var ProjectMapUpdatedEventName = ProjectMapUpdateDefinition["event"];
|
|
885
888
|
|
|
886
889
|
// src/redirect/redirect.delete.ts
|
|
887
|
-
import * as z11 from "zod
|
|
890
|
+
import * as z11 from "zod";
|
|
888
891
|
var RedirectDeleteDefinition = definition(
|
|
889
892
|
{
|
|
890
893
|
event: "redirect.delete",
|
|
@@ -916,7 +919,7 @@ var RedirectDeleteDefinition = definition(
|
|
|
916
919
|
var RedirectDeletedEventName = RedirectDeleteDefinition["event"];
|
|
917
920
|
|
|
918
921
|
// src/redirect/redirect.insert.ts
|
|
919
|
-
import * as z12 from "zod
|
|
922
|
+
import * as z12 from "zod";
|
|
920
923
|
var RedirectInsertDefinition = definition(
|
|
921
924
|
{
|
|
922
925
|
event: "redirect.insert",
|
|
@@ -948,7 +951,7 @@ var RedirectInsertDefinition = definition(
|
|
|
948
951
|
var RedirectInsertedEventName = RedirectInsertDefinition["event"];
|
|
949
952
|
|
|
950
953
|
// src/redirect/redirect.update.ts
|
|
951
|
-
import * as z13 from "zod
|
|
954
|
+
import * as z13 from "zod";
|
|
952
955
|
var RedirectUpdateDefinition = definition(
|
|
953
956
|
{
|
|
954
957
|
event: "redirect.update",
|
|
@@ -980,7 +983,7 @@ var RedirectUpdateDefinition = definition(
|
|
|
980
983
|
var RedirectUpdatedEventName = RedirectUpdateDefinition["event"];
|
|
981
984
|
|
|
982
985
|
// src/release/common.ts
|
|
983
|
-
import * as z14 from "zod
|
|
986
|
+
import * as z14 from "zod";
|
|
984
987
|
var ReleasePayloadSchema = z14.object({
|
|
985
988
|
id: z14.string(),
|
|
986
989
|
state: z14.enum(["open", "locked", "queued", "launching", "launched", "deleting"]),
|
|
@@ -1114,7 +1117,7 @@ var ArchivedReleaseLaunchStartedDefinition = definition(
|
|
|
1114
1117
|
);
|
|
1115
1118
|
|
|
1116
1119
|
// src/workflow/common.ts
|
|
1117
|
-
import * as z15 from "zod
|
|
1120
|
+
import * as z15 from "zod";
|
|
1118
1121
|
var WorkflowReferenceSchema = z15.strictObject({
|
|
1119
1122
|
workflowId: z15.string(),
|
|
1120
1123
|
workflowName: z15.string(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/webhooks",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.63.1-alpha.12+914935b899",
|
|
4
4
|
"description": "Uniform Webhooks",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -28,16 +28,15 @@
|
|
|
28
28
|
"/dist"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"zod": "3.
|
|
31
|
+
"zod": "4.3.6"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"dotenv": "^16.4.7",
|
|
35
35
|
"npm-run-all2": "8.0.4",
|
|
36
|
-
"svix": "^1.0.0"
|
|
37
|
-
"zod-to-json-schema": "3.24.6"
|
|
36
|
+
"svix": "^1.0.0"
|
|
38
37
|
},
|
|
39
38
|
"publishConfig": {
|
|
40
39
|
"access": "public"
|
|
41
40
|
},
|
|
42
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "914935b89907018dde56a2c49b72e6899d9fb0e2"
|
|
43
42
|
}
|