@lyxa.ai/marketing 1.0.47 → 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 (329) 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 +1346 -7
  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 +4 -0
  9. package/dist/lib/modules/coupon/routers/coupon.router.d.ts.map +1 -1
  10. package/dist/lib/modules/coupon/services/coupon.service.js +1 -1
  11. package/dist/lib/modules/coupon/services/coupon.service.js.map +1 -1
  12. package/dist/lib/modules/coupon/services/custom-coupon.service.d.ts +2 -0
  13. package/dist/lib/modules/coupon/services/custom-coupon.service.d.ts.map +1 -1
  14. package/dist/lib/modules/coupon/services/custom-coupon.service.js +1 -1
  15. package/dist/lib/modules/coupon/services/custom-coupon.service.js.map +1 -1
  16. package/dist/lib/modules/coupon/services/global-coupon.service.d.ts +1 -1
  17. package/dist/lib/modules/coupon/services/global-coupon.service.d.ts.map +1 -1
  18. package/dist/lib/modules/coupon/services/global-coupon.service.js +16 -10
  19. package/dist/lib/modules/coupon/services/global-coupon.service.js.map +1 -1
  20. package/dist/lib/modules/coupon/services/helper.service.d.ts +2 -1
  21. package/dist/lib/modules/coupon/services/helper.service.d.ts.map +1 -1
  22. package/dist/lib/modules/coupon/services/helper.service.js +7 -1
  23. package/dist/lib/modules/coupon/services/helper.service.js.map +1 -1
  24. package/dist/lib/modules/coupon/services/individual-store-coupon.service.d.ts +2 -0
  25. package/dist/lib/modules/coupon/services/individual-store-coupon.service.d.ts.map +1 -1
  26. package/dist/lib/modules/coupon/services/individual-store-coupon.service.js +2 -2
  27. package/dist/lib/modules/coupon/services/individual-store-coupon.service.js.map +1 -1
  28. package/dist/lib/modules/coupon/services/individual-user-coupon.service.d.ts.map +1 -1
  29. package/dist/lib/modules/coupon/services/individual-user-coupon.service.js +6 -0
  30. package/dist/lib/modules/coupon/services/individual-user-coupon.service.js.map +1 -1
  31. package/dist/lib/modules/coupon/services/patterns/repository/CouponRepository.d.ts.map +1 -1
  32. package/dist/lib/modules/coupon/services/patterns/repository/CouponRepository.js +20 -1
  33. package/dist/lib/modules/coupon/services/patterns/repository/CouponRepository.js.map +1 -1
  34. package/dist/lib/modules/coupon/services/referral-code-coupon.service.d.ts.map +1 -1
  35. package/dist/lib/modules/coupon/services/referral-code-coupon.service.js +1 -1
  36. package/dist/lib/modules/coupon/services/referral-code-coupon.service.js.map +1 -1
  37. package/dist/lib/modules/coupon/services/referral-reward-coupon.service.d.ts +1 -1
  38. package/dist/lib/modules/coupon/services/referral-reward-coupon.service.d.ts.map +1 -1
  39. package/dist/lib/modules/coupon/services/referral-reward-coupon.service.js +21 -15
  40. package/dist/lib/modules/coupon/services/referral-reward-coupon.service.js.map +1 -1
  41. package/dist/lib/modules/coupon/services/shops-categories-coupon.service.d.ts +2 -0
  42. package/dist/lib/modules/coupon/services/shops-categories-coupon.service.d.ts.map +1 -1
  43. package/dist/lib/modules/coupon/services/shops-categories-coupon.service.js +2 -2
  44. package/dist/lib/modules/coupon/services/shops-categories-coupon.service.js.map +1 -1
  45. package/dist/lib/modules/coupon/validations/coupon.validation.d.ts +13 -0
  46. package/dist/lib/modules/coupon/validations/coupon.validation.d.ts.map +1 -1
  47. package/dist/lib/modules/coupon/validations/coupon.validation.js +1 -0
  48. package/dist/lib/modules/coupon/validations/coupon.validation.js.map +1 -1
  49. package/dist/lib/modules/limited-time-offer/limited-time-offer.router.d.ts +6 -6
  50. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.router.d.ts +6 -6
  51. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.validation.d.ts +30 -30
  52. package/dist/lib/modules/marketing/services/marketing.service.d.ts.map +1 -1
  53. package/dist/lib/modules/marketing/services/marketing.service.js +8 -2
  54. package/dist/lib/modules/marketing/services/marketing.service.js.map +1 -1
  55. package/dist/lib/modules/marketing/services/synchronize-product-marketing.service.d.ts +2 -0
  56. package/dist/lib/modules/marketing/services/synchronize-product-marketing.service.d.ts.map +1 -1
  57. package/dist/lib/modules/marketing/services/synchronize-product-marketing.service.js +14 -0
  58. package/dist/lib/modules/marketing/services/synchronize-product-marketing.service.js.map +1 -1
  59. package/dist/lib/modules/marketing/validations/buy1-get1-marketing.validation.d.ts +18 -18
  60. package/dist/lib/modules/marketing/validations/discount-marketing.validation.d.ts +30 -30
  61. package/dist/lib/modules/marketing/validations/featured-marketing.validation.d.ts +6 -6
  62. package/dist/lib/modules/marketing/validations/free-delivery-marketing.validation.d.ts +4 -4
  63. package/dist/lib/modules/marketing/validations/marketing.validation.d.ts +2 -2
  64. package/dist/lib/modules/marketing/validations/product-marketing.validation.d.ts +5 -5
  65. package/dist/lib/modules/marketing/validations/punch-marketing.validation.d.ts +4 -4
  66. package/dist/lib/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts +1 -1
  67. package/dist/lib/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts +2 -2
  68. package/dist/lib/modules/tournament/config/config.builder.d.ts +5 -0
  69. package/dist/lib/modules/tournament/config/config.builder.d.ts.map +1 -0
  70. package/dist/lib/modules/tournament/config/config.builder.js +19 -0
  71. package/dist/lib/modules/tournament/config/config.builder.js.map +1 -0
  72. package/dist/lib/modules/tournament/config/config.repository.d.ts +13 -0
  73. package/dist/lib/modules/tournament/config/config.repository.d.ts.map +1 -0
  74. package/dist/lib/modules/tournament/config/config.repository.js +77 -0
  75. package/dist/lib/modules/tournament/config/config.repository.js.map +1 -0
  76. package/dist/lib/modules/tournament/config/config.router.d.ts +363 -0
  77. package/dist/lib/modules/tournament/config/config.router.d.ts.map +1 -0
  78. package/dist/lib/modules/tournament/config/config.router.js +40 -0
  79. package/dist/lib/modules/tournament/config/config.router.js.map +1 -0
  80. package/dist/lib/modules/tournament/config/config.service.d.ts +14 -0
  81. package/dist/lib/modules/tournament/config/config.service.d.ts.map +1 -0
  82. package/dist/lib/modules/tournament/config/config.service.js +101 -0
  83. package/dist/lib/modules/tournament/config/config.service.js.map +1 -0
  84. package/dist/lib/modules/tournament/config/config.validation.d.ts +1014 -0
  85. package/dist/lib/modules/tournament/config/config.validation.d.ts.map +1 -0
  86. package/dist/lib/modules/tournament/config/config.validation.js +70 -0
  87. package/dist/lib/modules/tournament/config/config.validation.js.map +1 -0
  88. package/dist/lib/modules/tournament/match/events/match-ended.consumer.d.ts +2 -0
  89. package/dist/lib/modules/tournament/match/events/match-ended.consumer.d.ts.map +1 -0
  90. package/dist/lib/modules/tournament/match/events/match-ended.consumer.js +15 -0
  91. package/dist/lib/modules/tournament/match/events/match-ended.consumer.js.map +1 -0
  92. package/dist/lib/modules/tournament/match/events/match-ended.event.d.ts +14 -0
  93. package/dist/lib/modules/tournament/match/events/match-ended.event.d.ts.map +1 -0
  94. package/dist/lib/modules/tournament/match/events/match-ended.event.js +12 -0
  95. package/dist/lib/modules/tournament/match/events/match-ended.event.js.map +1 -0
  96. package/dist/lib/modules/tournament/match/match.builder.d.ts +38 -0
  97. package/dist/lib/modules/tournament/match/match.builder.d.ts.map +1 -0
  98. package/dist/lib/modules/tournament/match/match.builder.js +37 -0
  99. package/dist/lib/modules/tournament/match/match.builder.js.map +1 -0
  100. package/dist/lib/modules/tournament/match/match.repository.d.ts +13 -0
  101. package/dist/lib/modules/tournament/match/match.repository.d.ts.map +1 -0
  102. package/dist/lib/modules/tournament/match/match.repository.js +84 -0
  103. package/dist/lib/modules/tournament/match/match.repository.js.map +1 -0
  104. package/dist/lib/modules/tournament/match/match.router.d.ts +489 -0
  105. package/dist/lib/modules/tournament/match/match.router.d.ts.map +1 -0
  106. package/dist/lib/modules/tournament/match/match.router.js +56 -0
  107. package/dist/lib/modules/tournament/match/match.router.js.map +1 -0
  108. package/dist/lib/modules/tournament/match/match.service.d.ts +29 -0
  109. package/dist/lib/modules/tournament/match/match.service.d.ts.map +1 -0
  110. package/dist/lib/modules/tournament/match/match.service.js +193 -0
  111. package/dist/lib/modules/tournament/match/match.service.js.map +1 -0
  112. package/dist/lib/modules/tournament/match/match.validation.d.ts +880 -0
  113. package/dist/lib/modules/tournament/match/match.validation.d.ts.map +1 -0
  114. package/dist/lib/modules/tournament/match/match.validation.js +74 -0
  115. package/dist/lib/modules/tournament/match/match.validation.js.map +1 -0
  116. package/dist/lib/modules/tournament/notification/jobs/notification.producer.d.ts +13 -0
  117. package/dist/lib/modules/tournament/notification/jobs/notification.producer.d.ts.map +1 -0
  118. package/dist/lib/modules/tournament/notification/jobs/notification.producer.js +28 -0
  119. package/dist/lib/modules/tournament/notification/jobs/notification.producer.js.map +1 -0
  120. package/dist/lib/modules/tournament/notification/jobs/notification.worker.d.ts +7 -0
  121. package/dist/lib/modules/tournament/notification/jobs/notification.worker.d.ts.map +1 -0
  122. package/dist/lib/modules/tournament/notification/jobs/notification.worker.js +76 -0
  123. package/dist/lib/modules/tournament/notification/jobs/notification.worker.js.map +1 -0
  124. package/dist/lib/modules/tournament/notification/notification.scheduler.service.d.ts +10 -0
  125. package/dist/lib/modules/tournament/notification/notification.scheduler.service.d.ts.map +1 -0
  126. package/dist/lib/modules/tournament/notification/notification.scheduler.service.js +86 -0
  127. package/dist/lib/modules/tournament/notification/notification.scheduler.service.js.map +1 -0
  128. package/dist/lib/modules/tournament/notification/notification.service.d.ts +11 -0
  129. package/dist/lib/modules/tournament/notification/notification.service.d.ts.map +1 -0
  130. package/dist/lib/modules/tournament/notification/notification.service.js +101 -0
  131. package/dist/lib/modules/tournament/notification/notification.service.js.map +1 -0
  132. package/dist/lib/modules/tournament/participant/participant.repository.d.ts +12 -0
  133. package/dist/lib/modules/tournament/participant/participant.repository.d.ts.map +1 -0
  134. package/dist/lib/modules/tournament/participant/participant.repository.js +73 -0
  135. package/dist/lib/modules/tournament/participant/participant.repository.js.map +1 -0
  136. package/dist/lib/modules/tournament/participant/participant.router.d.ts +104 -0
  137. package/dist/lib/modules/tournament/participant/participant.router.d.ts.map +1 -0
  138. package/dist/lib/modules/tournament/participant/participant.router.js +28 -0
  139. package/dist/lib/modules/tournament/participant/participant.router.js.map +1 -0
  140. package/dist/lib/modules/tournament/participant/participant.service.d.ts +14 -0
  141. package/dist/lib/modules/tournament/participant/participant.service.d.ts.map +1 -0
  142. package/dist/lib/modules/tournament/participant/participant.service.js +103 -0
  143. package/dist/lib/modules/tournament/participant/participant.service.js.map +1 -0
  144. package/dist/lib/modules/tournament/participant/participant.validation.d.ts +719 -0
  145. package/dist/lib/modules/tournament/participant/participant.validation.d.ts.map +1 -0
  146. package/dist/lib/modules/tournament/participant/participant.validation.js +44 -0
  147. package/dist/lib/modules/tournament/participant/participant.validation.js.map +1 -0
  148. package/dist/lib/modules/tournament/prediction/prediction.builder.d.ts +14 -0
  149. package/dist/lib/modules/tournament/prediction/prediction.builder.d.ts.map +1 -0
  150. package/dist/lib/modules/tournament/prediction/prediction.builder.js +23 -0
  151. package/dist/lib/modules/tournament/prediction/prediction.builder.js.map +1 -0
  152. package/dist/lib/modules/tournament/prediction/prediction.repository.d.ts +11 -0
  153. package/dist/lib/modules/tournament/prediction/prediction.repository.d.ts.map +1 -0
  154. package/dist/lib/modules/tournament/prediction/prediction.repository.js +73 -0
  155. package/dist/lib/modules/tournament/prediction/prediction.repository.js.map +1 -0
  156. package/dist/lib/modules/tournament/prediction/prediction.router.d.ts +133 -0
  157. package/dist/lib/modules/tournament/prediction/prediction.router.d.ts.map +1 -0
  158. package/dist/lib/modules/tournament/prediction/prediction.router.js +36 -0
  159. package/dist/lib/modules/tournament/prediction/prediction.router.js.map +1 -0
  160. package/dist/lib/modules/tournament/prediction/prediction.service.d.ts +17 -0
  161. package/dist/lib/modules/tournament/prediction/prediction.service.d.ts.map +1 -0
  162. package/dist/lib/modules/tournament/prediction/prediction.service.js +125 -0
  163. package/dist/lib/modules/tournament/prediction/prediction.service.js.map +1 -0
  164. package/dist/lib/modules/tournament/prediction/prediction.validation.d.ts +575 -0
  165. package/dist/lib/modules/tournament/prediction/prediction.validation.d.ts.map +1 -0
  166. package/dist/lib/modules/tournament/prediction/prediction.validation.js +46 -0
  167. package/dist/lib/modules/tournament/prediction/prediction.validation.js.map +1 -0
  168. package/dist/lib/modules/tournament/reward/handlers/coupon-reward.handler.d.ts +8 -0
  169. package/dist/lib/modules/tournament/reward/handlers/coupon-reward.handler.d.ts.map +1 -0
  170. package/dist/lib/modules/tournament/reward/handlers/coupon-reward.handler.js +65 -0
  171. package/dist/lib/modules/tournament/reward/handlers/coupon-reward.handler.js.map +1 -0
  172. package/dist/lib/modules/tournament/reward/reward.factory.d.ts +6 -0
  173. package/dist/lib/modules/tournament/reward/reward.factory.d.ts.map +1 -0
  174. package/dist/lib/modules/tournament/reward/reward.factory.js +21 -0
  175. package/dist/lib/modules/tournament/reward/reward.factory.js.map +1 -0
  176. package/dist/lib/modules/tournament/reward/reward.interface.d.ts +5 -0
  177. package/dist/lib/modules/tournament/reward/reward.interface.d.ts.map +1 -0
  178. package/dist/lib/modules/tournament/reward/reward.interface.js +3 -0
  179. package/dist/lib/modules/tournament/reward/reward.interface.js.map +1 -0
  180. package/dist/lib/modules/tournament/reward/reward.service.d.ts +6 -0
  181. package/dist/lib/modules/tournament/reward/reward.service.d.ts.map +1 -0
  182. package/dist/lib/modules/tournament/reward/reward.service.js +56 -0
  183. package/dist/lib/modules/tournament/reward/reward.service.js.map +1 -0
  184. package/dist/lib/modules/tournament/reward/reward.types.d.ts +11 -0
  185. package/dist/lib/modules/tournament/reward/reward.types.d.ts.map +1 -0
  186. package/dist/lib/modules/tournament/reward/reward.types.js +8 -0
  187. package/dist/lib/modules/tournament/reward/reward.types.js.map +1 -0
  188. package/dist/lib/modules/tournament/team/team.builder.d.ts +19 -0
  189. package/dist/lib/modules/tournament/team/team.builder.d.ts.map +1 -0
  190. package/dist/lib/modules/tournament/team/team.builder.js +18 -0
  191. package/dist/lib/modules/tournament/team/team.builder.js.map +1 -0
  192. package/dist/lib/modules/tournament/team/team.repository.d.ts +11 -0
  193. package/dist/lib/modules/tournament/team/team.repository.d.ts.map +1 -0
  194. package/dist/lib/modules/tournament/team/team.repository.js +71 -0
  195. package/dist/lib/modules/tournament/team/team.repository.js.map +1 -0
  196. package/dist/lib/modules/tournament/team/team.router.d.ts +237 -0
  197. package/dist/lib/modules/tournament/team/team.router.d.ts.map +1 -0
  198. package/dist/lib/modules/tournament/team/team.router.js +36 -0
  199. package/dist/lib/modules/tournament/team/team.router.js.map +1 -0
  200. package/dist/lib/modules/tournament/team/team.service.d.ts +15 -0
  201. package/dist/lib/modules/tournament/team/team.service.d.ts.map +1 -0
  202. package/dist/lib/modules/tournament/team/team.service.js +137 -0
  203. package/dist/lib/modules/tournament/team/team.service.js.map +1 -0
  204. package/dist/lib/modules/tournament/team/team.validation.d.ts +986 -0
  205. package/dist/lib/modules/tournament/team/team.validation.d.ts.map +1 -0
  206. package/dist/lib/modules/tournament/team/team.validation.js +55 -0
  207. package/dist/lib/modules/tournament/team/team.validation.js.map +1 -0
  208. package/dist/lib/modules/tournament/tournament.router.d.ts +1336 -0
  209. package/dist/lib/modules/tournament/tournament.router.d.ts.map +1 -0
  210. package/dist/lib/modules/tournament/tournament.router.js +17 -0
  211. package/dist/lib/modules/tournament/tournament.router.js.map +1 -0
  212. package/dist/types/event/event-initializations.d.ts.map +1 -1
  213. package/dist/types/events/event-initializations.d.ts +2 -0
  214. package/dist/types/events/event-initializations.d.ts.map +1 -0
  215. package/dist/types/index.d.ts +1346 -7
  216. package/dist/types/index.d.ts.map +1 -1
  217. package/dist/types/modules/coupon/routers/coupon.router.d.ts +4 -0
  218. package/dist/types/modules/coupon/routers/coupon.router.d.ts.map +1 -1
  219. package/dist/types/modules/coupon/services/custom-coupon.service.d.ts +2 -0
  220. package/dist/types/modules/coupon/services/custom-coupon.service.d.ts.map +1 -1
  221. package/dist/types/modules/coupon/services/global-coupon.service.d.ts +1 -1
  222. package/dist/types/modules/coupon/services/global-coupon.service.d.ts.map +1 -1
  223. package/dist/types/modules/coupon/services/helper.service.d.ts +2 -1
  224. package/dist/types/modules/coupon/services/helper.service.d.ts.map +1 -1
  225. package/dist/types/modules/coupon/services/individual-store-coupon.service.d.ts +2 -0
  226. package/dist/types/modules/coupon/services/individual-store-coupon.service.d.ts.map +1 -1
  227. package/dist/types/modules/coupon/services/individual-user-coupon.service.d.ts.map +1 -1
  228. package/dist/types/modules/coupon/services/patterns/repository/CouponRepository.d.ts.map +1 -1
  229. package/dist/types/modules/coupon/services/referral-code-coupon.service.d.ts.map +1 -1
  230. package/dist/types/modules/coupon/services/referral-reward-coupon.service.d.ts +1 -1
  231. package/dist/types/modules/coupon/services/referral-reward-coupon.service.d.ts.map +1 -1
  232. package/dist/types/modules/coupon/services/shops-categories-coupon.service.d.ts +2 -0
  233. package/dist/types/modules/coupon/services/shops-categories-coupon.service.d.ts.map +1 -1
  234. package/dist/types/modules/coupon/validations/coupon.validation.d.ts +13 -0
  235. package/dist/types/modules/coupon/validations/coupon.validation.d.ts.map +1 -1
  236. package/dist/types/modules/limited-time-offer/limited-time-offer.router.d.ts +6 -6
  237. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.router.d.ts +6 -6
  238. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.validation.d.ts +30 -30
  239. package/dist/types/modules/marketing/services/marketing.service.d.ts.map +1 -1
  240. package/dist/types/modules/marketing/services/synchronize-product-marketing.service.d.ts +2 -0
  241. package/dist/types/modules/marketing/services/synchronize-product-marketing.service.d.ts.map +1 -1
  242. package/dist/types/modules/marketing/validations/buy1-get1-marketing.validation.d.ts +18 -18
  243. package/dist/types/modules/marketing/validations/discount-marketing.validation.d.ts +30 -30
  244. package/dist/types/modules/marketing/validations/featured-marketing.validation.d.ts +6 -6
  245. package/dist/types/modules/marketing/validations/free-delivery-marketing.validation.d.ts +4 -4
  246. package/dist/types/modules/marketing/validations/marketing.validation.d.ts +2 -2
  247. package/dist/types/modules/marketing/validations/product-marketing.validation.d.ts +5 -5
  248. package/dist/types/modules/marketing/validations/punch-marketing.validation.d.ts +4 -4
  249. package/dist/types/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts +1 -1
  250. package/dist/types/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts +2 -2
  251. package/dist/types/modules/tournament/config/config.builder.d.ts +5 -0
  252. package/dist/types/modules/tournament/config/config.builder.d.ts.map +1 -0
  253. package/dist/types/modules/tournament/config/config.repository.d.ts +13 -0
  254. package/dist/types/modules/tournament/config/config.repository.d.ts.map +1 -0
  255. package/dist/types/modules/tournament/config/config.router.d.ts +363 -0
  256. package/dist/types/modules/tournament/config/config.router.d.ts.map +1 -0
  257. package/dist/types/modules/tournament/config/config.service.d.ts +14 -0
  258. package/dist/types/modules/tournament/config/config.service.d.ts.map +1 -0
  259. package/dist/types/modules/tournament/config/config.validation.d.ts +1014 -0
  260. package/dist/types/modules/tournament/config/config.validation.d.ts.map +1 -0
  261. package/dist/types/modules/tournament/config/tournament-config.validation.d.ts +201 -0
  262. package/dist/types/modules/tournament/config/tournament-config.validation.d.ts.map +1 -0
  263. package/dist/types/modules/tournament/match/events/match-ended.consumer.d.ts +2 -0
  264. package/dist/types/modules/tournament/match/events/match-ended.consumer.d.ts.map +1 -0
  265. package/dist/types/modules/tournament/match/events/match-ended.event.d.ts +14 -0
  266. package/dist/types/modules/tournament/match/events/match-ended.event.d.ts.map +1 -0
  267. package/dist/types/modules/tournament/match/match.builder.d.ts +38 -0
  268. package/dist/types/modules/tournament/match/match.builder.d.ts.map +1 -0
  269. package/dist/types/modules/tournament/match/match.repository.d.ts +13 -0
  270. package/dist/types/modules/tournament/match/match.repository.d.ts.map +1 -0
  271. package/dist/types/modules/tournament/match/match.router.d.ts +489 -0
  272. package/dist/types/modules/tournament/match/match.router.d.ts.map +1 -0
  273. package/dist/types/modules/tournament/match/match.service.d.ts +29 -0
  274. package/dist/types/modules/tournament/match/match.service.d.ts.map +1 -0
  275. package/dist/types/modules/tournament/match/match.validation.d.ts +880 -0
  276. package/dist/types/modules/tournament/match/match.validation.d.ts.map +1 -0
  277. package/dist/types/modules/tournament/notification/jobs/notification.producer.d.ts +13 -0
  278. package/dist/types/modules/tournament/notification/jobs/notification.producer.d.ts.map +1 -0
  279. package/dist/types/modules/tournament/notification/jobs/notification.worker.d.ts +7 -0
  280. package/dist/types/modules/tournament/notification/jobs/notification.worker.d.ts.map +1 -0
  281. package/dist/types/modules/tournament/notification/notification.scheduler.service.d.ts +10 -0
  282. package/dist/types/modules/tournament/notification/notification.scheduler.service.d.ts.map +1 -0
  283. package/dist/types/modules/tournament/notification/notification.service.d.ts +11 -0
  284. package/dist/types/modules/tournament/notification/notification.service.d.ts.map +1 -0
  285. package/dist/types/modules/tournament/participant/participant.repository.d.ts +12 -0
  286. package/dist/types/modules/tournament/participant/participant.repository.d.ts.map +1 -0
  287. package/dist/types/modules/tournament/participant/participant.router.d.ts +104 -0
  288. package/dist/types/modules/tournament/participant/participant.router.d.ts.map +1 -0
  289. package/dist/types/modules/tournament/participant/participant.service.d.ts +14 -0
  290. package/dist/types/modules/tournament/participant/participant.service.d.ts.map +1 -0
  291. package/dist/types/modules/tournament/participant/participant.validation.d.ts +719 -0
  292. package/dist/types/modules/tournament/participant/participant.validation.d.ts.map +1 -0
  293. package/dist/types/modules/tournament/prediction/prediction.builder.d.ts +14 -0
  294. package/dist/types/modules/tournament/prediction/prediction.builder.d.ts.map +1 -0
  295. package/dist/types/modules/tournament/prediction/prediction.repository.d.ts +11 -0
  296. package/dist/types/modules/tournament/prediction/prediction.repository.d.ts.map +1 -0
  297. package/dist/types/modules/tournament/prediction/prediction.router.d.ts +133 -0
  298. package/dist/types/modules/tournament/prediction/prediction.router.d.ts.map +1 -0
  299. package/dist/types/modules/tournament/prediction/prediction.service.d.ts +17 -0
  300. package/dist/types/modules/tournament/prediction/prediction.service.d.ts.map +1 -0
  301. package/dist/types/modules/tournament/prediction/prediction.validation.d.ts +575 -0
  302. package/dist/types/modules/tournament/prediction/prediction.validation.d.ts.map +1 -0
  303. package/dist/types/modules/tournament/reward/handlers/coupon-reward.handler.d.ts +8 -0
  304. package/dist/types/modules/tournament/reward/handlers/coupon-reward.handler.d.ts.map +1 -0
  305. package/dist/types/modules/tournament/reward/reward.factory.d.ts +6 -0
  306. package/dist/types/modules/tournament/reward/reward.factory.d.ts.map +1 -0
  307. package/dist/types/modules/tournament/reward/reward.interface.d.ts +5 -0
  308. package/dist/types/modules/tournament/reward/reward.interface.d.ts.map +1 -0
  309. package/dist/types/modules/tournament/reward/reward.service.d.ts +6 -0
  310. package/dist/types/modules/tournament/reward/reward.service.d.ts.map +1 -0
  311. package/dist/types/modules/tournament/reward/reward.types.d.ts +11 -0
  312. package/dist/types/modules/tournament/reward/reward.types.d.ts.map +1 -0
  313. package/dist/types/modules/tournament/team/team.builder.d.ts +19 -0
  314. package/dist/types/modules/tournament/team/team.builder.d.ts.map +1 -0
  315. package/dist/types/modules/tournament/team/team.repository.d.ts +11 -0
  316. package/dist/types/modules/tournament/team/team.repository.d.ts.map +1 -0
  317. package/dist/types/modules/tournament/team/team.router.d.ts +237 -0
  318. package/dist/types/modules/tournament/team/team.router.d.ts.map +1 -0
  319. package/dist/types/modules/tournament/team/team.service.d.ts +15 -0
  320. package/dist/types/modules/tournament/team/team.service.d.ts.map +1 -0
  321. package/dist/types/modules/tournament/team/team.validation.d.ts +986 -0
  322. package/dist/types/modules/tournament/team/team.validation.d.ts.map +1 -0
  323. package/dist/types/modules/tournament/tournament.router.d.ts +1336 -0
  324. package/dist/types/modules/tournament/tournament.router.d.ts.map +1 -0
  325. package/package.json +3 -3
  326. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.service.d.ts +0 -1
  327. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.service.d.ts.map +0 -1
  328. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.service.js +0 -2
  329. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.service.js.map +0 -1
@@ -0,0 +1,1014 @@
1
+ import { z } from 'zod';
2
+ import { DTO } from '@lyxa.ai/core/dist/utilities/validation/global-validation';
3
+ import { Status } from '@lyxa.ai/core/dist/utilities/enum';
4
+ export declare const CreateTournamentConfigSchema: z.ZodEffects<z.ZodObject<{
5
+ tag: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
6
+ startDate: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
7
+ endDate: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>;
8
+ status: z.ZodOptional<z.ZodNativeEnum<typeof Status>>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ startDate: Date;
11
+ endDate: Date;
12
+ tag: string;
13
+ status?: Status | undefined;
14
+ }, {
15
+ startDate: string | Date;
16
+ endDate: string | Date;
17
+ tag: string;
18
+ status?: Status | undefined;
19
+ }>, {
20
+ startDate: Date;
21
+ endDate: Date;
22
+ tag: string;
23
+ status?: Status | undefined;
24
+ }, {
25
+ startDate: string | Date;
26
+ endDate: string | Date;
27
+ tag: string;
28
+ status?: Status | undefined;
29
+ }>;
30
+ export declare const UpdateTournamentConfigSchema: z.ZodEffects<z.ZodObject<{
31
+ _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>]>;
32
+ tag: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
33
+ startDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
34
+ endDate: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>>;
35
+ status: z.ZodOptional<z.ZodNativeEnum<typeof Status>>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ _id: import("mongoose").Types.ObjectId;
38
+ status?: Status | undefined;
39
+ startDate?: Date | undefined;
40
+ endDate?: Date | undefined;
41
+ tag?: string | undefined;
42
+ }, {
43
+ _id: string | import("mongoose").Types.ObjectId;
44
+ status?: Status | undefined;
45
+ startDate?: string | Date | undefined;
46
+ endDate?: string | Date | undefined;
47
+ tag?: string | undefined;
48
+ }>, {
49
+ _id: import("mongoose").Types.ObjectId;
50
+ status?: Status | undefined;
51
+ startDate?: Date | undefined;
52
+ endDate?: Date | undefined;
53
+ tag?: string | undefined;
54
+ }, {
55
+ _id: string | import("mongoose").Types.ObjectId;
56
+ status?: Status | undefined;
57
+ startDate?: string | Date | undefined;
58
+ endDate?: string | Date | undefined;
59
+ tag?: string | undefined;
60
+ }>;
61
+ export declare const TournamentConfigSchema: z.ZodObject<{
62
+ _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>]>;
63
+ tag: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
64
+ startDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
65
+ endDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
66
+ status: z.ZodNativeEnum<typeof Status>;
67
+ teams: z.ZodDefault<z.ZodArray<z.ZodObject<{
68
+ _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>]>;
69
+ name: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
70
+ picture: z.ZodNullable<z.ZodOptional<z.ZodString>> | z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>>;
71
+ }, "strip", z.ZodTypeAny, {
72
+ name: string;
73
+ _id: import("mongoose").Types.ObjectId;
74
+ picture?: string | null | undefined;
75
+ }, {
76
+ name: string;
77
+ _id: string | import("mongoose").Types.ObjectId;
78
+ picture?: string | null | undefined;
79
+ }>, "many">>;
80
+ matches: z.ZodDefault<z.ZodArray<z.ZodObject<{
81
+ _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>]>;
82
+ additionalTag: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
83
+ stage: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
84
+ team1: z.ZodObject<{
85
+ 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>]>;
86
+ name: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
87
+ }, "strip", z.ZodTypeAny, {
88
+ name: string;
89
+ teamId: import("mongoose").Types.ObjectId;
90
+ }, {
91
+ name: string;
92
+ teamId: string | import("mongoose").Types.ObjectId;
93
+ }>;
94
+ team2: z.ZodObject<{
95
+ 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>]>;
96
+ name: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
97
+ }, "strip", z.ZodTypeAny, {
98
+ name: string;
99
+ teamId: import("mongoose").Types.ObjectId;
100
+ }, {
101
+ name: string;
102
+ teamId: string | import("mongoose").Types.ObjectId;
103
+ }>;
104
+ score: z.ZodObject<{
105
+ team1: z.ZodNullable<z.ZodNumber>;
106
+ team2: z.ZodNullable<z.ZodNumber>;
107
+ }, "strip", z.ZodTypeAny, {
108
+ team1: number | null;
109
+ team2: number | null;
110
+ }, {
111
+ team1: number | null;
112
+ team2: number | null;
113
+ }>;
114
+ winnerId: z.ZodOptional<z.ZodNullable<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>]>>>;
115
+ startingDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
116
+ endDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
117
+ }, "strip", z.ZodTypeAny, {
118
+ _id: import("mongoose").Types.ObjectId;
119
+ team1: {
120
+ name: string;
121
+ teamId: import("mongoose").Types.ObjectId;
122
+ };
123
+ team2: {
124
+ name: string;
125
+ teamId: import("mongoose").Types.ObjectId;
126
+ };
127
+ score: {
128
+ team1: number | null;
129
+ team2: number | null;
130
+ };
131
+ stage: string;
132
+ endDate?: Date | null | undefined;
133
+ startingDate?: Date | null | undefined;
134
+ additionalTag?: string | undefined;
135
+ winnerId?: import("mongoose").Types.ObjectId | null | undefined;
136
+ }, {
137
+ _id: string | import("mongoose").Types.ObjectId;
138
+ team1: {
139
+ name: string;
140
+ teamId: string | import("mongoose").Types.ObjectId;
141
+ };
142
+ team2: {
143
+ name: string;
144
+ teamId: string | import("mongoose").Types.ObjectId;
145
+ };
146
+ score: {
147
+ team1: number | null;
148
+ team2: number | null;
149
+ };
150
+ stage: string;
151
+ endDate?: Date | null | undefined;
152
+ startingDate?: Date | null | undefined;
153
+ additionalTag?: string | undefined;
154
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
155
+ }>, "many">>;
156
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
157
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
158
+ }, "strip", z.ZodTypeAny, {
159
+ status: Status;
160
+ _id: import("mongoose").Types.ObjectId;
161
+ tag: string;
162
+ matches: {
163
+ _id: import("mongoose").Types.ObjectId;
164
+ team1: {
165
+ name: string;
166
+ teamId: import("mongoose").Types.ObjectId;
167
+ };
168
+ team2: {
169
+ name: string;
170
+ teamId: import("mongoose").Types.ObjectId;
171
+ };
172
+ score: {
173
+ team1: number | null;
174
+ team2: number | null;
175
+ };
176
+ stage: string;
177
+ endDate?: Date | null | undefined;
178
+ startingDate?: Date | null | undefined;
179
+ additionalTag?: string | undefined;
180
+ winnerId?: import("mongoose").Types.ObjectId | null | undefined;
181
+ }[];
182
+ teams: {
183
+ name: string;
184
+ _id: import("mongoose").Types.ObjectId;
185
+ picture?: string | null | undefined;
186
+ }[];
187
+ createdAt?: Date | null | undefined;
188
+ startDate?: Date | null | undefined;
189
+ endDate?: Date | null | undefined;
190
+ updatedAt?: Date | null | undefined;
191
+ }, {
192
+ status: Status;
193
+ _id: string | import("mongoose").Types.ObjectId;
194
+ tag: string;
195
+ createdAt?: Date | null | undefined;
196
+ startDate?: Date | null | undefined;
197
+ endDate?: Date | null | undefined;
198
+ updatedAt?: Date | null | undefined;
199
+ matches?: {
200
+ _id: string | import("mongoose").Types.ObjectId;
201
+ team1: {
202
+ name: string;
203
+ teamId: string | import("mongoose").Types.ObjectId;
204
+ };
205
+ team2: {
206
+ name: string;
207
+ teamId: string | import("mongoose").Types.ObjectId;
208
+ };
209
+ score: {
210
+ team1: number | null;
211
+ team2: number | null;
212
+ };
213
+ stage: string;
214
+ endDate?: Date | null | undefined;
215
+ startingDate?: Date | null | undefined;
216
+ additionalTag?: string | undefined;
217
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
218
+ }[] | undefined;
219
+ teams?: {
220
+ name: string;
221
+ _id: string | import("mongoose").Types.ObjectId;
222
+ picture?: string | null | undefined;
223
+ }[] | undefined;
224
+ }>;
225
+ export declare const TournamentConfigResponseSchema: z.ZodObject<{
226
+ success: z.ZodBoolean;
227
+ message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
228
+ data: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
229
+ metadata: z.ZodOptional<z.ZodObject<{
230
+ page: z.ZodNumber;
231
+ size: z.ZodNumber;
232
+ totalElements: z.ZodNumber;
233
+ totalPages: z.ZodNumber;
234
+ }, "strip", z.ZodTypeAny, {
235
+ page: number;
236
+ size: number;
237
+ totalElements: number;
238
+ totalPages: number;
239
+ }, {
240
+ page: number;
241
+ size: number;
242
+ totalElements: number;
243
+ totalPages: number;
244
+ }>>;
245
+ documents: z.ZodArray<z.ZodType<{
246
+ status: Status;
247
+ _id: string | import("mongoose").Types.ObjectId;
248
+ tag: string;
249
+ createdAt?: Date | null | undefined;
250
+ startDate?: Date | null | undefined;
251
+ endDate?: Date | null | undefined;
252
+ updatedAt?: Date | null | undefined;
253
+ matches?: {
254
+ _id: string | import("mongoose").Types.ObjectId;
255
+ team1: {
256
+ name: string;
257
+ teamId: string | import("mongoose").Types.ObjectId;
258
+ };
259
+ team2: {
260
+ name: string;
261
+ teamId: string | import("mongoose").Types.ObjectId;
262
+ };
263
+ score: {
264
+ team1: number | null;
265
+ team2: number | null;
266
+ };
267
+ stage: string;
268
+ endDate?: Date | null | undefined;
269
+ startingDate?: Date | null | undefined;
270
+ additionalTag?: string | undefined;
271
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
272
+ }[] | undefined;
273
+ teams?: {
274
+ name: string;
275
+ _id: string | import("mongoose").Types.ObjectId;
276
+ picture?: string | null | undefined;
277
+ }[] | undefined;
278
+ }, z.ZodTypeDef, {
279
+ status: Status;
280
+ _id: string | import("mongoose").Types.ObjectId;
281
+ tag: string;
282
+ createdAt?: Date | null | undefined;
283
+ startDate?: Date | null | undefined;
284
+ endDate?: Date | null | undefined;
285
+ updatedAt?: Date | null | undefined;
286
+ matches?: {
287
+ _id: string | import("mongoose").Types.ObjectId;
288
+ team1: {
289
+ name: string;
290
+ teamId: string | import("mongoose").Types.ObjectId;
291
+ };
292
+ team2: {
293
+ name: string;
294
+ teamId: string | import("mongoose").Types.ObjectId;
295
+ };
296
+ score: {
297
+ team1: number | null;
298
+ team2: number | null;
299
+ };
300
+ stage: string;
301
+ endDate?: Date | null | undefined;
302
+ startingDate?: Date | null | undefined;
303
+ additionalTag?: string | undefined;
304
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
305
+ }[] | undefined;
306
+ teams?: {
307
+ name: string;
308
+ _id: string | import("mongoose").Types.ObjectId;
309
+ picture?: string | null | undefined;
310
+ }[] | undefined;
311
+ }>, "many">;
312
+ }, "strip", z.ZodTypeAny, {
313
+ documents: {
314
+ status: Status;
315
+ _id: string | import("mongoose").Types.ObjectId;
316
+ tag: string;
317
+ createdAt?: Date | null | undefined;
318
+ startDate?: Date | null | undefined;
319
+ endDate?: Date | null | undefined;
320
+ updatedAt?: Date | null | undefined;
321
+ matches?: {
322
+ _id: string | import("mongoose").Types.ObjectId;
323
+ team1: {
324
+ name: string;
325
+ teamId: string | import("mongoose").Types.ObjectId;
326
+ };
327
+ team2: {
328
+ name: string;
329
+ teamId: string | import("mongoose").Types.ObjectId;
330
+ };
331
+ score: {
332
+ team1: number | null;
333
+ team2: number | null;
334
+ };
335
+ stage: string;
336
+ endDate?: Date | null | undefined;
337
+ startingDate?: Date | null | undefined;
338
+ additionalTag?: string | undefined;
339
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
340
+ }[] | undefined;
341
+ teams?: {
342
+ name: string;
343
+ _id: string | import("mongoose").Types.ObjectId;
344
+ picture?: string | null | undefined;
345
+ }[] | undefined;
346
+ }[];
347
+ metadata?: {
348
+ page: number;
349
+ size: number;
350
+ totalElements: number;
351
+ totalPages: number;
352
+ } | undefined;
353
+ }, {
354
+ documents: {
355
+ status: Status;
356
+ _id: string | import("mongoose").Types.ObjectId;
357
+ tag: string;
358
+ createdAt?: Date | null | undefined;
359
+ startDate?: Date | null | undefined;
360
+ endDate?: Date | null | undefined;
361
+ updatedAt?: Date | null | undefined;
362
+ matches?: {
363
+ _id: string | import("mongoose").Types.ObjectId;
364
+ team1: {
365
+ name: string;
366
+ teamId: string | import("mongoose").Types.ObjectId;
367
+ };
368
+ team2: {
369
+ name: string;
370
+ teamId: string | import("mongoose").Types.ObjectId;
371
+ };
372
+ score: {
373
+ team1: number | null;
374
+ team2: number | null;
375
+ };
376
+ stage: string;
377
+ endDate?: Date | null | undefined;
378
+ startingDate?: Date | null | undefined;
379
+ additionalTag?: string | undefined;
380
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
381
+ }[] | undefined;
382
+ teams?: {
383
+ name: string;
384
+ _id: string | import("mongoose").Types.ObjectId;
385
+ picture?: string | null | undefined;
386
+ }[] | undefined;
387
+ }[];
388
+ metadata?: {
389
+ page: number;
390
+ size: number;
391
+ totalElements: number;
392
+ totalPages: number;
393
+ } | undefined;
394
+ }>, z.ZodType<{
395
+ status: Status;
396
+ _id: string | import("mongoose").Types.ObjectId;
397
+ tag: string;
398
+ createdAt?: Date | null | undefined;
399
+ startDate?: Date | null | undefined;
400
+ endDate?: Date | null | undefined;
401
+ updatedAt?: Date | null | undefined;
402
+ matches?: {
403
+ _id: string | import("mongoose").Types.ObjectId;
404
+ team1: {
405
+ name: string;
406
+ teamId: string | import("mongoose").Types.ObjectId;
407
+ };
408
+ team2: {
409
+ name: string;
410
+ teamId: string | import("mongoose").Types.ObjectId;
411
+ };
412
+ score: {
413
+ team1: number | null;
414
+ team2: number | null;
415
+ };
416
+ stage: string;
417
+ endDate?: Date | null | undefined;
418
+ startingDate?: Date | null | undefined;
419
+ additionalTag?: string | undefined;
420
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
421
+ }[] | undefined;
422
+ teams?: {
423
+ name: string;
424
+ _id: string | import("mongoose").Types.ObjectId;
425
+ picture?: string | null | undefined;
426
+ }[] | undefined;
427
+ }, z.ZodTypeDef, {
428
+ status: Status;
429
+ _id: string | import("mongoose").Types.ObjectId;
430
+ tag: string;
431
+ createdAt?: Date | null | undefined;
432
+ startDate?: Date | null | undefined;
433
+ endDate?: Date | null | undefined;
434
+ updatedAt?: Date | null | undefined;
435
+ matches?: {
436
+ _id: string | import("mongoose").Types.ObjectId;
437
+ team1: {
438
+ name: string;
439
+ teamId: string | import("mongoose").Types.ObjectId;
440
+ };
441
+ team2: {
442
+ name: string;
443
+ teamId: string | import("mongoose").Types.ObjectId;
444
+ };
445
+ score: {
446
+ team1: number | null;
447
+ team2: number | null;
448
+ };
449
+ stage: string;
450
+ endDate?: Date | null | undefined;
451
+ startingDate?: Date | null | undefined;
452
+ additionalTag?: string | undefined;
453
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
454
+ }[] | undefined;
455
+ teams?: {
456
+ name: string;
457
+ _id: string | import("mongoose").Types.ObjectId;
458
+ picture?: string | null | undefined;
459
+ }[] | undefined;
460
+ }>]>>;
461
+ }, "strip", z.ZodTypeAny, {
462
+ message: string;
463
+ success: boolean;
464
+ data?: {
465
+ status: Status;
466
+ _id: string | import("mongoose").Types.ObjectId;
467
+ tag: string;
468
+ createdAt?: Date | null | undefined;
469
+ startDate?: Date | null | undefined;
470
+ endDate?: Date | null | undefined;
471
+ updatedAt?: Date | null | undefined;
472
+ matches?: {
473
+ _id: string | import("mongoose").Types.ObjectId;
474
+ team1: {
475
+ name: string;
476
+ teamId: string | import("mongoose").Types.ObjectId;
477
+ };
478
+ team2: {
479
+ name: string;
480
+ teamId: string | import("mongoose").Types.ObjectId;
481
+ };
482
+ score: {
483
+ team1: number | null;
484
+ team2: number | null;
485
+ };
486
+ stage: string;
487
+ endDate?: Date | null | undefined;
488
+ startingDate?: Date | null | undefined;
489
+ additionalTag?: string | undefined;
490
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
491
+ }[] | undefined;
492
+ teams?: {
493
+ name: string;
494
+ _id: string | import("mongoose").Types.ObjectId;
495
+ picture?: string | null | undefined;
496
+ }[] | undefined;
497
+ } | {
498
+ documents: {
499
+ status: Status;
500
+ _id: string | import("mongoose").Types.ObjectId;
501
+ tag: string;
502
+ createdAt?: Date | null | undefined;
503
+ startDate?: Date | null | undefined;
504
+ endDate?: Date | null | undefined;
505
+ updatedAt?: Date | null | undefined;
506
+ matches?: {
507
+ _id: string | import("mongoose").Types.ObjectId;
508
+ team1: {
509
+ name: string;
510
+ teamId: string | import("mongoose").Types.ObjectId;
511
+ };
512
+ team2: {
513
+ name: string;
514
+ teamId: string | import("mongoose").Types.ObjectId;
515
+ };
516
+ score: {
517
+ team1: number | null;
518
+ team2: number | null;
519
+ };
520
+ stage: string;
521
+ endDate?: Date | null | undefined;
522
+ startingDate?: Date | null | undefined;
523
+ additionalTag?: string | undefined;
524
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
525
+ }[] | undefined;
526
+ teams?: {
527
+ name: string;
528
+ _id: string | import("mongoose").Types.ObjectId;
529
+ picture?: string | null | undefined;
530
+ }[] | undefined;
531
+ }[];
532
+ metadata?: {
533
+ page: number;
534
+ size: number;
535
+ totalElements: number;
536
+ totalPages: number;
537
+ } | undefined;
538
+ } | undefined;
539
+ }, {
540
+ message: string;
541
+ success: boolean;
542
+ data?: {
543
+ status: Status;
544
+ _id: string | import("mongoose").Types.ObjectId;
545
+ tag: string;
546
+ createdAt?: Date | null | undefined;
547
+ startDate?: Date | null | undefined;
548
+ endDate?: Date | null | undefined;
549
+ updatedAt?: Date | null | undefined;
550
+ matches?: {
551
+ _id: string | import("mongoose").Types.ObjectId;
552
+ team1: {
553
+ name: string;
554
+ teamId: string | import("mongoose").Types.ObjectId;
555
+ };
556
+ team2: {
557
+ name: string;
558
+ teamId: string | import("mongoose").Types.ObjectId;
559
+ };
560
+ score: {
561
+ team1: number | null;
562
+ team2: number | null;
563
+ };
564
+ stage: string;
565
+ endDate?: Date | null | undefined;
566
+ startingDate?: Date | null | undefined;
567
+ additionalTag?: string | undefined;
568
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
569
+ }[] | undefined;
570
+ teams?: {
571
+ name: string;
572
+ _id: string | import("mongoose").Types.ObjectId;
573
+ picture?: string | null | undefined;
574
+ }[] | undefined;
575
+ } | {
576
+ documents: {
577
+ status: Status;
578
+ _id: string | import("mongoose").Types.ObjectId;
579
+ tag: string;
580
+ createdAt?: Date | null | undefined;
581
+ startDate?: Date | null | undefined;
582
+ endDate?: Date | null | undefined;
583
+ updatedAt?: Date | null | undefined;
584
+ matches?: {
585
+ _id: string | import("mongoose").Types.ObjectId;
586
+ team1: {
587
+ name: string;
588
+ teamId: string | import("mongoose").Types.ObjectId;
589
+ };
590
+ team2: {
591
+ name: string;
592
+ teamId: string | import("mongoose").Types.ObjectId;
593
+ };
594
+ score: {
595
+ team1: number | null;
596
+ team2: number | null;
597
+ };
598
+ stage: string;
599
+ endDate?: Date | null | undefined;
600
+ startingDate?: Date | null | undefined;
601
+ additionalTag?: string | undefined;
602
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
603
+ }[] | undefined;
604
+ teams?: {
605
+ name: string;
606
+ _id: string | import("mongoose").Types.ObjectId;
607
+ picture?: string | null | undefined;
608
+ }[] | undefined;
609
+ }[];
610
+ metadata?: {
611
+ page: number;
612
+ size: number;
613
+ totalElements: number;
614
+ totalPages: number;
615
+ } | undefined;
616
+ } | undefined;
617
+ }>;
618
+ export declare const TournamentConfigListResponseSchema: z.ZodObject<{
619
+ success: z.ZodBoolean;
620
+ message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
621
+ data: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
622
+ metadata: z.ZodOptional<z.ZodObject<{
623
+ page: z.ZodNumber;
624
+ size: z.ZodNumber;
625
+ totalElements: z.ZodNumber;
626
+ totalPages: z.ZodNumber;
627
+ }, "strip", z.ZodTypeAny, {
628
+ page: number;
629
+ size: number;
630
+ totalElements: number;
631
+ totalPages: number;
632
+ }, {
633
+ page: number;
634
+ size: number;
635
+ totalElements: number;
636
+ totalPages: number;
637
+ }>>;
638
+ documents: z.ZodArray<z.ZodType<{
639
+ status: Status;
640
+ _id: string | import("mongoose").Types.ObjectId;
641
+ tag: string;
642
+ createdAt?: Date | null | undefined;
643
+ startDate?: Date | null | undefined;
644
+ endDate?: Date | null | undefined;
645
+ updatedAt?: Date | null | undefined;
646
+ matches?: {
647
+ _id: string | import("mongoose").Types.ObjectId;
648
+ team1: {
649
+ name: string;
650
+ teamId: string | import("mongoose").Types.ObjectId;
651
+ };
652
+ team2: {
653
+ name: string;
654
+ teamId: string | import("mongoose").Types.ObjectId;
655
+ };
656
+ score: {
657
+ team1: number | null;
658
+ team2: number | null;
659
+ };
660
+ stage: string;
661
+ endDate?: Date | null | undefined;
662
+ startingDate?: Date | null | undefined;
663
+ additionalTag?: string | undefined;
664
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
665
+ }[] | undefined;
666
+ teams?: {
667
+ name: string;
668
+ _id: string | import("mongoose").Types.ObjectId;
669
+ picture?: string | null | undefined;
670
+ }[] | undefined;
671
+ }[], z.ZodTypeDef, {
672
+ status: Status;
673
+ _id: string | import("mongoose").Types.ObjectId;
674
+ tag: string;
675
+ createdAt?: Date | null | undefined;
676
+ startDate?: Date | null | undefined;
677
+ endDate?: Date | null | undefined;
678
+ updatedAt?: Date | null | undefined;
679
+ matches?: {
680
+ _id: string | import("mongoose").Types.ObjectId;
681
+ team1: {
682
+ name: string;
683
+ teamId: string | import("mongoose").Types.ObjectId;
684
+ };
685
+ team2: {
686
+ name: string;
687
+ teamId: string | import("mongoose").Types.ObjectId;
688
+ };
689
+ score: {
690
+ team1: number | null;
691
+ team2: number | null;
692
+ };
693
+ stage: string;
694
+ endDate?: Date | null | undefined;
695
+ startingDate?: Date | null | undefined;
696
+ additionalTag?: string | undefined;
697
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
698
+ }[] | undefined;
699
+ teams?: {
700
+ name: string;
701
+ _id: string | import("mongoose").Types.ObjectId;
702
+ picture?: string | null | undefined;
703
+ }[] | undefined;
704
+ }[]>, "many">;
705
+ }, "strip", z.ZodTypeAny, {
706
+ documents: {
707
+ status: Status;
708
+ _id: string | import("mongoose").Types.ObjectId;
709
+ tag: string;
710
+ createdAt?: Date | null | undefined;
711
+ startDate?: Date | null | undefined;
712
+ endDate?: Date | null | undefined;
713
+ updatedAt?: Date | null | undefined;
714
+ matches?: {
715
+ _id: string | import("mongoose").Types.ObjectId;
716
+ team1: {
717
+ name: string;
718
+ teamId: string | import("mongoose").Types.ObjectId;
719
+ };
720
+ team2: {
721
+ name: string;
722
+ teamId: string | import("mongoose").Types.ObjectId;
723
+ };
724
+ score: {
725
+ team1: number | null;
726
+ team2: number | null;
727
+ };
728
+ stage: string;
729
+ endDate?: Date | null | undefined;
730
+ startingDate?: Date | null | undefined;
731
+ additionalTag?: string | undefined;
732
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
733
+ }[] | undefined;
734
+ teams?: {
735
+ name: string;
736
+ _id: string | import("mongoose").Types.ObjectId;
737
+ picture?: string | null | undefined;
738
+ }[] | undefined;
739
+ }[][];
740
+ metadata?: {
741
+ page: number;
742
+ size: number;
743
+ totalElements: number;
744
+ totalPages: number;
745
+ } | undefined;
746
+ }, {
747
+ documents: {
748
+ status: Status;
749
+ _id: string | import("mongoose").Types.ObjectId;
750
+ tag: string;
751
+ createdAt?: Date | null | undefined;
752
+ startDate?: Date | null | undefined;
753
+ endDate?: Date | null | undefined;
754
+ updatedAt?: Date | null | undefined;
755
+ matches?: {
756
+ _id: string | import("mongoose").Types.ObjectId;
757
+ team1: {
758
+ name: string;
759
+ teamId: string | import("mongoose").Types.ObjectId;
760
+ };
761
+ team2: {
762
+ name: string;
763
+ teamId: string | import("mongoose").Types.ObjectId;
764
+ };
765
+ score: {
766
+ team1: number | null;
767
+ team2: number | null;
768
+ };
769
+ stage: string;
770
+ endDate?: Date | null | undefined;
771
+ startingDate?: Date | null | undefined;
772
+ additionalTag?: string | undefined;
773
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
774
+ }[] | undefined;
775
+ teams?: {
776
+ name: string;
777
+ _id: string | import("mongoose").Types.ObjectId;
778
+ picture?: string | null | undefined;
779
+ }[] | undefined;
780
+ }[][];
781
+ metadata?: {
782
+ page: number;
783
+ size: number;
784
+ totalElements: number;
785
+ totalPages: number;
786
+ } | undefined;
787
+ }>, z.ZodType<{
788
+ status: Status;
789
+ _id: string | import("mongoose").Types.ObjectId;
790
+ tag: string;
791
+ createdAt?: Date | null | undefined;
792
+ startDate?: Date | null | undefined;
793
+ endDate?: Date | null | undefined;
794
+ updatedAt?: Date | null | undefined;
795
+ matches?: {
796
+ _id: string | import("mongoose").Types.ObjectId;
797
+ team1: {
798
+ name: string;
799
+ teamId: string | import("mongoose").Types.ObjectId;
800
+ };
801
+ team2: {
802
+ name: string;
803
+ teamId: string | import("mongoose").Types.ObjectId;
804
+ };
805
+ score: {
806
+ team1: number | null;
807
+ team2: number | null;
808
+ };
809
+ stage: string;
810
+ endDate?: Date | null | undefined;
811
+ startingDate?: Date | null | undefined;
812
+ additionalTag?: string | undefined;
813
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
814
+ }[] | undefined;
815
+ teams?: {
816
+ name: string;
817
+ _id: string | import("mongoose").Types.ObjectId;
818
+ picture?: string | null | undefined;
819
+ }[] | undefined;
820
+ }[], z.ZodTypeDef, {
821
+ status: Status;
822
+ _id: string | import("mongoose").Types.ObjectId;
823
+ tag: string;
824
+ createdAt?: Date | null | undefined;
825
+ startDate?: Date | null | undefined;
826
+ endDate?: Date | null | undefined;
827
+ updatedAt?: Date | null | undefined;
828
+ matches?: {
829
+ _id: string | import("mongoose").Types.ObjectId;
830
+ team1: {
831
+ name: string;
832
+ teamId: string | import("mongoose").Types.ObjectId;
833
+ };
834
+ team2: {
835
+ name: string;
836
+ teamId: string | import("mongoose").Types.ObjectId;
837
+ };
838
+ score: {
839
+ team1: number | null;
840
+ team2: number | null;
841
+ };
842
+ stage: string;
843
+ endDate?: Date | null | undefined;
844
+ startingDate?: Date | null | undefined;
845
+ additionalTag?: string | undefined;
846
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
847
+ }[] | undefined;
848
+ teams?: {
849
+ name: string;
850
+ _id: string | import("mongoose").Types.ObjectId;
851
+ picture?: string | null | undefined;
852
+ }[] | undefined;
853
+ }[]>]>>;
854
+ }, "strip", z.ZodTypeAny, {
855
+ message: string;
856
+ success: boolean;
857
+ data?: {
858
+ status: Status;
859
+ _id: string | import("mongoose").Types.ObjectId;
860
+ tag: string;
861
+ createdAt?: Date | null | undefined;
862
+ startDate?: Date | null | undefined;
863
+ endDate?: Date | null | undefined;
864
+ updatedAt?: Date | null | undefined;
865
+ matches?: {
866
+ _id: string | import("mongoose").Types.ObjectId;
867
+ team1: {
868
+ name: string;
869
+ teamId: string | import("mongoose").Types.ObjectId;
870
+ };
871
+ team2: {
872
+ name: string;
873
+ teamId: string | import("mongoose").Types.ObjectId;
874
+ };
875
+ score: {
876
+ team1: number | null;
877
+ team2: number | null;
878
+ };
879
+ stage: string;
880
+ endDate?: Date | null | undefined;
881
+ startingDate?: Date | null | undefined;
882
+ additionalTag?: string | undefined;
883
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
884
+ }[] | undefined;
885
+ teams?: {
886
+ name: string;
887
+ _id: string | import("mongoose").Types.ObjectId;
888
+ picture?: string | null | undefined;
889
+ }[] | undefined;
890
+ }[] | {
891
+ documents: {
892
+ status: Status;
893
+ _id: string | import("mongoose").Types.ObjectId;
894
+ tag: string;
895
+ createdAt?: Date | null | undefined;
896
+ startDate?: Date | null | undefined;
897
+ endDate?: Date | null | undefined;
898
+ updatedAt?: Date | null | undefined;
899
+ matches?: {
900
+ _id: string | import("mongoose").Types.ObjectId;
901
+ team1: {
902
+ name: string;
903
+ teamId: string | import("mongoose").Types.ObjectId;
904
+ };
905
+ team2: {
906
+ name: string;
907
+ teamId: string | import("mongoose").Types.ObjectId;
908
+ };
909
+ score: {
910
+ team1: number | null;
911
+ team2: number | null;
912
+ };
913
+ stage: string;
914
+ endDate?: Date | null | undefined;
915
+ startingDate?: Date | null | undefined;
916
+ additionalTag?: string | undefined;
917
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
918
+ }[] | undefined;
919
+ teams?: {
920
+ name: string;
921
+ _id: string | import("mongoose").Types.ObjectId;
922
+ picture?: string | null | undefined;
923
+ }[] | undefined;
924
+ }[][];
925
+ metadata?: {
926
+ page: number;
927
+ size: number;
928
+ totalElements: number;
929
+ totalPages: number;
930
+ } | undefined;
931
+ } | undefined;
932
+ }, {
933
+ message: string;
934
+ success: boolean;
935
+ data?: {
936
+ status: Status;
937
+ _id: string | import("mongoose").Types.ObjectId;
938
+ tag: string;
939
+ createdAt?: Date | null | undefined;
940
+ startDate?: Date | null | undefined;
941
+ endDate?: Date | null | undefined;
942
+ updatedAt?: Date | null | undefined;
943
+ matches?: {
944
+ _id: string | import("mongoose").Types.ObjectId;
945
+ team1: {
946
+ name: string;
947
+ teamId: string | import("mongoose").Types.ObjectId;
948
+ };
949
+ team2: {
950
+ name: string;
951
+ teamId: string | import("mongoose").Types.ObjectId;
952
+ };
953
+ score: {
954
+ team1: number | null;
955
+ team2: number | null;
956
+ };
957
+ stage: string;
958
+ endDate?: Date | null | undefined;
959
+ startingDate?: Date | null | undefined;
960
+ additionalTag?: string | undefined;
961
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
962
+ }[] | undefined;
963
+ teams?: {
964
+ name: string;
965
+ _id: string | import("mongoose").Types.ObjectId;
966
+ picture?: string | null | undefined;
967
+ }[] | undefined;
968
+ }[] | {
969
+ documents: {
970
+ status: Status;
971
+ _id: string | import("mongoose").Types.ObjectId;
972
+ tag: string;
973
+ createdAt?: Date | null | undefined;
974
+ startDate?: Date | null | undefined;
975
+ endDate?: Date | null | undefined;
976
+ updatedAt?: Date | null | undefined;
977
+ matches?: {
978
+ _id: string | import("mongoose").Types.ObjectId;
979
+ team1: {
980
+ name: string;
981
+ teamId: string | import("mongoose").Types.ObjectId;
982
+ };
983
+ team2: {
984
+ name: string;
985
+ teamId: string | import("mongoose").Types.ObjectId;
986
+ };
987
+ score: {
988
+ team1: number | null;
989
+ team2: number | null;
990
+ };
991
+ stage: string;
992
+ endDate?: Date | null | undefined;
993
+ startingDate?: Date | null | undefined;
994
+ additionalTag?: string | undefined;
995
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
996
+ }[] | undefined;
997
+ teams?: {
998
+ name: string;
999
+ _id: string | import("mongoose").Types.ObjectId;
1000
+ picture?: string | null | undefined;
1001
+ }[] | undefined;
1002
+ }[][];
1003
+ metadata?: {
1004
+ page: number;
1005
+ size: number;
1006
+ totalElements: number;
1007
+ totalPages: number;
1008
+ } | undefined;
1009
+ } | undefined;
1010
+ }>;
1011
+ export type CreateTournamentConfigInputDTO = DTO<typeof CreateTournamentConfigSchema>;
1012
+ export type UpdateTournamentConfigInputDTO = DTO<typeof UpdateTournamentConfigSchema>;
1013
+ export type TournamentConfigOutputDTO = DTO<typeof TournamentConfigSchema>;
1014
+ //# sourceMappingURL=config.validation.d.ts.map