bandwidth-sdk 18.3.1 → 19.0.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.
- checksums.yaml +4 -4
- data/Gemfile.lock +13 -13
- data/README.md +1 -10
- data/Rakefile +1 -1
- data/bandwidth.yml +285 -109
- data/coverage/.last_run.json +1 -1
- data/coverage/.resultset.json +1400 -1051
- data/coverage/index.html +20186 -16225
- data/custom_templates/api_client.mustache +3 -1
- data/custom_templates/configuration.mustache +18 -12
- data/custom_templates/gem.mustache +2 -2
- data/docs/Callback.md +1 -0
- data/docs/CallsApi.md +5 -25
- data/docs/ConferencesApi.md +9 -45
- data/docs/DisconnectCallback.md +6 -2
- data/docs/EndpointsApi.md +5 -25
- data/docs/InboundCallback.md +1 -1
- data/docs/InboundCallbackMessage.md +2 -0
- data/docs/InitiateCallback.md +1 -1
- data/docs/LookupResult.md +2 -2
- data/docs/MFAApi.md +3 -15
- data/docs/MediaApi.md +4 -20
- data/docs/Message.md +1 -1
- data/docs/MessagesApi.md +2 -10
- data/docs/MultiChannelAction.md +3 -3
- data/docs/MultiChannelActionCalendarEvent.md +3 -3
- data/docs/MultiChannelApi.md +1 -5
- data/docs/PhoneNumberLookupApi.md +3 -15
- data/docs/RbmActionBase.md +3 -3
- data/docs/RbmActionDial.md +3 -3
- data/docs/RbmActionOpenUrl.md +3 -3
- data/docs/RbmActionViewLocation.md +3 -3
- data/docs/RbmSession.md +26 -0
- data/docs/RbmSuggestionResponse.md +4 -4
- data/docs/RecordingsApi.md +10 -50
- data/docs/StatisticsApi.md +1 -5
- data/docs/StatusCallback.md +2 -2
- data/docs/StatusCallbackMessage.md +3 -1
- data/docs/TollFreeVerificationApi.md +9 -45
- data/docs/TranscriptionsApi.md +3 -15
- data/docs/TransferDisconnectCallback.md +7 -1
- data/lib/bandwidth-sdk/api/calls_api.rb +5 -5
- data/lib/bandwidth-sdk/api/conferences_api.rb +9 -9
- data/lib/bandwidth-sdk/api/endpoints_api.rb +5 -5
- data/lib/bandwidth-sdk/api/media_api.rb +4 -4
- data/lib/bandwidth-sdk/api/messages_api.rb +2 -2
- data/lib/bandwidth-sdk/api/mfa_api.rb +3 -3
- data/lib/bandwidth-sdk/api/multi_channel_api.rb +1 -1
- data/lib/bandwidth-sdk/api/phone_number_lookup_api.rb +3 -3
- data/lib/bandwidth-sdk/api/recordings_api.rb +10 -10
- data/lib/bandwidth-sdk/api/statistics_api.rb +1 -1
- data/lib/bandwidth-sdk/api/toll_free_verification_api.rb +9 -9
- data/lib/bandwidth-sdk/api/transcriptions_api.rb +3 -3
- data/lib/bandwidth-sdk/api_client.rb +3 -1
- data/lib/bandwidth-sdk/configuration.rb +18 -19
- data/lib/bandwidth-sdk/models/callback.rb +1 -0
- data/lib/bandwidth-sdk/models/disconnect_callback.rb +27 -5
- data/lib/bandwidth-sdk/models/inbound_callback_message.rb +10 -1
- data/lib/bandwidth-sdk/models/initiate_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/list_message_item.rb +1 -0
- data/lib/bandwidth-sdk/models/multi_channel_action_calendar_event.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_action_base.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_action_dial.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_action_open_url.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_action_view_location.rb +1 -1
- data/lib/bandwidth-sdk/models/rbm_session.rb +208 -0
- data/lib/bandwidth-sdk/models/rbm_suggestion_response.rb +2 -2
- data/lib/bandwidth-sdk/models/status_callback_message.rb +13 -4
- data/lib/bandwidth-sdk/models/status_callback_type_enum.rb +2 -1
- data/lib/bandwidth-sdk/models/transfer_disconnect_callback.rb +37 -5
- data/lib/bandwidth-sdk/version.rb +1 -1
- data/lib/bandwidth-sdk.rb +3 -2
- data/spec/smoke/calls_api_spec.rb +46 -46
- data/spec/smoke/conferences_api_spec.rb +1 -1
- data/spec/smoke/endpoints_api_spec.rb +2 -31
- data/spec/smoke/media_api_spec.rb +2 -0
- data/spec/smoke/messages_api_spec.rb +2 -24
- data/spec/smoke/mfa_api_spec.rb +4 -27
- data/spec/smoke/multi_channel_api_spec.rb +4 -2
- data/spec/smoke/phone_number_lookup_api_spec.rb +2 -0
- data/spec/smoke/recordings_api_spec.rb +1 -1
- data/spec/smoke/smoke_helper.rb +41 -0
- data/spec/smoke/statistics_api_spec.rb +2 -37
- data/spec/smoke/toll_free_verification_api_spec.rb +2 -0
- data/spec/smoke/transcriptions_api_spec.rb +1 -1
- data/spec/spec_helper.rb +0 -48
- data/spec/unit/api/calls_api_spec.rb +3 -1
- data/spec/unit/api/conferences_api_spec.rb +2 -0
- data/spec/unit/api/endpoints_api_spec.rb +2 -0
- data/spec/unit/api/media_api_spec.rb +2 -0
- data/spec/unit/api/messages_api_spec.rb +2 -0
- data/spec/unit/api/mfa_api_spec.rb +2 -0
- data/spec/unit/api/multi_channel_api_spec.rb +2 -0
- data/spec/unit/api/phone_number_lookup_api_spec.rb +2 -0
- data/spec/unit/api/recordings_api_spec.rb +2 -0
- data/spec/unit/api/statistics_api_spec.rb +2 -0
- data/spec/unit/api/toll_free_verification_api_spec.rb +2 -0
- data/spec/unit/api/transcriptions_api_spec.rb +2 -0
- data/spec/unit/client/api_client_spec.rb +70 -206
- data/spec/unit/client/configuration_spec.rb +22 -17
- data/spec/unit/constants.rb +6 -0
- data/spec/unit/models/callback_spec.rb +1 -0
- data/spec/unit/models/disconnect_callback_spec.rb +10 -2
- data/spec/unit/models/inbound_callback_message_spec.rb +20 -5
- data/spec/unit/models/list_message_item_spec.rb +1 -0
- data/spec/unit/models/rbm_session_spec.rb +95 -0
- data/spec/unit/models/status_callback_message_spec.rb +20 -5
- data/spec/unit/models/status_callback_type_enum_spec.rb +7 -1
- data/spec/unit/models/transfer_disconnect_callback_spec.rb +16 -4
- metadata +9 -1
|
@@ -30,10 +30,6 @@ require 'time'
|
|
|
30
30
|
require 'bandwidth-sdk'
|
|
31
31
|
# setup authorization
|
|
32
32
|
Bandwidth.configure do |config|
|
|
33
|
-
# Configure HTTP basic authorization: Basic
|
|
34
|
-
config.username = 'YOUR USERNAME'
|
|
35
|
-
config.password = 'YOUR PASSWORD'
|
|
36
|
-
|
|
37
33
|
# Configure OAuth2 access token for authorization: OAuth2
|
|
38
34
|
config.access_token = 'YOUR ACCESS TOKEN'
|
|
39
35
|
end
|
|
@@ -82,7 +78,7 @@ end
|
|
|
82
78
|
|
|
83
79
|
### Authorization
|
|
84
80
|
|
|
85
|
-
[
|
|
81
|
+
[OAuth2](../README.md#OAuth2)
|
|
86
82
|
|
|
87
83
|
### HTTP request headers
|
|
88
84
|
|
|
@@ -105,10 +101,6 @@ require 'time'
|
|
|
105
101
|
require 'bandwidth-sdk'
|
|
106
102
|
# setup authorization
|
|
107
103
|
Bandwidth.configure do |config|
|
|
108
|
-
# Configure HTTP basic authorization: Basic
|
|
109
|
-
config.username = 'YOUR USERNAME'
|
|
110
|
-
config.password = 'YOUR PASSWORD'
|
|
111
|
-
|
|
112
104
|
# Configure OAuth2 access token for authorization: OAuth2
|
|
113
105
|
config.access_token = 'YOUR ACCESS TOKEN'
|
|
114
106
|
end
|
|
@@ -156,7 +148,7 @@ nil (empty response body)
|
|
|
156
148
|
|
|
157
149
|
### Authorization
|
|
158
150
|
|
|
159
|
-
[
|
|
151
|
+
[OAuth2](../README.md#OAuth2)
|
|
160
152
|
|
|
161
153
|
### HTTP request headers
|
|
162
154
|
|
|
@@ -179,10 +171,6 @@ require 'time'
|
|
|
179
171
|
require 'bandwidth-sdk'
|
|
180
172
|
# setup authorization
|
|
181
173
|
Bandwidth.configure do |config|
|
|
182
|
-
# Configure HTTP basic authorization: Basic
|
|
183
|
-
config.username = 'YOUR USERNAME'
|
|
184
|
-
config.password = 'YOUR PASSWORD'
|
|
185
|
-
|
|
186
174
|
# Configure OAuth2 access token for authorization: OAuth2
|
|
187
175
|
config.access_token = 'YOUR ACCESS TOKEN'
|
|
188
176
|
end
|
|
@@ -230,7 +218,7 @@ nil (empty response body)
|
|
|
230
218
|
|
|
231
219
|
### Authorization
|
|
232
220
|
|
|
233
|
-
[
|
|
221
|
+
[OAuth2](../README.md#OAuth2)
|
|
234
222
|
|
|
235
223
|
### HTTP request headers
|
|
236
224
|
|
|
@@ -253,10 +241,6 @@ require 'time'
|
|
|
253
241
|
require 'bandwidth-sdk'
|
|
254
242
|
# setup authorization
|
|
255
243
|
Bandwidth.configure do |config|
|
|
256
|
-
# Configure HTTP basic authorization: Basic
|
|
257
|
-
config.username = 'YOUR USERNAME'
|
|
258
|
-
config.password = 'YOUR PASSWORD'
|
|
259
|
-
|
|
260
244
|
# Configure OAuth2 access token for authorization: OAuth2
|
|
261
245
|
config.access_token = 'YOUR ACCESS TOKEN'
|
|
262
246
|
end
|
|
@@ -305,7 +289,7 @@ end
|
|
|
305
289
|
|
|
306
290
|
### Authorization
|
|
307
291
|
|
|
308
|
-
[
|
|
292
|
+
[OAuth2](../README.md#OAuth2)
|
|
309
293
|
|
|
310
294
|
### HTTP request headers
|
|
311
295
|
|
|
@@ -328,10 +312,6 @@ require 'time'
|
|
|
328
312
|
require 'bandwidth-sdk'
|
|
329
313
|
# setup authorization
|
|
330
314
|
Bandwidth.configure do |config|
|
|
331
|
-
# Configure HTTP basic authorization: Basic
|
|
332
|
-
config.username = 'YOUR USERNAME'
|
|
333
|
-
config.password = 'YOUR PASSWORD'
|
|
334
|
-
|
|
335
315
|
# Configure OAuth2 access token for authorization: OAuth2
|
|
336
316
|
config.access_token = 'YOUR ACCESS TOKEN'
|
|
337
317
|
end
|
|
@@ -375,7 +355,7 @@ This endpoint does not need any parameter.
|
|
|
375
355
|
|
|
376
356
|
### Authorization
|
|
377
357
|
|
|
378
|
-
[
|
|
358
|
+
[OAuth2](../README.md#OAuth2)
|
|
379
359
|
|
|
380
360
|
### HTTP request headers
|
|
381
361
|
|
|
@@ -398,10 +378,6 @@ require 'time'
|
|
|
398
378
|
require 'bandwidth-sdk'
|
|
399
379
|
# setup authorization
|
|
400
380
|
Bandwidth.configure do |config|
|
|
401
|
-
# Configure HTTP basic authorization: Basic
|
|
402
|
-
config.username = 'YOUR USERNAME'
|
|
403
|
-
config.password = 'YOUR PASSWORD'
|
|
404
|
-
|
|
405
381
|
# Configure OAuth2 access token for authorization: OAuth2
|
|
406
382
|
config.access_token = 'YOUR ACCESS TOKEN'
|
|
407
383
|
end
|
|
@@ -448,7 +424,7 @@ end
|
|
|
448
424
|
|
|
449
425
|
### Authorization
|
|
450
426
|
|
|
451
|
-
[
|
|
427
|
+
[OAuth2](../README.md#OAuth2)
|
|
452
428
|
|
|
453
429
|
### HTTP request headers
|
|
454
430
|
|
|
@@ -471,10 +447,6 @@ require 'time'
|
|
|
471
447
|
require 'bandwidth-sdk'
|
|
472
448
|
# setup authorization
|
|
473
449
|
Bandwidth.configure do |config|
|
|
474
|
-
# Configure HTTP basic authorization: Basic
|
|
475
|
-
config.username = 'YOUR USERNAME'
|
|
476
|
-
config.password = 'YOUR PASSWORD'
|
|
477
|
-
|
|
478
450
|
# Configure OAuth2 access token for authorization: OAuth2
|
|
479
451
|
config.access_token = 'YOUR ACCESS TOKEN'
|
|
480
452
|
end
|
|
@@ -522,7 +494,7 @@ nil (empty response body)
|
|
|
522
494
|
|
|
523
495
|
### Authorization
|
|
524
496
|
|
|
525
|
-
[
|
|
497
|
+
[OAuth2](../README.md#OAuth2)
|
|
526
498
|
|
|
527
499
|
### HTTP request headers
|
|
528
500
|
|
|
@@ -545,10 +517,6 @@ require 'time'
|
|
|
545
517
|
require 'bandwidth-sdk'
|
|
546
518
|
# setup authorization
|
|
547
519
|
Bandwidth.configure do |config|
|
|
548
|
-
# Configure HTTP basic authorization: Basic
|
|
549
|
-
config.username = 'YOUR USERNAME'
|
|
550
|
-
config.password = 'YOUR PASSWORD'
|
|
551
|
-
|
|
552
520
|
# Configure OAuth2 access token for authorization: OAuth2
|
|
553
521
|
config.access_token = 'YOUR ACCESS TOKEN'
|
|
554
522
|
end
|
|
@@ -598,7 +566,7 @@ nil (empty response body)
|
|
|
598
566
|
|
|
599
567
|
### Authorization
|
|
600
568
|
|
|
601
|
-
[
|
|
569
|
+
[OAuth2](../README.md#OAuth2)
|
|
602
570
|
|
|
603
571
|
### HTTP request headers
|
|
604
572
|
|
|
@@ -621,10 +589,6 @@ require 'time'
|
|
|
621
589
|
require 'bandwidth-sdk'
|
|
622
590
|
# setup authorization
|
|
623
591
|
Bandwidth.configure do |config|
|
|
624
|
-
# Configure HTTP basic authorization: Basic
|
|
625
|
-
config.username = 'YOUR USERNAME'
|
|
626
|
-
config.password = 'YOUR PASSWORD'
|
|
627
|
-
|
|
628
592
|
# Configure OAuth2 access token for authorization: OAuth2
|
|
629
593
|
config.access_token = 'YOUR ACCESS TOKEN'
|
|
630
594
|
end
|
|
@@ -675,7 +639,7 @@ end
|
|
|
675
639
|
|
|
676
640
|
### Authorization
|
|
677
641
|
|
|
678
|
-
[
|
|
642
|
+
[OAuth2](../README.md#OAuth2)
|
|
679
643
|
|
|
680
644
|
### HTTP request headers
|
|
681
645
|
|
data/docs/TranscriptionsApi.md
CHANGED
|
@@ -24,10 +24,6 @@ require 'time'
|
|
|
24
24
|
require 'bandwidth-sdk'
|
|
25
25
|
# setup authorization
|
|
26
26
|
Bandwidth.configure do |config|
|
|
27
|
-
# Configure HTTP basic authorization: Basic
|
|
28
|
-
config.username = 'YOUR USERNAME'
|
|
29
|
-
config.password = 'YOUR PASSWORD'
|
|
30
|
-
|
|
31
27
|
# Configure OAuth2 access token for authorization: OAuth2
|
|
32
28
|
config.access_token = 'YOUR ACCESS TOKEN'
|
|
33
29
|
end
|
|
@@ -77,7 +73,7 @@ nil (empty response body)
|
|
|
77
73
|
|
|
78
74
|
### Authorization
|
|
79
75
|
|
|
80
|
-
[
|
|
76
|
+
[OAuth2](../README.md#OAuth2)
|
|
81
77
|
|
|
82
78
|
### HTTP request headers
|
|
83
79
|
|
|
@@ -100,10 +96,6 @@ require 'time'
|
|
|
100
96
|
require 'bandwidth-sdk'
|
|
101
97
|
# setup authorization
|
|
102
98
|
Bandwidth.configure do |config|
|
|
103
|
-
# Configure HTTP basic authorization: Basic
|
|
104
|
-
config.username = 'YOUR USERNAME'
|
|
105
|
-
config.password = 'YOUR PASSWORD'
|
|
106
|
-
|
|
107
99
|
# Configure OAuth2 access token for authorization: OAuth2
|
|
108
100
|
config.access_token = 'YOUR ACCESS TOKEN'
|
|
109
101
|
end
|
|
@@ -154,7 +146,7 @@ end
|
|
|
154
146
|
|
|
155
147
|
### Authorization
|
|
156
148
|
|
|
157
|
-
[
|
|
149
|
+
[OAuth2](../README.md#OAuth2)
|
|
158
150
|
|
|
159
151
|
### HTTP request headers
|
|
160
152
|
|
|
@@ -177,10 +169,6 @@ require 'time'
|
|
|
177
169
|
require 'bandwidth-sdk'
|
|
178
170
|
# setup authorization
|
|
179
171
|
Bandwidth.configure do |config|
|
|
180
|
-
# Configure HTTP basic authorization: Basic
|
|
181
|
-
config.username = 'YOUR USERNAME'
|
|
182
|
-
config.password = 'YOUR PASSWORD'
|
|
183
|
-
|
|
184
172
|
# Configure OAuth2 access token for authorization: OAuth2
|
|
185
173
|
config.access_token = 'YOUR ACCESS TOKEN'
|
|
186
174
|
end
|
|
@@ -229,7 +217,7 @@ end
|
|
|
229
217
|
|
|
230
218
|
### Authorization
|
|
231
219
|
|
|
232
|
-
[
|
|
220
|
+
[OAuth2](../README.md#OAuth2)
|
|
233
221
|
|
|
234
222
|
### HTTP request headers
|
|
235
223
|
|
|
@@ -24,6 +24,9 @@
|
|
|
24
24
|
| **cause** | **String** | Reason the call failed - hangup, busy, timeout, cancel, rejected, callback-error, invalid-bxml, application-error, account-limit, node-capacity-exceeded, error, or unknown. | [optional] |
|
|
25
25
|
| **error_message** | **String** | Text explaining the reason that caused the call to fail in case of errors. | [optional] |
|
|
26
26
|
| **error_id** | **String** | Bandwidth's internal id that references the error event. | [optional] |
|
|
27
|
+
| **sip_response_code** | **Integer** | (optional) The SIP status code of the final response that rejected an outbound call's (or transferred leg's) INVITE (e.g. 486 for busy, 603 for decline). Present only when the call was rejected with a SIP response. | [optional] |
|
|
28
|
+
| **sip_status_line** | **String** | (optional) The full SIP status line, exactly as received, of the final response that rejected an outbound call's INVITE. The reason phrase can help distinguish outcomes that share a status code, such as `603 Network Blocked` and `603 Decline`. Present only when an outbound call was rejected with a SIP response. | [optional] |
|
|
29
|
+
| **sip_headers** | **Hash<String, String>** | (optional) Map of SIP headers, with lowercase keys (SIP headers are case-insensitive). On the Initiate callback, contains the customer-supplied X-* headers from the original INVITE; present only for inbound SIP URI calls with custom headers. On the Disconnect and Transfer Disconnect callbacks, contains a single `reason` key holding the raw, unmodified `Reason` header value from the final SIP response that rejected an outbound call (or transferred leg); present only when that response included a `Reason` header (for example, `v=analytics1` call-analytics block information from a terminating carrier). If the response carries more than one `Reason` header, all values are returned in the order received, separated by `, `. Note - on the Initiate callback, keys preserve the original SIP header name in lowercase rather than Bandwidth's usual camelCase JSON convention, since these are passthrough values from the caller's SIP INVITE, not Bandwidth-defined fields. If the same header name is sent more than once in the INVITE, only the last value is kept. The example shown is for the Initiate callback; on the Disconnect and Transfer Disconnect callbacks the only key is `reason`. | [optional] |
|
|
27
30
|
|
|
28
31
|
## Example
|
|
29
32
|
|
|
@@ -50,7 +53,10 @@ instance = Bandwidth::TransferDisconnectCallback.new(
|
|
|
50
53
|
transfer_to: +15555555555,
|
|
51
54
|
cause: busy,
|
|
52
55
|
error_message: Call c-2a913f94-6a486f3a-3cae-4034-bcc3-f0c9fa77ca2f is already bridged with another call,
|
|
53
|
-
error_id: 4642074b-7b58-478b-96e4-3a60955c6765
|
|
56
|
+
error_id: 4642074b-7b58-478b-96e4-3a60955c6765,
|
|
57
|
+
sip_response_code: 486,
|
|
58
|
+
sip_status_line: SIP/2.0 603 Network Blocked,
|
|
59
|
+
sip_headers: {"x-custom-header":"customer-value","x-session-id":"sess-12345"}
|
|
54
60
|
)
|
|
55
61
|
```
|
|
56
62
|
|
|
@@ -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] || ['
|
|
77
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
146
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
238
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
318
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
398
|
+
auth_names = opts[:debug_auth_names] || ['OAuth2']
|
|
399
399
|
|
|
400
400
|
new_options = opts.merge(
|
|
401
401
|
:operation => :"CallsApi.update_call_bxml",
|
|
@@ -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] || ['
|
|
78
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
147
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
222
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
297
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
366
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
452
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
532
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
612
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
698
|
+
auth_names = opts[:debug_auth_names] || ['OAuth2']
|
|
699
699
|
|
|
700
700
|
new_options = opts.merge(
|
|
701
701
|
:operation => :"ConferencesApi.update_conference_member",
|
|
@@ -74,7 +74,7 @@ module Bandwidth
|
|
|
74
74
|
return_type = opts[:debug_return_type] || 'CreateEndpointResponse'
|
|
75
75
|
|
|
76
76
|
# auth_names
|
|
77
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
77
|
+
auth_names = opts[:debug_auth_names] || ['OAuth2']
|
|
78
78
|
|
|
79
79
|
new_options = opts.merge(
|
|
80
80
|
:operation => :"EndpointsApi.create_endpoint",
|
|
@@ -143,7 +143,7 @@ module Bandwidth
|
|
|
143
143
|
return_type = opts[:debug_return_type]
|
|
144
144
|
|
|
145
145
|
# auth_names
|
|
146
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
146
|
+
auth_names = opts[:debug_auth_names] || ['OAuth2']
|
|
147
147
|
|
|
148
148
|
new_options = opts.merge(
|
|
149
149
|
:operation => :"EndpointsApi.delete_endpoint",
|
|
@@ -212,7 +212,7 @@ module Bandwidth
|
|
|
212
212
|
return_type = opts[:debug_return_type] || 'EndpointResponse'
|
|
213
213
|
|
|
214
214
|
# auth_names
|
|
215
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
215
|
+
auth_names = opts[:debug_auth_names] || ['OAuth2']
|
|
216
216
|
|
|
217
217
|
new_options = opts.merge(
|
|
218
218
|
:operation => :"EndpointsApi.get_endpoint",
|
|
@@ -295,7 +295,7 @@ module Bandwidth
|
|
|
295
295
|
return_type = opts[:debug_return_type] || 'ListEndpointsResponse'
|
|
296
296
|
|
|
297
297
|
# auth_names
|
|
298
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
298
|
+
auth_names = opts[:debug_auth_names] || ['OAuth2']
|
|
299
299
|
|
|
300
300
|
new_options = opts.merge(
|
|
301
301
|
:operation => :"EndpointsApi.list_endpoints",
|
|
@@ -375,7 +375,7 @@ module Bandwidth
|
|
|
375
375
|
return_type = opts[:debug_return_type]
|
|
376
376
|
|
|
377
377
|
# auth_names
|
|
378
|
-
auth_names = opts[:debug_auth_names] || ['
|
|
378
|
+
auth_names = opts[:debug_auth_names] || ['OAuth2']
|
|
379
379
|
|
|
380
380
|
new_options = opts.merge(
|
|
381
381
|
:operation => :"EndpointsApi.update_endpoint_bxml",
|
|
@@ -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] || ['
|
|
72
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
141
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
207
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
293
|
+
auth_names = opts[:debug_auth_names] || ['OAuth2']
|
|
294
294
|
|
|
295
295
|
new_options = opts.merge(
|
|
296
296
|
:operation => :"MediaApi.upload_media",
|
|
@@ -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] || ['
|
|
77
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
221
|
+
auth_names = opts[:debug_auth_names] || ['OAuth2']
|
|
222
222
|
|
|
223
223
|
new_options = opts.merge(
|
|
224
224
|
:operation => :"MessagesApi.list_messages",
|
|
@@ -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] || ['
|
|
77
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
151
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
225
|
+
auth_names = opts[:debug_auth_names] || ['OAuth2']
|
|
226
226
|
|
|
227
227
|
new_options = opts.merge(
|
|
228
228
|
:operation => :"MFAApi.verify_code",
|
|
@@ -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] || ['
|
|
77
|
+
auth_names = opts[:debug_auth_names] || ['OAuth2']
|
|
78
78
|
|
|
79
79
|
new_options = opts.merge(
|
|
80
80
|
:operation => :"MultiChannelApi.create_multi_channel_message",
|
|
@@ -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] || ['
|
|
77
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
151
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
220
|
+
auth_names = opts[:debug_auth_names] || ['OAuth2']
|
|
221
221
|
|
|
222
222
|
new_options = opts.merge(
|
|
223
223
|
:operation => :"PhoneNumberLookupApi.get_async_bulk_lookup",
|
|
@@ -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] || ['
|
|
78
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
153
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
228
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
303
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
378
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
453
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
528
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
597
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
683
|
+
auth_names = opts[:debug_auth_names] || ['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] || ['
|
|
763
|
+
auth_names = opts[:debug_auth_names] || ['OAuth2']
|
|
764
764
|
|
|
765
765
|
new_options = opts.merge(
|
|
766
766
|
:operation => :"RecordingsApi.update_call_recording_state",
|
|
@@ -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] || ['
|
|
66
|
+
auth_names = opts[:debug_auth_names] || ['OAuth2']
|
|
67
67
|
|
|
68
68
|
new_options = opts.merge(
|
|
69
69
|
:operation => :"StatisticsApi.get_statistics",
|