@mapbox/mcp-server 0.8.1-dev.1 → 0.8.1-dev.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/commonjs/tools/BaseTool.d.ts.map +1 -1
  2. package/dist/commonjs/tools/BaseTool.js +3 -1
  3. package/dist/commonjs/tools/BaseTool.js.map +1 -1
  4. package/dist/commonjs/tools/category-search-tool/CategorySearchTool.input.schema.d.ts +1 -1
  5. package/dist/commonjs/tools/category-search-tool/CategorySearchTool.output.schema.d.ts +212 -212
  6. package/dist/commonjs/tools/directions-tool/DirectionsTool.output.schema.d.ts +126 -126
  7. package/dist/commonjs/tools/reverse-geocode-tool/ReverseGeocodeTool.input.schema.d.ts +1 -1
  8. package/dist/commonjs/tools/reverse-geocode-tool/ReverseGeocodeTool.output.schema.d.ts +518 -518
  9. package/dist/commonjs/tools/search-and-geocode-tool/SearchAndGeocodeTool.input.schema.d.ts +13 -13
  10. package/dist/commonjs/tools/search-and-geocode-tool/SearchAndGeocodeTool.output.schema.d.ts +377 -110
  11. package/dist/commonjs/tools/search-and-geocode-tool/SearchAndGeocodeTool.output.schema.d.ts.map +1 -1
  12. package/dist/commonjs/tools/search-and-geocode-tool/SearchAndGeocodeTool.output.schema.js +13 -0
  13. package/dist/commonjs/tools/search-and-geocode-tool/SearchAndGeocodeTool.output.schema.js.map +1 -1
  14. package/dist/commonjs/tools/static-map-image-tool/StaticMapImageTool.input.schema.d.ts +8 -8
  15. package/dist/commonjs/tools/validateOutput.d.ts +12 -0
  16. package/dist/commonjs/tools/validateOutput.d.ts.map +1 -0
  17. package/dist/commonjs/tools/validateOutput.js +58 -0
  18. package/dist/commonjs/tools/validateOutput.js.map +1 -0
  19. package/dist/commonjs/tools/version-tool/VersionTool.output.schema.d.ts +2 -2
  20. package/dist/commonjs/version.json +4 -4
  21. package/dist/esm/tools/BaseTool.d.ts.map +1 -1
  22. package/dist/esm/tools/BaseTool.js +3 -1
  23. package/dist/esm/tools/BaseTool.js.map +1 -1
  24. package/dist/esm/tools/category-search-tool/CategorySearchTool.input.schema.d.ts +1 -1
  25. package/dist/esm/tools/category-search-tool/CategorySearchTool.output.schema.d.ts +212 -212
  26. package/dist/esm/tools/directions-tool/DirectionsTool.output.schema.d.ts +182 -182
  27. package/dist/esm/tools/isochrone-tool/IsochroneTool.output.schema.d.ts +12 -12
  28. package/dist/esm/tools/matrix-tool/MatrixTool.input.schema.d.ts +2 -2
  29. package/dist/esm/tools/reverse-geocode-tool/ReverseGeocodeTool.input.schema.d.ts +1 -1
  30. package/dist/esm/tools/reverse-geocode-tool/ReverseGeocodeTool.output.schema.d.ts +518 -518
  31. package/dist/esm/tools/search-and-geocode-tool/SearchAndGeocodeTool.input.schema.d.ts +13 -13
  32. package/dist/esm/tools/search-and-geocode-tool/SearchAndGeocodeTool.output.schema.d.ts +401 -134
  33. package/dist/esm/tools/search-and-geocode-tool/SearchAndGeocodeTool.output.schema.d.ts.map +1 -1
  34. package/dist/esm/tools/search-and-geocode-tool/SearchAndGeocodeTool.output.schema.js +13 -0
  35. package/dist/esm/tools/search-and-geocode-tool/SearchAndGeocodeTool.output.schema.js.map +1 -1
  36. package/dist/esm/tools/static-map-image-tool/StaticMapImageTool.input.schema.d.ts +8 -8
  37. package/dist/esm/tools/validateOutput.d.ts +12 -0
  38. package/dist/esm/tools/validateOutput.d.ts.map +1 -0
  39. package/dist/esm/tools/validateOutput.js +55 -0
  40. package/dist/esm/tools/validateOutput.js.map +1 -0
  41. package/dist/esm/tools/version-tool/VersionTool.output.schema.d.ts +2 -2
  42. package/dist/esm/version.json +4 -4
  43. package/package.json +3 -3
  44. package/patches/@modelcontextprotocol+sdk+1.25.1.patch +66 -0
  45. package/patches/@modelcontextprotocol+sdk+1.21.1.patch +0 -54
@@ -196,17 +196,42 @@ declare const SearchBoxFeaturePropertiesSchema: z.ZodObject<{
196
196
  brand: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
197
197
  brand_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
198
198
  external_ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
199
+ metadata: z.ZodOptional<z.ZodObject<{
200
+ primary_photo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
201
+ reading: z.ZodOptional<z.ZodObject<{
202
+ ja_kana: z.ZodOptional<z.ZodString>;
203
+ ja_latin: z.ZodOptional<z.ZodString>;
204
+ }, "strip", z.ZodTypeAny, {
205
+ ja_kana?: string | undefined;
206
+ ja_latin?: string | undefined;
207
+ }, {
208
+ ja_kana?: string | undefined;
209
+ ja_latin?: string | undefined;
210
+ }>>;
211
+ }, "strip", z.ZodTypeAny, {
212
+ primary_photo?: string | string[] | undefined;
213
+ reading?: {
214
+ ja_kana?: string | undefined;
215
+ ja_latin?: string | undefined;
216
+ } | undefined;
217
+ }, {
218
+ primary_photo?: string | string[] | undefined;
219
+ reading?: {
220
+ ja_kana?: string | undefined;
221
+ ja_latin?: string | undefined;
222
+ } | undefined;
223
+ }>>;
199
224
  maki: z.ZodOptional<z.ZodString>;
200
225
  operational_status: z.ZodOptional<z.ZodString>;
201
226
  eta: z.ZodOptional<z.ZodObject<{
202
227
  duration: z.ZodOptional<z.ZodNumber>;
203
228
  distance: z.ZodOptional<z.ZodNumber>;
204
229
  }, "strip", z.ZodTypeAny, {
205
- distance?: number | undefined;
206
230
  duration?: number | undefined;
207
- }, {
208
231
  distance?: number | undefined;
232
+ }, {
209
233
  duration?: number | undefined;
234
+ distance?: number | undefined;
210
235
  }>>;
211
236
  country: z.ZodOptional<z.ZodString>;
212
237
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -406,17 +431,42 @@ declare const SearchBoxFeaturePropertiesSchema: z.ZodObject<{
406
431
  brand: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
407
432
  brand_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
408
433
  external_ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
434
+ metadata: z.ZodOptional<z.ZodObject<{
435
+ primary_photo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
436
+ reading: z.ZodOptional<z.ZodObject<{
437
+ ja_kana: z.ZodOptional<z.ZodString>;
438
+ ja_latin: z.ZodOptional<z.ZodString>;
439
+ }, "strip", z.ZodTypeAny, {
440
+ ja_kana?: string | undefined;
441
+ ja_latin?: string | undefined;
442
+ }, {
443
+ ja_kana?: string | undefined;
444
+ ja_latin?: string | undefined;
445
+ }>>;
446
+ }, "strip", z.ZodTypeAny, {
447
+ primary_photo?: string | string[] | undefined;
448
+ reading?: {
449
+ ja_kana?: string | undefined;
450
+ ja_latin?: string | undefined;
451
+ } | undefined;
452
+ }, {
453
+ primary_photo?: string | string[] | undefined;
454
+ reading?: {
455
+ ja_kana?: string | undefined;
456
+ ja_latin?: string | undefined;
457
+ } | undefined;
458
+ }>>;
409
459
  maki: z.ZodOptional<z.ZodString>;
410
460
  operational_status: z.ZodOptional<z.ZodString>;
411
461
  eta: z.ZodOptional<z.ZodObject<{
412
462
  duration: z.ZodOptional<z.ZodNumber>;
413
463
  distance: z.ZodOptional<z.ZodNumber>;
414
464
  }, "strip", z.ZodTypeAny, {
415
- distance?: number | undefined;
416
465
  duration?: number | undefined;
417
- }, {
418
466
  distance?: number | undefined;
467
+ }, {
419
468
  duration?: number | undefined;
469
+ distance?: number | undefined;
420
470
  }>>;
421
471
  country: z.ZodOptional<z.ZodString>;
422
472
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -616,17 +666,42 @@ declare const SearchBoxFeaturePropertiesSchema: z.ZodObject<{
616
666
  brand: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
617
667
  brand_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
618
668
  external_ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
669
+ metadata: z.ZodOptional<z.ZodObject<{
670
+ primary_photo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
671
+ reading: z.ZodOptional<z.ZodObject<{
672
+ ja_kana: z.ZodOptional<z.ZodString>;
673
+ ja_latin: z.ZodOptional<z.ZodString>;
674
+ }, "strip", z.ZodTypeAny, {
675
+ ja_kana?: string | undefined;
676
+ ja_latin?: string | undefined;
677
+ }, {
678
+ ja_kana?: string | undefined;
679
+ ja_latin?: string | undefined;
680
+ }>>;
681
+ }, "strip", z.ZodTypeAny, {
682
+ primary_photo?: string | string[] | undefined;
683
+ reading?: {
684
+ ja_kana?: string | undefined;
685
+ ja_latin?: string | undefined;
686
+ } | undefined;
687
+ }, {
688
+ primary_photo?: string | string[] | undefined;
689
+ reading?: {
690
+ ja_kana?: string | undefined;
691
+ ja_latin?: string | undefined;
692
+ } | undefined;
693
+ }>>;
619
694
  maki: z.ZodOptional<z.ZodString>;
620
695
  operational_status: z.ZodOptional<z.ZodString>;
621
696
  eta: z.ZodOptional<z.ZodObject<{
622
697
  duration: z.ZodOptional<z.ZodNumber>;
623
698
  distance: z.ZodOptional<z.ZodNumber>;
624
699
  }, "strip", z.ZodTypeAny, {
625
- distance?: number | undefined;
626
700
  duration?: number | undefined;
627
- }, {
628
701
  distance?: number | undefined;
702
+ }, {
629
703
  duration?: number | undefined;
704
+ distance?: number | undefined;
630
705
  }>>;
631
706
  country: z.ZodOptional<z.ZodString>;
632
707
  }, z.ZodTypeAny, "passthrough">>;
@@ -839,17 +914,42 @@ declare const SearchBoxFeatureSchema: z.ZodObject<{
839
914
  brand: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
840
915
  brand_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
841
916
  external_ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
917
+ metadata: z.ZodOptional<z.ZodObject<{
918
+ primary_photo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
919
+ reading: z.ZodOptional<z.ZodObject<{
920
+ ja_kana: z.ZodOptional<z.ZodString>;
921
+ ja_latin: z.ZodOptional<z.ZodString>;
922
+ }, "strip", z.ZodTypeAny, {
923
+ ja_kana?: string | undefined;
924
+ ja_latin?: string | undefined;
925
+ }, {
926
+ ja_kana?: string | undefined;
927
+ ja_latin?: string | undefined;
928
+ }>>;
929
+ }, "strip", z.ZodTypeAny, {
930
+ primary_photo?: string | string[] | undefined;
931
+ reading?: {
932
+ ja_kana?: string | undefined;
933
+ ja_latin?: string | undefined;
934
+ } | undefined;
935
+ }, {
936
+ primary_photo?: string | string[] | undefined;
937
+ reading?: {
938
+ ja_kana?: string | undefined;
939
+ ja_latin?: string | undefined;
940
+ } | undefined;
941
+ }>>;
842
942
  maki: z.ZodOptional<z.ZodString>;
843
943
  operational_status: z.ZodOptional<z.ZodString>;
844
944
  eta: z.ZodOptional<z.ZodObject<{
845
945
  duration: z.ZodOptional<z.ZodNumber>;
846
946
  distance: z.ZodOptional<z.ZodNumber>;
847
947
  }, "strip", z.ZodTypeAny, {
848
- distance?: number | undefined;
849
948
  duration?: number | undefined;
850
- }, {
851
949
  distance?: number | undefined;
950
+ }, {
852
951
  duration?: number | undefined;
952
+ distance?: number | undefined;
853
953
  }>>;
854
954
  country: z.ZodOptional<z.ZodString>;
855
955
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -1049,17 +1149,42 @@ declare const SearchBoxFeatureSchema: z.ZodObject<{
1049
1149
  brand: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1050
1150
  brand_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1051
1151
  external_ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1152
+ metadata: z.ZodOptional<z.ZodObject<{
1153
+ primary_photo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1154
+ reading: z.ZodOptional<z.ZodObject<{
1155
+ ja_kana: z.ZodOptional<z.ZodString>;
1156
+ ja_latin: z.ZodOptional<z.ZodString>;
1157
+ }, "strip", z.ZodTypeAny, {
1158
+ ja_kana?: string | undefined;
1159
+ ja_latin?: string | undefined;
1160
+ }, {
1161
+ ja_kana?: string | undefined;
1162
+ ja_latin?: string | undefined;
1163
+ }>>;
1164
+ }, "strip", z.ZodTypeAny, {
1165
+ primary_photo?: string | string[] | undefined;
1166
+ reading?: {
1167
+ ja_kana?: string | undefined;
1168
+ ja_latin?: string | undefined;
1169
+ } | undefined;
1170
+ }, {
1171
+ primary_photo?: string | string[] | undefined;
1172
+ reading?: {
1173
+ ja_kana?: string | undefined;
1174
+ ja_latin?: string | undefined;
1175
+ } | undefined;
1176
+ }>>;
1052
1177
  maki: z.ZodOptional<z.ZodString>;
1053
1178
  operational_status: z.ZodOptional<z.ZodString>;
1054
1179
  eta: z.ZodOptional<z.ZodObject<{
1055
1180
  duration: z.ZodOptional<z.ZodNumber>;
1056
1181
  distance: z.ZodOptional<z.ZodNumber>;
1057
1182
  }, "strip", z.ZodTypeAny, {
1058
- distance?: number | undefined;
1059
1183
  duration?: number | undefined;
1060
- }, {
1061
1184
  distance?: number | undefined;
1185
+ }, {
1062
1186
  duration?: number | undefined;
1187
+ distance?: number | undefined;
1063
1188
  }>>;
1064
1189
  country: z.ZodOptional<z.ZodString>;
1065
1190
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -1259,42 +1384,63 @@ declare const SearchBoxFeatureSchema: z.ZodObject<{
1259
1384
  brand: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1260
1385
  brand_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1261
1386
  external_ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1387
+ metadata: z.ZodOptional<z.ZodObject<{
1388
+ primary_photo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1389
+ reading: z.ZodOptional<z.ZodObject<{
1390
+ ja_kana: z.ZodOptional<z.ZodString>;
1391
+ ja_latin: z.ZodOptional<z.ZodString>;
1392
+ }, "strip", z.ZodTypeAny, {
1393
+ ja_kana?: string | undefined;
1394
+ ja_latin?: string | undefined;
1395
+ }, {
1396
+ ja_kana?: string | undefined;
1397
+ ja_latin?: string | undefined;
1398
+ }>>;
1399
+ }, "strip", z.ZodTypeAny, {
1400
+ primary_photo?: string | string[] | undefined;
1401
+ reading?: {
1402
+ ja_kana?: string | undefined;
1403
+ ja_latin?: string | undefined;
1404
+ } | undefined;
1405
+ }, {
1406
+ primary_photo?: string | string[] | undefined;
1407
+ reading?: {
1408
+ ja_kana?: string | undefined;
1409
+ ja_latin?: string | undefined;
1410
+ } | undefined;
1411
+ }>>;
1262
1412
  maki: z.ZodOptional<z.ZodString>;
1263
1413
  operational_status: z.ZodOptional<z.ZodString>;
1264
1414
  eta: z.ZodOptional<z.ZodObject<{
1265
1415
  duration: z.ZodOptional<z.ZodNumber>;
1266
1416
  distance: z.ZodOptional<z.ZodNumber>;
1267
1417
  }, "strip", z.ZodTypeAny, {
1268
- distance?: number | undefined;
1269
1418
  duration?: number | undefined;
1270
- }, {
1271
1419
  distance?: number | undefined;
1420
+ }, {
1272
1421
  duration?: number | undefined;
1422
+ distance?: number | undefined;
1273
1423
  }>>;
1274
1424
  country: z.ZodOptional<z.ZodString>;
1275
1425
  }, z.ZodTypeAny, "passthrough">>;
1276
1426
  }, "strip", z.ZodTypeAny, {
1277
1427
  type: "Feature";
1428
+ geometry: {
1429
+ type: "Point";
1430
+ coordinates: number[];
1431
+ };
1278
1432
  properties: {
1279
1433
  name?: string | undefined;
1280
- coordinates?: {
1281
- longitude: number;
1282
- latitude: number;
1283
- accuracy?: string | undefined;
1284
- routable_points?: {
1285
- name: string;
1286
- longitude: number;
1287
- latitude: number;
1288
- }[] | undefined;
1289
- } | undefined;
1434
+ brand?: string[] | undefined;
1435
+ bbox?: number[] | undefined;
1436
+ country?: string | undefined;
1437
+ address_number?: string | undefined;
1438
+ street_name?: string | undefined;
1290
1439
  name_preferred?: string | undefined;
1291
1440
  mapbox_id?: string | undefined;
1292
1441
  feature_type?: string | undefined;
1293
- country?: string | undefined;
1294
1442
  full_address?: string | undefined;
1295
1443
  place_formatted?: string | undefined;
1296
- address_number?: string | undefined;
1297
- street_name?: string | undefined;
1298
1444
  context?: {
1299
1445
  country?: {
1300
1446
  name?: string | undefined;
@@ -1329,47 +1475,54 @@ declare const SearchBoxFeatureSchema: z.ZodObject<{
1329
1475
  name?: string | undefined;
1330
1476
  } | undefined;
1331
1477
  } | undefined;
1332
- bbox?: number[] | undefined;
1478
+ coordinates?: {
1479
+ longitude: number;
1480
+ latitude: number;
1481
+ accuracy?: string | undefined;
1482
+ routable_points?: {
1483
+ name: string;
1484
+ longitude: number;
1485
+ latitude: number;
1486
+ }[] | undefined;
1487
+ } | undefined;
1333
1488
  maki?: string | undefined;
1334
1489
  poi_category?: string[] | undefined;
1335
1490
  poi_category_ids?: string[] | undefined;
1336
- brand?: string[] | undefined;
1337
1491
  brand_id?: string | string[] | undefined;
1338
1492
  external_ids?: Record<string, string> | undefined;
1493
+ metadata?: {
1494
+ primary_photo?: string | string[] | undefined;
1495
+ reading?: {
1496
+ ja_kana?: string | undefined;
1497
+ ja_latin?: string | undefined;
1498
+ } | undefined;
1499
+ } | undefined;
1339
1500
  eta?: {
1340
- distance?: number | undefined;
1341
1501
  duration?: number | undefined;
1502
+ distance?: number | undefined;
1342
1503
  } | undefined;
1343
1504
  operational_status?: string | undefined;
1344
1505
  } & {
1345
1506
  [k: string]: unknown;
1346
1507
  };
1508
+ }, {
1509
+ type: "Feature";
1347
1510
  geometry: {
1348
1511
  type: "Point";
1349
1512
  coordinates: number[];
1350
1513
  };
1351
- }, {
1352
- type: "Feature";
1353
1514
  properties: {
1354
1515
  name?: string | undefined;
1355
- coordinates?: {
1356
- longitude: number;
1357
- latitude: number;
1358
- accuracy?: string | undefined;
1359
- routable_points?: {
1360
- name: string;
1361
- longitude: number;
1362
- latitude: number;
1363
- }[] | undefined;
1364
- } | undefined;
1516
+ brand?: string[] | undefined;
1517
+ bbox?: number[] | undefined;
1518
+ country?: string | undefined;
1519
+ address_number?: string | undefined;
1520
+ street_name?: string | undefined;
1365
1521
  name_preferred?: string | undefined;
1366
1522
  mapbox_id?: string | undefined;
1367
1523
  feature_type?: string | undefined;
1368
- country?: string | undefined;
1369
1524
  full_address?: string | undefined;
1370
1525
  place_formatted?: string | undefined;
1371
- address_number?: string | undefined;
1372
- street_name?: string | undefined;
1373
1526
  context?: {
1374
1527
  country?: {
1375
1528
  name?: string | undefined;
@@ -1404,25 +1557,36 @@ declare const SearchBoxFeatureSchema: z.ZodObject<{
1404
1557
  name?: string | undefined;
1405
1558
  } | undefined;
1406
1559
  } | undefined;
1407
- bbox?: number[] | undefined;
1560
+ coordinates?: {
1561
+ longitude: number;
1562
+ latitude: number;
1563
+ accuracy?: string | undefined;
1564
+ routable_points?: {
1565
+ name: string;
1566
+ longitude: number;
1567
+ latitude: number;
1568
+ }[] | undefined;
1569
+ } | undefined;
1408
1570
  maki?: string | undefined;
1409
1571
  poi_category?: string[] | undefined;
1410
1572
  poi_category_ids?: string[] | undefined;
1411
- brand?: string[] | undefined;
1412
1573
  brand_id?: string | string[] | undefined;
1413
1574
  external_ids?: Record<string, string> | undefined;
1575
+ metadata?: {
1576
+ primary_photo?: string | string[] | undefined;
1577
+ reading?: {
1578
+ ja_kana?: string | undefined;
1579
+ ja_latin?: string | undefined;
1580
+ } | undefined;
1581
+ } | undefined;
1414
1582
  eta?: {
1415
- distance?: number | undefined;
1416
1583
  duration?: number | undefined;
1584
+ distance?: number | undefined;
1417
1585
  } | undefined;
1418
1586
  operational_status?: string | undefined;
1419
1587
  } & {
1420
1588
  [k: string]: unknown;
1421
1589
  };
1422
- geometry: {
1423
- type: "Point";
1424
- coordinates: number[];
1425
- };
1426
1590
  }>;
1427
1591
  export declare const SearchBoxResponseSchema: z.ZodObject<{
1428
1592
  type: z.ZodLiteral<"FeatureCollection">;
@@ -1635,17 +1799,42 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
1635
1799
  brand: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1636
1800
  brand_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1637
1801
  external_ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1802
+ metadata: z.ZodOptional<z.ZodObject<{
1803
+ primary_photo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1804
+ reading: z.ZodOptional<z.ZodObject<{
1805
+ ja_kana: z.ZodOptional<z.ZodString>;
1806
+ ja_latin: z.ZodOptional<z.ZodString>;
1807
+ }, "strip", z.ZodTypeAny, {
1808
+ ja_kana?: string | undefined;
1809
+ ja_latin?: string | undefined;
1810
+ }, {
1811
+ ja_kana?: string | undefined;
1812
+ ja_latin?: string | undefined;
1813
+ }>>;
1814
+ }, "strip", z.ZodTypeAny, {
1815
+ primary_photo?: string | string[] | undefined;
1816
+ reading?: {
1817
+ ja_kana?: string | undefined;
1818
+ ja_latin?: string | undefined;
1819
+ } | undefined;
1820
+ }, {
1821
+ primary_photo?: string | string[] | undefined;
1822
+ reading?: {
1823
+ ja_kana?: string | undefined;
1824
+ ja_latin?: string | undefined;
1825
+ } | undefined;
1826
+ }>>;
1638
1827
  maki: z.ZodOptional<z.ZodString>;
1639
1828
  operational_status: z.ZodOptional<z.ZodString>;
1640
1829
  eta: z.ZodOptional<z.ZodObject<{
1641
1830
  duration: z.ZodOptional<z.ZodNumber>;
1642
1831
  distance: z.ZodOptional<z.ZodNumber>;
1643
1832
  }, "strip", z.ZodTypeAny, {
1644
- distance?: number | undefined;
1645
1833
  duration?: number | undefined;
1646
- }, {
1647
1834
  distance?: number | undefined;
1835
+ }, {
1648
1836
  duration?: number | undefined;
1837
+ distance?: number | undefined;
1649
1838
  }>>;
1650
1839
  country: z.ZodOptional<z.ZodString>;
1651
1840
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -1845,17 +2034,42 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
1845
2034
  brand: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1846
2035
  brand_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1847
2036
  external_ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2037
+ metadata: z.ZodOptional<z.ZodObject<{
2038
+ primary_photo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2039
+ reading: z.ZodOptional<z.ZodObject<{
2040
+ ja_kana: z.ZodOptional<z.ZodString>;
2041
+ ja_latin: z.ZodOptional<z.ZodString>;
2042
+ }, "strip", z.ZodTypeAny, {
2043
+ ja_kana?: string | undefined;
2044
+ ja_latin?: string | undefined;
2045
+ }, {
2046
+ ja_kana?: string | undefined;
2047
+ ja_latin?: string | undefined;
2048
+ }>>;
2049
+ }, "strip", z.ZodTypeAny, {
2050
+ primary_photo?: string | string[] | undefined;
2051
+ reading?: {
2052
+ ja_kana?: string | undefined;
2053
+ ja_latin?: string | undefined;
2054
+ } | undefined;
2055
+ }, {
2056
+ primary_photo?: string | string[] | undefined;
2057
+ reading?: {
2058
+ ja_kana?: string | undefined;
2059
+ ja_latin?: string | undefined;
2060
+ } | undefined;
2061
+ }>>;
1848
2062
  maki: z.ZodOptional<z.ZodString>;
1849
2063
  operational_status: z.ZodOptional<z.ZodString>;
1850
2064
  eta: z.ZodOptional<z.ZodObject<{
1851
2065
  duration: z.ZodOptional<z.ZodNumber>;
1852
2066
  distance: z.ZodOptional<z.ZodNumber>;
1853
2067
  }, "strip", z.ZodTypeAny, {
1854
- distance?: number | undefined;
1855
2068
  duration?: number | undefined;
1856
- }, {
1857
2069
  distance?: number | undefined;
2070
+ }, {
1858
2071
  duration?: number | undefined;
2072
+ distance?: number | undefined;
1859
2073
  }>>;
1860
2074
  country: z.ZodOptional<z.ZodString>;
1861
2075
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -2055,42 +2269,63 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
2055
2269
  brand: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2056
2270
  brand_id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2057
2271
  external_ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2272
+ metadata: z.ZodOptional<z.ZodObject<{
2273
+ primary_photo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2274
+ reading: z.ZodOptional<z.ZodObject<{
2275
+ ja_kana: z.ZodOptional<z.ZodString>;
2276
+ ja_latin: z.ZodOptional<z.ZodString>;
2277
+ }, "strip", z.ZodTypeAny, {
2278
+ ja_kana?: string | undefined;
2279
+ ja_latin?: string | undefined;
2280
+ }, {
2281
+ ja_kana?: string | undefined;
2282
+ ja_latin?: string | undefined;
2283
+ }>>;
2284
+ }, "strip", z.ZodTypeAny, {
2285
+ primary_photo?: string | string[] | undefined;
2286
+ reading?: {
2287
+ ja_kana?: string | undefined;
2288
+ ja_latin?: string | undefined;
2289
+ } | undefined;
2290
+ }, {
2291
+ primary_photo?: string | string[] | undefined;
2292
+ reading?: {
2293
+ ja_kana?: string | undefined;
2294
+ ja_latin?: string | undefined;
2295
+ } | undefined;
2296
+ }>>;
2058
2297
  maki: z.ZodOptional<z.ZodString>;
2059
2298
  operational_status: z.ZodOptional<z.ZodString>;
2060
2299
  eta: z.ZodOptional<z.ZodObject<{
2061
2300
  duration: z.ZodOptional<z.ZodNumber>;
2062
2301
  distance: z.ZodOptional<z.ZodNumber>;
2063
2302
  }, "strip", z.ZodTypeAny, {
2064
- distance?: number | undefined;
2065
2303
  duration?: number | undefined;
2066
- }, {
2067
2304
  distance?: number | undefined;
2305
+ }, {
2068
2306
  duration?: number | undefined;
2307
+ distance?: number | undefined;
2069
2308
  }>>;
2070
2309
  country: z.ZodOptional<z.ZodString>;
2071
2310
  }, z.ZodTypeAny, "passthrough">>;
2072
2311
  }, "strip", z.ZodTypeAny, {
2073
2312
  type: "Feature";
2313
+ geometry: {
2314
+ type: "Point";
2315
+ coordinates: number[];
2316
+ };
2074
2317
  properties: {
2075
2318
  name?: string | undefined;
2076
- coordinates?: {
2077
- longitude: number;
2078
- latitude: number;
2079
- accuracy?: string | undefined;
2080
- routable_points?: {
2081
- name: string;
2082
- longitude: number;
2083
- latitude: number;
2084
- }[] | undefined;
2085
- } | undefined;
2319
+ brand?: string[] | undefined;
2320
+ bbox?: number[] | undefined;
2321
+ country?: string | undefined;
2322
+ address_number?: string | undefined;
2323
+ street_name?: string | undefined;
2086
2324
  name_preferred?: string | undefined;
2087
2325
  mapbox_id?: string | undefined;
2088
2326
  feature_type?: string | undefined;
2089
- country?: string | undefined;
2090
2327
  full_address?: string | undefined;
2091
2328
  place_formatted?: string | undefined;
2092
- address_number?: string | undefined;
2093
- street_name?: string | undefined;
2094
2329
  context?: {
2095
2330
  country?: {
2096
2331
  name?: string | undefined;
@@ -2125,47 +2360,54 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
2125
2360
  name?: string | undefined;
2126
2361
  } | undefined;
2127
2362
  } | undefined;
2128
- bbox?: number[] | undefined;
2363
+ coordinates?: {
2364
+ longitude: number;
2365
+ latitude: number;
2366
+ accuracy?: string | undefined;
2367
+ routable_points?: {
2368
+ name: string;
2369
+ longitude: number;
2370
+ latitude: number;
2371
+ }[] | undefined;
2372
+ } | undefined;
2129
2373
  maki?: string | undefined;
2130
2374
  poi_category?: string[] | undefined;
2131
2375
  poi_category_ids?: string[] | undefined;
2132
- brand?: string[] | undefined;
2133
2376
  brand_id?: string | string[] | undefined;
2134
2377
  external_ids?: Record<string, string> | undefined;
2378
+ metadata?: {
2379
+ primary_photo?: string | string[] | undefined;
2380
+ reading?: {
2381
+ ja_kana?: string | undefined;
2382
+ ja_latin?: string | undefined;
2383
+ } | undefined;
2384
+ } | undefined;
2135
2385
  eta?: {
2136
- distance?: number | undefined;
2137
2386
  duration?: number | undefined;
2387
+ distance?: number | undefined;
2138
2388
  } | undefined;
2139
2389
  operational_status?: string | undefined;
2140
2390
  } & {
2141
2391
  [k: string]: unknown;
2142
2392
  };
2393
+ }, {
2394
+ type: "Feature";
2143
2395
  geometry: {
2144
2396
  type: "Point";
2145
2397
  coordinates: number[];
2146
2398
  };
2147
- }, {
2148
- type: "Feature";
2149
2399
  properties: {
2150
2400
  name?: string | undefined;
2151
- coordinates?: {
2152
- longitude: number;
2153
- latitude: number;
2154
- accuracy?: string | undefined;
2155
- routable_points?: {
2156
- name: string;
2157
- longitude: number;
2158
- latitude: number;
2159
- }[] | undefined;
2160
- } | undefined;
2401
+ brand?: string[] | undefined;
2402
+ bbox?: number[] | undefined;
2403
+ country?: string | undefined;
2404
+ address_number?: string | undefined;
2405
+ street_name?: string | undefined;
2161
2406
  name_preferred?: string | undefined;
2162
2407
  mapbox_id?: string | undefined;
2163
2408
  feature_type?: string | undefined;
2164
- country?: string | undefined;
2165
2409
  full_address?: string | undefined;
2166
2410
  place_formatted?: string | undefined;
2167
- address_number?: string | undefined;
2168
- street_name?: string | undefined;
2169
2411
  context?: {
2170
2412
  country?: {
2171
2413
  name?: string | undefined;
@@ -2200,51 +2442,58 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
2200
2442
  name?: string | undefined;
2201
2443
  } | undefined;
2202
2444
  } | undefined;
2203
- bbox?: number[] | undefined;
2445
+ coordinates?: {
2446
+ longitude: number;
2447
+ latitude: number;
2448
+ accuracy?: string | undefined;
2449
+ routable_points?: {
2450
+ name: string;
2451
+ longitude: number;
2452
+ latitude: number;
2453
+ }[] | undefined;
2454
+ } | undefined;
2204
2455
  maki?: string | undefined;
2205
2456
  poi_category?: string[] | undefined;
2206
2457
  poi_category_ids?: string[] | undefined;
2207
- brand?: string[] | undefined;
2208
2458
  brand_id?: string | string[] | undefined;
2209
2459
  external_ids?: Record<string, string> | undefined;
2460
+ metadata?: {
2461
+ primary_photo?: string | string[] | undefined;
2462
+ reading?: {
2463
+ ja_kana?: string | undefined;
2464
+ ja_latin?: string | undefined;
2465
+ } | undefined;
2466
+ } | undefined;
2210
2467
  eta?: {
2211
- distance?: number | undefined;
2212
2468
  duration?: number | undefined;
2469
+ distance?: number | undefined;
2213
2470
  } | undefined;
2214
2471
  operational_status?: string | undefined;
2215
2472
  } & {
2216
2473
  [k: string]: unknown;
2217
2474
  };
2218
- geometry: {
2219
- type: "Point";
2220
- coordinates: number[];
2221
- };
2222
2475
  }>, "many">;
2223
2476
  attribution: z.ZodOptional<z.ZodString>;
2224
2477
  }, "strip", z.ZodTypeAny, {
2225
2478
  type: "FeatureCollection";
2226
2479
  features: {
2227
2480
  type: "Feature";
2481
+ geometry: {
2482
+ type: "Point";
2483
+ coordinates: number[];
2484
+ };
2228
2485
  properties: {
2229
2486
  name?: string | undefined;
2230
- coordinates?: {
2231
- longitude: number;
2232
- latitude: number;
2233
- accuracy?: string | undefined;
2234
- routable_points?: {
2235
- name: string;
2236
- longitude: number;
2237
- latitude: number;
2238
- }[] | undefined;
2239
- } | undefined;
2487
+ brand?: string[] | undefined;
2488
+ bbox?: number[] | undefined;
2489
+ country?: string | undefined;
2490
+ address_number?: string | undefined;
2491
+ street_name?: string | undefined;
2240
2492
  name_preferred?: string | undefined;
2241
2493
  mapbox_id?: string | undefined;
2242
2494
  feature_type?: string | undefined;
2243
- country?: string | undefined;
2244
2495
  full_address?: string | undefined;
2245
2496
  place_formatted?: string | undefined;
2246
- address_number?: string | undefined;
2247
- street_name?: string | undefined;
2248
2497
  context?: {
2249
2498
  country?: {
2250
2499
  name?: string | undefined;
@@ -2279,51 +2528,58 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
2279
2528
  name?: string | undefined;
2280
2529
  } | undefined;
2281
2530
  } | undefined;
2282
- bbox?: number[] | undefined;
2531
+ coordinates?: {
2532
+ longitude: number;
2533
+ latitude: number;
2534
+ accuracy?: string | undefined;
2535
+ routable_points?: {
2536
+ name: string;
2537
+ longitude: number;
2538
+ latitude: number;
2539
+ }[] | undefined;
2540
+ } | undefined;
2283
2541
  maki?: string | undefined;
2284
2542
  poi_category?: string[] | undefined;
2285
2543
  poi_category_ids?: string[] | undefined;
2286
- brand?: string[] | undefined;
2287
2544
  brand_id?: string | string[] | undefined;
2288
2545
  external_ids?: Record<string, string> | undefined;
2546
+ metadata?: {
2547
+ primary_photo?: string | string[] | undefined;
2548
+ reading?: {
2549
+ ja_kana?: string | undefined;
2550
+ ja_latin?: string | undefined;
2551
+ } | undefined;
2552
+ } | undefined;
2289
2553
  eta?: {
2290
- distance?: number | undefined;
2291
2554
  duration?: number | undefined;
2555
+ distance?: number | undefined;
2292
2556
  } | undefined;
2293
2557
  operational_status?: string | undefined;
2294
2558
  } & {
2295
2559
  [k: string]: unknown;
2296
2560
  };
2297
- geometry: {
2298
- type: "Point";
2299
- coordinates: number[];
2300
- };
2301
2561
  }[];
2302
2562
  attribution?: string | undefined;
2303
2563
  }, {
2304
2564
  type: "FeatureCollection";
2305
2565
  features: {
2306
2566
  type: "Feature";
2567
+ geometry: {
2568
+ type: "Point";
2569
+ coordinates: number[];
2570
+ };
2307
2571
  properties: {
2308
2572
  name?: string | undefined;
2309
- coordinates?: {
2310
- longitude: number;
2311
- latitude: number;
2312
- accuracy?: string | undefined;
2313
- routable_points?: {
2314
- name: string;
2315
- longitude: number;
2316
- latitude: number;
2317
- }[] | undefined;
2318
- } | undefined;
2573
+ brand?: string[] | undefined;
2574
+ bbox?: number[] | undefined;
2575
+ country?: string | undefined;
2576
+ address_number?: string | undefined;
2577
+ street_name?: string | undefined;
2319
2578
  name_preferred?: string | undefined;
2320
2579
  mapbox_id?: string | undefined;
2321
2580
  feature_type?: string | undefined;
2322
- country?: string | undefined;
2323
2581
  full_address?: string | undefined;
2324
2582
  place_formatted?: string | undefined;
2325
- address_number?: string | undefined;
2326
- street_name?: string | undefined;
2327
2583
  context?: {
2328
2584
  country?: {
2329
2585
  name?: string | undefined;
@@ -2358,25 +2614,36 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
2358
2614
  name?: string | undefined;
2359
2615
  } | undefined;
2360
2616
  } | undefined;
2361
- bbox?: number[] | undefined;
2617
+ coordinates?: {
2618
+ longitude: number;
2619
+ latitude: number;
2620
+ accuracy?: string | undefined;
2621
+ routable_points?: {
2622
+ name: string;
2623
+ longitude: number;
2624
+ latitude: number;
2625
+ }[] | undefined;
2626
+ } | undefined;
2362
2627
  maki?: string | undefined;
2363
2628
  poi_category?: string[] | undefined;
2364
2629
  poi_category_ids?: string[] | undefined;
2365
- brand?: string[] | undefined;
2366
2630
  brand_id?: string | string[] | undefined;
2367
2631
  external_ids?: Record<string, string> | undefined;
2632
+ metadata?: {
2633
+ primary_photo?: string | string[] | undefined;
2634
+ reading?: {
2635
+ ja_kana?: string | undefined;
2636
+ ja_latin?: string | undefined;
2637
+ } | undefined;
2638
+ } | undefined;
2368
2639
  eta?: {
2369
- distance?: number | undefined;
2370
2640
  duration?: number | undefined;
2641
+ distance?: number | undefined;
2371
2642
  } | undefined;
2372
2643
  operational_status?: string | undefined;
2373
2644
  } & {
2374
2645
  [k: string]: unknown;
2375
2646
  };
2376
- geometry: {
2377
- type: "Point";
2378
- coordinates: number[];
2379
- };
2380
2647
  }[];
2381
2648
  attribution?: string | undefined;
2382
2649
  }>;