bandwidth-sdk 11.0.0.pre.beta.2.0 → 11.0.0.pre.beta.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/bandwidth-sdk.gemspec +1 -1
- data/bandwidth.yml +26 -0
- data/coverage/.last_run.json +1 -1
- data/coverage/.resultset.json +264 -295
- data/coverage/index.html +2839 -3180
- data/docs/CreateCall.md +2 -0
- data/lib/bandwidth-sdk/api/calls_api.rb +1 -1
- data/lib/bandwidth-sdk/api/conferences_api.rb +1 -1
- data/lib/bandwidth-sdk/api/media_api.rb +1 -1
- data/lib/bandwidth-sdk/api/messages_api.rb +1 -1
- data/lib/bandwidth-sdk/api/mfa_api.rb +1 -1
- data/lib/bandwidth-sdk/api/phone_number_lookup_api.rb +1 -1
- data/lib/bandwidth-sdk/api/recordings_api.rb +1 -1
- data/lib/bandwidth-sdk/api/statistics_api.rb +1 -1
- data/lib/bandwidth-sdk/api_client.rb +1 -1
- data/lib/bandwidth-sdk/api_error.rb +1 -1
- data/lib/bandwidth-sdk/configuration.rb +10 -8
- data/lib/bandwidth-sdk/models/account_statistics.rb +13 -18
- data/lib/bandwidth-sdk/models/answer_callback.rb +13 -18
- data/lib/bandwidth-sdk/models/bridge_complete_callback.rb +13 -18
- data/lib/bandwidth-sdk/models/bridge_target_complete_callback.rb +13 -18
- data/lib/bandwidth-sdk/models/call_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/call_recording_metadata.rb +13 -18
- data/lib/bandwidth-sdk/models/call_state.rb +13 -18
- data/lib/bandwidth-sdk/models/call_state_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/callback_method_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/code_request.rb +28 -19
- data/lib/bandwidth-sdk/models/conference.rb +13 -18
- data/lib/bandwidth-sdk/models/conference_completed_callback.rb +13 -18
- data/lib/bandwidth-sdk/models/conference_created_callback.rb +13 -18
- data/lib/bandwidth-sdk/models/conference_member.rb +13 -18
- data/lib/bandwidth-sdk/models/conference_member_exit_callback.rb +13 -18
- data/lib/bandwidth-sdk/models/conference_member_join_callback.rb +13 -18
- data/lib/bandwidth-sdk/models/conference_recording_available_callback.rb +13 -18
- data/lib/bandwidth-sdk/models/conference_recording_metadata.rb +13 -18
- data/lib/bandwidth-sdk/models/conference_redirect_callback.rb +13 -18
- data/lib/bandwidth-sdk/models/conference_state_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/create_call.rb +48 -19
- data/lib/bandwidth-sdk/models/create_call_response.rb +27 -18
- data/lib/bandwidth-sdk/models/create_lookup_response.rb +13 -18
- data/lib/bandwidth-sdk/models/create_message_request_error.rb +17 -18
- data/lib/bandwidth-sdk/models/deferred_result.rb +13 -18
- data/lib/bandwidth-sdk/models/disconnect_callback.rb +13 -18
- data/lib/bandwidth-sdk/models/diversion.rb +13 -18
- data/lib/bandwidth-sdk/models/dtmf_callback.rb +13 -18
- data/lib/bandwidth-sdk/models/field_error.rb +13 -18
- data/lib/bandwidth-sdk/models/file_format_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/gather_callback.rb +13 -18
- data/lib/bandwidth-sdk/models/inbound_message_callback.rb +23 -18
- data/lib/bandwidth-sdk/models/inbound_message_callback_message.rb +31 -18
- data/lib/bandwidth-sdk/models/initiate_callback.rb +13 -18
- data/lib/bandwidth-sdk/models/list_message_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/list_message_item.rb +13 -18
- data/lib/bandwidth-sdk/models/lookup_request.rb +15 -18
- data/lib/bandwidth-sdk/models/lookup_result.rb +13 -18
- data/lib/bandwidth-sdk/models/lookup_status.rb +13 -18
- data/lib/bandwidth-sdk/models/lookup_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/machine_detection_complete_callback.rb +13 -18
- data/lib/bandwidth-sdk/models/machine_detection_configuration.rb +13 -18
- data/lib/bandwidth-sdk/models/machine_detection_mode_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/machine_detection_result.rb +13 -18
- data/lib/bandwidth-sdk/models/media.rb +13 -18
- data/lib/bandwidth-sdk/models/message.rb +21 -18
- data/lib/bandwidth-sdk/models/message_delivered_callback.rb +23 -18
- data/lib/bandwidth-sdk/models/message_delivered_callback_message.rb +33 -18
- data/lib/bandwidth-sdk/models/message_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/message_failed_callback.rb +25 -18
- data/lib/bandwidth-sdk/models/message_failed_callback_message.rb +35 -18
- data/lib/bandwidth-sdk/models/message_request.rb +24 -19
- data/lib/bandwidth-sdk/models/message_sending_callback.rb +23 -18
- data/lib/bandwidth-sdk/models/message_sending_callback_message.rb +35 -18
- data/lib/bandwidth-sdk/models/message_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/message_type_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/messages_list.rb +13 -18
- data/lib/bandwidth-sdk/models/messaging_code_response.rb +13 -18
- data/lib/bandwidth-sdk/models/messaging_request_error.rb +17 -18
- data/lib/bandwidth-sdk/models/mfa_forbidden_request_error.rb +13 -18
- data/lib/bandwidth-sdk/models/mfa_request_error.rb +13 -18
- data/lib/bandwidth-sdk/models/mfa_unauthorized_request_error.rb +13 -18
- data/lib/bandwidth-sdk/models/page_info.rb +13 -18
- data/lib/bandwidth-sdk/models/priority_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/recording_available_callback.rb +13 -18
- data/lib/bandwidth-sdk/models/recording_complete_callback.rb +13 -18
- data/lib/bandwidth-sdk/models/recording_state_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/redirect_callback.rb +13 -18
- data/lib/bandwidth-sdk/models/redirect_method_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/stir_shaken.rb +13 -18
- data/lib/bandwidth-sdk/models/tag.rb +13 -18
- data/lib/bandwidth-sdk/models/tn_lookup_request_error.rb +13 -18
- data/lib/bandwidth-sdk/models/transcribe_recording.rb +13 -18
- data/lib/bandwidth-sdk/models/transcription.rb +13 -18
- data/lib/bandwidth-sdk/models/transcription_available_callback.rb +13 -18
- data/lib/bandwidth-sdk/models/transcription_list.rb +13 -18
- data/lib/bandwidth-sdk/models/transcription_metadata.rb +13 -18
- data/lib/bandwidth-sdk/models/transfer_answer_callback.rb +13 -18
- data/lib/bandwidth-sdk/models/transfer_complete_callback.rb +13 -18
- data/lib/bandwidth-sdk/models/transfer_disconnect_callback.rb +13 -18
- data/lib/bandwidth-sdk/models/update_call.rb +13 -18
- data/lib/bandwidth-sdk/models/update_call_recording.rb +15 -18
- data/lib/bandwidth-sdk/models/update_conference.rb +13 -18
- data/lib/bandwidth-sdk/models/update_conference_member.rb +13 -18
- data/lib/bandwidth-sdk/models/verify_code_request.rb +19 -18
- data/lib/bandwidth-sdk/models/verify_code_response.rb +13 -18
- data/lib/bandwidth-sdk/models/voice_api_error.rb +13 -18
- data/lib/bandwidth-sdk/models/voice_code_response.rb +13 -18
- data/lib/bandwidth-sdk/version.rb +1 -1
- data/lib/bandwidth-sdk.rb +1 -1
- data/openapitools.json +1 -1
- data/spec/api/calls_api_spec.rb +2 -0
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +19 -7
- data/spec/integration/calls_api_integration_spec.rb +2 -0
- data/spec/models/call_state_spec.rb +0 -13
- data/spec/models/deferred_result_spec.rb +1 -14
- data/spec/models/message_spec.rb +10 -17
- data/spec/models/verify_code_request_spec.rb +7 -15
- metadata +36 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8693d77d4bfee8e8282c115a91e8a1bf3e50100497a00250003f8f43f345a80d
|
4
|
+
data.tar.gz: bc1a9da75a90bd85908f4af3fbffd2cd743ec90d78298c159eb9a303d33c510e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 303261aff338a80019bbc9f2025e223c0fe1f3d483dc9130fc553cd34137cca66afdcb863ec107280dfbd00077a2164aadca69dc64fab00858b348d2b4cd1e70
|
7
|
+
data.tar.gz: f1049381061fb44ef464da2f7e0a5c8871300e4363e733b0cc3c79e19a0e193a0a0f67921422719ee9fa5daa2c0a585f68b2c498274c65e0cecf50dcf4d66cb2
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
bandwidth-sdk (11.0.0.pre.beta.
|
4
|
+
bandwidth-sdk (11.0.0.pre.beta.3.1)
|
5
5
|
faraday (>= 1.0.1, < 3.0)
|
6
6
|
faraday-multipart
|
7
7
|
ox (~> 2.4)
|
@@ -9,7 +9,7 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
addressable (2.8.
|
12
|
+
addressable (2.8.5)
|
13
13
|
public_suffix (>= 2.0.2, < 6.0)
|
14
14
|
ast (2.4.2)
|
15
15
|
byebug (11.1.3)
|
@@ -44,7 +44,7 @@ GEM
|
|
44
44
|
rainbow (3.1.1)
|
45
45
|
rake (13.0.6)
|
46
46
|
regexp_parser (2.8.1)
|
47
|
-
rexml (3.2.
|
47
|
+
rexml (3.2.6)
|
48
48
|
rspec (3.12.0)
|
49
49
|
rspec-core (~> 3.12.0)
|
50
50
|
rspec-expectations (~> 3.12.0)
|
data/bandwidth-sdk.gemspec
CHANGED
data/bandwidth.yml
CHANGED
@@ -40,6 +40,8 @@ paths:
|
|
40
40
|
$ref: '#/components/responses/messagingForbiddenError'
|
41
41
|
'404':
|
42
42
|
$ref: '#/components/responses/messagingNotFoundError'
|
43
|
+
'406':
|
44
|
+
$ref: '#/components/responses/messagingNotAcceptableError'
|
43
45
|
'415':
|
44
46
|
$ref: '#/components/responses/messagingInvalidMediaTypeError'
|
45
47
|
'429':
|
@@ -70,6 +72,8 @@ paths:
|
|
70
72
|
$ref: '#/components/responses/messagingForbiddenError'
|
71
73
|
'404':
|
72
74
|
$ref: '#/components/responses/messagingNotFoundError'
|
75
|
+
'406':
|
76
|
+
$ref: '#/components/responses/messagingNotAcceptableError'
|
73
77
|
'415':
|
74
78
|
$ref: '#/components/responses/messagingInvalidMediaTypeError'
|
75
79
|
'429':
|
@@ -110,6 +114,8 @@ paths:
|
|
110
114
|
$ref: '#/components/responses/messagingForbiddenError'
|
111
115
|
'404':
|
112
116
|
$ref: '#/components/responses/messagingNotFoundError'
|
117
|
+
'406':
|
118
|
+
$ref: '#/components/responses/messagingNotAcceptableError'
|
113
119
|
'415':
|
114
120
|
$ref: '#/components/responses/messagingInvalidMediaTypeError'
|
115
121
|
'429':
|
@@ -141,6 +147,8 @@ paths:
|
|
141
147
|
$ref: '#/components/responses/messagingForbiddenError'
|
142
148
|
'404':
|
143
149
|
$ref: '#/components/responses/messagingNotFoundError'
|
150
|
+
'406':
|
151
|
+
$ref: '#/components/responses/messagingNotAcceptableError'
|
144
152
|
'415':
|
145
153
|
$ref: '#/components/responses/messagingInvalidMediaTypeError'
|
146
154
|
'429':
|
@@ -212,6 +220,8 @@ paths:
|
|
212
220
|
$ref: '#/components/responses/messagingForbiddenError'
|
213
221
|
'404':
|
214
222
|
$ref: '#/components/responses/messagingNotFoundError'
|
223
|
+
'406':
|
224
|
+
$ref: '#/components/responses/messagingNotAcceptableError'
|
215
225
|
'415':
|
216
226
|
$ref: '#/components/responses/messagingInvalidMediaTypeError'
|
217
227
|
'429':
|
@@ -1994,6 +2004,16 @@ components:
|
|
1994
2004
|
|
1995
2005
|
strings: `Restricted`, `Anonymous`, `Private`, or `Unavailable`).
|
1996
2006
|
example: '+19195554321'
|
2007
|
+
displayName:
|
2008
|
+
nullable: true
|
2009
|
+
type: string
|
2010
|
+
description: >-
|
2011
|
+
The caller display name to use when the call is created.
|
2012
|
+
|
2013
|
+
May not exceed 256 characters nor contain control characters such as
|
2014
|
+
new lines.
|
2015
|
+
maxLength: 256
|
2016
|
+
example: John Doe
|
1997
2017
|
uui:
|
1998
2018
|
nullable: true
|
1999
2019
|
type: string
|
@@ -4403,6 +4423,12 @@ components:
|
|
4403
4423
|
application/json:
|
4404
4424
|
schema:
|
4405
4425
|
$ref: '#/components/schemas/messagingRequestError'
|
4426
|
+
messagingNotAcceptableError:
|
4427
|
+
description: Not Acceptable
|
4428
|
+
content:
|
4429
|
+
application/json:
|
4430
|
+
schema:
|
4431
|
+
$ref: '#/components/schemas/messagingRequestError'
|
4406
4432
|
createMessageBadRequestError:
|
4407
4433
|
description: Bad Request
|
4408
4434
|
content:
|
data/coverage/.last_run.json
CHANGED