bandwidth-sdk 3.8.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/lib/bandwidth/client.rb +2 -0
  4. data/lib/bandwidth/configuration.rb +23 -4
  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/client.rb +2 -0
  8. data/lib/bandwidth/messaging_lib/messaging/controllers/api_controller.rb +8 -8
  9. data/lib/bandwidth/messaging_lib/messaging/controllers/base_controller.rb +1 -1
  10. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/client.rb +2 -0
  11. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/api_controller.rb +3 -3
  12. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/controllers/base_controller.rb +1 -1
  13. data/lib/bandwidth/two_factor_auth_lib/two_factor_auth/models/two_factor_verify_request_schema.rb +0 -19
  14. data/lib/bandwidth/voice_lib/bxml/verbs/bridge.rb +7 -1
  15. data/lib/bandwidth/voice_lib/bxml/verbs/conference.rb +5 -1
  16. data/lib/bandwidth/voice_lib/bxml/verbs/gather.rb +5 -1
  17. data/lib/bandwidth/voice_lib/bxml/verbs/phone_number.rb +5 -1
  18. data/lib/bandwidth/voice_lib/bxml/verbs/record.rb +5 -1
  19. data/lib/bandwidth/voice_lib/bxml/verbs/redirect.rb +5 -1
  20. data/lib/bandwidth/voice_lib/bxml/verbs/ring.rb +15 -0
  21. data/lib/bandwidth/voice_lib/bxml/verbs/sip_uri.rb +25 -0
  22. data/lib/bandwidth/voice_lib/bxml/verbs/start_gather.rb +20 -0
  23. data/lib/bandwidth/voice_lib/bxml/verbs/stop_gather.rb +14 -0
  24. data/lib/bandwidth/voice_lib/bxml/verbs/tag.rb +13 -0
  25. data/lib/bandwidth/voice_lib/bxml/verbs/transfer.rb +14 -3
  26. data/lib/bandwidth/voice_lib/voice/client.rb +2 -0
  27. data/lib/bandwidth/voice_lib/voice/controllers/api_controller.rb +455 -56
  28. data/lib/bandwidth/voice_lib/voice/controllers/base_controller.rb +1 -1
  29. data/lib/bandwidth/voice_lib/voice/models/answer_fallback_method_enum.rb +17 -0
  30. data/lib/bandwidth/voice_lib/voice/models/api_call_response.rb +45 -0
  31. data/lib/bandwidth/voice_lib/voice/models/api_create_call_request.rb +117 -12
  32. data/lib/bandwidth/voice_lib/voice/models/api_modify_call_request.rb +36 -0
  33. data/lib/bandwidth/voice_lib/voice/models/api_modify_conference_request.rb +107 -0
  34. data/lib/bandwidth/voice_lib/voice/models/api_transcribe_recording_request.rb +11 -2
  35. data/lib/bandwidth/voice_lib/voice/models/call_engine_modify_conference_request.rb +74 -2
  36. data/lib/bandwidth/voice_lib/voice/models/conference_detail.rb +7 -4
  37. data/lib/bandwidth/voice_lib/voice/models/conference_recording_metadata_response.rb +126 -0
  38. data/lib/bandwidth/voice_lib/voice/models/recording_metadata_response.rb +32 -4
  39. data/lib/bandwidth/voice_lib/voice/models/redirect_fallback_method_enum.rb +17 -0
  40. data/lib/bandwidth/voice_lib/voice/models/status1_enum.rb +4 -1
  41. data/lib/bandwidth/voice_lib/voice/models/{status2_enum.rb → status3_enum.rb} +3 -3
  42. data/lib/bandwidth/voice_lib/voice/models/transcription.rb +1 -1
  43. data/lib/bandwidth/voice_lib/voice.rb +5 -2
  44. data/lib/bandwidth/web_rtc_lib/utils/web_rtc_transfer.rb +13 -0
  45. data/lib/bandwidth/web_rtc_lib/web_rtc/client.rb +2 -0
  46. data/lib/bandwidth/web_rtc_lib/web_rtc/controllers/api_controller.rb +24 -24
  47. data/lib/bandwidth/web_rtc_lib/web_rtc/controllers/base_controller.rb +1 -1
  48. data/lib/bandwidth.rb +24 -1
  49. metadata +35 -13
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.8.0
4
+ version: 4.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-07-09 00:00:00.000000000 Z
11
+ date: 2021-01-11 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'
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'
94
+ version: '2.2'
83
95
  - !ruby/object:Gem::Dependency
84
96
  name: builder
85
97
  requirement: !ruby/object:Gem::Requirement
@@ -154,10 +166,15 @@ files:
154
166
  - lib/bandwidth/voice_lib/bxml/verbs/record.rb
155
167
  - lib/bandwidth/voice_lib/bxml/verbs/redirect.rb
156
168
  - lib/bandwidth/voice_lib/bxml/verbs/resume_recording.rb
169
+ - lib/bandwidth/voice_lib/bxml/verbs/ring.rb
157
170
  - lib/bandwidth/voice_lib/bxml/verbs/send_dtmf.rb
171
+ - lib/bandwidth/voice_lib/bxml/verbs/sip_uri.rb
158
172
  - lib/bandwidth/voice_lib/bxml/verbs/speak_sentence.rb
173
+ - lib/bandwidth/voice_lib/bxml/verbs/start_gather.rb
159
174
  - lib/bandwidth/voice_lib/bxml/verbs/start_recording.rb
175
+ - lib/bandwidth/voice_lib/bxml/verbs/stop_gather.rb
160
176
  - lib/bandwidth/voice_lib/bxml/verbs/stop_recording.rb
177
+ - lib/bandwidth/voice_lib/bxml/verbs/tag.rb
161
178
  - lib/bandwidth/voice_lib/bxml/verbs/transfer.rb
162
179
  - lib/bandwidth/voice_lib/bxml/verbs/xml_verb.rb
163
180
  - lib/bandwidth/voice_lib/voice.rb
@@ -165,33 +182,38 @@ files:
165
182
  - lib/bandwidth/voice_lib/voice/controllers/api_controller.rb
166
183
  - lib/bandwidth/voice_lib/voice/controllers/base_controller.rb
167
184
  - lib/bandwidth/voice_lib/voice/exceptions/api_error_response_exception.rb
185
+ - lib/bandwidth/voice_lib/voice/models/answer_fallback_method_enum.rb
168
186
  - lib/bandwidth/voice_lib/voice/models/answer_method_enum.rb
169
187
  - lib/bandwidth/voice_lib/voice/models/api_call_response.rb
170
188
  - lib/bandwidth/voice_lib/voice/models/api_call_state_response.rb
171
189
  - lib/bandwidth/voice_lib/voice/models/api_create_call_request.rb
172
190
  - lib/bandwidth/voice_lib/voice/models/api_modify_call_request.rb
191
+ - lib/bandwidth/voice_lib/voice/models/api_modify_conference_request.rb
173
192
  - lib/bandwidth/voice_lib/voice/models/api_transcribe_recording_request.rb
174
193
  - lib/bandwidth/voice_lib/voice/models/call_engine_modify_conference_request.rb
175
194
  - lib/bandwidth/voice_lib/voice/models/callback_method_enum.rb
176
195
  - lib/bandwidth/voice_lib/voice/models/conference_detail.rb
177
196
  - lib/bandwidth/voice_lib/voice/models/conference_event_method_enum.rb
178
197
  - lib/bandwidth/voice_lib/voice/models/conference_member_detail.rb
198
+ - lib/bandwidth/voice_lib/voice/models/conference_recording_metadata_response.rb
179
199
  - lib/bandwidth/voice_lib/voice/models/direction_enum.rb
180
200
  - lib/bandwidth/voice_lib/voice/models/disconnect_cause_enum.rb
181
201
  - lib/bandwidth/voice_lib/voice/models/disconnect_method_enum.rb
182
202
  - lib/bandwidth/voice_lib/voice/models/file_format_enum.rb
183
203
  - lib/bandwidth/voice_lib/voice/models/modify_call_recording_state.rb
184
204
  - lib/bandwidth/voice_lib/voice/models/recording_metadata_response.rb
205
+ - lib/bandwidth/voice_lib/voice/models/redirect_fallback_method_enum.rb
185
206
  - lib/bandwidth/voice_lib/voice/models/redirect_method_enum.rb
186
207
  - lib/bandwidth/voice_lib/voice/models/state1_enum.rb
187
208
  - lib/bandwidth/voice_lib/voice/models/state2_enum.rb
188
209
  - lib/bandwidth/voice_lib/voice/models/state_enum.rb
189
210
  - lib/bandwidth/voice_lib/voice/models/status1_enum.rb
190
- - lib/bandwidth/voice_lib/voice/models/status2_enum.rb
211
+ - lib/bandwidth/voice_lib/voice/models/status3_enum.rb
191
212
  - lib/bandwidth/voice_lib/voice/models/status_enum.rb
192
213
  - lib/bandwidth/voice_lib/voice/models/transcript.rb
193
214
  - lib/bandwidth/voice_lib/voice/models/transcription.rb
194
215
  - lib/bandwidth/voice_lib/voice/models/transcription_response.rb
216
+ - lib/bandwidth/web_rtc_lib/utils/web_rtc_transfer.rb
195
217
  - lib/bandwidth/web_rtc_lib/web_rtc.rb
196
218
  - lib/bandwidth/web_rtc_lib/web_rtc/client.rb
197
219
  - lib/bandwidth/web_rtc_lib/web_rtc/controllers/api_controller.rb
@@ -213,7 +235,7 @@ require_paths:
213
235
  - lib
214
236
  required_ruby_version: !ruby/object:Gem::Requirement
215
237
  requirements:
216
- - - "~>"
238
+ - - ">="
217
239
  - !ruby/object:Gem::Version
218
240
  version: '2.0'
219
241
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -222,7 +244,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
222
244
  - !ruby/object:Gem::Version
223
245
  version: '0'
224
246
  requirements: []
225
- rubygems_version: 3.1.2
247
+ rubygems_version: 3.2.3
226
248
  signing_key:
227
249
  specification_version: 4
228
250
  summary: bandwidth