Skip to content

Commit 46a5952

Browse files
committed
Add 'text' to allowed content types and update package version to 1.0.0.9
1 parent 7b8fdb2 commit 46a5952

7 files changed

Lines changed: 7 additions & 6 deletions

File tree

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.8
7+
- Package version: 1.0.0.9
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.8/python'
75+
self.user_agent = 'Swagger-Codegen/1.0.0.9/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.8".\
267+
"SDK Package Version: 1.0.0.9".\
268268
format(env=sys.platform, pyversion=sys.version)

chatwoot_client/models/conversation_message_create.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def content_type(self, content_type):
161161
:param content_type: The content_type of this ConversationMessageCreate. # noqa: E501
162162
:type: str
163163
"""
164-
allowed_values = ["input_email", "cards", "input_select", "form", "article", "input_csat"] # noqa: E501
164+
allowed_values = ["input_email", "cards", "input_select", "form", "article", "input_csat", "text"] # noqa: E501
165165
if content_type not in allowed_values:
166166
raise ValueError(
167167
"Invalid value for `content_type` ({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.8",
5+
"packageVersion": "1.0.0.9",
66
"outputDir": "./chatwoot",
77
"modelPackage": "models",
88
"apiPackage": "apis"

openapi.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5474,6 +5474,7 @@ components:
54745474
- form
54755475
- article
54765476
- input_csat
5477+
- text
54775478
content_attributes:
54785479
type: object
54795480
properties: {}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from setuptools import setup, find_packages # noqa: H301
1414

1515
NAME = "chatwoot-python-client"
16-
VERSION = "1.0.0.8"
16+
VERSION = "1.0.0.9"
1717
# To install the library, run the following
1818
#
1919
# python setup.py install

0 commit comments

Comments
 (0)