@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.
- package/dist/lib/index.js +6 -8
- package/dist/types/index.d.ts +413 -320
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/modules/coupon/routers/coupon.router.d.ts +413 -0
- package/dist/types/modules/coupon/routers/coupon.router.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/coupon.service.d.ts +2 -1
- package/dist/types/modules/coupon/services/coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/custom-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/global-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/individual-store-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/individual-user-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/patterns/repository/CouponRepository.d.ts +3 -0
- package/dist/types/modules/coupon/services/patterns/repository/CouponRepository.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/referral-code-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/referral-reward-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/transformers/coupon.transformer.d.ts +35 -0
- package/dist/types/modules/coupon/transformers/coupon.transformer.d.ts.map +1 -1
- package/dist/types/modules/coupon/validations/all-coupons.validation.d.ts +615 -0
- package/dist/types/modules/coupon/validations/all-coupons.validation.d.ts.map +1 -1
- package/dist/types/modules/coupon/validations/coupon.validation.d.ts +255 -0
- package/dist/types/modules/coupon/validations/coupon.validation.d.ts.map +1 -1
- package/dist/types/modules/coupon/validations/custom-coupon.validation.d.ts +55 -0
- package/dist/types/modules/coupon/validations/custom-coupon.validation.d.ts.map +1 -1
- package/dist/types/modules/coupon/validations/global-coupon.validation.d.ts +55 -0
- package/dist/types/modules/coupon/validations/global-coupon.validation.d.ts.map +1 -1
- package/dist/types/modules/coupon/validations/individual-store-coupon.validation.d.ts +55 -0
- package/dist/types/modules/coupon/validations/individual-store-coupon.validation.d.ts.map +1 -1
- package/dist/types/modules/coupon/validations/individual-user-coupon.validation.d.ts +55 -0
- package/dist/types/modules/coupon/validations/individual-user-coupon.validation.d.ts.map +1 -1
- package/dist/types/modules/coupon/validations/referral-reward-coupon.validation.d.ts +55 -0
- package/dist/types/modules/coupon/validations/referral-reward-coupon.validation.d.ts.map +1 -1
- package/dist/types/modules/marketing/services/free-delivery-marketing.service.d.ts.map +1 -1
- package/dist/types/modules/marketing/services/index.d.ts +0 -1
- package/dist/types/modules/marketing/services/index.d.ts.map +1 -1
- package/dist/types/modules/marketing/services/marketing.service.d.ts +2 -2
- package/dist/types/modules/marketing/services/marketing.service.d.ts.map +1 -1
- package/dist/types/modules/marketing/services/product-marketing.service.d.ts +5 -0
- package/dist/types/modules/marketing/services/product-marketing.service.d.ts.map +1 -1
- package/dist/types/modules/marketing/transformers/buy1-get1-marketing.transformer.d.ts +0 -3
- package/dist/types/modules/marketing/transformers/buy1-get1-marketing.transformer.d.ts.map +1 -1
- package/dist/types/modules/marketing/transformers/discount-marketing.transformer.d.ts +2 -5
- package/dist/types/modules/marketing/transformers/discount-marketing.transformer.d.ts.map +1 -1
- package/dist/types/modules/marketing/transformers/index.d.ts +0 -1
- package/dist/types/modules/marketing/transformers/index.d.ts.map +1 -1
- package/dist/types/modules/marketing/transformers/product-marketing.transformer.d.ts +0 -1
- package/dist/types/modules/marketing/transformers/product-marketing.transformer.d.ts.map +1 -1
- package/dist/types/modules/marketing/validations/all-marketings.validation.d.ts +1 -0
- package/dist/types/modules/marketing/validations/all-marketings.validation.d.ts.map +1 -1
- package/dist/types/modules/marketing/validations/buy1-get1-marketing.validation.d.ts +120 -24
- package/dist/types/modules/marketing/validations/buy1-get1-marketing.validation.d.ts.map +1 -1
- package/dist/types/modules/marketing/validations/discount-marketing.validation.d.ts +28 -58
- package/dist/types/modules/marketing/validations/discount-marketing.validation.d.ts.map +1 -1
- package/dist/types/modules/marketing/validations/index.d.ts +0 -1
- package/dist/types/modules/marketing/validations/index.d.ts.map +1 -1
- package/dist/types/modules/marketing/validations/product-marketing.validation.d.ts +0 -19
- package/dist/types/modules/marketing/validations/product-marketing.validation.d.ts.map +1 -1
- package/dist/types/modules/punch-marketing-history/services/punch-marketing-history.service.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -29,6 +29,13 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
29
29
|
forNewUserOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
30
30
|
status: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
31
31
|
expirationReason: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>;
|
|
32
|
+
referringUser: z.ZodOptional<z.ZodObject<{
|
|
33
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
name?: string | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
name?: string | undefined;
|
|
38
|
+
}>>;
|
|
32
39
|
code: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
33
40
|
orderLimitPerUser: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
34
41
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -51,6 +58,9 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
51
58
|
secondaryCurrencyValue?: number | undefined;
|
|
52
59
|
secondaryCurrencyMaxDiscountLimit?: number | undefined;
|
|
53
60
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
61
|
+
referringUser?: {
|
|
62
|
+
name?: string | undefined;
|
|
63
|
+
} | undefined;
|
|
54
64
|
}, {
|
|
55
65
|
value: number;
|
|
56
66
|
code: string;
|
|
@@ -70,6 +80,9 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
70
80
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
71
81
|
forNewUserOnly?: boolean | undefined;
|
|
72
82
|
expirationReason?: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null | undefined;
|
|
83
|
+
referringUser?: {
|
|
84
|
+
name?: string | undefined;
|
|
85
|
+
} | undefined;
|
|
73
86
|
orderLimitPerUser?: number | null | undefined;
|
|
74
87
|
}>, z.ZodObject<{
|
|
75
88
|
couponType: z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.REFERRAL_CODE>;
|
|
@@ -119,6 +132,13 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
119
132
|
forNewUserOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
120
133
|
status: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
121
134
|
expirationReason: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>;
|
|
135
|
+
referringUser: z.ZodOptional<z.ZodObject<{
|
|
136
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
137
|
+
}, "strip", z.ZodTypeAny, {
|
|
138
|
+
name?: string | undefined;
|
|
139
|
+
}, {
|
|
140
|
+
name?: string | undefined;
|
|
141
|
+
}>>;
|
|
122
142
|
code: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
123
143
|
orderLimitPerUser: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
124
144
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -144,6 +164,9 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
144
164
|
secondaryCurrencyValue?: number | undefined;
|
|
145
165
|
secondaryCurrencyMaxDiscountLimit?: number | undefined;
|
|
146
166
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
167
|
+
referringUser?: {
|
|
168
|
+
name?: string | undefined;
|
|
169
|
+
} | undefined;
|
|
147
170
|
}, {
|
|
148
171
|
value: number;
|
|
149
172
|
code: string;
|
|
@@ -166,6 +189,9 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
166
189
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
167
190
|
forNewUserOnly?: boolean | undefined;
|
|
168
191
|
expirationReason?: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null | undefined;
|
|
192
|
+
referringUser?: {
|
|
193
|
+
name?: string | undefined;
|
|
194
|
+
} | undefined;
|
|
169
195
|
orderLimitPerUser?: number | null | undefined;
|
|
170
196
|
}>, z.ZodObject<{
|
|
171
197
|
couponType: z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>;
|
|
@@ -200,6 +226,13 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
200
226
|
forNewUserOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
201
227
|
status: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
202
228
|
expirationReason: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>;
|
|
229
|
+
referringUser: z.ZodOptional<z.ZodObject<{
|
|
230
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
231
|
+
}, "strip", z.ZodTypeAny, {
|
|
232
|
+
name?: string | undefined;
|
|
233
|
+
}, {
|
|
234
|
+
name?: string | undefined;
|
|
235
|
+
}>>;
|
|
203
236
|
code: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
204
237
|
orderLimitPerUser: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
205
238
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -225,6 +258,9 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
225
258
|
secondaryCurrencyValue?: number | undefined;
|
|
226
259
|
secondaryCurrencyMaxDiscountLimit?: number | undefined;
|
|
227
260
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
261
|
+
referringUser?: {
|
|
262
|
+
name?: string | undefined;
|
|
263
|
+
} | undefined;
|
|
228
264
|
}, {
|
|
229
265
|
value: number;
|
|
230
266
|
code: string;
|
|
@@ -245,6 +281,9 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
245
281
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
246
282
|
forNewUserOnly?: boolean | undefined;
|
|
247
283
|
expirationReason?: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null | undefined;
|
|
284
|
+
referringUser?: {
|
|
285
|
+
name?: string | undefined;
|
|
286
|
+
} | undefined;
|
|
248
287
|
orderLimitPerUser?: number | null | undefined;
|
|
249
288
|
itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
|
|
250
289
|
isShopCoverExpenses?: boolean | undefined;
|
|
@@ -281,6 +320,13 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
281
320
|
forNewUserOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
282
321
|
status: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
283
322
|
expirationReason: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>;
|
|
323
|
+
referringUser: z.ZodOptional<z.ZodObject<{
|
|
324
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
325
|
+
}, "strip", z.ZodTypeAny, {
|
|
326
|
+
name?: string | undefined;
|
|
327
|
+
}, {
|
|
328
|
+
name?: string | undefined;
|
|
329
|
+
}>>;
|
|
284
330
|
code: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
285
331
|
orderLimitPerUser: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
286
332
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -306,6 +352,9 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
306
352
|
secondaryCurrencyValue?: number | undefined;
|
|
307
353
|
secondaryCurrencyMaxDiscountLimit?: number | undefined;
|
|
308
354
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
355
|
+
referringUser?: {
|
|
356
|
+
name?: string | undefined;
|
|
357
|
+
} | undefined;
|
|
309
358
|
}, {
|
|
310
359
|
value: number;
|
|
311
360
|
code: string;
|
|
@@ -326,6 +375,9 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
326
375
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
327
376
|
forNewUserOnly?: boolean | undefined;
|
|
328
377
|
expirationReason?: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null | undefined;
|
|
378
|
+
referringUser?: {
|
|
379
|
+
name?: string | undefined;
|
|
380
|
+
} | undefined;
|
|
329
381
|
orderLimitPerUser?: number | null | undefined;
|
|
330
382
|
itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
|
|
331
383
|
shops?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
@@ -362,6 +414,13 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
362
414
|
forNewUserOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
363
415
|
status: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
364
416
|
expirationReason: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>;
|
|
417
|
+
referringUser: z.ZodOptional<z.ZodObject<{
|
|
418
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
419
|
+
}, "strip", z.ZodTypeAny, {
|
|
420
|
+
name?: string | undefined;
|
|
421
|
+
}, {
|
|
422
|
+
name?: string | undefined;
|
|
423
|
+
}>>;
|
|
365
424
|
code: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
366
425
|
orderLimitPerUser: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
367
426
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -387,6 +446,9 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
387
446
|
secondaryCurrencyValue?: number | undefined;
|
|
388
447
|
secondaryCurrencyMaxDiscountLimit?: number | undefined;
|
|
389
448
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
449
|
+
referringUser?: {
|
|
450
|
+
name?: string | undefined;
|
|
451
|
+
} | undefined;
|
|
390
452
|
}, {
|
|
391
453
|
value: number;
|
|
392
454
|
code: string;
|
|
@@ -407,6 +469,9 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
407
469
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
408
470
|
forNewUserOnly?: boolean | undefined;
|
|
409
471
|
expirationReason?: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null | undefined;
|
|
472
|
+
referringUser?: {
|
|
473
|
+
name?: string | undefined;
|
|
474
|
+
} | undefined;
|
|
410
475
|
orderLimitPerUser?: number | null | undefined;
|
|
411
476
|
itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
|
|
412
477
|
shops?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
@@ -441,6 +506,13 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
441
506
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
442
507
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
443
508
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
509
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
510
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
511
|
+
}, "strip", z.ZodTypeAny, {
|
|
512
|
+
name?: string | undefined;
|
|
513
|
+
}, {
|
|
514
|
+
name?: string | undefined;
|
|
515
|
+
}>>>;
|
|
444
516
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
445
517
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
446
518
|
_id: 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>]>>;
|
|
@@ -474,6 +546,13 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
474
546
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
475
547
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
476
548
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
549
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
550
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
551
|
+
}, "strip", z.ZodTypeAny, {
|
|
552
|
+
name?: string | undefined;
|
|
553
|
+
}, {
|
|
554
|
+
name?: string | undefined;
|
|
555
|
+
}>>>;
|
|
477
556
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
478
557
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
479
558
|
_id: 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>]>>;
|
|
@@ -507,6 +586,13 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
507
586
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
508
587
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
509
588
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
589
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
590
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
591
|
+
}, "strip", z.ZodTypeAny, {
|
|
592
|
+
name?: string | undefined;
|
|
593
|
+
}, {
|
|
594
|
+
name?: string | undefined;
|
|
595
|
+
}>>>;
|
|
510
596
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
511
597
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
512
598
|
_id: 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>]>>;
|
|
@@ -561,6 +647,13 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
561
647
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
562
648
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
563
649
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
650
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
651
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
652
|
+
}, "strip", z.ZodTypeAny, {
|
|
653
|
+
name?: string | undefined;
|
|
654
|
+
}, {
|
|
655
|
+
name?: string | undefined;
|
|
656
|
+
}>>>;
|
|
564
657
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
565
658
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
566
659
|
_id: 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>]>>;
|
|
@@ -597,6 +690,13 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
597
690
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
598
691
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
599
692
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
693
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
694
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
695
|
+
}, "strip", z.ZodTypeAny, {
|
|
696
|
+
name?: string | undefined;
|
|
697
|
+
}, {
|
|
698
|
+
name?: string | undefined;
|
|
699
|
+
}>>>;
|
|
600
700
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
601
701
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
602
702
|
_id: 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>]>>;
|
|
@@ -633,6 +733,13 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
633
733
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
634
734
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
635
735
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
736
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
737
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
738
|
+
}, "strip", z.ZodTypeAny, {
|
|
739
|
+
name?: string | undefined;
|
|
740
|
+
}, {
|
|
741
|
+
name?: string | undefined;
|
|
742
|
+
}>>>;
|
|
636
743
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
637
744
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
638
745
|
_id: 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>]>>;
|
|
@@ -669,6 +776,13 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
669
776
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
670
777
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
671
778
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
779
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
780
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
781
|
+
}, "strip", z.ZodTypeAny, {
|
|
782
|
+
name?: string | undefined;
|
|
783
|
+
}, {
|
|
784
|
+
name?: string | undefined;
|
|
785
|
+
}>>>;
|
|
672
786
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
673
787
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
674
788
|
_id: 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>]>>;
|
|
@@ -705,6 +819,13 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
705
819
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
706
820
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
707
821
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
822
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
823
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
824
|
+
}, "strip", z.ZodTypeAny, {
|
|
825
|
+
name?: string | undefined;
|
|
826
|
+
}, {
|
|
827
|
+
name?: string | undefined;
|
|
828
|
+
}>>>;
|
|
708
829
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
709
830
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
710
831
|
_id: 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>]>>;
|
|
@@ -741,6 +862,13 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
741
862
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
742
863
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
743
864
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
865
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
866
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
867
|
+
}, "strip", z.ZodTypeAny, {
|
|
868
|
+
name?: string | undefined;
|
|
869
|
+
}, {
|
|
870
|
+
name?: string | undefined;
|
|
871
|
+
}>>>;
|
|
744
872
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
745
873
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
746
874
|
_id: 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>]>>;
|
|
@@ -777,6 +905,13 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
777
905
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
778
906
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
779
907
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
908
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
909
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
910
|
+
}, "strip", z.ZodTypeAny, {
|
|
911
|
+
name?: string | undefined;
|
|
912
|
+
}, {
|
|
913
|
+
name?: string | undefined;
|
|
914
|
+
}>>>;
|
|
780
915
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
781
916
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
782
917
|
_id: 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>]>>;
|
|
@@ -813,6 +948,13 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
813
948
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
814
949
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
815
950
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
951
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
952
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
953
|
+
}, "strip", z.ZodTypeAny, {
|
|
954
|
+
name?: string | undefined;
|
|
955
|
+
}, {
|
|
956
|
+
name?: string | undefined;
|
|
957
|
+
}>>>;
|
|
816
958
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
817
959
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
818
960
|
_id: 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>]>>;
|
|
@@ -849,6 +991,13 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
849
991
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
850
992
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
851
993
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
994
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
995
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
996
|
+
}, "strip", z.ZodTypeAny, {
|
|
997
|
+
name?: string | undefined;
|
|
998
|
+
}, {
|
|
999
|
+
name?: string | undefined;
|
|
1000
|
+
}>>>;
|
|
852
1001
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
853
1002
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
854
1003
|
_id: 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>]>>;
|
|
@@ -885,6 +1034,13 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
885
1034
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
886
1035
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
887
1036
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
1037
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1038
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1039
|
+
}, "strip", z.ZodTypeAny, {
|
|
1040
|
+
name?: string | undefined;
|
|
1041
|
+
}, {
|
|
1042
|
+
name?: string | undefined;
|
|
1043
|
+
}>>>;
|
|
888
1044
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
889
1045
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
890
1046
|
_id: 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>]>>;
|
|
@@ -921,6 +1077,13 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
921
1077
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
922
1078
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
923
1079
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
1080
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1081
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1082
|
+
}, "strip", z.ZodTypeAny, {
|
|
1083
|
+
name?: string | undefined;
|
|
1084
|
+
}, {
|
|
1085
|
+
name?: string | undefined;
|
|
1086
|
+
}>>>;
|
|
924
1087
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
925
1088
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
926
1089
|
_id: 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>]>>;
|
|
@@ -957,6 +1120,13 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
957
1120
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
958
1121
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
959
1122
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
1123
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1124
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1125
|
+
}, "strip", z.ZodTypeAny, {
|
|
1126
|
+
name?: string | undefined;
|
|
1127
|
+
}, {
|
|
1128
|
+
name?: string | undefined;
|
|
1129
|
+
}>>>;
|
|
960
1130
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
961
1131
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
962
1132
|
_id: 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>]>>;
|
|
@@ -993,6 +1163,13 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
993
1163
|
forNewUserOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
994
1164
|
status: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
995
1165
|
expirationReason: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>;
|
|
1166
|
+
referringUser: z.ZodOptional<z.ZodObject<{
|
|
1167
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1168
|
+
}, "strip", z.ZodTypeAny, {
|
|
1169
|
+
name?: string | undefined;
|
|
1170
|
+
}, {
|
|
1171
|
+
name?: string | undefined;
|
|
1172
|
+
}>>;
|
|
996
1173
|
code: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
997
1174
|
orderLimitPerUser: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
998
1175
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1015,6 +1192,9 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1015
1192
|
secondaryCurrencyValue?: number | undefined;
|
|
1016
1193
|
secondaryCurrencyMaxDiscountLimit?: number | undefined;
|
|
1017
1194
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
1195
|
+
referringUser?: {
|
|
1196
|
+
name?: string | undefined;
|
|
1197
|
+
} | undefined;
|
|
1018
1198
|
}, {
|
|
1019
1199
|
value: number;
|
|
1020
1200
|
code: string;
|
|
@@ -1034,6 +1214,9 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1034
1214
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
1035
1215
|
forNewUserOnly?: boolean | undefined;
|
|
1036
1216
|
expirationReason?: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null | undefined;
|
|
1217
|
+
referringUser?: {
|
|
1218
|
+
name?: string | undefined;
|
|
1219
|
+
} | undefined;
|
|
1037
1220
|
orderLimitPerUser?: number | null | undefined;
|
|
1038
1221
|
}>, z.ZodObject<{
|
|
1039
1222
|
couponType: z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.REFERRAL_CODE>;
|
|
@@ -1083,6 +1266,13 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1083
1266
|
forNewUserOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1084
1267
|
status: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
1085
1268
|
expirationReason: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>;
|
|
1269
|
+
referringUser: z.ZodOptional<z.ZodObject<{
|
|
1270
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1271
|
+
}, "strip", z.ZodTypeAny, {
|
|
1272
|
+
name?: string | undefined;
|
|
1273
|
+
}, {
|
|
1274
|
+
name?: string | undefined;
|
|
1275
|
+
}>>;
|
|
1086
1276
|
code: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1087
1277
|
orderLimitPerUser: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
1088
1278
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1108,6 +1298,9 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1108
1298
|
secondaryCurrencyValue?: number | undefined;
|
|
1109
1299
|
secondaryCurrencyMaxDiscountLimit?: number | undefined;
|
|
1110
1300
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
1301
|
+
referringUser?: {
|
|
1302
|
+
name?: string | undefined;
|
|
1303
|
+
} | undefined;
|
|
1111
1304
|
}, {
|
|
1112
1305
|
value: number;
|
|
1113
1306
|
code: string;
|
|
@@ -1130,6 +1323,9 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1130
1323
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
1131
1324
|
forNewUserOnly?: boolean | undefined;
|
|
1132
1325
|
expirationReason?: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null | undefined;
|
|
1326
|
+
referringUser?: {
|
|
1327
|
+
name?: string | undefined;
|
|
1328
|
+
} | undefined;
|
|
1133
1329
|
orderLimitPerUser?: number | null | undefined;
|
|
1134
1330
|
}>, z.ZodObject<{
|
|
1135
1331
|
couponType: z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>;
|
|
@@ -1164,6 +1360,13 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1164
1360
|
forNewUserOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1165
1361
|
status: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
1166
1362
|
expirationReason: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>;
|
|
1363
|
+
referringUser: z.ZodOptional<z.ZodObject<{
|
|
1364
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1365
|
+
}, "strip", z.ZodTypeAny, {
|
|
1366
|
+
name?: string | undefined;
|
|
1367
|
+
}, {
|
|
1368
|
+
name?: string | undefined;
|
|
1369
|
+
}>>;
|
|
1167
1370
|
code: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1168
1371
|
orderLimitPerUser: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
1169
1372
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1189,6 +1392,9 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1189
1392
|
secondaryCurrencyValue?: number | undefined;
|
|
1190
1393
|
secondaryCurrencyMaxDiscountLimit?: number | undefined;
|
|
1191
1394
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
1395
|
+
referringUser?: {
|
|
1396
|
+
name?: string | undefined;
|
|
1397
|
+
} | undefined;
|
|
1192
1398
|
}, {
|
|
1193
1399
|
value: number;
|
|
1194
1400
|
code: string;
|
|
@@ -1209,6 +1415,9 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1209
1415
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
1210
1416
|
forNewUserOnly?: boolean | undefined;
|
|
1211
1417
|
expirationReason?: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null | undefined;
|
|
1418
|
+
referringUser?: {
|
|
1419
|
+
name?: string | undefined;
|
|
1420
|
+
} | undefined;
|
|
1212
1421
|
orderLimitPerUser?: number | null | undefined;
|
|
1213
1422
|
itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
|
|
1214
1423
|
isShopCoverExpenses?: boolean | undefined;
|
|
@@ -1245,6 +1454,13 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1245
1454
|
forNewUserOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1246
1455
|
status: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
1247
1456
|
expirationReason: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>;
|
|
1457
|
+
referringUser: z.ZodOptional<z.ZodObject<{
|
|
1458
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1459
|
+
}, "strip", z.ZodTypeAny, {
|
|
1460
|
+
name?: string | undefined;
|
|
1461
|
+
}, {
|
|
1462
|
+
name?: string | undefined;
|
|
1463
|
+
}>>;
|
|
1248
1464
|
code: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1249
1465
|
orderLimitPerUser: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
1250
1466
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1270,6 +1486,9 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1270
1486
|
secondaryCurrencyValue?: number | undefined;
|
|
1271
1487
|
secondaryCurrencyMaxDiscountLimit?: number | undefined;
|
|
1272
1488
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
1489
|
+
referringUser?: {
|
|
1490
|
+
name?: string | undefined;
|
|
1491
|
+
} | undefined;
|
|
1273
1492
|
}, {
|
|
1274
1493
|
value: number;
|
|
1275
1494
|
code: string;
|
|
@@ -1290,6 +1509,9 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1290
1509
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
1291
1510
|
forNewUserOnly?: boolean | undefined;
|
|
1292
1511
|
expirationReason?: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null | undefined;
|
|
1512
|
+
referringUser?: {
|
|
1513
|
+
name?: string | undefined;
|
|
1514
|
+
} | undefined;
|
|
1293
1515
|
orderLimitPerUser?: number | null | undefined;
|
|
1294
1516
|
itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
|
|
1295
1517
|
shops?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
@@ -1326,6 +1548,13 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1326
1548
|
forNewUserOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1327
1549
|
status: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>;
|
|
1328
1550
|
expirationReason: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>;
|
|
1551
|
+
referringUser: z.ZodOptional<z.ZodObject<{
|
|
1552
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1553
|
+
}, "strip", z.ZodTypeAny, {
|
|
1554
|
+
name?: string | undefined;
|
|
1555
|
+
}, {
|
|
1556
|
+
name?: string | undefined;
|
|
1557
|
+
}>>;
|
|
1329
1558
|
code: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1330
1559
|
orderLimitPerUser: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
1331
1560
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1351,6 +1580,9 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1351
1580
|
secondaryCurrencyValue?: number | undefined;
|
|
1352
1581
|
secondaryCurrencyMaxDiscountLimit?: number | undefined;
|
|
1353
1582
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
1583
|
+
referringUser?: {
|
|
1584
|
+
name?: string | undefined;
|
|
1585
|
+
} | undefined;
|
|
1354
1586
|
}, {
|
|
1355
1587
|
value: number;
|
|
1356
1588
|
code: string;
|
|
@@ -1371,6 +1603,9 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1371
1603
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
1372
1604
|
forNewUserOnly?: boolean | undefined;
|
|
1373
1605
|
expirationReason?: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null | undefined;
|
|
1606
|
+
referringUser?: {
|
|
1607
|
+
name?: string | undefined;
|
|
1608
|
+
} | undefined;
|
|
1374
1609
|
orderLimitPerUser?: number | null | undefined;
|
|
1375
1610
|
itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
|
|
1376
1611
|
shops?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
@@ -1397,6 +1632,9 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1397
1632
|
secondaryCurrencyValue?: number | undefined;
|
|
1398
1633
|
secondaryCurrencyMaxDiscountLimit?: number | undefined;
|
|
1399
1634
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
1635
|
+
referringUser?: {
|
|
1636
|
+
name?: string | undefined;
|
|
1637
|
+
} | undefined;
|
|
1400
1638
|
} | {
|
|
1401
1639
|
code: string;
|
|
1402
1640
|
orderLimitPerUser: 1;
|
|
@@ -1425,6 +1663,9 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1425
1663
|
secondaryCurrencyValue?: number | undefined;
|
|
1426
1664
|
secondaryCurrencyMaxDiscountLimit?: number | undefined;
|
|
1427
1665
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
1666
|
+
referringUser?: {
|
|
1667
|
+
name?: string | undefined;
|
|
1668
|
+
} | undefined;
|
|
1428
1669
|
} | {
|
|
1429
1670
|
value: number;
|
|
1430
1671
|
code: string;
|
|
@@ -1448,6 +1689,9 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1448
1689
|
secondaryCurrencyValue?: number | undefined;
|
|
1449
1690
|
secondaryCurrencyMaxDiscountLimit?: number | undefined;
|
|
1450
1691
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
1692
|
+
referringUser?: {
|
|
1693
|
+
name?: string | undefined;
|
|
1694
|
+
} | undefined;
|
|
1451
1695
|
} | {
|
|
1452
1696
|
value: number;
|
|
1453
1697
|
code: string;
|
|
@@ -1471,6 +1715,9 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1471
1715
|
secondaryCurrencyValue?: number | undefined;
|
|
1472
1716
|
secondaryCurrencyMaxDiscountLimit?: number | undefined;
|
|
1473
1717
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
1718
|
+
referringUser?: {
|
|
1719
|
+
name?: string | undefined;
|
|
1720
|
+
} | undefined;
|
|
1474
1721
|
} | {
|
|
1475
1722
|
value: number;
|
|
1476
1723
|
code: string;
|
|
@@ -1494,6 +1741,9 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1494
1741
|
secondaryCurrencyValue?: number | undefined;
|
|
1495
1742
|
secondaryCurrencyMaxDiscountLimit?: number | undefined;
|
|
1496
1743
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
1744
|
+
referringUser?: {
|
|
1745
|
+
name?: string | undefined;
|
|
1746
|
+
} | undefined;
|
|
1497
1747
|
};
|
|
1498
1748
|
}, {
|
|
1499
1749
|
_id: string | import("mongoose").Types.ObjectId;
|
|
@@ -1516,6 +1766,9 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1516
1766
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
1517
1767
|
forNewUserOnly?: boolean | undefined;
|
|
1518
1768
|
expirationReason?: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null | undefined;
|
|
1769
|
+
referringUser?: {
|
|
1770
|
+
name?: string | undefined;
|
|
1771
|
+
} | undefined;
|
|
1519
1772
|
orderLimitPerUser?: number | null | undefined;
|
|
1520
1773
|
} | {
|
|
1521
1774
|
code: string;
|
|
@@ -1544,6 +1797,9 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1544
1797
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
1545
1798
|
forNewUserOnly?: boolean | undefined;
|
|
1546
1799
|
expirationReason?: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null | undefined;
|
|
1800
|
+
referringUser?: {
|
|
1801
|
+
name?: string | undefined;
|
|
1802
|
+
} | undefined;
|
|
1547
1803
|
orderLimitPerUser?: number | null | undefined;
|
|
1548
1804
|
} | {
|
|
1549
1805
|
value: number;
|
|
@@ -1565,6 +1821,9 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1565
1821
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
1566
1822
|
forNewUserOnly?: boolean | undefined;
|
|
1567
1823
|
expirationReason?: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null | undefined;
|
|
1824
|
+
referringUser?: {
|
|
1825
|
+
name?: string | undefined;
|
|
1826
|
+
} | undefined;
|
|
1568
1827
|
orderLimitPerUser?: number | null | undefined;
|
|
1569
1828
|
itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
|
|
1570
1829
|
isShopCoverExpenses?: boolean | undefined;
|
|
@@ -1588,6 +1847,9 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1588
1847
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
1589
1848
|
forNewUserOnly?: boolean | undefined;
|
|
1590
1849
|
expirationReason?: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null | undefined;
|
|
1850
|
+
referringUser?: {
|
|
1851
|
+
name?: string | undefined;
|
|
1852
|
+
} | undefined;
|
|
1591
1853
|
orderLimitPerUser?: number | null | undefined;
|
|
1592
1854
|
itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
|
|
1593
1855
|
shops?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
@@ -1611,6 +1873,9 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1611
1873
|
secondaryCurrencyMinOrderValue?: number | undefined;
|
|
1612
1874
|
forNewUserOnly?: boolean | undefined;
|
|
1613
1875
|
expirationReason?: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null | undefined;
|
|
1876
|
+
referringUser?: {
|
|
1877
|
+
name?: string | undefined;
|
|
1878
|
+
} | undefined;
|
|
1614
1879
|
orderLimitPerUser?: number | null | undefined;
|
|
1615
1880
|
itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
|
|
1616
1881
|
shops?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
@@ -1666,6 +1931,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
1666
1931
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
1667
1932
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
1668
1933
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
1934
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1935
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1936
|
+
}, "strip", z.ZodTypeAny, {
|
|
1937
|
+
name?: string | undefined;
|
|
1938
|
+
}, {
|
|
1939
|
+
name?: string | undefined;
|
|
1940
|
+
}>>>;
|
|
1669
1941
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1670
1942
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
1671
1943
|
_id: 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>]>>;
|
|
@@ -1708,6 +1980,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
1708
1980
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
1709
1981
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
1710
1982
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
1983
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1984
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1985
|
+
}, "strip", z.ZodTypeAny, {
|
|
1986
|
+
name?: string | undefined;
|
|
1987
|
+
}, {
|
|
1988
|
+
name?: string | undefined;
|
|
1989
|
+
}>>>;
|
|
1711
1990
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1712
1991
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
1713
1992
|
_id: 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>]>>;
|
|
@@ -1744,6 +2023,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
1744
2023
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
1745
2024
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
1746
2025
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2026
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2027
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2028
|
+
}, "strip", z.ZodTypeAny, {
|
|
2029
|
+
name?: string | undefined;
|
|
2030
|
+
}, {
|
|
2031
|
+
name?: string | undefined;
|
|
2032
|
+
}>>>;
|
|
1747
2033
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1748
2034
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
1749
2035
|
_id: 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>]>>;
|
|
@@ -1780,6 +2066,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
1780
2066
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
1781
2067
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
1782
2068
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2069
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2070
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2071
|
+
}, "strip", z.ZodTypeAny, {
|
|
2072
|
+
name?: string | undefined;
|
|
2073
|
+
}, {
|
|
2074
|
+
name?: string | undefined;
|
|
2075
|
+
}>>>;
|
|
1783
2076
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1784
2077
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
1785
2078
|
_id: 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>]>>;
|
|
@@ -1816,6 +2109,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
1816
2109
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
1817
2110
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
1818
2111
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2112
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2113
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2114
|
+
}, "strip", z.ZodTypeAny, {
|
|
2115
|
+
name?: string | undefined;
|
|
2116
|
+
}, {
|
|
2117
|
+
name?: string | undefined;
|
|
2118
|
+
}>>>;
|
|
1819
2119
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1820
2120
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
1821
2121
|
_id: 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>]>>;
|
|
@@ -1849,6 +2149,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
1849
2149
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
1850
2150
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
1851
2151
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2152
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2153
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2154
|
+
}, "strip", z.ZodTypeAny, {
|
|
2155
|
+
name?: string | undefined;
|
|
2156
|
+
}, {
|
|
2157
|
+
name?: string | undefined;
|
|
2158
|
+
}>>>;
|
|
1852
2159
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1853
2160
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
1854
2161
|
_id: 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>]>>;
|
|
@@ -1891,6 +2198,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
1891
2198
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
1892
2199
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
1893
2200
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2201
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2202
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2203
|
+
}, "strip", z.ZodTypeAny, {
|
|
2204
|
+
name?: string | undefined;
|
|
2205
|
+
}, {
|
|
2206
|
+
name?: string | undefined;
|
|
2207
|
+
}>>>;
|
|
1894
2208
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1895
2209
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
1896
2210
|
_id: 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>]>>;
|
|
@@ -1927,6 +2241,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
1927
2241
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
1928
2242
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
1929
2243
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2244
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2245
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2246
|
+
}, "strip", z.ZodTypeAny, {
|
|
2247
|
+
name?: string | undefined;
|
|
2248
|
+
}, {
|
|
2249
|
+
name?: string | undefined;
|
|
2250
|
+
}>>>;
|
|
1930
2251
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1931
2252
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
1932
2253
|
_id: 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>]>>;
|
|
@@ -1963,6 +2284,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
1963
2284
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
1964
2285
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
1965
2286
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2287
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2288
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2289
|
+
}, "strip", z.ZodTypeAny, {
|
|
2290
|
+
name?: string | undefined;
|
|
2291
|
+
}, {
|
|
2292
|
+
name?: string | undefined;
|
|
2293
|
+
}>>>;
|
|
1966
2294
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
1967
2295
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
1968
2296
|
_id: 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>]>>;
|
|
@@ -1999,6 +2327,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
1999
2327
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2000
2328
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2001
2329
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2330
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2331
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2332
|
+
}, "strip", z.ZodTypeAny, {
|
|
2333
|
+
name?: string | undefined;
|
|
2334
|
+
}, {
|
|
2335
|
+
name?: string | undefined;
|
|
2336
|
+
}>>>;
|
|
2002
2337
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2003
2338
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2004
2339
|
_id: 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>]>>;
|
|
@@ -2034,6 +2369,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2034
2369
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2035
2370
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2036
2371
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2372
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2373
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2374
|
+
}, "strip", z.ZodTypeAny, {
|
|
2375
|
+
name?: string | undefined;
|
|
2376
|
+
}, {
|
|
2377
|
+
name?: string | undefined;
|
|
2378
|
+
}>>>;
|
|
2037
2379
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2038
2380
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2039
2381
|
_id: 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>]>>;
|
|
@@ -2076,6 +2418,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2076
2418
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2077
2419
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2078
2420
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2421
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2422
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2423
|
+
}, "strip", z.ZodTypeAny, {
|
|
2424
|
+
name?: string | undefined;
|
|
2425
|
+
}, {
|
|
2426
|
+
name?: string | undefined;
|
|
2427
|
+
}>>>;
|
|
2079
2428
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2080
2429
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2081
2430
|
_id: 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>]>>;
|
|
@@ -2112,6 +2461,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2112
2461
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2113
2462
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2114
2463
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2464
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2465
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2466
|
+
}, "strip", z.ZodTypeAny, {
|
|
2467
|
+
name?: string | undefined;
|
|
2468
|
+
}, {
|
|
2469
|
+
name?: string | undefined;
|
|
2470
|
+
}>>>;
|
|
2115
2471
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2116
2472
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2117
2473
|
_id: 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>]>>;
|
|
@@ -2148,6 +2504,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2148
2504
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2149
2505
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2150
2506
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2507
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2508
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2509
|
+
}, "strip", z.ZodTypeAny, {
|
|
2510
|
+
name?: string | undefined;
|
|
2511
|
+
}, {
|
|
2512
|
+
name?: string | undefined;
|
|
2513
|
+
}>>>;
|
|
2151
2514
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2152
2515
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2153
2516
|
_id: 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>]>>;
|
|
@@ -2184,6 +2547,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2184
2547
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2185
2548
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2186
2549
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2550
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2551
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2552
|
+
}, "strip", z.ZodTypeAny, {
|
|
2553
|
+
name?: string | undefined;
|
|
2554
|
+
}, {
|
|
2555
|
+
name?: string | undefined;
|
|
2556
|
+
}>>>;
|
|
2187
2557
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2188
2558
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2189
2559
|
_id: 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>]>>;
|
|
@@ -2225,6 +2595,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2225
2595
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2226
2596
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2227
2597
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2598
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2599
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2600
|
+
}, "strip", z.ZodTypeAny, {
|
|
2601
|
+
name?: string | undefined;
|
|
2602
|
+
}, {
|
|
2603
|
+
name?: string | undefined;
|
|
2604
|
+
}>>>;
|
|
2228
2605
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2229
2606
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2230
2607
|
_id: 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>]>>;
|
|
@@ -2267,6 +2644,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2267
2644
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2268
2645
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2269
2646
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2647
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2648
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2649
|
+
}, "strip", z.ZodTypeAny, {
|
|
2650
|
+
name?: string | undefined;
|
|
2651
|
+
}, {
|
|
2652
|
+
name?: string | undefined;
|
|
2653
|
+
}>>>;
|
|
2270
2654
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2271
2655
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2272
2656
|
_id: 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>]>>;
|
|
@@ -2303,6 +2687,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2303
2687
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2304
2688
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2305
2689
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2690
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2691
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2692
|
+
}, "strip", z.ZodTypeAny, {
|
|
2693
|
+
name?: string | undefined;
|
|
2694
|
+
}, {
|
|
2695
|
+
name?: string | undefined;
|
|
2696
|
+
}>>>;
|
|
2306
2697
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2307
2698
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2308
2699
|
_id: 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>]>>;
|
|
@@ -2339,6 +2730,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2339
2730
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2340
2731
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2341
2732
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2733
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2734
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2735
|
+
}, "strip", z.ZodTypeAny, {
|
|
2736
|
+
name?: string | undefined;
|
|
2737
|
+
}, {
|
|
2738
|
+
name?: string | undefined;
|
|
2739
|
+
}>>>;
|
|
2342
2740
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2343
2741
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2344
2742
|
_id: 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>]>>;
|
|
@@ -2375,6 +2773,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2375
2773
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2376
2774
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2377
2775
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2776
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2777
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2778
|
+
}, "strip", z.ZodTypeAny, {
|
|
2779
|
+
name?: string | undefined;
|
|
2780
|
+
}, {
|
|
2781
|
+
name?: string | undefined;
|
|
2782
|
+
}>>>;
|
|
2378
2783
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2379
2784
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2380
2785
|
_id: 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>]>>;
|
|
@@ -2415,6 +2820,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2415
2820
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2416
2821
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2417
2822
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2823
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2824
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2825
|
+
}, "strip", z.ZodTypeAny, {
|
|
2826
|
+
name?: string | undefined;
|
|
2827
|
+
}, {
|
|
2828
|
+
name?: string | undefined;
|
|
2829
|
+
}>>>;
|
|
2418
2830
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2419
2831
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2420
2832
|
_id: 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>]>>;
|
|
@@ -2457,6 +2869,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2457
2869
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2458
2870
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2459
2871
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2872
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2873
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2874
|
+
}, "strip", z.ZodTypeAny, {
|
|
2875
|
+
name?: string | undefined;
|
|
2876
|
+
}, {
|
|
2877
|
+
name?: string | undefined;
|
|
2878
|
+
}>>>;
|
|
2460
2879
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2461
2880
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2462
2881
|
_id: 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>]>>;
|
|
@@ -2493,6 +2912,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2493
2912
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2494
2913
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2495
2914
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2915
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2916
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2917
|
+
}, "strip", z.ZodTypeAny, {
|
|
2918
|
+
name?: string | undefined;
|
|
2919
|
+
}, {
|
|
2920
|
+
name?: string | undefined;
|
|
2921
|
+
}>>>;
|
|
2496
2922
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2497
2923
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2498
2924
|
_id: 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>]>>;
|
|
@@ -2529,6 +2955,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2529
2955
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2530
2956
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2531
2957
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
2958
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2959
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2960
|
+
}, "strip", z.ZodTypeAny, {
|
|
2961
|
+
name?: string | undefined;
|
|
2962
|
+
}, {
|
|
2963
|
+
name?: string | undefined;
|
|
2964
|
+
}>>>;
|
|
2532
2965
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2533
2966
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2534
2967
|
_id: 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>]>>;
|
|
@@ -2565,6 +2998,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2565
2998
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2566
2999
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2567
3000
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3001
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3002
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3003
|
+
}, "strip", z.ZodTypeAny, {
|
|
3004
|
+
name?: string | undefined;
|
|
3005
|
+
}, {
|
|
3006
|
+
name?: string | undefined;
|
|
3007
|
+
}>>>;
|
|
2568
3008
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2569
3009
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2570
3010
|
_id: 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>]>>;
|
|
@@ -2598,6 +3038,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2598
3038
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2599
3039
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2600
3040
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3041
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3042
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3043
|
+
}, "strip", z.ZodTypeAny, {
|
|
3044
|
+
name?: string | undefined;
|
|
3045
|
+
}, {
|
|
3046
|
+
name?: string | undefined;
|
|
3047
|
+
}>>>;
|
|
2601
3048
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2602
3049
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2603
3050
|
_id: 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>]>>;
|
|
@@ -2640,6 +3087,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2640
3087
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2641
3088
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2642
3089
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3090
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3091
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3092
|
+
}, "strip", z.ZodTypeAny, {
|
|
3093
|
+
name?: string | undefined;
|
|
3094
|
+
}, {
|
|
3095
|
+
name?: string | undefined;
|
|
3096
|
+
}>>>;
|
|
2643
3097
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2644
3098
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2645
3099
|
_id: 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>]>>;
|
|
@@ -2676,6 +3130,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2676
3130
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2677
3131
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2678
3132
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3133
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3134
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3135
|
+
}, "strip", z.ZodTypeAny, {
|
|
3136
|
+
name?: string | undefined;
|
|
3137
|
+
}, {
|
|
3138
|
+
name?: string | undefined;
|
|
3139
|
+
}>>>;
|
|
2679
3140
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2680
3141
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2681
3142
|
_id: 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>]>>;
|
|
@@ -2712,6 +3173,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2712
3173
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2713
3174
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2714
3175
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3176
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3177
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3178
|
+
}, "strip", z.ZodTypeAny, {
|
|
3179
|
+
name?: string | undefined;
|
|
3180
|
+
}, {
|
|
3181
|
+
name?: string | undefined;
|
|
3182
|
+
}>>>;
|
|
2715
3183
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2716
3184
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2717
3185
|
_id: 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>]>>;
|
|
@@ -2748,6 +3216,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2748
3216
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2749
3217
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2750
3218
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3219
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3220
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3221
|
+
}, "strip", z.ZodTypeAny, {
|
|
3222
|
+
name?: string | undefined;
|
|
3223
|
+
}, {
|
|
3224
|
+
name?: string | undefined;
|
|
3225
|
+
}>>>;
|
|
2751
3226
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2752
3227
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2753
3228
|
_id: 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>]>>;
|
|
@@ -2785,6 +3260,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2785
3260
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2786
3261
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2787
3262
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3263
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3264
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3265
|
+
}, "strip", z.ZodTypeAny, {
|
|
3266
|
+
name?: string | undefined;
|
|
3267
|
+
}, {
|
|
3268
|
+
name?: string | undefined;
|
|
3269
|
+
}>>>;
|
|
2788
3270
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2789
3271
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2790
3272
|
_id: 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>]>>;
|
|
@@ -2827,6 +3309,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2827
3309
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2828
3310
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2829
3311
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3312
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3313
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3314
|
+
}, "strip", z.ZodTypeAny, {
|
|
3315
|
+
name?: string | undefined;
|
|
3316
|
+
}, {
|
|
3317
|
+
name?: string | undefined;
|
|
3318
|
+
}>>>;
|
|
2830
3319
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2831
3320
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2832
3321
|
_id: 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>]>>;
|
|
@@ -2863,6 +3352,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2863
3352
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2864
3353
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2865
3354
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3355
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3356
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3357
|
+
}, "strip", z.ZodTypeAny, {
|
|
3358
|
+
name?: string | undefined;
|
|
3359
|
+
}, {
|
|
3360
|
+
name?: string | undefined;
|
|
3361
|
+
}>>>;
|
|
2866
3362
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2867
3363
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2868
3364
|
_id: 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>]>>;
|
|
@@ -2899,6 +3395,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2899
3395
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2900
3396
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2901
3397
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3398
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3399
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3400
|
+
}, "strip", z.ZodTypeAny, {
|
|
3401
|
+
name?: string | undefined;
|
|
3402
|
+
}, {
|
|
3403
|
+
name?: string | undefined;
|
|
3404
|
+
}>>>;
|
|
2902
3405
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2903
3406
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2904
3407
|
_id: 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>]>>;
|
|
@@ -2935,6 +3438,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2935
3438
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2936
3439
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2937
3440
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3441
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3442
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3443
|
+
}, "strip", z.ZodTypeAny, {
|
|
3444
|
+
name?: string | undefined;
|
|
3445
|
+
}, {
|
|
3446
|
+
name?: string | undefined;
|
|
3447
|
+
}>>>;
|
|
2938
3448
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2939
3449
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2940
3450
|
_id: 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>]>>;
|
|
@@ -2969,6 +3479,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2969
3479
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
2970
3480
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
2971
3481
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3482
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3483
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3484
|
+
}, "strip", z.ZodTypeAny, {
|
|
3485
|
+
name?: string | undefined;
|
|
3486
|
+
}, {
|
|
3487
|
+
name?: string | undefined;
|
|
3488
|
+
}>>>;
|
|
2972
3489
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
2973
3490
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
2974
3491
|
_id: 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>]>>;
|
|
@@ -3011,6 +3528,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
3011
3528
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
3012
3529
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
3013
3530
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3531
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3532
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3533
|
+
}, "strip", z.ZodTypeAny, {
|
|
3534
|
+
name?: string | undefined;
|
|
3535
|
+
}, {
|
|
3536
|
+
name?: string | undefined;
|
|
3537
|
+
}>>>;
|
|
3014
3538
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3015
3539
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
3016
3540
|
_id: 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>]>>;
|
|
@@ -3047,6 +3571,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
3047
3571
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
3048
3572
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
3049
3573
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3574
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3575
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3576
|
+
}, "strip", z.ZodTypeAny, {
|
|
3577
|
+
name?: string | undefined;
|
|
3578
|
+
}, {
|
|
3579
|
+
name?: string | undefined;
|
|
3580
|
+
}>>>;
|
|
3050
3581
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3051
3582
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
3052
3583
|
_id: 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>]>>;
|
|
@@ -3083,6 +3614,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
3083
3614
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
3084
3615
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
3085
3616
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3617
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3618
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3619
|
+
}, "strip", z.ZodTypeAny, {
|
|
3620
|
+
name?: string | undefined;
|
|
3621
|
+
}, {
|
|
3622
|
+
name?: string | undefined;
|
|
3623
|
+
}>>>;
|
|
3086
3624
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3087
3625
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
3088
3626
|
_id: 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>]>>;
|
|
@@ -3119,6 +3657,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
3119
3657
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
3120
3658
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
3121
3659
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3660
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3661
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3662
|
+
}, "strip", z.ZodTypeAny, {
|
|
3663
|
+
name?: string | undefined;
|
|
3664
|
+
}, {
|
|
3665
|
+
name?: string | undefined;
|
|
3666
|
+
}>>>;
|
|
3122
3667
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3123
3668
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
3124
3669
|
_id: 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>]>>;
|
|
@@ -3163,6 +3708,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
3163
3708
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
3164
3709
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
3165
3710
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3711
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3712
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3713
|
+
}, "strip", z.ZodTypeAny, {
|
|
3714
|
+
name?: string | undefined;
|
|
3715
|
+
}, {
|
|
3716
|
+
name?: string | undefined;
|
|
3717
|
+
}>>>;
|
|
3166
3718
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3167
3719
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
3168
3720
|
_id: 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>]>>;
|
|
@@ -3205,6 +3757,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
3205
3757
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
3206
3758
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
3207
3759
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3760
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3761
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3762
|
+
}, "strip", z.ZodTypeAny, {
|
|
3763
|
+
name?: string | undefined;
|
|
3764
|
+
}, {
|
|
3765
|
+
name?: string | undefined;
|
|
3766
|
+
}>>>;
|
|
3208
3767
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3209
3768
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
3210
3769
|
_id: 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>]>>;
|
|
@@ -3241,6 +3800,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
3241
3800
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
3242
3801
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
3243
3802
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3803
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3804
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3805
|
+
}, "strip", z.ZodTypeAny, {
|
|
3806
|
+
name?: string | undefined;
|
|
3807
|
+
}, {
|
|
3808
|
+
name?: string | undefined;
|
|
3809
|
+
}>>>;
|
|
3244
3810
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3245
3811
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
3246
3812
|
_id: 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>]>>;
|
|
@@ -3277,6 +3843,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
3277
3843
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
3278
3844
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
3279
3845
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3846
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3847
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3848
|
+
}, "strip", z.ZodTypeAny, {
|
|
3849
|
+
name?: string | undefined;
|
|
3850
|
+
}, {
|
|
3851
|
+
name?: string | undefined;
|
|
3852
|
+
}>>>;
|
|
3280
3853
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3281
3854
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
3282
3855
|
_id: 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>]>>;
|
|
@@ -3313,6 +3886,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
3313
3886
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
3314
3887
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
3315
3888
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3889
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3890
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3891
|
+
}, "strip", z.ZodTypeAny, {
|
|
3892
|
+
name?: string | undefined;
|
|
3893
|
+
}, {
|
|
3894
|
+
name?: string | undefined;
|
|
3895
|
+
}>>>;
|
|
3316
3896
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3317
3897
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
3318
3898
|
_id: 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>]>>;
|
|
@@ -3347,6 +3927,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
3347
3927
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
3348
3928
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
3349
3929
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3930
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3931
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3932
|
+
}, "strip", z.ZodTypeAny, {
|
|
3933
|
+
name?: string | undefined;
|
|
3934
|
+
}, {
|
|
3935
|
+
name?: string | undefined;
|
|
3936
|
+
}>>>;
|
|
3350
3937
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3351
3938
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
3352
3939
|
_id: 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>]>>;
|
|
@@ -3389,6 +3976,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
3389
3976
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
3390
3977
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
3391
3978
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
3979
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
3980
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3981
|
+
}, "strip", z.ZodTypeAny, {
|
|
3982
|
+
name?: string | undefined;
|
|
3983
|
+
}, {
|
|
3984
|
+
name?: string | undefined;
|
|
3985
|
+
}>>>;
|
|
3392
3986
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3393
3987
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
3394
3988
|
_id: 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>]>>;
|
|
@@ -3425,6 +4019,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
3425
4019
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
3426
4020
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
3427
4021
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
4022
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
4023
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
4024
|
+
}, "strip", z.ZodTypeAny, {
|
|
4025
|
+
name?: string | undefined;
|
|
4026
|
+
}, {
|
|
4027
|
+
name?: string | undefined;
|
|
4028
|
+
}>>>;
|
|
3428
4029
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3429
4030
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
3430
4031
|
_id: 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>]>>;
|
|
@@ -3461,6 +4062,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
3461
4062
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
3462
4063
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
3463
4064
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
4065
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
4066
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
4067
|
+
}, "strip", z.ZodTypeAny, {
|
|
4068
|
+
name?: string | undefined;
|
|
4069
|
+
}, {
|
|
4070
|
+
name?: string | undefined;
|
|
4071
|
+
}>>>;
|
|
3464
4072
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3465
4073
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
3466
4074
|
_id: 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>]>>;
|
|
@@ -3497,6 +4105,13 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
3497
4105
|
forNewUserOnly: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
3498
4106
|
status: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").Status>>>>;
|
|
3499
4107
|
expirationReason: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason>>>>>;
|
|
4108
|
+
referringUser: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
4109
|
+
name: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
4110
|
+
}, "strip", z.ZodTypeAny, {
|
|
4111
|
+
name?: string | undefined;
|
|
4112
|
+
}, {
|
|
4113
|
+
name?: string | undefined;
|
|
4114
|
+
}>>>;
|
|
3500
4115
|
code: z.ZodOptional<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
3501
4116
|
orderLimitPerUser: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>>;
|
|
3502
4117
|
_id: 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>]>>;
|