@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.
- package/README.md +7 -51
- package/dist/index.js +1 -1
- package/dist/types/packages/core/src/types/types.d.ts +5 -1
- package/package.json +2 -2
- package/dist/index.js.map +0 -1
|
@@ -164,7 +164,10 @@ export interface HotelSuggestHit extends BasicSuggestHit {
|
|
|
164
164
|
};
|
|
165
165
|
}
|
|
166
166
|
export declare type SuggestHit = HotelSuggestHit | PlaceSuggestHit;
|
|
167
|
-
|
|
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.
|
|
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": "
|
|
39
|
+
"url": "https://github.com/FindHotel/sapi.git"
|
|
40
40
|
},
|
|
41
41
|
"author": "",
|
|
42
42
|
"license": "ISC",
|