@vercel/sdk 1.6.9 → 1.6.10

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.
Files changed (86) hide show
  1. package/bin/mcp-server.js +250 -61
  2. package/bin/mcp-server.js.map +20 -20
  3. package/docs/sdks/user/README.md +2 -0
  4. package/esm/funcs/userListUserEvents.js +1 -0
  5. package/esm/funcs/userListUserEvents.js.map +1 -1
  6. package/esm/lib/config.d.ts +2 -2
  7. package/esm/lib/config.js +2 -2
  8. package/esm/lib/config.js.map +1 -1
  9. package/esm/mcp-server/mcp-server.js +1 -1
  10. package/esm/mcp-server/mcp-server.js.map +1 -1
  11. package/esm/mcp-server/server.js +1 -1
  12. package/esm/mcp-server/server.js.map +1 -1
  13. package/esm/models/authuser.d.ts +3 -0
  14. package/esm/models/authuser.d.ts.map +1 -1
  15. package/esm/models/authuser.js +1 -0
  16. package/esm/models/authuser.js.map +1 -1
  17. package/esm/models/createprojectenvop.d.ts +6 -6
  18. package/esm/models/createprojectenvop.js +2 -2
  19. package/esm/models/createprojectenvop.js.map +1 -1
  20. package/esm/models/createprojectop.d.ts +15 -9
  21. package/esm/models/createprojectop.d.ts.map +1 -1
  22. package/esm/models/createprojectop.js +5 -3
  23. package/esm/models/createprojectop.js.map +1 -1
  24. package/esm/models/createwebhookop.d.ts +24 -0
  25. package/esm/models/createwebhookop.d.ts.map +1 -1
  26. package/esm/models/createwebhookop.js +8 -0
  27. package/esm/models/createwebhookop.js.map +1 -1
  28. package/esm/models/editprojectenvop.d.ts +3 -3
  29. package/esm/models/editprojectenvop.js +1 -1
  30. package/esm/models/editprojectenvop.js.map +1 -1
  31. package/esm/models/getprojectsop.d.ts +6 -0
  32. package/esm/models/getprojectsop.d.ts.map +1 -1
  33. package/esm/models/getprojectsop.js +2 -0
  34. package/esm/models/getprojectsop.js.map +1 -1
  35. package/esm/models/getwebhookop.d.ts +12 -0
  36. package/esm/models/getwebhookop.d.ts.map +1 -1
  37. package/esm/models/getwebhookop.js +4 -0
  38. package/esm/models/getwebhookop.js.map +1 -1
  39. package/esm/models/getwebhooksop.d.ts +24 -0
  40. package/esm/models/getwebhooksop.d.ts.map +1 -1
  41. package/esm/models/getwebhooksop.js +8 -0
  42. package/esm/models/getwebhooksop.js.map +1 -1
  43. package/esm/models/listusereventsop.d.ts +6 -1
  44. package/esm/models/listusereventsop.d.ts.map +1 -1
  45. package/esm/models/listusereventsop.js +2 -0
  46. package/esm/models/listusereventsop.js.map +1 -1
  47. package/esm/models/removeprojectenvop.d.ts +9 -9
  48. package/esm/models/removeprojectenvop.js +3 -3
  49. package/esm/models/removeprojectenvop.js.map +1 -1
  50. package/esm/models/teamlimited.d.ts +30 -1
  51. package/esm/models/teamlimited.d.ts.map +1 -1
  52. package/esm/models/teamlimited.js +24 -0
  53. package/esm/models/teamlimited.js.map +1 -1
  54. package/esm/models/updateprojectdatacacheop.d.ts +6 -0
  55. package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
  56. package/esm/models/updateprojectdatacacheop.js +2 -0
  57. package/esm/models/updateprojectdatacacheop.js.map +1 -1
  58. package/esm/models/updateprojectop.d.ts +15 -9
  59. package/esm/models/updateprojectop.d.ts.map +1 -1
  60. package/esm/models/updateprojectop.js +5 -3
  61. package/esm/models/updateprojectop.js.map +1 -1
  62. package/esm/models/userevent.d.ts +324 -34
  63. package/esm/models/userevent.d.ts.map +1 -1
  64. package/esm/models/userevent.js +313 -40
  65. package/esm/models/userevent.js.map +1 -1
  66. package/jsr.json +1 -1
  67. package/package.json +1 -1
  68. package/src/funcs/userListUserEvents.ts +1 -0
  69. package/src/lib/config.ts +2 -2
  70. package/src/mcp-server/mcp-server.ts +1 -1
  71. package/src/mcp-server/server.ts +1 -1
  72. package/src/models/authuser.ts +1 -0
  73. package/src/models/createprojectenvop.ts +2 -2
  74. package/src/models/createprojectop.ts +5 -3
  75. package/src/models/createwebhookop.ts +8 -0
  76. package/src/models/editprojectenvop.ts +1 -1
  77. package/src/models/getprojectsop.ts +2 -0
  78. package/src/models/getwebhookop.ts +4 -0
  79. package/src/models/getwebhooksop.ts +8 -0
  80. package/src/models/listusereventsop.ts +8 -1
  81. package/src/models/removeprojectenvop.ts +3 -3
  82. package/src/models/teamlimited.ts +34 -1
  83. package/src/models/updateprojectdatacacheop.ts +2 -0
  84. package/src/models/updateprojectop.ts +5 -3
  85. package/src/models/userevent.ts +579 -70
  86. package/vercel-spec.json +256 -45
@@ -30,6 +30,18 @@ export const UserEventType = {
30
30
  Store: "store",
31
31
  System: "system",
32
32
  };
33
+ export const UserEventPrincipalType = {
34
+ App: "app",
35
+ };
36
+ export const PrincipalType = {
37
+ User: "user",
38
+ };
39
+ export const UserEventViaType = {
40
+ App: "app",
41
+ };
42
+ export const ViaType = {
43
+ User: "user",
44
+ };
33
45
  export const GrantType = {
34
46
  AuthorizationCode: "authorization_code",
35
47
  RefreshToken: "refresh_token",
@@ -255,6 +267,7 @@ export const PayloadImportFlowGitProvider = {
255
267
  };
256
268
  export const PayloadPurchaseType = {
257
269
  Enhanced: "enhanced",
270
+ Ultra: "ultra",
258
271
  };
259
272
  export const PayloadViewPreference = {
260
273
  Cards: "cards",
@@ -675,17 +688,17 @@ export const User$inboundSchema = z
675
688
  .object({
676
689
  avatar: z.string(),
677
690
  email: z.string(),
691
+ username: z.string(),
678
692
  slug: z.string().optional(),
679
693
  uid: z.string(),
680
- username: z.string(),
681
694
  });
682
695
  /** @internal */
683
696
  export const User$outboundSchema = z.object({
684
697
  avatar: z.string(),
685
698
  email: z.string(),
699
+ username: z.string(),
686
700
  slug: z.string().optional(),
687
701
  uid: z.string(),
688
- username: z.string(),
689
702
  });
690
703
  /**
691
704
  * @internal
@@ -705,6 +718,250 @@ export function userFromJSON(jsonString) {
705
718
  return safeParse(jsonString, (x) => User$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'User' from JSON`);
706
719
  }
707
720
  /** @internal */
721
+ export const UserEventPrincipalType$inboundSchema = z.nativeEnum(UserEventPrincipalType);
722
+ /** @internal */
723
+ export const UserEventPrincipalType$outboundSchema = UserEventPrincipalType$inboundSchema;
724
+ /**
725
+ * @internal
726
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
727
+ */
728
+ export var UserEventPrincipalType$;
729
+ (function (UserEventPrincipalType$) {
730
+ /** @deprecated use `UserEventPrincipalType$inboundSchema` instead. */
731
+ UserEventPrincipalType$.inboundSchema = UserEventPrincipalType$inboundSchema;
732
+ /** @deprecated use `UserEventPrincipalType$outboundSchema` instead. */
733
+ UserEventPrincipalType$.outboundSchema = UserEventPrincipalType$outboundSchema;
734
+ })(UserEventPrincipalType$ || (UserEventPrincipalType$ = {}));
735
+ /** @internal */
736
+ export const Two$inboundSchema = z
737
+ .object({
738
+ type: UserEventPrincipalType$inboundSchema,
739
+ clientId: z.string(),
740
+ name: z.string(),
741
+ });
742
+ /** @internal */
743
+ export const Two$outboundSchema = z
744
+ .object({
745
+ type: UserEventPrincipalType$outboundSchema,
746
+ clientId: z.string(),
747
+ name: z.string(),
748
+ });
749
+ /**
750
+ * @internal
751
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
752
+ */
753
+ export var Two$;
754
+ (function (Two$) {
755
+ /** @deprecated use `Two$inboundSchema` instead. */
756
+ Two$.inboundSchema = Two$inboundSchema;
757
+ /** @deprecated use `Two$outboundSchema` instead. */
758
+ Two$.outboundSchema = Two$outboundSchema;
759
+ })(Two$ || (Two$ = {}));
760
+ export function twoToJSON(two) {
761
+ return JSON.stringify(Two$outboundSchema.parse(two));
762
+ }
763
+ export function twoFromJSON(jsonString) {
764
+ return safeParse(jsonString, (x) => Two$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Two' from JSON`);
765
+ }
766
+ /** @internal */
767
+ export const PrincipalType$inboundSchema = z.nativeEnum(PrincipalType);
768
+ /** @internal */
769
+ export const PrincipalType$outboundSchema = PrincipalType$inboundSchema;
770
+ /**
771
+ * @internal
772
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
773
+ */
774
+ export var PrincipalType$;
775
+ (function (PrincipalType$) {
776
+ /** @deprecated use `PrincipalType$inboundSchema` instead. */
777
+ PrincipalType$.inboundSchema = PrincipalType$inboundSchema;
778
+ /** @deprecated use `PrincipalType$outboundSchema` instead. */
779
+ PrincipalType$.outboundSchema = PrincipalType$outboundSchema;
780
+ })(PrincipalType$ || (PrincipalType$ = {}));
781
+ /** @internal */
782
+ export const One$inboundSchema = z
783
+ .object({
784
+ type: PrincipalType$inboundSchema.optional(),
785
+ avatar: z.string(),
786
+ email: z.string(),
787
+ slug: z.string().optional(),
788
+ uid: z.string(),
789
+ username: z.string(),
790
+ });
791
+ /** @internal */
792
+ export const One$outboundSchema = z
793
+ .object({
794
+ type: PrincipalType$outboundSchema.optional(),
795
+ avatar: z.string(),
796
+ email: z.string(),
797
+ slug: z.string().optional(),
798
+ uid: z.string(),
799
+ username: z.string(),
800
+ });
801
+ /**
802
+ * @internal
803
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
804
+ */
805
+ export var One$;
806
+ (function (One$) {
807
+ /** @deprecated use `One$inboundSchema` instead. */
808
+ One$.inboundSchema = One$inboundSchema;
809
+ /** @deprecated use `One$outboundSchema` instead. */
810
+ One$.outboundSchema = One$outboundSchema;
811
+ })(One$ || (One$ = {}));
812
+ export function oneToJSON(one) {
813
+ return JSON.stringify(One$outboundSchema.parse(one));
814
+ }
815
+ export function oneFromJSON(jsonString) {
816
+ return safeParse(jsonString, (x) => One$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'One' from JSON`);
817
+ }
818
+ /** @internal */
819
+ export const Principal$inboundSchema = z.union([z.lazy(() => Two$inboundSchema), z.lazy(() => One$inboundSchema)]);
820
+ /** @internal */
821
+ export const Principal$outboundSchema = z.union([
822
+ z.lazy(() => Two$outboundSchema),
823
+ z.lazy(() => One$outboundSchema),
824
+ ]);
825
+ /**
826
+ * @internal
827
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
828
+ */
829
+ export var Principal$;
830
+ (function (Principal$) {
831
+ /** @deprecated use `Principal$inboundSchema` instead. */
832
+ Principal$.inboundSchema = Principal$inboundSchema;
833
+ /** @deprecated use `Principal$outboundSchema` instead. */
834
+ Principal$.outboundSchema = Principal$outboundSchema;
835
+ })(Principal$ || (Principal$ = {}));
836
+ export function principalToJSON(principal) {
837
+ return JSON.stringify(Principal$outboundSchema.parse(principal));
838
+ }
839
+ export function principalFromJSON(jsonString) {
840
+ return safeParse(jsonString, (x) => Principal$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Principal' from JSON`);
841
+ }
842
+ /** @internal */
843
+ export const UserEventViaType$inboundSchema = z.nativeEnum(UserEventViaType);
844
+ /** @internal */
845
+ export const UserEventViaType$outboundSchema = UserEventViaType$inboundSchema;
846
+ /**
847
+ * @internal
848
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
849
+ */
850
+ export var UserEventViaType$;
851
+ (function (UserEventViaType$) {
852
+ /** @deprecated use `UserEventViaType$inboundSchema` instead. */
853
+ UserEventViaType$.inboundSchema = UserEventViaType$inboundSchema;
854
+ /** @deprecated use `UserEventViaType$outboundSchema` instead. */
855
+ UserEventViaType$.outboundSchema = UserEventViaType$outboundSchema;
856
+ })(UserEventViaType$ || (UserEventViaType$ = {}));
857
+ /** @internal */
858
+ export const Via2$inboundSchema = z
859
+ .object({
860
+ type: UserEventViaType$inboundSchema,
861
+ clientId: z.string(),
862
+ name: z.string(),
863
+ });
864
+ /** @internal */
865
+ export const Via2$outboundSchema = z.object({
866
+ type: UserEventViaType$outboundSchema,
867
+ clientId: z.string(),
868
+ name: z.string(),
869
+ });
870
+ /**
871
+ * @internal
872
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
873
+ */
874
+ export var Via2$;
875
+ (function (Via2$) {
876
+ /** @deprecated use `Via2$inboundSchema` instead. */
877
+ Via2$.inboundSchema = Via2$inboundSchema;
878
+ /** @deprecated use `Via2$outboundSchema` instead. */
879
+ Via2$.outboundSchema = Via2$outboundSchema;
880
+ })(Via2$ || (Via2$ = {}));
881
+ export function via2ToJSON(via2) {
882
+ return JSON.stringify(Via2$outboundSchema.parse(via2));
883
+ }
884
+ export function via2FromJSON(jsonString) {
885
+ return safeParse(jsonString, (x) => Via2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Via2' from JSON`);
886
+ }
887
+ /** @internal */
888
+ export const ViaType$inboundSchema = z
889
+ .nativeEnum(ViaType);
890
+ /** @internal */
891
+ export const ViaType$outboundSchema = ViaType$inboundSchema;
892
+ /**
893
+ * @internal
894
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
895
+ */
896
+ export var ViaType$;
897
+ (function (ViaType$) {
898
+ /** @deprecated use `ViaType$inboundSchema` instead. */
899
+ ViaType$.inboundSchema = ViaType$inboundSchema;
900
+ /** @deprecated use `ViaType$outboundSchema` instead. */
901
+ ViaType$.outboundSchema = ViaType$outboundSchema;
902
+ })(ViaType$ || (ViaType$ = {}));
903
+ /** @internal */
904
+ export const Via1$inboundSchema = z
905
+ .object({
906
+ type: ViaType$inboundSchema.optional(),
907
+ avatar: z.string(),
908
+ email: z.string(),
909
+ slug: z.string().optional(),
910
+ uid: z.string(),
911
+ username: z.string(),
912
+ });
913
+ /** @internal */
914
+ export const Via1$outboundSchema = z.object({
915
+ type: ViaType$outboundSchema.optional(),
916
+ avatar: z.string(),
917
+ email: z.string(),
918
+ slug: z.string().optional(),
919
+ uid: z.string(),
920
+ username: z.string(),
921
+ });
922
+ /**
923
+ * @internal
924
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
925
+ */
926
+ export var Via1$;
927
+ (function (Via1$) {
928
+ /** @deprecated use `Via1$inboundSchema` instead. */
929
+ Via1$.inboundSchema = Via1$inboundSchema;
930
+ /** @deprecated use `Via1$outboundSchema` instead. */
931
+ Via1$.outboundSchema = Via1$outboundSchema;
932
+ })(Via1$ || (Via1$ = {}));
933
+ export function via1ToJSON(via1) {
934
+ return JSON.stringify(Via1$outboundSchema.parse(via1));
935
+ }
936
+ export function via1FromJSON(jsonString) {
937
+ return safeParse(jsonString, (x) => Via1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Via1' from JSON`);
938
+ }
939
+ /** @internal */
940
+ export const Via$inboundSchema = z.union([z.lazy(() => Via2$inboundSchema), z.lazy(() => Via1$inboundSchema)]);
941
+ /** @internal */
942
+ export const Via$outboundSchema = z
943
+ .union([
944
+ z.lazy(() => Via2$outboundSchema),
945
+ z.lazy(() => Via1$outboundSchema),
946
+ ]);
947
+ /**
948
+ * @internal
949
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
950
+ */
951
+ export var Via$;
952
+ (function (Via$) {
953
+ /** @deprecated use `Via$inboundSchema` instead. */
954
+ Via$.inboundSchema = Via$inboundSchema;
955
+ /** @deprecated use `Via$outboundSchema` instead. */
956
+ Via$.outboundSchema = Via$outboundSchema;
957
+ })(Via$ || (Via$ = {}));
958
+ export function viaToJSON(via) {
959
+ return JSON.stringify(Via$outboundSchema.parse(via));
960
+ }
961
+ export function viaFromJSON(jsonString) {
962
+ return safeParse(jsonString, (x) => Via$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Via' from JSON`);
963
+ }
964
+ /** @internal */
708
965
  export const GrantType$inboundSchema = z
709
966
  .nativeEnum(GrantType);
710
967
  /** @internal */
@@ -12748,16 +13005,14 @@ export var Action$;
12748
13005
  Action$.outboundSchema = Action$outboundSchema;
12749
13006
  })(Action$ || (Action$ = {}));
12750
13007
  /** @internal */
12751
- export const Two$inboundSchema = z
12752
- .object({
13008
+ export const Payload2$inboundSchema = z.object({
12753
13009
  action: Action$inboundSchema,
12754
13010
  id: z.string(),
12755
13011
  slug: z.string(),
12756
13012
  projectId: z.string(),
12757
13013
  });
12758
13014
  /** @internal */
12759
- export const Two$outboundSchema = z
12760
- .object({
13015
+ export const Payload2$outboundSchema = z.object({
12761
13016
  action: Action$outboundSchema,
12762
13017
  id: z.string(),
12763
13018
  slug: z.string(),
@@ -12767,45 +13022,43 @@ export const Two$outboundSchema = z
12767
13022
  * @internal
12768
13023
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12769
13024
  */
12770
- export var Two$;
12771
- (function (Two$) {
12772
- /** @deprecated use `Two$inboundSchema` instead. */
12773
- Two$.inboundSchema = Two$inboundSchema;
12774
- /** @deprecated use `Two$outboundSchema` instead. */
12775
- Two$.outboundSchema = Two$outboundSchema;
12776
- })(Two$ || (Two$ = {}));
12777
- export function twoToJSON(two) {
12778
- return JSON.stringify(Two$outboundSchema.parse(two));
13025
+ export var Payload2$;
13026
+ (function (Payload2$) {
13027
+ /** @deprecated use `Payload2$inboundSchema` instead. */
13028
+ Payload2$.inboundSchema = Payload2$inboundSchema;
13029
+ /** @deprecated use `Payload2$outboundSchema` instead. */
13030
+ Payload2$.outboundSchema = Payload2$outboundSchema;
13031
+ })(Payload2$ || (Payload2$ = {}));
13032
+ export function payload2ToJSON(payload2) {
13033
+ return JSON.stringify(Payload2$outboundSchema.parse(payload2));
12779
13034
  }
12780
- export function twoFromJSON(jsonString) {
12781
- return safeParse(jsonString, (x) => Two$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Two' from JSON`);
13035
+ export function payload2FromJSON(jsonString) {
13036
+ return safeParse(jsonString, (x) => Payload2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Payload2' from JSON`);
12782
13037
  }
12783
13038
  /** @internal */
12784
- export const One$inboundSchema = z
12785
- .object({});
13039
+ export const Payload1$inboundSchema = z.object({});
12786
13040
  /** @internal */
12787
- export const One$outboundSchema = z
12788
- .object({});
13041
+ export const Payload1$outboundSchema = z.object({});
12789
13042
  /**
12790
13043
  * @internal
12791
13044
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
12792
13045
  */
12793
- export var One$;
12794
- (function (One$) {
12795
- /** @deprecated use `One$inboundSchema` instead. */
12796
- One$.inboundSchema = One$inboundSchema;
12797
- /** @deprecated use `One$outboundSchema` instead. */
12798
- One$.outboundSchema = One$outboundSchema;
12799
- })(One$ || (One$ = {}));
12800
- export function oneToJSON(one) {
12801
- return JSON.stringify(One$outboundSchema.parse(one));
13046
+ export var Payload1$;
13047
+ (function (Payload1$) {
13048
+ /** @deprecated use `Payload1$inboundSchema` instead. */
13049
+ Payload1$.inboundSchema = Payload1$inboundSchema;
13050
+ /** @deprecated use `Payload1$outboundSchema` instead. */
13051
+ Payload1$.outboundSchema = Payload1$outboundSchema;
13052
+ })(Payload1$ || (Payload1$ = {}));
13053
+ export function payload1ToJSON(payload1) {
13054
+ return JSON.stringify(Payload1$outboundSchema.parse(payload1));
12802
13055
  }
12803
- export function oneFromJSON(jsonString) {
12804
- return safeParse(jsonString, (x) => One$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'One' from JSON`);
13056
+ export function payload1FromJSON(jsonString) {
13057
+ return safeParse(jsonString, (x) => Payload1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Payload1' from JSON`);
12805
13058
  }
12806
13059
  /** @internal */
12807
13060
  export const Payload$inboundSchema = z.union([
12808
- z.lazy(() => One$inboundSchema),
13061
+ z.lazy(() => Payload1$inboundSchema),
12809
13062
  z.lazy(() => Three$inboundSchema),
12810
13063
  z.lazy(() => Nine$inboundSchema),
12811
13064
  z.lazy(() => Nineteen$inboundSchema),
@@ -12910,7 +13163,7 @@ export const Payload$inboundSchema = z.union([
12910
13163
  z.lazy(() => OneHundredAndThirtyEight$inboundSchema),
12911
13164
  z.lazy(() => OneHundredAndFortyFive$inboundSchema),
12912
13165
  z.lazy(() => OneHundredAndFortySix$inboundSchema),
12913
- z.lazy(() => Two$inboundSchema),
13166
+ z.lazy(() => Payload2$inboundSchema),
12914
13167
  z.lazy(() => Six$inboundSchema),
12915
13168
  z.lazy(() => Eleven$inboundSchema),
12916
13169
  z.lazy(() => Fifteen$inboundSchema),
@@ -12956,7 +13209,7 @@ export const Payload$inboundSchema = z.union([
12956
13209
  ]);
12957
13210
  /** @internal */
12958
13211
  export const Payload$outboundSchema = z.union([
12959
- z.lazy(() => One$outboundSchema),
13212
+ z.lazy(() => Payload1$outboundSchema),
12960
13213
  z.lazy(() => Three$outboundSchema),
12961
13214
  z.lazy(() => Nine$outboundSchema),
12962
13215
  z.lazy(() => Nineteen$outboundSchema),
@@ -13061,7 +13314,7 @@ export const Payload$outboundSchema = z.union([
13061
13314
  z.lazy(() => OneHundredAndThirtyEight$outboundSchema),
13062
13315
  z.lazy(() => OneHundredAndFortyFive$outboundSchema),
13063
13316
  z.lazy(() => OneHundredAndFortySix$outboundSchema),
13064
- z.lazy(() => Two$outboundSchema),
13317
+ z.lazy(() => Payload2$outboundSchema),
13065
13318
  z.lazy(() => Six$outboundSchema),
13066
13319
  z.lazy(() => Eleven$outboundSchema),
13067
13320
  z.lazy(() => Fifteen$outboundSchema),
@@ -13129,9 +13382,19 @@ export const UserEvent$inboundSchema = z.object({
13129
13382
  entities: z.array(z.lazy(() => Entities$inboundSchema)),
13130
13383
  createdAt: z.number(),
13131
13384
  user: z.lazy(() => User$inboundSchema).optional(),
13385
+ principal: z.union([
13386
+ z.lazy(() => Two$inboundSchema),
13387
+ z.lazy(() => One$inboundSchema),
13388
+ ]).optional(),
13389
+ via: z.array(z.union([
13390
+ z.lazy(() => Via2$inboundSchema),
13391
+ z.lazy(() => Via1$inboundSchema),
13392
+ ])).optional(),
13132
13393
  userId: z.string(),
13394
+ principalId: z.string(),
13395
+ viaIds: z.array(z.string()).optional(),
13133
13396
  payload: z.union([
13134
- z.lazy(() => One$inboundSchema),
13397
+ z.lazy(() => Payload1$inboundSchema),
13135
13398
  z.lazy(() => Three$inboundSchema),
13136
13399
  z.lazy(() => Nine$inboundSchema),
13137
13400
  z.lazy(() => Nineteen$inboundSchema),
@@ -13236,7 +13499,7 @@ export const UserEvent$inboundSchema = z.object({
13236
13499
  z.lazy(() => OneHundredAndThirtyEight$inboundSchema),
13237
13500
  z.lazy(() => OneHundredAndFortyFive$inboundSchema),
13238
13501
  z.lazy(() => OneHundredAndFortySix$inboundSchema),
13239
- z.lazy(() => Two$inboundSchema),
13502
+ z.lazy(() => Payload2$inboundSchema),
13240
13503
  z.lazy(() => Six$inboundSchema),
13241
13504
  z.lazy(() => Eleven$inboundSchema),
13242
13505
  z.lazy(() => Fifteen$inboundSchema),
@@ -13288,9 +13551,19 @@ export const UserEvent$outboundSchema = z.object({
13288
13551
  entities: z.array(z.lazy(() => Entities$outboundSchema)),
13289
13552
  createdAt: z.number(),
13290
13553
  user: z.lazy(() => User$outboundSchema).optional(),
13554
+ principal: z.union([
13555
+ z.lazy(() => Two$outboundSchema),
13556
+ z.lazy(() => One$outboundSchema),
13557
+ ]).optional(),
13558
+ via: z.array(z.union([
13559
+ z.lazy(() => Via2$outboundSchema),
13560
+ z.lazy(() => Via1$outboundSchema),
13561
+ ])).optional(),
13291
13562
  userId: z.string(),
13563
+ principalId: z.string(),
13564
+ viaIds: z.array(z.string()).optional(),
13292
13565
  payload: z.union([
13293
- z.lazy(() => One$outboundSchema),
13566
+ z.lazy(() => Payload1$outboundSchema),
13294
13567
  z.lazy(() => Three$outboundSchema),
13295
13568
  z.lazy(() => Nine$outboundSchema),
13296
13569
  z.lazy(() => Nineteen$outboundSchema),
@@ -13395,7 +13668,7 @@ export const UserEvent$outboundSchema = z.object({
13395
13668
  z.lazy(() => OneHundredAndThirtyEight$outboundSchema),
13396
13669
  z.lazy(() => OneHundredAndFortyFive$outboundSchema),
13397
13670
  z.lazy(() => OneHundredAndFortySix$outboundSchema),
13398
- z.lazy(() => Two$outboundSchema),
13671
+ z.lazy(() => Payload2$outboundSchema),
13399
13672
  z.lazy(() => Six$outboundSchema),
13400
13673
  z.lazy(() => Eleven$outboundSchema),
13401
13674
  z.lazy(() => Fifteen$outboundSchema),