@workadventure/iframe-api-typings 1.25.6 → 1.25.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/iframe_api.d.ts +1 -111
- package/libs/shared-utils/src/Events/ChatEvent.d.ts +168 -0
- package/package.json +2 -2
- package/{Api → play/src/front/Api}/Events/ActionsMenuActionClickedEvent.d.ts +2 -2
- package/{Api → play/src/front/Api}/Events/AddActionsMenuKeyToRemotePlayerEvent.d.ts +2 -2
- package/{Api → play/src/front/Api}/Events/AddPlayerEvent.d.ts +17 -11
- package/{Api → play/src/front/Api}/Events/AskPositionEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/ButtonClickedEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/CameraFollowPlayerEvent.d.ts +4 -1
- package/{Api → play/src/front/Api}/Events/CameraSetEvent.d.ts +8 -5
- package/{Api → play/src/front/Api}/Events/ChangeAreaEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/ChangeLayerEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/ChatVisibilityEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/ClosePopupEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/ColorEvent.d.ts +1 -1
- package/{Api/Events/CreateAreaEvent.d.ts → play/src/front/Api/Events/CreateDynamicAreaEvent.d.ts} +14 -14
- package/{Api → play/src/front/Api}/Events/EmbeddedWebsiteEvent.d.ts +32 -32
- package/{Api → play/src/front/Api}/Events/EnablePlayersTrackingEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/EnterLeaveEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/GameStateEvent.d.ts +17 -8
- package/{Api → play/src/front/Api}/Events/GoToPageEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/HasPlayerMovedEvent.d.ts +5 -5
- package/{Api → play/src/front/Api}/Events/IframeEvent.d.ts +1849 -486
- package/{Api → play/src/front/Api}/Events/JoinMucEvent.d.ts +3 -3
- package/{Api → play/src/front/Api}/Events/LayerEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/LeaveMucEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/LoadPageEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/LoadSoundEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/LoadTilesetEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/MapDataEvent.d.ts +1 -1
- package/play/src/front/Api/Events/ModalEvent.d.ts +27 -0
- package/{Api → play/src/front/Api}/Events/MovePlayerToEvent.d.ts +3 -3
- package/{Api → play/src/front/Api}/Events/MovePlayerToEventAnswer.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/OpenCoWebsiteEvent.d.ts +3 -3
- package/{Api → play/src/front/Api}/Events/OpenPopupEvent.d.ts +7 -7
- package/{Api → play/src/front/Api}/Events/OpenTabEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/PlaySoundEvent.d.ts +3 -3
- package/{Api → play/src/front/Api}/Events/PlayerPosition.d.ts +1 -1
- package/play/src/front/Api/Events/ProximityMeeting/AppendPCMDataEvent.d.ts +14 -0
- package/{Api → play/src/front/Api}/Events/ProximityMeeting/JoinProximityMeetingEvent.d.ts +14 -9
- package/{Api → play/src/front/Api}/Events/ProximityMeeting/ParticipantProximityMeetingEvent.d.ts +14 -9
- package/play/src/front/Api/Events/ProximityMeeting/PlaySoundInBubbleEvent.d.ts +12 -0
- package/play/src/front/Api/Events/ProximityMeeting/StartStreamInBubbleEvent.d.ts +13 -0
- package/play/src/front/Api/Events/ReceiveEventEvent.d.ts +48 -0
- package/{Api → play/src/front/Api}/Events/RemoveActionsMenuKeyFromRemotePlayerEvent.d.ts +2 -2
- package/play/src/front/Api/Events/SendEventEvent.d.ts +48 -0
- package/{Api → play/src/front/Api}/Events/SetAreaPropertyEvent.d.ts +3 -3
- package/{Api → play/src/front/Api}/Events/SetPlayerVariableEvent.d.ts +6 -6
- package/{Api → play/src/front/Api}/Events/SetPropertyEvent.d.ts +3 -3
- package/{Api → play/src/front/Api}/Events/SetSharedPlayerVariableEvent.d.ts +4 -4
- package/{Api → play/src/front/Api}/Events/SetTilesEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/SetVariableEvent.d.ts +7 -7
- package/play/src/front/Api/Events/SettingsEvent.d.ts +24 -0
- package/{Api → play/src/front/Api}/Events/ShowBusinessCardEvent.d.ts +1 -1
- package/{Api → play/src/front/Api}/Events/StopSoundEvent.d.ts +1 -1
- package/play/src/front/Api/Events/TeleportPlayerToEvent.d.ts +12 -0
- package/play/src/front/Api/Events/Ui/BannerEvent.d.ts +42 -0
- package/play/src/front/Api/Events/Ui/ButtonActionBarEvent.d.ts +38 -0
- package/{Api/Events/Ui/MenuRegisterEvent.d.ts → play/src/front/Api/Events/Ui/MenuEvents.d.ts} +29 -7
- package/{Api → play/src/front/Api}/Events/Ui/MenuItemClickedEvent.d.ts +1 -1
- package/play/src/front/Api/Events/Ui/PlayVideoEvent.d.ts +67 -0
- package/{Api → play/src/front/Api}/Events/Ui/TriggerActionMessageEvent.d.ts +3 -3
- package/play/src/front/Api/Events/Ui/TriggerPlayerMessageEvent.d.ts +27 -0
- package/{Api/Events/Ui/UIWebsite.d.ts → play/src/front/Api/Events/Ui/UIWebsiteEvent.d.ts} +95 -95
- package/{Api → play/src/front/Api}/Events/UserInputChatEvent.d.ts +4 -1
- package/play/src/front/Api/Events/WamMapDataEvent.d.ts +12 -0
- package/{Api → play/src/front/Api}/Events/WasCameraUpdatedEvent.d.ts +6 -6
- package/play/src/front/Api/Iframe/AbstractEvent.d.ts +18 -0
- package/play/src/front/Api/Iframe/AbstractState.d.ts +19 -0
- package/{Api → play/src/front/Api}/Iframe/Area/Area.d.ts +5 -4
- package/{Api → play/src/front/Api}/Iframe/IframeApiContribution.d.ts +2 -2
- package/play/src/front/Api/Iframe/MapEditor/MapEditorArea.d.ts +12 -0
- package/play/src/front/Api/Iframe/Player/AudioStream.d.ts +5 -0
- package/play/src/front/Api/Iframe/Player/ProximityMeeting.d.ts +164 -0
- package/{Api → play/src/front/Api}/Iframe/Players/RemotePlayer.d.ts +14 -12
- package/play/src/front/Api/Iframe/PrivatePlayerState.d.ts +7 -0
- package/play/src/front/Api/Iframe/PublicPlayerState.d.ts +11 -0
- package/{Api → play/src/front/Api}/Iframe/Room/EmbeddedWebsite.d.ts +0 -3
- package/play/src/front/Api/Iframe/RoomState.d.ts +7 -0
- package/{Api → play/src/front/Api}/Iframe/Sound/Sound.d.ts +1 -1
- package/play/src/front/Api/Iframe/Ui/Banner.d.ts +21 -0
- package/play/src/front/Api/Iframe/Ui/ButtonActionBar.d.ts +25 -0
- package/{Api → play/src/front/Api}/Iframe/Ui/ButtonDescriptor.d.ts +1 -1
- package/play/src/front/Api/Iframe/Ui/Menu.d.ts +12 -0
- package/play/src/front/Api/Iframe/Ui/Modal.d.ts +28 -0
- package/play/src/front/Api/Iframe/Ui/PlayerMessage.d.ts +12 -0
- package/{Api → play/src/front/Api}/Iframe/Ui/UIWebsite.d.ts +11 -4
- package/play/src/front/Api/Iframe/Ui/Video.d.ts +5 -0
- package/{Api → play/src/front/Api}/Iframe/area.d.ts +9 -9
- package/{Api → play/src/front/Api}/Iframe/camera.d.ts +9 -9
- package/play/src/front/Api/Iframe/chat.d.ts +69 -0
- package/play/src/front/Api/Iframe/controls.d.ts +116 -0
- package/play/src/front/Api/Iframe/event.d.ts +15 -0
- package/play/src/front/Api/Iframe/mapEditor.d.ts +52 -0
- package/{Api → play/src/front/Api}/Iframe/nav.d.ts +9 -5
- package/{Api → play/src/front/Api}/Iframe/player.d.ts +41 -21
- package/{Api → play/src/front/Api}/Iframe/playerState.d.ts +8 -6
- package/{Api → play/src/front/Api}/Iframe/players.d.ts +30 -18
- package/{Api → play/src/front/Api}/Iframe/registeredCallbacks.d.ts +1 -1
- package/{Api → play/src/front/Api}/Iframe/room.d.ts +23 -16
- package/{Api → play/src/front/Api}/Iframe/sound.d.ts +1 -1
- package/{Api → play/src/front/Api}/Iframe/state.d.ts +5 -6
- package/{Api → play/src/front/Api}/Iframe/ui.d.ts +50 -8
- package/{Api → play/src/front/Api}/Iframe/website.d.ts +4 -4
- package/play/src/front/Api/types.d.ts +3 -0
- package/play/src/iframe_api.d.ts +130 -0
- package/Api/Events/ChatEvent.d.ts +0 -44
- package/Api/Events/NotificationEvent.d.ts +0 -18
- package/Api/Events/SettingsEvent.d.ts +0 -12
- package/Api/Iframe/AbstractState.d.ts +0 -14
- package/Api/Iframe/Player/ProximityMeeting.d.ts +0 -85
- package/Api/Iframe/Ui/Menu.d.ts +0 -8
- package/Api/Iframe/chat.d.ts +0 -36
- package/Api/Iframe/controls.d.ts +0 -56
- package/Api/types.d.ts +0 -3
- /package/{Api → play/src/front/Api}/Iframe/Ui/ActionMessage.d.ts +0 -0
- /package/{Api → play/src/front/Api}/Iframe/Ui/Popup.d.ts +0 -0
|
@@ -76,44 +76,117 @@ 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
|
-
|
|
79
|
+
options: z.ZodUnion<[z.ZodObject<{
|
|
80
|
+
scope: z.ZodLiteral<"local">;
|
|
81
|
+
author: z.ZodOptional<z.ZodString>;
|
|
82
|
+
}, "strip", z.ZodTypeAny, {
|
|
83
|
+
scope: "local";
|
|
84
|
+
author?: string | undefined;
|
|
85
|
+
}, {
|
|
86
|
+
scope: "local";
|
|
87
|
+
author?: string | undefined;
|
|
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
|
-
|
|
97
|
+
options: {
|
|
98
|
+
scope: "local";
|
|
99
|
+
author?: string | undefined;
|
|
100
|
+
} | {
|
|
101
|
+
scope: "bubble";
|
|
102
|
+
};
|
|
83
103
|
}, {
|
|
84
104
|
message: string;
|
|
85
|
-
|
|
105
|
+
options: {
|
|
106
|
+
scope: "local";
|
|
107
|
+
author?: string | undefined;
|
|
108
|
+
} | {
|
|
109
|
+
scope: "bubble";
|
|
110
|
+
};
|
|
86
111
|
}>;
|
|
87
112
|
}, "strip", z.ZodTypeAny, {
|
|
88
113
|
type: "chat";
|
|
89
114
|
data: {
|
|
90
115
|
message: string;
|
|
91
|
-
|
|
116
|
+
options: {
|
|
117
|
+
scope: "local";
|
|
118
|
+
author?: string | undefined;
|
|
119
|
+
} | {
|
|
120
|
+
scope: "bubble";
|
|
121
|
+
};
|
|
92
122
|
};
|
|
93
123
|
}, {
|
|
94
124
|
type: "chat";
|
|
95
125
|
data: {
|
|
96
126
|
message: string;
|
|
97
|
-
|
|
127
|
+
options: {
|
|
128
|
+
scope: "local";
|
|
129
|
+
author?: string | undefined;
|
|
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">;
|
|
101
174
|
data: z.ZodUndefined;
|
|
102
175
|
}, "strip", z.ZodTypeAny, {
|
|
103
|
-
data?: undefined;
|
|
104
176
|
type: "openChat";
|
|
105
|
-
}, {
|
|
106
177
|
data?: undefined;
|
|
178
|
+
}, {
|
|
107
179
|
type: "openChat";
|
|
180
|
+
data?: undefined;
|
|
108
181
|
}>, z.ZodObject<{
|
|
109
182
|
type: z.ZodLiteral<"closeChat">;
|
|
110
183
|
data: z.ZodUndefined;
|
|
111
184
|
}, "strip", z.ZodTypeAny, {
|
|
112
|
-
data?: undefined;
|
|
113
185
|
type: "closeChat";
|
|
114
|
-
}, {
|
|
115
186
|
data?: undefined;
|
|
187
|
+
}, {
|
|
116
188
|
type: "closeChat";
|
|
189
|
+
data?: undefined;
|
|
117
190
|
}>, z.ZodObject<{
|
|
118
191
|
type: z.ZodLiteral<"addPersonnalMessage">;
|
|
119
192
|
data: z.ZodString;
|
|
@@ -136,20 +209,25 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
136
209
|
type: z.ZodLiteral<"cameraFollowPlayer">;
|
|
137
210
|
data: z.ZodObject<{
|
|
138
211
|
smooth: z.ZodBoolean;
|
|
212
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
139
213
|
}, "strip", z.ZodTypeAny, {
|
|
140
214
|
smooth: boolean;
|
|
215
|
+
duration?: number | undefined;
|
|
141
216
|
}, {
|
|
142
217
|
smooth: boolean;
|
|
218
|
+
duration?: number | undefined;
|
|
143
219
|
}>;
|
|
144
220
|
}, "strip", z.ZodTypeAny, {
|
|
145
221
|
type: "cameraFollowPlayer";
|
|
146
222
|
data: {
|
|
147
223
|
smooth: boolean;
|
|
224
|
+
duration?: number | undefined;
|
|
148
225
|
};
|
|
149
226
|
}, {
|
|
150
227
|
type: "cameraFollowPlayer";
|
|
151
228
|
data: {
|
|
152
229
|
smooth: boolean;
|
|
230
|
+
duration?: number | undefined;
|
|
153
231
|
};
|
|
154
232
|
}>, z.ZodObject<{
|
|
155
233
|
type: z.ZodLiteral<"cameraSet">;
|
|
@@ -160,40 +238,45 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
160
238
|
height: z.ZodOptional<z.ZodNumber>;
|
|
161
239
|
lock: z.ZodBoolean;
|
|
162
240
|
smooth: z.ZodBoolean;
|
|
241
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
163
242
|
}, "strip", z.ZodTypeAny, {
|
|
164
|
-
width?: number | undefined;
|
|
165
|
-
height?: number | undefined;
|
|
166
243
|
x: number;
|
|
167
244
|
y: number;
|
|
168
245
|
lock: boolean;
|
|
169
246
|
smooth: boolean;
|
|
170
|
-
}, {
|
|
171
|
-
width?: number | undefined;
|
|
172
247
|
height?: number | undefined;
|
|
248
|
+
width?: number | undefined;
|
|
249
|
+
duration?: number | undefined;
|
|
250
|
+
}, {
|
|
173
251
|
x: number;
|
|
174
252
|
y: number;
|
|
175
253
|
lock: boolean;
|
|
176
254
|
smooth: boolean;
|
|
255
|
+
height?: number | undefined;
|
|
256
|
+
width?: number | undefined;
|
|
257
|
+
duration?: number | undefined;
|
|
177
258
|
}>;
|
|
178
259
|
}, "strip", z.ZodTypeAny, {
|
|
179
260
|
type: "cameraSet";
|
|
180
261
|
data: {
|
|
181
|
-
width?: number | undefined;
|
|
182
|
-
height?: number | undefined;
|
|
183
262
|
x: number;
|
|
184
263
|
y: number;
|
|
185
264
|
lock: boolean;
|
|
186
265
|
smooth: boolean;
|
|
266
|
+
height?: number | undefined;
|
|
267
|
+
width?: number | undefined;
|
|
268
|
+
duration?: number | undefined;
|
|
187
269
|
};
|
|
188
270
|
}, {
|
|
189
271
|
type: "cameraSet";
|
|
190
272
|
data: {
|
|
191
|
-
width?: number | undefined;
|
|
192
|
-
height?: number | undefined;
|
|
193
273
|
x: number;
|
|
194
274
|
y: number;
|
|
195
275
|
lock: boolean;
|
|
196
276
|
smooth: boolean;
|
|
277
|
+
height?: number | undefined;
|
|
278
|
+
width?: number | undefined;
|
|
279
|
+
duration?: number | undefined;
|
|
197
280
|
};
|
|
198
281
|
}>, z.ZodObject<{
|
|
199
282
|
type: z.ZodLiteral<"openPopup">;
|
|
@@ -205,27 +288,27 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
205
288
|
label: z.ZodString;
|
|
206
289
|
className: z.ZodOptional<z.ZodString>;
|
|
207
290
|
}, "strip", z.ZodTypeAny, {
|
|
208
|
-
className?: string | undefined;
|
|
209
291
|
label: string;
|
|
210
|
-
}, {
|
|
211
292
|
className?: string | undefined;
|
|
293
|
+
}, {
|
|
212
294
|
label: string;
|
|
295
|
+
className?: string | undefined;
|
|
213
296
|
}>, "many">;
|
|
214
297
|
}, "strip", z.ZodTypeAny, {
|
|
215
298
|
message: string;
|
|
216
299
|
popupId: number;
|
|
217
300
|
targetObject: string;
|
|
218
301
|
buttons: {
|
|
219
|
-
className?: string | undefined;
|
|
220
302
|
label: string;
|
|
303
|
+
className?: string | undefined;
|
|
221
304
|
}[];
|
|
222
305
|
}, {
|
|
223
306
|
message: string;
|
|
224
307
|
popupId: number;
|
|
225
308
|
targetObject: string;
|
|
226
309
|
buttons: {
|
|
227
|
-
className?: string | undefined;
|
|
228
310
|
label: string;
|
|
311
|
+
className?: string | undefined;
|
|
229
312
|
}[];
|
|
230
313
|
}>;
|
|
231
314
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -235,8 +318,8 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
235
318
|
popupId: number;
|
|
236
319
|
targetObject: string;
|
|
237
320
|
buttons: {
|
|
238
|
-
className?: string | undefined;
|
|
239
321
|
label: string;
|
|
322
|
+
className?: string | undefined;
|
|
240
323
|
}[];
|
|
241
324
|
};
|
|
242
325
|
}, {
|
|
@@ -246,8 +329,8 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
246
329
|
popupId: number;
|
|
247
330
|
targetObject: string;
|
|
248
331
|
buttons: {
|
|
249
|
-
className?: string | undefined;
|
|
250
332
|
label: string;
|
|
333
|
+
className?: string | undefined;
|
|
251
334
|
}[];
|
|
252
335
|
};
|
|
253
336
|
}>, z.ZodObject<{
|
|
@@ -311,128 +394,128 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
311
394
|
type: z.ZodLiteral<"turnOffMicrophone">;
|
|
312
395
|
data: z.ZodUndefined;
|
|
313
396
|
}, "strip", z.ZodTypeAny, {
|
|
314
|
-
data?: undefined;
|
|
315
397
|
type: "turnOffMicrophone";
|
|
316
|
-
}, {
|
|
317
398
|
data?: undefined;
|
|
399
|
+
}, {
|
|
318
400
|
type: "turnOffMicrophone";
|
|
401
|
+
data?: undefined;
|
|
319
402
|
}>, z.ZodObject<{
|
|
320
403
|
type: z.ZodLiteral<"turnOffWebcam">;
|
|
321
404
|
data: z.ZodUndefined;
|
|
322
405
|
}, "strip", z.ZodTypeAny, {
|
|
323
|
-
data?: undefined;
|
|
324
406
|
type: "turnOffWebcam";
|
|
325
|
-
}, {
|
|
326
407
|
data?: undefined;
|
|
408
|
+
}, {
|
|
327
409
|
type: "turnOffWebcam";
|
|
410
|
+
data?: undefined;
|
|
328
411
|
}>, z.ZodObject<{
|
|
329
412
|
type: z.ZodLiteral<"disableMicrophone">;
|
|
330
413
|
data: z.ZodUndefined;
|
|
331
414
|
}, "strip", z.ZodTypeAny, {
|
|
332
|
-
data?: undefined;
|
|
333
415
|
type: "disableMicrophone";
|
|
334
|
-
}, {
|
|
335
416
|
data?: undefined;
|
|
417
|
+
}, {
|
|
336
418
|
type: "disableMicrophone";
|
|
419
|
+
data?: undefined;
|
|
337
420
|
}>, z.ZodObject<{
|
|
338
421
|
type: z.ZodLiteral<"restoreMicrophone">;
|
|
339
422
|
data: z.ZodUndefined;
|
|
340
423
|
}, "strip", z.ZodTypeAny, {
|
|
341
|
-
data?: undefined;
|
|
342
424
|
type: "restoreMicrophone";
|
|
343
|
-
}, {
|
|
344
425
|
data?: undefined;
|
|
426
|
+
}, {
|
|
345
427
|
type: "restoreMicrophone";
|
|
428
|
+
data?: undefined;
|
|
346
429
|
}>, z.ZodObject<{
|
|
347
430
|
type: z.ZodLiteral<"disableWebcam">;
|
|
348
431
|
data: z.ZodUndefined;
|
|
349
432
|
}, "strip", z.ZodTypeAny, {
|
|
350
|
-
data?: undefined;
|
|
351
433
|
type: "disableWebcam";
|
|
352
|
-
}, {
|
|
353
434
|
data?: undefined;
|
|
435
|
+
}, {
|
|
354
436
|
type: "disableWebcam";
|
|
437
|
+
data?: undefined;
|
|
355
438
|
}>, z.ZodObject<{
|
|
356
439
|
type: z.ZodLiteral<"restoreWebcam">;
|
|
357
440
|
data: z.ZodUndefined;
|
|
358
441
|
}, "strip", z.ZodTypeAny, {
|
|
359
|
-
data?: undefined;
|
|
360
442
|
type: "restoreWebcam";
|
|
361
|
-
}, {
|
|
362
443
|
data?: undefined;
|
|
444
|
+
}, {
|
|
363
445
|
type: "restoreWebcam";
|
|
446
|
+
data?: undefined;
|
|
364
447
|
}>, z.ZodObject<{
|
|
365
448
|
type: z.ZodLiteral<"disablePlayerControls">;
|
|
366
449
|
data: z.ZodUndefined;
|
|
367
450
|
}, "strip", z.ZodTypeAny, {
|
|
368
|
-
data?: undefined;
|
|
369
451
|
type: "disablePlayerControls";
|
|
370
|
-
}, {
|
|
371
452
|
data?: undefined;
|
|
453
|
+
}, {
|
|
372
454
|
type: "disablePlayerControls";
|
|
455
|
+
data?: undefined;
|
|
373
456
|
}>, z.ZodObject<{
|
|
374
457
|
type: z.ZodLiteral<"restorePlayerControls">;
|
|
375
458
|
data: z.ZodUndefined;
|
|
376
459
|
}, "strip", z.ZodTypeAny, {
|
|
377
|
-
data?: undefined;
|
|
378
460
|
type: "restorePlayerControls";
|
|
379
|
-
}, {
|
|
380
461
|
data?: undefined;
|
|
462
|
+
}, {
|
|
381
463
|
type: "restorePlayerControls";
|
|
464
|
+
data?: undefined;
|
|
382
465
|
}>, z.ZodObject<{
|
|
383
466
|
type: z.ZodLiteral<"disablePlayerProximityMeeting">;
|
|
384
467
|
data: z.ZodUndefined;
|
|
385
468
|
}, "strip", z.ZodTypeAny, {
|
|
386
|
-
data?: undefined;
|
|
387
469
|
type: "disablePlayerProximityMeeting";
|
|
388
|
-
}, {
|
|
389
470
|
data?: undefined;
|
|
471
|
+
}, {
|
|
390
472
|
type: "disablePlayerProximityMeeting";
|
|
473
|
+
data?: undefined;
|
|
391
474
|
}>, z.ZodObject<{
|
|
392
475
|
type: z.ZodLiteral<"restorePlayerProximityMeeting">;
|
|
393
476
|
data: z.ZodUndefined;
|
|
394
477
|
}, "strip", z.ZodTypeAny, {
|
|
395
|
-
data?: undefined;
|
|
396
478
|
type: "restorePlayerProximityMeeting";
|
|
397
|
-
}, {
|
|
398
479
|
data?: undefined;
|
|
480
|
+
}, {
|
|
399
481
|
type: "restorePlayerProximityMeeting";
|
|
482
|
+
data?: undefined;
|
|
400
483
|
}>, z.ZodObject<{
|
|
401
484
|
type: z.ZodLiteral<"displayBubble">;
|
|
402
485
|
data: z.ZodUndefined;
|
|
403
486
|
}, "strip", z.ZodTypeAny, {
|
|
404
|
-
data?: undefined;
|
|
405
487
|
type: "displayBubble";
|
|
406
|
-
}, {
|
|
407
488
|
data?: undefined;
|
|
489
|
+
}, {
|
|
408
490
|
type: "displayBubble";
|
|
491
|
+
data?: undefined;
|
|
409
492
|
}>, z.ZodObject<{
|
|
410
493
|
type: z.ZodLiteral<"removeBubble">;
|
|
411
494
|
data: z.ZodUndefined;
|
|
412
495
|
}, "strip", z.ZodTypeAny, {
|
|
413
|
-
data?: undefined;
|
|
414
496
|
type: "removeBubble";
|
|
415
|
-
}, {
|
|
416
497
|
data?: undefined;
|
|
498
|
+
}, {
|
|
417
499
|
type: "removeBubble";
|
|
500
|
+
data?: undefined;
|
|
418
501
|
}>, z.ZodObject<{
|
|
419
502
|
type: z.ZodLiteral<"onPlayerMove">;
|
|
420
503
|
data: z.ZodUndefined;
|
|
421
504
|
}, "strip", z.ZodTypeAny, {
|
|
422
|
-
data?: undefined;
|
|
423
505
|
type: "onPlayerMove";
|
|
424
|
-
}, {
|
|
425
506
|
data?: undefined;
|
|
507
|
+
}, {
|
|
426
508
|
type: "onPlayerMove";
|
|
509
|
+
data?: undefined;
|
|
427
510
|
}>, z.ZodObject<{
|
|
428
511
|
type: z.ZodLiteral<"onCameraUpdate">;
|
|
429
512
|
data: z.ZodUndefined;
|
|
430
513
|
}, "strip", z.ZodTypeAny, {
|
|
431
|
-
data?: undefined;
|
|
432
514
|
type: "onCameraUpdate";
|
|
433
|
-
}, {
|
|
434
515
|
data?: undefined;
|
|
516
|
+
}, {
|
|
435
517
|
type: "onCameraUpdate";
|
|
518
|
+
data?: undefined;
|
|
436
519
|
}>, z.ZodObject<{
|
|
437
520
|
type: z.ZodLiteral<"showLayer">;
|
|
438
521
|
data: z.ZodObject<{
|
|
@@ -478,27 +561,27 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
478
561
|
propertyName: z.ZodString;
|
|
479
562
|
propertyValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
480
563
|
}, "strip", z.ZodTypeAny, {
|
|
481
|
-
propertyValue?: string | number | boolean | undefined;
|
|
482
564
|
layerName: string;
|
|
483
565
|
propertyName: string;
|
|
484
|
-
}, {
|
|
485
566
|
propertyValue?: string | number | boolean | undefined;
|
|
567
|
+
}, {
|
|
486
568
|
layerName: string;
|
|
487
569
|
propertyName: string;
|
|
570
|
+
propertyValue?: string | number | boolean | undefined;
|
|
488
571
|
}>;
|
|
489
572
|
}, "strip", z.ZodTypeAny, {
|
|
490
573
|
type: "setProperty";
|
|
491
574
|
data: {
|
|
492
|
-
propertyValue?: string | number | boolean | undefined;
|
|
493
575
|
layerName: string;
|
|
494
576
|
propertyName: string;
|
|
577
|
+
propertyValue?: string | number | boolean | undefined;
|
|
495
578
|
};
|
|
496
579
|
}, {
|
|
497
580
|
type: "setProperty";
|
|
498
581
|
data: {
|
|
499
|
-
propertyValue?: string | number | boolean | undefined;
|
|
500
582
|
layerName: string;
|
|
501
583
|
propertyName: string;
|
|
584
|
+
propertyValue?: string | number | boolean | undefined;
|
|
502
585
|
};
|
|
503
586
|
}>, z.ZodObject<{
|
|
504
587
|
type: z.ZodLiteral<"setAreaProperty">;
|
|
@@ -507,27 +590,27 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
507
590
|
propertyName: z.ZodString;
|
|
508
591
|
propertyValue: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
509
592
|
}, "strip", z.ZodTypeAny, {
|
|
510
|
-
propertyValue?: string | number | boolean | undefined;
|
|
511
593
|
propertyName: string;
|
|
512
594
|
areaName: string;
|
|
513
|
-
}, {
|
|
514
595
|
propertyValue?: string | number | boolean | undefined;
|
|
596
|
+
}, {
|
|
515
597
|
propertyName: string;
|
|
516
598
|
areaName: string;
|
|
599
|
+
propertyValue?: string | number | boolean | undefined;
|
|
517
600
|
}>;
|
|
518
601
|
}, "strip", z.ZodTypeAny, {
|
|
519
602
|
type: "setAreaProperty";
|
|
520
603
|
data: {
|
|
521
|
-
propertyValue?: string | number | boolean | undefined;
|
|
522
604
|
propertyName: string;
|
|
523
605
|
areaName: string;
|
|
606
|
+
propertyValue?: string | number | boolean | undefined;
|
|
524
607
|
};
|
|
525
608
|
}, {
|
|
526
609
|
type: "setAreaProperty";
|
|
527
610
|
data: {
|
|
528
|
-
propertyValue?: string | number | boolean | undefined;
|
|
529
611
|
propertyName: string;
|
|
530
612
|
areaName: string;
|
|
613
|
+
propertyValue?: string | number | boolean | undefined;
|
|
531
614
|
};
|
|
532
615
|
}>, z.ZodObject<{
|
|
533
616
|
type: z.ZodLiteral<"loadSound">;
|
|
@@ -578,6 +661,7 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
578
661
|
delay?: number | undefined;
|
|
579
662
|
}>>;
|
|
580
663
|
}, "strip", z.ZodTypeAny, {
|
|
664
|
+
url: string;
|
|
581
665
|
config?: {
|
|
582
666
|
volume?: number | undefined;
|
|
583
667
|
loop?: boolean | undefined;
|
|
@@ -587,8 +671,8 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
587
671
|
seek?: number | undefined;
|
|
588
672
|
delay?: number | undefined;
|
|
589
673
|
} | undefined;
|
|
590
|
-
url: string;
|
|
591
674
|
}, {
|
|
675
|
+
url: string;
|
|
592
676
|
config?: {
|
|
593
677
|
volume?: number | undefined;
|
|
594
678
|
loop?: boolean | undefined;
|
|
@@ -598,11 +682,11 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
598
682
|
seek?: number | undefined;
|
|
599
683
|
delay?: number | undefined;
|
|
600
684
|
} | undefined;
|
|
601
|
-
url: string;
|
|
602
685
|
}>;
|
|
603
686
|
}, "strip", z.ZodTypeAny, {
|
|
604
687
|
type: "playSound";
|
|
605
688
|
data: {
|
|
689
|
+
url: string;
|
|
606
690
|
config?: {
|
|
607
691
|
volume?: number | undefined;
|
|
608
692
|
loop?: boolean | undefined;
|
|
@@ -612,11 +696,11 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
612
696
|
seek?: number | undefined;
|
|
613
697
|
delay?: number | undefined;
|
|
614
698
|
} | undefined;
|
|
615
|
-
url: string;
|
|
616
699
|
};
|
|
617
700
|
}, {
|
|
618
701
|
type: "playSound";
|
|
619
702
|
data: {
|
|
703
|
+
url: string;
|
|
620
704
|
config?: {
|
|
621
705
|
volume?: number | undefined;
|
|
622
706
|
loop?: boolean | undefined;
|
|
@@ -626,7 +710,6 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
626
710
|
seek?: number | undefined;
|
|
627
711
|
delay?: number | undefined;
|
|
628
712
|
} | undefined;
|
|
629
|
-
url: string;
|
|
630
713
|
};
|
|
631
714
|
}>, z.ZodObject<{
|
|
632
715
|
type: z.ZodLiteral<"stopSound">;
|
|
@@ -652,62 +735,93 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
652
735
|
data: z.ZodObject<{
|
|
653
736
|
name: z.ZodString;
|
|
654
737
|
iframe: z.ZodOptional<z.ZodString>;
|
|
738
|
+
key: z.ZodString;
|
|
655
739
|
options: z.ZodObject<{
|
|
656
740
|
allowApi: z.ZodBoolean;
|
|
741
|
+
allow: z.ZodOptional<z.ZodString>;
|
|
657
742
|
}, "strip", z.ZodTypeAny, {
|
|
658
743
|
allowApi: boolean;
|
|
744
|
+
allow?: string | undefined;
|
|
659
745
|
}, {
|
|
660
746
|
allowApi: boolean;
|
|
747
|
+
allow?: string | undefined;
|
|
661
748
|
}>;
|
|
662
749
|
}, "strip", z.ZodTypeAny, {
|
|
663
|
-
iframe?: string | undefined;
|
|
664
750
|
options: {
|
|
665
751
|
allowApi: boolean;
|
|
752
|
+
allow?: string | undefined;
|
|
666
753
|
};
|
|
667
754
|
name: string;
|
|
668
|
-
|
|
755
|
+
key: string;
|
|
669
756
|
iframe?: string | undefined;
|
|
757
|
+
}, {
|
|
670
758
|
options: {
|
|
671
759
|
allowApi: boolean;
|
|
760
|
+
allow?: string | undefined;
|
|
672
761
|
};
|
|
673
762
|
name: string;
|
|
763
|
+
key: string;
|
|
764
|
+
iframe?: string | undefined;
|
|
674
765
|
}>;
|
|
675
766
|
}, "strip", z.ZodTypeAny, {
|
|
676
767
|
type: "registerMenu";
|
|
677
768
|
data: {
|
|
678
|
-
iframe?: string | undefined;
|
|
679
769
|
options: {
|
|
680
770
|
allowApi: boolean;
|
|
771
|
+
allow?: string | undefined;
|
|
681
772
|
};
|
|
682
773
|
name: string;
|
|
774
|
+
key: string;
|
|
775
|
+
iframe?: string | undefined;
|
|
683
776
|
};
|
|
684
777
|
}, {
|
|
685
778
|
type: "registerMenu";
|
|
686
779
|
data: {
|
|
687
|
-
iframe?: string | undefined;
|
|
688
780
|
options: {
|
|
689
781
|
allowApi: boolean;
|
|
782
|
+
allow?: string | undefined;
|
|
690
783
|
};
|
|
691
784
|
name: string;
|
|
785
|
+
key: string;
|
|
786
|
+
iframe?: string | undefined;
|
|
692
787
|
};
|
|
693
788
|
}>, z.ZodObject<{
|
|
694
789
|
type: z.ZodLiteral<"unregisterMenu">;
|
|
695
790
|
data: z.ZodObject<{
|
|
696
|
-
|
|
791
|
+
key: z.ZodString;
|
|
697
792
|
}, "strip", z.ZodTypeAny, {
|
|
698
|
-
|
|
793
|
+
key: string;
|
|
699
794
|
}, {
|
|
700
|
-
|
|
795
|
+
key: string;
|
|
701
796
|
}>;
|
|
702
797
|
}, "strip", z.ZodTypeAny, {
|
|
703
798
|
type: "unregisterMenu";
|
|
704
799
|
data: {
|
|
705
|
-
|
|
800
|
+
key: string;
|
|
706
801
|
};
|
|
707
802
|
}, {
|
|
708
803
|
type: "unregisterMenu";
|
|
709
804
|
data: {
|
|
710
|
-
|
|
805
|
+
key: string;
|
|
806
|
+
};
|
|
807
|
+
}>, z.ZodObject<{
|
|
808
|
+
type: z.ZodLiteral<"openMenu">;
|
|
809
|
+
data: z.ZodObject<{
|
|
810
|
+
key: z.ZodString;
|
|
811
|
+
}, "strip", z.ZodTypeAny, {
|
|
812
|
+
key: string;
|
|
813
|
+
}, {
|
|
814
|
+
key: string;
|
|
815
|
+
}>;
|
|
816
|
+
}, "strip", z.ZodTypeAny, {
|
|
817
|
+
type: "openMenu";
|
|
818
|
+
data: {
|
|
819
|
+
key: string;
|
|
820
|
+
};
|
|
821
|
+
}, {
|
|
822
|
+
type: "openMenu";
|
|
823
|
+
data: {
|
|
824
|
+
key: string;
|
|
711
825
|
};
|
|
712
826
|
}>, z.ZodObject<{
|
|
713
827
|
type: z.ZodLiteral<"setTiles">;
|
|
@@ -758,59 +872,59 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
758
872
|
origin: z.ZodOptional<z.ZodEnum<["player", "map"]>>;
|
|
759
873
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
760
874
|
}, "strip", z.ZodTypeAny, {
|
|
875
|
+
name: string;
|
|
761
876
|
url?: string | undefined;
|
|
877
|
+
height?: number | undefined;
|
|
878
|
+
width?: number | undefined;
|
|
762
879
|
allowApi?: boolean | undefined;
|
|
763
880
|
x?: number | undefined;
|
|
764
881
|
y?: number | undefined;
|
|
765
|
-
width?: number | undefined;
|
|
766
|
-
height?: number | undefined;
|
|
767
882
|
visible?: boolean | undefined;
|
|
768
883
|
allow?: string | undefined;
|
|
769
|
-
origin?: "
|
|
884
|
+
origin?: "map" | "player" | undefined;
|
|
770
885
|
scale?: number | undefined;
|
|
771
|
-
name: string;
|
|
772
886
|
}, {
|
|
887
|
+
name: string;
|
|
773
888
|
url?: string | undefined;
|
|
889
|
+
height?: number | undefined;
|
|
890
|
+
width?: number | undefined;
|
|
774
891
|
allowApi?: boolean | undefined;
|
|
775
892
|
x?: number | undefined;
|
|
776
893
|
y?: number | undefined;
|
|
777
|
-
width?: number | undefined;
|
|
778
|
-
height?: number | undefined;
|
|
779
894
|
visible?: boolean | undefined;
|
|
780
895
|
allow?: string | undefined;
|
|
781
|
-
origin?: "
|
|
896
|
+
origin?: "map" | "player" | undefined;
|
|
782
897
|
scale?: number | undefined;
|
|
783
|
-
name: string;
|
|
784
898
|
}>;
|
|
785
899
|
}, "strip", z.ZodTypeAny, {
|
|
786
900
|
type: "modifyEmbeddedWebsite";
|
|
787
901
|
data: {
|
|
902
|
+
name: string;
|
|
788
903
|
url?: string | undefined;
|
|
904
|
+
height?: number | undefined;
|
|
905
|
+
width?: number | undefined;
|
|
789
906
|
allowApi?: boolean | undefined;
|
|
790
907
|
x?: number | undefined;
|
|
791
908
|
y?: number | undefined;
|
|
792
|
-
width?: number | undefined;
|
|
793
|
-
height?: number | undefined;
|
|
794
909
|
visible?: boolean | undefined;
|
|
795
910
|
allow?: string | undefined;
|
|
796
|
-
origin?: "
|
|
911
|
+
origin?: "map" | "player" | undefined;
|
|
797
912
|
scale?: number | undefined;
|
|
798
|
-
name: string;
|
|
799
913
|
};
|
|
800
914
|
}, {
|
|
801
915
|
type: "modifyEmbeddedWebsite";
|
|
802
916
|
data: {
|
|
917
|
+
name: string;
|
|
803
918
|
url?: string | undefined;
|
|
919
|
+
height?: number | undefined;
|
|
920
|
+
width?: number | undefined;
|
|
804
921
|
allowApi?: boolean | undefined;
|
|
805
922
|
x?: number | undefined;
|
|
806
923
|
y?: number | undefined;
|
|
807
|
-
width?: number | undefined;
|
|
808
|
-
height?: number | undefined;
|
|
809
924
|
visible?: boolean | undefined;
|
|
810
925
|
allow?: string | undefined;
|
|
811
|
-
origin?: "
|
|
926
|
+
origin?: "map" | "player" | undefined;
|
|
812
927
|
scale?: number | undefined;
|
|
813
|
-
name: string;
|
|
814
928
|
};
|
|
815
929
|
}>, z.ZodObject<{
|
|
816
930
|
type: z.ZodLiteral<"modifyUIWebsite">;
|
|
@@ -822,116 +936,116 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
822
936
|
vertical: z.ZodEnum<["top", "middle", "bottom"]>;
|
|
823
937
|
horizontal: z.ZodEnum<["left", "middle", "right"]>;
|
|
824
938
|
}, "strip", z.ZodTypeAny, {
|
|
825
|
-
vertical: "top" | "
|
|
826
|
-
horizontal: "
|
|
939
|
+
vertical: "top" | "bottom" | "middle";
|
|
940
|
+
horizontal: "left" | "right" | "middle";
|
|
827
941
|
}, {
|
|
828
|
-
vertical: "top" | "
|
|
829
|
-
horizontal: "
|
|
942
|
+
vertical: "top" | "bottom" | "middle";
|
|
943
|
+
horizontal: "left" | "right" | "middle";
|
|
830
944
|
}>>;
|
|
831
945
|
size: z.ZodOptional<z.ZodObject<{
|
|
832
946
|
height: z.ZodString;
|
|
833
947
|
width: z.ZodString;
|
|
834
948
|
}, "strip", z.ZodTypeAny, {
|
|
835
|
-
width: string;
|
|
836
949
|
height: string;
|
|
837
|
-
}, {
|
|
838
950
|
width: string;
|
|
951
|
+
}, {
|
|
839
952
|
height: string;
|
|
953
|
+
width: string;
|
|
840
954
|
}>>;
|
|
841
955
|
margin: z.ZodOptional<z.ZodObject<{
|
|
842
|
-
top: z.ZodOptional<z.ZodString
|
|
843
|
-
bottom: z.ZodOptional<z.ZodString
|
|
844
|
-
left: z.ZodOptional<z.ZodString
|
|
845
|
-
right: z.ZodOptional<z.ZodString
|
|
956
|
+
top: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
957
|
+
bottom: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
958
|
+
left: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
959
|
+
right: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
846
960
|
}, "strip", z.ZodTypeAny, {
|
|
961
|
+
left?: string | undefined;
|
|
847
962
|
top?: string | undefined;
|
|
848
963
|
bottom?: string | undefined;
|
|
849
|
-
left?: string | undefined;
|
|
850
964
|
right?: string | undefined;
|
|
851
965
|
}, {
|
|
966
|
+
left?: string | undefined;
|
|
852
967
|
top?: string | undefined;
|
|
853
968
|
bottom?: string | undefined;
|
|
854
|
-
left?: string | undefined;
|
|
855
969
|
right?: string | undefined;
|
|
856
970
|
}>>;
|
|
857
971
|
}, "strip", z.ZodTypeAny, {
|
|
972
|
+
id: string;
|
|
858
973
|
url?: string | undefined;
|
|
859
974
|
position?: {
|
|
860
|
-
vertical: "top" | "
|
|
861
|
-
horizontal: "
|
|
975
|
+
vertical: "top" | "bottom" | "middle";
|
|
976
|
+
horizontal: "left" | "right" | "middle";
|
|
862
977
|
} | undefined;
|
|
863
978
|
visible?: boolean | undefined;
|
|
864
979
|
size?: {
|
|
865
|
-
width: string;
|
|
866
980
|
height: string;
|
|
981
|
+
width: string;
|
|
867
982
|
} | undefined;
|
|
868
983
|
margin?: {
|
|
984
|
+
left?: string | undefined;
|
|
869
985
|
top?: string | undefined;
|
|
870
986
|
bottom?: string | undefined;
|
|
871
|
-
left?: string | undefined;
|
|
872
987
|
right?: string | undefined;
|
|
873
988
|
} | undefined;
|
|
874
|
-
id: string;
|
|
875
989
|
}, {
|
|
990
|
+
id: string;
|
|
876
991
|
url?: string | undefined;
|
|
877
992
|
position?: {
|
|
878
|
-
vertical: "top" | "
|
|
879
|
-
horizontal: "
|
|
993
|
+
vertical: "top" | "bottom" | "middle";
|
|
994
|
+
horizontal: "left" | "right" | "middle";
|
|
880
995
|
} | undefined;
|
|
881
996
|
visible?: boolean | undefined;
|
|
882
997
|
size?: {
|
|
883
|
-
width: string;
|
|
884
998
|
height: string;
|
|
999
|
+
width: string;
|
|
885
1000
|
} | undefined;
|
|
886
1001
|
margin?: {
|
|
1002
|
+
left?: string | undefined;
|
|
887
1003
|
top?: string | undefined;
|
|
888
1004
|
bottom?: string | undefined;
|
|
889
|
-
left?: string | undefined;
|
|
890
1005
|
right?: string | undefined;
|
|
891
1006
|
} | undefined;
|
|
892
|
-
id: string;
|
|
893
1007
|
}>;
|
|
894
1008
|
}, "strip", z.ZodTypeAny, {
|
|
895
1009
|
type: "modifyUIWebsite";
|
|
896
1010
|
data: {
|
|
1011
|
+
id: string;
|
|
897
1012
|
url?: string | undefined;
|
|
898
1013
|
position?: {
|
|
899
|
-
vertical: "top" | "
|
|
900
|
-
horizontal: "
|
|
1014
|
+
vertical: "top" | "bottom" | "middle";
|
|
1015
|
+
horizontal: "left" | "right" | "middle";
|
|
901
1016
|
} | undefined;
|
|
902
1017
|
visible?: boolean | undefined;
|
|
903
1018
|
size?: {
|
|
904
|
-
width: string;
|
|
905
1019
|
height: string;
|
|
1020
|
+
width: string;
|
|
906
1021
|
} | undefined;
|
|
907
1022
|
margin?: {
|
|
1023
|
+
left?: string | undefined;
|
|
908
1024
|
top?: string | undefined;
|
|
909
1025
|
bottom?: string | undefined;
|
|
910
|
-
left?: string | undefined;
|
|
911
1026
|
right?: string | undefined;
|
|
912
1027
|
} | undefined;
|
|
913
|
-
id: string;
|
|
914
1028
|
};
|
|
915
1029
|
}, {
|
|
916
1030
|
type: "modifyUIWebsite";
|
|
917
1031
|
data: {
|
|
1032
|
+
id: string;
|
|
918
1033
|
url?: string | undefined;
|
|
919
1034
|
position?: {
|
|
920
|
-
vertical: "top" | "
|
|
921
|
-
horizontal: "
|
|
1035
|
+
vertical: "top" | "bottom" | "middle";
|
|
1036
|
+
horizontal: "left" | "right" | "middle";
|
|
922
1037
|
} | undefined;
|
|
923
1038
|
visible?: boolean | undefined;
|
|
924
1039
|
size?: {
|
|
925
|
-
width: string;
|
|
926
1040
|
height: string;
|
|
1041
|
+
width: string;
|
|
927
1042
|
} | undefined;
|
|
928
1043
|
margin?: {
|
|
1044
|
+
left?: string | undefined;
|
|
929
1045
|
top?: string | undefined;
|
|
930
1046
|
bottom?: string | undefined;
|
|
931
|
-
left?: string | undefined;
|
|
932
1047
|
right?: string | undefined;
|
|
933
1048
|
} | undefined;
|
|
934
|
-
id: string;
|
|
935
1049
|
};
|
|
936
1050
|
}>, z.ZodObject<{
|
|
937
1051
|
type: z.ZodLiteral<"modifyArea">;
|
|
@@ -942,35 +1056,35 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
942
1056
|
width: z.ZodOptional<z.ZodNumber>;
|
|
943
1057
|
height: z.ZodOptional<z.ZodNumber>;
|
|
944
1058
|
}, "strip", z.ZodTypeAny, {
|
|
1059
|
+
name: string;
|
|
1060
|
+
height?: number | undefined;
|
|
1061
|
+
width?: number | undefined;
|
|
945
1062
|
x?: number | undefined;
|
|
946
1063
|
y?: number | undefined;
|
|
947
|
-
width?: number | undefined;
|
|
948
|
-
height?: number | undefined;
|
|
949
|
-
name: string;
|
|
950
1064
|
}, {
|
|
1065
|
+
name: string;
|
|
1066
|
+
height?: number | undefined;
|
|
1067
|
+
width?: number | undefined;
|
|
951
1068
|
x?: number | undefined;
|
|
952
1069
|
y?: number | undefined;
|
|
953
|
-
width?: number | undefined;
|
|
954
|
-
height?: number | undefined;
|
|
955
|
-
name: string;
|
|
956
1070
|
}>;
|
|
957
1071
|
}, "strip", z.ZodTypeAny, {
|
|
958
1072
|
type: "modifyArea";
|
|
959
1073
|
data: {
|
|
1074
|
+
name: string;
|
|
1075
|
+
height?: number | undefined;
|
|
1076
|
+
width?: number | undefined;
|
|
960
1077
|
x?: number | undefined;
|
|
961
1078
|
y?: number | undefined;
|
|
962
|
-
width?: number | undefined;
|
|
963
|
-
height?: number | undefined;
|
|
964
|
-
name: string;
|
|
965
1079
|
};
|
|
966
1080
|
}, {
|
|
967
1081
|
type: "modifyArea";
|
|
968
1082
|
data: {
|
|
1083
|
+
name: string;
|
|
1084
|
+
height?: number | undefined;
|
|
1085
|
+
width?: number | undefined;
|
|
969
1086
|
x?: number | undefined;
|
|
970
1087
|
y?: number | undefined;
|
|
971
|
-
width?: number | undefined;
|
|
972
|
-
height?: number | undefined;
|
|
973
|
-
name: string;
|
|
974
1088
|
};
|
|
975
1089
|
}>, z.ZodObject<{
|
|
976
1090
|
type: z.ZodLiteral<"askPosition">;
|
|
@@ -1000,106 +1114,512 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
1000
1114
|
type: z.ZodLiteral<"openInviteMenu">;
|
|
1001
1115
|
data: z.ZodUndefined;
|
|
1002
1116
|
}, "strip", z.ZodTypeAny, {
|
|
1117
|
+
type: "openInviteMenu";
|
|
1003
1118
|
data?: undefined;
|
|
1119
|
+
}, {
|
|
1004
1120
|
type: "openInviteMenu";
|
|
1121
|
+
data?: undefined;
|
|
1122
|
+
}>, z.ZodObject<{
|
|
1123
|
+
type: z.ZodLiteral<"login">;
|
|
1124
|
+
data: z.ZodUndefined;
|
|
1125
|
+
}, "strip", z.ZodTypeAny, {
|
|
1126
|
+
type: "login";
|
|
1127
|
+
data?: undefined;
|
|
1005
1128
|
}, {
|
|
1129
|
+
type: "login";
|
|
1006
1130
|
data?: undefined;
|
|
1007
|
-
type: "openInviteMenu";
|
|
1008
1131
|
}>, z.ZodObject<{
|
|
1009
|
-
type: z.ZodLiteral<"
|
|
1010
|
-
data: z.
|
|
1132
|
+
type: z.ZodLiteral<"refresh">;
|
|
1133
|
+
data: z.ZodUndefined;
|
|
1011
1134
|
}, "strip", z.ZodTypeAny, {
|
|
1012
|
-
type: "
|
|
1013
|
-
data
|
|
1135
|
+
type: "refresh";
|
|
1136
|
+
data?: undefined;
|
|
1014
1137
|
}, {
|
|
1015
|
-
type: "
|
|
1016
|
-
data
|
|
1138
|
+
type: "refresh";
|
|
1139
|
+
data?: undefined;
|
|
1017
1140
|
}>, z.ZodObject<{
|
|
1018
|
-
type: z.ZodLiteral<"
|
|
1141
|
+
type: z.ZodLiteral<"showBusinessCard">;
|
|
1019
1142
|
data: z.ZodObject<{
|
|
1020
|
-
|
|
1021
|
-
notificationType: z.ZodNumber;
|
|
1022
|
-
forum: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1143
|
+
visitCardUrl: z.ZodString;
|
|
1023
1144
|
}, "strip", z.ZodTypeAny, {
|
|
1024
|
-
|
|
1025
|
-
userName: string;
|
|
1026
|
-
notificationType: number;
|
|
1145
|
+
visitCardUrl: string;
|
|
1027
1146
|
}, {
|
|
1028
|
-
|
|
1029
|
-
userName: string;
|
|
1030
|
-
notificationType: number;
|
|
1147
|
+
visitCardUrl: string;
|
|
1031
1148
|
}>;
|
|
1032
1149
|
}, "strip", z.ZodTypeAny, {
|
|
1033
|
-
type: "
|
|
1150
|
+
type: "showBusinessCard";
|
|
1034
1151
|
data: {
|
|
1035
|
-
|
|
1036
|
-
userName: string;
|
|
1037
|
-
notificationType: number;
|
|
1152
|
+
visitCardUrl: string;
|
|
1038
1153
|
};
|
|
1039
1154
|
}, {
|
|
1040
|
-
type: "
|
|
1155
|
+
type: "showBusinessCard";
|
|
1041
1156
|
data: {
|
|
1042
|
-
|
|
1043
|
-
userName: string;
|
|
1044
|
-
notificationType: number;
|
|
1157
|
+
visitCardUrl: string;
|
|
1045
1158
|
};
|
|
1046
1159
|
}>, z.ZodObject<{
|
|
1047
|
-
type: z.ZodLiteral<"
|
|
1160
|
+
type: z.ZodLiteral<"openModal">;
|
|
1161
|
+
data: z.ZodObject<{
|
|
1162
|
+
src: z.ZodString;
|
|
1163
|
+
allow: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
1164
|
+
title: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1165
|
+
position: z.ZodDefault<z.ZodOptional<z.ZodEnum<["right", "left", "center"]>>>;
|
|
1166
|
+
allowApi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1167
|
+
allowFullScreen: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1168
|
+
}, "strip", z.ZodTypeAny, {
|
|
1169
|
+
title: string;
|
|
1170
|
+
allowApi: boolean;
|
|
1171
|
+
position: "left" | "right" | "center";
|
|
1172
|
+
allow: string | null;
|
|
1173
|
+
src: string;
|
|
1174
|
+
allowFullScreen: boolean;
|
|
1175
|
+
}, {
|
|
1176
|
+
src: string;
|
|
1177
|
+
title?: string | undefined;
|
|
1178
|
+
allowApi?: boolean | undefined;
|
|
1179
|
+
position?: "left" | "right" | "center" | undefined;
|
|
1180
|
+
allow?: string | null | undefined;
|
|
1181
|
+
allowFullScreen?: boolean | undefined;
|
|
1182
|
+
}>;
|
|
1183
|
+
}, "strip", z.ZodTypeAny, {
|
|
1184
|
+
type: "openModal";
|
|
1185
|
+
data: {
|
|
1186
|
+
title: string;
|
|
1187
|
+
allowApi: boolean;
|
|
1188
|
+
position: "left" | "right" | "center";
|
|
1189
|
+
allow: string | null;
|
|
1190
|
+
src: string;
|
|
1191
|
+
allowFullScreen: boolean;
|
|
1192
|
+
};
|
|
1193
|
+
}, {
|
|
1194
|
+
type: "openModal";
|
|
1195
|
+
data: {
|
|
1196
|
+
src: string;
|
|
1197
|
+
title?: string | undefined;
|
|
1198
|
+
allowApi?: boolean | undefined;
|
|
1199
|
+
position?: "left" | "right" | "center" | undefined;
|
|
1200
|
+
allow?: string | null | undefined;
|
|
1201
|
+
allowFullScreen?: boolean | undefined;
|
|
1202
|
+
};
|
|
1203
|
+
}>, z.ZodObject<{
|
|
1204
|
+
type: z.ZodLiteral<"closeModal">;
|
|
1048
1205
|
data: z.ZodUndefined;
|
|
1049
1206
|
}, "strip", z.ZodTypeAny, {
|
|
1207
|
+
type: "closeModal";
|
|
1050
1208
|
data?: undefined;
|
|
1051
|
-
type: "login";
|
|
1052
1209
|
}, {
|
|
1210
|
+
type: "closeModal";
|
|
1053
1211
|
data?: undefined;
|
|
1054
|
-
type: "login";
|
|
1055
1212
|
}>, z.ZodObject<{
|
|
1056
|
-
type: z.ZodLiteral<"
|
|
1213
|
+
type: z.ZodLiteral<"redirectPricing">;
|
|
1057
1214
|
data: z.ZodUndefined;
|
|
1058
1215
|
}, "strip", z.ZodTypeAny, {
|
|
1216
|
+
type: "redirectPricing";
|
|
1059
1217
|
data?: undefined;
|
|
1060
|
-
type: "refresh";
|
|
1061
1218
|
}, {
|
|
1219
|
+
type: "redirectPricing";
|
|
1062
1220
|
data?: undefined;
|
|
1063
|
-
type: "refresh";
|
|
1064
1221
|
}>, z.ZodObject<{
|
|
1065
|
-
type: z.ZodLiteral<"
|
|
1222
|
+
type: z.ZodLiteral<"addButtonActionBar">;
|
|
1066
1223
|
data: z.ZodObject<{
|
|
1067
|
-
|
|
1224
|
+
id: z.ZodString;
|
|
1225
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1226
|
+
toolTip: z.ZodOptional<z.ZodString>;
|
|
1227
|
+
bgColor: z.ZodOptional<z.ZodString>;
|
|
1228
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
1229
|
+
imageSrc: z.ZodOptional<z.ZodString>;
|
|
1230
|
+
isGradient: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1068
1231
|
}, "strip", z.ZodTypeAny, {
|
|
1069
|
-
|
|
1232
|
+
id: string;
|
|
1233
|
+
isGradient: boolean;
|
|
1234
|
+
label?: string | undefined;
|
|
1235
|
+
toolTip?: string | undefined;
|
|
1236
|
+
bgColor?: string | undefined;
|
|
1237
|
+
textColor?: string | undefined;
|
|
1238
|
+
imageSrc?: string | undefined;
|
|
1070
1239
|
}, {
|
|
1071
|
-
|
|
1240
|
+
id: string;
|
|
1241
|
+
label?: string | undefined;
|
|
1242
|
+
toolTip?: string | undefined;
|
|
1243
|
+
bgColor?: string | undefined;
|
|
1244
|
+
textColor?: string | undefined;
|
|
1245
|
+
imageSrc?: string | undefined;
|
|
1246
|
+
isGradient?: boolean | undefined;
|
|
1072
1247
|
}>;
|
|
1073
1248
|
}, "strip", z.ZodTypeAny, {
|
|
1074
|
-
type: "
|
|
1249
|
+
type: "addButtonActionBar";
|
|
1075
1250
|
data: {
|
|
1076
|
-
|
|
1251
|
+
id: string;
|
|
1252
|
+
isGradient: boolean;
|
|
1253
|
+
label?: string | undefined;
|
|
1254
|
+
toolTip?: string | undefined;
|
|
1255
|
+
bgColor?: string | undefined;
|
|
1256
|
+
textColor?: string | undefined;
|
|
1257
|
+
imageSrc?: string | undefined;
|
|
1077
1258
|
};
|
|
1078
1259
|
}, {
|
|
1079
|
-
type: "
|
|
1260
|
+
type: "addButtonActionBar";
|
|
1080
1261
|
data: {
|
|
1081
|
-
|
|
1262
|
+
id: string;
|
|
1263
|
+
label?: string | undefined;
|
|
1264
|
+
toolTip?: string | undefined;
|
|
1265
|
+
bgColor?: string | undefined;
|
|
1266
|
+
textColor?: string | undefined;
|
|
1267
|
+
imageSrc?: string | undefined;
|
|
1268
|
+
isGradient?: boolean | undefined;
|
|
1269
|
+
};
|
|
1270
|
+
}>, z.ZodObject<{
|
|
1271
|
+
type: z.ZodLiteral<"removeButtonActionBar">;
|
|
1272
|
+
data: z.ZodObject<{
|
|
1273
|
+
id: z.ZodString;
|
|
1274
|
+
}, "strip", z.ZodTypeAny, {
|
|
1275
|
+
id: string;
|
|
1276
|
+
}, {
|
|
1277
|
+
id: string;
|
|
1278
|
+
}>;
|
|
1279
|
+
}, "strip", z.ZodTypeAny, {
|
|
1280
|
+
type: "removeButtonActionBar";
|
|
1281
|
+
data: {
|
|
1282
|
+
id: string;
|
|
1283
|
+
};
|
|
1284
|
+
}, {
|
|
1285
|
+
type: "removeButtonActionBar";
|
|
1286
|
+
data: {
|
|
1287
|
+
id: string;
|
|
1288
|
+
};
|
|
1289
|
+
}>, z.ZodObject<{
|
|
1290
|
+
type: z.ZodLiteral<"openBanner">;
|
|
1291
|
+
data: z.ZodObject<{
|
|
1292
|
+
id: z.ZodString;
|
|
1293
|
+
text: z.ZodString;
|
|
1294
|
+
bgColor: z.ZodOptional<z.ZodString>;
|
|
1295
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
1296
|
+
closable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1297
|
+
timeToClose: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
1298
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
1299
|
+
url: z.ZodString;
|
|
1300
|
+
label: z.ZodString;
|
|
1301
|
+
}, "strip", z.ZodTypeAny, {
|
|
1302
|
+
url: string;
|
|
1303
|
+
label: string;
|
|
1304
|
+
}, {
|
|
1305
|
+
url: string;
|
|
1306
|
+
label: string;
|
|
1307
|
+
}>>;
|
|
1308
|
+
}, "strip", z.ZodTypeAny, {
|
|
1309
|
+
text: string;
|
|
1310
|
+
id: string;
|
|
1311
|
+
link?: {
|
|
1312
|
+
url: string;
|
|
1313
|
+
label: string;
|
|
1314
|
+
} | undefined;
|
|
1315
|
+
closable?: boolean | undefined;
|
|
1316
|
+
bgColor?: string | undefined;
|
|
1317
|
+
textColor?: string | undefined;
|
|
1318
|
+
timeToClose?: number | undefined;
|
|
1319
|
+
}, {
|
|
1320
|
+
text: string;
|
|
1321
|
+
id: string;
|
|
1322
|
+
link?: {
|
|
1323
|
+
url: string;
|
|
1324
|
+
label: string;
|
|
1325
|
+
} | undefined;
|
|
1326
|
+
closable?: boolean | undefined;
|
|
1327
|
+
bgColor?: string | undefined;
|
|
1328
|
+
textColor?: string | undefined;
|
|
1329
|
+
timeToClose?: number | undefined;
|
|
1330
|
+
}>;
|
|
1331
|
+
}, "strip", z.ZodTypeAny, {
|
|
1332
|
+
type: "openBanner";
|
|
1333
|
+
data: {
|
|
1334
|
+
text: string;
|
|
1335
|
+
id: string;
|
|
1336
|
+
link?: {
|
|
1337
|
+
url: string;
|
|
1338
|
+
label: string;
|
|
1339
|
+
} | undefined;
|
|
1340
|
+
closable?: boolean | undefined;
|
|
1341
|
+
bgColor?: string | undefined;
|
|
1342
|
+
textColor?: string | undefined;
|
|
1343
|
+
timeToClose?: number | undefined;
|
|
1344
|
+
};
|
|
1345
|
+
}, {
|
|
1346
|
+
type: "openBanner";
|
|
1347
|
+
data: {
|
|
1348
|
+
text: string;
|
|
1349
|
+
id: string;
|
|
1350
|
+
link?: {
|
|
1351
|
+
url: string;
|
|
1352
|
+
label: string;
|
|
1353
|
+
} | undefined;
|
|
1354
|
+
closable?: boolean | undefined;
|
|
1355
|
+
bgColor?: string | undefined;
|
|
1356
|
+
textColor?: string | undefined;
|
|
1357
|
+
timeToClose?: number | undefined;
|
|
1358
|
+
};
|
|
1359
|
+
}>, z.ZodObject<{
|
|
1360
|
+
type: z.ZodLiteral<"closeBanner">;
|
|
1361
|
+
data: z.ZodUndefined;
|
|
1362
|
+
}, "strip", z.ZodTypeAny, {
|
|
1363
|
+
type: "closeBanner";
|
|
1364
|
+
data?: undefined;
|
|
1365
|
+
}, {
|
|
1366
|
+
type: "closeBanner";
|
|
1367
|
+
data?: undefined;
|
|
1368
|
+
}>, z.ZodObject<{
|
|
1369
|
+
type: z.ZodLiteral<"activity-picker-result">;
|
|
1370
|
+
payload: z.ZodObject<{
|
|
1371
|
+
access_code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1372
|
+
url: z.ZodString;
|
|
1373
|
+
author: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1374
|
+
firstname: z.ZodNullable<z.ZodString>;
|
|
1375
|
+
lastname: z.ZodNullable<z.ZodString>;
|
|
1376
|
+
}, "strip", z.ZodTypeAny, {
|
|
1377
|
+
firstname: string | null;
|
|
1378
|
+
lastname: string | null;
|
|
1379
|
+
}, {
|
|
1380
|
+
firstname: string | null;
|
|
1381
|
+
lastname: string | null;
|
|
1382
|
+
}>>>;
|
|
1383
|
+
imageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1384
|
+
lang: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1385
|
+
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1386
|
+
type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1387
|
+
}, "strip", z.ZodTypeAny, {
|
|
1388
|
+
url: string;
|
|
1389
|
+
access_code?: string | null | undefined;
|
|
1390
|
+
type?: string | null | undefined;
|
|
1391
|
+
author?: {
|
|
1392
|
+
firstname: string | null;
|
|
1393
|
+
lastname: string | null;
|
|
1394
|
+
} | null | undefined;
|
|
1395
|
+
imageUrl?: string | null | undefined;
|
|
1396
|
+
lang?: string | null | undefined;
|
|
1397
|
+
title?: string | null | undefined;
|
|
1398
|
+
}, {
|
|
1399
|
+
url: string;
|
|
1400
|
+
access_code?: string | null | undefined;
|
|
1401
|
+
type?: string | null | undefined;
|
|
1402
|
+
author?: {
|
|
1403
|
+
firstname: string | null;
|
|
1404
|
+
lastname: string | null;
|
|
1405
|
+
} | null | undefined;
|
|
1406
|
+
imageUrl?: string | null | undefined;
|
|
1407
|
+
lang?: string | null | undefined;
|
|
1408
|
+
title?: string | null | undefined;
|
|
1409
|
+
}>;
|
|
1410
|
+
}, "strip", z.ZodTypeAny, {
|
|
1411
|
+
type: "activity-picker-result";
|
|
1412
|
+
payload: {
|
|
1413
|
+
url: string;
|
|
1414
|
+
access_code?: string | null | undefined;
|
|
1415
|
+
type?: string | null | undefined;
|
|
1416
|
+
author?: {
|
|
1417
|
+
firstname: string | null;
|
|
1418
|
+
lastname: string | null;
|
|
1419
|
+
} | null | undefined;
|
|
1420
|
+
imageUrl?: string | null | undefined;
|
|
1421
|
+
lang?: string | null | undefined;
|
|
1422
|
+
title?: string | null | undefined;
|
|
1423
|
+
};
|
|
1424
|
+
}, {
|
|
1425
|
+
type: "activity-picker-result";
|
|
1426
|
+
payload: {
|
|
1427
|
+
url: string;
|
|
1428
|
+
access_code?: string | null | undefined;
|
|
1429
|
+
type?: string | null | undefined;
|
|
1430
|
+
author?: {
|
|
1431
|
+
firstname: string | null;
|
|
1432
|
+
lastname: string | null;
|
|
1433
|
+
} | null | undefined;
|
|
1434
|
+
imageUrl?: string | null | undefined;
|
|
1435
|
+
lang?: string | null | undefined;
|
|
1436
|
+
title?: string | null | undefined;
|
|
1437
|
+
};
|
|
1438
|
+
}>, z.ZodObject<{
|
|
1439
|
+
type: z.ZodLiteral<"banUser">;
|
|
1440
|
+
data: z.ZodObject<{
|
|
1441
|
+
uuid: z.ZodString;
|
|
1442
|
+
name: z.ZodString;
|
|
1443
|
+
}, "strip", z.ZodTypeAny, {
|
|
1444
|
+
name: string;
|
|
1445
|
+
uuid: string;
|
|
1446
|
+
}, {
|
|
1447
|
+
name: string;
|
|
1448
|
+
uuid: string;
|
|
1449
|
+
}>;
|
|
1450
|
+
}, "strip", z.ZodTypeAny, {
|
|
1451
|
+
type: "banUser";
|
|
1452
|
+
data: {
|
|
1453
|
+
name: string;
|
|
1454
|
+
uuid: string;
|
|
1082
1455
|
};
|
|
1456
|
+
}, {
|
|
1457
|
+
type: "banUser";
|
|
1458
|
+
data: {
|
|
1459
|
+
name: string;
|
|
1460
|
+
uuid: string;
|
|
1461
|
+
};
|
|
1462
|
+
}>, z.ZodObject<{
|
|
1463
|
+
type: z.ZodLiteral<"disableMapEditor">;
|
|
1464
|
+
data: z.ZodUndefined;
|
|
1465
|
+
}, "strip", z.ZodTypeAny, {
|
|
1466
|
+
type: "disableMapEditor";
|
|
1467
|
+
data?: undefined;
|
|
1468
|
+
}, {
|
|
1469
|
+
type: "disableMapEditor";
|
|
1470
|
+
data?: undefined;
|
|
1471
|
+
}>, z.ZodObject<{
|
|
1472
|
+
type: z.ZodLiteral<"restoreMapEditor">;
|
|
1473
|
+
data: z.ZodUndefined;
|
|
1474
|
+
}, "strip", z.ZodTypeAny, {
|
|
1475
|
+
type: "restoreMapEditor";
|
|
1476
|
+
data?: undefined;
|
|
1477
|
+
}, {
|
|
1478
|
+
type: "restoreMapEditor";
|
|
1479
|
+
data?: undefined;
|
|
1480
|
+
}>, z.ZodObject<{
|
|
1481
|
+
type: z.ZodLiteral<"disableScreenSharing">;
|
|
1482
|
+
data: z.ZodUndefined;
|
|
1483
|
+
}, "strip", z.ZodTypeAny, {
|
|
1484
|
+
type: "disableScreenSharing";
|
|
1485
|
+
data?: undefined;
|
|
1486
|
+
}, {
|
|
1487
|
+
type: "disableScreenSharing";
|
|
1488
|
+
data?: undefined;
|
|
1489
|
+
}>, z.ZodObject<{
|
|
1490
|
+
type: z.ZodLiteral<"restoreScreenSharing">;
|
|
1491
|
+
data: z.ZodUndefined;
|
|
1492
|
+
}, "strip", z.ZodTypeAny, {
|
|
1493
|
+
type: "restoreScreenSharing";
|
|
1494
|
+
data?: undefined;
|
|
1495
|
+
}, {
|
|
1496
|
+
type: "restoreScreenSharing";
|
|
1497
|
+
data?: undefined;
|
|
1498
|
+
}>, z.ZodObject<{
|
|
1499
|
+
type: z.ZodLiteral<"disableRightClick">;
|
|
1500
|
+
data: z.ZodUndefined;
|
|
1501
|
+
}, "strip", z.ZodTypeAny, {
|
|
1502
|
+
type: "disableRightClick";
|
|
1503
|
+
data?: undefined;
|
|
1504
|
+
}, {
|
|
1505
|
+
type: "disableRightClick";
|
|
1506
|
+
data?: undefined;
|
|
1507
|
+
}>, z.ZodObject<{
|
|
1508
|
+
type: z.ZodLiteral<"restoreRightClick">;
|
|
1509
|
+
data: z.ZodUndefined;
|
|
1510
|
+
}, "strip", z.ZodTypeAny, {
|
|
1511
|
+
type: "restoreRightClick";
|
|
1512
|
+
data?: undefined;
|
|
1513
|
+
}, {
|
|
1514
|
+
type: "restoreRightClick";
|
|
1515
|
+
data?: undefined;
|
|
1516
|
+
}>, z.ZodObject<{
|
|
1517
|
+
type: z.ZodLiteral<"disableWheelZoom">;
|
|
1518
|
+
data: z.ZodUndefined;
|
|
1519
|
+
}, "strip", z.ZodTypeAny, {
|
|
1520
|
+
type: "disableWheelZoom";
|
|
1521
|
+
data?: undefined;
|
|
1522
|
+
}, {
|
|
1523
|
+
type: "disableWheelZoom";
|
|
1524
|
+
data?: undefined;
|
|
1525
|
+
}>, z.ZodObject<{
|
|
1526
|
+
type: z.ZodLiteral<"restoreWheelZoom">;
|
|
1527
|
+
data: z.ZodUndefined;
|
|
1528
|
+
}, "strip", z.ZodTypeAny, {
|
|
1529
|
+
type: "restoreWheelZoom";
|
|
1530
|
+
data?: undefined;
|
|
1531
|
+
}, {
|
|
1532
|
+
type: "restoreWheelZoom";
|
|
1533
|
+
data?: undefined;
|
|
1534
|
+
}>, z.ZodObject<{
|
|
1535
|
+
type: z.ZodLiteral<"disableInviteUserButton">;
|
|
1536
|
+
data: z.ZodUndefined;
|
|
1537
|
+
}, "strip", z.ZodTypeAny, {
|
|
1538
|
+
type: "disableInviteUserButton";
|
|
1539
|
+
data?: undefined;
|
|
1540
|
+
}, {
|
|
1541
|
+
type: "disableInviteUserButton";
|
|
1542
|
+
data?: undefined;
|
|
1543
|
+
}>, z.ZodObject<{
|
|
1544
|
+
type: z.ZodLiteral<"restoreInviteUserButton">;
|
|
1545
|
+
data: z.ZodUndefined;
|
|
1546
|
+
}, "strip", z.ZodTypeAny, {
|
|
1547
|
+
type: "restoreInviteUserButton";
|
|
1548
|
+
data?: undefined;
|
|
1549
|
+
}, {
|
|
1550
|
+
type: "restoreInviteUserButton";
|
|
1551
|
+
data?: undefined;
|
|
1552
|
+
}>, z.ZodObject<{
|
|
1553
|
+
type: z.ZodLiteral<"disableRoomList">;
|
|
1554
|
+
data: z.ZodUndefined;
|
|
1555
|
+
}, "strip", z.ZodTypeAny, {
|
|
1556
|
+
type: "disableRoomList";
|
|
1557
|
+
data?: undefined;
|
|
1558
|
+
}, {
|
|
1559
|
+
type: "disableRoomList";
|
|
1560
|
+
data?: undefined;
|
|
1561
|
+
}>, z.ZodObject<{
|
|
1562
|
+
type: z.ZodLiteral<"restoreRoomList">;
|
|
1563
|
+
data: z.ZodUndefined;
|
|
1564
|
+
}, "strip", z.ZodTypeAny, {
|
|
1565
|
+
type: "restoreRoomList";
|
|
1566
|
+
data?: undefined;
|
|
1567
|
+
}, {
|
|
1568
|
+
type: "restoreRoomList";
|
|
1569
|
+
data?: undefined;
|
|
1570
|
+
}>, z.ZodObject<{
|
|
1571
|
+
type: z.ZodLiteral<"startListeningToStreamInBubble">;
|
|
1572
|
+
data: z.ZodObject<{
|
|
1573
|
+
sampleRate: z.ZodNumber;
|
|
1574
|
+
}, "strip", z.ZodTypeAny, {
|
|
1575
|
+
sampleRate: number;
|
|
1576
|
+
}, {
|
|
1577
|
+
sampleRate: number;
|
|
1578
|
+
}>;
|
|
1579
|
+
}, "strip", z.ZodTypeAny, {
|
|
1580
|
+
type: "startListeningToStreamInBubble";
|
|
1581
|
+
data: {
|
|
1582
|
+
sampleRate: number;
|
|
1583
|
+
};
|
|
1584
|
+
}, {
|
|
1585
|
+
type: "startListeningToStreamInBubble";
|
|
1586
|
+
data: {
|
|
1587
|
+
sampleRate: number;
|
|
1588
|
+
};
|
|
1589
|
+
}>, z.ZodObject<{
|
|
1590
|
+
type: z.ZodLiteral<"stopListeningToStreamInBubble">;
|
|
1591
|
+
data: z.ZodUndefined;
|
|
1592
|
+
}, "strip", z.ZodTypeAny, {
|
|
1593
|
+
type: "stopListeningToStreamInBubble";
|
|
1594
|
+
data?: undefined;
|
|
1595
|
+
}, {
|
|
1596
|
+
type: "stopListeningToStreamInBubble";
|
|
1597
|
+
data?: undefined;
|
|
1083
1598
|
}>]>;
|
|
1084
|
-
export
|
|
1599
|
+
export type IframeEvent = z.infer<typeof isIframeEventWrapper>;
|
|
1085
1600
|
export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
1086
1601
|
type: z.ZodLiteral<"userInputChat">;
|
|
1087
1602
|
data: z.ZodObject<{
|
|
1088
1603
|
message: z.ZodString;
|
|
1604
|
+
senderId: z.ZodOptional<z.ZodString>;
|
|
1089
1605
|
}, "strip", z.ZodTypeAny, {
|
|
1090
1606
|
message: string;
|
|
1607
|
+
senderId?: string | undefined;
|
|
1091
1608
|
}, {
|
|
1092
1609
|
message: string;
|
|
1610
|
+
senderId?: string | undefined;
|
|
1093
1611
|
}>;
|
|
1094
1612
|
}, "strip", z.ZodTypeAny, {
|
|
1095
1613
|
type: "userInputChat";
|
|
1096
1614
|
data: {
|
|
1097
1615
|
message: string;
|
|
1616
|
+
senderId?: string | undefined;
|
|
1098
1617
|
};
|
|
1099
1618
|
}, {
|
|
1100
1619
|
type: "userInputChat";
|
|
1101
1620
|
data: {
|
|
1102
1621
|
message: string;
|
|
1622
|
+
senderId?: string | undefined;
|
|
1103
1623
|
};
|
|
1104
1624
|
}>, z.ZodObject<{
|
|
1105
1625
|
type: z.ZodLiteral<"joinProximityMeetingEvent">;
|
|
@@ -1121,90 +1641,324 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
1121
1641
|
y: number;
|
|
1122
1642
|
}>;
|
|
1123
1643
|
variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
|
|
1644
|
+
chatID: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1124
1645
|
}, "strip", z.ZodTypeAny, {
|
|
1125
|
-
|
|
1646
|
+
name: string;
|
|
1126
1647
|
position: {
|
|
1127
1648
|
x: number;
|
|
1128
1649
|
y: number;
|
|
1129
1650
|
};
|
|
1130
|
-
name: string;
|
|
1131
1651
|
playerId: number;
|
|
1132
1652
|
variables: Map<string, unknown>;
|
|
1133
1653
|
userUuid: string;
|
|
1134
1654
|
availabilityStatus: string;
|
|
1135
|
-
}, {
|
|
1136
1655
|
outlineColor?: number | undefined;
|
|
1656
|
+
chatID?: string | null | undefined;
|
|
1657
|
+
}, {
|
|
1658
|
+
name: string;
|
|
1137
1659
|
position: {
|
|
1138
1660
|
x: number;
|
|
1139
1661
|
y: number;
|
|
1140
1662
|
};
|
|
1141
|
-
name: string;
|
|
1142
1663
|
playerId: number;
|
|
1143
1664
|
variables: Map<string, unknown>;
|
|
1144
1665
|
userUuid: string;
|
|
1145
1666
|
availabilityStatus: string;
|
|
1667
|
+
outlineColor?: number | undefined;
|
|
1668
|
+
chatID?: string | null | undefined;
|
|
1146
1669
|
}>, "many">;
|
|
1147
1670
|
}, "strip", z.ZodTypeAny, {
|
|
1148
1671
|
users: {
|
|
1672
|
+
name: string;
|
|
1673
|
+
position: {
|
|
1674
|
+
x: number;
|
|
1675
|
+
y: number;
|
|
1676
|
+
};
|
|
1677
|
+
playerId: number;
|
|
1678
|
+
variables: Map<string, unknown>;
|
|
1679
|
+
userUuid: string;
|
|
1680
|
+
availabilityStatus: string;
|
|
1149
1681
|
outlineColor?: number | undefined;
|
|
1682
|
+
chatID?: string | null | undefined;
|
|
1683
|
+
}[];
|
|
1684
|
+
}, {
|
|
1685
|
+
users: {
|
|
1686
|
+
name: string;
|
|
1150
1687
|
position: {
|
|
1151
1688
|
x: number;
|
|
1152
1689
|
y: number;
|
|
1153
1690
|
};
|
|
1691
|
+
playerId: number;
|
|
1692
|
+
variables: Map<string, unknown>;
|
|
1693
|
+
userUuid: string;
|
|
1694
|
+
availabilityStatus: string;
|
|
1695
|
+
outlineColor?: number | undefined;
|
|
1696
|
+
chatID?: string | null | undefined;
|
|
1697
|
+
}[];
|
|
1698
|
+
}>;
|
|
1699
|
+
}, "strip", z.ZodTypeAny, {
|
|
1700
|
+
type: "joinProximityMeetingEvent";
|
|
1701
|
+
data: {
|
|
1702
|
+
users: {
|
|
1154
1703
|
name: string;
|
|
1704
|
+
position: {
|
|
1705
|
+
x: number;
|
|
1706
|
+
y: number;
|
|
1707
|
+
};
|
|
1155
1708
|
playerId: number;
|
|
1156
1709
|
variables: Map<string, unknown>;
|
|
1157
1710
|
userUuid: string;
|
|
1158
1711
|
availabilityStatus: string;
|
|
1712
|
+
outlineColor?: number | undefined;
|
|
1713
|
+
chatID?: string | null | undefined;
|
|
1159
1714
|
}[];
|
|
1160
|
-
}
|
|
1715
|
+
};
|
|
1716
|
+
}, {
|
|
1717
|
+
type: "joinProximityMeetingEvent";
|
|
1718
|
+
data: {
|
|
1161
1719
|
users: {
|
|
1720
|
+
name: string;
|
|
1721
|
+
position: {
|
|
1722
|
+
x: number;
|
|
1723
|
+
y: number;
|
|
1724
|
+
};
|
|
1725
|
+
playerId: number;
|
|
1726
|
+
variables: Map<string, unknown>;
|
|
1727
|
+
userUuid: string;
|
|
1728
|
+
availabilityStatus: string;
|
|
1162
1729
|
outlineColor?: number | undefined;
|
|
1730
|
+
chatID?: string | null | undefined;
|
|
1731
|
+
}[];
|
|
1732
|
+
};
|
|
1733
|
+
}>, z.ZodObject<{
|
|
1734
|
+
type: z.ZodLiteral<"participantJoinProximityMeetingEvent">;
|
|
1735
|
+
data: z.ZodObject<{
|
|
1736
|
+
user: z.ZodObject<{
|
|
1737
|
+
playerId: z.ZodNumber;
|
|
1738
|
+
name: z.ZodString;
|
|
1739
|
+
userUuid: z.ZodString;
|
|
1740
|
+
availabilityStatus: z.ZodString;
|
|
1741
|
+
outlineColor: z.ZodOptional<z.ZodNumber>;
|
|
1742
|
+
position: z.ZodObject<{
|
|
1743
|
+
x: z.ZodNumber;
|
|
1744
|
+
y: z.ZodNumber;
|
|
1745
|
+
}, "strip", z.ZodTypeAny, {
|
|
1746
|
+
x: number;
|
|
1747
|
+
y: number;
|
|
1748
|
+
}, {
|
|
1749
|
+
x: number;
|
|
1750
|
+
y: number;
|
|
1751
|
+
}>;
|
|
1752
|
+
variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
|
|
1753
|
+
chatID: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1754
|
+
}, "strip", z.ZodTypeAny, {
|
|
1755
|
+
name: string;
|
|
1756
|
+
position: {
|
|
1757
|
+
x: number;
|
|
1758
|
+
y: number;
|
|
1759
|
+
};
|
|
1760
|
+
playerId: number;
|
|
1761
|
+
variables: Map<string, unknown>;
|
|
1762
|
+
userUuid: string;
|
|
1763
|
+
availabilityStatus: string;
|
|
1764
|
+
outlineColor?: number | undefined;
|
|
1765
|
+
chatID?: string | null | undefined;
|
|
1766
|
+
}, {
|
|
1767
|
+
name: string;
|
|
1768
|
+
position: {
|
|
1769
|
+
x: number;
|
|
1770
|
+
y: number;
|
|
1771
|
+
};
|
|
1772
|
+
playerId: number;
|
|
1773
|
+
variables: Map<string, unknown>;
|
|
1774
|
+
userUuid: string;
|
|
1775
|
+
availabilityStatus: string;
|
|
1776
|
+
outlineColor?: number | undefined;
|
|
1777
|
+
chatID?: string | null | undefined;
|
|
1778
|
+
}>;
|
|
1779
|
+
}, "strip", z.ZodTypeAny, {
|
|
1780
|
+
user: {
|
|
1781
|
+
name: string;
|
|
1782
|
+
position: {
|
|
1783
|
+
x: number;
|
|
1784
|
+
y: number;
|
|
1785
|
+
};
|
|
1786
|
+
playerId: number;
|
|
1787
|
+
variables: Map<string, unknown>;
|
|
1788
|
+
userUuid: string;
|
|
1789
|
+
availabilityStatus: string;
|
|
1790
|
+
outlineColor?: number | undefined;
|
|
1791
|
+
chatID?: string | null | undefined;
|
|
1792
|
+
};
|
|
1793
|
+
}, {
|
|
1794
|
+
user: {
|
|
1795
|
+
name: string;
|
|
1796
|
+
position: {
|
|
1797
|
+
x: number;
|
|
1798
|
+
y: number;
|
|
1799
|
+
};
|
|
1800
|
+
playerId: number;
|
|
1801
|
+
variables: Map<string, unknown>;
|
|
1802
|
+
userUuid: string;
|
|
1803
|
+
availabilityStatus: string;
|
|
1804
|
+
outlineColor?: number | undefined;
|
|
1805
|
+
chatID?: string | null | undefined;
|
|
1806
|
+
};
|
|
1807
|
+
}>;
|
|
1808
|
+
}, "strip", z.ZodTypeAny, {
|
|
1809
|
+
type: "participantJoinProximityMeetingEvent";
|
|
1810
|
+
data: {
|
|
1811
|
+
user: {
|
|
1812
|
+
name: string;
|
|
1813
|
+
position: {
|
|
1814
|
+
x: number;
|
|
1815
|
+
y: number;
|
|
1816
|
+
};
|
|
1817
|
+
playerId: number;
|
|
1818
|
+
variables: Map<string, unknown>;
|
|
1819
|
+
userUuid: string;
|
|
1820
|
+
availabilityStatus: string;
|
|
1821
|
+
outlineColor?: number | undefined;
|
|
1822
|
+
chatID?: string | null | undefined;
|
|
1823
|
+
};
|
|
1824
|
+
};
|
|
1825
|
+
}, {
|
|
1826
|
+
type: "participantJoinProximityMeetingEvent";
|
|
1827
|
+
data: {
|
|
1828
|
+
user: {
|
|
1829
|
+
name: string;
|
|
1830
|
+
position: {
|
|
1831
|
+
x: number;
|
|
1832
|
+
y: number;
|
|
1833
|
+
};
|
|
1834
|
+
playerId: number;
|
|
1835
|
+
variables: Map<string, unknown>;
|
|
1836
|
+
userUuid: string;
|
|
1837
|
+
availabilityStatus: string;
|
|
1838
|
+
outlineColor?: number | undefined;
|
|
1839
|
+
chatID?: string | null | undefined;
|
|
1840
|
+
};
|
|
1841
|
+
};
|
|
1842
|
+
}>, z.ZodObject<{
|
|
1843
|
+
type: z.ZodLiteral<"participantLeaveProximityMeetingEvent">;
|
|
1844
|
+
data: z.ZodObject<{
|
|
1845
|
+
user: z.ZodObject<{
|
|
1846
|
+
playerId: z.ZodNumber;
|
|
1847
|
+
name: z.ZodString;
|
|
1848
|
+
userUuid: z.ZodString;
|
|
1849
|
+
availabilityStatus: z.ZodString;
|
|
1850
|
+
outlineColor: z.ZodOptional<z.ZodNumber>;
|
|
1851
|
+
position: z.ZodObject<{
|
|
1852
|
+
x: z.ZodNumber;
|
|
1853
|
+
y: z.ZodNumber;
|
|
1854
|
+
}, "strip", z.ZodTypeAny, {
|
|
1855
|
+
x: number;
|
|
1856
|
+
y: number;
|
|
1857
|
+
}, {
|
|
1858
|
+
x: number;
|
|
1859
|
+
y: number;
|
|
1860
|
+
}>;
|
|
1861
|
+
variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
|
|
1862
|
+
chatID: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1863
|
+
}, "strip", z.ZodTypeAny, {
|
|
1864
|
+
name: string;
|
|
1865
|
+
position: {
|
|
1866
|
+
x: number;
|
|
1867
|
+
y: number;
|
|
1868
|
+
};
|
|
1869
|
+
playerId: number;
|
|
1870
|
+
variables: Map<string, unknown>;
|
|
1871
|
+
userUuid: string;
|
|
1872
|
+
availabilityStatus: string;
|
|
1873
|
+
outlineColor?: number | undefined;
|
|
1874
|
+
chatID?: string | null | undefined;
|
|
1875
|
+
}, {
|
|
1876
|
+
name: string;
|
|
1877
|
+
position: {
|
|
1878
|
+
x: number;
|
|
1879
|
+
y: number;
|
|
1880
|
+
};
|
|
1881
|
+
playerId: number;
|
|
1882
|
+
variables: Map<string, unknown>;
|
|
1883
|
+
userUuid: string;
|
|
1884
|
+
availabilityStatus: string;
|
|
1885
|
+
outlineColor?: number | undefined;
|
|
1886
|
+
chatID?: string | null | undefined;
|
|
1887
|
+
}>;
|
|
1888
|
+
}, "strip", z.ZodTypeAny, {
|
|
1889
|
+
user: {
|
|
1890
|
+
name: string;
|
|
1891
|
+
position: {
|
|
1892
|
+
x: number;
|
|
1893
|
+
y: number;
|
|
1894
|
+
};
|
|
1895
|
+
playerId: number;
|
|
1896
|
+
variables: Map<string, unknown>;
|
|
1897
|
+
userUuid: string;
|
|
1898
|
+
availabilityStatus: string;
|
|
1899
|
+
outlineColor?: number | undefined;
|
|
1900
|
+
chatID?: string | null | undefined;
|
|
1901
|
+
};
|
|
1902
|
+
}, {
|
|
1903
|
+
user: {
|
|
1904
|
+
name: string;
|
|
1163
1905
|
position: {
|
|
1164
1906
|
x: number;
|
|
1165
1907
|
y: number;
|
|
1166
1908
|
};
|
|
1167
|
-
name: string;
|
|
1168
1909
|
playerId: number;
|
|
1169
1910
|
variables: Map<string, unknown>;
|
|
1170
1911
|
userUuid: string;
|
|
1171
1912
|
availabilityStatus: string;
|
|
1172
|
-
|
|
1913
|
+
outlineColor?: number | undefined;
|
|
1914
|
+
chatID?: string | null | undefined;
|
|
1915
|
+
};
|
|
1173
1916
|
}>;
|
|
1174
1917
|
}, "strip", z.ZodTypeAny, {
|
|
1175
|
-
type: "
|
|
1918
|
+
type: "participantLeaveProximityMeetingEvent";
|
|
1176
1919
|
data: {
|
|
1177
|
-
|
|
1178
|
-
|
|
1920
|
+
user: {
|
|
1921
|
+
name: string;
|
|
1179
1922
|
position: {
|
|
1180
1923
|
x: number;
|
|
1181
1924
|
y: number;
|
|
1182
1925
|
};
|
|
1183
|
-
name: string;
|
|
1184
1926
|
playerId: number;
|
|
1185
1927
|
variables: Map<string, unknown>;
|
|
1186
1928
|
userUuid: string;
|
|
1187
1929
|
availabilityStatus: string;
|
|
1188
|
-
|
|
1930
|
+
outlineColor?: number | undefined;
|
|
1931
|
+
chatID?: string | null | undefined;
|
|
1932
|
+
};
|
|
1189
1933
|
};
|
|
1190
1934
|
}, {
|
|
1191
|
-
type: "
|
|
1935
|
+
type: "participantLeaveProximityMeetingEvent";
|
|
1192
1936
|
data: {
|
|
1193
|
-
|
|
1194
|
-
|
|
1937
|
+
user: {
|
|
1938
|
+
name: string;
|
|
1195
1939
|
position: {
|
|
1196
1940
|
x: number;
|
|
1197
1941
|
y: number;
|
|
1198
1942
|
};
|
|
1199
|
-
name: string;
|
|
1200
1943
|
playerId: number;
|
|
1201
1944
|
variables: Map<string, unknown>;
|
|
1202
1945
|
userUuid: string;
|
|
1203
1946
|
availabilityStatus: string;
|
|
1204
|
-
|
|
1947
|
+
outlineColor?: number | undefined;
|
|
1948
|
+
chatID?: string | null | undefined;
|
|
1949
|
+
};
|
|
1205
1950
|
};
|
|
1206
1951
|
}>, z.ZodObject<{
|
|
1207
|
-
type: z.ZodLiteral<"
|
|
1952
|
+
type: z.ZodLiteral<"leaveProximityMeetingEvent">;
|
|
1953
|
+
data: z.ZodUndefined;
|
|
1954
|
+
}, "strip", z.ZodTypeAny, {
|
|
1955
|
+
type: "leaveProximityMeetingEvent";
|
|
1956
|
+
data?: undefined;
|
|
1957
|
+
}, {
|
|
1958
|
+
type: "leaveProximityMeetingEvent";
|
|
1959
|
+
data?: undefined;
|
|
1960
|
+
}>, z.ZodObject<{
|
|
1961
|
+
type: z.ZodLiteral<"onFollowed">;
|
|
1208
1962
|
data: z.ZodObject<{
|
|
1209
1963
|
user: z.ZodObject<{
|
|
1210
1964
|
playerId: z.ZodNumber;
|
|
@@ -1223,90 +1977,97 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
1223
1977
|
y: number;
|
|
1224
1978
|
}>;
|
|
1225
1979
|
variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
|
|
1980
|
+
chatID: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1226
1981
|
}, "strip", z.ZodTypeAny, {
|
|
1227
|
-
|
|
1982
|
+
name: string;
|
|
1228
1983
|
position: {
|
|
1229
1984
|
x: number;
|
|
1230
1985
|
y: number;
|
|
1231
1986
|
};
|
|
1232
|
-
name: string;
|
|
1233
1987
|
playerId: number;
|
|
1234
1988
|
variables: Map<string, unknown>;
|
|
1235
1989
|
userUuid: string;
|
|
1236
1990
|
availabilityStatus: string;
|
|
1237
|
-
}, {
|
|
1238
1991
|
outlineColor?: number | undefined;
|
|
1992
|
+
chatID?: string | null | undefined;
|
|
1993
|
+
}, {
|
|
1994
|
+
name: string;
|
|
1239
1995
|
position: {
|
|
1240
1996
|
x: number;
|
|
1241
1997
|
y: number;
|
|
1242
1998
|
};
|
|
1243
|
-
name: string;
|
|
1244
1999
|
playerId: number;
|
|
1245
2000
|
variables: Map<string, unknown>;
|
|
1246
2001
|
userUuid: string;
|
|
1247
2002
|
availabilityStatus: string;
|
|
2003
|
+
outlineColor?: number | undefined;
|
|
2004
|
+
chatID?: string | null | undefined;
|
|
1248
2005
|
}>;
|
|
1249
2006
|
}, "strip", z.ZodTypeAny, {
|
|
1250
2007
|
user: {
|
|
1251
|
-
|
|
2008
|
+
name: string;
|
|
1252
2009
|
position: {
|
|
1253
2010
|
x: number;
|
|
1254
2011
|
y: number;
|
|
1255
2012
|
};
|
|
1256
|
-
name: string;
|
|
1257
2013
|
playerId: number;
|
|
1258
2014
|
variables: Map<string, unknown>;
|
|
1259
2015
|
userUuid: string;
|
|
1260
2016
|
availabilityStatus: string;
|
|
2017
|
+
outlineColor?: number | undefined;
|
|
2018
|
+
chatID?: string | null | undefined;
|
|
1261
2019
|
};
|
|
1262
2020
|
}, {
|
|
1263
2021
|
user: {
|
|
1264
|
-
|
|
2022
|
+
name: string;
|
|
1265
2023
|
position: {
|
|
1266
2024
|
x: number;
|
|
1267
2025
|
y: number;
|
|
1268
2026
|
};
|
|
1269
|
-
name: string;
|
|
1270
2027
|
playerId: number;
|
|
1271
2028
|
variables: Map<string, unknown>;
|
|
1272
2029
|
userUuid: string;
|
|
1273
2030
|
availabilityStatus: string;
|
|
2031
|
+
outlineColor?: number | undefined;
|
|
2032
|
+
chatID?: string | null | undefined;
|
|
1274
2033
|
};
|
|
1275
2034
|
}>;
|
|
1276
2035
|
}, "strip", z.ZodTypeAny, {
|
|
1277
|
-
type: "
|
|
2036
|
+
type: "onFollowed";
|
|
1278
2037
|
data: {
|
|
1279
2038
|
user: {
|
|
1280
|
-
|
|
2039
|
+
name: string;
|
|
1281
2040
|
position: {
|
|
1282
2041
|
x: number;
|
|
1283
2042
|
y: number;
|
|
1284
2043
|
};
|
|
1285
|
-
name: string;
|
|
1286
2044
|
playerId: number;
|
|
1287
2045
|
variables: Map<string, unknown>;
|
|
1288
2046
|
userUuid: string;
|
|
1289
2047
|
availabilityStatus: string;
|
|
2048
|
+
outlineColor?: number | undefined;
|
|
2049
|
+
chatID?: string | null | undefined;
|
|
1290
2050
|
};
|
|
1291
2051
|
};
|
|
1292
2052
|
}, {
|
|
1293
|
-
type: "
|
|
2053
|
+
type: "onFollowed";
|
|
1294
2054
|
data: {
|
|
1295
2055
|
user: {
|
|
1296
|
-
|
|
2056
|
+
name: string;
|
|
1297
2057
|
position: {
|
|
1298
2058
|
x: number;
|
|
1299
2059
|
y: number;
|
|
1300
2060
|
};
|
|
1301
|
-
name: string;
|
|
1302
2061
|
playerId: number;
|
|
1303
2062
|
variables: Map<string, unknown>;
|
|
1304
2063
|
userUuid: string;
|
|
1305
2064
|
availabilityStatus: string;
|
|
2065
|
+
outlineColor?: number | undefined;
|
|
2066
|
+
chatID?: string | null | undefined;
|
|
1306
2067
|
};
|
|
1307
2068
|
};
|
|
1308
2069
|
}>, z.ZodObject<{
|
|
1309
|
-
type: z.ZodLiteral<"
|
|
2070
|
+
type: z.ZodLiteral<"onUnfollowed">;
|
|
1310
2071
|
data: z.ZodObject<{
|
|
1311
2072
|
user: z.ZodObject<{
|
|
1312
2073
|
playerId: z.ZodNumber;
|
|
@@ -1325,97 +2086,95 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
1325
2086
|
y: number;
|
|
1326
2087
|
}>;
|
|
1327
2088
|
variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
|
|
2089
|
+
chatID: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1328
2090
|
}, "strip", z.ZodTypeAny, {
|
|
1329
|
-
|
|
2091
|
+
name: string;
|
|
1330
2092
|
position: {
|
|
1331
2093
|
x: number;
|
|
1332
2094
|
y: number;
|
|
1333
2095
|
};
|
|
1334
|
-
name: string;
|
|
1335
2096
|
playerId: number;
|
|
1336
2097
|
variables: Map<string, unknown>;
|
|
1337
2098
|
userUuid: string;
|
|
1338
2099
|
availabilityStatus: string;
|
|
1339
|
-
}, {
|
|
1340
2100
|
outlineColor?: number | undefined;
|
|
2101
|
+
chatID?: string | null | undefined;
|
|
2102
|
+
}, {
|
|
2103
|
+
name: string;
|
|
1341
2104
|
position: {
|
|
1342
2105
|
x: number;
|
|
1343
2106
|
y: number;
|
|
1344
2107
|
};
|
|
1345
|
-
name: string;
|
|
1346
2108
|
playerId: number;
|
|
1347
2109
|
variables: Map<string, unknown>;
|
|
1348
2110
|
userUuid: string;
|
|
1349
2111
|
availabilityStatus: string;
|
|
2112
|
+
outlineColor?: number | undefined;
|
|
2113
|
+
chatID?: string | null | undefined;
|
|
1350
2114
|
}>;
|
|
1351
2115
|
}, "strip", z.ZodTypeAny, {
|
|
1352
2116
|
user: {
|
|
1353
|
-
|
|
2117
|
+
name: string;
|
|
1354
2118
|
position: {
|
|
1355
2119
|
x: number;
|
|
1356
2120
|
y: number;
|
|
1357
2121
|
};
|
|
1358
|
-
name: string;
|
|
1359
2122
|
playerId: number;
|
|
1360
2123
|
variables: Map<string, unknown>;
|
|
1361
2124
|
userUuid: string;
|
|
1362
2125
|
availabilityStatus: string;
|
|
2126
|
+
outlineColor?: number | undefined;
|
|
2127
|
+
chatID?: string | null | undefined;
|
|
1363
2128
|
};
|
|
1364
2129
|
}, {
|
|
1365
2130
|
user: {
|
|
1366
|
-
|
|
2131
|
+
name: string;
|
|
1367
2132
|
position: {
|
|
1368
2133
|
x: number;
|
|
1369
2134
|
y: number;
|
|
1370
2135
|
};
|
|
1371
|
-
name: string;
|
|
1372
2136
|
playerId: number;
|
|
1373
2137
|
variables: Map<string, unknown>;
|
|
1374
2138
|
userUuid: string;
|
|
1375
2139
|
availabilityStatus: string;
|
|
2140
|
+
outlineColor?: number | undefined;
|
|
2141
|
+
chatID?: string | null | undefined;
|
|
1376
2142
|
};
|
|
1377
2143
|
}>;
|
|
1378
2144
|
}, "strip", z.ZodTypeAny, {
|
|
1379
|
-
type: "
|
|
2145
|
+
type: "onUnfollowed";
|
|
1380
2146
|
data: {
|
|
1381
2147
|
user: {
|
|
1382
|
-
|
|
2148
|
+
name: string;
|
|
1383
2149
|
position: {
|
|
1384
2150
|
x: number;
|
|
1385
2151
|
y: number;
|
|
1386
2152
|
};
|
|
1387
|
-
name: string;
|
|
1388
2153
|
playerId: number;
|
|
1389
2154
|
variables: Map<string, unknown>;
|
|
1390
2155
|
userUuid: string;
|
|
1391
2156
|
availabilityStatus: string;
|
|
2157
|
+
outlineColor?: number | undefined;
|
|
2158
|
+
chatID?: string | null | undefined;
|
|
1392
2159
|
};
|
|
1393
2160
|
};
|
|
1394
2161
|
}, {
|
|
1395
|
-
type: "
|
|
2162
|
+
type: "onUnfollowed";
|
|
1396
2163
|
data: {
|
|
1397
2164
|
user: {
|
|
1398
|
-
|
|
2165
|
+
name: string;
|
|
1399
2166
|
position: {
|
|
1400
2167
|
x: number;
|
|
1401
2168
|
y: number;
|
|
1402
2169
|
};
|
|
1403
|
-
name: string;
|
|
1404
2170
|
playerId: number;
|
|
1405
2171
|
variables: Map<string, unknown>;
|
|
1406
2172
|
userUuid: string;
|
|
1407
2173
|
availabilityStatus: string;
|
|
2174
|
+
outlineColor?: number | undefined;
|
|
2175
|
+
chatID?: string | null | undefined;
|
|
1408
2176
|
};
|
|
1409
2177
|
};
|
|
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
2178
|
}>, z.ZodObject<{
|
|
1420
2179
|
type: z.ZodLiteral<"enterEvent">;
|
|
1421
2180
|
data: z.ZodObject<{
|
|
@@ -1454,6 +2213,44 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
1454
2213
|
data: {
|
|
1455
2214
|
name: string;
|
|
1456
2215
|
};
|
|
2216
|
+
}>, z.ZodObject<{
|
|
2217
|
+
type: z.ZodLiteral<"enterMapEditorAreaEvent">;
|
|
2218
|
+
data: z.ZodObject<{
|
|
2219
|
+
name: z.ZodString;
|
|
2220
|
+
}, "strip", z.ZodTypeAny, {
|
|
2221
|
+
name: string;
|
|
2222
|
+
}, {
|
|
2223
|
+
name: string;
|
|
2224
|
+
}>;
|
|
2225
|
+
}, "strip", z.ZodTypeAny, {
|
|
2226
|
+
type: "enterMapEditorAreaEvent";
|
|
2227
|
+
data: {
|
|
2228
|
+
name: string;
|
|
2229
|
+
};
|
|
2230
|
+
}, {
|
|
2231
|
+
type: "enterMapEditorAreaEvent";
|
|
2232
|
+
data: {
|
|
2233
|
+
name: string;
|
|
2234
|
+
};
|
|
2235
|
+
}>, z.ZodObject<{
|
|
2236
|
+
type: z.ZodLiteral<"leaveMapEditorAreaEvent">;
|
|
2237
|
+
data: z.ZodObject<{
|
|
2238
|
+
name: z.ZodString;
|
|
2239
|
+
}, "strip", z.ZodTypeAny, {
|
|
2240
|
+
name: string;
|
|
2241
|
+
}, {
|
|
2242
|
+
name: string;
|
|
2243
|
+
}>;
|
|
2244
|
+
}, "strip", z.ZodTypeAny, {
|
|
2245
|
+
type: "leaveMapEditorAreaEvent";
|
|
2246
|
+
data: {
|
|
2247
|
+
name: string;
|
|
2248
|
+
};
|
|
2249
|
+
}, {
|
|
2250
|
+
type: "leaveMapEditorAreaEvent";
|
|
2251
|
+
data: {
|
|
2252
|
+
name: string;
|
|
2253
|
+
};
|
|
1457
2254
|
}>, z.ZodObject<{
|
|
1458
2255
|
type: z.ZodLiteral<"enterLayerEvent">;
|
|
1459
2256
|
data: z.ZodObject<{
|
|
@@ -1573,56 +2370,61 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
1573
2370
|
y: number;
|
|
1574
2371
|
}>;
|
|
1575
2372
|
variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
|
|
2373
|
+
chatID: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1576
2374
|
}, "strip", z.ZodTypeAny, {
|
|
1577
|
-
|
|
2375
|
+
name: string;
|
|
1578
2376
|
position: {
|
|
1579
2377
|
x: number;
|
|
1580
2378
|
y: number;
|
|
1581
2379
|
};
|
|
1582
|
-
name: string;
|
|
1583
2380
|
playerId: number;
|
|
1584
2381
|
variables: Map<string, unknown>;
|
|
1585
2382
|
userUuid: string;
|
|
1586
2383
|
availabilityStatus: string;
|
|
1587
|
-
}, {
|
|
1588
2384
|
outlineColor?: number | undefined;
|
|
2385
|
+
chatID?: string | null | undefined;
|
|
2386
|
+
}, {
|
|
2387
|
+
name: string;
|
|
1589
2388
|
position: {
|
|
1590
2389
|
x: number;
|
|
1591
2390
|
y: number;
|
|
1592
2391
|
};
|
|
1593
|
-
name: string;
|
|
1594
2392
|
playerId: number;
|
|
1595
2393
|
variables: Map<string, unknown>;
|
|
1596
2394
|
userUuid: string;
|
|
1597
2395
|
availabilityStatus: string;
|
|
2396
|
+
outlineColor?: number | undefined;
|
|
2397
|
+
chatID?: string | null | undefined;
|
|
1598
2398
|
}>;
|
|
1599
2399
|
}, "strip", z.ZodTypeAny, {
|
|
1600
2400
|
type: "remotePlayerClickedEvent";
|
|
1601
2401
|
data: {
|
|
1602
|
-
|
|
2402
|
+
name: string;
|
|
1603
2403
|
position: {
|
|
1604
2404
|
x: number;
|
|
1605
2405
|
y: number;
|
|
1606
2406
|
};
|
|
1607
|
-
name: string;
|
|
1608
2407
|
playerId: number;
|
|
1609
2408
|
variables: Map<string, unknown>;
|
|
1610
2409
|
userUuid: string;
|
|
1611
2410
|
availabilityStatus: string;
|
|
2411
|
+
outlineColor?: number | undefined;
|
|
2412
|
+
chatID?: string | null | undefined;
|
|
1612
2413
|
};
|
|
1613
2414
|
}, {
|
|
1614
2415
|
type: "remotePlayerClickedEvent";
|
|
1615
2416
|
data: {
|
|
1616
|
-
|
|
2417
|
+
name: string;
|
|
1617
2418
|
position: {
|
|
1618
2419
|
x: number;
|
|
1619
2420
|
y: number;
|
|
1620
2421
|
};
|
|
1621
|
-
name: string;
|
|
1622
2422
|
playerId: number;
|
|
1623
2423
|
variables: Map<string, unknown>;
|
|
1624
2424
|
userUuid: string;
|
|
1625
2425
|
availabilityStatus: string;
|
|
2426
|
+
outlineColor?: number | undefined;
|
|
2427
|
+
chatID?: string | null | undefined;
|
|
1626
2428
|
};
|
|
1627
2429
|
}>, z.ZodObject<{
|
|
1628
2430
|
type: z.ZodLiteral<"actionsMenuActionClickedEvent">;
|
|
@@ -1658,39 +2460,39 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
1658
2460
|
oldX: z.ZodOptional<z.ZodNumber>;
|
|
1659
2461
|
oldY: z.ZodOptional<z.ZodNumber>;
|
|
1660
2462
|
}, "strip", z.ZodTypeAny, {
|
|
1661
|
-
oldX?: number | undefined;
|
|
1662
|
-
oldY?: number | undefined;
|
|
1663
2463
|
x: number;
|
|
1664
2464
|
y: number;
|
|
1665
2465
|
direction: "left" | "right" | "up" | "down";
|
|
1666
2466
|
moving: boolean;
|
|
1667
|
-
}, {
|
|
1668
2467
|
oldX?: number | undefined;
|
|
1669
2468
|
oldY?: number | undefined;
|
|
2469
|
+
}, {
|
|
1670
2470
|
x: number;
|
|
1671
2471
|
y: number;
|
|
1672
2472
|
direction: "left" | "right" | "up" | "down";
|
|
1673
2473
|
moving: boolean;
|
|
2474
|
+
oldX?: number | undefined;
|
|
2475
|
+
oldY?: number | undefined;
|
|
1674
2476
|
}>;
|
|
1675
2477
|
}, "strip", z.ZodTypeAny, {
|
|
1676
2478
|
type: "hasPlayerMoved";
|
|
1677
2479
|
data: {
|
|
1678
|
-
oldX?: number | undefined;
|
|
1679
|
-
oldY?: number | undefined;
|
|
1680
2480
|
x: number;
|
|
1681
2481
|
y: number;
|
|
1682
2482
|
direction: "left" | "right" | "up" | "down";
|
|
1683
2483
|
moving: boolean;
|
|
2484
|
+
oldX?: number | undefined;
|
|
2485
|
+
oldY?: number | undefined;
|
|
1684
2486
|
};
|
|
1685
2487
|
}, {
|
|
1686
2488
|
type: "hasPlayerMoved";
|
|
1687
2489
|
data: {
|
|
1688
|
-
oldX?: number | undefined;
|
|
1689
|
-
oldY?: number | undefined;
|
|
1690
2490
|
x: number;
|
|
1691
2491
|
y: number;
|
|
1692
2492
|
direction: "left" | "right" | "up" | "down";
|
|
1693
2493
|
moving: boolean;
|
|
2494
|
+
oldX?: number | undefined;
|
|
2495
|
+
oldY?: number | undefined;
|
|
1694
2496
|
};
|
|
1695
2497
|
}>, z.ZodObject<{
|
|
1696
2498
|
type: z.ZodLiteral<"wasCameraUpdated">;
|
|
@@ -1701,34 +2503,34 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
1701
2503
|
height: z.ZodNumber;
|
|
1702
2504
|
zoom: z.ZodNumber;
|
|
1703
2505
|
}, "strip", z.ZodTypeAny, {
|
|
2506
|
+
height: number;
|
|
2507
|
+
width: number;
|
|
1704
2508
|
x: number;
|
|
1705
2509
|
y: number;
|
|
1706
|
-
width: number;
|
|
1707
|
-
height: number;
|
|
1708
2510
|
zoom: number;
|
|
1709
2511
|
}, {
|
|
2512
|
+
height: number;
|
|
2513
|
+
width: number;
|
|
1710
2514
|
x: number;
|
|
1711
2515
|
y: number;
|
|
1712
|
-
width: number;
|
|
1713
|
-
height: number;
|
|
1714
2516
|
zoom: number;
|
|
1715
2517
|
}>;
|
|
1716
2518
|
}, "strip", z.ZodTypeAny, {
|
|
1717
2519
|
type: "wasCameraUpdated";
|
|
1718
2520
|
data: {
|
|
2521
|
+
height: number;
|
|
2522
|
+
width: number;
|
|
1719
2523
|
x: number;
|
|
1720
2524
|
y: number;
|
|
1721
|
-
width: number;
|
|
1722
|
-
height: number;
|
|
1723
2525
|
zoom: number;
|
|
1724
2526
|
};
|
|
1725
2527
|
}, {
|
|
1726
2528
|
type: "wasCameraUpdated";
|
|
1727
2529
|
data: {
|
|
2530
|
+
height: number;
|
|
2531
|
+
width: number;
|
|
1728
2532
|
x: number;
|
|
1729
2533
|
y: number;
|
|
1730
|
-
width: number;
|
|
1731
|
-
height: number;
|
|
1732
2534
|
zoom: number;
|
|
1733
2535
|
};
|
|
1734
2536
|
}>, z.ZodObject<{
|
|
@@ -1756,23 +2558,23 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
1756
2558
|
key: z.ZodString;
|
|
1757
2559
|
value: z.ZodUnknown;
|
|
1758
2560
|
}, "strip", z.ZodTypeAny, {
|
|
1759
|
-
value?: unknown;
|
|
1760
2561
|
key: string;
|
|
1761
|
-
}, {
|
|
1762
2562
|
value?: unknown;
|
|
2563
|
+
}, {
|
|
1763
2564
|
key: string;
|
|
2565
|
+
value?: unknown;
|
|
1764
2566
|
}>;
|
|
1765
2567
|
}, "strip", z.ZodTypeAny, {
|
|
1766
2568
|
type: "setVariable";
|
|
1767
2569
|
data: {
|
|
1768
|
-
value?: unknown;
|
|
1769
2570
|
key: string;
|
|
2571
|
+
value?: unknown;
|
|
1770
2572
|
};
|
|
1771
2573
|
}, {
|
|
1772
2574
|
type: "setVariable";
|
|
1773
2575
|
data: {
|
|
1774
|
-
value?: unknown;
|
|
1775
2576
|
key: string;
|
|
2577
|
+
value?: unknown;
|
|
1776
2578
|
};
|
|
1777
2579
|
}>, z.ZodObject<{
|
|
1778
2580
|
type: z.ZodLiteral<"setPlayerVariable">;
|
|
@@ -1780,23 +2582,23 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
1780
2582
|
key: z.ZodString;
|
|
1781
2583
|
value: z.ZodUnknown;
|
|
1782
2584
|
}, "strip", z.ZodTypeAny, {
|
|
1783
|
-
value?: unknown;
|
|
1784
2585
|
key: string;
|
|
1785
|
-
}, {
|
|
1786
2586
|
value?: unknown;
|
|
2587
|
+
}, {
|
|
1787
2588
|
key: string;
|
|
2589
|
+
value?: unknown;
|
|
1788
2590
|
}>;
|
|
1789
2591
|
}, "strip", z.ZodTypeAny, {
|
|
1790
2592
|
type: "setPlayerVariable";
|
|
1791
2593
|
data: {
|
|
1792
|
-
value?: unknown;
|
|
1793
2594
|
key: string;
|
|
2595
|
+
value?: unknown;
|
|
1794
2596
|
};
|
|
1795
2597
|
}, {
|
|
1796
2598
|
type: "setPlayerVariable";
|
|
1797
2599
|
data: {
|
|
1798
|
-
value?: unknown;
|
|
1799
2600
|
key: string;
|
|
2601
|
+
value?: unknown;
|
|
1800
2602
|
};
|
|
1801
2603
|
}>, z.ZodObject<{
|
|
1802
2604
|
type: z.ZodLiteral<"setSharedPlayerVariable">;
|
|
@@ -1805,27 +2607,56 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
1805
2607
|
value: z.ZodUnknown;
|
|
1806
2608
|
playerId: z.ZodNumber;
|
|
1807
2609
|
}, "strip", z.ZodTypeAny, {
|
|
1808
|
-
value?: unknown;
|
|
1809
2610
|
playerId: number;
|
|
1810
2611
|
key: string;
|
|
1811
|
-
}, {
|
|
1812
2612
|
value?: unknown;
|
|
2613
|
+
}, {
|
|
1813
2614
|
playerId: number;
|
|
1814
2615
|
key: string;
|
|
2616
|
+
value?: unknown;
|
|
1815
2617
|
}>;
|
|
1816
2618
|
}, "strip", z.ZodTypeAny, {
|
|
1817
2619
|
type: "setSharedPlayerVariable";
|
|
1818
2620
|
data: {
|
|
1819
|
-
value?: unknown;
|
|
1820
2621
|
playerId: number;
|
|
1821
2622
|
key: string;
|
|
2623
|
+
value?: unknown;
|
|
1822
2624
|
};
|
|
1823
2625
|
}, {
|
|
1824
2626
|
type: "setSharedPlayerVariable";
|
|
1825
2627
|
data: {
|
|
1826
|
-
value?: unknown;
|
|
1827
2628
|
playerId: number;
|
|
1828
2629
|
key: string;
|
|
2630
|
+
value?: unknown;
|
|
2631
|
+
};
|
|
2632
|
+
}>, z.ZodObject<{
|
|
2633
|
+
type: z.ZodLiteral<"receiveEvent">;
|
|
2634
|
+
data: z.ZodObject<{
|
|
2635
|
+
name: z.ZodString;
|
|
2636
|
+
data: z.ZodUnknown;
|
|
2637
|
+
senderId: z.ZodOptional<z.ZodNumber>;
|
|
2638
|
+
}, "strip", z.ZodTypeAny, {
|
|
2639
|
+
name: string;
|
|
2640
|
+
data?: unknown;
|
|
2641
|
+
senderId?: number | undefined;
|
|
2642
|
+
}, {
|
|
2643
|
+
name: string;
|
|
2644
|
+
data?: unknown;
|
|
2645
|
+
senderId?: number | undefined;
|
|
2646
|
+
}>;
|
|
2647
|
+
}, "strip", z.ZodTypeAny, {
|
|
2648
|
+
type: "receiveEvent";
|
|
2649
|
+
data: {
|
|
2650
|
+
name: string;
|
|
2651
|
+
data?: unknown;
|
|
2652
|
+
senderId?: number | undefined;
|
|
2653
|
+
};
|
|
2654
|
+
}, {
|
|
2655
|
+
type: "receiveEvent";
|
|
2656
|
+
data: {
|
|
2657
|
+
name: string;
|
|
2658
|
+
data?: unknown;
|
|
2659
|
+
senderId?: number | undefined;
|
|
1829
2660
|
};
|
|
1830
2661
|
}>, z.ZodObject<{
|
|
1831
2662
|
type: z.ZodLiteral<"messageTriggered">;
|
|
@@ -1873,29 +2704,29 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
1873
2704
|
type: z.ZodString;
|
|
1874
2705
|
subscribe: z.ZodBoolean;
|
|
1875
2706
|
}, "strip", z.ZodTypeAny, {
|
|
1876
|
-
type: string;
|
|
1877
2707
|
url: string;
|
|
2708
|
+
type: string;
|
|
1878
2709
|
name: string;
|
|
1879
2710
|
subscribe: boolean;
|
|
1880
2711
|
}, {
|
|
1881
|
-
type: string;
|
|
1882
2712
|
url: string;
|
|
2713
|
+
type: string;
|
|
1883
2714
|
name: string;
|
|
1884
2715
|
subscribe: boolean;
|
|
1885
2716
|
}>;
|
|
1886
2717
|
}, "strip", z.ZodTypeAny, {
|
|
1887
2718
|
type: "joinMuc";
|
|
1888
2719
|
data: {
|
|
1889
|
-
type: string;
|
|
1890
2720
|
url: string;
|
|
2721
|
+
type: string;
|
|
1891
2722
|
name: string;
|
|
1892
2723
|
subscribe: boolean;
|
|
1893
2724
|
};
|
|
1894
2725
|
}, {
|
|
1895
2726
|
type: "joinMuc";
|
|
1896
2727
|
data: {
|
|
1897
|
-
type: string;
|
|
1898
2728
|
url: string;
|
|
2729
|
+
type: string;
|
|
1899
2730
|
name: string;
|
|
1900
2731
|
subscribe: boolean;
|
|
1901
2732
|
};
|
|
@@ -1918,56 +2749,61 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
1918
2749
|
y: number;
|
|
1919
2750
|
}>;
|
|
1920
2751
|
variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
|
|
2752
|
+
chatID: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1921
2753
|
}, "strip", z.ZodTypeAny, {
|
|
1922
|
-
|
|
2754
|
+
name: string;
|
|
1923
2755
|
position: {
|
|
1924
2756
|
x: number;
|
|
1925
2757
|
y: number;
|
|
1926
2758
|
};
|
|
1927
|
-
name: string;
|
|
1928
2759
|
playerId: number;
|
|
1929
2760
|
variables: Map<string, unknown>;
|
|
1930
2761
|
userUuid: string;
|
|
1931
2762
|
availabilityStatus: string;
|
|
1932
|
-
}, {
|
|
1933
2763
|
outlineColor?: number | undefined;
|
|
2764
|
+
chatID?: string | null | undefined;
|
|
2765
|
+
}, {
|
|
2766
|
+
name: string;
|
|
1934
2767
|
position: {
|
|
1935
2768
|
x: number;
|
|
1936
2769
|
y: number;
|
|
1937
2770
|
};
|
|
1938
|
-
name: string;
|
|
1939
2771
|
playerId: number;
|
|
1940
2772
|
variables: Map<string, unknown>;
|
|
1941
2773
|
userUuid: string;
|
|
1942
2774
|
availabilityStatus: string;
|
|
2775
|
+
outlineColor?: number | undefined;
|
|
2776
|
+
chatID?: string | null | undefined;
|
|
1943
2777
|
}>;
|
|
1944
2778
|
}, "strip", z.ZodTypeAny, {
|
|
1945
2779
|
type: "addRemotePlayer";
|
|
1946
2780
|
data: {
|
|
1947
|
-
|
|
2781
|
+
name: string;
|
|
1948
2782
|
position: {
|
|
1949
2783
|
x: number;
|
|
1950
2784
|
y: number;
|
|
1951
2785
|
};
|
|
1952
|
-
name: string;
|
|
1953
2786
|
playerId: number;
|
|
1954
2787
|
variables: Map<string, unknown>;
|
|
1955
2788
|
userUuid: string;
|
|
1956
2789
|
availabilityStatus: string;
|
|
2790
|
+
outlineColor?: number | undefined;
|
|
2791
|
+
chatID?: string | null | undefined;
|
|
1957
2792
|
};
|
|
1958
2793
|
}, {
|
|
1959
2794
|
type: "addRemotePlayer";
|
|
1960
2795
|
data: {
|
|
1961
|
-
|
|
2796
|
+
name: string;
|
|
1962
2797
|
position: {
|
|
1963
2798
|
x: number;
|
|
1964
2799
|
y: number;
|
|
1965
2800
|
};
|
|
1966
|
-
name: string;
|
|
1967
2801
|
playerId: number;
|
|
1968
2802
|
variables: Map<string, unknown>;
|
|
1969
2803
|
userUuid: string;
|
|
1970
2804
|
availabilityStatus: string;
|
|
2805
|
+
outlineColor?: number | undefined;
|
|
2806
|
+
chatID?: string | null | undefined;
|
|
1971
2807
|
};
|
|
1972
2808
|
}>, z.ZodObject<{
|
|
1973
2809
|
type: z.ZodLiteral<"removeRemotePlayer">;
|
|
@@ -1981,6 +2817,7 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
1981
2817
|
}>, z.ZodObject<{
|
|
1982
2818
|
type: z.ZodLiteral<"remotePlayerChanged">;
|
|
1983
2819
|
data: z.ZodObject<{
|
|
2820
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1984
2821
|
position: z.ZodOptional<z.ZodObject<{
|
|
1985
2822
|
x: z.ZodNumber;
|
|
1986
2823
|
y: z.ZodNumber;
|
|
@@ -1991,81 +2828,105 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
1991
2828
|
x: number;
|
|
1992
2829
|
y: number;
|
|
1993
2830
|
}>>;
|
|
1994
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1995
2831
|
playerId: z.ZodNumber;
|
|
1996
2832
|
variables: z.ZodOptional<z.ZodMap<z.ZodString, z.ZodUnknown>>;
|
|
1997
2833
|
availabilityStatus: z.ZodOptional<z.ZodString>;
|
|
1998
2834
|
outlineColor: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2835
|
+
chatID: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1999
2836
|
}, "strip", z.ZodTypeAny, {
|
|
2837
|
+
playerId: number;
|
|
2838
|
+
name?: string | undefined;
|
|
2000
2839
|
position?: {
|
|
2001
2840
|
x: number;
|
|
2002
2841
|
y: number;
|
|
2003
2842
|
} | undefined;
|
|
2004
|
-
name?: string | undefined;
|
|
2005
2843
|
variables?: Map<string, unknown> | undefined;
|
|
2006
2844
|
availabilityStatus?: string | undefined;
|
|
2007
2845
|
outlineColor?: number | undefined;
|
|
2008
|
-
|
|
2846
|
+
chatID?: string | null | undefined;
|
|
2009
2847
|
}, {
|
|
2848
|
+
playerId: number;
|
|
2849
|
+
name?: string | undefined;
|
|
2010
2850
|
position?: {
|
|
2011
2851
|
x: number;
|
|
2012
2852
|
y: number;
|
|
2013
2853
|
} | undefined;
|
|
2014
|
-
name?: string | undefined;
|
|
2015
2854
|
variables?: Map<string, unknown> | undefined;
|
|
2016
2855
|
availabilityStatus?: string | undefined;
|
|
2017
2856
|
outlineColor?: number | undefined;
|
|
2018
|
-
|
|
2857
|
+
chatID?: string | null | undefined;
|
|
2019
2858
|
}>;
|
|
2020
2859
|
}, "strip", z.ZodTypeAny, {
|
|
2021
2860
|
type: "remotePlayerChanged";
|
|
2022
2861
|
data: {
|
|
2862
|
+
playerId: number;
|
|
2863
|
+
name?: string | undefined;
|
|
2023
2864
|
position?: {
|
|
2024
2865
|
x: number;
|
|
2025
2866
|
y: number;
|
|
2026
2867
|
} | undefined;
|
|
2027
|
-
name?: string | undefined;
|
|
2028
2868
|
variables?: Map<string, unknown> | undefined;
|
|
2029
2869
|
availabilityStatus?: string | undefined;
|
|
2030
2870
|
outlineColor?: number | undefined;
|
|
2031
|
-
|
|
2871
|
+
chatID?: string | null | undefined;
|
|
2032
2872
|
};
|
|
2033
2873
|
}, {
|
|
2034
2874
|
type: "remotePlayerChanged";
|
|
2035
2875
|
data: {
|
|
2876
|
+
playerId: number;
|
|
2877
|
+
name?: string | undefined;
|
|
2036
2878
|
position?: {
|
|
2037
2879
|
x: number;
|
|
2038
2880
|
y: number;
|
|
2039
2881
|
} | undefined;
|
|
2040
|
-
name?: string | undefined;
|
|
2041
2882
|
variables?: Map<string, unknown> | undefined;
|
|
2042
2883
|
availabilityStatus?: string | undefined;
|
|
2043
2884
|
outlineColor?: number | undefined;
|
|
2044
|
-
|
|
2885
|
+
chatID?: string | null | undefined;
|
|
2045
2886
|
};
|
|
2046
2887
|
}>, z.ZodObject<{
|
|
2047
2888
|
type: z.ZodLiteral<"settings">;
|
|
2048
2889
|
data: z.ZodObject<{
|
|
2049
2890
|
notification: z.ZodBoolean;
|
|
2050
2891
|
chatSounds: z.ZodBoolean;
|
|
2892
|
+
enableChat: z.ZodBoolean;
|
|
2893
|
+
enableChatUpload: z.ZodBoolean;
|
|
2894
|
+
enableChatOnlineList: z.ZodBoolean;
|
|
2895
|
+
enableChatDisconnectedList: z.ZodBoolean;
|
|
2051
2896
|
}, "strip", z.ZodTypeAny, {
|
|
2052
2897
|
notification: boolean;
|
|
2053
2898
|
chatSounds: boolean;
|
|
2899
|
+
enableChat: boolean;
|
|
2900
|
+
enableChatUpload: boolean;
|
|
2901
|
+
enableChatOnlineList: boolean;
|
|
2902
|
+
enableChatDisconnectedList: boolean;
|
|
2054
2903
|
}, {
|
|
2055
2904
|
notification: boolean;
|
|
2056
2905
|
chatSounds: boolean;
|
|
2906
|
+
enableChat: boolean;
|
|
2907
|
+
enableChatUpload: boolean;
|
|
2908
|
+
enableChatOnlineList: boolean;
|
|
2909
|
+
enableChatDisconnectedList: boolean;
|
|
2057
2910
|
}>;
|
|
2058
2911
|
}, "strip", z.ZodTypeAny, {
|
|
2059
2912
|
type: "settings";
|
|
2060
2913
|
data: {
|
|
2061
2914
|
notification: boolean;
|
|
2062
2915
|
chatSounds: boolean;
|
|
2916
|
+
enableChat: boolean;
|
|
2917
|
+
enableChatUpload: boolean;
|
|
2918
|
+
enableChatOnlineList: boolean;
|
|
2919
|
+
enableChatDisconnectedList: boolean;
|
|
2063
2920
|
};
|
|
2064
2921
|
}, {
|
|
2065
2922
|
type: "settings";
|
|
2066
2923
|
data: {
|
|
2067
2924
|
notification: boolean;
|
|
2068
2925
|
chatSounds: boolean;
|
|
2926
|
+
enableChat: boolean;
|
|
2927
|
+
enableChatUpload: boolean;
|
|
2928
|
+
enableChatOnlineList: boolean;
|
|
2929
|
+
enableChatDisconnectedList: boolean;
|
|
2069
2930
|
};
|
|
2070
2931
|
}>, z.ZodObject<{
|
|
2071
2932
|
type: z.ZodLiteral<"chatVisibility">;
|
|
@@ -2107,101 +2968,349 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
2107
2968
|
}>, z.ZodObject<{
|
|
2108
2969
|
type: z.ZodLiteral<"comingUser">;
|
|
2109
2970
|
data: z.ZodObject<{
|
|
2110
|
-
|
|
2971
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2972
|
+
type: z.ZodNativeEnum<typeof import("@workadventure/shared-utils").ChatMessageTypes>;
|
|
2111
2973
|
date: z.ZodDate;
|
|
2112
|
-
author: z.ZodOptional<z.ZodNullable<z.
|
|
2974
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2975
|
+
name: z.ZodString;
|
|
2976
|
+
active: z.ZodBoolean;
|
|
2977
|
+
isMe: z.ZodBoolean;
|
|
2978
|
+
jid: z.ZodString;
|
|
2979
|
+
isMember: z.ZodBoolean;
|
|
2980
|
+
color: z.ZodOptional<z.ZodString>;
|
|
2981
|
+
}, "strip", z.ZodTypeAny, {
|
|
2982
|
+
name: string;
|
|
2983
|
+
active: boolean;
|
|
2984
|
+
isMe: boolean;
|
|
2985
|
+
jid: string;
|
|
2986
|
+
isMember: boolean;
|
|
2987
|
+
color?: string | undefined;
|
|
2988
|
+
}, {
|
|
2989
|
+
name: string;
|
|
2990
|
+
active: boolean;
|
|
2991
|
+
isMe: boolean;
|
|
2992
|
+
jid: string;
|
|
2993
|
+
isMember: boolean;
|
|
2994
|
+
color?: string | undefined;
|
|
2995
|
+
}>>>;
|
|
2996
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2113
2997
|
targets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodString>, "many">>>;
|
|
2114
|
-
text: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
2998
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
2115
2999
|
}, "strip", z.ZodTypeAny, {
|
|
2116
|
-
|
|
2117
|
-
text?: (string | null)[] | null | undefined;
|
|
2118
|
-
targets?: (string | null)[] | null | undefined;
|
|
2119
|
-
type: import("./ChatEvent").ChatMessageTypes;
|
|
3000
|
+
type: import("@workadventure/shared-utils").ChatMessageTypes;
|
|
2120
3001
|
date: Date;
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
3002
|
+
author?: {
|
|
3003
|
+
name: string;
|
|
3004
|
+
active: boolean;
|
|
3005
|
+
isMe: boolean;
|
|
3006
|
+
jid: string;
|
|
3007
|
+
isMember: boolean;
|
|
3008
|
+
color?: string | undefined;
|
|
3009
|
+
} | null | undefined;
|
|
3010
|
+
text?: string[] | null | undefined;
|
|
3011
|
+
name?: string | null | undefined;
|
|
3012
|
+
id?: string | undefined;
|
|
2124
3013
|
targets?: (string | null)[] | null | undefined;
|
|
2125
|
-
|
|
3014
|
+
}, {
|
|
3015
|
+
type: import("@workadventure/shared-utils").ChatMessageTypes;
|
|
2126
3016
|
date: Date;
|
|
3017
|
+
author?: {
|
|
3018
|
+
name: string;
|
|
3019
|
+
active: boolean;
|
|
3020
|
+
isMe: boolean;
|
|
3021
|
+
jid: string;
|
|
3022
|
+
isMember: boolean;
|
|
3023
|
+
color?: string | undefined;
|
|
3024
|
+
} | null | undefined;
|
|
3025
|
+
text?: string[] | null | undefined;
|
|
3026
|
+
name?: string | null | undefined;
|
|
3027
|
+
id?: string | undefined;
|
|
3028
|
+
targets?: (string | null)[] | null | undefined;
|
|
2127
3029
|
}>;
|
|
2128
3030
|
}, "strip", z.ZodTypeAny, {
|
|
2129
3031
|
type: "comingUser";
|
|
2130
3032
|
data: {
|
|
2131
|
-
|
|
2132
|
-
text?: (string | null)[] | null | undefined;
|
|
2133
|
-
targets?: (string | null)[] | null | undefined;
|
|
2134
|
-
type: import("./ChatEvent").ChatMessageTypes;
|
|
3033
|
+
type: import("@workadventure/shared-utils").ChatMessageTypes;
|
|
2135
3034
|
date: Date;
|
|
3035
|
+
author?: {
|
|
3036
|
+
name: string;
|
|
3037
|
+
active: boolean;
|
|
3038
|
+
isMe: boolean;
|
|
3039
|
+
jid: string;
|
|
3040
|
+
isMember: boolean;
|
|
3041
|
+
color?: string | undefined;
|
|
3042
|
+
} | null | undefined;
|
|
3043
|
+
text?: string[] | null | undefined;
|
|
3044
|
+
name?: string | null | undefined;
|
|
3045
|
+
id?: string | undefined;
|
|
3046
|
+
targets?: (string | null)[] | null | undefined;
|
|
2136
3047
|
};
|
|
2137
3048
|
}, {
|
|
2138
3049
|
type: "comingUser";
|
|
2139
3050
|
data: {
|
|
2140
|
-
|
|
2141
|
-
text?: (string | null)[] | null | undefined;
|
|
2142
|
-
targets?: (string | null)[] | null | undefined;
|
|
2143
|
-
type: import("./ChatEvent").ChatMessageTypes;
|
|
3051
|
+
type: import("@workadventure/shared-utils").ChatMessageTypes;
|
|
2144
3052
|
date: Date;
|
|
3053
|
+
author?: {
|
|
3054
|
+
name: string;
|
|
3055
|
+
active: boolean;
|
|
3056
|
+
isMe: boolean;
|
|
3057
|
+
jid: string;
|
|
3058
|
+
isMember: boolean;
|
|
3059
|
+
color?: string | undefined;
|
|
3060
|
+
} | null | undefined;
|
|
3061
|
+
text?: string[] | null | undefined;
|
|
3062
|
+
name?: string | null | undefined;
|
|
3063
|
+
id?: string | undefined;
|
|
3064
|
+
targets?: (string | null)[] | null | undefined;
|
|
2145
3065
|
};
|
|
2146
3066
|
}>, z.ZodObject<{
|
|
2147
3067
|
type: z.ZodLiteral<"addChatMessage">;
|
|
2148
3068
|
data: z.ZodObject<{
|
|
2149
|
-
|
|
3069
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3070
|
+
type: z.ZodNativeEnum<typeof import("@workadventure/shared-utils").ChatMessageTypes>;
|
|
2150
3071
|
date: z.ZodDate;
|
|
2151
|
-
author: z.ZodOptional<z.ZodNullable<z.
|
|
3072
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3073
|
+
name: z.ZodString;
|
|
3074
|
+
active: z.ZodBoolean;
|
|
3075
|
+
isMe: z.ZodBoolean;
|
|
3076
|
+
jid: z.ZodString;
|
|
3077
|
+
isMember: z.ZodBoolean;
|
|
3078
|
+
color: z.ZodOptional<z.ZodString>;
|
|
3079
|
+
}, "strip", z.ZodTypeAny, {
|
|
3080
|
+
name: string;
|
|
3081
|
+
active: boolean;
|
|
3082
|
+
isMe: boolean;
|
|
3083
|
+
jid: string;
|
|
3084
|
+
isMember: boolean;
|
|
3085
|
+
color?: string | undefined;
|
|
3086
|
+
}, {
|
|
3087
|
+
name: string;
|
|
3088
|
+
active: boolean;
|
|
3089
|
+
isMe: boolean;
|
|
3090
|
+
jid: string;
|
|
3091
|
+
isMember: boolean;
|
|
3092
|
+
color?: string | undefined;
|
|
3093
|
+
}>>>;
|
|
3094
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2152
3095
|
targets: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNullable<z.ZodString>, "many">>>;
|
|
2153
|
-
text: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
3096
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
2154
3097
|
}, "strip", z.ZodTypeAny, {
|
|
2155
|
-
|
|
2156
|
-
text?: (string | null)[] | null | undefined;
|
|
2157
|
-
targets?: (string | null)[] | null | undefined;
|
|
2158
|
-
type: import("./ChatEvent").ChatMessageTypes;
|
|
3098
|
+
type: import("@workadventure/shared-utils").ChatMessageTypes;
|
|
2159
3099
|
date: Date;
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
3100
|
+
author?: {
|
|
3101
|
+
name: string;
|
|
3102
|
+
active: boolean;
|
|
3103
|
+
isMe: boolean;
|
|
3104
|
+
jid: string;
|
|
3105
|
+
isMember: boolean;
|
|
3106
|
+
color?: string | undefined;
|
|
3107
|
+
} | null | undefined;
|
|
3108
|
+
text?: string[] | null | undefined;
|
|
3109
|
+
name?: string | null | undefined;
|
|
3110
|
+
id?: string | undefined;
|
|
2163
3111
|
targets?: (string | null)[] | null | undefined;
|
|
2164
|
-
|
|
3112
|
+
}, {
|
|
3113
|
+
type: import("@workadventure/shared-utils").ChatMessageTypes;
|
|
2165
3114
|
date: Date;
|
|
3115
|
+
author?: {
|
|
3116
|
+
name: string;
|
|
3117
|
+
active: boolean;
|
|
3118
|
+
isMe: boolean;
|
|
3119
|
+
jid: string;
|
|
3120
|
+
isMember: boolean;
|
|
3121
|
+
color?: string | undefined;
|
|
3122
|
+
} | null | undefined;
|
|
3123
|
+
text?: string[] | null | undefined;
|
|
3124
|
+
name?: string | null | undefined;
|
|
3125
|
+
id?: string | undefined;
|
|
3126
|
+
targets?: (string | null)[] | null | undefined;
|
|
2166
3127
|
}>;
|
|
2167
3128
|
}, "strip", z.ZodTypeAny, {
|
|
2168
3129
|
type: "addChatMessage";
|
|
2169
3130
|
data: {
|
|
2170
|
-
|
|
2171
|
-
text?: (string | null)[] | null | undefined;
|
|
2172
|
-
targets?: (string | null)[] | null | undefined;
|
|
2173
|
-
type: import("./ChatEvent").ChatMessageTypes;
|
|
3131
|
+
type: import("@workadventure/shared-utils").ChatMessageTypes;
|
|
2174
3132
|
date: Date;
|
|
3133
|
+
author?: {
|
|
3134
|
+
name: string;
|
|
3135
|
+
active: boolean;
|
|
3136
|
+
isMe: boolean;
|
|
3137
|
+
jid: string;
|
|
3138
|
+
isMember: boolean;
|
|
3139
|
+
color?: string | undefined;
|
|
3140
|
+
} | null | undefined;
|
|
3141
|
+
text?: string[] | null | undefined;
|
|
3142
|
+
name?: string | null | undefined;
|
|
3143
|
+
id?: string | undefined;
|
|
3144
|
+
targets?: (string | null)[] | null | undefined;
|
|
2175
3145
|
};
|
|
2176
3146
|
}, {
|
|
2177
3147
|
type: "addChatMessage";
|
|
2178
3148
|
data: {
|
|
2179
|
-
|
|
2180
|
-
text?: (string | null)[] | null | undefined;
|
|
2181
|
-
targets?: (string | null)[] | null | undefined;
|
|
2182
|
-
type: import("./ChatEvent").ChatMessageTypes;
|
|
3149
|
+
type: import("@workadventure/shared-utils").ChatMessageTypes;
|
|
2183
3150
|
date: Date;
|
|
3151
|
+
author?: {
|
|
3152
|
+
name: string;
|
|
3153
|
+
active: boolean;
|
|
3154
|
+
isMe: boolean;
|
|
3155
|
+
jid: string;
|
|
3156
|
+
isMember: boolean;
|
|
3157
|
+
color?: string | undefined;
|
|
3158
|
+
} | null | undefined;
|
|
3159
|
+
text?: string[] | null | undefined;
|
|
3160
|
+
name?: string | null | undefined;
|
|
3161
|
+
id?: string | undefined;
|
|
3162
|
+
targets?: (string | null)[] | null | undefined;
|
|
2184
3163
|
};
|
|
2185
3164
|
}>, z.ZodObject<{
|
|
2186
3165
|
type: z.ZodLiteral<"updateWritingStatusChatList">;
|
|
2187
|
-
data: z.
|
|
3166
|
+
data: z.ZodObject<{
|
|
3167
|
+
users: z.ZodArray<z.ZodObject<{
|
|
3168
|
+
jid: z.ZodOptional<z.ZodString>;
|
|
3169
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3170
|
+
}, "strip", z.ZodTypeAny, {
|
|
3171
|
+
name?: string | undefined;
|
|
3172
|
+
jid?: string | undefined;
|
|
3173
|
+
}, {
|
|
3174
|
+
name?: string | undefined;
|
|
3175
|
+
jid?: string | undefined;
|
|
3176
|
+
}>, "many">;
|
|
3177
|
+
}, "strip", z.ZodTypeAny, {
|
|
3178
|
+
users: {
|
|
3179
|
+
name?: string | undefined;
|
|
3180
|
+
jid?: string | undefined;
|
|
3181
|
+
}[];
|
|
3182
|
+
}, {
|
|
3183
|
+
users: {
|
|
3184
|
+
name?: string | undefined;
|
|
3185
|
+
jid?: string | undefined;
|
|
3186
|
+
}[];
|
|
3187
|
+
}>;
|
|
2188
3188
|
}, "strip", z.ZodTypeAny, {
|
|
2189
3189
|
type: "updateWritingStatusChatList";
|
|
2190
|
-
data:
|
|
3190
|
+
data: {
|
|
3191
|
+
users: {
|
|
3192
|
+
name?: string | undefined;
|
|
3193
|
+
jid?: string | undefined;
|
|
3194
|
+
}[];
|
|
3195
|
+
};
|
|
2191
3196
|
}, {
|
|
2192
3197
|
type: "updateWritingStatusChatList";
|
|
2193
|
-
data:
|
|
3198
|
+
data: {
|
|
3199
|
+
users: {
|
|
3200
|
+
name?: string | undefined;
|
|
3201
|
+
jid?: string | undefined;
|
|
3202
|
+
}[];
|
|
3203
|
+
};
|
|
3204
|
+
}>, z.ZodObject<{
|
|
3205
|
+
type: z.ZodLiteral<"buttonActionBarTriggered">;
|
|
3206
|
+
data: z.ZodString;
|
|
3207
|
+
}, "strip", z.ZodTypeAny, {
|
|
3208
|
+
type: "buttonActionBarTriggered";
|
|
3209
|
+
data: string;
|
|
3210
|
+
}, {
|
|
3211
|
+
type: "buttonActionBarTriggered";
|
|
3212
|
+
data: string;
|
|
3213
|
+
}>, z.ZodObject<{
|
|
3214
|
+
type: z.ZodLiteral<"modalCloseTrigger">;
|
|
3215
|
+
data: z.ZodObject<{
|
|
3216
|
+
src: z.ZodString;
|
|
3217
|
+
allow: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
3218
|
+
title: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
3219
|
+
position: z.ZodDefault<z.ZodOptional<z.ZodEnum<["right", "left", "center"]>>>;
|
|
3220
|
+
allowApi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3221
|
+
allowFullScreen: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3222
|
+
}, "strip", z.ZodTypeAny, {
|
|
3223
|
+
title: string;
|
|
3224
|
+
allowApi: boolean;
|
|
3225
|
+
position: "left" | "right" | "center";
|
|
3226
|
+
allow: string | null;
|
|
3227
|
+
src: string;
|
|
3228
|
+
allowFullScreen: boolean;
|
|
3229
|
+
}, {
|
|
3230
|
+
src: string;
|
|
3231
|
+
title?: string | undefined;
|
|
3232
|
+
allowApi?: boolean | undefined;
|
|
3233
|
+
position?: "left" | "right" | "center" | undefined;
|
|
3234
|
+
allow?: string | null | undefined;
|
|
3235
|
+
allowFullScreen?: boolean | undefined;
|
|
3236
|
+
}>;
|
|
3237
|
+
}, "strip", z.ZodTypeAny, {
|
|
3238
|
+
type: "modalCloseTrigger";
|
|
3239
|
+
data: {
|
|
3240
|
+
title: string;
|
|
3241
|
+
allowApi: boolean;
|
|
3242
|
+
position: "left" | "right" | "center";
|
|
3243
|
+
allow: string | null;
|
|
3244
|
+
src: string;
|
|
3245
|
+
allowFullScreen: boolean;
|
|
3246
|
+
};
|
|
3247
|
+
}, {
|
|
3248
|
+
type: "modalCloseTrigger";
|
|
3249
|
+
data: {
|
|
3250
|
+
src: string;
|
|
3251
|
+
title?: string | undefined;
|
|
3252
|
+
allowApi?: boolean | undefined;
|
|
3253
|
+
position?: "left" | "right" | "center" | undefined;
|
|
3254
|
+
allow?: string | null | undefined;
|
|
3255
|
+
allowFullScreen?: boolean | undefined;
|
|
3256
|
+
};
|
|
3257
|
+
}>, z.ZodObject<{
|
|
3258
|
+
type: z.ZodLiteral<"banUser">;
|
|
3259
|
+
data: z.ZodObject<{
|
|
3260
|
+
uuid: z.ZodString;
|
|
3261
|
+
name: z.ZodString;
|
|
3262
|
+
}, "strip", z.ZodTypeAny, {
|
|
3263
|
+
name: string;
|
|
3264
|
+
uuid: string;
|
|
3265
|
+
}, {
|
|
3266
|
+
name: string;
|
|
3267
|
+
uuid: string;
|
|
3268
|
+
}>;
|
|
3269
|
+
}, "strip", z.ZodTypeAny, {
|
|
3270
|
+
type: "banUser";
|
|
3271
|
+
data: {
|
|
3272
|
+
name: string;
|
|
3273
|
+
uuid: string;
|
|
3274
|
+
};
|
|
3275
|
+
}, {
|
|
3276
|
+
type: "banUser";
|
|
3277
|
+
data: {
|
|
3278
|
+
name: string;
|
|
3279
|
+
uuid: string;
|
|
3280
|
+
};
|
|
3281
|
+
}>, z.ZodObject<{
|
|
3282
|
+
type: z.ZodLiteral<"appendPCMData">;
|
|
3283
|
+
data: z.ZodObject<{
|
|
3284
|
+
data: z.ZodType<Float32Array<ArrayBuffer>, z.ZodTypeDef, Float32Array<ArrayBuffer>>;
|
|
3285
|
+
}, "strip", z.ZodTypeAny, {
|
|
3286
|
+
data: Float32Array<ArrayBuffer>;
|
|
3287
|
+
}, {
|
|
3288
|
+
data: Float32Array<ArrayBuffer>;
|
|
3289
|
+
}>;
|
|
3290
|
+
}, "strip", z.ZodTypeAny, {
|
|
3291
|
+
type: "appendPCMData";
|
|
3292
|
+
data: {
|
|
3293
|
+
data: Float32Array<ArrayBuffer>;
|
|
3294
|
+
};
|
|
3295
|
+
}, {
|
|
3296
|
+
type: "appendPCMData";
|
|
3297
|
+
data: {
|
|
3298
|
+
data: Float32Array<ArrayBuffer>;
|
|
3299
|
+
};
|
|
2194
3300
|
}>]>;
|
|
2195
|
-
export
|
|
3301
|
+
export type IframeResponseEvent = z.infer<typeof isIframeResponseEvent>;
|
|
2196
3302
|
export declare const isLookingLikeIframeEventWrapper: z.ZodObject<{
|
|
2197
3303
|
type: z.ZodString;
|
|
2198
3304
|
data: z.ZodOptional<z.ZodUnknown>;
|
|
3305
|
+
payload: z.ZodOptional<z.ZodUnknown>;
|
|
2199
3306
|
}, "strip", z.ZodTypeAny, {
|
|
2200
|
-
data?: unknown;
|
|
2201
3307
|
type: string;
|
|
2202
|
-
}, {
|
|
2203
3308
|
data?: unknown;
|
|
3309
|
+
payload?: unknown;
|
|
3310
|
+
}, {
|
|
2204
3311
|
type: string;
|
|
3312
|
+
data?: unknown;
|
|
3313
|
+
payload?: unknown;
|
|
2205
3314
|
}>;
|
|
2206
3315
|
/**
|
|
2207
3316
|
* List event types sent from an iFrame to WorkAdventure that expect a unique answer from WorkAdventure along the type for the answer from WorkAdventure to the iFrame.
|
|
@@ -2212,6 +3321,7 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2212
3321
|
query: z.ZodUndefined;
|
|
2213
3322
|
answer: z.ZodObject<{
|
|
2214
3323
|
roomId: z.ZodString;
|
|
3324
|
+
hashParameters: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2215
3325
|
mapUrl: z.ZodString;
|
|
2216
3326
|
nickname: z.ZodString;
|
|
2217
3327
|
language: z.ZodOptional<z.ZodString>;
|
|
@@ -2223,32 +3333,40 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2223
3333
|
playerVariables: z.ZodUnknown;
|
|
2224
3334
|
userRoomToken: z.ZodOptional<z.ZodString>;
|
|
2225
3335
|
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
3336
|
+
iframeId: z.ZodOptional<z.ZodString>;
|
|
3337
|
+
isLogged: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2226
3338
|
}, "strip", z.ZodTypeAny, {
|
|
3339
|
+
roomId: string;
|
|
3340
|
+
hashParameters: Record<string, string>;
|
|
3341
|
+
mapUrl: string;
|
|
3342
|
+
nickname: string;
|
|
3343
|
+
tags: string[];
|
|
3344
|
+
isLogged: boolean;
|
|
3345
|
+
uuid?: string | undefined;
|
|
2227
3346
|
language?: string | undefined;
|
|
2228
3347
|
playerId?: number | undefined;
|
|
2229
|
-
uuid?: string | undefined;
|
|
2230
3348
|
startLayerName?: string | undefined;
|
|
2231
3349
|
variables?: unknown;
|
|
2232
3350
|
playerVariables?: unknown;
|
|
2233
3351
|
userRoomToken?: string | undefined;
|
|
2234
3352
|
metadata?: unknown;
|
|
3353
|
+
iframeId?: string | undefined;
|
|
3354
|
+
}, {
|
|
2235
3355
|
roomId: string;
|
|
3356
|
+
hashParameters: Record<string, string>;
|
|
2236
3357
|
mapUrl: string;
|
|
2237
3358
|
nickname: string;
|
|
2238
3359
|
tags: string[];
|
|
2239
|
-
|
|
3360
|
+
uuid?: string | undefined;
|
|
2240
3361
|
language?: string | undefined;
|
|
2241
3362
|
playerId?: number | undefined;
|
|
2242
|
-
uuid?: string | undefined;
|
|
2243
3363
|
startLayerName?: string | undefined;
|
|
2244
3364
|
variables?: unknown;
|
|
2245
3365
|
playerVariables?: unknown;
|
|
2246
3366
|
userRoomToken?: string | undefined;
|
|
2247
3367
|
metadata?: unknown;
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
nickname: string;
|
|
2251
|
-
tags: string[];
|
|
3368
|
+
iframeId?: string | undefined;
|
|
3369
|
+
isLogged?: boolean | undefined;
|
|
2252
3370
|
}>;
|
|
2253
3371
|
};
|
|
2254
3372
|
getMapData: {
|
|
@@ -2266,11 +3384,11 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2266
3384
|
key: z.ZodString;
|
|
2267
3385
|
value: z.ZodUnknown;
|
|
2268
3386
|
}, "strip", z.ZodTypeAny, {
|
|
2269
|
-
value?: unknown;
|
|
2270
3387
|
key: string;
|
|
2271
|
-
}, {
|
|
2272
3388
|
value?: unknown;
|
|
3389
|
+
}, {
|
|
2273
3390
|
key: string;
|
|
3391
|
+
value?: unknown;
|
|
2274
3392
|
}>;
|
|
2275
3393
|
answer: z.ZodUndefined;
|
|
2276
3394
|
};
|
|
@@ -2283,19 +3401,35 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2283
3401
|
ttl: z.ZodOptional<z.ZodNumber>;
|
|
2284
3402
|
scope: z.ZodUnion<[z.ZodLiteral<"room">, z.ZodLiteral<"world">]>;
|
|
2285
3403
|
}, "strip", z.ZodTypeAny, {
|
|
2286
|
-
|
|
2287
|
-
ttl?: number | undefined;
|
|
3404
|
+
scope: "room" | "world";
|
|
2288
3405
|
key: string;
|
|
2289
3406
|
public: boolean;
|
|
2290
3407
|
persist: boolean;
|
|
2291
|
-
scope: "room" | "world";
|
|
2292
|
-
}, {
|
|
2293
3408
|
value?: unknown;
|
|
2294
3409
|
ttl?: number | undefined;
|
|
3410
|
+
}, {
|
|
3411
|
+
scope: "room" | "world";
|
|
2295
3412
|
key: string;
|
|
2296
3413
|
public: boolean;
|
|
2297
3414
|
persist: boolean;
|
|
2298
|
-
|
|
3415
|
+
value?: unknown;
|
|
3416
|
+
ttl?: number | undefined;
|
|
3417
|
+
}>;
|
|
3418
|
+
answer: z.ZodUndefined;
|
|
3419
|
+
};
|
|
3420
|
+
dispatchEvent: {
|
|
3421
|
+
query: z.ZodObject<{
|
|
3422
|
+
name: z.ZodString;
|
|
3423
|
+
data: z.ZodUnknown;
|
|
3424
|
+
targetUserIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
3425
|
+
}, "strip", z.ZodTypeAny, {
|
|
3426
|
+
name: string;
|
|
3427
|
+
data?: unknown;
|
|
3428
|
+
targetUserIds?: number[] | undefined;
|
|
3429
|
+
}, {
|
|
3430
|
+
name: string;
|
|
3431
|
+
data?: unknown;
|
|
3432
|
+
targetUserIds?: number[] | undefined;
|
|
2299
3433
|
}>;
|
|
2300
3434
|
answer: z.ZodUndefined;
|
|
2301
3435
|
};
|
|
@@ -2319,21 +3453,21 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2319
3453
|
closable: z.ZodOptional<z.ZodBoolean>;
|
|
2320
3454
|
lazy: z.ZodOptional<z.ZodBoolean>;
|
|
2321
3455
|
}, "strip", z.ZodTypeAny, {
|
|
3456
|
+
url: string;
|
|
2322
3457
|
allowApi?: boolean | undefined;
|
|
2323
3458
|
allowPolicy?: string | undefined;
|
|
2324
3459
|
widthPercent?: number | undefined;
|
|
2325
3460
|
position?: number | undefined;
|
|
2326
3461
|
closable?: boolean | undefined;
|
|
2327
3462
|
lazy?: boolean | undefined;
|
|
2328
|
-
url: string;
|
|
2329
3463
|
}, {
|
|
3464
|
+
url: string;
|
|
2330
3465
|
allowApi?: boolean | undefined;
|
|
2331
3466
|
allowPolicy?: string | undefined;
|
|
2332
3467
|
widthPercent?: number | undefined;
|
|
2333
3468
|
position?: number | undefined;
|
|
2334
3469
|
closable?: boolean | undefined;
|
|
2335
3470
|
lazy?: boolean | undefined;
|
|
2336
|
-
url: string;
|
|
2337
3471
|
}>;
|
|
2338
3472
|
answer: z.ZodObject<{
|
|
2339
3473
|
id: z.ZodString;
|
|
@@ -2361,6 +3495,10 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2361
3495
|
query: z.ZodUndefined;
|
|
2362
3496
|
answer: z.ZodUndefined;
|
|
2363
3497
|
};
|
|
3498
|
+
goToLogin: {
|
|
3499
|
+
query: z.ZodUndefined;
|
|
3500
|
+
answer: z.ZodUndefined;
|
|
3501
|
+
};
|
|
2364
3502
|
triggerActionMessage: {
|
|
2365
3503
|
query: z.ZodObject<{
|
|
2366
3504
|
message: z.ZodString;
|
|
@@ -2377,6 +3515,22 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2377
3515
|
}>;
|
|
2378
3516
|
answer: z.ZodUndefined;
|
|
2379
3517
|
};
|
|
3518
|
+
triggerPlayerMessage: {
|
|
3519
|
+
query: z.ZodObject<{
|
|
3520
|
+
message: z.ZodString;
|
|
3521
|
+
uuid: z.ZodString;
|
|
3522
|
+
type: z.ZodEnum<["message", "warning"]>;
|
|
3523
|
+
}, "strip", z.ZodTypeAny, {
|
|
3524
|
+
message: string;
|
|
3525
|
+
type: "message" | "warning";
|
|
3526
|
+
uuid: string;
|
|
3527
|
+
}, {
|
|
3528
|
+
message: string;
|
|
3529
|
+
type: "message" | "warning";
|
|
3530
|
+
uuid: string;
|
|
3531
|
+
}>;
|
|
3532
|
+
answer: z.ZodUndefined;
|
|
3533
|
+
};
|
|
2380
3534
|
removeActionMessage: {
|
|
2381
3535
|
query: z.ZodObject<{
|
|
2382
3536
|
uuid: z.ZodString;
|
|
@@ -2387,6 +3541,16 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2387
3541
|
}>;
|
|
2388
3542
|
answer: z.ZodUndefined;
|
|
2389
3543
|
};
|
|
3544
|
+
removePlayerMessage: {
|
|
3545
|
+
query: z.ZodObject<{
|
|
3546
|
+
uuid: z.ZodString;
|
|
3547
|
+
}, "strip", z.ZodTypeAny, {
|
|
3548
|
+
uuid: string;
|
|
3549
|
+
}, {
|
|
3550
|
+
uuid: string;
|
|
3551
|
+
}>;
|
|
3552
|
+
answer: z.ZodUndefined;
|
|
3553
|
+
};
|
|
2390
3554
|
getEmbeddedWebsite: {
|
|
2391
3555
|
query: z.ZodString;
|
|
2392
3556
|
answer: z.ZodObject<{
|
|
@@ -2398,15 +3562,15 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2398
3562
|
width: z.ZodNumber;
|
|
2399
3563
|
height: z.ZodNumber;
|
|
2400
3564
|
}, "strip", z.ZodTypeAny, {
|
|
3565
|
+
height: number;
|
|
3566
|
+
width: number;
|
|
2401
3567
|
x: number;
|
|
2402
3568
|
y: number;
|
|
2403
|
-
width: number;
|
|
2404
|
-
height: number;
|
|
2405
3569
|
}, {
|
|
3570
|
+
height: number;
|
|
3571
|
+
width: number;
|
|
2406
3572
|
x: number;
|
|
2407
3573
|
y: number;
|
|
2408
|
-
width: number;
|
|
2409
|
-
height: number;
|
|
2410
3574
|
}>;
|
|
2411
3575
|
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2412
3576
|
allowApi: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2414,33 +3578,33 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2414
3578
|
origin: z.ZodOptional<z.ZodEnum<["player", "map"]>>;
|
|
2415
3579
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
2416
3580
|
}, "strip", z.ZodTypeAny, {
|
|
2417
|
-
allowApi?: boolean | undefined;
|
|
2418
|
-
visible?: boolean | undefined;
|
|
2419
|
-
allow?: string | undefined;
|
|
2420
|
-
origin?: "player" | "map" | undefined;
|
|
2421
|
-
scale?: number | undefined;
|
|
2422
3581
|
url: string;
|
|
3582
|
+
name: string;
|
|
2423
3583
|
position: {
|
|
3584
|
+
height: number;
|
|
3585
|
+
width: number;
|
|
2424
3586
|
x: number;
|
|
2425
3587
|
y: number;
|
|
2426
|
-
width: number;
|
|
2427
|
-
height: number;
|
|
2428
3588
|
};
|
|
2429
|
-
name: string;
|
|
2430
|
-
}, {
|
|
2431
3589
|
allowApi?: boolean | undefined;
|
|
2432
3590
|
visible?: boolean | undefined;
|
|
2433
3591
|
allow?: string | undefined;
|
|
2434
|
-
origin?: "
|
|
3592
|
+
origin?: "map" | "player" | undefined;
|
|
2435
3593
|
scale?: number | undefined;
|
|
3594
|
+
}, {
|
|
2436
3595
|
url: string;
|
|
3596
|
+
name: string;
|
|
2437
3597
|
position: {
|
|
3598
|
+
height: number;
|
|
3599
|
+
width: number;
|
|
2438
3600
|
x: number;
|
|
2439
3601
|
y: number;
|
|
2440
|
-
width: number;
|
|
2441
|
-
height: number;
|
|
2442
3602
|
};
|
|
2443
|
-
|
|
3603
|
+
allowApi?: boolean | undefined;
|
|
3604
|
+
visible?: boolean | undefined;
|
|
3605
|
+
allow?: string | undefined;
|
|
3606
|
+
origin?: "map" | "player" | undefined;
|
|
3607
|
+
scale?: number | undefined;
|
|
2444
3608
|
}>;
|
|
2445
3609
|
};
|
|
2446
3610
|
deleteEmbeddedWebsite: {
|
|
@@ -2457,15 +3621,15 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2457
3621
|
width: z.ZodNumber;
|
|
2458
3622
|
height: z.ZodNumber;
|
|
2459
3623
|
}, "strip", z.ZodTypeAny, {
|
|
3624
|
+
height: number;
|
|
3625
|
+
width: number;
|
|
2460
3626
|
x: number;
|
|
2461
3627
|
y: number;
|
|
2462
|
-
width: number;
|
|
2463
|
-
height: number;
|
|
2464
3628
|
}, {
|
|
3629
|
+
height: number;
|
|
3630
|
+
width: number;
|
|
2465
3631
|
x: number;
|
|
2466
3632
|
y: number;
|
|
2467
|
-
width: number;
|
|
2468
|
-
height: number;
|
|
2469
3633
|
}>;
|
|
2470
3634
|
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2471
3635
|
allowApi: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2473,33 +3637,33 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2473
3637
|
origin: z.ZodOptional<z.ZodEnum<["player", "map"]>>;
|
|
2474
3638
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
2475
3639
|
}, "strip", z.ZodTypeAny, {
|
|
2476
|
-
allowApi?: boolean | undefined;
|
|
2477
|
-
visible?: boolean | undefined;
|
|
2478
|
-
allow?: string | undefined;
|
|
2479
|
-
origin?: "player" | "map" | undefined;
|
|
2480
|
-
scale?: number | undefined;
|
|
2481
3640
|
url: string;
|
|
3641
|
+
name: string;
|
|
2482
3642
|
position: {
|
|
3643
|
+
height: number;
|
|
3644
|
+
width: number;
|
|
2483
3645
|
x: number;
|
|
2484
3646
|
y: number;
|
|
2485
|
-
width: number;
|
|
2486
|
-
height: number;
|
|
2487
3647
|
};
|
|
2488
|
-
name: string;
|
|
2489
|
-
}, {
|
|
2490
3648
|
allowApi?: boolean | undefined;
|
|
2491
3649
|
visible?: boolean | undefined;
|
|
2492
3650
|
allow?: string | undefined;
|
|
2493
|
-
origin?: "
|
|
3651
|
+
origin?: "map" | "player" | undefined;
|
|
2494
3652
|
scale?: number | undefined;
|
|
3653
|
+
}, {
|
|
2495
3654
|
url: string;
|
|
3655
|
+
name: string;
|
|
2496
3656
|
position: {
|
|
3657
|
+
height: number;
|
|
3658
|
+
width: number;
|
|
2497
3659
|
x: number;
|
|
2498
3660
|
y: number;
|
|
2499
|
-
width: number;
|
|
2500
|
-
height: number;
|
|
2501
3661
|
};
|
|
2502
|
-
|
|
3662
|
+
allowApi?: boolean | undefined;
|
|
3663
|
+
visible?: boolean | undefined;
|
|
3664
|
+
allow?: string | undefined;
|
|
3665
|
+
origin?: "map" | "player" | undefined;
|
|
3666
|
+
scale?: number | undefined;
|
|
2503
3667
|
}>;
|
|
2504
3668
|
answer: z.ZodUndefined;
|
|
2505
3669
|
};
|
|
@@ -2511,17 +3675,17 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2511
3675
|
width: z.ZodNumber;
|
|
2512
3676
|
height: z.ZodNumber;
|
|
2513
3677
|
}, "strip", z.ZodTypeAny, {
|
|
3678
|
+
height: number;
|
|
3679
|
+
width: number;
|
|
2514
3680
|
name: string;
|
|
2515
3681
|
x: number;
|
|
2516
3682
|
y: number;
|
|
2517
|
-
width: number;
|
|
2518
|
-
height: number;
|
|
2519
3683
|
}, {
|
|
3684
|
+
height: number;
|
|
3685
|
+
width: number;
|
|
2520
3686
|
name: string;
|
|
2521
3687
|
x: number;
|
|
2522
3688
|
y: number;
|
|
2523
|
-
width: number;
|
|
2524
|
-
height: number;
|
|
2525
3689
|
}>;
|
|
2526
3690
|
answer: z.ZodUndefined;
|
|
2527
3691
|
};
|
|
@@ -2534,17 +3698,17 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2534
3698
|
width: z.ZodNumber;
|
|
2535
3699
|
height: z.ZodNumber;
|
|
2536
3700
|
}, "strip", z.ZodTypeAny, {
|
|
3701
|
+
height: number;
|
|
3702
|
+
width: number;
|
|
2537
3703
|
name: string;
|
|
2538
3704
|
x: number;
|
|
2539
3705
|
y: number;
|
|
2540
|
-
width: number;
|
|
2541
|
-
height: number;
|
|
2542
3706
|
}, {
|
|
3707
|
+
height: number;
|
|
3708
|
+
width: number;
|
|
2543
3709
|
name: string;
|
|
2544
3710
|
x: number;
|
|
2545
3711
|
y: number;
|
|
2546
|
-
width: number;
|
|
2547
|
-
height: number;
|
|
2548
3712
|
}>;
|
|
2549
3713
|
};
|
|
2550
3714
|
modifyArea: {
|
|
@@ -2555,17 +3719,17 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2555
3719
|
width: z.ZodOptional<z.ZodNumber>;
|
|
2556
3720
|
height: z.ZodOptional<z.ZodNumber>;
|
|
2557
3721
|
}, "strip", z.ZodTypeAny, {
|
|
3722
|
+
name: string;
|
|
3723
|
+
height?: number | undefined;
|
|
3724
|
+
width?: number | undefined;
|
|
2558
3725
|
x?: number | undefined;
|
|
2559
3726
|
y?: number | undefined;
|
|
2560
|
-
width?: number | undefined;
|
|
2561
|
-
height?: number | undefined;
|
|
2562
|
-
name: string;
|
|
2563
3727
|
}, {
|
|
3728
|
+
name: string;
|
|
3729
|
+
height?: number | undefined;
|
|
3730
|
+
width?: number | undefined;
|
|
2564
3731
|
x?: number | undefined;
|
|
2565
3732
|
y?: number | undefined;
|
|
2566
|
-
width?: number | undefined;
|
|
2567
|
-
height?: number | undefined;
|
|
2568
|
-
name: string;
|
|
2569
3733
|
}>;
|
|
2570
3734
|
answer: z.ZodUndefined;
|
|
2571
3735
|
};
|
|
@@ -2612,13 +3776,13 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2612
3776
|
y: z.ZodNumber;
|
|
2613
3777
|
speed: z.ZodOptional<z.ZodNumber>;
|
|
2614
3778
|
}, "strip", z.ZodTypeAny, {
|
|
2615
|
-
speed?: number | undefined;
|
|
2616
3779
|
x: number;
|
|
2617
3780
|
y: number;
|
|
2618
|
-
}, {
|
|
2619
3781
|
speed?: number | undefined;
|
|
3782
|
+
}, {
|
|
2620
3783
|
x: number;
|
|
2621
3784
|
y: number;
|
|
3785
|
+
speed?: number | undefined;
|
|
2622
3786
|
}>;
|
|
2623
3787
|
answer: z.ZodObject<{
|
|
2624
3788
|
x: z.ZodNumber;
|
|
@@ -2634,6 +3798,19 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2634
3798
|
cancelled: boolean;
|
|
2635
3799
|
}>;
|
|
2636
3800
|
};
|
|
3801
|
+
teleportPlayerTo: {
|
|
3802
|
+
query: z.ZodObject<{
|
|
3803
|
+
x: z.ZodNumber;
|
|
3804
|
+
y: z.ZodNumber;
|
|
3805
|
+
}, "strip", z.ZodTypeAny, {
|
|
3806
|
+
x: number;
|
|
3807
|
+
y: number;
|
|
3808
|
+
}, {
|
|
3809
|
+
x: number;
|
|
3810
|
+
y: number;
|
|
3811
|
+
}>;
|
|
3812
|
+
answer: z.ZodUndefined;
|
|
3813
|
+
};
|
|
2637
3814
|
openUIWebsite: {
|
|
2638
3815
|
query: z.ZodObject<{
|
|
2639
3816
|
url: z.ZodString;
|
|
@@ -2644,76 +3821,76 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2644
3821
|
vertical: z.ZodEnum<["top", "middle", "bottom"]>;
|
|
2645
3822
|
horizontal: z.ZodEnum<["left", "middle", "right"]>;
|
|
2646
3823
|
}, "strip", z.ZodTypeAny, {
|
|
2647
|
-
vertical: "top" | "
|
|
2648
|
-
horizontal: "
|
|
3824
|
+
vertical: "top" | "bottom" | "middle";
|
|
3825
|
+
horizontal: "left" | "right" | "middle";
|
|
2649
3826
|
}, {
|
|
2650
|
-
vertical: "top" | "
|
|
2651
|
-
horizontal: "
|
|
3827
|
+
vertical: "top" | "bottom" | "middle";
|
|
3828
|
+
horizontal: "left" | "right" | "middle";
|
|
2652
3829
|
}>;
|
|
2653
3830
|
size: z.ZodObject<{
|
|
2654
3831
|
height: z.ZodString;
|
|
2655
3832
|
width: z.ZodString;
|
|
2656
3833
|
}, "strip", z.ZodTypeAny, {
|
|
2657
|
-
width: string;
|
|
2658
3834
|
height: string;
|
|
2659
|
-
}, {
|
|
2660
3835
|
width: string;
|
|
3836
|
+
}, {
|
|
2661
3837
|
height: string;
|
|
3838
|
+
width: string;
|
|
2662
3839
|
}>;
|
|
2663
3840
|
margin: z.ZodOptional<z.ZodObject<{
|
|
2664
|
-
top: z.ZodOptional<z.ZodString
|
|
2665
|
-
bottom: z.ZodOptional<z.ZodString
|
|
2666
|
-
left: z.ZodOptional<z.ZodString
|
|
2667
|
-
right: z.ZodOptional<z.ZodString
|
|
3841
|
+
top: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3842
|
+
bottom: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3843
|
+
left: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3844
|
+
right: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2668
3845
|
}, "strip", z.ZodTypeAny, {
|
|
3846
|
+
left?: string | undefined;
|
|
2669
3847
|
top?: string | undefined;
|
|
2670
3848
|
bottom?: string | undefined;
|
|
2671
|
-
left?: string | undefined;
|
|
2672
3849
|
right?: string | undefined;
|
|
2673
3850
|
}, {
|
|
3851
|
+
left?: string | undefined;
|
|
2674
3852
|
top?: string | undefined;
|
|
2675
3853
|
bottom?: string | undefined;
|
|
2676
|
-
left?: string | undefined;
|
|
2677
3854
|
right?: string | undefined;
|
|
2678
3855
|
}>>;
|
|
2679
3856
|
}, "strip", z.ZodTypeAny, {
|
|
3857
|
+
url: string;
|
|
3858
|
+
position: {
|
|
3859
|
+
vertical: "top" | "bottom" | "middle";
|
|
3860
|
+
horizontal: "left" | "right" | "middle";
|
|
3861
|
+
};
|
|
3862
|
+
size: {
|
|
3863
|
+
height: string;
|
|
3864
|
+
width: string;
|
|
3865
|
+
};
|
|
2680
3866
|
allowApi?: boolean | undefined;
|
|
2681
3867
|
allowPolicy?: string | undefined;
|
|
2682
3868
|
visible?: boolean | undefined;
|
|
2683
3869
|
margin?: {
|
|
3870
|
+
left?: string | undefined;
|
|
2684
3871
|
top?: string | undefined;
|
|
2685
3872
|
bottom?: string | undefined;
|
|
2686
|
-
left?: string | undefined;
|
|
2687
3873
|
right?: string | undefined;
|
|
2688
3874
|
} | undefined;
|
|
3875
|
+
}, {
|
|
2689
3876
|
url: string;
|
|
2690
3877
|
position: {
|
|
2691
|
-
vertical: "top" | "
|
|
2692
|
-
horizontal: "
|
|
3878
|
+
vertical: "top" | "bottom" | "middle";
|
|
3879
|
+
horizontal: "left" | "right" | "middle";
|
|
2693
3880
|
};
|
|
2694
3881
|
size: {
|
|
2695
|
-
width: string;
|
|
2696
3882
|
height: string;
|
|
3883
|
+
width: string;
|
|
2697
3884
|
};
|
|
2698
|
-
}, {
|
|
2699
3885
|
allowApi?: boolean | undefined;
|
|
2700
3886
|
allowPolicy?: string | undefined;
|
|
2701
3887
|
visible?: boolean | undefined;
|
|
2702
3888
|
margin?: {
|
|
3889
|
+
left?: string | undefined;
|
|
2703
3890
|
top?: string | undefined;
|
|
2704
3891
|
bottom?: string | undefined;
|
|
2705
|
-
left?: string | undefined;
|
|
2706
3892
|
right?: string | undefined;
|
|
2707
3893
|
} | undefined;
|
|
2708
|
-
url: string;
|
|
2709
|
-
position: {
|
|
2710
|
-
vertical: "top" | "middle" | "bottom";
|
|
2711
|
-
horizontal: "middle" | "left" | "right";
|
|
2712
|
-
};
|
|
2713
|
-
size: {
|
|
2714
|
-
width: string;
|
|
2715
|
-
height: string;
|
|
2716
|
-
};
|
|
2717
3894
|
}>;
|
|
2718
3895
|
answer: z.ZodObject<{
|
|
2719
3896
|
id: z.ZodString;
|
|
@@ -2725,78 +3902,78 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2725
3902
|
vertical: z.ZodEnum<["top", "middle", "bottom"]>;
|
|
2726
3903
|
horizontal: z.ZodEnum<["left", "middle", "right"]>;
|
|
2727
3904
|
}, "strip", z.ZodTypeAny, {
|
|
2728
|
-
vertical: "top" | "
|
|
2729
|
-
horizontal: "
|
|
3905
|
+
vertical: "top" | "bottom" | "middle";
|
|
3906
|
+
horizontal: "left" | "right" | "middle";
|
|
2730
3907
|
}, {
|
|
2731
|
-
vertical: "top" | "
|
|
2732
|
-
horizontal: "
|
|
3908
|
+
vertical: "top" | "bottom" | "middle";
|
|
3909
|
+
horizontal: "left" | "right" | "middle";
|
|
2733
3910
|
}>;
|
|
2734
3911
|
size: z.ZodObject<{
|
|
2735
3912
|
height: z.ZodString;
|
|
2736
3913
|
width: z.ZodString;
|
|
2737
3914
|
}, "strip", z.ZodTypeAny, {
|
|
2738
|
-
width: string;
|
|
2739
3915
|
height: string;
|
|
2740
|
-
}, {
|
|
2741
3916
|
width: string;
|
|
3917
|
+
}, {
|
|
2742
3918
|
height: string;
|
|
3919
|
+
width: string;
|
|
2743
3920
|
}>;
|
|
2744
3921
|
margin: z.ZodOptional<z.ZodObject<{
|
|
2745
|
-
top: z.ZodOptional<z.ZodString
|
|
2746
|
-
bottom: z.ZodOptional<z.ZodString
|
|
2747
|
-
left: z.ZodOptional<z.ZodString
|
|
2748
|
-
right: z.ZodOptional<z.ZodString
|
|
3922
|
+
top: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3923
|
+
bottom: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3924
|
+
left: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3925
|
+
right: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2749
3926
|
}, "strip", z.ZodTypeAny, {
|
|
3927
|
+
left?: string | undefined;
|
|
2750
3928
|
top?: string | undefined;
|
|
2751
3929
|
bottom?: string | undefined;
|
|
2752
|
-
left?: string | undefined;
|
|
2753
3930
|
right?: string | undefined;
|
|
2754
3931
|
}, {
|
|
3932
|
+
left?: string | undefined;
|
|
2755
3933
|
top?: string | undefined;
|
|
2756
3934
|
bottom?: string | undefined;
|
|
2757
|
-
left?: string | undefined;
|
|
2758
3935
|
right?: string | undefined;
|
|
2759
3936
|
}>>;
|
|
2760
3937
|
}, "strip", z.ZodTypeAny, {
|
|
2761
|
-
margin?: {
|
|
2762
|
-
top?: string | undefined;
|
|
2763
|
-
bottom?: string | undefined;
|
|
2764
|
-
left?: string | undefined;
|
|
2765
|
-
right?: string | undefined;
|
|
2766
|
-
} | undefined;
|
|
2767
3938
|
url: string;
|
|
3939
|
+
id: string;
|
|
2768
3940
|
allowApi: boolean;
|
|
2769
3941
|
allowPolicy: string;
|
|
2770
3942
|
position: {
|
|
2771
|
-
vertical: "top" | "
|
|
2772
|
-
horizontal: "
|
|
3943
|
+
vertical: "top" | "bottom" | "middle";
|
|
3944
|
+
horizontal: "left" | "right" | "middle";
|
|
2773
3945
|
};
|
|
2774
|
-
id: string;
|
|
2775
3946
|
visible: boolean;
|
|
2776
3947
|
size: {
|
|
2777
|
-
width: string;
|
|
2778
3948
|
height: string;
|
|
3949
|
+
width: string;
|
|
2779
3950
|
};
|
|
2780
|
-
}, {
|
|
2781
3951
|
margin?: {
|
|
3952
|
+
left?: string | undefined;
|
|
2782
3953
|
top?: string | undefined;
|
|
2783
3954
|
bottom?: string | undefined;
|
|
2784
|
-
left?: string | undefined;
|
|
2785
3955
|
right?: string | undefined;
|
|
2786
3956
|
} | undefined;
|
|
3957
|
+
}, {
|
|
2787
3958
|
url: string;
|
|
3959
|
+
id: string;
|
|
2788
3960
|
allowApi: boolean;
|
|
2789
3961
|
allowPolicy: string;
|
|
2790
3962
|
position: {
|
|
2791
|
-
vertical: "top" | "
|
|
2792
|
-
horizontal: "
|
|
3963
|
+
vertical: "top" | "bottom" | "middle";
|
|
3964
|
+
horizontal: "left" | "right" | "middle";
|
|
2793
3965
|
};
|
|
2794
|
-
id: string;
|
|
2795
3966
|
visible: boolean;
|
|
2796
3967
|
size: {
|
|
2797
|
-
width: string;
|
|
2798
3968
|
height: string;
|
|
3969
|
+
width: string;
|
|
2799
3970
|
};
|
|
3971
|
+
margin?: {
|
|
3972
|
+
left?: string | undefined;
|
|
3973
|
+
top?: string | undefined;
|
|
3974
|
+
bottom?: string | undefined;
|
|
3975
|
+
right?: string | undefined;
|
|
3976
|
+
} | undefined;
|
|
2800
3977
|
}>;
|
|
2801
3978
|
};
|
|
2802
3979
|
closeUIWebsite: {
|
|
@@ -2815,79 +3992,165 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2815
3992
|
vertical: z.ZodEnum<["top", "middle", "bottom"]>;
|
|
2816
3993
|
horizontal: z.ZodEnum<["left", "middle", "right"]>;
|
|
2817
3994
|
}, "strip", z.ZodTypeAny, {
|
|
2818
|
-
vertical: "top" | "
|
|
2819
|
-
horizontal: "
|
|
3995
|
+
vertical: "top" | "bottom" | "middle";
|
|
3996
|
+
horizontal: "left" | "right" | "middle";
|
|
2820
3997
|
}, {
|
|
2821
|
-
vertical: "top" | "
|
|
2822
|
-
horizontal: "
|
|
3998
|
+
vertical: "top" | "bottom" | "middle";
|
|
3999
|
+
horizontal: "left" | "right" | "middle";
|
|
2823
4000
|
}>;
|
|
2824
4001
|
size: z.ZodObject<{
|
|
2825
4002
|
height: z.ZodString;
|
|
2826
4003
|
width: z.ZodString;
|
|
2827
4004
|
}, "strip", z.ZodTypeAny, {
|
|
2828
|
-
width: string;
|
|
2829
4005
|
height: string;
|
|
2830
|
-
}, {
|
|
2831
4006
|
width: string;
|
|
4007
|
+
}, {
|
|
2832
4008
|
height: string;
|
|
4009
|
+
width: string;
|
|
2833
4010
|
}>;
|
|
2834
4011
|
margin: z.ZodOptional<z.ZodObject<{
|
|
2835
|
-
top: z.ZodOptional<z.ZodString
|
|
2836
|
-
bottom: z.ZodOptional<z.ZodString
|
|
2837
|
-
left: z.ZodOptional<z.ZodString
|
|
2838
|
-
right: z.ZodOptional<z.ZodString
|
|
4012
|
+
top: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4013
|
+
bottom: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4014
|
+
left: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4015
|
+
right: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2839
4016
|
}, "strip", z.ZodTypeAny, {
|
|
4017
|
+
left?: string | undefined;
|
|
2840
4018
|
top?: string | undefined;
|
|
2841
4019
|
bottom?: string | undefined;
|
|
2842
|
-
left?: string | undefined;
|
|
2843
4020
|
right?: string | undefined;
|
|
2844
4021
|
}, {
|
|
4022
|
+
left?: string | undefined;
|
|
2845
4023
|
top?: string | undefined;
|
|
2846
4024
|
bottom?: string | undefined;
|
|
2847
|
-
left?: string | undefined;
|
|
2848
4025
|
right?: string | undefined;
|
|
2849
4026
|
}>>;
|
|
2850
4027
|
}, "strip", z.ZodTypeAny, {
|
|
4028
|
+
url: string;
|
|
4029
|
+
id: string;
|
|
4030
|
+
allowApi: boolean;
|
|
4031
|
+
allowPolicy: string;
|
|
4032
|
+
position: {
|
|
4033
|
+
vertical: "top" | "bottom" | "middle";
|
|
4034
|
+
horizontal: "left" | "right" | "middle";
|
|
4035
|
+
};
|
|
4036
|
+
visible: boolean;
|
|
4037
|
+
size: {
|
|
4038
|
+
height: string;
|
|
4039
|
+
width: string;
|
|
4040
|
+
};
|
|
2851
4041
|
margin?: {
|
|
4042
|
+
left?: string | undefined;
|
|
2852
4043
|
top?: string | undefined;
|
|
2853
4044
|
bottom?: string | undefined;
|
|
2854
|
-
left?: string | undefined;
|
|
2855
4045
|
right?: string | undefined;
|
|
2856
4046
|
} | undefined;
|
|
4047
|
+
}, {
|
|
2857
4048
|
url: string;
|
|
4049
|
+
id: string;
|
|
2858
4050
|
allowApi: boolean;
|
|
2859
4051
|
allowPolicy: string;
|
|
2860
4052
|
position: {
|
|
2861
|
-
vertical: "top" | "
|
|
2862
|
-
horizontal: "
|
|
4053
|
+
vertical: "top" | "bottom" | "middle";
|
|
4054
|
+
horizontal: "left" | "right" | "middle";
|
|
2863
4055
|
};
|
|
2864
|
-
id: string;
|
|
2865
4056
|
visible: boolean;
|
|
2866
4057
|
size: {
|
|
2867
|
-
width: string;
|
|
2868
4058
|
height: string;
|
|
4059
|
+
width: string;
|
|
2869
4060
|
};
|
|
2870
|
-
}, {
|
|
2871
4061
|
margin?: {
|
|
4062
|
+
left?: string | undefined;
|
|
2872
4063
|
top?: string | undefined;
|
|
2873
4064
|
bottom?: string | undefined;
|
|
2874
|
-
left?: string | undefined;
|
|
2875
4065
|
right?: string | undefined;
|
|
2876
4066
|
} | undefined;
|
|
4067
|
+
}>, "many">;
|
|
4068
|
+
};
|
|
4069
|
+
getUIWebsiteById: {
|
|
4070
|
+
query: z.ZodString;
|
|
4071
|
+
answer: z.ZodObject<{
|
|
4072
|
+
id: z.ZodString;
|
|
4073
|
+
url: z.ZodString;
|
|
4074
|
+
visible: z.ZodBoolean;
|
|
4075
|
+
allowApi: z.ZodBoolean;
|
|
4076
|
+
allowPolicy: z.ZodString;
|
|
4077
|
+
position: z.ZodObject<{
|
|
4078
|
+
vertical: z.ZodEnum<["top", "middle", "bottom"]>;
|
|
4079
|
+
horizontal: z.ZodEnum<["left", "middle", "right"]>;
|
|
4080
|
+
}, "strip", z.ZodTypeAny, {
|
|
4081
|
+
vertical: "top" | "bottom" | "middle";
|
|
4082
|
+
horizontal: "left" | "right" | "middle";
|
|
4083
|
+
}, {
|
|
4084
|
+
vertical: "top" | "bottom" | "middle";
|
|
4085
|
+
horizontal: "left" | "right" | "middle";
|
|
4086
|
+
}>;
|
|
4087
|
+
size: z.ZodObject<{
|
|
4088
|
+
height: z.ZodString;
|
|
4089
|
+
width: z.ZodString;
|
|
4090
|
+
}, "strip", z.ZodTypeAny, {
|
|
4091
|
+
height: string;
|
|
4092
|
+
width: string;
|
|
4093
|
+
}, {
|
|
4094
|
+
height: string;
|
|
4095
|
+
width: string;
|
|
4096
|
+
}>;
|
|
4097
|
+
margin: z.ZodOptional<z.ZodObject<{
|
|
4098
|
+
top: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4099
|
+
bottom: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4100
|
+
left: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4101
|
+
right: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4102
|
+
}, "strip", z.ZodTypeAny, {
|
|
4103
|
+
left?: string | undefined;
|
|
4104
|
+
top?: string | undefined;
|
|
4105
|
+
bottom?: string | undefined;
|
|
4106
|
+
right?: string | undefined;
|
|
4107
|
+
}, {
|
|
4108
|
+
left?: string | undefined;
|
|
4109
|
+
top?: string | undefined;
|
|
4110
|
+
bottom?: string | undefined;
|
|
4111
|
+
right?: string | undefined;
|
|
4112
|
+
}>>;
|
|
4113
|
+
}, "strip", z.ZodTypeAny, {
|
|
2877
4114
|
url: string;
|
|
4115
|
+
id: string;
|
|
2878
4116
|
allowApi: boolean;
|
|
2879
4117
|
allowPolicy: string;
|
|
2880
4118
|
position: {
|
|
2881
|
-
vertical: "top" | "
|
|
2882
|
-
horizontal: "
|
|
4119
|
+
vertical: "top" | "bottom" | "middle";
|
|
4120
|
+
horizontal: "left" | "right" | "middle";
|
|
2883
4121
|
};
|
|
2884
|
-
id: string;
|
|
2885
4122
|
visible: boolean;
|
|
2886
4123
|
size: {
|
|
4124
|
+
height: string;
|
|
2887
4125
|
width: string;
|
|
4126
|
+
};
|
|
4127
|
+
margin?: {
|
|
4128
|
+
left?: string | undefined;
|
|
4129
|
+
top?: string | undefined;
|
|
4130
|
+
bottom?: string | undefined;
|
|
4131
|
+
right?: string | undefined;
|
|
4132
|
+
} | undefined;
|
|
4133
|
+
}, {
|
|
4134
|
+
url: string;
|
|
4135
|
+
id: string;
|
|
4136
|
+
allowApi: boolean;
|
|
4137
|
+
allowPolicy: string;
|
|
4138
|
+
position: {
|
|
4139
|
+
vertical: "top" | "bottom" | "middle";
|
|
4140
|
+
horizontal: "left" | "right" | "middle";
|
|
4141
|
+
};
|
|
4142
|
+
visible: boolean;
|
|
4143
|
+
size: {
|
|
2888
4144
|
height: string;
|
|
4145
|
+
width: string;
|
|
2889
4146
|
};
|
|
2890
|
-
|
|
4147
|
+
margin?: {
|
|
4148
|
+
left?: string | undefined;
|
|
4149
|
+
top?: string | undefined;
|
|
4150
|
+
bottom?: string | undefined;
|
|
4151
|
+
right?: string | undefined;
|
|
4152
|
+
} | undefined;
|
|
4153
|
+
}>;
|
|
2891
4154
|
};
|
|
2892
4155
|
enablePlayersTracking: {
|
|
2893
4156
|
query: z.ZodObject<{
|
|
@@ -2917,37 +4180,137 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2917
4180
|
y: number;
|
|
2918
4181
|
}>;
|
|
2919
4182
|
variables: z.ZodMap<z.ZodString, z.ZodUnknown>;
|
|
4183
|
+
chatID: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2920
4184
|
}, "strip", z.ZodTypeAny, {
|
|
2921
|
-
|
|
4185
|
+
name: string;
|
|
2922
4186
|
position: {
|
|
2923
4187
|
x: number;
|
|
2924
4188
|
y: number;
|
|
2925
4189
|
};
|
|
2926
|
-
name: string;
|
|
2927
4190
|
playerId: number;
|
|
2928
4191
|
variables: Map<string, unknown>;
|
|
2929
4192
|
userUuid: string;
|
|
2930
4193
|
availabilityStatus: string;
|
|
2931
|
-
}, {
|
|
2932
4194
|
outlineColor?: number | undefined;
|
|
4195
|
+
chatID?: string | null | undefined;
|
|
4196
|
+
}, {
|
|
4197
|
+
name: string;
|
|
2933
4198
|
position: {
|
|
2934
4199
|
x: number;
|
|
2935
4200
|
y: number;
|
|
2936
4201
|
};
|
|
2937
|
-
name: string;
|
|
2938
4202
|
playerId: number;
|
|
2939
4203
|
variables: Map<string, unknown>;
|
|
2940
4204
|
userUuid: string;
|
|
2941
4205
|
availabilityStatus: string;
|
|
4206
|
+
outlineColor?: number | undefined;
|
|
4207
|
+
chatID?: string | null | undefined;
|
|
2942
4208
|
}>, "many">;
|
|
2943
4209
|
};
|
|
4210
|
+
getWoka: {
|
|
4211
|
+
query: z.ZodUndefined;
|
|
4212
|
+
answer: z.ZodString;
|
|
4213
|
+
};
|
|
4214
|
+
playSoundInBubble: {
|
|
4215
|
+
query: z.ZodObject<{
|
|
4216
|
+
url: z.ZodString;
|
|
4217
|
+
}, "strip", z.ZodTypeAny, {
|
|
4218
|
+
url: string;
|
|
4219
|
+
}, {
|
|
4220
|
+
url: string;
|
|
4221
|
+
}>;
|
|
4222
|
+
answer: z.ZodUndefined;
|
|
4223
|
+
};
|
|
4224
|
+
startStreamInBubble: {
|
|
4225
|
+
query: z.ZodObject<{
|
|
4226
|
+
sampleRate: z.ZodNumber;
|
|
4227
|
+
}, "strip", z.ZodTypeAny, {
|
|
4228
|
+
sampleRate: number;
|
|
4229
|
+
}, {
|
|
4230
|
+
sampleRate: number;
|
|
4231
|
+
}>;
|
|
4232
|
+
answer: z.ZodUndefined;
|
|
4233
|
+
};
|
|
4234
|
+
stopStreamInBubble: {
|
|
4235
|
+
query: z.ZodUndefined;
|
|
4236
|
+
answer: z.ZodUndefined;
|
|
4237
|
+
};
|
|
4238
|
+
appendPCMData: {
|
|
4239
|
+
query: z.ZodObject<{
|
|
4240
|
+
data: z.ZodType<Float32Array<ArrayBuffer>, z.ZodTypeDef, Float32Array<ArrayBuffer>>;
|
|
4241
|
+
}, "strip", z.ZodTypeAny, {
|
|
4242
|
+
data: Float32Array<ArrayBuffer>;
|
|
4243
|
+
}, {
|
|
4244
|
+
data: Float32Array<ArrayBuffer>;
|
|
4245
|
+
}>;
|
|
4246
|
+
answer: z.ZodUndefined;
|
|
4247
|
+
};
|
|
4248
|
+
resetAudioBuffer: {
|
|
4249
|
+
query: z.ZodUndefined;
|
|
4250
|
+
answer: z.ZodUndefined;
|
|
4251
|
+
};
|
|
4252
|
+
followMe: {
|
|
4253
|
+
query: z.ZodUndefined;
|
|
4254
|
+
answer: z.ZodUndefined;
|
|
4255
|
+
};
|
|
4256
|
+
stopLeading: {
|
|
4257
|
+
query: z.ZodUndefined;
|
|
4258
|
+
answer: z.ZodUndefined;
|
|
4259
|
+
};
|
|
4260
|
+
getWamMapData: {
|
|
4261
|
+
query: z.ZodUndefined;
|
|
4262
|
+
answer: z.ZodObject<{
|
|
4263
|
+
data: z.ZodUnknown;
|
|
4264
|
+
}, "strip", z.ZodTypeAny, {
|
|
4265
|
+
data?: unknown;
|
|
4266
|
+
}, {
|
|
4267
|
+
data?: unknown;
|
|
4268
|
+
}>;
|
|
4269
|
+
};
|
|
4270
|
+
playVideo: {
|
|
4271
|
+
query: z.ZodObject<{
|
|
4272
|
+
url: z.ZodString;
|
|
4273
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
4274
|
+
loop: z.ZodOptional<z.ZodBoolean>;
|
|
4275
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4276
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
4277
|
+
}, "strip", z.ZodTypeAny, {
|
|
4278
|
+
name?: string | undefined;
|
|
4279
|
+
loop?: boolean | undefined;
|
|
4280
|
+
avatar?: string | undefined;
|
|
4281
|
+
}, {
|
|
4282
|
+
name?: string | undefined;
|
|
4283
|
+
loop?: boolean | undefined;
|
|
4284
|
+
avatar?: string | undefined;
|
|
4285
|
+
}>>;
|
|
4286
|
+
}, "strip", z.ZodTypeAny, {
|
|
4287
|
+
url: string;
|
|
4288
|
+
config?: {
|
|
4289
|
+
name?: string | undefined;
|
|
4290
|
+
loop?: boolean | undefined;
|
|
4291
|
+
avatar?: string | undefined;
|
|
4292
|
+
} | undefined;
|
|
4293
|
+
}, {
|
|
4294
|
+
url: string;
|
|
4295
|
+
config?: {
|
|
4296
|
+
name?: string | undefined;
|
|
4297
|
+
loop?: boolean | undefined;
|
|
4298
|
+
avatar?: string | undefined;
|
|
4299
|
+
} | undefined;
|
|
4300
|
+
}>;
|
|
4301
|
+
answer: z.ZodString;
|
|
4302
|
+
};
|
|
4303
|
+
stopVideo: {
|
|
4304
|
+
query: z.ZodString;
|
|
4305
|
+
answer: z.ZodUndefined;
|
|
4306
|
+
};
|
|
2944
4307
|
};
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
export
|
|
4308
|
+
type IframeQueryMapTypeGuardsType = typeof iframeQueryMapTypeGuards;
|
|
4309
|
+
type UnknownToVoid<T> = undefined extends T ? void : T;
|
|
4310
|
+
export type IframeQueryMap = {
|
|
2948
4311
|
[key in keyof IframeQueryMapTypeGuardsType]: {
|
|
2949
|
-
query: z.infer<typeof iframeQueryMapTypeGuards[key]["query"]>;
|
|
2950
|
-
answer: UnknownToVoid<z.infer<typeof iframeQueryMapTypeGuards[key]["answer"]>>;
|
|
4312
|
+
query: z.infer<(typeof iframeQueryMapTypeGuards)[key]["query"]>;
|
|
4313
|
+
answer: UnknownToVoid<z.infer<(typeof iframeQueryMapTypeGuards)[key]["answer"]>>;
|
|
2951
4314
|
};
|
|
2952
4315
|
};
|
|
2953
4316
|
export interface IframeQuery<T extends keyof IframeQueryMap> {
|
|
@@ -2958,15 +4321,15 @@ export interface IframeQueryWrapper<T extends keyof IframeQueryMap> {
|
|
|
2958
4321
|
id: number;
|
|
2959
4322
|
query: IframeQuery<T>;
|
|
2960
4323
|
}
|
|
2961
|
-
export declare const isIframeQueryKey: (type: string) => type is
|
|
2962
|
-
export declare const isIframeQuery: (event: any) => event is IframeQuery<
|
|
2963
|
-
export declare const isIframeQueryWrapper: (event: any) => event is IframeQueryWrapper<
|
|
4324
|
+
export declare const isIframeQueryKey: (type: string) => type is keyof IframeQueryMap;
|
|
4325
|
+
export declare const isIframeQuery: (event: any) => event is IframeQuery<keyof IframeQueryMap>;
|
|
4326
|
+
export declare const isIframeQueryWrapper: (event: any) => event is IframeQueryWrapper<keyof IframeQueryMap>;
|
|
2964
4327
|
export interface IframeAnswerEvent<T extends keyof IframeQueryMap> {
|
|
2965
4328
|
id: number;
|
|
2966
4329
|
type: T;
|
|
2967
4330
|
data: IframeQueryMap[T]["answer"];
|
|
2968
4331
|
}
|
|
2969
|
-
export declare const isIframeAnswerEvent: (event: any) => event is IframeAnswerEvent<
|
|
4332
|
+
export declare const isIframeAnswerEvent: (event: any) => event is IframeAnswerEvent<keyof IframeQueryMap>;
|
|
2970
4333
|
export declare const isIframeErrorAnswerEvent: z.ZodObject<{
|
|
2971
4334
|
id: z.ZodNumber;
|
|
2972
4335
|
type: z.ZodString;
|
|
@@ -2983,5 +4346,5 @@ export declare const isIframeErrorAnswerEvent: z.ZodObject<{
|
|
|
2983
4346
|
/**
|
|
2984
4347
|
* A message sent from the game to the iFrame when a user enters or leaves a zone.
|
|
2985
4348
|
*/
|
|
2986
|
-
export
|
|
4349
|
+
export type IframeErrorAnswerEvent = z.infer<typeof isIframeErrorAnswerEvent>;
|
|
2987
4350
|
export {};
|