feat: Add live agent load report api (#4297)
This change allows the admin user to fetch conversation metrics for an account, agents, and filter conversation metrics for a specific agent. Fixes #4305
This commit is contained in:
18
swagger/definitions/resource/reports/conversation/agent.yml
Normal file
18
swagger/definitions/resource/reports/conversation/agent.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
type: object
|
||||
properties:
|
||||
user:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: number
|
||||
name:
|
||||
type: string
|
||||
thumbnail:
|
||||
type: string
|
||||
metric:
|
||||
type: object
|
||||
properties:
|
||||
open:
|
||||
type: number
|
||||
unattended:
|
||||
type: number
|
||||
29
swagger/definitions/resource/reports/summary.yml
Normal file
29
swagger/definitions/resource/reports/summary.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
type: object
|
||||
properties:
|
||||
avg_first_response_time:
|
||||
type: string
|
||||
avg_resolution_time:
|
||||
type: string
|
||||
conversations_count:
|
||||
type: number
|
||||
incoming_messages_count:
|
||||
type: number
|
||||
outgoing_messages_count:
|
||||
type: number
|
||||
resolutions_count:
|
||||
type: number
|
||||
previous:
|
||||
type: object
|
||||
properties:
|
||||
avg_first_response_time:
|
||||
type: string
|
||||
avg_resolution_time:
|
||||
type: string
|
||||
conversations_count:
|
||||
type: number
|
||||
incoming_messages_count:
|
||||
type: number
|
||||
outgoing_messages_count:
|
||||
type: number
|
||||
resolutions_count:
|
||||
type: number
|
||||
Reference in New Issue
Block a user