@lyxa.ai/marketing 1.0.43 → 1.0.44

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 (70) hide show
  1. package/dist/lib/event/event-initializations.d.ts.map +1 -1
  2. package/dist/lib/event/event-initializations.js +1 -0
  3. package/dist/lib/event/event-initializations.js.map +1 -1
  4. package/dist/lib/event/event-listeners/event-listeners.d.ts +1 -0
  5. package/dist/lib/event/event-listeners/event-listeners.d.ts.map +1 -1
  6. package/dist/lib/event/event-listeners/event-listeners.js +7 -0
  7. package/dist/lib/event/event-listeners/event-listeners.js.map +1 -1
  8. package/dist/lib/index.d.ts +60 -0
  9. package/dist/lib/index.d.ts.map +1 -1
  10. package/dist/lib/modules/coupon/routers/coupon.router.d.ts +2 -0
  11. package/dist/lib/modules/coupon/routers/coupon.router.d.ts.map +1 -1
  12. package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.d.ts.map +1 -1
  13. package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.js +1 -0
  14. package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.js.map +1 -1
  15. package/dist/lib/modules/coupon/validations/coupon.validation.d.ts +13 -0
  16. package/dist/lib/modules/coupon/validations/coupon.validation.d.ts.map +1 -1
  17. package/dist/lib/modules/coupon/validations/coupon.validation.js +1 -0
  18. package/dist/lib/modules/coupon/validations/coupon.validation.js.map +1 -1
  19. package/dist/lib/modules/limited-time-offer/limited-time-offer.router.d.ts +58 -0
  20. package/dist/lib/modules/limited-time-offer/limited-time-offer.router.d.ts.map +1 -1
  21. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.repository.d.ts +4 -1
  22. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.repository.d.ts.map +1 -1
  23. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.repository.js +18 -2
  24. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.repository.js.map +1 -1
  25. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.router.d.ts +58 -0
  26. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.router.d.ts.map +1 -1
  27. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.router.js +7 -0
  28. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.router.js.map +1 -1
  29. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.validation.d.ts +137 -3
  30. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.validation.d.ts.map +1 -1
  31. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.validation.js +11 -9
  32. package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.validation.js.map +1 -1
  33. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant-marketing.service.d.ts +3 -0
  34. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant-marketing.service.d.ts.map +1 -1
  35. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant-marketing.service.js +4 -0
  36. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant-marketing.service.js.map +1 -1
  37. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.d.ts +1 -0
  38. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.d.ts.map +1 -1
  39. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.js +19 -0
  40. package/dist/lib/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.js.map +1 -1
  41. package/dist/lib/modules/marketing/routers/marketing.router.js.map +1 -1
  42. package/dist/lib/modules/punch-marketing-history/services/punch-marketing-history.service.d.ts +1 -0
  43. package/dist/lib/modules/punch-marketing-history/services/punch-marketing-history.service.d.ts.map +1 -1
  44. package/dist/lib/modules/punch-marketing-history/services/punch-marketing-history.service.js +14 -0
  45. package/dist/lib/modules/punch-marketing-history/services/punch-marketing-history.service.js.map +1 -1
  46. package/dist/types/event/event-initializations.d.ts.map +1 -1
  47. package/dist/types/event/event-listeners/event-listeners.d.ts +1 -0
  48. package/dist/types/event/event-listeners/event-listeners.d.ts.map +1 -1
  49. package/dist/types/index.d.ts +60 -0
  50. package/dist/types/index.d.ts.map +1 -1
  51. package/dist/types/modules/coupon/routers/coupon.router.d.ts +2 -0
  52. package/dist/types/modules/coupon/routers/coupon.router.d.ts.map +1 -1
  53. package/dist/types/modules/coupon/services/patterns/repository/CouponMetricsRepository.d.ts.map +1 -1
  54. package/dist/types/modules/coupon/validations/coupon.validation.d.ts +13 -0
  55. package/dist/types/modules/coupon/validations/coupon.validation.d.ts.map +1 -1
  56. package/dist/types/modules/limited-time-offer/limited-time-offer.router.d.ts +58 -0
  57. package/dist/types/modules/limited-time-offer/limited-time-offer.router.d.ts.map +1 -1
  58. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.repository.d.ts +4 -1
  59. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.repository.d.ts.map +1 -1
  60. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.router.d.ts +58 -0
  61. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.router.d.ts.map +1 -1
  62. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.validation.d.ts +137 -3
  63. package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.validation.d.ts.map +1 -1
  64. package/dist/types/modules/limited-time-offer/participant/services/limited-time-offer-participant-marketing.service.d.ts +3 -0
  65. package/dist/types/modules/limited-time-offer/participant/services/limited-time-offer-participant-marketing.service.d.ts.map +1 -1
  66. package/dist/types/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.d.ts +1 -0
  67. package/dist/types/modules/limited-time-offer/participant/services/limited-time-offer-participant.service.d.ts.map +1 -1
  68. package/dist/types/modules/punch-marketing-history/services/punch-marketing-history.service.d.ts +1 -0
  69. package/dist/types/modules/punch-marketing-history/services/punch-marketing-history.service.d.ts.map +1 -1
  70. package/package.json +2 -2
@@ -69,6 +69,60 @@ export declare const participantRouter: import("@trpc/server").TRPCBuiltRouter<{
69
69
  };
70
70
  meta: object;
71
71
  }>;
72
+ update: import("@trpc/server").TRPCMutationProcedure<{
73
+ input: {
74
+ isEntireMenu: boolean;
75
+ discountPercentage: number;
76
+ maxDiscountCap: number;
77
+ isOrderCapacityEnabled: boolean;
78
+ products?: (string | mongoose.Types.ObjectId)[] | undefined;
79
+ maxOrderCapacity?: number | undefined;
80
+ };
81
+ output: {
82
+ message: string;
83
+ success: boolean;
84
+ data?: {
85
+ _id: string | mongoose.Types.ObjectId;
86
+ shop: string | mongoose.Types.ObjectId;
87
+ joinedAt: Date;
88
+ isEntireMenu: boolean;
89
+ campaign: string | mongoose.Types.ObjectId;
90
+ isOrderCapacityEnabled: boolean;
91
+ isWithdrawn: boolean;
92
+ createdAt?: Date | null | undefined;
93
+ updatedAt?: Date | null | undefined;
94
+ products?: (string | mongoose.Types.ObjectId)[] | undefined;
95
+ discountPercentage?: number | undefined;
96
+ maxDiscountCap?: number | undefined;
97
+ maxOrderCapacity?: number | undefined;
98
+ withdrawnAt?: Date | null | undefined;
99
+ } | {
100
+ documents: {
101
+ _id: string | mongoose.Types.ObjectId;
102
+ shop: string | mongoose.Types.ObjectId;
103
+ joinedAt: Date;
104
+ isEntireMenu: boolean;
105
+ campaign: string | mongoose.Types.ObjectId;
106
+ isOrderCapacityEnabled: boolean;
107
+ isWithdrawn: boolean;
108
+ createdAt?: Date | null | undefined;
109
+ updatedAt?: Date | null | undefined;
110
+ products?: (string | mongoose.Types.ObjectId)[] | undefined;
111
+ discountPercentage?: number | undefined;
112
+ maxDiscountCap?: number | undefined;
113
+ maxOrderCapacity?: number | undefined;
114
+ withdrawnAt?: Date | null | undefined;
115
+ }[];
116
+ metadata?: {
117
+ page: number;
118
+ size: number;
119
+ totalElements: number;
120
+ totalPages: number;
121
+ } | undefined;
122
+ } | undefined;
123
+ };
124
+ meta: object;
125
+ }>;
72
126
  withdraw: import("@trpc/server").TRPCMutationProcedure<{
73
127
  input: void;
74
128
  output: {
@@ -97,6 +151,8 @@ export declare const participantRouter: import("@trpc/server").TRPCBuiltRouter<{
97
151
  joinedAt: Date;
98
152
  isEntireMenu: boolean;
99
153
  isOrderCapacityEnabled: boolean;
154
+ productIds?: (string | mongoose.Types.ObjectId)[] | undefined;
155
+ marketingId?: string | mongoose.Types.ObjectId | undefined;
100
156
  discountPercentage?: number | undefined;
101
157
  maxDiscountCap?: number | undefined;
102
158
  maxOrderCapacity?: number | undefined;
@@ -117,6 +173,8 @@ export declare const participantRouter: import("@trpc/server").TRPCBuiltRouter<{
117
173
  joinedAt: Date;
118
174
  isEntireMenu: boolean;
119
175
  isOrderCapacityEnabled: boolean;
176
+ productIds?: (string | mongoose.Types.ObjectId)[] | undefined;
177
+ marketingId?: string | mongoose.Types.ObjectId | undefined;
120
178
  discountPercentage?: number | undefined;
121
179
  maxDiscountCap?: number | undefined;
122
180
  maxOrderCapacity?: number | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"limited-time-offer-participant.router.d.ts","sourceRoot":"/","sources":["modules/limited-time-offer/participant/limited-time-offer-participant.router.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAY9C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsC5B,CAAC"}
1
+ {"version":3,"file":"limited-time-offer-participant.router.d.ts","sourceRoot":"/","sources":["modules/limited-time-offer/participant/limited-time-offer-participant.router.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAY9C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgD5B,CAAC"}
@@ -42,7 +42,106 @@ export declare const JoinLtoCampaignSchema: z.ZodEffects<z.ZodObject<{
42
42
  products?: (string | import("mongoose").Types.ObjectId)[] | undefined;
43
43
  maxOrderCapacity?: number | undefined;
44
44
  }>;
45
- declare const ParticipantStatusSchema: z.ZodObject<{
45
+ export declare const ParticipantSchema: z.ZodObject<{
46
+ _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>]>;
47
+ campaign: 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>]>;
48
+ shop: 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>]>;
49
+ joinedAt: z.ZodDate;
50
+ products: z.ZodDefault<z.ZodArray<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>]>, "many">>;
51
+ isEntireMenu: z.ZodBoolean;
52
+ discountPercentage: z.ZodOptional<z.ZodNumber>;
53
+ maxDiscountCap: z.ZodOptional<z.ZodNumber>;
54
+ isOrderCapacityEnabled: z.ZodBoolean;
55
+ maxOrderCapacity: z.ZodOptional<z.ZodNumber>;
56
+ isWithdrawn: z.ZodBoolean;
57
+ withdrawnAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
58
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
59
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
60
+ }, "strip", z.ZodTypeAny, {
61
+ _id: import("mongoose").Types.ObjectId;
62
+ shop: import("mongoose").Types.ObjectId;
63
+ products: import("mongoose").Types.ObjectId[];
64
+ joinedAt: Date;
65
+ isEntireMenu: boolean;
66
+ campaign: import("mongoose").Types.ObjectId;
67
+ isOrderCapacityEnabled: boolean;
68
+ isWithdrawn: boolean;
69
+ createdAt?: Date | null | undefined;
70
+ updatedAt?: Date | null | undefined;
71
+ discountPercentage?: number | undefined;
72
+ maxDiscountCap?: number | undefined;
73
+ maxOrderCapacity?: number | undefined;
74
+ withdrawnAt?: Date | null | undefined;
75
+ }, {
76
+ _id: string | import("mongoose").Types.ObjectId;
77
+ shop: string | import("mongoose").Types.ObjectId;
78
+ joinedAt: Date;
79
+ isEntireMenu: boolean;
80
+ campaign: string | import("mongoose").Types.ObjectId;
81
+ isOrderCapacityEnabled: boolean;
82
+ isWithdrawn: boolean;
83
+ createdAt?: Date | null | undefined;
84
+ updatedAt?: Date | null | undefined;
85
+ products?: (string | import("mongoose").Types.ObjectId)[] | undefined;
86
+ discountPercentage?: number | undefined;
87
+ maxDiscountCap?: number | undefined;
88
+ maxOrderCapacity?: number | undefined;
89
+ withdrawnAt?: Date | null | undefined;
90
+ }>;
91
+ export declare const CampaignSummarySchema: z.ZodObject<{
92
+ _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>]>;
93
+ title: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
94
+ subTitle: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
95
+ startDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
96
+ endDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
97
+ discountOptions: z.ZodDefault<z.ZodArray<z.ZodNumber, "many">>;
98
+ maxDiscountCaps: z.ZodDefault<z.ZodArray<z.ZodNumber, "many">>;
99
+ }, "strip", z.ZodTypeAny, {
100
+ _id: import("mongoose").Types.ObjectId;
101
+ discountOptions: number[];
102
+ maxDiscountCaps: number[];
103
+ startDate?: Date | null | undefined;
104
+ endDate?: Date | null | undefined;
105
+ title?: string | undefined;
106
+ subTitle?: string | undefined;
107
+ }, {
108
+ _id: string | import("mongoose").Types.ObjectId;
109
+ startDate?: Date | null | undefined;
110
+ endDate?: Date | null | undefined;
111
+ title?: string | undefined;
112
+ subTitle?: string | undefined;
113
+ discountOptions?: number[] | undefined;
114
+ maxDiscountCaps?: number[] | undefined;
115
+ }>;
116
+ export declare const ParticipantSummarySchema: z.ZodObject<{
117
+ discountPercentage: z.ZodOptional<z.ZodNumber>;
118
+ maxDiscountCap: z.ZodOptional<z.ZodNumber>;
119
+ joinedAt: z.ZodDate;
120
+ isEntireMenu: z.ZodBoolean;
121
+ isOrderCapacityEnabled: z.ZodBoolean;
122
+ maxOrderCapacity: z.ZodOptional<z.ZodNumber>;
123
+ productIds: z.ZodDefault<z.ZodArray<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>]>, "many">>;
124
+ marketingId: 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>]>>;
125
+ }, "strip", z.ZodTypeAny, {
126
+ joinedAt: Date;
127
+ productIds: import("mongoose").Types.ObjectId[];
128
+ isEntireMenu: boolean;
129
+ isOrderCapacityEnabled: boolean;
130
+ marketingId?: import("mongoose").Types.ObjectId | undefined;
131
+ discountPercentage?: number | undefined;
132
+ maxDiscountCap?: number | undefined;
133
+ maxOrderCapacity?: number | undefined;
134
+ }, {
135
+ joinedAt: Date;
136
+ isEntireMenu: boolean;
137
+ isOrderCapacityEnabled: boolean;
138
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
139
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
140
+ discountPercentage?: number | undefined;
141
+ maxDiscountCap?: number | undefined;
142
+ maxOrderCapacity?: number | undefined;
143
+ }>;
144
+ export declare const ParticipantStatusSchema: z.ZodObject<{
46
145
  campaignState: z.ZodNativeEnum<typeof LtoCardState>;
47
146
  campaign: z.ZodOptional<z.ZodObject<{
48
147
  _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>]>;
@@ -76,10 +175,14 @@ declare const ParticipantStatusSchema: z.ZodObject<{
76
175
  isEntireMenu: z.ZodBoolean;
77
176
  isOrderCapacityEnabled: z.ZodBoolean;
78
177
  maxOrderCapacity: z.ZodOptional<z.ZodNumber>;
178
+ productIds: z.ZodDefault<z.ZodArray<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>]>, "many">>;
179
+ marketingId: 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>]>>;
79
180
  }, "strip", z.ZodTypeAny, {
80
181
  joinedAt: Date;
182
+ productIds: import("mongoose").Types.ObjectId[];
81
183
  isEntireMenu: boolean;
82
184
  isOrderCapacityEnabled: boolean;
185
+ marketingId?: import("mongoose").Types.ObjectId | undefined;
83
186
  discountPercentage?: number | undefined;
84
187
  maxDiscountCap?: number | undefined;
85
188
  maxOrderCapacity?: number | undefined;
@@ -87,6 +190,8 @@ declare const ParticipantStatusSchema: z.ZodObject<{
87
190
  joinedAt: Date;
88
191
  isEntireMenu: boolean;
89
192
  isOrderCapacityEnabled: boolean;
193
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
194
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
90
195
  discountPercentage?: number | undefined;
91
196
  maxDiscountCap?: number | undefined;
92
197
  maxOrderCapacity?: number | undefined;
@@ -104,8 +209,10 @@ declare const ParticipantStatusSchema: z.ZodObject<{
104
209
  } | undefined;
105
210
  participant?: {
106
211
  joinedAt: Date;
212
+ productIds: import("mongoose").Types.ObjectId[];
107
213
  isEntireMenu: boolean;
108
214
  isOrderCapacityEnabled: boolean;
215
+ marketingId?: import("mongoose").Types.ObjectId | undefined;
109
216
  discountPercentage?: number | undefined;
110
217
  maxDiscountCap?: number | undefined;
111
218
  maxOrderCapacity?: number | undefined;
@@ -125,6 +232,8 @@ declare const ParticipantStatusSchema: z.ZodObject<{
125
232
  joinedAt: Date;
126
233
  isEntireMenu: boolean;
127
234
  isOrderCapacityEnabled: boolean;
235
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
236
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
128
237
  discountPercentage?: number | undefined;
129
238
  maxDiscountCap?: number | undefined;
130
239
  maxOrderCapacity?: number | undefined;
@@ -378,6 +487,8 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
378
487
  joinedAt: Date;
379
488
  isEntireMenu: boolean;
380
489
  isOrderCapacityEnabled: boolean;
490
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
491
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
381
492
  discountPercentage?: number | undefined;
382
493
  maxDiscountCap?: number | undefined;
383
494
  maxOrderCapacity?: number | undefined;
@@ -397,6 +508,8 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
397
508
  joinedAt: Date;
398
509
  isEntireMenu: boolean;
399
510
  isOrderCapacityEnabled: boolean;
511
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
512
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
400
513
  discountPercentage?: number | undefined;
401
514
  maxDiscountCap?: number | undefined;
402
515
  maxOrderCapacity?: number | undefined;
@@ -418,6 +531,8 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
418
531
  joinedAt: Date;
419
532
  isEntireMenu: boolean;
420
533
  isOrderCapacityEnabled: boolean;
534
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
535
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
421
536
  discountPercentage?: number | undefined;
422
537
  maxDiscountCap?: number | undefined;
423
538
  maxOrderCapacity?: number | undefined;
@@ -445,6 +560,8 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
445
560
  joinedAt: Date;
446
561
  isEntireMenu: boolean;
447
562
  isOrderCapacityEnabled: boolean;
563
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
564
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
448
565
  discountPercentage?: number | undefined;
449
566
  maxDiscountCap?: number | undefined;
450
567
  maxOrderCapacity?: number | undefined;
@@ -471,6 +588,8 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
471
588
  joinedAt: Date;
472
589
  isEntireMenu: boolean;
473
590
  isOrderCapacityEnabled: boolean;
591
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
592
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
474
593
  discountPercentage?: number | undefined;
475
594
  maxDiscountCap?: number | undefined;
476
595
  maxOrderCapacity?: number | undefined;
@@ -490,6 +609,8 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
490
609
  joinedAt: Date;
491
610
  isEntireMenu: boolean;
492
611
  isOrderCapacityEnabled: boolean;
612
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
613
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
493
614
  discountPercentage?: number | undefined;
494
615
  maxDiscountCap?: number | undefined;
495
616
  maxOrderCapacity?: number | undefined;
@@ -513,6 +634,8 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
513
634
  joinedAt: Date;
514
635
  isEntireMenu: boolean;
515
636
  isOrderCapacityEnabled: boolean;
637
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
638
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
516
639
  discountPercentage?: number | undefined;
517
640
  maxDiscountCap?: number | undefined;
518
641
  maxOrderCapacity?: number | undefined;
@@ -533,6 +656,8 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
533
656
  joinedAt: Date;
534
657
  isEntireMenu: boolean;
535
658
  isOrderCapacityEnabled: boolean;
659
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
660
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
536
661
  discountPercentage?: number | undefined;
537
662
  maxDiscountCap?: number | undefined;
538
663
  maxOrderCapacity?: number | undefined;
@@ -563,6 +688,8 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
563
688
  joinedAt: Date;
564
689
  isEntireMenu: boolean;
565
690
  isOrderCapacityEnabled: boolean;
691
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
692
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
566
693
  discountPercentage?: number | undefined;
567
694
  maxDiscountCap?: number | undefined;
568
695
  maxOrderCapacity?: number | undefined;
@@ -583,6 +710,8 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
583
710
  joinedAt: Date;
584
711
  isEntireMenu: boolean;
585
712
  isOrderCapacityEnabled: boolean;
713
+ productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
714
+ marketingId?: string | import("mongoose").Types.ObjectId | undefined;
586
715
  discountPercentage?: number | undefined;
587
716
  maxDiscountCap?: number | undefined;
588
717
  maxOrderCapacity?: number | undefined;
@@ -597,7 +726,12 @@ export declare const ParticipantStatusResponseSchema: z.ZodObject<{
597
726
  } | undefined;
598
727
  }>;
599
728
  export type JoinLtoCampaignDTO = DTO<typeof JoinLtoCampaignSchema>;
600
- export type JoinLtoCampaignInputDTO = JoinLtoCampaignDTO;
729
+ export type ParticipantDTO = DTO<typeof ParticipantSchema>;
730
+ export type CampaignSummaryDTO = DTO<typeof CampaignSummarySchema>;
731
+ export type ParticipantSummaryDTO = DTO<typeof ParticipantSummarySchema>;
601
732
  export type ParticipantStatusDTO = DTO<typeof ParticipantStatusSchema>;
602
- export {};
733
+ export type ActiveParticipantMarketingDTO = Pick<ParticipantSummaryDTO, 'marketingId'>;
734
+ export type UpdateParticipantDataDTO = JoinLtoCampaignDTO & {
735
+ marketing: ParticipantSummaryDTO['marketingId'];
736
+ };
603
737
  //# sourceMappingURL=limited-time-offer-participant.validation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"limited-time-offer-participant.validation.d.ts","sourceRoot":"/","sources":["modules/limited-time-offer/participant/limited-time-offer-participant.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,OAAO,EAAuB,GAAG,EAAgB,MAAM,yCAAyC,CAAC;AAEjG,oBAAY,YAAY;IACpB,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,MAAM,WAAW;CACpB;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+B5B,CAAC;AAsCP,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI3B,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA0C,CAAC;AACjF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAgD,CAAC;AAE7F,MAAM,MAAM,kBAAkB,GAAG,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACnE,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,CAAC;AACzD,MAAM,MAAM,oBAAoB,GAAG,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
1
+ {"version":3,"file":"limited-time-offer-participant.validation.d.ts","sourceRoot":"/","sources":["modules/limited-time-offer/participant/limited-time-offer-participant.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,OAAO,EAAuB,GAAG,EAAgB,MAAM,yCAAyC,CAAC;AAEjG,oBAAY,YAAY;IACpB,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,MAAM,WAAW;CACpB;AAED,eAAO,MAAM,qBAA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CAAC,CAAC;AAC3D,MAAM,MAAM,kBAAkB,GAAG,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACnE,MAAM,MAAM,qBAAqB,GAAG,GAAG,CAAC,OAAO,wBAAwB,CAAC,CAAC;AACzE,MAAM,MAAM,oBAAoB,GAAG,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACvE,MAAM,MAAM,6BAA6B,GAAG,IAAI,CAAC,qBAAqB,EAAE,aAAa,CAAC,CAAC;AACvF,MAAM,MAAM,wBAAwB,GAAG,kBAAkB,GAAG;IAAC,SAAS,EAAE,qBAAqB,CAAC,aAAa,CAAC,CAAA;CAAC,CAAC"}
@@ -8,6 +8,9 @@ export declare class LtoParticipantMarketingService {
8
8
  _id: mongoose.Types.ObjectId;
9
9
  }, dto: JoinLtoCampaignDTO): Promise<mongoose.Types.ObjectId>;
10
10
  removeMarketing(marketingId: mongoose.Types.ObjectId): Promise<void>;
11
+ replaceMarketing(oldMarketingId: mongoose.Types.ObjectId, shopId: mongoose.Types.ObjectId, campaign: LimitedTimeOfferCampaign & {
12
+ _id: mongoose.Types.ObjectId;
13
+ }, dto: JoinLtoCampaignDTO): Promise<mongoose.Types.ObjectId>;
11
14
  removeAllCampaignMarketings(campaignId: mongoose.Types.ObjectId): Promise<void>;
12
15
  }
13
16
  export declare const ltoParticipantMarketingService: LtoParticipantMarketingService;
@@ -1 +1 @@
1
- {"version":3,"file":"limited-time-offer-participant-marketing.service.d.ts","sourceRoot":"/","sources":["modules/limited-time-offer/participant/services/limited-time-offer-participant-marketing.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAC,wBAAwB,EAAC,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAC,kBAAkB,EAAC,MAAM,8CAA8C,CAAC;AAIhF,qBACa,8BAA8B;IACvC,OAAO,CAAC,UAAU,CAA2B;;IAMhC,cAAc,CACvB,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAC/B,QAAQ,EAAE,wBAAwB,GAAG;QAAC,GAAG,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAA;KAAC,EACnE,GAAG,EAAE,kBAAkB,GACxB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC;IAOtB,eAAe,CAAC,WAAW,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAIpE,2BAA2B,CAAC,UAAU,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;CAI/F;AAED,eAAO,MAAM,8BAA8B,gCAAgD,CAAC"}
1
+ {"version":3,"file":"limited-time-offer-participant-marketing.service.d.ts","sourceRoot":"/","sources":["modules/limited-time-offer/participant/services/limited-time-offer-participant-marketing.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAC,wBAAwB,EAAC,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAC,kBAAkB,EAAC,MAAM,8CAA8C,CAAC;AAIhF,qBACa,8BAA8B;IACvC,OAAO,CAAC,UAAU,CAA2B;;IAMhC,cAAc,CACvB,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAC/B,QAAQ,EAAE,wBAAwB,GAAG;QAAC,GAAG,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAA;KAAC,EACnE,GAAG,EAAE,kBAAkB,GACxB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC;IAOtB,eAAe,CAAC,WAAW,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAIpE,gBAAgB,CACzB,cAAc,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EACvC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAC/B,QAAQ,EAAE,wBAAwB,GAAG;QAAC,GAAG,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAA;KAAC,EACnE,GAAG,EAAE,kBAAkB,GACxB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC;IAKtB,2BAA2B,CAAC,UAAU,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;CAI/F;AAED,eAAO,MAAM,8BAA8B,gCAAgD,CAAC"}
@@ -9,6 +9,7 @@ export declare class LimitedTimeOfferParticipantService {
9
9
  join(shopId: mongoose.Types.ObjectId, dto: JoinLtoCampaignDTO): Promise<DocumentType<import("@lyxa.ai/core/dist/libraries/mongo/models").LimitedTimeOfferParticipant>>;
10
10
  withdraw(shopId: mongoose.Types.ObjectId): Promise<void>;
11
11
  getStatus(shopId: mongoose.Types.ObjectId): Promise<ParticipantStatusDTO>;
12
+ update(shopId: mongoose.Types.ObjectId, dto: JoinLtoCampaignDTO): Promise<DocumentType<import("@lyxa.ai/core/dist/libraries/mongo/models").LimitedTimeOfferParticipant> | null>;
12
13
  getParticipants(dto: GetLtoCampaignParticipantsDTO): Promise<{
13
14
  documents: {
14
15
  joinedAt: Date;
@@ -1 +1 @@
1
- {"version":3,"file":"limited-time-offer-participant.service.d.ts","sourceRoot":"/","sources":["modules/limited-time-offer/participant/services/limited-time-offer-participant.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAE,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAM5D,OAAO,EAAC,kBAAkB,EAAgB,oBAAoB,EAAC,MAAM,8CAA8C,CAAC;AAGpH,OAAO,EAAC,6BAA6B,EAAC,MAAM,uDAAuD,CAAC;AAEpG,qBACa,kCAAkC;IAC3C,OAAO,CAAC,UAAU,CAA2B;IAC7C,OAAO,CAAC,eAAe,CAAqB;IAC5C,OAAO,CAAC,gBAAgB,CAAiC;;IAQ5C,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,GAAG,EAAE,kBAAkB;IAa7D,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAaxD,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAgBzE,eAAe,CAAC,GAAG,EAAE,6BAA6B;;;;;;;;;;;;;;;YAQjD,0BAA0B;YAQ1B,sBAAsB;IAMpC,OAAO,CAAC,0BAA0B;CAQrC;AAED,eAAO,MAAM,qBAAqB,oCAAoD,CAAC"}
1
+ {"version":3,"file":"limited-time-offer-participant.service.d.ts","sourceRoot":"/","sources":["modules/limited-time-offer/participant/services/limited-time-offer-participant.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAE,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAM5D,OAAO,EAAC,kBAAkB,EAAgB,oBAAoB,EAAC,MAAM,8CAA8C,CAAC;AAGpH,OAAO,EAAC,6BAA6B,EAAC,MAAM,uDAAuD,CAAC;AAEpG,qBACa,kCAAkC;IAC3C,OAAO,CAAC,UAAU,CAA2B;IAC7C,OAAO,CAAC,eAAe,CAAqB;IAC5C,OAAO,CAAC,gBAAgB,CAAiC;;IAQ5C,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,GAAG,EAAE,kBAAkB;IAa7D,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAaxD,SAAS,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAgBzE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,GAAG,EAAE,kBAAkB;IAuB/D,eAAe,CAAC,GAAG,EAAE,6BAA6B;;;;;;;;;;;;;;;YAQjD,0BAA0B;YAQ1B,sBAAsB;IAMpC,OAAO,CAAC,0BAA0B;CAQrC;AAED,eAAO,MAAM,qBAAqB,oCAAoD,CAAC"}
@@ -59,6 +59,7 @@ export declare class PunchMarketingHistoryService {
59
59
  */
60
60
  getPunchDiscount(data: ValidateCouponDTO): Promise<CouponValidationOutputDTO>;
61
61
  getPunchCoupon(user: mongoose.Types.ObjectId, shop: mongoose.Types.ObjectId): Promise<any>;
62
+ returnPunchCoupon(orderId: mongoose.Types.ObjectId): Promise<void>;
62
63
  }
63
64
  export declare const punchMarketingHistoryService: PunchMarketingHistoryService;
64
65
  //# sourceMappingURL=punch-marketing-history.service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"punch-marketing-history.service.d.ts","sourceRoot":"/","sources":["modules/punch-marketing-history/services/punch-marketing-history.service.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAmB,MAAM,sBAAsB,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAElG,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAEN,qBAAqB,IAAI,KAAK,EAK9B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACN,8BAA8B,IAAI,SAAS,EAC3C,mBAAmB,EACnB,8BAA8B,IAAI,SAAS,EAC3C,MAAM,8CAA8C,CAAC;AAWtD,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAO3F,qBACa,4BAA4B;IACxC,OAAO,CAAC,KAAK,CAA6D;IAC1E,OAAO,CAAC,cAAc,CAA+D;IACrF,OAAO,CAAC,UAAU,CAA2D;;IAQ7E;;;OAGG;IACU,MAAM,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAA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;;;OAGG;IACU,UAAU,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC;IAczD;;;;OAIG;IACU,oBAAoB,CAChC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAC/B,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAC9B,OAAO,CAAC,MAAM,CAAC;IAqDlB;;;;OAIG;YACW,gBAAgB;IA+CjB,yBAAyB,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ;IAsCxG;;;OAGG;IACU,gBAAgB,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,yBAAyB,CAAC;IA2D7E,cAAc,CAAC,IAAI,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC;IA6C1F,iBAAiB,CAAC,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;CAkB/E;AAED,eAAO,MAAM,4BAA4B,8BAA8C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lyxa.ai/marketing",
3
- "version": "1.0.43",
3
+ "version": "1.0.44",
4
4
  "description": "The Lyxa Marketing microservice",
5
5
  "license": "MIT",
6
6
  "main": "dist/lib/index.js",
@@ -19,7 +19,7 @@
19
19
  "test:watch": "jest --watch"
20
20
  },
21
21
  "dependencies": {
22
- "@lyxa.ai/core": "1.4.99",
22
+ "@lyxa.ai/core": "1.4.109",
23
23
  "@lyxa.ai/notification": "^1.0.7",
24
24
  "@trpc/client": "^11.4.3",
25
25
  "@trpc/server": "^11.4.3",