Skip to content

Commit 22fa7e8

Browse files
committed
Travis update: May 2025 (Build 842)
[skip ci]
1 parent 4be3840 commit 22fa7e8

12 files changed

Lines changed: 1297 additions & 0 deletions

File tree

.openapi-generator/FILES

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
Gemfile
88
README.md
99
Rakefile
10+
docs/AccountBalanceApi.md
1011
docs/BlacklistApi.md
1112
docs/BulkMessagingApi.md
1213
docs/BulkOmniMessageCreateSuccessResponse.md
@@ -52,7 +53,10 @@ docs/OmniMessageCreateSuccessResponse.md
5253
docs/Omnimessage.md
5354
docs/OmnimessageApi.md
5455
docs/OmnimessageMessagesInner.md
56+
docs/Price.md
5557
docs/PriceInfo.md
58+
docs/PriceNetworksInner.md
59+
docs/PricingApi.md
5660
docs/Priority.md
5761
docs/SMS.md
5862
docs/StatisticsApi.md
@@ -95,13 +99,15 @@ docs/WhatsappTemplateStatus.md
9599
docs/WhatsappUpdateTemplateRequest.md
96100
git_push.sh
97101
lib/messente_api.rb
102+
lib/messente_api/api/account_balance_api.rb
98103
lib/messente_api/api/blacklist_api.rb
99104
lib/messente_api/api/bulk_messaging_api.rb
100105
lib/messente_api/api/contacts_api.rb
101106
lib/messente_api/api/delivery_report_api.rb
102107
lib/messente_api/api/groups_api.rb
103108
lib/messente_api/api/number_lookup_api.rb
104109
lib/messente_api/api/omnimessage_api.rb
110+
lib/messente_api/api/pricing_api.rb
105111
lib/messente_api/api/statistics_api.rb
106112
lib/messente_api/api/whats_app_templates_api.rb
107113
lib/messente_api/api_client.rb
@@ -145,7 +151,9 @@ lib/messente_api/models/numbers_to_investigate.rb
145151
lib/messente_api/models/omni_message_create_success_response.rb
146152
lib/messente_api/models/omnimessage.rb
147153
lib/messente_api/models/omnimessage_messages_inner.rb
154+
lib/messente_api/models/price.rb
148155
lib/messente_api/models/price_info.rb
156+
lib/messente_api/models/price_networks_inner.rb
149157
lib/messente_api/models/priority.rb
150158
lib/messente_api/models/sms.rb
151159
lib/messente_api/models/statistics_report.rb

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: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
1+
# MessenteApi::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+
13+
> String get_account_balance(username, password)
14+
15+
Get account balance
16+
17+
### Examples
18+
19+
```ruby
20+
require 'time'
21+
require 'messente_api'
22+
# setup authorization
23+
MessenteApi.configure do |config|
24+
# Configure API key authorization: apiPassword
25+
config.api_key['password'] = 'YOUR API KEY'
26+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
27+
# config.api_key_prefix['password'] = 'Bearer'
28+
29+
# Configure API key authorization: apiUsername
30+
config.api_key['username'] = 'YOUR API KEY'
31+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
32+
# config.api_key_prefix['username'] = 'Bearer'
33+
end
34+
35+
api_instance = MessenteApi::AccountBalanceApi.new
36+
username = 'username_example' # String | The API username
37+
password = 'password_example' # String | The API password
38+
39+
begin
40+
# Get account balance
41+
result = api_instance.get_account_balance(username, password)
42+
p result
43+
rescue MessenteApi::ApiError => e
44+
puts "Error when calling AccountBalanceApi->get_account_balance: #{e}"
45+
end
46+
```
47+
48+
#### Using the get_account_balance_with_http_info variant
49+
50+
This returns an Array which contains the response data, status code and headers.
51+
52+
> <Array(String, Integer, Hash)> get_account_balance_with_http_info(username, password)
53+
54+
```ruby
55+
begin
56+
# Get account balance
57+
data, status_code, headers = api_instance.get_account_balance_with_http_info(username, password)
58+
p status_code # => 2xx
59+
p headers # => { ... }
60+
p data # => String
61+
rescue MessenteApi::ApiError => e
62+
puts "Error when calling AccountBalanceApi->get_account_balance_with_http_info: #{e}"
63+
end
64+
```
65+
66+
### Parameters
67+
68+
| Name | Type | Description | Notes |
69+
| ---- | ---- | ----------- | ----- |
70+
| **username** | **String** | The API username | |
71+
| **password** | **String** | The API password | |
72+
73+
### Return type
74+
75+
**String**
76+
77+
### Authorization
78+
79+
[apiPassword](../README.md#apiPassword), [apiUsername](../README.md#apiUsername)
80+
81+
### HTTP request headers
82+
83+
- **Content-Type**: Not defined
84+
- **Accept**: text/plain
85+
86+
87+
## get_account_balance_using_post
88+
89+
> String get_account_balance_using_post(username, password)
90+
91+
Get account balance
92+
93+
### Examples
94+
95+
```ruby
96+
require 'time'
97+
require 'messente_api'
98+
# setup authorization
99+
MessenteApi.configure do |config|
100+
# Configure API key authorization: apiPassword
101+
config.api_key['password'] = 'YOUR API KEY'
102+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
103+
# config.api_key_prefix['password'] = 'Bearer'
104+
105+
# Configure API key authorization: apiUsername
106+
config.api_key['username'] = 'YOUR API KEY'
107+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
108+
# config.api_key_prefix['username'] = 'Bearer'
109+
end
110+
111+
api_instance = MessenteApi::AccountBalanceApi.new
112+
username = 'username_example' # String | The API username
113+
password = 'password_example' # String | The API password
114+
115+
begin
116+
# Get account balance
117+
result = api_instance.get_account_balance_using_post(username, password)
118+
p result
119+
rescue MessenteApi::ApiError => e
120+
puts "Error when calling AccountBalanceApi->get_account_balance_using_post: #{e}"
121+
end
122+
```
123+
124+
#### Using the get_account_balance_using_post_with_http_info variant
125+
126+
This returns an Array which contains the response data, status code and headers.
127+
128+
> <Array(String, Integer, Hash)> get_account_balance_using_post_with_http_info(username, password)
129+
130+
```ruby
131+
begin
132+
# Get account balance
133+
data, status_code, headers = api_instance.get_account_balance_using_post_with_http_info(username, password)
134+
p status_code # => 2xx
135+
p headers # => { ... }
136+
p data # => String
137+
rescue MessenteApi::ApiError => e
138+
puts "Error when calling AccountBalanceApi->get_account_balance_using_post_with_http_info: #{e}"
139+
end
140+
```
141+
142+
### Parameters
143+
144+
| Name | Type | Description | Notes |
145+
| ---- | ---- | ----------- | ----- |
146+
| **username** | **String** | The API username | |
147+
| **password** | **String** | The API password | |
148+
149+
### Return type
150+
151+
**String**
152+
153+
### Authorization
154+
155+
[apiPassword](../README.md#apiPassword), [apiUsername](../README.md#apiUsername)
156+
157+
### HTTP request headers
158+
159+
- **Content-Type**: Not defined
160+
- **Accept**: text/plain
161+

docs/Price.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# MessenteApi::Price
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **country** | **String** | The alpha-2 code for the country | |
8+
| **name** | **String** | The name of the country | |
9+
| **prefix** | **String** | The country code prefix | |
10+
| **networks** | [**Array&lt;PriceNetworksInner&gt;**](PriceNetworksInner.md) | A list of networks available in the country | |
11+
12+
## Example
13+
14+
```ruby
15+
require 'messente_api'
16+
17+
instance = MessenteApi::Price.new(
18+
country: EE,
19+
name: Estonia,
20+
prefix: 372,
21+
networks: null
22+
)
23+
```
24+

docs/PriceNetworksInner.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# MessenteApi::PriceNetworksInner
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **name** | **String** | The name of the network | |
8+
| **price** | **String** | The price for sending a message to this network | |
9+
| **mccmnc** | **Float** | The MCCMNC code for the network | |
10+
11+
## Example
12+
13+
```ruby
14+
require 'messente_api'
15+
16+
instance = MessenteApi::PriceNetworksInner.new(
17+
name: Tele2,
18+
price: 0.01,
19+
mccmnc: 24602
20+
)
21+
```
22+

0 commit comments

Comments
 (0)