whitelabel-db 1.0.43 → 1.0.44
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/liteapiv3.d.ts +12 -13
- package/package.json +1 -1
package/dist/libs/liteapiv3.d.ts
CHANGED
|
@@ -68,6 +68,7 @@ export interface RateV3 {
|
|
|
68
68
|
}
|
|
69
69
|
export interface RoomTypeV3 {
|
|
70
70
|
roomTypeId: string;
|
|
71
|
+
offerId: string;
|
|
71
72
|
rates: RateV3[];
|
|
72
73
|
supplier: string;
|
|
73
74
|
supplierId: number;
|
|
@@ -79,17 +80,13 @@ export interface FullRateAvailabilityResultV3 {
|
|
|
79
80
|
roomTypes: RoomTypeV3[];
|
|
80
81
|
}
|
|
81
82
|
export interface PrebookRateRequestV3 {
|
|
82
|
-
|
|
83
|
-
hotelId: string;
|
|
84
|
-
occupancies: OccupancyV3[];
|
|
85
|
-
currency: string;
|
|
86
|
-
guestNationality: string;
|
|
87
|
-
checkin: string;
|
|
88
|
-
checkout: string;
|
|
83
|
+
offerId: string;
|
|
89
84
|
payWithStripe?: boolean;
|
|
85
|
+
usePaymentSdk?: boolean;
|
|
90
86
|
}
|
|
91
87
|
export interface PrebookRateV3 {
|
|
92
88
|
prebookId: string;
|
|
89
|
+
offerId: string;
|
|
93
90
|
hotelId: string;
|
|
94
91
|
currency: string;
|
|
95
92
|
termsAndConditions: string;
|
|
@@ -112,24 +109,26 @@ export interface GuestInfoV3 {
|
|
|
112
109
|
guestEmail: string;
|
|
113
110
|
}
|
|
114
111
|
export interface PaymentInfoV3 {
|
|
115
|
-
method
|
|
116
|
-
transactionId
|
|
112
|
+
method?: string;
|
|
113
|
+
transactionId: string;
|
|
117
114
|
}
|
|
118
115
|
export interface UserV3 {
|
|
119
116
|
firstName: string;
|
|
120
117
|
lastName: string;
|
|
121
118
|
email: string;
|
|
122
119
|
}
|
|
123
|
-
export interface
|
|
124
|
-
|
|
120
|
+
export interface GuestsRequestV3 {
|
|
121
|
+
occupancyNumber: number;
|
|
125
122
|
remarks: string;
|
|
126
|
-
|
|
123
|
+
firstName: string;
|
|
124
|
+
lastName: string;
|
|
125
|
+
email: string;
|
|
127
126
|
}
|
|
128
127
|
export interface CheckoutRequestV3 {
|
|
129
128
|
payment: PaymentInfoV3;
|
|
130
129
|
prebookId: string;
|
|
131
130
|
holder: UserV3;
|
|
132
|
-
|
|
131
|
+
guests: GuestsRequestV3[];
|
|
133
132
|
}
|
|
134
133
|
export interface BookedRoomV3 {
|
|
135
134
|
roomType: {
|