From 8bcdea9cb407e61d29eec743c8c573ca247983d8 Mon Sep 17 00:00:00 2001 From: api-librarian Date: Thu, 26 Sep 2019 11:34:23 +0000 Subject: [PATCH 1/9] Travis update: Sep 2019 (Build 504) [skip ci] --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index dd89d53..7f31093 100644 --- a/setup.py +++ b/setup.py @@ -36,6 +36,5 @@ include_package_data=True, long_description="""\ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - """, - long_description_content_type="text/markdown" + """ ) From 63234d5f2595bf031a0a15839bb0124bfd4ee425 Mon Sep 17 00:00:00 2001 From: api-librarian Date: Wed, 9 Oct 2019 07:44:57 +0000 Subject: [PATCH 2/9] Travis update: Oct 2019 (Build 561) [skip ci] --- README.md | 2 +- messente_api/__init__.py | 2 +- messente_api/api/blacklist_api.py | 2 +- messente_api/api/contacts_api.py | 2 +- messente_api/api/delivery_report_api.py | 2 +- messente_api/api/groups_api.py | 2 +- messente_api/api/omnimessage_api.py | 2 +- messente_api/api_client.py | 2 +- messente_api/configuration.py | 4 ++-- messente_api/exceptions.py | 2 +- messente_api/models/__init__.py | 2 +- messente_api/models/channel.py | 2 +- messente_api/models/contact_envelope.py | 2 +- messente_api/models/contact_fields.py | 2 +- messente_api/models/contact_list_envelope.py | 2 +- messente_api/models/contact_update_fields.py | 2 +- messente_api/models/delivery_report_response.py | 2 +- messente_api/models/delivery_result.py | 2 +- messente_api/models/error_code_omnichannel.py | 2 +- messente_api/models/error_code_omnichannel_machine.py | 2 +- messente_api/models/error_code_phonebook.py | 2 +- messente_api/models/error_item_omnichannel.py | 2 +- messente_api/models/error_item_phonebook.py | 2 +- messente_api/models/error_omnichannel.py | 2 +- messente_api/models/error_phonebook.py | 2 +- messente_api/models/error_title_omnichannel.py | 2 +- messente_api/models/error_title_phonebook.py | 2 +- messente_api/models/fetch_blacklist_success.py | 2 +- messente_api/models/group_envelope.py | 2 +- messente_api/models/group_list_envelope.py | 2 +- messente_api/models/group_name.py | 2 +- messente_api/models/group_response_fields.py | 2 +- messente_api/models/message_result.py | 2 +- messente_api/models/number_to_blacklist.py | 2 +- messente_api/models/omni_message_create_success_response.py | 2 +- messente_api/models/omnimessage.py | 2 +- messente_api/models/sms.py | 2 +- messente_api/models/status.py | 2 +- messente_api/models/telegram.py | 2 +- messente_api/models/text_store.py | 2 +- messente_api/models/viber.py | 2 +- messente_api/models/whats_app.py | 2 +- messente_api/models/whats_app_audio.py | 2 +- messente_api/models/whats_app_document.py | 2 +- messente_api/models/whats_app_image.py | 2 +- messente_api/models/whats_app_text.py | 2 +- messente_api/rest.py | 2 +- setup.py | 2 +- 48 files changed, 49 insertions(+), 49 deletions(-) diff --git a/README.md b/README.md index 00a30f5..32615dd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Messente API Library -- Messente API version: 1.1.0 +- Messente API version: 1.1.1 - Python package version: 1.1.0 [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. diff --git a/messente_api/__init__.py b/messente_api/__init__.py index a8d0518..df93f92 100644 --- a/messente_api/__init__.py +++ b/messente_api/__init__.py @@ -7,7 +7,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/api/blacklist_api.py b/messente_api/api/blacklist_api.py index bf95163..8a1054f 100644 --- a/messente_api/api/blacklist_api.py +++ b/messente_api/api/blacklist_api.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/api/contacts_api.py b/messente_api/api/contacts_api.py index aa9a984..a324788 100644 --- a/messente_api/api/contacts_api.py +++ b/messente_api/api/contacts_api.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/api/delivery_report_api.py b/messente_api/api/delivery_report_api.py index 73e472f..8e84987 100644 --- a/messente_api/api/delivery_report_api.py +++ b/messente_api/api/delivery_report_api.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/api/groups_api.py b/messente_api/api/groups_api.py index 68ff50e..04e48a2 100644 --- a/messente_api/api/groups_api.py +++ b/messente_api/api/groups_api.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/api/omnimessage_api.py b/messente_api/api/omnimessage_api.py index 6595178..657a0c8 100644 --- a/messente_api/api/omnimessage_api.py +++ b/messente_api/api/omnimessage_api.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/api_client.py b/messente_api/api_client.py index 1c5e47f..262b273 100644 --- a/messente_api/api_client.py +++ b/messente_api/api_client.py @@ -4,7 +4,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/configuration.py b/messente_api/configuration.py index 32ddddb..ce11e89 100644 --- a/messente_api/configuration.py +++ b/messente_api/configuration.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ @@ -263,7 +263,7 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.1.0\n"\ + "Version of the API: 1.1.1\n"\ "SDK Package Version: 1.1.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/messente_api/exceptions.py b/messente_api/exceptions.py index d2f633e..de5b0ee 100644 --- a/messente_api/exceptions.py +++ b/messente_api/exceptions.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/__init__.py b/messente_api/models/__init__.py index e5b1b3f..30e793f 100644 --- a/messente_api/models/__init__.py +++ b/messente_api/models/__init__.py @@ -6,7 +6,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/channel.py b/messente_api/models/channel.py index ffbc79a..9194e09 100644 --- a/messente_api/models/channel.py +++ b/messente_api/models/channel.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/contact_envelope.py b/messente_api/models/contact_envelope.py index 88a5a68..8921338 100644 --- a/messente_api/models/contact_envelope.py +++ b/messente_api/models/contact_envelope.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/contact_fields.py b/messente_api/models/contact_fields.py index 87432a2..7852a98 100644 --- a/messente_api/models/contact_fields.py +++ b/messente_api/models/contact_fields.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/contact_list_envelope.py b/messente_api/models/contact_list_envelope.py index 7988038..f4f9410 100644 --- a/messente_api/models/contact_list_envelope.py +++ b/messente_api/models/contact_list_envelope.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/contact_update_fields.py b/messente_api/models/contact_update_fields.py index 942e69d..d2e99d5 100644 --- a/messente_api/models/contact_update_fields.py +++ b/messente_api/models/contact_update_fields.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/delivery_report_response.py b/messente_api/models/delivery_report_response.py index d37d5cc..9cbc2f9 100644 --- a/messente_api/models/delivery_report_response.py +++ b/messente_api/models/delivery_report_response.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/delivery_result.py b/messente_api/models/delivery_result.py index 438abb8..3d13e00 100644 --- a/messente_api/models/delivery_result.py +++ b/messente_api/models/delivery_result.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_code_omnichannel.py b/messente_api/models/error_code_omnichannel.py index 6a1c24a..72bd3b8 100644 --- a/messente_api/models/error_code_omnichannel.py +++ b/messente_api/models/error_code_omnichannel.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_code_omnichannel_machine.py b/messente_api/models/error_code_omnichannel_machine.py index e2db156..0cc63d2 100644 --- a/messente_api/models/error_code_omnichannel_machine.py +++ b/messente_api/models/error_code_omnichannel_machine.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_code_phonebook.py b/messente_api/models/error_code_phonebook.py index a09c41e..afccf8f 100644 --- a/messente_api/models/error_code_phonebook.py +++ b/messente_api/models/error_code_phonebook.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_item_omnichannel.py b/messente_api/models/error_item_omnichannel.py index 8961da1..c97b285 100644 --- a/messente_api/models/error_item_omnichannel.py +++ b/messente_api/models/error_item_omnichannel.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_item_phonebook.py b/messente_api/models/error_item_phonebook.py index f3f72d8..7557f58 100644 --- a/messente_api/models/error_item_phonebook.py +++ b/messente_api/models/error_item_phonebook.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_omnichannel.py b/messente_api/models/error_omnichannel.py index 3aea5f0..6822836 100644 --- a/messente_api/models/error_omnichannel.py +++ b/messente_api/models/error_omnichannel.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_phonebook.py b/messente_api/models/error_phonebook.py index 03ebe6b..b4d10e3 100644 --- a/messente_api/models/error_phonebook.py +++ b/messente_api/models/error_phonebook.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_title_omnichannel.py b/messente_api/models/error_title_omnichannel.py index 82688bb..e347355 100644 --- a/messente_api/models/error_title_omnichannel.py +++ b/messente_api/models/error_title_omnichannel.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_title_phonebook.py b/messente_api/models/error_title_phonebook.py index 9e93b14..0611a97 100644 --- a/messente_api/models/error_title_phonebook.py +++ b/messente_api/models/error_title_phonebook.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/fetch_blacklist_success.py b/messente_api/models/fetch_blacklist_success.py index a463836..39032be 100644 --- a/messente_api/models/fetch_blacklist_success.py +++ b/messente_api/models/fetch_blacklist_success.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/group_envelope.py b/messente_api/models/group_envelope.py index 201af58..036315a 100644 --- a/messente_api/models/group_envelope.py +++ b/messente_api/models/group_envelope.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/group_list_envelope.py b/messente_api/models/group_list_envelope.py index 3447985..745bcd8 100644 --- a/messente_api/models/group_list_envelope.py +++ b/messente_api/models/group_list_envelope.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/group_name.py b/messente_api/models/group_name.py index 1d1d886..0b829d2 100644 --- a/messente_api/models/group_name.py +++ b/messente_api/models/group_name.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/group_response_fields.py b/messente_api/models/group_response_fields.py index 64afb3c..a55f307 100644 --- a/messente_api/models/group_response_fields.py +++ b/messente_api/models/group_response_fields.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/message_result.py b/messente_api/models/message_result.py index 84ee0bd..4dbef47 100644 --- a/messente_api/models/message_result.py +++ b/messente_api/models/message_result.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/number_to_blacklist.py b/messente_api/models/number_to_blacklist.py index 2e039d5..cc78852 100644 --- a/messente_api/models/number_to_blacklist.py +++ b/messente_api/models/number_to_blacklist.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/omni_message_create_success_response.py b/messente_api/models/omni_message_create_success_response.py index 3dc0df1..487cc29 100644 --- a/messente_api/models/omni_message_create_success_response.py +++ b/messente_api/models/omni_message_create_success_response.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/omnimessage.py b/messente_api/models/omnimessage.py index 2a38e71..3ecea18 100644 --- a/messente_api/models/omnimessage.py +++ b/messente_api/models/omnimessage.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/sms.py b/messente_api/models/sms.py index af00ddd..ffd21dc 100644 --- a/messente_api/models/sms.py +++ b/messente_api/models/sms.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/status.py b/messente_api/models/status.py index 6f045e3..48d65eb 100644 --- a/messente_api/models/status.py +++ b/messente_api/models/status.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/telegram.py b/messente_api/models/telegram.py index 7c2f8c2..7aeca64 100644 --- a/messente_api/models/telegram.py +++ b/messente_api/models/telegram.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/text_store.py b/messente_api/models/text_store.py index b9a0a4e..0bc44f1 100644 --- a/messente_api/models/text_store.py +++ b/messente_api/models/text_store.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/viber.py b/messente_api/models/viber.py index bc92e90..5297868 100644 --- a/messente_api/models/viber.py +++ b/messente_api/models/viber.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/whats_app.py b/messente_api/models/whats_app.py index 892327b..4a89ad1 100644 --- a/messente_api/models/whats_app.py +++ b/messente_api/models/whats_app.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/whats_app_audio.py b/messente_api/models/whats_app_audio.py index 0c485af..09c7731 100644 --- a/messente_api/models/whats_app_audio.py +++ b/messente_api/models/whats_app_audio.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/whats_app_document.py b/messente_api/models/whats_app_document.py index 6df915b..cb829a5 100644 --- a/messente_api/models/whats_app_document.py +++ b/messente_api/models/whats_app_document.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/whats_app_image.py b/messente_api/models/whats_app_image.py index ee57777..1bfb8a3 100644 --- a/messente_api/models/whats_app_image.py +++ b/messente_api/models/whats_app_image.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/whats_app_text.py b/messente_api/models/whats_app_text.py index 22115f2..d20a843 100644 --- a/messente_api/models/whats_app_text.py +++ b/messente_api/models/whats_app_text.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/rest.py b/messente_api/rest.py index d3e39e5..c96788c 100644 --- a/messente_api/rest.py +++ b/messente_api/rest.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/setup.py b/setup.py index 7f31093..6d8b507 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 - The version of the OpenAPI document: 1.1.0 + The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ From 39dd2f649cb2c3e641fbcf57fa68f83050dd0176 Mon Sep 17 00:00:00 2001 From: api-librarian Date: Thu, 10 Oct 2019 11:56:39 +0000 Subject: [PATCH 3/9] Travis update: Oct 2019 (Build 565) [skip ci] --- README.md | 6 +- docs/ErrorItemNumberLookup.md | 10 + docs/ErrorItemNumberLookupError.md | 11 + docs/ErrorNumberLookup.md | 10 + docs/MobileNetwork.md | 14 + docs/NumberLookupApi.md | 71 ++++ docs/SyncNumberLookup.md | 10 + docs/SyncNumberLookupResult.md | 18 + docs/SyncNumberLookupSuccess.md | 11 + messente_api/__init__.py | 10 +- messente_api/api/__init__.py | 1 + messente_api/api/blacklist_api.py | 2 +- messente_api/api/contacts_api.py | 2 +- messente_api/api/delivery_report_api.py | 2 +- messente_api/api/groups_api.py | 2 +- messente_api/api/number_lookup_api.py | 148 ++++++++ messente_api/api/omnimessage_api.py | 2 +- messente_api/api_client.py | 2 +- messente_api/configuration.py | 2 +- messente_api/exceptions.py | 2 +- messente_api/models/__init__.py | 9 +- messente_api/models/channel.py | 2 +- messente_api/models/contact_envelope.py | 2 +- messente_api/models/contact_fields.py | 2 +- messente_api/models/contact_list_envelope.py | 2 +- messente_api/models/contact_update_fields.py | 2 +- .../models/delivery_report_response.py | 2 +- messente_api/models/delivery_result.py | 2 +- messente_api/models/error_code_omnichannel.py | 2 +- .../models/error_code_omnichannel_machine.py | 2 +- messente_api/models/error_code_phonebook.py | 2 +- .../models/error_item_number_lookup.py | 114 ++++++ .../models/error_item_number_lookup_error.py | 149 ++++++++ messente_api/models/error_item_omnichannel.py | 2 +- messente_api/models/error_item_phonebook.py | 2 +- messente_api/models/error_number_lookup.py | 116 ++++++ messente_api/models/error_omnichannel.py | 2 +- messente_api/models/error_phonebook.py | 2 +- .../models/error_title_omnichannel.py | 2 +- messente_api/models/error_title_phonebook.py | 2 +- .../models/fetch_blacklist_success.py | 2 +- messente_api/models/group_envelope.py | 2 +- messente_api/models/group_list_envelope.py | 2 +- messente_api/models/group_name.py | 2 +- messente_api/models/group_response_fields.py | 2 +- messente_api/models/message_result.py | 2 +- messente_api/models/mobile_network.py | 227 ++++++++++++ messente_api/models/number_to_blacklist.py | 2 +- .../omni_message_create_success_response.py | 2 +- messente_api/models/omnimessage.py | 2 +- messente_api/models/sms.py | 2 +- messente_api/models/status.py | 2 +- messente_api/models/sync_number_lookup.py | 116 ++++++ .../models/sync_number_lookup_result.py | 332 ++++++++++++++++++ .../models/sync_number_lookup_success.py | 145 ++++++++ messente_api/models/telegram.py | 2 +- messente_api/models/text_store.py | 2 +- messente_api/models/viber.py | 2 +- messente_api/models/whats_app.py | 2 +- messente_api/models/whats_app_audio.py | 2 +- messente_api/models/whats_app_document.py | 2 +- messente_api/models/whats_app_image.py | 2 +- messente_api/models/whats_app_text.py | 2 +- messente_api/rest.py | 2 +- setup.py | 4 +- 65 files changed, 1571 insertions(+), 49 deletions(-) create mode 100644 docs/ErrorItemNumberLookup.md create mode 100644 docs/ErrorItemNumberLookupError.md create mode 100644 docs/ErrorNumberLookup.md create mode 100644 docs/MobileNetwork.md create mode 100644 docs/NumberLookupApi.md create mode 100644 docs/SyncNumberLookup.md create mode 100644 docs/SyncNumberLookupResult.md create mode 100644 docs/SyncNumberLookupSuccess.md create mode 100644 messente_api/api/number_lookup_api.py create mode 100644 messente_api/models/error_item_number_lookup.py create mode 100644 messente_api/models/error_item_number_lookup_error.py create mode 100644 messente_api/models/error_number_lookup.py create mode 100644 messente_api/models/mobile_network.py create mode 100644 messente_api/models/sync_number_lookup.py create mode 100644 messente_api/models/sync_number_lookup_result.py create mode 100644 messente_api/models/sync_number_lookup_success.py diff --git a/README.md b/README.md index 32615dd..c4a64f7 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ - Messente API version: 1.1.1 - Python package version: 1.1.0 -[Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. +[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. ## Installation @@ -48,6 +48,10 @@ Messente API Library provides the operations described below to access the featu 1. Returns all groups [`fetch_groups`](docs/GroupsApi.md#fetch_groups) 1. Updates a group with the provided name [`update_group`](docs/GroupsApi.md#update_group) +### NumberLookupApi + +1. Requests info about a phone number [`sync_number_lookup`](docs/NumberLookupApi.md#sync_number_lookup) + ### OmnimessageApi 1. Cancels a scheduled Omnimessage [`cancel_scheduled_message`](docs/OmnimessageApi.md#cancel_scheduled_message) diff --git a/docs/ErrorItemNumberLookup.md b/docs/ErrorItemNumberLookup.md new file mode 100644 index 0000000..becec20 --- /dev/null +++ b/docs/ErrorItemNumberLookup.md @@ -0,0 +1,10 @@ +# ErrorItemNumberLookup + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**error** | [**ErrorItemNumberLookupError**](ErrorItemNumberLookupError.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ErrorItemNumberLookupError.md b/docs/ErrorItemNumberLookupError.md new file mode 100644 index 0000000..c634005 --- /dev/null +++ b/docs/ErrorItemNumberLookupError.md @@ -0,0 +1,11 @@ +# ErrorItemNumberLookupError + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**description** | **str** | Error description | +**code** | **int** | Matches the following error title. This field is a constant * 101 - Unauthorized * 102 - Invalid arguments or parameters * 103 - Server error * 104 - Crediting error #1 * 105 - Crediting error #2 * 106 - Client error | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ErrorNumberLookup.md b/docs/ErrorNumberLookup.md new file mode 100644 index 0000000..9c21aa9 --- /dev/null +++ b/docs/ErrorNumberLookup.md @@ -0,0 +1,10 @@ +# ErrorNumberLookup + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**errors** | [**list[ErrorItemNumberLookup]**](ErrorItemNumberLookup.md) | An array of errors | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/MobileNetwork.md b/docs/MobileNetwork.md new file mode 100644 index 0000000..50704a6 --- /dev/null +++ b/docs/MobileNetwork.md @@ -0,0 +1,14 @@ +# MobileNetwork + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**mccmnc** | **str** | Mobile country and mobile network code | [optional] +**network_name** | **str** | Mobile network name | [optional] +**country_name** | **str** | Country name | [optional] +**country_prefix** | **str** | Country prefix | [optional] +**country_code** | **str** | Country code | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/NumberLookupApi.md b/docs/NumberLookupApi.md new file mode 100644 index 0000000..6f16eb8 --- /dev/null +++ b/docs/NumberLookupApi.md @@ -0,0 +1,71 @@ +# messente_api.NumberLookupApi + +All URIs are relative to *https://api.messente.com/v1* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**sync_number_lookup**](NumberLookupApi.md#sync_number_lookup) | **POST** /hlr/sync | Requests info about a phone number + + +# **sync_number_lookup** +> SyncNumberLookupSuccess sync_number_lookup(sync_number_lookup) + +Requests info about a phone number + +### Example + +* Basic Authentication (basicAuth): +```python +from __future__ import print_function +import time +import messente_api +from messente_api.rest import ApiException +from pprint import pprint +configuration = messente_api.Configuration() +# Configure HTTP basic authorization: basicAuth +configuration.username = 'YOUR_USERNAME' +configuration.password = 'YOUR_PASSWORD' + +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class +api_instance = messente_api.NumberLookupApi(messente_api.ApiClient(configuration)) +sync_number_lookup = {"numbers":["+37251000000","+37251000001"]} # SyncNumberLookup | Numbers to lookup + +try: + # Requests info about a phone number + api_response = api_instance.sync_number_lookup(sync_number_lookup) + pprint(api_response) +except ApiException as e: + print("Exception when calling NumberLookupApi->sync_number_lookup: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **sync_number_lookup** | [**SyncNumberLookup**](SyncNumberLookup.md)| Numbers to lookup | + +### Return type + +[**SyncNumberLookupSuccess**](SyncNumberLookupSuccess.md) + +### Authorization + +[basicAuth](../README.md#basicAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Info about phone numbers returned | - | +**400** | Invalid request | - | +**401** | Unauthorized | - | +**402** | Failed crediting | - | + +[[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/SyncNumberLookup.md b/docs/SyncNumberLookup.md new file mode 100644 index 0000000..0d48f3a --- /dev/null +++ b/docs/SyncNumberLookup.md @@ -0,0 +1,10 @@ +# SyncNumberLookup + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**numbers** | **list[str]** | Array of phone numbers | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SyncNumberLookupResult.md b/docs/SyncNumberLookupResult.md new file mode 100644 index 0000000..ae5ab14 --- /dev/null +++ b/docs/SyncNumberLookupResult.md @@ -0,0 +1,18 @@ +# SyncNumberLookupResult + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**number** | **str** | Phone number in e.164 format | +**roaming** | **bool** | Indicates if a number is roaming | [optional] +**ported** | **bool** | Indicates if a number is ported | [optional] +**roaming_network** | [**MobileNetwork**](MobileNetwork.md) | | [optional] +**current_network** | [**MobileNetwork**](MobileNetwork.md) | | [optional] +**original_network** | [**MobileNetwork**](MobileNetwork.md) | | [optional] +**ported_network** | [**MobileNetwork**](MobileNetwork.md) | | [optional] +**status** | **str** | Status of the phone number | [optional] +**error** | **object** | Indicates if any error occurred while handling the request | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SyncNumberLookupSuccess.md b/docs/SyncNumberLookupSuccess.md new file mode 100644 index 0000000..ec4cbb3 --- /dev/null +++ b/docs/SyncNumberLookupSuccess.md @@ -0,0 +1,11 @@ +# SyncNumberLookupSuccess + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**request_id** | **str** | ID of the request | +**result** | [**list[SyncNumberLookupResult]**](SyncNumberLookupResult.md) | A container for phone number info objects | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/messente_api/__init__.py b/messente_api/__init__.py index df93f92..d808153 100644 --- a/messente_api/__init__.py +++ b/messente_api/__init__.py @@ -5,7 +5,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com @@ -22,6 +22,7 @@ from messente_api.api.contacts_api import ContactsApi from messente_api.api.delivery_report_api import DeliveryReportApi from messente_api.api.groups_api import GroupsApi +from messente_api.api.number_lookup_api import NumberLookupApi from messente_api.api.omnimessage_api import OmnimessageApi # import ApiClient @@ -43,8 +44,11 @@ from messente_api.models.error_code_omnichannel import ErrorCodeOmnichannel from messente_api.models.error_code_omnichannel_machine import ErrorCodeOmnichannelMachine from messente_api.models.error_code_phonebook import ErrorCodePhonebook +from messente_api.models.error_item_number_lookup import ErrorItemNumberLookup +from messente_api.models.error_item_number_lookup_error import ErrorItemNumberLookupError from messente_api.models.error_item_omnichannel import ErrorItemOmnichannel from messente_api.models.error_item_phonebook import ErrorItemPhonebook +from messente_api.models.error_number_lookup import ErrorNumberLookup from messente_api.models.error_omnichannel import ErrorOmnichannel from messente_api.models.error_phonebook import ErrorPhonebook from messente_api.models.error_title_omnichannel import ErrorTitleOmnichannel @@ -55,11 +59,15 @@ from messente_api.models.group_name import GroupName from messente_api.models.group_response_fields import GroupResponseFields from messente_api.models.message_result import MessageResult +from messente_api.models.mobile_network import MobileNetwork from messente_api.models.number_to_blacklist import NumberToBlacklist from messente_api.models.omni_message_create_success_response import OmniMessageCreateSuccessResponse from messente_api.models.omnimessage import Omnimessage from messente_api.models.sms import SMS from messente_api.models.status import Status +from messente_api.models.sync_number_lookup import SyncNumberLookup +from messente_api.models.sync_number_lookup_result import SyncNumberLookupResult +from messente_api.models.sync_number_lookup_success import SyncNumberLookupSuccess from messente_api.models.telegram import Telegram from messente_api.models.text_store import TextStore from messente_api.models.viber import Viber diff --git a/messente_api/api/__init__.py b/messente_api/api/__init__.py index c38198f..d428207 100644 --- a/messente_api/api/__init__.py +++ b/messente_api/api/__init__.py @@ -7,4 +7,5 @@ from messente_api.api.contacts_api import ContactsApi from messente_api.api.delivery_report_api import DeliveryReportApi from messente_api.api.groups_api import GroupsApi +from messente_api.api.number_lookup_api import NumberLookupApi from messente_api.api.omnimessage_api import OmnimessageApi diff --git a/messente_api/api/blacklist_api.py b/messente_api/api/blacklist_api.py index 8a1054f..ab6bb2e 100644 --- a/messente_api/api/blacklist_api.py +++ b/messente_api/api/blacklist_api.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/api/contacts_api.py b/messente_api/api/contacts_api.py index a324788..93d6401 100644 --- a/messente_api/api/contacts_api.py +++ b/messente_api/api/contacts_api.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/api/delivery_report_api.py b/messente_api/api/delivery_report_api.py index 8e84987..1d8706c 100644 --- a/messente_api/api/delivery_report_api.py +++ b/messente_api/api/delivery_report_api.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/api/groups_api.py b/messente_api/api/groups_api.py index 04e48a2..8ca4cfe 100644 --- a/messente_api/api/groups_api.py +++ b/messente_api/api/groups_api.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/api/number_lookup_api.py b/messente_api/api/number_lookup_api.py new file mode 100644 index 0000000..c46908e --- /dev/null +++ b/messente_api/api/number_lookup_api.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + Messente API + + [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. # noqa: E501 + + The version of the OpenAPI document: 1.1.1 + Contact: messente@messente.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from messente_api.api_client import ApiClient +from messente_api.exceptions import ( + ApiTypeError, + ApiValueError +) + + +class NumberLookupApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def sync_number_lookup(self, sync_number_lookup, **kwargs): # noqa: E501 + """Requests info about a phone number # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.sync_number_lookup(sync_number_lookup, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param SyncNumberLookup sync_number_lookup: Numbers to lookup (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: SyncNumberLookupSuccess + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.sync_number_lookup_with_http_info(sync_number_lookup, **kwargs) # noqa: E501 + + def sync_number_lookup_with_http_info(self, sync_number_lookup, **kwargs): # noqa: E501 + """Requests info about a phone number # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.sync_number_lookup_with_http_info(sync_number_lookup, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param SyncNumberLookup sync_number_lookup: Numbers to lookup (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(SyncNumberLookupSuccess, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = ['sync_number_lookup'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method sync_number_lookup" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'sync_number_lookup' is set + if ('sync_number_lookup' not in local_var_params or + local_var_params['sync_number_lookup'] is None): + raise ApiValueError("Missing the required parameter `sync_number_lookup` when calling `sync_number_lookup`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'sync_number_lookup' in local_var_params: + body_params = local_var_params['sync_number_lookup'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['basicAuth'] # noqa: E501 + + return self.api_client.call_api( + '/hlr/sync', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='SyncNumberLookupSuccess', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/messente_api/api/omnimessage_api.py b/messente_api/api/omnimessage_api.py index 657a0c8..80b9772 100644 --- a/messente_api/api/omnimessage_api.py +++ b/messente_api/api/omnimessage_api.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/api_client.py b/messente_api/api_client.py index 262b273..80a58e0 100644 --- a/messente_api/api_client.py +++ b/messente_api/api_client.py @@ -2,7 +2,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/configuration.py b/messente_api/configuration.py index ce11e89..a5c92eb 100644 --- a/messente_api/configuration.py +++ b/messente_api/configuration.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/exceptions.py b/messente_api/exceptions.py index de5b0ee..0da8f23 100644 --- a/messente_api/exceptions.py +++ b/messente_api/exceptions.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/__init__.py b/messente_api/models/__init__.py index 30e793f..54cad27 100644 --- a/messente_api/models/__init__.py +++ b/messente_api/models/__init__.py @@ -4,7 +4,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com @@ -25,8 +25,11 @@ from messente_api.models.error_code_omnichannel import ErrorCodeOmnichannel from messente_api.models.error_code_omnichannel_machine import ErrorCodeOmnichannelMachine from messente_api.models.error_code_phonebook import ErrorCodePhonebook +from messente_api.models.error_item_number_lookup import ErrorItemNumberLookup +from messente_api.models.error_item_number_lookup_error import ErrorItemNumberLookupError from messente_api.models.error_item_omnichannel import ErrorItemOmnichannel from messente_api.models.error_item_phonebook import ErrorItemPhonebook +from messente_api.models.error_number_lookup import ErrorNumberLookup from messente_api.models.error_omnichannel import ErrorOmnichannel from messente_api.models.error_phonebook import ErrorPhonebook from messente_api.models.error_title_omnichannel import ErrorTitleOmnichannel @@ -37,11 +40,15 @@ from messente_api.models.group_name import GroupName from messente_api.models.group_response_fields import GroupResponseFields from messente_api.models.message_result import MessageResult +from messente_api.models.mobile_network import MobileNetwork from messente_api.models.number_to_blacklist import NumberToBlacklist from messente_api.models.omni_message_create_success_response import OmniMessageCreateSuccessResponse from messente_api.models.omnimessage import Omnimessage from messente_api.models.sms import SMS from messente_api.models.status import Status +from messente_api.models.sync_number_lookup import SyncNumberLookup +from messente_api.models.sync_number_lookup_result import SyncNumberLookupResult +from messente_api.models.sync_number_lookup_success import SyncNumberLookupSuccess from messente_api.models.telegram import Telegram from messente_api.models.text_store import TextStore from messente_api.models.viber import Viber diff --git a/messente_api/models/channel.py b/messente_api/models/channel.py index 9194e09..7d98ce4 100644 --- a/messente_api/models/channel.py +++ b/messente_api/models/channel.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/contact_envelope.py b/messente_api/models/contact_envelope.py index 8921338..661502d 100644 --- a/messente_api/models/contact_envelope.py +++ b/messente_api/models/contact_envelope.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/contact_fields.py b/messente_api/models/contact_fields.py index 7852a98..34df646 100644 --- a/messente_api/models/contact_fields.py +++ b/messente_api/models/contact_fields.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/contact_list_envelope.py b/messente_api/models/contact_list_envelope.py index f4f9410..81ffd75 100644 --- a/messente_api/models/contact_list_envelope.py +++ b/messente_api/models/contact_list_envelope.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/contact_update_fields.py b/messente_api/models/contact_update_fields.py index d2e99d5..a4d3ea5 100644 --- a/messente_api/models/contact_update_fields.py +++ b/messente_api/models/contact_update_fields.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/delivery_report_response.py b/messente_api/models/delivery_report_response.py index 9cbc2f9..b5497da 100644 --- a/messente_api/models/delivery_report_response.py +++ b/messente_api/models/delivery_report_response.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/delivery_result.py b/messente_api/models/delivery_result.py index 3d13e00..dbddc51 100644 --- a/messente_api/models/delivery_result.py +++ b/messente_api/models/delivery_result.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/error_code_omnichannel.py b/messente_api/models/error_code_omnichannel.py index 72bd3b8..3bac2b1 100644 --- a/messente_api/models/error_code_omnichannel.py +++ b/messente_api/models/error_code_omnichannel.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/error_code_omnichannel_machine.py b/messente_api/models/error_code_omnichannel_machine.py index 0cc63d2..e8b8e6d 100644 --- a/messente_api/models/error_code_omnichannel_machine.py +++ b/messente_api/models/error_code_omnichannel_machine.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/error_code_phonebook.py b/messente_api/models/error_code_phonebook.py index afccf8f..38230a8 100644 --- a/messente_api/models/error_code_phonebook.py +++ b/messente_api/models/error_code_phonebook.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/error_item_number_lookup.py b/messente_api/models/error_item_number_lookup.py new file mode 100644 index 0000000..ca9d238 --- /dev/null +++ b/messente_api/models/error_item_number_lookup.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +""" + Messente API + + [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. # noqa: E501 + + The version of the OpenAPI document: 1.1.1 + Contact: messente@messente.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + + +class ErrorItemNumberLookup(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'error': 'ErrorItemNumberLookupError' + } + + attribute_map = { + 'error': 'error' + } + + def __init__(self, error=None): # noqa: E501 + """ErrorItemNumberLookup - a model defined in OpenAPI""" # noqa: E501 + + self._error = None + self.discriminator = None + + self.error = error + + @property + def error(self): + """Gets the error of this ErrorItemNumberLookup. # noqa: E501 + + + :return: The error of this ErrorItemNumberLookup. # noqa: E501 + :rtype: ErrorItemNumberLookupError + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this ErrorItemNumberLookup. + + + :param error: The error of this ErrorItemNumberLookup. # noqa: E501 + :type: ErrorItemNumberLookupError + """ + if error is None: + raise ValueError("Invalid value for `error`, must not be `None`") # noqa: E501 + + self._error = error + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ErrorItemNumberLookup): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/messente_api/models/error_item_number_lookup_error.py b/messente_api/models/error_item_number_lookup_error.py new file mode 100644 index 0000000..57a8e7e --- /dev/null +++ b/messente_api/models/error_item_number_lookup_error.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Messente API + + [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. # noqa: E501 + + The version of the OpenAPI document: 1.1.1 + Contact: messente@messente.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + + +class ErrorItemNumberLookupError(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'description': 'str', + 'code': 'int' + } + + attribute_map = { + 'description': 'description', + 'code': 'code' + } + + def __init__(self, description=None, code=None): # noqa: E501 + """ErrorItemNumberLookupError - a model defined in OpenAPI""" # noqa: E501 + + self._description = None + self._code = None + self.discriminator = None + + self.description = description + self.code = code + + @property + def description(self): + """Gets the description of this ErrorItemNumberLookupError. # noqa: E501 + + Error description # noqa: E501 + + :return: The description of this ErrorItemNumberLookupError. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this ErrorItemNumberLookupError. + + Error description # noqa: E501 + + :param description: The description of this ErrorItemNumberLookupError. # noqa: E501 + :type: str + """ + if description is None: + raise ValueError("Invalid value for `description`, must not be `None`") # noqa: E501 + + self._description = description + + @property + def code(self): + """Gets the code of this ErrorItemNumberLookupError. # noqa: E501 + + Matches the following error title. This field is a constant * 101 - Unauthorized * 102 - Invalid arguments or parameters * 103 - Server error * 104 - Crediting error #1 * 105 - Crediting error #2 * 106 - Client error # noqa: E501 + + :return: The code of this ErrorItemNumberLookupError. # noqa: E501 + :rtype: int + """ + return self._code + + @code.setter + def code(self, code): + """Sets the code of this ErrorItemNumberLookupError. + + Matches the following error title. This field is a constant * 101 - Unauthorized * 102 - Invalid arguments or parameters * 103 - Server error * 104 - Crediting error #1 * 105 - Crediting error #2 * 106 - Client error # noqa: E501 + + :param code: The code of this ErrorItemNumberLookupError. # noqa: E501 + :type: int + """ + if code is None: + raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501 + if code is not None and code > 106: # noqa: E501 + raise ValueError("Invalid value for `code`, must be a value less than or equal to `106`") # noqa: E501 + if code is not None and code < 101: # noqa: E501 + raise ValueError("Invalid value for `code`, must be a value greater than or equal to `101`") # noqa: E501 + + self._code = code + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ErrorItemNumberLookupError): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/messente_api/models/error_item_omnichannel.py b/messente_api/models/error_item_omnichannel.py index c97b285..febcfd9 100644 --- a/messente_api/models/error_item_omnichannel.py +++ b/messente_api/models/error_item_omnichannel.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/error_item_phonebook.py b/messente_api/models/error_item_phonebook.py index 7557f58..883f0df 100644 --- a/messente_api/models/error_item_phonebook.py +++ b/messente_api/models/error_item_phonebook.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/error_number_lookup.py b/messente_api/models/error_number_lookup.py new file mode 100644 index 0000000..a0ee274 --- /dev/null +++ b/messente_api/models/error_number_lookup.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +""" + Messente API + + [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. # noqa: E501 + + The version of the OpenAPI document: 1.1.1 + Contact: messente@messente.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + + +class ErrorNumberLookup(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'errors': 'list[ErrorItemNumberLookup]' + } + + attribute_map = { + 'errors': 'errors' + } + + def __init__(self, errors=None): # noqa: E501 + """ErrorNumberLookup - a model defined in OpenAPI""" # noqa: E501 + + self._errors = None + self.discriminator = None + + self.errors = errors + + @property + def errors(self): + """Gets the errors of this ErrorNumberLookup. # noqa: E501 + + An array of errors # noqa: E501 + + :return: The errors of this ErrorNumberLookup. # noqa: E501 + :rtype: list[ErrorItemNumberLookup] + """ + return self._errors + + @errors.setter + def errors(self, errors): + """Sets the errors of this ErrorNumberLookup. + + An array of errors # noqa: E501 + + :param errors: The errors of this ErrorNumberLookup. # noqa: E501 + :type: list[ErrorItemNumberLookup] + """ + if errors is None: + raise ValueError("Invalid value for `errors`, must not be `None`") # noqa: E501 + + self._errors = errors + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ErrorNumberLookup): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/messente_api/models/error_omnichannel.py b/messente_api/models/error_omnichannel.py index 6822836..f9a3a18 100644 --- a/messente_api/models/error_omnichannel.py +++ b/messente_api/models/error_omnichannel.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/error_phonebook.py b/messente_api/models/error_phonebook.py index b4d10e3..940e594 100644 --- a/messente_api/models/error_phonebook.py +++ b/messente_api/models/error_phonebook.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/error_title_omnichannel.py b/messente_api/models/error_title_omnichannel.py index e347355..59356e0 100644 --- a/messente_api/models/error_title_omnichannel.py +++ b/messente_api/models/error_title_omnichannel.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/error_title_phonebook.py b/messente_api/models/error_title_phonebook.py index 0611a97..600a2a3 100644 --- a/messente_api/models/error_title_phonebook.py +++ b/messente_api/models/error_title_phonebook.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/fetch_blacklist_success.py b/messente_api/models/fetch_blacklist_success.py index 39032be..b10a77b 100644 --- a/messente_api/models/fetch_blacklist_success.py +++ b/messente_api/models/fetch_blacklist_success.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/group_envelope.py b/messente_api/models/group_envelope.py index 036315a..3b58c8c 100644 --- a/messente_api/models/group_envelope.py +++ b/messente_api/models/group_envelope.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/group_list_envelope.py b/messente_api/models/group_list_envelope.py index 745bcd8..5b810dd 100644 --- a/messente_api/models/group_list_envelope.py +++ b/messente_api/models/group_list_envelope.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/group_name.py b/messente_api/models/group_name.py index 0b829d2..8076207 100644 --- a/messente_api/models/group_name.py +++ b/messente_api/models/group_name.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/group_response_fields.py b/messente_api/models/group_response_fields.py index a55f307..bcd9ee7 100644 --- a/messente_api/models/group_response_fields.py +++ b/messente_api/models/group_response_fields.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/message_result.py b/messente_api/models/message_result.py index 4dbef47..2a9914f 100644 --- a/messente_api/models/message_result.py +++ b/messente_api/models/message_result.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/mobile_network.py b/messente_api/models/mobile_network.py new file mode 100644 index 0000000..5643fdb --- /dev/null +++ b/messente_api/models/mobile_network.py @@ -0,0 +1,227 @@ +# coding: utf-8 + +""" + Messente API + + [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. # noqa: E501 + + The version of the OpenAPI document: 1.1.1 + Contact: messente@messente.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + + +class MobileNetwork(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'mccmnc': 'str', + 'network_name': 'str', + 'country_name': 'str', + 'country_prefix': 'str', + 'country_code': 'str' + } + + attribute_map = { + 'mccmnc': 'mccmnc', + 'network_name': 'networkName', + 'country_name': 'countryName', + 'country_prefix': 'countryPrefix', + 'country_code': 'countryCode' + } + + def __init__(self, mccmnc=None, network_name=None, country_name=None, country_prefix=None, country_code=None): # noqa: E501 + """MobileNetwork - a model defined in OpenAPI""" # noqa: E501 + + self._mccmnc = None + self._network_name = None + self._country_name = None + self._country_prefix = None + self._country_code = None + self.discriminator = None + + if mccmnc is not None: + self.mccmnc = mccmnc + if network_name is not None: + self.network_name = network_name + if country_name is not None: + self.country_name = country_name + if country_prefix is not None: + self.country_prefix = country_prefix + if country_code is not None: + self.country_code = country_code + + @property + def mccmnc(self): + """Gets the mccmnc of this MobileNetwork. # noqa: E501 + + Mobile country and mobile network code # noqa: E501 + + :return: The mccmnc of this MobileNetwork. # noqa: E501 + :rtype: str + """ + return self._mccmnc + + @mccmnc.setter + def mccmnc(self, mccmnc): + """Sets the mccmnc of this MobileNetwork. + + Mobile country and mobile network code # noqa: E501 + + :param mccmnc: The mccmnc of this MobileNetwork. # noqa: E501 + :type: str + """ + + self._mccmnc = mccmnc + + @property + def network_name(self): + """Gets the network_name of this MobileNetwork. # noqa: E501 + + Mobile network name # noqa: E501 + + :return: The network_name of this MobileNetwork. # noqa: E501 + :rtype: str + """ + return self._network_name + + @network_name.setter + def network_name(self, network_name): + """Sets the network_name of this MobileNetwork. + + Mobile network name # noqa: E501 + + :param network_name: The network_name of this MobileNetwork. # noqa: E501 + :type: str + """ + + self._network_name = network_name + + @property + def country_name(self): + """Gets the country_name of this MobileNetwork. # noqa: E501 + + Country name # noqa: E501 + + :return: The country_name of this MobileNetwork. # noqa: E501 + :rtype: str + """ + return self._country_name + + @country_name.setter + def country_name(self, country_name): + """Sets the country_name of this MobileNetwork. + + Country name # noqa: E501 + + :param country_name: The country_name of this MobileNetwork. # noqa: E501 + :type: str + """ + + self._country_name = country_name + + @property + def country_prefix(self): + """Gets the country_prefix of this MobileNetwork. # noqa: E501 + + Country prefix # noqa: E501 + + :return: The country_prefix of this MobileNetwork. # noqa: E501 + :rtype: str + """ + return self._country_prefix + + @country_prefix.setter + def country_prefix(self, country_prefix): + """Sets the country_prefix of this MobileNetwork. + + Country prefix # noqa: E501 + + :param country_prefix: The country_prefix of this MobileNetwork. # noqa: E501 + :type: str + """ + + self._country_prefix = country_prefix + + @property + def country_code(self): + """Gets the country_code of this MobileNetwork. # noqa: E501 + + Country code # noqa: E501 + + :return: The country_code of this MobileNetwork. # noqa: E501 + :rtype: str + """ + return self._country_code + + @country_code.setter + def country_code(self, country_code): + """Sets the country_code of this MobileNetwork. + + Country code # noqa: E501 + + :param country_code: The country_code of this MobileNetwork. # noqa: E501 + :type: str + """ + + self._country_code = country_code + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, MobileNetwork): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/messente_api/models/number_to_blacklist.py b/messente_api/models/number_to_blacklist.py index cc78852..e03c3ce 100644 --- a/messente_api/models/number_to_blacklist.py +++ b/messente_api/models/number_to_blacklist.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/omni_message_create_success_response.py b/messente_api/models/omni_message_create_success_response.py index 487cc29..9c03a95 100644 --- a/messente_api/models/omni_message_create_success_response.py +++ b/messente_api/models/omni_message_create_success_response.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/omnimessage.py b/messente_api/models/omnimessage.py index 3ecea18..c6826b2 100644 --- a/messente_api/models/omnimessage.py +++ b/messente_api/models/omnimessage.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/sms.py b/messente_api/models/sms.py index ffd21dc..aabe219 100644 --- a/messente_api/models/sms.py +++ b/messente_api/models/sms.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/status.py b/messente_api/models/status.py index 48d65eb..5b8ded6 100644 --- a/messente_api/models/status.py +++ b/messente_api/models/status.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/sync_number_lookup.py b/messente_api/models/sync_number_lookup.py new file mode 100644 index 0000000..984a71d --- /dev/null +++ b/messente_api/models/sync_number_lookup.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +""" + Messente API + + [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. # noqa: E501 + + The version of the OpenAPI document: 1.1.1 + Contact: messente@messente.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + + +class SyncNumberLookup(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'numbers': 'list[str]' + } + + attribute_map = { + 'numbers': 'numbers' + } + + def __init__(self, numbers=None): # noqa: E501 + """SyncNumberLookup - a model defined in OpenAPI""" # noqa: E501 + + self._numbers = None + self.discriminator = None + + self.numbers = numbers + + @property + def numbers(self): + """Gets the numbers of this SyncNumberLookup. # noqa: E501 + + Array of phone numbers # noqa: E501 + + :return: The numbers of this SyncNumberLookup. # noqa: E501 + :rtype: list[str] + """ + return self._numbers + + @numbers.setter + def numbers(self, numbers): + """Sets the numbers of this SyncNumberLookup. + + Array of phone numbers # noqa: E501 + + :param numbers: The numbers of this SyncNumberLookup. # noqa: E501 + :type: list[str] + """ + if numbers is None: + raise ValueError("Invalid value for `numbers`, must not be `None`") # noqa: E501 + + self._numbers = numbers + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SyncNumberLookup): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/messente_api/models/sync_number_lookup_result.py b/messente_api/models/sync_number_lookup_result.py new file mode 100644 index 0000000..53e991c --- /dev/null +++ b/messente_api/models/sync_number_lookup_result.py @@ -0,0 +1,332 @@ +# coding: utf-8 + +""" + Messente API + + [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. # noqa: E501 + + The version of the OpenAPI document: 1.1.1 + Contact: messente@messente.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + + +class SyncNumberLookupResult(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'number': 'str', + 'roaming': 'bool', + 'ported': 'bool', + 'roaming_network': 'MobileNetwork', + 'current_network': 'MobileNetwork', + 'original_network': 'MobileNetwork', + 'ported_network': 'MobileNetwork', + 'status': 'str', + 'error': 'object' + } + + attribute_map = { + 'number': 'number', + 'roaming': 'roaming', + 'ported': 'ported', + 'roaming_network': 'roamingNetwork', + 'current_network': 'currentNetwork', + 'original_network': 'originalNetwork', + 'ported_network': 'portedNetwork', + 'status': 'status', + 'error': 'error' + } + + def __init__(self, number=None, roaming=None, ported=None, roaming_network=None, current_network=None, original_network=None, ported_network=None, status=None, error=None): # noqa: E501 + """SyncNumberLookupResult - a model defined in OpenAPI""" # noqa: E501 + + self._number = None + self._roaming = None + self._ported = None + self._roaming_network = None + self._current_network = None + self._original_network = None + self._ported_network = None + self._status = None + self._error = None + self.discriminator = None + + self.number = number + self.roaming = roaming + self.ported = ported + self.roaming_network = roaming_network + self.current_network = current_network + self.original_network = original_network + self.ported_network = ported_network + if status is not None: + self.status = status + if error is not None: + self.error = error + + @property + def number(self): + """Gets the number of this SyncNumberLookupResult. # noqa: E501 + + Phone number in e.164 format # noqa: E501 + + :return: The number of this SyncNumberLookupResult. # noqa: E501 + :rtype: str + """ + return self._number + + @number.setter + def number(self, number): + """Sets the number of this SyncNumberLookupResult. + + Phone number in e.164 format # noqa: E501 + + :param number: The number of this SyncNumberLookupResult. # noqa: E501 + :type: str + """ + if number is None: + raise ValueError("Invalid value for `number`, must not be `None`") # noqa: E501 + + self._number = number + + @property + def roaming(self): + """Gets the roaming of this SyncNumberLookupResult. # noqa: E501 + + Indicates if a number is roaming # noqa: E501 + + :return: The roaming of this SyncNumberLookupResult. # noqa: E501 + :rtype: bool + """ + return self._roaming + + @roaming.setter + def roaming(self, roaming): + """Sets the roaming of this SyncNumberLookupResult. + + Indicates if a number is roaming # noqa: E501 + + :param roaming: The roaming of this SyncNumberLookupResult. # noqa: E501 + :type: bool + """ + + self._roaming = roaming + + @property + def ported(self): + """Gets the ported of this SyncNumberLookupResult. # noqa: E501 + + Indicates if a number is ported # noqa: E501 + + :return: The ported of this SyncNumberLookupResult. # noqa: E501 + :rtype: bool + """ + return self._ported + + @ported.setter + def ported(self, ported): + """Sets the ported of this SyncNumberLookupResult. + + Indicates if a number is ported # noqa: E501 + + :param ported: The ported of this SyncNumberLookupResult. # noqa: E501 + :type: bool + """ + + self._ported = ported + + @property + def roaming_network(self): + """Gets the roaming_network of this SyncNumberLookupResult. # noqa: E501 + + + :return: The roaming_network of this SyncNumberLookupResult. # noqa: E501 + :rtype: MobileNetwork + """ + return self._roaming_network + + @roaming_network.setter + def roaming_network(self, roaming_network): + """Sets the roaming_network of this SyncNumberLookupResult. + + + :param roaming_network: The roaming_network of this SyncNumberLookupResult. # noqa: E501 + :type: MobileNetwork + """ + + self._roaming_network = roaming_network + + @property + def current_network(self): + """Gets the current_network of this SyncNumberLookupResult. # noqa: E501 + + + :return: The current_network of this SyncNumberLookupResult. # noqa: E501 + :rtype: MobileNetwork + """ + return self._current_network + + @current_network.setter + def current_network(self, current_network): + """Sets the current_network of this SyncNumberLookupResult. + + + :param current_network: The current_network of this SyncNumberLookupResult. # noqa: E501 + :type: MobileNetwork + """ + + self._current_network = current_network + + @property + def original_network(self): + """Gets the original_network of this SyncNumberLookupResult. # noqa: E501 + + + :return: The original_network of this SyncNumberLookupResult. # noqa: E501 + :rtype: MobileNetwork + """ + return self._original_network + + @original_network.setter + def original_network(self, original_network): + """Sets the original_network of this SyncNumberLookupResult. + + + :param original_network: The original_network of this SyncNumberLookupResult. # noqa: E501 + :type: MobileNetwork + """ + + self._original_network = original_network + + @property + def ported_network(self): + """Gets the ported_network of this SyncNumberLookupResult. # noqa: E501 + + + :return: The ported_network of this SyncNumberLookupResult. # noqa: E501 + :rtype: MobileNetwork + """ + return self._ported_network + + @ported_network.setter + def ported_network(self, ported_network): + """Sets the ported_network of this SyncNumberLookupResult. + + + :param ported_network: The ported_network of this SyncNumberLookupResult. # noqa: E501 + :type: MobileNetwork + """ + + self._ported_network = ported_network + + @property + def status(self): + """Gets the status of this SyncNumberLookupResult. # noqa: E501 + + Status of the phone number # noqa: E501 + + :return: The status of this SyncNumberLookupResult. # noqa: E501 + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this SyncNumberLookupResult. + + Status of the phone number # noqa: E501 + + :param status: The status of this SyncNumberLookupResult. # noqa: E501 + :type: str + """ + allowed_values = ["ON", "OFF", "INVALID", "UNKNOWN"] # noqa: E501 + if status not in allowed_values: + raise ValueError( + "Invalid value for `status` ({0}), must be one of {1}" # noqa: E501 + .format(status, allowed_values) + ) + + self._status = status + + @property + def error(self): + """Gets the error of this SyncNumberLookupResult. # noqa: E501 + + Indicates if any error occurred while handling the request # noqa: E501 + + :return: The error of this SyncNumberLookupResult. # noqa: E501 + :rtype: object + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this SyncNumberLookupResult. + + Indicates if any error occurred while handling the request # noqa: E501 + + :param error: The error of this SyncNumberLookupResult. # noqa: E501 + :type: object + """ + + self._error = error + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SyncNumberLookupResult): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/messente_api/models/sync_number_lookup_success.py b/messente_api/models/sync_number_lookup_success.py new file mode 100644 index 0000000..59ae7c0 --- /dev/null +++ b/messente_api/models/sync_number_lookup_success.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + Messente API + + [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. # noqa: E501 + + The version of the OpenAPI document: 1.1.1 + Contact: messente@messente.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + + +class SyncNumberLookupSuccess(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'request_id': 'str', + 'result': 'list[SyncNumberLookupResult]' + } + + attribute_map = { + 'request_id': 'request_id', + 'result': 'result' + } + + def __init__(self, request_id=None, result=None): # noqa: E501 + """SyncNumberLookupSuccess - a model defined in OpenAPI""" # noqa: E501 + + self._request_id = None + self._result = None + self.discriminator = None + + self.request_id = request_id + self.result = result + + @property + def request_id(self): + """Gets the request_id of this SyncNumberLookupSuccess. # noqa: E501 + + ID of the request # noqa: E501 + + :return: The request_id of this SyncNumberLookupSuccess. # noqa: E501 + :rtype: str + """ + return self._request_id + + @request_id.setter + def request_id(self, request_id): + """Sets the request_id of this SyncNumberLookupSuccess. + + ID of the request # noqa: E501 + + :param request_id: The request_id of this SyncNumberLookupSuccess. # noqa: E501 + :type: str + """ + if request_id is None: + raise ValueError("Invalid value for `request_id`, must not be `None`") # noqa: E501 + + self._request_id = request_id + + @property + def result(self): + """Gets the result of this SyncNumberLookupSuccess. # noqa: E501 + + A container for phone number info objects # noqa: E501 + + :return: The result of this SyncNumberLookupSuccess. # noqa: E501 + :rtype: list[SyncNumberLookupResult] + """ + return self._result + + @result.setter + def result(self, result): + """Sets the result of this SyncNumberLookupSuccess. + + A container for phone number info objects # noqa: E501 + + :param result: The result of this SyncNumberLookupSuccess. # noqa: E501 + :type: list[SyncNumberLookupResult] + """ + if result is None: + raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 + + self._result = result + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SyncNumberLookupSuccess): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/messente_api/models/telegram.py b/messente_api/models/telegram.py index 7aeca64..78b6b66 100644 --- a/messente_api/models/telegram.py +++ b/messente_api/models/telegram.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/text_store.py b/messente_api/models/text_store.py index 0bc44f1..4a2c73c 100644 --- a/messente_api/models/text_store.py +++ b/messente_api/models/text_store.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/viber.py b/messente_api/models/viber.py index 5297868..8cca53f 100644 --- a/messente_api/models/viber.py +++ b/messente_api/models/viber.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/whats_app.py b/messente_api/models/whats_app.py index 4a89ad1..c1d6dce 100644 --- a/messente_api/models/whats_app.py +++ b/messente_api/models/whats_app.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/whats_app_audio.py b/messente_api/models/whats_app_audio.py index 09c7731..ef0ee7c 100644 --- a/messente_api/models/whats_app_audio.py +++ b/messente_api/models/whats_app_audio.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/whats_app_document.py b/messente_api/models/whats_app_document.py index cb829a5..a25c42f 100644 --- a/messente_api/models/whats_app_document.py +++ b/messente_api/models/whats_app_document.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/whats_app_image.py b/messente_api/models/whats_app_image.py index 1bfb8a3..0f3e473 100644 --- a/messente_api/models/whats_app_image.py +++ b/messente_api/models/whats_app_image.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/models/whats_app_text.py b/messente_api/models/whats_app_text.py index d20a843..985ab68 100644 --- a/messente_api/models/whats_app_text.py +++ b/messente_api/models/whats_app_text.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/messente_api/rest.py b/messente_api/rest.py index c96788c..0e290a4 100644 --- a/messente_api/rest.py +++ b/messente_api/rest.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com diff --git a/setup.py b/setup.py index 6d8b507..1873410 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ """ Messente API - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 The version of the OpenAPI document: 1.1.1 Contact: messente@messente.com @@ -35,6 +35,6 @@ packages=find_packages(), include_package_data=True, long_description="""\ - [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber, WhatsApp and Telegram messages, blacklist phone numbers to make sure you're not sending any unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world. # noqa: E501 + [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. # noqa: E501 """ ) From 422889176b2e918981f9987a60d83c641de14187 Mon Sep 17 00:00:00 2001 From: api-librarian Date: Thu, 10 Oct 2019 13:46:29 +0000 Subject: [PATCH 4/9] Travis update: Oct 2019 (Build 567) [skip ci] --- README.md | 2 +- docs/NumberLookupApi.md | 10 +++++----- messente_api/api/number_lookup_api.py | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index c4a64f7..c91acad 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ Messente API Library provides the operations described below to access the featu ### NumberLookupApi -1. Requests info about a phone number [`sync_number_lookup`](docs/NumberLookupApi.md#sync_number_lookup) +1. Requests info about phone numbers [`sync_number_lookup`](docs/NumberLookupApi.md#sync_number_lookup) ### OmnimessageApi diff --git a/docs/NumberLookupApi.md b/docs/NumberLookupApi.md index 6f16eb8..4375e56 100644 --- a/docs/NumberLookupApi.md +++ b/docs/NumberLookupApi.md @@ -4,13 +4,13 @@ All URIs are relative to *https://api.messente.com/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**sync_number_lookup**](NumberLookupApi.md#sync_number_lookup) | **POST** /hlr/sync | Requests info about a phone number +[**sync_number_lookup**](NumberLookupApi.md#sync_number_lookup) | **POST** /hlr/sync | Requests info about phone numbers # **sync_number_lookup** > SyncNumberLookupSuccess sync_number_lookup(sync_number_lookup) -Requests info about a phone number +Requests info about phone numbers ### Example @@ -30,10 +30,10 @@ configuration.password = 'YOUR_PASSWORD' configuration.host = "https://api.messente.com/v1" # Create an instance of the API class api_instance = messente_api.NumberLookupApi(messente_api.ApiClient(configuration)) -sync_number_lookup = {"numbers":["+37251000000","+37251000001"]} # SyncNumberLookup | Numbers to lookup +sync_number_lookup = {"numbers":["+37251000000","+37251000001"]} # SyncNumberLookup | Numbers for lookup try: - # Requests info about a phone number + # Requests info about phone numbers api_response = api_instance.sync_number_lookup(sync_number_lookup) pprint(api_response) except ApiException as e: @@ -44,7 +44,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **sync_number_lookup** | [**SyncNumberLookup**](SyncNumberLookup.md)| Numbers to lookup | + **sync_number_lookup** | [**SyncNumberLookup**](SyncNumberLookup.md)| Numbers for lookup | ### Return type diff --git a/messente_api/api/number_lookup_api.py b/messente_api/api/number_lookup_api.py index c46908e..3e53c20 100644 --- a/messente_api/api/number_lookup_api.py +++ b/messente_api/api/number_lookup_api.py @@ -38,7 +38,7 @@ def __init__(self, api_client=None): self.api_client = api_client def sync_number_lookup(self, sync_number_lookup, **kwargs): # noqa: E501 - """Requests info about a phone number # noqa: E501 + """Requests info about phone numbers # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -46,7 +46,7 @@ def sync_number_lookup(self, sync_number_lookup, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param SyncNumberLookup sync_number_lookup: Numbers to lookup (required) + :param SyncNumberLookup sync_number_lookup: Numbers for lookup (required) :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -62,7 +62,7 @@ def sync_number_lookup(self, sync_number_lookup, **kwargs): # noqa: E501 return self.sync_number_lookup_with_http_info(sync_number_lookup, **kwargs) # noqa: E501 def sync_number_lookup_with_http_info(self, sync_number_lookup, **kwargs): # noqa: E501 - """Requests info about a phone number # noqa: E501 + """Requests info about phone numbers # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -70,7 +70,7 @@ def sync_number_lookup_with_http_info(self, sync_number_lookup, **kwargs): # no >>> result = thread.get() :param async_req bool: execute request asynchronously - :param SyncNumberLookup sync_number_lookup: Numbers to lookup (required) + :param SyncNumberLookup sync_number_lookup: Numbers for lookup (required) :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will From 19fed845fef4a23ba4586f274086f677bce3559e Mon Sep 17 00:00:00 2001 From: api-librarian Date: Fri, 11 Oct 2019 11:28:20 +0000 Subject: [PATCH 5/9] Travis update: Oct 2019 (Build 568) [skip ci] --- README.md | 4 + docs/ErrorCodeStatistics.md | 9 + docs/ErrorItemStatistics.md | 12 ++ docs/ErrorStatistics.md | 10 + docs/StatisticsApi.md | 72 ++++++++ docs/StatisticsReport.md | 12 ++ docs/StatisticsReportSettings.md | 12 ++ docs/StatisticsReportSuccess.md | 10 + messente_api/__init__.py | 7 + messente_api/api/__init__.py | 1 + messente_api/api/statistics_api.py | 148 +++++++++++++++ messente_api/models/__init__.py | 6 + messente_api/models/error_code_statistics.py | 93 ++++++++++ messente_api/models/error_item_statistics.py | 172 +++++++++++++++++ messente_api/models/error_statistics.py | 116 ++++++++++++ messente_api/models/statistics_report.py | 174 ++++++++++++++++++ .../models/statistics_report_settings.py | 173 +++++++++++++++++ .../models/statistics_report_success.py | 116 ++++++++++++ 18 files changed, 1147 insertions(+) create mode 100644 docs/ErrorCodeStatistics.md create mode 100644 docs/ErrorItemStatistics.md create mode 100644 docs/ErrorStatistics.md create mode 100644 docs/StatisticsApi.md create mode 100644 docs/StatisticsReport.md create mode 100644 docs/StatisticsReportSettings.md create mode 100644 docs/StatisticsReportSuccess.md create mode 100644 messente_api/api/statistics_api.py create mode 100644 messente_api/models/error_code_statistics.py create mode 100644 messente_api/models/error_item_statistics.py create mode 100644 messente_api/models/error_statistics.py create mode 100644 messente_api/models/statistics_report.py create mode 100644 messente_api/models/statistics_report_settings.py create mode 100644 messente_api/models/statistics_report_success.py diff --git a/README.md b/README.md index c91acad..926c3c2 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,10 @@ Messente API Library provides the operations described below to access the featu 1. Cancels a scheduled Omnimessage [`cancel_scheduled_message`](docs/OmnimessageApi.md#cancel_scheduled_message) 1. Sends an Omnimessage [`send_omnimessage`](docs/OmnimessageApi.md#send_omnimessage) +### StatisticsApi + +1. Requests statistcs reports for each country [`create_statistics_report`](docs/StatisticsApi.md#create_statistics_report) + ## Auth **Type**: HTTP basic authentication diff --git a/docs/ErrorCodeStatistics.md b/docs/ErrorCodeStatistics.md new file mode 100644 index 0000000..acecb43 --- /dev/null +++ b/docs/ErrorCodeStatistics.md @@ -0,0 +1,9 @@ +# ErrorCodeStatistics + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ErrorItemStatistics.md b/docs/ErrorItemStatistics.md new file mode 100644 index 0000000..f5776f1 --- /dev/null +++ b/docs/ErrorItemStatistics.md @@ -0,0 +1,12 @@ +# ErrorItemStatistics + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**title** | **str** | Error title | +**details** | **str** | Error details | +**code** | [**ErrorCodeStatistics**](ErrorCodeStatistics.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ErrorStatistics.md b/docs/ErrorStatistics.md new file mode 100644 index 0000000..3031ba7 --- /dev/null +++ b/docs/ErrorStatistics.md @@ -0,0 +1,10 @@ +# ErrorStatistics + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**errors** | [**list[ErrorItemStatistics]**](ErrorItemStatistics.md) | An array of errors | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/StatisticsApi.md b/docs/StatisticsApi.md new file mode 100644 index 0000000..c34c048 --- /dev/null +++ b/docs/StatisticsApi.md @@ -0,0 +1,72 @@ +# messente_api.StatisticsApi + +All URIs are relative to *https://api.messente.com/v1* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_statistics_report**](StatisticsApi.md#create_statistics_report) | **POST** /statistics/reports | Requests statistcs reports for each country + + +# **create_statistics_report** +> StatisticsReportSuccess create_statistics_report(statistics_report_settings) + +Requests statistcs reports for each country + +### Example + +* Basic Authentication (basicAuth): +```python +from __future__ import print_function +import time +import messente_api +from messente_api.rest import ApiException +from pprint import pprint +configuration = messente_api.Configuration() +# Configure HTTP basic authorization: basicAuth +configuration.username = 'YOUR_USERNAME' +configuration.password = 'YOUR_PASSWORD' + +# Defining host is optional and default to https://api.messente.com/v1 +configuration.host = "https://api.messente.com/v1" +# Create an instance of the API class +api_instance = messente_api.StatisticsApi(messente_api.ApiClient(configuration)) +statistics_report_settings = {"start_date":"2017-01-01","end_date":"2019-06-20","message_types":["sms"]} # StatisticsReportSettings | Settings for statistics report + +try: + # Requests statistcs reports for each country + api_response = api_instance.create_statistics_report(statistics_report_settings) + pprint(api_response) +except ApiException as e: + print("Exception when calling StatisticsApi->create_statistics_report: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **statistics_report_settings** | [**StatisticsReportSettings**](StatisticsReportSettings.md)| Settings for statistics report | + +### Return type + +[**StatisticsReportSuccess**](StatisticsReportSuccess.md) + +### Authorization + +[basicAuth](../README.md#basicAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Created reports by countries | - | +**400** | Client Error | - | +**401** | Unauthorized | - | +**422** | Invalid data | - | +**500** | Internal Server Error | - | + +[[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/StatisticsReport.md b/docs/StatisticsReport.md new file mode 100644 index 0000000..6052b9a --- /dev/null +++ b/docs/StatisticsReport.md @@ -0,0 +1,12 @@ +# StatisticsReport + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**total_messages** | **int** | Sum of all messages | +**total_price** | **str** | Price for all messages | +**country** | **str** | Target country of all messages | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/StatisticsReportSettings.md b/docs/StatisticsReportSettings.md new file mode 100644 index 0000000..ab97820 --- /dev/null +++ b/docs/StatisticsReportSettings.md @@ -0,0 +1,12 @@ +# StatisticsReportSettings + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**start_date** | **date** | Start date for the report | +**end_date** | **date** | End date for the report | +**message_types** | **list[str]** | Optional list of message types (sms, viber, whatsapp, hlr) | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/StatisticsReportSuccess.md b/docs/StatisticsReportSuccess.md new file mode 100644 index 0000000..67fda84 --- /dev/null +++ b/docs/StatisticsReportSuccess.md @@ -0,0 +1,10 @@ +# StatisticsReportSuccess + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**reports** | [**list[StatisticsReport]**](StatisticsReport.md) | Array of report objects | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/messente_api/__init__.py b/messente_api/__init__.py index d808153..7d1c002 100644 --- a/messente_api/__init__.py +++ b/messente_api/__init__.py @@ -24,6 +24,7 @@ from messente_api.api.groups_api import GroupsApi from messente_api.api.number_lookup_api import NumberLookupApi from messente_api.api.omnimessage_api import OmnimessageApi +from messente_api.api.statistics_api import StatisticsApi # import ApiClient from messente_api.api_client import ApiClient @@ -44,13 +45,16 @@ from messente_api.models.error_code_omnichannel import ErrorCodeOmnichannel from messente_api.models.error_code_omnichannel_machine import ErrorCodeOmnichannelMachine from messente_api.models.error_code_phonebook import ErrorCodePhonebook +from messente_api.models.error_code_statistics import ErrorCodeStatistics from messente_api.models.error_item_number_lookup import ErrorItemNumberLookup from messente_api.models.error_item_number_lookup_error import ErrorItemNumberLookupError from messente_api.models.error_item_omnichannel import ErrorItemOmnichannel from messente_api.models.error_item_phonebook import ErrorItemPhonebook +from messente_api.models.error_item_statistics import ErrorItemStatistics from messente_api.models.error_number_lookup import ErrorNumberLookup from messente_api.models.error_omnichannel import ErrorOmnichannel from messente_api.models.error_phonebook import ErrorPhonebook +from messente_api.models.error_statistics import ErrorStatistics from messente_api.models.error_title_omnichannel import ErrorTitleOmnichannel from messente_api.models.error_title_phonebook import ErrorTitlePhonebook from messente_api.models.fetch_blacklist_success import FetchBlacklistSuccess @@ -64,6 +68,9 @@ from messente_api.models.omni_message_create_success_response import OmniMessageCreateSuccessResponse from messente_api.models.omnimessage import Omnimessage from messente_api.models.sms import SMS +from messente_api.models.statistics_report import StatisticsReport +from messente_api.models.statistics_report_settings import StatisticsReportSettings +from messente_api.models.statistics_report_success import StatisticsReportSuccess from messente_api.models.status import Status from messente_api.models.sync_number_lookup import SyncNumberLookup from messente_api.models.sync_number_lookup_result import SyncNumberLookupResult diff --git a/messente_api/api/__init__.py b/messente_api/api/__init__.py index d428207..46467b5 100644 --- a/messente_api/api/__init__.py +++ b/messente_api/api/__init__.py @@ -9,3 +9,4 @@ from messente_api.api.groups_api import GroupsApi from messente_api.api.number_lookup_api import NumberLookupApi from messente_api.api.omnimessage_api import OmnimessageApi +from messente_api.api.statistics_api import StatisticsApi diff --git a/messente_api/api/statistics_api.py b/messente_api/api/statistics_api.py new file mode 100644 index 0000000..ab0049a --- /dev/null +++ b/messente_api/api/statistics_api.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + Messente API + + [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. # noqa: E501 + + The version of the OpenAPI document: 1.1.1 + Contact: messente@messente.com + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from messente_api.api_client import ApiClient +from messente_api.exceptions import ( + ApiTypeError, + ApiValueError +) + + +class StatisticsApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def create_statistics_report(self, statistics_report_settings, **kwargs): # noqa: E501 + """Requests statistcs reports for each country # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_statistics_report(statistics_report_settings, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param StatisticsReportSettings statistics_report_settings: Settings for statistics report (required) + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: StatisticsReportSuccess + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.create_statistics_report_with_http_info(statistics_report_settings, **kwargs) # noqa: E501 + + def create_statistics_report_with_http_info(self, statistics_report_settings, **kwargs): # noqa: E501 + """Requests statistcs reports for each country # noqa: E501 + + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_statistics_report_with_http_info(statistics_report_settings, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param StatisticsReportSettings statistics_report_settings: Settings for statistics report (required) + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(StatisticsReportSuccess, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = ['statistics_report_settings'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_statistics_report" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'statistics_report_settings' is set + if ('statistics_report_settings' not in local_var_params or + local_var_params['statistics_report_settings'] is None): + raise ApiValueError("Missing the required parameter `statistics_report_settings` when calling `create_statistics_report`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'statistics_report_settings' in local_var_params: + body_params = local_var_params['statistics_report_settings'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['basicAuth'] # noqa: E501 + + return self.api_client.call_api( + '/statistics/reports', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='StatisticsReportSuccess', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/messente_api/models/__init__.py b/messente_api/models/__init__.py index 54cad27..9fa894f 100644 --- a/messente_api/models/__init__.py +++ b/messente_api/models/__init__.py @@ -25,13 +25,16 @@ from messente_api.models.error_code_omnichannel import ErrorCodeOmnichannel from messente_api.models.error_code_omnichannel_machine import ErrorCodeOmnichannelMachine from messente_api.models.error_code_phonebook import ErrorCodePhonebook +from messente_api.models.error_code_statistics import ErrorCodeStatistics from messente_api.models.error_item_number_lookup import ErrorItemNumberLookup from messente_api.models.error_item_number_lookup_error import ErrorItemNumberLookupError from messente_api.models.error_item_omnichannel import ErrorItemOmnichannel from messente_api.models.error_item_phonebook import ErrorItemPhonebook +from messente_api.models.error_item_statistics import ErrorItemStatistics from messente_api.models.error_number_lookup import ErrorNumberLookup from messente_api.models.error_omnichannel import ErrorOmnichannel from messente_api.models.error_phonebook import ErrorPhonebook +from messente_api.models.error_statistics import ErrorStatistics from messente_api.models.error_title_omnichannel import ErrorTitleOmnichannel from messente_api.models.error_title_phonebook import ErrorTitlePhonebook from messente_api.models.fetch_blacklist_success import FetchBlacklistSuccess @@ -45,6 +48,9 @@ from messente_api.models.omni_message_create_success_response import OmniMessageCreateSuccessResponse from messente_api.models.omnimessage import Omnimessage from messente_api.models.sms import SMS +from messente_api.models.statistics_report import StatisticsReport +from messente_api.models.statistics_report_settings import StatisticsReportSettings +from messente_api.models.statistics_report_success import StatisticsReportSuccess from messente_api.models.status import Status from messente_api.models.sync_number_lookup import SyncNumberLookup from messente_api.models.sync_number_lookup_result import SyncNumberLookupResult diff --git a/messente_api/models/error_code_statistics.py b/messente_api/models/error_code_statistics.py new file mode 100644 index 0000000..9273a21 --- /dev/null +++ b/messente_api/models/error_code_statistics.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + Messente API + + [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. # noqa: E501 + + The version of the OpenAPI document: 1.1.1 + Contact: messente@messente.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + + +class ErrorCodeStatistics(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + allowed enum values + """ + _100 = "100" + _103 = "103" + _104 = "104" + _105 = "105" + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """ErrorCodeStatistics - a model defined in OpenAPI""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ErrorCodeStatistics): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/messente_api/models/error_item_statistics.py b/messente_api/models/error_item_statistics.py new file mode 100644 index 0000000..45d6d9d --- /dev/null +++ b/messente_api/models/error_item_statistics.py @@ -0,0 +1,172 @@ +# coding: utf-8 + +""" + Messente API + + [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. # noqa: E501 + + The version of the OpenAPI document: 1.1.1 + Contact: messente@messente.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + + +class ErrorItemStatistics(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'title': 'str', + 'details': 'str', + 'code': 'ErrorCodeStatistics' + } + + attribute_map = { + 'title': 'title', + 'details': 'details', + 'code': 'code' + } + + def __init__(self, title=None, details=None, code=None): # noqa: E501 + """ErrorItemStatistics - a model defined in OpenAPI""" # noqa: E501 + + self._title = None + self._details = None + self._code = None + self.discriminator = None + + self.title = title + self.details = details + self.code = code + + @property + def title(self): + """Gets the title of this ErrorItemStatistics. # noqa: E501 + + Error title # noqa: E501 + + :return: The title of this ErrorItemStatistics. # noqa: E501 + :rtype: str + """ + return self._title + + @title.setter + def title(self, title): + """Sets the title of this ErrorItemStatistics. + + Error title # noqa: E501 + + :param title: The title of this ErrorItemStatistics. # noqa: E501 + :type: str + """ + if title is None: + raise ValueError("Invalid value for `title`, must not be `None`") # noqa: E501 + + self._title = title + + @property + def details(self): + """Gets the details of this ErrorItemStatistics. # noqa: E501 + + Error details # noqa: E501 + + :return: The details of this ErrorItemStatistics. # noqa: E501 + :rtype: str + """ + return self._details + + @details.setter + def details(self, details): + """Sets the details of this ErrorItemStatistics. + + Error details # noqa: E501 + + :param details: The details of this ErrorItemStatistics. # noqa: E501 + :type: str + """ + if details is None: + raise ValueError("Invalid value for `details`, must not be `None`") # noqa: E501 + + self._details = details + + @property + def code(self): + """Gets the code of this ErrorItemStatistics. # noqa: E501 + + + :return: The code of this ErrorItemStatistics. # noqa: E501 + :rtype: ErrorCodeStatistics + """ + return self._code + + @code.setter + def code(self, code): + """Sets the code of this ErrorItemStatistics. + + + :param code: The code of this ErrorItemStatistics. # noqa: E501 + :type: ErrorCodeStatistics + """ + if code is None: + raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501 + + self._code = code + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ErrorItemStatistics): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/messente_api/models/error_statistics.py b/messente_api/models/error_statistics.py new file mode 100644 index 0000000..64400f1 --- /dev/null +++ b/messente_api/models/error_statistics.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +""" + Messente API + + [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. # noqa: E501 + + The version of the OpenAPI document: 1.1.1 + Contact: messente@messente.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + + +class ErrorStatistics(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'errors': 'list[ErrorItemStatistics]' + } + + attribute_map = { + 'errors': 'errors' + } + + def __init__(self, errors=None): # noqa: E501 + """ErrorStatistics - a model defined in OpenAPI""" # noqa: E501 + + self._errors = None + self.discriminator = None + + self.errors = errors + + @property + def errors(self): + """Gets the errors of this ErrorStatistics. # noqa: E501 + + An array of errors # noqa: E501 + + :return: The errors of this ErrorStatistics. # noqa: E501 + :rtype: list[ErrorItemStatistics] + """ + return self._errors + + @errors.setter + def errors(self, errors): + """Sets the errors of this ErrorStatistics. + + An array of errors # noqa: E501 + + :param errors: The errors of this ErrorStatistics. # noqa: E501 + :type: list[ErrorItemStatistics] + """ + if errors is None: + raise ValueError("Invalid value for `errors`, must not be `None`") # noqa: E501 + + self._errors = errors + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ErrorStatistics): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/messente_api/models/statistics_report.py b/messente_api/models/statistics_report.py new file mode 100644 index 0000000..ac60fa5 --- /dev/null +++ b/messente_api/models/statistics_report.py @@ -0,0 +1,174 @@ +# coding: utf-8 + +""" + Messente API + + [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. # noqa: E501 + + The version of the OpenAPI document: 1.1.1 + Contact: messente@messente.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + + +class StatisticsReport(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'total_messages': 'int', + 'total_price': 'str', + 'country': 'str' + } + + attribute_map = { + 'total_messages': 'total_messages', + 'total_price': 'total_price', + 'country': 'country' + } + + def __init__(self, total_messages=None, total_price=None, country=None): # noqa: E501 + """StatisticsReport - a model defined in OpenAPI""" # noqa: E501 + + self._total_messages = None + self._total_price = None + self._country = None + self.discriminator = None + + self.total_messages = total_messages + self.total_price = total_price + self.country = country + + @property + def total_messages(self): + """Gets the total_messages of this StatisticsReport. # noqa: E501 + + Sum of all messages # noqa: E501 + + :return: The total_messages of this StatisticsReport. # noqa: E501 + :rtype: int + """ + return self._total_messages + + @total_messages.setter + def total_messages(self, total_messages): + """Sets the total_messages of this StatisticsReport. + + Sum of all messages # noqa: E501 + + :param total_messages: The total_messages of this StatisticsReport. # noqa: E501 + :type: int + """ + if total_messages is None: + raise ValueError("Invalid value for `total_messages`, must not be `None`") # noqa: E501 + + self._total_messages = total_messages + + @property + def total_price(self): + """Gets the total_price of this StatisticsReport. # noqa: E501 + + Price for all messages # noqa: E501 + + :return: The total_price of this StatisticsReport. # noqa: E501 + :rtype: str + """ + return self._total_price + + @total_price.setter + def total_price(self, total_price): + """Sets the total_price of this StatisticsReport. + + Price for all messages # noqa: E501 + + :param total_price: The total_price of this StatisticsReport. # noqa: E501 + :type: str + """ + if total_price is None: + raise ValueError("Invalid value for `total_price`, must not be `None`") # noqa: E501 + + self._total_price = total_price + + @property + def country(self): + """Gets the country of this StatisticsReport. # noqa: E501 + + Target country of all messages # noqa: E501 + + :return: The country of this StatisticsReport. # noqa: E501 + :rtype: str + """ + return self._country + + @country.setter + def country(self, country): + """Sets the country of this StatisticsReport. + + Target country of all messages # noqa: E501 + + :param country: The country of this StatisticsReport. # noqa: E501 + :type: str + """ + if country is None: + raise ValueError("Invalid value for `country`, must not be `None`") # noqa: E501 + + self._country = country + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, StatisticsReport): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/messente_api/models/statistics_report_settings.py b/messente_api/models/statistics_report_settings.py new file mode 100644 index 0000000..215ad35 --- /dev/null +++ b/messente_api/models/statistics_report_settings.py @@ -0,0 +1,173 @@ +# coding: utf-8 + +""" + Messente API + + [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. # noqa: E501 + + The version of the OpenAPI document: 1.1.1 + Contact: messente@messente.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + + +class StatisticsReportSettings(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'start_date': 'date', + 'end_date': 'date', + 'message_types': 'list[str]' + } + + attribute_map = { + 'start_date': 'start_date', + 'end_date': 'end_date', + 'message_types': 'message_types' + } + + def __init__(self, start_date=None, end_date=None, message_types=None): # noqa: E501 + """StatisticsReportSettings - a model defined in OpenAPI""" # noqa: E501 + + self._start_date = None + self._end_date = None + self._message_types = None + self.discriminator = None + + self.start_date = start_date + self.end_date = end_date + if message_types is not None: + self.message_types = message_types + + @property + def start_date(self): + """Gets the start_date of this StatisticsReportSettings. # noqa: E501 + + Start date for the report # noqa: E501 + + :return: The start_date of this StatisticsReportSettings. # noqa: E501 + :rtype: date + """ + return self._start_date + + @start_date.setter + def start_date(self, start_date): + """Sets the start_date of this StatisticsReportSettings. + + Start date for the report # noqa: E501 + + :param start_date: The start_date of this StatisticsReportSettings. # noqa: E501 + :type: date + """ + if start_date is None: + raise ValueError("Invalid value for `start_date`, must not be `None`") # noqa: E501 + + self._start_date = start_date + + @property + def end_date(self): + """Gets the end_date of this StatisticsReportSettings. # noqa: E501 + + End date for the report # noqa: E501 + + :return: The end_date of this StatisticsReportSettings. # noqa: E501 + :rtype: date + """ + return self._end_date + + @end_date.setter + def end_date(self, end_date): + """Sets the end_date of this StatisticsReportSettings. + + End date for the report # noqa: E501 + + :param end_date: The end_date of this StatisticsReportSettings. # noqa: E501 + :type: date + """ + if end_date is None: + raise ValueError("Invalid value for `end_date`, must not be `None`") # noqa: E501 + + self._end_date = end_date + + @property + def message_types(self): + """Gets the message_types of this StatisticsReportSettings. # noqa: E501 + + Optional list of message types (sms, viber, whatsapp, hlr) # noqa: E501 + + :return: The message_types of this StatisticsReportSettings. # noqa: E501 + :rtype: list[str] + """ + return self._message_types + + @message_types.setter + def message_types(self, message_types): + """Sets the message_types of this StatisticsReportSettings. + + Optional list of message types (sms, viber, whatsapp, hlr) # noqa: E501 + + :param message_types: The message_types of this StatisticsReportSettings. # noqa: E501 + :type: list[str] + """ + + self._message_types = message_types + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, StatisticsReportSettings): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/messente_api/models/statistics_report_success.py b/messente_api/models/statistics_report_success.py new file mode 100644 index 0000000..88de647 --- /dev/null +++ b/messente_api/models/statistics_report_success.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +""" + Messente API + + [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. # noqa: E501 + + The version of the OpenAPI document: 1.1.1 + Contact: messente@messente.com + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + + +class StatisticsReportSuccess(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'reports': 'list[StatisticsReport]' + } + + attribute_map = { + 'reports': 'reports' + } + + def __init__(self, reports=None): # noqa: E501 + """StatisticsReportSuccess - a model defined in OpenAPI""" # noqa: E501 + + self._reports = None + self.discriminator = None + + self.reports = reports + + @property + def reports(self): + """Gets the reports of this StatisticsReportSuccess. # noqa: E501 + + Array of report objects # noqa: E501 + + :return: The reports of this StatisticsReportSuccess. # noqa: E501 + :rtype: list[StatisticsReport] + """ + return self._reports + + @reports.setter + def reports(self, reports): + """Sets the reports of this StatisticsReportSuccess. + + Array of report objects # noqa: E501 + + :param reports: The reports of this StatisticsReportSuccess. # noqa: E501 + :type: list[StatisticsReport] + """ + if reports is None: + raise ValueError("Invalid value for `reports`, must not be `None`") # noqa: E501 + + self._reports = reports + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, StatisticsReportSuccess): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other From 85381b8f51ff23928c5e0335916a29b58869ce77 Mon Sep 17 00:00:00 2001 From: api-librarian Date: Fri, 11 Oct 2019 11:34:39 +0000 Subject: [PATCH 6/9] Travis update: Oct 2019 (Build 569) [skip ci] --- README.md | 2 +- docs/StatisticsApi.md | 6 +++--- messente_api/api/statistics_api.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 926c3c2..5a7d78b 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Messente API Library provides the operations described below to access the featu ### StatisticsApi -1. Requests statistcs reports for each country [`create_statistics_report`](docs/StatisticsApi.md#create_statistics_report) +1. Requests statistics reports for each country [`create_statistics_report`](docs/StatisticsApi.md#create_statistics_report) ## Auth diff --git a/docs/StatisticsApi.md b/docs/StatisticsApi.md index c34c048..5a859ff 100644 --- a/docs/StatisticsApi.md +++ b/docs/StatisticsApi.md @@ -4,13 +4,13 @@ All URIs are relative to *https://api.messente.com/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_statistics_report**](StatisticsApi.md#create_statistics_report) | **POST** /statistics/reports | Requests statistcs reports for each country +[**create_statistics_report**](StatisticsApi.md#create_statistics_report) | **POST** /statistics/reports | Requests statistics reports for each country # **create_statistics_report** > StatisticsReportSuccess create_statistics_report(statistics_report_settings) -Requests statistcs reports for each country +Requests statistics reports for each country ### Example @@ -33,7 +33,7 @@ api_instance = messente_api.StatisticsApi(messente_api.ApiClient(configuration)) statistics_report_settings = {"start_date":"2017-01-01","end_date":"2019-06-20","message_types":["sms"]} # StatisticsReportSettings | Settings for statistics report try: - # Requests statistcs reports for each country + # Requests statistics reports for each country api_response = api_instance.create_statistics_report(statistics_report_settings) pprint(api_response) except ApiException as e: diff --git a/messente_api/api/statistics_api.py b/messente_api/api/statistics_api.py index ab0049a..fea1e74 100644 --- a/messente_api/api/statistics_api.py +++ b/messente_api/api/statistics_api.py @@ -38,7 +38,7 @@ def __init__(self, api_client=None): self.api_client = api_client def create_statistics_report(self, statistics_report_settings, **kwargs): # noqa: E501 - """Requests statistcs reports for each country # noqa: E501 + """Requests statistics reports for each country # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -62,7 +62,7 @@ def create_statistics_report(self, statistics_report_settings, **kwargs): # noq return self.create_statistics_report_with_http_info(statistics_report_settings, **kwargs) # noqa: E501 def create_statistics_report_with_http_info(self, statistics_report_settings, **kwargs): # noqa: E501 - """Requests statistcs reports for each country # noqa: E501 + """Requests statistics reports for each country # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True From 16f28245095418a2a5ba250777d14b2063beb1fb Mon Sep 17 00:00:00 2001 From: api-librarian Date: Mon, 14 Oct 2019 12:09:39 +0000 Subject: [PATCH 7/9] Travis update: Oct 2019 (Build 572) [skip ci] --- README.md | 2 +- docs/NumberLookupApi.md | 14 ++++----- ...umberLookup.md => NumbersToInvestigate.md} | 2 +- messente_api/__init__.py | 2 +- messente_api/api/number_lookup_api.py | 30 +++++++++---------- messente_api/models/__init__.py | 2 +- ...er_lookup.py => numbers_to_investigate.py} | 14 ++++----- 7 files changed, 33 insertions(+), 33 deletions(-) rename docs/{SyncNumberLookup.md => NumbersToInvestigate.md} (93%) rename messente_api/models/{sync_number_lookup.py => numbers_to_investigate.py} (87%) diff --git a/README.md b/README.md index 5a7d78b..9432f89 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ Messente API Library provides the operations described below to access the featu ### NumberLookupApi -1. Requests info about phone numbers [`sync_number_lookup`](docs/NumberLookupApi.md#sync_number_lookup) +1. Requests info about phone numbers [`fetch_info`](docs/NumberLookupApi.md#fetch_info) ### OmnimessageApi diff --git a/docs/NumberLookupApi.md b/docs/NumberLookupApi.md index 4375e56..c221500 100644 --- a/docs/NumberLookupApi.md +++ b/docs/NumberLookupApi.md @@ -4,11 +4,11 @@ All URIs are relative to *https://api.messente.com/v1* Method | HTTP request | Description ------------- | ------------- | ------------- -[**sync_number_lookup**](NumberLookupApi.md#sync_number_lookup) | **POST** /hlr/sync | Requests info about phone numbers +[**fetch_info**](NumberLookupApi.md#fetch_info) | **POST** /hlr/sync | Requests info about phone numbers -# **sync_number_lookup** -> SyncNumberLookupSuccess sync_number_lookup(sync_number_lookup) +# **fetch_info** +> SyncNumberLookupSuccess fetch_info(numbers_to_investigate) Requests info about phone numbers @@ -30,21 +30,21 @@ configuration.password = 'YOUR_PASSWORD' configuration.host = "https://api.messente.com/v1" # Create an instance of the API class api_instance = messente_api.NumberLookupApi(messente_api.ApiClient(configuration)) -sync_number_lookup = {"numbers":["+37251000000","+37251000001"]} # SyncNumberLookup | Numbers for lookup +numbers_to_investigate = {"numbers":["+37251000000","+37251000001"]} # NumbersToInvestigate | Numbers for lookup try: # Requests info about phone numbers - api_response = api_instance.sync_number_lookup(sync_number_lookup) + api_response = api_instance.fetch_info(numbers_to_investigate) pprint(api_response) except ApiException as e: - print("Exception when calling NumberLookupApi->sync_number_lookup: %s\n" % e) + print("Exception when calling NumberLookupApi->fetch_info: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **sync_number_lookup** | [**SyncNumberLookup**](SyncNumberLookup.md)| Numbers for lookup | + **numbers_to_investigate** | [**NumbersToInvestigate**](NumbersToInvestigate.md)| Numbers for lookup | ### Return type diff --git a/docs/SyncNumberLookup.md b/docs/NumbersToInvestigate.md similarity index 93% rename from docs/SyncNumberLookup.md rename to docs/NumbersToInvestigate.md index 0d48f3a..bccb64d 100644 --- a/docs/SyncNumberLookup.md +++ b/docs/NumbersToInvestigate.md @@ -1,4 +1,4 @@ -# SyncNumberLookup +# NumbersToInvestigate ## Properties Name | Type | Description | Notes diff --git a/messente_api/__init__.py b/messente_api/__init__.py index 7d1c002..cc52bc4 100644 --- a/messente_api/__init__.py +++ b/messente_api/__init__.py @@ -65,6 +65,7 @@ from messente_api.models.message_result import MessageResult from messente_api.models.mobile_network import MobileNetwork from messente_api.models.number_to_blacklist import NumberToBlacklist +from messente_api.models.numbers_to_investigate import NumbersToInvestigate from messente_api.models.omni_message_create_success_response import OmniMessageCreateSuccessResponse from messente_api.models.omnimessage import Omnimessage from messente_api.models.sms import SMS @@ -72,7 +73,6 @@ from messente_api.models.statistics_report_settings import StatisticsReportSettings from messente_api.models.statistics_report_success import StatisticsReportSuccess from messente_api.models.status import Status -from messente_api.models.sync_number_lookup import SyncNumberLookup from messente_api.models.sync_number_lookup_result import SyncNumberLookupResult from messente_api.models.sync_number_lookup_success import SyncNumberLookupSuccess from messente_api.models.telegram import Telegram diff --git a/messente_api/api/number_lookup_api.py b/messente_api/api/number_lookup_api.py index 3e53c20..fc2f572 100644 --- a/messente_api/api/number_lookup_api.py +++ b/messente_api/api/number_lookup_api.py @@ -37,16 +37,16 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client - def sync_number_lookup(self, sync_number_lookup, **kwargs): # noqa: E501 + def fetch_info(self, numbers_to_investigate, **kwargs): # noqa: E501 """Requests info about phone numbers # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.sync_number_lookup(sync_number_lookup, async_req=True) + >>> thread = api.fetch_info(numbers_to_investigate, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param SyncNumberLookup sync_number_lookup: Numbers for lookup (required) + :param NumbersToInvestigate numbers_to_investigate: Numbers for lookup (required) :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -59,18 +59,18 @@ def sync_number_lookup(self, sync_number_lookup, **kwargs): # noqa: E501 returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.sync_number_lookup_with_http_info(sync_number_lookup, **kwargs) # noqa: E501 + return self.fetch_info_with_http_info(numbers_to_investigate, **kwargs) # noqa: E501 - def sync_number_lookup_with_http_info(self, sync_number_lookup, **kwargs): # noqa: E501 + def fetch_info_with_http_info(self, numbers_to_investigate, **kwargs): # noqa: E501 """Requests info about phone numbers # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.sync_number_lookup_with_http_info(sync_number_lookup, async_req=True) + >>> thread = api.fetch_info_with_http_info(numbers_to_investigate, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param SyncNumberLookup sync_number_lookup: Numbers for lookup (required) + :param NumbersToInvestigate numbers_to_investigate: Numbers for lookup (required) :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -87,7 +87,7 @@ def sync_number_lookup_with_http_info(self, sync_number_lookup, **kwargs): # no local_var_params = locals() - all_params = ['sync_number_lookup'] # noqa: E501 + all_params = ['numbers_to_investigate'] # noqa: E501 all_params.append('async_req') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -97,14 +97,14 @@ def sync_number_lookup_with_http_info(self, sync_number_lookup, **kwargs): # no if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method sync_number_lookup" % key + " to method fetch_info" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'sync_number_lookup' is set - if ('sync_number_lookup' not in local_var_params or - local_var_params['sync_number_lookup'] is None): - raise ApiValueError("Missing the required parameter `sync_number_lookup` when calling `sync_number_lookup`") # noqa: E501 + # verify the required parameter 'numbers_to_investigate' is set + if ('numbers_to_investigate' not in local_var_params or + local_var_params['numbers_to_investigate'] is None): + raise ApiValueError("Missing the required parameter `numbers_to_investigate` when calling `fetch_info`") # noqa: E501 collection_formats = {} @@ -118,8 +118,8 @@ def sync_number_lookup_with_http_info(self, sync_number_lookup, **kwargs): # no local_var_files = {} body_params = None - if 'sync_number_lookup' in local_var_params: - body_params = local_var_params['sync_number_lookup'] + if 'numbers_to_investigate' in local_var_params: + body_params = local_var_params['numbers_to_investigate'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 diff --git a/messente_api/models/__init__.py b/messente_api/models/__init__.py index 9fa894f..1cd3c59 100644 --- a/messente_api/models/__init__.py +++ b/messente_api/models/__init__.py @@ -45,6 +45,7 @@ from messente_api.models.message_result import MessageResult from messente_api.models.mobile_network import MobileNetwork from messente_api.models.number_to_blacklist import NumberToBlacklist +from messente_api.models.numbers_to_investigate import NumbersToInvestigate from messente_api.models.omni_message_create_success_response import OmniMessageCreateSuccessResponse from messente_api.models.omnimessage import Omnimessage from messente_api.models.sms import SMS @@ -52,7 +53,6 @@ from messente_api.models.statistics_report_settings import StatisticsReportSettings from messente_api.models.statistics_report_success import StatisticsReportSuccess from messente_api.models.status import Status -from messente_api.models.sync_number_lookup import SyncNumberLookup from messente_api.models.sync_number_lookup_result import SyncNumberLookupResult from messente_api.models.sync_number_lookup_success import SyncNumberLookupSuccess from messente_api.models.telegram import Telegram diff --git a/messente_api/models/sync_number_lookup.py b/messente_api/models/numbers_to_investigate.py similarity index 87% rename from messente_api/models/sync_number_lookup.py rename to messente_api/models/numbers_to_investigate.py index 984a71d..865f21a 100644 --- a/messente_api/models/sync_number_lookup.py +++ b/messente_api/models/numbers_to_investigate.py @@ -17,7 +17,7 @@ import six -class SyncNumberLookup(object): +class NumbersToInvestigate(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -40,7 +40,7 @@ class SyncNumberLookup(object): } def __init__(self, numbers=None): # noqa: E501 - """SyncNumberLookup - a model defined in OpenAPI""" # noqa: E501 + """NumbersToInvestigate - a model defined in OpenAPI""" # noqa: E501 self._numbers = None self.discriminator = None @@ -49,22 +49,22 @@ def __init__(self, numbers=None): # noqa: E501 @property def numbers(self): - """Gets the numbers of this SyncNumberLookup. # noqa: E501 + """Gets the numbers of this NumbersToInvestigate. # noqa: E501 Array of phone numbers # noqa: E501 - :return: The numbers of this SyncNumberLookup. # noqa: E501 + :return: The numbers of this NumbersToInvestigate. # noqa: E501 :rtype: list[str] """ return self._numbers @numbers.setter def numbers(self, numbers): - """Sets the numbers of this SyncNumberLookup. + """Sets the numbers of this NumbersToInvestigate. Array of phone numbers # noqa: E501 - :param numbers: The numbers of this SyncNumberLookup. # noqa: E501 + :param numbers: The numbers of this NumbersToInvestigate. # noqa: E501 :type: list[str] """ if numbers is None: @@ -106,7 +106,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, SyncNumberLookup): + if not isinstance(other, NumbersToInvestigate): return False return self.__dict__ == other.__dict__ From 8a6c284f954c438c4e58c6df2454069d2dcc3fa6 Mon Sep 17 00:00:00 2001 From: api-librarian Date: Tue, 15 Oct 2019 08:44:29 +0000 Subject: [PATCH 8/9] Travis update: Oct 2019 (Build 574) [skip ci] --- README.md | 4 ++-- messente_api/__init__.py | 4 ++-- messente_api/api/blacklist_api.py | 2 +- messente_api/api/contacts_api.py | 2 +- messente_api/api/delivery_report_api.py | 2 +- messente_api/api/groups_api.py | 2 +- messente_api/api/number_lookup_api.py | 2 +- messente_api/api/omnimessage_api.py | 2 +- messente_api/api/statistics_api.py | 2 +- messente_api/api_client.py | 4 ++-- messente_api/configuration.py | 6 +++--- messente_api/exceptions.py | 2 +- messente_api/models/__init__.py | 2 +- messente_api/models/channel.py | 2 +- messente_api/models/contact_envelope.py | 2 +- messente_api/models/contact_fields.py | 2 +- messente_api/models/contact_list_envelope.py | 2 +- messente_api/models/contact_update_fields.py | 2 +- messente_api/models/delivery_report_response.py | 2 +- messente_api/models/delivery_result.py | 2 +- messente_api/models/error_code_omnichannel.py | 2 +- messente_api/models/error_code_omnichannel_machine.py | 2 +- messente_api/models/error_code_phonebook.py | 2 +- messente_api/models/error_code_statistics.py | 2 +- messente_api/models/error_item_number_lookup.py | 2 +- messente_api/models/error_item_number_lookup_error.py | 2 +- messente_api/models/error_item_omnichannel.py | 2 +- messente_api/models/error_item_phonebook.py | 2 +- messente_api/models/error_item_statistics.py | 2 +- messente_api/models/error_number_lookup.py | 2 +- messente_api/models/error_omnichannel.py | 2 +- messente_api/models/error_phonebook.py | 2 +- messente_api/models/error_statistics.py | 2 +- messente_api/models/error_title_omnichannel.py | 2 +- messente_api/models/error_title_phonebook.py | 2 +- messente_api/models/fetch_blacklist_success.py | 2 +- messente_api/models/group_envelope.py | 2 +- messente_api/models/group_list_envelope.py | 2 +- messente_api/models/group_name.py | 2 +- messente_api/models/group_response_fields.py | 2 +- messente_api/models/message_result.py | 2 +- messente_api/models/mobile_network.py | 2 +- messente_api/models/number_to_blacklist.py | 2 +- messente_api/models/numbers_to_investigate.py | 2 +- messente_api/models/omni_message_create_success_response.py | 2 +- messente_api/models/omnimessage.py | 2 +- messente_api/models/sms.py | 2 +- messente_api/models/statistics_report.py | 2 +- messente_api/models/statistics_report_settings.py | 2 +- messente_api/models/statistics_report_success.py | 2 +- messente_api/models/status.py | 2 +- messente_api/models/sync_number_lookup_result.py | 2 +- messente_api/models/sync_number_lookup_success.py | 2 +- messente_api/models/telegram.py | 2 +- messente_api/models/text_store.py | 2 +- messente_api/models/viber.py | 2 +- messente_api/models/whats_app.py | 2 +- messente_api/models/whats_app_audio.py | 2 +- messente_api/models/whats_app_document.py | 2 +- messente_api/models/whats_app_image.py | 2 +- messente_api/models/whats_app_text.py | 2 +- messente_api/rest.py | 2 +- setup.py | 4 ++-- 63 files changed, 69 insertions(+), 69 deletions(-) diff --git a/README.md b/README.md index 9432f89..d01d103 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Messente API Library -- Messente API version: 1.1.1 -- Python package version: 1.1.0 +- Messente API version: 1.2.0 +- Python package version: 1.2.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/messente_api/__init__.py b/messente_api/__init__.py index cc52bc4..1dc51d5 100644 --- a/messente_api/__init__.py +++ b/messente_api/__init__.py @@ -7,7 +7,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ @@ -15,7 +15,7 @@ from __future__ import absolute_import -__version__ = "1.1.0" +__version__ = "1.2.0" # import apis into sdk package from messente_api.api.blacklist_api import BlacklistApi diff --git a/messente_api/api/blacklist_api.py b/messente_api/api/blacklist_api.py index ab6bb2e..764d6e9 100644 --- a/messente_api/api/blacklist_api.py +++ b/messente_api/api/blacklist_api.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/api/contacts_api.py b/messente_api/api/contacts_api.py index 93d6401..32a0683 100644 --- a/messente_api/api/contacts_api.py +++ b/messente_api/api/contacts_api.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/api/delivery_report_api.py b/messente_api/api/delivery_report_api.py index 1d8706c..f842840 100644 --- a/messente_api/api/delivery_report_api.py +++ b/messente_api/api/delivery_report_api.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/api/groups_api.py b/messente_api/api/groups_api.py index 8ca4cfe..6c06048 100644 --- a/messente_api/api/groups_api.py +++ b/messente_api/api/groups_api.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/api/number_lookup_api.py b/messente_api/api/number_lookup_api.py index fc2f572..a4289fe 100644 --- a/messente_api/api/number_lookup_api.py +++ b/messente_api/api/number_lookup_api.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/api/omnimessage_api.py b/messente_api/api/omnimessage_api.py index 80b9772..add1f5a 100644 --- a/messente_api/api/omnimessage_api.py +++ b/messente_api/api/omnimessage_api.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/api/statistics_api.py b/messente_api/api/statistics_api.py index fea1e74..c390f87 100644 --- a/messente_api/api/statistics_api.py +++ b/messente_api/api/statistics_api.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/api_client.py b/messente_api/api_client.py index 80a58e0..34f8e67 100644 --- a/messente_api/api_client.py +++ b/messente_api/api_client.py @@ -4,7 +4,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ @@ -77,7 +77,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.1.0/python' + self.user_agent = 'OpenAPI-Generator/1.2.0/python' def __del__(self): if self._pool: diff --git a/messente_api/configuration.py b/messente_api/configuration.py index a5c92eb..0c8bb51 100644 --- a/messente_api/configuration.py +++ b/messente_api/configuration.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ @@ -263,8 +263,8 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.1.1\n"\ - "SDK Package Version: 1.1.0".\ + "Version of the API: 1.2.0\n"\ + "SDK Package Version: 1.2.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/messente_api/exceptions.py b/messente_api/exceptions.py index 0da8f23..fc7556a 100644 --- a/messente_api/exceptions.py +++ b/messente_api/exceptions.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/__init__.py b/messente_api/models/__init__.py index 1cd3c59..760d533 100644 --- a/messente_api/models/__init__.py +++ b/messente_api/models/__init__.py @@ -6,7 +6,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/channel.py b/messente_api/models/channel.py index 7d98ce4..4ba0006 100644 --- a/messente_api/models/channel.py +++ b/messente_api/models/channel.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/contact_envelope.py b/messente_api/models/contact_envelope.py index 661502d..2463b1d 100644 --- a/messente_api/models/contact_envelope.py +++ b/messente_api/models/contact_envelope.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/contact_fields.py b/messente_api/models/contact_fields.py index 34df646..5f7760e 100644 --- a/messente_api/models/contact_fields.py +++ b/messente_api/models/contact_fields.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/contact_list_envelope.py b/messente_api/models/contact_list_envelope.py index 81ffd75..d170859 100644 --- a/messente_api/models/contact_list_envelope.py +++ b/messente_api/models/contact_list_envelope.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/contact_update_fields.py b/messente_api/models/contact_update_fields.py index a4d3ea5..afa82bc 100644 --- a/messente_api/models/contact_update_fields.py +++ b/messente_api/models/contact_update_fields.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/delivery_report_response.py b/messente_api/models/delivery_report_response.py index b5497da..1e1fcd9 100644 --- a/messente_api/models/delivery_report_response.py +++ b/messente_api/models/delivery_report_response.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/delivery_result.py b/messente_api/models/delivery_result.py index dbddc51..ebfb6c7 100644 --- a/messente_api/models/delivery_result.py +++ b/messente_api/models/delivery_result.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_code_omnichannel.py b/messente_api/models/error_code_omnichannel.py index 3bac2b1..6c312df 100644 --- a/messente_api/models/error_code_omnichannel.py +++ b/messente_api/models/error_code_omnichannel.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_code_omnichannel_machine.py b/messente_api/models/error_code_omnichannel_machine.py index e8b8e6d..eaff84c 100644 --- a/messente_api/models/error_code_omnichannel_machine.py +++ b/messente_api/models/error_code_omnichannel_machine.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_code_phonebook.py b/messente_api/models/error_code_phonebook.py index 38230a8..955eb7b 100644 --- a/messente_api/models/error_code_phonebook.py +++ b/messente_api/models/error_code_phonebook.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_code_statistics.py b/messente_api/models/error_code_statistics.py index 9273a21..8bb9020 100644 --- a/messente_api/models/error_code_statistics.py +++ b/messente_api/models/error_code_statistics.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_item_number_lookup.py b/messente_api/models/error_item_number_lookup.py index ca9d238..e398f8e 100644 --- a/messente_api/models/error_item_number_lookup.py +++ b/messente_api/models/error_item_number_lookup.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_item_number_lookup_error.py b/messente_api/models/error_item_number_lookup_error.py index 57a8e7e..44e5c9f 100644 --- a/messente_api/models/error_item_number_lookup_error.py +++ b/messente_api/models/error_item_number_lookup_error.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_item_omnichannel.py b/messente_api/models/error_item_omnichannel.py index febcfd9..2828d47 100644 --- a/messente_api/models/error_item_omnichannel.py +++ b/messente_api/models/error_item_omnichannel.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_item_phonebook.py b/messente_api/models/error_item_phonebook.py index 883f0df..671fdec 100644 --- a/messente_api/models/error_item_phonebook.py +++ b/messente_api/models/error_item_phonebook.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_item_statistics.py b/messente_api/models/error_item_statistics.py index 45d6d9d..a3cc45e 100644 --- a/messente_api/models/error_item_statistics.py +++ b/messente_api/models/error_item_statistics.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_number_lookup.py b/messente_api/models/error_number_lookup.py index a0ee274..bc03506 100644 --- a/messente_api/models/error_number_lookup.py +++ b/messente_api/models/error_number_lookup.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_omnichannel.py b/messente_api/models/error_omnichannel.py index f9a3a18..3a9bc86 100644 --- a/messente_api/models/error_omnichannel.py +++ b/messente_api/models/error_omnichannel.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_phonebook.py b/messente_api/models/error_phonebook.py index 940e594..0b241a2 100644 --- a/messente_api/models/error_phonebook.py +++ b/messente_api/models/error_phonebook.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_statistics.py b/messente_api/models/error_statistics.py index 64400f1..a55b734 100644 --- a/messente_api/models/error_statistics.py +++ b/messente_api/models/error_statistics.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_title_omnichannel.py b/messente_api/models/error_title_omnichannel.py index 59356e0..4466081 100644 --- a/messente_api/models/error_title_omnichannel.py +++ b/messente_api/models/error_title_omnichannel.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/error_title_phonebook.py b/messente_api/models/error_title_phonebook.py index 600a2a3..3ff3dbe 100644 --- a/messente_api/models/error_title_phonebook.py +++ b/messente_api/models/error_title_phonebook.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/fetch_blacklist_success.py b/messente_api/models/fetch_blacklist_success.py index b10a77b..13c3b4d 100644 --- a/messente_api/models/fetch_blacklist_success.py +++ b/messente_api/models/fetch_blacklist_success.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/group_envelope.py b/messente_api/models/group_envelope.py index 3b58c8c..2c548bf 100644 --- a/messente_api/models/group_envelope.py +++ b/messente_api/models/group_envelope.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/group_list_envelope.py b/messente_api/models/group_list_envelope.py index 5b810dd..ed2ce5a 100644 --- a/messente_api/models/group_list_envelope.py +++ b/messente_api/models/group_list_envelope.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/group_name.py b/messente_api/models/group_name.py index 8076207..65aa219 100644 --- a/messente_api/models/group_name.py +++ b/messente_api/models/group_name.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/group_response_fields.py b/messente_api/models/group_response_fields.py index bcd9ee7..133d7b0 100644 --- a/messente_api/models/group_response_fields.py +++ b/messente_api/models/group_response_fields.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/message_result.py b/messente_api/models/message_result.py index 2a9914f..733d88a 100644 --- a/messente_api/models/message_result.py +++ b/messente_api/models/message_result.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/mobile_network.py b/messente_api/models/mobile_network.py index 5643fdb..cd94a6f 100644 --- a/messente_api/models/mobile_network.py +++ b/messente_api/models/mobile_network.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/number_to_blacklist.py b/messente_api/models/number_to_blacklist.py index e03c3ce..68498ac 100644 --- a/messente_api/models/number_to_blacklist.py +++ b/messente_api/models/number_to_blacklist.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/numbers_to_investigate.py b/messente_api/models/numbers_to_investigate.py index 865f21a..a3a9b1b 100644 --- a/messente_api/models/numbers_to_investigate.py +++ b/messente_api/models/numbers_to_investigate.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/omni_message_create_success_response.py b/messente_api/models/omni_message_create_success_response.py index 9c03a95..e759b82 100644 --- a/messente_api/models/omni_message_create_success_response.py +++ b/messente_api/models/omni_message_create_success_response.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/omnimessage.py b/messente_api/models/omnimessage.py index c6826b2..47dfe70 100644 --- a/messente_api/models/omnimessage.py +++ b/messente_api/models/omnimessage.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/sms.py b/messente_api/models/sms.py index aabe219..fd2c581 100644 --- a/messente_api/models/sms.py +++ b/messente_api/models/sms.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/statistics_report.py b/messente_api/models/statistics_report.py index ac60fa5..626dad2 100644 --- a/messente_api/models/statistics_report.py +++ b/messente_api/models/statistics_report.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/statistics_report_settings.py b/messente_api/models/statistics_report_settings.py index 215ad35..e57bb5e 100644 --- a/messente_api/models/statistics_report_settings.py +++ b/messente_api/models/statistics_report_settings.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/statistics_report_success.py b/messente_api/models/statistics_report_success.py index 88de647..e21e630 100644 --- a/messente_api/models/statistics_report_success.py +++ b/messente_api/models/statistics_report_success.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/status.py b/messente_api/models/status.py index 5b8ded6..c4ffec6 100644 --- a/messente_api/models/status.py +++ b/messente_api/models/status.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/sync_number_lookup_result.py b/messente_api/models/sync_number_lookup_result.py index 53e991c..4e090a6 100644 --- a/messente_api/models/sync_number_lookup_result.py +++ b/messente_api/models/sync_number_lookup_result.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/sync_number_lookup_success.py b/messente_api/models/sync_number_lookup_success.py index 59ae7c0..5093499 100644 --- a/messente_api/models/sync_number_lookup_success.py +++ b/messente_api/models/sync_number_lookup_success.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/telegram.py b/messente_api/models/telegram.py index 78b6b66..f98b60c 100644 --- a/messente_api/models/telegram.py +++ b/messente_api/models/telegram.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/text_store.py b/messente_api/models/text_store.py index 4a2c73c..8b9c099 100644 --- a/messente_api/models/text_store.py +++ b/messente_api/models/text_store.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/viber.py b/messente_api/models/viber.py index 8cca53f..83535de 100644 --- a/messente_api/models/viber.py +++ b/messente_api/models/viber.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/whats_app.py b/messente_api/models/whats_app.py index c1d6dce..fe77a02 100644 --- a/messente_api/models/whats_app.py +++ b/messente_api/models/whats_app.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/whats_app_audio.py b/messente_api/models/whats_app_audio.py index ef0ee7c..abd6f7f 100644 --- a/messente_api/models/whats_app_audio.py +++ b/messente_api/models/whats_app_audio.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/whats_app_document.py b/messente_api/models/whats_app_document.py index a25c42f..01ee694 100644 --- a/messente_api/models/whats_app_document.py +++ b/messente_api/models/whats_app_document.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/whats_app_image.py b/messente_api/models/whats_app_image.py index 0f3e473..7004e8e 100644 --- a/messente_api/models/whats_app_image.py +++ b/messente_api/models/whats_app_image.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/models/whats_app_text.py b/messente_api/models/whats_app_text.py index 985ab68..bafaae2 100644 --- a/messente_api/models/whats_app_text.py +++ b/messente_api/models/whats_app_text.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/messente_api/rest.py b/messente_api/rest.py index 0e290a4..56c5657 100644 --- a/messente_api/rest.py +++ b/messente_api/rest.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ diff --git a/setup.py b/setup.py index 1873410..604b852 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ [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. # noqa: E501 - The version of the OpenAPI document: 1.1.1 + The version of the OpenAPI document: 1.2.0 Contact: messente@messente.com Generated by: https://openapi-generator.tech """ @@ -14,7 +14,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "messente-api" -VERSION = "1.1.0" +VERSION = "1.2.0" # To install the library, run the following # # python setup.py install From 2a739334bab9f3c9125033f9bc22e78d7f619f87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Ra=CC=88ni?= Date: Tue, 15 Oct 2019 11:55:51 +0300 Subject: [PATCH 9/9] Set long description type --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 604b852..78b72f8 100644 --- a/setup.py +++ b/setup.py @@ -36,5 +36,6 @@ include_package_data=True, long_description="""\ [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. # noqa: E501 - """ + """, + long_description_content_type="text/markdown" )