@workadventure/iframe-api-typings 1.11.3 → 1.12.1

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 (61) hide show
  1. package/Api/Events/AddPlayerEvent.d.ts +86 -0
  2. package/Api/Events/AskPositionEvent.d.ts +15 -0
  3. package/Api/Events/ChatEvent.d.ts +29 -0
  4. package/Api/Events/ChatVisibilityEvent.d.ts +9 -0
  5. package/Api/Events/EnablePlayersTrackingEvent.d.ts +15 -0
  6. package/Api/Events/GameStateEvent.d.ts +6 -0
  7. package/Api/Events/IframeEvent.d.ts +1123 -114
  8. package/Api/Events/JoinMucEvent.d.ts +21 -0
  9. package/Api/Events/LeaveMucEvent.d.ts +12 -0
  10. package/Api/Events/NotificationEvent.d.ts +18 -0
  11. package/Api/Events/ProximityMeeting/JoinProximityMeetingEvent.d.ts +70 -0
  12. package/Api/Events/ProximityMeeting/ParticipantProximityMeetingEvent.d.ts +70 -0
  13. package/Api/Events/SetPlayerVariableEvent.d.ts +27 -0
  14. package/Api/Events/SetSharedPlayerVariableEvent.d.ts +18 -0
  15. package/Api/Events/SetVariableEvent.d.ts +1 -9
  16. package/Api/Events/SettingsEvent.d.ts +12 -0
  17. package/Api/Events/ShowBusinessCardEvent.d.ts +12 -0
  18. package/Api/Events/{ui → Ui}/MenuItemClickedEvent.d.ts +0 -0
  19. package/Api/Events/{ui → Ui}/MenuRegisterEvent.d.ts +0 -0
  20. package/Api/Events/{ui → Ui}/TriggerActionMessageEvent.d.ts +0 -0
  21. package/Api/Events/{ui → Ui}/UIWebsite.d.ts +0 -0
  22. package/Api/Iframe/AbstractState.d.ts +14 -0
  23. package/Api/{iframe → Iframe}/Area/Area.d.ts +0 -0
  24. package/Api/{iframe → Iframe}/IframeApiContribution.d.ts +0 -0
  25. package/Api/Iframe/Player/ProximityMeeting.d.ts +85 -0
  26. package/Api/Iframe/Players/RemotePlayer.d.ts +81 -0
  27. package/Api/{iframe → Iframe}/Room/EmbeddedWebsite.d.ts +0 -0
  28. package/Api/Iframe/Sound/Sound.d.ts +43 -0
  29. package/Api/{iframe → Iframe}/Ui/ActionMessage.d.ts +0 -0
  30. package/Api/{iframe → Iframe}/Ui/ButtonDescriptor.d.ts +0 -0
  31. package/Api/{iframe → Iframe}/Ui/Menu.d.ts +0 -0
  32. package/Api/{iframe → Iframe}/Ui/Popup.d.ts +0 -0
  33. package/Api/{iframe → Iframe}/Ui/UIWebsite.d.ts +14 -1
  34. package/Api/Iframe/area.d.ts +59 -0
  35. package/Api/Iframe/camera.d.ts +46 -0
  36. package/Api/Iframe/chat.d.ts +36 -0
  37. package/Api/Iframe/controls.d.ts +56 -0
  38. package/Api/Iframe/nav.d.ts +58 -0
  39. package/Api/Iframe/player.d.ts +141 -0
  40. package/Api/Iframe/playerState.d.ts +20 -0
  41. package/Api/Iframe/players.d.ts +135 -0
  42. package/Api/{iframe → Iframe}/registeredCallbacks.d.ts +2 -2
  43. package/Api/Iframe/room.d.ts +128 -0
  44. package/Api/Iframe/sound.d.ts +21 -0
  45. package/Api/Iframe/state.d.ts +15 -0
  46. package/Api/{iframe → Iframe}/ui.d.ts +44 -15
  47. package/Api/Iframe/website.d.ts +32 -0
  48. package/iframe_api.d.ts +38 -19
  49. package/package.json +3 -2
  50. package/Api/Events/RemotePlayerClickedEvent.d.ts +0 -19
  51. package/Api/iframe/Sound/Sound.d.ts +0 -8
  52. package/Api/iframe/area.d.ts +0 -25
  53. package/Api/iframe/camera.d.ts +0 -20
  54. package/Api/iframe/chat.d.ts +0 -18
  55. package/Api/iframe/controls.d.ts +0 -10
  56. package/Api/iframe/nav.d.ts +0 -20
  57. package/Api/iframe/player.d.ts +0 -43
  58. package/Api/iframe/room.d.ts +0 -58
  59. package/Api/iframe/sound.d.ts +0 -8
  60. package/Api/iframe/state.d.ts +0 -25
  61. package/Api/iframe/website.d.ts +0 -11
@@ -114,6 +114,24 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
114
114
  }, {
115
115
  data?: undefined;
116
116
  type: "closeChat";
117
+ }>, z.ZodObject<{
118
+ type: z.ZodLiteral<"addPersonnalMessage">;
119
+ data: z.ZodString;
120
+ }, "strip", z.ZodTypeAny, {
121
+ type: "addPersonnalMessage";
122
+ data: string;
123
+ }, {
124
+ type: "addPersonnalMessage";
125
+ data: string;
126
+ }>, z.ZodObject<{
127
+ type: z.ZodLiteral<"newChatMessageWritingStatus">;
128
+ data: z.ZodNumber;
129
+ }, "strip", z.ZodTypeAny, {
130
+ type: "newChatMessageWritingStatus";
131
+ data: number;
132
+ }, {
133
+ type: "newChatMessageWritingStatus";
134
+ data: number;
117
135
  }>, z.ZodObject<{
118
136
  type: z.ZodLiteral<"cameraFollowPlayer">;
119
137
  data: z.ZodObject<{
@@ -289,6 +307,60 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
289
307
  data: {
290
308
  url: string;
291
309
  };
310
+ }>, z.ZodObject<{
311
+ type: z.ZodLiteral<"turnOffMicrophone">;
312
+ data: z.ZodUndefined;
313
+ }, "strip", z.ZodTypeAny, {
314
+ data?: undefined;
315
+ type: "turnOffMicrophone";
316
+ }, {
317
+ data?: undefined;
318
+ type: "turnOffMicrophone";
319
+ }>, z.ZodObject<{
320
+ type: z.ZodLiteral<"turnOffWebcam">;
321
+ data: z.ZodUndefined;
322
+ }, "strip", z.ZodTypeAny, {
323
+ data?: undefined;
324
+ type: "turnOffWebcam";
325
+ }, {
326
+ data?: undefined;
327
+ type: "turnOffWebcam";
328
+ }>, z.ZodObject<{
329
+ type: z.ZodLiteral<"disableMicrophone">;
330
+ data: z.ZodUndefined;
331
+ }, "strip", z.ZodTypeAny, {
332
+ data?: undefined;
333
+ type: "disableMicrophone";
334
+ }, {
335
+ data?: undefined;
336
+ type: "disableMicrophone";
337
+ }>, z.ZodObject<{
338
+ type: z.ZodLiteral<"restoreMicrophone">;
339
+ data: z.ZodUndefined;
340
+ }, "strip", z.ZodTypeAny, {
341
+ data?: undefined;
342
+ type: "restoreMicrophone";
343
+ }, {
344
+ data?: undefined;
345
+ type: "restoreMicrophone";
346
+ }>, z.ZodObject<{
347
+ type: z.ZodLiteral<"disableWebcam">;
348
+ data: z.ZodUndefined;
349
+ }, "strip", z.ZodTypeAny, {
350
+ data?: undefined;
351
+ type: "disableWebcam";
352
+ }, {
353
+ data?: undefined;
354
+ type: "disableWebcam";
355
+ }>, z.ZodObject<{
356
+ type: z.ZodLiteral<"restoreWebcam">;
357
+ data: z.ZodUndefined;
358
+ }, "strip", z.ZodTypeAny, {
359
+ data?: undefined;
360
+ type: "restoreWebcam";
361
+ }, {
362
+ data?: undefined;
363
+ type: "restoreWebcam";
292
364
  }>, z.ZodObject<{
293
365
  type: z.ZodLiteral<"disablePlayerControls">;
294
366
  data: z.ZodUndefined;
@@ -900,193 +972,657 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
900
972
  height?: number | undefined;
901
973
  name: string;
902
974
  };
903
- }>]>;
904
- export declare type IframeEvent = z.infer<typeof isIframeEventWrapper>;
905
- export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
906
- type: z.ZodLiteral<"userInputChat">;
975
+ }>, z.ZodObject<{
976
+ type: z.ZodLiteral<"askPosition">;
907
977
  data: z.ZodObject<{
908
- message: z.ZodString;
978
+ uuid: z.ZodString;
979
+ playUri: z.ZodString;
909
980
  }, "strip", z.ZodTypeAny, {
910
- message: string;
981
+ uuid: string;
982
+ playUri: string;
911
983
  }, {
912
- message: string;
984
+ uuid: string;
985
+ playUri: string;
913
986
  }>;
914
987
  }, "strip", z.ZodTypeAny, {
915
- type: "userInputChat";
988
+ type: "askPosition";
916
989
  data: {
917
- message: string;
990
+ uuid: string;
991
+ playUri: string;
918
992
  };
919
993
  }, {
920
- type: "userInputChat";
994
+ type: "askPosition";
921
995
  data: {
922
- message: string;
996
+ uuid: string;
997
+ playUri: string;
923
998
  };
924
999
  }>, z.ZodObject<{
925
- type: z.ZodLiteral<"enterEvent">;
926
- data: z.ZodObject<{
927
- name: z.ZodString;
928
- }, "strip", z.ZodTypeAny, {
929
- name: string;
930
- }, {
931
- name: string;
932
- }>;
1000
+ type: z.ZodLiteral<"openInviteMenu">;
1001
+ data: z.ZodUndefined;
933
1002
  }, "strip", z.ZodTypeAny, {
934
- type: "enterEvent";
935
- data: {
936
- name: string;
937
- };
1003
+ data?: undefined;
1004
+ type: "openInviteMenu";
938
1005
  }, {
939
- type: "enterEvent";
940
- data: {
941
- name: string;
942
- };
1006
+ data?: undefined;
1007
+ type: "openInviteMenu";
943
1008
  }>, z.ZodObject<{
944
- type: z.ZodLiteral<"leaveEvent">;
945
- data: z.ZodObject<{
946
- name: z.ZodString;
947
- }, "strip", z.ZodTypeAny, {
948
- name: string;
949
- }, {
950
- name: string;
951
- }>;
1009
+ type: z.ZodLiteral<"chatTotalMessagesToSee">;
1010
+ data: z.ZodNumber;
952
1011
  }, "strip", z.ZodTypeAny, {
953
- type: "leaveEvent";
954
- data: {
955
- name: string;
956
- };
1012
+ type: "chatTotalMessagesToSee";
1013
+ data: number;
957
1014
  }, {
958
- type: "leaveEvent";
959
- data: {
960
- name: string;
961
- };
1015
+ type: "chatTotalMessagesToSee";
1016
+ data: number;
962
1017
  }>, z.ZodObject<{
963
- type: z.ZodLiteral<"enterLayerEvent">;
1018
+ type: z.ZodLiteral<"notification">;
964
1019
  data: z.ZodObject<{
965
- name: z.ZodString;
1020
+ userName: z.ZodString;
1021
+ notificationType: z.ZodNumber;
1022
+ forum: z.ZodOptional<z.ZodNullable<z.ZodString>>;
966
1023
  }, "strip", z.ZodTypeAny, {
967
- name: string;
1024
+ forum?: string | null | undefined;
1025
+ userName: string;
1026
+ notificationType: number;
968
1027
  }, {
969
- name: string;
1028
+ forum?: string | null | undefined;
1029
+ userName: string;
1030
+ notificationType: number;
970
1031
  }>;
971
1032
  }, "strip", z.ZodTypeAny, {
972
- type: "enterLayerEvent";
1033
+ type: "notification";
973
1034
  data: {
974
- name: string;
1035
+ forum?: string | null | undefined;
1036
+ userName: string;
1037
+ notificationType: number;
975
1038
  };
976
1039
  }, {
977
- type: "enterLayerEvent";
1040
+ type: "notification";
978
1041
  data: {
979
- name: string;
1042
+ forum?: string | null | undefined;
1043
+ userName: string;
1044
+ notificationType: number;
980
1045
  };
981
1046
  }>, z.ZodObject<{
982
- type: z.ZodLiteral<"leaveLayerEvent">;
1047
+ type: z.ZodLiteral<"login">;
1048
+ data: z.ZodUndefined;
1049
+ }, "strip", z.ZodTypeAny, {
1050
+ data?: undefined;
1051
+ type: "login";
1052
+ }, {
1053
+ data?: undefined;
1054
+ type: "login";
1055
+ }>, z.ZodObject<{
1056
+ type: z.ZodLiteral<"refresh">;
1057
+ data: z.ZodUndefined;
1058
+ }, "strip", z.ZodTypeAny, {
1059
+ data?: undefined;
1060
+ type: "refresh";
1061
+ }, {
1062
+ data?: undefined;
1063
+ type: "refresh";
1064
+ }>, z.ZodObject<{
1065
+ type: z.ZodLiteral<"showBusinessCard">;
983
1066
  data: z.ZodObject<{
984
- name: z.ZodString;
1067
+ visitCardUrl: z.ZodString;
985
1068
  }, "strip", z.ZodTypeAny, {
986
- name: string;
1069
+ visitCardUrl: string;
987
1070
  }, {
988
- name: string;
1071
+ visitCardUrl: string;
989
1072
  }>;
990
1073
  }, "strip", z.ZodTypeAny, {
991
- type: "leaveLayerEvent";
1074
+ type: "showBusinessCard";
992
1075
  data: {
993
- name: string;
1076
+ visitCardUrl: string;
994
1077
  };
995
1078
  }, {
996
- type: "leaveLayerEvent";
1079
+ type: "showBusinessCard";
997
1080
  data: {
998
- name: string;
1081
+ visitCardUrl: string;
999
1082
  };
1000
- }>, z.ZodObject<{
1001
- type: z.ZodLiteral<"enterAreaEvent">;
1083
+ }>]>;
1084
+ export declare type IframeEvent = z.infer<typeof isIframeEventWrapper>;
1085
+ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
1086
+ type: z.ZodLiteral<"userInputChat">;
1002
1087
  data: z.ZodObject<{
1003
- name: z.ZodString;
1088
+ message: z.ZodString;
1004
1089
  }, "strip", z.ZodTypeAny, {
1005
- name: string;
1090
+ message: string;
1006
1091
  }, {
1007
- name: string;
1092
+ message: string;
1008
1093
  }>;
1009
1094
  }, "strip", z.ZodTypeAny, {
1010
- type: "enterAreaEvent";
1095
+ type: "userInputChat";
1011
1096
  data: {
1012
- name: string;
1097
+ message: string;
1013
1098
  };
1014
1099
  }, {
1015
- type: "enterAreaEvent";
1100
+ type: "userInputChat";
1016
1101
  data: {
1017
- name: string;
1102
+ message: string;
1018
1103
  };
1019
1104
  }>, z.ZodObject<{
1020
- type: z.ZodLiteral<"leaveAreaEvent">;
1105
+ type: z.ZodLiteral<"joinProximityMeetingEvent">;
1021
1106
  data: z.ZodObject<{
1022
- name: z.ZodString;
1107
+ users: z.ZodArray<z.ZodObject<{
1108
+ playerId: z.ZodNumber;
1109
+ name: z.ZodString;
1110
+ userUuid: z.ZodString;
1111
+ availabilityStatus: z.ZodString;
1112
+ outlineColor: z.ZodOptional<z.ZodNumber>;
1113
+ position: z.ZodObject<{
1114
+ x: z.ZodNumber;
1115
+ y: z.ZodNumber;
1116
+ }, "strip", z.ZodTypeAny, {
1117
+ x: number;
1118
+ y: number;
1119
+ }, {
1120
+ x: number;
1121
+ y: number;
1122
+ }>;
1123
+ variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
1124
+ }, "strip", z.ZodTypeAny, {
1125
+ outlineColor?: number | undefined;
1126
+ position: {
1127
+ x: number;
1128
+ y: number;
1129
+ };
1130
+ name: string;
1131
+ playerId: number;
1132
+ variables: Map<string, unknown>;
1133
+ userUuid: string;
1134
+ availabilityStatus: string;
1135
+ }, {
1136
+ outlineColor?: number | undefined;
1137
+ position: {
1138
+ x: number;
1139
+ y: number;
1140
+ };
1141
+ name: string;
1142
+ playerId: number;
1143
+ variables: Map<string, unknown>;
1144
+ userUuid: string;
1145
+ availabilityStatus: string;
1146
+ }>, "many">;
1023
1147
  }, "strip", z.ZodTypeAny, {
1024
- name: string;
1148
+ users: {
1149
+ outlineColor?: number | undefined;
1150
+ position: {
1151
+ x: number;
1152
+ y: number;
1153
+ };
1154
+ name: string;
1155
+ playerId: number;
1156
+ variables: Map<string, unknown>;
1157
+ userUuid: string;
1158
+ availabilityStatus: string;
1159
+ }[];
1025
1160
  }, {
1026
- name: string;
1161
+ users: {
1162
+ outlineColor?: number | undefined;
1163
+ position: {
1164
+ x: number;
1165
+ y: number;
1166
+ };
1167
+ name: string;
1168
+ playerId: number;
1169
+ variables: Map<string, unknown>;
1170
+ userUuid: string;
1171
+ availabilityStatus: string;
1172
+ }[];
1027
1173
  }>;
1028
1174
  }, "strip", z.ZodTypeAny, {
1029
- type: "leaveAreaEvent";
1175
+ type: "joinProximityMeetingEvent";
1030
1176
  data: {
1031
- name: string;
1177
+ users: {
1178
+ outlineColor?: number | undefined;
1179
+ position: {
1180
+ x: number;
1181
+ y: number;
1182
+ };
1183
+ name: string;
1184
+ playerId: number;
1185
+ variables: Map<string, unknown>;
1186
+ userUuid: string;
1187
+ availabilityStatus: string;
1188
+ }[];
1032
1189
  };
1033
1190
  }, {
1034
- type: "leaveAreaEvent";
1191
+ type: "joinProximityMeetingEvent";
1035
1192
  data: {
1036
- name: string;
1193
+ users: {
1194
+ outlineColor?: number | undefined;
1195
+ position: {
1196
+ x: number;
1197
+ y: number;
1198
+ };
1199
+ name: string;
1200
+ playerId: number;
1201
+ variables: Map<string, unknown>;
1202
+ userUuid: string;
1203
+ availabilityStatus: string;
1204
+ }[];
1037
1205
  };
1038
1206
  }>, z.ZodObject<{
1039
- type: z.ZodLiteral<"buttonClickedEvent">;
1207
+ type: z.ZodLiteral<"participantJoinProximityMeetingEvent">;
1040
1208
  data: z.ZodObject<{
1041
- popupId: z.ZodNumber;
1042
- buttonId: z.ZodNumber;
1209
+ user: z.ZodObject<{
1210
+ playerId: z.ZodNumber;
1211
+ name: z.ZodString;
1212
+ userUuid: z.ZodString;
1213
+ availabilityStatus: z.ZodString;
1214
+ outlineColor: z.ZodOptional<z.ZodNumber>;
1215
+ position: z.ZodObject<{
1216
+ x: z.ZodNumber;
1217
+ y: z.ZodNumber;
1218
+ }, "strip", z.ZodTypeAny, {
1219
+ x: number;
1220
+ y: number;
1221
+ }, {
1222
+ x: number;
1223
+ y: number;
1224
+ }>;
1225
+ variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
1226
+ }, "strip", z.ZodTypeAny, {
1227
+ outlineColor?: number | undefined;
1228
+ position: {
1229
+ x: number;
1230
+ y: number;
1231
+ };
1232
+ name: string;
1233
+ playerId: number;
1234
+ variables: Map<string, unknown>;
1235
+ userUuid: string;
1236
+ availabilityStatus: string;
1237
+ }, {
1238
+ outlineColor?: number | undefined;
1239
+ position: {
1240
+ x: number;
1241
+ y: number;
1242
+ };
1243
+ name: string;
1244
+ playerId: number;
1245
+ variables: Map<string, unknown>;
1246
+ userUuid: string;
1247
+ availabilityStatus: string;
1248
+ }>;
1043
1249
  }, "strip", z.ZodTypeAny, {
1044
- popupId: number;
1045
- buttonId: number;
1250
+ user: {
1251
+ outlineColor?: number | undefined;
1252
+ position: {
1253
+ x: number;
1254
+ y: number;
1255
+ };
1256
+ name: string;
1257
+ playerId: number;
1258
+ variables: Map<string, unknown>;
1259
+ userUuid: string;
1260
+ availabilityStatus: string;
1261
+ };
1046
1262
  }, {
1047
- popupId: number;
1048
- buttonId: number;
1263
+ user: {
1264
+ outlineColor?: number | undefined;
1265
+ position: {
1266
+ x: number;
1267
+ y: number;
1268
+ };
1269
+ name: string;
1270
+ playerId: number;
1271
+ variables: Map<string, unknown>;
1272
+ userUuid: string;
1273
+ availabilityStatus: string;
1274
+ };
1049
1275
  }>;
1050
1276
  }, "strip", z.ZodTypeAny, {
1051
- type: "buttonClickedEvent";
1277
+ type: "participantJoinProximityMeetingEvent";
1052
1278
  data: {
1053
- popupId: number;
1054
- buttonId: number;
1279
+ user: {
1280
+ outlineColor?: number | undefined;
1281
+ position: {
1282
+ x: number;
1283
+ y: number;
1284
+ };
1285
+ name: string;
1286
+ playerId: number;
1287
+ variables: Map<string, unknown>;
1288
+ userUuid: string;
1289
+ availabilityStatus: string;
1290
+ };
1055
1291
  };
1056
1292
  }, {
1057
- type: "buttonClickedEvent";
1293
+ type: "participantJoinProximityMeetingEvent";
1058
1294
  data: {
1059
- popupId: number;
1060
- buttonId: number;
1061
- };
1062
- }>, z.ZodObject<{
1063
- type: z.ZodLiteral<"remotePlayerClickedEvent">;
1295
+ user: {
1296
+ outlineColor?: number | undefined;
1297
+ position: {
1298
+ x: number;
1299
+ y: number;
1300
+ };
1301
+ name: string;
1302
+ playerId: number;
1303
+ variables: Map<string, unknown>;
1304
+ userUuid: string;
1305
+ availabilityStatus: string;
1306
+ };
1307
+ };
1308
+ }>, z.ZodObject<{
1309
+ type: z.ZodLiteral<"participantLeaveProximityMeetingEvent">;
1310
+ data: z.ZodObject<{
1311
+ user: z.ZodObject<{
1312
+ playerId: z.ZodNumber;
1313
+ name: z.ZodString;
1314
+ userUuid: z.ZodString;
1315
+ availabilityStatus: z.ZodString;
1316
+ outlineColor: z.ZodOptional<z.ZodNumber>;
1317
+ position: z.ZodObject<{
1318
+ x: z.ZodNumber;
1319
+ y: z.ZodNumber;
1320
+ }, "strip", z.ZodTypeAny, {
1321
+ x: number;
1322
+ y: number;
1323
+ }, {
1324
+ x: number;
1325
+ y: number;
1326
+ }>;
1327
+ variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
1328
+ }, "strip", z.ZodTypeAny, {
1329
+ outlineColor?: number | undefined;
1330
+ position: {
1331
+ x: number;
1332
+ y: number;
1333
+ };
1334
+ name: string;
1335
+ playerId: number;
1336
+ variables: Map<string, unknown>;
1337
+ userUuid: string;
1338
+ availabilityStatus: string;
1339
+ }, {
1340
+ outlineColor?: number | undefined;
1341
+ position: {
1342
+ x: number;
1343
+ y: number;
1344
+ };
1345
+ name: string;
1346
+ playerId: number;
1347
+ variables: Map<string, unknown>;
1348
+ userUuid: string;
1349
+ availabilityStatus: string;
1350
+ }>;
1351
+ }, "strip", z.ZodTypeAny, {
1352
+ user: {
1353
+ outlineColor?: number | undefined;
1354
+ position: {
1355
+ x: number;
1356
+ y: number;
1357
+ };
1358
+ name: string;
1359
+ playerId: number;
1360
+ variables: Map<string, unknown>;
1361
+ userUuid: string;
1362
+ availabilityStatus: string;
1363
+ };
1364
+ }, {
1365
+ user: {
1366
+ outlineColor?: number | undefined;
1367
+ position: {
1368
+ x: number;
1369
+ y: number;
1370
+ };
1371
+ name: string;
1372
+ playerId: number;
1373
+ variables: Map<string, unknown>;
1374
+ userUuid: string;
1375
+ availabilityStatus: string;
1376
+ };
1377
+ }>;
1378
+ }, "strip", z.ZodTypeAny, {
1379
+ type: "participantLeaveProximityMeetingEvent";
1380
+ data: {
1381
+ user: {
1382
+ outlineColor?: number | undefined;
1383
+ position: {
1384
+ x: number;
1385
+ y: number;
1386
+ };
1387
+ name: string;
1388
+ playerId: number;
1389
+ variables: Map<string, unknown>;
1390
+ userUuid: string;
1391
+ availabilityStatus: string;
1392
+ };
1393
+ };
1394
+ }, {
1395
+ type: "participantLeaveProximityMeetingEvent";
1396
+ data: {
1397
+ user: {
1398
+ outlineColor?: number | undefined;
1399
+ position: {
1400
+ x: number;
1401
+ y: number;
1402
+ };
1403
+ name: string;
1404
+ playerId: number;
1405
+ variables: Map<string, unknown>;
1406
+ userUuid: string;
1407
+ availabilityStatus: string;
1408
+ };
1409
+ };
1410
+ }>, z.ZodObject<{
1411
+ type: z.ZodLiteral<"leaveProximityMeetingEvent">;
1412
+ data: z.ZodUndefined;
1413
+ }, "strip", z.ZodTypeAny, {
1414
+ data?: undefined;
1415
+ type: "leaveProximityMeetingEvent";
1416
+ }, {
1417
+ data?: undefined;
1418
+ type: "leaveProximityMeetingEvent";
1419
+ }>, z.ZodObject<{
1420
+ type: z.ZodLiteral<"enterEvent">;
1421
+ data: z.ZodObject<{
1422
+ name: z.ZodString;
1423
+ }, "strip", z.ZodTypeAny, {
1424
+ name: string;
1425
+ }, {
1426
+ name: string;
1427
+ }>;
1428
+ }, "strip", z.ZodTypeAny, {
1429
+ type: "enterEvent";
1430
+ data: {
1431
+ name: string;
1432
+ };
1433
+ }, {
1434
+ type: "enterEvent";
1435
+ data: {
1436
+ name: string;
1437
+ };
1438
+ }>, z.ZodObject<{
1439
+ type: z.ZodLiteral<"leaveEvent">;
1064
1440
  data: z.ZodObject<{
1065
- id: z.ZodNumber;
1066
- uuid: z.ZodString;
1067
1441
  name: z.ZodString;
1068
1442
  }, "strip", z.ZodTypeAny, {
1069
- id: number;
1070
1443
  name: string;
1071
- uuid: string;
1072
1444
  }, {
1073
- id: number;
1074
1445
  name: string;
1075
- uuid: string;
1446
+ }>;
1447
+ }, "strip", z.ZodTypeAny, {
1448
+ type: "leaveEvent";
1449
+ data: {
1450
+ name: string;
1451
+ };
1452
+ }, {
1453
+ type: "leaveEvent";
1454
+ data: {
1455
+ name: string;
1456
+ };
1457
+ }>, z.ZodObject<{
1458
+ type: z.ZodLiteral<"enterLayerEvent">;
1459
+ data: z.ZodObject<{
1460
+ name: z.ZodString;
1461
+ }, "strip", z.ZodTypeAny, {
1462
+ name: string;
1463
+ }, {
1464
+ name: string;
1465
+ }>;
1466
+ }, "strip", z.ZodTypeAny, {
1467
+ type: "enterLayerEvent";
1468
+ data: {
1469
+ name: string;
1470
+ };
1471
+ }, {
1472
+ type: "enterLayerEvent";
1473
+ data: {
1474
+ name: string;
1475
+ };
1476
+ }>, z.ZodObject<{
1477
+ type: z.ZodLiteral<"leaveLayerEvent">;
1478
+ data: z.ZodObject<{
1479
+ name: z.ZodString;
1480
+ }, "strip", z.ZodTypeAny, {
1481
+ name: string;
1482
+ }, {
1483
+ name: string;
1484
+ }>;
1485
+ }, "strip", z.ZodTypeAny, {
1486
+ type: "leaveLayerEvent";
1487
+ data: {
1488
+ name: string;
1489
+ };
1490
+ }, {
1491
+ type: "leaveLayerEvent";
1492
+ data: {
1493
+ name: string;
1494
+ };
1495
+ }>, z.ZodObject<{
1496
+ type: z.ZodLiteral<"enterAreaEvent">;
1497
+ data: z.ZodObject<{
1498
+ name: z.ZodString;
1499
+ }, "strip", z.ZodTypeAny, {
1500
+ name: string;
1501
+ }, {
1502
+ name: string;
1503
+ }>;
1504
+ }, "strip", z.ZodTypeAny, {
1505
+ type: "enterAreaEvent";
1506
+ data: {
1507
+ name: string;
1508
+ };
1509
+ }, {
1510
+ type: "enterAreaEvent";
1511
+ data: {
1512
+ name: string;
1513
+ };
1514
+ }>, z.ZodObject<{
1515
+ type: z.ZodLiteral<"leaveAreaEvent">;
1516
+ data: z.ZodObject<{
1517
+ name: z.ZodString;
1518
+ }, "strip", z.ZodTypeAny, {
1519
+ name: string;
1520
+ }, {
1521
+ name: string;
1522
+ }>;
1523
+ }, "strip", z.ZodTypeAny, {
1524
+ type: "leaveAreaEvent";
1525
+ data: {
1526
+ name: string;
1527
+ };
1528
+ }, {
1529
+ type: "leaveAreaEvent";
1530
+ data: {
1531
+ name: string;
1532
+ };
1533
+ }>, z.ZodObject<{
1534
+ type: z.ZodLiteral<"buttonClickedEvent">;
1535
+ data: z.ZodObject<{
1536
+ popupId: z.ZodNumber;
1537
+ buttonId: z.ZodNumber;
1538
+ }, "strip", z.ZodTypeAny, {
1539
+ popupId: number;
1540
+ buttonId: number;
1541
+ }, {
1542
+ popupId: number;
1543
+ buttonId: number;
1544
+ }>;
1545
+ }, "strip", z.ZodTypeAny, {
1546
+ type: "buttonClickedEvent";
1547
+ data: {
1548
+ popupId: number;
1549
+ buttonId: number;
1550
+ };
1551
+ }, {
1552
+ type: "buttonClickedEvent";
1553
+ data: {
1554
+ popupId: number;
1555
+ buttonId: number;
1556
+ };
1557
+ }>, z.ZodObject<{
1558
+ type: z.ZodLiteral<"remotePlayerClickedEvent">;
1559
+ data: z.ZodObject<{
1560
+ playerId: z.ZodNumber;
1561
+ name: z.ZodString;
1562
+ userUuid: z.ZodString;
1563
+ availabilityStatus: z.ZodString;
1564
+ outlineColor: z.ZodOptional<z.ZodNumber>;
1565
+ position: z.ZodObject<{
1566
+ x: z.ZodNumber;
1567
+ y: z.ZodNumber;
1568
+ }, "strip", z.ZodTypeAny, {
1569
+ x: number;
1570
+ y: number;
1571
+ }, {
1572
+ x: number;
1573
+ y: number;
1574
+ }>;
1575
+ variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
1576
+ }, "strip", z.ZodTypeAny, {
1577
+ outlineColor?: number | undefined;
1578
+ position: {
1579
+ x: number;
1580
+ y: number;
1581
+ };
1582
+ name: string;
1583
+ playerId: number;
1584
+ variables: Map<string, unknown>;
1585
+ userUuid: string;
1586
+ availabilityStatus: string;
1587
+ }, {
1588
+ outlineColor?: number | undefined;
1589
+ position: {
1590
+ x: number;
1591
+ y: number;
1592
+ };
1593
+ name: string;
1594
+ playerId: number;
1595
+ variables: Map<string, unknown>;
1596
+ userUuid: string;
1597
+ availabilityStatus: string;
1076
1598
  }>;
1077
1599
  }, "strip", z.ZodTypeAny, {
1078
1600
  type: "remotePlayerClickedEvent";
1079
1601
  data: {
1080
- id: number;
1602
+ outlineColor?: number | undefined;
1603
+ position: {
1604
+ x: number;
1605
+ y: number;
1606
+ };
1081
1607
  name: string;
1082
- uuid: string;
1608
+ playerId: number;
1609
+ variables: Map<string, unknown>;
1610
+ userUuid: string;
1611
+ availabilityStatus: string;
1083
1612
  };
1084
1613
  }, {
1085
1614
  type: "remotePlayerClickedEvent";
1086
1615
  data: {
1087
- id: number;
1616
+ outlineColor?: number | undefined;
1617
+ position: {
1618
+ x: number;
1619
+ y: number;
1620
+ };
1088
1621
  name: string;
1089
- uuid: string;
1622
+ playerId: number;
1623
+ variables: Map<string, unknown>;
1624
+ userUuid: string;
1625
+ availabilityStatus: string;
1090
1626
  };
1091
1627
  }>, z.ZodObject<{
1092
1628
  type: z.ZodLiteral<"actionsMenuActionClickedEvent">;
@@ -1219,29 +1755,77 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
1219
1755
  data: z.ZodObject<{
1220
1756
  key: z.ZodString;
1221
1757
  value: z.ZodUnknown;
1222
- target: z.ZodEnum<["global", "player"]>;
1223
1758
  }, "strip", z.ZodTypeAny, {
1224
1759
  value?: unknown;
1225
1760
  key: string;
1226
- target: "global" | "player";
1227
1761
  }, {
1228
1762
  value?: unknown;
1229
1763
  key: string;
1230
- target: "global" | "player";
1231
1764
  }>;
1232
1765
  }, "strip", z.ZodTypeAny, {
1233
1766
  type: "setVariable";
1234
1767
  data: {
1235
1768
  value?: unknown;
1236
1769
  key: string;
1237
- target: "global" | "player";
1238
1770
  };
1239
1771
  }, {
1240
1772
  type: "setVariable";
1241
1773
  data: {
1242
1774
  value?: unknown;
1243
1775
  key: string;
1244
- target: "global" | "player";
1776
+ };
1777
+ }>, z.ZodObject<{
1778
+ type: z.ZodLiteral<"setPlayerVariable">;
1779
+ data: z.ZodObject<{
1780
+ key: z.ZodString;
1781
+ value: z.ZodUnknown;
1782
+ }, "strip", z.ZodTypeAny, {
1783
+ value?: unknown;
1784
+ key: string;
1785
+ }, {
1786
+ value?: unknown;
1787
+ key: string;
1788
+ }>;
1789
+ }, "strip", z.ZodTypeAny, {
1790
+ type: "setPlayerVariable";
1791
+ data: {
1792
+ value?: unknown;
1793
+ key: string;
1794
+ };
1795
+ }, {
1796
+ type: "setPlayerVariable";
1797
+ data: {
1798
+ value?: unknown;
1799
+ key: string;
1800
+ };
1801
+ }>, z.ZodObject<{
1802
+ type: z.ZodLiteral<"setSharedPlayerVariable">;
1803
+ data: z.ZodObject<{
1804
+ key: z.ZodString;
1805
+ value: z.ZodUnknown;
1806
+ playerId: z.ZodNumber;
1807
+ }, "strip", z.ZodTypeAny, {
1808
+ value?: unknown;
1809
+ playerId: number;
1810
+ key: string;
1811
+ }, {
1812
+ value?: unknown;
1813
+ playerId: number;
1814
+ key: string;
1815
+ }>;
1816
+ }, "strip", z.ZodTypeAny, {
1817
+ type: "setSharedPlayerVariable";
1818
+ data: {
1819
+ value?: unknown;
1820
+ playerId: number;
1821
+ key: string;
1822
+ };
1823
+ }, {
1824
+ type: "setSharedPlayerVariable";
1825
+ data: {
1826
+ value?: unknown;
1827
+ playerId: number;
1828
+ key: string;
1245
1829
  };
1246
1830
  }>, z.ZodObject<{
1247
1831
  type: z.ZodLiteral<"messageTriggered">;
@@ -1262,6 +1846,351 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
1262
1846
  data: {
1263
1847
  uuid: string;
1264
1848
  };
1849
+ }>, z.ZodObject<{
1850
+ type: z.ZodLiteral<"leaveMuc">;
1851
+ data: z.ZodObject<{
1852
+ url: z.ZodString;
1853
+ }, "strip", z.ZodTypeAny, {
1854
+ url: string;
1855
+ }, {
1856
+ url: string;
1857
+ }>;
1858
+ }, "strip", z.ZodTypeAny, {
1859
+ type: "leaveMuc";
1860
+ data: {
1861
+ url: string;
1862
+ };
1863
+ }, {
1864
+ type: "leaveMuc";
1865
+ data: {
1866
+ url: string;
1867
+ };
1868
+ }>, z.ZodObject<{
1869
+ type: z.ZodLiteral<"joinMuc">;
1870
+ data: z.ZodObject<{
1871
+ url: z.ZodString;
1872
+ name: z.ZodString;
1873
+ type: z.ZodString;
1874
+ subscribe: z.ZodBoolean;
1875
+ }, "strip", z.ZodTypeAny, {
1876
+ type: string;
1877
+ url: string;
1878
+ name: string;
1879
+ subscribe: boolean;
1880
+ }, {
1881
+ type: string;
1882
+ url: string;
1883
+ name: string;
1884
+ subscribe: boolean;
1885
+ }>;
1886
+ }, "strip", z.ZodTypeAny, {
1887
+ type: "joinMuc";
1888
+ data: {
1889
+ type: string;
1890
+ url: string;
1891
+ name: string;
1892
+ subscribe: boolean;
1893
+ };
1894
+ }, {
1895
+ type: "joinMuc";
1896
+ data: {
1897
+ type: string;
1898
+ url: string;
1899
+ name: string;
1900
+ subscribe: boolean;
1901
+ };
1902
+ }>, z.ZodObject<{
1903
+ type: z.ZodLiteral<"addRemotePlayer">;
1904
+ data: z.ZodObject<{
1905
+ playerId: z.ZodNumber;
1906
+ name: z.ZodString;
1907
+ userUuid: z.ZodString;
1908
+ availabilityStatus: z.ZodString;
1909
+ outlineColor: z.ZodOptional<z.ZodNumber>;
1910
+ position: z.ZodObject<{
1911
+ x: z.ZodNumber;
1912
+ y: z.ZodNumber;
1913
+ }, "strip", z.ZodTypeAny, {
1914
+ x: number;
1915
+ y: number;
1916
+ }, {
1917
+ x: number;
1918
+ y: number;
1919
+ }>;
1920
+ variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
1921
+ }, "strip", z.ZodTypeAny, {
1922
+ outlineColor?: number | undefined;
1923
+ position: {
1924
+ x: number;
1925
+ y: number;
1926
+ };
1927
+ name: string;
1928
+ playerId: number;
1929
+ variables: Map<string, unknown>;
1930
+ userUuid: string;
1931
+ availabilityStatus: string;
1932
+ }, {
1933
+ outlineColor?: number | undefined;
1934
+ position: {
1935
+ x: number;
1936
+ y: number;
1937
+ };
1938
+ name: string;
1939
+ playerId: number;
1940
+ variables: Map<string, unknown>;
1941
+ userUuid: string;
1942
+ availabilityStatus: string;
1943
+ }>;
1944
+ }, "strip", z.ZodTypeAny, {
1945
+ type: "addRemotePlayer";
1946
+ data: {
1947
+ outlineColor?: number | undefined;
1948
+ position: {
1949
+ x: number;
1950
+ y: number;
1951
+ };
1952
+ name: string;
1953
+ playerId: number;
1954
+ variables: Map<string, unknown>;
1955
+ userUuid: string;
1956
+ availabilityStatus: string;
1957
+ };
1958
+ }, {
1959
+ type: "addRemotePlayer";
1960
+ data: {
1961
+ outlineColor?: number | undefined;
1962
+ position: {
1963
+ x: number;
1964
+ y: number;
1965
+ };
1966
+ name: string;
1967
+ playerId: number;
1968
+ variables: Map<string, unknown>;
1969
+ userUuid: string;
1970
+ availabilityStatus: string;
1971
+ };
1972
+ }>, z.ZodObject<{
1973
+ type: z.ZodLiteral<"removeRemotePlayer">;
1974
+ data: z.ZodNumber;
1975
+ }, "strip", z.ZodTypeAny, {
1976
+ type: "removeRemotePlayer";
1977
+ data: number;
1978
+ }, {
1979
+ type: "removeRemotePlayer";
1980
+ data: number;
1981
+ }>, z.ZodObject<{
1982
+ type: z.ZodLiteral<"remotePlayerChanged">;
1983
+ data: z.ZodObject<{
1984
+ position: z.ZodOptional<z.ZodObject<{
1985
+ x: z.ZodNumber;
1986
+ y: z.ZodNumber;
1987
+ }, "strip", z.ZodTypeAny, {
1988
+ x: number;
1989
+ y: number;
1990
+ }, {
1991
+ x: number;
1992
+ y: number;
1993
+ }>>;
1994
+ name: z.ZodOptional<z.ZodString>;
1995
+ playerId: z.ZodNumber;
1996
+ variables: z.ZodOptional<z.ZodMap<z.ZodString, z.ZodUnknown>>;
1997
+ availabilityStatus: z.ZodOptional<z.ZodString>;
1998
+ outlineColor: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1999
+ }, "strip", z.ZodTypeAny, {
2000
+ position?: {
2001
+ x: number;
2002
+ y: number;
2003
+ } | undefined;
2004
+ name?: string | undefined;
2005
+ variables?: Map<string, unknown> | undefined;
2006
+ availabilityStatus?: string | undefined;
2007
+ outlineColor?: number | undefined;
2008
+ playerId: number;
2009
+ }, {
2010
+ position?: {
2011
+ x: number;
2012
+ y: number;
2013
+ } | undefined;
2014
+ name?: string | undefined;
2015
+ variables?: Map<string, unknown> | undefined;
2016
+ availabilityStatus?: string | undefined;
2017
+ outlineColor?: number | undefined;
2018
+ playerId: number;
2019
+ }>;
2020
+ }, "strip", z.ZodTypeAny, {
2021
+ type: "remotePlayerChanged";
2022
+ data: {
2023
+ position?: {
2024
+ x: number;
2025
+ y: number;
2026
+ } | undefined;
2027
+ name?: string | undefined;
2028
+ variables?: Map<string, unknown> | undefined;
2029
+ availabilityStatus?: string | undefined;
2030
+ outlineColor?: number | undefined;
2031
+ playerId: number;
2032
+ };
2033
+ }, {
2034
+ type: "remotePlayerChanged";
2035
+ data: {
2036
+ position?: {
2037
+ x: number;
2038
+ y: number;
2039
+ } | undefined;
2040
+ name?: string | undefined;
2041
+ variables?: Map<string, unknown> | undefined;
2042
+ availabilityStatus?: string | undefined;
2043
+ outlineColor?: number | undefined;
2044
+ playerId: number;
2045
+ };
2046
+ }>, z.ZodObject<{
2047
+ type: z.ZodLiteral<"settings">;
2048
+ data: z.ZodObject<{
2049
+ notification: z.ZodBoolean;
2050
+ chatSounds: z.ZodBoolean;
2051
+ }, "strip", z.ZodTypeAny, {
2052
+ notification: boolean;
2053
+ chatSounds: boolean;
2054
+ }, {
2055
+ notification: boolean;
2056
+ chatSounds: boolean;
2057
+ }>;
2058
+ }, "strip", z.ZodTypeAny, {
2059
+ type: "settings";
2060
+ data: {
2061
+ notification: boolean;
2062
+ chatSounds: boolean;
2063
+ };
2064
+ }, {
2065
+ type: "settings";
2066
+ data: {
2067
+ notification: boolean;
2068
+ chatSounds: boolean;
2069
+ };
2070
+ }>, z.ZodObject<{
2071
+ type: z.ZodLiteral<"chatVisibility">;
2072
+ data: z.ZodObject<{
2073
+ visibility: z.ZodBoolean;
2074
+ }, "strip", z.ZodTypeAny, {
2075
+ visibility: boolean;
2076
+ }, {
2077
+ visibility: boolean;
2078
+ }>;
2079
+ }, "strip", z.ZodTypeAny, {
2080
+ type: "chatVisibility";
2081
+ data: {
2082
+ visibility: boolean;
2083
+ };
2084
+ }, {
2085
+ type: "chatVisibility";
2086
+ data: {
2087
+ visibility: boolean;
2088
+ };
2089
+ }>, z.ZodObject<{
2090
+ type: z.ZodLiteral<"availabilityStatus">;
2091
+ data: z.ZodNumber;
2092
+ }, "strip", z.ZodTypeAny, {
2093
+ type: "availabilityStatus";
2094
+ data: number;
2095
+ }, {
2096
+ type: "availabilityStatus";
2097
+ data: number;
2098
+ }>, z.ZodObject<{
2099
+ type: z.ZodLiteral<"peerConnectionStatus">;
2100
+ data: z.ZodBoolean;
2101
+ }, "strip", z.ZodTypeAny, {
2102
+ type: "peerConnectionStatus";
2103
+ data: boolean;
2104
+ }, {
2105
+ type: "peerConnectionStatus";
2106
+ data: boolean;
2107
+ }>, z.ZodObject<{
2108
+ type: z.ZodLiteral<"comingUser">;
2109
+ data: z.ZodObject<{
2110
+ type: z.ZodNativeEnum<typeof import("./ChatEvent").ChatMessageTypes>;
2111
+ date: z.ZodDate;
2112
+ author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2113
+ targets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodString>, "many">>>;
2114
+ text: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodString>, "many">>>;
2115
+ }, "strip", z.ZodTypeAny, {
2116
+ author?: string | null | undefined;
2117
+ text?: (string | null)[] | null | undefined;
2118
+ targets?: (string | null)[] | null | undefined;
2119
+ type: import("./ChatEvent").ChatMessageTypes;
2120
+ date: Date;
2121
+ }, {
2122
+ author?: string | null | undefined;
2123
+ text?: (string | null)[] | null | undefined;
2124
+ targets?: (string | null)[] | null | undefined;
2125
+ type: import("./ChatEvent").ChatMessageTypes;
2126
+ date: Date;
2127
+ }>;
2128
+ }, "strip", z.ZodTypeAny, {
2129
+ type: "comingUser";
2130
+ data: {
2131
+ author?: string | null | undefined;
2132
+ text?: (string | null)[] | null | undefined;
2133
+ targets?: (string | null)[] | null | undefined;
2134
+ type: import("./ChatEvent").ChatMessageTypes;
2135
+ date: Date;
2136
+ };
2137
+ }, {
2138
+ type: "comingUser";
2139
+ data: {
2140
+ author?: string | null | undefined;
2141
+ text?: (string | null)[] | null | undefined;
2142
+ targets?: (string | null)[] | null | undefined;
2143
+ type: import("./ChatEvent").ChatMessageTypes;
2144
+ date: Date;
2145
+ };
2146
+ }>, z.ZodObject<{
2147
+ type: z.ZodLiteral<"addChatMessage">;
2148
+ data: z.ZodObject<{
2149
+ type: z.ZodNativeEnum<typeof import("./ChatEvent").ChatMessageTypes>;
2150
+ date: z.ZodDate;
2151
+ author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2152
+ targets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodString>, "many">>>;
2153
+ text: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodString>, "many">>>;
2154
+ }, "strip", z.ZodTypeAny, {
2155
+ author?: string | null | undefined;
2156
+ text?: (string | null)[] | null | undefined;
2157
+ targets?: (string | null)[] | null | undefined;
2158
+ type: import("./ChatEvent").ChatMessageTypes;
2159
+ date: Date;
2160
+ }, {
2161
+ author?: string | null | undefined;
2162
+ text?: (string | null)[] | null | undefined;
2163
+ targets?: (string | null)[] | null | undefined;
2164
+ type: import("./ChatEvent").ChatMessageTypes;
2165
+ date: Date;
2166
+ }>;
2167
+ }, "strip", z.ZodTypeAny, {
2168
+ type: "addChatMessage";
2169
+ data: {
2170
+ author?: string | null | undefined;
2171
+ text?: (string | null)[] | null | undefined;
2172
+ targets?: (string | null)[] | null | undefined;
2173
+ type: import("./ChatEvent").ChatMessageTypes;
2174
+ date: Date;
2175
+ };
2176
+ }, {
2177
+ type: "addChatMessage";
2178
+ data: {
2179
+ author?: string | null | undefined;
2180
+ text?: (string | null)[] | null | undefined;
2181
+ targets?: (string | null)[] | null | undefined;
2182
+ type: import("./ChatEvent").ChatMessageTypes;
2183
+ date: Date;
2184
+ };
2185
+ }>, z.ZodObject<{
2186
+ type: z.ZodLiteral<"updateWritingStatusChatList">;
2187
+ data: z.ZodArray<z.ZodNullable<z.ZodString>, "many">;
2188
+ }, "strip", z.ZodTypeAny, {
2189
+ type: "updateWritingStatusChatList";
2190
+ data: (string | null)[];
2191
+ }, {
2192
+ type: "updateWritingStatusChatList";
2193
+ data: (string | null)[];
1265
2194
  }>]>;
1266
2195
  export declare type IframeResponseEvent = z.infer<typeof isIframeResponseEvent>;
1267
2196
  export declare const isLookingLikeIframeEventWrapper: z.ZodObject<{
@@ -1286,30 +2215,36 @@ export declare const iframeQueryMapTypeGuards: {
1286
2215
  mapUrl: z.ZodString;
1287
2216
  nickname: z.ZodString;
1288
2217
  language: z.ZodOptional<z.ZodString>;
2218
+ playerId: z.ZodOptional<z.ZodNumber>;
1289
2219
  uuid: z.ZodOptional<z.ZodString>;
1290
2220
  startLayerName: z.ZodOptional<z.ZodString>;
1291
2221
  tags: z.ZodArray<z.ZodString, "many">;
1292
2222
  variables: z.ZodUnknown;
1293
2223
  playerVariables: z.ZodUnknown;
1294
2224
  userRoomToken: z.ZodOptional<z.ZodString>;
2225
+ metadata: z.ZodOptional<z.ZodUnknown>;
1295
2226
  }, "strip", z.ZodTypeAny, {
1296
2227
  language?: string | undefined;
2228
+ playerId?: number | undefined;
1297
2229
  uuid?: string | undefined;
1298
2230
  startLayerName?: string | undefined;
1299
2231
  variables?: unknown;
1300
2232
  playerVariables?: unknown;
1301
2233
  userRoomToken?: string | undefined;
2234
+ metadata?: unknown;
1302
2235
  roomId: string;
1303
2236
  mapUrl: string;
1304
2237
  nickname: string;
1305
2238
  tags: string[];
1306
2239
  }, {
1307
2240
  language?: string | undefined;
2241
+ playerId?: number | undefined;
1308
2242
  uuid?: string | undefined;
1309
2243
  startLayerName?: string | undefined;
1310
2244
  variables?: unknown;
1311
2245
  playerVariables?: unknown;
1312
2246
  userRoomToken?: string | undefined;
2247
+ metadata?: unknown;
1313
2248
  roomId: string;
1314
2249
  mapUrl: string;
1315
2250
  nickname: string;
@@ -1330,15 +2265,37 @@ export declare const iframeQueryMapTypeGuards: {
1330
2265
  query: z.ZodObject<{
1331
2266
  key: z.ZodString;
1332
2267
  value: z.ZodUnknown;
1333
- target: z.ZodEnum<["global", "player"]>;
1334
2268
  }, "strip", z.ZodTypeAny, {
1335
2269
  value?: unknown;
1336
2270
  key: string;
1337
- target: "global" | "player";
1338
2271
  }, {
1339
2272
  value?: unknown;
1340
2273
  key: string;
1341
- target: "global" | "player";
2274
+ }>;
2275
+ answer: z.ZodUndefined;
2276
+ };
2277
+ setPlayerVariable: {
2278
+ query: z.ZodObject<{
2279
+ key: z.ZodString;
2280
+ value: z.ZodUnknown;
2281
+ public: z.ZodBoolean;
2282
+ persist: z.ZodBoolean;
2283
+ ttl: z.ZodOptional<z.ZodNumber>;
2284
+ scope: z.ZodUnion<[z.ZodLiteral<"room">, z.ZodLiteral<"world">]>;
2285
+ }, "strip", z.ZodTypeAny, {
2286
+ value?: unknown;
2287
+ ttl?: number | undefined;
2288
+ key: string;
2289
+ public: boolean;
2290
+ persist: boolean;
2291
+ scope: "room" | "world";
2292
+ }, {
2293
+ value?: unknown;
2294
+ ttl?: number | undefined;
2295
+ key: string;
2296
+ public: boolean;
2297
+ persist: boolean;
2298
+ scope: "room" | "world";
1342
2299
  }>;
1343
2300
  answer: z.ZodUndefined;
1344
2301
  };
@@ -1932,6 +2889,58 @@ export declare const iframeQueryMapTypeGuards: {
1932
2889
  };
1933
2890
  }>, "many">;
1934
2891
  };
2892
+ enablePlayersTracking: {
2893
+ query: z.ZodObject<{
2894
+ players: z.ZodBoolean;
2895
+ movement: z.ZodBoolean;
2896
+ }, "strip", z.ZodTypeAny, {
2897
+ players: boolean;
2898
+ movement: boolean;
2899
+ }, {
2900
+ players: boolean;
2901
+ movement: boolean;
2902
+ }>;
2903
+ answer: z.ZodArray<z.ZodObject<{
2904
+ playerId: z.ZodNumber;
2905
+ name: z.ZodString;
2906
+ userUuid: z.ZodString;
2907
+ availabilityStatus: z.ZodString;
2908
+ outlineColor: z.ZodOptional<z.ZodNumber>;
2909
+ position: z.ZodObject<{
2910
+ x: z.ZodNumber;
2911
+ y: z.ZodNumber;
2912
+ }, "strip", z.ZodTypeAny, {
2913
+ x: number;
2914
+ y: number;
2915
+ }, {
2916
+ x: number;
2917
+ y: number;
2918
+ }>;
2919
+ variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
2920
+ }, "strip", z.ZodTypeAny, {
2921
+ outlineColor?: number | undefined;
2922
+ position: {
2923
+ x: number;
2924
+ y: number;
2925
+ };
2926
+ name: string;
2927
+ playerId: number;
2928
+ variables: Map<string, unknown>;
2929
+ userUuid: string;
2930
+ availabilityStatus: string;
2931
+ }, {
2932
+ outlineColor?: number | undefined;
2933
+ position: {
2934
+ x: number;
2935
+ y: number;
2936
+ };
2937
+ name: string;
2938
+ playerId: number;
2939
+ variables: Map<string, unknown>;
2940
+ userUuid: string;
2941
+ availabilityStatus: string;
2942
+ }>, "many">;
2943
+ };
1935
2944
  };
1936
2945
  declare type IframeQueryMapTypeGuardsType = typeof iframeQueryMapTypeGuards;
1937
2946
  declare type UnknownToVoid<T> = undefined extends T ? void : T;
@@ -1949,15 +2958,15 @@ export interface IframeQueryWrapper<T extends keyof IframeQueryMap> {
1949
2958
  id: number;
1950
2959
  query: IframeQuery<T>;
1951
2960
  }
1952
- export declare const isIframeQueryKey: (type: string) => type is "setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites";
1953
- export declare const isIframeQuery: (event: any) => event is IframeQuery<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites">;
1954
- export declare const isIframeQueryWrapper: (event: any) => event is IframeQueryWrapper<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites">;
2961
+ export declare const isIframeQueryKey: (type: string) => type is "setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "enablePlayersTracking";
2962
+ export declare const isIframeQuery: (event: any) => event is IframeQuery<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "enablePlayersTracking">;
2963
+ export declare const isIframeQueryWrapper: (event: any) => event is IframeQueryWrapper<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "enablePlayersTracking">;
1955
2964
  export interface IframeAnswerEvent<T extends keyof IframeQueryMap> {
1956
2965
  id: number;
1957
2966
  type: T;
1958
2967
  data: IframeQueryMap[T]["answer"];
1959
2968
  }
1960
- export declare const isIframeAnswerEvent: (event: any) => event is IframeAnswerEvent<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites">;
2969
+ export declare const isIframeAnswerEvent: (event: any) => event is IframeAnswerEvent<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "enablePlayersTracking">;
1961
2970
  export declare const isIframeErrorAnswerEvent: z.ZodObject<{
1962
2971
  id: z.ZodNumber;
1963
2972
  type: z.ZodString;