messente_api 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +1 -1
  4. data/git_push.sh +10 -7
  5. data/lib/messente_api.rb +1 -1
  6. data/lib/messente_api/api/blacklist_api.rb +1 -1
  7. data/lib/messente_api/api/contacts_api.rb +1 -1
  8. data/lib/messente_api/api/delivery_report_api.rb +1 -1
  9. data/lib/messente_api/api/groups_api.rb +1 -1
  10. data/lib/messente_api/api/number_lookup_api.rb +1 -1
  11. data/lib/messente_api/api/omnimessage_api.rb +1 -1
  12. data/lib/messente_api/api/statistics_api.rb +1 -1
  13. data/lib/messente_api/api_client.rb +29 -29
  14. data/lib/messente_api/api_error.rb +1 -1
  15. data/lib/messente_api/configuration.rb +2 -2
  16. data/lib/messente_api/models/channel.rb +1 -1
  17. data/lib/messente_api/models/contact_envelope.rb +12 -2
  18. data/lib/messente_api/models/contact_fields.rb +21 -2
  19. data/lib/messente_api/models/contact_list_envelope.rb +12 -2
  20. data/lib/messente_api/models/contact_update_fields.rb +21 -2
  21. data/lib/messente_api/models/delivery_report_response.rb +12 -2
  22. data/lib/messente_api/models/delivery_result.rb +12 -2
  23. data/lib/messente_api/models/error_code_omnichannel.rb +1 -1
  24. data/lib/messente_api/models/error_code_omnichannel_machine.rb +1 -1
  25. data/lib/messente_api/models/error_code_phonebook.rb +1 -1
  26. data/lib/messente_api/models/error_code_statistics.rb +1 -1
  27. data/lib/messente_api/models/error_item_number_lookup.rb +12 -2
  28. data/lib/messente_api/models/error_item_number_lookup_error.rb +12 -2
  29. data/lib/messente_api/models/error_item_omnichannel.rb +12 -2
  30. data/lib/messente_api/models/error_item_phonebook.rb +12 -2
  31. data/lib/messente_api/models/error_item_statistics.rb +12 -2
  32. data/lib/messente_api/models/error_number_lookup.rb +12 -2
  33. data/lib/messente_api/models/error_omnichannel.rb +12 -2
  34. data/lib/messente_api/models/error_phonebook.rb +12 -2
  35. data/lib/messente_api/models/error_statistics.rb +12 -2
  36. data/lib/messente_api/models/error_title_omnichannel.rb +1 -1
  37. data/lib/messente_api/models/error_title_phonebook.rb +1 -1
  38. data/lib/messente_api/models/fetch_blacklist_success.rb +12 -2
  39. data/lib/messente_api/models/group_envelope.rb +12 -2
  40. data/lib/messente_api/models/group_list_envelope.rb +12 -2
  41. data/lib/messente_api/models/group_name.rb +12 -2
  42. data/lib/messente_api/models/group_response_fields.rb +13 -2
  43. data/lib/messente_api/models/message_result.rb +12 -2
  44. data/lib/messente_api/models/mobile_network.rb +12 -2
  45. data/lib/messente_api/models/number_to_blacklist.rb +12 -2
  46. data/lib/messente_api/models/numbers_to_investigate.rb +12 -2
  47. data/lib/messente_api/models/omni_message_create_success_response.rb +12 -2
  48. data/lib/messente_api/models/omnimessage.rb +12 -2
  49. data/lib/messente_api/models/sms.rb +12 -2
  50. data/lib/messente_api/models/statistics_report.rb +12 -2
  51. data/lib/messente_api/models/statistics_report_settings.rb +12 -2
  52. data/lib/messente_api/models/statistics_report_success.rb +12 -2
  53. data/lib/messente_api/models/status.rb +1 -1
  54. data/lib/messente_api/models/sync_number_lookup_result.rb +18 -2
  55. data/lib/messente_api/models/sync_number_lookup_success.rb +12 -2
  56. data/lib/messente_api/models/telegram.rb +12 -2
  57. data/lib/messente_api/models/text_store.rb +1 -1
  58. data/lib/messente_api/models/viber.rb +12 -2
  59. data/lib/messente_api/models/whats_app.rb +12 -2
  60. data/lib/messente_api/models/whats_app_audio.rb +12 -2
  61. data/lib/messente_api/models/whats_app_document.rb +12 -2
  62. data/lib/messente_api/models/whats_app_image.rb +12 -2
  63. data/lib/messente_api/models/whats_app_text.rb +12 -2
  64. data/lib/messente_api/version.rb +2 -2
  65. data/messente_api.gemspec +1 -7
  66. data/spec/api_client_spec.rb +2 -2
  67. data/spec/configuration_spec.rb +1 -1
  68. data/spec/spec_helper.rb +1 -1
  69. metadata +11 -132
  70. data/Gemfile.lock +0 -79
@@ -6,7 +6,7 @@
6
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
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.0
10
10
 
11
11
  =end
12
12
 
@@ -54,6 +54,12 @@ module MessenteApi
54
54
  }
55
55
  end
56
56
 
57
+ # List of attributes with nullable: true
58
+ def self.openapi_nullable
59
+ Set.new([
60
+ ])
61
+ end
62
+
57
63
  # Initializes the object
58
64
  # @param [Hash] attributes Model attributes in the form of hash
59
65
  def initialize(attributes = {})
@@ -218,7 +224,11 @@ module MessenteApi
218
224
  hash = {}
219
225
  self.class.attribute_map.each_pair do |attr, param|
220
226
  value = self.send(attr)
221
- next if value.nil?
227
+ if value.nil?
228
+ is_nullable = self.class.openapi_nullable.include?(attr)
229
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
230
+ end
231
+
222
232
  hash[param] = _to_hash(value)
223
233
  end
224
234
  hash
@@ -6,7 +6,7 @@
6
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
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
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
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
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
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
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
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
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
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.0
10
10
 
11
11
  =end
12
12
 
@@ -31,6 +31,12 @@ module MessenteApi
31
31
  }
32
32
  end
33
33
 
34
+ # List of attributes with nullable: true
35
+ def self.openapi_nullable
36
+ Set.new([
37
+ ])
38
+ end
39
+
34
40
  # Initializes the object
35
41
  # @param [Hash] attributes Model attributes in the form of hash
36
42
  def initialize(attributes = {})
@@ -175,7 +181,11 @@ module MessenteApi
175
181
  hash = {}
176
182
  self.class.attribute_map.each_pair do |attr, param|
177
183
  value = self.send(attr)
178
- next if value.nil?
184
+ if value.nil?
185
+ is_nullable = self.class.openapi_nullable.include?(attr)
186
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
187
+ end
188
+
179
189
  hash[param] = _to_hash(value)
180
190
  end
181
191
  hash
@@ -6,7 +6,7 @@
6
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
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.0
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 = {})
@@ -219,7 +225,11 @@ module MessenteApi
219
225
  hash = {}
220
226
  self.class.attribute_map.each_pair do |attr, param|
221
227
  value = self.send(attr)
222
- next if value.nil?
228
+ if value.nil?
229
+ is_nullable = self.class.openapi_nullable.include?(attr)
230
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
231
+ end
232
+
223
233
  hash[param] = _to_hash(value)
224
234
  end
225
235
  hash
@@ -6,7 +6,7 @@
6
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
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.0
10
10
 
11
11
  =end
12
12
 
@@ -45,6 +45,12 @@ module MessenteApi
45
45
  }
46
46
  end
47
47
 
48
+ # List of attributes with nullable: true
49
+ def self.openapi_nullable
50
+ Set.new([
51
+ ])
52
+ end
53
+
48
54
  # Initializes the object
49
55
  # @param [Hash] attributes Model attributes in the form of hash
50
56
  def initialize(attributes = {})
@@ -219,7 +225,11 @@ module MessenteApi
219
225
  hash = {}
220
226
  self.class.attribute_map.each_pair do |attr, param|
221
227
  value = self.send(attr)
222
- next if value.nil?
228
+ if value.nil?
229
+ is_nullable = self.class.openapi_nullable.include?(attr)
230
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
231
+ end
232
+
223
233
  hash[param] = _to_hash(value)
224
234
  end
225
235
  hash
@@ -6,7 +6,7 @@
6
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
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.0
10
10
 
11
11
  =end
12
12
 
@@ -40,6 +40,12 @@ module MessenteApi
40
40
  }
41
41
  end
42
42
 
43
+ # List of attributes with nullable: true
44
+ def self.openapi_nullable
45
+ Set.new([
46
+ ])
47
+ end
48
+
43
49
  # Initializes the object
44
50
  # @param [Hash] attributes Model attributes in the form of hash
45
51
  def initialize(attributes = {})
@@ -204,7 +210,11 @@ module MessenteApi
204
210
  hash = {}
205
211
  self.class.attribute_map.each_pair do |attr, param|
206
212
  value = self.send(attr)
207
- next if value.nil?
213
+ if value.nil?
214
+ is_nullable = self.class.openapi_nullable.include?(attr)
215
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
216
+ end
217
+
208
218
  hash[param] = _to_hash(value)
209
219
  end
210
220
  hash
@@ -6,7 +6,7 @@
6
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
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.0
10
10
 
11
11
  =end
12
12
 
@@ -41,6 +41,12 @@ module MessenteApi
41
41
  }
42
42
  end
43
43
 
44
+ # List of attributes with nullable: true
45
+ def self.openapi_nullable
46
+ Set.new([
47
+ ])
48
+ end
49
+
44
50
  # Initializes the object
45
51
  # @param [Hash] attributes Model attributes in the form of hash
46
52
  def initialize(attributes = {})
@@ -205,7 +211,11 @@ module MessenteApi
205
211
  hash = {}
206
212
  self.class.attribute_map.each_pair do |attr, param|
207
213
  value = self.send(attr)
208
- next if value.nil?
214
+ if value.nil?
215
+ is_nullable = self.class.openapi_nullable.include?(attr)
216
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
217
+ end
218
+
209
219
  hash[param] = _to_hash(value)
210
220
  end
211
221
  hash
@@ -6,7 +6,7 @@
6
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
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.0
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 = {})
@@ -178,7 +184,11 @@ module MessenteApi
178
184
  hash = {}
179
185
  self.class.attribute_map.each_pair do |attr, param|
180
186
  value = self.send(attr)
181
- next if value.nil?
187
+ if value.nil?
188
+ is_nullable = self.class.openapi_nullable.include?(attr)
189
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
190
+ end
191
+
182
192
  hash[param] = _to_hash(value)
183
193
  end
184
194
  hash
@@ -6,7 +6,7 @@
6
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
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.0
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 = {})
@@ -178,7 +184,11 @@ module MessenteApi
178
184
  hash = {}
179
185
  self.class.attribute_map.each_pair do |attr, param|
180
186
  value = self.send(attr)
181
- next if value.nil?
187
+ if value.nil?
188
+ is_nullable = self.class.openapi_nullable.include?(attr)
189
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
190
+ end
191
+
182
192
  hash[param] = _to_hash(value)
183
193
  end
184
194
  hash
@@ -6,7 +6,7 @@
6
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
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.0
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 = {})
@@ -178,7 +184,11 @@ module MessenteApi
178
184
  hash = {}
179
185
  self.class.attribute_map.each_pair do |attr, param|
180
186
  value = self.send(attr)
181
- next if value.nil?
187
+ if value.nil?
188
+ is_nullable = self.class.openapi_nullable.include?(attr)
189
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
190
+ end
191
+
182
192
  hash[param] = _to_hash(value)
183
193
  end
184
194
  hash
@@ -6,7 +6,7 @@
6
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
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.0
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 = {})
@@ -178,7 +184,11 @@ module MessenteApi
178
184
  hash = {}
179
185
  self.class.attribute_map.each_pair do |attr, param|
180
186
  value = self.send(attr)
181
- next if value.nil?
187
+ if value.nil?
188
+ is_nullable = self.class.openapi_nullable.include?(attr)
189
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
190
+ end
191
+
182
192
  hash[param] = _to_hash(value)
183
193
  end
184
194
  hash
@@ -6,7 +6,7 @@
6
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
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
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
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.0
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
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
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.0
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 = {})
@@ -173,7 +179,11 @@ module MessenteApi
173
179
  hash = {}
174
180
  self.class.attribute_map.each_pair do |attr, param|
175
181
  value = self.send(attr)
176
- next if value.nil?
182
+ if value.nil?
183
+ is_nullable = self.class.openapi_nullable.include?(attr)
184
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
185
+ end
186
+
177
187
  hash[param] = _to_hash(value)
178
188
  end
179
189
  hash
@@ -6,7 +6,7 @@
6
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
- OpenAPI Generator version: 4.0.3
9
+ OpenAPI Generator version: 4.3.0
10
10
 
11
11
  =end
12
12
 
@@ -31,6 +31,12 @@ module MessenteApi
31
31
  }
32
32
  end
33
33
 
34
+ # List of attributes with nullable: true
35
+ def self.openapi_nullable
36
+ Set.new([
37
+ ])
38
+ end
39
+
34
40
  # Initializes the object
35
41
  # @param [Hash] attributes Model attributes in the form of hash
36
42
  def initialize(attributes = {})
@@ -170,7 +176,11 @@ module MessenteApi
170
176
  hash = {}
171
177
  self.class.attribute_map.each_pair do |attr, param|
172
178
  value = self.send(attr)
173
- next if value.nil?
179
+ if value.nil?
180
+ is_nullable = self.class.openapi_nullable.include?(attr)
181
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
182
+ end
183
+
174
184
  hash[param] = _to_hash(value)
175
185
  end
176
186
  hash