bandwidth-sdk 2.2.2 → 3.12.1

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 (69) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bandwidth.rb +28 -2
  3. data/lib/bandwidth/api_helper.rb +14 -9
  4. data/lib/bandwidth/client.rb +22 -2
  5. data/lib/bandwidth/configuration.rb +67 -12
  6. data/lib/bandwidth/http/auth/two_factor_auth_basic_auth.rb +22 -0
  7. data/lib/bandwidth/http/auth/web_rtc_basic_auth.rb +22 -0
  8. data/lib/bandwidth/messaging_lib/messaging.rb +1 -3
  9. data/lib/bandwidth/messaging_lib/messaging/client.rb +13 -2
  10. data/lib/bandwidth/messaging_lib/messaging/controllers/api_controller.rb +48 -95
  11. data/lib/bandwidth/messaging_lib/messaging/controllers/base_controller.rb +1 -1
  12. data/lib/bandwidth/messaging_lib/messaging/exceptions/{generic_client_exception.rb → messaging_exception.rb} +2 -14
  13. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth.rb +20 -0
  14. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/client.rb +51 -0
  15. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/api_controller.rb +158 -0
  16. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/base_controller.rb +49 -0
  17. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/exceptions/invalid_request_exception.rb +29 -0
  18. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_code_request_schema.rb +88 -0
  19. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_messaging_response.rb +35 -0
  20. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb +35 -0
  21. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_request_schema.rb +94 -0
  22. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_voice_response.rb +35 -0
  23. data/lib/bandwidth/voice_lib/bxml/verbs/bridge.rb +28 -0
  24. data/lib/bandwidth/voice_lib/bxml/verbs/conference.rb +32 -0
  25. data/lib/bandwidth/voice_lib/bxml/verbs/gather.rb +13 -1
  26. data/lib/bandwidth/voice_lib/bxml/verbs/phone_number.rb +5 -1
  27. data/lib/bandwidth/voice_lib/bxml/verbs/record.rb +6 -1
  28. data/lib/bandwidth/voice_lib/bxml/verbs/redirect.rb +5 -1
  29. data/lib/bandwidth/voice_lib/bxml/verbs/ring.rb +15 -0
  30. data/lib/bandwidth/voice_lib/bxml/verbs/send_dtmf.rb +4 -1
  31. data/lib/bandwidth/voice_lib/bxml/verbs/start_gather.rb +20 -0
  32. data/lib/bandwidth/voice_lib/bxml/verbs/stop_gather.rb +14 -0
  33. data/lib/bandwidth/voice_lib/bxml/verbs/transfer.rb +5 -1
  34. data/lib/bandwidth/voice_lib/voice.rb +8 -0
  35. data/lib/bandwidth/voice_lib/voice/client.rb +13 -2
  36. data/lib/bandwidth/voice_lib/voice/controllers/api_controller.rb +768 -131
  37. data/lib/bandwidth/voice_lib/voice/controllers/base_controller.rb +1 -1
  38. data/lib/bandwidth/voice_lib/voice/models/answer_fallback_method_enum.rb +17 -0
  39. data/lib/bandwidth/voice_lib/voice/models/api_call_response.rb +45 -0
  40. data/lib/bandwidth/voice_lib/voice/models/api_create_call_request.rb +65 -2
  41. data/lib/bandwidth/voice_lib/voice/models/api_modify_call_request.rb +36 -0
  42. data/lib/bandwidth/voice_lib/voice/models/api_transcribe_recording_request.rb +11 -2
  43. data/lib/bandwidth/voice_lib/voice/models/call_engine_modify_conference_request.rb +107 -0
  44. data/lib/bandwidth/voice_lib/voice/models/conference_detail.rb +108 -0
  45. data/lib/bandwidth/voice_lib/voice/models/conference_event_method_enum.rb +35 -0
  46. data/lib/bandwidth/voice_lib/voice/models/conference_member_detail.rb +80 -0
  47. data/lib/bandwidth/voice_lib/voice/models/conference_recording_metadata_response.rb +126 -0
  48. data/lib/bandwidth/voice_lib/voice/models/disconnect_cause_enum.rb +4 -1
  49. data/lib/bandwidth/voice_lib/voice/models/recording_metadata_response.rb +33 -5
  50. data/lib/bandwidth/voice_lib/voice/models/redirect_fallback_method_enum.rb +17 -0
  51. data/lib/bandwidth/voice_lib/voice/models/state_enum.rb +3 -3
  52. data/lib/bandwidth/voice_lib/voice/models/status1_enum.rb +10 -13
  53. data/lib/bandwidth/voice_lib/voice/models/status3_enum.rb +32 -0
  54. data/lib/bandwidth/voice_lib/voice/models/status_enum.rb +4 -13
  55. data/lib/bandwidth/voice_lib/voice/models/transcription.rb +1 -1
  56. data/lib/bandwidth/web_rtc_lib/utils/web_rtc_transfer.rb +13 -0
  57. data/lib/bandwidth/web_rtc_lib/web_rtc.rb +21 -0
  58. data/lib/bandwidth/web_rtc_lib/web_rtc/client.rb +51 -0
  59. data/lib/bandwidth/web_rtc_lib/web_rtc/controllers/api_controller.rb +692 -0
  60. data/lib/bandwidth/web_rtc_lib/web_rtc/controllers/base_controller.rb +49 -0
  61. data/lib/bandwidth/{messaging_lib/messaging/exceptions/path_client_exception.rb → web_rtc_lib/web_rtc/exceptions/error_exception.rb} +4 -19
  62. data/lib/bandwidth/web_rtc_lib/web_rtc/models/accounts_participants_response.rb +47 -0
  63. data/lib/bandwidth/web_rtc_lib/web_rtc/models/participant.rb +83 -0
  64. data/lib/bandwidth/web_rtc_lib/web_rtc/models/participant_subscription.rb +35 -0
  65. data/lib/bandwidth/web_rtc_lib/web_rtc/models/publish_permission_enum.rb +17 -0
  66. data/lib/bandwidth/web_rtc_lib/web_rtc/models/session.rb +44 -0
  67. data/lib/bandwidth/web_rtc_lib/web_rtc/models/subscriptions.rb +54 -0
  68. metadata +60 -13
  69. data/lib/bandwidth/messaging_lib/messaging/models/field_error.rb +0 -44
@@ -0,0 +1,49 @@
1
+ # bandwidth
2
+ #
3
+ # This file was automatically generated by APIMATIC v2.0
4
+ # ( https://apimatic.io ).
5
+
6
+ module Bandwidth
7
+ # BaseController.
8
+ class BaseController
9
+ attr_accessor :config, :http_call_back
10
+
11
+ def initialize(config, http_call_back: nil)
12
+ @config = config
13
+ @http_call_back = http_call_back
14
+
15
+ @global_headers = {
16
+ 'user-agent' => 'ruby-sdk-refs/tags/ruby3.12.1'
17
+ }
18
+ end
19
+
20
+ def validate_parameters(args)
21
+ args.each do |_name, value|
22
+ if value.nil?
23
+ raise ArgumentError, "Required parameter #{_name} cannot be nil."
24
+ end
25
+ end
26
+ end
27
+
28
+ def execute_request(request, binary: false)
29
+ @http_call_back.on_before_request(request) if @http_call_back
30
+
31
+ APIHelper.clean_hash(request.headers)
32
+ request.headers.merge!(@global_headers)
33
+
34
+ response = if binary
35
+ config.http_client.execute_as_binary(request)
36
+ else
37
+ config.http_client.execute_as_string(request)
38
+ end
39
+ @http_call_back.on_after_response(response) if @http_call_back
40
+
41
+ response
42
+ end
43
+
44
+ def validate_response(response)
45
+ raise APIException.new 'HTTP Response Not OK', response unless
46
+ response.status_code.between?(200, 208) # [200,208] = HTTP OK
47
+ end
48
+ end
49
+ end
@@ -4,28 +4,16 @@
4
4
  # ( https://apimatic.io ).
5
5
 
6
6
  module Bandwidth
7
- # PathClientException class.
8
- class PathClientException < APIException
9
- # TODO: Write general description for this method
10
- # @return [String]
11
- attr_accessor :timestamp
12
-
7
+ # Error class.
8
+ class ErrorException < APIException
13
9
  # TODO: Write general description for this method
14
10
  # @return [Integer]
15
- attr_accessor :status
16
-
17
- # TODO: Write general description for this method
18
- # @return [String]
19
- attr_accessor :error
11
+ attr_accessor :code
20
12
 
21
13
  # TODO: Write general description for this method
22
14
  # @return [String]
23
15
  attr_accessor :message
24
16
 
25
- # TODO: Write general description for this method
26
- # @return [String]
27
- attr_accessor :path
28
-
29
17
  # The constructor.
30
18
  # @param [String] The reason for raising an exception.
31
19
  # @param [HttpResponse] The HttpReponse of the API call.
@@ -39,11 +27,8 @@ module Bandwidth
39
27
  # @param [Hash] The deserialized response sent by the server in the
40
28
  # response body.
41
29
  def unbox(hash)
42
- @timestamp = hash['timestamp']
43
- @status = hash['status']
44
- @error = hash['error']
30
+ @code = hash['code']
45
31
  @message = hash['message']
46
- @path = hash['path']
47
32
  end
48
33
  end
49
34
  end
@@ -0,0 +1,47 @@
1
+ # bandwidth
2
+ #
3
+ # This file was automatically generated by APIMATIC v2.0
4
+ # ( https://apimatic.io ).
5
+
6
+ module Bandwidth
7
+ # AccountsParticipantsResponse Model.
8
+ class AccountsParticipantsResponse < BaseModel
9
+ # A participant object
10
+ # @return [Participant]
11
+ attr_accessor :participant
12
+
13
+ # Auth token for the returned participant
14
+ # This should be passed to the participant so that they can connect to the
15
+ # platform
16
+ # @return [String]
17
+ attr_accessor :token
18
+
19
+ # A mapping from model property names to API property names.
20
+ def self.names
21
+ @_hash = {} if @_hash.nil?
22
+ @_hash['participant'] = 'participant'
23
+ @_hash['token'] = 'token'
24
+ @_hash
25
+ end
26
+
27
+ def initialize(participant = nil,
28
+ token = nil)
29
+ @participant = participant
30
+ @token = token
31
+ end
32
+
33
+ # Creates an instance of the object from a hash.
34
+ def self.from_hash(hash)
35
+ return nil unless hash
36
+
37
+ # Extract variables from the hash.
38
+ participant = Participant.from_hash(hash['participant']) if
39
+ hash['participant']
40
+ token = hash['token']
41
+
42
+ # Create object from extracted values.
43
+ AccountsParticipantsResponse.new(participant,
44
+ token)
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,83 @@
1
+ # bandwidth
2
+ #
3
+ # This file was automatically generated by APIMATIC v2.0
4
+ # ( https://apimatic.io ).
5
+
6
+ module Bandwidth
7
+ # A participant object
8
+ class Participant < BaseModel
9
+ # Unique id of the participant
10
+ # @return [String]
11
+ attr_accessor :id
12
+
13
+ # Full callback url to use for notifications about this participant
14
+ # @return [String]
15
+ attr_accessor :callback_url
16
+
17
+ # Defines if this participant can publish audio or video
18
+ # @return [List of PublishPermissionEnum]
19
+ attr_accessor :publish_permissions
20
+
21
+ # List of session ids this participant is associated with
22
+ # Capped to one
23
+ # @return [List of String]
24
+ attr_accessor :sessions
25
+
26
+ # List of session ids this participant is associated with
27
+ # Capped to one
28
+ # @return [Subscriptions]
29
+ attr_accessor :subscriptions
30
+
31
+ # User defined tag to associate with the participant
32
+ # @return [String]
33
+ attr_accessor :tag
34
+
35
+ # A mapping from model property names to API property names.
36
+ def self.names
37
+ @_hash = {} if @_hash.nil?
38
+ @_hash['id'] = 'id'
39
+ @_hash['callback_url'] = 'callbackUrl'
40
+ @_hash['publish_permissions'] = 'publishPermissions'
41
+ @_hash['sessions'] = 'sessions'
42
+ @_hash['subscriptions'] = 'subscriptions'
43
+ @_hash['tag'] = 'tag'
44
+ @_hash
45
+ end
46
+
47
+ def initialize(id = nil,
48
+ callback_url = nil,
49
+ publish_permissions = nil,
50
+ sessions = nil,
51
+ subscriptions = nil,
52
+ tag = nil)
53
+ @id = id
54
+ @callback_url = callback_url
55
+ @publish_permissions = publish_permissions
56
+ @sessions = sessions
57
+ @subscriptions = subscriptions
58
+ @tag = tag
59
+ end
60
+
61
+ # Creates an instance of the object from a hash.
62
+ def self.from_hash(hash)
63
+ return nil unless hash
64
+
65
+ # Extract variables from the hash.
66
+ id = hash['id']
67
+ callback_url = hash['callbackUrl']
68
+ publish_permissions = hash['publishPermissions']
69
+ sessions = hash['sessions']
70
+ subscriptions = Subscriptions.from_hash(hash['subscriptions']) if
71
+ hash['subscriptions']
72
+ tag = hash['tag']
73
+
74
+ # Create object from extracted values.
75
+ Participant.new(id,
76
+ callback_url,
77
+ publish_permissions,
78
+ sessions,
79
+ subscriptions,
80
+ tag)
81
+ end
82
+ end
83
+ end
@@ -0,0 +1,35 @@
1
+ # bandwidth
2
+ #
3
+ # This file was automatically generated by APIMATIC v2.0
4
+ # ( https://apimatic.io ).
5
+
6
+ module Bandwidth
7
+ # ParticipantSubscription Model.
8
+ class ParticipantSubscription < BaseModel
9
+ # Participant the subscriber should be subscribed to
10
+ # @return [String]
11
+ attr_accessor :participant_id
12
+
13
+ # A mapping from model property names to API property names.
14
+ def self.names
15
+ @_hash = {} if @_hash.nil?
16
+ @_hash['participant_id'] = 'participantId'
17
+ @_hash
18
+ end
19
+
20
+ def initialize(participant_id = nil)
21
+ @participant_id = participant_id
22
+ end
23
+
24
+ # Creates an instance of the object from a hash.
25
+ def self.from_hash(hash)
26
+ return nil unless hash
27
+
28
+ # Extract variables from the hash.
29
+ participant_id = hash['participantId']
30
+
31
+ # Create object from extracted values.
32
+ ParticipantSubscription.new(participant_id)
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,17 @@
1
+ # bandwidth
2
+ #
3
+ # This file was automatically generated by APIMATIC v2.0
4
+ # ( https://apimatic.io ).
5
+
6
+ module Bandwidth
7
+ # PublishPermission.
8
+ class PublishPermissionEnum
9
+ PUBLISH_PERMISSION_ENUM = [
10
+ # TODO: Write general description for AUDIO
11
+ AUDIO = 'AUDIO'.freeze,
12
+
13
+ # TODO: Write general description for VIDEO
14
+ VIDEO = 'VIDEO'.freeze
15
+ ].freeze
16
+ end
17
+ end
@@ -0,0 +1,44 @@
1
+ # bandwidth
2
+ #
3
+ # This file was automatically generated by APIMATIC v2.0
4
+ # ( https://apimatic.io ).
5
+
6
+ module Bandwidth
7
+ # A session object
8
+ class Session < BaseModel
9
+ # Unique id of the session
10
+ # @return [String]
11
+ attr_accessor :id
12
+
13
+ # User defined tag to associate with the session
14
+ # @return [String]
15
+ attr_accessor :tag
16
+
17
+ # A mapping from model property names to API property names.
18
+ def self.names
19
+ @_hash = {} if @_hash.nil?
20
+ @_hash['id'] = 'id'
21
+ @_hash['tag'] = 'tag'
22
+ @_hash
23
+ end
24
+
25
+ def initialize(id = nil,
26
+ tag = nil)
27
+ @id = id
28
+ @tag = tag
29
+ end
30
+
31
+ # Creates an instance of the object from a hash.
32
+ def self.from_hash(hash)
33
+ return nil unless hash
34
+
35
+ # Extract variables from the hash.
36
+ id = hash['id']
37
+ tag = hash['tag']
38
+
39
+ # Create object from extracted values.
40
+ Session.new(id,
41
+ tag)
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,54 @@
1
+ # bandwidth
2
+ #
3
+ # This file was automatically generated by APIMATIC v2.0
4
+ # ( https://apimatic.io ).
5
+
6
+ module Bandwidth
7
+ # Subscriptions Model.
8
+ class Subscriptions < BaseModel
9
+ # Session the subscriptions are associated with
10
+ # If this is the only field, the subscriber will be subscribed to all
11
+ # participants in the session (including any participants that are later
12
+ # added to the session)
13
+ # @return [String]
14
+ attr_accessor :session_id
15
+
16
+ # Subset of participants to subscribe to in the session. Optional.
17
+ # @return [List of ParticipantSubscription]
18
+ attr_accessor :participants
19
+
20
+ # A mapping from model property names to API property names.
21
+ def self.names
22
+ @_hash = {} if @_hash.nil?
23
+ @_hash['session_id'] = 'sessionId'
24
+ @_hash['participants'] = 'participants'
25
+ @_hash
26
+ end
27
+
28
+ def initialize(session_id = nil,
29
+ participants = nil)
30
+ @session_id = session_id
31
+ @participants = participants
32
+ end
33
+
34
+ # Creates an instance of the object from a hash.
35
+ def self.from_hash(hash)
36
+ return nil unless hash
37
+
38
+ # Extract variables from the hash.
39
+ session_id = hash['sessionId']
40
+ # Parameter is an array, so we need to iterate through it
41
+ participants = nil
42
+ unless hash['participants'].nil?
43
+ participants = []
44
+ hash['participants'].each do |structure|
45
+ participants << (ParticipantSubscription.from_hash(structure) if structure)
46
+ end
47
+ end
48
+
49
+ # Create object from extracted values.
50
+ Subscriptions.new(session_id,
51
+ participants)
52
+ end
53
+ end
54
+ end
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: 2.2.2
4
+ version: 3.12.1
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: 2020-03-16 00:00:00.000000000 Z
11
+ date: 2020-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logging
@@ -16,42 +16,48 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.2'
19
+ version: '2.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2.2'
26
+ version: '2.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: faraday
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.15'
33
+ version: '1.0'
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 1.0.1
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
41
  - - "~>"
39
42
  - !ruby/object:Gem::Version
40
- version: '0.15'
43
+ version: '1.0'
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 1.0.1
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: faraday_middleware
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: '0.13'
53
+ version: '1.0'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: '0.13'
60
+ version: '1.0'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: certifi
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -59,6 +65,9 @@ dependencies:
59
65
  - - "~>"
60
66
  - !ruby/object:Gem::Version
61
67
  version: '2018.1'
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: 2018.01.18
62
71
  type: :runtime
63
72
  prerelease: false
64
73
  version_requirements: !ruby/object:Gem::Requirement
@@ -66,20 +75,23 @@ dependencies:
66
75
  - - "~>"
67
76
  - !ruby/object:Gem::Version
68
77
  version: '2018.1'
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: 2018.01.18
69
81
  - !ruby/object:Gem::Dependency
70
82
  name: faraday-http-cache
71
83
  requirement: !ruby/object:Gem::Requirement
72
84
  requirements:
73
85
  - - "~>"
74
86
  - !ruby/object:Gem::Version
75
- version: 2.0.0
87
+ version: '2.2'
76
88
  type: :runtime
77
89
  prerelease: false
78
90
  version_requirements: !ruby/object:Gem::Requirement
79
91
  requirements:
80
92
  - - "~>"
81
93
  - !ruby/object:Gem::Version
82
- version: 2.0.0
94
+ version: '2.2'
83
95
  - !ruby/object:Gem::Dependency
84
96
  name: builder
85
97
  requirement: !ruby/object:Gem::Requirement
@@ -109,7 +121,9 @@ files:
109
121
  - lib/bandwidth/exceptions/api_exception.rb
110
122
  - lib/bandwidth/http/api_response.rb
111
123
  - lib/bandwidth/http/auth/messaging_basic_auth.rb
124
+ - lib/bandwidth/http/auth/two_factor_auth_basic_auth.rb
112
125
  - lib/bandwidth/http/auth/voice_basic_auth.rb
126
+ - lib/bandwidth/http/auth/web_rtc_basic_auth.rb
113
127
  - lib/bandwidth/http/faraday_client.rb
114
128
  - lib/bandwidth/http/http_call_back.rb
115
129
  - lib/bandwidth/http/http_client.rb
@@ -120,18 +134,28 @@ files:
120
134
  - lib/bandwidth/messaging_lib/messaging/client.rb
121
135
  - lib/bandwidth/messaging_lib/messaging/controllers/api_controller.rb
122
136
  - lib/bandwidth/messaging_lib/messaging/controllers/base_controller.rb
123
- - lib/bandwidth/messaging_lib/messaging/exceptions/generic_client_exception.rb
124
- - lib/bandwidth/messaging_lib/messaging/exceptions/path_client_exception.rb
137
+ - lib/bandwidth/messaging_lib/messaging/exceptions/messaging_exception.rb
125
138
  - lib/bandwidth/messaging_lib/messaging/models/bandwidth_callback_message.rb
126
139
  - lib/bandwidth/messaging_lib/messaging/models/bandwidth_message.rb
127
140
  - lib/bandwidth/messaging_lib/messaging/models/deferred_result.rb
128
- - lib/bandwidth/messaging_lib/messaging/models/field_error.rb
129
141
  - lib/bandwidth/messaging_lib/messaging/models/media.rb
130
142
  - lib/bandwidth/messaging_lib/messaging/models/message_request.rb
131
143
  - lib/bandwidth/messaging_lib/messaging/models/tag.rb
132
144
  - lib/bandwidth/models/base_model.rb
145
+ - lib/bandwidth/two_factor_auth_lib/two_factor_auth.rb
146
+ - lib/bandwidth/two_factor_auth_lib/two_factor_auth/client.rb
147
+ - lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/api_controller.rb
148
+ - lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/base_controller.rb
149
+ - lib/bandwidth/two_factor_auth_lib/two_factor_auth/exceptions/invalid_request_exception.rb
150
+ - lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_code_request_schema.rb
151
+ - lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_messaging_response.rb
152
+ - lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb
153
+ - lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_request_schema.rb
154
+ - lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_voice_response.rb
133
155
  - lib/bandwidth/utilities/file_wrapper.rb
134
156
  - lib/bandwidth/voice_lib/bxml/bxml.rb
157
+ - lib/bandwidth/voice_lib/bxml/verbs/bridge.rb
158
+ - lib/bandwidth/voice_lib/bxml/verbs/conference.rb
135
159
  - lib/bandwidth/voice_lib/bxml/verbs/forward.rb
136
160
  - lib/bandwidth/voice_lib/bxml/verbs/gather.rb
137
161
  - lib/bandwidth/voice_lib/bxml/verbs/hangup.rb
@@ -142,9 +166,12 @@ files:
142
166
  - lib/bandwidth/voice_lib/bxml/verbs/record.rb
143
167
  - lib/bandwidth/voice_lib/bxml/verbs/redirect.rb
144
168
  - lib/bandwidth/voice_lib/bxml/verbs/resume_recording.rb
169
+ - lib/bandwidth/voice_lib/bxml/verbs/ring.rb
145
170
  - lib/bandwidth/voice_lib/bxml/verbs/send_dtmf.rb
146
171
  - lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
172
+ - lib/bandwidth/voice_lib/bxml/verbs/start_gather.rb
147
173
  - lib/bandwidth/voice_lib/bxml/verbs/start_recording.rb
174
+ - lib/bandwidth/voice_lib/bxml/verbs/stop_gather.rb
148
175
  - lib/bandwidth/voice_lib/bxml/verbs/stop_recording.rb
149
176
  - lib/bandwidth/voice_lib/bxml/verbs/transfer.rb
150
177
  - lib/bandwidth/voice_lib/bxml/verbs/xml_verb.rb
@@ -153,28 +180,48 @@ files:
153
180
  - lib/bandwidth/voice_lib/voice/controllers/api_controller.rb
154
181
  - lib/bandwidth/voice_lib/voice/controllers/base_controller.rb
155
182
  - lib/bandwidth/voice_lib/voice/exceptions/api_error_response_exception.rb
183
+ - lib/bandwidth/voice_lib/voice/models/answer_fallback_method_enum.rb
156
184
  - lib/bandwidth/voice_lib/voice/models/answer_method_enum.rb
157
185
  - lib/bandwidth/voice_lib/voice/models/api_call_response.rb
158
186
  - lib/bandwidth/voice_lib/voice/models/api_call_state_response.rb
159
187
  - lib/bandwidth/voice_lib/voice/models/api_create_call_request.rb
160
188
  - lib/bandwidth/voice_lib/voice/models/api_modify_call_request.rb
161
189
  - lib/bandwidth/voice_lib/voice/models/api_transcribe_recording_request.rb
190
+ - lib/bandwidth/voice_lib/voice/models/call_engine_modify_conference_request.rb
162
191
  - lib/bandwidth/voice_lib/voice/models/callback_method_enum.rb
192
+ - lib/bandwidth/voice_lib/voice/models/conference_detail.rb
193
+ - lib/bandwidth/voice_lib/voice/models/conference_event_method_enum.rb
194
+ - lib/bandwidth/voice_lib/voice/models/conference_member_detail.rb
195
+ - lib/bandwidth/voice_lib/voice/models/conference_recording_metadata_response.rb
163
196
  - lib/bandwidth/voice_lib/voice/models/direction_enum.rb
164
197
  - lib/bandwidth/voice_lib/voice/models/disconnect_cause_enum.rb
165
198
  - lib/bandwidth/voice_lib/voice/models/disconnect_method_enum.rb
166
199
  - lib/bandwidth/voice_lib/voice/models/file_format_enum.rb
167
200
  - lib/bandwidth/voice_lib/voice/models/modify_call_recording_state.rb
168
201
  - lib/bandwidth/voice_lib/voice/models/recording_metadata_response.rb
202
+ - lib/bandwidth/voice_lib/voice/models/redirect_fallback_method_enum.rb
169
203
  - lib/bandwidth/voice_lib/voice/models/redirect_method_enum.rb
170
204
  - lib/bandwidth/voice_lib/voice/models/state1_enum.rb
171
205
  - lib/bandwidth/voice_lib/voice/models/state2_enum.rb
172
206
  - lib/bandwidth/voice_lib/voice/models/state_enum.rb
173
207
  - lib/bandwidth/voice_lib/voice/models/status1_enum.rb
208
+ - lib/bandwidth/voice_lib/voice/models/status3_enum.rb
174
209
  - lib/bandwidth/voice_lib/voice/models/status_enum.rb
175
210
  - lib/bandwidth/voice_lib/voice/models/transcript.rb
176
211
  - lib/bandwidth/voice_lib/voice/models/transcription.rb
177
212
  - lib/bandwidth/voice_lib/voice/models/transcription_response.rb
213
+ - lib/bandwidth/web_rtc_lib/utils/web_rtc_transfer.rb
214
+ - lib/bandwidth/web_rtc_lib/web_rtc.rb
215
+ - lib/bandwidth/web_rtc_lib/web_rtc/client.rb
216
+ - lib/bandwidth/web_rtc_lib/web_rtc/controllers/api_controller.rb
217
+ - lib/bandwidth/web_rtc_lib/web_rtc/controllers/base_controller.rb
218
+ - lib/bandwidth/web_rtc_lib/web_rtc/exceptions/error_exception.rb
219
+ - lib/bandwidth/web_rtc_lib/web_rtc/models/accounts_participants_response.rb
220
+ - lib/bandwidth/web_rtc_lib/web_rtc/models/participant.rb
221
+ - lib/bandwidth/web_rtc_lib/web_rtc/models/participant_subscription.rb
222
+ - lib/bandwidth/web_rtc_lib/web_rtc/models/publish_permission_enum.rb
223
+ - lib/bandwidth/web_rtc_lib/web_rtc/models/session.rb
224
+ - lib/bandwidth/web_rtc_lib/web_rtc/models/subscriptions.rb
178
225
  homepage: https://apimatic.io
179
226
  licenses:
180
227
  - MIT