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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (462) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/accounting/entities/index.d.ts +2 -0
  3. package/dist/types/accounting/entities/index.js +19 -0
  4. package/dist/types/accounting/entities/index.js.map +1 -0
  5. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.d.ts +9 -0
  6. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js +8 -0
  7. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js.map +1 -0
  8. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.d.ts +14 -0
  9. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js +8 -0
  10. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js.map +1 -0
  11. package/dist/types/accounting/index.d.ts +2 -0
  12. package/dist/types/accounting/index.js +19 -0
  13. package/dist/types/accounting/index.js.map +1 -0
  14. package/dist/types/accounting/types/enums/accounting.enums.d.ts +14 -0
  15. package/dist/types/accounting/types/enums/accounting.enums.js +20 -0
  16. package/dist/types/accounting/types/enums/accounting.enums.js.map +1 -0
  17. package/dist/types/accounting/types/enums/index.d.ts +1 -0
  18. package/dist/types/{membership/interfaces → accounting/types/enums}/index.js +1 -1
  19. package/dist/types/accounting/types/enums/index.js.map +1 -0
  20. package/dist/types/accounting/types/index.js.map +1 -0
  21. package/dist/types/address/dto/address.dto.d.ts +9 -0
  22. package/dist/types/address/dto/address.dto.js +7 -0
  23. package/dist/types/address/dto/address.dto.js.map +1 -0
  24. package/dist/types/address/dto/index.d.ts +1 -0
  25. package/dist/types/address/dto/index.js +18 -0
  26. package/dist/types/address/dto/index.js.map +1 -0
  27. package/dist/types/{entity → address/entities}/Address.d.ts +1 -1
  28. package/dist/types/{entity → address/entities}/Address.js +1 -1
  29. package/dist/types/address/entities/Address.js.map +1 -0
  30. package/dist/types/address/entities/index.d.ts +1 -0
  31. package/dist/types/address/entities/index.js +18 -0
  32. package/dist/types/address/entities/index.js.map +1 -0
  33. package/dist/types/address/index.d.ts +2 -0
  34. package/dist/types/address/index.js +2 -0
  35. package/dist/types/address/index.js.map +1 -1
  36. package/dist/types/cart/dto/cart.dto.d.ts +65 -2
  37. package/dist/types/cart/dto/cart.dto.js +28 -1
  38. package/dist/types/cart/dto/cart.dto.js.map +1 -1
  39. package/dist/types/cart/entities/cart-item.entity.d.ts +8 -0
  40. package/dist/types/cart/entities/cart-item.entity.js.map +1 -1
  41. package/dist/types/cart/entities/cart.entity.d.ts +1 -1
  42. package/dist/types/cart/entities/cart.entity.js.map +1 -1
  43. package/dist/types/cart/types/classes/cart.classes.d.ts +9 -0
  44. package/dist/types/cart/types/classes/cart.classes.js +7 -0
  45. package/dist/types/cart/types/classes/cart.classes.js.map +1 -0
  46. package/dist/types/cart/types/classes/index.d.ts +1 -0
  47. package/dist/types/cart/types/classes/index.js +18 -0
  48. package/dist/types/cart/types/classes/index.js.map +1 -0
  49. package/dist/types/cart/types/index.d.ts +1 -0
  50. package/dist/types/cart/types/index.js +1 -0
  51. package/dist/types/cart/types/index.js.map +1 -1
  52. package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +63 -1
  53. package/dist/types/customers/dto/customer-response.dto.d.ts +5 -0
  54. package/dist/types/customers/dto/customer-response.dto.js +4 -1
  55. package/dist/types/customers/dto/customer-response.dto.js.map +1 -1
  56. package/dist/types/customers/dto/full-customer.dto.d.ts +1 -1
  57. package/dist/types/customers/dto/full-customer.dto.js.map +1 -1
  58. package/dist/types/customers/types/consts/customers.consts.d.ts +1 -0
  59. package/dist/types/customers/types/consts/customers.consts.js +5 -2
  60. package/dist/types/customers/types/consts/customers.consts.js.map +1 -1
  61. package/dist/types/customers/types/interfaces.d.ts +10 -1
  62. package/dist/types/dto/activityTimes.dto.d.ts +10 -0
  63. package/dist/types/dto/activityTimes.dto.js +4 -1
  64. package/dist/types/dto/activityTimes.dto.js.map +1 -1
  65. package/dist/types/dto/events.dto.d.ts +4 -2
  66. package/dist/types/dto/events.dto.js.map +1 -1
  67. package/dist/types/dto/facilities.dto.d.ts +2 -9
  68. package/dist/types/dto/facilities.dto.js +1 -4
  69. package/dist/types/dto/facilities.dto.js.map +1 -1
  70. package/dist/types/dto/general.dto.d.ts +11 -5
  71. package/dist/types/dto/general.dto.js +4 -2
  72. package/dist/types/dto/general.dto.js.map +1 -1
  73. package/dist/types/dto/groupsDivisions.dto.d.ts +15 -2
  74. package/dist/types/dto/groupsDivisions.dto.js +6 -3
  75. package/dist/types/dto/groupsDivisions.dto.js.map +1 -1
  76. package/dist/types/dto/membership.dto.d.ts +17 -1
  77. package/dist/types/dto/membership.dto.js.map +1 -1
  78. package/dist/types/dto/product-user.d.ts +10 -0
  79. package/dist/types/dto/product-user.js +7 -1
  80. package/dist/types/dto/product-user.js.map +1 -1
  81. package/dist/types/dto/product-variants.dto.d.ts +2 -14
  82. package/dist/types/dto/product-variants.dto.js +2 -5
  83. package/dist/types/dto/product-variants.dto.js.map +1 -1
  84. package/dist/types/dto/userPaymentMethod.dto.d.ts +4 -0
  85. package/dist/types/dto/userPaymentMethod.dto.js +4 -1
  86. package/dist/types/dto/userPaymentMethod.dto.js.map +1 -1
  87. package/dist/types/employees/dto/employee.dto.d.ts +20 -5
  88. package/dist/types/employees/dto/employee.dto.js +8 -1
  89. package/dist/types/employees/dto/employee.dto.js.map +1 -1
  90. package/dist/types/employees/types/consts/index.d.ts +3 -0
  91. package/dist/types/employees/types/consts/index.js +25 -0
  92. package/dist/types/employees/types/consts/index.js.map +1 -0
  93. package/dist/types/employees/types/index.d.ts +1 -0
  94. package/dist/types/employees/types/index.js +1 -0
  95. package/dist/types/employees/types/index.js.map +1 -1
  96. package/dist/types/entity/ActivityTimes.d.ts +4 -3
  97. package/dist/types/entity/ActivityTimes.js.map +1 -1
  98. package/dist/types/entity/Customer.d.ts +3 -1
  99. package/dist/types/entity/Customer.js.map +1 -1
  100. package/dist/types/entity/EventAttendees.d.ts +6 -6
  101. package/dist/types/entity/EventAttendees.js.map +1 -1
  102. package/dist/types/entity/EventHistory.d.ts +1 -1
  103. package/dist/types/entity/EventHistory.js.map +1 -1
  104. package/dist/types/entity/Events.js.map +1 -1
  105. package/dist/types/entity/Facility.d.ts +1 -1
  106. package/dist/types/entity/LineItems.d.ts +3 -0
  107. package/dist/types/entity/LineItems.js.map +1 -1
  108. package/dist/types/entity/MembershipMember.d.ts +11 -0
  109. package/dist/types/entity/MembershipMember.js.map +1 -1
  110. package/dist/types/entity/PackageV1.d.ts +2 -0
  111. package/dist/types/entity/PackageV1.js.map +1 -1
  112. package/dist/types/entity/index.d.ts +0 -2
  113. package/dist/types/entity/index.js +0 -2
  114. package/dist/types/entity/index.js.map +1 -1
  115. package/dist/types/facilities/index.d.ts +1 -0
  116. package/dist/types/facilities/index.js +18 -0
  117. package/dist/types/facilities/index.js.map +1 -0
  118. package/dist/types/facilities/types/facilities.types.d.ts +4 -0
  119. package/dist/types/facilities/types/facilities.types.js +3 -0
  120. package/dist/types/facilities/types/facilities.types.js.map +1 -0
  121. package/dist/types/facilities/types/index.d.ts +1 -0
  122. package/dist/types/facilities/types/index.js +18 -0
  123. package/dist/types/facilities/types/index.js.map +1 -0
  124. package/dist/types/folders/dto/folder.dto.d.ts +58 -0
  125. package/dist/types/folders/dto/folder.dto.js +34 -0
  126. package/dist/types/folders/dto/folder.dto.js.map +1 -0
  127. package/dist/types/folders/dto/index.d.ts +1 -0
  128. package/dist/types/folders/dto/index.js +18 -0
  129. package/dist/types/folders/dto/index.js.map +1 -0
  130. package/dist/types/folders/entities/folder-content.entity.d.ts +12 -0
  131. package/dist/types/folders/entities/folder-content.entity.js +14 -0
  132. package/dist/types/folders/entities/folder-content.entity.js.map +1 -0
  133. package/dist/types/folders/entities/folder-invite.entity.d.ts +8 -0
  134. package/dist/types/folders/entities/folder-invite.entity.js +8 -0
  135. package/dist/types/folders/entities/folder-invite.entity.js.map +1 -0
  136. package/dist/types/folders/entities/folder.entity.d.ts +21 -0
  137. package/dist/types/folders/entities/folder.entity.js +12 -0
  138. package/dist/types/folders/entities/folder.entity.js.map +1 -0
  139. package/dist/types/folders/entities/index.d.ts +3 -0
  140. package/dist/types/folders/entities/index.js +20 -0
  141. package/dist/types/folders/entities/index.js.map +1 -0
  142. package/dist/types/folders/index.d.ts +2 -0
  143. package/dist/types/folders/index.js +19 -0
  144. package/dist/types/folders/index.js.map +1 -0
  145. package/dist/types/import/dto/reservation.dto.js.map +1 -1
  146. package/dist/types/index.d.ts +5 -0
  147. package/dist/types/index.js +5 -0
  148. package/dist/types/index.js.map +1 -1
  149. package/dist/types/invoice/dto/invoice.dto.d.ts +19 -0
  150. package/dist/types/invoice/dto/invoice.dto.js +5 -1
  151. package/dist/types/invoice/dto/invoice.dto.js.map +1 -1
  152. package/dist/types/invoice/types/consts/invoice.consts.d.ts +10 -0
  153. package/dist/types/invoice/types/consts/invoice.consts.js +10 -1
  154. package/dist/types/invoice/types/consts/invoice.consts.js.map +1 -1
  155. package/dist/types/invoice/types/interfaces/index.d.ts +1 -0
  156. package/dist/types/invoice/types/interfaces/index.js +1 -0
  157. package/dist/types/invoice/types/interfaces/index.js.map +1 -1
  158. package/dist/types/invoice/types/interfaces/invoice.interfaces.d.ts +5 -1
  159. package/dist/types/invoice/types/interfaces/invoice.interfaces.js.map +1 -1
  160. package/dist/types/invoice/types/interfaces/line-item.interfaces.d.ts +7 -0
  161. package/dist/types/invoice/types/interfaces/line-item.interfaces.js +3 -0
  162. package/dist/types/invoice/types/interfaces/line-item.interfaces.js.map +1 -0
  163. package/dist/types/membership/dto/expendedMembership.dto.d.ts +15 -0
  164. package/dist/types/membership/dto/expendedMembership.dto.js +7 -0
  165. package/dist/types/membership/dto/expendedMembership.dto.js.map +1 -0
  166. package/dist/types/membership/dto/index.d.ts +2 -0
  167. package/dist/types/membership/dto/index.js +19 -0
  168. package/dist/types/membership/dto/index.js.map +1 -0
  169. package/dist/types/membership/dto/membershipMember.dto.d.ts +103 -0
  170. package/dist/types/membership/dto/membershipMember.dto.js +45 -0
  171. package/dist/types/membership/dto/membershipMember.dto.js.map +1 -0
  172. package/dist/types/membership/entities/MembershipMemberRenewal.d.ts +9 -0
  173. package/dist/types/membership/entities/MembershipMemberRenewal.js.map +1 -1
  174. package/dist/types/membership/index.d.ts +2 -1
  175. package/dist/types/membership/index.js +2 -1
  176. package/dist/types/membership/index.js.map +1 -1
  177. package/dist/types/membership/types/index.d.ts +5 -0
  178. package/dist/types/membership/types/index.js +22 -0
  179. package/dist/types/membership/types/index.js.map +1 -0
  180. package/dist/types/membership/{interfaces → types}/membership.interfaces.d.ts +19 -0
  181. package/dist/types/membership/types/membership.interfaces.js.map +1 -0
  182. package/dist/types/membership/types/membership.member.classes.d.ts +14 -0
  183. package/dist/types/membership/types/membership.member.classes.js +7 -0
  184. package/dist/types/membership/types/membership.member.classes.js.map +1 -0
  185. package/dist/types/membership/types/membership.member.consts.d.ts +3 -0
  186. package/dist/types/membership/types/membership.member.consts.js +8 -0
  187. package/dist/types/membership/types/membership.member.consts.js.map +1 -0
  188. package/dist/types/membership/types/membership.members.interfaces.d.ts +86 -0
  189. package/dist/types/membership/types/membership.members.interfaces.js +3 -0
  190. package/dist/types/membership/types/membership.members.interfaces.js.map +1 -0
  191. package/dist/types/membership/types/membership.members.types.d.ts +4 -0
  192. package/dist/types/membership/types/membership.members.types.js +3 -0
  193. package/dist/types/membership/types/membership.members.types.js.map +1 -0
  194. package/dist/types/notifications/dto/index.d.ts +1 -0
  195. package/dist/types/notifications/dto/index.js +1 -0
  196. package/dist/types/notifications/dto/index.js.map +1 -1
  197. package/dist/types/notifications/dto/notification.create.dto.d.ts +6 -6
  198. package/dist/types/notifications/dto/notification.create.dto.js +6 -6
  199. package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
  200. package/dist/types/notifications/dto/notification.response.dto.d.ts +3 -3
  201. package/dist/types/notifications/dto/notification.response.dto.js.map +1 -1
  202. package/dist/types/notifications/dto/types/enums/index.js.map +1 -0
  203. package/dist/types/notifications/dto/types/enums/notification.enums.d.ts +2 -0
  204. package/dist/types/notifications/dto/types/enums/notification.enums.js +8 -0
  205. package/dist/types/notifications/dto/types/enums/notification.enums.js.map +1 -0
  206. package/dist/types/notifications/dto/types/index.d.ts +1 -0
  207. package/dist/types/notifications/dto/types/index.js +18 -0
  208. package/dist/types/notifications/dto/types/index.js.map +1 -0
  209. package/dist/types/notifications/index.d.ts +0 -1
  210. package/dist/types/notifications/index.js +0 -1
  211. package/dist/types/notifications/index.js.map +1 -1
  212. package/dist/types/online-rentals/index.d.ts +1 -0
  213. package/dist/types/online-rentals/index.js +18 -0
  214. package/dist/types/online-rentals/index.js.map +1 -0
  215. package/dist/types/online-rentals/types/index.d.ts +2 -0
  216. package/dist/types/online-rentals/types/index.js +19 -0
  217. package/dist/types/online-rentals/types/index.js.map +1 -0
  218. package/dist/types/online-rentals/types/online-rentals.classes.d.ts +21 -0
  219. package/dist/types/online-rentals/types/online-rentals.classes.js +10 -0
  220. package/dist/types/online-rentals/types/online-rentals.classes.js.map +1 -0
  221. package/dist/types/online-rentals/types/online-rentals.dto.d.ts +61 -0
  222. package/dist/types/online-rentals/types/online-rentals.dto.js +36 -0
  223. package/dist/types/online-rentals/types/online-rentals.dto.js.map +1 -0
  224. package/dist/types/organization/entities/Organization.d.ts +1 -1
  225. package/dist/types/organization/interfaces/index.d.ts +1 -0
  226. package/dist/types/organization/interfaces/index.js +1 -0
  227. package/dist/types/organization/interfaces/index.js.map +1 -1
  228. package/dist/types/organization/interfaces/reason.interfaces.d.ts +6 -0
  229. package/dist/types/organization/interfaces/reason.interfaces.js +3 -0
  230. package/dist/types/organization/interfaces/reason.interfaces.js.map +1 -0
  231. package/dist/types/payment/dto/payment-method.dto.d.ts +12 -3
  232. package/dist/types/payment/dto/payment-method.dto.js +4 -1
  233. package/dist/types/payment/dto/payment-method.dto.js.map +1 -1
  234. package/dist/types/payment/dto/payment-plan.dto.d.ts +6 -4
  235. package/dist/types/payment/dto/payment-plan.dto.js.map +1 -1
  236. package/dist/types/payment/entities/PaymentFailures.d.ts +1 -0
  237. package/dist/types/payment/entities/PaymentFailures.js.map +1 -1
  238. package/dist/types/payment/entities/ProductPaymentPlan.d.ts +3 -2
  239. package/dist/types/payment/entities/ProductPaymentPlan.js.map +1 -1
  240. package/dist/types/payment/types/consts/payment.consts.d.ts +1 -0
  241. package/dist/types/payment/types/consts/payment.consts.js +5 -1
  242. package/dist/types/payment/types/consts/payment.consts.js.map +1 -1
  243. package/dist/types/payment/types/enums/payment-plan.enums.d.ts +0 -7
  244. package/dist/types/payment/types/enums/payment-plan.enums.js +1 -9
  245. package/dist/types/payment/types/enums/payment-plan.enums.js.map +1 -1
  246. package/dist/types/payment/types/enums/payment.enums.d.ts +4 -2
  247. package/dist/types/payment/types/enums/payment.enums.js +2 -0
  248. package/dist/types/payment/types/enums/payment.enums.js.map +1 -1
  249. package/dist/types/payment/types/interfaces/discount.interfaces.d.ts +1 -1
  250. package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +16 -0
  251. package/dist/types/pricing/dto/price.dto.d.ts +3 -1
  252. package/dist/types/pricing/dto/price.dto.js.map +1 -1
  253. package/dist/types/pricing/dto/pricing.dto.d.ts +2 -2
  254. package/dist/types/pricing/entities/Price.d.ts +3 -2
  255. package/dist/types/pricing/entities/Price.js.map +1 -1
  256. package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +1 -0
  257. package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
  258. package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +1 -0
  259. package/dist/types/programs/dto/program.dto.d.ts +5 -2
  260. package/dist/types/programs/dto/program.dto.js +4 -1
  261. package/dist/types/programs/dto/program.dto.js.map +1 -1
  262. package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +23 -0
  263. package/dist/types/programs-seasons/dto/program-seasons.dto.js +10 -1
  264. package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
  265. package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +3 -1
  266. package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
  267. package/dist/types/programs-seasons/types/enums/index.d.ts +1 -0
  268. package/dist/types/programs-seasons/types/enums/index.js +18 -0
  269. package/dist/types/programs-seasons/types/enums/index.js.map +1 -0
  270. package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +8 -0
  271. package/dist/types/programs-seasons/types/enums/program-season.enums.js +14 -0
  272. package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +1 -0
  273. package/dist/types/programs-seasons/types/index.d.ts +1 -0
  274. package/dist/types/programs-seasons/types/index.js +1 -0
  275. package/dist/types/programs-seasons/types/index.js.map +1 -1
  276. package/dist/types/programs-seasons/types/interfaces/program-season.interfaces.d.ts +18 -1
  277. package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +11 -0
  278. package/dist/types/punch-pass/dto/punch-pass.dto.js +5 -1
  279. package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
  280. package/dist/types/purchase/dto/purchase.dto.d.ts +4 -0
  281. package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
  282. package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +5 -3
  283. package/dist/types/reservations/dto/addon.dto.d.ts +17 -5
  284. package/dist/types/reservations/dto/addon.dto.js +4 -1
  285. package/dist/types/reservations/dto/addon.dto.js.map +1 -1
  286. package/dist/types/reservations/dto/maintenance.dto.d.ts +2 -1
  287. package/dist/types/reservations/dto/maintenance.dto.js.map +1 -1
  288. package/dist/types/reservations/dto/reservation.dto.d.ts +163 -24
  289. package/dist/types/reservations/dto/reservation.dto.js +83 -7
  290. package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
  291. package/dist/types/reservations/dto/segment.dto.d.ts +5 -4
  292. package/dist/types/reservations/dto/segment.dto.js.map +1 -1
  293. package/dist/types/reservations/dto/series.dto.d.ts +7 -4
  294. package/dist/types/reservations/dto/series.dto.js.map +1 -1
  295. package/dist/types/reservations/dto/slot.dto.d.ts +63 -18
  296. package/dist/types/reservations/dto/slot.dto.js +19 -4
  297. package/dist/types/reservations/dto/slot.dto.js.map +1 -1
  298. package/dist/types/reservations/dto/v1.reservation.dto.d.ts +1 -0
  299. package/dist/types/reservations/dto/v1.reservation.dto.js.map +1 -1
  300. package/dist/types/reservations/entities/SlotToResource.d.ts +4 -0
  301. package/dist/types/reservations/entities/SlotToResource.js.map +1 -1
  302. package/dist/types/reservations/entities/addon.entity.d.ts +1 -0
  303. package/dist/types/reservations/entities/addon.entity.js.map +1 -1
  304. package/dist/types/reservations/entities/reservation.entity.d.ts +6 -7
  305. package/dist/types/reservations/entities/reservation.entity.js.map +1 -1
  306. package/dist/types/reservations/entities/slot.entity.d.ts +10 -3
  307. package/dist/types/reservations/entities/slot.entity.js.map +1 -1
  308. package/dist/types/reservations/types/classes/addon.classes.d.ts +21 -0
  309. package/dist/types/reservations/types/classes/addon.classes.js +7 -0
  310. package/dist/types/reservations/types/classes/addon.classes.js.map +1 -0
  311. package/dist/types/reservations/types/classes/index.d.ts +7 -0
  312. package/dist/types/reservations/types/classes/index.js +24 -0
  313. package/dist/types/reservations/types/classes/index.js.map +1 -0
  314. package/dist/types/reservations/types/classes/maintenance.classes.d.ts +8 -0
  315. package/dist/types/reservations/types/classes/maintenance.classes.js +7 -0
  316. package/dist/types/reservations/types/classes/maintenance.classes.js.map +1 -0
  317. package/dist/types/reservations/types/classes/product.classes.d.ts +16 -0
  318. package/dist/types/reservations/types/classes/product.classes.js +10 -0
  319. package/dist/types/reservations/types/classes/product.classes.js.map +1 -0
  320. package/dist/types/reservations/types/classes/reservation.classes.d.ts +58 -0
  321. package/dist/types/reservations/types/classes/reservation.classes.js +10 -0
  322. package/dist/types/reservations/types/classes/reservation.classes.js.map +1 -0
  323. package/dist/types/reservations/types/classes/segment.classes.d.ts +32 -0
  324. package/dist/types/reservations/types/classes/segment.classes.js +10 -0
  325. package/dist/types/reservations/types/classes/segment.classes.js.map +1 -0
  326. package/dist/types/reservations/types/classes/series.classes.d.ts +27 -0
  327. package/dist/types/reservations/types/classes/series.classes.js +7 -0
  328. package/dist/types/reservations/types/classes/series.classes.js.map +1 -0
  329. package/dist/types/reservations/types/classes/slot.classes.d.ts +69 -0
  330. package/dist/types/reservations/types/classes/slot.classes.js +11 -0
  331. package/dist/types/reservations/types/classes/slot.classes.js.map +1 -0
  332. package/dist/types/reservations/types/consts/index.d.ts +1 -0
  333. package/dist/types/reservations/types/consts/index.js +1 -0
  334. package/dist/types/reservations/types/consts/index.js.map +1 -1
  335. package/dist/types/reservations/types/consts/reservation.consts.d.ts +11 -1
  336. package/dist/types/reservations/types/consts/reservation.consts.js +11 -1
  337. package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
  338. package/dist/types/reservations/types/consts/slot.consts.d.ts +1 -0
  339. package/dist/types/reservations/types/consts/slot.consts.js +5 -0
  340. package/dist/types/reservations/types/consts/slot.consts.js.map +1 -0
  341. package/dist/types/reservations/types/enums/reservation.enums.d.ts +2 -1
  342. package/dist/types/reservations/types/enums/reservation.enums.js +1 -0
  343. package/dist/types/reservations/types/enums/reservation.enums.js.map +1 -1
  344. package/dist/types/reservations/types/index.d.ts +1 -0
  345. package/dist/types/reservations/types/index.js +1 -0
  346. package/dist/types/reservations/types/index.js.map +1 -1
  347. package/dist/types/reservations/types/interfaces/addon.interfaces.d.ts +18 -2
  348. package/dist/types/reservations/types/interfaces/index.d.ts +2 -0
  349. package/dist/types/reservations/types/interfaces/index.js +2 -0
  350. package/dist/types/reservations/types/interfaces/index.js.map +1 -1
  351. package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +140 -18
  352. package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
  353. package/dist/types/reservations/types/interfaces/segment.interfaces.d.ts +29 -0
  354. package/dist/types/reservations/types/interfaces/segment.interfaces.js +3 -0
  355. package/dist/types/reservations/types/interfaces/segment.interfaces.js.map +1 -0
  356. package/dist/types/reservations/types/interfaces/series.interfaces.d.ts +32 -0
  357. package/dist/types/reservations/types/interfaces/series.interfaces.js +3 -0
  358. package/dist/types/reservations/types/interfaces/series.interfaces.js.map +1 -0
  359. package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +58 -25
  360. package/dist/types/reservations/types/interfaces/slot.interfaces.js +4 -0
  361. package/dist/types/reservations/types/interfaces/slot.interfaces.js.map +1 -1
  362. package/dist/types/reservations/types/reservation.types.d.ts +23 -11
  363. package/dist/types/resources/dto/instructor.dto.d.ts +1 -1
  364. package/dist/types/resources/dto/instructor.dto.js.map +1 -1
  365. package/dist/types/resources/entities/Instructor.d.ts +2 -2
  366. package/dist/types/resources/entities/Instructor.js.map +1 -1
  367. package/dist/types/resources/entities/Space.d.ts +1 -1
  368. package/dist/types/resources/entities/Space.js.map +1 -1
  369. package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +5 -0
  370. package/dist/types/roles/dto/permission-group.dto.d.ts +4 -0
  371. package/dist/types/roles/dto/permission-group.dto.js +8 -1
  372. package/dist/types/roles/dto/permission-group.dto.js.map +1 -1
  373. package/dist/types/roles/dto/role.dto.d.ts +27 -12
  374. package/dist/types/roles/dto/role.dto.js +23 -5
  375. package/dist/types/roles/dto/role.dto.js.map +1 -1
  376. package/dist/types/roles/entities/Role.d.ts +3 -2
  377. package/dist/types/roles/entities/Role.js.map +1 -1
  378. package/dist/types/roles/entities/index.d.ts +6 -0
  379. package/dist/types/roles/entities/index.js +10 -0
  380. package/dist/types/roles/entities/index.js.map +1 -1
  381. package/dist/types/roles/types/index.d.ts +1 -0
  382. package/dist/types/roles/types/index.js +1 -0
  383. package/dist/types/roles/types/index.js.map +1 -1
  384. package/dist/types/roles/types/role.consts.d.ts +1 -0
  385. package/dist/types/roles/types/role.consts.js +6 -0
  386. package/dist/types/roles/types/role.consts.js.map +1 -0
  387. package/dist/types/roles/types/role.enums.d.ts +13 -2
  388. package/dist/types/roles/types/role.enums.js +13 -1
  389. package/dist/types/roles/types/role.enums.js.map +1 -1
  390. package/dist/types/services/enums.service.d.ts +27 -2
  391. package/dist/types/services/enums.service.js +32 -3
  392. package/dist/types/services/enums.service.js.map +1 -1
  393. package/dist/types/services/interfaces.service.d.ts +15 -3
  394. package/dist/types/services/interfaces.service.js.map +1 -1
  395. package/dist/types/session-participants/dto/get.session.participant.dto.d.ts +22 -0
  396. package/dist/types/session-participants/dto/get.session.participant.dto.js +18 -0
  397. package/dist/types/session-participants/dto/get.session.participant.dto.js.map +1 -0
  398. package/dist/types/session-participants/dto/index.d.ts +2 -0
  399. package/dist/types/session-participants/dto/index.js +19 -0
  400. package/dist/types/session-participants/dto/index.js.map +1 -0
  401. package/dist/types/session-participants/dto/session.participant.dto.d.ts +45 -0
  402. package/dist/types/session-participants/dto/session.participant.dto.js +10 -0
  403. package/dist/types/session-participants/dto/session.participant.dto.js.map +1 -0
  404. package/dist/types/session-participants/index.d.ts +2 -0
  405. package/dist/types/session-participants/index.js +19 -0
  406. package/dist/types/session-participants/index.js.map +1 -0
  407. package/dist/types/session-participants/types/consts.d.ts +3 -0
  408. package/dist/types/session-participants/types/consts.js +7 -0
  409. package/dist/types/session-participants/types/consts.js.map +1 -0
  410. package/dist/types/session-participants/types/enums.d.ts +17 -0
  411. package/dist/types/session-participants/types/enums.js +24 -0
  412. package/dist/types/session-participants/types/enums.js.map +1 -0
  413. package/dist/types/session-participants/types/index.d.ts +3 -0
  414. package/dist/types/session-participants/types/index.js +20 -0
  415. package/dist/types/session-participants/types/index.js.map +1 -0
  416. package/dist/types/session-participants/types/interfaces.d.ts +46 -0
  417. package/dist/types/session-participants/types/interfaces.js +3 -0
  418. package/dist/types/session-participants/types/interfaces.js.map +1 -0
  419. package/dist/types/shifts/entities/shift.entity.d.ts +1 -1
  420. package/dist/types/user/dto/user-settings.dto.d.ts +1 -1
  421. package/dist/types/user/dto/user.dto.d.ts +1 -1
  422. package/dist/types/user/dto/user.dto.js.map +1 -1
  423. package/dist/types/user/entities/User.d.ts +3 -1
  424. package/dist/types/user/entities/User.js.map +1 -1
  425. package/dist/types/user/types/user.interfaces.d.ts +15 -0
  426. package/dist/types/user-identification/dto/user-identifier.dto.d.ts +3 -0
  427. package/dist/types/user-identification/dto/user-identifier.dto.js +7 -1
  428. package/dist/types/user-identification/dto/user-identifier.dto.js.map +1 -1
  429. package/dist/types/user-identification/entities/UserIdentifier.d.ts +2 -0
  430. package/dist/types/user-identification/entities/UserIdentifier.js.map +1 -1
  431. package/dist/types/util/models/interfaces/general.interfaces.d.ts +2 -1
  432. package/dist/types/webflow/dto/index.d.ts +1 -0
  433. package/dist/types/webflow/dto/index.js +18 -0
  434. package/dist/types/webflow/dto/index.js.map +1 -0
  435. package/dist/types/webflow/dto/webflowProgram.dto.d.ts +14 -0
  436. package/dist/types/webflow/dto/webflowProgram.dto.js +7 -0
  437. package/dist/types/webflow/dto/webflowProgram.dto.js.map +1 -0
  438. package/dist/types/{entity → webflow/entities}/WebflowOrganizationConfiguration.d.ts +1 -1
  439. package/dist/types/{entity → webflow/entities}/WebflowOrganizationConfiguration.js +1 -1
  440. package/dist/types/webflow/entities/WebflowOrganizationConfiguration.js.map +1 -0
  441. package/dist/types/webflow/entities/index.d.ts +1 -0
  442. package/dist/types/webflow/entities/index.js +18 -0
  443. package/dist/types/webflow/entities/index.js.map +1 -0
  444. package/dist/types/webflow/index.d.ts +2 -0
  445. package/dist/types/webflow/index.js +2 -0
  446. package/dist/types/webflow/index.js.map +1 -1
  447. package/package.json +1 -1
  448. package/dist/types/entity/Address.js.map +0 -1
  449. package/dist/types/entity/WebflowOrganizationConfiguration.js.map +0 -1
  450. package/dist/types/membership/interfaces/index.d.ts +0 -1
  451. package/dist/types/membership/interfaces/index.js.map +0 -1
  452. package/dist/types/membership/interfaces/membership.interfaces.js.map +0 -1
  453. package/dist/types/notifications/types/enums/index.js.map +0 -1
  454. package/dist/types/notifications/types/enums/notification.enums.d.ts +0 -30
  455. package/dist/types/notifications/types/enums/notification.enums.js +0 -41
  456. package/dist/types/notifications/types/enums/notification.enums.js.map +0 -1
  457. package/dist/types/notifications/types/index.js.map +0 -1
  458. /package/dist/types/{notifications → accounting}/types/index.d.ts +0 -0
  459. /package/dist/types/{notifications → accounting}/types/index.js +0 -0
  460. /package/dist/types/membership/{interfaces → types}/membership.interfaces.js +0 -0
  461. /package/dist/types/notifications/{types → dto/types}/enums/index.d.ts +0 -0
  462. /package/dist/types/notifications/{types → dto/types}/enums/index.js +0 -0
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EventSortByFieldsEnum = exports.SegmentSortByFieldsEnum = void 0;
4
+ var SegmentSortByFieldsEnum;
5
+ (function (SegmentSortByFieldsEnum) {
6
+ SegmentSortByFieldsEnum["NAME"] = "name";
7
+ SegmentSortByFieldsEnum["DATE"] = "startDate";
8
+ })(SegmentSortByFieldsEnum = exports.SegmentSortByFieldsEnum || (exports.SegmentSortByFieldsEnum = {}));
9
+ var EventSortByFieldsEnum;
10
+ (function (EventSortByFieldsEnum) {
11
+ EventSortByFieldsEnum["DATE"] = "startDate";
12
+ EventSortByFieldsEnum["TIME"] = "startTime";
13
+ })(EventSortByFieldsEnum = exports.EventSortByFieldsEnum || (exports.EventSortByFieldsEnum = {}));
14
+ //# sourceMappingURL=program-season.enums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"program-season.enums.js","sourceRoot":"","sources":["../../../../../src/types/programs-seasons/types/enums/program-season.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IAClC,wCAAa,CAAA;IACb,6CAAkB,CAAA;AACnB,CAAC,EAHW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAGlC;AAED,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAChC,2CAAkB,CAAA;IAClB,2CAAkB,CAAA;AACnB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC"}
@@ -1 +1,2 @@
1
+ export * from './enums';
1
2
  export * from './interfaces';
@@ -14,5 +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("./enums"), exports);
17
18
  __exportStar(require("./interfaces"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,+CAA6B"}
@@ -1,6 +1,8 @@
1
1
  import { Event } from '../../../entity/Events';
2
2
  import { SeasonAttendee } from '../../../entity/SeasonAttendees';
3
- import { PlatformsEnum } from '../../../services/enums.service';
3
+ import { OrderByEnum, PlatformsEnum } from '../../../services/enums.service';
4
+ import { IPagination } from '../../../util/models/interfaces/general.interfaces';
5
+ import { BondBaseEntity } from '../../../entity/BondBaseEntity';
4
6
  export interface IGetProgramSeasonsByIdProps {
5
7
  seasonsIds: number[];
6
8
  fullFetch?: boolean;
@@ -18,6 +20,10 @@ export type EventsFilter = {
18
20
  segmentsIds?: number[];
19
21
  unselectedIds?: number[];
20
22
  sessionId?: number;
23
+ resourcesIds?: number[];
24
+ attendeeId?: number;
25
+ sortBy?: keyof Event;
26
+ order?: OrderByEnum;
21
27
  };
22
28
  export type ProgramSeasonsSegmentsFilter = {
23
29
  futureResources?: boolean;
@@ -33,3 +39,14 @@ export type NotifyEventsAttendees = {
33
39
  oldStartDate: string;
34
40
  oldEndDate: string;
35
41
  };
42
+ export interface IGetProgramSeasonChildrenFilters<T extends BondBaseEntity> {
43
+ resourcesIds?: number[];
44
+ attendeeId?: number;
45
+ startDate?: string;
46
+ endDate?: string;
47
+ sortBy?: keyof T;
48
+ order?: OrderByEnum;
49
+ }
50
+ export interface IGetProgramSeasonsChildrenOptions extends IPagination {
51
+ includeResources?: boolean;
52
+ }
@@ -10,6 +10,7 @@ import { OrderByEnum } from '../../services/enums.service';
10
10
  import { SimpleResourceDto } from '../../resources/dto/resource.dto';
11
11
  import { ByOrganizationAndUserDto, SimpleUserDto } from '../../user/dto/user.dto';
12
12
  import { PunchPassFilterByEnum, PunchPassOrderByEnum, PunchPassSearchByEnum } from '../types/enums';
13
+ import { SimpleProductUserDto } from '../../dto/product-user';
13
14
  export declare class PunchPassFinancialInfoDto {
14
15
  price: number;
15
16
  invoiceId: number;
@@ -32,6 +33,7 @@ export declare class PunchPassInfoDto {
32
33
  facility: SimpleFacilityDto;
33
34
  financialInfo: PunchPassFinancialInfoDto;
34
35
  payment?: PaymentIdDto;
36
+ productUser?: SimpleProductUserDto;
35
37
  }
36
38
  export declare class PunchPassEventDto extends SimpleEventDto {
37
39
  attendeeId: number;
@@ -59,3 +61,12 @@ export declare class GetPassEventsDto {
59
61
  export declare class ByPassIdOrganizationIdUserIdDto extends ByOrganizationAndUserDto {
60
62
  passId: number;
61
63
  }
64
+ export declare class PunchPassUserProductInfoDto extends SimpleProductUserDto {
65
+ id: number;
66
+ organizationId: number;
67
+ productName: string;
68
+ productQuantityLeft: number;
69
+ productQuantity: number;
70
+ user: SimpleUserDto;
71
+ product: SimpleProductDto;
72
+ }
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ByPassIdOrganizationIdUserIdDto = exports.GetPassEventsDto = exports.GetPassesOptionsDto = exports.PunchPassEventDto = exports.PunchPassInfoDto = exports.PunchPassFinancialInfoDto = void 0;
3
+ exports.PunchPassUserProductInfoDto = exports.ByPassIdOrganizationIdUserIdDto = exports.GetPassEventsDto = exports.GetPassesOptionsDto = exports.PunchPassEventDto = exports.PunchPassInfoDto = exports.PunchPassFinancialInfoDto = void 0;
4
4
  const events_dto_1 = require("../../dto/events.dto");
5
5
  const general_dto_1 = require("../../dto/general.dto");
6
6
  const user_dto_1 = require("../../user/dto/user.dto");
7
+ const product_user_1 = require("../../dto/product-user");
7
8
  class PunchPassFinancialInfoDto {
8
9
  }
9
10
  exports.PunchPassFinancialInfoDto = PunchPassFinancialInfoDto;
@@ -22,4 +23,7 @@ exports.GetPassEventsDto = GetPassEventsDto;
22
23
  class ByPassIdOrganizationIdUserIdDto extends user_dto_1.ByOrganizationAndUserDto {
23
24
  }
24
25
  exports.ByPassIdOrganizationIdUserIdDto = ByPassIdOrganizationIdUserIdDto;
26
+ class PunchPassUserProductInfoDto extends product_user_1.SimpleProductUserDto {
27
+ }
28
+ exports.PunchPassUserProductInfoDto = PunchPassUserProductInfoDto;
25
29
  //# sourceMappingURL=punch-pass.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"punch-pass.dto.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/dto/punch-pass.dto.ts"],"names":[],"mappings":";;;AAAA,qDAAsD;AAEtD,uDAAwD;AAQxD,sDAAkF;AAGlF,MAAa,yBAAyB;CAcrC;AAdD,8DAcC;AAED,MAAa,gBAAgB;CAwB5B;AAxBD,4CAwBC;AAED,MAAa,iBAAkB,SAAQ,2BAAc;CAQpD;AARD,8CAQC;AAED,MAAa,mBAAoB,SAAQ,6BAAe;CAcvD;AAdD,kDAcC;AAED,MAAa,gBAAgB;CAY5B;AAZD,4CAYC;AAED,MAAa,+BAAgC,SAAQ,mCAAwB;CAE5E;AAFD,0EAEC"}
1
+ {"version":3,"file":"punch-pass.dto.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/dto/punch-pass.dto.ts"],"names":[],"mappings":";;;AAAA,qDAAsD;AAEtD,uDAAwD;AAQxD,sDAAkF;AAElF,yDAA8D;AAE9D,MAAa,yBAAyB;CAcrC;AAdD,8DAcC;AAED,MAAa,gBAAgB;CA0B5B;AA1BD,4CA0BC;AAED,MAAa,iBAAkB,SAAQ,2BAAc;CAQpD;AARD,8CAQC;AAED,MAAa,mBAAoB,SAAQ,6BAAe;CAcvD;AAdD,kDAcC;AAED,MAAa,gBAAgB;CAY5B;AAZD,4CAYC;AAED,MAAa,+BAAgC,SAAQ,mCAAwB;CAE5E;AAFD,0EAEC;AAED,MAAa,2BAA4B,SAAQ,mCAAoB;CAcpE;AAdD,kEAcC"}
@@ -1,3 +1,4 @@
1
+ import { UpdateCartPricesDto } from '../../cart/dto/cart.dto';
1
2
  import { UserAnswersDto } from '../../dto/application.dto';
2
3
  import { Customer } from '../../entity/Customer';
3
4
  import { Invoice } from '../../entity/Invoice';
@@ -129,6 +130,9 @@ export declare class PurchaseCartDto extends InvoiceCartDto implements IPurchase
129
130
  paymentInfo?: PurchasePaymentDto;
130
131
  amountToPay?: number;
131
132
  installments?: ScheduledPaymentDto[];
133
+ purchasingUserId?: number;
132
134
  parentPurchasedId?: number;
133
135
  parentPurchasedType?: ResourceNameTypeEnum;
136
+ updatePrices?: UpdateCartPricesDto;
137
+ addToReservationId?: number;
134
138
  }
@@ -1 +1 @@
1
- {"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAIA,+DAA+D;AAC/D,8EAA8E;AAa9E,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CAiC9B;AAjCD,gDAiCC;AAED,MAAa,mBAAmB;CAgB/B;AAhBD,kDAgBC;AAED,MAAa,kBAAkB;CA6B9B;AA7BD,gDA6BC;AAED,MAAa,kCAAkC;CAM9C;AAND,gFAMC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,aAAQ,GAAG,KAAK,CAAC;IAClB,CAAC;CAAA;AAND,kCAMC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,eAAgB,SAAQ,4BAAc;CAUlD;AAVD,0CAUC"}
1
+ {"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAKA,+DAA+D;AAC/D,8EAA8E;AAa9E,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CAiC9B;AAjCD,gDAiCC;AAED,MAAa,mBAAmB;CAgB/B;AAhBD,kDAgBC;AAED,MAAa,kBAAkB;CA6B9B;AA7BD,gDA6BC;AAED,MAAa,kCAAkC;CAM9C;AAND,gFAMC;AAED,MAAa,0BAA2B,SAAQ,sCAAmB;CAIlE;AAJD,gEAIC;AAED,MAAa,8BAA8B;CAU1C;AAVD,wEAUC;AAED,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AAED,MAAa,yBAAyB;CAQrC;AARD,8DAQC;AAED,MAAa,WAAW;IAAxB;QAGC,qBAAgB,GAAG,KAAK,CAAC;QAEzB,aAAQ,GAAG,KAAK,CAAC;IAClB,CAAC;CAAA;AAND,kCAMC;AAED,MAAa,uBAAuB;CAUnC;AAVD,0DAUC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,eAAgB,SAAQ,4BAAc;CAgBlD;AAhBD,0CAgBC"}
@@ -1,7 +1,8 @@
1
- import { IValidateCartOptions } from '../../../cart/types/interfaces/cart.interfaces';
1
+ import { IUpdateCartPrices, IValidateCartOptions } from '../../../cart/types/interfaces/cart.interfaces';
2
2
  import { Customer } from '../../../entity/Customer';
3
3
  import { Invoice } from '../../../entity/Invoice';
4
4
  import { IInvoiceCart } from '../../../invoice/types/interfaces/invoice.interfaces';
5
+ import { Organization } from '../../../organization/entities/Organization';
5
6
  import { ScheduledPaymentDto } from '../../../payment/dto/payment-plan.dto';
6
7
  import { Payment } from '../../../payment/entities/Payment';
7
8
  import { FuturePaymentStatusEnum, PaymentMethodTypeEnum } from '../../../payment/types/enums/payment.enums';
@@ -9,9 +10,8 @@ import { ISaveInvoicePayment } from '../../../payment/types/interfaces/payment.i
9
10
  import { Product } from '../../../product-pricing/entities/Product';
10
11
  import { ResourceDto } from '../../../resources/dto/resource.dto';
11
12
  import { CurrencyEnum, LineItemsStatusEnum, ProductSubTypesEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../../services/enums.service';
12
- import { PurchasePaymentDto } from '../../dto/purchase.dto';
13
13
  import { User } from '../../../user/entities/User';
14
- import { Organization } from '../../../organization/entities/Organization';
14
+ import { PurchasePaymentDto } from '../../dto/purchase.dto';
15
15
  export type UserCount = {
16
16
  male: number;
17
17
  female: number;
@@ -68,6 +68,8 @@ export interface IPurchaseCart extends IInvoiceCart {
68
68
  paymentInfo?: PurchasePaymentDto;
69
69
  amountToPay?: number;
70
70
  installments?: ScheduledPaymentDto[];
71
+ purchasingUserId?: number;
71
72
  parentPurchasedId?: number;
72
73
  parentPurchasedType?: ResourceNameTypeEnum;
74
+ updatePrices?: IUpdateCartPrices;
73
75
  }
@@ -1,16 +1,23 @@
1
- import { IAddon, IBaseAddon } from '../types/interfaces/addon.interfaces';
1
+ import { Product } from '../../product-pricing/entities/Product';
2
+ import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
3
+ import { ProductPackageLevelEnum } from '../../services/enums.service';
4
+ import { IAddon, IBaseAddon, IDraftAddon } from '../types/interfaces/addon.interfaces';
2
5
  import { EditItemsRefundMetaDto } from './reservation.dto';
6
+ import { SimpleProductUserDto } from '../../dto/product-user';
3
7
  declare class BaseAddonDto implements IBaseAddon {
4
8
  productId: number;
5
9
  unitPrice?: number;
6
10
  quantity?: number;
7
11
  totalPrice?: number;
8
- displayTotalWithTax?: number;
9
- displayTotalPrice?: number;
10
- displayUnitTax?: number;
11
12
  }
12
13
  export declare class AddonDto extends BaseAddonDto implements IAddon {
13
14
  id?: number;
15
+ displayTotalWithTax?: number;
16
+ displayTotalPrice?: number;
17
+ displayUnitTax?: number;
18
+ level?: ProductPackageLevelEnum;
19
+ product?: Product;
20
+ productUser?: SimpleProductUserDto;
14
21
  }
15
22
  export declare class AddAddonsDto {
16
23
  addons: AddonDto[];
@@ -27,7 +34,12 @@ export declare class EditAddonDto {
27
34
  totalPrice: number;
28
35
  unitPrice?: number;
29
36
  }
30
- export declare class DraftAddonDto extends BaseAddonDto {
37
+ export declare class CreateDraftAddonDto extends BaseAddonDto {
31
38
  id?: string;
32
39
  }
40
+ export declare class DraftAddonDto extends BaseAddonDto implements IDraftAddon {
41
+ id: string;
42
+ product?: SimpleProductDto;
43
+ level?: ProductPackageLevelEnum;
44
+ }
33
45
  export {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DraftAddonDto = exports.EditAddonDto = exports.EditReservationAddonsDto = exports.EditAddonsDto = exports.AddAddonsDto = exports.AddonDto = void 0;
3
+ exports.DraftAddonDto = exports.CreateDraftAddonDto = exports.EditAddonDto = exports.EditReservationAddonsDto = exports.EditAddonsDto = exports.AddAddonsDto = exports.AddonDto = void 0;
4
4
  class BaseAddonDto {
5
5
  }
6
6
  class AddonDto extends BaseAddonDto {
@@ -18,6 +18,9 @@ exports.EditReservationAddonsDto = EditReservationAddonsDto;
18
18
  class EditAddonDto {
19
19
  }
20
20
  exports.EditAddonDto = EditAddonDto;
21
+ class CreateDraftAddonDto extends BaseAddonDto {
22
+ }
23
+ exports.CreateDraftAddonDto = CreateDraftAddonDto;
21
24
  class DraftAddonDto extends BaseAddonDto {
22
25
  }
23
26
  exports.DraftAddonDto = DraftAddonDto;
@@ -1 +1 @@
1
- {"version":3,"file":"addon.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/addon.dto.ts"],"names":[],"mappings":";;;AAGA,MAAM,YAAY;CAcjB;AAED,MAAa,QAAS,SAAQ,YAAY;CAEzC;AAFD,4BAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,wBAAyB,SAAQ,aAAa;CAE1D;AAFD,4DAEC;AAED,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,aAAc,SAAQ,YAAY;CAE9C;AAFD,sCAEC"}
1
+ {"version":3,"file":"addon.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/addon.dto.ts"],"names":[],"mappings":";;;AAOA,MAAM,YAAY;CAQjB;AAED,MAAa,QAAS,SAAQ,YAAY;CAczC;AAdD,4BAcC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,wBAAyB,SAAQ,aAAa;CAE1D;AAFD,4DAEC;AAED,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,mBAAoB,SAAQ,YAAY;CAEpD;AAFD,kDAEC;AAED,MAAa,aAAc,SAAQ,YAAY;CAM9C;AAND,sCAMC"}
@@ -1,5 +1,6 @@
1
1
  import { DurationUnitTypesEnum, MaintenanceTimingEnum } from '../types/enums/reservation.enums';
2
- export declare class MaintenanceDto {
2
+ import { IMaintenance } from '../types/interfaces/series.interfaces';
3
+ export declare class MaintenanceDto implements IMaintenance {
3
4
  title: string;
4
5
  durationValue: number;
5
6
  maintenanceDurationdurationType: DurationUnitTypesEnum;
@@ -1 +1 @@
1
- {"version":3,"file":"maintenance.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/maintenance.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,cAAc;CAQ1B;AARD,wCAQC"}
1
+ {"version":3,"file":"maintenance.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/maintenance.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,cAAc;CAQ1B;AARD,wCAQC"}
@@ -1,23 +1,31 @@
1
+ import { UpdateCartPricesDto } from '../../cart/dto/cart.dto';
2
+ import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
3
+ import { FacilityDto } from '../../dto/facilities.dto';
1
4
  import { PaginationQuery } from '../../dto/general.dto';
2
- import { InvoiceDto, UpdateInvoiceDto, UpdateInvoiceOptionsDto } from '../../invoice/dto/invoice.dto';
5
+ import { Invoice } from '../../entity/Invoice';
6
+ import { InvoiceCartDto, InvoiceDto, SimpleInvoiceDto, UpdateInvoiceDto } from '../../invoice/dto/invoice.dto';
7
+ import { OverrideProductsPricingDto } from '../../invoice/types/interfaces/invoice.interfaces';
3
8
  import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
9
+ import { PaymentMethodToFundLeftDto } from '../../payment/dto/payment-method.dto';
4
10
  import { PaymentMethodDto, RefundAmountDto } from '../../payment/dto/refund.dto';
5
11
  import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
12
+ import { RefundResult } from '../../payment/types/interfaces/refund.interfaces';
13
+ import { ProductDto, SimpleProductDto } from '../../product-pricing/dto/product.dto';
6
14
  import { Product } from '../../product-pricing/entities/Product';
7
15
  import { PurchasePaymentDto, PurchaseResultDto } from '../../purchase/dto/purchase.dto';
8
- import { AddonParentTypeEnum, NotifyMethodEnum, PlatformsEnum, ProgramTypesEnum, ResourceNameTypeEnum, ResourceTypeEnum, SportsEnum, UpdatePricesTypeEnum } from '../../services/enums.service';
16
+ import { InstructorResourceDto } from '../../resources/dto/instructor.dto';
17
+ import { SimpleResourceDto } from '../../resources/dto/resource.dto';
18
+ import { SpaceResourceDto } from '../../resources/dto/space.dto';
19
+ import { AddonParentTypeEnum, FinancialStepEnum, NotifyMethodEnum, OrderByEnum, PlatformsEnum, ProductPackageLevelEnum, ProgramTypesEnum, ResourceNameTypeEnum, ResourceTypeEnum, SportsEnum, UpdatePricesTypeEnum } from '../../services/enums.service';
9
20
  import { Reservation } from '../entities/reservation.entity';
10
21
  import { PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
11
- import { IGetDraftReservationAddonsQuery, IGetDraftReservationOptions, IGetDraftReservationSlotsFilter, IGetDraftReservationSlotsOptions, ISaveReservationOptions } from '../types/interfaces/reservation.interfaces';
12
- import { AddonDto, DraftAddonDto } from './addon.dto';
22
+ import { ISegmentsAddons } from '../types/interfaces/addon.interfaces';
23
+ import { IBaseReservation, IBaseReservationItemLineItem, IDraftReservation, IDuplicateDetails, IEditItemsRefundMetadata, IEditSlotsFinancialDetails, IExtendDraftSlotsOptions, IGetDraftReservationAddonsQuery, IGetDraftReservationOptions, IGetDraftReservationSlotsFilter, IGetDraftReservationSlotsOptions, IProductPrice, IRemoveSlotsFinancialData, ISaveReservationOptions } from '../types/interfaces/reservation.interfaces';
24
+ import { AddonDto, CreateDraftAddonDto, DraftAddonDto } from './addon.dto';
13
25
  import { CreateDraftSegmentDto, DraftSegmentDto, SegmentDto } from './segment.dto';
14
26
  import { SeriesDto } from './series.dto';
15
- import { SlotDto, UpdateSlotsColorsDto } from './slot.dto';
16
- import { SimpleResourceDto } from '../../resources/dto/resource.dto';
17
- import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
18
- import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
19
- import { OverrideProductsPricingDto } from '../../invoice/types/interfaces/invoice.interfaces';
20
- export declare class ProductPricesDto {
27
+ import { SlotDto, TimeSlotConflictsDto, UpdateDraftSlotDto, UpdateSlotsColorsDto } from './slot.dto';
28
+ export declare class ProductPricesDto implements IProductPrice {
21
29
  productId: number;
22
30
  product?: Product;
23
31
  price?: number;
@@ -26,7 +34,7 @@ export declare class ProductPricesDto {
26
34
  quantity?: number;
27
35
  totalPrice?: number;
28
36
  }
29
- declare class BaseReservationDto {
37
+ declare class BaseReservationDto implements IBaseReservation {
30
38
  organizationId?: number;
31
39
  name: string;
32
40
  reservationType: ReservationTypeEnum;
@@ -42,16 +50,49 @@ declare class BaseReservationDto {
42
50
  overrideProductsPrice?: OverrideProductsPricingDto;
43
51
  colorCodeId?: number;
44
52
  customerId?: number;
53
+ addToReservationId?: number;
45
54
  }
46
- export declare class ReservationDto extends BaseReservationDto {
55
+ export declare class SimpleReservationDto extends BaseReservationDto {
47
56
  id?: number;
48
57
  status?: ReservationStatusEnum;
49
58
  paymentStatus?: ReservationPaymentStatusEnum;
59
+ }
60
+ export declare class DuplicatedDetailsDto implements IDuplicateDetails {
61
+ addToReservationId: number;
62
+ approvalStatus?: ReservationStatusEnum;
63
+ paymentStatus?: ReservationPaymentStatusEnum;
64
+ invoicesIds?: number[];
65
+ }
66
+ export declare class ReservationDto extends SimpleReservationDto {
50
67
  segments: SegmentDto[];
51
68
  addons?: AddonDto[];
52
69
  targetGlobalPrice?: number;
53
70
  userId?: number;
54
71
  purchasingUserId?: number;
72
+ slots?: SlotDto[];
73
+ }
74
+ export declare class BaseReservationItemLineItemDataDto implements IBaseReservationItemLineItem {
75
+ id: number;
76
+ amount: number;
77
+ amountPaid: number;
78
+ quantity: number;
79
+ canVoid: boolean;
80
+ canRefund: boolean;
81
+ isEdit?: boolean;
82
+ }
83
+ declare class SlotsLineItemDataDto extends BaseReservationItemLineItemDataDto {
84
+ slotIds: number[];
85
+ }
86
+ declare class BaseSegmentsAddonsGroupDto {
87
+ groupId?: string;
88
+ ids: string[];
89
+ quantity: number;
90
+ }
91
+ export declare class CreateSegmentsAddonsDto extends BaseSegmentsAddonsGroupDto {
92
+ productsIds: number[];
93
+ }
94
+ export declare class SegmentsAddonsDto extends CreateSegmentsAddonsDto implements ISegmentsAddons {
95
+ groupId: string;
55
96
  }
56
97
  export declare class CreateDraftReservationDto extends BaseReservationDto {
57
98
  id?: string;
@@ -60,25 +101,32 @@ export declare class SimpleDraftReservationDto extends CreateDraftReservationDto
60
101
  id: string;
61
102
  conflictsCount?: number;
62
103
  }
63
- export declare class DraftReservationDto extends SimpleDraftReservationDto {
64
- segments?: DraftSegmentDto[];
104
+ export declare class DraftReservationDto extends SimpleDraftReservationDto implements IDraftReservation {
105
+ segments: DraftSegmentDto[];
65
106
  addons?: DraftAddonDto[];
66
107
  owner?: SimpleCustomerDto;
67
108
  participants?: SimpleCustomerDto[];
68
- products?: SimpleProductDto[];
69
- spaces?: SimpleResourceDto[];
70
- instructors?: SimpleResourceDto[];
109
+ products?: ProductDto[];
110
+ spaces?: SpaceResourceDto[];
111
+ instructors?: InstructorResourceDto[];
112
+ facilities: FacilityDto[];
113
+ segmentsAddons?: SegmentsAddonsDto[];
114
+ duplicateDetails?: DuplicatedDetailsDto;
71
115
  }
72
116
  export declare class ReservationInvoiceDto {
73
117
  reservation: ReservationDto;
74
118
  invoice: InvoiceDto;
75
119
  debug: any;
76
120
  }
77
- export declare class SaveReservationDto implements ISaveReservationOptions {
78
- reservation: ReservationDto;
79
- slotType?: SlotTypeEnum;
121
+ export declare class CreateReservationCartDto implements ISaveReservationOptions {
80
122
  platform?: PlatformsEnum;
81
123
  shiftId?: number;
124
+ updatePrices?: UpdateCartPricesDto;
125
+ addToReservationId?: number;
126
+ }
127
+ export declare class SaveReservationDto extends CreateReservationCartDto implements ISaveReservationOptions {
128
+ reservation: ReservationDto;
129
+ slotType?: SlotTypeEnum;
82
130
  }
83
131
  export declare class SingleReservationIncludesDto {
84
132
  includeCustomer?: boolean;
@@ -148,7 +196,7 @@ export declare class FindSlotsByFacilityIdFiltersDto {
148
196
  activityTypes?: SportsEnum[];
149
197
  includeActivityTimes?: boolean;
150
198
  }
151
- export declare class getSlotsSlotCardDto {
199
+ export declare class IncludeConflictsOptionsDto {
152
200
  includeConflicts?: boolean;
153
201
  }
154
202
  export declare class getSlotFQueryParamsDto {
@@ -157,12 +205,18 @@ export declare class getSlotFQueryParamsDto {
157
205
  export declare class FindByReservationDto extends ByOrganizationIdDto {
158
206
  reservationId: number;
159
207
  }
208
+ export declare class DuplicateSlotDto extends FindByReservationDto {
209
+ slotId: number;
210
+ }
160
211
  export declare class FindByFacilityDto extends FindByReservationDto {
161
212
  facilityId: number;
162
213
  }
163
214
  export declare class FindBySegmentDto extends FindByFacilityDto {
164
215
  segmentId: number;
165
216
  }
217
+ export declare class FindBySlotIdsDto {
218
+ slotsIds: number[];
219
+ }
166
220
  export declare class UpdateReservationStatusDto extends FindByReservationDto {
167
221
  status: ReservationStatusEnum;
168
222
  }
@@ -189,6 +243,12 @@ export declare class EditReservationDetailsDto {
189
243
  publicNotes?: string;
190
244
  privateNotes?: string;
191
245
  }
246
+ export declare class RemoveSlotsFinancialDataDto implements IRemoveSlotsFinancialData {
247
+ paymentMethods: PaymentMethodToFundLeftDto[];
248
+ lineItems: SlotsLineItemDataDto[];
249
+ nextFinancialStep: FinancialStepEnum;
250
+ invoice: Invoice;
251
+ }
192
252
  export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
193
253
  updateAddons?: boolean;
194
254
  updateMaintenance?: boolean;
@@ -220,10 +280,9 @@ export declare class AddSlotToSegmenResultDto {
220
280
  export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
221
281
  reservationTotalPrice: number;
222
282
  }
223
- export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
283
+ export declare class InvoiceReservationItemsDto extends InvoiceCartDto {
224
284
  slotsIds?: number[];
225
285
  addonsIds?: number[];
226
- purchasingUserId?: number;
227
286
  }
228
287
  export declare class AddSlotsDto extends UpdateInvoiceDto {
229
288
  slots: SlotDto[];
@@ -242,6 +301,9 @@ export declare class GetDraftReservationSlotsFiltersDto extends PaginationQuery
242
301
  startDate?: Date;
243
302
  endDate?: Date;
244
303
  includeResources?: boolean;
304
+ includeOwner?: boolean;
305
+ includeMaintenanceSlots?: boolean;
306
+ orderBy?: OrderByEnum;
245
307
  }
246
308
  export declare class ByDraftReservationIdDto extends ByOrganizationIdDto {
247
309
  reservationId: string;
@@ -269,8 +331,19 @@ export declare class GetDraftReservationOptionsDto implements IGetDraftReservati
269
331
  includeProducts?: boolean;
270
332
  includeParticipants?: boolean;
271
333
  includeSegments?: boolean;
334
+ includeMaintenanceSlots?: boolean;
335
+ includeSlots?: boolean;
336
+ plainReservation?: boolean;
337
+ includeFacilities?: boolean;
338
+ }
339
+ export declare class GetDraftSlotsOptions implements IExtendDraftSlotsOptions {
340
+ includeResources?: boolean;
341
+ includeConflicts?: boolean;
342
+ includeParticipants?: boolean;
343
+ includeMaintenanceSlots?: boolean;
344
+ includeFacilities?: boolean;
272
345
  }
273
- export declare class DraftIdsDto {
346
+ export declare class DraftIdsDto extends GetDraftSlotsOptions {
274
347
  ids: string[];
275
348
  }
276
349
  export declare class ByDraftSlotIdDto extends ByDraftReservationIdDto {
@@ -281,4 +354,70 @@ export declare class GenerateReservationDto {
281
354
  addSegments?: CreateDraftSegmentDto[];
282
355
  removeSegmentsIds?: string[];
283
356
  }
357
+ export declare class UpdateDraftSlotsDto {
358
+ slots: UpdateDraftSlotDto[];
359
+ overrideProducts?: boolean;
360
+ }
361
+ export declare class SegmentsAddonsGroupDto extends BaseSegmentsAddonsGroupDto {
362
+ products: SimpleProductDto[];
363
+ }
364
+ export declare class ReservationAddonsDto {
365
+ reservation: DraftAddonDto[];
366
+ segments: SegmentsAddonsGroupDto[];
367
+ }
368
+ export declare class CreateReservationAddonsDto {
369
+ reservation?: CreateDraftAddonDto[];
370
+ removeByIds?: string[];
371
+ segments?: CreateSegmentsAddonsDto[];
372
+ removeBySegmentIds?: string[];
373
+ removeByGroupIds?: string[];
374
+ }
375
+ export declare class ProblematicProductDto {
376
+ product: SimpleProductDto;
377
+ isAddon?: boolean;
378
+ level?: ProductPackageLevelEnum;
379
+ }
380
+ export declare class PaginatedSlotsSharedDto {
381
+ totalSlots?: number;
382
+ }
383
+ export declare class DuplicateReservationDto {
384
+ isEdit?: boolean;
385
+ }
386
+ export declare class DuplicateReservationItemsDto extends DuplicateReservationDto {
387
+ slotsIds?: number[];
388
+ reservationAddonsIds?: number[];
389
+ }
390
+ export declare class ReservationItemLineDto {
391
+ id: number;
392
+ amount: number;
393
+ amountPaid: number;
394
+ quantity: number;
395
+ canVoid: boolean;
396
+ canRefund: boolean;
397
+ isEdit?: boolean;
398
+ slotsIds?: number[];
399
+ addonsIds?: number[];
400
+ }
401
+ export declare class EditItemsRefundMetadataDto implements IEditItemsRefundMetadata {
402
+ lineItems: ReservationItemLineDto[];
403
+ refundAmount: number;
404
+ }
405
+ export declare class EditSlotsFinancialDetailsDto implements IEditSlotsFinancialDetails {
406
+ nextFinancialStep: FinancialStepEnum;
407
+ paymentMethods?: PaymentMethodToFundLeftDto[];
408
+ originalInvoicePrice?: number;
409
+ updatedInvoicePrice?: number;
410
+ originalItemsPrice?: number;
411
+ updatedItemsPrice?: number;
412
+ priceChange?: number;
413
+ refundMetadata?: EditItemsRefundMetadataDto;
414
+ conflicts?: TimeSlotConflictsDto[];
415
+ }
416
+ export declare class EditSlotsRefundMetadataDto {
417
+ refundMetadata?: EditItemsRefundMetaDto;
418
+ }
419
+ export declare class EditReservationItemsResultDto {
420
+ invoice: SimpleInvoiceDto;
421
+ refundResult?: RefundResult;
422
+ }
284
423
  export {};