bandwidth-sdk 12.1.0 → 13.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -2
  3. data/Gemfile.lock +16 -25
  4. data/README.md +2 -0
  5. data/bandwidth-sdk.gemspec +3 -1
  6. data/bandwidth.yml +43 -22
  7. data/coverage/.last_run.json +1 -1
  8. data/coverage/.resultset.json +529 -792
  9. data/coverage/index.html +5293 -8186
  10. data/custom_templates/Gemfile.mustache +1 -2
  11. data/custom_templates/gemspec.mustache +2 -0
  12. data/docs/AnswerCallback.md +1 -1
  13. data/docs/BridgeCompleteCallback.md +1 -1
  14. data/docs/BridgeTargetCompleteCallback.md +1 -1
  15. data/docs/CallRecordingMetadata.md +5 -3
  16. data/docs/CallState.md +1 -1
  17. data/docs/CallTranscription.md +6 -6
  18. data/docs/CallTranscriptionDetectedLanguageEnum.md +15 -0
  19. data/docs/CallTranscriptionMetadata.md +2 -0
  20. data/docs/CallTranscriptionResponse.md +2 -2
  21. data/docs/CallTranscriptionTrackEnum.md +15 -0
  22. data/docs/ConferenceRecordingAvailableCallback.md +1 -1
  23. data/docs/ConferenceRecordingMetadata.md +4 -2
  24. data/docs/DisconnectCallback.md +1 -1
  25. data/docs/DtmfCallback.md +2 -2
  26. data/docs/GatherCallback.md +2 -2
  27. data/docs/InitiateCallback.md +1 -1
  28. data/docs/MachineDetectionCompleteCallback.md +1 -1
  29. data/docs/MessagingCodeResponse.md +1 -1
  30. data/docs/RecordingAvailableCallback.md +2 -2
  31. data/docs/RecordingCompleteCallback.md +2 -2
  32. data/docs/RecordingTranscriptionMetadata.md +1 -1
  33. data/docs/RedirectCallback.md +2 -2
  34. data/docs/TranscriptionAvailableCallback.md +2 -2
  35. data/docs/TranscriptionsApi.md +1 -1
  36. data/docs/TransferAnswerCallback.md +2 -2
  37. data/docs/TransferCompleteCallback.md +2 -2
  38. data/docs/TransferDisconnectCallback.md +2 -2
  39. data/lib/bandwidth-sdk/api/calls_api.rb +1 -1
  40. data/lib/bandwidth-sdk/api/conferences_api.rb +1 -1
  41. data/lib/bandwidth-sdk/api/media_api.rb +1 -1
  42. data/lib/bandwidth-sdk/api/messages_api.rb +1 -1
  43. data/lib/bandwidth-sdk/api/mfa_api.rb +1 -1
  44. data/lib/bandwidth-sdk/api/phone_number_lookup_api.rb +1 -1
  45. data/lib/bandwidth-sdk/api/recordings_api.rb +1 -1
  46. data/lib/bandwidth-sdk/api/statistics_api.rb +1 -1
  47. data/lib/bandwidth-sdk/api/transcriptions_api.rb +3 -3
  48. data/lib/bandwidth-sdk/api_client.rb +44 -41
  49. data/lib/bandwidth-sdk/api_error.rb +1 -1
  50. data/lib/bandwidth-sdk/configuration.rb +11 -1
  51. data/lib/bandwidth-sdk/models/account_statistics.rb +2 -2
  52. data/lib/bandwidth-sdk/models/answer_callback.rb +2 -2
  53. data/lib/bandwidth-sdk/models/bridge_complete_callback.rb +2 -2
  54. data/lib/bandwidth-sdk/models/bridge_target_complete_callback.rb +2 -2
  55. data/lib/bandwidth-sdk/models/bxml/root.rb +0 -6
  56. data/lib/bandwidth-sdk/models/bxml/verbs/gather.rb +0 -6
  57. data/lib/bandwidth-sdk/models/bxml/verbs/start_stream.rb +0 -6
  58. data/lib/bandwidth-sdk/models/bxml/verbs/start_transcription.rb +0 -6
  59. data/lib/bandwidth-sdk/models/bxml/verbs/transfer.rb +0 -6
  60. data/lib/bandwidth-sdk/models/call_direction_enum.rb +1 -1
  61. data/lib/bandwidth-sdk/models/call_recording_metadata.rb +17 -7
  62. data/lib/bandwidth-sdk/models/call_state.rb +2 -2
  63. data/lib/bandwidth-sdk/models/call_state_enum.rb +1 -1
  64. data/lib/bandwidth-sdk/models/call_transcription.rb +11 -37
  65. data/lib/bandwidth-sdk/models/call_transcription_detected_language_enum.rb +41 -0
  66. data/lib/bandwidth-sdk/models/call_transcription_metadata.rb +13 -3
  67. data/lib/bandwidth-sdk/models/call_transcription_response.rb +2 -2
  68. data/lib/bandwidth-sdk/models/call_transcription_track_enum.rb +40 -0
  69. data/lib/bandwidth-sdk/models/callback_method_enum.rb +1 -1
  70. data/lib/bandwidth-sdk/models/code_request.rb +2 -2
  71. data/lib/bandwidth-sdk/models/conference.rb +2 -2
  72. data/lib/bandwidth-sdk/models/conference_completed_callback.rb +2 -2
  73. data/lib/bandwidth-sdk/models/conference_created_callback.rb +2 -2
  74. data/lib/bandwidth-sdk/models/conference_member.rb +2 -2
  75. data/lib/bandwidth-sdk/models/conference_member_exit_callback.rb +2 -2
  76. data/lib/bandwidth-sdk/models/conference_member_join_callback.rb +2 -2
  77. data/lib/bandwidth-sdk/models/conference_recording_available_callback.rb +2 -2
  78. data/lib/bandwidth-sdk/models/conference_recording_metadata.rb +17 -7
  79. data/lib/bandwidth-sdk/models/conference_redirect_callback.rb +2 -2
  80. data/lib/bandwidth-sdk/models/conference_state_enum.rb +1 -1
  81. data/lib/bandwidth-sdk/models/create_call.rb +2 -2
  82. data/lib/bandwidth-sdk/models/create_call_response.rb +2 -2
  83. data/lib/bandwidth-sdk/models/create_lookup_response.rb +2 -2
  84. data/lib/bandwidth-sdk/models/create_message_request_error.rb +2 -2
  85. data/lib/bandwidth-sdk/models/deferred_result.rb +2 -2
  86. data/lib/bandwidth-sdk/models/disconnect_callback.rb +2 -2
  87. data/lib/bandwidth-sdk/models/diversion.rb +2 -2
  88. data/lib/bandwidth-sdk/models/dtmf_callback.rb +2 -2
  89. data/lib/bandwidth-sdk/models/field_error.rb +2 -2
  90. data/lib/bandwidth-sdk/models/file_format_enum.rb +1 -1
  91. data/lib/bandwidth-sdk/models/gather_callback.rb +2 -2
  92. data/lib/bandwidth-sdk/models/inbound_message_callback.rb +2 -2
  93. data/lib/bandwidth-sdk/models/inbound_message_callback_message.rb +2 -2
  94. data/lib/bandwidth-sdk/models/initiate_callback.rb +2 -2
  95. data/lib/bandwidth-sdk/models/list_message_direction_enum.rb +1 -1
  96. data/lib/bandwidth-sdk/models/list_message_item.rb +2 -2
  97. data/lib/bandwidth-sdk/models/lookup_request.rb +2 -2
  98. data/lib/bandwidth-sdk/models/lookup_result.rb +2 -2
  99. data/lib/bandwidth-sdk/models/lookup_status.rb +2 -2
  100. data/lib/bandwidth-sdk/models/lookup_status_enum.rb +1 -1
  101. data/lib/bandwidth-sdk/models/machine_detection_complete_callback.rb +2 -2
  102. data/lib/bandwidth-sdk/models/machine_detection_configuration.rb +2 -2
  103. data/lib/bandwidth-sdk/models/machine_detection_mode_enum.rb +1 -1
  104. data/lib/bandwidth-sdk/models/machine_detection_result.rb +2 -2
  105. data/lib/bandwidth-sdk/models/media.rb +2 -2
  106. data/lib/bandwidth-sdk/models/message.rb +2 -2
  107. data/lib/bandwidth-sdk/models/message_delivered_callback.rb +2 -2
  108. data/lib/bandwidth-sdk/models/message_delivered_callback_message.rb +2 -2
  109. data/lib/bandwidth-sdk/models/message_direction_enum.rb +1 -1
  110. data/lib/bandwidth-sdk/models/message_failed_callback.rb +2 -2
  111. data/lib/bandwidth-sdk/models/message_failed_callback_message.rb +2 -2
  112. data/lib/bandwidth-sdk/models/message_request.rb +2 -2
  113. data/lib/bandwidth-sdk/models/message_sending_callback.rb +2 -2
  114. data/lib/bandwidth-sdk/models/message_sending_callback_message.rb +2 -2
  115. data/lib/bandwidth-sdk/models/message_status_enum.rb +1 -1
  116. data/lib/bandwidth-sdk/models/message_type_enum.rb +1 -1
  117. data/lib/bandwidth-sdk/models/messages_list.rb +2 -2
  118. data/lib/bandwidth-sdk/models/messaging_code_response.rb +2 -2
  119. data/lib/bandwidth-sdk/models/messaging_request_error.rb +2 -2
  120. data/lib/bandwidth-sdk/models/mfa_forbidden_request_error.rb +2 -2
  121. data/lib/bandwidth-sdk/models/mfa_request_error.rb +2 -2
  122. data/lib/bandwidth-sdk/models/mfa_unauthorized_request_error.rb +2 -2
  123. data/lib/bandwidth-sdk/models/page_info.rb +2 -2
  124. data/lib/bandwidth-sdk/models/priority_enum.rb +1 -1
  125. data/lib/bandwidth-sdk/models/recording_available_callback.rb +2 -2
  126. data/lib/bandwidth-sdk/models/recording_complete_callback.rb +2 -2
  127. data/lib/bandwidth-sdk/models/recording_state_enum.rb +1 -1
  128. data/lib/bandwidth-sdk/models/recording_transcription_metadata.rb +3 -3
  129. data/lib/bandwidth-sdk/models/recording_transcriptions.rb +2 -2
  130. data/lib/bandwidth-sdk/models/redirect_callback.rb +2 -2
  131. data/lib/bandwidth-sdk/models/redirect_method_enum.rb +1 -1
  132. data/lib/bandwidth-sdk/models/stir_shaken.rb +2 -2
  133. data/lib/bandwidth-sdk/models/tag.rb +2 -2
  134. data/lib/bandwidth-sdk/models/tn_lookup_request_error.rb +2 -2
  135. data/lib/bandwidth-sdk/models/transcribe_recording.rb +2 -2
  136. data/lib/bandwidth-sdk/models/transcription.rb +2 -2
  137. data/lib/bandwidth-sdk/models/transcription_available_callback.rb +2 -2
  138. data/lib/bandwidth-sdk/models/transfer_answer_callback.rb +2 -2
  139. data/lib/bandwidth-sdk/models/transfer_complete_callback.rb +2 -2
  140. data/lib/bandwidth-sdk/models/transfer_disconnect_callback.rb +2 -2
  141. data/lib/bandwidth-sdk/models/update_call.rb +2 -2
  142. data/lib/bandwidth-sdk/models/update_call_recording.rb +2 -2
  143. data/lib/bandwidth-sdk/models/update_conference.rb +2 -2
  144. data/lib/bandwidth-sdk/models/update_conference_member.rb +2 -2
  145. data/lib/bandwidth-sdk/models/verify_code_request.rb +2 -2
  146. data/lib/bandwidth-sdk/models/verify_code_response.rb +2 -2
  147. data/lib/bandwidth-sdk/models/voice_api_error.rb +2 -2
  148. data/lib/bandwidth-sdk/models/voice_code_response.rb +2 -2
  149. data/lib/bandwidth-sdk/version.rb +2 -2
  150. data/lib/bandwidth-sdk.rb +3 -1
  151. data/openapitools.json +1 -1
  152. data/spec/call_utils.rb +1 -1
  153. data/spec/smoke/calls_api_spec.rb +1 -6
  154. data/spec/smoke/conferences_api_spec.rb +0 -5
  155. data/spec/smoke/media_api_spec.rb +0 -5
  156. data/spec/smoke/messages_api_spec.rb +0 -5
  157. data/spec/smoke/mfa_api_spec.rb +0 -5
  158. data/spec/smoke/phone_number_lookup_api_spec.rb +0 -5
  159. data/spec/smoke/recordings_api_spec.rb +0 -5
  160. data/spec/smoke/statistics_api_spec.rb +0 -5
  161. data/spec/smoke/transcriptions_api_spec.rb +1 -5
  162. data/spec/spec_helper.rb +11 -4
  163. data/spec/unit/api/calls_api_spec.rb +98 -128
  164. data/spec/unit/api/conferences_api_spec.rb +63 -126
  165. data/spec/unit/api/media_api_spec.rb +17 -32
  166. data/spec/unit/api/messages_api_spec.rb +46 -136
  167. data/spec/unit/api/mfa_api_spec.rb +8 -24
  168. data/spec/unit/api/phone_number_lookup_api_spec.rb +23 -37
  169. data/spec/unit/api/recordings_api_spec.rb +87 -111
  170. data/spec/unit/api/statistics_api_spec.rb +7 -15
  171. data/spec/unit/api/transcriptions_api_spec.rb +19 -37
  172. data/spec/unit/client/api_client_spec.rb +4 -4
  173. metadata +61 -43
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cd4a580afa3bf764a51ad78f518b5e9d93f7f7bba839ab1ca643a511362dc76a
4
- data.tar.gz: 9839ac94b8ccd790be293cd4278fad2605507c947db07ecf8595284390ffe0ac
3
+ metadata.gz: b267b8cfa15ea2ff23186641188b7a1fe3e1f82b1774d9401e1d66526ffbd085
4
+ data.tar.gz: '05982bc4ab734d6680660922b141d6b6e019c59e79814cce48a84447fdd09bd7'
5
5
  SHA512:
6
- metadata.gz: c5077f73d866b0d4d28e4ad5fe292c1180364bdbba1892687110ea00dabf0d9d7245e64e8f50ee848430f406e6359bbed169be656ad14390b4c900a307fd5d0d
7
- data.tar.gz: abb67c141f244fde7829ba0370e46a6aa2455b98dd511b1674032a6c096ddc6e0bfbf513fdbe295a37300681e94394c66a027b2b82cf962af66fe62dddce571a
6
+ metadata.gz: 0ae0e2dcb3c531a664e29a5d5cb6e126eaf2ae0cef9080f2682995a06a29ad4a8c21484ce6b6b177975d1a7f1aeb5a7ebac3cdcf0ea079d050d0f1e6618e42ec
7
+ data.tar.gz: 21ef287593a4d498aa00fabcac605522be09c0dab1ba464f1a05499520a8618b3092c6639944f76c2ebe455a25f58ba2003f4ddf00da12224da04ca947825285
data/Gemfile CHANGED
@@ -3,9 +3,8 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem 'rake', '~> 13.0.1'
6
+ gem 'rake', '~> 13.2.1'
7
7
  gem 'pry-byebug'
8
8
  gem 'rubocop', '~> 1.52.0'
9
- gem 'webmock', '~> 3.18.0'
10
9
  gem 'simplecov', '~> 0.21.2'
11
10
  end
data/Gemfile.lock CHANGED
@@ -1,40 +1,37 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bandwidth-sdk (12.1.0)
4
+ bandwidth-sdk (13.1.0)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart
7
+ marcel
7
8
  ox (~> 2.4)
8
9
 
9
10
  GEM
10
11
  remote: https://rubygems.org/
11
12
  specs:
12
- addressable (2.8.6)
13
- public_suffix (>= 2.0.2, < 6.0)
14
13
  ast (2.4.2)
15
- bigdecimal (3.1.8)
16
14
  byebug (11.1.3)
17
15
  coderay (1.1.3)
18
- crack (1.0.0)
19
- bigdecimal
20
- rexml
21
16
  diff-lcs (1.5.1)
22
- docile (1.4.0)
23
- faraday (2.9.1)
17
+ docile (1.4.1)
18
+ faraday (2.10.1)
24
19
  faraday-net_http (>= 2.0, < 3.2)
20
+ logger
25
21
  faraday-multipart (1.0.4)
26
22
  multipart-post (~> 2)
27
- faraday-net_http (3.1.0)
23
+ faraday-net_http (3.1.1)
28
24
  net-http
29
- hashdiff (1.1.0)
30
25
  json (2.7.2)
26
+ logger (1.6.0)
27
+ marcel (1.0.4)
31
28
  method_source (1.1.0)
32
29
  multipart-post (2.4.1)
33
30
  net-http (0.4.1)
34
31
  uri
35
32
  ox (2.14.18)
36
- parallel (1.25.1)
37
- parser (3.3.2.0)
33
+ parallel (1.26.2)
34
+ parser (3.3.4.2)
38
35
  ast (~> 2.4.1)
39
36
  racc
40
37
  pry (0.14.2)
@@ -43,12 +40,11 @@ GEM
43
40
  pry-byebug (3.10.1)
44
41
  byebug (~> 11.0)
45
42
  pry (>= 0.13, < 0.15)
46
- public_suffix (5.0.5)
47
- racc (1.8.0)
43
+ racc (1.8.1)
48
44
  rainbow (3.1.1)
49
- rake (13.0.6)
45
+ rake (13.2.1)
50
46
  regexp_parser (2.9.2)
51
- rexml (3.3.0)
47
+ rexml (3.3.5)
52
48
  strscan
53
49
  rspec (3.13.0)
54
50
  rspec-core (~> 3.13.0)
@@ -56,7 +52,7 @@ GEM
56
52
  rspec-mocks (~> 3.13.0)
57
53
  rspec-core (3.13.0)
58
54
  rspec-support (~> 3.13.0)
59
- rspec-expectations (3.13.0)
55
+ rspec-expectations (3.13.1)
60
56
  diff-lcs (>= 1.2.0, < 2.0)
61
57
  rspec-support (~> 3.13.0)
62
58
  rspec-mocks (3.13.1)
@@ -73,7 +69,7 @@ GEM
73
69
  rubocop-ast (>= 1.28.0, < 2.0)
74
70
  ruby-progressbar (~> 1.7)
75
71
  unicode-display_width (>= 2.4.0, < 3.0)
76
- rubocop-ast (1.31.3)
72
+ rubocop-ast (1.32.0)
77
73
  parser (>= 3.3.1.0)
78
74
  ruby-progressbar (1.13.0)
79
75
  simplecov (0.21.2)
@@ -85,10 +81,6 @@ GEM
85
81
  strscan (3.1.0)
86
82
  unicode-display_width (2.5.0)
87
83
  uri (0.13.0)
88
- webmock (3.18.1)
89
- addressable (>= 2.8.0)
90
- crack (>= 0.3.2)
91
- hashdiff (>= 0.4.0, < 2.0.0)
92
84
 
93
85
  PLATFORMS
94
86
  x86_64-linux
@@ -96,11 +88,10 @@ PLATFORMS
96
88
  DEPENDENCIES
97
89
  bandwidth-sdk!
98
90
  pry-byebug
99
- rake (~> 13.0.1)
91
+ rake (~> 13.2.1)
100
92
  rspec (~> 3.6, >= 3.6.0)
101
93
  rubocop (~> 1.52.0)
102
94
  simplecov (~> 0.21.2)
103
- webmock (~> 3.18.0)
104
95
 
105
96
  BUNDLED WITH
106
97
  2.2.33
data/README.md CHANGED
@@ -159,8 +159,10 @@ Class | Method | HTTP request | Description
159
159
  - [Bandwidth::CallState](docs/CallState.md)
160
160
  - [Bandwidth::CallStateEnum](docs/CallStateEnum.md)
161
161
  - [Bandwidth::CallTranscription](docs/CallTranscription.md)
162
+ - [Bandwidth::CallTranscriptionDetectedLanguageEnum](docs/CallTranscriptionDetectedLanguageEnum.md)
162
163
  - [Bandwidth::CallTranscriptionMetadata](docs/CallTranscriptionMetadata.md)
163
164
  - [Bandwidth::CallTranscriptionResponse](docs/CallTranscriptionResponse.md)
165
+ - [Bandwidth::CallTranscriptionTrackEnum](docs/CallTranscriptionTrackEnum.md)
164
166
  - [Bandwidth::CallbackMethodEnum](docs/CallbackMethodEnum.md)
165
167
  - [Bandwidth::CodeRequest](docs/CodeRequest.md)
166
168
  - [Bandwidth::Conference](docs/Conference.md)
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: 1.0.0
9
9
  Contact: letstalk@bandwidth.com
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 7.0.0
11
+ Generator version: 7.7.0
12
12
 
13
13
  =end
14
14
 
@@ -26,10 +26,12 @@ Gem::Specification.new do |s|
26
26
  s.description = 'The official client SDK for Bandwidth&#39;s Voice, Messaging, MFA, and WebRTC APIs'
27
27
  s.license = 'MIT'
28
28
  s.required_ruby_version = '>=2.7'
29
+ s.metadata = {}
29
30
 
30
31
  s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 3.0'
31
32
  s.add_runtime_dependency 'faraday-multipart'
32
33
  s.add_runtime_dependency 'ox', '~> 2.4'
34
+ s.add_runtime_dependency 'marcel'
33
35
 
34
36
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
35
37
 
data/bandwidth.yml CHANGED
@@ -1173,7 +1173,7 @@ paths:
1173
1173
  [startTranscription](/docs/voice/bxml/startTranscription).
1174
1174
 
1175
1175
 
1176
- Note: After the deletion is requested and a `204` is returned, the
1176
+ Note: After the deletion is requested and a `200` is returned, the
1177
1177
  transcription will not be accessible anymore. However, it is not deleted
1178
1178
  immediately. This deletion process, while transparent and irreversible,
1179
1179
  can take an additional 24 to 48 hours.
@@ -1183,7 +1183,7 @@ paths:
1183
1183
  - $ref: '#/components/parameters/callId'
1184
1184
  - $ref: '#/components/parameters/transcriptionId'
1185
1185
  responses:
1186
- '204':
1186
+ '200':
1187
1187
  $ref: '#/components/responses/deleteCallTranscriptionResponse'
1188
1188
  '400':
1189
1189
  $ref: '#/components/responses/voiceBadRequestError'
@@ -2131,6 +2131,21 @@ components:
2131
2131
 
2132
2132
  and will include its result.
2133
2133
  example: async
2134
+ callTranscriptionDetectedLanguageEnum:
2135
+ type: string
2136
+ enum:
2137
+ - en-US
2138
+ - es-US
2139
+ - fr-FR
2140
+ description: The detected language for this transcription.
2141
+ example: en-US
2142
+ callTranscriptionTrackEnum:
2143
+ type: string
2144
+ enum:
2145
+ - inbound
2146
+ - outbound
2147
+ description: Which `track` this transcription is derived from.
2148
+ example: inbound
2134
2149
  createCall:
2135
2150
  type: object
2136
2151
  required:
@@ -2496,7 +2511,7 @@ components:
2496
2511
  description: >-
2497
2512
  The phone number that made the call, in E.164 format (e.g.
2498
2513
  +15555555555).
2499
- example: '19195554321'
2514
+ example: '+19195554321'
2500
2515
  direction:
2501
2516
  $ref: '#/components/schemas/callDirectionEnum'
2502
2517
  state:
@@ -2787,6 +2802,8 @@ components:
2787
2802
  $ref: '#/components/schemas/mediaUrl'
2788
2803
  transcription:
2789
2804
  $ref: '#/components/schemas/recordingTranscriptionMetadata'
2805
+ recordingName:
2806
+ $ref: '#/components/schemas/recordingName'
2790
2807
  conference:
2791
2808
  type: object
2792
2809
  properties:
@@ -3026,6 +3043,8 @@ components:
3026
3043
  $ref: '#/components/schemas/status'
3027
3044
  mediaUrl:
3028
3045
  $ref: '#/components/schemas/mediaUrl'
3046
+ recordingName:
3047
+ $ref: '#/components/schemas/recordingName'
3029
3048
  machineDetectionConfiguration:
3030
3049
  type: object
3031
3050
  description: >-
@@ -3239,6 +3258,7 @@ components:
3239
3258
  $ref: '#/components/schemas/callTranscriptionMetadata'
3240
3259
  example:
3241
3260
  - transcriptionId: t-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b
3261
+ transcriptionName: live_transcription
3242
3262
  transcriptionUrl: >-
3243
3263
  https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-fef240ff-5cfc9091-8069-4863-a8c0-a4dcbbf1f1a4/transcriptions/t-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b
3244
3264
  callTranscriptionMetadata:
@@ -3248,6 +3268,12 @@ components:
3248
3268
  type: string
3249
3269
  description: The programmable voice API transcription ID.
3250
3270
  example: t-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b
3271
+ transcriptionName:
3272
+ type: string
3273
+ description: >-
3274
+ The programmable voice API transcription name. This name could be
3275
+ provided by the user when creating the transcription.
3276
+ example: live_transcription
3251
3277
  transcriptionUrl:
3252
3278
  type: string
3253
3279
  description: >-
@@ -3265,7 +3291,7 @@ components:
3265
3291
  accountId:
3266
3292
  type: string
3267
3293
  description: The user account associated with the call.
3268
- example: '920012'
3294
+ example: '9900000'
3269
3295
  callId:
3270
3296
  type: string
3271
3297
  description: The call id associated with the event.
@@ -3281,27 +3307,16 @@ components:
3281
3307
  example:
3282
3308
  - detectedLanguage: en-US
3283
3309
  track: inbound
3284
- text: Hello World! This is an example.
3310
+ transcript: Hello World! This is an example.
3285
3311
  confidence: 0.9
3286
3312
  callTranscription:
3287
3313
  type: object
3288
3314
  properties:
3289
3315
  detectedLanguage:
3290
- type: string
3291
- enum:
3292
- - en-US
3293
- - es-US
3294
- - fr-FR
3295
- description: The detected language for this transcription.
3296
- example: en-US
3316
+ $ref: '#/components/schemas/callTranscriptionDetectedLanguageEnum'
3297
3317
  track:
3298
- type: string
3299
- enum:
3300
- - inbound
3301
- - outbound
3302
- description: Which `track` this transcription is derived from.
3303
- example: inbound
3304
- text:
3318
+ $ref: '#/components/schemas/callTranscriptionTrackEnum'
3319
+ transcript:
3305
3320
  type: string
3306
3321
  description: The transcription itself.
3307
3322
  example: Hello World! This is an example.
@@ -3327,6 +3342,7 @@ components:
3327
3342
  $ref: '#/components/schemas/status'
3328
3343
  completedTime:
3329
3344
  type: string
3345
+ format: date-time
3330
3346
  description: The time that the transcription was completed
3331
3347
  example: '2022-06-13T18:46:29.715Z'
3332
3348
  url:
@@ -4139,7 +4155,7 @@ components:
4139
4155
  accountId:
4140
4156
  type: string
4141
4157
  description: The user account associated with the call.
4142
- example: '920012'
4158
+ example: '9900000'
4143
4159
  applicationId:
4144
4160
  type: string
4145
4161
  description: The id of the application associated with the call.
@@ -4240,7 +4256,7 @@ components:
4240
4256
  description: >-
4241
4257
  The phone number used as the to field of the B-leg call, in E.164 format
4242
4258
  (e.g. +15555555555).
4243
- example: +15555555555)
4259
+ example: '+15555555555'
4244
4260
  mediaUrl:
4245
4261
  nullable: true
4246
4262
  type: string
@@ -4254,6 +4270,10 @@ components:
4254
4270
  type: string
4255
4271
  description: The call id associated with the event.
4256
4272
  example: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85
4273
+ recordingName:
4274
+ type: string
4275
+ description: A name to identify this recording.
4276
+ example: my-recording-name
4257
4277
  callUrl:
4258
4278
  type: string
4259
4279
  description: The URL of the call associated with the event.
@@ -4451,7 +4471,7 @@ components:
4451
4471
  messageId:
4452
4472
  type: string
4453
4473
  description: Messaging API Message ID.
4454
- example: 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6
4474
+ example: 1589228074636lm4k2je7j7jklbn2
4455
4475
  verifyCodeRequest:
4456
4476
  type: object
4457
4477
  properties:
@@ -5787,6 +5807,7 @@ components:
5787
5807
  answerMethod: POST
5788
5808
  answerUrl: https://myServer.example/bandwidth/webhooks/answer
5789
5809
  answerFallbackMethod: POST
5810
+ answerFallbackUrl: https://myServer.example/bandwidth/webhooks/answerFallback
5790
5811
  disconnectMethod: POST
5791
5812
  disconnectUrl: https://myServer.example/bandwidth/webhooks/disconnect
5792
5813
  username: mySecretUsername
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "result": {
3
- "line": 96.18
3
+ "line": 91.44
4
4
  }
5
5
  }