@lyxa.ai/marketing 1.0.50 → 1.0.52

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 (79) hide show
  1. package/dist/lib/index.d.ts +47 -22
  2. package/dist/lib/index.d.ts.map +1 -1
  3. package/dist/lib/modules/tournament/config/config.router.d.ts +10 -10
  4. package/dist/lib/modules/tournament/config/config.validation.d.ts +36 -37
  5. package/dist/lib/modules/tournament/config/config.validation.d.ts.map +1 -1
  6. package/dist/lib/modules/tournament/config/config.validation.js +3 -4
  7. package/dist/lib/modules/tournament/config/config.validation.js.map +1 -1
  8. package/dist/lib/modules/tournament/match/events/evaluate-predictions.consumer.d.ts.map +1 -1
  9. package/dist/lib/modules/tournament/match/events/evaluate-predictions.consumer.js +6 -3
  10. package/dist/lib/modules/tournament/match/events/evaluate-predictions.consumer.js.map +1 -1
  11. package/dist/lib/modules/tournament/match/match.router.d.ts +4 -4
  12. package/dist/lib/modules/tournament/participant/participant.repository.d.ts +2 -0
  13. package/dist/lib/modules/tournament/participant/participant.repository.d.ts.map +1 -1
  14. package/dist/lib/modules/tournament/participant/participant.repository.js +8 -0
  15. package/dist/lib/modules/tournament/participant/participant.repository.js.map +1 -1
  16. package/dist/lib/modules/tournament/participant/participant.router.d.ts +27 -4
  17. package/dist/lib/modules/tournament/participant/participant.router.d.ts.map +1 -1
  18. package/dist/lib/modules/tournament/participant/participant.router.js +7 -0
  19. package/dist/lib/modules/tournament/participant/participant.router.js.map +1 -1
  20. package/dist/lib/modules/tournament/participant/participant.service.d.ts +2 -2
  21. package/dist/lib/modules/tournament/participant/participant.service.d.ts.map +1 -1
  22. package/dist/lib/modules/tournament/participant/participant.service.js +20 -6
  23. package/dist/lib/modules/tournament/participant/participant.service.js.map +1 -1
  24. package/dist/lib/modules/tournament/participant/participant.validation.d.ts +144 -36
  25. package/dist/lib/modules/tournament/participant/participant.validation.d.ts.map +1 -1
  26. package/dist/lib/modules/tournament/participant/participant.validation.js +10 -3
  27. package/dist/lib/modules/tournament/participant/participant.validation.js.map +1 -1
  28. package/dist/lib/modules/tournament/prediction/prediction.service.d.ts.map +1 -1
  29. package/dist/lib/modules/tournament/prediction/prediction.service.js +2 -0
  30. package/dist/lib/modules/tournament/prediction/prediction.service.js.map +1 -1
  31. package/dist/lib/modules/tournament/team/team.router.d.ts +4 -4
  32. package/dist/lib/modules/tournament/team/team.service.d.ts.map +1 -1
  33. package/dist/lib/modules/tournament/team/team.service.js +2 -0
  34. package/dist/lib/modules/tournament/team/team.service.js.map +1 -1
  35. package/dist/lib/modules/tournament/team/team.validation.d.ts +14 -14
  36. package/dist/lib/modules/tournament/tournament.router.d.ts +164 -138
  37. package/dist/lib/modules/tournament/tournament.router.d.ts.map +1 -1
  38. package/dist/lib/modules/tournament/tournament.router.js +7 -2
  39. package/dist/lib/modules/tournament/tournament.router.js.map +1 -1
  40. package/dist/lib/modules/tournament/tournament.service.d.ts +3 -1
  41. package/dist/lib/modules/tournament/tournament.service.d.ts.map +1 -1
  42. package/dist/lib/modules/tournament/tournament.service.js +17 -2
  43. package/dist/lib/modules/tournament/tournament.service.js.map +1 -1
  44. package/dist/lib/modules/tournament/tournament.types.d.ts +5 -3
  45. package/dist/lib/modules/tournament/tournament.types.d.ts.map +1 -1
  46. package/dist/lib/modules/tournament/tournament.types.js +7 -5
  47. package/dist/lib/modules/tournament/tournament.types.js.map +1 -1
  48. package/dist/lib/modules/tournament/tournament.validation.d.ts +15 -0
  49. package/dist/lib/modules/tournament/tournament.validation.d.ts.map +1 -1
  50. package/dist/lib/modules/tournament/tournament.validation.js +4 -1
  51. package/dist/lib/modules/tournament/tournament.validation.js.map +1 -1
  52. package/dist/types/index.d.ts +47 -22
  53. package/dist/types/index.d.ts.map +1 -1
  54. package/dist/types/modules/tournament/config/config.router.d.ts +10 -10
  55. package/dist/types/modules/tournament/config/config.validation.d.ts +36 -37
  56. package/dist/types/modules/tournament/config/config.validation.d.ts.map +1 -1
  57. package/dist/types/modules/tournament/match/events/evaluate-predictions.consumer.d.ts.map +1 -1
  58. package/dist/types/modules/tournament/match/match.router.d.ts +4 -4
  59. package/dist/types/modules/tournament/participant/participant.repository.d.ts +2 -0
  60. package/dist/types/modules/tournament/participant/participant.repository.d.ts.map +1 -1
  61. package/dist/types/modules/tournament/participant/participant.router.d.ts +27 -4
  62. package/dist/types/modules/tournament/participant/participant.router.d.ts.map +1 -1
  63. package/dist/types/modules/tournament/participant/participant.service.d.ts +2 -2
  64. package/dist/types/modules/tournament/participant/participant.service.d.ts.map +1 -1
  65. package/dist/types/modules/tournament/participant/participant.validation.d.ts +144 -36
  66. package/dist/types/modules/tournament/participant/participant.validation.d.ts.map +1 -1
  67. package/dist/types/modules/tournament/prediction/prediction.service.d.ts.map +1 -1
  68. package/dist/types/modules/tournament/team/team.router.d.ts +4 -4
  69. package/dist/types/modules/tournament/team/team.service.d.ts.map +1 -1
  70. package/dist/types/modules/tournament/team/team.validation.d.ts +14 -14
  71. package/dist/types/modules/tournament/tournament.router.d.ts +164 -138
  72. package/dist/types/modules/tournament/tournament.router.d.ts.map +1 -1
  73. package/dist/types/modules/tournament/tournament.service.d.ts +3 -1
  74. package/dist/types/modules/tournament/tournament.service.d.ts.map +1 -1
  75. package/dist/types/modules/tournament/tournament.types.d.ts +5 -3
  76. package/dist/types/modules/tournament/tournament.types.d.ts.map +1 -1
  77. package/dist/types/modules/tournament/tournament.validation.d.ts +15 -0
  78. package/dist/types/modules/tournament/tournament.validation.d.ts.map +1 -1
  79. package/package.json +2 -2
@@ -198,6 +198,7 @@ export declare const TournamentWithMatchesSchema: z.ZodObject<{
198
198
  team2: number | null;
199
199
  };
200
200
  stage: string;
201
+ matchStatus: MatchStatus;
201
202
  prediction: {
202
203
  score: {
203
204
  team1: number | null;
@@ -206,7 +207,6 @@ export declare const TournamentWithMatchesSchema: z.ZodObject<{
206
207
  succeeded: boolean | null;
207
208
  } | null;
208
209
  canPredict: boolean;
209
- matchStatus: MatchStatus;
210
210
  endDate?: Date | null | undefined;
211
211
  additionalTag?: string | undefined;
212
212
  winnerId?: import("mongoose").Types.ObjectId | null | undefined;
@@ -228,6 +228,7 @@ export declare const TournamentWithMatchesSchema: z.ZodObject<{
228
228
  team2: number | null;
229
229
  };
230
230
  stage: string;
231
+ matchStatus: MatchStatus;
231
232
  prediction: {
232
233
  score: {
233
234
  team1: number | null;
@@ -236,7 +237,6 @@ export declare const TournamentWithMatchesSchema: z.ZodObject<{
236
237
  succeeded: boolean | null;
237
238
  } | null;
238
239
  canPredict: boolean;
239
- matchStatus: MatchStatus;
240
240
  endDate?: Date | null | undefined;
241
241
  additionalTag?: string | undefined;
242
242
  winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
@@ -263,6 +263,7 @@ export declare const TournamentWithMatchesSchema: z.ZodObject<{
263
263
  team2: number | null;
264
264
  };
265
265
  stage: string;
266
+ matchStatus: MatchStatus;
266
267
  prediction: {
267
268
  score: {
268
269
  team1: number | null;
@@ -271,7 +272,6 @@ export declare const TournamentWithMatchesSchema: z.ZodObject<{
271
272
  succeeded: boolean | null;
272
273
  } | null;
273
274
  canPredict: boolean;
274
- matchStatus: MatchStatus;
275
275
  endDate?: Date | null | undefined;
276
276
  additionalTag?: string | undefined;
277
277
  winnerId?: import("mongoose").Types.ObjectId | null | undefined;
@@ -300,6 +300,7 @@ export declare const TournamentWithMatchesSchema: z.ZodObject<{
300
300
  team2: number | null;
301
301
  };
302
302
  stage: string;
303
+ matchStatus: MatchStatus;
303
304
  prediction: {
304
305
  score: {
305
306
  team1: number | null;
@@ -308,7 +309,6 @@ export declare const TournamentWithMatchesSchema: z.ZodObject<{
308
309
  succeeded: boolean | null;
309
310
  } | null;
310
311
  canPredict: boolean;
311
- matchStatus: MatchStatus;
312
312
  endDate?: Date | null | undefined;
313
313
  additionalTag?: string | undefined;
314
314
  winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
@@ -634,6 +634,7 @@ export declare const TournamentWithMatchesResponseSchema: z.ZodObject<{
634
634
  team2: number | null;
635
635
  };
636
636
  stage: string;
637
+ matchStatus: MatchStatus;
637
638
  prediction: {
638
639
  score: {
639
640
  team1: number | null;
@@ -642,7 +643,6 @@ export declare const TournamentWithMatchesResponseSchema: z.ZodObject<{
642
643
  succeeded: boolean | null;
643
644
  } | null;
644
645
  canPredict: boolean;
645
- matchStatus: MatchStatus;
646
646
  endDate?: Date | null | undefined;
647
647
  additionalTag?: string | undefined;
648
648
  winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
@@ -671,6 +671,7 @@ export declare const TournamentWithMatchesResponseSchema: z.ZodObject<{
671
671
  team2: number | null;
672
672
  };
673
673
  stage: string;
674
+ matchStatus: MatchStatus;
674
675
  prediction: {
675
676
  score: {
676
677
  team1: number | null;
@@ -679,7 +680,6 @@ export declare const TournamentWithMatchesResponseSchema: z.ZodObject<{
679
680
  succeeded: boolean | null;
680
681
  } | null;
681
682
  canPredict: boolean;
682
- matchStatus: MatchStatus;
683
683
  endDate?: Date | null | undefined;
684
684
  additionalTag?: string | undefined;
685
685
  winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
@@ -710,6 +710,7 @@ export declare const TournamentWithMatchesResponseSchema: z.ZodObject<{
710
710
  team2: number | null;
711
711
  };
712
712
  stage: string;
713
+ matchStatus: MatchStatus;
713
714
  prediction: {
714
715
  score: {
715
716
  team1: number | null;
@@ -718,7 +719,6 @@ export declare const TournamentWithMatchesResponseSchema: z.ZodObject<{
718
719
  succeeded: boolean | null;
719
720
  } | null;
720
721
  canPredict: boolean;
721
- matchStatus: MatchStatus;
722
722
  endDate?: Date | null | undefined;
723
723
  additionalTag?: string | undefined;
724
724
  winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
@@ -755,6 +755,7 @@ export declare const TournamentWithMatchesResponseSchema: z.ZodObject<{
755
755
  team2: number | null;
756
756
  };
757
757
  stage: string;
758
+ matchStatus: MatchStatus;
758
759
  prediction: {
759
760
  score: {
760
761
  team1: number | null;
@@ -763,7 +764,6 @@ export declare const TournamentWithMatchesResponseSchema: z.ZodObject<{
763
764
  succeeded: boolean | null;
764
765
  } | null;
765
766
  canPredict: boolean;
766
- matchStatus: MatchStatus;
767
767
  endDate?: Date | null | undefined;
768
768
  additionalTag?: string | undefined;
769
769
  winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
@@ -799,6 +799,7 @@ export declare const TournamentWithMatchesResponseSchema: z.ZodObject<{
799
799
  team2: number | null;
800
800
  };
801
801
  stage: string;
802
+ matchStatus: MatchStatus;
802
803
  prediction: {
803
804
  score: {
804
805
  team1: number | null;
@@ -807,7 +808,6 @@ export declare const TournamentWithMatchesResponseSchema: z.ZodObject<{
807
808
  succeeded: boolean | null;
808
809
  } | null;
809
810
  canPredict: boolean;
810
- matchStatus: MatchStatus;
811
811
  endDate?: Date | null | undefined;
812
812
  additionalTag?: string | undefined;
813
813
  winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
@@ -836,6 +836,7 @@ export declare const TournamentWithMatchesResponseSchema: z.ZodObject<{
836
836
  team2: number | null;
837
837
  };
838
838
  stage: string;
839
+ matchStatus: MatchStatus;
839
840
  prediction: {
840
841
  score: {
841
842
  team1: number | null;
@@ -844,7 +845,6 @@ export declare const TournamentWithMatchesResponseSchema: z.ZodObject<{
844
845
  succeeded: boolean | null;
845
846
  } | null;
846
847
  canPredict: boolean;
847
- matchStatus: MatchStatus;
848
848
  endDate?: Date | null | undefined;
849
849
  additionalTag?: string | undefined;
850
850
  winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
@@ -877,6 +877,7 @@ export declare const TournamentWithMatchesResponseSchema: z.ZodObject<{
877
877
  team2: number | null;
878
878
  };
879
879
  stage: string;
880
+ matchStatus: MatchStatus;
880
881
  prediction: {
881
882
  score: {
882
883
  team1: number | null;
@@ -885,7 +886,6 @@ export declare const TournamentWithMatchesResponseSchema: z.ZodObject<{
885
886
  succeeded: boolean | null;
886
887
  } | null;
887
888
  canPredict: boolean;
888
- matchStatus: MatchStatus;
889
889
  endDate?: Date | null | undefined;
890
890
  additionalTag?: string | undefined;
891
891
  winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
@@ -915,6 +915,7 @@ export declare const TournamentWithMatchesResponseSchema: z.ZodObject<{
915
915
  team2: number | null;
916
916
  };
917
917
  stage: string;
918
+ matchStatus: MatchStatus;
918
919
  prediction: {
919
920
  score: {
920
921
  team1: number | null;
@@ -923,7 +924,6 @@ export declare const TournamentWithMatchesResponseSchema: z.ZodObject<{
923
924
  succeeded: boolean | null;
924
925
  } | null;
925
926
  canPredict: boolean;
926
- matchStatus: MatchStatus;
927
927
  endDate?: Date | null | undefined;
928
928
  additionalTag?: string | undefined;
929
929
  winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
@@ -963,6 +963,7 @@ export declare const TournamentWithMatchesResponseSchema: z.ZodObject<{
963
963
  team2: number | null;
964
964
  };
965
965
  stage: string;
966
+ matchStatus: MatchStatus;
966
967
  prediction: {
967
968
  score: {
968
969
  team1: number | null;
@@ -971,7 +972,6 @@ export declare const TournamentWithMatchesResponseSchema: z.ZodObject<{
971
972
  succeeded: boolean | null;
972
973
  } | null;
973
974
  canPredict: boolean;
974
- matchStatus: MatchStatus;
975
975
  endDate?: Date | null | undefined;
976
976
  additionalTag?: string | undefined;
977
977
  winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;
@@ -1001,6 +1001,7 @@ export declare const TournamentWithMatchesResponseSchema: z.ZodObject<{
1001
1001
  team2: number | null;
1002
1002
  };
1003
1003
  stage: string;
1004
+ matchStatus: MatchStatus;
1004
1005
  prediction: {
1005
1006
  score: {
1006
1007
  team1: number | null;
@@ -1009,7 +1010,6 @@ export declare const TournamentWithMatchesResponseSchema: z.ZodObject<{
1009
1010
  succeeded: boolean | null;
1010
1011
  } | null;
1011
1012
  canPredict: boolean;
1012
- matchStatus: MatchStatus;
1013
1013
  endDate?: Date | null | undefined;
1014
1014
  additionalTag?: string | undefined;
1015
1015
  winnerId?: string | import("mongoose").Types.ObjectId | null | undefined;