bandwidth-sdk 3.12.1 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/lib/bandwidth/http/api_response.rb +2 -0
  4. data/lib/bandwidth/http/faraday_client.rb +9 -2
  5. data/lib/bandwidth/messaging_lib/messaging.rb +3 -0
  6. data/lib/bandwidth/messaging_lib/messaging/controllers/api_controller.rb +138 -23
  7. data/lib/bandwidth/messaging_lib/messaging/controllers/base_controller.rb +1 -1
  8. data/lib/bandwidth/messaging_lib/messaging/models/bandwidth_message.rb +12 -11
  9. data/lib/bandwidth/messaging_lib/messaging/models/bandwidth_message_item.rb +125 -0
  10. data/lib/bandwidth/messaging_lib/messaging/models/bandwidth_messages_list.rb +60 -0
  11. data/lib/bandwidth/messaging_lib/messaging/models/media.rb +4 -4
  12. data/lib/bandwidth/messaging_lib/messaging/models/message_request.rb +8 -6
  13. data/lib/bandwidth/messaging_lib/messaging/models/page_info.rb +62 -0
  14. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/api_controller.rb +3 -3
  15. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/base_controller.rb +1 -1
  16. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_request_schema.rb +0 -19
  17. data/lib/bandwidth/voice_lib/bxml/verbs/sip_uri.rb +25 -0
  18. data/lib/bandwidth/voice_lib/bxml/verbs/tag.rb +13 -0
  19. data/lib/bandwidth/voice_lib/bxml/verbs/transfer.rb +9 -2
  20. data/lib/bandwidth/voice_lib/voice.rb +1 -1
  21. data/lib/bandwidth/voice_lib/voice/controllers/api_controller.rb +51 -52
  22. data/lib/bandwidth/voice_lib/voice/controllers/base_controller.rb +1 -1
  23. data/lib/bandwidth/voice_lib/voice/models/api_create_call_request.rb +77 -17
  24. data/lib/bandwidth/voice_lib/voice/models/{call_engine_modify_conference_request.rb → api_modify_conference_request.rb} +14 -14
  25. data/lib/bandwidth/voice_lib/voice/models/state_enum.rb +3 -3
  26. data/lib/bandwidth/web_rtc_lib/web_rtc/controllers/api_controller.rb +24 -24
  27. data/lib/bandwidth/web_rtc_lib/web_rtc/controllers/base_controller.rb +1 -1
  28. data/test/controllers/controller_test_base.rb +21 -0
  29. data/test/http_response_catcher.rb +19 -0
  30. data/test/test_helper.rb +94 -0
  31. metadata +47 -5
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.12.1
4
+ version: 5.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: 2020-09-23 00:00:00.000000000 Z
11
+ date: 2021-02-01 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,9 +171,12 @@ 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
143
180
  - lib/bandwidth/messaging_lib/messaging/models/tag.rb
144
181
  - lib/bandwidth/models/base_model.rb
145
182
  - lib/bandwidth/two_factor_auth_lib/two_factor_auth.rb
@@ -168,11 +205,13 @@ files:
168
205
  - lib/bandwidth/voice_lib/bxml/verbs/resume_recording.rb
169
206
  - lib/bandwidth/voice_lib/bxml/verbs/ring.rb
170
207
  - lib/bandwidth/voice_lib/bxml/verbs/send_dtmf.rb
208
+ - lib/bandwidth/voice_lib/bxml/verbs/sip_uri.rb
171
209
  - lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
172
210
  - lib/bandwidth/voice_lib/bxml/verbs/start_gather.rb
173
211
  - lib/bandwidth/voice_lib/bxml/verbs/start_recording.rb
174
212
  - lib/bandwidth/voice_lib/bxml/verbs/stop_gather.rb
175
213
  - lib/bandwidth/voice_lib/bxml/verbs/stop_recording.rb
214
+ - lib/bandwidth/voice_lib/bxml/verbs/tag.rb
176
215
  - lib/bandwidth/voice_lib/bxml/verbs/transfer.rb
177
216
  - lib/bandwidth/voice_lib/bxml/verbs/xml_verb.rb
178
217
  - lib/bandwidth/voice_lib/voice.rb
@@ -186,8 +225,8 @@ files:
186
225
  - lib/bandwidth/voice_lib/voice/models/api_call_state_response.rb
187
226
  - lib/bandwidth/voice_lib/voice/models/api_create_call_request.rb
188
227
  - lib/bandwidth/voice_lib/voice/models/api_modify_call_request.rb
228
+ - lib/bandwidth/voice_lib/voice/models/api_modify_conference_request.rb
189
229
  - lib/bandwidth/voice_lib/voice/models/api_transcribe_recording_request.rb
190
- - lib/bandwidth/voice_lib/voice/models/call_engine_modify_conference_request.rb
191
230
  - lib/bandwidth/voice_lib/voice/models/callback_method_enum.rb
192
231
  - lib/bandwidth/voice_lib/voice/models/conference_detail.rb
193
232
  - lib/bandwidth/voice_lib/voice/models/conference_event_method_enum.rb
@@ -222,6 +261,9 @@ files:
222
261
  - lib/bandwidth/web_rtc_lib/web_rtc/models/publish_permission_enum.rb
223
262
  - lib/bandwidth/web_rtc_lib/web_rtc/models/session.rb
224
263
  - lib/bandwidth/web_rtc_lib/web_rtc/models/subscriptions.rb
264
+ - test/controllers/controller_test_base.rb
265
+ - test/http_response_catcher.rb
266
+ - test/test_helper.rb
225
267
  homepage: https://apimatic.io
226
268
  licenses:
227
269
  - MIT
@@ -232,7 +274,7 @@ require_paths:
232
274
  - lib
233
275
  required_ruby_version: !ruby/object:Gem::Requirement
234
276
  requirements:
235
- - - "~>"
277
+ - - ">="
236
278
  - !ruby/object:Gem::Version
237
279
  version: '2.0'
238
280
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -241,7 +283,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
241
283
  - !ruby/object:Gem::Version
242
284
  version: '0'
243
285
  requirements: []
244
- rubygems_version: 3.1.2
286
+ rubygems_version: 3.2.3
245
287
  signing_key:
246
288
  specification_version: 4
247
289
  summary: bandwidth