Skip to content

IAV-767 : update referral system with new endpoints and statistics

saoud marouane a demandé de fusionner feature/IAV-767 vers develop
  • Bump iavia-common dependency version to 0.0.99-RELEASE.
  • Add new API paths for retrieving referrers list and global referral statistics.
  • Rename constants related to rewards from "first login" to "sign-up" for clarity.
  • Update ReferralController to handle pagination and filtering for referrers.
  • Introduce ReferralGlobalStatsDTO for global statistics and ReferrerListDTO for referrer details.
  • Implement ReferralServiceHelper to encapsulate common logic and validations.
  • Modify ReferralMapper to convert referrer summaries to DTOs with user info.
  • Enhance ReferralRepository with new queries for referrer summaries.
  • Update ReferredRepository to reflect changes in reward status checks.
  • Refactor ReferralServiceImpl to utilize the new helper methods and improve readability.
  • Create ReferrerSummaryProjection interface for projection queries.

Closes IAV-767

Rapports de requête de fusion