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

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 (446) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/address/index.d.ts +0 -2
  3. package/dist/types/address/index.js +0 -2
  4. package/dist/types/address/index.js.map +1 -1
  5. package/dist/types/cart/dto/cart.dto.d.ts +2 -65
  6. package/dist/types/cart/dto/cart.dto.js +1 -28
  7. package/dist/types/cart/dto/cart.dto.js.map +1 -1
  8. package/dist/types/cart/entities/cart-item.entity.d.ts +0 -8
  9. package/dist/types/cart/entities/cart-item.entity.js.map +1 -1
  10. package/dist/types/cart/entities/cart.entity.d.ts +1 -1
  11. package/dist/types/cart/entities/cart.entity.js.map +1 -1
  12. package/dist/types/cart/types/index.d.ts +0 -1
  13. package/dist/types/cart/types/index.js +0 -1
  14. package/dist/types/cart/types/index.js.map +1 -1
  15. package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +1 -63
  16. package/dist/types/customers/dto/customer-response.dto.d.ts +0 -5
  17. package/dist/types/customers/dto/customer-response.dto.js +1 -4
  18. package/dist/types/customers/dto/customer-response.dto.js.map +1 -1
  19. package/dist/types/customers/dto/full-customer.dto.d.ts +1 -1
  20. package/dist/types/customers/dto/full-customer.dto.js.map +1 -1
  21. package/dist/types/customers/types/consts/customers.consts.d.ts +0 -1
  22. package/dist/types/customers/types/consts/customers.consts.js +2 -5
  23. package/dist/types/customers/types/consts/customers.consts.js.map +1 -1
  24. package/dist/types/customers/types/interfaces.d.ts +1 -10
  25. package/dist/types/dto/activityTimes.dto.d.ts +0 -10
  26. package/dist/types/dto/activityTimes.dto.js +1 -4
  27. package/dist/types/dto/activityTimes.dto.js.map +1 -1
  28. package/dist/types/dto/events.dto.d.ts +2 -4
  29. package/dist/types/dto/events.dto.js.map +1 -1
  30. package/dist/types/dto/facilities.dto.d.ts +9 -2
  31. package/dist/types/dto/facilities.dto.js +4 -1
  32. package/dist/types/dto/facilities.dto.js.map +1 -1
  33. package/dist/types/dto/general.dto.d.ts +5 -11
  34. package/dist/types/dto/general.dto.js +2 -4
  35. package/dist/types/dto/general.dto.js.map +1 -1
  36. package/dist/types/dto/groupsDivisions.dto.d.ts +2 -15
  37. package/dist/types/dto/groupsDivisions.dto.js +3 -6
  38. package/dist/types/dto/groupsDivisions.dto.js.map +1 -1
  39. package/dist/types/dto/membership.dto.d.ts +1 -17
  40. package/dist/types/dto/membership.dto.js.map +1 -1
  41. package/dist/types/dto/product-user.d.ts +0 -10
  42. package/dist/types/dto/product-user.js +1 -7
  43. package/dist/types/dto/product-user.js.map +1 -1
  44. package/dist/types/dto/product-variants.dto.d.ts +14 -2
  45. package/dist/types/dto/product-variants.dto.js +5 -2
  46. package/dist/types/dto/product-variants.dto.js.map +1 -1
  47. package/dist/types/dto/userPaymentMethod.dto.d.ts +0 -4
  48. package/dist/types/dto/userPaymentMethod.dto.js +1 -4
  49. package/dist/types/dto/userPaymentMethod.dto.js.map +1 -1
  50. package/dist/types/employees/dto/employee.dto.d.ts +2 -17
  51. package/dist/types/employees/dto/employee.dto.js +1 -8
  52. package/dist/types/employees/dto/employee.dto.js.map +1 -1
  53. package/dist/types/employees/types/index.d.ts +0 -1
  54. package/dist/types/employees/types/index.js +0 -1
  55. package/dist/types/employees/types/index.js.map +1 -1
  56. package/dist/types/entity/ActivityTimes.d.ts +3 -4
  57. package/dist/types/entity/ActivityTimes.js.map +1 -1
  58. package/dist/types/{address/entities → entity}/Address.d.ts +1 -1
  59. package/dist/types/{address/entities → entity}/Address.js +1 -1
  60. package/dist/types/entity/Address.js.map +1 -0
  61. package/dist/types/entity/Customer.d.ts +1 -3
  62. package/dist/types/entity/Customer.js.map +1 -1
  63. package/dist/types/entity/EventAttendees.d.ts +6 -6
  64. package/dist/types/entity/EventAttendees.js.map +1 -1
  65. package/dist/types/entity/EventHistory.d.ts +1 -1
  66. package/dist/types/entity/EventHistory.js.map +1 -1
  67. package/dist/types/entity/Facility.d.ts +1 -1
  68. package/dist/types/entity/LineItems.d.ts +0 -3
  69. package/dist/types/entity/LineItems.js.map +1 -1
  70. package/dist/types/entity/MembershipMember.d.ts +0 -11
  71. package/dist/types/entity/MembershipMember.js.map +1 -1
  72. package/dist/types/entity/PackageV1.d.ts +0 -2
  73. package/dist/types/entity/PackageV1.js.map +1 -1
  74. package/dist/types/{webflow/entities → entity}/WebflowOrganizationConfiguration.d.ts +1 -1
  75. package/dist/types/{webflow/entities → entity}/WebflowOrganizationConfiguration.js +1 -1
  76. package/dist/types/entity/WebflowOrganizationConfiguration.js.map +1 -0
  77. package/dist/types/entity/index.d.ts +2 -0
  78. package/dist/types/entity/index.js +2 -0
  79. package/dist/types/entity/index.js.map +1 -1
  80. package/dist/types/import/dto/reservation.dto.js.map +1 -1
  81. package/dist/types/index.d.ts +0 -5
  82. package/dist/types/index.js +0 -5
  83. package/dist/types/index.js.map +1 -1
  84. package/dist/types/invoice/dto/invoice.dto.d.ts +0 -19
  85. package/dist/types/invoice/dto/invoice.dto.js +1 -5
  86. package/dist/types/invoice/dto/invoice.dto.js.map +1 -1
  87. package/dist/types/invoice/types/consts/invoice.consts.d.ts +0 -10
  88. package/dist/types/invoice/types/consts/invoice.consts.js +1 -10
  89. package/dist/types/invoice/types/consts/invoice.consts.js.map +1 -1
  90. package/dist/types/invoice/types/interfaces/index.d.ts +0 -1
  91. package/dist/types/invoice/types/interfaces/index.js +0 -1
  92. package/dist/types/invoice/types/interfaces/index.js.map +1 -1
  93. package/dist/types/invoice/types/interfaces/invoice.interfaces.d.ts +1 -5
  94. package/dist/types/invoice/types/interfaces/invoice.interfaces.js.map +1 -1
  95. package/dist/types/membership/entities/MembershipMemberRenewal.d.ts +0 -9
  96. package/dist/types/membership/entities/MembershipMemberRenewal.js.map +1 -1
  97. package/dist/types/membership/index.d.ts +1 -2
  98. package/dist/types/membership/index.js +1 -2
  99. package/dist/types/membership/index.js.map +1 -1
  100. package/dist/types/membership/interfaces/index.d.ts +1 -0
  101. package/dist/types/{address/dto → membership/interfaces}/index.js +1 -1
  102. package/dist/types/membership/interfaces/index.js.map +1 -0
  103. package/dist/types/membership/{types → interfaces}/membership.interfaces.d.ts +0 -19
  104. package/dist/types/membership/interfaces/membership.interfaces.js.map +1 -0
  105. package/dist/types/notifications/dto/index.d.ts +0 -1
  106. package/dist/types/notifications/dto/index.js +0 -1
  107. package/dist/types/notifications/dto/index.js.map +1 -1
  108. package/dist/types/notifications/dto/notification.create.dto.d.ts +6 -6
  109. package/dist/types/notifications/dto/notification.create.dto.js +6 -6
  110. package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
  111. package/dist/types/notifications/dto/notification.response.dto.d.ts +3 -3
  112. package/dist/types/notifications/dto/notification.response.dto.js.map +1 -1
  113. package/dist/types/notifications/index.d.ts +1 -0
  114. package/dist/types/notifications/index.js +1 -0
  115. package/dist/types/notifications/index.js.map +1 -1
  116. package/dist/types/notifications/types/enums/index.js.map +1 -0
  117. package/dist/types/notifications/types/enums/notification.enums.d.ts +30 -0
  118. package/dist/types/notifications/types/enums/notification.enums.js +41 -0
  119. package/dist/types/notifications/types/enums/notification.enums.js.map +1 -0
  120. package/dist/types/notifications/types/index.js.map +1 -0
  121. package/dist/types/organization/entities/Organization.d.ts +1 -1
  122. package/dist/types/organization/interfaces/index.d.ts +0 -1
  123. package/dist/types/organization/interfaces/index.js +0 -1
  124. package/dist/types/organization/interfaces/index.js.map +1 -1
  125. package/dist/types/payment/dto/payment-method.dto.d.ts +3 -12
  126. package/dist/types/payment/dto/payment-method.dto.js +1 -4
  127. package/dist/types/payment/dto/payment-method.dto.js.map +1 -1
  128. package/dist/types/payment/dto/payment-plan.dto.d.ts +4 -6
  129. package/dist/types/payment/dto/payment-plan.dto.js.map +1 -1
  130. package/dist/types/payment/entities/PaymentFailures.d.ts +0 -1
  131. package/dist/types/payment/entities/PaymentFailures.js.map +1 -1
  132. package/dist/types/payment/entities/ProductPaymentPlan.d.ts +2 -3
  133. package/dist/types/payment/entities/ProductPaymentPlan.js.map +1 -1
  134. package/dist/types/payment/types/consts/payment.consts.d.ts +0 -1
  135. package/dist/types/payment/types/consts/payment.consts.js +1 -5
  136. package/dist/types/payment/types/consts/payment.consts.js.map +1 -1
  137. package/dist/types/payment/types/enums/payment-plan.enums.d.ts +7 -0
  138. package/dist/types/payment/types/enums/payment-plan.enums.js +9 -1
  139. package/dist/types/payment/types/enums/payment-plan.enums.js.map +1 -1
  140. package/dist/types/payment/types/enums/payment.enums.d.ts +2 -4
  141. package/dist/types/payment/types/enums/payment.enums.js +0 -2
  142. package/dist/types/payment/types/enums/payment.enums.js.map +1 -1
  143. package/dist/types/payment/types/interfaces/discount.interfaces.d.ts +1 -1
  144. package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +0 -16
  145. package/dist/types/pricing/dto/price.dto.d.ts +1 -3
  146. package/dist/types/pricing/dto/price.dto.js.map +1 -1
  147. package/dist/types/pricing/dto/pricing.dto.d.ts +2 -2
  148. package/dist/types/pricing/entities/Price.d.ts +2 -3
  149. package/dist/types/pricing/entities/Price.js.map +1 -1
  150. package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +0 -1
  151. package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
  152. package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +0 -1
  153. package/dist/types/programs/dto/program.dto.d.ts +2 -5
  154. package/dist/types/programs/dto/program.dto.js +1 -4
  155. package/dist/types/programs/dto/program.dto.js.map +1 -1
  156. package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +1 -1
  157. package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +0 -11
  158. package/dist/types/punch-pass/dto/punch-pass.dto.js +1 -5
  159. package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
  160. package/dist/types/purchase/dto/purchase.dto.d.ts +0 -4
  161. package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
  162. package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +3 -5
  163. package/dist/types/reservations/dto/addon.dto.d.ts +5 -17
  164. package/dist/types/reservations/dto/addon.dto.js +1 -4
  165. package/dist/types/reservations/dto/addon.dto.js.map +1 -1
  166. package/dist/types/reservations/dto/maintenance.dto.d.ts +1 -2
  167. package/dist/types/reservations/dto/maintenance.dto.js.map +1 -1
  168. package/dist/types/reservations/dto/reservation.dto.d.ts +24 -163
  169. package/dist/types/reservations/dto/reservation.dto.js +7 -83
  170. package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
  171. package/dist/types/reservations/dto/segment.dto.d.ts +4 -5
  172. package/dist/types/reservations/dto/segment.dto.js.map +1 -1
  173. package/dist/types/reservations/dto/series.dto.d.ts +4 -7
  174. package/dist/types/reservations/dto/series.dto.js.map +1 -1
  175. package/dist/types/reservations/dto/slot.dto.d.ts +18 -63
  176. package/dist/types/reservations/dto/slot.dto.js +4 -19
  177. package/dist/types/reservations/dto/slot.dto.js.map +1 -1
  178. package/dist/types/reservations/dto/v1.reservation.dto.d.ts +0 -1
  179. package/dist/types/reservations/dto/v1.reservation.dto.js.map +1 -1
  180. package/dist/types/reservations/entities/SlotToResource.d.ts +0 -4
  181. package/dist/types/reservations/entities/SlotToResource.js.map +1 -1
  182. package/dist/types/reservations/entities/addon.entity.d.ts +0 -1
  183. package/dist/types/reservations/entities/addon.entity.js.map +1 -1
  184. package/dist/types/reservations/entities/reservation.entity.d.ts +7 -6
  185. package/dist/types/reservations/entities/reservation.entity.js.map +1 -1
  186. package/dist/types/reservations/entities/slot.entity.d.ts +3 -10
  187. package/dist/types/reservations/entities/slot.entity.js.map +1 -1
  188. package/dist/types/reservations/types/consts/index.d.ts +0 -1
  189. package/dist/types/reservations/types/consts/index.js +0 -1
  190. package/dist/types/reservations/types/consts/index.js.map +1 -1
  191. package/dist/types/reservations/types/consts/reservation.consts.d.ts +1 -11
  192. package/dist/types/reservations/types/consts/reservation.consts.js +1 -11
  193. package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
  194. package/dist/types/reservations/types/enums/reservation.enums.d.ts +1 -2
  195. package/dist/types/reservations/types/enums/reservation.enums.js +0 -1
  196. package/dist/types/reservations/types/enums/reservation.enums.js.map +1 -1
  197. package/dist/types/reservations/types/index.d.ts +0 -1
  198. package/dist/types/reservations/types/index.js +0 -1
  199. package/dist/types/reservations/types/index.js.map +1 -1
  200. package/dist/types/reservations/types/interfaces/addon.interfaces.d.ts +2 -18
  201. package/dist/types/reservations/types/interfaces/index.d.ts +0 -2
  202. package/dist/types/reservations/types/interfaces/index.js +0 -2
  203. package/dist/types/reservations/types/interfaces/index.js.map +1 -1
  204. package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +18 -140
  205. package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
  206. package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +25 -58
  207. package/dist/types/reservations/types/interfaces/slot.interfaces.js +0 -4
  208. package/dist/types/reservations/types/interfaces/slot.interfaces.js.map +1 -1
  209. package/dist/types/reservations/types/reservation.types.d.ts +11 -23
  210. package/dist/types/resources/dto/instructor.dto.d.ts +1 -1
  211. package/dist/types/resources/dto/instructor.dto.js.map +1 -1
  212. package/dist/types/resources/entities/Instructor.d.ts +2 -2
  213. package/dist/types/resources/entities/Instructor.js.map +1 -1
  214. package/dist/types/resources/entities/Space.d.ts +1 -1
  215. package/dist/types/resources/entities/Space.js.map +1 -1
  216. package/dist/types/roles/dto/permission-group.dto.d.ts +0 -4
  217. package/dist/types/roles/dto/permission-group.dto.js +1 -8
  218. package/dist/types/roles/dto/permission-group.dto.js.map +1 -1
  219. package/dist/types/roles/dto/role.dto.d.ts +6 -25
  220. package/dist/types/roles/dto/role.dto.js +1 -19
  221. package/dist/types/roles/dto/role.dto.js.map +1 -1
  222. package/dist/types/roles/entities/Role.d.ts +2 -3
  223. package/dist/types/roles/entities/Role.js.map +1 -1
  224. package/dist/types/roles/entities/index.d.ts +0 -6
  225. package/dist/types/roles/entities/index.js +0 -10
  226. package/dist/types/roles/entities/index.js.map +1 -1
  227. package/dist/types/roles/types/index.d.ts +0 -1
  228. package/dist/types/roles/types/index.js +0 -1
  229. package/dist/types/roles/types/index.js.map +1 -1
  230. package/dist/types/roles/types/role.enums.d.ts +2 -13
  231. package/dist/types/roles/types/role.enums.js +1 -13
  232. package/dist/types/roles/types/role.enums.js.map +1 -1
  233. package/dist/types/services/enums.service.d.ts +2 -27
  234. package/dist/types/services/enums.service.js +3 -32
  235. package/dist/types/services/enums.service.js.map +1 -1
  236. package/dist/types/services/interfaces.service.d.ts +3 -15
  237. package/dist/types/services/interfaces.service.js.map +1 -1
  238. package/dist/types/shifts/entities/shift.entity.d.ts +1 -1
  239. package/dist/types/user/dto/user-settings.dto.d.ts +1 -1
  240. package/dist/types/user/dto/user.dto.d.ts +1 -1
  241. package/dist/types/user/dto/user.dto.js.map +1 -1
  242. package/dist/types/user/entities/User.d.ts +1 -3
  243. package/dist/types/user/entities/User.js.map +1 -1
  244. package/dist/types/user/types/user.interfaces.d.ts +0 -15
  245. package/dist/types/user-identification/dto/user-identifier.dto.d.ts +0 -3
  246. package/dist/types/user-identification/dto/user-identifier.dto.js +1 -7
  247. package/dist/types/user-identification/dto/user-identifier.dto.js.map +1 -1
  248. package/dist/types/user-identification/entities/UserIdentifier.d.ts +0 -2
  249. package/dist/types/user-identification/entities/UserIdentifier.js.map +1 -1
  250. package/dist/types/util/models/interfaces/general.interfaces.d.ts +1 -2
  251. package/dist/types/webflow/index.d.ts +0 -2
  252. package/dist/types/webflow/index.js +0 -2
  253. package/dist/types/webflow/index.js.map +1 -1
  254. package/package.json +1 -1
  255. package/dist/types/accounting/entities/index.d.ts +0 -2
  256. package/dist/types/accounting/entities/index.js +0 -19
  257. package/dist/types/accounting/entities/index.js.map +0 -1
  258. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.d.ts +0 -9
  259. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js +0 -8
  260. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js.map +0 -1
  261. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.d.ts +0 -14
  262. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js +0 -8
  263. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js.map +0 -1
  264. package/dist/types/accounting/index.d.ts +0 -2
  265. package/dist/types/accounting/index.js +0 -19
  266. package/dist/types/accounting/index.js.map +0 -1
  267. package/dist/types/accounting/types/enums/accounting.enums.d.ts +0 -14
  268. package/dist/types/accounting/types/enums/accounting.enums.js +0 -20
  269. package/dist/types/accounting/types/enums/accounting.enums.js.map +0 -1
  270. package/dist/types/accounting/types/enums/index.d.ts +0 -1
  271. package/dist/types/accounting/types/enums/index.js +0 -18
  272. package/dist/types/accounting/types/enums/index.js.map +0 -1
  273. package/dist/types/accounting/types/index.js.map +0 -1
  274. package/dist/types/address/dto/address.dto.d.ts +0 -9
  275. package/dist/types/address/dto/address.dto.js +0 -7
  276. package/dist/types/address/dto/address.dto.js.map +0 -1
  277. package/dist/types/address/dto/index.d.ts +0 -1
  278. package/dist/types/address/dto/index.js.map +0 -1
  279. package/dist/types/address/entities/Address.js.map +0 -1
  280. package/dist/types/address/entities/index.d.ts +0 -1
  281. package/dist/types/address/entities/index.js +0 -18
  282. package/dist/types/address/entities/index.js.map +0 -1
  283. package/dist/types/cart/types/classes/cart.classes.d.ts +0 -9
  284. package/dist/types/cart/types/classes/cart.classes.js +0 -7
  285. package/dist/types/cart/types/classes/cart.classes.js.map +0 -1
  286. package/dist/types/cart/types/classes/index.d.ts +0 -1
  287. package/dist/types/cart/types/classes/index.js +0 -18
  288. package/dist/types/cart/types/classes/index.js.map +0 -1
  289. package/dist/types/employees/types/consts/index.d.ts +0 -3
  290. package/dist/types/employees/types/consts/index.js +0 -25
  291. package/dist/types/employees/types/consts/index.js.map +0 -1
  292. package/dist/types/facilities/index.d.ts +0 -1
  293. package/dist/types/facilities/index.js +0 -18
  294. package/dist/types/facilities/index.js.map +0 -1
  295. package/dist/types/facilities/types/facilities.types.d.ts +0 -4
  296. package/dist/types/facilities/types/facilities.types.js +0 -3
  297. package/dist/types/facilities/types/facilities.types.js.map +0 -1
  298. package/dist/types/facilities/types/index.d.ts +0 -1
  299. package/dist/types/facilities/types/index.js +0 -18
  300. package/dist/types/facilities/types/index.js.map +0 -1
  301. package/dist/types/folders/dto/folder.dto.d.ts +0 -58
  302. package/dist/types/folders/dto/folder.dto.js +0 -34
  303. package/dist/types/folders/dto/folder.dto.js.map +0 -1
  304. package/dist/types/folders/dto/index.d.ts +0 -1
  305. package/dist/types/folders/dto/index.js +0 -18
  306. package/dist/types/folders/dto/index.js.map +0 -1
  307. package/dist/types/folders/entities/folder-content.entity.d.ts +0 -12
  308. package/dist/types/folders/entities/folder-content.entity.js +0 -14
  309. package/dist/types/folders/entities/folder-content.entity.js.map +0 -1
  310. package/dist/types/folders/entities/folder-invite.entity.d.ts +0 -8
  311. package/dist/types/folders/entities/folder-invite.entity.js +0 -8
  312. package/dist/types/folders/entities/folder-invite.entity.js.map +0 -1
  313. package/dist/types/folders/entities/folder.entity.d.ts +0 -21
  314. package/dist/types/folders/entities/folder.entity.js +0 -12
  315. package/dist/types/folders/entities/folder.entity.js.map +0 -1
  316. package/dist/types/folders/entities/index.d.ts +0 -3
  317. package/dist/types/folders/entities/index.js +0 -20
  318. package/dist/types/folders/entities/index.js.map +0 -1
  319. package/dist/types/folders/index.d.ts +0 -2
  320. package/dist/types/folders/index.js +0 -19
  321. package/dist/types/folders/index.js.map +0 -1
  322. package/dist/types/invoice/types/interfaces/line-item.interfaces.d.ts +0 -7
  323. package/dist/types/invoice/types/interfaces/line-item.interfaces.js +0 -3
  324. package/dist/types/invoice/types/interfaces/line-item.interfaces.js.map +0 -1
  325. package/dist/types/membership/dto/expendedMembership.dto.d.ts +0 -15
  326. package/dist/types/membership/dto/expendedMembership.dto.js +0 -7
  327. package/dist/types/membership/dto/expendedMembership.dto.js.map +0 -1
  328. package/dist/types/membership/dto/index.d.ts +0 -2
  329. package/dist/types/membership/dto/index.js +0 -19
  330. package/dist/types/membership/dto/index.js.map +0 -1
  331. package/dist/types/membership/dto/membershipMember.dto.d.ts +0 -103
  332. package/dist/types/membership/dto/membershipMember.dto.js +0 -45
  333. package/dist/types/membership/dto/membershipMember.dto.js.map +0 -1
  334. package/dist/types/membership/types/index.d.ts +0 -5
  335. package/dist/types/membership/types/index.js +0 -22
  336. package/dist/types/membership/types/index.js.map +0 -1
  337. package/dist/types/membership/types/membership.interfaces.js.map +0 -1
  338. package/dist/types/membership/types/membership.member.classes.d.ts +0 -14
  339. package/dist/types/membership/types/membership.member.classes.js +0 -7
  340. package/dist/types/membership/types/membership.member.classes.js.map +0 -1
  341. package/dist/types/membership/types/membership.member.consts.d.ts +0 -3
  342. package/dist/types/membership/types/membership.member.consts.js +0 -8
  343. package/dist/types/membership/types/membership.member.consts.js.map +0 -1
  344. package/dist/types/membership/types/membership.members.interfaces.d.ts +0 -86
  345. package/dist/types/membership/types/membership.members.interfaces.js +0 -3
  346. package/dist/types/membership/types/membership.members.interfaces.js.map +0 -1
  347. package/dist/types/membership/types/membership.members.types.d.ts +0 -4
  348. package/dist/types/membership/types/membership.members.types.js +0 -3
  349. package/dist/types/membership/types/membership.members.types.js.map +0 -1
  350. package/dist/types/notifications/dto/types/enums/index.js.map +0 -1
  351. package/dist/types/notifications/dto/types/enums/notification.enums.d.ts +0 -2
  352. package/dist/types/notifications/dto/types/enums/notification.enums.js +0 -8
  353. package/dist/types/notifications/dto/types/enums/notification.enums.js.map +0 -1
  354. package/dist/types/notifications/dto/types/index.d.ts +0 -1
  355. package/dist/types/notifications/dto/types/index.js +0 -18
  356. package/dist/types/notifications/dto/types/index.js.map +0 -1
  357. package/dist/types/online-rentals/index.d.ts +0 -1
  358. package/dist/types/online-rentals/index.js +0 -18
  359. package/dist/types/online-rentals/index.js.map +0 -1
  360. package/dist/types/online-rentals/types/index.d.ts +0 -2
  361. package/dist/types/online-rentals/types/index.js +0 -19
  362. package/dist/types/online-rentals/types/index.js.map +0 -1
  363. package/dist/types/online-rentals/types/online-rentals.classes.d.ts +0 -21
  364. package/dist/types/online-rentals/types/online-rentals.classes.js +0 -10
  365. package/dist/types/online-rentals/types/online-rentals.classes.js.map +0 -1
  366. package/dist/types/online-rentals/types/online-rentals.dto.d.ts +0 -61
  367. package/dist/types/online-rentals/types/online-rentals.dto.js +0 -36
  368. package/dist/types/online-rentals/types/online-rentals.dto.js.map +0 -1
  369. package/dist/types/organization/interfaces/reason.interfaces.d.ts +0 -6
  370. package/dist/types/organization/interfaces/reason.interfaces.js +0 -3
  371. package/dist/types/organization/interfaces/reason.interfaces.js.map +0 -1
  372. package/dist/types/reservations/types/classes/addon.classes.d.ts +0 -21
  373. package/dist/types/reservations/types/classes/addon.classes.js +0 -7
  374. package/dist/types/reservations/types/classes/addon.classes.js.map +0 -1
  375. package/dist/types/reservations/types/classes/index.d.ts +0 -7
  376. package/dist/types/reservations/types/classes/index.js +0 -24
  377. package/dist/types/reservations/types/classes/index.js.map +0 -1
  378. package/dist/types/reservations/types/classes/maintenance.classes.d.ts +0 -8
  379. package/dist/types/reservations/types/classes/maintenance.classes.js +0 -7
  380. package/dist/types/reservations/types/classes/maintenance.classes.js.map +0 -1
  381. package/dist/types/reservations/types/classes/product.classes.d.ts +0 -16
  382. package/dist/types/reservations/types/classes/product.classes.js +0 -10
  383. package/dist/types/reservations/types/classes/product.classes.js.map +0 -1
  384. package/dist/types/reservations/types/classes/reservation.classes.d.ts +0 -58
  385. package/dist/types/reservations/types/classes/reservation.classes.js +0 -10
  386. package/dist/types/reservations/types/classes/reservation.classes.js.map +0 -1
  387. package/dist/types/reservations/types/classes/segment.classes.d.ts +0 -32
  388. package/dist/types/reservations/types/classes/segment.classes.js +0 -10
  389. package/dist/types/reservations/types/classes/segment.classes.js.map +0 -1
  390. package/dist/types/reservations/types/classes/series.classes.d.ts +0 -27
  391. package/dist/types/reservations/types/classes/series.classes.js +0 -7
  392. package/dist/types/reservations/types/classes/series.classes.js.map +0 -1
  393. package/dist/types/reservations/types/classes/slot.classes.d.ts +0 -69
  394. package/dist/types/reservations/types/classes/slot.classes.js +0 -11
  395. package/dist/types/reservations/types/classes/slot.classes.js.map +0 -1
  396. package/dist/types/reservations/types/consts/slot.consts.d.ts +0 -1
  397. package/dist/types/reservations/types/consts/slot.consts.js +0 -5
  398. package/dist/types/reservations/types/consts/slot.consts.js.map +0 -1
  399. package/dist/types/reservations/types/interfaces/segment.interfaces.d.ts +0 -29
  400. package/dist/types/reservations/types/interfaces/segment.interfaces.js +0 -3
  401. package/dist/types/reservations/types/interfaces/segment.interfaces.js.map +0 -1
  402. package/dist/types/reservations/types/interfaces/series.interfaces.d.ts +0 -32
  403. package/dist/types/reservations/types/interfaces/series.interfaces.js +0 -3
  404. package/dist/types/reservations/types/interfaces/series.interfaces.js.map +0 -1
  405. package/dist/types/roles/types/role.consts.d.ts +0 -1
  406. package/dist/types/roles/types/role.consts.js +0 -6
  407. package/dist/types/roles/types/role.consts.js.map +0 -1
  408. package/dist/types/session-participants/dto/get.session.participant.dto.d.ts +0 -22
  409. package/dist/types/session-participants/dto/get.session.participant.dto.js +0 -18
  410. package/dist/types/session-participants/dto/get.session.participant.dto.js.map +0 -1
  411. package/dist/types/session-participants/dto/index.d.ts +0 -2
  412. package/dist/types/session-participants/dto/index.js +0 -19
  413. package/dist/types/session-participants/dto/index.js.map +0 -1
  414. package/dist/types/session-participants/dto/session.participant.dto.d.ts +0 -45
  415. package/dist/types/session-participants/dto/session.participant.dto.js +0 -10
  416. package/dist/types/session-participants/dto/session.participant.dto.js.map +0 -1
  417. package/dist/types/session-participants/index.d.ts +0 -2
  418. package/dist/types/session-participants/index.js +0 -19
  419. package/dist/types/session-participants/index.js.map +0 -1
  420. package/dist/types/session-participants/types/consts.d.ts +0 -3
  421. package/dist/types/session-participants/types/consts.js +0 -7
  422. package/dist/types/session-participants/types/consts.js.map +0 -1
  423. package/dist/types/session-participants/types/enums.d.ts +0 -17
  424. package/dist/types/session-participants/types/enums.js +0 -24
  425. package/dist/types/session-participants/types/enums.js.map +0 -1
  426. package/dist/types/session-participants/types/index.d.ts +0 -3
  427. package/dist/types/session-participants/types/index.js +0 -20
  428. package/dist/types/session-participants/types/index.js.map +0 -1
  429. package/dist/types/session-participants/types/interfaces.d.ts +0 -46
  430. package/dist/types/session-participants/types/interfaces.js +0 -3
  431. package/dist/types/session-participants/types/interfaces.js.map +0 -1
  432. package/dist/types/webflow/dto/index.d.ts +0 -1
  433. package/dist/types/webflow/dto/index.js +0 -18
  434. package/dist/types/webflow/dto/index.js.map +0 -1
  435. package/dist/types/webflow/dto/webflowProgram.dto.d.ts +0 -14
  436. package/dist/types/webflow/dto/webflowProgram.dto.js +0 -7
  437. package/dist/types/webflow/dto/webflowProgram.dto.js.map +0 -1
  438. package/dist/types/webflow/entities/WebflowOrganizationConfiguration.js.map +0 -1
  439. package/dist/types/webflow/entities/index.d.ts +0 -1
  440. package/dist/types/webflow/entities/index.js +0 -18
  441. package/dist/types/webflow/entities/index.js.map +0 -1
  442. /package/dist/types/membership/{types → interfaces}/membership.interfaces.js +0 -0
  443. /package/dist/types/notifications/{dto/types → types}/enums/index.d.ts +0 -0
  444. /package/dist/types/notifications/{dto/types → types}/enums/index.js +0 -0
  445. /package/dist/types/{accounting → notifications}/types/index.d.ts +0 -0
  446. /package/dist/types/{accounting → notifications}/types/index.js +0 -0
@@ -1,30 +1,15 @@
1
- import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
2
- import { FacilityDto } from '../../dto/facilities.dto';
3
- import { ProductDto } from '../../product-pricing/dto/product.dto';
4
1
  import { Product } from '../../product-pricing/entities/Product';
5
- import { InstructorResourceDto } from '../../resources/dto/instructor.dto';
6
- import { SpaceResourceDto } from '../../resources/dto/space.dto';
2
+ import { SimpleResourceDto } from '../../resources/dto/resource.dto';
7
3
  import { ResourceNameTypeEnum, SportsEnum } from '../../services/enums.service';
8
4
  import { Slot } from '../entities/slot.entity';
9
5
  import { DurationTypeEnum, DurationUnitTypesEnum, MaintenanceTimingEnum, PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
10
6
  import { IOverridePriceMeta } from '../types/interfaces/reservation.interfaces';
11
- import { IBaseSlot, IDraftSlot, ISlotProductMetadata, ISlotProductPricesMetadata, ITimeSlot } from '../types/interfaces/slot.interfaces';
7
+ import { IDraftSlot, ISlotProductMetadata, ITimeSlot } from '../types/interfaces/slot.interfaces';
12
8
  import { AddonDto, DraftAddonDto } from './addon.dto';
13
9
  import { MaintenanceDto } from './maintenance.dto';
14
- import { SimpleProductUserDto } from '../../dto/product-user';
15
- import { SimpleInvoiceDto } from '../../invoice/dto/invoice.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
- }
23
- export declare class SlotProductPricesMetadataDto implements ISlotProductPricesMetadata {
24
- priceId: number;
25
- price: number;
26
- quantity: number;
27
- totalPrice: number;
28
13
  }
29
14
  export declare class DateTimeAndResourcesDto {
30
15
  startDate: string;
@@ -34,7 +19,7 @@ export declare class DateTimeAndResourcesDto {
34
19
  spaceId: number;
35
20
  instructorsIds?: number[];
36
21
  }
37
- export declare class BaseSlotDto extends DateTimeAndResourcesDto implements IBaseSlot {
22
+ export declare class BaseSlotDto extends DateTimeAndResourcesDto {
38
23
  organizationId?: number;
39
24
  title: string;
40
25
  creatorId?: number;
@@ -55,9 +40,9 @@ export declare class BaseSlotDto extends DateTimeAndResourcesDto implements IBas
55
40
  slotDurationType: DurationTypeEnum;
56
41
  colorCodeId?: number;
57
42
  participantsNumber?: number;
43
+ conflictsIds?: number[];
58
44
  occurrence?: number;
59
45
  productMetadata?: SlotProductMetadataDto;
60
- maintenance?: MaintenanceDto[];
61
46
  }
62
47
  export declare class SlotDto extends BaseSlotDto {
63
48
  id?: number;
@@ -76,35 +61,10 @@ export declare class SlotDto extends BaseSlotDto {
76
61
  [addonProductId: number]: IOverridePriceMeta;
77
62
  };
78
63
  addonProducts?: Product[];
64
+ maintenance?: MaintenanceDto[];
79
65
  isPrivate: boolean;
80
66
  addonsIds?: number[];
81
67
  parentSlotId?: number;
82
- facilityId?: number;
83
- }
84
- export declare class BaseDraftSlotDto extends BaseSlotDto {
85
- id: string;
86
- facilityId: number;
87
- reservationId: string;
88
- segmentId: string;
89
- seriesId: string;
90
- parentSlotId?: string;
91
- participantsIds?: number[];
92
- slotId?: number;
93
- }
94
- export declare class UpdateDraftSlotDto extends BaseDraftSlotDto {
95
- productsIds?: number[];
96
- productId?: number;
97
- }
98
- export declare class DraftSlotDto extends BaseDraftSlotDto implements IDraftSlot {
99
- maintenanceSlots?: DraftSlotDto[];
100
- addons?: DraftAddonDto[];
101
- space?: SpaceResourceDto;
102
- instructors?: InstructorResourceDto[];
103
- participants?: SimpleCustomerDto[];
104
- product?: ProductDto;
105
- conflictsIds?: number[];
106
- facility?: FacilityDto;
107
- owner?: SimpleCustomerDto;
108
68
  }
109
69
  export declare class TimeSlotDto implements ITimeSlot {
110
70
  id?: number;
@@ -129,6 +89,19 @@ export declare class UpdateSlotsColorsDto {
129
89
  slotId: number;
130
90
  colorCodeId: number;
131
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
+ }
132
105
  export declare class TimeSlotConflictsDto {
133
106
  timeSlot: TimeSlotDto;
134
107
  conflicts: Slot[];
@@ -142,21 +115,3 @@ export declare class DraftTimeSlotDto implements ITimeSlot {
142
115
  endTime: string;
143
116
  parentSlotId?: string;
144
117
  }
145
- export declare class ProblematicSlotDto {
146
- startDate: string;
147
- endDate: string;
148
- startTime: string;
149
- endTime: string;
150
- spaceId: number;
151
- spaceName?: string;
152
- instructorsIds?: number[];
153
- }
154
- export declare class CardSlotDto extends SlotDto {
155
- resource: SpaceResourceDto;
156
- productUser?: SimpleProductUserDto;
157
- invoice?: SimpleInvoiceDto;
158
- customer?: SimpleCustomerDto;
159
- totalSlotsInReservation?: number;
160
- hasConflicts?: boolean;
161
- addons?: AddonDto[];
162
- }
@@ -1,12 +1,9 @@
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.UpdateDraftSlotDto = exports.BaseDraftSlotDto = exports.SlotDto = exports.BaseSlotDto = exports.DateTimeAndResourcesDto = 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 {
8
- }
9
- exports.SlotProductPricesMetadataDto = SlotProductPricesMetadataDto;
10
7
  class DateTimeAndResourcesDto {
11
8
  }
12
9
  exports.DateTimeAndResourcesDto = DateTimeAndResourcesDto;
@@ -16,15 +13,6 @@ 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 extends BaseDraftSlotDto {
23
- }
24
- exports.UpdateDraftSlotDto = UpdateDraftSlotDto;
25
- class DraftSlotDto extends BaseDraftSlotDto {
26
- }
27
- exports.DraftSlotDto = DraftSlotDto;
28
16
  class TimeSlotDto {
29
17
  }
30
18
  exports.TimeSlotDto = TimeSlotDto;
@@ -37,16 +25,13 @@ exports.SlotsIdsDto = SlotsIdsDto;
37
25
  class UpdateSlotsColorsDto {
38
26
  }
39
27
  exports.UpdateSlotsColorsDto = UpdateSlotsColorsDto;
28
+ class DraftSlotDto extends BaseSlotDto {
29
+ }
30
+ exports.DraftSlotDto = DraftSlotDto;
40
31
  class TimeSlotConflictsDto {
41
32
  }
42
33
  exports.TimeSlotConflictsDto = TimeSlotConflictsDto;
43
34
  class DraftTimeSlotDto {
44
35
  }
45
36
  exports.DraftTimeSlotDto = DraftTimeSlotDto;
46
- class ProblematicSlotDto {
47
- }
48
- exports.ProblematicSlotDto = ProblematicSlotDto;
49
- class CardSlotDto extends SlotDto {
50
- }
51
- exports.CardSlotDto = CardSlotDto;
52
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,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAa,WAAY,SAAQ,uBAAuB;CA8CvD;AA9CD,kCA8CC;AAED,MAAa,OAAQ,SAAQ,WAAW;CAkCvC;AAlCD,0BAkCC;AAED,MAAa,gBAAiB,SAAQ,WAAW;CAgBhD;AAhBD,4CAgBC;AAED,MAAa,kBAAmB,SAAQ,gBAAgB;CAKvD;AALD,gDAKC;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;CAc9B;AAdD,gDAcC;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,8 +26,7 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
28
26
  event: Event;
29
27
  spaceId?: number;
30
28
  resource?: Resource;
31
- slotToResources?: SlotToResource[];
32
- resources?: Resource[];
29
+ resources: Resource[];
33
30
  parentSlotId?: number;
34
31
  parent?: Slot;
35
32
  children?: Slot[];
@@ -60,16 +57,14 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
60
57
  displayName?: string;
61
58
  internalName?: string;
62
59
  totalPrice: number;
63
- productMetadata?: SlotProductMetadata;
60
+ productMetadata?: ISlotProductMetadata;
64
61
  slotDurationType: DurationTypeEnum;
65
62
  previousProductUsersIds?: number[];
66
63
  previousProductUsers?: ProductsUsers[];
67
64
  colorCodeId?: number;
68
65
  colorCode?: ColorCode;
69
- cartItemId?: string;
70
66
  conflictsCount?: number;
71
67
  conflicts?: Slot[];
72
- hasConflicts?: boolean;
73
68
  maintenance?: Slot[];
74
69
  maintenanceSlots?: Slot[];
75
70
  addonsProductUserIds?: number[] | null;
@@ -80,6 +75,4 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
80
75
  isMonitorVisible: boolean;
81
76
  isPrivate: boolean;
82
77
  occurrence?: number;
83
- totalSlotsInReservation?: number;
84
- customer?: Customer;
85
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;CAoIzD;AApID,oBAoIC"}
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';
@@ -15,5 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./reservation.consts"), exports);
18
- __exportStar(require("./slot.consts"), exports);
19
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,gDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
@@ -1,12 +1,10 @@
1
- import { EventStatusEnum, InvoiceStatusEnum, PriceFieldEnum } from '../../../services/enums.service';
1
+ import { InvoiceStatusEnum, PriceFieldEnum } from '../../../services/enums.service';
2
2
  import { SlotTypeEnum } from '../enums/reservation.enums';
3
3
  export declare const DRAFT_RESERVATION_REDIS_TOKEN = "DRAFT_RESERVATION_REDIS_CLIENT";
4
- export declare const RESERVATION_CHUNCK_SIZE = 500;
5
4
  export declare const KEY_TTL = 172800;
6
5
  export declare const RESOURCE_TOTAL_FIELD = PriceFieldEnum.TOTAL_PRICE;
7
6
  export declare const PUBLIC_NOTES_LIMIT = 500;
8
7
  export declare const PRIVATE_NOTES_LIMIT = 500;
9
- export declare const DEFAULT_PRICE_ID = 0;
10
8
  export declare const reservationStatusMapper: {
11
9
  Planned: InvoiceStatusEnum;
12
10
  Approved: InvoiceStatusEnum;
@@ -22,11 +20,3 @@ export declare const reservationTypeMapper: {
22
20
  internal: SlotTypeEnum;
23
21
  rental: SlotTypeEnum;
24
22
  };
25
- export declare const reservationStatusToEventStatus: {
26
- Planned: EventStatusEnum;
27
- Approved: EventStatusEnum;
28
- "Awaiting Admin": EventStatusEnum;
29
- "Awaiting Customer": EventStatusEnum;
30
- Rejected: EventStatusEnum;
31
- Canceled: EventStatusEnum;
32
- };
@@ -1,16 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.reservationStatusToEventStatus = exports.reservationTypeMapper = exports.reservationStatusMapper = exports.DEFAULT_PRICE_ID = exports.PRIVATE_NOTES_LIMIT = exports.PUBLIC_NOTES_LIMIT = exports.RESOURCE_TOTAL_FIELD = exports.KEY_TTL = exports.RESERVATION_CHUNCK_SIZE = exports.DRAFT_RESERVATION_REDIS_TOKEN = void 0;
3
+ exports.reservationTypeMapper = exports.reservationStatusMapper = exports.PRIVATE_NOTES_LIMIT = exports.PUBLIC_NOTES_LIMIT = exports.RESOURCE_TOTAL_FIELD = exports.KEY_TTL = exports.DRAFT_RESERVATION_REDIS_TOKEN = void 0;
4
4
  const enums_service_1 = require("../../../services/enums.service");
5
5
  const reservation_enums_1 = require("../enums/reservation.enums");
6
6
  exports.DRAFT_RESERVATION_REDIS_TOKEN = 'DRAFT_RESERVATION_REDIS_CLIENT';
7
- exports.RESERVATION_CHUNCK_SIZE = 500;
8
7
  // 2 days in seconds
9
8
  exports.KEY_TTL = 172800;
10
9
  exports.RESOURCE_TOTAL_FIELD = enums_service_1.PriceFieldEnum.TOTAL_PRICE;
11
10
  exports.PUBLIC_NOTES_LIMIT = 500;
12
11
  exports.PRIVATE_NOTES_LIMIT = 500;
13
- exports.DEFAULT_PRICE_ID = 0;
14
12
  exports.reservationStatusMapper = {
15
13
  [reservation_enums_1.ReservationStatusEnum.PLANNED]: enums_service_1.InvoiceStatusEnum.DRAFT,
16
14
  [reservation_enums_1.ReservationStatusEnum.APPROVED]: enums_service_1.InvoiceStatusEnum.DRAFT,
@@ -26,12 +24,4 @@ exports.reservationTypeMapper = {
26
24
  [reservation_enums_1.ReservationTypeEnum.INTERNAL]: reservation_enums_1.SlotTypeEnum.INTERNAL,
27
25
  [reservation_enums_1.ReservationTypeEnum.RENTAL]: reservation_enums_1.SlotTypeEnum.EXTERNAL,
28
26
  };
29
- exports.reservationStatusToEventStatus = {
30
- [reservation_enums_1.ReservationStatusEnum.PLANNED]: enums_service_1.EventStatusEnum.DRAFT,
31
- [reservation_enums_1.ReservationStatusEnum.APPROVED]: enums_service_1.EventStatusEnum.OPEN,
32
- [reservation_enums_1.ReservationStatusEnum.AWAITING_ADMIN]: enums_service_1.EventStatusEnum.DRAFT,
33
- [reservation_enums_1.ReservationStatusEnum.AWAITING_CUSTOMER]: enums_service_1.EventStatusEnum.DRAFT,
34
- [reservation_enums_1.ReservationStatusEnum.REJECTED]: enums_service_1.EventStatusEnum.CANCELLED,
35
- [reservation_enums_1.ReservationStatusEnum.CANCELED]: enums_service_1.EventStatusEnum.CANCELLED,
36
- };
37
27
  //# sourceMappingURL=reservation.consts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reservation.consts.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/consts/reservation.consts.ts"],"names":[],"mappings":";;;AAAA,mEAAqG;AACrG,kEAAsG;AAEzF,QAAA,6BAA6B,GAAG,gCAAgC,CAAC;AAEjE,QAAA,uBAAuB,GAAG,GAAG,CAAC;AAE3C,oBAAoB;AACP,QAAA,OAAO,GAAG,MAAM,CAAC;AAEjB,QAAA,oBAAoB,GAAG,8BAAc,CAAC,WAAW,CAAC;AAClD,QAAA,kBAAkB,GAAG,GAAG,CAAC;AACzB,QAAA,mBAAmB,GAAG,GAAG,CAAC;AAE1B,QAAA,gBAAgB,GAAG,CAAC,CAAC;AAErB,QAAA,uBAAuB,GAAG;IACtC,CAAC,yCAAqB,CAAC,OAAO,CAAC,EAAE,iCAAiB,CAAC,KAAK;IACxD,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,iCAAiB,CAAC,KAAK;IACzD,CAAC,yCAAqB,CAAC,cAAc,CAAC,EAAE,iCAAiB,CAAC,aAAa;IACvE,CAAC,yCAAqB,CAAC,iBAAiB,CAAC,EAAE,iCAAiB,CAAC,cAAc;IAC3E,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,iCAAiB,CAAC,QAAQ;IAC5D,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,iCAAiB,CAAC,QAAQ;CAC5D,CAAC;AAEW,QAAA,qBAAqB,GAAG;IACpC,CAAC,uCAAmB,CAAC,MAAM,CAAC,EAAE,gCAAY,CAAC,MAAM;IACjD,CAAC,uCAAmB,CAAC,WAAW,CAAC,EAAE,gCAAY,CAAC,WAAW;IAC3D,CAAC,uCAAmB,CAAC,OAAO,CAAC,EAAE,gCAAY,CAAC,QAAQ;IACpD,CAAC,uCAAmB,CAAC,QAAQ,CAAC,EAAE,gCAAY,CAAC,QAAQ;IACrD,CAAC,uCAAmB,CAAC,MAAM,CAAC,EAAE,gCAAY,CAAC,QAAQ;CACnD,CAAC;AAEW,QAAA,8BAA8B,GAAG;IAC7C,CAAC,yCAAqB,CAAC,OAAO,CAAC,EAAE,+BAAe,CAAC,KAAK;IACtD,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,+BAAe,CAAC,IAAI;IACtD,CAAC,yCAAqB,CAAC,cAAc,CAAC,EAAE,+BAAe,CAAC,KAAK;IAC7D,CAAC,yCAAqB,CAAC,iBAAiB,CAAC,EAAE,+BAAe,CAAC,KAAK;IAChE,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,+BAAe,CAAC,SAAS;IAC3D,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,+BAAe,CAAC,SAAS;CAC3D,CAAC"}
1
+ {"version":3,"file":"reservation.consts.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/consts/reservation.consts.ts"],"names":[],"mappings":";;;AAAA,mEAAoF;AACpF,kEAAsG;AAEzF,QAAA,6BAA6B,GAAG,gCAAgC,CAAC;AAE9E,oBAAoB;AACP,QAAA,OAAO,GAAG,MAAM,CAAC;AAEjB,QAAA,oBAAoB,GAAG,8BAAc,CAAC,WAAW,CAAC;AAClD,QAAA,kBAAkB,GAAG,GAAG,CAAC;AACzB,QAAA,mBAAmB,GAAG,GAAG,CAAC;AAE1B,QAAA,uBAAuB,GAAG;IACtC,CAAC,yCAAqB,CAAC,OAAO,CAAC,EAAE,iCAAiB,CAAC,KAAK;IACxD,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,iCAAiB,CAAC,KAAK;IACzD,CAAC,yCAAqB,CAAC,cAAc,CAAC,EAAE,iCAAiB,CAAC,aAAa;IACvE,CAAC,yCAAqB,CAAC,iBAAiB,CAAC,EAAE,iCAAiB,CAAC,cAAc;IAC3E,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,iCAAiB,CAAC,QAAQ;IAC5D,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,iCAAiB,CAAC,QAAQ;CAC5D,CAAC;AAEW,QAAA,qBAAqB,GAAG;IACpC,CAAC,uCAAmB,CAAC,MAAM,CAAC,EAAE,gCAAY,CAAC,MAAM;IACjD,CAAC,uCAAmB,CAAC,WAAW,CAAC,EAAE,gCAAY,CAAC,WAAW;IAC3D,CAAC,uCAAmB,CAAC,OAAO,CAAC,EAAE,gCAAY,CAAC,QAAQ;IACpD,CAAC,uCAAmB,CAAC,QAAQ,CAAC,EAAE,gCAAY,CAAC,QAAQ;IACrD,CAAC,uCAAmB,CAAC,MAAM,CAAC,EAAE,gCAAY,CAAC,QAAQ;CACnD,CAAC"}
@@ -49,8 +49,7 @@ export declare enum SlotTypeEnum {
49
49
  }
50
50
  export declare enum DurationUnitTypesEnum {
51
51
  MINUTES = "minutes",
52
- HOURS = "hours",
53
- DAYS = "days"
52
+ HOURS = "hours"
54
53
  }
55
54
  export declare enum FrequencyEnum {
56
55
  NONE = "none",
@@ -64,7 +64,6 @@ var DurationUnitTypesEnum;
64
64
  (function (DurationUnitTypesEnum) {
65
65
  DurationUnitTypesEnum["MINUTES"] = "minutes";
66
66
  DurationUnitTypesEnum["HOURS"] = "hours";
67
- DurationUnitTypesEnum["DAYS"] = "days";
68
67
  })(DurationUnitTypesEnum = exports.DurationUnitTypesEnum || (exports.DurationUnitTypesEnum = {}));
69
68
  var FrequencyEnum;
70
69
  (function (FrequencyEnum) {
@@ -1 +1 @@
1
- {"version":3,"file":"reservation.enums.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/enums/reservation.enums.ts"],"names":[],"mappings":";;;AAAA,8EAA+E;AAE/E,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC3B,yCAAqB,CAAA;IACrB,qCAAiB,CAAA;IACjB,mCAAe,CAAA;IACf,6DAAyC,CAAA;IACzC,+CAA2B,CAAA;AAC5B,CAAC,EANW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAM3B;AAED,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC9B,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,wCAAiB,CAAA;AAClB,CAAC,EAJW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAI9B;AAED,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC9B,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,kDAA2B,CAAA;IAC3B,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;AACtB,CAAC,EANW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAM9B;AAED,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC3B,mCAAe,CAAA;IACf,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;AACtB,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAED,IAAY,uBAEX;AAFD,WAAY,uBAAuB;IAClC,4DAAiC,CAAA;AAClC,CAAC,EAFW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAElC;AAIY,QAAA,+BAA+B,GAAG;IAC9C,GAAG,MAAM,CAAC,MAAM,CAAC,iCAAiB,CAAC;IACnC,GAAG,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC;CACzC,CAAC;AAEF,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAChC,4CAAmB,CAAA;IACnB,8CAAqB,CAAA;IACrB,0DAAiC,CAAA;IACjC,gEAAuC,CAAA;IACvC,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;AACtB,CAAC,EAPW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAOhC;AAED,IAAY,8BAIX;AAJD,WAAY,8BAA8B;IACzC,6CAAW,CAAA;IACX,2CAAS,CAAA;IACT,6CAAW,CAAA;AACZ,CAAC,EAJW,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAIzC;AAED,IAAY,YAKX;AALD,WAAY,YAAY;IACvB,qCAAqB,CAAA;IACrB,qCAAqB,CAAA;IACrB,2CAA2B,CAAA;IAC3B,iCAAiB,CAAA;AAClB,CAAC,EALW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB;AAED,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAChC,4CAAmB,CAAA;IACnB,wCAAe,CAAA;IACf,sCAAa,CAAA;AACd,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC;AAED,IAAY,aAMX;AAND,WAAY,aAAa;IACxB,8BAAa,CAAA;IACb,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;IACnB,kCAAiB,CAAA;AAClB,CAAC,EANW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAMxB;AAED,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAChC,qEAAU,CAAA;IACV,mEAAS,CAAA;IACT,uFAAmB,CAAA;IACnB,6EAAc,CAAA;AACf,CAAC,EALW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAKhC"}
1
+ {"version":3,"file":"reservation.enums.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/enums/reservation.enums.ts"],"names":[],"mappings":";;;AAAA,8EAA+E;AAE/E,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC3B,yCAAqB,CAAA;IACrB,qCAAiB,CAAA;IACjB,mCAAe,CAAA;IACf,6DAAyC,CAAA;IACzC,+CAA2B,CAAA;AAC5B,CAAC,EANW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAM3B;AAED,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC9B,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,wCAAiB,CAAA;AAClB,CAAC,EAJW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAI9B;AAED,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC9B,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,kDAA2B,CAAA;IAC3B,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;AACtB,CAAC,EANW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAM9B;AAED,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC3B,mCAAe,CAAA;IACf,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;AACtB,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAED,IAAY,uBAEX;AAFD,WAAY,uBAAuB;IAClC,4DAAiC,CAAA;AAClC,CAAC,EAFW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAElC;AAIY,QAAA,+BAA+B,GAAG;IAC9C,GAAG,MAAM,CAAC,MAAM,CAAC,iCAAiB,CAAC;IACnC,GAAG,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC;CACzC,CAAC;AAEF,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAChC,4CAAmB,CAAA;IACnB,8CAAqB,CAAA;IACrB,0DAAiC,CAAA;IACjC,gEAAuC,CAAA;IACvC,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;AACtB,CAAC,EAPW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAOhC;AAED,IAAY,8BAIX;AAJD,WAAY,8BAA8B;IACzC,6CAAW,CAAA;IACX,2CAAS,CAAA;IACT,6CAAW,CAAA;AACZ,CAAC,EAJW,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAIzC;AAED,IAAY,YAKX;AALD,WAAY,YAAY;IACvB,qCAAqB,CAAA;IACrB,qCAAqB,CAAA;IACrB,2CAA2B,CAAA;IAC3B,iCAAiB,CAAA;AAClB,CAAC,EALW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB;AAED,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAChC,4CAAmB,CAAA;IACnB,wCAAe,CAAA;AAChB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAED,IAAY,aAMX;AAND,WAAY,aAAa;IACxB,8BAAa,CAAA;IACb,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;IACnB,kCAAiB,CAAA;AAClB,CAAC,EANW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAMxB;AAED,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAChC,qEAAU,CAAA;IACV,mEAAS,CAAA;IACT,uFAAmB,CAAA;IACnB,6EAAc,CAAA;AACf,CAAC,EALW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAKhC"}
@@ -1,4 +1,3 @@
1
- export * from './classes';
2
1
  export * from './consts';
3
2
  export * from './enums';
4
3
  export * from './interfaces';
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./classes"), exports);
18
17
  __exportStar(require("./consts"), exports);
19
18
  __exportStar(require("./enums"), exports);
20
19
  __exportStar(require("./interfaces"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/reservations/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,sDAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/reservations/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,sDAAoC"}
@@ -1,31 +1,15 @@
1
1
  import { Product } from '../../../product-pricing/entities/Product';
2
- import { AddonParentTypeEnum, ProductPackageLevelEnum } from '../../../services/enums.service';
3
2
  export interface IBaseAddon {
4
3
  productId: number;
5
4
  unitPrice?: number;
6
5
  quantity?: number;
7
6
  totalPrice?: number;
8
- }
9
- export interface IAddon extends IBaseAddon {
10
- id?: number;
11
7
  product?: Product;
12
8
  parentProduct?: Product;
13
- level?: ProductPackageLevelEnum;
14
9
  displayTotalWithTax?: number;
15
10
  displayTotalPrice?: number;
16
11
  displayUnitTax?: number;
17
12
  }
18
- export interface IDraftAddon extends IBaseAddon {
19
- id: string;
20
- parentId?: string;
21
- parentType?: AddonParentTypeEnum;
22
- level?: ProductPackageLevelEnum;
23
- }
24
- export interface ISegmentsAddons {
25
- groupId: string;
26
- ids: string[];
27
- productsIds: number[];
28
- quantity: number;
29
- products?: Product[];
30
- cartItemId?: string;
13
+ export interface IAddon extends IBaseAddon {
14
+ id?: number;
31
15
  }
@@ -1,5 +1,3 @@
1
1
  export * from './addon.interfaces';
2
2
  export * from './reservation.interfaces';
3
- export * from './segment.interfaces';
4
- export * from './series.interfaces';
5
3
  export * from './slot.interfaces';
@@ -16,7 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./addon.interfaces"), exports);
18
18
  __exportStar(require("./reservation.interfaces"), exports);
19
- __exportStar(require("./segment.interfaces"), exports);
20
- __exportStar(require("./series.interfaces"), exports);
21
19
  __exportStar(require("./slot.interfaces"), exports);
22
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,2DAAyC;AACzC,uDAAqC;AACrC,sDAAoC;AACpC,oDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,2DAAyC;AACzC,oDAAkC"}