bandwidth-sdk 2.1.1 → 6.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +85 -70
- data/lib/bandwidth.rb +31 -2
- data/lib/bandwidth/api_helper.rb +14 -9
- data/lib/bandwidth/client.rb +22 -2
- data/lib/bandwidth/configuration.rb +67 -12
- data/lib/bandwidth/http/api_response.rb +2 -0
- data/lib/bandwidth/http/auth/two_factor_auth_basic_auth.rb +22 -0
- data/lib/bandwidth/http/auth/web_rtc_basic_auth.rb +22 -0
- data/lib/bandwidth/http/faraday_client.rb +5 -2
- data/lib/bandwidth/messaging_lib/messaging.rb +5 -3
- data/lib/bandwidth/messaging_lib/messaging/client.rb +13 -2
- data/lib/bandwidth/messaging_lib/messaging/controllers/api_controller.rb +191 -113
- data/lib/bandwidth/messaging_lib/messaging/controllers/base_controller.rb +1 -1
- data/lib/bandwidth/messaging_lib/messaging/exceptions/{generic_client_exception.rb → messaging_exception.rb} +2 -14
- data/lib/bandwidth/messaging_lib/messaging/models/bandwidth_message.rb +23 -13
- data/lib/bandwidth/messaging_lib/messaging/models/bandwidth_message_item.rb +125 -0
- data/lib/bandwidth/messaging_lib/messaging/models/bandwidth_messages_list.rb +60 -0
- data/lib/bandwidth/messaging_lib/messaging/models/media.rb +4 -4
- data/lib/bandwidth/messaging_lib/messaging/models/message_request.rb +21 -8
- data/lib/bandwidth/messaging_lib/messaging/models/page_info.rb +62 -0
- data/lib/bandwidth/messaging_lib/messaging/models/priority_enum.rb +19 -0
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth.rb +22 -0
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/client.rb +51 -0
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/base_controller.rb +49 -0
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/mfa_controller.rb +209 -0
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/exceptions/error_with_request_exception.rb +34 -0
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/exceptions/forbidden_request_exception.rb +29 -0
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/exceptions/unauthorized_request_exception.rb +29 -0
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_code_request_schema.rb +88 -0
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_messaging_response.rb +35 -0
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb +35 -0
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_request_schema.rb +75 -0
- data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_voice_response.rb +35 -0
- data/lib/bandwidth/utilities/file_wrapper.rb +17 -0
- data/lib/bandwidth/voice_lib/bxml/verbs/bridge.rb +28 -0
- data/lib/bandwidth/voice_lib/bxml/verbs/conference.rb +32 -0
- data/lib/bandwidth/voice_lib/bxml/verbs/gather.rb +13 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/phone_number.rb +7 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/record.rb +9 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/redirect.rb +5 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/ring.rb +15 -0
- data/lib/bandwidth/voice_lib/bxml/verbs/send_dtmf.rb +4 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/sip_uri.rb +25 -0
- data/lib/bandwidth/voice_lib/bxml/verbs/start_gather.rb +20 -0
- data/lib/bandwidth/voice_lib/bxml/verbs/start_recording.rb +4 -1
- data/lib/bandwidth/voice_lib/bxml/verbs/stop_gather.rb +14 -0
- data/lib/bandwidth/voice_lib/bxml/verbs/tag.rb +13 -0
- data/lib/bandwidth/voice_lib/bxml/verbs/transfer.rb +14 -3
- data/lib/bandwidth/voice_lib/voice.rb +19 -4
- data/lib/bandwidth/voice_lib/voice/client.rb +13 -2
- data/lib/bandwidth/voice_lib/voice/controllers/api_controller.rb +1219 -133
- data/lib/bandwidth/voice_lib/voice/controllers/base_controller.rb +1 -1
- data/lib/bandwidth/voice_lib/voice/exceptions/{error_response_exception.rb → api_error_response_exception.rb} +3 -3
- data/lib/bandwidth/voice_lib/voice/models/answer_fallback_method_enum.rb +17 -0
- data/lib/bandwidth/voice_lib/voice/models/api_call_response.rb +56 -2
- data/lib/bandwidth/voice_lib/voice/models/api_call_state_response.rb +164 -0
- data/lib/bandwidth/voice_lib/voice/models/api_create_call_request.rb +135 -12
- data/lib/bandwidth/voice_lib/voice/models/api_modify_call_request.rb +37 -1
- data/lib/bandwidth/voice_lib/voice/models/api_modify_conference_request.rb +107 -0
- data/lib/bandwidth/voice_lib/voice/models/api_transcribe_recording_request.rb +80 -0
- data/lib/bandwidth/voice_lib/voice/models/callback_method_enum.rb +35 -0
- data/lib/bandwidth/voice_lib/voice/models/conference_detail.rb +108 -0
- data/lib/bandwidth/voice_lib/voice/models/conference_event_method_enum.rb +35 -0
- data/lib/bandwidth/voice_lib/voice/models/conference_member_detail.rb +80 -0
- data/lib/bandwidth/voice_lib/voice/models/conference_recording_metadata_response.rb +126 -0
- data/lib/bandwidth/voice_lib/voice/models/disconnect_cause_enum.rb +47 -0
- data/lib/bandwidth/voice_lib/voice/models/modify_call_recording_state.rb +1 -1
- data/lib/bandwidth/voice_lib/voice/models/recording_metadata_response.rb +66 -28
- data/lib/bandwidth/voice_lib/voice/models/redirect_fallback_method_enum.rb +17 -0
- data/lib/bandwidth/voice_lib/voice/models/state1_enum.rb +4 -7
- data/lib/bandwidth/voice_lib/voice/models/state2_enum.rb +20 -0
- data/lib/bandwidth/voice_lib/voice/models/state_enum.rb +7 -4
- data/lib/bandwidth/voice_lib/voice/models/status1_enum.rb +29 -0
- data/lib/bandwidth/voice_lib/voice/models/status3_enum.rb +32 -0
- data/lib/bandwidth/voice_lib/voice/models/status_enum.rb +17 -0
- data/lib/bandwidth/{messaging_lib/messaging/models/field_error.rb → voice_lib/voice/models/transcript.rb} +15 -15
- data/lib/bandwidth/voice_lib/voice/models/transcription.rb +62 -0
- data/lib/bandwidth/voice_lib/voice/models/transcription_response.rb +42 -0
- data/lib/bandwidth/web_rtc_lib/utils/web_rtc_transfer.rb +13 -0
- data/lib/bandwidth/web_rtc_lib/web_rtc.rb +22 -0
- data/lib/bandwidth/web_rtc_lib/web_rtc/client.rb +51 -0
- data/lib/bandwidth/web_rtc_lib/web_rtc/controllers/api_controller.rb +692 -0
- data/lib/bandwidth/web_rtc_lib/web_rtc/controllers/base_controller.rb +49 -0
- data/lib/bandwidth/{messaging_lib/messaging/exceptions/path_client_exception.rb → web_rtc_lib/web_rtc/exceptions/error_exception.rb} +4 -19
- data/lib/bandwidth/web_rtc_lib/web_rtc/models/accounts_participants_response.rb +47 -0
- data/lib/bandwidth/web_rtc_lib/web_rtc/models/device_api_version_enum.rb +17 -0
- data/lib/bandwidth/web_rtc_lib/web_rtc/models/participant.rb +92 -0
- data/lib/bandwidth/web_rtc_lib/web_rtc/models/participant_subscription.rb +35 -0
- data/lib/bandwidth/web_rtc_lib/web_rtc/models/publish_permission_enum.rb +17 -0
- data/lib/bandwidth/web_rtc_lib/web_rtc/models/session.rb +44 -0
- data/lib/bandwidth/web_rtc_lib/web_rtc/models/subscriptions.rb +54 -0
- data/test/integration/test_integration.rb +570 -0
- metadata +132 -19
- data/lib/bandwidth/voice_lib/voice/models/api_get_account_recordings_metadata_request.rb +0 -65
- data/lib/bandwidth/voice_lib/voice/models/transcription_status_enum.rb +0 -20
- data/lib/bandwidth/voice_lib/voice/models/type_enum.rb +0 -32
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:
|
4
|
+
version: 6.1.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:
|
11
|
+
date: 2021-03-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.
|
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.
|
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
|
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
|
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
|
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
|
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,71 @@ 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.
|
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.
|
94
|
+
version: '2.2'
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: builder
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - "~>"
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: 3.2.4
|
102
|
+
type: :runtime
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - "~>"
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: 3.2.4
|
109
|
+
- !ruby/object:Gem::Dependency
|
110
|
+
name: minitest
|
111
|
+
requirement: !ruby/object:Gem::Requirement
|
112
|
+
requirements:
|
113
|
+
- - "~>"
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '5.14'
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: 5.14.1
|
119
|
+
type: :development
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - "~>"
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '5.14'
|
126
|
+
- - ">="
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: 5.14.1
|
129
|
+
- !ruby/object:Gem::Dependency
|
130
|
+
name: minitest-proveit
|
131
|
+
requirement: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - "~>"
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '1.0'
|
136
|
+
type: :development
|
137
|
+
prerelease: false
|
138
|
+
version_requirements: !ruby/object:Gem::Requirement
|
139
|
+
requirements:
|
140
|
+
- - "~>"
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '1.0'
|
83
143
|
description: Bandwidth's set of APIs
|
84
144
|
email: support@apimatic.io
|
85
145
|
executables: []
|
@@ -95,7 +155,9 @@ files:
|
|
95
155
|
- lib/bandwidth/exceptions/api_exception.rb
|
96
156
|
- lib/bandwidth/http/api_response.rb
|
97
157
|
- lib/bandwidth/http/auth/messaging_basic_auth.rb
|
158
|
+
- lib/bandwidth/http/auth/two_factor_auth_basic_auth.rb
|
98
159
|
- lib/bandwidth/http/auth/voice_basic_auth.rb
|
160
|
+
- lib/bandwidth/http/auth/web_rtc_basic_auth.rb
|
99
161
|
- lib/bandwidth/http/faraday_client.rb
|
100
162
|
- lib/bandwidth/http/http_call_back.rb
|
101
163
|
- lib/bandwidth/http/http_client.rb
|
@@ -106,17 +168,34 @@ files:
|
|
106
168
|
- lib/bandwidth/messaging_lib/messaging/client.rb
|
107
169
|
- lib/bandwidth/messaging_lib/messaging/controllers/api_controller.rb
|
108
170
|
- lib/bandwidth/messaging_lib/messaging/controllers/base_controller.rb
|
109
|
-
- lib/bandwidth/messaging_lib/messaging/exceptions/
|
110
|
-
- lib/bandwidth/messaging_lib/messaging/exceptions/path_client_exception.rb
|
171
|
+
- lib/bandwidth/messaging_lib/messaging/exceptions/messaging_exception.rb
|
111
172
|
- lib/bandwidth/messaging_lib/messaging/models/bandwidth_callback_message.rb
|
112
173
|
- lib/bandwidth/messaging_lib/messaging/models/bandwidth_message.rb
|
174
|
+
- lib/bandwidth/messaging_lib/messaging/models/bandwidth_message_item.rb
|
175
|
+
- lib/bandwidth/messaging_lib/messaging/models/bandwidth_messages_list.rb
|
113
176
|
- lib/bandwidth/messaging_lib/messaging/models/deferred_result.rb
|
114
|
-
- lib/bandwidth/messaging_lib/messaging/models/field_error.rb
|
115
177
|
- lib/bandwidth/messaging_lib/messaging/models/media.rb
|
116
178
|
- lib/bandwidth/messaging_lib/messaging/models/message_request.rb
|
179
|
+
- lib/bandwidth/messaging_lib/messaging/models/page_info.rb
|
180
|
+
- lib/bandwidth/messaging_lib/messaging/models/priority_enum.rb
|
117
181
|
- lib/bandwidth/messaging_lib/messaging/models/tag.rb
|
118
182
|
- lib/bandwidth/models/base_model.rb
|
183
|
+
- lib/bandwidth/two_factor_auth_lib/two_factor_auth.rb
|
184
|
+
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/client.rb
|
185
|
+
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/base_controller.rb
|
186
|
+
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/mfa_controller.rb
|
187
|
+
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/exceptions/error_with_request_exception.rb
|
188
|
+
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/exceptions/forbidden_request_exception.rb
|
189
|
+
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/exceptions/unauthorized_request_exception.rb
|
190
|
+
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_code_request_schema.rb
|
191
|
+
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_messaging_response.rb
|
192
|
+
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb
|
193
|
+
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_request_schema.rb
|
194
|
+
- lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_voice_response.rb
|
195
|
+
- lib/bandwidth/utilities/file_wrapper.rb
|
119
196
|
- lib/bandwidth/voice_lib/bxml/bxml.rb
|
197
|
+
- lib/bandwidth/voice_lib/bxml/verbs/bridge.rb
|
198
|
+
- lib/bandwidth/voice_lib/bxml/verbs/conference.rb
|
120
199
|
- lib/bandwidth/voice_lib/bxml/verbs/forward.rb
|
121
200
|
- lib/bandwidth/voice_lib/bxml/verbs/gather.rb
|
122
201
|
- lib/bandwidth/voice_lib/bxml/verbs/hangup.rb
|
@@ -127,32 +206,66 @@ files:
|
|
127
206
|
- lib/bandwidth/voice_lib/bxml/verbs/record.rb
|
128
207
|
- lib/bandwidth/voice_lib/bxml/verbs/redirect.rb
|
129
208
|
- lib/bandwidth/voice_lib/bxml/verbs/resume_recording.rb
|
209
|
+
- lib/bandwidth/voice_lib/bxml/verbs/ring.rb
|
130
210
|
- lib/bandwidth/voice_lib/bxml/verbs/send_dtmf.rb
|
211
|
+
- lib/bandwidth/voice_lib/bxml/verbs/sip_uri.rb
|
131
212
|
- lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
|
213
|
+
- lib/bandwidth/voice_lib/bxml/verbs/start_gather.rb
|
132
214
|
- lib/bandwidth/voice_lib/bxml/verbs/start_recording.rb
|
215
|
+
- lib/bandwidth/voice_lib/bxml/verbs/stop_gather.rb
|
133
216
|
- lib/bandwidth/voice_lib/bxml/verbs/stop_recording.rb
|
217
|
+
- lib/bandwidth/voice_lib/bxml/verbs/tag.rb
|
134
218
|
- lib/bandwidth/voice_lib/bxml/verbs/transfer.rb
|
135
219
|
- lib/bandwidth/voice_lib/bxml/verbs/xml_verb.rb
|
136
220
|
- lib/bandwidth/voice_lib/voice.rb
|
137
221
|
- lib/bandwidth/voice_lib/voice/client.rb
|
138
222
|
- lib/bandwidth/voice_lib/voice/controllers/api_controller.rb
|
139
223
|
- lib/bandwidth/voice_lib/voice/controllers/base_controller.rb
|
140
|
-
- lib/bandwidth/voice_lib/voice/exceptions/
|
224
|
+
- lib/bandwidth/voice_lib/voice/exceptions/api_error_response_exception.rb
|
225
|
+
- lib/bandwidth/voice_lib/voice/models/answer_fallback_method_enum.rb
|
141
226
|
- lib/bandwidth/voice_lib/voice/models/answer_method_enum.rb
|
142
227
|
- lib/bandwidth/voice_lib/voice/models/api_call_response.rb
|
228
|
+
- lib/bandwidth/voice_lib/voice/models/api_call_state_response.rb
|
143
229
|
- lib/bandwidth/voice_lib/voice/models/api_create_call_request.rb
|
144
|
-
- lib/bandwidth/voice_lib/voice/models/api_get_account_recordings_metadata_request.rb
|
145
230
|
- lib/bandwidth/voice_lib/voice/models/api_modify_call_request.rb
|
231
|
+
- lib/bandwidth/voice_lib/voice/models/api_modify_conference_request.rb
|
232
|
+
- lib/bandwidth/voice_lib/voice/models/api_transcribe_recording_request.rb
|
233
|
+
- lib/bandwidth/voice_lib/voice/models/callback_method_enum.rb
|
234
|
+
- lib/bandwidth/voice_lib/voice/models/conference_detail.rb
|
235
|
+
- lib/bandwidth/voice_lib/voice/models/conference_event_method_enum.rb
|
236
|
+
- lib/bandwidth/voice_lib/voice/models/conference_member_detail.rb
|
237
|
+
- lib/bandwidth/voice_lib/voice/models/conference_recording_metadata_response.rb
|
146
238
|
- lib/bandwidth/voice_lib/voice/models/direction_enum.rb
|
239
|
+
- lib/bandwidth/voice_lib/voice/models/disconnect_cause_enum.rb
|
147
240
|
- lib/bandwidth/voice_lib/voice/models/disconnect_method_enum.rb
|
148
241
|
- lib/bandwidth/voice_lib/voice/models/file_format_enum.rb
|
149
242
|
- lib/bandwidth/voice_lib/voice/models/modify_call_recording_state.rb
|
150
243
|
- lib/bandwidth/voice_lib/voice/models/recording_metadata_response.rb
|
244
|
+
- lib/bandwidth/voice_lib/voice/models/redirect_fallback_method_enum.rb
|
151
245
|
- lib/bandwidth/voice_lib/voice/models/redirect_method_enum.rb
|
152
246
|
- lib/bandwidth/voice_lib/voice/models/state1_enum.rb
|
247
|
+
- lib/bandwidth/voice_lib/voice/models/state2_enum.rb
|
153
248
|
- lib/bandwidth/voice_lib/voice/models/state_enum.rb
|
154
|
-
- lib/bandwidth/voice_lib/voice/models/
|
155
|
-
- lib/bandwidth/voice_lib/voice/models/
|
249
|
+
- lib/bandwidth/voice_lib/voice/models/status1_enum.rb
|
250
|
+
- lib/bandwidth/voice_lib/voice/models/status3_enum.rb
|
251
|
+
- lib/bandwidth/voice_lib/voice/models/status_enum.rb
|
252
|
+
- lib/bandwidth/voice_lib/voice/models/transcript.rb
|
253
|
+
- lib/bandwidth/voice_lib/voice/models/transcription.rb
|
254
|
+
- lib/bandwidth/voice_lib/voice/models/transcription_response.rb
|
255
|
+
- lib/bandwidth/web_rtc_lib/utils/web_rtc_transfer.rb
|
256
|
+
- lib/bandwidth/web_rtc_lib/web_rtc.rb
|
257
|
+
- lib/bandwidth/web_rtc_lib/web_rtc/client.rb
|
258
|
+
- lib/bandwidth/web_rtc_lib/web_rtc/controllers/api_controller.rb
|
259
|
+
- lib/bandwidth/web_rtc_lib/web_rtc/controllers/base_controller.rb
|
260
|
+
- lib/bandwidth/web_rtc_lib/web_rtc/exceptions/error_exception.rb
|
261
|
+
- lib/bandwidth/web_rtc_lib/web_rtc/models/accounts_participants_response.rb
|
262
|
+
- lib/bandwidth/web_rtc_lib/web_rtc/models/device_api_version_enum.rb
|
263
|
+
- lib/bandwidth/web_rtc_lib/web_rtc/models/participant.rb
|
264
|
+
- lib/bandwidth/web_rtc_lib/web_rtc/models/participant_subscription.rb
|
265
|
+
- lib/bandwidth/web_rtc_lib/web_rtc/models/publish_permission_enum.rb
|
266
|
+
- lib/bandwidth/web_rtc_lib/web_rtc/models/session.rb
|
267
|
+
- lib/bandwidth/web_rtc_lib/web_rtc/models/subscriptions.rb
|
268
|
+
- test/integration/test_integration.rb
|
156
269
|
homepage: https://apimatic.io
|
157
270
|
licenses:
|
158
271
|
- MIT
|
@@ -163,7 +276,7 @@ require_paths:
|
|
163
276
|
- lib
|
164
277
|
required_ruby_version: !ruby/object:Gem::Requirement
|
165
278
|
requirements:
|
166
|
-
- - "
|
279
|
+
- - ">="
|
167
280
|
- !ruby/object:Gem::Version
|
168
281
|
version: '2.0'
|
169
282
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -172,7 +285,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
285
|
- !ruby/object:Gem::Version
|
173
286
|
version: '0'
|
174
287
|
requirements: []
|
175
|
-
rubygems_version: 3.
|
288
|
+
rubygems_version: 3.2.3
|
176
289
|
signing_key:
|
177
290
|
specification_version: 4
|
178
291
|
summary: bandwidth
|
@@ -1,65 +0,0 @@
|
|
1
|
-
# bandwidth
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
5
|
-
|
6
|
-
require 'date'
|
7
|
-
module Bandwidth
|
8
|
-
# ApiGetAccountRecordingsMetadataRequest Model.
|
9
|
-
class ApiGetAccountRecordingsMetadataRequest < BaseModel
|
10
|
-
# Format is E164
|
11
|
-
# @return [String]
|
12
|
-
attr_accessor :from
|
13
|
-
|
14
|
-
# Format is E164
|
15
|
-
# @return [String]
|
16
|
-
attr_accessor :to
|
17
|
-
|
18
|
-
# ISO8601 format
|
19
|
-
# @return [DateTime]
|
20
|
-
attr_accessor :min_start_time
|
21
|
-
|
22
|
-
# ISO8601 format
|
23
|
-
# @return [DateTime]
|
24
|
-
attr_accessor :max_start_time
|
25
|
-
|
26
|
-
# A mapping from model property names to API property names.
|
27
|
-
def self.names
|
28
|
-
@_hash = {} if @_hash.nil?
|
29
|
-
@_hash['from'] = 'from'
|
30
|
-
@_hash['to'] = 'to'
|
31
|
-
@_hash['min_start_time'] = 'minStartTime'
|
32
|
-
@_hash['max_start_time'] = 'maxStartTime'
|
33
|
-
@_hash
|
34
|
-
end
|
35
|
-
|
36
|
-
def initialize(from = nil,
|
37
|
-
to = nil,
|
38
|
-
min_start_time = nil,
|
39
|
-
max_start_time = nil)
|
40
|
-
@from = from
|
41
|
-
@to = to
|
42
|
-
@min_start_time = min_start_time
|
43
|
-
@max_start_time = max_start_time
|
44
|
-
end
|
45
|
-
|
46
|
-
# Creates an instance of the object from a hash.
|
47
|
-
def self.from_hash(hash)
|
48
|
-
return nil unless hash
|
49
|
-
|
50
|
-
# Extract variables from the hash.
|
51
|
-
from = hash['from']
|
52
|
-
to = hash['to']
|
53
|
-
min_start_time = APIHelper.rfc3339(hash['minStartTime']) if
|
54
|
-
hash['minStartTime']
|
55
|
-
max_start_time = APIHelper.rfc3339(hash['maxStartTime']) if
|
56
|
-
hash['maxStartTime']
|
57
|
-
|
58
|
-
# Create object from extracted values.
|
59
|
-
ApiGetAccountRecordingsMetadataRequest.new(from,
|
60
|
-
to,
|
61
|
-
min_start_time,
|
62
|
-
max_start_time)
|
63
|
-
end
|
64
|
-
end
|
65
|
-
end
|
@@ -1,20 +0,0 @@
|
|
1
|
-
# bandwidth
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
5
|
-
|
6
|
-
module Bandwidth
|
7
|
-
# TranscriptionStatus.
|
8
|
-
class TranscriptionStatusEnum
|
9
|
-
TRANSCRIPTION_STATUS_ENUM = [
|
10
|
-
# TODO: Write general description for NONE
|
11
|
-
NONE = 'none'.freeze,
|
12
|
-
|
13
|
-
# TODO: Write general description for REQUESTED
|
14
|
-
REQUESTED = 'requested'.freeze,
|
15
|
-
|
16
|
-
# TODO: Write general description for AVAILABLE
|
17
|
-
AVAILABLE = 'available'.freeze
|
18
|
-
].freeze
|
19
|
-
end
|
20
|
-
end
|
@@ -1,32 +0,0 @@
|
|
1
|
-
# bandwidth
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
5
|
-
|
6
|
-
module Bandwidth
|
7
|
-
# Type.
|
8
|
-
class TypeEnum
|
9
|
-
TYPE_ENUM = [
|
10
|
-
# TODO: Write general description for VALIDATION
|
11
|
-
VALIDATION = 'validation'.freeze,
|
12
|
-
|
13
|
-
# TODO: Write general description for AUTHENTICATIONERROR
|
14
|
-
AUTHENTICATIONERROR = 'authentication-error'.freeze,
|
15
|
-
|
16
|
-
# TODO: Write general description for AUTHORIZATIONERROR
|
17
|
-
AUTHORIZATIONERROR = 'authorization-error'.freeze,
|
18
|
-
|
19
|
-
# TODO: Write general description for INTERNALERROR
|
20
|
-
INTERNALERROR = 'internal-error'.freeze,
|
21
|
-
|
22
|
-
# TODO: Write general description for ERROR
|
23
|
-
ERROR = 'error'.freeze,
|
24
|
-
|
25
|
-
# TODO: Write general description for RATELIMITEXCEEDED
|
26
|
-
RATELIMITEXCEEDED = 'rate-limit-exceeded'.freeze,
|
27
|
-
|
28
|
-
# TODO: Write general description for SYSTEMOVERLOADED
|
29
|
-
SYSTEMOVERLOADED = 'system-overloaded'.freeze
|
30
|
-
].freeze
|
31
|
-
end
|
32
|
-
end
|