@findhotel/sapi 1.28.19 → 1.28.21

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.
package/README.md CHANGED
@@ -582,7 +582,7 @@ split2: `checkIn: '2023-08-12'` `checkOut: '2023-08-15'`
582
582
  <a id="search-filters"></a>
583
583
 
584
584
  | name | type | description | example | filter scope |
585
- | ------------------ | ---------- | -------------------------------------------------------------------------------------------------- | ------------------------------ | ------------ |
585
+ |--------------------|------------|----------------------------------------------------------------------------------------------------|--------------------------------|--------------|
586
586
  | `themeIds` | `number[]` | Facet filtering by theme ids | `[1, 2, 3]` | Hotel |
587
587
  | `chainIds` | `number[]` | Hotels' chain ids | `[4, 5]` | Hotel |
588
588
  | `facilities` | `string[]` | Facility ids used for facet filtering | `[299,7,6,21]` | Hotel |
@@ -598,6 +598,8 @@ split2: `checkIn: '2023-08-12'` `checkOut: '2023-08-15'`
598
598
  | `mealIncluded` | `boolean` | If true, only offers with meal included option will be returned | `true` | Offer |
599
599
  | `amenities` | `string[]` | [Meal types](#filters-amenities) | `["breakfast","allInclusive"]` | |
600
600
  | `isVr` | `boolean` | If true, then only vacation rentals are returned. If false, then vacation rentals are filtered out | `true` | Hotel |
601
+ | `neighborhoodIds` | `string[]` | Filters the result based on the Hotel's neighborhoods | `["47689","45031"]` | Hotel |
602
+ | `brandIds` | `string[]` | Filters the result based on the Hotel's brand | `["12060","2137"]` | Hotel |
601
603
 
602
604
  ##### Facilities
603
605
 
@@ -754,6 +756,30 @@ so there is a simplified example:
754
756
  },
755
757
  "anchorType": "hotel",
756
758
  "anchorHotelId": "9660485",
759
+ "facetFilters": {
760
+ "brands": {
761
+ "0": {
762
+ "value": "Independent"
763
+ },
764
+ "11157": {
765
+ "value": "NH Collection"
766
+ },
767
+ "12060": {
768
+ "value": "Revenue Guru"
769
+ }
770
+ },
771
+ "neighborhoods": {
772
+ "253086": {
773
+ "value": "Amsterdam City Centre"
774
+ },
775
+ "305373": {
776
+ "value": "Amsterdam-West"
777
+ },
778
+ "305374": {
779
+ "value": "Amsterdam-Zuid"
780
+ }
781
+ }
782
+ },
757
783
  "hotelEntities": {
758
784
  "9660485": {
759
785
  "_geoloc": {
@@ -290,11 +290,13 @@ export declare type Hotel = {
290
290
  export interface ContentHotelDescriptions {
291
291
  overall?: string;
292
292
  headline?: string;
293
+ location?: string;
293
294
  business_amenities?: string;
294
295
  amenities?: string;
295
296
  dining?: string;
296
297
  renovations?: string;
297
298
  national_ratings?: string;
299
+ rooms?: string;
298
300
  version?: number;
299
301
  }
300
302
  export interface ContentHotel {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@findhotel/sapi",
3
- "version": "1.28.19",
3
+ "version": "1.28.21",
4
4
  "description": "FindHotel Search API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types/packages/core/src",