bandwidth-sdk 17.0.1 → 17.1.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 (229) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +18 -0
  4. data/bandwidth-sdk.gemspec +1 -2
  5. data/bandwidth.yml +7 -0
  6. data/coverage/.last_run.json +1 -1
  7. data/coverage/.resultset.json +198 -387
  8. data/coverage/index.html +5842 -7703
  9. data/custom_templates/README.mustache +4 -1
  10. data/custom_templates/api_client.mustache +254 -0
  11. data/custom_templates/configuration.mustache +545 -0
  12. data/custom_templates/gem.mustache +2 -0
  13. data/docs/CallsApi.md +20 -5
  14. data/docs/ConferencesApi.md +36 -9
  15. data/docs/MFAApi.md +12 -3
  16. data/docs/MediaApi.md +16 -4
  17. data/docs/MessagesApi.md +8 -2
  18. data/docs/MultiChannelApi.md +4 -1
  19. data/docs/PhoneNumberLookupApi.md +12 -3
  20. data/docs/RecordingsApi.md +40 -10
  21. data/docs/StatisticsApi.md +4 -1
  22. data/docs/TollFreeVerificationApi.md +36 -9
  23. data/docs/TranscriptionsApi.md +12 -3
  24. data/lib/bandwidth-sdk/api/calls_api.rb +6 -6
  25. data/lib/bandwidth-sdk/api/conferences_api.rb +10 -10
  26. data/lib/bandwidth-sdk/api/media_api.rb +5 -5
  27. data/lib/bandwidth-sdk/api/messages_api.rb +3 -3
  28. data/lib/bandwidth-sdk/api/mfa_api.rb +4 -4
  29. data/lib/bandwidth-sdk/api/multi_channel_api.rb +2 -2
  30. data/lib/bandwidth-sdk/api/phone_number_lookup_api.rb +4 -4
  31. data/lib/bandwidth-sdk/api/recordings_api.rb +11 -11
  32. data/lib/bandwidth-sdk/api/statistics_api.rb +2 -2
  33. data/lib/bandwidth-sdk/api/toll_free_verification_api.rb +13 -13
  34. data/lib/bandwidth-sdk/api/transcriptions_api.rb +4 -4
  35. data/lib/bandwidth-sdk/api_client.rb +9 -5
  36. data/lib/bandwidth-sdk/api_error.rb +1 -1
  37. data/lib/bandwidth-sdk/api_model_base.rb +88 -0
  38. data/lib/bandwidth-sdk/configuration.rb +50 -1
  39. data/lib/bandwidth-sdk/models/account_statistics.rb +11 -78
  40. data/lib/bandwidth-sdk/models/additional_denial_reason.rb +41 -78
  41. data/lib/bandwidth-sdk/models/address.rb +23 -90
  42. data/lib/bandwidth-sdk/models/answer_callback.rb +11 -78
  43. data/lib/bandwidth-sdk/models/async_lookup_request.rb +11 -78
  44. data/lib/bandwidth-sdk/models/blocked_webhook.rb +13 -80
  45. data/lib/bandwidth-sdk/models/bridge_complete_callback.rb +11 -78
  46. data/lib/bandwidth-sdk/models/bridge_target_complete_callback.rb +11 -78
  47. data/lib/bandwidth-sdk/models/business_entity_type_enum.rb +1 -1
  48. data/lib/bandwidth-sdk/models/business_registration_type_enum.rb +1 -1
  49. data/lib/bandwidth-sdk/models/call_direction_enum.rb +1 -1
  50. data/lib/bandwidth-sdk/models/call_recording_metadata.rb +11 -78
  51. data/lib/bandwidth-sdk/models/call_state.rb +11 -78
  52. data/lib/bandwidth-sdk/models/call_state_enum.rb +1 -1
  53. data/lib/bandwidth-sdk/models/call_transcription.rb +11 -78
  54. data/lib/bandwidth-sdk/models/call_transcription_detected_language_enum.rb +1 -1
  55. data/lib/bandwidth-sdk/models/call_transcription_metadata.rb +11 -78
  56. data/lib/bandwidth-sdk/models/call_transcription_response.rb +11 -78
  57. data/lib/bandwidth-sdk/models/call_transcription_track_enum.rb +1 -1
  58. data/lib/bandwidth-sdk/models/callback.rb +1 -1
  59. data/lib/bandwidth-sdk/models/callback_method_enum.rb +1 -1
  60. data/lib/bandwidth-sdk/models/card_width_enum.rb +1 -1
  61. data/lib/bandwidth-sdk/models/code_request.rb +11 -78
  62. data/lib/bandwidth-sdk/models/completed_lookup_status_enum.rb +1 -1
  63. data/lib/bandwidth-sdk/models/conference.rb +11 -78
  64. data/lib/bandwidth-sdk/models/conference_completed_callback.rb +11 -78
  65. data/lib/bandwidth-sdk/models/conference_created_callback.rb +11 -78
  66. data/lib/bandwidth-sdk/models/conference_member.rb +11 -78
  67. data/lib/bandwidth-sdk/models/conference_member_exit_callback.rb +11 -78
  68. data/lib/bandwidth-sdk/models/conference_member_join_callback.rb +11 -78
  69. data/lib/bandwidth-sdk/models/conference_recording_available_callback.rb +11 -78
  70. data/lib/bandwidth-sdk/models/conference_recording_metadata.rb +11 -78
  71. data/lib/bandwidth-sdk/models/conference_redirect_callback.rb +11 -78
  72. data/lib/bandwidth-sdk/models/conference_state_enum.rb +1 -1
  73. data/lib/bandwidth-sdk/models/contact.rb +19 -86
  74. data/lib/bandwidth-sdk/models/create_async_bulk_lookup_response.rb +11 -78
  75. data/lib/bandwidth-sdk/models/create_async_bulk_lookup_response_data.rb +11 -78
  76. data/lib/bandwidth-sdk/models/create_call.rb +41 -78
  77. data/lib/bandwidth-sdk/models/create_call_response.rb +81 -78
  78. data/lib/bandwidth-sdk/models/create_message_request_error.rb +31 -78
  79. data/lib/bandwidth-sdk/models/create_multi_channel_message_response.rb +11 -78
  80. data/lib/bandwidth-sdk/models/create_sync_lookup_response.rb +11 -78
  81. data/lib/bandwidth-sdk/models/create_sync_lookup_response_data.rb +11 -78
  82. data/lib/bandwidth-sdk/models/deactivation_event_enum.rb +1 -1
  83. data/lib/bandwidth-sdk/models/disconnect_callback.rb +11 -78
  84. data/lib/bandwidth-sdk/models/diversion.rb +11 -78
  85. data/lib/bandwidth-sdk/models/dtmf_callback.rb +11 -78
  86. data/lib/bandwidth-sdk/models/error.rb +11 -78
  87. data/lib/bandwidth-sdk/models/error_object.rb +41 -78
  88. data/lib/bandwidth-sdk/models/error_source.rb +11 -78
  89. data/lib/bandwidth-sdk/models/failure_webhook.rb +13 -80
  90. data/lib/bandwidth-sdk/models/field_error.rb +11 -78
  91. data/lib/bandwidth-sdk/models/file_format_enum.rb +1 -1
  92. data/lib/bandwidth-sdk/models/gather_callback.rb +11 -78
  93. data/lib/bandwidth-sdk/models/get_async_bulk_lookup_response.rb +11 -78
  94. data/lib/bandwidth-sdk/models/get_async_bulk_lookup_response_data.rb +11 -78
  95. data/lib/bandwidth-sdk/models/in_progress_lookup_status_enum.rb +1 -1
  96. data/lib/bandwidth-sdk/models/inbound_callback.rb +61 -78
  97. data/lib/bandwidth-sdk/models/inbound_callback_message.rb +81 -78
  98. data/lib/bandwidth-sdk/models/inbound_callback_type_enum.rb +1 -1
  99. data/lib/bandwidth-sdk/models/initiate_callback.rb +11 -78
  100. data/lib/bandwidth-sdk/models/latest_message_delivery_status_enum.rb +1 -1
  101. data/lib/bandwidth-sdk/models/line_type_enum.rb +1 -1
  102. data/lib/bandwidth-sdk/models/link.rb +11 -78
  103. data/lib/bandwidth-sdk/models/link_schema.rb +11 -78
  104. data/lib/bandwidth-sdk/models/links_object.rb +11 -78
  105. data/lib/bandwidth-sdk/models/list_message_direction_enum.rb +1 -1
  106. data/lib/bandwidth-sdk/models/list_message_item.rb +11 -78
  107. data/lib/bandwidth-sdk/models/lookup_error_response.rb +11 -78
  108. data/lib/bandwidth-sdk/models/lookup_error_schema.rb +11 -78
  109. data/lib/bandwidth-sdk/models/lookup_error_schema_meta.rb +11 -78
  110. data/lib/bandwidth-sdk/models/lookup_result.rb +11 -78
  111. data/lib/bandwidth-sdk/models/machine_detection_complete_callback.rb +11 -78
  112. data/lib/bandwidth-sdk/models/machine_detection_configuration.rb +11 -78
  113. data/lib/bandwidth-sdk/models/machine_detection_mode_enum.rb +1 -1
  114. data/lib/bandwidth-sdk/models/machine_detection_result.rb +11 -78
  115. data/lib/bandwidth-sdk/models/media.rb +11 -78
  116. data/lib/bandwidth-sdk/models/message.rb +11 -78
  117. data/lib/bandwidth-sdk/models/message_direction_enum.rb +1 -1
  118. data/lib/bandwidth-sdk/models/message_request.rb +31 -78
  119. data/lib/bandwidth-sdk/models/message_status_enum.rb +1 -1
  120. data/lib/bandwidth-sdk/models/message_type_enum.rb +1 -1
  121. data/lib/bandwidth-sdk/models/messages_list.rb +11 -78
  122. data/lib/bandwidth-sdk/models/messaging_code_response.rb +11 -78
  123. data/lib/bandwidth-sdk/models/messaging_request_error.rb +31 -78
  124. data/lib/bandwidth-sdk/models/mfa_forbidden_request_error.rb +11 -78
  125. data/lib/bandwidth-sdk/models/mfa_request_error.rb +11 -78
  126. data/lib/bandwidth-sdk/models/mfa_unauthorized_request_error.rb +11 -78
  127. data/lib/bandwidth-sdk/models/mms_message_content.rb +11 -78
  128. data/lib/bandwidth-sdk/models/mms_message_content_file.rb +11 -78
  129. data/lib/bandwidth-sdk/models/multi_channel_action.rb +3 -4
  130. data/lib/bandwidth-sdk/models/multi_channel_action_calendar_event.rb +41 -78
  131. data/lib/bandwidth-sdk/models/multi_channel_channel_list_mms_object.rb +51 -78
  132. data/lib/bandwidth-sdk/models/multi_channel_channel_list_mms_response_object.rb +61 -78
  133. data/lib/bandwidth-sdk/models/multi_channel_channel_list_object_base.rb +41 -78
  134. data/lib/bandwidth-sdk/models/multi_channel_channel_list_owner_object.rb +21 -78
  135. data/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_object.rb +51 -78
  136. data/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_object_all_of_content.rb +3 -4
  137. data/lib/bandwidth-sdk/models/multi_channel_channel_list_rbm_response_object.rb +61 -78
  138. data/lib/bandwidth-sdk/models/multi_channel_channel_list_request_object.rb +3 -4
  139. data/lib/bandwidth-sdk/models/multi_channel_channel_list_response_object.rb +3 -4
  140. data/lib/bandwidth-sdk/models/multi_channel_channel_list_sms_object.rb +51 -78
  141. data/lib/bandwidth-sdk/models/multi_channel_channel_list_sms_response_object.rb +61 -78
  142. data/lib/bandwidth-sdk/models/multi_channel_error.rb +11 -78
  143. data/lib/bandwidth-sdk/models/multi_channel_message_channel_enum.rb +1 -1
  144. data/lib/bandwidth-sdk/models/multi_channel_message_content.rb +11 -78
  145. data/lib/bandwidth-sdk/models/multi_channel_message_request.rb +21 -78
  146. data/lib/bandwidth-sdk/models/multi_channel_message_response_data.rb +41 -78
  147. data/lib/bandwidth-sdk/models/opt_in_workflow.rb +25 -82
  148. data/lib/bandwidth-sdk/models/page_info.rb +11 -78
  149. data/lib/bandwidth-sdk/models/priority_enum.rb +1 -1
  150. data/lib/bandwidth-sdk/models/product_type_enum.rb +1 -1
  151. data/lib/bandwidth-sdk/models/rbm_action_base.rb +21 -78
  152. data/lib/bandwidth-sdk/models/rbm_action_dial.rb +31 -78
  153. data/lib/bandwidth-sdk/models/rbm_action_open_url.rb +21 -78
  154. data/lib/bandwidth-sdk/models/rbm_action_type_enum.rb +1 -1
  155. data/lib/bandwidth-sdk/models/rbm_action_view_location.rb +41 -78
  156. data/lib/bandwidth-sdk/models/rbm_card_content.rb +11 -78
  157. data/lib/bandwidth-sdk/models/rbm_card_content_media.rb +21 -78
  158. data/lib/bandwidth-sdk/models/rbm_location_response.rb +11 -78
  159. data/lib/bandwidth-sdk/models/rbm_media_height_enum.rb +1 -1
  160. data/lib/bandwidth-sdk/models/rbm_message_carousel_card.rb +21 -78
  161. data/lib/bandwidth-sdk/models/rbm_message_content_file.rb +11 -78
  162. data/lib/bandwidth-sdk/models/rbm_message_content_rich_card.rb +3 -4
  163. data/lib/bandwidth-sdk/models/rbm_message_content_text.rb +11 -78
  164. data/lib/bandwidth-sdk/models/rbm_message_media.rb +21 -78
  165. data/lib/bandwidth-sdk/models/rbm_standalone_card.rb +41 -78
  166. data/lib/bandwidth-sdk/models/rbm_suggestion_response.rb +11 -78
  167. data/lib/bandwidth-sdk/models/recording_available_callback.rb +11 -78
  168. data/lib/bandwidth-sdk/models/recording_complete_callback.rb +11 -78
  169. data/lib/bandwidth-sdk/models/recording_state_enum.rb +1 -1
  170. data/lib/bandwidth-sdk/models/recording_transcription_metadata.rb +11 -78
  171. data/lib/bandwidth-sdk/models/recording_transcriptions.rb +11 -78
  172. data/lib/bandwidth-sdk/models/redirect_callback.rb +11 -78
  173. data/lib/bandwidth-sdk/models/redirect_method_enum.rb +1 -1
  174. data/lib/bandwidth-sdk/models/sms_message_content.rb +11 -78
  175. data/lib/bandwidth-sdk/models/standalone_card_orientation_enum.rb +1 -1
  176. data/lib/bandwidth-sdk/models/status_callback.rb +61 -78
  177. data/lib/bandwidth-sdk/models/status_callback_message.rb +81 -78
  178. data/lib/bandwidth-sdk/models/status_callback_type_enum.rb +6 -6
  179. data/lib/bandwidth-sdk/models/stir_shaken.rb +11 -78
  180. data/lib/bandwidth-sdk/models/sync_lookup_request.rb +11 -78
  181. data/lib/bandwidth-sdk/models/telephone_number.rb +11 -78
  182. data/lib/bandwidth-sdk/models/tfv_basic_authentication.rb +11 -78
  183. data/lib/bandwidth-sdk/models/tfv_callback_status_enum.rb +1 -1
  184. data/lib/bandwidth-sdk/models/tfv_error.rb +11 -78
  185. data/lib/bandwidth-sdk/models/tfv_status.rb +13 -80
  186. data/lib/bandwidth-sdk/models/tfv_status_enum.rb +1 -1
  187. data/lib/bandwidth-sdk/models/tfv_submission_info.rb +21 -88
  188. data/lib/bandwidth-sdk/models/tfv_submission_wrapper.rb +11 -78
  189. data/lib/bandwidth-sdk/models/thumbnail_alignment_enum.rb +1 -1
  190. data/lib/bandwidth-sdk/models/transcribe_recording.rb +11 -78
  191. data/lib/bandwidth-sdk/models/transcription.rb +11 -78
  192. data/lib/bandwidth-sdk/models/transcription_available_callback.rb +11 -78
  193. data/lib/bandwidth-sdk/models/transfer_answer_callback.rb +11 -78
  194. data/lib/bandwidth-sdk/models/transfer_complete_callback.rb +11 -78
  195. data/lib/bandwidth-sdk/models/transfer_disconnect_callback.rb +11 -78
  196. data/lib/bandwidth-sdk/models/update_call.rb +11 -78
  197. data/lib/bandwidth-sdk/models/update_call_recording.rb +21 -78
  198. data/lib/bandwidth-sdk/models/update_conference.rb +11 -78
  199. data/lib/bandwidth-sdk/models/update_conference_member.rb +11 -78
  200. data/lib/bandwidth-sdk/models/verification_denial_webhook.rb +13 -80
  201. data/lib/bandwidth-sdk/models/verification_request.rb +51 -88
  202. data/lib/bandwidth-sdk/models/verification_update_request.rb +51 -88
  203. data/lib/bandwidth-sdk/models/verification_webhook.rb +13 -80
  204. data/lib/bandwidth-sdk/models/verify_code_request.rb +13 -80
  205. data/lib/bandwidth-sdk/models/verify_code_response.rb +11 -78
  206. data/lib/bandwidth-sdk/models/voice_api_error.rb +11 -78
  207. data/lib/bandwidth-sdk/models/voice_code_response.rb +11 -78
  208. data/lib/bandwidth-sdk/models/webhook_subscription.rb +13 -80
  209. data/lib/bandwidth-sdk/models/webhook_subscription_basic_authentication.rb +11 -78
  210. data/lib/bandwidth-sdk/models/webhook_subscription_request_schema.rb +15 -82
  211. data/lib/bandwidth-sdk/models/webhook_subscription_type_enum.rb +1 -1
  212. data/lib/bandwidth-sdk/models/webhook_subscriptions_list_body.rb +21 -78
  213. data/lib/bandwidth-sdk/version.rb +2 -2
  214. data/lib/bandwidth-sdk.rb +2 -1
  215. data/openapitools.json +1 -1
  216. data/spec/smoke/calls_api_spec.rb +50 -76
  217. data/spec/smoke/conferences_api_spec.rb +7 -5
  218. data/spec/smoke/media_api_spec.rb +4 -2
  219. data/spec/smoke/messages_api_spec.rb +9 -4
  220. data/spec/smoke/mfa_api_spec.rb +9 -4
  221. data/spec/smoke/multi_channel_api_spec.rb +4 -2
  222. data/spec/smoke/phone_number_lookup_api_spec.rb +6 -4
  223. data/spec/smoke/recordings_api_spec.rb +7 -33
  224. data/spec/smoke/statistics_api_spec.rb +16 -8
  225. data/spec/smoke/toll_free_verification_api_spec.rb +6 -4
  226. data/spec/smoke/transcriptions_api_spec.rb +7 -5
  227. data/spec/spec_helper.rb +2 -0
  228. data/spec/unit/models/verify_code_request_spec.rb +1 -1
  229. metadata +5 -2
@@ -33,6 +33,9 @@ Bandwidth.configure do |config|
33
33
  # Configure HTTP basic authorization: Basic
34
34
  config.username = 'YOUR USERNAME'
35
35
  config.password = 'YOUR PASSWORD'
36
+
37
+ # Configure OAuth2 access token for authorization: OAuth2
38
+ config.access_token = 'YOUR ACCESS TOKEN'
36
39
  end
37
40
 
38
41
  api_instance = Bandwidth::TollFreeVerificationApi.new
@@ -79,7 +82,7 @@ end
79
82
 
80
83
  ### Authorization
81
84
 
82
- [Basic](../README.md#Basic)
85
+ [Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
83
86
 
84
87
  ### HTTP request headers
85
88
 
@@ -105,6 +108,9 @@ Bandwidth.configure do |config|
105
108
  # Configure HTTP basic authorization: Basic
106
109
  config.username = 'YOUR USERNAME'
107
110
  config.password = 'YOUR PASSWORD'
111
+
112
+ # Configure OAuth2 access token for authorization: OAuth2
113
+ config.access_token = 'YOUR ACCESS TOKEN'
108
114
  end
109
115
 
110
116
  api_instance = Bandwidth::TollFreeVerificationApi.new
@@ -150,7 +156,7 @@ nil (empty response body)
150
156
 
151
157
  ### Authorization
152
158
 
153
- [Basic](../README.md#Basic)
159
+ [Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
154
160
 
155
161
  ### HTTP request headers
156
162
 
@@ -176,6 +182,9 @@ Bandwidth.configure do |config|
176
182
  # Configure HTTP basic authorization: Basic
177
183
  config.username = 'YOUR USERNAME'
178
184
  config.password = 'YOUR PASSWORD'
185
+
186
+ # Configure OAuth2 access token for authorization: OAuth2
187
+ config.access_token = 'YOUR ACCESS TOKEN'
179
188
  end
180
189
 
181
190
  api_instance = Bandwidth::TollFreeVerificationApi.new
@@ -221,7 +230,7 @@ nil (empty response body)
221
230
 
222
231
  ### Authorization
223
232
 
224
- [Basic](../README.md#Basic)
233
+ [Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
225
234
 
226
235
  ### HTTP request headers
227
236
 
@@ -247,6 +256,9 @@ Bandwidth.configure do |config|
247
256
  # Configure HTTP basic authorization: Basic
248
257
  config.username = 'YOUR USERNAME'
249
258
  config.password = 'YOUR PASSWORD'
259
+
260
+ # Configure OAuth2 access token for authorization: OAuth2
261
+ config.access_token = 'YOUR ACCESS TOKEN'
250
262
  end
251
263
 
252
264
  api_instance = Bandwidth::TollFreeVerificationApi.new
@@ -293,7 +305,7 @@ end
293
305
 
294
306
  ### Authorization
295
307
 
296
- [Basic](../README.md#Basic)
308
+ [Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
297
309
 
298
310
  ### HTTP request headers
299
311
 
@@ -319,6 +331,9 @@ Bandwidth.configure do |config|
319
331
  # Configure HTTP basic authorization: Basic
320
332
  config.username = 'YOUR USERNAME'
321
333
  config.password = 'YOUR PASSWORD'
334
+
335
+ # Configure OAuth2 access token for authorization: OAuth2
336
+ config.access_token = 'YOUR ACCESS TOKEN'
322
337
  end
323
338
 
324
339
  api_instance = Bandwidth::TollFreeVerificationApi.new
@@ -360,7 +375,7 @@ This endpoint does not need any parameter.
360
375
 
361
376
  ### Authorization
362
377
 
363
- [Basic](../README.md#Basic)
378
+ [Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
364
379
 
365
380
  ### HTTP request headers
366
381
 
@@ -386,6 +401,9 @@ Bandwidth.configure do |config|
386
401
  # Configure HTTP basic authorization: Basic
387
402
  config.username = 'YOUR USERNAME'
388
403
  config.password = 'YOUR PASSWORD'
404
+
405
+ # Configure OAuth2 access token for authorization: OAuth2
406
+ config.access_token = 'YOUR ACCESS TOKEN'
389
407
  end
390
408
 
391
409
  api_instance = Bandwidth::TollFreeVerificationApi.new
@@ -430,7 +448,7 @@ end
430
448
 
431
449
  ### Authorization
432
450
 
433
- [Basic](../README.md#Basic)
451
+ [Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
434
452
 
435
453
  ### HTTP request headers
436
454
 
@@ -456,6 +474,9 @@ Bandwidth.configure do |config|
456
474
  # Configure HTTP basic authorization: Basic
457
475
  config.username = 'YOUR USERNAME'
458
476
  config.password = 'YOUR PASSWORD'
477
+
478
+ # Configure OAuth2 access token for authorization: OAuth2
479
+ config.access_token = 'YOUR ACCESS TOKEN'
459
480
  end
460
481
 
461
482
  api_instance = Bandwidth::TollFreeVerificationApi.new
@@ -501,7 +522,7 @@ nil (empty response body)
501
522
 
502
523
  ### Authorization
503
524
 
504
- [Basic](../README.md#Basic)
525
+ [Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
505
526
 
506
527
  ### HTTP request headers
507
528
 
@@ -527,6 +548,9 @@ Bandwidth.configure do |config|
527
548
  # Configure HTTP basic authorization: Basic
528
549
  config.username = 'YOUR USERNAME'
529
550
  config.password = 'YOUR PASSWORD'
551
+
552
+ # Configure OAuth2 access token for authorization: OAuth2
553
+ config.access_token = 'YOUR ACCESS TOKEN'
530
554
  end
531
555
 
532
556
  api_instance = Bandwidth::TollFreeVerificationApi.new
@@ -574,7 +598,7 @@ nil (empty response body)
574
598
 
575
599
  ### Authorization
576
600
 
577
- [Basic](../README.md#Basic)
601
+ [Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
578
602
 
579
603
  ### HTTP request headers
580
604
 
@@ -600,6 +624,9 @@ Bandwidth.configure do |config|
600
624
  # Configure HTTP basic authorization: Basic
601
625
  config.username = 'YOUR USERNAME'
602
626
  config.password = 'YOUR PASSWORD'
627
+
628
+ # Configure OAuth2 access token for authorization: OAuth2
629
+ config.access_token = 'YOUR ACCESS TOKEN'
603
630
  end
604
631
 
605
632
  api_instance = Bandwidth::TollFreeVerificationApi.new
@@ -648,7 +675,7 @@ end
648
675
 
649
676
  ### Authorization
650
677
 
651
- [Basic](../README.md#Basic)
678
+ [Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
652
679
 
653
680
  ### HTTP request headers
654
681
 
@@ -27,6 +27,9 @@ Bandwidth.configure do |config|
27
27
  # Configure HTTP basic authorization: Basic
28
28
  config.username = 'YOUR USERNAME'
29
29
  config.password = 'YOUR PASSWORD'
30
+
31
+ # Configure OAuth2 access token for authorization: OAuth2
32
+ config.access_token = 'YOUR ACCESS TOKEN'
30
33
  end
31
34
 
32
35
  api_instance = Bandwidth::TranscriptionsApi.new
@@ -74,7 +77,7 @@ nil (empty response body)
74
77
 
75
78
  ### Authorization
76
79
 
77
- [Basic](../README.md#Basic)
80
+ [Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
78
81
 
79
82
  ### HTTP request headers
80
83
 
@@ -100,6 +103,9 @@ Bandwidth.configure do |config|
100
103
  # Configure HTTP basic authorization: Basic
101
104
  config.username = 'YOUR USERNAME'
102
105
  config.password = 'YOUR PASSWORD'
106
+
107
+ # Configure OAuth2 access token for authorization: OAuth2
108
+ config.access_token = 'YOUR ACCESS TOKEN'
103
109
  end
104
110
 
105
111
  api_instance = Bandwidth::TranscriptionsApi.new
@@ -148,7 +154,7 @@ end
148
154
 
149
155
  ### Authorization
150
156
 
151
- [Basic](../README.md#Basic)
157
+ [Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
152
158
 
153
159
  ### HTTP request headers
154
160
 
@@ -174,6 +180,9 @@ Bandwidth.configure do |config|
174
180
  # Configure HTTP basic authorization: Basic
175
181
  config.username = 'YOUR USERNAME'
176
182
  config.password = 'YOUR PASSWORD'
183
+
184
+ # Configure OAuth2 access token for authorization: OAuth2
185
+ config.access_token = 'YOUR ACCESS TOKEN'
177
186
  end
178
187
 
179
188
  api_instance = Bandwidth::TranscriptionsApi.new
@@ -220,7 +229,7 @@ end
220
229
 
221
230
  ### Authorization
222
231
 
223
- [Basic](../README.md#Basic)
232
+ [Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
224
233
 
225
234
  ### HTTP request headers
226
235
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: letstalk@bandwidth.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
@@ -74,7 +74,7 @@ module Bandwidth
74
74
  return_type = opts[:debug_return_type] || 'CreateCallResponse'
75
75
 
76
76
  # auth_names
77
- auth_names = opts[:debug_auth_names] || ['Basic']
77
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
78
78
 
79
79
  new_options = opts.merge(
80
80
  :operation => :"CallsApi.create_call",
@@ -143,7 +143,7 @@ module Bandwidth
143
143
  return_type = opts[:debug_return_type] || 'CallState'
144
144
 
145
145
  # auth_names
146
- auth_names = opts[:debug_auth_names] || ['Basic']
146
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
147
147
 
148
148
  new_options = opts.merge(
149
149
  :operation => :"CallsApi.get_call_state",
@@ -235,7 +235,7 @@ module Bandwidth
235
235
  return_type = opts[:debug_return_type] || 'Array<CallState>'
236
236
 
237
237
  # auth_names
238
- auth_names = opts[:debug_auth_names] || ['Basic']
238
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
239
239
 
240
240
  new_options = opts.merge(
241
241
  :operation => :"CallsApi.list_calls",
@@ -315,7 +315,7 @@ module Bandwidth
315
315
  return_type = opts[:debug_return_type]
316
316
 
317
317
  # auth_names
318
- auth_names = opts[:debug_auth_names] || ['Basic']
318
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
319
319
 
320
320
  new_options = opts.merge(
321
321
  :operation => :"CallsApi.update_call",
@@ -395,7 +395,7 @@ module Bandwidth
395
395
  return_type = opts[:debug_return_type]
396
396
 
397
397
  # auth_names
398
- auth_names = opts[:debug_auth_names] || ['Basic']
398
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
399
399
 
400
400
  new_options = opts.merge(
401
401
  :operation => :"CallsApi.update_call_bxml",
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: letstalk@bandwidth.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
@@ -75,7 +75,7 @@ module Bandwidth
75
75
  return_type = opts[:debug_return_type] || 'File'
76
76
 
77
77
  # auth_names
78
- auth_names = opts[:debug_auth_names] || ['Basic']
78
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
79
79
 
80
80
  new_options = opts.merge(
81
81
  :operation => :"ConferencesApi.download_conference_recording",
@@ -144,7 +144,7 @@ module Bandwidth
144
144
  return_type = opts[:debug_return_type] || 'Conference'
145
145
 
146
146
  # auth_names
147
- auth_names = opts[:debug_auth_names] || ['Basic']
147
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
148
148
 
149
149
  new_options = opts.merge(
150
150
  :operation => :"ConferencesApi.get_conference",
@@ -219,7 +219,7 @@ module Bandwidth
219
219
  return_type = opts[:debug_return_type] || 'ConferenceMember'
220
220
 
221
221
  # auth_names
222
- auth_names = opts[:debug_auth_names] || ['Basic']
222
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
223
223
 
224
224
  new_options = opts.merge(
225
225
  :operation => :"ConferencesApi.get_conference_member",
@@ -294,7 +294,7 @@ module Bandwidth
294
294
  return_type = opts[:debug_return_type] || 'ConferenceRecordingMetadata'
295
295
 
296
296
  # auth_names
297
- auth_names = opts[:debug_auth_names] || ['Basic']
297
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
298
298
 
299
299
  new_options = opts.merge(
300
300
  :operation => :"ConferencesApi.get_conference_recording",
@@ -363,7 +363,7 @@ module Bandwidth
363
363
  return_type = opts[:debug_return_type] || 'Array<ConferenceRecordingMetadata>'
364
364
 
365
365
  # auth_names
366
- auth_names = opts[:debug_auth_names] || ['Basic']
366
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
367
367
 
368
368
  new_options = opts.merge(
369
369
  :operation => :"ConferencesApi.list_conference_recordings",
@@ -449,7 +449,7 @@ module Bandwidth
449
449
  return_type = opts[:debug_return_type] || 'Array<Conference>'
450
450
 
451
451
  # auth_names
452
- auth_names = opts[:debug_auth_names] || ['Basic']
452
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
453
453
 
454
454
  new_options = opts.merge(
455
455
  :operation => :"ConferencesApi.list_conferences",
@@ -529,7 +529,7 @@ module Bandwidth
529
529
  return_type = opts[:debug_return_type]
530
530
 
531
531
  # auth_names
532
- auth_names = opts[:debug_auth_names] || ['Basic']
532
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
533
533
 
534
534
  new_options = opts.merge(
535
535
  :operation => :"ConferencesApi.update_conference",
@@ -609,7 +609,7 @@ module Bandwidth
609
609
  return_type = opts[:debug_return_type]
610
610
 
611
611
  # auth_names
612
- auth_names = opts[:debug_auth_names] || ['Basic']
612
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
613
613
 
614
614
  new_options = opts.merge(
615
615
  :operation => :"ConferencesApi.update_conference_bxml",
@@ -695,7 +695,7 @@ module Bandwidth
695
695
  return_type = opts[:debug_return_type]
696
696
 
697
697
  # auth_names
698
- auth_names = opts[:debug_auth_names] || ['Basic']
698
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
699
699
 
700
700
  new_options = opts.merge(
701
701
  :operation => :"ConferencesApi.update_conference_member",
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: letstalk@bandwidth.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
@@ -69,7 +69,7 @@ module Bandwidth
69
69
  return_type = opts[:debug_return_type]
70
70
 
71
71
  # auth_names
72
- auth_names = opts[:debug_auth_names] || ['Basic']
72
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
73
73
 
74
74
  new_options = opts.merge(
75
75
  :operation => :"MediaApi.delete_media",
@@ -138,7 +138,7 @@ module Bandwidth
138
138
  return_type = opts[:debug_return_type] || 'File'
139
139
 
140
140
  # auth_names
141
- auth_names = opts[:debug_auth_names] || ['Basic']
141
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
142
142
 
143
143
  new_options = opts.merge(
144
144
  :operation => :"MediaApi.get_media",
@@ -204,7 +204,7 @@ module Bandwidth
204
204
  return_type = opts[:debug_return_type] || 'Array<Media>'
205
205
 
206
206
  # auth_names
207
- auth_names = opts[:debug_auth_names] || ['Basic']
207
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
208
208
 
209
209
  new_options = opts.merge(
210
210
  :operation => :"MediaApi.list_media",
@@ -290,7 +290,7 @@ module Bandwidth
290
290
  return_type = opts[:debug_return_type]
291
291
 
292
292
  # auth_names
293
- auth_names = opts[:debug_auth_names] || ['Basic']
293
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
294
294
 
295
295
  new_options = opts.merge(
296
296
  :operation => :"MediaApi.upload_media",
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: letstalk@bandwidth.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
@@ -74,7 +74,7 @@ module Bandwidth
74
74
  return_type = opts[:debug_return_type] || 'Message'
75
75
 
76
76
  # auth_names
77
- auth_names = opts[:debug_auth_names] || ['Basic']
77
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
78
78
 
79
79
  new_options = opts.merge(
80
80
  :operation => :"MessagesApi.create_message",
@@ -218,7 +218,7 @@ module Bandwidth
218
218
  return_type = opts[:debug_return_type] || 'MessagesList'
219
219
 
220
220
  # auth_names
221
- auth_names = opts[:debug_auth_names] || ['Basic']
221
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
222
222
 
223
223
  new_options = opts.merge(
224
224
  :operation => :"MessagesApi.list_messages",
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: letstalk@bandwidth.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
@@ -74,7 +74,7 @@ module Bandwidth
74
74
  return_type = opts[:debug_return_type] || 'MessagingCodeResponse'
75
75
 
76
76
  # auth_names
77
- auth_names = opts[:debug_auth_names] || ['Basic']
77
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
78
78
 
79
79
  new_options = opts.merge(
80
80
  :operation => :"MFAApi.generate_messaging_code",
@@ -148,7 +148,7 @@ module Bandwidth
148
148
  return_type = opts[:debug_return_type] || 'VoiceCodeResponse'
149
149
 
150
150
  # auth_names
151
- auth_names = opts[:debug_auth_names] || ['Basic']
151
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
152
152
 
153
153
  new_options = opts.merge(
154
154
  :operation => :"MFAApi.generate_voice_code",
@@ -222,7 +222,7 @@ module Bandwidth
222
222
  return_type = opts[:debug_return_type] || 'VerifyCodeResponse'
223
223
 
224
224
  # auth_names
225
- auth_names = opts[:debug_auth_names] || ['Basic']
225
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
226
226
 
227
227
  new_options = opts.merge(
228
228
  :operation => :"MFAApi.verify_code",
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: letstalk@bandwidth.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
@@ -74,7 +74,7 @@ module Bandwidth
74
74
  return_type = opts[:debug_return_type] || 'CreateMultiChannelMessageResponse'
75
75
 
76
76
  # auth_names
77
- auth_names = opts[:debug_auth_names] || ['Basic']
77
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
78
78
 
79
79
  new_options = opts.merge(
80
80
  :operation => :"MultiChannelApi.create_multi_channel_message",
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: letstalk@bandwidth.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
@@ -74,7 +74,7 @@ module Bandwidth
74
74
  return_type = opts[:debug_return_type] || 'CreateAsyncBulkLookupResponse'
75
75
 
76
76
  # auth_names
77
- auth_names = opts[:debug_auth_names] || ['Basic']
77
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
78
78
 
79
79
  new_options = opts.merge(
80
80
  :operation => :"PhoneNumberLookupApi.create_async_bulk_lookup",
@@ -148,7 +148,7 @@ module Bandwidth
148
148
  return_type = opts[:debug_return_type] || 'CreateSyncLookupResponse'
149
149
 
150
150
  # auth_names
151
- auth_names = opts[:debug_auth_names] || ['Basic']
151
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
152
152
 
153
153
  new_options = opts.merge(
154
154
  :operation => :"PhoneNumberLookupApi.create_sync_lookup",
@@ -217,7 +217,7 @@ module Bandwidth
217
217
  return_type = opts[:debug_return_type] || 'GetAsyncBulkLookupResponse'
218
218
 
219
219
  # auth_names
220
- auth_names = opts[:debug_auth_names] || ['Basic']
220
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
221
221
 
222
222
  new_options = opts.merge(
223
223
  :operation => :"PhoneNumberLookupApi.get_async_bulk_lookup",
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: letstalk@bandwidth.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
@@ -75,7 +75,7 @@ module Bandwidth
75
75
  return_type = opts[:debug_return_type]
76
76
 
77
77
  # auth_names
78
- auth_names = opts[:debug_auth_names] || ['Basic']
78
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
79
79
 
80
80
  new_options = opts.merge(
81
81
  :operation => :"RecordingsApi.delete_recording",
@@ -150,7 +150,7 @@ module Bandwidth
150
150
  return_type = opts[:debug_return_type]
151
151
 
152
152
  # auth_names
153
- auth_names = opts[:debug_auth_names] || ['Basic']
153
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
154
154
 
155
155
  new_options = opts.merge(
156
156
  :operation => :"RecordingsApi.delete_recording_media",
@@ -225,7 +225,7 @@ module Bandwidth
225
225
  return_type = opts[:debug_return_type]
226
226
 
227
227
  # auth_names
228
- auth_names = opts[:debug_auth_names] || ['Basic']
228
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
229
229
 
230
230
  new_options = opts.merge(
231
231
  :operation => :"RecordingsApi.delete_recording_transcription",
@@ -300,7 +300,7 @@ module Bandwidth
300
300
  return_type = opts[:debug_return_type] || 'File'
301
301
 
302
302
  # auth_names
303
- auth_names = opts[:debug_auth_names] || ['Basic']
303
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
304
304
 
305
305
  new_options = opts.merge(
306
306
  :operation => :"RecordingsApi.download_call_recording",
@@ -375,7 +375,7 @@ module Bandwidth
375
375
  return_type = opts[:debug_return_type] || 'CallRecordingMetadata'
376
376
 
377
377
  # auth_names
378
- auth_names = opts[:debug_auth_names] || ['Basic']
378
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
379
379
 
380
380
  new_options = opts.merge(
381
381
  :operation => :"RecordingsApi.get_call_recording",
@@ -450,7 +450,7 @@ module Bandwidth
450
450
  return_type = opts[:debug_return_type] || 'RecordingTranscriptions'
451
451
 
452
452
  # auth_names
453
- auth_names = opts[:debug_auth_names] || ['Basic']
453
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
454
454
 
455
455
  new_options = opts.merge(
456
456
  :operation => :"RecordingsApi.get_recording_transcription",
@@ -525,7 +525,7 @@ module Bandwidth
525
525
  return_type = opts[:debug_return_type] || 'Array<CallRecordingMetadata>'
526
526
 
527
527
  # auth_names
528
- auth_names = opts[:debug_auth_names] || ['Basic']
528
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
529
529
 
530
530
  new_options = opts.merge(
531
531
  :operation => :"RecordingsApi.list_account_call_recordings",
@@ -594,7 +594,7 @@ module Bandwidth
594
594
  return_type = opts[:debug_return_type] || 'Array<CallRecordingMetadata>'
595
595
 
596
596
  # auth_names
597
- auth_names = opts[:debug_auth_names] || ['Basic']
597
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
598
598
 
599
599
  new_options = opts.merge(
600
600
  :operation => :"RecordingsApi.list_call_recordings",
@@ -680,7 +680,7 @@ module Bandwidth
680
680
  return_type = opts[:debug_return_type]
681
681
 
682
682
  # auth_names
683
- auth_names = opts[:debug_auth_names] || ['Basic']
683
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
684
684
 
685
685
  new_options = opts.merge(
686
686
  :operation => :"RecordingsApi.transcribe_call_recording",
@@ -760,7 +760,7 @@ module Bandwidth
760
760
  return_type = opts[:debug_return_type]
761
761
 
762
762
  # auth_names
763
- auth_names = opts[:debug_auth_names] || ['Basic']
763
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
764
764
 
765
765
  new_options = opts.merge(
766
766
  :operation => :"RecordingsApi.update_call_recording_state",
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: 1.0.0
7
7
  Contact: letstalk@bandwidth.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.8.0
9
+ Generator version: 7.17.0
10
10
 
11
11
  =end
12
12
 
@@ -63,7 +63,7 @@ module Bandwidth
63
63
  return_type = opts[:debug_return_type] || 'AccountStatistics'
64
64
 
65
65
  # auth_names
66
- auth_names = opts[:debug_auth_names] || ['Basic']
66
+ auth_names = opts[:debug_auth_names] || ['Basic', 'OAuth2']
67
67
 
68
68
  new_options = opts.merge(
69
69
  :operation => :"StatisticsApi.get_statistics",