@roomstay/core 0.1.77 → 0.1.78-1
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/components/DateRangePicker/DateRangePicker.d.ts +16 -0
- package/dist/components/DateRangePicker/DateRangePicker.type.d.ts +16 -0
- package/dist/components/DateRangePicker/DateRangePickerContext.d.ts +16 -0
- package/dist/components/DateRangePicker/DateRangePickerDay.d.ts +22 -0
- package/dist/components/DateRangePicker/DateRangePickerDays.d.ts +7 -0
- package/dist/components/DateRangePicker/DateRangePickerMonth.d.ts +9 -0
- package/dist/components/DateRangePicker/FloatingDateRangePicker.d.ts +26 -0
- package/dist/components/DateRangePicker/index.d.ts +3 -0
- package/dist/components/Icon/Icon.d.ts +19 -0
- package/dist/components/Icon/index.d.ts +1 -0
- package/dist/components/Overlay/Overlay.d.ts +21 -0
- package/dist/components/Overlay/index.d.ts +1 -0
- package/dist/components/RoomstayPortal/RoomstayPortal.d.ts +8 -0
- package/dist/components/RoomstayPortal/index.d.ts +1 -0
- package/dist/components/Text/Text.d.ts +18 -0
- package/dist/components/Text/Text.type.d.ts +14 -0
- package/dist/components/Text/index.d.ts +2 -0
- package/dist/components/animations/AutoAutoHeight.d.ts +9 -0
- package/dist/components/animations/Fade.d.ts +13 -0
- package/dist/components/animations/index.d.ts +1 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/hooks/BodyClickHook.d.ts +8 -0
- package/dist/index.node.d.ts +2 -0
- package/dist/index.web.d.ts +3 -0
- package/dist/node.js +1 -1
- package/dist/node.js.map +1 -0
- package/dist/roomstay-core-0.1.26.tgz +0 -0
- package/dist/stories/DateRangePicker.stories.d.ts +8 -0
- package/dist/stories/FloatingDateRangePicker.stories.d.ts +5 -0
- package/dist/types/{types/Addons/Addon.types.d.ts → Addon/Addon.d.ts} +3 -21
- package/dist/types/Addon/Addon.enum.d.ts +14 -0
- package/dist/types/Addon/Addon.type.d.ts +24 -0
- package/dist/types/AnalyticsEvents/IAnalyticsEvent.type.d.ts +38 -12
- package/dist/types/AnalyticsEvents/IRoomstayEventData.type.d.ts +27 -2
- package/dist/types/AnalyticsEvents/MetaCapiTransformer.d.ts +6 -2
- package/dist/types/{types/Api/Reservations.type.d.ts → Api/ReservationsDTO.d.ts} +28 -11
- package/dist/types/{types/Api/RoomNightRate.type.d.ts → Api/RoomNightRateDTO.d.ts} +0 -1
- package/dist/types/{types/Booking/IBookingCreateErrorResponse.type.d.ts → Booking/IBookingCreateErrorResponse.d.ts} +0 -3
- package/dist/types/Booking/IBookingExtraFields.type.d.ts +3 -0
- package/dist/types/Booking/IBookingStatus.type.d.ts +5 -0
- package/dist/types/Booking/IPrice.type.d.ts +7 -0
- package/dist/types/Booking/PlaceBooking.types.d.ts +3 -2
- package/dist/types/Company/ECompanyProvider.enum.d.ts +2 -1
- package/dist/types/Company/IAdminCompany.type.d.ts +6 -0
- package/dist/types/GiftCards/GiftCard.types.d.ts +9 -0
- package/dist/types/Hotel/EIntegration.enum.d.ts +2 -1
- package/dist/types/Hotel/IHotel.enum.d.ts +32 -0
- package/dist/types/Hotel/IHotel.type.d.ts +275 -0
- package/dist/types/Hotel/IntegrationConfigs.type.d.ts +76 -0
- package/dist/types/Hotel/InternalMemberSignInModal.type.d.ts +13 -0
- package/dist/types/Hotel/InternalMemberSignInModal.types.d.ts +13 -0
- package/dist/types/Maintenance/IMaintenanceStatus.type.d.ts +4 -1
- package/dist/types/Member/EMembershipProvider.type.d.ts +10 -0
- package/dist/types/Member/IRoomstayMember.type.d.ts +2 -1
- package/dist/types/Member/IRoomstayMemberLoyalty.type.d.ts +16 -0
- package/dist/types/Newbook/ENewbookRegion.enum.d.ts +7 -0
- package/dist/types/Newbook/ENewbookSyncStrategy.enum.d.ts +5 -0
- package/dist/types/Newbook/index.d.ts +2 -0
- package/dist/types/{types/RMS/ERMSAuthSyncHistoryStatus.type.d.ts → PMSSync/EPMSSyncStatus.enum.d.ts} +3 -4
- package/dist/types/PMSSync/IPMSSyncResponse.type.d.ts +10 -0
- package/dist/types/PMSSync/index.d.ts +17 -0
- package/dist/types/Policies/EGuaranteePolicy.enum.d.ts +5 -0
- package/dist/types/RMS/RMSGuestDTO.type.d.ts +50 -0
- package/dist/types/Room/HotelRoom.type.d.ts +24 -0
- package/dist/types/Room/SynxisRoom.type.d.ts +35 -0
- package/dist/types/index.d.ts +21 -2
- package/dist/utils/CalendarHelper.d.ts +16 -0
- package/dist/utils/color.d.ts +17 -0
- package/dist/utils/index.node.d.ts +2 -0
- package/dist/utils/index.web.d.ts +4 -0
- package/dist/utils/roundMoney.d.ts +11 -1
- package/dist/web.js +1 -1
- package/dist/web.js.map +1 -0
- package/package.json +1 -1
- package/dist/browser/index.js +0 -3901
- 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 -3901
- package/dist/node/index.mjs.map +0 -1
- 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.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 -65
- 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 -66
- package/dist/types/types/AnalyticsEvents/IRoomstayEventData.type.d.ts.map +0 -1
- package/dist/types/types/AnalyticsEvents/MetaCapiTransformer.d.ts +0 -22
- package/dist/types/types/AnalyticsEvents/MetaCapiTransformer.d.ts.map +0 -1
- package/dist/types/types/Api/Reservations.type.d.ts.map +0 -1
- 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.map +0 -1
- package/dist/types/types/Booking/IBookingExtraFields.type.d.ts +0 -6
- package/dist/types/types/Booking/IBookingExtraFields.type.d.ts.map +0 -1
- package/dist/types/types/Booking/IBookingPayment.type.d.ts +0 -106
- 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 -90
- package/dist/types/types/Booking/PlaceBooking.types.d.ts.map +0 -1
- package/dist/types/types/Company/ECompanyProvider.enum.d.ts +0 -9
- package/dist/types/types/Company/ECompanyProvider.enum.d.ts.map +0 -1
- package/dist/types/types/Company/IAdminCompany.type.d.ts +0 -47
- 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 -346
- 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 -10
- 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 -27
- 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/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 -19
- 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/ISession.type.d.ts +0 -5
- package/dist/types/types/Member/ISession.type.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/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 -7
- package/dist/types/types/Policies/EGuaranteePolicy.enum.d.ts.map +0 -1
- package/dist/types/types/PromoCode/EPromoCodeDiscountType.enum.d.ts +0 -6
- 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/ERMSAuthSyncHistoryStatus.type.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 -39
- 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/IRMSSyncResponse.type.d.ts +0 -9
- package/dist/types/types/RMS/IRMSSyncResponse.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/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 -139
- 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 -11
- 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,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;I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C;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB,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,90 +0,0 @@
|
|
|
1
|
-
import { IRoomstayMemberJWTData } from '../Member/IRoomstayMemberJWTData.type';
|
|
2
|
-
import { IBookingPayment } from './IBookingPayment.type';
|
|
3
|
-
import { ItineraryResponse } from './Itinerary.types';
|
|
4
|
-
import { ICommonQueryParameters } from './ICommonQueryParameters.type';
|
|
5
|
-
import { IBookingExtraFields } from './IBookingExtraFields.type';
|
|
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
|
-
checkInDate: Date;
|
|
40
|
-
checkOutDate: Date;
|
|
41
|
-
quoteId?: number;
|
|
42
|
-
rowId?: string;
|
|
43
|
-
memberNumber?: string;
|
|
44
|
-
pencilId?: string;
|
|
45
|
-
};
|
|
46
|
-
export type IPlaceBookingServicesDTO = {
|
|
47
|
-
code: string;
|
|
48
|
-
ratePlanCode: string;
|
|
49
|
-
startDate: Date;
|
|
50
|
-
startTime?: string;
|
|
51
|
-
quantity?: number;
|
|
52
|
-
adults?: number;
|
|
53
|
-
children?: number;
|
|
54
|
-
pricingType?: string;
|
|
55
|
-
};
|
|
56
|
-
export type IPlaceBookingProfilesDTO = {
|
|
57
|
-
title?: string;
|
|
58
|
-
firstName: string;
|
|
59
|
-
middleName?: string;
|
|
60
|
-
lastName: string;
|
|
61
|
-
nameSuffix?: string;
|
|
62
|
-
phone: string;
|
|
63
|
-
email: string;
|
|
64
|
-
address: {
|
|
65
|
-
line1: string;
|
|
66
|
-
line2?: string;
|
|
67
|
-
line3?: string;
|
|
68
|
-
city?: string;
|
|
69
|
-
postalCode?: string;
|
|
70
|
-
state?: string;
|
|
71
|
-
country?: string;
|
|
72
|
-
countryId?: number;
|
|
73
|
-
countryCode?: string;
|
|
74
|
-
};
|
|
75
|
-
marketingOptIn: boolean;
|
|
76
|
-
auxInputs: {
|
|
77
|
-
[auxInputId: string]: string;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
export type IPlaceBookingGCLIDAndUTM = {
|
|
81
|
-
utm: {
|
|
82
|
-
utmSource: string | null;
|
|
83
|
-
utmMedium: string | null;
|
|
84
|
-
utmCampaign: string | null;
|
|
85
|
-
utmTerm: string | null;
|
|
86
|
-
utmContent: string | null;
|
|
87
|
-
};
|
|
88
|
-
gclid: string | null;
|
|
89
|
-
};
|
|
90
|
-
//# 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,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE,MAAM,MAAM,oBAAoB,GAAG;IAC/B,KAAK,EAAE,qBAAqB,EAAE,CAAC;IA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,IAAI,CAAC;QACvB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;KAC7B,CAAC;IACF,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"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;CAChB"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import type { ECompanyProvider, MediaType } from '../../index.js';
|
|
2
|
-
export interface IAdminCompany {
|
|
3
|
-
id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
logo?: MediaType;
|
|
6
|
-
url: string;
|
|
7
|
-
provider: ECompanyProvider;
|
|
8
|
-
providerLogin: string;
|
|
9
|
-
providerPassword: string;
|
|
10
|
-
isGiftCardsEnabled: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated Use `isRoomstayEventsEnabled` or `isHotelEventsEnabled` instead.
|
|
13
|
-
*/
|
|
14
|
-
isEventsEnabled: boolean;
|
|
15
|
-
isRoomstayEventsEnabled: boolean;
|
|
16
|
-
isHotelEventsEnabled: boolean;
|
|
17
|
-
isAnalyticsEnabled: boolean;
|
|
18
|
-
preventMemberPortalWelcomeEmails: boolean;
|
|
19
|
-
hotels: {
|
|
20
|
-
name: string;
|
|
21
|
-
label: string;
|
|
22
|
-
id: string;
|
|
23
|
-
frontendId: string;
|
|
24
|
-
rms?: {
|
|
25
|
-
clientId: number;
|
|
26
|
-
clientPassword: string;
|
|
27
|
-
useTrainingDb: boolean;
|
|
28
|
-
apiUrl: string;
|
|
29
|
-
pencilGuestId?: number;
|
|
30
|
-
};
|
|
31
|
-
}[];
|
|
32
|
-
enableLighthouseAvailability: boolean;
|
|
33
|
-
enableDerbysoftFeed: boolean;
|
|
34
|
-
}
|
|
35
|
-
export type IAdminGetCompaniesResponse = IAdminCompany[];
|
|
36
|
-
/** What the API expects */
|
|
37
|
-
export type IAdminFetchRMSHotelsRequest = {
|
|
38
|
-
/** Passing this field will apply changes */
|
|
39
|
-
confirm?: boolean;
|
|
40
|
-
};
|
|
41
|
-
/** Response type of the Fetch RMS hotels endpoint. This endpoint will contact RMS and fetch Hotel's details directly from their database.
|
|
42
|
-
* On initial call the data won't be applied, you must call this API again and set {@link IAdminFetchRMSHotelsRequest.confirm} to true to apply the data */
|
|
43
|
-
export type IAdminFetchRMSHotelsResponse = {
|
|
44
|
-
/** If the hotels have in fact been synced, this will be true */
|
|
45
|
-
hasConfirmed: boolean;
|
|
46
|
-
};
|
|
47
|
-
//# sourceMappingURL=IAdminCompany.type.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IAdminCompany.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Company/IAdminCompany.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAE1D,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IAEZ,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IAEzB,kBAAkB,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB,uBAAuB,EAAE,OAAO,CAAC;IACjC,oBAAoB,EAAE,OAAO,CAAC;IAC9B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,gCAAgC,EAAE,OAAO,CAAC;IAE1C,MAAM,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,EAAE,EAAE,MAAM,CAAC;QACX,UAAU,EAAE,MAAM,CAAC;QAEnB,GAAG,CAAC,EAAE;YACF,QAAQ,EAAE,MAAM,CAAC;YACjB,cAAc,EAAE,MAAM,CAAC;YACvB,aAAa,EAAE,OAAO,CAAC;YACvB,MAAM,EAAE,MAAM,CAAC;YACf,aAAa,CAAC,EAAE,MAAM,CAAC;SAC1B,CAAC;KACL,EAAE,CAAC;IAEJ,4BAA4B,EAAE,OAAO,CAAC;IACtC,mBAAmB,EAAE,OAAO,CAAC;CAChC;AAED,MAAM,MAAM,0BAA0B,GAAG,aAAa,EAAE,CAAC;AAEzD,2BAA2B;AAC3B,MAAM,MAAM,2BAA2B,GAAG;IACtC,4CAA4C;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;2JAC2J;AAC3J,MAAM,MAAM,4BAA4B,GAAG;IACvC,gEAAgE;IAChE,YAAY,EAAE,OAAO,CAAC;CACzB,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare enum EAdminCompanyUserRole {
|
|
2
|
-
SuperAdmin = "SuperAdmin",
|
|
3
|
-
Admin = "Admin",
|
|
4
|
-
Limited = "Limited"
|
|
5
|
-
}
|
|
6
|
-
export type IAdminCompanyUser = {
|
|
7
|
-
id: number;
|
|
8
|
-
email: string;
|
|
9
|
-
title: string;
|
|
10
|
-
firstName: string;
|
|
11
|
-
lastName: string;
|
|
12
|
-
newPassword?: string;
|
|
13
|
-
deletedDate?: Date;
|
|
14
|
-
role?: EAdminCompanyUserRole;
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=IAdminCompanyUser.type.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IAdminCompanyUser.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Company/IAdminCompanyUser.type.ts"],"names":[],"mappings":"AAAA,oBAAY,qBAAqB;IAC7B,UAAU,eAAe;IACzB,KAAK,UAAU;IACf,OAAO,YAAY;CACtB;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IAEjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,IAAI,CAAC;IAEnB,IAAI,CAAC,EAAE,qBAAqB,CAAC;CAChC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ERoomstayEventSource.enum.d.ts","sourceRoot":"","sources":["../../../../src/types/Events/ERoomstayEventSource.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB;IAC5B,UAAU,eAAe;IACzB,IAAI,SAAS;CAChB"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { ERoomstayEventSource } from "./ERoomstayEventSource.enum";
|
|
2
|
-
type IRoomstayEventAvailabilityPrice = {
|
|
3
|
-
currency: string;
|
|
4
|
-
majorValue: string;
|
|
5
|
-
value: number;
|
|
6
|
-
};
|
|
7
|
-
export type IRoomstayEventAvailability = {
|
|
8
|
-
isSoldOut?: boolean;
|
|
9
|
-
hasAvailableTickets?: boolean;
|
|
10
|
-
isFree: boolean;
|
|
11
|
-
minPrice?: IRoomstayEventAvailabilityPrice;
|
|
12
|
-
maxPrice?: IRoomstayEventAvailabilityPrice;
|
|
13
|
-
};
|
|
14
|
-
export type IRoomstayEvent = {
|
|
15
|
-
eventId: string;
|
|
16
|
-
source: ERoomstayEventSource | string;
|
|
17
|
-
name: string;
|
|
18
|
-
summary: string;
|
|
19
|
-
description: string;
|
|
20
|
-
image: {
|
|
21
|
-
background?: string;
|
|
22
|
-
url: string;
|
|
23
|
-
isRoomstay?: boolean;
|
|
24
|
-
id?: string;
|
|
25
|
-
};
|
|
26
|
-
checkoutUrl?: string;
|
|
27
|
-
url: string;
|
|
28
|
-
endDate: string;
|
|
29
|
-
startDate: string;
|
|
30
|
-
/**
|
|
31
|
-
* Used to override the startDate (if event is repeating for example, say every thursday at 6pm)
|
|
32
|
-
*/
|
|
33
|
-
eventTimeDescription?: string;
|
|
34
|
-
unixStartTime: number;
|
|
35
|
-
timezone: string;
|
|
36
|
-
searchCity: string[];
|
|
37
|
-
latitude: number;
|
|
38
|
-
longitude: number;
|
|
39
|
-
isPermanent?: boolean;
|
|
40
|
-
address: {
|
|
41
|
-
line1: string;
|
|
42
|
-
line2: string;
|
|
43
|
-
city: string;
|
|
44
|
-
country: string;
|
|
45
|
-
region: string;
|
|
46
|
-
};
|
|
47
|
-
availability?: IRoomstayEventAvailability;
|
|
48
|
-
tags: any;
|
|
49
|
-
};
|
|
50
|
-
export {};
|
|
51
|
-
//# sourceMappingURL=IRoomstayEvent.type.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IRoomstayEvent.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Events/IRoomstayEvent.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,KAAK,+BAA+B,GAAG;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACrC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,+BAA+B,CAAC;IAC3C,QAAQ,CAAC,EAAE,+BAA+B,CAAC;CAC9C,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,oBAAoB,GAAG,MAAM,CAAC;IAEtC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IAEpB,KAAK,EAAE;QACH,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,GAAG,EAAE,MAAM,CAAC;QAEZ,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB,EAAE,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IAEF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;IAEZ,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B,aAAa,EAAE,MAAM,CAAC;IAEtB,QAAQ,EAAE,MAAM,CAAC;IAEjB,UAAU,EAAE,MAAM,EAAE,CAAC;IAErB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAElB,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,OAAO,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;KAClB,CAAC;IAEF,YAAY,CAAC,EAAE,0BAA0B,CAAC;IAE1C,IAAI,EAAE,GAAG,CAAC;CACb,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare enum EFeeType {
|
|
2
|
-
PercentageOfBooking = "PercentageOfBooking",
|
|
3
|
-
FixedChargePerRoom = "FixedChargePerRoom",
|
|
4
|
-
NightlyChargePerRoom = "NightlyChargePerRoom",
|
|
5
|
-
FixedChargePerBooking = "FixedChargePerBooking",
|
|
6
|
-
DepositSurcharge = "DepositSurcharge"
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=EFeeType.enum.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EFeeType.enum.d.ts","sourceRoot":"","sources":["../../../../src/types/Fees/EFeeType.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAChB,mBAAmB,wBAAwB;IAC3C,kBAAkB,uBAAuB;IACzC,oBAAoB,yBAAyB;IAC7C,qBAAqB,0BAA0B;IAC/C,gBAAgB,qBAAqB;CACxC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { EFeeType } from './EFeeType.enum';
|
|
2
|
-
export interface IFee {
|
|
3
|
-
name: string;
|
|
4
|
-
amount: number;
|
|
5
|
-
feeType: EFeeType;
|
|
6
|
-
}
|
|
7
|
-
export type SimpleItemisedFee = {
|
|
8
|
-
name: string;
|
|
9
|
-
description?: string;
|
|
10
|
-
amount: number;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=IFee.type.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IFee.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Fees/IFee.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,MAAM,WAAW,IAAI;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,QAAQ,CAAC;CACnB;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IFeeConfigurationOptions.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Fees/IFeeConfigurationOptions.type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACrC,cAAc,EAAE,OAAO,CAAC;IACxB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,eAAe,EAAE,OAAO,CAAC;IACzB,gCAAgC,EAAE,OAAO,CAAC;CAC7C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Format.types.d.ts","sourceRoot":"","sources":["../../../../src/types/General/Format.types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HttpMethod.enum.d.ts","sourceRoot":"","sources":["../../../../src/types/General/HttpMethod.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IAClB,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,IAAI,SAAS;CAChB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IMessage.type.d.ts","sourceRoot":"","sources":["../../../../src/types/General/IMessage.type.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG;IACnB,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export type IPaginatedRequest = {
|
|
2
|
-
pageSize?: number;
|
|
3
|
-
currentPage?: number;
|
|
4
|
-
};
|
|
5
|
-
export type IPagination = {
|
|
6
|
-
pageSize: number;
|
|
7
|
-
currentPage: number;
|
|
8
|
-
skip: number;
|
|
9
|
-
};
|
|
10
|
-
export type IPaginatedResponse<T> = {
|
|
11
|
-
pageSize: number;
|
|
12
|
-
currentPage: number;
|
|
13
|
-
totalPages: number;
|
|
14
|
-
totalItems: number;
|
|
15
|
-
data: T[];
|
|
16
|
-
};
|
|
17
|
-
export type IPaginatedSearchRequest = IPaginatedRequest & {
|
|
18
|
-
search?: string;
|
|
19
|
-
getDeleted?: boolean;
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=Pagination.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.types.d.ts","sourceRoot":"","sources":["../../../../src/types/General/Pagination.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,kBAAkB,CAAC,CAAC,IAAI;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,CAAC,EAAE,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,GAAG;IACtD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A standard warning object with a type, message and extra data
|
|
3
|
-
* @example
|
|
4
|
-
* const warn: Warning<{ field: string; issue: string }> = {
|
|
5
|
-
* type: 'VALIDATION_WARNING',
|
|
6
|
-
* data: { field: 'email', issue: 'invalid_format' },
|
|
7
|
-
* message: 'Email address is not properly formatted.',
|
|
8
|
-
* };
|
|
9
|
-
*/
|
|
10
|
-
export type Warning<TData = unknown> = {
|
|
11
|
-
type: string;
|
|
12
|
-
data: TData;
|
|
13
|
-
message: string;
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=Warning.type.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Warning.type.d.ts","sourceRoot":"","sources":["../../../../src/types/General/Warning.type.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,MAAM,OAAO,CAAC,KAAK,GAAG,OAAO,IAAI;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,KAAK,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC"}
|