@roomstay/core 0.1.82-0 → 0.1.82
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/node.js +1 -1
- package/dist/types/AnalyticsEvents/IAnalyticsEvent.type.d.ts +14 -12
- package/dist/types/AnalyticsEvents/MetaCapiTransformer.d.ts +1 -6
- package/dist/types/Booking/PlaceBooking.types.d.ts +0 -1
- package/dist/types/Company/IAdminCompany.type.d.ts +0 -1
- package/dist/types/DisplayPolicy/IDisplayPolicy.type.d.ts +23 -12
- package/dist/types/Maintenance/IMaintenanceStatus.type.d.ts +1 -4
- package/dist/types/Member/IMemberVerification.type.d.ts +0 -3
- package/dist/types/Member/IRoomstayMember.type.d.ts +1 -2
- package/dist/types/Newbook/ENewbookSyncStrategy.enum.d.ts +1 -7
- package/dist/types/Newbook/index.d.ts +0 -3
- package/dist/types/PMSSync/index.d.ts +0 -15
- package/dist/types/Policies/EGuaranteePolicy.enum.d.ts +0 -5
- package/dist/types/index.d.ts +0 -11
- package/dist/utils/roundMoney.d.ts +1 -11
- package/dist/web.js +1 -1
- package/package.json +1 -1
- package/dist/browser/index.js +0 -4005
- package/dist/browser/index.js.map +0 -1
- package/dist/node/index.cjs +0 -25
- package/dist/node/index.cjs.map +0 -1
- package/dist/node/index.mjs +0 -4005
- package/dist/node/index.mjs.map +0 -1
- package/dist/types/Booking/IBookingCreateErrorResponse.d.ts +0 -11
- package/dist/types/Booking/IBookingStatus.type.d.ts +0 -5
- package/dist/types/Booking/IPrice.type.d.ts +0 -7
- package/dist/types/Member/IRoomstayMemberLoyalty.type.d.ts +0 -16
- package/dist/types/Newbook/ENewbookDiscountType.enum.d.ts +0 -5
- package/dist/types/Newbook/INewbookDiscount.type.d.ts +0 -9
- package/dist/types/Newbook/INewbookInventoryItem.type.d.ts +0 -9
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/types/Addons/Addon.enum.d.ts +0 -3
- package/dist/types/types/Addons/Addon.enum.d.ts.map +0 -1
- package/dist/types/types/Addons/Addon.types.d.ts +0 -56
- package/dist/types/types/Addons/Addon.types.d.ts.map +0 -1
- package/dist/types/types/Analytics/IBigQueryResults.type.d.ts +0 -46
- package/dist/types/types/Analytics/IBigQueryResults.type.d.ts.map +0 -1
- package/dist/types/types/AnalyticsEvents/IAnalyticsEvent.type.d.ts +0 -91
- package/dist/types/types/AnalyticsEvents/IAnalyticsEvent.type.d.ts.map +0 -1
- package/dist/types/types/AnalyticsEvents/IAnalyticsSession.type.d.ts +0 -21
- package/dist/types/types/AnalyticsEvents/IAnalyticsSession.type.d.ts.map +0 -1
- package/dist/types/types/AnalyticsEvents/IRoomstayEventData.type.d.ts +0 -91
- package/dist/types/types/AnalyticsEvents/IRoomstayEventData.type.d.ts.map +0 -1
- package/dist/types/types/AnalyticsEvents/MetaCapiTransformer.d.ts +0 -26
- package/dist/types/types/AnalyticsEvents/MetaCapiTransformer.d.ts.map +0 -1
- package/dist/types/types/Api/Reservations.type.d.ts +0 -85
- package/dist/types/types/Api/Reservations.type.d.ts.map +0 -1
- package/dist/types/types/Api/RoomNightRate.type.d.ts +0 -8
- package/dist/types/types/Api/RoomNightRate.type.d.ts.map +0 -1
- package/dist/types/types/Availability/Availability.types.d.ts +0 -122
- package/dist/types/types/Availability/Availability.types.d.ts.map +0 -1
- package/dist/types/types/Booking/ConfirmBooking.types.d.ts +0 -22
- package/dist/types/types/Booking/ConfirmBooking.types.d.ts.map +0 -1
- package/dist/types/types/Booking/EBooking.types.d.ts +0 -13
- package/dist/types/types/Booking/EBooking.types.d.ts.map +0 -1
- package/dist/types/types/Booking/GetBooking.types.d.ts +0 -8
- package/dist/types/types/Booking/GetBooking.types.d.ts.map +0 -1
- package/dist/types/types/Booking/IBookingCreateErrorResponse.type.d.ts +0 -14
- package/dist/types/types/Booking/IBookingCreateErrorResponse.type.d.ts.map +0 -1
- package/dist/types/types/Booking/IBookingExtraFields.type.d.ts +0 -20
- package/dist/types/types/Booking/IBookingExtraFields.type.d.ts.map +0 -1
- package/dist/types/types/Booking/IBookingPayment.type.d.ts +0 -115
- package/dist/types/types/Booking/IBookingPayment.type.d.ts.map +0 -1
- package/dist/types/types/Booking/IBookingQuote.type.d.ts +0 -31
- package/dist/types/types/Booking/IBookingQuote.type.d.ts.map +0 -1
- package/dist/types/types/Booking/ICommonQueryParameters.type.d.ts +0 -4
- package/dist/types/types/Booking/ICommonQueryParameters.type.d.ts.map +0 -1
- package/dist/types/types/Booking/Itinerary.types.d.ts +0 -100
- package/dist/types/types/Booking/Itinerary.types.d.ts.map +0 -1
- package/dist/types/types/Booking/PencilReservation.types.d.ts +0 -20
- package/dist/types/types/Booking/PencilReservation.types.d.ts.map +0 -1
- package/dist/types/types/Booking/PlaceBooking.types.d.ts +0 -91
- package/dist/types/types/Booking/PlaceBooking.types.d.ts.map +0 -1
- package/dist/types/types/Company/ECompanyProvider.enum.d.ts +0 -10
- package/dist/types/types/Company/ECompanyProvider.enum.d.ts.map +0 -1
- package/dist/types/types/Company/IAdminCompany.type.d.ts +0 -53
- package/dist/types/types/Company/IAdminCompany.type.d.ts.map +0 -1
- package/dist/types/types/Company/IAdminCompanyUser.type.d.ts +0 -16
- package/dist/types/types/Company/IAdminCompanyUser.type.d.ts.map +0 -1
- package/dist/types/types/Events/ERoomstayEventSource.enum.d.ts +0 -5
- package/dist/types/types/Events/ERoomstayEventSource.enum.d.ts.map +0 -1
- package/dist/types/types/Events/IRoomstayEvent.type.d.ts +0 -51
- package/dist/types/types/Events/IRoomstayEvent.type.d.ts.map +0 -1
- package/dist/types/types/Fees/EFeeType.enum.d.ts +0 -8
- package/dist/types/types/Fees/EFeeType.enum.d.ts.map +0 -1
- package/dist/types/types/Fees/IFee.type.d.ts +0 -12
- package/dist/types/types/Fees/IFee.type.d.ts.map +0 -1
- package/dist/types/types/Fees/IFeeConfigurationOptions.type.d.ts +0 -7
- package/dist/types/types/Fees/IFeeConfigurationOptions.type.d.ts.map +0 -1
- package/dist/types/types/General/Format.types.d.ts +0 -2
- package/dist/types/types/General/Format.types.d.ts.map +0 -1
- package/dist/types/types/General/HttpMethod.enum.d.ts +0 -10
- package/dist/types/types/General/HttpMethod.enum.d.ts.map +0 -1
- package/dist/types/types/General/IMessage.type.d.ts +0 -7
- package/dist/types/types/General/IMessage.type.d.ts.map +0 -1
- package/dist/types/types/General/Pagination.types.d.ts +0 -21
- package/dist/types/types/General/Pagination.types.d.ts.map +0 -1
- package/dist/types/types/General/Warning.type.d.ts +0 -15
- package/dist/types/types/General/Warning.type.d.ts.map +0 -1
- package/dist/types/types/GiftCards/GiftCard.types.d.ts +0 -355
- package/dist/types/types/GiftCards/GiftCard.types.d.ts.map +0 -1
- package/dist/types/types/GiftCards/GiftCardAuth.types.d.ts +0 -32
- package/dist/types/types/GiftCards/GiftCardAuth.types.d.ts.map +0 -1
- package/dist/types/types/GiftCards/GiftCardLogs.enum.d.ts +0 -35
- package/dist/types/types/GiftCards/GiftCardLogs.enum.d.ts.map +0 -1
- package/dist/types/types/Hotel/EHotelAddressRequirement.enum.d.ts +0 -6
- package/dist/types/types/Hotel/EHotelAddressRequirement.enum.d.ts.map +0 -1
- package/dist/types/types/Hotel/EHotelPriceModel.enum.d.ts +0 -6
- package/dist/types/types/Hotel/EHotelPriceModel.enum.d.ts.map +0 -1
- package/dist/types/types/Hotel/EHotelStateFieldConfiguration.enum.d.ts +0 -6
- package/dist/types/types/Hotel/EHotelStateFieldConfiguration.enum.d.ts.map +0 -1
- package/dist/types/types/Hotel/EHotelWeekdayStartsOn.enum.d.ts +0 -5
- package/dist/types/types/Hotel/EHotelWeekdayStartsOn.enum.d.ts.map +0 -1
- package/dist/types/types/Hotel/EIntegration.enum.d.ts +0 -11
- package/dist/types/types/Hotel/EIntegration.enum.d.ts.map +0 -1
- package/dist/types/types/Hotel/IAuxiliaryFilter.type.d.ts +0 -25
- package/dist/types/types/Hotel/IAuxiliaryFilter.type.d.ts.map +0 -1
- package/dist/types/types/Hotel/IHotelColorScheme.type.d.ts +0 -30
- package/dist/types/types/Hotel/IHotelColorScheme.type.d.ts.map +0 -1
- package/dist/types/types/Hotel/IHotelOverrides.type.d.ts +0 -29
- package/dist/types/types/Hotel/IHotelOverrides.type.d.ts.map +0 -1
- package/dist/types/types/Hotel/IHotelReplica.type.d.ts +0 -57
- package/dist/types/types/Hotel/IHotelReplica.type.d.ts.map +0 -1
- package/dist/types/types/Hotel/IHotelService.type.d.ts +0 -7
- package/dist/types/types/Hotel/IHotelService.type.d.ts.map +0 -1
- package/dist/types/types/Image/IRoomstayImage.type.d.ts +0 -9
- package/dist/types/types/Image/IRoomstayImage.type.d.ts.map +0 -1
- package/dist/types/types/Maintenance/IMaintenanceStatus.type.d.ts +0 -30
- package/dist/types/types/Maintenance/IMaintenanceStatus.type.d.ts.map +0 -1
- package/dist/types/types/Media/IMedia.type.d.ts +0 -11
- package/dist/types/types/Media/IMedia.type.d.ts.map +0 -1
- package/dist/types/types/Member/EMembershipProvider.type.d.ts +0 -11
- package/dist/types/types/Member/EMembershipProvider.type.d.ts.map +0 -1
- package/dist/types/types/Member/IMember.type.d.ts +0 -8
- package/dist/types/types/Member/IMember.type.d.ts.map +0 -1
- package/dist/types/types/Member/IMemberVerification.type.d.ts +0 -11
- package/dist/types/types/Member/IMemberVerification.type.d.ts.map +0 -1
- package/dist/types/types/Member/IRoomstayCognitoMember.type.d.ts +0 -5
- package/dist/types/types/Member/IRoomstayCognitoMember.type.d.ts.map +0 -1
- package/dist/types/types/Member/IRoomstayMember.type.d.ts +0 -20
- package/dist/types/types/Member/IRoomstayMember.type.d.ts.map +0 -1
- package/dist/types/types/Member/IRoomstayMemberBooking.type.d.ts +0 -29
- package/dist/types/types/Member/IRoomstayMemberBooking.type.d.ts.map +0 -1
- package/dist/types/types/Member/IRoomstayMemberBookingAddress.type.d.ts +0 -10
- package/dist/types/types/Member/IRoomstayMemberBookingAddress.type.d.ts.map +0 -1
- package/dist/types/types/Member/IRoomstayMemberBookingItem.type.d.ts +0 -26
- package/dist/types/types/Member/IRoomstayMemberBookingItem.type.d.ts.map +0 -1
- package/dist/types/types/Member/IRoomstayMemberBookingProfile.type.d.ts +0 -12
- package/dist/types/types/Member/IRoomstayMemberBookingProfile.type.d.ts.map +0 -1
- package/dist/types/types/Member/IRoomstayMemberCards.type.d.ts +0 -13
- package/dist/types/types/Member/IRoomstayMemberCards.type.d.ts.map +0 -1
- package/dist/types/types/Member/IRoomstayMemberJWTData.type.d.ts +0 -4
- package/dist/types/types/Member/IRoomstayMemberJWTData.type.d.ts.map +0 -1
- package/dist/types/types/Member/IRoomstayMemberLoyalty.type.d.ts +0 -17
- package/dist/types/types/Member/IRoomstayMemberLoyalty.type.d.ts.map +0 -1
- package/dist/types/types/Member/ISession.type.d.ts +0 -5
- package/dist/types/types/Member/ISession.type.d.ts.map +0 -1
- package/dist/types/types/Newbook/ENewbookRegion.enum.d.ts +0 -8
- package/dist/types/types/Newbook/ENewbookRegion.enum.d.ts.map +0 -1
- package/dist/types/types/Newbook/ENewbookSyncStrategy.enum.d.ts +0 -8
- package/dist/types/types/Newbook/ENewbookSyncStrategy.enum.d.ts.map +0 -1
- package/dist/types/types/Newbook/index.d.ts +0 -3
- package/dist/types/types/Newbook/index.d.ts.map +0 -1
- package/dist/types/types/OHIP/IOHIPConfiguration.types.d.ts +0 -13
- package/dist/types/types/OHIP/IOHIPConfiguration.types.d.ts.map +0 -1
- package/dist/types/types/OHIP/index.d.ts +0 -2
- package/dist/types/types/OHIP/index.d.ts.map +0 -1
- package/dist/types/types/PMSSync/EPMSSyncStatus.enum.d.ts +0 -9
- package/dist/types/types/PMSSync/EPMSSyncStatus.enum.d.ts.map +0 -1
- package/dist/types/types/PMSSync/IPMSSyncResponse.type.d.ts +0 -11
- package/dist/types/types/PMSSync/IPMSSyncResponse.type.d.ts.map +0 -1
- package/dist/types/types/PMSSync/index.d.ts +0 -18
- package/dist/types/types/PMSSync/index.d.ts.map +0 -1
- package/dist/types/types/Package/Package.types.d.ts +0 -105
- package/dist/types/types/Package/Package.types.d.ts.map +0 -1
- package/dist/types/types/Policies/EGuaranteePolicy.enum.d.ts +0 -12
- package/dist/types/types/Policies/EGuaranteePolicy.enum.d.ts.map +0 -1
- package/dist/types/types/PromoCode/EPromoCodeDiscountType.enum.d.ts +0 -7
- package/dist/types/types/PromoCode/EPromoCodeDiscountType.enum.d.ts.map +0 -1
- package/dist/types/types/PromoCode/PromoCodeStayDateRangeType.enum.d.ts +0 -12
- package/dist/types/types/PromoCode/PromoCodeStayDateRangeType.enum.d.ts.map +0 -1
- package/dist/types/types/RMS/ERMSDiscountType.enum.d.ts +0 -7
- package/dist/types/types/RMS/ERMSDiscountType.enum.d.ts.map +0 -1
- package/dist/types/types/RMS/ERMSSyncStrategy.enum.d.ts +0 -40
- package/dist/types/types/RMS/ERMSSyncStrategy.enum.d.ts.map +0 -1
- package/dist/types/types/RMS/IRMSPropertyDiscount.type.d.ts +0 -34
- package/dist/types/types/RMS/IRMSPropertyDiscount.type.d.ts.map +0 -1
- package/dist/types/types/RMS/IRMSRequirement.type.d.ts +0 -21
- package/dist/types/types/RMS/IRMSRequirement.type.d.ts.map +0 -1
- package/dist/types/types/RMS/RMSBookingSource.type.d.ts +0 -8
- package/dist/types/types/RMS/RMSBookingSource.type.d.ts.map +0 -1
- package/dist/types/types/RMS/RMSGuestDTO.type.d.ts +0 -51
- package/dist/types/types/RMS/RMSGuestDTO.type.d.ts.map +0 -1
- package/dist/types/types/Room/IRoomGroup.type.d.ts +0 -19
- package/dist/types/types/Room/IRoomGroup.type.d.ts.map +0 -1
- package/dist/types/types/index.d.ts +0 -158
- package/dist/types/types/index.d.ts.map +0 -1
- package/dist/types/utils/TotalCalculator.d.ts +0 -73
- package/dist/types/utils/TotalCalculator.d.ts.map +0 -1
- package/dist/types/utils/bookingTotal.d.ts +0 -8
- package/dist/types/utils/bookingTotal.d.ts.map +0 -1
- package/dist/types/utils/calculateFee.d.ts +0 -11
- package/dist/types/utils/calculateFee.d.ts.map +0 -1
- package/dist/types/utils/feeTypes.d.ts +0 -6
- package/dist/types/utils/feeTypes.d.ts.map +0 -1
- package/dist/types/utils/index.d.ts +0 -11
- package/dist/types/utils/index.d.ts.map +0 -1
- package/dist/types/utils/reflection.d.ts +0 -10
- package/dist/types/utils/reflection.d.ts.map +0 -1
- package/dist/types/utils/roomstayImageResize.d.ts +0 -15
- package/dist/types/utils/roomstayImageResize.d.ts.map +0 -1
- package/dist/types/utils/roundMoney.d.ts +0 -21
- package/dist/types/utils/roundMoney.d.ts.map +0 -1
- package/dist/types/utils/typeUtils.d.ts +0 -2
- package/dist/types/utils/typeUtils.d.ts.map +0 -1
- package/dist/types/utils/uppercaseString.d.ts +0 -2
- package/dist/types/utils/uppercaseString.d.ts.map +0 -1
- package/dist/types/utils/zodUtils.d.ts +0 -20
- package/dist/types/utils/zodUtils.d.ts.map +0 -1
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { Warning } from '../../index.js';
|
|
2
|
-
import { IItemisedBookingFeeResponse } from '../Booking/Itinerary.types';
|
|
3
|
-
import { EGuaranteePolicyDepositMode } from '../Policies/EGuaranteePolicy.enum';
|
|
4
|
-
import { EPromoCodeDiscountType } from '../PromoCode/EPromoCodeDiscountType.enum';
|
|
5
|
-
export type IAvailability = {
|
|
6
|
-
roomTypes: {
|
|
7
|
-
[roomTypeCode: string]: IRoomType;
|
|
8
|
-
};
|
|
9
|
-
ratePlans: {
|
|
10
|
-
[ratePlanCode: string]: IRatePlan;
|
|
11
|
-
};
|
|
12
|
-
roomNights: {
|
|
13
|
-
[date: string]: {
|
|
14
|
-
[roomTypeCode: string]: IRoomNight;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
/** @deprecated */
|
|
18
|
-
guaranteePolicies: {
|
|
19
|
-
[policyCode: string]: string;
|
|
20
|
-
};
|
|
21
|
-
guaranteePolicyDetails?: {
|
|
22
|
-
[policyCode: string]: IAvailabilityGuaranteePolicyDetails;
|
|
23
|
-
};
|
|
24
|
-
cancelPolicies: {
|
|
25
|
-
[policyCode: string]: string;
|
|
26
|
-
};
|
|
27
|
-
warnings: Warning<string>[];
|
|
28
|
-
alternativeAvailability?: IAlternativeAvailability;
|
|
29
|
-
promoCodeDetails?: IPromoCodeDetails | null;
|
|
30
|
-
hasMinStayUpsellOpportunities?: boolean;
|
|
31
|
-
};
|
|
32
|
-
export type IAlternativeAvailability = {
|
|
33
|
-
checkInDate: string;
|
|
34
|
-
checkOutDate: string;
|
|
35
|
-
availability: IAvailability;
|
|
36
|
-
};
|
|
37
|
-
export type IAvailabilityGuaranteePolicyDetails = {
|
|
38
|
-
code: string;
|
|
39
|
-
name: string;
|
|
40
|
-
longDescription: string;
|
|
41
|
-
depositMode: EGuaranteePolicyDepositMode;
|
|
42
|
-
depositPercentage?: number;
|
|
43
|
-
hide: boolean;
|
|
44
|
-
};
|
|
45
|
-
export type IRoomType = {
|
|
46
|
-
name: string;
|
|
47
|
-
shortDescription: string;
|
|
48
|
-
longDescription: string;
|
|
49
|
-
imageUrls: string[];
|
|
50
|
-
occupancy: number;
|
|
51
|
-
roomGroupId?: string | null;
|
|
52
|
-
auxiliaryValues?: {
|
|
53
|
-
[auxiliaryFilterId: string]: string[];
|
|
54
|
-
};
|
|
55
|
-
order: number;
|
|
56
|
-
doNotUpsell: boolean;
|
|
57
|
-
};
|
|
58
|
-
export type IRatePlan = {
|
|
59
|
-
name: string;
|
|
60
|
-
description: string;
|
|
61
|
-
longDescription?: string | null;
|
|
62
|
-
guaranteeCode: string;
|
|
63
|
-
cancelPolicyCode: string;
|
|
64
|
-
promoCode?: string | null;
|
|
65
|
-
promoCodeName?: string | null;
|
|
66
|
-
mealsIncluded: {
|
|
67
|
-
breakfast: boolean;
|
|
68
|
-
lunch: boolean;
|
|
69
|
-
dinner: boolean;
|
|
70
|
-
mealPlan: string | undefined;
|
|
71
|
-
};
|
|
72
|
-
rateOverrides: IRateOverride[];
|
|
73
|
-
nightsToDiscount?: number | null;
|
|
74
|
-
minNightStayOverride?: number | null;
|
|
75
|
-
isUpsellRate?: boolean;
|
|
76
|
-
isMemberOnly?: boolean;
|
|
77
|
-
artificialDiscountPercent: number | null;
|
|
78
|
-
artificialDiscountAmount: number | null;
|
|
79
|
-
freeChildrenIncluded: number;
|
|
80
|
-
};
|
|
81
|
-
export type IPromoCodeDetails = {
|
|
82
|
-
code: string;
|
|
83
|
-
oneTimeUseOnly: boolean;
|
|
84
|
-
discountType: EPromoCodeDiscountType;
|
|
85
|
-
discountAmount: number;
|
|
86
|
-
applyToAddons: boolean;
|
|
87
|
-
};
|
|
88
|
-
export type IRoomNight = {
|
|
89
|
-
available: number;
|
|
90
|
-
lowestPrice: number;
|
|
91
|
-
rates: {
|
|
92
|
-
[ratePlanCode: string]: IRoomNightRatePlan;
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
export type IRoomNightRatePlan = {
|
|
96
|
-
cost: number;
|
|
97
|
-
discount: number;
|
|
98
|
-
tax: number;
|
|
99
|
-
fee: number;
|
|
100
|
-
total: number;
|
|
101
|
-
fees?: IItemisedBookingFeeResponse[];
|
|
102
|
-
};
|
|
103
|
-
export type IRateOverride = {
|
|
104
|
-
name: string;
|
|
105
|
-
shortDescription: string;
|
|
106
|
-
longDescription: string;
|
|
107
|
-
enabledPerDay: IRateLabelsByDay | null;
|
|
108
|
-
startDate: string;
|
|
109
|
-
endDate: string | null;
|
|
110
|
-
queryStartDate: string | null;
|
|
111
|
-
queryEndDate: string | null;
|
|
112
|
-
};
|
|
113
|
-
export type IRateLabelsByDay = {
|
|
114
|
-
Monday: boolean;
|
|
115
|
-
Tuesday: boolean;
|
|
116
|
-
Wednesday: boolean;
|
|
117
|
-
Thursday: boolean;
|
|
118
|
-
Friday: boolean;
|
|
119
|
-
Saturday: boolean;
|
|
120
|
-
Sunday: boolean;
|
|
121
|
-
};
|
|
122
|
-
//# sourceMappingURL=Availability.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Availability.types.d.ts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CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;CACnB,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { IRoomstayMemberJWTData } from '../Member/IRoomstayMemberJWTData.type';
|
|
2
|
-
import { ICommonQueryParameters } from './ICommonQueryParameters.type';
|
|
3
|
-
import { ItineraryResponse } from './Itinerary.types';
|
|
4
|
-
export type IConfirmBookingRequest = {
|
|
5
|
-
reservationIds: string[];
|
|
6
|
-
itineraryId: string;
|
|
7
|
-
planpayCheckoutId?: string;
|
|
8
|
-
paymentId?: string;
|
|
9
|
-
roomstayId?: string;
|
|
10
|
-
frontendMember?: IRoomstayMemberJWTData;
|
|
11
|
-
source?: 'External' | 'Frontend' | 'Admin';
|
|
12
|
-
isBlocking?: boolean;
|
|
13
|
-
} & ICommonQueryParameters;
|
|
14
|
-
export type IConfirmBookingResponse = ItineraryResponse;
|
|
15
|
-
export type ICancelBookingRequest = {
|
|
16
|
-
email?: string;
|
|
17
|
-
reservationId: string;
|
|
18
|
-
frontendMember?: IRoomstayMemberJWTData;
|
|
19
|
-
companyUserId?: number;
|
|
20
|
-
cancellationReason?: string;
|
|
21
|
-
} & ICommonQueryParameters;
|
|
22
|
-
//# sourceMappingURL=ConfirmBooking.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmBooking.types.d.ts","sourceRoot":"","sources":["../../../../src/types/Booking/ConfirmBooking.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,MAAM,sBAAsB,GAAG;IACjC,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IAEpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,cAAc,CAAC,EAAE,sBAAsB,CAAC;IACxC,MAAM,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,OAAO,CAAC;IAC3C,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,GAAG,sBAAsB,CAAC;AAE3B,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;AAExD,MAAM,MAAM,qBAAqB,GAAG;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,sBAAsB,CAAC;IAExC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B,GAAG,sBAAsB,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare enum EBookingStatus {
|
|
2
|
-
Pending = "Pending",
|
|
3
|
-
Processing = "Processing",
|
|
4
|
-
Committed = "Committed",
|
|
5
|
-
Cancelled = "Cancelled",
|
|
6
|
-
Reverted = "Reverted"
|
|
7
|
-
}
|
|
8
|
-
export declare enum EBookingFlow {
|
|
9
|
-
Default = "Default",
|
|
10
|
-
PreCheckoutPencil = "PreCheckoutPencil",
|
|
11
|
-
PostCheckoutPencil = "PostCheckoutPencil"
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=EBooking.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EBooking.types.d.ts","sourceRoot":"","sources":["../../../../src/types/Booking/EBooking.types.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACtB,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,QAAQ,aAAa;CACxB;AAED,oBAAY,YAAY;IACpB,OAAO,YAAY;IACnB,iBAAiB,sBAAsB;IACvC,kBAAkB,uBAAuB;CAC5C"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ICommonQueryParameters } from './ICommonQueryParameters.type';
|
|
2
|
-
import { ItineraryResponse } from './Itinerary.types';
|
|
3
|
-
export type IGetBookingRequest = {
|
|
4
|
-
email?: string;
|
|
5
|
-
reservationId: string;
|
|
6
|
-
} & ICommonQueryParameters;
|
|
7
|
-
export type IGetBookingResponse = ItineraryResponse;
|
|
8
|
-
//# sourceMappingURL=GetBooking.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetBooking.types.d.ts","sourceRoot":"","sources":["../../../../src/types/Booking/GetBooking.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,MAAM,kBAAkB,GAAG;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;CACzB,GAAG,sBAAsB,CAAC;AAE3B,MAAM,MAAM,mBAAmB,GAAG,iBAAiB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { IPaymentCheckoutDetails } from './IBookingPayment.type';
|
|
2
|
-
/**
|
|
3
|
-
* This is the response body that comes down if a booking fails anywhere in the booking flow.
|
|
4
|
-
*
|
|
5
|
-
* Object will contain a public message only, with partial reservation data to be able to attempt to "resume" the booking
|
|
6
|
-
*/
|
|
7
|
-
export type IBookingCreateErrorResponse = {
|
|
8
|
-
canRetryPayment: boolean;
|
|
9
|
-
isPaymentTaken: boolean;
|
|
10
|
-
paymentRequired?: IPaymentCheckoutDetails;
|
|
11
|
-
publicMessage: string;
|
|
12
|
-
roomstayId: string;
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=IBookingCreateErrorResponse.type.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IBookingCreateErrorResponse.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Booking/IBookingCreateErrorResponse.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAEjE;;;;GAIG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACtC,eAAe,EAAE,OAAO,CAAC;IACzB,cAAc,EAAE,OAAO,CAAC;IAExB,eAAe,CAAC,EAAE,uBAAuB,CAAC;IAE1C,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare enum EBookingCustomFieldFormat {
|
|
2
|
-
Number = "number",
|
|
3
|
-
Text = "text",
|
|
4
|
-
Date = "date",
|
|
5
|
-
CarReg = "carreg"
|
|
6
|
-
}
|
|
7
|
-
export type IBookingCustomFields = {
|
|
8
|
-
externalId: number;
|
|
9
|
-
label: string;
|
|
10
|
-
value: string;
|
|
11
|
-
format: EBookingCustomFieldFormat;
|
|
12
|
-
};
|
|
13
|
-
export type IBookingExtraFields = {
|
|
14
|
-
perRow: {
|
|
15
|
-
childAges?: number[];
|
|
16
|
-
}[];
|
|
17
|
-
customFields?: IBookingCustomFields[];
|
|
18
|
-
eta?: string;
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=IBookingExtraFields.type.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IBookingExtraFields.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Booking/IBookingExtraFields.type.ts"],"names":[],"mappings":"AAAA,oBAAY,yBAAyB;IACjC,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,MAAM,WAAW;CACpB;AAED,MAAM,MAAM,oBAAoB,GAAG;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,yBAAyB,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAC9B,MAAM,EAAE;QACJ,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;KACxB,EAAE,CAAC;IACJ,YAAY,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACtC,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
export declare enum EBookingPaymentMethod {
|
|
2
|
-
Card = "Card",
|
|
3
|
-
SavedCard = "SavedCard",
|
|
4
|
-
Planpay = "Planpay",
|
|
5
|
-
Adyen = "Adyen",
|
|
6
|
-
Afterpay = "Afterpay",
|
|
7
|
-
PCIBookingCard = "PCIBookingCard",
|
|
8
|
-
TrueRewards = "TrueRewards"
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* This enum is used to determine which payment processor to use for the booking.
|
|
12
|
-
*
|
|
13
|
-
* Usually only applies if the payment method is Card, SavedCard, or PCIBookingCard.
|
|
14
|
-
*
|
|
15
|
-
* Other payment methods will generate their own checkout flow that will differ from this.
|
|
16
|
-
*/
|
|
17
|
-
export declare enum EHotelCardProcessor {
|
|
18
|
-
Passthrough = "Passthrough",
|
|
19
|
-
Adyen = "Adyen",
|
|
20
|
-
Till = "Till",
|
|
21
|
-
RMSPay = "RMSPay",
|
|
22
|
-
Windcave = "Windcave",
|
|
23
|
-
Mastercard = "Mastercard",
|
|
24
|
-
Stripe = "Stripe",
|
|
25
|
-
PayPal = "PayPal"
|
|
26
|
-
}
|
|
27
|
-
export declare enum EPlanpayBookingStatus {
|
|
28
|
-
Unknown = "unknown",// incase plan.deposit.status is unavailable
|
|
29
|
-
Unpaid = "unpaid",
|
|
30
|
-
Accepted = "accepted",
|
|
31
|
-
Cancelled = "cancelled",
|
|
32
|
-
Refunded = "refunded",
|
|
33
|
-
Rejected = "rejected"
|
|
34
|
-
}
|
|
35
|
-
export declare const PCIBookingCardProcessorTypes: any[];
|
|
36
|
-
export type PCIBookingCardProcessorType = undefined;
|
|
37
|
-
export type IBookingPaymentTokenizedCard = {
|
|
38
|
-
Type: string;
|
|
39
|
-
Number: string;
|
|
40
|
-
Expiry: number;
|
|
41
|
-
CVV: string;
|
|
42
|
-
Name: string;
|
|
43
|
-
};
|
|
44
|
-
type IPCIBookingCardNotificationData = {
|
|
45
|
-
CaptureCardRequestID: string;
|
|
46
|
-
CaptureCardRequestStatus: string;
|
|
47
|
-
CardUri: string;
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* Booking payment attached to a booking.
|
|
51
|
-
*
|
|
52
|
-
* Could be either Card or Planpay
|
|
53
|
-
*/
|
|
54
|
-
export type IBookingPayment = {
|
|
55
|
-
Method: EBookingPaymentMethod;
|
|
56
|
-
SavedCardID?: string;
|
|
57
|
-
PlanpayCheckoutId?: string;
|
|
58
|
-
PaymentCard?: IBookingPaymentTokenizedCard;
|
|
59
|
-
PCICardDetails?: IPCIBookingCardNotificationData;
|
|
60
|
-
RedirectUrl?: string;
|
|
61
|
-
SplitPaymentAmount?: number;
|
|
62
|
-
};
|
|
63
|
-
export type IPaymentCheckoutDetails = {
|
|
64
|
-
planpay?: {
|
|
65
|
-
id: string;
|
|
66
|
-
checkoutWorkflow: {
|
|
67
|
-
type: string;
|
|
68
|
-
id: string;
|
|
69
|
-
scriptUrl: string;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
external?: {
|
|
73
|
-
id: string;
|
|
74
|
-
redirectUrl: string;
|
|
75
|
-
};
|
|
76
|
-
adyen?: {
|
|
77
|
-
roomstayId: string;
|
|
78
|
-
sessionData: string;
|
|
79
|
-
sessionId: string;
|
|
80
|
-
clientKey: string;
|
|
81
|
-
isLive: boolean;
|
|
82
|
-
currency: string;
|
|
83
|
-
amount: string;
|
|
84
|
-
countryCode: string;
|
|
85
|
-
};
|
|
86
|
-
mastercard?: {
|
|
87
|
-
sessionId: string;
|
|
88
|
-
paymentMode: 'EmbeddedPage' | 'PaymentPage';
|
|
89
|
-
baseUrl: string;
|
|
90
|
-
};
|
|
91
|
-
stripe?: {
|
|
92
|
-
clientSecret: string;
|
|
93
|
-
publishableApiKey: string;
|
|
94
|
-
successUrl: string;
|
|
95
|
-
};
|
|
96
|
-
paypal?: {
|
|
97
|
-
orderId: string;
|
|
98
|
-
clientId: string;
|
|
99
|
-
successUrl: string;
|
|
100
|
-
currencyCode: string;
|
|
101
|
-
};
|
|
102
|
-
windcave?: {
|
|
103
|
-
links: {
|
|
104
|
-
href: string;
|
|
105
|
-
rel: string;
|
|
106
|
-
method: string;
|
|
107
|
-
}[];
|
|
108
|
-
successUrl: string;
|
|
109
|
-
useTesting: boolean;
|
|
110
|
-
};
|
|
111
|
-
isSplitPayment?: boolean;
|
|
112
|
-
totalAuthorizedAmount?: number;
|
|
113
|
-
};
|
|
114
|
-
export {};
|
|
115
|
-
//# sourceMappingURL=IBookingPayment.type.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IBookingPayment.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Booking/IBookingPayment.type.ts"],"names":[],"mappings":"AAAA,oBAAY,qBAAqB;IAC7B,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,cAAc,mBAAmB;IACjC,WAAW,gBAAgB;CAC9B;AAED;;;;;;GAMG;AACH,oBAAY,mBAAmB;IAC3B,WAAW,gBAAgB;IAC3B,KAAK,UAAU;IACf,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,MAAM,WAAW;CACpB;AAED,oBAAY,qBAAqB;IAC7B,OAAO,YAAY,CAAE,4CAA4C;IACjE,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,QAA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AE,OAAO,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;QACf,WAAW,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,UAAU,CAAC,EAAE;QACT,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,cAAc,GAAG,aAAa,CAAC;QAC5C,OAAO,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,MAAM,CAAC,EAAE;QACL,YAAY,EAAE,MAAM,CAAC;QACrB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,UAAU,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,MAAM,CAAC,EAAE;QACL,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;QACnB,YAAY,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,QAAQ,CAAC,EAAE;QACP,KAAK,EAAE;YACH,IAAI,EAAE,MAAM,CAAC;YACb,GAAG,EAAE,MAAM,CAAC;YACZ,MAAM,EAAE,MAAM,CAAC;SAClB,EAAE,CAAC;QACJ,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,OAAO,CAAC;KACvB,CAAC;IACF,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export type IBookingQuoteRequest = {
|
|
2
|
-
rows: {
|
|
3
|
-
rowId: string;
|
|
4
|
-
rateCode: string;
|
|
5
|
-
roomCode: string;
|
|
6
|
-
adults?: number;
|
|
7
|
-
children?: number;
|
|
8
|
-
infants?: number;
|
|
9
|
-
promoCode?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Example format "2023-10-22 10:00:00"
|
|
12
|
-
*/
|
|
13
|
-
checkIn: string;
|
|
14
|
-
/**
|
|
15
|
-
* Example format "2023-10-22 10:00:00"
|
|
16
|
-
*/
|
|
17
|
-
checkOut: string;
|
|
18
|
-
memberNumber?: string;
|
|
19
|
-
totalDisplayedPrice?: number;
|
|
20
|
-
}[];
|
|
21
|
-
};
|
|
22
|
-
export type IBookingQuoteResponse = {
|
|
23
|
-
rows: {
|
|
24
|
-
rowId: string;
|
|
25
|
-
totalRate: number;
|
|
26
|
-
totalDeposit: number;
|
|
27
|
-
totalFees: number;
|
|
28
|
-
quoteId: number;
|
|
29
|
-
}[];
|
|
30
|
-
} | null;
|
|
31
|
-
//# sourceMappingURL=IBookingQuote.type.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IBookingQuote.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Booking/IBookingQuote.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG;IAC/B,IAAI,EAAE;QACF,KAAK,EAAE,MAAM,CAAC;QAEd,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QAEjB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAChB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QACjB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;KAChC,EAAE,CAAC;CACP,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAChC,IAAI,EAAE;QACF,KAAK,EAAE,MAAM,CAAC;QAEd,SAAS,EAAE,MAAM,CAAC;QAClB,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;QAElB,OAAO,EAAE,MAAM,CAAC;KACnB,EAAE,CAAC;CACP,GAAG,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ICommonQueryParameters.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Booking/ICommonQueryParameters.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { EBookingPaymentMethod, IPaymentCheckoutDetails } from './IBookingPayment.type';
|
|
2
|
-
import { ReservedPackage } from '../Package/Package.types';
|
|
3
|
-
export declare class ItineraryResponse {
|
|
4
|
-
roomstayId: string;
|
|
5
|
-
itineraryNumber?: string;
|
|
6
|
-
total?: IAmount;
|
|
7
|
-
hotelFrontendId?: string;
|
|
8
|
-
reservations: Reservation[];
|
|
9
|
-
payment?: IPaymentCheckoutDetails;
|
|
10
|
-
feesSummary?: IItemisedBookingFeeResponse[];
|
|
11
|
-
itemisedFees?: IItemisedBookingFeeResponse[];
|
|
12
|
-
warnings?: string[];
|
|
13
|
-
}
|
|
14
|
-
export declare class Reservation {
|
|
15
|
-
reservationNumber: string;
|
|
16
|
-
roomType: string;
|
|
17
|
-
roomCode: string;
|
|
18
|
-
rate: string;
|
|
19
|
-
rateCode?: string;
|
|
20
|
-
images: string[];
|
|
21
|
-
guaranteePolicy?: string;
|
|
22
|
-
cancellationPolicy?: string;
|
|
23
|
-
checkInDate: string;
|
|
24
|
-
checkOutDate: string;
|
|
25
|
-
nights: {
|
|
26
|
-
[date: string]: IPrice;
|
|
27
|
-
};
|
|
28
|
-
guestCounts: {
|
|
29
|
-
adults: number;
|
|
30
|
-
children: number;
|
|
31
|
-
};
|
|
32
|
-
guest: GuestProfile;
|
|
33
|
-
paymentCard: {
|
|
34
|
-
type: string | undefined;
|
|
35
|
-
last4: string;
|
|
36
|
-
expiry: string;
|
|
37
|
-
name: string;
|
|
38
|
-
};
|
|
39
|
-
paymentMethod: EBookingPaymentMethod;
|
|
40
|
-
total: IAmount;
|
|
41
|
-
status: string;
|
|
42
|
-
isCancelable: boolean;
|
|
43
|
-
addons: ReservedPackage[] | undefined;
|
|
44
|
-
comments?: string[];
|
|
45
|
-
specialRequests?: string[];
|
|
46
|
-
promoCode?: string;
|
|
47
|
-
guaranteePolicyLongDescription?: string;
|
|
48
|
-
cancellationPolicyLongDescription?: string;
|
|
49
|
-
itemisedFees?: IItemisedBookingFeeResponse[];
|
|
50
|
-
}
|
|
51
|
-
export declare class GuestProfile {
|
|
52
|
-
title?: string;
|
|
53
|
-
firstName?: string;
|
|
54
|
-
middleName?: string;
|
|
55
|
-
lastName?: string;
|
|
56
|
-
nameSuffix?: string;
|
|
57
|
-
phone?: string;
|
|
58
|
-
email?: string;
|
|
59
|
-
address: IAddress;
|
|
60
|
-
marketingOptIn?: boolean;
|
|
61
|
-
country: string;
|
|
62
|
-
}
|
|
63
|
-
export type IGuestCounts = {
|
|
64
|
-
adults: number;
|
|
65
|
-
children: number;
|
|
66
|
-
};
|
|
67
|
-
export type IAddress = {
|
|
68
|
-
line1?: string;
|
|
69
|
-
line2?: string;
|
|
70
|
-
line3?: string;
|
|
71
|
-
city?: string;
|
|
72
|
-
postalCode?: string;
|
|
73
|
-
state?: string;
|
|
74
|
-
country?: string;
|
|
75
|
-
};
|
|
76
|
-
export type IAmount = {
|
|
77
|
-
beforeTax: number;
|
|
78
|
-
afterTax: number;
|
|
79
|
-
beforeFees?: number;
|
|
80
|
-
};
|
|
81
|
-
export type ICheckoutWorkflowType = {
|
|
82
|
-
sdkWidget: {
|
|
83
|
-
type: string;
|
|
84
|
-
id: string;
|
|
85
|
-
scriptUrl: string;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
export type IItemisedBookingFeeResponse = {
|
|
89
|
-
name: string;
|
|
90
|
-
description?: string;
|
|
91
|
-
amount: number;
|
|
92
|
-
};
|
|
93
|
-
export type IPrice = {
|
|
94
|
-
cost: number;
|
|
95
|
-
discount: number;
|
|
96
|
-
tax: number;
|
|
97
|
-
fee: number;
|
|
98
|
-
total: number;
|
|
99
|
-
};
|
|
100
|
-
//# sourceMappingURL=Itinerary.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Itinerary.types.d.ts","sourceRoot":"","sources":["../../../../src/types/Booking/Itinerary.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACxF,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,qBAAa,iBAAiB;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,WAAW,EAAE,CAAM;IACjC,OAAO,CAAC,EAAE,uBAAuB,CAAC;IAClC,WAAW,CAAC,EAAE,2BAA2B,EAAE,CAAC;IAC5C,YAAY,CAAC,EAAE,2BAA2B,EAAE,CAAC;IAC7C,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,qBAAa,WAAW;IACpB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAM;IACxC,WAAW;;;MAGT;IACF,KAAK,eAAsB;IAC3B,WAAW,EAAE;QACT,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;QACzB,KAAK,EAAE,MAAM,CAAC;QACd,MAA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ACpB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAChC,SAAS,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,EAAE,EAAE,MAAM,CAAC;QACX,SAAS,EAAE,MAAM,CAAC;KACrB,CAAC;CACL,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { IBookingQuoteRequest, IBookingQuoteResponse } from './IBookingQuote.type';
|
|
2
|
-
export type IPencilReservationRequest = IBookingQuoteRequest & {
|
|
3
|
-
pencilId?: string;
|
|
4
|
-
rows: ({
|
|
5
|
-
pencilId?: string;
|
|
6
|
-
auxInputs?: {
|
|
7
|
-
[auxInputId: string]: string;
|
|
8
|
-
};
|
|
9
|
-
} & IBookingQuoteRequest['rows'][number])[];
|
|
10
|
-
};
|
|
11
|
-
export type IPencilReservationResponse = {
|
|
12
|
-
timeout?: Date;
|
|
13
|
-
pencilId?: string;
|
|
14
|
-
rows: {
|
|
15
|
-
rowId: string;
|
|
16
|
-
pencilId: string;
|
|
17
|
-
}[];
|
|
18
|
-
quote?: IBookingQuoteResponse;
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=PencilReservation.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PencilReservation.types.d.ts","sourceRoot":"","sources":["../../../../src/types/Booking/PencilReservation.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAEnF,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,GAAG;IAC3D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,CAAC;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,SAAS,CAAC,EAAE;YAAE,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,CAAC;KAChD,GAAG,oBAAoB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC;CAC/C,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACrC,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE;QACF,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;KACpB,EAAE,CAAC;IAEJ,KAAK,CAAC,EAAE,qBAAqB,CAAC;CACjC,CAAC"}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { IRoomstayMemberJWTData } from '../Member/IRoomstayMemberJWTData.type';
|
|
2
|
-
import { IBookingExtraFields } from './IBookingExtraFields.type';
|
|
3
|
-
import { IBookingPayment } from './IBookingPayment.type';
|
|
4
|
-
import { ICommonQueryParameters } from './ICommonQueryParameters.type';
|
|
5
|
-
import { ItineraryResponse } from './Itinerary.types';
|
|
6
|
-
export type IPlaceBookingRequest = {
|
|
7
|
-
rooms: IPlaceBookingRoomsDTO[];
|
|
8
|
-
services: IPlaceBookingServicesDTO[];
|
|
9
|
-
profiles?: IPlaceBookingProfilesDTO[];
|
|
10
|
-
specialRequest?: string;
|
|
11
|
-
comments?: string;
|
|
12
|
-
iataCode?: string;
|
|
13
|
-
sessionId?: string;
|
|
14
|
-
pencilId?: string;
|
|
15
|
-
tracking: {
|
|
16
|
-
sourceIp: string;
|
|
17
|
-
userAgent: string;
|
|
18
|
-
sourceUrl: string;
|
|
19
|
-
} & IPlaceBookingGCLIDAndUTM;
|
|
20
|
-
payment: IBookingPayment;
|
|
21
|
-
frontendMember?: IRoomstayMemberJWTData;
|
|
22
|
-
giftCard?: {
|
|
23
|
-
token: string;
|
|
24
|
-
code: string;
|
|
25
|
-
};
|
|
26
|
-
extraFields?: IBookingExtraFields;
|
|
27
|
-
} & ICommonQueryParameters;
|
|
28
|
-
export type IRepeatPaymentRequest = IPlaceBookingRequest & {
|
|
29
|
-
roomstayId: string;
|
|
30
|
-
};
|
|
31
|
-
export type IPlaceBookingResponse = ItineraryResponse;
|
|
32
|
-
export type IPlaceBookingRoomsDTO = {
|
|
33
|
-
roomType: string;
|
|
34
|
-
ratePlan: string;
|
|
35
|
-
promoCode?: string;
|
|
36
|
-
adults: number;
|
|
37
|
-
children: number;
|
|
38
|
-
infants?: number;
|
|
39
|
-
pets?: number;
|
|
40
|
-
checkInDate: Date;
|
|
41
|
-
checkOutDate: Date;
|
|
42
|
-
quoteId?: number;
|
|
43
|
-
rowId?: string;
|
|
44
|
-
memberNumber?: string;
|
|
45
|
-
pencilId?: string;
|
|
46
|
-
};
|
|
47
|
-
export type IPlaceBookingServicesDTO = {
|
|
48
|
-
code: string;
|
|
49
|
-
ratePlanCode: string;
|
|
50
|
-
startDate: Date;
|
|
51
|
-
startTime?: string;
|
|
52
|
-
quantity?: number;
|
|
53
|
-
adults?: number;
|
|
54
|
-
children?: number;
|
|
55
|
-
pricingType?: string;
|
|
56
|
-
};
|
|
57
|
-
export type IPlaceBookingProfilesDTO = {
|
|
58
|
-
title?: string;
|
|
59
|
-
firstName: string;
|
|
60
|
-
middleName?: string;
|
|
61
|
-
lastName: string;
|
|
62
|
-
nameSuffix?: string;
|
|
63
|
-
phone: string;
|
|
64
|
-
email: string;
|
|
65
|
-
address: {
|
|
66
|
-
line1: string;
|
|
67
|
-
line2?: string;
|
|
68
|
-
line3?: string;
|
|
69
|
-
city?: string;
|
|
70
|
-
postalCode?: string;
|
|
71
|
-
state?: string;
|
|
72
|
-
country?: string;
|
|
73
|
-
countryId?: number;
|
|
74
|
-
countryCode?: string;
|
|
75
|
-
};
|
|
76
|
-
marketingOptIn: boolean;
|
|
77
|
-
auxInputs: {
|
|
78
|
-
[auxInputId: string]: string;
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
export type IPlaceBookingGCLIDAndUTM = {
|
|
82
|
-
utm: {
|
|
83
|
-
utmSource: string | null;
|
|
84
|
-
utmMedium: string | null;
|
|
85
|
-
utmCampaign: string | null;
|
|
86
|
-
utmTerm: string | null;
|
|
87
|
-
utmContent: string | null;
|
|
88
|
-
};
|
|
89
|
-
gclid: string | null;
|
|
90
|
-
};
|
|
91
|
-
//# sourceMappingURL=PlaceBooking.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PlaceBooking.types.d.ts","sourceRoot":"","sources":["../../../../src/types/Booking/PlaceBooking.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,MAAM,oBAAoB,GAAG;IAC/B,KAAK,EAAE,qBAAqB,EAAE,CAAC;IAC/B,QAAQ,EAAE,wBAAwB,EAAE,CAAC;IACrC,QAAQ,CAAC,EAAE,wBAAwB,EAAE,CAAC;IAEtC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,QAAQ,CAAC,EAAE,MAAM,CAA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
{"version":3,"file":"ECompanyProvider.enum.d.ts","sourceRoot":"","sources":["../../../../src/types/Company/ECompanyProvider.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB;IACxB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,GAAG,QAAQ;IACX,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,OAAO,YAAY;CACtB"}
|