| 1 | from pydantic import BaseModel |
| 2 | |
| 3 | |
| 4 | class CustomerDashboardStatsResponse(BaseModel): |
| 5 | total_alerts: int |
| 6 | total_cases: int |
| 7 | total_agents: int |
| 8 | success: bool |
| 9 | message: str |
| 10 | |
| 11 | |
| 12 | class CustomerDashboardAlertStatsResponse(BaseModel): |
| 13 | total: int |
| 14 | open: int |
| 15 | in_progress: int |
| 16 | closed: int |
| 17 | success: bool |
| 18 | message: str |
| 19 | |
| 20 | |
| 21 | class CustomerDashboardCaseStatsResponse(BaseModel): |
| 22 | total: int |
| 23 | open: int |
| 24 | in_progress: int |
| 25 | closed: int |
| 26 | success: bool |
| 27 | message: str |
| 28 | |
| 29 | |
| 30 | class CustomerCaseFilterOptionsResponse(BaseModel): |
| 31 | statuses: list[str] |
| 32 | assigned_to: list[str] |
| 33 | success: bool |
| 34 | message: str |