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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (446) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/address/index.d.ts +0 -2
  3. package/dist/types/address/index.js +0 -2
  4. package/dist/types/address/index.js.map +1 -1
  5. package/dist/types/cart/dto/cart.dto.d.ts +2 -65
  6. package/dist/types/cart/dto/cart.dto.js +1 -28
  7. package/dist/types/cart/dto/cart.dto.js.map +1 -1
  8. package/dist/types/cart/entities/cart-item.entity.d.ts +0 -8
  9. package/dist/types/cart/entities/cart-item.entity.js.map +1 -1
  10. package/dist/types/cart/entities/cart.entity.d.ts +1 -1
  11. package/dist/types/cart/entities/cart.entity.js.map +1 -1
  12. package/dist/types/cart/types/index.d.ts +0 -1
  13. package/dist/types/cart/types/index.js +0 -1
  14. package/dist/types/cart/types/index.js.map +1 -1
  15. package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +1 -63
  16. package/dist/types/customers/dto/customer-response.dto.d.ts +0 -5
  17. package/dist/types/customers/dto/customer-response.dto.js +1 -4
  18. package/dist/types/customers/dto/customer-response.dto.js.map +1 -1
  19. package/dist/types/customers/dto/full-customer.dto.d.ts +1 -1
  20. package/dist/types/customers/dto/full-customer.dto.js.map +1 -1
  21. package/dist/types/customers/types/consts/customers.consts.d.ts +0 -1
  22. package/dist/types/customers/types/consts/customers.consts.js +2 -5
  23. package/dist/types/customers/types/consts/customers.consts.js.map +1 -1
  24. package/dist/types/customers/types/interfaces.d.ts +1 -10
  25. package/dist/types/dto/activityTimes.dto.d.ts +0 -10
  26. package/dist/types/dto/activityTimes.dto.js +1 -4
  27. package/dist/types/dto/activityTimes.dto.js.map +1 -1
  28. package/dist/types/dto/events.dto.d.ts +2 -4
  29. package/dist/types/dto/events.dto.js.map +1 -1
  30. package/dist/types/dto/facilities.dto.d.ts +9 -2
  31. package/dist/types/dto/facilities.dto.js +4 -1
  32. package/dist/types/dto/facilities.dto.js.map +1 -1
  33. package/dist/types/dto/general.dto.d.ts +5 -11
  34. package/dist/types/dto/general.dto.js +2 -4
  35. package/dist/types/dto/general.dto.js.map +1 -1
  36. package/dist/types/dto/groupsDivisions.dto.d.ts +2 -15
  37. package/dist/types/dto/groupsDivisions.dto.js +3 -6
  38. package/dist/types/dto/groupsDivisions.dto.js.map +1 -1
  39. package/dist/types/dto/membership.dto.d.ts +1 -17
  40. package/dist/types/dto/membership.dto.js.map +1 -1
  41. package/dist/types/dto/product-user.d.ts +0 -10
  42. package/dist/types/dto/product-user.js +1 -7
  43. package/dist/types/dto/product-user.js.map +1 -1
  44. package/dist/types/dto/product-variants.dto.d.ts +14 -2
  45. package/dist/types/dto/product-variants.dto.js +5 -2
  46. package/dist/types/dto/product-variants.dto.js.map +1 -1
  47. package/dist/types/dto/userPaymentMethod.dto.d.ts +0 -4
  48. package/dist/types/dto/userPaymentMethod.dto.js +1 -4
  49. package/dist/types/dto/userPaymentMethod.dto.js.map +1 -1
  50. package/dist/types/employees/dto/employee.dto.d.ts +2 -17
  51. package/dist/types/employees/dto/employee.dto.js +1 -8
  52. package/dist/types/employees/dto/employee.dto.js.map +1 -1
  53. package/dist/types/employees/types/index.d.ts +0 -1
  54. package/dist/types/employees/types/index.js +0 -1
  55. package/dist/types/employees/types/index.js.map +1 -1
  56. package/dist/types/entity/ActivityTimes.d.ts +3 -4
  57. package/dist/types/entity/ActivityTimes.js.map +1 -1
  58. package/dist/types/{address/entities → entity}/Address.d.ts +1 -1
  59. package/dist/types/{address/entities → entity}/Address.js +1 -1
  60. package/dist/types/entity/Address.js.map +1 -0
  61. package/dist/types/entity/Customer.d.ts +1 -3
  62. package/dist/types/entity/Customer.js.map +1 -1
  63. package/dist/types/entity/EventAttendees.d.ts +6 -6
  64. package/dist/types/entity/EventAttendees.js.map +1 -1
  65. package/dist/types/entity/EventHistory.d.ts +1 -1
  66. package/dist/types/entity/EventHistory.js.map +1 -1
  67. package/dist/types/entity/Facility.d.ts +1 -1
  68. package/dist/types/entity/LineItems.d.ts +0 -3
  69. package/dist/types/entity/LineItems.js.map +1 -1
  70. package/dist/types/entity/MembershipMember.d.ts +0 -11
  71. package/dist/types/entity/MembershipMember.js.map +1 -1
  72. package/dist/types/entity/PackageV1.d.ts +0 -2
  73. package/dist/types/entity/PackageV1.js.map +1 -1
  74. package/dist/types/{webflow/entities → entity}/WebflowOrganizationConfiguration.d.ts +1 -1
  75. package/dist/types/{webflow/entities → entity}/WebflowOrganizationConfiguration.js +1 -1
  76. package/dist/types/entity/WebflowOrganizationConfiguration.js.map +1 -0
  77. package/dist/types/entity/index.d.ts +2 -0
  78. package/dist/types/entity/index.js +2 -0
  79. package/dist/types/entity/index.js.map +1 -1
  80. package/dist/types/import/dto/reservation.dto.js.map +1 -1
  81. package/dist/types/index.d.ts +0 -5
  82. package/dist/types/index.js +0 -5
  83. package/dist/types/index.js.map +1 -1
  84. package/dist/types/invoice/dto/invoice.dto.d.ts +0 -19
  85. package/dist/types/invoice/dto/invoice.dto.js +1 -5
  86. package/dist/types/invoice/dto/invoice.dto.js.map +1 -1
  87. package/dist/types/invoice/types/consts/invoice.consts.d.ts +0 -10
  88. package/dist/types/invoice/types/consts/invoice.consts.js +1 -10
  89. package/dist/types/invoice/types/consts/invoice.consts.js.map +1 -1
  90. package/dist/types/invoice/types/interfaces/index.d.ts +0 -1
  91. package/dist/types/invoice/types/interfaces/index.js +0 -1
  92. package/dist/types/invoice/types/interfaces/index.js.map +1 -1
  93. package/dist/types/invoice/types/interfaces/invoice.interfaces.d.ts +1 -5
  94. package/dist/types/invoice/types/interfaces/invoice.interfaces.js.map +1 -1
  95. package/dist/types/membership/entities/MembershipMemberRenewal.d.ts +0 -9
  96. package/dist/types/membership/entities/MembershipMemberRenewal.js.map +1 -1
  97. package/dist/types/membership/index.d.ts +1 -2
  98. package/dist/types/membership/index.js +1 -2
  99. package/dist/types/membership/index.js.map +1 -1
  100. package/dist/types/membership/interfaces/index.d.ts +1 -0
  101. package/dist/types/{address/dto → membership/interfaces}/index.js +1 -1
  102. package/dist/types/membership/interfaces/index.js.map +1 -0
  103. package/dist/types/membership/{types → interfaces}/membership.interfaces.d.ts +0 -19
  104. package/dist/types/membership/interfaces/membership.interfaces.js.map +1 -0
  105. package/dist/types/notifications/dto/index.d.ts +0 -1
  106. package/dist/types/notifications/dto/index.js +0 -1
  107. package/dist/types/notifications/dto/index.js.map +1 -1
  108. package/dist/types/notifications/dto/notification.create.dto.d.ts +6 -6
  109. package/dist/types/notifications/dto/notification.create.dto.js +6 -6
  110. package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
  111. package/dist/types/notifications/dto/notification.response.dto.d.ts +3 -3
  112. package/dist/types/notifications/dto/notification.response.dto.js.map +1 -1
  113. package/dist/types/notifications/index.d.ts +1 -0
  114. package/dist/types/notifications/index.js +1 -0
  115. package/dist/types/notifications/index.js.map +1 -1
  116. package/dist/types/notifications/types/enums/index.js.map +1 -0
  117. package/dist/types/notifications/types/enums/notification.enums.d.ts +30 -0
  118. package/dist/types/notifications/types/enums/notification.enums.js +41 -0
  119. package/dist/types/notifications/types/enums/notification.enums.js.map +1 -0
  120. package/dist/types/notifications/types/index.js.map +1 -0
  121. package/dist/types/organization/entities/Organization.d.ts +1 -1
  122. package/dist/types/organization/interfaces/index.d.ts +0 -1
  123. package/dist/types/organization/interfaces/index.js +0 -1
  124. package/dist/types/organization/interfaces/index.js.map +1 -1
  125. package/dist/types/payment/dto/payment-method.dto.d.ts +3 -12
  126. package/dist/types/payment/dto/payment-method.dto.js +1 -4
  127. package/dist/types/payment/dto/payment-method.dto.js.map +1 -1
  128. package/dist/types/payment/dto/payment-plan.dto.d.ts +4 -6
  129. package/dist/types/payment/dto/payment-plan.dto.js.map +1 -1
  130. package/dist/types/payment/entities/PaymentFailures.d.ts +0 -1
  131. package/dist/types/payment/entities/PaymentFailures.js.map +1 -1
  132. package/dist/types/payment/entities/ProductPaymentPlan.d.ts +2 -3
  133. package/dist/types/payment/entities/ProductPaymentPlan.js.map +1 -1
  134. package/dist/types/payment/types/consts/payment.consts.d.ts +0 -1
  135. package/dist/types/payment/types/consts/payment.consts.js +1 -5
  136. package/dist/types/payment/types/consts/payment.consts.js.map +1 -1
  137. package/dist/types/payment/types/enums/payment-plan.enums.d.ts +7 -0
  138. package/dist/types/payment/types/enums/payment-plan.enums.js +9 -1
  139. package/dist/types/payment/types/enums/payment-plan.enums.js.map +1 -1
  140. package/dist/types/payment/types/enums/payment.enums.d.ts +2 -4
  141. package/dist/types/payment/types/enums/payment.enums.js +0 -2
  142. package/dist/types/payment/types/enums/payment.enums.js.map +1 -1
  143. package/dist/types/payment/types/interfaces/discount.interfaces.d.ts +1 -1
  144. package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +0 -16
  145. package/dist/types/pricing/dto/price.dto.d.ts +1 -3
  146. package/dist/types/pricing/dto/price.dto.js.map +1 -1
  147. package/dist/types/pricing/dto/pricing.dto.d.ts +2 -2
  148. package/dist/types/pricing/entities/Price.d.ts +2 -3
  149. package/dist/types/pricing/entities/Price.js.map +1 -1
  150. package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +0 -1
  151. package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
  152. package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +0 -1
  153. package/dist/types/programs/dto/program.dto.d.ts +2 -5
  154. package/dist/types/programs/dto/program.dto.js +1 -4
  155. package/dist/types/programs/dto/program.dto.js.map +1 -1
  156. package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +1 -1
  157. package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +0 -11
  158. package/dist/types/punch-pass/dto/punch-pass.dto.js +1 -5
  159. package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
  160. package/dist/types/purchase/dto/purchase.dto.d.ts +0 -4
  161. package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
  162. package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +3 -5
  163. package/dist/types/reservations/dto/addon.dto.d.ts +5 -17
  164. package/dist/types/reservations/dto/addon.dto.js +1 -4
  165. package/dist/types/reservations/dto/addon.dto.js.map +1 -1
  166. package/dist/types/reservations/dto/maintenance.dto.d.ts +1 -2
  167. package/dist/types/reservations/dto/maintenance.dto.js.map +1 -1
  168. package/dist/types/reservations/dto/reservation.dto.d.ts +24 -163
  169. package/dist/types/reservations/dto/reservation.dto.js +7 -83
  170. package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
  171. package/dist/types/reservations/dto/segment.dto.d.ts +4 -5
  172. package/dist/types/reservations/dto/segment.dto.js.map +1 -1
  173. package/dist/types/reservations/dto/series.dto.d.ts +4 -7
  174. package/dist/types/reservations/dto/series.dto.js.map +1 -1
  175. package/dist/types/reservations/dto/slot.dto.d.ts +18 -63
  176. package/dist/types/reservations/dto/slot.dto.js +4 -19
  177. package/dist/types/reservations/dto/slot.dto.js.map +1 -1
  178. package/dist/types/reservations/dto/v1.reservation.dto.d.ts +0 -1
  179. package/dist/types/reservations/dto/v1.reservation.dto.js.map +1 -1
  180. package/dist/types/reservations/entities/SlotToResource.d.ts +0 -4
  181. package/dist/types/reservations/entities/SlotToResource.js.map +1 -1
  182. package/dist/types/reservations/entities/addon.entity.d.ts +0 -1
  183. package/dist/types/reservations/entities/addon.entity.js.map +1 -1
  184. package/dist/types/reservations/entities/reservation.entity.d.ts +7 -6
  185. package/dist/types/reservations/entities/reservation.entity.js.map +1 -1
  186. package/dist/types/reservations/entities/slot.entity.d.ts +3 -10
  187. package/dist/types/reservations/entities/slot.entity.js.map +1 -1
  188. package/dist/types/reservations/types/consts/index.d.ts +0 -1
  189. package/dist/types/reservations/types/consts/index.js +0 -1
  190. package/dist/types/reservations/types/consts/index.js.map +1 -1
  191. package/dist/types/reservations/types/consts/reservation.consts.d.ts +1 -11
  192. package/dist/types/reservations/types/consts/reservation.consts.js +1 -11
  193. package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
  194. package/dist/types/reservations/types/enums/reservation.enums.d.ts +1 -2
  195. package/dist/types/reservations/types/enums/reservation.enums.js +0 -1
  196. package/dist/types/reservations/types/enums/reservation.enums.js.map +1 -1
  197. package/dist/types/reservations/types/index.d.ts +0 -1
  198. package/dist/types/reservations/types/index.js +0 -1
  199. package/dist/types/reservations/types/index.js.map +1 -1
  200. package/dist/types/reservations/types/interfaces/addon.interfaces.d.ts +2 -18
  201. package/dist/types/reservations/types/interfaces/index.d.ts +0 -2
  202. package/dist/types/reservations/types/interfaces/index.js +0 -2
  203. package/dist/types/reservations/types/interfaces/index.js.map +1 -1
  204. package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +18 -140
  205. package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
  206. package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +25 -58
  207. package/dist/types/reservations/types/interfaces/slot.interfaces.js +0 -4
  208. package/dist/types/reservations/types/interfaces/slot.interfaces.js.map +1 -1
  209. package/dist/types/reservations/types/reservation.types.d.ts +11 -23
  210. package/dist/types/resources/dto/instructor.dto.d.ts +1 -1
  211. package/dist/types/resources/dto/instructor.dto.js.map +1 -1
  212. package/dist/types/resources/entities/Instructor.d.ts +2 -2
  213. package/dist/types/resources/entities/Instructor.js.map +1 -1
  214. package/dist/types/resources/entities/Space.d.ts +1 -1
  215. package/dist/types/resources/entities/Space.js.map +1 -1
  216. package/dist/types/roles/dto/permission-group.dto.d.ts +0 -4
  217. package/dist/types/roles/dto/permission-group.dto.js +1 -8
  218. package/dist/types/roles/dto/permission-group.dto.js.map +1 -1
  219. package/dist/types/roles/dto/role.dto.d.ts +6 -25
  220. package/dist/types/roles/dto/role.dto.js +1 -19
  221. package/dist/types/roles/dto/role.dto.js.map +1 -1
  222. package/dist/types/roles/entities/Role.d.ts +2 -3
  223. package/dist/types/roles/entities/Role.js.map +1 -1
  224. package/dist/types/roles/entities/index.d.ts +0 -6
  225. package/dist/types/roles/entities/index.js +0 -10
  226. package/dist/types/roles/entities/index.js.map +1 -1
  227. package/dist/types/roles/types/index.d.ts +0 -1
  228. package/dist/types/roles/types/index.js +0 -1
  229. package/dist/types/roles/types/index.js.map +1 -1
  230. package/dist/types/roles/types/role.enums.d.ts +2 -13
  231. package/dist/types/roles/types/role.enums.js +1 -13
  232. package/dist/types/roles/types/role.enums.js.map +1 -1
  233. package/dist/types/services/enums.service.d.ts +2 -27
  234. package/dist/types/services/enums.service.js +3 -32
  235. package/dist/types/services/enums.service.js.map +1 -1
  236. package/dist/types/services/interfaces.service.d.ts +3 -15
  237. package/dist/types/services/interfaces.service.js.map +1 -1
  238. package/dist/types/shifts/entities/shift.entity.d.ts +1 -1
  239. package/dist/types/user/dto/user-settings.dto.d.ts +1 -1
  240. package/dist/types/user/dto/user.dto.d.ts +1 -1
  241. package/dist/types/user/dto/user.dto.js.map +1 -1
  242. package/dist/types/user/entities/User.d.ts +1 -3
  243. package/dist/types/user/entities/User.js.map +1 -1
  244. package/dist/types/user/types/user.interfaces.d.ts +0 -15
  245. package/dist/types/user-identification/dto/user-identifier.dto.d.ts +0 -3
  246. package/dist/types/user-identification/dto/user-identifier.dto.js +1 -7
  247. package/dist/types/user-identification/dto/user-identifier.dto.js.map +1 -1
  248. package/dist/types/user-identification/entities/UserIdentifier.d.ts +0 -2
  249. package/dist/types/user-identification/entities/UserIdentifier.js.map +1 -1
  250. package/dist/types/util/models/interfaces/general.interfaces.d.ts +1 -2
  251. package/dist/types/webflow/index.d.ts +0 -2
  252. package/dist/types/webflow/index.js +0 -2
  253. package/dist/types/webflow/index.js.map +1 -1
  254. package/package.json +1 -1
  255. package/dist/types/accounting/entities/index.d.ts +0 -2
  256. package/dist/types/accounting/entities/index.js +0 -19
  257. package/dist/types/accounting/entities/index.js.map +0 -1
  258. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.d.ts +0 -9
  259. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js +0 -8
  260. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js.map +0 -1
  261. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.d.ts +0 -14
  262. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js +0 -8
  263. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js.map +0 -1
  264. package/dist/types/accounting/index.d.ts +0 -2
  265. package/dist/types/accounting/index.js +0 -19
  266. package/dist/types/accounting/index.js.map +0 -1
  267. package/dist/types/accounting/types/enums/accounting.enums.d.ts +0 -14
  268. package/dist/types/accounting/types/enums/accounting.enums.js +0 -20
  269. package/dist/types/accounting/types/enums/accounting.enums.js.map +0 -1
  270. package/dist/types/accounting/types/enums/index.d.ts +0 -1
  271. package/dist/types/accounting/types/enums/index.js +0 -18
  272. package/dist/types/accounting/types/enums/index.js.map +0 -1
  273. package/dist/types/accounting/types/index.js.map +0 -1
  274. package/dist/types/address/dto/address.dto.d.ts +0 -9
  275. package/dist/types/address/dto/address.dto.js +0 -7
  276. package/dist/types/address/dto/address.dto.js.map +0 -1
  277. package/dist/types/address/dto/index.d.ts +0 -1
  278. package/dist/types/address/dto/index.js.map +0 -1
  279. package/dist/types/address/entities/Address.js.map +0 -1
  280. package/dist/types/address/entities/index.d.ts +0 -1
  281. package/dist/types/address/entities/index.js +0 -18
  282. package/dist/types/address/entities/index.js.map +0 -1
  283. package/dist/types/cart/types/classes/cart.classes.d.ts +0 -9
  284. package/dist/types/cart/types/classes/cart.classes.js +0 -7
  285. package/dist/types/cart/types/classes/cart.classes.js.map +0 -1
  286. package/dist/types/cart/types/classes/index.d.ts +0 -1
  287. package/dist/types/cart/types/classes/index.js +0 -18
  288. package/dist/types/cart/types/classes/index.js.map +0 -1
  289. package/dist/types/employees/types/consts/index.d.ts +0 -3
  290. package/dist/types/employees/types/consts/index.js +0 -25
  291. package/dist/types/employees/types/consts/index.js.map +0 -1
  292. package/dist/types/facilities/index.d.ts +0 -1
  293. package/dist/types/facilities/index.js +0 -18
  294. package/dist/types/facilities/index.js.map +0 -1
  295. package/dist/types/facilities/types/facilities.types.d.ts +0 -4
  296. package/dist/types/facilities/types/facilities.types.js +0 -3
  297. package/dist/types/facilities/types/facilities.types.js.map +0 -1
  298. package/dist/types/facilities/types/index.d.ts +0 -1
  299. package/dist/types/facilities/types/index.js +0 -18
  300. package/dist/types/facilities/types/index.js.map +0 -1
  301. package/dist/types/folders/dto/folder.dto.d.ts +0 -58
  302. package/dist/types/folders/dto/folder.dto.js +0 -34
  303. package/dist/types/folders/dto/folder.dto.js.map +0 -1
  304. package/dist/types/folders/dto/index.d.ts +0 -1
  305. package/dist/types/folders/dto/index.js +0 -18
  306. package/dist/types/folders/dto/index.js.map +0 -1
  307. package/dist/types/folders/entities/folder-content.entity.d.ts +0 -12
  308. package/dist/types/folders/entities/folder-content.entity.js +0 -14
  309. package/dist/types/folders/entities/folder-content.entity.js.map +0 -1
  310. package/dist/types/folders/entities/folder-invite.entity.d.ts +0 -8
  311. package/dist/types/folders/entities/folder-invite.entity.js +0 -8
  312. package/dist/types/folders/entities/folder-invite.entity.js.map +0 -1
  313. package/dist/types/folders/entities/folder.entity.d.ts +0 -21
  314. package/dist/types/folders/entities/folder.entity.js +0 -12
  315. package/dist/types/folders/entities/folder.entity.js.map +0 -1
  316. package/dist/types/folders/entities/index.d.ts +0 -3
  317. package/dist/types/folders/entities/index.js +0 -20
  318. package/dist/types/folders/entities/index.js.map +0 -1
  319. package/dist/types/folders/index.d.ts +0 -2
  320. package/dist/types/folders/index.js +0 -19
  321. package/dist/types/folders/index.js.map +0 -1
  322. package/dist/types/invoice/types/interfaces/line-item.interfaces.d.ts +0 -7
  323. package/dist/types/invoice/types/interfaces/line-item.interfaces.js +0 -3
  324. package/dist/types/invoice/types/interfaces/line-item.interfaces.js.map +0 -1
  325. package/dist/types/membership/dto/expendedMembership.dto.d.ts +0 -15
  326. package/dist/types/membership/dto/expendedMembership.dto.js +0 -7
  327. package/dist/types/membership/dto/expendedMembership.dto.js.map +0 -1
  328. package/dist/types/membership/dto/index.d.ts +0 -2
  329. package/dist/types/membership/dto/index.js +0 -19
  330. package/dist/types/membership/dto/index.js.map +0 -1
  331. package/dist/types/membership/dto/membershipMember.dto.d.ts +0 -103
  332. package/dist/types/membership/dto/membershipMember.dto.js +0 -45
  333. package/dist/types/membership/dto/membershipMember.dto.js.map +0 -1
  334. package/dist/types/membership/types/index.d.ts +0 -5
  335. package/dist/types/membership/types/index.js +0 -22
  336. package/dist/types/membership/types/index.js.map +0 -1
  337. package/dist/types/membership/types/membership.interfaces.js.map +0 -1
  338. package/dist/types/membership/types/membership.member.classes.d.ts +0 -14
  339. package/dist/types/membership/types/membership.member.classes.js +0 -7
  340. package/dist/types/membership/types/membership.member.classes.js.map +0 -1
  341. package/dist/types/membership/types/membership.member.consts.d.ts +0 -3
  342. package/dist/types/membership/types/membership.member.consts.js +0 -8
  343. package/dist/types/membership/types/membership.member.consts.js.map +0 -1
  344. package/dist/types/membership/types/membership.members.interfaces.d.ts +0 -86
  345. package/dist/types/membership/types/membership.members.interfaces.js +0 -3
  346. package/dist/types/membership/types/membership.members.interfaces.js.map +0 -1
  347. package/dist/types/membership/types/membership.members.types.d.ts +0 -4
  348. package/dist/types/membership/types/membership.members.types.js +0 -3
  349. package/dist/types/membership/types/membership.members.types.js.map +0 -1
  350. package/dist/types/notifications/dto/types/enums/index.js.map +0 -1
  351. package/dist/types/notifications/dto/types/enums/notification.enums.d.ts +0 -2
  352. package/dist/types/notifications/dto/types/enums/notification.enums.js +0 -8
  353. package/dist/types/notifications/dto/types/enums/notification.enums.js.map +0 -1
  354. package/dist/types/notifications/dto/types/index.d.ts +0 -1
  355. package/dist/types/notifications/dto/types/index.js +0 -18
  356. package/dist/types/notifications/dto/types/index.js.map +0 -1
  357. package/dist/types/online-rentals/index.d.ts +0 -1
  358. package/dist/types/online-rentals/index.js +0 -18
  359. package/dist/types/online-rentals/index.js.map +0 -1
  360. package/dist/types/online-rentals/types/index.d.ts +0 -2
  361. package/dist/types/online-rentals/types/index.js +0 -19
  362. package/dist/types/online-rentals/types/index.js.map +0 -1
  363. package/dist/types/online-rentals/types/online-rentals.classes.d.ts +0 -21
  364. package/dist/types/online-rentals/types/online-rentals.classes.js +0 -10
  365. package/dist/types/online-rentals/types/online-rentals.classes.js.map +0 -1
  366. package/dist/types/online-rentals/types/online-rentals.dto.d.ts +0 -61
  367. package/dist/types/online-rentals/types/online-rentals.dto.js +0 -36
  368. package/dist/types/online-rentals/types/online-rentals.dto.js.map +0 -1
  369. package/dist/types/organization/interfaces/reason.interfaces.d.ts +0 -6
  370. package/dist/types/organization/interfaces/reason.interfaces.js +0 -3
  371. package/dist/types/organization/interfaces/reason.interfaces.js.map +0 -1
  372. package/dist/types/reservations/types/classes/addon.classes.d.ts +0 -21
  373. package/dist/types/reservations/types/classes/addon.classes.js +0 -7
  374. package/dist/types/reservations/types/classes/addon.classes.js.map +0 -1
  375. package/dist/types/reservations/types/classes/index.d.ts +0 -7
  376. package/dist/types/reservations/types/classes/index.js +0 -24
  377. package/dist/types/reservations/types/classes/index.js.map +0 -1
  378. package/dist/types/reservations/types/classes/maintenance.classes.d.ts +0 -8
  379. package/dist/types/reservations/types/classes/maintenance.classes.js +0 -7
  380. package/dist/types/reservations/types/classes/maintenance.classes.js.map +0 -1
  381. package/dist/types/reservations/types/classes/product.classes.d.ts +0 -16
  382. package/dist/types/reservations/types/classes/product.classes.js +0 -10
  383. package/dist/types/reservations/types/classes/product.classes.js.map +0 -1
  384. package/dist/types/reservations/types/classes/reservation.classes.d.ts +0 -58
  385. package/dist/types/reservations/types/classes/reservation.classes.js +0 -10
  386. package/dist/types/reservations/types/classes/reservation.classes.js.map +0 -1
  387. package/dist/types/reservations/types/classes/segment.classes.d.ts +0 -32
  388. package/dist/types/reservations/types/classes/segment.classes.js +0 -10
  389. package/dist/types/reservations/types/classes/segment.classes.js.map +0 -1
  390. package/dist/types/reservations/types/classes/series.classes.d.ts +0 -27
  391. package/dist/types/reservations/types/classes/series.classes.js +0 -7
  392. package/dist/types/reservations/types/classes/series.classes.js.map +0 -1
  393. package/dist/types/reservations/types/classes/slot.classes.d.ts +0 -69
  394. package/dist/types/reservations/types/classes/slot.classes.js +0 -11
  395. package/dist/types/reservations/types/classes/slot.classes.js.map +0 -1
  396. package/dist/types/reservations/types/consts/slot.consts.d.ts +0 -1
  397. package/dist/types/reservations/types/consts/slot.consts.js +0 -5
  398. package/dist/types/reservations/types/consts/slot.consts.js.map +0 -1
  399. package/dist/types/reservations/types/interfaces/segment.interfaces.d.ts +0 -29
  400. package/dist/types/reservations/types/interfaces/segment.interfaces.js +0 -3
  401. package/dist/types/reservations/types/interfaces/segment.interfaces.js.map +0 -1
  402. package/dist/types/reservations/types/interfaces/series.interfaces.d.ts +0 -32
  403. package/dist/types/reservations/types/interfaces/series.interfaces.js +0 -3
  404. package/dist/types/reservations/types/interfaces/series.interfaces.js.map +0 -1
  405. package/dist/types/roles/types/role.consts.d.ts +0 -1
  406. package/dist/types/roles/types/role.consts.js +0 -6
  407. package/dist/types/roles/types/role.consts.js.map +0 -1
  408. package/dist/types/session-participants/dto/get.session.participant.dto.d.ts +0 -22
  409. package/dist/types/session-participants/dto/get.session.participant.dto.js +0 -18
  410. package/dist/types/session-participants/dto/get.session.participant.dto.js.map +0 -1
  411. package/dist/types/session-participants/dto/index.d.ts +0 -2
  412. package/dist/types/session-participants/dto/index.js +0 -19
  413. package/dist/types/session-participants/dto/index.js.map +0 -1
  414. package/dist/types/session-participants/dto/session.participant.dto.d.ts +0 -45
  415. package/dist/types/session-participants/dto/session.participant.dto.js +0 -10
  416. package/dist/types/session-participants/dto/session.participant.dto.js.map +0 -1
  417. package/dist/types/session-participants/index.d.ts +0 -2
  418. package/dist/types/session-participants/index.js +0 -19
  419. package/dist/types/session-participants/index.js.map +0 -1
  420. package/dist/types/session-participants/types/consts.d.ts +0 -3
  421. package/dist/types/session-participants/types/consts.js +0 -7
  422. package/dist/types/session-participants/types/consts.js.map +0 -1
  423. package/dist/types/session-participants/types/enums.d.ts +0 -17
  424. package/dist/types/session-participants/types/enums.js +0 -24
  425. package/dist/types/session-participants/types/enums.js.map +0 -1
  426. package/dist/types/session-participants/types/index.d.ts +0 -3
  427. package/dist/types/session-participants/types/index.js +0 -20
  428. package/dist/types/session-participants/types/index.js.map +0 -1
  429. package/dist/types/session-participants/types/interfaces.d.ts +0 -46
  430. package/dist/types/session-participants/types/interfaces.js +0 -3
  431. package/dist/types/session-participants/types/interfaces.js.map +0 -1
  432. package/dist/types/webflow/dto/index.d.ts +0 -1
  433. package/dist/types/webflow/dto/index.js +0 -18
  434. package/dist/types/webflow/dto/index.js.map +0 -1
  435. package/dist/types/webflow/dto/webflowProgram.dto.d.ts +0 -14
  436. package/dist/types/webflow/dto/webflowProgram.dto.js +0 -7
  437. package/dist/types/webflow/dto/webflowProgram.dto.js.map +0 -1
  438. package/dist/types/webflow/entities/WebflowOrganizationConfiguration.js.map +0 -1
  439. package/dist/types/webflow/entities/index.d.ts +0 -1
  440. package/dist/types/webflow/entities/index.js +0 -18
  441. package/dist/types/webflow/entities/index.js.map +0 -1
  442. /package/dist/types/membership/{types → interfaces}/membership.interfaces.js +0 -0
  443. /package/dist/types/notifications/{dto/types → types}/enums/index.d.ts +0 -0
  444. /package/dist/types/notifications/{dto/types → types}/enums/index.js +0 -0
  445. /package/dist/types/{accounting → notifications}/types/index.d.ts +0 -0
  446. /package/dist/types/{accounting → notifications}/types/index.js +0 -0
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaymentMethodToFundLeftDto = exports.ByUserAndUserPaymentMethodDto = exports.UserPaymentMethodOption = exports.UserPaymentMethodDto = exports.UpdateConnectedResourcePaymentMethodDto = exports.ConnectedResourceDto = exports.UserPaymentMethodSimpleDto = void 0;
3
+ exports.ByUserAndUserPaymentMethodDto = exports.UserPaymentMethodOption = exports.UserPaymentMethodDto = exports.UpdateConnectedResourcePaymentMethodDto = exports.ConnectedResourceDto = exports.UserPaymentMethodSimpleDto = void 0;
4
4
  const user_dto_1 = require("../../user/dto/user.dto");
5
5
  class UserPaymentMethodSimpleDto {
6
6
  }
@@ -20,7 +20,4 @@ exports.UserPaymentMethodOption = UserPaymentMethodOption;
20
20
  class ByUserAndUserPaymentMethodDto extends user_dto_1.UserIdDto {
21
21
  }
22
22
  exports.ByUserAndUserPaymentMethodDto = ByUserAndUserPaymentMethodDto;
23
- class PaymentMethodToFundLeftDto {
24
- }
25
- exports.PaymentMethodToFundLeftDto = PaymentMethodToFundLeftDto;
26
23
  //# sourceMappingURL=payment-method.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"payment-method.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-method.dto.ts"],"names":[],"mappings":";;;AAIA,sDAAmE;AAiBnE,MAAa,0BAA0B;CAQtC;AARD,gEAQC;AAED,MAAa,oBAAoB;CAgBhC;AAhBD,oDAgBC;AAED,MAAa,uCAAuC;CAUnD;AAVD,0FAUC;AAED,MAAa,oBAAoB;CA0BhC;AA1BD,oDA0BC;AAED,MAAa,uBAAuB;CAQnC;AARD,0DAQC;AAED,MAAa,6BAA8B,SAAQ,oBAAS;CAE3D;AAFD,sEAEC;AAED,MAAa,0BAA0B;CAYtC;AAZD,gEAYC"}
1
+ {"version":3,"file":"payment-method.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-method.dto.ts"],"names":[],"mappings":";;;AAIA,sDAAoD;AAgBpD,MAAa,0BAA0B;CAQtC;AARD,gEAQC;AAED,MAAa,oBAAoB;CAgBhC;AAhBD,oDAgBC;AAED,MAAa,uCAAuC;CAUnD;AAVD,0FAUC;AAED,MAAa,oBAAoB;CA0BhC;AA1BD,oDA0BC;AAED,MAAa,uBAAuB;CAQnC;AARD,0DAQC;AAED,MAAa,6BAA8B,SAAQ,oBAAS;CAE3D;AAFD,sEAEC"}
@@ -1,8 +1,7 @@
1
1
  import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
2
2
  import { ProductPaymentPlan } from '../entities/ProductPaymentPlan';
3
- import { PaymentPlanStatusEnum, PaymentPlanTypeEnum } from '../types/enums/payment-plan.enums';
3
+ import { PaymentPlanRepetitionEnum, PaymentPlanStatusEnum, PaymentPlanTypeEnum } from '../types/enums/payment-plan.enums';
4
4
  import { PaymentMethodTypeEnum } from '../types/enums/payment.enums';
5
- import { RepetitionUnit } from '@bondsports/date-time';
6
5
  export declare class PaymentPlanScheduleDto {
7
6
  date: Date;
8
7
  percent?: number;
@@ -17,14 +16,13 @@ export declare class PaymentPlanDto {
17
16
  status?: PaymentPlanStatusEnum;
18
17
  paymentPlanType?: PaymentPlanTypeEnum;
19
18
  startsInMonths?: number;
20
- installmentRepeat?: RepetitionUnit;
19
+ installmentRepeat?: PaymentPlanRepetitionEnum;
21
20
  }
22
21
  export declare class CreatePaymentPlanDto extends PaymentPlanDto {
23
22
  name: string;
24
23
  }
25
24
  export declare class CalcPaymentPlanDto extends PaymentPlanDto {
26
25
  amountToSplit: number;
27
- organizationId?: number;
28
26
  }
29
27
  export declare class BasicInstallmentDataDto extends ByOrganizationIdDto {
30
28
  invoiceId: number;
@@ -42,10 +40,10 @@ export declare class ScheduledPaymentDto {
42
40
  originalPlannedDate?: Date;
43
41
  }
44
42
  export declare class FutureInstallmentsIdsDto {
45
- paymentsIds?: number[];
43
+ paymentsIds: number[];
46
44
  }
47
45
  export declare class CancelFutureInstallmentsDto extends FutureInstallmentsIdsDto {
48
- invoiceId: number;
46
+ invoiceId?: number;
49
47
  userId?: number;
50
48
  }
51
49
  export declare class UpdateScheduledPaymentsDto {
@@ -1 +1 @@
1
- {"version":3,"file":"payment-plan.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-plan.dto.ts"],"names":[],"mappings":";;;AACA,8EAA8E;AAM9E,MAAa,sBAAsB;CAQlC;AARD,wDAQC;AACD,MAAa,cAAc;CAgB1B;AAhBD,wCAgBC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,kBAAmB,SAAQ,cAAc;CAIrD;AAJD,gDAIC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAM/D;AAND,0DAMC;AAED,MAAa,0BAA2B,SAAQ,uBAAuB;CAMtE;AAND,gEAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,2BAA4B,SAAQ,wBAAwB;CAIxE;AAJD,kEAIC;AAED,MAAa,0BAA0B;CAYtC;AAZD,gEAYC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC"}
1
+ {"version":3,"file":"payment-plan.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment-plan.dto.ts"],"names":[],"mappings":";;;AACA,8EAA8E;AAS9E,MAAa,sBAAsB;CAQlC;AARD,wDAQC;AACD,MAAa,cAAc;CAgB1B;AAhBD,wCAgBC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,kBAAmB,SAAQ,cAAc;CAErD;AAFD,gDAEC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAM/D;AAND,0DAMC;AAED,MAAa,0BAA2B,SAAQ,uBAAuB;CAMtE;AAND,gEAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,2BAA4B,SAAQ,wBAAwB;CAIxE;AAJD,kEAIC;AAED,MAAa,0BAA0B;CAYtC;AAZD,gEAYC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC"}
@@ -4,7 +4,6 @@ export declare class PaymentFailure extends OrganizationConnectionBaseEntity {
4
4
  paymentInstallmentId?: number;
5
5
  invoiceId: number;
6
6
  paymentId?: number;
7
- paymentMethodId?: number;
8
7
  reason: EFailedPaymentReasons;
9
8
  errorMessage: string;
10
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentFailures.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/PaymentFailures.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAEjG,MAAa,cAAe,SAAQ,mEAAgC;CAYnE;AAZD,wCAYC"}
1
+ {"version":3,"file":"PaymentFailures.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/PaymentFailures.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAEjG,MAAa,cAAe,SAAQ,mEAAgC;CAUnE;AAVD,wCAUC"}
@@ -1,14 +1,13 @@
1
1
  import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
2
2
  import { Product } from '../../product-pricing/entities/Product';
3
- import { PaymentPlanStatusEnum, PaymentPlanTypeEnum } from '../types/enums/payment-plan.enums';
3
+ import { PaymentPlanRepetitionEnum, PaymentPlanStatusEnum, PaymentPlanTypeEnum } from '../types/enums/payment-plan.enums';
4
4
  import { PaymentPlanSchedule } from './PaymentPlanSchedule';
5
- import { RepetitionUnit } from '@bondsports/date-time';
6
5
  export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
7
6
  productId: number;
8
7
  maxInstallments?: number;
9
8
  dayOfMonth?: number;
10
9
  name: string;
11
- installmentRepeat?: RepetitionUnit;
10
+ installmentRepeat?: PaymentPlanRepetitionEnum;
12
11
  startsInMonths?: number;
13
12
  status: PaymentPlanStatusEnum;
14
13
  paymentPlanType: PaymentPlanTypeEnum;
@@ -1 +1 @@
1
- {"version":3,"file":"ProductPaymentPlan.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/ProductPaymentPlan.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AAMjG,qGAAqG;AACrG,MAAa,kBAAmB,SAAQ,mEAAgC;CAsBvE;AAtBD,gDAsBC"}
1
+ {"version":3,"file":"ProductPaymentPlan.js","sourceRoot":"","sources":["../../../../src/types/payment/entities/ProductPaymentPlan.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AASjG,qGAAqG;AACrG,MAAa,kBAAmB,SAAQ,mEAAgC;CAsBvE;AAtBD,gDAsBC"}
@@ -12,4 +12,3 @@ export declare const uniqueTaxTemplate: (lineItem: LineItems) => string;
12
12
  export declare const UNIQUE_SPLIT_CHAR = "&";
13
13
  export declare const uniqueDiscountTemplate: (discountItem: ItemDiscountDto) => string;
14
14
  export declare const orderByResourceTemplate: (resource: PurchasedResource, type: PurchasedResourceTypeEnum) => string;
15
- export declare const isRevertedStatus: (paymentStatus: PaymentStatusEnum) => boolean;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isRevertedStatus = exports.orderByResourceTemplate = exports.uniqueDiscountTemplate = exports.UNIQUE_SPLIT_CHAR = exports.uniqueTaxTemplate = exports.installmentStatusDict = exports.REVERTED_STATUSES = exports.MIN_ACH_PAYMENT_AMOUNT = void 0;
3
+ exports.orderByResourceTemplate = exports.uniqueDiscountTemplate = exports.UNIQUE_SPLIT_CHAR = exports.uniqueTaxTemplate = exports.installmentStatusDict = exports.REVERTED_STATUSES = exports.MIN_ACH_PAYMENT_AMOUNT = void 0;
4
4
  const payment_enums_1 = require("../enums/payment.enums");
5
5
  exports.MIN_ACH_PAYMENT_AMOUNT = 0.5;
6
6
  exports.REVERTED_STATUSES = [
@@ -34,8 +34,4 @@ const orderByResourceTemplate = (resource, type) => {
34
34
  return `${(_b = (_a = resource[`${type}`]) === null || _a === void 0 ? void 0 : _a.startDate) !== null && _b !== void 0 ? _b : ''}_${(_c = resource[`${type}`]) === null || _c === void 0 ? void 0 : _c.id}`;
35
35
  };
36
36
  exports.orderByResourceTemplate = orderByResourceTemplate;
37
- const isRevertedStatus = (paymentStatus) => {
38
- return exports.REVERTED_STATUSES.includes(paymentStatus);
39
- };
40
- exports.isRevertedStatus = isRevertedStatus;
41
37
  //# sourceMappingURL=payment.consts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"payment.consts.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/consts/payment.consts.ts"],"names":[],"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AA,GAAG,YAAY,CAAC,kBAAkB,EAAE,mCAAI,EAAE,CAAC;IAC9E,OAAO,GAAG,YAAY,CAAC,QAAQ,IAAI,YAAY,CAAC,UAAU,IAAI,MAAA,YAAY,CAAC,QAAQ,0CAAE,IAAI,IAAI,kBAAkB,EAAE,CAAC;AACnH,CAAC,CAAC;AAHW,QAAA,sBAAsB,0BAGjC;AAEK,MAAM,uBAAuB,GAAG,CAAC,QAA2B,EAAE,IAA+B,EAAU,EAAE;;IAC/G,OAAO,GAAG,MAAA,MAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,CAAyB,0CAAE,SAAS,mCAAI,EAAE,IAAI,MAAA,QAAQ,CAAC,GAAG,IAAI,EAAE,CAAC,0CAAE,EAAE,EAAE,CAAC;AACtG,CAAC,CAAC;AAFW,QAAA,uBAAuB,2BAElC"}
@@ -1,3 +1,10 @@
1
+ export declare enum PaymentPlanRepetitionEnum {
2
+ DAY = "day",
3
+ WEEK = "week",
4
+ MONTH = "month",
5
+ QUARTER = "quarter",
6
+ YEAR = "year"
7
+ }
1
8
  export declare enum PaymentPlanStatusEnum {
2
9
  ACTIVE = "active",
3
10
  INACTIVE = "inactive"
@@ -1,6 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaymentPlanTypeEnum = exports.PaymentPlanStatusEnum = void 0;
3
+ exports.PaymentPlanTypeEnum = exports.PaymentPlanStatusEnum = exports.PaymentPlanRepetitionEnum = void 0;
4
+ var PaymentPlanRepetitionEnum;
5
+ (function (PaymentPlanRepetitionEnum) {
6
+ PaymentPlanRepetitionEnum["DAY"] = "day";
7
+ PaymentPlanRepetitionEnum["WEEK"] = "week";
8
+ PaymentPlanRepetitionEnum["MONTH"] = "month";
9
+ PaymentPlanRepetitionEnum["QUARTER"] = "quarter";
10
+ PaymentPlanRepetitionEnum["YEAR"] = "year";
11
+ })(PaymentPlanRepetitionEnum = exports.PaymentPlanRepetitionEnum || (exports.PaymentPlanRepetitionEnum = {}));
4
12
  var PaymentPlanStatusEnum;
5
13
  (function (PaymentPlanStatusEnum) {
6
14
  PaymentPlanStatusEnum["ACTIVE"] = "active";
@@ -1 +1 @@
1
- {"version":3,"file":"payment-plan.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/payment-plan.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAChC,0CAAiB,CAAA;IACjB,8CAAqB,CAAA;AACtB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAED,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC9B,0CAAmB,CAAA;IACnB,oDAA6B,CAAA;IAC7B,4CAAqB,CAAA;IACrB,0CAAmB,CAAA;IACnB,wCAAiB,CAAA;AAClB,CAAC,EANW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAM9B"}
1
+ {"version":3,"file":"payment-plan.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/payment-plan.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,yBAMX;AAND,WAAY,yBAAyB;IACpC,wCAAW,CAAA;IACX,0CAAa,CAAA;IACb,4CAAe,CAAA;IACf,gDAAmB,CAAA;IACnB,0CAAa,CAAA;AACd,CAAC,EANW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAMpC;AAED,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAChC,0CAAiB,CAAA;IACjB,8CAAqB,CAAA;AACtB,CAAC,EAHW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAGhC;AAED,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC9B,0CAAmB,CAAA;IACnB,oDAA6B,CAAA;IAC7B,4CAAqB,CAAA;IACrB,0CAAmB,CAAA;IACnB,wCAAiB,CAAA;AAClB,CAAC,EANW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAM9B"}
@@ -14,14 +14,12 @@ export declare enum PaymentFilterByEnum {
14
14
  PAYMENT_STATUS = "paymentStatus",
15
15
  STATUS = "status",
16
16
  ID = "id",
17
- CREATED_AT = "createdAt",
18
- PRICE = "price"
17
+ CREATED_AT = "createdAt"
19
18
  }
20
19
  export declare enum ReasonTypeEnum {
21
20
  REFUND = "refund",
22
21
  DISCOUNT = "discount",
23
- PROMO_CODE = "promo_code",
24
- MEMBERSHIP_PAUSE = "membership_pause"
22
+ PROMO_CODE = "promo_code"
25
23
  }
26
24
  export declare enum PaymentStatusV1Enum {
27
25
  SENT_TO_CLIENT = 1,
@@ -20,14 +20,12 @@ var PaymentFilterByEnum;
20
20
  PaymentFilterByEnum["STATUS"] = "status";
21
21
  PaymentFilterByEnum["ID"] = "id";
22
22
  PaymentFilterByEnum["CREATED_AT"] = "createdAt";
23
- PaymentFilterByEnum["PRICE"] = "price";
24
23
  })(PaymentFilterByEnum = exports.PaymentFilterByEnum || (exports.PaymentFilterByEnum = {}));
25
24
  var ReasonTypeEnum;
26
25
  (function (ReasonTypeEnum) {
27
26
  ReasonTypeEnum["REFUND"] = "refund";
28
27
  ReasonTypeEnum["DISCOUNT"] = "discount";
29
28
  ReasonTypeEnum["PROMO_CODE"] = "promo_code";
30
- ReasonTypeEnum["MEMBERSHIP_PAUSE"] = "membership_pause";
31
29
  })(ReasonTypeEnum = exports.ReasonTypeEnum || (exports.ReasonTypeEnum = {}));
32
30
  var PaymentStatusV1Enum;
33
31
  (function (PaymentStatusV1Enum) {
@@ -1 +1 @@
1
- {"version":3,"file":"payment.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/payment.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC5B,0CAAqB,CAAA;IACrB,gDAA2B,CAAA;IAC3B,wCAAmB,CAAA;IACnB,0CAAqB,CAAA;IACrB,kCAAa,CAAA;IACb,0CAAqB,CAAA;IACrB,wDAAmC,CAAA;IACnC,sCAAiB,CAAA;IACjB,w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AAY,kBAAkB;IAC7B,2CAAqB,CAAA;IACrB,8CAAwB,CAAA;AACzB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B"}
@@ -1,4 +1,4 @@
1
- import { IProductRelatedMembership } from '../../../membership/types/membership.interfaces';
1
+ import { IProductRelatedMembership } from '../../../membership/interfaces/membership.interfaces';
2
2
  import { Product } from '../../../product-pricing/entities/Product';
3
3
  import { IProductRelatedProgram } from '../../../programs/types/interfaces/program.interfaces';
4
4
  import { MembershipTypeEnum, ProgramTypesEnum } from '../../../services/enums.service';
@@ -89,22 +89,6 @@ export interface IGetPayment {
89
89
  onlyPublicNotes?: boolean;
90
90
  includeInvoice?: boolean;
91
91
  }
92
- export interface IBuildBookingConfirmationMail {
93
- organization_name: string;
94
- activity_type: string;
95
- user_first_name: string;
96
- user_last_name: string;
97
- space_name: string;
98
- events: IEventMail[];
99
- total_cost: number;
100
- }
101
- export interface IEventMail {
102
- space_name: string;
103
- start_time: string;
104
- end_time: string;
105
- start_day_date: string;
106
- end_day_date: string;
107
- }
108
92
  export interface IHandleGetPayment {
109
93
  organizationId: number;
110
94
  paymentId: number;
@@ -1,6 +1,6 @@
1
1
  import { ActivityTimesDto } from '../../dto/activityTimes.dto';
2
2
  import { OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
3
- import { CurrencyEnum, DiscountMethodsEnum } from '../../services/enums.service';
3
+ import { CurrencyEnum } from '../../services/enums.service';
4
4
  export declare class PriceDto extends OrganizationBaseEntityDto {
5
5
  createdAt: Date;
6
6
  updatedAt: Date;
@@ -16,6 +16,4 @@ export declare class PriceDto extends OrganizationBaseEntityDto {
16
16
  taxIncludedPrice?: number;
17
17
  activityTimes?: ActivityTimesDto[];
18
18
  isDefault?: boolean;
19
- discountMethod?: DiscountMethodsEnum;
20
- discountValue?: number;
21
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"price.dto.js","sourceRoot":"","sources":["../../../../src/types/pricing/dto/price.dto.ts"],"names":[],"mappings":";;;AACA,8EAAoF;AAGpF,MAAa,QAAS,SAAQ,4CAAyB;CAgCtD;AAhCD,4BAgCC"}
1
+ {"version":3,"file":"price.dto.js","sourceRoot":"","sources":["../../../../src/types/pricing/dto/price.dto.ts"],"names":[],"mappings":";;;AACA,8EAAoF;AAGpF,MAAa,QAAS,SAAQ,4CAAyB;CA4BtD;AA5BD,4BA4BC"}
@@ -78,8 +78,8 @@ export declare class CreatePriceDto {
78
78
  price: number;
79
79
  currency: CurrencyEnum;
80
80
  name: string;
81
- startDate?: string;
82
- endDate?: string;
81
+ startDate?: Date;
82
+ endDate?: Date;
83
83
  discountValue?: number;
84
84
  discountMethod?: DiscountMethodsEnum;
85
85
  isDefaultPriceForProduct?: boolean;
@@ -11,8 +11,8 @@ export declare class Price extends OrganizationConnectionBaseEntity {
11
11
  name: string | null;
12
12
  price: number;
13
13
  currency: CurrencyEnum;
14
- startDate: string;
15
- endDate: string;
14
+ startDate: Date;
15
+ endDate: Date;
16
16
  groupId?: number;
17
17
  groupName?: string;
18
18
  originalPrice?: number;
@@ -24,5 +24,4 @@ export declare class Price extends OrganizationConnectionBaseEntity {
24
24
  minQuantity?: number;
25
25
  taxIncludedPrice?: number;
26
26
  activityTimes?: ActivityTimes[];
27
- matchingPrices?: [Price, number][];
28
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Price.js","sourceRoot":"","sources":["../../../../src/types/pricing/entities/Price.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAKjG,MAAa,KAAM,SAAQ,mEAAgC;CA2C1D;AA3CD,sBA2CC"}
1
+ {"version":3,"file":"Price.js","sourceRoot":"","sources":["../../../../src/types/pricing/entities/Price.ts"],"names":[],"mappings":";;;AAEA,oGAAiG;AAKjG,MAAa,KAAM,SAAQ,mEAAgC;CAwC1D;AAxCD,sBAwCC"}
@@ -81,7 +81,6 @@ export declare class GetProductsByTypeQueryDto extends PaginationQuery implement
81
81
  includePricesSchedule?: boolean;
82
82
  includeEntitlementDiscounts?: boolean;
83
83
  includeCustomers?: boolean;
84
- onlyValid?: boolean;
85
84
  facilitiesIds?: number[];
86
85
  resourcesIds?: number[];
87
86
  mustIncludeAllResourcesIds?: number[];
@@ -1 +1 @@
1
- {"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAY9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAAG;AAAvE,kEAAuE;AAEvE,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,0BAA2B,SAAQ,UAAU;CAEzD;AAFD,gEAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CA4C7D;AA5CD,8DA4CC"}
1
+ {"version":3,"file":"product-pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product-pricing.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAY9E,MAAa,qBAAqB;CAUjC;AAVD,sDAUC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,sBAAuB,SAAQ,sCAAmB;CAE9D;AAFD,wDAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAAG;AAAvE,kEAAuE;AAEvE,MAAa,kBAAmB,SAAQ,6BAAe;CAEtD;AAFD,gDAEC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,oBAAoB;CAQhC;AARD,oDAQC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,0BAA0B;CAMtC;AAND,gEAMC;AAED,MAAa,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,0BAA2B,SAAQ,UAAU;CAEzD;AAFD,gEAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,yBAA0B,SAAQ,6BAAe;CA0C7D;AA1CD,8DA0CC"}
@@ -32,7 +32,6 @@ export interface IGetProductsByTypeOptions extends IPagination {
32
32
  search?: string;
33
33
  sortBy?: OrderByProductEnum;
34
34
  order?: OrderByEnum;
35
- onlyValid?: boolean;
36
35
  }
37
36
  export interface IPricingSchedule {
38
37
  groupId: string;
@@ -1,6 +1,6 @@
1
1
  import { SimpleFacilityDto } from '../../dto/facilities.dto';
2
2
  import { IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
3
- import { ProductUserFinancialInfoDto, SimpleProductUserDto } from '../../dto/product-user';
3
+ import { ProductUserFinancialInfoDto } from '../../dto/product-user';
4
4
  import { ByOrganizationIdDto, OptionalOrganizationIdDto } from '../../organization/dto/organization.dto';
5
5
  import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
6
6
  import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
@@ -28,9 +28,6 @@ export declare class GetOrganizationRelatedProgramsDto {
28
28
  export declare class FindProgramsByOrganizationIdDto extends ByOrganizationIdDto {
29
29
  programType?: ProgramTypesEnum;
30
30
  }
31
- export declare class FindProgramsByProgramTypeAndOrganizationIdDto extends ByOrganizationIdDto {
32
- programType?: ProgramTypesEnum;
33
- }
34
31
  export declare class ByProgramIdDto extends OptionalOrganizationIdDto {
35
32
  programId: number;
36
33
  }
@@ -100,6 +97,7 @@ export declare class ProgramInfoDto {
100
97
  name: string;
101
98
  isSegment: boolean;
102
99
  userId: number;
100
+ productUserId: number;
103
101
  registeredOn: Date;
104
102
  sport: SportsEnum;
105
103
  user?: SimpleUserDto;
@@ -108,5 +106,4 @@ export declare class ProgramInfoDto {
108
106
  resources?: SimpleResourceDto[];
109
107
  facility?: SimpleFacilityDto;
110
108
  financialInfo?: ProductUserFinancialInfoDto;
111
- productUser?: SimpleProductUserDto;
112
109
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ProgramInfoDto = exports.GetUsersProgramsQueryDto = exports.ByPlatformDto = exports.SimpleProgramDto = exports.UpdateProgramOptionsDto = exports.UpdateProgramDto = exports.CreateProgramDto = exports.BaseProgramDto = exports.ProgramHighlightDto = exports.UpdateProgramStatusDto = exports.FindProgramFiltersDto = exports.ByProgramDto = exports.ByProgramIdDto = exports.FindProgramsByProgramTypeAndOrganizationIdDto = exports.FindProgramsByOrganizationIdDto = exports.GetOrganizationRelatedProgramsDto = exports.RelatedProgramsDto = exports.GetOrganizationProgramsDto = exports.FindOrganizationProgramsDto = void 0;
3
+ exports.ProgramInfoDto = exports.GetUsersProgramsQueryDto = exports.ByPlatformDto = exports.SimpleProgramDto = exports.UpdateProgramOptionsDto = exports.UpdateProgramDto = exports.CreateProgramDto = exports.BaseProgramDto = exports.ProgramHighlightDto = exports.UpdateProgramStatusDto = exports.FindProgramFiltersDto = exports.ByProgramDto = exports.ByProgramIdDto = exports.FindProgramsByOrganizationIdDto = exports.GetOrganizationRelatedProgramsDto = exports.RelatedProgramsDto = exports.GetOrganizationProgramsDto = exports.FindOrganizationProgramsDto = 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
  class FindOrganizationProgramsDto {
@@ -18,9 +18,6 @@ exports.GetOrganizationRelatedProgramsDto = GetOrganizationRelatedProgramsDto;
18
18
  class FindProgramsByOrganizationIdDto extends organization_dto_1.ByOrganizationIdDto {
19
19
  }
20
20
  exports.FindProgramsByOrganizationIdDto = FindProgramsByOrganizationIdDto;
21
- class FindProgramsByProgramTypeAndOrganizationIdDto extends organization_dto_1.ByOrganizationIdDto {
22
- }
23
- exports.FindProgramsByProgramTypeAndOrganizationIdDto = FindProgramsByProgramTypeAndOrganizationIdDto;
24
21
  class ByProgramIdDto extends organization_dto_1.OptionalOrganizationIdDto {
25
22
  }
26
23
  exports.ByProgramIdDto = ByProgramIdDto;
@@ -1 +1 @@
1
- {"version":3,"file":"program.dto.js","sourceRoot":"","sources":["../../../../src/types/programs/dto/program.dto.ts"],"names":[],"mappings":";;;AACA,uDAAsE;AAEtE,8EAAyG;AAgBzG,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AAED,MAAa,+BAAgC,SAAQ,sCAAmB;CAEvE;AAFD,0EAEC;AAED,MAAa,6CAA8C,SAAQ,sCAAmB;CAErF;AAFD,sGAEC;AAED,MAAa,cAAe,SAAQ,4CAAyB;CAE5D;AAFD,wCAEC;AAED,MAAa,YAAa,SAAQ,cAAc;CAE/C;AAFD,oCAEC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,sBAAuB,SAAQ,cAAc;CAEzD;AAFD,wDAEC;AAED,MAAa,mBAAmB;C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;CAEzB;AAFD,sCAEC;AAED,MAAa,wBAAyB,SAAQ,6BAAe;CAQ5D;AARD,4DAQC;AAED,MAAa,cAAc;CA4B1B;AA5BD,wCA4BC"}
@@ -1,5 +1,5 @@
1
1
  import { ActivityTimes } from '../../entity/ActivityTimes';
2
- import { Address } from '../../address/entities/Address';
2
+ import { Address } from '../../entity/Address';
3
3
  import { BlockedDate } from '../../entity/BlockedDate';
4
4
  import { ColorCode } from '../../entity/ColorCode';
5
5
  import { Event } from '../../entity/Events';
@@ -10,7 +10,6 @@ import { OrderByEnum } from '../../services/enums.service';
10
10
  import { SimpleResourceDto } from '../../resources/dto/resource.dto';
11
11
  import { ByOrganizationAndUserDto, SimpleUserDto } from '../../user/dto/user.dto';
12
12
  import { PunchPassFilterByEnum, PunchPassOrderByEnum, PunchPassSearchByEnum } from '../types/enums';
13
- import { SimpleProductUserDto } from '../../dto/product-user';
14
13
  export declare class PunchPassFinancialInfoDto {
15
14
  price: number;
16
15
  invoiceId: number;
@@ -33,7 +32,6 @@ export declare class PunchPassInfoDto {
33
32
  facility: SimpleFacilityDto;
34
33
  financialInfo: PunchPassFinancialInfoDto;
35
34
  payment?: PaymentIdDto;
36
- productUser?: SimpleProductUserDto;
37
35
  }
38
36
  export declare class PunchPassEventDto extends SimpleEventDto {
39
37
  attendeeId: number;
@@ -61,12 +59,3 @@ export declare class GetPassEventsDto {
61
59
  export declare class ByPassIdOrganizationIdUserIdDto extends ByOrganizationAndUserDto {
62
60
  passId: number;
63
61
  }
64
- export declare class PunchPassUserProductInfoDto extends SimpleProductUserDto {
65
- id: number;
66
- organizationId: number;
67
- productName: string;
68
- productQuantityLeft: number;
69
- productQuantity: number;
70
- user: SimpleUserDto;
71
- product: SimpleProductDto;
72
- }
@@ -1,10 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PunchPassUserProductInfoDto = exports.ByPassIdOrganizationIdUserIdDto = exports.GetPassEventsDto = exports.GetPassesOptionsDto = exports.PunchPassEventDto = exports.PunchPassInfoDto = exports.PunchPassFinancialInfoDto = void 0;
3
+ exports.ByPassIdOrganizationIdUserIdDto = exports.GetPassEventsDto = exports.GetPassesOptionsDto = exports.PunchPassEventDto = exports.PunchPassInfoDto = exports.PunchPassFinancialInfoDto = void 0;
4
4
  const events_dto_1 = require("../../dto/events.dto");
5
5
  const general_dto_1 = require("../../dto/general.dto");
6
6
  const user_dto_1 = require("../../user/dto/user.dto");
7
- const product_user_1 = require("../../dto/product-user");
8
7
  class PunchPassFinancialInfoDto {
9
8
  }
10
9
  exports.PunchPassFinancialInfoDto = PunchPassFinancialInfoDto;
@@ -23,7 +22,4 @@ exports.GetPassEventsDto = GetPassEventsDto;
23
22
  class ByPassIdOrganizationIdUserIdDto extends user_dto_1.ByOrganizationAndUserDto {
24
23
  }
25
24
  exports.ByPassIdOrganizationIdUserIdDto = ByPassIdOrganizationIdUserIdDto;
26
- class PunchPassUserProductInfoDto extends product_user_1.SimpleProductUserDto {
27
- }
28
- exports.PunchPassUserProductInfoDto = PunchPassUserProductInfoDto;
29
25
  //# sourceMappingURL=punch-pass.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"punch-pass.dto.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/dto/punch-pass.dto.ts"],"names":[],"mappings":";;;AAAA,qDAAsD;AAEtD,uDAAwD;AAQxD,sDAAkF;AAElF,yDAA8D;AAE9D,MAAa,yBAAyB;CAcrC;AAdD,8DAcC;AAED,MAAa,gBAAgB;CA0B5B;AA1BD,4CA0BC;AAED,MAAa,iBAAkB,SAAQ,2BAAc;CAQpD;AARD,8CAQC;AAED,MAAa,mBAAoB,SAAQ,6BAAe;CAcvD;AAdD,kDAcC;AAED,MAAa,gBAAgB;CAY5B;AAZD,4CAYC;AAED,MAAa,+BAAgC,SAAQ,mCAAwB;CAE5E;AAFD,0EAEC;AAED,MAAa,2BAA4B,SAAQ,mCAAoB;CAcpE;AAdD,kEAcC"}
1
+ {"version":3,"file":"punch-pass.dto.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/dto/punch-pass.dto.ts"],"names":[],"mappings":";;;AAAA,qDAAsD;AAEtD,uDAAwD;AAQxD,sDAAkF;AAGlF,MAAa,yBAAyB;CAcrC;AAdD,8DAcC;AAED,MAAa,gBAAgB;CAwB5B;AAxBD,4CAwBC;AAED,MAAa,iBAAkB,SAAQ,2BAAc;CAQpD;AARD,8CAQC;AAED,MAAa,mBAAoB,SAAQ,6BAAe;CAcvD;AAdD,kDAcC;AAED,MAAa,gBAAgB;CAY5B;AAZD,4CAYC;AAED,MAAa,+BAAgC,SAAQ,mCAAwB;CAE5E;AAFD,0EAEC"}
@@ -1,4 +1,3 @@
1
- import { UpdateCartPricesDto } from '../../cart/dto/cart.dto';
2
1
  import { UserAnswersDto } from '../../dto/application.dto';
3
2
  import { Customer } from '../../entity/Customer';
4
3
  import { Invoice } from '../../entity/Invoice';
@@ -130,9 +129,6 @@ export declare class PurchaseCartDto extends InvoiceCartDto implements IPurchase
130
129
  paymentInfo?: PurchasePaymentDto;
131
130
  amountToPay?: number;
132
131
  installments?: ScheduledPaymentDto[];
133
- purchasingUserId?: number;
134
132
  parentPurchasedId?: number;
135
133
  parentPurchasedType?: ResourceNameTypeEnum;
136
- updatePrices?: UpdateCartPricesDto;
137
- addToReservationId?: number;
138
134
  }
@@ -1 +1 @@
1
- {"version":3,"file":"purchase.dto.js","sourceRoot":"","sources":["../../../../src/types/purchase/dto/purchase.dto.ts"],"names":[],"mappings":";;;AAKA,+DAA+D;AAC/D,8EAA8E;AAa9E,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,uBAAuB;CAkBnC;AAlBD,0DAkBC;AAED,MAAa,kBAAkB;CAiC9B;AAjCD,gDAiCC;AAED,MAAa,mBAAmB;CAgB/B;AAhBD,kDAgBC;AAED,MAAa,kBAAkB;CA6B9B;AA7BD,gDA6BC;AAED,MAAa,kCAAkC;CAM9C;AAND,gFAMC;AAED,M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B;CAU7B;AAVD,8CAUC;AAED,MAAa,eAAgB,SAAQ,4BAAc;CAUlD;AAVD,0CAUC"}
@@ -1,8 +1,7 @@
1
- import { IUpdateCartPrices, IValidateCartOptions } from '../../../cart/types/interfaces/cart.interfaces';
1
+ import { IValidateCartOptions } from '../../../cart/types/interfaces/cart.interfaces';
2
2
  import { Customer } from '../../../entity/Customer';
3
3
  import { Invoice } from '../../../entity/Invoice';
4
4
  import { IInvoiceCart } from '../../../invoice/types/interfaces/invoice.interfaces';
5
- import { Organization } from '../../../organization/entities/Organization';
6
5
  import { ScheduledPaymentDto } from '../../../payment/dto/payment-plan.dto';
7
6
  import { Payment } from '../../../payment/entities/Payment';
8
7
  import { FuturePaymentStatusEnum, PaymentMethodTypeEnum } from '../../../payment/types/enums/payment.enums';
@@ -10,8 +9,9 @@ import { ISaveInvoicePayment } from '../../../payment/types/interfaces/payment.i
10
9
  import { Product } from '../../../product-pricing/entities/Product';
11
10
  import { ResourceDto } from '../../../resources/dto/resource.dto';
12
11
  import { CurrencyEnum, LineItemsStatusEnum, ProductSubTypesEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../../services/enums.service';
13
- import { User } from '../../../user/entities/User';
14
12
  import { PurchasePaymentDto } from '../../dto/purchase.dto';
13
+ import { User } from '../../../user/entities/User';
14
+ import { Organization } from '../../../organization/entities/Organization';
15
15
  export type UserCount = {
16
16
  male: number;
17
17
  female: number;
@@ -68,8 +68,6 @@ export interface IPurchaseCart extends IInvoiceCart {
68
68
  paymentInfo?: PurchasePaymentDto;
69
69
  amountToPay?: number;
70
70
  installments?: ScheduledPaymentDto[];
71
- purchasingUserId?: number;
72
71
  parentPurchasedId?: number;
73
72
  parentPurchasedType?: ResourceNameTypeEnum;
74
- updatePrices?: IUpdateCartPrices;
75
73
  }
@@ -1,23 +1,16 @@
1
- import { Product } from '../../product-pricing/entities/Product';
2
- import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
3
- import { ProductPackageLevelEnum } from '../../services/enums.service';
4
- import { IAddon, IBaseAddon, IDraftAddon } from '../types/interfaces/addon.interfaces';
1
+ import { IAddon, IBaseAddon } from '../types/interfaces/addon.interfaces';
5
2
  import { EditItemsRefundMetaDto } from './reservation.dto';
6
- import { SimpleProductUserDto } from '../../dto/product-user';
7
3
  declare class BaseAddonDto implements IBaseAddon {
8
4
  productId: number;
9
5
  unitPrice?: number;
10
6
  quantity?: number;
11
7
  totalPrice?: number;
12
- }
13
- export declare class AddonDto extends BaseAddonDto implements IAddon {
14
- id?: number;
15
8
  displayTotalWithTax?: number;
16
9
  displayTotalPrice?: number;
17
10
  displayUnitTax?: number;
18
- level?: ProductPackageLevelEnum;
19
- product?: Product;
20
- productUser?: SimpleProductUserDto;
11
+ }
12
+ export declare class AddonDto extends BaseAddonDto implements IAddon {
13
+ id?: number;
21
14
  }
22
15
  export declare class AddAddonsDto {
23
16
  addons: AddonDto[];
@@ -34,12 +27,7 @@ export declare class EditAddonDto {
34
27
  totalPrice: number;
35
28
  unitPrice?: number;
36
29
  }
37
- export declare class CreateDraftAddonDto extends BaseAddonDto {
30
+ export declare class DraftAddonDto extends BaseAddonDto {
38
31
  id?: string;
39
32
  }
40
- export declare class DraftAddonDto extends BaseAddonDto implements IDraftAddon {
41
- id: string;
42
- product?: SimpleProductDto;
43
- level?: ProductPackageLevelEnum;
44
- }
45
33
  export {};
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DraftAddonDto = exports.CreateDraftAddonDto = exports.EditAddonDto = exports.EditReservationAddonsDto = exports.EditAddonsDto = exports.AddAddonsDto = exports.AddonDto = void 0;
3
+ exports.DraftAddonDto = exports.EditAddonDto = exports.EditReservationAddonsDto = exports.EditAddonsDto = exports.AddAddonsDto = exports.AddonDto = void 0;
4
4
  class BaseAddonDto {
5
5
  }
6
6
  class AddonDto extends BaseAddonDto {
@@ -18,9 +18,6 @@ exports.EditReservationAddonsDto = EditReservationAddonsDto;
18
18
  class EditAddonDto {
19
19
  }
20
20
  exports.EditAddonDto = EditAddonDto;
21
- class CreateDraftAddonDto extends BaseAddonDto {
22
- }
23
- exports.CreateDraftAddonDto = CreateDraftAddonDto;
24
21
  class DraftAddonDto extends BaseAddonDto {
25
22
  }
26
23
  exports.DraftAddonDto = DraftAddonDto;
@@ -1 +1 @@
1
- {"version":3,"file":"addon.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/addon.dto.ts"],"names":[],"mappings":";;;AAOA,MAAM,YAAY;CAQjB;AAED,MAAa,QAAS,SAAQ,YAAY;CAczC;AAdD,4BAcC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,wBAAyB,SAAQ,aAAa;CAE1D;AAFD,4DAEC;AAED,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,mBAAoB,SAAQ,YAAY;CAEpD;AAFD,kDAEC;AAED,MAAa,aAAc,SAAQ,YAAY;CAM9C;AAND,sCAMC"}
1
+ {"version":3,"file":"addon.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/addon.dto.ts"],"names":[],"mappings":";;;AAGA,MAAM,YAAY;CAcjB;AAED,MAAa,QAAS,SAAQ,YAAY;CAEzC;AAFD,4BAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,wBAAyB,SAAQ,aAAa;CAE1D;AAFD,4DAEC;AAED,MAAa,YAAY;CAQxB;AARD,oCAQC;AAED,MAAa,aAAc,SAAQ,YAAY;CAE9C;AAFD,sCAEC"}
@@ -1,6 +1,5 @@
1
1
  import { DurationUnitTypesEnum, MaintenanceTimingEnum } from '../types/enums/reservation.enums';
2
- import { IMaintenance } from '../types/interfaces/series.interfaces';
3
- export declare class MaintenanceDto implements IMaintenance {
2
+ export declare class MaintenanceDto {
4
3
  title: string;
5
4
  durationValue: number;
6
5
  maintenanceDurationdurationType: DurationUnitTypesEnum;
@@ -1 +1 @@
1
- {"version":3,"file":"maintenance.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/maintenance.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,cAAc;CAQ1B;AARD,wCAQC"}
1
+ {"version":3,"file":"maintenance.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/maintenance.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,cAAc;CAQ1B;AARD,wCAQC"}