bandwidth-sdk 3.13.1 → 6.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +1 -1
  4. data/lib/bandwidth/configuration.rb +1 -1
  5. data/lib/bandwidth/http/api_response.rb +2 -0
  6. data/lib/bandwidth/http/faraday_client.rb +9 -2
  7. data/lib/bandwidth/messaging_lib/messaging.rb +4 -0
  8. data/lib/bandwidth/messaging_lib/messaging/controllers/api_controller.rb +138 -23
  9. data/lib/bandwidth/messaging_lib/messaging/controllers/base_controller.rb +1 -1
  10. data/lib/bandwidth/messaging_lib/messaging/models/bandwidth_message.rb +23 -13
  11. data/lib/bandwidth/messaging_lib/messaging/models/bandwidth_message_item.rb +125 -0
  12. data/lib/bandwidth/messaging_lib/messaging/models/bandwidth_messages_list.rb +60 -0
  13. data/lib/bandwidth/messaging_lib/messaging/models/media.rb +4 -4
  14. data/lib/bandwidth/messaging_lib/messaging/models/message_request.rb +21 -8
  15. data/lib/bandwidth/messaging_lib/messaging/models/page_info.rb +62 -0
  16. data/lib/bandwidth/messaging_lib/messaging/models/priority_enum.rb +19 -0
  17. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth.rb +4 -2
  18. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/client.rb +4 -4
  19. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/base_controller.rb +1 -1
  20. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/{api_controller.rb → mfa_controller.rb} +65 -14
  21. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/exceptions/error_with_request_exception.rb +34 -0
  22. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/exceptions/{invalid_request_exception.rb → forbidden_request_exception.rb} +5 -5
  23. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/exceptions/unauthorized_request_exception.rb +29 -0
  24. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_request_schema.rb +0 -19
  25. data/lib/bandwidth/voice_lib/voice.rb +1 -1
  26. data/lib/bandwidth/voice_lib/voice/controllers/api_controller.rb +51 -52
  27. data/lib/bandwidth/voice_lib/voice/controllers/base_controller.rb +1 -1
  28. data/lib/bandwidth/voice_lib/voice/models/api_create_call_request.rb +77 -17
  29. data/lib/bandwidth/voice_lib/voice/models/{call_engine_modify_conference_request.rb → api_modify_conference_request.rb} +14 -14
  30. data/lib/bandwidth/voice_lib/voice/models/state_enum.rb +3 -3
  31. data/lib/bandwidth/web_rtc_lib/web_rtc.rb +1 -0
  32. data/lib/bandwidth/web_rtc_lib/web_rtc/controllers/api_controller.rb +24 -24
  33. data/lib/bandwidth/web_rtc_lib/web_rtc/controllers/base_controller.rb +1 -1
  34. data/lib/bandwidth/web_rtc_lib/web_rtc/models/device_api_version_enum.rb +17 -0
  35. data/lib/bandwidth/web_rtc_lib/web_rtc/models/participant.rb +11 -2
  36. data/test/integration/test_integration.rb +570 -0
  37. metadata +49 -7
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: 3.13.1
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: 2020-12-16 00:00:00.000000000 Z
11
+ date: 2021-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logging
@@ -106,6 +106,40 @@ dependencies:
106
106
  - - "~>"
107
107
  - !ruby/object:Gem::Version
108
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'
109
143
  description: Bandwidth's set of APIs
110
144
  email: support@apimatic.io
111
145
  executables: []
@@ -137,16 +171,22 @@ files:
137
171
  - lib/bandwidth/messaging_lib/messaging/exceptions/messaging_exception.rb
138
172
  - lib/bandwidth/messaging_lib/messaging/models/bandwidth_callback_message.rb
139
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
140
176
  - lib/bandwidth/messaging_lib/messaging/models/deferred_result.rb
141
177
  - lib/bandwidth/messaging_lib/messaging/models/media.rb
142
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
143
181
  - lib/bandwidth/messaging_lib/messaging/models/tag.rb
144
182
  - lib/bandwidth/models/base_model.rb
145
183
  - lib/bandwidth/two_factor_auth_lib/two_factor_auth.rb
146
184
  - 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
185
  - 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
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
150
190
  - lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_code_request_schema.rb
151
191
  - lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_messaging_response.rb
152
192
  - lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_code_response.rb
@@ -188,8 +228,8 @@ files:
188
228
  - lib/bandwidth/voice_lib/voice/models/api_call_state_response.rb
189
229
  - lib/bandwidth/voice_lib/voice/models/api_create_call_request.rb
190
230
  - lib/bandwidth/voice_lib/voice/models/api_modify_call_request.rb
231
+ - lib/bandwidth/voice_lib/voice/models/api_modify_conference_request.rb
191
232
  - lib/bandwidth/voice_lib/voice/models/api_transcribe_recording_request.rb
192
- - lib/bandwidth/voice_lib/voice/models/call_engine_modify_conference_request.rb
193
233
  - lib/bandwidth/voice_lib/voice/models/callback_method_enum.rb
194
234
  - lib/bandwidth/voice_lib/voice/models/conference_detail.rb
195
235
  - lib/bandwidth/voice_lib/voice/models/conference_event_method_enum.rb
@@ -219,11 +259,13 @@ files:
219
259
  - lib/bandwidth/web_rtc_lib/web_rtc/controllers/base_controller.rb
220
260
  - lib/bandwidth/web_rtc_lib/web_rtc/exceptions/error_exception.rb
221
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
222
263
  - lib/bandwidth/web_rtc_lib/web_rtc/models/participant.rb
223
264
  - lib/bandwidth/web_rtc_lib/web_rtc/models/participant_subscription.rb
224
265
  - lib/bandwidth/web_rtc_lib/web_rtc/models/publish_permission_enum.rb
225
266
  - lib/bandwidth/web_rtc_lib/web_rtc/models/session.rb
226
267
  - lib/bandwidth/web_rtc_lib/web_rtc/models/subscriptions.rb
268
+ - test/integration/test_integration.rb
227
269
  homepage: https://apimatic.io
228
270
  licenses:
229
271
  - MIT
@@ -234,7 +276,7 @@ require_paths:
234
276
  - lib
235
277
  required_ruby_version: !ruby/object:Gem::Requirement
236
278
  requirements:
237
- - - "~>"
279
+ - - ">="
238
280
  - !ruby/object:Gem::Version
239
281
  version: '2.0'
240
282
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -243,7 +285,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
243
285
  - !ruby/object:Gem::Version
244
286
  version: '0'
245
287
  requirements: []
246
- rubygems_version: 3.1.4
288
+ rubygems_version: 3.2.3
247
289
  signing_key:
248
290
  specification_version: 4
249
291
  summary: bandwidth