@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
@@ -120,6 +120,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
120
120
  isExpired?: boolean | undefined;
121
121
  itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
122
122
  shops?: (string | mongoose.Types.ObjectId)[] | undefined;
123
+ vendors?: (string | mongoose.Types.ObjectId)[] | undefined;
123
124
  isShopCoverExpenses?: boolean | undefined;
124
125
  firstOrderOnly?: boolean | undefined;
125
126
  } | {
@@ -130,7 +131,6 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
130
131
  start: string | Date;
131
132
  end?: string | Date | undefined;
132
133
  };
133
- shop: string | mongoose.Types.ObjectId;
134
134
  couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
135
135
  status?: import("@lyxa.ai/core/dist/utilities/enum").Status | undefined;
136
136
  secondaryCurrencyValue?: number | undefined;
@@ -153,6 +153,8 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
153
153
  isOrderLimitPerUserEnabled?: boolean | undefined;
154
154
  createdBy?: string | mongoose.Types.ObjectId | undefined;
155
155
  isExpired?: boolean | undefined;
156
+ shop?: string | mongoose.Types.ObjectId | undefined;
157
+ vendor?: string | mongoose.Types.ObjectId | undefined;
156
158
  isShopCoverExpenses?: boolean | undefined;
157
159
  firstOrderOnly?: boolean | undefined;
158
160
  } | {
@@ -188,6 +190,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
188
190
  isExpired?: boolean | undefined;
189
191
  itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
190
192
  shops?: (string | mongoose.Types.ObjectId)[] | undefined;
193
+ vendors?: (string | mongoose.Types.ObjectId)[] | undefined;
191
194
  } | {
192
195
  code: string;
193
196
  value: number;
@@ -221,6 +224,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
221
224
  isExpired?: boolean | undefined;
222
225
  itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
223
226
  shops?: (string | mongoose.Types.ObjectId)[] | undefined;
227
+ vendors?: (string | mongoose.Types.ObjectId)[] | undefined;
224
228
  };
225
229
  output: {
226
230
  message: string;
@@ -335,6 +339,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
335
339
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
336
340
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
337
341
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
342
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
338
343
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
339
344
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
340
345
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -384,7 +389,8 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
384
389
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
385
390
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
386
391
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
387
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
392
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
393
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
388
394
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
389
395
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
390
396
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -437,6 +443,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
437
443
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "atleastone">>;
438
444
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
439
445
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
446
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
440
447
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
441
448
  value: z.ZodOptional<z.ZodNumber>;
442
449
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -487,6 +494,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
487
494
  influencer: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
488
495
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
489
496
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
497
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
490
498
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
491
499
  value: z.ZodOptional<z.ZodNumber>;
492
500
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -643,6 +651,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
643
651
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
644
652
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
645
653
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
654
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
646
655
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
647
656
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
648
657
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -692,7 +701,8 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
692
701
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
693
702
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
694
703
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
695
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
704
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
705
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
696
706
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
697
707
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
698
708
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -745,6 +755,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
745
755
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "atleastone">>;
746
756
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
747
757
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
758
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
748
759
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
749
760
  value: z.ZodOptional<z.ZodNumber>;
750
761
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -795,6 +806,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
795
806
  influencer: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
796
807
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
797
808
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
809
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
798
810
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
799
811
  value: z.ZodOptional<z.ZodNumber>;
800
812
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -966,6 +978,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
966
978
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
967
979
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
968
980
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
981
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
969
982
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
970
983
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
971
984
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -1015,7 +1028,8 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
1015
1028
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
1016
1029
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1017
1030
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
1018
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
1031
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
1032
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
1019
1033
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1020
1034
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1021
1035
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -1068,6 +1082,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
1068
1082
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "atleastone">>;
1069
1083
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
1070
1084
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
1085
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
1071
1086
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1072
1087
  value: z.ZodOptional<z.ZodNumber>;
1073
1088
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -1118,6 +1133,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
1118
1133
  influencer: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
1119
1134
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
1120
1135
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
1136
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
1121
1137
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1122
1138
  value: z.ZodOptional<z.ZodNumber>;
1123
1139
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -1274,6 +1290,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
1274
1290
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
1275
1291
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
1276
1292
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
1293
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
1277
1294
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1278
1295
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1279
1296
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -1323,7 +1340,8 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
1323
1340
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
1324
1341
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1325
1342
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
1326
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
1343
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
1344
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
1327
1345
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1328
1346
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1329
1347
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -1376,6 +1394,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
1376
1394
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "atleastone">>;
1377
1395
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
1378
1396
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
1397
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
1379
1398
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1380
1399
  value: z.ZodOptional<z.ZodNumber>;
1381
1400
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -1426,6 +1445,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
1426
1445
  influencer: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
1427
1446
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
1428
1447
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
1448
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
1429
1449
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1430
1450
  value: z.ZodOptional<z.ZodNumber>;
1431
1451
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -1608,6 +1628,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
1608
1628
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
1609
1629
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
1610
1630
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
1631
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
1611
1632
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1612
1633
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1613
1634
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -1657,7 +1678,8 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
1657
1678
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
1658
1679
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1659
1680
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
1660
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
1681
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
1682
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
1661
1683
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1662
1684
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1663
1685
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -1710,6 +1732,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
1710
1732
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "atleastone">>;
1711
1733
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
1712
1734
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
1735
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
1713
1736
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1714
1737
  value: z.ZodOptional<z.ZodNumber>;
1715
1738
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -1760,6 +1783,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
1760
1783
  influencer: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
1761
1784
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
1762
1785
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
1786
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
1763
1787
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
1764
1788
  value: z.ZodOptional<z.ZodNumber>;
1765
1789
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -1916,6 +1940,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
1916
1940
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
1917
1941
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
1918
1942
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
1943
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
1919
1944
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1920
1945
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1921
1946
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -1965,7 +1990,8 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
1965
1990
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
1966
1991
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
1967
1992
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
1968
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
1993
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
1994
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
1969
1995
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1970
1996
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1971
1997
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -2018,6 +2044,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
2018
2044
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "atleastone">>;
2019
2045
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
2020
2046
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
2047
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
2021
2048
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
2022
2049
  value: z.ZodOptional<z.ZodNumber>;
2023
2050
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -2068,6 +2095,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
2068
2095
  influencer: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
2069
2096
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
2070
2097
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
2098
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
2071
2099
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
2072
2100
  value: z.ZodOptional<z.ZodNumber>;
2073
2101
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -2239,6 +2267,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
2239
2267
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
2240
2268
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
2241
2269
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
2270
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
2242
2271
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2243
2272
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2244
2273
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -2288,7 +2317,8 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
2288
2317
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
2289
2318
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
2290
2319
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
2291
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
2320
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
2321
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
2292
2322
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2293
2323
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2294
2324
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -2341,6 +2371,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
2341
2371
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "atleastone">>;
2342
2372
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
2343
2373
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
2374
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
2344
2375
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
2345
2376
  value: z.ZodOptional<z.ZodNumber>;
2346
2377
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -2391,6 +2422,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
2391
2422
  influencer: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
2392
2423
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
2393
2424
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
2425
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
2394
2426
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
2395
2427
  value: z.ZodOptional<z.ZodNumber>;
2396
2428
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -2547,6 +2579,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
2547
2579
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
2548
2580
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
2549
2581
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
2582
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
2550
2583
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2551
2584
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2552
2585
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -2596,7 +2629,8 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
2596
2629
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
2597
2630
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
2598
2631
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
2599
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
2632
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
2633
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
2600
2634
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2601
2635
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2602
2636
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -2649,6 +2683,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
2649
2683
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "atleastone">>;
2650
2684
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
2651
2685
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
2686
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
2652
2687
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
2653
2688
  value: z.ZodOptional<z.ZodNumber>;
2654
2689
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -2699,6 +2734,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
2699
2734
  influencer: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
2700
2735
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
2701
2736
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
2737
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
2702
2738
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
2703
2739
  value: z.ZodOptional<z.ZodNumber>;
2704
2740
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -2861,6 +2897,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
2861
2897
  isExpired?: boolean | undefined;
2862
2898
  itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
2863
2899
  shops?: (string | mongoose.Types.ObjectId)[] | undefined;
2900
+ vendors?: (string | mongoose.Types.ObjectId)[] | undefined;
2864
2901
  isShopCoverExpenses?: boolean | undefined;
2865
2902
  firstOrderOnly?: boolean | undefined;
2866
2903
  } | {
@@ -2871,7 +2908,6 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
2871
2908
  start: string | Date;
2872
2909
  end?: string | Date | undefined;
2873
2910
  };
2874
- shop: string | mongoose.Types.ObjectId;
2875
2911
  couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
2876
2912
  status?: import("@lyxa.ai/core/dist/utilities/enum").Status | undefined;
2877
2913
  secondaryCurrencyValue?: number | undefined;
@@ -2894,6 +2930,8 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
2894
2930
  isOrderLimitPerUserEnabled?: boolean | undefined;
2895
2931
  createdBy?: string | mongoose.Types.ObjectId | undefined;
2896
2932
  isExpired?: boolean | undefined;
2933
+ shop?: string | mongoose.Types.ObjectId | undefined;
2934
+ vendor?: string | mongoose.Types.ObjectId | undefined;
2897
2935
  isShopCoverExpenses?: boolean | undefined;
2898
2936
  firstOrderOnly?: boolean | undefined;
2899
2937
  } | {
@@ -2929,6 +2967,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
2929
2967
  isExpired?: boolean | undefined;
2930
2968
  itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
2931
2969
  shops?: (string | mongoose.Types.ObjectId)[] | undefined;
2970
+ vendors?: (string | mongoose.Types.ObjectId)[] | undefined;
2932
2971
  } | {
2933
2972
  code: string;
2934
2973
  value: number;
@@ -2962,6 +3001,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
2962
3001
  isExpired?: boolean | undefined;
2963
3002
  itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
2964
3003
  shops?: (string | mongoose.Types.ObjectId)[] | undefined;
3004
+ vendors?: (string | mongoose.Types.ObjectId)[] | undefined;
2965
3005
  };
2966
3006
  };
2967
3007
  output: {
@@ -3077,6 +3117,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
3077
3117
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
3078
3118
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
3079
3119
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
3120
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
3080
3121
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3081
3122
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3082
3123
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -3126,7 +3167,8 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
3126
3167
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
3127
3168
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
3128
3169
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
3129
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
3170
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
3171
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
3130
3172
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3131
3173
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3132
3174
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -3179,6 +3221,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
3179
3221
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "atleastone">>;
3180
3222
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
3181
3223
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
3224
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
3182
3225
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
3183
3226
  value: z.ZodOptional<z.ZodNumber>;
3184
3227
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -3229,6 +3272,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
3229
3272
  influencer: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
3230
3273
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
3231
3274
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
3275
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
3232
3276
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
3233
3277
  value: z.ZodOptional<z.ZodNumber>;
3234
3278
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -3385,6 +3429,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
3385
3429
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
3386
3430
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
3387
3431
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
3432
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
3388
3433
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3389
3434
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3390
3435
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -3434,7 +3479,8 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
3434
3479
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
3435
3480
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
3436
3481
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
3437
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
3482
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
3483
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
3438
3484
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3439
3485
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3440
3486
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -3487,6 +3533,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
3487
3533
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "atleastone">>;
3488
3534
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
3489
3535
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
3536
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
3490
3537
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
3491
3538
  value: z.ZodOptional<z.ZodNumber>;
3492
3539
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -3537,6 +3584,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
3537
3584
  influencer: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
3538
3585
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
3539
3586
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
3587
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
3540
3588
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
3541
3589
  value: z.ZodOptional<z.ZodNumber>;
3542
3590
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -3711,6 +3759,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
3711
3759
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
3712
3760
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
3713
3761
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
3762
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
3714
3763
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3715
3764
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3716
3765
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -3760,7 +3809,8 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
3760
3809
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
3761
3810
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
3762
3811
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
3763
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
3812
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
3813
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
3764
3814
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3765
3815
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
3766
3816
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -3813,6 +3863,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
3813
3863
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "atleastone">>;
3814
3864
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
3815
3865
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
3866
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
3816
3867
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
3817
3868
  value: z.ZodOptional<z.ZodNumber>;
3818
3869
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -3863,6 +3914,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
3863
3914
  influencer: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
3864
3915
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
3865
3916
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
3917
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
3866
3918
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
3867
3919
  value: z.ZodOptional<z.ZodNumber>;
3868
3920
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -4019,6 +4071,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
4019
4071
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
4020
4072
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
4021
4073
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
4074
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
4022
4075
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4023
4076
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4024
4077
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -4068,7 +4121,8 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
4068
4121
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
4069
4122
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
4070
4123
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
4071
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
4124
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
4125
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
4072
4126
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4073
4127
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4074
4128
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -4121,6 +4175,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
4121
4175
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "atleastone">>;
4122
4176
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
4123
4177
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
4178
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
4124
4179
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
4125
4180
  value: z.ZodOptional<z.ZodNumber>;
4126
4181
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -4171,6 +4226,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
4171
4226
  influencer: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
4172
4227
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
4173
4228
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
4229
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
4174
4230
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
4175
4231
  value: z.ZodOptional<z.ZodNumber>;
4176
4232
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -4345,6 +4401,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
4345
4401
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
4346
4402
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
4347
4403
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
4404
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
4348
4405
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4349
4406
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4350
4407
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -4394,7 +4451,8 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
4394
4451
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
4395
4452
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
4396
4453
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
4397
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
4454
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
4455
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
4398
4456
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4399
4457
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4400
4458
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -4447,6 +4505,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
4447
4505
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "atleastone">>;
4448
4506
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
4449
4507
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
4508
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
4450
4509
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
4451
4510
  value: z.ZodOptional<z.ZodNumber>;
4452
4511
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -4497,6 +4556,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
4497
4556
  influencer: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
4498
4557
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
4499
4558
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
4559
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
4500
4560
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
4501
4561
  value: z.ZodOptional<z.ZodNumber>;
4502
4562
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -4653,6 +4713,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
4653
4713
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
4654
4714
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
4655
4715
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
4716
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
4656
4717
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4657
4718
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4658
4719
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -4702,7 +4763,8 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
4702
4763
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
4703
4764
  }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
4704
4765
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
4705
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
4766
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
4767
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
4706
4768
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4707
4769
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4708
4770
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -4755,6 +4817,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
4755
4817
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "atleastone">>;
4756
4818
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
4757
4819
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
4820
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
4758
4821
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
4759
4822
  value: z.ZodOptional<z.ZodNumber>;
4760
4823
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -4805,6 +4868,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
4805
4868
  influencer: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
4806
4869
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
4807
4870
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
4871
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
4808
4872
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
4809
4873
  value: z.ZodOptional<z.ZodNumber>;
4810
4874
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -4865,6 +4929,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
4865
4929
  input: {
4866
4930
  user?: string | mongoose.Types.ObjectId | undefined;
4867
4931
  shop?: string | mongoose.Types.ObjectId | undefined;
4932
+ vendor?: string | mongoose.Types.ObjectId | undefined;
4868
4933
  page?: number | undefined;
4869
4934
  size?: number | undefined;
4870
4935
  };
@@ -4998,6 +5063,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
4998
5063
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.SHOPS_CATEGORIES>>;
4999
5064
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
5000
5065
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
5066
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
5001
5067
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5002
5068
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5003
5069
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -5047,7 +5113,8 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
5047
5113
  _id: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
5048
5114
  }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{
5049
5115
  couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
5050
- shop: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
5116
+ shop: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
5117
+ vendor: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>>;
5051
5118
  isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5052
5119
  firstOrderOnly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
5053
5120
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
@@ -5100,6 +5167,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
5100
5167
  users: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "atleastone">>;
5101
5168
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
5102
5169
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
5170
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
5103
5171
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
5104
5172
  value: z.ZodOptional<z.ZodNumber>;
5105
5173
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5150,6 +5218,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
5150
5218
  influencer: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>>;
5151
5219
  itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
5152
5220
  shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
5221
+ vendors: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, mongoose.Types.ObjectId, string>, z.ZodType<mongoose.Types.ObjectId, z.ZodTypeDef, mongoose.Types.ObjectId>]>, "many">>>;
5153
5222
  valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
5154
5223
  value: z.ZodOptional<z.ZodNumber>;
5155
5224
  secondaryCurrencyValue: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -5201,9 +5270,10 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
5201
5270
  validateCoupon: import("@trpc/server").TRPCQueryProcedure<{
5202
5271
  input: {
5203
5272
  user: string | mongoose.Types.ObjectId;
5204
- shop: string | mongoose.Types.ObjectId;
5205
5273
  amountBeforeCoupon: number;
5206
5274
  secondaryAmountBeforeCoupon: number;
5275
+ shop?: string | mongoose.Types.ObjectId | undefined;
5276
+ vendor?: string | mongoose.Types.ObjectId | undefined;
5207
5277
  coupon?: string | undefined;
5208
5278
  scheduledAt?: string | Date | undefined;
5209
5279
  };
@@ -5222,6 +5292,8 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
5222
5292
  secondaryCompanyCut?: number | undefined;
5223
5293
  shopCut?: number | undefined;
5224
5294
  secondaryShopCut?: number | undefined;
5295
+ vendorCut?: number | undefined;
5296
+ secondaryVendorCut?: number | undefined;
5225
5297
  } | undefined;
5226
5298
  couponDetails?: Record<string, unknown> | undefined;
5227
5299
  } | {
@@ -5237,6 +5309,8 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
5237
5309
  secondaryCompanyCut?: number | undefined;
5238
5310
  shopCut?: number | undefined;
5239
5311
  secondaryShopCut?: number | undefined;
5312
+ vendorCut?: number | undefined;
5313
+ secondaryVendorCut?: number | undefined;
5240
5314
  } | undefined;
5241
5315
  couponDetails?: Record<string, unknown> | undefined;
5242
5316
  }[];
@@ -5253,9 +5327,10 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
5253
5327
  validateCouponMutation: import("@trpc/server").TRPCMutationProcedure<{
5254
5328
  input: {
5255
5329
  user: string | mongoose.Types.ObjectId;
5256
- shop: string | mongoose.Types.ObjectId;
5257
5330
  amountBeforeCoupon: number;
5258
5331
  secondaryAmountBeforeCoupon: number;
5332
+ shop?: string | mongoose.Types.ObjectId | undefined;
5333
+ vendor?: string | mongoose.Types.ObjectId | undefined;
5259
5334
  coupon?: string | undefined;
5260
5335
  scheduledAt?: string | Date | undefined;
5261
5336
  };
@@ -5274,6 +5349,8 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
5274
5349
  secondaryCompanyCut?: number | undefined;
5275
5350
  shopCut?: number | undefined;
5276
5351
  secondaryShopCut?: number | undefined;
5352
+ vendorCut?: number | undefined;
5353
+ secondaryVendorCut?: number | undefined;
5277
5354
  } | undefined;
5278
5355
  couponDetails?: Record<string, unknown> | undefined;
5279
5356
  } | {
@@ -5289,6 +5366,8 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
5289
5366
  secondaryCompanyCut?: number | undefined;
5290
5367
  shopCut?: number | undefined;
5291
5368
  secondaryShopCut?: number | undefined;
5369
+ vendorCut?: number | undefined;
5370
+ secondaryVendorCut?: number | undefined;
5292
5371
  } | undefined;
5293
5372
  couponDetails?: Record<string, unknown> | undefined;
5294
5373
  }[];
@@ -5306,6 +5385,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
5306
5385
  input: {
5307
5386
  user?: string | mongoose.Types.ObjectId | undefined;
5308
5387
  shop?: string | mongoose.Types.ObjectId | undefined;
5388
+ vendor?: string | mongoose.Types.ObjectId | undefined;
5309
5389
  page?: number | undefined;
5310
5390
  size?: number | undefined;
5311
5391
  };
@@ -5448,10 +5528,10 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
5448
5528
  redemptionRate?: number | undefined;
5449
5529
  totalCouponOrders?: number | undefined;
5450
5530
  totalRevenue?: number | undefined;
5451
- totalProfit?: number | undefined;
5452
5531
  averageOrderValue?: number | undefined;
5453
5532
  usage?: number | undefined;
5454
5533
  ongoing?: number | undefined;
5534
+ amountSpent?: number | undefined;
5455
5535
  }[] | {
5456
5536
  documents: {
5457
5537
  couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType;
@@ -5459,10 +5539,10 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
5459
5539
  redemptionRate?: number | undefined;
5460
5540
  totalCouponOrders?: number | undefined;
5461
5541
  totalRevenue?: number | undefined;
5462
- totalProfit?: number | undefined;
5463
5542
  averageOrderValue?: number | undefined;
5464
5543
  usage?: number | undefined;
5465
5544
  ongoing?: number | undefined;
5545
+ amountSpent?: number | undefined;
5466
5546
  }[][];
5467
5547
  metadata?: {
5468
5548
  page: number;
@@ -5482,9 +5562,29 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
5482
5562
  itemType?: import("@lyxa.ai/core/dist/utilities/enum").ItemType | undefined;
5483
5563
  };
5484
5564
  output: {
5485
- success: boolean;
5486
5565
  message: string;
5487
- data: any[] | undefined;
5566
+ success: boolean;
5567
+ data?: {
5568
+ categories: string[];
5569
+ series: {
5570
+ name: string;
5571
+ data: number[];
5572
+ }[];
5573
+ } | {
5574
+ documents: {
5575
+ categories: string[];
5576
+ series: {
5577
+ name: string;
5578
+ data: number[];
5579
+ }[];
5580
+ }[];
5581
+ metadata?: {
5582
+ page: number;
5583
+ size: number;
5584
+ totalElements: number;
5585
+ totalPages: number;
5586
+ } | undefined;
5587
+ } | undefined;
5488
5588
  };
5489
5589
  meta: object;
5490
5590
  }>;
@@ -5496,9 +5596,29 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
5496
5596
  itemType?: import("@lyxa.ai/core/dist/utilities/enum").ItemType | undefined;
5497
5597
  };
5498
5598
  output: {
5499
- success: boolean;
5500
5599
  message: string;
5501
- data: any[] | undefined;
5600
+ success: boolean;
5601
+ data?: {
5602
+ categories: string[];
5603
+ series: {
5604
+ name: string;
5605
+ data: number[];
5606
+ }[];
5607
+ } | {
5608
+ documents: {
5609
+ categories: string[];
5610
+ series: {
5611
+ name: string;
5612
+ data: number[];
5613
+ }[];
5614
+ }[];
5615
+ metadata?: {
5616
+ page: number;
5617
+ size: number;
5618
+ totalElements: number;
5619
+ totalPages: number;
5620
+ } | undefined;
5621
+ } | undefined;
5502
5622
  };
5503
5623
  meta: object;
5504
5624
  }>;
@@ -5510,9 +5630,31 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
5510
5630
  itemType?: import("@lyxa.ai/core/dist/utilities/enum").ItemType | undefined;
5511
5631
  };
5512
5632
  output: {
5513
- success: boolean;
5514
5633
  message: string;
5515
- data: any[] | undefined;
5634
+ success: boolean;
5635
+ data?: {
5636
+ categories: string[];
5637
+ series: {
5638
+ name: string;
5639
+ data: number[];
5640
+ }[];
5641
+ totalProfit?: number | undefined;
5642
+ } | {
5643
+ documents: {
5644
+ categories: string[];
5645
+ series: {
5646
+ name: string;
5647
+ data: number[];
5648
+ }[];
5649
+ totalProfit?: number | undefined;
5650
+ }[];
5651
+ metadata?: {
5652
+ page: number;
5653
+ size: number;
5654
+ totalElements: number;
5655
+ totalPages: number;
5656
+ } | undefined;
5657
+ } | undefined;
5516
5658
  };
5517
5659
  meta: object;
5518
5660
  }>;