whitelabel-db 1.0.49 → 1.0.51
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/dist/libs/liteapi.d.ts
CHANGED
|
@@ -19,10 +19,17 @@ export interface Amount {
|
|
|
19
19
|
amount: number;
|
|
20
20
|
currency: string;
|
|
21
21
|
}
|
|
22
|
+
export interface TaxesAndFees {
|
|
23
|
+
included: boolean;
|
|
24
|
+
description: string;
|
|
25
|
+
amount: number;
|
|
26
|
+
currency: string;
|
|
27
|
+
}
|
|
22
28
|
export interface RetailRate {
|
|
23
29
|
total: Amount[];
|
|
24
|
-
taxesAndFees:
|
|
30
|
+
taxesAndFees: TaxesAndFees[];
|
|
25
31
|
msp?: Amount[];
|
|
32
|
+
suggestedSellingPrice: Amount[];
|
|
26
33
|
}
|
|
27
34
|
export interface CancellationPolicies {
|
|
28
35
|
cancelPolicyInfos: {
|
package/dist/libs/liteapiv3.d.ts
CHANGED
|
@@ -24,10 +24,17 @@ export interface AmountV3 {
|
|
|
24
24
|
amount: number;
|
|
25
25
|
currency: string;
|
|
26
26
|
}
|
|
27
|
+
export interface TaxesAndFeesV3 {
|
|
28
|
+
included: boolean;
|
|
29
|
+
description: string;
|
|
30
|
+
amount: number;
|
|
31
|
+
currency: string;
|
|
32
|
+
}
|
|
27
33
|
export interface RetailRateV3 {
|
|
28
34
|
total: AmountV3[];
|
|
29
|
-
taxesAndFees:
|
|
35
|
+
taxesAndFees: TaxesAndFeesV3[];
|
|
30
36
|
msp?: AmountV3[];
|
|
37
|
+
suggestedSellingPrice: AmountV3[];
|
|
31
38
|
}
|
|
32
39
|
export interface CancellationPoliciesV3 {
|
|
33
40
|
cancelPolicyInfos: {
|
|
@@ -76,6 +83,7 @@ export interface RoomTypeV3 {
|
|
|
76
83
|
supplierId: number;
|
|
77
84
|
mappedRoomId?: string;
|
|
78
85
|
offerRetailRate: AmountV3;
|
|
86
|
+
suggestedSellingPrice: AmountV3;
|
|
79
87
|
priceType: string;
|
|
80
88
|
}
|
|
81
89
|
export interface FullRateAvailabilityResultV3 {
|
package/dist/models/Hotel.d.ts
CHANGED
package/dist/models/Hotel.js
CHANGED
|
@@ -202,6 +202,14 @@ __decorate([
|
|
|
202
202
|
}),
|
|
203
203
|
__metadata("design:type", Array)
|
|
204
204
|
], Hotel.prototype, "reviews", void 0);
|
|
205
|
+
__decorate([
|
|
206
|
+
(0, sequelize_typescript_1.Column)({
|
|
207
|
+
type: sequelize_typescript_1.DataType.BOOLEAN,
|
|
208
|
+
allowNull: false,
|
|
209
|
+
defaultValue: false,
|
|
210
|
+
}),
|
|
211
|
+
__metadata("design:type", Boolean)
|
|
212
|
+
], Hotel.prototype, "bestSeller", void 0);
|
|
205
213
|
exports.Hotel = Hotel = __decorate([
|
|
206
214
|
(0, sequelize_typescript_1.Table)({
|
|
207
215
|
tableName: 'static_hotels',
|