messente_api 1.4.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +33 -30
- data/docs/BlacklistApi.md +105 -37
- data/docs/BulkMessagingApi.md +76 -0
- data/docs/BulkOmniMessageCreateSuccessResponse.md +18 -0
- data/docs/BulkOmniMessageCreateSuccessResponseMessagesInner.md +49 -0
- data/docs/BulkOmnimessage.md +18 -0
- data/docs/Channel.md +4 -5
- data/docs/ContactEnvelope.md +8 -7
- data/docs/ContactFields.md +26 -25
- data/docs/ContactListEnvelope.md +8 -7
- data/docs/ContactResponseFields.md +28 -27
- data/docs/ContactUpdateFields.md +24 -23
- data/docs/ContactsApi.md +221 -86
- data/docs/DeliveryReportApi.md +29 -13
- data/docs/DeliveryReportResponse.md +12 -11
- data/docs/DeliveryResult.md +22 -17
- data/docs/ErrorCodeOmnichannel.md +4 -5
- data/docs/ErrorCodeOmnichannelMachine.md +4 -5
- data/docs/ErrorCodePhonebook.md +4 -5
- data/docs/ErrorCodeStatistics.md +4 -5
- data/docs/ErrorItemNumberLookup.md +8 -7
- data/docs/ErrorItemNumberLookupError.md +10 -9
- data/docs/ErrorItemOmnichannel.md +14 -13
- data/docs/ErrorItemPhonebook.md +12 -11
- data/docs/ErrorItemStatistics.md +12 -11
- data/docs/ErrorNumberLookup.md +8 -7
- data/docs/ErrorOmnichannel.md +8 -7
- data/docs/ErrorPhonebook.md +8 -7
- data/docs/ErrorStatistics.md +8 -7
- data/docs/ErrorTitleOmnichannel.md +4 -5
- data/docs/ErrorTitlePhonebook.md +4 -5
- data/docs/FetchBlacklistSuccess.md +8 -7
- data/docs/GroupEnvelope.md +8 -7
- data/docs/GroupListEnvelope.md +8 -7
- data/docs/GroupName.md +8 -7
- data/docs/GroupResponseFields.md +14 -13
- data/docs/GroupsApi.md +136 -51
- data/docs/MessageResult.md +12 -11
- data/docs/MobileNetwork.md +16 -15
- data/docs/NumberLookupApi.md +30 -14
- data/docs/NumberToBlacklist.md +8 -7
- data/docs/NumbersToInvestigate.md +8 -7
- data/docs/OmniMessageCreateSuccessResponse.md +12 -11
- data/docs/Omnimessage.md +18 -17
- data/docs/OmnimessageApi.md +56 -23
- data/docs/OmnimessageMessagesInner.md +53 -0
- data/docs/PriceInfo.md +22 -0
- data/docs/Priority.md +4 -5
- data/docs/SMS.md +20 -17
- data/docs/StatisticsApi.md +30 -14
- data/docs/StatisticsReport.md +12 -11
- data/docs/StatisticsReportSettings.md +12 -11
- data/docs/StatisticsReportSuccess.md +8 -7
- data/docs/Status.md +4 -5
- data/docs/SyncNumberLookupResult.md +24 -23
- data/docs/SyncNumberLookupSuccess.md +10 -9
- data/docs/Telegram.md +20 -19
- data/docs/TextStore.md +4 -5
- data/docs/Viber.md +22 -19
- data/docs/WhatsApp.md +16 -19
- data/docs/WhatsAppComponent.md +24 -0
- data/docs/WhatsAppCurrency.md +22 -0
- data/docs/WhatsAppDatetime.md +18 -0
- data/docs/WhatsAppLanguage.md +20 -0
- data/docs/WhatsAppMedia.md +24 -0
- data/docs/WhatsAppParameter.md +30 -0
- data/docs/WhatsAppTemplate.md +22 -0
- data/git_push.sh +3 -4
- data/lib/messente_api/api/blacklist_api.rb +22 -15
- data/lib/messente_api/api/bulk_messaging_api.rb +88 -0
- data/lib/messente_api/api/contacts_api.rb +42 -28
- data/lib/messente_api/api/delivery_report_api.rb +6 -5
- data/lib/messente_api/api/groups_api.rb +30 -19
- data/lib/messente_api/api/number_lookup_api.rb +10 -6
- data/lib/messente_api/api/omnimessage_api.rb +14 -9
- data/lib/messente_api/api/statistics_api.rb +10 -6
- data/lib/messente_api/api_client.rb +72 -66
- data/lib/messente_api/api_error.rb +3 -2
- data/lib/messente_api/configuration.rb +64 -14
- data/lib/messente_api/models/{whats_app_audio.rb → bulk_omni_message_create_success_response.rb} +50 -38
- data/lib/messente_api/models/bulk_omni_message_create_success_response_messages_inner.rb +105 -0
- data/lib/messente_api/models/{whats_app_text.rb → bulk_omnimessage.rb} +49 -49
- data/lib/messente_api/models/channel.rb +9 -5
- data/lib/messente_api/models/contact_envelope.rb +31 -23
- data/lib/messente_api/models/contact_fields.rb +33 -23
- data/lib/messente_api/models/contact_list_envelope.rb +41 -23
- data/lib/messente_api/models/contact_response_fields.rb +31 -23
- data/lib/messente_api/models/contact_update_fields.rb +31 -23
- data/lib/messente_api/models/delivery_report_response.rb +37 -23
- data/lib/messente_api/models/delivery_result.rb +77 -27
- data/lib/messente_api/models/error_code_omnichannel.rb +9 -5
- data/lib/messente_api/models/error_code_omnichannel_machine.rb +9 -5
- data/lib/messente_api/models/error_code_phonebook.rb +9 -5
- data/lib/messente_api/models/error_code_statistics.rb +9 -5
- data/lib/messente_api/models/error_item_number_lookup.rb +33 -23
- data/lib/messente_api/models/error_item_number_lookup_error.rb +35 -23
- data/lib/messente_api/models/error_item_omnichannel.rb +61 -23
- data/lib/messente_api/models/error_item_phonebook.rb +59 -23
- data/lib/messente_api/models/error_item_statistics.rb +59 -23
- data/lib/messente_api/models/error_number_lookup.rb +33 -23
- data/lib/messente_api/models/error_omnichannel.rb +33 -23
- data/lib/messente_api/models/error_phonebook.rb +33 -23
- data/lib/messente_api/models/error_statistics.rb +33 -23
- data/lib/messente_api/models/error_title_omnichannel.rb +9 -5
- data/lib/messente_api/models/error_title_phonebook.rb +9 -5
- data/lib/messente_api/models/fetch_blacklist_success.rb +41 -23
- data/lib/messente_api/models/group_envelope.rb +31 -23
- data/lib/messente_api/models/group_list_envelope.rb +41 -23
- data/lib/messente_api/models/group_name.rb +33 -23
- data/lib/messente_api/models/group_response_fields.rb +37 -23
- data/lib/messente_api/models/message_result.rb +59 -23
- data/lib/messente_api/models/mobile_network.rb +31 -23
- data/lib/messente_api/models/number_to_blacklist.rb +33 -23
- data/lib/messente_api/models/numbers_to_investigate.rb +62 -24
- data/lib/messente_api/models/omni_message_create_success_response.rb +37 -23
- data/lib/messente_api/models/omnimessage.rb +59 -25
- data/lib/messente_api/models/omnimessage_messages_inner.rb +107 -0
- data/lib/messente_api/models/price_info.rb +257 -0
- data/lib/messente_api/models/priority.rb +9 -5
- data/lib/messente_api/models/sms.rb +45 -25
- data/lib/messente_api/models/statistics_report.rb +37 -23
- data/lib/messente_api/models/statistics_report_settings.rb +35 -23
- data/lib/messente_api/models/statistics_report_success.rb +33 -23
- data/lib/messente_api/models/status.rb +9 -5
- data/lib/messente_api/models/sync_number_lookup_result.rb +35 -24
- data/lib/messente_api/models/sync_number_lookup_success.rb +35 -23
- data/lib/messente_api/models/telegram.rb +31 -23
- data/lib/messente_api/models/text_store.rb +9 -5
- data/lib/messente_api/models/viber.rb +43 -25
- data/lib/messente_api/models/whats_app.rb +45 -54
- data/lib/messente_api/models/whats_app_component.rb +255 -0
- data/lib/messente_api/models/whats_app_currency.rb +257 -0
- data/lib/messente_api/models/{whats_app_document.rb → whats_app_datetime.rb} +48 -48
- data/lib/messente_api/models/{whats_app_image.rb → whats_app_language.rb} +55 -45
- data/lib/messente_api/models/whats_app_media.rb +246 -0
- data/lib/messente_api/models/whats_app_parameter.rb +278 -0
- data/lib/messente_api/models/whats_app_template.rb +251 -0
- data/lib/messente_api/version.rb +3 -3
- data/lib/messente_api.rb +15 -6
- data/messente_api.gemspec +5 -5
- data/spec/spec_helper.rb +2 -2
- metadata +33 -39
- data/docs/WhatsAppAudio.md +0 -17
- data/docs/WhatsAppDocument.md +0 -19
- data/docs/WhatsAppImage.md +0 -19
- data/docs/WhatsAppText.md +0 -19
- data/spec/api_client_spec.rb +0 -226
- data/spec/configuration_spec.rb +0 -42
data/docs/DeliveryReportApi.md
CHANGED
@@ -2,22 +2,21 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *https://api.messente.com/v1*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**retrieve_delivery_report**](DeliveryReportApi.md#retrieve_delivery_report) | **GET** /omnimessage/{omnimessageId}/status | Retrieves the delivery report for the Omnimessage
|
8
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**retrieve_delivery_report**](DeliveryReportApi.md#retrieve_delivery_report) | **GET** /omnimessage/{omnimessageId}/status | Retrieves the delivery report for the Omnimessage |
|
9
8
|
|
10
9
|
|
11
10
|
## retrieve_delivery_report
|
12
11
|
|
13
|
-
> DeliveryReportResponse retrieve_delivery_report(omnimessage_id)
|
12
|
+
> <DeliveryReportResponse> retrieve_delivery_report(omnimessage_id)
|
14
13
|
|
15
14
|
Retrieves the delivery report for the Omnimessage
|
16
15
|
|
17
|
-
###
|
16
|
+
### Examples
|
18
17
|
|
19
18
|
```ruby
|
20
|
-
|
19
|
+
require 'time'
|
21
20
|
require 'messente_api'
|
22
21
|
# setup authorization
|
23
22
|
MessenteApi.configure do |config|
|
@@ -30,20 +29,37 @@ api_instance = MessenteApi::DeliveryReportApi.new
|
|
30
29
|
omnimessage_id = 'omnimessage_id_example' # String | UUID of the omnimessage to for which the delivery report is to be retrieved
|
31
30
|
|
32
31
|
begin
|
33
|
-
#Retrieves the delivery report for the Omnimessage
|
32
|
+
# Retrieves the delivery report for the Omnimessage
|
34
33
|
result = api_instance.retrieve_delivery_report(omnimessage_id)
|
35
34
|
p result
|
36
35
|
rescue MessenteApi::ApiError => e
|
37
|
-
puts "
|
36
|
+
puts "Error when calling DeliveryReportApi->retrieve_delivery_report: #{e}"
|
38
37
|
end
|
39
38
|
```
|
40
39
|
|
41
|
-
|
40
|
+
#### Using the retrieve_delivery_report_with_http_info variant
|
41
|
+
|
42
|
+
This returns an Array which contains the response data, status code and headers.
|
42
43
|
|
44
|
+
> <Array(<DeliveryReportResponse>, Integer, Hash)> retrieve_delivery_report_with_http_info(omnimessage_id)
|
45
|
+
|
46
|
+
```ruby
|
47
|
+
begin
|
48
|
+
# Retrieves the delivery report for the Omnimessage
|
49
|
+
data, status_code, headers = api_instance.retrieve_delivery_report_with_http_info(omnimessage_id)
|
50
|
+
p status_code # => 2xx
|
51
|
+
p headers # => { ... }
|
52
|
+
p data # => <DeliveryReportResponse>
|
53
|
+
rescue MessenteApi::ApiError => e
|
54
|
+
puts "Error when calling DeliveryReportApi->retrieve_delivery_report_with_http_info: #{e}"
|
55
|
+
end
|
56
|
+
```
|
57
|
+
|
58
|
+
### Parameters
|
43
59
|
|
44
|
-
Name | Type | Description
|
45
|
-
|
46
|
-
**omnimessage_id** | **String
|
60
|
+
| Name | Type | Description | Notes |
|
61
|
+
| ---- | ---- | ----------- | ----- |
|
62
|
+
| **omnimessage_id** | **String** | UUID of the omnimessage to for which the delivery report is to be retrieved | |
|
47
63
|
|
48
64
|
### Return type
|
49
65
|
|
@@ -2,20 +2,21 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**statuses** | [**Array<DeliveryResult>**](DeliveryResult.md) | Contains the delivery reports for each channel, ordered by send order |
|
8
|
-
**to** | **String** | Phone number in e.164 format |
|
9
|
-
**omnimessage_id** | **String** | Unique identifier for the omnimessage |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **statuses** | [**Array<DeliveryResult>**](DeliveryResult.md) | Contains the delivery reports for each channel, ordered by send order | |
|
8
|
+
| **to** | **String** | Phone number in e.164 format | |
|
9
|
+
| **omnimessage_id** | **String** | Unique identifier for the omnimessage | |
|
10
10
|
|
11
|
-
##
|
11
|
+
## Example
|
12
12
|
|
13
13
|
```ruby
|
14
|
-
require '
|
14
|
+
require 'messente_api'
|
15
15
|
|
16
|
-
instance = MessenteApi::DeliveryReportResponse.new(
|
17
|
-
|
18
|
-
|
16
|
+
instance = MessenteApi::DeliveryReportResponse.new(
|
17
|
+
statuses: null,
|
18
|
+
to: null,
|
19
|
+
omnimessage_id: null
|
20
|
+
)
|
19
21
|
```
|
20
22
|
|
21
|
-
|
data/docs/DeliveryResult.md
CHANGED
@@ -2,26 +2,31 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**status** | [**Status**](Status.md) | | [optional]
|
8
|
-
**channel** | [**Channel**](Channel.md) | | [optional]
|
9
|
-
**message_id** | **String** | Unique identifier for the message | [optional]
|
10
|
-
**error** | **String** | Human-readable description of what went wrong, *null* in case of success or if the message has not been processed yet | [optional]
|
11
|
-
**err** | [**ErrorCodeOmnichannelMachine**](ErrorCodeOmnichannelMachine.md) | | [optional]
|
12
|
-
**timestamp** | **
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **status** | [**Status**](Status.md) | | [optional] |
|
8
|
+
| **channel** | [**Channel**](Channel.md) | | [optional] |
|
9
|
+
| **message_id** | **String** | Unique identifier for the message | [optional] |
|
10
|
+
| **error** | **String** | Human-readable description of what went wrong, *null* in case of success or if the message has not been processed yet | [optional] |
|
11
|
+
| **err** | [**ErrorCodeOmnichannelMachine**](ErrorCodeOmnichannelMachine.md) | | [optional] |
|
12
|
+
| **timestamp** | **Time** | When this status was received by Omnichannel API | [optional] |
|
13
|
+
| **price_info** | [**PriceInfo**](PriceInfo.md) | | [optional] |
|
14
|
+
| **sender** | **String** | the sender of the message | [optional] |
|
13
15
|
|
14
|
-
##
|
16
|
+
## Example
|
15
17
|
|
16
18
|
```ruby
|
17
|
-
require '
|
19
|
+
require 'messente_api'
|
18
20
|
|
19
|
-
instance = MessenteApi::DeliveryResult.new(
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
21
|
+
instance = MessenteApi::DeliveryResult.new(
|
22
|
+
status: null,
|
23
|
+
channel: null,
|
24
|
+
message_id: null,
|
25
|
+
error: null,
|
26
|
+
err: null,
|
27
|
+
timestamp: null,
|
28
|
+
price_info: null,
|
29
|
+
sender: null
|
30
|
+
)
|
25
31
|
```
|
26
32
|
|
27
|
-
|
@@ -2,15 +2,14 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
7
|
|
8
|
-
##
|
8
|
+
## Example
|
9
9
|
|
10
10
|
```ruby
|
11
|
-
require '
|
11
|
+
require 'messente_api'
|
12
12
|
|
13
13
|
instance = MessenteApi::ErrorCodeOmnichannel.new()
|
14
14
|
```
|
15
15
|
|
16
|
-
|
@@ -2,15 +2,14 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
7
|
|
8
|
-
##
|
8
|
+
## Example
|
9
9
|
|
10
10
|
```ruby
|
11
|
-
require '
|
11
|
+
require 'messente_api'
|
12
12
|
|
13
13
|
instance = MessenteApi::ErrorCodeOmnichannelMachine.new()
|
14
14
|
```
|
15
15
|
|
16
|
-
|
data/docs/ErrorCodePhonebook.md
CHANGED
@@ -2,15 +2,14 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
7
|
|
8
|
-
##
|
8
|
+
## Example
|
9
9
|
|
10
10
|
```ruby
|
11
|
-
require '
|
11
|
+
require 'messente_api'
|
12
12
|
|
13
13
|
instance = MessenteApi::ErrorCodePhonebook.new()
|
14
14
|
```
|
15
15
|
|
16
|
-
|
data/docs/ErrorCodeStatistics.md
CHANGED
@@ -2,15 +2,14 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
7
|
|
8
|
-
##
|
8
|
+
## Example
|
9
9
|
|
10
10
|
```ruby
|
11
|
-
require '
|
11
|
+
require 'messente_api'
|
12
12
|
|
13
13
|
instance = MessenteApi::ErrorCodeStatistics.new()
|
14
14
|
```
|
15
15
|
|
16
|
-
|
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**error** | [**ErrorItemNumberLookupError**](ErrorItemNumberLookupError.md) | |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **error** | [**ErrorItemNumberLookupError**](ErrorItemNumberLookupError.md) | | |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'messente_api'
|
13
13
|
|
14
|
-
instance = MessenteApi::ErrorItemNumberLookup.new(
|
14
|
+
instance = MessenteApi::ErrorItemNumberLookup.new(
|
15
|
+
error: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
@@ -2,18 +2,19 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
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 |
|
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
9
|
|
10
|
-
##
|
10
|
+
## Example
|
11
11
|
|
12
12
|
```ruby
|
13
|
-
require '
|
13
|
+
require 'messente_api'
|
14
14
|
|
15
|
-
instance = MessenteApi::ErrorItemNumberLookupError.new(
|
16
|
-
|
15
|
+
instance = MessenteApi::ErrorItemNumberLookupError.new(
|
16
|
+
description: null,
|
17
|
+
code: null
|
18
|
+
)
|
17
19
|
```
|
18
20
|
|
19
|
-
|
@@ -2,22 +2,23 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**title** | [**ErrorTitleOmnichannel**](ErrorTitleOmnichannel.md) | |
|
8
|
-
**detail** | **String** | Free form more detailed description of the error |
|
9
|
-
**code** | [**ErrorCodeOmnichannel**](ErrorCodeOmnichannel.md) | |
|
10
|
-
**source** | **String** | Describes which field is causing the issue in the payload, null for non 400 status code responses |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **title** | [**ErrorTitleOmnichannel**](ErrorTitleOmnichannel.md) | | |
|
8
|
+
| **detail** | **String** | Free form more detailed description of the error | |
|
9
|
+
| **code** | [**ErrorCodeOmnichannel**](ErrorCodeOmnichannel.md) | | |
|
10
|
+
| **source** | **String** | Describes which field is causing the issue in the payload, null for non 400 status code responses | |
|
11
11
|
|
12
|
-
##
|
12
|
+
## Example
|
13
13
|
|
14
14
|
```ruby
|
15
|
-
require '
|
15
|
+
require 'messente_api'
|
16
16
|
|
17
|
-
instance = MessenteApi::ErrorItemOmnichannel.new(
|
18
|
-
|
19
|
-
|
20
|
-
|
17
|
+
instance = MessenteApi::ErrorItemOmnichannel.new(
|
18
|
+
title: null,
|
19
|
+
detail: null,
|
20
|
+
code: null,
|
21
|
+
source: null
|
22
|
+
)
|
21
23
|
```
|
22
24
|
|
23
|
-
|
data/docs/ErrorItemPhonebook.md
CHANGED
@@ -2,20 +2,21 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**title** | [**ErrorTitlePhonebook**](ErrorTitlePhonebook.md) | |
|
8
|
-
**detail** | **String** | Free form more detailed description of the error |
|
9
|
-
**code** | [**ErrorCodePhonebook**](ErrorCodePhonebook.md) | |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **title** | [**ErrorTitlePhonebook**](ErrorTitlePhonebook.md) | | |
|
8
|
+
| **detail** | **String** | Free form more detailed description of the error | |
|
9
|
+
| **code** | [**ErrorCodePhonebook**](ErrorCodePhonebook.md) | | |
|
10
10
|
|
11
|
-
##
|
11
|
+
## Example
|
12
12
|
|
13
13
|
```ruby
|
14
|
-
require '
|
14
|
+
require 'messente_api'
|
15
15
|
|
16
|
-
instance = MessenteApi::ErrorItemPhonebook.new(
|
17
|
-
|
18
|
-
|
16
|
+
instance = MessenteApi::ErrorItemPhonebook.new(
|
17
|
+
title: null,
|
18
|
+
detail: null,
|
19
|
+
code: null
|
20
|
+
)
|
19
21
|
```
|
20
22
|
|
21
|
-
|
data/docs/ErrorItemStatistics.md
CHANGED
@@ -2,20 +2,21 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**title** | **String** | Error title |
|
8
|
-
**details** | **String** | Error details |
|
9
|
-
**code** | [**ErrorCodeStatistics**](ErrorCodeStatistics.md) | |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **title** | **String** | Error title | |
|
8
|
+
| **details** | **String** | Error details | |
|
9
|
+
| **code** | [**ErrorCodeStatistics**](ErrorCodeStatistics.md) | | |
|
10
10
|
|
11
|
-
##
|
11
|
+
## Example
|
12
12
|
|
13
13
|
```ruby
|
14
|
-
require '
|
14
|
+
require 'messente_api'
|
15
15
|
|
16
|
-
instance = MessenteApi::ErrorItemStatistics.new(
|
17
|
-
|
18
|
-
|
16
|
+
instance = MessenteApi::ErrorItemStatistics.new(
|
17
|
+
title: null,
|
18
|
+
details: null,
|
19
|
+
code: null
|
20
|
+
)
|
19
21
|
```
|
20
22
|
|
21
|
-
|
data/docs/ErrorNumberLookup.md
CHANGED
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**errors** | [**Array<ErrorItemNumberLookup>**](ErrorItemNumberLookup.md) | An array of errors |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **errors** | [**Array<ErrorItemNumberLookup>**](ErrorItemNumberLookup.md) | An array of errors | |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'messente_api'
|
13
13
|
|
14
|
-
instance = MessenteApi::ErrorNumberLookup.new(
|
14
|
+
instance = MessenteApi::ErrorNumberLookup.new(
|
15
|
+
errors: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
data/docs/ErrorOmnichannel.md
CHANGED
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**errors** | [**Array<ErrorItemOmnichannel>**](ErrorItemOmnichannel.md) | An array of errors |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **errors** | [**Array<ErrorItemOmnichannel>**](ErrorItemOmnichannel.md) | An array of errors | |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'messente_api'
|
13
13
|
|
14
|
-
instance = MessenteApi::ErrorOmnichannel.new(
|
14
|
+
instance = MessenteApi::ErrorOmnichannel.new(
|
15
|
+
errors: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
data/docs/ErrorPhonebook.md
CHANGED
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**errors** | [**Array<ErrorItemPhonebook>**](ErrorItemPhonebook.md) | An array of errors |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **errors** | [**Array<ErrorItemPhonebook>**](ErrorItemPhonebook.md) | An array of errors | |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'messente_api'
|
13
13
|
|
14
|
-
instance = MessenteApi::ErrorPhonebook.new(
|
14
|
+
instance = MessenteApi::ErrorPhonebook.new(
|
15
|
+
errors: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
data/docs/ErrorStatistics.md
CHANGED
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**errors** | [**Array<ErrorItemStatistics>**](ErrorItemStatistics.md) | An array of errors |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **errors** | [**Array<ErrorItemStatistics>**](ErrorItemStatistics.md) | An array of errors | |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'messente_api'
|
13
13
|
|
14
|
-
instance = MessenteApi::ErrorStatistics.new(
|
14
|
+
instance = MessenteApi::ErrorStatistics.new(
|
15
|
+
errors: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
@@ -2,15 +2,14 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
7
|
|
8
|
-
##
|
8
|
+
## Example
|
9
9
|
|
10
10
|
```ruby
|
11
|
-
require '
|
11
|
+
require 'messente_api'
|
12
12
|
|
13
13
|
instance = MessenteApi::ErrorTitleOmnichannel.new()
|
14
14
|
```
|
15
15
|
|
16
|
-
|
data/docs/ErrorTitlePhonebook.md
CHANGED
@@ -2,15 +2,14 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
7
|
|
8
|
-
##
|
8
|
+
## Example
|
9
9
|
|
10
10
|
```ruby
|
11
|
-
require '
|
11
|
+
require 'messente_api'
|
12
12
|
|
13
13
|
instance = MessenteApi::ErrorTitlePhonebook.new()
|
14
14
|
```
|
15
15
|
|
16
|
-
|
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**phone_numbers** | **Array<String>** | Array of unique phone numbers | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **phone_numbers** | **Array<String>** | Array of unique phone numbers | [optional] |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'messente_api'
|
13
13
|
|
14
|
-
instance = MessenteApi::FetchBlacklistSuccess.new(
|
14
|
+
instance = MessenteApi::FetchBlacklistSuccess.new(
|
15
|
+
phone_numbers: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
data/docs/GroupEnvelope.md
CHANGED
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**group** | [**GroupResponseFields**](GroupResponseFields.md) | | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **group** | [**GroupResponseFields**](GroupResponseFields.md) | | [optional] |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'messente_api'
|
13
13
|
|
14
|
-
instance = MessenteApi::GroupEnvelope.new(
|
14
|
+
instance = MessenteApi::GroupEnvelope.new(
|
15
|
+
group: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
data/docs/GroupListEnvelope.md
CHANGED
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**groups** | [**Array<GroupResponseFields>**](GroupResponseFields.md) | An array of groups | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **groups** | [**Array<GroupResponseFields>**](GroupResponseFields.md) | An array of groups | [optional] |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'messente_api'
|
13
13
|
|
14
|
-
instance = MessenteApi::GroupListEnvelope.new(
|
14
|
+
instance = MessenteApi::GroupListEnvelope.new(
|
15
|
+
groups: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
data/docs/GroupName.md
CHANGED
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**name** | **String** | The name of the group |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | The name of the group | |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'messente_api'
|
13
13
|
|
14
|
-
instance = MessenteApi::GroupName.new(
|
14
|
+
instance = MessenteApi::GroupName.new(
|
15
|
+
name: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|