bandwidth-sdk 6.2.0 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bandwidth.rb +3 -2
  3. data/lib/bandwidth/api_helper.rb +0 -12
  4. data/lib/bandwidth/client.rb +8 -8
  5. data/lib/bandwidth/configuration.rb +15 -15
  6. data/lib/bandwidth/http/auth/{two_factor_auth_basic_auth.rb → multi_factor_auth_basic_auth.rb} +3 -3
  7. data/lib/bandwidth/messaging_lib/messaging/client.rb +14 -5
  8. data/lib/bandwidth/messaging_lib/messaging/controllers/api_controller.rb +25 -29
  9. data/lib/bandwidth/messaging_lib/messaging/models/bandwidth_message_item.rb +47 -2
  10. data/lib/bandwidth/messaging_lib/messaging/models/media.rb +5 -75
  11. data/lib/bandwidth/models/base_model.rb +19 -8
  12. data/lib/bandwidth/multi_factor_auth_lib/multi_factor_auth.rb +23 -0
  13. data/lib/bandwidth/{two_factor_auth_lib/two_factor_auth → multi_factor_auth_lib/multi_factor_auth}/client.rb +15 -6
  14. data/lib/bandwidth/{two_factor_auth_lib/two_factor_auth → multi_factor_auth_lib/multi_factor_auth}/controllers/base_controller.rb +0 -0
  15. data/lib/bandwidth/{two_factor_auth_lib/two_factor_auth → multi_factor_auth_lib/multi_factor_auth}/controllers/mfa_controller.rb +7 -7
  16. data/lib/bandwidth/{two_factor_auth_lib/two_factor_auth → multi_factor_auth_lib/multi_factor_auth}/exceptions/error_with_request_exception.rb +0 -0
  17. data/lib/bandwidth/{two_factor_auth_lib/two_factor_auth → multi_factor_auth_lib/multi_factor_auth}/exceptions/forbidden_request_exception.rb +0 -0
  18. data/lib/bandwidth/{two_factor_auth_lib/two_factor_auth → multi_factor_auth_lib/multi_factor_auth}/exceptions/unauthorized_request_exception.rb +0 -0
  19. data/lib/bandwidth/{two_factor_auth_lib/two_factor_auth → multi_factor_auth_lib/multi_factor_auth}/models/two_factor_code_request_schema.rb +0 -0
  20. data/lib/bandwidth/{two_factor_auth_lib/two_factor_auth → multi_factor_auth_lib/multi_factor_auth}/models/two_factor_messaging_response.rb +0 -0
  21. data/lib/bandwidth/{two_factor_auth_lib/two_factor_auth → multi_factor_auth_lib/multi_factor_auth}/models/two_factor_verify_code_response.rb +0 -0
  22. data/lib/bandwidth/{two_factor_auth_lib/two_factor_auth → multi_factor_auth_lib/multi_factor_auth}/models/two_factor_verify_request_schema.rb +0 -0
  23. data/lib/bandwidth/{two_factor_auth_lib/two_factor_auth → multi_factor_auth_lib/multi_factor_auth}/models/two_factor_voice_response.rb +0 -0
  24. data/lib/bandwidth/utilities/date_time_helper.rb +156 -0
  25. data/lib/bandwidth/voice_lib/voice.rb +14 -18
  26. data/lib/bandwidth/voice_lib/voice/client.rb +14 -5
  27. data/lib/bandwidth/voice_lib/voice/controllers/api_controller.rb +248 -230
  28. data/lib/bandwidth/voice_lib/voice/exceptions/{api_error_response_exception.rb → api_error_exception.rb} +2 -2
  29. data/lib/bandwidth/voice_lib/voice/models/{recording_metadata_response.rb → call_recording_metadata.rb} +47 -28
  30. data/lib/bandwidth/voice_lib/voice/models/call_state.rb +232 -0
  31. data/lib/bandwidth/voice_lib/voice/models/callback_method_enum.rb +2 -20
  32. data/lib/bandwidth/voice_lib/voice/models/conference_event_method_enum.rb +2 -20
  33. data/lib/bandwidth/voice_lib/voice/models/{conference_member_detail.rb → conference_member_state.rb} +8 -8
  34. data/lib/bandwidth/voice_lib/voice/models/{conference_recording_metadata_response.rb → conference_recording_metadata.rb} +34 -18
  35. data/lib/bandwidth/voice_lib/voice/models/{conference_detail.rb → conference_state.rb} +22 -14
  36. data/lib/bandwidth/voice_lib/voice/models/{api_create_call_request.rb → create_call_request.rb} +35 -59
  37. data/lib/bandwidth/voice_lib/voice/models/{api_call_response.rb → create_call_response.rb} +28 -23
  38. data/lib/bandwidth/voice_lib/voice/models/{modify_call_recording_state.rb → modify_call_recording_request.rb} +4 -4
  39. data/lib/bandwidth/voice_lib/voice/models/{api_modify_call_request.rb → modify_call_request.rb} +25 -25
  40. data/lib/bandwidth/voice_lib/voice/models/{api_modify_conference_request.rb → modify_conference_request.rb} +11 -11
  41. data/lib/bandwidth/voice_lib/voice/models/state1_enum.rb +7 -4
  42. data/lib/bandwidth/voice_lib/voice/models/state_enum.rb +4 -7
  43. data/lib/bandwidth/voice_lib/voice/models/{api_transcribe_recording_request.rb → transcribe_recording_request.rb} +8 -8
  44. data/lib/bandwidth/voice_lib/voice/models/{transcription.rb → transcription_metadata.rb} +19 -10
  45. data/lib/bandwidth/web_rtc_lib/web_rtc/client.rb +4 -4
  46. data/lib/bandwidth/web_rtc_lib/web_rtc/controllers/api_controller.rb +14 -14
  47. data/test/integration/test_integration.rb +13 -13
  48. metadata +29 -32
  49. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth.rb +0 -22
  50. data/lib/bandwidth/voice_lib/voice/models/api_call_state_response.rb +0 -164
  51. data/lib/bandwidth/voice_lib/voice/models/disconnect_cause_enum.rb +0 -47
  52. data/lib/bandwidth/voice_lib/voice/models/state2_enum.rb +0 -20
  53. data/lib/bandwidth/voice_lib/voice/models/status1_enum.rb +0 -29
  54. data/lib/bandwidth/voice_lib/voice/models/status3_enum.rb +0 -32
@@ -4,8 +4,8 @@
4
4
  # ( https://apimatic.io ).
5
5
 
6
6
  module Bandwidth
7
- # ApiModifyConferenceRequest Model.
8
- class ApiModifyConferenceRequest < BaseModel
7
+ # ModifyConferenceRequest Model.
8
+ class ModifyConferenceRequest < BaseModel
9
9
  # TODO: Write general description for this method
10
10
  # @return [StatusEnum]
11
11
  attr_accessor :status
@@ -93,15 +93,15 @@ module Bandwidth
93
93
  fallback_password = hash['fallbackPassword']
94
94
 
95
95
  # Create object from extracted values.
96
- ApiModifyConferenceRequest.new(status,
97
- redirect_url,
98
- redirect_fallback_url,
99
- redirect_method,
100
- redirect_fallback_method,
101
- username,
102
- password,
103
- fallback_username,
104
- fallback_password)
96
+ ModifyConferenceRequest.new(status,
97
+ redirect_url,
98
+ redirect_fallback_url,
99
+ redirect_method,
100
+ redirect_fallback_method,
101
+ username,
102
+ password,
103
+ fallback_username,
104
+ fallback_password)
105
105
  end
106
106
  end
107
107
  end
@@ -7,11 +7,14 @@ module Bandwidth
7
7
  # State1.
8
8
  class State1Enum
9
9
  STATE1_ENUM = [
10
- # TODO: Write general description for ACTIVE
11
- ACTIVE = 'active'.freeze,
10
+ # TODO: Write general description for NOT_RECORDING
11
+ NOT_RECORDING = 'NOT_RECORDING'.freeze,
12
12
 
13
- # TODO: Write general description for COMPLETED
14
- COMPLETED = 'completed'.freeze
13
+ # TODO: Write general description for PAUSED
14
+ PAUSED = 'PAUSED'.freeze,
15
+
16
+ # TODO: Write general description for RECORDING
17
+ RECORDING = 'RECORDING'.freeze
15
18
  ].freeze
16
19
  end
17
20
  end
@@ -7,14 +7,11 @@ module Bandwidth
7
7
  # State.
8
8
  class StateEnum
9
9
  STATE_ENUM = [
10
- # TODO: Write general description for DISCONNECTED
11
- DISCONNECTED = 'DISCONNECTED'.freeze,
10
+ # TODO: Write general description for ACTIVE
11
+ ACTIVE = 'active'.freeze,
12
12
 
13
- # TODO: Write general description for ANSWERED
14
- ANSWERED = 'ANSWERED'.freeze,
15
-
16
- # TODO: Write general description for INITIATED
17
- INITIATED = 'INITIATED'.freeze
13
+ # TODO: Write general description for COMPLETED
14
+ COMPLETED = 'completed'.freeze
18
15
  ].freeze
19
16
  end
20
17
  end
@@ -4,8 +4,8 @@
4
4
  # ( https://apimatic.io ).
5
5
 
6
6
  module Bandwidth
7
- # ApiTranscribeRecordingRequest Model.
8
- class ApiTranscribeRecordingRequest < BaseModel
7
+ # TranscribeRecordingRequest Model.
8
+ class TranscribeRecordingRequest < BaseModel
9
9
  # TODO: Write general description for this method
10
10
  # @return [String]
11
11
  attr_accessor :callback_url
@@ -69,12 +69,12 @@ module Bandwidth
69
69
  callback_timeout = hash['callbackTimeout']
70
70
 
71
71
  # Create object from extracted values.
72
- ApiTranscribeRecordingRequest.new(callback_url,
73
- callback_method,
74
- username,
75
- password,
76
- tag,
77
- callback_timeout)
72
+ TranscribeRecordingRequest.new(callback_url,
73
+ callback_method,
74
+ username,
75
+ password,
76
+ tag,
77
+ callback_timeout)
78
78
  end
79
79
  end
80
80
  end
@@ -4,21 +4,30 @@
4
4
  # ( https://apimatic.io ).
5
5
 
6
6
  module Bandwidth
7
- # Transcription Model.
8
- class Transcription < BaseModel
7
+ # TranscriptionMetadata Model.
8
+ class TranscriptionMetadata < BaseModel
9
9
  # TODO: Write general description for this method
10
10
  # @return [String]
11
11
  attr_accessor :id
12
12
 
13
- # TODO: Write general description for this method
14
- # @return [Status3Enum]
13
+ # The current status of the transcription. Current values are 'none',
14
+ # 'processing', 'available', 'error', 'timeout', 'file-size-too-big', and
15
+ # 'file-size-too-small'. Additional states may be added in the future, so
16
+ # your application must be tolerant of unknown values.
17
+ # @return [String]
15
18
  attr_accessor :status
16
19
 
17
- # TODO: Write general description for this method
20
+ # The current status of the transcription. Current values are 'none',
21
+ # 'processing', 'available', 'error', 'timeout', 'file-size-too-big', and
22
+ # 'file-size-too-small'. Additional states may be added in the future, so
23
+ # your application must be tolerant of unknown values.
18
24
  # @return [String]
19
25
  attr_accessor :completed_time
20
26
 
21
- # TODO: Write general description for this method
27
+ # The current status of the transcription. Current values are 'none',
28
+ # 'processing', 'available', 'error', 'timeout', 'file-size-too-big', and
29
+ # 'file-size-too-small'. Additional states may be added in the future, so
30
+ # your application must be tolerant of unknown values.
22
31
  # @return [String]
23
32
  attr_accessor :url
24
33
 
@@ -53,10 +62,10 @@ module Bandwidth
53
62
  url = hash['url']
54
63
 
55
64
  # Create object from extracted values.
56
- Transcription.new(id,
57
- status,
58
- completed_time,
59
- url)
65
+ TranscriptionMetadata.new(id,
66
+ status,
67
+ completed_time,
68
+ url)
60
69
  end
61
70
  end
62
71
  end
@@ -23,8 +23,8 @@ module Bandwidth
23
23
  base_url: 'https://www.example.com',
24
24
  messaging_basic_auth_user_name: 'TODO: Replace',
25
25
  messaging_basic_auth_password: 'TODO: Replace',
26
- two_factor_auth_basic_auth_user_name: 'TODO: Replace',
27
- two_factor_auth_basic_auth_password: 'TODO: Replace',
26
+ multi_factor_auth_basic_auth_user_name: 'TODO: Replace',
27
+ multi_factor_auth_basic_auth_password: 'TODO: Replace',
28
28
  phone_number_lookup_basic_auth_user_name: 'TODO: Replace',
29
29
  phone_number_lookup_basic_auth_password: 'TODO: Replace',
30
30
  voice_basic_auth_user_name: 'TODO: Replace',
@@ -43,8 +43,8 @@ module Bandwidth
43
43
  base_url: base_url,
44
44
  messaging_basic_auth_user_name: messaging_basic_auth_user_name,
45
45
  messaging_basic_auth_password: messaging_basic_auth_password,
46
- two_factor_auth_basic_auth_user_name: two_factor_auth_basic_auth_user_name,
47
- two_factor_auth_basic_auth_password: two_factor_auth_basic_auth_password,
46
+ multi_factor_auth_basic_auth_user_name: multi_factor_auth_basic_auth_user_name,
47
+ multi_factor_auth_basic_auth_password: multi_factor_auth_basic_auth_password,
48
48
  phone_number_lookup_basic_auth_user_name: phone_number_lookup_basic_auth_user_name,
49
49
  phone_number_lookup_basic_auth_password: phone_number_lookup_basic_auth_password,
50
50
  voice_basic_auth_user_name: voice_basic_auth_user_name,
@@ -498,20 +498,20 @@ module WebRtc
498
498
  # This will automatically remove any subscriptions the participant has
499
499
  # associated with this session
500
500
  # @param [String] account_id Required parameter: Account ID
501
- # @param [String] participant_id Required parameter: Participant ID
502
501
  # @param [String] session_id Required parameter: Session ID
502
+ # @param [String] participant_id Required parameter: Participant ID
503
503
  # @return [void] response from the API call
504
504
  def remove_participant_from_session(account_id,
505
- participant_id,
506
- session_id)
505
+ session_id,
506
+ participant_id)
507
507
  # Prepare query url.
508
508
  _query_builder = config.get_base_uri(Server::WEBRTCDEFAULT)
509
509
  _query_builder << '/accounts/{accountId}/sessions/{sessionId}/participants/{participantId}'
510
510
  _query_builder = APIHelper.append_url_with_template_parameters(
511
511
  _query_builder,
512
512
  'accountId' => { 'value' => account_id, 'encode' => false },
513
- 'participantId' => { 'value' => participant_id, 'encode' => false },
514
- 'sessionId' => { 'value' => session_id, 'encode' => false }
513
+ 'sessionId' => { 'value' => session_id, 'encode' => false },
514
+ 'participantId' => { 'value' => participant_id, 'encode' => false }
515
515
  )
516
516
  _query_url = APIHelper.clean_url _query_builder
517
517
 
@@ -553,20 +553,20 @@ module WebRtc
553
553
 
554
554
  # Get a participant's subscriptions
555
555
  # @param [String] account_id Required parameter: Account ID
556
- # @param [String] participant_id Required parameter: Participant ID
557
556
  # @param [String] session_id Required parameter: Session ID
557
+ # @param [String] participant_id Required parameter: Participant ID
558
558
  # @return [Subscriptions] response from the API call
559
559
  def get_participant_subscriptions(account_id,
560
- participant_id,
561
- session_id)
560
+ session_id,
561
+ participant_id)
562
562
  # Prepare query url.
563
563
  _query_builder = config.get_base_uri(Server::WEBRTCDEFAULT)
564
564
  _query_builder << '/accounts/{accountId}/sessions/{sessionId}/participants/{participantId}/subscriptions'
565
565
  _query_builder = APIHelper.append_url_with_template_parameters(
566
566
  _query_builder,
567
567
  'accountId' => { 'value' => account_id, 'encode' => false },
568
- 'participantId' => { 'value' => participant_id, 'encode' => false },
569
- 'sessionId' => { 'value' => session_id, 'encode' => false }
568
+ 'sessionId' => { 'value' => session_id, 'encode' => false },
569
+ 'participantId' => { 'value' => participant_id, 'encode' => false }
570
570
  )
571
571
  _query_url = APIHelper.clean_url _query_builder
572
572
 
@@ -621,13 +621,13 @@ module WebRtc
621
621
  # subscriptions. Call this function with no `Subscriptions` object to remove
622
622
  # all subscriptions
623
623
  # @param [String] account_id Required parameter: Account ID
624
- # @param [String] participant_id Required parameter: Participant ID
625
624
  # @param [String] session_id Required parameter: Session ID
625
+ # @param [String] participant_id Required parameter: Participant ID
626
626
  # @param [Subscriptions] body Optional parameter: Initial state
627
627
  # @return [void] response from the API call
628
628
  def update_participant_subscriptions(account_id,
629
- participant_id,
630
629
  session_id,
630
+ participant_id,
631
631
  body: nil)
632
632
  # Prepare query url.
633
633
  _query_builder = config.get_base_uri(Server::WEBRTCDEFAULT)
@@ -635,8 +635,8 @@ module WebRtc
635
635
  _query_builder = APIHelper.append_url_with_template_parameters(
636
636
  _query_builder,
637
637
  'accountId' => { 'value' => account_id, 'encode' => false },
638
- 'participantId' => { 'value' => participant_id, 'encode' => false },
639
- 'sessionId' => { 'value' => session_id, 'encode' => false }
638
+ 'sessionId' => { 'value' => session_id, 'encode' => false },
639
+ 'participantId' => { 'value' => participant_id, 'encode' => false }
640
640
  )
641
641
  _query_url = APIHelper.clean_url _query_builder
642
642
 
@@ -8,7 +8,7 @@ require_relative '../../lib/bandwidth.rb'
8
8
  include Bandwidth
9
9
  include Bandwidth::Voice
10
10
  include Bandwidth::Messaging
11
- include Bandwidth::TwoFactorAuth
11
+ include Bandwidth::MultiFactorAuth
12
12
 
13
13
  begin
14
14
  USERNAME = ENV.fetch("USERNAME")
@@ -34,8 +34,8 @@ class IntegrationTest < Test::Unit::TestCase
34
34
  voice_basic_auth_password: PASSWORD,
35
35
  messaging_basic_auth_user_name: USERNAME,
36
36
  messaging_basic_auth_password: PASSWORD,
37
- two_factor_auth_basic_auth_user_name: USERNAME,
38
- two_factor_auth_basic_auth_password: PASSWORD,
37
+ multi_factor_auth_basic_auth_user_name: USERNAME,
38
+ multi_factor_auth_basic_auth_password: PASSWORD,
39
39
  phone_number_lookup_basic_auth_user_name: USERNAME,
40
40
  phone_number_lookup_basic_auth_password: PASSWORD
41
41
  )
@@ -58,7 +58,7 @@ class IntegrationTest < Test::Unit::TestCase
58
58
  body.from = PHONE_NUMBER_OUTBOUND
59
59
  body.text = "Ruby Integration"
60
60
  begin
61
- @bandwidth_client.messaging_client.client.create_message(ACCOUNT_ID, :body => body)
61
+ @bandwidth_client.messaging_client.client.create_message(ACCOUNT_ID, body)
62
62
  #workaround to make sure that if the above error is not raised, the build will fail
63
63
  assert(false, "Expected exception not raised")
64
64
  rescue MessagingException => e
@@ -72,7 +72,7 @@ class IntegrationTest < Test::Unit::TestCase
72
72
  media_file = '12345' #todo: check a binary string
73
73
 
74
74
  #media upload
75
- @bandwidth_client.messaging_client.client.upload_media(ACCOUNT_ID, media_file_name, media_file.length.to_s, media_file, :content_type => "application/octet-stream", :cache_control => "no-cache")
75
+ @bandwidth_client.messaging_client.client.upload_media(ACCOUNT_ID, media_file_name, media_file, :content_type => "application/octet-stream", :cache_control => "no-cache")
76
76
 
77
77
  #media download
78
78
  downloaded_media_file = @bandwidth_client.messaging_client.client.get_media(ACCOUNT_ID, media_file_name).data
@@ -81,21 +81,21 @@ class IntegrationTest < Test::Unit::TestCase
81
81
  end
82
82
 
83
83
  def test_create_call_and_get_call_state
84
- body = ApiCreateCallRequest.new
84
+ body = CreateCallRequest.new
85
85
  body.from = PHONE_NUMBER_OUTBOUND
86
86
  body.to = PHONE_NUMBER_INBOUND
87
87
  body.application_id = VOICE_APPLICATION_ID
88
88
  body.answer_url = CALLBACK_URL
89
- response = @bandwidth_client.voice_client.client.create_call(ACCOUNT_ID, :body => body)
89
+ response = @bandwidth_client.voice_client.client.create_call(ACCOUNT_ID, body)
90
90
  assert(response.data.call_id.length > 0, "call_id value not set")
91
91
 
92
92
  #Get phone call information
93
- response = @bandwidth_client.voice_client.client.get_call_state(ACCOUNT_ID, response.data.call_id)
93
+ response = @bandwidth_client.voice_client.client.get_call(ACCOUNT_ID, response.data.call_id)
94
94
  assert(response.data.state.length > 0, "state value not set")
95
95
  end
96
96
 
97
97
  def test_create_call_invalid_phone_number
98
- body = ApiCreateCallRequest.new
98
+ body = CreateCallRequest.new
99
99
  body.from = PHONE_NUMBER_OUTBOUND
100
100
  body.to = "+1invalid"
101
101
  body.application_id = VOICE_APPLICATION_ID
@@ -105,7 +105,7 @@ class IntegrationTest < Test::Unit::TestCase
105
105
  @bandwidth_client.voice_client.client.create_call(ACCOUNT_ID, :body => body)
106
106
  #workaround to make sure that if the above error is not raised, the build will fail
107
107
  assert(false, "Expected exception not raised")
108
- rescue ApiErrorResponseException => e
108
+ rescue ApiErrorException => e
109
109
  assert(e.description.length > 0, "description value not set")
110
110
  end
111
111
  end
@@ -473,7 +473,7 @@ class IntegrationTest < Test::Unit::TestCase
473
473
  body.digits = 6
474
474
  body.message = "Your temporary {NAME} {SCOPE} code is {CODE}"
475
475
 
476
- response = @bandwidth_client.two_factor_auth_client.mfa.create_messaging_two_factor(ACCOUNT_ID, body)
476
+ response = @bandwidth_client.multi_factor_auth_client.mfa.create_messaging_two_factor(ACCOUNT_ID, body)
477
477
  assert(response.data.message_id.length > 0, "message id value not set")
478
478
  end
479
479
 
@@ -486,7 +486,7 @@ class IntegrationTest < Test::Unit::TestCase
486
486
  body.digits = 6
487
487
  body.message = "Your temporary {NAME} {SCOPE} code is {CODE}"
488
488
 
489
- response = @bandwidth_client.two_factor_auth_client.mfa.create_voice_two_factor(ACCOUNT_ID, body)
489
+ response = @bandwidth_client.multi_factor_auth_client.mfa.create_voice_two_factor(ACCOUNT_ID, body)
490
490
  assert(response.data.call_id.length > 0, "call id value not set")
491
491
  end
492
492
 
@@ -497,7 +497,7 @@ class IntegrationTest < Test::Unit::TestCase
497
497
  body.scope = "scope"
498
498
  body.code = "123456"
499
499
  body.expiration_time_in_minutes = 3
500
- response = @bandwidth_client.two_factor_auth_client.mfa.create_verify_two_factor(ACCOUNT_ID, body)
500
+ response = @bandwidth_client.multi_factor_auth_client.mfa.create_verify_two_factor(ACCOUNT_ID, body)
501
501
  #Ruby has no check to see if variables are of type boolean
502
502
  #An explicit true/false check is required
503
503
  assert(response.data.valid == true || response.data.valid == false, "'valid' variable is not a boolean")
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: 6.2.0
4
+ version: 7.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - APIMatic SDK Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-12 00:00:00.000000000 Z
11
+ date: 2021-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logging
@@ -155,8 +155,8 @@ files:
155
155
  - lib/bandwidth/exceptions/api_exception.rb
156
156
  - lib/bandwidth/http/api_response.rb
157
157
  - lib/bandwidth/http/auth/messaging_basic_auth.rb
158
+ - lib/bandwidth/http/auth/multi_factor_auth_basic_auth.rb
158
159
  - lib/bandwidth/http/auth/phone_number_lookup_basic_auth.rb
159
- - lib/bandwidth/http/auth/two_factor_auth_basic_auth.rb
160
160
  - lib/bandwidth/http/auth/voice_basic_auth.rb
161
161
  - lib/bandwidth/http/auth/web_rtc_basic_auth.rb
162
162
  - lib/bandwidth/http/faraday_client.rb
@@ -181,6 +181,18 @@ files:
181
181
  - lib/bandwidth/messaging_lib/messaging/models/priority_enum.rb
182
182
  - lib/bandwidth/messaging_lib/messaging/models/tag.rb
183
183
  - lib/bandwidth/models/base_model.rb
184
+ - lib/bandwidth/multi_factor_auth_lib/multi_factor_auth.rb
185
+ - lib/bandwidth/multi_factor_auth_lib/multi_factor_auth/client.rb
186
+ - lib/bandwidth/multi_factor_auth_lib/multi_factor_auth/controllers/base_controller.rb
187
+ - lib/bandwidth/multi_factor_auth_lib/multi_factor_auth/controllers/mfa_controller.rb
188
+ - lib/bandwidth/multi_factor_auth_lib/multi_factor_auth/exceptions/error_with_request_exception.rb
189
+ - lib/bandwidth/multi_factor_auth_lib/multi_factor_auth/exceptions/forbidden_request_exception.rb
190
+ - lib/bandwidth/multi_factor_auth_lib/multi_factor_auth/exceptions/unauthorized_request_exception.rb
191
+ - lib/bandwidth/multi_factor_auth_lib/multi_factor_auth/models/two_factor_code_request_schema.rb
192
+ - lib/bandwidth/multi_factor_auth_lib/multi_factor_auth/models/two_factor_messaging_response.rb
193
+ - lib/bandwidth/multi_factor_auth_lib/multi_factor_auth/models/two_factor_verify_code_response.rb
194
+ - lib/bandwidth/multi_factor_auth_lib/multi_factor_auth/models/two_factor_verify_request_schema.rb
195
+ - lib/bandwidth/multi_factor_auth_lib/multi_factor_auth/models/two_factor_voice_response.rb
184
196
  - lib/bandwidth/phone_number_lookup_lib/phone_number_lookup.rb
185
197
  - lib/bandwidth/phone_number_lookup_lib/phone_number_lookup/client.rb
186
198
  - lib/bandwidth/phone_number_lookup_lib/phone_number_lookup/controllers/api_controller.rb
@@ -190,18 +202,7 @@ files:
190
202
  - lib/bandwidth/phone_number_lookup_lib/phone_number_lookup/models/order_response.rb
191
203
  - lib/bandwidth/phone_number_lookup_lib/phone_number_lookup/models/order_status.rb
192
204
  - lib/bandwidth/phone_number_lookup_lib/phone_number_lookup/models/result.rb
193
- - lib/bandwidth/two_factor_auth_lib/two_factor_auth.rb
194
- - lib/bandwidth/two_factor_auth_lib/two_factor_auth/client.rb
195
- - lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/base_controller.rb
196
- - lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/mfa_controller.rb
197
- - lib/bandwidth/two_factor_auth_lib/two_factor_auth/exceptions/error_with_request_exception.rb
198
- - lib/bandwidth/two_factor_auth_lib/two_factor_auth/exceptions/forbidden_request_exception.rb
199
- - lib/bandwidth/two_factor_auth_lib/two_factor_auth/exceptions/unauthorized_request_exception.rb
200
- - lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_code_request_schema.rb
201
- - lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_messaging_response.rb
202
- - lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb
203
- - lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_request_schema.rb
204
- - lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_voice_response.rb
205
+ - lib/bandwidth/utilities/date_time_helper.rb
205
206
  - lib/bandwidth/utilities/file_wrapper.rb
206
207
  - lib/bandwidth/voice_lib/bxml/bxml.rb
207
208
  - lib/bandwidth/voice_lib/bxml/verbs/bridge.rb
@@ -231,36 +232,32 @@ files:
231
232
  - lib/bandwidth/voice_lib/voice/client.rb
232
233
  - lib/bandwidth/voice_lib/voice/controllers/api_controller.rb
233
234
  - lib/bandwidth/voice_lib/voice/controllers/base_controller.rb
234
- - lib/bandwidth/voice_lib/voice/exceptions/api_error_response_exception.rb
235
+ - lib/bandwidth/voice_lib/voice/exceptions/api_error_exception.rb
235
236
  - lib/bandwidth/voice_lib/voice/models/answer_fallback_method_enum.rb
236
237
  - lib/bandwidth/voice_lib/voice/models/answer_method_enum.rb
237
- - lib/bandwidth/voice_lib/voice/models/api_call_response.rb
238
- - lib/bandwidth/voice_lib/voice/models/api_call_state_response.rb
239
- - lib/bandwidth/voice_lib/voice/models/api_create_call_request.rb
240
- - lib/bandwidth/voice_lib/voice/models/api_modify_call_request.rb
241
- - lib/bandwidth/voice_lib/voice/models/api_modify_conference_request.rb
242
- - lib/bandwidth/voice_lib/voice/models/api_transcribe_recording_request.rb
238
+ - lib/bandwidth/voice_lib/voice/models/call_recording_metadata.rb
239
+ - lib/bandwidth/voice_lib/voice/models/call_state.rb
243
240
  - lib/bandwidth/voice_lib/voice/models/callback_method_enum.rb
244
- - lib/bandwidth/voice_lib/voice/models/conference_detail.rb
245
241
  - lib/bandwidth/voice_lib/voice/models/conference_event_method_enum.rb
246
- - lib/bandwidth/voice_lib/voice/models/conference_member_detail.rb
247
- - lib/bandwidth/voice_lib/voice/models/conference_recording_metadata_response.rb
242
+ - lib/bandwidth/voice_lib/voice/models/conference_member_state.rb
243
+ - lib/bandwidth/voice_lib/voice/models/conference_recording_metadata.rb
244
+ - lib/bandwidth/voice_lib/voice/models/conference_state.rb
245
+ - lib/bandwidth/voice_lib/voice/models/create_call_request.rb
246
+ - lib/bandwidth/voice_lib/voice/models/create_call_response.rb
248
247
  - lib/bandwidth/voice_lib/voice/models/direction_enum.rb
249
- - lib/bandwidth/voice_lib/voice/models/disconnect_cause_enum.rb
250
248
  - lib/bandwidth/voice_lib/voice/models/disconnect_method_enum.rb
251
249
  - lib/bandwidth/voice_lib/voice/models/file_format_enum.rb
252
- - lib/bandwidth/voice_lib/voice/models/modify_call_recording_state.rb
253
- - lib/bandwidth/voice_lib/voice/models/recording_metadata_response.rb
250
+ - lib/bandwidth/voice_lib/voice/models/modify_call_recording_request.rb
251
+ - lib/bandwidth/voice_lib/voice/models/modify_call_request.rb
252
+ - lib/bandwidth/voice_lib/voice/models/modify_conference_request.rb
254
253
  - lib/bandwidth/voice_lib/voice/models/redirect_fallback_method_enum.rb
255
254
  - lib/bandwidth/voice_lib/voice/models/redirect_method_enum.rb
256
255
  - lib/bandwidth/voice_lib/voice/models/state1_enum.rb
257
- - lib/bandwidth/voice_lib/voice/models/state2_enum.rb
258
256
  - lib/bandwidth/voice_lib/voice/models/state_enum.rb
259
- - lib/bandwidth/voice_lib/voice/models/status1_enum.rb
260
- - lib/bandwidth/voice_lib/voice/models/status3_enum.rb
261
257
  - lib/bandwidth/voice_lib/voice/models/status_enum.rb
258
+ - lib/bandwidth/voice_lib/voice/models/transcribe_recording_request.rb
262
259
  - lib/bandwidth/voice_lib/voice/models/transcript.rb
263
- - lib/bandwidth/voice_lib/voice/models/transcription.rb
260
+ - lib/bandwidth/voice_lib/voice/models/transcription_metadata.rb
264
261
  - lib/bandwidth/voice_lib/voice/models/transcription_response.rb
265
262
  - lib/bandwidth/web_rtc_lib/utils/web_rtc_transfer.rb
266
263
  - lib/bandwidth/web_rtc_lib/web_rtc.rb