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
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.0.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-07-16 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
@@ -494,62 +494,62 @@ summary: Bandwidth Ruby SDK
494
494
  test_files:
495
495
  - spec/call_utils.rb
496
496
  - spec/fixtures/ruby_cat.jpeg
497
- - spec/smoke/conferences_api_spec.rb
498
- - spec/smoke/mfa_api_spec.rb
497
+ - spec/smoke/phone_number_lookup_api_spec.rb
499
498
  - spec/smoke/recordings_api_spec.rb
500
499
  - spec/smoke/media_api_spec.rb
501
- - spec/smoke/calls_api_spec.rb
502
500
  - spec/smoke/transcriptions_api_spec.rb
503
- - spec/smoke/messages_api_spec.rb
504
- - spec/smoke/phone_number_lookup_api_spec.rb
501
+ - spec/smoke/conferences_api_spec.rb
505
502
  - spec/smoke/statistics_api_spec.rb
503
+ - spec/smoke/calls_api_spec.rb
504
+ - spec/smoke/mfa_api_spec.rb
505
+ - spec/smoke/messages_api_spec.rb
506
506
  - spec/spec_helper.rb
507
+ - spec/unit/api/phone_number_lookup_api_spec.rb
508
+ - spec/unit/api/recordings_api_spec.rb
509
+ - spec/unit/api/media_api_spec.rb
510
+ - spec/unit/api/transcriptions_api_spec.rb
511
+ - spec/unit/api/conferences_api_spec.rb
512
+ - spec/unit/api/statistics_api_spec.rb
513
+ - spec/unit/api/calls_api_spec.rb
514
+ - spec/unit/api/mfa_api_spec.rb
515
+ - spec/unit/api/messages_api_spec.rb
516
+ - spec/unit/client/api_error_spec.rb
517
+ - spec/unit/client/configuration_spec.rb
518
+ - spec/unit/client/api_client_spec.rb
507
519
  - spec/unit/models/message_spec.rb
520
+ - spec/unit/models/call_state_enum_spec.rb
521
+ - spec/unit/models/verify_code_request_spec.rb
522
+ - spec/unit/models/call_state_spec.rb
523
+ - spec/unit/models/deferred_result_spec.rb
524
+ - spec/unit/models/bxml/response_spec.rb
525
+ - spec/unit/models/bxml/verb_spec.rb
526
+ - spec/unit/models/bxml/nestable_verb_spec.rb
527
+ - spec/unit/models/bxml/bxml_spec.rb
528
+ - spec/unit/models/bxml/verbs/play_audio_spec.rb
529
+ - spec/unit/models/bxml/verbs/forward_spec.rb
530
+ - spec/unit/models/bxml/verbs/stop_stream_spec.rb
531
+ - spec/unit/models/bxml/verbs/hangup_spec.rb
508
532
  - spec/unit/models/bxml/verbs/redirect_spec.rb
509
- - spec/unit/models/bxml/verbs/stop_gather_spec.rb
510
- - spec/unit/models/bxml/verbs/tag_spec.rb
511
533
  - spec/unit/models/bxml/verbs/start_transcription_spec.rb
534
+ - spec/unit/models/bxml/verbs/start_stream_spec.rb
512
535
  - spec/unit/models/bxml/verbs/stream_param_spec.rb
513
536
  - spec/unit/models/bxml/verbs/pause_spec.rb
514
- - spec/unit/models/bxml/verbs/send_dtmf_spec.rb
515
- - spec/unit/models/bxml/verbs/transfer_spec.rb
516
- - spec/unit/models/bxml/verbs/stop_recording_spec.rb
517
- - spec/unit/models/bxml/verbs/conference_spec.rb
518
- - spec/unit/models/bxml/verbs/stop_transcription_spec.rb
519
- - spec/unit/models/bxml/verbs/play_audio_spec.rb
520
- - spec/unit/models/bxml/verbs/custom_param_spec.rb
521
- - spec/unit/models/bxml/verbs/forward_spec.rb
522
- - spec/unit/models/bxml/verbs/gather_spec.rb
523
- - spec/unit/models/bxml/verbs/sip_uri_spec.rb
524
- - spec/unit/models/bxml/verbs/phone_number_spec.rb
525
- - spec/unit/models/bxml/verbs/stop_stream_spec.rb
526
- - spec/unit/models/bxml/verbs/start_recording_spec.rb
527
- - spec/unit/models/bxml/verbs/bridge_spec.rb
528
537
  - spec/unit/models/bxml/verbs/record_spec.rb
529
- - spec/unit/models/bxml/verbs/start_stream_spec.rb
530
- - spec/unit/models/bxml/verbs/hangup_spec.rb
531
538
  - spec/unit/models/bxml/verbs/ring_spec.rb
532
- - spec/unit/models/bxml/verbs/pause_recording_spec.rb
533
- - spec/unit/models/bxml/verbs/speak_sentence_spec.rb
539
+ - spec/unit/models/bxml/verbs/phone_number_spec.rb
540
+ - spec/unit/models/bxml/verbs/tag_spec.rb
541
+ - spec/unit/models/bxml/verbs/bridge_spec.rb
542
+ - spec/unit/models/bxml/verbs/gather_spec.rb
543
+ - spec/unit/models/bxml/verbs/custom_param_spec.rb
544
+ - spec/unit/models/bxml/verbs/sip_uri_spec.rb
534
545
  - spec/unit/models/bxml/verbs/resume_recording_spec.rb
546
+ - spec/unit/models/bxml/verbs/send_dtmf_spec.rb
547
+ - spec/unit/models/bxml/verbs/conference_spec.rb
548
+ - spec/unit/models/bxml/verbs/stop_recording_spec.rb
549
+ - spec/unit/models/bxml/verbs/pause_recording_spec.rb
550
+ - spec/unit/models/bxml/verbs/start_recording_spec.rb
535
551
  - spec/unit/models/bxml/verbs/start_gather_spec.rb
536
- - spec/unit/models/bxml/bxml_spec.rb
537
- - spec/unit/models/bxml/nestable_verb_spec.rb
538
- - spec/unit/models/bxml/response_spec.rb
539
- - spec/unit/models/bxml/verb_spec.rb
540
- - spec/unit/models/call_state_enum_spec.rb
541
- - spec/unit/models/verify_code_request_spec.rb
542
- - spec/unit/models/call_state_spec.rb
543
- - spec/unit/models/deferred_result_spec.rb
544
- - spec/unit/api/conferences_api_spec.rb
545
- - spec/unit/api/mfa_api_spec.rb
546
- - spec/unit/api/recordings_api_spec.rb
547
- - spec/unit/api/media_api_spec.rb
548
- - spec/unit/api/calls_api_spec.rb
549
- - spec/unit/api/transcriptions_api_spec.rb
550
- - spec/unit/api/messages_api_spec.rb
551
- - spec/unit/api/phone_number_lookup_api_spec.rb
552
- - spec/unit/api/statistics_api_spec.rb
553
- - spec/unit/client/api_client_spec.rb
554
- - spec/unit/client/api_error_spec.rb
555
- - spec/unit/client/configuration_spec.rb
552
+ - spec/unit/models/bxml/verbs/transfer_spec.rb
553
+ - spec/unit/models/bxml/verbs/stop_transcription_spec.rb
554
+ - spec/unit/models/bxml/verbs/stop_gather_spec.rb
555
+ - spec/unit/models/bxml/verbs/speak_sentence_spec.rb