@bondsports/types 2.5.23 → 2.5.24-a-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 (307) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/applications/dto/application.dto.d.ts +4 -0
  3. package/dist/types/applications/dto/application.dto.js +4 -1
  4. package/dist/types/applications/dto/application.dto.js.map +1 -1
  5. package/dist/types/attendance/dto/attendance.dto.d.ts +1 -0
  6. package/dist/types/attendance/dto/attendance.dto.js.map +1 -1
  7. package/dist/types/booking-type-settings/index.d.ts +0 -1
  8. package/dist/types/booking-type-settings/index.js +0 -1
  9. package/dist/types/booking-type-settings/index.js.map +1 -1
  10. package/dist/types/cart/dto/cart-item-public.dto.d.ts +6 -5
  11. package/dist/types/cart/dto/cart-item-public.dto.js +5 -5
  12. package/dist/types/cart/dto/cart-item-public.dto.js.map +1 -1
  13. package/dist/types/cart/dto/cart-item.dto.d.ts +4 -3
  14. package/dist/types/cart/dto/cart-item.dto.js +4 -3
  15. package/dist/types/cart/dto/cart-item.dto.js.map +1 -1
  16. package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +33 -0
  17. package/dist/types/customers/dto/customer-find-import.dto.d.ts +0 -3
  18. package/dist/types/customers/dto/customer-find-import.dto.js +1 -4
  19. package/dist/types/customers/dto/customer-find-import.dto.js.map +1 -1
  20. package/dist/types/entitlement-group/types/enums.d.ts +2 -1
  21. package/dist/types/entitlement-group/types/enums.js +1 -0
  22. package/dist/types/entitlement-group/types/enums.js.map +1 -1
  23. package/dist/types/events/dto/events.dto.d.ts +1 -7
  24. package/dist/types/events/dto/events.dto.js +1 -7
  25. package/dist/types/events/dto/events.dto.js.map +1 -1
  26. package/dist/types/external-validation/dto/external-validation-customer.dto.d.ts +16 -0
  27. package/dist/types/external-validation/dto/external-validation-customer.dto.js +14 -0
  28. package/dist/types/external-validation/dto/external-validation-customer.dto.js.map +1 -0
  29. package/dist/types/external-validation/dto/external-validation-provider.dto.d.ts +28 -0
  30. package/dist/types/external-validation/dto/external-validation-provider.dto.js +23 -0
  31. package/dist/types/external-validation/dto/external-validation-provider.dto.js.map +1 -0
  32. package/dist/types/external-validation/dto/index.d.ts +2 -0
  33. package/dist/types/{team/types/enums → external-validation/dto}/index.js +2 -1
  34. package/dist/types/external-validation/dto/index.js.map +1 -0
  35. package/dist/types/external-validation/entities/external-validation-provider.entity.d.ts +14 -0
  36. package/dist/types/external-validation/entities/external-validation-provider.entity.js +11 -0
  37. package/dist/types/external-validation/entities/external-validation-provider.entity.js.map +1 -0
  38. package/dist/types/external-validation/entities/external-validation.entity.d.ts +17 -0
  39. package/dist/types/external-validation/entities/external-validation.entity.js +11 -0
  40. package/dist/types/external-validation/entities/external-validation.entity.js.map +1 -0
  41. package/dist/types/external-validation/entities/index.d.ts +2 -0
  42. package/dist/types/{booking-type-settings/dto → external-validation/entities}/index.js +2 -1
  43. package/dist/types/external-validation/entities/index.js.map +1 -0
  44. package/dist/types/{team → external-validation}/index.d.ts +1 -0
  45. package/dist/types/{team → external-validation}/index.js +1 -0
  46. package/dist/types/external-validation/index.js.map +1 -0
  47. package/dist/types/external-validation/types/consts.d.ts +16 -0
  48. package/dist/types/external-validation/types/consts.js +20 -0
  49. package/dist/types/external-validation/types/consts.js.map +1 -0
  50. package/dist/types/external-validation/types/enums.d.ts +37 -0
  51. package/dist/types/external-validation/types/enums.js +45 -0
  52. package/dist/types/external-validation/types/enums.js.map +1 -0
  53. package/dist/types/external-validation/types/index.d.ts +3 -0
  54. package/dist/types/{team → external-validation}/types/index.js +2 -0
  55. package/dist/types/external-validation/types/index.js.map +1 -0
  56. package/dist/types/external-validation/types/interfaces.d.ts +109 -0
  57. package/dist/types/external-validation/types/interfaces.js +3 -0
  58. package/dist/types/external-validation/types/interfaces.js.map +1 -0
  59. package/dist/types/facilities/dto/facilities.dto.d.ts +6 -0
  60. package/dist/types/facilities/dto/facilities.dto.js +4 -1
  61. package/dist/types/facilities/dto/facilities.dto.js.map +1 -1
  62. package/dist/types/facilities/dto/public-facilities.dto.d.ts +9 -0
  63. package/dist/types/facilities/dto/public-facilities.dto.js +12 -1
  64. package/dist/types/facilities/dto/public-facilities.dto.js.map +1 -1
  65. package/dist/types/group-divisions/dto/groups-divisions.dto.d.ts +0 -87
  66. package/dist/types/group-divisions/dto/groups-divisions.dto.js +1 -46
  67. package/dist/types/group-divisions/dto/groups-divisions.dto.js.map +1 -1
  68. package/dist/types/group-divisions/entities/index.d.ts +0 -3
  69. package/dist/types/group-divisions/entities/index.js +0 -3
  70. package/dist/types/group-divisions/entities/index.js.map +1 -1
  71. package/dist/types/index.d.ts +1 -1
  72. package/dist/types/index.js +1 -1
  73. package/dist/types/index.js.map +1 -1
  74. package/dist/types/invoice/dto/index.d.ts +1 -0
  75. package/dist/types/invoice/dto/index.js +1 -0
  76. package/dist/types/invoice/dto/index.js.map +1 -1
  77. package/dist/types/invoice/dto/invoice-pdf.dto.d.ts +6 -1
  78. package/dist/types/invoice/dto/invoice-pdf.dto.js +4 -1
  79. package/dist/types/invoice/dto/invoice-pdf.dto.js.map +1 -1
  80. package/dist/types/invoice/dto/invoice-settings.dto.d.ts +15 -0
  81. package/dist/types/invoice/dto/invoice-settings.dto.js +18 -0
  82. package/dist/types/invoice/dto/invoice-settings.dto.js.map +1 -0
  83. package/dist/types/invoice/types/interfaces/invoice.interfaces.d.ts +12 -4
  84. package/dist/types/invoice/types/interfaces/invoice.interfaces.js.map +1 -1
  85. package/dist/types/league/index.d.ts +0 -1
  86. package/dist/types/league/index.js +0 -1
  87. package/dist/types/league/index.js.map +1 -1
  88. package/dist/types/leagues-scheduler/types/interfaces.d.ts +1 -0
  89. package/dist/types/leagues-scheduler/types/interfaces.js.map +1 -1
  90. package/dist/types/membership/dto/membership.dto.d.ts +0 -1
  91. package/dist/types/membership/dto/membership.dto.js.map +1 -1
  92. package/dist/types/membership/dto/public-membership.dto.d.ts +2 -0
  93. package/dist/types/membership/dto/public-membership.dto.js.map +1 -1
  94. package/dist/types/membership/entities/membership.entity.d.ts +8 -1
  95. package/dist/types/membership/entities/membership.entity.js.map +1 -1
  96. package/dist/types/membership/types/membership.interfaces.d.ts +2 -1
  97. package/dist/types/payment/dto/payment.dto.d.ts +0 -4
  98. package/dist/types/payment/dto/payment.dto.js +1 -4
  99. package/dist/types/payment/dto/payment.dto.js.map +1 -1
  100. package/dist/types/payment/entities/index.d.ts +0 -1
  101. package/dist/types/payment/entities/index.js +0 -1
  102. package/dist/types/payment/entities/index.js.map +1 -1
  103. package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +0 -1
  104. package/dist/types/pricing/dto/pricing.dto.d.ts +1 -8
  105. package/dist/types/pricing/dto/pricing.dto.js +1 -4
  106. package/dist/types/pricing/dto/pricing.dto.js.map +1 -1
  107. package/dist/types/product-pricing/dto/index.d.ts +1 -0
  108. package/dist/types/product-pricing/dto/index.js +1 -0
  109. package/dist/types/product-pricing/dto/index.js.map +1 -1
  110. package/dist/types/product-pricing/dto/product-categories.dto.d.ts +5 -1
  111. package/dist/types/product-pricing/dto/product-categories.dto.js +4 -1
  112. package/dist/types/product-pricing/dto/product-categories.dto.js.map +1 -1
  113. package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +0 -16
  114. package/dist/types/product-pricing/dto/product-pricing.dto.js +1 -16
  115. package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
  116. package/dist/types/product-pricing/dto/product-variants.dto.d.ts +0 -5
  117. package/dist/types/product-pricing/dto/product-variants.dto.js +1 -4
  118. package/dist/types/product-pricing/dto/product-variants.dto.js.map +1 -1
  119. package/dist/types/product-pricing/dto/product.dto.d.ts +0 -12
  120. package/dist/types/product-pricing/dto/product.dto.js +1 -7
  121. package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
  122. package/dist/types/product-pricing/dto/program-session-addon.dto.d.ts +23 -0
  123. package/dist/types/product-pricing/dto/program-session-addon.dto.js +11 -0
  124. package/dist/types/product-pricing/dto/program-session-addon.dto.js.map +1 -0
  125. package/dist/types/product-pricing/dto/public-product.dto.d.ts +1 -0
  126. package/dist/types/product-pricing/dto/public-product.dto.js.map +1 -1
  127. package/dist/types/product-pricing/entities/product-category.entity.d.ts +3 -0
  128. package/dist/types/product-pricing/entities/product-category.entity.js.map +1 -1
  129. package/dist/types/product-pricing/types/consts/product-pricing.consts.d.ts +4 -1
  130. package/dist/types/product-pricing/types/consts/product-pricing.consts.js +12 -1
  131. package/dist/types/product-pricing/types/consts/product-pricing.consts.js.map +1 -1
  132. package/dist/types/product-pricing/types/enums/product.enums.d.ts +1 -0
  133. package/dist/types/product-pricing/types/enums/product.enums.js +2 -0
  134. package/dist/types/product-pricing/types/enums/product.enums.js.map +1 -1
  135. package/dist/types/product-pricing/types/interfaces/index.d.ts +2 -0
  136. package/dist/types/product-pricing/types/interfaces/index.js +2 -0
  137. package/dist/types/product-pricing/types/interfaces/index.js.map +1 -1
  138. package/dist/types/product-pricing/types/interfaces/product-addons.interfaces.d.ts +18 -0
  139. package/dist/types/product-pricing/types/interfaces/product-addons.interfaces.js +3 -0
  140. package/dist/types/product-pricing/types/interfaces/product-addons.interfaces.js.map +1 -0
  141. package/dist/types/product-pricing/types/interfaces/product-categories.interfaces.d.ts +4 -0
  142. package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +8 -9
  143. package/dist/types/product-pricing/types/interfaces/relative-eblf.interfaces.d.ts +11 -0
  144. package/dist/types/product-pricing/types/interfaces/relative-eblf.interfaces.js +3 -0
  145. package/dist/types/product-pricing/types/interfaces/relative-eblf.interfaces.js.map +1 -0
  146. package/dist/types/product-resources/types/interfaces/product-resource.interfaces.d.ts +12 -0
  147. package/dist/types/program-portals/types/consts/program-portals.consts.d.ts +1 -0
  148. package/dist/types/program-portals/types/consts/program-portals.consts.js +3 -1
  149. package/dist/types/program-portals/types/consts/program-portals.consts.js.map +1 -1
  150. package/dist/types/program-portals/types/dto/program-portals.dto.d.ts +4 -0
  151. package/dist/types/program-portals/types/dto/program-portals.dto.js +4 -1
  152. package/dist/types/program-portals/types/dto/program-portals.dto.js.map +1 -1
  153. package/dist/types/program-portals/types/dto/public-program-portals.dto.d.ts +13 -1
  154. package/dist/types/program-portals/types/dto/public-program-portals.dto.js +7 -1
  155. package/dist/types/program-portals/types/dto/public-program-portals.dto.js.map +1 -1
  156. package/dist/types/program-portals/types/enums/program-portals.enums.d.ts +1 -0
  157. package/dist/types/program-portals/types/enums/program-portals.enums.js +1 -0
  158. package/dist/types/program-portals/types/enums/program-portals.enums.js.map +1 -1
  159. package/dist/types/program-portals/types/interfaces/program-portals.interfaces.d.ts +1 -0
  160. package/dist/types/programs/dto/index.d.ts +1 -0
  161. package/dist/types/programs/dto/index.js +1 -0
  162. package/dist/types/programs/dto/index.js.map +1 -1
  163. package/dist/types/programs/dto/program.dto.d.ts +1 -0
  164. package/dist/types/programs/dto/program.dto.js.map +1 -1
  165. package/dist/types/programs/dto/session-addons-public.dto.d.ts +8 -0
  166. package/dist/types/programs/dto/session-addons-public.dto.js +16 -0
  167. package/dist/types/programs/dto/session-addons-public.dto.js.map +1 -0
  168. package/dist/types/programs/entities/program.entity.d.ts +2 -0
  169. package/dist/types/programs/entities/program.entity.js.map +1 -1
  170. package/dist/types/programs/types/consts/program.consts.d.ts +5 -0
  171. package/dist/types/programs/types/consts/program.consts.js +15 -1
  172. package/dist/types/programs/types/consts/program.consts.js.map +1 -1
  173. package/dist/types/programs-seasons/dto/program-segment.dto.d.ts +1 -0
  174. package/dist/types/programs-seasons/dto/program-segment.dto.js +1 -1
  175. package/dist/types/programs-seasons/dto/program-segment.dto.js.map +1 -1
  176. package/dist/types/programs-seasons/dto/program-session.dto.d.ts +5 -13
  177. package/dist/types/programs-seasons/dto/program-session.dto.js +1 -10
  178. package/dist/types/programs-seasons/dto/program-session.dto.js.map +1 -1
  179. package/dist/types/programs-seasons/entities/program-season-history.entity.d.ts +3 -0
  180. package/dist/types/programs-seasons/entities/program-season-history.entity.js.map +1 -1
  181. package/dist/types/programs-seasons/entities/program-season.entity.d.ts +4 -0
  182. package/dist/types/programs-seasons/entities/program-season.entity.js +1 -1
  183. package/dist/types/programs-seasons/entities/program-season.entity.js.map +1 -1
  184. package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +2 -1
  185. package/dist/types/programs-seasons/types/enums/program-season.enums.js +1 -0
  186. package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +1 -1
  187. package/dist/types/programs-seasons/types/interfaces/program-session.interfaces.d.ts +9 -0
  188. package/dist/types/purchase/dto/purchase.dto.d.ts +0 -5
  189. package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
  190. package/dist/types/purchase/types/interfaces/purchase.interfaces.d.ts +2 -0
  191. package/dist/types/questionnaires/entities/answer-title.entity.d.ts +8 -0
  192. package/dist/types/questionnaires/entities/answer-title.entity.js.map +1 -1
  193. package/dist/types/registration/dto/registration.dto.d.ts +0 -17
  194. package/dist/types/registration/dto/registration.dto.js +1 -10
  195. package/dist/types/registration/dto/registration.dto.js.map +1 -1
  196. package/dist/types/registration/entities/purchased-resource.entity.d.ts +0 -4
  197. package/dist/types/registration/entities/purchased-resource.entity.js.map +1 -1
  198. package/dist/types/reservations/dto/reservation.dto.d.ts +1 -5
  199. package/dist/types/reservations/dto/reservation.dto.js +2 -5
  200. package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
  201. package/dist/types/reservations/dto/slot.dto.d.ts +0 -7
  202. package/dist/types/reservations/dto/slot.dto.js +1 -7
  203. package/dist/types/reservations/dto/slot.dto.js.map +1 -1
  204. package/dist/types/resource-settings/types/enums/resource-settings.enums.d.ts +2 -1
  205. package/dist/types/resource-settings/types/enums/resource-settings.enums.js +1 -0
  206. package/dist/types/resource-settings/types/enums/resource-settings.enums.js.map +1 -1
  207. package/dist/types/resources/types/enums/resources.enums.d.ts +2 -1
  208. package/dist/types/resources/types/enums/resources.enums.js +1 -0
  209. package/dist/types/resources/types/enums/resources.enums.js.map +1 -1
  210. package/dist/types/standings-integration/types/consts/roster-rollover.consts.d.ts +1 -1
  211. package/dist/types/standings-integration/types/consts/roster-rollover.consts.js +1 -1
  212. package/dist/types/taxes/dto/default-tax.dto.d.ts +9 -1
  213. package/dist/types/taxes/dto/default-tax.dto.js +7 -1
  214. package/dist/types/taxes/dto/default-tax.dto.js.map +1 -1
  215. package/dist/types/taxes/dto/organization-default-tax.dto.d.ts +11 -5
  216. package/dist/types/taxes/dto/organization-default-tax.dto.js +4 -1
  217. package/dist/types/taxes/dto/organization-default-tax.dto.js.map +1 -1
  218. package/dist/types/taxes/dto/pagination.dto.d.ts +3 -0
  219. package/dist/types/taxes/dto/pagination.dto.js.map +1 -1
  220. package/dist/types/taxes/dto/tax.dto.d.ts +7 -0
  221. package/dist/types/taxes/dto/tax.dto.js.map +1 -1
  222. package/dist/types/taxes/entities/default-tax.entity.d.ts +5 -3
  223. package/dist/types/taxes/entities/default-tax.entity.js +2 -2
  224. package/dist/types/taxes/entities/default-tax.entity.js.map +1 -1
  225. package/dist/types/taxes/entities/index.d.ts +1 -0
  226. package/dist/types/taxes/entities/index.js +1 -0
  227. package/dist/types/taxes/entities/index.js.map +1 -1
  228. package/dist/types/taxes/entities/tax-to-facility.entity.d.ts +10 -0
  229. package/dist/types/taxes/entities/tax-to-facility.entity.js +8 -0
  230. package/dist/types/taxes/entities/tax-to-facility.entity.js.map +1 -0
  231. package/dist/types/taxes/entities/tax.entity.d.ts +3 -1
  232. package/dist/types/taxes/entities/tax.entity.js.map +1 -1
  233. package/dist/types/taxes/types/default-tax.classes.d.ts +17 -10
  234. package/dist/types/taxes/types/default-tax.classes.js +4 -1
  235. package/dist/types/taxes/types/default-tax.classes.js.map +1 -1
  236. package/dist/types/taxes/types/tax.interfaces.d.ts +37 -0
  237. package/dist/types/user-activities/dto/user-activities.dto.d.ts +2 -0
  238. package/dist/types/user-activities/dto/user-activities.dto.js.map +1 -1
  239. package/dist/types/waitlist/types/waitlist-notifications.interfaces.d.ts +2 -2
  240. package/package.json +2 -2
  241. package/dist/types/booking-type-settings/dto/booking-type-setting.dto.d.ts +0 -7
  242. package/dist/types/booking-type-settings/dto/booking-type-setting.dto.js +0 -7
  243. package/dist/types/booking-type-settings/dto/booking-type-setting.dto.js.map +0 -1
  244. package/dist/types/booking-type-settings/dto/index.d.ts +0 -1
  245. package/dist/types/booking-type-settings/dto/index.js.map +0 -1
  246. package/dist/types/group-divisions/entities/team-invite.entity.d.ts +0 -10
  247. package/dist/types/group-divisions/entities/team-invite.entity.js +0 -8
  248. package/dist/types/group-divisions/entities/team-invite.entity.js.map +0 -1
  249. package/dist/types/group-divisions/entities/team-member.entity.d.ts +0 -15
  250. package/dist/types/group-divisions/entities/team-member.entity.js +0 -8
  251. package/dist/types/group-divisions/entities/team-member.entity.js.map +0 -1
  252. package/dist/types/group-divisions/entities/users-in-group.entity.d.ts +0 -6
  253. package/dist/types/group-divisions/entities/users-in-group.entity.js +0 -8
  254. package/dist/types/group-divisions/entities/users-in-group.entity.js.map +0 -1
  255. package/dist/types/league/entities/game-slots.entity.d.ts +0 -5
  256. package/dist/types/league/entities/game-slots.entity.js +0 -8
  257. package/dist/types/league/entities/game-slots.entity.js.map +0 -1
  258. package/dist/types/league/entities/index.d.ts +0 -7
  259. package/dist/types/league/entities/index.js +0 -24
  260. package/dist/types/league/entities/index.js.map +0 -1
  261. package/dist/types/league/entities/league.entity.d.ts +0 -30
  262. package/dist/types/league/entities/league.entity.js +0 -8
  263. package/dist/types/league/entities/league.entity.js.map +0 -1
  264. package/dist/types/league/entities/match-participants.entity.d.ts +0 -10
  265. package/dist/types/league/entities/match-participants.entity.js +0 -8
  266. package/dist/types/league/entities/match-participants.entity.js.map +0 -1
  267. package/dist/types/league/entities/matches.entity.d.ts +0 -6
  268. package/dist/types/league/entities/matches.entity.js +0 -8
  269. package/dist/types/league/entities/matches.entity.js.map +0 -1
  270. package/dist/types/league/entities/round-events.entity.d.ts +0 -8
  271. package/dist/types/league/entities/round-events.entity.js +0 -8
  272. package/dist/types/league/entities/round-events.entity.js.map +0 -1
  273. package/dist/types/league/entities/season-rounds.entity.d.ts +0 -7
  274. package/dist/types/league/entities/season-rounds.entity.js +0 -8
  275. package/dist/types/league/entities/season-rounds.entity.js.map +0 -1
  276. package/dist/types/league/entities/team-events.entity.d.ts +0 -6
  277. package/dist/types/league/entities/team-events.entity.js +0 -8
  278. package/dist/types/league/entities/team-events.entity.js.map +0 -1
  279. package/dist/types/payment/entities/payment-v1.entity.d.ts +0 -19
  280. package/dist/types/payment/entities/payment-v1.entity.js +0 -8
  281. package/dist/types/payment/entities/payment-v1.entity.js.map +0 -1
  282. package/dist/types/team/entities/connection.entity.d.ts +0 -13
  283. package/dist/types/team/entities/connection.entity.js +0 -8
  284. package/dist/types/team/entities/connection.entity.js.map +0 -1
  285. package/dist/types/team/entities/index.d.ts +0 -5
  286. package/dist/types/team/entities/index.js +0 -22
  287. package/dist/types/team/entities/index.js.map +0 -1
  288. package/dist/types/team/entities/league-season.entity.d.ts +0 -51
  289. package/dist/types/team/entities/league-season.entity.js +0 -15
  290. package/dist/types/team/entities/league-season.entity.js.map +0 -1
  291. package/dist/types/team/entities/season-pool.entity.d.ts +0 -22
  292. package/dist/types/team/entities/season-pool.entity.js +0 -8
  293. package/dist/types/team/entities/season-pool.entity.js.map +0 -1
  294. package/dist/types/team/entities/season-team.entity.d.ts +0 -12
  295. package/dist/types/team/entities/season-team.entity.js +0 -8
  296. package/dist/types/team/entities/season-team.entity.js.map +0 -1
  297. package/dist/types/team/entities/team.entity.d.ts +0 -37
  298. package/dist/types/team/entities/team.entity.js +0 -8
  299. package/dist/types/team/entities/team.entity.js.map +0 -1
  300. package/dist/types/team/index.js.map +0 -1
  301. package/dist/types/team/types/enums/index.d.ts +0 -1
  302. package/dist/types/team/types/enums/index.js.map +0 -1
  303. package/dist/types/team/types/enums/team.enums.d.ts +0 -16
  304. package/dist/types/team/types/enums/team.enums.js +0 -23
  305. package/dist/types/team/types/enums/team.enums.js.map +0 -1
  306. package/dist/types/team/types/index.d.ts +0 -1
  307. package/dist/types/team/types/index.js.map +0 -1
@@ -28,6 +28,10 @@ export declare class UserAnswersDto {
28
28
  parentId?: number;
29
29
  organizationId?: number;
30
30
  }
31
+ export declare class BulkUserAnswersDto {
32
+ usersAnswers: UserAnswersDto[];
33
+ organizationId?: number;
34
+ }
31
35
  export declare class GetByQuestionnaireIdsDto {
32
36
  questionnaireIds: string;
33
37
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleApplicationDto = exports.QuestionAndAnswerDto = exports.AnswerTemplateDataDto = exports.AnswerTemplateCustomerDto = exports.GetByQuestionnaireIdsDto = exports.UserAnswersDto = exports.QuestionAnswersDto = exports.QuestionDto = exports.AnswerDto = void 0;
3
+ exports.SimpleApplicationDto = exports.QuestionAndAnswerDto = exports.AnswerTemplateDataDto = exports.AnswerTemplateCustomerDto = exports.GetByQuestionnaireIdsDto = exports.BulkUserAnswersDto = exports.UserAnswersDto = exports.QuestionAnswersDto = exports.QuestionDto = exports.AnswerDto = void 0;
4
4
  const general_dto_1 = require("../../dto/general.dto");
5
5
  class AnswerDto {
6
6
  }
@@ -14,6 +14,9 @@ exports.QuestionAnswersDto = QuestionAnswersDto;
14
14
  class UserAnswersDto {
15
15
  }
16
16
  exports.UserAnswersDto = UserAnswersDto;
17
+ class BulkUserAnswersDto {
18
+ }
19
+ exports.BulkUserAnswersDto = BulkUserAnswersDto;
17
20
  class GetByQuestionnaireIdsDto {
18
21
  }
19
22
  exports.GetByQuestionnaireIdsDto = GetByQuestionnaireIdsDto;
@@ -1 +1 @@
1
- {"version":3,"file":"application.dto.js","sourceRoot":"","sources":["../../../../src/types/applications/dto/application.dto.ts"],"names":[],"mappings":";;;AACA,uDAA8C;AAK9C,MAAa,SAAS;CAYrB;AAZD,8BAYC;AAED,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,cAAc;CAU1B;AAVD,wCAUC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAkBrC;AAlBD,8DAkBC;AAGD,MAAM,sBAAsB;CAM3B;AAED,MAAa,qBAAsB,SAAQ,sBAAsB;CAUhE;AAVD,sDAUC;AAED,MAAa,oBAAoB;CAYhC;AAZD,oDAYC;AAED,MAAa,oBAAqB,SAAQ,mBAAK;CAI9C;AAJD,oDAIC"}
1
+ {"version":3,"file":"application.dto.js","sourceRoot":"","sources":["../../../../src/types/applications/dto/application.dto.ts"],"names":[],"mappings":";;;AACA,uDAA8C;AAK9C,MAAa,SAAS;CAYrB;AAZD,8BAYC;AAED,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,cAAc;CAU1B;AAVD,wCAUC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAkBrC;AAlBD,8DAkBC;AAGD,MAAM,sBAAsB;CAM3B;AAED,MAAa,qBAAsB,SAAQ,sBAAsB;CAUhE;AAVD,sDAUC;AAED,MAAa,oBAAoB;CAYhC;AAZD,oDAYC;AAED,MAAa,oBAAqB,SAAQ,mBAAK;CAI9C;AAJD,oDAIC"}
@@ -21,6 +21,7 @@ export declare class AttendanceDto {
21
21
  export declare class AttendanceCreateDto {
22
22
  entityId: number;
23
23
  entityType: AttendanceEntityTypeEnum;
24
+ facilityId?: number;
24
25
  stationId?: number;
25
26
  }
26
27
  export declare class GetUserAttendanceQuery extends PaginationQuery {
@@ -1 +1 @@
1
- {"version":3,"file":"attendance.dto.js","sourceRoot":"","sources":["../../../../src/types/attendance/dto/attendance.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAC9E,+DAA4D;AAC5D,gEAA2F;AAE3F,MAAa,8BAA+B,SAAQ,sCAAmB;CAEtE;AAFD,wEAEC;AAED,MAAa,aAAa;CAsBzB;AAtBD,sCAsBC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,sBAAuB,SAAQ,6BAAe;IAA3D;;QACC,WAAM,GAAyB,uCAAoB,CAAC,YAAY,CAAC;QAEjE,UAAK,GAAgB,yBAAW,CAAC,IAAI,CAAC;IACvC,CAAC;CAAA;AAJD,wDAIC"}
1
+ {"version":3,"file":"attendance.dto.js","sourceRoot":"","sources":["../../../../src/types/attendance/dto/attendance.dto.ts"],"names":[],"mappings":";;;AACA,uDAAwD;AACxD,8EAA8E;AAC9E,+DAA4D;AAC5D,gEAA2F;AAE3F,MAAa,8BAA+B,SAAQ,sCAAmB;CAEtE;AAFD,wEAEC;AAED,MAAa,aAAa;CAsBzB;AAtBD,sCAsBC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED,MAAa,sBAAuB,SAAQ,6BAAe;IAA3D;;QACC,WAAM,GAAyB,uCAAoB,CAAC,YAAY,CAAC;QAEjE,UAAK,GAAgB,yBAAW,CAAC,IAAI,CAAC;IACvC,CAAC;CAAA;AAJD,wDAIC"}
@@ -1,3 +1,2 @@
1
- export * from './dto';
2
1
  export * from './entities';
3
2
  export * from './types';
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./dto"), exports);
18
17
  __exportStar(require("./entities"), exports);
19
18
  __exportStar(require("./types"), exports);
20
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/booking-type-settings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/booking-type-settings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,0CAAwB"}
@@ -14,19 +14,20 @@ export declare class PublicCartItemDto extends CartItemDto {
14
14
  requiredProductIds?: number[];
15
15
  }
16
16
  /**
17
- * Consumer-safe add-cart-item request. Extends the shared consumer-safe base so the public surface
18
- * never exposes backoffice-only `unitPrice` or item-level `facilityId`. Resources use
17
+ * Consumer-safe add-cart-item request. Item-level `facilityId` is accepted so a membership or package
18
+ * purchase can name its facility. Other product types have it cleared before attribution. Resources use
19
19
  * `PublicPurchaseResourceDto` (shared base, no `facilityId`). Participant `userId` is kept
20
20
  * (family-member registration) and validated against the cart owner's family server-side. Children
21
- * recurse into the same public shape so nested add-ons cannot smuggle those fields either.
21
+ * recurse into the same public shape so nested add-ons cannot smuggle resource facilities either.
22
22
  */
23
23
  export declare class PublicAddCartItemDto extends BaseAddCartItemDto {
24
+ facilityId?: number;
24
25
  resources?: PublicPurchaseResourceDto[];
25
26
  children?: PublicAddCartItemDto[];
26
27
  }
27
28
  /**
28
- * Consumer-safe cart-item update. Same writable fields as backoffice update except resources
29
- * cannot carry a client-supplied `facilityId`.
29
+ * Consumer-safe cart-item update. Facility is not accepted: the update only copies user, quantity, and resources.
30
+ * Resources cannot carry a client-supplied `facilityId`.
30
31
  */
31
32
  export declare class PublicUpdateCartItemDto extends BaseCartItemDto {
32
33
  id: number;
@@ -14,18 +14,18 @@ class PublicCartItemDto extends cart_item_dto_1.CartItemDto {
14
14
  }
15
15
  exports.PublicCartItemDto = PublicCartItemDto;
16
16
  /**
17
- * Consumer-safe add-cart-item request. Extends the shared consumer-safe base so the public surface
18
- * never exposes backoffice-only `unitPrice` or item-level `facilityId`. Resources use
17
+ * Consumer-safe add-cart-item request. Item-level `facilityId` is accepted so a membership or package
18
+ * purchase can name its facility. Other product types have it cleared before attribution. Resources use
19
19
  * `PublicPurchaseResourceDto` (shared base, no `facilityId`). Participant `userId` is kept
20
20
  * (family-member registration) and validated against the cart owner's family server-side. Children
21
- * recurse into the same public shape so nested add-ons cannot smuggle those fields either.
21
+ * recurse into the same public shape so nested add-ons cannot smuggle resource facilities either.
22
22
  */
23
23
  class PublicAddCartItemDto extends cart_item_dto_1.BaseAddCartItemDto {
24
24
  }
25
25
  exports.PublicAddCartItemDto = PublicAddCartItemDto;
26
26
  /**
27
- * Consumer-safe cart-item update. Same writable fields as backoffice update except resources
28
- * cannot carry a client-supplied `facilityId`.
27
+ * Consumer-safe cart-item update. Facility is not accepted: the update only copies user, quantity, and resources.
28
+ * Resources cannot carry a client-supplied `facilityId`.
29
29
  */
30
30
  class PublicUpdateCartItemDto extends cart_item_dto_1.BaseCartItemDto {
31
31
  }
@@ -1 +1 @@
1
- {"version":3,"file":"cart-item-public.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-item-public.dto.ts"],"names":[],"mappings":";;;AACA,kEAA0E;AAQ1E,mDAAmF;AAEnF;;;GAGG;AACH,MAAa,yBAA0B,SAAQ,sCAAuB;CAAG;AAAzE,8DAAyE;AAEzE,MAAa,iBAAkB,SAAQ,2BAAW;CAQjD;AARD,8CAQC;AAED;;;;;;GAMG;AACH,MAAa,oBAAqB,SAAQ,kCAAkB;CAI3D;AAJD,oDAIC;AAED;;;GAGG;AACH,MAAa,uBAAwB,SAAQ,+BAAe;CAI3D;AAJD,0DAIC"}
1
+ {"version":3,"file":"cart-item-public.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-item-public.dto.ts"],"names":[],"mappings":";;;AACA,kEAA0E;AAQ1E,mDAAmF;AAEnF;;;GAGG;AACH,MAAa,yBAA0B,SAAQ,sCAAuB;CAAG;AAAzE,8DAAyE;AAEzE,MAAa,iBAAkB,SAAQ,2BAAW;CAQjD;AARD,8CAQC;AAED;;;;;;GAMG;AACH,MAAa,oBAAqB,SAAQ,kCAAkB;CAM3D;AAND,oDAMC;AAED;;;GAGG;AACH,MAAa,uBAAwB,SAAQ,+BAAe;CAI3D;AAJD,0DAIC"}
@@ -85,9 +85,10 @@ export declare class UpdateCartItemDto extends BaseCartItemDto {
85
85
  }
86
86
  /**
87
87
  * Consumer-safe add-cart-item fields shared by the public and backoffice surfaces. Server-authoritative
88
- * pricing (`unitPrice`) and revenue attribution (`facilityId`) are backoffice-only concerns and live on
89
- * AddCartItemDto, not here, so they can never be set from the public (consumer) surface which extends
90
- * this base. Participant `userId` is inherited from BaseCartItemDto and is safe on the public surface.
88
+ * pricing (`unitPrice`) is a backoffice-only concern and lives on AddCartItemDto, not here, so it can
89
+ * never be set from the public (consumer) surface which extends this base. Item-level `facilityId` is
90
+ * accepted on the public membership and package DTOs. Participant `userId` is inherited from
91
+ * BaseCartItemDto and is safe on the public surface.
91
92
  */
92
93
  export declare class BaseAddCartItemDto extends BaseCartItemDto {
93
94
  productId: number;
@@ -34,9 +34,10 @@ class UpdateCartItemDto extends BaseCartItemDto {
34
34
  exports.UpdateCartItemDto = UpdateCartItemDto;
35
35
  /**
36
36
  * Consumer-safe add-cart-item fields shared by the public and backoffice surfaces. Server-authoritative
37
- * pricing (`unitPrice`) and revenue attribution (`facilityId`) are backoffice-only concerns and live on
38
- * AddCartItemDto, not here, so they can never be set from the public (consumer) surface which extends
39
- * this base. Participant `userId` is inherited from BaseCartItemDto and is safe on the public surface.
37
+ * pricing (`unitPrice`) is a backoffice-only concern and lives on AddCartItemDto, not here, so it can
38
+ * never be set from the public (consumer) surface which extends this base. Item-level `facilityId` is
39
+ * accepted on the public membership and package DTOs. Participant `userId` is inherited from
40
+ * BaseCartItemDto and is safe on the public surface.
40
41
  */
41
42
  class BaseAddCartItemDto extends BaseCartItemDto {
42
43
  }
@@ -1 +1 @@
1
- {"version":3,"file":"cart-item.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-item.dto.ts"],"names":[],"mappings":";;;AAEA,8EAAoF;AAgBpF,MAAa,UAAW,SAAQ,4CAAyB;CAYxD;AAZD,gCAYC;AAED,MAAa,eAAgB,SAAQ,4CAAyB;CAsB7D;AAtBD,0CAsBC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,iBAAkB,SAAQ,4CAAyB;CAI/D;AAJD,8CAIC;AAED,MAAa,WAAY,SAAQ,iBAAiB;CA8CjD;AA9CD,kCA8CC;AAED;;;;;GAKG;AACH,MAAa,eAAe;CAO3B;AAPD,0CAOC;AAED,MAAa,iBAAkB,SAAQ,eAAe;CAGrD;AAHD,8CAGC;AAED;;;;;GAKG;AACH,MAAa,kBAAmB,SAAQ,eAAe;CAMtD;AAND,gDAMC;AAED,MAAa,cAAe,SAAQ,kBAAkB;CAQrD;AARD,wCAQC"}
1
+ {"version":3,"file":"cart-item.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart-item.dto.ts"],"names":[],"mappings":";;;AAEA,8EAAoF;AAgBpF,MAAa,UAAW,SAAQ,4CAAyB;CAYxD;AAZD,gCAYC;AAED,MAAa,eAAgB,SAAQ,4CAAyB;CAsB7D;AAtBD,0CAsBC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,iBAAkB,SAAQ,4CAAyB;CAI/D;AAJD,8CAIC;AAED,MAAa,WAAY,SAAQ,iBAAiB;CA8CjD;AA9CD,kCA8CC;AAED;;;;;GAKG;AACH,MAAa,eAAe;CAO3B;AAPD,0CAOC;AAED,MAAa,iBAAkB,SAAQ,eAAe;CAGrD;AAHD,8CAGC;AAED;;;;;;GAMG;AACH,MAAa,kBAAmB,SAAQ,eAAe;CAMtD;AAND,gDAMC;AAED,MAAa,cAAe,SAAQ,kBAAkB;CAQrD;AARD,wCAQC"}
@@ -1,8 +1,11 @@
1
1
  import { ActivityTimes } from '../../../activity-times/entities/activity-times.entity';
2
2
  import { UserAnswersDto } from '../../../applications/dto/application.dto';
3
+ import { Invoice } from '../../../invoice/entities/invoice.entity';
3
4
  import { Product } from '../../../product-pricing/entities/product.entity';
4
5
  import { IPricesOfProductsResults } from '../../../product-pricing/types/interfaces/product-pricing.interfaces';
5
6
  import { IResource } from '../../../product-resources/types/interfaces/product-resource.interfaces';
7
+ import { IPurchaseResult } from '../../../purchase/types/interfaces/purchase.interfaces';
8
+ import { Reservation } from '../../../reservations/entities/reservation.entity';
6
9
  import { CurrencyEnum } from '../../../types/enums/currency.enums';
7
10
  import { PlatformsEnum } from '../../../types/enums/platform.enums';
8
11
  import { ResourceNameTypeEnum } from '../../../types/enums/resource-name.enums';
@@ -154,3 +157,33 @@ export interface IRecalculateCartOptions {
154
157
  recalculateDiscounts?: boolean;
155
158
  skipSave?: boolean;
156
159
  }
160
+ export interface ISendCartConfirmationEmailsParams {
161
+ amountToPay: number;
162
+ cart?: Cart;
163
+ organizationId: number;
164
+ purchaseResult?: IPurchaseResult;
165
+ reservations?: Reservation[];
166
+ }
167
+ export interface ISendProgramRegistrationEmailsParams {
168
+ amountToPay: number;
169
+ invoice: Invoice;
170
+ organizationId: number;
171
+ purchasedCart: Cart;
172
+ }
173
+ export interface IProgramRegistrationNotificationErrorLogParams {
174
+ cartId: number;
175
+ invoiceId: number;
176
+ message: string;
177
+ organizationId: number;
178
+ sessionId: number;
179
+ }
180
+ export interface IUsePublicCartPromoCodesParams {
181
+ organizationId: number;
182
+ cartId: number;
183
+ codes: string[];
184
+ }
185
+ export interface IRemovePublicCartDiscountsParams {
186
+ organizationId: number;
187
+ cartId: number;
188
+ actionIds: string[];
189
+ }
@@ -33,9 +33,6 @@ export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQ
33
33
  customerType?: CustomerTypeEnum;
34
34
  customersIds?: number[];
35
35
  }
36
- export declare class AddCustomerNotesDto {
37
- customerNotes: CustomerNoteDto[];
38
- }
39
36
  export declare class CustomerNoteDto {
40
37
  id?: number;
41
38
  description: string;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CustomerDto = exports.CustomerNoteDto = exports.AddCustomerNotesDto = exports.FindCustomersByOrganizationIdFiltersDto = exports.ByOrganizationIdCustomerIdDto = exports.ImportRentalsFromCSV = exports.ImportDashCustomerDto = exports.ImportProgramsFileDto = exports.ImportCustomerFromCSV = exports.ImportProductsFromDB = exports.FindByMembershipIdDto = void 0;
3
+ exports.CustomerDto = exports.CustomerNoteDto = exports.FindCustomersByOrganizationIdFiltersDto = exports.ByOrganizationIdCustomerIdDto = exports.ImportRentalsFromCSV = exports.ImportDashCustomerDto = exports.ImportProgramsFileDto = exports.ImportCustomerFromCSV = exports.ImportProductsFromDB = exports.FindByMembershipIdDto = 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 FindByMembershipIdDto extends organization_dto_1.ByOrganizationIdDto {
@@ -27,9 +27,6 @@ exports.ByOrganizationIdCustomerIdDto = ByOrganizationIdCustomerIdDto;
27
27
  class FindCustomersByOrganizationIdFiltersDto extends general_dto_1.PaginationQuery {
28
28
  }
29
29
  exports.FindCustomersByOrganizationIdFiltersDto = FindCustomersByOrganizationIdFiltersDto;
30
- class AddCustomerNotesDto {
31
- }
32
- exports.AddCustomerNotesDto = AddCustomerNotesDto;
33
30
  class CustomerNoteDto {
34
31
  }
35
32
  exports.CustomerNoteDto = CustomerNoteDto;
@@ -1 +1 @@
1
- {"version":3,"file":"customer-find-import.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/customer-find-import.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AAExD,8EAA8E;AAI9E,MAAa,qBAAsB,SAAQ,sCAAmB;CAE7D;AAFD,sDAEC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,qBAAsB,SAAQ,qBAAqB;CAE/D;AAFD,sDAEC;AAED,MAAa,qBAAsB,SAAQ,qBAAqB;CAI/D;AAJD,sDAIC;AAED,MAAa,oBAAqB,SAAQ,qBAAqB;CAE9D;AAFD,oDAEC;AAED,MAAa,6BAA8B,SAAQ,sCAAmB;CAErE;AAFD,sEAEC;AAED,MAAa,uCAAwC,SAAQ,6BAAe;CAQ3E;AARD,0FAQC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,WAAW;CA0DvB;AA1DD,kCA0DC"}
1
+ {"version":3,"file":"customer-find-import.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/customer-find-import.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AAExD,8EAA8E;AAI9E,MAAa,qBAAsB,SAAQ,sCAAmB;CAE7D;AAFD,sDAEC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,qBAAsB,SAAQ,qBAAqB;CAE/D;AAFD,sDAEC;AAED,MAAa,qBAAsB,SAAQ,qBAAqB;CAI/D;AAJD,sDAIC;AAED,MAAa,oBAAqB,SAAQ,qBAAqB;CAE9D;AAFD,oDAEC;AAED,MAAa,6BAA8B,SAAQ,sCAAmB;CAErE;AAFD,sEAEC;AAED,MAAa,uCAAwC,SAAQ,6BAAe;CAQ3E;AARD,0FAQC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,WAAW;CA0DvB;AA1DD,kCA0DC"}
@@ -12,7 +12,8 @@ export declare enum EntitlementGroupProductsOrderByEnum {
12
12
  }
13
13
  export declare enum EntitlementTermsTypesEnum {
14
14
  QUESTION = "question",
15
- MEMBERSHIP = "membership"
15
+ MEMBERSHIP = "membership",
16
+ EXTERNAL_VALIDATION = "external_validation"
16
17
  }
17
18
  export declare enum UpdateLinkedDiscountsOptionsEnum {
18
19
  UPDATE = "update",
@@ -19,6 +19,7 @@ var EntitlementTermsTypesEnum;
19
19
  (function (EntitlementTermsTypesEnum) {
20
20
  EntitlementTermsTypesEnum["QUESTION"] = "question";
21
21
  EntitlementTermsTypesEnum["MEMBERSHIP"] = "membership";
22
+ EntitlementTermsTypesEnum["EXTERNAL_VALIDATION"] = "external_validation";
22
23
  })(EntitlementTermsTypesEnum = exports.EntitlementTermsTypesEnum || (exports.EntitlementTermsTypesEnum = {}));
23
24
  var UpdateLinkedDiscountsOptionsEnum;
24
25
  (function (UpdateLinkedDiscountsOptionsEnum) {
@@ -1 +1 @@
1
- {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/entitlement-group/types/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,2BAKX;AALD,WAAY,2BAA2B;IACnC,wCAAS,CAAA;IACT,4CAAa,CAAA;IACb,4CAAa,CAAA;IACb,gDAAiB,CAAA;AACrB,CAAC,EALW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAKtC;AAED,IAAY,mCAKX;AALD,WAAY,mCAAmC;IAC9C,gDAAS,CAAA;IACT,oDAAa,CAAA;IACb,oDAAa,CAAA;IACb,sDAAe,CAAA;AAChB,CAAC,EALW,mCAAmC,GAAnC,2CAAmC,KAAnC,2CAAmC,QAK9C;AAED,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACpC,kDAAqB,CAAA;IACrB,sDAAyB,CAAA;AAC1B,CAAC,EAHW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAGpC;AAED,IAAY,gCAIX;AAJD,WAAY,gCAAgC;IAC3C,qDAAiB,CAAA;IACjB,qDAAiB,CAAA;IACjB,2FAAuD,CAAA;AACxD,CAAC,EAJW,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QAI3C"}
1
+ {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/entitlement-group/types/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,2BAKX;AALD,WAAY,2BAA2B;IACnC,wCAAS,CAAA;IACT,4CAAa,CAAA;IACb,4CAAa,CAAA;IACb,gDAAiB,CAAA;AACrB,CAAC,EALW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAKtC;AAED,IAAY,mCAKX;AALD,WAAY,mCAAmC;IAC9C,gDAAS,CAAA;IACT,oDAAa,CAAA;IACb,oDAAa,CAAA;IACb,sDAAe,CAAA;AAChB,CAAC,EALW,mCAAmC,GAAnC,2CAAmC,KAAnC,2CAAmC,QAK9C;AAED,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACpC,kDAAqB,CAAA;IACrB,sDAAyB,CAAA;IACzB,wEAA2C,CAAA;AAC5C,CAAC,EAJW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAIpC;AAED,IAAY,gCAIX;AAJD,WAAY,gCAAgC;IAC3C,qDAAiB,CAAA;IACjB,qDAAiB,CAAA;IACjB,2FAAuD,CAAA;AACxD,CAAC,EAJW,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QAI3C"}
@@ -26,6 +26,7 @@ export declare class UpdateEventDto {
26
26
  colorCodeId?: number;
27
27
  eventSubType?: string;
28
28
  metadata?: Record<string, unknown>;
29
+ isPublic?: boolean;
29
30
  }
30
31
  export declare class EventMetadataDto {
31
32
  homeTeamId?: number;
@@ -66,13 +67,6 @@ export declare class FacilityEventsScheduleQueryParams {
66
67
  export declare class ProgramLandingPageDto {
67
68
  programId: number;
68
69
  }
69
- export declare class ProgramLandingPageQueryDto {
70
- futureLimit?: number;
71
- }
72
- export declare class ProgramSessionLandingPageDto {
73
- programId: number;
74
- sessionId: number;
75
- }
76
70
  export interface IEventOfSessionDetails {
77
71
  id: number;
78
72
  parentSessionId?: number;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetUsersEventsQueryDto = exports.EventWithAttendanceDto = exports.ParentSessionDto = exports.EventInScheduleDto = exports.SpaceDto = exports.SimpleAttendeeDto = exports.SimpleEventDto = exports.EventAttendeeFiltersDto = exports.AttendeeOfEventDto = exports.AttendeeOfEventAddOnDto = exports.ProgramSessionLandingPageDto = exports.ProgramLandingPageQueryDto = exports.ProgramLandingPageDto = exports.FacilityEventsScheduleQueryParams = exports.FindByFacilityIdAndOrganizationIdDto = exports.FindByFacilityIdDto = exports.EventsIdsQueryDto = exports.AddEventToSessionDto = exports.EventMetadataDto = exports.UpdateEventDto = exports.FindEventByIdDto = void 0;
3
+ exports.GetUsersEventsQueryDto = exports.EventWithAttendanceDto = exports.ParentSessionDto = exports.EventInScheduleDto = exports.SpaceDto = exports.SimpleAttendeeDto = exports.SimpleEventDto = exports.EventAttendeeFiltersDto = exports.AttendeeOfEventDto = exports.AttendeeOfEventAddOnDto = exports.ProgramLandingPageDto = exports.FacilityEventsScheduleQueryParams = exports.FindByFacilityIdAndOrganizationIdDto = exports.FindByFacilityIdDto = exports.EventsIdsQueryDto = exports.AddEventToSessionDto = exports.EventMetadataDto = exports.UpdateEventDto = exports.FindEventByIdDto = void 0;
4
4
  const general_dto_1 = require("../../dto/general.dto");
5
5
  class FindEventByIdDto {
6
6
  }
@@ -29,12 +29,6 @@ exports.FacilityEventsScheduleQueryParams = FacilityEventsScheduleQueryParams;
29
29
  class ProgramLandingPageDto {
30
30
  }
31
31
  exports.ProgramLandingPageDto = ProgramLandingPageDto;
32
- class ProgramLandingPageQueryDto {
33
- }
34
- exports.ProgramLandingPageQueryDto = ProgramLandingPageQueryDto;
35
- class ProgramSessionLandingPageDto {
36
- }
37
- exports.ProgramSessionLandingPageDto = ProgramSessionLandingPageDto;
38
32
  class AttendeeOfEventAddOnDto {
39
33
  }
40
34
  exports.AttendeeOfEventAddOnDto = AttendeeOfEventAddOnDto;
@@ -1 +1 @@
1
- {"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../../src/types/events/dto/events.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwG;AASxG,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,cAAc;CA0B1B;AA1BD,wCA0BC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,iBAAiB;CAoB7B;AApBD,8CAoBC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AA0CD,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,kBAAkB;CA4B9B;AA5BD,gDA4BC;AAqBD,MAAa,uBAAuB;CAcnC;AAdD,0DAcC;AAgBD,MAAa,cAAe,SAAQ,mBAAK;CAwBxC;AAxBD,wCAwBC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAE3C;AAFD,8CAEC;AAED,MAAa,QAAQ;CAIpB;AAJD,4BAIC;AAED,MAAa,kBAAkB;CA4B9B;AA5BD,gDA4BC;AAED,MAAa,gBAAiB,SAAQ,mBAAK;CAM1C;AAND,4CAMC;AAED,MAAa,sBAAuB,SAAQ,cAAc;CAQzD;AARD,wDAQC;AAED,MAAa,sBAAuB,SAAQ,6BAAe;CAgB1D;AAhBD,wDAgBC"}
1
+ {"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../../src/types/events/dto/events.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAwG;AASxG,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,cAAc;CA4B1B;AA5BD,wCA4BC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,iBAAiB;CAoB7B;AApBD,8CAoBC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AA0CD,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,kBAAkB;CA4B9B;AA5BD,gDA4BC;AAqBD,MAAa,uBAAuB;CAcnC;AAdD,0DAcC;AAgBD,MAAa,cAAe,SAAQ,mBAAK;CAwBxC;AAxBD,wCAwBC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAE3C;AAFD,8CAEC;AAED,MAAa,QAAQ;CAIpB;AAJD,4BAIC;AAED,MAAa,kBAAkB;CA4B9B;AA5BD,gDA4BC;AAED,MAAa,gBAAiB,SAAQ,mBAAK;CAM1C;AAND,4CAMC;AAED,MAAa,sBAAuB,SAAQ,cAAc;CAQzD;AARD,wDAQC;AAED,MAAa,sBAAuB,SAAQ,6BAAe;CAgB1D;AAhBD,wDAgBC"}
@@ -0,0 +1,16 @@
1
+ import { ExternalValidationInvalidReasonEnum, ExternalValidationStatusEnum } from '../types/enums';
2
+ export declare class SubmitExternalValidationDto {
3
+ providerId: number;
4
+ externalId: string;
5
+ }
6
+ export declare class ExternalValidationDto {
7
+ id: number;
8
+ providerId: number;
9
+ externalId: string;
10
+ status: ExternalValidationStatusEnum;
11
+ lastVerifiedAt: Date | null;
12
+ isCurrent: boolean;
13
+ }
14
+ export declare class SubmittedExternalValidationDto extends ExternalValidationDto {
15
+ invalidReason?: ExternalValidationInvalidReasonEnum;
16
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SubmittedExternalValidationDto = exports.ExternalValidationDto = exports.SubmitExternalValidationDto = void 0;
4
+ const EXTERNAL_ID_MAX_LENGTH = 64;
5
+ class SubmitExternalValidationDto {
6
+ }
7
+ exports.SubmitExternalValidationDto = SubmitExternalValidationDto;
8
+ class ExternalValidationDto {
9
+ }
10
+ exports.ExternalValidationDto = ExternalValidationDto;
11
+ class SubmittedExternalValidationDto extends ExternalValidationDto {
12
+ }
13
+ exports.SubmittedExternalValidationDto = SubmittedExternalValidationDto;
14
+ //# sourceMappingURL=external-validation-customer.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external-validation-customer.dto.js","sourceRoot":"","sources":["../../../../src/types/external-validation/dto/external-validation-customer.dto.ts"],"names":[],"mappings":";;;AAGA,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAElC,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,qBAAqB;CAYjC;AAZD,sDAYC;AAED,MAAa,8BAA+B,SAAQ,qBAAqB;CAExE;AAFD,wEAEC"}
@@ -0,0 +1,28 @@
1
+ import { ActivityEnum } from '../../activities/types/activities.enums';
2
+ import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
3
+ import { ExternalValidationProviderTypeEnum } from '../types/enums';
4
+ import { IExerpProviderConfig } from '../types/interfaces';
5
+ export declare class ByOrganizationIdProviderIdDto extends ByOrganizationIdDto {
6
+ providerId: number;
7
+ }
8
+ export declare class ExternalValidationProviderDto {
9
+ id: number;
10
+ name: string;
11
+ providerType: ExternalValidationProviderTypeEnum;
12
+ status: ActivityEnum;
13
+ }
14
+ export declare class ExerpProviderConfigDto implements IExerpProviderConfig {
15
+ baseUrl: string;
16
+ qualifyingProductGlobalIds?: string[];
17
+ }
18
+ export declare class ExternalValidationProviderSettingsDto {
19
+ status?: ActivityEnum;
20
+ config?: ExerpProviderConfigDto | null;
21
+ }
22
+ export declare class CreateExternalValidationProviderDto extends ExternalValidationProviderSettingsDto {
23
+ name: string;
24
+ providerType: ExternalValidationProviderTypeEnum;
25
+ }
26
+ export declare class UpdateExternalValidationProviderDto extends ExternalValidationProviderSettingsDto {
27
+ name?: string;
28
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateExternalValidationProviderDto = exports.CreateExternalValidationProviderDto = exports.ExternalValidationProviderSettingsDto = exports.ExerpProviderConfigDto = exports.ExternalValidationProviderDto = exports.ByOrganizationIdProviderIdDto = void 0;
4
+ const organization_dto_1 = require("../../organization/dto/organization.dto");
5
+ class ByOrganizationIdProviderIdDto extends organization_dto_1.ByOrganizationIdDto {
6
+ }
7
+ exports.ByOrganizationIdProviderIdDto = ByOrganizationIdProviderIdDto;
8
+ class ExternalValidationProviderDto {
9
+ }
10
+ exports.ExternalValidationProviderDto = ExternalValidationProviderDto;
11
+ class ExerpProviderConfigDto {
12
+ }
13
+ exports.ExerpProviderConfigDto = ExerpProviderConfigDto;
14
+ class ExternalValidationProviderSettingsDto {
15
+ }
16
+ exports.ExternalValidationProviderSettingsDto = ExternalValidationProviderSettingsDto;
17
+ class CreateExternalValidationProviderDto extends ExternalValidationProviderSettingsDto {
18
+ }
19
+ exports.CreateExternalValidationProviderDto = CreateExternalValidationProviderDto;
20
+ class UpdateExternalValidationProviderDto extends ExternalValidationProviderSettingsDto {
21
+ }
22
+ exports.UpdateExternalValidationProviderDto = UpdateExternalValidationProviderDto;
23
+ //# sourceMappingURL=external-validation-provider.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external-validation-provider.dto.js","sourceRoot":"","sources":["../../../../src/types/external-validation/dto/external-validation-provider.dto.ts"],"names":[],"mappings":";;;AAEA,8EAA8E;AAK9E,MAAa,6BAA8B,SAAQ,sCAAmB;CAErE;AAFD,sEAEC;AAED,MAAa,6BAA6B;CAQzC;AARD,sEAQC;AAED,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,qCAAqC;CAIjD;AAJD,sFAIC;AAED,MAAa,mCAAoC,SAAQ,qCAAqC;CAI7F;AAJD,kFAIC;AAED,MAAa,mCAAoC,SAAQ,qCAAqC;CAE7F;AAFD,kFAEC"}
@@ -0,0 +1,2 @@
1
+ export * from './external-validation-customer.dto';
2
+ export * from './external-validation-provider.dto';
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./team.enums"), exports);
17
+ __exportStar(require("./external-validation-customer.dto"), exports);
18
+ __exportStar(require("./external-validation-provider.dto"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/external-validation/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qEAAmD;AACnD,qEAAmD"}
@@ -0,0 +1,14 @@
1
+ import { OrganizationConnectionBaseEntity } from '../../entity/organization-connection-base-entity';
2
+ import { ActivityEnum } from '../../activities/types/activities.enums';
3
+ import { ExternalValidationProviderTypeEnum } from '../types/enums';
4
+ import { IExerpProviderConfig } from '../types/interfaces';
5
+ /**
6
+ * External validation provider configured for an organization.
7
+ */
8
+ export declare class ExternalValidationProvider extends OrganizationConnectionBaseEntity {
9
+ name: string;
10
+ providerType: ExternalValidationProviderTypeEnum;
11
+ status: ActivityEnum;
12
+ config?: IExerpProviderConfig | null;
13
+ deletedAt?: Date | null;
14
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ExternalValidationProvider = void 0;
4
+ const organization_connection_base_entity_1 = require("../../entity/organization-connection-base-entity");
5
+ /**
6
+ * External validation provider configured for an organization.
7
+ */
8
+ class ExternalValidationProvider extends organization_connection_base_entity_1.OrganizationConnectionBaseEntity {
9
+ }
10
+ exports.ExternalValidationProvider = ExternalValidationProvider;
11
+ //# sourceMappingURL=external-validation-provider.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external-validation-provider.entity.js","sourceRoot":"","sources":["../../../../src/types/external-validation/entities/external-validation-provider.entity.ts"],"names":[],"mappings":";;;AAEA,0GAAoG;AAKpG;;GAEG;AACH,MAAa,0BAA2B,SAAQ,sEAAgC;CAU/E;AAVD,gEAUC"}
@@ -0,0 +1,17 @@
1
+ import { Customer } from '../../customers/entities/customer.entity';
2
+ import { OrganizationConnectionBaseEntity } from '../../entity/organization-connection-base-entity';
3
+ import { ExternalValidationStatusEnum } from '../types/enums';
4
+ import { ExternalValidationProvider } from './external-validation-provider.entity';
5
+ /**
6
+ * External ID of a customer and the provider's last answer for it.
7
+ */
8
+ export declare class ExternalValidation extends OrganizationConnectionBaseEntity {
9
+ customerId: number;
10
+ providerId: number;
11
+ externalId: string;
12
+ status: ExternalValidationStatusEnum;
13
+ lastVerifiedAt?: Date | null;
14
+ deletedAt?: Date | null;
15
+ customer?: Customer;
16
+ provider?: ExternalValidationProvider;
17
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ExternalValidation = void 0;
4
+ const organization_connection_base_entity_1 = require("../../entity/organization-connection-base-entity");
5
+ /**
6
+ * External ID of a customer and the provider's last answer for it.
7
+ */
8
+ class ExternalValidation extends organization_connection_base_entity_1.OrganizationConnectionBaseEntity {
9
+ }
10
+ exports.ExternalValidation = ExternalValidation;
11
+ //# sourceMappingURL=external-validation.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external-validation.entity.js","sourceRoot":"","sources":["../../../../src/types/external-validation/entities/external-validation.entity.ts"],"names":[],"mappings":";;;AAGA,0GAAoG;AAKpG;;GAEG;AACH,MAAa,kBAAmB,SAAQ,sEAAgC;CAgBvE;AAhBD,gDAgBC"}
@@ -0,0 +1,2 @@
1
+ export * from './external-validation-provider.entity';
2
+ export * from './external-validation.entity';
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./booking-type-setting.dto"), exports);
17
+ __exportStar(require("./external-validation-provider.entity"), exports);
18
+ __exportStar(require("./external-validation.entity"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/external-validation/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wEAAsD;AACtD,+DAA6C"}
@@ -1,2 +1,3 @@
1
+ export * from './dto';
1
2
  export * from './entities';
2
3
  export * from './types';
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./dto"), exports);
17
18
  __exportStar(require("./entities"), exports);
18
19
  __exportStar(require("./types"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/external-validation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Injection token for the adapter map keyed by provider type.
3
+ */
4
+ export declare const EXTERNAL_VALIDATION_ADAPTERS = "EXTERNAL_VALIDATION_ADAPTERS";
5
+ /**
6
+ * Error codes of external validation failures, read by clients to pick their copy.
7
+ */
8
+ export declare const EXTERNAL_VALIDATION_ERROR_CODES: {
9
+ readonly UNAVAILABLE: "EXTERNAL_VALIDATION.UNAVAILABLE";
10
+ readonly NOT_ACTIVE: "EXTERNAL_VALIDATION.NOT_ACTIVE";
11
+ };
12
+ /**
13
+ * The largest Postgres `integer`, the type of ExternalValidationProvider.id. A larger id is never queried, so it reads as
14
+ * a missing provider instead of failing the query.
15
+ */
16
+ export declare const EXTERNAL_VALIDATION_ID_MAX = 2147483647;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EXTERNAL_VALIDATION_ID_MAX = exports.EXTERNAL_VALIDATION_ERROR_CODES = exports.EXTERNAL_VALIDATION_ADAPTERS = void 0;
4
+ /**
5
+ * Injection token for the adapter map keyed by provider type.
6
+ */
7
+ exports.EXTERNAL_VALIDATION_ADAPTERS = 'EXTERNAL_VALIDATION_ADAPTERS';
8
+ /**
9
+ * Error codes of external validation failures, read by clients to pick their copy.
10
+ */
11
+ exports.EXTERNAL_VALIDATION_ERROR_CODES = {
12
+ UNAVAILABLE: 'EXTERNAL_VALIDATION.UNAVAILABLE',
13
+ NOT_ACTIVE: 'EXTERNAL_VALIDATION.NOT_ACTIVE',
14
+ };
15
+ /**
16
+ * The largest Postgres `integer`, the type of ExternalValidationProvider.id. A larger id is never queried, so it reads as
17
+ * a missing provider instead of failing the query.
18
+ */
19
+ exports.EXTERNAL_VALIDATION_ID_MAX = 2147483647;
20
+ //# sourceMappingURL=consts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/types/external-validation/types/consts.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACU,QAAA,4BAA4B,GAAG,8BAA8B,CAAC;AAE3E;;GAEG;AACU,QAAA,+BAA+B,GAAG;IAC9C,WAAW,EAAE,iCAAiC;IAC9C,UAAU,EAAE,gCAAgC;CACnC,CAAC;AAEX;;;GAGG;AACU,QAAA,0BAA0B,GAAG,UAAU,CAAC"}