Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
1 change: 1 addition & 0 deletions docs/DeliveryReportApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions docs/OmnimessageApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)

2 changes: 1 addition & 1 deletion messente_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions messente_api/api/delivery_report_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def retrieve_delivery_report_with_http_info(self, omnimessage_id, **kwargs): #

response_types_map = {
200: "DeliveryReportResponse",
401: "ErrorOmnichannel",
404: "ErrorOmnichannel",
}

Expand Down
2 changes: 2 additions & 0 deletions messente_api/api/omnimessage_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def cancel_scheduled_message_with_http_info(self, omnimessage_id, **kwargs): #

response_types_map = {
202: "object",
401: "ErrorOmnichannel",
404: "ErrorOmnichannel",
}

Expand Down Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion messente_api/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion messente_api/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down