diff --git a/README.md b/README.md index d4dd845..8ed000f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Messente API Library - Messente API version: 2.0.0 -- Python package version: 1.4.2 +- Python package version: 1.5.0 [Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. diff --git a/docs/DeliveryReportApi.md b/docs/DeliveryReportApi.md index 082461b..b0f8374 100644 --- a/docs/DeliveryReportApi.md +++ b/docs/DeliveryReportApi.md @@ -75,6 +75,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Delivery report success | - | +**401** | Unauthorized | - | **404** | If no such message exists or you do not have access to the particular message | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/docs/OmnimessageApi.md b/docs/OmnimessageApi.md index 3bbe348..2663f14 100644 --- a/docs/OmnimessageApi.md +++ b/docs/OmnimessageApi.md @@ -76,6 +76,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **202** | Scheduled omnimessage successfully cancelled | - | +**401** | Unauthorized | - | **404** | If the omnimessage has already been sent or no such message exists | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -149,6 +150,7 @@ Name | Type | Description | Notes |-------------|-------------|------------------| **201** | Omnimessage success response | - | **400** | Invalid input | - | +**401** | Unauthorized | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/messente_api/__init__.py b/messente_api/__init__.py index 97b0b2c..ccdb6fd 100644 --- a/messente_api/__init__.py +++ b/messente_api/__init__.py @@ -15,7 +15,7 @@ from __future__ import absolute_import -__version__ = "1.4.2" +__version__ = "1.5.0" # import apis into sdk package from messente_api.api.blacklist_api import BlacklistApi diff --git a/messente_api/api/delivery_report_api.py b/messente_api/api/delivery_report_api.py index 0b9c430..a9ab653 100644 --- a/messente_api/api/delivery_report_api.py +++ b/messente_api/api/delivery_report_api.py @@ -151,6 +151,7 @@ def retrieve_delivery_report_with_http_info(self, omnimessage_id, **kwargs): # response_types_map = { 200: "DeliveryReportResponse", + 401: "ErrorOmnichannel", 404: "ErrorOmnichannel", } diff --git a/messente_api/api/omnimessage_api.py b/messente_api/api/omnimessage_api.py index 75e86e6..fc8c143 100644 --- a/messente_api/api/omnimessage_api.py +++ b/messente_api/api/omnimessage_api.py @@ -151,6 +151,7 @@ def cancel_scheduled_message_with_http_info(self, omnimessage_id, **kwargs): # response_types_map = { 202: "object", + 401: "ErrorOmnichannel", 404: "ErrorOmnichannel", } @@ -290,6 +291,7 @@ def send_omnimessage_with_http_info(self, omnimessage, **kwargs): # noqa: E501 response_types_map = { 201: "OmniMessageCreateSuccessResponse", 400: "ErrorOmnichannel", + 401: "ErrorOmnichannel", } return self.api_client.call_api( diff --git a/messente_api/api_client.py b/messente_api/api_client.py index 5412c3d..06d4e23 100644 --- a/messente_api/api_client.py +++ b/messente_api/api_client.py @@ -79,7 +79,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/1.4.2/python' + self.user_agent = 'OpenAPI-Generator/1.5.0/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/messente_api/configuration.py b/messente_api/configuration.py index a46a1ea..a779efd 100644 --- a/messente_api/configuration.py +++ b/messente_api/configuration.py @@ -406,7 +406,7 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 2.0.0\n"\ - "SDK Package Version: 1.4.2".\ + "SDK Package Version: 1.5.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/setup.py b/setup.py index 294d813..ab8e1ad 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "messente-api" -VERSION = "1.4.2" +VERSION = "1.5.0" # To install the library, run the following # # python setup.py install