chore: Fix conversation status in webhooks (#3364)

- fix the wrong conversation status being sent in webhooks
- additional information in websocket events
- refactor activity messaging code
- move activity message generation to background job to stop the callback loop
This commit is contained in:
Sojan Jose
2021-11-12 16:17:59 +05:30
committed by GitHub
parent b119d9e729
commit d78cb67a2a
13 changed files with 219 additions and 136 deletions

View File

@@ -1182,7 +1182,7 @@
"busy",
"offline"
],
"description": "The availability status of the agent."
"description": "The availability setting of the agent."
},
"auto_offline": {
"type": "boolean",
@@ -1246,14 +1246,14 @@
"description": "Whether its administrator or agent",
"required": true
},
"availability_status": {
"availability": {
"type": "string",
"enum": [
"available",
"busy",
"offline"
],
"description": "The availability status of the agent."
"description": "The availability setting of the agent."
},
"auto_offline": {
"type": "boolean",