@feltmaps/js-sdk 1.11.1-next.0 → 1.12.0-next.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.
@@ -1,5 +1,5 @@
1
1
  import { z, ZodError } from 'zod';
2
- import { F as FeltController, cH as UnwrapPromise, z as zInfer, a as Basemap, i as ElementChangeCallbackParams, l as ElementGroupChangeCallbackParams, E as Element, W as MapInteractionEvent, ax as FilterTernary, a6 as LayerChangeCallbackParams, a9 as LayerGroupChangeCallbackParams, ad as LegendItemChangeCallbackParams, aB as LayerFilters, aA as LayerBoundaries, b7 as EntityNode, bI as ToolType, bG as ToolSettingsChangeEvent, cI as uiActionTriggerSchema, al as LayerFeature, cJ as uiFeatureActionSchema, cd as UIPanelElementCreate, cK as UIPanelElementCreateClonable, cL as uiPanelCreateSchema, cM as UIButtonElementCreateClonable, cN as MakeClonableSchema, b_ as UITextElementCreate, c4 as UIDividerElementCreate, c7 as UITextInputElementCreate, ca as UISelectElementCreate, c1 as UIFlexibleSpaceElementCreate, cO as UIButtonRowElementCreateClonable, cm as UICheckboxGroupElementCreate, cp as UIRadioGroupElementCreate, cs as UIToggleGroupElementCreate, cv as UIIframeElementCreate, cF as ViewportState, cP as PromiseOrNot, cQ as UnionToIntersection } from './controller-YE0Hpi6u.cjs';
2
+ import { F as FeltController, cL as UnwrapPromise, z as zInfer, a as Basemap, i as ElementChangeCallbackParams, l as ElementGroupChangeCallbackParams, E as Element, Z as MapInteractionEvent, aA as FilterTernary, a9 as LayerChangeCallbackParams, ac as LayerGroupChangeCallbackParams, ag as LegendItemChangeCallbackParams, aE as LayerFilters, aD as LayerBoundaries, ba as EntityNode, bM as ToolType, bK as ToolSettingsChangeEvent, cM as uiActionTriggerSchema, ao as LayerFeature, cN as uiFeatureActionSchema, ch as UIPanelElementCreate, cO as UIPanelElementCreateClonable, cP as uiPanelCreateSchema, cQ as UIButtonElementCreateClonable, cR as MakeClonableSchema, c2 as UITextElementCreate, c8 as UIDividerElementCreate, cb as UITextInputElementCreate, ce as UISelectElementCreate, c5 as UIFlexibleSpaceElementCreate, cS as UIButtonRowElementCreateClonable, cq as UICheckboxGroupElementCreate, ct as UIRadioGroupElementCreate, cw as UIToggleGroupElementCreate, cz as UIIframeElementCreate, cJ as ViewportState, cT as PromiseOrNot, cU as UnionToIntersection } from './controller-BaF6nwyH.cjs';
3
3
 
4
4
  type FeltControllerFunctions = Omit<FeltController, "iframe">;
5
5
  type Method<TRequest extends {
@@ -343,7 +343,7 @@ declare const OnElementGroupChangeMessage: z.ZodObject<{
343
343
  }>;
344
344
  declare const CreateElementMessage: z.ZodObject<{
345
345
  type: z.ZodLiteral<"createElement">;
346
- params: z.ZodDiscriminatedUnion<"type", [z.ZodObject<Omit<z.objectUtil.extendShape<{
346
+ params: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<Omit<z.objectUtil.extendShape<{
347
347
  id: z.ZodOptional<z.ZodString>;
348
348
  groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
349
349
  color: z.ZodOptional<z.ZodString>;
@@ -468,8 +468,9 @@ declare const CreateElementMessage: z.ZodObject<{
468
468
  distanceMarker?: boolean | undefined;
469
469
  routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
470
470
  endCaps?: boolean | undefined;
471
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
472
- id: z.ZodOptional<z.ZodString>;
471
+ }>, z.ZodObject<z.objectUtil.extendShape<{
472
+ type: z.ZodLiteral<"Polygon">;
473
+ coordinates: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">>;
473
474
  groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
474
475
  color: z.ZodOptional<z.ZodString>;
475
476
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -480,32 +481,25 @@ declare const CreateElementMessage: z.ZodObject<{
480
481
  strokeOpacity: z.ZodOptional<z.ZodNumber>;
481
482
  strokeWidth: z.ZodOptional<z.ZodNumber>;
482
483
  strokeStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
483
- type: z.ZodOptional<z.ZodLiteral<"Polygon">>;
484
- coordinates: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">>;
485
484
  fillOpacity: z.ZodOptional<z.ZodNumber>;
486
485
  areaMarker: z.ZodOptional<z.ZodBoolean>;
487
- }, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
488
- id: z.ZodString;
489
- groupId: z.ZodNullable<z.ZodString>;
490
- color: z.ZodString;
491
- name: z.ZodNullable<z.ZodString>;
492
- description: z.ZodNullable<z.ZodString>;
493
- attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
494
- interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
495
486
  }, {
496
- imageUrl: z.ZodNullable<z.ZodString>;
497
- }>, {
498
- strokeOpacity: z.ZodNumber;
499
- strokeWidth: z.ZodNumber;
500
- strokeStyle: z.ZodEnum<["solid", "dashed", "dotted"]>;
501
- }>, {
502
- type: z.ZodLiteral<"Polygon">;
503
- coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
504
- fillOpacity: z.ZodNumber;
505
- areaMarker: z.ZodBoolean;
506
- }>, "type" | "coordinates">>, "id">, "strip", z.ZodTypeAny, {
487
+ isochrone: z.ZodOptional<z.ZodObject<{
488
+ origin: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
489
+ mode: z.ZodEnum<["driving", "cycling", "walking"]>;
490
+ minutes: z.ZodNumber;
491
+ }, "strip", z.ZodTypeAny, {
492
+ origin: [number, number];
493
+ mode: "driving" | "cycling" | "walking";
494
+ minutes: number;
495
+ }, {
496
+ origin: [number, number];
497
+ mode: "driving" | "cycling" | "walking";
498
+ minutes: number;
499
+ }>>;
500
+ }>, "strip", z.ZodTypeAny, {
507
501
  type: "Polygon";
508
- coordinates: [number, number][][];
502
+ coordinates?: [number, number][][] | undefined;
509
503
  groupId?: string | null | undefined;
510
504
  color?: string | undefined;
511
505
  name?: string | null | undefined;
@@ -518,9 +512,14 @@ declare const CreateElementMessage: z.ZodObject<{
518
512
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
519
513
  fillOpacity?: number | undefined;
520
514
  areaMarker?: boolean | undefined;
515
+ isochrone?: {
516
+ origin: [number, number];
517
+ mode: "driving" | "cycling" | "walking";
518
+ minutes: number;
519
+ } | undefined;
521
520
  }, {
522
521
  type: "Polygon";
523
- coordinates: [number, number][][];
522
+ coordinates?: [number, number][][] | undefined;
524
523
  groupId?: string | null | undefined;
525
524
  color?: string | undefined;
526
525
  name?: string | null | undefined;
@@ -533,6 +532,11 @@ declare const CreateElementMessage: z.ZodObject<{
533
532
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
534
533
  fillOpacity?: number | undefined;
535
534
  areaMarker?: boolean | undefined;
535
+ isochrone?: {
536
+ origin: [number, number];
537
+ mode: "driving" | "cycling" | "walking";
538
+ minutes: number;
539
+ } | undefined;
536
540
  }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
537
541
  id: z.ZodOptional<z.ZodString>;
538
542
  groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -849,9 +853,7 @@ declare const CreateElementMessage: z.ZodObject<{
849
853
  align?: "center" | "left" | "right" | undefined;
850
854
  style?: "italic" | "light" | "regular" | "caps" | undefined;
851
855
  widthScale?: number | undefined;
852
- }>]>;
853
- }, z.UnknownKeysParam, z.ZodTypeAny, {
854
- params: {
856
+ }>]>, {
855
857
  type: "Place";
856
858
  coordinates: [number, number];
857
859
  symbol?: string | undefined;
@@ -882,7 +884,7 @@ declare const CreateElementMessage: z.ZodObject<{
882
884
  endCaps?: boolean | undefined;
883
885
  } | {
884
886
  type: "Polygon";
885
- coordinates: [number, number][][];
887
+ coordinates?: [number, number][][] | undefined;
886
888
  groupId?: string | null | undefined;
887
889
  color?: string | undefined;
888
890
  name?: string | null | undefined;
@@ -895,6 +897,11 @@ declare const CreateElementMessage: z.ZodObject<{
895
897
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
896
898
  fillOpacity?: number | undefined;
897
899
  areaMarker?: boolean | undefined;
900
+ isochrone?: {
901
+ origin: [number, number];
902
+ mode: "driving" | "cycling" | "walking";
903
+ minutes: number;
904
+ } | undefined;
898
905
  } | {
899
906
  type: "Circle";
900
907
  center: [number, number];
@@ -975,10 +982,7 @@ declare const CreateElementMessage: z.ZodObject<{
975
982
  attributes?: Record<string, unknown> | undefined;
976
983
  interaction?: "default" | "locked" | undefined;
977
984
  opacity?: number | undefined;
978
- };
979
- type: "createElement";
980
- }, {
981
- params: {
985
+ }, {
982
986
  type: "Place";
983
987
  coordinates: [number, number];
984
988
  symbol?: string | undefined;
@@ -1009,7 +1013,7 @@ declare const CreateElementMessage: z.ZodObject<{
1009
1013
  endCaps?: boolean | undefined;
1010
1014
  } | {
1011
1015
  type: "Polygon";
1012
- coordinates: [number, number][][];
1016
+ coordinates?: [number, number][][] | undefined;
1013
1017
  groupId?: string | null | undefined;
1014
1018
  color?: string | undefined;
1015
1019
  name?: string | null | undefined;
@@ -1022,6 +1026,11 @@ declare const CreateElementMessage: z.ZodObject<{
1022
1026
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
1023
1027
  fillOpacity?: number | undefined;
1024
1028
  areaMarker?: boolean | undefined;
1029
+ isochrone?: {
1030
+ origin: [number, number];
1031
+ mode: "driving" | "cycling" | "walking";
1032
+ minutes: number;
1033
+ } | undefined;
1025
1034
  } | {
1026
1035
  type: "Circle";
1027
1036
  center: [number, number];
@@ -1102,60 +1111,12 @@ declare const CreateElementMessage: z.ZodObject<{
1102
1111
  attributes?: Record<string, unknown> | undefined;
1103
1112
  interaction?: "default" | "locked" | undefined;
1104
1113
  opacity?: number | undefined;
1105
- };
1106
- type: "createElement";
1107
- }>;
1108
- declare const UpdateElementMessage: z.ZodObject<{
1109
- type: z.ZodLiteral<"updateElement">;
1110
- params: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
1111
- id: z.ZodOptional<z.ZodString>;
1112
- groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1113
- color: z.ZodOptional<z.ZodString>;
1114
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1115
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1116
- attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1117
- interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
1118
- imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1119
- type: z.ZodOptional<z.ZodLiteral<"Place">>;
1120
- coordinates: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1121
- symbol: z.ZodOptional<z.ZodString>;
1122
- frame: z.ZodOptional<z.ZodNullable<z.ZodEnum<["frame-circle", "frame-square"]>>>;
1123
- hideLabel: z.ZodOptional<z.ZodBoolean>;
1124
- }, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1125
- id: z.ZodString;
1126
- groupId: z.ZodNullable<z.ZodString>;
1127
- color: z.ZodString;
1128
- name: z.ZodNullable<z.ZodString>;
1129
- description: z.ZodNullable<z.ZodString>;
1130
- attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1131
- interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
1132
- }, {
1133
- imageUrl: z.ZodNullable<z.ZodString>;
1134
- }>, {
1135
- type: z.ZodLiteral<"Place">;
1136
- coordinates: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1137
- symbol: z.ZodString;
1138
- frame: z.ZodNullable<z.ZodEnum<["frame-circle", "frame-square"]>>;
1139
- hideLabel: z.ZodBoolean;
1140
- }>, "type" | "id">>, "strip", z.ZodTypeAny, {
1141
- type: "Place";
1142
- id: string;
1143
- symbol?: string | undefined;
1144
- coordinates?: [number, number] | undefined;
1145
- groupId?: string | null | undefined;
1146
- color?: string | undefined;
1147
- name?: string | null | undefined;
1148
- description?: string | null | undefined;
1149
- attributes?: Record<string, unknown> | undefined;
1150
- interaction?: "default" | "locked" | undefined;
1151
- imageUrl?: string | null | undefined;
1152
- frame?: "frame-circle" | "frame-square" | null | undefined;
1153
- hideLabel?: boolean | undefined;
1154
- }, {
1114
+ }>;
1115
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
1116
+ params: {
1155
1117
  type: "Place";
1156
- id: string;
1118
+ coordinates: [number, number];
1157
1119
  symbol?: string | undefined;
1158
- coordinates?: [number, number] | undefined;
1159
1120
  groupId?: string | null | undefined;
1160
1121
  color?: string | undefined;
1161
1122
  name?: string | null | undefined;
@@ -1165,47 +1126,9 @@ declare const UpdateElementMessage: z.ZodObject<{
1165
1126
  imageUrl?: string | null | undefined;
1166
1127
  frame?: "frame-circle" | "frame-square" | null | undefined;
1167
1128
  hideLabel?: boolean | undefined;
1168
- }>, z.ZodObject<z.objectUtil.extendShape<{
1169
- id: z.ZodOptional<z.ZodString>;
1170
- groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1171
- color: z.ZodOptional<z.ZodString>;
1172
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1173
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1174
- attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1175
- interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
1176
- imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1177
- strokeOpacity: z.ZodOptional<z.ZodNumber>;
1178
- strokeWidth: z.ZodOptional<z.ZodNumber>;
1179
- strokeStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
1180
- type: z.ZodOptional<z.ZodLiteral<"Path">>;
1181
- coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">>;
1182
- distanceMarker: z.ZodOptional<z.ZodBoolean>;
1183
- routingMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["driving", "cycling", "walking", "flying"]>>>;
1184
- endCaps: z.ZodOptional<z.ZodBoolean>;
1185
- }, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1186
- id: z.ZodString;
1187
- groupId: z.ZodNullable<z.ZodString>;
1188
- color: z.ZodString;
1189
- name: z.ZodNullable<z.ZodString>;
1190
- description: z.ZodNullable<z.ZodString>;
1191
- attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1192
- interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
1193
- }, {
1194
- imageUrl: z.ZodNullable<z.ZodString>;
1195
- }>, {
1196
- strokeOpacity: z.ZodNumber;
1197
- strokeWidth: z.ZodNumber;
1198
- strokeStyle: z.ZodEnum<["solid", "dashed", "dotted"]>;
1199
- }>, {
1200
- type: z.ZodLiteral<"Path">;
1201
- coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
1202
- distanceMarker: z.ZodBoolean;
1203
- routingMode: z.ZodNullable<z.ZodEnum<["driving", "cycling", "walking", "flying"]>>;
1204
- endCaps: z.ZodBoolean;
1205
- }>, "type" | "id">>, "strip", z.ZodTypeAny, {
1129
+ } | {
1206
1130
  type: "Path";
1207
- id: string;
1208
- coordinates?: [number, number][][] | undefined;
1131
+ coordinates: [number, number][][];
1209
1132
  groupId?: string | null | undefined;
1210
1133
  color?: string | undefined;
1211
1134
  name?: string | null | undefined;
@@ -1219,9 +1142,8 @@ declare const UpdateElementMessage: z.ZodObject<{
1219
1142
  distanceMarker?: boolean | undefined;
1220
1143
  routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
1221
1144
  endCaps?: boolean | undefined;
1222
- }, {
1223
- type: "Path";
1224
- id: string;
1145
+ } | {
1146
+ type: "Polygon";
1225
1147
  coordinates?: [number, number][][] | undefined;
1226
1148
  groupId?: string | null | undefined;
1227
1149
  color?: string | undefined;
@@ -1233,48 +1155,17 @@ declare const UpdateElementMessage: z.ZodObject<{
1233
1155
  strokeOpacity?: number | undefined;
1234
1156
  strokeWidth?: number | undefined;
1235
1157
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
1236
- distanceMarker?: boolean | undefined;
1237
- routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
1238
- endCaps?: boolean | undefined;
1239
- }>, z.ZodObject<z.objectUtil.extendShape<{
1240
- id: z.ZodOptional<z.ZodString>;
1241
- groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1242
- color: z.ZodOptional<z.ZodString>;
1243
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1244
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1245
- attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1246
- interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
1247
- imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1248
- strokeOpacity: z.ZodOptional<z.ZodNumber>;
1249
- strokeWidth: z.ZodOptional<z.ZodNumber>;
1250
- strokeStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
1251
- type: z.ZodOptional<z.ZodLiteral<"Polygon">>;
1252
- coordinates: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">>;
1253
- fillOpacity: z.ZodOptional<z.ZodNumber>;
1254
- areaMarker: z.ZodOptional<z.ZodBoolean>;
1255
- }, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1256
- id: z.ZodString;
1257
- groupId: z.ZodNullable<z.ZodString>;
1258
- color: z.ZodString;
1259
- name: z.ZodNullable<z.ZodString>;
1260
- description: z.ZodNullable<z.ZodString>;
1261
- attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1262
- interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
1263
- }, {
1264
- imageUrl: z.ZodNullable<z.ZodString>;
1265
- }>, {
1266
- strokeOpacity: z.ZodNumber;
1267
- strokeWidth: z.ZodNumber;
1268
- strokeStyle: z.ZodEnum<["solid", "dashed", "dotted"]>;
1269
- }>, {
1270
- type: z.ZodLiteral<"Polygon">;
1271
- coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
1272
- fillOpacity: z.ZodNumber;
1273
- areaMarker: z.ZodBoolean;
1274
- }>, "type" | "id">>, "strip", z.ZodTypeAny, {
1275
- type: "Polygon";
1276
- id: string;
1277
- coordinates?: [number, number][][] | undefined;
1158
+ fillOpacity?: number | undefined;
1159
+ areaMarker?: boolean | undefined;
1160
+ isochrone?: {
1161
+ origin: [number, number];
1162
+ mode: "driving" | "cycling" | "walking";
1163
+ minutes: number;
1164
+ } | undefined;
1165
+ } | {
1166
+ type: "Circle";
1167
+ center: [number, number];
1168
+ radius: number;
1278
1169
  groupId?: string | null | undefined;
1279
1170
  color?: string | undefined;
1280
1171
  name?: string | null | undefined;
@@ -1286,67 +1177,106 @@ declare const UpdateElementMessage: z.ZodObject<{
1286
1177
  strokeWidth?: number | undefined;
1287
1178
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
1288
1179
  fillOpacity?: number | undefined;
1289
- areaMarker?: boolean | undefined;
1290
- }, {
1291
- type: "Polygon";
1292
- id: string;
1293
- coordinates?: [number, number][][] | undefined;
1180
+ radiusMarker?: boolean | undefined;
1181
+ radiusDisplayAngle?: number | undefined;
1182
+ radiusDisplayUnit?: "meter" | "kilometer" | "foot" | "mile" | null | undefined;
1183
+ } | {
1184
+ type: "Marker";
1185
+ coordinates: [number, number][][];
1294
1186
  groupId?: string | null | undefined;
1295
1187
  color?: string | undefined;
1296
1188
  name?: string | null | undefined;
1297
1189
  description?: string | null | undefined;
1298
1190
  attributes?: Record<string, unknown> | undefined;
1299
1191
  interaction?: "default" | "locked" | undefined;
1300
- imageUrl?: string | null | undefined;
1301
- strokeOpacity?: number | undefined;
1302
- strokeWidth?: number | undefined;
1303
- strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
1304
- fillOpacity?: number | undefined;
1305
- areaMarker?: boolean | undefined;
1306
- }>, z.ZodObject<z.objectUtil.extendShape<{
1307
- id: z.ZodOptional<z.ZodString>;
1308
- groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1309
- color: z.ZodOptional<z.ZodString>;
1310
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1311
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1312
- attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1313
- interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
1314
- imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1315
- strokeOpacity: z.ZodOptional<z.ZodNumber>;
1316
- strokeWidth: z.ZodOptional<z.ZodNumber>;
1317
- strokeStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
1318
- type: z.ZodOptional<z.ZodLiteral<"Circle">>;
1319
- center: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1320
- radius: z.ZodOptional<z.ZodNumber>;
1321
- radiusMarker: z.ZodOptional<z.ZodBoolean>;
1322
- radiusDisplayAngle: z.ZodOptional<z.ZodNumber>;
1323
- radiusDisplayUnit: z.ZodOptional<z.ZodNullable<z.ZodEnum<["meter", "kilometer", "foot", "mile"]>>>;
1324
- fillOpacity: z.ZodOptional<z.ZodNumber>;
1325
- }, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1326
- id: z.ZodString;
1327
- groupId: z.ZodNullable<z.ZodString>;
1328
- color: z.ZodString;
1329
- name: z.ZodNullable<z.ZodString>;
1330
- description: z.ZodNullable<z.ZodString>;
1331
- attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1332
- interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
1333
- }, {
1334
- imageUrl: z.ZodNullable<z.ZodString>;
1335
- }>, {
1336
- strokeOpacity: z.ZodNumber;
1337
- strokeWidth: z.ZodNumber;
1338
- strokeStyle: z.ZodEnum<["solid", "dashed", "dotted"]>;
1339
- }>, {
1340
- type: z.ZodLiteral<"Circle">;
1341
- center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1342
- radius: z.ZodNumber;
1343
- radiusMarker: z.ZodBoolean;
1344
- radiusDisplayAngle: z.ZodNumber;
1345
- radiusDisplayUnit: z.ZodNullable<z.ZodEnum<["meter", "kilometer", "foot", "mile"]>>;
1346
- fillOpacity: z.ZodNumber;
1347
- }>, "type" | "id">>, "strip", z.ZodTypeAny, {
1348
- type: "Circle";
1349
- id: string;
1192
+ opacity?: number | undefined;
1193
+ size?: number | undefined;
1194
+ zoom?: number | undefined;
1195
+ } | {
1196
+ type: "Highlighter";
1197
+ coordinates: [number, number][][][];
1198
+ groupId?: string | null | undefined;
1199
+ color?: string | undefined;
1200
+ name?: string | null | undefined;
1201
+ description?: string | null | undefined;
1202
+ attributes?: Record<string, unknown> | undefined;
1203
+ interaction?: "default" | "locked" | undefined;
1204
+ opacity?: number | undefined;
1205
+ renderHoles?: boolean | undefined;
1206
+ } | {
1207
+ type: "Text";
1208
+ text: string;
1209
+ groupId?: string | null | undefined;
1210
+ color?: string | undefined;
1211
+ description?: string | null | undefined;
1212
+ attributes?: Record<string, unknown> | undefined;
1213
+ interaction?: "default" | "locked" | undefined;
1214
+ zoom?: number | undefined;
1215
+ position?: [number, number] | undefined;
1216
+ rotation?: number | undefined;
1217
+ scale?: number | undefined;
1218
+ align?: "center" | "left" | "right" | undefined;
1219
+ style?: "italic" | "light" | "regular" | "caps" | undefined;
1220
+ } | {
1221
+ type: "Note";
1222
+ text: string;
1223
+ groupId?: string | null | undefined;
1224
+ color?: string | undefined;
1225
+ description?: string | null | undefined;
1226
+ attributes?: Record<string, unknown> | undefined;
1227
+ interaction?: "default" | "locked" | undefined;
1228
+ zoom?: number | undefined;
1229
+ position?: [number, number] | undefined;
1230
+ rotation?: number | undefined;
1231
+ scale?: number | undefined;
1232
+ align?: "center" | "left" | "right" | undefined;
1233
+ style?: "italic" | "light" | "regular" | "caps" | undefined;
1234
+ widthScale?: number | undefined;
1235
+ } | {
1236
+ type: "Image";
1237
+ coordinates: [number, number][][];
1238
+ imageUrl: string;
1239
+ groupId?: string | null | undefined;
1240
+ name?: string | null | undefined;
1241
+ description?: string | null | undefined;
1242
+ attributes?: Record<string, unknown> | undefined;
1243
+ interaction?: "default" | "locked" | undefined;
1244
+ opacity?: number | undefined;
1245
+ };
1246
+ type: "createElement";
1247
+ }, {
1248
+ params: {
1249
+ type: "Place";
1250
+ coordinates: [number, number];
1251
+ symbol?: string | undefined;
1252
+ groupId?: string | null | undefined;
1253
+ color?: string | undefined;
1254
+ name?: string | null | undefined;
1255
+ description?: string | null | undefined;
1256
+ attributes?: Record<string, unknown> | undefined;
1257
+ interaction?: "default" | "locked" | undefined;
1258
+ imageUrl?: string | null | undefined;
1259
+ frame?: "frame-circle" | "frame-square" | null | undefined;
1260
+ hideLabel?: boolean | undefined;
1261
+ } | {
1262
+ type: "Path";
1263
+ coordinates: [number, number][][];
1264
+ groupId?: string | null | undefined;
1265
+ color?: string | undefined;
1266
+ name?: string | null | undefined;
1267
+ description?: string | null | undefined;
1268
+ attributes?: Record<string, unknown> | undefined;
1269
+ interaction?: "default" | "locked" | undefined;
1270
+ imageUrl?: string | null | undefined;
1271
+ strokeOpacity?: number | undefined;
1272
+ strokeWidth?: number | undefined;
1273
+ strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
1274
+ distanceMarker?: boolean | undefined;
1275
+ routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
1276
+ endCaps?: boolean | undefined;
1277
+ } | {
1278
+ type: "Polygon";
1279
+ coordinates?: [number, number][][] | undefined;
1350
1280
  groupId?: string | null | undefined;
1351
1281
  color?: string | undefined;
1352
1282
  name?: string | null | undefined;
@@ -1358,14 +1288,16 @@ declare const UpdateElementMessage: z.ZodObject<{
1358
1288
  strokeWidth?: number | undefined;
1359
1289
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
1360
1290
  fillOpacity?: number | undefined;
1361
- center?: [number, number] | undefined;
1362
- radius?: number | undefined;
1363
- radiusMarker?: boolean | undefined;
1364
- radiusDisplayAngle?: number | undefined;
1365
- radiusDisplayUnit?: "meter" | "kilometer" | "foot" | "mile" | null | undefined;
1366
- }, {
1291
+ areaMarker?: boolean | undefined;
1292
+ isochrone?: {
1293
+ origin: [number, number];
1294
+ mode: "driving" | "cycling" | "walking";
1295
+ minutes: number;
1296
+ } | undefined;
1297
+ } | {
1367
1298
  type: "Circle";
1368
- id: string;
1299
+ center: [number, number];
1300
+ radius: number;
1369
1301
  groupId?: string | null | undefined;
1370
1302
  color?: string | undefined;
1371
1303
  name?: string | null | undefined;
@@ -1377,12 +1309,77 @@ declare const UpdateElementMessage: z.ZodObject<{
1377
1309
  strokeWidth?: number | undefined;
1378
1310
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
1379
1311
  fillOpacity?: number | undefined;
1380
- center?: [number, number] | undefined;
1381
- radius?: number | undefined;
1382
1312
  radiusMarker?: boolean | undefined;
1383
1313
  radiusDisplayAngle?: number | undefined;
1384
1314
  radiusDisplayUnit?: "meter" | "kilometer" | "foot" | "mile" | null | undefined;
1385
- }>, z.ZodObject<z.objectUtil.extendShape<{
1315
+ } | {
1316
+ type: "Marker";
1317
+ coordinates: [number, number][][];
1318
+ groupId?: string | null | undefined;
1319
+ color?: string | undefined;
1320
+ name?: string | null | undefined;
1321
+ description?: string | null | undefined;
1322
+ attributes?: Record<string, unknown> | undefined;
1323
+ interaction?: "default" | "locked" | undefined;
1324
+ opacity?: number | undefined;
1325
+ size?: number | undefined;
1326
+ zoom?: number | undefined;
1327
+ } | {
1328
+ type: "Highlighter";
1329
+ coordinates: [number, number][][][];
1330
+ groupId?: string | null | undefined;
1331
+ color?: string | undefined;
1332
+ name?: string | null | undefined;
1333
+ description?: string | null | undefined;
1334
+ attributes?: Record<string, unknown> | undefined;
1335
+ interaction?: "default" | "locked" | undefined;
1336
+ opacity?: number | undefined;
1337
+ renderHoles?: boolean | undefined;
1338
+ } | {
1339
+ type: "Text";
1340
+ text: string;
1341
+ groupId?: string | null | undefined;
1342
+ color?: string | undefined;
1343
+ description?: string | null | undefined;
1344
+ attributes?: Record<string, unknown> | undefined;
1345
+ interaction?: "default" | "locked" | undefined;
1346
+ zoom?: number | undefined;
1347
+ position?: [number, number] | undefined;
1348
+ rotation?: number | undefined;
1349
+ scale?: number | undefined;
1350
+ align?: "center" | "left" | "right" | undefined;
1351
+ style?: "italic" | "light" | "regular" | "caps" | undefined;
1352
+ } | {
1353
+ type: "Note";
1354
+ text: string;
1355
+ groupId?: string | null | undefined;
1356
+ color?: string | undefined;
1357
+ description?: string | null | undefined;
1358
+ attributes?: Record<string, unknown> | undefined;
1359
+ interaction?: "default" | "locked" | undefined;
1360
+ zoom?: number | undefined;
1361
+ position?: [number, number] | undefined;
1362
+ rotation?: number | undefined;
1363
+ scale?: number | undefined;
1364
+ align?: "center" | "left" | "right" | undefined;
1365
+ style?: "italic" | "light" | "regular" | "caps" | undefined;
1366
+ widthScale?: number | undefined;
1367
+ } | {
1368
+ type: "Image";
1369
+ coordinates: [number, number][][];
1370
+ imageUrl: string;
1371
+ groupId?: string | null | undefined;
1372
+ name?: string | null | undefined;
1373
+ description?: string | null | undefined;
1374
+ attributes?: Record<string, unknown> | undefined;
1375
+ interaction?: "default" | "locked" | undefined;
1376
+ opacity?: number | undefined;
1377
+ };
1378
+ type: "createElement";
1379
+ }>;
1380
+ declare const UpdateElementMessage: z.ZodObject<{
1381
+ type: z.ZodLiteral<"updateElement">;
1382
+ params: z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
1386
1383
  id: z.ZodOptional<z.ZodString>;
1387
1384
  groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1388
1385
  color: z.ZodOptional<z.ZodString>;
@@ -1390,12 +1387,13 @@ declare const UpdateElementMessage: z.ZodObject<{
1390
1387
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1391
1388
  attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1392
1389
  interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
1393
- type: z.ZodOptional<z.ZodLiteral<"Marker">>;
1394
- coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">>;
1395
- opacity: z.ZodOptional<z.ZodNumber>;
1396
- size: z.ZodOptional<z.ZodNumber>;
1397
- zoom: z.ZodOptional<z.ZodNumber>;
1398
- }, Pick<z.objectUtil.extendShape<{
1390
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1391
+ type: z.ZodOptional<z.ZodLiteral<"Place">>;
1392
+ coordinates: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1393
+ symbol: z.ZodOptional<z.ZodString>;
1394
+ frame: z.ZodOptional<z.ZodNullable<z.ZodEnum<["frame-circle", "frame-square"]>>>;
1395
+ hideLabel: z.ZodOptional<z.ZodBoolean>;
1396
+ }, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1399
1397
  id: z.ZodString;
1400
1398
  groupId: z.ZodNullable<z.ZodString>;
1401
1399
  color: z.ZodString;
@@ -1404,26 +1402,718 @@ declare const UpdateElementMessage: z.ZodObject<{
1404
1402
  attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1405
1403
  interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
1406
1404
  }, {
1407
- type: z.ZodLiteral<"Marker">;
1408
- coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
1409
- opacity: z.ZodNumber;
1410
- size: z.ZodNumber;
1411
- zoom: z.ZodNumber;
1405
+ imageUrl: z.ZodNullable<z.ZodString>;
1406
+ }>, {
1407
+ type: z.ZodLiteral<"Place">;
1408
+ coordinates: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1409
+ symbol: z.ZodString;
1410
+ frame: z.ZodNullable<z.ZodEnum<["frame-circle", "frame-square"]>>;
1411
+ hideLabel: z.ZodBoolean;
1412
1412
  }>, "type" | "id">>, "strip", z.ZodTypeAny, {
1413
- type: "Marker";
1413
+ type: "Place";
1414
1414
  id: string;
1415
- coordinates?: [number, number][][] | undefined;
1415
+ symbol?: string | undefined;
1416
+ coordinates?: [number, number] | undefined;
1416
1417
  groupId?: string | null | undefined;
1417
1418
  color?: string | undefined;
1418
1419
  name?: string | null | undefined;
1419
1420
  description?: string | null | undefined;
1420
1421
  attributes?: Record<string, unknown> | undefined;
1421
1422
  interaction?: "default" | "locked" | undefined;
1422
- opacity?: number | undefined;
1423
- size?: number | undefined;
1424
- zoom?: number | undefined;
1423
+ imageUrl?: string | null | undefined;
1424
+ frame?: "frame-circle" | "frame-square" | null | undefined;
1425
+ hideLabel?: boolean | undefined;
1425
1426
  }, {
1426
- type: "Marker";
1427
+ type: "Place";
1428
+ id: string;
1429
+ symbol?: string | undefined;
1430
+ coordinates?: [number, number] | undefined;
1431
+ groupId?: string | null | undefined;
1432
+ color?: string | undefined;
1433
+ name?: string | null | undefined;
1434
+ description?: string | null | undefined;
1435
+ attributes?: Record<string, unknown> | undefined;
1436
+ interaction?: "default" | "locked" | undefined;
1437
+ imageUrl?: string | null | undefined;
1438
+ frame?: "frame-circle" | "frame-square" | null | undefined;
1439
+ hideLabel?: boolean | undefined;
1440
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1441
+ id: z.ZodOptional<z.ZodString>;
1442
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1443
+ color: z.ZodOptional<z.ZodString>;
1444
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1445
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1446
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1447
+ interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
1448
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1449
+ strokeOpacity: z.ZodOptional<z.ZodNumber>;
1450
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
1451
+ strokeStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
1452
+ type: z.ZodOptional<z.ZodLiteral<"Path">>;
1453
+ coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">>;
1454
+ distanceMarker: z.ZodOptional<z.ZodBoolean>;
1455
+ routingMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["driving", "cycling", "walking", "flying"]>>>;
1456
+ endCaps: z.ZodOptional<z.ZodBoolean>;
1457
+ }, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1458
+ id: z.ZodString;
1459
+ groupId: z.ZodNullable<z.ZodString>;
1460
+ color: z.ZodString;
1461
+ name: z.ZodNullable<z.ZodString>;
1462
+ description: z.ZodNullable<z.ZodString>;
1463
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1464
+ interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
1465
+ }, {
1466
+ imageUrl: z.ZodNullable<z.ZodString>;
1467
+ }>, {
1468
+ strokeOpacity: z.ZodNumber;
1469
+ strokeWidth: z.ZodNumber;
1470
+ strokeStyle: z.ZodEnum<["solid", "dashed", "dotted"]>;
1471
+ }>, {
1472
+ type: z.ZodLiteral<"Path">;
1473
+ coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
1474
+ distanceMarker: z.ZodBoolean;
1475
+ routingMode: z.ZodNullable<z.ZodEnum<["driving", "cycling", "walking", "flying"]>>;
1476
+ endCaps: z.ZodBoolean;
1477
+ }>, "type" | "id">>, "strip", z.ZodTypeAny, {
1478
+ type: "Path";
1479
+ id: string;
1480
+ coordinates?: [number, number][][] | undefined;
1481
+ groupId?: string | null | undefined;
1482
+ color?: string | undefined;
1483
+ name?: string | null | undefined;
1484
+ description?: string | null | undefined;
1485
+ attributes?: Record<string, unknown> | undefined;
1486
+ interaction?: "default" | "locked" | undefined;
1487
+ imageUrl?: string | null | undefined;
1488
+ strokeOpacity?: number | undefined;
1489
+ strokeWidth?: number | undefined;
1490
+ strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
1491
+ distanceMarker?: boolean | undefined;
1492
+ routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
1493
+ endCaps?: boolean | undefined;
1494
+ }, {
1495
+ type: "Path";
1496
+ id: string;
1497
+ coordinates?: [number, number][][] | undefined;
1498
+ groupId?: string | null | undefined;
1499
+ color?: string | undefined;
1500
+ name?: string | null | undefined;
1501
+ description?: string | null | undefined;
1502
+ attributes?: Record<string, unknown> | undefined;
1503
+ interaction?: "default" | "locked" | undefined;
1504
+ imageUrl?: string | null | undefined;
1505
+ strokeOpacity?: number | undefined;
1506
+ strokeWidth?: number | undefined;
1507
+ strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
1508
+ distanceMarker?: boolean | undefined;
1509
+ routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
1510
+ endCaps?: boolean | undefined;
1511
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1512
+ id: z.ZodOptional<z.ZodString>;
1513
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1514
+ color: z.ZodOptional<z.ZodString>;
1515
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1516
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1517
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1518
+ interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
1519
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1520
+ strokeOpacity: z.ZodOptional<z.ZodNumber>;
1521
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
1522
+ strokeStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
1523
+ type: z.ZodOptional<z.ZodLiteral<"Polygon">>;
1524
+ coordinates: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">>;
1525
+ fillOpacity: z.ZodOptional<z.ZodNumber>;
1526
+ areaMarker: z.ZodOptional<z.ZodBoolean>;
1527
+ }, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1528
+ id: z.ZodString;
1529
+ groupId: z.ZodNullable<z.ZodString>;
1530
+ color: z.ZodString;
1531
+ name: z.ZodNullable<z.ZodString>;
1532
+ description: z.ZodNullable<z.ZodString>;
1533
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1534
+ interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
1535
+ }, {
1536
+ imageUrl: z.ZodNullable<z.ZodString>;
1537
+ }>, {
1538
+ strokeOpacity: z.ZodNumber;
1539
+ strokeWidth: z.ZodNumber;
1540
+ strokeStyle: z.ZodEnum<["solid", "dashed", "dotted"]>;
1541
+ }>, {
1542
+ type: z.ZodLiteral<"Polygon">;
1543
+ coordinates: z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">;
1544
+ fillOpacity: z.ZodNumber;
1545
+ areaMarker: z.ZodBoolean;
1546
+ }>, "type" | "id">>, {
1547
+ isochrone: z.ZodOptional<z.ZodObject<{
1548
+ origin: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1549
+ mode: z.ZodEnum<["driving", "cycling", "walking"]>;
1550
+ minutes: z.ZodNumber;
1551
+ }, "strip", z.ZodTypeAny, {
1552
+ origin: [number, number];
1553
+ mode: "driving" | "cycling" | "walking";
1554
+ minutes: number;
1555
+ }, {
1556
+ origin: [number, number];
1557
+ mode: "driving" | "cycling" | "walking";
1558
+ minutes: number;
1559
+ }>>;
1560
+ }>, "strip", z.ZodTypeAny, {
1561
+ type: "Polygon";
1562
+ id: string;
1563
+ coordinates?: [number, number][][] | undefined;
1564
+ groupId?: string | null | undefined;
1565
+ color?: string | undefined;
1566
+ name?: string | null | undefined;
1567
+ description?: string | null | undefined;
1568
+ attributes?: Record<string, unknown> | undefined;
1569
+ interaction?: "default" | "locked" | undefined;
1570
+ imageUrl?: string | null | undefined;
1571
+ strokeOpacity?: number | undefined;
1572
+ strokeWidth?: number | undefined;
1573
+ strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
1574
+ fillOpacity?: number | undefined;
1575
+ areaMarker?: boolean | undefined;
1576
+ isochrone?: {
1577
+ origin: [number, number];
1578
+ mode: "driving" | "cycling" | "walking";
1579
+ minutes: number;
1580
+ } | undefined;
1581
+ }, {
1582
+ type: "Polygon";
1583
+ id: string;
1584
+ coordinates?: [number, number][][] | undefined;
1585
+ groupId?: string | null | undefined;
1586
+ color?: string | undefined;
1587
+ name?: string | null | undefined;
1588
+ description?: string | null | undefined;
1589
+ attributes?: Record<string, unknown> | undefined;
1590
+ interaction?: "default" | "locked" | undefined;
1591
+ imageUrl?: string | null | undefined;
1592
+ strokeOpacity?: number | undefined;
1593
+ strokeWidth?: number | undefined;
1594
+ strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
1595
+ fillOpacity?: number | undefined;
1596
+ areaMarker?: boolean | undefined;
1597
+ isochrone?: {
1598
+ origin: [number, number];
1599
+ mode: "driving" | "cycling" | "walking";
1600
+ minutes: number;
1601
+ } | undefined;
1602
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1603
+ id: z.ZodOptional<z.ZodString>;
1604
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1605
+ color: z.ZodOptional<z.ZodString>;
1606
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1607
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1608
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1609
+ interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
1610
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1611
+ strokeOpacity: z.ZodOptional<z.ZodNumber>;
1612
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
1613
+ strokeStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
1614
+ type: z.ZodOptional<z.ZodLiteral<"Circle">>;
1615
+ center: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1616
+ radius: z.ZodOptional<z.ZodNumber>;
1617
+ radiusMarker: z.ZodOptional<z.ZodBoolean>;
1618
+ radiusDisplayAngle: z.ZodOptional<z.ZodNumber>;
1619
+ radiusDisplayUnit: z.ZodOptional<z.ZodNullable<z.ZodEnum<["meter", "kilometer", "foot", "mile"]>>>;
1620
+ fillOpacity: z.ZodOptional<z.ZodNumber>;
1621
+ }, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1622
+ id: z.ZodString;
1623
+ groupId: z.ZodNullable<z.ZodString>;
1624
+ color: z.ZodString;
1625
+ name: z.ZodNullable<z.ZodString>;
1626
+ description: z.ZodNullable<z.ZodString>;
1627
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1628
+ interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
1629
+ }, {
1630
+ imageUrl: z.ZodNullable<z.ZodString>;
1631
+ }>, {
1632
+ strokeOpacity: z.ZodNumber;
1633
+ strokeWidth: z.ZodNumber;
1634
+ strokeStyle: z.ZodEnum<["solid", "dashed", "dotted"]>;
1635
+ }>, {
1636
+ type: z.ZodLiteral<"Circle">;
1637
+ center: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1638
+ radius: z.ZodNumber;
1639
+ radiusMarker: z.ZodBoolean;
1640
+ radiusDisplayAngle: z.ZodNumber;
1641
+ radiusDisplayUnit: z.ZodNullable<z.ZodEnum<["meter", "kilometer", "foot", "mile"]>>;
1642
+ fillOpacity: z.ZodNumber;
1643
+ }>, "type" | "id">>, "strip", z.ZodTypeAny, {
1644
+ type: "Circle";
1645
+ id: string;
1646
+ groupId?: string | null | undefined;
1647
+ color?: string | undefined;
1648
+ name?: string | null | undefined;
1649
+ description?: string | null | undefined;
1650
+ attributes?: Record<string, unknown> | undefined;
1651
+ interaction?: "default" | "locked" | undefined;
1652
+ imageUrl?: string | null | undefined;
1653
+ strokeOpacity?: number | undefined;
1654
+ strokeWidth?: number | undefined;
1655
+ strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
1656
+ fillOpacity?: number | undefined;
1657
+ center?: [number, number] | undefined;
1658
+ radius?: number | undefined;
1659
+ radiusMarker?: boolean | undefined;
1660
+ radiusDisplayAngle?: number | undefined;
1661
+ radiusDisplayUnit?: "meter" | "kilometer" | "foot" | "mile" | null | undefined;
1662
+ }, {
1663
+ type: "Circle";
1664
+ id: string;
1665
+ groupId?: string | null | undefined;
1666
+ color?: string | undefined;
1667
+ name?: string | null | undefined;
1668
+ description?: string | null | undefined;
1669
+ attributes?: Record<string, unknown> | undefined;
1670
+ interaction?: "default" | "locked" | undefined;
1671
+ imageUrl?: string | null | undefined;
1672
+ strokeOpacity?: number | undefined;
1673
+ strokeWidth?: number | undefined;
1674
+ strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
1675
+ fillOpacity?: number | undefined;
1676
+ center?: [number, number] | undefined;
1677
+ radius?: number | undefined;
1678
+ radiusMarker?: boolean | undefined;
1679
+ radiusDisplayAngle?: number | undefined;
1680
+ radiusDisplayUnit?: "meter" | "kilometer" | "foot" | "mile" | null | undefined;
1681
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1682
+ id: z.ZodOptional<z.ZodString>;
1683
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1684
+ color: z.ZodOptional<z.ZodString>;
1685
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1686
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1687
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1688
+ interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
1689
+ type: z.ZodOptional<z.ZodLiteral<"Marker">>;
1690
+ coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">>;
1691
+ opacity: z.ZodOptional<z.ZodNumber>;
1692
+ size: z.ZodOptional<z.ZodNumber>;
1693
+ zoom: z.ZodOptional<z.ZodNumber>;
1694
+ }, Pick<z.objectUtil.extendShape<{
1695
+ id: z.ZodString;
1696
+ groupId: z.ZodNullable<z.ZodString>;
1697
+ color: z.ZodString;
1698
+ name: z.ZodNullable<z.ZodString>;
1699
+ description: z.ZodNullable<z.ZodString>;
1700
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1701
+ interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
1702
+ }, {
1703
+ type: z.ZodLiteral<"Marker">;
1704
+ coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
1705
+ opacity: z.ZodNumber;
1706
+ size: z.ZodNumber;
1707
+ zoom: z.ZodNumber;
1708
+ }>, "type" | "id">>, "strip", z.ZodTypeAny, {
1709
+ type: "Marker";
1710
+ id: string;
1711
+ coordinates?: [number, number][][] | undefined;
1712
+ groupId?: string | null | undefined;
1713
+ color?: string | undefined;
1714
+ name?: string | null | undefined;
1715
+ description?: string | null | undefined;
1716
+ attributes?: Record<string, unknown> | undefined;
1717
+ interaction?: "default" | "locked" | undefined;
1718
+ opacity?: number | undefined;
1719
+ size?: number | undefined;
1720
+ zoom?: number | undefined;
1721
+ }, {
1722
+ type: "Marker";
1723
+ id: string;
1724
+ coordinates?: [number, number][][] | undefined;
1725
+ groupId?: string | null | undefined;
1726
+ color?: string | undefined;
1727
+ name?: string | null | undefined;
1728
+ description?: string | null | undefined;
1729
+ attributes?: Record<string, unknown> | undefined;
1730
+ interaction?: "default" | "locked" | undefined;
1731
+ opacity?: number | undefined;
1732
+ size?: number | undefined;
1733
+ zoom?: number | undefined;
1734
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1735
+ id: z.ZodOptional<z.ZodString>;
1736
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1737
+ color: z.ZodOptional<z.ZodString>;
1738
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1739
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1740
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1741
+ interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
1742
+ type: z.ZodOptional<z.ZodLiteral<"Highlighter">>;
1743
+ coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">>;
1744
+ renderHoles: z.ZodOptional<z.ZodBoolean>;
1745
+ opacity: z.ZodOptional<z.ZodNumber>;
1746
+ }, Pick<z.objectUtil.extendShape<{
1747
+ id: z.ZodString;
1748
+ groupId: z.ZodNullable<z.ZodString>;
1749
+ color: z.ZodString;
1750
+ name: z.ZodNullable<z.ZodString>;
1751
+ description: z.ZodNullable<z.ZodString>;
1752
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1753
+ interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
1754
+ }, {
1755
+ type: z.ZodLiteral<"Highlighter">;
1756
+ coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
1757
+ renderHoles: z.ZodBoolean;
1758
+ opacity: z.ZodNumber;
1759
+ }>, "type" | "id">>, "strip", z.ZodTypeAny, {
1760
+ type: "Highlighter";
1761
+ id: string;
1762
+ coordinates?: [number, number][][][] | undefined;
1763
+ groupId?: string | null | undefined;
1764
+ color?: string | undefined;
1765
+ name?: string | null | undefined;
1766
+ description?: string | null | undefined;
1767
+ attributes?: Record<string, unknown> | undefined;
1768
+ interaction?: "default" | "locked" | undefined;
1769
+ opacity?: number | undefined;
1770
+ renderHoles?: boolean | undefined;
1771
+ }, {
1772
+ type: "Highlighter";
1773
+ id: string;
1774
+ coordinates?: [number, number][][][] | undefined;
1775
+ groupId?: string | null | undefined;
1776
+ color?: string | undefined;
1777
+ name?: string | null | undefined;
1778
+ description?: string | null | undefined;
1779
+ attributes?: Record<string, unknown> | undefined;
1780
+ interaction?: "default" | "locked" | undefined;
1781
+ opacity?: number | undefined;
1782
+ renderHoles?: boolean | undefined;
1783
+ }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1784
+ id: z.ZodOptional<z.ZodString>;
1785
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1786
+ color: z.ZodOptional<z.ZodString>;
1787
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1788
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1789
+ interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
1790
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1791
+ rotation: z.ZodOptional<z.ZodNumber>;
1792
+ scale: z.ZodOptional<z.ZodNumber>;
1793
+ zoom: z.ZodOptional<z.ZodNumber>;
1794
+ text: z.ZodOptional<z.ZodString>;
1795
+ align: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
1796
+ style: z.ZodOptional<z.ZodEnum<["italic", "light", "regular", "caps"]>>;
1797
+ name: z.ZodOptional<z.ZodString>;
1798
+ type: z.ZodOptional<z.ZodLiteral<"Text">>;
1799
+ }, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1800
+ id: z.ZodString;
1801
+ groupId: z.ZodNullable<z.ZodString>;
1802
+ color: z.ZodString;
1803
+ name: z.ZodNullable<z.ZodString>;
1804
+ description: z.ZodNullable<z.ZodString>;
1805
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1806
+ interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
1807
+ }, {
1808
+ position: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1809
+ rotation: z.ZodNumber;
1810
+ scale: z.ZodNumber;
1811
+ zoom: z.ZodNumber;
1812
+ text: z.ZodString;
1813
+ align: z.ZodEnum<["left", "center", "right"]>;
1814
+ style: z.ZodEnum<["italic", "light", "regular", "caps"]>;
1815
+ name: z.ZodString;
1816
+ }>, {
1817
+ type: z.ZodLiteral<"Text">;
1818
+ }>, "type" | "id">>, "name">, "strip", z.ZodTypeAny, {
1819
+ type: "Text";
1820
+ id: string;
1821
+ groupId?: string | null | undefined;
1822
+ color?: string | undefined;
1823
+ description?: string | null | undefined;
1824
+ attributes?: Record<string, unknown> | undefined;
1825
+ interaction?: "default" | "locked" | undefined;
1826
+ zoom?: number | undefined;
1827
+ position?: [number, number] | undefined;
1828
+ rotation?: number | undefined;
1829
+ scale?: number | undefined;
1830
+ text?: string | undefined;
1831
+ align?: "center" | "left" | "right" | undefined;
1832
+ style?: "italic" | "light" | "regular" | "caps" | undefined;
1833
+ }, {
1834
+ type: "Text";
1835
+ id: string;
1836
+ groupId?: string | null | undefined;
1837
+ color?: string | undefined;
1838
+ description?: string | null | undefined;
1839
+ attributes?: Record<string, unknown> | undefined;
1840
+ interaction?: "default" | "locked" | undefined;
1841
+ zoom?: number | undefined;
1842
+ position?: [number, number] | undefined;
1843
+ rotation?: number | undefined;
1844
+ scale?: number | undefined;
1845
+ text?: string | undefined;
1846
+ align?: "center" | "left" | "right" | undefined;
1847
+ style?: "italic" | "light" | "regular" | "caps" | undefined;
1848
+ }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1849
+ id: z.ZodOptional<z.ZodString>;
1850
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1851
+ color: z.ZodOptional<z.ZodString>;
1852
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1853
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1854
+ interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
1855
+ position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1856
+ rotation: z.ZodOptional<z.ZodNumber>;
1857
+ scale: z.ZodOptional<z.ZodNumber>;
1858
+ zoom: z.ZodOptional<z.ZodNumber>;
1859
+ text: z.ZodOptional<z.ZodString>;
1860
+ align: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
1861
+ style: z.ZodOptional<z.ZodEnum<["italic", "light", "regular", "caps"]>>;
1862
+ name: z.ZodOptional<z.ZodString>;
1863
+ type: z.ZodOptional<z.ZodLiteral<"Note">>;
1864
+ widthScale: z.ZodOptional<z.ZodNumber>;
1865
+ }, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1866
+ id: z.ZodString;
1867
+ groupId: z.ZodNullable<z.ZodString>;
1868
+ color: z.ZodString;
1869
+ name: z.ZodNullable<z.ZodString>;
1870
+ description: z.ZodNullable<z.ZodString>;
1871
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1872
+ interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
1873
+ }, {
1874
+ position: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1875
+ rotation: z.ZodNumber;
1876
+ scale: z.ZodNumber;
1877
+ zoom: z.ZodNumber;
1878
+ text: z.ZodString;
1879
+ align: z.ZodEnum<["left", "center", "right"]>;
1880
+ style: z.ZodEnum<["italic", "light", "regular", "caps"]>;
1881
+ name: z.ZodString;
1882
+ }>, {
1883
+ type: z.ZodLiteral<"Note">;
1884
+ widthScale: z.ZodNumber;
1885
+ }>, "type" | "id">>, "name">, "strip", z.ZodTypeAny, {
1886
+ type: "Note";
1887
+ id: string;
1888
+ groupId?: string | null | undefined;
1889
+ color?: string | undefined;
1890
+ description?: string | null | undefined;
1891
+ attributes?: Record<string, unknown> | undefined;
1892
+ interaction?: "default" | "locked" | undefined;
1893
+ zoom?: number | undefined;
1894
+ position?: [number, number] | undefined;
1895
+ rotation?: number | undefined;
1896
+ scale?: number | undefined;
1897
+ text?: string | undefined;
1898
+ align?: "center" | "left" | "right" | undefined;
1899
+ style?: "italic" | "light" | "regular" | "caps" | undefined;
1900
+ widthScale?: number | undefined;
1901
+ }, {
1902
+ type: "Note";
1903
+ id: string;
1904
+ groupId?: string | null | undefined;
1905
+ color?: string | undefined;
1906
+ description?: string | null | undefined;
1907
+ attributes?: Record<string, unknown> | undefined;
1908
+ interaction?: "default" | "locked" | undefined;
1909
+ zoom?: number | undefined;
1910
+ position?: [number, number] | undefined;
1911
+ rotation?: number | undefined;
1912
+ scale?: number | undefined;
1913
+ text?: string | undefined;
1914
+ align?: "center" | "left" | "right" | undefined;
1915
+ style?: "italic" | "light" | "regular" | "caps" | undefined;
1916
+ widthScale?: number | undefined;
1917
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1918
+ type: z.ZodOptional<z.ZodLiteral<"Image">>;
1919
+ coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">>;
1920
+ id: z.ZodOptional<z.ZodString>;
1921
+ groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1922
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1923
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1924
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1925
+ interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
1926
+ imageUrl: z.ZodOptional<z.ZodString>;
1927
+ opacity: z.ZodOptional<z.ZodNumber>;
1928
+ }, Pick<Omit<z.objectUtil.extendShape<{
1929
+ id: z.ZodString;
1930
+ groupId: z.ZodNullable<z.ZodString>;
1931
+ color: z.ZodString;
1932
+ name: z.ZodNullable<z.ZodString>;
1933
+ description: z.ZodNullable<z.ZodString>;
1934
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1935
+ interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
1936
+ }, {
1937
+ type: z.ZodLiteral<"Image">;
1938
+ coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
1939
+ imageUrl: z.ZodString;
1940
+ opacity: z.ZodNumber;
1941
+ }>, "color">, "type" | "id">>, "strip", z.ZodTypeAny, {
1942
+ type: "Image";
1943
+ id: string;
1944
+ coordinates?: [number, number][][] | undefined;
1945
+ groupId?: string | null | undefined;
1946
+ name?: string | null | undefined;
1947
+ description?: string | null | undefined;
1948
+ attributes?: Record<string, unknown> | undefined;
1949
+ interaction?: "default" | "locked" | undefined;
1950
+ imageUrl?: string | undefined;
1951
+ opacity?: number | undefined;
1952
+ }, {
1953
+ type: "Image";
1954
+ id: string;
1955
+ coordinates?: [number, number][][] | undefined;
1956
+ groupId?: string | null | undefined;
1957
+ name?: string | null | undefined;
1958
+ description?: string | null | undefined;
1959
+ attributes?: Record<string, unknown> | undefined;
1960
+ interaction?: "default" | "locked" | undefined;
1961
+ imageUrl?: string | undefined;
1962
+ opacity?: number | undefined;
1963
+ }>]>, {
1964
+ type: "Place";
1965
+ id: string;
1966
+ symbol?: string | undefined;
1967
+ coordinates?: [number, number] | undefined;
1968
+ groupId?: string | null | undefined;
1969
+ color?: string | undefined;
1970
+ name?: string | null | undefined;
1971
+ description?: string | null | undefined;
1972
+ attributes?: Record<string, unknown> | undefined;
1973
+ interaction?: "default" | "locked" | undefined;
1974
+ imageUrl?: string | null | undefined;
1975
+ frame?: "frame-circle" | "frame-square" | null | undefined;
1976
+ hideLabel?: boolean | undefined;
1977
+ } | {
1978
+ type: "Path";
1979
+ id: string;
1980
+ coordinates?: [number, number][][] | undefined;
1981
+ groupId?: string | null | undefined;
1982
+ color?: string | undefined;
1983
+ name?: string | null | undefined;
1984
+ description?: string | null | undefined;
1985
+ attributes?: Record<string, unknown> | undefined;
1986
+ interaction?: "default" | "locked" | undefined;
1987
+ imageUrl?: string | null | undefined;
1988
+ strokeOpacity?: number | undefined;
1989
+ strokeWidth?: number | undefined;
1990
+ strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
1991
+ distanceMarker?: boolean | undefined;
1992
+ routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
1993
+ endCaps?: boolean | undefined;
1994
+ } | {
1995
+ type: "Polygon";
1996
+ id: string;
1997
+ coordinates?: [number, number][][] | undefined;
1998
+ groupId?: string | null | undefined;
1999
+ color?: string | undefined;
2000
+ name?: string | null | undefined;
2001
+ description?: string | null | undefined;
2002
+ attributes?: Record<string, unknown> | undefined;
2003
+ interaction?: "default" | "locked" | undefined;
2004
+ imageUrl?: string | null | undefined;
2005
+ strokeOpacity?: number | undefined;
2006
+ strokeWidth?: number | undefined;
2007
+ strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
2008
+ fillOpacity?: number | undefined;
2009
+ areaMarker?: boolean | undefined;
2010
+ isochrone?: {
2011
+ origin: [number, number];
2012
+ mode: "driving" | "cycling" | "walking";
2013
+ minutes: number;
2014
+ } | undefined;
2015
+ } | {
2016
+ type: "Circle";
2017
+ id: string;
2018
+ groupId?: string | null | undefined;
2019
+ color?: string | undefined;
2020
+ name?: string | null | undefined;
2021
+ description?: string | null | undefined;
2022
+ attributes?: Record<string, unknown> | undefined;
2023
+ interaction?: "default" | "locked" | undefined;
2024
+ imageUrl?: string | null | undefined;
2025
+ strokeOpacity?: number | undefined;
2026
+ strokeWidth?: number | undefined;
2027
+ strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
2028
+ fillOpacity?: number | undefined;
2029
+ center?: [number, number] | undefined;
2030
+ radius?: number | undefined;
2031
+ radiusMarker?: boolean | undefined;
2032
+ radiusDisplayAngle?: number | undefined;
2033
+ radiusDisplayUnit?: "meter" | "kilometer" | "foot" | "mile" | null | undefined;
2034
+ } | {
2035
+ type: "Marker";
2036
+ id: string;
2037
+ coordinates?: [number, number][][] | undefined;
2038
+ groupId?: string | null | undefined;
2039
+ color?: string | undefined;
2040
+ name?: string | null | undefined;
2041
+ description?: string | null | undefined;
2042
+ attributes?: Record<string, unknown> | undefined;
2043
+ interaction?: "default" | "locked" | undefined;
2044
+ opacity?: number | undefined;
2045
+ size?: number | undefined;
2046
+ zoom?: number | undefined;
2047
+ } | {
2048
+ type: "Highlighter";
2049
+ id: string;
2050
+ coordinates?: [number, number][][][] | undefined;
2051
+ groupId?: string | null | undefined;
2052
+ color?: string | undefined;
2053
+ name?: string | null | undefined;
2054
+ description?: string | null | undefined;
2055
+ attributes?: Record<string, unknown> | undefined;
2056
+ interaction?: "default" | "locked" | undefined;
2057
+ opacity?: number | undefined;
2058
+ renderHoles?: boolean | undefined;
2059
+ } | {
2060
+ type: "Text";
2061
+ id: string;
2062
+ groupId?: string | null | undefined;
2063
+ color?: string | undefined;
2064
+ description?: string | null | undefined;
2065
+ attributes?: Record<string, unknown> | undefined;
2066
+ interaction?: "default" | "locked" | undefined;
2067
+ zoom?: number | undefined;
2068
+ position?: [number, number] | undefined;
2069
+ rotation?: number | undefined;
2070
+ scale?: number | undefined;
2071
+ text?: string | undefined;
2072
+ align?: "center" | "left" | "right" | undefined;
2073
+ style?: "italic" | "light" | "regular" | "caps" | undefined;
2074
+ } | {
2075
+ type: "Note";
2076
+ id: string;
2077
+ groupId?: string | null | undefined;
2078
+ color?: string | undefined;
2079
+ description?: string | null | undefined;
2080
+ attributes?: Record<string, unknown> | undefined;
2081
+ interaction?: "default" | "locked" | undefined;
2082
+ zoom?: number | undefined;
2083
+ position?: [number, number] | undefined;
2084
+ rotation?: number | undefined;
2085
+ scale?: number | undefined;
2086
+ text?: string | undefined;
2087
+ align?: "center" | "left" | "right" | undefined;
2088
+ style?: "italic" | "light" | "regular" | "caps" | undefined;
2089
+ widthScale?: number | undefined;
2090
+ } | {
2091
+ type: "Image";
2092
+ id: string;
2093
+ coordinates?: [number, number][][] | undefined;
2094
+ groupId?: string | null | undefined;
2095
+ name?: string | null | undefined;
2096
+ description?: string | null | undefined;
2097
+ attributes?: Record<string, unknown> | undefined;
2098
+ interaction?: "default" | "locked" | undefined;
2099
+ imageUrl?: string | undefined;
2100
+ opacity?: number | undefined;
2101
+ }, {
2102
+ type: "Place";
2103
+ id: string;
2104
+ symbol?: string | undefined;
2105
+ coordinates?: [number, number] | undefined;
2106
+ groupId?: string | null | undefined;
2107
+ color?: string | undefined;
2108
+ name?: string | null | undefined;
2109
+ description?: string | null | undefined;
2110
+ attributes?: Record<string, unknown> | undefined;
2111
+ interaction?: "default" | "locked" | undefined;
2112
+ imageUrl?: string | null | undefined;
2113
+ frame?: "frame-circle" | "frame-square" | null | undefined;
2114
+ hideLabel?: boolean | undefined;
2115
+ } | {
2116
+ type: "Path";
1427
2117
  id: string;
1428
2118
  coordinates?: [number, number][][] | undefined;
1429
2119
  groupId?: string | null | undefined;
@@ -1432,162 +2122,80 @@ declare const UpdateElementMessage: z.ZodObject<{
1432
2122
  description?: string | null | undefined;
1433
2123
  attributes?: Record<string, unknown> | undefined;
1434
2124
  interaction?: "default" | "locked" | undefined;
1435
- opacity?: number | undefined;
1436
- size?: number | undefined;
1437
- zoom?: number | undefined;
1438
- }>, z.ZodObject<z.objectUtil.extendShape<{
1439
- id: z.ZodOptional<z.ZodString>;
1440
- groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1441
- color: z.ZodOptional<z.ZodString>;
1442
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1443
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1444
- attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1445
- interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
1446
- type: z.ZodOptional<z.ZodLiteral<"Highlighter">>;
1447
- coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">>;
1448
- renderHoles: z.ZodOptional<z.ZodBoolean>;
1449
- opacity: z.ZodOptional<z.ZodNumber>;
1450
- }, Pick<z.objectUtil.extendShape<{
1451
- id: z.ZodString;
1452
- groupId: z.ZodNullable<z.ZodString>;
1453
- color: z.ZodString;
1454
- name: z.ZodNullable<z.ZodString>;
1455
- description: z.ZodNullable<z.ZodString>;
1456
- attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1457
- interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
1458
- }, {
1459
- type: z.ZodLiteral<"Highlighter">;
1460
- coordinates: z.ZodArray<z.ZodArray<z.ZodEffects<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, [number, number][], [number, number][]>, "many">, "many">;
1461
- renderHoles: z.ZodBoolean;
1462
- opacity: z.ZodNumber;
1463
- }>, "type" | "id">>, "strip", z.ZodTypeAny, {
1464
- type: "Highlighter";
2125
+ imageUrl?: string | null | undefined;
2126
+ strokeOpacity?: number | undefined;
2127
+ strokeWidth?: number | undefined;
2128
+ strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
2129
+ distanceMarker?: boolean | undefined;
2130
+ routingMode?: "driving" | "cycling" | "walking" | "flying" | null | undefined;
2131
+ endCaps?: boolean | undefined;
2132
+ } | {
2133
+ type: "Polygon";
1465
2134
  id: string;
1466
- coordinates?: [number, number][][][] | undefined;
2135
+ coordinates?: [number, number][][] | undefined;
1467
2136
  groupId?: string | null | undefined;
1468
2137
  color?: string | undefined;
1469
2138
  name?: string | null | undefined;
1470
2139
  description?: string | null | undefined;
1471
2140
  attributes?: Record<string, unknown> | undefined;
1472
2141
  interaction?: "default" | "locked" | undefined;
1473
- opacity?: number | undefined;
1474
- renderHoles?: boolean | undefined;
1475
- }, {
1476
- type: "Highlighter";
2142
+ imageUrl?: string | null | undefined;
2143
+ strokeOpacity?: number | undefined;
2144
+ strokeWidth?: number | undefined;
2145
+ strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
2146
+ fillOpacity?: number | undefined;
2147
+ areaMarker?: boolean | undefined;
2148
+ isochrone?: {
2149
+ origin: [number, number];
2150
+ mode: "driving" | "cycling" | "walking";
2151
+ minutes: number;
2152
+ } | undefined;
2153
+ } | {
2154
+ type: "Circle";
1477
2155
  id: string;
1478
- coordinates?: [number, number][][][] | undefined;
1479
2156
  groupId?: string | null | undefined;
1480
2157
  color?: string | undefined;
1481
2158
  name?: string | null | undefined;
1482
2159
  description?: string | null | undefined;
1483
2160
  attributes?: Record<string, unknown> | undefined;
1484
2161
  interaction?: "default" | "locked" | undefined;
1485
- opacity?: number | undefined;
1486
- renderHoles?: boolean | undefined;
1487
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1488
- id: z.ZodOptional<z.ZodString>;
1489
- groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1490
- color: z.ZodOptional<z.ZodString>;
1491
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1492
- attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1493
- interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
1494
- position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1495
- rotation: z.ZodOptional<z.ZodNumber>;
1496
- scale: z.ZodOptional<z.ZodNumber>;
1497
- zoom: z.ZodOptional<z.ZodNumber>;
1498
- text: z.ZodOptional<z.ZodString>;
1499
- align: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
1500
- style: z.ZodOptional<z.ZodEnum<["italic", "light", "regular", "caps"]>>;
1501
- name: z.ZodOptional<z.ZodString>;
1502
- type: z.ZodOptional<z.ZodLiteral<"Text">>;
1503
- }, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1504
- id: z.ZodString;
1505
- groupId: z.ZodNullable<z.ZodString>;
1506
- color: z.ZodString;
1507
- name: z.ZodNullable<z.ZodString>;
1508
- description: z.ZodNullable<z.ZodString>;
1509
- attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1510
- interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
1511
- }, {
1512
- position: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1513
- rotation: z.ZodNumber;
1514
- scale: z.ZodNumber;
1515
- zoom: z.ZodNumber;
1516
- text: z.ZodString;
1517
- align: z.ZodEnum<["left", "center", "right"]>;
1518
- style: z.ZodEnum<["italic", "light", "regular", "caps"]>;
1519
- name: z.ZodString;
1520
- }>, {
1521
- type: z.ZodLiteral<"Text">;
1522
- }>, "type" | "id">>, "name">, "strip", z.ZodTypeAny, {
1523
- type: "Text";
2162
+ imageUrl?: string | null | undefined;
2163
+ strokeOpacity?: number | undefined;
2164
+ strokeWidth?: number | undefined;
2165
+ strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
2166
+ fillOpacity?: number | undefined;
2167
+ center?: [number, number] | undefined;
2168
+ radius?: number | undefined;
2169
+ radiusMarker?: boolean | undefined;
2170
+ radiusDisplayAngle?: number | undefined;
2171
+ radiusDisplayUnit?: "meter" | "kilometer" | "foot" | "mile" | null | undefined;
2172
+ } | {
2173
+ type: "Marker";
1524
2174
  id: string;
2175
+ coordinates?: [number, number][][] | undefined;
1525
2176
  groupId?: string | null | undefined;
1526
2177
  color?: string | undefined;
2178
+ name?: string | null | undefined;
1527
2179
  description?: string | null | undefined;
1528
2180
  attributes?: Record<string, unknown> | undefined;
1529
2181
  interaction?: "default" | "locked" | undefined;
2182
+ opacity?: number | undefined;
2183
+ size?: number | undefined;
1530
2184
  zoom?: number | undefined;
1531
- position?: [number, number] | undefined;
1532
- rotation?: number | undefined;
1533
- scale?: number | undefined;
1534
- text?: string | undefined;
1535
- align?: "center" | "left" | "right" | undefined;
1536
- style?: "italic" | "light" | "regular" | "caps" | undefined;
1537
- }, {
1538
- type: "Text";
2185
+ } | {
2186
+ type: "Highlighter";
1539
2187
  id: string;
2188
+ coordinates?: [number, number][][][] | undefined;
1540
2189
  groupId?: string | null | undefined;
1541
2190
  color?: string | undefined;
2191
+ name?: string | null | undefined;
1542
2192
  description?: string | null | undefined;
1543
2193
  attributes?: Record<string, unknown> | undefined;
1544
2194
  interaction?: "default" | "locked" | undefined;
1545
- zoom?: number | undefined;
1546
- position?: [number, number] | undefined;
1547
- rotation?: number | undefined;
1548
- scale?: number | undefined;
1549
- text?: string | undefined;
1550
- align?: "center" | "left" | "right" | undefined;
1551
- style?: "italic" | "light" | "regular" | "caps" | undefined;
1552
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1553
- id: z.ZodOptional<z.ZodString>;
1554
- groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1555
- color: z.ZodOptional<z.ZodString>;
1556
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1557
- attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1558
- interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
1559
- position: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1560
- rotation: z.ZodOptional<z.ZodNumber>;
1561
- scale: z.ZodOptional<z.ZodNumber>;
1562
- zoom: z.ZodOptional<z.ZodNumber>;
1563
- text: z.ZodOptional<z.ZodString>;
1564
- align: z.ZodOptional<z.ZodEnum<["left", "center", "right"]>>;
1565
- style: z.ZodOptional<z.ZodEnum<["italic", "light", "regular", "caps"]>>;
1566
- name: z.ZodOptional<z.ZodString>;
1567
- type: z.ZodOptional<z.ZodLiteral<"Note">>;
1568
- widthScale: z.ZodOptional<z.ZodNumber>;
1569
- }, Pick<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1570
- id: z.ZodString;
1571
- groupId: z.ZodNullable<z.ZodString>;
1572
- color: z.ZodString;
1573
- name: z.ZodNullable<z.ZodString>;
1574
- description: z.ZodNullable<z.ZodString>;
1575
- attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1576
- interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
1577
- }, {
1578
- position: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
1579
- rotation: z.ZodNumber;
1580
- scale: z.ZodNumber;
1581
- zoom: z.ZodNumber;
1582
- text: z.ZodString;
1583
- align: z.ZodEnum<["left", "center", "right"]>;
1584
- style: z.ZodEnum<["italic", "light", "regular", "caps"]>;
1585
- name: z.ZodString;
1586
- }>, {
1587
- type: z.ZodLiteral<"Note">;
1588
- widthScale: z.ZodNumber;
1589
- }>, "type" | "id">>, "name">, "strip", z.ZodTypeAny, {
1590
- type: "Note";
2195
+ opacity?: number | undefined;
2196
+ renderHoles?: boolean | undefined;
2197
+ } | {
2198
+ type: "Text";
1591
2199
  id: string;
1592
2200
  groupId?: string | null | undefined;
1593
2201
  color?: string | undefined;
@@ -1601,8 +2209,7 @@ declare const UpdateElementMessage: z.ZodObject<{
1601
2209
  text?: string | undefined;
1602
2210
  align?: "center" | "left" | "right" | undefined;
1603
2211
  style?: "italic" | "light" | "regular" | "caps" | undefined;
1604
- widthScale?: number | undefined;
1605
- }, {
2212
+ } | {
1606
2213
  type: "Note";
1607
2214
  id: string;
1608
2215
  groupId?: string | null | undefined;
@@ -1618,42 +2225,7 @@ declare const UpdateElementMessage: z.ZodObject<{
1618
2225
  align?: "center" | "left" | "right" | undefined;
1619
2226
  style?: "italic" | "light" | "regular" | "caps" | undefined;
1620
2227
  widthScale?: number | undefined;
1621
- }>, z.ZodObject<z.objectUtil.extendShape<{
1622
- type: z.ZodOptional<z.ZodLiteral<"Image">>;
1623
- coordinates: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">>;
1624
- id: z.ZodOptional<z.ZodString>;
1625
- groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1626
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1627
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1628
- attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1629
- interaction: z.ZodOptional<z.ZodOptional<z.ZodEnum<["default", "locked"]>>>;
1630
- imageUrl: z.ZodOptional<z.ZodString>;
1631
- opacity: z.ZodOptional<z.ZodNumber>;
1632
- }, Pick<Omit<z.objectUtil.extendShape<{
1633
- id: z.ZodString;
1634
- groupId: z.ZodNullable<z.ZodString>;
1635
- color: z.ZodString;
1636
- name: z.ZodNullable<z.ZodString>;
1637
- description: z.ZodNullable<z.ZodString>;
1638
- attributes: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1639
- interaction: z.ZodOptional<z.ZodEnum<["default", "locked"]>>;
1640
- }, {
1641
- type: z.ZodLiteral<"Image">;
1642
- coordinates: z.ZodArray<z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, "many">, "many">;
1643
- imageUrl: z.ZodString;
1644
- opacity: z.ZodNumber;
1645
- }>, "color">, "type" | "id">>, "strip", z.ZodTypeAny, {
1646
- type: "Image";
1647
- id: string;
1648
- coordinates?: [number, number][][] | undefined;
1649
- groupId?: string | null | undefined;
1650
- name?: string | null | undefined;
1651
- description?: string | null | undefined;
1652
- attributes?: Record<string, unknown> | undefined;
1653
- interaction?: "default" | "locked" | undefined;
1654
- imageUrl?: string | undefined;
1655
- opacity?: number | undefined;
1656
- }, {
2228
+ } | {
1657
2229
  type: "Image";
1658
2230
  id: string;
1659
2231
  coordinates?: [number, number][][] | undefined;
@@ -1664,7 +2236,7 @@ declare const UpdateElementMessage: z.ZodObject<{
1664
2236
  interaction?: "default" | "locked" | undefined;
1665
2237
  imageUrl?: string | undefined;
1666
2238
  opacity?: number | undefined;
1667
- }>]>;
2239
+ }>;
1668
2240
  }, z.UnknownKeysParam, z.ZodTypeAny, {
1669
2241
  params: {
1670
2242
  type: "Place";
@@ -1713,6 +2285,11 @@ declare const UpdateElementMessage: z.ZodObject<{
1713
2285
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
1714
2286
  fillOpacity?: number | undefined;
1715
2287
  areaMarker?: boolean | undefined;
2288
+ isochrone?: {
2289
+ origin: [number, number];
2290
+ mode: "driving" | "cycling" | "walking";
2291
+ minutes: number;
2292
+ } | undefined;
1716
2293
  } | {
1717
2294
  type: "Circle";
1718
2295
  id: string;
@@ -1849,6 +2426,11 @@ declare const UpdateElementMessage: z.ZodObject<{
1849
2426
  strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
1850
2427
  fillOpacity?: number | undefined;
1851
2428
  areaMarker?: boolean | undefined;
2429
+ isochrone?: {
2430
+ origin: [number, number];
2431
+ mode: "driving" | "cycling" | "walking";
2432
+ minutes: number;
2433
+ } | undefined;
1852
2434
  } | {
1853
2435
  type: "Circle";
1854
2436
  id: string;
@@ -4294,12 +4876,12 @@ type SelectionSchema = {
4294
4876
 
4295
4877
  declare const SetToolMessage: z.ZodObject<{
4296
4878
  type: z.ZodLiteral<"setTool">;
4297
- params: z.ZodNullable<z.ZodEnum<["circle", "highlighter", "line", "marker", "note", "pin", "polygon", "route", "text", "link"]>>;
4879
+ params: z.ZodNullable<z.ZodEnum<["circle", "highlighter", "isochrone", "line", "marker", "note", "pin", "polygon", "route", "text", "link"]>>;
4298
4880
  }, z.UnknownKeysParam, z.ZodTypeAny, {
4299
- params: "text" | "link" | "note" | "circle" | "highlighter" | "line" | "marker" | "pin" | "polygon" | "route" | null;
4881
+ params: "text" | "isochrone" | "link" | "note" | "circle" | "highlighter" | "line" | "marker" | "pin" | "polygon" | "route" | null;
4300
4882
  type: "setTool";
4301
4883
  }, {
4302
- params: "text" | "link" | "note" | "circle" | "highlighter" | "line" | "marker" | "pin" | "polygon" | "route" | null;
4884
+ params: "text" | "isochrone" | "link" | "note" | "circle" | "highlighter" | "line" | "marker" | "pin" | "polygon" | "route" | null;
4303
4885
  type: "setTool";
4304
4886
  }>;
4305
4887
  declare const GetToolMessage: z.ZodObject<{
@@ -4420,6 +5002,37 @@ declare const SetToolSettingsMessage: z.ZodObject<{
4420
5002
  fillOpacity?: number | undefined;
4421
5003
  areaMarker?: boolean | undefined;
4422
5004
  showInspector?: boolean | undefined;
5005
+ }>, z.ZodObject<z.objectUtil.extendShape<{
5006
+ mode: z.ZodOptional<z.ZodEnum<["driving", "cycling", "walking"]>>;
5007
+ minutes: z.ZodOptional<z.ZodNumber>;
5008
+ color: z.ZodOptional<z.ZodString>;
5009
+ strokeOpacity: z.ZodOptional<z.ZodNumber>;
5010
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
5011
+ strokeStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
5012
+ fillOpacity: z.ZodOptional<z.ZodNumber>;
5013
+ }, {
5014
+ showInspector: z.ZodOptional<z.ZodBoolean>;
5015
+ tool: z.ZodLiteral<"isochrone">;
5016
+ }>, "strip", z.ZodTypeAny, {
5017
+ tool: "isochrone";
5018
+ color?: string | undefined;
5019
+ strokeOpacity?: number | undefined;
5020
+ strokeWidth?: number | undefined;
5021
+ strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
5022
+ mode?: "driving" | "cycling" | "walking" | undefined;
5023
+ minutes?: number | undefined;
5024
+ fillOpacity?: number | undefined;
5025
+ showInspector?: boolean | undefined;
5026
+ }, {
5027
+ tool: "isochrone";
5028
+ color?: string | undefined;
5029
+ strokeOpacity?: number | undefined;
5030
+ strokeWidth?: number | undefined;
5031
+ strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
5032
+ mode?: "driving" | "cycling" | "walking" | undefined;
5033
+ minutes?: number | undefined;
5034
+ fillOpacity?: number | undefined;
5035
+ showInspector?: boolean | undefined;
4423
5036
  }>, z.ZodObject<z.objectUtil.extendShape<{
4424
5037
  color: z.ZodOptional<z.ZodString>;
4425
5038
  strokeOpacity: z.ZodOptional<z.ZodNumber>;
@@ -4563,6 +5176,16 @@ declare const SetToolSettingsMessage: z.ZodObject<{
4563
5176
  fillOpacity?: number | undefined;
4564
5177
  areaMarker?: boolean | undefined;
4565
5178
  showInspector?: boolean | undefined;
5179
+ } | {
5180
+ tool: "isochrone";
5181
+ color?: string | undefined;
5182
+ strokeOpacity?: number | undefined;
5183
+ strokeWidth?: number | undefined;
5184
+ strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
5185
+ mode?: "driving" | "cycling" | "walking" | undefined;
5186
+ minutes?: number | undefined;
5187
+ fillOpacity?: number | undefined;
5188
+ showInspector?: boolean | undefined;
4566
5189
  } | {
4567
5190
  tool: "circle";
4568
5191
  color?: string | undefined;
@@ -4634,6 +5257,16 @@ declare const SetToolSettingsMessage: z.ZodObject<{
4634
5257
  fillOpacity?: number | undefined;
4635
5258
  areaMarker?: boolean | undefined;
4636
5259
  showInspector?: boolean | undefined;
5260
+ } | {
5261
+ tool: "isochrone";
5262
+ color?: string | undefined;
5263
+ strokeOpacity?: number | undefined;
5264
+ strokeWidth?: number | undefined;
5265
+ strokeStyle?: "solid" | "dashed" | "dotted" | undefined;
5266
+ mode?: "driving" | "cycling" | "walking" | undefined;
5267
+ minutes?: number | undefined;
5268
+ fillOpacity?: number | undefined;
5269
+ showInspector?: boolean | undefined;
4637
5270
  } | {
4638
5271
  tool: "circle";
4639
5272
  color?: string | undefined;
@@ -4673,12 +5306,12 @@ declare const SetToolSettingsMessage: z.ZodObject<{
4673
5306
  }>;
4674
5307
  declare const GetToolSettingsMessage: z.ZodObject<{
4675
5308
  type: z.ZodLiteral<"getToolSettings">;
4676
- params: z.ZodEnum<["circle", "highlighter", "line", "marker", "note", "pin", "polygon", "route", "text"]>;
5309
+ params: z.ZodEnum<["circle", "highlighter", "isochrone", "line", "marker", "note", "pin", "polygon", "route", "text"]>;
4677
5310
  }, z.UnknownKeysParam, z.ZodTypeAny, {
4678
- params: "text" | "note" | "circle" | "highlighter" | "line" | "marker" | "pin" | "polygon" | "route";
5311
+ params: "text" | "isochrone" | "note" | "circle" | "highlighter" | "line" | "marker" | "pin" | "polygon" | "route";
4679
5312
  type: "getToolSettings";
4680
5313
  }, {
4681
- params: "text" | "note" | "circle" | "highlighter" | "line" | "marker" | "pin" | "polygon" | "route";
5314
+ params: "text" | "isochrone" | "note" | "circle" | "highlighter" | "line" | "marker" | "pin" | "polygon" | "route";
4682
5315
  type: "getToolSettings";
4683
5316
  }>;
4684
5317
  type ToolsSchema = {