@bondsports/types 2.2.284-team-b → 2.2.284

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 (422) 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 +21 -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/Facility.d.ts +1 -1
  105. package/dist/types/entity/LineItems.d.ts +3 -0
  106. package/dist/types/entity/LineItems.js.map +1 -1
  107. package/dist/types/entity/MembershipMember.d.ts +11 -0
  108. package/dist/types/entity/MembershipMember.js.map +1 -1
  109. package/dist/types/entity/PackageV1.d.ts +2 -0
  110. package/dist/types/entity/PackageV1.js.map +1 -1
  111. package/dist/types/entity/index.d.ts +0 -2
  112. package/dist/types/entity/index.js +0 -2
  113. package/dist/types/entity/index.js.map +1 -1
  114. package/dist/types/facilities/index.d.ts +1 -0
  115. package/dist/types/facilities/index.js +18 -0
  116. package/dist/types/facilities/index.js.map +1 -0
  117. package/dist/types/facilities/types/facilities.types.d.ts +4 -0
  118. package/dist/types/facilities/types/facilities.types.js +3 -0
  119. package/dist/types/facilities/types/facilities.types.js.map +1 -0
  120. package/dist/types/facilities/types/index.d.ts +1 -0
  121. package/dist/types/facilities/types/index.js +18 -0
  122. package/dist/types/facilities/types/index.js.map +1 -0
  123. package/dist/types/import/dto/reservation.dto.js.map +1 -1
  124. package/dist/types/index.d.ts +3 -0
  125. package/dist/types/index.js +3 -0
  126. package/dist/types/index.js.map +1 -1
  127. package/dist/types/invoice/dto/invoice.dto.d.ts +19 -0
  128. package/dist/types/invoice/dto/invoice.dto.js +5 -1
  129. package/dist/types/invoice/dto/invoice.dto.js.map +1 -1
  130. package/dist/types/invoice/types/consts/invoice.consts.d.ts +10 -0
  131. package/dist/types/invoice/types/consts/invoice.consts.js +10 -1
  132. package/dist/types/invoice/types/consts/invoice.consts.js.map +1 -1
  133. package/dist/types/invoice/types/interfaces/index.d.ts +1 -0
  134. package/dist/types/invoice/types/interfaces/index.js +1 -0
  135. package/dist/types/invoice/types/interfaces/index.js.map +1 -1
  136. package/dist/types/invoice/types/interfaces/invoice.interfaces.d.ts +5 -1
  137. package/dist/types/invoice/types/interfaces/invoice.interfaces.js.map +1 -1
  138. package/dist/types/invoice/types/interfaces/line-item.interfaces.d.ts +7 -0
  139. package/dist/types/invoice/types/interfaces/line-item.interfaces.js +3 -0
  140. package/dist/types/invoice/types/interfaces/line-item.interfaces.js.map +1 -0
  141. package/dist/types/membership/dto/expendedMembership.dto.d.ts +15 -0
  142. package/dist/types/membership/dto/expendedMembership.dto.js +7 -0
  143. package/dist/types/membership/dto/expendedMembership.dto.js.map +1 -0
  144. package/dist/types/membership/dto/index.d.ts +2 -0
  145. package/dist/types/membership/dto/index.js +19 -0
  146. package/dist/types/membership/dto/index.js.map +1 -0
  147. package/dist/types/membership/dto/membershipMember.dto.d.ts +103 -0
  148. package/dist/types/membership/dto/membershipMember.dto.js +45 -0
  149. package/dist/types/membership/dto/membershipMember.dto.js.map +1 -0
  150. package/dist/types/membership/entities/MembershipMemberRenewal.d.ts +9 -0
  151. package/dist/types/membership/entities/MembershipMemberRenewal.js.map +1 -1
  152. package/dist/types/membership/index.d.ts +2 -1
  153. package/dist/types/membership/index.js +2 -1
  154. package/dist/types/membership/index.js.map +1 -1
  155. package/dist/types/membership/types/index.d.ts +5 -0
  156. package/dist/types/membership/types/index.js +22 -0
  157. package/dist/types/membership/types/index.js.map +1 -0
  158. package/dist/types/membership/{interfaces → types}/membership.interfaces.d.ts +19 -0
  159. package/dist/types/membership/types/membership.interfaces.js.map +1 -0
  160. package/dist/types/membership/types/membership.member.classes.d.ts +14 -0
  161. package/dist/types/membership/types/membership.member.classes.js +7 -0
  162. package/dist/types/membership/types/membership.member.classes.js.map +1 -0
  163. package/dist/types/membership/types/membership.member.consts.d.ts +3 -0
  164. package/dist/types/membership/types/membership.member.consts.js +8 -0
  165. package/dist/types/membership/types/membership.member.consts.js.map +1 -0
  166. package/dist/types/membership/types/membership.members.interfaces.d.ts +86 -0
  167. package/dist/types/membership/types/membership.members.interfaces.js +3 -0
  168. package/dist/types/membership/types/membership.members.interfaces.js.map +1 -0
  169. package/dist/types/membership/types/membership.members.types.d.ts +4 -0
  170. package/dist/types/membership/types/membership.members.types.js +3 -0
  171. package/dist/types/membership/types/membership.members.types.js.map +1 -0
  172. package/dist/types/notifications/dto/index.d.ts +1 -0
  173. package/dist/types/notifications/dto/index.js +1 -0
  174. package/dist/types/notifications/dto/index.js.map +1 -1
  175. package/dist/types/notifications/dto/notification.create.dto.d.ts +6 -6
  176. package/dist/types/notifications/dto/notification.create.dto.js +6 -6
  177. package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
  178. package/dist/types/notifications/dto/notification.response.dto.d.ts +3 -3
  179. package/dist/types/notifications/dto/notification.response.dto.js.map +1 -1
  180. package/dist/types/notifications/dto/types/enums/index.js.map +1 -0
  181. package/dist/types/notifications/dto/types/enums/notification.enums.d.ts +2 -0
  182. package/dist/types/notifications/dto/types/enums/notification.enums.js +8 -0
  183. package/dist/types/notifications/dto/types/enums/notification.enums.js.map +1 -0
  184. package/dist/types/notifications/dto/types/index.d.ts +1 -0
  185. package/dist/types/notifications/dto/types/index.js +18 -0
  186. package/dist/types/notifications/dto/types/index.js.map +1 -0
  187. package/dist/types/notifications/index.d.ts +0 -1
  188. package/dist/types/notifications/index.js +0 -1
  189. package/dist/types/notifications/index.js.map +1 -1
  190. package/dist/types/online-rentals/index.d.ts +1 -0
  191. package/dist/types/online-rentals/index.js +18 -0
  192. package/dist/types/online-rentals/index.js.map +1 -0
  193. package/dist/types/online-rentals/types/index.d.ts +2 -0
  194. package/dist/types/online-rentals/types/index.js +19 -0
  195. package/dist/types/online-rentals/types/index.js.map +1 -0
  196. package/dist/types/online-rentals/types/online-rentals.classes.d.ts +21 -0
  197. package/dist/types/online-rentals/types/online-rentals.classes.js +10 -0
  198. package/dist/types/online-rentals/types/online-rentals.classes.js.map +1 -0
  199. package/dist/types/online-rentals/types/online-rentals.dto.d.ts +61 -0
  200. package/dist/types/online-rentals/types/online-rentals.dto.js +36 -0
  201. package/dist/types/online-rentals/types/online-rentals.dto.js.map +1 -0
  202. package/dist/types/organization/entities/Organization.d.ts +1 -1
  203. package/dist/types/organization/interfaces/index.d.ts +1 -0
  204. package/dist/types/organization/interfaces/index.js +1 -0
  205. package/dist/types/organization/interfaces/index.js.map +1 -1
  206. package/dist/types/organization/interfaces/reason.interfaces.d.ts +6 -0
  207. package/dist/types/organization/interfaces/reason.interfaces.js +3 -0
  208. package/dist/types/organization/interfaces/reason.interfaces.js.map +1 -0
  209. package/dist/types/payment/dto/payment-method.dto.d.ts +12 -3
  210. package/dist/types/payment/dto/payment-method.dto.js +4 -1
  211. package/dist/types/payment/dto/payment-method.dto.js.map +1 -1
  212. package/dist/types/payment/dto/payment-plan.dto.d.ts +6 -4
  213. package/dist/types/payment/dto/payment-plan.dto.js.map +1 -1
  214. package/dist/types/payment/entities/PaymentFailures.d.ts +1 -0
  215. package/dist/types/payment/entities/PaymentFailures.js.map +1 -1
  216. package/dist/types/payment/entities/ProductPaymentPlan.d.ts +3 -2
  217. package/dist/types/payment/entities/ProductPaymentPlan.js.map +1 -1
  218. package/dist/types/payment/types/consts/payment.consts.d.ts +1 -0
  219. package/dist/types/payment/types/consts/payment.consts.js +5 -1
  220. package/dist/types/payment/types/consts/payment.consts.js.map +1 -1
  221. package/dist/types/payment/types/enums/payment-plan.enums.d.ts +0 -7
  222. package/dist/types/payment/types/enums/payment-plan.enums.js +1 -9
  223. package/dist/types/payment/types/enums/payment-plan.enums.js.map +1 -1
  224. package/dist/types/payment/types/enums/payment.enums.d.ts +4 -2
  225. package/dist/types/payment/types/enums/payment.enums.js +2 -0
  226. package/dist/types/payment/types/enums/payment.enums.js.map +1 -1
  227. package/dist/types/payment/types/interfaces/discount.interfaces.d.ts +1 -1
  228. package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +16 -0
  229. package/dist/types/pricing/dto/price.dto.d.ts +3 -1
  230. package/dist/types/pricing/dto/price.dto.js.map +1 -1
  231. package/dist/types/pricing/dto/pricing.dto.d.ts +2 -2
  232. package/dist/types/pricing/entities/Price.d.ts +3 -2
  233. package/dist/types/pricing/entities/Price.js.map +1 -1
  234. package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +2 -0
  235. package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
  236. package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +2 -0
  237. package/dist/types/programs/dto/program.dto.d.ts +5 -2
  238. package/dist/types/programs/dto/program.dto.js +4 -1
  239. package/dist/types/programs/dto/program.dto.js.map +1 -1
  240. package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +2 -0
  241. package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
  242. package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +4 -2
  243. package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
  244. package/dist/types/programs-seasons/types/classes/index.d.ts +1 -0
  245. package/dist/types/programs-seasons/types/classes/index.js +18 -0
  246. package/dist/types/programs-seasons/types/classes/index.js.map +1 -0
  247. package/dist/types/programs-seasons/types/classes/program-season.classes.d.ts +6 -0
  248. package/dist/types/programs-seasons/types/classes/program-season.classes.js +7 -0
  249. package/dist/types/programs-seasons/types/classes/program-season.classes.js.map +1 -0
  250. package/dist/types/programs-seasons/types/enums/index.d.ts +1 -0
  251. package/dist/types/programs-seasons/types/enums/index.js +18 -0
  252. package/dist/types/programs-seasons/types/enums/index.js.map +1 -0
  253. package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +9 -0
  254. package/dist/types/programs-seasons/types/enums/program-season.enums.js +15 -0
  255. package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +1 -0
  256. package/dist/types/programs-seasons/types/index.d.ts +2 -0
  257. package/dist/types/programs-seasons/types/index.js +2 -0
  258. package/dist/types/programs-seasons/types/index.js.map +1 -1
  259. package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +11 -0
  260. package/dist/types/punch-pass/dto/punch-pass.dto.js +5 -1
  261. package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
  262. package/dist/types/purchase/dto/purchase.dto.d.ts +4 -0
  263. package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
  264. package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +5 -3
  265. package/dist/types/reservations/dto/addon.dto.d.ts +21 -8
  266. package/dist/types/reservations/dto/addon.dto.js +9 -2
  267. package/dist/types/reservations/dto/addon.dto.js.map +1 -1
  268. package/dist/types/reservations/dto/maintenance.dto.d.ts +2 -1
  269. package/dist/types/reservations/dto/maintenance.dto.js.map +1 -1
  270. package/dist/types/reservations/dto/reservation.dto.d.ts +171 -24
  271. package/dist/types/reservations/dto/reservation.dto.js +86 -7
  272. package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
  273. package/dist/types/reservations/dto/segment.dto.d.ts +5 -4
  274. package/dist/types/reservations/dto/segment.dto.js.map +1 -1
  275. package/dist/types/reservations/dto/series.dto.d.ts +7 -4
  276. package/dist/types/reservations/dto/series.dto.js.map +1 -1
  277. package/dist/types/reservations/dto/slot.dto.d.ts +106 -26
  278. package/dist/types/reservations/dto/slot.dto.js +25 -7
  279. package/dist/types/reservations/dto/slot.dto.js.map +1 -1
  280. package/dist/types/reservations/dto/v1.reservation.dto.d.ts +1 -0
  281. package/dist/types/reservations/dto/v1.reservation.dto.js.map +1 -1
  282. package/dist/types/reservations/entities/SlotToResource.d.ts +4 -0
  283. package/dist/types/reservations/entities/SlotToResource.js.map +1 -1
  284. package/dist/types/reservations/entities/addon.entity.d.ts +1 -0
  285. package/dist/types/reservations/entities/addon.entity.js.map +1 -1
  286. package/dist/types/reservations/entities/reservation.entity.d.ts +6 -7
  287. package/dist/types/reservations/entities/reservation.entity.js.map +1 -1
  288. package/dist/types/reservations/entities/slot.entity.d.ts +10 -3
  289. package/dist/types/reservations/entities/slot.entity.js.map +1 -1
  290. package/dist/types/reservations/types/classes/addon.classes.d.ts +22 -0
  291. package/dist/types/reservations/types/classes/addon.classes.js +7 -0
  292. package/dist/types/reservations/types/classes/addon.classes.js.map +1 -0
  293. package/dist/types/reservations/types/classes/index.d.ts +7 -0
  294. package/dist/types/reservations/types/classes/index.js +24 -0
  295. package/dist/types/reservations/types/classes/index.js.map +1 -0
  296. package/dist/types/reservations/types/classes/maintenance.classes.d.ts +8 -0
  297. package/dist/types/reservations/types/classes/maintenance.classes.js +7 -0
  298. package/dist/types/reservations/types/classes/maintenance.classes.js.map +1 -0
  299. package/dist/types/reservations/types/classes/product.classes.d.ts +16 -0
  300. package/dist/types/reservations/types/classes/product.classes.js +10 -0
  301. package/dist/types/reservations/types/classes/product.classes.js.map +1 -0
  302. package/dist/types/reservations/types/classes/reservation.classes.d.ts +58 -0
  303. package/dist/types/reservations/types/classes/reservation.classes.js +10 -0
  304. package/dist/types/reservations/types/classes/reservation.classes.js.map +1 -0
  305. package/dist/types/reservations/types/classes/segment.classes.d.ts +32 -0
  306. package/dist/types/reservations/types/classes/segment.classes.js +10 -0
  307. package/dist/types/reservations/types/classes/segment.classes.js.map +1 -0
  308. package/dist/types/reservations/types/classes/series.classes.d.ts +27 -0
  309. package/dist/types/reservations/types/classes/series.classes.js +7 -0
  310. package/dist/types/reservations/types/classes/series.classes.js.map +1 -0
  311. package/dist/types/reservations/types/classes/slot.classes.d.ts +69 -0
  312. package/dist/types/reservations/types/classes/slot.classes.js +11 -0
  313. package/dist/types/reservations/types/classes/slot.classes.js.map +1 -0
  314. package/dist/types/reservations/types/consts/index.d.ts +1 -0
  315. package/dist/types/reservations/types/consts/index.js +1 -0
  316. package/dist/types/reservations/types/consts/index.js.map +1 -1
  317. package/dist/types/reservations/types/consts/reservation.consts.d.ts +12 -1
  318. package/dist/types/reservations/types/consts/reservation.consts.js +18 -1
  319. package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
  320. package/dist/types/reservations/types/consts/slot.consts.d.ts +1 -0
  321. package/dist/types/reservations/types/consts/slot.consts.js +5 -0
  322. package/dist/types/reservations/types/consts/slot.consts.js.map +1 -0
  323. package/dist/types/reservations/types/enums/reservation.enums.d.ts +2 -1
  324. package/dist/types/reservations/types/enums/reservation.enums.js +1 -0
  325. package/dist/types/reservations/types/enums/reservation.enums.js.map +1 -1
  326. package/dist/types/reservations/types/index.d.ts +1 -0
  327. package/dist/types/reservations/types/index.js +1 -0
  328. package/dist/types/reservations/types/index.js.map +1 -1
  329. package/dist/types/reservations/types/interfaces/addon.interfaces.d.ts +18 -2
  330. package/dist/types/reservations/types/interfaces/index.d.ts +2 -0
  331. package/dist/types/reservations/types/interfaces/index.js +2 -0
  332. package/dist/types/reservations/types/interfaces/index.js.map +1 -1
  333. package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +160 -19
  334. package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
  335. package/dist/types/reservations/types/interfaces/segment.interfaces.d.ts +29 -0
  336. package/dist/types/reservations/types/interfaces/segment.interfaces.js +3 -0
  337. package/dist/types/reservations/types/interfaces/segment.interfaces.js.map +1 -0
  338. package/dist/types/reservations/types/interfaces/series.interfaces.d.ts +32 -0
  339. package/dist/types/reservations/types/interfaces/series.interfaces.js +3 -0
  340. package/dist/types/reservations/types/interfaces/series.interfaces.js.map +1 -0
  341. package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +61 -24
  342. package/dist/types/reservations/types/interfaces/slot.interfaces.js +4 -0
  343. package/dist/types/reservations/types/interfaces/slot.interfaces.js.map +1 -1
  344. package/dist/types/reservations/types/reservation.types.d.ts +23 -11
  345. package/dist/types/resources/dto/instructor.dto.d.ts +1 -1
  346. package/dist/types/resources/dto/instructor.dto.js.map +1 -1
  347. package/dist/types/resources/dto/space.dto.d.ts +1 -0
  348. package/dist/types/resources/dto/space.dto.js.map +1 -1
  349. package/dist/types/resources/entities/Instructor.d.ts +2 -2
  350. package/dist/types/resources/entities/Instructor.js.map +1 -1
  351. package/dist/types/resources/entities/Space.d.ts +1 -1
  352. package/dist/types/resources/entities/Space.js.map +1 -1
  353. package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +1 -0
  354. package/dist/types/roles/dto/permission-group.dto.d.ts +4 -0
  355. package/dist/types/roles/dto/permission-group.dto.js +8 -1
  356. package/dist/types/roles/dto/permission-group.dto.js.map +1 -1
  357. package/dist/types/roles/dto/role.dto.d.ts +27 -12
  358. package/dist/types/roles/dto/role.dto.js +23 -5
  359. package/dist/types/roles/dto/role.dto.js.map +1 -1
  360. package/dist/types/roles/entities/Role.d.ts +3 -2
  361. package/dist/types/roles/entities/Role.js.map +1 -1
  362. package/dist/types/roles/entities/index.d.ts +6 -0
  363. package/dist/types/roles/entities/index.js +10 -0
  364. package/dist/types/roles/entities/index.js.map +1 -1
  365. package/dist/types/roles/types/index.d.ts +1 -0
  366. package/dist/types/roles/types/index.js +1 -0
  367. package/dist/types/roles/types/index.js.map +1 -1
  368. package/dist/types/roles/types/role.consts.d.ts +1 -0
  369. package/dist/types/roles/types/role.consts.js +6 -0
  370. package/dist/types/roles/types/role.consts.js.map +1 -0
  371. package/dist/types/roles/types/role.enums.d.ts +13 -2
  372. package/dist/types/roles/types/role.enums.js +13 -1
  373. package/dist/types/roles/types/role.enums.js.map +1 -1
  374. package/dist/types/services/enums.service.d.ts +23 -2
  375. package/dist/types/services/enums.service.js +27 -3
  376. package/dist/types/services/enums.service.js.map +1 -1
  377. package/dist/types/services/interfaces.service.d.ts +15 -3
  378. package/dist/types/services/interfaces.service.js.map +1 -1
  379. package/dist/types/shifts/entities/shift.entity.d.ts +1 -1
  380. package/dist/types/user/dto/user-settings.dto.d.ts +1 -1
  381. package/dist/types/user/dto/user.dto.d.ts +1 -1
  382. package/dist/types/user/dto/user.dto.js.map +1 -1
  383. package/dist/types/user/entities/User.d.ts +3 -1
  384. package/dist/types/user/entities/User.js.map +1 -1
  385. package/dist/types/user/types/user.interfaces.d.ts +15 -0
  386. package/dist/types/user-identification/dto/user-identifier.dto.d.ts +3 -0
  387. package/dist/types/user-identification/dto/user-identifier.dto.js +7 -1
  388. package/dist/types/user-identification/dto/user-identifier.dto.js.map +1 -1
  389. package/dist/types/user-identification/entities/UserIdentifier.d.ts +2 -0
  390. package/dist/types/user-identification/entities/UserIdentifier.js.map +1 -1
  391. package/dist/types/util/models/interfaces/general.interfaces.d.ts +2 -1
  392. package/dist/types/webflow/dto/index.d.ts +1 -0
  393. package/dist/types/webflow/dto/index.js +18 -0
  394. package/dist/types/webflow/dto/index.js.map +1 -0
  395. package/dist/types/webflow/dto/webflowProgram.dto.d.ts +14 -0
  396. package/dist/types/webflow/dto/webflowProgram.dto.js +7 -0
  397. package/dist/types/webflow/dto/webflowProgram.dto.js.map +1 -0
  398. package/dist/types/{entity → webflow/entities}/WebflowOrganizationConfiguration.d.ts +1 -1
  399. package/dist/types/{entity → webflow/entities}/WebflowOrganizationConfiguration.js +1 -1
  400. package/dist/types/webflow/entities/WebflowOrganizationConfiguration.js.map +1 -0
  401. package/dist/types/webflow/entities/index.d.ts +1 -0
  402. package/dist/types/webflow/entities/index.js +18 -0
  403. package/dist/types/webflow/entities/index.js.map +1 -0
  404. package/dist/types/webflow/index.d.ts +2 -0
  405. package/dist/types/webflow/index.js +2 -0
  406. package/dist/types/webflow/index.js.map +1 -1
  407. package/package.json +1 -1
  408. package/dist/types/entity/Address.js.map +0 -1
  409. package/dist/types/entity/WebflowOrganizationConfiguration.js.map +0 -1
  410. package/dist/types/membership/interfaces/index.d.ts +0 -1
  411. package/dist/types/membership/interfaces/index.js.map +0 -1
  412. package/dist/types/membership/interfaces/membership.interfaces.js.map +0 -1
  413. package/dist/types/notifications/types/enums/index.js.map +0 -1
  414. package/dist/types/notifications/types/enums/notification.enums.d.ts +0 -30
  415. package/dist/types/notifications/types/enums/notification.enums.js +0 -41
  416. package/dist/types/notifications/types/enums/notification.enums.js.map +0 -1
  417. package/dist/types/notifications/types/index.js.map +0 -1
  418. /package/dist/types/{notifications → accounting}/types/index.d.ts +0 -0
  419. /package/dist/types/{notifications → accounting}/types/index.js +0 -0
  420. /package/dist/types/membership/{interfaces → types}/membership.interfaces.js +0 -0
  421. /package/dist/types/notifications/{types → dto/types}/enums/index.d.ts +0 -0
  422. /package/dist/types/notifications/{types → dto/types}/enums/index.js +0 -0
@@ -1,33 +1,55 @@
1
+ import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
2
+ import { FacilityDto } from '../../dto/facilities.dto';
3
+ import { SimpleProductUserDto } from '../../dto/product-user';
4
+ import { SimpleInvoiceDto } from '../../invoice/dto/invoice.dto';
5
+ import { ProductDto } from '../../product-pricing/dto/product.dto';
1
6
  import { Product } from '../../product-pricing/entities/Product';
2
- import { SimpleResourceDto } from '../../resources/dto/resource.dto';
7
+ import { InstructorResourceDto } from '../../resources/dto/instructor.dto';
8
+ import { SpaceResourceDto } from '../../resources/dto/space.dto';
3
9
  import { ResourceNameTypeEnum, SportsEnum } from '../../services/enums.service';
4
10
  import { Slot } from '../entities/slot.entity';
5
11
  import { DurationTypeEnum, DurationUnitTypesEnum, MaintenanceTimingEnum, PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
6
12
  import { IOverridePriceMeta } from '../types/interfaces/reservation.interfaces';
7
- import { IDraftSlot, ISlotProductMetadata, ITimeSlot } from '../types/interfaces/slot.interfaces';
8
- import { AddonDto, DraftAddonDto } from './addon.dto';
13
+ import { IBaseSlot, IDraftSlot, ISlotProductMetadata, ISlotProductPricesMetadata, ITimeSlot } from '../types/interfaces/slot.interfaces';
14
+ import { AddonDto, CreateDraftAddonDto, DraftAddonDto } from './addon.dto';
9
15
  import { MaintenanceDto } from './maintenance.dto';
10
16
  export declare class SlotProductMetadataDto implements ISlotProductMetadata {
11
17
  productId: number;
12
18
  price: number;
19
+ quantity: number;
20
+ priceId?: number;
21
+ prices?: SlotProductPricesMetadataDto[];
13
22
  }
14
- export declare class DateTimeAndResourcesDto {
23
+ export declare class SlotProductPricesMetadataDto implements ISlotProductPricesMetadata {
24
+ priceId: number;
25
+ price: number;
26
+ quantity: number;
27
+ totalPrice: number;
28
+ }
29
+ export declare class BaseSlotFieldsDto {
30
+ organizationId?: number;
15
31
  startDate: string;
16
32
  startTime?: string;
17
33
  endDate?: string;
18
34
  endTime?: string;
19
35
  spaceId: number;
20
36
  instructorsIds?: number[];
37
+ title?: string;
38
+ publicNotes?: string;
39
+ privateNotes?: string;
40
+ sportIds?: SportsEnum[];
41
+ sportId?: SportsEnum;
42
+ privacySetting?: PrivacySettingsEnum;
43
+ colorCodeId?: number;
44
+ participantsNumber?: number;
45
+ maintenance?: MaintenanceDto[];
21
46
  }
22
- export declare class BaseSlotDto extends DateTimeAndResourcesDto {
23
- organizationId?: number;
47
+ export declare class BaseSlotDto extends BaseSlotFieldsDto implements IBaseSlot {
24
48
  title: string;
25
49
  creatorId?: number;
26
50
  creatorType?: ResourceNameTypeEnum;
27
51
  userCreatorId?: number;
28
52
  timezone?: string;
29
- publicNotes?: string;
30
- privateNotes?: string;
31
53
  slotType: SlotTypeEnum;
32
54
  sportIds: SportsEnum[];
33
55
  maintenanceDurationdurationType?: DurationUnitTypesEnum;
@@ -36,11 +58,7 @@ export declare class BaseSlotDto extends DateTimeAndResourcesDto {
36
58
  displayName?: string;
37
59
  internalName?: string;
38
60
  totalPrice?: number;
39
- privacySetting?: PrivacySettingsEnum;
40
61
  slotDurationType: DurationTypeEnum;
41
- colorCodeId?: number;
42
- participantsNumber?: number;
43
- conflictsIds?: number[];
44
62
  occurrence?: number;
45
63
  productMetadata?: SlotProductMetadataDto;
46
64
  }
@@ -61,10 +79,64 @@ export declare class SlotDto extends BaseSlotDto {
61
79
  [addonProductId: number]: IOverridePriceMeta;
62
80
  };
63
81
  addonProducts?: Product[];
64
- maintenance?: MaintenanceDto[];
65
82
  isPrivate: boolean;
66
83
  addonsIds?: number[];
67
84
  parentSlotId?: number;
85
+ facilityId?: number;
86
+ }
87
+ export declare class BaseDraftSlotDto extends BaseSlotDto {
88
+ id: string;
89
+ facilityId: number;
90
+ reservationId: string;
91
+ segmentId: string;
92
+ seriesId: string;
93
+ parentSlotId?: string;
94
+ participantsIds?: number[];
95
+ slotId?: number;
96
+ }
97
+ export declare class UpdateDraftSlotDto {
98
+ id?: string;
99
+ title?: string;
100
+ privacySetting?: PrivacySettingsEnum;
101
+ colorCodeId?: number;
102
+ spaceId?: number;
103
+ sportIds?: SportsEnum[];
104
+ startDate?: string;
105
+ startTime?: string;
106
+ endDate?: string;
107
+ endTime?: string;
108
+ maintenance?: MaintenanceDto[];
109
+ privateNotes?: string;
110
+ publicNotes?: string;
111
+ productsIds?: number[];
112
+ instructorsIds?: number[];
113
+ participantsIds?: number[];
114
+ participantsNumber?: number;
115
+ addons?: CreateDraftAddonDto[];
116
+ }
117
+ export declare class DraftSlotsDto extends BaseSlotFieldsDto {
118
+ ids: string[];
119
+ facilitiesIds: number[];
120
+ segmentsIds: string[];
121
+ reservationId: string;
122
+ participantsIds?: number[];
123
+ productsIds?: number[];
124
+ addons?: CreateDraftAddonDto[];
125
+ spacesIds?: number[];
126
+ combinedInstructorsIds?: number[];
127
+ sportsIds?: SportsEnum[];
128
+ productId?: number;
129
+ }
130
+ export declare class DraftSlotDto extends BaseDraftSlotDto implements IDraftSlot {
131
+ maintenanceSlots?: DraftSlotDto[];
132
+ addons?: DraftAddonDto[];
133
+ space?: SpaceResourceDto;
134
+ instructors?: InstructorResourceDto[];
135
+ participants?: SimpleCustomerDto[];
136
+ product?: ProductDto;
137
+ conflictsIds?: number[];
138
+ facility?: FacilityDto;
139
+ owner?: SimpleCustomerDto;
68
140
  }
69
141
  export declare class TimeSlotDto implements ITimeSlot {
70
142
  id?: number;
@@ -89,19 +161,6 @@ export declare class UpdateSlotsColorsDto {
89
161
  slotId: number;
90
162
  colorCodeId: number;
91
163
  }
92
- export declare class DraftSlotDto extends BaseSlotDto implements IDraftSlot {
93
- id: string;
94
- reservationId?: string;
95
- segmentId?: string;
96
- seriesId?: string;
97
- maintenanceSlots?: DraftSlotDto[];
98
- addons?: DraftAddonDto[];
99
- participantsIds?: number[];
100
- space?: SimpleResourceDto;
101
- instructors?: SimpleResourceDto[];
102
- totalSlotsInSeries?: number;
103
- parentSlotId?: string;
104
- }
105
164
  export declare class TimeSlotConflictsDto {
106
165
  timeSlot: TimeSlotDto;
107
166
  conflicts: Slot[];
@@ -115,3 +174,24 @@ export declare class DraftTimeSlotDto implements ITimeSlot {
115
174
  endTime: string;
116
175
  parentSlotId?: string;
117
176
  }
177
+ export declare class ProblematicSlotDto {
178
+ id: string;
179
+ startDate: string;
180
+ endDate: string;
181
+ startTime: string;
182
+ endTime: string;
183
+ spaceId: number;
184
+ title: string;
185
+ spaceName?: string;
186
+ instructorsIds?: number[];
187
+ slotId?: number;
188
+ }
189
+ export declare class CardSlotDto extends SlotDto {
190
+ resource: SpaceResourceDto;
191
+ productUser?: SimpleProductUserDto;
192
+ invoice?: SimpleInvoiceDto;
193
+ customer?: SimpleCustomerDto;
194
+ totalSlotsInReservation?: number;
195
+ hasConflicts?: boolean;
196
+ addons?: AddonDto[];
197
+ }
@@ -1,18 +1,33 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DraftTimeSlotDto = exports.TimeSlotConflictsDto = exports.DraftSlotDto = exports.UpdateSlotsColorsDto = exports.SlotsIdsDto = exports.TimeSlotsDto = exports.TimeSlotDto = exports.SlotDto = exports.BaseSlotDto = exports.DateTimeAndResourcesDto = exports.SlotProductMetadataDto = void 0;
3
+ exports.CardSlotDto = exports.ProblematicSlotDto = exports.DraftTimeSlotDto = exports.TimeSlotConflictsDto = exports.UpdateSlotsColorsDto = exports.SlotsIdsDto = exports.TimeSlotsDto = exports.TimeSlotDto = exports.DraftSlotDto = exports.DraftSlotsDto = exports.UpdateDraftSlotDto = exports.BaseDraftSlotDto = exports.SlotDto = exports.BaseSlotDto = exports.BaseSlotFieldsDto = exports.SlotProductPricesMetadataDto = exports.SlotProductMetadataDto = void 0;
4
4
  class SlotProductMetadataDto {
5
5
  }
6
6
  exports.SlotProductMetadataDto = SlotProductMetadataDto;
7
- class DateTimeAndResourcesDto {
7
+ class SlotProductPricesMetadataDto {
8
8
  }
9
- exports.DateTimeAndResourcesDto = DateTimeAndResourcesDto;
10
- class BaseSlotDto extends DateTimeAndResourcesDto {
9
+ exports.SlotProductPricesMetadataDto = SlotProductPricesMetadataDto;
10
+ class BaseSlotFieldsDto {
11
+ }
12
+ exports.BaseSlotFieldsDto = BaseSlotFieldsDto;
13
+ class BaseSlotDto extends BaseSlotFieldsDto {
11
14
  }
12
15
  exports.BaseSlotDto = BaseSlotDto;
13
16
  class SlotDto extends BaseSlotDto {
14
17
  }
15
18
  exports.SlotDto = SlotDto;
19
+ class BaseDraftSlotDto extends BaseSlotDto {
20
+ }
21
+ exports.BaseDraftSlotDto = BaseDraftSlotDto;
22
+ class UpdateDraftSlotDto {
23
+ }
24
+ exports.UpdateDraftSlotDto = UpdateDraftSlotDto;
25
+ class DraftSlotsDto extends BaseSlotFieldsDto {
26
+ }
27
+ exports.DraftSlotsDto = DraftSlotsDto;
28
+ class DraftSlotDto extends BaseDraftSlotDto {
29
+ }
30
+ exports.DraftSlotDto = DraftSlotDto;
16
31
  class TimeSlotDto {
17
32
  }
18
33
  exports.TimeSlotDto = TimeSlotDto;
@@ -25,13 +40,16 @@ exports.SlotsIdsDto = SlotsIdsDto;
25
40
  class UpdateSlotsColorsDto {
26
41
  }
27
42
  exports.UpdateSlotsColorsDto = UpdateSlotsColorsDto;
28
- class DraftSlotDto extends BaseSlotDto {
29
- }
30
- exports.DraftSlotDto = DraftSlotDto;
31
43
  class TimeSlotConflictsDto {
32
44
  }
33
45
  exports.TimeSlotConflictsDto = TimeSlotConflictsDto;
34
46
  class DraftTimeSlotDto {
35
47
  }
36
48
  exports.DraftTimeSlotDto = DraftTimeSlotDto;
49
+ class ProblematicSlotDto {
50
+ }
51
+ exports.ProblematicSlotDto = ProblematicSlotDto;
52
+ class CardSlotDto extends SlotDto {
53
+ }
54
+ exports.CardSlotDto = CardSlotDto;
37
55
  //# sourceMappingURL=slot.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAoBA,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAa,WAAY,SAAQ,uBAAuB;CA8CvD;AA9CD,kCA8CC;AAED,MAAa,OAAQ,SAAQ,WAAW;CAkCvC;AAlCD,0BAkCC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,YAAa,SAAQ,WAAW;CAsB5C;AAtBD,oCAsBC;AAED,MAAa,oBAAoB;CAKhC;AALD,oDAKC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC"}
1
+ {"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAgCA,MAAa,sBAAsB;CAUlC;AAVD,wDAUC;AAED,MAAa,4BAA4B;CAQxC;AARD,oEAQC;AAED,MAAa,iBAAiB;CAgC7B;AAhCD,8CAgCC;AAED,MAAa,WAAY,SAAQ,iBAAiB;CAgCjD;AAhCD,kCAgCC;AAED,MAAa,OAAQ,SAAQ,WAAW;CAkCvC;AAlCD,0BAkCC;AAED,MAAa,gBAAiB,SAAQ,WAAW;CAgBhD;AAhBD,4CAgBC;AAED,MAAa,kBAAkB;CAoC9B;AApCD,gDAoCC;AAED,MAAa,aAAc,SAAQ,iBAAiB;CAsBnD;AAtBD,sCAsBC;AAED,MAAa,YAAa,SAAQ,gBAAgB;CAkBjD;AAlBD,oCAkBC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,oBAAoB;CAKhC;AALD,oDAKC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAa,kBAAkB;CAoB9B;AApBD,gDAoBC;AAED,MAAa,WAAY,SAAQ,OAAO;CAcvC;AAdD,kCAcC"}
@@ -33,4 +33,5 @@ export declare class BookingV1Dto {
33
33
  skipPayment: boolean;
34
34
  cashPayment: boolean;
35
35
  requestOnly: boolean;
36
+ amountToPay?: number;
36
37
  }
@@ -1 +1 @@
1
- {"version":3,"file":"v1.reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/v1.reservation.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,gBAAgB;CAU5B;AAVD,4CAUC;AAED,MAAa,UAAU;CAMtB;AAND,gCAMC;AAED,MAAa,gBAAgB;CA2B5B;AA3BD,4CA2BC;AAED,MAAa,YAAY;CAcxB;AAdD,oCAcC"}
1
+ {"version":3,"file":"v1.reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/v1.reservation.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,gBAAgB;CAU5B;AAVD,4CAUC;AAED,MAAa,UAAU;CAMtB;AAND,gCAMC;AAED,MAAa,gBAAgB;CA2B5B;AA3BD,4CA2BC;AAED,MAAa,YAAY;CAgBxB;AAhBD,oCAgBC"}
@@ -1,7 +1,11 @@
1
1
  import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
2
+ import { Resource } from '../../resources/entities/Resource';
2
3
  import { ResourceTypeEnum } from '../../services/enums.service';
4
+ import { Slot } from './slot.entity';
3
5
  export declare class SlotToResource extends OrganizationConnectionBaseEntity {
4
6
  slotId: number;
7
+ slot: Slot;
5
8
  resourceId: number;
9
+ resource: Resource;
6
10
  resourceType: ResourceTypeEnum;
7
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SlotToResource.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/SlotToResource.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AAGjG,MAAa,cAAe,SAAQ,mEAAgC;CAMnE;AAND,wCAMC"}
1
+ {"version":3,"file":"SlotToResource.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/SlotToResource.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AAKjG,MAAa,cAAe,SAAQ,mEAAgC;CAUnE;AAVD,wCAUC"}
@@ -29,4 +29,5 @@ export declare class Addon extends OrganizationConnectionBaseEntity {
29
29
  previousProductUsers?: ProductsUsers[];
30
30
  reservation?: Reservation;
31
31
  slot?: Slot;
32
+ cartItemId?: string;
32
33
  }
@@ -1 +1 @@
1
- {"version":3,"file":"addon.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/addon.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAUjG,MAAa,KAAM,SAAQ,mEAAgC;CA2C1D;AA3CD,sBA2CC"}
1
+ {"version":3,"file":"addon.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/addon.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAUjG,MAAa,KAAM,SAAQ,mEAAgC;CA6C1D;AA7CD,sBA6CC"}
@@ -1,6 +1,7 @@
1
1
  import { Customer } from '../../entity/Customer';
2
2
  import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
3
- import { ResourceNameTypeEnum } from '../../services/enums.service';
3
+ import { ResourceNameTypeEnum, SportsEnum } from '../../services/enums.service';
4
+ import { OverrideProductsPricing } from '../types/classes/reservation.classes';
4
5
  import { PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum } from '../types/enums/reservation.enums';
5
6
  import { Addon } from './addon.entity';
6
7
  import { Segment } from './segment.entity';
@@ -26,16 +27,14 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
26
27
  answerTitleIds?: number[] | null;
27
28
  segments?: Segment[];
28
29
  addons: Addon[];
29
- slots: Slot[];
30
- overrideProductsPrice: Record<string, {
31
- productId: number;
32
- price: number;
33
- }>;
30
+ slots?: Slot[];
31
+ overrideProductsPrice: OverrideProductsPricing;
34
32
  targetGlobalPrice?: number;
35
33
  invoiceId?: string;
36
34
  startTime?: string;
37
35
  startDate?: Date;
38
36
  endDate?: Date;
39
- sportType?: number;
37
+ sportType?: SportsEnum;
40
38
  migrationStatus?: string;
39
+ invoicesIds?: number[];
41
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"reservation.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/reservation.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAcjG,MAAa,WAAY,SAAQ,mEAAgC;CA+DhE;AA/DD,kCA+DC"}
1
+ {"version":3,"file":"reservation.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/reservation.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAejG,MAAa,WAAY,SAAQ,mEAAgC;CAiEhE;AAjED,kCAiEC"}
@@ -6,13 +6,15 @@ import { ProductsUsers } from '../../entity/ProductsUsers';
6
6
  import { Product } from '../../product-pricing/entities/Product';
7
7
  import { Resource } from '../../resources/entities/Resource';
8
8
  import { ResourceNameTypeEnum } from '../../services/enums.service';
9
+ import { SlotProductMetadata } from '../types/classes/product.classes';
9
10
  import { DurationTypeEnum, DurationUnitTypesEnum, MaintenanceTimingEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
10
11
  import { IAddonMetadata } from '../types/interfaces/reservation.interfaces';
11
- import { ISlotProductMetadata } from '../types/interfaces/slot.interfaces';
12
12
  import { Addon } from './addon.entity';
13
13
  import { Reservation } from './reservation.entity';
14
14
  import { Segment } from './segment.entity';
15
15
  import { Series } from './series.entity';
16
+ import { SlotToResource } from './SlotToResource';
17
+ import { Customer } from '../../entity/Customer';
16
18
  export declare class Slot extends OrganizationConnectionBaseEntity {
17
19
  isReverted: boolean;
18
20
  deletedAt?: Date;
@@ -26,7 +28,8 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
26
28
  event: Event;
27
29
  spaceId?: number;
28
30
  resource?: Resource;
29
- resources: Resource[];
31
+ slotToResources?: SlotToResource[];
32
+ resources?: Resource[];
30
33
  parentSlotId?: number;
31
34
  parent?: Slot;
32
35
  children?: Slot[];
@@ -57,14 +60,16 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
57
60
  displayName?: string;
58
61
  internalName?: string;
59
62
  totalPrice: number;
60
- productMetadata?: ISlotProductMetadata;
63
+ productMetadata?: SlotProductMetadata;
61
64
  slotDurationType: DurationTypeEnum;
62
65
  previousProductUsersIds?: number[];
63
66
  previousProductUsers?: ProductsUsers[];
64
67
  colorCodeId?: number;
65
68
  colorCode?: ColorCode;
69
+ cartItemId?: string;
66
70
  conflictsCount?: number;
67
71
  conflicts?: Slot[];
72
+ hasConflicts?: boolean;
68
73
  maintenance?: Slot[];
69
74
  maintenanceSlots?: Slot[];
70
75
  addonsProductUserIds?: number[] | null;
@@ -75,4 +80,6 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
75
80
  isMonitorVisible: boolean;
76
81
  isPrivate: boolean;
77
82
  occurrence?: number;
83
+ totalSlotsInReservation?: number;
84
+ customer?: Customer;
78
85
  }
@@ -1 +1 @@
1
- {"version":3,"file":"slot.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/slot.entity.ts"],"names":[],"mappings":";;;AAeA,oGAAiG;AAsBjG,MAAa,IAAK,SAAQ,mEAAgC;CAuHzD;AAvHD,oBAuHC"}
1
+ {"version":3,"file":"slot.entity.js","sourceRoot":"","sources":["../../../../src/types/reservations/entities/slot.entity.ts"],"names":[],"mappings":";;;AAeA,oGAAiG;AAuBjG,MAAa,IAAK,SAAQ,mEAAgC;CAoIzD;AApID,oBAoIC"}
@@ -0,0 +1,22 @@
1
+ import { Product } from '../../../product-pricing/entities/Product';
2
+ import { AddonParentTypeEnum, ProductPackageLevelEnum } from '../../../services/enums.service';
3
+ import { IDraftAddon } from '../interfaces/addon.interfaces';
4
+ import { ReservationPaymentStatusEnum, ReservationStatusEnum } from '../enums/reservation.enums';
5
+ export declare class DraftAddon implements IDraftAddon {
6
+ id: string;
7
+ productId: number;
8
+ product?: Product;
9
+ quantity: number;
10
+ baseQuantity?: number;
11
+ unitPrice?: number;
12
+ totalPrice?: number;
13
+ parentId?: string;
14
+ parentType?: AddonParentTypeEnum;
15
+ level?: ProductPackageLevelEnum;
16
+ addonId?: number;
17
+ cartItemId?: string;
18
+ organizationId?: number;
19
+ productUserId?: number;
20
+ approvalStatus?: ReservationStatusEnum;
21
+ paymentStatus?: ReservationPaymentStatusEnum;
22
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DraftAddon = void 0;
4
+ class DraftAddon {
5
+ }
6
+ exports.DraftAddon = DraftAddon;
7
+ //# sourceMappingURL=addon.classes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addon.classes.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/addon.classes.ts"],"names":[],"mappings":";;;AAKA,MAAa,UAAU;CAgCtB;AAhCD,gCAgCC"}
@@ -0,0 +1,7 @@
1
+ export * from './addon.classes';
2
+ export * from './maintenance.classes';
3
+ export * from './product.classes';
4
+ export * from './reservation.classes';
5
+ export * from './segment.classes';
6
+ export * from './series.classes';
7
+ export * from './slot.classes';
@@ -0,0 +1,24 @@
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("./addon.classes"), exports);
18
+ __exportStar(require("./maintenance.classes"), exports);
19
+ __exportStar(require("./product.classes"), exports);
20
+ __exportStar(require("./reservation.classes"), exports);
21
+ __exportStar(require("./segment.classes"), exports);
22
+ __exportStar(require("./series.classes"), exports);
23
+ __exportStar(require("./slot.classes"), exports);
24
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,wDAAsC;AACtC,oDAAkC;AAClC,wDAAsC;AACtC,oDAAkC;AAClC,mDAAiC;AACjC,iDAA+B"}
@@ -0,0 +1,8 @@
1
+ import { DurationUnitTypesEnum, MaintenanceTimingEnum } from '../enums/reservation.enums';
2
+ import { IMaintenance } from '../interfaces/series.interfaces';
3
+ export declare class Maintenance implements IMaintenance {
4
+ title: string;
5
+ durationValue: number;
6
+ maintenanceDurationdurationType: DurationUnitTypesEnum;
7
+ maintenanceTiming: MaintenanceTimingEnum;
8
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Maintenance = void 0;
4
+ class Maintenance {
5
+ }
6
+ exports.Maintenance = Maintenance;
7
+ //# sourceMappingURL=maintenance.classes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"maintenance.classes.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/maintenance.classes.ts"],"names":[],"mappings":";;;AAGA,MAAa,WAAW;CAQvB;AARD,kCAQC"}
@@ -0,0 +1,16 @@
1
+ import { ISlotProductMetadata, ISlotProductPricesMetadata } from '../interfaces/slot.interfaces';
2
+ import { ActivityTimes } from '../../../entity/ActivityTimes';
3
+ export declare class SlotProductPricesMetadata implements ISlotProductPricesMetadata {
4
+ priceId: number;
5
+ price: number;
6
+ quantity: number;
7
+ activityTimes?: ActivityTimes[];
8
+ totalPrice: number;
9
+ }
10
+ export declare class SlotProductMetadata implements ISlotProductMetadata {
11
+ productId: number;
12
+ price: number;
13
+ quantity: number;
14
+ priceId?: number;
15
+ prices?: SlotProductPricesMetadata[];
16
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SlotProductMetadata = exports.SlotProductPricesMetadata = void 0;
4
+ class SlotProductPricesMetadata {
5
+ }
6
+ exports.SlotProductPricesMetadata = SlotProductPricesMetadata;
7
+ class SlotProductMetadata {
8
+ }
9
+ exports.SlotProductMetadata = SlotProductMetadata;
10
+ //# sourceMappingURL=product.classes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"product.classes.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/product.classes.ts"],"names":[],"mappings":";;;AAGA,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AAED,MAAa,mBAAmB;CAU/B;AAVD,kDAUC"}
@@ -0,0 +1,58 @@
1
+ import { Cart } from '../../../cart/entities/cart.entity';
2
+ import { Customer } from '../../../entity/Customer';
3
+ import { Facility } from '../../../entity/Facility';
4
+ import { Product } from '../../../product-pricing/entities/Product';
5
+ import { Resource } from '../../../resources/entities/Resource';
6
+ import { ResourceNameTypeEnum, SportsEnum } from '../../../services/enums.service';
7
+ import { Reservation } from '../../entities/reservation.entity';
8
+ import { PrivacySettingsEnum, ReservationMigrationStatusEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum } from '../enums/reservation.enums';
9
+ import { IDraftReservation, IDuplicateDetails, IOverrideProductsPricing, IProductPrice } from '../interfaces/reservation.interfaces';
10
+ import { DraftAddon } from './addon.classes';
11
+ import { DraftSegment, SegmentsAddons } from './segment.classes';
12
+ import { DraftSlot } from './slot.classes';
13
+ export declare class OverrideProductsPricing implements IOverrideProductsPricing {
14
+ [productInfo: string]: IProductPrice;
15
+ }
16
+ export declare class DraftReservation implements IDraftReservation {
17
+ id: string;
18
+ organizationId: number;
19
+ name: string;
20
+ reservationType: ReservationTypeEnum;
21
+ description?: string;
22
+ privacySetting: PrivacySettingsEnum;
23
+ price?: number;
24
+ creatorId: number;
25
+ creatorType: ResourceNameTypeEnum;
26
+ userCreatorId: number;
27
+ publicNotes?: string;
28
+ privateNotes?: string;
29
+ forms?: number[];
30
+ overrideProductsPrice?: OverrideProductsPricing;
31
+ colorCodeId: number;
32
+ customerId: number;
33
+ owner?: Customer;
34
+ conflictsCount?: number;
35
+ segments: DraftSegment[];
36
+ addons?: DraftAddon[];
37
+ segmentsAddons?: SegmentsAddons[];
38
+ participants?: Customer[];
39
+ products?: Product[];
40
+ spaces?: Resource[];
41
+ instructors?: Resource[];
42
+ facilities: Facility[];
43
+ cartId?: number;
44
+ cart?: Cart;
45
+ taxAmount?: number;
46
+ sportType?: SportsEnum;
47
+ approvalStatus?: ReservationStatusEnum;
48
+ paymentStatus?: ReservationPaymentStatusEnum;
49
+ migrationStatus?: ReservationMigrationStatusEnum;
50
+ startDate?: string;
51
+ startTime?: string;
52
+ endDate?: string;
53
+ endTime?: string;
54
+ addToReservationId?: number;
55
+ reservation?: Reservation;
56
+ duplicateDetails?: IDuplicateDetails;
57
+ slots?: DraftSlot[];
58
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DraftReservation = exports.OverrideProductsPricing = void 0;
4
+ class OverrideProductsPricing {
5
+ }
6
+ exports.OverrideProductsPricing = OverrideProductsPricing;
7
+ class DraftReservation {
8
+ }
9
+ exports.DraftReservation = DraftReservation;
10
+ //# sourceMappingURL=reservation.classes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reservation.classes.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/reservation.classes.ts"],"names":[],"mappings":";;;AAwBA,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,gBAAgB;CAkF5B;AAlFD,4CAkFC"}
@@ -0,0 +1,32 @@
1
+ import { SportsEnum } from '../../../services/enums.service';
2
+ import { PrivacySettingsEnum } from '../enums/reservation.enums';
3
+ import { IDraftSegment } from '../interfaces/segment.interfaces';
4
+ import { DraftSeries } from './series.classes';
5
+ import { ISegmentsAddons } from '../interfaces/addon.interfaces';
6
+ import { Product } from '../../../product-pricing/entities/Product';
7
+ export declare class DraftSegment implements IDraftSegment {
8
+ id: string;
9
+ reservationId: string;
10
+ organizationId: number;
11
+ facilityId: number;
12
+ title: string;
13
+ privacySetting: PrivacySettingsEnum;
14
+ resourceIds: number[];
15
+ instructorsIds?: number[];
16
+ sportId: SportsEnum;
17
+ publicNotesForSlots?: string;
18
+ privateNotesForSlots?: string;
19
+ colorCodeId: number;
20
+ participantsNumber?: number;
21
+ participantsIds?: number[];
22
+ productsIds?: number[];
23
+ series: DraftSeries[];
24
+ addToSegmentId?: number;
25
+ }
26
+ export declare class SegmentsAddons implements ISegmentsAddons {
27
+ groupId: string;
28
+ ids: string[];
29
+ productsIds: number[];
30
+ quantity: number;
31
+ products?: Product[];
32
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SegmentsAddons = exports.DraftSegment = void 0;
4
+ class DraftSegment {
5
+ }
6
+ exports.DraftSegment = DraftSegment;
7
+ class SegmentsAddons {
8
+ }
9
+ exports.SegmentsAddons = SegmentsAddons;
10
+ //# sourceMappingURL=segment.classes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"segment.classes.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/segment.classes.ts"],"names":[],"mappings":";;;AAOA,MAAa,YAAY;CAkCxB;AAlCD,oCAkCC;AAED,MAAa,cAAc;CAU1B;AAVD,wCAUC"}