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:
@@ -149,10 +149,11 @@ extended_message:
|
||||
- $ref: ./resource/extension/message/with_source_sender.yml
|
||||
|
||||
|
||||
## report list
|
||||
report:
|
||||
type: array
|
||||
description: 'array of conversation count based on date'
|
||||
items:
|
||||
allOf:
|
||||
- $ref: './resource/report.yml'
|
||||
## report
|
||||
account_summary:
|
||||
$ref: './resource/reports/summary.yml'
|
||||
agent_conversation_metrics:
|
||||
$ref: './resource/reports/conversation/agent.yml'
|
||||
|
||||
|
||||
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user