@findhotel/sapi 1.7.8 → 1.7.10-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.
@@ -22,6 +22,7 @@ interface OffersParameters {
22
22
  metadata?: Record<string, string>;
23
23
  filters?: FilterParameters;
24
24
  offersSort?: string;
25
+ optimizeRooms?: boolean;
25
26
  }
26
27
  interface Callbacks {
27
28
  onStart?: (parameters: GetOffersParameters) => void;
@@ -64,6 +64,7 @@ export interface OptionalSearchParameters {
64
64
  checkOut?: string;
65
65
  rooms?: string;
66
66
  optimizeRooms?: boolean;
67
+ optimizeAnchorRooms?: boolean;
67
68
  dayDistance?: number;
68
69
  nights?: number;
69
70
  sortField?: string;
@@ -154,7 +155,7 @@ export interface HotelAnchorHit extends BasicAnchorHit {
154
155
  objectType: 'hotel';
155
156
  }
156
157
  export interface PlaceAnchorHit extends BasicAnchorHit {
157
- objectType: 'place';
158
+ objectType: 'place' | 'address' | 'area' | `point`;
158
159
  polygon?: Polygon;
159
160
  placeCategory: number;
160
161
  placeName: TranslatedString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@findhotel/sapi",
3
- "version": "1.7.8",
3
+ "version": "1.7.10-beta.0",
4
4
  "description": "FindHotel Search API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types/packages/core/src",