@lyxa.ai/marketing 1.0.10 → 1.0.12

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 (58) hide show
  1. package/dist/lib/index.js +6 -8
  2. package/dist/types/index.d.ts +413 -320
  3. package/dist/types/index.d.ts.map +1 -1
  4. package/dist/types/modules/coupon/routers/coupon.router.d.ts +413 -0
  5. package/dist/types/modules/coupon/routers/coupon.router.d.ts.map +1 -1
  6. package/dist/types/modules/coupon/services/coupon.service.d.ts +2 -1
  7. package/dist/types/modules/coupon/services/coupon.service.d.ts.map +1 -1
  8. package/dist/types/modules/coupon/services/custom-coupon.service.d.ts.map +1 -1
  9. package/dist/types/modules/coupon/services/global-coupon.service.d.ts.map +1 -1
  10. package/dist/types/modules/coupon/services/individual-store-coupon.service.d.ts.map +1 -1
  11. package/dist/types/modules/coupon/services/individual-user-coupon.service.d.ts.map +1 -1
  12. package/dist/types/modules/coupon/services/patterns/repository/CouponRepository.d.ts +3 -0
  13. package/dist/types/modules/coupon/services/patterns/repository/CouponRepository.d.ts.map +1 -1
  14. package/dist/types/modules/coupon/services/referral-code-coupon.service.d.ts.map +1 -1
  15. package/dist/types/modules/coupon/services/referral-reward-coupon.service.d.ts.map +1 -1
  16. package/dist/types/modules/coupon/transformers/coupon.transformer.d.ts +35 -0
  17. package/dist/types/modules/coupon/transformers/coupon.transformer.d.ts.map +1 -1
  18. package/dist/types/modules/coupon/validations/all-coupons.validation.d.ts +615 -0
  19. package/dist/types/modules/coupon/validations/all-coupons.validation.d.ts.map +1 -1
  20. package/dist/types/modules/coupon/validations/coupon.validation.d.ts +255 -0
  21. package/dist/types/modules/coupon/validations/coupon.validation.d.ts.map +1 -1
  22. package/dist/types/modules/coupon/validations/custom-coupon.validation.d.ts +55 -0
  23. package/dist/types/modules/coupon/validations/custom-coupon.validation.d.ts.map +1 -1
  24. package/dist/types/modules/coupon/validations/global-coupon.validation.d.ts +55 -0
  25. package/dist/types/modules/coupon/validations/global-coupon.validation.d.ts.map +1 -1
  26. package/dist/types/modules/coupon/validations/individual-store-coupon.validation.d.ts +55 -0
  27. package/dist/types/modules/coupon/validations/individual-store-coupon.validation.d.ts.map +1 -1
  28. package/dist/types/modules/coupon/validations/individual-user-coupon.validation.d.ts +55 -0
  29. package/dist/types/modules/coupon/validations/individual-user-coupon.validation.d.ts.map +1 -1
  30. package/dist/types/modules/coupon/validations/referral-reward-coupon.validation.d.ts +55 -0
  31. package/dist/types/modules/coupon/validations/referral-reward-coupon.validation.d.ts.map +1 -1
  32. package/dist/types/modules/marketing/services/free-delivery-marketing.service.d.ts.map +1 -1
  33. package/dist/types/modules/marketing/services/index.d.ts +0 -1
  34. package/dist/types/modules/marketing/services/index.d.ts.map +1 -1
  35. package/dist/types/modules/marketing/services/marketing.service.d.ts +2 -2
  36. package/dist/types/modules/marketing/services/marketing.service.d.ts.map +1 -1
  37. package/dist/types/modules/marketing/services/product-marketing.service.d.ts +5 -0
  38. package/dist/types/modules/marketing/services/product-marketing.service.d.ts.map +1 -1
  39. package/dist/types/modules/marketing/transformers/buy1-get1-marketing.transformer.d.ts +0 -3
  40. package/dist/types/modules/marketing/transformers/buy1-get1-marketing.transformer.d.ts.map +1 -1
  41. package/dist/types/modules/marketing/transformers/discount-marketing.transformer.d.ts +2 -5
  42. package/dist/types/modules/marketing/transformers/discount-marketing.transformer.d.ts.map +1 -1
  43. package/dist/types/modules/marketing/transformers/index.d.ts +0 -1
  44. package/dist/types/modules/marketing/transformers/index.d.ts.map +1 -1
  45. package/dist/types/modules/marketing/transformers/product-marketing.transformer.d.ts +0 -1
  46. package/dist/types/modules/marketing/transformers/product-marketing.transformer.d.ts.map +1 -1
  47. package/dist/types/modules/marketing/validations/all-marketings.validation.d.ts +1 -0
  48. package/dist/types/modules/marketing/validations/all-marketings.validation.d.ts.map +1 -1
  49. package/dist/types/modules/marketing/validations/buy1-get1-marketing.validation.d.ts +120 -24
  50. package/dist/types/modules/marketing/validations/buy1-get1-marketing.validation.d.ts.map +1 -1
  51. package/dist/types/modules/marketing/validations/discount-marketing.validation.d.ts +28 -58
  52. package/dist/types/modules/marketing/validations/discount-marketing.validation.d.ts.map +1 -1
  53. package/dist/types/modules/marketing/validations/index.d.ts +0 -1
  54. package/dist/types/modules/marketing/validations/index.d.ts.map +1 -1
  55. package/dist/types/modules/marketing/validations/product-marketing.validation.d.ts +0 -19
  56. package/dist/types/modules/marketing/validations/product-marketing.validation.d.ts.map +1 -1
  57. package/dist/types/modules/punch-marketing-history/services/punch-marketing-history.service.d.ts.map +1 -1
  58. package/package.json +3 -3
@@ -7,12 +7,11 @@ import { MarketingType, ValueType } from '@lyxa.ai/core/dist/utilities/enum';
7
7
  declare const DiscountMarketingValidationSchema: z.ZodObject<{
8
8
  marketingType: z.ZodLiteral<MarketingType.DISCOUNT>;
9
9
  isEntireMenu: z.ZodDefault<z.ZodBoolean>;
10
- valueType: z.ZodNativeEnum<typeof ValueType>;
11
- value: z.ZodNumber;
10
+ valueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
11
+ value: z.ZodOptional<z.ZodNumber>;
12
12
  products: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
13
13
  product: 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>]>;
14
14
  marketing: 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>]>>;
15
- loyaltyPointCategory: 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>]>>;
16
15
  isBuy1Get1: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
17
16
  valueType: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>;
18
17
  value: z.ZodOptional<z.ZodNumber>;
@@ -20,14 +19,12 @@ declare const DiscountMarketingValidationSchema: z.ZodObject<{
20
19
  product: import("mongoose").Types.ObjectId;
21
20
  value?: number | undefined;
22
21
  marketing?: import("mongoose").Types.ObjectId | undefined;
23
- loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
24
22
  isBuy1Get1?: boolean | undefined;
25
23
  valueType?: ValueType | null | undefined;
26
24
  }, {
27
25
  product: string | import("mongoose").Types.ObjectId;
28
26
  value?: number | undefined;
29
27
  marketing?: string | import("mongoose").Types.ObjectId | undefined;
30
- loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
31
28
  isBuy1Get1?: boolean | undefined;
32
29
  valueType?: ValueType | null | undefined;
33
30
  }>, "many">>>;
@@ -51,7 +48,6 @@ declare const DiscountMarketingValidationSchema: z.ZodObject<{
51
48
  }, "strict", z.ZodTypeAny, {
52
49
  isAppliedByCompany: boolean;
53
50
  shop: import("mongoose").Types.ObjectId;
54
- value: number;
55
51
  status: import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus;
56
52
  marketingType: MarketingType.DISCOUNT;
57
53
  duration: {
@@ -59,12 +55,10 @@ declare const DiscountMarketingValidationSchema: z.ZodObject<{
59
55
  end?: Date | undefined;
60
56
  };
61
57
  pausedAt: Date | null;
62
- valueType: ValueType;
63
58
  products: {
64
59
  product: import("mongoose").Types.ObjectId;
65
60
  value?: number | undefined;
66
61
  marketing?: import("mongoose").Types.ObjectId | undefined;
67
- loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
68
62
  isBuy1Get1?: boolean | undefined;
69
63
  valueType?: ValueType | null | undefined;
70
64
  }[];
@@ -72,23 +66,24 @@ declare const DiscountMarketingValidationSchema: z.ZodObject<{
72
66
  spendLimit: number;
73
67
  isOnlyForSubscriber: boolean;
74
68
  maxDiscountPerOrder: number;
69
+ value?: number | undefined;
70
+ valueType?: ValueType | undefined;
75
71
  }, {
76
72
  isAppliedByCompany: boolean;
77
73
  shop: string | import("mongoose").Types.ObjectId;
78
- value: number;
79
74
  marketingType: MarketingType.DISCOUNT;
80
75
  duration: {
81
76
  start: string | Date;
82
77
  end?: string | Date | undefined;
83
78
  };
84
- valueType: ValueType;
79
+ value?: number | undefined;
85
80
  status?: import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus | undefined;
86
81
  pausedAt?: string | Date | null | undefined;
82
+ valueType?: ValueType | undefined;
87
83
  products?: {
88
84
  product: string | import("mongoose").Types.ObjectId;
89
85
  value?: number | undefined;
90
86
  marketing?: string | import("mongoose").Types.ObjectId | undefined;
91
- loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
92
87
  isBuy1Get1?: boolean | undefined;
93
88
  valueType?: ValueType | null | undefined;
94
89
  }[] | undefined;
@@ -99,12 +94,11 @@ declare const DiscountMarketingValidationSchema: z.ZodObject<{
99
94
  }>, DiscountMarketingSchema: z.ZodObject<{
100
95
  marketingType: z.ZodOptional<z.ZodLiteral<MarketingType.DISCOUNT>>;
101
96
  isEntireMenu: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
102
- valueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
103
- value: z.ZodOptional<z.ZodNumber>;
97
+ valueType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>>;
98
+ value: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
104
99
  products: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
105
100
  product: 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>]>;
106
101
  marketing: 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>]>>;
107
- loyaltyPointCategory: 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>]>>;
108
102
  isBuy1Get1: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
109
103
  valueType: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>;
110
104
  value: z.ZodOptional<z.ZodNumber>;
@@ -112,14 +106,12 @@ declare const DiscountMarketingValidationSchema: z.ZodObject<{
112
106
  product: import("mongoose").Types.ObjectId;
113
107
  value?: number | undefined;
114
108
  marketing?: import("mongoose").Types.ObjectId | undefined;
115
- loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
116
109
  isBuy1Get1?: boolean | undefined;
117
110
  valueType?: ValueType | null | undefined;
118
111
  }, {
119
112
  product: string | import("mongoose").Types.ObjectId;
120
113
  value?: number | undefined;
121
114
  marketing?: string | import("mongoose").Types.ObjectId | undefined;
122
- loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
123
115
  isBuy1Get1?: boolean | undefined;
124
116
  valueType?: ValueType | null | undefined;
125
117
  }>, "many">>>>;
@@ -144,12 +136,11 @@ declare const DiscountMarketingValidationSchema: z.ZodObject<{
144
136
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
145
137
  marketingType: z.ZodOptional<z.ZodLiteral<MarketingType.DISCOUNT>>;
146
138
  isEntireMenu: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
147
- valueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
148
- value: z.ZodOptional<z.ZodNumber>;
139
+ valueType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>>;
140
+ value: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
149
141
  products: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
150
142
  product: 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>]>;
151
143
  marketing: 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>]>>;
152
- loyaltyPointCategory: 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>]>>;
153
144
  isBuy1Get1: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
154
145
  valueType: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>;
155
146
  value: z.ZodOptional<z.ZodNumber>;
@@ -157,14 +148,12 @@ declare const DiscountMarketingValidationSchema: z.ZodObject<{
157
148
  product: import("mongoose").Types.ObjectId;
158
149
  value?: number | undefined;
159
150
  marketing?: import("mongoose").Types.ObjectId | undefined;
160
- loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
161
151
  isBuy1Get1?: boolean | undefined;
162
152
  valueType?: ValueType | null | undefined;
163
153
  }, {
164
154
  product: string | import("mongoose").Types.ObjectId;
165
155
  value?: number | undefined;
166
156
  marketing?: string | import("mongoose").Types.ObjectId | undefined;
167
- loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
168
157
  isBuy1Get1?: boolean | undefined;
169
158
  valueType?: ValueType | null | undefined;
170
159
  }>, "many">>>>;
@@ -189,12 +178,11 @@ declare const DiscountMarketingValidationSchema: z.ZodObject<{
189
178
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
190
179
  marketingType: z.ZodOptional<z.ZodLiteral<MarketingType.DISCOUNT>>;
191
180
  isEntireMenu: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
192
- valueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
193
- value: z.ZodOptional<z.ZodNumber>;
181
+ valueType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>>;
182
+ value: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
194
183
  products: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
195
184
  product: 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>]>;
196
185
  marketing: 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>]>>;
197
- loyaltyPointCategory: 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>]>>;
198
186
  isBuy1Get1: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
199
187
  valueType: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>;
200
188
  value: z.ZodOptional<z.ZodNumber>;
@@ -202,14 +190,12 @@ declare const DiscountMarketingValidationSchema: z.ZodObject<{
202
190
  product: import("mongoose").Types.ObjectId;
203
191
  value?: number | undefined;
204
192
  marketing?: import("mongoose").Types.ObjectId | undefined;
205
- loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
206
193
  isBuy1Get1?: boolean | undefined;
207
194
  valueType?: ValueType | null | undefined;
208
195
  }, {
209
196
  product: string | import("mongoose").Types.ObjectId;
210
197
  value?: number | undefined;
211
198
  marketing?: string | import("mongoose").Types.ObjectId | undefined;
212
- loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
213
199
  isBuy1Get1?: boolean | undefined;
214
200
  valueType?: ValueType | null | undefined;
215
201
  }>, "many">>>>;
@@ -240,12 +226,11 @@ declare const DiscountMarketingValidationSchema: z.ZodObject<{
240
226
  }> | z.ZodObject<{
241
227
  marketingType: z.ZodOptional<z.ZodLiteral<MarketingType.DISCOUNT>>;
242
228
  isEntireMenu: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
243
- valueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
244
- value: z.ZodOptional<z.ZodNumber>;
229
+ valueType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>>;
230
+ value: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
245
231
  products: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
246
232
  product: 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>]>;
247
233
  marketing: 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>]>>;
248
- loyaltyPointCategory: 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>]>>;
249
234
  isBuy1Get1: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
250
235
  valueType: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>;
251
236
  value: z.ZodOptional<z.ZodNumber>;
@@ -253,14 +238,12 @@ declare const DiscountMarketingValidationSchema: z.ZodObject<{
253
238
  product: import("mongoose").Types.ObjectId;
254
239
  value?: number | undefined;
255
240
  marketing?: import("mongoose").Types.ObjectId | undefined;
256
- loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
257
241
  isBuy1Get1?: boolean | undefined;
258
242
  valueType?: ValueType | null | undefined;
259
243
  }, {
260
244
  product: string | import("mongoose").Types.ObjectId;
261
245
  value?: number | undefined;
262
246
  marketing?: string | import("mongoose").Types.ObjectId | undefined;
263
- loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
264
247
  isBuy1Get1?: boolean | undefined;
265
248
  valueType?: ValueType | null | undefined;
266
249
  }>, "many">>>>;
@@ -285,12 +268,11 @@ declare const DiscountMarketingValidationSchema: z.ZodObject<{
285
268
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
286
269
  marketingType: z.ZodOptional<z.ZodLiteral<MarketingType.DISCOUNT>>;
287
270
  isEntireMenu: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
288
- valueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
289
- value: z.ZodOptional<z.ZodNumber>;
271
+ valueType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>>;
272
+ value: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
290
273
  products: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
291
274
  product: 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>]>;
292
275
  marketing: 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>]>>;
293
- loyaltyPointCategory: 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>]>>;
294
276
  isBuy1Get1: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
295
277
  valueType: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>;
296
278
  value: z.ZodOptional<z.ZodNumber>;
@@ -298,14 +280,12 @@ declare const DiscountMarketingValidationSchema: z.ZodObject<{
298
280
  product: import("mongoose").Types.ObjectId;
299
281
  value?: number | undefined;
300
282
  marketing?: import("mongoose").Types.ObjectId | undefined;
301
- loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
302
283
  isBuy1Get1?: boolean | undefined;
303
284
  valueType?: ValueType | null | undefined;
304
285
  }, {
305
286
  product: string | import("mongoose").Types.ObjectId;
306
287
  value?: number | undefined;
307
288
  marketing?: string | import("mongoose").Types.ObjectId | undefined;
308
- loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
309
289
  isBuy1Get1?: boolean | undefined;
310
290
  valueType?: ValueType | null | undefined;
311
291
  }>, "many">>>>;
@@ -330,12 +310,11 @@ declare const DiscountMarketingValidationSchema: z.ZodObject<{
330
310
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
331
311
  marketingType: z.ZodOptional<z.ZodLiteral<MarketingType.DISCOUNT>>;
332
312
  isEntireMenu: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
333
- valueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
334
- value: z.ZodOptional<z.ZodNumber>;
313
+ valueType: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>>;
314
+ value: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
335
315
  products: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
336
316
  product: 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>]>;
337
317
  marketing: 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>]>>;
338
- loyaltyPointCategory: 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>]>>;
339
318
  isBuy1Get1: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
340
319
  valueType: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>;
341
320
  value: z.ZodOptional<z.ZodNumber>;
@@ -343,14 +322,12 @@ declare const DiscountMarketingValidationSchema: z.ZodObject<{
343
322
  product: import("mongoose").Types.ObjectId;
344
323
  value?: number | undefined;
345
324
  marketing?: import("mongoose").Types.ObjectId | undefined;
346
- loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
347
325
  isBuy1Get1?: boolean | undefined;
348
326
  valueType?: ValueType | null | undefined;
349
327
  }, {
350
328
  product: string | import("mongoose").Types.ObjectId;
351
329
  value?: number | undefined;
352
330
  marketing?: string | import("mongoose").Types.ObjectId | undefined;
353
- loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
354
331
  isBuy1Get1?: boolean | undefined;
355
332
  valueType?: ValueType | null | undefined;
356
333
  }>, "many">>>>;
@@ -376,12 +353,11 @@ declare const DiscountMarketingValidationSchema: z.ZodObject<{
376
353
  declare const DiscountMarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject<{
377
354
  marketingType: z.ZodLiteral<MarketingType.DISCOUNT>;
378
355
  isEntireMenu: z.ZodDefault<z.ZodBoolean>;
379
- valueType: z.ZodNativeEnum<typeof ValueType>;
380
- value: z.ZodNumber;
356
+ valueType: z.ZodOptional<z.ZodNativeEnum<typeof ValueType>>;
357
+ value: z.ZodOptional<z.ZodNumber>;
381
358
  products: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
382
359
  product: 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>]>;
383
360
  marketing: 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>]>>;
384
- loyaltyPointCategory: 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>]>>;
385
361
  isBuy1Get1: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
386
362
  valueType: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>;
387
363
  value: z.ZodOptional<z.ZodNumber>;
@@ -389,14 +365,12 @@ declare const DiscountMarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
389
365
  product: import("mongoose").Types.ObjectId;
390
366
  value?: number | undefined;
391
367
  marketing?: import("mongoose").Types.ObjectId | undefined;
392
- loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
393
368
  isBuy1Get1?: boolean | undefined;
394
369
  valueType?: ValueType | null | undefined;
395
370
  }, {
396
371
  product: string | import("mongoose").Types.ObjectId;
397
372
  value?: number | undefined;
398
373
  marketing?: string | import("mongoose").Types.ObjectId | undefined;
399
- loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
400
374
  isBuy1Get1?: boolean | undefined;
401
375
  valueType?: ValueType | null | undefined;
402
376
  }>, "many">>>;
@@ -420,7 +394,6 @@ declare const DiscountMarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
420
394
  }, "strict", z.ZodTypeAny, {
421
395
  isAppliedByCompany: boolean;
422
396
  shop: import("mongoose").Types.ObjectId;
423
- value: number;
424
397
  status: import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus;
425
398
  marketingType: MarketingType.DISCOUNT;
426
399
  duration: {
@@ -428,12 +401,10 @@ declare const DiscountMarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
428
401
  end?: Date | undefined;
429
402
  };
430
403
  pausedAt: Date | null;
431
- valueType: ValueType;
432
404
  products: {
433
405
  product: import("mongoose").Types.ObjectId;
434
406
  value?: number | undefined;
435
407
  marketing?: import("mongoose").Types.ObjectId | undefined;
436
- loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
437
408
  isBuy1Get1?: boolean | undefined;
438
409
  valueType?: ValueType | null | undefined;
439
410
  }[];
@@ -441,23 +412,24 @@ declare const DiscountMarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
441
412
  spendLimit: number;
442
413
  isOnlyForSubscriber: boolean;
443
414
  maxDiscountPerOrder: number;
415
+ value?: number | undefined;
416
+ valueType?: ValueType | undefined;
444
417
  }, {
445
418
  isAppliedByCompany: boolean;
446
419
  shop: string | import("mongoose").Types.ObjectId;
447
- value: number;
448
420
  marketingType: MarketingType.DISCOUNT;
449
421
  duration: {
450
422
  start: string | Date;
451
423
  end?: string | Date | undefined;
452
424
  };
453
- valueType: ValueType;
425
+ value?: number | undefined;
454
426
  status?: import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus | undefined;
455
427
  pausedAt?: string | Date | null | undefined;
428
+ valueType?: ValueType | undefined;
456
429
  products?: {
457
430
  product: string | import("mongoose").Types.ObjectId;
458
431
  value?: number | undefined;
459
432
  marketing?: string | import("mongoose").Types.ObjectId | undefined;
460
- loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
461
433
  isBuy1Get1?: boolean | undefined;
462
434
  valueType?: ValueType | null | undefined;
463
435
  }[] | undefined;
@@ -468,7 +440,6 @@ declare const DiscountMarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
468
440
  }>, {
469
441
  isAppliedByCompany: boolean;
470
442
  shop: import("mongoose").Types.ObjectId;
471
- value: number;
472
443
  status: import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus;
473
444
  marketingType: MarketingType.DISCOUNT;
474
445
  duration: {
@@ -476,12 +447,10 @@ declare const DiscountMarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
476
447
  end?: Date | undefined;
477
448
  };
478
449
  pausedAt: Date | null;
479
- valueType: ValueType;
480
450
  products: {
481
451
  product: import("mongoose").Types.ObjectId;
482
452
  value?: number | undefined;
483
453
  marketing?: import("mongoose").Types.ObjectId | undefined;
484
- loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
485
454
  isBuy1Get1?: boolean | undefined;
486
455
  valueType?: ValueType | null | undefined;
487
456
  }[];
@@ -489,23 +458,24 @@ declare const DiscountMarketingValidationSchemaRefined: z.ZodEffects<z.ZodObject
489
458
  spendLimit: number;
490
459
  isOnlyForSubscriber: boolean;
491
460
  maxDiscountPerOrder: number;
461
+ value?: number | undefined;
462
+ valueType?: ValueType | undefined;
492
463
  }, {
493
464
  isAppliedByCompany: boolean;
494
465
  shop: string | import("mongoose").Types.ObjectId;
495
- value: number;
496
466
  marketingType: MarketingType.DISCOUNT;
497
467
  duration: {
498
468
  start: string | Date;
499
469
  end?: string | Date | undefined;
500
470
  };
501
- valueType: ValueType;
471
+ value?: number | undefined;
502
472
  status?: import("@lyxa.ai/core/dist/utilities/enum").MarketingStatus | undefined;
503
473
  pausedAt?: string | Date | null | undefined;
474
+ valueType?: ValueType | undefined;
504
475
  products?: {
505
476
  product: string | import("mongoose").Types.ObjectId;
506
477
  value?: number | undefined;
507
478
  marketing?: string | import("mongoose").Types.ObjectId | undefined;
508
- loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
509
479
  isBuy1Get1?: boolean | undefined;
510
480
  valueType?: ValueType | null | undefined;
511
481
  }[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"discount-marketing.validation.d.ts","sourceRoot":"/","sources":["modules/marketing/validations/discount-marketing.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAGN,GAAG,EACH,MAAM,2DAA2D,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AA0B7E;;GAEG;AACH,QAAA,MACa,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAC/B,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAC3B,yBAAyB,mNACrB,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCACQ,CAAC;AAErD,QAAA,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY7C,CAAC;AAEF;;GAEG;AACH,OAAO,EACN,wCAAwC,IAAI,iCAAiC,EAC7E,uBAAuB,EACvB,yBAAyB,IAAI,mCAAmC,EAChE,6BAA6B,GAC7B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,GAAG,CAAC,OAAO,iCAAiC,CAAC,CAAC;AACvF,MAAM,MAAM,oBAAoB,GAAG,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACvE,MAAM,MAAM,0BAA0B,GAAG,GAAG,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
1
+ {"version":3,"file":"discount-marketing.validation.d.ts","sourceRoot":"/","sources":["modules/marketing/validations/discount-marketing.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAGN,GAAG,EACH,MAAM,2DAA2D,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AA0B7E;;GAEG;AACH,QAAA,MACa,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAC/B,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAC3B,yBAAyB,mNACrB,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCACQ,CAAC;AAErD,QAAA,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4B7C,CAAC;AAEF;;GAEG;AACH,OAAO,EACN,wCAAwC,IAAI,iCAAiC,EAC7E,uBAAuB,EACvB,yBAAyB,IAAI,mCAAmC,EAChE,6BAA6B,GAC7B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,GAAG,CAAC,OAAO,iCAAiC,CAAC,CAAC;AACvF,MAAM,MAAM,oBAAoB,GAAG,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACvE,MAAM,MAAM,0BAA0B,GAAG,GAAG,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
@@ -2,7 +2,6 @@ export * from './buy1-get1-marketing.validation';
2
2
  export * from './discount-marketing.validation';
3
3
  export * from './featured-marketing.validation';
4
4
  export * from './free-delivery-marketing.validation';
5
- export * from './loyalty-point-marketing.validation';
6
5
  export * from './punch-marketing.validation';
7
6
  export * from './product-marketing.validation';
8
7
  export * from './marketing.validation';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["modules/marketing/validations/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["modules/marketing/validations/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC"}
@@ -7,7 +7,6 @@ import { ValueType } from '@lyxa.ai/core/dist/utilities/enum';
7
7
  export declare const baseFields: {
8
8
  product: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
9
9
  marketing: 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>]>>;
10
- loyaltyPointCategory: 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>]>>;
11
10
  isBuy1Get1: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
12
11
  valueType: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>;
13
12
  value: z.ZodOptional<z.ZodNumber>;
@@ -18,7 +17,6 @@ export declare const baseFields: {
18
17
  declare const ProductMarketingValidationSchema: z.ZodObject<{
19
18
  product: 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>]>;
20
19
  marketing: 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>]>>;
21
- loyaltyPointCategory: 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>]>>;
22
20
  isBuy1Get1: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
23
21
  valueType: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>;
24
22
  value: z.ZodOptional<z.ZodNumber>;
@@ -26,20 +24,17 @@ declare const ProductMarketingValidationSchema: z.ZodObject<{
26
24
  product: import("mongoose").Types.ObjectId;
27
25
  value?: number | undefined;
28
26
  marketing?: import("mongoose").Types.ObjectId | undefined;
29
- loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
30
27
  isBuy1Get1?: boolean | undefined;
31
28
  valueType?: ValueType | null | undefined;
32
29
  }, {
33
30
  product: string | import("mongoose").Types.ObjectId;
34
31
  value?: number | undefined;
35
32
  marketing?: string | import("mongoose").Types.ObjectId | undefined;
36
- loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
37
33
  isBuy1Get1?: boolean | undefined;
38
34
  valueType?: ValueType | null | undefined;
39
35
  }>, ProductMarketingSchema: z.ZodObject<{
40
36
  product: 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>]>>;
41
37
  marketing: z.ZodOptional<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>]>>>;
42
- loyaltyPointCategory: z.ZodOptional<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>]>>>;
43
38
  isBuy1Get1: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
44
39
  valueType: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>>;
45
40
  value: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -47,7 +42,6 @@ declare const ProductMarketingValidationSchema: z.ZodObject<{
47
42
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
48
43
  product: 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>]>>;
49
44
  marketing: z.ZodOptional<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>]>>>;
50
- loyaltyPointCategory: z.ZodOptional<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>]>>>;
51
45
  isBuy1Get1: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
52
46
  valueType: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>>;
53
47
  value: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -55,7 +49,6 @@ declare const ProductMarketingValidationSchema: z.ZodObject<{
55
49
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
56
50
  product: 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>]>>;
57
51
  marketing: z.ZodOptional<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>]>>>;
58
- loyaltyPointCategory: z.ZodOptional<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>]>>>;
59
52
  isBuy1Get1: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
60
53
  valueType: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>>;
61
54
  value: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -69,7 +62,6 @@ declare const ProductMarketingValidationSchema: z.ZodObject<{
69
62
  }> | z.ZodObject<{
70
63
  product: 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>]>>;
71
64
  marketing: z.ZodOptional<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>]>>>;
72
- loyaltyPointCategory: z.ZodOptional<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>]>>>;
73
65
  isBuy1Get1: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
74
66
  valueType: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>>;
75
67
  value: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -77,7 +69,6 @@ declare const ProductMarketingValidationSchema: z.ZodObject<{
77
69
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
78
70
  product: 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
71
  marketing: z.ZodOptional<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>]>>>;
80
- loyaltyPointCategory: z.ZodOptional<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>]>>>;
81
72
  isBuy1Get1: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
82
73
  valueType: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>>;
83
74
  value: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -85,7 +76,6 @@ declare const ProductMarketingValidationSchema: z.ZodObject<{
85
76
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
86
77
  product: 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>]>>;
87
78
  marketing: z.ZodOptional<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>]>>>;
88
- loyaltyPointCategory: z.ZodOptional<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>]>>>;
89
79
  isBuy1Get1: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
90
80
  valueType: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>>;
91
81
  value: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -94,7 +84,6 @@ declare const ProductMarketingValidationSchema: z.ZodObject<{
94
84
  declare const QueryProductMarketingSchema: z.ZodObject<Pick<{
95
85
  product: 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>]>>;
96
86
  marketing: z.ZodOptional<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>]>>>;
97
- loyaltyPointCategory: z.ZodOptional<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>]>>>;
98
87
  isBuy1Get1: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
99
88
  valueType: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>>;
100
89
  value: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -102,7 +91,6 @@ declare const QueryProductMarketingSchema: z.ZodObject<Pick<{
102
91
  }, "product" | "marketing">, "passthrough", z.ZodTypeAny, z.objectOutputType<Pick<{
103
92
  product: 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>]>>;
104
93
  marketing: z.ZodOptional<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>]>>>;
105
- loyaltyPointCategory: z.ZodOptional<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>]>>>;
106
94
  isBuy1Get1: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
107
95
  valueType: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>>;
108
96
  value: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -110,7 +98,6 @@ declare const QueryProductMarketingSchema: z.ZodObject<Pick<{
110
98
  }, "product" | "marketing">, z.ZodTypeAny, "passthrough">, z.objectInputType<Pick<{
111
99
  product: 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>]>>;
112
100
  marketing: z.ZodOptional<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>]>>>;
113
- loyaltyPointCategory: z.ZodOptional<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>]>>>;
114
101
  isBuy1Get1: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
115
102
  valueType: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>>;
116
103
  value: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -119,7 +106,6 @@ declare const QueryProductMarketingSchema: z.ZodObject<Pick<{
119
106
  declare const QueryMultipleProductMarketingSchema: z.ZodObject<Pick<{
120
107
  product: 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>]>>;
121
108
  marketing: z.ZodOptional<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>]>>>;
122
- loyaltyPointCategory: z.ZodOptional<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>]>>>;
123
109
  isBuy1Get1: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
124
110
  valueType: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>>;
125
111
  value: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -129,7 +115,6 @@ declare const QueryMultipleProductMarketingSchema: z.ZodObject<Pick<{
129
115
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<Pick<{
130
116
  product: 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>]>>;
131
117
  marketing: z.ZodOptional<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>]>>>;
132
- loyaltyPointCategory: z.ZodOptional<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>]>>>;
133
118
  isBuy1Get1: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
134
119
  valueType: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>>;
135
120
  value: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -139,7 +124,6 @@ declare const QueryMultipleProductMarketingSchema: z.ZodObject<Pick<{
139
124
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<Pick<{
140
125
  product: 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>]>>;
141
126
  marketing: z.ZodOptional<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>]>>>;
142
- loyaltyPointCategory: z.ZodOptional<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>]>>>;
143
127
  isBuy1Get1: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodBoolean>>>;
144
128
  valueType: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>>;
145
129
  value: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -150,18 +134,15 @@ declare const QueryMultipleProductMarketingSchema: z.ZodObject<Pick<{
150
134
  declare const UpdateMultipleProductMarketingSchema: z.ZodObject<Omit<{
151
135
  product: 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>]>;
152
136
  marketing: 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>]>>;
153
- loyaltyPointCategory: 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>]>>;
154
137
  isBuy1Get1: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
155
138
  valueType: z.ZodNullable<z.ZodOptional<z.ZodDefault<z.ZodNativeEnum<typeof ValueType>>>>;
156
139
  value: z.ZodOptional<z.ZodNumber>;
157
140
  }, "product" | "marketing">, "strict", z.ZodTypeAny, {
158
141
  value?: number | undefined;
159
- loyaltyPointCategory?: import("mongoose").Types.ObjectId | undefined;
160
142
  isBuy1Get1?: boolean | undefined;
161
143
  valueType?: ValueType | null | undefined;
162
144
  }, {
163
145
  value?: number | undefined;
164
- loyaltyPointCategory?: string | import("mongoose").Types.ObjectId | undefined;
165
146
  isBuy1Get1?: boolean | undefined;
166
147
  valueType?: ValueType | null | undefined;
167
148
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"product-marketing.validation.d.ts","sourceRoot":"/","sources":["modules/marketing/validations/product-marketing.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAGN,GAAG,EACH,MAAM,2DAA2D,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAE9D;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;CAUtB,CAAC;AASF;;GAEG;AACH,QAAA,MACa,gCAAgC;;;;;;;;;;;;;;;;;;;;;IAC9B,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;kCAC1B,wBAAwB,mNACpB,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCACS,CAAC;AAErD,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;0DAG/B,CAAC;AAEH,QAAA,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAIvC,CAAC;AAEH,QAAA,MAAM,oCAAoC;;;;;;;;;;;;;;;;;EAGxC,CAAC;AAEH;;GAEG;AACH,OAAO,EACN,gCAAgC,EAChC,sBAAsB,EACtB,wBAAwB,IAAI,kCAAkC,EAC9D,4BAA4B,EAC5B,2BAA2B,GAC3B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,GAAG,CAAC,OAAO,gCAAgC,CAAC,CAAC;AACrF,MAAM,MAAM,mBAAmB,GAAG,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACrE,MAAM,MAAM,yBAAyB,GAAG,GAAG,CAAC,OAAO,4BAA4B,CAAC,CAAC;AACjF,MAAM,MAAM,iCAAiC,GAAG,GAAG,CAAC,OAAO,oCAAoC,CAAC,CAAC;AACjG,MAAM,MAAM,wBAAwB,GAAG,GAAG,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAC/E,MAAM,MAAM,gCAAgC,GAAG,GAAG,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
1
+ {"version":3,"file":"product-marketing.validation.d.ts","sourceRoot":"/","sources":["modules/marketing/validations/product-marketing.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAGN,GAAG,EACH,MAAM,2DAA2D,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAE9D;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;CAStB,CAAC;AASF;;GAEG;AACH,QAAA,MACa,gCAAgC;;;;;;;;;;;;;;;;;;IAC9B,sBAAsB;;;;;;;;;;;;;;;;;;;;;kCAC1B,wBAAwB,mNACpB,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;gCACS,CAAC;AAErD,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;0DAG/B,CAAC;AAEH,QAAA,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAIvC,CAAC;AAEH,QAAA,MAAM,oCAAoC;;;;;;;;;;;;;;EAGxC,CAAC;AAEH;;GAEG;AACH,OAAO,EACN,gCAAgC,EAChC,sBAAsB,EACtB,wBAAwB,IAAI,kCAAkC,EAC9D,4BAA4B,EAC5B,2BAA2B,GAC3B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG,GAAG,CAAC,OAAO,gCAAgC,CAAC,CAAC;AACrF,MAAM,MAAM,mBAAmB,GAAG,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACrE,MAAM,MAAM,yBAAyB,GAAG,GAAG,CAAC,OAAO,4BAA4B,CAAC,CAAC;AACjF,MAAM,MAAM,iCAAiC,GAAG,GAAG,CAAC,OAAO,oCAAoC,CAAC,CAAC;AACjG,MAAM,MAAM,wBAAwB,GAAG,GAAG,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAC/E,MAAM,MAAM,gCAAgC,GAAG,GAAG,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
@@ -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":"AAEA,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,8BAA8B,IAAI,SAAS,EAC3C,MAAM,8CAA8C,CAAC;AAKtD,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAG3F,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,CAAC;IAIlE;;;OAGG;IACU,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAczF;;;OAGG;IACU,IAAI,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC,iBAAiB,CAAC,YAAY,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAqBxG;;;;OAIG;IACU,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAuB9E;;;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;IAkDlB;;;;OAIG;YACW,gBAAgB;IAyCjB,yBAAyB,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ;IAqCxG;;;OAGG;IACU,gBAAgB,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,yBAAyB,CAAC;CAmC1F;AAED,eAAO,MAAM,4BAA4B,8BAA8C,CAAC"}
1
+ {"version":3,"file":"punch-marketing-history.service.d.ts","sourceRoot":"/","sources":["modules/punch-marketing-history/services/punch-marketing-history.service.ts"],"names":[],"mappings":"AAEA,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,8BAA8B,IAAI,SAAS,EAC3C,MAAM,8CAA8C,CAAC;AAKtD,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAG3F,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,CAAC;IAIlE;;;OAGG;IACU,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAczF;;;OAGG;IACU,IAAI,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC,iBAAiB,CAAC,YAAY,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAqBxG;;;;OAIG;IACU,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAuB9E;;;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;IAkDlB;;;;OAIG;YACW,gBAAgB;IAyCjB,yBAAyB,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ;IAqCxG;;;OAGG;IACU,gBAAgB,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,yBAAyB,CAAC;CAyC1F;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.10",
3
+ "version": "1.0.12",
4
4
  "description": "The Lyxa Marketing microservice",
5
5
  "license": "MIT",
6
6
  "main": "dist/lib/index.js",
@@ -20,8 +20,8 @@
20
20
  "test:watch": "jest --watch"
21
21
  },
22
22
  "dependencies": {
23
- "@lyxa.ai/core": "1.0.281",
24
- "@lyxa.ai/notification": "1.0.5",
23
+ "@lyxa.ai/core": "1.0.331",
24
+ "@lyxa.ai/notification": "^1.0.7",
25
25
  "@trpc/client": "^11.4.3",
26
26
  "@trpc/server": "^11.4.3",
27
27
  "@typegoose/typegoose": "^12.9.1",