messente_api 1.4.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +33 -30
  3. data/docs/BlacklistApi.md +105 -37
  4. data/docs/BulkMessagingApi.md +76 -0
  5. data/docs/BulkOmniMessageCreateSuccessResponse.md +18 -0
  6. data/docs/BulkOmniMessageCreateSuccessResponseMessagesInner.md +49 -0
  7. data/docs/BulkOmnimessage.md +18 -0
  8. data/docs/Channel.md +4 -5
  9. data/docs/ContactEnvelope.md +8 -7
  10. data/docs/ContactFields.md +26 -25
  11. data/docs/ContactListEnvelope.md +8 -7
  12. data/docs/ContactResponseFields.md +28 -27
  13. data/docs/ContactUpdateFields.md +24 -23
  14. data/docs/ContactsApi.md +221 -86
  15. data/docs/DeliveryReportApi.md +29 -13
  16. data/docs/DeliveryReportResponse.md +12 -11
  17. data/docs/DeliveryResult.md +22 -17
  18. data/docs/ErrorCodeOmnichannel.md +4 -5
  19. data/docs/ErrorCodeOmnichannelMachine.md +4 -5
  20. data/docs/ErrorCodePhonebook.md +4 -5
  21. data/docs/ErrorCodeStatistics.md +4 -5
  22. data/docs/ErrorItemNumberLookup.md +8 -7
  23. data/docs/ErrorItemNumberLookupError.md +10 -9
  24. data/docs/ErrorItemOmnichannel.md +14 -13
  25. data/docs/ErrorItemPhonebook.md +12 -11
  26. data/docs/ErrorItemStatistics.md +12 -11
  27. data/docs/ErrorNumberLookup.md +8 -7
  28. data/docs/ErrorOmnichannel.md +8 -7
  29. data/docs/ErrorPhonebook.md +8 -7
  30. data/docs/ErrorStatistics.md +8 -7
  31. data/docs/ErrorTitleOmnichannel.md +4 -5
  32. data/docs/ErrorTitlePhonebook.md +4 -5
  33. data/docs/FetchBlacklistSuccess.md +8 -7
  34. data/docs/GroupEnvelope.md +8 -7
  35. data/docs/GroupListEnvelope.md +8 -7
  36. data/docs/GroupName.md +8 -7
  37. data/docs/GroupResponseFields.md +14 -13
  38. data/docs/GroupsApi.md +136 -51
  39. data/docs/MessageResult.md +12 -11
  40. data/docs/MobileNetwork.md +16 -15
  41. data/docs/NumberLookupApi.md +30 -14
  42. data/docs/NumberToBlacklist.md +8 -7
  43. data/docs/NumbersToInvestigate.md +8 -7
  44. data/docs/OmniMessageCreateSuccessResponse.md +12 -11
  45. data/docs/Omnimessage.md +18 -17
  46. data/docs/OmnimessageApi.md +56 -23
  47. data/docs/OmnimessageMessagesInner.md +53 -0
  48. data/docs/PriceInfo.md +22 -0
  49. data/docs/Priority.md +4 -5
  50. data/docs/SMS.md +20 -17
  51. data/docs/StatisticsApi.md +30 -14
  52. data/docs/StatisticsReport.md +12 -11
  53. data/docs/StatisticsReportSettings.md +12 -11
  54. data/docs/StatisticsReportSuccess.md +8 -7
  55. data/docs/Status.md +4 -5
  56. data/docs/SyncNumberLookupResult.md +24 -23
  57. data/docs/SyncNumberLookupSuccess.md +10 -9
  58. data/docs/Telegram.md +20 -19
  59. data/docs/TextStore.md +4 -5
  60. data/docs/Viber.md +22 -19
  61. data/docs/WhatsApp.md +16 -19
  62. data/docs/WhatsAppComponent.md +24 -0
  63. data/docs/WhatsAppCurrency.md +22 -0
  64. data/docs/WhatsAppDatetime.md +18 -0
  65. data/docs/WhatsAppLanguage.md +20 -0
  66. data/docs/WhatsAppMedia.md +24 -0
  67. data/docs/WhatsAppParameter.md +30 -0
  68. data/docs/WhatsAppTemplate.md +22 -0
  69. data/git_push.sh +3 -4
  70. data/lib/messente_api/api/blacklist_api.rb +22 -15
  71. data/lib/messente_api/api/bulk_messaging_api.rb +88 -0
  72. data/lib/messente_api/api/contacts_api.rb +42 -28
  73. data/lib/messente_api/api/delivery_report_api.rb +6 -5
  74. data/lib/messente_api/api/groups_api.rb +30 -19
  75. data/lib/messente_api/api/number_lookup_api.rb +10 -6
  76. data/lib/messente_api/api/omnimessage_api.rb +14 -9
  77. data/lib/messente_api/api/statistics_api.rb +10 -6
  78. data/lib/messente_api/api_client.rb +72 -66
  79. data/lib/messente_api/api_error.rb +3 -2
  80. data/lib/messente_api/configuration.rb +64 -14
  81. data/lib/messente_api/models/{whats_app_audio.rb → bulk_omni_message_create_success_response.rb} +50 -38
  82. data/lib/messente_api/models/bulk_omni_message_create_success_response_messages_inner.rb +105 -0
  83. data/lib/messente_api/models/{whats_app_text.rb → bulk_omnimessage.rb} +49 -49
  84. data/lib/messente_api/models/channel.rb +9 -5
  85. data/lib/messente_api/models/contact_envelope.rb +31 -23
  86. data/lib/messente_api/models/contact_fields.rb +33 -23
  87. data/lib/messente_api/models/contact_list_envelope.rb +41 -23
  88. data/lib/messente_api/models/contact_response_fields.rb +31 -23
  89. data/lib/messente_api/models/contact_update_fields.rb +31 -23
  90. data/lib/messente_api/models/delivery_report_response.rb +37 -23
  91. data/lib/messente_api/models/delivery_result.rb +77 -27
  92. data/lib/messente_api/models/error_code_omnichannel.rb +9 -5
  93. data/lib/messente_api/models/error_code_omnichannel_machine.rb +9 -5
  94. data/lib/messente_api/models/error_code_phonebook.rb +9 -5
  95. data/lib/messente_api/models/error_code_statistics.rb +9 -5
  96. data/lib/messente_api/models/error_item_number_lookup.rb +33 -23
  97. data/lib/messente_api/models/error_item_number_lookup_error.rb +35 -23
  98. data/lib/messente_api/models/error_item_omnichannel.rb +61 -23
  99. data/lib/messente_api/models/error_item_phonebook.rb +59 -23
  100. data/lib/messente_api/models/error_item_statistics.rb +59 -23
  101. data/lib/messente_api/models/error_number_lookup.rb +33 -23
  102. data/lib/messente_api/models/error_omnichannel.rb +33 -23
  103. data/lib/messente_api/models/error_phonebook.rb +33 -23
  104. data/lib/messente_api/models/error_statistics.rb +33 -23
  105. data/lib/messente_api/models/error_title_omnichannel.rb +9 -5
  106. data/lib/messente_api/models/error_title_phonebook.rb +9 -5
  107. data/lib/messente_api/models/fetch_blacklist_success.rb +41 -23
  108. data/lib/messente_api/models/group_envelope.rb +31 -23
  109. data/lib/messente_api/models/group_list_envelope.rb +41 -23
  110. data/lib/messente_api/models/group_name.rb +33 -23
  111. data/lib/messente_api/models/group_response_fields.rb +37 -23
  112. data/lib/messente_api/models/message_result.rb +59 -23
  113. data/lib/messente_api/models/mobile_network.rb +31 -23
  114. data/lib/messente_api/models/number_to_blacklist.rb +33 -23
  115. data/lib/messente_api/models/numbers_to_investigate.rb +62 -24
  116. data/lib/messente_api/models/omni_message_create_success_response.rb +37 -23
  117. data/lib/messente_api/models/omnimessage.rb +59 -25
  118. data/lib/messente_api/models/omnimessage_messages_inner.rb +107 -0
  119. data/lib/messente_api/models/price_info.rb +257 -0
  120. data/lib/messente_api/models/priority.rb +9 -5
  121. data/lib/messente_api/models/sms.rb +45 -25
  122. data/lib/messente_api/models/statistics_report.rb +37 -23
  123. data/lib/messente_api/models/statistics_report_settings.rb +35 -23
  124. data/lib/messente_api/models/statistics_report_success.rb +33 -23
  125. data/lib/messente_api/models/status.rb +9 -5
  126. data/lib/messente_api/models/sync_number_lookup_result.rb +35 -24
  127. data/lib/messente_api/models/sync_number_lookup_success.rb +35 -23
  128. data/lib/messente_api/models/telegram.rb +31 -23
  129. data/lib/messente_api/models/text_store.rb +9 -5
  130. data/lib/messente_api/models/viber.rb +43 -25
  131. data/lib/messente_api/models/whats_app.rb +45 -54
  132. data/lib/messente_api/models/whats_app_component.rb +255 -0
  133. data/lib/messente_api/models/whats_app_currency.rb +257 -0
  134. data/lib/messente_api/models/{whats_app_document.rb → whats_app_datetime.rb} +48 -48
  135. data/lib/messente_api/models/{whats_app_image.rb → whats_app_language.rb} +55 -45
  136. data/lib/messente_api/models/whats_app_media.rb +246 -0
  137. data/lib/messente_api/models/whats_app_parameter.rb +278 -0
  138. data/lib/messente_api/models/whats_app_template.rb +251 -0
  139. data/lib/messente_api/version.rb +3 -3
  140. data/lib/messente_api.rb +15 -6
  141. data/messente_api.gemspec +5 -5
  142. data/spec/spec_helper.rb +2 -2
  143. metadata +33 -39
  144. data/docs/WhatsAppAudio.md +0 -17
  145. data/docs/WhatsAppDocument.md +0 -19
  146. data/docs/WhatsAppImage.md +0 -19
  147. data/docs/WhatsAppText.md +0 -19
  148. data/spec/api_client_spec.rb +0 -226
  149. data/spec/configuration_spec.rb +0 -42
@@ -3,10 +3,10 @@
3
3
 
4
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.4.0
6
+ The version of the OpenAPI document: 2.0.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.6.0
10
10
 
11
11
  =end
12
12
 
@@ -61,15 +61,16 @@ module MessenteApi
61
61
  form_params = opts[:form_params] || {}
62
62
 
63
63
  # http body (model)
64
- post_body = opts[:body]
64
+ post_body = opts[:debug_body]
65
65
 
66
66
  # return_type
67
- return_type = opts[:return_type] || 'Object'
67
+ return_type = opts[:debug_return_type] || 'Object'
68
68
 
69
69
  # auth_names
70
- auth_names = opts[:auth_names] || ['basicAuth']
70
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
71
71
 
72
72
  new_options = opts.merge(
73
+ :operation => :"ContactsApi.add_contact_to_group",
73
74
  :header_params => header_params,
74
75
  :query_params => query_params,
75
76
  :form_params => form_params,
@@ -117,21 +118,25 @@ module MessenteApi
117
118
  # HTTP header 'Accept' (if needed)
118
119
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
119
120
  # HTTP header 'Content-Type'
120
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
121
+ content_type = @api_client.select_header_content_type(['application/json'])
122
+ if !content_type.nil?
123
+ header_params['Content-Type'] = content_type
124
+ end
121
125
 
122
126
  # form parameters
123
127
  form_params = opts[:form_params] || {}
124
128
 
125
129
  # http body (model)
126
- post_body = opts[:body] || @api_client.object_to_http_body(contact_fields)
130
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(contact_fields)
127
131
 
128
132
  # return_type
129
- return_type = opts[:return_type] || 'ContactEnvelope'
133
+ return_type = opts[:debug_return_type] || 'ContactEnvelope'
130
134
 
131
135
  # auth_names
132
- auth_names = opts[:auth_names] || ['basicAuth']
136
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
133
137
 
134
138
  new_options = opts.merge(
139
+ :operation => :"ContactsApi.create_contact",
135
140
  :header_params => header_params,
136
141
  :query_params => query_params,
137
142
  :form_params => form_params,
@@ -183,15 +188,16 @@ module MessenteApi
183
188
  form_params = opts[:form_params] || {}
184
189
 
185
190
  # http body (model)
186
- post_body = opts[:body]
191
+ post_body = opts[:debug_body]
187
192
 
188
193
  # return_type
189
- return_type = opts[:return_type]
194
+ return_type = opts[:debug_return_type]
190
195
 
191
196
  # auth_names
192
- auth_names = opts[:auth_names] || ['basicAuth']
197
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
193
198
 
194
199
  new_options = opts.merge(
200
+ :operation => :"ContactsApi.delete_contact",
195
201
  :header_params => header_params,
196
202
  :query_params => query_params,
197
203
  :form_params => form_params,
@@ -243,15 +249,16 @@ module MessenteApi
243
249
  form_params = opts[:form_params] || {}
244
250
 
245
251
  # http body (model)
246
- post_body = opts[:body]
252
+ post_body = opts[:debug_body]
247
253
 
248
254
  # return_type
249
- return_type = opts[:return_type] || 'ContactEnvelope'
255
+ return_type = opts[:debug_return_type] || 'ContactEnvelope'
250
256
 
251
257
  # auth_names
252
- auth_names = opts[:auth_names] || ['basicAuth']
258
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
253
259
 
254
260
  new_options = opts.merge(
261
+ :operation => :"ContactsApi.fetch_contact",
255
262
  :header_params => header_params,
256
263
  :query_params => query_params,
257
264
  :form_params => form_params,
@@ -303,15 +310,16 @@ module MessenteApi
303
310
  form_params = opts[:form_params] || {}
304
311
 
305
312
  # http body (model)
306
- post_body = opts[:body]
313
+ post_body = opts[:debug_body]
307
314
 
308
315
  # return_type
309
- return_type = opts[:return_type] || 'GroupListEnvelope'
316
+ return_type = opts[:debug_return_type] || 'GroupListEnvelope'
310
317
 
311
318
  # auth_names
312
- auth_names = opts[:auth_names] || ['basicAuth']
319
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
313
320
 
314
321
  new_options = opts.merge(
322
+ :operation => :"ContactsApi.fetch_contact_groups",
315
323
  :header_params => header_params,
316
324
  :query_params => query_params,
317
325
  :form_params => form_params,
@@ -360,15 +368,16 @@ module MessenteApi
360
368
  form_params = opts[:form_params] || {}
361
369
 
362
370
  # http body (model)
363
- post_body = opts[:body]
371
+ post_body = opts[:debug_body]
364
372
 
365
373
  # return_type
366
- return_type = opts[:return_type] || 'ContactListEnvelope'
374
+ return_type = opts[:debug_return_type] || 'ContactListEnvelope'
367
375
 
368
376
  # auth_names
369
- auth_names = opts[:auth_names] || ['basicAuth']
377
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
370
378
 
371
379
  new_options = opts.merge(
380
+ :operation => :"ContactsApi.fetch_contacts",
372
381
  :header_params => header_params,
373
382
  :query_params => query_params,
374
383
  :form_params => form_params,
@@ -426,15 +435,16 @@ module MessenteApi
426
435
  form_params = opts[:form_params] || {}
427
436
 
428
437
  # http body (model)
429
- post_body = opts[:body]
438
+ post_body = opts[:debug_body]
430
439
 
431
440
  # return_type
432
- return_type = opts[:return_type]
441
+ return_type = opts[:debug_return_type]
433
442
 
434
443
  # auth_names
435
- auth_names = opts[:auth_names] || ['basicAuth']
444
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
436
445
 
437
446
  new_options = opts.merge(
447
+ :operation => :"ContactsApi.remove_contact_from_group",
438
448
  :header_params => header_params,
439
449
  :query_params => query_params,
440
450
  :form_params => form_params,
@@ -488,21 +498,25 @@ module MessenteApi
488
498
  # HTTP header 'Accept' (if needed)
489
499
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
490
500
  # HTTP header 'Content-Type'
491
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
501
+ content_type = @api_client.select_header_content_type(['application/json'])
502
+ if !content_type.nil?
503
+ header_params['Content-Type'] = content_type
504
+ end
492
505
 
493
506
  # form parameters
494
507
  form_params = opts[:form_params] || {}
495
508
 
496
509
  # http body (model)
497
- post_body = opts[:body] || @api_client.object_to_http_body(contact_update_fields)
510
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(contact_update_fields)
498
511
 
499
512
  # return_type
500
- return_type = opts[:return_type] || 'ContactEnvelope'
513
+ return_type = opts[:debug_return_type] || 'ContactEnvelope'
501
514
 
502
515
  # auth_names
503
- auth_names = opts[:auth_names] || ['basicAuth']
516
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
504
517
 
505
518
  new_options = opts.merge(
519
+ :operation => :"ContactsApi.update_contact",
506
520
  :header_params => header_params,
507
521
  :query_params => query_params,
508
522
  :form_params => form_params,
@@ -3,10 +3,10 @@
3
3
 
4
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.4.0
6
+ The version of the OpenAPI document: 2.0.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.6.0
10
10
 
11
11
  =end
12
12
 
@@ -55,15 +55,16 @@ module MessenteApi
55
55
  form_params = opts[:form_params] || {}
56
56
 
57
57
  # http body (model)
58
- post_body = opts[:body]
58
+ post_body = opts[:debug_body]
59
59
 
60
60
  # return_type
61
- return_type = opts[:return_type] || 'DeliveryReportResponse'
61
+ return_type = opts[:debug_return_type] || 'DeliveryReportResponse'
62
62
 
63
63
  # auth_names
64
- auth_names = opts[:auth_names] || ['basicAuth']
64
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
65
65
 
66
66
  new_options = opts.merge(
67
+ :operation => :"DeliveryReportApi.retrieve_delivery_report",
67
68
  :header_params => header_params,
68
69
  :query_params => query_params,
69
70
  :form_params => form_params,
@@ -3,10 +3,10 @@
3
3
 
4
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.4.0
6
+ The version of the OpenAPI document: 2.0.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.6.0
10
10
 
11
11
  =end
12
12
 
@@ -51,21 +51,25 @@ module MessenteApi
51
51
  # HTTP header 'Accept' (if needed)
52
52
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
53
53
  # HTTP header 'Content-Type'
54
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
54
+ content_type = @api_client.select_header_content_type(['application/json'])
55
+ if !content_type.nil?
56
+ header_params['Content-Type'] = content_type
57
+ end
55
58
 
56
59
  # form parameters
57
60
  form_params = opts[:form_params] || {}
58
61
 
59
62
  # http body (model)
60
- post_body = opts[:body] || @api_client.object_to_http_body(group_name)
63
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(group_name)
61
64
 
62
65
  # return_type
63
- return_type = opts[:return_type] || 'GroupEnvelope'
66
+ return_type = opts[:debug_return_type] || 'GroupEnvelope'
64
67
 
65
68
  # auth_names
66
- auth_names = opts[:auth_names] || ['basicAuth']
69
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
67
70
 
68
71
  new_options = opts.merge(
72
+ :operation => :"GroupsApi.create_group",
69
73
  :header_params => header_params,
70
74
  :query_params => query_params,
71
75
  :form_params => form_params,
@@ -117,15 +121,16 @@ module MessenteApi
117
121
  form_params = opts[:form_params] || {}
118
122
 
119
123
  # http body (model)
120
- post_body = opts[:body]
124
+ post_body = opts[:debug_body]
121
125
 
122
126
  # return_type
123
- return_type = opts[:return_type]
127
+ return_type = opts[:debug_return_type]
124
128
 
125
129
  # auth_names
126
- auth_names = opts[:auth_names] || ['basicAuth']
130
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
127
131
 
128
132
  new_options = opts.merge(
133
+ :operation => :"GroupsApi.delete_group",
129
134
  :header_params => header_params,
130
135
  :query_params => query_params,
131
136
  :form_params => form_params,
@@ -177,15 +182,16 @@ module MessenteApi
177
182
  form_params = opts[:form_params] || {}
178
183
 
179
184
  # http body (model)
180
- post_body = opts[:body]
185
+ post_body = opts[:debug_body]
181
186
 
182
187
  # return_type
183
- return_type = opts[:return_type] || 'GroupEnvelope'
188
+ return_type = opts[:debug_return_type] || 'GroupEnvelope'
184
189
 
185
190
  # auth_names
186
- auth_names = opts[:auth_names] || ['basicAuth']
191
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
187
192
 
188
193
  new_options = opts.merge(
194
+ :operation => :"GroupsApi.fetch_group",
189
195
  :header_params => header_params,
190
196
  :query_params => query_params,
191
197
  :form_params => form_params,
@@ -231,15 +237,16 @@ module MessenteApi
231
237
  form_params = opts[:form_params] || {}
232
238
 
233
239
  # http body (model)
234
- post_body = opts[:body]
240
+ post_body = opts[:debug_body]
235
241
 
236
242
  # return_type
237
- return_type = opts[:return_type] || 'GroupListEnvelope'
243
+ return_type = opts[:debug_return_type] || 'GroupListEnvelope'
238
244
 
239
245
  # auth_names
240
- auth_names = opts[:auth_names] || ['basicAuth']
246
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
241
247
 
242
248
  new_options = opts.merge(
249
+ :operation => :"GroupsApi.fetch_groups",
243
250
  :header_params => header_params,
244
251
  :query_params => query_params,
245
252
  :form_params => form_params,
@@ -293,21 +300,25 @@ module MessenteApi
293
300
  # HTTP header 'Accept' (if needed)
294
301
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
295
302
  # HTTP header 'Content-Type'
296
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
303
+ content_type = @api_client.select_header_content_type(['application/json'])
304
+ if !content_type.nil?
305
+ header_params['Content-Type'] = content_type
306
+ end
297
307
 
298
308
  # form parameters
299
309
  form_params = opts[:form_params] || {}
300
310
 
301
311
  # http body (model)
302
- post_body = opts[:body] || @api_client.object_to_http_body(group_name)
312
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(group_name)
303
313
 
304
314
  # return_type
305
- return_type = opts[:return_type] || 'GroupEnvelope'
315
+ return_type = opts[:debug_return_type] || 'GroupEnvelope'
306
316
 
307
317
  # auth_names
308
- auth_names = opts[:auth_names] || ['basicAuth']
318
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
309
319
 
310
320
  new_options = opts.merge(
321
+ :operation => :"GroupsApi.update_group",
311
322
  :header_params => header_params,
312
323
  :query_params => query_params,
313
324
  :form_params => form_params,
@@ -3,10 +3,10 @@
3
3
 
4
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.4.0
6
+ The version of the OpenAPI document: 2.0.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.6.0
10
10
 
11
11
  =end
12
12
 
@@ -51,21 +51,25 @@ module MessenteApi
51
51
  # HTTP header 'Accept' (if needed)
52
52
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
53
53
  # HTTP header 'Content-Type'
54
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
54
+ content_type = @api_client.select_header_content_type(['application/json'])
55
+ if !content_type.nil?
56
+ header_params['Content-Type'] = content_type
57
+ end
55
58
 
56
59
  # form parameters
57
60
  form_params = opts[:form_params] || {}
58
61
 
59
62
  # http body (model)
60
- post_body = opts[:body] || @api_client.object_to_http_body(numbers_to_investigate)
63
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(numbers_to_investigate)
61
64
 
62
65
  # return_type
63
- return_type = opts[:return_type] || 'SyncNumberLookupSuccess'
66
+ return_type = opts[:debug_return_type] || 'SyncNumberLookupSuccess'
64
67
 
65
68
  # auth_names
66
- auth_names = opts[:auth_names] || ['basicAuth']
69
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
67
70
 
68
71
  new_options = opts.merge(
72
+ :operation => :"NumberLookupApi.fetch_info",
69
73
  :header_params => header_params,
70
74
  :query_params => query_params,
71
75
  :form_params => form_params,
@@ -3,10 +3,10 @@
3
3
 
4
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.4.0
6
+ The version of the OpenAPI document: 2.0.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.6.0
10
10
 
11
11
  =end
12
12
 
@@ -55,15 +55,16 @@ module MessenteApi
55
55
  form_params = opts[:form_params] || {}
56
56
 
57
57
  # http body (model)
58
- post_body = opts[:body]
58
+ post_body = opts[:debug_body]
59
59
 
60
60
  # return_type
61
- return_type = opts[:return_type] || 'Object'
61
+ return_type = opts[:debug_return_type] || 'Object'
62
62
 
63
63
  # auth_names
64
- auth_names = opts[:auth_names] || ['basicAuth']
64
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
65
65
 
66
66
  new_options = opts.merge(
67
+ :operation => :"OmnimessageApi.cancel_scheduled_message",
67
68
  :header_params => header_params,
68
69
  :query_params => query_params,
69
70
  :form_params => form_params,
@@ -111,21 +112,25 @@ module MessenteApi
111
112
  # HTTP header 'Accept' (if needed)
112
113
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
113
114
  # HTTP header 'Content-Type'
114
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
115
+ content_type = @api_client.select_header_content_type(['application/json'])
116
+ if !content_type.nil?
117
+ header_params['Content-Type'] = content_type
118
+ end
115
119
 
116
120
  # form parameters
117
121
  form_params = opts[:form_params] || {}
118
122
 
119
123
  # http body (model)
120
- post_body = opts[:body] || @api_client.object_to_http_body(omnimessage)
124
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(omnimessage)
121
125
 
122
126
  # return_type
123
- return_type = opts[:return_type] || 'OmniMessageCreateSuccessResponse'
127
+ return_type = opts[:debug_return_type] || 'OmniMessageCreateSuccessResponse'
124
128
 
125
129
  # auth_names
126
- auth_names = opts[:auth_names] || ['basicAuth']
130
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
127
131
 
128
132
  new_options = opts.merge(
133
+ :operation => :"OmnimessageApi.send_omnimessage",
129
134
  :header_params => header_params,
130
135
  :query_params => query_params,
131
136
  :form_params => form_params,
@@ -3,10 +3,10 @@
3
3
 
4
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.4.0
6
+ The version of the OpenAPI document: 2.0.0
7
7
  Contact: messente@messente.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.3.1
9
+ Generator version: 7.6.0
10
10
 
11
11
  =end
12
12
 
@@ -51,21 +51,25 @@ module MessenteApi
51
51
  # HTTP header 'Accept' (if needed)
52
52
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
53
53
  # HTTP header 'Content-Type'
54
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
54
+ content_type = @api_client.select_header_content_type(['application/json'])
55
+ if !content_type.nil?
56
+ header_params['Content-Type'] = content_type
57
+ end
55
58
 
56
59
  # form parameters
57
60
  form_params = opts[:form_params] || {}
58
61
 
59
62
  # http body (model)
60
- post_body = opts[:body] || @api_client.object_to_http_body(statistics_report_settings)
63
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(statistics_report_settings)
61
64
 
62
65
  # return_type
63
- return_type = opts[:return_type] || 'StatisticsReportSuccess'
66
+ return_type = opts[:debug_return_type] || 'StatisticsReportSuccess'
64
67
 
65
68
  # auth_names
66
- auth_names = opts[:auth_names] || ['basicAuth']
69
+ auth_names = opts[:debug_auth_names] || ['basicAuth']
67
70
 
68
71
  new_options = opts.merge(
72
+ :operation => :"StatisticsApi.create_statistics_report",
69
73
  :header_params => header_params,
70
74
  :query_params => query_params,
71
75
  :form_params => form_params,