@mapbox/mcp-server 0.8.1-dev.5 → 0.8.1-dev.7

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.
@@ -113,13 +113,13 @@ declare const SearchBoxFeaturePropertiesSchema: z.ZodObject<{
113
113
  neighborhood?: {
114
114
  name?: string | undefined;
115
115
  } | undefined;
116
+ street?: {
117
+ name?: string | undefined;
118
+ } | undefined;
116
119
  address?: {
117
120
  address_number?: string | undefined;
118
121
  street_name?: string | undefined;
119
122
  } | undefined;
120
- street?: {
121
- name?: string | undefined;
122
- } | undefined;
123
123
  }, {
124
124
  country?: {
125
125
  name?: string | undefined;
@@ -146,13 +146,13 @@ declare const SearchBoxFeaturePropertiesSchema: z.ZodObject<{
146
146
  neighborhood?: {
147
147
  name?: string | undefined;
148
148
  } | undefined;
149
+ street?: {
150
+ name?: string | undefined;
151
+ } | undefined;
149
152
  address?: {
150
153
  address_number?: string | undefined;
151
154
  street_name?: string | undefined;
152
155
  } | undefined;
153
- street?: {
154
- name?: string | undefined;
155
- } | undefined;
156
156
  }>>;
157
157
  coordinates: z.ZodOptional<z.ZodObject<{
158
158
  longitude: z.ZodNumber;
@@ -223,16 +223,16 @@ declare const SearchBoxFeaturePropertiesSchema: z.ZodObject<{
223
223
  }>>;
224
224
  maki: z.ZodOptional<z.ZodString>;
225
225
  operational_status: z.ZodOptional<z.ZodString>;
226
- eta: z.ZodOptional<z.ZodObject<{
226
+ eta: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
227
227
  duration: z.ZodOptional<z.ZodNumber>;
228
228
  distance: z.ZodOptional<z.ZodNumber>;
229
229
  }, "strip", z.ZodTypeAny, {
230
- distance?: number | undefined;
231
230
  duration?: number | undefined;
232
- }, {
233
231
  distance?: number | undefined;
232
+ }, {
234
233
  duration?: number | undefined;
235
- }>>;
234
+ distance?: number | undefined;
235
+ }>]>>;
236
236
  country: z.ZodOptional<z.ZodString>;
237
237
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
238
238
  mapbox_id: z.ZodOptional<z.ZodString>;
@@ -348,13 +348,13 @@ declare const SearchBoxFeaturePropertiesSchema: z.ZodObject<{
348
348
  neighborhood?: {
349
349
  name?: string | undefined;
350
350
  } | undefined;
351
+ street?: {
352
+ name?: string | undefined;
353
+ } | undefined;
351
354
  address?: {
352
355
  address_number?: string | undefined;
353
356
  street_name?: string | undefined;
354
357
  } | undefined;
355
- street?: {
356
- name?: string | undefined;
357
- } | undefined;
358
358
  }, {
359
359
  country?: {
360
360
  name?: string | undefined;
@@ -381,13 +381,13 @@ declare const SearchBoxFeaturePropertiesSchema: z.ZodObject<{
381
381
  neighborhood?: {
382
382
  name?: string | undefined;
383
383
  } | undefined;
384
+ street?: {
385
+ name?: string | undefined;
386
+ } | undefined;
384
387
  address?: {
385
388
  address_number?: string | undefined;
386
389
  street_name?: string | undefined;
387
390
  } | undefined;
388
- street?: {
389
- name?: string | undefined;
390
- } | undefined;
391
391
  }>>;
392
392
  coordinates: z.ZodOptional<z.ZodObject<{
393
393
  longitude: z.ZodNumber;
@@ -458,16 +458,16 @@ declare const SearchBoxFeaturePropertiesSchema: z.ZodObject<{
458
458
  }>>;
459
459
  maki: z.ZodOptional<z.ZodString>;
460
460
  operational_status: z.ZodOptional<z.ZodString>;
461
- eta: z.ZodOptional<z.ZodObject<{
461
+ eta: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
462
462
  duration: z.ZodOptional<z.ZodNumber>;
463
463
  distance: z.ZodOptional<z.ZodNumber>;
464
464
  }, "strip", z.ZodTypeAny, {
465
- distance?: number | undefined;
466
465
  duration?: number | undefined;
467
- }, {
468
466
  distance?: number | undefined;
467
+ }, {
469
468
  duration?: number | undefined;
470
- }>>;
469
+ distance?: number | undefined;
470
+ }>]>>;
471
471
  country: z.ZodOptional<z.ZodString>;
472
472
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
473
473
  mapbox_id: z.ZodOptional<z.ZodString>;
@@ -583,13 +583,13 @@ declare const SearchBoxFeaturePropertiesSchema: z.ZodObject<{
583
583
  neighborhood?: {
584
584
  name?: string | undefined;
585
585
  } | undefined;
586
+ street?: {
587
+ name?: string | undefined;
588
+ } | undefined;
586
589
  address?: {
587
590
  address_number?: string | undefined;
588
591
  street_name?: string | undefined;
589
592
  } | undefined;
590
- street?: {
591
- name?: string | undefined;
592
- } | undefined;
593
593
  }, {
594
594
  country?: {
595
595
  name?: string | undefined;
@@ -616,13 +616,13 @@ declare const SearchBoxFeaturePropertiesSchema: z.ZodObject<{
616
616
  neighborhood?: {
617
617
  name?: string | undefined;
618
618
  } | undefined;
619
+ street?: {
620
+ name?: string | undefined;
621
+ } | undefined;
619
622
  address?: {
620
623
  address_number?: string | undefined;
621
624
  street_name?: string | undefined;
622
625
  } | undefined;
623
- street?: {
624
- name?: string | undefined;
625
- } | undefined;
626
626
  }>>;
627
627
  coordinates: z.ZodOptional<z.ZodObject<{
628
628
  longitude: z.ZodNumber;
@@ -693,16 +693,16 @@ declare const SearchBoxFeaturePropertiesSchema: z.ZodObject<{
693
693
  }>>;
694
694
  maki: z.ZodOptional<z.ZodString>;
695
695
  operational_status: z.ZodOptional<z.ZodString>;
696
- eta: z.ZodOptional<z.ZodObject<{
696
+ eta: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
697
697
  duration: z.ZodOptional<z.ZodNumber>;
698
698
  distance: z.ZodOptional<z.ZodNumber>;
699
699
  }, "strip", z.ZodTypeAny, {
700
- distance?: number | undefined;
701
700
  duration?: number | undefined;
702
- }, {
703
701
  distance?: number | undefined;
702
+ }, {
704
703
  duration?: number | undefined;
705
- }>>;
704
+ distance?: number | undefined;
705
+ }>]>>;
706
706
  country: z.ZodOptional<z.ZodString>;
707
707
  }, z.ZodTypeAny, "passthrough">>;
708
708
  declare const SearchBoxFeatureSchema: z.ZodObject<{
@@ -831,13 +831,13 @@ declare const SearchBoxFeatureSchema: z.ZodObject<{
831
831
  neighborhood?: {
832
832
  name?: string | undefined;
833
833
  } | undefined;
834
+ street?: {
835
+ name?: string | undefined;
836
+ } | undefined;
834
837
  address?: {
835
838
  address_number?: string | undefined;
836
839
  street_name?: string | undefined;
837
840
  } | undefined;
838
- street?: {
839
- name?: string | undefined;
840
- } | undefined;
841
841
  }, {
842
842
  country?: {
843
843
  name?: string | undefined;
@@ -864,13 +864,13 @@ declare const SearchBoxFeatureSchema: z.ZodObject<{
864
864
  neighborhood?: {
865
865
  name?: string | undefined;
866
866
  } | undefined;
867
+ street?: {
868
+ name?: string | undefined;
869
+ } | undefined;
867
870
  address?: {
868
871
  address_number?: string | undefined;
869
872
  street_name?: string | undefined;
870
873
  } | undefined;
871
- street?: {
872
- name?: string | undefined;
873
- } | undefined;
874
874
  }>>;
875
875
  coordinates: z.ZodOptional<z.ZodObject<{
876
876
  longitude: z.ZodNumber;
@@ -941,16 +941,16 @@ declare const SearchBoxFeatureSchema: z.ZodObject<{
941
941
  }>>;
942
942
  maki: z.ZodOptional<z.ZodString>;
943
943
  operational_status: z.ZodOptional<z.ZodString>;
944
- eta: z.ZodOptional<z.ZodObject<{
944
+ eta: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
945
945
  duration: z.ZodOptional<z.ZodNumber>;
946
946
  distance: z.ZodOptional<z.ZodNumber>;
947
947
  }, "strip", z.ZodTypeAny, {
948
- distance?: number | undefined;
949
948
  duration?: number | undefined;
950
- }, {
951
949
  distance?: number | undefined;
950
+ }, {
952
951
  duration?: number | undefined;
953
- }>>;
952
+ distance?: number | undefined;
953
+ }>]>>;
954
954
  country: z.ZodOptional<z.ZodString>;
955
955
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
956
956
  mapbox_id: z.ZodOptional<z.ZodString>;
@@ -1066,13 +1066,13 @@ declare const SearchBoxFeatureSchema: z.ZodObject<{
1066
1066
  neighborhood?: {
1067
1067
  name?: string | undefined;
1068
1068
  } | undefined;
1069
+ street?: {
1070
+ name?: string | undefined;
1071
+ } | undefined;
1069
1072
  address?: {
1070
1073
  address_number?: string | undefined;
1071
1074
  street_name?: string | undefined;
1072
1075
  } | undefined;
1073
- street?: {
1074
- name?: string | undefined;
1075
- } | undefined;
1076
1076
  }, {
1077
1077
  country?: {
1078
1078
  name?: string | undefined;
@@ -1099,13 +1099,13 @@ declare const SearchBoxFeatureSchema: z.ZodObject<{
1099
1099
  neighborhood?: {
1100
1100
  name?: string | undefined;
1101
1101
  } | undefined;
1102
+ street?: {
1103
+ name?: string | undefined;
1104
+ } | undefined;
1102
1105
  address?: {
1103
1106
  address_number?: string | undefined;
1104
1107
  street_name?: string | undefined;
1105
1108
  } | undefined;
1106
- street?: {
1107
- name?: string | undefined;
1108
- } | undefined;
1109
1109
  }>>;
1110
1110
  coordinates: z.ZodOptional<z.ZodObject<{
1111
1111
  longitude: z.ZodNumber;
@@ -1176,16 +1176,16 @@ declare const SearchBoxFeatureSchema: z.ZodObject<{
1176
1176
  }>>;
1177
1177
  maki: z.ZodOptional<z.ZodString>;
1178
1178
  operational_status: z.ZodOptional<z.ZodString>;
1179
- eta: z.ZodOptional<z.ZodObject<{
1179
+ eta: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
1180
1180
  duration: z.ZodOptional<z.ZodNumber>;
1181
1181
  distance: z.ZodOptional<z.ZodNumber>;
1182
1182
  }, "strip", z.ZodTypeAny, {
1183
- distance?: number | undefined;
1184
1183
  duration?: number | undefined;
1185
- }, {
1186
1184
  distance?: number | undefined;
1185
+ }, {
1187
1186
  duration?: number | undefined;
1188
- }>>;
1187
+ distance?: number | undefined;
1188
+ }>]>>;
1189
1189
  country: z.ZodOptional<z.ZodString>;
1190
1190
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1191
1191
  mapbox_id: z.ZodOptional<z.ZodString>;
@@ -1301,13 +1301,13 @@ declare const SearchBoxFeatureSchema: z.ZodObject<{
1301
1301
  neighborhood?: {
1302
1302
  name?: string | undefined;
1303
1303
  } | undefined;
1304
+ street?: {
1305
+ name?: string | undefined;
1306
+ } | undefined;
1304
1307
  address?: {
1305
1308
  address_number?: string | undefined;
1306
1309
  street_name?: string | undefined;
1307
1310
  } | undefined;
1308
- street?: {
1309
- name?: string | undefined;
1310
- } | undefined;
1311
1311
  }, {
1312
1312
  country?: {
1313
1313
  name?: string | undefined;
@@ -1334,13 +1334,13 @@ declare const SearchBoxFeatureSchema: z.ZodObject<{
1334
1334
  neighborhood?: {
1335
1335
  name?: string | undefined;
1336
1336
  } | undefined;
1337
+ street?: {
1338
+ name?: string | undefined;
1339
+ } | undefined;
1337
1340
  address?: {
1338
1341
  address_number?: string | undefined;
1339
1342
  street_name?: string | undefined;
1340
1343
  } | undefined;
1341
- street?: {
1342
- name?: string | undefined;
1343
- } | undefined;
1344
1344
  }>>;
1345
1345
  coordinates: z.ZodOptional<z.ZodObject<{
1346
1346
  longitude: z.ZodNumber;
@@ -1411,16 +1411,16 @@ declare const SearchBoxFeatureSchema: z.ZodObject<{
1411
1411
  }>>;
1412
1412
  maki: z.ZodOptional<z.ZodString>;
1413
1413
  operational_status: z.ZodOptional<z.ZodString>;
1414
- eta: z.ZodOptional<z.ZodObject<{
1414
+ eta: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
1415
1415
  duration: z.ZodOptional<z.ZodNumber>;
1416
1416
  distance: z.ZodOptional<z.ZodNumber>;
1417
1417
  }, "strip", z.ZodTypeAny, {
1418
- distance?: number | undefined;
1419
1418
  duration?: number | undefined;
1420
- }, {
1421
1419
  distance?: number | undefined;
1420
+ }, {
1422
1421
  duration?: number | undefined;
1423
- }>>;
1422
+ distance?: number | undefined;
1423
+ }>]>>;
1424
1424
  country: z.ZodOptional<z.ZodString>;
1425
1425
  }, z.ZodTypeAny, "passthrough">>;
1426
1426
  }, "strip", z.ZodTypeAny, {
@@ -1430,17 +1430,25 @@ declare const SearchBoxFeatureSchema: z.ZodObject<{
1430
1430
  coordinates: number[];
1431
1431
  };
1432
1432
  properties: {
1433
- name?: string | undefined;
1434
- brand?: string[] | undefined;
1435
- bbox?: number[] | undefined;
1436
- country?: string | undefined;
1437
- address_number?: string | undefined;
1438
- street_name?: string | undefined;
1439
- name_preferred?: string | undefined;
1433
+ coordinates?: {
1434
+ longitude: number;
1435
+ latitude: number;
1436
+ accuracy?: string | undefined;
1437
+ routable_points?: {
1438
+ name: string;
1439
+ longitude: number;
1440
+ latitude: number;
1441
+ }[] | undefined;
1442
+ } | undefined;
1440
1443
  mapbox_id?: string | undefined;
1441
1444
  feature_type?: string | undefined;
1445
+ name?: string | undefined;
1446
+ name_preferred?: string | undefined;
1442
1447
  full_address?: string | undefined;
1443
1448
  place_formatted?: string | undefined;
1449
+ address_number?: string | undefined;
1450
+ street_name?: string | undefined;
1451
+ country?: string | undefined;
1444
1452
  context?: {
1445
1453
  country?: {
1446
1454
  name?: string | undefined;
@@ -1467,27 +1475,18 @@ declare const SearchBoxFeatureSchema: z.ZodObject<{
1467
1475
  neighborhood?: {
1468
1476
  name?: string | undefined;
1469
1477
  } | undefined;
1478
+ street?: {
1479
+ name?: string | undefined;
1480
+ } | undefined;
1470
1481
  address?: {
1471
1482
  address_number?: string | undefined;
1472
1483
  street_name?: string | undefined;
1473
1484
  } | undefined;
1474
- street?: {
1475
- name?: string | undefined;
1476
- } | undefined;
1477
- } | 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
1485
  } | undefined;
1488
- maki?: string | undefined;
1486
+ bbox?: number[] | undefined;
1489
1487
  poi_category?: string[] | undefined;
1490
1488
  poi_category_ids?: string[] | undefined;
1489
+ brand?: string[] | undefined;
1491
1490
  brand_id?: string | string[] | undefined;
1492
1491
  external_ids?: Record<string, string> | undefined;
1493
1492
  metadata?: {
@@ -1497,11 +1496,12 @@ declare const SearchBoxFeatureSchema: z.ZodObject<{
1497
1496
  ja_latin?: string | undefined;
1498
1497
  } | undefined;
1499
1498
  } | undefined;
1500
- eta?: {
1501
- distance?: number | undefined;
1499
+ maki?: string | undefined;
1500
+ operational_status?: string | undefined;
1501
+ eta?: number | {
1502
1502
  duration?: number | undefined;
1503
+ distance?: number | undefined;
1503
1504
  } | undefined;
1504
- operational_status?: string | undefined;
1505
1505
  } & {
1506
1506
  [k: string]: unknown;
1507
1507
  };
@@ -1512,17 +1512,25 @@ declare const SearchBoxFeatureSchema: z.ZodObject<{
1512
1512
  coordinates: number[];
1513
1513
  };
1514
1514
  properties: {
1515
- name?: string | undefined;
1516
- brand?: string[] | undefined;
1517
- bbox?: number[] | undefined;
1518
- country?: string | undefined;
1519
- address_number?: string | undefined;
1520
- street_name?: string | undefined;
1521
- name_preferred?: string | undefined;
1515
+ coordinates?: {
1516
+ longitude: number;
1517
+ latitude: number;
1518
+ accuracy?: string | undefined;
1519
+ routable_points?: {
1520
+ name: string;
1521
+ longitude: number;
1522
+ latitude: number;
1523
+ }[] | undefined;
1524
+ } | undefined;
1522
1525
  mapbox_id?: string | undefined;
1523
1526
  feature_type?: string | undefined;
1527
+ name?: string | undefined;
1528
+ name_preferred?: string | undefined;
1524
1529
  full_address?: string | undefined;
1525
1530
  place_formatted?: string | undefined;
1531
+ address_number?: string | undefined;
1532
+ street_name?: string | undefined;
1533
+ country?: string | undefined;
1526
1534
  context?: {
1527
1535
  country?: {
1528
1536
  name?: string | undefined;
@@ -1549,27 +1557,18 @@ declare const SearchBoxFeatureSchema: z.ZodObject<{
1549
1557
  neighborhood?: {
1550
1558
  name?: string | undefined;
1551
1559
  } | undefined;
1560
+ street?: {
1561
+ name?: string | undefined;
1562
+ } | undefined;
1552
1563
  address?: {
1553
1564
  address_number?: string | undefined;
1554
1565
  street_name?: string | undefined;
1555
1566
  } | undefined;
1556
- street?: {
1557
- name?: string | undefined;
1558
- } | undefined;
1559
1567
  } | 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;
1570
- maki?: string | undefined;
1568
+ bbox?: number[] | undefined;
1571
1569
  poi_category?: string[] | undefined;
1572
1570
  poi_category_ids?: string[] | undefined;
1571
+ brand?: string[] | undefined;
1573
1572
  brand_id?: string | string[] | undefined;
1574
1573
  external_ids?: Record<string, string> | undefined;
1575
1574
  metadata?: {
@@ -1579,11 +1578,12 @@ declare const SearchBoxFeatureSchema: z.ZodObject<{
1579
1578
  ja_latin?: string | undefined;
1580
1579
  } | undefined;
1581
1580
  } | undefined;
1582
- eta?: {
1583
- distance?: number | undefined;
1581
+ maki?: string | undefined;
1582
+ operational_status?: string | undefined;
1583
+ eta?: number | {
1584
1584
  duration?: number | undefined;
1585
+ distance?: number | undefined;
1585
1586
  } | undefined;
1586
- operational_status?: string | undefined;
1587
1587
  } & {
1588
1588
  [k: string]: unknown;
1589
1589
  };
@@ -1716,13 +1716,13 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
1716
1716
  neighborhood?: {
1717
1717
  name?: string | undefined;
1718
1718
  } | undefined;
1719
+ street?: {
1720
+ name?: string | undefined;
1721
+ } | undefined;
1719
1722
  address?: {
1720
1723
  address_number?: string | undefined;
1721
1724
  street_name?: string | undefined;
1722
1725
  } | undefined;
1723
- street?: {
1724
- name?: string | undefined;
1725
- } | undefined;
1726
1726
  }, {
1727
1727
  country?: {
1728
1728
  name?: string | undefined;
@@ -1749,13 +1749,13 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
1749
1749
  neighborhood?: {
1750
1750
  name?: string | undefined;
1751
1751
  } | undefined;
1752
+ street?: {
1753
+ name?: string | undefined;
1754
+ } | undefined;
1752
1755
  address?: {
1753
1756
  address_number?: string | undefined;
1754
1757
  street_name?: string | undefined;
1755
1758
  } | undefined;
1756
- street?: {
1757
- name?: string | undefined;
1758
- } | undefined;
1759
1759
  }>>;
1760
1760
  coordinates: z.ZodOptional<z.ZodObject<{
1761
1761
  longitude: z.ZodNumber;
@@ -1826,16 +1826,16 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
1826
1826
  }>>;
1827
1827
  maki: z.ZodOptional<z.ZodString>;
1828
1828
  operational_status: z.ZodOptional<z.ZodString>;
1829
- eta: z.ZodOptional<z.ZodObject<{
1829
+ eta: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
1830
1830
  duration: z.ZodOptional<z.ZodNumber>;
1831
1831
  distance: z.ZodOptional<z.ZodNumber>;
1832
1832
  }, "strip", z.ZodTypeAny, {
1833
- distance?: number | undefined;
1834
1833
  duration?: number | undefined;
1835
- }, {
1836
1834
  distance?: number | undefined;
1835
+ }, {
1837
1836
  duration?: number | undefined;
1838
- }>>;
1837
+ distance?: number | undefined;
1838
+ }>]>>;
1839
1839
  country: z.ZodOptional<z.ZodString>;
1840
1840
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1841
1841
  mapbox_id: z.ZodOptional<z.ZodString>;
@@ -1951,13 +1951,13 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
1951
1951
  neighborhood?: {
1952
1952
  name?: string | undefined;
1953
1953
  } | undefined;
1954
+ street?: {
1955
+ name?: string | undefined;
1956
+ } | undefined;
1954
1957
  address?: {
1955
1958
  address_number?: string | undefined;
1956
1959
  street_name?: string | undefined;
1957
1960
  } | undefined;
1958
- street?: {
1959
- name?: string | undefined;
1960
- } | undefined;
1961
1961
  }, {
1962
1962
  country?: {
1963
1963
  name?: string | undefined;
@@ -1984,13 +1984,13 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
1984
1984
  neighborhood?: {
1985
1985
  name?: string | undefined;
1986
1986
  } | undefined;
1987
+ street?: {
1988
+ name?: string | undefined;
1989
+ } | undefined;
1987
1990
  address?: {
1988
1991
  address_number?: string | undefined;
1989
1992
  street_name?: string | undefined;
1990
1993
  } | undefined;
1991
- street?: {
1992
- name?: string | undefined;
1993
- } | undefined;
1994
1994
  }>>;
1995
1995
  coordinates: z.ZodOptional<z.ZodObject<{
1996
1996
  longitude: z.ZodNumber;
@@ -2061,16 +2061,16 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
2061
2061
  }>>;
2062
2062
  maki: z.ZodOptional<z.ZodString>;
2063
2063
  operational_status: z.ZodOptional<z.ZodString>;
2064
- eta: z.ZodOptional<z.ZodObject<{
2064
+ eta: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
2065
2065
  duration: z.ZodOptional<z.ZodNumber>;
2066
2066
  distance: z.ZodOptional<z.ZodNumber>;
2067
2067
  }, "strip", z.ZodTypeAny, {
2068
- distance?: number | undefined;
2069
2068
  duration?: number | undefined;
2070
- }, {
2071
2069
  distance?: number | undefined;
2070
+ }, {
2072
2071
  duration?: number | undefined;
2073
- }>>;
2072
+ distance?: number | undefined;
2073
+ }>]>>;
2074
2074
  country: z.ZodOptional<z.ZodString>;
2075
2075
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2076
2076
  mapbox_id: z.ZodOptional<z.ZodString>;
@@ -2186,13 +2186,13 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
2186
2186
  neighborhood?: {
2187
2187
  name?: string | undefined;
2188
2188
  } | undefined;
2189
+ street?: {
2190
+ name?: string | undefined;
2191
+ } | undefined;
2189
2192
  address?: {
2190
2193
  address_number?: string | undefined;
2191
2194
  street_name?: string | undefined;
2192
2195
  } | undefined;
2193
- street?: {
2194
- name?: string | undefined;
2195
- } | undefined;
2196
2196
  }, {
2197
2197
  country?: {
2198
2198
  name?: string | undefined;
@@ -2219,13 +2219,13 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
2219
2219
  neighborhood?: {
2220
2220
  name?: string | undefined;
2221
2221
  } | undefined;
2222
+ street?: {
2223
+ name?: string | undefined;
2224
+ } | undefined;
2222
2225
  address?: {
2223
2226
  address_number?: string | undefined;
2224
2227
  street_name?: string | undefined;
2225
2228
  } | undefined;
2226
- street?: {
2227
- name?: string | undefined;
2228
- } | undefined;
2229
2229
  }>>;
2230
2230
  coordinates: z.ZodOptional<z.ZodObject<{
2231
2231
  longitude: z.ZodNumber;
@@ -2296,16 +2296,16 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
2296
2296
  }>>;
2297
2297
  maki: z.ZodOptional<z.ZodString>;
2298
2298
  operational_status: z.ZodOptional<z.ZodString>;
2299
- eta: z.ZodOptional<z.ZodObject<{
2299
+ eta: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
2300
2300
  duration: z.ZodOptional<z.ZodNumber>;
2301
2301
  distance: z.ZodOptional<z.ZodNumber>;
2302
2302
  }, "strip", z.ZodTypeAny, {
2303
- distance?: number | undefined;
2304
2303
  duration?: number | undefined;
2305
- }, {
2306
2304
  distance?: number | undefined;
2305
+ }, {
2307
2306
  duration?: number | undefined;
2308
- }>>;
2307
+ distance?: number | undefined;
2308
+ }>]>>;
2309
2309
  country: z.ZodOptional<z.ZodString>;
2310
2310
  }, z.ZodTypeAny, "passthrough">>;
2311
2311
  }, "strip", z.ZodTypeAny, {
@@ -2315,17 +2315,25 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
2315
2315
  coordinates: number[];
2316
2316
  };
2317
2317
  properties: {
2318
- name?: string | undefined;
2319
- brand?: string[] | undefined;
2320
- bbox?: number[] | undefined;
2321
- country?: string | undefined;
2322
- address_number?: string | undefined;
2323
- street_name?: string | undefined;
2324
- name_preferred?: string | undefined;
2318
+ coordinates?: {
2319
+ longitude: number;
2320
+ latitude: number;
2321
+ accuracy?: string | undefined;
2322
+ routable_points?: {
2323
+ name: string;
2324
+ longitude: number;
2325
+ latitude: number;
2326
+ }[] | undefined;
2327
+ } | undefined;
2325
2328
  mapbox_id?: string | undefined;
2326
2329
  feature_type?: string | undefined;
2330
+ name?: string | undefined;
2331
+ name_preferred?: string | undefined;
2327
2332
  full_address?: string | undefined;
2328
2333
  place_formatted?: string | undefined;
2334
+ address_number?: string | undefined;
2335
+ street_name?: string | undefined;
2336
+ country?: string | undefined;
2329
2337
  context?: {
2330
2338
  country?: {
2331
2339
  name?: string | undefined;
@@ -2352,27 +2360,18 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
2352
2360
  neighborhood?: {
2353
2361
  name?: string | undefined;
2354
2362
  } | undefined;
2363
+ street?: {
2364
+ name?: string | undefined;
2365
+ } | undefined;
2355
2366
  address?: {
2356
2367
  address_number?: string | undefined;
2357
2368
  street_name?: string | undefined;
2358
2369
  } | undefined;
2359
- street?: {
2360
- name?: string | undefined;
2361
- } | undefined;
2362
- } | 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
2370
  } | undefined;
2373
- maki?: string | undefined;
2371
+ bbox?: number[] | undefined;
2374
2372
  poi_category?: string[] | undefined;
2375
2373
  poi_category_ids?: string[] | undefined;
2374
+ brand?: string[] | undefined;
2376
2375
  brand_id?: string | string[] | undefined;
2377
2376
  external_ids?: Record<string, string> | undefined;
2378
2377
  metadata?: {
@@ -2382,11 +2381,12 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
2382
2381
  ja_latin?: string | undefined;
2383
2382
  } | undefined;
2384
2383
  } | undefined;
2385
- eta?: {
2386
- distance?: number | undefined;
2384
+ maki?: string | undefined;
2385
+ operational_status?: string | undefined;
2386
+ eta?: number | {
2387
2387
  duration?: number | undefined;
2388
+ distance?: number | undefined;
2388
2389
  } | undefined;
2389
- operational_status?: string | undefined;
2390
2390
  } & {
2391
2391
  [k: string]: unknown;
2392
2392
  };
@@ -2397,17 +2397,25 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
2397
2397
  coordinates: number[];
2398
2398
  };
2399
2399
  properties: {
2400
- name?: string | undefined;
2401
- brand?: string[] | undefined;
2402
- bbox?: number[] | undefined;
2403
- country?: string | undefined;
2404
- address_number?: string | undefined;
2405
- street_name?: string | undefined;
2406
- name_preferred?: string | undefined;
2400
+ coordinates?: {
2401
+ longitude: number;
2402
+ latitude: number;
2403
+ accuracy?: string | undefined;
2404
+ routable_points?: {
2405
+ name: string;
2406
+ longitude: number;
2407
+ latitude: number;
2408
+ }[] | undefined;
2409
+ } | undefined;
2407
2410
  mapbox_id?: string | undefined;
2408
2411
  feature_type?: string | undefined;
2412
+ name?: string | undefined;
2413
+ name_preferred?: string | undefined;
2409
2414
  full_address?: string | undefined;
2410
2415
  place_formatted?: string | undefined;
2416
+ address_number?: string | undefined;
2417
+ street_name?: string | undefined;
2418
+ country?: string | undefined;
2411
2419
  context?: {
2412
2420
  country?: {
2413
2421
  name?: string | undefined;
@@ -2434,27 +2442,18 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
2434
2442
  neighborhood?: {
2435
2443
  name?: string | undefined;
2436
2444
  } | undefined;
2445
+ street?: {
2446
+ name?: string | undefined;
2447
+ } | undefined;
2437
2448
  address?: {
2438
2449
  address_number?: string | undefined;
2439
2450
  street_name?: string | undefined;
2440
2451
  } | undefined;
2441
- street?: {
2442
- name?: string | undefined;
2443
- } | undefined;
2444
- } | 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
2452
  } | undefined;
2455
- maki?: string | undefined;
2453
+ bbox?: number[] | undefined;
2456
2454
  poi_category?: string[] | undefined;
2457
2455
  poi_category_ids?: string[] | undefined;
2456
+ brand?: string[] | undefined;
2458
2457
  brand_id?: string | string[] | undefined;
2459
2458
  external_ids?: Record<string, string> | undefined;
2460
2459
  metadata?: {
@@ -2464,11 +2463,12 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
2464
2463
  ja_latin?: string | undefined;
2465
2464
  } | undefined;
2466
2465
  } | undefined;
2467
- eta?: {
2468
- distance?: number | undefined;
2466
+ maki?: string | undefined;
2467
+ operational_status?: string | undefined;
2468
+ eta?: number | {
2469
2469
  duration?: number | undefined;
2470
+ distance?: number | undefined;
2470
2471
  } | undefined;
2471
- operational_status?: string | undefined;
2472
2472
  } & {
2473
2473
  [k: string]: unknown;
2474
2474
  };
@@ -2483,17 +2483,25 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
2483
2483
  coordinates: number[];
2484
2484
  };
2485
2485
  properties: {
2486
- name?: string | undefined;
2487
- brand?: string[] | undefined;
2488
- bbox?: number[] | undefined;
2489
- country?: string | undefined;
2490
- address_number?: string | undefined;
2491
- street_name?: string | undefined;
2492
- name_preferred?: string | undefined;
2486
+ coordinates?: {
2487
+ longitude: number;
2488
+ latitude: number;
2489
+ accuracy?: string | undefined;
2490
+ routable_points?: {
2491
+ name: string;
2492
+ longitude: number;
2493
+ latitude: number;
2494
+ }[] | undefined;
2495
+ } | undefined;
2493
2496
  mapbox_id?: string | undefined;
2494
2497
  feature_type?: string | undefined;
2498
+ name?: string | undefined;
2499
+ name_preferred?: string | undefined;
2495
2500
  full_address?: string | undefined;
2496
2501
  place_formatted?: string | undefined;
2502
+ address_number?: string | undefined;
2503
+ street_name?: string | undefined;
2504
+ country?: string | undefined;
2497
2505
  context?: {
2498
2506
  country?: {
2499
2507
  name?: string | undefined;
@@ -2520,27 +2528,18 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
2520
2528
  neighborhood?: {
2521
2529
  name?: string | undefined;
2522
2530
  } | undefined;
2531
+ street?: {
2532
+ name?: string | undefined;
2533
+ } | undefined;
2523
2534
  address?: {
2524
2535
  address_number?: string | undefined;
2525
2536
  street_name?: string | undefined;
2526
2537
  } | undefined;
2527
- street?: {
2528
- name?: string | undefined;
2529
- } | undefined;
2530
2538
  } | 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;
2541
- maki?: string | undefined;
2539
+ bbox?: number[] | undefined;
2542
2540
  poi_category?: string[] | undefined;
2543
2541
  poi_category_ids?: string[] | undefined;
2542
+ brand?: string[] | undefined;
2544
2543
  brand_id?: string | string[] | undefined;
2545
2544
  external_ids?: Record<string, string> | undefined;
2546
2545
  metadata?: {
@@ -2550,11 +2549,12 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
2550
2549
  ja_latin?: string | undefined;
2551
2550
  } | undefined;
2552
2551
  } | undefined;
2553
- eta?: {
2554
- distance?: number | undefined;
2552
+ maki?: string | undefined;
2553
+ operational_status?: string | undefined;
2554
+ eta?: number | {
2555
2555
  duration?: number | undefined;
2556
+ distance?: number | undefined;
2556
2557
  } | undefined;
2557
- operational_status?: string | undefined;
2558
2558
  } & {
2559
2559
  [k: string]: unknown;
2560
2560
  };
@@ -2569,17 +2569,25 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
2569
2569
  coordinates: number[];
2570
2570
  };
2571
2571
  properties: {
2572
- name?: string | undefined;
2573
- brand?: string[] | undefined;
2574
- bbox?: number[] | undefined;
2575
- country?: string | undefined;
2576
- address_number?: string | undefined;
2577
- street_name?: string | undefined;
2578
- name_preferred?: string | undefined;
2572
+ coordinates?: {
2573
+ longitude: number;
2574
+ latitude: number;
2575
+ accuracy?: string | undefined;
2576
+ routable_points?: {
2577
+ name: string;
2578
+ longitude: number;
2579
+ latitude: number;
2580
+ }[] | undefined;
2581
+ } | undefined;
2579
2582
  mapbox_id?: string | undefined;
2580
2583
  feature_type?: string | undefined;
2584
+ name?: string | undefined;
2585
+ name_preferred?: string | undefined;
2581
2586
  full_address?: string | undefined;
2582
2587
  place_formatted?: string | undefined;
2588
+ address_number?: string | undefined;
2589
+ street_name?: string | undefined;
2590
+ country?: string | undefined;
2583
2591
  context?: {
2584
2592
  country?: {
2585
2593
  name?: string | undefined;
@@ -2606,27 +2614,18 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
2606
2614
  neighborhood?: {
2607
2615
  name?: string | undefined;
2608
2616
  } | undefined;
2617
+ street?: {
2618
+ name?: string | undefined;
2619
+ } | undefined;
2609
2620
  address?: {
2610
2621
  address_number?: string | undefined;
2611
2622
  street_name?: string | undefined;
2612
2623
  } | undefined;
2613
- street?: {
2614
- name?: string | undefined;
2615
- } | undefined;
2616
- } | 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
2624
  } | undefined;
2627
- maki?: string | undefined;
2625
+ bbox?: number[] | undefined;
2628
2626
  poi_category?: string[] | undefined;
2629
2627
  poi_category_ids?: string[] | undefined;
2628
+ brand?: string[] | undefined;
2630
2629
  brand_id?: string | string[] | undefined;
2631
2630
  external_ids?: Record<string, string> | undefined;
2632
2631
  metadata?: {
@@ -2636,11 +2635,12 @@ export declare const SearchBoxResponseSchema: z.ZodObject<{
2636
2635
  ja_latin?: string | undefined;
2637
2636
  } | undefined;
2638
2637
  } | undefined;
2639
- eta?: {
2640
- distance?: number | undefined;
2638
+ maki?: string | undefined;
2639
+ operational_status?: string | undefined;
2640
+ eta?: number | {
2641
2641
  duration?: number | undefined;
2642
+ distance?: number | undefined;
2642
2643
  } | undefined;
2643
- operational_status?: string | undefined;
2644
2644
  } & {
2645
2645
  [k: string]: unknown;
2646
2646
  };