chore: Change the conversation bot status to pending (#2677)

fixes: #2649
This commit is contained in:
Sojan Jose
2021-07-21 22:02:43 +05:30
committed by GitHub
parent a0886d37bc
commit a7ca55c080
22 changed files with 87 additions and 54 deletions

View File

@@ -13,7 +13,7 @@ properties:
description: ID of the inbox
status:
type: string
enum: ['open', 'resolved', 'bot']
enum: ['open', 'resolved', 'pending']
description: The status of the conversation
timestamp:
type: string

View File

@@ -14,7 +14,7 @@ get:
- name: status
in: query
type: string
enum: ['open', 'resolved', 'bot']
enum: ['open', 'resolved', 'pending']
required: true
- name: page
in: query

View File

@@ -15,7 +15,7 @@ get:
- name: status
in: query
type: string
enum: ['open', 'resolved', 'bot']
enum: ['open', 'resolved', 'pending']
- name: page
in: query
type: integer
@@ -71,8 +71,8 @@ post:
description: Lets you specify attributes like browser information
status:
type: string
enum: ['open', 'resolved', 'bot']
description: Specify the conversation whether it's bot, open, closed
enum: ['open', 'resolved', 'pending']
description: Specify the conversation whether it's pending, open, closed
responses:
200:

View File

@@ -15,7 +15,7 @@ parameters:
properties:
status:
type: string
enum: ["open", "resolved", "bot"]
enum: ["open", "resolved", "pending"]
required: true
description: The status of the conversation
responses:

View File

@@ -1417,7 +1417,7 @@
"enum": [
"open",
"resolved",
"bot"
"pending"
]
},
{
@@ -1508,9 +1508,9 @@
"enum": [
"open",
"resolved",
"bot"
"pending"
],
"description": "Specify the conversation whether it's bot, open, closed"
"description": "Specify the conversation whether it's pending, open, closed"
}
}
}
@@ -1574,7 +1574,7 @@
"enum": [
"open",
"resolved",
"bot"
"pending"
],
"required": true
},
@@ -1688,7 +1688,7 @@
"enum": [
"open",
"resolved",
"bot"
"pending"
],
"required": true,
"description": "The status of the conversation"
@@ -2850,7 +2850,7 @@
"enum": [
"open",
"resolved",
"bot"
"pending"
],
"description": "The status of the conversation"
},