@bondsports/types 2.2.284-team-b → 2.2.284

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 (422) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/accounting/entities/index.d.ts +2 -0
  3. package/dist/types/accounting/entities/index.js +19 -0
  4. package/dist/types/accounting/entities/index.js.map +1 -0
  5. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.d.ts +9 -0
  6. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js +8 -0
  7. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js.map +1 -0
  8. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.d.ts +14 -0
  9. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js +8 -0
  10. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js.map +1 -0
  11. package/dist/types/accounting/index.d.ts +2 -0
  12. package/dist/types/accounting/index.js +19 -0
  13. package/dist/types/accounting/index.js.map +1 -0
  14. package/dist/types/accounting/types/enums/accounting.enums.d.ts +14 -0
  15. package/dist/types/accounting/types/enums/accounting.enums.js +20 -0
  16. package/dist/types/accounting/types/enums/accounting.enums.js.map +1 -0
  17. package/dist/types/accounting/types/enums/index.d.ts +1 -0
  18. package/dist/types/{membership/interfaces → accounting/types/enums}/index.js +1 -1
  19. package/dist/types/accounting/types/enums/index.js.map +1 -0
  20. package/dist/types/accounting/types/index.js.map +1 -0
  21. package/dist/types/address/dto/address.dto.d.ts +9 -0
  22. package/dist/types/address/dto/address.dto.js +7 -0
  23. package/dist/types/address/dto/address.dto.js.map +1 -0
  24. package/dist/types/address/dto/index.d.ts +1 -0
  25. package/dist/types/address/dto/index.js +18 -0
  26. package/dist/types/address/dto/index.js.map +1 -0
  27. package/dist/types/{entity → address/entities}/Address.d.ts +1 -1
  28. package/dist/types/{entity → address/entities}/Address.js +1 -1
  29. package/dist/types/address/entities/Address.js.map +1 -0
  30. package/dist/types/address/entities/index.d.ts +1 -0
  31. package/dist/types/address/entities/index.js +18 -0
  32. package/dist/types/address/entities/index.js.map +1 -0
  33. package/dist/types/address/index.d.ts +2 -0
  34. package/dist/types/address/index.js +2 -0
  35. package/dist/types/address/index.js.map +1 -1
  36. package/dist/types/cart/dto/cart.dto.d.ts +65 -2
  37. package/dist/types/cart/dto/cart.dto.js +28 -1
  38. package/dist/types/cart/dto/cart.dto.js.map +1 -1
  39. package/dist/types/cart/entities/cart-item.entity.d.ts +8 -0
  40. package/dist/types/cart/entities/cart-item.entity.js.map +1 -1
  41. package/dist/types/cart/entities/cart.entity.d.ts +1 -1
  42. package/dist/types/cart/entities/cart.entity.js.map +1 -1
  43. package/dist/types/cart/types/classes/cart.classes.d.ts +9 -0
  44. package/dist/types/cart/types/classes/cart.classes.js +7 -0
  45. package/dist/types/cart/types/classes/cart.classes.js.map +1 -0
  46. package/dist/types/cart/types/classes/index.d.ts +1 -0
  47. package/dist/types/cart/types/classes/index.js +18 -0
  48. package/dist/types/cart/types/classes/index.js.map +1 -0
  49. package/dist/types/cart/types/index.d.ts +1 -0
  50. package/dist/types/cart/types/index.js +1 -0
  51. package/dist/types/cart/types/index.js.map +1 -1
  52. package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +63 -1
  53. package/dist/types/customers/dto/customer-response.dto.d.ts +5 -0
  54. package/dist/types/customers/dto/customer-response.dto.js +4 -1
  55. package/dist/types/customers/dto/customer-response.dto.js.map +1 -1
  56. package/dist/types/customers/dto/full-customer.dto.d.ts +1 -1
  57. package/dist/types/customers/dto/full-customer.dto.js.map +1 -1
  58. package/dist/types/customers/types/consts/customers.consts.d.ts +1 -0
  59. package/dist/types/customers/types/consts/customers.consts.js +5 -2
  60. package/dist/types/customers/types/consts/customers.consts.js.map +1 -1
  61. package/dist/types/customers/types/interfaces.d.ts +10 -1
  62. package/dist/types/dto/activityTimes.dto.d.ts +10 -0
  63. package/dist/types/dto/activityTimes.dto.js +4 -1
  64. package/dist/types/dto/activityTimes.dto.js.map +1 -1
  65. package/dist/types/dto/events.dto.d.ts +4 -2
  66. package/dist/types/dto/events.dto.js.map +1 -1
  67. package/dist/types/dto/facilities.dto.d.ts +2 -9
  68. package/dist/types/dto/facilities.dto.js +1 -4
  69. package/dist/types/dto/facilities.dto.js.map +1 -1
  70. package/dist/types/dto/general.dto.d.ts +11 -5
  71. package/dist/types/dto/general.dto.js +4 -2
  72. package/dist/types/dto/general.dto.js.map +1 -1
  73. package/dist/types/dto/groupsDivisions.dto.d.ts +15 -2
  74. package/dist/types/dto/groupsDivisions.dto.js +6 -3
  75. package/dist/types/dto/groupsDivisions.dto.js.map +1 -1
  76. package/dist/types/dto/membership.dto.d.ts +17 -1
  77. package/dist/types/dto/membership.dto.js.map +1 -1
  78. package/dist/types/dto/product-user.d.ts +10 -0
  79. package/dist/types/dto/product-user.js +7 -1
  80. package/dist/types/dto/product-user.js.map +1 -1
  81. package/dist/types/dto/product-variants.dto.d.ts +2 -14
  82. package/dist/types/dto/product-variants.dto.js +2 -5
  83. package/dist/types/dto/product-variants.dto.js.map +1 -1
  84. package/dist/types/dto/userPaymentMethod.dto.d.ts +4 -0
  85. package/dist/types/dto/userPaymentMethod.dto.js +4 -1
  86. package/dist/types/dto/userPaymentMethod.dto.js.map +1 -1
  87. package/dist/types/employees/dto/employee.dto.d.ts +21 -5
  88. package/dist/types/employees/dto/employee.dto.js +8 -1
  89. package/dist/types/employees/dto/employee.dto.js.map +1 -1
  90. package/dist/types/employees/types/consts/index.d.ts +3 -0
  91. package/dist/types/employees/types/consts/index.js +25 -0
  92. package/dist/types/employees/types/consts/index.js.map +1 -0
  93. package/dist/types/employees/types/index.d.ts +1 -0
  94. package/dist/types/employees/types/index.js +1 -0
  95. package/dist/types/employees/types/index.js.map +1 -1
  96. package/dist/types/entity/ActivityTimes.d.ts +4 -3
  97. package/dist/types/entity/ActivityTimes.js.map +1 -1
  98. package/dist/types/entity/Customer.d.ts +3 -1
  99. package/dist/types/entity/Customer.js.map +1 -1
  100. package/dist/types/entity/EventAttendees.d.ts +6 -6
  101. package/dist/types/entity/EventAttendees.js.map +1 -1
  102. package/dist/types/entity/EventHistory.d.ts +1 -1
  103. package/dist/types/entity/EventHistory.js.map +1 -1
  104. package/dist/types/entity/Facility.d.ts +1 -1
  105. package/dist/types/entity/LineItems.d.ts +3 -0
  106. package/dist/types/entity/LineItems.js.map +1 -1
  107. package/dist/types/entity/MembershipMember.d.ts +11 -0
  108. package/dist/types/entity/MembershipMember.js.map +1 -1
  109. package/dist/types/entity/PackageV1.d.ts +2 -0
  110. package/dist/types/entity/PackageV1.js.map +1 -1
  111. package/dist/types/entity/index.d.ts +0 -2
  112. package/dist/types/entity/index.js +0 -2
  113. package/dist/types/entity/index.js.map +1 -1
  114. package/dist/types/facilities/index.d.ts +1 -0
  115. package/dist/types/facilities/index.js +18 -0
  116. package/dist/types/facilities/index.js.map +1 -0
  117. package/dist/types/facilities/types/facilities.types.d.ts +4 -0
  118. package/dist/types/facilities/types/facilities.types.js +3 -0
  119. package/dist/types/facilities/types/facilities.types.js.map +1 -0
  120. package/dist/types/facilities/types/index.d.ts +1 -0
  121. package/dist/types/facilities/types/index.js +18 -0
  122. package/dist/types/facilities/types/index.js.map +1 -0
  123. package/dist/types/import/dto/reservation.dto.js.map +1 -1
  124. package/dist/types/index.d.ts +3 -0
  125. package/dist/types/index.js +3 -0
  126. package/dist/types/index.js.map +1 -1
  127. package/dist/types/invoice/dto/invoice.dto.d.ts +19 -0
  128. package/dist/types/invoice/dto/invoice.dto.js +5 -1
  129. package/dist/types/invoice/dto/invoice.dto.js.map +1 -1
  130. package/dist/types/invoice/types/consts/invoice.consts.d.ts +10 -0
  131. package/dist/types/invoice/types/consts/invoice.consts.js +10 -1
  132. package/dist/types/invoice/types/consts/invoice.consts.js.map +1 -1
  133. package/dist/types/invoice/types/interfaces/index.d.ts +1 -0
  134. package/dist/types/invoice/types/interfaces/index.js +1 -0
  135. package/dist/types/invoice/types/interfaces/index.js.map +1 -1
  136. package/dist/types/invoice/types/interfaces/invoice.interfaces.d.ts +5 -1
  137. package/dist/types/invoice/types/interfaces/invoice.interfaces.js.map +1 -1
  138. package/dist/types/invoice/types/interfaces/line-item.interfaces.d.ts +7 -0
  139. package/dist/types/invoice/types/interfaces/line-item.interfaces.js +3 -0
  140. package/dist/types/invoice/types/interfaces/line-item.interfaces.js.map +1 -0
  141. package/dist/types/membership/dto/expendedMembership.dto.d.ts +15 -0
  142. package/dist/types/membership/dto/expendedMembership.dto.js +7 -0
  143. package/dist/types/membership/dto/expendedMembership.dto.js.map +1 -0
  144. package/dist/types/membership/dto/index.d.ts +2 -0
  145. package/dist/types/membership/dto/index.js +19 -0
  146. package/dist/types/membership/dto/index.js.map +1 -0
  147. package/dist/types/membership/dto/membershipMember.dto.d.ts +103 -0
  148. package/dist/types/membership/dto/membershipMember.dto.js +45 -0
  149. package/dist/types/membership/dto/membershipMember.dto.js.map +1 -0
  150. package/dist/types/membership/entities/MembershipMemberRenewal.d.ts +9 -0
  151. package/dist/types/membership/entities/MembershipMemberRenewal.js.map +1 -1
  152. package/dist/types/membership/index.d.ts +2 -1
  153. package/dist/types/membership/index.js +2 -1
  154. package/dist/types/membership/index.js.map +1 -1
  155. package/dist/types/membership/types/index.d.ts +5 -0
  156. package/dist/types/membership/types/index.js +22 -0
  157. package/dist/types/membership/types/index.js.map +1 -0
  158. package/dist/types/membership/{interfaces → types}/membership.interfaces.d.ts +19 -0
  159. package/dist/types/membership/types/membership.interfaces.js.map +1 -0
  160. package/dist/types/membership/types/membership.member.classes.d.ts +14 -0
  161. package/dist/types/membership/types/membership.member.classes.js +7 -0
  162. package/dist/types/membership/types/membership.member.classes.js.map +1 -0
  163. package/dist/types/membership/types/membership.member.consts.d.ts +3 -0
  164. package/dist/types/membership/types/membership.member.consts.js +8 -0
  165. package/dist/types/membership/types/membership.member.consts.js.map +1 -0
  166. package/dist/types/membership/types/membership.members.interfaces.d.ts +86 -0
  167. package/dist/types/membership/types/membership.members.interfaces.js +3 -0
  168. package/dist/types/membership/types/membership.members.interfaces.js.map +1 -0
  169. package/dist/types/membership/types/membership.members.types.d.ts +4 -0
  170. package/dist/types/membership/types/membership.members.types.js +3 -0
  171. package/dist/types/membership/types/membership.members.types.js.map +1 -0
  172. package/dist/types/notifications/dto/index.d.ts +1 -0
  173. package/dist/types/notifications/dto/index.js +1 -0
  174. package/dist/types/notifications/dto/index.js.map +1 -1
  175. package/dist/types/notifications/dto/notification.create.dto.d.ts +6 -6
  176. package/dist/types/notifications/dto/notification.create.dto.js +6 -6
  177. package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
  178. package/dist/types/notifications/dto/notification.response.dto.d.ts +3 -3
  179. package/dist/types/notifications/dto/notification.response.dto.js.map +1 -1
  180. package/dist/types/notifications/dto/types/enums/index.js.map +1 -0
  181. package/dist/types/notifications/dto/types/enums/notification.enums.d.ts +2 -0
  182. package/dist/types/notifications/dto/types/enums/notification.enums.js +8 -0
  183. package/dist/types/notifications/dto/types/enums/notification.enums.js.map +1 -0
  184. package/dist/types/notifications/dto/types/index.d.ts +1 -0
  185. package/dist/types/notifications/dto/types/index.js +18 -0
  186. package/dist/types/notifications/dto/types/index.js.map +1 -0
  187. package/dist/types/notifications/index.d.ts +0 -1
  188. package/dist/types/notifications/index.js +0 -1
  189. package/dist/types/notifications/index.js.map +1 -1
  190. package/dist/types/online-rentals/index.d.ts +1 -0
  191. package/dist/types/online-rentals/index.js +18 -0
  192. package/dist/types/online-rentals/index.js.map +1 -0
  193. package/dist/types/online-rentals/types/index.d.ts +2 -0
  194. package/dist/types/online-rentals/types/index.js +19 -0
  195. package/dist/types/online-rentals/types/index.js.map +1 -0
  196. package/dist/types/online-rentals/types/online-rentals.classes.d.ts +21 -0
  197. package/dist/types/online-rentals/types/online-rentals.classes.js +10 -0
  198. package/dist/types/online-rentals/types/online-rentals.classes.js.map +1 -0
  199. package/dist/types/online-rentals/types/online-rentals.dto.d.ts +61 -0
  200. package/dist/types/online-rentals/types/online-rentals.dto.js +36 -0
  201. package/dist/types/online-rentals/types/online-rentals.dto.js.map +1 -0
  202. package/dist/types/organization/entities/Organization.d.ts +1 -1
  203. package/dist/types/organization/interfaces/index.d.ts +1 -0
  204. package/dist/types/organization/interfaces/index.js +1 -0
  205. package/dist/types/organization/interfaces/index.js.map +1 -1
  206. package/dist/types/organization/interfaces/reason.interfaces.d.ts +6 -0
  207. package/dist/types/organization/interfaces/reason.interfaces.js +3 -0
  208. package/dist/types/organization/interfaces/reason.interfaces.js.map +1 -0
  209. package/dist/types/payment/dto/payment-method.dto.d.ts +12 -3
  210. package/dist/types/payment/dto/payment-method.dto.js +4 -1
  211. package/dist/types/payment/dto/payment-method.dto.js.map +1 -1
  212. package/dist/types/payment/dto/payment-plan.dto.d.ts +6 -4
  213. package/dist/types/payment/dto/payment-plan.dto.js.map +1 -1
  214. package/dist/types/payment/entities/PaymentFailures.d.ts +1 -0
  215. package/dist/types/payment/entities/PaymentFailures.js.map +1 -1
  216. package/dist/types/payment/entities/ProductPaymentPlan.d.ts +3 -2
  217. package/dist/types/payment/entities/ProductPaymentPlan.js.map +1 -1
  218. package/dist/types/payment/types/consts/payment.consts.d.ts +1 -0
  219. package/dist/types/payment/types/consts/payment.consts.js +5 -1
  220. package/dist/types/payment/types/consts/payment.consts.js.map +1 -1
  221. package/dist/types/payment/types/enums/payment-plan.enums.d.ts +0 -7
  222. package/dist/types/payment/types/enums/payment-plan.enums.js +1 -9
  223. package/dist/types/payment/types/enums/payment-plan.enums.js.map +1 -1
  224. package/dist/types/payment/types/enums/payment.enums.d.ts +4 -2
  225. package/dist/types/payment/types/enums/payment.enums.js +2 -0
  226. package/dist/types/payment/types/enums/payment.enums.js.map +1 -1
  227. package/dist/types/payment/types/interfaces/discount.interfaces.d.ts +1 -1
  228. package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +16 -0
  229. package/dist/types/pricing/dto/price.dto.d.ts +3 -1
  230. package/dist/types/pricing/dto/price.dto.js.map +1 -1
  231. package/dist/types/pricing/dto/pricing.dto.d.ts +2 -2
  232. package/dist/types/pricing/entities/Price.d.ts +3 -2
  233. package/dist/types/pricing/entities/Price.js.map +1 -1
  234. package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +2 -0
  235. package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
  236. package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +2 -0
  237. package/dist/types/programs/dto/program.dto.d.ts +5 -2
  238. package/dist/types/programs/dto/program.dto.js +4 -1
  239. package/dist/types/programs/dto/program.dto.js.map +1 -1
  240. package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +2 -0
  241. package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
  242. package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +4 -2
  243. package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
  244. package/dist/types/programs-seasons/types/classes/index.d.ts +1 -0
  245. package/dist/types/programs-seasons/types/classes/index.js +18 -0
  246. package/dist/types/programs-seasons/types/classes/index.js.map +1 -0
  247. package/dist/types/programs-seasons/types/classes/program-season.classes.d.ts +6 -0
  248. package/dist/types/programs-seasons/types/classes/program-season.classes.js +7 -0
  249. package/dist/types/programs-seasons/types/classes/program-season.classes.js.map +1 -0
  250. package/dist/types/programs-seasons/types/enums/index.d.ts +1 -0
  251. package/dist/types/programs-seasons/types/enums/index.js +18 -0
  252. package/dist/types/programs-seasons/types/enums/index.js.map +1 -0
  253. package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +9 -0
  254. package/dist/types/programs-seasons/types/enums/program-season.enums.js +15 -0
  255. package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +1 -0
  256. package/dist/types/programs-seasons/types/index.d.ts +2 -0
  257. package/dist/types/programs-seasons/types/index.js +2 -0
  258. package/dist/types/programs-seasons/types/index.js.map +1 -1
  259. package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +11 -0
  260. package/dist/types/punch-pass/dto/punch-pass.dto.js +5 -1
  261. package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
  262. package/dist/types/purchase/dto/purchase.dto.d.ts +4 -0
  263. package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
  264. package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +5 -3
  265. package/dist/types/reservations/dto/addon.dto.d.ts +21 -8
  266. package/dist/types/reservations/dto/addon.dto.js +9 -2
  267. package/dist/types/reservations/dto/addon.dto.js.map +1 -1
  268. package/dist/types/reservations/dto/maintenance.dto.d.ts +2 -1
  269. package/dist/types/reservations/dto/maintenance.dto.js.map +1 -1
  270. package/dist/types/reservations/dto/reservation.dto.d.ts +171 -24
  271. package/dist/types/reservations/dto/reservation.dto.js +86 -7
  272. package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
  273. package/dist/types/reservations/dto/segment.dto.d.ts +5 -4
  274. package/dist/types/reservations/dto/segment.dto.js.map +1 -1
  275. package/dist/types/reservations/dto/series.dto.d.ts +7 -4
  276. package/dist/types/reservations/dto/series.dto.js.map +1 -1
  277. package/dist/types/reservations/dto/slot.dto.d.ts +106 -26
  278. package/dist/types/reservations/dto/slot.dto.js +25 -7
  279. package/dist/types/reservations/dto/slot.dto.js.map +1 -1
  280. package/dist/types/reservations/dto/v1.reservation.dto.d.ts +1 -0
  281. package/dist/types/reservations/dto/v1.reservation.dto.js.map +1 -1
  282. package/dist/types/reservations/entities/SlotToResource.d.ts +4 -0
  283. package/dist/types/reservations/entities/SlotToResource.js.map +1 -1
  284. package/dist/types/reservations/entities/addon.entity.d.ts +1 -0
  285. package/dist/types/reservations/entities/addon.entity.js.map +1 -1
  286. package/dist/types/reservations/entities/reservation.entity.d.ts +6 -7
  287. package/dist/types/reservations/entities/reservation.entity.js.map +1 -1
  288. package/dist/types/reservations/entities/slot.entity.d.ts +10 -3
  289. package/dist/types/reservations/entities/slot.entity.js.map +1 -1
  290. package/dist/types/reservations/types/classes/addon.classes.d.ts +22 -0
  291. package/dist/types/reservations/types/classes/addon.classes.js +7 -0
  292. package/dist/types/reservations/types/classes/addon.classes.js.map +1 -0
  293. package/dist/types/reservations/types/classes/index.d.ts +7 -0
  294. package/dist/types/reservations/types/classes/index.js +24 -0
  295. package/dist/types/reservations/types/classes/index.js.map +1 -0
  296. package/dist/types/reservations/types/classes/maintenance.classes.d.ts +8 -0
  297. package/dist/types/reservations/types/classes/maintenance.classes.js +7 -0
  298. package/dist/types/reservations/types/classes/maintenance.classes.js.map +1 -0
  299. package/dist/types/reservations/types/classes/product.classes.d.ts +16 -0
  300. package/dist/types/reservations/types/classes/product.classes.js +10 -0
  301. package/dist/types/reservations/types/classes/product.classes.js.map +1 -0
  302. package/dist/types/reservations/types/classes/reservation.classes.d.ts +58 -0
  303. package/dist/types/reservations/types/classes/reservation.classes.js +10 -0
  304. package/dist/types/reservations/types/classes/reservation.classes.js.map +1 -0
  305. package/dist/types/reservations/types/classes/segment.classes.d.ts +32 -0
  306. package/dist/types/reservations/types/classes/segment.classes.js +10 -0
  307. package/dist/types/reservations/types/classes/segment.classes.js.map +1 -0
  308. package/dist/types/reservations/types/classes/series.classes.d.ts +27 -0
  309. package/dist/types/reservations/types/classes/series.classes.js +7 -0
  310. package/dist/types/reservations/types/classes/series.classes.js.map +1 -0
  311. package/dist/types/reservations/types/classes/slot.classes.d.ts +69 -0
  312. package/dist/types/reservations/types/classes/slot.classes.js +11 -0
  313. package/dist/types/reservations/types/classes/slot.classes.js.map +1 -0
  314. package/dist/types/reservations/types/consts/index.d.ts +1 -0
  315. package/dist/types/reservations/types/consts/index.js +1 -0
  316. package/dist/types/reservations/types/consts/index.js.map +1 -1
  317. package/dist/types/reservations/types/consts/reservation.consts.d.ts +12 -1
  318. package/dist/types/reservations/types/consts/reservation.consts.js +18 -1
  319. package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
  320. package/dist/types/reservations/types/consts/slot.consts.d.ts +1 -0
  321. package/dist/types/reservations/types/consts/slot.consts.js +5 -0
  322. package/dist/types/reservations/types/consts/slot.consts.js.map +1 -0
  323. package/dist/types/reservations/types/enums/reservation.enums.d.ts +2 -1
  324. package/dist/types/reservations/types/enums/reservation.enums.js +1 -0
  325. package/dist/types/reservations/types/enums/reservation.enums.js.map +1 -1
  326. package/dist/types/reservations/types/index.d.ts +1 -0
  327. package/dist/types/reservations/types/index.js +1 -0
  328. package/dist/types/reservations/types/index.js.map +1 -1
  329. package/dist/types/reservations/types/interfaces/addon.interfaces.d.ts +18 -2
  330. package/dist/types/reservations/types/interfaces/index.d.ts +2 -0
  331. package/dist/types/reservations/types/interfaces/index.js +2 -0
  332. package/dist/types/reservations/types/interfaces/index.js.map +1 -1
  333. package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +160 -19
  334. package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
  335. package/dist/types/reservations/types/interfaces/segment.interfaces.d.ts +29 -0
  336. package/dist/types/reservations/types/interfaces/segment.interfaces.js +3 -0
  337. package/dist/types/reservations/types/interfaces/segment.interfaces.js.map +1 -0
  338. package/dist/types/reservations/types/interfaces/series.interfaces.d.ts +32 -0
  339. package/dist/types/reservations/types/interfaces/series.interfaces.js +3 -0
  340. package/dist/types/reservations/types/interfaces/series.interfaces.js.map +1 -0
  341. package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +61 -24
  342. package/dist/types/reservations/types/interfaces/slot.interfaces.js +4 -0
  343. package/dist/types/reservations/types/interfaces/slot.interfaces.js.map +1 -1
  344. package/dist/types/reservations/types/reservation.types.d.ts +23 -11
  345. package/dist/types/resources/dto/instructor.dto.d.ts +1 -1
  346. package/dist/types/resources/dto/instructor.dto.js.map +1 -1
  347. package/dist/types/resources/dto/space.dto.d.ts +1 -0
  348. package/dist/types/resources/dto/space.dto.js.map +1 -1
  349. package/dist/types/resources/entities/Instructor.d.ts +2 -2
  350. package/dist/types/resources/entities/Instructor.js.map +1 -1
  351. package/dist/types/resources/entities/Space.d.ts +1 -1
  352. package/dist/types/resources/entities/Space.js.map +1 -1
  353. package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +1 -0
  354. package/dist/types/roles/dto/permission-group.dto.d.ts +4 -0
  355. package/dist/types/roles/dto/permission-group.dto.js +8 -1
  356. package/dist/types/roles/dto/permission-group.dto.js.map +1 -1
  357. package/dist/types/roles/dto/role.dto.d.ts +27 -12
  358. package/dist/types/roles/dto/role.dto.js +23 -5
  359. package/dist/types/roles/dto/role.dto.js.map +1 -1
  360. package/dist/types/roles/entities/Role.d.ts +3 -2
  361. package/dist/types/roles/entities/Role.js.map +1 -1
  362. package/dist/types/roles/entities/index.d.ts +6 -0
  363. package/dist/types/roles/entities/index.js +10 -0
  364. package/dist/types/roles/entities/index.js.map +1 -1
  365. package/dist/types/roles/types/index.d.ts +1 -0
  366. package/dist/types/roles/types/index.js +1 -0
  367. package/dist/types/roles/types/index.js.map +1 -1
  368. package/dist/types/roles/types/role.consts.d.ts +1 -0
  369. package/dist/types/roles/types/role.consts.js +6 -0
  370. package/dist/types/roles/types/role.consts.js.map +1 -0
  371. package/dist/types/roles/types/role.enums.d.ts +13 -2
  372. package/dist/types/roles/types/role.enums.js +13 -1
  373. package/dist/types/roles/types/role.enums.js.map +1 -1
  374. package/dist/types/services/enums.service.d.ts +23 -2
  375. package/dist/types/services/enums.service.js +27 -3
  376. package/dist/types/services/enums.service.js.map +1 -1
  377. package/dist/types/services/interfaces.service.d.ts +15 -3
  378. package/dist/types/services/interfaces.service.js.map +1 -1
  379. package/dist/types/shifts/entities/shift.entity.d.ts +1 -1
  380. package/dist/types/user/dto/user-settings.dto.d.ts +1 -1
  381. package/dist/types/user/dto/user.dto.d.ts +1 -1
  382. package/dist/types/user/dto/user.dto.js.map +1 -1
  383. package/dist/types/user/entities/User.d.ts +3 -1
  384. package/dist/types/user/entities/User.js.map +1 -1
  385. package/dist/types/user/types/user.interfaces.d.ts +15 -0
  386. package/dist/types/user-identification/dto/user-identifier.dto.d.ts +3 -0
  387. package/dist/types/user-identification/dto/user-identifier.dto.js +7 -1
  388. package/dist/types/user-identification/dto/user-identifier.dto.js.map +1 -1
  389. package/dist/types/user-identification/entities/UserIdentifier.d.ts +2 -0
  390. package/dist/types/user-identification/entities/UserIdentifier.js.map +1 -1
  391. package/dist/types/util/models/interfaces/general.interfaces.d.ts +2 -1
  392. package/dist/types/webflow/dto/index.d.ts +1 -0
  393. package/dist/types/webflow/dto/index.js +18 -0
  394. package/dist/types/webflow/dto/index.js.map +1 -0
  395. package/dist/types/webflow/dto/webflowProgram.dto.d.ts +14 -0
  396. package/dist/types/webflow/dto/webflowProgram.dto.js +7 -0
  397. package/dist/types/webflow/dto/webflowProgram.dto.js.map +1 -0
  398. package/dist/types/{entity → webflow/entities}/WebflowOrganizationConfiguration.d.ts +1 -1
  399. package/dist/types/{entity → webflow/entities}/WebflowOrganizationConfiguration.js +1 -1
  400. package/dist/types/webflow/entities/WebflowOrganizationConfiguration.js.map +1 -0
  401. package/dist/types/webflow/entities/index.d.ts +1 -0
  402. package/dist/types/webflow/entities/index.js +18 -0
  403. package/dist/types/webflow/entities/index.js.map +1 -0
  404. package/dist/types/webflow/index.d.ts +2 -0
  405. package/dist/types/webflow/index.js +2 -0
  406. package/dist/types/webflow/index.js.map +1 -1
  407. package/package.json +1 -1
  408. package/dist/types/entity/Address.js.map +0 -1
  409. package/dist/types/entity/WebflowOrganizationConfiguration.js.map +0 -1
  410. package/dist/types/membership/interfaces/index.d.ts +0 -1
  411. package/dist/types/membership/interfaces/index.js.map +0 -1
  412. package/dist/types/membership/interfaces/membership.interfaces.js.map +0 -1
  413. package/dist/types/notifications/types/enums/index.js.map +0 -1
  414. package/dist/types/notifications/types/enums/notification.enums.d.ts +0 -30
  415. package/dist/types/notifications/types/enums/notification.enums.js +0 -41
  416. package/dist/types/notifications/types/enums/notification.enums.js.map +0 -1
  417. package/dist/types/notifications/types/index.js.map +0 -1
  418. /package/dist/types/{notifications → accounting}/types/index.d.ts +0 -0
  419. /package/dist/types/{notifications → accounting}/types/index.js +0 -0
  420. /package/dist/types/membership/{interfaces → types}/membership.interfaces.js +0 -0
  421. /package/dist/types/notifications/{types → dto/types}/enums/index.d.ts +0 -0
  422. /package/dist/types/notifications/{types → dto/types}/enums/index.js +0 -0
@@ -1,9 +1,10 @@
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 } from '../../../services/enums.service';
4
+ import { CurrencyEnum, PlatformsEnum, ResourceNameTypeEnum, UpdatePricesTypeEnum } 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';
7
8
  export interface ICreateCart {
8
9
  platform?: PlatformsEnum;
9
10
  ownerId?: number;
@@ -19,6 +20,13 @@ export interface IAddCartItems {
19
20
  cartItems: ICreateCartItem[];
20
21
  cart?: Cart;
21
22
  }
23
+ export interface IItemPriceMetadata {
24
+ priceId: number;
25
+ price: number;
26
+ quantity?: number;
27
+ activityTimes?: ActivityTimes[];
28
+ totalPrice?: number;
29
+ }
22
30
  export interface ICreateCartItem {
23
31
  productId: number;
24
32
  unitPrice?: number;
@@ -29,6 +37,8 @@ export interface ICreateCartItem {
29
37
  errors?: string[];
30
38
  unique?: string;
31
39
  overrideTotalPrice?: number;
40
+ product?: Product;
41
+ prices?: IItemPriceMetadata[];
32
42
  }
33
43
  export interface IValidateCartOptions {
34
44
  overridePrice?: boolean;
@@ -39,6 +49,7 @@ export interface ICreateCartOptions extends IValidateCartOptions {
39
49
  skipOnMissingProduct?: boolean;
40
50
  extendCart?: boolean;
41
51
  skipSave?: boolean;
52
+ doMergeItems?: boolean;
42
53
  }
43
54
  export interface IValidateCartResult {
44
55
  currentPrices: IPricesOfProductsResults[];
@@ -56,3 +67,54 @@ export type ResourceTypeToInfoMap = Map<ResourceNameTypeEnum, {
56
67
  resourcesIds: number[];
57
68
  productsIds: number[];
58
69
  }>;
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,4 +1,5 @@
1
1
  import { CustomerTypeEnum } from '../../services/enums.service';
2
+ import { MediaDto } from '../../media/dto/media.dto';
2
3
  export declare class EmergencyContactDto {
3
4
  customerId: number;
4
5
  name?: string;
@@ -14,4 +15,8 @@ export declare class SimpleCustomerDto {
14
15
  colorCodeId: number;
15
16
  isAnonymous: boolean;
16
17
  entityId: number;
18
+ profilePicture?: MediaDto;
19
+ }
20
+ export declare class GetCustomerQueryDto {
21
+ includeUserAndOrganizationUser?: boolean;
17
22
  }
@@ -1,10 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleCustomerDto = exports.EmergencyContactDto = void 0;
3
+ exports.GetCustomerQueryDto = 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;
10
13
  //# 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":";;;AAEA,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,iBAAiB;CAkB7B;AAlBD,8CAkBC"}
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,5 +1,4 @@
1
1
  import { CustomerNoteDto } from '../../dto/customer.dto';
2
- import { AddressDto } from '../../dto/facilities.dto';
3
2
  import { CustomerCreditTransaction } from '../../entity/CustomerCreditTransaction';
4
3
  import { ProductsReservedForCustomers } from '../../entity/ProductsReservedForCustomers';
5
4
  import { MediaDto } from '../../media/dto/media.dto';
@@ -7,6 +6,7 @@ import { ReservationDto } from '../../reservations/dto/reservation.dto';
7
6
  import { ResourceNameTypeEnum } from '../../services/enums.service';
8
7
  import { User } from '../../user/entities/User';
9
8
  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":";;;AAQA,mEAAiF;AAEjF,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":";;;AAOA,mEAAiF;AAGjF,MAAa,eAAgB,SAAQ,yCAAiB;CAsCrD;AAtCD,0CAsCC"}
@@ -1,3 +1,4 @@
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,9 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEFAULT_CREATE_CUSTOMER_OPTIONS = exports.LIMIT_CUSTOMERS_FETCH_AMOUNT = void 0;
3
+ exports.RELATIONS_FOR_ORGANIZATION_USER = 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
- sendNotification: true,
7
+ sendCustomerNotification: true,
8
+ allowExistingCustomer: false,
9
+ requireNewUser: false,
8
10
  };
11
+ exports.RELATIONS_FOR_ORGANIZATION_USER = ['user', 'user.organizationUsers'];
9
12
  //# 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,gBAAgB,EAAE,IAAI;CACtB,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,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,5 +1,6 @@
1
1
  import { Customer } from '../../entity/Customer';
2
2
  import { User } from '../../user/entities/User';
3
+ import { CreateCustomerDto } from '../dto/customer.dto';
3
4
  import { CustomerFamilyStatusEnum } from './enums';
4
5
  export interface CustomerFamily {
5
6
  familyCustomerId: number;
@@ -12,7 +13,9 @@ export interface CustomerContactDetails {
12
13
  }
13
14
  export interface CreateCustomerOptions {
14
15
  saveCustomer?: boolean;
15
- sendNotification?: boolean;
16
+ sendCustomerNotification?: boolean;
17
+ allowExistingCustomer?: boolean;
18
+ requireNewUser?: boolean;
16
19
  }
17
20
  export interface CustomerFamilyMember {
18
21
  id: number;
@@ -28,4 +31,10 @@ export interface CustomerFamilyWithMembers {
28
31
  familyName: string;
29
32
  members: CustomerFamilyMember[];
30
33
  }
34
+ export interface ICreateCustomer {
35
+ newCustomer: CreateCustomerDto;
36
+ organizationId: number;
37
+ userId: number;
38
+ addressId?: number;
39
+ }
31
40
  export type TExtendedCustomer = User & Customer;
@@ -21,3 +21,13 @@ 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,10 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ActivityTimesDto = exports.BasicActivityTimesDto = void 0;
3
+ exports.ScheduleDto = 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;
10
13
  //# 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"}
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,9 +1,10 @@
1
+ import { AttendanceDto } from '../attendance/dto/attendance.dto';
1
2
  import { PaymentStatusEnum } from '../payment/types/enums/payment.enums';
2
3
  import { MaintenanceDto } from '../reservations/dto/maintenance.dto';
3
4
  import { Slot } from '../reservations/entities/slot.entity';
5
+ import { SimpleResourceDto } from '../resources/dto/resource.dto';
4
6
  import { EntryStatusEnum, OrderByEnum, ProgramTypesEnum, RegistrationValidationStatusEnum } from '../services/enums.service';
5
7
  import { IBasicSpaceAndSlotCreator } from '../services/interfaces.service';
6
- import { SimpleResourceDto } from '../resources/dto/resource.dto';
7
8
  import { IdDto, PaginationQuery, PaginationRangeQuery } from './general.dto';
8
9
  export declare class FindEventByIdDto {
9
10
  eventId: number;
@@ -139,10 +140,11 @@ export declare class EventInScheduleDto {
139
140
  export declare class ParentSessionDto extends IdDto {
140
141
  programId: number;
141
142
  name: string;
143
+ parentSeasonId?: number;
142
144
  }
143
145
  export declare class EventWithAttendanceDto extends SimpleEventDto {
144
146
  parentSession: ParentSessionDto;
145
- eventAttendees: SimpleAttendeeDto[];
147
+ attendance: AttendanceDto[];
146
148
  }
147
149
  export declare class GetUsersEventsQueryDto extends PaginationQuery {
148
150
  startDateBefore?: string;
@@ -1 +1 @@
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
+ {"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,17 +1,9 @@
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';
3
4
  export declare class OptionalFacilityIdDto extends OptionalOrganizationIdDto {
4
5
  facilityId?: number;
5
6
  }
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
- }
15
7
  export declare class OpeningTimeDto {
16
8
  open: string;
17
9
  close: string;
@@ -73,4 +65,5 @@ export declare class FindFacilitiesOptionsDto extends PaginationQuery {
73
65
  nameSearch?: string;
74
66
  }
75
67
  export declare class SimpleFacilityDto extends IdAndNameDto {
68
+ sports?: number[];
76
69
  }
@@ -1,14 +1,11 @@
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.AddressDto = exports.OptionalFacilityIdDto = void 0;
3
+ exports.SimpleFacilityDto = exports.FindFacilitiesOptionsDto = exports.UpdateFacilityAmenitiesDto = exports.UpdateFacilitySportsDto = exports.UpdateFacilityOpeningTimesDto = exports.UpdateFacilityDetailsDto = exports.FacilityDto = exports.CreateFacilityDto = exports.OpeningTimeDto = 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;
12
9
  class OpeningTimeDto {
13
10
  }
14
11
  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;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
+ {"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,4 +1,5 @@
1
- import { OrderByEnum } from '../services/enums.service';
1
+ import { OrderByEnum, PaginationTypeEnum } from '../services/enums.service';
2
+ import { IId } from '../services/interfaces.service';
2
3
  import { IPagination } from '../util/models/interfaces/general.interfaces';
3
4
  export declare class FindOneParams {
4
5
  id: number;
@@ -11,12 +12,14 @@ export declare const MINIMUM_ALLOWED_PERCENTAGE = 0.01;
11
12
  export declare const HUNDRED_PERCENT = 100;
12
13
  export declare class PaginationQuery implements IPagination {
13
14
  constructor(query?: {
14
- page?: number;
15
15
  itemsPerPage?: number;
16
+ offset?: number;
17
+ page?: number;
16
18
  min?: number;
17
19
  max?: number;
18
20
  });
19
21
  page?: number;
22
+ offset?: any;
20
23
  itemsPerPage?: number;
21
24
  }
22
25
  export declare class IData<T> {
@@ -28,10 +31,13 @@ export declare class PaginationRangeQuery {
28
31
  itemsPerPage: number;
29
32
  }
30
33
  export declare class PaginationMetaDto {
34
+ type?: PaginationTypeEnum;
31
35
  totalItems: number;
32
36
  itemsPerPage: number;
33
- totalPages: number;
34
- currentPage: number;
37
+ totalPages?: number;
38
+ currentPage?: number;
39
+ offset?: number;
40
+ nextOffset?: number;
35
41
  }
36
42
  export declare class PaginationResultDto<T = any> {
37
43
  meta: PaginationMetaDto;
@@ -41,7 +47,7 @@ export declare class PaginationResultDto<T = any> {
41
47
  export declare class SharedPaginatedResultDto<T, M> extends PaginationResultDto<T> {
42
48
  sharedData: M;
43
49
  }
44
- export declare class IdDto {
50
+ export declare class IdDto implements IId {
45
51
  id: number;
46
52
  }
47
53
  export declare class IdAndNameDto extends IdDto {
@@ -13,10 +13,12 @@ exports.HUNDRED_PERCENT = 100;
13
13
  class PaginationQuery {
14
14
  constructor(query) {
15
15
  var _a, _b;
16
- this.page = exports.DEFAULT_PAGE;
17
16
  this.itemsPerPage = exports.DEFAULT_MINIMUM_ITEMS_PER_PAGE;
18
- this.page = (query === null || query === void 0 ? void 0 : query.page) || exports.DEFAULT_PAGE;
17
+ this.offset = query === null || query === void 0 ? void 0 : query.offset;
19
18
  this.itemsPerPage = Math.min((_a = query === null || query === void 0 ? void 0 : query.max) !== null && _a !== void 0 ? _a : exports.DEFAULT_MAXIMUM_ITEMS_PER_PAGE, (query === null || query === void 0 ? void 0 : query.itemsPerPage) || ((_b = query === null || query === void 0 ? void 0 : query.min) !== null && _b !== void 0 ? _b : exports.DEFAULT_MINIMUM_ITEMS_PER_PAGE));
19
+ if (this.offset == undefined) {
20
+ this.page = (query === null || query === void 0 ? void 0 : query.page) || exports.DEFAULT_PAGE;
21
+ }
20
22
  }
21
23
  }
22
24
  exports.PaginationQuery = PaginationQuery;
@@ -1 +1 @@
1
- {"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/types/dto/general.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAEY,QAAA,8BAA8B,GAAG,GAAG,CAAC;AACrC,QAAA,8BAA8B,GAAG,EAAE,CAAC;AACpC,QAAA,YAAY,GAAG,CAAC,CAAC;AAEjB,QAAA,qBAAqB,GAAG,GAAG,CAAC;AAC5B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAClC,QAAA,eAAe,GAAG,GAAG,CAAC;AAEnC,MAAa,eAAe;IAC3B,YAAY,KAA4E;;QAQxF,SAAI,GAAI,oBAAY,CAAC;QAErB,iBAAY,GAAI,sCAA8B,CAAC;QAT9C,IAAI,CAAC,IAAI,GAAG,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,KAAI,oBAAY,CAAC;QACxC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,GAAG,CAC3B,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,EAC5C,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,KAAI,CAAC,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,CAAC,CACrE,CAAC;IACH,CAAC;CAKD;AAZD,0CAYC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,oBAAoB;IAAjC;QACC,cAAS,GAAG,CAAC,CAAC;QAEd,YAAO,GAAG,CAAC,CAAC;QAEZ,iBAAY,GAAG,GAAG,CAAC;IACpB,CAAC;CAAA;AAND,oDAMC;AAED,MAAa,iBAAiB;CAQ7B;AARD,8CAQC;AAED,MAAa,mBAAmB;IAK/B,YAAY,IAAS,EAAE,IAAuB;QAC7C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IAClB,CAAC;CACD;AATD,kDASC;AAED,MAAa,wBAA+B,SAAQ,mBAAsB;CAEzE;AAFD,4DAEC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,YAAa,SAAQ,KAAK;CAEtC;AAFD,oCAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,MAAM;CAElB;AAFD,wBAEC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,kBAAmB,SAAQ,eAAe;CAMtD;AAND,gDAMC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC"}
1
+ {"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/types/dto/general.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAEY,QAAA,8BAA8B,GAAG,GAAG,CAAC;AACrC,QAAA,8BAA8B,GAAG,EAAE,CAAC;AACpC,QAAA,YAAY,GAAG,CAAC,CAAC;AAEjB,QAAA,qBAAqB,GAAG,GAAG,CAAC;AAC5B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAClC,QAAA,eAAe,GAAG,GAAG,CAAC;AAEnC,MAAa,eAAe;IAC3B,YAAY,KAA6F;;QAgBzG,iBAAY,GAAI,sCAA8B,CAAC;QAf9C,IAAI,CAAC,MAAM,GAAG,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,CAAC;QAC5B,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,GAAG,CAC3B,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,EAC5C,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,KAAI,CAAC,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,CAAC,CACrE,CAAC;QAEF,IAAI,IAAI,CAAC,MAAM,IAAI,SAAS,EAAE;YAC7B,IAAI,CAAC,IAAI,GAAG,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,KAAI,oBAAY,CAAC;SACxC;IACF,CAAC;CAOD;AAlBD,0CAkBC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,oBAAoB;IAAjC;QACC,cAAS,GAAG,CAAC,CAAC;QAEd,YAAO,GAAG,CAAC,CAAC;QAEZ,iBAAY,GAAG,GAAG,CAAC;IACpB,CAAC;CAAA;AAND,oDAMC;AAED,MAAa,iBAAiB;CAc7B;AAdD,8CAcC;AAED,MAAa,mBAAmB;IAK/B,YAAY,IAAS,EAAE,IAAuB;QAC7C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IAClB,CAAC;CACD;AATD,kDASC;AAED,MAAa,wBAA+B,SAAQ,mBAAsB;CAEzE;AAFD,4DAEC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,YAAa,SAAQ,KAAK;CAEtC;AAFD,oCAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,MAAM;CAElB;AAFD,wBAEC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,kBAAmB,SAAQ,eAAe;CAMtD;AAND,gDAMC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC"}
@@ -41,9 +41,22 @@ export declare class SaveUserAsGroupCaptain {
41
41
  groupId: number;
42
42
  userId: number;
43
43
  }
44
- export declare class CreateTeamInviteDto {
44
+ export declare class InviteeDto {
45
+ source: string;
46
+ data: any;
47
+ name: string;
45
48
  emails: string[];
46
- userCreatorId: number;
49
+ phoneNumbers: string[];
50
+ }
51
+ export declare class CreateInviteToTeamDto {
52
+ inviterId: number;
53
+ inviterType: string;
54
+ invitees: InviteeDto[];
55
+ generateUrl: boolean;
56
+ feature: string;
57
+ bulk: boolean;
58
+ origin: number;
59
+ tokend: boolean;
47
60
  }
48
61
  export declare class TeamByIdDto {
49
62
  teamId: number;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MoveTeamOrMembersByCsvDTO = exports.MoveTeamOrMemberDto = exports.UserTeamFutureSeasons = exports.JoinTeamDto = exports.JoinSuccessResponseDto = exports.CustomerJoinTeam = exports.GetInviteDto = exports.TeamByIdDto = exports.CreateTeamInviteDto = exports.SaveUserAsGroupCaptain = exports.MoveUserInGroups = exports.ConnectGroupToDivision = exports.CreateGroupDto = exports.CreateDivisionDto = exports.CreateBulkDivisionsDto = exports.FindByProgramSeasonIdDto = void 0;
3
+ exports.MoveTeamOrMembersByCsvDTO = exports.MoveTeamOrMemberDto = exports.UserTeamFutureSeasons = exports.JoinTeamDto = exports.JoinSuccessResponseDto = exports.CustomerJoinTeam = exports.GetInviteDto = exports.TeamByIdDto = exports.CreateInviteToTeamDto = exports.InviteeDto = exports.SaveUserAsGroupCaptain = exports.MoveUserInGroups = exports.ConnectGroupToDivision = exports.CreateGroupDto = exports.CreateDivisionDto = exports.CreateBulkDivisionsDto = exports.FindByProgramSeasonIdDto = void 0;
4
4
  class FindByProgramSeasonIdDto {
5
5
  }
6
6
  exports.FindByProgramSeasonIdDto = FindByProgramSeasonIdDto;
@@ -22,9 +22,12 @@ exports.MoveUserInGroups = MoveUserInGroups;
22
22
  class SaveUserAsGroupCaptain {
23
23
  }
24
24
  exports.SaveUserAsGroupCaptain = SaveUserAsGroupCaptain;
25
- class CreateTeamInviteDto {
25
+ class InviteeDto {
26
26
  }
27
- exports.CreateTeamInviteDto = CreateTeamInviteDto;
27
+ exports.InviteeDto = InviteeDto;
28
+ class CreateInviteToTeamDto {
29
+ }
30
+ exports.CreateInviteToTeamDto = CreateInviteToTeamDto;
28
31
  class TeamByIdDto {
29
32
  }
30
33
  exports.TeamByIdDto = TeamByIdDto;
@@ -1 +1 @@
1
- {"version":3,"file":"groupsDivisions.dto.js","sourceRoot":"","sources":["../../../src/types/dto/groupsDivisions.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,cAAc;CAc1B;AAdD,wCAcC;AAED,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AACD,MAAa,gBAAgB;CAI5B;AAJD,4CAIC;AAED,MAAa,sBAAsB;CAGlC;AAHD,wDAGC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,YAAa,SAAQ,WAAW;CAE5C;AAFD,oCAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,WAAW;CAMvB;AAND,kCAMC;AAED,MAAa,qBAAsB,SAAQ,WAAW;CAErD;AAFD,sDAEC;AAOD,MAAa,mBAAmB;CAU/B;AAVD,kDAUC;AAED,MAAa,yBAAyB;CAErC;AAFD,8DAEC"}
1
+ {"version":3,"file":"groupsDivisions.dto.js","sourceRoot":"","sources":["../../../src/types/dto/groupsDivisions.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,cAAc;CAc1B;AAdD,wCAcC;AAED,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AACD,MAAa,gBAAgB;CAI5B;AAJD,4CAIC;AAED,MAAa,sBAAsB;CAGlC;AAHD,wDAGC;AAED,MAAa,UAAU;CAUtB;AAVD,gCAUC;AAED,MAAa,qBAAqB;CAgBjC;AAhBD,sDAgBC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,YAAa,SAAQ,WAAW;CAE5C;AAFD,oCAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,WAAW;CAMvB;AAND,kCAMC;AAED,MAAa,qBAAsB,SAAQ,WAAW;CAErD;AAFD,sDAEC;AAOD,MAAa,mBAAmB;CAU/B;AAVD,kDAUC;AAED,MAAa,yBAAyB;CAErC;AAFD,8DAEC"}
@@ -2,6 +2,10 @@ import { ImportResponseDto } from '../import/dto/import.dto';
2
2
  import { PaymentMethodTypeEnum, PaymentStatusEnum } from '../payment/types/enums/payment.enums';
3
3
  import { CancellationStatusEnum, CustomerInMembershipTypeEnum, GenderEnum, MembershipFilterByPropertyEnum, MembershipOrderByPropertyEnum, MembershipStatusEnum, MembershipTypeEnum, OrderByEnum, SportsEnum } from '../services/enums.service';
4
4
  import { IdAndNameDto, PaginationQuery } from './general.dto';
5
+ import { TimeUnit } from '@bondsports/date-time';
6
+ import { ReasonDto } from '../organization/dto/reason.dto';
7
+ import { Membership } from '../entity/Membership';
8
+ import { Customer } from '../entity/Customer';
5
9
  export declare class CreateMembershipDto {
6
10
  organizationId: number;
7
11
  name: string;
@@ -93,7 +97,7 @@ export declare class MembershipImportResponseDto extends ImportResponseDto<Simpl
93
97
  }
94
98
  export declare class MembershipMemberDto {
95
99
  userId: number;
96
- productId: number;
100
+ productId?: number;
97
101
  membershipId: number;
98
102
  productUserId?: number;
99
103
  membershipType?: MembershipTypeEnum;
@@ -108,7 +112,19 @@ export declare class MembershipMemberDto {
108
112
  cancelledAt?: Date;
109
113
  cancellationReason?: string;
110
114
  cancellationStatus?: CancellationStatusEnum;
115
+ pauseStartDate?: Date;
116
+ pauseEndDate?: Date;
117
+ pauseDurationType?: TimeUnit;
118
+ pauseDurationValue?: number;
119
+ pauseReasonId?: number;
120
+ pauseDescription?: string;
111
121
  membershipStatus?: MembershipStatusEnum;
122
+ id?: number;
123
+ organizationId?: number;
124
+ pauseReason?: ReasonDto;
125
+ membership?: Membership;
126
+ customer?: Customer;
127
+ hasPauseHistory?: boolean;
112
128
  }
113
129
  export declare class MembershipMemberImportResponseDto extends ImportResponseDto<MembershipMemberDto> {
114
130
  }
@@ -1 +1 @@
1
- {"version":3,"file":"membership.dto.js","sourceRoot":"","sources":["../../../src/types/dto/membership.dto.ts"],"names":[],"mappings":";;;AAAA,yDAA6D;AAa7D,+CAA8D;AAE9D,MAAa,mBAAmB;CA0C/B;AA1CD,kDA0CC;AAED,MAAa,kBAAmB,SAAQ,mBAAmB;CAE1D;AAFD,gDAEC;AAED,MAAa,wBAAwB;CAGpC;AAHD,4DAGC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,kCAAkC;CAE9C;AAFD,gFAEC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAoB9D;AApBD,gEAoBC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,iCAAkC,SAAQ,kCAAkC;CAExF;AAFD,8EAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,qBAAsB,SAAQ,6BAAe;CAGzD;AAHD,sDAGC;AAED,MAAa,mBAAmB;CAG/B;AAHD,kDAGC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CAU7D;AAVD,8DAUC;AAED,MAAa,mBAAoB,SAAQ,0BAAY;CAYpD;AAZD,kDAYC;AAED,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AAED,MAAa,2BAA4B,SAAQ,8BAAsC;CAAG;AAA1F,kEAA0F;AAE1F,MAAa,mBAAmB;CAkC/B;AAlCD,kDAkCC;AAED,MAAa,iCAAkC,SAAQ,8BAAsC;CAAG;AAAhG,8EAAgG;AAEhG,MAAa,8BAA8B;CAI1C;AAJD,wEAIC"}
1
+ {"version":3,"file":"membership.dto.js","sourceRoot":"","sources":["../../../src/types/dto/membership.dto.ts"],"names":[],"mappings":";;;AAAA,yDAA6D;AAa7D,+CAA8D;AAM9D,MAAa,mBAAmB;CA0C/B;AA1CD,kDA0CC;AAED,MAAa,kBAAmB,SAAQ,mBAAmB;CAE1D;AAFD,gDAEC;AAED,MAAa,wBAAwB;CAGpC;AAHD,4DAGC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,kCAAkC;CAE9C;AAFD,gFAEC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAoB9D;AApBD,gEAoBC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,iCAAkC,SAAQ,kCAAkC;CAExF;AAFD,8EAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,qBAAsB,SAAQ,6BAAe;CAGzD;AAHD,sDAGC;AAED,MAAa,mBAAmB;CAG/B;AAHD,kDAGC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CAU7D;AAVD,8DAUC;AAED,MAAa,mBAAoB,SAAQ,0BAAY;CAYpD;AAZD,kDAYC;AAED,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AAED,MAAa,2BAA4B,SAAQ,8BAAsC;CAAG;AAA1F,kEAA0F;AAE1F,MAAa,mBAAmB;CA0D/B;AA1DD,kDA0DC;AAED,MAAa,iCAAkC,SAAQ,8BAAsC;CAAG;AAAhG,8EAAgG;AAEhG,MAAa,8BAA8B;CAI1C;AAJD,wEAIC"}
@@ -9,3 +9,13 @@ export declare class ProductUserFinancialInfoDto {
9
9
  purchasedOn: Date;
10
10
  productUserId?: number;
11
11
  }
12
+ export declare class SimpleProductUserDto {
13
+ id: number;
14
+ productName: string;
15
+ }
16
+ export declare class BaseSimpleProductUserDto extends SimpleProductUserDto {
17
+ productId: number;
18
+ userId: number;
19
+ productPrice: number;
20
+ productQuantity: number;
21
+ }
@@ -1,7 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProductUserFinancialInfoDto = void 0;
3
+ exports.BaseSimpleProductUserDto = exports.SimpleProductUserDto = exports.ProductUserFinancialInfoDto = void 0;
4
4
  class ProductUserFinancialInfoDto {
5
5
  }
6
6
  exports.ProductUserFinancialInfoDto = ProductUserFinancialInfoDto;
7
+ class SimpleProductUserDto {
8
+ }
9
+ exports.SimpleProductUserDto = SimpleProductUserDto;
10
+ class BaseSimpleProductUserDto extends SimpleProductUserDto {
11
+ }
12
+ exports.BaseSimpleProductUserDto = BaseSimpleProductUserDto;
7
13
  //# sourceMappingURL=product-user.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"product-user.js","sourceRoot":"","sources":["../../../src/types/dto/product-user.ts"],"names":[],"mappings":";;;AAEA,MAAa,2BAA2B;CAgBvC;AAhBD,kEAgBC"}
1
+ {"version":3,"file":"product-user.js","sourceRoot":"","sources":["../../../src/types/dto/product-user.ts"],"names":[],"mappings":";;;AAEA,MAAa,2BAA2B;CAgBvC;AAhBD,kEAgBC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,wBAAyB,SAAQ,oBAAoB;CAQjE;AARD,4DAQC"}
@@ -1,24 +1,12 @@
1
- import { ByOrganizationIdDto } from '../organization/dto/organization.dto';
2
- import { CurrencyEnum } from '../services/enums.service';
1
+ import { ByOrganizationIdDto, OrganizationBaseEntityDto } from '../organization/dto/organization.dto';
3
2
  import { CreatePriceDto } from '../pricing/dto/pricing.dto';
4
- export declare class CreateUpdateVariantsDto {
5
- organizationId: number;
6
- parentProductId: number;
7
- variantTitles: VariantTitleDto[];
8
- variants: VariantDto[];
9
- }
10
3
  export declare class VariantTitleDto {
11
4
  name: string;
12
5
  id: number;
13
6
  organizationId: number;
14
7
  }
15
- export declare class VariantDto {
8
+ export declare class VariantDto extends OrganizationBaseEntityDto {
16
9
  name: string;
17
- price: number;
18
- variantId: number;
19
- currency: CurrencyEnum;
20
- startDate: Date;
21
- endDate: Date;
22
10
  variantTitleId: number;
23
11
  }
24
12
  export declare class VariantWithPrice {
@@ -1,14 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateVariantTitleDto = exports.CreateVariantTitleDto = exports.GetAllVariantTitlesDto = exports.VariantWithPrice = exports.VariantDto = exports.VariantTitleDto = exports.CreateUpdateVariantsDto = void 0;
3
+ exports.UpdateVariantTitleDto = exports.CreateVariantTitleDto = exports.GetAllVariantTitlesDto = exports.VariantWithPrice = exports.VariantDto = exports.VariantTitleDto = void 0;
4
4
  const organization_dto_1 = require("../organization/dto/organization.dto");
5
- class CreateUpdateVariantsDto {
6
- }
7
- exports.CreateUpdateVariantsDto = CreateUpdateVariantsDto;
8
5
  class VariantTitleDto {
9
6
  }
10
7
  exports.VariantTitleDto = VariantTitleDto;
11
- class VariantDto {
8
+ class VariantDto extends organization_dto_1.OrganizationBaseEntityDto {
12
9
  }
13
10
  exports.VariantDto = VariantDto;
14
11
  class VariantWithPrice {
@@ -1 +1 @@
1
- {"version":3,"file":"product-variants.dto.js","sourceRoot":"","sources":["../../../src/types/dto/product-variants.dto.ts"],"names":[],"mappings":";;;AAAA,2EAA2E;AAK3E,MAAa,uBAAuB;CAKnC;AALD,0DAKC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,UAAU;CActB;AAdD,gCAcC;AAED,MAAa,gBAAgB;CAI5B;AAJD,4CAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAAG;AAAlE,wDAAkE;AAElE,MAAa,qBAAsB,SAAQ,sCAAmB;CAI7D;AAJD,sDAIC;AAED,MAAa,qBAAsB,SAAQ,sCAAmB;CAM7D;AAND,sDAMC"}
1
+ {"version":3,"file":"product-variants.dto.js","sourceRoot":"","sources":["../../../src/types/dto/product-variants.dto.ts"],"names":[],"mappings":";;;AAAA,2EAAsG;AAGtG,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,UAAW,SAAQ,4CAAyB;CAIxD;AAJD,gCAIC;AAED,MAAa,gBAAgB;CAI5B;AAJD,4CAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAAG;AAAlE,wDAAkE;AAElE,MAAa,qBAAsB,SAAQ,sCAAmB;CAI7D;AAJD,sDAIC;AAED,MAAa,qBAAsB,SAAQ,sCAAmB;CAM7D;AAND,sDAMC"}
@@ -5,3 +5,7 @@ export declare class BasePaymentMethodFieldsDto extends OrganizationConnectionBa
5
5
  ccBrand?: string;
6
6
  subPaymentMethodType?: SubPaymentMethodTypeEnum;
7
7
  }
8
+ export declare class UserPaymentMethodIdDto {
9
+ userId: number;
10
+ paymentMethodId: number;
11
+ }
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BasePaymentMethodFieldsDto = void 0;
3
+ exports.UserPaymentMethodIdDto = exports.BasePaymentMethodFieldsDto = void 0;
4
4
  const OrganizationConnectionBaseEntity_1 = require("../entity/OrganizationConnectionBaseEntity");
5
5
  class BasePaymentMethodFieldsDto extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
6
6
  }
7
7
  exports.BasePaymentMethodFieldsDto = BasePaymentMethodFieldsDto;
8
+ class UserPaymentMethodIdDto {
9
+ }
10
+ exports.UserPaymentMethodIdDto = UserPaymentMethodIdDto;
8
11
  //# sourceMappingURL=userPaymentMethod.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"userPaymentMethod.dto.js","sourceRoot":"","sources":["../../../src/types/dto/userPaymentMethod.dto.ts"],"names":[],"mappings":";;;AACA,iGAA8F;AAE9F,MAAa,0BAA2B,SAAQ,mEAAgC;CAM/E;AAND,gEAMC"}
1
+ {"version":3,"file":"userPaymentMethod.dto.js","sourceRoot":"","sources":["../../../src/types/dto/userPaymentMethod.dto.ts"],"names":[],"mappings":";;;AACA,iGAA8F;AAE9F,MAAa,0BAA2B,SAAQ,mEAAgC;CAM/E;AAND,gEAMC;AAED,MAAa,sBAAsB;CAIlC;AAJD,wDAIC"}