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
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Messente API
3
3
 
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.
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.0.2
6
+ The version of the OpenAPI document: 1.3.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Messente API
3
3
 
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.
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.0.2
6
+ The version of the OpenAPI document: 1.3.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -84,6 +84,12 @@ module MessenteApi
84
84
  }
85
85
  end
86
86
 
87
+ # List of attributes with nullable: true
88
+ def self.openapi_nullable
89
+ Set.new([
90
+ ])
91
+ end
92
+
87
93
  # Initializes the object
88
94
  # @param [Hash] attributes Model attributes in the form of hash
89
95
  def initialize(attributes = {})
@@ -267,7 +273,11 @@ module MessenteApi
267
273
  hash = {}
268
274
  self.class.attribute_map.each_pair do |attr, param|
269
275
  value = self.send(attr)
270
- next if value.nil?
276
+ if value.nil?
277
+ is_nullable = self.class.openapi_nullable.include?(attr)
278
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
279
+ end
280
+
271
281
  hash[param] = _to_hash(value)
272
282
  end
273
283
  hash
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Messente API
3
3
 
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.
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.0.2
6
+ The version of the OpenAPI document: 1.3.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -80,6 +80,12 @@ module MessenteApi
80
80
  }
81
81
  end
82
82
 
83
+ # List of attributes with nullable: true
84
+ def self.openapi_nullable
85
+ Set.new([
86
+ ])
87
+ end
88
+
83
89
  # Initializes the object
84
90
  # @param [Hash] attributes Model attributes in the form of hash
85
91
  def initialize(attributes = {})
@@ -263,7 +269,11 @@ module MessenteApi
263
269
  hash = {}
264
270
  self.class.attribute_map.each_pair do |attr, param|
265
271
  value = self.send(attr)
266
- next if value.nil?
272
+ if value.nil?
273
+ is_nullable = self.class.openapi_nullable.include?(attr)
274
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
275
+ end
276
+
267
277
  hash[param] = _to_hash(value)
268
278
  end
269
279
  hash
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Messente API
3
3
 
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.
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.0.2
6
+ The version of the OpenAPI document: 1.3.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -32,6 +32,12 @@ module MessenteApi
32
32
  }
33
33
  end
34
34
 
35
+ # List of attributes with nullable: true
36
+ def self.openapi_nullable
37
+ Set.new([
38
+ ])
39
+ end
40
+
35
41
  # Initializes the object
36
42
  # @param [Hash] attributes Model attributes in the form of hash
37
43
  def initialize(attributes = {})
@@ -176,7 +182,11 @@ module MessenteApi
176
182
  hash = {}
177
183
  self.class.attribute_map.each_pair do |attr, param|
178
184
  value = self.send(attr)
179
- next if value.nil?
185
+ if value.nil?
186
+ is_nullable = self.class.openapi_nullable.include?(attr)
187
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
188
+ end
189
+
180
190
  hash[param] = _to_hash(value)
181
191
  end
182
192
  hash
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Messente API
3
3
 
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.
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.0.2
6
+ The version of the OpenAPI document: 1.3.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -37,6 +37,12 @@ module MessenteApi
37
37
  }
38
38
  end
39
39
 
40
+ # List of attributes with nullable: true
41
+ def self.openapi_nullable
42
+ Set.new([
43
+ ])
44
+ end
45
+
40
46
  # Initializes the object
41
47
  # @param [Hash] attributes Model attributes in the form of hash
42
48
  def initialize(attributes = {})
@@ -186,7 +192,11 @@ module MessenteApi
186
192
  hash = {}
187
193
  self.class.attribute_map.each_pair do |attr, param|
188
194
  value = self.send(attr)
189
- next if value.nil?
195
+ if value.nil?
196
+ is_nullable = self.class.openapi_nullable.include?(attr)
197
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
198
+ end
199
+
190
200
  hash[param] = _to_hash(value)
191
201
  end
192
202
  hash
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Messente API
3
3
 
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.
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.0.2
6
+ The version of the OpenAPI document: 1.3.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -37,6 +37,12 @@ module MessenteApi
37
37
  }
38
38
  end
39
39
 
40
+ # List of attributes with nullable: true
41
+ def self.openapi_nullable
42
+ Set.new([
43
+ ])
44
+ end
45
+
40
46
  # Initializes the object
41
47
  # @param [Hash] attributes Model attributes in the form of hash
42
48
  def initialize(attributes = {})
@@ -186,7 +192,11 @@ module MessenteApi
186
192
  hash = {}
187
193
  self.class.attribute_map.each_pair do |attr, param|
188
194
  value = self.send(attr)
189
- next if value.nil?
195
+ if value.nil?
196
+ is_nullable = self.class.openapi_nullable.include?(attr)
197
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
198
+ end
199
+
190
200
  hash[param] = _to_hash(value)
191
201
  end
192
202
  hash
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Messente API
3
3
 
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.
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.0.2
6
+ The version of the OpenAPI document: 1.3.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -37,6 +37,12 @@ module MessenteApi
37
37
  }
38
38
  end
39
39
 
40
+ # List of attributes with nullable: true
41
+ def self.openapi_nullable
42
+ Set.new([
43
+ ])
44
+ end
45
+
40
46
  # Initializes the object
41
47
  # @param [Hash] attributes Model attributes in the form of hash
42
48
  def initialize(attributes = {})
@@ -188,7 +194,11 @@ module MessenteApi
188
194
  hash = {}
189
195
  self.class.attribute_map.each_pair do |attr, param|
190
196
  value = self.send(attr)
191
- next if value.nil?
197
+ if value.nil?
198
+ is_nullable = self.class.openapi_nullable.include?(attr)
199
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
200
+ end
201
+
192
202
  hash[param] = _to_hash(value)
193
203
  end
194
204
  hash
@@ -1,15 +1,15 @@
1
1
  =begin
2
2
  #Messente API
3
3
 
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.
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.0.2
6
+ The version of the OpenAPI document: 1.3.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
13
13
  module MessenteApi
14
- VERSION = '1.0.3'
14
+ VERSION = '1.3.0'
15
15
  end
@@ -3,12 +3,12 @@
3
3
  =begin
4
4
  #Messente API
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
- The version of the OpenAPI document: 1.0.2
8
+ The version of the OpenAPI document: 1.3.0
9
9
  Contact: messente@messente.com
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 4.0.3
11
+ OpenAPI Generator version: 4.3.1
12
12
 
13
13
  =end
14
14
 
@@ -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. 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."
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
 
@@ -31,12 +31,6 @@ Gem::Specification.new do |s|
31
31
  s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
32
 
33
33
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
34
- s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
35
- s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
36
- s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
37
- s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
38
- s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
39
- s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
40
34
 
41
35
  s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
42
36
  s.test_files = `find spec/*`.split("\n")
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Messente API
3
3
 
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.
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.0.2
6
+ The version of the OpenAPI document: 1.3.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -156,7 +156,7 @@ describe MessenteApi::ApiClient do
156
156
  end
157
157
 
158
158
  it 'fails for invalid collection format' do
159
- expect(proc { api_client.build_collection_param(param, :INVALID) }).to raise_error(RuntimeError, 'unknown collection format: :INVALID')
159
+ expect { api_client.build_collection_param(param, :INVALID) }.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
160
160
  end
161
161
  end
162
162
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Messente API
3
3
 
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.
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.0.2
6
+ The version of the OpenAPI document: 1.3.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
2
  #Messente API
3
3
 
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.
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.0.2
6
+ The version of the OpenAPI document: 1.3.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.1
10
10
 
11
11
  =end
12
12
 
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.0.3
4
+ version: 1.3.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-07-24 00:00:00.000000000 Z
11
+ date: 2020-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -34,167 +34,48 @@ dependencies:
34
34
  name: json
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: 2.1.0
40
37
  - - "~>"
41
38
  - !ruby/object:Gem::Version
42
39
  version: '2.1'
43
- type: :runtime
44
- prerelease: false
45
- version_requirements: !ruby/object:Gem::Requirement
46
- requirements:
47
40
  - - ">="
48
41
  - !ruby/object:Gem::Version
49
42
  version: 2.1.0
50
- - - "~>"
51
- - !ruby/object:Gem::Version
52
- version: '2.1'
53
- - !ruby/object:Gem::Dependency
54
- name: rspec
55
- requirement: !ruby/object:Gem::Requirement
56
- requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- version: 3.6.0
60
- - - "~>"
61
- - !ruby/object:Gem::Version
62
- version: '3.6'
63
- type: :development
64
- prerelease: false
65
- version_requirements: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- version: 3.6.0
70
- - - "~>"
71
- - !ruby/object:Gem::Version
72
- version: '3.6'
73
- - !ruby/object:Gem::Dependency
74
- name: vcr
75
- requirement: !ruby/object:Gem::Requirement
76
- requirements:
77
- - - "~>"
78
- - !ruby/object:Gem::Version
79
- version: '3.0'
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: 3.0.1
83
- type: :development
84
- prerelease: false
85
- version_requirements: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '3.0'
90
- - - ">="
91
- - !ruby/object:Gem::Version
92
- version: 3.0.1
93
- - !ruby/object:Gem::Dependency
94
- name: webmock
95
- requirement: !ruby/object:Gem::Requirement
96
- requirements:
97
- - - "~>"
98
- - !ruby/object:Gem::Version
99
- version: '1.24'
100
- - - ">="
101
- - !ruby/object:Gem::Version
102
- version: 1.24.3
103
- type: :development
104
- prerelease: false
105
- version_requirements: !ruby/object:Gem::Requirement
106
- requirements:
107
- - - "~>"
108
- - !ruby/object:Gem::Version
109
- version: '1.24'
110
- - - ">="
111
- - !ruby/object:Gem::Version
112
- version: 1.24.3
113
- - !ruby/object:Gem::Dependency
114
- name: autotest
115
- requirement: !ruby/object:Gem::Requirement
116
- requirements:
117
- - - "~>"
118
- - !ruby/object:Gem::Version
119
- version: '4.4'
120
- - - ">="
121
- - !ruby/object:Gem::Version
122
- version: 4.4.6
123
- type: :development
124
- prerelease: false
125
- version_requirements: !ruby/object:Gem::Requirement
126
- requirements:
127
- - - "~>"
128
- - !ruby/object:Gem::Version
129
- version: '4.4'
130
- - - ">="
131
- - !ruby/object:Gem::Version
132
- version: 4.4.6
133
- - !ruby/object:Gem::Dependency
134
- name: autotest-rails-pure
135
- requirement: !ruby/object:Gem::Requirement
136
- requirements:
137
- - - "~>"
138
- - !ruby/object:Gem::Version
139
- version: '4.1'
140
- - - ">="
141
- - !ruby/object:Gem::Version
142
- version: 4.1.2
143
- type: :development
144
- prerelease: false
145
- version_requirements: !ruby/object:Gem::Requirement
146
- requirements:
147
- - - "~>"
148
- - !ruby/object:Gem::Version
149
- version: '4.1'
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- version: 4.1.2
153
- - !ruby/object:Gem::Dependency
154
- name: autotest-growl
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: '0.2'
160
- - - ">="
161
- - !ruby/object:Gem::Version
162
- version: 0.2.16
163
- type: :development
43
+ type: :runtime
164
44
  prerelease: false
165
45
  version_requirements: !ruby/object:Gem::Requirement
166
46
  requirements:
167
47
  - - "~>"
168
48
  - !ruby/object:Gem::Version
169
- version: '0.2'
49
+ version: '2.1'
170
50
  - - ">="
171
51
  - !ruby/object:Gem::Version
172
- version: 0.2.16
52
+ version: 2.1.0
173
53
  - !ruby/object:Gem::Dependency
174
- name: autotest-fsevent
54
+ name: rspec
175
55
  requirement: !ruby/object:Gem::Requirement
176
56
  requirements:
177
57
  - - "~>"
178
58
  - !ruby/object:Gem::Version
179
- version: '0.2'
59
+ version: '3.6'
180
60
  - - ">="
181
61
  - !ruby/object:Gem::Version
182
- version: 0.2.12
62
+ version: 3.6.0
183
63
  type: :development
184
64
  prerelease: false
185
65
  version_requirements: !ruby/object:Gem::Requirement
186
66
  requirements:
187
67
  - - "~>"
188
68
  - !ruby/object:Gem::Version
189
- version: '0.2'
69
+ version: '3.6'
190
70
  - - ">="
191
71
  - !ruby/object:Gem::Version
192
- version: 0.2.12
72
+ version: 3.6.0
193
73
  description: "[Messente](https://messente.com) is a global provider of messaging and
194
- user verification services. Use Messente API library to send and receive SMS, Viber
195
- and WhatsApp messages, blacklist phone numbers to make sure you're not sending any
196
- unwanted messages, manage contacts and groups. Messente builds [tools](https://messente.com/documentation)
197
- to help organizations connect their services to people anywhere in the world."
74
+ user verification services. * Send and receive SMS, Viber, WhatsApp and Telegram
75
+ messages. * Manage contacts and groups. * Fetch detailed info about phone numbers.
76
+ * Blacklist phone numbers to make sure you're not sending any unwanted messages.
77
+ \ Messente builds [tools](https://messente.com/documentation) to help organizations
78
+ connect their services to people anywhere in the world."
198
79
  email:
199
80
  - messente@messente.com
200
81
  executables: []
@@ -202,7 +83,6 @@ extensions: []
202
83
  extra_rdoc_files: []
203
84
  files:
204
85
  - Gemfile
205
- - Gemfile.lock
206
86
  - README.md
207
87
  - Rakefile
208
88
  - docs/BlacklistApi.md
@@ -218,10 +98,16 @@ files:
218
98
  - docs/ErrorCodeOmnichannel.md
219
99
  - docs/ErrorCodeOmnichannelMachine.md
220
100
  - docs/ErrorCodePhonebook.md
101
+ - docs/ErrorCodeStatistics.md
102
+ - docs/ErrorItemNumberLookup.md
103
+ - docs/ErrorItemNumberLookupError.md
221
104
  - docs/ErrorItemOmnichannel.md
222
105
  - docs/ErrorItemPhonebook.md
106
+ - docs/ErrorItemStatistics.md
107
+ - docs/ErrorNumberLookup.md
223
108
  - docs/ErrorOmnichannel.md
224
109
  - docs/ErrorPhonebook.md
110
+ - docs/ErrorStatistics.md
225
111
  - docs/ErrorTitleOmnichannel.md
226
112
  - docs/ErrorTitlePhonebook.md
227
113
  - docs/FetchBlacklistSuccess.md
@@ -231,12 +117,22 @@ files:
231
117
  - docs/GroupResponseFields.md
232
118
  - docs/GroupsApi.md
233
119
  - docs/MessageResult.md
120
+ - docs/MobileNetwork.md
121
+ - docs/NumberLookupApi.md
234
122
  - docs/NumberToBlacklist.md
123
+ - docs/NumbersToInvestigate.md
235
124
  - docs/OmniMessageCreateSuccessResponse.md
236
125
  - docs/Omnimessage.md
237
126
  - docs/OmnimessageApi.md
238
127
  - docs/SMS.md
128
+ - docs/StatisticsApi.md
129
+ - docs/StatisticsReport.md
130
+ - docs/StatisticsReportSettings.md
131
+ - docs/StatisticsReportSuccess.md
239
132
  - docs/Status.md
133
+ - docs/SyncNumberLookupResult.md
134
+ - docs/SyncNumberLookupSuccess.md
135
+ - docs/Telegram.md
240
136
  - docs/TextStore.md
241
137
  - docs/Viber.md
242
138
  - docs/WhatsApp.md
@@ -250,7 +146,9 @@ files:
250
146
  - lib/messente_api/api/contacts_api.rb
251
147
  - lib/messente_api/api/delivery_report_api.rb
252
148
  - lib/messente_api/api/groups_api.rb
149
+ - lib/messente_api/api/number_lookup_api.rb
253
150
  - lib/messente_api/api/omnimessage_api.rb
151
+ - lib/messente_api/api/statistics_api.rb
254
152
  - lib/messente_api/api_client.rb
255
153
  - lib/messente_api/api_error.rb
256
154
  - lib/messente_api/configuration.rb
@@ -264,10 +162,16 @@ files:
264
162
  - lib/messente_api/models/error_code_omnichannel.rb
265
163
  - lib/messente_api/models/error_code_omnichannel_machine.rb
266
164
  - lib/messente_api/models/error_code_phonebook.rb
165
+ - lib/messente_api/models/error_code_statistics.rb
166
+ - lib/messente_api/models/error_item_number_lookup.rb
167
+ - lib/messente_api/models/error_item_number_lookup_error.rb
267
168
  - lib/messente_api/models/error_item_omnichannel.rb
268
169
  - lib/messente_api/models/error_item_phonebook.rb
170
+ - lib/messente_api/models/error_item_statistics.rb
171
+ - lib/messente_api/models/error_number_lookup.rb
269
172
  - lib/messente_api/models/error_omnichannel.rb
270
173
  - lib/messente_api/models/error_phonebook.rb
174
+ - lib/messente_api/models/error_statistics.rb
271
175
  - lib/messente_api/models/error_title_omnichannel.rb
272
176
  - lib/messente_api/models/error_title_phonebook.rb
273
177
  - lib/messente_api/models/fetch_blacklist_success.rb
@@ -276,11 +180,19 @@ files:
276
180
  - lib/messente_api/models/group_name.rb
277
181
  - lib/messente_api/models/group_response_fields.rb
278
182
  - lib/messente_api/models/message_result.rb
183
+ - lib/messente_api/models/mobile_network.rb
279
184
  - lib/messente_api/models/number_to_blacklist.rb
185
+ - lib/messente_api/models/numbers_to_investigate.rb
280
186
  - lib/messente_api/models/omni_message_create_success_response.rb
281
187
  - lib/messente_api/models/omnimessage.rb
282
188
  - lib/messente_api/models/sms.rb
189
+ - lib/messente_api/models/statistics_report.rb
190
+ - lib/messente_api/models/statistics_report_settings.rb
191
+ - lib/messente_api/models/statistics_report_success.rb
283
192
  - lib/messente_api/models/status.rb
193
+ - lib/messente_api/models/sync_number_lookup_result.rb
194
+ - lib/messente_api/models/sync_number_lookup_success.rb
195
+ - lib/messente_api/models/telegram.rb
284
196
  - lib/messente_api/models/text_store.rb
285
197
  - lib/messente_api/models/viber.rb
286
198
  - lib/messente_api/models/whats_app.rb
@@ -312,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
312
224
  - !ruby/object:Gem::Version
313
225
  version: '0'
314
226
  requirements: []
315
- rubygems_version: 3.0.3
227
+ rubygems_version: 3.1.2
316
228
  signing_key:
317
229
  specification_version: 4
318
230
  summary: Ruby library for Messente API