@mapbox/mcp-server 0.8.2 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -12
- package/dist/commonjs/index.js +98 -7
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/prompts/SearchAlongRoutePrompt.d.ts +26 -0
- package/dist/commonjs/prompts/SearchAlongRoutePrompt.d.ts.map +1 -0
- package/dist/commonjs/prompts/SearchAlongRoutePrompt.js +164 -0
- package/dist/commonjs/prompts/SearchAlongRoutePrompt.js.map +1 -0
- package/dist/commonjs/prompts/index.d.ts +41 -0
- package/dist/commonjs/prompts/index.d.ts.map +1 -0
- package/dist/commonjs/prompts/index.js +56 -0
- package/dist/commonjs/prompts/index.js.map +1 -0
- package/dist/commonjs/prompts/promptRegistry.d.ts +2 -1
- package/dist/commonjs/prompts/promptRegistry.d.ts.map +1 -1
- package/dist/commonjs/prompts/promptRegistry.js +2 -0
- package/dist/commonjs/prompts/promptRegistry.js.map +1 -1
- package/dist/commonjs/resources/index.d.ts +6 -0
- package/dist/commonjs/resources/index.d.ts.map +1 -0
- package/dist/commonjs/resources/index.js +43 -0
- package/dist/commonjs/resources/index.js.map +1 -0
- package/dist/commonjs/resources/resourceRegistry.d.ts +3 -1
- package/dist/commonjs/resources/resourceRegistry.d.ts.map +1 -1
- package/dist/commonjs/resources/resourceRegistry.js +5 -1
- package/dist/commonjs/resources/resourceRegistry.js.map +1 -1
- package/dist/commonjs/resources/temporary/TemporaryDataResource.d.ts +13 -0
- package/dist/commonjs/resources/temporary/TemporaryDataResource.d.ts.map +1 -0
- package/dist/commonjs/resources/temporary/TemporaryDataResource.js +41 -0
- package/dist/commonjs/resources/temporary/TemporaryDataResource.js.map +1 -0
- package/dist/commonjs/resources/ui-apps/StaticMapUIResource.d.ts +15 -0
- package/dist/commonjs/resources/ui-apps/StaticMapUIResource.d.ts.map +1 -0
- package/dist/commonjs/resources/ui-apps/StaticMapUIResource.js +262 -0
- package/dist/commonjs/resources/ui-apps/StaticMapUIResource.js.map +1 -0
- package/dist/commonjs/tools/BaseTool.d.ts +10 -0
- package/dist/commonjs/tools/BaseTool.d.ts.map +1 -1
- package/dist/commonjs/tools/BaseTool.js +9 -4
- package/dist/commonjs/tools/BaseTool.js.map +1 -1
- package/dist/commonjs/tools/category-search-tool/CategorySearchTool.d.ts.map +1 -1
- package/dist/commonjs/tools/category-search-tool/CategorySearchTool.input.schema.d.ts +2 -2
- package/dist/commonjs/tools/category-search-tool/CategorySearchTool.js +4 -0
- package/dist/commonjs/tools/category-search-tool/CategorySearchTool.js.map +1 -1
- package/dist/commonjs/tools/category-search-tool/CategorySearchTool.output.schema.d.ts +17846 -2030
- package/dist/commonjs/tools/category-search-tool/CategorySearchTool.output.schema.d.ts.map +1 -1
- package/dist/commonjs/tools/category-search-tool/CategorySearchTool.output.schema.js +73 -38
- package/dist/commonjs/tools/category-search-tool/CategorySearchTool.output.schema.js.map +1 -1
- package/dist/commonjs/tools/directions-tool/DirectionsTool.d.ts.map +1 -1
- package/dist/commonjs/tools/directions-tool/DirectionsTool.js +59 -2
- package/dist/commonjs/tools/directions-tool/DirectionsTool.js.map +1 -1
- package/dist/commonjs/tools/directions-tool/DirectionsTool.output.schema.d.ts +32 -32
- package/dist/commonjs/tools/index.d.ts +86 -0
- package/dist/commonjs/tools/index.d.ts.map +1 -0
- package/dist/commonjs/tools/index.js +146 -0
- package/dist/commonjs/tools/index.js.map +1 -0
- package/dist/commonjs/tools/place-details-tool/PlaceDetailsTool.d.ts +25 -0
- package/dist/commonjs/tools/place-details-tool/PlaceDetailsTool.d.ts.map +1 -0
- package/dist/commonjs/tools/place-details-tool/PlaceDetailsTool.input.schema.d.ts +25 -0
- package/dist/commonjs/tools/place-details-tool/PlaceDetailsTool.input.schema.d.ts.map +1 -0
- package/dist/commonjs/tools/place-details-tool/PlaceDetailsTool.input.schema.js +30 -0
- package/dist/commonjs/tools/place-details-tool/PlaceDetailsTool.input.schema.js.map +1 -0
- package/dist/commonjs/tools/place-details-tool/PlaceDetailsTool.js +193 -0
- package/dist/commonjs/tools/place-details-tool/PlaceDetailsTool.js.map +1 -0
- package/dist/commonjs/tools/place-details-tool/PlaceDetailsTool.output.schema.d.ts +296 -0
- package/dist/commonjs/tools/place-details-tool/PlaceDetailsTool.output.schema.d.ts.map +1 -0
- package/dist/commonjs/tools/place-details-tool/PlaceDetailsTool.output.schema.js +55 -0
- package/dist/commonjs/tools/place-details-tool/PlaceDetailsTool.output.schema.js.map +1 -0
- package/dist/commonjs/tools/reverse-geocode-tool/ReverseGeocodeTool.input.schema.d.ts +4 -4
- package/dist/commonjs/tools/reverse-geocode-tool/ReverseGeocodeTool.output.schema.d.ts +350 -350
- package/dist/commonjs/tools/search-and-geocode-tool/SearchAndGeocodeTool.d.ts.map +1 -1
- package/dist/commonjs/tools/search-and-geocode-tool/SearchAndGeocodeTool.input.schema.d.ts +4 -4
- package/dist/commonjs/tools/search-and-geocode-tool/SearchAndGeocodeTool.js +4 -0
- package/dist/commonjs/tools/search-and-geocode-tool/SearchAndGeocodeTool.js.map +1 -1
- package/dist/commonjs/tools/search-and-geocode-tool/SearchAndGeocodeTool.output.schema.d.ts +186 -186
- package/dist/commonjs/tools/static-map-image-tool/StaticMapImageTool.d.ts +9 -0
- package/dist/commonjs/tools/static-map-image-tool/StaticMapImageTool.d.ts.map +1 -1
- package/dist/commonjs/tools/static-map-image-tool/StaticMapImageTool.input.schema.d.ts +12 -12
- package/dist/commonjs/tools/static-map-image-tool/StaticMapImageTool.js +18 -30
- package/dist/commonjs/tools/static-map-image-tool/StaticMapImageTool.js.map +1 -1
- package/dist/commonjs/tools/toolRegistry.d.ts +52 -1
- package/dist/commonjs/tools/toolRegistry.d.ts.map +1 -1
- package/dist/commonjs/tools/toolRegistry.js +70 -5
- package/dist/commonjs/tools/toolRegistry.js.map +1 -1
- package/dist/commonjs/utils/index.d.ts +33 -0
- package/dist/commonjs/utils/index.d.ts.map +1 -0
- package/dist/commonjs/utils/index.js +45 -0
- package/dist/commonjs/utils/index.js.map +1 -0
- package/dist/commonjs/utils/temporaryResourceManager.d.ts +51 -0
- package/dist/commonjs/utils/temporaryResourceManager.d.ts.map +1 -0
- package/dist/commonjs/utils/temporaryResourceManager.js +92 -0
- package/dist/commonjs/utils/temporaryResourceManager.js.map +1 -0
- package/dist/commonjs/version.json +3 -3
- package/dist/esm/index.js +99 -8
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/prompts/SearchAlongRoutePrompt.d.ts +26 -0
- package/dist/esm/prompts/SearchAlongRoutePrompt.d.ts.map +1 -0
- package/dist/esm/prompts/SearchAlongRoutePrompt.js +160 -0
- package/dist/esm/prompts/SearchAlongRoutePrompt.js.map +1 -0
- package/dist/esm/prompts/index.d.ts +41 -0
- package/dist/esm/prompts/index.d.ts.map +1 -0
- package/dist/esm/prompts/index.js +47 -0
- package/dist/esm/prompts/index.js.map +1 -0
- package/dist/esm/prompts/promptRegistry.d.ts +2 -1
- package/dist/esm/prompts/promptRegistry.d.ts.map +1 -1
- package/dist/esm/prompts/promptRegistry.js +2 -0
- package/dist/esm/prompts/promptRegistry.js.map +1 -1
- package/dist/esm/resources/index.d.ts +6 -0
- package/dist/esm/resources/index.d.ts.map +1 -0
- package/dist/esm/resources/index.js +37 -0
- package/dist/esm/resources/index.js.map +1 -0
- package/dist/esm/resources/resourceRegistry.d.ts +3 -1
- package/dist/esm/resources/resourceRegistry.d.ts.map +1 -1
- package/dist/esm/resources/resourceRegistry.js +5 -1
- package/dist/esm/resources/resourceRegistry.js.map +1 -1
- package/dist/esm/resources/temporary/TemporaryDataResource.d.ts +13 -0
- package/dist/esm/resources/temporary/TemporaryDataResource.d.ts.map +1 -0
- package/dist/esm/resources/temporary/TemporaryDataResource.js +37 -0
- package/dist/esm/resources/temporary/TemporaryDataResource.js.map +1 -0
- package/dist/esm/resources/ui-apps/StaticMapUIResource.d.ts +15 -0
- package/dist/esm/resources/ui-apps/StaticMapUIResource.d.ts.map +1 -0
- package/dist/esm/resources/ui-apps/StaticMapUIResource.js +258 -0
- package/dist/esm/resources/ui-apps/StaticMapUIResource.js.map +1 -0
- package/dist/esm/tools/BaseTool.d.ts +10 -0
- package/dist/esm/tools/BaseTool.d.ts.map +1 -1
- package/dist/esm/tools/BaseTool.js +9 -4
- package/dist/esm/tools/BaseTool.js.map +1 -1
- package/dist/esm/tools/category-search-tool/CategorySearchTool.d.ts.map +1 -1
- package/dist/esm/tools/category-search-tool/CategorySearchTool.input.schema.d.ts +2 -2
- package/dist/esm/tools/category-search-tool/CategorySearchTool.js +4 -0
- package/dist/esm/tools/category-search-tool/CategorySearchTool.js.map +1 -1
- package/dist/esm/tools/category-search-tool/CategorySearchTool.output.schema.d.ts +17846 -2030
- package/dist/esm/tools/category-search-tool/CategorySearchTool.output.schema.d.ts.map +1 -1
- package/dist/esm/tools/category-search-tool/CategorySearchTool.output.schema.js +73 -38
- package/dist/esm/tools/category-search-tool/CategorySearchTool.output.schema.js.map +1 -1
- package/dist/esm/tools/directions-tool/DirectionsTool.d.ts.map +1 -1
- package/dist/esm/tools/directions-tool/DirectionsTool.js +59 -2
- package/dist/esm/tools/directions-tool/DirectionsTool.js.map +1 -1
- package/dist/esm/tools/directions-tool/DirectionsTool.output.schema.d.ts +32 -32
- package/dist/esm/tools/index.d.ts +86 -0
- package/dist/esm/tools/index.d.ts.map +1 -0
- package/dist/esm/tools/index.js +118 -0
- package/dist/esm/tools/index.js.map +1 -0
- package/dist/esm/tools/place-details-tool/PlaceDetailsTool.d.ts +25 -0
- package/dist/esm/tools/place-details-tool/PlaceDetailsTool.d.ts.map +1 -0
- package/dist/esm/tools/place-details-tool/PlaceDetailsTool.input.schema.d.ts +25 -0
- package/dist/esm/tools/place-details-tool/PlaceDetailsTool.input.schema.d.ts.map +1 -0
- package/dist/esm/tools/place-details-tool/PlaceDetailsTool.input.schema.js +24 -0
- package/dist/esm/tools/place-details-tool/PlaceDetailsTool.input.schema.js.map +1 -0
- package/dist/esm/tools/place-details-tool/PlaceDetailsTool.js +189 -0
- package/dist/esm/tools/place-details-tool/PlaceDetailsTool.js.map +1 -0
- package/dist/esm/tools/place-details-tool/PlaceDetailsTool.output.schema.d.ts +296 -0
- package/dist/esm/tools/place-details-tool/PlaceDetailsTool.output.schema.d.ts.map +1 -0
- package/dist/esm/tools/place-details-tool/PlaceDetailsTool.output.schema.js +52 -0
- package/dist/esm/tools/place-details-tool/PlaceDetailsTool.output.schema.js.map +1 -0
- package/dist/esm/tools/reverse-geocode-tool/ReverseGeocodeTool.input.schema.d.ts +4 -4
- package/dist/esm/tools/reverse-geocode-tool/ReverseGeocodeTool.output.schema.d.ts +350 -350
- package/dist/esm/tools/search-and-geocode-tool/SearchAndGeocodeTool.d.ts.map +1 -1
- package/dist/esm/tools/search-and-geocode-tool/SearchAndGeocodeTool.input.schema.d.ts +4 -4
- package/dist/esm/tools/search-and-geocode-tool/SearchAndGeocodeTool.js +4 -0
- package/dist/esm/tools/search-and-geocode-tool/SearchAndGeocodeTool.js.map +1 -1
- package/dist/esm/tools/search-and-geocode-tool/SearchAndGeocodeTool.output.schema.d.ts +186 -186
- package/dist/esm/tools/static-map-image-tool/StaticMapImageTool.d.ts +9 -0
- package/dist/esm/tools/static-map-image-tool/StaticMapImageTool.d.ts.map +1 -1
- package/dist/esm/tools/static-map-image-tool/StaticMapImageTool.input.schema.d.ts +12 -12
- package/dist/esm/tools/static-map-image-tool/StaticMapImageTool.js +18 -30
- package/dist/esm/tools/static-map-image-tool/StaticMapImageTool.js.map +1 -1
- package/dist/esm/tools/toolRegistry.d.ts +52 -1
- package/dist/esm/tools/toolRegistry.d.ts.map +1 -1
- package/dist/esm/tools/toolRegistry.js +66 -4
- package/dist/esm/tools/toolRegistry.js.map +1 -1
- package/dist/esm/utils/index.d.ts +33 -0
- package/dist/esm/utils/index.d.ts.map +1 -0
- package/dist/esm/utils/index.js +36 -0
- package/dist/esm/utils/index.js.map +1 -0
- package/dist/esm/utils/temporaryResourceManager.d.ts +51 -0
- package/dist/esm/utils/temporaryResourceManager.d.ts.map +1 -0
- package/dist/esm/utils/temporaryResourceManager.js +88 -0
- package/dist/esm/utils/temporaryResourceManager.js.map +1 -0
- package/dist/esm/version.json +3 -3
- package/package.json +54 -8
- /package/patches/{@modelcontextprotocol+sdk+1.25.2.patch → @modelcontextprotocol+sdk+1.26.0.patch} +0 -0
|
@@ -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;
|
|
10
11
|
address_number: string;
|
|
11
12
|
street_name: string;
|
|
12
|
-
mapbox_id: string;
|
|
13
13
|
}, {
|
|
14
14
|
name: string;
|
|
15
|
+
mapbox_id: string;
|
|
15
16
|
address_number: string;
|
|
16
17
|
street_name: string;
|
|
17
|
-
mapbox_id: string;
|
|
18
18
|
}>>;
|
|
19
19
|
street: z.ZodOptional<z.ZodObject<{
|
|
20
20
|
mapbox_id: z.ZodString;
|
|
@@ -247,9 +247,9 @@ declare const ContextSchema: z.ZodObject<{
|
|
|
247
247
|
}>>>;
|
|
248
248
|
}, "strip", z.ZodTypeAny, {
|
|
249
249
|
name: string;
|
|
250
|
+
mapbox_id: string;
|
|
250
251
|
region_code: string;
|
|
251
252
|
region_code_full: string;
|
|
252
|
-
mapbox_id: string;
|
|
253
253
|
translations?: Record<string, {
|
|
254
254
|
name: string;
|
|
255
255
|
language: string;
|
|
@@ -257,9 +257,9 @@ declare const ContextSchema: z.ZodObject<{
|
|
|
257
257
|
wikidata_id?: string | undefined;
|
|
258
258
|
}, {
|
|
259
259
|
name: string;
|
|
260
|
+
mapbox_id: string;
|
|
260
261
|
region_code: string;
|
|
261
262
|
region_code_full: string;
|
|
262
|
-
mapbox_id: string;
|
|
263
263
|
translations?: Record<string, {
|
|
264
264
|
name: string;
|
|
265
265
|
language: string;
|
|
@@ -284,9 +284,9 @@ declare const ContextSchema: z.ZodObject<{
|
|
|
284
284
|
}>>>;
|
|
285
285
|
}, "strip", z.ZodTypeAny, {
|
|
286
286
|
name: string;
|
|
287
|
+
mapbox_id: string;
|
|
287
288
|
country_code: string;
|
|
288
289
|
country_code_alpha_3: string;
|
|
289
|
-
mapbox_id: string;
|
|
290
290
|
translations?: Record<string, {
|
|
291
291
|
name: string;
|
|
292
292
|
language: string;
|
|
@@ -294,9 +294,9 @@ declare const ContextSchema: z.ZodObject<{
|
|
|
294
294
|
wikidata_id?: string | undefined;
|
|
295
295
|
}, {
|
|
296
296
|
name: string;
|
|
297
|
+
mapbox_id: string;
|
|
297
298
|
country_code: string;
|
|
298
299
|
country_code_alpha_3: string;
|
|
299
|
-
mapbox_id: string;
|
|
300
300
|
translations?: Record<string, {
|
|
301
301
|
name: string;
|
|
302
302
|
language: string;
|
|
@@ -333,11 +333,17 @@ declare const ContextSchema: z.ZodObject<{
|
|
|
333
333
|
extrapolated?: boolean | undefined;
|
|
334
334
|
}>>;
|
|
335
335
|
}, "strip", z.ZodTypeAny, {
|
|
336
|
+
address?: {
|
|
337
|
+
name: string;
|
|
338
|
+
mapbox_id: string;
|
|
339
|
+
address_number: string;
|
|
340
|
+
street_name: string;
|
|
341
|
+
} | undefined;
|
|
336
342
|
country?: {
|
|
337
343
|
name: string;
|
|
344
|
+
mapbox_id: string;
|
|
338
345
|
country_code: string;
|
|
339
346
|
country_code_alpha_3: string;
|
|
340
|
-
mapbox_id: string;
|
|
341
347
|
translations?: Record<string, {
|
|
342
348
|
name: string;
|
|
343
349
|
language: string;
|
|
@@ -346,9 +352,9 @@ declare const ContextSchema: z.ZodObject<{
|
|
|
346
352
|
} | undefined;
|
|
347
353
|
region?: {
|
|
348
354
|
name: string;
|
|
355
|
+
mapbox_id: string;
|
|
349
356
|
region_code: string;
|
|
350
357
|
region_code_full: string;
|
|
351
|
-
mapbox_id: string;
|
|
352
358
|
translations?: Record<string, {
|
|
353
359
|
name: string;
|
|
354
360
|
language: string;
|
|
@@ -410,12 +416,6 @@ declare const ContextSchema: z.ZodObject<{
|
|
|
410
416
|
language: string;
|
|
411
417
|
}> | undefined;
|
|
412
418
|
} | undefined;
|
|
413
|
-
address?: {
|
|
414
|
-
name: string;
|
|
415
|
-
address_number: string;
|
|
416
|
-
street_name: string;
|
|
417
|
-
mapbox_id: string;
|
|
418
|
-
} | undefined;
|
|
419
419
|
street?: {
|
|
420
420
|
name: string;
|
|
421
421
|
mapbox_id: string;
|
|
@@ -432,11 +432,17 @@ declare const ContextSchema: z.ZodObject<{
|
|
|
432
432
|
extrapolated?: boolean | undefined;
|
|
433
433
|
} | undefined;
|
|
434
434
|
}, {
|
|
435
|
+
address?: {
|
|
436
|
+
name: string;
|
|
437
|
+
mapbox_id: string;
|
|
438
|
+
address_number: string;
|
|
439
|
+
street_name: string;
|
|
440
|
+
} | undefined;
|
|
435
441
|
country?: {
|
|
436
442
|
name: string;
|
|
443
|
+
mapbox_id: string;
|
|
437
444
|
country_code: string;
|
|
438
445
|
country_code_alpha_3: string;
|
|
439
|
-
mapbox_id: string;
|
|
440
446
|
translations?: Record<string, {
|
|
441
447
|
name: string;
|
|
442
448
|
language: string;
|
|
@@ -445,9 +451,9 @@ declare const ContextSchema: z.ZodObject<{
|
|
|
445
451
|
} | undefined;
|
|
446
452
|
region?: {
|
|
447
453
|
name: string;
|
|
454
|
+
mapbox_id: string;
|
|
448
455
|
region_code: string;
|
|
449
456
|
region_code_full: string;
|
|
450
|
-
mapbox_id: string;
|
|
451
457
|
translations?: Record<string, {
|
|
452
458
|
name: string;
|
|
453
459
|
language: string;
|
|
@@ -509,12 +515,6 @@ declare const ContextSchema: z.ZodObject<{
|
|
|
509
515
|
language: string;
|
|
510
516
|
}> | undefined;
|
|
511
517
|
} | undefined;
|
|
512
|
-
address?: {
|
|
513
|
-
name: string;
|
|
514
|
-
address_number: string;
|
|
515
|
-
street_name: string;
|
|
516
|
-
mapbox_id: string;
|
|
517
|
-
} | undefined;
|
|
518
518
|
street?: {
|
|
519
519
|
name: string;
|
|
520
520
|
mapbox_id: string;
|
|
@@ -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;
|
|
577
578
|
address_number: string;
|
|
578
579
|
street_name: string;
|
|
579
|
-
mapbox_id: string;
|
|
580
580
|
}, {
|
|
581
581
|
name: string;
|
|
582
|
+
mapbox_id: string;
|
|
582
583
|
address_number: string;
|
|
583
584
|
street_name: string;
|
|
584
|
-
mapbox_id: string;
|
|
585
585
|
}>>;
|
|
586
586
|
street: z.ZodOptional<z.ZodObject<{
|
|
587
587
|
mapbox_id: z.ZodString;
|
|
@@ -814,9 +814,9 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
814
814
|
}>>>;
|
|
815
815
|
}, "strip", z.ZodTypeAny, {
|
|
816
816
|
name: string;
|
|
817
|
+
mapbox_id: string;
|
|
817
818
|
region_code: string;
|
|
818
819
|
region_code_full: string;
|
|
819
|
-
mapbox_id: string;
|
|
820
820
|
translations?: Record<string, {
|
|
821
821
|
name: string;
|
|
822
822
|
language: string;
|
|
@@ -824,9 +824,9 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
824
824
|
wikidata_id?: string | undefined;
|
|
825
825
|
}, {
|
|
826
826
|
name: string;
|
|
827
|
+
mapbox_id: string;
|
|
827
828
|
region_code: string;
|
|
828
829
|
region_code_full: string;
|
|
829
|
-
mapbox_id: string;
|
|
830
830
|
translations?: Record<string, {
|
|
831
831
|
name: string;
|
|
832
832
|
language: string;
|
|
@@ -851,9 +851,9 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
851
851
|
}>>>;
|
|
852
852
|
}, "strip", z.ZodTypeAny, {
|
|
853
853
|
name: string;
|
|
854
|
+
mapbox_id: string;
|
|
854
855
|
country_code: string;
|
|
855
856
|
country_code_alpha_3: string;
|
|
856
|
-
mapbox_id: string;
|
|
857
857
|
translations?: Record<string, {
|
|
858
858
|
name: string;
|
|
859
859
|
language: string;
|
|
@@ -861,9 +861,9 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
861
861
|
wikidata_id?: string | undefined;
|
|
862
862
|
}, {
|
|
863
863
|
name: string;
|
|
864
|
+
mapbox_id: string;
|
|
864
865
|
country_code: string;
|
|
865
866
|
country_code_alpha_3: string;
|
|
866
|
-
mapbox_id: string;
|
|
867
867
|
translations?: Record<string, {
|
|
868
868
|
name: string;
|
|
869
869
|
language: string;
|
|
@@ -900,11 +900,17 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
900
900
|
extrapolated?: boolean | undefined;
|
|
901
901
|
}>>;
|
|
902
902
|
}, "strip", z.ZodTypeAny, {
|
|
903
|
+
address?: {
|
|
904
|
+
name: string;
|
|
905
|
+
mapbox_id: string;
|
|
906
|
+
address_number: string;
|
|
907
|
+
street_name: string;
|
|
908
|
+
} | undefined;
|
|
903
909
|
country?: {
|
|
904
910
|
name: string;
|
|
911
|
+
mapbox_id: string;
|
|
905
912
|
country_code: string;
|
|
906
913
|
country_code_alpha_3: string;
|
|
907
|
-
mapbox_id: string;
|
|
908
914
|
translations?: Record<string, {
|
|
909
915
|
name: string;
|
|
910
916
|
language: string;
|
|
@@ -913,9 +919,9 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
913
919
|
} | undefined;
|
|
914
920
|
region?: {
|
|
915
921
|
name: string;
|
|
922
|
+
mapbox_id: string;
|
|
916
923
|
region_code: string;
|
|
917
924
|
region_code_full: string;
|
|
918
|
-
mapbox_id: string;
|
|
919
925
|
translations?: Record<string, {
|
|
920
926
|
name: string;
|
|
921
927
|
language: string;
|
|
@@ -977,12 +983,6 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
977
983
|
language: string;
|
|
978
984
|
}> | undefined;
|
|
979
985
|
} | undefined;
|
|
980
|
-
address?: {
|
|
981
|
-
name: string;
|
|
982
|
-
address_number: string;
|
|
983
|
-
street_name: string;
|
|
984
|
-
mapbox_id: string;
|
|
985
|
-
} | undefined;
|
|
986
986
|
street?: {
|
|
987
987
|
name: string;
|
|
988
988
|
mapbox_id: string;
|
|
@@ -999,11 +999,17 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
999
999
|
extrapolated?: boolean | undefined;
|
|
1000
1000
|
} | undefined;
|
|
1001
1001
|
}, {
|
|
1002
|
+
address?: {
|
|
1003
|
+
name: string;
|
|
1004
|
+
mapbox_id: string;
|
|
1005
|
+
address_number: string;
|
|
1006
|
+
street_name: string;
|
|
1007
|
+
} | undefined;
|
|
1002
1008
|
country?: {
|
|
1003
1009
|
name: string;
|
|
1010
|
+
mapbox_id: string;
|
|
1004
1011
|
country_code: string;
|
|
1005
1012
|
country_code_alpha_3: string;
|
|
1006
|
-
mapbox_id: string;
|
|
1007
1013
|
translations?: Record<string, {
|
|
1008
1014
|
name: string;
|
|
1009
1015
|
language: string;
|
|
@@ -1012,9 +1018,9 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
1012
1018
|
} | undefined;
|
|
1013
1019
|
region?: {
|
|
1014
1020
|
name: string;
|
|
1021
|
+
mapbox_id: string;
|
|
1015
1022
|
region_code: string;
|
|
1016
1023
|
region_code_full: string;
|
|
1017
|
-
mapbox_id: string;
|
|
1018
1024
|
translations?: Record<string, {
|
|
1019
1025
|
name: string;
|
|
1020
1026
|
language: string;
|
|
@@ -1076,12 +1082,6 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
1076
1082
|
language: string;
|
|
1077
1083
|
}> | undefined;
|
|
1078
1084
|
} | undefined;
|
|
1079
|
-
address?: {
|
|
1080
|
-
name: string;
|
|
1081
|
-
address_number: string;
|
|
1082
|
-
street_name: string;
|
|
1083
|
-
mapbox_id: string;
|
|
1084
|
-
} | undefined;
|
|
1085
1085
|
street?: {
|
|
1086
1086
|
name: string;
|
|
1087
1087
|
mapbox_id: string;
|
|
@@ -1176,13 +1176,29 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
1176
1176
|
}, "strip", z.ZodTypeAny, {
|
|
1177
1177
|
name: string;
|
|
1178
1178
|
mapbox_id: string;
|
|
1179
|
-
|
|
1179
|
+
coordinates: {
|
|
1180
|
+
longitude: number;
|
|
1181
|
+
latitude: number;
|
|
1182
|
+
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1183
|
+
routable_points?: {
|
|
1184
|
+
name: string;
|
|
1185
|
+
longitude: number;
|
|
1186
|
+
latitude: number;
|
|
1187
|
+
}[] | undefined;
|
|
1188
|
+
};
|
|
1189
|
+
feature_type: "address" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "street" | "block" | "secondary_address";
|
|
1180
1190
|
context: {
|
|
1191
|
+
address?: {
|
|
1192
|
+
name: string;
|
|
1193
|
+
mapbox_id: string;
|
|
1194
|
+
address_number: string;
|
|
1195
|
+
street_name: string;
|
|
1196
|
+
} | undefined;
|
|
1181
1197
|
country?: {
|
|
1182
1198
|
name: string;
|
|
1199
|
+
mapbox_id: string;
|
|
1183
1200
|
country_code: string;
|
|
1184
1201
|
country_code_alpha_3: string;
|
|
1185
|
-
mapbox_id: string;
|
|
1186
1202
|
translations?: Record<string, {
|
|
1187
1203
|
name: string;
|
|
1188
1204
|
language: string;
|
|
@@ -1191,9 +1207,9 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
1191
1207
|
} | undefined;
|
|
1192
1208
|
region?: {
|
|
1193
1209
|
name: string;
|
|
1210
|
+
mapbox_id: string;
|
|
1194
1211
|
region_code: string;
|
|
1195
1212
|
region_code_full: string;
|
|
1196
|
-
mapbox_id: string;
|
|
1197
1213
|
translations?: Record<string, {
|
|
1198
1214
|
name: string;
|
|
1199
1215
|
language: string;
|
|
@@ -1255,12 +1271,6 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
1255
1271
|
language: string;
|
|
1256
1272
|
}> | undefined;
|
|
1257
1273
|
} | undefined;
|
|
1258
|
-
address?: {
|
|
1259
|
-
name: string;
|
|
1260
|
-
address_number: string;
|
|
1261
|
-
street_name: string;
|
|
1262
|
-
mapbox_id: string;
|
|
1263
|
-
} | undefined;
|
|
1264
1274
|
street?: {
|
|
1265
1275
|
name: string;
|
|
1266
1276
|
mapbox_id: string;
|
|
@@ -1277,24 +1287,14 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
1277
1287
|
extrapolated?: boolean | undefined;
|
|
1278
1288
|
} | undefined;
|
|
1279
1289
|
};
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
latitude: number;
|
|
1283
|
-
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1284
|
-
routable_points?: {
|
|
1285
|
-
name: string;
|
|
1286
|
-
longitude: number;
|
|
1287
|
-
latitude: number;
|
|
1288
|
-
}[] | undefined;
|
|
1289
|
-
};
|
|
1290
|
+
full_address?: string | undefined;
|
|
1291
|
+
place_formatted?: string | undefined;
|
|
1290
1292
|
bbox?: [number, number, number, number] | undefined;
|
|
1291
1293
|
reading?: {
|
|
1292
1294
|
'ja-Kana'?: string | undefined;
|
|
1293
1295
|
'ja-Latn'?: string | undefined;
|
|
1294
1296
|
} | undefined;
|
|
1295
1297
|
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;
|
|
@@ -1308,13 +1308,29 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
1308
1308
|
}, {
|
|
1309
1309
|
name: string;
|
|
1310
1310
|
mapbox_id: string;
|
|
1311
|
-
|
|
1311
|
+
coordinates: {
|
|
1312
|
+
longitude: number;
|
|
1313
|
+
latitude: number;
|
|
1314
|
+
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1315
|
+
routable_points?: {
|
|
1316
|
+
name: string;
|
|
1317
|
+
longitude: number;
|
|
1318
|
+
latitude: number;
|
|
1319
|
+
}[] | undefined;
|
|
1320
|
+
};
|
|
1321
|
+
feature_type: "address" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "street" | "block" | "secondary_address";
|
|
1312
1322
|
context: {
|
|
1323
|
+
address?: {
|
|
1324
|
+
name: string;
|
|
1325
|
+
mapbox_id: string;
|
|
1326
|
+
address_number: string;
|
|
1327
|
+
street_name: string;
|
|
1328
|
+
} | undefined;
|
|
1313
1329
|
country?: {
|
|
1314
1330
|
name: string;
|
|
1331
|
+
mapbox_id: string;
|
|
1315
1332
|
country_code: string;
|
|
1316
1333
|
country_code_alpha_3: string;
|
|
1317
|
-
mapbox_id: string;
|
|
1318
1334
|
translations?: Record<string, {
|
|
1319
1335
|
name: string;
|
|
1320
1336
|
language: string;
|
|
@@ -1323,9 +1339,9 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
1323
1339
|
} | undefined;
|
|
1324
1340
|
region?: {
|
|
1325
1341
|
name: string;
|
|
1342
|
+
mapbox_id: string;
|
|
1326
1343
|
region_code: string;
|
|
1327
1344
|
region_code_full: string;
|
|
1328
|
-
mapbox_id: string;
|
|
1329
1345
|
translations?: Record<string, {
|
|
1330
1346
|
name: string;
|
|
1331
1347
|
language: string;
|
|
@@ -1387,12 +1403,6 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
1387
1403
|
language: string;
|
|
1388
1404
|
}> | undefined;
|
|
1389
1405
|
} | undefined;
|
|
1390
|
-
address?: {
|
|
1391
|
-
name: string;
|
|
1392
|
-
address_number: string;
|
|
1393
|
-
street_name: string;
|
|
1394
|
-
mapbox_id: string;
|
|
1395
|
-
} | undefined;
|
|
1396
1406
|
street?: {
|
|
1397
1407
|
name: string;
|
|
1398
1408
|
mapbox_id: string;
|
|
@@ -1409,24 +1419,14 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
1409
1419
|
extrapolated?: boolean | undefined;
|
|
1410
1420
|
} | undefined;
|
|
1411
1421
|
};
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
latitude: number;
|
|
1415
|
-
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1416
|
-
routable_points?: {
|
|
1417
|
-
name: string;
|
|
1418
|
-
longitude: number;
|
|
1419
|
-
latitude: number;
|
|
1420
|
-
}[] | undefined;
|
|
1421
|
-
};
|
|
1422
|
+
full_address?: string | undefined;
|
|
1423
|
+
place_formatted?: string | undefined;
|
|
1422
1424
|
bbox?: [number, number, number, number] | undefined;
|
|
1423
1425
|
reading?: {
|
|
1424
1426
|
'ja-Kana'?: string | undefined;
|
|
1425
1427
|
'ja-Latn'?: string | undefined;
|
|
1426
1428
|
} | undefined;
|
|
1427
1429
|
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;
|
|
@@ -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;
|
|
1469
1470
|
address_number: string;
|
|
1470
1471
|
street_name: string;
|
|
1471
|
-
mapbox_id: string;
|
|
1472
1472
|
}, {
|
|
1473
1473
|
name: string;
|
|
1474
|
+
mapbox_id: string;
|
|
1474
1475
|
address_number: string;
|
|
1475
1476
|
street_name: string;
|
|
1476
|
-
mapbox_id: string;
|
|
1477
1477
|
}>>;
|
|
1478
1478
|
street: z.ZodOptional<z.ZodObject<{
|
|
1479
1479
|
mapbox_id: z.ZodString;
|
|
@@ -1706,9 +1706,9 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1706
1706
|
}>>>;
|
|
1707
1707
|
}, "strip", z.ZodTypeAny, {
|
|
1708
1708
|
name: string;
|
|
1709
|
+
mapbox_id: string;
|
|
1709
1710
|
region_code: string;
|
|
1710
1711
|
region_code_full: string;
|
|
1711
|
-
mapbox_id: string;
|
|
1712
1712
|
translations?: Record<string, {
|
|
1713
1713
|
name: string;
|
|
1714
1714
|
language: string;
|
|
@@ -1716,9 +1716,9 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1716
1716
|
wikidata_id?: string | undefined;
|
|
1717
1717
|
}, {
|
|
1718
1718
|
name: string;
|
|
1719
|
+
mapbox_id: string;
|
|
1719
1720
|
region_code: string;
|
|
1720
1721
|
region_code_full: string;
|
|
1721
|
-
mapbox_id: string;
|
|
1722
1722
|
translations?: Record<string, {
|
|
1723
1723
|
name: string;
|
|
1724
1724
|
language: string;
|
|
@@ -1743,9 +1743,9 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1743
1743
|
}>>>;
|
|
1744
1744
|
}, "strip", z.ZodTypeAny, {
|
|
1745
1745
|
name: string;
|
|
1746
|
+
mapbox_id: string;
|
|
1746
1747
|
country_code: string;
|
|
1747
1748
|
country_code_alpha_3: string;
|
|
1748
|
-
mapbox_id: string;
|
|
1749
1749
|
translations?: Record<string, {
|
|
1750
1750
|
name: string;
|
|
1751
1751
|
language: string;
|
|
@@ -1753,9 +1753,9 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1753
1753
|
wikidata_id?: string | undefined;
|
|
1754
1754
|
}, {
|
|
1755
1755
|
name: string;
|
|
1756
|
+
mapbox_id: string;
|
|
1756
1757
|
country_code: string;
|
|
1757
1758
|
country_code_alpha_3: string;
|
|
1758
|
-
mapbox_id: string;
|
|
1759
1759
|
translations?: Record<string, {
|
|
1760
1760
|
name: string;
|
|
1761
1761
|
language: string;
|
|
@@ -1792,11 +1792,17 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1792
1792
|
extrapolated?: boolean | undefined;
|
|
1793
1793
|
}>>;
|
|
1794
1794
|
}, "strip", z.ZodTypeAny, {
|
|
1795
|
+
address?: {
|
|
1796
|
+
name: string;
|
|
1797
|
+
mapbox_id: string;
|
|
1798
|
+
address_number: string;
|
|
1799
|
+
street_name: string;
|
|
1800
|
+
} | undefined;
|
|
1795
1801
|
country?: {
|
|
1796
1802
|
name: string;
|
|
1803
|
+
mapbox_id: string;
|
|
1797
1804
|
country_code: string;
|
|
1798
1805
|
country_code_alpha_3: string;
|
|
1799
|
-
mapbox_id: string;
|
|
1800
1806
|
translations?: Record<string, {
|
|
1801
1807
|
name: string;
|
|
1802
1808
|
language: string;
|
|
@@ -1805,9 +1811,9 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1805
1811
|
} | undefined;
|
|
1806
1812
|
region?: {
|
|
1807
1813
|
name: string;
|
|
1814
|
+
mapbox_id: string;
|
|
1808
1815
|
region_code: string;
|
|
1809
1816
|
region_code_full: string;
|
|
1810
|
-
mapbox_id: string;
|
|
1811
1817
|
translations?: Record<string, {
|
|
1812
1818
|
name: string;
|
|
1813
1819
|
language: string;
|
|
@@ -1869,12 +1875,6 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1869
1875
|
language: string;
|
|
1870
1876
|
}> | undefined;
|
|
1871
1877
|
} | undefined;
|
|
1872
|
-
address?: {
|
|
1873
|
-
name: string;
|
|
1874
|
-
address_number: string;
|
|
1875
|
-
street_name: string;
|
|
1876
|
-
mapbox_id: string;
|
|
1877
|
-
} | undefined;
|
|
1878
1878
|
street?: {
|
|
1879
1879
|
name: string;
|
|
1880
1880
|
mapbox_id: string;
|
|
@@ -1891,11 +1891,17 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1891
1891
|
extrapolated?: boolean | undefined;
|
|
1892
1892
|
} | undefined;
|
|
1893
1893
|
}, {
|
|
1894
|
+
address?: {
|
|
1895
|
+
name: string;
|
|
1896
|
+
mapbox_id: string;
|
|
1897
|
+
address_number: string;
|
|
1898
|
+
street_name: string;
|
|
1899
|
+
} | undefined;
|
|
1894
1900
|
country?: {
|
|
1895
1901
|
name: string;
|
|
1902
|
+
mapbox_id: string;
|
|
1896
1903
|
country_code: string;
|
|
1897
1904
|
country_code_alpha_3: string;
|
|
1898
|
-
mapbox_id: string;
|
|
1899
1905
|
translations?: Record<string, {
|
|
1900
1906
|
name: string;
|
|
1901
1907
|
language: string;
|
|
@@ -1904,9 +1910,9 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1904
1910
|
} | undefined;
|
|
1905
1911
|
region?: {
|
|
1906
1912
|
name: string;
|
|
1913
|
+
mapbox_id: string;
|
|
1907
1914
|
region_code: string;
|
|
1908
1915
|
region_code_full: string;
|
|
1909
|
-
mapbox_id: string;
|
|
1910
1916
|
translations?: Record<string, {
|
|
1911
1917
|
name: string;
|
|
1912
1918
|
language: string;
|
|
@@ -1968,12 +1974,6 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1968
1974
|
language: string;
|
|
1969
1975
|
}> | undefined;
|
|
1970
1976
|
} | undefined;
|
|
1971
|
-
address?: {
|
|
1972
|
-
name: string;
|
|
1973
|
-
address_number: string;
|
|
1974
|
-
street_name: string;
|
|
1975
|
-
mapbox_id: string;
|
|
1976
|
-
} | undefined;
|
|
1977
1977
|
street?: {
|
|
1978
1978
|
name: string;
|
|
1979
1979
|
mapbox_id: string;
|
|
@@ -2068,13 +2068,29 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2068
2068
|
}, "strip", z.ZodTypeAny, {
|
|
2069
2069
|
name: string;
|
|
2070
2070
|
mapbox_id: string;
|
|
2071
|
-
|
|
2071
|
+
coordinates: {
|
|
2072
|
+
longitude: number;
|
|
2073
|
+
latitude: number;
|
|
2074
|
+
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
2075
|
+
routable_points?: {
|
|
2076
|
+
name: string;
|
|
2077
|
+
longitude: number;
|
|
2078
|
+
latitude: number;
|
|
2079
|
+
}[] | undefined;
|
|
2080
|
+
};
|
|
2081
|
+
feature_type: "address" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "street" | "block" | "secondary_address";
|
|
2072
2082
|
context: {
|
|
2083
|
+
address?: {
|
|
2084
|
+
name: string;
|
|
2085
|
+
mapbox_id: string;
|
|
2086
|
+
address_number: string;
|
|
2087
|
+
street_name: string;
|
|
2088
|
+
} | undefined;
|
|
2073
2089
|
country?: {
|
|
2074
2090
|
name: string;
|
|
2091
|
+
mapbox_id: string;
|
|
2075
2092
|
country_code: string;
|
|
2076
2093
|
country_code_alpha_3: string;
|
|
2077
|
-
mapbox_id: string;
|
|
2078
2094
|
translations?: Record<string, {
|
|
2079
2095
|
name: string;
|
|
2080
2096
|
language: string;
|
|
@@ -2083,9 +2099,9 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2083
2099
|
} | undefined;
|
|
2084
2100
|
region?: {
|
|
2085
2101
|
name: string;
|
|
2102
|
+
mapbox_id: string;
|
|
2086
2103
|
region_code: string;
|
|
2087
2104
|
region_code_full: string;
|
|
2088
|
-
mapbox_id: string;
|
|
2089
2105
|
translations?: Record<string, {
|
|
2090
2106
|
name: string;
|
|
2091
2107
|
language: string;
|
|
@@ -2147,12 +2163,6 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2147
2163
|
language: string;
|
|
2148
2164
|
}> | undefined;
|
|
2149
2165
|
} | undefined;
|
|
2150
|
-
address?: {
|
|
2151
|
-
name: string;
|
|
2152
|
-
address_number: string;
|
|
2153
|
-
street_name: string;
|
|
2154
|
-
mapbox_id: string;
|
|
2155
|
-
} | undefined;
|
|
2156
2166
|
street?: {
|
|
2157
2167
|
name: string;
|
|
2158
2168
|
mapbox_id: string;
|
|
@@ -2169,24 +2179,14 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2169
2179
|
extrapolated?: boolean | undefined;
|
|
2170
2180
|
} | undefined;
|
|
2171
2181
|
};
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
latitude: number;
|
|
2175
|
-
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
2176
|
-
routable_points?: {
|
|
2177
|
-
name: string;
|
|
2178
|
-
longitude: number;
|
|
2179
|
-
latitude: number;
|
|
2180
|
-
}[] | undefined;
|
|
2181
|
-
};
|
|
2182
|
+
full_address?: string | undefined;
|
|
2183
|
+
place_formatted?: string | undefined;
|
|
2182
2184
|
bbox?: [number, number, number, number] | undefined;
|
|
2183
2185
|
reading?: {
|
|
2184
2186
|
'ja-Kana'?: string | undefined;
|
|
2185
2187
|
'ja-Latn'?: string | undefined;
|
|
2186
2188
|
} | undefined;
|
|
2187
2189
|
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;
|
|
@@ -2200,13 +2200,29 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2200
2200
|
}, {
|
|
2201
2201
|
name: string;
|
|
2202
2202
|
mapbox_id: string;
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2203
|
+
coordinates: {
|
|
2204
|
+
longitude: number;
|
|
2205
|
+
latitude: number;
|
|
2206
|
+
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
2207
|
+
routable_points?: {
|
|
2208
|
+
name: string;
|
|
2209
|
+
longitude: number;
|
|
2210
|
+
latitude: number;
|
|
2211
|
+
}[] | undefined;
|
|
2212
|
+
};
|
|
2213
|
+
feature_type: "address" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "street" | "block" | "secondary_address";
|
|
2214
|
+
context: {
|
|
2215
|
+
address?: {
|
|
2216
|
+
name: string;
|
|
2209
2217
|
mapbox_id: string;
|
|
2218
|
+
address_number: string;
|
|
2219
|
+
street_name: string;
|
|
2220
|
+
} | undefined;
|
|
2221
|
+
country?: {
|
|
2222
|
+
name: string;
|
|
2223
|
+
mapbox_id: string;
|
|
2224
|
+
country_code: string;
|
|
2225
|
+
country_code_alpha_3: string;
|
|
2210
2226
|
translations?: Record<string, {
|
|
2211
2227
|
name: string;
|
|
2212
2228
|
language: string;
|
|
@@ -2215,9 +2231,9 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2215
2231
|
} | undefined;
|
|
2216
2232
|
region?: {
|
|
2217
2233
|
name: string;
|
|
2234
|
+
mapbox_id: string;
|
|
2218
2235
|
region_code: string;
|
|
2219
2236
|
region_code_full: string;
|
|
2220
|
-
mapbox_id: string;
|
|
2221
2237
|
translations?: Record<string, {
|
|
2222
2238
|
name: string;
|
|
2223
2239
|
language: string;
|
|
@@ -2279,12 +2295,6 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2279
2295
|
language: string;
|
|
2280
2296
|
}> | undefined;
|
|
2281
2297
|
} | undefined;
|
|
2282
|
-
address?: {
|
|
2283
|
-
name: string;
|
|
2284
|
-
address_number: string;
|
|
2285
|
-
street_name: string;
|
|
2286
|
-
mapbox_id: string;
|
|
2287
|
-
} | undefined;
|
|
2288
2298
|
street?: {
|
|
2289
2299
|
name: string;
|
|
2290
2300
|
mapbox_id: string;
|
|
@@ -2301,24 +2311,14 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2301
2311
|
extrapolated?: boolean | undefined;
|
|
2302
2312
|
} | undefined;
|
|
2303
2313
|
};
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
latitude: number;
|
|
2307
|
-
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
2308
|
-
routable_points?: {
|
|
2309
|
-
name: string;
|
|
2310
|
-
longitude: number;
|
|
2311
|
-
latitude: number;
|
|
2312
|
-
}[] | undefined;
|
|
2313
|
-
};
|
|
2314
|
+
full_address?: string | undefined;
|
|
2315
|
+
place_formatted?: string | undefined;
|
|
2314
2316
|
bbox?: [number, number, number, number] | undefined;
|
|
2315
2317
|
reading?: {
|
|
2316
2318
|
'ja-Kana'?: string | undefined;
|
|
2317
2319
|
'ja-Latn'?: string | undefined;
|
|
2318
2320
|
} | undefined;
|
|
2319
2321
|
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;
|
|
@@ -2336,17 +2336,32 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2336
2336
|
type: "Point";
|
|
2337
2337
|
coordinates: [number, number];
|
|
2338
2338
|
};
|
|
2339
|
-
id: string;
|
|
2340
2339
|
properties: {
|
|
2341
2340
|
name: string;
|
|
2342
2341
|
mapbox_id: string;
|
|
2343
|
-
|
|
2342
|
+
coordinates: {
|
|
2343
|
+
longitude: number;
|
|
2344
|
+
latitude: number;
|
|
2345
|
+
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
2346
|
+
routable_points?: {
|
|
2347
|
+
name: string;
|
|
2348
|
+
longitude: number;
|
|
2349
|
+
latitude: number;
|
|
2350
|
+
}[] | undefined;
|
|
2351
|
+
};
|
|
2352
|
+
feature_type: "address" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "street" | "block" | "secondary_address";
|
|
2344
2353
|
context: {
|
|
2354
|
+
address?: {
|
|
2355
|
+
name: string;
|
|
2356
|
+
mapbox_id: string;
|
|
2357
|
+
address_number: string;
|
|
2358
|
+
street_name: string;
|
|
2359
|
+
} | undefined;
|
|
2345
2360
|
country?: {
|
|
2346
2361
|
name: string;
|
|
2362
|
+
mapbox_id: string;
|
|
2347
2363
|
country_code: string;
|
|
2348
2364
|
country_code_alpha_3: string;
|
|
2349
|
-
mapbox_id: string;
|
|
2350
2365
|
translations?: Record<string, {
|
|
2351
2366
|
name: string;
|
|
2352
2367
|
language: string;
|
|
@@ -2355,9 +2370,9 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2355
2370
|
} | undefined;
|
|
2356
2371
|
region?: {
|
|
2357
2372
|
name: string;
|
|
2373
|
+
mapbox_id: string;
|
|
2358
2374
|
region_code: string;
|
|
2359
2375
|
region_code_full: string;
|
|
2360
|
-
mapbox_id: string;
|
|
2361
2376
|
translations?: Record<string, {
|
|
2362
2377
|
name: string;
|
|
2363
2378
|
language: string;
|
|
@@ -2419,12 +2434,6 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2419
2434
|
language: string;
|
|
2420
2435
|
}> | undefined;
|
|
2421
2436
|
} | undefined;
|
|
2422
|
-
address?: {
|
|
2423
|
-
name: string;
|
|
2424
|
-
address_number: string;
|
|
2425
|
-
street_name: string;
|
|
2426
|
-
mapbox_id: string;
|
|
2427
|
-
} | undefined;
|
|
2428
2437
|
street?: {
|
|
2429
2438
|
name: string;
|
|
2430
2439
|
mapbox_id: string;
|
|
@@ -2441,24 +2450,14 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2441
2450
|
extrapolated?: boolean | undefined;
|
|
2442
2451
|
} | undefined;
|
|
2443
2452
|
};
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
latitude: number;
|
|
2447
|
-
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
2448
|
-
routable_points?: {
|
|
2449
|
-
name: string;
|
|
2450
|
-
longitude: number;
|
|
2451
|
-
latitude: number;
|
|
2452
|
-
}[] | undefined;
|
|
2453
|
-
};
|
|
2453
|
+
full_address?: string | undefined;
|
|
2454
|
+
place_formatted?: string | undefined;
|
|
2454
2455
|
bbox?: [number, number, number, number] | undefined;
|
|
2455
2456
|
reading?: {
|
|
2456
2457
|
'ja-Kana'?: string | undefined;
|
|
2457
2458
|
'ja-Latn'?: string | undefined;
|
|
2458
2459
|
} | undefined;
|
|
2459
2460
|
name_preferred?: string | undefined;
|
|
2460
|
-
full_address?: string | undefined;
|
|
2461
|
-
place_formatted?: string | undefined;
|
|
2462
2461
|
match_code?: {
|
|
2463
2462
|
confidence: "exact" | "low" | "high" | "medium";
|
|
2464
2463
|
country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
@@ -2470,23 +2469,39 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2470
2469
|
street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2471
2470
|
} | undefined;
|
|
2472
2471
|
};
|
|
2472
|
+
id: string;
|
|
2473
2473
|
}, {
|
|
2474
2474
|
type: "Feature";
|
|
2475
2475
|
geometry: {
|
|
2476
2476
|
type: "Point";
|
|
2477
2477
|
coordinates: [number, number];
|
|
2478
2478
|
};
|
|
2479
|
-
id: string;
|
|
2480
2479
|
properties: {
|
|
2481
2480
|
name: string;
|
|
2482
2481
|
mapbox_id: string;
|
|
2483
|
-
|
|
2482
|
+
coordinates: {
|
|
2483
|
+
longitude: number;
|
|
2484
|
+
latitude: number;
|
|
2485
|
+
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
2486
|
+
routable_points?: {
|
|
2487
|
+
name: string;
|
|
2488
|
+
longitude: number;
|
|
2489
|
+
latitude: number;
|
|
2490
|
+
}[] | undefined;
|
|
2491
|
+
};
|
|
2492
|
+
feature_type: "address" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "street" | "block" | "secondary_address";
|
|
2484
2493
|
context: {
|
|
2494
|
+
address?: {
|
|
2495
|
+
name: string;
|
|
2496
|
+
mapbox_id: string;
|
|
2497
|
+
address_number: string;
|
|
2498
|
+
street_name: string;
|
|
2499
|
+
} | undefined;
|
|
2485
2500
|
country?: {
|
|
2486
2501
|
name: string;
|
|
2502
|
+
mapbox_id: string;
|
|
2487
2503
|
country_code: string;
|
|
2488
2504
|
country_code_alpha_3: string;
|
|
2489
|
-
mapbox_id: string;
|
|
2490
2505
|
translations?: Record<string, {
|
|
2491
2506
|
name: string;
|
|
2492
2507
|
language: string;
|
|
@@ -2495,9 +2510,9 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2495
2510
|
} | undefined;
|
|
2496
2511
|
region?: {
|
|
2497
2512
|
name: string;
|
|
2513
|
+
mapbox_id: string;
|
|
2498
2514
|
region_code: string;
|
|
2499
2515
|
region_code_full: string;
|
|
2500
|
-
mapbox_id: string;
|
|
2501
2516
|
translations?: Record<string, {
|
|
2502
2517
|
name: string;
|
|
2503
2518
|
language: string;
|
|
@@ -2559,12 +2574,6 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2559
2574
|
language: string;
|
|
2560
2575
|
}> | undefined;
|
|
2561
2576
|
} | undefined;
|
|
2562
|
-
address?: {
|
|
2563
|
-
name: string;
|
|
2564
|
-
address_number: string;
|
|
2565
|
-
street_name: string;
|
|
2566
|
-
mapbox_id: string;
|
|
2567
|
-
} | undefined;
|
|
2568
2577
|
street?: {
|
|
2569
2578
|
name: string;
|
|
2570
2579
|
mapbox_id: string;
|
|
@@ -2581,24 +2590,14 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2581
2590
|
extrapolated?: boolean | undefined;
|
|
2582
2591
|
} | undefined;
|
|
2583
2592
|
};
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
latitude: number;
|
|
2587
|
-
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
2588
|
-
routable_points?: {
|
|
2589
|
-
name: string;
|
|
2590
|
-
longitude: number;
|
|
2591
|
-
latitude: number;
|
|
2592
|
-
}[] | undefined;
|
|
2593
|
-
};
|
|
2593
|
+
full_address?: string | undefined;
|
|
2594
|
+
place_formatted?: string | undefined;
|
|
2594
2595
|
bbox?: [number, number, number, number] | undefined;
|
|
2595
2596
|
reading?: {
|
|
2596
2597
|
'ja-Kana'?: string | undefined;
|
|
2597
2598
|
'ja-Latn'?: string | undefined;
|
|
2598
2599
|
} | undefined;
|
|
2599
2600
|
name_preferred?: string | undefined;
|
|
2600
|
-
full_address?: string | undefined;
|
|
2601
|
-
place_formatted?: string | undefined;
|
|
2602
2601
|
match_code?: {
|
|
2603
2602
|
confidence: "exact" | "low" | "high" | "medium";
|
|
2604
2603
|
country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
@@ -2610,6 +2609,7 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2610
2609
|
street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2611
2610
|
} | undefined;
|
|
2612
2611
|
};
|
|
2612
|
+
id: string;
|
|
2613
2613
|
}>;
|
|
2614
2614
|
export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
2615
2615
|
type: z.ZodLiteral<"FeatureCollection">;
|
|
@@ -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;
|
|
2644
2645
|
address_number: string;
|
|
2645
2646
|
street_name: string;
|
|
2646
|
-
mapbox_id: string;
|
|
2647
2647
|
}, {
|
|
2648
2648
|
name: string;
|
|
2649
|
+
mapbox_id: string;
|
|
2649
2650
|
address_number: string;
|
|
2650
2651
|
street_name: string;
|
|
2651
|
-
mapbox_id: string;
|
|
2652
2652
|
}>>;
|
|
2653
2653
|
street: z.ZodOptional<z.ZodObject<{
|
|
2654
2654
|
mapbox_id: z.ZodString;
|
|
@@ -2881,9 +2881,9 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
2881
2881
|
}>>>;
|
|
2882
2882
|
}, "strip", z.ZodTypeAny, {
|
|
2883
2883
|
name: string;
|
|
2884
|
+
mapbox_id: string;
|
|
2884
2885
|
region_code: string;
|
|
2885
2886
|
region_code_full: string;
|
|
2886
|
-
mapbox_id: string;
|
|
2887
2887
|
translations?: Record<string, {
|
|
2888
2888
|
name: string;
|
|
2889
2889
|
language: string;
|
|
@@ -2891,9 +2891,9 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
2891
2891
|
wikidata_id?: string | undefined;
|
|
2892
2892
|
}, {
|
|
2893
2893
|
name: string;
|
|
2894
|
+
mapbox_id: string;
|
|
2894
2895
|
region_code: string;
|
|
2895
2896
|
region_code_full: string;
|
|
2896
|
-
mapbox_id: string;
|
|
2897
2897
|
translations?: Record<string, {
|
|
2898
2898
|
name: string;
|
|
2899
2899
|
language: string;
|
|
@@ -2918,9 +2918,9 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
2918
2918
|
}>>>;
|
|
2919
2919
|
}, "strip", z.ZodTypeAny, {
|
|
2920
2920
|
name: string;
|
|
2921
|
+
mapbox_id: string;
|
|
2921
2922
|
country_code: string;
|
|
2922
2923
|
country_code_alpha_3: string;
|
|
2923
|
-
mapbox_id: string;
|
|
2924
2924
|
translations?: Record<string, {
|
|
2925
2925
|
name: string;
|
|
2926
2926
|
language: string;
|
|
@@ -2928,9 +2928,9 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
2928
2928
|
wikidata_id?: string | undefined;
|
|
2929
2929
|
}, {
|
|
2930
2930
|
name: string;
|
|
2931
|
+
mapbox_id: string;
|
|
2931
2932
|
country_code: string;
|
|
2932
2933
|
country_code_alpha_3: string;
|
|
2933
|
-
mapbox_id: string;
|
|
2934
2934
|
translations?: Record<string, {
|
|
2935
2935
|
name: string;
|
|
2936
2936
|
language: string;
|
|
@@ -2967,11 +2967,17 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
2967
2967
|
extrapolated?: boolean | undefined;
|
|
2968
2968
|
}>>;
|
|
2969
2969
|
}, "strip", z.ZodTypeAny, {
|
|
2970
|
+
address?: {
|
|
2971
|
+
name: string;
|
|
2972
|
+
mapbox_id: string;
|
|
2973
|
+
address_number: string;
|
|
2974
|
+
street_name: string;
|
|
2975
|
+
} | undefined;
|
|
2970
2976
|
country?: {
|
|
2971
2977
|
name: string;
|
|
2978
|
+
mapbox_id: string;
|
|
2972
2979
|
country_code: string;
|
|
2973
2980
|
country_code_alpha_3: string;
|
|
2974
|
-
mapbox_id: string;
|
|
2975
2981
|
translations?: Record<string, {
|
|
2976
2982
|
name: string;
|
|
2977
2983
|
language: string;
|
|
@@ -2980,9 +2986,9 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
2980
2986
|
} | undefined;
|
|
2981
2987
|
region?: {
|
|
2982
2988
|
name: string;
|
|
2989
|
+
mapbox_id: string;
|
|
2983
2990
|
region_code: string;
|
|
2984
2991
|
region_code_full: string;
|
|
2985
|
-
mapbox_id: string;
|
|
2986
2992
|
translations?: Record<string, {
|
|
2987
2993
|
name: string;
|
|
2988
2994
|
language: string;
|
|
@@ -3044,12 +3050,6 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3044
3050
|
language: string;
|
|
3045
3051
|
}> | undefined;
|
|
3046
3052
|
} | undefined;
|
|
3047
|
-
address?: {
|
|
3048
|
-
name: string;
|
|
3049
|
-
address_number: string;
|
|
3050
|
-
street_name: string;
|
|
3051
|
-
mapbox_id: string;
|
|
3052
|
-
} | undefined;
|
|
3053
3053
|
street?: {
|
|
3054
3054
|
name: string;
|
|
3055
3055
|
mapbox_id: string;
|
|
@@ -3066,11 +3066,17 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3066
3066
|
extrapolated?: boolean | undefined;
|
|
3067
3067
|
} | undefined;
|
|
3068
3068
|
}, {
|
|
3069
|
+
address?: {
|
|
3070
|
+
name: string;
|
|
3071
|
+
mapbox_id: string;
|
|
3072
|
+
address_number: string;
|
|
3073
|
+
street_name: string;
|
|
3074
|
+
} | undefined;
|
|
3069
3075
|
country?: {
|
|
3070
3076
|
name: string;
|
|
3077
|
+
mapbox_id: string;
|
|
3071
3078
|
country_code: string;
|
|
3072
3079
|
country_code_alpha_3: string;
|
|
3073
|
-
mapbox_id: string;
|
|
3074
3080
|
translations?: Record<string, {
|
|
3075
3081
|
name: string;
|
|
3076
3082
|
language: string;
|
|
@@ -3079,9 +3085,9 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3079
3085
|
} | undefined;
|
|
3080
3086
|
region?: {
|
|
3081
3087
|
name: string;
|
|
3088
|
+
mapbox_id: string;
|
|
3082
3089
|
region_code: string;
|
|
3083
3090
|
region_code_full: string;
|
|
3084
|
-
mapbox_id: string;
|
|
3085
3091
|
translations?: Record<string, {
|
|
3086
3092
|
name: string;
|
|
3087
3093
|
language: string;
|
|
@@ -3143,12 +3149,6 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3143
3149
|
language: string;
|
|
3144
3150
|
}> | undefined;
|
|
3145
3151
|
} | undefined;
|
|
3146
|
-
address?: {
|
|
3147
|
-
name: string;
|
|
3148
|
-
address_number: string;
|
|
3149
|
-
street_name: string;
|
|
3150
|
-
mapbox_id: string;
|
|
3151
|
-
} | undefined;
|
|
3152
3152
|
street?: {
|
|
3153
3153
|
name: string;
|
|
3154
3154
|
mapbox_id: string;
|
|
@@ -3243,13 +3243,29 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3243
3243
|
}, "strip", z.ZodTypeAny, {
|
|
3244
3244
|
name: string;
|
|
3245
3245
|
mapbox_id: string;
|
|
3246
|
-
|
|
3246
|
+
coordinates: {
|
|
3247
|
+
longitude: number;
|
|
3248
|
+
latitude: number;
|
|
3249
|
+
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
3250
|
+
routable_points?: {
|
|
3251
|
+
name: string;
|
|
3252
|
+
longitude: number;
|
|
3253
|
+
latitude: number;
|
|
3254
|
+
}[] | undefined;
|
|
3255
|
+
};
|
|
3256
|
+
feature_type: "address" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "street" | "block" | "secondary_address";
|
|
3247
3257
|
context: {
|
|
3258
|
+
address?: {
|
|
3259
|
+
name: string;
|
|
3260
|
+
mapbox_id: string;
|
|
3261
|
+
address_number: string;
|
|
3262
|
+
street_name: string;
|
|
3263
|
+
} | undefined;
|
|
3248
3264
|
country?: {
|
|
3249
3265
|
name: string;
|
|
3266
|
+
mapbox_id: string;
|
|
3250
3267
|
country_code: string;
|
|
3251
3268
|
country_code_alpha_3: string;
|
|
3252
|
-
mapbox_id: string;
|
|
3253
3269
|
translations?: Record<string, {
|
|
3254
3270
|
name: string;
|
|
3255
3271
|
language: string;
|
|
@@ -3258,9 +3274,9 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3258
3274
|
} | undefined;
|
|
3259
3275
|
region?: {
|
|
3260
3276
|
name: string;
|
|
3277
|
+
mapbox_id: string;
|
|
3261
3278
|
region_code: string;
|
|
3262
3279
|
region_code_full: string;
|
|
3263
|
-
mapbox_id: string;
|
|
3264
3280
|
translations?: Record<string, {
|
|
3265
3281
|
name: string;
|
|
3266
3282
|
language: string;
|
|
@@ -3322,12 +3338,6 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3322
3338
|
language: string;
|
|
3323
3339
|
}> | undefined;
|
|
3324
3340
|
} | undefined;
|
|
3325
|
-
address?: {
|
|
3326
|
-
name: string;
|
|
3327
|
-
address_number: string;
|
|
3328
|
-
street_name: string;
|
|
3329
|
-
mapbox_id: string;
|
|
3330
|
-
} | undefined;
|
|
3331
3341
|
street?: {
|
|
3332
3342
|
name: string;
|
|
3333
3343
|
mapbox_id: string;
|
|
@@ -3344,24 +3354,14 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3344
3354
|
extrapolated?: boolean | undefined;
|
|
3345
3355
|
} | undefined;
|
|
3346
3356
|
};
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
latitude: number;
|
|
3350
|
-
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
3351
|
-
routable_points?: {
|
|
3352
|
-
name: string;
|
|
3353
|
-
longitude: number;
|
|
3354
|
-
latitude: number;
|
|
3355
|
-
}[] | undefined;
|
|
3356
|
-
};
|
|
3357
|
+
full_address?: string | undefined;
|
|
3358
|
+
place_formatted?: string | undefined;
|
|
3357
3359
|
bbox?: [number, number, number, number] | undefined;
|
|
3358
3360
|
reading?: {
|
|
3359
3361
|
'ja-Kana'?: string | undefined;
|
|
3360
3362
|
'ja-Latn'?: string | undefined;
|
|
3361
3363
|
} | undefined;
|
|
3362
3364
|
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;
|
|
@@ -3375,13 +3375,29 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3375
3375
|
}, {
|
|
3376
3376
|
name: string;
|
|
3377
3377
|
mapbox_id: string;
|
|
3378
|
-
|
|
3378
|
+
coordinates: {
|
|
3379
|
+
longitude: number;
|
|
3380
|
+
latitude: number;
|
|
3381
|
+
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
3382
|
+
routable_points?: {
|
|
3383
|
+
name: string;
|
|
3384
|
+
longitude: number;
|
|
3385
|
+
latitude: number;
|
|
3386
|
+
}[] | undefined;
|
|
3387
|
+
};
|
|
3388
|
+
feature_type: "address" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "street" | "block" | "secondary_address";
|
|
3379
3389
|
context: {
|
|
3390
|
+
address?: {
|
|
3391
|
+
name: string;
|
|
3392
|
+
mapbox_id: string;
|
|
3393
|
+
address_number: string;
|
|
3394
|
+
street_name: string;
|
|
3395
|
+
} | undefined;
|
|
3380
3396
|
country?: {
|
|
3381
3397
|
name: string;
|
|
3398
|
+
mapbox_id: string;
|
|
3382
3399
|
country_code: string;
|
|
3383
3400
|
country_code_alpha_3: string;
|
|
3384
|
-
mapbox_id: string;
|
|
3385
3401
|
translations?: Record<string, {
|
|
3386
3402
|
name: string;
|
|
3387
3403
|
language: string;
|
|
@@ -3390,9 +3406,9 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3390
3406
|
} | undefined;
|
|
3391
3407
|
region?: {
|
|
3392
3408
|
name: string;
|
|
3409
|
+
mapbox_id: string;
|
|
3393
3410
|
region_code: string;
|
|
3394
3411
|
region_code_full: string;
|
|
3395
|
-
mapbox_id: string;
|
|
3396
3412
|
translations?: Record<string, {
|
|
3397
3413
|
name: string;
|
|
3398
3414
|
language: string;
|
|
@@ -3454,12 +3470,6 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3454
3470
|
language: string;
|
|
3455
3471
|
}> | undefined;
|
|
3456
3472
|
} | undefined;
|
|
3457
|
-
address?: {
|
|
3458
|
-
name: string;
|
|
3459
|
-
address_number: string;
|
|
3460
|
-
street_name: string;
|
|
3461
|
-
mapbox_id: string;
|
|
3462
|
-
} | undefined;
|
|
3463
3473
|
street?: {
|
|
3464
3474
|
name: string;
|
|
3465
3475
|
mapbox_id: string;
|
|
@@ -3476,24 +3486,14 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3476
3486
|
extrapolated?: boolean | undefined;
|
|
3477
3487
|
} | undefined;
|
|
3478
3488
|
};
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
latitude: number;
|
|
3482
|
-
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
3483
|
-
routable_points?: {
|
|
3484
|
-
name: string;
|
|
3485
|
-
longitude: number;
|
|
3486
|
-
latitude: number;
|
|
3487
|
-
}[] | undefined;
|
|
3488
|
-
};
|
|
3489
|
+
full_address?: string | undefined;
|
|
3490
|
+
place_formatted?: string | undefined;
|
|
3489
3491
|
bbox?: [number, number, number, number] | undefined;
|
|
3490
3492
|
reading?: {
|
|
3491
3493
|
'ja-Kana'?: string | undefined;
|
|
3492
3494
|
'ja-Latn'?: string | undefined;
|
|
3493
3495
|
} | undefined;
|
|
3494
3496
|
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;
|
|
@@ -3511,17 +3511,32 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3511
3511
|
type: "Point";
|
|
3512
3512
|
coordinates: [number, number];
|
|
3513
3513
|
};
|
|
3514
|
-
id: string;
|
|
3515
3514
|
properties: {
|
|
3516
3515
|
name: string;
|
|
3517
3516
|
mapbox_id: string;
|
|
3518
|
-
|
|
3517
|
+
coordinates: {
|
|
3518
|
+
longitude: number;
|
|
3519
|
+
latitude: number;
|
|
3520
|
+
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
3521
|
+
routable_points?: {
|
|
3522
|
+
name: string;
|
|
3523
|
+
longitude: number;
|
|
3524
|
+
latitude: number;
|
|
3525
|
+
}[] | undefined;
|
|
3526
|
+
};
|
|
3527
|
+
feature_type: "address" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "street" | "block" | "secondary_address";
|
|
3519
3528
|
context: {
|
|
3529
|
+
address?: {
|
|
3530
|
+
name: string;
|
|
3531
|
+
mapbox_id: string;
|
|
3532
|
+
address_number: string;
|
|
3533
|
+
street_name: string;
|
|
3534
|
+
} | undefined;
|
|
3520
3535
|
country?: {
|
|
3521
3536
|
name: string;
|
|
3537
|
+
mapbox_id: string;
|
|
3522
3538
|
country_code: string;
|
|
3523
3539
|
country_code_alpha_3: string;
|
|
3524
|
-
mapbox_id: string;
|
|
3525
3540
|
translations?: Record<string, {
|
|
3526
3541
|
name: string;
|
|
3527
3542
|
language: string;
|
|
@@ -3530,9 +3545,9 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3530
3545
|
} | undefined;
|
|
3531
3546
|
region?: {
|
|
3532
3547
|
name: string;
|
|
3548
|
+
mapbox_id: string;
|
|
3533
3549
|
region_code: string;
|
|
3534
3550
|
region_code_full: string;
|
|
3535
|
-
mapbox_id: string;
|
|
3536
3551
|
translations?: Record<string, {
|
|
3537
3552
|
name: string;
|
|
3538
3553
|
language: string;
|
|
@@ -3594,12 +3609,6 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3594
3609
|
language: string;
|
|
3595
3610
|
}> | undefined;
|
|
3596
3611
|
} | undefined;
|
|
3597
|
-
address?: {
|
|
3598
|
-
name: string;
|
|
3599
|
-
address_number: string;
|
|
3600
|
-
street_name: string;
|
|
3601
|
-
mapbox_id: string;
|
|
3602
|
-
} | undefined;
|
|
3603
3612
|
street?: {
|
|
3604
3613
|
name: string;
|
|
3605
3614
|
mapbox_id: string;
|
|
@@ -3616,24 +3625,14 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3616
3625
|
extrapolated?: boolean | undefined;
|
|
3617
3626
|
} | undefined;
|
|
3618
3627
|
};
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
latitude: number;
|
|
3622
|
-
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
3623
|
-
routable_points?: {
|
|
3624
|
-
name: string;
|
|
3625
|
-
longitude: number;
|
|
3626
|
-
latitude: number;
|
|
3627
|
-
}[] | undefined;
|
|
3628
|
-
};
|
|
3628
|
+
full_address?: string | undefined;
|
|
3629
|
+
place_formatted?: string | undefined;
|
|
3629
3630
|
bbox?: [number, number, number, number] | undefined;
|
|
3630
3631
|
reading?: {
|
|
3631
3632
|
'ja-Kana'?: string | undefined;
|
|
3632
3633
|
'ja-Latn'?: string | undefined;
|
|
3633
3634
|
} | undefined;
|
|
3634
3635
|
name_preferred?: string | undefined;
|
|
3635
|
-
full_address?: string | undefined;
|
|
3636
|
-
place_formatted?: string | undefined;
|
|
3637
3636
|
match_code?: {
|
|
3638
3637
|
confidence: "exact" | "low" | "high" | "medium";
|
|
3639
3638
|
country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
@@ -3645,23 +3644,39 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3645
3644
|
street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3646
3645
|
} | undefined;
|
|
3647
3646
|
};
|
|
3647
|
+
id: string;
|
|
3648
3648
|
}, {
|
|
3649
3649
|
type: "Feature";
|
|
3650
3650
|
geometry: {
|
|
3651
3651
|
type: "Point";
|
|
3652
3652
|
coordinates: [number, number];
|
|
3653
3653
|
};
|
|
3654
|
-
id: string;
|
|
3655
3654
|
properties: {
|
|
3656
3655
|
name: string;
|
|
3657
3656
|
mapbox_id: string;
|
|
3658
|
-
|
|
3657
|
+
coordinates: {
|
|
3658
|
+
longitude: number;
|
|
3659
|
+
latitude: number;
|
|
3660
|
+
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
3661
|
+
routable_points?: {
|
|
3662
|
+
name: string;
|
|
3663
|
+
longitude: number;
|
|
3664
|
+
latitude: number;
|
|
3665
|
+
}[] | undefined;
|
|
3666
|
+
};
|
|
3667
|
+
feature_type: "address" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "street" | "block" | "secondary_address";
|
|
3659
3668
|
context: {
|
|
3669
|
+
address?: {
|
|
3670
|
+
name: string;
|
|
3671
|
+
mapbox_id: string;
|
|
3672
|
+
address_number: string;
|
|
3673
|
+
street_name: string;
|
|
3674
|
+
} | undefined;
|
|
3660
3675
|
country?: {
|
|
3661
3676
|
name: string;
|
|
3677
|
+
mapbox_id: string;
|
|
3662
3678
|
country_code: string;
|
|
3663
3679
|
country_code_alpha_3: string;
|
|
3664
|
-
mapbox_id: string;
|
|
3665
3680
|
translations?: Record<string, {
|
|
3666
3681
|
name: string;
|
|
3667
3682
|
language: string;
|
|
@@ -3670,9 +3685,9 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3670
3685
|
} | undefined;
|
|
3671
3686
|
region?: {
|
|
3672
3687
|
name: string;
|
|
3688
|
+
mapbox_id: string;
|
|
3673
3689
|
region_code: string;
|
|
3674
3690
|
region_code_full: string;
|
|
3675
|
-
mapbox_id: string;
|
|
3676
3691
|
translations?: Record<string, {
|
|
3677
3692
|
name: string;
|
|
3678
3693
|
language: string;
|
|
@@ -3734,12 +3749,6 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3734
3749
|
language: string;
|
|
3735
3750
|
}> | undefined;
|
|
3736
3751
|
} | undefined;
|
|
3737
|
-
address?: {
|
|
3738
|
-
name: string;
|
|
3739
|
-
address_number: string;
|
|
3740
|
-
street_name: string;
|
|
3741
|
-
mapbox_id: string;
|
|
3742
|
-
} | undefined;
|
|
3743
3752
|
street?: {
|
|
3744
3753
|
name: string;
|
|
3745
3754
|
mapbox_id: string;
|
|
@@ -3756,24 +3765,14 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3756
3765
|
extrapolated?: boolean | undefined;
|
|
3757
3766
|
} | undefined;
|
|
3758
3767
|
};
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
latitude: number;
|
|
3762
|
-
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
3763
|
-
routable_points?: {
|
|
3764
|
-
name: string;
|
|
3765
|
-
longitude: number;
|
|
3766
|
-
latitude: number;
|
|
3767
|
-
}[] | undefined;
|
|
3768
|
-
};
|
|
3768
|
+
full_address?: string | undefined;
|
|
3769
|
+
place_formatted?: string | undefined;
|
|
3769
3770
|
bbox?: [number, number, number, number] | undefined;
|
|
3770
3771
|
reading?: {
|
|
3771
3772
|
'ja-Kana'?: string | undefined;
|
|
3772
3773
|
'ja-Latn'?: string | undefined;
|
|
3773
3774
|
} | undefined;
|
|
3774
3775
|
name_preferred?: string | undefined;
|
|
3775
|
-
full_address?: string | undefined;
|
|
3776
|
-
place_formatted?: string | undefined;
|
|
3777
3776
|
match_code?: {
|
|
3778
3777
|
confidence: "exact" | "low" | "high" | "medium";
|
|
3779
3778
|
country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
@@ -3785,6 +3784,7 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3785
3784
|
street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3786
3785
|
} | undefined;
|
|
3787
3786
|
};
|
|
3787
|
+
id: string;
|
|
3788
3788
|
}>, "many">;
|
|
3789
3789
|
attribution: z.ZodString;
|
|
3790
3790
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3795,17 +3795,32 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3795
3795
|
type: "Point";
|
|
3796
3796
|
coordinates: [number, number];
|
|
3797
3797
|
};
|
|
3798
|
-
id: string;
|
|
3799
3798
|
properties: {
|
|
3800
3799
|
name: string;
|
|
3801
3800
|
mapbox_id: string;
|
|
3802
|
-
|
|
3801
|
+
coordinates: {
|
|
3802
|
+
longitude: number;
|
|
3803
|
+
latitude: number;
|
|
3804
|
+
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
3805
|
+
routable_points?: {
|
|
3806
|
+
name: string;
|
|
3807
|
+
longitude: number;
|
|
3808
|
+
latitude: number;
|
|
3809
|
+
}[] | undefined;
|
|
3810
|
+
};
|
|
3811
|
+
feature_type: "address" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "street" | "block" | "secondary_address";
|
|
3803
3812
|
context: {
|
|
3813
|
+
address?: {
|
|
3814
|
+
name: string;
|
|
3815
|
+
mapbox_id: string;
|
|
3816
|
+
address_number: string;
|
|
3817
|
+
street_name: string;
|
|
3818
|
+
} | undefined;
|
|
3804
3819
|
country?: {
|
|
3805
3820
|
name: string;
|
|
3821
|
+
mapbox_id: string;
|
|
3806
3822
|
country_code: string;
|
|
3807
3823
|
country_code_alpha_3: string;
|
|
3808
|
-
mapbox_id: string;
|
|
3809
3824
|
translations?: Record<string, {
|
|
3810
3825
|
name: string;
|
|
3811
3826
|
language: string;
|
|
@@ -3814,9 +3829,9 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3814
3829
|
} | undefined;
|
|
3815
3830
|
region?: {
|
|
3816
3831
|
name: string;
|
|
3832
|
+
mapbox_id: string;
|
|
3817
3833
|
region_code: string;
|
|
3818
3834
|
region_code_full: string;
|
|
3819
|
-
mapbox_id: string;
|
|
3820
3835
|
translations?: Record<string, {
|
|
3821
3836
|
name: string;
|
|
3822
3837
|
language: string;
|
|
@@ -3878,12 +3893,6 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3878
3893
|
language: string;
|
|
3879
3894
|
}> | undefined;
|
|
3880
3895
|
} | undefined;
|
|
3881
|
-
address?: {
|
|
3882
|
-
name: string;
|
|
3883
|
-
address_number: string;
|
|
3884
|
-
street_name: string;
|
|
3885
|
-
mapbox_id: string;
|
|
3886
|
-
} | undefined;
|
|
3887
3896
|
street?: {
|
|
3888
3897
|
name: string;
|
|
3889
3898
|
mapbox_id: string;
|
|
@@ -3900,24 +3909,14 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3900
3909
|
extrapolated?: boolean | undefined;
|
|
3901
3910
|
} | undefined;
|
|
3902
3911
|
};
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
latitude: number;
|
|
3906
|
-
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
3907
|
-
routable_points?: {
|
|
3908
|
-
name: string;
|
|
3909
|
-
longitude: number;
|
|
3910
|
-
latitude: number;
|
|
3911
|
-
}[] | undefined;
|
|
3912
|
-
};
|
|
3912
|
+
full_address?: string | undefined;
|
|
3913
|
+
place_formatted?: string | undefined;
|
|
3913
3914
|
bbox?: [number, number, number, number] | undefined;
|
|
3914
3915
|
reading?: {
|
|
3915
3916
|
'ja-Kana'?: string | undefined;
|
|
3916
3917
|
'ja-Latn'?: string | undefined;
|
|
3917
3918
|
} | undefined;
|
|
3918
3919
|
name_preferred?: string | undefined;
|
|
3919
|
-
full_address?: string | undefined;
|
|
3920
|
-
place_formatted?: string | undefined;
|
|
3921
3920
|
match_code?: {
|
|
3922
3921
|
confidence: "exact" | "low" | "high" | "medium";
|
|
3923
3922
|
country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
@@ -3929,6 +3928,7 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3929
3928
|
street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3930
3929
|
} | undefined;
|
|
3931
3930
|
};
|
|
3931
|
+
id: string;
|
|
3932
3932
|
}[];
|
|
3933
3933
|
attribution: string;
|
|
3934
3934
|
}, {
|
|
@@ -3939,17 +3939,32 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3939
3939
|
type: "Point";
|
|
3940
3940
|
coordinates: [number, number];
|
|
3941
3941
|
};
|
|
3942
|
-
id: string;
|
|
3943
3942
|
properties: {
|
|
3944
3943
|
name: string;
|
|
3945
3944
|
mapbox_id: string;
|
|
3946
|
-
|
|
3945
|
+
coordinates: {
|
|
3946
|
+
longitude: number;
|
|
3947
|
+
latitude: number;
|
|
3948
|
+
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
3949
|
+
routable_points?: {
|
|
3950
|
+
name: string;
|
|
3951
|
+
longitude: number;
|
|
3952
|
+
latitude: number;
|
|
3953
|
+
}[] | undefined;
|
|
3954
|
+
};
|
|
3955
|
+
feature_type: "address" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "street" | "block" | "secondary_address";
|
|
3947
3956
|
context: {
|
|
3957
|
+
address?: {
|
|
3958
|
+
name: string;
|
|
3959
|
+
mapbox_id: string;
|
|
3960
|
+
address_number: string;
|
|
3961
|
+
street_name: string;
|
|
3962
|
+
} | undefined;
|
|
3948
3963
|
country?: {
|
|
3949
3964
|
name: string;
|
|
3965
|
+
mapbox_id: string;
|
|
3950
3966
|
country_code: string;
|
|
3951
3967
|
country_code_alpha_3: string;
|
|
3952
|
-
mapbox_id: string;
|
|
3953
3968
|
translations?: Record<string, {
|
|
3954
3969
|
name: string;
|
|
3955
3970
|
language: string;
|
|
@@ -3958,9 +3973,9 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3958
3973
|
} | undefined;
|
|
3959
3974
|
region?: {
|
|
3960
3975
|
name: string;
|
|
3976
|
+
mapbox_id: string;
|
|
3961
3977
|
region_code: string;
|
|
3962
3978
|
region_code_full: string;
|
|
3963
|
-
mapbox_id: string;
|
|
3964
3979
|
translations?: Record<string, {
|
|
3965
3980
|
name: string;
|
|
3966
3981
|
language: string;
|
|
@@ -4022,12 +4037,6 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
4022
4037
|
language: string;
|
|
4023
4038
|
}> | undefined;
|
|
4024
4039
|
} | undefined;
|
|
4025
|
-
address?: {
|
|
4026
|
-
name: string;
|
|
4027
|
-
address_number: string;
|
|
4028
|
-
street_name: string;
|
|
4029
|
-
mapbox_id: string;
|
|
4030
|
-
} | undefined;
|
|
4031
4040
|
street?: {
|
|
4032
4041
|
name: string;
|
|
4033
4042
|
mapbox_id: string;
|
|
@@ -4044,24 +4053,14 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
4044
4053
|
extrapolated?: boolean | undefined;
|
|
4045
4054
|
} | undefined;
|
|
4046
4055
|
};
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
latitude: number;
|
|
4050
|
-
accuracy?: "point" | "rooftop" | "parcel" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
4051
|
-
routable_points?: {
|
|
4052
|
-
name: string;
|
|
4053
|
-
longitude: number;
|
|
4054
|
-
latitude: number;
|
|
4055
|
-
}[] | undefined;
|
|
4056
|
-
};
|
|
4056
|
+
full_address?: string | undefined;
|
|
4057
|
+
place_formatted?: string | undefined;
|
|
4057
4058
|
bbox?: [number, number, number, number] | undefined;
|
|
4058
4059
|
reading?: {
|
|
4059
4060
|
'ja-Kana'?: string | undefined;
|
|
4060
4061
|
'ja-Latn'?: string | undefined;
|
|
4061
4062
|
} | undefined;
|
|
4062
4063
|
name_preferred?: string | undefined;
|
|
4063
|
-
full_address?: string | undefined;
|
|
4064
|
-
place_formatted?: string | undefined;
|
|
4065
4064
|
match_code?: {
|
|
4066
4065
|
confidence: "exact" | "low" | "high" | "medium";
|
|
4067
4066
|
country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
@@ -4073,6 +4072,7 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
4073
4072
|
street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
4074
4073
|
} | undefined;
|
|
4075
4074
|
};
|
|
4075
|
+
id: string;
|
|
4076
4076
|
}[];
|
|
4077
4077
|
attribution: string;
|
|
4078
4078
|
}>;
|