bandwidth-sdk 12.1.0 → 13.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (172) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -2
  3. data/Gemfile.lock +11 -20
  4. data/README.md +2 -0
  5. data/bandwidth-sdk.gemspec +3 -1
  6. data/bandwidth.yml +28 -22
  7. data/coverage/.last_run.json +1 -1
  8. data/coverage/.resultset.json +489 -756
  9. data/coverage/index.html +5225 -8162
  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 +2 -2
  16. data/docs/CallState.md +1 -1
  17. data/docs/CallTranscription.md +6 -6
  18. data/docs/CallTranscriptionDetectedLanguageEnum.md +15 -0
  19. data/docs/CallTranscriptionResponse.md +2 -2
  20. data/docs/CallTranscriptionTrackEnum.md +15 -0
  21. data/docs/ConferenceRecordingAvailableCallback.md +1 -1
  22. data/docs/ConferenceRecordingMetadata.md +1 -1
  23. data/docs/DisconnectCallback.md +1 -1
  24. data/docs/DtmfCallback.md +2 -2
  25. data/docs/GatherCallback.md +2 -2
  26. data/docs/InitiateCallback.md +1 -1
  27. data/docs/MachineDetectionCompleteCallback.md +1 -1
  28. data/docs/MessagingCodeResponse.md +1 -1
  29. data/docs/RecordingAvailableCallback.md +2 -2
  30. data/docs/RecordingCompleteCallback.md +2 -2
  31. data/docs/RecordingTranscriptionMetadata.md +1 -1
  32. data/docs/RedirectCallback.md +2 -2
  33. data/docs/TranscriptionAvailableCallback.md +2 -2
  34. data/docs/TranscriptionsApi.md +1 -1
  35. data/docs/TransferAnswerCallback.md +2 -2
  36. data/docs/TransferCompleteCallback.md +2 -2
  37. data/docs/TransferDisconnectCallback.md +2 -2
  38. data/lib/bandwidth-sdk/api/calls_api.rb +1 -1
  39. data/lib/bandwidth-sdk/api/conferences_api.rb +1 -1
  40. data/lib/bandwidth-sdk/api/media_api.rb +1 -1
  41. data/lib/bandwidth-sdk/api/messages_api.rb +1 -1
  42. data/lib/bandwidth-sdk/api/mfa_api.rb +1 -1
  43. data/lib/bandwidth-sdk/api/phone_number_lookup_api.rb +1 -1
  44. data/lib/bandwidth-sdk/api/recordings_api.rb +1 -1
  45. data/lib/bandwidth-sdk/api/statistics_api.rb +1 -1
  46. data/lib/bandwidth-sdk/api/transcriptions_api.rb +3 -3
  47. data/lib/bandwidth-sdk/api_client.rb +44 -41
  48. data/lib/bandwidth-sdk/api_error.rb +1 -1
  49. data/lib/bandwidth-sdk/configuration.rb +11 -1
  50. data/lib/bandwidth-sdk/models/account_statistics.rb +2 -2
  51. data/lib/bandwidth-sdk/models/answer_callback.rb +2 -2
  52. data/lib/bandwidth-sdk/models/bridge_complete_callback.rb +2 -2
  53. data/lib/bandwidth-sdk/models/bridge_target_complete_callback.rb +2 -2
  54. data/lib/bandwidth-sdk/models/bxml/root.rb +0 -6
  55. data/lib/bandwidth-sdk/models/bxml/verbs/gather.rb +0 -6
  56. data/lib/bandwidth-sdk/models/bxml/verbs/start_stream.rb +0 -6
  57. data/lib/bandwidth-sdk/models/bxml/verbs/start_transcription.rb +0 -6
  58. data/lib/bandwidth-sdk/models/bxml/verbs/transfer.rb +0 -6
  59. data/lib/bandwidth-sdk/models/call_direction_enum.rb +1 -1
  60. data/lib/bandwidth-sdk/models/call_recording_metadata.rb +2 -2
  61. data/lib/bandwidth-sdk/models/call_state.rb +2 -2
  62. data/lib/bandwidth-sdk/models/call_state_enum.rb +1 -1
  63. data/lib/bandwidth-sdk/models/call_transcription.rb +11 -37
  64. data/lib/bandwidth-sdk/models/call_transcription_detected_language_enum.rb +41 -0
  65. data/lib/bandwidth-sdk/models/call_transcription_metadata.rb +2 -2
  66. data/lib/bandwidth-sdk/models/call_transcription_response.rb +2 -2
  67. data/lib/bandwidth-sdk/models/call_transcription_track_enum.rb +40 -0
  68. data/lib/bandwidth-sdk/models/callback_method_enum.rb +1 -1
  69. data/lib/bandwidth-sdk/models/code_request.rb +2 -2
  70. data/lib/bandwidth-sdk/models/conference.rb +2 -2
  71. data/lib/bandwidth-sdk/models/conference_completed_callback.rb +2 -2
  72. data/lib/bandwidth-sdk/models/conference_created_callback.rb +2 -2
  73. data/lib/bandwidth-sdk/models/conference_member.rb +2 -2
  74. data/lib/bandwidth-sdk/models/conference_member_exit_callback.rb +2 -2
  75. data/lib/bandwidth-sdk/models/conference_member_join_callback.rb +2 -2
  76. data/lib/bandwidth-sdk/models/conference_recording_available_callback.rb +2 -2
  77. data/lib/bandwidth-sdk/models/conference_recording_metadata.rb +2 -2
  78. data/lib/bandwidth-sdk/models/conference_redirect_callback.rb +2 -2
  79. data/lib/bandwidth-sdk/models/conference_state_enum.rb +1 -1
  80. data/lib/bandwidth-sdk/models/create_call.rb +2 -2
  81. data/lib/bandwidth-sdk/models/create_call_response.rb +2 -2
  82. data/lib/bandwidth-sdk/models/create_lookup_response.rb +2 -2
  83. data/lib/bandwidth-sdk/models/create_message_request_error.rb +2 -2
  84. data/lib/bandwidth-sdk/models/deferred_result.rb +2 -2
  85. data/lib/bandwidth-sdk/models/disconnect_callback.rb +2 -2
  86. data/lib/bandwidth-sdk/models/diversion.rb +2 -2
  87. data/lib/bandwidth-sdk/models/dtmf_callback.rb +2 -2
  88. data/lib/bandwidth-sdk/models/field_error.rb +2 -2
  89. data/lib/bandwidth-sdk/models/file_format_enum.rb +1 -1
  90. data/lib/bandwidth-sdk/models/gather_callback.rb +2 -2
  91. data/lib/bandwidth-sdk/models/inbound_message_callback.rb +2 -2
  92. data/lib/bandwidth-sdk/models/inbound_message_callback_message.rb +2 -2
  93. data/lib/bandwidth-sdk/models/initiate_callback.rb +2 -2
  94. data/lib/bandwidth-sdk/models/list_message_direction_enum.rb +1 -1
  95. data/lib/bandwidth-sdk/models/list_message_item.rb +2 -2
  96. data/lib/bandwidth-sdk/models/lookup_request.rb +2 -2
  97. data/lib/bandwidth-sdk/models/lookup_result.rb +2 -2
  98. data/lib/bandwidth-sdk/models/lookup_status.rb +2 -2
  99. data/lib/bandwidth-sdk/models/lookup_status_enum.rb +1 -1
  100. data/lib/bandwidth-sdk/models/machine_detection_complete_callback.rb +2 -2
  101. data/lib/bandwidth-sdk/models/machine_detection_configuration.rb +2 -2
  102. data/lib/bandwidth-sdk/models/machine_detection_mode_enum.rb +1 -1
  103. data/lib/bandwidth-sdk/models/machine_detection_result.rb +2 -2
  104. data/lib/bandwidth-sdk/models/media.rb +2 -2
  105. data/lib/bandwidth-sdk/models/message.rb +2 -2
  106. data/lib/bandwidth-sdk/models/message_delivered_callback.rb +2 -2
  107. data/lib/bandwidth-sdk/models/message_delivered_callback_message.rb +2 -2
  108. data/lib/bandwidth-sdk/models/message_direction_enum.rb +1 -1
  109. data/lib/bandwidth-sdk/models/message_failed_callback.rb +2 -2
  110. data/lib/bandwidth-sdk/models/message_failed_callback_message.rb +2 -2
  111. data/lib/bandwidth-sdk/models/message_request.rb +2 -2
  112. data/lib/bandwidth-sdk/models/message_sending_callback.rb +2 -2
  113. data/lib/bandwidth-sdk/models/message_sending_callback_message.rb +2 -2
  114. data/lib/bandwidth-sdk/models/message_status_enum.rb +1 -1
  115. data/lib/bandwidth-sdk/models/message_type_enum.rb +1 -1
  116. data/lib/bandwidth-sdk/models/messages_list.rb +2 -2
  117. data/lib/bandwidth-sdk/models/messaging_code_response.rb +2 -2
  118. data/lib/bandwidth-sdk/models/messaging_request_error.rb +2 -2
  119. data/lib/bandwidth-sdk/models/mfa_forbidden_request_error.rb +2 -2
  120. data/lib/bandwidth-sdk/models/mfa_request_error.rb +2 -2
  121. data/lib/bandwidth-sdk/models/mfa_unauthorized_request_error.rb +2 -2
  122. data/lib/bandwidth-sdk/models/page_info.rb +2 -2
  123. data/lib/bandwidth-sdk/models/priority_enum.rb +1 -1
  124. data/lib/bandwidth-sdk/models/recording_available_callback.rb +2 -2
  125. data/lib/bandwidth-sdk/models/recording_complete_callback.rb +2 -2
  126. data/lib/bandwidth-sdk/models/recording_state_enum.rb +1 -1
  127. data/lib/bandwidth-sdk/models/recording_transcription_metadata.rb +3 -3
  128. data/lib/bandwidth-sdk/models/recording_transcriptions.rb +2 -2
  129. data/lib/bandwidth-sdk/models/redirect_callback.rb +2 -2
  130. data/lib/bandwidth-sdk/models/redirect_method_enum.rb +1 -1
  131. data/lib/bandwidth-sdk/models/stir_shaken.rb +2 -2
  132. data/lib/bandwidth-sdk/models/tag.rb +2 -2
  133. data/lib/bandwidth-sdk/models/tn_lookup_request_error.rb +2 -2
  134. data/lib/bandwidth-sdk/models/transcribe_recording.rb +2 -2
  135. data/lib/bandwidth-sdk/models/transcription.rb +2 -2
  136. data/lib/bandwidth-sdk/models/transcription_available_callback.rb +2 -2
  137. data/lib/bandwidth-sdk/models/transfer_answer_callback.rb +2 -2
  138. data/lib/bandwidth-sdk/models/transfer_complete_callback.rb +2 -2
  139. data/lib/bandwidth-sdk/models/transfer_disconnect_callback.rb +2 -2
  140. data/lib/bandwidth-sdk/models/update_call.rb +2 -2
  141. data/lib/bandwidth-sdk/models/update_call_recording.rb +2 -2
  142. data/lib/bandwidth-sdk/models/update_conference.rb +2 -2
  143. data/lib/bandwidth-sdk/models/update_conference_member.rb +2 -2
  144. data/lib/bandwidth-sdk/models/verify_code_request.rb +2 -2
  145. data/lib/bandwidth-sdk/models/verify_code_response.rb +2 -2
  146. data/lib/bandwidth-sdk/models/voice_api_error.rb +2 -2
  147. data/lib/bandwidth-sdk/models/voice_code_response.rb +2 -2
  148. data/lib/bandwidth-sdk/version.rb +2 -2
  149. data/lib/bandwidth-sdk.rb +3 -1
  150. data/openapitools.json +1 -1
  151. data/spec/call_utils.rb +1 -1
  152. data/spec/smoke/calls_api_spec.rb +1 -6
  153. data/spec/smoke/conferences_api_spec.rb +0 -5
  154. data/spec/smoke/media_api_spec.rb +0 -5
  155. data/spec/smoke/messages_api_spec.rb +0 -5
  156. data/spec/smoke/mfa_api_spec.rb +0 -5
  157. data/spec/smoke/phone_number_lookup_api_spec.rb +0 -5
  158. data/spec/smoke/recordings_api_spec.rb +0 -5
  159. data/spec/smoke/statistics_api_spec.rb +0 -5
  160. data/spec/smoke/transcriptions_api_spec.rb +0 -5
  161. data/spec/spec_helper.rb +11 -4
  162. data/spec/unit/api/calls_api_spec.rb +98 -128
  163. data/spec/unit/api/conferences_api_spec.rb +63 -126
  164. data/spec/unit/api/media_api_spec.rb +17 -32
  165. data/spec/unit/api/messages_api_spec.rb +46 -136
  166. data/spec/unit/api/mfa_api_spec.rb +8 -24
  167. data/spec/unit/api/phone_number_lookup_api_spec.rb +23 -37
  168. data/spec/unit/api/recordings_api_spec.rb +83 -110
  169. data/spec/unit/api/statistics_api_spec.rb +7 -15
  170. data/spec/unit/api/transcriptions_api_spec.rb +18 -37
  171. data/spec/unit/client/api_client_spec.rb +4 -4
  172. metadata +62 -44
@@ -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
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.description = "{{gemDescription}}{{^gemDescription}}{{{appDescription}}}{{^appDescription}}{{{appName}}} Ruby Gem{{/appDescription}}{{/gemDescription}}"
19
19
  s.license = "{{{gemLicense}}}{{^gemLicense}}Unlicense{{/gemLicense}}"
20
20
  s.required_ruby_version = "{{{gemRequiredRubyVersion}}}{{^gemRequiredRubyVersion}}>= 2.7{{/gemRequiredRubyVersion}}"
21
+ s.metadata = {}
21
22
 
22
23
  {{#isFaraday}}
23
24
  s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 3.0'
@@ -27,6 +28,7 @@ Gem::Specification.new do |s|
27
28
  s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
28
29
  {{/isFaraday}}
29
30
  s.add_runtime_dependency 'ox', '~> 2.4'
31
+ s.add_runtime_dependency 'marcel'
30
32
 
31
33
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
32
34
 
@@ -27,7 +27,7 @@ require 'bandwidth-sdk'
27
27
  instance = Bandwidth::AnswerCallback.new(
28
28
  event_type: bridgeComplete,
29
29
  event_time: 2022-06-17T22:19:40.375Z,
30
- account_id: 920012,
30
+ account_id: 9900000,
31
31
  application_id: 04e88489-df02-4e34-a0ee-27a91849555f,
32
32
  from: +15555555555,
33
33
  to: +15555555555,
@@ -29,7 +29,7 @@ require 'bandwidth-sdk'
29
29
  instance = Bandwidth::BridgeCompleteCallback.new(
30
30
  event_type: bridgeComplete,
31
31
  event_time: 2022-06-17T22:19:40.375Z,
32
- account_id: 920012,
32
+ account_id: 9900000,
33
33
  application_id: 04e88489-df02-4e34-a0ee-27a91849555f,
34
34
  from: +15555555555,
35
35
  to: +15555555555,
@@ -26,7 +26,7 @@ require 'bandwidth-sdk'
26
26
  instance = Bandwidth::BridgeTargetCompleteCallback.new(
27
27
  event_type: bridgeComplete,
28
28
  event_time: 2022-06-17T22:19:40.375Z,
29
- account_id: 920012,
29
+ account_id: 9900000,
30
30
  application_id: 04e88489-df02-4e34-a0ee-27a91849555f,
31
31
  from: +15555555555,
32
32
  to: +15555555555,
@@ -30,14 +30,14 @@ require 'bandwidth-sdk'
30
30
 
31
31
  instance = Bandwidth::CallRecordingMetadata.new(
32
32
  application_id: 04e88489-df02-4e34-a0ee-27a91849555f,
33
- account_id: 920012,
33
+ account_id: 9900000,
34
34
  call_id: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85,
35
35
  parent_call_id: c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d,
36
36
  recording_id: r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833,
37
37
  to: +15555555555,
38
38
  from: +15555555555,
39
39
  transfer_caller_id: +15555555555,
40
- transfer_to: +15555555555),
40
+ transfer_to: +15555555555,
41
41
  duration: PT13.67S,
42
42
  direction: null,
43
43
  channels: 1,
data/docs/CallState.md CHANGED
@@ -34,7 +34,7 @@ instance = Bandwidth::CallState.new(
34
34
  call_id: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85,
35
35
  parent_call_id: c-25ac29a2-1331029c-2cb0-4a07-b215-b22865662d85,
36
36
  to: +19195551234,
37
- from: 19195554321,
37
+ from: +19195554321,
38
38
  direction: null,
39
39
  state: disconnected,
40
40
  stir_shaken: {&quot;verstat&quot;:&quot;TN-Verification-Passed&quot;,&quot;attestationIndicator&quot;:&quot;A&quot;,&quot;originatingId&quot;:&quot;abc123&quot;},
@@ -4,9 +4,9 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **detected_language** | **String** | The detected language for this transcription. | [optional] |
8
- | **track** | **String** | Which &#x60;track&#x60; this transcription is derived from. | [optional] |
9
- | **text** | **String** | The transcription itself. | [optional] |
7
+ | **detected_language** | [**CallTranscriptionDetectedLanguageEnum**](CallTranscriptionDetectedLanguageEnum.md) | | [optional] |
8
+ | **track** | [**CallTranscriptionTrackEnum**](CallTranscriptionTrackEnum.md) | | [optional] |
9
+ | **transcript** | **String** | The transcription itself. | [optional] |
10
10
  | **confidence** | **Float** | How confident the transcription engine was in transcribing the associated audio (from &#x60;0&#x60; to &#x60;1&#x60;). | [optional] |
11
11
 
12
12
  ## Example
@@ -15,9 +15,9 @@
15
15
  require 'bandwidth-sdk'
16
16
 
17
17
  instance = Bandwidth::CallTranscription.new(
18
- detected_language: en-US,
19
- track: inbound,
20
- text: Hello World! This is an example.,
18
+ detected_language: null,
19
+ track: null,
20
+ transcript: Hello World! This is an example.,
21
21
  confidence: 0.9
22
22
  )
23
23
  ```
@@ -0,0 +1,15 @@
1
+ # Bandwidth::CallTranscriptionDetectedLanguageEnum
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'bandwidth-sdk'
12
+
13
+ instance = Bandwidth::CallTranscriptionDetectedLanguageEnum.new()
14
+ ```
15
+
@@ -15,10 +15,10 @@
15
15
  require 'bandwidth-sdk'
16
16
 
17
17
  instance = Bandwidth::CallTranscriptionResponse.new(
18
- account_id: 920012,
18
+ account_id: 9900000,
19
19
  call_id: c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85,
20
20
  transcription_id: t-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b,
21
- tracks: [{&quot;detectedLanguage&quot;:&quot;en-US&quot;,&quot;track&quot;:&quot;inbound&quot;,&quot;text&quot;:&quot;Hello World! This is an example.&quot;,&quot;confidence&quot;:0.9}]
21
+ tracks: [{&quot;detectedLanguage&quot;:&quot;en-US&quot;,&quot;track&quot;:&quot;inbound&quot;,&quot;transcript&quot;:&quot;Hello World! This is an example.&quot;,&quot;confidence&quot;:0.9}]
22
22
  )
23
23
  ```
24
24
 
@@ -0,0 +1,15 @@
1
+ # Bandwidth::CallTranscriptionTrackEnum
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'bandwidth-sdk'
12
+
13
+ instance = Bandwidth::CallTranscriptionTrackEnum.new()
14
+ ```
15
+
@@ -29,7 +29,7 @@ instance = Bandwidth::ConferenceRecordingAvailableCallback.new(
29
29
  event_time: 2022-06-17T22:19:40.375Z,
30
30
  conference_id: conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9,
31
31
  name: my-conference-name,
32
- account_id: 920012,
32
+ account_id: 9900000,
33
33
  recording_id: r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833,
34
34
  channels: 1,
35
35
  start_time: 2022-06-17T22:19:40.375Z,
@@ -22,7 +22,7 @@
22
22
  require 'bandwidth-sdk'
23
23
 
24
24
  instance = Bandwidth::ConferenceRecordingMetadata.new(
25
- account_id: 920012,
25
+ account_id: 9900000,
26
26
  conference_id: conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9,
27
27
  name: my-conference-name,
28
28
  recording_id: r-fbe05094-9fd2afe9-bf5b-4c68-820a-41a01c1c5833,
@@ -30,7 +30,7 @@ require 'bandwidth-sdk'
30
30
  instance = Bandwidth::DisconnectCallback.new(
31
31
  event_type: bridgeComplete,
32
32
  event_time: 2022-06-17T22:19:40.375Z,
33
- account_id: 920012,
33
+ account_id: 9900000,
34
34
  application_id: 04e88489-df02-4e34-a0ee-27a91849555f,
35
35
  from: +15555555555,
36
36
  to: +15555555555,
data/docs/DtmfCallback.md CHANGED
@@ -30,7 +30,7 @@ require 'bandwidth-sdk'
30
30
  instance = Bandwidth::DtmfCallback.new(
31
31
  event_type: bridgeComplete,
32
32
  event_time: 2022-06-17T22:19:40.375Z,
33
- account_id: 920012,
33
+ account_id: 9900000,
34
34
  application_id: 04e88489-df02-4e34-a0ee-27a91849555f,
35
35
  from: +15555555555,
36
36
  to: +15555555555,
@@ -43,7 +43,7 @@ instance = Bandwidth::DtmfCallback.new(
43
43
  answer_time: 2022-06-17T22:20Z,
44
44
  parent_call_id: c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d,
45
45
  transfer_caller_id: +15555555555,
46
- transfer_to: +15555555555),
46
+ transfer_to: +15555555555,
47
47
  tag: exampleTag
48
48
  )
49
49
  ```
@@ -31,7 +31,7 @@ require 'bandwidth-sdk'
31
31
  instance = Bandwidth::GatherCallback.new(
32
32
  event_type: bridgeComplete,
33
33
  event_time: 2022-06-17T22:19:40.375Z,
34
- account_id: 920012,
34
+ account_id: 9900000,
35
35
  application_id: 04e88489-df02-4e34-a0ee-27a91849555f,
36
36
  from: +15555555555,
37
37
  to: +15555555555,
@@ -45,7 +45,7 @@ instance = Bandwidth::GatherCallback.new(
45
45
  parent_call_id: c-95ac8d6e-1a31c52e-b38f-4198-93c1-51633ec68f8d,
46
46
  terminating_digit: #,
47
47
  transfer_caller_id: +15555555555,
48
- transfer_to: +15555555555),
48
+ transfer_to: +15555555555,
49
49
  tag: exampleTag
50
50
  )
51
51
  ```
@@ -25,7 +25,7 @@ require 'bandwidth-sdk'
25
25
  instance = Bandwidth::InitiateCallback.new(
26
26
  event_type: bridgeComplete,
27
27
  event_time: 2022-06-17T22:19:40.375Z,
28
- account_id: 920012,
28
+ account_id: 9900000,
29
29
  application_id: 04e88489-df02-4e34-a0ee-27a91849555f,
30
30
  from: +15555555555,
31
31
  to: +15555555555,
@@ -27,7 +27,7 @@ require 'bandwidth-sdk'
27
27
  instance = Bandwidth::MachineDetectionCompleteCallback.new(
28
28
  event_type: bridgeComplete,
29
29
  event_time: 2022-06-17T22:19:40.375Z,
30
- account_id: 920012,
30
+ account_id: 9900000,
31
31
  application_id: 04e88489-df02-4e34-a0ee-27a91849555f,
32
32
  from: +15555555555,
33
33
  to: +15555555555,
@@ -12,7 +12,7 @@
12
12
  require 'bandwidth-sdk'
13
13
 
14
14
  instance = Bandwidth::MessagingCodeResponse.new(
15
- message_id: 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6
15
+ message_id: 1589228074636lm4k2je7j7jklbn2
16
16
  )
17
17
  ```
18
18
 
@@ -35,7 +35,7 @@ require 'bandwidth-sdk'
35
35
  instance = Bandwidth::RecordingAvailableCallback.new(
36
36
  event_type: bridgeComplete,
37
37
  event_time: 2022-06-17T22:19:40.375Z,
38
- account_id: 920012,
38
+ account_id: 9900000,
39
39
  application_id: 04e88489-df02-4e34-a0ee-27a91849555f,
40
40
  from: +15555555555,
41
41
  to: +15555555555,
@@ -54,7 +54,7 @@ instance = Bandwidth::RecordingAvailableCallback.new(
54
54
  tag: exampleTag,
55
55
  status: completed,
56
56
  transfer_caller_id: +15555555555,
57
- transfer_to: +15555555555)
57
+ transfer_to: +15555555555
58
58
  )
59
59
  ```
60
60
 
@@ -35,7 +35,7 @@ require 'bandwidth-sdk'
35
35
  instance = Bandwidth::RecordingCompleteCallback.new(
36
36
  event_type: bridgeComplete,
37
37
  event_time: 2022-06-17T22:19:40.375Z,
38
- account_id: 920012,
38
+ account_id: 9900000,
39
39
  application_id: 04e88489-df02-4e34-a0ee-27a91849555f,
40
40
  from: +15555555555,
41
41
  to: +15555555555,
@@ -54,7 +54,7 @@ instance = Bandwidth::RecordingCompleteCallback.new(
54
54
  channels: 1,
55
55
  tag: exampleTag,
56
56
  transfer_caller_id: +15555555555,
57
- transfer_to: +15555555555)
57
+ transfer_to: +15555555555
58
58
  )
59
59
  ```
60
60
 
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **String** | The unique transcription ID | [optional] |
8
8
  | **status** | **String** | The current status of the process. For recording, current possible values are &#39;processing&#39;, &#39;partial&#39;, &#39;complete&#39;, &#39;deleted&#39;, and &#39;error&#39;. For transcriptions, current possible values are &#39;none&#39;, &#39;processing&#39;, &#39;available&#39;, &#39;error&#39;, &#39;timeout&#39;, &#39;file-size-too-big&#39;, and &#39;file-size-too-small&#39;. Additional states may be added in the future, so your application must be tolerant of unknown values. | [optional] |
9
- | **completed_time** | **String** | The time that the transcription was completed | [optional] |
9
+ | **completed_time** | **Time** | The time that the transcription was completed | [optional] |
10
10
  | **url** | **String** | The URL of the [transcription](#operation/getCallTranscription) | [optional] |
11
11
 
12
12
  ## Example
@@ -29,7 +29,7 @@ require 'bandwidth-sdk'
29
29
  instance = Bandwidth::RedirectCallback.new(
30
30
  event_type: bridgeComplete,
31
31
  event_time: 2022-06-17T22:19:40.375Z,
32
- account_id: 920012,
32
+ account_id: 9900000,
33
33
  application_id: 04e88489-df02-4e34-a0ee-27a91849555f,
34
34
  from: +15555555555,
35
35
  to: +15555555555,
@@ -42,7 +42,7 @@ instance = Bandwidth::RedirectCallback.new(
42
42
  answer_time: 2022-06-17T22:20Z,
43
43
  tag: exampleTag,
44
44
  transfer_caller_id: +15555555555,
45
- transfer_to: +15555555555)
45
+ transfer_to: +15555555555
46
46
  )
47
47
  ```
48
48
 
@@ -34,7 +34,7 @@ require 'bandwidth-sdk'
34
34
  instance = Bandwidth::TranscriptionAvailableCallback.new(
35
35
  event_type: bridgeComplete,
36
36
  event_time: 2022-06-17T22:19:40.375Z,
37
- account_id: 920012,
37
+ account_id: 9900000,
38
38
  application_id: 04e88489-df02-4e34-a0ee-27a91849555f,
39
39
  from: +15555555555,
40
40
  to: +15555555555,
@@ -52,7 +52,7 @@ instance = Bandwidth::TranscriptionAvailableCallback.new(
52
52
  tag: exampleTag,
53
53
  transcription: null,
54
54
  transfer_caller_id: +15555555555,
55
- transfer_to: +15555555555)
55
+ transfer_to: +15555555555
56
56
  )
57
57
  ```
58
58
 
@@ -15,7 +15,7 @@ All URIs are relative to *http://localhost*
15
15
 
16
16
  Delete a specific transcription
17
17
 
18
- Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a `204` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
18
+ Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a `200` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
19
19
 
20
20
  ### Examples
21
21
 
@@ -28,7 +28,7 @@ require 'bandwidth-sdk'
28
28
  instance = Bandwidth::TransferAnswerCallback.new(
29
29
  event_type: bridgeComplete,
30
30
  event_time: 2022-06-17T22:19:40.375Z,
31
- account_id: 920012,
31
+ account_id: 9900000,
32
32
  application_id: 04e88489-df02-4e34-a0ee-27a91849555f,
33
33
  from: +15555555555,
34
34
  to: +15555555555,
@@ -40,7 +40,7 @@ instance = Bandwidth::TransferAnswerCallback.new(
40
40
  answer_time: 2022-06-17T22:20Z,
41
41
  tag: exampleTag,
42
42
  transfer_caller_id: +15555555555,
43
- transfer_to: +15555555555)
43
+ transfer_to: +15555555555
44
44
  )
45
45
  ```
46
46
 
@@ -31,7 +31,7 @@ require 'bandwidth-sdk'
31
31
  instance = Bandwidth::TransferCompleteCallback.new(
32
32
  event_type: bridgeComplete,
33
33
  event_time: 2022-06-17T22:19:40.375Z,
34
- account_id: 920012,
34
+ account_id: 9900000,
35
35
  application_id: 04e88489-df02-4e34-a0ee-27a91849555f,
36
36
  from: +15555555555,
37
37
  to: +15555555555,
@@ -43,7 +43,7 @@ instance = Bandwidth::TransferCompleteCallback.new(
43
43
  answer_time: 2022-06-17T22:20Z,
44
44
  tag: exampleTag,
45
45
  transfer_caller_id: +15555555555,
46
- transfer_to: +15555555555),
46
+ transfer_to: +15555555555,
47
47
  cause: busy,
48
48
  error_message: Call c-2a913f94-6a486f3a-3cae-4034-bcc3-f0c9fa77ca2f is already bridged with another call,
49
49
  error_id: 4642074b-7b58-478b-96e4-3a60955c6765
@@ -33,7 +33,7 @@ require 'bandwidth-sdk'
33
33
  instance = Bandwidth::TransferDisconnectCallback.new(
34
34
  event_type: bridgeComplete,
35
35
  event_time: 2022-06-17T22:19:40.375Z,
36
- account_id: 920012,
36
+ account_id: 9900000,
37
37
  application_id: 04e88489-df02-4e34-a0ee-27a91849555f,
38
38
  from: +15555555555,
39
39
  to: +15555555555,
@@ -47,7 +47,7 @@ instance = Bandwidth::TransferDisconnectCallback.new(
47
47
  end_time: 2022-06-17T22:20Z,
48
48
  tag: exampleTag,
49
49
  transfer_caller_id: +15555555555,
50
- transfer_to: +15555555555),
50
+ transfer_to: +15555555555,
51
51
  cause: busy,
52
52
  error_message: Call c-2a913f94-6a486f3a-3cae-4034-bcc3-f0c9fa77ca2f is already bridged with another call,
53
53
  error_id: 4642074b-7b58-478b-96e4-3a60955c6765
@@ -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
- OpenAPI Generator version: 7.0.0
9
+ Generator version: 7.7.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
- OpenAPI Generator version: 7.0.0
9
+ Generator version: 7.7.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
- OpenAPI Generator version: 7.0.0
9
+ Generator version: 7.7.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
- OpenAPI Generator version: 7.0.0
9
+ Generator version: 7.7.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
- OpenAPI Generator version: 7.0.0
9
+ Generator version: 7.7.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
- OpenAPI Generator version: 7.0.0
9
+ Generator version: 7.7.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
- OpenAPI Generator version: 7.0.0
9
+ Generator version: 7.7.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
- OpenAPI Generator version: 7.0.0
9
+ Generator version: 7.7.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
- OpenAPI Generator version: 7.0.0
9
+ Generator version: 7.7.0
10
10
 
11
11
  =end
12
12
 
@@ -20,7 +20,7 @@ module Bandwidth
20
20
  @api_client = api_client
21
21
  end
22
22
  # Delete a specific transcription
23
- # Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a `204` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
23
+ # Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a `200` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
24
24
  # @param account_id [String] Your Bandwidth Account ID.
25
25
  # @param call_id [String] Programmable Voice API Call ID.
26
26
  # @param transcription_id [String] Programmable Voice API Transcription ID.
@@ -32,7 +32,7 @@ module Bandwidth
32
32
  end
33
33
 
34
34
  # Delete a specific transcription
35
- # Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a &#x60;204&#x60; is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
35
+ # Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a &#x60;200&#x60; is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours.
36
36
  # @param account_id [String] Your Bandwidth Account ID.
37
37
  # @param call_id [String] Programmable Voice API Call ID.
38
38
  # @param transcription_id [String] Programmable Voice API Transcription ID.