@findhotel/sapi 0.25.7 → 0.26.0-rc.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.
package/README.md
CHANGED
|
@@ -661,7 +661,7 @@ const rooms = await sapiClient.rooms({
|
|
|
661
661
|
"bedTypes": [],
|
|
662
662
|
"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",
|
|
663
663
|
"id": "K0LnAe-G9WI",
|
|
664
|
-
"images": [{"url": "http://images.getaroom-cdn.com/image/....}],
|
|
664
|
+
"images": [{"url": "http://images.getaroom-cdn.com/image/...."}],
|
|
665
665
|
"masterId": "9643931",
|
|
666
666
|
"name": "1 Double Standard",
|
|
667
667
|
"offers": [
|
|
@@ -684,7 +684,6 @@ const rooms = await sapiClient.rooms({
|
|
|
684
684
|
}],
|
|
685
685
|
"providerCode": "GAR",
|
|
686
686
|
"providerRateType": "public",
|
|
687
|
-
"refundable": false,
|
|
688
687
|
"services": ["breakfast"]
|
|
689
688
|
}
|
|
690
689
|
]
|
|
@@ -19,8 +19,6 @@ export interface RoomCancellationPenalties {
|
|
|
19
19
|
end: string;
|
|
20
20
|
amount: number;
|
|
21
21
|
currency: string;
|
|
22
|
-
/** @deprecated will be removed in next releases */
|
|
23
|
-
currencyCode: string;
|
|
24
22
|
}
|
|
25
23
|
export interface RoomLinks {
|
|
26
24
|
href: string;
|
|
@@ -55,7 +53,6 @@ export interface RoomOffer {
|
|
|
55
53
|
prices: RoomPrice[];
|
|
56
54
|
providerRateId: string;
|
|
57
55
|
providerRateType: string;
|
|
58
|
-
refundable: boolean;
|
|
59
56
|
canPayLater: boolean;
|
|
60
57
|
services: string[];
|
|
61
58
|
isClicked: boolean;
|
|
@@ -260,10 +260,6 @@ export interface TopOfferData {
|
|
|
260
260
|
anchorPriceNightly?: number;
|
|
261
261
|
offerIndexes: number[];
|
|
262
262
|
}
|
|
263
|
-
export interface CancellationPolicy {
|
|
264
|
-
freeRefundableUntil: string;
|
|
265
|
-
description: string;
|
|
266
|
-
}
|
|
267
263
|
export declare type Meals = 'allInclusive' | 'breakfast' | 'partialBreakfast' | 'lunch' | 'dinner' | 'fullBoard' | 'halfBoard' | 'meals';
|
|
268
264
|
export interface Offer {
|
|
269
265
|
additionalProviderParams: {
|
|
@@ -283,7 +279,6 @@ export interface Offer {
|
|
|
283
279
|
meals: Meals[];
|
|
284
280
|
tags: string[];
|
|
285
281
|
canPayLater?: boolean;
|
|
286
|
-
cancellationPolicy?: CancellationPolicy;
|
|
287
282
|
hasAnchorPrice?: boolean;
|
|
288
283
|
hasFreeCancellation?: boolean;
|
|
289
284
|
integrationType?: string;
|