Filter for live conversations

This commit is contained in:
Pranav
2024-02-13 14:36:04 -08:00
parent 1a272e7a18
commit bcd5633d2a
11 changed files with 288 additions and 52 deletions
+2 -2
View File
@@ -6,8 +6,8 @@ class LiveReportsAPI extends ApiClient {
super('live_reports', { accountScoped: true, apiVersion: 'v2' });
}
getConversationMetric() {
return axios.get(`${this.url}/conversation_metrics`);
getConversationMetric(params = {}) {
return axios.get(`${this.url}/conversation_metrics`, { params });
}
getGroupedConversations({ groupBy } = { groupBy: 'assignee_id' }) {