bandwidth-sdk 13.1.0 → 13.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/bandwidth-sdk.gemspec +1 -1
  4. data/coverage/.last_run.json +1 -1
  5. data/coverage/.resultset.json +125 -117
  6. data/coverage/index.html +1186 -1098
  7. data/lib/bandwidth-sdk/api/calls_api.rb +6 -6
  8. data/lib/bandwidth-sdk/api/conferences_api.rb +10 -10
  9. data/lib/bandwidth-sdk/api/media_api.rb +5 -5
  10. data/lib/bandwidth-sdk/api/messages_api.rb +3 -3
  11. data/lib/bandwidth-sdk/api/mfa_api.rb +4 -4
  12. data/lib/bandwidth-sdk/api/phone_number_lookup_api.rb +3 -3
  13. data/lib/bandwidth-sdk/api/recordings_api.rb +11 -11
  14. data/lib/bandwidth-sdk/api/statistics_api.rb +2 -2
  15. data/lib/bandwidth-sdk/api/transcriptions_api.rb +4 -4
  16. data/lib/bandwidth-sdk/api_client.rb +30 -24
  17. data/lib/bandwidth-sdk/api_error.rb +1 -1
  18. data/lib/bandwidth-sdk/configuration.rb +1 -1
  19. data/lib/bandwidth-sdk/models/account_statistics.rb +1 -1
  20. data/lib/bandwidth-sdk/models/answer_callback.rb +1 -1
  21. data/lib/bandwidth-sdk/models/bridge_complete_callback.rb +1 -1
  22. data/lib/bandwidth-sdk/models/bridge_target_complete_callback.rb +1 -1
  23. data/lib/bandwidth-sdk/models/call_direction_enum.rb +1 -1
  24. data/lib/bandwidth-sdk/models/call_recording_metadata.rb +1 -1
  25. data/lib/bandwidth-sdk/models/call_state.rb +1 -1
  26. data/lib/bandwidth-sdk/models/call_state_enum.rb +1 -1
  27. data/lib/bandwidth-sdk/models/call_transcription.rb +1 -1
  28. data/lib/bandwidth-sdk/models/call_transcription_detected_language_enum.rb +1 -1
  29. data/lib/bandwidth-sdk/models/call_transcription_metadata.rb +1 -1
  30. data/lib/bandwidth-sdk/models/call_transcription_response.rb +1 -1
  31. data/lib/bandwidth-sdk/models/call_transcription_track_enum.rb +1 -1
  32. data/lib/bandwidth-sdk/models/callback_method_enum.rb +1 -1
  33. data/lib/bandwidth-sdk/models/code_request.rb +1 -1
  34. data/lib/bandwidth-sdk/models/conference.rb +1 -1
  35. data/lib/bandwidth-sdk/models/conference_completed_callback.rb +1 -1
  36. data/lib/bandwidth-sdk/models/conference_created_callback.rb +1 -1
  37. data/lib/bandwidth-sdk/models/conference_member.rb +1 -1
  38. data/lib/bandwidth-sdk/models/conference_member_exit_callback.rb +1 -1
  39. data/lib/bandwidth-sdk/models/conference_member_join_callback.rb +1 -1
  40. data/lib/bandwidth-sdk/models/conference_recording_available_callback.rb +1 -1
  41. data/lib/bandwidth-sdk/models/conference_recording_metadata.rb +1 -1
  42. data/lib/bandwidth-sdk/models/conference_redirect_callback.rb +1 -1
  43. data/lib/bandwidth-sdk/models/conference_state_enum.rb +1 -1
  44. data/lib/bandwidth-sdk/models/create_call.rb +1 -1
  45. data/lib/bandwidth-sdk/models/create_call_response.rb +1 -1
  46. data/lib/bandwidth-sdk/models/create_lookup_response.rb +1 -1
  47. data/lib/bandwidth-sdk/models/create_message_request_error.rb +1 -1
  48. data/lib/bandwidth-sdk/models/deferred_result.rb +1 -1
  49. data/lib/bandwidth-sdk/models/disconnect_callback.rb +1 -1
  50. data/lib/bandwidth-sdk/models/diversion.rb +1 -1
  51. data/lib/bandwidth-sdk/models/dtmf_callback.rb +1 -1
  52. data/lib/bandwidth-sdk/models/field_error.rb +1 -1
  53. data/lib/bandwidth-sdk/models/file_format_enum.rb +1 -1
  54. data/lib/bandwidth-sdk/models/gather_callback.rb +1 -1
  55. data/lib/bandwidth-sdk/models/inbound_message_callback.rb +1 -1
  56. data/lib/bandwidth-sdk/models/inbound_message_callback_message.rb +1 -1
  57. data/lib/bandwidth-sdk/models/initiate_callback.rb +1 -1
  58. data/lib/bandwidth-sdk/models/list_message_direction_enum.rb +1 -1
  59. data/lib/bandwidth-sdk/models/list_message_item.rb +1 -1
  60. data/lib/bandwidth-sdk/models/lookup_request.rb +1 -1
  61. data/lib/bandwidth-sdk/models/lookup_result.rb +1 -1
  62. data/lib/bandwidth-sdk/models/lookup_status.rb +1 -1
  63. data/lib/bandwidth-sdk/models/lookup_status_enum.rb +1 -1
  64. data/lib/bandwidth-sdk/models/machine_detection_complete_callback.rb +1 -1
  65. data/lib/bandwidth-sdk/models/machine_detection_configuration.rb +1 -1
  66. data/lib/bandwidth-sdk/models/machine_detection_mode_enum.rb +1 -1
  67. data/lib/bandwidth-sdk/models/machine_detection_result.rb +1 -1
  68. data/lib/bandwidth-sdk/models/media.rb +1 -1
  69. data/lib/bandwidth-sdk/models/message.rb +1 -1
  70. data/lib/bandwidth-sdk/models/message_delivered_callback.rb +1 -1
  71. data/lib/bandwidth-sdk/models/message_delivered_callback_message.rb +1 -1
  72. data/lib/bandwidth-sdk/models/message_direction_enum.rb +1 -1
  73. data/lib/bandwidth-sdk/models/message_failed_callback.rb +1 -1
  74. data/lib/bandwidth-sdk/models/message_failed_callback_message.rb +1 -1
  75. data/lib/bandwidth-sdk/models/message_request.rb +1 -1
  76. data/lib/bandwidth-sdk/models/message_sending_callback.rb +1 -1
  77. data/lib/bandwidth-sdk/models/message_sending_callback_message.rb +1 -1
  78. data/lib/bandwidth-sdk/models/message_status_enum.rb +1 -1
  79. data/lib/bandwidth-sdk/models/message_type_enum.rb +1 -1
  80. data/lib/bandwidth-sdk/models/messages_list.rb +1 -1
  81. data/lib/bandwidth-sdk/models/messaging_code_response.rb +1 -1
  82. data/lib/bandwidth-sdk/models/messaging_request_error.rb +1 -1
  83. data/lib/bandwidth-sdk/models/mfa_forbidden_request_error.rb +1 -1
  84. data/lib/bandwidth-sdk/models/mfa_request_error.rb +1 -1
  85. data/lib/bandwidth-sdk/models/mfa_unauthorized_request_error.rb +1 -1
  86. data/lib/bandwidth-sdk/models/page_info.rb +1 -1
  87. data/lib/bandwidth-sdk/models/priority_enum.rb +1 -1
  88. data/lib/bandwidth-sdk/models/recording_available_callback.rb +1 -1
  89. data/lib/bandwidth-sdk/models/recording_complete_callback.rb +1 -1
  90. data/lib/bandwidth-sdk/models/recording_state_enum.rb +1 -1
  91. data/lib/bandwidth-sdk/models/recording_transcription_metadata.rb +1 -1
  92. data/lib/bandwidth-sdk/models/recording_transcriptions.rb +1 -1
  93. data/lib/bandwidth-sdk/models/redirect_callback.rb +1 -1
  94. data/lib/bandwidth-sdk/models/redirect_method_enum.rb +1 -1
  95. data/lib/bandwidth-sdk/models/stir_shaken.rb +1 -1
  96. data/lib/bandwidth-sdk/models/tag.rb +1 -1
  97. data/lib/bandwidth-sdk/models/tn_lookup_request_error.rb +1 -1
  98. data/lib/bandwidth-sdk/models/transcribe_recording.rb +1 -1
  99. data/lib/bandwidth-sdk/models/transcription.rb +1 -1
  100. data/lib/bandwidth-sdk/models/transcription_available_callback.rb +1 -1
  101. data/lib/bandwidth-sdk/models/transfer_answer_callback.rb +1 -1
  102. data/lib/bandwidth-sdk/models/transfer_complete_callback.rb +1 -1
  103. data/lib/bandwidth-sdk/models/transfer_disconnect_callback.rb +1 -1
  104. data/lib/bandwidth-sdk/models/update_call.rb +1 -1
  105. data/lib/bandwidth-sdk/models/update_call_recording.rb +1 -1
  106. data/lib/bandwidth-sdk/models/update_conference.rb +1 -1
  107. data/lib/bandwidth-sdk/models/update_conference_member.rb +1 -1
  108. data/lib/bandwidth-sdk/models/verify_code_request.rb +1 -1
  109. data/lib/bandwidth-sdk/models/verify_code_response.rb +1 -1
  110. data/lib/bandwidth-sdk/models/voice_api_error.rb +1 -1
  111. data/lib/bandwidth-sdk/models/voice_code_response.rb +1 -1
  112. data/lib/bandwidth-sdk/version.rb +2 -2
  113. data/lib/bandwidth-sdk.rb +1 -1
  114. data/openapitools.json +1 -1
  115. data/spec/unit/api/conferences_api_spec.rb +3 -2
  116. data/spec/unit/api/media_api_spec.rb +3 -2
  117. data/spec/unit/api/recordings_api_spec.rb +2 -2
  118. metadata +2 -2
@@ -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.7.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -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.7.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -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.7.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -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.7.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -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.7.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -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.7.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -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.7.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -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.7.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -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.7.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -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.7.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -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.7.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -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.7.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -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.7.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -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.7.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -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.7.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -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.7.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
@@ -6,10 +6,10 @@
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.7.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
13
13
  module Bandwidth
14
- VERSION = '13.1.0'
14
+ VERSION = '13.1.1'
15
15
  end
data/lib/bandwidth-sdk.rb CHANGED
@@ -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.7.0
9
+ Generator version: 7.8.0
10
10
 
11
11
  =end
12
12
 
data/openapitools.json CHANGED
@@ -2,6 +2,6 @@
2
2
  "$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
3
3
  "spaces": 2,
4
4
  "generator-cli": {
5
- "version": "7.7.0"
5
+ "version": "7.8.0"
6
6
  }
7
7
  }
@@ -10,6 +10,7 @@ describe 'ConferencesApi' do
10
10
  config.username = BW_USERNAME
11
11
  config.password = BW_PASSWORD
12
12
  config.ignore_operation_servers = true
13
+ config.return_binary_data = true
13
14
  config.host = '127.0.0.1:4010'
14
15
  end
15
16
  @conferences_api_instance = Bandwidth::ConferencesApi.new
@@ -28,8 +29,8 @@ describe 'ConferencesApi' do
28
29
  BW_ACCOUNT_ID, conference_id, recording_id, { header_params: { 'Accept' => 'audio/vnd.wave' } })
29
30
 
30
31
  expect(status_code).to eq(200)
31
- # expect(data).to be_instance_of(String)
32
- end if false # skip for now due to an issue with setting the Accept header
32
+ expect(data).to be_instance_of(String)
33
+ end
33
34
 
34
35
  it 'causes an ArgumentError for a missing account_id' do
35
36
  expect {
@@ -10,6 +10,7 @@ describe 'MediaApi' do
10
10
  config.username = BW_USERNAME
11
11
  config.password = BW_PASSWORD
12
12
  config.ignore_operation_servers = true
13
+ config.return_binary_data = true
13
14
  config.host = '127.0.0.1:4010'
14
15
  end
15
16
  @media_api_instance = Bandwidth::MediaApi.new
@@ -49,8 +50,8 @@ describe 'MediaApi' do
49
50
  BW_ACCOUNT_ID, media_name, { header_params: { 'Accept' => 'application/octet-stream' } })
50
51
 
51
52
  expect(status_code).to eq(200)
52
- # expect(data).to be_instance_of(String)
53
- end if false # skip due to Accept header issue
53
+ expect(data).to be_instance_of(String)
54
+ end
54
55
 
55
56
  it 'causes an ArgumentError for a missing account_id' do
56
57
  expect {
@@ -109,8 +109,8 @@ describe 'RecordingsApi' do
109
109
  BW_ACCOUNT_ID, call_id, recording_id, { header_params: { 'Accept' => 'audio/vnd.wave' } })
110
110
 
111
111
  expect(status_code).to eq(200)
112
- # expect(data).to be_instance_of(String)
113
- end if false # skip due to Accept header issue
112
+ expect(data).to be_instance_of(String)
113
+ end
114
114
 
115
115
  it 'causes an ArgumentError for a missing account_id' do
116
116
  expect {
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: 13.1.0
4
+ version: 13.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bandwidth
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-13 00:00:00.000000000 Z
11
+ date: 2024-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday