@findhotel/sapi 1.27.0 → 1.27.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.
package/README.md
CHANGED
|
@@ -1054,6 +1054,10 @@ V1 Response
|
|
|
1054
1054
|
"rooms": [
|
|
1055
1055
|
{
|
|
1056
1056
|
"amenities": ["Non-Smoking Facility"],
|
|
1057
|
+
"amenitiesList": [
|
|
1058
|
+
"title": "Non-Smoking Facility",
|
|
1059
|
+
"id": "123"
|
|
1060
|
+
],
|
|
1057
1061
|
"bedTypes": [],
|
|
1058
1062
|
"description": "20 sqm room Continental breakfast included Free WiFi LCD TV Spacious work desk Choice of pillows Coffee and tea facilities Large walk-in power shower",
|
|
1059
1063
|
"id": "K0LnAe-G9WI",
|
|
@@ -1106,6 +1110,7 @@ V2 Respnose
|
|
|
1106
1110
|
"name": "Room",
|
|
1107
1111
|
"raaName": "Room",
|
|
1108
1112
|
"amenities": [],
|
|
1113
|
+
"amenitiesList": [],
|
|
1109
1114
|
"images": [],
|
|
1110
1115
|
"description": "",
|
|
1111
1116
|
"smokingOptionsAvailable": false,
|
|
@@ -1117,6 +1122,7 @@ V2 Respnose
|
|
|
1117
1122
|
"name": "cosy room(City view)",
|
|
1118
1123
|
"raaName": "cosy room(City view)",
|
|
1119
1124
|
"amenities": [],
|
|
1125
|
+
"amenitiesList": [],
|
|
1120
1126
|
"images": [],
|
|
1121
1127
|
"description": "",
|
|
1122
1128
|
"smokingOptionsAvailable": false,
|
|
@@ -1301,6 +1307,7 @@ V2 Respnose
|
|
|
1301
1307
|
"name": "cosy room(City view)",
|
|
1302
1308
|
"raaName": "cosy room(City view)",
|
|
1303
1309
|
"amenities": [],
|
|
1310
|
+
"amenitiesList": [],
|
|
1304
1311
|
"images": [],
|
|
1305
1312
|
"description": "",
|
|
1306
1313
|
"smokingOptionsAvailable": false,
|
|
@@ -1938,6 +1945,13 @@ An example of the response:
|
|
|
1938
1945
|
"intermediaryProvider": "FHT",
|
|
1939
1946
|
"package": {
|
|
1940
1947
|
"amenities": ["breakfast"],
|
|
1948
|
+
"amenitiesList": [
|
|
1949
|
+
{
|
|
1950
|
+
"title": "breakfast",
|
|
1951
|
+
"id": "1213"
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
],
|
|
1941
1955
|
"canPayLater": false
|
|
1942
1956
|
},
|
|
1943
1957
|
"cancellationPenalties": [
|
|
@@ -96,6 +96,7 @@ export interface Area {
|
|
|
96
96
|
}
|
|
97
97
|
export interface Room {
|
|
98
98
|
amenities: string[];
|
|
99
|
+
amenitiesList: Amenity[];
|
|
99
100
|
occupationPerRoom: number;
|
|
100
101
|
smokingOptionsAvailable: boolean;
|
|
101
102
|
bedTypes: BedType[];
|
|
@@ -110,6 +111,10 @@ export interface Room {
|
|
|
110
111
|
squashedIds?: string[];
|
|
111
112
|
area: Area;
|
|
112
113
|
}
|
|
114
|
+
export interface Amenity {
|
|
115
|
+
id: string;
|
|
116
|
+
title: string;
|
|
117
|
+
}
|
|
113
118
|
export interface Itinerary {
|
|
114
119
|
checkIn: string;
|
|
115
120
|
checkOut: string;
|