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

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
@@ -7,14 +7,14 @@ declare const ContextSchema: z.ZodObject<{
7
7
  name: z.ZodString;
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  name: string;
10
- mapbox_id: string;
11
10
  address_number: string;
12
11
  street_name: string;
12
+ mapbox_id: string;
13
13
  }, {
14
14
  name: string;
15
- mapbox_id: string;
16
15
  address_number: string;
17
16
  street_name: string;
17
+ mapbox_id: string;
18
18
  }>>;
19
19
  street: z.ZodOptional<z.ZodObject<{
20
20
  mapbox_id: z.ZodString;
@@ -43,11 +43,11 @@ declare const ContextSchema: z.ZodObject<{
43
43
  language: z.ZodString;
44
44
  name: z.ZodString;
45
45
  }, "strip", z.ZodTypeAny, {
46
- language: string;
47
46
  name: string;
48
- }, {
49
47
  language: string;
48
+ }, {
50
49
  name: string;
50
+ language: string;
51
51
  }>>>;
52
52
  }, "strip", z.ZodTypeAny, {
53
53
  name: string;
@@ -57,8 +57,8 @@ declare const ContextSchema: z.ZodObject<{
57
57
  mapbox_id: string;
58
58
  } | undefined;
59
59
  translations?: Record<string, {
60
- language: string;
61
60
  name: string;
61
+ language: string;
62
62
  }> | undefined;
63
63
  }, {
64
64
  name: string;
@@ -68,8 +68,8 @@ declare const ContextSchema: z.ZodObject<{
68
68
  mapbox_id: string;
69
69
  } | undefined;
70
70
  translations?: Record<string, {
71
- language: string;
72
71
  name: string;
72
+ language: string;
73
73
  }> | undefined;
74
74
  }>>;
75
75
  postcode: z.ZodOptional<z.ZodObject<{
@@ -79,25 +79,25 @@ declare const ContextSchema: z.ZodObject<{
79
79
  language: z.ZodString;
80
80
  name: z.ZodString;
81
81
  }, "strip", z.ZodTypeAny, {
82
- language: string;
83
82
  name: string;
84
- }, {
85
83
  language: string;
84
+ }, {
86
85
  name: string;
86
+ language: string;
87
87
  }>>>;
88
88
  }, "strip", z.ZodTypeAny, {
89
89
  name: string;
90
90
  mapbox_id: string;
91
91
  translations?: Record<string, {
92
- language: string;
93
92
  name: string;
93
+ language: string;
94
94
  }> | undefined;
95
95
  }, {
96
96
  name: string;
97
97
  mapbox_id: string;
98
98
  translations?: Record<string, {
99
- language: string;
100
99
  name: string;
100
+ language: string;
101
101
  }> | undefined;
102
102
  }>>;
103
103
  locality: z.ZodOptional<z.ZodObject<{
@@ -118,11 +118,11 @@ declare const ContextSchema: z.ZodObject<{
118
118
  language: z.ZodString;
119
119
  name: z.ZodString;
120
120
  }, "strip", z.ZodTypeAny, {
121
- language: string;
122
121
  name: string;
123
- }, {
124
122
  language: string;
123
+ }, {
125
124
  name: string;
125
+ language: string;
126
126
  }>>>;
127
127
  }, "strip", z.ZodTypeAny, {
128
128
  name: string;
@@ -132,8 +132,8 @@ declare const ContextSchema: z.ZodObject<{
132
132
  mapbox_id: string;
133
133
  } | undefined;
134
134
  translations?: Record<string, {
135
- language: string;
136
135
  name: string;
136
+ language: string;
137
137
  }> | undefined;
138
138
  wikidata_id?: string | undefined;
139
139
  }, {
@@ -144,8 +144,8 @@ declare const ContextSchema: z.ZodObject<{
144
144
  mapbox_id: string;
145
145
  } | undefined;
146
146
  translations?: Record<string, {
147
- language: string;
148
147
  name: string;
148
+ language: string;
149
149
  }> | undefined;
150
150
  wikidata_id?: string | undefined;
151
151
  }>>;
@@ -167,11 +167,11 @@ declare const ContextSchema: z.ZodObject<{
167
167
  language: z.ZodString;
168
168
  name: z.ZodString;
169
169
  }, "strip", z.ZodTypeAny, {
170
- language: string;
171
170
  name: string;
172
- }, {
173
171
  language: string;
172
+ }, {
174
173
  name: string;
174
+ language: string;
175
175
  }>>>;
176
176
  }, "strip", z.ZodTypeAny, {
177
177
  name: string;
@@ -181,8 +181,8 @@ declare const ContextSchema: z.ZodObject<{
181
181
  mapbox_id: string;
182
182
  } | undefined;
183
183
  translations?: Record<string, {
184
- language: string;
185
184
  name: string;
185
+ language: string;
186
186
  }> | undefined;
187
187
  wikidata_id?: string | undefined;
188
188
  }, {
@@ -193,8 +193,8 @@ declare const ContextSchema: z.ZodObject<{
193
193
  mapbox_id: string;
194
194
  } | undefined;
195
195
  translations?: Record<string, {
196
- language: string;
197
196
  name: string;
197
+ language: string;
198
198
  }> | undefined;
199
199
  wikidata_id?: string | undefined;
200
200
  }>>;
@@ -206,26 +206,26 @@ declare const ContextSchema: z.ZodObject<{
206
206
  language: z.ZodString;
207
207
  name: z.ZodString;
208
208
  }, "strip", z.ZodTypeAny, {
209
- language: string;
210
209
  name: string;
211
- }, {
212
210
  language: string;
211
+ }, {
213
212
  name: string;
213
+ language: string;
214
214
  }>>>;
215
215
  }, "strip", z.ZodTypeAny, {
216
216
  name: string;
217
217
  mapbox_id: string;
218
218
  translations?: Record<string, {
219
- language: string;
220
219
  name: string;
220
+ language: string;
221
221
  }> | undefined;
222
222
  wikidata_id?: string | undefined;
223
223
  }, {
224
224
  name: string;
225
225
  mapbox_id: string;
226
226
  translations?: Record<string, {
227
- language: string;
228
227
  name: string;
228
+ language: string;
229
229
  }> | undefined;
230
230
  wikidata_id?: string | undefined;
231
231
  }>>;
@@ -239,30 +239,30 @@ declare const ContextSchema: z.ZodObject<{
239
239
  language: z.ZodString;
240
240
  name: z.ZodString;
241
241
  }, "strip", z.ZodTypeAny, {
242
- language: string;
243
242
  name: string;
244
- }, {
245
243
  language: string;
244
+ }, {
246
245
  name: string;
246
+ language: string;
247
247
  }>>>;
248
248
  }, "strip", z.ZodTypeAny, {
249
249
  name: string;
250
- mapbox_id: string;
251
250
  region_code: string;
252
251
  region_code_full: string;
252
+ mapbox_id: string;
253
253
  translations?: Record<string, {
254
- language: string;
255
254
  name: string;
255
+ language: string;
256
256
  }> | undefined;
257
257
  wikidata_id?: string | undefined;
258
258
  }, {
259
259
  name: string;
260
- mapbox_id: string;
261
260
  region_code: string;
262
261
  region_code_full: string;
262
+ mapbox_id: string;
263
263
  translations?: Record<string, {
264
- language: string;
265
264
  name: string;
265
+ language: string;
266
266
  }> | undefined;
267
267
  wikidata_id?: string | undefined;
268
268
  }>>;
@@ -276,30 +276,30 @@ declare const ContextSchema: z.ZodObject<{
276
276
  language: z.ZodString;
277
277
  name: z.ZodString;
278
278
  }, "strip", z.ZodTypeAny, {
279
- language: string;
280
279
  name: string;
281
- }, {
282
280
  language: string;
281
+ }, {
283
282
  name: string;
283
+ language: string;
284
284
  }>>>;
285
285
  }, "strip", z.ZodTypeAny, {
286
286
  name: string;
287
- mapbox_id: string;
288
287
  country_code: string;
289
288
  country_code_alpha_3: string;
289
+ mapbox_id: string;
290
290
  translations?: Record<string, {
291
- language: string;
292
291
  name: string;
292
+ language: string;
293
293
  }> | undefined;
294
294
  wikidata_id?: string | undefined;
295
295
  }, {
296
296
  name: string;
297
- mapbox_id: string;
298
297
  country_code: string;
299
298
  country_code_alpha_3: string;
299
+ mapbox_id: string;
300
300
  translations?: Record<string, {
301
- language: string;
302
301
  name: string;
302
+ language: string;
303
303
  }> | undefined;
304
304
  wikidata_id?: string | undefined;
305
305
  }>>;
@@ -335,23 +335,23 @@ declare const ContextSchema: z.ZodObject<{
335
335
  }, "strip", z.ZodTypeAny, {
336
336
  country?: {
337
337
  name: string;
338
- mapbox_id: string;
339
338
  country_code: string;
340
339
  country_code_alpha_3: string;
340
+ mapbox_id: string;
341
341
  translations?: Record<string, {
342
- language: string;
343
342
  name: string;
343
+ language: string;
344
344
  }> | undefined;
345
345
  wikidata_id?: string | undefined;
346
346
  } | undefined;
347
347
  region?: {
348
348
  name: string;
349
- mapbox_id: string;
350
349
  region_code: string;
351
350
  region_code_full: string;
351
+ mapbox_id: string;
352
352
  translations?: Record<string, {
353
- language: string;
354
353
  name: string;
354
+ language: string;
355
355
  }> | undefined;
356
356
  wikidata_id?: string | undefined;
357
357
  } | undefined;
@@ -359,16 +359,16 @@ declare const ContextSchema: z.ZodObject<{
359
359
  name: string;
360
360
  mapbox_id: string;
361
361
  translations?: Record<string, {
362
- language: string;
363
362
  name: string;
363
+ language: string;
364
364
  }> | undefined;
365
365
  } | undefined;
366
366
  district?: {
367
367
  name: string;
368
368
  mapbox_id: string;
369
369
  translations?: Record<string, {
370
- language: string;
371
370
  name: string;
371
+ language: string;
372
372
  }> | undefined;
373
373
  wikidata_id?: string | undefined;
374
374
  } | undefined;
@@ -380,8 +380,8 @@ declare const ContextSchema: z.ZodObject<{
380
380
  mapbox_id: string;
381
381
  } | undefined;
382
382
  translations?: Record<string, {
383
- language: string;
384
383
  name: string;
384
+ language: string;
385
385
  }> | undefined;
386
386
  wikidata_id?: string | undefined;
387
387
  } | undefined;
@@ -393,8 +393,8 @@ declare const ContextSchema: z.ZodObject<{
393
393
  mapbox_id: string;
394
394
  } | undefined;
395
395
  translations?: Record<string, {
396
- language: string;
397
396
  name: string;
397
+ language: string;
398
398
  }> | undefined;
399
399
  wikidata_id?: string | undefined;
400
400
  } | undefined;
@@ -406,15 +406,15 @@ declare const ContextSchema: z.ZodObject<{
406
406
  mapbox_id: string;
407
407
  } | undefined;
408
408
  translations?: Record<string, {
409
- language: string;
410
409
  name: string;
410
+ language: string;
411
411
  }> | undefined;
412
412
  } | undefined;
413
413
  address?: {
414
414
  name: string;
415
- mapbox_id: string;
416
415
  address_number: string;
417
416
  street_name: string;
417
+ mapbox_id: string;
418
418
  } | undefined;
419
419
  street?: {
420
420
  name: string;
@@ -434,23 +434,23 @@ declare const ContextSchema: z.ZodObject<{
434
434
  }, {
435
435
  country?: {
436
436
  name: string;
437
- mapbox_id: string;
438
437
  country_code: string;
439
438
  country_code_alpha_3: string;
439
+ mapbox_id: string;
440
440
  translations?: Record<string, {
441
- language: string;
442
441
  name: string;
442
+ language: string;
443
443
  }> | undefined;
444
444
  wikidata_id?: string | undefined;
445
445
  } | undefined;
446
446
  region?: {
447
447
  name: string;
448
- mapbox_id: string;
449
448
  region_code: string;
450
449
  region_code_full: string;
450
+ mapbox_id: string;
451
451
  translations?: Record<string, {
452
- language: string;
453
452
  name: string;
453
+ language: string;
454
454
  }> | undefined;
455
455
  wikidata_id?: string | undefined;
456
456
  } | undefined;
@@ -458,16 +458,16 @@ declare const ContextSchema: z.ZodObject<{
458
458
  name: string;
459
459
  mapbox_id: string;
460
460
  translations?: Record<string, {
461
- language: string;
462
461
  name: string;
462
+ language: string;
463
463
  }> | undefined;
464
464
  } | undefined;
465
465
  district?: {
466
466
  name: string;
467
467
  mapbox_id: string;
468
468
  translations?: Record<string, {
469
- language: string;
470
469
  name: string;
470
+ language: string;
471
471
  }> | undefined;
472
472
  wikidata_id?: string | undefined;
473
473
  } | undefined;
@@ -479,8 +479,8 @@ declare const ContextSchema: z.ZodObject<{
479
479
  mapbox_id: string;
480
480
  } | undefined;
481
481
  translations?: Record<string, {
482
- language: string;
483
482
  name: string;
483
+ language: string;
484
484
  }> | undefined;
485
485
  wikidata_id?: string | undefined;
486
486
  } | undefined;
@@ -492,8 +492,8 @@ declare const ContextSchema: z.ZodObject<{
492
492
  mapbox_id: string;
493
493
  } | undefined;
494
494
  translations?: Record<string, {
495
- language: string;
496
495
  name: string;
496
+ language: string;
497
497
  }> | undefined;
498
498
  wikidata_id?: string | undefined;
499
499
  } | undefined;
@@ -505,15 +505,15 @@ declare const ContextSchema: z.ZodObject<{
505
505
  mapbox_id: string;
506
506
  } | undefined;
507
507
  translations?: Record<string, {
508
- language: string;
509
508
  name: string;
509
+ language: string;
510
510
  }> | undefined;
511
511
  } | undefined;
512
512
  address?: {
513
513
  name: string;
514
- mapbox_id: string;
515
514
  address_number: string;
516
515
  street_name: string;
516
+ mapbox_id: string;
517
517
  } | undefined;
518
518
  street?: {
519
519
  name: string;
@@ -543,20 +543,20 @@ declare const MatchCodeSchema: z.ZodObject<{
543
543
  }, "strip", z.ZodTypeAny, {
544
544
  confidence: "exact" | "low" | "high" | "medium";
545
545
  country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
546
+ address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
546
547
  region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
547
548
  postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
548
549
  place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
549
550
  locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
550
- address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
551
551
  street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
552
552
  }, {
553
553
  confidence: "exact" | "low" | "high" | "medium";
554
554
  country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
555
+ address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
555
556
  region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
556
557
  postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
557
558
  place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
558
559
  locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
559
- address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
560
560
  street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
561
561
  }>;
562
562
  declare const FeaturePropertiesSchema: z.ZodObject<{
@@ -574,14 +574,14 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
574
574
  name: z.ZodString;
575
575
  }, "strip", z.ZodTypeAny, {
576
576
  name: string;
577
- mapbox_id: string;
578
577
  address_number: string;
579
578
  street_name: string;
579
+ mapbox_id: string;
580
580
  }, {
581
581
  name: string;
582
- mapbox_id: string;
583
582
  address_number: string;
584
583
  street_name: string;
584
+ mapbox_id: string;
585
585
  }>>;
586
586
  street: z.ZodOptional<z.ZodObject<{
587
587
  mapbox_id: z.ZodString;
@@ -610,11 +610,11 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
610
610
  language: z.ZodString;
611
611
  name: z.ZodString;
612
612
  }, "strip", z.ZodTypeAny, {
613
- language: string;
614
613
  name: string;
615
- }, {
616
614
  language: string;
615
+ }, {
617
616
  name: string;
617
+ language: string;
618
618
  }>>>;
619
619
  }, "strip", z.ZodTypeAny, {
620
620
  name: string;
@@ -624,8 +624,8 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
624
624
  mapbox_id: string;
625
625
  } | undefined;
626
626
  translations?: Record<string, {
627
- language: string;
628
627
  name: string;
628
+ language: string;
629
629
  }> | undefined;
630
630
  }, {
631
631
  name: string;
@@ -635,8 +635,8 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
635
635
  mapbox_id: string;
636
636
  } | undefined;
637
637
  translations?: Record<string, {
638
- language: string;
639
638
  name: string;
639
+ language: string;
640
640
  }> | undefined;
641
641
  }>>;
642
642
  postcode: z.ZodOptional<z.ZodObject<{
@@ -646,25 +646,25 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
646
646
  language: z.ZodString;
647
647
  name: z.ZodString;
648
648
  }, "strip", z.ZodTypeAny, {
649
- language: string;
650
649
  name: string;
651
- }, {
652
650
  language: string;
651
+ }, {
653
652
  name: string;
653
+ language: string;
654
654
  }>>>;
655
655
  }, "strip", z.ZodTypeAny, {
656
656
  name: string;
657
657
  mapbox_id: string;
658
658
  translations?: Record<string, {
659
- language: string;
660
659
  name: string;
660
+ language: string;
661
661
  }> | undefined;
662
662
  }, {
663
663
  name: string;
664
664
  mapbox_id: string;
665
665
  translations?: Record<string, {
666
- language: string;
667
666
  name: string;
667
+ language: string;
668
668
  }> | undefined;
669
669
  }>>;
670
670
  locality: z.ZodOptional<z.ZodObject<{
@@ -685,11 +685,11 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
685
685
  language: z.ZodString;
686
686
  name: z.ZodString;
687
687
  }, "strip", z.ZodTypeAny, {
688
- language: string;
689
688
  name: string;
690
- }, {
691
689
  language: string;
690
+ }, {
692
691
  name: string;
692
+ language: string;
693
693
  }>>>;
694
694
  }, "strip", z.ZodTypeAny, {
695
695
  name: string;
@@ -699,8 +699,8 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
699
699
  mapbox_id: string;
700
700
  } | undefined;
701
701
  translations?: Record<string, {
702
- language: string;
703
702
  name: string;
703
+ language: string;
704
704
  }> | undefined;
705
705
  wikidata_id?: string | undefined;
706
706
  }, {
@@ -711,8 +711,8 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
711
711
  mapbox_id: string;
712
712
  } | undefined;
713
713
  translations?: Record<string, {
714
- language: string;
715
714
  name: string;
715
+ language: string;
716
716
  }> | undefined;
717
717
  wikidata_id?: string | undefined;
718
718
  }>>;
@@ -734,11 +734,11 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
734
734
  language: z.ZodString;
735
735
  name: z.ZodString;
736
736
  }, "strip", z.ZodTypeAny, {
737
- language: string;
738
737
  name: string;
739
- }, {
740
738
  language: string;
739
+ }, {
741
740
  name: string;
741
+ language: string;
742
742
  }>>>;
743
743
  }, "strip", z.ZodTypeAny, {
744
744
  name: string;
@@ -748,8 +748,8 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
748
748
  mapbox_id: string;
749
749
  } | undefined;
750
750
  translations?: Record<string, {
751
- language: string;
752
751
  name: string;
752
+ language: string;
753
753
  }> | undefined;
754
754
  wikidata_id?: string | undefined;
755
755
  }, {
@@ -760,8 +760,8 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
760
760
  mapbox_id: string;
761
761
  } | undefined;
762
762
  translations?: Record<string, {
763
- language: string;
764
763
  name: string;
764
+ language: string;
765
765
  }> | undefined;
766
766
  wikidata_id?: string | undefined;
767
767
  }>>;
@@ -773,26 +773,26 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
773
773
  language: z.ZodString;
774
774
  name: z.ZodString;
775
775
  }, "strip", z.ZodTypeAny, {
776
- language: string;
777
776
  name: string;
778
- }, {
779
777
  language: string;
778
+ }, {
780
779
  name: string;
780
+ language: string;
781
781
  }>>>;
782
782
  }, "strip", z.ZodTypeAny, {
783
783
  name: string;
784
784
  mapbox_id: string;
785
785
  translations?: Record<string, {
786
- language: string;
787
786
  name: string;
787
+ language: string;
788
788
  }> | undefined;
789
789
  wikidata_id?: string | undefined;
790
790
  }, {
791
791
  name: string;
792
792
  mapbox_id: string;
793
793
  translations?: Record<string, {
794
- language: string;
795
794
  name: string;
795
+ language: string;
796
796
  }> | undefined;
797
797
  wikidata_id?: string | undefined;
798
798
  }>>;
@@ -806,30 +806,30 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
806
806
  language: z.ZodString;
807
807
  name: z.ZodString;
808
808
  }, "strip", z.ZodTypeAny, {
809
- language: string;
810
809
  name: string;
811
- }, {
812
810
  language: string;
811
+ }, {
813
812
  name: string;
813
+ language: string;
814
814
  }>>>;
815
815
  }, "strip", z.ZodTypeAny, {
816
816
  name: string;
817
- mapbox_id: string;
818
817
  region_code: string;
819
818
  region_code_full: string;
819
+ mapbox_id: string;
820
820
  translations?: Record<string, {
821
- language: string;
822
821
  name: string;
822
+ language: string;
823
823
  }> | undefined;
824
824
  wikidata_id?: string | undefined;
825
825
  }, {
826
826
  name: string;
827
- mapbox_id: string;
828
827
  region_code: string;
829
828
  region_code_full: string;
829
+ mapbox_id: string;
830
830
  translations?: Record<string, {
831
- language: string;
832
831
  name: string;
832
+ language: string;
833
833
  }> | undefined;
834
834
  wikidata_id?: string | undefined;
835
835
  }>>;
@@ -843,30 +843,30 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
843
843
  language: z.ZodString;
844
844
  name: z.ZodString;
845
845
  }, "strip", z.ZodTypeAny, {
846
- language: string;
847
846
  name: string;
848
- }, {
849
847
  language: string;
848
+ }, {
850
849
  name: string;
850
+ language: string;
851
851
  }>>>;
852
852
  }, "strip", z.ZodTypeAny, {
853
853
  name: string;
854
- mapbox_id: string;
855
854
  country_code: string;
856
855
  country_code_alpha_3: string;
856
+ mapbox_id: string;
857
857
  translations?: Record<string, {
858
- language: string;
859
858
  name: string;
859
+ language: string;
860
860
  }> | undefined;
861
861
  wikidata_id?: string | undefined;
862
862
  }, {
863
863
  name: string;
864
- mapbox_id: string;
865
864
  country_code: string;
866
865
  country_code_alpha_3: string;
866
+ mapbox_id: string;
867
867
  translations?: Record<string, {
868
- language: string;
869
868
  name: string;
869
+ language: string;
870
870
  }> | undefined;
871
871
  wikidata_id?: string | undefined;
872
872
  }>>;
@@ -902,23 +902,23 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
902
902
  }, "strip", z.ZodTypeAny, {
903
903
  country?: {
904
904
  name: string;
905
- mapbox_id: string;
906
905
  country_code: string;
907
906
  country_code_alpha_3: string;
907
+ mapbox_id: string;
908
908
  translations?: Record<string, {
909
- language: string;
910
909
  name: string;
910
+ language: string;
911
911
  }> | undefined;
912
912
  wikidata_id?: string | undefined;
913
913
  } | undefined;
914
914
  region?: {
915
915
  name: string;
916
- mapbox_id: string;
917
916
  region_code: string;
918
917
  region_code_full: string;
918
+ mapbox_id: string;
919
919
  translations?: Record<string, {
920
- language: string;
921
920
  name: string;
921
+ language: string;
922
922
  }> | undefined;
923
923
  wikidata_id?: string | undefined;
924
924
  } | undefined;
@@ -926,16 +926,16 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
926
926
  name: string;
927
927
  mapbox_id: string;
928
928
  translations?: Record<string, {
929
- language: string;
930
929
  name: string;
930
+ language: string;
931
931
  }> | undefined;
932
932
  } | undefined;
933
933
  district?: {
934
934
  name: string;
935
935
  mapbox_id: string;
936
936
  translations?: Record<string, {
937
- language: string;
938
937
  name: string;
938
+ language: string;
939
939
  }> | undefined;
940
940
  wikidata_id?: string | undefined;
941
941
  } | undefined;
@@ -947,8 +947,8 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
947
947
  mapbox_id: string;
948
948
  } | undefined;
949
949
  translations?: Record<string, {
950
- language: string;
951
950
  name: string;
951
+ language: string;
952
952
  }> | undefined;
953
953
  wikidata_id?: string | undefined;
954
954
  } | undefined;
@@ -960,8 +960,8 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
960
960
  mapbox_id: string;
961
961
  } | undefined;
962
962
  translations?: Record<string, {
963
- language: string;
964
963
  name: string;
964
+ language: string;
965
965
  }> | undefined;
966
966
  wikidata_id?: string | undefined;
967
967
  } | undefined;
@@ -973,15 +973,15 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
973
973
  mapbox_id: string;
974
974
  } | undefined;
975
975
  translations?: Record<string, {
976
- language: string;
977
976
  name: string;
977
+ language: string;
978
978
  }> | undefined;
979
979
  } | undefined;
980
980
  address?: {
981
981
  name: string;
982
- mapbox_id: string;
983
982
  address_number: string;
984
983
  street_name: string;
984
+ mapbox_id: string;
985
985
  } | undefined;
986
986
  street?: {
987
987
  name: string;
@@ -1001,23 +1001,23 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
1001
1001
  }, {
1002
1002
  country?: {
1003
1003
  name: string;
1004
- mapbox_id: string;
1005
1004
  country_code: string;
1006
1005
  country_code_alpha_3: string;
1006
+ mapbox_id: string;
1007
1007
  translations?: Record<string, {
1008
- language: string;
1009
1008
  name: string;
1009
+ language: string;
1010
1010
  }> | undefined;
1011
1011
  wikidata_id?: string | undefined;
1012
1012
  } | undefined;
1013
1013
  region?: {
1014
1014
  name: string;
1015
- mapbox_id: string;
1016
1015
  region_code: string;
1017
1016
  region_code_full: string;
1017
+ mapbox_id: string;
1018
1018
  translations?: Record<string, {
1019
- language: string;
1020
1019
  name: string;
1020
+ language: string;
1021
1021
  }> | undefined;
1022
1022
  wikidata_id?: string | undefined;
1023
1023
  } | undefined;
@@ -1025,16 +1025,16 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
1025
1025
  name: string;
1026
1026
  mapbox_id: string;
1027
1027
  translations?: Record<string, {
1028
- language: string;
1029
1028
  name: string;
1029
+ language: string;
1030
1030
  }> | undefined;
1031
1031
  } | undefined;
1032
1032
  district?: {
1033
1033
  name: string;
1034
1034
  mapbox_id: string;
1035
1035
  translations?: Record<string, {
1036
- language: string;
1037
1036
  name: string;
1037
+ language: string;
1038
1038
  }> | undefined;
1039
1039
  wikidata_id?: string | undefined;
1040
1040
  } | undefined;
@@ -1046,8 +1046,8 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
1046
1046
  mapbox_id: string;
1047
1047
  } | undefined;
1048
1048
  translations?: Record<string, {
1049
- language: string;
1050
1049
  name: string;
1050
+ language: string;
1051
1051
  }> | undefined;
1052
1052
  wikidata_id?: string | undefined;
1053
1053
  } | undefined;
@@ -1059,8 +1059,8 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
1059
1059
  mapbox_id: string;
1060
1060
  } | undefined;
1061
1061
  translations?: Record<string, {
1062
- language: string;
1063
1062
  name: string;
1063
+ language: string;
1064
1064
  }> | undefined;
1065
1065
  wikidata_id?: string | undefined;
1066
1066
  } | undefined;
@@ -1072,15 +1072,15 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
1072
1072
  mapbox_id: string;
1073
1073
  } | undefined;
1074
1074
  translations?: Record<string, {
1075
- language: string;
1076
1075
  name: string;
1076
+ language: string;
1077
1077
  }> | undefined;
1078
1078
  } | undefined;
1079
1079
  address?: {
1080
1080
  name: string;
1081
- mapbox_id: string;
1082
1081
  address_number: string;
1083
1082
  street_name: string;
1083
+ mapbox_id: string;
1084
1084
  } | undefined;
1085
1085
  street?: {
1086
1086
  name: string;
@@ -1147,20 +1147,20 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
1147
1147
  }, "strip", z.ZodTypeAny, {
1148
1148
  confidence: "exact" | "low" | "high" | "medium";
1149
1149
  country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1150
+ address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1150
1151
  region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1151
1152
  postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1152
1153
  place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1153
1154
  locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1154
- address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1155
1155
  street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1156
1156
  }, {
1157
1157
  confidence: "exact" | "low" | "high" | "medium";
1158
1158
  country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1159
+ address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1159
1160
  region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1160
1161
  postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1161
1162
  place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1162
1163
  locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1163
- address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1164
1164
  street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1165
1165
  }>>;
1166
1166
  reading: z.ZodOptional<z.ZodObject<{
@@ -1175,38 +1175,28 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
1175
1175
  }>>;
1176
1176
  }, "strip", z.ZodTypeAny, {
1177
1177
  name: string;
1178
- coordinates: {
1179
- longitude: number;
1180
- latitude: number;
1181
- accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
1182
- routable_points?: {
1183
- name: string;
1184
- longitude: number;
1185
- latitude: number;
1186
- }[] | undefined;
1187
- };
1188
1178
  mapbox_id: string;
1189
1179
  feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
1190
1180
  context: {
1191
1181
  country?: {
1192
1182
  name: string;
1193
- mapbox_id: string;
1194
1183
  country_code: string;
1195
1184
  country_code_alpha_3: string;
1185
+ mapbox_id: string;
1196
1186
  translations?: Record<string, {
1197
- language: string;
1198
1187
  name: string;
1188
+ language: string;
1199
1189
  }> | undefined;
1200
1190
  wikidata_id?: string | undefined;
1201
1191
  } | undefined;
1202
1192
  region?: {
1203
1193
  name: string;
1204
- mapbox_id: string;
1205
1194
  region_code: string;
1206
1195
  region_code_full: string;
1196
+ mapbox_id: string;
1207
1197
  translations?: Record<string, {
1208
- language: string;
1209
1198
  name: string;
1199
+ language: string;
1210
1200
  }> | undefined;
1211
1201
  wikidata_id?: string | undefined;
1212
1202
  } | undefined;
@@ -1214,16 +1204,16 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
1214
1204
  name: string;
1215
1205
  mapbox_id: string;
1216
1206
  translations?: Record<string, {
1217
- language: string;
1218
1207
  name: string;
1208
+ language: string;
1219
1209
  }> | undefined;
1220
1210
  } | undefined;
1221
1211
  district?: {
1222
1212
  name: string;
1223
1213
  mapbox_id: string;
1224
1214
  translations?: Record<string, {
1225
- language: string;
1226
1215
  name: string;
1216
+ language: string;
1227
1217
  }> | undefined;
1228
1218
  wikidata_id?: string | undefined;
1229
1219
  } | undefined;
@@ -1235,8 +1225,8 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
1235
1225
  mapbox_id: string;
1236
1226
  } | undefined;
1237
1227
  translations?: Record<string, {
1238
- language: string;
1239
1228
  name: string;
1229
+ language: string;
1240
1230
  }> | undefined;
1241
1231
  wikidata_id?: string | undefined;
1242
1232
  } | undefined;
@@ -1248,8 +1238,8 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
1248
1238
  mapbox_id: string;
1249
1239
  } | undefined;
1250
1240
  translations?: Record<string, {
1251
- language: string;
1252
1241
  name: string;
1242
+ language: string;
1253
1243
  }> | undefined;
1254
1244
  wikidata_id?: string | undefined;
1255
1245
  } | undefined;
@@ -1261,15 +1251,15 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
1261
1251
  mapbox_id: string;
1262
1252
  } | undefined;
1263
1253
  translations?: Record<string, {
1264
- language: string;
1265
1254
  name: string;
1255
+ language: string;
1266
1256
  }> | undefined;
1267
1257
  } | undefined;
1268
1258
  address?: {
1269
1259
  name: string;
1270
- mapbox_id: string;
1271
1260
  address_number: string;
1272
1261
  street_name: string;
1262
+ mapbox_id: string;
1273
1263
  } | undefined;
1274
1264
  street?: {
1275
1265
  name: string;
@@ -1287,58 +1277,58 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
1287
1277
  extrapolated?: boolean | undefined;
1288
1278
  } | undefined;
1289
1279
  };
1290
- name_preferred?: string | undefined;
1291
- full_address?: string | undefined;
1292
- place_formatted?: string | undefined;
1280
+ coordinates: {
1281
+ longitude: number;
1282
+ latitude: number;
1283
+ accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
1284
+ routable_points?: {
1285
+ name: string;
1286
+ longitude: number;
1287
+ latitude: number;
1288
+ }[] | undefined;
1289
+ };
1293
1290
  bbox?: [number, number, number, number] | undefined;
1294
1291
  reading?: {
1295
1292
  'ja-Kana'?: string | undefined;
1296
1293
  'ja-Latn'?: string | undefined;
1297
1294
  } | undefined;
1295
+ name_preferred?: string | undefined;
1296
+ full_address?: string | undefined;
1297
+ place_formatted?: string | undefined;
1298
1298
  match_code?: {
1299
1299
  confidence: "exact" | "low" | "high" | "medium";
1300
1300
  country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1301
+ address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1301
1302
  region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1302
1303
  postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1303
1304
  place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1304
1305
  locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1305
- address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1306
1306
  street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1307
1307
  } | undefined;
1308
1308
  }, {
1309
1309
  name: string;
1310
- coordinates: {
1311
- longitude: number;
1312
- latitude: number;
1313
- accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
1314
- routable_points?: {
1315
- name: string;
1316
- longitude: number;
1317
- latitude: number;
1318
- }[] | undefined;
1319
- };
1320
1310
  mapbox_id: string;
1321
1311
  feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
1322
1312
  context: {
1323
1313
  country?: {
1324
1314
  name: string;
1325
- mapbox_id: string;
1326
1315
  country_code: string;
1327
1316
  country_code_alpha_3: string;
1317
+ mapbox_id: string;
1328
1318
  translations?: Record<string, {
1329
- language: string;
1330
1319
  name: string;
1320
+ language: string;
1331
1321
  }> | undefined;
1332
1322
  wikidata_id?: string | undefined;
1333
1323
  } | undefined;
1334
1324
  region?: {
1335
1325
  name: string;
1336
- mapbox_id: string;
1337
1326
  region_code: string;
1338
1327
  region_code_full: string;
1328
+ mapbox_id: string;
1339
1329
  translations?: Record<string, {
1340
- language: string;
1341
1330
  name: string;
1331
+ language: string;
1342
1332
  }> | undefined;
1343
1333
  wikidata_id?: string | undefined;
1344
1334
  } | undefined;
@@ -1346,16 +1336,16 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
1346
1336
  name: string;
1347
1337
  mapbox_id: string;
1348
1338
  translations?: Record<string, {
1349
- language: string;
1350
1339
  name: string;
1340
+ language: string;
1351
1341
  }> | undefined;
1352
1342
  } | undefined;
1353
1343
  district?: {
1354
1344
  name: string;
1355
1345
  mapbox_id: string;
1356
1346
  translations?: Record<string, {
1357
- language: string;
1358
1347
  name: string;
1348
+ language: string;
1359
1349
  }> | undefined;
1360
1350
  wikidata_id?: string | undefined;
1361
1351
  } | undefined;
@@ -1367,8 +1357,8 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
1367
1357
  mapbox_id: string;
1368
1358
  } | undefined;
1369
1359
  translations?: Record<string, {
1370
- language: string;
1371
1360
  name: string;
1361
+ language: string;
1372
1362
  }> | undefined;
1373
1363
  wikidata_id?: string | undefined;
1374
1364
  } | undefined;
@@ -1380,8 +1370,8 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
1380
1370
  mapbox_id: string;
1381
1371
  } | undefined;
1382
1372
  translations?: Record<string, {
1383
- language: string;
1384
1373
  name: string;
1374
+ language: string;
1385
1375
  }> | undefined;
1386
1376
  wikidata_id?: string | undefined;
1387
1377
  } | undefined;
@@ -1393,15 +1383,15 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
1393
1383
  mapbox_id: string;
1394
1384
  } | undefined;
1395
1385
  translations?: Record<string, {
1396
- language: string;
1397
1386
  name: string;
1387
+ language: string;
1398
1388
  }> | undefined;
1399
1389
  } | undefined;
1400
1390
  address?: {
1401
1391
  name: string;
1402
- mapbox_id: string;
1403
1392
  address_number: string;
1404
1393
  street_name: string;
1394
+ mapbox_id: string;
1405
1395
  } | undefined;
1406
1396
  street?: {
1407
1397
  name: string;
@@ -1419,22 +1409,32 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
1419
1409
  extrapolated?: boolean | undefined;
1420
1410
  } | undefined;
1421
1411
  };
1422
- name_preferred?: string | undefined;
1423
- full_address?: string | undefined;
1424
- place_formatted?: string | undefined;
1412
+ coordinates: {
1413
+ longitude: number;
1414
+ latitude: number;
1415
+ accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
1416
+ routable_points?: {
1417
+ name: string;
1418
+ longitude: number;
1419
+ latitude: number;
1420
+ }[] | undefined;
1421
+ };
1425
1422
  bbox?: [number, number, number, number] | undefined;
1426
1423
  reading?: {
1427
1424
  'ja-Kana'?: string | undefined;
1428
1425
  'ja-Latn'?: string | undefined;
1429
1426
  } | undefined;
1427
+ name_preferred?: string | undefined;
1428
+ full_address?: string | undefined;
1429
+ place_formatted?: string | undefined;
1430
1430
  match_code?: {
1431
1431
  confidence: "exact" | "low" | "high" | "medium";
1432
1432
  country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1433
+ address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1433
1434
  region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1434
1435
  postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1435
1436
  place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1436
1437
  locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1437
- address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1438
1438
  street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
1439
1439
  } | undefined;
1440
1440
  }>;
@@ -1466,14 +1466,14 @@ declare const FeatureSchema: z.ZodObject<{
1466
1466
  name: z.ZodString;
1467
1467
  }, "strip", z.ZodTypeAny, {
1468
1468
  name: string;
1469
- mapbox_id: string;
1470
1469
  address_number: string;
1471
1470
  street_name: string;
1471
+ mapbox_id: string;
1472
1472
  }, {
1473
1473
  name: string;
1474
- mapbox_id: string;
1475
1474
  address_number: string;
1476
1475
  street_name: string;
1476
+ mapbox_id: string;
1477
1477
  }>>;
1478
1478
  street: z.ZodOptional<z.ZodObject<{
1479
1479
  mapbox_id: z.ZodString;
@@ -1502,11 +1502,11 @@ declare const FeatureSchema: z.ZodObject<{
1502
1502
  language: z.ZodString;
1503
1503
  name: z.ZodString;
1504
1504
  }, "strip", z.ZodTypeAny, {
1505
- language: string;
1506
1505
  name: string;
1507
- }, {
1508
1506
  language: string;
1507
+ }, {
1509
1508
  name: string;
1509
+ language: string;
1510
1510
  }>>>;
1511
1511
  }, "strip", z.ZodTypeAny, {
1512
1512
  name: string;
@@ -1516,8 +1516,8 @@ declare const FeatureSchema: z.ZodObject<{
1516
1516
  mapbox_id: string;
1517
1517
  } | undefined;
1518
1518
  translations?: Record<string, {
1519
- language: string;
1520
1519
  name: string;
1520
+ language: string;
1521
1521
  }> | undefined;
1522
1522
  }, {
1523
1523
  name: string;
@@ -1527,8 +1527,8 @@ declare const FeatureSchema: z.ZodObject<{
1527
1527
  mapbox_id: string;
1528
1528
  } | undefined;
1529
1529
  translations?: Record<string, {
1530
- language: string;
1531
1530
  name: string;
1531
+ language: string;
1532
1532
  }> | undefined;
1533
1533
  }>>;
1534
1534
  postcode: z.ZodOptional<z.ZodObject<{
@@ -1538,25 +1538,25 @@ declare const FeatureSchema: z.ZodObject<{
1538
1538
  language: z.ZodString;
1539
1539
  name: z.ZodString;
1540
1540
  }, "strip", z.ZodTypeAny, {
1541
- language: string;
1542
1541
  name: string;
1543
- }, {
1544
1542
  language: string;
1543
+ }, {
1545
1544
  name: string;
1545
+ language: string;
1546
1546
  }>>>;
1547
1547
  }, "strip", z.ZodTypeAny, {
1548
1548
  name: string;
1549
1549
  mapbox_id: string;
1550
1550
  translations?: Record<string, {
1551
- language: string;
1552
1551
  name: string;
1552
+ language: string;
1553
1553
  }> | undefined;
1554
1554
  }, {
1555
1555
  name: string;
1556
1556
  mapbox_id: string;
1557
1557
  translations?: Record<string, {
1558
- language: string;
1559
1558
  name: string;
1559
+ language: string;
1560
1560
  }> | undefined;
1561
1561
  }>>;
1562
1562
  locality: z.ZodOptional<z.ZodObject<{
@@ -1577,11 +1577,11 @@ declare const FeatureSchema: z.ZodObject<{
1577
1577
  language: z.ZodString;
1578
1578
  name: z.ZodString;
1579
1579
  }, "strip", z.ZodTypeAny, {
1580
- language: string;
1581
1580
  name: string;
1582
- }, {
1583
1581
  language: string;
1582
+ }, {
1584
1583
  name: string;
1584
+ language: string;
1585
1585
  }>>>;
1586
1586
  }, "strip", z.ZodTypeAny, {
1587
1587
  name: string;
@@ -1591,8 +1591,8 @@ declare const FeatureSchema: z.ZodObject<{
1591
1591
  mapbox_id: string;
1592
1592
  } | undefined;
1593
1593
  translations?: Record<string, {
1594
- language: string;
1595
1594
  name: string;
1595
+ language: string;
1596
1596
  }> | undefined;
1597
1597
  wikidata_id?: string | undefined;
1598
1598
  }, {
@@ -1603,8 +1603,8 @@ declare const FeatureSchema: z.ZodObject<{
1603
1603
  mapbox_id: string;
1604
1604
  } | undefined;
1605
1605
  translations?: Record<string, {
1606
- language: string;
1607
1606
  name: string;
1607
+ language: string;
1608
1608
  }> | undefined;
1609
1609
  wikidata_id?: string | undefined;
1610
1610
  }>>;
@@ -1626,11 +1626,11 @@ declare const FeatureSchema: z.ZodObject<{
1626
1626
  language: z.ZodString;
1627
1627
  name: z.ZodString;
1628
1628
  }, "strip", z.ZodTypeAny, {
1629
- language: string;
1630
1629
  name: string;
1631
- }, {
1632
1630
  language: string;
1631
+ }, {
1633
1632
  name: string;
1633
+ language: string;
1634
1634
  }>>>;
1635
1635
  }, "strip", z.ZodTypeAny, {
1636
1636
  name: string;
@@ -1640,8 +1640,8 @@ declare const FeatureSchema: z.ZodObject<{
1640
1640
  mapbox_id: string;
1641
1641
  } | undefined;
1642
1642
  translations?: Record<string, {
1643
- language: string;
1644
1643
  name: string;
1644
+ language: string;
1645
1645
  }> | undefined;
1646
1646
  wikidata_id?: string | undefined;
1647
1647
  }, {
@@ -1652,8 +1652,8 @@ declare const FeatureSchema: z.ZodObject<{
1652
1652
  mapbox_id: string;
1653
1653
  } | undefined;
1654
1654
  translations?: Record<string, {
1655
- language: string;
1656
1655
  name: string;
1656
+ language: string;
1657
1657
  }> | undefined;
1658
1658
  wikidata_id?: string | undefined;
1659
1659
  }>>;
@@ -1665,26 +1665,26 @@ declare const FeatureSchema: z.ZodObject<{
1665
1665
  language: z.ZodString;
1666
1666
  name: z.ZodString;
1667
1667
  }, "strip", z.ZodTypeAny, {
1668
- language: string;
1669
1668
  name: string;
1670
- }, {
1671
1669
  language: string;
1670
+ }, {
1672
1671
  name: string;
1672
+ language: string;
1673
1673
  }>>>;
1674
1674
  }, "strip", z.ZodTypeAny, {
1675
1675
  name: string;
1676
1676
  mapbox_id: string;
1677
1677
  translations?: Record<string, {
1678
- language: string;
1679
1678
  name: string;
1679
+ language: string;
1680
1680
  }> | undefined;
1681
1681
  wikidata_id?: string | undefined;
1682
1682
  }, {
1683
1683
  name: string;
1684
1684
  mapbox_id: string;
1685
1685
  translations?: Record<string, {
1686
- language: string;
1687
1686
  name: string;
1687
+ language: string;
1688
1688
  }> | undefined;
1689
1689
  wikidata_id?: string | undefined;
1690
1690
  }>>;
@@ -1698,30 +1698,30 @@ declare const FeatureSchema: z.ZodObject<{
1698
1698
  language: z.ZodString;
1699
1699
  name: z.ZodString;
1700
1700
  }, "strip", z.ZodTypeAny, {
1701
- language: string;
1702
1701
  name: string;
1703
- }, {
1704
1702
  language: string;
1703
+ }, {
1705
1704
  name: string;
1705
+ language: string;
1706
1706
  }>>>;
1707
1707
  }, "strip", z.ZodTypeAny, {
1708
1708
  name: string;
1709
- mapbox_id: string;
1710
1709
  region_code: string;
1711
1710
  region_code_full: string;
1711
+ mapbox_id: string;
1712
1712
  translations?: Record<string, {
1713
- language: string;
1714
1713
  name: string;
1714
+ language: string;
1715
1715
  }> | undefined;
1716
1716
  wikidata_id?: string | undefined;
1717
1717
  }, {
1718
1718
  name: string;
1719
- mapbox_id: string;
1720
1719
  region_code: string;
1721
1720
  region_code_full: string;
1721
+ mapbox_id: string;
1722
1722
  translations?: Record<string, {
1723
- language: string;
1724
1723
  name: string;
1724
+ language: string;
1725
1725
  }> | undefined;
1726
1726
  wikidata_id?: string | undefined;
1727
1727
  }>>;
@@ -1735,30 +1735,30 @@ declare const FeatureSchema: z.ZodObject<{
1735
1735
  language: z.ZodString;
1736
1736
  name: z.ZodString;
1737
1737
  }, "strip", z.ZodTypeAny, {
1738
- language: string;
1739
1738
  name: string;
1740
- }, {
1741
1739
  language: string;
1740
+ }, {
1742
1741
  name: string;
1742
+ language: string;
1743
1743
  }>>>;
1744
1744
  }, "strip", z.ZodTypeAny, {
1745
1745
  name: string;
1746
- mapbox_id: string;
1747
1746
  country_code: string;
1748
1747
  country_code_alpha_3: string;
1748
+ mapbox_id: string;
1749
1749
  translations?: Record<string, {
1750
- language: string;
1751
1750
  name: string;
1751
+ language: string;
1752
1752
  }> | undefined;
1753
1753
  wikidata_id?: string | undefined;
1754
1754
  }, {
1755
1755
  name: string;
1756
- mapbox_id: string;
1757
1756
  country_code: string;
1758
1757
  country_code_alpha_3: string;
1758
+ mapbox_id: string;
1759
1759
  translations?: Record<string, {
1760
- language: string;
1761
1760
  name: string;
1761
+ language: string;
1762
1762
  }> | undefined;
1763
1763
  wikidata_id?: string | undefined;
1764
1764
  }>>;
@@ -1794,23 +1794,23 @@ declare const FeatureSchema: z.ZodObject<{
1794
1794
  }, "strip", z.ZodTypeAny, {
1795
1795
  country?: {
1796
1796
  name: string;
1797
- mapbox_id: string;
1798
1797
  country_code: string;
1799
1798
  country_code_alpha_3: string;
1799
+ mapbox_id: string;
1800
1800
  translations?: Record<string, {
1801
- language: string;
1802
1801
  name: string;
1802
+ language: string;
1803
1803
  }> | undefined;
1804
1804
  wikidata_id?: string | undefined;
1805
1805
  } | undefined;
1806
1806
  region?: {
1807
1807
  name: string;
1808
- mapbox_id: string;
1809
1808
  region_code: string;
1810
1809
  region_code_full: string;
1810
+ mapbox_id: string;
1811
1811
  translations?: Record<string, {
1812
- language: string;
1813
1812
  name: string;
1813
+ language: string;
1814
1814
  }> | undefined;
1815
1815
  wikidata_id?: string | undefined;
1816
1816
  } | undefined;
@@ -1818,16 +1818,16 @@ declare const FeatureSchema: z.ZodObject<{
1818
1818
  name: string;
1819
1819
  mapbox_id: string;
1820
1820
  translations?: Record<string, {
1821
- language: string;
1822
1821
  name: string;
1822
+ language: string;
1823
1823
  }> | undefined;
1824
1824
  } | undefined;
1825
1825
  district?: {
1826
1826
  name: string;
1827
1827
  mapbox_id: string;
1828
1828
  translations?: Record<string, {
1829
- language: string;
1830
1829
  name: string;
1830
+ language: string;
1831
1831
  }> | undefined;
1832
1832
  wikidata_id?: string | undefined;
1833
1833
  } | undefined;
@@ -1839,8 +1839,8 @@ declare const FeatureSchema: z.ZodObject<{
1839
1839
  mapbox_id: string;
1840
1840
  } | undefined;
1841
1841
  translations?: Record<string, {
1842
- language: string;
1843
1842
  name: string;
1843
+ language: string;
1844
1844
  }> | undefined;
1845
1845
  wikidata_id?: string | undefined;
1846
1846
  } | undefined;
@@ -1852,8 +1852,8 @@ declare const FeatureSchema: z.ZodObject<{
1852
1852
  mapbox_id: string;
1853
1853
  } | undefined;
1854
1854
  translations?: Record<string, {
1855
- language: string;
1856
1855
  name: string;
1856
+ language: string;
1857
1857
  }> | undefined;
1858
1858
  wikidata_id?: string | undefined;
1859
1859
  } | undefined;
@@ -1865,15 +1865,15 @@ declare const FeatureSchema: z.ZodObject<{
1865
1865
  mapbox_id: string;
1866
1866
  } | undefined;
1867
1867
  translations?: Record<string, {
1868
- language: string;
1869
1868
  name: string;
1869
+ language: string;
1870
1870
  }> | undefined;
1871
1871
  } | undefined;
1872
1872
  address?: {
1873
1873
  name: string;
1874
- mapbox_id: string;
1875
1874
  address_number: string;
1876
1875
  street_name: string;
1876
+ mapbox_id: string;
1877
1877
  } | undefined;
1878
1878
  street?: {
1879
1879
  name: string;
@@ -1893,23 +1893,23 @@ declare const FeatureSchema: z.ZodObject<{
1893
1893
  }, {
1894
1894
  country?: {
1895
1895
  name: string;
1896
- mapbox_id: string;
1897
1896
  country_code: string;
1898
1897
  country_code_alpha_3: string;
1898
+ mapbox_id: string;
1899
1899
  translations?: Record<string, {
1900
- language: string;
1901
1900
  name: string;
1901
+ language: string;
1902
1902
  }> | undefined;
1903
1903
  wikidata_id?: string | undefined;
1904
1904
  } | undefined;
1905
1905
  region?: {
1906
1906
  name: string;
1907
- mapbox_id: string;
1908
1907
  region_code: string;
1909
1908
  region_code_full: string;
1909
+ mapbox_id: string;
1910
1910
  translations?: Record<string, {
1911
- language: string;
1912
1911
  name: string;
1912
+ language: string;
1913
1913
  }> | undefined;
1914
1914
  wikidata_id?: string | undefined;
1915
1915
  } | undefined;
@@ -1917,16 +1917,16 @@ declare const FeatureSchema: z.ZodObject<{
1917
1917
  name: string;
1918
1918
  mapbox_id: string;
1919
1919
  translations?: Record<string, {
1920
- language: string;
1921
1920
  name: string;
1921
+ language: string;
1922
1922
  }> | undefined;
1923
1923
  } | undefined;
1924
1924
  district?: {
1925
1925
  name: string;
1926
1926
  mapbox_id: string;
1927
1927
  translations?: Record<string, {
1928
- language: string;
1929
1928
  name: string;
1929
+ language: string;
1930
1930
  }> | undefined;
1931
1931
  wikidata_id?: string | undefined;
1932
1932
  } | undefined;
@@ -1938,8 +1938,8 @@ declare const FeatureSchema: z.ZodObject<{
1938
1938
  mapbox_id: string;
1939
1939
  } | undefined;
1940
1940
  translations?: Record<string, {
1941
- language: string;
1942
1941
  name: string;
1942
+ language: string;
1943
1943
  }> | undefined;
1944
1944
  wikidata_id?: string | undefined;
1945
1945
  } | undefined;
@@ -1951,8 +1951,8 @@ declare const FeatureSchema: z.ZodObject<{
1951
1951
  mapbox_id: string;
1952
1952
  } | undefined;
1953
1953
  translations?: Record<string, {
1954
- language: string;
1955
1954
  name: string;
1955
+ language: string;
1956
1956
  }> | undefined;
1957
1957
  wikidata_id?: string | undefined;
1958
1958
  } | undefined;
@@ -1964,15 +1964,15 @@ declare const FeatureSchema: z.ZodObject<{
1964
1964
  mapbox_id: string;
1965
1965
  } | undefined;
1966
1966
  translations?: Record<string, {
1967
- language: string;
1968
1967
  name: string;
1968
+ language: string;
1969
1969
  }> | undefined;
1970
1970
  } | undefined;
1971
1971
  address?: {
1972
1972
  name: string;
1973
- mapbox_id: string;
1974
1973
  address_number: string;
1975
1974
  street_name: string;
1975
+ mapbox_id: string;
1976
1976
  } | undefined;
1977
1977
  street?: {
1978
1978
  name: string;
@@ -2039,20 +2039,20 @@ declare const FeatureSchema: z.ZodObject<{
2039
2039
  }, "strip", z.ZodTypeAny, {
2040
2040
  confidence: "exact" | "low" | "high" | "medium";
2041
2041
  country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2042
+ address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2042
2043
  region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2043
2044
  postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2044
2045
  place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2045
2046
  locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2046
- address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2047
2047
  street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2048
2048
  }, {
2049
2049
  confidence: "exact" | "low" | "high" | "medium";
2050
2050
  country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2051
+ address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2051
2052
  region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2052
2053
  postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2053
2054
  place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2054
2055
  locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2055
- address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2056
2056
  street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2057
2057
  }>>;
2058
2058
  reading: z.ZodOptional<z.ZodObject<{
@@ -2067,38 +2067,28 @@ declare const FeatureSchema: z.ZodObject<{
2067
2067
  }>>;
2068
2068
  }, "strip", z.ZodTypeAny, {
2069
2069
  name: string;
2070
- coordinates: {
2071
- longitude: number;
2072
- latitude: number;
2073
- accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
2074
- routable_points?: {
2075
- name: string;
2076
- longitude: number;
2077
- latitude: number;
2078
- }[] | undefined;
2079
- };
2080
2070
  mapbox_id: string;
2081
2071
  feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
2082
2072
  context: {
2083
2073
  country?: {
2084
2074
  name: string;
2085
- mapbox_id: string;
2086
2075
  country_code: string;
2087
2076
  country_code_alpha_3: string;
2077
+ mapbox_id: string;
2088
2078
  translations?: Record<string, {
2089
- language: string;
2090
2079
  name: string;
2080
+ language: string;
2091
2081
  }> | undefined;
2092
2082
  wikidata_id?: string | undefined;
2093
2083
  } | undefined;
2094
2084
  region?: {
2095
2085
  name: string;
2096
- mapbox_id: string;
2097
2086
  region_code: string;
2098
2087
  region_code_full: string;
2088
+ mapbox_id: string;
2099
2089
  translations?: Record<string, {
2100
- language: string;
2101
2090
  name: string;
2091
+ language: string;
2102
2092
  }> | undefined;
2103
2093
  wikidata_id?: string | undefined;
2104
2094
  } | undefined;
@@ -2106,16 +2096,16 @@ declare const FeatureSchema: z.ZodObject<{
2106
2096
  name: string;
2107
2097
  mapbox_id: string;
2108
2098
  translations?: Record<string, {
2109
- language: string;
2110
2099
  name: string;
2100
+ language: string;
2111
2101
  }> | undefined;
2112
2102
  } | undefined;
2113
2103
  district?: {
2114
2104
  name: string;
2115
2105
  mapbox_id: string;
2116
2106
  translations?: Record<string, {
2117
- language: string;
2118
2107
  name: string;
2108
+ language: string;
2119
2109
  }> | undefined;
2120
2110
  wikidata_id?: string | undefined;
2121
2111
  } | undefined;
@@ -2127,8 +2117,8 @@ declare const FeatureSchema: z.ZodObject<{
2127
2117
  mapbox_id: string;
2128
2118
  } | undefined;
2129
2119
  translations?: Record<string, {
2130
- language: string;
2131
2120
  name: string;
2121
+ language: string;
2132
2122
  }> | undefined;
2133
2123
  wikidata_id?: string | undefined;
2134
2124
  } | undefined;
@@ -2140,8 +2130,8 @@ declare const FeatureSchema: z.ZodObject<{
2140
2130
  mapbox_id: string;
2141
2131
  } | undefined;
2142
2132
  translations?: Record<string, {
2143
- language: string;
2144
2133
  name: string;
2134
+ language: string;
2145
2135
  }> | undefined;
2146
2136
  wikidata_id?: string | undefined;
2147
2137
  } | undefined;
@@ -2153,15 +2143,15 @@ declare const FeatureSchema: z.ZodObject<{
2153
2143
  mapbox_id: string;
2154
2144
  } | undefined;
2155
2145
  translations?: Record<string, {
2156
- language: string;
2157
2146
  name: string;
2147
+ language: string;
2158
2148
  }> | undefined;
2159
2149
  } | undefined;
2160
2150
  address?: {
2161
2151
  name: string;
2162
- mapbox_id: string;
2163
2152
  address_number: string;
2164
2153
  street_name: string;
2154
+ mapbox_id: string;
2165
2155
  } | undefined;
2166
2156
  street?: {
2167
2157
  name: string;
@@ -2179,58 +2169,58 @@ declare const FeatureSchema: z.ZodObject<{
2179
2169
  extrapolated?: boolean | undefined;
2180
2170
  } | undefined;
2181
2171
  };
2182
- name_preferred?: string | undefined;
2183
- full_address?: string | undefined;
2184
- place_formatted?: string | undefined;
2172
+ coordinates: {
2173
+ longitude: number;
2174
+ latitude: number;
2175
+ accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
2176
+ routable_points?: {
2177
+ name: string;
2178
+ longitude: number;
2179
+ latitude: number;
2180
+ }[] | undefined;
2181
+ };
2185
2182
  bbox?: [number, number, number, number] | undefined;
2186
2183
  reading?: {
2187
2184
  'ja-Kana'?: string | undefined;
2188
2185
  'ja-Latn'?: string | undefined;
2189
2186
  } | undefined;
2187
+ name_preferred?: string | undefined;
2188
+ full_address?: string | undefined;
2189
+ place_formatted?: string | undefined;
2190
2190
  match_code?: {
2191
2191
  confidence: "exact" | "low" | "high" | "medium";
2192
2192
  country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2193
+ address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2193
2194
  region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2194
2195
  postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2195
2196
  place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2196
2197
  locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2197
- address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2198
2198
  street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2199
2199
  } | undefined;
2200
2200
  }, {
2201
2201
  name: string;
2202
- coordinates: {
2203
- longitude: number;
2204
- latitude: number;
2205
- accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
2206
- routable_points?: {
2207
- name: string;
2208
- longitude: number;
2209
- latitude: number;
2210
- }[] | undefined;
2211
- };
2212
2202
  mapbox_id: string;
2213
2203
  feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
2214
2204
  context: {
2215
2205
  country?: {
2216
2206
  name: string;
2217
- mapbox_id: string;
2218
2207
  country_code: string;
2219
2208
  country_code_alpha_3: string;
2209
+ mapbox_id: string;
2220
2210
  translations?: Record<string, {
2221
- language: string;
2222
2211
  name: string;
2212
+ language: string;
2223
2213
  }> | undefined;
2224
2214
  wikidata_id?: string | undefined;
2225
2215
  } | undefined;
2226
2216
  region?: {
2227
2217
  name: string;
2228
- mapbox_id: string;
2229
2218
  region_code: string;
2230
2219
  region_code_full: string;
2220
+ mapbox_id: string;
2231
2221
  translations?: Record<string, {
2232
- language: string;
2233
2222
  name: string;
2223
+ language: string;
2234
2224
  }> | undefined;
2235
2225
  wikidata_id?: string | undefined;
2236
2226
  } | undefined;
@@ -2238,16 +2228,16 @@ declare const FeatureSchema: z.ZodObject<{
2238
2228
  name: string;
2239
2229
  mapbox_id: string;
2240
2230
  translations?: Record<string, {
2241
- language: string;
2242
2231
  name: string;
2232
+ language: string;
2243
2233
  }> | undefined;
2244
2234
  } | undefined;
2245
2235
  district?: {
2246
2236
  name: string;
2247
2237
  mapbox_id: string;
2248
2238
  translations?: Record<string, {
2249
- language: string;
2250
2239
  name: string;
2240
+ language: string;
2251
2241
  }> | undefined;
2252
2242
  wikidata_id?: string | undefined;
2253
2243
  } | undefined;
@@ -2259,8 +2249,8 @@ declare const FeatureSchema: z.ZodObject<{
2259
2249
  mapbox_id: string;
2260
2250
  } | undefined;
2261
2251
  translations?: Record<string, {
2262
- language: string;
2263
2252
  name: string;
2253
+ language: string;
2264
2254
  }> | undefined;
2265
2255
  wikidata_id?: string | undefined;
2266
2256
  } | undefined;
@@ -2272,8 +2262,8 @@ declare const FeatureSchema: z.ZodObject<{
2272
2262
  mapbox_id: string;
2273
2263
  } | undefined;
2274
2264
  translations?: Record<string, {
2275
- language: string;
2276
2265
  name: string;
2266
+ language: string;
2277
2267
  }> | undefined;
2278
2268
  wikidata_id?: string | undefined;
2279
2269
  } | undefined;
@@ -2285,15 +2275,15 @@ declare const FeatureSchema: z.ZodObject<{
2285
2275
  mapbox_id: string;
2286
2276
  } | undefined;
2287
2277
  translations?: Record<string, {
2288
- language: string;
2289
2278
  name: string;
2279
+ language: string;
2290
2280
  }> | undefined;
2291
2281
  } | undefined;
2292
2282
  address?: {
2293
2283
  name: string;
2294
- mapbox_id: string;
2295
2284
  address_number: string;
2296
2285
  street_name: string;
2286
+ mapbox_id: string;
2297
2287
  } | undefined;
2298
2288
  street?: {
2299
2289
  name: string;
@@ -2311,66 +2301,66 @@ declare const FeatureSchema: z.ZodObject<{
2311
2301
  extrapolated?: boolean | undefined;
2312
2302
  } | undefined;
2313
2303
  };
2314
- name_preferred?: string | undefined;
2315
- full_address?: string | undefined;
2316
- place_formatted?: string | undefined;
2304
+ coordinates: {
2305
+ longitude: number;
2306
+ latitude: number;
2307
+ accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
2308
+ routable_points?: {
2309
+ name: string;
2310
+ longitude: number;
2311
+ latitude: number;
2312
+ }[] | undefined;
2313
+ };
2317
2314
  bbox?: [number, number, number, number] | undefined;
2318
2315
  reading?: {
2319
2316
  'ja-Kana'?: string | undefined;
2320
2317
  'ja-Latn'?: string | undefined;
2321
2318
  } | undefined;
2319
+ name_preferred?: string | undefined;
2320
+ full_address?: string | undefined;
2321
+ place_formatted?: string | undefined;
2322
2322
  match_code?: {
2323
2323
  confidence: "exact" | "low" | "high" | "medium";
2324
2324
  country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2325
+ address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2325
2326
  region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2326
2327
  postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2327
2328
  place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2328
2329
  locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2329
- address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2330
2330
  street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2331
2331
  } | undefined;
2332
2332
  }>;
2333
2333
  }, "strip", z.ZodTypeAny, {
2334
2334
  type: "Feature";
2335
+ id: string;
2335
2336
  geometry: {
2336
2337
  type: "Point";
2337
2338
  coordinates: [number, number];
2338
2339
  };
2339
- id: string;
2340
2340
  properties: {
2341
2341
  name: string;
2342
- coordinates: {
2343
- longitude: number;
2344
- latitude: number;
2345
- accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
2346
- routable_points?: {
2347
- name: string;
2348
- longitude: number;
2349
- latitude: number;
2350
- }[] | undefined;
2351
- };
2352
2342
  mapbox_id: string;
2353
2343
  feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
2354
2344
  context: {
2355
2345
  country?: {
2356
2346
  name: string;
2357
- mapbox_id: string;
2358
2347
  country_code: string;
2359
2348
  country_code_alpha_3: string;
2349
+ mapbox_id: string;
2360
2350
  translations?: Record<string, {
2361
- language: string;
2362
2351
  name: string;
2352
+ language: string;
2363
2353
  }> | undefined;
2364
2354
  wikidata_id?: string | undefined;
2365
2355
  } | undefined;
2366
2356
  region?: {
2367
2357
  name: string;
2368
- mapbox_id: string;
2369
2358
  region_code: string;
2370
2359
  region_code_full: string;
2360
+ mapbox_id: string;
2371
2361
  translations?: Record<string, {
2372
- language: string;
2373
2362
  name: string;
2363
+ language: string;
2374
2364
  }> | undefined;
2375
2365
  wikidata_id?: string | undefined;
2376
2366
  } | undefined;
@@ -2378,16 +2368,16 @@ declare const FeatureSchema: z.ZodObject<{
2378
2368
  name: string;
2379
2369
  mapbox_id: string;
2380
2370
  translations?: Record<string, {
2381
- language: string;
2382
2371
  name: string;
2372
+ language: string;
2383
2373
  }> | undefined;
2384
2374
  } | undefined;
2385
2375
  district?: {
2386
2376
  name: string;
2387
2377
  mapbox_id: string;
2388
2378
  translations?: Record<string, {
2389
- language: string;
2390
2379
  name: string;
2380
+ language: string;
2391
2381
  }> | undefined;
2392
2382
  wikidata_id?: string | undefined;
2393
2383
  } | undefined;
@@ -2399,8 +2389,8 @@ declare const FeatureSchema: z.ZodObject<{
2399
2389
  mapbox_id: string;
2400
2390
  } | undefined;
2401
2391
  translations?: Record<string, {
2402
- language: string;
2403
2392
  name: string;
2393
+ language: string;
2404
2394
  }> | undefined;
2405
2395
  wikidata_id?: string | undefined;
2406
2396
  } | undefined;
@@ -2412,8 +2402,8 @@ declare const FeatureSchema: z.ZodObject<{
2412
2402
  mapbox_id: string;
2413
2403
  } | undefined;
2414
2404
  translations?: Record<string, {
2415
- language: string;
2416
2405
  name: string;
2406
+ language: string;
2417
2407
  }> | undefined;
2418
2408
  wikidata_id?: string | undefined;
2419
2409
  } | undefined;
@@ -2425,15 +2415,15 @@ declare const FeatureSchema: z.ZodObject<{
2425
2415
  mapbox_id: string;
2426
2416
  } | undefined;
2427
2417
  translations?: Record<string, {
2428
- language: string;
2429
2418
  name: string;
2419
+ language: string;
2430
2420
  }> | undefined;
2431
2421
  } | undefined;
2432
2422
  address?: {
2433
2423
  name: string;
2434
- mapbox_id: string;
2435
2424
  address_number: string;
2436
2425
  street_name: string;
2426
+ mapbox_id: string;
2437
2427
  } | undefined;
2438
2428
  street?: {
2439
2429
  name: string;
@@ -2451,66 +2441,66 @@ declare const FeatureSchema: z.ZodObject<{
2451
2441
  extrapolated?: boolean | undefined;
2452
2442
  } | undefined;
2453
2443
  };
2454
- name_preferred?: string | undefined;
2455
- full_address?: string | undefined;
2456
- place_formatted?: string | undefined;
2444
+ coordinates: {
2445
+ longitude: number;
2446
+ latitude: number;
2447
+ accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
2448
+ routable_points?: {
2449
+ name: string;
2450
+ longitude: number;
2451
+ latitude: number;
2452
+ }[] | undefined;
2453
+ };
2457
2454
  bbox?: [number, number, number, number] | undefined;
2458
2455
  reading?: {
2459
2456
  'ja-Kana'?: string | undefined;
2460
2457
  'ja-Latn'?: string | undefined;
2461
2458
  } | undefined;
2459
+ name_preferred?: string | undefined;
2460
+ full_address?: string | undefined;
2461
+ place_formatted?: string | undefined;
2462
2462
  match_code?: {
2463
2463
  confidence: "exact" | "low" | "high" | "medium";
2464
2464
  country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2465
+ address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2465
2466
  region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2466
2467
  postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2467
2468
  place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2468
2469
  locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2469
- address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2470
2470
  street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2471
2471
  } | undefined;
2472
2472
  };
2473
2473
  }, {
2474
2474
  type: "Feature";
2475
+ id: string;
2475
2476
  geometry: {
2476
2477
  type: "Point";
2477
2478
  coordinates: [number, number];
2478
2479
  };
2479
- id: string;
2480
2480
  properties: {
2481
2481
  name: string;
2482
- coordinates: {
2483
- longitude: number;
2484
- latitude: number;
2485
- accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
2486
- routable_points?: {
2487
- name: string;
2488
- longitude: number;
2489
- latitude: number;
2490
- }[] | undefined;
2491
- };
2492
2482
  mapbox_id: string;
2493
2483
  feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
2494
2484
  context: {
2495
2485
  country?: {
2496
2486
  name: string;
2497
- mapbox_id: string;
2498
2487
  country_code: string;
2499
2488
  country_code_alpha_3: string;
2489
+ mapbox_id: string;
2500
2490
  translations?: Record<string, {
2501
- language: string;
2502
2491
  name: string;
2492
+ language: string;
2503
2493
  }> | undefined;
2504
2494
  wikidata_id?: string | undefined;
2505
2495
  } | undefined;
2506
2496
  region?: {
2507
2497
  name: string;
2508
- mapbox_id: string;
2509
2498
  region_code: string;
2510
2499
  region_code_full: string;
2500
+ mapbox_id: string;
2511
2501
  translations?: Record<string, {
2512
- language: string;
2513
2502
  name: string;
2503
+ language: string;
2514
2504
  }> | undefined;
2515
2505
  wikidata_id?: string | undefined;
2516
2506
  } | undefined;
@@ -2518,16 +2508,16 @@ declare const FeatureSchema: z.ZodObject<{
2518
2508
  name: string;
2519
2509
  mapbox_id: string;
2520
2510
  translations?: Record<string, {
2521
- language: string;
2522
2511
  name: string;
2512
+ language: string;
2523
2513
  }> | undefined;
2524
2514
  } | undefined;
2525
2515
  district?: {
2526
2516
  name: string;
2527
2517
  mapbox_id: string;
2528
2518
  translations?: Record<string, {
2529
- language: string;
2530
2519
  name: string;
2520
+ language: string;
2531
2521
  }> | undefined;
2532
2522
  wikidata_id?: string | undefined;
2533
2523
  } | undefined;
@@ -2539,8 +2529,8 @@ declare const FeatureSchema: z.ZodObject<{
2539
2529
  mapbox_id: string;
2540
2530
  } | undefined;
2541
2531
  translations?: Record<string, {
2542
- language: string;
2543
2532
  name: string;
2533
+ language: string;
2544
2534
  }> | undefined;
2545
2535
  wikidata_id?: string | undefined;
2546
2536
  } | undefined;
@@ -2552,8 +2542,8 @@ declare const FeatureSchema: z.ZodObject<{
2552
2542
  mapbox_id: string;
2553
2543
  } | undefined;
2554
2544
  translations?: Record<string, {
2555
- language: string;
2556
2545
  name: string;
2546
+ language: string;
2557
2547
  }> | undefined;
2558
2548
  wikidata_id?: string | undefined;
2559
2549
  } | undefined;
@@ -2565,15 +2555,15 @@ declare const FeatureSchema: z.ZodObject<{
2565
2555
  mapbox_id: string;
2566
2556
  } | undefined;
2567
2557
  translations?: Record<string, {
2568
- language: string;
2569
2558
  name: string;
2559
+ language: string;
2570
2560
  }> | undefined;
2571
2561
  } | undefined;
2572
2562
  address?: {
2573
2563
  name: string;
2574
- mapbox_id: string;
2575
2564
  address_number: string;
2576
2565
  street_name: string;
2566
+ mapbox_id: string;
2577
2567
  } | undefined;
2578
2568
  street?: {
2579
2569
  name: string;
@@ -2591,22 +2581,32 @@ declare const FeatureSchema: z.ZodObject<{
2591
2581
  extrapolated?: boolean | undefined;
2592
2582
  } | undefined;
2593
2583
  };
2594
- name_preferred?: string | undefined;
2595
- full_address?: string | undefined;
2596
- place_formatted?: string | undefined;
2584
+ coordinates: {
2585
+ longitude: number;
2586
+ latitude: number;
2587
+ accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
2588
+ routable_points?: {
2589
+ name: string;
2590
+ longitude: number;
2591
+ latitude: number;
2592
+ }[] | undefined;
2593
+ };
2597
2594
  bbox?: [number, number, number, number] | undefined;
2598
2595
  reading?: {
2599
2596
  'ja-Kana'?: string | undefined;
2600
2597
  'ja-Latn'?: string | undefined;
2601
2598
  } | undefined;
2599
+ name_preferred?: string | undefined;
2600
+ full_address?: string | undefined;
2601
+ place_formatted?: string | undefined;
2602
2602
  match_code?: {
2603
2603
  confidence: "exact" | "low" | "high" | "medium";
2604
2604
  country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2605
+ address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2605
2606
  region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2606
2607
  postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2607
2608
  place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2608
2609
  locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2609
- address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2610
2610
  street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
2611
2611
  } | undefined;
2612
2612
  };
@@ -2641,14 +2641,14 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
2641
2641
  name: z.ZodString;
2642
2642
  }, "strip", z.ZodTypeAny, {
2643
2643
  name: string;
2644
- mapbox_id: string;
2645
2644
  address_number: string;
2646
2645
  street_name: string;
2646
+ mapbox_id: string;
2647
2647
  }, {
2648
2648
  name: string;
2649
- mapbox_id: string;
2650
2649
  address_number: string;
2651
2650
  street_name: string;
2651
+ mapbox_id: string;
2652
2652
  }>>;
2653
2653
  street: z.ZodOptional<z.ZodObject<{
2654
2654
  mapbox_id: z.ZodString;
@@ -2677,11 +2677,11 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
2677
2677
  language: z.ZodString;
2678
2678
  name: z.ZodString;
2679
2679
  }, "strip", z.ZodTypeAny, {
2680
- language: string;
2681
2680
  name: string;
2682
- }, {
2683
2681
  language: string;
2682
+ }, {
2684
2683
  name: string;
2684
+ language: string;
2685
2685
  }>>>;
2686
2686
  }, "strip", z.ZodTypeAny, {
2687
2687
  name: string;
@@ -2691,8 +2691,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
2691
2691
  mapbox_id: string;
2692
2692
  } | undefined;
2693
2693
  translations?: Record<string, {
2694
- language: string;
2695
2694
  name: string;
2695
+ language: string;
2696
2696
  }> | undefined;
2697
2697
  }, {
2698
2698
  name: string;
@@ -2702,8 +2702,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
2702
2702
  mapbox_id: string;
2703
2703
  } | undefined;
2704
2704
  translations?: Record<string, {
2705
- language: string;
2706
2705
  name: string;
2706
+ language: string;
2707
2707
  }> | undefined;
2708
2708
  }>>;
2709
2709
  postcode: z.ZodOptional<z.ZodObject<{
@@ -2713,25 +2713,25 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
2713
2713
  language: z.ZodString;
2714
2714
  name: z.ZodString;
2715
2715
  }, "strip", z.ZodTypeAny, {
2716
- language: string;
2717
2716
  name: string;
2718
- }, {
2719
2717
  language: string;
2718
+ }, {
2720
2719
  name: string;
2720
+ language: string;
2721
2721
  }>>>;
2722
2722
  }, "strip", z.ZodTypeAny, {
2723
2723
  name: string;
2724
2724
  mapbox_id: string;
2725
2725
  translations?: Record<string, {
2726
- language: string;
2727
2726
  name: string;
2727
+ language: string;
2728
2728
  }> | undefined;
2729
2729
  }, {
2730
2730
  name: string;
2731
2731
  mapbox_id: string;
2732
2732
  translations?: Record<string, {
2733
- language: string;
2734
2733
  name: string;
2734
+ language: string;
2735
2735
  }> | undefined;
2736
2736
  }>>;
2737
2737
  locality: z.ZodOptional<z.ZodObject<{
@@ -2752,11 +2752,11 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
2752
2752
  language: z.ZodString;
2753
2753
  name: z.ZodString;
2754
2754
  }, "strip", z.ZodTypeAny, {
2755
- language: string;
2756
2755
  name: string;
2757
- }, {
2758
2756
  language: string;
2757
+ }, {
2759
2758
  name: string;
2759
+ language: string;
2760
2760
  }>>>;
2761
2761
  }, "strip", z.ZodTypeAny, {
2762
2762
  name: string;
@@ -2766,8 +2766,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
2766
2766
  mapbox_id: string;
2767
2767
  } | undefined;
2768
2768
  translations?: Record<string, {
2769
- language: string;
2770
2769
  name: string;
2770
+ language: string;
2771
2771
  }> | undefined;
2772
2772
  wikidata_id?: string | undefined;
2773
2773
  }, {
@@ -2778,8 +2778,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
2778
2778
  mapbox_id: string;
2779
2779
  } | undefined;
2780
2780
  translations?: Record<string, {
2781
- language: string;
2782
2781
  name: string;
2782
+ language: string;
2783
2783
  }> | undefined;
2784
2784
  wikidata_id?: string | undefined;
2785
2785
  }>>;
@@ -2801,11 +2801,11 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
2801
2801
  language: z.ZodString;
2802
2802
  name: z.ZodString;
2803
2803
  }, "strip", z.ZodTypeAny, {
2804
- language: string;
2805
2804
  name: string;
2806
- }, {
2807
2805
  language: string;
2806
+ }, {
2808
2807
  name: string;
2808
+ language: string;
2809
2809
  }>>>;
2810
2810
  }, "strip", z.ZodTypeAny, {
2811
2811
  name: string;
@@ -2815,8 +2815,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
2815
2815
  mapbox_id: string;
2816
2816
  } | undefined;
2817
2817
  translations?: Record<string, {
2818
- language: string;
2819
2818
  name: string;
2819
+ language: string;
2820
2820
  }> | undefined;
2821
2821
  wikidata_id?: string | undefined;
2822
2822
  }, {
@@ -2827,8 +2827,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
2827
2827
  mapbox_id: string;
2828
2828
  } | undefined;
2829
2829
  translations?: Record<string, {
2830
- language: string;
2831
2830
  name: string;
2831
+ language: string;
2832
2832
  }> | undefined;
2833
2833
  wikidata_id?: string | undefined;
2834
2834
  }>>;
@@ -2840,26 +2840,26 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
2840
2840
  language: z.ZodString;
2841
2841
  name: z.ZodString;
2842
2842
  }, "strip", z.ZodTypeAny, {
2843
- language: string;
2844
2843
  name: string;
2845
- }, {
2846
2844
  language: string;
2845
+ }, {
2847
2846
  name: string;
2847
+ language: string;
2848
2848
  }>>>;
2849
2849
  }, "strip", z.ZodTypeAny, {
2850
2850
  name: string;
2851
2851
  mapbox_id: string;
2852
2852
  translations?: Record<string, {
2853
- language: string;
2854
2853
  name: string;
2854
+ language: string;
2855
2855
  }> | undefined;
2856
2856
  wikidata_id?: string | undefined;
2857
2857
  }, {
2858
2858
  name: string;
2859
2859
  mapbox_id: string;
2860
2860
  translations?: Record<string, {
2861
- language: string;
2862
2861
  name: string;
2862
+ language: string;
2863
2863
  }> | undefined;
2864
2864
  wikidata_id?: string | undefined;
2865
2865
  }>>;
@@ -2873,30 +2873,30 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
2873
2873
  language: z.ZodString;
2874
2874
  name: z.ZodString;
2875
2875
  }, "strip", z.ZodTypeAny, {
2876
- language: string;
2877
2876
  name: string;
2878
- }, {
2879
2877
  language: string;
2878
+ }, {
2880
2879
  name: string;
2880
+ language: string;
2881
2881
  }>>>;
2882
2882
  }, "strip", z.ZodTypeAny, {
2883
2883
  name: string;
2884
- mapbox_id: string;
2885
2884
  region_code: string;
2886
2885
  region_code_full: string;
2886
+ mapbox_id: string;
2887
2887
  translations?: Record<string, {
2888
- language: string;
2889
2888
  name: string;
2889
+ language: string;
2890
2890
  }> | undefined;
2891
2891
  wikidata_id?: string | undefined;
2892
2892
  }, {
2893
2893
  name: string;
2894
- mapbox_id: string;
2895
2894
  region_code: string;
2896
2895
  region_code_full: string;
2896
+ mapbox_id: string;
2897
2897
  translations?: Record<string, {
2898
- language: string;
2899
2898
  name: string;
2899
+ language: string;
2900
2900
  }> | undefined;
2901
2901
  wikidata_id?: string | undefined;
2902
2902
  }>>;
@@ -2910,30 +2910,30 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
2910
2910
  language: z.ZodString;
2911
2911
  name: z.ZodString;
2912
2912
  }, "strip", z.ZodTypeAny, {
2913
- language: string;
2914
2913
  name: string;
2915
- }, {
2916
2914
  language: string;
2915
+ }, {
2917
2916
  name: string;
2917
+ language: string;
2918
2918
  }>>>;
2919
2919
  }, "strip", z.ZodTypeAny, {
2920
2920
  name: string;
2921
- mapbox_id: string;
2922
2921
  country_code: string;
2923
2922
  country_code_alpha_3: string;
2923
+ mapbox_id: string;
2924
2924
  translations?: Record<string, {
2925
- language: string;
2926
2925
  name: string;
2926
+ language: string;
2927
2927
  }> | undefined;
2928
2928
  wikidata_id?: string | undefined;
2929
2929
  }, {
2930
2930
  name: string;
2931
- mapbox_id: string;
2932
2931
  country_code: string;
2933
2932
  country_code_alpha_3: string;
2933
+ mapbox_id: string;
2934
2934
  translations?: Record<string, {
2935
- language: string;
2936
2935
  name: string;
2936
+ language: string;
2937
2937
  }> | undefined;
2938
2938
  wikidata_id?: string | undefined;
2939
2939
  }>>;
@@ -2969,23 +2969,23 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
2969
2969
  }, "strip", z.ZodTypeAny, {
2970
2970
  country?: {
2971
2971
  name: string;
2972
- mapbox_id: string;
2973
2972
  country_code: string;
2974
2973
  country_code_alpha_3: string;
2974
+ mapbox_id: string;
2975
2975
  translations?: Record<string, {
2976
- language: string;
2977
2976
  name: string;
2977
+ language: string;
2978
2978
  }> | undefined;
2979
2979
  wikidata_id?: string | undefined;
2980
2980
  } | undefined;
2981
2981
  region?: {
2982
2982
  name: string;
2983
- mapbox_id: string;
2984
2983
  region_code: string;
2985
2984
  region_code_full: string;
2985
+ mapbox_id: string;
2986
2986
  translations?: Record<string, {
2987
- language: string;
2988
2987
  name: string;
2988
+ language: string;
2989
2989
  }> | undefined;
2990
2990
  wikidata_id?: string | undefined;
2991
2991
  } | undefined;
@@ -2993,16 +2993,16 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
2993
2993
  name: string;
2994
2994
  mapbox_id: string;
2995
2995
  translations?: Record<string, {
2996
- language: string;
2997
2996
  name: string;
2997
+ language: string;
2998
2998
  }> | undefined;
2999
2999
  } | undefined;
3000
3000
  district?: {
3001
3001
  name: string;
3002
3002
  mapbox_id: string;
3003
3003
  translations?: Record<string, {
3004
- language: string;
3005
3004
  name: string;
3005
+ language: string;
3006
3006
  }> | undefined;
3007
3007
  wikidata_id?: string | undefined;
3008
3008
  } | undefined;
@@ -3014,8 +3014,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3014
3014
  mapbox_id: string;
3015
3015
  } | undefined;
3016
3016
  translations?: Record<string, {
3017
- language: string;
3018
3017
  name: string;
3018
+ language: string;
3019
3019
  }> | undefined;
3020
3020
  wikidata_id?: string | undefined;
3021
3021
  } | undefined;
@@ -3027,8 +3027,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3027
3027
  mapbox_id: string;
3028
3028
  } | undefined;
3029
3029
  translations?: Record<string, {
3030
- language: string;
3031
3030
  name: string;
3031
+ language: string;
3032
3032
  }> | undefined;
3033
3033
  wikidata_id?: string | undefined;
3034
3034
  } | undefined;
@@ -3040,15 +3040,15 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3040
3040
  mapbox_id: string;
3041
3041
  } | undefined;
3042
3042
  translations?: Record<string, {
3043
- language: string;
3044
3043
  name: string;
3044
+ language: string;
3045
3045
  }> | undefined;
3046
3046
  } | undefined;
3047
3047
  address?: {
3048
3048
  name: string;
3049
- mapbox_id: string;
3050
3049
  address_number: string;
3051
3050
  street_name: string;
3051
+ mapbox_id: string;
3052
3052
  } | undefined;
3053
3053
  street?: {
3054
3054
  name: string;
@@ -3068,23 +3068,23 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3068
3068
  }, {
3069
3069
  country?: {
3070
3070
  name: string;
3071
- mapbox_id: string;
3072
3071
  country_code: string;
3073
3072
  country_code_alpha_3: string;
3073
+ mapbox_id: string;
3074
3074
  translations?: Record<string, {
3075
- language: string;
3076
3075
  name: string;
3076
+ language: string;
3077
3077
  }> | undefined;
3078
3078
  wikidata_id?: string | undefined;
3079
3079
  } | undefined;
3080
3080
  region?: {
3081
3081
  name: string;
3082
- mapbox_id: string;
3083
3082
  region_code: string;
3084
3083
  region_code_full: string;
3084
+ mapbox_id: string;
3085
3085
  translations?: Record<string, {
3086
- language: string;
3087
3086
  name: string;
3087
+ language: string;
3088
3088
  }> | undefined;
3089
3089
  wikidata_id?: string | undefined;
3090
3090
  } | undefined;
@@ -3092,16 +3092,16 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3092
3092
  name: string;
3093
3093
  mapbox_id: string;
3094
3094
  translations?: Record<string, {
3095
- language: string;
3096
3095
  name: string;
3096
+ language: string;
3097
3097
  }> | undefined;
3098
3098
  } | undefined;
3099
3099
  district?: {
3100
3100
  name: string;
3101
3101
  mapbox_id: string;
3102
3102
  translations?: Record<string, {
3103
- language: string;
3104
3103
  name: string;
3104
+ language: string;
3105
3105
  }> | undefined;
3106
3106
  wikidata_id?: string | undefined;
3107
3107
  } | undefined;
@@ -3113,8 +3113,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3113
3113
  mapbox_id: string;
3114
3114
  } | undefined;
3115
3115
  translations?: Record<string, {
3116
- language: string;
3117
3116
  name: string;
3117
+ language: string;
3118
3118
  }> | undefined;
3119
3119
  wikidata_id?: string | undefined;
3120
3120
  } | undefined;
@@ -3126,8 +3126,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3126
3126
  mapbox_id: string;
3127
3127
  } | undefined;
3128
3128
  translations?: Record<string, {
3129
- language: string;
3130
3129
  name: string;
3130
+ language: string;
3131
3131
  }> | undefined;
3132
3132
  wikidata_id?: string | undefined;
3133
3133
  } | undefined;
@@ -3139,15 +3139,15 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3139
3139
  mapbox_id: string;
3140
3140
  } | undefined;
3141
3141
  translations?: Record<string, {
3142
- language: string;
3143
3142
  name: string;
3143
+ language: string;
3144
3144
  }> | undefined;
3145
3145
  } | undefined;
3146
3146
  address?: {
3147
3147
  name: string;
3148
- mapbox_id: string;
3149
3148
  address_number: string;
3150
3149
  street_name: string;
3150
+ mapbox_id: string;
3151
3151
  } | undefined;
3152
3152
  street?: {
3153
3153
  name: string;
@@ -3214,20 +3214,20 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3214
3214
  }, "strip", z.ZodTypeAny, {
3215
3215
  confidence: "exact" | "low" | "high" | "medium";
3216
3216
  country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3217
+ address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3217
3218
  region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3218
3219
  postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3219
3220
  place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3220
3221
  locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3221
- address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3222
3222
  street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3223
3223
  }, {
3224
3224
  confidence: "exact" | "low" | "high" | "medium";
3225
3225
  country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3226
+ address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3226
3227
  region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3227
3228
  postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3228
3229
  place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3229
3230
  locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3230
- address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3231
3231
  street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3232
3232
  }>>;
3233
3233
  reading: z.ZodOptional<z.ZodObject<{
@@ -3242,38 +3242,28 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3242
3242
  }>>;
3243
3243
  }, "strip", z.ZodTypeAny, {
3244
3244
  name: string;
3245
- coordinates: {
3246
- longitude: number;
3247
- latitude: number;
3248
- accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
3249
- routable_points?: {
3250
- name: string;
3251
- longitude: number;
3252
- latitude: number;
3253
- }[] | undefined;
3254
- };
3255
3245
  mapbox_id: string;
3256
3246
  feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
3257
3247
  context: {
3258
3248
  country?: {
3259
3249
  name: string;
3260
- mapbox_id: string;
3261
3250
  country_code: string;
3262
3251
  country_code_alpha_3: string;
3252
+ mapbox_id: string;
3263
3253
  translations?: Record<string, {
3264
- language: string;
3265
3254
  name: string;
3255
+ language: string;
3266
3256
  }> | undefined;
3267
3257
  wikidata_id?: string | undefined;
3268
3258
  } | undefined;
3269
3259
  region?: {
3270
3260
  name: string;
3271
- mapbox_id: string;
3272
3261
  region_code: string;
3273
3262
  region_code_full: string;
3263
+ mapbox_id: string;
3274
3264
  translations?: Record<string, {
3275
- language: string;
3276
3265
  name: string;
3266
+ language: string;
3277
3267
  }> | undefined;
3278
3268
  wikidata_id?: string | undefined;
3279
3269
  } | undefined;
@@ -3281,16 +3271,16 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3281
3271
  name: string;
3282
3272
  mapbox_id: string;
3283
3273
  translations?: Record<string, {
3284
- language: string;
3285
3274
  name: string;
3275
+ language: string;
3286
3276
  }> | undefined;
3287
3277
  } | undefined;
3288
3278
  district?: {
3289
3279
  name: string;
3290
3280
  mapbox_id: string;
3291
3281
  translations?: Record<string, {
3292
- language: string;
3293
3282
  name: string;
3283
+ language: string;
3294
3284
  }> | undefined;
3295
3285
  wikidata_id?: string | undefined;
3296
3286
  } | undefined;
@@ -3302,8 +3292,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3302
3292
  mapbox_id: string;
3303
3293
  } | undefined;
3304
3294
  translations?: Record<string, {
3305
- language: string;
3306
3295
  name: string;
3296
+ language: string;
3307
3297
  }> | undefined;
3308
3298
  wikidata_id?: string | undefined;
3309
3299
  } | undefined;
@@ -3315,8 +3305,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3315
3305
  mapbox_id: string;
3316
3306
  } | undefined;
3317
3307
  translations?: Record<string, {
3318
- language: string;
3319
3308
  name: string;
3309
+ language: string;
3320
3310
  }> | undefined;
3321
3311
  wikidata_id?: string | undefined;
3322
3312
  } | undefined;
@@ -3328,15 +3318,15 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3328
3318
  mapbox_id: string;
3329
3319
  } | undefined;
3330
3320
  translations?: Record<string, {
3331
- language: string;
3332
3321
  name: string;
3322
+ language: string;
3333
3323
  }> | undefined;
3334
3324
  } | undefined;
3335
3325
  address?: {
3336
3326
  name: string;
3337
- mapbox_id: string;
3338
3327
  address_number: string;
3339
3328
  street_name: string;
3329
+ mapbox_id: string;
3340
3330
  } | undefined;
3341
3331
  street?: {
3342
3332
  name: string;
@@ -3354,58 +3344,58 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3354
3344
  extrapolated?: boolean | undefined;
3355
3345
  } | undefined;
3356
3346
  };
3357
- name_preferred?: string | undefined;
3358
- full_address?: string | undefined;
3359
- place_formatted?: string | undefined;
3347
+ coordinates: {
3348
+ longitude: number;
3349
+ latitude: number;
3350
+ accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
3351
+ routable_points?: {
3352
+ name: string;
3353
+ longitude: number;
3354
+ latitude: number;
3355
+ }[] | undefined;
3356
+ };
3360
3357
  bbox?: [number, number, number, number] | undefined;
3361
3358
  reading?: {
3362
3359
  'ja-Kana'?: string | undefined;
3363
3360
  'ja-Latn'?: string | undefined;
3364
3361
  } | undefined;
3362
+ name_preferred?: string | undefined;
3363
+ full_address?: string | undefined;
3364
+ place_formatted?: string | undefined;
3365
3365
  match_code?: {
3366
3366
  confidence: "exact" | "low" | "high" | "medium";
3367
3367
  country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3368
+ address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3368
3369
  region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3369
3370
  postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3370
3371
  place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3371
3372
  locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3372
- address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3373
3373
  street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3374
3374
  } | undefined;
3375
3375
  }, {
3376
3376
  name: string;
3377
- coordinates: {
3378
- longitude: number;
3379
- latitude: number;
3380
- accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
3381
- routable_points?: {
3382
- name: string;
3383
- longitude: number;
3384
- latitude: number;
3385
- }[] | undefined;
3386
- };
3387
3377
  mapbox_id: string;
3388
3378
  feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
3389
3379
  context: {
3390
3380
  country?: {
3391
3381
  name: string;
3392
- mapbox_id: string;
3393
3382
  country_code: string;
3394
3383
  country_code_alpha_3: string;
3384
+ mapbox_id: string;
3395
3385
  translations?: Record<string, {
3396
- language: string;
3397
3386
  name: string;
3387
+ language: string;
3398
3388
  }> | undefined;
3399
3389
  wikidata_id?: string | undefined;
3400
3390
  } | undefined;
3401
3391
  region?: {
3402
3392
  name: string;
3403
- mapbox_id: string;
3404
3393
  region_code: string;
3405
3394
  region_code_full: string;
3395
+ mapbox_id: string;
3406
3396
  translations?: Record<string, {
3407
- language: string;
3408
3397
  name: string;
3398
+ language: string;
3409
3399
  }> | undefined;
3410
3400
  wikidata_id?: string | undefined;
3411
3401
  } | undefined;
@@ -3413,16 +3403,16 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3413
3403
  name: string;
3414
3404
  mapbox_id: string;
3415
3405
  translations?: Record<string, {
3416
- language: string;
3417
3406
  name: string;
3407
+ language: string;
3418
3408
  }> | undefined;
3419
3409
  } | undefined;
3420
3410
  district?: {
3421
3411
  name: string;
3422
3412
  mapbox_id: string;
3423
3413
  translations?: Record<string, {
3424
- language: string;
3425
3414
  name: string;
3415
+ language: string;
3426
3416
  }> | undefined;
3427
3417
  wikidata_id?: string | undefined;
3428
3418
  } | undefined;
@@ -3434,8 +3424,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3434
3424
  mapbox_id: string;
3435
3425
  } | undefined;
3436
3426
  translations?: Record<string, {
3437
- language: string;
3438
3427
  name: string;
3428
+ language: string;
3439
3429
  }> | undefined;
3440
3430
  wikidata_id?: string | undefined;
3441
3431
  } | undefined;
@@ -3447,8 +3437,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3447
3437
  mapbox_id: string;
3448
3438
  } | undefined;
3449
3439
  translations?: Record<string, {
3450
- language: string;
3451
3440
  name: string;
3441
+ language: string;
3452
3442
  }> | undefined;
3453
3443
  wikidata_id?: string | undefined;
3454
3444
  } | undefined;
@@ -3460,15 +3450,15 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3460
3450
  mapbox_id: string;
3461
3451
  } | undefined;
3462
3452
  translations?: Record<string, {
3463
- language: string;
3464
3453
  name: string;
3454
+ language: string;
3465
3455
  }> | undefined;
3466
3456
  } | undefined;
3467
3457
  address?: {
3468
3458
  name: string;
3469
- mapbox_id: string;
3470
3459
  address_number: string;
3471
3460
  street_name: string;
3461
+ mapbox_id: string;
3472
3462
  } | undefined;
3473
3463
  street?: {
3474
3464
  name: string;
@@ -3486,66 +3476,66 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3486
3476
  extrapolated?: boolean | undefined;
3487
3477
  } | undefined;
3488
3478
  };
3489
- name_preferred?: string | undefined;
3490
- full_address?: string | undefined;
3491
- place_formatted?: string | undefined;
3479
+ coordinates: {
3480
+ longitude: number;
3481
+ latitude: number;
3482
+ accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
3483
+ routable_points?: {
3484
+ name: string;
3485
+ longitude: number;
3486
+ latitude: number;
3487
+ }[] | undefined;
3488
+ };
3492
3489
  bbox?: [number, number, number, number] | undefined;
3493
3490
  reading?: {
3494
3491
  'ja-Kana'?: string | undefined;
3495
3492
  'ja-Latn'?: string | undefined;
3496
3493
  } | undefined;
3494
+ name_preferred?: string | undefined;
3495
+ full_address?: string | undefined;
3496
+ place_formatted?: string | undefined;
3497
3497
  match_code?: {
3498
3498
  confidence: "exact" | "low" | "high" | "medium";
3499
3499
  country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3500
+ address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3500
3501
  region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3501
3502
  postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3502
3503
  place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3503
3504
  locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3504
- address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3505
3505
  street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3506
3506
  } | undefined;
3507
3507
  }>;
3508
3508
  }, "strip", z.ZodTypeAny, {
3509
3509
  type: "Feature";
3510
+ id: string;
3510
3511
  geometry: {
3511
3512
  type: "Point";
3512
3513
  coordinates: [number, number];
3513
3514
  };
3514
- id: string;
3515
3515
  properties: {
3516
3516
  name: string;
3517
- coordinates: {
3518
- longitude: number;
3519
- latitude: number;
3520
- accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
3521
- routable_points?: {
3522
- name: string;
3523
- longitude: number;
3524
- latitude: number;
3525
- }[] | undefined;
3526
- };
3527
3517
  mapbox_id: string;
3528
3518
  feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
3529
3519
  context: {
3530
3520
  country?: {
3531
3521
  name: string;
3532
- mapbox_id: string;
3533
3522
  country_code: string;
3534
3523
  country_code_alpha_3: string;
3524
+ mapbox_id: string;
3535
3525
  translations?: Record<string, {
3536
- language: string;
3537
3526
  name: string;
3527
+ language: string;
3538
3528
  }> | undefined;
3539
3529
  wikidata_id?: string | undefined;
3540
3530
  } | undefined;
3541
3531
  region?: {
3542
3532
  name: string;
3543
- mapbox_id: string;
3544
3533
  region_code: string;
3545
3534
  region_code_full: string;
3535
+ mapbox_id: string;
3546
3536
  translations?: Record<string, {
3547
- language: string;
3548
3537
  name: string;
3538
+ language: string;
3549
3539
  }> | undefined;
3550
3540
  wikidata_id?: string | undefined;
3551
3541
  } | undefined;
@@ -3553,16 +3543,16 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3553
3543
  name: string;
3554
3544
  mapbox_id: string;
3555
3545
  translations?: Record<string, {
3556
- language: string;
3557
3546
  name: string;
3547
+ language: string;
3558
3548
  }> | undefined;
3559
3549
  } | undefined;
3560
3550
  district?: {
3561
3551
  name: string;
3562
3552
  mapbox_id: string;
3563
3553
  translations?: Record<string, {
3564
- language: string;
3565
3554
  name: string;
3555
+ language: string;
3566
3556
  }> | undefined;
3567
3557
  wikidata_id?: string | undefined;
3568
3558
  } | undefined;
@@ -3574,8 +3564,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3574
3564
  mapbox_id: string;
3575
3565
  } | undefined;
3576
3566
  translations?: Record<string, {
3577
- language: string;
3578
3567
  name: string;
3568
+ language: string;
3579
3569
  }> | undefined;
3580
3570
  wikidata_id?: string | undefined;
3581
3571
  } | undefined;
@@ -3587,8 +3577,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3587
3577
  mapbox_id: string;
3588
3578
  } | undefined;
3589
3579
  translations?: Record<string, {
3590
- language: string;
3591
3580
  name: string;
3581
+ language: string;
3592
3582
  }> | undefined;
3593
3583
  wikidata_id?: string | undefined;
3594
3584
  } | undefined;
@@ -3600,15 +3590,15 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3600
3590
  mapbox_id: string;
3601
3591
  } | undefined;
3602
3592
  translations?: Record<string, {
3603
- language: string;
3604
3593
  name: string;
3594
+ language: string;
3605
3595
  }> | undefined;
3606
3596
  } | undefined;
3607
3597
  address?: {
3608
3598
  name: string;
3609
- mapbox_id: string;
3610
3599
  address_number: string;
3611
3600
  street_name: string;
3601
+ mapbox_id: string;
3612
3602
  } | undefined;
3613
3603
  street?: {
3614
3604
  name: string;
@@ -3626,66 +3616,66 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3626
3616
  extrapolated?: boolean | undefined;
3627
3617
  } | undefined;
3628
3618
  };
3629
- name_preferred?: string | undefined;
3630
- full_address?: string | undefined;
3631
- place_formatted?: string | undefined;
3619
+ coordinates: {
3620
+ longitude: number;
3621
+ latitude: number;
3622
+ accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
3623
+ routable_points?: {
3624
+ name: string;
3625
+ longitude: number;
3626
+ latitude: number;
3627
+ }[] | undefined;
3628
+ };
3632
3629
  bbox?: [number, number, number, number] | undefined;
3633
3630
  reading?: {
3634
3631
  'ja-Kana'?: string | undefined;
3635
3632
  'ja-Latn'?: string | undefined;
3636
3633
  } | undefined;
3634
+ name_preferred?: string | undefined;
3635
+ full_address?: string | undefined;
3636
+ place_formatted?: string | undefined;
3637
3637
  match_code?: {
3638
3638
  confidence: "exact" | "low" | "high" | "medium";
3639
3639
  country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3640
+ address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3640
3641
  region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3641
3642
  postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3642
3643
  place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3643
3644
  locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3644
- address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3645
3645
  street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3646
3646
  } | undefined;
3647
3647
  };
3648
3648
  }, {
3649
3649
  type: "Feature";
3650
+ id: string;
3650
3651
  geometry: {
3651
3652
  type: "Point";
3652
3653
  coordinates: [number, number];
3653
3654
  };
3654
- id: string;
3655
3655
  properties: {
3656
3656
  name: string;
3657
- coordinates: {
3658
- longitude: number;
3659
- latitude: number;
3660
- accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
3661
- routable_points?: {
3662
- name: string;
3663
- longitude: number;
3664
- latitude: number;
3665
- }[] | undefined;
3666
- };
3667
3657
  mapbox_id: string;
3668
3658
  feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
3669
3659
  context: {
3670
3660
  country?: {
3671
3661
  name: string;
3672
- mapbox_id: string;
3673
3662
  country_code: string;
3674
3663
  country_code_alpha_3: string;
3664
+ mapbox_id: string;
3675
3665
  translations?: Record<string, {
3676
- language: string;
3677
3666
  name: string;
3667
+ language: string;
3678
3668
  }> | undefined;
3679
3669
  wikidata_id?: string | undefined;
3680
3670
  } | undefined;
3681
3671
  region?: {
3682
3672
  name: string;
3683
- mapbox_id: string;
3684
3673
  region_code: string;
3685
3674
  region_code_full: string;
3675
+ mapbox_id: string;
3686
3676
  translations?: Record<string, {
3687
- language: string;
3688
3677
  name: string;
3678
+ language: string;
3689
3679
  }> | undefined;
3690
3680
  wikidata_id?: string | undefined;
3691
3681
  } | undefined;
@@ -3693,16 +3683,16 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3693
3683
  name: string;
3694
3684
  mapbox_id: string;
3695
3685
  translations?: Record<string, {
3696
- language: string;
3697
3686
  name: string;
3687
+ language: string;
3698
3688
  }> | undefined;
3699
3689
  } | undefined;
3700
3690
  district?: {
3701
3691
  name: string;
3702
3692
  mapbox_id: string;
3703
3693
  translations?: Record<string, {
3704
- language: string;
3705
3694
  name: string;
3695
+ language: string;
3706
3696
  }> | undefined;
3707
3697
  wikidata_id?: string | undefined;
3708
3698
  } | undefined;
@@ -3714,8 +3704,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3714
3704
  mapbox_id: string;
3715
3705
  } | undefined;
3716
3706
  translations?: Record<string, {
3717
- language: string;
3718
3707
  name: string;
3708
+ language: string;
3719
3709
  }> | undefined;
3720
3710
  wikidata_id?: string | undefined;
3721
3711
  } | undefined;
@@ -3727,8 +3717,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3727
3717
  mapbox_id: string;
3728
3718
  } | undefined;
3729
3719
  translations?: Record<string, {
3730
- language: string;
3731
3720
  name: string;
3721
+ language: string;
3732
3722
  }> | undefined;
3733
3723
  wikidata_id?: string | undefined;
3734
3724
  } | undefined;
@@ -3740,15 +3730,15 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3740
3730
  mapbox_id: string;
3741
3731
  } | undefined;
3742
3732
  translations?: Record<string, {
3743
- language: string;
3744
3733
  name: string;
3734
+ language: string;
3745
3735
  }> | undefined;
3746
3736
  } | undefined;
3747
3737
  address?: {
3748
3738
  name: string;
3749
- mapbox_id: string;
3750
3739
  address_number: string;
3751
3740
  street_name: string;
3741
+ mapbox_id: string;
3752
3742
  } | undefined;
3753
3743
  street?: {
3754
3744
  name: string;
@@ -3766,22 +3756,32 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3766
3756
  extrapolated?: boolean | undefined;
3767
3757
  } | undefined;
3768
3758
  };
3769
- name_preferred?: string | undefined;
3770
- full_address?: string | undefined;
3771
- place_formatted?: string | undefined;
3759
+ coordinates: {
3760
+ longitude: number;
3761
+ latitude: number;
3762
+ accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
3763
+ routable_points?: {
3764
+ name: string;
3765
+ longitude: number;
3766
+ latitude: number;
3767
+ }[] | undefined;
3768
+ };
3772
3769
  bbox?: [number, number, number, number] | undefined;
3773
3770
  reading?: {
3774
3771
  'ja-Kana'?: string | undefined;
3775
3772
  'ja-Latn'?: string | undefined;
3776
3773
  } | undefined;
3774
+ name_preferred?: string | undefined;
3775
+ full_address?: string | undefined;
3776
+ place_formatted?: string | undefined;
3777
3777
  match_code?: {
3778
3778
  confidence: "exact" | "low" | "high" | "medium";
3779
3779
  country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3780
+ address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3780
3781
  region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3781
3782
  postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3782
3783
  place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3783
3784
  locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3784
- address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3785
3785
  street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3786
3786
  } | undefined;
3787
3787
  };
@@ -3791,45 +3791,35 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3791
3791
  type: "FeatureCollection";
3792
3792
  features: {
3793
3793
  type: "Feature";
3794
+ id: string;
3794
3795
  geometry: {
3795
3796
  type: "Point";
3796
3797
  coordinates: [number, number];
3797
3798
  };
3798
- id: string;
3799
3799
  properties: {
3800
3800
  name: string;
3801
- coordinates: {
3802
- longitude: number;
3803
- latitude: number;
3804
- accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
3805
- routable_points?: {
3806
- name: string;
3807
- longitude: number;
3808
- latitude: number;
3809
- }[] | undefined;
3810
- };
3811
3801
  mapbox_id: string;
3812
3802
  feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
3813
3803
  context: {
3814
3804
  country?: {
3815
3805
  name: string;
3816
- mapbox_id: string;
3817
3806
  country_code: string;
3818
3807
  country_code_alpha_3: string;
3808
+ mapbox_id: string;
3819
3809
  translations?: Record<string, {
3820
- language: string;
3821
3810
  name: string;
3811
+ language: string;
3822
3812
  }> | undefined;
3823
3813
  wikidata_id?: string | undefined;
3824
3814
  } | undefined;
3825
3815
  region?: {
3826
3816
  name: string;
3827
- mapbox_id: string;
3828
3817
  region_code: string;
3829
3818
  region_code_full: string;
3819
+ mapbox_id: string;
3830
3820
  translations?: Record<string, {
3831
- language: string;
3832
3821
  name: string;
3822
+ language: string;
3833
3823
  }> | undefined;
3834
3824
  wikidata_id?: string | undefined;
3835
3825
  } | undefined;
@@ -3837,16 +3827,16 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3837
3827
  name: string;
3838
3828
  mapbox_id: string;
3839
3829
  translations?: Record<string, {
3840
- language: string;
3841
3830
  name: string;
3831
+ language: string;
3842
3832
  }> | undefined;
3843
3833
  } | undefined;
3844
3834
  district?: {
3845
3835
  name: string;
3846
3836
  mapbox_id: string;
3847
3837
  translations?: Record<string, {
3848
- language: string;
3849
3838
  name: string;
3839
+ language: string;
3850
3840
  }> | undefined;
3851
3841
  wikidata_id?: string | undefined;
3852
3842
  } | undefined;
@@ -3858,8 +3848,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3858
3848
  mapbox_id: string;
3859
3849
  } | undefined;
3860
3850
  translations?: Record<string, {
3861
- language: string;
3862
3851
  name: string;
3852
+ language: string;
3863
3853
  }> | undefined;
3864
3854
  wikidata_id?: string | undefined;
3865
3855
  } | undefined;
@@ -3871,8 +3861,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3871
3861
  mapbox_id: string;
3872
3862
  } | undefined;
3873
3863
  translations?: Record<string, {
3874
- language: string;
3875
3864
  name: string;
3865
+ language: string;
3876
3866
  }> | undefined;
3877
3867
  wikidata_id?: string | undefined;
3878
3868
  } | undefined;
@@ -3884,15 +3874,15 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3884
3874
  mapbox_id: string;
3885
3875
  } | undefined;
3886
3876
  translations?: Record<string, {
3887
- language: string;
3888
3877
  name: string;
3878
+ language: string;
3889
3879
  }> | undefined;
3890
3880
  } | undefined;
3891
3881
  address?: {
3892
3882
  name: string;
3893
- mapbox_id: string;
3894
3883
  address_number: string;
3895
3884
  street_name: string;
3885
+ mapbox_id: string;
3896
3886
  } | undefined;
3897
3887
  street?: {
3898
3888
  name: string;
@@ -3910,22 +3900,32 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3910
3900
  extrapolated?: boolean | undefined;
3911
3901
  } | undefined;
3912
3902
  };
3913
- name_preferred?: string | undefined;
3914
- full_address?: string | undefined;
3915
- place_formatted?: string | undefined;
3903
+ coordinates: {
3904
+ longitude: number;
3905
+ latitude: number;
3906
+ accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
3907
+ routable_points?: {
3908
+ name: string;
3909
+ longitude: number;
3910
+ latitude: number;
3911
+ }[] | undefined;
3912
+ };
3916
3913
  bbox?: [number, number, number, number] | undefined;
3917
3914
  reading?: {
3918
3915
  'ja-Kana'?: string | undefined;
3919
3916
  'ja-Latn'?: string | undefined;
3920
3917
  } | undefined;
3918
+ name_preferred?: string | undefined;
3919
+ full_address?: string | undefined;
3920
+ place_formatted?: string | undefined;
3921
3921
  match_code?: {
3922
3922
  confidence: "exact" | "low" | "high" | "medium";
3923
3923
  country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3924
+ address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3924
3925
  region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3925
3926
  postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3926
3927
  place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3927
3928
  locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3928
- address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3929
3929
  street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
3930
3930
  } | undefined;
3931
3931
  };
@@ -3935,45 +3935,35 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3935
3935
  type: "FeatureCollection";
3936
3936
  features: {
3937
3937
  type: "Feature";
3938
+ id: string;
3938
3939
  geometry: {
3939
3940
  type: "Point";
3940
3941
  coordinates: [number, number];
3941
3942
  };
3942
- id: string;
3943
3943
  properties: {
3944
3944
  name: string;
3945
- coordinates: {
3946
- longitude: number;
3947
- latitude: number;
3948
- accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
3949
- routable_points?: {
3950
- name: string;
3951
- longitude: number;
3952
- latitude: number;
3953
- }[] | undefined;
3954
- };
3955
3945
  mapbox_id: string;
3956
3946
  feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
3957
3947
  context: {
3958
3948
  country?: {
3959
3949
  name: string;
3960
- mapbox_id: string;
3961
3950
  country_code: string;
3962
3951
  country_code_alpha_3: string;
3952
+ mapbox_id: string;
3963
3953
  translations?: Record<string, {
3964
- language: string;
3965
3954
  name: string;
3955
+ language: string;
3966
3956
  }> | undefined;
3967
3957
  wikidata_id?: string | undefined;
3968
3958
  } | undefined;
3969
3959
  region?: {
3970
3960
  name: string;
3971
- mapbox_id: string;
3972
3961
  region_code: string;
3973
3962
  region_code_full: string;
3963
+ mapbox_id: string;
3974
3964
  translations?: Record<string, {
3975
- language: string;
3976
3965
  name: string;
3966
+ language: string;
3977
3967
  }> | undefined;
3978
3968
  wikidata_id?: string | undefined;
3979
3969
  } | undefined;
@@ -3981,16 +3971,16 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
3981
3971
  name: string;
3982
3972
  mapbox_id: string;
3983
3973
  translations?: Record<string, {
3984
- language: string;
3985
3974
  name: string;
3975
+ language: string;
3986
3976
  }> | undefined;
3987
3977
  } | undefined;
3988
3978
  district?: {
3989
3979
  name: string;
3990
3980
  mapbox_id: string;
3991
3981
  translations?: Record<string, {
3992
- language: string;
3993
3982
  name: string;
3983
+ language: string;
3994
3984
  }> | undefined;
3995
3985
  wikidata_id?: string | undefined;
3996
3986
  } | undefined;
@@ -4002,8 +3992,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
4002
3992
  mapbox_id: string;
4003
3993
  } | undefined;
4004
3994
  translations?: Record<string, {
4005
- language: string;
4006
3995
  name: string;
3996
+ language: string;
4007
3997
  }> | undefined;
4008
3998
  wikidata_id?: string | undefined;
4009
3999
  } | undefined;
@@ -4015,8 +4005,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
4015
4005
  mapbox_id: string;
4016
4006
  } | undefined;
4017
4007
  translations?: Record<string, {
4018
- language: string;
4019
4008
  name: string;
4009
+ language: string;
4020
4010
  }> | undefined;
4021
4011
  wikidata_id?: string | undefined;
4022
4012
  } | undefined;
@@ -4028,15 +4018,15 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
4028
4018
  mapbox_id: string;
4029
4019
  } | undefined;
4030
4020
  translations?: Record<string, {
4031
- language: string;
4032
4021
  name: string;
4022
+ language: string;
4033
4023
  }> | undefined;
4034
4024
  } | undefined;
4035
4025
  address?: {
4036
4026
  name: string;
4037
- mapbox_id: string;
4038
4027
  address_number: string;
4039
4028
  street_name: string;
4029
+ mapbox_id: string;
4040
4030
  } | undefined;
4041
4031
  street?: {
4042
4032
  name: string;
@@ -4054,22 +4044,32 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
4054
4044
  extrapolated?: boolean | undefined;
4055
4045
  } | undefined;
4056
4046
  };
4057
- name_preferred?: string | undefined;
4058
- full_address?: string | undefined;
4059
- place_formatted?: string | undefined;
4047
+ coordinates: {
4048
+ longitude: number;
4049
+ latitude: number;
4050
+ accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
4051
+ routable_points?: {
4052
+ name: string;
4053
+ longitude: number;
4054
+ latitude: number;
4055
+ }[] | undefined;
4056
+ };
4060
4057
  bbox?: [number, number, number, number] | undefined;
4061
4058
  reading?: {
4062
4059
  'ja-Kana'?: string | undefined;
4063
4060
  'ja-Latn'?: string | undefined;
4064
4061
  } | undefined;
4062
+ name_preferred?: string | undefined;
4063
+ full_address?: string | undefined;
4064
+ place_formatted?: string | undefined;
4065
4065
  match_code?: {
4066
4066
  confidence: "exact" | "low" | "high" | "medium";
4067
4067
  country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
4068
+ address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
4068
4069
  region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
4069
4070
  postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
4070
4071
  place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
4071
4072
  locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
4072
- address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
4073
4073
  street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
4074
4074
  } | undefined;
4075
4075
  };