@findhotel/sapi 1.8.0 → 1.8.1-beta.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.
@@ -9,6 +9,7 @@ export interface AppConfig {
9
9
  offersPoll: string;
10
10
  roomsOffers: string;
11
11
  addressSuggests: string;
12
+ freeTextSuggests: string;
12
13
  availability: string;
13
14
  };
14
15
  };
@@ -295,6 +295,10 @@ 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
297
  export interface Suggestion {
298
+ filters?: Record<string, [{
299
+ id: number;
300
+ value: string;
301
+ }]>;
298
302
  highlightValue: string;
299
303
  objectID: string;
300
304
  objectType: SuggestType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@findhotel/sapi",
3
- "version": "1.8.0",
3
+ "version": "1.8.1-beta.0",
4
4
  "description": "FindHotel Search API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types/packages/core/src",