@lyxa.ai/marketing 1.0.49 → 1.0.51

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 (241) hide show
  1. package/dist/lib/index.d.ts +265 -21
  2. package/dist/lib/index.d.ts.map +1 -1
  3. package/dist/lib/modules/tournament/config/config.repository.d.ts +3 -0
  4. package/dist/lib/modules/tournament/config/config.repository.d.ts.map +1 -1
  5. package/dist/lib/modules/tournament/config/config.repository.js +3 -0
  6. package/dist/lib/modules/tournament/config/config.repository.js.map +1 -1
  7. package/dist/lib/modules/tournament/config/config.router.d.ts +10 -10
  8. package/dist/lib/modules/tournament/config/config.validation.d.ts +37 -36
  9. package/dist/lib/modules/tournament/config/config.validation.d.ts.map +1 -1
  10. package/dist/lib/modules/tournament/config/config.validation.js +4 -3
  11. package/dist/lib/modules/tournament/config/config.validation.js.map +1 -1
  12. package/dist/lib/modules/tournament/match/events/evaluate-predictions.consumer.d.ts.map +1 -1
  13. package/dist/lib/modules/tournament/match/events/evaluate-predictions.consumer.js +9 -1
  14. package/dist/lib/modules/tournament/match/events/evaluate-predictions.consumer.js.map +1 -1
  15. package/dist/lib/modules/tournament/match/match.builder.d.ts.map +1 -1
  16. package/dist/lib/modules/tournament/match/match.builder.js +2 -1
  17. package/dist/lib/modules/tournament/match/match.builder.js.map +1 -1
  18. package/dist/lib/modules/tournament/match/match.repository.d.ts +2 -0
  19. package/dist/lib/modules/tournament/match/match.repository.d.ts.map +1 -1
  20. package/dist/lib/modules/tournament/match/match.repository.js +10 -0
  21. package/dist/lib/modules/tournament/match/match.repository.js.map +1 -1
  22. package/dist/lib/modules/tournament/match/match.router.d.ts +16 -4
  23. package/dist/lib/modules/tournament/match/match.router.d.ts.map +1 -1
  24. package/dist/lib/modules/tournament/match/match.service.d.ts +0 -1
  25. package/dist/lib/modules/tournament/match/match.service.d.ts.map +1 -1
  26. package/dist/lib/modules/tournament/match/match.service.js +3 -9
  27. package/dist/lib/modules/tournament/match/match.service.js.map +1 -1
  28. package/dist/lib/modules/tournament/match/match.validation.d.ts +50 -0
  29. package/dist/lib/modules/tournament/match/match.validation.d.ts.map +1 -1
  30. package/dist/lib/modules/tournament/match/match.validation.js +1 -0
  31. package/dist/lib/modules/tournament/match/match.validation.js.map +1 -1
  32. package/dist/lib/modules/tournament/notification/jobs/notification.producer.d.ts +2 -5
  33. package/dist/lib/modules/tournament/notification/jobs/notification.producer.d.ts.map +1 -1
  34. package/dist/lib/modules/tournament/notification/jobs/notification.producer.js +1 -6
  35. package/dist/lib/modules/tournament/notification/jobs/notification.producer.js.map +1 -1
  36. package/dist/lib/modules/tournament/notification/jobs/notification.worker.d.ts +2 -0
  37. package/dist/lib/modules/tournament/notification/jobs/notification.worker.d.ts.map +1 -1
  38. package/dist/lib/modules/tournament/notification/jobs/notification.worker.js +15 -9
  39. package/dist/lib/modules/tournament/notification/jobs/notification.worker.js.map +1 -1
  40. package/dist/lib/modules/tournament/notification/notification-template.repository.d.ts +8 -0
  41. package/dist/lib/modules/tournament/notification/notification-template.repository.d.ts.map +1 -0
  42. package/dist/lib/modules/tournament/notification/notification-template.repository.js +60 -0
  43. package/dist/lib/modules/tournament/notification/notification-template.repository.js.map +1 -0
  44. package/dist/lib/modules/tournament/notification/notification.config.d.ts +10 -0
  45. package/dist/lib/modules/tournament/notification/notification.config.d.ts.map +1 -0
  46. package/dist/lib/modules/tournament/notification/notification.config.js +15 -0
  47. package/dist/lib/modules/tournament/notification/notification.config.js.map +1 -0
  48. package/dist/lib/modules/tournament/notification/notification.schedule.config.d.ts +10 -0
  49. package/dist/lib/modules/tournament/notification/notification.schedule.config.d.ts.map +1 -0
  50. package/dist/lib/modules/tournament/notification/notification.schedule.config.js +15 -0
  51. package/dist/lib/modules/tournament/notification/notification.schedule.config.js.map +1 -0
  52. package/dist/lib/modules/tournament/notification/notification.scheduler.service.d.ts +4 -4
  53. package/dist/lib/modules/tournament/notification/notification.scheduler.service.d.ts.map +1 -1
  54. package/dist/lib/modules/tournament/notification/notification.scheduler.service.js +15 -28
  55. package/dist/lib/modules/tournament/notification/notification.scheduler.service.js.map +1 -1
  56. package/dist/lib/modules/tournament/notification/notification.service.d.ts +5 -4
  57. package/dist/lib/modules/tournament/notification/notification.service.d.ts.map +1 -1
  58. package/dist/lib/modules/tournament/notification/notification.service.js +33 -28
  59. package/dist/lib/modules/tournament/notification/notification.service.js.map +1 -1
  60. package/dist/lib/modules/tournament/participant/participant.repository.d.ts +3 -0
  61. package/dist/lib/modules/tournament/participant/participant.repository.d.ts.map +1 -1
  62. package/dist/lib/modules/tournament/participant/participant.repository.js +14 -0
  63. package/dist/lib/modules/tournament/participant/participant.repository.js.map +1 -1
  64. package/dist/lib/modules/tournament/participant/participant.router.d.ts +27 -4
  65. package/dist/lib/modules/tournament/participant/participant.router.d.ts.map +1 -1
  66. package/dist/lib/modules/tournament/participant/participant.router.js +7 -0
  67. package/dist/lib/modules/tournament/participant/participant.router.js.map +1 -1
  68. package/dist/lib/modules/tournament/participant/participant.service.d.ts +2 -2
  69. package/dist/lib/modules/tournament/participant/participant.service.d.ts.map +1 -1
  70. package/dist/lib/modules/tournament/participant/participant.service.js +20 -6
  71. package/dist/lib/modules/tournament/participant/participant.service.js.map +1 -1
  72. package/dist/lib/modules/tournament/participant/participant.validation.d.ts +144 -36
  73. package/dist/lib/modules/tournament/participant/participant.validation.d.ts.map +1 -1
  74. package/dist/lib/modules/tournament/participant/participant.validation.js +10 -3
  75. package/dist/lib/modules/tournament/participant/participant.validation.js.map +1 -1
  76. package/dist/lib/modules/tournament/prediction/prediction.builder.d.ts.map +1 -1
  77. package/dist/lib/modules/tournament/prediction/prediction.builder.js +3 -2
  78. package/dist/lib/modules/tournament/prediction/prediction.builder.js.map +1 -1
  79. package/dist/lib/modules/tournament/prediction/prediction.service.d.ts +1 -0
  80. package/dist/lib/modules/tournament/prediction/prediction.service.d.ts.map +1 -1
  81. package/dist/lib/modules/tournament/prediction/prediction.service.js +12 -1
  82. package/dist/lib/modules/tournament/prediction/prediction.service.js.map +1 -1
  83. package/dist/lib/modules/tournament/reward/reward.builder.d.ts.map +1 -1
  84. package/dist/lib/modules/tournament/reward/reward.builder.js +2 -1
  85. package/dist/lib/modules/tournament/reward/reward.builder.js.map +1 -1
  86. package/dist/lib/modules/tournament/reward/reward.repository.d.ts +8 -0
  87. package/dist/lib/modules/tournament/reward/reward.repository.d.ts.map +1 -0
  88. package/dist/lib/modules/tournament/reward/reward.repository.js +66 -0
  89. package/dist/lib/modules/tournament/reward/reward.repository.js.map +1 -0
  90. package/dist/lib/modules/tournament/schedule/schedule.router.d.ts +27 -0
  91. package/dist/lib/modules/tournament/schedule/schedule.router.d.ts.map +1 -0
  92. package/dist/lib/modules/tournament/schedule/schedule.router.js +17 -0
  93. package/dist/lib/modules/tournament/schedule/schedule.router.js.map +1 -0
  94. package/dist/lib/modules/tournament/schedule/schedule.service.d.ts +10 -0
  95. package/dist/lib/modules/tournament/schedule/schedule.service.d.ts.map +1 -0
  96. package/dist/lib/modules/tournament/schedule/schedule.service.js +87 -0
  97. package/dist/lib/modules/tournament/schedule/schedule.service.js.map +1 -0
  98. package/dist/lib/modules/tournament/score/score.repository.d.ts +8 -1
  99. package/dist/lib/modules/tournament/score/score.repository.d.ts.map +1 -1
  100. package/dist/lib/modules/tournament/score/score.repository.js +12 -2
  101. package/dist/lib/modules/tournament/score/score.repository.js.map +1 -1
  102. package/dist/lib/modules/tournament/score/score.router.d.ts +98 -0
  103. package/dist/lib/modules/tournament/score/score.router.d.ts.map +1 -0
  104. package/dist/lib/modules/tournament/score/score.router.js +20 -0
  105. package/dist/lib/modules/tournament/score/score.router.js.map +1 -0
  106. package/dist/lib/modules/tournament/score/score.service.d.ts +7 -0
  107. package/dist/lib/modules/tournament/score/score.service.d.ts.map +1 -1
  108. package/dist/lib/modules/tournament/score/score.service.js +49 -0
  109. package/dist/lib/modules/tournament/score/score.service.js.map +1 -1
  110. package/dist/lib/modules/tournament/score/score.validation.d.ts +375 -0
  111. package/dist/lib/modules/tournament/score/score.validation.d.ts.map +1 -0
  112. package/dist/lib/modules/tournament/score/score.validation.js +19 -0
  113. package/dist/lib/modules/tournament/score/score.validation.js.map +1 -0
  114. package/dist/lib/modules/tournament/statistics/statistics.builder.d.ts +10 -0
  115. package/dist/lib/modules/tournament/statistics/statistics.builder.d.ts.map +1 -0
  116. package/dist/lib/modules/tournament/statistics/statistics.builder.js +53 -0
  117. package/dist/lib/modules/tournament/statistics/statistics.builder.js.map +1 -0
  118. package/dist/lib/modules/tournament/statistics/statistics.router.d.ts +80 -0
  119. package/dist/lib/modules/tournament/statistics/statistics.router.d.ts.map +1 -0
  120. package/dist/lib/modules/tournament/statistics/statistics.router.js +21 -0
  121. package/dist/lib/modules/tournament/statistics/statistics.router.js.map +1 -0
  122. package/dist/lib/modules/tournament/statistics/statistics.service.d.ts +11 -0
  123. package/dist/lib/modules/tournament/statistics/statistics.service.d.ts.map +1 -0
  124. package/dist/lib/modules/tournament/statistics/statistics.service.js +80 -0
  125. package/dist/lib/modules/tournament/statistics/statistics.service.js.map +1 -0
  126. package/dist/lib/modules/tournament/statistics/statistics.validation.d.ts +404 -0
  127. package/dist/lib/modules/tournament/statistics/statistics.validation.d.ts.map +1 -0
  128. package/dist/lib/modules/tournament/statistics/statistics.validation.js +36 -0
  129. package/dist/lib/modules/tournament/statistics/statistics.validation.js.map +1 -0
  130. package/dist/lib/modules/tournament/team/team.router.d.ts +9 -3
  131. package/dist/lib/modules/tournament/team/team.router.d.ts.map +1 -1
  132. package/dist/lib/modules/tournament/team/team.service.d.ts +1 -0
  133. package/dist/lib/modules/tournament/team/team.service.d.ts.map +1 -1
  134. package/dist/lib/modules/tournament/team/team.service.js +23 -16
  135. package/dist/lib/modules/tournament/team/team.service.js.map +1 -1
  136. package/dist/lib/modules/tournament/team/team.validation.d.ts +54 -4
  137. package/dist/lib/modules/tournament/team/team.validation.d.ts.map +1 -1
  138. package/dist/lib/modules/tournament/team/team.validation.js +4 -2
  139. package/dist/lib/modules/tournament/team/team.validation.js.map +1 -1
  140. package/dist/lib/modules/tournament/tournament.router.d.ts +370 -125
  141. package/dist/lib/modules/tournament/tournament.router.d.ts.map +1 -1
  142. package/dist/lib/modules/tournament/tournament.router.js +13 -2
  143. package/dist/lib/modules/tournament/tournament.router.js.map +1 -1
  144. package/dist/lib/modules/tournament/tournament.service.d.ts +3 -1
  145. package/dist/lib/modules/tournament/tournament.service.d.ts.map +1 -1
  146. package/dist/lib/modules/tournament/tournament.service.js +17 -2
  147. package/dist/lib/modules/tournament/tournament.service.js.map +1 -1
  148. package/dist/lib/modules/tournament/tournament.types.d.ts +14 -0
  149. package/dist/lib/modules/tournament/tournament.types.d.ts.map +1 -0
  150. package/dist/lib/modules/tournament/tournament.types.js +20 -0
  151. package/dist/lib/modules/tournament/tournament.types.js.map +1 -0
  152. package/dist/lib/modules/tournament/tournament.utils.d.ts +2 -0
  153. package/dist/lib/modules/tournament/tournament.utils.d.ts.map +1 -0
  154. package/dist/lib/modules/tournament/tournament.utils.js +6 -0
  155. package/dist/lib/modules/tournament/tournament.utils.js.map +1 -0
  156. package/dist/lib/modules/tournament/tournament.validation.d.ts +15 -0
  157. package/dist/lib/modules/tournament/tournament.validation.d.ts.map +1 -1
  158. package/dist/lib/modules/tournament/tournament.validation.js +4 -1
  159. package/dist/lib/modules/tournament/tournament.validation.js.map +1 -1
  160. package/dist/types/index.d.ts +265 -21
  161. package/dist/types/index.d.ts.map +1 -1
  162. package/dist/types/modules/tournament/config/config.repository.d.ts +3 -0
  163. package/dist/types/modules/tournament/config/config.repository.d.ts.map +1 -1
  164. package/dist/types/modules/tournament/config/config.router.d.ts +10 -10
  165. package/dist/types/modules/tournament/config/config.validation.d.ts +37 -36
  166. package/dist/types/modules/tournament/config/config.validation.d.ts.map +1 -1
  167. package/dist/types/modules/tournament/match/events/evaluate-predictions.consumer.d.ts.map +1 -1
  168. package/dist/types/modules/tournament/match/match.builder.d.ts.map +1 -1
  169. package/dist/types/modules/tournament/match/match.repository.d.ts +2 -0
  170. package/dist/types/modules/tournament/match/match.repository.d.ts.map +1 -1
  171. package/dist/types/modules/tournament/match/match.router.d.ts +16 -4
  172. package/dist/types/modules/tournament/match/match.router.d.ts.map +1 -1
  173. package/dist/types/modules/tournament/match/match.service.d.ts +0 -1
  174. package/dist/types/modules/tournament/match/match.service.d.ts.map +1 -1
  175. package/dist/types/modules/tournament/match/match.validation.d.ts +50 -0
  176. package/dist/types/modules/tournament/match/match.validation.d.ts.map +1 -1
  177. package/dist/types/modules/tournament/notification/jobs/notification.producer.d.ts +2 -5
  178. package/dist/types/modules/tournament/notification/jobs/notification.producer.d.ts.map +1 -1
  179. package/dist/types/modules/tournament/notification/jobs/notification.worker.d.ts +2 -0
  180. package/dist/types/modules/tournament/notification/jobs/notification.worker.d.ts.map +1 -1
  181. package/dist/types/modules/tournament/notification/notification-template.repository.d.ts +8 -0
  182. package/dist/types/modules/tournament/notification/notification-template.repository.d.ts.map +1 -0
  183. package/dist/types/modules/tournament/notification/notification.config.d.ts +10 -0
  184. package/dist/types/modules/tournament/notification/notification.config.d.ts.map +1 -0
  185. package/dist/types/modules/tournament/notification/notification.schedule.config.d.ts +10 -0
  186. package/dist/types/modules/tournament/notification/notification.schedule.config.d.ts.map +1 -0
  187. package/dist/types/modules/tournament/notification/notification.scheduler.service.d.ts +4 -4
  188. package/dist/types/modules/tournament/notification/notification.scheduler.service.d.ts.map +1 -1
  189. package/dist/types/modules/tournament/notification/notification.service.d.ts +5 -4
  190. package/dist/types/modules/tournament/notification/notification.service.d.ts.map +1 -1
  191. package/dist/types/modules/tournament/participant/participant.repository.d.ts +3 -0
  192. package/dist/types/modules/tournament/participant/participant.repository.d.ts.map +1 -1
  193. package/dist/types/modules/tournament/participant/participant.router.d.ts +27 -4
  194. package/dist/types/modules/tournament/participant/participant.router.d.ts.map +1 -1
  195. package/dist/types/modules/tournament/participant/participant.service.d.ts +2 -2
  196. package/dist/types/modules/tournament/participant/participant.service.d.ts.map +1 -1
  197. package/dist/types/modules/tournament/participant/participant.validation.d.ts +144 -36
  198. package/dist/types/modules/tournament/participant/participant.validation.d.ts.map +1 -1
  199. package/dist/types/modules/tournament/prediction/prediction.builder.d.ts.map +1 -1
  200. package/dist/types/modules/tournament/prediction/prediction.service.d.ts +1 -0
  201. package/dist/types/modules/tournament/prediction/prediction.service.d.ts.map +1 -1
  202. package/dist/types/modules/tournament/reward/reward.builder.d.ts.map +1 -1
  203. package/dist/types/modules/tournament/reward/reward.repository.d.ts +8 -0
  204. package/dist/types/modules/tournament/reward/reward.repository.d.ts.map +1 -0
  205. package/dist/types/modules/tournament/schedule/schedule.router.d.ts +27 -0
  206. package/dist/types/modules/tournament/schedule/schedule.router.d.ts.map +1 -0
  207. package/dist/types/modules/tournament/schedule/schedule.service.d.ts +10 -0
  208. package/dist/types/modules/tournament/schedule/schedule.service.d.ts.map +1 -0
  209. package/dist/types/modules/tournament/score/score.repository.d.ts +8 -1
  210. package/dist/types/modules/tournament/score/score.repository.d.ts.map +1 -1
  211. package/dist/types/modules/tournament/score/score.router.d.ts +98 -0
  212. package/dist/types/modules/tournament/score/score.router.d.ts.map +1 -0
  213. package/dist/types/modules/tournament/score/score.service.d.ts +7 -0
  214. package/dist/types/modules/tournament/score/score.service.d.ts.map +1 -1
  215. package/dist/types/modules/tournament/score/score.validation.d.ts +375 -0
  216. package/dist/types/modules/tournament/score/score.validation.d.ts.map +1 -0
  217. package/dist/types/modules/tournament/statistics/statistics.builder.d.ts +10 -0
  218. package/dist/types/modules/tournament/statistics/statistics.builder.d.ts.map +1 -0
  219. package/dist/types/modules/tournament/statistics/statistics.router.d.ts +80 -0
  220. package/dist/types/modules/tournament/statistics/statistics.router.d.ts.map +1 -0
  221. package/dist/types/modules/tournament/statistics/statistics.service.d.ts +11 -0
  222. package/dist/types/modules/tournament/statistics/statistics.service.d.ts.map +1 -0
  223. package/dist/types/modules/tournament/statistics/statistics.validation.d.ts +404 -0
  224. package/dist/types/modules/tournament/statistics/statistics.validation.d.ts.map +1 -0
  225. package/dist/types/modules/tournament/team/team.router.d.ts +9 -3
  226. package/dist/types/modules/tournament/team/team.router.d.ts.map +1 -1
  227. package/dist/types/modules/tournament/team/team.service.d.ts +1 -0
  228. package/dist/types/modules/tournament/team/team.service.d.ts.map +1 -1
  229. package/dist/types/modules/tournament/team/team.validation.d.ts +54 -4
  230. package/dist/types/modules/tournament/team/team.validation.d.ts.map +1 -1
  231. package/dist/types/modules/tournament/tournament.router.d.ts +370 -125
  232. package/dist/types/modules/tournament/tournament.router.d.ts.map +1 -1
  233. package/dist/types/modules/tournament/tournament.service.d.ts +3 -1
  234. package/dist/types/modules/tournament/tournament.service.d.ts.map +1 -1
  235. package/dist/types/modules/tournament/tournament.types.d.ts +14 -0
  236. package/dist/types/modules/tournament/tournament.types.d.ts.map +1 -0
  237. package/dist/types/modules/tournament/tournament.utils.d.ts +2 -0
  238. package/dist/types/modules/tournament/tournament.utils.d.ts.map +1 -0
  239. package/dist/types/modules/tournament/tournament.validation.d.ts +15 -0
  240. package/dist/types/modules/tournament/tournament.validation.d.ts.map +1 -1
  241. package/package.json +2 -2
@@ -7967,7 +7967,7 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
7967
7967
  name: string;
7968
7968
  startDate: string | Date;
7969
7969
  endDate: string | Date;
7970
- tag: string;
7970
+ tag: import("./modules/tournament/tournament.types").TournamentTag;
7971
7971
  status?: import("@lyxa.ai/core/dist/utilities/enum").Status | undefined;
7972
7972
  reward?: {
7973
7973
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
@@ -7984,12 +7984,12 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
7984
7984
  data?: {
7985
7985
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
7986
7986
  name: string;
7987
- tag: string;
7988
7987
  _id?: string | import("mongoose").Types.ObjectId | undefined;
7989
7988
  createdAt?: Date | null | undefined;
7990
7989
  startDate?: Date | null | undefined;
7991
7990
  endDate?: Date | null | undefined;
7992
7991
  updatedAt?: Date | null | undefined;
7992
+ tag?: import("./modules/tournament/tournament.types").TournamentTag | undefined;
7993
7993
  reward?: {
7994
7994
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
7995
7995
  } | {
@@ -8002,12 +8002,12 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8002
8002
  documents: {
8003
8003
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
8004
8004
  name: string;
8005
- tag: string;
8006
8005
  _id?: string | import("mongoose").Types.ObjectId | undefined;
8007
8006
  createdAt?: Date | null | undefined;
8008
8007
  startDate?: Date | null | undefined;
8009
8008
  endDate?: Date | null | undefined;
8010
8009
  updatedAt?: Date | null | undefined;
8010
+ tag?: import("./modules/tournament/tournament.types").TournamentTag | undefined;
8011
8011
  reward?: {
8012
8012
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
8013
8013
  } | {
@@ -8035,12 +8035,12 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8035
8035
  data?: {
8036
8036
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
8037
8037
  name: string;
8038
- tag: string;
8039
8038
  _id?: string | import("mongoose").Types.ObjectId | undefined;
8040
8039
  createdAt?: Date | null | undefined;
8041
8040
  startDate?: Date | null | undefined;
8042
8041
  endDate?: Date | null | undefined;
8043
8042
  updatedAt?: Date | null | undefined;
8043
+ tag?: import("./modules/tournament/tournament.types").TournamentTag | undefined;
8044
8044
  reward?: {
8045
8045
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
8046
8046
  } | {
@@ -8052,12 +8052,12 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8052
8052
  documents: {
8053
8053
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
8054
8054
  name: string;
8055
- tag: string;
8056
8055
  _id?: string | import("mongoose").Types.ObjectId | undefined;
8057
8056
  createdAt?: Date | null | undefined;
8058
8057
  startDate?: Date | null | undefined;
8059
8058
  endDate?: Date | null | undefined;
8060
8059
  updatedAt?: Date | null | undefined;
8060
+ tag?: import("./modules/tournament/tournament.types").TournamentTag | undefined;
8061
8061
  reward?: {
8062
8062
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
8063
8063
  } | {
@@ -8086,12 +8086,12 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8086
8086
  data?: {
8087
8087
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
8088
8088
  name: string;
8089
- tag: string;
8090
8089
  _id?: string | import("mongoose").Types.ObjectId | undefined;
8091
8090
  createdAt?: Date | null | undefined;
8092
8091
  startDate?: Date | null | undefined;
8093
8092
  endDate?: Date | null | undefined;
8094
8093
  updatedAt?: Date | null | undefined;
8094
+ tag?: import("./modules/tournament/tournament.types").TournamentTag | undefined;
8095
8095
  reward?: {
8096
8096
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
8097
8097
  } | {
@@ -8104,12 +8104,12 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8104
8104
  documents: {
8105
8105
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
8106
8106
  name: string;
8107
- tag: string;
8108
8107
  _id?: string | import("mongoose").Types.ObjectId | undefined;
8109
8108
  createdAt?: Date | null | undefined;
8110
8109
  startDate?: Date | null | undefined;
8111
8110
  endDate?: Date | null | undefined;
8112
8111
  updatedAt?: Date | null | undefined;
8112
+ tag?: import("./modules/tournament/tournament.types").TournamentTag | undefined;
8113
8113
  reward?: {
8114
8114
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
8115
8115
  } | {
@@ -8136,7 +8136,7 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8136
8136
  name?: string | undefined;
8137
8137
  startDate?: string | Date | undefined;
8138
8138
  endDate?: string | Date | undefined;
8139
- tag?: string | undefined;
8139
+ tag?: import("./modules/tournament/tournament.types").TournamentTag | undefined;
8140
8140
  reward?: {
8141
8141
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
8142
8142
  } | {
@@ -8152,12 +8152,12 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8152
8152
  data?: {
8153
8153
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
8154
8154
  name: string;
8155
- tag: string;
8156
8155
  _id?: string | import("mongoose").Types.ObjectId | undefined;
8157
8156
  createdAt?: Date | null | undefined;
8158
8157
  startDate?: Date | null | undefined;
8159
8158
  endDate?: Date | null | undefined;
8160
8159
  updatedAt?: Date | null | undefined;
8160
+ tag?: import("./modules/tournament/tournament.types").TournamentTag | undefined;
8161
8161
  reward?: {
8162
8162
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
8163
8163
  } | {
@@ -8170,12 +8170,12 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8170
8170
  documents: {
8171
8171
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
8172
8172
  name: string;
8173
- tag: string;
8174
8173
  _id?: string | import("mongoose").Types.ObjectId | undefined;
8175
8174
  createdAt?: Date | null | undefined;
8176
8175
  startDate?: Date | null | undefined;
8177
8176
  endDate?: Date | null | undefined;
8178
8177
  updatedAt?: Date | null | undefined;
8178
+ tag?: import("./modules/tournament/tournament.types").TournamentTag | undefined;
8179
8179
  reward?: {
8180
8180
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
8181
8181
  } | {
@@ -8226,12 +8226,12 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8226
8226
  data?: {
8227
8227
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
8228
8228
  name: string;
8229
- tag: string;
8230
8229
  _id?: string | import("mongoose").Types.ObjectId | undefined;
8231
8230
  createdAt?: Date | null | undefined;
8232
8231
  startDate?: Date | null | undefined;
8233
8232
  endDate?: Date | null | undefined;
8234
8233
  updatedAt?: Date | null | undefined;
8234
+ tag?: import("./modules/tournament/tournament.types").TournamentTag | undefined;
8235
8235
  reward?: {
8236
8236
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
8237
8237
  } | {
@@ -8244,12 +8244,12 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8244
8244
  documents: {
8245
8245
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
8246
8246
  name: string;
8247
- tag: string;
8248
8247
  _id?: string | import("mongoose").Types.ObjectId | undefined;
8249
8248
  createdAt?: Date | null | undefined;
8250
8249
  startDate?: Date | null | undefined;
8251
8250
  endDate?: Date | null | undefined;
8252
8251
  updatedAt?: Date | null | undefined;
8252
+ tag?: import("./modules/tournament/tournament.types").TournamentTag | undefined;
8253
8253
  reward?: {
8254
8254
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
8255
8255
  } | {
@@ -8312,8 +8312,8 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8312
8312
  }>;
8313
8313
  getMatches: import("@trpc/server").TRPCQueryProcedure<{
8314
8314
  input: {
8315
- filter: "completed" | "upcoming";
8316
8315
  tournamentId: string | import("mongoose").Types.ObjectId;
8316
+ filter?: import("./modules/tournament/tournament.types").MatchStatus | undefined;
8317
8317
  };
8318
8318
  output: {
8319
8319
  message: string;
@@ -8327,16 +8327,19 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8327
8327
  team1: {
8328
8328
  name: string;
8329
8329
  teamId: string | import("mongoose").Types.ObjectId;
8330
+ picture?: string | undefined;
8330
8331
  };
8331
8332
  team2: {
8332
8333
  name: string;
8333
8334
  teamId: string | import("mongoose").Types.ObjectId;
8335
+ picture?: string | undefined;
8334
8336
  };
8335
8337
  score: {
8336
8338
  team1: number | null;
8337
8339
  team2: number | null;
8338
8340
  };
8339
8341
  stage: string;
8342
+ matchStatus: import("./modules/tournament/tournament.types").MatchStatus;
8340
8343
  prediction: {
8341
8344
  score: {
8342
8345
  team1: number | null;
@@ -8362,16 +8365,19 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8362
8365
  team1: {
8363
8366
  name: string;
8364
8367
  teamId: string | import("mongoose").Types.ObjectId;
8368
+ picture?: string | undefined;
8365
8369
  };
8366
8370
  team2: {
8367
8371
  name: string;
8368
8372
  teamId: string | import("mongoose").Types.ObjectId;
8373
+ picture?: string | undefined;
8369
8374
  };
8370
8375
  score: {
8371
8376
  team1: number | null;
8372
8377
  team2: number | null;
8373
8378
  };
8374
8379
  stage: string;
8380
+ matchStatus: import("./modules/tournament/tournament.types").MatchStatus;
8375
8381
  prediction: {
8376
8382
  score: {
8377
8383
  team1: number | null;
@@ -8433,12 +8439,12 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8433
8439
  data?: {
8434
8440
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
8435
8441
  name: string;
8436
- tag: string;
8437
8442
  _id?: string | import("mongoose").Types.ObjectId | undefined;
8438
8443
  createdAt?: Date | null | undefined;
8439
8444
  startDate?: Date | null | undefined;
8440
8445
  endDate?: Date | null | undefined;
8441
8446
  updatedAt?: Date | null | undefined;
8447
+ tag?: import("./modules/tournament/tournament.types").TournamentTag | undefined;
8442
8448
  reward?: {
8443
8449
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
8444
8450
  } | {
@@ -8451,12 +8457,12 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8451
8457
  documents: {
8452
8458
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
8453
8459
  name: string;
8454
- tag: string;
8455
8460
  _id?: string | import("mongoose").Types.ObjectId | undefined;
8456
8461
  createdAt?: Date | null | undefined;
8457
8462
  startDate?: Date | null | undefined;
8458
8463
  endDate?: Date | null | undefined;
8459
8464
  updatedAt?: Date | null | undefined;
8465
+ tag?: import("./modules/tournament/tournament.types").TournamentTag | undefined;
8460
8466
  reward?: {
8461
8467
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
8462
8468
  } | {
@@ -8488,10 +8494,12 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8488
8494
  team1: {
8489
8495
  name: string;
8490
8496
  teamId: string | import("mongoose").Types.ObjectId;
8497
+ picture?: string | undefined;
8491
8498
  };
8492
8499
  team2: {
8493
8500
  name: string;
8494
8501
  teamId: string | import("mongoose").Types.ObjectId;
8502
+ picture?: string | undefined;
8495
8503
  };
8496
8504
  score: {
8497
8505
  team1: number | null;
@@ -8515,10 +8523,12 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8515
8523
  team1: {
8516
8524
  name: string;
8517
8525
  teamId: string | import("mongoose").Types.ObjectId;
8526
+ picture?: string | undefined;
8518
8527
  };
8519
8528
  team2: {
8520
8529
  name: string;
8521
8530
  teamId: string | import("mongoose").Types.ObjectId;
8531
+ picture?: string | undefined;
8522
8532
  };
8523
8533
  score: {
8524
8534
  team1: number | null;
@@ -8560,10 +8570,12 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8560
8570
  team1: {
8561
8571
  name: string;
8562
8572
  teamId: string | import("mongoose").Types.ObjectId;
8573
+ picture?: string | undefined;
8563
8574
  };
8564
8575
  team2: {
8565
8576
  name: string;
8566
8577
  teamId: string | import("mongoose").Types.ObjectId;
8578
+ picture?: string | undefined;
8567
8579
  };
8568
8580
  score: {
8569
8581
  team1: number | null;
@@ -8587,10 +8599,12 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8587
8599
  team1: {
8588
8600
  name: string;
8589
8601
  teamId: string | import("mongoose").Types.ObjectId;
8602
+ picture?: string | undefined;
8590
8603
  };
8591
8604
  team2: {
8592
8605
  name: string;
8593
8606
  teamId: string | import("mongoose").Types.ObjectId;
8607
+ picture?: string | undefined;
8594
8608
  };
8595
8609
  score: {
8596
8610
  team1: number | null;
@@ -8636,10 +8650,12 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8636
8650
  team1: {
8637
8651
  name: string;
8638
8652
  teamId: string | import("mongoose").Types.ObjectId;
8653
+ picture?: string | undefined;
8639
8654
  };
8640
8655
  team2: {
8641
8656
  name: string;
8642
8657
  teamId: string | import("mongoose").Types.ObjectId;
8658
+ picture?: string | undefined;
8643
8659
  };
8644
8660
  score: {
8645
8661
  team1: number | null;
@@ -8663,10 +8679,12 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8663
8679
  team1: {
8664
8680
  name: string;
8665
8681
  teamId: string | import("mongoose").Types.ObjectId;
8682
+ picture?: string | undefined;
8666
8683
  };
8667
8684
  team2: {
8668
8685
  name: string;
8669
8686
  teamId: string | import("mongoose").Types.ObjectId;
8687
+ picture?: string | undefined;
8670
8688
  };
8671
8689
  score: {
8672
8690
  team1: number | null;
@@ -8706,12 +8724,12 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8706
8724
  data?: {
8707
8725
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
8708
8726
  name: string;
8709
- tag: string;
8710
8727
  _id?: string | import("mongoose").Types.ObjectId | undefined;
8711
8728
  createdAt?: Date | null | undefined;
8712
8729
  startDate?: Date | null | undefined;
8713
8730
  endDate?: Date | null | undefined;
8714
8731
  updatedAt?: Date | null | undefined;
8732
+ tag?: import("./modules/tournament/tournament.types").TournamentTag | undefined;
8715
8733
  reward?: {
8716
8734
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
8717
8735
  } | {
@@ -8724,12 +8742,12 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8724
8742
  documents: {
8725
8743
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
8726
8744
  name: string;
8727
- tag: string;
8728
8745
  _id?: string | import("mongoose").Types.ObjectId | undefined;
8729
8746
  createdAt?: Date | null | undefined;
8730
8747
  startDate?: Date | null | undefined;
8731
8748
  endDate?: Date | null | undefined;
8732
8749
  updatedAt?: Date | null | undefined;
8750
+ tag?: import("./modules/tournament/tournament.types").TournamentTag | undefined;
8733
8751
  reward?: {
8734
8752
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
8735
8753
  } | {
@@ -8775,16 +8793,18 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8775
8793
  message: string;
8776
8794
  success: boolean;
8777
8795
  data?: {
8796
+ status: "joined" | "seen";
8778
8797
  _id: string | import("mongoose").Types.ObjectId;
8779
8798
  tournamentId: string | import("mongoose").Types.ObjectId;
8780
- teamId: string | import("mongoose").Types.ObjectId;
8781
8799
  createdAt?: Date | null | undefined;
8800
+ teamId?: string | import("mongoose").Types.ObjectId | undefined;
8782
8801
  } | {
8783
8802
  documents: {
8803
+ status: "joined" | "seen";
8784
8804
  _id: string | import("mongoose").Types.ObjectId;
8785
8805
  tournamentId: string | import("mongoose").Types.ObjectId;
8786
- teamId: string | import("mongoose").Types.ObjectId;
8787
8806
  createdAt?: Date | null | undefined;
8807
+ teamId?: string | import("mongoose").Types.ObjectId | undefined;
8788
8808
  }[];
8789
8809
  metadata?: {
8790
8810
  page: number;
@@ -8796,6 +8816,25 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8796
8816
  };
8797
8817
  meta: object;
8798
8818
  }>;
8819
+ markSeen: import("@trpc/server").TRPCMutationProcedure<{
8820
+ input: {
8821
+ tournamentId: string | import("mongoose").Types.ObjectId;
8822
+ };
8823
+ output: {
8824
+ message: string;
8825
+ success: boolean;
8826
+ data?: {
8827
+ documents: null[];
8828
+ metadata?: {
8829
+ page: number;
8830
+ size: number;
8831
+ totalElements: number;
8832
+ totalPages: number;
8833
+ } | undefined;
8834
+ } | null | undefined;
8835
+ };
8836
+ meta: object;
8837
+ }>;
8799
8838
  getAll: import("@trpc/server").TRPCQueryProcedure<{
8800
8839
  input: {
8801
8840
  tournamentId: string | import("mongoose").Types.ObjectId;
@@ -8804,12 +8843,13 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8804
8843
  message: string;
8805
8844
  success: boolean;
8806
8845
  data?: {
8846
+ status: "joined" | "seen";
8807
8847
  _id: string | import("mongoose").Types.ObjectId;
8808
8848
  userId: string | import("mongoose").Types.ObjectId;
8809
8849
  tournamentId: string | import("mongoose").Types.ObjectId;
8810
- teamId: string | import("mongoose").Types.ObjectId;
8811
8850
  createdAt?: Date | null | undefined;
8812
8851
  updatedAt?: Date | null | undefined;
8852
+ teamId?: string | import("mongoose").Types.ObjectId | undefined;
8813
8853
  predictions?: {
8814
8854
  _id: string | import("mongoose").Types.ObjectId;
8815
8855
  matchId: string | import("mongoose").Types.ObjectId;
@@ -8823,12 +8863,13 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8823
8863
  }[] | undefined;
8824
8864
  }[] | {
8825
8865
  documents: {
8866
+ status: "joined" | "seen";
8826
8867
  _id: string | import("mongoose").Types.ObjectId;
8827
8868
  userId: string | import("mongoose").Types.ObjectId;
8828
8869
  tournamentId: string | import("mongoose").Types.ObjectId;
8829
- teamId: string | import("mongoose").Types.ObjectId;
8830
8870
  createdAt?: Date | null | undefined;
8831
8871
  updatedAt?: Date | null | undefined;
8872
+ teamId?: string | import("mongoose").Types.ObjectId | undefined;
8832
8873
  predictions?: {
8833
8874
  _id: string | import("mongoose").Types.ObjectId;
8834
8875
  matchId: string | import("mongoose").Types.ObjectId;
@@ -8983,6 +9024,207 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8983
9024
  meta: object;
8984
9025
  }>;
8985
9026
  }>>;
9027
+ statistics: import("@trpc/server").TRPCBuiltRouter<{
9028
+ ctx: import("@lyxa.ai/core/dist/libraries/trpc/context").LyxaHTTPContext;
9029
+ meta: object;
9030
+ errorShape: {
9031
+ message: string;
9032
+ data: {
9033
+ stack: undefined;
9034
+ path: undefined;
9035
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
9036
+ httpStatus: number;
9037
+ };
9038
+ stack: undefined;
9039
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
9040
+ };
9041
+ transformer: false;
9042
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
9043
+ getActiveByUser: import("@trpc/server").TRPCQueryProcedure<{
9044
+ input: {
9045
+ userId: string | import("mongoose").Types.ObjectId;
9046
+ };
9047
+ output: {
9048
+ message: string;
9049
+ success: boolean;
9050
+ data?: {
9051
+ name: string;
9052
+ joinedAt: Date | null;
9053
+ stats: {
9054
+ predictionsMade: number;
9055
+ correctPredictions: number;
9056
+ couponsWon: number;
9057
+ };
9058
+ matches: {
9059
+ date: string | null;
9060
+ coupon: string | null;
9061
+ id: string;
9062
+ result: "won" | "lost" | "pending" | null;
9063
+ teams: string;
9064
+ prediction: string | null;
9065
+ realScore: string | null;
9066
+ }[];
9067
+ selectedTeam: {
9068
+ name: string;
9069
+ flag: string | null;
9070
+ };
9071
+ } | {
9072
+ documents: ({
9073
+ name: string;
9074
+ joinedAt: Date | null;
9075
+ stats: {
9076
+ predictionsMade: number;
9077
+ correctPredictions: number;
9078
+ couponsWon: number;
9079
+ };
9080
+ matches: {
9081
+ date: string | null;
9082
+ coupon: string | null;
9083
+ id: string;
9084
+ result: "won" | "lost" | "pending" | null;
9085
+ teams: string;
9086
+ prediction: string | null;
9087
+ realScore: string | null;
9088
+ }[];
9089
+ selectedTeam: {
9090
+ name: string;
9091
+ flag: string | null;
9092
+ };
9093
+ } | null)[];
9094
+ metadata?: {
9095
+ page: number;
9096
+ size: number;
9097
+ totalElements: number;
9098
+ totalPages: number;
9099
+ } | undefined;
9100
+ } | null | undefined;
9101
+ };
9102
+ meta: object;
9103
+ }>;
9104
+ }>>;
9105
+ schedule: import("@trpc/server").TRPCBuiltRouter<{
9106
+ ctx: import("@lyxa.ai/core/dist/libraries/trpc/context").LyxaHTTPContext;
9107
+ meta: object;
9108
+ errorShape: {
9109
+ message: string;
9110
+ data: {
9111
+ stack: undefined;
9112
+ path: undefined;
9113
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
9114
+ httpStatus: number;
9115
+ };
9116
+ stack: undefined;
9117
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
9118
+ };
9119
+ transformer: false;
9120
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
9121
+ dispatch: import("@trpc/server").TRPCMutationProcedure<{
9122
+ input: void;
9123
+ output: {
9124
+ success: boolean;
9125
+ message: string;
9126
+ data: null | undefined;
9127
+ };
9128
+ meta: object;
9129
+ }>;
9130
+ }>>;
9131
+ score: import("@trpc/server").TRPCBuiltRouter<{
9132
+ ctx: import("@lyxa.ai/core/dist/libraries/trpc/context").LyxaHTTPContext;
9133
+ meta: object;
9134
+ errorShape: {
9135
+ message: string;
9136
+ data: {
9137
+ stack: undefined;
9138
+ path: undefined;
9139
+ code: import("@trpc/server").TRPC_ERROR_CODE_KEY;
9140
+ httpStatus: number;
9141
+ };
9142
+ stack: undefined;
9143
+ code: import("@trpc/server").TRPC_ERROR_CODE_NUMBER;
9144
+ };
9145
+ transformer: false;
9146
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
9147
+ updateMatchScore: import("@trpc/server").TRPCMutationProcedure<{
9148
+ input: {
9149
+ tournamentId: string | import("mongoose").Types.ObjectId;
9150
+ matchId: string | import("mongoose").Types.ObjectId;
9151
+ teams: {
9152
+ score: number;
9153
+ teamId: string | import("mongoose").Types.ObjectId;
9154
+ }[];
9155
+ };
9156
+ output: {
9157
+ message: string;
9158
+ success: boolean;
9159
+ data?: {
9160
+ _id: string | import("mongoose").Types.ObjectId;
9161
+ team1: {
9162
+ name: string;
9163
+ teamId: string | import("mongoose").Types.ObjectId;
9164
+ picture?: string | undefined;
9165
+ };
9166
+ team2: {
9167
+ name: string;
9168
+ teamId: string | import("mongoose").Types.ObjectId;
9169
+ picture?: string | undefined;
9170
+ };
9171
+ score: {
9172
+ team1: number | null;
9173
+ team2: number | null;
9174
+ };
9175
+ stage: string;
9176
+ endDate?: Date | null | undefined;
9177
+ additionalTag?: string | undefined;
9178
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
9179
+ startingDate?: Date | null | undefined;
9180
+ prediction?: {
9181
+ score: {
9182
+ team1: number | null;
9183
+ team2: number | null;
9184
+ };
9185
+ succeeded?: boolean | null | undefined;
9186
+ } | null | undefined;
9187
+ } | {
9188
+ documents: {
9189
+ _id: string | import("mongoose").Types.ObjectId;
9190
+ team1: {
9191
+ name: string;
9192
+ teamId: string | import("mongoose").Types.ObjectId;
9193
+ picture?: string | undefined;
9194
+ };
9195
+ team2: {
9196
+ name: string;
9197
+ teamId: string | import("mongoose").Types.ObjectId;
9198
+ picture?: string | undefined;
9199
+ };
9200
+ score: {
9201
+ team1: number | null;
9202
+ team2: number | null;
9203
+ };
9204
+ stage: string;
9205
+ endDate?: Date | null | undefined;
9206
+ additionalTag?: string | undefined;
9207
+ winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
9208
+ startingDate?: Date | null | undefined;
9209
+ prediction?: {
9210
+ score: {
9211
+ team1: number | null;
9212
+ team2: number | null;
9213
+ };
9214
+ succeeded?: boolean | null | undefined;
9215
+ } | null | undefined;
9216
+ }[];
9217
+ metadata?: {
9218
+ page: number;
9219
+ size: number;
9220
+ totalElements: number;
9221
+ totalPages: number;
9222
+ } | undefined;
9223
+ } | undefined;
9224
+ };
9225
+ meta: object;
9226
+ }>;
9227
+ }>>;
8986
9228
  getActive: import("@trpc/server").TRPCQueryProcedure<{
8987
9229
  input: void;
8988
9230
  output: {
@@ -8991,12 +9233,14 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
8991
9233
  data?: {
8992
9234
  name: string;
8993
9235
  tag: string;
9236
+ userStatus: import("./modules/tournament/tournament.types").TournamentParticipantStatus;
8994
9237
  startDate?: Date | null | undefined;
8995
9238
  endDate?: Date | null | undefined;
8996
9239
  } | {
8997
9240
  documents: ({
8998
9241
  name: string;
8999
9242
  tag: string;
9243
+ userStatus: import("./modules/tournament/tournament.types").TournamentParticipantStatus;
9000
9244
  startDate?: Date | null | undefined;
9001
9245
  endDate?: Date | null | undefined;
9002
9246
  } | null)[];