Skip to content

Commit 7943f55

Browse files
committed
fix: add 'online' status to agent availability options in API documentation
1 parent 2084e5d commit 7943f55

13 files changed

Lines changed: 17 additions & 6427 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This is the API documentation for Chatwoot server.
44
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
55

66
- API version: 1.0.0
7-
- Package version: 1.0.0.17
7+
- Package version: 1.0.0.18
88
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen
99

1010
## Requirements.

chatwoot_client/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7272
self.default_headers[header_name] = header_value
7373
self.cookie = cookie
7474
# Set default User-Agent.
75-
self.user_agent = 'Swagger-Codegen/1.0.0.17/python'
75+
self.user_agent = 'Swagger-Codegen/1.0.0.18/python'
7676

7777
def __del__(self):
7878
self.pool.close()

chatwoot_client/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,5 +264,5 @@ def to_debug_report(self):
264264
"OS: {env}\n"\
265265
"Python Version: {pyversion}\n"\
266266
"Version of the API: 1.0.0\n"\
267-
"SDK Package Version: 1.0.0.17".\
267+
"SDK Package Version: 1.0.0.18".\
268268
format(env=sys.platform, pyversion=sys.version)

chatwoot_client/models/account_id_agents_body.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def availability_status(self, availability_status):
160160
:param availability_status: The availability_status of this AccountIdAgentsBody. # noqa: E501
161161
:type: str
162162
"""
163-
allowed_values = ["available", "busy", "offline"] # noqa: E501
163+
allowed_values = ["available", "busy", "offline", "online"] # noqa: E501
164164
if availability_status not in allowed_values:
165165
raise ValueError(
166166
"Invalid value for `availability_status` ({0}), must be one of {1}" # noqa: E501

chatwoot_client/models/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def availability_status(self, availability_status):
312312
:param availability_status: The availability_status of this Agent. # noqa: E501
313313
:type: str
314314
"""
315-
allowed_values = ["available", "busy", "offline"] # noqa: E501
315+
allowed_values = ["available", "busy", "offline", "online"] # noqa: E501
316316
if availability_status not in allowed_values:
317317
raise ValueError(
318318
"Invalid value for `availability_status` ({0}), must be one of {1}" # noqa: E501

chatwoot_client/models/agents_id_body.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def availability(self, availability):
102102
:param availability: The availability of this AgentsIdBody. # noqa: E501
103103
:type: str
104104
"""
105-
allowed_values = ["available", "busy", "offline"] # noqa: E501
105+
allowed_values = ["available", "busy", "offline", "online"] # noqa: E501
106106
if availability not in allowed_values:
107107
raise ValueError(
108108
"Invalid value for `availability` ({0}), must be one of {1}" # noqa: E501

chatwoot_client/models/conversation_assignee.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def availability_status(self, availability_status):
128128
:param availability_status: The availability_status of this ConversationAssignee. # noqa: E501
129129
:type: str
130130
"""
131-
allowed_values = ["online", "offline", "busy"] # noqa: E501
131+
allowed_values = ["online", "offline", "busy", "available"] # noqa: E501
132132
if availability_status not in allowed_values:
133133
raise ValueError(
134134
"Invalid value for `availability_status` ({0}), must be one of {1}" # noqa: E501

chatwoot_client/models/conversation_sender.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def availability_status(self, availability_status):
130130
:param availability_status: The availability_status of this ConversationSender. # noqa: E501
131131
:type: str
132132
"""
133-
allowed_values = ["online", "offline", "busy"] # noqa: E501
133+
allowed_values = ["online", "offline", "busy", "available"] # noqa: E501
134134
if availability_status not in allowed_values:
135135
raise ValueError(
136136
"Invalid value for `availability_status` ({0}), must be one of {1}" # noqa: E501

chatwoot_client/models/extended_contact.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def availability_status(self, availability_status):
9696
:param availability_status: The availability_status of this ExtendedContact. # noqa: E501
9797
:type: str
9898
"""
99-
allowed_values = ["online", "offline", "busy"] # noqa: E501
99+
allowed_values = ["online", "offline", "busy", "available"] # noqa: E501
100100
if availability_status not in allowed_values:
101101
raise ValueError(
102102
"Invalid value for `availability_status` ({0}), must be one of {1}" # noqa: E501

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"packageName": "chatwoot_client",
33
"projectName": "chatwoot-python-client",
44
"apiVersion": "1.0.0",
5-
"packageVersion": "1.0.0.17",
5+
"packageVersion": "1.0.0.18",
66
"outputDir": "./chatwoot",
77
"modelPackage": "models",
88
"apiPackage": "apis"

0 commit comments

Comments
 (0)