@bondsports/types 2.2.284-a-2 → 2.2.284-team-b

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 (426) hide show
  1. package/README.md +71 -71
  2. package/dist/tsconfig.build.tsbuildinfo +1 -1
  3. package/dist/types/address/index.d.ts +0 -2
  4. package/dist/types/address/index.js +0 -2
  5. package/dist/types/address/index.js.map +1 -1
  6. package/dist/types/cart/dto/cart.dto.d.ts +2 -65
  7. package/dist/types/cart/dto/cart.dto.js +1 -28
  8. package/dist/types/cart/dto/cart.dto.js.map +1 -1
  9. package/dist/types/cart/entities/cart-item.entity.d.ts +0 -8
  10. package/dist/types/cart/entities/cart-item.entity.js.map +1 -1
  11. package/dist/types/cart/entities/cart.entity.d.ts +1 -1
  12. package/dist/types/cart/entities/cart.entity.js.map +1 -1
  13. package/dist/types/cart/types/index.d.ts +0 -1
  14. package/dist/types/cart/types/index.js +0 -1
  15. package/dist/types/cart/types/index.js.map +1 -1
  16. package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +1 -63
  17. package/dist/types/customers/dto/customer-response.dto.d.ts +0 -5
  18. package/dist/types/customers/dto/customer-response.dto.js +1 -4
  19. package/dist/types/customers/dto/customer-response.dto.js.map +1 -1
  20. package/dist/types/customers/dto/full-customer.dto.d.ts +1 -1
  21. package/dist/types/customers/dto/full-customer.dto.js.map +1 -1
  22. package/dist/types/customers/types/consts/customers.consts.d.ts +0 -1
  23. package/dist/types/customers/types/consts/customers.consts.js +2 -5
  24. package/dist/types/customers/types/consts/customers.consts.js.map +1 -1
  25. package/dist/types/customers/types/interfaces.d.ts +1 -10
  26. package/dist/types/dto/activityTimes.dto.d.ts +0 -10
  27. package/dist/types/dto/activityTimes.dto.js +1 -4
  28. package/dist/types/dto/activityTimes.dto.js.map +1 -1
  29. package/dist/types/dto/events.dto.d.ts +2 -4
  30. package/dist/types/dto/events.dto.js.map +1 -1
  31. package/dist/types/dto/facilities.dto.d.ts +9 -2
  32. package/dist/types/dto/facilities.dto.js +4 -1
  33. package/dist/types/dto/facilities.dto.js.map +1 -1
  34. package/dist/types/dto/general.dto.d.ts +5 -11
  35. package/dist/types/dto/general.dto.js +2 -4
  36. package/dist/types/dto/general.dto.js.map +1 -1
  37. package/dist/types/dto/groupsDivisions.dto.d.ts +2 -15
  38. package/dist/types/dto/groupsDivisions.dto.js +3 -6
  39. package/dist/types/dto/groupsDivisions.dto.js.map +1 -1
  40. package/dist/types/dto/membership.dto.d.ts +1 -17
  41. package/dist/types/dto/membership.dto.js.map +1 -1
  42. package/dist/types/dto/product-user.d.ts +0 -10
  43. package/dist/types/dto/product-user.js +1 -7
  44. package/dist/types/dto/product-user.js.map +1 -1
  45. package/dist/types/dto/product-variants.dto.d.ts +14 -2
  46. package/dist/types/dto/product-variants.dto.js +5 -2
  47. package/dist/types/dto/product-variants.dto.js.map +1 -1
  48. package/dist/types/dto/userPaymentMethod.dto.d.ts +0 -4
  49. package/dist/types/dto/userPaymentMethod.dto.js +1 -4
  50. package/dist/types/dto/userPaymentMethod.dto.js.map +1 -1
  51. package/dist/types/employees/dto/employee.dto.d.ts +5 -21
  52. package/dist/types/employees/dto/employee.dto.js +1 -8
  53. package/dist/types/employees/dto/employee.dto.js.map +1 -1
  54. package/dist/types/employees/types/index.d.ts +0 -1
  55. package/dist/types/employees/types/index.js +0 -1
  56. package/dist/types/employees/types/index.js.map +1 -1
  57. package/dist/types/entity/ActivityTimes.d.ts +3 -4
  58. package/dist/types/entity/ActivityTimes.js.map +1 -1
  59. package/dist/types/{address/entities → entity}/Address.d.ts +1 -1
  60. package/dist/types/{address/entities → entity}/Address.js +1 -1
  61. package/dist/types/entity/Address.js.map +1 -0
  62. package/dist/types/entity/Customer.d.ts +1 -3
  63. package/dist/types/entity/Customer.js.map +1 -1
  64. package/dist/types/entity/EventAttendees.d.ts +6 -6
  65. package/dist/types/entity/EventAttendees.js.map +1 -1
  66. package/dist/types/entity/EventHistory.d.ts +1 -1
  67. package/dist/types/entity/EventHistory.js.map +1 -1
  68. package/dist/types/entity/Facility.d.ts +1 -1
  69. package/dist/types/entity/LineItems.d.ts +0 -3
  70. package/dist/types/entity/LineItems.js.map +1 -1
  71. package/dist/types/entity/MembershipMember.d.ts +0 -11
  72. package/dist/types/entity/MembershipMember.js.map +1 -1
  73. package/dist/types/entity/PackageV1.d.ts +0 -2
  74. package/dist/types/entity/PackageV1.js.map +1 -1
  75. package/dist/types/{webflow/entities → entity}/WebflowOrganizationConfiguration.d.ts +1 -1
  76. package/dist/types/{webflow/entities → entity}/WebflowOrganizationConfiguration.js +1 -1
  77. package/dist/types/entity/WebflowOrganizationConfiguration.js.map +1 -0
  78. package/dist/types/entity/index.d.ts +2 -0
  79. package/dist/types/entity/index.js +2 -0
  80. package/dist/types/entity/index.js.map +1 -1
  81. package/dist/types/import/dto/reservation.dto.js.map +1 -1
  82. package/dist/types/index.d.ts +0 -3
  83. package/dist/types/index.js +0 -3
  84. package/dist/types/index.js.map +1 -1
  85. package/dist/types/invoice/dto/invoice.dto.d.ts +0 -19
  86. package/dist/types/invoice/dto/invoice.dto.js +1 -5
  87. package/dist/types/invoice/dto/invoice.dto.js.map +1 -1
  88. package/dist/types/invoice/types/consts/invoice.consts.d.ts +0 -10
  89. package/dist/types/invoice/types/consts/invoice.consts.js +1 -10
  90. package/dist/types/invoice/types/consts/invoice.consts.js.map +1 -1
  91. package/dist/types/invoice/types/interfaces/index.d.ts +0 -1
  92. package/dist/types/invoice/types/interfaces/index.js +0 -1
  93. package/dist/types/invoice/types/interfaces/index.js.map +1 -1
  94. package/dist/types/invoice/types/interfaces/invoice.interfaces.d.ts +1 -5
  95. package/dist/types/invoice/types/interfaces/invoice.interfaces.js.map +1 -1
  96. package/dist/types/membership/entities/MembershipMemberRenewal.d.ts +0 -9
  97. package/dist/types/membership/entities/MembershipMemberRenewal.js.map +1 -1
  98. package/dist/types/membership/index.d.ts +1 -2
  99. package/dist/types/membership/index.js +1 -2
  100. package/dist/types/membership/index.js.map +1 -1
  101. package/dist/types/membership/interfaces/index.d.ts +1 -0
  102. package/dist/types/{address/dto → membership/interfaces}/index.js +1 -1
  103. package/dist/types/membership/interfaces/index.js.map +1 -0
  104. package/dist/types/membership/{types → interfaces}/membership.interfaces.d.ts +0 -19
  105. package/dist/types/membership/interfaces/membership.interfaces.js.map +1 -0
  106. package/dist/types/notifications/dto/index.d.ts +0 -1
  107. package/dist/types/notifications/dto/index.js +0 -1
  108. package/dist/types/notifications/dto/index.js.map +1 -1
  109. package/dist/types/notifications/dto/notification.create.dto.d.ts +6 -6
  110. package/dist/types/notifications/dto/notification.create.dto.js +6 -6
  111. package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
  112. package/dist/types/notifications/dto/notification.response.dto.d.ts +3 -3
  113. package/dist/types/notifications/dto/notification.response.dto.js.map +1 -1
  114. package/dist/types/notifications/index.d.ts +1 -0
  115. package/dist/types/notifications/index.js +1 -0
  116. package/dist/types/notifications/index.js.map +1 -1
  117. package/dist/types/notifications/types/enums/index.js.map +1 -0
  118. package/dist/types/notifications/types/enums/notification.enums.d.ts +30 -0
  119. package/dist/types/notifications/types/enums/notification.enums.js +41 -0
  120. package/dist/types/notifications/types/enums/notification.enums.js.map +1 -0
  121. package/dist/types/notifications/types/index.js.map +1 -0
  122. package/dist/types/organization/entities/Organization.d.ts +1 -1
  123. package/dist/types/organization/interfaces/index.d.ts +0 -1
  124. package/dist/types/organization/interfaces/index.js +0 -1
  125. package/dist/types/organization/interfaces/index.js.map +1 -1
  126. package/dist/types/payment/dto/payment-method.dto.d.ts +3 -12
  127. package/dist/types/payment/dto/payment-method.dto.js +1 -4
  128. package/dist/types/payment/dto/payment-method.dto.js.map +1 -1
  129. package/dist/types/payment/dto/payment-plan.dto.d.ts +4 -6
  130. package/dist/types/payment/dto/payment-plan.dto.js.map +1 -1
  131. package/dist/types/payment/entities/PaymentFailures.d.ts +0 -1
  132. package/dist/types/payment/entities/PaymentFailures.js.map +1 -1
  133. package/dist/types/payment/entities/ProductPaymentPlan.d.ts +2 -3
  134. package/dist/types/payment/entities/ProductPaymentPlan.js.map +1 -1
  135. package/dist/types/payment/types/consts/payment.consts.d.ts +0 -1
  136. package/dist/types/payment/types/consts/payment.consts.js +1 -5
  137. package/dist/types/payment/types/consts/payment.consts.js.map +1 -1
  138. package/dist/types/payment/types/enums/payment-plan.enums.d.ts +7 -0
  139. package/dist/types/payment/types/enums/payment-plan.enums.js +9 -1
  140. package/dist/types/payment/types/enums/payment-plan.enums.js.map +1 -1
  141. package/dist/types/payment/types/enums/payment.enums.d.ts +2 -4
  142. package/dist/types/payment/types/enums/payment.enums.js +0 -2
  143. package/dist/types/payment/types/enums/payment.enums.js.map +1 -1
  144. package/dist/types/payment/types/interfaces/discount.interfaces.d.ts +1 -1
  145. package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +0 -16
  146. package/dist/types/pricing/dto/price.dto.d.ts +1 -3
  147. package/dist/types/pricing/dto/price.dto.js.map +1 -1
  148. package/dist/types/pricing/dto/pricing.dto.d.ts +2 -2
  149. package/dist/types/pricing/entities/Price.d.ts +2 -3
  150. package/dist/types/pricing/entities/Price.js.map +1 -1
  151. package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +2 -4
  152. package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
  153. package/dist/types/product-pricing/dto/product.dto.d.ts +0 -2
  154. package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
  155. package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +0 -11
  156. package/dist/types/programs/dto/program.dto.d.ts +2 -5
  157. package/dist/types/programs/dto/program.dto.js +1 -4
  158. package/dist/types/programs/dto/program.dto.js.map +1 -1
  159. package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +18 -27
  160. package/dist/types/programs-seasons/dto/program-seasons.dto.js +8 -11
  161. package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
  162. package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +2 -4
  163. package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
  164. package/dist/types/programs-seasons/types/index.d.ts +0 -2
  165. package/dist/types/programs-seasons/types/index.js +0 -2
  166. package/dist/types/programs-seasons/types/index.js.map +1 -1
  167. package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +0 -11
  168. package/dist/types/punch-pass/dto/punch-pass.dto.js +1 -5
  169. package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
  170. package/dist/types/purchase/dto/purchase.dto.d.ts +0 -4
  171. package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
  172. package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +3 -5
  173. package/dist/types/reservations/dto/addon.dto.d.ts +8 -21
  174. package/dist/types/reservations/dto/addon.dto.js +2 -9
  175. package/dist/types/reservations/dto/addon.dto.js.map +1 -1
  176. package/dist/types/reservations/dto/maintenance.dto.d.ts +1 -2
  177. package/dist/types/reservations/dto/maintenance.dto.js.map +1 -1
  178. package/dist/types/reservations/dto/reservation.dto.d.ts +24 -171
  179. package/dist/types/reservations/dto/reservation.dto.js +7 -86
  180. package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
  181. package/dist/types/reservations/dto/segment.dto.d.ts +4 -5
  182. package/dist/types/reservations/dto/segment.dto.js.map +1 -1
  183. package/dist/types/reservations/dto/series.dto.d.ts +4 -7
  184. package/dist/types/reservations/dto/series.dto.js.map +1 -1
  185. package/dist/types/reservations/dto/slot.dto.d.ts +26 -106
  186. package/dist/types/reservations/dto/slot.dto.js +7 -25
  187. package/dist/types/reservations/dto/slot.dto.js.map +1 -1
  188. package/dist/types/reservations/dto/v1.reservation.dto.d.ts +0 -1
  189. package/dist/types/reservations/dto/v1.reservation.dto.js.map +1 -1
  190. package/dist/types/reservations/entities/SlotToResource.d.ts +0 -4
  191. package/dist/types/reservations/entities/SlotToResource.js.map +1 -1
  192. package/dist/types/reservations/entities/addon.entity.d.ts +0 -1
  193. package/dist/types/reservations/entities/addon.entity.js.map +1 -1
  194. package/dist/types/reservations/entities/reservation.entity.d.ts +7 -6
  195. package/dist/types/reservations/entities/reservation.entity.js.map +1 -1
  196. package/dist/types/reservations/entities/slot.entity.d.ts +3 -11
  197. package/dist/types/reservations/entities/slot.entity.js.map +1 -1
  198. package/dist/types/reservations/types/consts/index.d.ts +0 -1
  199. package/dist/types/reservations/types/consts/index.js +0 -1
  200. package/dist/types/reservations/types/consts/index.js.map +1 -1
  201. package/dist/types/reservations/types/consts/reservation.consts.d.ts +1 -12
  202. package/dist/types/reservations/types/consts/reservation.consts.js +1 -18
  203. package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
  204. package/dist/types/reservations/types/enums/reservation.enums.d.ts +1 -2
  205. package/dist/types/reservations/types/enums/reservation.enums.js +0 -1
  206. package/dist/types/reservations/types/enums/reservation.enums.js.map +1 -1
  207. package/dist/types/reservations/types/index.d.ts +0 -1
  208. package/dist/types/reservations/types/index.js +0 -1
  209. package/dist/types/reservations/types/index.js.map +1 -1
  210. package/dist/types/reservations/types/interfaces/addon.interfaces.d.ts +2 -18
  211. package/dist/types/reservations/types/interfaces/index.d.ts +0 -2
  212. package/dist/types/reservations/types/interfaces/index.js +0 -2
  213. package/dist/types/reservations/types/interfaces/index.js.map +1 -1
  214. package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +19 -160
  215. package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
  216. package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +24 -61
  217. package/dist/types/reservations/types/interfaces/slot.interfaces.js +0 -4
  218. package/dist/types/reservations/types/interfaces/slot.interfaces.js.map +1 -1
  219. package/dist/types/reservations/types/reservation.types.d.ts +11 -23
  220. package/dist/types/resources/dto/instructor.dto.d.ts +1 -1
  221. package/dist/types/resources/dto/instructor.dto.js.map +1 -1
  222. package/dist/types/resources/dto/space.dto.d.ts +0 -1
  223. package/dist/types/resources/dto/space.dto.js.map +1 -1
  224. package/dist/types/resources/entities/Instructor.d.ts +2 -2
  225. package/dist/types/resources/entities/Instructor.js.map +1 -1
  226. package/dist/types/resources/entities/Space.d.ts +1 -1
  227. package/dist/types/resources/entities/Space.js.map +1 -1
  228. package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +0 -1
  229. package/dist/types/roles/dto/permission-group.dto.d.ts +0 -4
  230. package/dist/types/roles/dto/permission-group.dto.js +1 -8
  231. package/dist/types/roles/dto/permission-group.dto.js.map +1 -1
  232. package/dist/types/roles/dto/role.dto.d.ts +12 -27
  233. package/dist/types/roles/dto/role.dto.js +5 -23
  234. package/dist/types/roles/dto/role.dto.js.map +1 -1
  235. package/dist/types/roles/entities/Role.d.ts +2 -3
  236. package/dist/types/roles/entities/Role.js.map +1 -1
  237. package/dist/types/roles/entities/index.d.ts +0 -6
  238. package/dist/types/roles/entities/index.js +0 -10
  239. package/dist/types/roles/entities/index.js.map +1 -1
  240. package/dist/types/roles/types/index.d.ts +0 -1
  241. package/dist/types/roles/types/index.js +0 -1
  242. package/dist/types/roles/types/index.js.map +1 -1
  243. package/dist/types/roles/types/role.enums.d.ts +2 -13
  244. package/dist/types/roles/types/role.enums.js +1 -13
  245. package/dist/types/roles/types/role.enums.js.map +1 -1
  246. package/dist/types/services/enums.service.d.ts +2 -23
  247. package/dist/types/services/enums.service.js +3 -27
  248. package/dist/types/services/enums.service.js.map +1 -1
  249. package/dist/types/services/interfaces.service.d.ts +3 -15
  250. package/dist/types/services/interfaces.service.js.map +1 -1
  251. package/dist/types/shifts/entities/shift.entity.d.ts +1 -1
  252. package/dist/types/user/dto/user-settings.dto.d.ts +1 -1
  253. package/dist/types/user/dto/user.dto.d.ts +1 -1
  254. package/dist/types/user/dto/user.dto.js.map +1 -1
  255. package/dist/types/user/entities/User.d.ts +1 -3
  256. package/dist/types/user/entities/User.js.map +1 -1
  257. package/dist/types/user/types/user.interfaces.d.ts +0 -15
  258. package/dist/types/user-identification/dto/user-identifier.dto.d.ts +0 -3
  259. package/dist/types/user-identification/dto/user-identifier.dto.js +1 -7
  260. package/dist/types/user-identification/dto/user-identifier.dto.js.map +1 -1
  261. package/dist/types/user-identification/entities/UserIdentifier.d.ts +0 -2
  262. package/dist/types/user-identification/entities/UserIdentifier.js.map +1 -1
  263. package/dist/types/util/models/interfaces/general.interfaces.d.ts +1 -2
  264. package/dist/types/webflow/index.d.ts +0 -2
  265. package/dist/types/webflow/index.js +0 -2
  266. package/dist/types/webflow/index.js.map +1 -1
  267. package/package.json +54 -54
  268. package/dist/types/accounting/entities/index.d.ts +0 -2
  269. package/dist/types/accounting/entities/index.js +0 -19
  270. package/dist/types/accounting/entities/index.js.map +0 -1
  271. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.d.ts +0 -9
  272. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js +0 -8
  273. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js.map +0 -1
  274. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.d.ts +0 -14
  275. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js +0 -8
  276. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js.map +0 -1
  277. package/dist/types/accounting/index.d.ts +0 -2
  278. package/dist/types/accounting/index.js +0 -19
  279. package/dist/types/accounting/index.js.map +0 -1
  280. package/dist/types/accounting/types/enums/accounting.enums.d.ts +0 -14
  281. package/dist/types/accounting/types/enums/accounting.enums.js +0 -20
  282. package/dist/types/accounting/types/enums/accounting.enums.js.map +0 -1
  283. package/dist/types/accounting/types/enums/index.d.ts +0 -1
  284. package/dist/types/accounting/types/enums/index.js +0 -18
  285. package/dist/types/accounting/types/enums/index.js.map +0 -1
  286. package/dist/types/accounting/types/index.js.map +0 -1
  287. package/dist/types/address/dto/address.dto.d.ts +0 -9
  288. package/dist/types/address/dto/address.dto.js +0 -7
  289. package/dist/types/address/dto/address.dto.js.map +0 -1
  290. package/dist/types/address/dto/index.d.ts +0 -1
  291. package/dist/types/address/dto/index.js.map +0 -1
  292. package/dist/types/address/entities/Address.js.map +0 -1
  293. package/dist/types/address/entities/index.d.ts +0 -1
  294. package/dist/types/address/entities/index.js +0 -18
  295. package/dist/types/address/entities/index.js.map +0 -1
  296. package/dist/types/cart/types/classes/cart.classes.d.ts +0 -9
  297. package/dist/types/cart/types/classes/cart.classes.js +0 -7
  298. package/dist/types/cart/types/classes/cart.classes.js.map +0 -1
  299. package/dist/types/cart/types/classes/index.d.ts +0 -1
  300. package/dist/types/cart/types/classes/index.js +0 -18
  301. package/dist/types/cart/types/classes/index.js.map +0 -1
  302. package/dist/types/employees/types/consts/index.d.ts +0 -3
  303. package/dist/types/employees/types/consts/index.js +0 -25
  304. package/dist/types/employees/types/consts/index.js.map +0 -1
  305. package/dist/types/facilities/index.d.ts +0 -1
  306. package/dist/types/facilities/index.js +0 -18
  307. package/dist/types/facilities/index.js.map +0 -1
  308. package/dist/types/facilities/types/facilities.types.d.ts +0 -4
  309. package/dist/types/facilities/types/facilities.types.js +0 -3
  310. package/dist/types/facilities/types/facilities.types.js.map +0 -1
  311. package/dist/types/facilities/types/index.d.ts +0 -1
  312. package/dist/types/facilities/types/index.js +0 -18
  313. package/dist/types/facilities/types/index.js.map +0 -1
  314. package/dist/types/invoice/types/interfaces/line-item.interfaces.d.ts +0 -7
  315. package/dist/types/invoice/types/interfaces/line-item.interfaces.js +0 -3
  316. package/dist/types/invoice/types/interfaces/line-item.interfaces.js.map +0 -1
  317. package/dist/types/membership/dto/expendedMembership.dto.d.ts +0 -15
  318. package/dist/types/membership/dto/expendedMembership.dto.js +0 -7
  319. package/dist/types/membership/dto/expendedMembership.dto.js.map +0 -1
  320. package/dist/types/membership/dto/index.d.ts +0 -2
  321. package/dist/types/membership/dto/index.js +0 -19
  322. package/dist/types/membership/dto/index.js.map +0 -1
  323. package/dist/types/membership/dto/membershipMember.dto.d.ts +0 -103
  324. package/dist/types/membership/dto/membershipMember.dto.js +0 -45
  325. package/dist/types/membership/dto/membershipMember.dto.js.map +0 -1
  326. package/dist/types/membership/types/index.d.ts +0 -5
  327. package/dist/types/membership/types/index.js +0 -22
  328. package/dist/types/membership/types/index.js.map +0 -1
  329. package/dist/types/membership/types/membership.interfaces.js.map +0 -1
  330. package/dist/types/membership/types/membership.member.classes.d.ts +0 -14
  331. package/dist/types/membership/types/membership.member.classes.js +0 -7
  332. package/dist/types/membership/types/membership.member.classes.js.map +0 -1
  333. package/dist/types/membership/types/membership.member.consts.d.ts +0 -3
  334. package/dist/types/membership/types/membership.member.consts.js +0 -8
  335. package/dist/types/membership/types/membership.member.consts.js.map +0 -1
  336. package/dist/types/membership/types/membership.members.interfaces.d.ts +0 -86
  337. package/dist/types/membership/types/membership.members.interfaces.js +0 -3
  338. package/dist/types/membership/types/membership.members.interfaces.js.map +0 -1
  339. package/dist/types/membership/types/membership.members.types.d.ts +0 -4
  340. package/dist/types/membership/types/membership.members.types.js +0 -3
  341. package/dist/types/membership/types/membership.members.types.js.map +0 -1
  342. package/dist/types/notifications/dto/types/enums/index.js.map +0 -1
  343. package/dist/types/notifications/dto/types/enums/notification.enums.d.ts +0 -2
  344. package/dist/types/notifications/dto/types/enums/notification.enums.js +0 -8
  345. package/dist/types/notifications/dto/types/enums/notification.enums.js.map +0 -1
  346. package/dist/types/notifications/dto/types/index.d.ts +0 -1
  347. package/dist/types/notifications/dto/types/index.js +0 -18
  348. package/dist/types/notifications/dto/types/index.js.map +0 -1
  349. package/dist/types/online-rentals/index.d.ts +0 -1
  350. package/dist/types/online-rentals/index.js +0 -18
  351. package/dist/types/online-rentals/index.js.map +0 -1
  352. package/dist/types/online-rentals/types/index.d.ts +0 -2
  353. package/dist/types/online-rentals/types/index.js +0 -19
  354. package/dist/types/online-rentals/types/index.js.map +0 -1
  355. package/dist/types/online-rentals/types/online-rentals.classes.d.ts +0 -21
  356. package/dist/types/online-rentals/types/online-rentals.classes.js +0 -10
  357. package/dist/types/online-rentals/types/online-rentals.classes.js.map +0 -1
  358. package/dist/types/online-rentals/types/online-rentals.dto.d.ts +0 -61
  359. package/dist/types/online-rentals/types/online-rentals.dto.js +0 -36
  360. package/dist/types/online-rentals/types/online-rentals.dto.js.map +0 -1
  361. package/dist/types/organization/interfaces/reason.interfaces.d.ts +0 -6
  362. package/dist/types/organization/interfaces/reason.interfaces.js +0 -3
  363. package/dist/types/organization/interfaces/reason.interfaces.js.map +0 -1
  364. package/dist/types/programs-seasons/types/classes/index.d.ts +0 -1
  365. package/dist/types/programs-seasons/types/classes/index.js +0 -18
  366. package/dist/types/programs-seasons/types/classes/index.js.map +0 -1
  367. package/dist/types/programs-seasons/types/classes/program-season.classes.d.ts +0 -6
  368. package/dist/types/programs-seasons/types/classes/program-season.classes.js +0 -7
  369. package/dist/types/programs-seasons/types/classes/program-season.classes.js.map +0 -1
  370. package/dist/types/programs-seasons/types/enums/index.d.ts +0 -1
  371. package/dist/types/programs-seasons/types/enums/index.js +0 -18
  372. package/dist/types/programs-seasons/types/enums/index.js.map +0 -1
  373. package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +0 -9
  374. package/dist/types/programs-seasons/types/enums/program-season.enums.js +0 -15
  375. package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +0 -1
  376. package/dist/types/reservations/types/classes/addon.classes.d.ts +0 -22
  377. package/dist/types/reservations/types/classes/addon.classes.js +0 -7
  378. package/dist/types/reservations/types/classes/addon.classes.js.map +0 -1
  379. package/dist/types/reservations/types/classes/index.d.ts +0 -7
  380. package/dist/types/reservations/types/classes/index.js +0 -24
  381. package/dist/types/reservations/types/classes/index.js.map +0 -1
  382. package/dist/types/reservations/types/classes/maintenance.classes.d.ts +0 -8
  383. package/dist/types/reservations/types/classes/maintenance.classes.js +0 -7
  384. package/dist/types/reservations/types/classes/maintenance.classes.js.map +0 -1
  385. package/dist/types/reservations/types/classes/product.classes.d.ts +0 -16
  386. package/dist/types/reservations/types/classes/product.classes.js +0 -10
  387. package/dist/types/reservations/types/classes/product.classes.js.map +0 -1
  388. package/dist/types/reservations/types/classes/reservation.classes.d.ts +0 -58
  389. package/dist/types/reservations/types/classes/reservation.classes.js +0 -10
  390. package/dist/types/reservations/types/classes/reservation.classes.js.map +0 -1
  391. package/dist/types/reservations/types/classes/segment.classes.d.ts +0 -32
  392. package/dist/types/reservations/types/classes/segment.classes.js +0 -10
  393. package/dist/types/reservations/types/classes/segment.classes.js.map +0 -1
  394. package/dist/types/reservations/types/classes/series.classes.d.ts +0 -27
  395. package/dist/types/reservations/types/classes/series.classes.js +0 -7
  396. package/dist/types/reservations/types/classes/series.classes.js.map +0 -1
  397. package/dist/types/reservations/types/classes/slot.classes.d.ts +0 -69
  398. package/dist/types/reservations/types/classes/slot.classes.js +0 -11
  399. package/dist/types/reservations/types/classes/slot.classes.js.map +0 -1
  400. package/dist/types/reservations/types/consts/slot.consts.d.ts +0 -1
  401. package/dist/types/reservations/types/consts/slot.consts.js +0 -5
  402. package/dist/types/reservations/types/consts/slot.consts.js.map +0 -1
  403. package/dist/types/reservations/types/interfaces/segment.interfaces.d.ts +0 -29
  404. package/dist/types/reservations/types/interfaces/segment.interfaces.js +0 -3
  405. package/dist/types/reservations/types/interfaces/segment.interfaces.js.map +0 -1
  406. package/dist/types/reservations/types/interfaces/series.interfaces.d.ts +0 -32
  407. package/dist/types/reservations/types/interfaces/series.interfaces.js +0 -3
  408. package/dist/types/reservations/types/interfaces/series.interfaces.js.map +0 -1
  409. package/dist/types/roles/types/role.consts.d.ts +0 -1
  410. package/dist/types/roles/types/role.consts.js +0 -6
  411. package/dist/types/roles/types/role.consts.js.map +0 -1
  412. package/dist/types/webflow/dto/index.d.ts +0 -1
  413. package/dist/types/webflow/dto/index.js +0 -18
  414. package/dist/types/webflow/dto/index.js.map +0 -1
  415. package/dist/types/webflow/dto/webflowProgram.dto.d.ts +0 -14
  416. package/dist/types/webflow/dto/webflowProgram.dto.js +0 -7
  417. package/dist/types/webflow/dto/webflowProgram.dto.js.map +0 -1
  418. package/dist/types/webflow/entities/WebflowOrganizationConfiguration.js.map +0 -1
  419. package/dist/types/webflow/entities/index.d.ts +0 -1
  420. package/dist/types/webflow/entities/index.js +0 -18
  421. package/dist/types/webflow/entities/index.js.map +0 -1
  422. /package/dist/types/membership/{types → interfaces}/membership.interfaces.js +0 -0
  423. /package/dist/types/notifications/{dto/types → types}/enums/index.d.ts +0 -0
  424. /package/dist/types/notifications/{dto/types → types}/enums/index.js +0 -0
  425. /package/dist/types/{accounting → notifications}/types/index.d.ts +0 -0
  426. /package/dist/types/{accounting → notifications}/types/index.js +0 -0
@@ -1,41 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ByDraftReservationIdDto = exports.GetDraftReservationSlotsFiltersDto = exports.AddSegmentsDto = exports.AddSlotsDto = exports.InvoiceReservationItemsDto = exports.SaveSlotToSegmenResultDto = exports.AddSlotToSegmenResultDto = exports.ChargeReservationResultDto = exports.UpdateCustomerSlotsColorsDto = exports.UpdateReservationSlotsColorsDto = exports.UpdateReservationInvoiceDto = exports.ReservationNotifyDto = exports.ValidateEditSlotsDto = exports.RemoveSlotsFinancialDataDto = exports.EditReservationDetailsDto = exports.EditSlotsDto = exports.EditItemsRefundMetaDto = exports.UpdateSlotsDto = exports.AddSlotToSegmentDto = exports.FindBySlotDto = exports.UpdateReservationStatusDto = exports.FindBySlotIdsDto = exports.FindBySegmentDto = exports.FindByFacilityDto = exports.DuplicateSlotDto = exports.FindByReservationDto = exports.getSlotFQueryParamsDto = exports.IncludeConflictsOptionsDto = exports.FindSlotsByFacilityIdFiltersDto = exports.FindReservationsByUserIdFiltersDto = exports.FindReservationsByOrganizationIdFiltersDto = exports.BookingDto = exports.BookingData = exports.UpdateSlotsPricesDto = exports.UpdateReservationPriceDto = exports.CategoryPricesDto = exports.SingleReservationIncludesDto = exports.SaveReservationDto = exports.CreateReservationCartDto = exports.ReservationInvoiceDto = exports.DraftReservationDto = exports.SimpleDraftReservationDto = exports.CreateDraftReservationDto = exports.SegmentsAddonsDto = exports.CreateSegmentsAddonsDto = exports.BaseReservationItemLineItemDataDto = exports.ReservationDto = exports.DuplicatedDetailsDto = exports.SimpleReservationDto = exports.ProductPricesDto = void 0;
4
- exports.EditReservationItemsResultDto = exports.EditSlotsRefundMetadataDto = exports.EditSlotsFinancialDetailsDto = exports.EditItemsRefundMetadataDto = exports.ReservationItemLineDto = exports.DuplicateReservationItemsDto = exports.DuplicateReservationDto = exports.PaginatedSlotsSharedDto = exports.ProblematicProductDto = exports.CreateReservationAddonsDto = exports.ReservationAddonsDto = exports.SegmentsAddonsGroupDto = exports.UpdateDraftSlotsDto = exports.GenerateReservationDto = exports.ByDraftSlotIdDto = exports.DraftIdsDto = exports.GetDraftSlotsOptions = exports.GetDraftReservationOptionsDto = exports.GetDraftReservationAddonsQueryDto = exports.DraftSlotsFilterResultDto = exports.SimpleDraftSegmentDto = exports.ByRentalProductId = void 0;
3
+ exports.GenerateReservationDto = exports.ByDraftSlotIdDto = exports.DraftIdsDto = exports.GetDraftReservationOptionsDto = exports.GetDraftReservationAddonsQueryDto = exports.DraftSlotsFilterResultDto = exports.SimpleDraftSegmentDto = exports.ByDraftReservationIdDto = exports.GetDraftReservationSlotsFiltersDto = exports.AddSegmentsDto = exports.AddSlotsDto = exports.InvoiceReservationItemsDto = exports.SaveSlotToSegmenResultDto = exports.AddSlotToSegmenResultDto = exports.ChargeReservationResultDto = exports.UpdateCustomerSlotsColorsDto = exports.UpdateReservationSlotsColorsDto = exports.UpdateReservationInvoiceDto = exports.ReservationNotifyDto = exports.ValidateEditSlotsDto = exports.EditReservationDetailsDto = exports.EditSlotsDto = exports.EditItemsRefundMetaDto = exports.UpdateSlotsDto = exports.AddSlotToSegmentDto = exports.FindBySlotDto = exports.UpdateReservationStatusDto = exports.FindBySegmentDto = exports.FindByFacilityDto = exports.FindByReservationDto = exports.getSlotFQueryParamsDto = exports.getSlotsSlotCardDto = exports.FindSlotsByFacilityIdFiltersDto = exports.FindReservationsByUserIdFiltersDto = exports.FindReservationsByOrganizationIdFiltersDto = exports.BookingDto = exports.BookingData = exports.UpdateSlotsPricesDto = exports.UpdateReservationPriceDto = exports.CategoryPricesDto = exports.SingleReservationIncludesDto = exports.SaveReservationDto = exports.ReservationInvoiceDto = exports.DraftReservationDto = exports.SimpleDraftReservationDto = exports.CreateDraftReservationDto = exports.ReservationDto = exports.ProductPricesDto = void 0;
5
4
  const general_dto_1 = require("../../dto/general.dto");
6
5
  const invoice_dto_1 = require("../../invoice/dto/invoice.dto");
7
6
  const organization_dto_1 = require("../../organization/dto/organization.dto");
8
7
  const purchase_dto_1 = require("../../purchase/dto/purchase.dto");
9
8
  const MAX_SLOTS_REQUEST_LIMIT = 5000;
10
- const MONTH_OF_JANUARY = 0;
11
- const MONTH_OF_DECEMBER = 11;
12
9
  class ProductPricesDto {
13
10
  }
14
11
  exports.ProductPricesDto = ProductPricesDto;
15
12
  class BaseReservationDto {
16
13
  }
17
- class SimpleReservationDto extends BaseReservationDto {
18
- }
19
- exports.SimpleReservationDto = SimpleReservationDto;
20
- class DuplicatedDetailsDto {
21
- }
22
- exports.DuplicatedDetailsDto = DuplicatedDetailsDto;
23
- class ReservationDto extends SimpleReservationDto {
14
+ class ReservationDto extends BaseReservationDto {
24
15
  }
25
16
  exports.ReservationDto = ReservationDto;
26
- class BaseReservationItemLineItemDataDto {
27
- }
28
- exports.BaseReservationItemLineItemDataDto = BaseReservationItemLineItemDataDto;
29
- class SlotsLineItemDataDto extends BaseReservationItemLineItemDataDto {
30
- }
31
- class BaseSegmentsAddonsGroupDto {
32
- }
33
- class CreateSegmentsAddonsDto extends BaseSegmentsAddonsGroupDto {
34
- }
35
- exports.CreateSegmentsAddonsDto = CreateSegmentsAddonsDto;
36
- class SegmentsAddonsDto extends CreateSegmentsAddonsDto {
37
- }
38
- exports.SegmentsAddonsDto = SegmentsAddonsDto;
39
17
  class CreateDraftReservationDto extends BaseReservationDto {
40
18
  }
41
19
  exports.CreateDraftReservationDto = CreateDraftReservationDto;
@@ -48,10 +26,7 @@ exports.DraftReservationDto = DraftReservationDto;
48
26
  class ReservationInvoiceDto {
49
27
  }
50
28
  exports.ReservationInvoiceDto = ReservationInvoiceDto;
51
- class CreateReservationCartDto {
52
- }
53
- exports.CreateReservationCartDto = CreateReservationCartDto;
54
- class SaveReservationDto extends CreateReservationCartDto {
29
+ class SaveReservationDto {
55
30
  }
56
31
  exports.SaveReservationDto = SaveReservationDto;
57
32
  class SingleReservationIncludesDto {
@@ -86,27 +61,21 @@ class FindSlotsByFacilityIdFiltersDto {
86
61
  }
87
62
  }
88
63
  exports.FindSlotsByFacilityIdFiltersDto = FindSlotsByFacilityIdFiltersDto;
89
- class IncludeConflictsOptionsDto {
64
+ class getSlotsSlotCardDto {
90
65
  }
91
- exports.IncludeConflictsOptionsDto = IncludeConflictsOptionsDto;
66
+ exports.getSlotsSlotCardDto = getSlotsSlotCardDto;
92
67
  class getSlotFQueryParamsDto {
93
68
  }
94
69
  exports.getSlotFQueryParamsDto = getSlotFQueryParamsDto;
95
70
  class FindByReservationDto extends organization_dto_1.ByOrganizationIdDto {
96
71
  }
97
72
  exports.FindByReservationDto = FindByReservationDto;
98
- class DuplicateSlotDto extends FindByReservationDto {
99
- }
100
- exports.DuplicateSlotDto = DuplicateSlotDto;
101
73
  class FindByFacilityDto extends FindByReservationDto {
102
74
  }
103
75
  exports.FindByFacilityDto = FindByFacilityDto;
104
76
  class FindBySegmentDto extends FindByFacilityDto {
105
77
  }
106
78
  exports.FindBySegmentDto = FindBySegmentDto;
107
- class FindBySlotIdsDto {
108
- }
109
- exports.FindBySlotIdsDto = FindBySlotIdsDto;
110
79
  class UpdateReservationStatusDto extends FindByReservationDto {
111
80
  }
112
81
  exports.UpdateReservationStatusDto = UpdateReservationStatusDto;
@@ -128,9 +97,6 @@ exports.EditSlotsDto = EditSlotsDto;
128
97
  class EditReservationDetailsDto {
129
98
  }
130
99
  exports.EditReservationDetailsDto = EditReservationDetailsDto;
131
- class RemoveSlotsFinancialDataDto {
132
- }
133
- exports.RemoveSlotsFinancialDataDto = RemoveSlotsFinancialDataDto;
134
100
  class ValidateEditSlotsDto extends UpdateSlotsDto {
135
101
  }
136
102
  exports.ValidateEditSlotsDto = ValidateEditSlotsDto;
@@ -155,7 +121,7 @@ exports.AddSlotToSegmenResultDto = AddSlotToSegmenResultDto;
155
121
  class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
156
122
  }
157
123
  exports.SaveSlotToSegmenResultDto = SaveSlotToSegmenResultDto;
158
- class InvoiceReservationItemsDto extends invoice_dto_1.InvoiceCartDto {
124
+ class InvoiceReservationItemsDto extends invoice_dto_1.UpdateInvoiceOptionsDto {
159
125
  }
160
126
  exports.InvoiceReservationItemsDto = InvoiceReservationItemsDto;
161
127
  class AddSlotsDto extends invoice_dto_1.UpdateInvoiceDto {
@@ -170,9 +136,6 @@ exports.GetDraftReservationSlotsFiltersDto = GetDraftReservationSlotsFiltersDto;
170
136
  class ByDraftReservationIdDto extends organization_dto_1.ByOrganizationIdDto {
171
137
  }
172
138
  exports.ByDraftReservationIdDto = ByDraftReservationIdDto;
173
- class ByRentalProductId extends organization_dto_1.ByOrganizationIdDto {
174
- }
175
- exports.ByRentalProductId = ByRentalProductId;
176
139
  class SimpleDraftSegmentDto {
177
140
  }
178
141
  exports.SimpleDraftSegmentDto = SimpleDraftSegmentDto;
@@ -185,10 +148,7 @@ exports.GetDraftReservationAddonsQueryDto = GetDraftReservationAddonsQueryDto;
185
148
  class GetDraftReservationOptionsDto {
186
149
  }
187
150
  exports.GetDraftReservationOptionsDto = GetDraftReservationOptionsDto;
188
- class GetDraftSlotsOptions {
189
- }
190
- exports.GetDraftSlotsOptions = GetDraftSlotsOptions;
191
- class DraftIdsDto extends GetDraftSlotsOptions {
151
+ class DraftIdsDto {
192
152
  }
193
153
  exports.DraftIdsDto = DraftIdsDto;
194
154
  class ByDraftSlotIdDto extends ByDraftReservationIdDto {
@@ -197,43 +157,4 @@ exports.ByDraftSlotIdDto = ByDraftSlotIdDto;
197
157
  class GenerateReservationDto {
198
158
  }
199
159
  exports.GenerateReservationDto = GenerateReservationDto;
200
- class UpdateDraftSlotsDto {
201
- }
202
- exports.UpdateDraftSlotsDto = UpdateDraftSlotsDto;
203
- class SegmentsAddonsGroupDto extends BaseSegmentsAddonsGroupDto {
204
- }
205
- exports.SegmentsAddonsGroupDto = SegmentsAddonsGroupDto;
206
- class ReservationAddonsDto {
207
- }
208
- exports.ReservationAddonsDto = ReservationAddonsDto;
209
- class CreateReservationAddonsDto {
210
- }
211
- exports.CreateReservationAddonsDto = CreateReservationAddonsDto;
212
- class ProblematicProductDto {
213
- }
214
- exports.ProblematicProductDto = ProblematicProductDto;
215
- class PaginatedSlotsSharedDto {
216
- }
217
- exports.PaginatedSlotsSharedDto = PaginatedSlotsSharedDto;
218
- class DuplicateReservationDto {
219
- }
220
- exports.DuplicateReservationDto = DuplicateReservationDto;
221
- class DuplicateReservationItemsDto extends DuplicateReservationDto {
222
- }
223
- exports.DuplicateReservationItemsDto = DuplicateReservationItemsDto;
224
- class ReservationItemLineDto {
225
- }
226
- exports.ReservationItemLineDto = ReservationItemLineDto;
227
- class EditItemsRefundMetadataDto {
228
- }
229
- exports.EditItemsRefundMetadataDto = EditItemsRefundMetadataDto;
230
- class EditSlotsFinancialDetailsDto {
231
- }
232
- exports.EditSlotsFinancialDetailsDto = EditSlotsFinancialDetailsDto;
233
- class EditSlotsRefundMetadataDto {
234
- }
235
- exports.EditSlotsRefundMetadataDto = EditSlotsRefundMetadataDto;
236
- class EditReservationItemsResultDto {
237
- }
238
- exports.EditReservationItemsResultDto = EditReservationItemsResultDto;
239
160
  //# sourceMappingURL=reservation.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;;AAKA,uDAAwD;AAExD,+DAA+G;AAE/G,8EAA8E;AAO9E,kEAAwF;AAmDxF,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAM,gBAAgB,GAAG,CAAC,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8BAAgB;CAEnD;AAFD,wCAEC;AAED,MAAa,kCACZ,SAAQ,6BAAe;CA2BvB;AA5BD,gFA4BC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAE/D;AAFD,0DAEC;AAED,MAAa,iBAAkB,SAAQ,sCAAmB;CAEzD;AAFD,8CAEC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,yBAAyB;CAYrC;AAZD,8DAYC;AAED,MAAa,iCAAkC,SAAQ,6BAAe;CAIrE;AAJD,8EAIC;AAED,MAAa,6BAA6B;CAoBzC;AApBD,sEAoBC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,WAAY,SAAQ,oBAAoB;CAEpD;AAFD,kCAEC;AAED,MAAa,gBAAiB,SAAQ,uBAAuB;CAE5D;AAFD,4CAEC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,sBAAuB,SAAQ,0BAA0B;CAErE;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,0BAA0B;CAUtC;AAVD,gEAUC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,4BAA6B,SAAQ,uBAAuB;CAUxE;AAVD,oEAUC;AAED,MAAa,sBAAsB;CAkBlC;AAlBD,wDAkBC;AAED,MAAa,0BAA0B;CAItC;AAJD,gEAIC;AAED,MAAa,4BAA4B;CAkBxC;AAlBD,oEAkBC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,6BAA6B;CAIzC;AAJD,sEAIC"}
1
+ {"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,+DAAsG;AACt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from '../../services/enums.service';
2
2
  import { PrivacySettingsEnum } from '../types/enums/reservation.enums';
3
- import { IBaseDraftSegment, IBaseSegment, ICreateDraftSegment, IDraftSegment } from '../types/interfaces/segment.interfaces';
4
3
  import { CreateDraftSeriesDto, DraftSeriesDto, SeriesDto } from './series.dto';
5
- declare class BaseSegmentDto implements IBaseSegment {
4
+ declare class BaseSegmentDto {
6
5
  organizationId?: number;
7
6
  title: string;
8
7
  privacySetting?: PrivacySettingsEnum;
@@ -21,17 +20,17 @@ export declare class SegmentDto extends BaseSegmentDto {
21
20
  isPrivate: boolean;
22
21
  addonIds?: number[];
23
22
  }
24
- declare class BaseDraftSegmentDto extends BaseSegmentDto implements IBaseDraftSegment {
23
+ declare class BaseDraftSegmentDto extends BaseSegmentDto {
25
24
  id?: string;
26
25
  reservationId?: string;
27
26
  facilityId: number;
28
27
  participantsIds?: number[];
29
28
  productsIds?: number[];
30
29
  }
31
- export declare class CreateDraftSegmentDto extends BaseDraftSegmentDto implements ICreateDraftSegment {
30
+ export declare class CreateDraftSegmentDto extends BaseDraftSegmentDto {
32
31
  series: CreateDraftSeriesDto[];
33
32
  }
34
- export declare class DraftSegmentDto extends BaseDraftSegmentDto implements IDraftSegment {
33
+ export declare class DraftSegmentDto extends BaseDraftSegmentDto {
35
34
  id: string;
36
35
  series: DraftSeriesDto[];
37
36
  }
@@ -1 +1 @@
1
- {"version":3,"file":"segment.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/segment.dto.ts"],"names":[],"mappings":";;;AAAA,gEAA0D;AAW1D,MAAM,cAAc;IAApB;QAWC,YAAO,GAAgB,0BAAU,CAAC,KAAK,CAAC;IASzC,CAAC;CAAA;AAED,MAAa,UAAW,SAAQ,cAAc;CAU7C;AAVD,gCAUC;AAED,MAAM,mBAAoB,SAAQ,cAAc;CAU/C;AAED,MAAa,qBAAsB,SAAQ,mBAAmB;CAE7D;AAFD,sDAEC;AAED,MAAa,eAAgB,SAAQ,mBAAmB;CAIvD;AAJD,0CAIC"}
1
+ {"version":3,"file":"segment.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/segment.dto.ts"],"names":[],"mappings":";;;AAAA,gEAA0D;AAK1D,MAAM,cAAc;IAApB;QAWC,YAAO,GAAgB,0BAAU,CAAC,KAAK,CAAC;IASzC,CAAC;CAAA;AAED,MAAa,UAAW,SAAQ,cAAc;CAU7C;AAVD,gCAUC;AAED,MAAM,mBAAoB,SAAQ,cAAc;CAU/C;AAED,MAAa,qBAAsB,SAAQ,mBAAmB;CAE7D;AAFD,sDAEC;AAED,MAAa,eAAgB,SAAQ,mBAAmB;CAIvD;AAJD,0CAIC"}
@@ -1,8 +1,7 @@
1
1
  import { DurationTypeEnum, DurationUnitTypesEnum, FrequencyEnum } from '../types/enums/reservation.enums';
2
- import { IBaseSeries, ICreateDraftSeries, IDraftSeries } from '../types/interfaces/series.interfaces';
3
2
  import { MaintenanceDto } from './maintenance.dto';
4
3
  import { DraftSlotDto, SlotDto } from './slot.dto';
5
- declare class BaseSeriesDto implements IBaseSeries {
4
+ declare class BaseSeriesDto {
6
5
  startDate: string;
7
6
  startTime?: string;
8
7
  endDate?: string;
@@ -24,14 +23,12 @@ export declare class SeriesDto extends BaseSeriesDto {
24
23
  segmentId?: number;
25
24
  slots?: SlotDto[];
26
25
  }
27
- export declare class CreateDraftSeriesDto extends BaseSeriesDto implements ICreateDraftSeries {
26
+ export declare class CreateDraftSeriesDto extends BaseSeriesDto {
28
27
  reservationId?: string;
29
28
  segmentId?: string;
30
- isEndDate?: boolean;
31
- isOccurrence?: boolean;
29
+ slots?: DraftSlotDto[];
32
30
  }
33
- export declare class DraftSeriesDto extends CreateDraftSeriesDto implements IDraftSeries {
31
+ export declare class DraftSeriesDto extends CreateDraftSeriesDto {
34
32
  id: string;
35
- slots: DraftSlotDto[];
36
33
  }
37
34
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"series.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/series.dto.ts"],"names":[],"mappings":";;;AAKA,MAAM,aAAa;CA0BlB;AAED,MAAa,SAAU,SAAQ,aAAa;CAU3C;AAVD,8BAUC;AAED,MAAa,oBAAqB,SAAQ,aAAa;CAQtD;AARD,oDAQC;AAED,MAAa,cAAe,SAAQ,oBAAoB;CAIvD;AAJD,wCAIC"}
1
+ {"version":3,"file":"series.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/series.dto.ts"],"names":[],"mappings":";;;AAIA,MAAM,aAAa;CA0BlB;AAED,MAAa,SAAU,SAAQ,aAAa;CAU3C;AAVD,8BAUC;AAED,MAAa,oBAAqB,SAAQ,aAAa;CAMtD;AAND,oDAMC;AAED,MAAa,cAAe,SAAQ,oBAAoB;CAEvD;AAFD,wCAEC"}
@@ -1,55 +1,33 @@
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';
6
1
  import { Product } from '../../product-pricing/entities/Product';
7
- import { InstructorResourceDto } from '../../resources/dto/instructor.dto';
8
- import { SpaceResourceDto } from '../../resources/dto/space.dto';
2
+ import { SimpleResourceDto } from '../../resources/dto/resource.dto';
9
3
  import { ResourceNameTypeEnum, SportsEnum } from '../../services/enums.service';
10
4
  import { Slot } from '../entities/slot.entity';
11
5
  import { DurationTypeEnum, DurationUnitTypesEnum, MaintenanceTimingEnum, PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
12
6
  import { IOverridePriceMeta } from '../types/interfaces/reservation.interfaces';
13
- import { IBaseSlot, IDraftSlot, ISlotProductMetadata, ISlotProductPricesMetadata, ITimeSlot } from '../types/interfaces/slot.interfaces';
14
- import { AddonDto, CreateDraftAddonDto, DraftAddonDto } from './addon.dto';
7
+ import { IDraftSlot, ISlotProductMetadata, ITimeSlot } from '../types/interfaces/slot.interfaces';
8
+ import { AddonDto, DraftAddonDto } from './addon.dto';
15
9
  import { MaintenanceDto } from './maintenance.dto';
16
10
  export declare class SlotProductMetadataDto implements ISlotProductMetadata {
17
11
  productId: number;
18
12
  price: number;
19
- quantity: number;
20
- priceId?: number;
21
- prices?: SlotProductPricesMetadataDto[];
22
13
  }
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;
14
+ export declare class DateTimeAndResourcesDto {
31
15
  startDate: string;
32
16
  startTime?: string;
33
17
  endDate?: string;
34
18
  endTime?: string;
35
19
  spaceId: number;
36
20
  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[];
46
21
  }
47
- export declare class BaseSlotDto extends BaseSlotFieldsDto implements IBaseSlot {
22
+ export declare class BaseSlotDto extends DateTimeAndResourcesDto {
23
+ organizationId?: number;
48
24
  title: string;
49
25
  creatorId?: number;
50
26
  creatorType?: ResourceNameTypeEnum;
51
27
  userCreatorId?: number;
52
28
  timezone?: string;
29
+ publicNotes?: string;
30
+ privateNotes?: string;
53
31
  slotType: SlotTypeEnum;
54
32
  sportIds: SportsEnum[];
55
33
  maintenanceDurationdurationType?: DurationUnitTypesEnum;
@@ -58,7 +36,11 @@ export declare class BaseSlotDto extends BaseSlotFieldsDto implements IBaseSlot
58
36
  displayName?: string;
59
37
  internalName?: string;
60
38
  totalPrice?: number;
39
+ privacySetting?: PrivacySettingsEnum;
61
40
  slotDurationType: DurationTypeEnum;
41
+ colorCodeId?: number;
42
+ participantsNumber?: number;
43
+ conflictsIds?: number[];
62
44
  occurrence?: number;
63
45
  productMetadata?: SlotProductMetadataDto;
64
46
  }
@@ -79,64 +61,10 @@ export declare class SlotDto extends BaseSlotDto {
79
61
  [addonProductId: number]: IOverridePriceMeta;
80
62
  };
81
63
  addonProducts?: Product[];
64
+ maintenance?: MaintenanceDto[];
82
65
  isPrivate: boolean;
83
66
  addonsIds?: number[];
84
67
  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;
140
68
  }
141
69
  export declare class TimeSlotDto implements ITimeSlot {
142
70
  id?: number;
@@ -161,6 +89,19 @@ export declare class UpdateSlotsColorsDto {
161
89
  slotId: number;
162
90
  colorCodeId: number;
163
91
  }
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
+ }
164
105
  export declare class TimeSlotConflictsDto {
165
106
  timeSlot: TimeSlotDto;
166
107
  conflicts: Slot[];
@@ -174,24 +115,3 @@ export declare class DraftTimeSlotDto implements ITimeSlot {
174
115
  endTime: string;
175
116
  parentSlotId?: string;
176
117
  }
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,33 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
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;
4
4
  class SlotProductMetadataDto {
5
5
  }
6
6
  exports.SlotProductMetadataDto = SlotProductMetadataDto;
7
- class SlotProductPricesMetadataDto {
7
+ class DateTimeAndResourcesDto {
8
8
  }
9
- exports.SlotProductPricesMetadataDto = SlotProductPricesMetadataDto;
10
- class BaseSlotFieldsDto {
11
- }
12
- exports.BaseSlotFieldsDto = BaseSlotFieldsDto;
13
- class BaseSlotDto extends BaseSlotFieldsDto {
9
+ exports.DateTimeAndResourcesDto = DateTimeAndResourcesDto;
10
+ class BaseSlotDto extends DateTimeAndResourcesDto {
14
11
  }
15
12
  exports.BaseSlotDto = BaseSlotDto;
16
13
  class SlotDto extends BaseSlotDto {
17
14
  }
18
15
  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;
31
16
  class TimeSlotDto {
32
17
  }
33
18
  exports.TimeSlotDto = TimeSlotDto;
@@ -40,16 +25,13 @@ exports.SlotsIdsDto = SlotsIdsDto;
40
25
  class UpdateSlotsColorsDto {
41
26
  }
42
27
  exports.UpdateSlotsColorsDto = UpdateSlotsColorsDto;
28
+ class DraftSlotDto extends BaseSlotDto {
29
+ }
30
+ exports.DraftSlotDto = DraftSlotDto;
43
31
  class TimeSlotConflictsDto {
44
32
  }
45
33
  exports.TimeSlotConflictsDto = TimeSlotConflictsDto;
46
34
  class DraftTimeSlotDto {
47
35
  }
48
36
  exports.DraftTimeSlotDto = DraftTimeSlotDto;
49
- class ProblematicSlotDto {
50
- }
51
- exports.ProblematicSlotDto = ProblematicSlotDto;
52
- class CardSlotDto extends SlotDto {
53
- }
54
- exports.CardSlotDto = CardSlotDto;
55
37
  //# 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":";;;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"}
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"}
@@ -33,5 +33,4 @@ export declare class BookingV1Dto {
33
33
  skipPayment: boolean;
34
34
  cashPayment: boolean;
35
35
  requestOnly: boolean;
36
- amountToPay?: number;
37
36
  }
@@ -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;CAgBxB;AAhBD,oCAgBC"}
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,11 +1,7 @@
1
1
  import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
2
- import { Resource } from '../../resources/entities/Resource';
3
2
  import { ResourceTypeEnum } from '../../services/enums.service';
4
- import { Slot } from './slot.entity';
5
3
  export declare class SlotToResource extends OrganizationConnectionBaseEntity {
6
4
  slotId: number;
7
- slot: Slot;
8
5
  resourceId: number;
9
- resource: Resource;
10
6
  resourceType: ResourceTypeEnum;
11
7
  }
@@ -1 +1 @@
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"}
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"}
@@ -29,5 +29,4 @@ export declare class Addon extends OrganizationConnectionBaseEntity {
29
29
  previousProductUsers?: ProductsUsers[];
30
30
  reservation?: Reservation;
31
31
  slot?: Slot;
32
- cartItemId?: string;
33
32
  }
@@ -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;CA6C1D;AA7CD,sBA6CC"}
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,7 +1,6 @@
1
1
  import { Customer } from '../../entity/Customer';
2
2
  import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
3
- import { ResourceNameTypeEnum, SportsEnum } from '../../services/enums.service';
4
- import { OverrideProductsPricing } from '../types/classes/reservation.classes';
3
+ import { ResourceNameTypeEnum } from '../../services/enums.service';
5
4
  import { PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum } from '../types/enums/reservation.enums';
6
5
  import { Addon } from './addon.entity';
7
6
  import { Segment } from './segment.entity';
@@ -27,14 +26,16 @@ export declare class Reservation extends OrganizationConnectionBaseEntity {
27
26
  answerTitleIds?: number[] | null;
28
27
  segments?: Segment[];
29
28
  addons: Addon[];
30
- slots?: Slot[];
31
- overrideProductsPrice: OverrideProductsPricing;
29
+ slots: Slot[];
30
+ overrideProductsPrice: Record<string, {
31
+ productId: number;
32
+ price: number;
33
+ }>;
32
34
  targetGlobalPrice?: number;
33
35
  invoiceId?: string;
34
36
  startTime?: string;
35
37
  startDate?: Date;
36
38
  endDate?: Date;
37
- sportType?: SportsEnum;
39
+ sportType?: number;
38
40
  migrationStatus?: string;
39
- invoicesIds?: number[];
40
41
  }
@@ -1 +1 @@
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"}
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"}
@@ -6,15 +6,13 @@ 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';
10
9
  import { DurationTypeEnum, DurationUnitTypesEnum, MaintenanceTimingEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
11
10
  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';
18
16
  export declare class Slot extends OrganizationConnectionBaseEntity {
19
17
  isReverted: boolean;
20
18
  deletedAt?: Date;
@@ -28,9 +26,7 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
28
26
  event: Event;
29
27
  spaceId?: number;
30
28
  resource?: Resource;
31
- slotToResources?: SlotToResource[];
32
- instructorsIds?: number[];
33
- resources?: Resource[];
29
+ resources: Resource[];
34
30
  parentSlotId?: number;
35
31
  parent?: Slot;
36
32
  children?: Slot[];
@@ -61,16 +57,14 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
61
57
  displayName?: string;
62
58
  internalName?: string;
63
59
  totalPrice: number;
64
- productMetadata?: SlotProductMetadata;
60
+ productMetadata?: ISlotProductMetadata;
65
61
  slotDurationType: DurationTypeEnum;
66
62
  previousProductUsersIds?: number[];
67
63
  previousProductUsers?: ProductsUsers[];
68
64
  colorCodeId?: number;
69
65
  colorCode?: ColorCode;
70
- cartItemId?: string;
71
66
  conflictsCount?: number;
72
67
  conflicts?: Slot[];
73
- hasConflicts?: boolean;
74
68
  maintenance?: Slot[];
75
69
  maintenanceSlots?: Slot[];
76
70
  addonsProductUserIds?: number[] | null;
@@ -81,6 +75,4 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
81
75
  isMonitorVisible: boolean;
82
76
  isPrivate: boolean;
83
77
  occurrence?: number;
84
- totalSlotsInReservation?: number;
85
- customer?: Customer;
86
78
  }
@@ -1 +1 @@
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;CAsIzD;AAtID,oBAsIC"}
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,2 +1 @@
1
1
  export * from './reservation.consts';
2
- export * from './slot.consts';