@roomstay/core 0.1.78 → 0.1.79-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.
Files changed (247) hide show
  1. package/dist/components/DateRangePicker/DateRangePicker.d.ts +16 -0
  2. package/dist/components/DateRangePicker/DateRangePicker.type.d.ts +16 -0
  3. package/dist/components/DateRangePicker/DateRangePickerContext.d.ts +16 -0
  4. package/dist/components/DateRangePicker/DateRangePickerDay.d.ts +22 -0
  5. package/dist/components/DateRangePicker/DateRangePickerDays.d.ts +7 -0
  6. package/dist/components/DateRangePicker/DateRangePickerMonth.d.ts +9 -0
  7. package/dist/components/DateRangePicker/FloatingDateRangePicker.d.ts +26 -0
  8. package/dist/components/DateRangePicker/index.d.ts +3 -0
  9. package/dist/components/Icon/Icon.d.ts +19 -0
  10. package/dist/components/Icon/index.d.ts +1 -0
  11. package/dist/components/Overlay/Overlay.d.ts +21 -0
  12. package/dist/components/Overlay/index.d.ts +1 -0
  13. package/dist/components/RoomstayPortal/RoomstayPortal.d.ts +8 -0
  14. package/dist/components/RoomstayPortal/index.d.ts +1 -0
  15. package/dist/components/Text/Text.d.ts +18 -0
  16. package/dist/components/Text/Text.type.d.ts +14 -0
  17. package/dist/components/Text/index.d.ts +2 -0
  18. package/dist/components/animations/AutoAutoHeight.d.ts +9 -0
  19. package/dist/components/animations/Fade.d.ts +13 -0
  20. package/dist/components/animations/index.d.ts +1 -0
  21. package/dist/components/index.d.ts +6 -0
  22. package/dist/hooks/BodyClickHook.d.ts +8 -0
  23. package/dist/index.node.d.ts +2 -0
  24. package/dist/index.web.d.ts +3 -0
  25. package/dist/node.js +1 -1
  26. package/dist/node.js.map +1 -0
  27. package/dist/roomstay-core-0.1.26.tgz +0 -0
  28. package/dist/stories/DateRangePicker.stories.d.ts +8 -0
  29. package/dist/stories/FloatingDateRangePicker.stories.d.ts +5 -0
  30. package/dist/types/{types/Addons/Addon.types.d.ts → Addon/Addon.d.ts} +3 -21
  31. package/dist/types/Addon/Addon.enum.d.ts +14 -0
  32. package/dist/types/Addon/Addon.type.d.ts +24 -0
  33. package/dist/types/AnalyticsEvents/IAnalyticsEvent.type.d.ts +38 -12
  34. package/dist/types/AnalyticsEvents/IRoomstayEventData.type.d.ts +27 -2
  35. package/dist/types/AnalyticsEvents/MetaCapiTransformer.d.ts +6 -2
  36. package/dist/types/{types/Api/Reservations.type.d.ts → Api/ReservationsDTO.d.ts} +28 -11
  37. package/dist/types/{types/Api/RoomNightRate.type.d.ts → Api/RoomNightRateDTO.d.ts} +0 -1
  38. package/dist/types/{types/Booking/IBookingCreateErrorResponse.type.d.ts → Booking/IBookingCreateErrorResponse.d.ts} +0 -3
  39. package/dist/types/Booking/IBookingExtraFields.type.d.ts +2 -1
  40. package/dist/types/Booking/IBookingStatus.type.d.ts +5 -0
  41. package/dist/types/Booking/IPrice.type.d.ts +7 -0
  42. package/dist/types/Booking/PlaceBooking.types.d.ts +1 -0
  43. package/dist/types/Company/ECompanyProvider.enum.d.ts +2 -1
  44. package/dist/types/Company/IAdminCompany.type.d.ts +6 -0
  45. package/dist/types/GiftCards/GiftCard.types.d.ts +9 -0
  46. package/dist/types/Hotel/IHotel.enum.d.ts +32 -0
  47. package/dist/types/Hotel/IHotel.type.d.ts +275 -0
  48. package/dist/types/Hotel/IntegrationConfigs.type.d.ts +76 -0
  49. package/dist/types/Hotel/InternalMemberSignInModal.type.d.ts +13 -0
  50. package/dist/types/Hotel/InternalMemberSignInModal.types.d.ts +13 -0
  51. package/dist/types/Maintenance/IMaintenanceStatus.type.d.ts +4 -1
  52. package/dist/types/Member/IRoomstayMember.type.d.ts +2 -1
  53. package/dist/types/Member/IRoomstayMemberLoyalty.type.d.ts +16 -0
  54. package/dist/types/Newbook/ENewbookRegion.enum.d.ts +7 -0
  55. package/dist/types/Newbook/ENewbookSyncStrategy.enum.d.ts +5 -0
  56. package/dist/types/Newbook/index.d.ts +2 -0
  57. package/dist/types/{types/RMS/ERMSAuthSyncHistoryStatus.type.d.ts → PMSSync/EPMSSyncStatus.enum.d.ts} +3 -4
  58. package/dist/types/PMSSync/IPMSSyncResponse.type.d.ts +10 -0
  59. package/dist/types/PMSSync/index.d.ts +17 -0
  60. package/dist/types/Policies/EGuaranteePolicy.enum.d.ts +5 -0
  61. package/dist/types/Room/HotelRoom.type.d.ts +24 -0
  62. package/dist/types/Room/SynxisRoom.type.d.ts +35 -0
  63. package/dist/types/index.d.ts +19 -2
  64. package/dist/utils/CalendarHelper.d.ts +16 -0
  65. package/dist/utils/color.d.ts +17 -0
  66. package/dist/utils/index.node.d.ts +2 -0
  67. package/dist/utils/index.web.d.ts +4 -0
  68. package/dist/utils/roundMoney.d.ts +11 -1
  69. package/dist/web.js +1 -1
  70. package/dist/web.js.map +1 -0
  71. package/package.json +1 -1
  72. package/dist/browser/index.js +0 -3901
  73. package/dist/browser/index.js.map +0 -1
  74. package/dist/node/index.cjs +0 -25
  75. package/dist/node/index.cjs.map +0 -1
  76. package/dist/node/index.mjs +0 -3901
  77. package/dist/node/index.mjs.map +0 -1
  78. package/dist/types/index.d.ts.map +0 -1
  79. package/dist/types/types/Addons/Addon.enum.d.ts +0 -3
  80. package/dist/types/types/Addons/Addon.enum.d.ts.map +0 -1
  81. package/dist/types/types/Addons/Addon.types.d.ts.map +0 -1
  82. package/dist/types/types/Analytics/IBigQueryResults.type.d.ts +0 -46
  83. package/dist/types/types/Analytics/IBigQueryResults.type.d.ts.map +0 -1
  84. package/dist/types/types/AnalyticsEvents/IAnalyticsEvent.type.d.ts +0 -65
  85. package/dist/types/types/AnalyticsEvents/IAnalyticsEvent.type.d.ts.map +0 -1
  86. package/dist/types/types/AnalyticsEvents/IAnalyticsSession.type.d.ts +0 -21
  87. package/dist/types/types/AnalyticsEvents/IAnalyticsSession.type.d.ts.map +0 -1
  88. package/dist/types/types/AnalyticsEvents/IRoomstayEventData.type.d.ts +0 -66
  89. package/dist/types/types/AnalyticsEvents/IRoomstayEventData.type.d.ts.map +0 -1
  90. package/dist/types/types/AnalyticsEvents/MetaCapiTransformer.d.ts +0 -22
  91. package/dist/types/types/AnalyticsEvents/MetaCapiTransformer.d.ts.map +0 -1
  92. package/dist/types/types/Api/Reservations.type.d.ts.map +0 -1
  93. package/dist/types/types/Api/RoomNightRate.type.d.ts.map +0 -1
  94. package/dist/types/types/Availability/Availability.types.d.ts +0 -122
  95. package/dist/types/types/Availability/Availability.types.d.ts.map +0 -1
  96. package/dist/types/types/Booking/ConfirmBooking.types.d.ts +0 -22
  97. package/dist/types/types/Booking/ConfirmBooking.types.d.ts.map +0 -1
  98. package/dist/types/types/Booking/EBooking.types.d.ts +0 -13
  99. package/dist/types/types/Booking/EBooking.types.d.ts.map +0 -1
  100. package/dist/types/types/Booking/GetBooking.types.d.ts +0 -8
  101. package/dist/types/types/Booking/GetBooking.types.d.ts.map +0 -1
  102. package/dist/types/types/Booking/IBookingCreateErrorResponse.type.d.ts.map +0 -1
  103. package/dist/types/types/Booking/IBookingExtraFields.type.d.ts +0 -6
  104. package/dist/types/types/Booking/IBookingExtraFields.type.d.ts.map +0 -1
  105. package/dist/types/types/Booking/IBookingPayment.type.d.ts +0 -106
  106. package/dist/types/types/Booking/IBookingPayment.type.d.ts.map +0 -1
  107. package/dist/types/types/Booking/IBookingQuote.type.d.ts +0 -31
  108. package/dist/types/types/Booking/IBookingQuote.type.d.ts.map +0 -1
  109. package/dist/types/types/Booking/ICommonQueryParameters.type.d.ts +0 -4
  110. package/dist/types/types/Booking/ICommonQueryParameters.type.d.ts.map +0 -1
  111. package/dist/types/types/Booking/Itinerary.types.d.ts +0 -100
  112. package/dist/types/types/Booking/Itinerary.types.d.ts.map +0 -1
  113. package/dist/types/types/Booking/PencilReservation.types.d.ts +0 -20
  114. package/dist/types/types/Booking/PencilReservation.types.d.ts.map +0 -1
  115. package/dist/types/types/Booking/PlaceBooking.types.d.ts +0 -90
  116. package/dist/types/types/Booking/PlaceBooking.types.d.ts.map +0 -1
  117. package/dist/types/types/Company/ECompanyProvider.enum.d.ts +0 -9
  118. package/dist/types/types/Company/ECompanyProvider.enum.d.ts.map +0 -1
  119. package/dist/types/types/Company/IAdminCompany.type.d.ts +0 -47
  120. package/dist/types/types/Company/IAdminCompany.type.d.ts.map +0 -1
  121. package/dist/types/types/Company/IAdminCompanyUser.type.d.ts +0 -16
  122. package/dist/types/types/Company/IAdminCompanyUser.type.d.ts.map +0 -1
  123. package/dist/types/types/Events/ERoomstayEventSource.enum.d.ts +0 -5
  124. package/dist/types/types/Events/ERoomstayEventSource.enum.d.ts.map +0 -1
  125. package/dist/types/types/Events/IRoomstayEvent.type.d.ts +0 -51
  126. package/dist/types/types/Events/IRoomstayEvent.type.d.ts.map +0 -1
  127. package/dist/types/types/Fees/EFeeType.enum.d.ts +0 -8
  128. package/dist/types/types/Fees/EFeeType.enum.d.ts.map +0 -1
  129. package/dist/types/types/Fees/IFee.type.d.ts +0 -12
  130. package/dist/types/types/Fees/IFee.type.d.ts.map +0 -1
  131. package/dist/types/types/Fees/IFeeConfigurationOptions.type.d.ts +0 -7
  132. package/dist/types/types/Fees/IFeeConfigurationOptions.type.d.ts.map +0 -1
  133. package/dist/types/types/General/Format.types.d.ts +0 -2
  134. package/dist/types/types/General/Format.types.d.ts.map +0 -1
  135. package/dist/types/types/General/HttpMethod.enum.d.ts +0 -10
  136. package/dist/types/types/General/HttpMethod.enum.d.ts.map +0 -1
  137. package/dist/types/types/General/IMessage.type.d.ts +0 -7
  138. package/dist/types/types/General/IMessage.type.d.ts.map +0 -1
  139. package/dist/types/types/General/Pagination.types.d.ts +0 -21
  140. package/dist/types/types/General/Pagination.types.d.ts.map +0 -1
  141. package/dist/types/types/General/Warning.type.d.ts +0 -15
  142. package/dist/types/types/General/Warning.type.d.ts.map +0 -1
  143. package/dist/types/types/GiftCards/GiftCard.types.d.ts +0 -346
  144. package/dist/types/types/GiftCards/GiftCard.types.d.ts.map +0 -1
  145. package/dist/types/types/GiftCards/GiftCardAuth.types.d.ts +0 -32
  146. package/dist/types/types/GiftCards/GiftCardAuth.types.d.ts.map +0 -1
  147. package/dist/types/types/GiftCards/GiftCardLogs.enum.d.ts +0 -35
  148. package/dist/types/types/GiftCards/GiftCardLogs.enum.d.ts.map +0 -1
  149. package/dist/types/types/Hotel/EHotelAddressRequirement.enum.d.ts +0 -6
  150. package/dist/types/types/Hotel/EHotelAddressRequirement.enum.d.ts.map +0 -1
  151. package/dist/types/types/Hotel/EHotelPriceModel.enum.d.ts +0 -6
  152. package/dist/types/types/Hotel/EHotelPriceModel.enum.d.ts.map +0 -1
  153. package/dist/types/types/Hotel/EHotelStateFieldConfiguration.enum.d.ts +0 -6
  154. package/dist/types/types/Hotel/EHotelStateFieldConfiguration.enum.d.ts.map +0 -1
  155. package/dist/types/types/Hotel/EHotelWeekdayStartsOn.enum.d.ts +0 -5
  156. package/dist/types/types/Hotel/EHotelWeekdayStartsOn.enum.d.ts.map +0 -1
  157. package/dist/types/types/Hotel/EIntegration.enum.d.ts +0 -10
  158. package/dist/types/types/Hotel/EIntegration.enum.d.ts.map +0 -1
  159. package/dist/types/types/Hotel/IAuxiliaryFilter.type.d.ts +0 -25
  160. package/dist/types/types/Hotel/IAuxiliaryFilter.type.d.ts.map +0 -1
  161. package/dist/types/types/Hotel/IHotelColorScheme.type.d.ts +0 -30
  162. package/dist/types/types/Hotel/IHotelColorScheme.type.d.ts.map +0 -1
  163. package/dist/types/types/Hotel/IHotelOverrides.type.d.ts +0 -29
  164. package/dist/types/types/Hotel/IHotelOverrides.type.d.ts.map +0 -1
  165. package/dist/types/types/Hotel/IHotelReplica.type.d.ts +0 -57
  166. package/dist/types/types/Hotel/IHotelReplica.type.d.ts.map +0 -1
  167. package/dist/types/types/Hotel/IHotelService.type.d.ts +0 -7
  168. package/dist/types/types/Hotel/IHotelService.type.d.ts.map +0 -1
  169. package/dist/types/types/Image/IRoomstayImage.type.d.ts +0 -9
  170. package/dist/types/types/Image/IRoomstayImage.type.d.ts.map +0 -1
  171. package/dist/types/types/Maintenance/IMaintenanceStatus.type.d.ts +0 -27
  172. package/dist/types/types/Maintenance/IMaintenanceStatus.type.d.ts.map +0 -1
  173. package/dist/types/types/Media/IMedia.type.d.ts +0 -11
  174. package/dist/types/types/Media/IMedia.type.d.ts.map +0 -1
  175. package/dist/types/types/Member/IMember.type.d.ts +0 -8
  176. package/dist/types/types/Member/IMember.type.d.ts.map +0 -1
  177. package/dist/types/types/Member/IMemberVerification.type.d.ts +0 -11
  178. package/dist/types/types/Member/IMemberVerification.type.d.ts.map +0 -1
  179. package/dist/types/types/Member/IRoomstayCognitoMember.type.d.ts +0 -5
  180. package/dist/types/types/Member/IRoomstayCognitoMember.type.d.ts.map +0 -1
  181. package/dist/types/types/Member/IRoomstayMember.type.d.ts +0 -19
  182. package/dist/types/types/Member/IRoomstayMember.type.d.ts.map +0 -1
  183. package/dist/types/types/Member/IRoomstayMemberBooking.type.d.ts +0 -29
  184. package/dist/types/types/Member/IRoomstayMemberBooking.type.d.ts.map +0 -1
  185. package/dist/types/types/Member/IRoomstayMemberBookingAddress.type.d.ts +0 -10
  186. package/dist/types/types/Member/IRoomstayMemberBookingAddress.type.d.ts.map +0 -1
  187. package/dist/types/types/Member/IRoomstayMemberBookingItem.type.d.ts +0 -26
  188. package/dist/types/types/Member/IRoomstayMemberBookingItem.type.d.ts.map +0 -1
  189. package/dist/types/types/Member/IRoomstayMemberBookingProfile.type.d.ts +0 -12
  190. package/dist/types/types/Member/IRoomstayMemberBookingProfile.type.d.ts.map +0 -1
  191. package/dist/types/types/Member/IRoomstayMemberCards.type.d.ts +0 -13
  192. package/dist/types/types/Member/IRoomstayMemberCards.type.d.ts.map +0 -1
  193. package/dist/types/types/Member/IRoomstayMemberJWTData.type.d.ts +0 -4
  194. package/dist/types/types/Member/IRoomstayMemberJWTData.type.d.ts.map +0 -1
  195. package/dist/types/types/Member/ISession.type.d.ts +0 -5
  196. package/dist/types/types/Member/ISession.type.d.ts.map +0 -1
  197. package/dist/types/types/OHIP/IOHIPConfiguration.types.d.ts +0 -13
  198. package/dist/types/types/OHIP/IOHIPConfiguration.types.d.ts.map +0 -1
  199. package/dist/types/types/OHIP/index.d.ts +0 -2
  200. package/dist/types/types/OHIP/index.d.ts.map +0 -1
  201. package/dist/types/types/Package/Package.types.d.ts +0 -105
  202. package/dist/types/types/Package/Package.types.d.ts.map +0 -1
  203. package/dist/types/types/Policies/EGuaranteePolicy.enum.d.ts +0 -7
  204. package/dist/types/types/Policies/EGuaranteePolicy.enum.d.ts.map +0 -1
  205. package/dist/types/types/PromoCode/EPromoCodeDiscountType.enum.d.ts +0 -6
  206. package/dist/types/types/PromoCode/EPromoCodeDiscountType.enum.d.ts.map +0 -1
  207. package/dist/types/types/PromoCode/PromoCodeStayDateRangeType.enum.d.ts +0 -12
  208. package/dist/types/types/PromoCode/PromoCodeStayDateRangeType.enum.d.ts.map +0 -1
  209. package/dist/types/types/RMS/ERMSAuthSyncHistoryStatus.type.d.ts.map +0 -1
  210. package/dist/types/types/RMS/ERMSDiscountType.enum.d.ts +0 -7
  211. package/dist/types/types/RMS/ERMSDiscountType.enum.d.ts.map +0 -1
  212. package/dist/types/types/RMS/ERMSSyncStrategy.enum.d.ts +0 -39
  213. package/dist/types/types/RMS/ERMSSyncStrategy.enum.d.ts.map +0 -1
  214. package/dist/types/types/RMS/IRMSPropertyDiscount.type.d.ts +0 -34
  215. package/dist/types/types/RMS/IRMSPropertyDiscount.type.d.ts.map +0 -1
  216. package/dist/types/types/RMS/IRMSRequirement.type.d.ts +0 -21
  217. package/dist/types/types/RMS/IRMSRequirement.type.d.ts.map +0 -1
  218. package/dist/types/types/RMS/IRMSSyncResponse.type.d.ts +0 -9
  219. package/dist/types/types/RMS/IRMSSyncResponse.type.d.ts.map +0 -1
  220. package/dist/types/types/RMS/RMSBookingSource.type.d.ts +0 -8
  221. package/dist/types/types/RMS/RMSBookingSource.type.d.ts.map +0 -1
  222. package/dist/types/types/Room/IRoomGroup.type.d.ts +0 -19
  223. package/dist/types/types/Room/IRoomGroup.type.d.ts.map +0 -1
  224. package/dist/types/types/index.d.ts +0 -139
  225. package/dist/types/types/index.d.ts.map +0 -1
  226. package/dist/types/utils/TotalCalculator.d.ts +0 -73
  227. package/dist/types/utils/TotalCalculator.d.ts.map +0 -1
  228. package/dist/types/utils/bookingTotal.d.ts +0 -8
  229. package/dist/types/utils/bookingTotal.d.ts.map +0 -1
  230. package/dist/types/utils/calculateFee.d.ts +0 -11
  231. package/dist/types/utils/calculateFee.d.ts.map +0 -1
  232. package/dist/types/utils/feeTypes.d.ts +0 -6
  233. package/dist/types/utils/feeTypes.d.ts.map +0 -1
  234. package/dist/types/utils/index.d.ts +0 -11
  235. package/dist/types/utils/index.d.ts.map +0 -1
  236. package/dist/types/utils/reflection.d.ts +0 -10
  237. package/dist/types/utils/reflection.d.ts.map +0 -1
  238. package/dist/types/utils/roomstayImageResize.d.ts +0 -15
  239. package/dist/types/utils/roomstayImageResize.d.ts.map +0 -1
  240. package/dist/types/utils/roundMoney.d.ts +0 -11
  241. package/dist/types/utils/roundMoney.d.ts.map +0 -1
  242. package/dist/types/utils/typeUtils.d.ts +0 -2
  243. package/dist/types/utils/typeUtils.d.ts.map +0 -1
  244. package/dist/types/utils/uppercaseString.d.ts +0 -2
  245. package/dist/types/utils/uppercaseString.d.ts.map +0 -1
  246. package/dist/types/utils/zodUtils.d.ts +0 -20
  247. package/dist/types/utils/zodUtils.d.ts.map +0 -1
@@ -1,7 +0,0 @@
1
- export type IHotelService = {
2
- name: string;
3
- detail: string;
4
- onsite: boolean;
5
- included: boolean;
6
- };
7
- //# sourceMappingURL=IHotelService.type.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,9 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,27 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,11 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,8 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,11 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,5 +0,0 @@
1
- export type IRoomstayCognitoMember = {
2
- ['custom:forename']?: string;
3
- ['custom:surname']?: string;
4
- };
5
- //# sourceMappingURL=IRoomstayCognitoMember.type.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,19 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,29 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,10 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,26 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,12 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,13 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,4 +0,0 @@
1
- export type IRoomstayMemberJWTData = {
2
- 'cognito:username': string;
3
- };
4
- //# sourceMappingURL=IRoomstayMemberJWTData.type.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,5 +0,0 @@
1
- export interface ISession {
2
- id: string;
3
- hits: number;
4
- }
5
- //# sourceMappingURL=ISession.type.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,13 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
1
- export * from './IOHIPConfiguration.types';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/OHIP/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAC"}
@@ -1,105 +0,0 @@
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"Package.types.d.ts","sourceRoot":"","sources":["../../../../src/types/Package/Package.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAEzE,qBAAa,OAAO;IAChB;;OAEG;IACI,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,IAAI,EAAE,MAAM,CAAC;IAEb,WAAW,EAAE,MAAM,CAAC;IAE3B;;;OAGG;IACI,SAAS,EAAE,OAAO,CAAC;IAEnB,KAAK,EAAE,MAAM,EAAE,CAAC;IAEhB,GAAG,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;;;OAOG;IACI,WAAW,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACI,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,QAAQ,EAAE,MAAM,CAAC;IAEjB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErC,YAAY,EAAE;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAAA;KAAE,CAAM;CAC5D;AAED,qBAAa,eAAgB,SAAQ,OAAO;IACjC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,2BAA2B,EAAE,CAAC;IAE7C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,cAAc,CAAC,EAAE,OAAO,CAAS;IACjC,YAAY,CAAC,EAAE,OAAO,CAAS;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,MAAM,UAAU,GAAG;IACrB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,IAAI,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAC/B,SAAS,CAAC,EAAE,qBAAqB,EAAE,CAAC;IACpC,SAAS,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAEpC,SAAS,CAAC,EAAE,SAAS,EAAE,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACpB;;;;;QAKI;IACJ,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,WAAW,EAAE,IAAI,CAAC;IAClB,YAAY,EAAE,IAAI,CAAC;IAEnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,sBAAsB,CAAC;AAE3B,MAAM,MAAM,oBAAoB,GAAG;IAC/B,CAAC,WAAW,EAAE,MAAM,GAAG,eAAe,CAAC;CAC1C,CAAC"}
@@ -1,7 +0,0 @@
1
- export declare enum EGuaranteePolicyDepositMode {
2
- Full = "Full",
3
- Percentage = "Percentage",
4
- FirstNight = "FirstNight",
5
- None = "None"
6
- }
7
- //# sourceMappingURL=EGuaranteePolicy.enum.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,6 +0,0 @@
1
- export declare enum EPromoCodeDiscountType {
2
- FlatPercent = "flatPercent",
3
- FlatQuantity = "flatQuantity",
4
- FlatQuantityPerStay = "flatQuantityPerStay"
5
- }
6
- //# sourceMappingURL=EPromoCodeDiscountType.enum.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,12 +0,0 @@
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
@@ -1 +0,0 @@
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 +0,0 @@
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"}
@@ -1,7 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,39 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,34 +0,0 @@
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"IRMSPropertyDiscount.type.d.ts","sourceRoot":"","sources":["../../../../src/types/RMS/IRMSPropertyDiscount.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAEhB,aAAa,EAAE,MAAM,CAAC;IAEtB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,gBAAgB,CAAC;IAC/B,MAAM,CAAC,EAAE;QACP,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,UAAU,CAAC,EAAE;QACX,UAAU,EAAE,MAAM,CAAC;QACnB,aAAa,EAAE,MAAM,CAAC;QACtB,cAAc,EAAE,OAAO,CAAC;QACxB,kBAAkB,EAAE,OAAO,CAAC;QAC5B,kBAAkB,EAAE,OAAO,CAAC;KAC7B,CAAC;IACF,IAAI,CAAC,EAAE;QACL,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,gBAAgB,EAAE,MAAM,CAAC;QACzB,kBAAkB,EAAE,OAAO,CAAC;KAC7B,CAAC;IACF,mBAAmB,CAAC,EAAE;QACpB,YAAY,EAAE,MAAM,CAAC;QACrB,WAAW,EAAE,MAAM,CAAC;QACpB,kBAAkB,EAAE,OAAO,CAAC;KAC7B,CAAC;IACF,cAAc,EAAE,OAAO,CAAC;IAExB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,OAAO,CAAC;CAC7B,CAAC"}
@@ -1,21 +0,0 @@
1
- export type IRMSRequirement = {
2
- chargeDailyIncludeToDate: boolean;
3
- chargeRequiredDaily: boolean;
4
- code: string;
5
- groupingId: number;
6
- note: string;
7
- sundryId: number;
8
- unitPrice: number;
9
- useSundryAmount: boolean;
10
- feeType: string;
11
- adultAmount: number;
12
- childAmount: number;
13
- infantAmount: number;
14
- amount: number;
15
- quantity: number;
16
- requiredDaily: boolean;
17
- id: number;
18
- name: string;
19
- total: number;
20
- };
21
- //# sourceMappingURL=IRMSRequirement.type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IRMSRequirement.type.d.ts","sourceRoot":"","sources":["../../../../src/types/RMS/IRMSRequirement.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG;IAC5B,wBAAwB,EAAE,OAAO,CAAC;IAClC,mBAAmB,EAAE,OAAO,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,OAAO,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,OAAO,CAAC;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -1,9 +0,0 @@
1
- import { ERMSAuthSyncHistoryStatus } from './ERMSAuthSyncHistoryStatus.type';
2
- export type IRMSSyncResponse = {
3
- id: number;
4
- status: ERMSAuthSyncHistoryStatus;
5
- additionalData: any;
6
- syncData: string | null;
7
- syncType: string;
8
- };
9
- //# sourceMappingURL=IRMSSyncResponse.type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IRMSSyncResponse.type.d.ts","sourceRoot":"","sources":["../../../../src/types/RMS/IRMSSyncResponse.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAE7E,MAAM,MAAM,gBAAgB,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,yBAAyB,CAAC;IAClC,cAAc,EAAE,GAAG,CAAC;IACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC"}
@@ -1,8 +0,0 @@
1
- export type RMSBookingSourceType = {
2
- id: number;
3
- companyId: number;
4
- hotelId: string;
5
- name: string;
6
- code: string;
7
- };
8
- //# sourceMappingURL=RMSBookingSource.type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RMSBookingSource.type.d.ts","sourceRoot":"","sources":["../../../../src/types/RMS/RMSBookingSource.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC"}