messente_api 1.1.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +11 -3
- data/docs/ContactEnvelope.md +1 -1
- data/docs/ContactListEnvelope.md +1 -1
- data/docs/ContactResponseFields.md +37 -0
- data/docs/ErrorCodeStatistics.md +16 -0
- data/docs/ErrorItemNumberLookup.md +17 -0
- data/docs/ErrorItemNumberLookupError.md +19 -0
- data/docs/ErrorItemStatistics.md +21 -0
- data/docs/ErrorNumberLookup.md +17 -0
- data/docs/ErrorStatistics.md +17 -0
- data/docs/MobileNetwork.md +25 -0
- data/docs/NumberLookupApi.md +60 -0
- data/docs/NumbersToInvestigate.md +17 -0
- data/docs/OmnimessageApi.md +4 -3
- data/docs/StatisticsApi.md +60 -0
- data/docs/StatisticsReport.md +21 -0
- data/docs/StatisticsReportSettings.md +21 -0
- data/docs/StatisticsReportSuccess.md +17 -0
- data/docs/SyncNumberLookupResult.md +33 -0
- data/docs/SyncNumberLookupSuccess.md +19 -0
- data/git_push.sh +10 -7
- data/lib/messente_api.rb +19 -3
- data/lib/messente_api/api/blacklist_api.rb +3 -3
- data/lib/messente_api/api/contacts_api.rb +3 -3
- data/lib/messente_api/api/delivery_report_api.rb +3 -3
- data/lib/messente_api/api/groups_api.rb +3 -3
- data/lib/messente_api/api/number_lookup_api.rb +84 -0
- data/lib/messente_api/api/omnimessage_api.rb +8 -8
- data/lib/messente_api/api/statistics_api.rb +84 -0
- data/lib/messente_api/api_client.rb +38 -36
- data/lib/messente_api/api_error.rb +3 -3
- data/lib/messente_api/configuration.rb +4 -4
- data/lib/messente_api/models/channel.rb +3 -3
- data/lib/messente_api/models/contact_envelope.rb +15 -5
- data/lib/messente_api/models/contact_fields.rb +24 -5
- data/lib/messente_api/models/contact_list_envelope.rb +15 -5
- data/lib/messente_api/models/contact_response_fields.rb +318 -0
- data/lib/messente_api/models/contact_update_fields.rb +23 -4
- data/lib/messente_api/models/delivery_report_response.rb +14 -4
- data/lib/messente_api/models/delivery_result.rb +14 -4
- data/lib/messente_api/models/error_code_omnichannel.rb +3 -3
- data/lib/messente_api/models/error_code_omnichannel_machine.rb +3 -3
- data/lib/messente_api/models/error_code_phonebook.rb +3 -3
- data/lib/messente_api/models/error_code_statistics.rb +38 -0
- data/lib/messente_api/models/error_item_number_lookup.rb +212 -0
- data/lib/messente_api/models/error_item_number_lookup_error.rb +256 -0
- data/lib/messente_api/models/error_item_omnichannel.rb +15 -9
- data/lib/messente_api/models/error_item_phonebook.rb +14 -4
- data/lib/messente_api/models/error_item_statistics.rb +242 -0
- data/lib/messente_api/models/error_number_lookup.rb +215 -0
- data/lib/messente_api/models/error_omnichannel.rb +14 -4
- data/lib/messente_api/models/error_phonebook.rb +14 -4
- data/lib/messente_api/models/error_statistics.rb +215 -0
- data/lib/messente_api/models/error_title_omnichannel.rb +3 -3
- data/lib/messente_api/models/error_title_phonebook.rb +3 -3
- data/lib/messente_api/models/fetch_blacklist_success.rb +14 -4
- data/lib/messente_api/models/group_envelope.rb +14 -4
- data/lib/messente_api/models/group_list_envelope.rb +14 -4
- data/lib/messente_api/models/group_name.rb +14 -4
- data/lib/messente_api/models/group_response_fields.rb +15 -4
- data/lib/messente_api/models/message_result.rb +14 -4
- data/lib/messente_api/models/mobile_network.rb +248 -0
- data/lib/messente_api/models/number_to_blacklist.rb +14 -4
- data/lib/messente_api/models/numbers_to_investigate.rb +215 -0
- data/lib/messente_api/models/omni_message_create_success_response.rb +14 -4
- data/lib/messente_api/models/omnimessage.rb +14 -4
- data/lib/messente_api/models/sms.rb +14 -4
- data/lib/messente_api/models/statistics_report.rb +243 -0
- data/lib/messente_api/models/statistics_report_settings.rb +240 -0
- data/lib/messente_api/models/statistics_report_success.rb +215 -0
- data/lib/messente_api/models/status.rb +3 -3
- data/lib/messente_api/models/sync_number_lookup_result.rb +329 -0
- data/lib/messente_api/models/sync_number_lookup_success.rb +230 -0
- data/lib/messente_api/models/telegram.rb +14 -4
- data/lib/messente_api/models/text_store.rb +3 -3
- data/lib/messente_api/models/viber.rb +14 -4
- data/lib/messente_api/models/whats_app.rb +14 -4
- data/lib/messente_api/models/whats_app_audio.rb +14 -4
- data/lib/messente_api/models/whats_app_document.rb +14 -4
- data/lib/messente_api/models/whats_app_image.rb +14 -4
- data/lib/messente_api/models/whats_app_text.rb +14 -4
- data/lib/messente_api/version.rb +4 -4
- data/messente_api-1.3.0.gem +0 -0
- data/messente_api.gemspec +4 -10
- data/spec/api_client_spec.rb +4 -4
- data/spec/configuration_spec.rb +3 -3
- data/spec/spec_helper.rb +3 -3
- metadata +49 -136
- data/Gemfile.lock +0 -79
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a3ce29bf2a0482b76441757b05d60c531ee6688e26a1fa7615c436c1e13f951
|
4
|
+
data.tar.gz: 5b4a0bed64221ee93477453f4029b855525a2cd065a40bb23f9ebe94055ff4ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afd06b9e58a5c5701b74da69fd15b0fa11cbf6cbc278a4f65dbd7ef1bb5749f378af2d8082f6d16a92def6cdb5fcff8616d71cfd0ba7a7f9adf3296215bdc50a
|
7
|
+
data.tar.gz: 6f49314b5406cb40261a8ae2b661646eb62fac5389ab287281f321102dea574479211f2a02060134af8534954cc802730a2a7604ad5939eb2ba98c008674d0bc
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# Messente API Library
|
2
2
|
|
3
|
-
- Messente API version: 1.
|
4
|
-
- Ruby gem version: 1.1
|
3
|
+
- Messente API version: 1.3.0
|
4
|
+
- Ruby gem version: 1.3.1
|
5
5
|
|
6
|
-
[Messente](https://messente.com) is a global provider of messaging and user verification services.
|
6
|
+
[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.
|
7
7
|
|
8
8
|
## Installation
|
9
9
|
|
@@ -48,11 +48,19 @@ Messente API Library provides the operations described below to access the featu
|
|
48
48
|
1. Returns all groups [`fetch_groups`](docs/GroupsApi.md#fetch_groups)
|
49
49
|
1. Updates a group with the provided name [`update_group`](docs/GroupsApi.md#update_group)
|
50
50
|
|
51
|
+
### NumberLookupApi
|
52
|
+
|
53
|
+
1. Requests info about phone numbers [`fetch_info`](docs/NumberLookupApi.md#fetch_info)
|
54
|
+
|
51
55
|
### OmnimessageApi
|
52
56
|
|
53
57
|
1. Cancels a scheduled Omnimessage [`cancel_scheduled_message`](docs/OmnimessageApi.md#cancel_scheduled_message)
|
54
58
|
1. Sends an Omnimessage [`send_omnimessage`](docs/OmnimessageApi.md#send_omnimessage)
|
55
59
|
|
60
|
+
### StatisticsApi
|
61
|
+
|
62
|
+
1. Requests statistics reports for each country [`create_statistics_report`](docs/StatisticsApi.md#create_statistics_report)
|
63
|
+
|
56
64
|
## Auth
|
57
65
|
|
58
66
|
**Type**: HTTP basic authentication
|
data/docs/ContactEnvelope.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**contact** | [**
|
7
|
+
**contact** | [**ContactResponseFields**](ContactResponseFields.md) | | [optional]
|
8
8
|
|
9
9
|
## Code Sample
|
10
10
|
|
data/docs/ContactListEnvelope.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**contacts** | [**Array<
|
7
|
+
**contacts** | [**Array<ContactResponseFields>**](ContactResponseFields.md) | An array of contacts | [optional]
|
8
8
|
|
9
9
|
## Code Sample
|
10
10
|
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# MessenteApi::ContactResponseFields
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**phone_number** | **String** | Phone number in e.164 format | [optional]
|
8
|
+
**email** | **String** | The email of the contact | [optional]
|
9
|
+
**first_name** | **String** | The first name of the contact | [optional]
|
10
|
+
**last_name** | **String** | The last name of the contact | [optional]
|
11
|
+
**company** | **String** | The company of the contact | [optional]
|
12
|
+
**title** | **String** | The title of the contact | [optional]
|
13
|
+
**custom** | **String** | The first custom field | [optional]
|
14
|
+
**custom2** | **String** | The second custom field | [optional]
|
15
|
+
**custom3** | **String** | The third custom field | [optional]
|
16
|
+
**custom4** | **String** | The fourth custom field | [optional]
|
17
|
+
**scheduled_deletion_date** | **Date** | The date in ISO 8601 format, YYYY-MM-DD, on which the contact is going to be deleted because it has not belonged to a group for 30 days | [optional]
|
18
|
+
|
19
|
+
## Code Sample
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'MessenteApi'
|
23
|
+
|
24
|
+
instance = MessenteApi::ContactResponseFields.new(phone_number: null,
|
25
|
+
email: null,
|
26
|
+
first_name: null,
|
27
|
+
last_name: null,
|
28
|
+
company: null,
|
29
|
+
title: null,
|
30
|
+
custom: null,
|
31
|
+
custom2: null,
|
32
|
+
custom3: null,
|
33
|
+
custom4: null,
|
34
|
+
scheduled_deletion_date: null)
|
35
|
+
```
|
36
|
+
|
37
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# MessenteApi::ErrorCodeStatistics
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
|
8
|
+
## Code Sample
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'MessenteApi'
|
12
|
+
|
13
|
+
instance = MessenteApi::ErrorCodeStatistics.new()
|
14
|
+
```
|
15
|
+
|
16
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# MessenteApi::ErrorItemNumberLookup
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**error** | [**ErrorItemNumberLookupError**](ErrorItemNumberLookupError.md) | |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'MessenteApi'
|
13
|
+
|
14
|
+
instance = MessenteApi::ErrorItemNumberLookup.new(error: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# MessenteApi::ErrorItemNumberLookupError
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**description** | **String** | Error description |
|
8
|
+
**code** | **Integer** | 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 |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'MessenteApi'
|
14
|
+
|
15
|
+
instance = MessenteApi::ErrorItemNumberLookupError.new(description: null,
|
16
|
+
code: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# MessenteApi::ErrorItemStatistics
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**title** | **String** | Error title |
|
8
|
+
**details** | **String** | Error details |
|
9
|
+
**code** | [**ErrorCodeStatistics**](ErrorCodeStatistics.md) | |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'MessenteApi'
|
15
|
+
|
16
|
+
instance = MessenteApi::ErrorItemStatistics.new(title: null,
|
17
|
+
details: null,
|
18
|
+
code: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# MessenteApi::ErrorNumberLookup
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**errors** | [**Array<ErrorItemNumberLookup>**](ErrorItemNumberLookup.md) | An array of errors |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'MessenteApi'
|
13
|
+
|
14
|
+
instance = MessenteApi::ErrorNumberLookup.new(errors: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# MessenteApi::ErrorStatistics
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**errors** | [**Array<ErrorItemStatistics>**](ErrorItemStatistics.md) | An array of errors |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'MessenteApi'
|
13
|
+
|
14
|
+
instance = MessenteApi::ErrorStatistics.new(errors: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# MessenteApi::MobileNetwork
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**mccmnc** | **String** | Mobile country and mobile network code | [optional]
|
8
|
+
**network_name** | **String** | Mobile network name | [optional]
|
9
|
+
**country_name** | **String** | Country name | [optional]
|
10
|
+
**country_prefix** | **String** | Country prefix | [optional]
|
11
|
+
**country_code** | **String** | Country code | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'MessenteApi'
|
17
|
+
|
18
|
+
instance = MessenteApi::MobileNetwork.new(mccmnc: null,
|
19
|
+
network_name: null,
|
20
|
+
country_name: null,
|
21
|
+
country_prefix: null,
|
22
|
+
country_code: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,60 @@
|
|
1
|
+
# MessenteApi::NumberLookupApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.messente.com/v1*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**fetch_info**](NumberLookupApi.md#fetch_info) | **POST** /hlr/sync | Requests info about phone numbers
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
## fetch_info
|
12
|
+
|
13
|
+
> SyncNumberLookupSuccess fetch_info(numbers_to_investigate)
|
14
|
+
|
15
|
+
Requests info about phone numbers
|
16
|
+
|
17
|
+
### Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
# load the gem
|
21
|
+
require 'messente_api'
|
22
|
+
# setup authorization
|
23
|
+
MessenteApi.configure do |config|
|
24
|
+
# Configure HTTP basic authorization: basicAuth
|
25
|
+
config.username = 'YOUR USERNAME'
|
26
|
+
config.password = 'YOUR PASSWORD'
|
27
|
+
end
|
28
|
+
|
29
|
+
api_instance = MessenteApi::NumberLookupApi.new
|
30
|
+
numbers_to_investigate = {"numbers":["+37251000000","+37251000001"]} # NumbersToInvestigate | Numbers for lookup
|
31
|
+
|
32
|
+
begin
|
33
|
+
#Requests info about phone numbers
|
34
|
+
result = api_instance.fetch_info(numbers_to_investigate)
|
35
|
+
p result
|
36
|
+
rescue MessenteApi::ApiError => e
|
37
|
+
puts "Exception when calling NumberLookupApi->fetch_info: #{e}"
|
38
|
+
end
|
39
|
+
```
|
40
|
+
|
41
|
+
### Parameters
|
42
|
+
|
43
|
+
|
44
|
+
Name | Type | Description | Notes
|
45
|
+
------------- | ------------- | ------------- | -------------
|
46
|
+
**numbers_to_investigate** | [**NumbersToInvestigate**](NumbersToInvestigate.md)| Numbers for lookup |
|
47
|
+
|
48
|
+
### Return type
|
49
|
+
|
50
|
+
[**SyncNumberLookupSuccess**](SyncNumberLookupSuccess.md)
|
51
|
+
|
52
|
+
### Authorization
|
53
|
+
|
54
|
+
[basicAuth](../README.md#basicAuth)
|
55
|
+
|
56
|
+
### HTTP request headers
|
57
|
+
|
58
|
+
- **Content-Type**: application/json
|
59
|
+
- **Accept**: application/json
|
60
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# MessenteApi::NumbersToInvestigate
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**numbers** | **Array<String>** | Array of phone numbers |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'MessenteApi'
|
13
|
+
|
14
|
+
instance = MessenteApi::NumbersToInvestigate.new(numbers: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/OmnimessageApi.md
CHANGED
@@ -11,7 +11,7 @@ Method | HTTP request | Description
|
|
11
11
|
|
12
12
|
## cancel_scheduled_message
|
13
13
|
|
14
|
-
> cancel_scheduled_message(omnimessage_id)
|
14
|
+
> Object cancel_scheduled_message(omnimessage_id)
|
15
15
|
|
16
16
|
Cancels a scheduled Omnimessage
|
17
17
|
|
@@ -32,7 +32,8 @@ omnimessage_id = 'omnimessage_id_example' # String | UUID of the scheduled omnim
|
|
32
32
|
|
33
33
|
begin
|
34
34
|
#Cancels a scheduled Omnimessage
|
35
|
-
api_instance.cancel_scheduled_message(omnimessage_id)
|
35
|
+
result = api_instance.cancel_scheduled_message(omnimessage_id)
|
36
|
+
p result
|
36
37
|
rescue MessenteApi::ApiError => e
|
37
38
|
puts "Exception when calling OmnimessageApi->cancel_scheduled_message: #{e}"
|
38
39
|
end
|
@@ -47,7 +48,7 @@ Name | Type | Description | Notes
|
|
47
48
|
|
48
49
|
### Return type
|
49
50
|
|
50
|
-
|
51
|
+
**Object**
|
51
52
|
|
52
53
|
### Authorization
|
53
54
|
|
@@ -0,0 +1,60 @@
|
|
1
|
+
# MessenteApi::StatisticsApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.messente.com/v1*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**create_statistics_report**](StatisticsApi.md#create_statistics_report) | **POST** /statistics/reports | Requests statistics reports for each country
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
## create_statistics_report
|
12
|
+
|
13
|
+
> StatisticsReportSuccess create_statistics_report(statistics_report_settings)
|
14
|
+
|
15
|
+
Requests statistics reports for each country
|
16
|
+
|
17
|
+
### Example
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
# load the gem
|
21
|
+
require 'messente_api'
|
22
|
+
# setup authorization
|
23
|
+
MessenteApi.configure do |config|
|
24
|
+
# Configure HTTP basic authorization: basicAuth
|
25
|
+
config.username = 'YOUR USERNAME'
|
26
|
+
config.password = 'YOUR PASSWORD'
|
27
|
+
end
|
28
|
+
|
29
|
+
api_instance = MessenteApi::StatisticsApi.new
|
30
|
+
statistics_report_settings = {"start_date":"2017-01-01","end_date":"2019-06-20","message_types":["sms"]} # StatisticsReportSettings | Settings for statistics report
|
31
|
+
|
32
|
+
begin
|
33
|
+
#Requests statistics reports for each country
|
34
|
+
result = api_instance.create_statistics_report(statistics_report_settings)
|
35
|
+
p result
|
36
|
+
rescue MessenteApi::ApiError => e
|
37
|
+
puts "Exception when calling StatisticsApi->create_statistics_report: #{e}"
|
38
|
+
end
|
39
|
+
```
|
40
|
+
|
41
|
+
### Parameters
|
42
|
+
|
43
|
+
|
44
|
+
Name | Type | Description | Notes
|
45
|
+
------------- | ------------- | ------------- | -------------
|
46
|
+
**statistics_report_settings** | [**StatisticsReportSettings**](StatisticsReportSettings.md)| Settings for statistics report |
|
47
|
+
|
48
|
+
### Return type
|
49
|
+
|
50
|
+
[**StatisticsReportSuccess**](StatisticsReportSuccess.md)
|
51
|
+
|
52
|
+
### Authorization
|
53
|
+
|
54
|
+
[basicAuth](../README.md#basicAuth)
|
55
|
+
|
56
|
+
### HTTP request headers
|
57
|
+
|
58
|
+
- **Content-Type**: application/json
|
59
|
+
- **Accept**: application/json
|
60
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# MessenteApi::StatisticsReport
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**total_messages** | **Integer** | Sum of all messages |
|
8
|
+
**total_price** | **String** | Price for all messages |
|
9
|
+
**country** | **String** | Target country of all messages |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'MessenteApi'
|
15
|
+
|
16
|
+
instance = MessenteApi::StatisticsReport.new(total_messages: null,
|
17
|
+
total_price: null,
|
18
|
+
country: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|