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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (426) hide show
  1. package/README.md +71 -71
  2. package/dist/tsconfig.build.tsbuildinfo +1 -1
  3. package/dist/types/address/index.d.ts +0 -2
  4. package/dist/types/address/index.js +0 -2
  5. package/dist/types/address/index.js.map +1 -1
  6. package/dist/types/cart/dto/cart.dto.d.ts +2 -65
  7. package/dist/types/cart/dto/cart.dto.js +1 -28
  8. package/dist/types/cart/dto/cart.dto.js.map +1 -1
  9. package/dist/types/cart/entities/cart-item.entity.d.ts +0 -8
  10. package/dist/types/cart/entities/cart-item.entity.js.map +1 -1
  11. package/dist/types/cart/entities/cart.entity.d.ts +1 -1
  12. package/dist/types/cart/entities/cart.entity.js.map +1 -1
  13. package/dist/types/cart/types/index.d.ts +0 -1
  14. package/dist/types/cart/types/index.js +0 -1
  15. package/dist/types/cart/types/index.js.map +1 -1
  16. package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +1 -63
  17. package/dist/types/customers/dto/customer-response.dto.d.ts +0 -5
  18. package/dist/types/customers/dto/customer-response.dto.js +1 -4
  19. package/dist/types/customers/dto/customer-response.dto.js.map +1 -1
  20. package/dist/types/customers/dto/full-customer.dto.d.ts +1 -1
  21. package/dist/types/customers/dto/full-customer.dto.js.map +1 -1
  22. package/dist/types/customers/types/consts/customers.consts.d.ts +0 -1
  23. package/dist/types/customers/types/consts/customers.consts.js +2 -5
  24. package/dist/types/customers/types/consts/customers.consts.js.map +1 -1
  25. package/dist/types/customers/types/interfaces.d.ts +1 -10
  26. package/dist/types/dto/activityTimes.dto.d.ts +0 -10
  27. package/dist/types/dto/activityTimes.dto.js +1 -4
  28. package/dist/types/dto/activityTimes.dto.js.map +1 -1
  29. package/dist/types/dto/events.dto.d.ts +2 -4
  30. package/dist/types/dto/events.dto.js.map +1 -1
  31. package/dist/types/dto/facilities.dto.d.ts +9 -2
  32. package/dist/types/dto/facilities.dto.js +4 -1
  33. package/dist/types/dto/facilities.dto.js.map +1 -1
  34. package/dist/types/dto/general.dto.d.ts +5 -11
  35. package/dist/types/dto/general.dto.js +2 -4
  36. package/dist/types/dto/general.dto.js.map +1 -1
  37. package/dist/types/dto/groupsDivisions.dto.d.ts +2 -15
  38. package/dist/types/dto/groupsDivisions.dto.js +3 -6
  39. package/dist/types/dto/groupsDivisions.dto.js.map +1 -1
  40. package/dist/types/dto/membership.dto.d.ts +1 -17
  41. package/dist/types/dto/membership.dto.js.map +1 -1
  42. package/dist/types/dto/product-user.d.ts +0 -10
  43. package/dist/types/dto/product-user.js +1 -7
  44. package/dist/types/dto/product-user.js.map +1 -1
  45. package/dist/types/dto/product-variants.dto.d.ts +14 -2
  46. package/dist/types/dto/product-variants.dto.js +5 -2
  47. package/dist/types/dto/product-variants.dto.js.map +1 -1
  48. package/dist/types/dto/userPaymentMethod.dto.d.ts +0 -4
  49. package/dist/types/dto/userPaymentMethod.dto.js +1 -4
  50. package/dist/types/dto/userPaymentMethod.dto.js.map +1 -1
  51. package/dist/types/employees/dto/employee.dto.d.ts +5 -21
  52. package/dist/types/employees/dto/employee.dto.js +1 -8
  53. package/dist/types/employees/dto/employee.dto.js.map +1 -1
  54. package/dist/types/employees/types/index.d.ts +0 -1
  55. package/dist/types/employees/types/index.js +0 -1
  56. package/dist/types/employees/types/index.js.map +1 -1
  57. package/dist/types/entity/ActivityTimes.d.ts +3 -4
  58. package/dist/types/entity/ActivityTimes.js.map +1 -1
  59. package/dist/types/{address/entities → entity}/Address.d.ts +1 -1
  60. package/dist/types/{address/entities → entity}/Address.js +1 -1
  61. package/dist/types/entity/Address.js.map +1 -0
  62. package/dist/types/entity/Customer.d.ts +1 -3
  63. package/dist/types/entity/Customer.js.map +1 -1
  64. package/dist/types/entity/EventAttendees.d.ts +6 -6
  65. package/dist/types/entity/EventAttendees.js.map +1 -1
  66. package/dist/types/entity/EventHistory.d.ts +1 -1
  67. package/dist/types/entity/EventHistory.js.map +1 -1
  68. package/dist/types/entity/Facility.d.ts +1 -1
  69. package/dist/types/entity/LineItems.d.ts +0 -3
  70. package/dist/types/entity/LineItems.js.map +1 -1
  71. package/dist/types/entity/MembershipMember.d.ts +0 -11
  72. package/dist/types/entity/MembershipMember.js.map +1 -1
  73. package/dist/types/entity/PackageV1.d.ts +0 -2
  74. package/dist/types/entity/PackageV1.js.map +1 -1
  75. package/dist/types/{webflow/entities → entity}/WebflowOrganizationConfiguration.d.ts +1 -1
  76. package/dist/types/{webflow/entities → entity}/WebflowOrganizationConfiguration.js +1 -1
  77. package/dist/types/entity/WebflowOrganizationConfiguration.js.map +1 -0
  78. package/dist/types/entity/index.d.ts +2 -0
  79. package/dist/types/entity/index.js +2 -0
  80. package/dist/types/entity/index.js.map +1 -1
  81. package/dist/types/import/dto/reservation.dto.js.map +1 -1
  82. package/dist/types/index.d.ts +0 -3
  83. package/dist/types/index.js +0 -3
  84. package/dist/types/index.js.map +1 -1
  85. package/dist/types/invoice/dto/invoice.dto.d.ts +0 -19
  86. package/dist/types/invoice/dto/invoice.dto.js +1 -5
  87. package/dist/types/invoice/dto/invoice.dto.js.map +1 -1
  88. package/dist/types/invoice/types/consts/invoice.consts.d.ts +0 -10
  89. package/dist/types/invoice/types/consts/invoice.consts.js +1 -10
  90. package/dist/types/invoice/types/consts/invoice.consts.js.map +1 -1
  91. package/dist/types/invoice/types/interfaces/index.d.ts +0 -1
  92. package/dist/types/invoice/types/interfaces/index.js +0 -1
  93. package/dist/types/invoice/types/interfaces/index.js.map +1 -1
  94. package/dist/types/invoice/types/interfaces/invoice.interfaces.d.ts +1 -5
  95. package/dist/types/invoice/types/interfaces/invoice.interfaces.js.map +1 -1
  96. package/dist/types/membership/entities/MembershipMemberRenewal.d.ts +0 -9
  97. package/dist/types/membership/entities/MembershipMemberRenewal.js.map +1 -1
  98. package/dist/types/membership/index.d.ts +1 -2
  99. package/dist/types/membership/index.js +1 -2
  100. package/dist/types/membership/index.js.map +1 -1
  101. package/dist/types/membership/interfaces/index.d.ts +1 -0
  102. package/dist/types/{address/dto → membership/interfaces}/index.js +1 -1
  103. package/dist/types/membership/interfaces/index.js.map +1 -0
  104. package/dist/types/membership/{types → interfaces}/membership.interfaces.d.ts +0 -19
  105. package/dist/types/membership/interfaces/membership.interfaces.js.map +1 -0
  106. package/dist/types/notifications/dto/index.d.ts +0 -1
  107. package/dist/types/notifications/dto/index.js +0 -1
  108. package/dist/types/notifications/dto/index.js.map +1 -1
  109. package/dist/types/notifications/dto/notification.create.dto.d.ts +6 -6
  110. package/dist/types/notifications/dto/notification.create.dto.js +6 -6
  111. package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
  112. package/dist/types/notifications/dto/notification.response.dto.d.ts +3 -3
  113. package/dist/types/notifications/dto/notification.response.dto.js.map +1 -1
  114. package/dist/types/notifications/index.d.ts +1 -0
  115. package/dist/types/notifications/index.js +1 -0
  116. package/dist/types/notifications/index.js.map +1 -1
  117. package/dist/types/notifications/types/enums/index.js.map +1 -0
  118. package/dist/types/notifications/types/enums/notification.enums.d.ts +30 -0
  119. package/dist/types/notifications/types/enums/notification.enums.js +41 -0
  120. package/dist/types/notifications/types/enums/notification.enums.js.map +1 -0
  121. package/dist/types/notifications/types/index.js.map +1 -0
  122. package/dist/types/organization/entities/Organization.d.ts +1 -1
  123. package/dist/types/organization/interfaces/index.d.ts +0 -1
  124. package/dist/types/organization/interfaces/index.js +0 -1
  125. package/dist/types/organization/interfaces/index.js.map +1 -1
  126. package/dist/types/payment/dto/payment-method.dto.d.ts +3 -12
  127. package/dist/types/payment/dto/payment-method.dto.js +1 -4
  128. package/dist/types/payment/dto/payment-method.dto.js.map +1 -1
  129. package/dist/types/payment/dto/payment-plan.dto.d.ts +4 -6
  130. package/dist/types/payment/dto/payment-plan.dto.js.map +1 -1
  131. package/dist/types/payment/entities/PaymentFailures.d.ts +0 -1
  132. package/dist/types/payment/entities/PaymentFailures.js.map +1 -1
  133. package/dist/types/payment/entities/ProductPaymentPlan.d.ts +2 -3
  134. package/dist/types/payment/entities/ProductPaymentPlan.js.map +1 -1
  135. package/dist/types/payment/types/consts/payment.consts.d.ts +0 -1
  136. package/dist/types/payment/types/consts/payment.consts.js +1 -5
  137. package/dist/types/payment/types/consts/payment.consts.js.map +1 -1
  138. package/dist/types/payment/types/enums/payment-plan.enums.d.ts +7 -0
  139. package/dist/types/payment/types/enums/payment-plan.enums.js +9 -1
  140. package/dist/types/payment/types/enums/payment-plan.enums.js.map +1 -1
  141. package/dist/types/payment/types/enums/payment.enums.d.ts +2 -4
  142. package/dist/types/payment/types/enums/payment.enums.js +0 -2
  143. package/dist/types/payment/types/enums/payment.enums.js.map +1 -1
  144. package/dist/types/payment/types/interfaces/discount.interfaces.d.ts +1 -1
  145. package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +0 -16
  146. package/dist/types/pricing/dto/price.dto.d.ts +1 -3
  147. package/dist/types/pricing/dto/price.dto.js.map +1 -1
  148. package/dist/types/pricing/dto/pricing.dto.d.ts +2 -2
  149. package/dist/types/pricing/entities/Price.d.ts +2 -3
  150. package/dist/types/pricing/entities/Price.js.map +1 -1
  151. package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +2 -4
  152. package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
  153. package/dist/types/product-pricing/dto/product.dto.d.ts +0 -2
  154. package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
  155. package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +0 -11
  156. package/dist/types/programs/dto/program.dto.d.ts +2 -5
  157. package/dist/types/programs/dto/program.dto.js +1 -4
  158. package/dist/types/programs/dto/program.dto.js.map +1 -1
  159. package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +18 -27
  160. package/dist/types/programs-seasons/dto/program-seasons.dto.js +8 -11
  161. package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
  162. package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +2 -4
  163. package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
  164. package/dist/types/programs-seasons/types/index.d.ts +0 -2
  165. package/dist/types/programs-seasons/types/index.js +0 -2
  166. package/dist/types/programs-seasons/types/index.js.map +1 -1
  167. package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +0 -11
  168. package/dist/types/punch-pass/dto/punch-pass.dto.js +1 -5
  169. package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
  170. package/dist/types/purchase/dto/purchase.dto.d.ts +0 -4
  171. package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
  172. package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +3 -5
  173. package/dist/types/reservations/dto/addon.dto.d.ts +8 -21
  174. package/dist/types/reservations/dto/addon.dto.js +2 -9
  175. package/dist/types/reservations/dto/addon.dto.js.map +1 -1
  176. package/dist/types/reservations/dto/maintenance.dto.d.ts +1 -2
  177. package/dist/types/reservations/dto/maintenance.dto.js.map +1 -1
  178. package/dist/types/reservations/dto/reservation.dto.d.ts +24 -171
  179. package/dist/types/reservations/dto/reservation.dto.js +7 -86
  180. package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
  181. package/dist/types/reservations/dto/segment.dto.d.ts +4 -5
  182. package/dist/types/reservations/dto/segment.dto.js.map +1 -1
  183. package/dist/types/reservations/dto/series.dto.d.ts +4 -7
  184. package/dist/types/reservations/dto/series.dto.js.map +1 -1
  185. package/dist/types/reservations/dto/slot.dto.d.ts +26 -106
  186. package/dist/types/reservations/dto/slot.dto.js +7 -25
  187. package/dist/types/reservations/dto/slot.dto.js.map +1 -1
  188. package/dist/types/reservations/dto/v1.reservation.dto.d.ts +0 -1
  189. package/dist/types/reservations/dto/v1.reservation.dto.js.map +1 -1
  190. package/dist/types/reservations/entities/SlotToResource.d.ts +0 -4
  191. package/dist/types/reservations/entities/SlotToResource.js.map +1 -1
  192. package/dist/types/reservations/entities/addon.entity.d.ts +0 -1
  193. package/dist/types/reservations/entities/addon.entity.js.map +1 -1
  194. package/dist/types/reservations/entities/reservation.entity.d.ts +7 -6
  195. package/dist/types/reservations/entities/reservation.entity.js.map +1 -1
  196. package/dist/types/reservations/entities/slot.entity.d.ts +3 -11
  197. package/dist/types/reservations/entities/slot.entity.js.map +1 -1
  198. package/dist/types/reservations/types/consts/index.d.ts +0 -1
  199. package/dist/types/reservations/types/consts/index.js +0 -1
  200. package/dist/types/reservations/types/consts/index.js.map +1 -1
  201. package/dist/types/reservations/types/consts/reservation.consts.d.ts +1 -12
  202. package/dist/types/reservations/types/consts/reservation.consts.js +1 -18
  203. package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
  204. package/dist/types/reservations/types/enums/reservation.enums.d.ts +1 -2
  205. package/dist/types/reservations/types/enums/reservation.enums.js +0 -1
  206. package/dist/types/reservations/types/enums/reservation.enums.js.map +1 -1
  207. package/dist/types/reservations/types/index.d.ts +0 -1
  208. package/dist/types/reservations/types/index.js +0 -1
  209. package/dist/types/reservations/types/index.js.map +1 -1
  210. package/dist/types/reservations/types/interfaces/addon.interfaces.d.ts +2 -18
  211. package/dist/types/reservations/types/interfaces/index.d.ts +0 -2
  212. package/dist/types/reservations/types/interfaces/index.js +0 -2
  213. package/dist/types/reservations/types/interfaces/index.js.map +1 -1
  214. package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +19 -160
  215. package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
  216. package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +24 -61
  217. package/dist/types/reservations/types/interfaces/slot.interfaces.js +0 -4
  218. package/dist/types/reservations/types/interfaces/slot.interfaces.js.map +1 -1
  219. package/dist/types/reservations/types/reservation.types.d.ts +11 -23
  220. package/dist/types/resources/dto/instructor.dto.d.ts +1 -1
  221. package/dist/types/resources/dto/instructor.dto.js.map +1 -1
  222. package/dist/types/resources/dto/space.dto.d.ts +0 -1
  223. package/dist/types/resources/dto/space.dto.js.map +1 -1
  224. package/dist/types/resources/entities/Instructor.d.ts +2 -2
  225. package/dist/types/resources/entities/Instructor.js.map +1 -1
  226. package/dist/types/resources/entities/Space.d.ts +1 -1
  227. package/dist/types/resources/entities/Space.js.map +1 -1
  228. package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +0 -1
  229. package/dist/types/roles/dto/permission-group.dto.d.ts +0 -4
  230. package/dist/types/roles/dto/permission-group.dto.js +1 -8
  231. package/dist/types/roles/dto/permission-group.dto.js.map +1 -1
  232. package/dist/types/roles/dto/role.dto.d.ts +12 -27
  233. package/dist/types/roles/dto/role.dto.js +5 -23
  234. package/dist/types/roles/dto/role.dto.js.map +1 -1
  235. package/dist/types/roles/entities/Role.d.ts +2 -3
  236. package/dist/types/roles/entities/Role.js.map +1 -1
  237. package/dist/types/roles/entities/index.d.ts +0 -6
  238. package/dist/types/roles/entities/index.js +0 -10
  239. package/dist/types/roles/entities/index.js.map +1 -1
  240. package/dist/types/roles/types/index.d.ts +0 -1
  241. package/dist/types/roles/types/index.js +0 -1
  242. package/dist/types/roles/types/index.js.map +1 -1
  243. package/dist/types/roles/types/role.enums.d.ts +2 -13
  244. package/dist/types/roles/types/role.enums.js +1 -13
  245. package/dist/types/roles/types/role.enums.js.map +1 -1
  246. package/dist/types/services/enums.service.d.ts +2 -23
  247. package/dist/types/services/enums.service.js +3 -27
  248. package/dist/types/services/enums.service.js.map +1 -1
  249. package/dist/types/services/interfaces.service.d.ts +3 -15
  250. package/dist/types/services/interfaces.service.js.map +1 -1
  251. package/dist/types/shifts/entities/shift.entity.d.ts +1 -1
  252. package/dist/types/user/dto/user-settings.dto.d.ts +1 -1
  253. package/dist/types/user/dto/user.dto.d.ts +1 -1
  254. package/dist/types/user/dto/user.dto.js.map +1 -1
  255. package/dist/types/user/entities/User.d.ts +1 -3
  256. package/dist/types/user/entities/User.js.map +1 -1
  257. package/dist/types/user/types/user.interfaces.d.ts +0 -15
  258. package/dist/types/user-identification/dto/user-identifier.dto.d.ts +0 -3
  259. package/dist/types/user-identification/dto/user-identifier.dto.js +1 -7
  260. package/dist/types/user-identification/dto/user-identifier.dto.js.map +1 -1
  261. package/dist/types/user-identification/entities/UserIdentifier.d.ts +0 -2
  262. package/dist/types/user-identification/entities/UserIdentifier.js.map +1 -1
  263. package/dist/types/util/models/interfaces/general.interfaces.d.ts +1 -2
  264. package/dist/types/webflow/index.d.ts +0 -2
  265. package/dist/types/webflow/index.js +0 -2
  266. package/dist/types/webflow/index.js.map +1 -1
  267. package/package.json +54 -54
  268. package/dist/types/accounting/entities/index.d.ts +0 -2
  269. package/dist/types/accounting/entities/index.js +0 -19
  270. package/dist/types/accounting/entities/index.js.map +0 -1
  271. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.d.ts +0 -9
  272. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js +0 -8
  273. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js.map +0 -1
  274. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.d.ts +0 -14
  275. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js +0 -8
  276. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js.map +0 -1
  277. package/dist/types/accounting/index.d.ts +0 -2
  278. package/dist/types/accounting/index.js +0 -19
  279. package/dist/types/accounting/index.js.map +0 -1
  280. package/dist/types/accounting/types/enums/accounting.enums.d.ts +0 -14
  281. package/dist/types/accounting/types/enums/accounting.enums.js +0 -20
  282. package/dist/types/accounting/types/enums/accounting.enums.js.map +0 -1
  283. package/dist/types/accounting/types/enums/index.d.ts +0 -1
  284. package/dist/types/accounting/types/enums/index.js +0 -18
  285. package/dist/types/accounting/types/enums/index.js.map +0 -1
  286. package/dist/types/accounting/types/index.js.map +0 -1
  287. package/dist/types/address/dto/address.dto.d.ts +0 -9
  288. package/dist/types/address/dto/address.dto.js +0 -7
  289. package/dist/types/address/dto/address.dto.js.map +0 -1
  290. package/dist/types/address/dto/index.d.ts +0 -1
  291. package/dist/types/address/dto/index.js.map +0 -1
  292. package/dist/types/address/entities/Address.js.map +0 -1
  293. package/dist/types/address/entities/index.d.ts +0 -1
  294. package/dist/types/address/entities/index.js +0 -18
  295. package/dist/types/address/entities/index.js.map +0 -1
  296. package/dist/types/cart/types/classes/cart.classes.d.ts +0 -9
  297. package/dist/types/cart/types/classes/cart.classes.js +0 -7
  298. package/dist/types/cart/types/classes/cart.classes.js.map +0 -1
  299. package/dist/types/cart/types/classes/index.d.ts +0 -1
  300. package/dist/types/cart/types/classes/index.js +0 -18
  301. package/dist/types/cart/types/classes/index.js.map +0 -1
  302. package/dist/types/employees/types/consts/index.d.ts +0 -3
  303. package/dist/types/employees/types/consts/index.js +0 -25
  304. package/dist/types/employees/types/consts/index.js.map +0 -1
  305. package/dist/types/facilities/index.d.ts +0 -1
  306. package/dist/types/facilities/index.js +0 -18
  307. package/dist/types/facilities/index.js.map +0 -1
  308. package/dist/types/facilities/types/facilities.types.d.ts +0 -4
  309. package/dist/types/facilities/types/facilities.types.js +0 -3
  310. package/dist/types/facilities/types/facilities.types.js.map +0 -1
  311. package/dist/types/facilities/types/index.d.ts +0 -1
  312. package/dist/types/facilities/types/index.js +0 -18
  313. package/dist/types/facilities/types/index.js.map +0 -1
  314. package/dist/types/invoice/types/interfaces/line-item.interfaces.d.ts +0 -7
  315. package/dist/types/invoice/types/interfaces/line-item.interfaces.js +0 -3
  316. package/dist/types/invoice/types/interfaces/line-item.interfaces.js.map +0 -1
  317. package/dist/types/membership/dto/expendedMembership.dto.d.ts +0 -15
  318. package/dist/types/membership/dto/expendedMembership.dto.js +0 -7
  319. package/dist/types/membership/dto/expendedMembership.dto.js.map +0 -1
  320. package/dist/types/membership/dto/index.d.ts +0 -2
  321. package/dist/types/membership/dto/index.js +0 -19
  322. package/dist/types/membership/dto/index.js.map +0 -1
  323. package/dist/types/membership/dto/membershipMember.dto.d.ts +0 -103
  324. package/dist/types/membership/dto/membershipMember.dto.js +0 -45
  325. package/dist/types/membership/dto/membershipMember.dto.js.map +0 -1
  326. package/dist/types/membership/types/index.d.ts +0 -5
  327. package/dist/types/membership/types/index.js +0 -22
  328. package/dist/types/membership/types/index.js.map +0 -1
  329. package/dist/types/membership/types/membership.interfaces.js.map +0 -1
  330. package/dist/types/membership/types/membership.member.classes.d.ts +0 -14
  331. package/dist/types/membership/types/membership.member.classes.js +0 -7
  332. package/dist/types/membership/types/membership.member.classes.js.map +0 -1
  333. package/dist/types/membership/types/membership.member.consts.d.ts +0 -3
  334. package/dist/types/membership/types/membership.member.consts.js +0 -8
  335. package/dist/types/membership/types/membership.member.consts.js.map +0 -1
  336. package/dist/types/membership/types/membership.members.interfaces.d.ts +0 -86
  337. package/dist/types/membership/types/membership.members.interfaces.js +0 -3
  338. package/dist/types/membership/types/membership.members.interfaces.js.map +0 -1
  339. package/dist/types/membership/types/membership.members.types.d.ts +0 -4
  340. package/dist/types/membership/types/membership.members.types.js +0 -3
  341. package/dist/types/membership/types/membership.members.types.js.map +0 -1
  342. package/dist/types/notifications/dto/types/enums/index.js.map +0 -1
  343. package/dist/types/notifications/dto/types/enums/notification.enums.d.ts +0 -2
  344. package/dist/types/notifications/dto/types/enums/notification.enums.js +0 -8
  345. package/dist/types/notifications/dto/types/enums/notification.enums.js.map +0 -1
  346. package/dist/types/notifications/dto/types/index.d.ts +0 -1
  347. package/dist/types/notifications/dto/types/index.js +0 -18
  348. package/dist/types/notifications/dto/types/index.js.map +0 -1
  349. package/dist/types/online-rentals/index.d.ts +0 -1
  350. package/dist/types/online-rentals/index.js +0 -18
  351. package/dist/types/online-rentals/index.js.map +0 -1
  352. package/dist/types/online-rentals/types/index.d.ts +0 -2
  353. package/dist/types/online-rentals/types/index.js +0 -19
  354. package/dist/types/online-rentals/types/index.js.map +0 -1
  355. package/dist/types/online-rentals/types/online-rentals.classes.d.ts +0 -21
  356. package/dist/types/online-rentals/types/online-rentals.classes.js +0 -10
  357. package/dist/types/online-rentals/types/online-rentals.classes.js.map +0 -1
  358. package/dist/types/online-rentals/types/online-rentals.dto.d.ts +0 -61
  359. package/dist/types/online-rentals/types/online-rentals.dto.js +0 -36
  360. package/dist/types/online-rentals/types/online-rentals.dto.js.map +0 -1
  361. package/dist/types/organization/interfaces/reason.interfaces.d.ts +0 -6
  362. package/dist/types/organization/interfaces/reason.interfaces.js +0 -3
  363. package/dist/types/organization/interfaces/reason.interfaces.js.map +0 -1
  364. package/dist/types/programs-seasons/types/classes/index.d.ts +0 -1
  365. package/dist/types/programs-seasons/types/classes/index.js +0 -18
  366. package/dist/types/programs-seasons/types/classes/index.js.map +0 -1
  367. package/dist/types/programs-seasons/types/classes/program-season.classes.d.ts +0 -6
  368. package/dist/types/programs-seasons/types/classes/program-season.classes.js +0 -7
  369. package/dist/types/programs-seasons/types/classes/program-season.classes.js.map +0 -1
  370. package/dist/types/programs-seasons/types/enums/index.d.ts +0 -1
  371. package/dist/types/programs-seasons/types/enums/index.js +0 -18
  372. package/dist/types/programs-seasons/types/enums/index.js.map +0 -1
  373. package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +0 -9
  374. package/dist/types/programs-seasons/types/enums/program-season.enums.js +0 -15
  375. package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +0 -1
  376. package/dist/types/reservations/types/classes/addon.classes.d.ts +0 -22
  377. package/dist/types/reservations/types/classes/addon.classes.js +0 -7
  378. package/dist/types/reservations/types/classes/addon.classes.js.map +0 -1
  379. package/dist/types/reservations/types/classes/index.d.ts +0 -7
  380. package/dist/types/reservations/types/classes/index.js +0 -24
  381. package/dist/types/reservations/types/classes/index.js.map +0 -1
  382. package/dist/types/reservations/types/classes/maintenance.classes.d.ts +0 -8
  383. package/dist/types/reservations/types/classes/maintenance.classes.js +0 -7
  384. package/dist/types/reservations/types/classes/maintenance.classes.js.map +0 -1
  385. package/dist/types/reservations/types/classes/product.classes.d.ts +0 -16
  386. package/dist/types/reservations/types/classes/product.classes.js +0 -10
  387. package/dist/types/reservations/types/classes/product.classes.js.map +0 -1
  388. package/dist/types/reservations/types/classes/reservation.classes.d.ts +0 -58
  389. package/dist/types/reservations/types/classes/reservation.classes.js +0 -10
  390. package/dist/types/reservations/types/classes/reservation.classes.js.map +0 -1
  391. package/dist/types/reservations/types/classes/segment.classes.d.ts +0 -32
  392. package/dist/types/reservations/types/classes/segment.classes.js +0 -10
  393. package/dist/types/reservations/types/classes/segment.classes.js.map +0 -1
  394. package/dist/types/reservations/types/classes/series.classes.d.ts +0 -27
  395. package/dist/types/reservations/types/classes/series.classes.js +0 -7
  396. package/dist/types/reservations/types/classes/series.classes.js.map +0 -1
  397. package/dist/types/reservations/types/classes/slot.classes.d.ts +0 -69
  398. package/dist/types/reservations/types/classes/slot.classes.js +0 -11
  399. package/dist/types/reservations/types/classes/slot.classes.js.map +0 -1
  400. package/dist/types/reservations/types/consts/slot.consts.d.ts +0 -1
  401. package/dist/types/reservations/types/consts/slot.consts.js +0 -5
  402. package/dist/types/reservations/types/consts/slot.consts.js.map +0 -1
  403. package/dist/types/reservations/types/interfaces/segment.interfaces.d.ts +0 -29
  404. package/dist/types/reservations/types/interfaces/segment.interfaces.js +0 -3
  405. package/dist/types/reservations/types/interfaces/segment.interfaces.js.map +0 -1
  406. package/dist/types/reservations/types/interfaces/series.interfaces.d.ts +0 -32
  407. package/dist/types/reservations/types/interfaces/series.interfaces.js +0 -3
  408. package/dist/types/reservations/types/interfaces/series.interfaces.js.map +0 -1
  409. package/dist/types/roles/types/role.consts.d.ts +0 -1
  410. package/dist/types/roles/types/role.consts.js +0 -6
  411. package/dist/types/roles/types/role.consts.js.map +0 -1
  412. package/dist/types/webflow/dto/index.d.ts +0 -1
  413. package/dist/types/webflow/dto/index.js +0 -18
  414. package/dist/types/webflow/dto/index.js.map +0 -1
  415. package/dist/types/webflow/dto/webflowProgram.dto.d.ts +0 -14
  416. package/dist/types/webflow/dto/webflowProgram.dto.js +0 -7
  417. package/dist/types/webflow/dto/webflowProgram.dto.js.map +0 -1
  418. package/dist/types/webflow/entities/WebflowOrganizationConfiguration.js.map +0 -1
  419. package/dist/types/webflow/entities/index.d.ts +0 -1
  420. package/dist/types/webflow/entities/index.js +0 -18
  421. package/dist/types/webflow/entities/index.js.map +0 -1
  422. /package/dist/types/membership/{types → interfaces}/membership.interfaces.js +0 -0
  423. /package/dist/types/notifications/{dto/types → types}/enums/index.d.ts +0 -0
  424. /package/dist/types/notifications/{dto/types → types}/enums/index.js +0 -0
  425. /package/dist/types/{accounting → notifications}/types/index.d.ts +0 -0
  426. /package/dist/types/{accounting → notifications}/types/index.js +0 -0
@@ -14,7 +14,5 @@ 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
- __exportStar(require("./enums"), exports);
19
17
  __exportStar(require("./interfaces"), exports);
20
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,0CAAwB;AACxB,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
@@ -10,7 +10,6 @@ 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';
14
13
  export declare class PunchPassFinancialInfoDto {
15
14
  price: number;
16
15
  invoiceId: number;
@@ -33,7 +32,6 @@ export declare class PunchPassInfoDto {
33
32
  facility: SimpleFacilityDto;
34
33
  financialInfo: PunchPassFinancialInfoDto;
35
34
  payment?: PaymentIdDto;
36
- productUser?: SimpleProductUserDto;
37
35
  }
38
36
  export declare class PunchPassEventDto extends SimpleEventDto {
39
37
  attendeeId: number;
@@ -61,12 +59,3 @@ export declare class GetPassEventsDto {
61
59
  export declare class ByPassIdOrganizationIdUserIdDto extends ByOrganizationAndUserDto {
62
60
  passId: number;
63
61
  }
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,10 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PunchPassUserProductInfoDto = exports.ByPassIdOrganizationIdUserIdDto = exports.GetPassEventsDto = exports.GetPassesOptionsDto = exports.PunchPassEventDto = exports.PunchPassInfoDto = exports.PunchPassFinancialInfoDto = void 0;
3
+ 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");
8
7
  class PunchPassFinancialInfoDto {
9
8
  }
10
9
  exports.PunchPassFinancialInfoDto = PunchPassFinancialInfoDto;
@@ -23,7 +22,4 @@ exports.GetPassEventsDto = GetPassEventsDto;
23
22
  class ByPassIdOrganizationIdUserIdDto extends user_dto_1.ByOrganizationAndUserDto {
24
23
  }
25
24
  exports.ByPassIdOrganizationIdUserIdDto = ByPassIdOrganizationIdUserIdDto;
26
- class PunchPassUserProductInfoDto extends product_user_1.SimpleProductUserDto {
27
- }
28
- exports.PunchPassUserProductInfoDto = PunchPassUserProductInfoDto;
29
25
  //# 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;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
+ {"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,4 +1,3 @@
1
- import { UpdateCartPricesDto } from '../../cart/dto/cart.dto';
2
1
  import { UserAnswersDto } from '../../dto/application.dto';
3
2
  import { Customer } from '../../entity/Customer';
4
3
  import { Invoice } from '../../entity/Invoice';
@@ -130,9 +129,6 @@ export declare class PurchaseCartDto extends InvoiceCartDto implements IPurchase
130
129
  paymentInfo?: PurchasePaymentDto;
131
130
  amountToPay?: number;
132
131
  installments?: ScheduledPaymentDto[];
133
- purchasingUserId?: number;
134
132
  parentPurchasedId?: number;
135
133
  parentPurchasedType?: ResourceNameTypeEnum;
136
- updatePrices?: UpdateCartPricesDto;
137
- addToReservationId?: number;
138
134
  }
@@ -1 +1 @@
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
+ {"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,8 +1,7 @@
1
- import { IUpdateCartPrices, IValidateCartOptions } from '../../../cart/types/interfaces/cart.interfaces';
1
+ import { 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';
6
5
  import { ScheduledPaymentDto } from '../../../payment/dto/payment-plan.dto';
7
6
  import { Payment } from '../../../payment/entities/Payment';
8
7
  import { FuturePaymentStatusEnum, PaymentMethodTypeEnum } from '../../../payment/types/enums/payment.enums';
@@ -10,8 +9,9 @@ import { ISaveInvoicePayment } from '../../../payment/types/interfaces/payment.i
10
9
  import { Product } from '../../../product-pricing/entities/Product';
11
10
  import { ResourceDto } from '../../../resources/dto/resource.dto';
12
11
  import { CurrencyEnum, LineItemsStatusEnum, ProductSubTypesEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../../services/enums.service';
13
- import { User } from '../../../user/entities/User';
14
12
  import { PurchasePaymentDto } from '../../dto/purchase.dto';
13
+ import { User } from '../../../user/entities/User';
14
+ import { Organization } from '../../../organization/entities/Organization';
15
15
  export type UserCount = {
16
16
  male: number;
17
17
  female: number;
@@ -68,8 +68,6 @@ export interface IPurchaseCart extends IInvoiceCart {
68
68
  paymentInfo?: PurchasePaymentDto;
69
69
  amountToPay?: number;
70
70
  installments?: ScheduledPaymentDto[];
71
- purchasingUserId?: number;
72
71
  parentPurchasedId?: number;
73
72
  parentPurchasedType?: ResourceNameTypeEnum;
74
- updatePrices?: IUpdateCartPrices;
75
73
  }
@@ -1,25 +1,16 @@
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';
1
+ import { IAddon, IBaseAddon } from '../types/interfaces/addon.interfaces';
5
2
  import { EditItemsRefundMetaDto } from './reservation.dto';
6
- import { SimpleProductUserDto } from '../../dto/product-user';
7
- export declare class SelectAddonDto {
3
+ declare class BaseAddonDto implements IBaseAddon {
8
4
  productId: number;
9
- quantity?: number;
10
- }
11
- export declare class BaseAddonDto extends SelectAddonDto implements IBaseAddon {
12
5
  unitPrice?: number;
6
+ quantity?: number;
13
7
  totalPrice?: number;
14
- }
15
- export declare class AddonDto extends BaseAddonDto implements IAddon {
16
- id?: number;
17
8
  displayTotalWithTax?: number;
18
9
  displayTotalPrice?: number;
19
10
  displayUnitTax?: number;
20
- level?: ProductPackageLevelEnum;
21
- product?: Product;
22
- productUser?: SimpleProductUserDto;
11
+ }
12
+ export declare class AddonDto extends BaseAddonDto implements IAddon {
13
+ id?: number;
23
14
  }
24
15
  export declare class AddAddonsDto {
25
16
  addons: AddonDto[];
@@ -36,11 +27,7 @@ export declare class EditAddonDto {
36
27
  totalPrice: number;
37
28
  unitPrice?: number;
38
29
  }
39
- export declare class CreateDraftAddonDto extends BaseAddonDto {
30
+ export declare class DraftAddonDto extends BaseAddonDto {
40
31
  id?: string;
41
32
  }
42
- export declare class DraftAddonDto extends BaseAddonDto implements IDraftAddon {
43
- id: string;
44
- product?: SimpleProductDto;
45
- level?: ProductPackageLevelEnum;
46
- }
33
+ export {};
@@ -1,12 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DraftAddonDto = exports.CreateDraftAddonDto = exports.EditAddonDto = exports.EditReservationAddonsDto = exports.EditAddonsDto = exports.AddAddonsDto = exports.AddonDto = exports.BaseAddonDto = exports.SelectAddonDto = void 0;
4
- class SelectAddonDto {
3
+ exports.DraftAddonDto = exports.EditAddonDto = exports.EditReservationAddonsDto = exports.EditAddonsDto = exports.AddAddonsDto = exports.AddonDto = void 0;
4
+ class BaseAddonDto {
5
5
  }
6
- exports.SelectAddonDto = SelectAddonDto;
7
- class BaseAddonDto extends SelectAddonDto {
8
- }
9
- exports.BaseAddonDto = BaseAddonDto;
10
6
  class AddonDto extends BaseAddonDto {
11
7
  }
12
8
  exports.AddonDto = AddonDto;
@@ -22,9 +18,6 @@ exports.EditReservationAddonsDto = EditReservationAddonsDto;
22
18
  class EditAddonDto {
23
19
  }
24
20
  exports.EditAddonDto = EditAddonDto;
25
- class CreateDraftAddonDto extends BaseAddonDto {
26
- }
27
- exports.CreateDraftAddonDto = CreateDraftAddonDto;
28
21
  class DraftAddonDto extends BaseAddonDto {
29
22
  }
30
23
  exports.DraftAddonDto = DraftAddonDto;
@@ -1 +1 @@
1
- {"version":3,"file":"addon.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/addon.dto.ts"],"names":[],"mappings":";;;AAOA,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,YAAa,SAAQ,cAAc;CAI/C;AAJD,oCAIC;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
+ {"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,6 +1,5 @@
1
1
  import { DurationUnitTypesEnum, MaintenanceTimingEnum } from '../types/enums/reservation.enums';
2
- import { IMaintenance } from '../types/interfaces/series.interfaces';
3
- export declare class MaintenanceDto implements IMaintenance {
2
+ export declare class MaintenanceDto {
4
3
  title: string;
5
4
  durationValue: number;
6
5
  maintenanceDurationdurationType: DurationUnitTypesEnum;
@@ -1 +1 @@
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
+ {"version":3,"file":"maintenance.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/maintenance.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,cAAc;CAQ1B;AARD,wCAQC"}
@@ -1,31 +1,23 @@
1
- import { UpdateCartPricesDto } from '../../cart/dto/cart.dto';
2
- import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
3
- import { FacilityDto } from '../../dto/facilities.dto';
4
1
  import { PaginationQuery } from '../../dto/general.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';
2
+ import { InvoiceDto, UpdateInvoiceDto, UpdateInvoiceOptionsDto } from '../../invoice/dto/invoice.dto';
8
3
  import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
9
- import { PaymentMethodToFundLeftDto } from '../../payment/dto/payment-method.dto';
10
4
  import { PaymentMethodDto, RefundAmountDto } from '../../payment/dto/refund.dto';
11
5
  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';
14
6
  import { Product } from '../../product-pricing/entities/Product';
15
7
  import { PurchasePaymentDto, PurchaseResultDto } from '../../purchase/dto/purchase.dto';
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';
8
+ import { AddonParentTypeEnum, NotifyMethodEnum, PlatformsEnum, ProgramTypesEnum, ResourceNameTypeEnum, ResourceTypeEnum, SportsEnum, UpdatePricesTypeEnum } from '../../services/enums.service';
20
9
  import { Reservation } from '../entities/reservation.entity';
21
10
  import { PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
22
- import { ISegmentsAddons } from '../types/interfaces/addon.interfaces';
23
- import { IBaseReservation, IBaseReservationItemLineItem, IDraftReservation, IDuplicateDetails, IDuplicateReservationItems, IEditItemsRefundMetadata, IEditSlotsFinancialDetails, IExtendDraftSlotsOptions, IGetDraftReservationAddonsQuery, IGetDraftReservationOptions, IGetDraftReservationSlotsFilter, IGetDraftReservationSlotsOptions, IProductPrice, IRemoveSlotsFinancialData, ISaveReservationOptions } from '../types/interfaces/reservation.interfaces';
24
- import { AddonDto, CreateDraftAddonDto, DraftAddonDto } from './addon.dto';
11
+ import { IGetDraftReservationAddonsQuery, IGetDraftReservationOptions, IGetDraftReservationSlotsFilter, IGetDraftReservationSlotsOptions, ISaveReservationOptions } from '../types/interfaces/reservation.interfaces';
12
+ import { AddonDto, DraftAddonDto } from './addon.dto';
25
13
  import { CreateDraftSegmentDto, DraftSegmentDto, SegmentDto } from './segment.dto';
26
14
  import { SeriesDto } from './series.dto';
27
- import { DraftSlotsDto, SlotDto, TimeSlotConflictsDto, UpdateDraftSlotDto, UpdateSlotsColorsDto } from './slot.dto';
28
- export declare class ProductPricesDto implements IProductPrice {
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 {
29
21
  productId: number;
30
22
  product?: Product;
31
23
  price?: number;
@@ -34,7 +26,7 @@ export declare class ProductPricesDto implements IProductPrice {
34
26
  quantity?: number;
35
27
  totalPrice?: number;
36
28
  }
37
- declare class BaseReservationDto implements IBaseReservation {
29
+ declare class BaseReservationDto {
38
30
  organizationId?: number;
39
31
  name: string;
40
32
  reservationType: ReservationTypeEnum;
@@ -50,49 +42,16 @@ declare class BaseReservationDto implements IBaseReservation {
50
42
  overrideProductsPrice?: OverrideProductsPricingDto;
51
43
  colorCodeId?: number;
52
44
  customerId?: number;
53
- addToReservationId?: number;
54
45
  }
55
- export declare class SimpleReservationDto extends BaseReservationDto {
46
+ export declare class ReservationDto extends BaseReservationDto {
56
47
  id?: number;
57
48
  status?: ReservationStatusEnum;
58
49
  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 {
67
50
  segments: SegmentDto[];
68
51
  addons?: AddonDto[];
69
52
  targetGlobalPrice?: number;
70
53
  userId?: number;
71
54
  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;
96
55
  }
97
56
  export declare class CreateDraftReservationDto extends BaseReservationDto {
98
57
  id?: string;
@@ -101,33 +60,25 @@ export declare class SimpleDraftReservationDto extends CreateDraftReservationDto
101
60
  id: string;
102
61
  conflictsCount?: number;
103
62
  }
104
- export declare class DraftReservationDto extends SimpleDraftReservationDto implements IDraftReservation {
105
- segments: DraftSegmentDto[];
63
+ export declare class DraftReservationDto extends SimpleDraftReservationDto {
64
+ segments?: DraftSegmentDto[];
106
65
  addons?: DraftAddonDto[];
107
66
  owner?: SimpleCustomerDto;
108
67
  participants?: SimpleCustomerDto[];
109
- products?: ProductDto[];
110
- spaces?: SpaceResourceDto[];
111
- instructors?: InstructorResourceDto[];
112
- facilities: FacilityDto[];
113
- segmentsAddons?: SegmentsAddonsDto[];
114
- duplicateDetails?: DuplicatedDetailsDto;
115
- combinedSlots?: DraftSlotsDto[];
68
+ products?: SimpleProductDto[];
69
+ spaces?: SimpleResourceDto[];
70
+ instructors?: SimpleResourceDto[];
116
71
  }
117
72
  export declare class ReservationInvoiceDto {
118
73
  reservation: ReservationDto;
119
74
  invoice: InvoiceDto;
120
75
  debug: any;
121
76
  }
122
- export declare class CreateReservationCartDto implements ISaveReservationOptions {
123
- platform?: PlatformsEnum;
124
- shiftId?: number;
125
- updatePrices?: UpdateCartPricesDto;
126
- addToReservationId?: number;
127
- }
128
- export declare class SaveReservationDto extends CreateReservationCartDto implements ISaveReservationOptions {
77
+ export declare class SaveReservationDto implements ISaveReservationOptions {
129
78
  reservation: ReservationDto;
130
79
  slotType?: SlotTypeEnum;
80
+ platform?: PlatformsEnum;
81
+ shiftId?: number;
131
82
  }
132
83
  export declare class SingleReservationIncludesDto {
133
84
  includeCustomer?: boolean;
@@ -197,7 +148,7 @@ export declare class FindSlotsByFacilityIdFiltersDto {
197
148
  activityTypes?: SportsEnum[];
198
149
  includeActivityTimes?: boolean;
199
150
  }
200
- export declare class IncludeConflictsOptionsDto {
151
+ export declare class getSlotsSlotCardDto {
201
152
  includeConflicts?: boolean;
202
153
  }
203
154
  export declare class getSlotFQueryParamsDto {
@@ -206,18 +157,12 @@ export declare class getSlotFQueryParamsDto {
206
157
  export declare class FindByReservationDto extends ByOrganizationIdDto {
207
158
  reservationId: number;
208
159
  }
209
- export declare class DuplicateSlotDto extends FindByReservationDto {
210
- slotId: number;
211
- }
212
160
  export declare class FindByFacilityDto extends FindByReservationDto {
213
161
  facilityId: number;
214
162
  }
215
163
  export declare class FindBySegmentDto extends FindByFacilityDto {
216
164
  segmentId: number;
217
165
  }
218
- export declare class FindBySlotIdsDto {
219
- slotsIds: number[];
220
- }
221
166
  export declare class UpdateReservationStatusDto extends FindByReservationDto {
222
167
  status: ReservationStatusEnum;
223
168
  }
@@ -244,12 +189,6 @@ export declare class EditReservationDetailsDto {
244
189
  publicNotes?: string;
245
190
  privateNotes?: string;
246
191
  }
247
- export declare class RemoveSlotsFinancialDataDto implements IRemoveSlotsFinancialData {
248
- paymentMethods: PaymentMethodToFundLeftDto[];
249
- lineItems: SlotsLineItemDataDto[];
250
- nextFinancialStep: FinancialStepEnum;
251
- invoice: Invoice;
252
- }
253
192
  export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
254
193
  updateAddons?: boolean;
255
194
  updateMaintenance?: boolean;
@@ -281,9 +220,10 @@ export declare class AddSlotToSegmenResultDto {
281
220
  export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
282
221
  reservationTotalPrice: number;
283
222
  }
284
- export declare class InvoiceReservationItemsDto extends InvoiceCartDto {
223
+ export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
285
224
  slotsIds?: number[];
286
225
  addonsIds?: number[];
226
+ purchasingUserId?: number;
287
227
  }
288
228
  export declare class AddSlotsDto extends UpdateInvoiceDto {
289
229
  slots: SlotDto[];
@@ -302,16 +242,10 @@ export declare class GetDraftReservationSlotsFiltersDto extends PaginationQuery
302
242
  startDate?: Date;
303
243
  endDate?: Date;
304
244
  includeResources?: boolean;
305
- includeOwner?: boolean;
306
- includeMaintenanceSlots?: boolean;
307
- orderBy?: OrderByEnum;
308
245
  }
309
246
  export declare class ByDraftReservationIdDto extends ByOrganizationIdDto {
310
247
  reservationId: string;
311
248
  }
312
- export declare class ByRentalProductId extends ByOrganizationIdDto {
313
- productId: number;
314
- }
315
249
  export declare class SimpleDraftSegmentDto {
316
250
  id: string;
317
251
  name: string;
@@ -335,19 +269,8 @@ export declare class GetDraftReservationOptionsDto implements IGetDraftReservati
335
269
  includeProducts?: boolean;
336
270
  includeParticipants?: boolean;
337
271
  includeSegments?: boolean;
338
- includeMaintenanceSlots?: boolean;
339
- includeSlots?: boolean;
340
- plainReservation?: boolean;
341
- includeFacilities?: boolean;
342
- }
343
- export declare class GetDraftSlotsOptions implements IExtendDraftSlotsOptions {
344
- includeResources?: boolean;
345
- includeConflicts?: boolean;
346
- includeParticipants?: boolean;
347
- includeMaintenanceSlots?: boolean;
348
- includeFacilities?: boolean;
349
272
  }
350
- export declare class DraftIdsDto extends GetDraftSlotsOptions {
273
+ export declare class DraftIdsDto {
351
274
  ids: string[];
352
275
  }
353
276
  export declare class ByDraftSlotIdDto extends ByDraftReservationIdDto {
@@ -358,74 +281,4 @@ export declare class GenerateReservationDto {
358
281
  addSegments?: CreateDraftSegmentDto[];
359
282
  removeSegmentsIds?: string[];
360
283
  }
361
- export declare class UpdateDraftSlotsDto {
362
- slots: UpdateDraftSlotDto[];
363
- slotsIds?: string[];
364
- overrideProducts?: boolean;
365
- }
366
- export declare class SegmentsAddonsGroupDto extends BaseSegmentsAddonsGroupDto {
367
- products: SimpleProductDto[];
368
- }
369
- export declare class ReservationAddonsDto {
370
- reservation: DraftAddonDto[];
371
- segments: SegmentsAddonsGroupDto[];
372
- }
373
- export declare class CreateReservationAddonsDto {
374
- reservation?: CreateDraftAddonDto[];
375
- removeByIds?: string[];
376
- segments?: CreateSegmentsAddonsDto[];
377
- removeBySegmentIds?: string[];
378
- removeByGroupIds?: string[];
379
- }
380
- export declare class ProblematicProductDto {
381
- product: SimpleProductDto;
382
- isAddon?: boolean;
383
- level?: ProductPackageLevelEnum;
384
- }
385
- export declare class PaginatedSlotsSharedDto {
386
- totalSlots?: number;
387
- }
388
- export declare class DuplicateReservationDto {
389
- isEdit?: boolean;
390
- }
391
- export declare class DuplicateReservationItemsDto extends DuplicateReservationDto implements IDuplicateReservationItems {
392
- slotsIds?: number[];
393
- excludeIds?: number[];
394
- reservationAddonsIds?: number[];
395
- combineSlots?: boolean;
396
- includedFields?: string[];
397
- }
398
- export declare class ReservationItemLineDto {
399
- id: number;
400
- amount: number;
401
- amountPaid: number;
402
- quantity: number;
403
- canVoid: boolean;
404
- canRefund: boolean;
405
- isEdit?: boolean;
406
- slotsIds?: number[];
407
- addonsIds?: number[];
408
- }
409
- export declare class EditItemsRefundMetadataDto implements IEditItemsRefundMetadata {
410
- lineItems: ReservationItemLineDto[];
411
- refundAmount: number;
412
- }
413
- export declare class EditSlotsFinancialDetailsDto implements IEditSlotsFinancialDetails {
414
- nextFinancialStep: FinancialStepEnum;
415
- paymentMethods?: PaymentMethodToFundLeftDto[];
416
- originalInvoicePrice?: number;
417
- updatedInvoicePrice?: number;
418
- originalItemsPrice?: number;
419
- updatedItemsPrice?: number;
420
- priceChange?: number;
421
- refundMetadata?: EditItemsRefundMetadataDto;
422
- conflicts?: TimeSlotConflictsDto[];
423
- }
424
- export declare class EditSlotsRefundMetadataDto {
425
- refundMetadata?: EditItemsRefundMetaDto;
426
- }
427
- export declare class EditReservationItemsResultDto {
428
- invoice: SimpleInvoiceDto;
429
- refundResult?: RefundResult;
430
- }
431
284
  export {};