@lyxa.ai/marketing 1.0.46 → 1.0.48

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 (341) hide show
  1. package/dist/lib/event/event-initializations.d.ts.map +1 -1
  2. package/dist/lib/event/event-initializations.js +2 -0
  3. package/dist/lib/event/event-initializations.js.map +1 -1
  4. package/dist/lib/index.d.ts +1414 -13
  5. package/dist/lib/index.d.ts.map +1 -1
  6. package/dist/lib/index.js +3 -1
  7. package/dist/lib/index.js.map +1 -1
  8. package/dist/lib/modules/coupon/routers/coupon.router.d.ts +72 -6
  9. package/dist/lib/modules/coupon/routers/coupon.router.d.ts.map +1 -1
  10. package/dist/lib/modules/coupon/routers/coupon.router.js +12 -3
  11. package/dist/lib/modules/coupon/routers/coupon.router.js.map +1 -1
  12. package/dist/lib/modules/coupon/services/coupon.service.d.ts +1 -0
  13. package/dist/lib/modules/coupon/services/coupon.service.d.ts.map +1 -1
  14. package/dist/lib/modules/coupon/services/coupon.service.js +102 -4
  15. package/dist/lib/modules/coupon/services/coupon.service.js.map +1 -1
  16. package/dist/lib/modules/coupon/services/custom-coupon.service.d.ts +2 -0
  17. package/dist/lib/modules/coupon/services/custom-coupon.service.d.ts.map +1 -1
  18. package/dist/lib/modules/coupon/services/custom-coupon.service.js +1 -1
  19. package/dist/lib/modules/coupon/services/custom-coupon.service.js.map +1 -1
  20. package/dist/lib/modules/coupon/services/global-coupon.service.d.ts +1 -1
  21. package/dist/lib/modules/coupon/services/global-coupon.service.d.ts.map +1 -1
  22. package/dist/lib/modules/coupon/services/global-coupon.service.js +16 -10
  23. package/dist/lib/modules/coupon/services/global-coupon.service.js.map +1 -1
  24. package/dist/lib/modules/coupon/services/helper.service.d.ts +2 -1
  25. package/dist/lib/modules/coupon/services/helper.service.d.ts.map +1 -1
  26. package/dist/lib/modules/coupon/services/helper.service.js +7 -1
  27. package/dist/lib/modules/coupon/services/helper.service.js.map +1 -1
  28. package/dist/lib/modules/coupon/services/individual-store-coupon.service.d.ts +2 -0
  29. package/dist/lib/modules/coupon/services/individual-store-coupon.service.d.ts.map +1 -1
  30. package/dist/lib/modules/coupon/services/individual-store-coupon.service.js +2 -2
  31. package/dist/lib/modules/coupon/services/individual-store-coupon.service.js.map +1 -1
  32. package/dist/lib/modules/coupon/services/individual-user-coupon.service.d.ts.map +1 -1
  33. package/dist/lib/modules/coupon/services/individual-user-coupon.service.js +6 -0
  34. package/dist/lib/modules/coupon/services/individual-user-coupon.service.js.map +1 -1
  35. package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.d.ts +10 -4
  36. package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.d.ts.map +1 -1
  37. package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.js +88 -9
  38. package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.js.map +1 -1
  39. package/dist/lib/modules/coupon/services/patterns/repository/CouponRepository.d.ts.map +1 -1
  40. package/dist/lib/modules/coupon/services/patterns/repository/CouponRepository.js +20 -1
  41. package/dist/lib/modules/coupon/services/patterns/repository/CouponRepository.js.map +1 -1
  42. package/dist/lib/modules/coupon/services/referral-code-coupon.service.d.ts.map +1 -1
  43. package/dist/lib/modules/coupon/services/referral-code-coupon.service.js +1 -1
  44. package/dist/lib/modules/coupon/services/referral-code-coupon.service.js.map +1 -1
  45. package/dist/lib/modules/coupon/services/referral-reward-coupon.service.d.ts +1 -1
  46. package/dist/lib/modules/coupon/services/referral-reward-coupon.service.d.ts.map +1 -1
  47. package/dist/lib/modules/coupon/services/referral-reward-coupon.service.js +36 -19
  48. package/dist/lib/modules/coupon/services/referral-reward-coupon.service.js.map +1 -1
  49. package/dist/lib/modules/coupon/services/shops-categories-coupon.service.d.ts +2 -0
  50. package/dist/lib/modules/coupon/services/shops-categories-coupon.service.d.ts.map +1 -1
  51. package/dist/lib/modules/coupon/services/shops-categories-coupon.service.js +2 -2
  52. package/dist/lib/modules/coupon/services/shops-categories-coupon.service.js.map +1 -1
  53. package/dist/lib/modules/coupon/validations/coupon.validation.d.ts +359 -34
  54. package/dist/lib/modules/coupon/validations/coupon.validation.d.ts.map +1 -1
  55. package/dist/lib/modules/coupon/validations/coupon.validation.js +16 -3
  56. package/dist/lib/modules/coupon/validations/coupon.validation.js.map +1 -1
  57. package/dist/lib/modules/limited-time-offer/limited-time-offer.router.d.ts +6 -6
  58. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.router.d.ts +6 -6
  59. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.validation.d.ts +30 -30
  60. package/dist/lib/modules/marketing/services/marketing.service.d.ts.map +1 -1
  61. package/dist/lib/modules/marketing/services/marketing.service.js +8 -2
  62. package/dist/lib/modules/marketing/services/marketing.service.js.map +1 -1
  63. package/dist/lib/modules/marketing/services/synchronize-product-marketing.service.d.ts +2 -0
  64. package/dist/lib/modules/marketing/services/synchronize-product-marketing.service.d.ts.map +1 -1
  65. package/dist/lib/modules/marketing/services/synchronize-product-marketing.service.js +14 -0
  66. package/dist/lib/modules/marketing/services/synchronize-product-marketing.service.js.map +1 -1
  67. package/dist/lib/modules/marketing/validations/buy1-get1-marketing.validation.d.ts +24 -24
  68. package/dist/lib/modules/marketing/validations/discount-marketing.validation.d.ts +36 -36
  69. package/dist/lib/modules/marketing/validations/featured-marketing.validation.d.ts +6 -6
  70. package/dist/lib/modules/marketing/validations/free-delivery-marketing.validation.d.ts +4 -4
  71. package/dist/lib/modules/marketing/validations/marketing.validation.d.ts +2 -2
  72. package/dist/lib/modules/marketing/validations/product-marketing.validation.d.ts +7 -7
  73. package/dist/lib/modules/marketing/validations/punch-marketing.validation.d.ts +4 -4
  74. package/dist/lib/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts +1 -1
  75. package/dist/lib/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts +2 -2
  76. package/dist/lib/modules/tournament/config/config.builder.d.ts +5 -0
  77. package/dist/lib/modules/tournament/config/config.builder.d.ts.map +1 -0
  78. package/dist/lib/modules/tournament/config/config.builder.js +19 -0
  79. package/dist/lib/modules/tournament/config/config.builder.js.map +1 -0
  80. package/dist/lib/modules/tournament/config/config.repository.d.ts +13 -0
  81. package/dist/lib/modules/tournament/config/config.repository.d.ts.map +1 -0
  82. package/dist/lib/modules/tournament/config/config.repository.js +77 -0
  83. package/dist/lib/modules/tournament/config/config.repository.js.map +1 -0
  84. package/dist/lib/modules/tournament/config/config.router.d.ts +363 -0
  85. package/dist/lib/modules/tournament/config/config.router.d.ts.map +1 -0
  86. package/dist/lib/modules/tournament/config/config.router.js +40 -0
  87. package/dist/lib/modules/tournament/config/config.router.js.map +1 -0
  88. package/dist/lib/modules/tournament/config/config.service.d.ts +14 -0
  89. package/dist/lib/modules/tournament/config/config.service.d.ts.map +1 -0
  90. package/dist/lib/modules/tournament/config/config.service.js +101 -0
  91. package/dist/lib/modules/tournament/config/config.service.js.map +1 -0
  92. package/dist/lib/modules/tournament/config/config.validation.d.ts +1014 -0
  93. package/dist/lib/modules/tournament/config/config.validation.d.ts.map +1 -0
  94. package/dist/lib/modules/tournament/config/config.validation.js +70 -0
  95. package/dist/lib/modules/tournament/config/config.validation.js.map +1 -0
  96. package/dist/lib/modules/tournament/match/events/match-ended.consumer.d.ts +2 -0
  97. package/dist/lib/modules/tournament/match/events/match-ended.consumer.d.ts.map +1 -0
  98. package/dist/lib/modules/tournament/match/events/match-ended.consumer.js +15 -0
  99. package/dist/lib/modules/tournament/match/events/match-ended.consumer.js.map +1 -0
  100. package/dist/lib/modules/tournament/match/events/match-ended.event.d.ts +14 -0
  101. package/dist/lib/modules/tournament/match/events/match-ended.event.d.ts.map +1 -0
  102. package/dist/lib/modules/tournament/match/events/match-ended.event.js +12 -0
  103. package/dist/lib/modules/tournament/match/events/match-ended.event.js.map +1 -0
  104. package/dist/lib/modules/tournament/match/match.builder.d.ts +38 -0
  105. package/dist/lib/modules/tournament/match/match.builder.d.ts.map +1 -0
  106. package/dist/lib/modules/tournament/match/match.builder.js +37 -0
  107. package/dist/lib/modules/tournament/match/match.builder.js.map +1 -0
  108. package/dist/lib/modules/tournament/match/match.repository.d.ts +13 -0
  109. package/dist/lib/modules/tournament/match/match.repository.d.ts.map +1 -0
  110. package/dist/lib/modules/tournament/match/match.repository.js +84 -0
  111. package/dist/lib/modules/tournament/match/match.repository.js.map +1 -0
  112. package/dist/lib/modules/tournament/match/match.router.d.ts +489 -0
  113. package/dist/lib/modules/tournament/match/match.router.d.ts.map +1 -0
  114. package/dist/lib/modules/tournament/match/match.router.js +56 -0
  115. package/dist/lib/modules/tournament/match/match.router.js.map +1 -0
  116. package/dist/lib/modules/tournament/match/match.service.d.ts +29 -0
  117. package/dist/lib/modules/tournament/match/match.service.d.ts.map +1 -0
  118. package/dist/lib/modules/tournament/match/match.service.js +193 -0
  119. package/dist/lib/modules/tournament/match/match.service.js.map +1 -0
  120. package/dist/lib/modules/tournament/match/match.validation.d.ts +880 -0
  121. package/dist/lib/modules/tournament/match/match.validation.d.ts.map +1 -0
  122. package/dist/lib/modules/tournament/match/match.validation.js +74 -0
  123. package/dist/lib/modules/tournament/match/match.validation.js.map +1 -0
  124. package/dist/lib/modules/tournament/notification/jobs/notification.producer.d.ts +13 -0
  125. package/dist/lib/modules/tournament/notification/jobs/notification.producer.d.ts.map +1 -0
  126. package/dist/lib/modules/tournament/notification/jobs/notification.producer.js +28 -0
  127. package/dist/lib/modules/tournament/notification/jobs/notification.producer.js.map +1 -0
  128. package/dist/lib/modules/tournament/notification/jobs/notification.worker.d.ts +7 -0
  129. package/dist/lib/modules/tournament/notification/jobs/notification.worker.d.ts.map +1 -0
  130. package/dist/lib/modules/tournament/notification/jobs/notification.worker.js +76 -0
  131. package/dist/lib/modules/tournament/notification/jobs/notification.worker.js.map +1 -0
  132. package/dist/lib/modules/tournament/notification/notification.scheduler.service.d.ts +10 -0
  133. package/dist/lib/modules/tournament/notification/notification.scheduler.service.d.ts.map +1 -0
  134. package/dist/lib/modules/tournament/notification/notification.scheduler.service.js +86 -0
  135. package/dist/lib/modules/tournament/notification/notification.scheduler.service.js.map +1 -0
  136. package/dist/lib/modules/tournament/notification/notification.service.d.ts +11 -0
  137. package/dist/lib/modules/tournament/notification/notification.service.d.ts.map +1 -0
  138. package/dist/lib/modules/tournament/notification/notification.service.js +101 -0
  139. package/dist/lib/modules/tournament/notification/notification.service.js.map +1 -0
  140. package/dist/lib/modules/tournament/participant/participant.repository.d.ts +12 -0
  141. package/dist/lib/modules/tournament/participant/participant.repository.d.ts.map +1 -0
  142. package/dist/lib/modules/tournament/participant/participant.repository.js +73 -0
  143. package/dist/lib/modules/tournament/participant/participant.repository.js.map +1 -0
  144. package/dist/lib/modules/tournament/participant/participant.router.d.ts +104 -0
  145. package/dist/lib/modules/tournament/participant/participant.router.d.ts.map +1 -0
  146. package/dist/lib/modules/tournament/participant/participant.router.js +28 -0
  147. package/dist/lib/modules/tournament/participant/participant.router.js.map +1 -0
  148. package/dist/lib/modules/tournament/participant/participant.service.d.ts +14 -0
  149. package/dist/lib/modules/tournament/participant/participant.service.d.ts.map +1 -0
  150. package/dist/lib/modules/tournament/participant/participant.service.js +103 -0
  151. package/dist/lib/modules/tournament/participant/participant.service.js.map +1 -0
  152. package/dist/lib/modules/tournament/participant/participant.validation.d.ts +719 -0
  153. package/dist/lib/modules/tournament/participant/participant.validation.d.ts.map +1 -0
  154. package/dist/lib/modules/tournament/participant/participant.validation.js +44 -0
  155. package/dist/lib/modules/tournament/participant/participant.validation.js.map +1 -0
  156. package/dist/lib/modules/tournament/prediction/prediction.builder.d.ts +14 -0
  157. package/dist/lib/modules/tournament/prediction/prediction.builder.d.ts.map +1 -0
  158. package/dist/lib/modules/tournament/prediction/prediction.builder.js +23 -0
  159. package/dist/lib/modules/tournament/prediction/prediction.builder.js.map +1 -0
  160. package/dist/lib/modules/tournament/prediction/prediction.repository.d.ts +11 -0
  161. package/dist/lib/modules/tournament/prediction/prediction.repository.d.ts.map +1 -0
  162. package/dist/lib/modules/tournament/prediction/prediction.repository.js +73 -0
  163. package/dist/lib/modules/tournament/prediction/prediction.repository.js.map +1 -0
  164. package/dist/lib/modules/tournament/prediction/prediction.router.d.ts +133 -0
  165. package/dist/lib/modules/tournament/prediction/prediction.router.d.ts.map +1 -0
  166. package/dist/lib/modules/tournament/prediction/prediction.router.js +36 -0
  167. package/dist/lib/modules/tournament/prediction/prediction.router.js.map +1 -0
  168. package/dist/lib/modules/tournament/prediction/prediction.service.d.ts +17 -0
  169. package/dist/lib/modules/tournament/prediction/prediction.service.d.ts.map +1 -0
  170. package/dist/lib/modules/tournament/prediction/prediction.service.js +125 -0
  171. package/dist/lib/modules/tournament/prediction/prediction.service.js.map +1 -0
  172. package/dist/lib/modules/tournament/prediction/prediction.validation.d.ts +575 -0
  173. package/dist/lib/modules/tournament/prediction/prediction.validation.d.ts.map +1 -0
  174. package/dist/lib/modules/tournament/prediction/prediction.validation.js +46 -0
  175. package/dist/lib/modules/tournament/prediction/prediction.validation.js.map +1 -0
  176. package/dist/lib/modules/tournament/reward/handlers/coupon-reward.handler.d.ts +8 -0
  177. package/dist/lib/modules/tournament/reward/handlers/coupon-reward.handler.d.ts.map +1 -0
  178. package/dist/lib/modules/tournament/reward/handlers/coupon-reward.handler.js +65 -0
  179. package/dist/lib/modules/tournament/reward/handlers/coupon-reward.handler.js.map +1 -0
  180. package/dist/lib/modules/tournament/reward/reward.factory.d.ts +6 -0
  181. package/dist/lib/modules/tournament/reward/reward.factory.d.ts.map +1 -0
  182. package/dist/lib/modules/tournament/reward/reward.factory.js +21 -0
  183. package/dist/lib/modules/tournament/reward/reward.factory.js.map +1 -0
  184. package/dist/lib/modules/tournament/reward/reward.interface.d.ts +5 -0
  185. package/dist/lib/modules/tournament/reward/reward.interface.d.ts.map +1 -0
  186. package/dist/lib/modules/tournament/reward/reward.interface.js +3 -0
  187. package/dist/lib/modules/tournament/reward/reward.interface.js.map +1 -0
  188. package/dist/lib/modules/tournament/reward/reward.service.d.ts +6 -0
  189. package/dist/lib/modules/tournament/reward/reward.service.d.ts.map +1 -0
  190. package/dist/lib/modules/tournament/reward/reward.service.js +56 -0
  191. package/dist/lib/modules/tournament/reward/reward.service.js.map +1 -0
  192. package/dist/lib/modules/tournament/reward/reward.types.d.ts +11 -0
  193. package/dist/lib/modules/tournament/reward/reward.types.d.ts.map +1 -0
  194. package/dist/lib/modules/tournament/reward/reward.types.js +8 -0
  195. package/dist/lib/modules/tournament/reward/reward.types.js.map +1 -0
  196. package/dist/lib/modules/tournament/team/team.builder.d.ts +19 -0
  197. package/dist/lib/modules/tournament/team/team.builder.d.ts.map +1 -0
  198. package/dist/lib/modules/tournament/team/team.builder.js +18 -0
  199. package/dist/lib/modules/tournament/team/team.builder.js.map +1 -0
  200. package/dist/lib/modules/tournament/team/team.repository.d.ts +11 -0
  201. package/dist/lib/modules/tournament/team/team.repository.d.ts.map +1 -0
  202. package/dist/lib/modules/tournament/team/team.repository.js +71 -0
  203. package/dist/lib/modules/tournament/team/team.repository.js.map +1 -0
  204. package/dist/lib/modules/tournament/team/team.router.d.ts +237 -0
  205. package/dist/lib/modules/tournament/team/team.router.d.ts.map +1 -0
  206. package/dist/lib/modules/tournament/team/team.router.js +36 -0
  207. package/dist/lib/modules/tournament/team/team.router.js.map +1 -0
  208. package/dist/lib/modules/tournament/team/team.service.d.ts +15 -0
  209. package/dist/lib/modules/tournament/team/team.service.d.ts.map +1 -0
  210. package/dist/lib/modules/tournament/team/team.service.js +137 -0
  211. package/dist/lib/modules/tournament/team/team.service.js.map +1 -0
  212. package/dist/lib/modules/tournament/team/team.validation.d.ts +986 -0
  213. package/dist/lib/modules/tournament/team/team.validation.d.ts.map +1 -0
  214. package/dist/lib/modules/tournament/team/team.validation.js +55 -0
  215. package/dist/lib/modules/tournament/team/team.validation.js.map +1 -0
  216. package/dist/lib/modules/tournament/tournament.router.d.ts +1336 -0
  217. package/dist/lib/modules/tournament/tournament.router.d.ts.map +1 -0
  218. package/dist/lib/modules/tournament/tournament.router.js +17 -0
  219. package/dist/lib/modules/tournament/tournament.router.js.map +1 -0
  220. package/dist/types/event/event-initializations.d.ts.map +1 -1
  221. package/dist/types/events/event-initializations.d.ts +2 -0
  222. package/dist/types/events/event-initializations.d.ts.map +1 -0
  223. package/dist/types/index.d.ts +1414 -13
  224. package/dist/types/index.d.ts.map +1 -1
  225. package/dist/types/modules/coupon/routers/coupon.router.d.ts +72 -6
  226. package/dist/types/modules/coupon/routers/coupon.router.d.ts.map +1 -1
  227. package/dist/types/modules/coupon/services/coupon.service.d.ts +1 -0
  228. package/dist/types/modules/coupon/services/coupon.service.d.ts.map +1 -1
  229. package/dist/types/modules/coupon/services/custom-coupon.service.d.ts +2 -0
  230. package/dist/types/modules/coupon/services/custom-coupon.service.d.ts.map +1 -1
  231. package/dist/types/modules/coupon/services/global-coupon.service.d.ts +1 -1
  232. package/dist/types/modules/coupon/services/global-coupon.service.d.ts.map +1 -1
  233. package/dist/types/modules/coupon/services/helper.service.d.ts +2 -1
  234. package/dist/types/modules/coupon/services/helper.service.d.ts.map +1 -1
  235. package/dist/types/modules/coupon/services/individual-store-coupon.service.d.ts +2 -0
  236. package/dist/types/modules/coupon/services/individual-store-coupon.service.d.ts.map +1 -1
  237. package/dist/types/modules/coupon/services/individual-user-coupon.service.d.ts.map +1 -1
  238. package/dist/types/modules/coupon/services/patterns/repository/CouponMetricsRepository.d.ts +10 -4
  239. package/dist/types/modules/coupon/services/patterns/repository/CouponMetricsRepository.d.ts.map +1 -1
  240. package/dist/types/modules/coupon/services/patterns/repository/CouponRepository.d.ts.map +1 -1
  241. package/dist/types/modules/coupon/services/referral-code-coupon.service.d.ts.map +1 -1
  242. package/dist/types/modules/coupon/services/referral-reward-coupon.service.d.ts +1 -1
  243. package/dist/types/modules/coupon/services/referral-reward-coupon.service.d.ts.map +1 -1
  244. package/dist/types/modules/coupon/services/shops-categories-coupon.service.d.ts +2 -0
  245. package/dist/types/modules/coupon/services/shops-categories-coupon.service.d.ts.map +1 -1
  246. package/dist/types/modules/coupon/validations/coupon.validation.d.ts +359 -34
  247. package/dist/types/modules/coupon/validations/coupon.validation.d.ts.map +1 -1
  248. package/dist/types/modules/limited-time-offer/limited-time-offer.router.d.ts +6 -6
  249. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.router.d.ts +6 -6
  250. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.validation.d.ts +30 -30
  251. package/dist/types/modules/marketing/services/marketing.service.d.ts.map +1 -1
  252. package/dist/types/modules/marketing/services/synchronize-product-marketing.service.d.ts +2 -0
  253. package/dist/types/modules/marketing/services/synchronize-product-marketing.service.d.ts.map +1 -1
  254. package/dist/types/modules/marketing/validations/buy1-get1-marketing.validation.d.ts +24 -24
  255. package/dist/types/modules/marketing/validations/discount-marketing.validation.d.ts +36 -36
  256. package/dist/types/modules/marketing/validations/featured-marketing.validation.d.ts +6 -6
  257. package/dist/types/modules/marketing/validations/free-delivery-marketing.validation.d.ts +4 -4
  258. package/dist/types/modules/marketing/validations/marketing.validation.d.ts +2 -2
  259. package/dist/types/modules/marketing/validations/product-marketing.validation.d.ts +7 -7
  260. package/dist/types/modules/marketing/validations/punch-marketing.validation.d.ts +4 -4
  261. package/dist/types/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts +1 -1
  262. package/dist/types/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts +2 -2
  263. package/dist/types/modules/tournament/config/config.builder.d.ts +5 -0
  264. package/dist/types/modules/tournament/config/config.builder.d.ts.map +1 -0
  265. package/dist/types/modules/tournament/config/config.repository.d.ts +13 -0
  266. package/dist/types/modules/tournament/config/config.repository.d.ts.map +1 -0
  267. package/dist/types/modules/tournament/config/config.router.d.ts +363 -0
  268. package/dist/types/modules/tournament/config/config.router.d.ts.map +1 -0
  269. package/dist/types/modules/tournament/config/config.service.d.ts +14 -0
  270. package/dist/types/modules/tournament/config/config.service.d.ts.map +1 -0
  271. package/dist/types/modules/tournament/config/config.validation.d.ts +1014 -0
  272. package/dist/types/modules/tournament/config/config.validation.d.ts.map +1 -0
  273. package/dist/types/modules/tournament/config/tournament-config.validation.d.ts +201 -0
  274. package/dist/types/modules/tournament/config/tournament-config.validation.d.ts.map +1 -0
  275. package/dist/types/modules/tournament/match/events/match-ended.consumer.d.ts +2 -0
  276. package/dist/types/modules/tournament/match/events/match-ended.consumer.d.ts.map +1 -0
  277. package/dist/types/modules/tournament/match/events/match-ended.event.d.ts +14 -0
  278. package/dist/types/modules/tournament/match/events/match-ended.event.d.ts.map +1 -0
  279. package/dist/types/modules/tournament/match/match.builder.d.ts +38 -0
  280. package/dist/types/modules/tournament/match/match.builder.d.ts.map +1 -0
  281. package/dist/types/modules/tournament/match/match.repository.d.ts +13 -0
  282. package/dist/types/modules/tournament/match/match.repository.d.ts.map +1 -0
  283. package/dist/types/modules/tournament/match/match.router.d.ts +489 -0
  284. package/dist/types/modules/tournament/match/match.router.d.ts.map +1 -0
  285. package/dist/types/modules/tournament/match/match.service.d.ts +29 -0
  286. package/dist/types/modules/tournament/match/match.service.d.ts.map +1 -0
  287. package/dist/types/modules/tournament/match/match.validation.d.ts +880 -0
  288. package/dist/types/modules/tournament/match/match.validation.d.ts.map +1 -0
  289. package/dist/types/modules/tournament/notification/jobs/notification.producer.d.ts +13 -0
  290. package/dist/types/modules/tournament/notification/jobs/notification.producer.d.ts.map +1 -0
  291. package/dist/types/modules/tournament/notification/jobs/notification.worker.d.ts +7 -0
  292. package/dist/types/modules/tournament/notification/jobs/notification.worker.d.ts.map +1 -0
  293. package/dist/types/modules/tournament/notification/notification.scheduler.service.d.ts +10 -0
  294. package/dist/types/modules/tournament/notification/notification.scheduler.service.d.ts.map +1 -0
  295. package/dist/types/modules/tournament/notification/notification.service.d.ts +11 -0
  296. package/dist/types/modules/tournament/notification/notification.service.d.ts.map +1 -0
  297. package/dist/types/modules/tournament/participant/participant.repository.d.ts +12 -0
  298. package/dist/types/modules/tournament/participant/participant.repository.d.ts.map +1 -0
  299. package/dist/types/modules/tournament/participant/participant.router.d.ts +104 -0
  300. package/dist/types/modules/tournament/participant/participant.router.d.ts.map +1 -0
  301. package/dist/types/modules/tournament/participant/participant.service.d.ts +14 -0
  302. package/dist/types/modules/tournament/participant/participant.service.d.ts.map +1 -0
  303. package/dist/types/modules/tournament/participant/participant.validation.d.ts +719 -0
  304. package/dist/types/modules/tournament/participant/participant.validation.d.ts.map +1 -0
  305. package/dist/types/modules/tournament/prediction/prediction.builder.d.ts +14 -0
  306. package/dist/types/modules/tournament/prediction/prediction.builder.d.ts.map +1 -0
  307. package/dist/types/modules/tournament/prediction/prediction.repository.d.ts +11 -0
  308. package/dist/types/modules/tournament/prediction/prediction.repository.d.ts.map +1 -0
  309. package/dist/types/modules/tournament/prediction/prediction.router.d.ts +133 -0
  310. package/dist/types/modules/tournament/prediction/prediction.router.d.ts.map +1 -0
  311. package/dist/types/modules/tournament/prediction/prediction.service.d.ts +17 -0
  312. package/dist/types/modules/tournament/prediction/prediction.service.d.ts.map +1 -0
  313. package/dist/types/modules/tournament/prediction/prediction.validation.d.ts +575 -0
  314. package/dist/types/modules/tournament/prediction/prediction.validation.d.ts.map +1 -0
  315. package/dist/types/modules/tournament/reward/handlers/coupon-reward.handler.d.ts +8 -0
  316. package/dist/types/modules/tournament/reward/handlers/coupon-reward.handler.d.ts.map +1 -0
  317. package/dist/types/modules/tournament/reward/reward.factory.d.ts +6 -0
  318. package/dist/types/modules/tournament/reward/reward.factory.d.ts.map +1 -0
  319. package/dist/types/modules/tournament/reward/reward.interface.d.ts +5 -0
  320. package/dist/types/modules/tournament/reward/reward.interface.d.ts.map +1 -0
  321. package/dist/types/modules/tournament/reward/reward.service.d.ts +6 -0
  322. package/dist/types/modules/tournament/reward/reward.service.d.ts.map +1 -0
  323. package/dist/types/modules/tournament/reward/reward.types.d.ts +11 -0
  324. package/dist/types/modules/tournament/reward/reward.types.d.ts.map +1 -0
  325. package/dist/types/modules/tournament/team/team.builder.d.ts +19 -0
  326. package/dist/types/modules/tournament/team/team.builder.d.ts.map +1 -0
  327. package/dist/types/modules/tournament/team/team.repository.d.ts +11 -0
  328. package/dist/types/modules/tournament/team/team.repository.d.ts.map +1 -0
  329. package/dist/types/modules/tournament/team/team.router.d.ts +237 -0
  330. package/dist/types/modules/tournament/team/team.router.d.ts.map +1 -0
  331. package/dist/types/modules/tournament/team/team.service.d.ts +15 -0
  332. package/dist/types/modules/tournament/team/team.service.d.ts.map +1 -0
  333. package/dist/types/modules/tournament/team/team.validation.d.ts +986 -0
  334. package/dist/types/modules/tournament/team/team.validation.d.ts.map +1 -0
  335. package/dist/types/modules/tournament/tournament.router.d.ts +1336 -0
  336. package/dist/types/modules/tournament/tournament.router.d.ts.map +1 -0
  337. package/package.json +3 -3
  338. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.service.d.ts +0 -1
  339. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.service.d.ts.map +0 -1
  340. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.service.js +0 -2
  341. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.service.js.map +0 -1
@@ -0,0 +1,719 @@
1
+ import { z } from 'zod';
2
+ import { DTO } from '@lyxa.ai/core/dist/utilities/validation/global-validation';
3
+ export declare const JoinTournamentSchema: z.ZodObject<{
4
+ tournamentId: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
5
+ teamId: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ teamId: import("mongoose").Types.ObjectId;
8
+ tournamentId: import("mongoose").Types.ObjectId;
9
+ }, {
10
+ teamId: string | import("mongoose").Types.ObjectId;
11
+ tournamentId: string | import("mongoose").Types.ObjectId;
12
+ }>;
13
+ export declare const GetTournamentParticipantsSchema: z.ZodObject<{
14
+ tournamentId: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ tournamentId: import("mongoose").Types.ObjectId;
17
+ }, {
18
+ tournamentId: string | import("mongoose").Types.ObjectId;
19
+ }>;
20
+ export declare const TournamentParticipantSchema: z.ZodObject<{
21
+ _id: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
22
+ userId: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
23
+ tournamentId: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
24
+ teamId: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
25
+ predictions: z.ZodDefault<z.ZodArray<z.ZodObject<{
26
+ _id: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
27
+ matchId: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
28
+ score: z.ZodObject<{
29
+ team1: z.ZodNullable<z.ZodNumber>;
30
+ team2: z.ZodNullable<z.ZodNumber>;
31
+ }, "strip", z.ZodTypeAny, {
32
+ team1: number | null;
33
+ team2: number | null;
34
+ }, {
35
+ team1: number | null;
36
+ team2: number | null;
37
+ }>;
38
+ predictionTime: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
39
+ succeeded: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
40
+ coupon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ _id: import("mongoose").Types.ObjectId;
43
+ score: {
44
+ team1: number | null;
45
+ team2: number | null;
46
+ };
47
+ matchId: import("mongoose").Types.ObjectId;
48
+ coupon?: import("mongoose").Types.ObjectId | undefined;
49
+ succeeded?: boolean | null | undefined;
50
+ predictionTime?: Date | null | undefined;
51
+ }, {
52
+ _id: string | import("mongoose").Types.ObjectId;
53
+ score: {
54
+ team1: number | null;
55
+ team2: number | null;
56
+ };
57
+ matchId: string | import("mongoose").Types.ObjectId;
58
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
59
+ succeeded?: boolean | null | undefined;
60
+ predictionTime?: Date | null | undefined;
61
+ }>, "many">>;
62
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
63
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
64
+ }, "strip", z.ZodTypeAny, {
65
+ _id: import("mongoose").Types.ObjectId;
66
+ userId: import("mongoose").Types.ObjectId;
67
+ teamId: import("mongoose").Types.ObjectId;
68
+ tournamentId: import("mongoose").Types.ObjectId;
69
+ predictions: {
70
+ _id: import("mongoose").Types.ObjectId;
71
+ score: {
72
+ team1: number | null;
73
+ team2: number | null;
74
+ };
75
+ matchId: import("mongoose").Types.ObjectId;
76
+ coupon?: import("mongoose").Types.ObjectId | undefined;
77
+ succeeded?: boolean | null | undefined;
78
+ predictionTime?: Date | null | undefined;
79
+ }[];
80
+ createdAt?: Date | null | undefined;
81
+ updatedAt?: Date | null | undefined;
82
+ }, {
83
+ _id: string | import("mongoose").Types.ObjectId;
84
+ userId: string | import("mongoose").Types.ObjectId;
85
+ teamId: string | import("mongoose").Types.ObjectId;
86
+ tournamentId: string | import("mongoose").Types.ObjectId;
87
+ createdAt?: Date | null | undefined;
88
+ updatedAt?: Date | null | undefined;
89
+ predictions?: {
90
+ _id: string | import("mongoose").Types.ObjectId;
91
+ score: {
92
+ team1: number | null;
93
+ team2: number | null;
94
+ };
95
+ matchId: string | import("mongoose").Types.ObjectId;
96
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
97
+ succeeded?: boolean | null | undefined;
98
+ predictionTime?: Date | null | undefined;
99
+ }[] | undefined;
100
+ }>;
101
+ export declare const JoinTournamentParticipantSchema: z.ZodObject<{
102
+ _id: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
103
+ tournamentId: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
104
+ teamId: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
105
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
106
+ }, "strip", z.ZodTypeAny, {
107
+ _id: import("mongoose").Types.ObjectId;
108
+ teamId: import("mongoose").Types.ObjectId;
109
+ tournamentId: import("mongoose").Types.ObjectId;
110
+ createdAt?: Date | null | undefined;
111
+ }, {
112
+ _id: string | import("mongoose").Types.ObjectId;
113
+ teamId: string | import("mongoose").Types.ObjectId;
114
+ tournamentId: string | import("mongoose").Types.ObjectId;
115
+ createdAt?: Date | null | undefined;
116
+ }>;
117
+ export declare const JoinTournamentResponseSchema: z.ZodObject<{
118
+ success: z.ZodBoolean;
119
+ message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
120
+ data: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
121
+ metadata: z.ZodOptional<z.ZodObject<{
122
+ page: z.ZodNumber;
123
+ size: z.ZodNumber;
124
+ totalElements: z.ZodNumber;
125
+ totalPages: z.ZodNumber;
126
+ }, "strip", z.ZodTypeAny, {
127
+ page: number;
128
+ size: number;
129
+ totalElements: number;
130
+ totalPages: number;
131
+ }, {
132
+ page: number;
133
+ size: number;
134
+ totalElements: number;
135
+ totalPages: number;
136
+ }>>;
137
+ documents: z.ZodArray<z.ZodType<{
138
+ _id: string | import("mongoose").Types.ObjectId;
139
+ teamId: string | import("mongoose").Types.ObjectId;
140
+ tournamentId: string | import("mongoose").Types.ObjectId;
141
+ createdAt?: Date | null | undefined;
142
+ }, z.ZodTypeDef, {
143
+ _id: string | import("mongoose").Types.ObjectId;
144
+ teamId: string | import("mongoose").Types.ObjectId;
145
+ tournamentId: string | import("mongoose").Types.ObjectId;
146
+ createdAt?: Date | null | undefined;
147
+ }>, "many">;
148
+ }, "strip", z.ZodTypeAny, {
149
+ documents: {
150
+ _id: string | import("mongoose").Types.ObjectId;
151
+ teamId: string | import("mongoose").Types.ObjectId;
152
+ tournamentId: string | import("mongoose").Types.ObjectId;
153
+ createdAt?: Date | null | undefined;
154
+ }[];
155
+ metadata?: {
156
+ page: number;
157
+ size: number;
158
+ totalElements: number;
159
+ totalPages: number;
160
+ } | undefined;
161
+ }, {
162
+ documents: {
163
+ _id: string | import("mongoose").Types.ObjectId;
164
+ teamId: string | import("mongoose").Types.ObjectId;
165
+ tournamentId: string | import("mongoose").Types.ObjectId;
166
+ createdAt?: Date | null | undefined;
167
+ }[];
168
+ metadata?: {
169
+ page: number;
170
+ size: number;
171
+ totalElements: number;
172
+ totalPages: number;
173
+ } | undefined;
174
+ }>, z.ZodType<{
175
+ _id: string | import("mongoose").Types.ObjectId;
176
+ teamId: string | import("mongoose").Types.ObjectId;
177
+ tournamentId: string | import("mongoose").Types.ObjectId;
178
+ createdAt?: Date | null | undefined;
179
+ }, z.ZodTypeDef, {
180
+ _id: string | import("mongoose").Types.ObjectId;
181
+ teamId: string | import("mongoose").Types.ObjectId;
182
+ tournamentId: string | import("mongoose").Types.ObjectId;
183
+ createdAt?: Date | null | undefined;
184
+ }>]>>;
185
+ }, "strip", z.ZodTypeAny, {
186
+ message: string;
187
+ success: boolean;
188
+ data?: {
189
+ _id: string | import("mongoose").Types.ObjectId;
190
+ teamId: string | import("mongoose").Types.ObjectId;
191
+ tournamentId: string | import("mongoose").Types.ObjectId;
192
+ createdAt?: Date | null | undefined;
193
+ } | {
194
+ documents: {
195
+ _id: string | import("mongoose").Types.ObjectId;
196
+ teamId: string | import("mongoose").Types.ObjectId;
197
+ tournamentId: string | import("mongoose").Types.ObjectId;
198
+ createdAt?: Date | null | undefined;
199
+ }[];
200
+ metadata?: {
201
+ page: number;
202
+ size: number;
203
+ totalElements: number;
204
+ totalPages: number;
205
+ } | undefined;
206
+ } | undefined;
207
+ }, {
208
+ message: string;
209
+ success: boolean;
210
+ data?: {
211
+ _id: string | import("mongoose").Types.ObjectId;
212
+ teamId: string | import("mongoose").Types.ObjectId;
213
+ tournamentId: string | import("mongoose").Types.ObjectId;
214
+ createdAt?: Date | null | undefined;
215
+ } | {
216
+ documents: {
217
+ _id: string | import("mongoose").Types.ObjectId;
218
+ teamId: string | import("mongoose").Types.ObjectId;
219
+ tournamentId: string | import("mongoose").Types.ObjectId;
220
+ createdAt?: Date | null | undefined;
221
+ }[];
222
+ metadata?: {
223
+ page: number;
224
+ size: number;
225
+ totalElements: number;
226
+ totalPages: number;
227
+ } | undefined;
228
+ } | undefined;
229
+ }>;
230
+ export declare const TournamentParticipantResponseSchema: z.ZodObject<{
231
+ success: z.ZodBoolean;
232
+ message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
233
+ data: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
234
+ metadata: z.ZodOptional<z.ZodObject<{
235
+ page: z.ZodNumber;
236
+ size: z.ZodNumber;
237
+ totalElements: z.ZodNumber;
238
+ totalPages: z.ZodNumber;
239
+ }, "strip", z.ZodTypeAny, {
240
+ page: number;
241
+ size: number;
242
+ totalElements: number;
243
+ totalPages: number;
244
+ }, {
245
+ page: number;
246
+ size: number;
247
+ totalElements: number;
248
+ totalPages: number;
249
+ }>>;
250
+ documents: z.ZodArray<z.ZodType<{
251
+ _id: string | import("mongoose").Types.ObjectId;
252
+ userId: string | import("mongoose").Types.ObjectId;
253
+ teamId: string | import("mongoose").Types.ObjectId;
254
+ tournamentId: string | import("mongoose").Types.ObjectId;
255
+ createdAt?: Date | null | undefined;
256
+ updatedAt?: Date | null | undefined;
257
+ predictions?: {
258
+ _id: string | import("mongoose").Types.ObjectId;
259
+ score: {
260
+ team1: number | null;
261
+ team2: number | null;
262
+ };
263
+ matchId: string | import("mongoose").Types.ObjectId;
264
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
265
+ succeeded?: boolean | null | undefined;
266
+ predictionTime?: Date | null | undefined;
267
+ }[] | undefined;
268
+ }, z.ZodTypeDef, {
269
+ _id: string | import("mongoose").Types.ObjectId;
270
+ userId: string | import("mongoose").Types.ObjectId;
271
+ teamId: string | import("mongoose").Types.ObjectId;
272
+ tournamentId: string | import("mongoose").Types.ObjectId;
273
+ createdAt?: Date | null | undefined;
274
+ updatedAt?: Date | null | undefined;
275
+ predictions?: {
276
+ _id: string | import("mongoose").Types.ObjectId;
277
+ score: {
278
+ team1: number | null;
279
+ team2: number | null;
280
+ };
281
+ matchId: string | import("mongoose").Types.ObjectId;
282
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
283
+ succeeded?: boolean | null | undefined;
284
+ predictionTime?: Date | null | undefined;
285
+ }[] | undefined;
286
+ }>, "many">;
287
+ }, "strip", z.ZodTypeAny, {
288
+ documents: {
289
+ _id: string | import("mongoose").Types.ObjectId;
290
+ userId: string | import("mongoose").Types.ObjectId;
291
+ teamId: string | import("mongoose").Types.ObjectId;
292
+ tournamentId: string | import("mongoose").Types.ObjectId;
293
+ createdAt?: Date | null | undefined;
294
+ updatedAt?: Date | null | undefined;
295
+ predictions?: {
296
+ _id: string | import("mongoose").Types.ObjectId;
297
+ score: {
298
+ team1: number | null;
299
+ team2: number | null;
300
+ };
301
+ matchId: string | import("mongoose").Types.ObjectId;
302
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
303
+ succeeded?: boolean | null | undefined;
304
+ predictionTime?: Date | null | undefined;
305
+ }[] | undefined;
306
+ }[];
307
+ metadata?: {
308
+ page: number;
309
+ size: number;
310
+ totalElements: number;
311
+ totalPages: number;
312
+ } | undefined;
313
+ }, {
314
+ documents: {
315
+ _id: string | import("mongoose").Types.ObjectId;
316
+ userId: string | import("mongoose").Types.ObjectId;
317
+ teamId: string | import("mongoose").Types.ObjectId;
318
+ tournamentId: string | import("mongoose").Types.ObjectId;
319
+ createdAt?: Date | null | undefined;
320
+ updatedAt?: Date | null | undefined;
321
+ predictions?: {
322
+ _id: string | import("mongoose").Types.ObjectId;
323
+ score: {
324
+ team1: number | null;
325
+ team2: number | null;
326
+ };
327
+ matchId: string | import("mongoose").Types.ObjectId;
328
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
329
+ succeeded?: boolean | null | undefined;
330
+ predictionTime?: Date | null | undefined;
331
+ }[] | undefined;
332
+ }[];
333
+ metadata?: {
334
+ page: number;
335
+ size: number;
336
+ totalElements: number;
337
+ totalPages: number;
338
+ } | undefined;
339
+ }>, z.ZodType<{
340
+ _id: string | import("mongoose").Types.ObjectId;
341
+ userId: string | import("mongoose").Types.ObjectId;
342
+ teamId: string | import("mongoose").Types.ObjectId;
343
+ tournamentId: string | import("mongoose").Types.ObjectId;
344
+ createdAt?: Date | null | undefined;
345
+ updatedAt?: Date | null | undefined;
346
+ predictions?: {
347
+ _id: string | import("mongoose").Types.ObjectId;
348
+ score: {
349
+ team1: number | null;
350
+ team2: number | null;
351
+ };
352
+ matchId: string | import("mongoose").Types.ObjectId;
353
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
354
+ succeeded?: boolean | null | undefined;
355
+ predictionTime?: Date | null | undefined;
356
+ }[] | undefined;
357
+ }, z.ZodTypeDef, {
358
+ _id: string | import("mongoose").Types.ObjectId;
359
+ userId: string | import("mongoose").Types.ObjectId;
360
+ teamId: string | import("mongoose").Types.ObjectId;
361
+ tournamentId: string | import("mongoose").Types.ObjectId;
362
+ createdAt?: Date | null | undefined;
363
+ updatedAt?: Date | null | undefined;
364
+ predictions?: {
365
+ _id: string | import("mongoose").Types.ObjectId;
366
+ score: {
367
+ team1: number | null;
368
+ team2: number | null;
369
+ };
370
+ matchId: string | import("mongoose").Types.ObjectId;
371
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
372
+ succeeded?: boolean | null | undefined;
373
+ predictionTime?: Date | null | undefined;
374
+ }[] | undefined;
375
+ }>]>>;
376
+ }, "strip", z.ZodTypeAny, {
377
+ message: string;
378
+ success: boolean;
379
+ data?: {
380
+ _id: string | import("mongoose").Types.ObjectId;
381
+ userId: string | import("mongoose").Types.ObjectId;
382
+ teamId: string | import("mongoose").Types.ObjectId;
383
+ tournamentId: string | import("mongoose").Types.ObjectId;
384
+ createdAt?: Date | null | undefined;
385
+ updatedAt?: Date | null | undefined;
386
+ predictions?: {
387
+ _id: string | import("mongoose").Types.ObjectId;
388
+ score: {
389
+ team1: number | null;
390
+ team2: number | null;
391
+ };
392
+ matchId: string | import("mongoose").Types.ObjectId;
393
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
394
+ succeeded?: boolean | null | undefined;
395
+ predictionTime?: Date | null | undefined;
396
+ }[] | undefined;
397
+ } | {
398
+ documents: {
399
+ _id: string | import("mongoose").Types.ObjectId;
400
+ userId: string | import("mongoose").Types.ObjectId;
401
+ teamId: string | import("mongoose").Types.ObjectId;
402
+ tournamentId: string | import("mongoose").Types.ObjectId;
403
+ createdAt?: Date | null | undefined;
404
+ updatedAt?: Date | null | undefined;
405
+ predictions?: {
406
+ _id: string | import("mongoose").Types.ObjectId;
407
+ score: {
408
+ team1: number | null;
409
+ team2: number | null;
410
+ };
411
+ matchId: string | import("mongoose").Types.ObjectId;
412
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
413
+ succeeded?: boolean | null | undefined;
414
+ predictionTime?: Date | null | undefined;
415
+ }[] | undefined;
416
+ }[];
417
+ metadata?: {
418
+ page: number;
419
+ size: number;
420
+ totalElements: number;
421
+ totalPages: number;
422
+ } | undefined;
423
+ } | undefined;
424
+ }, {
425
+ message: string;
426
+ success: boolean;
427
+ data?: {
428
+ _id: string | import("mongoose").Types.ObjectId;
429
+ userId: string | import("mongoose").Types.ObjectId;
430
+ teamId: string | import("mongoose").Types.ObjectId;
431
+ tournamentId: string | import("mongoose").Types.ObjectId;
432
+ createdAt?: Date | null | undefined;
433
+ updatedAt?: Date | null | undefined;
434
+ predictions?: {
435
+ _id: string | import("mongoose").Types.ObjectId;
436
+ score: {
437
+ team1: number | null;
438
+ team2: number | null;
439
+ };
440
+ matchId: string | import("mongoose").Types.ObjectId;
441
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
442
+ succeeded?: boolean | null | undefined;
443
+ predictionTime?: Date | null | undefined;
444
+ }[] | undefined;
445
+ } | {
446
+ documents: {
447
+ _id: string | import("mongoose").Types.ObjectId;
448
+ userId: string | import("mongoose").Types.ObjectId;
449
+ teamId: string | import("mongoose").Types.ObjectId;
450
+ tournamentId: string | import("mongoose").Types.ObjectId;
451
+ createdAt?: Date | null | undefined;
452
+ updatedAt?: Date | null | undefined;
453
+ predictions?: {
454
+ _id: string | import("mongoose").Types.ObjectId;
455
+ score: {
456
+ team1: number | null;
457
+ team2: number | null;
458
+ };
459
+ matchId: string | import("mongoose").Types.ObjectId;
460
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
461
+ succeeded?: boolean | null | undefined;
462
+ predictionTime?: Date | null | undefined;
463
+ }[] | undefined;
464
+ }[];
465
+ metadata?: {
466
+ page: number;
467
+ size: number;
468
+ totalElements: number;
469
+ totalPages: number;
470
+ } | undefined;
471
+ } | undefined;
472
+ }>;
473
+ export declare const TournamentParticipantListResponseSchema: z.ZodObject<{
474
+ success: z.ZodBoolean;
475
+ message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
476
+ data: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
477
+ metadata: z.ZodOptional<z.ZodObject<{
478
+ page: z.ZodNumber;
479
+ size: z.ZodNumber;
480
+ totalElements: z.ZodNumber;
481
+ totalPages: z.ZodNumber;
482
+ }, "strip", z.ZodTypeAny, {
483
+ page: number;
484
+ size: number;
485
+ totalElements: number;
486
+ totalPages: number;
487
+ }, {
488
+ page: number;
489
+ size: number;
490
+ totalElements: number;
491
+ totalPages: number;
492
+ }>>;
493
+ documents: z.ZodArray<z.ZodType<{
494
+ _id: string | import("mongoose").Types.ObjectId;
495
+ userId: string | import("mongoose").Types.ObjectId;
496
+ teamId: string | import("mongoose").Types.ObjectId;
497
+ tournamentId: string | import("mongoose").Types.ObjectId;
498
+ createdAt?: Date | null | undefined;
499
+ updatedAt?: Date | null | undefined;
500
+ predictions?: {
501
+ _id: string | import("mongoose").Types.ObjectId;
502
+ score: {
503
+ team1: number | null;
504
+ team2: number | null;
505
+ };
506
+ matchId: string | import("mongoose").Types.ObjectId;
507
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
508
+ succeeded?: boolean | null | undefined;
509
+ predictionTime?: Date | null | undefined;
510
+ }[] | undefined;
511
+ }[], z.ZodTypeDef, {
512
+ _id: string | import("mongoose").Types.ObjectId;
513
+ userId: string | import("mongoose").Types.ObjectId;
514
+ teamId: string | import("mongoose").Types.ObjectId;
515
+ tournamentId: string | import("mongoose").Types.ObjectId;
516
+ createdAt?: Date | null | undefined;
517
+ updatedAt?: Date | null | undefined;
518
+ predictions?: {
519
+ _id: string | import("mongoose").Types.ObjectId;
520
+ score: {
521
+ team1: number | null;
522
+ team2: number | null;
523
+ };
524
+ matchId: string | import("mongoose").Types.ObjectId;
525
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
526
+ succeeded?: boolean | null | undefined;
527
+ predictionTime?: Date | null | undefined;
528
+ }[] | undefined;
529
+ }[]>, "many">;
530
+ }, "strip", z.ZodTypeAny, {
531
+ documents: {
532
+ _id: string | import("mongoose").Types.ObjectId;
533
+ userId: string | import("mongoose").Types.ObjectId;
534
+ teamId: string | import("mongoose").Types.ObjectId;
535
+ tournamentId: string | import("mongoose").Types.ObjectId;
536
+ createdAt?: Date | null | undefined;
537
+ updatedAt?: Date | null | undefined;
538
+ predictions?: {
539
+ _id: string | import("mongoose").Types.ObjectId;
540
+ score: {
541
+ team1: number | null;
542
+ team2: number | null;
543
+ };
544
+ matchId: string | import("mongoose").Types.ObjectId;
545
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
546
+ succeeded?: boolean | null | undefined;
547
+ predictionTime?: Date | null | undefined;
548
+ }[] | undefined;
549
+ }[][];
550
+ metadata?: {
551
+ page: number;
552
+ size: number;
553
+ totalElements: number;
554
+ totalPages: number;
555
+ } | undefined;
556
+ }, {
557
+ documents: {
558
+ _id: string | import("mongoose").Types.ObjectId;
559
+ userId: string | import("mongoose").Types.ObjectId;
560
+ teamId: string | import("mongoose").Types.ObjectId;
561
+ tournamentId: string | import("mongoose").Types.ObjectId;
562
+ createdAt?: Date | null | undefined;
563
+ updatedAt?: Date | null | undefined;
564
+ predictions?: {
565
+ _id: string | import("mongoose").Types.ObjectId;
566
+ score: {
567
+ team1: number | null;
568
+ team2: number | null;
569
+ };
570
+ matchId: string | import("mongoose").Types.ObjectId;
571
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
572
+ succeeded?: boolean | null | undefined;
573
+ predictionTime?: Date | null | undefined;
574
+ }[] | undefined;
575
+ }[][];
576
+ metadata?: {
577
+ page: number;
578
+ size: number;
579
+ totalElements: number;
580
+ totalPages: number;
581
+ } | undefined;
582
+ }>, z.ZodType<{
583
+ _id: string | import("mongoose").Types.ObjectId;
584
+ userId: string | import("mongoose").Types.ObjectId;
585
+ teamId: string | import("mongoose").Types.ObjectId;
586
+ tournamentId: string | import("mongoose").Types.ObjectId;
587
+ createdAt?: Date | null | undefined;
588
+ updatedAt?: Date | null | undefined;
589
+ predictions?: {
590
+ _id: string | import("mongoose").Types.ObjectId;
591
+ score: {
592
+ team1: number | null;
593
+ team2: number | null;
594
+ };
595
+ matchId: string | import("mongoose").Types.ObjectId;
596
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
597
+ succeeded?: boolean | null | undefined;
598
+ predictionTime?: Date | null | undefined;
599
+ }[] | undefined;
600
+ }[], z.ZodTypeDef, {
601
+ _id: string | import("mongoose").Types.ObjectId;
602
+ userId: string | import("mongoose").Types.ObjectId;
603
+ teamId: string | import("mongoose").Types.ObjectId;
604
+ tournamentId: string | import("mongoose").Types.ObjectId;
605
+ createdAt?: Date | null | undefined;
606
+ updatedAt?: Date | null | undefined;
607
+ predictions?: {
608
+ _id: string | import("mongoose").Types.ObjectId;
609
+ score: {
610
+ team1: number | null;
611
+ team2: number | null;
612
+ };
613
+ matchId: string | import("mongoose").Types.ObjectId;
614
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
615
+ succeeded?: boolean | null | undefined;
616
+ predictionTime?: Date | null | undefined;
617
+ }[] | undefined;
618
+ }[]>]>>;
619
+ }, "strip", z.ZodTypeAny, {
620
+ message: string;
621
+ success: boolean;
622
+ data?: {
623
+ _id: string | import("mongoose").Types.ObjectId;
624
+ userId: string | import("mongoose").Types.ObjectId;
625
+ teamId: string | import("mongoose").Types.ObjectId;
626
+ tournamentId: string | import("mongoose").Types.ObjectId;
627
+ createdAt?: Date | null | undefined;
628
+ updatedAt?: Date | null | undefined;
629
+ predictions?: {
630
+ _id: string | import("mongoose").Types.ObjectId;
631
+ score: {
632
+ team1: number | null;
633
+ team2: number | null;
634
+ };
635
+ matchId: string | import("mongoose").Types.ObjectId;
636
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
637
+ succeeded?: boolean | null | undefined;
638
+ predictionTime?: Date | null | undefined;
639
+ }[] | undefined;
640
+ }[] | {
641
+ documents: {
642
+ _id: string | import("mongoose").Types.ObjectId;
643
+ userId: string | import("mongoose").Types.ObjectId;
644
+ teamId: string | import("mongoose").Types.ObjectId;
645
+ tournamentId: string | import("mongoose").Types.ObjectId;
646
+ createdAt?: Date | null | undefined;
647
+ updatedAt?: Date | null | undefined;
648
+ predictions?: {
649
+ _id: string | import("mongoose").Types.ObjectId;
650
+ score: {
651
+ team1: number | null;
652
+ team2: number | null;
653
+ };
654
+ matchId: string | import("mongoose").Types.ObjectId;
655
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
656
+ succeeded?: boolean | null | undefined;
657
+ predictionTime?: Date | null | undefined;
658
+ }[] | undefined;
659
+ }[][];
660
+ metadata?: {
661
+ page: number;
662
+ size: number;
663
+ totalElements: number;
664
+ totalPages: number;
665
+ } | undefined;
666
+ } | undefined;
667
+ }, {
668
+ message: string;
669
+ success: boolean;
670
+ data?: {
671
+ _id: string | import("mongoose").Types.ObjectId;
672
+ userId: string | import("mongoose").Types.ObjectId;
673
+ teamId: string | import("mongoose").Types.ObjectId;
674
+ tournamentId: string | import("mongoose").Types.ObjectId;
675
+ createdAt?: Date | null | undefined;
676
+ updatedAt?: Date | null | undefined;
677
+ predictions?: {
678
+ _id: string | import("mongoose").Types.ObjectId;
679
+ score: {
680
+ team1: number | null;
681
+ team2: number | null;
682
+ };
683
+ matchId: string | import("mongoose").Types.ObjectId;
684
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
685
+ succeeded?: boolean | null | undefined;
686
+ predictionTime?: Date | null | undefined;
687
+ }[] | undefined;
688
+ }[] | {
689
+ documents: {
690
+ _id: string | import("mongoose").Types.ObjectId;
691
+ userId: string | import("mongoose").Types.ObjectId;
692
+ teamId: string | import("mongoose").Types.ObjectId;
693
+ tournamentId: string | import("mongoose").Types.ObjectId;
694
+ createdAt?: Date | null | undefined;
695
+ updatedAt?: Date | null | undefined;
696
+ predictions?: {
697
+ _id: string | import("mongoose").Types.ObjectId;
698
+ score: {
699
+ team1: number | null;
700
+ team2: number | null;
701
+ };
702
+ matchId: string | import("mongoose").Types.ObjectId;
703
+ coupon?: string | import("mongoose").Types.ObjectId | undefined;
704
+ succeeded?: boolean | null | undefined;
705
+ predictionTime?: Date | null | undefined;
706
+ }[] | undefined;
707
+ }[][];
708
+ metadata?: {
709
+ page: number;
710
+ size: number;
711
+ totalElements: number;
712
+ totalPages: number;
713
+ } | undefined;
714
+ } | undefined;
715
+ }>;
716
+ export type JoinTournamentInputDTO = DTO<typeof JoinTournamentSchema>;
717
+ export type JoinTournamentParticipantOutputDTO = DTO<typeof JoinTournamentParticipantSchema>;
718
+ export type TournamentParticipantOutputDTO = DTO<typeof TournamentParticipantSchema>;
719
+ //# sourceMappingURL=participant.validation.d.ts.map