bandwidth-sdk 13.0.0 → 13.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +10 -10
  3. data/bandwidth-sdk.gemspec +1 -1
  4. data/bandwidth.yml +15 -0
  5. data/coverage/.last_run.json +1 -1
  6. data/coverage/.resultset.json +188 -176
  7. data/coverage/index.html +1590 -1458
  8. data/docs/CallRecordingMetadata.md +3 -1
  9. data/docs/CallTranscriptionMetadata.md +2 -0
  10. data/docs/ConferenceRecordingMetadata.md +3 -1
  11. data/lib/bandwidth-sdk/api/calls_api.rb +6 -6
  12. data/lib/bandwidth-sdk/api/conferences_api.rb +10 -10
  13. data/lib/bandwidth-sdk/api/media_api.rb +5 -5
  14. data/lib/bandwidth-sdk/api/messages_api.rb +3 -3
  15. data/lib/bandwidth-sdk/api/mfa_api.rb +4 -4
  16. data/lib/bandwidth-sdk/api/phone_number_lookup_api.rb +3 -3
  17. data/lib/bandwidth-sdk/api/recordings_api.rb +11 -11
  18. data/lib/bandwidth-sdk/api/statistics_api.rb +2 -2
  19. data/lib/bandwidth-sdk/api/transcriptions_api.rb +4 -4
  20. data/lib/bandwidth-sdk/api_client.rb +30 -24
  21. data/lib/bandwidth-sdk/api_error.rb +1 -1
  22. data/lib/bandwidth-sdk/configuration.rb +1 -1
  23. data/lib/bandwidth-sdk/models/account_statistics.rb +1 -1
  24. data/lib/bandwidth-sdk/models/answer_callback.rb +1 -1
  25. data/lib/bandwidth-sdk/models/bridge_complete_callback.rb +1 -1
  26. data/lib/bandwidth-sdk/models/bridge_target_complete_callback.rb +1 -1
  27. data/lib/bandwidth-sdk/models/call_direction_enum.rb +1 -1
  28. data/lib/bandwidth-sdk/models/call_recording_metadata.rb +16 -6
  29. data/lib/bandwidth-sdk/models/call_state.rb +1 -1
  30. data/lib/bandwidth-sdk/models/call_state_enum.rb +1 -1
  31. data/lib/bandwidth-sdk/models/call_transcription.rb +1 -1
  32. data/lib/bandwidth-sdk/models/call_transcription_detected_language_enum.rb +1 -1
  33. data/lib/bandwidth-sdk/models/call_transcription_metadata.rb +12 -2
  34. data/lib/bandwidth-sdk/models/call_transcription_response.rb +1 -1
  35. data/lib/bandwidth-sdk/models/call_transcription_track_enum.rb +1 -1
  36. data/lib/bandwidth-sdk/models/callback_method_enum.rb +1 -1
  37. data/lib/bandwidth-sdk/models/code_request.rb +1 -1
  38. data/lib/bandwidth-sdk/models/conference.rb +1 -1
  39. data/lib/bandwidth-sdk/models/conference_completed_callback.rb +1 -1
  40. data/lib/bandwidth-sdk/models/conference_created_callback.rb +1 -1
  41. data/lib/bandwidth-sdk/models/conference_member.rb +1 -1
  42. data/lib/bandwidth-sdk/models/conference_member_exit_callback.rb +1 -1
  43. data/lib/bandwidth-sdk/models/conference_member_join_callback.rb +1 -1
  44. data/lib/bandwidth-sdk/models/conference_recording_available_callback.rb +1 -1
  45. data/lib/bandwidth-sdk/models/conference_recording_metadata.rb +16 -6
  46. data/lib/bandwidth-sdk/models/conference_redirect_callback.rb +1 -1
  47. data/lib/bandwidth-sdk/models/conference_state_enum.rb +1 -1
  48. data/lib/bandwidth-sdk/models/create_call.rb +1 -1
  49. data/lib/bandwidth-sdk/models/create_call_response.rb +1 -1
  50. data/lib/bandwidth-sdk/models/create_lookup_response.rb +1 -1
  51. data/lib/bandwidth-sdk/models/create_message_request_error.rb +1 -1
  52. data/lib/bandwidth-sdk/models/deferred_result.rb +1 -1
  53. data/lib/bandwidth-sdk/models/disconnect_callback.rb +1 -1
  54. data/lib/bandwidth-sdk/models/diversion.rb +1 -1
  55. data/lib/bandwidth-sdk/models/dtmf_callback.rb +1 -1
  56. data/lib/bandwidth-sdk/models/field_error.rb +1 -1
  57. data/lib/bandwidth-sdk/models/file_format_enum.rb +1 -1
  58. data/lib/bandwidth-sdk/models/gather_callback.rb +1 -1
  59. data/lib/bandwidth-sdk/models/inbound_message_callback.rb +1 -1
  60. data/lib/bandwidth-sdk/models/inbound_message_callback_message.rb +1 -1
  61. data/lib/bandwidth-sdk/models/initiate_callback.rb +1 -1
  62. data/lib/bandwidth-sdk/models/list_message_direction_enum.rb +1 -1
  63. data/lib/bandwidth-sdk/models/list_message_item.rb +1 -1
  64. data/lib/bandwidth-sdk/models/lookup_request.rb +1 -1
  65. data/lib/bandwidth-sdk/models/lookup_result.rb +1 -1
  66. data/lib/bandwidth-sdk/models/lookup_status.rb +1 -1
  67. data/lib/bandwidth-sdk/models/lookup_status_enum.rb +1 -1
  68. data/lib/bandwidth-sdk/models/machine_detection_complete_callback.rb +1 -1
  69. data/lib/bandwidth-sdk/models/machine_detection_configuration.rb +1 -1
  70. data/lib/bandwidth-sdk/models/machine_detection_mode_enum.rb +1 -1
  71. data/lib/bandwidth-sdk/models/machine_detection_result.rb +1 -1
  72. data/lib/bandwidth-sdk/models/media.rb +1 -1
  73. data/lib/bandwidth-sdk/models/message.rb +1 -1
  74. data/lib/bandwidth-sdk/models/message_delivered_callback.rb +1 -1
  75. data/lib/bandwidth-sdk/models/message_delivered_callback_message.rb +1 -1
  76. data/lib/bandwidth-sdk/models/message_direction_enum.rb +1 -1
  77. data/lib/bandwidth-sdk/models/message_failed_callback.rb +1 -1
  78. data/lib/bandwidth-sdk/models/message_failed_callback_message.rb +1 -1
  79. data/lib/bandwidth-sdk/models/message_request.rb +1 -1
  80. data/lib/bandwidth-sdk/models/message_sending_callback.rb +1 -1
  81. data/lib/bandwidth-sdk/models/message_sending_callback_message.rb +1 -1
  82. data/lib/bandwidth-sdk/models/message_status_enum.rb +1 -1
  83. data/lib/bandwidth-sdk/models/message_type_enum.rb +1 -1
  84. data/lib/bandwidth-sdk/models/messages_list.rb +1 -1
  85. data/lib/bandwidth-sdk/models/messaging_code_response.rb +1 -1
  86. data/lib/bandwidth-sdk/models/messaging_request_error.rb +1 -1
  87. data/lib/bandwidth-sdk/models/mfa_forbidden_request_error.rb +1 -1
  88. data/lib/bandwidth-sdk/models/mfa_request_error.rb +1 -1
  89. data/lib/bandwidth-sdk/models/mfa_unauthorized_request_error.rb +1 -1
  90. data/lib/bandwidth-sdk/models/page_info.rb +1 -1
  91. data/lib/bandwidth-sdk/models/priority_enum.rb +1 -1
  92. data/lib/bandwidth-sdk/models/recording_available_callback.rb +1 -1
  93. data/lib/bandwidth-sdk/models/recording_complete_callback.rb +1 -1
  94. data/lib/bandwidth-sdk/models/recording_state_enum.rb +1 -1
  95. data/lib/bandwidth-sdk/models/recording_transcription_metadata.rb +1 -1
  96. data/lib/bandwidth-sdk/models/recording_transcriptions.rb +1 -1
  97. data/lib/bandwidth-sdk/models/redirect_callback.rb +1 -1
  98. data/lib/bandwidth-sdk/models/redirect_method_enum.rb +1 -1
  99. data/lib/bandwidth-sdk/models/stir_shaken.rb +1 -1
  100. data/lib/bandwidth-sdk/models/tag.rb +1 -1
  101. data/lib/bandwidth-sdk/models/tn_lookup_request_error.rb +1 -1
  102. data/lib/bandwidth-sdk/models/transcribe_recording.rb +1 -1
  103. data/lib/bandwidth-sdk/models/transcription.rb +1 -1
  104. data/lib/bandwidth-sdk/models/transcription_available_callback.rb +1 -1
  105. data/lib/bandwidth-sdk/models/transfer_answer_callback.rb +1 -1
  106. data/lib/bandwidth-sdk/models/transfer_complete_callback.rb +1 -1
  107. data/lib/bandwidth-sdk/models/transfer_disconnect_callback.rb +1 -1
  108. data/lib/bandwidth-sdk/models/update_call.rb +1 -1
  109. data/lib/bandwidth-sdk/models/update_call_recording.rb +1 -1
  110. data/lib/bandwidth-sdk/models/update_conference.rb +1 -1
  111. data/lib/bandwidth-sdk/models/update_conference_member.rb +1 -1
  112. data/lib/bandwidth-sdk/models/verify_code_request.rb +1 -1
  113. data/lib/bandwidth-sdk/models/verify_code_response.rb +1 -1
  114. data/lib/bandwidth-sdk/models/voice_api_error.rb +1 -1
  115. data/lib/bandwidth-sdk/models/voice_code_response.rb +1 -1
  116. data/lib/bandwidth-sdk/version.rb +2 -2
  117. data/lib/bandwidth-sdk.rb +1 -1
  118. data/openapitools.json +1 -1
  119. data/spec/smoke/transcriptions_api_spec.rb +1 -0
  120. data/spec/unit/api/conferences_api_spec.rb +3 -2
  121. data/spec/unit/api/media_api_spec.rb +3 -2
  122. data/spec/unit/api/recordings_api_spec.rb +6 -3
  123. data/spec/unit/api/transcriptions_api_spec.rb +1 -0
  124. metadata +47 -47
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46c35fa0cdcbe54296ed953096d1894988d8d29374f7b8344b17e79e4567ad6e
4
- data.tar.gz: b949a39974619c744d61b0b784690dcd303abe5a7f068e57146baa3977f000a1
3
+ metadata.gz: f4958ed8f9c5efab72026804c34903da55625c16d23d99db8bb96186165d0605
4
+ data.tar.gz: cffdf5cfb85ac88688748ac80e628eab8018db4f263813a4cd3d671d577f1263
5
5
  SHA512:
6
- metadata.gz: 82c8ff4355dfbd77716fc39634712bf23057ea8cfd05d616ad188ec3504ec335dc9db4fa57b70618d2e4c714bc934cacef40577d26739bd877dd1a120d059624
7
- data.tar.gz: a215073711ce4e56cf2fdde04d820971ca30c1f55f34ee05bbe4c0ce78ad17ab46257108d22626975a38273393a89c7731cf3e507441a6c9a48a19b494c2aa7c
6
+ metadata.gz: 5eed5398506eb8495d909a0d740f7bb21bc57da81e073342dbd244c661bc24422b5c2b32e1b9cf56809dfc740e21503b24b317d99862b61dee1f72b5ee0d5f04
7
+ data.tar.gz: 30a4e1070876f974aa22ffa94b2fd9e1a8c67893352de6316a36a8929447c145c8ab32cb80376d1322ca1cd2c4f770d462b5b5a411d57db5e6ceb5cda0489440
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bandwidth-sdk (13.0.0)
4
+ bandwidth-sdk (13.1.1)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart
7
7
  marcel
@@ -14,13 +14,13 @@ GEM
14
14
  byebug (11.1.3)
15
15
  coderay (1.1.3)
16
16
  diff-lcs (1.5.1)
17
- docile (1.4.0)
18
- faraday (2.10.0)
17
+ docile (1.4.1)
18
+ faraday (2.10.1)
19
19
  faraday-net_http (>= 2.0, < 3.2)
20
20
  logger
21
21
  faraday-multipart (1.0.4)
22
22
  multipart-post (~> 2)
23
- faraday-net_http (3.1.0)
23
+ faraday-net_http (3.1.1)
24
24
  net-http
25
25
  json (2.7.2)
26
26
  logger (1.6.0)
@@ -30,8 +30,8 @@ GEM
30
30
  net-http (0.4.1)
31
31
  uri
32
32
  ox (2.14.18)
33
- parallel (1.25.1)
34
- parser (3.3.4.0)
33
+ parallel (1.26.3)
34
+ parser (3.3.4.2)
35
35
  ast (~> 2.4.1)
36
36
  racc
37
37
  pry (0.14.2)
@@ -40,11 +40,11 @@ GEM
40
40
  pry-byebug (3.10.1)
41
41
  byebug (~> 11.0)
42
42
  pry (>= 0.13, < 0.15)
43
- racc (1.8.0)
43
+ racc (1.8.1)
44
44
  rainbow (3.1.1)
45
45
  rake (13.2.1)
46
46
  regexp_parser (2.9.2)
47
- rexml (3.3.2)
47
+ rexml (3.3.5)
48
48
  strscan
49
49
  rspec (3.13.0)
50
50
  rspec-core (~> 3.13.0)
@@ -52,7 +52,7 @@ GEM
52
52
  rspec-mocks (~> 3.13.0)
53
53
  rspec-core (3.13.0)
54
54
  rspec-support (~> 3.13.0)
55
- rspec-expectations (3.13.1)
55
+ rspec-expectations (3.13.2)
56
56
  diff-lcs (>= 1.2.0, < 2.0)
57
57
  rspec-support (~> 3.13.0)
58
58
  rspec-mocks (3.13.1)
@@ -69,7 +69,7 @@ GEM
69
69
  rubocop-ast (>= 1.28.0, < 2.0)
70
70
  ruby-progressbar (~> 1.7)
71
71
  unicode-display_width (>= 2.4.0, < 3.0)
72
- rubocop-ast (1.31.3)
72
+ rubocop-ast (1.32.1)
73
73
  parser (>= 3.3.1.0)
74
74
  ruby-progressbar (1.13.0)
75
75
  simplecov (0.21.2)
@@ -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
- Generator version: 7.7.0
11
+ Generator version: 7.8.0
12
12
 
13
13
  =end
14
14
 
data/bandwidth.yml CHANGED
@@ -2802,6 +2802,8 @@ components:
2802
2802
  $ref: '#/components/schemas/mediaUrl'
2803
2803
  transcription:
2804
2804
  $ref: '#/components/schemas/recordingTranscriptionMetadata'
2805
+ recordingName:
2806
+ $ref: '#/components/schemas/recordingName'
2805
2807
  conference:
2806
2808
  type: object
2807
2809
  properties:
@@ -3041,6 +3043,8 @@ components:
3041
3043
  $ref: '#/components/schemas/status'
3042
3044
  mediaUrl:
3043
3045
  $ref: '#/components/schemas/mediaUrl'
3046
+ recordingName:
3047
+ $ref: '#/components/schemas/recordingName'
3044
3048
  machineDetectionConfiguration:
3045
3049
  type: object
3046
3050
  description: >-
@@ -3254,6 +3258,7 @@ components:
3254
3258
  $ref: '#/components/schemas/callTranscriptionMetadata'
3255
3259
  example:
3256
3260
  - transcriptionId: t-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b
3261
+ transcriptionName: live_transcription
3257
3262
  transcriptionUrl: >-
3258
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
3259
3264
  callTranscriptionMetadata:
@@ -3263,6 +3268,12 @@ components:
3263
3268
  type: string
3264
3269
  description: The programmable voice API transcription ID.
3265
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
3266
3277
  transcriptionUrl:
3267
3278
  type: string
3268
3279
  description: >-
@@ -4259,6 +4270,10 @@ components:
4259
4270
  type: string
4260
4271
  description: The call id associated with the event.
4261
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
4262
4277
  callUrl:
4263
4278
  type: string
4264
4279
  description: The URL of the call associated with the event.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "result": {
3
- "line": 92.4
3
+ "line": 92.82
4
4
  }
5
5
  }