@roomstay/core 0.1.78-2 → 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 +8 -4
  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,8 @@
1
+ import { ICommonQueryParameters } from './ICommonQueryParameters.type';
2
+ import { ItineraryResponse } from './Itinerary.types';
3
+ export type IGetBookingRequest = {
4
+ email?: string;
5
+ reservationId: string;
6
+ } & ICommonQueryParameters;
7
+ export type IGetBookingResponse = ItineraryResponse;
8
+ //# sourceMappingURL=GetBooking.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetBooking.types.d.ts","sourceRoot":"","sources":["../../../../src/types/Booking/GetBooking.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,MAAM,kBAAkB,GAAG;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;CACzB,GAAG,sBAAsB,CAAC;AAE3B,MAAM,MAAM,mBAAmB,GAAG,iBAAiB,CAAC"}
@@ -1,3 +1,4 @@
1
+ import { IPaymentCheckoutDetails } from './IBookingPayment.type';
1
2
  /**
2
3
  * This is the response body that comes down if a booking fails anywhere in the booking flow.
3
4
  *
@@ -6,6 +7,8 @@
6
7
  export type IBookingCreateErrorResponse = {
7
8
  canRetryPayment: boolean;
8
9
  isPaymentTaken: boolean;
10
+ paymentRequired?: IPaymentCheckoutDetails;
9
11
  publicMessage: string;
10
12
  roomstayId: string;
11
13
  };
14
+ //# sourceMappingURL=IBookingCreateErrorResponse.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IBookingCreateErrorResponse.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Booking/IBookingCreateErrorResponse.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAEjE;;;;GAIG;AACH,MAAM,MAAM,2BAA2B,GAAG;IACtC,eAAe,EAAE,OAAO,CAAC;IACzB,cAAc,EAAE,OAAO,CAAC;IAExB,eAAe,CAAC,EAAE,uBAAuB,CAAC;IAE1C,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;CACtB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export type IBookingExtraFields = {
2
+ perRow: {
3
+ childAges?: number[];
4
+ }[];
5
+ };
6
+ //# sourceMappingURL=IBookingExtraFields.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IBookingExtraFields.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Booking/IBookingExtraFields.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG;IAC9B,MAAM,EAAE;QACJ,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;KACxB,EAAE,CAAC;CACP,CAAC"}
@@ -0,0 +1,106 @@
1
+ export declare enum EBookingPaymentMethod {
2
+ Card = "Card",
3
+ SavedCard = "SavedCard",
4
+ Planpay = "Planpay",
5
+ Adyen = "Adyen",
6
+ Afterpay = "Afterpay",
7
+ PCIBookingCard = "PCIBookingCard",
8
+ TrueRewards = "TrueRewards"
9
+ }
10
+ /**
11
+ * This enum is used to determine which payment processor to use for the booking.
12
+ *
13
+ * Usually only applies if the payment method is Card, SavedCard, or PCIBookingCard.
14
+ *
15
+ * Other payment methods will generate their own checkout flow that will differ from this.
16
+ */
17
+ export declare enum EHotelCardProcessor {
18
+ Passthrough = "Passthrough",
19
+ Adyen = "Adyen",
20
+ Till = "Till",
21
+ RMSPay = "RMSPay",
22
+ Windcave = "Windcave",
23
+ Mastercard = "Mastercard",
24
+ Stripe = "Stripe",
25
+ PayPal = "PayPal"
26
+ }
27
+ export declare enum EPlanpayBookingStatus {
28
+ Unknown = "unknown",// incase plan.deposit.status is unavailable
29
+ Unpaid = "unpaid",
30
+ Accepted = "accepted",
31
+ Cancelled = "cancelled",
32
+ Refunded = "refunded",
33
+ Rejected = "rejected"
34
+ }
35
+ export declare const PCIBookingCardProcessorTypes: any[];
36
+ export type PCIBookingCardProcessorType = undefined;
37
+ export type IBookingPaymentTokenizedCard = {
38
+ Type: string;
39
+ Number: string;
40
+ Expiry: number;
41
+ CVV: string;
42
+ Name: string;
43
+ };
44
+ type IPCIBookingCardNotificationData = {
45
+ CaptureCardRequestID: string;
46
+ CaptureCardRequestStatus: string;
47
+ CardUri: string;
48
+ };
49
+ /**
50
+ * Booking payment attached to a booking.
51
+ *
52
+ * Could be either Card or Planpay
53
+ */
54
+ export type IBookingPayment = {
55
+ Method: EBookingPaymentMethod;
56
+ SavedCardID?: string;
57
+ PlanpayCheckoutId?: string;
58
+ PaymentCard?: IBookingPaymentTokenizedCard;
59
+ PCICardDetails?: IPCIBookingCardNotificationData;
60
+ RedirectUrl?: string;
61
+ SplitPaymentAmount?: number;
62
+ };
63
+ export type IPaymentCheckoutDetails = {
64
+ planpay?: {
65
+ id: string;
66
+ checkoutWorkflow: {
67
+ type: string;
68
+ id: string;
69
+ scriptUrl: string;
70
+ };
71
+ };
72
+ external?: {
73
+ id: string;
74
+ redirectUrl: string;
75
+ };
76
+ adyen?: {
77
+ roomstayId: string;
78
+ sessionData: string;
79
+ sessionId: string;
80
+ clientKey: string;
81
+ isLive: boolean;
82
+ currency: string;
83
+ amount: string;
84
+ countryCode: string;
85
+ };
86
+ mastercard?: {
87
+ sessionId: string;
88
+ paymentMode: 'EmbeddedPage' | 'PaymentPage';
89
+ baseUrl: string;
90
+ };
91
+ stripe?: {
92
+ clientSecret: string;
93
+ publishableApiKey: string;
94
+ successUrl: string;
95
+ };
96
+ paypal?: {
97
+ orderId: string;
98
+ clientId: string;
99
+ successUrl: string;
100
+ currencyCode: string;
101
+ };
102
+ isSplitPayment?: boolean;
103
+ totalAuthorizedAmount?: number;
104
+ };
105
+ export {};
106
+ //# sourceMappingURL=IBookingPayment.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IBookingPayment.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Booking/IBookingPayment.type.ts"],"names":[],"mappings":"AAAA,oBAAY,qBAAqB;IAC7B,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,QAAQ,aAAa;IACrB,cAAc,mBAAmB;IACjC,WAAW,gBAAgB;CAC9B;AAED;;;;;;GAMG;AACH,oBAAY,mBAAmB;IAC3B,WAAW,gBAAgB;IAC3B,KAAK,UAAU;IACf,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,MAAM,WAAW;CACpB;AAED,oB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,CAAC;QACnB,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,OAAO,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,MAAM,CAAC;QACf,WAAW,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,UAAU,CAAC,EAAE;QACT,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,cAAc,GAAG,aAAa,CAAC;QAC5C,OAAO,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,MAAM,CAAC,EAAE;QACL,YAAY,EAAE,MAAM,CAAC;QACrB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,UAAU,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,MAAM,CAAC,EAAE;QACL,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;QACnB,YAAY,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC"}
@@ -0,0 +1,31 @@
1
+ export type IBookingQuoteRequest = {
2
+ rows: {
3
+ rowId: string;
4
+ rateCode: string;
5
+ roomCode: string;
6
+ adults?: number;
7
+ children?: number;
8
+ infants?: number;
9
+ promoCode?: string;
10
+ /**
11
+ * Example format "2023-10-22 10:00:00"
12
+ */
13
+ checkIn: string;
14
+ /**
15
+ * Example format "2023-10-22 10:00:00"
16
+ */
17
+ checkOut: string;
18
+ memberNumber?: string;
19
+ totalDisplayedPrice?: number;
20
+ }[];
21
+ };
22
+ export type IBookingQuoteResponse = {
23
+ rows: {
24
+ rowId: string;
25
+ totalRate: number;
26
+ totalDeposit: number;
27
+ totalFees: number;
28
+ quoteId: number;
29
+ }[];
30
+ } | null;
31
+ //# sourceMappingURL=IBookingQuote.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IBookingQuote.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Booking/IBookingQuote.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG;IAC/B,IAAI,EAAE;QACF,KAAK,EAAE,MAAM,CAAC;QAEd,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QAEjB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAChB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QACjB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;KAChC,EAAE,CAAC;CACP,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAChC,IAAI,EAAE;QACF,KAAK,EAAE,MAAM,CAAC;QAEd,SAAS,EAAE,MAAM,CAAC;QAClB,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;QAElB,OAAO,EAAE,MAAM,CAAC;KACnB,EAAE,CAAC;CACP,GAAG,IAAI,CAAC"}
@@ -0,0 +1,4 @@
1
+ export type ICommonQueryParameters = {
2
+ language?: string;
3
+ };
4
+ //# sourceMappingURL=ICommonQueryParameters.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ICommonQueryParameters.type.d.ts","sourceRoot":"","sources":["../../../../src/types/Booking/ICommonQueryParameters.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC"}
@@ -0,0 +1,100 @@
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
@@ -0,0 +1 @@
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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AAM,CAAC;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"}
@@ -0,0 +1,20 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,90 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlaceBooking.types.d.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AAS,CAAC,EAAE,MAAM,CAAC;QACnB,WAAW,CAAC,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,cAAc,EAAE,OAAO,CAAC;IACxB,SAAS,EAAE;QAAE,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CAC/C,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACnC,GAAG,EAAE;QACD,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;QAC3B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;KAC7B,CAAC;IACF,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,CAAC"}
@@ -0,0 +1,9 @@
1
+ export declare enum ECompanyProvider {
2
+ Synxis = "Synxis",
3
+ Availpro = "Availpro",
4
+ RMS = "RMS",
5
+ Siteminder = "Siteminder",
6
+ Roomstay = "Roomstay",
7
+ OHIP = "OHIP"
8
+ }
9
+ //# sourceMappingURL=ECompanyProvider.enum.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,47 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,16 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,5 @@
1
+ export declare enum ERoomstayEventSource {
2
+ Eventbrite = "eventbrite",
3
+ ATDW = "atdw"
4
+ }
5
+ //# sourceMappingURL=ERoomstayEventSource.enum.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,51 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,8 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,12 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,7 @@
1
+ export interface IFeeConfigurationOptions {
2
+ includeInRates: boolean;
3
+ extractFeeFromRates: boolean;
4
+ appliesToAddons: boolean;
5
+ includePreviousFeesInCalculation: boolean;
6
+ }
7
+ //# sourceMappingURL=IFeeConfigurationOptions.type.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export declare const DATE_FORMAT = "DD/MM/YYYY";
2
+ //# sourceMappingURL=Format.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Format.types.d.ts","sourceRoot":"","sources":["../../../../src/types/General/Format.types.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,eAAe,CAAC"}
@@ -0,0 +1,10 @@
1
+ export declare enum HttpMethod {
2
+ GET = "GET",
3
+ POST = "POST",
4
+ PUT = "PUT",
5
+ DELETE = "DELETE",
6
+ PATCH = "PATCH",
7
+ OPTIONS = "OPTIONS",
8
+ HEAD = "HEAD"
9
+ }
10
+ //# sourceMappingURL=HttpMethod.enum.d.ts.map