@lyxa.ai/marketing 1.0.14 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/events/event-initializations.d.ts +2 -0
- package/dist/lib/events/event-initializations.d.ts.map +1 -0
- package/dist/lib/events/event-initializations.js +5 -0
- package/dist/lib/events/event-initializations.js.map +1 -0
- package/dist/lib/index.d.ts +4046 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/lib/index.js.map +1 -0
- package/dist/lib/modules/coupon/routers/coupon.router.d.ts +2673 -0
- package/dist/lib/modules/coupon/routers/coupon.router.d.ts.map +1 -0
- package/dist/lib/modules/coupon/routers/coupon.router.js +100 -0
- package/dist/lib/modules/coupon/routers/coupon.router.js.map +1 -0
- package/dist/lib/modules/coupon/routers/index.d.ts +2 -0
- package/dist/lib/modules/coupon/routers/index.d.ts.map +1 -0
- package/dist/lib/modules/coupon/routers/index.js +18 -0
- package/dist/lib/modules/coupon/routers/index.js.map +1 -0
- package/dist/lib/modules/coupon/services/coupon.service.d.ts +42 -0
- package/dist/lib/modules/coupon/services/coupon.service.d.ts.map +1 -0
- package/dist/lib/modules/coupon/services/coupon.service.js +551 -0
- package/dist/lib/modules/coupon/services/coupon.service.js.map +1 -0
- package/dist/lib/modules/coupon/services/custom-coupon.service.d.ts +12 -0
- package/dist/lib/modules/coupon/services/custom-coupon.service.d.ts.map +1 -0
- package/dist/lib/modules/coupon/services/custom-coupon.service.js +103 -0
- package/dist/lib/modules/coupon/services/custom-coupon.service.js.map +1 -0
- package/dist/lib/modules/coupon/services/global-coupon.service.d.ts +12 -0
- package/dist/lib/modules/coupon/services/global-coupon.service.d.ts.map +1 -0
- package/dist/lib/modules/coupon/services/global-coupon.service.js +120 -0
- package/dist/lib/modules/coupon/services/global-coupon.service.js.map +1 -0
- package/dist/lib/modules/coupon/services/index.d.ts +8 -0
- package/dist/lib/modules/coupon/services/index.d.ts.map +1 -0
- package/dist/lib/modules/coupon/services/index.js +24 -0
- package/dist/lib/modules/coupon/services/index.js.map +1 -0
- package/dist/lib/modules/coupon/services/individual-store-coupon.service.d.ts +13 -0
- package/dist/lib/modules/coupon/services/individual-store-coupon.service.d.ts.map +1 -0
- package/dist/lib/modules/coupon/services/individual-store-coupon.service.js +120 -0
- package/dist/lib/modules/coupon/services/individual-store-coupon.service.js.map +1 -0
- package/dist/lib/modules/coupon/services/individual-user-coupon.service.d.ts +12 -0
- package/dist/lib/modules/coupon/services/individual-user-coupon.service.d.ts.map +1 -0
- package/dist/lib/modules/coupon/services/individual-user-coupon.service.js +111 -0
- package/dist/lib/modules/coupon/services/individual-user-coupon.service.js.map +1 -0
- package/dist/lib/modules/coupon/services/patterns/repository/CouponRepository.d.ts +12 -0
- package/dist/lib/modules/coupon/services/patterns/repository/CouponRepository.d.ts.map +1 -0
- package/dist/lib/modules/coupon/services/patterns/repository/CouponRepository.js +313 -0
- package/dist/lib/modules/coupon/services/patterns/repository/CouponRepository.js.map +1 -0
- package/dist/lib/modules/coupon/services/referral-code-coupon.service.d.ts +19 -0
- package/dist/lib/modules/coupon/services/referral-code-coupon.service.d.ts.map +1 -0
- package/dist/lib/modules/coupon/services/referral-code-coupon.service.js +179 -0
- package/dist/lib/modules/coupon/services/referral-code-coupon.service.js.map +1 -0
- package/dist/lib/modules/coupon/services/referral-reward-coupon.service.d.ts +19 -0
- package/dist/lib/modules/coupon/services/referral-reward-coupon.service.d.ts.map +1 -0
- package/dist/lib/modules/coupon/services/referral-reward-coupon.service.js +186 -0
- package/dist/lib/modules/coupon/services/referral-reward-coupon.service.js.map +1 -0
- package/dist/lib/modules/coupon/transformers/coupon.transformer.d.ts +221 -0
- package/dist/lib/modules/coupon/transformers/coupon.transformer.d.ts.map +1 -0
- package/dist/lib/modules/coupon/transformers/coupon.transformer.js +7 -0
- package/dist/lib/modules/coupon/transformers/coupon.transformer.js.map +1 -0
- package/dist/lib/modules/coupon/transformers/index.d.ts +2 -0
- package/dist/lib/modules/coupon/transformers/index.d.ts.map +1 -0
- package/dist/lib/modules/coupon/transformers/index.js +18 -0
- package/dist/lib/modules/coupon/transformers/index.js.map +1 -0
- package/dist/lib/modules/coupon/validations/all-coupons.validation.d.ts +4130 -0
- package/dist/lib/modules/coupon/validations/all-coupons.validation.d.ts.map +1 -0
- package/dist/lib/modules/coupon/validations/all-coupons.validation.js +28 -0
- package/dist/lib/modules/coupon/validations/all-coupons.validation.js.map +1 -0
- package/dist/lib/modules/coupon/validations/coupon.validation.d.ts +1245 -0
- package/dist/lib/modules/coupon/validations/coupon.validation.d.ts.map +1 -0
- package/dist/lib/modules/coupon/validations/coupon.validation.js +103 -0
- package/dist/lib/modules/coupon/validations/coupon.validation.js.map +1 -0
- package/dist/lib/modules/coupon/validations/custom-coupon.validation.d.ts +367 -0
- package/dist/lib/modules/coupon/validations/custom-coupon.validation.d.ts.map +1 -0
- package/dist/lib/modules/coupon/validations/custom-coupon.validation.js +21 -0
- package/dist/lib/modules/coupon/validations/custom-coupon.validation.js.map +1 -0
- package/dist/lib/modules/coupon/validations/global-coupon.validation.d.ts +340 -0
- package/dist/lib/modules/coupon/validations/global-coupon.validation.d.ts.map +1 -0
- package/dist/lib/modules/coupon/validations/global-coupon.validation.js +18 -0
- package/dist/lib/modules/coupon/validations/global-coupon.validation.js.map +1 -0
- package/dist/lib/modules/coupon/validations/index.d.ts +9 -0
- package/dist/lib/modules/coupon/validations/index.d.ts.map +1 -0
- package/dist/lib/modules/coupon/validations/index.js +25 -0
- package/dist/lib/modules/coupon/validations/index.js.map +1 -0
- package/dist/lib/modules/coupon/validations/individual-store-coupon.validation.d.ts +367 -0
- package/dist/lib/modules/coupon/validations/individual-store-coupon.validation.d.ts.map +1 -0
- package/dist/lib/modules/coupon/validations/individual-store-coupon.validation.js +21 -0
- package/dist/lib/modules/coupon/validations/individual-store-coupon.validation.js.map +1 -0
- package/dist/lib/modules/coupon/validations/individual-user-coupon.validation.d.ts +367 -0
- package/dist/lib/modules/coupon/validations/individual-user-coupon.validation.d.ts.map +1 -0
- package/dist/lib/modules/coupon/validations/individual-user-coupon.validation.js +21 -0
- package/dist/lib/modules/coupon/validations/individual-user-coupon.validation.js.map +1 -0
- package/dist/lib/modules/coupon/validations/referral-code-coupon.validation.d.ts +77 -0
- package/dist/lib/modules/coupon/validations/referral-code-coupon.validation.d.ts.map +1 -0
- package/dist/lib/modules/coupon/validations/referral-code-coupon.validation.js +24 -0
- package/dist/lib/modules/coupon/validations/referral-code-coupon.validation.js.map +1 -0
- package/dist/lib/modules/coupon/validations/referral-reward-coupon.validation.d.ts +367 -0
- package/dist/lib/modules/coupon/validations/referral-reward-coupon.validation.d.ts.map +1 -0
- package/dist/lib/modules/coupon/validations/referral-reward-coupon.validation.js +21 -0
- package/dist/lib/modules/coupon/validations/referral-reward-coupon.validation.js.map +1 -0
- package/dist/lib/modules/deal-setting/routers/deal-setting.router.d.ts +214 -0
- package/dist/lib/modules/deal-setting/routers/deal-setting.router.d.ts.map +1 -0
- package/dist/lib/modules/deal-setting/routers/deal-setting.router.js +52 -0
- package/dist/lib/modules/deal-setting/routers/deal-setting.router.js.map +1 -0
- package/dist/lib/modules/deal-setting/routers/index.d.ts +2 -0
- package/dist/lib/modules/deal-setting/routers/index.d.ts.map +1 -0
- package/dist/lib/modules/deal-setting/routers/index.js +18 -0
- package/dist/lib/modules/deal-setting/routers/index.js.map +1 -0
- package/dist/lib/modules/deal-setting/services/deal-setting.service.d.ts +17 -0
- package/dist/lib/modules/deal-setting/services/deal-setting.service.d.ts.map +1 -0
- package/dist/lib/modules/deal-setting/services/deal-setting.service.js +181 -0
- package/dist/lib/modules/deal-setting/services/deal-setting.service.js.map +1 -0
- package/dist/lib/modules/deal-setting/services/index.d.ts +2 -0
- package/dist/lib/modules/deal-setting/services/index.d.ts.map +1 -0
- package/dist/lib/modules/deal-setting/services/index.js +18 -0
- package/dist/lib/modules/deal-setting/services/index.js.map +1 -0
- package/dist/lib/modules/deal-setting/transformers/deal-setting.transformer.d.ts +11 -0
- package/dist/lib/modules/deal-setting/transformers/deal-setting.transformer.d.ts.map +1 -0
- package/dist/lib/modules/deal-setting/transformers/deal-setting.transformer.js +7 -0
- package/dist/lib/modules/deal-setting/transformers/deal-setting.transformer.js.map +1 -0
- package/dist/lib/modules/deal-setting/transformers/index.d.ts +2 -0
- package/dist/lib/modules/deal-setting/transformers/index.d.ts.map +1 -0
- package/dist/lib/modules/deal-setting/transformers/index.js +18 -0
- package/dist/lib/modules/deal-setting/transformers/index.js.map +1 -0
- package/dist/lib/modules/deal-setting/validations/deal-setting.validation.d.ts +227 -0
- package/dist/lib/modules/deal-setting/validations/deal-setting.validation.d.ts.map +1 -0
- package/dist/lib/modules/deal-setting/validations/deal-setting.validation.js +22 -0
- package/dist/lib/modules/deal-setting/validations/deal-setting.validation.js.map +1 -0
- package/dist/lib/modules/deal-setting/validations/index.d.ts +2 -0
- package/dist/lib/modules/deal-setting/validations/index.d.ts.map +1 -0
- package/dist/lib/modules/deal-setting/validations/index.js +18 -0
- package/dist/lib/modules/deal-setting/validations/index.js.map +1 -0
- package/dist/lib/modules/featured-setting/routers/featured-setting.router.d.ts +302 -0
- package/dist/lib/modules/featured-setting/routers/featured-setting.router.d.ts.map +1 -0
- package/dist/lib/modules/featured-setting/routers/featured-setting.router.js +52 -0
- package/dist/lib/modules/featured-setting/routers/featured-setting.router.js.map +1 -0
- package/dist/lib/modules/featured-setting/routers/index.d.ts +2 -0
- package/dist/lib/modules/featured-setting/routers/index.d.ts.map +1 -0
- package/dist/lib/modules/featured-setting/routers/index.js +18 -0
- package/dist/lib/modules/featured-setting/routers/index.js.map +1 -0
- package/dist/lib/modules/featured-setting/services/featured-setting.service.d.ts +17 -0
- package/dist/lib/modules/featured-setting/services/featured-setting.service.d.ts.map +1 -0
- package/dist/lib/modules/featured-setting/services/featured-setting.service.js +181 -0
- package/dist/lib/modules/featured-setting/services/featured-setting.service.js.map +1 -0
- package/dist/lib/modules/featured-setting/services/index.d.ts +2 -0
- package/dist/lib/modules/featured-setting/services/index.d.ts.map +1 -0
- package/dist/lib/modules/featured-setting/services/index.js +18 -0
- package/dist/lib/modules/featured-setting/services/index.js.map +1 -0
- package/dist/lib/modules/featured-setting/transformers/featured-setting.transformer.d.ts +19 -0
- package/dist/lib/modules/featured-setting/transformers/featured-setting.transformer.d.ts.map +1 -0
- package/dist/lib/modules/featured-setting/transformers/featured-setting.transformer.js +7 -0
- package/dist/lib/modules/featured-setting/transformers/featured-setting.transformer.js.map +1 -0
- package/dist/lib/modules/featured-setting/transformers/index.d.ts +2 -0
- package/dist/lib/modules/featured-setting/transformers/index.d.ts.map +1 -0
- package/dist/lib/modules/featured-setting/transformers/index.js +18 -0
- package/dist/lib/modules/featured-setting/transformers/index.js.map +1 -0
- package/dist/lib/modules/featured-setting/validations/featured-setting.validation.d.ts +363 -0
- package/dist/lib/modules/featured-setting/validations/featured-setting.validation.d.ts.map +1 -0
- package/dist/lib/modules/featured-setting/validations/featured-setting.validation.js +24 -0
- package/dist/lib/modules/featured-setting/validations/featured-setting.validation.js.map +1 -0
- package/dist/lib/modules/featured-setting/validations/index.d.ts +2 -0
- package/dist/lib/modules/featured-setting/validations/index.d.ts.map +1 -0
- package/dist/lib/modules/featured-setting/validations/index.js +18 -0
- package/dist/lib/modules/featured-setting/validations/index.js.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/routers/index.d.ts +2 -0
- package/dist/lib/modules/loyalty-point-setting/routers/index.d.ts.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/routers/index.js +18 -0
- package/dist/lib/modules/loyalty-point-setting/routers/index.js.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/routers/loyalty-point-setting.router.d.ts +321 -0
- package/dist/lib/modules/loyalty-point-setting/routers/loyalty-point-setting.router.d.ts.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/routers/loyalty-point-setting.router.js +82 -0
- package/dist/lib/modules/loyalty-point-setting/routers/loyalty-point-setting.router.js.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/services/index.d.ts +3 -0
- package/dist/lib/modules/loyalty-point-setting/services/index.d.ts.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/services/index.js +19 -0
- package/dist/lib/modules/loyalty-point-setting/services/index.js.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/services/loyalty-point-category.service.d.ts +16 -0
- package/dist/lib/modules/loyalty-point-setting/services/loyalty-point-category.service.d.ts.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/services/loyalty-point-category.service.js +133 -0
- package/dist/lib/modules/loyalty-point-setting/services/loyalty-point-category.service.js.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/services/loyalty-point-setting.service.d.ts +16 -0
- package/dist/lib/modules/loyalty-point-setting/services/loyalty-point-setting.service.d.ts.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/services/loyalty-point-setting.service.js +156 -0
- package/dist/lib/modules/loyalty-point-setting/services/loyalty-point-setting.service.js.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/transformers/index.d.ts +3 -0
- package/dist/lib/modules/loyalty-point-setting/transformers/index.d.ts.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/transformers/index.js +19 -0
- package/dist/lib/modules/loyalty-point-setting/transformers/index.js.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/transformers/loyalty-point-category.transformer.d.ts +8 -0
- package/dist/lib/modules/loyalty-point-setting/transformers/loyalty-point-category.transformer.d.ts.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/transformers/loyalty-point-category.transformer.js +7 -0
- package/dist/lib/modules/loyalty-point-setting/transformers/loyalty-point-category.transformer.js.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/transformers/loyalty-point-setting.transformer.d.ts +9 -0
- package/dist/lib/modules/loyalty-point-setting/transformers/loyalty-point-setting.transformer.d.ts.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/transformers/loyalty-point-setting.transformer.js +7 -0
- package/dist/lib/modules/loyalty-point-setting/transformers/loyalty-point-setting.transformer.js.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/validations/index.d.ts +3 -0
- package/dist/lib/modules/loyalty-point-setting/validations/index.d.ts.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/validations/index.js +19 -0
- package/dist/lib/modules/loyalty-point-setting/validations/index.js.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/validations/loyalty-point-category.validation.d.ts +170 -0
- package/dist/lib/modules/loyalty-point-setting/validations/loyalty-point-category.validation.d.ts.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/validations/loyalty-point-category.validation.js +19 -0
- package/dist/lib/modules/loyalty-point-setting/validations/loyalty-point-category.validation.js.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/validations/loyalty-point-setting.validation.d.ts +188 -0
- package/dist/lib/modules/loyalty-point-setting/validations/loyalty-point-setting.validation.d.ts.map +1 -0
- package/dist/lib/modules/loyalty-point-setting/validations/loyalty-point-setting.validation.js +19 -0
- package/dist/lib/modules/loyalty-point-setting/validations/loyalty-point-setting.validation.js.map +1 -0
- package/dist/lib/modules/marketing/routers/index.d.ts +2 -0
- package/dist/lib/modules/marketing/routers/index.d.ts.map +1 -0
- package/dist/lib/modules/marketing/routers/index.js +18 -0
- package/dist/lib/modules/marketing/routers/index.js.map +1 -0
- package/dist/lib/modules/marketing/routers/marketing.router.d.ts +78 -0
- package/dist/lib/modules/marketing/routers/marketing.router.d.ts.map +1 -0
- package/dist/lib/modules/marketing/routers/marketing.router.js +53 -0
- package/dist/lib/modules/marketing/routers/marketing.router.js.map +1 -0
- package/dist/lib/modules/marketing/services/buy1-get1-marketing.service.d.ts +13 -0
- package/dist/lib/modules/marketing/services/buy1-get1-marketing.service.d.ts.map +1 -0
- package/dist/lib/modules/marketing/services/buy1-get1-marketing.service.js +165 -0
- package/dist/lib/modules/marketing/services/buy1-get1-marketing.service.js.map +1 -0
- package/dist/lib/modules/marketing/services/discount-marketing.service.d.ts +14 -0
- package/dist/lib/modules/marketing/services/discount-marketing.service.d.ts.map +1 -0
- package/dist/lib/modules/marketing/services/discount-marketing.service.js +227 -0
- package/dist/lib/modules/marketing/services/discount-marketing.service.js.map +1 -0
- package/dist/lib/modules/marketing/services/featured-marketing.service.d.ts +11 -0
- package/dist/lib/modules/marketing/services/featured-marketing.service.d.ts.map +1 -0
- package/dist/lib/modules/marketing/services/featured-marketing.service.js +80 -0
- package/dist/lib/modules/marketing/services/featured-marketing.service.js.map +1 -0
- package/dist/lib/modules/marketing/services/free-delivery-marketing.service.d.ts +12 -0
- package/dist/lib/modules/marketing/services/free-delivery-marketing.service.d.ts.map +1 -0
- package/dist/lib/modules/marketing/services/free-delivery-marketing.service.js +95 -0
- package/dist/lib/modules/marketing/services/free-delivery-marketing.service.js.map +1 -0
- package/dist/lib/modules/marketing/services/index.d.ts +8 -0
- package/dist/lib/modules/marketing/services/index.d.ts.map +1 -0
- package/dist/lib/modules/marketing/services/index.js +24 -0
- package/dist/lib/modules/marketing/services/index.js.map +1 -0
- package/dist/lib/modules/marketing/services/loyalty-point-marketing.service.d.ts +12 -0
- package/dist/lib/modules/marketing/services/loyalty-point-marketing.service.d.ts.map +1 -0
- package/dist/lib/modules/marketing/services/loyalty-point-marketing.service.js +149 -0
- package/dist/lib/modules/marketing/services/loyalty-point-marketing.service.js.map +1 -0
- package/dist/lib/modules/marketing/services/marketing.service.d.ts +17 -0
- package/dist/lib/modules/marketing/services/marketing.service.d.ts.map +1 -0
- package/dist/lib/modules/marketing/services/marketing.service.js +275 -0
- package/dist/lib/modules/marketing/services/marketing.service.js.map +1 -0
- package/dist/lib/modules/marketing/services/product-marketing.service.d.ts +18 -0
- package/dist/lib/modules/marketing/services/product-marketing.service.d.ts.map +1 -0
- package/dist/lib/modules/marketing/services/product-marketing.service.js +151 -0
- package/dist/lib/modules/marketing/services/product-marketing.service.js.map +1 -0
- package/dist/lib/modules/marketing/services/punch-marketing.service.d.ts +11 -0
- package/dist/lib/modules/marketing/services/punch-marketing.service.d.ts.map +1 -0
- package/dist/lib/modules/marketing/services/punch-marketing.service.js +80 -0
- package/dist/lib/modules/marketing/services/punch-marketing.service.js.map +1 -0
- package/dist/lib/modules/marketing/transformers/buy1-get1-marketing.transformer.d.ts +43 -0
- package/dist/lib/modules/marketing/transformers/buy1-get1-marketing.transformer.d.ts.map +1 -0
- package/dist/lib/modules/marketing/transformers/buy1-get1-marketing.transformer.js +7 -0
- package/dist/lib/modules/marketing/transformers/buy1-get1-marketing.transformer.js.map +1 -0
- package/dist/lib/modules/marketing/transformers/discount-marketing.transformer.d.ts +48 -0
- package/dist/lib/modules/marketing/transformers/discount-marketing.transformer.d.ts.map +1 -0
- package/dist/lib/modules/marketing/transformers/discount-marketing.transformer.js +7 -0
- package/dist/lib/modules/marketing/transformers/discount-marketing.transformer.js.map +1 -0
- package/dist/lib/modules/marketing/transformers/featured-marketing.transformer.d.ts +21 -0
- package/dist/lib/modules/marketing/transformers/featured-marketing.transformer.d.ts.map +1 -0
- package/dist/lib/modules/marketing/transformers/featured-marketing.transformer.js +7 -0
- package/dist/lib/modules/marketing/transformers/featured-marketing.transformer.js.map +1 -0
- package/dist/lib/modules/marketing/transformers/free-delivery-marketing.transformer.d.ts +21 -0
- package/dist/lib/modules/marketing/transformers/free-delivery-marketing.transformer.d.ts.map +1 -0
- package/dist/lib/modules/marketing/transformers/free-delivery-marketing.transformer.js +7 -0
- package/dist/lib/modules/marketing/transformers/free-delivery-marketing.transformer.js.map +1 -0
- package/dist/lib/modules/marketing/transformers/index.d.ts +8 -0
- package/dist/lib/modules/marketing/transformers/index.d.ts.map +1 -0
- package/dist/lib/modules/marketing/transformers/index.js +24 -0
- package/dist/lib/modules/marketing/transformers/index.js.map +1 -0
- package/dist/lib/modules/marketing/transformers/loyalty-point-marketing.transformer.d.ts +47 -0
- package/dist/lib/modules/marketing/transformers/loyalty-point-marketing.transformer.d.ts.map +1 -0
- package/dist/lib/modules/marketing/transformers/loyalty-point-marketing.transformer.js +7 -0
- package/dist/lib/modules/marketing/transformers/loyalty-point-marketing.transformer.js.map +1 -0
- package/dist/lib/modules/marketing/transformers/marketing.transformer.d.ts +3 -0
- package/dist/lib/modules/marketing/transformers/marketing.transformer.d.ts.map +1 -0
- package/dist/lib/modules/marketing/transformers/marketing.transformer.js +7 -0
- package/dist/lib/modules/marketing/transformers/marketing.transformer.js.map +1 -0
- package/dist/lib/modules/marketing/transformers/product-marketing.transformer.d.ts +10 -0
- package/dist/lib/modules/marketing/transformers/product-marketing.transformer.d.ts.map +1 -0
- package/dist/lib/modules/marketing/transformers/product-marketing.transformer.js +7 -0
- package/dist/lib/modules/marketing/transformers/product-marketing.transformer.js.map +1 -0
- package/dist/lib/modules/marketing/transformers/punch-marketing.transformer.d.ts +26 -0
- package/dist/lib/modules/marketing/transformers/punch-marketing.transformer.d.ts.map +1 -0
- package/dist/lib/modules/marketing/transformers/punch-marketing.transformer.js +7 -0
- package/dist/lib/modules/marketing/transformers/punch-marketing.transformer.js.map +1 -0
- package/dist/lib/modules/marketing/validations/all-marketings.validation.d.ts +54 -0
- package/dist/lib/modules/marketing/validations/all-marketings.validation.d.ts.map +1 -0
- package/dist/lib/modules/marketing/validations/all-marketings.validation.js +29 -0
- package/dist/lib/modules/marketing/validations/all-marketings.validation.js.map +1 -0
- package/dist/lib/modules/marketing/validations/buy1-get1-marketing.validation.d.ts +460 -0
- package/dist/lib/modules/marketing/validations/buy1-get1-marketing.validation.d.ts.map +1 -0
- package/dist/lib/modules/marketing/validations/buy1-get1-marketing.validation.js +40 -0
- package/dist/lib/modules/marketing/validations/buy1-get1-marketing.validation.js.map +1 -0
- package/dist/lib/modules/marketing/validations/discount-marketing.validation.d.ts +530 -0
- package/dist/lib/modules/marketing/validations/discount-marketing.validation.d.ts.map +1 -0
- package/dist/lib/modules/marketing/validations/discount-marketing.validation.js +61 -0
- package/dist/lib/modules/marketing/validations/discount-marketing.validation.js.map +1 -0
- package/dist/lib/modules/marketing/validations/featured-marketing.validation.d.ts +224 -0
- package/dist/lib/modules/marketing/validations/featured-marketing.validation.d.ts.map +1 -0
- package/dist/lib/modules/marketing/validations/featured-marketing.validation.js +42 -0
- package/dist/lib/modules/marketing/validations/featured-marketing.validation.js.map +1 -0
- package/dist/lib/modules/marketing/validations/free-delivery-marketing.validation.d.ts +162 -0
- package/dist/lib/modules/marketing/validations/free-delivery-marketing.validation.d.ts.map +1 -0
- package/dist/lib/modules/marketing/validations/free-delivery-marketing.validation.js +19 -0
- package/dist/lib/modules/marketing/validations/free-delivery-marketing.validation.js.map +1 -0
- package/dist/lib/modules/marketing/validations/index.d.ts +9 -0
- package/dist/lib/modules/marketing/validations/index.d.ts.map +1 -0
- package/dist/lib/modules/marketing/validations/index.js +25 -0
- package/dist/lib/modules/marketing/validations/index.js.map +1 -0
- package/dist/lib/modules/marketing/validations/loyalty-point-marketing.validation.d.ts +504 -0
- package/dist/lib/modules/marketing/validations/loyalty-point-marketing.validation.d.ts.map +1 -0
- package/dist/lib/modules/marketing/validations/loyalty-point-marketing.validation.js +34 -0
- package/dist/lib/modules/marketing/validations/loyalty-point-marketing.validation.js.map +1 -0
- package/dist/lib/modules/marketing/validations/marketing.validation.d.ts +170 -0
- package/dist/lib/modules/marketing/validations/marketing.validation.d.ts.map +1 -0
- package/dist/lib/modules/marketing/validations/marketing.validation.js +21 -0
- package/dist/lib/modules/marketing/validations/marketing.validation.js.map +1 -0
- package/dist/lib/modules/marketing/validations/product-marketing.validation.d.ts +150 -0
- package/dist/lib/modules/marketing/validations/product-marketing.validation.d.ts.map +1 -0
- package/dist/lib/modules/marketing/validations/product-marketing.validation.js +36 -0
- package/dist/lib/modules/marketing/validations/product-marketing.validation.js.map +1 -0
- package/dist/lib/modules/marketing/validations/punch-marketing.validation.d.ts +207 -0
- package/dist/lib/modules/marketing/validations/punch-marketing.validation.d.ts.map +1 -0
- package/dist/lib/modules/marketing/validations/punch-marketing.validation.js +24 -0
- package/dist/lib/modules/marketing/validations/punch-marketing.validation.js.map +1 -0
- package/dist/lib/modules/punch-marketing-history/routers/index.d.ts +2 -0
- package/dist/lib/modules/punch-marketing-history/routers/index.d.ts.map +1 -0
- package/dist/lib/modules/punch-marketing-history/routers/index.js +18 -0
- package/dist/lib/modules/punch-marketing-history/routers/index.js.map +1 -0
- package/dist/lib/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts +414 -0
- package/dist/lib/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts.map +1 -0
- package/dist/lib/modules/punch-marketing-history/routers/punch-marketing-history.router.js +69 -0
- package/dist/lib/modules/punch-marketing-history/routers/punch-marketing-history.router.js.map +1 -0
- package/dist/lib/modules/punch-marketing-history/services/index.d.ts +2 -0
- package/dist/lib/modules/punch-marketing-history/services/index.d.ts.map +1 -0
- package/dist/lib/modules/punch-marketing-history/services/index.js +18 -0
- package/dist/lib/modules/punch-marketing-history/services/index.js.map +1 -0
- package/dist/lib/modules/punch-marketing-history/services/punch-marketing-history.service.d.ts +24 -0
- package/dist/lib/modules/punch-marketing-history/services/punch-marketing-history.service.d.ts.map +1 -0
- package/dist/lib/modules/punch-marketing-history/services/punch-marketing-history.service.js +306 -0
- package/dist/lib/modules/punch-marketing-history/services/punch-marketing-history.service.js.map +1 -0
- package/dist/lib/modules/punch-marketing-history/transformers/index.d.ts +2 -0
- package/dist/lib/modules/punch-marketing-history/transformers/index.d.ts.map +1 -0
- package/dist/lib/modules/punch-marketing-history/transformers/index.js +18 -0
- package/dist/lib/modules/punch-marketing-history/transformers/index.js.map +1 -0
- package/dist/lib/modules/punch-marketing-history/transformers/punch-marketing-history.transformer.d.ts +19 -0
- package/dist/lib/modules/punch-marketing-history/transformers/punch-marketing-history.transformer.d.ts.map +1 -0
- package/dist/lib/modules/punch-marketing-history/transformers/punch-marketing-history.transformer.js +7 -0
- package/dist/lib/modules/punch-marketing-history/transformers/punch-marketing-history.transformer.js.map +1 -0
- package/dist/lib/modules/punch-marketing-history/validations/index.d.ts +2 -0
- package/dist/lib/modules/punch-marketing-history/validations/index.d.ts.map +1 -0
- package/dist/lib/modules/punch-marketing-history/validations/index.js +18 -0
- package/dist/lib/modules/punch-marketing-history/validations/index.js.map +1 -0
- package/dist/lib/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts +400 -0
- package/dist/lib/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts.map +1 -0
- package/dist/lib/modules/punch-marketing-history/validations/punch-marketing-history.validation.js +39 -0
- package/dist/lib/modules/punch-marketing-history/validations/punch-marketing-history.validation.js.map +1 -0
- package/dist/lib/modules/referral-setting/routers/index.d.ts +2 -0
- package/dist/lib/modules/referral-setting/routers/index.d.ts.map +1 -0
- package/dist/lib/modules/referral-setting/routers/index.js +18 -0
- package/dist/lib/modules/referral-setting/routers/index.js.map +1 -0
- package/dist/lib/modules/referral-setting/routers/referral-setting.router.d.ts +354 -0
- package/dist/lib/modules/referral-setting/routers/referral-setting.router.d.ts.map +1 -0
- package/dist/lib/modules/referral-setting/routers/referral-setting.router.js +42 -0
- package/dist/lib/modules/referral-setting/routers/referral-setting.router.js.map +1 -0
- package/dist/lib/modules/referral-setting/services/index.d.ts +2 -0
- package/dist/lib/modules/referral-setting/services/index.d.ts.map +1 -0
- package/dist/lib/modules/referral-setting/services/index.js +18 -0
- package/dist/lib/modules/referral-setting/services/index.js.map +1 -0
- package/dist/lib/modules/referral-setting/services/referral-setting.service.d.ts +15 -0
- package/dist/lib/modules/referral-setting/services/referral-setting.service.d.ts.map +1 -0
- package/dist/lib/modules/referral-setting/services/referral-setting.service.js +154 -0
- package/dist/lib/modules/referral-setting/services/referral-setting.service.js.map +1 -0
- package/dist/lib/modules/referral-setting/transformers/index.d.ts +2 -0
- package/dist/lib/modules/referral-setting/transformers/index.d.ts.map +1 -0
- package/dist/lib/modules/referral-setting/transformers/index.js +18 -0
- package/dist/lib/modules/referral-setting/transformers/index.js.map +1 -0
- package/dist/lib/modules/referral-setting/transformers/referral-setting.transformer.d.ts +31 -0
- package/dist/lib/modules/referral-setting/transformers/referral-setting.transformer.d.ts.map +1 -0
- package/dist/lib/modules/referral-setting/transformers/referral-setting.transformer.js +7 -0
- package/dist/lib/modules/referral-setting/transformers/referral-setting.transformer.js.map +1 -0
- package/dist/lib/modules/referral-setting/validations/index.d.ts +2 -0
- package/dist/lib/modules/referral-setting/validations/index.d.ts.map +1 -0
- package/dist/lib/modules/referral-setting/validations/index.js +18 -0
- package/dist/lib/modules/referral-setting/validations/index.js.map +1 -0
- package/dist/lib/modules/referral-setting/validations/referral-setting.validation.d.ts +575 -0
- package/dist/lib/modules/referral-setting/validations/referral-setting.validation.d.ts.map +1 -0
- package/dist/lib/modules/referral-setting/validations/referral-setting.validation.js +24 -0
- package/dist/lib/modules/referral-setting/validations/referral-setting.validation.js.map +1 -0
- package/dist/types/index.d.ts +12 -12
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/modules/coupon/routers/coupon.router.d.ts +12 -12
- package/dist/types/modules/coupon/routers/coupon.router.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/individual-store-coupon.service.d.ts +1 -0
- package/dist/types/modules/coupon/services/individual-store-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/transformers/coupon.transformer.d.ts +1 -1
- package/dist/types/modules/coupon/validations/all-coupons.validation.d.ts +21 -21
- package/dist/types/modules/coupon/validations/individual-store-coupon.validation.d.ts +9 -9
- package/dist/types/modules/loyalty-point-setting/routers/index.d.ts +2 -0
- package/dist/types/modules/loyalty-point-setting/routers/index.d.ts.map +1 -0
- package/dist/types/modules/loyalty-point-setting/routers/loyalty-point-setting.router.d.ts +321 -0
- package/dist/types/modules/loyalty-point-setting/routers/loyalty-point-setting.router.d.ts.map +1 -0
- package/dist/types/modules/loyalty-point-setting/services/index.d.ts +3 -0
- package/dist/types/modules/loyalty-point-setting/services/index.d.ts.map +1 -0
- package/dist/types/modules/loyalty-point-setting/services/loyalty-point-category.service.d.ts +37 -0
- package/dist/types/modules/loyalty-point-setting/services/loyalty-point-category.service.d.ts.map +1 -0
- package/dist/types/modules/loyalty-point-setting/services/loyalty-point-setting.service.d.ts +34 -0
- package/dist/types/modules/loyalty-point-setting/services/loyalty-point-setting.service.d.ts.map +1 -0
- package/dist/types/modules/loyalty-point-setting/transformers/index.d.ts +3 -0
- package/dist/types/modules/loyalty-point-setting/transformers/index.d.ts.map +1 -0
- package/dist/types/modules/loyalty-point-setting/transformers/loyalty-point-category.transformer.d.ts +8 -0
- package/dist/types/modules/loyalty-point-setting/transformers/loyalty-point-category.transformer.d.ts.map +1 -0
- package/dist/types/modules/loyalty-point-setting/transformers/loyalty-point-setting.transformer.d.ts +9 -0
- package/dist/types/modules/loyalty-point-setting/transformers/loyalty-point-setting.transformer.d.ts.map +1 -0
- package/dist/types/modules/loyalty-point-setting/validations/index.d.ts +3 -0
- package/dist/types/modules/loyalty-point-setting/validations/index.d.ts.map +1 -0
- package/dist/types/modules/loyalty-point-setting/validations/loyalty-point-category.validation.d.ts +179 -0
- package/dist/types/modules/loyalty-point-setting/validations/loyalty-point-category.validation.d.ts.map +1 -0
- package/dist/types/modules/loyalty-point-setting/validations/loyalty-point-setting.validation.d.ts +197 -0
- package/dist/types/modules/loyalty-point-setting/validations/loyalty-point-setting.validation.d.ts.map +1 -0
- package/dist/types/modules/marketing/routers/marketing.router.d.ts.map +1 -1
- package/dist/types/modules/marketing/services/buy1-get1-marketing.service.d.ts +1 -0
- package/dist/types/modules/marketing/services/buy1-get1-marketing.service.d.ts.map +1 -1
- package/dist/types/modules/marketing/services/discount-marketing.service.d.ts +2 -0
- package/dist/types/modules/marketing/services/discount-marketing.service.d.ts.map +1 -1
- package/dist/types/modules/marketing/services/loyalty-point-marketing.service.d.ts +21 -0
- package/dist/types/modules/marketing/services/loyalty-point-marketing.service.d.ts.map +1 -0
- package/dist/types/modules/marketing/services/marketing.service.d.ts.map +1 -1
- package/dist/types/modules/marketing/services/product-marketing.service.d.ts.map +1 -1
- package/dist/types/modules/marketing/transformers/buy1-get1-marketing.transformer.d.ts +1 -0
- package/dist/types/modules/marketing/transformers/buy1-get1-marketing.transformer.d.ts.map +1 -1
- package/dist/types/modules/marketing/transformers/discount-marketing.transformer.d.ts +3 -0
- package/dist/types/modules/marketing/transformers/discount-marketing.transformer.d.ts.map +1 -1
- package/dist/types/modules/marketing/transformers/loyalty-point-marketing.transformer.d.ts +47 -0
- package/dist/types/modules/marketing/transformers/loyalty-point-marketing.transformer.d.ts.map +1 -0
- package/dist/types/modules/marketing/validations/buy1-get1-marketing.validation.d.ts +45 -31
- package/dist/types/modules/marketing/validations/buy1-get1-marketing.validation.d.ts.map +1 -1
- package/dist/types/modules/marketing/validations/discount-marketing.validation.d.ts +42 -0
- package/dist/types/modules/marketing/validations/discount-marketing.validation.d.ts.map +1 -1
- package/dist/types/modules/marketing/validations/loyalty-point-marketing.validation.d.ts +513 -0
- package/dist/types/modules/marketing/validations/loyalty-point-marketing.validation.d.ts.map +1 -0
- package/package.json +3 -4
package/dist/types/index.d.ts
CHANGED
|
@@ -684,7 +684,6 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
|
|
|
684
684
|
};
|
|
685
685
|
valueType: import("@lyxa.ai/core/dist/utilities/enum").ValueType;
|
|
686
686
|
couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
|
|
687
|
-
shops: [string | import("mongoose").Types.ObjectId, ...(string | import("mongoose").Types.ObjectId)[]];
|
|
688
687
|
status?: import("@lyxa.ai/core/dist/utilities/enum").Status | undefined;
|
|
689
688
|
spendLimit?: number | null | undefined;
|
|
690
689
|
secondaryCurrencyValue?: number | undefined;
|
|
@@ -700,6 +699,7 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
|
|
|
700
699
|
} | undefined;
|
|
701
700
|
orderLimitPerUser?: number | null | undefined;
|
|
702
701
|
itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
|
|
702
|
+
shops?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
703
703
|
isShopCoverExpenses?: boolean | undefined;
|
|
704
704
|
} | {
|
|
705
705
|
value: number;
|
|
@@ -849,7 +849,7 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
|
|
|
849
849
|
}, import("zod").ZodTypeAny, "passthrough"> | import("zod").objectInputType<{
|
|
850
850
|
couponType: import("zod").ZodOptional<import("zod").ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
851
851
|
itemTypes: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
852
|
-
shops: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
852
|
+
shops: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
853
853
|
isShopCoverExpenses: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
854
854
|
valueType: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
855
855
|
value: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1068,7 +1068,7 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
|
|
|
1068
1068
|
}, import("zod").ZodTypeAny, "passthrough"> | import("zod").objectInputType<{
|
|
1069
1069
|
couponType: import("zod").ZodOptional<import("zod").ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
1070
1070
|
itemTypes: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
1071
|
-
shops: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
1071
|
+
shops: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
1072
1072
|
isShopCoverExpenses: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
1073
1073
|
valueType: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
1074
1074
|
value: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1302,7 +1302,7 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
|
|
|
1302
1302
|
}, import("zod").ZodTypeAny, "passthrough"> | import("zod").objectInputType<{
|
|
1303
1303
|
couponType: import("zod").ZodOptional<import("zod").ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
1304
1304
|
itemTypes: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
1305
|
-
shops: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
1305
|
+
shops: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
1306
1306
|
isShopCoverExpenses: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
1307
1307
|
valueType: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
1308
1308
|
value: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1521,7 +1521,7 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
|
|
|
1521
1521
|
}, import("zod").ZodTypeAny, "passthrough"> | import("zod").objectInputType<{
|
|
1522
1522
|
couponType: import("zod").ZodOptional<import("zod").ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
1523
1523
|
itemTypes: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
1524
|
-
shops: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
1524
|
+
shops: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
1525
1525
|
isShopCoverExpenses: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
1526
1526
|
valueType: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
1527
1527
|
value: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1766,7 +1766,7 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
|
|
|
1766
1766
|
}, import("zod").ZodTypeAny, "passthrough"> | import("zod").objectInputType<{
|
|
1767
1767
|
couponType: import("zod").ZodOptional<import("zod").ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
1768
1768
|
itemTypes: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
1769
|
-
shops: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
1769
|
+
shops: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
1770
1770
|
isShopCoverExpenses: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
1771
1771
|
valueType: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
1772
1772
|
value: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1985,7 +1985,7 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
|
|
|
1985
1985
|
}, import("zod").ZodTypeAny, "passthrough"> | import("zod").objectInputType<{
|
|
1986
1986
|
couponType: import("zod").ZodOptional<import("zod").ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
1987
1987
|
itemTypes: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
1988
|
-
shops: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
1988
|
+
shops: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
1989
1989
|
isShopCoverExpenses: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
1990
1990
|
valueType: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
1991
1991
|
value: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -2188,7 +2188,6 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
|
|
|
2188
2188
|
};
|
|
2189
2189
|
valueType: import("@lyxa.ai/core/dist/utilities/enum").ValueType;
|
|
2190
2190
|
couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
|
|
2191
|
-
shops: [string | import("mongoose").Types.ObjectId, ...(string | import("mongoose").Types.ObjectId)[]];
|
|
2192
2191
|
status?: import("@lyxa.ai/core/dist/utilities/enum").Status | undefined;
|
|
2193
2192
|
spendLimit?: number | null | undefined;
|
|
2194
2193
|
secondaryCurrencyValue?: number | undefined;
|
|
@@ -2204,6 +2203,7 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
|
|
|
2204
2203
|
} | undefined;
|
|
2205
2204
|
orderLimitPerUser?: number | null | undefined;
|
|
2206
2205
|
itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
|
|
2206
|
+
shops?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
2207
2207
|
isShopCoverExpenses?: boolean | undefined;
|
|
2208
2208
|
} | {
|
|
2209
2209
|
value: number;
|
|
@@ -2354,7 +2354,7 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
|
|
|
2354
2354
|
}, import("zod").ZodTypeAny, "passthrough"> | import("zod").objectInputType<{
|
|
2355
2355
|
couponType: import("zod").ZodOptional<import("zod").ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
2356
2356
|
itemTypes: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
2357
|
-
shops: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
2357
|
+
shops: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
2358
2358
|
isShopCoverExpenses: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
2359
2359
|
valueType: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
2360
2360
|
value: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -2573,7 +2573,7 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
|
|
|
2573
2573
|
}, import("zod").ZodTypeAny, "passthrough"> | import("zod").objectInputType<{
|
|
2574
2574
|
couponType: import("zod").ZodOptional<import("zod").ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
2575
2575
|
itemTypes: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
2576
|
-
shops: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
2576
|
+
shops: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
2577
2577
|
isShopCoverExpenses: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
2578
2578
|
valueType: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
2579
2579
|
value: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -2810,7 +2810,7 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
|
|
|
2810
2810
|
}, import("zod").ZodTypeAny, "passthrough"> | import("zod").objectInputType<{
|
|
2811
2811
|
couponType: import("zod").ZodOptional<import("zod").ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
2812
2812
|
itemTypes: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
2813
|
-
shops: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
2813
|
+
shops: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
2814
2814
|
isShopCoverExpenses: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
2815
2815
|
valueType: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
2816
2816
|
value: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -3029,7 +3029,7 @@ declare const marketingMicroServiceRouter: import("@trpc/server").TRPCBuiltRoute
|
|
|
3029
3029
|
}, import("zod").ZodTypeAny, "passthrough"> | import("zod").objectInputType<{
|
|
3030
3030
|
couponType: import("zod").ZodOptional<import("zod").ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
3031
3031
|
itemTypes: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
3032
|
-
shops: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
3032
|
+
shops: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
3033
3033
|
isShopCoverExpenses: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
3034
3034
|
valueType: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
3035
3035
|
value: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["index.ts"],"names":[],"mappings":"AAiBA,QAAA,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAe2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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAR3F,CAAC;AAmCH,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAC"}
|
|
@@ -80,7 +80,6 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
80
80
|
};
|
|
81
81
|
valueType: import("@lyxa.ai/core/dist/utilities/enum").ValueType;
|
|
82
82
|
couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
|
|
83
|
-
shops: [string | mongoose.Types.ObjectId, ...(string | mongoose.Types.ObjectId)[]];
|
|
84
83
|
status?: import("@lyxa.ai/core/dist/utilities/enum").Status | undefined;
|
|
85
84
|
spendLimit?: number | null | undefined;
|
|
86
85
|
secondaryCurrencyValue?: number | undefined;
|
|
@@ -96,6 +95,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
96
95
|
} | undefined;
|
|
97
96
|
orderLimitPerUser?: number | null | undefined;
|
|
98
97
|
itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
|
|
98
|
+
shops?: (string | mongoose.Types.ObjectId)[] | undefined;
|
|
99
99
|
isShopCoverExpenses?: boolean | undefined;
|
|
100
100
|
} | {
|
|
101
101
|
value: number;
|
|
@@ -245,7 +245,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
245
245
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
246
246
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
247
247
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
248
|
-
shops: 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>]>, "
|
|
248
|
+
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">>>;
|
|
249
249
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
250
250
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
251
251
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -464,7 +464,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
464
464
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
465
465
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
466
466
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
467
|
-
shops: 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>]>, "
|
|
467
|
+
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">>>;
|
|
468
468
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
469
469
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
470
470
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -698,7 +698,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
698
698
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
699
699
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
700
700
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
701
|
-
shops: 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>]>, "
|
|
701
|
+
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">>>;
|
|
702
702
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
703
703
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
704
704
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -917,7 +917,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
917
917
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
918
918
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
919
919
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
920
|
-
shops: 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>]>, "
|
|
920
|
+
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">>>;
|
|
921
921
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
922
922
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
923
923
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1162,7 +1162,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1162
1162
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
1163
1163
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
1164
1164
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
1165
|
-
shops: 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>]>, "
|
|
1165
|
+
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">>>;
|
|
1166
1166
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1167
1167
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
1168
1168
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1381,7 +1381,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1381
1381
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
1382
1382
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
1383
1383
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
1384
|
-
shops: 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>]>, "
|
|
1384
|
+
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">>>;
|
|
1385
1385
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1386
1386
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
1387
1387
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1584,7 +1584,6 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1584
1584
|
};
|
|
1585
1585
|
valueType: import("@lyxa.ai/core/dist/utilities/enum").ValueType;
|
|
1586
1586
|
couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
|
|
1587
|
-
shops: [string | mongoose.Types.ObjectId, ...(string | mongoose.Types.ObjectId)[]];
|
|
1588
1587
|
status?: import("@lyxa.ai/core/dist/utilities/enum").Status | undefined;
|
|
1589
1588
|
spendLimit?: number | null | undefined;
|
|
1590
1589
|
secondaryCurrencyValue?: number | undefined;
|
|
@@ -1600,6 +1599,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1600
1599
|
} | undefined;
|
|
1601
1600
|
orderLimitPerUser?: number | null | undefined;
|
|
1602
1601
|
itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
|
|
1602
|
+
shops?: (string | mongoose.Types.ObjectId)[] | undefined;
|
|
1603
1603
|
isShopCoverExpenses?: boolean | undefined;
|
|
1604
1604
|
} | {
|
|
1605
1605
|
value: number;
|
|
@@ -1750,7 +1750,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1750
1750
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
1751
1751
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
1752
1752
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
1753
|
-
shops: 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>]>, "
|
|
1753
|
+
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">>>;
|
|
1754
1754
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1755
1755
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
1756
1756
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1969,7 +1969,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
1969
1969
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
1970
1970
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
1971
1971
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
1972
|
-
shops: 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>]>, "
|
|
1972
|
+
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">>>;
|
|
1973
1973
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1974
1974
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
1975
1975
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2206,7 +2206,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2206
2206
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
2207
2207
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
2208
2208
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
2209
|
-
shops: 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>]>, "
|
|
2209
|
+
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">>>;
|
|
2210
2210
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2211
2211
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
2212
2212
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2425,7 +2425,7 @@ export declare const couponRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
2425
2425
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
2426
2426
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
2427
2427
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
2428
|
-
shops: 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>]>, "
|
|
2428
|
+
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">>>;
|
|
2429
2429
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2430
2430
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
2431
2431
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coupon.router.d.ts","sourceRoot":"/","sources":["modules/coupon/routers/coupon.router.ts"],"names":[],"mappings":"AAyBA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;wBA0G0+wB,CAAC;;;;;;;;;;GADv/wB,CAAC"}
|
|
@@ -3,6 +3,7 @@ import { IndividualStoreCoupon as Model } from '@lyxa.ai/core/dist/libraries/mon
|
|
|
3
3
|
import { CouponValidationOutputDTO, CreateIndividualStoreCouponDTO as CreateDTO, UpdateIndividualStoreCouponDTO as UpdateDTO, ValidateCouponDTO } from '@modules/coupon/validations';
|
|
4
4
|
export declare class IndividualStoreCouponService {
|
|
5
5
|
private model;
|
|
6
|
+
private readonly shopModelForCoupon;
|
|
6
7
|
constructor();
|
|
7
8
|
/**
|
|
8
9
|
* Create a new record
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"individual-store-coupon.service.d.ts","sourceRoot":"/","sources":["modules/coupon/services/individual-store-coupon.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAY,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAEN,qBAAqB,IAAI,KAAK,
|
|
1
|
+
{"version":3,"file":"individual-store-coupon.service.d.ts","sourceRoot":"/","sources":["modules/coupon/services/individual-store-coupon.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAY,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAEN,qBAAqB,IAAI,KAAK,EAG9B,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACN,yBAAyB,EACzB,8BAA8B,IAAI,SAAS,EAC3C,8BAA8B,IAAI,SAAS,EAC3C,iBAAiB,EACjB,MAAM,6BAA6B,CAAC;AAKrC,qBACa,4BAA4B;IACxC,OAAO,CAAC,KAAK,CAAC;IACd,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA2C;;IAO9E;;;OAGG;IACU,MAAM,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAMlE;;;;OAIG;IACU,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAuBjE,cAAc,CAC1B,IAAI,EAAE,iBAAiB,EACvB,cAAc,EAAE,YAAY,CAAC,KAAK,CAAC,GACjC,OAAO,CAAC,yBAAyB,CAAC;CA6CrC;AAED,eAAO,MAAM,4BAA4B,8BAA8C,CAAC"}
|
|
@@ -91,7 +91,7 @@ export declare const allCouponTransformer: import("@lyxa.ai/core/dist/utilities/
|
|
|
91
91
|
}, import("zod").ZodTypeAny, "passthrough"> | import("zod").objectOutputType<{
|
|
92
92
|
couponType: import("zod").ZodOptional<import("zod").ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
93
93
|
itemTypes: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
94
|
-
shops: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
94
|
+
shops: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, import("mongoose").Types.ObjectId, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
95
95
|
isShopCoverExpenses: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
96
96
|
valueType: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
97
97
|
value: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -196,7 +196,7 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
196
196
|
}>, z.ZodObject<{
|
|
197
197
|
couponType: z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>;
|
|
198
198
|
itemTypes: z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>;
|
|
199
|
-
shops: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
199
|
+
shops: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>;
|
|
200
200
|
isShopCoverExpenses: z.ZodDefault<z.ZodBoolean>;
|
|
201
201
|
valueType: z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>;
|
|
202
202
|
value: z.ZodNumber;
|
|
@@ -253,7 +253,7 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
253
253
|
orderLimitPerUser: number | null;
|
|
254
254
|
couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
|
|
255
255
|
itemTypes: import("@lyxa.ai/core/dist/utilities/enum").ItemType[];
|
|
256
|
-
shops:
|
|
256
|
+
shops: import("mongoose").Types.ObjectId[];
|
|
257
257
|
isShopCoverExpenses: boolean;
|
|
258
258
|
secondaryCurrencyValue?: number | undefined;
|
|
259
259
|
secondaryCurrencyMaxDiscountLimit?: number | undefined;
|
|
@@ -270,7 +270,6 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
270
270
|
};
|
|
271
271
|
valueType: import("@lyxa.ai/core/dist/utilities/enum").ValueType;
|
|
272
272
|
couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
|
|
273
|
-
shops: [string | import("mongoose").Types.ObjectId, ...(string | import("mongoose").Types.ObjectId)[]];
|
|
274
273
|
status?: import("@lyxa.ai/core/dist/utilities/enum").Status | undefined;
|
|
275
274
|
spendLimit?: number | null | undefined;
|
|
276
275
|
secondaryCurrencyValue?: number | undefined;
|
|
@@ -286,6 +285,7 @@ export declare const AllCouponsValidationSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
286
285
|
} | undefined;
|
|
287
286
|
orderLimitPerUser?: number | null | undefined;
|
|
288
287
|
itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
|
|
288
|
+
shops?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
289
289
|
isShopCoverExpenses?: boolean | undefined;
|
|
290
290
|
}>, z.ZodObject<{
|
|
291
291
|
couponType: z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_USER>;
|
|
@@ -746,7 +746,7 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
746
746
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
747
747
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
748
748
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
749
|
-
shops: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
749
|
+
shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
750
750
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
751
751
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
752
752
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -789,7 +789,7 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
789
789
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
790
790
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
791
791
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
792
|
-
shops: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
792
|
+
shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
793
793
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
794
794
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
795
795
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -832,7 +832,7 @@ export declare const AllCouponsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
832
832
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
833
833
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
834
834
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
835
|
-
shops: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
835
|
+
shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
836
836
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
837
837
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
838
838
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1330,7 +1330,7 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1330
1330
|
}>, z.ZodObject<{
|
|
1331
1331
|
couponType: z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>;
|
|
1332
1332
|
itemTypes: z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>;
|
|
1333
|
-
shops: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
1333
|
+
shops: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>;
|
|
1334
1334
|
isShopCoverExpenses: z.ZodDefault<z.ZodBoolean>;
|
|
1335
1335
|
valueType: z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>;
|
|
1336
1336
|
value: z.ZodNumber;
|
|
@@ -1387,7 +1387,7 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1387
1387
|
orderLimitPerUser: number | null;
|
|
1388
1388
|
couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
|
|
1389
1389
|
itemTypes: import("@lyxa.ai/core/dist/utilities/enum").ItemType[];
|
|
1390
|
-
shops:
|
|
1390
|
+
shops: import("mongoose").Types.ObjectId[];
|
|
1391
1391
|
isShopCoverExpenses: boolean;
|
|
1392
1392
|
secondaryCurrencyValue?: number | undefined;
|
|
1393
1393
|
secondaryCurrencyMaxDiscountLimit?: number | undefined;
|
|
@@ -1404,7 +1404,6 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1404
1404
|
};
|
|
1405
1405
|
valueType: import("@lyxa.ai/core/dist/utilities/enum").ValueType;
|
|
1406
1406
|
couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
|
|
1407
|
-
shops: [string | import("mongoose").Types.ObjectId, ...(string | import("mongoose").Types.ObjectId)[]];
|
|
1408
1407
|
status?: import("@lyxa.ai/core/dist/utilities/enum").Status | undefined;
|
|
1409
1408
|
spendLimit?: number | null | undefined;
|
|
1410
1409
|
secondaryCurrencyValue?: number | undefined;
|
|
@@ -1420,6 +1419,7 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1420
1419
|
} | undefined;
|
|
1421
1420
|
orderLimitPerUser?: number | null | undefined;
|
|
1422
1421
|
itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
|
|
1422
|
+
shops?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
1423
1423
|
isShopCoverExpenses?: boolean | undefined;
|
|
1424
1424
|
}>, z.ZodObject<{
|
|
1425
1425
|
couponType: z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_USER>;
|
|
@@ -1684,7 +1684,7 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1684
1684
|
orderLimitPerUser: number | null;
|
|
1685
1685
|
couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
|
|
1686
1686
|
itemTypes: import("@lyxa.ai/core/dist/utilities/enum").ItemType[];
|
|
1687
|
-
shops:
|
|
1687
|
+
shops: import("mongoose").Types.ObjectId[];
|
|
1688
1688
|
isShopCoverExpenses: boolean;
|
|
1689
1689
|
secondaryCurrencyValue?: number | undefined;
|
|
1690
1690
|
secondaryCurrencyMaxDiscountLimit?: number | undefined;
|
|
@@ -1810,7 +1810,6 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1810
1810
|
};
|
|
1811
1811
|
valueType: import("@lyxa.ai/core/dist/utilities/enum").ValueType;
|
|
1812
1812
|
couponType: import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE;
|
|
1813
|
-
shops: [string | import("mongoose").Types.ObjectId, ...(string | import("mongoose").Types.ObjectId)[]];
|
|
1814
1813
|
status?: import("@lyxa.ai/core/dist/utilities/enum").Status | undefined;
|
|
1815
1814
|
spendLimit?: number | null | undefined;
|
|
1816
1815
|
secondaryCurrencyValue?: number | undefined;
|
|
@@ -1826,6 +1825,7 @@ export declare const AllCouponsUpdateSchema: z.ZodObject<{
|
|
|
1826
1825
|
} | undefined;
|
|
1827
1826
|
orderLimitPerUser?: number | null | undefined;
|
|
1828
1827
|
itemTypes?: import("@lyxa.ai/core/dist/utilities/enum").ItemType[] | undefined;
|
|
1828
|
+
shops?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
1829
1829
|
isShopCoverExpenses?: boolean | undefined;
|
|
1830
1830
|
} | {
|
|
1831
1831
|
value: number;
|
|
@@ -1993,7 +1993,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
1993
1993
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
1994
1994
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
1995
1995
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
1996
|
-
shops: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
1996
|
+
shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
1997
1997
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1998
1998
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
1999
1999
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2211,7 +2211,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2211
2211
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
2212
2212
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
2213
2213
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
2214
|
-
shops: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
2214
|
+
shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
2215
2215
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2216
2216
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
2217
2217
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2431,7 +2431,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2431
2431
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
2432
2432
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
2433
2433
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
2434
|
-
shops: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
2434
|
+
shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
2435
2435
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2436
2436
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
2437
2437
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2657,7 +2657,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2657
2657
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
2658
2658
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
2659
2659
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
2660
|
-
shops: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
2660
|
+
shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
2661
2661
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2662
2662
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
2663
2663
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2882,7 +2882,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
2882
2882
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
2883
2883
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
2884
2884
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
2885
|
-
shops: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
2885
|
+
shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
2886
2886
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2887
2887
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
2888
2888
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3100,7 +3100,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
3100
3100
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
3101
3101
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
3102
3102
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
3103
|
-
shops: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
3103
|
+
shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
3104
3104
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3105
3105
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
3106
3106
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3322,7 +3322,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
3322
3322
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
3323
3323
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
3324
3324
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
3325
|
-
shops: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
3325
|
+
shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
3326
3326
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3327
3327
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
3328
3328
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3541,7 +3541,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
3541
3541
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
3542
3542
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
3543
3543
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
3544
|
-
shops: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
3544
|
+
shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
3545
3545
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3546
3546
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
3547
3547
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3770,7 +3770,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
3770
3770
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
3771
3771
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
3772
3772
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
3773
|
-
shops: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
3773
|
+
shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
3774
3774
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3775
3775
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
3776
3776
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3989,7 +3989,7 @@ export declare const CouponResponseSchema: z.ZodObject<{
|
|
|
3989
3989
|
}, z.ZodTypeAny, "passthrough"> | z.objectInputType<{
|
|
3990
3990
|
couponType: z.ZodOptional<z.ZodLiteral<import("@lyxa.ai/core/dist/utilities/enum").CouponType.INDIVIDUAL_STORE>>;
|
|
3991
3991
|
itemTypes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ItemType>, "many">>>;
|
|
3992
|
-
shops: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "
|
|
3992
|
+
shops: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, import("mongoose").Types.ObjectId, string>, z.ZodType<import("mongoose").Types.ObjectId, z.ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>>;
|
|
3993
3993
|
isShopCoverExpenses: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3994
3994
|
valueType: z.ZodOptional<z.ZodNativeEnum<typeof import("@lyxa.ai/core/dist/utilities/enum").ValueType>>;
|
|
3995
3995
|
value: z.ZodOptional<z.ZodNumber>;
|