@bondsports/types 2.2.284-b-1 → 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 (480) 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/application.dto.d.ts +0 -8
  30. package/dist/types/dto/application.dto.js +1 -4
  31. package/dist/types/dto/application.dto.js.map +1 -1
  32. package/dist/types/dto/events.dto.d.ts +2 -4
  33. package/dist/types/dto/events.dto.js.map +1 -1
  34. package/dist/types/dto/facilities.dto.d.ts +9 -2
  35. package/dist/types/dto/facilities.dto.js +4 -1
  36. package/dist/types/dto/facilities.dto.js.map +1 -1
  37. package/dist/types/dto/general.dto.d.ts +5 -11
  38. package/dist/types/dto/general.dto.js +2 -4
  39. package/dist/types/dto/general.dto.js.map +1 -1
  40. package/dist/types/dto/groupsDivisions.dto.d.ts +2 -15
  41. package/dist/types/dto/groupsDivisions.dto.js +3 -6
  42. package/dist/types/dto/groupsDivisions.dto.js.map +1 -1
  43. package/dist/types/dto/membership.dto.d.ts +1 -17
  44. package/dist/types/dto/membership.dto.js.map +1 -1
  45. package/dist/types/dto/product-user.d.ts +0 -10
  46. package/dist/types/dto/product-user.js +1 -7
  47. package/dist/types/dto/product-user.js.map +1 -1
  48. package/dist/types/dto/product-variants.dto.d.ts +14 -2
  49. package/dist/types/dto/product-variants.dto.js +5 -2
  50. package/dist/types/dto/product-variants.dto.js.map +1 -1
  51. package/dist/types/dto/userPaymentMethod.dto.d.ts +0 -4
  52. package/dist/types/dto/userPaymentMethod.dto.js +1 -4
  53. package/dist/types/dto/userPaymentMethod.dto.js.map +1 -1
  54. package/dist/types/employees/dto/employee.dto.d.ts +5 -21
  55. package/dist/types/employees/dto/employee.dto.js +1 -8
  56. package/dist/types/employees/dto/employee.dto.js.map +1 -1
  57. package/dist/types/employees/types/index.d.ts +0 -1
  58. package/dist/types/employees/types/index.js +0 -1
  59. package/dist/types/employees/types/index.js.map +1 -1
  60. package/dist/types/entity/ActivityTimes.d.ts +3 -4
  61. package/dist/types/entity/ActivityTimes.js.map +1 -1
  62. package/dist/types/{address/entities → entity}/Address.d.ts +1 -1
  63. package/dist/types/{address/entities → entity}/Address.js +1 -1
  64. package/dist/types/entity/Address.js.map +1 -0
  65. package/dist/types/entity/Customer.d.ts +1 -3
  66. package/dist/types/entity/Customer.js.map +1 -1
  67. package/dist/types/entity/EventAttendees.d.ts +6 -6
  68. package/dist/types/entity/EventAttendees.js.map +1 -1
  69. package/dist/types/entity/EventHistory.d.ts +1 -1
  70. package/dist/types/entity/EventHistory.js.map +1 -1
  71. package/dist/types/entity/Events.js.map +1 -1
  72. package/dist/types/entity/Facility.d.ts +1 -1
  73. package/dist/types/entity/LineItems.d.ts +0 -3
  74. package/dist/types/entity/LineItems.js.map +1 -1
  75. package/dist/types/entity/MembershipMember.d.ts +0 -11
  76. package/dist/types/entity/MembershipMember.js.map +1 -1
  77. package/dist/types/entity/PackageV1.d.ts +0 -2
  78. package/dist/types/entity/PackageV1.js.map +1 -1
  79. package/dist/types/{webflow/entities → entity}/WebflowOrganizationConfiguration.d.ts +1 -1
  80. package/dist/types/{webflow/entities → entity}/WebflowOrganizationConfiguration.js +1 -1
  81. package/dist/types/entity/WebflowOrganizationConfiguration.js.map +1 -0
  82. package/dist/types/entity/index.d.ts +2 -0
  83. package/dist/types/entity/index.js +2 -0
  84. package/dist/types/entity/index.js.map +1 -1
  85. package/dist/types/import/dto/reservation.dto.js.map +1 -1
  86. package/dist/types/index.d.ts +0 -5
  87. package/dist/types/index.js +0 -5
  88. package/dist/types/index.js.map +1 -1
  89. package/dist/types/invoice/dto/invoice.dto.d.ts +0 -19
  90. package/dist/types/invoice/dto/invoice.dto.js +1 -5
  91. package/dist/types/invoice/dto/invoice.dto.js.map +1 -1
  92. package/dist/types/invoice/types/consts/invoice.consts.d.ts +0 -10
  93. package/dist/types/invoice/types/consts/invoice.consts.js +1 -10
  94. package/dist/types/invoice/types/consts/invoice.consts.js.map +1 -1
  95. package/dist/types/invoice/types/interfaces/index.d.ts +0 -1
  96. package/dist/types/invoice/types/interfaces/index.js +0 -1
  97. package/dist/types/invoice/types/interfaces/index.js.map +1 -1
  98. package/dist/types/invoice/types/interfaces/invoice.interfaces.d.ts +1 -5
  99. package/dist/types/invoice/types/interfaces/invoice.interfaces.js.map +1 -1
  100. package/dist/types/membership/entities/MembershipMemberRenewal.d.ts +0 -9
  101. package/dist/types/membership/entities/MembershipMemberRenewal.js.map +1 -1
  102. package/dist/types/membership/index.d.ts +1 -2
  103. package/dist/types/membership/index.js +1 -2
  104. package/dist/types/membership/index.js.map +1 -1
  105. package/dist/types/membership/interfaces/index.d.ts +1 -0
  106. package/dist/types/{address/dto → membership/interfaces}/index.js +1 -1
  107. package/dist/types/membership/interfaces/index.js.map +1 -0
  108. package/dist/types/membership/{types → interfaces}/membership.interfaces.d.ts +0 -19
  109. package/dist/types/membership/interfaces/membership.interfaces.js.map +1 -0
  110. package/dist/types/notifications/dto/index.d.ts +0 -1
  111. package/dist/types/notifications/dto/index.js +0 -1
  112. package/dist/types/notifications/dto/index.js.map +1 -1
  113. package/dist/types/notifications/dto/notification.create.dto.d.ts +6 -6
  114. package/dist/types/notifications/dto/notification.create.dto.js +6 -6
  115. package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
  116. package/dist/types/notifications/dto/notification.response.dto.d.ts +3 -3
  117. package/dist/types/notifications/dto/notification.response.dto.js.map +1 -1
  118. package/dist/types/notifications/index.d.ts +1 -0
  119. package/dist/types/notifications/index.js +1 -0
  120. package/dist/types/notifications/index.js.map +1 -1
  121. package/dist/types/notifications/types/enums/index.js.map +1 -0
  122. package/dist/types/notifications/types/enums/notification.enums.d.ts +30 -0
  123. package/dist/types/notifications/types/enums/notification.enums.js +41 -0
  124. package/dist/types/notifications/types/enums/notification.enums.js.map +1 -0
  125. package/dist/types/notifications/types/index.js.map +1 -0
  126. package/dist/types/organization/entities/Organization.d.ts +1 -1
  127. package/dist/types/organization/interfaces/index.d.ts +0 -1
  128. package/dist/types/organization/interfaces/index.js +0 -1
  129. package/dist/types/organization/interfaces/index.js.map +1 -1
  130. package/dist/types/payment/dto/payment-method.dto.d.ts +3 -12
  131. package/dist/types/payment/dto/payment-method.dto.js +1 -4
  132. package/dist/types/payment/dto/payment-method.dto.js.map +1 -1
  133. package/dist/types/payment/dto/payment-plan.dto.d.ts +4 -6
  134. package/dist/types/payment/dto/payment-plan.dto.js.map +1 -1
  135. package/dist/types/payment/entities/PaymentFailures.d.ts +0 -1
  136. package/dist/types/payment/entities/PaymentFailures.js.map +1 -1
  137. package/dist/types/payment/entities/ProductPaymentPlan.d.ts +2 -3
  138. package/dist/types/payment/entities/ProductPaymentPlan.js.map +1 -1
  139. package/dist/types/payment/types/consts/payment.consts.d.ts +0 -1
  140. package/dist/types/payment/types/consts/payment.consts.js +1 -5
  141. package/dist/types/payment/types/consts/payment.consts.js.map +1 -1
  142. package/dist/types/payment/types/enums/payment-plan.enums.d.ts +7 -0
  143. package/dist/types/payment/types/enums/payment-plan.enums.js +9 -1
  144. package/dist/types/payment/types/enums/payment-plan.enums.js.map +1 -1
  145. package/dist/types/payment/types/enums/payment.enums.d.ts +2 -4
  146. package/dist/types/payment/types/enums/payment.enums.js +0 -2
  147. package/dist/types/payment/types/enums/payment.enums.js.map +1 -1
  148. package/dist/types/payment/types/interfaces/discount.interfaces.d.ts +1 -1
  149. package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +0 -16
  150. package/dist/types/pricing/dto/price.dto.d.ts +1 -3
  151. package/dist/types/pricing/dto/price.dto.js.map +1 -1
  152. package/dist/types/pricing/dto/pricing.dto.d.ts +2 -2
  153. package/dist/types/pricing/entities/Price.d.ts +2 -3
  154. package/dist/types/pricing/entities/Price.js.map +1 -1
  155. package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +0 -2
  156. package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
  157. package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +0 -2
  158. package/dist/types/programs/dto/program.dto.d.ts +2 -5
  159. package/dist/types/programs/dto/program.dto.js +1 -4
  160. package/dist/types/programs/dto/program.dto.js.map +1 -1
  161. package/dist/types/programs-seasons/dto/index.d.ts +0 -1
  162. package/dist/types/programs-seasons/dto/index.js +0 -1
  163. package/dist/types/programs-seasons/dto/index.js.map +1 -1
  164. package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +0 -23
  165. package/dist/types/programs-seasons/dto/program-seasons.dto.js +1 -10
  166. package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
  167. package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +1 -5
  168. package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
  169. package/dist/types/programs-seasons/types/index.d.ts +0 -2
  170. package/dist/types/programs-seasons/types/index.js +0 -2
  171. package/dist/types/programs-seasons/types/index.js.map +1 -1
  172. package/dist/types/programs-seasons/types/interfaces/program-season.interfaces.d.ts +1 -18
  173. package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +0 -11
  174. package/dist/types/punch-pass/dto/punch-pass.dto.js +1 -5
  175. package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
  176. package/dist/types/purchase/dto/purchase.dto.d.ts +0 -4
  177. package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
  178. package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +3 -5
  179. package/dist/types/reservations/dto/addon.dto.d.ts +8 -21
  180. package/dist/types/reservations/dto/addon.dto.js +2 -9
  181. package/dist/types/reservations/dto/addon.dto.js.map +1 -1
  182. package/dist/types/reservations/dto/maintenance.dto.d.ts +1 -2
  183. package/dist/types/reservations/dto/maintenance.dto.js.map +1 -1
  184. package/dist/types/reservations/dto/reservation.dto.d.ts +24 -171
  185. package/dist/types/reservations/dto/reservation.dto.js +7 -86
  186. package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
  187. package/dist/types/reservations/dto/segment.dto.d.ts +4 -5
  188. package/dist/types/reservations/dto/segment.dto.js.map +1 -1
  189. package/dist/types/reservations/dto/series.dto.d.ts +4 -7
  190. package/dist/types/reservations/dto/series.dto.js.map +1 -1
  191. package/dist/types/reservations/dto/slot.dto.d.ts +26 -106
  192. package/dist/types/reservations/dto/slot.dto.js +7 -25
  193. package/dist/types/reservations/dto/slot.dto.js.map +1 -1
  194. package/dist/types/reservations/dto/v1.reservation.dto.d.ts +0 -1
  195. package/dist/types/reservations/dto/v1.reservation.dto.js.map +1 -1
  196. package/dist/types/reservations/entities/SlotToResource.d.ts +0 -4
  197. package/dist/types/reservations/entities/SlotToResource.js.map +1 -1
  198. package/dist/types/reservations/entities/addon.entity.d.ts +0 -1
  199. package/dist/types/reservations/entities/addon.entity.js.map +1 -1
  200. package/dist/types/reservations/entities/reservation.entity.d.ts +7 -6
  201. package/dist/types/reservations/entities/reservation.entity.js.map +1 -1
  202. package/dist/types/reservations/entities/slot.entity.d.ts +3 -10
  203. package/dist/types/reservations/entities/slot.entity.js.map +1 -1
  204. package/dist/types/reservations/types/consts/index.d.ts +0 -1
  205. package/dist/types/reservations/types/consts/index.js +0 -1
  206. package/dist/types/reservations/types/consts/index.js.map +1 -1
  207. package/dist/types/reservations/types/consts/reservation.consts.d.ts +1 -12
  208. package/dist/types/reservations/types/consts/reservation.consts.js +1 -18
  209. package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
  210. package/dist/types/reservations/types/enums/reservation.enums.d.ts +1 -2
  211. package/dist/types/reservations/types/enums/reservation.enums.js +0 -1
  212. package/dist/types/reservations/types/enums/reservation.enums.js.map +1 -1
  213. package/dist/types/reservations/types/index.d.ts +0 -1
  214. package/dist/types/reservations/types/index.js +0 -1
  215. package/dist/types/reservations/types/index.js.map +1 -1
  216. package/dist/types/reservations/types/interfaces/addon.interfaces.d.ts +2 -18
  217. package/dist/types/reservations/types/interfaces/index.d.ts +0 -2
  218. package/dist/types/reservations/types/interfaces/index.js +0 -2
  219. package/dist/types/reservations/types/interfaces/index.js.map +1 -1
  220. package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +19 -160
  221. package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
  222. package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +24 -61
  223. package/dist/types/reservations/types/interfaces/slot.interfaces.js +0 -4
  224. package/dist/types/reservations/types/interfaces/slot.interfaces.js.map +1 -1
  225. package/dist/types/reservations/types/reservation.types.d.ts +11 -23
  226. package/dist/types/resources/dto/instructor.dto.d.ts +1 -1
  227. package/dist/types/resources/dto/instructor.dto.js.map +1 -1
  228. package/dist/types/resources/dto/space.dto.d.ts +0 -1
  229. package/dist/types/resources/dto/space.dto.js.map +1 -1
  230. package/dist/types/resources/entities/Instructor.d.ts +2 -2
  231. package/dist/types/resources/entities/Instructor.js.map +1 -1
  232. package/dist/types/resources/entities/Space.d.ts +1 -1
  233. package/dist/types/resources/entities/Space.js.map +1 -1
  234. package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +0 -6
  235. package/dist/types/roles/dto/permission-group.dto.d.ts +0 -4
  236. package/dist/types/roles/dto/permission-group.dto.js +1 -8
  237. package/dist/types/roles/dto/permission-group.dto.js.map +1 -1
  238. package/dist/types/roles/dto/role.dto.d.ts +12 -27
  239. package/dist/types/roles/dto/role.dto.js +5 -23
  240. package/dist/types/roles/dto/role.dto.js.map +1 -1
  241. package/dist/types/roles/entities/Role.d.ts +2 -3
  242. package/dist/types/roles/entities/Role.js.map +1 -1
  243. package/dist/types/roles/entities/index.d.ts +0 -6
  244. package/dist/types/roles/entities/index.js +0 -10
  245. package/dist/types/roles/entities/index.js.map +1 -1
  246. package/dist/types/roles/types/index.d.ts +0 -1
  247. package/dist/types/roles/types/index.js +0 -1
  248. package/dist/types/roles/types/index.js.map +1 -1
  249. package/dist/types/roles/types/role.enums.d.ts +2 -13
  250. package/dist/types/roles/types/role.enums.js +1 -13
  251. package/dist/types/roles/types/role.enums.js.map +1 -1
  252. package/dist/types/services/enums.service.d.ts +2 -27
  253. package/dist/types/services/enums.service.js +3 -32
  254. package/dist/types/services/enums.service.js.map +1 -1
  255. package/dist/types/services/interfaces.service.d.ts +3 -21
  256. package/dist/types/services/interfaces.service.js.map +1 -1
  257. package/dist/types/shifts/entities/shift.entity.d.ts +1 -1
  258. package/dist/types/user/dto/user-settings.dto.d.ts +1 -1
  259. package/dist/types/user/dto/user.dto.d.ts +1 -1
  260. package/dist/types/user/dto/user.dto.js.map +1 -1
  261. package/dist/types/user/entities/User.d.ts +1 -3
  262. package/dist/types/user/entities/User.js.map +1 -1
  263. package/dist/types/user/types/user.interfaces.d.ts +0 -15
  264. package/dist/types/user-identification/dto/user-identifier.dto.d.ts +0 -3
  265. package/dist/types/user-identification/dto/user-identifier.dto.js +1 -7
  266. package/dist/types/user-identification/dto/user-identifier.dto.js.map +1 -1
  267. package/dist/types/user-identification/entities/UserIdentifier.d.ts +0 -2
  268. package/dist/types/user-identification/entities/UserIdentifier.js.map +1 -1
  269. package/dist/types/util/models/interfaces/general.interfaces.d.ts +1 -2
  270. package/dist/types/webflow/index.d.ts +0 -2
  271. package/dist/types/webflow/index.js +0 -2
  272. package/dist/types/webflow/index.js.map +1 -1
  273. package/package.json +54 -54
  274. package/dist/types/accounting/entities/index.d.ts +0 -2
  275. package/dist/types/accounting/entities/index.js +0 -19
  276. package/dist/types/accounting/entities/index.js.map +0 -1
  277. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.d.ts +0 -9
  278. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js +0 -8
  279. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js.map +0 -1
  280. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.d.ts +0 -14
  281. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js +0 -8
  282. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js.map +0 -1
  283. package/dist/types/accounting/index.d.ts +0 -2
  284. package/dist/types/accounting/index.js +0 -19
  285. package/dist/types/accounting/index.js.map +0 -1
  286. package/dist/types/accounting/types/enums/accounting.enums.d.ts +0 -14
  287. package/dist/types/accounting/types/enums/accounting.enums.js +0 -20
  288. package/dist/types/accounting/types/enums/accounting.enums.js.map +0 -1
  289. package/dist/types/accounting/types/enums/index.d.ts +0 -1
  290. package/dist/types/accounting/types/enums/index.js +0 -18
  291. package/dist/types/accounting/types/enums/index.js.map +0 -1
  292. package/dist/types/accounting/types/index.js.map +0 -1
  293. package/dist/types/address/dto/address.dto.d.ts +0 -9
  294. package/dist/types/address/dto/address.dto.js +0 -7
  295. package/dist/types/address/dto/address.dto.js.map +0 -1
  296. package/dist/types/address/dto/index.d.ts +0 -1
  297. package/dist/types/address/dto/index.js.map +0 -1
  298. package/dist/types/address/entities/Address.js.map +0 -1
  299. package/dist/types/address/entities/index.d.ts +0 -1
  300. package/dist/types/address/entities/index.js +0 -18
  301. package/dist/types/address/entities/index.js.map +0 -1
  302. package/dist/types/cart/types/classes/cart.classes.d.ts +0 -9
  303. package/dist/types/cart/types/classes/cart.classes.js +0 -7
  304. package/dist/types/cart/types/classes/cart.classes.js.map +0 -1
  305. package/dist/types/cart/types/classes/index.d.ts +0 -1
  306. package/dist/types/cart/types/classes/index.js +0 -18
  307. package/dist/types/cart/types/classes/index.js.map +0 -1
  308. package/dist/types/employees/types/consts/index.d.ts +0 -3
  309. package/dist/types/employees/types/consts/index.js +0 -25
  310. package/dist/types/employees/types/consts/index.js.map +0 -1
  311. package/dist/types/facilities/index.d.ts +0 -1
  312. package/dist/types/facilities/index.js +0 -18
  313. package/dist/types/facilities/index.js.map +0 -1
  314. package/dist/types/facilities/types/facilities.types.d.ts +0 -4
  315. package/dist/types/facilities/types/facilities.types.js +0 -3
  316. package/dist/types/facilities/types/facilities.types.js.map +0 -1
  317. package/dist/types/facilities/types/index.d.ts +0 -1
  318. package/dist/types/facilities/types/index.js +0 -18
  319. package/dist/types/facilities/types/index.js.map +0 -1
  320. package/dist/types/folders/dto/folder.dto.d.ts +0 -58
  321. package/dist/types/folders/dto/folder.dto.js +0 -34
  322. package/dist/types/folders/dto/folder.dto.js.map +0 -1
  323. package/dist/types/folders/dto/index.d.ts +0 -1
  324. package/dist/types/folders/dto/index.js +0 -18
  325. package/dist/types/folders/dto/index.js.map +0 -1
  326. package/dist/types/folders/entities/folder-content.entity.d.ts +0 -12
  327. package/dist/types/folders/entities/folder-content.entity.js +0 -14
  328. package/dist/types/folders/entities/folder-content.entity.js.map +0 -1
  329. package/dist/types/folders/entities/folder-invite.entity.d.ts +0 -8
  330. package/dist/types/folders/entities/folder-invite.entity.js +0 -8
  331. package/dist/types/folders/entities/folder-invite.entity.js.map +0 -1
  332. package/dist/types/folders/entities/folder.entity.d.ts +0 -21
  333. package/dist/types/folders/entities/folder.entity.js +0 -12
  334. package/dist/types/folders/entities/folder.entity.js.map +0 -1
  335. package/dist/types/folders/entities/index.d.ts +0 -3
  336. package/dist/types/folders/entities/index.js +0 -20
  337. package/dist/types/folders/entities/index.js.map +0 -1
  338. package/dist/types/folders/index.d.ts +0 -2
  339. package/dist/types/folders/index.js +0 -19
  340. package/dist/types/folders/index.js.map +0 -1
  341. package/dist/types/invoice/types/interfaces/line-item.interfaces.d.ts +0 -7
  342. package/dist/types/invoice/types/interfaces/line-item.interfaces.js +0 -3
  343. package/dist/types/invoice/types/interfaces/line-item.interfaces.js.map +0 -1
  344. package/dist/types/membership/dto/expendedMembership.dto.d.ts +0 -15
  345. package/dist/types/membership/dto/expendedMembership.dto.js +0 -7
  346. package/dist/types/membership/dto/expendedMembership.dto.js.map +0 -1
  347. package/dist/types/membership/dto/index.d.ts +0 -2
  348. package/dist/types/membership/dto/index.js +0 -19
  349. package/dist/types/membership/dto/index.js.map +0 -1
  350. package/dist/types/membership/dto/membershipMember.dto.d.ts +0 -103
  351. package/dist/types/membership/dto/membershipMember.dto.js +0 -45
  352. package/dist/types/membership/dto/membershipMember.dto.js.map +0 -1
  353. package/dist/types/membership/types/index.d.ts +0 -5
  354. package/dist/types/membership/types/index.js +0 -22
  355. package/dist/types/membership/types/index.js.map +0 -1
  356. package/dist/types/membership/types/membership.interfaces.js.map +0 -1
  357. package/dist/types/membership/types/membership.member.classes.d.ts +0 -14
  358. package/dist/types/membership/types/membership.member.classes.js +0 -7
  359. package/dist/types/membership/types/membership.member.classes.js.map +0 -1
  360. package/dist/types/membership/types/membership.member.consts.d.ts +0 -3
  361. package/dist/types/membership/types/membership.member.consts.js +0 -8
  362. package/dist/types/membership/types/membership.member.consts.js.map +0 -1
  363. package/dist/types/membership/types/membership.members.interfaces.d.ts +0 -86
  364. package/dist/types/membership/types/membership.members.interfaces.js +0 -3
  365. package/dist/types/membership/types/membership.members.interfaces.js.map +0 -1
  366. package/dist/types/membership/types/membership.members.types.d.ts +0 -4
  367. package/dist/types/membership/types/membership.members.types.js +0 -3
  368. package/dist/types/membership/types/membership.members.types.js.map +0 -1
  369. package/dist/types/notifications/dto/types/enums/index.js.map +0 -1
  370. package/dist/types/notifications/dto/types/enums/notification.enums.d.ts +0 -2
  371. package/dist/types/notifications/dto/types/enums/notification.enums.js +0 -8
  372. package/dist/types/notifications/dto/types/enums/notification.enums.js.map +0 -1
  373. package/dist/types/notifications/dto/types/index.d.ts +0 -1
  374. package/dist/types/notifications/dto/types/index.js +0 -18
  375. package/dist/types/notifications/dto/types/index.js.map +0 -1
  376. package/dist/types/online-rentals/index.d.ts +0 -1
  377. package/dist/types/online-rentals/index.js +0 -18
  378. package/dist/types/online-rentals/index.js.map +0 -1
  379. package/dist/types/online-rentals/types/index.d.ts +0 -2
  380. package/dist/types/online-rentals/types/index.js +0 -19
  381. package/dist/types/online-rentals/types/index.js.map +0 -1
  382. package/dist/types/online-rentals/types/online-rentals.classes.d.ts +0 -21
  383. package/dist/types/online-rentals/types/online-rentals.classes.js +0 -10
  384. package/dist/types/online-rentals/types/online-rentals.classes.js.map +0 -1
  385. package/dist/types/online-rentals/types/online-rentals.dto.d.ts +0 -61
  386. package/dist/types/online-rentals/types/online-rentals.dto.js +0 -36
  387. package/dist/types/online-rentals/types/online-rentals.dto.js.map +0 -1
  388. package/dist/types/organization/interfaces/reason.interfaces.d.ts +0 -6
  389. package/dist/types/organization/interfaces/reason.interfaces.js +0 -3
  390. package/dist/types/organization/interfaces/reason.interfaces.js.map +0 -1
  391. package/dist/types/programs-seasons/dto/program-season-participant.dto.d.ts +0 -8
  392. package/dist/types/programs-seasons/dto/program-season-participant.dto.js +0 -7
  393. package/dist/types/programs-seasons/dto/program-season-participant.dto.js.map +0 -1
  394. package/dist/types/programs-seasons/types/classes/index.d.ts +0 -1
  395. package/dist/types/programs-seasons/types/classes/index.js +0 -18
  396. package/dist/types/programs-seasons/types/classes/index.js.map +0 -1
  397. package/dist/types/programs-seasons/types/classes/program-season.classes.d.ts +0 -6
  398. package/dist/types/programs-seasons/types/classes/program-season.classes.js +0 -7
  399. package/dist/types/programs-seasons/types/classes/program-season.classes.js.map +0 -1
  400. package/dist/types/programs-seasons/types/enums/index.d.ts +0 -1
  401. package/dist/types/programs-seasons/types/enums/index.js +0 -18
  402. package/dist/types/programs-seasons/types/enums/index.js.map +0 -1
  403. package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +0 -17
  404. package/dist/types/programs-seasons/types/enums/program-season.enums.js +0 -25
  405. package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +0 -1
  406. package/dist/types/reservations/types/classes/addon.classes.d.ts +0 -22
  407. package/dist/types/reservations/types/classes/addon.classes.js +0 -7
  408. package/dist/types/reservations/types/classes/addon.classes.js.map +0 -1
  409. package/dist/types/reservations/types/classes/index.d.ts +0 -7
  410. package/dist/types/reservations/types/classes/index.js +0 -24
  411. package/dist/types/reservations/types/classes/index.js.map +0 -1
  412. package/dist/types/reservations/types/classes/maintenance.classes.d.ts +0 -8
  413. package/dist/types/reservations/types/classes/maintenance.classes.js +0 -7
  414. package/dist/types/reservations/types/classes/maintenance.classes.js.map +0 -1
  415. package/dist/types/reservations/types/classes/product.classes.d.ts +0 -16
  416. package/dist/types/reservations/types/classes/product.classes.js +0 -10
  417. package/dist/types/reservations/types/classes/product.classes.js.map +0 -1
  418. package/dist/types/reservations/types/classes/reservation.classes.d.ts +0 -58
  419. package/dist/types/reservations/types/classes/reservation.classes.js +0 -10
  420. package/dist/types/reservations/types/classes/reservation.classes.js.map +0 -1
  421. package/dist/types/reservations/types/classes/segment.classes.d.ts +0 -32
  422. package/dist/types/reservations/types/classes/segment.classes.js +0 -10
  423. package/dist/types/reservations/types/classes/segment.classes.js.map +0 -1
  424. package/dist/types/reservations/types/classes/series.classes.d.ts +0 -27
  425. package/dist/types/reservations/types/classes/series.classes.js +0 -7
  426. package/dist/types/reservations/types/classes/series.classes.js.map +0 -1
  427. package/dist/types/reservations/types/classes/slot.classes.d.ts +0 -69
  428. package/dist/types/reservations/types/classes/slot.classes.js +0 -11
  429. package/dist/types/reservations/types/classes/slot.classes.js.map +0 -1
  430. package/dist/types/reservations/types/consts/slot.consts.d.ts +0 -1
  431. package/dist/types/reservations/types/consts/slot.consts.js +0 -5
  432. package/dist/types/reservations/types/consts/slot.consts.js.map +0 -1
  433. package/dist/types/reservations/types/interfaces/segment.interfaces.d.ts +0 -29
  434. package/dist/types/reservations/types/interfaces/segment.interfaces.js +0 -3
  435. package/dist/types/reservations/types/interfaces/segment.interfaces.js.map +0 -1
  436. package/dist/types/reservations/types/interfaces/series.interfaces.d.ts +0 -32
  437. package/dist/types/reservations/types/interfaces/series.interfaces.js +0 -3
  438. package/dist/types/reservations/types/interfaces/series.interfaces.js.map +0 -1
  439. package/dist/types/roles/types/role.consts.d.ts +0 -1
  440. package/dist/types/roles/types/role.consts.js +0 -6
  441. package/dist/types/roles/types/role.consts.js.map +0 -1
  442. package/dist/types/session-participants/dto/get.session.participant.dto.d.ts +0 -22
  443. package/dist/types/session-participants/dto/get.session.participant.dto.js +0 -18
  444. package/dist/types/session-participants/dto/get.session.participant.dto.js.map +0 -1
  445. package/dist/types/session-participants/dto/index.d.ts +0 -2
  446. package/dist/types/session-participants/dto/index.js +0 -19
  447. package/dist/types/session-participants/dto/index.js.map +0 -1
  448. package/dist/types/session-participants/dto/session.participant.dto.d.ts +0 -45
  449. package/dist/types/session-participants/dto/session.participant.dto.js +0 -10
  450. package/dist/types/session-participants/dto/session.participant.dto.js.map +0 -1
  451. package/dist/types/session-participants/index.d.ts +0 -2
  452. package/dist/types/session-participants/index.js +0 -19
  453. package/dist/types/session-participants/index.js.map +0 -1
  454. package/dist/types/session-participants/types/consts.d.ts +0 -3
  455. package/dist/types/session-participants/types/consts.js +0 -7
  456. package/dist/types/session-participants/types/consts.js.map +0 -1
  457. package/dist/types/session-participants/types/enums.d.ts +0 -17
  458. package/dist/types/session-participants/types/enums.js +0 -24
  459. package/dist/types/session-participants/types/enums.js.map +0 -1
  460. package/dist/types/session-participants/types/index.d.ts +0 -3
  461. package/dist/types/session-participants/types/index.js +0 -20
  462. package/dist/types/session-participants/types/index.js.map +0 -1
  463. package/dist/types/session-participants/types/interfaces.d.ts +0 -46
  464. package/dist/types/session-participants/types/interfaces.js +0 -3
  465. package/dist/types/session-participants/types/interfaces.js.map +0 -1
  466. package/dist/types/webflow/dto/index.d.ts +0 -1
  467. package/dist/types/webflow/dto/index.js +0 -18
  468. package/dist/types/webflow/dto/index.js.map +0 -1
  469. package/dist/types/webflow/dto/webflowProgram.dto.d.ts +0 -14
  470. package/dist/types/webflow/dto/webflowProgram.dto.js +0 -7
  471. package/dist/types/webflow/dto/webflowProgram.dto.js.map +0 -1
  472. package/dist/types/webflow/entities/WebflowOrganizationConfiguration.js.map +0 -1
  473. package/dist/types/webflow/entities/index.d.ts +0 -1
  474. package/dist/types/webflow/entities/index.js +0 -18
  475. package/dist/types/webflow/entities/index.js.map +0 -1
  476. /package/dist/types/membership/{types → interfaces}/membership.interfaces.js +0 -0
  477. /package/dist/types/notifications/{dto/types → types}/enums/index.d.ts +0 -0
  478. /package/dist/types/notifications/{dto/types → types}/enums/index.js +0 -0
  479. /package/dist/types/{accounting → notifications}/types/index.d.ts +0 -0
  480. /package/dist/types/{accounting → notifications}/types/index.js +0 -0
@@ -1,3 +1 @@
1
- export * from './dto';
2
- export * from './entities';
3
1
  export * from './types';
@@ -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("./dto"), exports);
18
- __exportStar(require("./entities"), exports);
19
17
  __exportStar(require("./types"), exports);
20
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/address/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/address/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
@@ -1,14 +1,11 @@
1
- import { ScheduleDto } from '../../dto/activityTimes.dto';
2
1
  import { UserAnswersDto } from '../../dto/application.dto';
3
2
  import { PaginationQuery } from '../../dto/general.dto';
4
3
  import { OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
5
- import { ISetDiscount, ISetDiscounts } from '../../payment/types/interfaces/discount.interfaces';
6
- import { DurationUnitTypesEnum } from '../../reservations/types/enums/reservation.enums';
7
- import { CurrencyEnum, PlatformsEnum, ProductPackageLevelEnum, UpdatePricesTypeEnum } from '../../services/enums.service';
4
+ import { CurrencyEnum, PlatformsEnum } from '../../services/enums.service';
8
5
  import { ByOrganizationAndUserDto, SimpleUserDto } from '../../user/dto/user.dto';
9
6
  import { CartStateEnum, CartStatusEnum } from '../types/enums/cart.enums';
10
- import { IUpdateCartCategoriesPrices, IUpdateCartPrices, IUpdateCartProductPrices, IUpdateProductPrice } from '../types/interfaces/cart.interfaces';
11
7
  import { AddCartItemDto, CartDiscountDto, CartItemDto, CartTaxDto, UpdateCartItemDto } from './cart-item.dto';
8
+ import { ISetDiscount, ISetDiscounts } from '../../payment/types/interfaces/discount.interfaces';
12
9
  export declare class CartDto extends OrganizationBaseEntityDto {
13
10
  createdAt: Date;
14
11
  price: number;
@@ -77,63 +74,3 @@ export declare class RemoveCartDiscountQueryDto {
77
74
  export declare class UsePromoCodesOnCartDto {
78
75
  codes: string[];
79
76
  }
80
- export declare class GetExtendedCartDto {
81
- extended: boolean;
82
- }
83
- export declare class ProductPriceResultDto {
84
- productId: number;
85
- priceId: number;
86
- quantity: number;
87
- unitPrice: number;
88
- schedules?: ScheduleDto[];
89
- name: string;
90
- isTaxInclusive?: boolean;
91
- tax: number;
92
- durationType: DurationUnitTypesEnum;
93
- durationValue?: number;
94
- subtotal: number;
95
- totalPrice: number;
96
- addonType?: ProductPackageLevelEnum;
97
- /**
98
- * used internally to store the original unit price
99
- */
100
- originalUnitPrice?: number;
101
- }
102
- export declare class ByProductsResultDto {
103
- products: ProductPriceResultDto[];
104
- productsSubtotal: number;
105
- addons: ProductPriceResultDto[];
106
- addonsSubtotal?: number;
107
- }
108
- export declare class ByCategoriesResultDto {
109
- products: number;
110
- addons?: number;
111
- }
112
- export declare class CartPricingResultDto {
113
- products: ByProductsResultDto;
114
- categories: ByCategoriesResultDto;
115
- totalPrice: number;
116
- subtotal: number;
117
- taxAmount?: number;
118
- taxes?: CartTaxDto[];
119
- }
120
- export declare class UpdateProductPriceDto implements IUpdateProductPrice {
121
- productId: number;
122
- priceId: number;
123
- unitPrice: number;
124
- originalUnitPrice: number;
125
- }
126
- export declare class UpdatePricesByProductsDto implements IUpdateCartProductPrices {
127
- products?: UpdateProductPriceDto[];
128
- addons?: UpdateProductPriceDto[];
129
- }
130
- export declare class UpdatePricesByCategoriesDto implements IUpdateCartCategoriesPrices {
131
- products?: number;
132
- addons?: number;
133
- }
134
- export declare class UpdateCartPricesDto implements IUpdateCartPrices {
135
- type: UpdatePricesTypeEnum;
136
- products?: UpdatePricesByProductsDto;
137
- categories?: UpdatePricesByCategoriesDto;
138
- totalPrice?: number;
139
- }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateCartPricesDto = exports.UpdatePricesByCategoriesDto = exports.UpdatePricesByProductsDto = exports.UpdateProductPriceDto = exports.CartPricingResultDto = exports.ByCategoriesResultDto = exports.ByProductsResultDto = exports.ProductPriceResultDto = exports.GetExtendedCartDto = exports.UsePromoCodesOnCartDto = exports.RemoveCartDiscountQueryDto = exports.SetCartDiscountsDto = exports.SetCartDiscountDto = exports.GetCartsFiltersDto = exports.ByOrganizationCartDto = exports.UpdateCartItemsDto = exports.AddCartItemsDto = exports.ClearCartDto = exports.CreateCartDto = exports.UpdateCartDto = exports.CartDto = void 0;
3
+ exports.UsePromoCodesOnCartDto = exports.RemoveCartDiscountQueryDto = exports.SetCartDiscountsDto = exports.SetCartDiscountDto = exports.GetCartsFiltersDto = exports.ByOrganizationCartDto = exports.UpdateCartItemsDto = exports.AddCartItemsDto = exports.ClearCartDto = exports.CreateCartDto = exports.UpdateCartDto = exports.CartDto = void 0;
4
4
  const general_dto_1 = require("../../dto/general.dto");
5
5
  const organization_dto_1 = require("../../organization/dto/organization.dto");
6
6
  const user_dto_1 = require("../../user/dto/user.dto");
@@ -45,31 +45,4 @@ exports.RemoveCartDiscountQueryDto = RemoveCartDiscountQueryDto;
45
45
  class UsePromoCodesOnCartDto {
46
46
  }
47
47
  exports.UsePromoCodesOnCartDto = UsePromoCodesOnCartDto;
48
- class GetExtendedCartDto {
49
- }
50
- exports.GetExtendedCartDto = GetExtendedCartDto;
51
- class ProductPriceResultDto {
52
- }
53
- exports.ProductPriceResultDto = ProductPriceResultDto;
54
- class ByProductsResultDto {
55
- }
56
- exports.ByProductsResultDto = ByProductsResultDto;
57
- class ByCategoriesResultDto {
58
- }
59
- exports.ByCategoriesResultDto = ByCategoriesResultDto;
60
- class CartPricingResultDto {
61
- }
62
- exports.CartPricingResultDto = CartPricingResultDto;
63
- class UpdateProductPriceDto {
64
- }
65
- exports.UpdateProductPriceDto = UpdateProductPriceDto;
66
- class UpdatePricesByProductsDto {
67
- }
68
- exports.UpdatePricesByProductsDto = UpdatePricesByProductsDto;
69
- class UpdatePricesByCategoriesDto {
70
- }
71
- exports.UpdatePricesByCategoriesDto = UpdatePricesByCategoriesDto;
72
- class UpdateCartPricesDto {
73
- }
74
- exports.UpdateCartPricesDto = UpdateCartPricesDto;
75
48
  //# sourceMappingURL=cart.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cart.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AACxD,8EAAoF;AAUpF,sDAAkF;AAUlF,MAAa,OAAQ,SAAQ,4CAAyB;CA0CrD;AA1CD,0BA0CC;AAED,MAAa,aAAa;IACzB,YAAY,UAAmC;QAC9C,IAAI,CAAC,OAAO,GAAG,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,QAAQ,CAAC;QACrC,IAAI,CAAC,OAAO,GAAG,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,CAAC;IACpC,CAAC;CAOD;AAZD,sCAYC;AAED,MAAa,aAAc,SAAQ,aAAa;CAM/C;AAND,sCAMC;AAED,MAAa,YAAY;CAIxB;AAJD,oCAIC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,qBAAsB,SAAQ,mCAAwB;CAElE;AAFD,sDAEC;AAED,MAAa,kBAAmB,SAAQ,6BAAe;CAQtD;AARD,gDAQC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,qBAAqB;CA+BjC;AA/BD,sDA+BC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,oBAAoB;CAYhC;AAZD,oDAYC;AAED,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC"}
1
+ {"version":3,"file":"cart.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAAoF;AAEpF,sDAAkF;AAKlF,MAAa,OAAQ,SAAQ,4CAAyB;CA0CrD;AA1CD,0BA0CC;AAED,MAAa,aAAa;IACzB,YAAY,UAAmC;QAC9C,IAAI,CAAC,OAAO,GAAG,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,QAAQ,CAAC;QACrC,IAAI,CAAC,OAAO,GAAG,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,CAAC;IACpC,CAAC;CAOD;AAZD,sCAYC;AAED,MAAa,aAAc,SAAQ,aAAa;CAM/C;AAND,sCAMC;AAED,MAAa,YAAY;CAIxB;AAJD,oCAIC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,qBAAsB,SAAQ,mCAAwB;CAElE;AAFD,sDAEC;AAED,MAAa,kBAAmB,SAAQ,6BAAe;CAQtD;AARD,gDAQC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC"}
@@ -1,5 +1,3 @@
1
- import { ScheduleDto } from '../../dto/activityTimes.dto';
2
- import { ActivityTimes } from '../../entity/ActivityTimes';
3
1
  import { EntitlementGroup } from '../../entity/EntitlementGroup';
4
2
  import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
5
3
  import { Reason } from '../../organization/entities/Reason';
@@ -9,7 +7,6 @@ import { Product } from '../../product-pricing/entities/Product';
9
7
  import { PurchaseResourceDto } from '../../purchase/dto/purchase.dto';
10
8
  import { ProductTypesEnum } from '../../services/enums.service';
11
9
  import { User } from '../../user/entities/User';
12
- import { ItemPriceMetadata } from '../types/classes/cart.classes';
13
10
  import { CartStatusEnum } from '../types/enums/cart.enums';
14
11
  import { Cart } from './cart.entity';
15
12
  export declare class CartItem extends OrganizationConnectionBaseEntity {
@@ -44,14 +41,9 @@ export declare class CartItem extends OrganizationConnectionBaseEntity {
44
41
  actionId?: string;
45
42
  discountOn?: DiscountOnEnum;
46
43
  reasonId?: number;
47
- priceId?: number;
48
- prices?: ItemPriceMetadata[];
49
44
  reason?: Reason;
50
45
  discountAmount?: number;
51
- subtotal?: number;
52
46
  totalPrice?: number;
53
47
  overrideTotalPrice?: number;
54
48
  totalUnitPrice: number;
55
- activityTimes?: ActivityTimes[];
56
- schedules?: ScheduleDto[];
57
49
  }
@@ -1 +1 @@
1
- {"version":3,"file":"cart-item.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart-item.entity.ts"],"names":[],"mappings":";;;AAIA,oGAAiG;AAYjG,MAAa,QAAS,SAAQ,mEAAgC;CAiF7D;AAjFD,4BAiFC"}
1
+ {"version":3,"file":"cart-item.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart-item.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAWjG,MAAa,QAAS,SAAQ,mEAAgC;CAuE7D;AAvED,4BAuEC"}
@@ -2,9 +2,9 @@ import { UserAnswersDto } from '../../dto/application.dto';
2
2
  import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
3
3
  import { CurrencyEnum, PlatformsEnum } from '../../services/enums.service';
4
4
  import { User } from '../../user/entities/User';
5
- import { CartDiscountDto, CartTaxDto } from '../dto/cart-item.dto';
6
5
  import { CartStateEnum, CartStatusEnum } from '../types/enums/cart.enums';
7
6
  import { CartItem } from './cart-item.entity';
7
+ import { CartDiscountDto, CartTaxDto } from '../dto/cart-item.dto';
8
8
  export declare class Cart extends OrganizationConnectionBaseEntity {
9
9
  deletedAt?: Date;
10
10
  price: number;
@@ -1 +1 @@
1
- {"version":3,"file":"cart.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAOjG,MAAa,IAAK,SAAQ,mEAAgC;CA8CzD;AA9CD,oBA8CC"}
1
+ {"version":3,"file":"cart.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart.entity.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAQjG,MAAa,IAAK,SAAQ,mEAAgC;CA8CzD;AA9CD,oBA8CC"}
@@ -1,4 +1,3 @@
1
- export * from './classes';
2
1
  export * from './consts';
3
2
  export * from './enums';
4
3
  export * from './interfaces';
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./classes"), exports);
18
17
  __exportStar(require("./consts"), exports);
19
18
  __exportStar(require("./enums"), exports);
20
19
  __exportStar(require("./interfaces"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/cart/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/cart/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B"}
@@ -1,10 +1,9 @@
1
1
  import { UserAnswersDto } from '../../../dto/application.dto';
2
2
  import { Product } from '../../../product-pricing/entities/Product';
3
3
  import { ResourceDto } from '../../../resources/dto/resource.dto';
4
- import { CurrencyEnum, PlatformsEnum, ResourceNameTypeEnum, UpdatePricesTypeEnum } from '../../../services/enums.service';
4
+ import { CurrencyEnum, PlatformsEnum, ResourceNameTypeEnum } from '../../../services/enums.service';
5
5
  import { IPricesOfProductsResults } from '../../../services/interfaces.service';
6
6
  import { Cart } from '../../entities/cart.entity';
7
- import { ActivityTimes } from '../../../entity/ActivityTimes';
8
7
  export interface ICreateCart {
9
8
  platform?: PlatformsEnum;
10
9
  ownerId?: number;
@@ -20,13 +19,6 @@ export interface IAddCartItems {
20
19
  cartItems: ICreateCartItem[];
21
20
  cart?: Cart;
22
21
  }
23
- export interface IItemPriceMetadata {
24
- priceId: number;
25
- price: number;
26
- quantity?: number;
27
- activityTimes?: ActivityTimes[];
28
- totalPrice?: number;
29
- }
30
22
  export interface ICreateCartItem {
31
23
  productId: number;
32
24
  unitPrice?: number;
@@ -37,8 +29,6 @@ export interface ICreateCartItem {
37
29
  errors?: string[];
38
30
  unique?: string;
39
31
  overrideTotalPrice?: number;
40
- product?: Product;
41
- prices?: IItemPriceMetadata[];
42
32
  }
43
33
  export interface IValidateCartOptions {
44
34
  overridePrice?: boolean;
@@ -49,7 +39,6 @@ export interface ICreateCartOptions extends IValidateCartOptions {
49
39
  skipOnMissingProduct?: boolean;
50
40
  extendCart?: boolean;
51
41
  skipSave?: boolean;
52
- doMergeItems?: boolean;
53
42
  }
54
43
  export interface IValidateCartResult {
55
44
  currentPrices: IPricesOfProductsResults[];
@@ -67,54 +56,3 @@ export type ResourceTypeToInfoMap = Map<ResourceNameTypeEnum, {
67
56
  resourcesIds: number[];
68
57
  productsIds: number[];
69
58
  }>;
70
- export interface IMergedCartItemsResult {
71
- /**
72
- * Map of merged cart items, where key is the unique key of the cart item and value is the unique key of the cart item that was merged with it.
73
- */
74
- mergedCartItemsMap: Map<string, string>;
75
- }
76
- export interface IMergeCartItemsResult extends IMergedCartItemsResult {
77
- /**
78
- * The merged cartItems
79
- */
80
- cartItems: ICreateCartItem[];
81
- }
82
- export interface ICreateCartResult extends IMergedCartItemsResult {
83
- cart: Cart;
84
- }
85
- export interface IUpdateProductPrice {
86
- productId: number;
87
- priceId: number;
88
- unitPrice: number;
89
- originalUnitPrice: number;
90
- totalPrice?: number;
91
- }
92
- export interface IPriceUpdate {
93
- unitPrice: number;
94
- totalPrice?: number;
95
- }
96
- export interface IPriceUpdateSplitAmount {
97
- amount: number;
98
- key: string;
99
- }
100
- export interface IUpdateCartProductPrices {
101
- products?: IUpdateProductPrice[];
102
- addons?: IUpdateProductPrice[];
103
- }
104
- export interface IUpdateCartCategoriesPrices {
105
- products?: number;
106
- addons?: number;
107
- }
108
- export interface IUpdateCartPrices {
109
- type: UpdatePricesTypeEnum;
110
- products?: IUpdateCartProductPrices;
111
- categories?: IUpdateCartCategoriesPrices;
112
- totalPrice?: number;
113
- }
114
- export interface ICartTax {
115
- cartId: number;
116
- productId: number;
117
- price: number;
118
- percentage?: number;
119
- isTaxInclusive?: boolean;
120
- }
@@ -1,5 +1,4 @@
1
1
  import { CustomerTypeEnum } from '../../services/enums.service';
2
- import { MediaDto } from '../../media/dto/media.dto';
3
2
  export declare class EmergencyContactDto {
4
3
  customerId: number;
5
4
  name?: string;
@@ -15,8 +14,4 @@ export declare class SimpleCustomerDto {
15
14
  colorCodeId: number;
16
15
  isAnonymous: boolean;
17
16
  entityId: number;
18
- profilePicture?: MediaDto;
19
- }
20
- export declare class GetCustomerQueryDto {
21
- includeUserAndOrganizationUser?: boolean;
22
17
  }
@@ -1,13 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetCustomerQueryDto = exports.SimpleCustomerDto = exports.EmergencyContactDto = void 0;
3
+ exports.SimpleCustomerDto = exports.EmergencyContactDto = void 0;
4
4
  class EmergencyContactDto {
5
5
  }
6
6
  exports.EmergencyContactDto = EmergencyContactDto;
7
7
  class SimpleCustomerDto {
8
8
  }
9
9
  exports.SimpleCustomerDto = SimpleCustomerDto;
10
- class GetCustomerQueryDto {
11
- }
12
- exports.GetCustomerQueryDto = GetCustomerQueryDto;
13
10
  //# sourceMappingURL=customer-response.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"customer-response.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/customer-response.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,iBAAiB;CAoB7B;AApBD,8CAoBC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC"}
1
+ {"version":3,"file":"customer-response.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/customer-response.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,iBAAiB;CAkB7B;AAlBD,8CAkBC"}
@@ -1,4 +1,5 @@
1
1
  import { CustomerNoteDto } from '../../dto/customer.dto';
2
+ import { AddressDto } from '../../dto/facilities.dto';
2
3
  import { CustomerCreditTransaction } from '../../entity/CustomerCreditTransaction';
3
4
  import { ProductsReservedForCustomers } from '../../entity/ProductsReservedForCustomers';
4
5
  import { MediaDto } from '../../media/dto/media.dto';
@@ -6,7 +7,6 @@ import { ReservationDto } from '../../reservations/dto/reservation.dto';
6
7
  import { ResourceNameTypeEnum } from '../../services/enums.service';
7
8
  import { User } from '../../user/entities/User';
8
9
  import { EmergencyContactDto, SimpleCustomerDto } from './customer-response.dto';
9
- import { AddressDto } from '../../address/dto/address.dto';
10
10
  export declare class CustomerFullDto extends SimpleCustomerDto {
11
11
  address?: AddressDto;
12
12
  customerId?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"full-customer.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/full-customer.dto.ts"],"names":[],"mappings":";;;AAOA,mEAAiF;AAGjF,MAAa,eAAgB,SAAQ,yCAAiB;CAsCrD;AAtCD,0CAsCC"}
1
+ {"version":3,"file":"full-customer.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/full-customer.dto.ts"],"names":[],"mappings":";;;AAQA,mEAAiF;AAEjF,MAAa,eAAgB,SAAQ,yCAAiB;CAsCrD;AAtCD,0CAsCC"}
@@ -1,4 +1,3 @@
1
1
  import { CreateCustomerOptions } from '../interfaces';
2
2
  export declare const LIMIT_CUSTOMERS_FETCH_AMOUNT = 1000;
3
3
  export declare const DEFAULT_CREATE_CUSTOMER_OPTIONS: CreateCustomerOptions;
4
- export declare const RELATIONS_FOR_ORGANIZATION_USER: string[];
@@ -1,12 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RELATIONS_FOR_ORGANIZATION_USER = exports.DEFAULT_CREATE_CUSTOMER_OPTIONS = exports.LIMIT_CUSTOMERS_FETCH_AMOUNT = void 0;
3
+ exports.DEFAULT_CREATE_CUSTOMER_OPTIONS = exports.LIMIT_CUSTOMERS_FETCH_AMOUNT = void 0;
4
4
  exports.LIMIT_CUSTOMERS_FETCH_AMOUNT = 1000;
5
5
  exports.DEFAULT_CREATE_CUSTOMER_OPTIONS = {
6
6
  saveCustomer: true,
7
- sendCustomerNotification: true,
8
- allowExistingCustomer: false,
9
- requireNewUser: false,
7
+ sendNotification: true,
10
8
  };
11
- exports.RELATIONS_FOR_ORGANIZATION_USER = ['user', 'user.organizationUsers'];
12
9
  //# sourceMappingURL=customers.consts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"customers.consts.js","sourceRoot":"","sources":["../../../../../src/types/customers/types/consts/customers.consts.ts"],"names":[],"mappings":";;;AAEa,QAAA,4BAA4B,GAAG,IAAI,CAAC;AACpC,QAAA,+BAA+B,GAA0B;IACrE,YAAY,EAAE,IAAI;IAClB,wBAAwB,EAAE,IAAI;IAC9B,qBAAqB,EAAE,KAAK;IAC5B,cAAc,EAAE,KAAK;CACrB,CAAC;AAEW,QAAA,+BAA+B,GAAG,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC"}
1
+ {"version":3,"file":"customers.consts.js","sourceRoot":"","sources":["../../../../../src/types/customers/types/consts/customers.consts.ts"],"names":[],"mappings":";;;AAEa,QAAA,4BAA4B,GAAG,IAAI,CAAC;AACpC,QAAA,+BAA+B,GAA0B;IACrE,YAAY,EAAE,IAAI;IAClB,gBAAgB,EAAE,IAAI;CACtB,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import { Customer } from '../../entity/Customer';
2
2
  import { User } from '../../user/entities/User';
3
- import { CreateCustomerDto } from '../dto/customer.dto';
4
3
  import { CustomerFamilyStatusEnum } from './enums';
5
4
  export interface CustomerFamily {
6
5
  familyCustomerId: number;
@@ -13,9 +12,7 @@ export interface CustomerContactDetails {
13
12
  }
14
13
  export interface CreateCustomerOptions {
15
14
  saveCustomer?: boolean;
16
- sendCustomerNotification?: boolean;
17
- allowExistingCustomer?: boolean;
18
- requireNewUser?: boolean;
15
+ sendNotification?: boolean;
19
16
  }
20
17
  export interface CustomerFamilyMember {
21
18
  id: number;
@@ -31,10 +28,4 @@ export interface CustomerFamilyWithMembers {
31
28
  familyName: string;
32
29
  members: CustomerFamilyMember[];
33
30
  }
34
- export interface ICreateCustomer {
35
- newCustomer: CreateCustomerDto;
36
- organizationId: number;
37
- userId: number;
38
- addressId?: number;
39
- }
40
31
  export type TExtendedCustomer = User & Customer;
@@ -21,13 +21,3 @@ export declare class ActivityTimesDto {
21
21
  groupId?: string;
22
22
  isSameAsFacility?: boolean;
23
23
  }
24
- export declare class ScheduleDto {
25
- id?: string;
26
- parentId?: number;
27
- parentType?: ResourceNameTypeEnum | ProductTypesEnum;
28
- dayOfWeeks: number[];
29
- close: string;
30
- open: string;
31
- availabilityStartDate?: string;
32
- availabilityEndDate?: string;
33
- }
@@ -1,13 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ScheduleDto = exports.ActivityTimesDto = exports.BasicActivityTimesDto = void 0;
3
+ exports.ActivityTimesDto = exports.BasicActivityTimesDto = void 0;
4
4
  class BasicActivityTimesDto {
5
5
  }
6
6
  exports.BasicActivityTimesDto = BasicActivityTimesDto;
7
7
  class ActivityTimesDto {
8
8
  }
9
9
  exports.ActivityTimesDto = ActivityTimesDto;
10
- class ScheduleDto {
11
- }
12
- exports.ScheduleDto = ScheduleDto;
13
10
  //# sourceMappingURL=activityTimes.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"activityTimes.dto.js","sourceRoot":"","sources":["../../../src/types/dto/activityTimes.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,qBAAqB;CAgBjC;AAhBD,sDAgBC;AAED,MAAa,gBAAgB;CAoB5B;AApBD,4CAoBC;AAED,MAAa,WAAW;CAgBvB;AAhBD,kCAgBC"}
1
+ {"version":3,"file":"activityTimes.dto.js","sourceRoot":"","sources":["../../../src/types/dto/activityTimes.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,qBAAqB;CAgBjC;AAhBD,sDAgBC;AAED,MAAa,gBAAgB;CAoB5B;AApBD,4CAoBC"}
@@ -37,11 +37,3 @@ export declare class AnswerTemplateDataDto {
37
37
  questions: QuestionDto[];
38
38
  media?: MediaDto;
39
39
  }
40
- export declare class QuestionAndAnswerDto {
41
- questionId: number;
42
- question: string;
43
- questionType?: string;
44
- ordinal?: number;
45
- answerId: number;
46
- answerValue: any;
47
- }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QuestionAndAnswerDto = exports.AnswerTemplateDataDto = exports.AnswerTemplateCustomerDto = exports.GetByQuestionnaireIdsDto = exports.UserAnswersDto = exports.QuestionAnswersDto = exports.QuestionDto = exports.AnswerDto = void 0;
3
+ exports.AnswerTemplateDataDto = exports.AnswerTemplateCustomerDto = exports.GetByQuestionnaireIdsDto = exports.UserAnswersDto = exports.QuestionAnswersDto = exports.QuestionDto = exports.AnswerDto = void 0;
4
4
  class AnswerDto {
5
5
  }
6
6
  exports.AnswerDto = AnswerDto;
@@ -22,7 +22,4 @@ exports.AnswerTemplateCustomerDto = AnswerTemplateCustomerDto;
22
22
  class AnswerTemplateDataDto {
23
23
  }
24
24
  exports.AnswerTemplateDataDto = AnswerTemplateDataDto;
25
- class QuestionAndAnswerDto {
26
- }
27
- exports.QuestionAndAnswerDto = QuestionAndAnswerDto;
28
25
  //# sourceMappingURL=application.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"application.dto.js","sourceRoot":"","sources":["../../../src/types/dto/application.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;CAQrB;AARD,8BAQC;AAED,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AAED,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,oBAAoB;CAYhC;AAZD,oDAYC"}
1
+ {"version":3,"file":"application.dto.js","sourceRoot":"","sources":["../../../src/types/dto/application.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,SAAS;CAQrB;AARD,8BAQC;AAED,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AAED,MAAa,qBAAqB;CAUjC;AAVD,sDAUC"}
@@ -1,10 +1,9 @@
1
- import { AttendanceDto } from '../attendance/dto/attendance.dto';
2
1
  import { PaymentStatusEnum } from '../payment/types/enums/payment.enums';
3
2
  import { MaintenanceDto } from '../reservations/dto/maintenance.dto';
4
3
  import { Slot } from '../reservations/entities/slot.entity';
5
- import { SimpleResourceDto } from '../resources/dto/resource.dto';
6
4
  import { EntryStatusEnum, OrderByEnum, ProgramTypesEnum, RegistrationValidationStatusEnum } from '../services/enums.service';
7
5
  import { IBasicSpaceAndSlotCreator } from '../services/interfaces.service';
6
+ import { SimpleResourceDto } from '../resources/dto/resource.dto';
8
7
  import { IdDto, PaginationQuery, PaginationRangeQuery } from './general.dto';
9
8
  export declare class FindEventByIdDto {
10
9
  eventId: number;
@@ -140,11 +139,10 @@ export declare class EventInScheduleDto {
140
139
  export declare class ParentSessionDto extends IdDto {
141
140
  programId: number;
142
141
  name: string;
143
- parentSeasonId?: number;
144
142
  }
145
143
  export declare class EventWithAttendanceDto extends SimpleEventDto {
146
144
  parentSession: ParentSessionDto;
147
- attendance: AttendanceDto[];
145
+ eventAttendees: SimpleAttendeeDto[];
148
146
  }
149
147
  export declare class GetUsersEventsQueryDto extends PaginationQuery {
150
148
  startDateBefore?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;AAaA,+CAA6E;AAE7E,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,cAAc;CAsB1B;AAtBD,wCAsBC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AACD,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAuCD,MAAa,2BAA4B,SAAQ,kCAAoB;CAYpE;AAZD,kEAYC;AAED,MAAa,cAAe,SAAQ,mBAAK;CAsBxC;AAtBD,wCAsBC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAE3C;AAFD,8CAEC;AAED,MAAa,QAAQ;CAIpB;AAJD,4BAIC;AAED,MAAa,kBAAkB;CA4B9B;AA5BD,gDA4BC;AAED,MAAa,gBAAiB,SAAQ,mBAAK;CAM1C;AAND,4CAMC;AAED,MAAa,sBAAuB,SAAQ,cAAc;CAIzD;AAJD,wDAIC;AAED,MAAa,sBAAuB,SAAQ,6BAAe;CAgB1D;AAhBD,wDAgBC"}
1
+ {"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;AAYA,+CAA6E;AAE7E,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,cAAc;CAsB1B;AAtBD,wCAsBC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AACD,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAuCD,MAAa,2BAA4B,SAAQ,kCAAoB;CAYpE;AAZD,kEAYC;AAED,MAAa,cAAe,SAAQ,mBAAK;CAsBxC;AAtBD,wCAsBC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAE3C;AAFD,8CAEC;AAED,MAAa,QAAQ;CAIpB;AAJD,4BAIC;AAED,MAAa,kBAAkB;CA4B9B;AA5BD,gDA4BC;AAED,MAAa,gBAAiB,SAAQ,mBAAK;CAI1C;AAJD,4CAIC;AAED,MAAa,sBAAuB,SAAQ,cAAc;CAIzD;AAJD,wDAIC;AACD,MAAa,sBAAuB,SAAQ,6BAAe;CAgB1D;AAhBD,wDAgBC"}
@@ -1,9 +1,17 @@
1
1
  import { OptionalOrganizationIdDto } from '../organization/dto/organization.dto';
2
2
  import { IdAndNameDto, PaginationQuery } from './general.dto';
3
- import { AddressDto } from '../address/dto/address.dto';
4
3
  export declare class OptionalFacilityIdDto extends OptionalOrganizationIdDto {
5
4
  facilityId?: number;
6
5
  }
6
+ export declare class AddressDto {
7
+ street?: string;
8
+ streetNum?: string;
9
+ city?: string;
10
+ state?: string;
11
+ country?: string;
12
+ zip?: string;
13
+ geo?: number[];
14
+ }
7
15
  export declare class OpeningTimeDto {
8
16
  open: string;
9
17
  close: string;
@@ -65,5 +73,4 @@ export declare class FindFacilitiesOptionsDto extends PaginationQuery {
65
73
  nameSearch?: string;
66
74
  }
67
75
  export declare class SimpleFacilityDto extends IdAndNameDto {
68
- sports?: number[];
69
76
  }
@@ -1,11 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleFacilityDto = exports.FindFacilitiesOptionsDto = exports.UpdateFacilityAmenitiesDto = exports.UpdateFacilitySportsDto = exports.UpdateFacilityOpeningTimesDto = exports.UpdateFacilityDetailsDto = exports.FacilityDto = exports.CreateFacilityDto = exports.OpeningTimeDto = exports.OptionalFacilityIdDto = void 0;
3
+ exports.SimpleFacilityDto = exports.FindFacilitiesOptionsDto = exports.UpdateFacilityAmenitiesDto = exports.UpdateFacilitySportsDto = exports.UpdateFacilityOpeningTimesDto = exports.UpdateFacilityDetailsDto = exports.FacilityDto = exports.CreateFacilityDto = exports.OpeningTimeDto = exports.AddressDto = exports.OptionalFacilityIdDto = void 0;
4
4
  const organization_dto_1 = require("../organization/dto/organization.dto");
5
5
  const general_dto_1 = require("./general.dto");
6
6
  class OptionalFacilityIdDto extends organization_dto_1.OptionalOrganizationIdDto {
7
7
  }
8
8
  exports.OptionalFacilityIdDto = OptionalFacilityIdDto;
9
+ class AddressDto {
10
+ }
11
+ exports.AddressDto = AddressDto;
9
12
  class OpeningTimeDto {
10
13
  }
11
14
  exports.OpeningTimeDto = OpeningTimeDto;
@@ -1 +1 @@
1
- {"version":3,"file":"facilities.dto.js","sourceRoot":"","sources":["../../../src/types/dto/facilities.dto.ts"],"names":[],"mappings":";;;AAAA,2EAAiF;AACjF,+CAA8D;AAG9D,MAAa,qBAAsB,SAAQ,4CAAyB;CAEnE;AAFD,sDAEC;AAED,MAAa,cAAc;CAM1B;AAND,wCAMC;AAED,MAAa,iBAAiB;CAoB7B;AApBD,8CAoBC;AAED,MAAa,WAAW;CA0CvB;AA1CD,kCA0CC;AAED,MAAa,wBAAwB;CAYpC;AAZD,4DAYC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,wBAAyB,SAAQ,6BAAe;CAE5D;AAFD,4DAEC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAElD;AAFD,8CAEC"}
1
+ {"version":3,"file":"facilities.dto.js","sourceRoot":"","sources":["../../../src/types/dto/facilities.dto.ts"],"names":[],"mappings":";;;AAAA,2EAAiF;AACjF,+CAA8D;AAE9D,MAAa,qBAAsB,SAAQ,4CAAyB;CAEnE;AAFD,sDAEC;AAED,MAAa,UAAU;CActB;AAdD,gCAcC;AAED,MAAa,cAAc;CAM1B;AAND,wCAMC;AAED,MAAa,iBAAiB;CAoB7B;AApBD,8CAoBC;AAED,MAAa,WAAW;CA0CvB;AA1CD,kCA0CC;AAED,MAAa,wBAAwB;CAYpC;AAZD,4DAYC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,wBAAyB,SAAQ,6BAAe;CAE5D;AAFD,4DAEC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD"}
@@ -1,5 +1,4 @@
1
- import { OrderByEnum, PaginationTypeEnum } from '../services/enums.service';
2
- import { IId } from '../services/interfaces.service';
1
+ import { OrderByEnum } from '../services/enums.service';
3
2
  import { IPagination } from '../util/models/interfaces/general.interfaces';
4
3
  export declare class FindOneParams {
5
4
  id: number;
@@ -12,14 +11,12 @@ export declare const MINIMUM_ALLOWED_PERCENTAGE = 0.01;
12
11
  export declare const HUNDRED_PERCENT = 100;
13
12
  export declare class PaginationQuery implements IPagination {
14
13
  constructor(query?: {
15
- itemsPerPage?: number;
16
- offset?: number;
17
14
  page?: number;
15
+ itemsPerPage?: number;
18
16
  min?: number;
19
17
  max?: number;
20
18
  });
21
19
  page?: number;
22
- offset?: any;
23
20
  itemsPerPage?: number;
24
21
  }
25
22
  export declare class IData<T> {
@@ -31,13 +28,10 @@ export declare class PaginationRangeQuery {
31
28
  itemsPerPage: number;
32
29
  }
33
30
  export declare class PaginationMetaDto {
34
- type?: PaginationTypeEnum;
35
31
  totalItems: number;
36
32
  itemsPerPage: number;
37
- totalPages?: number;
38
- currentPage?: number;
39
- offset?: number;
40
- nextOffset?: number;
33
+ totalPages: number;
34
+ currentPage: number;
41
35
  }
42
36
  export declare class PaginationResultDto<T = any> {
43
37
  meta: PaginationMetaDto;
@@ -47,7 +41,7 @@ export declare class PaginationResultDto<T = any> {
47
41
  export declare class SharedPaginatedResultDto<T, M> extends PaginationResultDto<T> {
48
42
  sharedData: M;
49
43
  }
50
- export declare class IdDto implements IId {
44
+ export declare class IdDto {
51
45
  id: number;
52
46
  }
53
47
  export declare class IdAndNameDto extends IdDto {