@lyxa.ai/marketing 1.0.44 → 1.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/lib/index.d.ts +170 -28
  2. package/dist/lib/index.d.ts.map +1 -1
  3. package/dist/lib/modules/coupon/routers/coupon.router.d.ts +169 -27
  4. package/dist/lib/modules/coupon/routers/coupon.router.d.ts.map +1 -1
  5. package/dist/lib/modules/coupon/routers/coupon.router.js +13 -4
  6. package/dist/lib/modules/coupon/routers/coupon.router.js.map +1 -1
  7. package/dist/lib/modules/coupon/services/coupon.service.d.ts +4 -1
  8. package/dist/lib/modules/coupon/services/coupon.service.d.ts.map +1 -1
  9. package/dist/lib/modules/coupon/services/coupon.service.js +134 -15
  10. package/dist/lib/modules/coupon/services/coupon.service.js.map +1 -1
  11. package/dist/lib/modules/coupon/services/custom-coupon.service.d.ts +208 -3
  12. package/dist/lib/modules/coupon/services/custom-coupon.service.d.ts.map +1 -1
  13. package/dist/lib/modules/coupon/services/global-coupon.service.d.ts.map +1 -1
  14. package/dist/lib/modules/coupon/services/global-coupon.service.js +2 -0
  15. package/dist/lib/modules/coupon/services/global-coupon.service.js.map +1 -1
  16. package/dist/lib/modules/coupon/services/helper.service.d.ts +214 -4
  17. package/dist/lib/modules/coupon/services/helper.service.d.ts.map +1 -1
  18. package/dist/lib/modules/coupon/services/helper.service.js +114 -16
  19. package/dist/lib/modules/coupon/services/helper.service.js.map +1 -1
  20. package/dist/lib/modules/coupon/services/individual-store-coupon.service.d.ts +208 -3
  21. package/dist/lib/modules/coupon/services/individual-store-coupon.service.d.ts.map +1 -1
  22. package/dist/lib/modules/coupon/services/individual-user-coupon.service.d.ts +1 -1
  23. package/dist/lib/modules/coupon/services/individual-user-coupon.service.d.ts.map +1 -1
  24. package/dist/lib/modules/coupon/services/individual-user-coupon.service.js +20 -11
  25. package/dist/lib/modules/coupon/services/individual-user-coupon.service.js.map +1 -1
  26. package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.d.ts +10 -4
  27. package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.d.ts.map +1 -1
  28. package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.js +90 -14
  29. package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.js.map +1 -1
  30. package/dist/lib/modules/coupon/services/patterns/repository/CouponRepository.d.ts +2 -2
  31. package/dist/lib/modules/coupon/services/patterns/repository/CouponRepository.d.ts.map +1 -1
  32. package/dist/lib/modules/coupon/services/patterns/repository/CouponRepository.js +151 -45
  33. package/dist/lib/modules/coupon/services/patterns/repository/CouponRepository.js.map +1 -1
  34. package/dist/lib/modules/coupon/services/referral-reward-coupon.service.d.ts.map +1 -1
  35. package/dist/lib/modules/coupon/services/referral-reward-coupon.service.js +17 -4
  36. package/dist/lib/modules/coupon/services/referral-reward-coupon.service.js.map +1 -1
  37. package/dist/lib/modules/coupon/services/shops-categories-coupon.service.d.ts +208 -3
  38. package/dist/lib/modules/coupon/services/shops-categories-coupon.service.d.ts.map +1 -1
  39. package/dist/lib/modules/coupon/transformers/coupon.transformer.d.ts +5 -1
  40. package/dist/lib/modules/coupon/transformers/coupon.transformer.d.ts.map +1 -1
  41. package/dist/lib/modules/coupon/validations/all-coupons.validation.d.ts +243 -23
  42. package/dist/lib/modules/coupon/validations/all-coupons.validation.d.ts.map +1 -1
  43. package/dist/lib/modules/coupon/validations/coupon.validation.d.ts +412 -48
  44. package/dist/lib/modules/coupon/validations/coupon.validation.d.ts.map +1 -1
  45. package/dist/lib/modules/coupon/validations/coupon.validation.js +39 -6
  46. package/dist/lib/modules/coupon/validations/coupon.validation.js.map +1 -1
  47. package/dist/lib/modules/coupon/validations/create-coupon.validation.d.ts +94 -6
  48. package/dist/lib/modules/coupon/validations/create-coupon.validation.d.ts.map +1 -1
  49. package/dist/lib/modules/coupon/validations/custom-coupon.validation.d.ts +9 -0
  50. package/dist/lib/modules/coupon/validations/custom-coupon.validation.d.ts.map +1 -1
  51. package/dist/lib/modules/coupon/validations/custom-coupon.validation.js +1 -0
  52. package/dist/lib/modules/coupon/validations/custom-coupon.validation.js.map +1 -1
  53. package/dist/lib/modules/coupon/validations/individual-store-coupon.validation.d.ts +200 -122
  54. package/dist/lib/modules/coupon/validations/individual-store-coupon.validation.d.ts.map +1 -1
  55. package/dist/lib/modules/coupon/validations/individual-store-coupon.validation.js +20 -3
  56. package/dist/lib/modules/coupon/validations/individual-store-coupon.validation.js.map +1 -1
  57. package/dist/lib/modules/coupon/validations/individual-user-coupon.validation.d.ts +9 -0
  58. package/dist/lib/modules/coupon/validations/individual-user-coupon.validation.d.ts.map +1 -1
  59. package/dist/lib/modules/coupon/validations/individual-user-coupon.validation.js +1 -0
  60. package/dist/lib/modules/coupon/validations/individual-user-coupon.validation.js.map +1 -1
  61. package/dist/lib/modules/coupon/validations/shops-categories-coupon.validation.d.ts +9 -0
  62. package/dist/lib/modules/coupon/validations/shops-categories-coupon.validation.d.ts.map +1 -1
  63. package/dist/lib/modules/coupon/validations/shops-categories-coupon.validation.js +1 -0
  64. package/dist/lib/modules/coupon/validations/shops-categories-coupon.validation.js.map +1 -1
  65. package/dist/lib/modules/marketing/validations/buy1-get1-marketing.validation.d.ts +6 -6
  66. package/dist/lib/modules/marketing/validations/discount-marketing.validation.d.ts +6 -6
  67. package/dist/lib/modules/marketing/validations/product-marketing.validation.d.ts +2 -2
  68. package/dist/lib/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts +1 -1
  69. package/dist/lib/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts +2 -2
  70. package/dist/types/index.d.ts +170 -28
  71. package/dist/types/index.d.ts.map +1 -1
  72. package/dist/types/modules/coupon/routers/coupon.router.d.ts +169 -27
  73. package/dist/types/modules/coupon/routers/coupon.router.d.ts.map +1 -1
  74. package/dist/types/modules/coupon/services/coupon.service.d.ts +4 -1
  75. package/dist/types/modules/coupon/services/coupon.service.d.ts.map +1 -1
  76. package/dist/types/modules/coupon/services/custom-coupon.service.d.ts +208 -3
  77. package/dist/types/modules/coupon/services/custom-coupon.service.d.ts.map +1 -1
  78. package/dist/types/modules/coupon/services/global-coupon.service.d.ts.map +1 -1
  79. package/dist/types/modules/coupon/services/helper.service.d.ts +214 -4
  80. package/dist/types/modules/coupon/services/helper.service.d.ts.map +1 -1
  81. package/dist/types/modules/coupon/services/individual-store-coupon.service.d.ts +208 -3
  82. package/dist/types/modules/coupon/services/individual-store-coupon.service.d.ts.map +1 -1
  83. package/dist/types/modules/coupon/services/individual-user-coupon.service.d.ts +1 -1
  84. package/dist/types/modules/coupon/services/individual-user-coupon.service.d.ts.map +1 -1
  85. package/dist/types/modules/coupon/services/patterns/repository/CouponMetricsRepository.d.ts +10 -4
  86. package/dist/types/modules/coupon/services/patterns/repository/CouponMetricsRepository.d.ts.map +1 -1
  87. package/dist/types/modules/coupon/services/patterns/repository/CouponRepository.d.ts +2 -2
  88. package/dist/types/modules/coupon/services/patterns/repository/CouponRepository.d.ts.map +1 -1
  89. package/dist/types/modules/coupon/services/referral-reward-coupon.service.d.ts.map +1 -1
  90. package/dist/types/modules/coupon/services/shops-categories-coupon.service.d.ts +208 -3
  91. package/dist/types/modules/coupon/services/shops-categories-coupon.service.d.ts.map +1 -1
  92. package/dist/types/modules/coupon/transformers/coupon.transformer.d.ts +5 -1
  93. package/dist/types/modules/coupon/transformers/coupon.transformer.d.ts.map +1 -1
  94. package/dist/types/modules/coupon/validations/all-coupons.validation.d.ts +243 -23
  95. package/dist/types/modules/coupon/validations/all-coupons.validation.d.ts.map +1 -1
  96. package/dist/types/modules/coupon/validations/coupon.validation.d.ts +412 -48
  97. package/dist/types/modules/coupon/validations/coupon.validation.d.ts.map +1 -1
  98. package/dist/types/modules/coupon/validations/create-coupon.validation.d.ts +94 -6
  99. package/dist/types/modules/coupon/validations/create-coupon.validation.d.ts.map +1 -1
  100. package/dist/types/modules/coupon/validations/custom-coupon.validation.d.ts +9 -0
  101. package/dist/types/modules/coupon/validations/custom-coupon.validation.d.ts.map +1 -1
  102. package/dist/types/modules/coupon/validations/individual-store-coupon.validation.d.ts +200 -122
  103. package/dist/types/modules/coupon/validations/individual-store-coupon.validation.d.ts.map +1 -1
  104. package/dist/types/modules/coupon/validations/individual-user-coupon.validation.d.ts +9 -0
  105. package/dist/types/modules/coupon/validations/individual-user-coupon.validation.d.ts.map +1 -1
  106. package/dist/types/modules/coupon/validations/shops-categories-coupon.validation.d.ts +9 -0
  107. package/dist/types/modules/coupon/validations/shops-categories-coupon.validation.d.ts.map +1 -1
  108. package/dist/types/modules/marketing/validations/buy1-get1-marketing.validation.d.ts +6 -6
  109. package/dist/types/modules/marketing/validations/discount-marketing.validation.d.ts +6 -6
  110. package/dist/types/modules/marketing/validations/product-marketing.validation.d.ts +2 -2
  111. package/dist/types/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts +1 -1
  112. package/dist/types/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts +2 -2
  113. package/package.json +2 -2
@@ -248,6 +248,7 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
248
248
  couponType: z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>;
249
249
  itemTypes: z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>;
250
250
  shops: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>;
251
+ vendors: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>;
251
252
  isShopCoverExpenses: z.ZodDefault<z.ZodBoolean>;
252
253
  firstOrderOnly: z.ZodDefault<z.ZodBoolean>;
253
254
  valueType: z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>;
@@ -318,6 +319,7 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
318
319
  couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES;
319
320
  itemTypes: import("@lyxa.ai/core/dist/utilities/enum").ItemType[];
320
321
  shops: import("mongoose").Types.ObjectId[];
322
+ vendors: import("mongoose").Types.ObjectId[];
321
323
  isShopCoverExpenses: boolean;
322
324
  firstOrderOnly: boolean;
323
325
  secondaryCurrencyValue?: number | undefined;
@@ -360,11 +362,13 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
360
362
  isExpired?: boolean | undefined;
361
363
  itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
362
364
  shops?: (string | import("mongoose").Types.ObjectId)[] | undefined;
365
+ vendors?: (string | import("mongoose").Types.ObjectId)[] | undefined;
363
366
  isShopCoverExpenses?: boolean | undefined;
364
367
  firstOrderOnly?: boolean | undefined;
365
- }>, z.ZodObject<{
368
+ }>, z.ZodEffects<z.ZodObject<{
366
369
  couponType: z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>;
367
- shop: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
370
+ shop: 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>]>>;
371
+ vendor: 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>]>>;
368
372
  isShopCoverExpenses: z.ZodDefault<z.ZodBoolean>;
369
373
  firstOrderOnly: z.ZodDefault<z.ZodBoolean>;
370
374
  valueType: z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>;
@@ -432,7 +436,6 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
432
436
  expirationReason: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null;
433
437
  orderLimitPerUser: number | null;
434
438
  isOrderLimitPerUserEnabled: boolean;
435
- shop: import("mongoose").Types.ObjectId;
436
439
  couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
437
440
  isShopCoverExpenses: boolean;
438
441
  firstOrderOnly: boolean;
@@ -444,6 +447,8 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
444
447
  } | undefined;
445
448
  createdBy?: import("mongoose").Types.ObjectId | undefined;
446
449
  isExpired?: boolean | undefined;
450
+ shop?: import("mongoose").Types.ObjectId | undefined;
451
+ vendor?: import("mongoose").Types.ObjectId | undefined;
447
452
  }, {
448
453
  code: string;
449
454
  value: number;
@@ -452,7 +457,6 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
452
457
  start: string | Date;
453
458
  end?: string | Date | undefined;
454
459
  };
455
- shop: string | import("mongoose").Types.ObjectId;
456
460
  couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
457
461
  status?: import("@lyxa.ai/core/dist/utilities/enum").Status | undefined;
458
462
  secondaryCurrencyValue?: number | undefined;
@@ -475,6 +479,76 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
475
479
  isOrderLimitPerUserEnabled?: boolean | undefined;
476
480
  createdBy?: string | import("mongoose").Types.ObjectId | undefined;
477
481
  isExpired?: boolean | undefined;
482
+ shop?: string | import("mongoose").Types.ObjectId | undefined;
483
+ vendor?: string | import("mongoose").Types.ObjectId | undefined;
484
+ isShopCoverExpenses?: boolean | undefined;
485
+ firstOrderOnly?: boolean | undefined;
486
+ }>, {
487
+ code: string;
488
+ value: number;
489
+ status: import("@lyxa.ai/core/dist/utilities/enum").Status;
490
+ valueType: import("@lyxa.ai/core/dist/utilities/enum").ValueType;
491
+ maxDiscountLimit: number | null;
492
+ isMaxDiscountLimitEnabled: boolean;
493
+ duration: {
494
+ start: Date;
495
+ end?: Date | undefined;
496
+ };
497
+ spendLimit: number | null;
498
+ isSpendLimitEnabled: boolean;
499
+ totalOrderLimit: number | null;
500
+ isTotalOrderLimitEnabled: boolean;
501
+ minOrderValue: number | null;
502
+ isMinOrderValueEnabled: boolean;
503
+ forNewUserOnly: boolean;
504
+ expirationReason: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null;
505
+ orderLimitPerUser: number | null;
506
+ isOrderLimitPerUserEnabled: boolean;
507
+ couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
508
+ isShopCoverExpenses: boolean;
509
+ firstOrderOnly: boolean;
510
+ secondaryCurrencyValue?: number | undefined;
511
+ secondaryCurrencyMaxDiscountLimit?: number | undefined;
512
+ secondaryCurrencyMinOrderValue?: number | undefined;
513
+ referringUser?: {
514
+ name?: string | undefined;
515
+ } | undefined;
516
+ createdBy?: import("mongoose").Types.ObjectId | undefined;
517
+ isExpired?: boolean | undefined;
518
+ shop?: import("mongoose").Types.ObjectId | undefined;
519
+ vendor?: import("mongoose").Types.ObjectId | undefined;
520
+ }, {
521
+ code: string;
522
+ value: number;
523
+ valueType: import("@lyxa.ai/core/dist/utilities/enum").ValueType;
524
+ duration: {
525
+ start: string | Date;
526
+ end?: string | Date | undefined;
527
+ };
528
+ couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
529
+ status?: import("@lyxa.ai/core/dist/utilities/enum").Status | undefined;
530
+ secondaryCurrencyValue?: number | undefined;
531
+ maxDiscountLimit?: number | null | undefined;
532
+ secondaryCurrencyMaxDiscountLimit?: number | undefined;
533
+ isMaxDiscountLimitEnabled?: boolean | undefined;
534
+ spendLimit?: number | null | undefined;
535
+ isSpendLimitEnabled?: boolean | undefined;
536
+ totalOrderLimit?: number | null | undefined;
537
+ isTotalOrderLimitEnabled?: boolean | undefined;
538
+ minOrderValue?: number | null | undefined;
539
+ secondaryCurrencyMinOrderValue?: number | undefined;
540
+ isMinOrderValueEnabled?: boolean | undefined;
541
+ forNewUserOnly?: boolean | undefined;
542
+ expirationReason?: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null | undefined;
543
+ referringUser?: {
544
+ name?: string | undefined;
545
+ } | undefined;
546
+ orderLimitPerUser?: number | null | undefined;
547
+ isOrderLimitPerUserEnabled?: boolean | undefined;
548
+ createdBy?: string | import("mongoose").Types.ObjectId | undefined;
549
+ isExpired?: boolean | undefined;
550
+ shop?: string | import("mongoose").Types.ObjectId | undefined;
551
+ vendor?: string | import("mongoose").Types.ObjectId | undefined;
478
552
  isShopCoverExpenses?: boolean | undefined;
479
553
  firstOrderOnly?: boolean | undefined;
480
554
  }>, z.ZodObject<{
@@ -482,6 +556,7 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
482
556
  users: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "atleastone">;
483
557
  itemTypes: z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>;
484
558
  shops: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>;
559
+ vendors: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>;
485
560
  valueType: z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>;
486
561
  value: z.ZodNumber;
487
562
  secondaryCurrencyValue: z.ZodOptional<z.ZodNumber>;
@@ -550,6 +625,7 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
550
625
  couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_USER;
551
626
  itemTypes: import("@lyxa.ai/core/dist/utilities/enum").ItemType[];
552
627
  shops: import("mongoose").Types.ObjectId[];
628
+ vendors: import("mongoose").Types.ObjectId[];
553
629
  users: [import("mongoose").Types.ObjectId, ...import("mongoose").Types.ObjectId[]];
554
630
  secondaryCurrencyValue?: number | undefined;
555
631
  secondaryCurrencyMaxDiscountLimit?: number | undefined;
@@ -592,11 +668,13 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
592
668
  isExpired?: boolean | undefined;
593
669
  itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
594
670
  shops?: (string | import("mongoose").Types.ObjectId)[] | undefined;
671
+ vendors?: (string | import("mongoose").Types.ObjectId)[] | undefined;
595
672
  }>, z.ZodObject<{
596
673
  couponType: z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.CUSTOM_COUPON>;
597
674
  influencer: 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>]>;
598
675
  itemTypes: z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>;
599
676
  shops: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>;
677
+ vendors: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>;
600
678
  valueType: z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>;
601
679
  value: z.ZodNumber;
602
680
  secondaryCurrencyValue: z.ZodOptional<z.ZodNumber>;
@@ -665,6 +743,7 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
665
743
  couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.CUSTOM_COUPON;
666
744
  itemTypes: import("@lyxa.ai/core/dist/utilities/enum").ItemType[];
667
745
  shops: import("mongoose").Types.ObjectId[];
746
+ vendors: import("mongoose").Types.ObjectId[];
668
747
  influencer: import("mongoose").Types.ObjectId;
669
748
  secondaryCurrencyValue?: number | undefined;
670
749
  secondaryCurrencyMaxDiscountLimit?: number | undefined;
@@ -707,6 +786,7 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
707
786
  isExpired?: boolean | undefined;
708
787
  itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
709
788
  shops?: (string | import("mongoose").Types.ObjectId)[] | undefined;
789
+ vendors?: (string | import("mongoose").Types.ObjectId)[] | undefined;
710
790
  }>]>;
711
791
  export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
712
792
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.GLOBAL>>;
@@ -1030,6 +1110,7 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
1030
1110
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
1031
1111
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
1032
1112
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
1113
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
1033
1114
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1034
1115
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1035
1116
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -1081,6 +1162,7 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
1081
1162
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
1082
1163
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
1083
1164
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
1165
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
1084
1166
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1085
1167
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1086
1168
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -1132,6 +1214,7 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
1132
1214
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
1133
1215
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
1134
1216
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
1217
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
1135
1218
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1136
1219
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1137
1220
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -1181,7 +1264,8 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
1181
1264
  _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>]>>;
1182
1265
  }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1183
1266
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
1184
- shop: 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>]>>;
1267
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
1268
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
1185
1269
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1186
1270
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1187
1271
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -1231,7 +1315,8 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
1231
1315
  _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>]>>;
1232
1316
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1233
1317
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
1234
- shop: 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>]>>;
1318
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
1319
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
1235
1320
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1236
1321
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1237
1322
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -1281,7 +1366,8 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
1281
1366
  _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>]>>;
1282
1367
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1283
1368
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
1284
- shop: 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>]>>;
1369
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
1370
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
1285
1371
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1286
1372
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1287
1373
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -1334,6 +1420,7 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
1334
1420
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "atleastone">>;
1335
1421
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
1336
1422
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
1423
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
1337
1424
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1338
1425
  value: z.ZodOptional<z.ZodNumber>;
1339
1426
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -1384,6 +1471,7 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
1384
1471
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "atleastone">>;
1385
1472
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
1386
1473
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
1474
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
1387
1475
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1388
1476
  value: z.ZodOptional<z.ZodNumber>;
1389
1477
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -1434,6 +1522,7 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
1434
1522
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "atleastone">>;
1435
1523
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
1436
1524
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
1525
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
1437
1526
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1438
1527
  value: z.ZodOptional<z.ZodNumber>;
1439
1528
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -1484,6 +1573,7 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
1484
1573
  influencer: 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>]>>;
1485
1574
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
1486
1575
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
1576
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
1487
1577
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1488
1578
  value: z.ZodOptional<z.ZodNumber>;
1489
1579
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -1534,6 +1624,7 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
1534
1624
  influencer: 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>]>>;
1535
1625
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
1536
1626
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
1627
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
1537
1628
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1538
1629
  value: z.ZodOptional<z.ZodNumber>;
1539
1630
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -1584,6 +1675,7 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
1584
1675
  influencer: 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>]>>;
1585
1676
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
1586
1677
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
1678
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
1587
1679
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1588
1680
  value: z.ZodOptional<z.ZodNumber>;
1589
1681
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -1881,6 +1973,7 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
1881
1973
  couponType: z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>;
1882
1974
  itemTypes: z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>;
1883
1975
  shops: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>;
1976
+ vendors: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>;
1884
1977
  isShopCoverExpenses: z.ZodDefault<z.ZodBoolean>;
1885
1978
  firstOrderOnly: z.ZodDefault<z.ZodBoolean>;
1886
1979
  valueType: z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>;
@@ -1951,6 +2044,7 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
1951
2044
  couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES;
1952
2045
  itemTypes: import("@lyxa.ai/core/dist/utilities/enum").ItemType[];
1953
2046
  shops: import("mongoose").Types.ObjectId[];
2047
+ vendors: import("mongoose").Types.ObjectId[];
1954
2048
  isShopCoverExpenses: boolean;
1955
2049
  firstOrderOnly: boolean;
1956
2050
  secondaryCurrencyValue?: number | undefined;
@@ -1993,11 +2087,13 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
1993
2087
  isExpired?: boolean | undefined;
1994
2088
  itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
1995
2089
  shops?: (string | import("mongoose").Types.ObjectId)[] | undefined;
2090
+ vendors?: (string | import("mongoose").Types.ObjectId)[] | undefined;
1996
2091
  isShopCoverExpenses?: boolean | undefined;
1997
2092
  firstOrderOnly?: boolean | undefined;
1998
- }>, z.ZodObject<{
2093
+ }>, z.ZodEffects<z.ZodObject<{
1999
2094
  couponType: z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>;
2000
- shop: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>;
2095
+ shop: 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>]>>;
2096
+ vendor: 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>]>>;
2001
2097
  isShopCoverExpenses: z.ZodDefault<z.ZodBoolean>;
2002
2098
  firstOrderOnly: z.ZodDefault<z.ZodBoolean>;
2003
2099
  valueType: z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>;
@@ -2065,7 +2161,6 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
2065
2161
  expirationReason: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null;
2066
2162
  orderLimitPerUser: number | null;
2067
2163
  isOrderLimitPerUserEnabled: boolean;
2068
- shop: import("mongoose").Types.ObjectId;
2069
2164
  couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
2070
2165
  isShopCoverExpenses: boolean;
2071
2166
  firstOrderOnly: boolean;
@@ -2077,6 +2172,8 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
2077
2172
  } | undefined;
2078
2173
  createdBy?: import("mongoose").Types.ObjectId | undefined;
2079
2174
  isExpired?: boolean | undefined;
2175
+ shop?: import("mongoose").Types.ObjectId | undefined;
2176
+ vendor?: import("mongoose").Types.ObjectId | undefined;
2080
2177
  }, {
2081
2178
  code: string;
2082
2179
  value: number;
@@ -2085,7 +2182,6 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
2085
2182
  start: string | Date;
2086
2183
  end?: string | Date | undefined;
2087
2184
  };
2088
- shop: string | import("mongoose").Types.ObjectId;
2089
2185
  couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
2090
2186
  status?: import("@lyxa.ai/core/dist/utilities/enum").Status | undefined;
2091
2187
  secondaryCurrencyValue?: number | undefined;
@@ -2108,6 +2204,76 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
2108
2204
  isOrderLimitPerUserEnabled?: boolean | undefined;
2109
2205
  createdBy?: string | import("mongoose").Types.ObjectId | undefined;
2110
2206
  isExpired?: boolean | undefined;
2207
+ shop?: string | import("mongoose").Types.ObjectId | undefined;
2208
+ vendor?: string | import("mongoose").Types.ObjectId | undefined;
2209
+ isShopCoverExpenses?: boolean | undefined;
2210
+ firstOrderOnly?: boolean | undefined;
2211
+ }>, {
2212
+ code: string;
2213
+ value: number;
2214
+ status: import("@lyxa.ai/core/dist/utilities/enum").Status;
2215
+ valueType: import("@lyxa.ai/core/dist/utilities/enum").ValueType;
2216
+ maxDiscountLimit: number | null;
2217
+ isMaxDiscountLimitEnabled: boolean;
2218
+ duration: {
2219
+ start: Date;
2220
+ end?: Date | undefined;
2221
+ };
2222
+ spendLimit: number | null;
2223
+ isSpendLimitEnabled: boolean;
2224
+ totalOrderLimit: number | null;
2225
+ isTotalOrderLimitEnabled: boolean;
2226
+ minOrderValue: number | null;
2227
+ isMinOrderValueEnabled: boolean;
2228
+ forNewUserOnly: boolean;
2229
+ expirationReason: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null;
2230
+ orderLimitPerUser: number | null;
2231
+ isOrderLimitPerUserEnabled: boolean;
2232
+ couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
2233
+ isShopCoverExpenses: boolean;
2234
+ firstOrderOnly: boolean;
2235
+ secondaryCurrencyValue?: number | undefined;
2236
+ secondaryCurrencyMaxDiscountLimit?: number | undefined;
2237
+ secondaryCurrencyMinOrderValue?: number | undefined;
2238
+ referringUser?: {
2239
+ name?: string | undefined;
2240
+ } | undefined;
2241
+ createdBy?: import("mongoose").Types.ObjectId | undefined;
2242
+ isExpired?: boolean | undefined;
2243
+ shop?: import("mongoose").Types.ObjectId | undefined;
2244
+ vendor?: import("mongoose").Types.ObjectId | undefined;
2245
+ }, {
2246
+ code: string;
2247
+ value: number;
2248
+ valueType: import("@lyxa.ai/core/dist/utilities/enum").ValueType;
2249
+ duration: {
2250
+ start: string | Date;
2251
+ end?: string | Date | undefined;
2252
+ };
2253
+ couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
2254
+ status?: import("@lyxa.ai/core/dist/utilities/enum").Status | undefined;
2255
+ secondaryCurrencyValue?: number | undefined;
2256
+ maxDiscountLimit?: number | null | undefined;
2257
+ secondaryCurrencyMaxDiscountLimit?: number | undefined;
2258
+ isMaxDiscountLimitEnabled?: boolean | undefined;
2259
+ spendLimit?: number | null | undefined;
2260
+ isSpendLimitEnabled?: boolean | undefined;
2261
+ totalOrderLimit?: number | null | undefined;
2262
+ isTotalOrderLimitEnabled?: boolean | undefined;
2263
+ minOrderValue?: number | null | undefined;
2264
+ secondaryCurrencyMinOrderValue?: number | undefined;
2265
+ isMinOrderValueEnabled?: boolean | undefined;
2266
+ forNewUserOnly?: boolean | undefined;
2267
+ expirationReason?: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null | undefined;
2268
+ referringUser?: {
2269
+ name?: string | undefined;
2270
+ } | undefined;
2271
+ orderLimitPerUser?: number | null | undefined;
2272
+ isOrderLimitPerUserEnabled?: boolean | undefined;
2273
+ createdBy?: string | import("mongoose").Types.ObjectId | undefined;
2274
+ isExpired?: boolean | undefined;
2275
+ shop?: string | import("mongoose").Types.ObjectId | undefined;
2276
+ vendor?: string | import("mongoose").Types.ObjectId | undefined;
2111
2277
  isShopCoverExpenses?: boolean | undefined;
2112
2278
  firstOrderOnly?: boolean | undefined;
2113
2279
  }>, z.ZodObject<{
@@ -2115,6 +2281,7 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
2115
2281
  users: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "atleastone">;
2116
2282
  itemTypes: z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>;
2117
2283
  shops: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>;
2284
+ vendors: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>;
2118
2285
  valueType: z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>;
2119
2286
  value: z.ZodNumber;
2120
2287
  secondaryCurrencyValue: z.ZodOptional<z.ZodNumber>;
@@ -2183,6 +2350,7 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
2183
2350
  couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_USER;
2184
2351
  itemTypes: import("@lyxa.ai/core/dist/utilities/enum").ItemType[];
2185
2352
  shops: import("mongoose").Types.ObjectId[];
2353
+ vendors: import("mongoose").Types.ObjectId[];
2186
2354
  users: [import("mongoose").Types.ObjectId, ...import("mongoose").Types.ObjectId[]];
2187
2355
  secondaryCurrencyValue?: number | undefined;
2188
2356
  secondaryCurrencyMaxDiscountLimit?: number | undefined;
@@ -2225,11 +2393,13 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
2225
2393
  isExpired?: boolean | undefined;
2226
2394
  itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
2227
2395
  shops?: (string | import("mongoose").Types.ObjectId)[] | undefined;
2396
+ vendors?: (string | import("mongoose").Types.ObjectId)[] | undefined;
2228
2397
  }>, z.ZodObject<{
2229
2398
  couponType: z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.CUSTOM_COUPON>;
2230
2399
  influencer: 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>]>;
2231
2400
  itemTypes: z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>;
2232
2401
  shops: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>;
2402
+ vendors: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>;
2233
2403
  valueType: z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>;
2234
2404
  value: z.ZodNumber;
2235
2405
  secondaryCurrencyValue: z.ZodOptional<z.ZodNumber>;
@@ -2298,6 +2468,7 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
2298
2468
  couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.CUSTOM_COUPON;
2299
2469
  itemTypes: import("@lyxa.ai/core/dist/utilities/enum").ItemType[];
2300
2470
  shops: import("mongoose").Types.ObjectId[];
2471
+ vendors: import("mongoose").Types.ObjectId[];
2301
2472
  influencer: import("mongoose").Types.ObjectId;
2302
2473
  secondaryCurrencyValue?: number | undefined;
2303
2474
  secondaryCurrencyMaxDiscountLimit?: number | undefined;
@@ -2340,6 +2511,7 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
2340
2511
  isExpired?: boolean | undefined;
2341
2512
  itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
2342
2513
  shops?: (string | import("mongoose").Types.ObjectId)[] | undefined;
2514
+ vendors?: (string | import("mongoose").Types.ObjectId)[] | undefined;
2343
2515
  }>]>;
2344
2516
  }, "strip", z.ZodTypeAny, {
2345
2517
  _id: import("mongoose").Types.ObjectId;
@@ -2438,6 +2610,7 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
2438
2610
  couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES;
2439
2611
  itemTypes: import("@lyxa.ai/core/dist/utilities/enum").ItemType[];
2440
2612
  shops: import("mongoose").Types.ObjectId[];
2613
+ vendors: import("mongoose").Types.ObjectId[];
2441
2614
  isShopCoverExpenses: boolean;
2442
2615
  firstOrderOnly: boolean;
2443
2616
  secondaryCurrencyValue?: number | undefined;
@@ -2469,7 +2642,6 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
2469
2642
  expirationReason: import("@lyxa.ai/core/dist/utilities/enum").CouponExpirationReason | null;
2470
2643
  orderLimitPerUser: number | null;
2471
2644
  isOrderLimitPerUserEnabled: boolean;
2472
- shop: import("mongoose").Types.ObjectId;
2473
2645
  couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
2474
2646
  isShopCoverExpenses: boolean;
2475
2647
  firstOrderOnly: boolean;
@@ -2481,6 +2653,8 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
2481
2653
  } | undefined;
2482
2654
  createdBy?: import("mongoose").Types.ObjectId | undefined;
2483
2655
  isExpired?: boolean | undefined;
2656
+ shop?: import("mongoose").Types.ObjectId | undefined;
2657
+ vendor?: import("mongoose").Types.ObjectId | undefined;
2484
2658
  } | {
2485
2659
  code: string;
2486
2660
  value: number;
@@ -2505,6 +2679,7 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
2505
2679
  couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_USER;
2506
2680
  itemTypes: import("@lyxa.ai/core/dist/utilities/enum").ItemType[];
2507
2681
  shops: import("mongoose").Types.ObjectId[];
2682
+ vendors: import("mongoose").Types.ObjectId[];
2508
2683
  users: [import("mongoose").Types.ObjectId, ...import("mongoose").Types.ObjectId[]];
2509
2684
  secondaryCurrencyValue?: number | undefined;
2510
2685
  secondaryCurrencyMaxDiscountLimit?: number | undefined;
@@ -2538,6 +2713,7 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
2538
2713
  couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.CUSTOM_COUPON;
2539
2714
  itemTypes: import("@lyxa.ai/core/dist/utilities/enum").ItemType[];
2540
2715
  shops: import("mongoose").Types.ObjectId[];
2716
+ vendors: import("mongoose").Types.ObjectId[];
2541
2717
  influencer: import("mongoose").Types.ObjectId;
2542
2718
  secondaryCurrencyValue?: number | undefined;
2543
2719
  secondaryCurrencyMaxDiscountLimit?: number | undefined;
@@ -2653,6 +2829,7 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
2653
2829
  isExpired?: boolean | undefined;
2654
2830
  itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
2655
2831
  shops?: (string | import("mongoose").Types.ObjectId)[] | undefined;
2832
+ vendors?: (string | import("mongoose").Types.ObjectId)[] | undefined;
2656
2833
  isShopCoverExpenses?: boolean | undefined;
2657
2834
  firstOrderOnly?: boolean | undefined;
2658
2835
  } | {
@@ -2663,7 +2840,6 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
2663
2840
  start: string | Date;
2664
2841
  end?: string | Date | undefined;
2665
2842
  };
2666
- shop: string | import("mongoose").Types.ObjectId;
2667
2843
  couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
2668
2844
  status?: import("@lyxa.ai/core/dist/utilities/enum").Status | undefined;
2669
2845
  secondaryCurrencyValue?: number | undefined;
@@ -2686,6 +2862,8 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
2686
2862
  isOrderLimitPerUserEnabled?: boolean | undefined;
2687
2863
  createdBy?: string | import("mongoose").Types.ObjectId | undefined;
2688
2864
  isExpired?: boolean | undefined;
2865
+ shop?: string | import("mongoose").Types.ObjectId | undefined;
2866
+ vendor?: string | import("mongoose").Types.ObjectId | undefined;
2689
2867
  isShopCoverExpenses?: boolean | undefined;
2690
2868
  firstOrderOnly?: boolean | undefined;
2691
2869
  } | {
@@ -2721,6 +2899,7 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
2721
2899
  isExpired?: boolean | undefined;
2722
2900
  itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
2723
2901
  shops?: (string | import("mongoose").Types.ObjectId)[] | undefined;
2902
+ vendors?: (string | import("mongoose").Types.ObjectId)[] | undefined;
2724
2903
  } | {
2725
2904
  code: string;
2726
2905
  value: number;
@@ -2754,6 +2933,7 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
2754
2933
  isExpired?: boolean | undefined;
2755
2934
  itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
2756
2935
  shops?: (string | import("mongoose").Types.ObjectId)[] | undefined;
2936
+ vendors?: (string | import("mongoose").Types.ObjectId)[] | undefined;
2757
2937
  };
2758
2938
  }>;
2759
2939
  export declare const CouponResponseSchema: z.ZodObject<{
@@ -2886,6 +3066,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
2886
3066
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
2887
3067
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
2888
3068
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
3069
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
2889
3070
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2890
3071
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2891
3072
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -2935,7 +3116,8 @@ export declare const CouponResponseSchema: z.ZodObject<{
2935
3116
  _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>]>>;
2936
3117
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
2937
3118
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
2938
- shop: 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
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
3120
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
2939
3121
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2940
3122
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2941
3123
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -2988,6 +3170,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
2988
3170
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "atleastone">>;
2989
3171
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
2990
3172
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
3173
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
2991
3174
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
2992
3175
  value: z.ZodOptional<z.ZodNumber>;
2993
3176
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -3038,6 +3221,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
3038
3221
  influencer: 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>]>>;
3039
3222
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
3040
3223
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
3224
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
3041
3225
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
3042
3226
  value: z.ZodOptional<z.ZodNumber>;
3043
3227
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -3193,6 +3377,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
3193
3377
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
3194
3378
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
3195
3379
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
3380
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
3196
3381
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3197
3382
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3198
3383
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -3242,7 +3427,8 @@ export declare const CouponResponseSchema: z.ZodObject<{
3242
3427
  _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>]>>;
3243
3428
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
3244
3429
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
3245
- shop: 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>]>>;
3430
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
3431
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
3246
3432
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3247
3433
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3248
3434
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -3295,6 +3481,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
3295
3481
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "atleastone">>;
3296
3482
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
3297
3483
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
3484
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
3298
3485
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
3299
3486
  value: z.ZodOptional<z.ZodNumber>;
3300
3487
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -3345,6 +3532,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
3345
3532
  influencer: 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>]>>;
3346
3533
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
3347
3534
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
3535
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
3348
3536
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
3349
3537
  value: z.ZodOptional<z.ZodNumber>;
3350
3538
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -3502,6 +3690,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
3502
3690
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
3503
3691
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
3504
3692
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
3693
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
3505
3694
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3506
3695
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3507
3696
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -3551,7 +3740,8 @@ export declare const CouponResponseSchema: z.ZodObject<{
3551
3740
  _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>]>>;
3552
3741
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
3553
3742
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
3554
- shop: 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>]>>;
3743
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
3744
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
3555
3745
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3556
3746
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3557
3747
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -3604,6 +3794,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
3604
3794
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "atleastone">>;
3605
3795
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
3606
3796
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
3797
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
3607
3798
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
3608
3799
  value: z.ZodOptional<z.ZodNumber>;
3609
3800
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -3654,6 +3845,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
3654
3845
  influencer: 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>]>>;
3655
3846
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
3656
3847
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
3848
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
3657
3849
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
3658
3850
  value: z.ZodOptional<z.ZodNumber>;
3659
3851
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -3817,6 +4009,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
3817
4009
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
3818
4010
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
3819
4011
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
4012
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
3820
4013
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3821
4014
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3822
4015
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -3866,7 +4059,8 @@ export declare const CouponResponseSchema: z.ZodObject<{
3866
4059
  _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>]>>;
3867
4060
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
3868
4061
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
3869
- shop: 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>]>>;
4062
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
4063
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
3870
4064
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3871
4065
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3872
4066
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -3919,6 +4113,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
3919
4113
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "atleastone">>;
3920
4114
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
3921
4115
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
4116
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
3922
4117
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
3923
4118
  value: z.ZodOptional<z.ZodNumber>;
3924
4119
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -3969,6 +4164,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
3969
4164
  influencer: 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>]>>;
3970
4165
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
3971
4166
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
4167
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
3972
4168
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
3973
4169
  value: z.ZodOptional<z.ZodNumber>;
3974
4170
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -4131,6 +4327,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
4131
4327
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
4132
4328
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
4133
4329
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
4330
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
4134
4331
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4135
4332
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4136
4333
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -4180,7 +4377,8 @@ export declare const CouponResponseSchema: z.ZodObject<{
4180
4377
  _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>]>>;
4181
4378
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
4182
4379
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
4183
- shop: 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>]>>;
4380
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
4381
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
4184
4382
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4185
4383
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4186
4384
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -4233,6 +4431,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
4233
4431
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "atleastone">>;
4234
4432
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
4235
4433
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
4434
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
4236
4435
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
4237
4436
  value: z.ZodOptional<z.ZodNumber>;
4238
4437
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -4283,6 +4482,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
4283
4482
  influencer: 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>]>>;
4284
4483
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
4285
4484
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
4485
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
4286
4486
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
4287
4487
  value: z.ZodOptional<z.ZodNumber>;
4288
4488
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -4438,6 +4638,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
4438
4638
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
4439
4639
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
4440
4640
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
4641
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
4441
4642
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4442
4643
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4443
4644
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -4487,7 +4688,8 @@ export declare const CouponResponseSchema: z.ZodObject<{
4487
4688
  _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>]>>;
4488
4689
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
4489
4690
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
4490
- shop: 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>]>>;
4691
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
4692
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
4491
4693
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4492
4694
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4493
4695
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -4540,6 +4742,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
4540
4742
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "atleastone">>;
4541
4743
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
4542
4744
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
4745
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
4543
4746
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
4544
4747
  value: z.ZodOptional<z.ZodNumber>;
4545
4748
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -4590,6 +4793,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
4590
4793
  influencer: 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>]>>;
4591
4794
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
4592
4795
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
4796
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
4593
4797
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
4594
4798
  value: z.ZodOptional<z.ZodNumber>;
4595
4799
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -4749,6 +4953,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
4749
4953
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
4750
4954
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
4751
4955
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
4956
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
4752
4957
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4753
4958
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4754
4959
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -4798,7 +5003,8 @@ export declare const CouponResponseSchema: z.ZodObject<{
4798
5003
  _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>]>>;
4799
5004
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
4800
5005
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
4801
- shop: 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>]>>;
5006
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
5007
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
4802
5008
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4803
5009
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4804
5010
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -4851,6 +5057,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
4851
5057
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "atleastone">>;
4852
5058
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
4853
5059
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
5060
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
4854
5061
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
4855
5062
  value: z.ZodOptional<z.ZodNumber>;
4856
5063
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -4901,6 +5108,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
4901
5108
  influencer: 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>]>>;
4902
5109
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
4903
5110
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
5111
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
4904
5112
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
4905
5113
  value: z.ZodOptional<z.ZodNumber>;
4906
5114
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5057,6 +5265,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
5057
5265
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
5058
5266
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
5059
5267
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
5268
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
5060
5269
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5061
5270
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5062
5271
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -5106,7 +5315,8 @@ export declare const CouponResponseSchema: z.ZodObject<{
5106
5315
  _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>]>>;
5107
5316
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
5108
5317
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
5109
- shop: 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>]>>;
5318
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
5319
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
5110
5320
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5111
5321
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5112
5322
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -5159,6 +5369,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
5159
5369
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "atleastone">>;
5160
5370
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
5161
5371
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
5372
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
5162
5373
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
5163
5374
  value: z.ZodOptional<z.ZodNumber>;
5164
5375
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5209,6 +5420,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
5209
5420
  influencer: 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>]>>;
5210
5421
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
5211
5422
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
5423
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
5212
5424
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
5213
5425
  value: z.ZodOptional<z.ZodNumber>;
5214
5426
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5375,6 +5587,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
5375
5587
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
5376
5588
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
5377
5589
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
5590
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
5378
5591
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5379
5592
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5380
5593
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -5424,7 +5637,8 @@ export declare const CouponResponseSchema: z.ZodObject<{
5424
5637
  _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>]>>;
5425
5638
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
5426
5639
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
5427
- shop: 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>]>>;
5640
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
5641
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
5428
5642
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5429
5643
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5430
5644
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -5477,6 +5691,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
5477
5691
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "atleastone">>;
5478
5692
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
5479
5693
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
5694
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
5480
5695
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
5481
5696
  value: z.ZodOptional<z.ZodNumber>;
5482
5697
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5527,6 +5742,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
5527
5742
  influencer: 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>]>>;
5528
5743
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
5529
5744
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
5745
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
5530
5746
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
5531
5747
  value: z.ZodOptional<z.ZodNumber>;
5532
5748
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5683,6 +5899,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
5683
5899
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
5684
5900
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
5685
5901
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
5902
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
5686
5903
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5687
5904
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5688
5905
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -5732,7 +5949,8 @@ export declare const CouponResponseSchema: z.ZodObject<{
5732
5949
  _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>]>>;
5733
5950
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
5734
5951
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
5735
- shop: 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>]>>;
5952
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
5953
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>>>;
5736
5954
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5737
5955
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5738
5956
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -5785,6 +6003,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
5785
6003
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "atleastone">>;
5786
6004
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
5787
6005
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
6006
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
5788
6007
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
5789
6008
  value: z.ZodOptional<z.ZodNumber>;
5790
6009
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5835,6 +6054,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
5835
6054
  influencer: 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>]>>;
5836
6055
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
5837
6056
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
6057
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
5838
6058
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
5839
6059
  value: z.ZodOptional<z.ZodNumber>;
5840
6060
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;