@findhotel/sapi 1.8.1-beta.0 → 1.8.1-beta.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.
@@ -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 interface Suggestion {
298
- filters?: Record<string, [{
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@findhotel/sapi",
3
- "version": "1.8.1-beta.0",
3
+ "version": "1.8.1-beta.1",
4
4
  "description": "FindHotel Search API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types/packages/core/src",