bandwidth-sdk 11.0.0.pre.beta.3.0 → 11.0.0.pre.beta.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/bandwidth-sdk.gemspec +1 -1
- data/bandwidth.yml +26 -0
- data/coverage/.resultset.json +19 -17
- data/coverage/index.html +311 -289
- data/docs/CreateCall.md +2 -0
- data/lib/bandwidth-sdk/api/calls_api.rb +1 -1
- data/lib/bandwidth-sdk/api/conferences_api.rb +1 -1
- data/lib/bandwidth-sdk/api/media_api.rb +1 -1
- data/lib/bandwidth-sdk/api/messages_api.rb +1 -1
- data/lib/bandwidth-sdk/api/mfa_api.rb +1 -1
- data/lib/bandwidth-sdk/api/phone_number_lookup_api.rb +1 -1
- data/lib/bandwidth-sdk/api/recordings_api.rb +1 -1
- data/lib/bandwidth-sdk/api/statistics_api.rb +1 -1
- data/lib/bandwidth-sdk/api_client.rb +1 -1
- data/lib/bandwidth-sdk/api_error.rb +1 -1
- data/lib/bandwidth-sdk/configuration.rb +1 -1
- data/lib/bandwidth-sdk/models/account_statistics.rb +1 -1
- data/lib/bandwidth-sdk/models/answer_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/bridge_complete_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/bridge_target_complete_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/call_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/call_recording_metadata.rb +1 -1
- data/lib/bandwidth-sdk/models/call_state.rb +1 -1
- data/lib/bandwidth-sdk/models/call_state_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/callback_method_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/code_request.rb +1 -1
- data/lib/bandwidth-sdk/models/conference.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_completed_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_created_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_member.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_member_exit_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_member_join_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_recording_available_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_recording_metadata.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_redirect_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_state_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/create_call.rb +28 -2
- data/lib/bandwidth-sdk/models/create_call_response.rb +1 -1
- data/lib/bandwidth-sdk/models/create_lookup_response.rb +1 -1
- data/lib/bandwidth-sdk/models/create_message_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/deferred_result.rb +1 -1
- data/lib/bandwidth-sdk/models/disconnect_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/diversion.rb +1 -1
- data/lib/bandwidth-sdk/models/dtmf_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/field_error.rb +1 -1
- data/lib/bandwidth-sdk/models/file_format_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/gather_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/inbound_message_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/inbound_message_callback_message.rb +1 -1
- data/lib/bandwidth-sdk/models/initiate_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/list_message_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/list_message_item.rb +1 -1
- data/lib/bandwidth-sdk/models/lookup_request.rb +1 -1
- data/lib/bandwidth-sdk/models/lookup_result.rb +1 -1
- data/lib/bandwidth-sdk/models/lookup_status.rb +1 -1
- data/lib/bandwidth-sdk/models/lookup_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/machine_detection_complete_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/machine_detection_configuration.rb +1 -1
- data/lib/bandwidth-sdk/models/machine_detection_mode_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/machine_detection_result.rb +1 -1
- data/lib/bandwidth-sdk/models/media.rb +1 -1
- data/lib/bandwidth-sdk/models/message.rb +1 -1
- data/lib/bandwidth-sdk/models/message_delivered_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/message_delivered_callback_message.rb +1 -1
- data/lib/bandwidth-sdk/models/message_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/message_failed_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/message_failed_callback_message.rb +1 -1
- data/lib/bandwidth-sdk/models/message_request.rb +1 -1
- data/lib/bandwidth-sdk/models/message_sending_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/message_sending_callback_message.rb +1 -1
- data/lib/bandwidth-sdk/models/message_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/message_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/messages_list.rb +1 -1
- data/lib/bandwidth-sdk/models/messaging_code_response.rb +1 -1
- data/lib/bandwidth-sdk/models/messaging_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/mfa_forbidden_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/mfa_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/mfa_unauthorized_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/page_info.rb +1 -1
- data/lib/bandwidth-sdk/models/priority_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/recording_available_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/recording_complete_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/recording_state_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/redirect_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/redirect_method_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/stir_shaken.rb +1 -1
- data/lib/bandwidth-sdk/models/tag.rb +1 -1
- data/lib/bandwidth-sdk/models/tn_lookup_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/transcribe_recording.rb +1 -1
- data/lib/bandwidth-sdk/models/transcription.rb +1 -1
- data/lib/bandwidth-sdk/models/transcription_available_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/transcription_list.rb +1 -1
- data/lib/bandwidth-sdk/models/transcription_metadata.rb +1 -1
- data/lib/bandwidth-sdk/models/transfer_answer_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/transfer_complete_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/transfer_disconnect_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/update_call.rb +1 -1
- data/lib/bandwidth-sdk/models/update_call_recording.rb +1 -1
- data/lib/bandwidth-sdk/models/update_conference.rb +1 -1
- data/lib/bandwidth-sdk/models/update_conference_member.rb +1 -1
- data/lib/bandwidth-sdk/models/verify_code_request.rb +1 -1
- data/lib/bandwidth-sdk/models/verify_code_response.rb +1 -1
- data/lib/bandwidth-sdk/models/voice_api_error.rb +1 -1
- data/lib/bandwidth-sdk/models/voice_code_response.rb +1 -1
- data/lib/bandwidth-sdk/version.rb +1 -1
- data/lib/bandwidth-sdk.rb +1 -1
- data/openapitools.json +1 -1
- data/spec/api/calls_api_spec.rb +2 -0
- data/spec/integration/calls_api_integration_spec.rb +2 -0
- metadata +36 -36
data/lib/bandwidth-sdk.rb
CHANGED
data/openapitools.json
CHANGED
data/spec/api/calls_api_spec.rb
CHANGED
@@ -6,6 +6,7 @@ describe 'CallsApi' do
|
|
6
6
|
let(:call_url) { "https://voice.bandwidth.com/api/v2/accounts/#{BW_ACCOUNT_ID}/calls/#{call_id}" }
|
7
7
|
let(:call_timeout) { 30.0 }
|
8
8
|
let(:callback_timeout) { 15.0 }
|
9
|
+
let(:display_name) { 'Ruby SDK' }
|
9
10
|
let(:answer_method) { Bandwidth::CallbackMethodEnum::POST }
|
10
11
|
let(:answer_url) { BASE_CALLBACK_URL + '/callbacks/answer' }
|
11
12
|
let(:answer_fallback_url) { BASE_CALLBACK_URL + '/callbacks/answer' }
|
@@ -69,6 +70,7 @@ describe 'CallsApi' do
|
|
69
70
|
application_id: BW_VOICE_APPLICATION_ID,
|
70
71
|
to: USER_NUMBER,
|
71
72
|
from: BW_NUMBER,
|
73
|
+
display_name: display_name,
|
72
74
|
answer_url: answer_url,
|
73
75
|
answer_fallback_url: answer_fallback_url,
|
74
76
|
answer_method: answer_method,
|
@@ -3,6 +3,7 @@ require_relative '../call_utils'
|
|
3
3
|
# Integration Tests for Bandwidth::CallsApi
|
4
4
|
describe 'CallsApi Integration Tests' do
|
5
5
|
# call info
|
6
|
+
let(:display_name) { 'Ruby SDK' }
|
6
7
|
let(:answer_method) { Bandwidth::CallbackMethodEnum::POST }
|
7
8
|
let(:answer_url) { BASE_CALLBACK_URL + '/callbacks/answer' }
|
8
9
|
let(:answer_fallback_method) { Bandwidth::CallbackMethodEnum::POST }
|
@@ -47,6 +48,7 @@ describe 'CallsApi Integration Tests' do
|
|
47
48
|
application_id: BW_VOICE_APPLICATION_ID,
|
48
49
|
to: USER_NUMBER,
|
49
50
|
from: BW_NUMBER,
|
51
|
+
display_name: display_name,
|
50
52
|
answer_url: answer_url,
|
51
53
|
answer_method: answer_method,
|
52
54
|
disconnect_url: disconnect_url,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bandwidth-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 11.0.0.pre.beta.3.
|
4
|
+
version: 11.0.0.pre.beta.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bandwidth
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -462,62 +462,62 @@ signing_key:
|
|
462
462
|
specification_version: 4
|
463
463
|
summary: Bandwidth Ruby SDK
|
464
464
|
test_files:
|
465
|
-
- spec/api/recordings_api_spec.rb
|
466
|
-
- spec/api/mfa_api_spec.rb
|
467
465
|
- spec/api/calls_api_spec.rb
|
466
|
+
- spec/api/conferences_api_spec.rb
|
467
|
+
- spec/api/phone_number_lookup_api_spec.rb
|
468
|
+
- spec/api/recordings_api_spec.rb
|
468
469
|
- spec/api/messages_api_spec.rb
|
470
|
+
- spec/api/mfa_api_spec.rb
|
469
471
|
- spec/api/statistics_api_spec.rb
|
470
472
|
- spec/api/media_api_spec.rb
|
471
|
-
- spec/api/phone_number_lookup_api_spec.rb
|
472
|
-
- spec/api/conferences_api_spec.rb
|
473
473
|
- spec/api_client_spec.rb
|
474
474
|
- spec/api_error_spec.rb
|
475
475
|
- spec/call_utils.rb
|
476
476
|
- spec/configuration_spec.rb
|
477
477
|
- spec/fixtures/ruby_cat.jpeg
|
478
478
|
- spec/integration/conferences_api_integration_spec.rb
|
479
|
-
- spec/integration/media_api_integration_spec.rb
|
480
479
|
- spec/integration/mfa_api_integration_spec.rb
|
481
|
-
- spec/integration/phone_number_lookup_api_integration_spec.rb
|
482
|
-
- spec/integration/recordings_api_integration_spec.rb
|
483
|
-
- spec/integration/statistics_api_integration_spec.rb
|
484
480
|
- spec/integration/messages_api_integration_spec.rb
|
481
|
+
- spec/integration/recordings_api_integration_spec.rb
|
485
482
|
- spec/integration/calls_api_integration_spec.rb
|
486
|
-
- spec/
|
483
|
+
- spec/integration/media_api_integration_spec.rb
|
484
|
+
- spec/integration/phone_number_lookup_api_integration_spec.rb
|
485
|
+
- spec/integration/statistics_api_integration_spec.rb
|
486
|
+
- spec/models/call_state_enum_spec.rb
|
487
|
+
- spec/models/verify_code_request_spec.rb
|
488
|
+
- spec/models/call_state_spec.rb
|
489
|
+
- spec/models/bxml/nestable_verb_spec.rb
|
490
|
+
- spec/models/bxml/verb_spec.rb
|
487
491
|
- spec/models/bxml/bxml_spec.rb
|
488
|
-
- spec/models/bxml/
|
489
|
-
- spec/models/bxml/verbs/
|
490
|
-
- spec/models/bxml/verbs/
|
491
|
-
- spec/models/bxml/verbs/ring_spec.rb
|
492
|
+
- spec/models/bxml/response_spec.rb
|
493
|
+
- spec/models/bxml/verbs/play_audio_spec.rb
|
494
|
+
- spec/models/bxml/verbs/custom_param_spec.rb
|
492
495
|
- spec/models/bxml/verbs/redirect_spec.rb
|
493
|
-
- spec/models/bxml/verbs/
|
494
|
-
- spec/models/bxml/verbs/
|
496
|
+
- spec/models/bxml/verbs/start_transcription_spec.rb
|
497
|
+
- spec/models/bxml/verbs/pause_recording_spec.rb
|
495
498
|
- spec/models/bxml/verbs/gather_spec.rb
|
499
|
+
- spec/models/bxml/verbs/transfer_spec.rb
|
500
|
+
- spec/models/bxml/verbs/stream_param_spec.rb
|
496
501
|
- spec/models/bxml/verbs/send_dtmf_spec.rb
|
497
|
-
- spec/models/bxml/verbs/start_recording_spec.rb
|
498
|
-
- spec/models/bxml/verbs/conference_spec.rb
|
499
|
-
- spec/models/bxml/verbs/start_stream_spec.rb
|
500
|
-
- spec/models/bxml/verbs/forward_spec.rb
|
501
|
-
- spec/models/bxml/verbs/record_spec.rb
|
502
|
-
- spec/models/bxml/verbs/start_gather_spec.rb
|
503
|
-
- spec/models/bxml/verbs/bridge_spec.rb
|
504
|
-
- spec/models/bxml/verbs/start_transcription_spec.rb
|
505
|
-
- spec/models/bxml/verbs/tag_spec.rb
|
506
502
|
- spec/models/bxml/verbs/stop_recording_spec.rb
|
503
|
+
- spec/models/bxml/verbs/start_stream_spec.rb
|
504
|
+
- spec/models/bxml/verbs/phone_number_spec.rb
|
505
|
+
- spec/models/bxml/verbs/sip_uri_spec.rb
|
507
506
|
- spec/models/bxml/verbs/stop_stream_spec.rb
|
508
|
-
- spec/models/bxml/verbs/stream_param_spec.rb
|
509
507
|
- spec/models/bxml/verbs/speak_sentence_spec.rb
|
508
|
+
- spec/models/bxml/verbs/stop_gather_spec.rb
|
510
509
|
- spec/models/bxml/verbs/pause_spec.rb
|
511
|
-
- spec/models/bxml/verbs/custom_param_spec.rb
|
512
|
-
- spec/models/bxml/verbs/sip_uri_spec.rb
|
513
510
|
- spec/models/bxml/verbs/hangup_spec.rb
|
511
|
+
- spec/models/bxml/verbs/stop_transcription_spec.rb
|
512
|
+
- spec/models/bxml/verbs/bridge_spec.rb
|
513
|
+
- spec/models/bxml/verbs/tag_spec.rb
|
514
|
+
- spec/models/bxml/verbs/record_spec.rb
|
515
|
+
- spec/models/bxml/verbs/start_gather_spec.rb
|
516
|
+
- spec/models/bxml/verbs/conference_spec.rb
|
517
|
+
- spec/models/bxml/verbs/start_recording_spec.rb
|
514
518
|
- spec/models/bxml/verbs/resume_recording_spec.rb
|
515
|
-
- spec/models/bxml/verbs/
|
516
|
-
- spec/models/bxml/
|
517
|
-
- spec/models/bxml/response_spec.rb
|
518
|
-
- spec/models/bxml/verb_spec.rb
|
519
|
-
- spec/models/call_state_enum_spec.rb
|
519
|
+
- spec/models/bxml/verbs/ring_spec.rb
|
520
|
+
- spec/models/bxml/verbs/forward_spec.rb
|
520
521
|
- spec/models/deferred_result_spec.rb
|
521
|
-
- spec/models/
|
522
|
-
- spec/models/call_state_spec.rb
|
522
|
+
- spec/models/message_spec.rb
|
523
523
|
- spec/spec_helper.rb
|