@lyxa.ai/marketing 1.0.46 → 1.0.48
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/event/event-initializations.d.ts.map +1 -1
- package/dist/lib/event/event-initializations.js +2 -0
- package/dist/lib/event/event-initializations.js.map +1 -1
- package/dist/lib/index.d.ts +1414 -13
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +3 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/modules/coupon/routers/coupon.router.d.ts +72 -6
- package/dist/lib/modules/coupon/routers/coupon.router.d.ts.map +1 -1
- package/dist/lib/modules/coupon/routers/coupon.router.js +12 -3
- package/dist/lib/modules/coupon/routers/coupon.router.js.map +1 -1
- package/dist/lib/modules/coupon/services/coupon.service.d.ts +1 -0
- package/dist/lib/modules/coupon/services/coupon.service.d.ts.map +1 -1
- package/dist/lib/modules/coupon/services/coupon.service.js +102 -4
- package/dist/lib/modules/coupon/services/coupon.service.js.map +1 -1
- package/dist/lib/modules/coupon/services/custom-coupon.service.d.ts +2 -0
- package/dist/lib/modules/coupon/services/custom-coupon.service.d.ts.map +1 -1
- package/dist/lib/modules/coupon/services/custom-coupon.service.js +1 -1
- package/dist/lib/modules/coupon/services/custom-coupon.service.js.map +1 -1
- package/dist/lib/modules/coupon/services/global-coupon.service.d.ts +1 -1
- package/dist/lib/modules/coupon/services/global-coupon.service.d.ts.map +1 -1
- package/dist/lib/modules/coupon/services/global-coupon.service.js +16 -10
- package/dist/lib/modules/coupon/services/global-coupon.service.js.map +1 -1
- package/dist/lib/modules/coupon/services/helper.service.d.ts +2 -1
- package/dist/lib/modules/coupon/services/helper.service.d.ts.map +1 -1
- package/dist/lib/modules/coupon/services/helper.service.js +7 -1
- package/dist/lib/modules/coupon/services/helper.service.js.map +1 -1
- package/dist/lib/modules/coupon/services/individual-store-coupon.service.d.ts +2 -0
- package/dist/lib/modules/coupon/services/individual-store-coupon.service.d.ts.map +1 -1
- package/dist/lib/modules/coupon/services/individual-store-coupon.service.js +2 -2
- package/dist/lib/modules/coupon/services/individual-store-coupon.service.js.map +1 -1
- package/dist/lib/modules/coupon/services/individual-user-coupon.service.d.ts.map +1 -1
- package/dist/lib/modules/coupon/services/individual-user-coupon.service.js +6 -0
- package/dist/lib/modules/coupon/services/individual-user-coupon.service.js.map +1 -1
- package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.d.ts +10 -4
- package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.d.ts.map +1 -1
- package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.js +88 -9
- package/dist/lib/modules/coupon/services/patterns/repository/CouponMetricsRepository.js.map +1 -1
- package/dist/lib/modules/coupon/services/patterns/repository/CouponRepository.d.ts.map +1 -1
- package/dist/lib/modules/coupon/services/patterns/repository/CouponRepository.js +20 -1
- package/dist/lib/modules/coupon/services/patterns/repository/CouponRepository.js.map +1 -1
- package/dist/lib/modules/coupon/services/referral-code-coupon.service.d.ts.map +1 -1
- package/dist/lib/modules/coupon/services/referral-code-coupon.service.js +1 -1
- package/dist/lib/modules/coupon/services/referral-code-coupon.service.js.map +1 -1
- package/dist/lib/modules/coupon/services/referral-reward-coupon.service.d.ts +1 -1
- package/dist/lib/modules/coupon/services/referral-reward-coupon.service.d.ts.map +1 -1
- package/dist/lib/modules/coupon/services/referral-reward-coupon.service.js +36 -19
- package/dist/lib/modules/coupon/services/referral-reward-coupon.service.js.map +1 -1
- package/dist/lib/modules/coupon/services/shops-categories-coupon.service.d.ts +2 -0
- package/dist/lib/modules/coupon/services/shops-categories-coupon.service.d.ts.map +1 -1
- package/dist/lib/modules/coupon/services/shops-categories-coupon.service.js +2 -2
- package/dist/lib/modules/coupon/services/shops-categories-coupon.service.js.map +1 -1
- package/dist/lib/modules/coupon/validations/coupon.validation.d.ts +359 -34
- package/dist/lib/modules/coupon/validations/coupon.validation.d.ts.map +1 -1
- package/dist/lib/modules/coupon/validations/coupon.validation.js +16 -3
- package/dist/lib/modules/coupon/validations/coupon.validation.js.map +1 -1
- package/dist/lib/modules/limited-time-offer/limited-time-offer.router.d.ts +6 -6
- package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.router.d.ts +6 -6
- package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.validation.d.ts +30 -30
- package/dist/lib/modules/marketing/services/marketing.service.d.ts.map +1 -1
- package/dist/lib/modules/marketing/services/marketing.service.js +8 -2
- package/dist/lib/modules/marketing/services/marketing.service.js.map +1 -1
- package/dist/lib/modules/marketing/services/synchronize-product-marketing.service.d.ts +2 -0
- package/dist/lib/modules/marketing/services/synchronize-product-marketing.service.d.ts.map +1 -1
- package/dist/lib/modules/marketing/services/synchronize-product-marketing.service.js +14 -0
- package/dist/lib/modules/marketing/services/synchronize-product-marketing.service.js.map +1 -1
- package/dist/lib/modules/marketing/validations/buy1-get1-marketing.validation.d.ts +24 -24
- package/dist/lib/modules/marketing/validations/discount-marketing.validation.d.ts +36 -36
- package/dist/lib/modules/marketing/validations/featured-marketing.validation.d.ts +6 -6
- package/dist/lib/modules/marketing/validations/free-delivery-marketing.validation.d.ts +4 -4
- package/dist/lib/modules/marketing/validations/marketing.validation.d.ts +2 -2
- package/dist/lib/modules/marketing/validations/product-marketing.validation.d.ts +7 -7
- package/dist/lib/modules/marketing/validations/punch-marketing.validation.d.ts +4 -4
- package/dist/lib/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts +1 -1
- package/dist/lib/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts +2 -2
- package/dist/lib/modules/tournament/config/config.builder.d.ts +5 -0
- package/dist/lib/modules/tournament/config/config.builder.d.ts.map +1 -0
- package/dist/lib/modules/tournament/config/config.builder.js +19 -0
- package/dist/lib/modules/tournament/config/config.builder.js.map +1 -0
- package/dist/lib/modules/tournament/config/config.repository.d.ts +13 -0
- package/dist/lib/modules/tournament/config/config.repository.d.ts.map +1 -0
- package/dist/lib/modules/tournament/config/config.repository.js +77 -0
- package/dist/lib/modules/tournament/config/config.repository.js.map +1 -0
- package/dist/lib/modules/tournament/config/config.router.d.ts +363 -0
- package/dist/lib/modules/tournament/config/config.router.d.ts.map +1 -0
- package/dist/lib/modules/tournament/config/config.router.js +40 -0
- package/dist/lib/modules/tournament/config/config.router.js.map +1 -0
- package/dist/lib/modules/tournament/config/config.service.d.ts +14 -0
- package/dist/lib/modules/tournament/config/config.service.d.ts.map +1 -0
- package/dist/lib/modules/tournament/config/config.service.js +101 -0
- package/dist/lib/modules/tournament/config/config.service.js.map +1 -0
- package/dist/lib/modules/tournament/config/config.validation.d.ts +1014 -0
- package/dist/lib/modules/tournament/config/config.validation.d.ts.map +1 -0
- package/dist/lib/modules/tournament/config/config.validation.js +70 -0
- package/dist/lib/modules/tournament/config/config.validation.js.map +1 -0
- package/dist/lib/modules/tournament/match/events/match-ended.consumer.d.ts +2 -0
- package/dist/lib/modules/tournament/match/events/match-ended.consumer.d.ts.map +1 -0
- package/dist/lib/modules/tournament/match/events/match-ended.consumer.js +15 -0
- package/dist/lib/modules/tournament/match/events/match-ended.consumer.js.map +1 -0
- package/dist/lib/modules/tournament/match/events/match-ended.event.d.ts +14 -0
- package/dist/lib/modules/tournament/match/events/match-ended.event.d.ts.map +1 -0
- package/dist/lib/modules/tournament/match/events/match-ended.event.js +12 -0
- package/dist/lib/modules/tournament/match/events/match-ended.event.js.map +1 -0
- package/dist/lib/modules/tournament/match/match.builder.d.ts +38 -0
- package/dist/lib/modules/tournament/match/match.builder.d.ts.map +1 -0
- package/dist/lib/modules/tournament/match/match.builder.js +37 -0
- package/dist/lib/modules/tournament/match/match.builder.js.map +1 -0
- package/dist/lib/modules/tournament/match/match.repository.d.ts +13 -0
- package/dist/lib/modules/tournament/match/match.repository.d.ts.map +1 -0
- package/dist/lib/modules/tournament/match/match.repository.js +84 -0
- package/dist/lib/modules/tournament/match/match.repository.js.map +1 -0
- package/dist/lib/modules/tournament/match/match.router.d.ts +489 -0
- package/dist/lib/modules/tournament/match/match.router.d.ts.map +1 -0
- package/dist/lib/modules/tournament/match/match.router.js +56 -0
- package/dist/lib/modules/tournament/match/match.router.js.map +1 -0
- package/dist/lib/modules/tournament/match/match.service.d.ts +29 -0
- package/dist/lib/modules/tournament/match/match.service.d.ts.map +1 -0
- package/dist/lib/modules/tournament/match/match.service.js +193 -0
- package/dist/lib/modules/tournament/match/match.service.js.map +1 -0
- package/dist/lib/modules/tournament/match/match.validation.d.ts +880 -0
- package/dist/lib/modules/tournament/match/match.validation.d.ts.map +1 -0
- package/dist/lib/modules/tournament/match/match.validation.js +74 -0
- package/dist/lib/modules/tournament/match/match.validation.js.map +1 -0
- package/dist/lib/modules/tournament/notification/jobs/notification.producer.d.ts +13 -0
- package/dist/lib/modules/tournament/notification/jobs/notification.producer.d.ts.map +1 -0
- package/dist/lib/modules/tournament/notification/jobs/notification.producer.js +28 -0
- package/dist/lib/modules/tournament/notification/jobs/notification.producer.js.map +1 -0
- package/dist/lib/modules/tournament/notification/jobs/notification.worker.d.ts +7 -0
- package/dist/lib/modules/tournament/notification/jobs/notification.worker.d.ts.map +1 -0
- package/dist/lib/modules/tournament/notification/jobs/notification.worker.js +76 -0
- package/dist/lib/modules/tournament/notification/jobs/notification.worker.js.map +1 -0
- package/dist/lib/modules/tournament/notification/notification.scheduler.service.d.ts +10 -0
- package/dist/lib/modules/tournament/notification/notification.scheduler.service.d.ts.map +1 -0
- package/dist/lib/modules/tournament/notification/notification.scheduler.service.js +86 -0
- package/dist/lib/modules/tournament/notification/notification.scheduler.service.js.map +1 -0
- package/dist/lib/modules/tournament/notification/notification.service.d.ts +11 -0
- package/dist/lib/modules/tournament/notification/notification.service.d.ts.map +1 -0
- package/dist/lib/modules/tournament/notification/notification.service.js +101 -0
- package/dist/lib/modules/tournament/notification/notification.service.js.map +1 -0
- package/dist/lib/modules/tournament/participant/participant.repository.d.ts +12 -0
- package/dist/lib/modules/tournament/participant/participant.repository.d.ts.map +1 -0
- package/dist/lib/modules/tournament/participant/participant.repository.js +73 -0
- package/dist/lib/modules/tournament/participant/participant.repository.js.map +1 -0
- package/dist/lib/modules/tournament/participant/participant.router.d.ts +104 -0
- package/dist/lib/modules/tournament/participant/participant.router.d.ts.map +1 -0
- package/dist/lib/modules/tournament/participant/participant.router.js +28 -0
- package/dist/lib/modules/tournament/participant/participant.router.js.map +1 -0
- package/dist/lib/modules/tournament/participant/participant.service.d.ts +14 -0
- package/dist/lib/modules/tournament/participant/participant.service.d.ts.map +1 -0
- package/dist/lib/modules/tournament/participant/participant.service.js +103 -0
- package/dist/lib/modules/tournament/participant/participant.service.js.map +1 -0
- package/dist/lib/modules/tournament/participant/participant.validation.d.ts +719 -0
- package/dist/lib/modules/tournament/participant/participant.validation.d.ts.map +1 -0
- package/dist/lib/modules/tournament/participant/participant.validation.js +44 -0
- package/dist/lib/modules/tournament/participant/participant.validation.js.map +1 -0
- package/dist/lib/modules/tournament/prediction/prediction.builder.d.ts +14 -0
- package/dist/lib/modules/tournament/prediction/prediction.builder.d.ts.map +1 -0
- package/dist/lib/modules/tournament/prediction/prediction.builder.js +23 -0
- package/dist/lib/modules/tournament/prediction/prediction.builder.js.map +1 -0
- package/dist/lib/modules/tournament/prediction/prediction.repository.d.ts +11 -0
- package/dist/lib/modules/tournament/prediction/prediction.repository.d.ts.map +1 -0
- package/dist/lib/modules/tournament/prediction/prediction.repository.js +73 -0
- package/dist/lib/modules/tournament/prediction/prediction.repository.js.map +1 -0
- package/dist/lib/modules/tournament/prediction/prediction.router.d.ts +133 -0
- package/dist/lib/modules/tournament/prediction/prediction.router.d.ts.map +1 -0
- package/dist/lib/modules/tournament/prediction/prediction.router.js +36 -0
- package/dist/lib/modules/tournament/prediction/prediction.router.js.map +1 -0
- package/dist/lib/modules/tournament/prediction/prediction.service.d.ts +17 -0
- package/dist/lib/modules/tournament/prediction/prediction.service.d.ts.map +1 -0
- package/dist/lib/modules/tournament/prediction/prediction.service.js +125 -0
- package/dist/lib/modules/tournament/prediction/prediction.service.js.map +1 -0
- package/dist/lib/modules/tournament/prediction/prediction.validation.d.ts +575 -0
- package/dist/lib/modules/tournament/prediction/prediction.validation.d.ts.map +1 -0
- package/dist/lib/modules/tournament/prediction/prediction.validation.js +46 -0
- package/dist/lib/modules/tournament/prediction/prediction.validation.js.map +1 -0
- package/dist/lib/modules/tournament/reward/handlers/coupon-reward.handler.d.ts +8 -0
- package/dist/lib/modules/tournament/reward/handlers/coupon-reward.handler.d.ts.map +1 -0
- package/dist/lib/modules/tournament/reward/handlers/coupon-reward.handler.js +65 -0
- package/dist/lib/modules/tournament/reward/handlers/coupon-reward.handler.js.map +1 -0
- package/dist/lib/modules/tournament/reward/reward.factory.d.ts +6 -0
- package/dist/lib/modules/tournament/reward/reward.factory.d.ts.map +1 -0
- package/dist/lib/modules/tournament/reward/reward.factory.js +21 -0
- package/dist/lib/modules/tournament/reward/reward.factory.js.map +1 -0
- package/dist/lib/modules/tournament/reward/reward.interface.d.ts +5 -0
- package/dist/lib/modules/tournament/reward/reward.interface.d.ts.map +1 -0
- package/dist/lib/modules/tournament/reward/reward.interface.js +3 -0
- package/dist/lib/modules/tournament/reward/reward.interface.js.map +1 -0
- package/dist/lib/modules/tournament/reward/reward.service.d.ts +6 -0
- package/dist/lib/modules/tournament/reward/reward.service.d.ts.map +1 -0
- package/dist/lib/modules/tournament/reward/reward.service.js +56 -0
- package/dist/lib/modules/tournament/reward/reward.service.js.map +1 -0
- package/dist/lib/modules/tournament/reward/reward.types.d.ts +11 -0
- package/dist/lib/modules/tournament/reward/reward.types.d.ts.map +1 -0
- package/dist/lib/modules/tournament/reward/reward.types.js +8 -0
- package/dist/lib/modules/tournament/reward/reward.types.js.map +1 -0
- package/dist/lib/modules/tournament/team/team.builder.d.ts +19 -0
- package/dist/lib/modules/tournament/team/team.builder.d.ts.map +1 -0
- package/dist/lib/modules/tournament/team/team.builder.js +18 -0
- package/dist/lib/modules/tournament/team/team.builder.js.map +1 -0
- package/dist/lib/modules/tournament/team/team.repository.d.ts +11 -0
- package/dist/lib/modules/tournament/team/team.repository.d.ts.map +1 -0
- package/dist/lib/modules/tournament/team/team.repository.js +71 -0
- package/dist/lib/modules/tournament/team/team.repository.js.map +1 -0
- package/dist/lib/modules/tournament/team/team.router.d.ts +237 -0
- package/dist/lib/modules/tournament/team/team.router.d.ts.map +1 -0
- package/dist/lib/modules/tournament/team/team.router.js +36 -0
- package/dist/lib/modules/tournament/team/team.router.js.map +1 -0
- package/dist/lib/modules/tournament/team/team.service.d.ts +15 -0
- package/dist/lib/modules/tournament/team/team.service.d.ts.map +1 -0
- package/dist/lib/modules/tournament/team/team.service.js +137 -0
- package/dist/lib/modules/tournament/team/team.service.js.map +1 -0
- package/dist/lib/modules/tournament/team/team.validation.d.ts +986 -0
- package/dist/lib/modules/tournament/team/team.validation.d.ts.map +1 -0
- package/dist/lib/modules/tournament/team/team.validation.js +55 -0
- package/dist/lib/modules/tournament/team/team.validation.js.map +1 -0
- package/dist/lib/modules/tournament/tournament.router.d.ts +1336 -0
- package/dist/lib/modules/tournament/tournament.router.d.ts.map +1 -0
- package/dist/lib/modules/tournament/tournament.router.js +17 -0
- package/dist/lib/modules/tournament/tournament.router.js.map +1 -0
- package/dist/types/event/event-initializations.d.ts.map +1 -1
- package/dist/types/events/event-initializations.d.ts +2 -0
- package/dist/types/events/event-initializations.d.ts.map +1 -0
- package/dist/types/index.d.ts +1414 -13
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/modules/coupon/routers/coupon.router.d.ts +72 -6
- package/dist/types/modules/coupon/routers/coupon.router.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/coupon.service.d.ts +1 -0
- package/dist/types/modules/coupon/services/coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/custom-coupon.service.d.ts +2 -0
- package/dist/types/modules/coupon/services/custom-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/global-coupon.service.d.ts +1 -1
- package/dist/types/modules/coupon/services/global-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/helper.service.d.ts +2 -1
- package/dist/types/modules/coupon/services/helper.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/individual-store-coupon.service.d.ts +2 -0
- package/dist/types/modules/coupon/services/individual-store-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/individual-user-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/patterns/repository/CouponMetricsRepository.d.ts +10 -4
- package/dist/types/modules/coupon/services/patterns/repository/CouponMetricsRepository.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/patterns/repository/CouponRepository.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/referral-code-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/referral-reward-coupon.service.d.ts +1 -1
- package/dist/types/modules/coupon/services/referral-reward-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/services/shops-categories-coupon.service.d.ts +2 -0
- package/dist/types/modules/coupon/services/shops-categories-coupon.service.d.ts.map +1 -1
- package/dist/types/modules/coupon/validations/coupon.validation.d.ts +359 -34
- package/dist/types/modules/coupon/validations/coupon.validation.d.ts.map +1 -1
- package/dist/types/modules/limited-time-offer/limited-time-offer.router.d.ts +6 -6
- package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.router.d.ts +6 -6
- package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.validation.d.ts +30 -30
- package/dist/types/modules/marketing/services/marketing.service.d.ts.map +1 -1
- package/dist/types/modules/marketing/services/synchronize-product-marketing.service.d.ts +2 -0
- package/dist/types/modules/marketing/services/synchronize-product-marketing.service.d.ts.map +1 -1
- package/dist/types/modules/marketing/validations/buy1-get1-marketing.validation.d.ts +24 -24
- package/dist/types/modules/marketing/validations/discount-marketing.validation.d.ts +36 -36
- package/dist/types/modules/marketing/validations/featured-marketing.validation.d.ts +6 -6
- package/dist/types/modules/marketing/validations/free-delivery-marketing.validation.d.ts +4 -4
- package/dist/types/modules/marketing/validations/marketing.validation.d.ts +2 -2
- package/dist/types/modules/marketing/validations/product-marketing.validation.d.ts +7 -7
- package/dist/types/modules/marketing/validations/punch-marketing.validation.d.ts +4 -4
- package/dist/types/modules/punch-marketing-history/routers/punch-marketing-history.router.d.ts +1 -1
- package/dist/types/modules/punch-marketing-history/validations/punch-marketing-history.validation.d.ts +2 -2
- package/dist/types/modules/tournament/config/config.builder.d.ts +5 -0
- package/dist/types/modules/tournament/config/config.builder.d.ts.map +1 -0
- package/dist/types/modules/tournament/config/config.repository.d.ts +13 -0
- package/dist/types/modules/tournament/config/config.repository.d.ts.map +1 -0
- package/dist/types/modules/tournament/config/config.router.d.ts +363 -0
- package/dist/types/modules/tournament/config/config.router.d.ts.map +1 -0
- package/dist/types/modules/tournament/config/config.service.d.ts +14 -0
- package/dist/types/modules/tournament/config/config.service.d.ts.map +1 -0
- package/dist/types/modules/tournament/config/config.validation.d.ts +1014 -0
- package/dist/types/modules/tournament/config/config.validation.d.ts.map +1 -0
- package/dist/types/modules/tournament/config/tournament-config.validation.d.ts +201 -0
- package/dist/types/modules/tournament/config/tournament-config.validation.d.ts.map +1 -0
- package/dist/types/modules/tournament/match/events/match-ended.consumer.d.ts +2 -0
- package/dist/types/modules/tournament/match/events/match-ended.consumer.d.ts.map +1 -0
- package/dist/types/modules/tournament/match/events/match-ended.event.d.ts +14 -0
- package/dist/types/modules/tournament/match/events/match-ended.event.d.ts.map +1 -0
- package/dist/types/modules/tournament/match/match.builder.d.ts +38 -0
- package/dist/types/modules/tournament/match/match.builder.d.ts.map +1 -0
- package/dist/types/modules/tournament/match/match.repository.d.ts +13 -0
- package/dist/types/modules/tournament/match/match.repository.d.ts.map +1 -0
- package/dist/types/modules/tournament/match/match.router.d.ts +489 -0
- package/dist/types/modules/tournament/match/match.router.d.ts.map +1 -0
- package/dist/types/modules/tournament/match/match.service.d.ts +29 -0
- package/dist/types/modules/tournament/match/match.service.d.ts.map +1 -0
- package/dist/types/modules/tournament/match/match.validation.d.ts +880 -0
- package/dist/types/modules/tournament/match/match.validation.d.ts.map +1 -0
- package/dist/types/modules/tournament/notification/jobs/notification.producer.d.ts +13 -0
- package/dist/types/modules/tournament/notification/jobs/notification.producer.d.ts.map +1 -0
- package/dist/types/modules/tournament/notification/jobs/notification.worker.d.ts +7 -0
- package/dist/types/modules/tournament/notification/jobs/notification.worker.d.ts.map +1 -0
- package/dist/types/modules/tournament/notification/notification.scheduler.service.d.ts +10 -0
- package/dist/types/modules/tournament/notification/notification.scheduler.service.d.ts.map +1 -0
- package/dist/types/modules/tournament/notification/notification.service.d.ts +11 -0
- package/dist/types/modules/tournament/notification/notification.service.d.ts.map +1 -0
- package/dist/types/modules/tournament/participant/participant.repository.d.ts +12 -0
- package/dist/types/modules/tournament/participant/participant.repository.d.ts.map +1 -0
- package/dist/types/modules/tournament/participant/participant.router.d.ts +104 -0
- package/dist/types/modules/tournament/participant/participant.router.d.ts.map +1 -0
- package/dist/types/modules/tournament/participant/participant.service.d.ts +14 -0
- package/dist/types/modules/tournament/participant/participant.service.d.ts.map +1 -0
- package/dist/types/modules/tournament/participant/participant.validation.d.ts +719 -0
- package/dist/types/modules/tournament/participant/participant.validation.d.ts.map +1 -0
- package/dist/types/modules/tournament/prediction/prediction.builder.d.ts +14 -0
- package/dist/types/modules/tournament/prediction/prediction.builder.d.ts.map +1 -0
- package/dist/types/modules/tournament/prediction/prediction.repository.d.ts +11 -0
- package/dist/types/modules/tournament/prediction/prediction.repository.d.ts.map +1 -0
- package/dist/types/modules/tournament/prediction/prediction.router.d.ts +133 -0
- package/dist/types/modules/tournament/prediction/prediction.router.d.ts.map +1 -0
- package/dist/types/modules/tournament/prediction/prediction.service.d.ts +17 -0
- package/dist/types/modules/tournament/prediction/prediction.service.d.ts.map +1 -0
- package/dist/types/modules/tournament/prediction/prediction.validation.d.ts +575 -0
- package/dist/types/modules/tournament/prediction/prediction.validation.d.ts.map +1 -0
- package/dist/types/modules/tournament/reward/handlers/coupon-reward.handler.d.ts +8 -0
- package/dist/types/modules/tournament/reward/handlers/coupon-reward.handler.d.ts.map +1 -0
- package/dist/types/modules/tournament/reward/reward.factory.d.ts +6 -0
- package/dist/types/modules/tournament/reward/reward.factory.d.ts.map +1 -0
- package/dist/types/modules/tournament/reward/reward.interface.d.ts +5 -0
- package/dist/types/modules/tournament/reward/reward.interface.d.ts.map +1 -0
- package/dist/types/modules/tournament/reward/reward.service.d.ts +6 -0
- package/dist/types/modules/tournament/reward/reward.service.d.ts.map +1 -0
- package/dist/types/modules/tournament/reward/reward.types.d.ts +11 -0
- package/dist/types/modules/tournament/reward/reward.types.d.ts.map +1 -0
- package/dist/types/modules/tournament/team/team.builder.d.ts +19 -0
- package/dist/types/modules/tournament/team/team.builder.d.ts.map +1 -0
- package/dist/types/modules/tournament/team/team.repository.d.ts +11 -0
- package/dist/types/modules/tournament/team/team.repository.d.ts.map +1 -0
- package/dist/types/modules/tournament/team/team.router.d.ts +237 -0
- package/dist/types/modules/tournament/team/team.router.d.ts.map +1 -0
- package/dist/types/modules/tournament/team/team.service.d.ts +15 -0
- package/dist/types/modules/tournament/team/team.service.d.ts.map +1 -0
- package/dist/types/modules/tournament/team/team.validation.d.ts +986 -0
- package/dist/types/modules/tournament/team/team.validation.d.ts.map +1 -0
- package/dist/types/modules/tournament/tournament.router.d.ts +1336 -0
- package/dist/types/modules/tournament/tournament.router.d.ts.map +1 -0
- package/package.json +3 -3
- package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.service.d.ts +0 -1
- package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.service.d.ts.map +0 -1
- package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.service.js +0 -2
- package/dist/lib/modules/limited-time-offer/participant/limited-time-offer-participant.service.js.map +0 -1
|
@@ -1252,6 +1252,7 @@ export declare const CouponValidationOutputSchema: z.ZodObject<{
|
|
|
1252
1252
|
secondaryVendorCut?: number | undefined;
|
|
1253
1253
|
}>>;
|
|
1254
1254
|
couponDetails: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1255
|
+
couponInfo: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1255
1256
|
}, "strip", z.ZodTypeAny, {
|
|
1256
1257
|
isValid: boolean;
|
|
1257
1258
|
message?: string | undefined;
|
|
@@ -1268,6 +1269,7 @@ export declare const CouponValidationOutputSchema: z.ZodObject<{
|
|
|
1268
1269
|
secondaryVendorCut?: number | undefined;
|
|
1269
1270
|
} | undefined;
|
|
1270
1271
|
couponDetails?: Record<string, unknown> | undefined;
|
|
1272
|
+
couponInfo?: Record<string, unknown> | undefined;
|
|
1271
1273
|
}, {
|
|
1272
1274
|
message?: string | undefined;
|
|
1273
1275
|
isValid?: boolean | undefined;
|
|
@@ -1284,6 +1286,7 @@ export declare const CouponValidationOutputSchema: z.ZodObject<{
|
|
|
1284
1286
|
secondaryVendorCut?: number | undefined;
|
|
1285
1287
|
} | undefined;
|
|
1286
1288
|
couponDetails?: Record<string, unknown> | undefined;
|
|
1289
|
+
couponInfo?: Record<string, unknown> | undefined;
|
|
1287
1290
|
}>;
|
|
1288
1291
|
export declare const CouponCodeSchema: z.ZodObject<{
|
|
1289
1292
|
couponCode: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -1345,6 +1348,7 @@ export declare const CouponValidationResponseSchema: z.ZodObject<{
|
|
|
1345
1348
|
secondaryVendorCut?: number | undefined;
|
|
1346
1349
|
} | undefined;
|
|
1347
1350
|
couponDetails?: Record<string, unknown> | undefined;
|
|
1351
|
+
couponInfo?: Record<string, unknown> | undefined;
|
|
1348
1352
|
}, z.ZodTypeDef, {
|
|
1349
1353
|
message?: string | undefined;
|
|
1350
1354
|
isValid?: boolean | undefined;
|
|
@@ -1361,6 +1365,7 @@ export declare const CouponValidationResponseSchema: z.ZodObject<{
|
|
|
1361
1365
|
secondaryVendorCut?: number | undefined;
|
|
1362
1366
|
} | undefined;
|
|
1363
1367
|
couponDetails?: Record<string, unknown> | undefined;
|
|
1368
|
+
couponInfo?: Record<string, unknown> | undefined;
|
|
1364
1369
|
}>, "many">;
|
|
1365
1370
|
}, "strip", z.ZodTypeAny, {
|
|
1366
1371
|
documents: {
|
|
@@ -1379,6 +1384,7 @@ export declare const CouponValidationResponseSchema: z.ZodObject<{
|
|
|
1379
1384
|
secondaryVendorCut?: number | undefined;
|
|
1380
1385
|
} | undefined;
|
|
1381
1386
|
couponDetails?: Record<string, unknown> | undefined;
|
|
1387
|
+
couponInfo?: Record<string, unknown> | undefined;
|
|
1382
1388
|
}[];
|
|
1383
1389
|
metadata?: {
|
|
1384
1390
|
page: number;
|
|
@@ -1403,6 +1409,7 @@ export declare const CouponValidationResponseSchema: z.ZodObject<{
|
|
|
1403
1409
|
secondaryVendorCut?: number | undefined;
|
|
1404
1410
|
} | undefined;
|
|
1405
1411
|
couponDetails?: Record<string, unknown> | undefined;
|
|
1412
|
+
couponInfo?: Record<string, unknown> | undefined;
|
|
1406
1413
|
}[];
|
|
1407
1414
|
metadata?: {
|
|
1408
1415
|
page: number;
|
|
@@ -1426,6 +1433,7 @@ export declare const CouponValidationResponseSchema: z.ZodObject<{
|
|
|
1426
1433
|
secondaryVendorCut?: number | undefined;
|
|
1427
1434
|
} | undefined;
|
|
1428
1435
|
couponDetails?: Record<string, unknown> | undefined;
|
|
1436
|
+
couponInfo?: Record<string, unknown> | undefined;
|
|
1429
1437
|
}, z.ZodTypeDef, {
|
|
1430
1438
|
message?: string | undefined;
|
|
1431
1439
|
isValid?: boolean | undefined;
|
|
@@ -1442,6 +1450,7 @@ export declare const CouponValidationResponseSchema: z.ZodObject<{
|
|
|
1442
1450
|
secondaryVendorCut?: number | undefined;
|
|
1443
1451
|
} | undefined;
|
|
1444
1452
|
couponDetails?: Record<string, unknown> | undefined;
|
|
1453
|
+
couponInfo?: Record<string, unknown> | undefined;
|
|
1445
1454
|
}>]>>;
|
|
1446
1455
|
}, "strip", z.ZodTypeAny, {
|
|
1447
1456
|
message: string;
|
|
@@ -1462,6 +1471,7 @@ export declare const CouponValidationResponseSchema: z.ZodObject<{
|
|
|
1462
1471
|
secondaryVendorCut?: number | undefined;
|
|
1463
1472
|
} | undefined;
|
|
1464
1473
|
couponDetails?: Record<string, unknown> | undefined;
|
|
1474
|
+
couponInfo?: Record<string, unknown> | undefined;
|
|
1465
1475
|
} | {
|
|
1466
1476
|
documents: {
|
|
1467
1477
|
message?: string | undefined;
|
|
@@ -1479,6 +1489,7 @@ export declare const CouponValidationResponseSchema: z.ZodObject<{
|
|
|
1479
1489
|
secondaryVendorCut?: number | undefined;
|
|
1480
1490
|
} | undefined;
|
|
1481
1491
|
couponDetails?: Record<string, unknown> | undefined;
|
|
1492
|
+
couponInfo?: Record<string, unknown> | undefined;
|
|
1482
1493
|
}[];
|
|
1483
1494
|
metadata?: {
|
|
1484
1495
|
page: number;
|
|
@@ -1506,6 +1517,7 @@ export declare const CouponValidationResponseSchema: z.ZodObject<{
|
|
|
1506
1517
|
secondaryVendorCut?: number | undefined;
|
|
1507
1518
|
} | undefined;
|
|
1508
1519
|
couponDetails?: Record<string, unknown> | undefined;
|
|
1520
|
+
couponInfo?: Record<string, unknown> | undefined;
|
|
1509
1521
|
} | {
|
|
1510
1522
|
documents: {
|
|
1511
1523
|
message?: string | undefined;
|
|
@@ -1523,6 +1535,7 @@ export declare const CouponValidationResponseSchema: z.ZodObject<{
|
|
|
1523
1535
|
secondaryVendorCut?: number | undefined;
|
|
1524
1536
|
} | undefined;
|
|
1525
1537
|
couponDetails?: Record<string, unknown> | undefined;
|
|
1538
|
+
couponInfo?: Record<string, unknown> | undefined;
|
|
1526
1539
|
}[];
|
|
1527
1540
|
metadata?: {
|
|
1528
1541
|
page: number;
|
|
@@ -1576,12 +1589,12 @@ export declare const GraphInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1576
1589
|
startDate: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>, Date, string | Date>;
|
|
1577
1590
|
endDate: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, Date, string>, z.ZodDate]>, Date, string | Date>, Date, string | Date>, Date, string | Date>;
|
|
1578
1591
|
} & {
|
|
1579
|
-
graphType: z.
|
|
1592
|
+
graphType: z.ZodOptional<z.ZodNativeEnum<typeof GraphType>>;
|
|
1580
1593
|
itemType: z.ZodOptional<z.ZodNativeEnum<typeof ItemType>>;
|
|
1581
1594
|
}, "strict", z.ZodTypeAny, {
|
|
1582
1595
|
startDate: Date;
|
|
1583
1596
|
endDate: Date;
|
|
1584
|
-
graphType
|
|
1597
|
+
graphType?: GraphType | undefined;
|
|
1585
1598
|
itemType?: ItemType | undefined;
|
|
1586
1599
|
}, {
|
|
1587
1600
|
startDate: string | Date;
|
|
@@ -1591,7 +1604,7 @@ export declare const GraphInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1591
1604
|
}>, {
|
|
1592
1605
|
startDate: Date;
|
|
1593
1606
|
endDate: Date;
|
|
1594
|
-
graphType
|
|
1607
|
+
graphType?: GraphType | undefined;
|
|
1595
1608
|
itemType?: ItemType | undefined;
|
|
1596
1609
|
}, {
|
|
1597
1610
|
startDate: string | Date;
|
|
@@ -1624,6 +1637,91 @@ export declare const CouponMetricsOutputSchema: z.ZodObject<{
|
|
|
1624
1637
|
totalRevenue?: number | undefined;
|
|
1625
1638
|
totalProfit?: number | undefined;
|
|
1626
1639
|
}>;
|
|
1640
|
+
export declare const CouponMetricsByTypeSchema: z.ZodObject<{
|
|
1641
|
+
couponType: z.ZodNativeEnum<typeof CouponType>;
|
|
1642
|
+
couponTypeTitle: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1643
|
+
totalCouponOrders: z.ZodDefault<z.ZodNumber>;
|
|
1644
|
+
totalRevenue: z.ZodDefault<z.ZodNumber>;
|
|
1645
|
+
averageOrderValue: z.ZodDefault<z.ZodNumber>;
|
|
1646
|
+
usage: z.ZodDefault<z.ZodNumber>;
|
|
1647
|
+
ongoing: z.ZodDefault<z.ZodNumber>;
|
|
1648
|
+
amountSpent: z.ZodDefault<z.ZodNumber>;
|
|
1649
|
+
redemptionRate: z.ZodDefault<z.ZodNumber>;
|
|
1650
|
+
}, "strip", z.ZodTypeAny, {
|
|
1651
|
+
redemptionRate: number;
|
|
1652
|
+
totalCouponOrders: number;
|
|
1653
|
+
totalRevenue: number;
|
|
1654
|
+
couponType: CouponType;
|
|
1655
|
+
couponTypeTitle: string;
|
|
1656
|
+
averageOrderValue: number;
|
|
1657
|
+
usage: number;
|
|
1658
|
+
ongoing: number;
|
|
1659
|
+
amountSpent: number;
|
|
1660
|
+
}, {
|
|
1661
|
+
couponType: CouponType;
|
|
1662
|
+
couponTypeTitle: string;
|
|
1663
|
+
redemptionRate?: number | undefined;
|
|
1664
|
+
totalCouponOrders?: number | undefined;
|
|
1665
|
+
totalRevenue?: number | undefined;
|
|
1666
|
+
averageOrderValue?: number | undefined;
|
|
1667
|
+
usage?: number | undefined;
|
|
1668
|
+
ongoing?: number | undefined;
|
|
1669
|
+
amountSpent?: number | undefined;
|
|
1670
|
+
}>;
|
|
1671
|
+
export declare const GraphSchema: z.ZodObject<{
|
|
1672
|
+
categories: z.ZodArray<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
1673
|
+
series: z.ZodArray<z.ZodObject<{
|
|
1674
|
+
name: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1675
|
+
data: z.ZodArray<z.ZodNumber, "many">;
|
|
1676
|
+
}, "strip", z.ZodTypeAny, {
|
|
1677
|
+
name: string;
|
|
1678
|
+
data: number[];
|
|
1679
|
+
}, {
|
|
1680
|
+
name: string;
|
|
1681
|
+
data: number[];
|
|
1682
|
+
}>, "many">;
|
|
1683
|
+
}, "strip", z.ZodTypeAny, {
|
|
1684
|
+
categories: string[];
|
|
1685
|
+
series: {
|
|
1686
|
+
name: string;
|
|
1687
|
+
data: number[];
|
|
1688
|
+
}[];
|
|
1689
|
+
}, {
|
|
1690
|
+
categories: string[];
|
|
1691
|
+
series: {
|
|
1692
|
+
name: string;
|
|
1693
|
+
data: number[];
|
|
1694
|
+
}[];
|
|
1695
|
+
}>;
|
|
1696
|
+
export declare const TotalProfitGraphSchema: z.ZodObject<{
|
|
1697
|
+
categories: z.ZodArray<z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>, "many">;
|
|
1698
|
+
series: z.ZodArray<z.ZodObject<{
|
|
1699
|
+
name: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1700
|
+
data: z.ZodArray<z.ZodNumber, "many">;
|
|
1701
|
+
}, "strip", z.ZodTypeAny, {
|
|
1702
|
+
name: string;
|
|
1703
|
+
data: number[];
|
|
1704
|
+
}, {
|
|
1705
|
+
name: string;
|
|
1706
|
+
data: number[];
|
|
1707
|
+
}>, "many">;
|
|
1708
|
+
} & {
|
|
1709
|
+
totalProfit: z.ZodDefault<z.ZodNumber>;
|
|
1710
|
+
}, "strip", z.ZodTypeAny, {
|
|
1711
|
+
totalProfit: number;
|
|
1712
|
+
categories: string[];
|
|
1713
|
+
series: {
|
|
1714
|
+
name: string;
|
|
1715
|
+
data: number[];
|
|
1716
|
+
}[];
|
|
1717
|
+
}, {
|
|
1718
|
+
categories: string[];
|
|
1719
|
+
series: {
|
|
1720
|
+
name: string;
|
|
1721
|
+
data: number[];
|
|
1722
|
+
}[];
|
|
1723
|
+
totalProfit?: number | undefined;
|
|
1724
|
+
}>;
|
|
1627
1725
|
export declare const CouponMetricsResponseSchema: z.ZodObject<{
|
|
1628
1726
|
success: z.ZodBoolean;
|
|
1629
1727
|
message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -1767,37 +1865,6 @@ export declare const CouponMetricsResponseSchema: z.ZodObject<{
|
|
|
1767
1865
|
} | undefined;
|
|
1768
1866
|
} | undefined;
|
|
1769
1867
|
}>;
|
|
1770
|
-
export declare const CouponMetricsByTypeSchema: z.ZodObject<{
|
|
1771
|
-
couponType: z.ZodNativeEnum<typeof CouponType>;
|
|
1772
|
-
couponTypeTitle: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
1773
|
-
totalCouponOrders: z.ZodDefault<z.ZodNumber>;
|
|
1774
|
-
totalRevenue: z.ZodDefault<z.ZodNumber>;
|
|
1775
|
-
averageOrderValue: z.ZodDefault<z.ZodNumber>;
|
|
1776
|
-
usage: z.ZodDefault<z.ZodNumber>;
|
|
1777
|
-
ongoing: z.ZodDefault<z.ZodNumber>;
|
|
1778
|
-
amountSpent: z.ZodDefault<z.ZodNumber>;
|
|
1779
|
-
redemptionRate: z.ZodDefault<z.ZodNumber>;
|
|
1780
|
-
}, "strip", z.ZodTypeAny, {
|
|
1781
|
-
redemptionRate: number;
|
|
1782
|
-
totalCouponOrders: number;
|
|
1783
|
-
totalRevenue: number;
|
|
1784
|
-
couponType: CouponType;
|
|
1785
|
-
couponTypeTitle: string;
|
|
1786
|
-
averageOrderValue: number;
|
|
1787
|
-
usage: number;
|
|
1788
|
-
ongoing: number;
|
|
1789
|
-
amountSpent: number;
|
|
1790
|
-
}, {
|
|
1791
|
-
couponType: CouponType;
|
|
1792
|
-
couponTypeTitle: string;
|
|
1793
|
-
redemptionRate?: number | undefined;
|
|
1794
|
-
totalCouponOrders?: number | undefined;
|
|
1795
|
-
totalRevenue?: number | undefined;
|
|
1796
|
-
averageOrderValue?: number | undefined;
|
|
1797
|
-
usage?: number | undefined;
|
|
1798
|
-
ongoing?: number | undefined;
|
|
1799
|
-
amountSpent?: number | undefined;
|
|
1800
|
-
}>;
|
|
1801
1868
|
export declare const CouponMetricsByTypeResponseSchema: z.ZodObject<{
|
|
1802
1869
|
success: z.ZodBoolean;
|
|
1803
1870
|
message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
@@ -1961,6 +2028,262 @@ export declare const CouponMetricsByTypeResponseSchema: z.ZodObject<{
|
|
|
1961
2028
|
} | undefined;
|
|
1962
2029
|
} | undefined;
|
|
1963
2030
|
}>;
|
|
2031
|
+
export declare const GraphResponseSchema: z.ZodObject<{
|
|
2032
|
+
success: z.ZodBoolean;
|
|
2033
|
+
message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2034
|
+
data: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2035
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
2036
|
+
page: z.ZodNumber;
|
|
2037
|
+
size: z.ZodNumber;
|
|
2038
|
+
totalElements: z.ZodNumber;
|
|
2039
|
+
totalPages: z.ZodNumber;
|
|
2040
|
+
}, "strip", z.ZodTypeAny, {
|
|
2041
|
+
page: number;
|
|
2042
|
+
size: number;
|
|
2043
|
+
totalElements: number;
|
|
2044
|
+
totalPages: number;
|
|
2045
|
+
}, {
|
|
2046
|
+
page: number;
|
|
2047
|
+
size: number;
|
|
2048
|
+
totalElements: number;
|
|
2049
|
+
totalPages: number;
|
|
2050
|
+
}>>;
|
|
2051
|
+
documents: z.ZodArray<z.ZodType<{
|
|
2052
|
+
categories: string[];
|
|
2053
|
+
series: {
|
|
2054
|
+
name: string;
|
|
2055
|
+
data: number[];
|
|
2056
|
+
}[];
|
|
2057
|
+
}, z.ZodTypeDef, {
|
|
2058
|
+
categories: string[];
|
|
2059
|
+
series: {
|
|
2060
|
+
name: string;
|
|
2061
|
+
data: number[];
|
|
2062
|
+
}[];
|
|
2063
|
+
}>, "many">;
|
|
2064
|
+
}, "strip", z.ZodTypeAny, {
|
|
2065
|
+
documents: {
|
|
2066
|
+
categories: string[];
|
|
2067
|
+
series: {
|
|
2068
|
+
name: string;
|
|
2069
|
+
data: number[];
|
|
2070
|
+
}[];
|
|
2071
|
+
}[];
|
|
2072
|
+
metadata?: {
|
|
2073
|
+
page: number;
|
|
2074
|
+
size: number;
|
|
2075
|
+
totalElements: number;
|
|
2076
|
+
totalPages: number;
|
|
2077
|
+
} | undefined;
|
|
2078
|
+
}, {
|
|
2079
|
+
documents: {
|
|
2080
|
+
categories: string[];
|
|
2081
|
+
series: {
|
|
2082
|
+
name: string;
|
|
2083
|
+
data: number[];
|
|
2084
|
+
}[];
|
|
2085
|
+
}[];
|
|
2086
|
+
metadata?: {
|
|
2087
|
+
page: number;
|
|
2088
|
+
size: number;
|
|
2089
|
+
totalElements: number;
|
|
2090
|
+
totalPages: number;
|
|
2091
|
+
} | undefined;
|
|
2092
|
+
}>, z.ZodType<{
|
|
2093
|
+
categories: string[];
|
|
2094
|
+
series: {
|
|
2095
|
+
name: string;
|
|
2096
|
+
data: number[];
|
|
2097
|
+
}[];
|
|
2098
|
+
}, z.ZodTypeDef, {
|
|
2099
|
+
categories: string[];
|
|
2100
|
+
series: {
|
|
2101
|
+
name: string;
|
|
2102
|
+
data: number[];
|
|
2103
|
+
}[];
|
|
2104
|
+
}>]>>;
|
|
2105
|
+
}, "strip", z.ZodTypeAny, {
|
|
2106
|
+
message: string;
|
|
2107
|
+
success: boolean;
|
|
2108
|
+
data?: {
|
|
2109
|
+
categories: string[];
|
|
2110
|
+
series: {
|
|
2111
|
+
name: string;
|
|
2112
|
+
data: number[];
|
|
2113
|
+
}[];
|
|
2114
|
+
} | {
|
|
2115
|
+
documents: {
|
|
2116
|
+
categories: string[];
|
|
2117
|
+
series: {
|
|
2118
|
+
name: string;
|
|
2119
|
+
data: number[];
|
|
2120
|
+
}[];
|
|
2121
|
+
}[];
|
|
2122
|
+
metadata?: {
|
|
2123
|
+
page: number;
|
|
2124
|
+
size: number;
|
|
2125
|
+
totalElements: number;
|
|
2126
|
+
totalPages: number;
|
|
2127
|
+
} | undefined;
|
|
2128
|
+
} | undefined;
|
|
2129
|
+
}, {
|
|
2130
|
+
message: string;
|
|
2131
|
+
success: boolean;
|
|
2132
|
+
data?: {
|
|
2133
|
+
categories: string[];
|
|
2134
|
+
series: {
|
|
2135
|
+
name: string;
|
|
2136
|
+
data: number[];
|
|
2137
|
+
}[];
|
|
2138
|
+
} | {
|
|
2139
|
+
documents: {
|
|
2140
|
+
categories: string[];
|
|
2141
|
+
series: {
|
|
2142
|
+
name: string;
|
|
2143
|
+
data: number[];
|
|
2144
|
+
}[];
|
|
2145
|
+
}[];
|
|
2146
|
+
metadata?: {
|
|
2147
|
+
page: number;
|
|
2148
|
+
size: number;
|
|
2149
|
+
totalElements: number;
|
|
2150
|
+
totalPages: number;
|
|
2151
|
+
} | undefined;
|
|
2152
|
+
} | undefined;
|
|
2153
|
+
}>;
|
|
2154
|
+
export declare const TotalProfitGraphResponseSchema: z.ZodObject<{
|
|
2155
|
+
success: z.ZodBoolean;
|
|
2156
|
+
message: z.ZodString | z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
|
2157
|
+
data: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
2158
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
2159
|
+
page: z.ZodNumber;
|
|
2160
|
+
size: z.ZodNumber;
|
|
2161
|
+
totalElements: z.ZodNumber;
|
|
2162
|
+
totalPages: z.ZodNumber;
|
|
2163
|
+
}, "strip", z.ZodTypeAny, {
|
|
2164
|
+
page: number;
|
|
2165
|
+
size: number;
|
|
2166
|
+
totalElements: number;
|
|
2167
|
+
totalPages: number;
|
|
2168
|
+
}, {
|
|
2169
|
+
page: number;
|
|
2170
|
+
size: number;
|
|
2171
|
+
totalElements: number;
|
|
2172
|
+
totalPages: number;
|
|
2173
|
+
}>>;
|
|
2174
|
+
documents: z.ZodArray<z.ZodType<{
|
|
2175
|
+
categories: string[];
|
|
2176
|
+
series: {
|
|
2177
|
+
name: string;
|
|
2178
|
+
data: number[];
|
|
2179
|
+
}[];
|
|
2180
|
+
totalProfit?: number | undefined;
|
|
2181
|
+
}, z.ZodTypeDef, {
|
|
2182
|
+
categories: string[];
|
|
2183
|
+
series: {
|
|
2184
|
+
name: string;
|
|
2185
|
+
data: number[];
|
|
2186
|
+
}[];
|
|
2187
|
+
totalProfit?: number | undefined;
|
|
2188
|
+
}>, "many">;
|
|
2189
|
+
}, "strip", z.ZodTypeAny, {
|
|
2190
|
+
documents: {
|
|
2191
|
+
categories: string[];
|
|
2192
|
+
series: {
|
|
2193
|
+
name: string;
|
|
2194
|
+
data: number[];
|
|
2195
|
+
}[];
|
|
2196
|
+
totalProfit?: number | undefined;
|
|
2197
|
+
}[];
|
|
2198
|
+
metadata?: {
|
|
2199
|
+
page: number;
|
|
2200
|
+
size: number;
|
|
2201
|
+
totalElements: number;
|
|
2202
|
+
totalPages: number;
|
|
2203
|
+
} | undefined;
|
|
2204
|
+
}, {
|
|
2205
|
+
documents: {
|
|
2206
|
+
categories: string[];
|
|
2207
|
+
series: {
|
|
2208
|
+
name: string;
|
|
2209
|
+
data: number[];
|
|
2210
|
+
}[];
|
|
2211
|
+
totalProfit?: number | undefined;
|
|
2212
|
+
}[];
|
|
2213
|
+
metadata?: {
|
|
2214
|
+
page: number;
|
|
2215
|
+
size: number;
|
|
2216
|
+
totalElements: number;
|
|
2217
|
+
totalPages: number;
|
|
2218
|
+
} | undefined;
|
|
2219
|
+
}>, z.ZodType<{
|
|
2220
|
+
categories: string[];
|
|
2221
|
+
series: {
|
|
2222
|
+
name: string;
|
|
2223
|
+
data: number[];
|
|
2224
|
+
}[];
|
|
2225
|
+
totalProfit?: number | undefined;
|
|
2226
|
+
}, z.ZodTypeDef, {
|
|
2227
|
+
categories: string[];
|
|
2228
|
+
series: {
|
|
2229
|
+
name: string;
|
|
2230
|
+
data: number[];
|
|
2231
|
+
}[];
|
|
2232
|
+
totalProfit?: number | undefined;
|
|
2233
|
+
}>]>>;
|
|
2234
|
+
}, "strip", z.ZodTypeAny, {
|
|
2235
|
+
message: string;
|
|
2236
|
+
success: boolean;
|
|
2237
|
+
data?: {
|
|
2238
|
+
categories: string[];
|
|
2239
|
+
series: {
|
|
2240
|
+
name: string;
|
|
2241
|
+
data: number[];
|
|
2242
|
+
}[];
|
|
2243
|
+
totalProfit?: number | undefined;
|
|
2244
|
+
} | {
|
|
2245
|
+
documents: {
|
|
2246
|
+
categories: string[];
|
|
2247
|
+
series: {
|
|
2248
|
+
name: string;
|
|
2249
|
+
data: number[];
|
|
2250
|
+
}[];
|
|
2251
|
+
totalProfit?: number | undefined;
|
|
2252
|
+
}[];
|
|
2253
|
+
metadata?: {
|
|
2254
|
+
page: number;
|
|
2255
|
+
size: number;
|
|
2256
|
+
totalElements: number;
|
|
2257
|
+
totalPages: number;
|
|
2258
|
+
} | undefined;
|
|
2259
|
+
} | undefined;
|
|
2260
|
+
}, {
|
|
2261
|
+
message: string;
|
|
2262
|
+
success: boolean;
|
|
2263
|
+
data?: {
|
|
2264
|
+
categories: string[];
|
|
2265
|
+
series: {
|
|
2266
|
+
name: string;
|
|
2267
|
+
data: number[];
|
|
2268
|
+
}[];
|
|
2269
|
+
totalProfit?: number | undefined;
|
|
2270
|
+
} | {
|
|
2271
|
+
documents: {
|
|
2272
|
+
categories: string[];
|
|
2273
|
+
series: {
|
|
2274
|
+
name: string;
|
|
2275
|
+
data: number[];
|
|
2276
|
+
}[];
|
|
2277
|
+
totalProfit?: number | undefined;
|
|
2278
|
+
}[];
|
|
2279
|
+
metadata?: {
|
|
2280
|
+
page: number;
|
|
2281
|
+
size: number;
|
|
2282
|
+
totalElements: number;
|
|
2283
|
+
totalPages: number;
|
|
2284
|
+
} | undefined;
|
|
2285
|
+
} | undefined;
|
|
2286
|
+
}>;
|
|
1964
2287
|
/**
|
|
1965
2288
|
* Export DTO types
|
|
1966
2289
|
*/
|
|
@@ -1979,4 +2302,6 @@ export type DateInputDTO = DTO<typeof DateInputSchema>;
|
|
|
1979
2302
|
export type GraphInputDTO = DTO<typeof GraphInputSchema>;
|
|
1980
2303
|
export type CouponMetricsOutputDTO = DTO<typeof CouponMetricsOutputSchema>;
|
|
1981
2304
|
export type CouponMetricsByTypeDTO = DTO<typeof CouponMetricsByTypeSchema>;
|
|
2305
|
+
export type GraphDTO = DTO<typeof GraphSchema>;
|
|
2306
|
+
export type TotalProfitGraphDTO = DTO<typeof TotalProfitGraphSchema>;
|
|
1982
2307
|
//# sourceMappingURL=coupon.validation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coupon.validation.d.ts","sourceRoot":"/","sources":["modules/coupon/validations/coupon.validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAGN,GAAG,EACH,MAAM,2DAA2D,CAAC;AACnE,OAAO,EACN,sBAAsB,EACtB,UAAU,EACV,SAAS,EACT,QAAQ,EACR,MAAM,EACN,SAAS,EACT,MAAM,mCAAmC,CAAC;AAO3C;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;CAkBxB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCtB,CAAC;AASF;;GAEG;AACH,QAAA,MACa,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACpB,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAChB,cAAc,mNACV,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,GAAG,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC;AACvD,MAAM,MAAM,aAAa,GAAG,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC;AACzD,MAAM,MAAM,sBAAsB,GAAG,GAAG,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC3E,MAAM,MAAM,sBAAsB,GAAG,GAAG,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC3E,MAAM,MAAM,QAAQ,GAAG,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC;AAC/C,MAAM,MAAM,mBAAmB,GAAG,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -460,8 +460,8 @@ export declare const limitedTimeOfferRouter: import("@trpc/server").TRPCBuiltRou
|
|
|
460
460
|
data?: {
|
|
461
461
|
_id: string | import("mongoose").Types.ObjectId;
|
|
462
462
|
shop: string | import("mongoose").Types.ObjectId;
|
|
463
|
-
joinedAt: Date;
|
|
464
463
|
isEntireMenu: boolean;
|
|
464
|
+
joinedAt: Date;
|
|
465
465
|
campaign: string | import("mongoose").Types.ObjectId;
|
|
466
466
|
isOrderCapacityEnabled: boolean;
|
|
467
467
|
isWithdrawn: boolean;
|
|
@@ -476,8 +476,8 @@ export declare const limitedTimeOfferRouter: import("@trpc/server").TRPCBuiltRou
|
|
|
476
476
|
documents: {
|
|
477
477
|
_id: string | import("mongoose").Types.ObjectId;
|
|
478
478
|
shop: string | import("mongoose").Types.ObjectId;
|
|
479
|
-
joinedAt: Date;
|
|
480
479
|
isEntireMenu: boolean;
|
|
480
|
+
joinedAt: Date;
|
|
481
481
|
campaign: string | import("mongoose").Types.ObjectId;
|
|
482
482
|
isOrderCapacityEnabled: boolean;
|
|
483
483
|
isWithdrawn: boolean;
|
|
@@ -514,8 +514,8 @@ export declare const limitedTimeOfferRouter: import("@trpc/server").TRPCBuiltRou
|
|
|
514
514
|
data?: {
|
|
515
515
|
_id: string | import("mongoose").Types.ObjectId;
|
|
516
516
|
shop: string | import("mongoose").Types.ObjectId;
|
|
517
|
-
joinedAt: Date;
|
|
518
517
|
isEntireMenu: boolean;
|
|
518
|
+
joinedAt: Date;
|
|
519
519
|
campaign: string | import("mongoose").Types.ObjectId;
|
|
520
520
|
isOrderCapacityEnabled: boolean;
|
|
521
521
|
isWithdrawn: boolean;
|
|
@@ -530,8 +530,8 @@ export declare const limitedTimeOfferRouter: import("@trpc/server").TRPCBuiltRou
|
|
|
530
530
|
documents: {
|
|
531
531
|
_id: string | import("mongoose").Types.ObjectId;
|
|
532
532
|
shop: string | import("mongoose").Types.ObjectId;
|
|
533
|
-
joinedAt: Date;
|
|
534
533
|
isEntireMenu: boolean;
|
|
534
|
+
joinedAt: Date;
|
|
535
535
|
campaign: string | import("mongoose").Types.ObjectId;
|
|
536
536
|
isOrderCapacityEnabled: boolean;
|
|
537
537
|
isWithdrawn: boolean;
|
|
@@ -578,8 +578,8 @@ export declare const limitedTimeOfferRouter: import("@trpc/server").TRPCBuiltRou
|
|
|
578
578
|
maxDiscountCaps?: number[] | undefined;
|
|
579
579
|
} | undefined;
|
|
580
580
|
participant?: {
|
|
581
|
-
joinedAt: Date;
|
|
582
581
|
isEntireMenu: boolean;
|
|
582
|
+
joinedAt: Date;
|
|
583
583
|
isOrderCapacityEnabled: boolean;
|
|
584
584
|
productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
585
585
|
marketingId?: string | import("mongoose").Types.ObjectId | undefined;
|
|
@@ -600,8 +600,8 @@ export declare const limitedTimeOfferRouter: import("@trpc/server").TRPCBuiltRou
|
|
|
600
600
|
maxDiscountCaps?: number[] | undefined;
|
|
601
601
|
} | undefined;
|
|
602
602
|
participant?: {
|
|
603
|
-
joinedAt: Date;
|
|
604
603
|
isEntireMenu: boolean;
|
|
604
|
+
joinedAt: Date;
|
|
605
605
|
isOrderCapacityEnabled: boolean;
|
|
606
606
|
productIds?: (string | import("mongoose").Types.ObjectId)[] | undefined;
|
|
607
607
|
marketingId?: string | import("mongoose").Types.ObjectId | undefined;
|
package/dist/types/modules/limited-time-offer/participant/limited-time-offer-participant.router.d.ts
CHANGED
|
@@ -30,8 +30,8 @@ export declare const participantRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
30
30
|
data?: {
|
|
31
31
|
_id: string | mongoose.Types.ObjectId;
|
|
32
32
|
shop: string | mongoose.Types.ObjectId;
|
|
33
|
-
joinedAt: Date;
|
|
34
33
|
isEntireMenu: boolean;
|
|
34
|
+
joinedAt: Date;
|
|
35
35
|
campaign: string | mongoose.Types.ObjectId;
|
|
36
36
|
isOrderCapacityEnabled: boolean;
|
|
37
37
|
isWithdrawn: boolean;
|
|
@@ -46,8 +46,8 @@ export declare const participantRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
46
46
|
documents: {
|
|
47
47
|
_id: string | mongoose.Types.ObjectId;
|
|
48
48
|
shop: string | mongoose.Types.ObjectId;
|
|
49
|
-
joinedAt: Date;
|
|
50
49
|
isEntireMenu: boolean;
|
|
50
|
+
joinedAt: Date;
|
|
51
51
|
campaign: string | mongoose.Types.ObjectId;
|
|
52
52
|
isOrderCapacityEnabled: boolean;
|
|
53
53
|
isWithdrawn: boolean;
|
|
@@ -84,8 +84,8 @@ export declare const participantRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
84
84
|
data?: {
|
|
85
85
|
_id: string | mongoose.Types.ObjectId;
|
|
86
86
|
shop: string | mongoose.Types.ObjectId;
|
|
87
|
-
joinedAt: Date;
|
|
88
87
|
isEntireMenu: boolean;
|
|
88
|
+
joinedAt: Date;
|
|
89
89
|
campaign: string | mongoose.Types.ObjectId;
|
|
90
90
|
isOrderCapacityEnabled: boolean;
|
|
91
91
|
isWithdrawn: boolean;
|
|
@@ -100,8 +100,8 @@ export declare const participantRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
100
100
|
documents: {
|
|
101
101
|
_id: string | mongoose.Types.ObjectId;
|
|
102
102
|
shop: string | mongoose.Types.ObjectId;
|
|
103
|
-
joinedAt: Date;
|
|
104
103
|
isEntireMenu: boolean;
|
|
104
|
+
joinedAt: Date;
|
|
105
105
|
campaign: string | mongoose.Types.ObjectId;
|
|
106
106
|
isOrderCapacityEnabled: boolean;
|
|
107
107
|
isWithdrawn: boolean;
|
|
@@ -148,8 +148,8 @@ export declare const participantRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
148
148
|
maxDiscountCaps?: number[] | undefined;
|
|
149
149
|
} | undefined;
|
|
150
150
|
participant?: {
|
|
151
|
-
joinedAt: Date;
|
|
152
151
|
isEntireMenu: boolean;
|
|
152
|
+
joinedAt: Date;
|
|
153
153
|
isOrderCapacityEnabled: boolean;
|
|
154
154
|
productIds?: (string | mongoose.Types.ObjectId)[] | undefined;
|
|
155
155
|
marketingId?: string | mongoose.Types.ObjectId | undefined;
|
|
@@ -170,8 +170,8 @@ export declare const participantRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
170
170
|
maxDiscountCaps?: number[] | undefined;
|
|
171
171
|
} | undefined;
|
|
172
172
|
participant?: {
|
|
173
|
-
joinedAt: Date;
|
|
174
173
|
isEntireMenu: boolean;
|
|
174
|
+
joinedAt: Date;
|
|
175
175
|
isOrderCapacityEnabled: boolean;
|
|
176
176
|
productIds?: (string | mongoose.Types.ObjectId)[] | undefined;
|
|
177
177
|
marketingId?: string | mongoose.Types.ObjectId | undefined;
|