@workadventure/iframe-api-typings 1.17.7 → 1.18.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.
Files changed (98) hide show
  1. package/libs/shared-utils/src/Events/ChatEvent.d.ts +165 -0
  2. package/package.json +1 -1
  3. package/{front → play/src/front}/Api/Events/GameStateEvent.d.ts +15 -12
  4. package/{front → play/src/front}/Api/Events/IframeEvent.d.ts +495 -230
  5. package/play/src/front/Api/Events/ProximityMeeting/PlaySoundInBubbleEvent.d.ts +12 -0
  6. package/play/src/front/Api/Events/ReceiveEventEvent.d.ts +48 -0
  7. package/play/src/front/Api/Events/SendEventEvent.d.ts +48 -0
  8. package/{front → play/src/front}/Api/Events/SetSharedPlayerVariableEvent.d.ts +3 -3
  9. package/{front → play/src/front}/Api/Events/UserInputChatEvent.d.ts +3 -0
  10. package/play/src/front/Api/Iframe/AbstractEvent.d.ts +18 -0
  11. package/{front → play/src/front}/Api/Iframe/Player/ProximityMeeting.d.ts +10 -9
  12. package/{front → play/src/front}/Api/Iframe/Players/RemotePlayer.d.ts +6 -0
  13. package/play/src/front/Api/Iframe/chat.d.ts +66 -0
  14. package/play/src/front/Api/Iframe/event.d.ts +15 -0
  15. package/{front → play/src/front}/Api/Iframe/room.d.ts +6 -0
  16. package/{iframe_api.d.ts → play/src/iframe_api.d.ts} +4 -0
  17. package/front/Api/Events/ChatEvent.d.ts +0 -47
  18. package/front/Api/Events/XmppSettingsMessageEvent.d.ts +0 -43
  19. package/front/Api/Iframe/chat.d.ts +0 -38
  20. package/{front → play/src/front}/Api/Events/ActionsMenuActionClickedEvent.d.ts +0 -0
  21. package/{front → play/src/front}/Api/Events/AddActionsMenuKeyToRemotePlayerEvent.d.ts +0 -0
  22. package/{front → play/src/front}/Api/Events/AddPlayerEvent.d.ts +13 -13
  23. package/{front → play/src/front}/Api/Events/AskPositionEvent.d.ts +2 -2
  24. package/{front → play/src/front}/Api/Events/ButtonClickedEvent.d.ts +0 -0
  25. package/{front → play/src/front}/Api/Events/CameraFollowPlayerEvent.d.ts +0 -0
  26. package/{front → play/src/front}/Api/Events/CameraSetEvent.d.ts +0 -0
  27. package/{front → play/src/front}/Api/Events/ChangeAreaEvent.d.ts +0 -0
  28. package/{front → play/src/front}/Api/Events/ChangeLayerEvent.d.ts +0 -0
  29. package/{front → play/src/front}/Api/Events/ChatVisibilityEvent.d.ts +0 -0
  30. package/{front → play/src/front}/Api/Events/ClosePopupEvent.d.ts +0 -0
  31. package/{front → play/src/front}/Api/Events/ColorEvent.d.ts +0 -0
  32. package/{front → play/src/front}/Api/Events/CreateDynamicAreaEvent.d.ts +2 -2
  33. package/{front → play/src/front}/Api/Events/EmbeddedWebsiteEvent.d.ts +2 -2
  34. package/{front → play/src/front}/Api/Events/EnablePlayersTrackingEvent.d.ts +0 -0
  35. package/{front → play/src/front}/Api/Events/EnterLeaveEvent.d.ts +0 -0
  36. package/{front → play/src/front}/Api/Events/GoToPageEvent.d.ts +0 -0
  37. package/{front → play/src/front}/Api/Events/HasPlayerMovedEvent.d.ts +0 -0
  38. package/{front → play/src/front}/Api/Events/JoinMucEvent.d.ts +0 -0
  39. package/{front → play/src/front}/Api/Events/LayerEvent.d.ts +0 -0
  40. package/{front → play/src/front}/Api/Events/LeaveMucEvent.d.ts +0 -0
  41. package/{front → play/src/front}/Api/Events/LoadPageEvent.d.ts +0 -0
  42. package/{front → play/src/front}/Api/Events/LoadSoundEvent.d.ts +0 -0
  43. package/{front → play/src/front}/Api/Events/LoadTilesetEvent.d.ts +0 -0
  44. package/{front → play/src/front}/Api/Events/MapDataEvent.d.ts +0 -0
  45. package/{front → play/src/front}/Api/Events/ModalEvent.d.ts +3 -3
  46. package/{front → play/src/front}/Api/Events/MovePlayerToEvent.d.ts +0 -0
  47. package/{front → play/src/front}/Api/Events/MovePlayerToEventAnswer.d.ts +0 -0
  48. package/{front → play/src/front}/Api/Events/NotificationEvent.d.ts +0 -0
  49. package/{front → play/src/front}/Api/Events/OpenCoWebsiteEvent.d.ts +2 -2
  50. package/{front → play/src/front}/Api/Events/OpenPopupEvent.d.ts +0 -0
  51. package/{front → play/src/front}/Api/Events/OpenTabEvent.d.ts +0 -0
  52. package/{front → play/src/front}/Api/Events/PlaySoundEvent.d.ts +0 -0
  53. package/{front → play/src/front}/Api/Events/PlayerPosition.d.ts +0 -0
  54. package/{front → play/src/front}/Api/Events/ProximityMeeting/JoinProximityMeetingEvent.d.ts +12 -12
  55. package/{front → play/src/front}/Api/Events/ProximityMeeting/ParticipantProximityMeetingEvent.d.ts +12 -12
  56. package/{front → play/src/front}/Api/Events/RemoveActionsMenuKeyFromRemotePlayerEvent.d.ts +0 -0
  57. package/{front → play/src/front}/Api/Events/SetAreaPropertyEvent.d.ts +0 -0
  58. package/{front → play/src/front}/Api/Events/SetPlayerVariableEvent.d.ts +0 -0
  59. package/{front → play/src/front}/Api/Events/SetPropertyEvent.d.ts +0 -0
  60. package/{front → play/src/front}/Api/Events/SetTilesEvent.d.ts +0 -0
  61. package/{front → play/src/front}/Api/Events/SetVariableEvent.d.ts +0 -0
  62. package/{front → play/src/front}/Api/Events/SettingsEvent.d.ts +3 -3
  63. package/{front → play/src/front}/Api/Events/ShowBusinessCardEvent.d.ts +0 -0
  64. package/{front → play/src/front}/Api/Events/StopSoundEvent.d.ts +0 -0
  65. package/{front → play/src/front}/Api/Events/TeleportPlayerToEvent.d.ts +0 -0
  66. package/{front → play/src/front}/Api/Events/Ui/BannerEvent.d.ts +0 -0
  67. package/{front → play/src/front}/Api/Events/Ui/ButtonActionBarEvent.d.ts +0 -0
  68. package/{front → play/src/front}/Api/Events/Ui/MenuEvents.d.ts +2 -2
  69. package/{front → play/src/front}/Api/Events/Ui/MenuItemClickedEvent.d.ts +0 -0
  70. package/{front → play/src/front}/Api/Events/Ui/TriggerActionMessageEvent.d.ts +0 -0
  71. package/{front → play/src/front}/Api/Events/Ui/UIWebsiteEvent.d.ts +20 -20
  72. package/{front → play/src/front}/Api/Events/WasCameraUpdatedEvent.d.ts +0 -0
  73. package/{front → play/src/front}/Api/Iframe/AbstractState.d.ts +0 -0
  74. package/{front → play/src/front}/Api/Iframe/Area/Area.d.ts +0 -0
  75. package/{front → play/src/front}/Api/Iframe/IframeApiContribution.d.ts +0 -0
  76. package/{front → play/src/front}/Api/Iframe/Room/EmbeddedWebsite.d.ts +0 -0
  77. package/{front → play/src/front}/Api/Iframe/Sound/Sound.d.ts +0 -0
  78. package/{front → play/src/front}/Api/Iframe/Ui/ActionMessage.d.ts +0 -0
  79. package/{front → play/src/front}/Api/Iframe/Ui/Banner.d.ts +0 -0
  80. package/{front → play/src/front}/Api/Iframe/Ui/ButtonActionBar.d.ts +0 -0
  81. package/{front → play/src/front}/Api/Iframe/Ui/ButtonDescriptor.d.ts +0 -0
  82. package/{front → play/src/front}/Api/Iframe/Ui/Menu.d.ts +0 -0
  83. package/{front → play/src/front}/Api/Iframe/Ui/Modal.d.ts +2 -2
  84. package/{front → play/src/front}/Api/Iframe/Ui/Popup.d.ts +0 -0
  85. package/{front → play/src/front}/Api/Iframe/Ui/UIWebsite.d.ts +0 -0
  86. package/{front → play/src/front}/Api/Iframe/area.d.ts +0 -0
  87. package/{front → play/src/front}/Api/Iframe/camera.d.ts +0 -0
  88. package/{front → play/src/front}/Api/Iframe/controls.d.ts +0 -0
  89. package/{front → play/src/front}/Api/Iframe/nav.d.ts +0 -0
  90. package/{front → play/src/front}/Api/Iframe/player.d.ts +0 -0
  91. package/{front → play/src/front}/Api/Iframe/playerState.d.ts +0 -0
  92. package/{front → play/src/front}/Api/Iframe/players.d.ts +6 -6
  93. package/{front → play/src/front}/Api/Iframe/registeredCallbacks.d.ts +0 -0
  94. package/{front → play/src/front}/Api/Iframe/sound.d.ts +0 -0
  95. package/{front → play/src/front}/Api/Iframe/state.d.ts +0 -0
  96. package/{front → play/src/front}/Api/Iframe/ui.d.ts +3 -3
  97. /package/{front → play/src/front}/Api/Iframe/website.d.ts +0 -0
  98. /package/{front → play/src/front}/Api/types.d.ts +0 -0
@@ -76,25 +76,98 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
76
76
  type: z.ZodLiteral<"chat">;
77
77
  data: z.ZodObject<{
78
78
  message: z.ZodString;
79
- author: z.ZodString;
79
+ options: z.ZodUnion<[z.ZodObject<{
80
+ scope: z.ZodLiteral<"local">;
81
+ author: z.ZodOptional<z.ZodString>;
82
+ }, "strip", z.ZodTypeAny, {
83
+ author?: string | undefined;
84
+ scope: "local";
85
+ }, {
86
+ author?: string | undefined;
87
+ scope: "local";
88
+ }>, z.ZodObject<{
89
+ scope: z.ZodLiteral<"bubble">;
90
+ }, "strip", z.ZodTypeAny, {
91
+ scope: "bubble";
92
+ }, {
93
+ scope: "bubble";
94
+ }>]>;
80
95
  }, "strip", z.ZodTypeAny, {
81
96
  message: string;
82
- author: string;
97
+ options: {
98
+ author?: string | undefined;
99
+ scope: "local";
100
+ } | {
101
+ scope: "bubble";
102
+ };
83
103
  }, {
84
104
  message: string;
85
- author: string;
105
+ options: {
106
+ author?: string | undefined;
107
+ scope: "local";
108
+ } | {
109
+ scope: "bubble";
110
+ };
86
111
  }>;
87
112
  }, "strip", z.ZodTypeAny, {
88
113
  type: "chat";
89
114
  data: {
90
115
  message: string;
91
- author: string;
116
+ options: {
117
+ author?: string | undefined;
118
+ scope: "local";
119
+ } | {
120
+ scope: "bubble";
121
+ };
92
122
  };
93
123
  }, {
94
124
  type: "chat";
95
125
  data: {
96
126
  message: string;
97
- author: string;
127
+ options: {
128
+ author?: string | undefined;
129
+ scope: "local";
130
+ } | {
131
+ scope: "bubble";
132
+ };
133
+ };
134
+ }>, z.ZodObject<{
135
+ type: z.ZodLiteral<"startWriting">;
136
+ data: z.ZodObject<{
137
+ author: z.ZodOptional<z.ZodString>;
138
+ }, "strip", z.ZodTypeAny, {
139
+ author?: string | undefined;
140
+ }, {
141
+ author?: string | undefined;
142
+ }>;
143
+ }, "strip", z.ZodTypeAny, {
144
+ type: "startWriting";
145
+ data: {
146
+ author?: string | undefined;
147
+ };
148
+ }, {
149
+ type: "startWriting";
150
+ data: {
151
+ author?: string | undefined;
152
+ };
153
+ }>, z.ZodObject<{
154
+ type: z.ZodLiteral<"stopWriting">;
155
+ data: z.ZodObject<{
156
+ author: z.ZodOptional<z.ZodString>;
157
+ }, "strip", z.ZodTypeAny, {
158
+ author?: string | undefined;
159
+ }, {
160
+ author?: string | undefined;
161
+ }>;
162
+ }, "strip", z.ZodTypeAny, {
163
+ type: "stopWriting";
164
+ data: {
165
+ author?: string | undefined;
166
+ };
167
+ }, {
168
+ type: "stopWriting";
169
+ data: {
170
+ author?: string | undefined;
98
171
  };
99
172
  }>, z.ZodObject<{
100
173
  type: z.ZodLiteral<"openChat">;
@@ -665,15 +738,15 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
665
738
  options: {
666
739
  allowApi: boolean;
667
740
  };
668
- name: string;
669
741
  key: string;
742
+ name: string;
670
743
  }, {
671
744
  iframe?: string | undefined;
672
745
  options: {
673
746
  allowApi: boolean;
674
747
  };
675
- name: string;
676
748
  key: string;
749
+ name: string;
677
750
  }>;
678
751
  }, "strip", z.ZodTypeAny, {
679
752
  type: "registerMenu";
@@ -682,8 +755,8 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
682
755
  options: {
683
756
  allowApi: boolean;
684
757
  };
685
- name: string;
686
758
  key: string;
759
+ name: string;
687
760
  };
688
761
  }, {
689
762
  type: "registerMenu";
@@ -692,8 +765,8 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
692
765
  options: {
693
766
  allowApi: boolean;
694
767
  };
695
- name: string;
696
768
  key: string;
769
+ name: string;
697
770
  };
698
771
  }>, z.ZodObject<{
699
772
  type: z.ZodLiteral<"unregisterMenu">;
@@ -785,9 +858,9 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
785
858
  url?: string | undefined;
786
859
  height?: number | undefined;
787
860
  width?: number | undefined;
788
- allowApi?: boolean | undefined;
789
861
  x?: number | undefined;
790
862
  y?: number | undefined;
863
+ allowApi?: boolean | undefined;
791
864
  visible?: boolean | undefined;
792
865
  allow?: string | undefined;
793
866
  origin?: "map" | "player" | undefined;
@@ -797,9 +870,9 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
797
870
  url?: string | undefined;
798
871
  height?: number | undefined;
799
872
  width?: number | undefined;
800
- allowApi?: boolean | undefined;
801
873
  x?: number | undefined;
802
874
  y?: number | undefined;
875
+ allowApi?: boolean | undefined;
803
876
  visible?: boolean | undefined;
804
877
  allow?: string | undefined;
805
878
  origin?: "map" | "player" | undefined;
@@ -812,9 +885,9 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
812
885
  url?: string | undefined;
813
886
  height?: number | undefined;
814
887
  width?: number | undefined;
815
- allowApi?: boolean | undefined;
816
888
  x?: number | undefined;
817
889
  y?: number | undefined;
890
+ allowApi?: boolean | undefined;
818
891
  visible?: boolean | undefined;
819
892
  allow?: string | undefined;
820
893
  origin?: "map" | "player" | undefined;
@@ -827,9 +900,9 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
827
900
  url?: string | undefined;
828
901
  height?: number | undefined;
829
902
  width?: number | undefined;
830
- allowApi?: boolean | undefined;
831
903
  x?: number | undefined;
832
904
  y?: number | undefined;
905
+ allowApi?: boolean | undefined;
833
906
  visible?: boolean | undefined;
834
907
  allow?: string | undefined;
835
908
  origin?: "map" | "player" | undefined;
@@ -870,13 +943,13 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
870
943
  }, "strip", z.ZodTypeAny, {
871
944
  left?: string | undefined;
872
945
  top?: string | undefined;
873
- bottom?: string | undefined;
874
946
  right?: string | undefined;
947
+ bottom?: string | undefined;
875
948
  }, {
876
949
  left?: string | undefined;
877
950
  top?: string | undefined;
878
- bottom?: string | undefined;
879
951
  right?: string | undefined;
952
+ bottom?: string | undefined;
880
953
  }>>;
881
954
  }, "strip", z.ZodTypeAny, {
882
955
  url?: string | undefined;
@@ -892,8 +965,8 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
892
965
  margin?: {
893
966
  left?: string | undefined;
894
967
  top?: string | undefined;
895
- bottom?: string | undefined;
896
968
  right?: string | undefined;
969
+ bottom?: string | undefined;
897
970
  } | undefined;
898
971
  id: string;
899
972
  }, {
@@ -910,8 +983,8 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
910
983
  margin?: {
911
984
  left?: string | undefined;
912
985
  top?: string | undefined;
913
- bottom?: string | undefined;
914
986
  right?: string | undefined;
987
+ bottom?: string | undefined;
915
988
  } | undefined;
916
989
  id: string;
917
990
  }>;
@@ -931,8 +1004,8 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
931
1004
  margin?: {
932
1005
  left?: string | undefined;
933
1006
  top?: string | undefined;
934
- bottom?: string | undefined;
935
1007
  right?: string | undefined;
1008
+ bottom?: string | undefined;
936
1009
  } | undefined;
937
1010
  id: string;
938
1011
  };
@@ -952,8 +1025,8 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
952
1025
  margin?: {
953
1026
  left?: string | undefined;
954
1027
  top?: string | undefined;
955
- bottom?: string | undefined;
956
1028
  right?: string | undefined;
1029
+ bottom?: string | undefined;
957
1030
  } | undefined;
958
1031
  id: string;
959
1032
  };
@@ -1002,23 +1075,23 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1002
1075
  uuid: z.ZodString;
1003
1076
  playUri: z.ZodString;
1004
1077
  }, "strip", z.ZodTypeAny, {
1005
- uuid: string;
1006
1078
  playUri: string;
1007
- }, {
1008
1079
  uuid: string;
1080
+ }, {
1009
1081
  playUri: string;
1082
+ uuid: string;
1010
1083
  }>;
1011
1084
  }, "strip", z.ZodTypeAny, {
1012
1085
  type: "askPosition";
1013
1086
  data: {
1014
- uuid: string;
1015
1087
  playUri: string;
1088
+ uuid: string;
1016
1089
  };
1017
1090
  }, {
1018
1091
  type: "askPosition";
1019
1092
  data: {
1020
- uuid: string;
1021
1093
  playUri: string;
1094
+ uuid: string;
1022
1095
  };
1023
1096
  }>, z.ZodObject<{
1024
1097
  type: z.ZodLiteral<"openInviteMenu">;
@@ -1114,14 +1187,14 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1114
1187
  allowApi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1115
1188
  }, "strip", z.ZodTypeAny, {
1116
1189
  title: string;
1117
- allowApi: boolean;
1118
1190
  position: "left" | "right" | "center";
1119
- allow: string | null;
1120
1191
  src: string;
1192
+ allowApi: boolean;
1193
+ allow: string | null;
1121
1194
  }, {
1122
1195
  title?: string | undefined;
1123
- allowApi?: boolean | undefined;
1124
1196
  position?: "left" | "right" | "center" | undefined;
1197
+ allowApi?: boolean | undefined;
1125
1198
  allow?: string | null | undefined;
1126
1199
  src: string;
1127
1200
  }>;
@@ -1129,17 +1202,17 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1129
1202
  type: "openModal";
1130
1203
  data: {
1131
1204
  title: string;
1132
- allowApi: boolean;
1133
1205
  position: "left" | "right" | "center";
1134
- allow: string | null;
1135
1206
  src: string;
1207
+ allowApi: boolean;
1208
+ allow: string | null;
1136
1209
  };
1137
1210
  }, {
1138
1211
  type: "openModal";
1139
1212
  data: {
1140
1213
  title?: string | undefined;
1141
- allowApi?: boolean | undefined;
1142
1214
  position?: "left" | "right" | "center" | undefined;
1215
+ allowApi?: boolean | undefined;
1143
1216
  allow?: string | null | undefined;
1144
1217
  src: string;
1145
1218
  };
@@ -1398,19 +1471,24 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
1398
1471
  type: z.ZodLiteral<"userInputChat">;
1399
1472
  data: z.ZodObject<{
1400
1473
  message: z.ZodString;
1474
+ senderId: z.ZodOptional<z.ZodNumber>;
1401
1475
  }, "strip", z.ZodTypeAny, {
1476
+ senderId?: number | undefined;
1402
1477
  message: string;
1403
1478
  }, {
1479
+ senderId?: number | undefined;
1404
1480
  message: string;
1405
1481
  }>;
1406
1482
  }, "strip", z.ZodTypeAny, {
1407
1483
  type: "userInputChat";
1408
1484
  data: {
1485
+ senderId?: number | undefined;
1409
1486
  message: string;
1410
1487
  };
1411
1488
  }, {
1412
1489
  type: "userInputChat";
1413
1490
  data: {
1491
+ senderId?: number | undefined;
1414
1492
  message: string;
1415
1493
  };
1416
1494
  }>, z.ZodObject<{
@@ -1436,51 +1514,51 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
1436
1514
  }, "strip", z.ZodTypeAny, {
1437
1515
  outlineColor?: number | undefined;
1438
1516
  name: string;
1517
+ availabilityStatus: string;
1439
1518
  position: {
1440
1519
  x: number;
1441
1520
  y: number;
1442
1521
  };
1443
- playerId: number;
1444
- variables: Map<string, unknown>;
1445
1522
  userUuid: string;
1446
- availabilityStatus: string;
1523
+ variables: Map<string, unknown>;
1524
+ playerId: number;
1447
1525
  }, {
1448
1526
  outlineColor?: number | undefined;
1449
1527
  name: string;
1528
+ availabilityStatus: string;
1450
1529
  position: {
1451
1530
  x: number;
1452
1531
  y: number;
1453
1532
  };
1454
- playerId: number;
1455
- variables: Map<string, unknown>;
1456
1533
  userUuid: string;
1457
- availabilityStatus: string;
1534
+ variables: Map<string, unknown>;
1535
+ playerId: number;
1458
1536
  }>, "many">;
1459
1537
  }, "strip", z.ZodTypeAny, {
1460
1538
  users: {
1461
1539
  outlineColor?: number | undefined;
1462
1540
  name: string;
1541
+ availabilityStatus: string;
1463
1542
  position: {
1464
1543
  x: number;
1465
1544
  y: number;
1466
1545
  };
1467
- playerId: number;
1468
- variables: Map<string, unknown>;
1469
1546
  userUuid: string;
1470
- availabilityStatus: string;
1547
+ variables: Map<string, unknown>;
1548
+ playerId: number;
1471
1549
  }[];
1472
1550
  }, {
1473
1551
  users: {
1474
1552
  outlineColor?: number | undefined;
1475
1553
  name: string;
1554
+ availabilityStatus: string;
1476
1555
  position: {
1477
1556
  x: number;
1478
1557
  y: number;
1479
1558
  };
1480
- playerId: number;
1481
- variables: Map<string, unknown>;
1482
1559
  userUuid: string;
1483
- availabilityStatus: string;
1560
+ variables: Map<string, unknown>;
1561
+ playerId: number;
1484
1562
  }[];
1485
1563
  }>;
1486
1564
  }, "strip", z.ZodTypeAny, {
@@ -1489,14 +1567,14 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
1489
1567
  users: {
1490
1568
  outlineColor?: number | undefined;
1491
1569
  name: string;
1570
+ availabilityStatus: string;
1492
1571
  position: {
1493
1572
  x: number;
1494
1573
  y: number;
1495
1574
  };
1496
- playerId: number;
1497
- variables: Map<string, unknown>;
1498
1575
  userUuid: string;
1499
- availabilityStatus: string;
1576
+ variables: Map<string, unknown>;
1577
+ playerId: number;
1500
1578
  }[];
1501
1579
  };
1502
1580
  }, {
@@ -1505,14 +1583,14 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
1505
1583
  users: {
1506
1584
  outlineColor?: number | undefined;
1507
1585
  name: string;
1586
+ availabilityStatus: string;
1508
1587
  position: {
1509
1588
  x: number;
1510
1589
  y: number;
1511
1590
  };
1512
- playerId: number;
1513
- variables: Map<string, unknown>;
1514
1591
  userUuid: string;
1515
- availabilityStatus: string;
1592
+ variables: Map<string, unknown>;
1593
+ playerId: number;
1516
1594
  }[];
1517
1595
  };
1518
1596
  }>, z.ZodObject<{
@@ -1538,51 +1616,51 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
1538
1616
  }, "strip", z.ZodTypeAny, {
1539
1617
  outlineColor?: number | undefined;
1540
1618
  name: string;
1619
+ availabilityStatus: string;
1541
1620
  position: {
1542
1621
  x: number;
1543
1622
  y: number;
1544
1623
  };
1545
- playerId: number;
1546
- variables: Map<string, unknown>;
1547
1624
  userUuid: string;
1548
- availabilityStatus: string;
1625
+ variables: Map<string, unknown>;
1626
+ playerId: number;
1549
1627
  }, {
1550
1628
  outlineColor?: number | undefined;
1551
1629
  name: string;
1630
+ availabilityStatus: string;
1552
1631
  position: {
1553
1632
  x: number;
1554
1633
  y: number;
1555
1634
  };
1556
- playerId: number;
1557
- variables: Map<string, unknown>;
1558
1635
  userUuid: string;
1559
- availabilityStatus: string;
1636
+ variables: Map<string, unknown>;
1637
+ playerId: number;
1560
1638
  }>;
1561
1639
  }, "strip", z.ZodTypeAny, {
1562
1640
  user: {
1563
1641
  outlineColor?: number | undefined;
1564
1642
  name: string;
1643
+ availabilityStatus: string;
1565
1644
  position: {
1566
1645
  x: number;
1567
1646
  y: number;
1568
1647
  };
1569
- playerId: number;
1570
- variables: Map<string, unknown>;
1571
1648
  userUuid: string;
1572
- availabilityStatus: string;
1649
+ variables: Map<string, unknown>;
1650
+ playerId: number;
1573
1651
  };
1574
1652
  }, {
1575
1653
  user: {
1576
1654
  outlineColor?: number | undefined;
1577
1655
  name: string;
1656
+ availabilityStatus: string;
1578
1657
  position: {
1579
1658
  x: number;
1580
1659
  y: number;
1581
1660
  };
1582
- playerId: number;
1583
- variables: Map<string, unknown>;
1584
1661
  userUuid: string;
1585
- availabilityStatus: string;
1662
+ variables: Map<string, unknown>;
1663
+ playerId: number;
1586
1664
  };
1587
1665
  }>;
1588
1666
  }, "strip", z.ZodTypeAny, {
@@ -1591,14 +1669,14 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
1591
1669
  user: {
1592
1670
  outlineColor?: number | undefined;
1593
1671
  name: string;
1672
+ availabilityStatus: string;
1594
1673
  position: {
1595
1674
  x: number;
1596
1675
  y: number;
1597
1676
  };
1598
- playerId: number;
1599
- variables: Map<string, unknown>;
1600
1677
  userUuid: string;
1601
- availabilityStatus: string;
1678
+ variables: Map<string, unknown>;
1679
+ playerId: number;
1602
1680
  };
1603
1681
  };
1604
1682
  }, {
@@ -1607,14 +1685,14 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
1607
1685
  user: {
1608
1686
  outlineColor?: number | undefined;
1609
1687
  name: string;
1688
+ availabilityStatus: string;
1610
1689
  position: {
1611
1690
  x: number;
1612
1691
  y: number;
1613
1692
  };
1614
- playerId: number;
1615
- variables: Map<string, unknown>;
1616
1693
  userUuid: string;
1617
- availabilityStatus: string;
1694
+ variables: Map<string, unknown>;
1695
+ playerId: number;
1618
1696
  };
1619
1697
  };
1620
1698
  }>, z.ZodObject<{
@@ -1640,51 +1718,51 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
1640
1718
  }, "strip", z.ZodTypeAny, {
1641
1719
  outlineColor?: number | undefined;
1642
1720
  name: string;
1721
+ availabilityStatus: string;
1643
1722
  position: {
1644
1723
  x: number;
1645
1724
  y: number;
1646
1725
  };
1647
- playerId: number;
1648
- variables: Map<string, unknown>;
1649
1726
  userUuid: string;
1650
- availabilityStatus: string;
1727
+ variables: Map<string, unknown>;
1728
+ playerId: number;
1651
1729
  }, {
1652
1730
  outlineColor?: number | undefined;
1653
1731
  name: string;
1732
+ availabilityStatus: string;
1654
1733
  position: {
1655
1734
  x: number;
1656
1735
  y: number;
1657
1736
  };
1658
- playerId: number;
1659
- variables: Map<string, unknown>;
1660
1737
  userUuid: string;
1661
- availabilityStatus: string;
1738
+ variables: Map<string, unknown>;
1739
+ playerId: number;
1662
1740
  }>;
1663
1741
  }, "strip", z.ZodTypeAny, {
1664
1742
  user: {
1665
1743
  outlineColor?: number | undefined;
1666
1744
  name: string;
1745
+ availabilityStatus: string;
1667
1746
  position: {
1668
1747
  x: number;
1669
1748
  y: number;
1670
1749
  };
1671
- playerId: number;
1672
- variables: Map<string, unknown>;
1673
1750
  userUuid: string;
1674
- availabilityStatus: string;
1751
+ variables: Map<string, unknown>;
1752
+ playerId: number;
1675
1753
  };
1676
1754
  }, {
1677
1755
  user: {
1678
1756
  outlineColor?: number | undefined;
1679
1757
  name: string;
1758
+ availabilityStatus: string;
1680
1759
  position: {
1681
1760
  x: number;
1682
1761
  y: number;
1683
1762
  };
1684
- playerId: number;
1685
- variables: Map<string, unknown>;
1686
1763
  userUuid: string;
1687
- availabilityStatus: string;
1764
+ variables: Map<string, unknown>;
1765
+ playerId: number;
1688
1766
  };
1689
1767
  }>;
1690
1768
  }, "strip", z.ZodTypeAny, {
@@ -1693,14 +1771,14 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
1693
1771
  user: {
1694
1772
  outlineColor?: number | undefined;
1695
1773
  name: string;
1774
+ availabilityStatus: string;
1696
1775
  position: {
1697
1776
  x: number;
1698
1777
  y: number;
1699
1778
  };
1700
- playerId: number;
1701
- variables: Map<string, unknown>;
1702
1779
  userUuid: string;
1703
- availabilityStatus: string;
1780
+ variables: Map<string, unknown>;
1781
+ playerId: number;
1704
1782
  };
1705
1783
  };
1706
1784
  }, {
@@ -1709,14 +1787,14 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
1709
1787
  user: {
1710
1788
  outlineColor?: number | undefined;
1711
1789
  name: string;
1790
+ availabilityStatus: string;
1712
1791
  position: {
1713
1792
  x: number;
1714
1793
  y: number;
1715
1794
  };
1716
- playerId: number;
1717
- variables: Map<string, unknown>;
1718
1795
  userUuid: string;
1719
- availabilityStatus: string;
1796
+ variables: Map<string, unknown>;
1797
+ playerId: number;
1720
1798
  };
1721
1799
  };
1722
1800
  }>, z.ZodObject<{
@@ -1888,53 +1966,53 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
1888
1966
  }, "strip", z.ZodTypeAny, {
1889
1967
  outlineColor?: number | undefined;
1890
1968
  name: string;
1969
+ availabilityStatus: string;
1891
1970
  position: {
1892
1971
  x: number;
1893
1972
  y: number;
1894
1973
  };
1895
- playerId: number;
1896
- variables: Map<string, unknown>;
1897
1974
  userUuid: string;
1898
- availabilityStatus: string;
1975
+ variables: Map<string, unknown>;
1976
+ playerId: number;
1899
1977
  }, {
1900
1978
  outlineColor?: number | undefined;
1901
1979
  name: string;
1980
+ availabilityStatus: string;
1902
1981
  position: {
1903
1982
  x: number;
1904
1983
  y: number;
1905
1984
  };
1906
- playerId: number;
1907
- variables: Map<string, unknown>;
1908
1985
  userUuid: string;
1909
- availabilityStatus: string;
1986
+ variables: Map<string, unknown>;
1987
+ playerId: number;
1910
1988
  }>;
1911
1989
  }, "strip", z.ZodTypeAny, {
1912
1990
  type: "remotePlayerClickedEvent";
1913
1991
  data: {
1914
1992
  outlineColor?: number | undefined;
1915
1993
  name: string;
1994
+ availabilityStatus: string;
1916
1995
  position: {
1917
1996
  x: number;
1918
1997
  y: number;
1919
1998
  };
1920
- playerId: number;
1921
- variables: Map<string, unknown>;
1922
1999
  userUuid: string;
1923
- availabilityStatus: string;
2000
+ variables: Map<string, unknown>;
2001
+ playerId: number;
1924
2002
  };
1925
2003
  }, {
1926
2004
  type: "remotePlayerClickedEvent";
1927
2005
  data: {
1928
2006
  outlineColor?: number | undefined;
1929
2007
  name: string;
2008
+ availabilityStatus: string;
1930
2009
  position: {
1931
2010
  x: number;
1932
2011
  y: number;
1933
2012
  };
1934
- playerId: number;
1935
- variables: Map<string, unknown>;
1936
2013
  userUuid: string;
1937
- availabilityStatus: string;
2014
+ variables: Map<string, unknown>;
2015
+ playerId: number;
1938
2016
  };
1939
2017
  }>, z.ZodObject<{
1940
2018
  type: z.ZodLiteral<"actionsMenuActionClickedEvent">;
@@ -2118,26 +2196,55 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
2118
2196
  playerId: z.ZodNumber;
2119
2197
  }, "strip", z.ZodTypeAny, {
2120
2198
  value?: unknown;
2121
- playerId: number;
2122
2199
  key: string;
2200
+ playerId: number;
2123
2201
  }, {
2124
2202
  value?: unknown;
2125
- playerId: number;
2126
2203
  key: string;
2204
+ playerId: number;
2127
2205
  }>;
2128
2206
  }, "strip", z.ZodTypeAny, {
2129
2207
  type: "setSharedPlayerVariable";
2130
2208
  data: {
2131
2209
  value?: unknown;
2132
- playerId: number;
2133
2210
  key: string;
2211
+ playerId: number;
2134
2212
  };
2135
2213
  }, {
2136
2214
  type: "setSharedPlayerVariable";
2137
2215
  data: {
2138
2216
  value?: unknown;
2139
- playerId: number;
2140
2217
  key: string;
2218
+ playerId: number;
2219
+ };
2220
+ }>, z.ZodObject<{
2221
+ type: z.ZodLiteral<"receiveEvent">;
2222
+ data: z.ZodObject<{
2223
+ name: z.ZodString;
2224
+ data: z.ZodUnknown;
2225
+ senderId: z.ZodOptional<z.ZodNumber>;
2226
+ }, "strip", z.ZodTypeAny, {
2227
+ data?: unknown;
2228
+ senderId?: number | undefined;
2229
+ name: string;
2230
+ }, {
2231
+ data?: unknown;
2232
+ senderId?: number | undefined;
2233
+ name: string;
2234
+ }>;
2235
+ }, "strip", z.ZodTypeAny, {
2236
+ type: "receiveEvent";
2237
+ data: {
2238
+ data?: unknown;
2239
+ senderId?: number | undefined;
2240
+ name: string;
2241
+ };
2242
+ }, {
2243
+ type: "receiveEvent";
2244
+ data: {
2245
+ data?: unknown;
2246
+ senderId?: number | undefined;
2247
+ name: string;
2141
2248
  };
2142
2249
  }>, z.ZodObject<{
2143
2250
  type: z.ZodLiteral<"messageTriggered">;
@@ -2233,53 +2340,53 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
2233
2340
  }, "strip", z.ZodTypeAny, {
2234
2341
  outlineColor?: number | undefined;
2235
2342
  name: string;
2343
+ availabilityStatus: string;
2236
2344
  position: {
2237
2345
  x: number;
2238
2346
  y: number;
2239
2347
  };
2240
- playerId: number;
2241
- variables: Map<string, unknown>;
2242
2348
  userUuid: string;
2243
- availabilityStatus: string;
2349
+ variables: Map<string, unknown>;
2350
+ playerId: number;
2244
2351
  }, {
2245
2352
  outlineColor?: number | undefined;
2246
2353
  name: string;
2354
+ availabilityStatus: string;
2247
2355
  position: {
2248
2356
  x: number;
2249
2357
  y: number;
2250
2358
  };
2251
- playerId: number;
2252
- variables: Map<string, unknown>;
2253
2359
  userUuid: string;
2254
- availabilityStatus: string;
2360
+ variables: Map<string, unknown>;
2361
+ playerId: number;
2255
2362
  }>;
2256
2363
  }, "strip", z.ZodTypeAny, {
2257
2364
  type: "addRemotePlayer";
2258
2365
  data: {
2259
2366
  outlineColor?: number | undefined;
2260
2367
  name: string;
2368
+ availabilityStatus: string;
2261
2369
  position: {
2262
2370
  x: number;
2263
2371
  y: number;
2264
2372
  };
2265
- playerId: number;
2266
- variables: Map<string, unknown>;
2267
2373
  userUuid: string;
2268
- availabilityStatus: string;
2374
+ variables: Map<string, unknown>;
2375
+ playerId: number;
2269
2376
  };
2270
2377
  }, {
2271
2378
  type: "addRemotePlayer";
2272
2379
  data: {
2273
2380
  outlineColor?: number | undefined;
2274
2381
  name: string;
2382
+ availabilityStatus: string;
2275
2383
  position: {
2276
2384
  x: number;
2277
2385
  y: number;
2278
2386
  };
2279
- playerId: number;
2280
- variables: Map<string, unknown>;
2281
2387
  userUuid: string;
2282
- availabilityStatus: string;
2388
+ variables: Map<string, unknown>;
2389
+ playerId: number;
2283
2390
  };
2284
2391
  }>, z.ZodObject<{
2285
2392
  type: z.ZodLiteral<"removeRemotePlayer">;
@@ -2294,6 +2401,8 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
2294
2401
  type: z.ZodLiteral<"remotePlayerChanged">;
2295
2402
  data: z.ZodObject<{
2296
2403
  name: z.ZodOptional<z.ZodString>;
2404
+ outlineColor: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2405
+ availabilityStatus: z.ZodOptional<z.ZodString>;
2297
2406
  position: z.ZodOptional<z.ZodObject<{
2298
2407
  x: z.ZodNumber;
2299
2408
  y: z.ZodNumber;
@@ -2304,55 +2413,53 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
2304
2413
  x: number;
2305
2414
  y: number;
2306
2415
  }>>;
2307
- playerId: z.ZodNumber;
2308
2416
  variables: z.ZodOptional<z.ZodMap<z.ZodString, z.ZodUnknown>>;
2309
- availabilityStatus: z.ZodOptional<z.ZodString>;
2310
- outlineColor: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
2417
+ playerId: z.ZodNumber;
2311
2418
  }, "strip", z.ZodTypeAny, {
2312
2419
  name?: string | undefined;
2420
+ outlineColor?: number | undefined;
2421
+ availabilityStatus?: string | undefined;
2313
2422
  position?: {
2314
2423
  x: number;
2315
2424
  y: number;
2316
2425
  } | undefined;
2317
2426
  variables?: Map<string, unknown> | undefined;
2318
- availabilityStatus?: string | undefined;
2319
- outlineColor?: number | undefined;
2320
2427
  playerId: number;
2321
2428
  }, {
2322
2429
  name?: string | undefined;
2430
+ outlineColor?: number | undefined;
2431
+ availabilityStatus?: string | undefined;
2323
2432
  position?: {
2324
2433
  x: number;
2325
2434
  y: number;
2326
2435
  } | undefined;
2327
2436
  variables?: Map<string, unknown> | undefined;
2328
- availabilityStatus?: string | undefined;
2329
- outlineColor?: number | undefined;
2330
2437
  playerId: number;
2331
2438
  }>;
2332
2439
  }, "strip", z.ZodTypeAny, {
2333
2440
  type: "remotePlayerChanged";
2334
2441
  data: {
2335
2442
  name?: string | undefined;
2443
+ outlineColor?: number | undefined;
2444
+ availabilityStatus?: string | undefined;
2336
2445
  position?: {
2337
2446
  x: number;
2338
2447
  y: number;
2339
2448
  } | undefined;
2340
2449
  variables?: Map<string, unknown> | undefined;
2341
- availabilityStatus?: string | undefined;
2342
- outlineColor?: number | undefined;
2343
2450
  playerId: number;
2344
2451
  };
2345
2452
  }, {
2346
2453
  type: "remotePlayerChanged";
2347
2454
  data: {
2348
2455
  name?: string | undefined;
2456
+ outlineColor?: number | undefined;
2457
+ availabilityStatus?: string | undefined;
2349
2458
  position?: {
2350
2459
  x: number;
2351
2460
  y: number;
2352
2461
  } | undefined;
2353
2462
  variables?: Map<string, unknown> | undefined;
2354
- availabilityStatus?: string | undefined;
2355
- outlineColor?: number | undefined;
2356
2463
  playerId: number;
2357
2464
  };
2358
2465
  }>, z.ZodObject<{
@@ -2365,39 +2472,39 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
2365
2472
  enableChatOnlineList: z.ZodBoolean;
2366
2473
  enableChatDisconnectedList: z.ZodBoolean;
2367
2474
  }, "strip", z.ZodTypeAny, {
2368
- notification: boolean;
2369
- chatSounds: boolean;
2370
2475
  enableChat: boolean;
2371
2476
  enableChatUpload: boolean;
2372
2477
  enableChatOnlineList: boolean;
2373
2478
  enableChatDisconnectedList: boolean;
2374
- }, {
2375
2479
  notification: boolean;
2376
2480
  chatSounds: boolean;
2481
+ }, {
2377
2482
  enableChat: boolean;
2378
2483
  enableChatUpload: boolean;
2379
2484
  enableChatOnlineList: boolean;
2380
2485
  enableChatDisconnectedList: boolean;
2486
+ notification: boolean;
2487
+ chatSounds: boolean;
2381
2488
  }>;
2382
2489
  }, "strip", z.ZodTypeAny, {
2383
2490
  type: "settings";
2384
2491
  data: {
2385
- notification: boolean;
2386
- chatSounds: boolean;
2387
2492
  enableChat: boolean;
2388
2493
  enableChatUpload: boolean;
2389
2494
  enableChatOnlineList: boolean;
2390
2495
  enableChatDisconnectedList: boolean;
2496
+ notification: boolean;
2497
+ chatSounds: boolean;
2391
2498
  };
2392
2499
  }, {
2393
2500
  type: "settings";
2394
2501
  data: {
2395
- notification: boolean;
2396
- chatSounds: boolean;
2397
2502
  enableChat: boolean;
2398
2503
  enableChatUpload: boolean;
2399
2504
  enableChatOnlineList: boolean;
2400
2505
  enableChatDisconnectedList: boolean;
2506
+ notification: boolean;
2507
+ chatSounds: boolean;
2401
2508
  };
2402
2509
  }>, z.ZodObject<{
2403
2510
  type: z.ZodLiteral<"chatVisibility">;
@@ -2508,100 +2615,229 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
2508
2615
  }>, z.ZodObject<{
2509
2616
  type: z.ZodLiteral<"comingUser">;
2510
2617
  data: z.ZodObject<{
2511
- type: z.ZodNativeEnum<typeof import("./ChatEvent").ChatMessageTypes>;
2618
+ type: z.ZodNativeEnum<typeof import("@workadventure/shared-utils").ChatMessageTypes>;
2512
2619
  date: z.ZodDate;
2513
- author: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
2620
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2621
+ name: z.ZodString;
2622
+ active: z.ZodBoolean;
2623
+ isMe: z.ZodBoolean;
2624
+ jid: z.ZodString;
2625
+ isMember: z.ZodBoolean;
2626
+ color: z.ZodOptional<z.ZodString>;
2627
+ }, "strip", z.ZodTypeAny, {
2628
+ color?: string | undefined;
2629
+ name: string;
2630
+ active: boolean;
2631
+ isMe: boolean;
2632
+ jid: string;
2633
+ isMember: boolean;
2634
+ }, {
2635
+ color?: string | undefined;
2636
+ name: string;
2637
+ active: boolean;
2638
+ isMe: boolean;
2639
+ jid: string;
2640
+ isMember: boolean;
2641
+ }>>>;
2514
2642
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2515
2643
  targets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodString>, "many">>>;
2516
- text: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodString>, "many">>>;
2644
+ text: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2517
2645
  }, "strip", z.ZodTypeAny, {
2518
- author?: any;
2519
- text?: (string | null)[] | null | undefined;
2646
+ author?: {
2647
+ color?: string | undefined;
2648
+ name: string;
2649
+ active: boolean;
2650
+ isMe: boolean;
2651
+ jid: string;
2652
+ isMember: boolean;
2653
+ } | null | undefined;
2654
+ text?: string[] | null | undefined;
2520
2655
  name?: string | null | undefined;
2521
2656
  targets?: (string | null)[] | null | undefined;
2522
- type: import("./ChatEvent").ChatMessageTypes;
2657
+ type: import("@workadventure/shared-utils").ChatMessageTypes;
2523
2658
  date: Date;
2524
2659
  }, {
2525
- author?: any;
2526
- text?: (string | null)[] | null | undefined;
2660
+ author?: {
2661
+ color?: string | undefined;
2662
+ name: string;
2663
+ active: boolean;
2664
+ isMe: boolean;
2665
+ jid: string;
2666
+ isMember: boolean;
2667
+ } | null | undefined;
2668
+ text?: string[] | null | undefined;
2527
2669
  name?: string | null | undefined;
2528
2670
  targets?: (string | null)[] | null | undefined;
2529
- type: import("./ChatEvent").ChatMessageTypes;
2671
+ type: import("@workadventure/shared-utils").ChatMessageTypes;
2530
2672
  date: Date;
2531
2673
  }>;
2532
2674
  }, "strip", z.ZodTypeAny, {
2533
2675
  type: "comingUser";
2534
2676
  data: {
2535
- author?: any;
2536
- text?: (string | null)[] | null | undefined;
2677
+ author?: {
2678
+ color?: string | undefined;
2679
+ name: string;
2680
+ active: boolean;
2681
+ isMe: boolean;
2682
+ jid: string;
2683
+ isMember: boolean;
2684
+ } | null | undefined;
2685
+ text?: string[] | null | undefined;
2537
2686
  name?: string | null | undefined;
2538
2687
  targets?: (string | null)[] | null | undefined;
2539
- type: import("./ChatEvent").ChatMessageTypes;
2688
+ type: import("@workadventure/shared-utils").ChatMessageTypes;
2540
2689
  date: Date;
2541
2690
  };
2542
2691
  }, {
2543
2692
  type: "comingUser";
2544
2693
  data: {
2545
- author?: any;
2546
- text?: (string | null)[] | null | undefined;
2694
+ author?: {
2695
+ color?: string | undefined;
2696
+ name: string;
2697
+ active: boolean;
2698
+ isMe: boolean;
2699
+ jid: string;
2700
+ isMember: boolean;
2701
+ } | null | undefined;
2702
+ text?: string[] | null | undefined;
2547
2703
  name?: string | null | undefined;
2548
2704
  targets?: (string | null)[] | null | undefined;
2549
- type: import("./ChatEvent").ChatMessageTypes;
2705
+ type: import("@workadventure/shared-utils").ChatMessageTypes;
2550
2706
  date: Date;
2551
2707
  };
2552
2708
  }>, z.ZodObject<{
2553
2709
  type: z.ZodLiteral<"addChatMessage">;
2554
2710
  data: z.ZodObject<{
2555
- type: z.ZodNativeEnum<typeof import("./ChatEvent").ChatMessageTypes>;
2711
+ type: z.ZodNativeEnum<typeof import("@workadventure/shared-utils").ChatMessageTypes>;
2556
2712
  date: z.ZodDate;
2557
- author: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
2713
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2714
+ name: z.ZodString;
2715
+ active: z.ZodBoolean;
2716
+ isMe: z.ZodBoolean;
2717
+ jid: z.ZodString;
2718
+ isMember: z.ZodBoolean;
2719
+ color: z.ZodOptional<z.ZodString>;
2720
+ }, "strip", z.ZodTypeAny, {
2721
+ color?: string | undefined;
2722
+ name: string;
2723
+ active: boolean;
2724
+ isMe: boolean;
2725
+ jid: string;
2726
+ isMember: boolean;
2727
+ }, {
2728
+ color?: string | undefined;
2729
+ name: string;
2730
+ active: boolean;
2731
+ isMe: boolean;
2732
+ jid: string;
2733
+ isMember: boolean;
2734
+ }>>>;
2558
2735
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2559
2736
  targets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodString>, "many">>>;
2560
- text: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodString>, "many">>>;
2737
+ text: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
2561
2738
  }, "strip", z.ZodTypeAny, {
2562
- author?: any;
2563
- text?: (string | null)[] | null | undefined;
2739
+ author?: {
2740
+ color?: string | undefined;
2741
+ name: string;
2742
+ active: boolean;
2743
+ isMe: boolean;
2744
+ jid: string;
2745
+ isMember: boolean;
2746
+ } | null | undefined;
2747
+ text?: string[] | null | undefined;
2564
2748
  name?: string | null | undefined;
2565
2749
  targets?: (string | null)[] | null | undefined;
2566
- type: import("./ChatEvent").ChatMessageTypes;
2750
+ type: import("@workadventure/shared-utils").ChatMessageTypes;
2567
2751
  date: Date;
2568
2752
  }, {
2569
- author?: any;
2570
- text?: (string | null)[] | null | undefined;
2753
+ author?: {
2754
+ color?: string | undefined;
2755
+ name: string;
2756
+ active: boolean;
2757
+ isMe: boolean;
2758
+ jid: string;
2759
+ isMember: boolean;
2760
+ } | null | undefined;
2761
+ text?: string[] | null | undefined;
2571
2762
  name?: string | null | undefined;
2572
2763
  targets?: (string | null)[] | null | undefined;
2573
- type: import("./ChatEvent").ChatMessageTypes;
2764
+ type: import("@workadventure/shared-utils").ChatMessageTypes;
2574
2765
  date: Date;
2575
2766
  }>;
2576
2767
  }, "strip", z.ZodTypeAny, {
2577
2768
  type: "addChatMessage";
2578
2769
  data: {
2579
- author?: any;
2580
- text?: (string | null)[] | null | undefined;
2770
+ author?: {
2771
+ color?: string | undefined;
2772
+ name: string;
2773
+ active: boolean;
2774
+ isMe: boolean;
2775
+ jid: string;
2776
+ isMember: boolean;
2777
+ } | null | undefined;
2778
+ text?: string[] | null | undefined;
2581
2779
  name?: string | null | undefined;
2582
2780
  targets?: (string | null)[] | null | undefined;
2583
- type: import("./ChatEvent").ChatMessageTypes;
2781
+ type: import("@workadventure/shared-utils").ChatMessageTypes;
2584
2782
  date: Date;
2585
2783
  };
2586
2784
  }, {
2587
2785
  type: "addChatMessage";
2588
2786
  data: {
2589
- author?: any;
2590
- text?: (string | null)[] | null | undefined;
2787
+ author?: {
2788
+ color?: string | undefined;
2789
+ name: string;
2790
+ active: boolean;
2791
+ isMe: boolean;
2792
+ jid: string;
2793
+ isMember: boolean;
2794
+ } | null | undefined;
2795
+ text?: string[] | null | undefined;
2591
2796
  name?: string | null | undefined;
2592
2797
  targets?: (string | null)[] | null | undefined;
2593
- type: import("./ChatEvent").ChatMessageTypes;
2798
+ type: import("@workadventure/shared-utils").ChatMessageTypes;
2594
2799
  date: Date;
2595
2800
  };
2596
2801
  }>, z.ZodObject<{
2597
2802
  type: z.ZodLiteral<"updateWritingStatusChatList">;
2598
- data: z.ZodArray<z.ZodNullable<z.ZodString>, "many">;
2803
+ data: z.ZodObject<{
2804
+ users: z.ZodArray<z.ZodObject<{
2805
+ jid: z.ZodOptional<z.ZodString>;
2806
+ name: z.ZodOptional<z.ZodString>;
2807
+ }, "strip", z.ZodTypeAny, {
2808
+ name?: string | undefined;
2809
+ jid?: string | undefined;
2810
+ }, {
2811
+ name?: string | undefined;
2812
+ jid?: string | undefined;
2813
+ }>, "many">;
2814
+ }, "strip", z.ZodTypeAny, {
2815
+ users: {
2816
+ name?: string | undefined;
2817
+ jid?: string | undefined;
2818
+ }[];
2819
+ }, {
2820
+ users: {
2821
+ name?: string | undefined;
2822
+ jid?: string | undefined;
2823
+ }[];
2824
+ }>;
2599
2825
  }, "strip", z.ZodTypeAny, {
2600
2826
  type: "updateWritingStatusChatList";
2601
- data: (string | null)[];
2827
+ data: {
2828
+ users: {
2829
+ name?: string | undefined;
2830
+ jid?: string | undefined;
2831
+ }[];
2832
+ };
2602
2833
  }, {
2603
2834
  type: "updateWritingStatusChatList";
2604
- data: (string | null)[];
2835
+ data: {
2836
+ users: {
2837
+ name?: string | undefined;
2838
+ jid?: string | undefined;
2839
+ }[];
2840
+ };
2605
2841
  }>, z.ZodObject<{
2606
2842
  type: z.ZodLiteral<"buttonActionBarTrigger">;
2607
2843
  data: z.ZodUnion<[z.ZodObject<{
@@ -2666,14 +2902,14 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
2666
2902
  allowApi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2667
2903
  }, "strip", z.ZodTypeAny, {
2668
2904
  title: string;
2669
- allowApi: boolean;
2670
2905
  position: "left" | "right" | "center";
2671
- allow: string | null;
2672
2906
  src: string;
2907
+ allowApi: boolean;
2908
+ allow: string | null;
2673
2909
  }, {
2674
2910
  title?: string | undefined;
2675
- allowApi?: boolean | undefined;
2676
2911
  position?: "left" | "right" | "center" | undefined;
2912
+ allowApi?: boolean | undefined;
2677
2913
  allow?: string | null | undefined;
2678
2914
  src: string;
2679
2915
  }>;
@@ -2681,17 +2917,17 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
2681
2917
  type: "modalCloseTrigger";
2682
2918
  data: {
2683
2919
  title: string;
2684
- allowApi: boolean;
2685
2920
  position: "left" | "right" | "center";
2686
- allow: string | null;
2687
2921
  src: string;
2922
+ allowApi: boolean;
2923
+ allow: string | null;
2688
2924
  };
2689
2925
  }, {
2690
2926
  type: "modalCloseTrigger";
2691
2927
  data: {
2692
2928
  title?: string | undefined;
2693
- allowApi?: boolean | undefined;
2694
2929
  position?: "left" | "right" | "center" | undefined;
2930
+ allowApi?: boolean | undefined;
2695
2931
  allow?: string | null | undefined;
2696
2932
  src: string;
2697
2933
  };
@@ -2719,6 +2955,7 @@ export declare const iframeQueryMapTypeGuards: {
2719
2955
  query: z.ZodUndefined;
2720
2956
  answer: z.ZodObject<{
2721
2957
  roomId: z.ZodString;
2958
+ hashParameters: z.ZodRecord<z.ZodString, z.ZodString>;
2722
2959
  mapUrl: z.ZodString;
2723
2960
  nickname: z.ZodString;
2724
2961
  language: z.ZodOptional<z.ZodString>;
@@ -2733,35 +2970,37 @@ export declare const iframeQueryMapTypeGuards: {
2733
2970
  iframeId: z.ZodOptional<z.ZodString>;
2734
2971
  isLogged: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2735
2972
  }, "strip", z.ZodTypeAny, {
2973
+ metadata?: unknown;
2974
+ variables?: unknown;
2975
+ userRoomToken?: string | undefined;
2976
+ uuid?: string | undefined;
2736
2977
  language?: string | undefined;
2737
2978
  playerId?: number | undefined;
2738
- uuid?: string | undefined;
2739
2979
  startLayerName?: string | undefined;
2740
- variables?: unknown;
2741
2980
  playerVariables?: unknown;
2742
- userRoomToken?: string | undefined;
2743
- metadata?: unknown;
2744
2981
  iframeId?: string | undefined;
2982
+ tags: string[];
2745
2983
  roomId: string;
2984
+ isLogged: boolean;
2746
2985
  mapUrl: string;
2986
+ hashParameters: Record<string, string>;
2747
2987
  nickname: string;
2748
- tags: string[];
2749
- isLogged: boolean;
2750
2988
  }, {
2989
+ metadata?: unknown;
2990
+ variables?: unknown;
2991
+ userRoomToken?: string | undefined;
2992
+ isLogged?: boolean | undefined;
2993
+ uuid?: string | undefined;
2751
2994
  language?: string | undefined;
2752
2995
  playerId?: number | undefined;
2753
- uuid?: string | undefined;
2754
2996
  startLayerName?: string | undefined;
2755
- variables?: unknown;
2756
2997
  playerVariables?: unknown;
2757
- userRoomToken?: string | undefined;
2758
- metadata?: unknown;
2759
2998
  iframeId?: string | undefined;
2760
- isLogged?: boolean | undefined;
2999
+ tags: string[];
2761
3000
  roomId: string;
2762
3001
  mapUrl: string;
3002
+ hashParameters: Record<string, string>;
2763
3003
  nickname: string;
2764
- tags: string[];
2765
3004
  }>;
2766
3005
  };
2767
3006
  getMapData: {
@@ -2812,6 +3051,22 @@ export declare const iframeQueryMapTypeGuards: {
2812
3051
  }>;
2813
3052
  answer: z.ZodUndefined;
2814
3053
  };
3054
+ dispatchEvent: {
3055
+ query: z.ZodObject<{
3056
+ name: z.ZodString;
3057
+ data: z.ZodUnknown;
3058
+ targetUserIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
3059
+ }, "strip", z.ZodTypeAny, {
3060
+ data?: unknown;
3061
+ targetUserIds?: number[] | undefined;
3062
+ name: string;
3063
+ }, {
3064
+ data?: unknown;
3065
+ targetUserIds?: number[] | undefined;
3066
+ name: string;
3067
+ }>;
3068
+ answer: z.ZodUndefined;
3069
+ };
2815
3070
  loadTileset: {
2816
3071
  query: z.ZodObject<{
2817
3072
  url: z.ZodString;
@@ -2832,18 +3087,18 @@ export declare const iframeQueryMapTypeGuards: {
2832
3087
  closable: z.ZodOptional<z.ZodBoolean>;
2833
3088
  lazy: z.ZodOptional<z.ZodBoolean>;
2834
3089
  }, "strip", z.ZodTypeAny, {
3090
+ position?: number | undefined;
2835
3091
  allowApi?: boolean | undefined;
2836
3092
  allowPolicy?: string | undefined;
2837
3093
  widthPercent?: number | undefined;
2838
- position?: number | undefined;
2839
3094
  closable?: boolean | undefined;
2840
3095
  lazy?: boolean | undefined;
2841
3096
  url: string;
2842
3097
  }, {
3098
+ position?: number | undefined;
2843
3099
  allowApi?: boolean | undefined;
2844
3100
  allowPolicy?: string | undefined;
2845
3101
  widthPercent?: number | undefined;
2846
- position?: number | undefined;
2847
3102
  closable?: boolean | undefined;
2848
3103
  lazy?: boolean | undefined;
2849
3104
  url: string;
@@ -3030,15 +3285,15 @@ export declare const iframeQueryMapTypeGuards: {
3030
3285
  }, "strip", z.ZodTypeAny, {
3031
3286
  height: number;
3032
3287
  width: number;
3033
- name: string;
3034
3288
  x: number;
3035
3289
  y: number;
3290
+ name: string;
3036
3291
  }, {
3037
3292
  height: number;
3038
3293
  width: number;
3039
- name: string;
3040
3294
  x: number;
3041
3295
  y: number;
3296
+ name: string;
3042
3297
  }>;
3043
3298
  answer: z.ZodUndefined;
3044
3299
  };
@@ -3053,15 +3308,15 @@ export declare const iframeQueryMapTypeGuards: {
3053
3308
  }, "strip", z.ZodTypeAny, {
3054
3309
  height: number;
3055
3310
  width: number;
3056
- name: string;
3057
3311
  x: number;
3058
3312
  y: number;
3313
+ name: string;
3059
3314
  }, {
3060
3315
  height: number;
3061
3316
  width: number;
3062
- name: string;
3063
3317
  x: number;
3064
3318
  y: number;
3319
+ name: string;
3065
3320
  }>;
3066
3321
  };
3067
3322
  modifyArea: {
@@ -3198,13 +3453,13 @@ export declare const iframeQueryMapTypeGuards: {
3198
3453
  }, "strip", z.ZodTypeAny, {
3199
3454
  left?: string | undefined;
3200
3455
  top?: string | undefined;
3201
- bottom?: string | undefined;
3202
3456
  right?: string | undefined;
3457
+ bottom?: string | undefined;
3203
3458
  }, {
3204
3459
  left?: string | undefined;
3205
3460
  top?: string | undefined;
3206
- bottom?: string | undefined;
3207
3461
  right?: string | undefined;
3462
+ bottom?: string | undefined;
3208
3463
  }>>;
3209
3464
  }, "strip", z.ZodTypeAny, {
3210
3465
  allowApi?: boolean | undefined;
@@ -3213,8 +3468,8 @@ export declare const iframeQueryMapTypeGuards: {
3213
3468
  margin?: {
3214
3469
  left?: string | undefined;
3215
3470
  top?: string | undefined;
3216
- bottom?: string | undefined;
3217
3471
  right?: string | undefined;
3472
+ bottom?: string | undefined;
3218
3473
  } | undefined;
3219
3474
  url: string;
3220
3475
  position: {
@@ -3232,8 +3487,8 @@ export declare const iframeQueryMapTypeGuards: {
3232
3487
  margin?: {
3233
3488
  left?: string | undefined;
3234
3489
  top?: string | undefined;
3235
- bottom?: string | undefined;
3236
3490
  right?: string | undefined;
3491
+ bottom?: string | undefined;
3237
3492
  } | undefined;
3238
3493
  url: string;
3239
3494
  position: {
@@ -3279,29 +3534,29 @@ export declare const iframeQueryMapTypeGuards: {
3279
3534
  }, "strip", z.ZodTypeAny, {
3280
3535
  left?: string | undefined;
3281
3536
  top?: string | undefined;
3282
- bottom?: string | undefined;
3283
3537
  right?: string | undefined;
3538
+ bottom?: string | undefined;
3284
3539
  }, {
3285
3540
  left?: string | undefined;
3286
3541
  top?: string | undefined;
3287
- bottom?: string | undefined;
3288
3542
  right?: string | undefined;
3543
+ bottom?: string | undefined;
3289
3544
  }>>;
3290
3545
  }, "strip", z.ZodTypeAny, {
3291
3546
  margin?: {
3292
3547
  left?: string | undefined;
3293
3548
  top?: string | undefined;
3294
- bottom?: string | undefined;
3295
3549
  right?: string | undefined;
3550
+ bottom?: string | undefined;
3296
3551
  } | undefined;
3297
3552
  url: string;
3298
- allowApi: boolean;
3299
- allowPolicy: string;
3553
+ id: string;
3300
3554
  position: {
3301
3555
  vertical: "top" | "bottom" | "middle";
3302
3556
  horizontal: "left" | "right" | "middle";
3303
3557
  };
3304
- id: string;
3558
+ allowApi: boolean;
3559
+ allowPolicy: string;
3305
3560
  visible: boolean;
3306
3561
  size: {
3307
3562
  height: string;
@@ -3311,17 +3566,17 @@ export declare const iframeQueryMapTypeGuards: {
3311
3566
  margin?: {
3312
3567
  left?: string | undefined;
3313
3568
  top?: string | undefined;
3314
- bottom?: string | undefined;
3315
3569
  right?: string | undefined;
3570
+ bottom?: string | undefined;
3316
3571
  } | undefined;
3317
3572
  url: string;
3318
- allowApi: boolean;
3319
- allowPolicy: string;
3573
+ id: string;
3320
3574
  position: {
3321
3575
  vertical: "top" | "bottom" | "middle";
3322
3576
  horizontal: "left" | "right" | "middle";
3323
3577
  };
3324
- id: string;
3578
+ allowApi: boolean;
3579
+ allowPolicy: string;
3325
3580
  visible: boolean;
3326
3581
  size: {
3327
3582
  height: string;
@@ -3369,29 +3624,29 @@ export declare const iframeQueryMapTypeGuards: {
3369
3624
  }, "strip", z.ZodTypeAny, {
3370
3625
  left?: string | undefined;
3371
3626
  top?: string | undefined;
3372
- bottom?: string | undefined;
3373
3627
  right?: string | undefined;
3628
+ bottom?: string | undefined;
3374
3629
  }, {
3375
3630
  left?: string | undefined;
3376
3631
  top?: string | undefined;
3377
- bottom?: string | undefined;
3378
3632
  right?: string | undefined;
3633
+ bottom?: string | undefined;
3379
3634
  }>>;
3380
3635
  }, "strip", z.ZodTypeAny, {
3381
3636
  margin?: {
3382
3637
  left?: string | undefined;
3383
3638
  top?: string | undefined;
3384
- bottom?: string | undefined;
3385
3639
  right?: string | undefined;
3640
+ bottom?: string | undefined;
3386
3641
  } | undefined;
3387
3642
  url: string;
3388
- allowApi: boolean;
3389
- allowPolicy: string;
3643
+ id: string;
3390
3644
  position: {
3391
3645
  vertical: "top" | "bottom" | "middle";
3392
3646
  horizontal: "left" | "right" | "middle";
3393
3647
  };
3394
- id: string;
3648
+ allowApi: boolean;
3649
+ allowPolicy: string;
3395
3650
  visible: boolean;
3396
3651
  size: {
3397
3652
  height: string;
@@ -3401,17 +3656,17 @@ export declare const iframeQueryMapTypeGuards: {
3401
3656
  margin?: {
3402
3657
  left?: string | undefined;
3403
3658
  top?: string | undefined;
3404
- bottom?: string | undefined;
3405
3659
  right?: string | undefined;
3660
+ bottom?: string | undefined;
3406
3661
  } | undefined;
3407
3662
  url: string;
3408
- allowApi: boolean;
3409
- allowPolicy: string;
3663
+ id: string;
3410
3664
  position: {
3411
3665
  vertical: "top" | "bottom" | "middle";
3412
3666
  horizontal: "left" | "right" | "middle";
3413
3667
  };
3414
- id: string;
3668
+ allowApi: boolean;
3669
+ allowPolicy: string;
3415
3670
  visible: boolean;
3416
3671
  size: {
3417
3672
  height: string;
@@ -3455,29 +3710,29 @@ export declare const iframeQueryMapTypeGuards: {
3455
3710
  }, "strip", z.ZodTypeAny, {
3456
3711
  left?: string | undefined;
3457
3712
  top?: string | undefined;
3458
- bottom?: string | undefined;
3459
3713
  right?: string | undefined;
3714
+ bottom?: string | undefined;
3460
3715
  }, {
3461
3716
  left?: string | undefined;
3462
3717
  top?: string | undefined;
3463
- bottom?: string | undefined;
3464
3718
  right?: string | undefined;
3719
+ bottom?: string | undefined;
3465
3720
  }>>;
3466
3721
  }, "strip", z.ZodTypeAny, {
3467
3722
  margin?: {
3468
3723
  left?: string | undefined;
3469
3724
  top?: string | undefined;
3470
- bottom?: string | undefined;
3471
3725
  right?: string | undefined;
3726
+ bottom?: string | undefined;
3472
3727
  } | undefined;
3473
3728
  url: string;
3474
- allowApi: boolean;
3475
- allowPolicy: string;
3729
+ id: string;
3476
3730
  position: {
3477
3731
  vertical: "top" | "bottom" | "middle";
3478
3732
  horizontal: "left" | "right" | "middle";
3479
3733
  };
3480
- id: string;
3734
+ allowApi: boolean;
3735
+ allowPolicy: string;
3481
3736
  visible: boolean;
3482
3737
  size: {
3483
3738
  height: string;
@@ -3487,17 +3742,17 @@ export declare const iframeQueryMapTypeGuards: {
3487
3742
  margin?: {
3488
3743
  left?: string | undefined;
3489
3744
  top?: string | undefined;
3490
- bottom?: string | undefined;
3491
3745
  right?: string | undefined;
3746
+ bottom?: string | undefined;
3492
3747
  } | undefined;
3493
3748
  url: string;
3494
- allowApi: boolean;
3495
- allowPolicy: string;
3749
+ id: string;
3496
3750
  position: {
3497
3751
  vertical: "top" | "bottom" | "middle";
3498
3752
  horizontal: "left" | "right" | "middle";
3499
3753
  };
3500
- id: string;
3754
+ allowApi: boolean;
3755
+ allowPolicy: string;
3501
3756
  visible: boolean;
3502
3757
  size: {
3503
3758
  height: string;
@@ -3536,31 +3791,41 @@ export declare const iframeQueryMapTypeGuards: {
3536
3791
  }, "strip", z.ZodTypeAny, {
3537
3792
  outlineColor?: number | undefined;
3538
3793
  name: string;
3794
+ availabilityStatus: string;
3539
3795
  position: {
3540
3796
  x: number;
3541
3797
  y: number;
3542
3798
  };
3543
- playerId: number;
3544
- variables: Map<string, unknown>;
3545
3799
  userUuid: string;
3546
- availabilityStatus: string;
3800
+ variables: Map<string, unknown>;
3801
+ playerId: number;
3547
3802
  }, {
3548
3803
  outlineColor?: number | undefined;
3549
3804
  name: string;
3805
+ availabilityStatus: string;
3550
3806
  position: {
3551
3807
  x: number;
3552
3808
  y: number;
3553
3809
  };
3554
- playerId: number;
3555
- variables: Map<string, unknown>;
3556
3810
  userUuid: string;
3557
- availabilityStatus: string;
3811
+ variables: Map<string, unknown>;
3812
+ playerId: number;
3558
3813
  }>, "many">;
3559
3814
  };
3560
3815
  getWoka: {
3561
3816
  query: z.ZodUndefined;
3562
3817
  answer: z.ZodString;
3563
3818
  };
3819
+ playSoundInBubble: {
3820
+ query: z.ZodObject<{
3821
+ url: z.ZodString;
3822
+ }, "strip", z.ZodTypeAny, {
3823
+ url: string;
3824
+ }, {
3825
+ url: string;
3826
+ }>;
3827
+ answer: z.ZodUndefined;
3828
+ };
3564
3829
  };
3565
3830
  type IframeQueryMapTypeGuardsType = typeof iframeQueryMapTypeGuards;
3566
3831
  type UnknownToVoid<T> = undefined extends T ? void : T;
@@ -3578,15 +3843,15 @@ export interface IframeQueryWrapper<T extends keyof IframeQueryMap> {
3578
3843
  id: number;
3579
3844
  query: IframeQuery<T>;
3580
3845
  }
3581
- export declare const isIframeQueryKey: (type: string) => type is "setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "goToLogin" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "teleportPlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "getUIWebsiteById" | "enablePlayersTracking" | "getWoka";
3582
- export declare const isIframeQuery: (event: any) => event is IframeQuery<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "goToLogin" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "teleportPlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "getUIWebsiteById" | "enablePlayersTracking" | "getWoka">;
3583
- export declare const isIframeQueryWrapper: (event: any) => event is IframeQueryWrapper<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "goToLogin" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "teleportPlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "getUIWebsiteById" | "enablePlayersTracking" | "getWoka">;
3846
+ export declare const isIframeQueryKey: (type: string) => type is "setVariable" | "triggerActionMessage" | "removeActionMessage" | "dispatchEvent" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "goToLogin" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "teleportPlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "getUIWebsiteById" | "enablePlayersTracking" | "getWoka" | "playSoundInBubble";
3847
+ export declare const isIframeQuery: (event: any) => event is IframeQuery<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "dispatchEvent" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "goToLogin" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "teleportPlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "getUIWebsiteById" | "enablePlayersTracking" | "getWoka" | "playSoundInBubble">;
3848
+ export declare const isIframeQueryWrapper: (event: any) => event is IframeQueryWrapper<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "dispatchEvent" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "goToLogin" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "teleportPlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "getUIWebsiteById" | "enablePlayersTracking" | "getWoka" | "playSoundInBubble">;
3584
3849
  export interface IframeAnswerEvent<T extends keyof IframeQueryMap> {
3585
3850
  id: number;
3586
3851
  type: T;
3587
3852
  data: IframeQueryMap[T]["answer"];
3588
3853
  }
3589
- export declare const isIframeAnswerEvent: (event: any) => event is IframeAnswerEvent<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "goToLogin" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "teleportPlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "getUIWebsiteById" | "enablePlayersTracking" | "getWoka">;
3854
+ export declare const isIframeAnswerEvent: (event: any) => event is IframeAnswerEvent<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "dispatchEvent" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "goToLogin" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "teleportPlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "getUIWebsiteById" | "enablePlayersTracking" | "getWoka" | "playSoundInBubble">;
3590
3855
  export declare const isIframeErrorAnswerEvent: z.ZodObject<{
3591
3856
  id: z.ZodNumber;
3592
3857
  type: z.ZodString;