@lyxa.ai/marketing 1.0.47 → 1.0.49

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