@findhotel/sapi 1.0.1-beta.0 → 1.0.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.
@@ -164,7 +164,10 @@ export interface HotelSuggestHit extends BasicSuggestHit {
164
164
  };
165
165
  }
166
166
  export declare type SuggestHit = HotelSuggestHit | PlaceSuggestHit;
167
- /** Search Hit */
167
+ export interface DatelessProviderLink {
168
+ provider: string;
169
+ url: string;
170
+ }
168
171
  export interface Hit {
169
172
  address: TranslatedString;
170
173
  checkInTime: string;
@@ -175,6 +178,7 @@ export interface Hit {
175
178
  guestType: GuestType;
176
179
  hotelName: TranslatedString;
177
180
  imageURIs: string[];
181
+ urls?: DatelessProviderLink[];
178
182
  isDeleted: boolean;
179
183
  lastBooked: number;
180
184
  objectID: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@findhotel/sapi",
3
- "version": "1.0.1-beta.0",
3
+ "version": "1.0.2",
4
4
  "description": "FindHotel Search API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/types/packages/core/src",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "repository": {
38
38
  "type": "git",
39
- "url": "git+https://github.com/FindHotel/sapi.git"
39
+ "url": "https://github.com/FindHotel/sapi.git"
40
40
  },
41
41
  "author": "",
42
42
  "license": "ISC",