@workadventure/iframe-api-typings 1.16.8 → 1.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/front/Api/Events/CameraSetEvent.d.ts +2 -2
- package/front/Api/Events/CreateDynamicAreaEvent.d.ts +8 -8
- package/front/Api/Events/EmbeddedWebsiteEvent.d.ts +18 -18
- package/front/Api/Events/IframeEvent.d.ts +238 -156
- package/front/Api/Events/JoinMucEvent.d.ts +2 -2
- package/front/Api/Events/ModalEvent.d.ts +2 -2
- package/front/Api/Events/Ui/BannerEvent.d.ts +6 -6
- package/front/Api/Events/Ui/ButtonActionBarEvent.d.ts +4 -4
- package/front/Api/Events/Ui/MenuEvents.d.ts +9 -6
- package/front/Api/Events/Ui/UIWebsiteEvent.d.ts +28 -28
- package/front/Api/Events/WasCameraUpdatedEvent.d.ts +4 -4
- package/front/Api/Events/XmppSettingsMessageEvent.d.ts +4 -4
- package/front/Api/Iframe/Ui/ButtonActionBar.d.ts +1 -1
- package/front/Api/Iframe/Ui/Menu.d.ts +3 -5
- package/front/Api/Iframe/Ui/Modal.d.ts +1 -1
- package/front/Api/Iframe/camera.d.ts +2 -2
- package/front/Api/Iframe/nav.d.ts +4 -0
- package/front/Api/Iframe/player.d.ts +1 -1
- package/front/Api/Iframe/players.d.ts +1 -1
- package/front/Api/Iframe/ui.d.ts +10 -0
- package/package.json +1 -1
|
@@ -161,15 +161,15 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
161
161
|
lock: z.ZodBoolean;
|
|
162
162
|
smooth: z.ZodBoolean;
|
|
163
163
|
}, "strip", z.ZodTypeAny, {
|
|
164
|
-
width?: number | undefined;
|
|
165
164
|
height?: number | undefined;
|
|
165
|
+
width?: number | undefined;
|
|
166
166
|
x: number;
|
|
167
167
|
y: number;
|
|
168
168
|
lock: boolean;
|
|
169
169
|
smooth: boolean;
|
|
170
170
|
}, {
|
|
171
|
-
width?: number | undefined;
|
|
172
171
|
height?: number | undefined;
|
|
172
|
+
width?: number | undefined;
|
|
173
173
|
x: number;
|
|
174
174
|
y: number;
|
|
175
175
|
lock: boolean;
|
|
@@ -178,8 +178,8 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
178
178
|
}, "strip", z.ZodTypeAny, {
|
|
179
179
|
type: "cameraSet";
|
|
180
180
|
data: {
|
|
181
|
-
width?: number | undefined;
|
|
182
181
|
height?: number | undefined;
|
|
182
|
+
width?: number | undefined;
|
|
183
183
|
x: number;
|
|
184
184
|
y: number;
|
|
185
185
|
lock: boolean;
|
|
@@ -188,8 +188,8 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
188
188
|
}, {
|
|
189
189
|
type: "cameraSet";
|
|
190
190
|
data: {
|
|
191
|
-
width?: number | undefined;
|
|
192
191
|
height?: number | undefined;
|
|
192
|
+
width?: number | undefined;
|
|
193
193
|
x: number;
|
|
194
194
|
y: number;
|
|
195
195
|
lock: boolean;
|
|
@@ -652,6 +652,7 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
652
652
|
data: z.ZodObject<{
|
|
653
653
|
name: z.ZodString;
|
|
654
654
|
iframe: z.ZodOptional<z.ZodString>;
|
|
655
|
+
key: z.ZodString;
|
|
655
656
|
options: z.ZodObject<{
|
|
656
657
|
allowApi: z.ZodBoolean;
|
|
657
658
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -665,12 +666,14 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
665
666
|
allowApi: boolean;
|
|
666
667
|
};
|
|
667
668
|
name: string;
|
|
669
|
+
key: string;
|
|
668
670
|
}, {
|
|
669
671
|
iframe?: string | undefined;
|
|
670
672
|
options: {
|
|
671
673
|
allowApi: boolean;
|
|
672
674
|
};
|
|
673
675
|
name: string;
|
|
676
|
+
key: string;
|
|
674
677
|
}>;
|
|
675
678
|
}, "strip", z.ZodTypeAny, {
|
|
676
679
|
type: "registerMenu";
|
|
@@ -680,6 +683,7 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
680
683
|
allowApi: boolean;
|
|
681
684
|
};
|
|
682
685
|
name: string;
|
|
686
|
+
key: string;
|
|
683
687
|
};
|
|
684
688
|
}, {
|
|
685
689
|
type: "registerMenu";
|
|
@@ -689,44 +693,45 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
689
693
|
allowApi: boolean;
|
|
690
694
|
};
|
|
691
695
|
name: string;
|
|
696
|
+
key: string;
|
|
692
697
|
};
|
|
693
698
|
}>, z.ZodObject<{
|
|
694
699
|
type: z.ZodLiteral<"unregisterMenu">;
|
|
695
700
|
data: z.ZodObject<{
|
|
696
|
-
|
|
701
|
+
key: z.ZodString;
|
|
697
702
|
}, "strip", z.ZodTypeAny, {
|
|
698
|
-
|
|
703
|
+
key: string;
|
|
699
704
|
}, {
|
|
700
|
-
|
|
705
|
+
key: string;
|
|
701
706
|
}>;
|
|
702
707
|
}, "strip", z.ZodTypeAny, {
|
|
703
708
|
type: "unregisterMenu";
|
|
704
709
|
data: {
|
|
705
|
-
|
|
710
|
+
key: string;
|
|
706
711
|
};
|
|
707
712
|
}, {
|
|
708
713
|
type: "unregisterMenu";
|
|
709
714
|
data: {
|
|
710
|
-
|
|
715
|
+
key: string;
|
|
711
716
|
};
|
|
712
717
|
}>, z.ZodObject<{
|
|
713
718
|
type: z.ZodLiteral<"openMenu">;
|
|
714
719
|
data: z.ZodObject<{
|
|
715
|
-
|
|
720
|
+
key: z.ZodString;
|
|
716
721
|
}, "strip", z.ZodTypeAny, {
|
|
717
|
-
|
|
722
|
+
key: string;
|
|
718
723
|
}, {
|
|
719
|
-
|
|
724
|
+
key: string;
|
|
720
725
|
}>;
|
|
721
726
|
}, "strip", z.ZodTypeAny, {
|
|
722
727
|
type: "openMenu";
|
|
723
728
|
data: {
|
|
724
|
-
|
|
729
|
+
key: string;
|
|
725
730
|
};
|
|
726
731
|
}, {
|
|
727
732
|
type: "openMenu";
|
|
728
733
|
data: {
|
|
729
|
-
|
|
734
|
+
key: string;
|
|
730
735
|
};
|
|
731
736
|
}>, z.ZodObject<{
|
|
732
737
|
type: z.ZodLiteral<"setTiles">;
|
|
@@ -778,11 +783,11 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
778
783
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
779
784
|
}, "strip", z.ZodTypeAny, {
|
|
780
785
|
url?: string | undefined;
|
|
786
|
+
height?: number | undefined;
|
|
787
|
+
width?: number | undefined;
|
|
781
788
|
allowApi?: boolean | undefined;
|
|
782
789
|
x?: number | undefined;
|
|
783
790
|
y?: number | undefined;
|
|
784
|
-
width?: number | undefined;
|
|
785
|
-
height?: number | undefined;
|
|
786
791
|
visible?: boolean | undefined;
|
|
787
792
|
allow?: string | undefined;
|
|
788
793
|
origin?: "map" | "player" | undefined;
|
|
@@ -790,11 +795,11 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
790
795
|
name: string;
|
|
791
796
|
}, {
|
|
792
797
|
url?: string | undefined;
|
|
798
|
+
height?: number | undefined;
|
|
799
|
+
width?: number | undefined;
|
|
793
800
|
allowApi?: boolean | undefined;
|
|
794
801
|
x?: number | undefined;
|
|
795
802
|
y?: number | undefined;
|
|
796
|
-
width?: number | undefined;
|
|
797
|
-
height?: number | undefined;
|
|
798
803
|
visible?: boolean | undefined;
|
|
799
804
|
allow?: string | undefined;
|
|
800
805
|
origin?: "map" | "player" | undefined;
|
|
@@ -805,11 +810,11 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
805
810
|
type: "modifyEmbeddedWebsite";
|
|
806
811
|
data: {
|
|
807
812
|
url?: string | undefined;
|
|
813
|
+
height?: number | undefined;
|
|
814
|
+
width?: number | undefined;
|
|
808
815
|
allowApi?: boolean | undefined;
|
|
809
816
|
x?: number | undefined;
|
|
810
817
|
y?: number | undefined;
|
|
811
|
-
width?: number | undefined;
|
|
812
|
-
height?: number | undefined;
|
|
813
818
|
visible?: boolean | undefined;
|
|
814
819
|
allow?: string | undefined;
|
|
815
820
|
origin?: "map" | "player" | undefined;
|
|
@@ -820,11 +825,11 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
820
825
|
type: "modifyEmbeddedWebsite";
|
|
821
826
|
data: {
|
|
822
827
|
url?: string | undefined;
|
|
828
|
+
height?: number | undefined;
|
|
829
|
+
width?: number | undefined;
|
|
823
830
|
allowApi?: boolean | undefined;
|
|
824
831
|
x?: number | undefined;
|
|
825
832
|
y?: number | undefined;
|
|
826
|
-
width?: number | undefined;
|
|
827
|
-
height?: number | undefined;
|
|
828
833
|
visible?: boolean | undefined;
|
|
829
834
|
allow?: string | undefined;
|
|
830
835
|
origin?: "map" | "player" | undefined;
|
|
@@ -851,11 +856,11 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
851
856
|
height: z.ZodString;
|
|
852
857
|
width: z.ZodString;
|
|
853
858
|
}, "strip", z.ZodTypeAny, {
|
|
854
|
-
width: string;
|
|
855
859
|
height: string;
|
|
856
|
-
}, {
|
|
857
860
|
width: string;
|
|
861
|
+
}, {
|
|
858
862
|
height: string;
|
|
863
|
+
width: string;
|
|
859
864
|
}>>;
|
|
860
865
|
margin: z.ZodOptional<z.ZodObject<{
|
|
861
866
|
top: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -863,14 +868,14 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
863
868
|
left: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
864
869
|
right: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
865
870
|
}, "strip", z.ZodTypeAny, {
|
|
871
|
+
left?: string | undefined;
|
|
866
872
|
top?: string | undefined;
|
|
867
873
|
bottom?: string | undefined;
|
|
868
|
-
left?: string | undefined;
|
|
869
874
|
right?: string | undefined;
|
|
870
875
|
}, {
|
|
876
|
+
left?: string | undefined;
|
|
871
877
|
top?: string | undefined;
|
|
872
878
|
bottom?: string | undefined;
|
|
873
|
-
left?: string | undefined;
|
|
874
879
|
right?: string | undefined;
|
|
875
880
|
}>>;
|
|
876
881
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -881,13 +886,13 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
881
886
|
} | undefined;
|
|
882
887
|
visible?: boolean | undefined;
|
|
883
888
|
size?: {
|
|
884
|
-
width: string;
|
|
885
889
|
height: string;
|
|
890
|
+
width: string;
|
|
886
891
|
} | undefined;
|
|
887
892
|
margin?: {
|
|
893
|
+
left?: string | undefined;
|
|
888
894
|
top?: string | undefined;
|
|
889
895
|
bottom?: string | undefined;
|
|
890
|
-
left?: string | undefined;
|
|
891
896
|
right?: string | undefined;
|
|
892
897
|
} | undefined;
|
|
893
898
|
id: string;
|
|
@@ -899,13 +904,13 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
899
904
|
} | undefined;
|
|
900
905
|
visible?: boolean | undefined;
|
|
901
906
|
size?: {
|
|
902
|
-
width: string;
|
|
903
907
|
height: string;
|
|
908
|
+
width: string;
|
|
904
909
|
} | undefined;
|
|
905
910
|
margin?: {
|
|
911
|
+
left?: string | undefined;
|
|
906
912
|
top?: string | undefined;
|
|
907
913
|
bottom?: string | undefined;
|
|
908
|
-
left?: string | undefined;
|
|
909
914
|
right?: string | undefined;
|
|
910
915
|
} | undefined;
|
|
911
916
|
id: string;
|
|
@@ -920,13 +925,13 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
920
925
|
} | undefined;
|
|
921
926
|
visible?: boolean | undefined;
|
|
922
927
|
size?: {
|
|
923
|
-
width: string;
|
|
924
928
|
height: string;
|
|
929
|
+
width: string;
|
|
925
930
|
} | undefined;
|
|
926
931
|
margin?: {
|
|
932
|
+
left?: string | undefined;
|
|
927
933
|
top?: string | undefined;
|
|
928
934
|
bottom?: string | undefined;
|
|
929
|
-
left?: string | undefined;
|
|
930
935
|
right?: string | undefined;
|
|
931
936
|
} | undefined;
|
|
932
937
|
id: string;
|
|
@@ -941,13 +946,13 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
941
946
|
} | undefined;
|
|
942
947
|
visible?: boolean | undefined;
|
|
943
948
|
size?: {
|
|
944
|
-
width: string;
|
|
945
949
|
height: string;
|
|
950
|
+
width: string;
|
|
946
951
|
} | undefined;
|
|
947
952
|
margin?: {
|
|
953
|
+
left?: string | undefined;
|
|
948
954
|
top?: string | undefined;
|
|
949
955
|
bottom?: string | undefined;
|
|
950
|
-
left?: string | undefined;
|
|
951
956
|
right?: string | undefined;
|
|
952
957
|
} | undefined;
|
|
953
958
|
id: string;
|
|
@@ -961,34 +966,34 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
961
966
|
width: z.ZodOptional<z.ZodNumber>;
|
|
962
967
|
height: z.ZodOptional<z.ZodNumber>;
|
|
963
968
|
}, "strip", z.ZodTypeAny, {
|
|
969
|
+
height?: number | undefined;
|
|
970
|
+
width?: number | undefined;
|
|
964
971
|
x?: number | undefined;
|
|
965
972
|
y?: number | undefined;
|
|
966
|
-
width?: number | undefined;
|
|
967
|
-
height?: number | undefined;
|
|
968
973
|
name: string;
|
|
969
974
|
}, {
|
|
975
|
+
height?: number | undefined;
|
|
976
|
+
width?: number | undefined;
|
|
970
977
|
x?: number | undefined;
|
|
971
978
|
y?: number | undefined;
|
|
972
|
-
width?: number | undefined;
|
|
973
|
-
height?: number | undefined;
|
|
974
979
|
name: string;
|
|
975
980
|
}>;
|
|
976
981
|
}, "strip", z.ZodTypeAny, {
|
|
977
982
|
type: "modifyArea";
|
|
978
983
|
data: {
|
|
984
|
+
height?: number | undefined;
|
|
985
|
+
width?: number | undefined;
|
|
979
986
|
x?: number | undefined;
|
|
980
987
|
y?: number | undefined;
|
|
981
|
-
width?: number | undefined;
|
|
982
|
-
height?: number | undefined;
|
|
983
988
|
name: string;
|
|
984
989
|
};
|
|
985
990
|
}, {
|
|
986
991
|
type: "modifyArea";
|
|
987
992
|
data: {
|
|
993
|
+
height?: number | undefined;
|
|
994
|
+
width?: number | undefined;
|
|
988
995
|
x?: number | undefined;
|
|
989
996
|
y?: number | undefined;
|
|
990
|
-
width?: number | undefined;
|
|
991
|
-
height?: number | undefined;
|
|
992
997
|
name: string;
|
|
993
998
|
};
|
|
994
999
|
}>, z.ZodObject<{
|
|
@@ -1108,34 +1113,34 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
1108
1113
|
position: z.ZodDefault<z.ZodOptional<z.ZodEnum<["right", "left", "center"]>>>;
|
|
1109
1114
|
allowApi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1110
1115
|
}, "strip", z.ZodTypeAny, {
|
|
1116
|
+
title: string;
|
|
1111
1117
|
allowApi: boolean;
|
|
1112
1118
|
position: "left" | "right" | "center";
|
|
1113
1119
|
allow: string | null;
|
|
1114
1120
|
src: string;
|
|
1115
|
-
title: string;
|
|
1116
1121
|
}, {
|
|
1122
|
+
title?: string | undefined;
|
|
1117
1123
|
allowApi?: boolean | undefined;
|
|
1118
1124
|
position?: "left" | "right" | "center" | undefined;
|
|
1119
1125
|
allow?: string | null | undefined;
|
|
1120
|
-
title?: string | undefined;
|
|
1121
1126
|
src: string;
|
|
1122
1127
|
}>;
|
|
1123
1128
|
}, "strip", z.ZodTypeAny, {
|
|
1124
1129
|
type: "openModal";
|
|
1125
1130
|
data: {
|
|
1131
|
+
title: string;
|
|
1126
1132
|
allowApi: boolean;
|
|
1127
1133
|
position: "left" | "right" | "center";
|
|
1128
1134
|
allow: string | null;
|
|
1129
1135
|
src: string;
|
|
1130
|
-
title: string;
|
|
1131
1136
|
};
|
|
1132
1137
|
}, {
|
|
1133
1138
|
type: "openModal";
|
|
1134
1139
|
data: {
|
|
1140
|
+
title?: string | undefined;
|
|
1135
1141
|
allowApi?: boolean | undefined;
|
|
1136
1142
|
position?: "left" | "right" | "center" | undefined;
|
|
1137
1143
|
allow?: string | null | undefined;
|
|
1138
|
-
title?: string | undefined;
|
|
1139
1144
|
src: string;
|
|
1140
1145
|
};
|
|
1141
1146
|
}>, z.ZodObject<{
|
|
@@ -1164,12 +1169,12 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
1164
1169
|
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["button"]>>>;
|
|
1165
1170
|
}, "strip", z.ZodTypeAny, {
|
|
1166
1171
|
type: "button";
|
|
1167
|
-
id: string;
|
|
1168
1172
|
label: string;
|
|
1173
|
+
id: string;
|
|
1169
1174
|
}, {
|
|
1170
1175
|
type?: "button" | undefined;
|
|
1171
|
-
id: string;
|
|
1172
1176
|
label: string;
|
|
1177
|
+
id: string;
|
|
1173
1178
|
}>, z.ZodObject<{
|
|
1174
1179
|
id: z.ZodString;
|
|
1175
1180
|
type: z.ZodEnum<["action"]>;
|
|
@@ -1190,8 +1195,8 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
1190
1195
|
type: "addButtonActionBar";
|
|
1191
1196
|
data: {
|
|
1192
1197
|
type: "button";
|
|
1193
|
-
id: string;
|
|
1194
1198
|
label: string;
|
|
1199
|
+
id: string;
|
|
1195
1200
|
} | {
|
|
1196
1201
|
type: "action";
|
|
1197
1202
|
id: string;
|
|
@@ -1202,8 +1207,8 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
1202
1207
|
type: "addButtonActionBar";
|
|
1203
1208
|
data: {
|
|
1204
1209
|
type?: "button" | undefined;
|
|
1205
|
-
id: string;
|
|
1206
1210
|
label: string;
|
|
1211
|
+
id: string;
|
|
1207
1212
|
} | {
|
|
1208
1213
|
type: "action";
|
|
1209
1214
|
id: string;
|
|
@@ -1258,37 +1263,37 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
1258
1263
|
label: string;
|
|
1259
1264
|
}>>;
|
|
1260
1265
|
}, "strip", z.ZodTypeAny, {
|
|
1261
|
-
bgColor?: string | undefined;
|
|
1262
|
-
textColor?: string | undefined;
|
|
1263
1266
|
link?: {
|
|
1264
1267
|
url: string;
|
|
1265
1268
|
label: string;
|
|
1266
1269
|
} | undefined;
|
|
1270
|
+
bgColor?: string | undefined;
|
|
1271
|
+
textColor?: string | undefined;
|
|
1267
1272
|
text: string;
|
|
1268
1273
|
closable: boolean;
|
|
1269
1274
|
id: string;
|
|
1270
1275
|
timeToClose: number;
|
|
1271
1276
|
}, {
|
|
1272
|
-
closable?: boolean | undefined;
|
|
1273
|
-
bgColor?: string | undefined;
|
|
1274
|
-
textColor?: string | undefined;
|
|
1275
|
-
timeToClose?: number | undefined;
|
|
1276
1277
|
link?: {
|
|
1277
1278
|
url: string;
|
|
1278
1279
|
label: string;
|
|
1279
1280
|
} | undefined;
|
|
1281
|
+
closable?: boolean | undefined;
|
|
1282
|
+
bgColor?: string | undefined;
|
|
1283
|
+
textColor?: string | undefined;
|
|
1284
|
+
timeToClose?: number | undefined;
|
|
1280
1285
|
text: string;
|
|
1281
1286
|
id: string;
|
|
1282
1287
|
}>;
|
|
1283
1288
|
}, "strip", z.ZodTypeAny, {
|
|
1284
1289
|
type: "openBanner";
|
|
1285
1290
|
data: {
|
|
1286
|
-
bgColor?: string | undefined;
|
|
1287
|
-
textColor?: string | undefined;
|
|
1288
1291
|
link?: {
|
|
1289
1292
|
url: string;
|
|
1290
1293
|
label: string;
|
|
1291
1294
|
} | undefined;
|
|
1295
|
+
bgColor?: string | undefined;
|
|
1296
|
+
textColor?: string | undefined;
|
|
1292
1297
|
text: string;
|
|
1293
1298
|
closable: boolean;
|
|
1294
1299
|
id: string;
|
|
@@ -1297,14 +1302,14 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
1297
1302
|
}, {
|
|
1298
1303
|
type: "openBanner";
|
|
1299
1304
|
data: {
|
|
1300
|
-
closable?: boolean | undefined;
|
|
1301
|
-
bgColor?: string | undefined;
|
|
1302
|
-
textColor?: string | undefined;
|
|
1303
|
-
timeToClose?: number | undefined;
|
|
1304
1305
|
link?: {
|
|
1305
1306
|
url: string;
|
|
1306
1307
|
label: string;
|
|
1307
1308
|
} | undefined;
|
|
1309
|
+
closable?: boolean | undefined;
|
|
1310
|
+
bgColor?: string | undefined;
|
|
1311
|
+
textColor?: string | undefined;
|
|
1312
|
+
timeToClose?: number | undefined;
|
|
1308
1313
|
text: string;
|
|
1309
1314
|
id: string;
|
|
1310
1315
|
};
|
|
@@ -1317,6 +1322,76 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
|
|
|
1317
1322
|
}, {
|
|
1318
1323
|
data?: undefined;
|
|
1319
1324
|
type: "closeBanner";
|
|
1325
|
+
}>, z.ZodObject<{
|
|
1326
|
+
type: z.ZodLiteral<"activity-picker-result">;
|
|
1327
|
+
payload: z.ZodObject<{
|
|
1328
|
+
access_code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1329
|
+
url: z.ZodString;
|
|
1330
|
+
author: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1331
|
+
firstname: z.ZodNullable<z.ZodString>;
|
|
1332
|
+
lastname: z.ZodNullable<z.ZodString>;
|
|
1333
|
+
}, "strip", z.ZodTypeAny, {
|
|
1334
|
+
firstname: string | null;
|
|
1335
|
+
lastname: string | null;
|
|
1336
|
+
}, {
|
|
1337
|
+
firstname: string | null;
|
|
1338
|
+
lastname: string | null;
|
|
1339
|
+
}>>>;
|
|
1340
|
+
imageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1341
|
+
lang: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1342
|
+
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1343
|
+
type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1344
|
+
}, "strip", z.ZodTypeAny, {
|
|
1345
|
+
access_code?: string | null | undefined;
|
|
1346
|
+
type?: string | null | undefined;
|
|
1347
|
+
author?: {
|
|
1348
|
+
firstname: string | null;
|
|
1349
|
+
lastname: string | null;
|
|
1350
|
+
} | null | undefined;
|
|
1351
|
+
imageUrl?: string | null | undefined;
|
|
1352
|
+
lang?: string | null | undefined;
|
|
1353
|
+
title?: string | null | undefined;
|
|
1354
|
+
url: string;
|
|
1355
|
+
}, {
|
|
1356
|
+
access_code?: string | null | undefined;
|
|
1357
|
+
type?: string | null | undefined;
|
|
1358
|
+
author?: {
|
|
1359
|
+
firstname: string | null;
|
|
1360
|
+
lastname: string | null;
|
|
1361
|
+
} | null | undefined;
|
|
1362
|
+
imageUrl?: string | null | undefined;
|
|
1363
|
+
lang?: string | null | undefined;
|
|
1364
|
+
title?: string | null | undefined;
|
|
1365
|
+
url: string;
|
|
1366
|
+
}>;
|
|
1367
|
+
}, "strip", z.ZodTypeAny, {
|
|
1368
|
+
type: "activity-picker-result";
|
|
1369
|
+
payload: {
|
|
1370
|
+
access_code?: string | null | undefined;
|
|
1371
|
+
type?: string | null | undefined;
|
|
1372
|
+
author?: {
|
|
1373
|
+
firstname: string | null;
|
|
1374
|
+
lastname: string | null;
|
|
1375
|
+
} | null | undefined;
|
|
1376
|
+
imageUrl?: string | null | undefined;
|
|
1377
|
+
lang?: string | null | undefined;
|
|
1378
|
+
title?: string | null | undefined;
|
|
1379
|
+
url: string;
|
|
1380
|
+
};
|
|
1381
|
+
}, {
|
|
1382
|
+
type: "activity-picker-result";
|
|
1383
|
+
payload: {
|
|
1384
|
+
access_code?: string | null | undefined;
|
|
1385
|
+
type?: string | null | undefined;
|
|
1386
|
+
author?: {
|
|
1387
|
+
firstname: string | null;
|
|
1388
|
+
lastname: string | null;
|
|
1389
|
+
} | null | undefined;
|
|
1390
|
+
imageUrl?: string | null | undefined;
|
|
1391
|
+
lang?: string | null | undefined;
|
|
1392
|
+
title?: string | null | undefined;
|
|
1393
|
+
url: string;
|
|
1394
|
+
};
|
|
1320
1395
|
}>]>;
|
|
1321
1396
|
export type IframeEvent = z.infer<typeof isIframeEventWrapper>;
|
|
1322
1397
|
export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
@@ -1938,34 +2013,34 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
1938
2013
|
height: z.ZodNumber;
|
|
1939
2014
|
zoom: z.ZodNumber;
|
|
1940
2015
|
}, "strip", z.ZodTypeAny, {
|
|
2016
|
+
height: number;
|
|
2017
|
+
width: number;
|
|
1941
2018
|
x: number;
|
|
1942
2019
|
y: number;
|
|
1943
|
-
width: number;
|
|
1944
|
-
height: number;
|
|
1945
2020
|
zoom: number;
|
|
1946
2021
|
}, {
|
|
2022
|
+
height: number;
|
|
2023
|
+
width: number;
|
|
1947
2024
|
x: number;
|
|
1948
2025
|
y: number;
|
|
1949
|
-
width: number;
|
|
1950
|
-
height: number;
|
|
1951
2026
|
zoom: number;
|
|
1952
2027
|
}>;
|
|
1953
2028
|
}, "strip", z.ZodTypeAny, {
|
|
1954
2029
|
type: "wasCameraUpdated";
|
|
1955
2030
|
data: {
|
|
2031
|
+
height: number;
|
|
2032
|
+
width: number;
|
|
1956
2033
|
x: number;
|
|
1957
2034
|
y: number;
|
|
1958
|
-
width: number;
|
|
1959
|
-
height: number;
|
|
1960
2035
|
zoom: number;
|
|
1961
2036
|
};
|
|
1962
2037
|
}, {
|
|
1963
2038
|
type: "wasCameraUpdated";
|
|
1964
2039
|
data: {
|
|
2040
|
+
height: number;
|
|
2041
|
+
width: number;
|
|
1965
2042
|
x: number;
|
|
1966
2043
|
y: number;
|
|
1967
|
-
width: number;
|
|
1968
|
-
height: number;
|
|
1969
2044
|
zoom: number;
|
|
1970
2045
|
};
|
|
1971
2046
|
}>, z.ZodObject<{
|
|
@@ -2110,30 +2185,30 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
2110
2185
|
type: z.ZodString;
|
|
2111
2186
|
subscribe: z.ZodBoolean;
|
|
2112
2187
|
}, "strip", z.ZodTypeAny, {
|
|
2188
|
+
url: string;
|
|
2113
2189
|
type: string;
|
|
2114
2190
|
name: string;
|
|
2115
|
-
url: string;
|
|
2116
2191
|
subscribe: boolean;
|
|
2117
2192
|
}, {
|
|
2193
|
+
url: string;
|
|
2118
2194
|
type: string;
|
|
2119
2195
|
name: string;
|
|
2120
|
-
url: string;
|
|
2121
2196
|
subscribe: boolean;
|
|
2122
2197
|
}>;
|
|
2123
2198
|
}, "strip", z.ZodTypeAny, {
|
|
2124
2199
|
type: "joinMuc";
|
|
2125
2200
|
data: {
|
|
2201
|
+
url: string;
|
|
2126
2202
|
type: string;
|
|
2127
2203
|
name: string;
|
|
2128
|
-
url: string;
|
|
2129
2204
|
subscribe: boolean;
|
|
2130
2205
|
};
|
|
2131
2206
|
}, {
|
|
2132
2207
|
type: "joinMuc";
|
|
2133
2208
|
data: {
|
|
2209
|
+
url: string;
|
|
2134
2210
|
type: string;
|
|
2135
2211
|
name: string;
|
|
2136
|
-
url: string;
|
|
2137
2212
|
subscribe: boolean;
|
|
2138
2213
|
};
|
|
2139
2214
|
}>, z.ZodObject<{
|
|
@@ -2362,24 +2437,24 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
2362
2437
|
type: z.ZodString;
|
|
2363
2438
|
subscribe: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2364
2439
|
}, "strip", z.ZodTypeAny, {
|
|
2440
|
+
url: string;
|
|
2365
2441
|
type: string;
|
|
2366
2442
|
name: string;
|
|
2367
|
-
url: string;
|
|
2368
2443
|
subscribe: boolean;
|
|
2369
2444
|
}, {
|
|
2370
2445
|
subscribe?: boolean | undefined;
|
|
2446
|
+
url: string;
|
|
2371
2447
|
type: string;
|
|
2372
2448
|
name: string;
|
|
2373
|
-
url: string;
|
|
2374
2449
|
}>, "many">;
|
|
2375
2450
|
jabberId: z.ZodString;
|
|
2376
2451
|
jabberPassword: z.ZodString;
|
|
2377
2452
|
}, "strip", z.ZodTypeAny, {
|
|
2378
2453
|
conferenceDomain: string;
|
|
2379
2454
|
rooms: {
|
|
2455
|
+
url: string;
|
|
2380
2456
|
type: string;
|
|
2381
2457
|
name: string;
|
|
2382
|
-
url: string;
|
|
2383
2458
|
subscribe: boolean;
|
|
2384
2459
|
}[];
|
|
2385
2460
|
jabberId: string;
|
|
@@ -2388,9 +2463,9 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
2388
2463
|
conferenceDomain: string;
|
|
2389
2464
|
rooms: {
|
|
2390
2465
|
subscribe?: boolean | undefined;
|
|
2466
|
+
url: string;
|
|
2391
2467
|
type: string;
|
|
2392
2468
|
name: string;
|
|
2393
|
-
url: string;
|
|
2394
2469
|
}[];
|
|
2395
2470
|
jabberId: string;
|
|
2396
2471
|
jabberPassword: string;
|
|
@@ -2400,9 +2475,9 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
2400
2475
|
data: {
|
|
2401
2476
|
conferenceDomain: string;
|
|
2402
2477
|
rooms: {
|
|
2478
|
+
url: string;
|
|
2403
2479
|
type: string;
|
|
2404
2480
|
name: string;
|
|
2405
|
-
url: string;
|
|
2406
2481
|
subscribe: boolean;
|
|
2407
2482
|
}[];
|
|
2408
2483
|
jabberId: string;
|
|
@@ -2414,9 +2489,9 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
2414
2489
|
conferenceDomain: string;
|
|
2415
2490
|
rooms: {
|
|
2416
2491
|
subscribe?: boolean | undefined;
|
|
2492
|
+
url: string;
|
|
2417
2493
|
type: string;
|
|
2418
2494
|
name: string;
|
|
2419
|
-
url: string;
|
|
2420
2495
|
}[];
|
|
2421
2496
|
jabberId: string;
|
|
2422
2497
|
jabberPassword: string;
|
|
@@ -2535,12 +2610,12 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
2535
2610
|
type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["button"]>>>;
|
|
2536
2611
|
}, "strip", z.ZodTypeAny, {
|
|
2537
2612
|
type: "button";
|
|
2538
|
-
id: string;
|
|
2539
2613
|
label: string;
|
|
2614
|
+
id: string;
|
|
2540
2615
|
}, {
|
|
2541
2616
|
type?: "button" | undefined;
|
|
2542
|
-
id: string;
|
|
2543
2617
|
label: string;
|
|
2618
|
+
id: string;
|
|
2544
2619
|
}>, z.ZodObject<{
|
|
2545
2620
|
id: z.ZodString;
|
|
2546
2621
|
type: z.ZodEnum<["action"]>;
|
|
@@ -2561,8 +2636,8 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
2561
2636
|
type: "buttonActionBarTrigger";
|
|
2562
2637
|
data: {
|
|
2563
2638
|
type: "button";
|
|
2564
|
-
id: string;
|
|
2565
2639
|
label: string;
|
|
2640
|
+
id: string;
|
|
2566
2641
|
} | {
|
|
2567
2642
|
type: "action";
|
|
2568
2643
|
id: string;
|
|
@@ -2573,8 +2648,8 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
2573
2648
|
type: "buttonActionBarTrigger";
|
|
2574
2649
|
data: {
|
|
2575
2650
|
type?: "button" | undefined;
|
|
2576
|
-
id: string;
|
|
2577
2651
|
label: string;
|
|
2652
|
+
id: string;
|
|
2578
2653
|
} | {
|
|
2579
2654
|
type: "action";
|
|
2580
2655
|
id: string;
|
|
@@ -2590,34 +2665,34 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
|
|
|
2590
2665
|
position: z.ZodDefault<z.ZodOptional<z.ZodEnum<["right", "left", "center"]>>>;
|
|
2591
2666
|
allowApi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2592
2667
|
}, "strip", z.ZodTypeAny, {
|
|
2668
|
+
title: string;
|
|
2593
2669
|
allowApi: boolean;
|
|
2594
2670
|
position: "left" | "right" | "center";
|
|
2595
2671
|
allow: string | null;
|
|
2596
2672
|
src: string;
|
|
2597
|
-
title: string;
|
|
2598
2673
|
}, {
|
|
2674
|
+
title?: string | undefined;
|
|
2599
2675
|
allowApi?: boolean | undefined;
|
|
2600
2676
|
position?: "left" | "right" | "center" | undefined;
|
|
2601
2677
|
allow?: string | null | undefined;
|
|
2602
|
-
title?: string | undefined;
|
|
2603
2678
|
src: string;
|
|
2604
2679
|
}>;
|
|
2605
2680
|
}, "strip", z.ZodTypeAny, {
|
|
2606
2681
|
type: "modalCloseTrigger";
|
|
2607
2682
|
data: {
|
|
2683
|
+
title: string;
|
|
2608
2684
|
allowApi: boolean;
|
|
2609
2685
|
position: "left" | "right" | "center";
|
|
2610
2686
|
allow: string | null;
|
|
2611
2687
|
src: string;
|
|
2612
|
-
title: string;
|
|
2613
2688
|
};
|
|
2614
2689
|
}, {
|
|
2615
2690
|
type: "modalCloseTrigger";
|
|
2616
2691
|
data: {
|
|
2692
|
+
title?: string | undefined;
|
|
2617
2693
|
allowApi?: boolean | undefined;
|
|
2618
2694
|
position?: "left" | "right" | "center" | undefined;
|
|
2619
2695
|
allow?: string | null | undefined;
|
|
2620
|
-
title?: string | undefined;
|
|
2621
2696
|
src: string;
|
|
2622
2697
|
};
|
|
2623
2698
|
}>]>;
|
|
@@ -2625,11 +2700,14 @@ export type IframeResponseEvent = z.infer<typeof isIframeResponseEvent>;
|
|
|
2625
2700
|
export declare const isLookingLikeIframeEventWrapper: z.ZodObject<{
|
|
2626
2701
|
type: z.ZodString;
|
|
2627
2702
|
data: z.ZodOptional<z.ZodUnknown>;
|
|
2703
|
+
payload: z.ZodOptional<z.ZodUnknown>;
|
|
2628
2704
|
}, "strip", z.ZodTypeAny, {
|
|
2629
2705
|
data?: unknown;
|
|
2706
|
+
payload?: unknown;
|
|
2630
2707
|
type: string;
|
|
2631
2708
|
}, {
|
|
2632
2709
|
data?: unknown;
|
|
2710
|
+
payload?: unknown;
|
|
2633
2711
|
type: string;
|
|
2634
2712
|
}>;
|
|
2635
2713
|
/**
|
|
@@ -2796,6 +2874,10 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2796
2874
|
query: z.ZodUndefined;
|
|
2797
2875
|
answer: z.ZodUndefined;
|
|
2798
2876
|
};
|
|
2877
|
+
goToLogin: {
|
|
2878
|
+
query: z.ZodUndefined;
|
|
2879
|
+
answer: z.ZodUndefined;
|
|
2880
|
+
};
|
|
2799
2881
|
triggerActionMessage: {
|
|
2800
2882
|
query: z.ZodObject<{
|
|
2801
2883
|
message: z.ZodString;
|
|
@@ -2833,15 +2915,15 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2833
2915
|
width: z.ZodNumber;
|
|
2834
2916
|
height: z.ZodNumber;
|
|
2835
2917
|
}, "strip", z.ZodTypeAny, {
|
|
2918
|
+
height: number;
|
|
2919
|
+
width: number;
|
|
2836
2920
|
x: number;
|
|
2837
2921
|
y: number;
|
|
2838
|
-
width: number;
|
|
2839
|
-
height: number;
|
|
2840
2922
|
}, {
|
|
2923
|
+
height: number;
|
|
2924
|
+
width: number;
|
|
2841
2925
|
x: number;
|
|
2842
2926
|
y: number;
|
|
2843
|
-
width: number;
|
|
2844
|
-
height: number;
|
|
2845
2927
|
}>;
|
|
2846
2928
|
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2847
2929
|
allowApi: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2854,13 +2936,13 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2854
2936
|
allow?: string | undefined;
|
|
2855
2937
|
origin?: "map" | "player" | undefined;
|
|
2856
2938
|
scale?: number | undefined;
|
|
2857
|
-
name: string;
|
|
2858
2939
|
url: string;
|
|
2940
|
+
name: string;
|
|
2859
2941
|
position: {
|
|
2942
|
+
height: number;
|
|
2943
|
+
width: number;
|
|
2860
2944
|
x: number;
|
|
2861
2945
|
y: number;
|
|
2862
|
-
width: number;
|
|
2863
|
-
height: number;
|
|
2864
2946
|
};
|
|
2865
2947
|
}, {
|
|
2866
2948
|
allowApi?: boolean | undefined;
|
|
@@ -2868,13 +2950,13 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2868
2950
|
allow?: string | undefined;
|
|
2869
2951
|
origin?: "map" | "player" | undefined;
|
|
2870
2952
|
scale?: number | undefined;
|
|
2871
|
-
name: string;
|
|
2872
2953
|
url: string;
|
|
2954
|
+
name: string;
|
|
2873
2955
|
position: {
|
|
2956
|
+
height: number;
|
|
2957
|
+
width: number;
|
|
2874
2958
|
x: number;
|
|
2875
2959
|
y: number;
|
|
2876
|
-
width: number;
|
|
2877
|
-
height: number;
|
|
2878
2960
|
};
|
|
2879
2961
|
}>;
|
|
2880
2962
|
};
|
|
@@ -2892,15 +2974,15 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2892
2974
|
width: z.ZodNumber;
|
|
2893
2975
|
height: z.ZodNumber;
|
|
2894
2976
|
}, "strip", z.ZodTypeAny, {
|
|
2977
|
+
height: number;
|
|
2978
|
+
width: number;
|
|
2895
2979
|
x: number;
|
|
2896
2980
|
y: number;
|
|
2897
|
-
width: number;
|
|
2898
|
-
height: number;
|
|
2899
2981
|
}, {
|
|
2982
|
+
height: number;
|
|
2983
|
+
width: number;
|
|
2900
2984
|
x: number;
|
|
2901
2985
|
y: number;
|
|
2902
|
-
width: number;
|
|
2903
|
-
height: number;
|
|
2904
2986
|
}>;
|
|
2905
2987
|
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2906
2988
|
allowApi: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2913,13 +2995,13 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2913
2995
|
allow?: string | undefined;
|
|
2914
2996
|
origin?: "map" | "player" | undefined;
|
|
2915
2997
|
scale?: number | undefined;
|
|
2916
|
-
name: string;
|
|
2917
2998
|
url: string;
|
|
2999
|
+
name: string;
|
|
2918
3000
|
position: {
|
|
3001
|
+
height: number;
|
|
3002
|
+
width: number;
|
|
2919
3003
|
x: number;
|
|
2920
3004
|
y: number;
|
|
2921
|
-
width: number;
|
|
2922
|
-
height: number;
|
|
2923
3005
|
};
|
|
2924
3006
|
}, {
|
|
2925
3007
|
allowApi?: boolean | undefined;
|
|
@@ -2927,13 +3009,13 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2927
3009
|
allow?: string | undefined;
|
|
2928
3010
|
origin?: "map" | "player" | undefined;
|
|
2929
3011
|
scale?: number | undefined;
|
|
2930
|
-
name: string;
|
|
2931
3012
|
url: string;
|
|
3013
|
+
name: string;
|
|
2932
3014
|
position: {
|
|
3015
|
+
height: number;
|
|
3016
|
+
width: number;
|
|
2933
3017
|
x: number;
|
|
2934
3018
|
y: number;
|
|
2935
|
-
width: number;
|
|
2936
|
-
height: number;
|
|
2937
3019
|
};
|
|
2938
3020
|
}>;
|
|
2939
3021
|
answer: z.ZodUndefined;
|
|
@@ -2946,17 +3028,17 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2946
3028
|
width: z.ZodNumber;
|
|
2947
3029
|
height: z.ZodNumber;
|
|
2948
3030
|
}, "strip", z.ZodTypeAny, {
|
|
3031
|
+
height: number;
|
|
3032
|
+
width: number;
|
|
2949
3033
|
name: string;
|
|
2950
3034
|
x: number;
|
|
2951
3035
|
y: number;
|
|
2952
|
-
width: number;
|
|
2953
|
-
height: number;
|
|
2954
3036
|
}, {
|
|
3037
|
+
height: number;
|
|
3038
|
+
width: number;
|
|
2955
3039
|
name: string;
|
|
2956
3040
|
x: number;
|
|
2957
3041
|
y: number;
|
|
2958
|
-
width: number;
|
|
2959
|
-
height: number;
|
|
2960
3042
|
}>;
|
|
2961
3043
|
answer: z.ZodUndefined;
|
|
2962
3044
|
};
|
|
@@ -2969,17 +3051,17 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2969
3051
|
width: z.ZodNumber;
|
|
2970
3052
|
height: z.ZodNumber;
|
|
2971
3053
|
}, "strip", z.ZodTypeAny, {
|
|
3054
|
+
height: number;
|
|
3055
|
+
width: number;
|
|
2972
3056
|
name: string;
|
|
2973
3057
|
x: number;
|
|
2974
3058
|
y: number;
|
|
2975
|
-
width: number;
|
|
2976
|
-
height: number;
|
|
2977
3059
|
}, {
|
|
3060
|
+
height: number;
|
|
3061
|
+
width: number;
|
|
2978
3062
|
name: string;
|
|
2979
3063
|
x: number;
|
|
2980
3064
|
y: number;
|
|
2981
|
-
width: number;
|
|
2982
|
-
height: number;
|
|
2983
3065
|
}>;
|
|
2984
3066
|
};
|
|
2985
3067
|
modifyArea: {
|
|
@@ -2990,16 +3072,16 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
2990
3072
|
width: z.ZodOptional<z.ZodNumber>;
|
|
2991
3073
|
height: z.ZodOptional<z.ZodNumber>;
|
|
2992
3074
|
}, "strip", z.ZodTypeAny, {
|
|
3075
|
+
height?: number | undefined;
|
|
3076
|
+
width?: number | undefined;
|
|
2993
3077
|
x?: number | undefined;
|
|
2994
3078
|
y?: number | undefined;
|
|
2995
|
-
width?: number | undefined;
|
|
2996
|
-
height?: number | undefined;
|
|
2997
3079
|
name: string;
|
|
2998
3080
|
}, {
|
|
3081
|
+
height?: number | undefined;
|
|
3082
|
+
width?: number | undefined;
|
|
2999
3083
|
x?: number | undefined;
|
|
3000
3084
|
y?: number | undefined;
|
|
3001
|
-
width?: number | undefined;
|
|
3002
|
-
height?: number | undefined;
|
|
3003
3085
|
name: string;
|
|
3004
3086
|
}>;
|
|
3005
3087
|
answer: z.ZodUndefined;
|
|
@@ -3089,11 +3171,11 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
3089
3171
|
height: z.ZodString;
|
|
3090
3172
|
width: z.ZodString;
|
|
3091
3173
|
}, "strip", z.ZodTypeAny, {
|
|
3092
|
-
width: string;
|
|
3093
3174
|
height: string;
|
|
3094
|
-
}, {
|
|
3095
3175
|
width: string;
|
|
3176
|
+
}, {
|
|
3096
3177
|
height: string;
|
|
3178
|
+
width: string;
|
|
3097
3179
|
}>;
|
|
3098
3180
|
margin: z.ZodOptional<z.ZodObject<{
|
|
3099
3181
|
top: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -3101,14 +3183,14 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
3101
3183
|
left: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3102
3184
|
right: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3103
3185
|
}, "strip", z.ZodTypeAny, {
|
|
3186
|
+
left?: string | undefined;
|
|
3104
3187
|
top?: string | undefined;
|
|
3105
3188
|
bottom?: string | undefined;
|
|
3106
|
-
left?: string | undefined;
|
|
3107
3189
|
right?: string | undefined;
|
|
3108
3190
|
}, {
|
|
3191
|
+
left?: string | undefined;
|
|
3109
3192
|
top?: string | undefined;
|
|
3110
3193
|
bottom?: string | undefined;
|
|
3111
|
-
left?: string | undefined;
|
|
3112
3194
|
right?: string | undefined;
|
|
3113
3195
|
}>>;
|
|
3114
3196
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3116,9 +3198,9 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
3116
3198
|
allowPolicy?: string | undefined;
|
|
3117
3199
|
visible?: boolean | undefined;
|
|
3118
3200
|
margin?: {
|
|
3201
|
+
left?: string | undefined;
|
|
3119
3202
|
top?: string | undefined;
|
|
3120
3203
|
bottom?: string | undefined;
|
|
3121
|
-
left?: string | undefined;
|
|
3122
3204
|
right?: string | undefined;
|
|
3123
3205
|
} | undefined;
|
|
3124
3206
|
url: string;
|
|
@@ -3127,17 +3209,17 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
3127
3209
|
horizontal: "left" | "right" | "middle";
|
|
3128
3210
|
};
|
|
3129
3211
|
size: {
|
|
3130
|
-
width: string;
|
|
3131
3212
|
height: string;
|
|
3213
|
+
width: string;
|
|
3132
3214
|
};
|
|
3133
3215
|
}, {
|
|
3134
3216
|
allowApi?: boolean | undefined;
|
|
3135
3217
|
allowPolicy?: string | undefined;
|
|
3136
3218
|
visible?: boolean | undefined;
|
|
3137
3219
|
margin?: {
|
|
3220
|
+
left?: string | undefined;
|
|
3138
3221
|
top?: string | undefined;
|
|
3139
3222
|
bottom?: string | undefined;
|
|
3140
|
-
left?: string | undefined;
|
|
3141
3223
|
right?: string | undefined;
|
|
3142
3224
|
} | undefined;
|
|
3143
3225
|
url: string;
|
|
@@ -3146,8 +3228,8 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
3146
3228
|
horizontal: "left" | "right" | "middle";
|
|
3147
3229
|
};
|
|
3148
3230
|
size: {
|
|
3149
|
-
width: string;
|
|
3150
3231
|
height: string;
|
|
3232
|
+
width: string;
|
|
3151
3233
|
};
|
|
3152
3234
|
}>;
|
|
3153
3235
|
answer: z.ZodObject<{
|
|
@@ -3170,11 +3252,11 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
3170
3252
|
height: z.ZodString;
|
|
3171
3253
|
width: z.ZodString;
|
|
3172
3254
|
}, "strip", z.ZodTypeAny, {
|
|
3173
|
-
width: string;
|
|
3174
3255
|
height: string;
|
|
3175
|
-
}, {
|
|
3176
3256
|
width: string;
|
|
3257
|
+
}, {
|
|
3177
3258
|
height: string;
|
|
3259
|
+
width: string;
|
|
3178
3260
|
}>;
|
|
3179
3261
|
margin: z.ZodOptional<z.ZodObject<{
|
|
3180
3262
|
top: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -3182,21 +3264,21 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
3182
3264
|
left: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3183
3265
|
right: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3184
3266
|
}, "strip", z.ZodTypeAny, {
|
|
3267
|
+
left?: string | undefined;
|
|
3185
3268
|
top?: string | undefined;
|
|
3186
3269
|
bottom?: string | undefined;
|
|
3187
|
-
left?: string | undefined;
|
|
3188
3270
|
right?: string | undefined;
|
|
3189
3271
|
}, {
|
|
3272
|
+
left?: string | undefined;
|
|
3190
3273
|
top?: string | undefined;
|
|
3191
3274
|
bottom?: string | undefined;
|
|
3192
|
-
left?: string | undefined;
|
|
3193
3275
|
right?: string | undefined;
|
|
3194
3276
|
}>>;
|
|
3195
3277
|
}, "strip", z.ZodTypeAny, {
|
|
3196
3278
|
margin?: {
|
|
3279
|
+
left?: string | undefined;
|
|
3197
3280
|
top?: string | undefined;
|
|
3198
3281
|
bottom?: string | undefined;
|
|
3199
|
-
left?: string | undefined;
|
|
3200
3282
|
right?: string | undefined;
|
|
3201
3283
|
} | undefined;
|
|
3202
3284
|
url: string;
|
|
@@ -3209,14 +3291,14 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
3209
3291
|
id: string;
|
|
3210
3292
|
visible: boolean;
|
|
3211
3293
|
size: {
|
|
3212
|
-
width: string;
|
|
3213
3294
|
height: string;
|
|
3295
|
+
width: string;
|
|
3214
3296
|
};
|
|
3215
3297
|
}, {
|
|
3216
3298
|
margin?: {
|
|
3299
|
+
left?: string | undefined;
|
|
3217
3300
|
top?: string | undefined;
|
|
3218
3301
|
bottom?: string | undefined;
|
|
3219
|
-
left?: string | undefined;
|
|
3220
3302
|
right?: string | undefined;
|
|
3221
3303
|
} | undefined;
|
|
3222
3304
|
url: string;
|
|
@@ -3229,8 +3311,8 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
3229
3311
|
id: string;
|
|
3230
3312
|
visible: boolean;
|
|
3231
3313
|
size: {
|
|
3232
|
-
width: string;
|
|
3233
3314
|
height: string;
|
|
3315
|
+
width: string;
|
|
3234
3316
|
};
|
|
3235
3317
|
}>;
|
|
3236
3318
|
};
|
|
@@ -3260,11 +3342,11 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
3260
3342
|
height: z.ZodString;
|
|
3261
3343
|
width: z.ZodString;
|
|
3262
3344
|
}, "strip", z.ZodTypeAny, {
|
|
3263
|
-
width: string;
|
|
3264
3345
|
height: string;
|
|
3265
|
-
}, {
|
|
3266
3346
|
width: string;
|
|
3347
|
+
}, {
|
|
3267
3348
|
height: string;
|
|
3349
|
+
width: string;
|
|
3268
3350
|
}>;
|
|
3269
3351
|
margin: z.ZodOptional<z.ZodObject<{
|
|
3270
3352
|
top: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -3272,21 +3354,21 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
3272
3354
|
left: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3273
3355
|
right: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3274
3356
|
}, "strip", z.ZodTypeAny, {
|
|
3357
|
+
left?: string | undefined;
|
|
3275
3358
|
top?: string | undefined;
|
|
3276
3359
|
bottom?: string | undefined;
|
|
3277
|
-
left?: string | undefined;
|
|
3278
3360
|
right?: string | undefined;
|
|
3279
3361
|
}, {
|
|
3362
|
+
left?: string | undefined;
|
|
3280
3363
|
top?: string | undefined;
|
|
3281
3364
|
bottom?: string | undefined;
|
|
3282
|
-
left?: string | undefined;
|
|
3283
3365
|
right?: string | undefined;
|
|
3284
3366
|
}>>;
|
|
3285
3367
|
}, "strip", z.ZodTypeAny, {
|
|
3286
3368
|
margin?: {
|
|
3369
|
+
left?: string | undefined;
|
|
3287
3370
|
top?: string | undefined;
|
|
3288
3371
|
bottom?: string | undefined;
|
|
3289
|
-
left?: string | undefined;
|
|
3290
3372
|
right?: string | undefined;
|
|
3291
3373
|
} | undefined;
|
|
3292
3374
|
url: string;
|
|
@@ -3299,14 +3381,14 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
3299
3381
|
id: string;
|
|
3300
3382
|
visible: boolean;
|
|
3301
3383
|
size: {
|
|
3302
|
-
width: string;
|
|
3303
3384
|
height: string;
|
|
3385
|
+
width: string;
|
|
3304
3386
|
};
|
|
3305
3387
|
}, {
|
|
3306
3388
|
margin?: {
|
|
3389
|
+
left?: string | undefined;
|
|
3307
3390
|
top?: string | undefined;
|
|
3308
3391
|
bottom?: string | undefined;
|
|
3309
|
-
left?: string | undefined;
|
|
3310
3392
|
right?: string | undefined;
|
|
3311
3393
|
} | undefined;
|
|
3312
3394
|
url: string;
|
|
@@ -3319,8 +3401,8 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
3319
3401
|
id: string;
|
|
3320
3402
|
visible: boolean;
|
|
3321
3403
|
size: {
|
|
3322
|
-
width: string;
|
|
3323
3404
|
height: string;
|
|
3405
|
+
width: string;
|
|
3324
3406
|
};
|
|
3325
3407
|
}>, "many">;
|
|
3326
3408
|
};
|
|
@@ -3346,11 +3428,11 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
3346
3428
|
height: z.ZodString;
|
|
3347
3429
|
width: z.ZodString;
|
|
3348
3430
|
}, "strip", z.ZodTypeAny, {
|
|
3349
|
-
width: string;
|
|
3350
3431
|
height: string;
|
|
3351
|
-
}, {
|
|
3352
3432
|
width: string;
|
|
3433
|
+
}, {
|
|
3353
3434
|
height: string;
|
|
3435
|
+
width: string;
|
|
3354
3436
|
}>;
|
|
3355
3437
|
margin: z.ZodOptional<z.ZodObject<{
|
|
3356
3438
|
top: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -3358,21 +3440,21 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
3358
3440
|
left: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3359
3441
|
right: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3360
3442
|
}, "strip", z.ZodTypeAny, {
|
|
3443
|
+
left?: string | undefined;
|
|
3361
3444
|
top?: string | undefined;
|
|
3362
3445
|
bottom?: string | undefined;
|
|
3363
|
-
left?: string | undefined;
|
|
3364
3446
|
right?: string | undefined;
|
|
3365
3447
|
}, {
|
|
3448
|
+
left?: string | undefined;
|
|
3366
3449
|
top?: string | undefined;
|
|
3367
3450
|
bottom?: string | undefined;
|
|
3368
|
-
left?: string | undefined;
|
|
3369
3451
|
right?: string | undefined;
|
|
3370
3452
|
}>>;
|
|
3371
3453
|
}, "strip", z.ZodTypeAny, {
|
|
3372
3454
|
margin?: {
|
|
3455
|
+
left?: string | undefined;
|
|
3373
3456
|
top?: string | undefined;
|
|
3374
3457
|
bottom?: string | undefined;
|
|
3375
|
-
left?: string | undefined;
|
|
3376
3458
|
right?: string | undefined;
|
|
3377
3459
|
} | undefined;
|
|
3378
3460
|
url: string;
|
|
@@ -3385,14 +3467,14 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
3385
3467
|
id: string;
|
|
3386
3468
|
visible: boolean;
|
|
3387
3469
|
size: {
|
|
3388
|
-
width: string;
|
|
3389
3470
|
height: string;
|
|
3471
|
+
width: string;
|
|
3390
3472
|
};
|
|
3391
3473
|
}, {
|
|
3392
3474
|
margin?: {
|
|
3475
|
+
left?: string | undefined;
|
|
3393
3476
|
top?: string | undefined;
|
|
3394
3477
|
bottom?: string | undefined;
|
|
3395
|
-
left?: string | undefined;
|
|
3396
3478
|
right?: string | undefined;
|
|
3397
3479
|
} | undefined;
|
|
3398
3480
|
url: string;
|
|
@@ -3405,8 +3487,8 @@ export declare const iframeQueryMapTypeGuards: {
|
|
|
3405
3487
|
id: string;
|
|
3406
3488
|
visible: boolean;
|
|
3407
3489
|
size: {
|
|
3408
|
-
width: string;
|
|
3409
3490
|
height: string;
|
|
3491
|
+
width: string;
|
|
3410
3492
|
};
|
|
3411
3493
|
}>;
|
|
3412
3494
|
};
|
|
@@ -3483,15 +3565,15 @@ export interface IframeQueryWrapper<T extends keyof IframeQueryMap> {
|
|
|
3483
3565
|
id: number;
|
|
3484
3566
|
query: IframeQuery<T>;
|
|
3485
3567
|
}
|
|
3486
|
-
export declare const isIframeQueryKey: (type: string) => type is "setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "getUIWebsiteById" | "enablePlayersTracking" | "getWoka";
|
|
3487
|
-
export declare const isIframeQuery: (event: any) => event is IframeQuery<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "getUIWebsiteById" | "enablePlayersTracking" | "getWoka">;
|
|
3488
|
-
export declare const isIframeQueryWrapper: (event: any) => event is IframeQueryWrapper<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "getUIWebsiteById" | "enablePlayersTracking" | "getWoka">;
|
|
3568
|
+
export declare const isIframeQueryKey: (type: string) => type is "setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "goToLogin" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "getUIWebsiteById" | "enablePlayersTracking" | "getWoka";
|
|
3569
|
+
export declare const isIframeQuery: (event: any) => event is IframeQuery<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "goToLogin" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "getUIWebsiteById" | "enablePlayersTracking" | "getWoka">;
|
|
3570
|
+
export declare const isIframeQueryWrapper: (event: any) => event is IframeQueryWrapper<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "goToLogin" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "getUIWebsiteById" | "enablePlayersTracking" | "getWoka">;
|
|
3489
3571
|
export interface IframeAnswerEvent<T extends keyof IframeQueryMap> {
|
|
3490
3572
|
id: number;
|
|
3491
3573
|
type: T;
|
|
3492
3574
|
data: IframeQueryMap[T]["answer"];
|
|
3493
3575
|
}
|
|
3494
|
-
export declare const isIframeAnswerEvent: (event: any) => event is IframeAnswerEvent<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "getUIWebsiteById" | "enablePlayersTracking" | "getWoka">;
|
|
3576
|
+
export declare const isIframeAnswerEvent: (event: any) => event is IframeAnswerEvent<"setVariable" | "triggerActionMessage" | "removeActionMessage" | "modifyArea" | "setPlayerVariable" | "getState" | "getMapData" | "loadTileset" | "openCoWebsite" | "getCoWebsites" | "closeCoWebsite" | "closeCoWebsites" | "goToLogin" | "getEmbeddedWebsite" | "deleteEmbeddedWebsite" | "createEmbeddedWebsite" | "createArea" | "getArea" | "deleteArea" | "setPlayerOutline" | "removePlayerOutline" | "getPlayerPosition" | "movePlayerTo" | "openUIWebsite" | "closeUIWebsite" | "getUIWebsites" | "getUIWebsiteById" | "enablePlayersTracking" | "getWoka">;
|
|
3495
3577
|
export declare const isIframeErrorAnswerEvent: z.ZodObject<{
|
|
3496
3578
|
id: z.ZodNumber;
|
|
3497
3579
|
type: z.ZodString;
|