@lyxa.ai/marketing 1.0.51 → 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 (27) hide show
  1. package/dist/lib/index.d.ts +16 -16
  2. package/dist/lib/modules/tournament/config/config.router.d.ts +10 -10
  3. package/dist/lib/modules/tournament/config/config.validation.d.ts +36 -37
  4. package/dist/lib/modules/tournament/config/config.validation.d.ts.map +1 -1
  5. package/dist/lib/modules/tournament/config/config.validation.js +3 -4
  6. package/dist/lib/modules/tournament/config/config.validation.js.map +1 -1
  7. package/dist/lib/modules/tournament/match/events/evaluate-predictions.consumer.d.ts.map +1 -1
  8. package/dist/lib/modules/tournament/match/events/evaluate-predictions.consumer.js +6 -3
  9. package/dist/lib/modules/tournament/match/events/evaluate-predictions.consumer.js.map +1 -1
  10. package/dist/lib/modules/tournament/match/match.router.d.ts +4 -4
  11. package/dist/lib/modules/tournament/team/team.router.d.ts +2 -2
  12. package/dist/lib/modules/tournament/tournament.router.d.ts +16 -16
  13. package/dist/lib/modules/tournament/tournament.types.d.ts +0 -3
  14. package/dist/lib/modules/tournament/tournament.types.d.ts.map +1 -1
  15. package/dist/lib/modules/tournament/tournament.types.js +1 -5
  16. package/dist/lib/modules/tournament/tournament.types.js.map +1 -1
  17. package/dist/types/index.d.ts +16 -16
  18. package/dist/types/modules/tournament/config/config.router.d.ts +10 -10
  19. package/dist/types/modules/tournament/config/config.validation.d.ts +36 -37
  20. package/dist/types/modules/tournament/config/config.validation.d.ts.map +1 -1
  21. package/dist/types/modules/tournament/match/events/evaluate-predictions.consumer.d.ts.map +1 -1
  22. package/dist/types/modules/tournament/match/match.router.d.ts +4 -4
  23. package/dist/types/modules/tournament/team/team.router.d.ts +2 -2
  24. package/dist/types/modules/tournament/tournament.router.d.ts +16 -16
  25. package/dist/types/modules/tournament/tournament.types.d.ts +0 -3
  26. package/dist/types/modules/tournament/tournament.types.d.ts.map +1 -1
  27. package/package.json +1 -1
@@ -36,7 +36,7 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
36
36
  name: string;
37
37
  startDate: string | Date;
38
38
  endDate: string | Date;
39
- tag: import("./tournament.types").TournamentTag;
39
+ tag: string;
40
40
  status?: import("@lyxa.ai/core/dist/utilities/enum").Status | undefined;
41
41
  reward?: {
42
42
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
@@ -53,12 +53,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
53
53
  data?: {
54
54
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
55
55
  name: string;
56
+ tag: string;
56
57
  _id?: string | mongoose.Types.ObjectId | undefined;
57
58
  createdAt?: Date | null | undefined;
58
59
  startDate?: Date | null | undefined;
59
60
  endDate?: Date | null | undefined;
60
61
  updatedAt?: Date | null | undefined;
61
- tag?: import("./tournament.types").TournamentTag | undefined;
62
62
  reward?: {
63
63
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
64
64
  } | {
@@ -71,12 +71,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
71
71
  documents: {
72
72
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
73
73
  name: string;
74
+ tag: string;
74
75
  _id?: string | mongoose.Types.ObjectId | undefined;
75
76
  createdAt?: Date | null | undefined;
76
77
  startDate?: Date | null | undefined;
77
78
  endDate?: Date | null | undefined;
78
79
  updatedAt?: Date | null | undefined;
79
- tag?: import("./tournament.types").TournamentTag | undefined;
80
80
  reward?: {
81
81
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
82
82
  } | {
@@ -104,12 +104,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
104
104
  data?: {
105
105
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
106
106
  name: string;
107
+ tag: string;
107
108
  _id?: string | mongoose.Types.ObjectId | undefined;
108
109
  createdAt?: Date | null | undefined;
109
110
  startDate?: Date | null | undefined;
110
111
  endDate?: Date | null | undefined;
111
112
  updatedAt?: Date | null | undefined;
112
- tag?: import("./tournament.types").TournamentTag | undefined;
113
113
  reward?: {
114
114
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
115
115
  } | {
@@ -121,12 +121,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
121
121
  documents: {
122
122
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
123
123
  name: string;
124
+ tag: string;
124
125
  _id?: string | mongoose.Types.ObjectId | undefined;
125
126
  createdAt?: Date | null | undefined;
126
127
  startDate?: Date | null | undefined;
127
128
  endDate?: Date | null | undefined;
128
129
  updatedAt?: Date | null | undefined;
129
- tag?: import("./tournament.types").TournamentTag | undefined;
130
130
  reward?: {
131
131
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
132
132
  } | {
@@ -155,12 +155,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
155
155
  data?: {
156
156
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
157
157
  name: string;
158
+ tag: string;
158
159
  _id?: string | mongoose.Types.ObjectId | undefined;
159
160
  createdAt?: Date | null | undefined;
160
161
  startDate?: Date | null | undefined;
161
162
  endDate?: Date | null | undefined;
162
163
  updatedAt?: Date | null | undefined;
163
- tag?: import("./tournament.types").TournamentTag | undefined;
164
164
  reward?: {
165
165
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
166
166
  } | {
@@ -173,12 +173,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
173
173
  documents: {
174
174
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
175
175
  name: string;
176
+ tag: string;
176
177
  _id?: string | mongoose.Types.ObjectId | undefined;
177
178
  createdAt?: Date | null | undefined;
178
179
  startDate?: Date | null | undefined;
179
180
  endDate?: Date | null | undefined;
180
181
  updatedAt?: Date | null | undefined;
181
- tag?: import("./tournament.types").TournamentTag | undefined;
182
182
  reward?: {
183
183
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
184
184
  } | {
@@ -205,7 +205,7 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
205
205
  name?: string | undefined;
206
206
  startDate?: string | Date | undefined;
207
207
  endDate?: string | Date | undefined;
208
- tag?: import("./tournament.types").TournamentTag | undefined;
208
+ tag?: string | undefined;
209
209
  reward?: {
210
210
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
211
211
  } | {
@@ -221,12 +221,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
221
221
  data?: {
222
222
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
223
223
  name: string;
224
+ tag: string;
224
225
  _id?: string | mongoose.Types.ObjectId | undefined;
225
226
  createdAt?: Date | null | undefined;
226
227
  startDate?: Date | null | undefined;
227
228
  endDate?: Date | null | undefined;
228
229
  updatedAt?: Date | null | undefined;
229
- tag?: import("./tournament.types").TournamentTag | undefined;
230
230
  reward?: {
231
231
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
232
232
  } | {
@@ -239,12 +239,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
239
239
  documents: {
240
240
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
241
241
  name: string;
242
+ tag: string;
242
243
  _id?: string | mongoose.Types.ObjectId | undefined;
243
244
  createdAt?: Date | null | undefined;
244
245
  startDate?: Date | null | undefined;
245
246
  endDate?: Date | null | undefined;
246
247
  updatedAt?: Date | null | undefined;
247
- tag?: import("./tournament.types").TournamentTag | undefined;
248
248
  reward?: {
249
249
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
250
250
  } | {
@@ -295,12 +295,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
295
295
  data?: {
296
296
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
297
297
  name: string;
298
+ tag: string;
298
299
  _id?: string | mongoose.Types.ObjectId | undefined;
299
300
  createdAt?: Date | null | undefined;
300
301
  startDate?: Date | null | undefined;
301
302
  endDate?: Date | null | undefined;
302
303
  updatedAt?: Date | null | undefined;
303
- tag?: import("./tournament.types").TournamentTag | undefined;
304
304
  reward?: {
305
305
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
306
306
  } | {
@@ -313,12 +313,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
313
313
  documents: {
314
314
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
315
315
  name: string;
316
+ tag: string;
316
317
  _id?: string | mongoose.Types.ObjectId | undefined;
317
318
  createdAt?: Date | null | undefined;
318
319
  startDate?: Date | null | undefined;
319
320
  endDate?: Date | null | undefined;
320
321
  updatedAt?: Date | null | undefined;
321
- tag?: import("./tournament.types").TournamentTag | undefined;
322
322
  reward?: {
323
323
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
324
324
  } | {
@@ -508,12 +508,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
508
508
  data?: {
509
509
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
510
510
  name: string;
511
+ tag: string;
511
512
  _id?: string | mongoose.Types.ObjectId | undefined;
512
513
  createdAt?: Date | null | undefined;
513
514
  startDate?: Date | null | undefined;
514
515
  endDate?: Date | null | undefined;
515
516
  updatedAt?: Date | null | undefined;
516
- tag?: import("./tournament.types").TournamentTag | undefined;
517
517
  reward?: {
518
518
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
519
519
  } | {
@@ -526,12 +526,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
526
526
  documents: {
527
527
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
528
528
  name: string;
529
+ tag: string;
529
530
  _id?: string | mongoose.Types.ObjectId | undefined;
530
531
  createdAt?: Date | null | undefined;
531
532
  startDate?: Date | null | undefined;
532
533
  endDate?: Date | null | undefined;
533
534
  updatedAt?: Date | null | undefined;
534
- tag?: import("./tournament.types").TournamentTag | undefined;
535
535
  reward?: {
536
536
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
537
537
  } | {
@@ -793,12 +793,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
793
793
  data?: {
794
794
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
795
795
  name: string;
796
+ tag: string;
796
797
  _id?: string | mongoose.Types.ObjectId | undefined;
797
798
  createdAt?: Date | null | undefined;
798
799
  startDate?: Date | null | undefined;
799
800
  endDate?: Date | null | undefined;
800
801
  updatedAt?: Date | null | undefined;
801
- tag?: import("./tournament.types").TournamentTag | undefined;
802
802
  reward?: {
803
803
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
804
804
  } | {
@@ -811,12 +811,12 @@ export declare const tournamentRouter: import("@trpc/server").TRPCBuiltRouter<{
811
811
  documents: {
812
812
  status: import("@lyxa.ai/core/dist/utilities/enum").Status;
813
813
  name: string;
814
+ tag: string;
814
815
  _id?: string | mongoose.Types.ObjectId | undefined;
815
816
  createdAt?: Date | null | undefined;
816
817
  startDate?: Date | null | undefined;
817
818
  endDate?: Date | null | undefined;
818
819
  updatedAt?: Date | null | undefined;
819
- tag?: import("./tournament.types").TournamentTag | undefined;
820
820
  reward?: {
821
821
  type: import("@lyxa.ai/core/dist/utilities/enum").TournamentRewardType.FREE_DELIVERY;
822
822
  } | {
@@ -1,6 +1,3 @@
1
- export declare enum TournamentTag {
2
- FOOTBALL_WORLD_CUP = "world-cup"
3
- }
4
1
  export declare enum MatchStatus {
5
2
  UPCOMING = "upcoming",
6
3
  STARTED = "started",
@@ -1 +1 @@
1
- {"version":3,"file":"tournament.types.d.ts","sourceRoot":"/","sources":["modules/tournament/tournament.types.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACrB,kBAAkB,cAAc;CACnC;AAED,oBAAY,WAAW;IACnB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,KAAK,UAAU;CAClB;AAED,oBAAY,2BAA2B;IACnC,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,QAAQ,aAAa;CACxB"}
1
+ {"version":3,"file":"tournament.types.d.ts","sourceRoot":"/","sources":["modules/tournament/tournament.types.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACnB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,KAAK,UAAU;CAClB;AAED,oBAAY,2BAA2B;IACnC,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,QAAQ,aAAa;CACxB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lyxa.ai/marketing",
3
- "version": "1.0.51",
3
+ "version": "1.0.52",
4
4
  "description": "The Lyxa Marketing microservice",
5
5
  "license": "MIT",
6
6
  "main": "dist/lib/index.js",