@findhotel/sapi 1.22.2 → 1.22.3
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.
|
@@ -165,6 +165,7 @@ export interface PlaceAnchorHit extends BasicAnchorHit {
|
|
|
165
165
|
placeCategory: number;
|
|
166
166
|
placeName: TranslatedString;
|
|
167
167
|
placeType: number;
|
|
168
|
+
geoDetails?: GeoDetails;
|
|
168
169
|
}
|
|
169
170
|
export declare type AnchorHit = HotelAnchorHit | PlaceAnchorHit;
|
|
170
171
|
/** Suggestion hit */
|
|
@@ -260,6 +261,11 @@ export interface NavPathInfo {
|
|
|
260
261
|
city?: PlaceInfo;
|
|
261
262
|
adminDivision?: PlaceInfo;
|
|
262
263
|
}
|
|
264
|
+
export interface GeoDetails {
|
|
265
|
+
shortName?: string;
|
|
266
|
+
featureType?: GeoFeatureType;
|
|
267
|
+
}
|
|
268
|
+
export declare type GeoFeatureType = 'country' | 'region' | 'postcode' | 'district' | 'place' | 'locality' | 'neighborhood' | 'address' | 'poi';
|
|
263
269
|
export interface PlaceInfo {
|
|
264
270
|
id: string;
|
|
265
271
|
name?: string;
|