@bondsports/types 2.2.279-team-b-2 → 2.2.279-team-b-4

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 (462) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/accounting/entities/index.d.ts +2 -0
  3. package/dist/types/accounting/entities/index.js +19 -0
  4. package/dist/types/accounting/entities/index.js.map +1 -0
  5. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.d.ts +9 -0
  6. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js +8 -0
  7. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js.map +1 -0
  8. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.d.ts +14 -0
  9. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js +8 -0
  10. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js.map +1 -0
  11. package/dist/types/accounting/index.d.ts +2 -0
  12. package/dist/types/accounting/index.js +19 -0
  13. package/dist/types/accounting/index.js.map +1 -0
  14. package/dist/types/accounting/types/enums/accounting.enums.d.ts +14 -0
  15. package/dist/types/accounting/types/enums/accounting.enums.js +20 -0
  16. package/dist/types/accounting/types/enums/accounting.enums.js.map +1 -0
  17. package/dist/types/accounting/types/enums/index.d.ts +1 -0
  18. package/dist/types/{membership/interfaces → accounting/types/enums}/index.js +1 -1
  19. package/dist/types/accounting/types/enums/index.js.map +1 -0
  20. package/dist/types/accounting/types/index.js.map +1 -0
  21. package/dist/types/address/dto/address.dto.d.ts +9 -0
  22. package/dist/types/address/dto/address.dto.js +7 -0
  23. package/dist/types/address/dto/address.dto.js.map +1 -0
  24. package/dist/types/address/dto/index.d.ts +1 -0
  25. package/dist/types/address/dto/index.js +18 -0
  26. package/dist/types/address/dto/index.js.map +1 -0
  27. package/dist/types/{entity → address/entities}/Address.d.ts +1 -1
  28. package/dist/types/{entity → address/entities}/Address.js +1 -1
  29. package/dist/types/address/entities/Address.js.map +1 -0
  30. package/dist/types/address/entities/index.d.ts +1 -0
  31. package/dist/types/address/entities/index.js +18 -0
  32. package/dist/types/address/entities/index.js.map +1 -0
  33. package/dist/types/address/index.d.ts +2 -0
  34. package/dist/types/address/index.js +2 -0
  35. package/dist/types/address/index.js.map +1 -1
  36. package/dist/types/cart/dto/cart.dto.d.ts +65 -2
  37. package/dist/types/cart/dto/cart.dto.js +28 -1
  38. package/dist/types/cart/dto/cart.dto.js.map +1 -1
  39. package/dist/types/cart/entities/cart-item.entity.d.ts +8 -0
  40. package/dist/types/cart/entities/cart-item.entity.js.map +1 -1
  41. package/dist/types/cart/entities/cart.entity.d.ts +1 -1
  42. package/dist/types/cart/entities/cart.entity.js.map +1 -1
  43. package/dist/types/cart/types/classes/cart.classes.d.ts +9 -0
  44. package/dist/types/cart/types/classes/cart.classes.js +7 -0
  45. package/dist/types/cart/types/classes/cart.classes.js.map +1 -0
  46. package/dist/types/cart/types/classes/index.d.ts +1 -0
  47. package/dist/types/cart/types/classes/index.js +18 -0
  48. package/dist/types/cart/types/classes/index.js.map +1 -0
  49. package/dist/types/cart/types/index.d.ts +1 -0
  50. package/dist/types/cart/types/index.js +1 -0
  51. package/dist/types/cart/types/index.js.map +1 -1
  52. package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +63 -1
  53. package/dist/types/customers/dto/customer-response.dto.d.ts +5 -0
  54. package/dist/types/customers/dto/customer-response.dto.js +4 -1
  55. package/dist/types/customers/dto/customer-response.dto.js.map +1 -1
  56. package/dist/types/customers/dto/full-customer.dto.d.ts +1 -1
  57. package/dist/types/customers/dto/full-customer.dto.js.map +1 -1
  58. package/dist/types/customers/types/consts/customers.consts.d.ts +1 -0
  59. package/dist/types/customers/types/consts/customers.consts.js +5 -2
  60. package/dist/types/customers/types/consts/customers.consts.js.map +1 -1
  61. package/dist/types/customers/types/interfaces.d.ts +10 -1
  62. package/dist/types/dto/activityTimes.dto.d.ts +10 -0
  63. package/dist/types/dto/activityTimes.dto.js +4 -1
  64. package/dist/types/dto/activityTimes.dto.js.map +1 -1
  65. package/dist/types/dto/events.dto.d.ts +4 -2
  66. package/dist/types/dto/events.dto.js.map +1 -1
  67. package/dist/types/dto/facilities.dto.d.ts +2 -9
  68. package/dist/types/dto/facilities.dto.js +1 -4
  69. package/dist/types/dto/facilities.dto.js.map +1 -1
  70. package/dist/types/dto/general.dto.d.ts +11 -5
  71. package/dist/types/dto/general.dto.js +4 -2
  72. package/dist/types/dto/general.dto.js.map +1 -1
  73. package/dist/types/dto/groupsDivisions.dto.d.ts +15 -2
  74. package/dist/types/dto/groupsDivisions.dto.js +6 -3
  75. package/dist/types/dto/groupsDivisions.dto.js.map +1 -1
  76. package/dist/types/dto/membership.dto.d.ts +17 -1
  77. package/dist/types/dto/membership.dto.js.map +1 -1
  78. package/dist/types/dto/product-user.d.ts +10 -0
  79. package/dist/types/dto/product-user.js +7 -1
  80. package/dist/types/dto/product-user.js.map +1 -1
  81. package/dist/types/dto/product-variants.dto.d.ts +2 -14
  82. package/dist/types/dto/product-variants.dto.js +2 -5
  83. package/dist/types/dto/product-variants.dto.js.map +1 -1
  84. package/dist/types/dto/userPaymentMethod.dto.d.ts +4 -0
  85. package/dist/types/dto/userPaymentMethod.dto.js +4 -1
  86. package/dist/types/dto/userPaymentMethod.dto.js.map +1 -1
  87. package/dist/types/employees/dto/employee.dto.d.ts +20 -5
  88. package/dist/types/employees/dto/employee.dto.js +8 -1
  89. package/dist/types/employees/dto/employee.dto.js.map +1 -1
  90. package/dist/types/employees/types/consts/index.d.ts +3 -0
  91. package/dist/types/employees/types/consts/index.js +25 -0
  92. package/dist/types/employees/types/consts/index.js.map +1 -0
  93. package/dist/types/employees/types/index.d.ts +1 -0
  94. package/dist/types/employees/types/index.js +1 -0
  95. package/dist/types/employees/types/index.js.map +1 -1
  96. package/dist/types/entity/ActivityTimes.d.ts +4 -3
  97. package/dist/types/entity/ActivityTimes.js.map +1 -1
  98. package/dist/types/entity/Customer.d.ts +3 -1
  99. package/dist/types/entity/Customer.js.map +1 -1
  100. package/dist/types/entity/EventAttendees.d.ts +6 -6
  101. package/dist/types/entity/EventAttendees.js.map +1 -1
  102. package/dist/types/entity/EventHistory.d.ts +1 -1
  103. package/dist/types/entity/EventHistory.js.map +1 -1
  104. package/dist/types/entity/Events.js.map +1 -1
  105. package/dist/types/entity/Facility.d.ts +1 -1
  106. package/dist/types/entity/LineItems.d.ts +3 -0
  107. package/dist/types/entity/LineItems.js.map +1 -1
  108. package/dist/types/entity/MembershipMember.d.ts +11 -0
  109. package/dist/types/entity/MembershipMember.js.map +1 -1
  110. package/dist/types/entity/PackageV1.d.ts +2 -0
  111. package/dist/types/entity/PackageV1.js.map +1 -1
  112. package/dist/types/entity/index.d.ts +0 -2
  113. package/dist/types/entity/index.js +0 -2
  114. package/dist/types/entity/index.js.map +1 -1
  115. package/dist/types/facilities/index.d.ts +1 -0
  116. package/dist/types/facilities/index.js +18 -0
  117. package/dist/types/facilities/index.js.map +1 -0
  118. package/dist/types/facilities/types/facilities.types.d.ts +4 -0
  119. package/dist/types/facilities/types/facilities.types.js +3 -0
  120. package/dist/types/facilities/types/facilities.types.js.map +1 -0
  121. package/dist/types/facilities/types/index.d.ts +1 -0
  122. package/dist/types/facilities/types/index.js +18 -0
  123. package/dist/types/facilities/types/index.js.map +1 -0
  124. package/dist/types/folders/dto/folder.dto.d.ts +58 -0
  125. package/dist/types/folders/dto/folder.dto.js +34 -0
  126. package/dist/types/folders/dto/folder.dto.js.map +1 -0
  127. package/dist/types/folders/dto/index.d.ts +1 -0
  128. package/dist/types/folders/dto/index.js +18 -0
  129. package/dist/types/folders/dto/index.js.map +1 -0
  130. package/dist/types/folders/entities/folder-content.entity.d.ts +12 -0
  131. package/dist/types/folders/entities/folder-content.entity.js +14 -0
  132. package/dist/types/folders/entities/folder-content.entity.js.map +1 -0
  133. package/dist/types/folders/entities/folder-invite.entity.d.ts +8 -0
  134. package/dist/types/folders/entities/folder-invite.entity.js +8 -0
  135. package/dist/types/folders/entities/folder-invite.entity.js.map +1 -0
  136. package/dist/types/folders/entities/folder.entity.d.ts +21 -0
  137. package/dist/types/folders/entities/folder.entity.js +12 -0
  138. package/dist/types/folders/entities/folder.entity.js.map +1 -0
  139. package/dist/types/folders/entities/index.d.ts +3 -0
  140. package/dist/types/folders/entities/index.js +20 -0
  141. package/dist/types/folders/entities/index.js.map +1 -0
  142. package/dist/types/folders/index.d.ts +2 -0
  143. package/dist/types/folders/index.js +19 -0
  144. package/dist/types/folders/index.js.map +1 -0
  145. package/dist/types/import/dto/reservation.dto.js.map +1 -1
  146. package/dist/types/index.d.ts +5 -0
  147. package/dist/types/index.js +5 -0
  148. package/dist/types/index.js.map +1 -1
  149. package/dist/types/invoice/dto/invoice.dto.d.ts +19 -0
  150. package/dist/types/invoice/dto/invoice.dto.js +5 -1
  151. package/dist/types/invoice/dto/invoice.dto.js.map +1 -1
  152. package/dist/types/invoice/types/consts/invoice.consts.d.ts +10 -0
  153. package/dist/types/invoice/types/consts/invoice.consts.js +10 -1
  154. package/dist/types/invoice/types/consts/invoice.consts.js.map +1 -1
  155. package/dist/types/invoice/types/interfaces/index.d.ts +1 -0
  156. package/dist/types/invoice/types/interfaces/index.js +1 -0
  157. package/dist/types/invoice/types/interfaces/index.js.map +1 -1
  158. package/dist/types/invoice/types/interfaces/invoice.interfaces.d.ts +5 -1
  159. package/dist/types/invoice/types/interfaces/invoice.interfaces.js.map +1 -1
  160. package/dist/types/invoice/types/interfaces/line-item.interfaces.d.ts +7 -0
  161. package/dist/types/invoice/types/interfaces/line-item.interfaces.js +3 -0
  162. package/dist/types/invoice/types/interfaces/line-item.interfaces.js.map +1 -0
  163. package/dist/types/membership/dto/expendedMembership.dto.d.ts +15 -0
  164. package/dist/types/membership/dto/expendedMembership.dto.js +7 -0
  165. package/dist/types/membership/dto/expendedMembership.dto.js.map +1 -0
  166. package/dist/types/membership/dto/index.d.ts +2 -0
  167. package/dist/types/membership/dto/index.js +19 -0
  168. package/dist/types/membership/dto/index.js.map +1 -0
  169. package/dist/types/membership/dto/membershipMember.dto.d.ts +103 -0
  170. package/dist/types/membership/dto/membershipMember.dto.js +45 -0
  171. package/dist/types/membership/dto/membershipMember.dto.js.map +1 -0
  172. package/dist/types/membership/entities/MembershipMemberRenewal.d.ts +9 -0
  173. package/dist/types/membership/entities/MembershipMemberRenewal.js.map +1 -1
  174. package/dist/types/membership/index.d.ts +2 -1
  175. package/dist/types/membership/index.js +2 -1
  176. package/dist/types/membership/index.js.map +1 -1
  177. package/dist/types/membership/types/index.d.ts +5 -0
  178. package/dist/types/membership/types/index.js +22 -0
  179. package/dist/types/membership/types/index.js.map +1 -0
  180. package/dist/types/membership/{interfaces → types}/membership.interfaces.d.ts +19 -0
  181. package/dist/types/membership/types/membership.interfaces.js.map +1 -0
  182. package/dist/types/membership/types/membership.member.classes.d.ts +14 -0
  183. package/dist/types/membership/types/membership.member.classes.js +7 -0
  184. package/dist/types/membership/types/membership.member.classes.js.map +1 -0
  185. package/dist/types/membership/types/membership.member.consts.d.ts +3 -0
  186. package/dist/types/membership/types/membership.member.consts.js +8 -0
  187. package/dist/types/membership/types/membership.member.consts.js.map +1 -0
  188. package/dist/types/membership/types/membership.members.interfaces.d.ts +86 -0
  189. package/dist/types/membership/types/membership.members.interfaces.js +3 -0
  190. package/dist/types/membership/types/membership.members.interfaces.js.map +1 -0
  191. package/dist/types/membership/types/membership.members.types.d.ts +4 -0
  192. package/dist/types/membership/types/membership.members.types.js +3 -0
  193. package/dist/types/membership/types/membership.members.types.js.map +1 -0
  194. package/dist/types/notifications/dto/index.d.ts +1 -0
  195. package/dist/types/notifications/dto/index.js +1 -0
  196. package/dist/types/notifications/dto/index.js.map +1 -1
  197. package/dist/types/notifications/dto/notification.create.dto.d.ts +6 -6
  198. package/dist/types/notifications/dto/notification.create.dto.js +6 -6
  199. package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
  200. package/dist/types/notifications/dto/notification.response.dto.d.ts +3 -3
  201. package/dist/types/notifications/dto/notification.response.dto.js.map +1 -1
  202. package/dist/types/notifications/dto/types/enums/index.js.map +1 -0
  203. package/dist/types/notifications/dto/types/enums/notification.enums.d.ts +2 -0
  204. package/dist/types/notifications/dto/types/enums/notification.enums.js +8 -0
  205. package/dist/types/notifications/dto/types/enums/notification.enums.js.map +1 -0
  206. package/dist/types/notifications/dto/types/index.d.ts +1 -0
  207. package/dist/types/notifications/dto/types/index.js +18 -0
  208. package/dist/types/notifications/dto/types/index.js.map +1 -0
  209. package/dist/types/notifications/index.d.ts +0 -1
  210. package/dist/types/notifications/index.js +0 -1
  211. package/dist/types/notifications/index.js.map +1 -1
  212. package/dist/types/online-rentals/index.d.ts +1 -0
  213. package/dist/types/online-rentals/index.js +18 -0
  214. package/dist/types/online-rentals/index.js.map +1 -0
  215. package/dist/types/online-rentals/types/index.d.ts +2 -0
  216. package/dist/types/online-rentals/types/index.js +19 -0
  217. package/dist/types/online-rentals/types/index.js.map +1 -0
  218. package/dist/types/online-rentals/types/online-rentals.classes.d.ts +21 -0
  219. package/dist/types/online-rentals/types/online-rentals.classes.js +10 -0
  220. package/dist/types/online-rentals/types/online-rentals.classes.js.map +1 -0
  221. package/dist/types/online-rentals/types/online-rentals.dto.d.ts +61 -0
  222. package/dist/types/online-rentals/types/online-rentals.dto.js +36 -0
  223. package/dist/types/online-rentals/types/online-rentals.dto.js.map +1 -0
  224. package/dist/types/organization/entities/Organization.d.ts +1 -1
  225. package/dist/types/organization/interfaces/index.d.ts +1 -0
  226. package/dist/types/organization/interfaces/index.js +1 -0
  227. package/dist/types/organization/interfaces/index.js.map +1 -1
  228. package/dist/types/organization/interfaces/reason.interfaces.d.ts +6 -0
  229. package/dist/types/organization/interfaces/reason.interfaces.js +3 -0
  230. package/dist/types/organization/interfaces/reason.interfaces.js.map +1 -0
  231. package/dist/types/payment/dto/payment-method.dto.d.ts +12 -3
  232. package/dist/types/payment/dto/payment-method.dto.js +4 -1
  233. package/dist/types/payment/dto/payment-method.dto.js.map +1 -1
  234. package/dist/types/payment/dto/payment-plan.dto.d.ts +6 -4
  235. package/dist/types/payment/dto/payment-plan.dto.js.map +1 -1
  236. package/dist/types/payment/entities/PaymentFailures.d.ts +1 -0
  237. package/dist/types/payment/entities/PaymentFailures.js.map +1 -1
  238. package/dist/types/payment/entities/ProductPaymentPlan.d.ts +3 -2
  239. package/dist/types/payment/entities/ProductPaymentPlan.js.map +1 -1
  240. package/dist/types/payment/types/consts/payment.consts.d.ts +1 -0
  241. package/dist/types/payment/types/consts/payment.consts.js +5 -1
  242. package/dist/types/payment/types/consts/payment.consts.js.map +1 -1
  243. package/dist/types/payment/types/enums/payment-plan.enums.d.ts +0 -7
  244. package/dist/types/payment/types/enums/payment-plan.enums.js +1 -9
  245. package/dist/types/payment/types/enums/payment-plan.enums.js.map +1 -1
  246. package/dist/types/payment/types/enums/payment.enums.d.ts +4 -2
  247. package/dist/types/payment/types/enums/payment.enums.js +2 -0
  248. package/dist/types/payment/types/enums/payment.enums.js.map +1 -1
  249. package/dist/types/payment/types/interfaces/discount.interfaces.d.ts +1 -1
  250. package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +16 -0
  251. package/dist/types/pricing/dto/price.dto.d.ts +3 -1
  252. package/dist/types/pricing/dto/price.dto.js.map +1 -1
  253. package/dist/types/pricing/dto/pricing.dto.d.ts +2 -2
  254. package/dist/types/pricing/entities/Price.d.ts +3 -2
  255. package/dist/types/pricing/entities/Price.js.map +1 -1
  256. package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +1 -0
  257. package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
  258. package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +1 -0
  259. package/dist/types/programs/dto/program.dto.d.ts +5 -2
  260. package/dist/types/programs/dto/program.dto.js +4 -1
  261. package/dist/types/programs/dto/program.dto.js.map +1 -1
  262. package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +23 -0
  263. package/dist/types/programs-seasons/dto/program-seasons.dto.js +10 -1
  264. package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
  265. package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +3 -1
  266. package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
  267. package/dist/types/programs-seasons/types/enums/index.d.ts +1 -0
  268. package/dist/types/programs-seasons/types/enums/index.js +18 -0
  269. package/dist/types/programs-seasons/types/enums/index.js.map +1 -0
  270. package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +8 -0
  271. package/dist/types/programs-seasons/types/enums/program-season.enums.js +14 -0
  272. package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +1 -0
  273. package/dist/types/programs-seasons/types/index.d.ts +1 -0
  274. package/dist/types/programs-seasons/types/index.js +1 -0
  275. package/dist/types/programs-seasons/types/index.js.map +1 -1
  276. package/dist/types/programs-seasons/types/interfaces/program-season.interfaces.d.ts +18 -1
  277. package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +11 -0
  278. package/dist/types/punch-pass/dto/punch-pass.dto.js +5 -1
  279. package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
  280. package/dist/types/purchase/dto/purchase.dto.d.ts +4 -0
  281. package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
  282. package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +5 -3
  283. package/dist/types/reservations/dto/addon.dto.d.ts +17 -5
  284. package/dist/types/reservations/dto/addon.dto.js +4 -1
  285. package/dist/types/reservations/dto/addon.dto.js.map +1 -1
  286. package/dist/types/reservations/dto/maintenance.dto.d.ts +2 -1
  287. package/dist/types/reservations/dto/maintenance.dto.js.map +1 -1
  288. package/dist/types/reservations/dto/reservation.dto.d.ts +163 -24
  289. package/dist/types/reservations/dto/reservation.dto.js +83 -7
  290. package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
  291. package/dist/types/reservations/dto/segment.dto.d.ts +5 -4
  292. package/dist/types/reservations/dto/segment.dto.js.map +1 -1
  293. package/dist/types/reservations/dto/series.dto.d.ts +7 -4
  294. package/dist/types/reservations/dto/series.dto.js.map +1 -1
  295. package/dist/types/reservations/dto/slot.dto.d.ts +63 -18
  296. package/dist/types/reservations/dto/slot.dto.js +19 -4
  297. package/dist/types/reservations/dto/slot.dto.js.map +1 -1
  298. package/dist/types/reservations/dto/v1.reservation.dto.d.ts +1 -0
  299. package/dist/types/reservations/dto/v1.reservation.dto.js.map +1 -1
  300. package/dist/types/reservations/entities/SlotToResource.d.ts +4 -0
  301. package/dist/types/reservations/entities/SlotToResource.js.map +1 -1
  302. package/dist/types/reservations/entities/addon.entity.d.ts +1 -0
  303. package/dist/types/reservations/entities/addon.entity.js.map +1 -1
  304. package/dist/types/reservations/entities/reservation.entity.d.ts +6 -7
  305. package/dist/types/reservations/entities/reservation.entity.js.map +1 -1
  306. package/dist/types/reservations/entities/slot.entity.d.ts +10 -3
  307. package/dist/types/reservations/entities/slot.entity.js.map +1 -1
  308. package/dist/types/reservations/types/classes/addon.classes.d.ts +21 -0
  309. package/dist/types/reservations/types/classes/addon.classes.js +7 -0
  310. package/dist/types/reservations/types/classes/addon.classes.js.map +1 -0
  311. package/dist/types/reservations/types/classes/index.d.ts +7 -0
  312. package/dist/types/reservations/types/classes/index.js +24 -0
  313. package/dist/types/reservations/types/classes/index.js.map +1 -0
  314. package/dist/types/reservations/types/classes/maintenance.classes.d.ts +8 -0
  315. package/dist/types/reservations/types/classes/maintenance.classes.js +7 -0
  316. package/dist/types/reservations/types/classes/maintenance.classes.js.map +1 -0
  317. package/dist/types/reservations/types/classes/product.classes.d.ts +16 -0
  318. package/dist/types/reservations/types/classes/product.classes.js +10 -0
  319. package/dist/types/reservations/types/classes/product.classes.js.map +1 -0
  320. package/dist/types/reservations/types/classes/reservation.classes.d.ts +58 -0
  321. package/dist/types/reservations/types/classes/reservation.classes.js +10 -0
  322. package/dist/types/reservations/types/classes/reservation.classes.js.map +1 -0
  323. package/dist/types/reservations/types/classes/segment.classes.d.ts +32 -0
  324. package/dist/types/reservations/types/classes/segment.classes.js +10 -0
  325. package/dist/types/reservations/types/classes/segment.classes.js.map +1 -0
  326. package/dist/types/reservations/types/classes/series.classes.d.ts +27 -0
  327. package/dist/types/reservations/types/classes/series.classes.js +7 -0
  328. package/dist/types/reservations/types/classes/series.classes.js.map +1 -0
  329. package/dist/types/reservations/types/classes/slot.classes.d.ts +69 -0
  330. package/dist/types/reservations/types/classes/slot.classes.js +11 -0
  331. package/dist/types/reservations/types/classes/slot.classes.js.map +1 -0
  332. package/dist/types/reservations/types/consts/index.d.ts +1 -0
  333. package/dist/types/reservations/types/consts/index.js +1 -0
  334. package/dist/types/reservations/types/consts/index.js.map +1 -1
  335. package/dist/types/reservations/types/consts/reservation.consts.d.ts +11 -1
  336. package/dist/types/reservations/types/consts/reservation.consts.js +11 -1
  337. package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
  338. package/dist/types/reservations/types/consts/slot.consts.d.ts +1 -0
  339. package/dist/types/reservations/types/consts/slot.consts.js +5 -0
  340. package/dist/types/reservations/types/consts/slot.consts.js.map +1 -0
  341. package/dist/types/reservations/types/enums/reservation.enums.d.ts +2 -1
  342. package/dist/types/reservations/types/enums/reservation.enums.js +1 -0
  343. package/dist/types/reservations/types/enums/reservation.enums.js.map +1 -1
  344. package/dist/types/reservations/types/index.d.ts +1 -0
  345. package/dist/types/reservations/types/index.js +1 -0
  346. package/dist/types/reservations/types/index.js.map +1 -1
  347. package/dist/types/reservations/types/interfaces/addon.interfaces.d.ts +18 -2
  348. package/dist/types/reservations/types/interfaces/index.d.ts +2 -0
  349. package/dist/types/reservations/types/interfaces/index.js +2 -0
  350. package/dist/types/reservations/types/interfaces/index.js.map +1 -1
  351. package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +140 -18
  352. package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
  353. package/dist/types/reservations/types/interfaces/segment.interfaces.d.ts +29 -0
  354. package/dist/types/reservations/types/interfaces/segment.interfaces.js +3 -0
  355. package/dist/types/reservations/types/interfaces/segment.interfaces.js.map +1 -0
  356. package/dist/types/reservations/types/interfaces/series.interfaces.d.ts +32 -0
  357. package/dist/types/reservations/types/interfaces/series.interfaces.js +3 -0
  358. package/dist/types/reservations/types/interfaces/series.interfaces.js.map +1 -0
  359. package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +58 -25
  360. package/dist/types/reservations/types/interfaces/slot.interfaces.js +4 -0
  361. package/dist/types/reservations/types/interfaces/slot.interfaces.js.map +1 -1
  362. package/dist/types/reservations/types/reservation.types.d.ts +23 -11
  363. package/dist/types/resources/dto/instructor.dto.d.ts +1 -1
  364. package/dist/types/resources/dto/instructor.dto.js.map +1 -1
  365. package/dist/types/resources/entities/Instructor.d.ts +2 -2
  366. package/dist/types/resources/entities/Instructor.js.map +1 -1
  367. package/dist/types/resources/entities/Space.d.ts +1 -1
  368. package/dist/types/resources/entities/Space.js.map +1 -1
  369. package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +5 -0
  370. package/dist/types/roles/dto/permission-group.dto.d.ts +4 -0
  371. package/dist/types/roles/dto/permission-group.dto.js +8 -1
  372. package/dist/types/roles/dto/permission-group.dto.js.map +1 -1
  373. package/dist/types/roles/dto/role.dto.d.ts +27 -12
  374. package/dist/types/roles/dto/role.dto.js +23 -5
  375. package/dist/types/roles/dto/role.dto.js.map +1 -1
  376. package/dist/types/roles/entities/Role.d.ts +3 -2
  377. package/dist/types/roles/entities/Role.js.map +1 -1
  378. package/dist/types/roles/entities/index.d.ts +6 -0
  379. package/dist/types/roles/entities/index.js +10 -0
  380. package/dist/types/roles/entities/index.js.map +1 -1
  381. package/dist/types/roles/types/index.d.ts +1 -0
  382. package/dist/types/roles/types/index.js +1 -0
  383. package/dist/types/roles/types/index.js.map +1 -1
  384. package/dist/types/roles/types/role.consts.d.ts +1 -0
  385. package/dist/types/roles/types/role.consts.js +6 -0
  386. package/dist/types/roles/types/role.consts.js.map +1 -0
  387. package/dist/types/roles/types/role.enums.d.ts +13 -2
  388. package/dist/types/roles/types/role.enums.js +13 -1
  389. package/dist/types/roles/types/role.enums.js.map +1 -1
  390. package/dist/types/services/enums.service.d.ts +27 -2
  391. package/dist/types/services/enums.service.js +32 -3
  392. package/dist/types/services/enums.service.js.map +1 -1
  393. package/dist/types/services/interfaces.service.d.ts +15 -3
  394. package/dist/types/services/interfaces.service.js.map +1 -1
  395. package/dist/types/session-participants/dto/get.session.participant.dto.d.ts +22 -0
  396. package/dist/types/session-participants/dto/get.session.participant.dto.js +18 -0
  397. package/dist/types/session-participants/dto/get.session.participant.dto.js.map +1 -0
  398. package/dist/types/session-participants/dto/index.d.ts +2 -0
  399. package/dist/types/session-participants/dto/index.js +19 -0
  400. package/dist/types/session-participants/dto/index.js.map +1 -0
  401. package/dist/types/session-participants/dto/session.participant.dto.d.ts +45 -0
  402. package/dist/types/session-participants/dto/session.participant.dto.js +10 -0
  403. package/dist/types/session-participants/dto/session.participant.dto.js.map +1 -0
  404. package/dist/types/session-participants/index.d.ts +2 -0
  405. package/dist/types/session-participants/index.js +19 -0
  406. package/dist/types/session-participants/index.js.map +1 -0
  407. package/dist/types/session-participants/types/consts.d.ts +3 -0
  408. package/dist/types/session-participants/types/consts.js +7 -0
  409. package/dist/types/session-participants/types/consts.js.map +1 -0
  410. package/dist/types/session-participants/types/enums.d.ts +17 -0
  411. package/dist/types/session-participants/types/enums.js +24 -0
  412. package/dist/types/session-participants/types/enums.js.map +1 -0
  413. package/dist/types/session-participants/types/index.d.ts +3 -0
  414. package/dist/types/session-participants/types/index.js +20 -0
  415. package/dist/types/session-participants/types/index.js.map +1 -0
  416. package/dist/types/session-participants/types/interfaces.d.ts +46 -0
  417. package/dist/types/session-participants/types/interfaces.js +3 -0
  418. package/dist/types/session-participants/types/interfaces.js.map +1 -0
  419. package/dist/types/shifts/entities/shift.entity.d.ts +1 -1
  420. package/dist/types/user/dto/user-settings.dto.d.ts +1 -1
  421. package/dist/types/user/dto/user.dto.d.ts +1 -1
  422. package/dist/types/user/dto/user.dto.js.map +1 -1
  423. package/dist/types/user/entities/User.d.ts +3 -1
  424. package/dist/types/user/entities/User.js.map +1 -1
  425. package/dist/types/user/types/user.interfaces.d.ts +15 -0
  426. package/dist/types/user-identification/dto/user-identifier.dto.d.ts +3 -0
  427. package/dist/types/user-identification/dto/user-identifier.dto.js +7 -1
  428. package/dist/types/user-identification/dto/user-identifier.dto.js.map +1 -1
  429. package/dist/types/user-identification/entities/UserIdentifier.d.ts +2 -0
  430. package/dist/types/user-identification/entities/UserIdentifier.js.map +1 -1
  431. package/dist/types/util/models/interfaces/general.interfaces.d.ts +2 -1
  432. package/dist/types/webflow/dto/index.d.ts +1 -0
  433. package/dist/types/webflow/dto/index.js +18 -0
  434. package/dist/types/webflow/dto/index.js.map +1 -0
  435. package/dist/types/webflow/dto/webflowProgram.dto.d.ts +14 -0
  436. package/dist/types/webflow/dto/webflowProgram.dto.js +7 -0
  437. package/dist/types/webflow/dto/webflowProgram.dto.js.map +1 -0
  438. package/dist/types/{entity → webflow/entities}/WebflowOrganizationConfiguration.d.ts +1 -1
  439. package/dist/types/{entity → webflow/entities}/WebflowOrganizationConfiguration.js +1 -1
  440. package/dist/types/webflow/entities/WebflowOrganizationConfiguration.js.map +1 -0
  441. package/dist/types/webflow/entities/index.d.ts +1 -0
  442. package/dist/types/webflow/entities/index.js +18 -0
  443. package/dist/types/webflow/entities/index.js.map +1 -0
  444. package/dist/types/webflow/index.d.ts +2 -0
  445. package/dist/types/webflow/index.js +2 -0
  446. package/dist/types/webflow/index.js.map +1 -1
  447. package/package.json +1 -1
  448. package/dist/types/entity/Address.js.map +0 -1
  449. package/dist/types/entity/WebflowOrganizationConfiguration.js.map +0 -1
  450. package/dist/types/membership/interfaces/index.d.ts +0 -1
  451. package/dist/types/membership/interfaces/index.js.map +0 -1
  452. package/dist/types/membership/interfaces/membership.interfaces.js.map +0 -1
  453. package/dist/types/notifications/types/enums/index.js.map +0 -1
  454. package/dist/types/notifications/types/enums/notification.enums.d.ts +0 -30
  455. package/dist/types/notifications/types/enums/notification.enums.js +0 -41
  456. package/dist/types/notifications/types/enums/notification.enums.js.map +0 -1
  457. package/dist/types/notifications/types/index.js.map +0 -1
  458. /package/dist/types/{notifications → accounting}/types/index.d.ts +0 -0
  459. /package/dist/types/{notifications → accounting}/types/index.js +0 -0
  460. /package/dist/types/membership/{interfaces → types}/membership.interfaces.js +0 -0
  461. /package/dist/types/notifications/{types → dto/types}/enums/index.d.ts +0 -0
  462. /package/dist/types/notifications/{types → dto/types}/enums/index.js +0 -0
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./membership.interfaces"), exports);
18
+ __exportStar(require("./membership.member.classes"), exports);
19
+ __exportStar(require("./membership.member.consts"), exports);
20
+ __exportStar(require("./membership.members.interfaces"), exports);
21
+ __exportStar(require("./membership.members.types"), exports);
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/membership/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,8DAA4C;AAC5C,6DAA2C;AAC3C,kEAAgD;AAChD,6DAA2C"}
@@ -15,6 +15,9 @@ export interface IExpandedMembershipMemberData {
15
15
  user: Partial<User>;
16
16
  lineItem: Partial<LineItems>;
17
17
  }
18
+ export interface IGetPauseOptions {
19
+ activeOnly?: boolean;
20
+ }
18
21
  export interface IExpandedMembershipMemberRawData extends Partial<MembershipMember> {
19
22
  membershipName: string;
20
23
  invoiceId: number;
@@ -83,6 +86,11 @@ export interface IRawMembershipMemberWithMembership {
83
86
  membership_isAutoRenew?: boolean;
84
87
  invoice_id?: number;
85
88
  }
89
+ export interface IMemberMailDetails {
90
+ id: number;
91
+ email: string;
92
+ fullName: string;
93
+ }
86
94
  export interface IMembershipMemberAndRenewalRecord {
87
95
  member: MembershipMember;
88
96
  record?: MembershipMemberRenewal;
@@ -124,3 +132,14 @@ export interface IValidateMembershipRegistrationOptions {
124
132
  skipRegistrationDates?: boolean;
125
133
  membership?: Membership;
126
134
  }
135
+ export interface ICancelCommonInfo {
136
+ isAutoRenew?: boolean;
137
+ cancelledAt: Date;
138
+ cancellationStatus: CancellationStatusEnum;
139
+ cancellationReason?: string;
140
+ endDate?: string;
141
+ }
142
+ export interface ICancelOptions {
143
+ isImmediateCancel: boolean;
144
+ cancellationReason?: string;
145
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"membership.interfaces.js","sourceRoot":"","sources":["../../../../src/types/membership/types/membership.interfaces.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ import { IMemberMailDetails } from './membership.interfaces';
2
+ export declare class PauseMailRelevantInfo {
3
+ members: IMemberMailDetails[];
4
+ organizationId: number;
5
+ membership_name: string;
6
+ facility_name: string;
7
+ facility_id?: number;
8
+ membership_pause_start: string;
9
+ membership_pause_end: string;
10
+ previous_next_billing_date: string;
11
+ new_next_billing_date: string;
12
+ previous_membership_end_date: string;
13
+ new_membership_end_date: string;
14
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PauseMailRelevantInfo = void 0;
4
+ class PauseMailRelevantInfo {
5
+ }
6
+ exports.PauseMailRelevantInfo = PauseMailRelevantInfo;
7
+ //# sourceMappingURL=membership.member.classes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"membership.member.classes.js","sourceRoot":"","sources":["../../../../src/types/membership/types/membership.member.classes.ts"],"names":[],"mappings":";;;AAEA,MAAa,qBAAqB;CAsBjC;AAtBD,sDAsBC"}
@@ -0,0 +1,3 @@
1
+ import { IGetPauseOptions } from './membership.interfaces';
2
+ export declare const DEFAULT_MEMBERSHIP_MEMBER_ALIAS = "membershipMember";
3
+ export declare const DEFAULT_GET_PAUSE_OPTIONS: IGetPauseOptions;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DEFAULT_GET_PAUSE_OPTIONS = exports.DEFAULT_MEMBERSHIP_MEMBER_ALIAS = void 0;
4
+ exports.DEFAULT_MEMBERSHIP_MEMBER_ALIAS = 'membershipMember';
5
+ exports.DEFAULT_GET_PAUSE_OPTIONS = {
6
+ activeOnly: false,
7
+ };
8
+ //# sourceMappingURL=membership.member.consts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"membership.member.consts.js","sourceRoot":"","sources":["../../../../src/types/membership/types/membership.member.consts.ts"],"names":[],"mappings":";;;AAEa,QAAA,+BAA+B,GAAG,kBAAkB,CAAC;AACrD,QAAA,yBAAyB,GAAqB;IAC1D,UAAU,EAAE,KAAK;CACjB,CAAC"}
@@ -0,0 +1,86 @@
1
+ import { IReason } from '../../organization/interfaces/reason.interfaces';
2
+ import { MembershipMember } from '../../entity/MembershipMember';
3
+ import { EmailTemplatesEnum, MembershipStatusEnum } from '../../services/enums.service';
4
+ import { MembershipMemberRenewal } from '../entities/MembershipMemberRenewal';
5
+ import { TimeUnit } from '@bondsports/date-time';
6
+ import { PauseMailRelevantInfo } from './membership.member.classes';
7
+ import { NotificationSubscriptions } from '../../entity/NotificationSubscriptions';
8
+ import { PaginationQuery } from '../../dto/general.dto';
9
+ export interface IDurationAndAmount {
10
+ amount: number;
11
+ unit: TimeUnit;
12
+ }
13
+ export interface IMembersAndRenewals extends IRenewalsAndPreviousRenewals {
14
+ members: MembershipMember[];
15
+ }
16
+ export interface IRenewalsAndPreviousRenewals {
17
+ renewals: MembershipMemberRenewal[];
18
+ previousRenewals?: MembershipMemberRenewal[];
19
+ }
20
+ export interface IRegistrationDates {
21
+ registrationStartDate: Date;
22
+ registrationEndDate: Date;
23
+ }
24
+ export interface ISendPauseMail {
25
+ mailData: PauseMailRelevantInfo;
26
+ subscribres: NotificationSubscriptions[];
27
+ templateKey: EmailTemplatesEnum.PAUSE_USER | EmailTemplatesEnum.PAUSE_RESUME_USER;
28
+ adminTemplateKey: EmailTemplatesEnum.ADMIN_PAUSE_USER | EmailTemplatesEnum.PAUSE_RESUME_ADMIN;
29
+ adminId: number;
30
+ facilityName?: string;
31
+ organizationName?: string;
32
+ initialEmail?: string;
33
+ }
34
+ export interface IPauseEndDates {
35
+ endDate: string;
36
+ pauseEndDate: string;
37
+ }
38
+ export interface GetPausableMembersOptions {
39
+ isFamilyMembership?: boolean;
40
+ isInFuture?: boolean;
41
+ relations?: string[];
42
+ excludeIds?: number[];
43
+ pauseStartDate?: Date;
44
+ hasPendingOrActivePause?: boolean;
45
+ }
46
+ export interface GetPausableEntitiesOptions extends GetPausableMembersOptions {
47
+ addPreviousRenewals?: boolean;
48
+ excludeIds?: number[];
49
+ }
50
+ export interface UpdatedPauseFields {
51
+ memberFields: ICommonMemberPauseFields;
52
+ renewalFields: ICommonMemberPauseFields;
53
+ }
54
+ export interface GetPauseHistoryOptions extends PaginationQuery {
55
+ startDate?: Date;
56
+ endDate?: Date;
57
+ userId?: number;
58
+ memberIds?: number[];
59
+ throwNotFoundError?: boolean;
60
+ }
61
+ export interface ICommonMemberPauseFields {
62
+ endDate: string;
63
+ originalEndDate?: string;
64
+ startDate?: string;
65
+ pauseDurationType?: TimeUnit;
66
+ pauseDurationValue?: number;
67
+ pauseReasonId?: number;
68
+ pauseDescription?: string;
69
+ pauseStartDate?: Date;
70
+ pauseEndDate?: Date;
71
+ }
72
+ export interface IMembershipMemberPauseData {
73
+ membershipMemberIds: number[];
74
+ renewalsIds: number[];
75
+ startDate: Date;
76
+ duration: IDurationAndAmount;
77
+ endDate: Date;
78
+ pauseReason: IReason;
79
+ pauseDescription?: string;
80
+ createdAt?: Date;
81
+ status?: MembershipStatusEnum;
82
+ }
83
+ export interface IPauseDateFields {
84
+ startDate?: Date;
85
+ duration?: IDurationAndAmount;
86
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=membership.members.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"membership.members.interfaces.js","sourceRoot":"","sources":["../../../../src/types/membership/types/membership.members.interfaces.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import { FindConditions } from 'typeorm/find-options/FindConditions';
2
+ import { ObjectLiteral } from 'typeorm/common/ObjectLiteral';
3
+ import { MembershipMember } from '../../entity/MembershipMember';
4
+ export type TMembershipMembersWhereConditions = FindConditions<MembershipMember>[] | FindConditions<MembershipMember> | ObjectLiteral | string;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=membership.members.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"membership.members.types.js","sourceRoot":"","sources":["../../../../src/types/membership/types/membership.members.types.ts"],"names":[],"mappings":""}
@@ -2,3 +2,4 @@ export * from './backoffice.notify.dto';
2
2
  export * from './notification.blast.query.dto';
3
3
  export * from './notification.create.dto';
4
4
  export * from './notification.response.dto';
5
+ export * from './types';
@@ -18,4 +18,5 @@ __exportStar(require("./backoffice.notify.dto"), exports);
18
18
  __exportStar(require("./notification.blast.query.dto"), exports);
19
19
  __exportStar(require("./notification.create.dto"), exports);
20
20
  __exportStar(require("./notification.response.dto"), exports);
21
+ __exportStar(require("./types"), exports);
21
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,iEAA+C;AAC/C,4DAA0C;AAC1C,8DAA4C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,iEAA+C;AAC/C,4DAA0C;AAC1C,8DAA4C;AAC5C,0CAAwB"}
@@ -9,8 +9,8 @@
9
9
  * ************************
10
10
  * ************************
11
11
  */
12
- import { NotificationClassification, NotificationDeliveryChannel } from '../types/enums/notification.enums';
13
- export declare class SenderDto {
12
+ import { NotificationCreateDto as INotificationCreateDto, ContentDto as IContentDto, SenderDto as ISenderDto, RecipientsDto as IRecipientsDto, NotificationClassification, NotificationDeliveryChannel } from '@bondsports/notifications-sdk';
13
+ export declare class SenderDto implements ISenderDto {
14
14
  static UNKNOWN_USER_ID: number;
15
15
  userId: number;
16
16
  organizationId?: number;
@@ -19,7 +19,7 @@ export declare class SenderDto {
19
19
  fromDisplayName?: string;
20
20
  constructor(userId: number, organizationId?: number, facilityId?: number, replyTo?: string, fromDisplayName?: string);
21
21
  }
22
- export declare class RecipientsDto {
22
+ export declare class RecipientsDto implements IRecipientsDto {
23
23
  to: string[];
24
24
  cc?: string[];
25
25
  bcc?: string[];
@@ -27,14 +27,14 @@ export declare class RecipientsDto {
27
27
  static to(to?: string): RecipientsDto;
28
28
  constructor(to?: string[], cc?: string[], bcc?: string[]);
29
29
  }
30
- export declare class ContentDto {
30
+ export declare class ContentDto implements IContentDto {
31
31
  bodyText?: string;
32
- bodyHtml?: string;
32
+ bodyHtml: string;
33
33
  subject?: string;
34
34
  interpolationData?: Record<string, unknown>;
35
35
  constructor(subject?: string, bodyHtml?: string, bodyText?: string);
36
36
  }
37
- export declare class NotificationCreateDto {
37
+ export declare class NotificationCreateDto implements INotificationCreateDto {
38
38
  channel: NotificationDeliveryChannel;
39
39
  classification?: NotificationClassification;
40
40
  sender: SenderDto;
@@ -12,7 +12,7 @@
12
12
  */
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.NotificationCreateDto = exports.ContentDto = exports.RecipientsDto = exports.SenderDto = void 0;
15
- const notification_enums_1 = require("../types/enums/notification.enums");
15
+ const notifications_sdk_1 = require("@bondsports/notifications-sdk");
16
16
  // This file contains DTOs for sending notifications with the SendService.
17
17
  // Start at the Notification object, below.
18
18
  // It contains all the other request objects.
@@ -57,15 +57,15 @@ class ContentDto {
57
57
  exports.ContentDto = ContentDto;
58
58
  class NotificationCreateDto {
59
59
  constructor() {
60
- this.classification = notification_enums_1.NotificationClassification.UNKNOWN;
60
+ this.classification = notifications_sdk_1.NotificationClassification.UNKNOWN;
61
61
  }
62
62
  /**
63
63
  * Use NotificationCreateDto.emailTemplate(...) instead.
64
64
  */
65
65
  static sendgridTemplate(toEmailAddress, dynamicTemplateData, sendingUserId, sendingOrganizationId, sendingFacilityId) {
66
66
  const note = new NotificationCreateDto();
67
- note.channel = notification_enums_1.NotificationDeliveryChannel.EMAIL;
68
- note.classification = notification_enums_1.NotificationClassification.TRANSACTIONAL;
67
+ note.channel = notifications_sdk_1.NotificationDeliveryChannel.EMAIL;
68
+ note.classification = notifications_sdk_1.NotificationClassification.TRANSACTIONAL;
69
69
  note.sender = new SenderDto(sendingUserId, sendingOrganizationId, sendingFacilityId);
70
70
  note.recipients = [RecipientsDto.to(toEmailAddress)];
71
71
  // there is no Content object when using a sendgrid template, it's the template and dynamic data:
@@ -83,8 +83,8 @@ class NotificationCreateDto {
83
83
  */
84
84
  static emailTemplate(toEmailAddress, templateKey, dynamicTemplateData, sendingUserId, sendingOrganizationId, sendingFacilityId) {
85
85
  const note = new NotificationCreateDto();
86
- note.channel = notification_enums_1.NotificationDeliveryChannel.EMAIL;
87
- note.classification = notification_enums_1.NotificationClassification.TRANSACTIONAL;
86
+ note.channel = notifications_sdk_1.NotificationDeliveryChannel.EMAIL;
87
+ note.classification = notifications_sdk_1.NotificationClassification.TRANSACTIONAL;
88
88
  note.sender = new SenderDto(sendingUserId, sendingOrganizationId, sendingFacilityId);
89
89
  note.recipients = [RecipientsDto.to(toEmailAddress)];
90
90
  // there is no Content object when using an email template, it's the templateKey and dynamic data to be interpolated:
@@ -1 +1 @@
1
- {"version":3,"file":"notification.create.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/notification.create.dto.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;AAEH,0EAA4G;AAE5G,0EAA0E;AAE1E,2CAA2C;AAC3C,6CAA6C;AAE7C,MAAa,SAAS;IAcrB,yBAAyB;IACzB,uDAAuD;IACvD,YACC,MAAc,EACd,cAAuB,EACvB,UAAmB,EACnB,OAAgB,EAChB,eAAwB;QAExB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;IACxC,CAAC;;AA5BF,8BA6BC;AA5BA,0GAA0G;AACnG,yBAAe,GAAG,CAAC,EAAE,CAAC;AA6B9B,MAAa,aAAa;IAYzB,yBAAyB;IACzB,uDAAuD;IACvD,MAAM,CAAC,EAAE,CAAC,EAAW;QACpB,MAAM,CAAC,GAAG,IAAI,aAAa,EAAE,CAAC;QAC9B,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACtB,OAAO,CAAC,CAAC;IACV,CAAC;IAED,YAAY,EAAa,EAAE,EAAa,EAAE,GAAc;QACvD,IAAI,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC;QACnB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;IAChB,CAAC;CACD;AAzBD,sCAyBC;AAED,MAAa,UAAU;IAStB,yBAAyB;IACzB,uDAAuD;IACvD,YAAY,OAAgB,EAAE,QAAiB,EAAE,QAAiB;QACjE,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACxB,CAAC;CACD;AAhBD,gCAgBC;AAED,MAAa,qBAAqB;IAAlC;QAGC,mBAAc,GAAgC,+CAA0B,CAAC,OAAO,CAAC;IAkElF,CAAC;IAlDA;;OAEG;IACH,MAAM,CAAC,gBAAgB,CACtB,cAAsB,EACtB,mBAAwB,EACxB,aAAqB,EACrB,qBAA8B,EAC9B,iBAA0B;QAE1B,MAAM,IAAI,GAAG,IAAI,qBAAqB,EAAE,CAAC;QACzC,IAAI,CAAC,OAAO,GAAG,gDAA2B,CAAC,KAAK,CAAC;QACjD,IAAI,CAAC,cAAc,GAAG,+CAA0B,CAAC,aAAa,CAAC;QAC/D,IAAI,CAAC,MAAM,GAAG,IAAI,SAAS,CAAC,aAAa,EAAE,qBAAqB,EAAE,iBAAiB,CAAC,CAAC;QACrF,IAAI,CAAC,UAAU,GAAG,CAAC,aAAa,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC;QACrD,iGAAiG;QACjG,IAAI,CAAC,eAAe,GAAG;YACtB,wGAAwG;YACxG,mBAAmB,EAAE,mBAAmB;SACxC,CAAC;QACF,OAAO,IAAI,CAAC;IACb,CAAC;IAED;;;;;OAKG;IACH,MAAM,CAAC,aAAa,CACnB,cAAsB,EACtB,WAAmB,EACnB,mBAAwB,EACxB,aAAqB,EACrB,qBAA8B,EAC9B,iBAA0B;QAE1B,MAAM,IAAI,GAAG,IAAI,qBAAqB,EAAE,CAAC;QACzC,IAAI,CAAC,OAAO,GAAG,gDAA2B,CAAC,KAAK,CAAC;QACjD,IAAI,CAAC,cAAc,GAAG,+CAA0B,CAAC,aAAa,CAAC;QAC/D,IAAI,CAAC,MAAM,GAAG,IAAI,SAAS,CAAC,aAAa,EAAE,qBAAqB,EAAE,iBAAiB,CAAC,CAAC;QACrF,IAAI,CAAC,UAAU,GAAG,CAAC,aAAa,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC;QACrD,qHAAqH;QACrH,IAAI,CAAC,eAAe,GAAG;YACtB,qFAAqF;YACrF,WAAW,EAAE,WAAW;YACxB,mBAAmB,EAAE,mBAAmB,EAAE,2DAA2D;SACrG,CAAC;QACF,OAAO,IAAI,CAAC;IACb,CAAC;CACD;AArED,sDAqEC"}
1
+ {"version":3,"file":"notification.create.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/notification.create.dto.ts"],"names":[],"mappings":"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"}
@@ -5,13 +5,13 @@
5
5
  * ************************
6
6
  * ************************
7
7
  */
8
- import { SendErrorCode } from '../types/enums/notification.enums';
9
- export declare class SendErrorDto {
8
+ import { SendErrorDto as ISendErrorDto, SendResultDto as ISendResult, SendErrorCode } from '@bondsports/notifications-sdk';
9
+ export declare class SendErrorDto implements ISendErrorDto {
10
10
  error: SendErrorCode;
11
11
  serviceCode?: number;
12
12
  serviceReason?: string;
13
13
  }
14
- export declare class SendResultDto {
14
+ export declare class SendResultDto implements ISendResult {
15
15
  attempted: number;
16
16
  succeeded: number;
17
17
  failed: number;
@@ -1 +1 @@
1
- {"version":3,"file":"notification.response.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/notification.response.dto.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIH,MAAa,YAAY;CAMxB;AAND,oCAMC;AAED,MAAa,aAAa;IASzB,YAAY,SAAS,GAAG,CAAC,EAAE,SAAS,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,EAAE,MAAuB;QAR7E,cAAS,GAAG,CAAC,CAAC;QAEd,cAAS,GAAG,CAAC,CAAC;QAEd,WAAM,GAAG,CAAC,CAAC;QAEX,WAAM,GAAmB,EAAE,CAAC;QAG3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACpC,CAAC;IAED,MAAM,CAAC,SAAS,CAAC,KAAmB;QACnC,OAAO,IAAI,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAC5C,CAAC;IAED,KAAK,CAAC,KAAoB;QACzB,IAAI,CAAC,SAAS,IAAI,KAAK,CAAC,SAAS,CAAC;QAClC,IAAI,CAAC,SAAS,IAAI,KAAK,CAAC,SAAS,CAAC;QAClC,IAAI,CAAC,MAAM,IAAI,KAAK,CAAC,MAAM,CAAC;QAC5B,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChD,CAAC;CACD;AA1BD,sCA0BC"}
1
+ {"version":3,"file":"notification.response.dto.js","sourceRoot":"","sources":["../../../../src/types/notifications/dto/notification.response.dto.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAQH,MAAa,YAAY;CAMxB;AAND,oCAMC;AAED,MAAa,aAAa;IASzB,YAAY,SAAS,GAAG,CAAC,EAAE,SAAS,GAAG,CAAC,EAAE,MAAM,GAAG,CAAC,EAAE,MAAuB;QAR7E,cAAS,GAAG,CAAC,CAAC;QAEd,cAAS,GAAG,CAAC,CAAC;QAEd,WAAM,GAAG,CAAC,CAAC;QAEX,WAAM,GAAmB,EAAE,CAAC;QAG3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACpC,CAAC;IAED,MAAM,CAAC,SAAS,CAAC,KAAmB;QACnC,OAAO,IAAI,aAAa,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAC5C,CAAC;IAED,KAAK,CAAC,KAAoB;QACzB,IAAI,CAAC,SAAS,IAAI,KAAK,CAAC,SAAS,CAAC;QAClC,IAAI,CAAC,SAAS,IAAI,KAAK,CAAC,SAAS,CAAC;QAClC,IAAI,CAAC,MAAM,IAAI,KAAK,CAAC,MAAM,CAAC;QAC5B,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChD,CAAC;CACD;AA1BD,sCA0BC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/types/notifications/dto/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
@@ -0,0 +1,2 @@
1
+ import { NotificationClassification, NotificationDeliveryChannel, SendErrorCode } from '@bondsports/notifications-sdk';
2
+ export { NotificationClassification, NotificationDeliveryChannel, SendErrorCode };
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SendErrorCode = exports.NotificationDeliveryChannel = exports.NotificationClassification = void 0;
4
+ const notifications_sdk_1 = require("@bondsports/notifications-sdk");
5
+ Object.defineProperty(exports, "NotificationClassification", { enumerable: true, get: function () { return notifications_sdk_1.NotificationClassification; } });
6
+ Object.defineProperty(exports, "NotificationDeliveryChannel", { enumerable: true, get: function () { return notifications_sdk_1.NotificationDeliveryChannel; } });
7
+ Object.defineProperty(exports, "SendErrorCode", { enumerable: true, get: function () { return notifications_sdk_1.SendErrorCode; } });
8
+ //# sourceMappingURL=notification.enums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification.enums.js","sourceRoot":"","sources":["../../../../../../src/types/notifications/dto/types/enums/notification.enums.ts"],"names":[],"mappings":";;;AAAA,qEAAuH;AAE9G,2GAFA,8CAA0B,OAEA;AAAE,4GAFA,+CAA2B,OAEA;AAAE,8FAFA,iCAAa,OAEA"}
@@ -0,0 +1 @@
1
+ export * from './enums';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./enums"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/notifications/dto/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
@@ -1,2 +1 @@
1
1
  export * from './dto';
2
- export * from './types';
@@ -15,5 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./dto"), exports);
18
- __exportStar(require("./types"), exports);
19
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/notifications/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/notifications/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB"}
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/online-rentals/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
@@ -0,0 +1,2 @@
1
+ export * from './online-rentals.classes';
2
+ export * from './online-rentals.dto';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./online-rentals.classes"), exports);
18
+ __exportStar(require("./online-rentals.dto"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/online-rentals/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,uDAAqC"}
@@ -0,0 +1,21 @@
1
+ import { ResourceToPackageV1 } from '../../resources/types/interfaces/resource.interfaces';
2
+ import { ResourceNameTypeEnum } from '../../services/enums.service';
3
+ export declare class BestPriceResult {
4
+ id: number;
5
+ quantity: number;
6
+ duration: number;
7
+ score: number;
8
+ resourceToPackage: ResourceToPackageV1;
9
+ }
10
+ export declare class TimeSlot {
11
+ startDate: string;
12
+ startTime: string;
13
+ endDate: string;
14
+ endTime: string;
15
+ isClosed: boolean;
16
+ parentType: ResourceNameTypeEnum;
17
+ parentId: number;
18
+ dayOfWeek: number;
19
+ mid?: string;
20
+ resourceId?: number;
21
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TimeSlot = exports.BestPriceResult = void 0;
4
+ class BestPriceResult {
5
+ }
6
+ exports.BestPriceResult = BestPriceResult;
7
+ class TimeSlot {
8
+ }
9
+ exports.TimeSlot = TimeSlot;
10
+ //# sourceMappingURL=online-rentals.classes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"online-rentals.classes.js","sourceRoot":"","sources":["../../../../src/types/online-rentals/types/online-rentals.classes.ts"],"names":[],"mappings":";;;AAGA,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,QAAQ;CAoBpB;AApBD,4BAoBC"}
@@ -0,0 +1,61 @@
1
+ import { ActivityTimesDto } from '../../dto/activityTimes.dto';
2
+ import { UserAnswersDto } from '../../dto/application.dto';
3
+ import { PackageV1 } from '../../entity/PackageV1';
4
+ import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
5
+ import { Resource } from '../../resources/entities/Resource';
6
+ import { SportsEnum } from '../../services/enums.service';
7
+ export declare class TimeOfDayDto {
8
+ startTime: string;
9
+ endTime: string;
10
+ }
11
+ export declare class CheckFacilityAvailabilityDto {
12
+ days: string[];
13
+ sport?: SportsEnum;
14
+ }
15
+ export declare class CheckAvailabilityDto extends ByOrganizationIdDto {
16
+ dates: string[];
17
+ startTimeOfDay?: string;
18
+ endTimeOfDay?: string;
19
+ timeOfDay?: TimeOfDayDto[];
20
+ slotSize: number;
21
+ facilityId?: number;
22
+ spaceId?: number;
23
+ spaceIds?: number[];
24
+ sport?: SportsEnum;
25
+ space?: Resource;
26
+ timezone?: string;
27
+ }
28
+ export declare class ByFacilityAndOrganizationIdDto {
29
+ facilityId: number;
30
+ organizationId: number;
31
+ }
32
+ export declare class BySpaceAndOrganizationIdDto {
33
+ spaceId: number;
34
+ organizationId: number;
35
+ }
36
+ export declare class RentalTimeSlotDto extends ActivityTimesDto {
37
+ mid: string;
38
+ isClosed: boolean;
39
+ startDate: string;
40
+ endDate: string;
41
+ }
42
+ export declare class PackageTimesDto {
43
+ startDate: string;
44
+ endDate: string;
45
+ percentage: number;
46
+ }
47
+ export declare class CalculatePackageDto {
48
+ times: PackageTimesDto[];
49
+ answers?: UserAnswersDto[];
50
+ }
51
+ export declare class CalculatePackageQueryDto {
52
+ limit?: number;
53
+ }
54
+ export declare class CalculatedPackageDto {
55
+ resourcePackageId: number;
56
+ resourcePackageAmount: number;
57
+ package: PackageV1;
58
+ estimatedPrice: number;
59
+ spaceId: number;
60
+ estimatedTotalPrice: number;
61
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CalculatedPackageDto = exports.CalculatePackageQueryDto = exports.CalculatePackageDto = exports.PackageTimesDto = exports.RentalTimeSlotDto = exports.BySpaceAndOrganizationIdDto = exports.ByFacilityAndOrganizationIdDto = exports.CheckAvailabilityDto = exports.CheckFacilityAvailabilityDto = exports.TimeOfDayDto = void 0;
4
+ const activityTimes_dto_1 = require("../../dto/activityTimes.dto");
5
+ const organization_dto_1 = require("../../organization/dto/organization.dto");
6
+ class TimeOfDayDto {
7
+ }
8
+ exports.TimeOfDayDto = TimeOfDayDto;
9
+ class CheckFacilityAvailabilityDto {
10
+ }
11
+ exports.CheckFacilityAvailabilityDto = CheckFacilityAvailabilityDto;
12
+ class CheckAvailabilityDto extends organization_dto_1.ByOrganizationIdDto {
13
+ }
14
+ exports.CheckAvailabilityDto = CheckAvailabilityDto;
15
+ class ByFacilityAndOrganizationIdDto {
16
+ }
17
+ exports.ByFacilityAndOrganizationIdDto = ByFacilityAndOrganizationIdDto;
18
+ class BySpaceAndOrganizationIdDto {
19
+ }
20
+ exports.BySpaceAndOrganizationIdDto = BySpaceAndOrganizationIdDto;
21
+ class RentalTimeSlotDto extends activityTimes_dto_1.ActivityTimesDto {
22
+ }
23
+ exports.RentalTimeSlotDto = RentalTimeSlotDto;
24
+ class PackageTimesDto {
25
+ }
26
+ exports.PackageTimesDto = PackageTimesDto;
27
+ class CalculatePackageDto {
28
+ }
29
+ exports.CalculatePackageDto = CalculatePackageDto;
30
+ class CalculatePackageQueryDto {
31
+ }
32
+ exports.CalculatePackageQueryDto = CalculatePackageQueryDto;
33
+ class CalculatedPackageDto {
34
+ }
35
+ exports.CalculatedPackageDto = CalculatedPackageDto;
36
+ //# sourceMappingURL=online-rentals.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"online-rentals.dto.js","sourceRoot":"","sources":["../../../../src/types/online-rentals/types/online-rentals.dto.ts"],"names":[],"mappings":";;;AAAA,mEAA+D;AAG/D,8EAA8E;AAI9E,MAAa,YAAY;CAIxB;AAJD,oCAIC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAsB5D;AAtBD,oDAsBC;AAED,MAAa,8BAA8B;CAI1C;AAJD,wEAIC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,iBAAkB,SAAQ,oCAAgB;CAQtD;AARD,8CAQC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,oBAAoB;CAYhC;AAZD,oDAYC"}
@@ -1,4 +1,4 @@
1
- import { Address } from '../../entity/Address';
1
+ import { Address } from '../../address/entities/Address';
2
2
  import { BondBaseEntity } from '../../entity/BondBaseEntity';
3
3
  import { ColorCode } from '../../entity/ColorCode';
4
4
  import { Media } from '../../media/entities/Media';