@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,31 +1,23 @@
1
- import { UpdateCartPricesDto } from '../../cart/dto/cart.dto';
2
- import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
3
- import { FacilityDto } from '../../dto/facilities.dto';
4
1
  import { PaginationQuery } from '../../dto/general.dto';
5
- import { Invoice } from '../../entity/Invoice';
6
- import { InvoiceCartDto, InvoiceDto, SimpleInvoiceDto, UpdateInvoiceDto } from '../../invoice/dto/invoice.dto';
7
- import { OverrideProductsPricingDto } from '../../invoice/types/interfaces/invoice.interfaces';
2
+ import { InvoiceDto, UpdateInvoiceDto, UpdateInvoiceOptionsDto } from '../../invoice/dto/invoice.dto';
8
3
  import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
9
- import { PaymentMethodToFundLeftDto } from '../../payment/dto/payment-method.dto';
10
4
  import { PaymentMethodDto, RefundAmountDto } from '../../payment/dto/refund.dto';
11
5
  import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
12
- import { RefundResult } from '../../payment/types/interfaces/refund.interfaces';
13
- import { ProductDto, SimpleProductDto } from '../../product-pricing/dto/product.dto';
14
6
  import { Product } from '../../product-pricing/entities/Product';
15
7
  import { PurchasePaymentDto, PurchaseResultDto } from '../../purchase/dto/purchase.dto';
16
- import { InstructorResourceDto } from '../../resources/dto/instructor.dto';
17
- import { SimpleResourceDto } from '../../resources/dto/resource.dto';
18
- import { SpaceResourceDto } from '../../resources/dto/space.dto';
19
- import { AddonParentTypeEnum, FinancialStepEnum, NotifyMethodEnum, OrderByEnum, PlatformsEnum, ProductPackageLevelEnum, ProgramTypesEnum, ResourceNameTypeEnum, ResourceTypeEnum, SportsEnum, UpdatePricesTypeEnum } from '../../services/enums.service';
8
+ import { AddonParentTypeEnum, NotifyMethodEnum, PlatformsEnum, ProgramTypesEnum, ResourceNameTypeEnum, ResourceTypeEnum, SportsEnum, UpdatePricesTypeEnum } from '../../services/enums.service';
20
9
  import { Reservation } from '../entities/reservation.entity';
21
10
  import { PrivacySettingsEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, ReservationTypeEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
22
- import { ISegmentsAddons } from '../types/interfaces/addon.interfaces';
23
- import { IBaseReservation, IBaseReservationItemLineItem, IDraftReservation, IDuplicateDetails, IEditItemsRefundMetadata, IEditSlotsFinancialDetails, IExtendDraftSlotsOptions, IGetDraftReservationAddonsQuery, IGetDraftReservationOptions, IGetDraftReservationSlotsFilter, IGetDraftReservationSlotsOptions, IProductPrice, IRemoveSlotsFinancialData, ISaveReservationOptions } from '../types/interfaces/reservation.interfaces';
24
- import { AddonDto, CreateDraftAddonDto, DraftAddonDto } from './addon.dto';
11
+ import { IGetDraftReservationAddonsQuery, IGetDraftReservationOptions, IGetDraftReservationSlotsFilter, IGetDraftReservationSlotsOptions, ISaveReservationOptions } from '../types/interfaces/reservation.interfaces';
12
+ import { AddonDto, DraftAddonDto } from './addon.dto';
25
13
  import { CreateDraftSegmentDto, DraftSegmentDto, SegmentDto } from './segment.dto';
26
14
  import { SeriesDto } from './series.dto';
27
- import { SlotDto, TimeSlotConflictsDto, UpdateDraftSlotDto, UpdateSlotsColorsDto } from './slot.dto';
28
- export declare class ProductPricesDto implements IProductPrice {
15
+ import { SlotDto, UpdateSlotsColorsDto } from './slot.dto';
16
+ import { SimpleResourceDto } from '../../resources/dto/resource.dto';
17
+ import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
18
+ import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
19
+ import { OverrideProductsPricingDto } from '../../invoice/types/interfaces/invoice.interfaces';
20
+ export declare class ProductPricesDto {
29
21
  productId: number;
30
22
  product?: Product;
31
23
  price?: number;
@@ -34,7 +26,7 @@ export declare class ProductPricesDto implements IProductPrice {
34
26
  quantity?: number;
35
27
  totalPrice?: number;
36
28
  }
37
- declare class BaseReservationDto implements IBaseReservation {
29
+ declare class BaseReservationDto {
38
30
  organizationId?: number;
39
31
  name: string;
40
32
  reservationType: ReservationTypeEnum;
@@ -50,49 +42,16 @@ declare class BaseReservationDto implements IBaseReservation {
50
42
  overrideProductsPrice?: OverrideProductsPricingDto;
51
43
  colorCodeId?: number;
52
44
  customerId?: number;
53
- addToReservationId?: number;
54
45
  }
55
- export declare class SimpleReservationDto extends BaseReservationDto {
46
+ export declare class ReservationDto extends BaseReservationDto {
56
47
  id?: number;
57
48
  status?: ReservationStatusEnum;
58
49
  paymentStatus?: ReservationPaymentStatusEnum;
59
- }
60
- export declare class DuplicatedDetailsDto implements IDuplicateDetails {
61
- addToReservationId: number;
62
- approvalStatus?: ReservationStatusEnum;
63
- paymentStatus?: ReservationPaymentStatusEnum;
64
- invoicesIds?: number[];
65
- }
66
- export declare class ReservationDto extends SimpleReservationDto {
67
50
  segments: SegmentDto[];
68
51
  addons?: AddonDto[];
69
52
  targetGlobalPrice?: number;
70
53
  userId?: number;
71
54
  purchasingUserId?: number;
72
- slots?: SlotDto[];
73
- }
74
- export declare class BaseReservationItemLineItemDataDto implements IBaseReservationItemLineItem {
75
- id: number;
76
- amount: number;
77
- amountPaid: number;
78
- quantity: number;
79
- canVoid: boolean;
80
- canRefund: boolean;
81
- isEdit?: boolean;
82
- }
83
- declare class SlotsLineItemDataDto extends BaseReservationItemLineItemDataDto {
84
- slotIds: number[];
85
- }
86
- declare class BaseSegmentsAddonsGroupDto {
87
- groupId?: string;
88
- ids: string[];
89
- quantity: number;
90
- }
91
- export declare class CreateSegmentsAddonsDto extends BaseSegmentsAddonsGroupDto {
92
- productsIds: number[];
93
- }
94
- export declare class SegmentsAddonsDto extends CreateSegmentsAddonsDto implements ISegmentsAddons {
95
- groupId: string;
96
55
  }
97
56
  export declare class CreateDraftReservationDto extends BaseReservationDto {
98
57
  id?: string;
@@ -101,32 +60,25 @@ export declare class SimpleDraftReservationDto extends CreateDraftReservationDto
101
60
  id: string;
102
61
  conflictsCount?: number;
103
62
  }
104
- export declare class DraftReservationDto extends SimpleDraftReservationDto implements IDraftReservation {
105
- segments: DraftSegmentDto[];
63
+ export declare class DraftReservationDto extends SimpleDraftReservationDto {
64
+ segments?: DraftSegmentDto[];
106
65
  addons?: DraftAddonDto[];
107
66
  owner?: SimpleCustomerDto;
108
67
  participants?: SimpleCustomerDto[];
109
- products?: ProductDto[];
110
- spaces?: SpaceResourceDto[];
111
- instructors?: InstructorResourceDto[];
112
- facilities: FacilityDto[];
113
- segmentsAddons?: SegmentsAddonsDto[];
114
- duplicateDetails?: DuplicatedDetailsDto;
68
+ products?: SimpleProductDto[];
69
+ spaces?: SimpleResourceDto[];
70
+ instructors?: SimpleResourceDto[];
115
71
  }
116
72
  export declare class ReservationInvoiceDto {
117
73
  reservation: ReservationDto;
118
74
  invoice: InvoiceDto;
119
75
  debug: any;
120
76
  }
121
- export declare class CreateReservationCartDto implements ISaveReservationOptions {
122
- platform?: PlatformsEnum;
123
- shiftId?: number;
124
- updatePrices?: UpdateCartPricesDto;
125
- addToReservationId?: number;
126
- }
127
- export declare class SaveReservationDto extends CreateReservationCartDto implements ISaveReservationOptions {
77
+ export declare class SaveReservationDto implements ISaveReservationOptions {
128
78
  reservation: ReservationDto;
129
79
  slotType?: SlotTypeEnum;
80
+ platform?: PlatformsEnum;
81
+ shiftId?: number;
130
82
  }
131
83
  export declare class SingleReservationIncludesDto {
132
84
  includeCustomer?: boolean;
@@ -196,7 +148,7 @@ export declare class FindSlotsByFacilityIdFiltersDto {
196
148
  activityTypes?: SportsEnum[];
197
149
  includeActivityTimes?: boolean;
198
150
  }
199
- export declare class IncludeConflictsOptionsDto {
151
+ export declare class getSlotsSlotCardDto {
200
152
  includeConflicts?: boolean;
201
153
  }
202
154
  export declare class getSlotFQueryParamsDto {
@@ -205,18 +157,12 @@ export declare class getSlotFQueryParamsDto {
205
157
  export declare class FindByReservationDto extends ByOrganizationIdDto {
206
158
  reservationId: number;
207
159
  }
208
- export declare class DuplicateSlotDto extends FindByReservationDto {
209
- slotId: number;
210
- }
211
160
  export declare class FindByFacilityDto extends FindByReservationDto {
212
161
  facilityId: number;
213
162
  }
214
163
  export declare class FindBySegmentDto extends FindByFacilityDto {
215
164
  segmentId: number;
216
165
  }
217
- export declare class FindBySlotIdsDto {
218
- slotsIds: number[];
219
- }
220
166
  export declare class UpdateReservationStatusDto extends FindByReservationDto {
221
167
  status: ReservationStatusEnum;
222
168
  }
@@ -243,12 +189,6 @@ export declare class EditReservationDetailsDto {
243
189
  publicNotes?: string;
244
190
  privateNotes?: string;
245
191
  }
246
- export declare class RemoveSlotsFinancialDataDto implements IRemoveSlotsFinancialData {
247
- paymentMethods: PaymentMethodToFundLeftDto[];
248
- lineItems: SlotsLineItemDataDto[];
249
- nextFinancialStep: FinancialStepEnum;
250
- invoice: Invoice;
251
- }
252
192
  export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
253
193
  updateAddons?: boolean;
254
194
  updateMaintenance?: boolean;
@@ -280,9 +220,10 @@ export declare class AddSlotToSegmenResultDto {
280
220
  export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
281
221
  reservationTotalPrice: number;
282
222
  }
283
- export declare class InvoiceReservationItemsDto extends InvoiceCartDto {
223
+ export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
284
224
  slotsIds?: number[];
285
225
  addonsIds?: number[];
226
+ purchasingUserId?: number;
286
227
  }
287
228
  export declare class AddSlotsDto extends UpdateInvoiceDto {
288
229
  slots: SlotDto[];
@@ -301,9 +242,6 @@ export declare class GetDraftReservationSlotsFiltersDto extends PaginationQuery
301
242
  startDate?: Date;
302
243
  endDate?: Date;
303
244
  includeResources?: boolean;
304
- includeOwner?: boolean;
305
- includeMaintenanceSlots?: boolean;
306
- orderBy?: OrderByEnum;
307
245
  }
308
246
  export declare class ByDraftReservationIdDto extends ByOrganizationIdDto {
309
247
  reservationId: string;
@@ -331,19 +269,8 @@ export declare class GetDraftReservationOptionsDto implements IGetDraftReservati
331
269
  includeProducts?: boolean;
332
270
  includeParticipants?: boolean;
333
271
  includeSegments?: boolean;
334
- includeMaintenanceSlots?: boolean;
335
- includeSlots?: boolean;
336
- plainReservation?: boolean;
337
- includeFacilities?: boolean;
338
- }
339
- export declare class GetDraftSlotsOptions implements IExtendDraftSlotsOptions {
340
- includeResources?: boolean;
341
- includeConflicts?: boolean;
342
- includeParticipants?: boolean;
343
- includeMaintenanceSlots?: boolean;
344
- includeFacilities?: boolean;
345
272
  }
346
- export declare class DraftIdsDto extends GetDraftSlotsOptions {
273
+ export declare class DraftIdsDto {
347
274
  ids: string[];
348
275
  }
349
276
  export declare class ByDraftSlotIdDto extends ByDraftReservationIdDto {
@@ -354,70 +281,4 @@ export declare class GenerateReservationDto {
354
281
  addSegments?: CreateDraftSegmentDto[];
355
282
  removeSegmentsIds?: string[];
356
283
  }
357
- export declare class UpdateDraftSlotsDto {
358
- slots: UpdateDraftSlotDto[];
359
- overrideProducts?: boolean;
360
- }
361
- export declare class SegmentsAddonsGroupDto extends BaseSegmentsAddonsGroupDto {
362
- products: SimpleProductDto[];
363
- }
364
- export declare class ReservationAddonsDto {
365
- reservation: DraftAddonDto[];
366
- segments: SegmentsAddonsGroupDto[];
367
- }
368
- export declare class CreateReservationAddonsDto {
369
- reservation?: CreateDraftAddonDto[];
370
- removeByIds?: string[];
371
- segments?: CreateSegmentsAddonsDto[];
372
- removeBySegmentIds?: string[];
373
- removeByGroupIds?: string[];
374
- }
375
- export declare class ProblematicProductDto {
376
- product: SimpleProductDto;
377
- isAddon?: boolean;
378
- level?: ProductPackageLevelEnum;
379
- }
380
- export declare class PaginatedSlotsSharedDto {
381
- totalSlots?: number;
382
- }
383
- export declare class DuplicateReservationDto {
384
- isEdit?: boolean;
385
- }
386
- export declare class DuplicateReservationItemsDto extends DuplicateReservationDto {
387
- slotsIds?: number[];
388
- reservationAddonsIds?: number[];
389
- }
390
- export declare class ReservationItemLineDto {
391
- id: number;
392
- amount: number;
393
- amountPaid: number;
394
- quantity: number;
395
- canVoid: boolean;
396
- canRefund: boolean;
397
- isEdit?: boolean;
398
- slotsIds?: number[];
399
- addonsIds?: number[];
400
- }
401
- export declare class EditItemsRefundMetadataDto implements IEditItemsRefundMetadata {
402
- lineItems: ReservationItemLineDto[];
403
- refundAmount: number;
404
- }
405
- export declare class EditSlotsFinancialDetailsDto implements IEditSlotsFinancialDetails {
406
- nextFinancialStep: FinancialStepEnum;
407
- paymentMethods?: PaymentMethodToFundLeftDto[];
408
- originalInvoicePrice?: number;
409
- updatedInvoicePrice?: number;
410
- originalItemsPrice?: number;
411
- updatedItemsPrice?: number;
412
- priceChange?: number;
413
- refundMetadata?: EditItemsRefundMetadataDto;
414
- conflicts?: TimeSlotConflictsDto[];
415
- }
416
- export declare class EditSlotsRefundMetadataDto {
417
- refundMetadata?: EditItemsRefundMetaDto;
418
- }
419
- export declare class EditReservationItemsResultDto {
420
- invoice: SimpleInvoiceDto;
421
- refundResult?: RefundResult;
422
- }
423
284
  export {};
@@ -1,41 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ByDraftReservationIdDto = exports.GetDraftReservationSlotsFiltersDto = exports.AddSegmentsDto = exports.AddSlotsDto = exports.InvoiceReservationItemsDto = exports.SaveSlotToSegmenResultDto = exports.AddSlotToSegmenResultDto = exports.ChargeReservationResultDto = exports.UpdateCustomerSlotsColorsDto = exports.UpdateReservationSlotsColorsDto = exports.UpdateReservationInvoiceDto = exports.ReservationNotifyDto = exports.ValidateEditSlotsDto = exports.RemoveSlotsFinancialDataDto = exports.EditReservationDetailsDto = exports.EditSlotsDto = exports.EditItemsRefundMetaDto = exports.UpdateSlotsDto = exports.AddSlotToSegmentDto = exports.FindBySlotDto = exports.UpdateReservationStatusDto = exports.FindBySlotIdsDto = exports.FindBySegmentDto = exports.FindByFacilityDto = exports.DuplicateSlotDto = exports.FindByReservationDto = exports.getSlotFQueryParamsDto = exports.IncludeConflictsOptionsDto = exports.FindSlotsByFacilityIdFiltersDto = exports.FindReservationsByUserIdFiltersDto = exports.FindReservationsByOrganizationIdFiltersDto = exports.BookingDto = exports.BookingData = exports.UpdateSlotsPricesDto = exports.UpdateReservationPriceDto = exports.CategoryPricesDto = exports.SingleReservationIncludesDto = exports.SaveReservationDto = exports.CreateReservationCartDto = exports.ReservationInvoiceDto = exports.DraftReservationDto = exports.SimpleDraftReservationDto = exports.CreateDraftReservationDto = exports.SegmentsAddonsDto = exports.CreateSegmentsAddonsDto = exports.BaseReservationItemLineItemDataDto = exports.ReservationDto = exports.DuplicatedDetailsDto = exports.SimpleReservationDto = exports.ProductPricesDto = void 0;
4
- exports.EditReservationItemsResultDto = exports.EditSlotsRefundMetadataDto = exports.EditSlotsFinancialDetailsDto = exports.EditItemsRefundMetadataDto = exports.ReservationItemLineDto = exports.DuplicateReservationItemsDto = exports.DuplicateReservationDto = exports.PaginatedSlotsSharedDto = exports.ProblematicProductDto = exports.CreateReservationAddonsDto = exports.ReservationAddonsDto = exports.SegmentsAddonsGroupDto = exports.UpdateDraftSlotsDto = exports.GenerateReservationDto = exports.ByDraftSlotIdDto = exports.DraftIdsDto = exports.GetDraftSlotsOptions = exports.GetDraftReservationOptionsDto = exports.GetDraftReservationAddonsQueryDto = exports.DraftSlotsFilterResultDto = exports.SimpleDraftSegmentDto = void 0;
3
+ exports.GenerateReservationDto = exports.ByDraftSlotIdDto = exports.DraftIdsDto = exports.GetDraftReservationOptionsDto = exports.GetDraftReservationAddonsQueryDto = exports.DraftSlotsFilterResultDto = exports.SimpleDraftSegmentDto = exports.ByDraftReservationIdDto = exports.GetDraftReservationSlotsFiltersDto = exports.AddSegmentsDto = exports.AddSlotsDto = exports.InvoiceReservationItemsDto = exports.SaveSlotToSegmenResultDto = exports.AddSlotToSegmenResultDto = exports.ChargeReservationResultDto = exports.UpdateCustomerSlotsColorsDto = exports.UpdateReservationSlotsColorsDto = exports.UpdateReservationInvoiceDto = exports.ReservationNotifyDto = exports.ValidateEditSlotsDto = exports.EditReservationDetailsDto = exports.EditSlotsDto = exports.EditItemsRefundMetaDto = exports.UpdateSlotsDto = exports.AddSlotToSegmentDto = exports.FindBySlotDto = exports.UpdateReservationStatusDto = exports.FindBySegmentDto = exports.FindByFacilityDto = exports.FindByReservationDto = exports.getSlotFQueryParamsDto = exports.getSlotsSlotCardDto = exports.FindSlotsByFacilityIdFiltersDto = exports.FindReservationsByUserIdFiltersDto = exports.FindReservationsByOrganizationIdFiltersDto = exports.BookingDto = exports.BookingData = exports.UpdateSlotsPricesDto = exports.UpdateReservationPriceDto = exports.CategoryPricesDto = exports.SingleReservationIncludesDto = exports.SaveReservationDto = exports.ReservationInvoiceDto = exports.DraftReservationDto = exports.SimpleDraftReservationDto = exports.CreateDraftReservationDto = exports.ReservationDto = exports.ProductPricesDto = void 0;
5
4
  const general_dto_1 = require("../../dto/general.dto");
6
5
  const invoice_dto_1 = require("../../invoice/dto/invoice.dto");
7
6
  const organization_dto_1 = require("../../organization/dto/organization.dto");
8
7
  const purchase_dto_1 = require("../../purchase/dto/purchase.dto");
9
8
  const MAX_SLOTS_REQUEST_LIMIT = 5000;
10
- const MONTH_OF_JANUARY = 0;
11
- const MONTH_OF_DECEMBER = 11;
12
9
  class ProductPricesDto {
13
10
  }
14
11
  exports.ProductPricesDto = ProductPricesDto;
15
12
  class BaseReservationDto {
16
13
  }
17
- class SimpleReservationDto extends BaseReservationDto {
18
- }
19
- exports.SimpleReservationDto = SimpleReservationDto;
20
- class DuplicatedDetailsDto {
21
- }
22
- exports.DuplicatedDetailsDto = DuplicatedDetailsDto;
23
- class ReservationDto extends SimpleReservationDto {
14
+ class ReservationDto extends BaseReservationDto {
24
15
  }
25
16
  exports.ReservationDto = ReservationDto;
26
- class BaseReservationItemLineItemDataDto {
27
- }
28
- exports.BaseReservationItemLineItemDataDto = BaseReservationItemLineItemDataDto;
29
- class SlotsLineItemDataDto extends BaseReservationItemLineItemDataDto {
30
- }
31
- class BaseSegmentsAddonsGroupDto {
32
- }
33
- class CreateSegmentsAddonsDto extends BaseSegmentsAddonsGroupDto {
34
- }
35
- exports.CreateSegmentsAddonsDto = CreateSegmentsAddonsDto;
36
- class SegmentsAddonsDto extends CreateSegmentsAddonsDto {
37
- }
38
- exports.SegmentsAddonsDto = SegmentsAddonsDto;
39
17
  class CreateDraftReservationDto extends BaseReservationDto {
40
18
  }
41
19
  exports.CreateDraftReservationDto = CreateDraftReservationDto;
@@ -48,10 +26,7 @@ exports.DraftReservationDto = DraftReservationDto;
48
26
  class ReservationInvoiceDto {
49
27
  }
50
28
  exports.ReservationInvoiceDto = ReservationInvoiceDto;
51
- class CreateReservationCartDto {
52
- }
53
- exports.CreateReservationCartDto = CreateReservationCartDto;
54
- class SaveReservationDto extends CreateReservationCartDto {
29
+ class SaveReservationDto {
55
30
  }
56
31
  exports.SaveReservationDto = SaveReservationDto;
57
32
  class SingleReservationIncludesDto {
@@ -86,27 +61,21 @@ class FindSlotsByFacilityIdFiltersDto {
86
61
  }
87
62
  }
88
63
  exports.FindSlotsByFacilityIdFiltersDto = FindSlotsByFacilityIdFiltersDto;
89
- class IncludeConflictsOptionsDto {
64
+ class getSlotsSlotCardDto {
90
65
  }
91
- exports.IncludeConflictsOptionsDto = IncludeConflictsOptionsDto;
66
+ exports.getSlotsSlotCardDto = getSlotsSlotCardDto;
92
67
  class getSlotFQueryParamsDto {
93
68
  }
94
69
  exports.getSlotFQueryParamsDto = getSlotFQueryParamsDto;
95
70
  class FindByReservationDto extends organization_dto_1.ByOrganizationIdDto {
96
71
  }
97
72
  exports.FindByReservationDto = FindByReservationDto;
98
- class DuplicateSlotDto extends FindByReservationDto {
99
- }
100
- exports.DuplicateSlotDto = DuplicateSlotDto;
101
73
  class FindByFacilityDto extends FindByReservationDto {
102
74
  }
103
75
  exports.FindByFacilityDto = FindByFacilityDto;
104
76
  class FindBySegmentDto extends FindByFacilityDto {
105
77
  }
106
78
  exports.FindBySegmentDto = FindBySegmentDto;
107
- class FindBySlotIdsDto {
108
- }
109
- exports.FindBySlotIdsDto = FindBySlotIdsDto;
110
79
  class UpdateReservationStatusDto extends FindByReservationDto {
111
80
  }
112
81
  exports.UpdateReservationStatusDto = UpdateReservationStatusDto;
@@ -128,9 +97,6 @@ exports.EditSlotsDto = EditSlotsDto;
128
97
  class EditReservationDetailsDto {
129
98
  }
130
99
  exports.EditReservationDetailsDto = EditReservationDetailsDto;
131
- class RemoveSlotsFinancialDataDto {
132
- }
133
- exports.RemoveSlotsFinancialDataDto = RemoveSlotsFinancialDataDto;
134
100
  class ValidateEditSlotsDto extends UpdateSlotsDto {
135
101
  }
136
102
  exports.ValidateEditSlotsDto = ValidateEditSlotsDto;
@@ -155,7 +121,7 @@ exports.AddSlotToSegmenResultDto = AddSlotToSegmenResultDto;
155
121
  class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
156
122
  }
157
123
  exports.SaveSlotToSegmenResultDto = SaveSlotToSegmenResultDto;
158
- class InvoiceReservationItemsDto extends invoice_dto_1.InvoiceCartDto {
124
+ class InvoiceReservationItemsDto extends invoice_dto_1.UpdateInvoiceOptionsDto {
159
125
  }
160
126
  exports.InvoiceReservationItemsDto = InvoiceReservationItemsDto;
161
127
  class AddSlotsDto extends invoice_dto_1.UpdateInvoiceDto {
@@ -182,10 +148,7 @@ exports.GetDraftReservationAddonsQueryDto = GetDraftReservationAddonsQueryDto;
182
148
  class GetDraftReservationOptionsDto {
183
149
  }
184
150
  exports.GetDraftReservationOptionsDto = GetDraftReservationOptionsDto;
185
- class GetDraftSlotsOptions {
186
- }
187
- exports.GetDraftSlotsOptions = GetDraftSlotsOptions;
188
- class DraftIdsDto extends GetDraftSlotsOptions {
151
+ class DraftIdsDto {
189
152
  }
190
153
  exports.DraftIdsDto = DraftIdsDto;
191
154
  class ByDraftSlotIdDto extends ByDraftReservationIdDto {
@@ -194,43 +157,4 @@ exports.ByDraftSlotIdDto = ByDraftSlotIdDto;
194
157
  class GenerateReservationDto {
195
158
  }
196
159
  exports.GenerateReservationDto = GenerateReservationDto;
197
- class UpdateDraftSlotsDto {
198
- }
199
- exports.UpdateDraftSlotsDto = UpdateDraftSlotsDto;
200
- class SegmentsAddonsGroupDto extends BaseSegmentsAddonsGroupDto {
201
- }
202
- exports.SegmentsAddonsGroupDto = SegmentsAddonsGroupDto;
203
- class ReservationAddonsDto {
204
- }
205
- exports.ReservationAddonsDto = ReservationAddonsDto;
206
- class CreateReservationAddonsDto {
207
- }
208
- exports.CreateReservationAddonsDto = CreateReservationAddonsDto;
209
- class ProblematicProductDto {
210
- }
211
- exports.ProblematicProductDto = ProblematicProductDto;
212
- class PaginatedSlotsSharedDto {
213
- }
214
- exports.PaginatedSlotsSharedDto = PaginatedSlotsSharedDto;
215
- class DuplicateReservationDto {
216
- }
217
- exports.DuplicateReservationDto = DuplicateReservationDto;
218
- class DuplicateReservationItemsDto extends DuplicateReservationDto {
219
- }
220
- exports.DuplicateReservationItemsDto = DuplicateReservationItemsDto;
221
- class ReservationItemLineDto {
222
- }
223
- exports.ReservationItemLineDto = ReservationItemLineDto;
224
- class EditItemsRefundMetadataDto {
225
- }
226
- exports.EditItemsRefundMetadataDto = EditItemsRefundMetadataDto;
227
- class EditSlotsFinancialDetailsDto {
228
- }
229
- exports.EditSlotsFinancialDetailsDto = EditSlotsFinancialDetailsDto;
230
- class EditSlotsRefundMetadataDto {
231
- }
232
- exports.EditSlotsRefundMetadataDto = EditSlotsRefundMetadataDto;
233
- class EditReservationItemsResultDto {
234
- }
235
- exports.EditReservationItemsResultDto = EditReservationItemsResultDto;
236
160
  //# sourceMappingURL=reservation.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"reservation.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/reservation.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,+DAAsG;AACtG,8EAA8E;AAI9E,kEAAwF;AAsCxF,MAAM,uBAAuB,GAAG,IAAI,CAAC;AAErC,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAM,kBAAkB;CA8BvB;AAED,MAAa,cAAe,SAAQ,kBAAkB;CAerD;AAfD,wCAeC;AAED,MAAa,yBAA0B,SAAQ,kBAAkB;CAEhE;AAFD,8DAEC;AAED,MAAa,yBAA0B,SAAQ,yBAAyB;CAIvE;AAJD,8DAIC;AAED,MAAa,mBAAoB,SAAQ,yBAAyB;CAcjE;AAdD,kDAcC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AACD,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,4BAA4B;CAcxC;AAdD,oEAcC;AAED,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AAED,MAAM,cAAc;CAQnB;AAED,MAAa,yBAA0B,SAAQ,cAAc;CAE5D;AAFD,8DAEC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAIvD;AAJD,oDAIC;AAED,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,UAAW,SAAQ,WAAW;CAI1C;AAJD,gCAIC;AAED,MAAa,0CAA2C,SAAQ,6BAAe;CAY9E;AAZD,gGAYC;AAED,MAAa,kCAAmC,SAAQ,6BAAe;CAUtE;AAVD,gFAUC;AAED,MAAa,+BAA+B;IAA5C;QAKC,UAAK,GAAW,uBAAuB,CAAC;IAuBzC,CAAC;CAAA;AA5BD,0EA4BC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,oBAAqB,SAAQ,sCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,iBAAkB,SAAQ,oBAAoB;CAE1D;AAFD,8CAEC;AAED,MAAa,gBAAiB,SAAQ,iBAAiB;CAEtD;AAFD,4CAEC;AAED,MAAa,0BAA2B,SAAQ,oBAAoB;CAEnE;AAFD,gEAEC;AAED,MAAa,aAAc,SAAQ,oBAAoB;CAEtD;AAFD,sCAEC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC;AAED,MAAa,YAAa,SAAQ,cAAc;CAE/C;AAFD,oCAEC;AAED,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAIvD;AAJD,oDAIC;AACD,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,+BAA+B;CAI3C;AAJD,0EAIC;AAED,MAAa,4BAA4B;CAExC;AAFD,oEAEC;AAED,MAAa,0BAA2B,SAAQ,gCAAiB;CAIhE;AAJD,gEAIC;AAED,MAAa,wBAAwB;CAQpC;AARD,4DAQC;AACD,MAAa,yBAA0B,SAAQ,wBAAwB;CAEtE;AAFD,8DAEC;AAED,MAAa,0BAA2B,SAAQ,qCAAuB;CAMtE;AAND,gEAMC;AAED,MAAa,WAAY,SAAQ,8BAAgB;CAEhD;AAFD,kCAEC;AAED,MAAa,cAAe,SAAQ,8BAAgB;CAEnD;AAFD,wCAEC;AAED,MAAa,kCACZ,SAAQ,6BAAe;CAqBvB;AAtBD,gFAsBC;AAED,MAAa,uBAAwB,SAAQ,sCAAmB;CAE/D;AAFD,0DAEC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,yBAAyB;CAYrC;AAZD,8DAYC;AAED,MAAa,iCAAkC,SAAQ,6BAAe;CAIrE;AAJD,8EAIC;AAED,MAAa,6BAA6B;CAYzC;AAZD,sEAYC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,gBAAiB,SAAQ,uBAAuB;CAE5D;AAFD,4CAEC;AAED,MAAa,sBAAsB;CAMlC;AAND,wDAMC"}
@@ -1,8 +1,7 @@
1
1
  import { SportsEnum } from '../../services/enums.service';
2
2
  import { PrivacySettingsEnum } from '../types/enums/reservation.enums';
3
- import { IBaseDraftSegment, IBaseSegment, ICreateDraftSegment, IDraftSegment } from '../types/interfaces/segment.interfaces';
4
3
  import { CreateDraftSeriesDto, DraftSeriesDto, SeriesDto } from './series.dto';
5
- declare class BaseSegmentDto implements IBaseSegment {
4
+ declare class BaseSegmentDto {
6
5
  organizationId?: number;
7
6
  title: string;
8
7
  privacySetting?: PrivacySettingsEnum;
@@ -21,17 +20,17 @@ export declare class SegmentDto extends BaseSegmentDto {
21
20
  isPrivate: boolean;
22
21
  addonIds?: number[];
23
22
  }
24
- declare class BaseDraftSegmentDto extends BaseSegmentDto implements IBaseDraftSegment {
23
+ declare class BaseDraftSegmentDto extends BaseSegmentDto {
25
24
  id?: string;
26
25
  reservationId?: string;
27
26
  facilityId: number;
28
27
  participantsIds?: number[];
29
28
  productsIds?: number[];
30
29
  }
31
- export declare class CreateDraftSegmentDto extends BaseDraftSegmentDto implements ICreateDraftSegment {
30
+ export declare class CreateDraftSegmentDto extends BaseDraftSegmentDto {
32
31
  series: CreateDraftSeriesDto[];
33
32
  }
34
- export declare class DraftSegmentDto extends BaseDraftSegmentDto implements IDraftSegment {
33
+ export declare class DraftSegmentDto extends BaseDraftSegmentDto {
35
34
  id: string;
36
35
  series: DraftSeriesDto[];
37
36
  }
@@ -1 +1 @@
1
- {"version":3,"file":"segment.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/segment.dto.ts"],"names":[],"mappings":";;;AAAA,gEAA0D;AAW1D,MAAM,cAAc;IAApB;QAWC,YAAO,GAAgB,0BAAU,CAAC,KAAK,CAAC;IASzC,CAAC;CAAA;AAED,MAAa,UAAW,SAAQ,cAAc;CAU7C;AAVD,gCAUC;AAED,MAAM,mBAAoB,SAAQ,cAAc;CAU/C;AAED,MAAa,qBAAsB,SAAQ,mBAAmB;CAE7D;AAFD,sDAEC;AAED,MAAa,eAAgB,SAAQ,mBAAmB;CAIvD;AAJD,0CAIC"}
1
+ {"version":3,"file":"segment.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/segment.dto.ts"],"names":[],"mappings":";;;AAAA,gEAA0D;AAK1D,MAAM,cAAc;IAApB;QAWC,YAAO,GAAgB,0BAAU,CAAC,KAAK,CAAC;IASzC,CAAC;CAAA;AAED,MAAa,UAAW,SAAQ,cAAc;CAU7C;AAVD,gCAUC;AAED,MAAM,mBAAoB,SAAQ,cAAc;CAU/C;AAED,MAAa,qBAAsB,SAAQ,mBAAmB;CAE7D;AAFD,sDAEC;AAED,MAAa,eAAgB,SAAQ,mBAAmB;CAIvD;AAJD,0CAIC"}
@@ -1,8 +1,7 @@
1
1
  import { DurationTypeEnum, DurationUnitTypesEnum, FrequencyEnum } from '../types/enums/reservation.enums';
2
- import { IBaseSeries, ICreateDraftSeries, IDraftSeries } from '../types/interfaces/series.interfaces';
3
2
  import { MaintenanceDto } from './maintenance.dto';
4
3
  import { DraftSlotDto, SlotDto } from './slot.dto';
5
- declare class BaseSeriesDto implements IBaseSeries {
4
+ declare class BaseSeriesDto {
6
5
  startDate: string;
7
6
  startTime?: string;
8
7
  endDate?: string;
@@ -24,14 +23,12 @@ export declare class SeriesDto extends BaseSeriesDto {
24
23
  segmentId?: number;
25
24
  slots?: SlotDto[];
26
25
  }
27
- export declare class CreateDraftSeriesDto extends BaseSeriesDto implements ICreateDraftSeries {
26
+ export declare class CreateDraftSeriesDto extends BaseSeriesDto {
28
27
  reservationId?: string;
29
28
  segmentId?: string;
30
- isEndDate?: boolean;
31
- isOccurrence?: boolean;
29
+ slots?: DraftSlotDto[];
32
30
  }
33
- export declare class DraftSeriesDto extends CreateDraftSeriesDto implements IDraftSeries {
31
+ export declare class DraftSeriesDto extends CreateDraftSeriesDto {
34
32
  id: string;
35
- slots: DraftSlotDto[];
36
33
  }
37
34
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"series.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/series.dto.ts"],"names":[],"mappings":";;;AAKA,MAAM,aAAa;CA0BlB;AAED,MAAa,SAAU,SAAQ,aAAa;CAU3C;AAVD,8BAUC;AAED,MAAa,oBAAqB,SAAQ,aAAa;CAQtD;AARD,oDAQC;AAED,MAAa,cAAe,SAAQ,oBAAoB;CAIvD;AAJD,wCAIC"}
1
+ {"version":3,"file":"series.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/series.dto.ts"],"names":[],"mappings":";;;AAIA,MAAM,aAAa;CA0BlB;AAED,MAAa,SAAU,SAAQ,aAAa;CAU3C;AAVD,8BAUC;AAED,MAAa,oBAAqB,SAAQ,aAAa;CAMtD;AAND,oDAMC;AAED,MAAa,cAAe,SAAQ,oBAAoB;CAEvD;AAFD,wCAEC"}