@uniformdev/webhooks 19.135.0 → 19.135.1-alpha.11
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 +412 -3
- package/dist/index.d.ts +412 -3
- package/dist/index.esm.js +136 -6
- package/dist/index.js +142 -6
- package/dist/index.mjs +136 -6
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -80,6 +80,12 @@ __export(src_exports, {
|
|
|
80
80
|
ReleaseLaunchedDefinition: () => ReleaseLaunchedDefinition,
|
|
81
81
|
ReleaseLaunchedEventName: () => ReleaseLaunchedEventName,
|
|
82
82
|
ReleasePayloadSchema: () => ReleasePayloadSchema,
|
|
83
|
+
WorkflowEntitySchema: () => WorkflowEntitySchema,
|
|
84
|
+
WorkflowIdentitySchema: () => WorkflowIdentitySchema,
|
|
85
|
+
WorkflowReferenceSchema: () => WorkflowReferenceSchema,
|
|
86
|
+
WorkflowTransitionDefinition: () => WorkflowTransitionDefinition,
|
|
87
|
+
WorkflowTransitionEventName: () => WorkflowTransitionEventName,
|
|
88
|
+
WorkflowTransitionPayloadSchema: () => WorkflowTransitionPayloadSchema,
|
|
83
89
|
definition: () => definition,
|
|
84
90
|
isDefinition: () => isDefinition
|
|
85
91
|
});
|
|
@@ -565,17 +571,33 @@ var ProjectMapNodeDeleteDefinition = definition(
|
|
|
565
571
|
schema: import_zod5.z.object({
|
|
566
572
|
project_id: import_zod5.z.string(),
|
|
567
573
|
project_map_id: import_zod5.z.string(),
|
|
574
|
+
name: import_zod5.z.string(),
|
|
568
575
|
id: import_zod5.z.string(),
|
|
569
576
|
path: import_zod5.z.string(),
|
|
570
|
-
composition_id: import_zod5.z.string().optional()
|
|
577
|
+
composition_id: import_zod5.z.string().optional(),
|
|
578
|
+
locales: import_zod5.z.record(
|
|
579
|
+
import_zod5.z.object({
|
|
580
|
+
name: import_zod5.z.string(),
|
|
581
|
+
inherited: import_zod5.z.boolean(),
|
|
582
|
+
path: import_zod5.z.string()
|
|
583
|
+
})
|
|
584
|
+
).optional()
|
|
571
585
|
})
|
|
572
586
|
},
|
|
573
587
|
{
|
|
574
588
|
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
589
|
+
name: "Product Detail",
|
|
575
590
|
project_map_id: "c57ba7ac-4b5a-42f2-980f-afc75fe9d234",
|
|
576
591
|
project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496",
|
|
577
592
|
path: "/product-detail",
|
|
578
|
-
composition_id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66"
|
|
593
|
+
composition_id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
594
|
+
locales: {
|
|
595
|
+
de: {
|
|
596
|
+
name: "Produktdetail",
|
|
597
|
+
inherited: false,
|
|
598
|
+
path: "/produktdetail"
|
|
599
|
+
}
|
|
600
|
+
}
|
|
579
601
|
}
|
|
580
602
|
);
|
|
581
603
|
var ProjectMapNodeDeletedEventName = ProjectMapNodeDeleteDefinition["event"];
|
|
@@ -589,18 +611,34 @@ var ProjectMapNodeInsertDefinition = definition(
|
|
|
589
611
|
description: "Triggers when a project map node is inserted.",
|
|
590
612
|
schema: import_zod6.z.object({
|
|
591
613
|
id: import_zod6.z.string(),
|
|
614
|
+
name: import_zod6.z.string(),
|
|
592
615
|
project_map_id: import_zod6.z.string(),
|
|
593
616
|
project_id: import_zod6.z.string(),
|
|
594
617
|
path: import_zod6.z.string(),
|
|
595
|
-
composition_id: import_zod6.z.string().optional()
|
|
618
|
+
composition_id: import_zod6.z.string().optional(),
|
|
619
|
+
locales: import_zod6.z.record(
|
|
620
|
+
import_zod6.z.object({
|
|
621
|
+
name: import_zod6.z.string(),
|
|
622
|
+
inherited: import_zod6.z.boolean(),
|
|
623
|
+
path: import_zod6.z.string()
|
|
624
|
+
})
|
|
625
|
+
).optional()
|
|
596
626
|
})
|
|
597
627
|
},
|
|
598
628
|
{
|
|
599
629
|
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
630
|
+
name: "Product Detail",
|
|
600
631
|
project_map_id: "c57ba7ac-4b5a-42f2-980f-afc75fe9d234",
|
|
601
632
|
project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496",
|
|
602
633
|
path: "/product-detail",
|
|
603
|
-
composition_id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66"
|
|
634
|
+
composition_id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
635
|
+
locales: {
|
|
636
|
+
de: {
|
|
637
|
+
name: "Produktdetail",
|
|
638
|
+
inherited: false,
|
|
639
|
+
path: "/produktdetail"
|
|
640
|
+
}
|
|
641
|
+
}
|
|
604
642
|
}
|
|
605
643
|
);
|
|
606
644
|
var ProjectMapNodeInsertedEventName = ProjectMapNodeInsertDefinition["event"];
|
|
@@ -614,20 +652,38 @@ var ProjectMapNodeUpdateDefinition = definition(
|
|
|
614
652
|
description: "Triggers when a project map node is updated.",
|
|
615
653
|
schema: import_zod7.z.object({
|
|
616
654
|
id: import_zod7.z.string(),
|
|
655
|
+
name: import_zod7.z.string(),
|
|
617
656
|
project_map_id: import_zod7.z.string(),
|
|
618
657
|
project_id: import_zod7.z.string(),
|
|
619
658
|
path: import_zod7.z.string(),
|
|
620
659
|
composition_id: import_zod7.z.string().optional(),
|
|
621
|
-
previous_path: import_zod7.z.string()
|
|
660
|
+
previous_path: import_zod7.z.string(),
|
|
661
|
+
locales: import_zod7.z.record(
|
|
662
|
+
import_zod7.z.object({
|
|
663
|
+
name: import_zod7.z.string(),
|
|
664
|
+
inherited: import_zod7.z.boolean(),
|
|
665
|
+
path: import_zod7.z.string(),
|
|
666
|
+
previous_path: import_zod7.z.string()
|
|
667
|
+
})
|
|
668
|
+
).optional()
|
|
622
669
|
})
|
|
623
670
|
},
|
|
624
671
|
{
|
|
625
672
|
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
673
|
+
name: "Product Detail",
|
|
626
674
|
project_map_id: "c57ba7ac-4b5a-42f2-980f-afc75fe9d234",
|
|
627
675
|
project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496",
|
|
628
676
|
path: "/product-detail",
|
|
629
677
|
composition_id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
630
|
-
previous_path: "/promo/product-detail"
|
|
678
|
+
previous_path: "/promo/product-detail",
|
|
679
|
+
locales: {
|
|
680
|
+
de: {
|
|
681
|
+
name: "Produktdetail",
|
|
682
|
+
inherited: false,
|
|
683
|
+
path: "/produktdetail",
|
|
684
|
+
previous_path: "/promo/product-detail"
|
|
685
|
+
}
|
|
686
|
+
}
|
|
631
687
|
}
|
|
632
688
|
);
|
|
633
689
|
var ProjectMapNodeUpdatedEventName = ProjectMapNodeUpdateDefinition["event"];
|
|
@@ -861,6 +917,80 @@ var ArchivedReleaseLaunchStartedDefinition = definition(
|
|
|
861
917
|
api_url: `https://uniform.app/api/v1/releases?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&releaseIDs=0b9d2118-f2d0-4fe6-9d46-7c661abaf474`
|
|
862
918
|
}
|
|
863
919
|
);
|
|
920
|
+
|
|
921
|
+
// src/workflow/common.ts
|
|
922
|
+
var import_zod13 = require("zod");
|
|
923
|
+
var WorkflowReferenceSchema = import_zod13.z.strictObject({
|
|
924
|
+
workflowId: import_zod13.z.string(),
|
|
925
|
+
workflowName: import_zod13.z.string(),
|
|
926
|
+
stageId: import_zod13.z.string(),
|
|
927
|
+
stageName: import_zod13.z.string()
|
|
928
|
+
});
|
|
929
|
+
var WorkflowIdentitySchema = import_zod13.z.strictObject({
|
|
930
|
+
id: import_zod13.z.string(),
|
|
931
|
+
name: import_zod13.z.string().optional(),
|
|
932
|
+
email: import_zod13.z.string().optional()
|
|
933
|
+
});
|
|
934
|
+
var WorkflowEntitySchema = import_zod13.z.strictObject({
|
|
935
|
+
type: import_zod13.z.enum(["entry", "component"]),
|
|
936
|
+
name: import_zod13.z.string(),
|
|
937
|
+
id: import_zod13.z.string(),
|
|
938
|
+
releaseId: import_zod13.z.string().optional(),
|
|
939
|
+
url: import_zod13.z.string()
|
|
940
|
+
});
|
|
941
|
+
var WorkflowTransitionPayloadSchema = import_zod13.z.strictObject({
|
|
942
|
+
entity: WorkflowEntitySchema,
|
|
943
|
+
newStage: WorkflowReferenceSchema,
|
|
944
|
+
previousStage: WorkflowReferenceSchema.optional(),
|
|
945
|
+
initiator: WorkflowIdentitySchema,
|
|
946
|
+
timestamp: import_zod13.z.string(),
|
|
947
|
+
project: import_zod13.z.object({
|
|
948
|
+
id: import_zod13.z.string(),
|
|
949
|
+
url: import_zod13.z.string()
|
|
950
|
+
})
|
|
951
|
+
});
|
|
952
|
+
|
|
953
|
+
// src/workflow/workflow.transition.ts
|
|
954
|
+
var WorkflowTransitionDefinition = definition(
|
|
955
|
+
{
|
|
956
|
+
event: "workflow.transition",
|
|
957
|
+
name: "Workflow Transition",
|
|
958
|
+
description: "Triggers when a workflow transition has occurred.",
|
|
959
|
+
schema: WorkflowTransitionPayloadSchema
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
timestamp: "2024-05-04T13:42:06Z",
|
|
963
|
+
entity: {
|
|
964
|
+
type: "component",
|
|
965
|
+
name: "About Us",
|
|
966
|
+
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
967
|
+
releaseId: "7ae142c0-ec20-467a-9268-8fc959045679",
|
|
968
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/entries/e5c95c60-314b-4700-9035-6f9c2a4ff800?release=7ae142c0-ec20-467a-9268-8fc959045679`
|
|
969
|
+
},
|
|
970
|
+
newStage: {
|
|
971
|
+
workflowId: "448bf252-7428-4e93-a982-5c6044a41b40",
|
|
972
|
+
workflowName: "My Workflow",
|
|
973
|
+
stageId: "571042cd-626a-4801-a9f3-9a138deb8606",
|
|
974
|
+
stageName: "Awaiting Approval"
|
|
975
|
+
},
|
|
976
|
+
previousStage: {
|
|
977
|
+
workflowId: "448bf252-7428-4e93-a982-5c6044a41b40",
|
|
978
|
+
workflowName: "My Workflow",
|
|
979
|
+
stageId: "d7e8ca59-3ce2-4052-81f8-e4731c69e914",
|
|
980
|
+
stageName: "Draft"
|
|
981
|
+
},
|
|
982
|
+
initiator: {
|
|
983
|
+
id: "user-unique-identifier",
|
|
984
|
+
name: "User Name",
|
|
985
|
+
email: "user@company.com"
|
|
986
|
+
},
|
|
987
|
+
project: {
|
|
988
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
989
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
);
|
|
993
|
+
var WorkflowTransitionEventName = WorkflowTransitionDefinition["event"];
|
|
864
994
|
// Annotate the CommonJS export names for ESM import in node:
|
|
865
995
|
0 && (module.exports = {
|
|
866
996
|
ArchivedReleaseLaunchStartedDefinition,
|
|
@@ -923,6 +1053,12 @@ var ArchivedReleaseLaunchStartedDefinition = definition(
|
|
|
923
1053
|
ReleaseLaunchedDefinition,
|
|
924
1054
|
ReleaseLaunchedEventName,
|
|
925
1055
|
ReleasePayloadSchema,
|
|
1056
|
+
WorkflowEntitySchema,
|
|
1057
|
+
WorkflowIdentitySchema,
|
|
1058
|
+
WorkflowReferenceSchema,
|
|
1059
|
+
WorkflowTransitionDefinition,
|
|
1060
|
+
WorkflowTransitionEventName,
|
|
1061
|
+
WorkflowTransitionPayloadSchema,
|
|
926
1062
|
definition,
|
|
927
1063
|
isDefinition
|
|
928
1064
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -478,17 +478,33 @@ var ProjectMapNodeDeleteDefinition = definition(
|
|
|
478
478
|
schema: z5.object({
|
|
479
479
|
project_id: z5.string(),
|
|
480
480
|
project_map_id: z5.string(),
|
|
481
|
+
name: z5.string(),
|
|
481
482
|
id: z5.string(),
|
|
482
483
|
path: z5.string(),
|
|
483
|
-
composition_id: z5.string().optional()
|
|
484
|
+
composition_id: z5.string().optional(),
|
|
485
|
+
locales: z5.record(
|
|
486
|
+
z5.object({
|
|
487
|
+
name: z5.string(),
|
|
488
|
+
inherited: z5.boolean(),
|
|
489
|
+
path: z5.string()
|
|
490
|
+
})
|
|
491
|
+
).optional()
|
|
484
492
|
})
|
|
485
493
|
},
|
|
486
494
|
{
|
|
487
495
|
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
496
|
+
name: "Product Detail",
|
|
488
497
|
project_map_id: "c57ba7ac-4b5a-42f2-980f-afc75fe9d234",
|
|
489
498
|
project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496",
|
|
490
499
|
path: "/product-detail",
|
|
491
|
-
composition_id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66"
|
|
500
|
+
composition_id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
501
|
+
locales: {
|
|
502
|
+
de: {
|
|
503
|
+
name: "Produktdetail",
|
|
504
|
+
inherited: false,
|
|
505
|
+
path: "/produktdetail"
|
|
506
|
+
}
|
|
507
|
+
}
|
|
492
508
|
}
|
|
493
509
|
);
|
|
494
510
|
var ProjectMapNodeDeletedEventName = ProjectMapNodeDeleteDefinition["event"];
|
|
@@ -502,18 +518,34 @@ var ProjectMapNodeInsertDefinition = definition(
|
|
|
502
518
|
description: "Triggers when a project map node is inserted.",
|
|
503
519
|
schema: z6.object({
|
|
504
520
|
id: z6.string(),
|
|
521
|
+
name: z6.string(),
|
|
505
522
|
project_map_id: z6.string(),
|
|
506
523
|
project_id: z6.string(),
|
|
507
524
|
path: z6.string(),
|
|
508
|
-
composition_id: z6.string().optional()
|
|
525
|
+
composition_id: z6.string().optional(),
|
|
526
|
+
locales: z6.record(
|
|
527
|
+
z6.object({
|
|
528
|
+
name: z6.string(),
|
|
529
|
+
inherited: z6.boolean(),
|
|
530
|
+
path: z6.string()
|
|
531
|
+
})
|
|
532
|
+
).optional()
|
|
509
533
|
})
|
|
510
534
|
},
|
|
511
535
|
{
|
|
512
536
|
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
537
|
+
name: "Product Detail",
|
|
513
538
|
project_map_id: "c57ba7ac-4b5a-42f2-980f-afc75fe9d234",
|
|
514
539
|
project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496",
|
|
515
540
|
path: "/product-detail",
|
|
516
|
-
composition_id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66"
|
|
541
|
+
composition_id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
542
|
+
locales: {
|
|
543
|
+
de: {
|
|
544
|
+
name: "Produktdetail",
|
|
545
|
+
inherited: false,
|
|
546
|
+
path: "/produktdetail"
|
|
547
|
+
}
|
|
548
|
+
}
|
|
517
549
|
}
|
|
518
550
|
);
|
|
519
551
|
var ProjectMapNodeInsertedEventName = ProjectMapNodeInsertDefinition["event"];
|
|
@@ -527,20 +559,38 @@ var ProjectMapNodeUpdateDefinition = definition(
|
|
|
527
559
|
description: "Triggers when a project map node is updated.",
|
|
528
560
|
schema: z7.object({
|
|
529
561
|
id: z7.string(),
|
|
562
|
+
name: z7.string(),
|
|
530
563
|
project_map_id: z7.string(),
|
|
531
564
|
project_id: z7.string(),
|
|
532
565
|
path: z7.string(),
|
|
533
566
|
composition_id: z7.string().optional(),
|
|
534
|
-
previous_path: z7.string()
|
|
567
|
+
previous_path: z7.string(),
|
|
568
|
+
locales: z7.record(
|
|
569
|
+
z7.object({
|
|
570
|
+
name: z7.string(),
|
|
571
|
+
inherited: z7.boolean(),
|
|
572
|
+
path: z7.string(),
|
|
573
|
+
previous_path: z7.string()
|
|
574
|
+
})
|
|
575
|
+
).optional()
|
|
535
576
|
})
|
|
536
577
|
},
|
|
537
578
|
{
|
|
538
579
|
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
580
|
+
name: "Product Detail",
|
|
539
581
|
project_map_id: "c57ba7ac-4b5a-42f2-980f-afc75fe9d234",
|
|
540
582
|
project_id: "bf978bb4-693b-4e75-9a57-8c89d27f4496",
|
|
541
583
|
path: "/product-detail",
|
|
542
584
|
composition_id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
543
|
-
previous_path: "/promo/product-detail"
|
|
585
|
+
previous_path: "/promo/product-detail",
|
|
586
|
+
locales: {
|
|
587
|
+
de: {
|
|
588
|
+
name: "Produktdetail",
|
|
589
|
+
inherited: false,
|
|
590
|
+
path: "/produktdetail",
|
|
591
|
+
previous_path: "/promo/product-detail"
|
|
592
|
+
}
|
|
593
|
+
}
|
|
544
594
|
}
|
|
545
595
|
);
|
|
546
596
|
var ProjectMapNodeUpdatedEventName = ProjectMapNodeUpdateDefinition["event"];
|
|
@@ -774,6 +824,80 @@ var ArchivedReleaseLaunchStartedDefinition = definition(
|
|
|
774
824
|
api_url: `https://uniform.app/api/v1/releases?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&releaseIDs=0b9d2118-f2d0-4fe6-9d46-7c661abaf474`
|
|
775
825
|
}
|
|
776
826
|
);
|
|
827
|
+
|
|
828
|
+
// src/workflow/common.ts
|
|
829
|
+
import { z as z13 } from "zod";
|
|
830
|
+
var WorkflowReferenceSchema = z13.strictObject({
|
|
831
|
+
workflowId: z13.string(),
|
|
832
|
+
workflowName: z13.string(),
|
|
833
|
+
stageId: z13.string(),
|
|
834
|
+
stageName: z13.string()
|
|
835
|
+
});
|
|
836
|
+
var WorkflowIdentitySchema = z13.strictObject({
|
|
837
|
+
id: z13.string(),
|
|
838
|
+
name: z13.string().optional(),
|
|
839
|
+
email: z13.string().optional()
|
|
840
|
+
});
|
|
841
|
+
var WorkflowEntitySchema = z13.strictObject({
|
|
842
|
+
type: z13.enum(["entry", "component"]),
|
|
843
|
+
name: z13.string(),
|
|
844
|
+
id: z13.string(),
|
|
845
|
+
releaseId: z13.string().optional(),
|
|
846
|
+
url: z13.string()
|
|
847
|
+
});
|
|
848
|
+
var WorkflowTransitionPayloadSchema = z13.strictObject({
|
|
849
|
+
entity: WorkflowEntitySchema,
|
|
850
|
+
newStage: WorkflowReferenceSchema,
|
|
851
|
+
previousStage: WorkflowReferenceSchema.optional(),
|
|
852
|
+
initiator: WorkflowIdentitySchema,
|
|
853
|
+
timestamp: z13.string(),
|
|
854
|
+
project: z13.object({
|
|
855
|
+
id: z13.string(),
|
|
856
|
+
url: z13.string()
|
|
857
|
+
})
|
|
858
|
+
});
|
|
859
|
+
|
|
860
|
+
// src/workflow/workflow.transition.ts
|
|
861
|
+
var WorkflowTransitionDefinition = definition(
|
|
862
|
+
{
|
|
863
|
+
event: "workflow.transition",
|
|
864
|
+
name: "Workflow Transition",
|
|
865
|
+
description: "Triggers when a workflow transition has occurred.",
|
|
866
|
+
schema: WorkflowTransitionPayloadSchema
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
timestamp: "2024-05-04T13:42:06Z",
|
|
870
|
+
entity: {
|
|
871
|
+
type: "component",
|
|
872
|
+
name: "About Us",
|
|
873
|
+
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
874
|
+
releaseId: "7ae142c0-ec20-467a-9268-8fc959045679",
|
|
875
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/entries/e5c95c60-314b-4700-9035-6f9c2a4ff800?release=7ae142c0-ec20-467a-9268-8fc959045679`
|
|
876
|
+
},
|
|
877
|
+
newStage: {
|
|
878
|
+
workflowId: "448bf252-7428-4e93-a982-5c6044a41b40",
|
|
879
|
+
workflowName: "My Workflow",
|
|
880
|
+
stageId: "571042cd-626a-4801-a9f3-9a138deb8606",
|
|
881
|
+
stageName: "Awaiting Approval"
|
|
882
|
+
},
|
|
883
|
+
previousStage: {
|
|
884
|
+
workflowId: "448bf252-7428-4e93-a982-5c6044a41b40",
|
|
885
|
+
workflowName: "My Workflow",
|
|
886
|
+
stageId: "d7e8ca59-3ce2-4052-81f8-e4731c69e914",
|
|
887
|
+
stageName: "Draft"
|
|
888
|
+
},
|
|
889
|
+
initiator: {
|
|
890
|
+
id: "user-unique-identifier",
|
|
891
|
+
name: "User Name",
|
|
892
|
+
email: "user@company.com"
|
|
893
|
+
},
|
|
894
|
+
project: {
|
|
895
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
896
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
);
|
|
900
|
+
var WorkflowTransitionEventName = WorkflowTransitionDefinition["event"];
|
|
777
901
|
export {
|
|
778
902
|
ArchivedReleaseLaunchStartedDefinition,
|
|
779
903
|
CompositionChangedDefinition,
|
|
@@ -835,6 +959,12 @@ export {
|
|
|
835
959
|
ReleaseLaunchedDefinition,
|
|
836
960
|
ReleaseLaunchedEventName,
|
|
837
961
|
ReleasePayloadSchema,
|
|
962
|
+
WorkflowEntitySchema,
|
|
963
|
+
WorkflowIdentitySchema,
|
|
964
|
+
WorkflowReferenceSchema,
|
|
965
|
+
WorkflowTransitionDefinition,
|
|
966
|
+
WorkflowTransitionEventName,
|
|
967
|
+
WorkflowTransitionPayloadSchema,
|
|
838
968
|
definition,
|
|
839
969
|
isDefinition
|
|
840
970
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/webhooks",
|
|
3
|
-
"version": "19.135.
|
|
3
|
+
"version": "19.135.1-alpha.11+9f52e6cfd6",
|
|
4
4
|
"description": "Uniform Webhooks",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -30,16 +30,16 @@
|
|
|
30
30
|
"/dist"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"zod": "3.
|
|
33
|
+
"zod": "3.23.8"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"dotenv": "^16.0.3",
|
|
37
|
-
"npm-run-all2": "
|
|
37
|
+
"npm-run-all2": "6.2.2",
|
|
38
38
|
"svix": "^1.0.0",
|
|
39
39
|
"zod-to-json-schema": "3.21.4"
|
|
40
40
|
},
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "9f52e6cfd6e562e9c759735ba2a44378388a2a82"
|
|
45
45
|
}
|