Skip to content

Commit 10dfcf1

Browse files
Merge pull request #16 from messente/travis
Update to version 1.5.0
2 parents b315aa3 + ba00749 commit 10dfcf1

9 files changed

+11
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Messente API Library
22

33
- Messente API version: 2.0.0
4-
- Python package version: 1.4.2
4+
- Python package version: 1.5.0
55

66
[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.
77

docs/DeliveryReportApi.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ Name | Type | Description | Notes
7575
| Status code | Description | Response headers |
7676
|-------------|-------------|------------------|
7777
**200** | Delivery report success | - |
78+
**401** | Unauthorized | - |
7879
**404** | If no such message exists or you do not have access to the particular message | - |
7980

8081
[[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)

docs/OmnimessageApi.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ Name | Type | Description | Notes
7676
| Status code | Description | Response headers |
7777
|-------------|-------------|------------------|
7878
**202** | Scheduled omnimessage successfully cancelled | - |
79+
**401** | Unauthorized | - |
7980
**404** | If the omnimessage has already been sent or no such message exists | - |
8081

8182
[[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
149150
|-------------|-------------|------------------|
150151
**201** | Omnimessage success response | - |
151152
**400** | Invalid input | - |
153+
**401** | Unauthorized | - |
152154

153155
[[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)
154156

messente_api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
from __future__ import absolute_import
1717

18-
__version__ = "1.4.2"
18+
__version__ = "1.5.0"
1919

2020
# import apis into sdk package
2121
from messente_api.api.blacklist_api import BlacklistApi

messente_api/api/delivery_report_api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ def retrieve_delivery_report_with_http_info(self, omnimessage_id, **kwargs): #
151151

152152
response_types_map = {
153153
200: "DeliveryReportResponse",
154+
401: "ErrorOmnichannel",
154155
404: "ErrorOmnichannel",
155156
}
156157

messente_api/api/omnimessage_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ def cancel_scheduled_message_with_http_info(self, omnimessage_id, **kwargs): #
151151

152152
response_types_map = {
153153
202: "object",
154+
401: "ErrorOmnichannel",
154155
404: "ErrorOmnichannel",
155156
}
156157

@@ -290,6 +291,7 @@ def send_omnimessage_with_http_info(self, omnimessage, **kwargs): # noqa: E501
290291
response_types_map = {
291292
201: "OmniMessageCreateSuccessResponse",
292293
400: "ErrorOmnichannel",
294+
401: "ErrorOmnichannel",
293295
}
294296

295297
return self.api_client.call_api(

messente_api/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7979
self.default_headers[header_name] = header_value
8080
self.cookie = cookie
8181
# Set default User-Agent.
82-
self.user_agent = 'OpenAPI-Generator/1.4.2/python'
82+
self.user_agent = 'OpenAPI-Generator/1.5.0/python'
8383
self.client_side_validation = configuration.client_side_validation
8484

8585
def __enter__(self):

messente_api/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ def to_debug_report(self):
406406
"OS: {env}\n"\
407407
"Python Version: {pyversion}\n"\
408408
"Version of the API: 2.0.0\n"\
409-
"SDK Package Version: 1.4.2".\
409+
"SDK Package Version: 1.5.0".\
410410
format(env=sys.platform, pyversion=sys.version)
411411

412412
def get_host_settings(self):

setup.py

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

1616
NAME = "messente-api"
17-
VERSION = "1.4.2"
17+
VERSION = "1.5.0"
1818
# To install the library, run the following
1919
#
2020
# python setup.py install

0 commit comments

Comments
 (0)