@hyper.software/visitor-integrations-client 1.2.38 → 1.2.39
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.
|
@@ -14,15 +14,8 @@ export interface IAcceptRejectBooking {
|
|
|
14
14
|
channelType?: ChannelManagerType;
|
|
15
15
|
revisionId?: string;
|
|
16
16
|
}
|
|
17
|
-
export declare enum EXTERNAL_BOOKING_STATUS {
|
|
18
|
-
CREATED = "CREATED",
|
|
19
|
-
NEW = "NEW",
|
|
20
|
-
MODIFIED = "MODIFIED",
|
|
21
|
-
CANCELED = "CANCELED",
|
|
22
|
-
CANCELLED = "CANCELLED"
|
|
23
|
-
}
|
|
24
17
|
export interface IExternalBooking {
|
|
25
|
-
status?:
|
|
18
|
+
status?: 'CREATED' | 'CANCELED';
|
|
26
19
|
companyId: string;
|
|
27
20
|
code: string;
|
|
28
21
|
roomTypeId: string;
|
|
@@ -43,44 +36,22 @@ export interface IExternalBooking {
|
|
|
43
36
|
numberOfRooms?: number;
|
|
44
37
|
isFetched?: boolean;
|
|
45
38
|
bookingSource: BOOKING_SOURCE;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
breakfastType?: ROOM_TYPE_BREAKFAST_INFORMATION_TYPE;
|
|
63
|
-
breakfastIncluded?: boolean;
|
|
64
|
-
breakfastCost?: number;
|
|
65
|
-
revisionId?: string;
|
|
66
|
-
insertedAt?: string;
|
|
67
|
-
isModification?: boolean;
|
|
68
|
-
originalBookingId?: string;
|
|
69
|
-
dailyRates?: Array<{
|
|
70
|
-
date: string;
|
|
71
|
-
rate: number;
|
|
72
|
-
currency: string;
|
|
73
|
-
}>;
|
|
74
|
-
mealPlan?: string;
|
|
75
|
-
policies?: {
|
|
76
|
-
cancellation?: string;
|
|
77
|
-
guarantee?: string;
|
|
78
|
-
};
|
|
79
|
-
guarantee?: {
|
|
80
|
-
cardNumber?: string;
|
|
81
|
-
cardType?: string;
|
|
82
|
-
cardholderName?: string;
|
|
83
|
-
expirationDate?: string;
|
|
84
|
-
isVirtual?: boolean;
|
|
39
|
+
extra: {
|
|
40
|
+
details?: string;
|
|
41
|
+
isPaid?: boolean;
|
|
42
|
+
otaComission?: number;
|
|
43
|
+
otaBookingId?: string;
|
|
44
|
+
arrivalTime?: string;
|
|
45
|
+
breakfastType?: ROOM_TYPE_BREAKFAST_INFORMATION_TYPE;
|
|
46
|
+
breakfastIncluded?: boolean;
|
|
47
|
+
breakfastCost?: number;
|
|
48
|
+
excludedFees?: number;
|
|
49
|
+
childrenAges?: Array<{
|
|
50
|
+
age: number | null | undefined;
|
|
51
|
+
}>;
|
|
52
|
+
paymentMethod?: PAYMENT_METHOD;
|
|
53
|
+
currency?: string;
|
|
54
|
+
revisionId?: string;
|
|
85
55
|
};
|
|
56
|
+
isSynced?: boolean;
|
|
86
57
|
}
|
|
@@ -1,12 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EXTERNAL_BOOKING_STATUS = void 0;
|
|
4
|
-
var EXTERNAL_BOOKING_STATUS;
|
|
5
|
-
(function (EXTERNAL_BOOKING_STATUS) {
|
|
6
|
-
EXTERNAL_BOOKING_STATUS["CREATED"] = "CREATED";
|
|
7
|
-
EXTERNAL_BOOKING_STATUS["NEW"] = "NEW";
|
|
8
|
-
EXTERNAL_BOOKING_STATUS["MODIFIED"] = "MODIFIED";
|
|
9
|
-
EXTERNAL_BOOKING_STATUS["CANCELED"] = "CANCELED";
|
|
10
|
-
EXTERNAL_BOOKING_STATUS["CANCELLED"] = "CANCELLED"; // This is for channex
|
|
11
|
-
})(EXTERNAL_BOOKING_STATUS || (exports.EXTERNAL_BOOKING_STATUS = EXTERNAL_BOOKING_STATUS = {}));
|
|
12
3
|
//# sourceMappingURL=bookings.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings.js","sourceRoot":"","sources":["../../../../src/interfaces/bookings.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bookings.js","sourceRoot":"","sources":["../../../../src/interfaces/bookings.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED