@findhotel/sapi 1.8.1-beta.0 → 1.8.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -294,11 +294,14 @@ export interface PlaceAnchor extends Omit<PlaceAnchorHit, 'placeName' | 'placeAD
|
|
|
294
294
|
export declare type Anchor = HotelAnchor | PlaceAnchor;
|
|
295
295
|
export declare type PlaceTypeName = 'property' | 'country' | 'city' | 'airport' | 'station' | 'area' | 'address';
|
|
296
296
|
export declare type SuggestType = 'hotel' | 'place' | 'address';
|
|
297
|
-
export
|
|
298
|
-
|
|
297
|
+
export declare type SuggestFilters = Record<string, [
|
|
298
|
+
{
|
|
299
299
|
id: number;
|
|
300
300
|
value: string;
|
|
301
|
-
}
|
|
301
|
+
}
|
|
302
|
+
] | string | number>;
|
|
303
|
+
export interface Suggestion {
|
|
304
|
+
filters?: SuggestFilters;
|
|
302
305
|
highlightValue: string;
|
|
303
306
|
objectID: string;
|
|
304
307
|
objectType: SuggestType;
|