Merge branch 'develop' into feat/captain-editor-integration

This commit is contained in:
Shivam Mishra
2026-01-13 18:09:53 +05:30
committed by GitHub
32 changed files with 955 additions and 185 deletions
+6
View File
@@ -61,6 +61,12 @@ class ReportsAPI extends ApiClient {
});
}
getConversationsSummaryReports({ from: since, to: until, businessHours }) {
return axios.get(`${this.url}/conversations_summary`, {
params: { since, until, business_hours: businessHours },
});
}
getConversationTrafficCSV({ daysBefore = 6 } = {}) {
return axios.get(`${this.url}/conversation_traffic`, {
params: { timezone_offset: getTimeOffset(), days_before: daysBefore },