@roomstay/core 0.1.78-3 → 0.1.78

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.
Files changed (247) hide show
  1. package/dist/browser/index.js +3901 -0
  2. package/dist/browser/index.js.map +1 -0
  3. package/dist/node/index.cjs +25 -0
  4. package/dist/node/index.cjs.map +1 -0
  5. package/dist/node/index.mjs +3901 -0
  6. package/dist/node/index.mjs.map +1 -0
  7. package/dist/node.js +1 -1
  8. package/dist/types/AnalyticsEvents/IAnalyticsEvent.type.d.ts +12 -38
  9. package/dist/types/AnalyticsEvents/IRoomstayEventData.type.d.ts +2 -27
  10. package/dist/types/AnalyticsEvents/MetaCapiTransformer.d.ts +2 -6
  11. package/dist/types/Booking/IBookingExtraFields.type.d.ts +1 -1
  12. package/dist/types/Booking/PlaceBooking.types.d.ts +0 -1
  13. package/dist/types/Company/ECompanyProvider.enum.d.ts +1 -2
  14. package/dist/types/Company/IAdminCompany.type.d.ts +0 -6
  15. package/dist/types/GiftCards/GiftCard.types.d.ts +0 -9
  16. package/dist/types/Maintenance/IMaintenanceStatus.type.d.ts +1 -4
  17. package/dist/types/Member/IRoomstayMember.type.d.ts +1 -2
  18. package/dist/types/Policies/EGuaranteePolicy.enum.d.ts +0 -5
  19. package/dist/types/index.d.ts +2 -19
  20. package/dist/types/index.d.ts.map +1 -0
  21. package/dist/types/types/Addons/Addon.enum.d.ts +3 -0
  22. package/dist/types/types/Addons/Addon.enum.d.ts.map +1 -0
  23. package/dist/types/{Addon/Addon.d.ts → types/Addons/Addon.types.d.ts} +21 -3
  24. package/dist/types/types/Addons/Addon.types.d.ts.map +1 -0
  25. package/dist/types/types/Analytics/IBigQueryResults.type.d.ts +46 -0
  26. package/dist/types/types/Analytics/IBigQueryResults.type.d.ts.map +1 -0
  27. package/dist/types/types/AnalyticsEvents/IAnalyticsEvent.type.d.ts +65 -0
  28. package/dist/types/types/AnalyticsEvents/IAnalyticsEvent.type.d.ts.map +1 -0
  29. package/dist/types/types/AnalyticsEvents/IAnalyticsSession.type.d.ts +21 -0
  30. package/dist/types/types/AnalyticsEvents/IAnalyticsSession.type.d.ts.map +1 -0
  31. package/dist/types/types/AnalyticsEvents/IRoomstayEventData.type.d.ts +66 -0
  32. package/dist/types/types/AnalyticsEvents/IRoomstayEventData.type.d.ts.map +1 -0
  33. package/dist/types/types/AnalyticsEvents/MetaCapiTransformer.d.ts +22 -0
  34. package/dist/types/types/AnalyticsEvents/MetaCapiTransformer.d.ts.map +1 -0
  35. package/dist/types/{Api/ReservationsDTO.d.ts → types/Api/Reservations.type.d.ts} +11 -28
  36. package/dist/types/types/Api/Reservations.type.d.ts.map +1 -0
  37. package/dist/types/{Api/RoomNightRateDTO.d.ts → types/Api/RoomNightRate.type.d.ts} +1 -0
  38. package/dist/types/types/Api/RoomNightRate.type.d.ts.map +1 -0
  39. package/dist/types/types/Availability/Availability.types.d.ts +122 -0
  40. package/dist/types/types/Availability/Availability.types.d.ts.map +1 -0
  41. package/dist/types/types/Booking/ConfirmBooking.types.d.ts +22 -0
  42. package/dist/types/types/Booking/ConfirmBooking.types.d.ts.map +1 -0
  43. package/dist/types/types/Booking/EBooking.types.d.ts +13 -0
  44. package/dist/types/types/Booking/EBooking.types.d.ts.map +1 -0
  45. package/dist/types/types/Booking/GetBooking.types.d.ts +8 -0
  46. package/dist/types/types/Booking/GetBooking.types.d.ts.map +1 -0
  47. package/dist/types/{Booking/IBookingCreateErrorResponse.d.ts → types/Booking/IBookingCreateErrorResponse.type.d.ts} +3 -0
  48. package/dist/types/types/Booking/IBookingCreateErrorResponse.type.d.ts.map +1 -0
  49. package/dist/types/types/Booking/IBookingExtraFields.type.d.ts +6 -0
  50. package/dist/types/types/Booking/IBookingExtraFields.type.d.ts.map +1 -0
  51. package/dist/types/types/Booking/IBookingPayment.type.d.ts +106 -0
  52. package/dist/types/types/Booking/IBookingPayment.type.d.ts.map +1 -0
  53. package/dist/types/types/Booking/IBookingQuote.type.d.ts +31 -0
  54. package/dist/types/types/Booking/IBookingQuote.type.d.ts.map +1 -0
  55. package/dist/types/types/Booking/ICommonQueryParameters.type.d.ts +4 -0
  56. package/dist/types/types/Booking/ICommonQueryParameters.type.d.ts.map +1 -0
  57. package/dist/types/types/Booking/Itinerary.types.d.ts +100 -0
  58. package/dist/types/types/Booking/Itinerary.types.d.ts.map +1 -0
  59. package/dist/types/types/Booking/PencilReservation.types.d.ts +20 -0
  60. package/dist/types/types/Booking/PencilReservation.types.d.ts.map +1 -0
  61. package/dist/types/types/Booking/PlaceBooking.types.d.ts +90 -0
  62. package/dist/types/types/Booking/PlaceBooking.types.d.ts.map +1 -0
  63. package/dist/types/types/Company/ECompanyProvider.enum.d.ts +9 -0
  64. package/dist/types/types/Company/ECompanyProvider.enum.d.ts.map +1 -0
  65. package/dist/types/types/Company/IAdminCompany.type.d.ts +47 -0
  66. package/dist/types/types/Company/IAdminCompany.type.d.ts.map +1 -0
  67. package/dist/types/types/Company/IAdminCompanyUser.type.d.ts +16 -0
  68. package/dist/types/types/Company/IAdminCompanyUser.type.d.ts.map +1 -0
  69. package/dist/types/types/Events/ERoomstayEventSource.enum.d.ts +5 -0
  70. package/dist/types/types/Events/ERoomstayEventSource.enum.d.ts.map +1 -0
  71. package/dist/types/types/Events/IRoomstayEvent.type.d.ts +51 -0
  72. package/dist/types/types/Events/IRoomstayEvent.type.d.ts.map +1 -0
  73. package/dist/types/types/Fees/EFeeType.enum.d.ts +8 -0
  74. package/dist/types/types/Fees/EFeeType.enum.d.ts.map +1 -0
  75. package/dist/types/types/Fees/IFee.type.d.ts +12 -0
  76. package/dist/types/types/Fees/IFee.type.d.ts.map +1 -0
  77. package/dist/types/types/Fees/IFeeConfigurationOptions.type.d.ts +7 -0
  78. package/dist/types/types/Fees/IFeeConfigurationOptions.type.d.ts.map +1 -0
  79. package/dist/types/types/General/Format.types.d.ts +2 -0
  80. package/dist/types/types/General/Format.types.d.ts.map +1 -0
  81. package/dist/types/types/General/HttpMethod.enum.d.ts +10 -0
  82. package/dist/types/types/General/HttpMethod.enum.d.ts.map +1 -0
  83. package/dist/types/types/General/IMessage.type.d.ts +7 -0
  84. package/dist/types/types/General/IMessage.type.d.ts.map +1 -0
  85. package/dist/types/types/General/Pagination.types.d.ts +21 -0
  86. package/dist/types/types/General/Pagination.types.d.ts.map +1 -0
  87. package/dist/types/types/General/Warning.type.d.ts +15 -0
  88. package/dist/types/types/General/Warning.type.d.ts.map +1 -0
  89. package/dist/types/types/GiftCards/GiftCard.types.d.ts +346 -0
  90. package/dist/types/types/GiftCards/GiftCard.types.d.ts.map +1 -0
  91. package/dist/types/types/GiftCards/GiftCardAuth.types.d.ts +32 -0
  92. package/dist/types/types/GiftCards/GiftCardAuth.types.d.ts.map +1 -0
  93. package/dist/types/types/GiftCards/GiftCardLogs.enum.d.ts +35 -0
  94. package/dist/types/types/GiftCards/GiftCardLogs.enum.d.ts.map +1 -0
  95. package/dist/types/types/Hotel/EHotelAddressRequirement.enum.d.ts +6 -0
  96. package/dist/types/types/Hotel/EHotelAddressRequirement.enum.d.ts.map +1 -0
  97. package/dist/types/types/Hotel/EHotelPriceModel.enum.d.ts +6 -0
  98. package/dist/types/types/Hotel/EHotelPriceModel.enum.d.ts.map +1 -0
  99. package/dist/types/types/Hotel/EHotelStateFieldConfiguration.enum.d.ts +6 -0
  100. package/dist/types/types/Hotel/EHotelStateFieldConfiguration.enum.d.ts.map +1 -0
  101. package/dist/types/types/Hotel/EHotelWeekdayStartsOn.enum.d.ts +5 -0
  102. package/dist/types/types/Hotel/EHotelWeekdayStartsOn.enum.d.ts.map +1 -0
  103. package/dist/types/types/Hotel/EIntegration.enum.d.ts +10 -0
  104. package/dist/types/types/Hotel/EIntegration.enum.d.ts.map +1 -0
  105. package/dist/types/types/Hotel/IAuxiliaryFilter.type.d.ts +25 -0
  106. package/dist/types/types/Hotel/IAuxiliaryFilter.type.d.ts.map +1 -0
  107. package/dist/types/types/Hotel/IHotelColorScheme.type.d.ts +30 -0
  108. package/dist/types/types/Hotel/IHotelColorScheme.type.d.ts.map +1 -0
  109. package/dist/types/types/Hotel/IHotelOverrides.type.d.ts +29 -0
  110. package/dist/types/types/Hotel/IHotelOverrides.type.d.ts.map +1 -0
  111. package/dist/types/types/Hotel/IHotelReplica.type.d.ts +57 -0
  112. package/dist/types/types/Hotel/IHotelReplica.type.d.ts.map +1 -0
  113. package/dist/types/types/Hotel/IHotelService.type.d.ts +7 -0
  114. package/dist/types/types/Hotel/IHotelService.type.d.ts.map +1 -0
  115. package/dist/types/types/Image/IRoomstayImage.type.d.ts +9 -0
  116. package/dist/types/types/Image/IRoomstayImage.type.d.ts.map +1 -0
  117. package/dist/types/types/Maintenance/IMaintenanceStatus.type.d.ts +27 -0
  118. package/dist/types/types/Maintenance/IMaintenanceStatus.type.d.ts.map +1 -0
  119. package/dist/types/types/Media/IMedia.type.d.ts +11 -0
  120. package/dist/types/types/Media/IMedia.type.d.ts.map +1 -0
  121. package/dist/types/types/Member/IMember.type.d.ts +8 -0
  122. package/dist/types/types/Member/IMember.type.d.ts.map +1 -0
  123. package/dist/types/types/Member/IMemberVerification.type.d.ts +11 -0
  124. package/dist/types/types/Member/IMemberVerification.type.d.ts.map +1 -0
  125. package/dist/types/types/Member/IRoomstayCognitoMember.type.d.ts +5 -0
  126. package/dist/types/types/Member/IRoomstayCognitoMember.type.d.ts.map +1 -0
  127. package/dist/types/types/Member/IRoomstayMember.type.d.ts +19 -0
  128. package/dist/types/types/Member/IRoomstayMember.type.d.ts.map +1 -0
  129. package/dist/types/types/Member/IRoomstayMemberBooking.type.d.ts +29 -0
  130. package/dist/types/types/Member/IRoomstayMemberBooking.type.d.ts.map +1 -0
  131. package/dist/types/types/Member/IRoomstayMemberBookingAddress.type.d.ts +10 -0
  132. package/dist/types/types/Member/IRoomstayMemberBookingAddress.type.d.ts.map +1 -0
  133. package/dist/types/types/Member/IRoomstayMemberBookingItem.type.d.ts +26 -0
  134. package/dist/types/types/Member/IRoomstayMemberBookingItem.type.d.ts.map +1 -0
  135. package/dist/types/types/Member/IRoomstayMemberBookingProfile.type.d.ts +12 -0
  136. package/dist/types/types/Member/IRoomstayMemberBookingProfile.type.d.ts.map +1 -0
  137. package/dist/types/types/Member/IRoomstayMemberCards.type.d.ts +13 -0
  138. package/dist/types/types/Member/IRoomstayMemberCards.type.d.ts.map +1 -0
  139. package/dist/types/types/Member/IRoomstayMemberJWTData.type.d.ts +4 -0
  140. package/dist/types/types/Member/IRoomstayMemberJWTData.type.d.ts.map +1 -0
  141. package/dist/types/types/Member/ISession.type.d.ts +5 -0
  142. package/dist/types/types/Member/ISession.type.d.ts.map +1 -0
  143. package/dist/types/types/OHIP/IOHIPConfiguration.types.d.ts +13 -0
  144. package/dist/types/types/OHIP/IOHIPConfiguration.types.d.ts.map +1 -0
  145. package/dist/types/types/OHIP/index.d.ts +2 -0
  146. package/dist/types/types/OHIP/index.d.ts.map +1 -0
  147. package/dist/types/types/Package/Package.types.d.ts +105 -0
  148. package/dist/types/types/Package/Package.types.d.ts.map +1 -0
  149. package/dist/types/types/Policies/EGuaranteePolicy.enum.d.ts +7 -0
  150. package/dist/types/types/Policies/EGuaranteePolicy.enum.d.ts.map +1 -0
  151. package/dist/types/types/PromoCode/EPromoCodeDiscountType.enum.d.ts +6 -0
  152. package/dist/types/types/PromoCode/EPromoCodeDiscountType.enum.d.ts.map +1 -0
  153. package/dist/types/types/PromoCode/PromoCodeStayDateRangeType.enum.d.ts +12 -0
  154. package/dist/types/types/PromoCode/PromoCodeStayDateRangeType.enum.d.ts.map +1 -0
  155. package/dist/types/{PMSSync/EPMSSyncStatus.enum.d.ts → types/RMS/ERMSAuthSyncHistoryStatus.type.d.ts} +4 -3
  156. package/dist/types/types/RMS/ERMSAuthSyncHistoryStatus.type.d.ts.map +1 -0
  157. package/dist/types/types/RMS/ERMSDiscountType.enum.d.ts +7 -0
  158. package/dist/types/types/RMS/ERMSDiscountType.enum.d.ts.map +1 -0
  159. package/dist/types/types/RMS/ERMSSyncStrategy.enum.d.ts +39 -0
  160. package/dist/types/types/RMS/ERMSSyncStrategy.enum.d.ts.map +1 -0
  161. package/dist/types/types/RMS/IRMSPropertyDiscount.type.d.ts +34 -0
  162. package/dist/types/types/RMS/IRMSPropertyDiscount.type.d.ts.map +1 -0
  163. package/dist/types/types/RMS/IRMSRequirement.type.d.ts +21 -0
  164. package/dist/types/types/RMS/IRMSRequirement.type.d.ts.map +1 -0
  165. package/dist/types/types/RMS/IRMSSyncResponse.type.d.ts +9 -0
  166. package/dist/types/types/RMS/IRMSSyncResponse.type.d.ts.map +1 -0
  167. package/dist/types/types/RMS/RMSBookingSource.type.d.ts +8 -0
  168. package/dist/types/types/RMS/RMSBookingSource.type.d.ts.map +1 -0
  169. package/dist/types/types/Room/IRoomGroup.type.d.ts +19 -0
  170. package/dist/types/types/Room/IRoomGroup.type.d.ts.map +1 -0
  171. package/dist/types/types/index.d.ts +139 -0
  172. package/dist/types/types/index.d.ts.map +1 -0
  173. package/dist/types/utils/TotalCalculator.d.ts +73 -0
  174. package/dist/types/utils/TotalCalculator.d.ts.map +1 -0
  175. package/dist/types/utils/bookingTotal.d.ts +8 -0
  176. package/dist/types/utils/bookingTotal.d.ts.map +1 -0
  177. package/dist/types/utils/calculateFee.d.ts +11 -0
  178. package/dist/types/utils/calculateFee.d.ts.map +1 -0
  179. package/dist/types/utils/feeTypes.d.ts +6 -0
  180. package/dist/types/utils/feeTypes.d.ts.map +1 -0
  181. package/dist/types/utils/index.d.ts +11 -0
  182. package/dist/types/utils/index.d.ts.map +1 -0
  183. package/dist/types/utils/reflection.d.ts +10 -0
  184. package/dist/types/utils/reflection.d.ts.map +1 -0
  185. package/dist/types/utils/roomstayImageResize.d.ts +15 -0
  186. package/dist/types/utils/roomstayImageResize.d.ts.map +1 -0
  187. package/dist/types/utils/roundMoney.d.ts +11 -0
  188. package/dist/types/utils/roundMoney.d.ts.map +1 -0
  189. package/dist/types/utils/typeUtils.d.ts +2 -0
  190. package/dist/types/utils/typeUtils.d.ts.map +1 -0
  191. package/dist/types/utils/uppercaseString.d.ts +2 -0
  192. package/dist/types/utils/uppercaseString.d.ts.map +1 -0
  193. package/dist/types/utils/zodUtils.d.ts +20 -0
  194. package/dist/types/utils/zodUtils.d.ts.map +1 -0
  195. package/dist/utils/roundMoney.d.ts +1 -11
  196. package/dist/web.js +1 -1
  197. package/package.json +1 -1
  198. package/dist/components/DateRangePicker/DateRangePicker.d.ts +0 -16
  199. package/dist/components/DateRangePicker/DateRangePicker.type.d.ts +0 -16
  200. package/dist/components/DateRangePicker/DateRangePickerContext.d.ts +0 -16
  201. package/dist/components/DateRangePicker/DateRangePickerDay.d.ts +0 -22
  202. package/dist/components/DateRangePicker/DateRangePickerDays.d.ts +0 -7
  203. package/dist/components/DateRangePicker/DateRangePickerMonth.d.ts +0 -9
  204. package/dist/components/DateRangePicker/FloatingDateRangePicker.d.ts +0 -26
  205. package/dist/components/DateRangePicker/index.d.ts +0 -3
  206. package/dist/components/Icon/Icon.d.ts +0 -19
  207. package/dist/components/Icon/index.d.ts +0 -1
  208. package/dist/components/Overlay/Overlay.d.ts +0 -21
  209. package/dist/components/Overlay/index.d.ts +0 -1
  210. package/dist/components/RoomstayPortal/RoomstayPortal.d.ts +0 -8
  211. package/dist/components/RoomstayPortal/index.d.ts +0 -1
  212. package/dist/components/Text/Text.d.ts +0 -18
  213. package/dist/components/Text/Text.type.d.ts +0 -14
  214. package/dist/components/Text/index.d.ts +0 -2
  215. package/dist/components/animations/AutoAutoHeight.d.ts +0 -9
  216. package/dist/components/animations/Fade.d.ts +0 -13
  217. package/dist/components/animations/index.d.ts +0 -1
  218. package/dist/components/index.d.ts +0 -6
  219. package/dist/hooks/BodyClickHook.d.ts +0 -8
  220. package/dist/index.node.d.ts +0 -2
  221. package/dist/index.web.d.ts +0 -3
  222. package/dist/node.js.map +0 -1
  223. package/dist/roomstay-core-0.1.26.tgz +0 -0
  224. package/dist/stories/DateRangePicker.stories.d.ts +0 -8
  225. package/dist/stories/FloatingDateRangePicker.stories.d.ts +0 -5
  226. package/dist/types/Addon/Addon.enum.d.ts +0 -14
  227. package/dist/types/Addon/Addon.type.d.ts +0 -24
  228. package/dist/types/Booking/IBookingStatus.type.d.ts +0 -5
  229. package/dist/types/Booking/IPrice.type.d.ts +0 -7
  230. package/dist/types/Hotel/IHotel.enum.d.ts +0 -32
  231. package/dist/types/Hotel/IHotel.type.d.ts +0 -275
  232. package/dist/types/Hotel/IntegrationConfigs.type.d.ts +0 -76
  233. package/dist/types/Hotel/InternalMemberSignInModal.type.d.ts +0 -13
  234. package/dist/types/Hotel/InternalMemberSignInModal.types.d.ts +0 -13
  235. package/dist/types/Member/IRoomstayMemberLoyalty.type.d.ts +0 -16
  236. package/dist/types/Newbook/ENewbookRegion.enum.d.ts +0 -7
  237. package/dist/types/Newbook/ENewbookSyncStrategy.enum.d.ts +0 -5
  238. package/dist/types/Newbook/index.d.ts +0 -2
  239. package/dist/types/PMSSync/IPMSSyncResponse.type.d.ts +0 -10
  240. package/dist/types/PMSSync/index.d.ts +0 -17
  241. package/dist/types/Room/HotelRoom.type.d.ts +0 -24
  242. package/dist/types/Room/SynxisRoom.type.d.ts +0 -35
  243. package/dist/utils/CalendarHelper.d.ts +0 -16
  244. package/dist/utils/color.d.ts +0 -17
  245. package/dist/utils/index.node.d.ts +0 -2
  246. package/dist/utils/index.web.d.ts +0 -4
  247. package/dist/web.js.map +0 -1
@@ -0,0 +1,57 @@
1
+ import { EDistanceUnitType, EHotelPriceModel, EHotelWeekdayStartsOn, IHotelColorScheme, IHotelOverrides, IHotelService } from '../../index.js';
2
+ export type IHotelReplica = {
3
+ hotelId: string;
4
+ addressLine1: string;
5
+ addressLine2: string;
6
+ addressLine3: string;
7
+ businessServices: IHotelService[];
8
+ cancellationEmailTemplate: string;
9
+ ccBookingEmailsTo: string;
10
+ chainId: number;
11
+ chainName: string;
12
+ checkInTime: string;
13
+ checkOutTime: string;
14
+ checkOutUrl: string;
15
+ cityName: string;
16
+ confirmationEmailTemplate: string;
17
+ country: string;
18
+ crossSellDescription: string;
19
+ crossSellHotelId: string;
20
+ currencyCode: string;
21
+ deletedDate: string;
22
+ description: string;
23
+ distanceUnitType: EDistanceUnitType;
24
+ email: string;
25
+ frontendId: string;
26
+ heroImage: any;
27
+ hotelColorScheme: IHotelColorScheme;
28
+ hotelOverrides?: IHotelOverrides;
29
+ hotelService: IHotelService[];
30
+ hotelUrl: string;
31
+ images: any[];
32
+ label: string;
33
+ languageCode: string;
34
+ latitude: string;
35
+ longitude: string;
36
+ locationDescription: string;
37
+ name: string;
38
+ paymentCardTypes: string[];
39
+ phone: string;
40
+ policies: string;
41
+ postCode: string;
42
+ priceModel: EHotelPriceModel;
43
+ providerData: any;
44
+ providerId: string;
45
+ reservationContactEmail: string;
46
+ roomTypeCodes: string[];
47
+ roomstaySendsEmails: boolean;
48
+ state: string;
49
+ supportedLanguages: string[];
50
+ urlName: string;
51
+ utcOffset: string;
52
+ timeZone: string;
53
+ weekdayStartsOn: EHotelWeekdayStartsOn;
54
+ preventRoomRateFiltersOnRedirect: boolean;
55
+ paidAdsCheckoutUrl: string;
56
+ };
57
+ //# sourceMappingURL=IHotelReplica.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHotelReplica.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Hotel/IHotelReplica.type.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,iBAAiB,EACjB,eAAe,EACf,aAAa,EAChB,MAAM,QAAQ,CAAC;AAEhB,MAAM,MAAM,aAAa,GAAG;IACxB,OAAO,EAAE,MAAM,CAAC;IAEhB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IAErB,gBAAgB,EAAE,aAAa,EAAE,CAAC;IAElC,yBAAyB,EAAE,MAAM,CAAC;IAClC,iBAAiB,EAAE,MAAM,CAAC;IAC1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M,CAAC;IACd,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,qBAAqB,CAAC;IACvC,gCAAgC,EAAE,OAAO,CAAC;IAC1C,kBAAkB,EAAE,MAAM,CAAC;CAC9B,CAAC"}
@@ -0,0 +1,7 @@
1
+ export type IHotelService = {
2
+ name: string;
3
+ detail: string;
4
+ onsite: boolean;
5
+ included: boolean;
6
+ };
7
+ //# sourceMappingURL=IHotelService.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHotelService.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Hotel/IHotelService.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;CACrB,CAAC"}
@@ -0,0 +1,9 @@
1
+ export declare enum ERoomstayImageSize {
2
+ Icon = 128,
3
+ Tiny = 256,
4
+ Small = 512,
5
+ Medium = 768,
6
+ Large = 1024,
7
+ ExtraLarge = 1600
8
+ }
9
+ //# sourceMappingURL=IRoomstayImage.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IRoomstayImage.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Image/IRoomstayImage.type.ts"],"names":[],"mappings":"AAAA,oBAAY,kBAAkB;IAC1B,IAAI,MAAM;IACV,IAAI,MAAM;IACV,KAAK,MAAM;IACX,MAAM,MAAM;IACZ,KAAK,OAAO;IACZ,UAAU,OAAO;CACpB"}
@@ -0,0 +1,27 @@
1
+ export type IMaintenanceStatus = {
2
+ uuid: string;
3
+ /**
4
+ * Which service is currently experiencing issues.
5
+ */
6
+ service: IMaintenanceStatusService;
7
+ /**
8
+ * The start time of the maintenance window in ISO 8601 format
9
+ *
10
+ * @example 2023-10-01T00:00:00Z
11
+ */
12
+ startDate: string;
13
+ endDate: string;
14
+ /**
15
+ * Whether the status is currently in effect or not
16
+ */
17
+ isActive: boolean;
18
+ status: 'error' | 'maintenance';
19
+ title: string;
20
+ message: string;
21
+ };
22
+ export declare enum IMaintenanceStatusService {
23
+ Frontend = "frontend",
24
+ Hotel = "hotel",
25
+ Events = "events"
26
+ }
27
+ //# sourceMappingURL=IMaintenanceStatus.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMaintenanceStatus.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Maintenance/IMaintenanceStatus.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,EAAE,yBAAyB,CAAC;IAEnC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB,MAAM,EAAE,OAAO,GAAG,aAAa,CAAC;IAEhC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,oBAAY,yBAAyB;IACjC,QAAQ,aAAa;IACrB,KAAK,UAAU;IACf,MAAM,WAAW;CACpB"}
@@ -0,0 +1,11 @@
1
+ export interface MediaType {
2
+ id: string;
3
+ name: string;
4
+ size?: number;
5
+ url: string;
6
+ order?: number;
7
+ createdDate?: string;
8
+ updatedDate?: string;
9
+ mediaTarget?: string;
10
+ }
11
+ //# sourceMappingURL=IMedia.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMedia.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Media/IMedia.type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * General membership information passing by the API.
3
+ */
4
+ export interface IMember {
5
+ memberId: string;
6
+ promoCode: string;
7
+ }
8
+ //# sourceMappingURL=IMember.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMember.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Member/IMember.type.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,OAAO;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Extendable list of parameters used to verify a membership.
3
+ */
4
+ export interface IMemberVerification {
5
+ memberNumber?: string;
6
+ lastName?: string;
7
+ firstName?: string;
8
+ email?: string;
9
+ password?: string;
10
+ }
11
+ //# sourceMappingURL=IMemberVerification.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMemberVerification.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Member/IMemberVerification.type.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,5 @@
1
+ export type IRoomstayCognitoMember = {
2
+ ['custom:forename']?: string;
3
+ ['custom:surname']?: string;
4
+ };
5
+ //# sourceMappingURL=IRoomstayCognitoMember.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IRoomstayCognitoMember.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Member/IRoomstayCognitoMember.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG;IACjC,CAAC,iBAAiB,CAAC,CAAC,EAAE,MAAM,CAAC;IAC7B,CAAC,gBAAgB,CAAC,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { IRoomstayCognitoMember, IRoomstayMemberBooking, IRoomstayMemberCards } from '../../index.js';
2
+ export interface IRoomstayMember extends IRoomstayCognitoMember {
3
+ username: string;
4
+ email: string;
5
+ forename?: string;
6
+ surname?: string;
7
+ phoneNumber?: string;
8
+ address?: {
9
+ address?: string;
10
+ city?: string;
11
+ zip?: string;
12
+ state?: string;
13
+ country?: string;
14
+ };
15
+ defaultCard: string;
16
+ bookings: IRoomstayMemberBooking[];
17
+ cards: IRoomstayMemberCards[];
18
+ }
19
+ //# sourceMappingURL=IRoomstayMember.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IRoomstayMember.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Member/IRoomstayMember.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAC;AAE9F,MAAM,WAAW,eAAgB,SAAQ,sBAAsB;IAC3D,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IAEd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE;QACN,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IAEF,WAAW,EAAE,MAAM,CAAC;IAEpB,QAAQ,EAAE,sBAAsB,EAAE,CAAC;IACnC,KAAK,EAAE,oBAAoB,EAAE,CAAC;CACjC"}
@@ -0,0 +1,29 @@
1
+ import { IRoomstayMemberBookingItem, IHotelColorScheme } from '../../index.js';
2
+ /**
3
+ * DynamoDB object reference for a Member Booking
4
+ */
5
+ export interface IRoomstayMemberBooking {
6
+ username: string;
7
+ itineraryId: string;
8
+ hotelId: string;
9
+ hotel: {
10
+ name: string;
11
+ address: {
12
+ line1: string;
13
+ line2: string;
14
+ line3: string;
15
+ city: string;
16
+ postalCode: string;
17
+ state: string;
18
+ country: string;
19
+ };
20
+ phone: string;
21
+ checkInTime: string;
22
+ checkOutTime: string;
23
+ colors: IHotelColorScheme;
24
+ };
25
+ itinerary: {
26
+ [id: string]: IRoomstayMemberBookingItem;
27
+ };
28
+ }
29
+ //# sourceMappingURL=IRoomstayMemberBooking.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IRoomstayMemberBooking.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Member/IRoomstayMemberBooking.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAEvE;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE;QACH,IAAI,EAAE,MAAM,CAAC;QAEb,OAAO,EAAE;YACL,KAAK,EAAE,MAAM,CAAC;YACd,KAAK,EAAE,MAAM,CAAC;YACd,KAAK,EAAE,MAAM,CAAC;YACd,IAAI,EAAE,MAAM,CAAC;YACb,UAAU,EAAE,MAAM,CAAC;YACnB,KAAK,EAAE,MAAM,CAAC;YACd,OAAO,EAAE,MAAM,CAAC;SACnB,CAAC;QAEF,KAAK,EAAE,MAAM,CAAC;QAEd,WAAW,EAAE,MAAM,CAAC;QACpB,YAAY,EAAE,MAAM,CAAC;QAErB,MAAM,EAAE,iBAAiB,CAAC;KAC7B,CAAC;IACF,SAAS,EAAE;QACP,CAAC,EAAE,EAAE,MAAM,GAAG,0BAA0B,CAAC;KAC5C,CAAC;CACL"}
@@ -0,0 +1,10 @@
1
+ export type IRoomstayMemberBookingAddress = {
2
+ line1: string;
3
+ line2: string;
4
+ line3?: string;
5
+ city: string;
6
+ postalCode: string;
7
+ state: string;
8
+ country: string;
9
+ };
10
+ //# sourceMappingURL=IRoomstayMemberBookingAddress.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IRoomstayMemberBookingAddress.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Member/IRoomstayMemberBookingAddress.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,6BAA6B,GAAG;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { EBookingStatus, IPrice, IRoomstayMemberBookingProfile } from '../../index.js';
2
+ export type IRoomstayMemberBookingItem = {
3
+ id: string;
4
+ roomCode: string;
5
+ roomName: string;
6
+ images: string[];
7
+ rateCode: string;
8
+ rateName: string;
9
+ adults: number;
10
+ children?: number;
11
+ profile: IRoomstayMemberBookingProfile;
12
+ comments: string[];
13
+ status: EBookingStatus;
14
+ isCancellable: boolean;
15
+ checkInDate: string;
16
+ checkOutDate: string;
17
+ nights: {
18
+ [date: string]: IPrice;
19
+ };
20
+ cancellationPolicy: string;
21
+ guaranteePolicy: string;
22
+ promoCode?: string;
23
+ cancellationPolicyLongDescription?: string;
24
+ guaranteePolicyLongDescription?: string;
25
+ };
26
+ //# sourceMappingURL=IRoomstayMemberBookingItem.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IRoomstayMemberBookingItem.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Member/IRoomstayMemberBookingItem.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,6BAA6B,EAAE,MAAM,QAAQ,CAAC;AAE/E,MAAM,MAAM,0BAA0B,GAAG;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IAEjB,MAAM,EAAE,MAAM,EAAE,CAAC;IAEjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IAEjB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,OAAO,EAAE,6BAA6B,CAAC;IAEvC,QAAQ,EAAE,MAAM,EAAE,CAAC;IAEnB,MAAM,EAAE,cAAc,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;IAEvB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IAErB,MAAM,EAAE;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAEnC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IAExB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,iCAAiC,CAAC,EAAE,MAAM,CAAC;IAC3C,8BAA8B,CAAC,EAAE,MAAM,CAAC;CAC3C,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { IRoomstayMemberBookingAddress } from '../../index.js';
2
+ export type IRoomstayMemberBookingProfile = {
3
+ title: string;
4
+ firstName: string;
5
+ middleName?: string;
6
+ lastName: string;
7
+ phone?: string;
8
+ email?: string;
9
+ marketingOptIn?: boolean;
10
+ address: IRoomstayMemberBookingAddress;
11
+ };
12
+ //# sourceMappingURL=IRoomstayMemberBookingProfile.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IRoomstayMemberBookingProfile.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Member/IRoomstayMemberBookingProfile.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,QAAQ,CAAC;AAEvD,MAAM,MAAM,6BAA6B,GAAG;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IAEjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,EAAE,6BAA6B,CAAC;CAC1C,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * These details will always be VGS tokenized strings, for use in the front end
3
+ */
4
+ export interface IRoomstayMemberCards {
5
+ username: string;
6
+ cardId: string;
7
+ cardNumber: string;
8
+ expiry: string;
9
+ securityCode: string;
10
+ name: string;
11
+ type: string;
12
+ }
13
+ //# sourceMappingURL=IRoomstayMemberCards.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IRoomstayMemberCards.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Member/IRoomstayMemberCards.type.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IAEf,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,4 @@
1
+ export type IRoomstayMemberJWTData = {
2
+ 'cognito:username': string;
3
+ };
4
+ //# sourceMappingURL=IRoomstayMemberJWTData.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IRoomstayMemberJWTData.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Member/IRoomstayMemberJWTData.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG;IACjC,kBAAkB,EAAE,MAAM,CAAC;CAC9B,CAAC"}
@@ -0,0 +1,5 @@
1
+ export interface ISession {
2
+ id: string;
3
+ hits: number;
4
+ }
5
+ //# sourceMappingURL=ISession.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ISession.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Member/ISession.type.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,13 @@
1
+ export type IOHIPConfiguration = {
2
+ clientId: string | null;
3
+ clientSecret: string | null;
4
+ enterpriseId: string | null;
5
+ chainCode: string | null;
6
+ isProduction: boolean;
7
+ tokenExpiryDate?: Date | null;
8
+ gatewayUrl: string | null;
9
+ connectionSuccesful?: boolean;
10
+ interfaceKey?: string | null;
11
+ interfaceId?: string | null;
12
+ };
13
+ //# sourceMappingURL=IOHIPConfiguration.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IOHIPConfiguration.types.d.ts","sourceRoot":"","sources":["../../../../src/types/OHIP/IOHIPConfiguration.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG;IAC7B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,OAAO,CAAC;IAEtB,eAAe,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAE9B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './IOHIPConfiguration.types';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/OHIP/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
@@ -0,0 +1,105 @@
1
+ import { IAddonPriceDetailsFee } from '../Addons/Addon.types';
2
+ import { ICommonQueryParameters } from '../Booking/ICommonQueryParameters.type';
3
+ import { IItemisedBookingFeeResponse } from '../Booking/Itinerary.types';
4
+ export declare class Package {
5
+ /**
6
+ * The SynXis CR RatePlan Code associated with the Package if the Package is restricted to certain RatePlans
7
+ */
8
+ ratePlanCode?: string;
9
+ name: string;
10
+ description: string;
11
+ /**
12
+ * Whether the price for this package is included in the room rate.
13
+ * (Always `false` unless the price is zero)
14
+ */
15
+ inclusive: boolean;
16
+ image: string[];
17
+ url?: string;
18
+ /**
19
+ * Defines how a service is priced.
20
+ * Values:
21
+ * Per Stay
22
+ * Per Night
23
+ * Per Person
24
+ * Per Person Per Night
25
+ */
26
+ pricingType: string;
27
+ /**
28
+ * Number of available items for sale.
29
+ */
30
+ quantity?: number;
31
+ category: string;
32
+ cancelPenalty?: string | null;
33
+ guaranteeDescription?: string | null;
34
+ availability: {
35
+ [date: string]: IPriceInfo;
36
+ };
37
+ }
38
+ export declare class ReservedPackage extends Package {
39
+ code?: string | undefined;
40
+ price?: number;
41
+ fees?: number;
42
+ itemisedFees?: IItemisedBookingFeeResponse[];
43
+ adultQuantity?: number;
44
+ childQuantity?: number;
45
+ adultPrice?: number;
46
+ childPrice?: number;
47
+ startDate?: string;
48
+ startTime?: string;
49
+ hideDatePicker?: boolean;
50
+ hideQuantity?: boolean;
51
+ order?: number;
52
+ discount?: number;
53
+ total?: number;
54
+ }
55
+ export type IPriceInfo = {
56
+ /**
57
+ * Number of available items for sale.
58
+ */
59
+ quantity: number;
60
+ /**
61
+ * Price per quantity
62
+ */
63
+ price?: number;
64
+ adultPrice?: number;
65
+ childPrice?: number;
66
+ fees?: IAddonPriceDetailsFee[];
67
+ adultFees?: IAddonPriceDetailsFee[];
68
+ childFees?: IAddonPriceDetailsFee[];
69
+ timeSlots?: ITimeSlot[];
70
+ };
71
+ export type ITimeSlot = {
72
+ /**
73
+ The start date and time when the package is available.
74
+ If the package applies during the whole stay, this node is not returned unless the time needs to be selected. In that case, the Start and End dates do not
75
+ include the date: @Start="T07:30:00" and @End="T17:30:00" and @Increment="00:60:00"
76
+ Type: DateTime
77
+ **/
78
+ startTime?: string;
79
+ /**
80
+ The end date / time when the package is available.
81
+ If the package component applies during the whole stay, this node is not returned unless the time needs to be selected. In that case, the Start and End dates
82
+ do not include the date: @Start="T07:30:00" and @End="T17:30:00" and @Increment="00:60:00"
83
+ Type: DateTime
84
+ */
85
+ endTime?: string;
86
+ /**
87
+ Used with @Start and @End. Indicates the interval when the package or service is available.
88
+ For example, a package with golf lessons from 7:30 am to 5:30 pm with instructions and available hourly has the TimeSpan attributes set as: @Start="2015-
89
+ 010-28T07:30:00" and @End="2015-10-28T17:30:00" and @Increment="00:60:00"
90
+ Type: Time
91
+ */
92
+ increment?: string;
93
+ };
94
+ export type IGetPackagesRequest = {
95
+ adults?: number;
96
+ children?: number;
97
+ checkInDate: Date;
98
+ checkOutDate: Date;
99
+ rate: string;
100
+ room?: string;
101
+ } & ICommonQueryParameters;
102
+ export type IGetPackagesResponse = {
103
+ [packageName: string]: ReservedPackage;
104
+ };
105
+ //# sourceMappingURL=Package.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Package.types.d.ts","sourceRoot":"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GuaranteePolicy.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EGuaranteePolicy.enum.d.ts","sourceRoot":"","sources":["../../../../src/types/Policies/EGuaranteePolicy.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,2BAA2B;IACnC,IAAI,SAAS;IACb,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,IAAI,SAAS;CAChB"}
@@ -0,0 +1,6 @@
1
+ export declare enum EPromoCodeDiscountType {
2
+ FlatPercent = "flatPercent",
3
+ FlatQuantity = "flatQuantity",
4
+ FlatQuantityPerStay = "flatQuantityPerStay"
5
+ }
6
+ //# sourceMappingURL=EPromoCodeDiscountType.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EPromoCodeDiscountType.enum.d.ts","sourceRoot":"","sources":["../../../../src/types/PromoCode/EPromoCodeDiscountType.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,sBAAsB;IAC9B,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,mBAAmB,wBAAwB;CAC9C"}
@@ -0,0 +1,12 @@
1
+ export declare enum EPromoCodeStayDateRangeType {
2
+ Allowed = "Allowed",
3
+ Blocked = "Blocked"
4
+ }
5
+ export declare enum EPromoCodeStayDateRangeRepeatType {
6
+ None = "None",
7
+ Weekly = "Weekly",
8
+ MonthlyDayOfWeek = "MonthlyDayOfWeek",
9
+ MonthlyDate = "MonthlyDate",
10
+ Yearly = "Yearly"
11
+ }
12
+ //# sourceMappingURL=PromoCodeStayDateRangeType.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PromoCodeStayDateRangeType.enum.d.ts","sourceRoot":"","sources":["../../../../src/types/PromoCode/PromoCodeStayDateRangeType.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,2BAA2B;IACnC,OAAO,YAAY;IACnB,OAAO,YAAY;CACtB;AAED,oBAAY,iCAAiC;IACzC,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,gBAAgB,qBAAqB;IACrC,WAAW,gBAAgB;IAC3B,MAAM,WAAW;CACpB"}
@@ -1,8 +1,9 @@
1
- export declare enum EPMSSyncStatus {
1
+ export declare enum ERMSAuthSyncHistoryStatus {
2
+ Success = "success",
3
+ Failure = "failure",
2
4
  New = "new",
3
5
  Queued = "queued",
4
6
  InProgress = "in_progress",
5
- Success = "success",
6
- Failure = "failure",
7
7
  RequireResume = "require_resume"
8
8
  }
9
+ //# sourceMappingURL=ERMSAuthSyncHistoryStatus.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ERMSAuthSyncHistoryStatus.type.d.ts","sourceRoot":"","sources":["../../../../src/types/RMS/ERMSAuthSyncHistoryStatus.type.ts"],"names":[],"mappings":"AAAA,oBAAY,yBAAyB;IACjC,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,UAAU,gBAAgB;IAC1B,aAAa,mBAAmB;CACnC"}
@@ -0,0 +1,7 @@
1
+ export declare enum ERMSDiscountType {
2
+ Percentage = "Percentage",
3
+ Amount = "Amount",
4
+ Bogo = "BOGO",
5
+ NightlyRateOverride = "NightlyRateOverride"
6
+ }
7
+ //# sourceMappingURL=ERMSDiscountType.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ERMSDiscountType.enum.d.ts","sourceRoot":"","sources":["../../../../src/types/RMS/ERMSDiscountType.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB;IAC1B,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,mBAAmB,wBAAwB;CAC5C"}
@@ -0,0 +1,39 @@
1
+ export declare enum ERMSSyncStrategy {
2
+ /**
3
+ * Super-admin granular sync strategies
4
+ */
5
+ Hotel = "hotel",
6
+ HotelImages = "hotelImages",
7
+ Cancellation = "cancellation",
8
+ Room = "room",
9
+ Rates = "rates",
10
+ OneGuaranteePolicy = "oneGuaranteePolicy",
11
+ RoomRates = "roomRates",
12
+ RoomImages = "roomImages",
13
+ BookingSources = "booking-sources",
14
+ Areas = "areas",
15
+ Dwellings = "dwellings",
16
+ AreaDwellings = "areaDwellings",
17
+ ConvertDwellingConfigToAuxInput = "convertDwellingConfigToAuxInput",
18
+ Discounts = "discounts",
19
+ PropertyDiscounts = "propertyDiscounts",
20
+ RoomDiscounts = "roomDiscounts",
21
+ PropertySundries = "propertySundries",
22
+ PropertyFees = "propertyFees",
23
+ PropertyCards = "property-cards",
24
+ Countries = "countries",
25
+ Addons = "addons",
26
+ Requirements = "requirements",
27
+ RoomAddons = "room-addons",
28
+ /**
29
+ * Client-facing sync strategies
30
+ */
31
+ ClientFacingPromoSync = "clientFacingPromoSync",
32
+ ClientFacingRoomSync = "clientFacingRoomSync",
33
+ ClientFacingRateSync = "clientFacingRateSync",
34
+ /**
35
+ * Other sync strategies
36
+ */
37
+ NewRateFetch = "newRateFetch"
38
+ }
39
+ //# sourceMappingURL=ERMSSyncStrategy.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ERMSSyncStrategy.enum.d.ts","sourceRoot":"","sources":["../../../../src/types/RMS/ERMSSyncStrategy.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB;IACxB;;OAEG;IACH,KAAK,UAAU;IACf,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,IAAI,SAAS;IACb,KAAK,UAAU;IACf,kBAAkB,uBAAuB;IACzC,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,cAAc,oBAAoB;IAClC,KAAK,UAAU;IACf,SAAS,cAAc;IACvB,aAAa,kBAAkB;IAC/B,+BAA+B,oCAAoC;IACnE,SAAS,cAAc;IACvB,iBAAiB,sBAAsB;IACvC,aAAa,kBAAkB;IAC/B,gBAAgB,qBAAqB;IACrC,YAAY,iBAAiB;IAC7B,aAAa,mBAAmB;IAChC,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,YAAY,iBAAiB;IAC7B,UAAU,gBAAgB;IAE1B;;OAEG;IACH,qBAAqB,0BAA0B;IAC/C,oBAAoB,yBAAyB;IAC7C,oBAAoB,yBAAyB;IAE7C;;OAEG;IACH,YAAY,iBAAiB;CAIhC"}
@@ -0,0 +1,34 @@
1
+ import { ERMSDiscountType } from './ERMSDiscountType.enum';
2
+ export type IRMSPropertyDiscount = {
3
+ name: string;
4
+ hotelId: string;
5
+ rmsDiscountId: number;
6
+ description: string;
7
+ discountType: ERMSDiscountType;
8
+ amount?: {
9
+ amount: number;
10
+ };
11
+ percentage?: {
12
+ percentage: number;
13
+ noGreaterThan: number;
14
+ includePackage: boolean;
15
+ includeAdditionals: boolean;
16
+ appliesToTotalRate: boolean;
17
+ };
18
+ bogo?: {
19
+ buyXNights: number;
20
+ getXNights: number;
21
+ getXNightsCycles: number;
22
+ includeAdditionals: boolean;
23
+ };
24
+ nightlyRateOverride?: {
25
+ firstXNights: number;
26
+ totalCharge: number;
27
+ includeAdditionals: boolean;
28
+ };
29
+ availableToIbe: boolean;
30
+ minimumNightStay: number;
31
+ maximumNightStay: number;
32
+ availableToMembers: boolean;
33
+ };
34
+ //# sourceMappingURL=IRMSPropertyDiscount.type.d.ts.map