messente_api 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +22 -22
- data/docs/BlacklistApi.md +12 -12
- data/docs/ContactFields.md +9 -9
- data/docs/ContactListEnvelope.md +1 -1
- data/docs/ContactUpdateFields.md +9 -9
- data/docs/ContactsApi.md +30 -30
- data/docs/DeliveryReportApi.md +6 -6
- data/docs/DeliveryReportResponse.md +2 -2
- data/docs/DeliveryResult.md +1 -1
- data/docs/ErrorItemOmnichannel.md +1 -1
- data/docs/ErrorItemPhonebook.md +1 -1
- data/docs/ErrorOmnichannel.md +1 -1
- data/docs/ErrorPhonebook.md +1 -1
- data/docs/FetchBlacklistSuccess.md +1 -1
- data/docs/GroupListEnvelope.md +1 -1
- data/docs/GroupName.md +1 -1
- data/docs/GroupResponseFields.md +4 -4
- data/docs/GroupsApi.md +21 -21
- data/docs/OmniMessageCreateSuccessResponse.md +2 -2
- data/docs/Omnimessage.md +2 -2
- data/docs/OmnimessageApi.md +8 -8
- data/docs/SMS.md +2 -2
- data/docs/Viber.md +2 -2
- data/docs/WhatsApp.md +1 -1
- data/docs/WhatsAppText.md +1 -1
- data/lib/messente_api.rb +1 -1
- data/lib/messente_api/api/blacklist_api.rb +11 -11
- data/lib/messente_api/api/contacts_api.rb +31 -31
- data/lib/messente_api/api/delivery_report_api.rb +6 -6
- data/lib/messente_api/api/groups_api.rb +22 -22
- data/lib/messente_api/api/omnimessage_api.rb +7 -7
- data/lib/messente_api/api_client.rb +1 -1
- data/lib/messente_api/api_error.rb +1 -1
- data/lib/messente_api/configuration.rb +1 -1
- data/lib/messente_api/models/channel.rb +1 -1
- data/lib/messente_api/models/contact_envelope.rb +2 -1
- data/lib/messente_api/models/contact_fields.rb +11 -1
- data/lib/messente_api/models/contact_list_envelope.rb +3 -1
- data/lib/messente_api/models/contact_update_fields.rb +11 -1
- data/lib/messente_api/models/delivery_report_response.rb +4 -3
- data/lib/messente_api/models/delivery_result.rb +3 -2
- data/lib/messente_api/models/error_code_omnichannel.rb +1 -1
- data/lib/messente_api/models/error_code_omnichannel_machine.rb +1 -1
- data/lib/messente_api/models/error_code_phonebook.rb +1 -1
- data/lib/messente_api/models/error_item_omnichannel.rb +3 -2
- data/lib/messente_api/models/error_item_phonebook.rb +3 -2
- data/lib/messente_api/models/error_omnichannel.rb +3 -1
- data/lib/messente_api/models/error_phonebook.rb +3 -1
- data/lib/messente_api/models/error_title_omnichannel.rb +1 -1
- data/lib/messente_api/models/error_title_phonebook.rb +1 -1
- data/lib/messente_api/models/fetch_blacklist_success.rb +3 -1
- data/lib/messente_api/models/group_envelope.rb +2 -1
- data/lib/messente_api/models/group_list_envelope.rb +3 -1
- data/lib/messente_api/models/group_name.rb +3 -1
- data/lib/messente_api/models/group_response_fields.rb +6 -3
- data/lib/messente_api/models/message_result.rb +2 -1
- data/lib/messente_api/models/number_to_blacklist.rb +2 -1
- data/lib/messente_api/models/omni_message_create_success_response.rb +4 -3
- data/lib/messente_api/models/omnimessage.rb +4 -2
- data/lib/messente_api/models/sms.rb +3 -2
- data/lib/messente_api/models/status.rb +1 -1
- data/lib/messente_api/models/text_store.rb +1 -1
- data/lib/messente_api/models/viber.rb +3 -2
- data/lib/messente_api/models/whats_app.rb +3 -2
- data/lib/messente_api/models/whats_app_audio.rb +2 -1
- data/lib/messente_api/models/whats_app_document.rb +2 -1
- data/lib/messente_api/models/whats_app_image.rb +2 -1
- data/lib/messente_api/models/whats_app_text.rb +3 -2
- data/lib/messente_api/version.rb +2 -2
- data/messente_api.gemspec +1 -1
- data/spec/api/blacklist_api_spec.rb +5 -5
- data/spec/api/contacts_api_spec.rb +12 -12
- data/spec/api/delivery_report_api_spec.rb +3 -3
- data/spec/api/groups_api_spec.rb +9 -9
- data/spec/api/omnimessage_api_spec.rb +4 -4
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/channel_spec.rb +1 -1
- data/spec/models/contact_envelope_spec.rb +1 -1
- data/spec/models/contact_fields_spec.rb +1 -1
- data/spec/models/contact_list_envelope_spec.rb +1 -1
- data/spec/models/contact_update_fields_spec.rb +1 -1
- data/spec/models/delivery_report_response_spec.rb +1 -1
- data/spec/models/delivery_result_spec.rb +1 -1
- data/spec/models/error_code_omnichannel_machine_spec.rb +1 -1
- data/spec/models/error_code_omnichannel_spec.rb +1 -1
- data/spec/models/error_code_phonebook_spec.rb +1 -1
- data/spec/models/error_item_omnichannel_spec.rb +1 -1
- data/spec/models/error_item_phonebook_spec.rb +1 -1
- data/spec/models/error_omnichannel_spec.rb +1 -1
- data/spec/models/error_phonebook_spec.rb +1 -1
- data/spec/models/error_title_omnichannel_spec.rb +1 -1
- data/spec/models/error_title_phonebook_spec.rb +1 -1
- data/spec/models/fetch_blacklist_success_spec.rb +1 -1
- data/spec/models/group_envelope_spec.rb +1 -1
- data/spec/models/group_list_envelope_spec.rb +1 -1
- data/spec/models/group_name_spec.rb +1 -1
- data/spec/models/group_response_fields_spec.rb +1 -1
- data/spec/models/message_result_spec.rb +1 -1
- data/spec/models/number_to_blacklist_spec.rb +1 -1
- data/spec/models/omni_message_create_success_response_spec.rb +1 -1
- data/spec/models/omnimessage_spec.rb +1 -1
- data/spec/models/sms_spec.rb +1 -1
- data/spec/models/status_spec.rb +1 -1
- data/spec/models/text_store_spec.rb +1 -1
- data/spec/models/viber_spec.rb +1 -1
- data/spec/models/whats_app_audio_spec.rb +1 -1
- data/spec/models/whats_app_document_spec.rb +1 -1
- data/spec/models/whats_app_image_spec.rb +1 -1
- data/spec/models/whats_app_spec.rb +1 -1
- data/spec/models/whats_app_text_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +2 -2
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.2
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.0
|
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.0.0
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MessenteApi
|
16
|
+
# A message part of an omnimessage
|
16
17
|
class MessageResult
|
17
18
|
# Unique identifier for the message
|
18
19
|
attr_accessor :message_id
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.2
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.0
|
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.0.0
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MessenteApi
|
16
|
+
# A container for a soon-to-be blacklisted number
|
16
17
|
class NumberToBlacklist
|
17
18
|
# Phone number in e.164 format
|
18
19
|
attr_accessor :phone_number
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.2
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.0
|
@@ -13,14 +13,15 @@ OpenAPI Generator version: 4.0.0
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MessenteApi
|
16
|
+
# A container for a response received after successfully created omnimessage
|
16
17
|
class OmniMessageCreateSuccessResponse
|
17
|
-
# List of messages that compose the
|
18
|
+
# List of messages that compose the omnimessage
|
18
19
|
attr_accessor :messages
|
19
20
|
|
20
21
|
# Phone number in e.164 format
|
21
22
|
attr_accessor :to
|
22
23
|
|
23
|
-
# Unique identifier for the
|
24
|
+
# Unique identifier for the omnimessage
|
24
25
|
attr_accessor :omnimessage_id
|
25
26
|
|
26
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.2
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.0
|
@@ -13,10 +13,12 @@ OpenAPI Generator version: 4.0.0
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MessenteApi
|
16
|
+
# An omnimessage
|
16
17
|
class Omnimessage
|
17
18
|
# Phone number in e.164 format
|
18
19
|
attr_accessor :to
|
19
20
|
|
21
|
+
# An array of messages
|
20
22
|
attr_accessor :messages
|
21
23
|
|
22
24
|
# URL where the delivery report will be sent
|
@@ -24,7 +26,7 @@ module MessenteApi
|
|
24
26
|
|
25
27
|
attr_accessor :text_store
|
26
28
|
|
27
|
-
# 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
|
29
|
+
# 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)
|
28
30
|
attr_accessor :time_to_send
|
29
31
|
|
30
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.2
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.0
|
@@ -24,12 +24,13 @@ module MessenteApi
|
|
24
24
|
# After how many minutes this channel is considered as failed and the next channel is attempted
|
25
25
|
attr_accessor :validity
|
26
26
|
|
27
|
-
# Defines how non-GSM characters will be treated: - \"on\" Use replacement settings from the account's [API Auto Replace settings page](https://dashboard.messente.com/api-settings/auto-replace)(default) - \"full\" All non GSM 03.38 characters will be replaced with suitable alternatives - \"off\" Message content is not modified in any way
|
27
|
+
# Defines how non-GSM characters will be treated: - \"on\" Use replacement settings from the account's [API Auto Replace settings page](https://dashboard.messente.com/api-settings/auto-replace) (default) - \"full\" All non GSM 03.38 characters will be replaced with suitable alternatives - \"off\" Message content is not modified in any way
|
28
28
|
attr_accessor :autoconvert
|
29
29
|
|
30
30
|
# hex-encoded string containing SMS UDH
|
31
31
|
attr_accessor :udh
|
32
32
|
|
33
|
+
# The channel used to deliver the message
|
33
34
|
attr_accessor :channel
|
34
35
|
|
35
36
|
class EnumAttributeValidator
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.2
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.2
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.2
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.0
|
@@ -24,7 +24,7 @@ module MessenteApi
|
|
24
24
|
# Plaintext content for Viber
|
25
25
|
attr_accessor :text
|
26
26
|
|
27
|
-
# URL for the embedded image
|
27
|
+
# URL for the embedded image Valid combinations: 1) image_url, 2) text, image_url, button_url, button_text
|
28
28
|
attr_accessor :image_url
|
29
29
|
|
30
30
|
# URL of the button, must be specified along with ''text'', ''button_text'' and ''image_url'' (optional)
|
@@ -33,6 +33,7 @@ module MessenteApi
|
|
33
33
|
# Must be specified along with ''text'', ''button_url'', ''button_text'', ''image_url'' (optional)
|
34
34
|
attr_accessor :button_text
|
35
35
|
|
36
|
+
# The channel used to deliver the message
|
36
37
|
attr_accessor :channel
|
37
38
|
|
38
39
|
class EnumAttributeValidator
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.2
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.0
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.0.0
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MessenteApi
|
16
|
-
# WhatsApp message content. Only one of \"text\", \"image\", \"document\" or \"audio\" can be provided
|
16
|
+
# WhatsApp message content. Only one of \"text\", \"image\", \"document\" or \"audio\" can be provided
|
17
17
|
class WhatsApp
|
18
18
|
# Phone number or alphanumeric sender name
|
19
19
|
attr_accessor :sender
|
@@ -29,6 +29,7 @@ module MessenteApi
|
|
29
29
|
|
30
30
|
attr_accessor :audio
|
31
31
|
|
32
|
+
# The channel used to deliver the message
|
32
33
|
attr_accessor :channel
|
33
34
|
|
34
35
|
class EnumAttributeValidator
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.2
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.0
|
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.0.0
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MessenteApi
|
16
|
+
# A sound
|
16
17
|
class WhatsAppAudio
|
17
18
|
# Base64-encoded audio
|
18
19
|
attr_accessor :content
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.2
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.0
|
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.0.0
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MessenteApi
|
16
|
+
# A document
|
16
17
|
class WhatsAppDocument
|
17
18
|
# Description for the document
|
18
19
|
attr_accessor :caption
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.2
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.0
|
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.0.0
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MessenteApi
|
16
|
+
# An image
|
16
17
|
class WhatsAppImage
|
17
18
|
# Description for the image
|
18
19
|
attr_accessor :caption
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.2
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.0
|
@@ -13,8 +13,9 @@ OpenAPI Generator version: 4.0.0
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MessenteApi
|
16
|
+
# A text
|
16
17
|
class WhatsAppText
|
17
|
-
# Whether to display link preview if the message contains a hyperlink
|
18
|
+
# Whether to display link preview if the message contains a hyperlink
|
18
19
|
attr_accessor :preview_url
|
19
20
|
|
20
21
|
# Plaintext content for WhatsApp, can contain URLs, emojis and formatting
|
data/lib/messente_api/version.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.2
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.0
|
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.0.0
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module MessenteApi
|
14
|
-
VERSION = '1.0.
|
14
|
+
VERSION = '1.0.2'
|
15
15
|
end
|
data/messente_api.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
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.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 1.0.
|
8
|
+
The version of the OpenAPI document: 1.0.2
|
9
9
|
Contact: messente@messente.com
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
11
|
OpenAPI Generator version: 4.0.0
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.2
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.0
|
@@ -33,7 +33,7 @@ describe 'BlacklistApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for add_to_blacklist
|
36
|
-
# Adds a phone number to the blacklist
|
36
|
+
# Adds a phone number to the blacklist
|
37
37
|
# @param number_to_blacklist Phone number to be blacklisted
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @return [nil]
|
@@ -44,7 +44,7 @@ describe 'BlacklistApi' do
|
|
44
44
|
end
|
45
45
|
|
46
46
|
# unit tests for delete_from_blacklist
|
47
|
-
# Deletes a phone number from the blacklist
|
47
|
+
# Deletes a phone number from the blacklist
|
48
48
|
# @param phone A phone number
|
49
49
|
# @param [Hash] opts the optional parameters
|
50
50
|
# @return [nil]
|
@@ -55,7 +55,7 @@ describe 'BlacklistApi' do
|
|
55
55
|
end
|
56
56
|
|
57
57
|
# unit tests for fetch_blacklist
|
58
|
-
# Returns all blacklisted phone numbers
|
58
|
+
# Returns all blacklisted phone numbers
|
59
59
|
# @param [Hash] opts the optional parameters
|
60
60
|
# @return [FetchBlacklistSuccess]
|
61
61
|
describe 'fetch_blacklist test' do
|
@@ -65,7 +65,7 @@ describe 'BlacklistApi' do
|
|
65
65
|
end
|
66
66
|
|
67
67
|
# unit tests for is_blacklisted
|
68
|
-
# Checks if a phone number is blacklisted
|
68
|
+
# Checks if a phone number is blacklisted
|
69
69
|
# @param phone A phone number
|
70
70
|
# @param [Hash] opts the optional parameters
|
71
71
|
# @return [nil]
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.2
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.0
|
@@ -33,8 +33,8 @@ describe 'ContactsApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for add_contact_to_group
|
36
|
-
# Adds a contact to a group
|
37
|
-
# @param group_id String in
|
36
|
+
# Adds a contact to a group
|
37
|
+
# @param group_id String in UUID format
|
38
38
|
# @param phone A phone number
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @return [Object]
|
@@ -45,7 +45,7 @@ describe 'ContactsApi' do
|
|
45
45
|
end
|
46
46
|
|
47
47
|
# unit tests for create_contact
|
48
|
-
# Creates a new contact
|
48
|
+
# Creates a new contact
|
49
49
|
# @param contact_fields
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
51
|
# @return [ContactEnvelope]
|
@@ -56,7 +56,7 @@ describe 'ContactsApi' do
|
|
56
56
|
end
|
57
57
|
|
58
58
|
# unit tests for delete_contact
|
59
|
-
# Deletes a contact
|
59
|
+
# Deletes a contact
|
60
60
|
# @param phone A phone number
|
61
61
|
# @param [Hash] opts the optional parameters
|
62
62
|
# @return [nil]
|
@@ -67,7 +67,7 @@ describe 'ContactsApi' do
|
|
67
67
|
end
|
68
68
|
|
69
69
|
# unit tests for fetch_contact
|
70
|
-
# Lists a contact
|
70
|
+
# Lists a contact
|
71
71
|
# @param phone A phone number
|
72
72
|
# @param [Hash] opts the optional parameters
|
73
73
|
# @return [ContactEnvelope]
|
@@ -78,7 +78,7 @@ describe 'ContactsApi' do
|
|
78
78
|
end
|
79
79
|
|
80
80
|
# unit tests for fetch_contact_groups
|
81
|
-
# Lists groups of a contact
|
81
|
+
# Lists groups of a contact
|
82
82
|
# @param phone A phone number
|
83
83
|
# @param [Hash] opts the optional parameters
|
84
84
|
# @return [GroupListEnvelope]
|
@@ -89,9 +89,9 @@ describe 'ContactsApi' do
|
|
89
89
|
end
|
90
90
|
|
91
91
|
# unit tests for fetch_contacts
|
92
|
-
# Returns all contacts
|
92
|
+
# Returns all contacts
|
93
93
|
# @param [Hash] opts the optional parameters
|
94
|
-
# @option opts [Array<String>] :group_ids Optional one or many group id strings in
|
94
|
+
# @option opts [Array<String>] :group_ids Optional one or many group id strings in UUID format. For example: \"/contacts?groupIds=group_id_one&groupIds=group_id_two\"
|
95
95
|
# @return [ContactListEnvelope]
|
96
96
|
describe 'fetch_contacts test' do
|
97
97
|
it 'should work' do
|
@@ -100,8 +100,8 @@ describe 'ContactsApi' do
|
|
100
100
|
end
|
101
101
|
|
102
102
|
# unit tests for remove_contact_from_group
|
103
|
-
# Removes a contact from a group
|
104
|
-
# @param group_id String in
|
103
|
+
# Removes a contact from a group
|
104
|
+
# @param group_id String in UUID format
|
105
105
|
# @param phone A phone number
|
106
106
|
# @param [Hash] opts the optional parameters
|
107
107
|
# @return [nil]
|
@@ -112,7 +112,7 @@ describe 'ContactsApi' do
|
|
112
112
|
end
|
113
113
|
|
114
114
|
# unit tests for update_contact
|
115
|
-
# Updates a contact
|
115
|
+
# Updates a contact
|
116
116
|
# @param phone A phone number
|
117
117
|
# @param contact_update_fields
|
118
118
|
# @param [Hash] opts the optional parameters
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.2
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.0
|
@@ -33,8 +33,8 @@ describe 'DeliveryReportApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for retrieve_delivery_report
|
36
|
-
# Retrieves the delivery report for the Omnimessage
|
37
|
-
# @param omnimessage_id UUID of the
|
36
|
+
# Retrieves the delivery report for the Omnimessage
|
37
|
+
# @param omnimessage_id UUID of the omnimessage to for which the delivery report is to be retrieved
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @return [DeliveryReportResponse]
|
40
40
|
describe 'retrieve_delivery_report test' do
|
data/spec/api/groups_api_spec.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.0.
|
6
|
+
The version of the OpenAPI document: 1.0.2
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.0
|
@@ -33,7 +33,7 @@ describe 'GroupsApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for create_group
|
36
|
-
# Creates a new group with the provided name
|
36
|
+
# Creates a new group with the provided name
|
37
37
|
# @param group_name
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @return [GroupEnvelope]
|
@@ -44,8 +44,8 @@ describe 'GroupsApi' do
|
|
44
44
|
end
|
45
45
|
|
46
46
|
# unit tests for delete_group
|
47
|
-
# Deletes a group
|
48
|
-
# @param group_id String in
|
47
|
+
# Deletes a group
|
48
|
+
# @param group_id String in UUID format
|
49
49
|
# @param [Hash] opts the optional parameters
|
50
50
|
# @return [nil]
|
51
51
|
describe 'delete_group test' do
|
@@ -55,8 +55,8 @@ describe 'GroupsApi' do
|
|
55
55
|
end
|
56
56
|
|
57
57
|
# unit tests for fetch_group
|
58
|
-
# Lists a group
|
59
|
-
# @param group_id String in
|
58
|
+
# Lists a group
|
59
|
+
# @param group_id String in UUID format
|
60
60
|
# @param [Hash] opts the optional parameters
|
61
61
|
# @return [GroupEnvelope]
|
62
62
|
describe 'fetch_group test' do
|
@@ -66,7 +66,7 @@ describe 'GroupsApi' do
|
|
66
66
|
end
|
67
67
|
|
68
68
|
# unit tests for fetch_groups
|
69
|
-
# Returns all groups
|
69
|
+
# Returns all groups
|
70
70
|
# @param [Hash] opts the optional parameters
|
71
71
|
# @return [GroupListEnvelope]
|
72
72
|
describe 'fetch_groups test' do
|
@@ -76,8 +76,8 @@ describe 'GroupsApi' do
|
|
76
76
|
end
|
77
77
|
|
78
78
|
# unit tests for update_group
|
79
|
-
# Updates a group with the provided name
|
80
|
-
# @param group_id String in
|
79
|
+
# Updates a group with the provided name
|
80
|
+
# @param group_id String in UUID format
|
81
81
|
# @param group_name
|
82
82
|
# @param [Hash] opts the optional parameters
|
83
83
|
# @return [GroupEnvelope]
|