Skip to content

Commit ef8eb28

Browse files
committed
Travis update: May 2025 (Build 842)
[skip ci]
1 parent 59e921e commit ef8eb28

File tree

14 files changed

+1953
-0
lines changed

14 files changed

+1953
-0
lines changed

.openapi-generator/FILES

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
.openapi-generator-ignore
55
.travis.yml
66
README.md
7+
docs/AccountBalanceApi.md
78
docs/BlacklistApi.md
89
docs/BulkMessagingApi.md
910
docs/BulkOmniMessageCreateSuccessResponse.md
@@ -49,7 +50,10 @@ docs/OmniMessageCreateSuccessResponse.md
4950
docs/Omnimessage.md
5051
docs/OmnimessageApi.md
5152
docs/OmnimessageMessagesInner.md
53+
docs/Price.md
5254
docs/PriceInfo.md
55+
docs/PriceNetworksInner.md
56+
docs/PricingApi.md
5357
docs/Priority.md
5458
docs/SMS.md
5559
docs/StatisticsApi.md
@@ -93,13 +97,15 @@ docs/WhatsappUpdateTemplateRequest.md
9397
git_push.sh
9498
messente_api/__init__.py
9599
messente_api/api/__init__.py
100+
messente_api/api/account_balance_api.py
96101
messente_api/api/blacklist_api.py
97102
messente_api/api/bulk_messaging_api.py
98103
messente_api/api/contacts_api.py
99104
messente_api/api/delivery_report_api.py
100105
messente_api/api/groups_api.py
101106
messente_api/api/number_lookup_api.py
102107
messente_api/api/omnimessage_api.py
108+
messente_api/api/pricing_api.py
103109
messente_api/api/statistics_api.py
104110
messente_api/api/whats_app_templates_api.py
105111
messente_api/api_client.py
@@ -145,7 +151,9 @@ messente_api/models/numbers_to_investigate.py
145151
messente_api/models/omni_message_create_success_response.py
146152
messente_api/models/omnimessage.py
147153
messente_api/models/omnimessage_messages_inner.py
154+
messente_api/models/price.py
148155
messente_api/models/price_info.py
156+
messente_api/models/price_networks_inner.py
149157
messente_api/models/priority.py
150158
messente_api/models/sms.py
151159
messente_api/models/statistics_report.py

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ Messente API has the following features:
1818

1919
Messente API Library provides the operations described below to access the features.
2020

21+
### AccountBalanceApi
22+
23+
1. Get account balance [`get_account_balance`](docs/AccountBalanceApi.md#get_account_balance)
24+
1. Get account balance [`get_account_balance_using_post`](docs/AccountBalanceApi.md#get_account_balance_using_post)
25+
2126
### BlacklistApi
2227

2328
1. Adds a phone number to the blacklist [`add_to_blacklist`](docs/BlacklistApi.md#add_to_blacklist)
@@ -61,6 +66,11 @@ Messente API Library provides the operations described below to access the featu
6166
1. Cancels a scheduled Omnimessage [`cancel_scheduled_message`](docs/OmnimessageApi.md#cancel_scheduled_message)
6267
1. Sends an Omnimessage [`send_omnimessage`](docs/OmnimessageApi.md#send_omnimessage)
6368

69+
### PricingApi
70+
71+
1. Get pricelist for account [`get_pricelist`](docs/PricingApi.md#get_pricelist)
72+
1. Get pricing for a specific country [`get_prices`](docs/PricingApi.md#get_prices)
73+
6474
### StatisticsApi
6575

6676
1. Requests statistics reports for each country [`create_statistics_report`](docs/StatisticsApi.md#create_statistics_report)

docs/AccountBalanceApi.md

Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
# messente_api.AccountBalanceApi
2+
3+
All URIs are relative to *https://api.messente.com/v1*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**get_account_balance**](AccountBalanceApi.md#get_account_balance) | **GET** /get_balance | Get account balance
8+
[**get_account_balance_using_post**](AccountBalanceApi.md#get_account_balance_using_post) | **POST** /get_balance | Get account balance
9+
10+
11+
# **get_account_balance**
12+
> str get_account_balance(username, password)
13+
14+
Get account balance
15+
16+
### Example
17+
18+
* Api Key Authentication (apiPassword):
19+
* Api Key Authentication (apiUsername):
20+
21+
```python
22+
import messente_api
23+
from messente_api.rest import ApiException
24+
from pprint import pprint
25+
26+
# Defining the host is optional and defaults to https://api.messente.com/v1
27+
# See configuration.py for a list of all supported configuration parameters.
28+
configuration = messente_api.Configuration(
29+
host = "https://api.messente.com/v1"
30+
)
31+
32+
# The client must configure the authentication and authorization parameters
33+
# in accordance with the API server security policy.
34+
# Examples for each auth method are provided below, use the example that
35+
# satisfies your auth use case.
36+
37+
# Configure API key authorization: apiPassword
38+
configuration.api_key['apiPassword'] = os.environ["API_KEY"]
39+
40+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
41+
# configuration.api_key_prefix['apiPassword'] = 'Bearer'
42+
43+
# Configure API key authorization: apiUsername
44+
configuration.api_key['apiUsername'] = os.environ["API_KEY"]
45+
46+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
47+
# configuration.api_key_prefix['apiUsername'] = 'Bearer'
48+
49+
# Enter a context with an instance of the API client
50+
with messente_api.ApiClient(configuration) as api_client:
51+
# Create an instance of the API class
52+
api_instance = messente_api.AccountBalanceApi(api_client)
53+
username = 'username_example' # str | The API username
54+
password = 'password_example' # str | The API password
55+
56+
try:
57+
# Get account balance
58+
api_response = api_instance.get_account_balance(username, password)
59+
print("The response of AccountBalanceApi->get_account_balance:\n")
60+
pprint(api_response)
61+
except Exception as e:
62+
print("Exception when calling AccountBalanceApi->get_account_balance: %s\n" % e)
63+
```
64+
65+
66+
67+
### Parameters
68+
69+
70+
Name | Type | Description | Notes
71+
------------- | ------------- | ------------- | -------------
72+
**username** | **str**| The API username |
73+
**password** | **str**| The API password |
74+
75+
### Return type
76+
77+
**str**
78+
79+
### Authorization
80+
81+
[apiPassword](../README.md#apiPassword), [apiUsername](../README.md#apiUsername)
82+
83+
### HTTP request headers
84+
85+
- **Content-Type**: Not defined
86+
- **Accept**: text/plain
87+
88+
### HTTP response details
89+
90+
| Status code | Description | Response headers |
91+
|-------------|-------------|------------------|
92+
**200** | Both errors and success responses are returned as plain text with HTTP status 200. | - |
93+
94+
[[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)
95+
96+
# **get_account_balance_using_post**
97+
> str get_account_balance_using_post(username, password)
98+
99+
Get account balance
100+
101+
### Example
102+
103+
* Api Key Authentication (apiPassword):
104+
* Api Key Authentication (apiUsername):
105+
106+
```python
107+
import messente_api
108+
from messente_api.rest import ApiException
109+
from pprint import pprint
110+
111+
# Defining the host is optional and defaults to https://api.messente.com/v1
112+
# See configuration.py for a list of all supported configuration parameters.
113+
configuration = messente_api.Configuration(
114+
host = "https://api.messente.com/v1"
115+
)
116+
117+
# The client must configure the authentication and authorization parameters
118+
# in accordance with the API server security policy.
119+
# Examples for each auth method are provided below, use the example that
120+
# satisfies your auth use case.
121+
122+
# Configure API key authorization: apiPassword
123+
configuration.api_key['apiPassword'] = os.environ["API_KEY"]
124+
125+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
126+
# configuration.api_key_prefix['apiPassword'] = 'Bearer'
127+
128+
# Configure API key authorization: apiUsername
129+
configuration.api_key['apiUsername'] = os.environ["API_KEY"]
130+
131+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
132+
# configuration.api_key_prefix['apiUsername'] = 'Bearer'
133+
134+
# Enter a context with an instance of the API client
135+
with messente_api.ApiClient(configuration) as api_client:
136+
# Create an instance of the API class
137+
api_instance = messente_api.AccountBalanceApi(api_client)
138+
username = 'username_example' # str | The API username
139+
password = 'password_example' # str | The API password
140+
141+
try:
142+
# Get account balance
143+
api_response = api_instance.get_account_balance_using_post(username, password)
144+
print("The response of AccountBalanceApi->get_account_balance_using_post:\n")
145+
pprint(api_response)
146+
except Exception as e:
147+
print("Exception when calling AccountBalanceApi->get_account_balance_using_post: %s\n" % e)
148+
```
149+
150+
151+
152+
### Parameters
153+
154+
155+
Name | Type | Description | Notes
156+
------------- | ------------- | ------------- | -------------
157+
**username** | **str**| The API username |
158+
**password** | **str**| The API password |
159+
160+
### Return type
161+
162+
**str**
163+
164+
### Authorization
165+
166+
[apiPassword](../README.md#apiPassword), [apiUsername](../README.md#apiUsername)
167+
168+
### HTTP request headers
169+
170+
- **Content-Type**: Not defined
171+
- **Accept**: text/plain
172+
173+
### HTTP response details
174+
175+
| Status code | Description | Response headers |
176+
|-------------|-------------|------------------|
177+
**200** | Both errors and success responses are returned as plain text with HTTP status 200. | - |
178+
179+
[[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)
180+

docs/Price.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Price
2+
3+
An object containing the pricing information for a given country
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**country** | **str** | The alpha-2 code for the country |
10+
**name** | **str** | The name of the country |
11+
**prefix** | **str** | The country code prefix |
12+
**networks** | [**List[PriceNetworksInner]**](PriceNetworksInner.md) | A list of networks available in the country |
13+
14+
## Example
15+
16+
```python
17+
from messente_api.models.price import Price
18+
19+
# TODO update the JSON string below
20+
json = "{}"
21+
# create an instance of Price from a JSON string
22+
price_instance = Price.from_json(json)
23+
# print the JSON string representation of the object
24+
print(Price.to_json())
25+
26+
# convert the object into a dict
27+
price_dict = price_instance.to_dict()
28+
# create an instance of Price from a dict
29+
price_from_dict = Price.from_dict(price_dict)
30+
```
31+
[[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+
33+

docs/PriceNetworksInner.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# PriceNetworksInner
2+
3+
An object containing the network information
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**name** | **str** | The name of the network |
10+
**price** | **str** | The price for sending a message to this network |
11+
**mccmnc** | **float** | The MCCMNC code for the network |
12+
13+
## Example
14+
15+
```python
16+
from messente_api.models.price_networks_inner import PriceNetworksInner
17+
18+
# TODO update the JSON string below
19+
json = "{}"
20+
# create an instance of PriceNetworksInner from a JSON string
21+
price_networks_inner_instance = PriceNetworksInner.from_json(json)
22+
# print the JSON string representation of the object
23+
print(PriceNetworksInner.to_json())
24+
25+
# convert the object into a dict
26+
price_networks_inner_dict = price_networks_inner_instance.to_dict()
27+
# create an instance of PriceNetworksInner from a dict
28+
price_networks_inner_from_dict = PriceNetworksInner.from_dict(price_networks_inner_dict)
29+
```
30+
[[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+
32+

0 commit comments

Comments
 (0)