managarten/services/mana-core-auth/src/referrals
Till-JS 6d918315c7 feat(auth): add fraud detection, cron jobs, and admin endpoints to referral system
- Add FraudDetectionService with IP/device fingerprinting, velocity checks,
  email pattern detection, and review queue management
- Add ReferralCronService for retention checks (hourly), daily stats
  aggregation, rate limit cleanup, and weekly tier recalculation
- Add ReferralsAdminController with endpoints for review queue,
  fraud patterns, and user referral management
- Integrate referral initialization into user registration flow
  (auto-create referral code, initialize tier, apply referral code)
- Add @nestjs/schedule dependency for cron jobs
- Export referrals schema from db/schema/index.ts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-07 16:09:39 +01:00
..
dto fix(manacore): auth flow and dashboard widget API fixes 2025-12-07 14:44:58 +01:00
services feat(auth): add fraud detection, cron jobs, and admin endpoints to referral system 2025-12-07 16:09:39 +01:00
referrals-admin.controller.ts feat(auth): add fraud detection, cron jobs, and admin endpoints to referral system 2025-12-07 16:09:39 +01:00
referrals.controller.ts fix(manacore): auth flow and dashboard widget API fixes 2025-12-07 14:44:58 +01:00
referrals.module.ts feat(auth): add fraud detection, cron jobs, and admin endpoints to referral system 2025-12-07 16:09:39 +01:00