messente_api 1.1.0 → 1.2.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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +11 -3
- 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/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/lib/messente_api.rb +17 -2
- data/lib/messente_api/api/blacklist_api.rb +2 -2
- data/lib/messente_api/api/contacts_api.rb +2 -2
- data/lib/messente_api/api/delivery_report_api.rb +2 -2
- data/lib/messente_api/api/groups_api.rb +2 -2
- data/lib/messente_api/api/number_lookup_api.rb +84 -0
- data/lib/messente_api/api/omnimessage_api.rb +2 -2
- data/lib/messente_api/api/statistics_api.rb +84 -0
- data/lib/messente_api/api_client.rb +2 -2
- data/lib/messente_api/api_error.rb +2 -2
- data/lib/messente_api/configuration.rb +2 -2
- data/lib/messente_api/models/channel.rb +2 -2
- data/lib/messente_api/models/contact_envelope.rb +2 -2
- data/lib/messente_api/models/contact_fields.rb +2 -2
- data/lib/messente_api/models/contact_list_envelope.rb +2 -2
- data/lib/messente_api/models/contact_update_fields.rb +2 -2
- data/lib/messente_api/models/delivery_report_response.rb +2 -2
- data/lib/messente_api/models/delivery_result.rb +2 -2
- data/lib/messente_api/models/error_code_omnichannel.rb +2 -2
- data/lib/messente_api/models/error_code_omnichannel_machine.rb +2 -2
- data/lib/messente_api/models/error_code_phonebook.rb +2 -2
- data/lib/messente_api/models/error_code_statistics.rb +38 -0
- data/lib/messente_api/models/error_item_number_lookup.rb +202 -0
- data/lib/messente_api/models/error_item_number_lookup_error.rb +246 -0
- data/lib/messente_api/models/error_item_omnichannel.rb +2 -2
- data/lib/messente_api/models/error_item_phonebook.rb +2 -2
- data/lib/messente_api/models/error_item_statistics.rb +232 -0
- data/lib/messente_api/models/error_number_lookup.rb +205 -0
- data/lib/messente_api/models/error_omnichannel.rb +2 -2
- data/lib/messente_api/models/error_phonebook.rb +2 -2
- data/lib/messente_api/models/error_statistics.rb +205 -0
- data/lib/messente_api/models/error_title_omnichannel.rb +2 -2
- data/lib/messente_api/models/error_title_phonebook.rb +2 -2
- data/lib/messente_api/models/fetch_blacklist_success.rb +2 -2
- data/lib/messente_api/models/group_envelope.rb +2 -2
- data/lib/messente_api/models/group_list_envelope.rb +2 -2
- data/lib/messente_api/models/group_name.rb +2 -2
- data/lib/messente_api/models/group_response_fields.rb +2 -2
- data/lib/messente_api/models/message_result.rb +2 -2
- data/lib/messente_api/models/mobile_network.rb +238 -0
- data/lib/messente_api/models/number_to_blacklist.rb +2 -2
- data/lib/messente_api/models/numbers_to_investigate.rb +205 -0
- data/lib/messente_api/models/omni_message_create_success_response.rb +2 -2
- data/lib/messente_api/models/omnimessage.rb +2 -2
- data/lib/messente_api/models/sms.rb +2 -2
- data/lib/messente_api/models/statistics_report.rb +233 -0
- data/lib/messente_api/models/statistics_report_settings.rb +230 -0
- data/lib/messente_api/models/statistics_report_success.rb +205 -0
- data/lib/messente_api/models/status.rb +2 -2
- data/lib/messente_api/models/sync_number_lookup_result.rb +313 -0
- data/lib/messente_api/models/sync_number_lookup_success.rb +220 -0
- data/lib/messente_api/models/telegram.rb +2 -2
- data/lib/messente_api/models/text_store.rb +2 -2
- data/lib/messente_api/models/viber.rb +2 -2
- data/lib/messente_api/models/whats_app.rb +2 -2
- data/lib/messente_api/models/whats_app_audio.rb +2 -2
- data/lib/messente_api/models/whats_app_document.rb +2 -2
- data/lib/messente_api/models/whats_app_image.rb +2 -2
- data/lib/messente_api/models/whats_app_text.rb +2 -2
- data/lib/messente_api/version.rb +3 -3
- data/messente_api.gemspec +3 -3
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +38 -7
@@ -0,0 +1,220 @@
|
|
1
|
+
=begin
|
2
|
+
#Messente API
|
3
|
+
|
4
|
+
#[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.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.2.0
|
7
|
+
Contact: messente@messente.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.0.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module MessenteApi
|
16
|
+
# A container for number lookup response
|
17
|
+
class SyncNumberLookupSuccess
|
18
|
+
# ID of the request
|
19
|
+
attr_accessor :request_id
|
20
|
+
|
21
|
+
# A container for phone number info objects
|
22
|
+
attr_accessor :result
|
23
|
+
|
24
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
25
|
+
def self.attribute_map
|
26
|
+
{
|
27
|
+
:'request_id' => :'request_id',
|
28
|
+
:'result' => :'result'
|
29
|
+
}
|
30
|
+
end
|
31
|
+
|
32
|
+
# Attribute type mapping.
|
33
|
+
def self.openapi_types
|
34
|
+
{
|
35
|
+
:'request_id' => :'String',
|
36
|
+
:'result' => :'Array<SyncNumberLookupResult>'
|
37
|
+
}
|
38
|
+
end
|
39
|
+
|
40
|
+
# Initializes the object
|
41
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
42
|
+
def initialize(attributes = {})
|
43
|
+
if (!attributes.is_a?(Hash))
|
44
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `MessenteApi::SyncNumberLookupSuccess` initialize method"
|
45
|
+
end
|
46
|
+
|
47
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
48
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
49
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
50
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `MessenteApi::SyncNumberLookupSuccess`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
51
|
+
end
|
52
|
+
h[k.to_sym] = v
|
53
|
+
}
|
54
|
+
|
55
|
+
if attributes.key?(:'request_id')
|
56
|
+
self.request_id = attributes[:'request_id']
|
57
|
+
end
|
58
|
+
|
59
|
+
if attributes.key?(:'result')
|
60
|
+
if (value = attributes[:'result']).is_a?(Array)
|
61
|
+
self.result = value
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
67
|
+
# @return Array for valid properties with the reasons
|
68
|
+
def list_invalid_properties
|
69
|
+
invalid_properties = Array.new
|
70
|
+
if @request_id.nil?
|
71
|
+
invalid_properties.push('invalid value for "request_id", request_id cannot be nil.')
|
72
|
+
end
|
73
|
+
|
74
|
+
if @result.nil?
|
75
|
+
invalid_properties.push('invalid value for "result", result cannot be nil.')
|
76
|
+
end
|
77
|
+
|
78
|
+
invalid_properties
|
79
|
+
end
|
80
|
+
|
81
|
+
# Check to see if the all the properties in the model are valid
|
82
|
+
# @return true if the model is valid
|
83
|
+
def valid?
|
84
|
+
return false if @request_id.nil?
|
85
|
+
return false if @result.nil?
|
86
|
+
true
|
87
|
+
end
|
88
|
+
|
89
|
+
# Checks equality by comparing each attribute.
|
90
|
+
# @param [Object] Object to be compared
|
91
|
+
def ==(o)
|
92
|
+
return true if self.equal?(o)
|
93
|
+
self.class == o.class &&
|
94
|
+
request_id == o.request_id &&
|
95
|
+
result == o.result
|
96
|
+
end
|
97
|
+
|
98
|
+
# @see the `==` method
|
99
|
+
# @param [Object] Object to be compared
|
100
|
+
def eql?(o)
|
101
|
+
self == o
|
102
|
+
end
|
103
|
+
|
104
|
+
# Calculates hash code according to all attributes.
|
105
|
+
# @return [Integer] Hash code
|
106
|
+
def hash
|
107
|
+
[request_id, result].hash
|
108
|
+
end
|
109
|
+
|
110
|
+
# Builds the object from hash
|
111
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
112
|
+
# @return [Object] Returns the model itself
|
113
|
+
def self.build_from_hash(attributes)
|
114
|
+
new.build_from_hash(attributes)
|
115
|
+
end
|
116
|
+
|
117
|
+
# Builds the object from hash
|
118
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
119
|
+
# @return [Object] Returns the model itself
|
120
|
+
def build_from_hash(attributes)
|
121
|
+
return nil unless attributes.is_a?(Hash)
|
122
|
+
self.class.openapi_types.each_pair do |key, type|
|
123
|
+
if type =~ /\AArray<(.*)>/i
|
124
|
+
# check to ensure the input is an array given that the attribute
|
125
|
+
# is documented as an array but the input is not
|
126
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
127
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
128
|
+
end
|
129
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
130
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
131
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
132
|
+
end
|
133
|
+
|
134
|
+
self
|
135
|
+
end
|
136
|
+
|
137
|
+
# Deserializes the data based on type
|
138
|
+
# @param string type Data type
|
139
|
+
# @param string value Value to be deserialized
|
140
|
+
# @return [Object] Deserialized data
|
141
|
+
def _deserialize(type, value)
|
142
|
+
case type.to_sym
|
143
|
+
when :DateTime
|
144
|
+
DateTime.parse(value)
|
145
|
+
when :Date
|
146
|
+
Date.parse(value)
|
147
|
+
when :String
|
148
|
+
value.to_s
|
149
|
+
when :Integer
|
150
|
+
value.to_i
|
151
|
+
when :Float
|
152
|
+
value.to_f
|
153
|
+
when :Boolean
|
154
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
155
|
+
true
|
156
|
+
else
|
157
|
+
false
|
158
|
+
end
|
159
|
+
when :Object
|
160
|
+
# generic object (usually a Hash), return directly
|
161
|
+
value
|
162
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
163
|
+
inner_type = Regexp.last_match[:inner_type]
|
164
|
+
value.map { |v| _deserialize(inner_type, v) }
|
165
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
166
|
+
k_type = Regexp.last_match[:k_type]
|
167
|
+
v_type = Regexp.last_match[:v_type]
|
168
|
+
{}.tap do |hash|
|
169
|
+
value.each do |k, v|
|
170
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
171
|
+
end
|
172
|
+
end
|
173
|
+
else # model
|
174
|
+
MessenteApi.const_get(type).build_from_hash(value)
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
# Returns the string representation of the object
|
179
|
+
# @return [String] String presentation of the object
|
180
|
+
def to_s
|
181
|
+
to_hash.to_s
|
182
|
+
end
|
183
|
+
|
184
|
+
# to_body is an alias to to_hash (backward compatibility)
|
185
|
+
# @return [Hash] Returns the object in the form of hash
|
186
|
+
def to_body
|
187
|
+
to_hash
|
188
|
+
end
|
189
|
+
|
190
|
+
# Returns the object in the form of hash
|
191
|
+
# @return [Hash] Returns the object in the form of hash
|
192
|
+
def to_hash
|
193
|
+
hash = {}
|
194
|
+
self.class.attribute_map.each_pair do |attr, param|
|
195
|
+
value = self.send(attr)
|
196
|
+
next if value.nil?
|
197
|
+
hash[param] = _to_hash(value)
|
198
|
+
end
|
199
|
+
hash
|
200
|
+
end
|
201
|
+
|
202
|
+
# Outputs non-array value in the form of hash
|
203
|
+
# For object, use to_hash. Otherwise, just return the value
|
204
|
+
# @param [Object] value Any valid value
|
205
|
+
# @return [Hash] Returns the value in the form of hash
|
206
|
+
def _to_hash(value)
|
207
|
+
if value.is_a?(Array)
|
208
|
+
value.compact.map { |v| _to_hash(v) }
|
209
|
+
elsif value.is_a?(Hash)
|
210
|
+
{}.tap do |hash|
|
211
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
212
|
+
end
|
213
|
+
elsif value.respond_to? :to_hash
|
214
|
+
value.to_hash
|
215
|
+
else
|
216
|
+
value
|
217
|
+
end
|
218
|
+
end
|
219
|
+
end
|
220
|
+
end
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
2
|
#Messente API
|
3
3
|
|
4
|
-
#[Messente](https://messente.com) is a global provider of messaging and user verification services.
|
4
|
+
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 1.2.0
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.3
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
2
|
#Messente API
|
3
3
|
|
4
|
-
#[Messente](https://messente.com) is a global provider of messaging and user verification services.
|
4
|
+
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 1.2.0
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.3
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
2
|
#Messente API
|
3
3
|
|
4
|
-
#[Messente](https://messente.com) is a global provider of messaging and user verification services.
|
4
|
+
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 1.2.0
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.3
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
2
|
#Messente API
|
3
3
|
|
4
|
-
#[Messente](https://messente.com) is a global provider of messaging and user verification services.
|
4
|
+
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 1.2.0
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.3
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
2
|
#Messente API
|
3
3
|
|
4
|
-
#[Messente](https://messente.com) is a global provider of messaging and user verification services.
|
4
|
+
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 1.2.0
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.3
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
2
|
#Messente API
|
3
3
|
|
4
|
-
#[Messente](https://messente.com) is a global provider of messaging and user verification services.
|
4
|
+
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 1.2.0
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.3
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
2
|
#Messente API
|
3
3
|
|
4
|
-
#[Messente](https://messente.com) is a global provider of messaging and user verification services.
|
4
|
+
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 1.2.0
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.3
|
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
2
|
#Messente API
|
3
3
|
|
4
|
-
#[Messente](https://messente.com) is a global provider of messaging and user verification services.
|
4
|
+
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 1.2.0
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.3
|
data/lib/messente_api/version.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
2
|
#Messente API
|
3
3
|
|
4
|
-
#[Messente](https://messente.com) is a global provider of messaging and user verification services.
|
4
|
+
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 1.2.0
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.3
|
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.0.3
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module MessenteApi
|
14
|
-
VERSION = '1.
|
14
|
+
VERSION = '1.2.0'
|
15
15
|
end
|
data/messente_api.gemspec
CHANGED
@@ -3,9 +3,9 @@
|
|
3
3
|
=begin
|
4
4
|
#Messente API
|
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
|
-
The version of the OpenAPI document: 1.
|
8
|
+
The version of the OpenAPI document: 1.2.0
|
9
9
|
Contact: messente@messente.com
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
11
|
OpenAPI Generator version: 4.0.3
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
|
|
23
23
|
s.email = ["messente@messente.com"]
|
24
24
|
s.homepage = "https://github.com/messente/messente-api-ruby"
|
25
25
|
s.summary = "Ruby library for Messente API"
|
26
|
-
s.description = "[Messente](https://messente.com) is a global provider of messaging and user verification services.
|
26
|
+
s.description = "[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."
|
27
27
|
s.license = 'Apache-2.0'
|
28
28
|
s.required_ruby_version = ">= 1.9"
|
29
29
|
|
data/spec/api_client_spec.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
2
|
#Messente API
|
3
3
|
|
4
|
-
#[Messente](https://messente.com) is a global provider of messaging and user verification services.
|
4
|
+
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 1.2.0
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.3
|
data/spec/configuration_spec.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
2
|
#Messente API
|
3
3
|
|
4
|
-
#[Messente](https://messente.com) is a global provider of messaging and user verification services.
|
4
|
+
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 1.2.0
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.3
|
data/spec/spec_helper.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
2
|
#Messente API
|
3
3
|
|
4
|
-
#[Messente](https://messente.com) is a global provider of messaging and user verification services.
|
4
|
+
#[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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 1.
|
6
|
+
The version of the OpenAPI document: 1.2.0
|
7
7
|
Contact: messente@messente.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.0.3
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: messente_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Messente
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -191,10 +191,11 @@ dependencies:
|
|
191
191
|
- !ruby/object:Gem::Version
|
192
192
|
version: 0.2.12
|
193
193
|
description: "[Messente](https://messente.com) is a global provider of messaging and
|
194
|
-
user verification services.
|
195
|
-
|
196
|
-
|
197
|
-
|
194
|
+
user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram
|
195
|
+
messages. * Manage contacts and groups. * Fetch detailed info about phone numbers.
|
196
|
+
* Blacklist phone numbers to make sure you're not sending any unwanted messages.
|
197
|
+
\ Messente builds [tools](https://messente.com/documentation) to help organizations
|
198
|
+
connect their services to people anywhere in the world."
|
198
199
|
email:
|
199
200
|
- messente@messente.com
|
200
201
|
executables: []
|
@@ -218,10 +219,16 @@ files:
|
|
218
219
|
- docs/ErrorCodeOmnichannel.md
|
219
220
|
- docs/ErrorCodeOmnichannelMachine.md
|
220
221
|
- docs/ErrorCodePhonebook.md
|
222
|
+
- docs/ErrorCodeStatistics.md
|
223
|
+
- docs/ErrorItemNumberLookup.md
|
224
|
+
- docs/ErrorItemNumberLookupError.md
|
221
225
|
- docs/ErrorItemOmnichannel.md
|
222
226
|
- docs/ErrorItemPhonebook.md
|
227
|
+
- docs/ErrorItemStatistics.md
|
228
|
+
- docs/ErrorNumberLookup.md
|
223
229
|
- docs/ErrorOmnichannel.md
|
224
230
|
- docs/ErrorPhonebook.md
|
231
|
+
- docs/ErrorStatistics.md
|
225
232
|
- docs/ErrorTitleOmnichannel.md
|
226
233
|
- docs/ErrorTitlePhonebook.md
|
227
234
|
- docs/FetchBlacklistSuccess.md
|
@@ -231,12 +238,21 @@ files:
|
|
231
238
|
- docs/GroupResponseFields.md
|
232
239
|
- docs/GroupsApi.md
|
233
240
|
- docs/MessageResult.md
|
241
|
+
- docs/MobileNetwork.md
|
242
|
+
- docs/NumberLookupApi.md
|
234
243
|
- docs/NumberToBlacklist.md
|
244
|
+
- docs/NumbersToInvestigate.md
|
235
245
|
- docs/OmniMessageCreateSuccessResponse.md
|
236
246
|
- docs/Omnimessage.md
|
237
247
|
- docs/OmnimessageApi.md
|
238
248
|
- docs/SMS.md
|
249
|
+
- docs/StatisticsApi.md
|
250
|
+
- docs/StatisticsReport.md
|
251
|
+
- docs/StatisticsReportSettings.md
|
252
|
+
- docs/StatisticsReportSuccess.md
|
239
253
|
- docs/Status.md
|
254
|
+
- docs/SyncNumberLookupResult.md
|
255
|
+
- docs/SyncNumberLookupSuccess.md
|
240
256
|
- docs/Telegram.md
|
241
257
|
- docs/TextStore.md
|
242
258
|
- docs/Viber.md
|
@@ -251,7 +267,9 @@ files:
|
|
251
267
|
- lib/messente_api/api/contacts_api.rb
|
252
268
|
- lib/messente_api/api/delivery_report_api.rb
|
253
269
|
- lib/messente_api/api/groups_api.rb
|
270
|
+
- lib/messente_api/api/number_lookup_api.rb
|
254
271
|
- lib/messente_api/api/omnimessage_api.rb
|
272
|
+
- lib/messente_api/api/statistics_api.rb
|
255
273
|
- lib/messente_api/api_client.rb
|
256
274
|
- lib/messente_api/api_error.rb
|
257
275
|
- lib/messente_api/configuration.rb
|
@@ -265,10 +283,16 @@ files:
|
|
265
283
|
- lib/messente_api/models/error_code_omnichannel.rb
|
266
284
|
- lib/messente_api/models/error_code_omnichannel_machine.rb
|
267
285
|
- lib/messente_api/models/error_code_phonebook.rb
|
286
|
+
- lib/messente_api/models/error_code_statistics.rb
|
287
|
+
- lib/messente_api/models/error_item_number_lookup.rb
|
288
|
+
- lib/messente_api/models/error_item_number_lookup_error.rb
|
268
289
|
- lib/messente_api/models/error_item_omnichannel.rb
|
269
290
|
- lib/messente_api/models/error_item_phonebook.rb
|
291
|
+
- lib/messente_api/models/error_item_statistics.rb
|
292
|
+
- lib/messente_api/models/error_number_lookup.rb
|
270
293
|
- lib/messente_api/models/error_omnichannel.rb
|
271
294
|
- lib/messente_api/models/error_phonebook.rb
|
295
|
+
- lib/messente_api/models/error_statistics.rb
|
272
296
|
- lib/messente_api/models/error_title_omnichannel.rb
|
273
297
|
- lib/messente_api/models/error_title_phonebook.rb
|
274
298
|
- lib/messente_api/models/fetch_blacklist_success.rb
|
@@ -277,11 +301,18 @@ files:
|
|
277
301
|
- lib/messente_api/models/group_name.rb
|
278
302
|
- lib/messente_api/models/group_response_fields.rb
|
279
303
|
- lib/messente_api/models/message_result.rb
|
304
|
+
- lib/messente_api/models/mobile_network.rb
|
280
305
|
- lib/messente_api/models/number_to_blacklist.rb
|
306
|
+
- lib/messente_api/models/numbers_to_investigate.rb
|
281
307
|
- lib/messente_api/models/omni_message_create_success_response.rb
|
282
308
|
- lib/messente_api/models/omnimessage.rb
|
283
309
|
- lib/messente_api/models/sms.rb
|
310
|
+
- lib/messente_api/models/statistics_report.rb
|
311
|
+
- lib/messente_api/models/statistics_report_settings.rb
|
312
|
+
- lib/messente_api/models/statistics_report_success.rb
|
284
313
|
- lib/messente_api/models/status.rb
|
314
|
+
- lib/messente_api/models/sync_number_lookup_result.rb
|
315
|
+
- lib/messente_api/models/sync_number_lookup_success.rb
|
285
316
|
- lib/messente_api/models/telegram.rb
|
286
317
|
- lib/messente_api/models/text_store.rb
|
287
318
|
- lib/messente_api/models/viber.rb
|
@@ -314,7 +345,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
314
345
|
- !ruby/object:Gem::Version
|
315
346
|
version: '0'
|
316
347
|
requirements: []
|
317
|
-
rubygems_version: 3.0.
|
348
|
+
rubygems_version: 3.0.6
|
318
349
|
signing_key:
|
319
350
|
specification_version: 4
|
320
351
|
summary: Ruby library for Messente API
|