@workadventure/iframe-api-typings 1.16.10 → 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.
@@ -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;
@@ -783,11 +783,11 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
783
783
  scale: z.ZodOptional<z.ZodNumber>;
784
784
  }, "strip", z.ZodTypeAny, {
785
785
  url?: string | undefined;
786
+ height?: number | undefined;
787
+ width?: number | undefined;
786
788
  allowApi?: boolean | undefined;
787
789
  x?: number | undefined;
788
790
  y?: number | undefined;
789
- width?: number | undefined;
790
- height?: number | undefined;
791
791
  visible?: boolean | undefined;
792
792
  allow?: string | undefined;
793
793
  origin?: "map" | "player" | undefined;
@@ -795,11 +795,11 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
795
795
  name: string;
796
796
  }, {
797
797
  url?: string | undefined;
798
+ height?: number | undefined;
799
+ width?: number | undefined;
798
800
  allowApi?: boolean | undefined;
799
801
  x?: number | undefined;
800
802
  y?: number | undefined;
801
- width?: number | undefined;
802
- height?: number | undefined;
803
803
  visible?: boolean | undefined;
804
804
  allow?: string | undefined;
805
805
  origin?: "map" | "player" | undefined;
@@ -810,11 +810,11 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
810
810
  type: "modifyEmbeddedWebsite";
811
811
  data: {
812
812
  url?: string | undefined;
813
+ height?: number | undefined;
814
+ width?: number | undefined;
813
815
  allowApi?: boolean | undefined;
814
816
  x?: number | undefined;
815
817
  y?: number | undefined;
816
- width?: number | undefined;
817
- height?: number | undefined;
818
818
  visible?: boolean | undefined;
819
819
  allow?: string | undefined;
820
820
  origin?: "map" | "player" | undefined;
@@ -825,11 +825,11 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
825
825
  type: "modifyEmbeddedWebsite";
826
826
  data: {
827
827
  url?: string | undefined;
828
+ height?: number | undefined;
829
+ width?: number | undefined;
828
830
  allowApi?: boolean | undefined;
829
831
  x?: number | undefined;
830
832
  y?: number | undefined;
831
- width?: number | undefined;
832
- height?: number | undefined;
833
833
  visible?: boolean | undefined;
834
834
  allow?: string | undefined;
835
835
  origin?: "map" | "player" | undefined;
@@ -856,11 +856,11 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
856
856
  height: z.ZodString;
857
857
  width: z.ZodString;
858
858
  }, "strip", z.ZodTypeAny, {
859
- width: string;
860
859
  height: string;
861
- }, {
862
860
  width: string;
861
+ }, {
863
862
  height: string;
863
+ width: string;
864
864
  }>>;
865
865
  margin: z.ZodOptional<z.ZodObject<{
866
866
  top: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -868,14 +868,14 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
868
868
  left: z.ZodOptional<z.ZodOptional<z.ZodString>>;
869
869
  right: z.ZodOptional<z.ZodOptional<z.ZodString>>;
870
870
  }, "strip", z.ZodTypeAny, {
871
+ left?: string | undefined;
871
872
  top?: string | undefined;
872
873
  bottom?: string | undefined;
873
- left?: string | undefined;
874
874
  right?: string | undefined;
875
875
  }, {
876
+ left?: string | undefined;
876
877
  top?: string | undefined;
877
878
  bottom?: string | undefined;
878
- left?: string | undefined;
879
879
  right?: string | undefined;
880
880
  }>>;
881
881
  }, "strip", z.ZodTypeAny, {
@@ -886,13 +886,13 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
886
886
  } | undefined;
887
887
  visible?: boolean | undefined;
888
888
  size?: {
889
- width: string;
890
889
  height: string;
890
+ width: string;
891
891
  } | undefined;
892
892
  margin?: {
893
+ left?: string | undefined;
893
894
  top?: string | undefined;
894
895
  bottom?: string | undefined;
895
- left?: string | undefined;
896
896
  right?: string | undefined;
897
897
  } | undefined;
898
898
  id: string;
@@ -904,13 +904,13 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
904
904
  } | undefined;
905
905
  visible?: boolean | undefined;
906
906
  size?: {
907
- width: string;
908
907
  height: string;
908
+ width: string;
909
909
  } | undefined;
910
910
  margin?: {
911
+ left?: string | undefined;
911
912
  top?: string | undefined;
912
913
  bottom?: string | undefined;
913
- left?: string | undefined;
914
914
  right?: string | undefined;
915
915
  } | undefined;
916
916
  id: string;
@@ -925,13 +925,13 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
925
925
  } | undefined;
926
926
  visible?: boolean | undefined;
927
927
  size?: {
928
- width: string;
929
928
  height: string;
929
+ width: string;
930
930
  } | undefined;
931
931
  margin?: {
932
+ left?: string | undefined;
932
933
  top?: string | undefined;
933
934
  bottom?: string | undefined;
934
- left?: string | undefined;
935
935
  right?: string | undefined;
936
936
  } | undefined;
937
937
  id: string;
@@ -946,13 +946,13 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
946
946
  } | undefined;
947
947
  visible?: boolean | undefined;
948
948
  size?: {
949
- width: string;
950
949
  height: string;
950
+ width: string;
951
951
  } | undefined;
952
952
  margin?: {
953
+ left?: string | undefined;
953
954
  top?: string | undefined;
954
955
  bottom?: string | undefined;
955
- left?: string | undefined;
956
956
  right?: string | undefined;
957
957
  } | undefined;
958
958
  id: string;
@@ -966,34 +966,34 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
966
966
  width: z.ZodOptional<z.ZodNumber>;
967
967
  height: z.ZodOptional<z.ZodNumber>;
968
968
  }, "strip", z.ZodTypeAny, {
969
+ height?: number | undefined;
970
+ width?: number | undefined;
969
971
  x?: number | undefined;
970
972
  y?: number | undefined;
971
- width?: number | undefined;
972
- height?: number | undefined;
973
973
  name: string;
974
974
  }, {
975
+ height?: number | undefined;
976
+ width?: number | undefined;
975
977
  x?: number | undefined;
976
978
  y?: number | undefined;
977
- width?: number | undefined;
978
- height?: number | undefined;
979
979
  name: string;
980
980
  }>;
981
981
  }, "strip", z.ZodTypeAny, {
982
982
  type: "modifyArea";
983
983
  data: {
984
+ height?: number | undefined;
985
+ width?: number | undefined;
984
986
  x?: number | undefined;
985
987
  y?: number | undefined;
986
- width?: number | undefined;
987
- height?: number | undefined;
988
988
  name: string;
989
989
  };
990
990
  }, {
991
991
  type: "modifyArea";
992
992
  data: {
993
+ height?: number | undefined;
994
+ width?: number | undefined;
993
995
  x?: number | undefined;
994
996
  y?: number | undefined;
995
- width?: number | undefined;
996
- height?: number | undefined;
997
997
  name: string;
998
998
  };
999
999
  }>, z.ZodObject<{
@@ -1113,34 +1113,34 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1113
1113
  position: z.ZodDefault<z.ZodOptional<z.ZodEnum<["right", "left", "center"]>>>;
1114
1114
  allowApi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1115
1115
  }, "strip", z.ZodTypeAny, {
1116
+ title: string;
1116
1117
  allowApi: boolean;
1117
1118
  position: "left" | "right" | "center";
1118
1119
  allow: string | null;
1119
1120
  src: string;
1120
- title: string;
1121
1121
  }, {
1122
+ title?: string | undefined;
1122
1123
  allowApi?: boolean | undefined;
1123
1124
  position?: "left" | "right" | "center" | undefined;
1124
1125
  allow?: string | null | undefined;
1125
- title?: string | undefined;
1126
1126
  src: string;
1127
1127
  }>;
1128
1128
  }, "strip", z.ZodTypeAny, {
1129
1129
  type: "openModal";
1130
1130
  data: {
1131
+ title: string;
1131
1132
  allowApi: boolean;
1132
1133
  position: "left" | "right" | "center";
1133
1134
  allow: string | null;
1134
1135
  src: string;
1135
- title: string;
1136
1136
  };
1137
1137
  }, {
1138
1138
  type: "openModal";
1139
1139
  data: {
1140
+ title?: string | undefined;
1140
1141
  allowApi?: boolean | undefined;
1141
1142
  position?: "left" | "right" | "center" | undefined;
1142
1143
  allow?: string | null | undefined;
1143
- title?: string | undefined;
1144
1144
  src: string;
1145
1145
  };
1146
1146
  }>, z.ZodObject<{
@@ -1169,12 +1169,12 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1169
1169
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["button"]>>>;
1170
1170
  }, "strip", z.ZodTypeAny, {
1171
1171
  type: "button";
1172
- id: string;
1173
1172
  label: string;
1173
+ id: string;
1174
1174
  }, {
1175
1175
  type?: "button" | undefined;
1176
- id: string;
1177
1176
  label: string;
1177
+ id: string;
1178
1178
  }>, z.ZodObject<{
1179
1179
  id: z.ZodString;
1180
1180
  type: z.ZodEnum<["action"]>;
@@ -1195,8 +1195,8 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1195
1195
  type: "addButtonActionBar";
1196
1196
  data: {
1197
1197
  type: "button";
1198
- id: string;
1199
1198
  label: string;
1199
+ id: string;
1200
1200
  } | {
1201
1201
  type: "action";
1202
1202
  id: string;
@@ -1207,8 +1207,8 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1207
1207
  type: "addButtonActionBar";
1208
1208
  data: {
1209
1209
  type?: "button" | undefined;
1210
- id: string;
1211
1210
  label: string;
1211
+ id: string;
1212
1212
  } | {
1213
1213
  type: "action";
1214
1214
  id: string;
@@ -1263,37 +1263,37 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1263
1263
  label: string;
1264
1264
  }>>;
1265
1265
  }, "strip", z.ZodTypeAny, {
1266
- bgColor?: string | undefined;
1267
- textColor?: string | undefined;
1268
1266
  link?: {
1269
1267
  url: string;
1270
1268
  label: string;
1271
1269
  } | undefined;
1270
+ bgColor?: string | undefined;
1271
+ textColor?: string | undefined;
1272
1272
  text: string;
1273
1273
  closable: boolean;
1274
1274
  id: string;
1275
1275
  timeToClose: number;
1276
1276
  }, {
1277
- closable?: boolean | undefined;
1278
- bgColor?: string | undefined;
1279
- textColor?: string | undefined;
1280
- timeToClose?: number | undefined;
1281
1277
  link?: {
1282
1278
  url: string;
1283
1279
  label: string;
1284
1280
  } | undefined;
1281
+ closable?: boolean | undefined;
1282
+ bgColor?: string | undefined;
1283
+ textColor?: string | undefined;
1284
+ timeToClose?: number | undefined;
1285
1285
  text: string;
1286
1286
  id: string;
1287
1287
  }>;
1288
1288
  }, "strip", z.ZodTypeAny, {
1289
1289
  type: "openBanner";
1290
1290
  data: {
1291
- bgColor?: string | undefined;
1292
- textColor?: string | undefined;
1293
1291
  link?: {
1294
1292
  url: string;
1295
1293
  label: string;
1296
1294
  } | undefined;
1295
+ bgColor?: string | undefined;
1296
+ textColor?: string | undefined;
1297
1297
  text: string;
1298
1298
  closable: boolean;
1299
1299
  id: string;
@@ -1302,14 +1302,14 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1302
1302
  }, {
1303
1303
  type: "openBanner";
1304
1304
  data: {
1305
- closable?: boolean | undefined;
1306
- bgColor?: string | undefined;
1307
- textColor?: string | undefined;
1308
- timeToClose?: number | undefined;
1309
1305
  link?: {
1310
1306
  url: string;
1311
1307
  label: string;
1312
1308
  } | undefined;
1309
+ closable?: boolean | undefined;
1310
+ bgColor?: string | undefined;
1311
+ textColor?: string | undefined;
1312
+ timeToClose?: number | undefined;
1313
1313
  text: string;
1314
1314
  id: string;
1315
1315
  };
@@ -1322,6 +1322,76 @@ export declare const isIframeEventWrapper: z.ZodUnion<[z.ZodObject<{
1322
1322
  }, {
1323
1323
  data?: undefined;
1324
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
+ };
1325
1395
  }>]>;
1326
1396
  export type IframeEvent = z.infer<typeof isIframeEventWrapper>;
1327
1397
  export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
@@ -1943,34 +2013,34 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
1943
2013
  height: z.ZodNumber;
1944
2014
  zoom: z.ZodNumber;
1945
2015
  }, "strip", z.ZodTypeAny, {
2016
+ height: number;
2017
+ width: number;
1946
2018
  x: number;
1947
2019
  y: number;
1948
- width: number;
1949
- height: number;
1950
2020
  zoom: number;
1951
2021
  }, {
2022
+ height: number;
2023
+ width: number;
1952
2024
  x: number;
1953
2025
  y: number;
1954
- width: number;
1955
- height: number;
1956
2026
  zoom: number;
1957
2027
  }>;
1958
2028
  }, "strip", z.ZodTypeAny, {
1959
2029
  type: "wasCameraUpdated";
1960
2030
  data: {
2031
+ height: number;
2032
+ width: number;
1961
2033
  x: number;
1962
2034
  y: number;
1963
- width: number;
1964
- height: number;
1965
2035
  zoom: number;
1966
2036
  };
1967
2037
  }, {
1968
2038
  type: "wasCameraUpdated";
1969
2039
  data: {
2040
+ height: number;
2041
+ width: number;
1970
2042
  x: number;
1971
2043
  y: number;
1972
- width: number;
1973
- height: number;
1974
2044
  zoom: number;
1975
2045
  };
1976
2046
  }>, z.ZodObject<{
@@ -2115,30 +2185,30 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
2115
2185
  type: z.ZodString;
2116
2186
  subscribe: z.ZodBoolean;
2117
2187
  }, "strip", z.ZodTypeAny, {
2188
+ url: string;
2118
2189
  type: string;
2119
2190
  name: string;
2120
- url: string;
2121
2191
  subscribe: boolean;
2122
2192
  }, {
2193
+ url: string;
2123
2194
  type: string;
2124
2195
  name: string;
2125
- url: string;
2126
2196
  subscribe: boolean;
2127
2197
  }>;
2128
2198
  }, "strip", z.ZodTypeAny, {
2129
2199
  type: "joinMuc";
2130
2200
  data: {
2201
+ url: string;
2131
2202
  type: string;
2132
2203
  name: string;
2133
- url: string;
2134
2204
  subscribe: boolean;
2135
2205
  };
2136
2206
  }, {
2137
2207
  type: "joinMuc";
2138
2208
  data: {
2209
+ url: string;
2139
2210
  type: string;
2140
2211
  name: string;
2141
- url: string;
2142
2212
  subscribe: boolean;
2143
2213
  };
2144
2214
  }>, z.ZodObject<{
@@ -2367,24 +2437,24 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
2367
2437
  type: z.ZodString;
2368
2438
  subscribe: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2369
2439
  }, "strip", z.ZodTypeAny, {
2440
+ url: string;
2370
2441
  type: string;
2371
2442
  name: string;
2372
- url: string;
2373
2443
  subscribe: boolean;
2374
2444
  }, {
2375
2445
  subscribe?: boolean | undefined;
2446
+ url: string;
2376
2447
  type: string;
2377
2448
  name: string;
2378
- url: string;
2379
2449
  }>, "many">;
2380
2450
  jabberId: z.ZodString;
2381
2451
  jabberPassword: z.ZodString;
2382
2452
  }, "strip", z.ZodTypeAny, {
2383
2453
  conferenceDomain: string;
2384
2454
  rooms: {
2455
+ url: string;
2385
2456
  type: string;
2386
2457
  name: string;
2387
- url: string;
2388
2458
  subscribe: boolean;
2389
2459
  }[];
2390
2460
  jabberId: string;
@@ -2393,9 +2463,9 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
2393
2463
  conferenceDomain: string;
2394
2464
  rooms: {
2395
2465
  subscribe?: boolean | undefined;
2466
+ url: string;
2396
2467
  type: string;
2397
2468
  name: string;
2398
- url: string;
2399
2469
  }[];
2400
2470
  jabberId: string;
2401
2471
  jabberPassword: string;
@@ -2405,9 +2475,9 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
2405
2475
  data: {
2406
2476
  conferenceDomain: string;
2407
2477
  rooms: {
2478
+ url: string;
2408
2479
  type: string;
2409
2480
  name: string;
2410
- url: string;
2411
2481
  subscribe: boolean;
2412
2482
  }[];
2413
2483
  jabberId: string;
@@ -2419,9 +2489,9 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
2419
2489
  conferenceDomain: string;
2420
2490
  rooms: {
2421
2491
  subscribe?: boolean | undefined;
2492
+ url: string;
2422
2493
  type: string;
2423
2494
  name: string;
2424
- url: string;
2425
2495
  }[];
2426
2496
  jabberId: string;
2427
2497
  jabberPassword: string;
@@ -2540,12 +2610,12 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
2540
2610
  type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["button"]>>>;
2541
2611
  }, "strip", z.ZodTypeAny, {
2542
2612
  type: "button";
2543
- id: string;
2544
2613
  label: string;
2614
+ id: string;
2545
2615
  }, {
2546
2616
  type?: "button" | undefined;
2547
- id: string;
2548
2617
  label: string;
2618
+ id: string;
2549
2619
  }>, z.ZodObject<{
2550
2620
  id: z.ZodString;
2551
2621
  type: z.ZodEnum<["action"]>;
@@ -2566,8 +2636,8 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
2566
2636
  type: "buttonActionBarTrigger";
2567
2637
  data: {
2568
2638
  type: "button";
2569
- id: string;
2570
2639
  label: string;
2640
+ id: string;
2571
2641
  } | {
2572
2642
  type: "action";
2573
2643
  id: string;
@@ -2578,8 +2648,8 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
2578
2648
  type: "buttonActionBarTrigger";
2579
2649
  data: {
2580
2650
  type?: "button" | undefined;
2581
- id: string;
2582
2651
  label: string;
2652
+ id: string;
2583
2653
  } | {
2584
2654
  type: "action";
2585
2655
  id: string;
@@ -2595,34 +2665,34 @@ export declare const isIframeResponseEvent: z.ZodUnion<[z.ZodObject<{
2595
2665
  position: z.ZodDefault<z.ZodOptional<z.ZodEnum<["right", "left", "center"]>>>;
2596
2666
  allowApi: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2597
2667
  }, "strip", z.ZodTypeAny, {
2668
+ title: string;
2598
2669
  allowApi: boolean;
2599
2670
  position: "left" | "right" | "center";
2600
2671
  allow: string | null;
2601
2672
  src: string;
2602
- title: string;
2603
2673
  }, {
2674
+ title?: string | undefined;
2604
2675
  allowApi?: boolean | undefined;
2605
2676
  position?: "left" | "right" | "center" | undefined;
2606
2677
  allow?: string | null | undefined;
2607
- title?: string | undefined;
2608
2678
  src: string;
2609
2679
  }>;
2610
2680
  }, "strip", z.ZodTypeAny, {
2611
2681
  type: "modalCloseTrigger";
2612
2682
  data: {
2683
+ title: string;
2613
2684
  allowApi: boolean;
2614
2685
  position: "left" | "right" | "center";
2615
2686
  allow: string | null;
2616
2687
  src: string;
2617
- title: string;
2618
2688
  };
2619
2689
  }, {
2620
2690
  type: "modalCloseTrigger";
2621
2691
  data: {
2692
+ title?: string | undefined;
2622
2693
  allowApi?: boolean | undefined;
2623
2694
  position?: "left" | "right" | "center" | undefined;
2624
2695
  allow?: string | null | undefined;
2625
- title?: string | undefined;
2626
2696
  src: string;
2627
2697
  };
2628
2698
  }>]>;
@@ -2630,11 +2700,14 @@ export type IframeResponseEvent = z.infer<typeof isIframeResponseEvent>;
2630
2700
  export declare const isLookingLikeIframeEventWrapper: z.ZodObject<{
2631
2701
  type: z.ZodString;
2632
2702
  data: z.ZodOptional<z.ZodUnknown>;
2703
+ payload: z.ZodOptional<z.ZodUnknown>;
2633
2704
  }, "strip", z.ZodTypeAny, {
2634
2705
  data?: unknown;
2706
+ payload?: unknown;
2635
2707
  type: string;
2636
2708
  }, {
2637
2709
  data?: unknown;
2710
+ payload?: unknown;
2638
2711
  type: string;
2639
2712
  }>;
2640
2713
  /**
@@ -2842,15 +2915,15 @@ export declare const iframeQueryMapTypeGuards: {
2842
2915
  width: z.ZodNumber;
2843
2916
  height: z.ZodNumber;
2844
2917
  }, "strip", z.ZodTypeAny, {
2918
+ height: number;
2919
+ width: number;
2845
2920
  x: number;
2846
2921
  y: number;
2847
- width: number;
2848
- height: number;
2849
2922
  }, {
2923
+ height: number;
2924
+ width: number;
2850
2925
  x: number;
2851
2926
  y: number;
2852
- width: number;
2853
- height: number;
2854
2927
  }>;
2855
2928
  visible: z.ZodOptional<z.ZodBoolean>;
2856
2929
  allowApi: z.ZodOptional<z.ZodBoolean>;
@@ -2863,13 +2936,13 @@ export declare const iframeQueryMapTypeGuards: {
2863
2936
  allow?: string | undefined;
2864
2937
  origin?: "map" | "player" | undefined;
2865
2938
  scale?: number | undefined;
2866
- name: string;
2867
2939
  url: string;
2940
+ name: string;
2868
2941
  position: {
2942
+ height: number;
2943
+ width: number;
2869
2944
  x: number;
2870
2945
  y: number;
2871
- width: number;
2872
- height: number;
2873
2946
  };
2874
2947
  }, {
2875
2948
  allowApi?: boolean | undefined;
@@ -2877,13 +2950,13 @@ export declare const iframeQueryMapTypeGuards: {
2877
2950
  allow?: string | undefined;
2878
2951
  origin?: "map" | "player" | undefined;
2879
2952
  scale?: number | undefined;
2880
- name: string;
2881
2953
  url: string;
2954
+ name: string;
2882
2955
  position: {
2956
+ height: number;
2957
+ width: number;
2883
2958
  x: number;
2884
2959
  y: number;
2885
- width: number;
2886
- height: number;
2887
2960
  };
2888
2961
  }>;
2889
2962
  };
@@ -2901,15 +2974,15 @@ export declare const iframeQueryMapTypeGuards: {
2901
2974
  width: z.ZodNumber;
2902
2975
  height: z.ZodNumber;
2903
2976
  }, "strip", z.ZodTypeAny, {
2977
+ height: number;
2978
+ width: number;
2904
2979
  x: number;
2905
2980
  y: number;
2906
- width: number;
2907
- height: number;
2908
2981
  }, {
2982
+ height: number;
2983
+ width: number;
2909
2984
  x: number;
2910
2985
  y: number;
2911
- width: number;
2912
- height: number;
2913
2986
  }>;
2914
2987
  visible: z.ZodOptional<z.ZodBoolean>;
2915
2988
  allowApi: z.ZodOptional<z.ZodBoolean>;
@@ -2922,13 +2995,13 @@ export declare const iframeQueryMapTypeGuards: {
2922
2995
  allow?: string | undefined;
2923
2996
  origin?: "map" | "player" | undefined;
2924
2997
  scale?: number | undefined;
2925
- name: string;
2926
2998
  url: string;
2999
+ name: string;
2927
3000
  position: {
3001
+ height: number;
3002
+ width: number;
2928
3003
  x: number;
2929
3004
  y: number;
2930
- width: number;
2931
- height: number;
2932
3005
  };
2933
3006
  }, {
2934
3007
  allowApi?: boolean | undefined;
@@ -2936,13 +3009,13 @@ export declare const iframeQueryMapTypeGuards: {
2936
3009
  allow?: string | undefined;
2937
3010
  origin?: "map" | "player" | undefined;
2938
3011
  scale?: number | undefined;
2939
- name: string;
2940
3012
  url: string;
3013
+ name: string;
2941
3014
  position: {
3015
+ height: number;
3016
+ width: number;
2942
3017
  x: number;
2943
3018
  y: number;
2944
- width: number;
2945
- height: number;
2946
3019
  };
2947
3020
  }>;
2948
3021
  answer: z.ZodUndefined;
@@ -2955,17 +3028,17 @@ export declare const iframeQueryMapTypeGuards: {
2955
3028
  width: z.ZodNumber;
2956
3029
  height: z.ZodNumber;
2957
3030
  }, "strip", z.ZodTypeAny, {
3031
+ height: number;
3032
+ width: number;
2958
3033
  name: string;
2959
3034
  x: number;
2960
3035
  y: number;
2961
- width: number;
2962
- height: number;
2963
3036
  }, {
3037
+ height: number;
3038
+ width: number;
2964
3039
  name: string;
2965
3040
  x: number;
2966
3041
  y: number;
2967
- width: number;
2968
- height: number;
2969
3042
  }>;
2970
3043
  answer: z.ZodUndefined;
2971
3044
  };
@@ -2978,17 +3051,17 @@ export declare const iframeQueryMapTypeGuards: {
2978
3051
  width: z.ZodNumber;
2979
3052
  height: z.ZodNumber;
2980
3053
  }, "strip", z.ZodTypeAny, {
3054
+ height: number;
3055
+ width: number;
2981
3056
  name: string;
2982
3057
  x: number;
2983
3058
  y: number;
2984
- width: number;
2985
- height: number;
2986
3059
  }, {
3060
+ height: number;
3061
+ width: number;
2987
3062
  name: string;
2988
3063
  x: number;
2989
3064
  y: number;
2990
- width: number;
2991
- height: number;
2992
3065
  }>;
2993
3066
  };
2994
3067
  modifyArea: {
@@ -2999,16 +3072,16 @@ export declare const iframeQueryMapTypeGuards: {
2999
3072
  width: z.ZodOptional<z.ZodNumber>;
3000
3073
  height: z.ZodOptional<z.ZodNumber>;
3001
3074
  }, "strip", z.ZodTypeAny, {
3075
+ height?: number | undefined;
3076
+ width?: number | undefined;
3002
3077
  x?: number | undefined;
3003
3078
  y?: number | undefined;
3004
- width?: number | undefined;
3005
- height?: number | undefined;
3006
3079
  name: string;
3007
3080
  }, {
3081
+ height?: number | undefined;
3082
+ width?: number | undefined;
3008
3083
  x?: number | undefined;
3009
3084
  y?: number | undefined;
3010
- width?: number | undefined;
3011
- height?: number | undefined;
3012
3085
  name: string;
3013
3086
  }>;
3014
3087
  answer: z.ZodUndefined;
@@ -3098,11 +3171,11 @@ export declare const iframeQueryMapTypeGuards: {
3098
3171
  height: z.ZodString;
3099
3172
  width: z.ZodString;
3100
3173
  }, "strip", z.ZodTypeAny, {
3101
- width: string;
3102
3174
  height: string;
3103
- }, {
3104
3175
  width: string;
3176
+ }, {
3105
3177
  height: string;
3178
+ width: string;
3106
3179
  }>;
3107
3180
  margin: z.ZodOptional<z.ZodObject<{
3108
3181
  top: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -3110,14 +3183,14 @@ export declare const iframeQueryMapTypeGuards: {
3110
3183
  left: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3111
3184
  right: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3112
3185
  }, "strip", z.ZodTypeAny, {
3186
+ left?: string | undefined;
3113
3187
  top?: string | undefined;
3114
3188
  bottom?: string | undefined;
3115
- left?: string | undefined;
3116
3189
  right?: string | undefined;
3117
3190
  }, {
3191
+ left?: string | undefined;
3118
3192
  top?: string | undefined;
3119
3193
  bottom?: string | undefined;
3120
- left?: string | undefined;
3121
3194
  right?: string | undefined;
3122
3195
  }>>;
3123
3196
  }, "strip", z.ZodTypeAny, {
@@ -3125,9 +3198,9 @@ export declare const iframeQueryMapTypeGuards: {
3125
3198
  allowPolicy?: string | undefined;
3126
3199
  visible?: boolean | undefined;
3127
3200
  margin?: {
3201
+ left?: string | undefined;
3128
3202
  top?: string | undefined;
3129
3203
  bottom?: string | undefined;
3130
- left?: string | undefined;
3131
3204
  right?: string | undefined;
3132
3205
  } | undefined;
3133
3206
  url: string;
@@ -3136,17 +3209,17 @@ export declare const iframeQueryMapTypeGuards: {
3136
3209
  horizontal: "left" | "right" | "middle";
3137
3210
  };
3138
3211
  size: {
3139
- width: string;
3140
3212
  height: string;
3213
+ width: string;
3141
3214
  };
3142
3215
  }, {
3143
3216
  allowApi?: boolean | undefined;
3144
3217
  allowPolicy?: string | undefined;
3145
3218
  visible?: boolean | undefined;
3146
3219
  margin?: {
3220
+ left?: string | undefined;
3147
3221
  top?: string | undefined;
3148
3222
  bottom?: string | undefined;
3149
- left?: string | undefined;
3150
3223
  right?: string | undefined;
3151
3224
  } | undefined;
3152
3225
  url: string;
@@ -3155,8 +3228,8 @@ export declare const iframeQueryMapTypeGuards: {
3155
3228
  horizontal: "left" | "right" | "middle";
3156
3229
  };
3157
3230
  size: {
3158
- width: string;
3159
3231
  height: string;
3232
+ width: string;
3160
3233
  };
3161
3234
  }>;
3162
3235
  answer: z.ZodObject<{
@@ -3179,11 +3252,11 @@ export declare const iframeQueryMapTypeGuards: {
3179
3252
  height: z.ZodString;
3180
3253
  width: z.ZodString;
3181
3254
  }, "strip", z.ZodTypeAny, {
3182
- width: string;
3183
3255
  height: string;
3184
- }, {
3185
3256
  width: string;
3257
+ }, {
3186
3258
  height: string;
3259
+ width: string;
3187
3260
  }>;
3188
3261
  margin: z.ZodOptional<z.ZodObject<{
3189
3262
  top: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -3191,21 +3264,21 @@ export declare const iframeQueryMapTypeGuards: {
3191
3264
  left: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3192
3265
  right: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3193
3266
  }, "strip", z.ZodTypeAny, {
3267
+ left?: string | undefined;
3194
3268
  top?: string | undefined;
3195
3269
  bottom?: string | undefined;
3196
- left?: string | undefined;
3197
3270
  right?: string | undefined;
3198
3271
  }, {
3272
+ left?: string | undefined;
3199
3273
  top?: string | undefined;
3200
3274
  bottom?: string | undefined;
3201
- left?: string | undefined;
3202
3275
  right?: string | undefined;
3203
3276
  }>>;
3204
3277
  }, "strip", z.ZodTypeAny, {
3205
3278
  margin?: {
3279
+ left?: string | undefined;
3206
3280
  top?: string | undefined;
3207
3281
  bottom?: string | undefined;
3208
- left?: string | undefined;
3209
3282
  right?: string | undefined;
3210
3283
  } | undefined;
3211
3284
  url: string;
@@ -3218,14 +3291,14 @@ export declare const iframeQueryMapTypeGuards: {
3218
3291
  id: string;
3219
3292
  visible: boolean;
3220
3293
  size: {
3221
- width: string;
3222
3294
  height: string;
3295
+ width: string;
3223
3296
  };
3224
3297
  }, {
3225
3298
  margin?: {
3299
+ left?: string | undefined;
3226
3300
  top?: string | undefined;
3227
3301
  bottom?: string | undefined;
3228
- left?: string | undefined;
3229
3302
  right?: string | undefined;
3230
3303
  } | undefined;
3231
3304
  url: string;
@@ -3238,8 +3311,8 @@ export declare const iframeQueryMapTypeGuards: {
3238
3311
  id: string;
3239
3312
  visible: boolean;
3240
3313
  size: {
3241
- width: string;
3242
3314
  height: string;
3315
+ width: string;
3243
3316
  };
3244
3317
  }>;
3245
3318
  };
@@ -3269,11 +3342,11 @@ export declare const iframeQueryMapTypeGuards: {
3269
3342
  height: z.ZodString;
3270
3343
  width: z.ZodString;
3271
3344
  }, "strip", z.ZodTypeAny, {
3272
- width: string;
3273
3345
  height: string;
3274
- }, {
3275
3346
  width: string;
3347
+ }, {
3276
3348
  height: string;
3349
+ width: string;
3277
3350
  }>;
3278
3351
  margin: z.ZodOptional<z.ZodObject<{
3279
3352
  top: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -3281,21 +3354,21 @@ export declare const iframeQueryMapTypeGuards: {
3281
3354
  left: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3282
3355
  right: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3283
3356
  }, "strip", z.ZodTypeAny, {
3357
+ left?: string | undefined;
3284
3358
  top?: string | undefined;
3285
3359
  bottom?: string | undefined;
3286
- left?: string | undefined;
3287
3360
  right?: string | undefined;
3288
3361
  }, {
3362
+ left?: string | undefined;
3289
3363
  top?: string | undefined;
3290
3364
  bottom?: string | undefined;
3291
- left?: string | undefined;
3292
3365
  right?: string | undefined;
3293
3366
  }>>;
3294
3367
  }, "strip", z.ZodTypeAny, {
3295
3368
  margin?: {
3369
+ left?: string | undefined;
3296
3370
  top?: string | undefined;
3297
3371
  bottom?: string | undefined;
3298
- left?: string | undefined;
3299
3372
  right?: string | undefined;
3300
3373
  } | undefined;
3301
3374
  url: string;
@@ -3308,14 +3381,14 @@ export declare const iframeQueryMapTypeGuards: {
3308
3381
  id: string;
3309
3382
  visible: boolean;
3310
3383
  size: {
3311
- width: string;
3312
3384
  height: string;
3385
+ width: string;
3313
3386
  };
3314
3387
  }, {
3315
3388
  margin?: {
3389
+ left?: string | undefined;
3316
3390
  top?: string | undefined;
3317
3391
  bottom?: string | undefined;
3318
- left?: string | undefined;
3319
3392
  right?: string | undefined;
3320
3393
  } | undefined;
3321
3394
  url: string;
@@ -3328,8 +3401,8 @@ export declare const iframeQueryMapTypeGuards: {
3328
3401
  id: string;
3329
3402
  visible: boolean;
3330
3403
  size: {
3331
- width: string;
3332
3404
  height: string;
3405
+ width: string;
3333
3406
  };
3334
3407
  }>, "many">;
3335
3408
  };
@@ -3355,11 +3428,11 @@ export declare const iframeQueryMapTypeGuards: {
3355
3428
  height: z.ZodString;
3356
3429
  width: z.ZodString;
3357
3430
  }, "strip", z.ZodTypeAny, {
3358
- width: string;
3359
3431
  height: string;
3360
- }, {
3361
3432
  width: string;
3433
+ }, {
3362
3434
  height: string;
3435
+ width: string;
3363
3436
  }>;
3364
3437
  margin: z.ZodOptional<z.ZodObject<{
3365
3438
  top: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -3367,21 +3440,21 @@ export declare const iframeQueryMapTypeGuards: {
3367
3440
  left: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3368
3441
  right: z.ZodOptional<z.ZodOptional<z.ZodString>>;
3369
3442
  }, "strip", z.ZodTypeAny, {
3443
+ left?: string | undefined;
3370
3444
  top?: string | undefined;
3371
3445
  bottom?: string | undefined;
3372
- left?: string | undefined;
3373
3446
  right?: string | undefined;
3374
3447
  }, {
3448
+ left?: string | undefined;
3375
3449
  top?: string | undefined;
3376
3450
  bottom?: string | undefined;
3377
- left?: string | undefined;
3378
3451
  right?: string | undefined;
3379
3452
  }>>;
3380
3453
  }, "strip", z.ZodTypeAny, {
3381
3454
  margin?: {
3455
+ left?: string | undefined;
3382
3456
  top?: string | undefined;
3383
3457
  bottom?: string | undefined;
3384
- left?: string | undefined;
3385
3458
  right?: string | undefined;
3386
3459
  } | undefined;
3387
3460
  url: string;
@@ -3394,14 +3467,14 @@ export declare const iframeQueryMapTypeGuards: {
3394
3467
  id: string;
3395
3468
  visible: boolean;
3396
3469
  size: {
3397
- width: string;
3398
3470
  height: string;
3471
+ width: string;
3399
3472
  };
3400
3473
  }, {
3401
3474
  margin?: {
3475
+ left?: string | undefined;
3402
3476
  top?: string | undefined;
3403
3477
  bottom?: string | undefined;
3404
- left?: string | undefined;
3405
3478
  right?: string | undefined;
3406
3479
  } | undefined;
3407
3480
  url: string;
@@ -3414,8 +3487,8 @@ export declare const iframeQueryMapTypeGuards: {
3414
3487
  id: string;
3415
3488
  visible: boolean;
3416
3489
  size: {
3417
- width: string;
3418
3490
  height: string;
3491
+ width: string;
3419
3492
  };
3420
3493
  }>;
3421
3494
  };