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
 
@@ -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
 
@@ -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 = {})
@@ -195,7 +201,11 @@ module MessenteApi
195
201
  hash = {}
196
202
  self.class.attribute_map.each_pair do |attr, param|
197
203
  value = self.send(attr)
198
- next if value.nil?
204
+ if value.nil?
205
+ is_nullable = self.class.openapi_nullable.include?(attr)
206
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
207
+ end
208
+
199
209
  hash[param] = _to_hash(value)
200
210
  end
201
211
  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
 
@@ -47,6 +47,13 @@ module MessenteApi
47
47
  }
48
48
  end
49
49
 
50
+ # List of attributes with nullable: true
51
+ def self.openapi_nullable
52
+ Set.new([
53
+ :'created_on',
54
+ ])
55
+ end
56
+
50
57
  # Initializes the object
51
58
  # @param [Hash] attributes Model attributes in the form of hash
52
59
  def initialize(attributes = {})
@@ -216,7 +223,11 @@ module MessenteApi
216
223
  hash = {}
217
224
  self.class.attribute_map.each_pair do |attr, param|
218
225
  value = self.send(attr)
219
- next if value.nil?
226
+ if value.nil?
227
+ is_nullable = self.class.openapi_nullable.include?(attr)
228
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
229
+ end
230
+
220
231
  hash[param] = _to_hash(value)
221
232
  end
222
233
  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
 
@@ -52,6 +52,12 @@ module MessenteApi
52
52
  }
53
53
  end
54
54
 
55
+ # List of attributes with nullable: true
56
+ def self.openapi_nullable
57
+ Set.new([
58
+ ])
59
+ end
60
+
55
61
  # Initializes the object
56
62
  # @param [Hash] attributes Model attributes in the form of hash
57
63
  def initialize(attributes = {})
@@ -211,7 +217,11 @@ module MessenteApi
211
217
  hash = {}
212
218
  self.class.attribute_map.each_pair do |attr, param|
213
219
  value = self.send(attr)
214
- next if value.nil?
220
+ if value.nil?
221
+ is_nullable = self.class.openapi_nullable.include?(attr)
222
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
223
+ end
224
+
215
225
  hash[param] = _to_hash(value)
216
226
  end
217
227
  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 = {})
@@ -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
@@ -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
 
@@ -42,6 +42,12 @@ module MessenteApi
42
42
  }
43
43
  end
44
44
 
45
+ # List of attributes with nullable: true
46
+ def self.openapi_nullable
47
+ Set.new([
48
+ ])
49
+ end
50
+
45
51
  # Initializes the object
46
52
  # @param [Hash] attributes Model attributes in the form of hash
47
53
  def initialize(attributes = {})
@@ -208,7 +214,11 @@ module MessenteApi
208
214
  hash = {}
209
215
  self.class.attribute_map.each_pair do |attr, param|
210
216
  value = self.send(attr)
211
- next if value.nil?
217
+ if value.nil?
218
+ is_nullable = self.class.openapi_nullable.include?(attr)
219
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
220
+ end
221
+
212
222
  hash[param] = _to_hash(value)
213
223
  end
214
224
  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
 
@@ -51,6 +51,12 @@ module MessenteApi
51
51
  }
52
52
  end
53
53
 
54
+ # List of attributes with nullable: true
55
+ def self.openapi_nullable
56
+ Set.new([
57
+ ])
58
+ end
59
+
54
60
  # Initializes the object
55
61
  # @param [Hash] attributes Model attributes in the form of hash
56
62
  def initialize(attributes = {})
@@ -222,7 +228,11 @@ module MessenteApi
222
228
  hash = {}
223
229
  self.class.attribute_map.each_pair do |attr, param|
224
230
  value = self.send(attr)
225
- next if value.nil?
231
+ if value.nil?
232
+ is_nullable = self.class.openapi_nullable.include?(attr)
233
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
234
+ end
235
+
226
236
  hash[param] = _to_hash(value)
227
237
  end
228
238
  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
 
@@ -79,6 +79,12 @@ module MessenteApi
79
79
  }
80
80
  end
81
81
 
82
+ # List of attributes with nullable: true
83
+ def self.openapi_nullable
84
+ Set.new([
85
+ ])
86
+ end
87
+
82
88
  # Initializes the object
83
89
  # @param [Hash] attributes Model attributes in the form of hash
84
90
  def initialize(attributes = {})
@@ -274,7 +280,11 @@ module MessenteApi
274
280
  hash = {}
275
281
  self.class.attribute_map.each_pair do |attr, param|
276
282
  value = self.send(attr)
277
- next if value.nil?
283
+ if value.nil?
284
+ is_nullable = self.class.openapi_nullable.include?(attr)
285
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
286
+ end
287
+
278
288
  hash[param] = _to_hash(value)
279
289
  end
280
290
  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
 
@@ -42,6 +42,12 @@ module MessenteApi
42
42
  }
43
43
  end
44
44
 
45
+ # List of attributes with nullable: true
46
+ def self.openapi_nullable
47
+ Set.new([
48
+ ])
49
+ end
50
+
45
51
  # Initializes the object
46
52
  # @param [Hash] attributes Model attributes in the form of hash
47
53
  def initialize(attributes = {})
@@ -206,7 +212,11 @@ module MessenteApi
206
212
  hash = {}
207
213
  self.class.attribute_map.each_pair do |attr, param|
208
214
  value = self.send(attr)
209
- next if value.nil?
215
+ if value.nil?
216
+ is_nullable = self.class.openapi_nullable.include?(attr)
217
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
218
+ end
219
+
210
220
  hash[param] = _to_hash(value)
211
221
  end
212
222
  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
 
@@ -42,6 +42,12 @@ module MessenteApi
42
42
  }
43
43
  end
44
44
 
45
+ # List of attributes with nullable: true
46
+ def self.openapi_nullable
47
+ Set.new([
48
+ ])
49
+ end
50
+
45
51
  # Initializes the object
46
52
  # @param [Hash] attributes Model attributes in the form of hash
47
53
  def initialize(attributes = {})
@@ -203,7 +209,11 @@ module MessenteApi
203
209
  hash = {}
204
210
  self.class.attribute_map.each_pair do |attr, param|
205
211
  value = self.send(attr)
206
- next if value.nil?
212
+ if value.nil?
213
+ is_nullable = self.class.openapi_nullable.include?(attr)
214
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
215
+ end
216
+
207
217
  hash[param] = _to_hash(value)
208
218
  end
209
219
  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