feat: 발송 통계 페이지 API 연동 (#39) #40

Merged
seonkyu.kim merged 1 commits from feature/SPMS-39-statistics-api-integration into develop 2026-03-02 02:54:14 +00:00

1 Commits

Author SHA1 Message Date
SEAN
21dcc6335d feat: 발송 통계 페이지 API 연동 (#39)
- types.ts: Mock 데이터 7개 + SERVICE_FILTER_OPTIONS 삭제, swagger 기준 요청/응답 타입 15개 추가
- statistics.api.ts: 신규 생성 (fetchDailyStats, fetchHourlyStats, fetchDeviceStats, fetchHistoryList, fetchHistoryDetail, exportHistory)
- StatisticsPage.tsx: 4개 API 병렬 호출 + mapper 함수 6개로 차트 props 변환, fetchServices 서비스 필터 동적 로드
- StatisticsHistoryPage.tsx: 서버 필터링, API 페이지네이션, 엑셀 blob 다운로드, 패널에 messageCode 전달
- HistorySlidePanel.tsx: props를 messageCode로 변경, fetchHistoryDetail API 호출, 로딩 스켈레톤 추가

Closes #39
2026-03-02 11:52:23 +09:00