@mapbox/mcp-server 0.6.1 → 0.8.1-dev.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 +147 -23
- package/dist/commonjs/config/toolConfig.d.ts +10 -0
- package/dist/commonjs/config/toolConfig.d.ts.map +1 -1
- package/dist/commonjs/config/toolConfig.js +36 -0
- package/dist/commonjs/config/toolConfig.js.map +1 -1
- package/dist/commonjs/index.d.ts +1 -1
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +167 -13
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/prompts/BasePrompt.d.ts +40 -0
- package/dist/commonjs/prompts/BasePrompt.d.ts.map +1 -0
- package/dist/commonjs/prompts/BasePrompt.js +38 -0
- package/dist/commonjs/prompts/BasePrompt.js.map +1 -0
- package/dist/commonjs/prompts/FindPlacesNearbyPrompt.d.ts +22 -0
- package/dist/commonjs/prompts/FindPlacesNearbyPrompt.d.ts.map +1 -0
- package/dist/commonjs/prompts/FindPlacesNearbyPrompt.js +65 -0
- package/dist/commonjs/prompts/FindPlacesNearbyPrompt.js.map +1 -0
- package/dist/commonjs/prompts/GetDirectionsPrompt.d.ts +23 -0
- package/dist/commonjs/prompts/GetDirectionsPrompt.d.ts.map +1 -0
- package/dist/commonjs/prompts/GetDirectionsPrompt.js +67 -0
- package/dist/commonjs/prompts/GetDirectionsPrompt.js.map +1 -0
- package/dist/commonjs/prompts/ShowReachableAreasPrompt.d.ts +23 -0
- package/dist/commonjs/prompts/ShowReachableAreasPrompt.d.ts.map +1 -0
- package/dist/commonjs/prompts/ShowReachableAreasPrompt.js +70 -0
- package/dist/commonjs/prompts/ShowReachableAreasPrompt.js.map +1 -0
- package/dist/commonjs/prompts/promptRegistry.d.ts +29 -0
- package/dist/commonjs/prompts/promptRegistry.d.ts.map +1 -0
- package/dist/commonjs/prompts/promptRegistry.js +39 -0
- package/dist/commonjs/prompts/promptRegistry.js.map +1 -0
- package/dist/commonjs/resources/BaseResource.d.ts +28 -0
- package/dist/commonjs/resources/BaseResource.d.ts.map +1 -0
- package/dist/commonjs/resources/BaseResource.js +32 -0
- package/dist/commonjs/resources/BaseResource.js.map +1 -0
- package/dist/commonjs/resources/MapboxApiBasedResource.d.ts +35 -0
- package/dist/commonjs/resources/MapboxApiBasedResource.d.ts.map +1 -0
- package/dist/commonjs/resources/MapboxApiBasedResource.js +88 -0
- package/dist/commonjs/resources/MapboxApiBasedResource.js.map +1 -0
- package/dist/commonjs/resources/category-list/CategoryListResource.d.ts +27 -0
- package/dist/commonjs/resources/category-list/CategoryListResource.d.ts.map +1 -0
- package/dist/commonjs/resources/category-list/CategoryListResource.js +71 -0
- package/dist/commonjs/resources/category-list/CategoryListResource.js.map +1 -0
- package/dist/commonjs/resources/resourceRegistry.d.ts +6 -0
- package/dist/commonjs/resources/resourceRegistry.d.ts.map +1 -0
- package/dist/commonjs/resources/resourceRegistry.js +32 -0
- package/dist/commonjs/resources/resourceRegistry.js.map +1 -0
- package/dist/commonjs/tools/BaseTool.d.ts +7 -0
- package/dist/commonjs/tools/BaseTool.d.ts.map +1 -1
- package/dist/commonjs/tools/BaseTool.js +19 -0
- package/dist/commonjs/tools/BaseTool.js.map +1 -1
- package/dist/commonjs/tools/MapboxApiBasedTool.d.ts.map +1 -1
- package/dist/commonjs/tools/MapboxApiBasedTool.js +1 -1
- package/dist/commonjs/tools/MapboxApiBasedTool.js.map +1 -1
- package/dist/commonjs/tools/category-list-tool/CategoryListTool.d.ts.map +1 -1
- package/dist/commonjs/tools/category-list-tool/CategoryListTool.js +2 -2
- package/dist/commonjs/tools/category-list-tool/CategoryListTool.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 +4 -10
- package/dist/commonjs/tools/category-search-tool/CategorySearchTool.input.schema.d.ts.map +1 -1
- package/dist/commonjs/tools/category-search-tool/CategorySearchTool.input.schema.js +5 -43
- package/dist/commonjs/tools/category-search-tool/CategorySearchTool.input.schema.js.map +1 -1
- package/dist/commonjs/tools/category-search-tool/CategorySearchTool.js +2 -7
- package/dist/commonjs/tools/category-search-tool/CategorySearchTool.js.map +1 -1
- package/dist/commonjs/tools/category-search-tool/CategorySearchTool.output.schema.d.ts +204 -204
- 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 +2 -1
- package/dist/commonjs/tools/category-search-tool/CategorySearchTool.output.schema.js.map +1 -1
- package/dist/commonjs/tools/directions-tool/DirectionsTool.output.schema.d.ts +66 -66
- package/dist/commonjs/tools/isochrone-tool/IsochroneTool.output.schema.d.ts +28 -28
- package/dist/commonjs/tools/resource-reader-tool/ResourceReaderTool.d.ts +28 -0
- package/dist/commonjs/tools/resource-reader-tool/ResourceReaderTool.d.ts.map +1 -0
- package/dist/commonjs/tools/resource-reader-tool/ResourceReaderTool.input.schema.d.ts +10 -0
- package/dist/commonjs/tools/resource-reader-tool/ResourceReaderTool.input.schema.d.ts.map +1 -0
- package/dist/commonjs/tools/resource-reader-tool/ResourceReaderTool.input.schema.js +13 -0
- package/dist/commonjs/tools/resource-reader-tool/ResourceReaderTool.input.schema.js.map +1 -0
- package/dist/commonjs/tools/resource-reader-tool/ResourceReaderTool.js +141 -0
- package/dist/commonjs/tools/resource-reader-tool/ResourceReaderTool.js.map +1 -0
- package/dist/commonjs/tools/resource-reader-tool/ResourceReaderTool.output.schema.d.ts +19 -0
- package/dist/commonjs/tools/resource-reader-tool/ResourceReaderTool.output.schema.d.ts.map +1 -0
- package/dist/commonjs/tools/resource-reader-tool/ResourceReaderTool.output.schema.js +13 -0
- package/dist/commonjs/tools/resource-reader-tool/ResourceReaderTool.output.schema.js.map +1 -0
- package/dist/commonjs/tools/reverse-geocode-tool/ReverseGeocodeTool.input.schema.d.ts +1 -1
- package/dist/commonjs/tools/reverse-geocode-tool/ReverseGeocodeTool.output.schema.d.ts +538 -538
- 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 +17 -17
- package/dist/commonjs/tools/search-and-geocode-tool/SearchAndGeocodeTool.input.schema.d.ts.map +1 -1
- package/dist/commonjs/tools/search-and-geocode-tool/SearchAndGeocodeTool.input.schema.js +6 -30
- package/dist/commonjs/tools/search-and-geocode-tool/SearchAndGeocodeTool.input.schema.js.map +1 -1
- package/dist/commonjs/tools/search-and-geocode-tool/SearchAndGeocodeTool.js +2 -11
- 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 +1514 -623
- package/dist/commonjs/tools/search-and-geocode-tool/SearchAndGeocodeTool.output.schema.d.ts.map +1 -1
- package/dist/commonjs/tools/search-and-geocode-tool/SearchAndGeocodeTool.output.schema.js +9 -4
- package/dist/commonjs/tools/search-and-geocode-tool/SearchAndGeocodeTool.output.schema.js.map +1 -1
- 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 +8 -8
- package/dist/commonjs/tools/static-map-image-tool/StaticMapImageTool.js +26 -7
- package/dist/commonjs/tools/static-map-image-tool/StaticMapImageTool.js.map +1 -1
- package/dist/commonjs/tools/toolRegistry.d.ts +2 -1
- package/dist/commonjs/tools/toolRegistry.d.ts.map +1 -1
- package/dist/commonjs/tools/toolRegistry.js +2 -0
- package/dist/commonjs/tools/toolRegistry.js.map +1 -1
- package/dist/commonjs/tools/version-tool/VersionTool.d.ts.map +1 -1
- package/dist/commonjs/tools/version-tool/VersionTool.js +7 -7
- package/dist/commonjs/tools/version-tool/VersionTool.js.map +1 -1
- package/dist/commonjs/utils/httpPipeline.d.ts +5 -0
- package/dist/commonjs/utils/httpPipeline.d.ts.map +1 -1
- package/dist/commonjs/utils/httpPipeline.js +46 -1
- package/dist/commonjs/utils/httpPipeline.js.map +1 -1
- package/dist/commonjs/utils/tracing.d.ts.map +1 -1
- package/dist/commonjs/utils/tracing.js +17 -0
- package/dist/commonjs/utils/tracing.js.map +1 -1
- package/dist/commonjs/version.json +4 -4
- package/dist/esm/config/toolConfig.d.ts +10 -0
- package/dist/esm/config/toolConfig.d.ts.map +1 -1
- package/dist/esm/config/toolConfig.js +35 -0
- package/dist/esm/config/toolConfig.js.map +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +168 -14
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/prompts/BasePrompt.d.ts +40 -0
- package/dist/esm/prompts/BasePrompt.d.ts.map +1 -0
- package/dist/esm/prompts/BasePrompt.js +34 -0
- package/dist/esm/prompts/BasePrompt.js.map +1 -0
- package/dist/esm/prompts/FindPlacesNearbyPrompt.d.ts +22 -0
- package/dist/esm/prompts/FindPlacesNearbyPrompt.d.ts.map +1 -0
- package/dist/esm/prompts/FindPlacesNearbyPrompt.js +61 -0
- package/dist/esm/prompts/FindPlacesNearbyPrompt.js.map +1 -0
- package/dist/esm/prompts/GetDirectionsPrompt.d.ts +23 -0
- package/dist/esm/prompts/GetDirectionsPrompt.d.ts.map +1 -0
- package/dist/esm/prompts/GetDirectionsPrompt.js +63 -0
- package/dist/esm/prompts/GetDirectionsPrompt.js.map +1 -0
- package/dist/esm/prompts/ShowReachableAreasPrompt.d.ts +23 -0
- package/dist/esm/prompts/ShowReachableAreasPrompt.d.ts.map +1 -0
- package/dist/esm/prompts/ShowReachableAreasPrompt.js +66 -0
- package/dist/esm/prompts/ShowReachableAreasPrompt.js.map +1 -0
- package/dist/esm/prompts/promptRegistry.d.ts +29 -0
- package/dist/esm/prompts/promptRegistry.d.ts.map +1 -0
- package/dist/esm/prompts/promptRegistry.js +35 -0
- package/dist/esm/prompts/promptRegistry.js.map +1 -0
- package/dist/esm/resources/BaseResource.d.ts +28 -0
- package/dist/esm/resources/BaseResource.d.ts.map +1 -0
- package/dist/esm/resources/BaseResource.js +28 -0
- package/dist/esm/resources/BaseResource.js.map +1 -0
- package/dist/esm/resources/MapboxApiBasedResource.d.ts +35 -0
- package/dist/esm/resources/MapboxApiBasedResource.d.ts.map +1 -0
- package/dist/esm/resources/MapboxApiBasedResource.js +84 -0
- package/dist/esm/resources/MapboxApiBasedResource.js.map +1 -0
- package/dist/esm/resources/category-list/CategoryListResource.d.ts +27 -0
- package/dist/esm/resources/category-list/CategoryListResource.d.ts.map +1 -0
- package/dist/esm/resources/category-list/CategoryListResource.js +67 -0
- package/dist/esm/resources/category-list/CategoryListResource.js.map +1 -0
- package/dist/esm/resources/resourceRegistry.d.ts +6 -0
- package/dist/esm/resources/resourceRegistry.d.ts.map +1 -0
- package/dist/esm/resources/resourceRegistry.js +27 -0
- package/dist/esm/resources/resourceRegistry.js.map +1 -0
- package/dist/esm/tools/BaseTool.d.ts +7 -0
- package/dist/esm/tools/BaseTool.d.ts.map +1 -1
- package/dist/esm/tools/BaseTool.js +19 -0
- package/dist/esm/tools/BaseTool.js.map +1 -1
- package/dist/esm/tools/MapboxApiBasedTool.d.ts.map +1 -1
- package/dist/esm/tools/MapboxApiBasedTool.js +1 -1
- package/dist/esm/tools/MapboxApiBasedTool.js.map +1 -1
- package/dist/esm/tools/category-list-tool/CategoryListTool.d.ts.map +1 -1
- package/dist/esm/tools/category-list-tool/CategoryListTool.js +2 -2
- package/dist/esm/tools/category-list-tool/CategoryListTool.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 +4 -10
- package/dist/esm/tools/category-search-tool/CategorySearchTool.input.schema.d.ts.map +1 -1
- package/dist/esm/tools/category-search-tool/CategorySearchTool.input.schema.js +5 -43
- package/dist/esm/tools/category-search-tool/CategorySearchTool.input.schema.js.map +1 -1
- package/dist/esm/tools/category-search-tool/CategorySearchTool.js +2 -7
- package/dist/esm/tools/category-search-tool/CategorySearchTool.js.map +1 -1
- package/dist/esm/tools/category-search-tool/CategorySearchTool.output.schema.d.ts +204 -204
- 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 +2 -1
- package/dist/esm/tools/category-search-tool/CategorySearchTool.output.schema.js.map +1 -1
- package/dist/esm/tools/directions-tool/DirectionsTool.output.schema.d.ts +66 -66
- package/dist/esm/tools/isochrone-tool/IsochroneTool.output.schema.d.ts +28 -28
- package/dist/esm/tools/resource-reader-tool/ResourceReaderTool.d.ts +28 -0
- package/dist/esm/tools/resource-reader-tool/ResourceReaderTool.d.ts.map +1 -0
- package/dist/esm/tools/resource-reader-tool/ResourceReaderTool.input.schema.d.ts +10 -0
- package/dist/esm/tools/resource-reader-tool/ResourceReaderTool.input.schema.d.ts.map +1 -0
- package/dist/esm/tools/resource-reader-tool/ResourceReaderTool.input.schema.js +10 -0
- package/dist/esm/tools/resource-reader-tool/ResourceReaderTool.input.schema.js.map +1 -0
- package/dist/esm/tools/resource-reader-tool/ResourceReaderTool.js +137 -0
- package/dist/esm/tools/resource-reader-tool/ResourceReaderTool.js.map +1 -0
- package/dist/esm/tools/resource-reader-tool/ResourceReaderTool.output.schema.d.ts +19 -0
- package/dist/esm/tools/resource-reader-tool/ResourceReaderTool.output.schema.d.ts.map +1 -0
- package/dist/esm/tools/resource-reader-tool/ResourceReaderTool.output.schema.js +10 -0
- package/dist/esm/tools/resource-reader-tool/ResourceReaderTool.output.schema.js.map +1 -0
- package/dist/esm/tools/reverse-geocode-tool/ReverseGeocodeTool.input.schema.d.ts +1 -1
- package/dist/esm/tools/reverse-geocode-tool/ReverseGeocodeTool.output.schema.d.ts +538 -538
- 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 +17 -17
- package/dist/esm/tools/search-and-geocode-tool/SearchAndGeocodeTool.input.schema.d.ts.map +1 -1
- package/dist/esm/tools/search-and-geocode-tool/SearchAndGeocodeTool.input.schema.js +6 -30
- package/dist/esm/tools/search-and-geocode-tool/SearchAndGeocodeTool.input.schema.js.map +1 -1
- package/dist/esm/tools/search-and-geocode-tool/SearchAndGeocodeTool.js +2 -11
- 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 +1514 -623
- package/dist/esm/tools/search-and-geocode-tool/SearchAndGeocodeTool.output.schema.d.ts.map +1 -1
- package/dist/esm/tools/search-and-geocode-tool/SearchAndGeocodeTool.output.schema.js +9 -4
- package/dist/esm/tools/search-and-geocode-tool/SearchAndGeocodeTool.output.schema.js.map +1 -1
- 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 +8 -8
- package/dist/esm/tools/static-map-image-tool/StaticMapImageTool.js +26 -7
- package/dist/esm/tools/static-map-image-tool/StaticMapImageTool.js.map +1 -1
- package/dist/esm/tools/toolRegistry.d.ts +2 -1
- package/dist/esm/tools/toolRegistry.d.ts.map +1 -1
- package/dist/esm/tools/toolRegistry.js +2 -0
- package/dist/esm/tools/toolRegistry.js.map +1 -1
- package/dist/esm/tools/version-tool/VersionTool.d.ts.map +1 -1
- package/dist/esm/tools/version-tool/VersionTool.js +7 -7
- package/dist/esm/tools/version-tool/VersionTool.js.map +1 -1
- package/dist/esm/utils/httpPipeline.d.ts +5 -0
- package/dist/esm/utils/httpPipeline.d.ts.map +1 -1
- package/dist/esm/utils/httpPipeline.js +44 -0
- package/dist/esm/utils/httpPipeline.js.map +1 -1
- package/dist/esm/utils/tracing.d.ts.map +1 -1
- package/dist/esm/utils/tracing.js +18 -1
- package/dist/esm/utils/tracing.js.map +1 -1
- package/dist/esm/version.json +4 -4
- package/package.json +8 -11
|
@@ -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;
|
|
@@ -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
|
-
name: string;
|
|
47
46
|
language: string;
|
|
48
|
-
}, {
|
|
49
47
|
name: string;
|
|
48
|
+
}, {
|
|
50
49
|
language: string;
|
|
50
|
+
name: 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
|
-
name: string;
|
|
61
60
|
language: string;
|
|
61
|
+
name: 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
|
-
name: string;
|
|
72
71
|
language: string;
|
|
72
|
+
name: 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
|
-
name: string;
|
|
83
82
|
language: string;
|
|
84
|
-
}, {
|
|
85
83
|
name: string;
|
|
84
|
+
}, {
|
|
86
85
|
language: string;
|
|
86
|
+
name: string;
|
|
87
87
|
}>>>;
|
|
88
88
|
}, "strip", z.ZodTypeAny, {
|
|
89
89
|
name: string;
|
|
90
90
|
mapbox_id: string;
|
|
91
91
|
translations?: Record<string, {
|
|
92
|
-
name: string;
|
|
93
92
|
language: string;
|
|
93
|
+
name: string;
|
|
94
94
|
}> | undefined;
|
|
95
95
|
}, {
|
|
96
96
|
name: string;
|
|
97
97
|
mapbox_id: string;
|
|
98
98
|
translations?: Record<string, {
|
|
99
|
-
name: string;
|
|
100
99
|
language: string;
|
|
100
|
+
name: 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
|
-
name: string;
|
|
122
121
|
language: string;
|
|
123
|
-
}, {
|
|
124
122
|
name: string;
|
|
123
|
+
}, {
|
|
125
124
|
language: string;
|
|
125
|
+
name: 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
|
-
name: string;
|
|
136
135
|
language: string;
|
|
136
|
+
name: 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
|
-
name: string;
|
|
148
147
|
language: string;
|
|
148
|
+
name: 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
|
-
name: string;
|
|
171
170
|
language: string;
|
|
172
|
-
}, {
|
|
173
171
|
name: string;
|
|
172
|
+
}, {
|
|
174
173
|
language: string;
|
|
174
|
+
name: 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
|
-
name: string;
|
|
185
184
|
language: string;
|
|
185
|
+
name: 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
|
-
name: string;
|
|
197
196
|
language: string;
|
|
197
|
+
name: 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
|
-
name: string;
|
|
210
209
|
language: string;
|
|
211
|
-
}, {
|
|
212
210
|
name: string;
|
|
211
|
+
}, {
|
|
213
212
|
language: string;
|
|
213
|
+
name: string;
|
|
214
214
|
}>>>;
|
|
215
215
|
}, "strip", z.ZodTypeAny, {
|
|
216
216
|
name: string;
|
|
217
217
|
mapbox_id: string;
|
|
218
218
|
translations?: Record<string, {
|
|
219
|
-
name: string;
|
|
220
219
|
language: string;
|
|
220
|
+
name: 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
|
-
name: string;
|
|
228
227
|
language: string;
|
|
228
|
+
name: 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
|
-
name: string;
|
|
243
242
|
language: string;
|
|
244
|
-
}, {
|
|
245
243
|
name: string;
|
|
244
|
+
}, {
|
|
246
245
|
language: string;
|
|
246
|
+
name: string;
|
|
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
|
-
name: string;
|
|
255
254
|
language: string;
|
|
255
|
+
name: string;
|
|
256
256
|
}> | undefined;
|
|
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
|
-
name: string;
|
|
265
264
|
language: string;
|
|
265
|
+
name: 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
|
-
name: string;
|
|
280
279
|
language: string;
|
|
281
|
-
}, {
|
|
282
280
|
name: string;
|
|
281
|
+
}, {
|
|
283
282
|
language: string;
|
|
283
|
+
name: string;
|
|
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
|
-
name: string;
|
|
292
291
|
language: string;
|
|
292
|
+
name: string;
|
|
293
293
|
}> | undefined;
|
|
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
|
-
name: string;
|
|
302
301
|
language: string;
|
|
302
|
+
name: 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;
|
|
338
339
|
country_code: string;
|
|
339
340
|
country_code_alpha_3: string;
|
|
340
|
-
mapbox_id: string;
|
|
341
341
|
translations?: Record<string, {
|
|
342
|
-
name: string;
|
|
343
342
|
language: string;
|
|
343
|
+
name: string;
|
|
344
344
|
}> | undefined;
|
|
345
345
|
wikidata_id?: string | undefined;
|
|
346
346
|
} | undefined;
|
|
347
347
|
region?: {
|
|
348
348
|
name: string;
|
|
349
|
+
mapbox_id: string;
|
|
349
350
|
region_code: string;
|
|
350
351
|
region_code_full: string;
|
|
351
|
-
mapbox_id: string;
|
|
352
352
|
translations?: Record<string, {
|
|
353
|
-
name: string;
|
|
354
353
|
language: string;
|
|
354
|
+
name: 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
|
-
name: string;
|
|
363
362
|
language: string;
|
|
363
|
+
name: 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
|
-
name: string;
|
|
371
370
|
language: string;
|
|
371
|
+
name: 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
|
-
name: string;
|
|
384
383
|
language: string;
|
|
384
|
+
name: 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
|
-
name: string;
|
|
397
396
|
language: string;
|
|
397
|
+
name: 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
|
-
name: string;
|
|
410
409
|
language: string;
|
|
410
|
+
name: string;
|
|
411
411
|
}> | undefined;
|
|
412
412
|
} | undefined;
|
|
413
413
|
address?: {
|
|
414
414
|
name: string;
|
|
415
|
+
mapbox_id: string;
|
|
415
416
|
address_number: string;
|
|
416
417
|
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;
|
|
437
438
|
country_code: string;
|
|
438
439
|
country_code_alpha_3: string;
|
|
439
|
-
mapbox_id: string;
|
|
440
440
|
translations?: Record<string, {
|
|
441
|
-
name: string;
|
|
442
441
|
language: string;
|
|
442
|
+
name: string;
|
|
443
443
|
}> | undefined;
|
|
444
444
|
wikidata_id?: string | undefined;
|
|
445
445
|
} | undefined;
|
|
446
446
|
region?: {
|
|
447
447
|
name: string;
|
|
448
|
+
mapbox_id: string;
|
|
448
449
|
region_code: string;
|
|
449
450
|
region_code_full: string;
|
|
450
|
-
mapbox_id: string;
|
|
451
451
|
translations?: Record<string, {
|
|
452
|
-
name: string;
|
|
453
452
|
language: string;
|
|
453
|
+
name: 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
|
-
name: string;
|
|
462
461
|
language: string;
|
|
462
|
+
name: 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
|
-
name: string;
|
|
470
469
|
language: string;
|
|
470
|
+
name: 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
|
-
name: string;
|
|
483
482
|
language: string;
|
|
483
|
+
name: 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
|
-
name: string;
|
|
496
495
|
language: string;
|
|
496
|
+
name: 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
|
-
name: string;
|
|
509
508
|
language: string;
|
|
509
|
+
name: string;
|
|
510
510
|
}> | undefined;
|
|
511
511
|
} | undefined;
|
|
512
512
|
address?: {
|
|
513
513
|
name: string;
|
|
514
|
+
mapbox_id: string;
|
|
514
515
|
address_number: string;
|
|
515
516
|
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;
|
|
547
546
|
region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
548
547
|
postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
549
548
|
place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
550
549
|
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;
|
|
556
555
|
region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
557
556
|
postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
558
557
|
place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
559
558
|
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;
|
|
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;
|
|
@@ -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
|
-
name: string;
|
|
614
613
|
language: string;
|
|
615
|
-
}, {
|
|
616
614
|
name: string;
|
|
615
|
+
}, {
|
|
617
616
|
language: string;
|
|
617
|
+
name: 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
|
-
name: string;
|
|
628
627
|
language: string;
|
|
628
|
+
name: 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
|
-
name: string;
|
|
639
638
|
language: string;
|
|
639
|
+
name: 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
|
-
name: string;
|
|
650
649
|
language: string;
|
|
651
|
-
}, {
|
|
652
650
|
name: string;
|
|
651
|
+
}, {
|
|
653
652
|
language: string;
|
|
653
|
+
name: string;
|
|
654
654
|
}>>>;
|
|
655
655
|
}, "strip", z.ZodTypeAny, {
|
|
656
656
|
name: string;
|
|
657
657
|
mapbox_id: string;
|
|
658
658
|
translations?: Record<string, {
|
|
659
|
-
name: string;
|
|
660
659
|
language: string;
|
|
660
|
+
name: string;
|
|
661
661
|
}> | undefined;
|
|
662
662
|
}, {
|
|
663
663
|
name: string;
|
|
664
664
|
mapbox_id: string;
|
|
665
665
|
translations?: Record<string, {
|
|
666
|
-
name: string;
|
|
667
666
|
language: string;
|
|
667
|
+
name: 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
|
-
name: string;
|
|
689
688
|
language: string;
|
|
690
|
-
}, {
|
|
691
689
|
name: string;
|
|
690
|
+
}, {
|
|
692
691
|
language: string;
|
|
692
|
+
name: 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
|
-
name: string;
|
|
703
702
|
language: string;
|
|
703
|
+
name: 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
|
-
name: string;
|
|
715
714
|
language: string;
|
|
715
|
+
name: 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
|
-
name: string;
|
|
738
737
|
language: string;
|
|
739
|
-
}, {
|
|
740
738
|
name: string;
|
|
739
|
+
}, {
|
|
741
740
|
language: string;
|
|
741
|
+
name: 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
|
-
name: string;
|
|
752
751
|
language: string;
|
|
752
|
+
name: 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
|
-
name: string;
|
|
764
763
|
language: string;
|
|
764
|
+
name: 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
|
-
name: string;
|
|
777
776
|
language: string;
|
|
778
|
-
}, {
|
|
779
777
|
name: string;
|
|
778
|
+
}, {
|
|
780
779
|
language: string;
|
|
780
|
+
name: string;
|
|
781
781
|
}>>>;
|
|
782
782
|
}, "strip", z.ZodTypeAny, {
|
|
783
783
|
name: string;
|
|
784
784
|
mapbox_id: string;
|
|
785
785
|
translations?: Record<string, {
|
|
786
|
-
name: string;
|
|
787
786
|
language: string;
|
|
787
|
+
name: 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
|
-
name: string;
|
|
795
794
|
language: string;
|
|
795
|
+
name: 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
|
-
name: string;
|
|
810
809
|
language: string;
|
|
811
|
-
}, {
|
|
812
810
|
name: string;
|
|
811
|
+
}, {
|
|
813
812
|
language: string;
|
|
813
|
+
name: string;
|
|
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
|
-
name: string;
|
|
822
821
|
language: string;
|
|
822
|
+
name: string;
|
|
823
823
|
}> | undefined;
|
|
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
|
-
name: string;
|
|
832
831
|
language: string;
|
|
832
|
+
name: 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
|
-
name: string;
|
|
847
846
|
language: string;
|
|
848
|
-
}, {
|
|
849
847
|
name: string;
|
|
848
|
+
}, {
|
|
850
849
|
language: string;
|
|
850
|
+
name: string;
|
|
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
|
-
name: string;
|
|
859
858
|
language: string;
|
|
859
|
+
name: string;
|
|
860
860
|
}> | undefined;
|
|
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
|
-
name: string;
|
|
869
868
|
language: string;
|
|
869
|
+
name: 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;
|
|
905
906
|
country_code: string;
|
|
906
907
|
country_code_alpha_3: string;
|
|
907
|
-
mapbox_id: string;
|
|
908
908
|
translations?: Record<string, {
|
|
909
|
-
name: string;
|
|
910
909
|
language: string;
|
|
910
|
+
name: string;
|
|
911
911
|
}> | undefined;
|
|
912
912
|
wikidata_id?: string | undefined;
|
|
913
913
|
} | undefined;
|
|
914
914
|
region?: {
|
|
915
915
|
name: string;
|
|
916
|
+
mapbox_id: string;
|
|
916
917
|
region_code: string;
|
|
917
918
|
region_code_full: string;
|
|
918
|
-
mapbox_id: string;
|
|
919
919
|
translations?: Record<string, {
|
|
920
|
-
name: string;
|
|
921
920
|
language: string;
|
|
921
|
+
name: 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
|
-
name: string;
|
|
930
929
|
language: string;
|
|
930
|
+
name: 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
|
-
name: string;
|
|
938
937
|
language: string;
|
|
938
|
+
name: 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
|
-
name: string;
|
|
951
950
|
language: string;
|
|
951
|
+
name: 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
|
-
name: string;
|
|
964
963
|
language: string;
|
|
964
|
+
name: 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
|
-
name: string;
|
|
977
976
|
language: string;
|
|
977
|
+
name: string;
|
|
978
978
|
}> | undefined;
|
|
979
979
|
} | undefined;
|
|
980
980
|
address?: {
|
|
981
981
|
name: string;
|
|
982
|
+
mapbox_id: string;
|
|
982
983
|
address_number: string;
|
|
983
984
|
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;
|
|
1004
1005
|
country_code: string;
|
|
1005
1006
|
country_code_alpha_3: string;
|
|
1006
|
-
mapbox_id: string;
|
|
1007
1007
|
translations?: Record<string, {
|
|
1008
|
-
name: string;
|
|
1009
1008
|
language: string;
|
|
1009
|
+
name: string;
|
|
1010
1010
|
}> | undefined;
|
|
1011
1011
|
wikidata_id?: string | undefined;
|
|
1012
1012
|
} | undefined;
|
|
1013
1013
|
region?: {
|
|
1014
1014
|
name: string;
|
|
1015
|
+
mapbox_id: string;
|
|
1015
1016
|
region_code: string;
|
|
1016
1017
|
region_code_full: string;
|
|
1017
|
-
mapbox_id: string;
|
|
1018
1018
|
translations?: Record<string, {
|
|
1019
|
-
name: string;
|
|
1020
1019
|
language: string;
|
|
1020
|
+
name: 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
|
-
name: string;
|
|
1029
1028
|
language: string;
|
|
1029
|
+
name: 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
|
-
name: string;
|
|
1037
1036
|
language: string;
|
|
1037
|
+
name: 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
|
-
name: string;
|
|
1050
1049
|
language: string;
|
|
1050
|
+
name: 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
|
-
name: string;
|
|
1063
1062
|
language: string;
|
|
1063
|
+
name: 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
|
-
name: string;
|
|
1076
1075
|
language: string;
|
|
1076
|
+
name: string;
|
|
1077
1077
|
}> | undefined;
|
|
1078
1078
|
} | undefined;
|
|
1079
1079
|
address?: {
|
|
1080
1080
|
name: string;
|
|
1081
|
+
mapbox_id: string;
|
|
1081
1082
|
address_number: string;
|
|
1082
1083
|
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;
|
|
1151
1150
|
region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
1152
1151
|
postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
1153
1152
|
place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
1154
1153
|
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;
|
|
1160
1159
|
region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
1161
1160
|
postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
1162
1161
|
place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
1163
1162
|
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,28 +1175,38 @@ 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
|
+
};
|
|
1178
1188
|
mapbox_id: string;
|
|
1179
1189
|
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
|
|
1180
1190
|
context: {
|
|
1181
1191
|
country?: {
|
|
1182
1192
|
name: string;
|
|
1193
|
+
mapbox_id: string;
|
|
1183
1194
|
country_code: string;
|
|
1184
1195
|
country_code_alpha_3: string;
|
|
1185
|
-
mapbox_id: string;
|
|
1186
1196
|
translations?: Record<string, {
|
|
1187
|
-
name: string;
|
|
1188
1197
|
language: string;
|
|
1198
|
+
name: string;
|
|
1189
1199
|
}> | undefined;
|
|
1190
1200
|
wikidata_id?: string | undefined;
|
|
1191
1201
|
} | undefined;
|
|
1192
1202
|
region?: {
|
|
1193
1203
|
name: string;
|
|
1204
|
+
mapbox_id: string;
|
|
1194
1205
|
region_code: string;
|
|
1195
1206
|
region_code_full: string;
|
|
1196
|
-
mapbox_id: string;
|
|
1197
1207
|
translations?: Record<string, {
|
|
1198
|
-
name: string;
|
|
1199
1208
|
language: string;
|
|
1209
|
+
name: string;
|
|
1200
1210
|
}> | undefined;
|
|
1201
1211
|
wikidata_id?: string | undefined;
|
|
1202
1212
|
} | undefined;
|
|
@@ -1204,16 +1214,16 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
1204
1214
|
name: string;
|
|
1205
1215
|
mapbox_id: string;
|
|
1206
1216
|
translations?: Record<string, {
|
|
1207
|
-
name: string;
|
|
1208
1217
|
language: string;
|
|
1218
|
+
name: string;
|
|
1209
1219
|
}> | undefined;
|
|
1210
1220
|
} | undefined;
|
|
1211
1221
|
district?: {
|
|
1212
1222
|
name: string;
|
|
1213
1223
|
mapbox_id: string;
|
|
1214
1224
|
translations?: Record<string, {
|
|
1215
|
-
name: string;
|
|
1216
1225
|
language: string;
|
|
1226
|
+
name: string;
|
|
1217
1227
|
}> | undefined;
|
|
1218
1228
|
wikidata_id?: string | undefined;
|
|
1219
1229
|
} | undefined;
|
|
@@ -1225,8 +1235,8 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
1225
1235
|
mapbox_id: string;
|
|
1226
1236
|
} | undefined;
|
|
1227
1237
|
translations?: Record<string, {
|
|
1228
|
-
name: string;
|
|
1229
1238
|
language: string;
|
|
1239
|
+
name: string;
|
|
1230
1240
|
}> | undefined;
|
|
1231
1241
|
wikidata_id?: string | undefined;
|
|
1232
1242
|
} | undefined;
|
|
@@ -1238,8 +1248,8 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
1238
1248
|
mapbox_id: string;
|
|
1239
1249
|
} | undefined;
|
|
1240
1250
|
translations?: Record<string, {
|
|
1241
|
-
name: string;
|
|
1242
1251
|
language: string;
|
|
1252
|
+
name: string;
|
|
1243
1253
|
}> | undefined;
|
|
1244
1254
|
wikidata_id?: string | undefined;
|
|
1245
1255
|
} | undefined;
|
|
@@ -1251,15 +1261,15 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
1251
1261
|
mapbox_id: string;
|
|
1252
1262
|
} | undefined;
|
|
1253
1263
|
translations?: Record<string, {
|
|
1254
|
-
name: string;
|
|
1255
1264
|
language: string;
|
|
1265
|
+
name: string;
|
|
1256
1266
|
}> | undefined;
|
|
1257
1267
|
} | undefined;
|
|
1258
1268
|
address?: {
|
|
1259
1269
|
name: string;
|
|
1270
|
+
mapbox_id: string;
|
|
1260
1271
|
address_number: string;
|
|
1261
1272
|
street_name: string;
|
|
1262
|
-
mapbox_id: string;
|
|
1263
1273
|
} | undefined;
|
|
1264
1274
|
street?: {
|
|
1265
1275
|
name: string;
|
|
@@ -1277,58 +1287,58 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
1277
1287
|
extrapolated?: boolean | undefined;
|
|
1278
1288
|
} | undefined;
|
|
1279
1289
|
};
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1284
|
-
routable_points?: {
|
|
1285
|
-
name: string;
|
|
1286
|
-
longitude: number;
|
|
1287
|
-
latitude: number;
|
|
1288
|
-
}[] | undefined;
|
|
1289
|
-
};
|
|
1290
|
+
name_preferred?: string | undefined;
|
|
1291
|
+
full_address?: string | undefined;
|
|
1292
|
+
place_formatted?: string | undefined;
|
|
1290
1293
|
bbox?: [number, number, number, number] | undefined;
|
|
1291
1294
|
reading?: {
|
|
1292
1295
|
'ja-Kana'?: string | undefined;
|
|
1293
1296
|
'ja-Latn'?: string | undefined;
|
|
1294
1297
|
} | 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;
|
|
1302
1301
|
region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
1303
1302
|
postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
1304
1303
|
place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
1305
1304
|
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
|
+
};
|
|
1310
1320
|
mapbox_id: string;
|
|
1311
1321
|
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
|
|
1312
1322
|
context: {
|
|
1313
1323
|
country?: {
|
|
1314
1324
|
name: string;
|
|
1325
|
+
mapbox_id: string;
|
|
1315
1326
|
country_code: string;
|
|
1316
1327
|
country_code_alpha_3: string;
|
|
1317
|
-
mapbox_id: string;
|
|
1318
1328
|
translations?: Record<string, {
|
|
1319
|
-
name: string;
|
|
1320
1329
|
language: string;
|
|
1330
|
+
name: string;
|
|
1321
1331
|
}> | undefined;
|
|
1322
1332
|
wikidata_id?: string | undefined;
|
|
1323
1333
|
} | undefined;
|
|
1324
1334
|
region?: {
|
|
1325
1335
|
name: string;
|
|
1336
|
+
mapbox_id: string;
|
|
1326
1337
|
region_code: string;
|
|
1327
1338
|
region_code_full: string;
|
|
1328
|
-
mapbox_id: string;
|
|
1329
1339
|
translations?: Record<string, {
|
|
1330
|
-
name: string;
|
|
1331
1340
|
language: string;
|
|
1341
|
+
name: string;
|
|
1332
1342
|
}> | undefined;
|
|
1333
1343
|
wikidata_id?: string | undefined;
|
|
1334
1344
|
} | undefined;
|
|
@@ -1336,16 +1346,16 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
1336
1346
|
name: string;
|
|
1337
1347
|
mapbox_id: string;
|
|
1338
1348
|
translations?: Record<string, {
|
|
1339
|
-
name: string;
|
|
1340
1349
|
language: string;
|
|
1350
|
+
name: string;
|
|
1341
1351
|
}> | undefined;
|
|
1342
1352
|
} | undefined;
|
|
1343
1353
|
district?: {
|
|
1344
1354
|
name: string;
|
|
1345
1355
|
mapbox_id: string;
|
|
1346
1356
|
translations?: Record<string, {
|
|
1347
|
-
name: string;
|
|
1348
1357
|
language: string;
|
|
1358
|
+
name: string;
|
|
1349
1359
|
}> | undefined;
|
|
1350
1360
|
wikidata_id?: string | undefined;
|
|
1351
1361
|
} | undefined;
|
|
@@ -1357,8 +1367,8 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
1357
1367
|
mapbox_id: string;
|
|
1358
1368
|
} | undefined;
|
|
1359
1369
|
translations?: Record<string, {
|
|
1360
|
-
name: string;
|
|
1361
1370
|
language: string;
|
|
1371
|
+
name: string;
|
|
1362
1372
|
}> | undefined;
|
|
1363
1373
|
wikidata_id?: string | undefined;
|
|
1364
1374
|
} | undefined;
|
|
@@ -1370,8 +1380,8 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
1370
1380
|
mapbox_id: string;
|
|
1371
1381
|
} | undefined;
|
|
1372
1382
|
translations?: Record<string, {
|
|
1373
|
-
name: string;
|
|
1374
1383
|
language: string;
|
|
1384
|
+
name: string;
|
|
1375
1385
|
}> | undefined;
|
|
1376
1386
|
wikidata_id?: string | undefined;
|
|
1377
1387
|
} | undefined;
|
|
@@ -1383,15 +1393,15 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
1383
1393
|
mapbox_id: string;
|
|
1384
1394
|
} | undefined;
|
|
1385
1395
|
translations?: Record<string, {
|
|
1386
|
-
name: string;
|
|
1387
1396
|
language: string;
|
|
1397
|
+
name: string;
|
|
1388
1398
|
}> | undefined;
|
|
1389
1399
|
} | undefined;
|
|
1390
1400
|
address?: {
|
|
1391
1401
|
name: string;
|
|
1402
|
+
mapbox_id: string;
|
|
1392
1403
|
address_number: string;
|
|
1393
1404
|
street_name: string;
|
|
1394
|
-
mapbox_id: string;
|
|
1395
1405
|
} | undefined;
|
|
1396
1406
|
street?: {
|
|
1397
1407
|
name: string;
|
|
@@ -1409,32 +1419,22 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
1409
1419
|
extrapolated?: boolean | undefined;
|
|
1410
1420
|
} | undefined;
|
|
1411
1421
|
};
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1416
|
-
routable_points?: {
|
|
1417
|
-
name: string;
|
|
1418
|
-
longitude: number;
|
|
1419
|
-
latitude: number;
|
|
1420
|
-
}[] | undefined;
|
|
1421
|
-
};
|
|
1422
|
+
name_preferred?: string | undefined;
|
|
1423
|
+
full_address?: string | undefined;
|
|
1424
|
+
place_formatted?: string | undefined;
|
|
1422
1425
|
bbox?: [number, number, number, number] | undefined;
|
|
1423
1426
|
reading?: {
|
|
1424
1427
|
'ja-Kana'?: string | undefined;
|
|
1425
1428
|
'ja-Latn'?: string | undefined;
|
|
1426
1429
|
} | 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;
|
|
1434
1433
|
region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
1435
1434
|
postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
1436
1435
|
place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
1437
1436
|
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;
|
|
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;
|
|
@@ -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
|
-
name: string;
|
|
1506
1505
|
language: string;
|
|
1507
|
-
}, {
|
|
1508
1506
|
name: string;
|
|
1507
|
+
}, {
|
|
1509
1508
|
language: string;
|
|
1509
|
+
name: 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
|
-
name: string;
|
|
1520
1519
|
language: string;
|
|
1520
|
+
name: 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
|
-
name: string;
|
|
1531
1530
|
language: string;
|
|
1531
|
+
name: 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
|
-
name: string;
|
|
1542
1541
|
language: string;
|
|
1543
|
-
}, {
|
|
1544
1542
|
name: string;
|
|
1543
|
+
}, {
|
|
1545
1544
|
language: string;
|
|
1545
|
+
name: string;
|
|
1546
1546
|
}>>>;
|
|
1547
1547
|
}, "strip", z.ZodTypeAny, {
|
|
1548
1548
|
name: string;
|
|
1549
1549
|
mapbox_id: string;
|
|
1550
1550
|
translations?: Record<string, {
|
|
1551
|
-
name: string;
|
|
1552
1551
|
language: string;
|
|
1552
|
+
name: string;
|
|
1553
1553
|
}> | undefined;
|
|
1554
1554
|
}, {
|
|
1555
1555
|
name: string;
|
|
1556
1556
|
mapbox_id: string;
|
|
1557
1557
|
translations?: Record<string, {
|
|
1558
|
-
name: string;
|
|
1559
1558
|
language: string;
|
|
1559
|
+
name: 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
|
-
name: string;
|
|
1581
1580
|
language: string;
|
|
1582
|
-
}, {
|
|
1583
1581
|
name: string;
|
|
1582
|
+
}, {
|
|
1584
1583
|
language: string;
|
|
1584
|
+
name: 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
|
-
name: string;
|
|
1595
1594
|
language: string;
|
|
1595
|
+
name: 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
|
-
name: string;
|
|
1607
1606
|
language: string;
|
|
1607
|
+
name: 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
|
-
name: string;
|
|
1630
1629
|
language: string;
|
|
1631
|
-
}, {
|
|
1632
1630
|
name: string;
|
|
1631
|
+
}, {
|
|
1633
1632
|
language: string;
|
|
1633
|
+
name: 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
|
-
name: string;
|
|
1644
1643
|
language: string;
|
|
1644
|
+
name: 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
|
-
name: string;
|
|
1656
1655
|
language: string;
|
|
1656
|
+
name: 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
|
-
name: string;
|
|
1669
1668
|
language: string;
|
|
1670
|
-
}, {
|
|
1671
1669
|
name: string;
|
|
1670
|
+
}, {
|
|
1672
1671
|
language: string;
|
|
1672
|
+
name: string;
|
|
1673
1673
|
}>>>;
|
|
1674
1674
|
}, "strip", z.ZodTypeAny, {
|
|
1675
1675
|
name: string;
|
|
1676
1676
|
mapbox_id: string;
|
|
1677
1677
|
translations?: Record<string, {
|
|
1678
|
-
name: string;
|
|
1679
1678
|
language: string;
|
|
1679
|
+
name: 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
|
-
name: string;
|
|
1687
1686
|
language: string;
|
|
1687
|
+
name: 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
|
-
name: string;
|
|
1702
1701
|
language: string;
|
|
1703
|
-
}, {
|
|
1704
1702
|
name: string;
|
|
1703
|
+
}, {
|
|
1705
1704
|
language: string;
|
|
1705
|
+
name: string;
|
|
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
|
-
name: string;
|
|
1714
1713
|
language: string;
|
|
1714
|
+
name: string;
|
|
1715
1715
|
}> | undefined;
|
|
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
|
-
name: string;
|
|
1724
1723
|
language: string;
|
|
1724
|
+
name: 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
|
-
name: string;
|
|
1739
1738
|
language: string;
|
|
1740
|
-
}, {
|
|
1741
1739
|
name: string;
|
|
1740
|
+
}, {
|
|
1742
1741
|
language: string;
|
|
1742
|
+
name: string;
|
|
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
|
-
name: string;
|
|
1751
1750
|
language: string;
|
|
1751
|
+
name: string;
|
|
1752
1752
|
}> | undefined;
|
|
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
|
-
name: string;
|
|
1761
1760
|
language: string;
|
|
1761
|
+
name: 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;
|
|
1797
1798
|
country_code: string;
|
|
1798
1799
|
country_code_alpha_3: string;
|
|
1799
|
-
mapbox_id: string;
|
|
1800
1800
|
translations?: Record<string, {
|
|
1801
|
-
name: string;
|
|
1802
1801
|
language: string;
|
|
1802
|
+
name: string;
|
|
1803
1803
|
}> | undefined;
|
|
1804
1804
|
wikidata_id?: string | undefined;
|
|
1805
1805
|
} | undefined;
|
|
1806
1806
|
region?: {
|
|
1807
1807
|
name: string;
|
|
1808
|
+
mapbox_id: string;
|
|
1808
1809
|
region_code: string;
|
|
1809
1810
|
region_code_full: string;
|
|
1810
|
-
mapbox_id: string;
|
|
1811
1811
|
translations?: Record<string, {
|
|
1812
|
-
name: string;
|
|
1813
1812
|
language: string;
|
|
1813
|
+
name: 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
|
-
name: string;
|
|
1822
1821
|
language: string;
|
|
1822
|
+
name: 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
|
-
name: string;
|
|
1830
1829
|
language: string;
|
|
1830
|
+
name: 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
|
-
name: string;
|
|
1843
1842
|
language: string;
|
|
1843
|
+
name: 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
|
-
name: string;
|
|
1856
1855
|
language: string;
|
|
1856
|
+
name: 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
|
-
name: string;
|
|
1869
1868
|
language: string;
|
|
1869
|
+
name: string;
|
|
1870
1870
|
}> | undefined;
|
|
1871
1871
|
} | undefined;
|
|
1872
1872
|
address?: {
|
|
1873
1873
|
name: string;
|
|
1874
|
+
mapbox_id: string;
|
|
1874
1875
|
address_number: string;
|
|
1875
1876
|
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;
|
|
1896
1897
|
country_code: string;
|
|
1897
1898
|
country_code_alpha_3: string;
|
|
1898
|
-
mapbox_id: string;
|
|
1899
1899
|
translations?: Record<string, {
|
|
1900
|
-
name: string;
|
|
1901
1900
|
language: string;
|
|
1901
|
+
name: string;
|
|
1902
1902
|
}> | undefined;
|
|
1903
1903
|
wikidata_id?: string | undefined;
|
|
1904
1904
|
} | undefined;
|
|
1905
1905
|
region?: {
|
|
1906
1906
|
name: string;
|
|
1907
|
+
mapbox_id: string;
|
|
1907
1908
|
region_code: string;
|
|
1908
1909
|
region_code_full: string;
|
|
1909
|
-
mapbox_id: string;
|
|
1910
1910
|
translations?: Record<string, {
|
|
1911
|
-
name: string;
|
|
1912
1911
|
language: string;
|
|
1912
|
+
name: 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
|
-
name: string;
|
|
1921
1920
|
language: string;
|
|
1921
|
+
name: 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
|
-
name: string;
|
|
1929
1928
|
language: string;
|
|
1929
|
+
name: 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
|
-
name: string;
|
|
1942
1941
|
language: string;
|
|
1942
|
+
name: 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
|
-
name: string;
|
|
1955
1954
|
language: string;
|
|
1955
|
+
name: 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
|
-
name: string;
|
|
1968
1967
|
language: string;
|
|
1968
|
+
name: string;
|
|
1969
1969
|
}> | undefined;
|
|
1970
1970
|
} | undefined;
|
|
1971
1971
|
address?: {
|
|
1972
1972
|
name: string;
|
|
1973
|
+
mapbox_id: string;
|
|
1973
1974
|
address_number: string;
|
|
1974
1975
|
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;
|
|
2043
2042
|
region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2044
2043
|
postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2045
2044
|
place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2046
2045
|
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;
|
|
2052
2051
|
region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2053
2052
|
postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2054
2053
|
place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2055
2054
|
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,28 +2067,38 @@ 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
|
+
};
|
|
2070
2080
|
mapbox_id: string;
|
|
2071
2081
|
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
|
|
2072
2082
|
context: {
|
|
2073
2083
|
country?: {
|
|
2074
2084
|
name: string;
|
|
2085
|
+
mapbox_id: string;
|
|
2075
2086
|
country_code: string;
|
|
2076
2087
|
country_code_alpha_3: string;
|
|
2077
|
-
mapbox_id: string;
|
|
2078
2088
|
translations?: Record<string, {
|
|
2079
|
-
name: string;
|
|
2080
2089
|
language: string;
|
|
2090
|
+
name: string;
|
|
2081
2091
|
}> | undefined;
|
|
2082
2092
|
wikidata_id?: string | undefined;
|
|
2083
2093
|
} | undefined;
|
|
2084
2094
|
region?: {
|
|
2085
2095
|
name: string;
|
|
2096
|
+
mapbox_id: string;
|
|
2086
2097
|
region_code: string;
|
|
2087
2098
|
region_code_full: string;
|
|
2088
|
-
mapbox_id: string;
|
|
2089
2099
|
translations?: Record<string, {
|
|
2090
|
-
name: string;
|
|
2091
2100
|
language: string;
|
|
2101
|
+
name: string;
|
|
2092
2102
|
}> | undefined;
|
|
2093
2103
|
wikidata_id?: string | undefined;
|
|
2094
2104
|
} | undefined;
|
|
@@ -2096,16 +2106,16 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2096
2106
|
name: string;
|
|
2097
2107
|
mapbox_id: string;
|
|
2098
2108
|
translations?: Record<string, {
|
|
2099
|
-
name: string;
|
|
2100
2109
|
language: string;
|
|
2110
|
+
name: string;
|
|
2101
2111
|
}> | undefined;
|
|
2102
2112
|
} | undefined;
|
|
2103
2113
|
district?: {
|
|
2104
2114
|
name: string;
|
|
2105
2115
|
mapbox_id: string;
|
|
2106
2116
|
translations?: Record<string, {
|
|
2107
|
-
name: string;
|
|
2108
2117
|
language: string;
|
|
2118
|
+
name: string;
|
|
2109
2119
|
}> | undefined;
|
|
2110
2120
|
wikidata_id?: string | undefined;
|
|
2111
2121
|
} | undefined;
|
|
@@ -2117,8 +2127,8 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2117
2127
|
mapbox_id: string;
|
|
2118
2128
|
} | undefined;
|
|
2119
2129
|
translations?: Record<string, {
|
|
2120
|
-
name: string;
|
|
2121
2130
|
language: string;
|
|
2131
|
+
name: string;
|
|
2122
2132
|
}> | undefined;
|
|
2123
2133
|
wikidata_id?: string | undefined;
|
|
2124
2134
|
} | undefined;
|
|
@@ -2130,8 +2140,8 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2130
2140
|
mapbox_id: string;
|
|
2131
2141
|
} | undefined;
|
|
2132
2142
|
translations?: Record<string, {
|
|
2133
|
-
name: string;
|
|
2134
2143
|
language: string;
|
|
2144
|
+
name: string;
|
|
2135
2145
|
}> | undefined;
|
|
2136
2146
|
wikidata_id?: string | undefined;
|
|
2137
2147
|
} | undefined;
|
|
@@ -2143,15 +2153,15 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2143
2153
|
mapbox_id: string;
|
|
2144
2154
|
} | undefined;
|
|
2145
2155
|
translations?: Record<string, {
|
|
2146
|
-
name: string;
|
|
2147
2156
|
language: string;
|
|
2157
|
+
name: string;
|
|
2148
2158
|
}> | undefined;
|
|
2149
2159
|
} | undefined;
|
|
2150
2160
|
address?: {
|
|
2151
2161
|
name: string;
|
|
2162
|
+
mapbox_id: string;
|
|
2152
2163
|
address_number: string;
|
|
2153
2164
|
street_name: string;
|
|
2154
|
-
mapbox_id: string;
|
|
2155
2165
|
} | undefined;
|
|
2156
2166
|
street?: {
|
|
2157
2167
|
name: string;
|
|
@@ -2169,58 +2179,58 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2169
2179
|
extrapolated?: boolean | undefined;
|
|
2170
2180
|
} | undefined;
|
|
2171
2181
|
};
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
2176
|
-
routable_points?: {
|
|
2177
|
-
name: string;
|
|
2178
|
-
longitude: number;
|
|
2179
|
-
latitude: number;
|
|
2180
|
-
}[] | undefined;
|
|
2181
|
-
};
|
|
2182
|
+
name_preferred?: string | undefined;
|
|
2183
|
+
full_address?: string | undefined;
|
|
2184
|
+
place_formatted?: string | undefined;
|
|
2182
2185
|
bbox?: [number, number, number, number] | undefined;
|
|
2183
2186
|
reading?: {
|
|
2184
2187
|
'ja-Kana'?: string | undefined;
|
|
2185
2188
|
'ja-Latn'?: string | undefined;
|
|
2186
2189
|
} | 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;
|
|
2194
2193
|
region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2195
2194
|
postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2196
2195
|
place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2197
2196
|
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
|
+
};
|
|
2202
2212
|
mapbox_id: string;
|
|
2203
2213
|
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
|
|
2204
2214
|
context: {
|
|
2205
2215
|
country?: {
|
|
2206
2216
|
name: string;
|
|
2217
|
+
mapbox_id: string;
|
|
2207
2218
|
country_code: string;
|
|
2208
2219
|
country_code_alpha_3: string;
|
|
2209
|
-
mapbox_id: string;
|
|
2210
2220
|
translations?: Record<string, {
|
|
2211
|
-
name: string;
|
|
2212
2221
|
language: string;
|
|
2222
|
+
name: string;
|
|
2213
2223
|
}> | undefined;
|
|
2214
2224
|
wikidata_id?: string | undefined;
|
|
2215
2225
|
} | undefined;
|
|
2216
2226
|
region?: {
|
|
2217
2227
|
name: string;
|
|
2228
|
+
mapbox_id: string;
|
|
2218
2229
|
region_code: string;
|
|
2219
2230
|
region_code_full: string;
|
|
2220
|
-
mapbox_id: string;
|
|
2221
2231
|
translations?: Record<string, {
|
|
2222
|
-
name: string;
|
|
2223
2232
|
language: string;
|
|
2233
|
+
name: string;
|
|
2224
2234
|
}> | undefined;
|
|
2225
2235
|
wikidata_id?: string | undefined;
|
|
2226
2236
|
} | undefined;
|
|
@@ -2228,16 +2238,16 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2228
2238
|
name: string;
|
|
2229
2239
|
mapbox_id: string;
|
|
2230
2240
|
translations?: Record<string, {
|
|
2231
|
-
name: string;
|
|
2232
2241
|
language: string;
|
|
2242
|
+
name: string;
|
|
2233
2243
|
}> | undefined;
|
|
2234
2244
|
} | undefined;
|
|
2235
2245
|
district?: {
|
|
2236
2246
|
name: string;
|
|
2237
2247
|
mapbox_id: string;
|
|
2238
2248
|
translations?: Record<string, {
|
|
2239
|
-
name: string;
|
|
2240
2249
|
language: string;
|
|
2250
|
+
name: string;
|
|
2241
2251
|
}> | undefined;
|
|
2242
2252
|
wikidata_id?: string | undefined;
|
|
2243
2253
|
} | undefined;
|
|
@@ -2249,8 +2259,8 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2249
2259
|
mapbox_id: string;
|
|
2250
2260
|
} | undefined;
|
|
2251
2261
|
translations?: Record<string, {
|
|
2252
|
-
name: string;
|
|
2253
2262
|
language: string;
|
|
2263
|
+
name: string;
|
|
2254
2264
|
}> | undefined;
|
|
2255
2265
|
wikidata_id?: string | undefined;
|
|
2256
2266
|
} | undefined;
|
|
@@ -2262,8 +2272,8 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2262
2272
|
mapbox_id: string;
|
|
2263
2273
|
} | undefined;
|
|
2264
2274
|
translations?: Record<string, {
|
|
2265
|
-
name: string;
|
|
2266
2275
|
language: string;
|
|
2276
|
+
name: string;
|
|
2267
2277
|
}> | undefined;
|
|
2268
2278
|
wikidata_id?: string | undefined;
|
|
2269
2279
|
} | undefined;
|
|
@@ -2275,15 +2285,15 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2275
2285
|
mapbox_id: string;
|
|
2276
2286
|
} | undefined;
|
|
2277
2287
|
translations?: Record<string, {
|
|
2278
|
-
name: string;
|
|
2279
2288
|
language: string;
|
|
2289
|
+
name: string;
|
|
2280
2290
|
}> | undefined;
|
|
2281
2291
|
} | undefined;
|
|
2282
2292
|
address?: {
|
|
2283
2293
|
name: string;
|
|
2294
|
+
mapbox_id: string;
|
|
2284
2295
|
address_number: string;
|
|
2285
2296
|
street_name: string;
|
|
2286
|
-
mapbox_id: string;
|
|
2287
2297
|
} | undefined;
|
|
2288
2298
|
street?: {
|
|
2289
2299
|
name: string;
|
|
@@ -2301,61 +2311,66 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2301
2311
|
extrapolated?: boolean | undefined;
|
|
2302
2312
|
} | undefined;
|
|
2303
2313
|
};
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
2308
|
-
routable_points?: {
|
|
2309
|
-
name: string;
|
|
2310
|
-
longitude: number;
|
|
2311
|
-
latitude: number;
|
|
2312
|
-
}[] | undefined;
|
|
2313
|
-
};
|
|
2314
|
+
name_preferred?: string | undefined;
|
|
2315
|
+
full_address?: string | undefined;
|
|
2316
|
+
place_formatted?: string | undefined;
|
|
2314
2317
|
bbox?: [number, number, number, number] | undefined;
|
|
2315
2318
|
reading?: {
|
|
2316
2319
|
'ja-Kana'?: string | undefined;
|
|
2317
2320
|
'ja-Latn'?: string | undefined;
|
|
2318
2321
|
} | 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;
|
|
2326
2325
|
region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2327
2326
|
postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2328
2327
|
place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2329
2328
|
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
|
+
geometry: {
|
|
2336
|
+
type: "Point";
|
|
2337
|
+
coordinates: [number, number];
|
|
2338
|
+
};
|
|
2339
|
+
id: string;
|
|
2335
2340
|
properties: {
|
|
2336
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
|
+
};
|
|
2337
2352
|
mapbox_id: string;
|
|
2338
2353
|
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
|
|
2339
2354
|
context: {
|
|
2340
2355
|
country?: {
|
|
2341
2356
|
name: string;
|
|
2357
|
+
mapbox_id: string;
|
|
2342
2358
|
country_code: string;
|
|
2343
2359
|
country_code_alpha_3: string;
|
|
2344
|
-
mapbox_id: string;
|
|
2345
2360
|
translations?: Record<string, {
|
|
2346
|
-
name: string;
|
|
2347
2361
|
language: string;
|
|
2362
|
+
name: string;
|
|
2348
2363
|
}> | undefined;
|
|
2349
2364
|
wikidata_id?: string | undefined;
|
|
2350
2365
|
} | undefined;
|
|
2351
2366
|
region?: {
|
|
2352
2367
|
name: string;
|
|
2368
|
+
mapbox_id: string;
|
|
2353
2369
|
region_code: string;
|
|
2354
2370
|
region_code_full: string;
|
|
2355
|
-
mapbox_id: string;
|
|
2356
2371
|
translations?: Record<string, {
|
|
2357
|
-
name: string;
|
|
2358
2372
|
language: string;
|
|
2373
|
+
name: string;
|
|
2359
2374
|
}> | undefined;
|
|
2360
2375
|
wikidata_id?: string | undefined;
|
|
2361
2376
|
} | undefined;
|
|
@@ -2363,16 +2378,16 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2363
2378
|
name: string;
|
|
2364
2379
|
mapbox_id: string;
|
|
2365
2380
|
translations?: Record<string, {
|
|
2366
|
-
name: string;
|
|
2367
2381
|
language: string;
|
|
2382
|
+
name: string;
|
|
2368
2383
|
}> | undefined;
|
|
2369
2384
|
} | undefined;
|
|
2370
2385
|
district?: {
|
|
2371
2386
|
name: string;
|
|
2372
2387
|
mapbox_id: string;
|
|
2373
2388
|
translations?: Record<string, {
|
|
2374
|
-
name: string;
|
|
2375
2389
|
language: string;
|
|
2390
|
+
name: string;
|
|
2376
2391
|
}> | undefined;
|
|
2377
2392
|
wikidata_id?: string | undefined;
|
|
2378
2393
|
} | undefined;
|
|
@@ -2384,8 +2399,8 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2384
2399
|
mapbox_id: string;
|
|
2385
2400
|
} | undefined;
|
|
2386
2401
|
translations?: Record<string, {
|
|
2387
|
-
name: string;
|
|
2388
2402
|
language: string;
|
|
2403
|
+
name: string;
|
|
2389
2404
|
}> | undefined;
|
|
2390
2405
|
wikidata_id?: string | undefined;
|
|
2391
2406
|
} | undefined;
|
|
@@ -2397,8 +2412,8 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2397
2412
|
mapbox_id: string;
|
|
2398
2413
|
} | undefined;
|
|
2399
2414
|
translations?: Record<string, {
|
|
2400
|
-
name: string;
|
|
2401
2415
|
language: string;
|
|
2416
|
+
name: string;
|
|
2402
2417
|
}> | undefined;
|
|
2403
2418
|
wikidata_id?: string | undefined;
|
|
2404
2419
|
} | undefined;
|
|
@@ -2410,15 +2425,15 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2410
2425
|
mapbox_id: string;
|
|
2411
2426
|
} | undefined;
|
|
2412
2427
|
translations?: Record<string, {
|
|
2413
|
-
name: string;
|
|
2414
2428
|
language: string;
|
|
2429
|
+
name: string;
|
|
2415
2430
|
}> | undefined;
|
|
2416
2431
|
} | undefined;
|
|
2417
2432
|
address?: {
|
|
2418
2433
|
name: string;
|
|
2434
|
+
mapbox_id: string;
|
|
2419
2435
|
address_number: string;
|
|
2420
2436
|
street_name: string;
|
|
2421
|
-
mapbox_id: string;
|
|
2422
2437
|
} | undefined;
|
|
2423
2438
|
street?: {
|
|
2424
2439
|
name: string;
|
|
@@ -2436,66 +2451,66 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2436
2451
|
extrapolated?: boolean | undefined;
|
|
2437
2452
|
} | undefined;
|
|
2438
2453
|
};
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
2443
|
-
routable_points?: {
|
|
2444
|
-
name: string;
|
|
2445
|
-
longitude: number;
|
|
2446
|
-
latitude: number;
|
|
2447
|
-
}[] | undefined;
|
|
2448
|
-
};
|
|
2454
|
+
name_preferred?: string | undefined;
|
|
2455
|
+
full_address?: string | undefined;
|
|
2456
|
+
place_formatted?: string | undefined;
|
|
2449
2457
|
bbox?: [number, number, number, number] | undefined;
|
|
2450
2458
|
reading?: {
|
|
2451
2459
|
'ja-Kana'?: string | undefined;
|
|
2452
2460
|
'ja-Latn'?: string | undefined;
|
|
2453
2461
|
} | undefined;
|
|
2454
|
-
name_preferred?: string | undefined;
|
|
2455
|
-
full_address?: string | undefined;
|
|
2456
|
-
place_formatted?: string | undefined;
|
|
2457
2462
|
match_code?: {
|
|
2458
2463
|
confidence: "exact" | "low" | "high" | "medium";
|
|
2459
2464
|
country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2460
|
-
address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2461
2465
|
region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2462
2466
|
postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2463
2467
|
place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2464
2468
|
locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2469
|
+
address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2465
2470
|
street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2466
2471
|
} | undefined;
|
|
2467
2472
|
};
|
|
2468
|
-
|
|
2473
|
+
}, {
|
|
2474
|
+
type: "Feature";
|
|
2469
2475
|
geometry: {
|
|
2470
2476
|
type: "Point";
|
|
2471
2477
|
coordinates: [number, number];
|
|
2472
2478
|
};
|
|
2473
|
-
|
|
2474
|
-
type: "Feature";
|
|
2479
|
+
id: string;
|
|
2475
2480
|
properties: {
|
|
2476
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
|
+
};
|
|
2477
2492
|
mapbox_id: string;
|
|
2478
2493
|
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
|
|
2479
2494
|
context: {
|
|
2480
2495
|
country?: {
|
|
2481
2496
|
name: string;
|
|
2497
|
+
mapbox_id: string;
|
|
2482
2498
|
country_code: string;
|
|
2483
2499
|
country_code_alpha_3: string;
|
|
2484
|
-
mapbox_id: string;
|
|
2485
2500
|
translations?: Record<string, {
|
|
2486
|
-
name: string;
|
|
2487
2501
|
language: string;
|
|
2502
|
+
name: string;
|
|
2488
2503
|
}> | undefined;
|
|
2489
2504
|
wikidata_id?: string | undefined;
|
|
2490
2505
|
} | undefined;
|
|
2491
2506
|
region?: {
|
|
2492
2507
|
name: string;
|
|
2508
|
+
mapbox_id: string;
|
|
2493
2509
|
region_code: string;
|
|
2494
2510
|
region_code_full: string;
|
|
2495
|
-
mapbox_id: string;
|
|
2496
2511
|
translations?: Record<string, {
|
|
2497
|
-
name: string;
|
|
2498
2512
|
language: string;
|
|
2513
|
+
name: string;
|
|
2499
2514
|
}> | undefined;
|
|
2500
2515
|
wikidata_id?: string | undefined;
|
|
2501
2516
|
} | undefined;
|
|
@@ -2503,16 +2518,16 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2503
2518
|
name: string;
|
|
2504
2519
|
mapbox_id: string;
|
|
2505
2520
|
translations?: Record<string, {
|
|
2506
|
-
name: string;
|
|
2507
2521
|
language: string;
|
|
2522
|
+
name: string;
|
|
2508
2523
|
}> | undefined;
|
|
2509
2524
|
} | undefined;
|
|
2510
2525
|
district?: {
|
|
2511
2526
|
name: string;
|
|
2512
2527
|
mapbox_id: string;
|
|
2513
2528
|
translations?: Record<string, {
|
|
2514
|
-
name: string;
|
|
2515
2529
|
language: string;
|
|
2530
|
+
name: string;
|
|
2516
2531
|
}> | undefined;
|
|
2517
2532
|
wikidata_id?: string | undefined;
|
|
2518
2533
|
} | undefined;
|
|
@@ -2524,8 +2539,8 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2524
2539
|
mapbox_id: string;
|
|
2525
2540
|
} | undefined;
|
|
2526
2541
|
translations?: Record<string, {
|
|
2527
|
-
name: string;
|
|
2528
2542
|
language: string;
|
|
2543
|
+
name: string;
|
|
2529
2544
|
}> | undefined;
|
|
2530
2545
|
wikidata_id?: string | undefined;
|
|
2531
2546
|
} | undefined;
|
|
@@ -2537,8 +2552,8 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2537
2552
|
mapbox_id: string;
|
|
2538
2553
|
} | undefined;
|
|
2539
2554
|
translations?: Record<string, {
|
|
2540
|
-
name: string;
|
|
2541
2555
|
language: string;
|
|
2556
|
+
name: string;
|
|
2542
2557
|
}> | undefined;
|
|
2543
2558
|
wikidata_id?: string | undefined;
|
|
2544
2559
|
} | undefined;
|
|
@@ -2550,15 +2565,15 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2550
2565
|
mapbox_id: string;
|
|
2551
2566
|
} | undefined;
|
|
2552
2567
|
translations?: Record<string, {
|
|
2553
|
-
name: string;
|
|
2554
2568
|
language: string;
|
|
2569
|
+
name: string;
|
|
2555
2570
|
}> | undefined;
|
|
2556
2571
|
} | undefined;
|
|
2557
2572
|
address?: {
|
|
2558
2573
|
name: string;
|
|
2574
|
+
mapbox_id: string;
|
|
2559
2575
|
address_number: string;
|
|
2560
2576
|
street_name: string;
|
|
2561
|
-
mapbox_id: string;
|
|
2562
2577
|
} | undefined;
|
|
2563
2578
|
street?: {
|
|
2564
2579
|
name: string;
|
|
@@ -2576,40 +2591,25 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
2576
2591
|
extrapolated?: boolean | undefined;
|
|
2577
2592
|
} | undefined;
|
|
2578
2593
|
};
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
2583
|
-
routable_points?: {
|
|
2584
|
-
name: string;
|
|
2585
|
-
longitude: number;
|
|
2586
|
-
latitude: number;
|
|
2587
|
-
}[] | undefined;
|
|
2588
|
-
};
|
|
2594
|
+
name_preferred?: string | undefined;
|
|
2595
|
+
full_address?: string | undefined;
|
|
2596
|
+
place_formatted?: string | undefined;
|
|
2589
2597
|
bbox?: [number, number, number, number] | undefined;
|
|
2590
2598
|
reading?: {
|
|
2591
2599
|
'ja-Kana'?: string | undefined;
|
|
2592
2600
|
'ja-Latn'?: string | undefined;
|
|
2593
2601
|
} | undefined;
|
|
2594
|
-
name_preferred?: string | undefined;
|
|
2595
|
-
full_address?: string | undefined;
|
|
2596
|
-
place_formatted?: string | undefined;
|
|
2597
2602
|
match_code?: {
|
|
2598
2603
|
confidence: "exact" | "low" | "high" | "medium";
|
|
2599
2604
|
country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2600
|
-
address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2601
2605
|
region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2602
2606
|
postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2603
2607
|
place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2604
2608
|
locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2609
|
+
address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2605
2610
|
street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
2606
2611
|
} | undefined;
|
|
2607
2612
|
};
|
|
2608
|
-
id: string;
|
|
2609
|
-
geometry: {
|
|
2610
|
-
type: "Point";
|
|
2611
|
-
coordinates: [number, number];
|
|
2612
|
-
};
|
|
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;
|
|
@@ -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
|
-
name: string;
|
|
2681
2680
|
language: string;
|
|
2682
|
-
}, {
|
|
2683
2681
|
name: string;
|
|
2682
|
+
}, {
|
|
2684
2683
|
language: string;
|
|
2684
|
+
name: 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
|
-
name: string;
|
|
2695
2694
|
language: string;
|
|
2695
|
+
name: 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
|
-
name: string;
|
|
2706
2705
|
language: string;
|
|
2706
|
+
name: 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
|
-
name: string;
|
|
2717
2716
|
language: string;
|
|
2718
|
-
}, {
|
|
2719
2717
|
name: string;
|
|
2718
|
+
}, {
|
|
2720
2719
|
language: string;
|
|
2720
|
+
name: string;
|
|
2721
2721
|
}>>>;
|
|
2722
2722
|
}, "strip", z.ZodTypeAny, {
|
|
2723
2723
|
name: string;
|
|
2724
2724
|
mapbox_id: string;
|
|
2725
2725
|
translations?: Record<string, {
|
|
2726
|
-
name: string;
|
|
2727
2726
|
language: string;
|
|
2727
|
+
name: string;
|
|
2728
2728
|
}> | undefined;
|
|
2729
2729
|
}, {
|
|
2730
2730
|
name: string;
|
|
2731
2731
|
mapbox_id: string;
|
|
2732
2732
|
translations?: Record<string, {
|
|
2733
|
-
name: string;
|
|
2734
2733
|
language: string;
|
|
2734
|
+
name: 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
|
-
name: string;
|
|
2756
2755
|
language: string;
|
|
2757
|
-
}, {
|
|
2758
2756
|
name: string;
|
|
2757
|
+
}, {
|
|
2759
2758
|
language: string;
|
|
2759
|
+
name: 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
|
-
name: string;
|
|
2770
2769
|
language: string;
|
|
2770
|
+
name: 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
|
-
name: string;
|
|
2782
2781
|
language: string;
|
|
2782
|
+
name: 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
|
-
name: string;
|
|
2805
2804
|
language: string;
|
|
2806
|
-
}, {
|
|
2807
2805
|
name: string;
|
|
2806
|
+
}, {
|
|
2808
2807
|
language: string;
|
|
2808
|
+
name: 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
|
-
name: string;
|
|
2819
2818
|
language: string;
|
|
2819
|
+
name: 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
|
-
name: string;
|
|
2831
2830
|
language: string;
|
|
2831
|
+
name: 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
|
-
name: string;
|
|
2844
2843
|
language: string;
|
|
2845
|
-
}, {
|
|
2846
2844
|
name: string;
|
|
2845
|
+
}, {
|
|
2847
2846
|
language: string;
|
|
2847
|
+
name: string;
|
|
2848
2848
|
}>>>;
|
|
2849
2849
|
}, "strip", z.ZodTypeAny, {
|
|
2850
2850
|
name: string;
|
|
2851
2851
|
mapbox_id: string;
|
|
2852
2852
|
translations?: Record<string, {
|
|
2853
|
-
name: string;
|
|
2854
2853
|
language: string;
|
|
2854
|
+
name: 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
|
-
name: string;
|
|
2862
2861
|
language: string;
|
|
2862
|
+
name: 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
|
-
name: string;
|
|
2877
2876
|
language: string;
|
|
2878
|
-
}, {
|
|
2879
2877
|
name: string;
|
|
2878
|
+
}, {
|
|
2880
2879
|
language: string;
|
|
2880
|
+
name: string;
|
|
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
|
-
name: string;
|
|
2889
2888
|
language: string;
|
|
2889
|
+
name: string;
|
|
2890
2890
|
}> | undefined;
|
|
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
|
-
name: string;
|
|
2899
2898
|
language: string;
|
|
2899
|
+
name: 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
|
-
name: string;
|
|
2914
2913
|
language: string;
|
|
2915
|
-
}, {
|
|
2916
2914
|
name: string;
|
|
2915
|
+
}, {
|
|
2917
2916
|
language: string;
|
|
2917
|
+
name: string;
|
|
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
|
-
name: string;
|
|
2926
2925
|
language: string;
|
|
2926
|
+
name: string;
|
|
2927
2927
|
}> | undefined;
|
|
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
|
-
name: string;
|
|
2936
2935
|
language: string;
|
|
2936
|
+
name: 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;
|
|
2972
2973
|
country_code: string;
|
|
2973
2974
|
country_code_alpha_3: string;
|
|
2974
|
-
mapbox_id: string;
|
|
2975
2975
|
translations?: Record<string, {
|
|
2976
|
-
name: string;
|
|
2977
2976
|
language: string;
|
|
2977
|
+
name: string;
|
|
2978
2978
|
}> | undefined;
|
|
2979
2979
|
wikidata_id?: string | undefined;
|
|
2980
2980
|
} | undefined;
|
|
2981
2981
|
region?: {
|
|
2982
2982
|
name: string;
|
|
2983
|
+
mapbox_id: string;
|
|
2983
2984
|
region_code: string;
|
|
2984
2985
|
region_code_full: string;
|
|
2985
|
-
mapbox_id: string;
|
|
2986
2986
|
translations?: Record<string, {
|
|
2987
|
-
name: string;
|
|
2988
2987
|
language: string;
|
|
2988
|
+
name: 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
|
-
name: string;
|
|
2997
2996
|
language: string;
|
|
2997
|
+
name: 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
|
-
name: string;
|
|
3005
3004
|
language: string;
|
|
3005
|
+
name: 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
|
-
name: string;
|
|
3018
3017
|
language: string;
|
|
3018
|
+
name: 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
|
-
name: string;
|
|
3031
3030
|
language: string;
|
|
3031
|
+
name: 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
|
-
name: string;
|
|
3044
3043
|
language: string;
|
|
3044
|
+
name: string;
|
|
3045
3045
|
}> | undefined;
|
|
3046
3046
|
} | undefined;
|
|
3047
3047
|
address?: {
|
|
3048
3048
|
name: string;
|
|
3049
|
+
mapbox_id: string;
|
|
3049
3050
|
address_number: string;
|
|
3050
3051
|
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;
|
|
3071
3072
|
country_code: string;
|
|
3072
3073
|
country_code_alpha_3: string;
|
|
3073
|
-
mapbox_id: string;
|
|
3074
3074
|
translations?: Record<string, {
|
|
3075
|
-
name: string;
|
|
3076
3075
|
language: string;
|
|
3076
|
+
name: string;
|
|
3077
3077
|
}> | undefined;
|
|
3078
3078
|
wikidata_id?: string | undefined;
|
|
3079
3079
|
} | undefined;
|
|
3080
3080
|
region?: {
|
|
3081
3081
|
name: string;
|
|
3082
|
+
mapbox_id: string;
|
|
3082
3083
|
region_code: string;
|
|
3083
3084
|
region_code_full: string;
|
|
3084
|
-
mapbox_id: string;
|
|
3085
3085
|
translations?: Record<string, {
|
|
3086
|
-
name: string;
|
|
3087
3086
|
language: string;
|
|
3087
|
+
name: 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
|
-
name: string;
|
|
3096
3095
|
language: string;
|
|
3096
|
+
name: 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
|
-
name: string;
|
|
3104
3103
|
language: string;
|
|
3104
|
+
name: 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
|
-
name: string;
|
|
3117
3116
|
language: string;
|
|
3117
|
+
name: 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
|
-
name: string;
|
|
3130
3129
|
language: string;
|
|
3130
|
+
name: 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
|
-
name: string;
|
|
3143
3142
|
language: string;
|
|
3143
|
+
name: string;
|
|
3144
3144
|
}> | undefined;
|
|
3145
3145
|
} | undefined;
|
|
3146
3146
|
address?: {
|
|
3147
3147
|
name: string;
|
|
3148
|
+
mapbox_id: string;
|
|
3148
3149
|
address_number: string;
|
|
3149
3150
|
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;
|
|
3218
3217
|
region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3219
3218
|
postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3220
3219
|
place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3221
3220
|
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;
|
|
3227
3226
|
region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3228
3227
|
postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3229
3228
|
place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3230
3229
|
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,28 +3242,38 @@ 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
|
+
};
|
|
3245
3255
|
mapbox_id: string;
|
|
3246
3256
|
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
|
|
3247
3257
|
context: {
|
|
3248
3258
|
country?: {
|
|
3249
3259
|
name: string;
|
|
3260
|
+
mapbox_id: string;
|
|
3250
3261
|
country_code: string;
|
|
3251
3262
|
country_code_alpha_3: string;
|
|
3252
|
-
mapbox_id: string;
|
|
3253
3263
|
translations?: Record<string, {
|
|
3254
|
-
name: string;
|
|
3255
3264
|
language: string;
|
|
3265
|
+
name: string;
|
|
3256
3266
|
}> | undefined;
|
|
3257
3267
|
wikidata_id?: string | undefined;
|
|
3258
3268
|
} | undefined;
|
|
3259
3269
|
region?: {
|
|
3260
3270
|
name: string;
|
|
3271
|
+
mapbox_id: string;
|
|
3261
3272
|
region_code: string;
|
|
3262
3273
|
region_code_full: string;
|
|
3263
|
-
mapbox_id: string;
|
|
3264
3274
|
translations?: Record<string, {
|
|
3265
|
-
name: string;
|
|
3266
3275
|
language: string;
|
|
3276
|
+
name: string;
|
|
3267
3277
|
}> | undefined;
|
|
3268
3278
|
wikidata_id?: string | undefined;
|
|
3269
3279
|
} | undefined;
|
|
@@ -3271,16 +3281,16 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3271
3281
|
name: string;
|
|
3272
3282
|
mapbox_id: string;
|
|
3273
3283
|
translations?: Record<string, {
|
|
3274
|
-
name: string;
|
|
3275
3284
|
language: string;
|
|
3285
|
+
name: string;
|
|
3276
3286
|
}> | undefined;
|
|
3277
3287
|
} | undefined;
|
|
3278
3288
|
district?: {
|
|
3279
3289
|
name: string;
|
|
3280
3290
|
mapbox_id: string;
|
|
3281
3291
|
translations?: Record<string, {
|
|
3282
|
-
name: string;
|
|
3283
3292
|
language: string;
|
|
3293
|
+
name: string;
|
|
3284
3294
|
}> | undefined;
|
|
3285
3295
|
wikidata_id?: string | undefined;
|
|
3286
3296
|
} | undefined;
|
|
@@ -3292,8 +3302,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3292
3302
|
mapbox_id: string;
|
|
3293
3303
|
} | undefined;
|
|
3294
3304
|
translations?: Record<string, {
|
|
3295
|
-
name: string;
|
|
3296
3305
|
language: string;
|
|
3306
|
+
name: string;
|
|
3297
3307
|
}> | undefined;
|
|
3298
3308
|
wikidata_id?: string | undefined;
|
|
3299
3309
|
} | undefined;
|
|
@@ -3305,8 +3315,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3305
3315
|
mapbox_id: string;
|
|
3306
3316
|
} | undefined;
|
|
3307
3317
|
translations?: Record<string, {
|
|
3308
|
-
name: string;
|
|
3309
3318
|
language: string;
|
|
3319
|
+
name: string;
|
|
3310
3320
|
}> | undefined;
|
|
3311
3321
|
wikidata_id?: string | undefined;
|
|
3312
3322
|
} | undefined;
|
|
@@ -3318,15 +3328,15 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3318
3328
|
mapbox_id: string;
|
|
3319
3329
|
} | undefined;
|
|
3320
3330
|
translations?: Record<string, {
|
|
3321
|
-
name: string;
|
|
3322
3331
|
language: string;
|
|
3332
|
+
name: string;
|
|
3323
3333
|
}> | undefined;
|
|
3324
3334
|
} | undefined;
|
|
3325
3335
|
address?: {
|
|
3326
3336
|
name: string;
|
|
3337
|
+
mapbox_id: string;
|
|
3327
3338
|
address_number: string;
|
|
3328
3339
|
street_name: string;
|
|
3329
|
-
mapbox_id: string;
|
|
3330
3340
|
} | undefined;
|
|
3331
3341
|
street?: {
|
|
3332
3342
|
name: string;
|
|
@@ -3344,58 +3354,58 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3344
3354
|
extrapolated?: boolean | undefined;
|
|
3345
3355
|
} | undefined;
|
|
3346
3356
|
};
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
3351
|
-
routable_points?: {
|
|
3352
|
-
name: string;
|
|
3353
|
-
longitude: number;
|
|
3354
|
-
latitude: number;
|
|
3355
|
-
}[] | undefined;
|
|
3356
|
-
};
|
|
3357
|
+
name_preferred?: string | undefined;
|
|
3358
|
+
full_address?: string | undefined;
|
|
3359
|
+
place_formatted?: string | undefined;
|
|
3357
3360
|
bbox?: [number, number, number, number] | undefined;
|
|
3358
3361
|
reading?: {
|
|
3359
3362
|
'ja-Kana'?: string | undefined;
|
|
3360
3363
|
'ja-Latn'?: string | undefined;
|
|
3361
3364
|
} | 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;
|
|
3369
3368
|
region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3370
3369
|
postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3371
3370
|
place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3372
3371
|
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
|
+
};
|
|
3377
3387
|
mapbox_id: string;
|
|
3378
3388
|
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
|
|
3379
3389
|
context: {
|
|
3380
3390
|
country?: {
|
|
3381
3391
|
name: string;
|
|
3392
|
+
mapbox_id: string;
|
|
3382
3393
|
country_code: string;
|
|
3383
3394
|
country_code_alpha_3: string;
|
|
3384
|
-
mapbox_id: string;
|
|
3385
3395
|
translations?: Record<string, {
|
|
3386
|
-
name: string;
|
|
3387
3396
|
language: string;
|
|
3397
|
+
name: string;
|
|
3388
3398
|
}> | undefined;
|
|
3389
3399
|
wikidata_id?: string | undefined;
|
|
3390
3400
|
} | undefined;
|
|
3391
3401
|
region?: {
|
|
3392
3402
|
name: string;
|
|
3403
|
+
mapbox_id: string;
|
|
3393
3404
|
region_code: string;
|
|
3394
3405
|
region_code_full: string;
|
|
3395
|
-
mapbox_id: string;
|
|
3396
3406
|
translations?: Record<string, {
|
|
3397
|
-
name: string;
|
|
3398
3407
|
language: string;
|
|
3408
|
+
name: string;
|
|
3399
3409
|
}> | undefined;
|
|
3400
3410
|
wikidata_id?: string | undefined;
|
|
3401
3411
|
} | undefined;
|
|
@@ -3403,16 +3413,16 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3403
3413
|
name: string;
|
|
3404
3414
|
mapbox_id: string;
|
|
3405
3415
|
translations?: Record<string, {
|
|
3406
|
-
name: string;
|
|
3407
3416
|
language: string;
|
|
3417
|
+
name: string;
|
|
3408
3418
|
}> | undefined;
|
|
3409
3419
|
} | undefined;
|
|
3410
3420
|
district?: {
|
|
3411
3421
|
name: string;
|
|
3412
3422
|
mapbox_id: string;
|
|
3413
3423
|
translations?: Record<string, {
|
|
3414
|
-
name: string;
|
|
3415
3424
|
language: string;
|
|
3425
|
+
name: string;
|
|
3416
3426
|
}> | undefined;
|
|
3417
3427
|
wikidata_id?: string | undefined;
|
|
3418
3428
|
} | undefined;
|
|
@@ -3424,8 +3434,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3424
3434
|
mapbox_id: string;
|
|
3425
3435
|
} | undefined;
|
|
3426
3436
|
translations?: Record<string, {
|
|
3427
|
-
name: string;
|
|
3428
3437
|
language: string;
|
|
3438
|
+
name: string;
|
|
3429
3439
|
}> | undefined;
|
|
3430
3440
|
wikidata_id?: string | undefined;
|
|
3431
3441
|
} | undefined;
|
|
@@ -3437,8 +3447,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3437
3447
|
mapbox_id: string;
|
|
3438
3448
|
} | undefined;
|
|
3439
3449
|
translations?: Record<string, {
|
|
3440
|
-
name: string;
|
|
3441
3450
|
language: string;
|
|
3451
|
+
name: string;
|
|
3442
3452
|
}> | undefined;
|
|
3443
3453
|
wikidata_id?: string | undefined;
|
|
3444
3454
|
} | undefined;
|
|
@@ -3450,15 +3460,15 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3450
3460
|
mapbox_id: string;
|
|
3451
3461
|
} | undefined;
|
|
3452
3462
|
translations?: Record<string, {
|
|
3453
|
-
name: string;
|
|
3454
3463
|
language: string;
|
|
3464
|
+
name: string;
|
|
3455
3465
|
}> | undefined;
|
|
3456
3466
|
} | undefined;
|
|
3457
3467
|
address?: {
|
|
3458
3468
|
name: string;
|
|
3469
|
+
mapbox_id: string;
|
|
3459
3470
|
address_number: string;
|
|
3460
3471
|
street_name: string;
|
|
3461
|
-
mapbox_id: string;
|
|
3462
3472
|
} | undefined;
|
|
3463
3473
|
street?: {
|
|
3464
3474
|
name: string;
|
|
@@ -3476,61 +3486,66 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3476
3486
|
extrapolated?: boolean | undefined;
|
|
3477
3487
|
} | undefined;
|
|
3478
3488
|
};
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
3483
|
-
routable_points?: {
|
|
3484
|
-
name: string;
|
|
3485
|
-
longitude: number;
|
|
3486
|
-
latitude: number;
|
|
3487
|
-
}[] | undefined;
|
|
3488
|
-
};
|
|
3489
|
+
name_preferred?: string | undefined;
|
|
3490
|
+
full_address?: string | undefined;
|
|
3491
|
+
place_formatted?: string | undefined;
|
|
3489
3492
|
bbox?: [number, number, number, number] | undefined;
|
|
3490
3493
|
reading?: {
|
|
3491
3494
|
'ja-Kana'?: string | undefined;
|
|
3492
3495
|
'ja-Latn'?: string | undefined;
|
|
3493
3496
|
} | 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;
|
|
3501
3500
|
region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3502
3501
|
postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3503
3502
|
place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3504
3503
|
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
|
+
geometry: {
|
|
3511
|
+
type: "Point";
|
|
3512
|
+
coordinates: [number, number];
|
|
3513
|
+
};
|
|
3514
|
+
id: string;
|
|
3510
3515
|
properties: {
|
|
3511
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
|
+
};
|
|
3512
3527
|
mapbox_id: string;
|
|
3513
3528
|
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
|
|
3514
3529
|
context: {
|
|
3515
3530
|
country?: {
|
|
3516
3531
|
name: string;
|
|
3532
|
+
mapbox_id: string;
|
|
3517
3533
|
country_code: string;
|
|
3518
3534
|
country_code_alpha_3: string;
|
|
3519
|
-
mapbox_id: string;
|
|
3520
3535
|
translations?: Record<string, {
|
|
3521
|
-
name: string;
|
|
3522
3536
|
language: string;
|
|
3537
|
+
name: string;
|
|
3523
3538
|
}> | undefined;
|
|
3524
3539
|
wikidata_id?: string | undefined;
|
|
3525
3540
|
} | undefined;
|
|
3526
3541
|
region?: {
|
|
3527
3542
|
name: string;
|
|
3543
|
+
mapbox_id: string;
|
|
3528
3544
|
region_code: string;
|
|
3529
3545
|
region_code_full: string;
|
|
3530
|
-
mapbox_id: string;
|
|
3531
3546
|
translations?: Record<string, {
|
|
3532
|
-
name: string;
|
|
3533
3547
|
language: string;
|
|
3548
|
+
name: string;
|
|
3534
3549
|
}> | undefined;
|
|
3535
3550
|
wikidata_id?: string | undefined;
|
|
3536
3551
|
} | undefined;
|
|
@@ -3538,16 +3553,16 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3538
3553
|
name: string;
|
|
3539
3554
|
mapbox_id: string;
|
|
3540
3555
|
translations?: Record<string, {
|
|
3541
|
-
name: string;
|
|
3542
3556
|
language: string;
|
|
3557
|
+
name: string;
|
|
3543
3558
|
}> | undefined;
|
|
3544
3559
|
} | undefined;
|
|
3545
3560
|
district?: {
|
|
3546
3561
|
name: string;
|
|
3547
3562
|
mapbox_id: string;
|
|
3548
3563
|
translations?: Record<string, {
|
|
3549
|
-
name: string;
|
|
3550
3564
|
language: string;
|
|
3565
|
+
name: string;
|
|
3551
3566
|
}> | undefined;
|
|
3552
3567
|
wikidata_id?: string | undefined;
|
|
3553
3568
|
} | undefined;
|
|
@@ -3559,8 +3574,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3559
3574
|
mapbox_id: string;
|
|
3560
3575
|
} | undefined;
|
|
3561
3576
|
translations?: Record<string, {
|
|
3562
|
-
name: string;
|
|
3563
3577
|
language: string;
|
|
3578
|
+
name: string;
|
|
3564
3579
|
}> | undefined;
|
|
3565
3580
|
wikidata_id?: string | undefined;
|
|
3566
3581
|
} | undefined;
|
|
@@ -3572,8 +3587,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3572
3587
|
mapbox_id: string;
|
|
3573
3588
|
} | undefined;
|
|
3574
3589
|
translations?: Record<string, {
|
|
3575
|
-
name: string;
|
|
3576
3590
|
language: string;
|
|
3591
|
+
name: string;
|
|
3577
3592
|
}> | undefined;
|
|
3578
3593
|
wikidata_id?: string | undefined;
|
|
3579
3594
|
} | undefined;
|
|
@@ -3585,15 +3600,15 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3585
3600
|
mapbox_id: string;
|
|
3586
3601
|
} | undefined;
|
|
3587
3602
|
translations?: Record<string, {
|
|
3588
|
-
name: string;
|
|
3589
3603
|
language: string;
|
|
3604
|
+
name: string;
|
|
3590
3605
|
}> | undefined;
|
|
3591
3606
|
} | undefined;
|
|
3592
3607
|
address?: {
|
|
3593
3608
|
name: string;
|
|
3609
|
+
mapbox_id: string;
|
|
3594
3610
|
address_number: string;
|
|
3595
3611
|
street_name: string;
|
|
3596
|
-
mapbox_id: string;
|
|
3597
3612
|
} | undefined;
|
|
3598
3613
|
street?: {
|
|
3599
3614
|
name: string;
|
|
@@ -3611,66 +3626,66 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3611
3626
|
extrapolated?: boolean | undefined;
|
|
3612
3627
|
} | undefined;
|
|
3613
3628
|
};
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
3618
|
-
routable_points?: {
|
|
3619
|
-
name: string;
|
|
3620
|
-
longitude: number;
|
|
3621
|
-
latitude: number;
|
|
3622
|
-
}[] | undefined;
|
|
3623
|
-
};
|
|
3629
|
+
name_preferred?: string | undefined;
|
|
3630
|
+
full_address?: string | undefined;
|
|
3631
|
+
place_formatted?: string | undefined;
|
|
3624
3632
|
bbox?: [number, number, number, number] | undefined;
|
|
3625
3633
|
reading?: {
|
|
3626
3634
|
'ja-Kana'?: string | undefined;
|
|
3627
3635
|
'ja-Latn'?: string | undefined;
|
|
3628
3636
|
} | undefined;
|
|
3629
|
-
name_preferred?: string | undefined;
|
|
3630
|
-
full_address?: string | undefined;
|
|
3631
|
-
place_formatted?: string | undefined;
|
|
3632
3637
|
match_code?: {
|
|
3633
3638
|
confidence: "exact" | "low" | "high" | "medium";
|
|
3634
3639
|
country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3635
|
-
address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3636
3640
|
region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3637
3641
|
postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3638
3642
|
place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3639
3643
|
locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3644
|
+
address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3640
3645
|
street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3641
3646
|
} | undefined;
|
|
3642
3647
|
};
|
|
3643
|
-
|
|
3648
|
+
}, {
|
|
3649
|
+
type: "Feature";
|
|
3644
3650
|
geometry: {
|
|
3645
3651
|
type: "Point";
|
|
3646
3652
|
coordinates: [number, number];
|
|
3647
3653
|
};
|
|
3648
|
-
|
|
3649
|
-
type: "Feature";
|
|
3654
|
+
id: string;
|
|
3650
3655
|
properties: {
|
|
3651
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
|
+
};
|
|
3652
3667
|
mapbox_id: string;
|
|
3653
3668
|
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
|
|
3654
3669
|
context: {
|
|
3655
3670
|
country?: {
|
|
3656
3671
|
name: string;
|
|
3672
|
+
mapbox_id: string;
|
|
3657
3673
|
country_code: string;
|
|
3658
3674
|
country_code_alpha_3: string;
|
|
3659
|
-
mapbox_id: string;
|
|
3660
3675
|
translations?: Record<string, {
|
|
3661
|
-
name: string;
|
|
3662
3676
|
language: string;
|
|
3677
|
+
name: string;
|
|
3663
3678
|
}> | undefined;
|
|
3664
3679
|
wikidata_id?: string | undefined;
|
|
3665
3680
|
} | undefined;
|
|
3666
3681
|
region?: {
|
|
3667
3682
|
name: string;
|
|
3683
|
+
mapbox_id: string;
|
|
3668
3684
|
region_code: string;
|
|
3669
3685
|
region_code_full: string;
|
|
3670
|
-
mapbox_id: string;
|
|
3671
3686
|
translations?: Record<string, {
|
|
3672
|
-
name: string;
|
|
3673
3687
|
language: string;
|
|
3688
|
+
name: string;
|
|
3674
3689
|
}> | undefined;
|
|
3675
3690
|
wikidata_id?: string | undefined;
|
|
3676
3691
|
} | undefined;
|
|
@@ -3678,16 +3693,16 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3678
3693
|
name: string;
|
|
3679
3694
|
mapbox_id: string;
|
|
3680
3695
|
translations?: Record<string, {
|
|
3681
|
-
name: string;
|
|
3682
3696
|
language: string;
|
|
3697
|
+
name: string;
|
|
3683
3698
|
}> | undefined;
|
|
3684
3699
|
} | undefined;
|
|
3685
3700
|
district?: {
|
|
3686
3701
|
name: string;
|
|
3687
3702
|
mapbox_id: string;
|
|
3688
3703
|
translations?: Record<string, {
|
|
3689
|
-
name: string;
|
|
3690
3704
|
language: string;
|
|
3705
|
+
name: string;
|
|
3691
3706
|
}> | undefined;
|
|
3692
3707
|
wikidata_id?: string | undefined;
|
|
3693
3708
|
} | undefined;
|
|
@@ -3699,8 +3714,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3699
3714
|
mapbox_id: string;
|
|
3700
3715
|
} | undefined;
|
|
3701
3716
|
translations?: Record<string, {
|
|
3702
|
-
name: string;
|
|
3703
3717
|
language: string;
|
|
3718
|
+
name: string;
|
|
3704
3719
|
}> | undefined;
|
|
3705
3720
|
wikidata_id?: string | undefined;
|
|
3706
3721
|
} | undefined;
|
|
@@ -3712,8 +3727,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3712
3727
|
mapbox_id: string;
|
|
3713
3728
|
} | undefined;
|
|
3714
3729
|
translations?: Record<string, {
|
|
3715
|
-
name: string;
|
|
3716
3730
|
language: string;
|
|
3731
|
+
name: string;
|
|
3717
3732
|
}> | undefined;
|
|
3718
3733
|
wikidata_id?: string | undefined;
|
|
3719
3734
|
} | undefined;
|
|
@@ -3725,15 +3740,15 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3725
3740
|
mapbox_id: string;
|
|
3726
3741
|
} | undefined;
|
|
3727
3742
|
translations?: Record<string, {
|
|
3728
|
-
name: string;
|
|
3729
3743
|
language: string;
|
|
3744
|
+
name: string;
|
|
3730
3745
|
}> | undefined;
|
|
3731
3746
|
} | undefined;
|
|
3732
3747
|
address?: {
|
|
3733
3748
|
name: string;
|
|
3749
|
+
mapbox_id: string;
|
|
3734
3750
|
address_number: string;
|
|
3735
3751
|
street_name: string;
|
|
3736
|
-
mapbox_id: string;
|
|
3737
3752
|
} | undefined;
|
|
3738
3753
|
street?: {
|
|
3739
3754
|
name: string;
|
|
@@ -3751,70 +3766,70 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3751
3766
|
extrapolated?: boolean | undefined;
|
|
3752
3767
|
} | undefined;
|
|
3753
3768
|
};
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
3758
|
-
routable_points?: {
|
|
3759
|
-
name: string;
|
|
3760
|
-
longitude: number;
|
|
3761
|
-
latitude: number;
|
|
3762
|
-
}[] | undefined;
|
|
3763
|
-
};
|
|
3769
|
+
name_preferred?: string | undefined;
|
|
3770
|
+
full_address?: string | undefined;
|
|
3771
|
+
place_formatted?: string | undefined;
|
|
3764
3772
|
bbox?: [number, number, number, number] | undefined;
|
|
3765
3773
|
reading?: {
|
|
3766
3774
|
'ja-Kana'?: string | undefined;
|
|
3767
3775
|
'ja-Latn'?: string | undefined;
|
|
3768
3776
|
} | undefined;
|
|
3769
|
-
name_preferred?: string | undefined;
|
|
3770
|
-
full_address?: string | undefined;
|
|
3771
|
-
place_formatted?: string | undefined;
|
|
3772
3777
|
match_code?: {
|
|
3773
3778
|
confidence: "exact" | "low" | "high" | "medium";
|
|
3774
3779
|
country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3775
|
-
address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3776
3780
|
region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3777
3781
|
postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3778
3782
|
place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3779
3783
|
locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3784
|
+
address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3780
3785
|
street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3781
3786
|
} | undefined;
|
|
3782
3787
|
};
|
|
3783
|
-
id: string;
|
|
3784
|
-
geometry: {
|
|
3785
|
-
type: "Point";
|
|
3786
|
-
coordinates: [number, number];
|
|
3787
|
-
};
|
|
3788
3788
|
}>, "many">;
|
|
3789
3789
|
attribution: z.ZodString;
|
|
3790
3790
|
}, "strip", z.ZodTypeAny, {
|
|
3791
3791
|
type: "FeatureCollection";
|
|
3792
3792
|
features: {
|
|
3793
3793
|
type: "Feature";
|
|
3794
|
+
geometry: {
|
|
3795
|
+
type: "Point";
|
|
3796
|
+
coordinates: [number, number];
|
|
3797
|
+
};
|
|
3798
|
+
id: string;
|
|
3794
3799
|
properties: {
|
|
3795
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
|
+
};
|
|
3796
3811
|
mapbox_id: string;
|
|
3797
3812
|
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
|
|
3798
3813
|
context: {
|
|
3799
3814
|
country?: {
|
|
3800
3815
|
name: string;
|
|
3816
|
+
mapbox_id: string;
|
|
3801
3817
|
country_code: string;
|
|
3802
3818
|
country_code_alpha_3: string;
|
|
3803
|
-
mapbox_id: string;
|
|
3804
3819
|
translations?: Record<string, {
|
|
3805
|
-
name: string;
|
|
3806
3820
|
language: string;
|
|
3821
|
+
name: string;
|
|
3807
3822
|
}> | undefined;
|
|
3808
3823
|
wikidata_id?: string | undefined;
|
|
3809
3824
|
} | undefined;
|
|
3810
3825
|
region?: {
|
|
3811
3826
|
name: string;
|
|
3827
|
+
mapbox_id: string;
|
|
3812
3828
|
region_code: string;
|
|
3813
3829
|
region_code_full: string;
|
|
3814
|
-
mapbox_id: string;
|
|
3815
3830
|
translations?: Record<string, {
|
|
3816
|
-
name: string;
|
|
3817
3831
|
language: string;
|
|
3832
|
+
name: string;
|
|
3818
3833
|
}> | undefined;
|
|
3819
3834
|
wikidata_id?: string | undefined;
|
|
3820
3835
|
} | undefined;
|
|
@@ -3822,16 +3837,16 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3822
3837
|
name: string;
|
|
3823
3838
|
mapbox_id: string;
|
|
3824
3839
|
translations?: Record<string, {
|
|
3825
|
-
name: string;
|
|
3826
3840
|
language: string;
|
|
3841
|
+
name: string;
|
|
3827
3842
|
}> | undefined;
|
|
3828
3843
|
} | undefined;
|
|
3829
3844
|
district?: {
|
|
3830
3845
|
name: string;
|
|
3831
3846
|
mapbox_id: string;
|
|
3832
3847
|
translations?: Record<string, {
|
|
3833
|
-
name: string;
|
|
3834
3848
|
language: string;
|
|
3849
|
+
name: string;
|
|
3835
3850
|
}> | undefined;
|
|
3836
3851
|
wikidata_id?: string | undefined;
|
|
3837
3852
|
} | undefined;
|
|
@@ -3843,8 +3858,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3843
3858
|
mapbox_id: string;
|
|
3844
3859
|
} | undefined;
|
|
3845
3860
|
translations?: Record<string, {
|
|
3846
|
-
name: string;
|
|
3847
3861
|
language: string;
|
|
3862
|
+
name: string;
|
|
3848
3863
|
}> | undefined;
|
|
3849
3864
|
wikidata_id?: string | undefined;
|
|
3850
3865
|
} | undefined;
|
|
@@ -3856,8 +3871,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3856
3871
|
mapbox_id: string;
|
|
3857
3872
|
} | undefined;
|
|
3858
3873
|
translations?: Record<string, {
|
|
3859
|
-
name: string;
|
|
3860
3874
|
language: string;
|
|
3875
|
+
name: string;
|
|
3861
3876
|
}> | undefined;
|
|
3862
3877
|
wikidata_id?: string | undefined;
|
|
3863
3878
|
} | undefined;
|
|
@@ -3869,15 +3884,15 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3869
3884
|
mapbox_id: string;
|
|
3870
3885
|
} | undefined;
|
|
3871
3886
|
translations?: Record<string, {
|
|
3872
|
-
name: string;
|
|
3873
3887
|
language: string;
|
|
3888
|
+
name: string;
|
|
3874
3889
|
}> | undefined;
|
|
3875
3890
|
} | undefined;
|
|
3876
3891
|
address?: {
|
|
3877
3892
|
name: string;
|
|
3893
|
+
mapbox_id: string;
|
|
3878
3894
|
address_number: string;
|
|
3879
3895
|
street_name: string;
|
|
3880
|
-
mapbox_id: string;
|
|
3881
3896
|
} | undefined;
|
|
3882
3897
|
street?: {
|
|
3883
3898
|
name: string;
|
|
@@ -3895,70 +3910,70 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3895
3910
|
extrapolated?: boolean | undefined;
|
|
3896
3911
|
} | undefined;
|
|
3897
3912
|
};
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
3902
|
-
routable_points?: {
|
|
3903
|
-
name: string;
|
|
3904
|
-
longitude: number;
|
|
3905
|
-
latitude: number;
|
|
3906
|
-
}[] | undefined;
|
|
3907
|
-
};
|
|
3913
|
+
name_preferred?: string | undefined;
|
|
3914
|
+
full_address?: string | undefined;
|
|
3915
|
+
place_formatted?: string | undefined;
|
|
3908
3916
|
bbox?: [number, number, number, number] | undefined;
|
|
3909
3917
|
reading?: {
|
|
3910
3918
|
'ja-Kana'?: string | undefined;
|
|
3911
3919
|
'ja-Latn'?: string | undefined;
|
|
3912
3920
|
} | undefined;
|
|
3913
|
-
name_preferred?: string | undefined;
|
|
3914
|
-
full_address?: string | undefined;
|
|
3915
|
-
place_formatted?: string | undefined;
|
|
3916
3921
|
match_code?: {
|
|
3917
3922
|
confidence: "exact" | "low" | "high" | "medium";
|
|
3918
3923
|
country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3919
|
-
address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3920
3924
|
region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3921
3925
|
postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3922
3926
|
place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3923
3927
|
locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3928
|
+
address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3924
3929
|
street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
3925
3930
|
} | undefined;
|
|
3926
3931
|
};
|
|
3927
|
-
id: string;
|
|
3928
|
-
geometry: {
|
|
3929
|
-
type: "Point";
|
|
3930
|
-
coordinates: [number, number];
|
|
3931
|
-
};
|
|
3932
3932
|
}[];
|
|
3933
3933
|
attribution: string;
|
|
3934
3934
|
}, {
|
|
3935
3935
|
type: "FeatureCollection";
|
|
3936
3936
|
features: {
|
|
3937
3937
|
type: "Feature";
|
|
3938
|
+
geometry: {
|
|
3939
|
+
type: "Point";
|
|
3940
|
+
coordinates: [number, number];
|
|
3941
|
+
};
|
|
3942
|
+
id: string;
|
|
3938
3943
|
properties: {
|
|
3939
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
|
+
};
|
|
3940
3955
|
mapbox_id: string;
|
|
3941
3956
|
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "street" | "block" | "secondary_address";
|
|
3942
3957
|
context: {
|
|
3943
3958
|
country?: {
|
|
3944
3959
|
name: string;
|
|
3960
|
+
mapbox_id: string;
|
|
3945
3961
|
country_code: string;
|
|
3946
3962
|
country_code_alpha_3: string;
|
|
3947
|
-
mapbox_id: string;
|
|
3948
3963
|
translations?: Record<string, {
|
|
3949
|
-
name: string;
|
|
3950
3964
|
language: string;
|
|
3965
|
+
name: string;
|
|
3951
3966
|
}> | undefined;
|
|
3952
3967
|
wikidata_id?: string | undefined;
|
|
3953
3968
|
} | undefined;
|
|
3954
3969
|
region?: {
|
|
3955
3970
|
name: string;
|
|
3971
|
+
mapbox_id: string;
|
|
3956
3972
|
region_code: string;
|
|
3957
3973
|
region_code_full: string;
|
|
3958
|
-
mapbox_id: string;
|
|
3959
3974
|
translations?: Record<string, {
|
|
3960
|
-
name: string;
|
|
3961
3975
|
language: string;
|
|
3976
|
+
name: string;
|
|
3962
3977
|
}> | undefined;
|
|
3963
3978
|
wikidata_id?: string | undefined;
|
|
3964
3979
|
} | undefined;
|
|
@@ -3966,16 +3981,16 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3966
3981
|
name: string;
|
|
3967
3982
|
mapbox_id: string;
|
|
3968
3983
|
translations?: Record<string, {
|
|
3969
|
-
name: string;
|
|
3970
3984
|
language: string;
|
|
3985
|
+
name: string;
|
|
3971
3986
|
}> | undefined;
|
|
3972
3987
|
} | undefined;
|
|
3973
3988
|
district?: {
|
|
3974
3989
|
name: string;
|
|
3975
3990
|
mapbox_id: string;
|
|
3976
3991
|
translations?: Record<string, {
|
|
3977
|
-
name: string;
|
|
3978
3992
|
language: string;
|
|
3993
|
+
name: string;
|
|
3979
3994
|
}> | undefined;
|
|
3980
3995
|
wikidata_id?: string | undefined;
|
|
3981
3996
|
} | undefined;
|
|
@@ -3987,8 +4002,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
3987
4002
|
mapbox_id: string;
|
|
3988
4003
|
} | undefined;
|
|
3989
4004
|
translations?: Record<string, {
|
|
3990
|
-
name: string;
|
|
3991
4005
|
language: string;
|
|
4006
|
+
name: string;
|
|
3992
4007
|
}> | undefined;
|
|
3993
4008
|
wikidata_id?: string | undefined;
|
|
3994
4009
|
} | undefined;
|
|
@@ -4000,8 +4015,8 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
4000
4015
|
mapbox_id: string;
|
|
4001
4016
|
} | undefined;
|
|
4002
4017
|
translations?: Record<string, {
|
|
4003
|
-
name: string;
|
|
4004
4018
|
language: string;
|
|
4019
|
+
name: string;
|
|
4005
4020
|
}> | undefined;
|
|
4006
4021
|
wikidata_id?: string | undefined;
|
|
4007
4022
|
} | undefined;
|
|
@@ -4013,15 +4028,15 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
4013
4028
|
mapbox_id: string;
|
|
4014
4029
|
} | undefined;
|
|
4015
4030
|
translations?: Record<string, {
|
|
4016
|
-
name: string;
|
|
4017
4031
|
language: string;
|
|
4032
|
+
name: string;
|
|
4018
4033
|
}> | undefined;
|
|
4019
4034
|
} | undefined;
|
|
4020
4035
|
address?: {
|
|
4021
4036
|
name: string;
|
|
4037
|
+
mapbox_id: string;
|
|
4022
4038
|
address_number: string;
|
|
4023
4039
|
street_name: string;
|
|
4024
|
-
mapbox_id: string;
|
|
4025
4040
|
} | undefined;
|
|
4026
4041
|
street?: {
|
|
4027
4042
|
name: string;
|
|
@@ -4039,40 +4054,25 @@ export declare const GeocodingResponseSchema: z.ZodObject<{
|
|
|
4039
4054
|
extrapolated?: boolean | undefined;
|
|
4040
4055
|
} | undefined;
|
|
4041
4056
|
};
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
accuracy?: "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
4046
|
-
routable_points?: {
|
|
4047
|
-
name: string;
|
|
4048
|
-
longitude: number;
|
|
4049
|
-
latitude: number;
|
|
4050
|
-
}[] | undefined;
|
|
4051
|
-
};
|
|
4057
|
+
name_preferred?: string | undefined;
|
|
4058
|
+
full_address?: string | undefined;
|
|
4059
|
+
place_formatted?: string | undefined;
|
|
4052
4060
|
bbox?: [number, number, number, number] | undefined;
|
|
4053
4061
|
reading?: {
|
|
4054
4062
|
'ja-Kana'?: string | undefined;
|
|
4055
4063
|
'ja-Latn'?: string | undefined;
|
|
4056
4064
|
} | undefined;
|
|
4057
|
-
name_preferred?: string | undefined;
|
|
4058
|
-
full_address?: string | undefined;
|
|
4059
|
-
place_formatted?: string | undefined;
|
|
4060
4065
|
match_code?: {
|
|
4061
4066
|
confidence: "exact" | "low" | "high" | "medium";
|
|
4062
4067
|
country?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
4063
|
-
address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
4064
4068
|
region?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
4065
4069
|
postcode?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
4066
4070
|
place?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
4067
4071
|
locality?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
4072
|
+
address_number?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
4068
4073
|
street?: "matched" | "unmatched" | "not_applicable" | "inferred" | "plausible" | undefined;
|
|
4069
4074
|
} | undefined;
|
|
4070
4075
|
};
|
|
4071
|
-
id: string;
|
|
4072
|
-
geometry: {
|
|
4073
|
-
type: "Point";
|
|
4074
|
-
coordinates: [number, number];
|
|
4075
|
-
};
|
|
4076
4076
|
}[];
|
|
4077
4077
|
attribution: string;
|
|
4078
4078
|
}>;
|