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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ docs/SyncNumberLookupResult.md
docs/SyncNumberLookupSuccess.md
docs/TextStore.md
docs/Viber.md
docs/ViberCarousel.md
docs/ViberCarouselButton.md
docs/ViberCarouselItem.md
docs/ViberTemplate.md
docs/ViberVideo.md
docs/WhatsApp.md
docs/WhatsAppAudio.md
Expand Down Expand Up @@ -212,6 +216,10 @@ messente_api/models/sync_number_lookup_result.py
messente_api/models/sync_number_lookup_success.py
messente_api/models/text_store.py
messente_api/models/viber.py
messente_api/models/viber_carousel.py
messente_api/models/viber_carousel_button.py
messente_api/models/viber_carousel_item.py
messente_api/models/viber_template.py
messente_api/models/viber_video.py
messente_api/models/whats_app.py
messente_api/models/whats_app_audio.py
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Messente API Library

- Messente API version: 2.0.0
- Python package version: 2.6.0
- Messente API version: 2.1.0
- Python package version: 2.7.0

[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber and WhatsApp messages. * Manage contacts and groups. * Fetch detailed info about phone numbers. * Blacklist phone numbers to make sure you're not sending any unwanted messages. Messente builds [tools](https://messente.com/documentation) to help organizations connect their services to people anywhere in the world.

Expand Down
5 changes: 3 additions & 2 deletions docs/OmnimessageMessagesInner.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ Name | Type | Description | Notes
**validity** | **int** | After how many minutes this channel is considered as failed and the next channel is attempted.Only one of \"ttl\" and \"validity\" can be used. | [optional]
**ttl** | **int** | After how many seconds this channel is considered as failed and the next channel is attempted. Only one of \"ttl\" and \"validity\" can be used. | [optional]
**text** | **str** | Text content of the RCS message |
**image_url** | **str** | URL for the embedded image Valid combinations: 1) image_url, 2) text, image_url, button_url, button_text | [optional]
**image_url** | **str** | URL for the embedded image. | [optional]
**button_url** | **str** | URL of the button, must be specified along with ''text'', ''button_text'' and ''image_url'' (optional) | [optional]
**button_text** | **str** | Must be specified along with ''text'', ''button_url'', ''button_text'', ''image_url'' (optional) | [optional]
**channel** | **str** | The channel used to deliver the message | [optional] [default to 'rcs']
**video** | [**WhatsAppVideo**](WhatsAppVideo.md) | | [optional]
**template** | [**WhatsAppTemplate**](WhatsAppTemplate.md) | | [optional]
**carousel** | [**ViberCarousel**](ViberCarousel.md) | | [optional]
**autoconvert** | **str** | Defines how non-GSM characters will be treated: - \"on\" Use replacement settings from the account's [API Auto Replace settings page](https://dashboard.messente.com/api-settings/auto-replace) (default) - \"full\" All non GSM 03.38 characters will be replaced with suitable alternatives - \"off\" Message content is not modified in any way | [optional]
**udh** | **str** | hex-encoded string containing SMS UDH | [optional]
**template** | [**WhatsAppTemplate**](WhatsAppTemplate.md) | | [optional]
**image** | [**WhatsAppImage**](WhatsAppImage.md) | | [optional]
**audio** | [**WhatsAppAudio**](WhatsAppAudio.md) | | [optional]
**document** | [**WhatsAppDocument**](WhatsAppDocument.md) | | [optional]
Expand Down
6 changes: 4 additions & 2 deletions docs/Viber.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Viber

Viber message content
Viber message content. You must provide one of these combinations: * image_url * text * text, button_text and button_url * text, image_url, button_text and button_url * video * video, text * video, text, button_text * video, text, button_text and button_url * carousel and text

## Properties

Expand All @@ -10,11 +10,13 @@ Name | Type | Description | Notes
**validity** | **int** | After how many minutes this channel is considered as failed and the next channel is attempted. Only one of \"ttl\" and \"validity\" can be used. | [optional]
**ttl** | **int** | After how many seconds this channel is considered as failed and the next channel is attempted. Only one of \"ttl\" and \"validity\" can be used. | [optional]
**text** | **str** | Plaintext content for Viber | [optional]
**image_url** | **str** | URL for the embedded image Valid combinations: 1) image_url, 2) text, image_url, button_url, button_text | [optional]
**image_url** | **str** | URL for the embedded image. | [optional]
**button_url** | **str** | URL of the button, must be specified along with ''text'', ''button_text'' and ''image_url'' (optional) | [optional]
**button_text** | **str** | Must be specified along with ''text'', ''button_url'', ''button_text'', ''image_url'' (optional) | [optional]
**channel** | **str** | The channel used to deliver the message | [optional] [default to 'viber']
**video** | [**ViberVideo**](ViberVideo.md) | | [optional]
**template** | [**ViberTemplate**](ViberTemplate.md) | | [optional]
**carousel** | [**ViberCarousel**](ViberCarousel.md) | | [optional]

## Example

Expand Down
30 changes: 30 additions & 0 deletions docs/ViberCarousel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# ViberCarousel

Viber carousel object.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**items** | [**List[ViberCarouselItem]**](ViberCarouselItem.md) | Carousel items. Must contain between 2 and 5 items. |

## Example

```python
from messente_api.models.viber_carousel import ViberCarousel

# TODO update the JSON string below
json = "{}"
# create an instance of ViberCarousel from a JSON string
viber_carousel_instance = ViberCarousel.from_json(json)
# print the JSON string representation of the object
print(ViberCarousel.to_json())

# convert the object into a dict
viber_carousel_dict = viber_carousel_instance.to_dict()
# create an instance of ViberCarousel from a dict
viber_carousel_from_dict = ViberCarousel.from_dict(viber_carousel_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


31 changes: 31 additions & 0 deletions docs/ViberCarouselButton.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# ViberCarouselButton

Viber carousel button object.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**label** | **str** | Button label text. |
**action_url** | **str** | URL opened when the button is clicked. |

## Example

```python
from messente_api.models.viber_carousel_button import ViberCarouselButton

# TODO update the JSON string below
json = "{}"
# create an instance of ViberCarouselButton from a JSON string
viber_carousel_button_instance = ViberCarouselButton.from_json(json)
# print the JSON string representation of the object
print(ViberCarouselButton.to_json())

# convert the object into a dict
viber_carousel_button_dict = viber_carousel_button_instance.to_dict()
# create an instance of ViberCarouselButton from a dict
viber_carousel_button_from_dict = ViberCarouselButton.from_dict(viber_carousel_button_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


33 changes: 33 additions & 0 deletions docs/ViberCarouselItem.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# ViberCarouselItem

Viber carousel item object.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**title** | **str** | Carousel item title. |
**image_url** | **str** | URL of the carousel item image. |
**primary_button** | [**ViberCarouselButton**](ViberCarouselButton.md) | |
**secondary_button** | [**ViberCarouselButton**](ViberCarouselButton.md) | | [optional]

## Example

```python
from messente_api.models.viber_carousel_item import ViberCarouselItem

# TODO update the JSON string below
json = "{}"
# create an instance of ViberCarouselItem from a JSON string
viber_carousel_item_instance = ViberCarouselItem.from_json(json)
# print the JSON string representation of the object
print(ViberCarouselItem.to_json())

# convert the object into a dict
viber_carousel_item_dict = viber_carousel_item_instance.to_dict()
# create an instance of ViberCarouselItem from a dict
viber_carousel_item_from_dict = ViberCarouselItem.from_dict(viber_carousel_item_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


32 changes: 32 additions & 0 deletions docs/ViberTemplate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# ViberTemplate

Viber template object.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | Template ID. |
**lang** | **str** | Template language code. |
**params** | **Dict[str, str]** | Optional template parameters as key-value string pairs. | [optional]

## Example

```python
from messente_api.models.viber_template import ViberTemplate

# TODO update the JSON string below
json = "{}"
# create an instance of ViberTemplate from a JSON string
viber_template_instance = ViberTemplate.from_json(json)
# print the JSON string representation of the object
print(ViberTemplate.to_json())

# convert the object into a dict
viber_template_dict = viber_template_instance.to_dict()
# create an instance of ViberTemplate from a dict
viber_template_from_dict = ViberTemplate.from_dict(viber_template_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


8 changes: 6 additions & 2 deletions messente_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@

[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber and WhatsApp 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.

The version of the OpenAPI document: 2.0.0
The version of the OpenAPI document: 2.1.0
Contact: messente@messente.com
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
""" # noqa: E501


__version__ = "2.6.0"
__version__ = "2.7.0"

# import apis into sdk package
from messente_api.api.account_balance_api import AccountBalanceApi
Expand Down Expand Up @@ -115,6 +115,10 @@
from messente_api.models.sync_number_lookup_success import SyncNumberLookupSuccess
from messente_api.models.text_store import TextStore
from messente_api.models.viber import Viber
from messente_api.models.viber_carousel import ViberCarousel
from messente_api.models.viber_carousel_button import ViberCarouselButton
from messente_api.models.viber_carousel_item import ViberCarouselItem
from messente_api.models.viber_template import ViberTemplate
from messente_api.models.viber_video import ViberVideo
from messente_api.models.whats_app import WhatsApp
from messente_api.models.whats_app_audio import WhatsAppAudio
Expand Down
2 changes: 1 addition & 1 deletion messente_api/api/account_balance_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber and WhatsApp 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.

The version of the OpenAPI document: 2.0.0
The version of the OpenAPI document: 2.1.0
Contact: messente@messente.com
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion messente_api/api/blacklist_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber and WhatsApp 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.

The version of the OpenAPI document: 2.0.0
The version of the OpenAPI document: 2.1.0
Contact: messente@messente.com
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion messente_api/api/bulk_messaging_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber and WhatsApp 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.

The version of the OpenAPI document: 2.0.0
The version of the OpenAPI document: 2.1.0
Contact: messente@messente.com
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion messente_api/api/contacts_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber and WhatsApp 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.

The version of the OpenAPI document: 2.0.0
The version of the OpenAPI document: 2.1.0
Contact: messente@messente.com
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion messente_api/api/delivery_report_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber and WhatsApp 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.

The version of the OpenAPI document: 2.0.0
The version of the OpenAPI document: 2.1.0
Contact: messente@messente.com
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion messente_api/api/groups_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber and WhatsApp 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.

The version of the OpenAPI document: 2.0.0
The version of the OpenAPI document: 2.1.0
Contact: messente@messente.com
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion messente_api/api/number_lookup_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber and WhatsApp 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.

The version of the OpenAPI document: 2.0.0
The version of the OpenAPI document: 2.1.0
Contact: messente@messente.com
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion messente_api/api/number_verification_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber and WhatsApp 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.

The version of the OpenAPI document: 2.0.0
The version of the OpenAPI document: 2.1.0
Contact: messente@messente.com
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion messente_api/api/omnimessage_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber and WhatsApp 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.

The version of the OpenAPI document: 2.0.0
The version of the OpenAPI document: 2.1.0
Contact: messente@messente.com
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion messente_api/api/pricing_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber and WhatsApp 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.

The version of the OpenAPI document: 2.0.0
The version of the OpenAPI document: 2.1.0
Contact: messente@messente.com
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion messente_api/api/statistics_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber and WhatsApp 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.

The version of the OpenAPI document: 2.0.0
The version of the OpenAPI document: 2.1.0
Contact: messente@messente.com
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
2 changes: 1 addition & 1 deletion messente_api/api/whats_app_templates_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[Messente](https://messente.com) is a global provider of messaging and user verification services. * Send and receive SMS, Viber and WhatsApp 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.

The version of the OpenAPI document: 2.0.0
The version of the OpenAPI document: 2.1.0
Contact: messente@messente.com
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand Down
Loading
Loading