messente_api 1.0.3 → 1.3.0

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.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +11 -3
  4. data/docs/ContactFields.md +3 -1
  5. data/docs/ContactsApi.md +2 -2
  6. data/docs/ErrorCodeStatistics.md +16 -0
  7. data/docs/ErrorItemNumberLookup.md +17 -0
  8. data/docs/ErrorItemNumberLookupError.md +19 -0
  9. data/docs/ErrorItemStatistics.md +21 -0
  10. data/docs/ErrorNumberLookup.md +17 -0
  11. data/docs/ErrorStatistics.md +17 -0
  12. data/docs/MobileNetwork.md +25 -0
  13. data/docs/NumberLookupApi.md +60 -0
  14. data/docs/NumbersToInvestigate.md +17 -0
  15. data/docs/Omnimessage.md +1 -1
  16. data/docs/OmnimessageApi.md +4 -3
  17. data/docs/StatisticsApi.md +60 -0
  18. data/docs/StatisticsReport.md +21 -0
  19. data/docs/StatisticsReportSettings.md +21 -0
  20. data/docs/StatisticsReportSuccess.md +17 -0
  21. data/docs/SyncNumberLookupResult.md +33 -0
  22. data/docs/SyncNumberLookupSuccess.md +19 -0
  23. data/docs/Telegram.md +29 -0
  24. data/git_push.sh +10 -7
  25. data/lib/messente_api.rb +19 -3
  26. data/lib/messente_api/api/blacklist_api.rb +3 -3
  27. data/lib/messente_api/api/contacts_api.rb +3 -3
  28. data/lib/messente_api/api/delivery_report_api.rb +3 -3
  29. data/lib/messente_api/api/groups_api.rb +3 -3
  30. data/lib/messente_api/api/number_lookup_api.rb +84 -0
  31. data/lib/messente_api/api/omnimessage_api.rb +8 -8
  32. data/lib/messente_api/api/statistics_api.rb +84 -0
  33. data/lib/messente_api/api_client.rb +38 -36
  34. data/lib/messente_api/api_error.rb +3 -3
  35. data/lib/messente_api/configuration.rb +4 -4
  36. data/lib/messente_api/models/channel.rb +4 -3
  37. data/lib/messente_api/models/contact_envelope.rb +14 -4
  38. data/lib/messente_api/models/contact_fields.rb +38 -8
  39. data/lib/messente_api/models/contact_list_envelope.rb +14 -4
  40. data/lib/messente_api/models/contact_update_fields.rb +23 -4
  41. data/lib/messente_api/models/delivery_report_response.rb +14 -4
  42. data/lib/messente_api/models/delivery_result.rb +14 -4
  43. data/lib/messente_api/models/error_code_omnichannel.rb +3 -3
  44. data/lib/messente_api/models/error_code_omnichannel_machine.rb +3 -3
  45. data/lib/messente_api/models/error_code_phonebook.rb +3 -3
  46. data/lib/messente_api/models/error_code_statistics.rb +38 -0
  47. data/lib/messente_api/models/error_item_number_lookup.rb +212 -0
  48. data/lib/messente_api/models/error_item_number_lookup_error.rb +256 -0
  49. data/lib/messente_api/models/error_item_omnichannel.rb +15 -9
  50. data/lib/messente_api/models/error_item_phonebook.rb +14 -4
  51. data/lib/messente_api/models/error_item_statistics.rb +242 -0
  52. data/lib/messente_api/models/error_number_lookup.rb +215 -0
  53. data/lib/messente_api/models/error_omnichannel.rb +14 -4
  54. data/lib/messente_api/models/error_phonebook.rb +14 -4
  55. data/lib/messente_api/models/error_statistics.rb +215 -0
  56. data/lib/messente_api/models/error_title_omnichannel.rb +3 -3
  57. data/lib/messente_api/models/error_title_phonebook.rb +3 -3
  58. data/lib/messente_api/models/fetch_blacklist_success.rb +14 -4
  59. data/lib/messente_api/models/group_envelope.rb +14 -4
  60. data/lib/messente_api/models/group_list_envelope.rb +14 -4
  61. data/lib/messente_api/models/group_name.rb +14 -4
  62. data/lib/messente_api/models/group_response_fields.rb +15 -4
  63. data/lib/messente_api/models/message_result.rb +14 -4
  64. data/lib/messente_api/models/mobile_network.rb +248 -0
  65. data/lib/messente_api/models/number_to_blacklist.rb +14 -4
  66. data/lib/messente_api/models/numbers_to_investigate.rb +215 -0
  67. data/lib/messente_api/models/omni_message_create_success_response.rb +14 -4
  68. data/lib/messente_api/models/omnimessage.rb +15 -5
  69. data/lib/messente_api/models/sms.rb +14 -4
  70. data/lib/messente_api/models/statistics_report.rb +243 -0
  71. data/lib/messente_api/models/statistics_report_settings.rb +240 -0
  72. data/lib/messente_api/models/statistics_report_success.rb +215 -0
  73. data/lib/messente_api/models/status.rb +3 -3
  74. data/lib/messente_api/models/sync_number_lookup_result.rb +329 -0
  75. data/lib/messente_api/models/sync_number_lookup_success.rb +230 -0
  76. data/lib/messente_api/models/telegram.rb +304 -0
  77. data/lib/messente_api/models/text_store.rb +3 -3
  78. data/lib/messente_api/models/viber.rb +14 -4
  79. data/lib/messente_api/models/whats_app.rb +14 -4
  80. data/lib/messente_api/models/whats_app_audio.rb +14 -4
  81. data/lib/messente_api/models/whats_app_document.rb +14 -4
  82. data/lib/messente_api/models/whats_app_image.rb +14 -4
  83. data/lib/messente_api/models/whats_app_text.rb +14 -4
  84. data/lib/messente_api/version.rb +4 -4
  85. data/messente_api.gemspec +4 -10
  86. data/spec/api_client_spec.rb +4 -4
  87. data/spec/configuration_spec.rb +3 -3
  88. data/spec/spec_helper.rb +3 -3
  89. metadata +48 -136
  90. data/Gemfile.lock +0 -79
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28da361ef84b6ebe8eb42057099d445a92b550c031c8ca6b03a5048a7aa4eed6
4
- data.tar.gz: 54a595e25757abfeb29ef794d2c752264ef08d381692e0f541f8b33f7ffb1624
3
+ metadata.gz: ae129fcfa84dfc242304b6dc38c18cee5237972956bd296ff7e18a19fa325b29
4
+ data.tar.gz: 91a8394d2af1ee739b39dba6026521ef0717577203f19455a0dc218596b0abb0
5
5
  SHA512:
6
- metadata.gz: 9d7b4c14e2f7c4a8bb75e81115c8e84b3fdf8ddb9171f822883cb4dd5d8fc4d6e73c9ffb4506d7c9f289f5509b19571d4e2c08772b4706cbbbf74f262481936b
7
- data.tar.gz: 437ce78c918c1c0e0caf8a0b4ae326ed45f89e88ada2df99a1b6ed109aba7a222f2e9b303b8dcccd3fc322b32684241e35525c228fff37fbf31c89e92476ff10
6
+ metadata.gz: ac291d861d0e16e6ca79e5b1125e4bb0193635979cccaffde4d4b75a334704fd08d446332c5652de4b2aa07c9efa673614207e5997af84c51fe9c0b7687a4b2a
7
+ data.tar.gz: ea4546e0d9f950fa9e62b51777dacaf974e98e401e1b013bce4fdbe16cb39bc912e58553031480befef2305f466bc6431e0b35c5d65df2cf8edcb856f9b5a42a
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem 'rake', '~> 12.0.0'
6
+ gem 'rake', '~> 13.0.1'
7
7
  gem 'pry-byebug'
8
8
  gem 'rubocop', '~> 0.66.0'
9
9
  end
data/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # Messente API Library
2
2
 
3
- - Messente API version: 1.0.2
4
- - Ruby gem version: 1.0.3
3
+ - Messente API version: 1.3.0
4
+ - Ruby gem version: 1.3.0
5
5
 
6
- [Messente](https://messente.com) is a global provider of messaging and user verification services. Use Messente API library to send and receive SMS, Viber and WhatsApp 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.
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
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
14
14
  **custom2** | **String** | The second custom field | [optional]
15
15
  **custom3** | **String** | The third custom field | [optional]
16
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]
17
18
 
18
19
  ## Code Sample
19
20
 
@@ -29,7 +30,8 @@ instance = MessenteApi::ContactFields.new(phone_number: null,
29
30
  custom: null,
30
31
  custom2: null,
31
32
  custom3: null,
32
- custom4: null)
33
+ custom4: null,
34
+ scheduled_deletion_date: null)
33
35
  ```
34
36
 
35
37
 
@@ -87,7 +87,7 @@ MessenteApi.configure do |config|
87
87
  end
88
88
 
89
89
  api_instance = MessenteApi::ContactsApi.new
90
- contact_fields = {"phoneNumber":"+37251000000","email":"anyone@messente.com","firstName":"Any","lastName":"One","company":"Messente","title":"Sir","custom":"Any custom","custom2":"Any custom two","custom3":"Any custom three","custom4":"Any custom four"} # ContactFields |
90
+ contact_fields = {"phoneNumber":"+37251000000","email":"anyone@messente.com","firstName":"Any","lastName":"One","company":"Messente","title":"Sir","custom":"Any custom","custom2":"Any custom two","custom3":"Any custom three","custom4":"Any custom four","scheduledDeletionDate":"2020-08-31"} # ContactFields |
91
91
 
92
92
  begin
93
93
  #Creates a new contact
@@ -396,7 +396,7 @@ end
396
396
 
397
397
  api_instance = MessenteApi::ContactsApi.new
398
398
  phone = '+37251000000' # String | A phone number
399
- contact_update_fields = {"email":"anyone@messente.com","firstName":"Any","lastName":"One","company":"Messente","title":"Sir","custom":"Any custom","custom2":"Any custom two","custom3":"Any custom three","custom4":"Any custom four"} # ContactUpdateFields |
399
+ contact_update_fields = {"email":"anyone@messente.com","firstName":"Any","lastName":"One","company":"Messente","title":"Sir","custom":"Any custom","custom2":"Any custom two","custom3":"Any custom three","custom4":"Any custom four","scheduledDeletionDate":"2020-08-31"} # ContactUpdateFields |
400
400
 
401
401
  begin
402
402
  #Updates a contact
@@ -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
+
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **to** | **String** | Phone number in e.164 format |
8
- **messages** | [**Array<OneOfViberSMSWhatsApp>**](OneOfViberSMSWhatsApp.md) | An array of messages |
8
+ **messages** | [**Array<OneOfViberSMSWhatsAppTelegram>**](OneOfViberSMSWhatsAppTelegram.md) | An array of messages |
9
9
  **dlr_url** | **String** | URL where the delivery report will be sent | [optional]
10
10
  **text_store** | [**TextStore**](TextStore.md) | | [optional]
11
11
  **time_to_send** | **DateTime** | Optional parameter for sending messages at some specific time in the future. Time must be specified in the ISO-8601 format. If no timezone is specified, then the timezone is assumed to be UTC Examples: * Time specified with timezone: 2018-06-22T09:05:07+00:00 Time specified in UTC: 2018-06-22T09:05:07Z * Time specified without timezone: 2018-06-22T09:05 (equivalent to 2018-06-22T09:05+00:00) | [optional]
@@ -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
- nil (empty response body)
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
+
@@ -0,0 +1,21 @@
1
+ # MessenteApi::StatisticsReportSettings
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **start_date** | **Date** | Start date for the report |
8
+ **end_date** | **Date** | End date for the report |
9
+ **message_types** | **Array<String>** | Optional list of message types (sms, viber, whatsapp, hlr, telegram) | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'MessenteApi'
15
+
16
+ instance = MessenteApi::StatisticsReportSettings.new(start_date: null,
17
+ end_date: null,
18
+ message_types: null)
19
+ ```
20
+
21
+