Files
telecom-platform/apps/api-server/internal
nutcas3 d011945ec2 feat: Add analytics handler with churn prediction, market metrics, and analytics types
- Add AnalyticsHandler with NewAnalyticsHandler constructor
- Add PredictChurn endpoint returning risk level, score, predicted date, reasons, and recommendations
- Add GetAtRiskCustomers with risk level filtering and configurable limit (max 1000)
- Add GetMarketMetrics returning market size, subscribers, share, growth rate, and country breakdown
- Add ChurnPrediction struct with ProfileID, RiskLevel, RiskScore
2026-05-03 13:25:31 +03:00
..