@mapbox/mcp-server 0.6.1 → 0.8.1-dev.1
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 +10 -12
- package/patches/@modelcontextprotocol+sdk+1.21.1.patch +54 -0
- package/patches/README.md +41 -0
|
@@ -237,7 +237,7 @@ declare const CoordinatesSchema: z.ZodObject<{
|
|
|
237
237
|
}[] | undefined;
|
|
238
238
|
}>;
|
|
239
239
|
declare const MetadataSchema: z.ZodObject<{
|
|
240
|
-
primary_photo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
240
|
+
primary_photo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
241
241
|
reading: z.ZodOptional<z.ZodObject<{
|
|
242
242
|
ja_kana: z.ZodOptional<z.ZodString>;
|
|
243
243
|
ja_latin: z.ZodOptional<z.ZodString>;
|
|
@@ -249,13 +249,13 @@ declare const MetadataSchema: z.ZodObject<{
|
|
|
249
249
|
ja_latin?: string | undefined;
|
|
250
250
|
}>>;
|
|
251
251
|
}, "strip", z.ZodTypeAny, {
|
|
252
|
-
primary_photo?: string[] | undefined;
|
|
252
|
+
primary_photo?: string | string[] | undefined;
|
|
253
253
|
reading?: {
|
|
254
254
|
ja_kana?: string | undefined;
|
|
255
255
|
ja_latin?: string | undefined;
|
|
256
256
|
} | undefined;
|
|
257
257
|
}, {
|
|
258
|
-
primary_photo?: string[] | undefined;
|
|
258
|
+
primary_photo?: string | string[] | undefined;
|
|
259
259
|
reading?: {
|
|
260
260
|
ja_kana?: string | undefined;
|
|
261
261
|
ja_latin?: string | undefined;
|
|
@@ -515,7 +515,7 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
515
515
|
brand_id: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
516
516
|
external_ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
517
517
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
518
|
-
primary_photo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
518
|
+
primary_photo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
519
519
|
reading: z.ZodOptional<z.ZodObject<{
|
|
520
520
|
ja_kana: z.ZodOptional<z.ZodString>;
|
|
521
521
|
ja_latin: z.ZodOptional<z.ZodString>;
|
|
@@ -527,13 +527,13 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
527
527
|
ja_latin?: string | undefined;
|
|
528
528
|
}>>;
|
|
529
529
|
}, "strip", z.ZodTypeAny, {
|
|
530
|
-
primary_photo?: string[] | undefined;
|
|
530
|
+
primary_photo?: string | string[] | undefined;
|
|
531
531
|
reading?: {
|
|
532
532
|
ja_kana?: string | undefined;
|
|
533
533
|
ja_latin?: string | undefined;
|
|
534
534
|
} | undefined;
|
|
535
535
|
}, {
|
|
536
|
-
primary_photo?: string[] | undefined;
|
|
536
|
+
primary_photo?: string | string[] | undefined;
|
|
537
537
|
reading?: {
|
|
538
538
|
ja_kana?: string | undefined;
|
|
539
539
|
ja_latin?: string | undefined;
|
|
@@ -545,8 +545,19 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
545
545
|
added_time: z.ZodOptional<z.ZodNumber>;
|
|
546
546
|
}, "strip", z.ZodTypeAny, {
|
|
547
547
|
name: string;
|
|
548
|
+
coordinates: {
|
|
549
|
+
longitude: number;
|
|
550
|
+
latitude: number;
|
|
551
|
+
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
552
|
+
routable_points?: {
|
|
553
|
+
name: string;
|
|
554
|
+
longitude: number;
|
|
555
|
+
latitude: number;
|
|
556
|
+
note?: string | undefined;
|
|
557
|
+
}[] | undefined;
|
|
558
|
+
};
|
|
548
559
|
mapbox_id: string;
|
|
549
|
-
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address"
|
|
560
|
+
feature_type: "poi" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address";
|
|
550
561
|
context: {
|
|
551
562
|
country?: {
|
|
552
563
|
name: string;
|
|
@@ -591,23 +602,12 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
591
602
|
id?: string | undefined;
|
|
592
603
|
} | undefined;
|
|
593
604
|
};
|
|
594
|
-
coordinates: {
|
|
595
|
-
longitude: number;
|
|
596
|
-
latitude: number;
|
|
597
|
-
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
598
|
-
routable_points?: {
|
|
599
|
-
name: string;
|
|
600
|
-
longitude: number;
|
|
601
|
-
latitude: number;
|
|
602
|
-
note?: string | undefined;
|
|
603
|
-
}[] | undefined;
|
|
604
|
-
};
|
|
605
|
-
language?: string | undefined;
|
|
606
|
-
bbox?: [number, number, number, number] | undefined;
|
|
607
|
-
address?: string | undefined;
|
|
608
605
|
name_preferred?: string | undefined;
|
|
606
|
+
address?: string | undefined;
|
|
609
607
|
full_address?: string | undefined;
|
|
610
608
|
place_formatted?: string | undefined;
|
|
609
|
+
bbox?: [number, number, number, number] | undefined;
|
|
610
|
+
language?: string | undefined;
|
|
611
611
|
maki?: string | undefined;
|
|
612
612
|
poi_category?: string[] | undefined;
|
|
613
613
|
poi_category_ids?: string[] | undefined;
|
|
@@ -615,7 +615,7 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
615
615
|
brand_id?: string[] | undefined;
|
|
616
616
|
external_ids?: Record<string, string> | undefined;
|
|
617
617
|
metadata?: {
|
|
618
|
-
primary_photo?: string[] | undefined;
|
|
618
|
+
primary_photo?: string | string[] | undefined;
|
|
619
619
|
reading?: {
|
|
620
620
|
ja_kana?: string | undefined;
|
|
621
621
|
ja_latin?: string | undefined;
|
|
@@ -627,8 +627,19 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
627
627
|
added_time?: number | undefined;
|
|
628
628
|
}, {
|
|
629
629
|
name: string;
|
|
630
|
+
coordinates: {
|
|
631
|
+
longitude: number;
|
|
632
|
+
latitude: number;
|
|
633
|
+
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
634
|
+
routable_points?: {
|
|
635
|
+
name: string;
|
|
636
|
+
longitude: number;
|
|
637
|
+
latitude: number;
|
|
638
|
+
note?: string | undefined;
|
|
639
|
+
}[] | undefined;
|
|
640
|
+
};
|
|
630
641
|
mapbox_id: string;
|
|
631
|
-
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address"
|
|
642
|
+
feature_type: "poi" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address";
|
|
632
643
|
context: {
|
|
633
644
|
country?: {
|
|
634
645
|
name: string;
|
|
@@ -673,23 +684,12 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
673
684
|
id?: string | undefined;
|
|
674
685
|
} | undefined;
|
|
675
686
|
};
|
|
676
|
-
coordinates: {
|
|
677
|
-
longitude: number;
|
|
678
|
-
latitude: number;
|
|
679
|
-
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
680
|
-
routable_points?: {
|
|
681
|
-
name: string;
|
|
682
|
-
longitude: number;
|
|
683
|
-
latitude: number;
|
|
684
|
-
note?: string | undefined;
|
|
685
|
-
}[] | undefined;
|
|
686
|
-
};
|
|
687
|
-
language?: string | undefined;
|
|
688
|
-
bbox?: [number, number, number, number] | undefined;
|
|
689
|
-
address?: string | undefined;
|
|
690
687
|
name_preferred?: string | undefined;
|
|
688
|
+
address?: string | undefined;
|
|
691
689
|
full_address?: string | undefined;
|
|
692
690
|
place_formatted?: string | undefined;
|
|
691
|
+
bbox?: [number, number, number, number] | undefined;
|
|
692
|
+
language?: string | undefined;
|
|
693
693
|
maki?: string | undefined;
|
|
694
694
|
poi_category?: string[] | undefined;
|
|
695
695
|
poi_category_ids?: string[] | undefined;
|
|
@@ -697,7 +697,7 @@ declare const FeaturePropertiesSchema: z.ZodObject<{
|
|
|
697
697
|
brand_id?: string[] | undefined;
|
|
698
698
|
external_ids?: Record<string, string> | undefined;
|
|
699
699
|
metadata?: {
|
|
700
|
-
primary_photo?: string[] | undefined;
|
|
700
|
+
primary_photo?: string | string[] | undefined;
|
|
701
701
|
reading?: {
|
|
702
702
|
ja_kana?: string | undefined;
|
|
703
703
|
ja_latin?: string | undefined;
|
|
@@ -974,7 +974,7 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
974
974
|
brand_id: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
975
975
|
external_ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
976
976
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
977
|
-
primary_photo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
977
|
+
primary_photo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
978
978
|
reading: z.ZodOptional<z.ZodObject<{
|
|
979
979
|
ja_kana: z.ZodOptional<z.ZodString>;
|
|
980
980
|
ja_latin: z.ZodOptional<z.ZodString>;
|
|
@@ -986,13 +986,13 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
986
986
|
ja_latin?: string | undefined;
|
|
987
987
|
}>>;
|
|
988
988
|
}, "strip", z.ZodTypeAny, {
|
|
989
|
-
primary_photo?: string[] | undefined;
|
|
989
|
+
primary_photo?: string | string[] | undefined;
|
|
990
990
|
reading?: {
|
|
991
991
|
ja_kana?: string | undefined;
|
|
992
992
|
ja_latin?: string | undefined;
|
|
993
993
|
} | undefined;
|
|
994
994
|
}, {
|
|
995
|
-
primary_photo?: string[] | undefined;
|
|
995
|
+
primary_photo?: string | string[] | undefined;
|
|
996
996
|
reading?: {
|
|
997
997
|
ja_kana?: string | undefined;
|
|
998
998
|
ja_latin?: string | undefined;
|
|
@@ -1004,8 +1004,19 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1004
1004
|
added_time: z.ZodOptional<z.ZodNumber>;
|
|
1005
1005
|
}, "strip", z.ZodTypeAny, {
|
|
1006
1006
|
name: string;
|
|
1007
|
+
coordinates: {
|
|
1008
|
+
longitude: number;
|
|
1009
|
+
latitude: number;
|
|
1010
|
+
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1011
|
+
routable_points?: {
|
|
1012
|
+
name: string;
|
|
1013
|
+
longitude: number;
|
|
1014
|
+
latitude: number;
|
|
1015
|
+
note?: string | undefined;
|
|
1016
|
+
}[] | undefined;
|
|
1017
|
+
};
|
|
1007
1018
|
mapbox_id: string;
|
|
1008
|
-
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address"
|
|
1019
|
+
feature_type: "poi" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address";
|
|
1009
1020
|
context: {
|
|
1010
1021
|
country?: {
|
|
1011
1022
|
name: string;
|
|
@@ -1050,23 +1061,12 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1050
1061
|
id?: string | undefined;
|
|
1051
1062
|
} | undefined;
|
|
1052
1063
|
};
|
|
1053
|
-
coordinates: {
|
|
1054
|
-
longitude: number;
|
|
1055
|
-
latitude: number;
|
|
1056
|
-
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1057
|
-
routable_points?: {
|
|
1058
|
-
name: string;
|
|
1059
|
-
longitude: number;
|
|
1060
|
-
latitude: number;
|
|
1061
|
-
note?: string | undefined;
|
|
1062
|
-
}[] | undefined;
|
|
1063
|
-
};
|
|
1064
|
-
language?: string | undefined;
|
|
1065
|
-
bbox?: [number, number, number, number] | undefined;
|
|
1066
|
-
address?: string | undefined;
|
|
1067
1064
|
name_preferred?: string | undefined;
|
|
1065
|
+
address?: string | undefined;
|
|
1068
1066
|
full_address?: string | undefined;
|
|
1069
1067
|
place_formatted?: string | undefined;
|
|
1068
|
+
bbox?: [number, number, number, number] | undefined;
|
|
1069
|
+
language?: string | undefined;
|
|
1070
1070
|
maki?: string | undefined;
|
|
1071
1071
|
poi_category?: string[] | undefined;
|
|
1072
1072
|
poi_category_ids?: string[] | undefined;
|
|
@@ -1074,7 +1074,7 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1074
1074
|
brand_id?: string[] | undefined;
|
|
1075
1075
|
external_ids?: Record<string, string> | undefined;
|
|
1076
1076
|
metadata?: {
|
|
1077
|
-
primary_photo?: string[] | undefined;
|
|
1077
|
+
primary_photo?: string | string[] | undefined;
|
|
1078
1078
|
reading?: {
|
|
1079
1079
|
ja_kana?: string | undefined;
|
|
1080
1080
|
ja_latin?: string | undefined;
|
|
@@ -1086,8 +1086,19 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1086
1086
|
added_time?: number | undefined;
|
|
1087
1087
|
}, {
|
|
1088
1088
|
name: string;
|
|
1089
|
+
coordinates: {
|
|
1090
|
+
longitude: number;
|
|
1091
|
+
latitude: number;
|
|
1092
|
+
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1093
|
+
routable_points?: {
|
|
1094
|
+
name: string;
|
|
1095
|
+
longitude: number;
|
|
1096
|
+
latitude: number;
|
|
1097
|
+
note?: string | undefined;
|
|
1098
|
+
}[] | undefined;
|
|
1099
|
+
};
|
|
1089
1100
|
mapbox_id: string;
|
|
1090
|
-
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address"
|
|
1101
|
+
feature_type: "poi" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address";
|
|
1091
1102
|
context: {
|
|
1092
1103
|
country?: {
|
|
1093
1104
|
name: string;
|
|
@@ -1132,23 +1143,12 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1132
1143
|
id?: string | undefined;
|
|
1133
1144
|
} | undefined;
|
|
1134
1145
|
};
|
|
1135
|
-
coordinates: {
|
|
1136
|
-
longitude: number;
|
|
1137
|
-
latitude: number;
|
|
1138
|
-
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1139
|
-
routable_points?: {
|
|
1140
|
-
name: string;
|
|
1141
|
-
longitude: number;
|
|
1142
|
-
latitude: number;
|
|
1143
|
-
note?: string | undefined;
|
|
1144
|
-
}[] | undefined;
|
|
1145
|
-
};
|
|
1146
|
-
language?: string | undefined;
|
|
1147
|
-
bbox?: [number, number, number, number] | undefined;
|
|
1148
|
-
address?: string | undefined;
|
|
1149
1146
|
name_preferred?: string | undefined;
|
|
1147
|
+
address?: string | undefined;
|
|
1150
1148
|
full_address?: string | undefined;
|
|
1151
1149
|
place_formatted?: string | undefined;
|
|
1150
|
+
bbox?: [number, number, number, number] | undefined;
|
|
1151
|
+
language?: string | undefined;
|
|
1152
1152
|
maki?: string | undefined;
|
|
1153
1153
|
poi_category?: string[] | undefined;
|
|
1154
1154
|
poi_category_ids?: string[] | undefined;
|
|
@@ -1156,7 +1156,7 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1156
1156
|
brand_id?: string[] | undefined;
|
|
1157
1157
|
external_ids?: Record<string, string> | undefined;
|
|
1158
1158
|
metadata?: {
|
|
1159
|
-
primary_photo?: string[] | undefined;
|
|
1159
|
+
primary_photo?: string | string[] | undefined;
|
|
1160
1160
|
reading?: {
|
|
1161
1161
|
ja_kana?: string | undefined;
|
|
1162
1162
|
ja_latin?: string | undefined;
|
|
@@ -1171,8 +1171,19 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1171
1171
|
type: "Feature";
|
|
1172
1172
|
properties: {
|
|
1173
1173
|
name: string;
|
|
1174
|
+
coordinates: {
|
|
1175
|
+
longitude: number;
|
|
1176
|
+
latitude: number;
|
|
1177
|
+
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1178
|
+
routable_points?: {
|
|
1179
|
+
name: string;
|
|
1180
|
+
longitude: number;
|
|
1181
|
+
latitude: number;
|
|
1182
|
+
note?: string | undefined;
|
|
1183
|
+
}[] | undefined;
|
|
1184
|
+
};
|
|
1174
1185
|
mapbox_id: string;
|
|
1175
|
-
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address"
|
|
1186
|
+
feature_type: "poi" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address";
|
|
1176
1187
|
context: {
|
|
1177
1188
|
country?: {
|
|
1178
1189
|
name: string;
|
|
@@ -1217,23 +1228,12 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1217
1228
|
id?: string | undefined;
|
|
1218
1229
|
} | undefined;
|
|
1219
1230
|
};
|
|
1220
|
-
coordinates: {
|
|
1221
|
-
longitude: number;
|
|
1222
|
-
latitude: number;
|
|
1223
|
-
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1224
|
-
routable_points?: {
|
|
1225
|
-
name: string;
|
|
1226
|
-
longitude: number;
|
|
1227
|
-
latitude: number;
|
|
1228
|
-
note?: string | undefined;
|
|
1229
|
-
}[] | undefined;
|
|
1230
|
-
};
|
|
1231
|
-
language?: string | undefined;
|
|
1232
|
-
bbox?: [number, number, number, number] | undefined;
|
|
1233
|
-
address?: string | undefined;
|
|
1234
1231
|
name_preferred?: string | undefined;
|
|
1232
|
+
address?: string | undefined;
|
|
1235
1233
|
full_address?: string | undefined;
|
|
1236
1234
|
place_formatted?: string | undefined;
|
|
1235
|
+
bbox?: [number, number, number, number] | undefined;
|
|
1236
|
+
language?: string | undefined;
|
|
1237
1237
|
maki?: string | undefined;
|
|
1238
1238
|
poi_category?: string[] | undefined;
|
|
1239
1239
|
poi_category_ids?: string[] | undefined;
|
|
@@ -1241,7 +1241,7 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1241
1241
|
brand_id?: string[] | undefined;
|
|
1242
1242
|
external_ids?: Record<string, string> | undefined;
|
|
1243
1243
|
metadata?: {
|
|
1244
|
-
primary_photo?: string[] | undefined;
|
|
1244
|
+
primary_photo?: string | string[] | undefined;
|
|
1245
1245
|
reading?: {
|
|
1246
1246
|
ja_kana?: string | undefined;
|
|
1247
1247
|
ja_latin?: string | undefined;
|
|
@@ -1260,8 +1260,19 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1260
1260
|
type: "Feature";
|
|
1261
1261
|
properties: {
|
|
1262
1262
|
name: string;
|
|
1263
|
+
coordinates: {
|
|
1264
|
+
longitude: number;
|
|
1265
|
+
latitude: number;
|
|
1266
|
+
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1267
|
+
routable_points?: {
|
|
1268
|
+
name: string;
|
|
1269
|
+
longitude: number;
|
|
1270
|
+
latitude: number;
|
|
1271
|
+
note?: string | undefined;
|
|
1272
|
+
}[] | undefined;
|
|
1273
|
+
};
|
|
1263
1274
|
mapbox_id: string;
|
|
1264
|
-
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address"
|
|
1275
|
+
feature_type: "poi" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address";
|
|
1265
1276
|
context: {
|
|
1266
1277
|
country?: {
|
|
1267
1278
|
name: string;
|
|
@@ -1306,23 +1317,12 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1306
1317
|
id?: string | undefined;
|
|
1307
1318
|
} | undefined;
|
|
1308
1319
|
};
|
|
1309
|
-
coordinates: {
|
|
1310
|
-
longitude: number;
|
|
1311
|
-
latitude: number;
|
|
1312
|
-
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1313
|
-
routable_points?: {
|
|
1314
|
-
name: string;
|
|
1315
|
-
longitude: number;
|
|
1316
|
-
latitude: number;
|
|
1317
|
-
note?: string | undefined;
|
|
1318
|
-
}[] | undefined;
|
|
1319
|
-
};
|
|
1320
|
-
language?: string | undefined;
|
|
1321
|
-
bbox?: [number, number, number, number] | undefined;
|
|
1322
|
-
address?: string | undefined;
|
|
1323
1320
|
name_preferred?: string | undefined;
|
|
1321
|
+
address?: string | undefined;
|
|
1324
1322
|
full_address?: string | undefined;
|
|
1325
1323
|
place_formatted?: string | undefined;
|
|
1324
|
+
bbox?: [number, number, number, number] | undefined;
|
|
1325
|
+
language?: string | undefined;
|
|
1326
1326
|
maki?: string | undefined;
|
|
1327
1327
|
poi_category?: string[] | undefined;
|
|
1328
1328
|
poi_category_ids?: string[] | undefined;
|
|
@@ -1330,7 +1330,7 @@ declare const FeatureSchema: z.ZodObject<{
|
|
|
1330
1330
|
brand_id?: string[] | undefined;
|
|
1331
1331
|
external_ids?: Record<string, string> | undefined;
|
|
1332
1332
|
metadata?: {
|
|
1333
|
-
primary_photo?: string[] | undefined;
|
|
1333
|
+
primary_photo?: string | string[] | undefined;
|
|
1334
1334
|
reading?: {
|
|
1335
1335
|
ja_kana?: string | undefined;
|
|
1336
1336
|
ja_latin?: string | undefined;
|
|
@@ -1614,7 +1614,7 @@ export declare const CategorySearchResponseSchema: z.ZodObject<{
|
|
|
1614
1614
|
brand_id: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1615
1615
|
external_ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1616
1616
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
1617
|
-
primary_photo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1617
|
+
primary_photo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1618
1618
|
reading: z.ZodOptional<z.ZodObject<{
|
|
1619
1619
|
ja_kana: z.ZodOptional<z.ZodString>;
|
|
1620
1620
|
ja_latin: z.ZodOptional<z.ZodString>;
|
|
@@ -1626,13 +1626,13 @@ export declare const CategorySearchResponseSchema: z.ZodObject<{
|
|
|
1626
1626
|
ja_latin?: string | undefined;
|
|
1627
1627
|
}>>;
|
|
1628
1628
|
}, "strip", z.ZodTypeAny, {
|
|
1629
|
-
primary_photo?: string[] | undefined;
|
|
1629
|
+
primary_photo?: string | string[] | undefined;
|
|
1630
1630
|
reading?: {
|
|
1631
1631
|
ja_kana?: string | undefined;
|
|
1632
1632
|
ja_latin?: string | undefined;
|
|
1633
1633
|
} | undefined;
|
|
1634
1634
|
}, {
|
|
1635
|
-
primary_photo?: string[] | undefined;
|
|
1635
|
+
primary_photo?: string | string[] | undefined;
|
|
1636
1636
|
reading?: {
|
|
1637
1637
|
ja_kana?: string | undefined;
|
|
1638
1638
|
ja_latin?: string | undefined;
|
|
@@ -1644,8 +1644,19 @@ export declare const CategorySearchResponseSchema: z.ZodObject<{
|
|
|
1644
1644
|
added_time: z.ZodOptional<z.ZodNumber>;
|
|
1645
1645
|
}, "strip", z.ZodTypeAny, {
|
|
1646
1646
|
name: string;
|
|
1647
|
+
coordinates: {
|
|
1648
|
+
longitude: number;
|
|
1649
|
+
latitude: number;
|
|
1650
|
+
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1651
|
+
routable_points?: {
|
|
1652
|
+
name: string;
|
|
1653
|
+
longitude: number;
|
|
1654
|
+
latitude: number;
|
|
1655
|
+
note?: string | undefined;
|
|
1656
|
+
}[] | undefined;
|
|
1657
|
+
};
|
|
1647
1658
|
mapbox_id: string;
|
|
1648
|
-
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address"
|
|
1659
|
+
feature_type: "poi" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address";
|
|
1649
1660
|
context: {
|
|
1650
1661
|
country?: {
|
|
1651
1662
|
name: string;
|
|
@@ -1690,23 +1701,12 @@ export declare const CategorySearchResponseSchema: z.ZodObject<{
|
|
|
1690
1701
|
id?: string | undefined;
|
|
1691
1702
|
} | undefined;
|
|
1692
1703
|
};
|
|
1693
|
-
coordinates: {
|
|
1694
|
-
longitude: number;
|
|
1695
|
-
latitude: number;
|
|
1696
|
-
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1697
|
-
routable_points?: {
|
|
1698
|
-
name: string;
|
|
1699
|
-
longitude: number;
|
|
1700
|
-
latitude: number;
|
|
1701
|
-
note?: string | undefined;
|
|
1702
|
-
}[] | undefined;
|
|
1703
|
-
};
|
|
1704
|
-
language?: string | undefined;
|
|
1705
|
-
bbox?: [number, number, number, number] | undefined;
|
|
1706
|
-
address?: string | undefined;
|
|
1707
1704
|
name_preferred?: string | undefined;
|
|
1705
|
+
address?: string | undefined;
|
|
1708
1706
|
full_address?: string | undefined;
|
|
1709
1707
|
place_formatted?: string | undefined;
|
|
1708
|
+
bbox?: [number, number, number, number] | undefined;
|
|
1709
|
+
language?: string | undefined;
|
|
1710
1710
|
maki?: string | undefined;
|
|
1711
1711
|
poi_category?: string[] | undefined;
|
|
1712
1712
|
poi_category_ids?: string[] | undefined;
|
|
@@ -1714,7 +1714,7 @@ export declare const CategorySearchResponseSchema: z.ZodObject<{
|
|
|
1714
1714
|
brand_id?: string[] | undefined;
|
|
1715
1715
|
external_ids?: Record<string, string> | undefined;
|
|
1716
1716
|
metadata?: {
|
|
1717
|
-
primary_photo?: string[] | undefined;
|
|
1717
|
+
primary_photo?: string | string[] | undefined;
|
|
1718
1718
|
reading?: {
|
|
1719
1719
|
ja_kana?: string | undefined;
|
|
1720
1720
|
ja_latin?: string | undefined;
|
|
@@ -1726,8 +1726,19 @@ export declare const CategorySearchResponseSchema: z.ZodObject<{
|
|
|
1726
1726
|
added_time?: number | undefined;
|
|
1727
1727
|
}, {
|
|
1728
1728
|
name: string;
|
|
1729
|
+
coordinates: {
|
|
1730
|
+
longitude: number;
|
|
1731
|
+
latitude: number;
|
|
1732
|
+
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1733
|
+
routable_points?: {
|
|
1734
|
+
name: string;
|
|
1735
|
+
longitude: number;
|
|
1736
|
+
latitude: number;
|
|
1737
|
+
note?: string | undefined;
|
|
1738
|
+
}[] | undefined;
|
|
1739
|
+
};
|
|
1729
1740
|
mapbox_id: string;
|
|
1730
|
-
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address"
|
|
1741
|
+
feature_type: "poi" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address";
|
|
1731
1742
|
context: {
|
|
1732
1743
|
country?: {
|
|
1733
1744
|
name: string;
|
|
@@ -1772,23 +1783,12 @@ export declare const CategorySearchResponseSchema: z.ZodObject<{
|
|
|
1772
1783
|
id?: string | undefined;
|
|
1773
1784
|
} | undefined;
|
|
1774
1785
|
};
|
|
1775
|
-
coordinates: {
|
|
1776
|
-
longitude: number;
|
|
1777
|
-
latitude: number;
|
|
1778
|
-
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1779
|
-
routable_points?: {
|
|
1780
|
-
name: string;
|
|
1781
|
-
longitude: number;
|
|
1782
|
-
latitude: number;
|
|
1783
|
-
note?: string | undefined;
|
|
1784
|
-
}[] | undefined;
|
|
1785
|
-
};
|
|
1786
|
-
language?: string | undefined;
|
|
1787
|
-
bbox?: [number, number, number, number] | undefined;
|
|
1788
|
-
address?: string | undefined;
|
|
1789
1786
|
name_preferred?: string | undefined;
|
|
1787
|
+
address?: string | undefined;
|
|
1790
1788
|
full_address?: string | undefined;
|
|
1791
1789
|
place_formatted?: string | undefined;
|
|
1790
|
+
bbox?: [number, number, number, number] | undefined;
|
|
1791
|
+
language?: string | undefined;
|
|
1792
1792
|
maki?: string | undefined;
|
|
1793
1793
|
poi_category?: string[] | undefined;
|
|
1794
1794
|
poi_category_ids?: string[] | undefined;
|
|
@@ -1796,7 +1796,7 @@ export declare const CategorySearchResponseSchema: z.ZodObject<{
|
|
|
1796
1796
|
brand_id?: string[] | undefined;
|
|
1797
1797
|
external_ids?: Record<string, string> | undefined;
|
|
1798
1798
|
metadata?: {
|
|
1799
|
-
primary_photo?: string[] | undefined;
|
|
1799
|
+
primary_photo?: string | string[] | undefined;
|
|
1800
1800
|
reading?: {
|
|
1801
1801
|
ja_kana?: string | undefined;
|
|
1802
1802
|
ja_latin?: string | undefined;
|
|
@@ -1811,8 +1811,19 @@ export declare const CategorySearchResponseSchema: z.ZodObject<{
|
|
|
1811
1811
|
type: "Feature";
|
|
1812
1812
|
properties: {
|
|
1813
1813
|
name: string;
|
|
1814
|
+
coordinates: {
|
|
1815
|
+
longitude: number;
|
|
1816
|
+
latitude: number;
|
|
1817
|
+
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1818
|
+
routable_points?: {
|
|
1819
|
+
name: string;
|
|
1820
|
+
longitude: number;
|
|
1821
|
+
latitude: number;
|
|
1822
|
+
note?: string | undefined;
|
|
1823
|
+
}[] | undefined;
|
|
1824
|
+
};
|
|
1814
1825
|
mapbox_id: string;
|
|
1815
|
-
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address"
|
|
1826
|
+
feature_type: "poi" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address";
|
|
1816
1827
|
context: {
|
|
1817
1828
|
country?: {
|
|
1818
1829
|
name: string;
|
|
@@ -1857,23 +1868,12 @@ export declare const CategorySearchResponseSchema: z.ZodObject<{
|
|
|
1857
1868
|
id?: string | undefined;
|
|
1858
1869
|
} | undefined;
|
|
1859
1870
|
};
|
|
1860
|
-
coordinates: {
|
|
1861
|
-
longitude: number;
|
|
1862
|
-
latitude: number;
|
|
1863
|
-
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1864
|
-
routable_points?: {
|
|
1865
|
-
name: string;
|
|
1866
|
-
longitude: number;
|
|
1867
|
-
latitude: number;
|
|
1868
|
-
note?: string | undefined;
|
|
1869
|
-
}[] | undefined;
|
|
1870
|
-
};
|
|
1871
|
-
language?: string | undefined;
|
|
1872
|
-
bbox?: [number, number, number, number] | undefined;
|
|
1873
|
-
address?: string | undefined;
|
|
1874
1871
|
name_preferred?: string | undefined;
|
|
1872
|
+
address?: string | undefined;
|
|
1875
1873
|
full_address?: string | undefined;
|
|
1876
1874
|
place_formatted?: string | undefined;
|
|
1875
|
+
bbox?: [number, number, number, number] | undefined;
|
|
1876
|
+
language?: string | undefined;
|
|
1877
1877
|
maki?: string | undefined;
|
|
1878
1878
|
poi_category?: string[] | undefined;
|
|
1879
1879
|
poi_category_ids?: string[] | undefined;
|
|
@@ -1881,7 +1881,7 @@ export declare const CategorySearchResponseSchema: z.ZodObject<{
|
|
|
1881
1881
|
brand_id?: string[] | undefined;
|
|
1882
1882
|
external_ids?: Record<string, string> | undefined;
|
|
1883
1883
|
metadata?: {
|
|
1884
|
-
primary_photo?: string[] | undefined;
|
|
1884
|
+
primary_photo?: string | string[] | undefined;
|
|
1885
1885
|
reading?: {
|
|
1886
1886
|
ja_kana?: string | undefined;
|
|
1887
1887
|
ja_latin?: string | undefined;
|
|
@@ -1900,8 +1900,19 @@ export declare const CategorySearchResponseSchema: z.ZodObject<{
|
|
|
1900
1900
|
type: "Feature";
|
|
1901
1901
|
properties: {
|
|
1902
1902
|
name: string;
|
|
1903
|
+
coordinates: {
|
|
1904
|
+
longitude: number;
|
|
1905
|
+
latitude: number;
|
|
1906
|
+
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1907
|
+
routable_points?: {
|
|
1908
|
+
name: string;
|
|
1909
|
+
longitude: number;
|
|
1910
|
+
latitude: number;
|
|
1911
|
+
note?: string | undefined;
|
|
1912
|
+
}[] | undefined;
|
|
1913
|
+
};
|
|
1903
1914
|
mapbox_id: string;
|
|
1904
|
-
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address"
|
|
1915
|
+
feature_type: "poi" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address";
|
|
1905
1916
|
context: {
|
|
1906
1917
|
country?: {
|
|
1907
1918
|
name: string;
|
|
@@ -1946,23 +1957,12 @@ export declare const CategorySearchResponseSchema: z.ZodObject<{
|
|
|
1946
1957
|
id?: string | undefined;
|
|
1947
1958
|
} | undefined;
|
|
1948
1959
|
};
|
|
1949
|
-
coordinates: {
|
|
1950
|
-
longitude: number;
|
|
1951
|
-
latitude: number;
|
|
1952
|
-
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
1953
|
-
routable_points?: {
|
|
1954
|
-
name: string;
|
|
1955
|
-
longitude: number;
|
|
1956
|
-
latitude: number;
|
|
1957
|
-
note?: string | undefined;
|
|
1958
|
-
}[] | undefined;
|
|
1959
|
-
};
|
|
1960
|
-
language?: string | undefined;
|
|
1961
|
-
bbox?: [number, number, number, number] | undefined;
|
|
1962
|
-
address?: string | undefined;
|
|
1963
1960
|
name_preferred?: string | undefined;
|
|
1961
|
+
address?: string | undefined;
|
|
1964
1962
|
full_address?: string | undefined;
|
|
1965
1963
|
place_formatted?: string | undefined;
|
|
1964
|
+
bbox?: [number, number, number, number] | undefined;
|
|
1965
|
+
language?: string | undefined;
|
|
1966
1966
|
maki?: string | undefined;
|
|
1967
1967
|
poi_category?: string[] | undefined;
|
|
1968
1968
|
poi_category_ids?: string[] | undefined;
|
|
@@ -1970,7 +1970,7 @@ export declare const CategorySearchResponseSchema: z.ZodObject<{
|
|
|
1970
1970
|
brand_id?: string[] | undefined;
|
|
1971
1971
|
external_ids?: Record<string, string> | undefined;
|
|
1972
1972
|
metadata?: {
|
|
1973
|
-
primary_photo?: string[] | undefined;
|
|
1973
|
+
primary_photo?: string | string[] | undefined;
|
|
1974
1974
|
reading?: {
|
|
1975
1975
|
ja_kana?: string | undefined;
|
|
1976
1976
|
ja_latin?: string | undefined;
|
|
@@ -1993,8 +1993,19 @@ export declare const CategorySearchResponseSchema: z.ZodObject<{
|
|
|
1993
1993
|
type: "Feature";
|
|
1994
1994
|
properties: {
|
|
1995
1995
|
name: string;
|
|
1996
|
+
coordinates: {
|
|
1997
|
+
longitude: number;
|
|
1998
|
+
latitude: number;
|
|
1999
|
+
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
2000
|
+
routable_points?: {
|
|
2001
|
+
name: string;
|
|
2002
|
+
longitude: number;
|
|
2003
|
+
latitude: number;
|
|
2004
|
+
note?: string | undefined;
|
|
2005
|
+
}[] | undefined;
|
|
2006
|
+
};
|
|
1996
2007
|
mapbox_id: string;
|
|
1997
|
-
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address"
|
|
2008
|
+
feature_type: "poi" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address";
|
|
1998
2009
|
context: {
|
|
1999
2010
|
country?: {
|
|
2000
2011
|
name: string;
|
|
@@ -2039,23 +2050,12 @@ export declare const CategorySearchResponseSchema: z.ZodObject<{
|
|
|
2039
2050
|
id?: string | undefined;
|
|
2040
2051
|
} | undefined;
|
|
2041
2052
|
};
|
|
2042
|
-
coordinates: {
|
|
2043
|
-
longitude: number;
|
|
2044
|
-
latitude: number;
|
|
2045
|
-
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
2046
|
-
routable_points?: {
|
|
2047
|
-
name: string;
|
|
2048
|
-
longitude: number;
|
|
2049
|
-
latitude: number;
|
|
2050
|
-
note?: string | undefined;
|
|
2051
|
-
}[] | undefined;
|
|
2052
|
-
};
|
|
2053
|
-
language?: string | undefined;
|
|
2054
|
-
bbox?: [number, number, number, number] | undefined;
|
|
2055
|
-
address?: string | undefined;
|
|
2056
2053
|
name_preferred?: string | undefined;
|
|
2054
|
+
address?: string | undefined;
|
|
2057
2055
|
full_address?: string | undefined;
|
|
2058
2056
|
place_formatted?: string | undefined;
|
|
2057
|
+
bbox?: [number, number, number, number] | undefined;
|
|
2058
|
+
language?: string | undefined;
|
|
2059
2059
|
maki?: string | undefined;
|
|
2060
2060
|
poi_category?: string[] | undefined;
|
|
2061
2061
|
poi_category_ids?: string[] | undefined;
|
|
@@ -2063,7 +2063,7 @@ export declare const CategorySearchResponseSchema: z.ZodObject<{
|
|
|
2063
2063
|
brand_id?: string[] | undefined;
|
|
2064
2064
|
external_ids?: Record<string, string> | undefined;
|
|
2065
2065
|
metadata?: {
|
|
2066
|
-
primary_photo?: string[] | undefined;
|
|
2066
|
+
primary_photo?: string | string[] | undefined;
|
|
2067
2067
|
reading?: {
|
|
2068
2068
|
ja_kana?: string | undefined;
|
|
2069
2069
|
ja_latin?: string | undefined;
|
|
@@ -2086,8 +2086,19 @@ export declare const CategorySearchResponseSchema: z.ZodObject<{
|
|
|
2086
2086
|
type: "Feature";
|
|
2087
2087
|
properties: {
|
|
2088
2088
|
name: string;
|
|
2089
|
+
coordinates: {
|
|
2090
|
+
longitude: number;
|
|
2091
|
+
latitude: number;
|
|
2092
|
+
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
2093
|
+
routable_points?: {
|
|
2094
|
+
name: string;
|
|
2095
|
+
longitude: number;
|
|
2096
|
+
latitude: number;
|
|
2097
|
+
note?: string | undefined;
|
|
2098
|
+
}[] | undefined;
|
|
2099
|
+
};
|
|
2089
2100
|
mapbox_id: string;
|
|
2090
|
-
feature_type: "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address"
|
|
2101
|
+
feature_type: "poi" | "country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address";
|
|
2091
2102
|
context: {
|
|
2092
2103
|
country?: {
|
|
2093
2104
|
name: string;
|
|
@@ -2132,23 +2143,12 @@ export declare const CategorySearchResponseSchema: z.ZodObject<{
|
|
|
2132
2143
|
id?: string | undefined;
|
|
2133
2144
|
} | undefined;
|
|
2134
2145
|
};
|
|
2135
|
-
coordinates: {
|
|
2136
|
-
longitude: number;
|
|
2137
|
-
latitude: number;
|
|
2138
|
-
accuracy?: "street" | "rooftop" | "parcel" | "point" | "interpolated" | "intersection" | "approximate" | undefined;
|
|
2139
|
-
routable_points?: {
|
|
2140
|
-
name: string;
|
|
2141
|
-
longitude: number;
|
|
2142
|
-
latitude: number;
|
|
2143
|
-
note?: string | undefined;
|
|
2144
|
-
}[] | undefined;
|
|
2145
|
-
};
|
|
2146
|
-
language?: string | undefined;
|
|
2147
|
-
bbox?: [number, number, number, number] | undefined;
|
|
2148
|
-
address?: string | undefined;
|
|
2149
2146
|
name_preferred?: string | undefined;
|
|
2147
|
+
address?: string | undefined;
|
|
2150
2148
|
full_address?: string | undefined;
|
|
2151
2149
|
place_formatted?: string | undefined;
|
|
2150
|
+
bbox?: [number, number, number, number] | undefined;
|
|
2151
|
+
language?: string | undefined;
|
|
2152
2152
|
maki?: string | undefined;
|
|
2153
2153
|
poi_category?: string[] | undefined;
|
|
2154
2154
|
poi_category_ids?: string[] | undefined;
|
|
@@ -2156,7 +2156,7 @@ export declare const CategorySearchResponseSchema: z.ZodObject<{
|
|
|
2156
2156
|
brand_id?: string[] | undefined;
|
|
2157
2157
|
external_ids?: Record<string, string> | undefined;
|
|
2158
2158
|
metadata?: {
|
|
2159
|
-
primary_photo?: string[] | undefined;
|
|
2159
|
+
primary_photo?: string | string[] | undefined;
|
|
2160
2160
|
reading?: {
|
|
2161
2161
|
ja_kana?: string | undefined;
|
|
2162
2162
|
ja_latin?: string | undefined;
|