bandwidth-sdk 11.0.0.pre.beta.3.0 → 11.0.0.pre.beta.4.0
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/README.md +3 -0
- data/bandwidth-sdk.gemspec +1 -1
- data/bandwidth.yml +26 -0
- data/coverage/.resultset.json +8 -6
- data/coverage/index.html +287 -265
- data/custom_templates/README.mustache +3 -0
- 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 +1 -1
- data/lib/bandwidth-sdk/models/account_statistics.rb +1 -1
- data/lib/bandwidth-sdk/models/answer_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/bridge_complete_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/bridge_target_complete_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/call_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/call_recording_metadata.rb +1 -1
- data/lib/bandwidth-sdk/models/call_state.rb +1 -1
- 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 +1 -1
- data/lib/bandwidth-sdk/models/conference.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_completed_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_created_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_member.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_member_exit_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_member_join_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_recording_available_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_recording_metadata.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_redirect_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/conference_state_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/create_call.rb +28 -2
- data/lib/bandwidth-sdk/models/create_call_response.rb +1 -1
- data/lib/bandwidth-sdk/models/create_lookup_response.rb +1 -1
- data/lib/bandwidth-sdk/models/create_message_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/deferred_result.rb +1 -1
- data/lib/bandwidth-sdk/models/disconnect_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/diversion.rb +1 -1
- data/lib/bandwidth-sdk/models/dtmf_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/field_error.rb +1 -1
- data/lib/bandwidth-sdk/models/file_format_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/gather_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/inbound_message_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/inbound_message_callback_message.rb +1 -1
- data/lib/bandwidth-sdk/models/initiate_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/list_message_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/list_message_item.rb +1 -1
- data/lib/bandwidth-sdk/models/lookup_request.rb +1 -1
- data/lib/bandwidth-sdk/models/lookup_result.rb +1 -1
- data/lib/bandwidth-sdk/models/lookup_status.rb +1 -1
- data/lib/bandwidth-sdk/models/lookup_status_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/machine_detection_complete_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/machine_detection_configuration.rb +1 -1
- data/lib/bandwidth-sdk/models/machine_detection_mode_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/machine_detection_result.rb +1 -1
- data/lib/bandwidth-sdk/models/media.rb +1 -1
- data/lib/bandwidth-sdk/models/message.rb +1 -1
- data/lib/bandwidth-sdk/models/message_delivered_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/message_delivered_callback_message.rb +1 -1
- data/lib/bandwidth-sdk/models/message_direction_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/message_failed_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/message_failed_callback_message.rb +1 -1
- data/lib/bandwidth-sdk/models/message_request.rb +1 -1
- data/lib/bandwidth-sdk/models/message_sending_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/message_sending_callback_message.rb +1 -1
- 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 +1 -1
- data/lib/bandwidth-sdk/models/messaging_code_response.rb +1 -1
- data/lib/bandwidth-sdk/models/messaging_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/mfa_forbidden_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/mfa_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/mfa_unauthorized_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/page_info.rb +1 -1
- data/lib/bandwidth-sdk/models/priority_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/recording_available_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/recording_complete_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/recording_state_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/redirect_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/redirect_method_enum.rb +1 -1
- data/lib/bandwidth-sdk/models/stir_shaken.rb +1 -1
- data/lib/bandwidth-sdk/models/tag.rb +1 -1
- data/lib/bandwidth-sdk/models/tn_lookup_request_error.rb +1 -1
- data/lib/bandwidth-sdk/models/transcribe_recording.rb +1 -1
- data/lib/bandwidth-sdk/models/transcription.rb +1 -1
- data/lib/bandwidth-sdk/models/transcription_available_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/transcription_list.rb +1 -1
- data/lib/bandwidth-sdk/models/transcription_metadata.rb +1 -1
- data/lib/bandwidth-sdk/models/transfer_answer_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/transfer_complete_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/transfer_disconnect_callback.rb +1 -1
- data/lib/bandwidth-sdk/models/update_call.rb +1 -1
- data/lib/bandwidth-sdk/models/update_call_recording.rb +1 -1
- data/lib/bandwidth-sdk/models/update_conference.rb +1 -1
- data/lib/bandwidth-sdk/models/update_conference_member.rb +1 -1
- data/lib/bandwidth-sdk/models/verify_code_request.rb +1 -1
- data/lib/bandwidth-sdk/models/verify_code_response.rb +1 -1
- data/lib/bandwidth-sdk/models/voice_api_error.rb +1 -1
- data/lib/bandwidth-sdk/models/voice_code_response.rb +1 -1
- data/lib/bandwidth-sdk/version.rb +2 -2
- data/lib/bandwidth-sdk.rb +1 -1
- data/openapitools.json +1 -1
- data/spec/api/calls_api_spec.rb +2 -0
- data/spec/integration/calls_api_integration_spec.rb +3 -1
- metadata +36 -37
- data/custom_templates/version.mustache +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 652bb9b057c32ad4b41af859976ce44fcee6398f5726d96dca3abf62a45f4cce
|
4
|
+
data.tar.gz: acfb85df2e41a6f33be551f781b2b40785789ee52f6820f24fa41432692e9ac0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a82866f202ca35619b34587d05f3aa486370c3cac8b25718b06899f2560a4e62a86ab18df3d7204cfcfcbd307428d8c2f1ebc583a6bbfffcd3bc9a4ea66b8c69
|
7
|
+
data.tar.gz: 0b035b9b15c10989168b79343ed89a74b8902272ddcd96509ad39aa04628598f25ff3525bd664527eaf6d6f21334219b3a82120ab482f78cf1a272e8f28e1d21
|
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.4.0)
|
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/README.md
CHANGED
@@ -14,6 +14,9 @@
|
|
14
14
|
|
15
15
|
Bandwidth - the Ruby gem for the Bandwidth
|
16
16
|
|
17
|
+
# Generated with the command:
|
18
|
+
`openapi-generator generate -g ruby -i bandwidth.yml -c openapi-config.yml -o ./`
|
19
|
+
|
17
20
|
Bandwidth's Communication APIs
|
18
21
|
|
19
22
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
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/.resultset.json
CHANGED
@@ -462,8 +462,8 @@
|
|
462
462
|
null,
|
463
463
|
null,
|
464
464
|
1,
|
465
|
-
|
466
|
-
|
465
|
+
1695,
|
466
|
+
1695,
|
467
467
|
null,
|
468
468
|
2,
|
469
469
|
null,
|
@@ -484,7 +484,7 @@
|
|
484
484
|
null,
|
485
485
|
null,
|
486
486
|
13,
|
487
|
-
|
487
|
+
1648,
|
488
488
|
null,
|
489
489
|
null,
|
490
490
|
2,
|
@@ -493,8 +493,8 @@
|
|
493
493
|
null,
|
494
494
|
null,
|
495
495
|
null,
|
496
|
-
|
497
|
-
|
496
|
+
1667,
|
497
|
+
1667,
|
498
498
|
null,
|
499
499
|
null,
|
500
500
|
null,
|
@@ -5591,6 +5591,7 @@
|
|
5591
5591
|
2,
|
5592
5592
|
2,
|
5593
5593
|
2,
|
5594
|
+
2,
|
5594
5595
|
null,
|
5595
5596
|
null,
|
5596
5597
|
2,
|
@@ -5648,6 +5649,7 @@
|
|
5648
5649
|
null,
|
5649
5650
|
null,
|
5650
5651
|
null,
|
5652
|
+
null,
|
5651
5653
|
1,
|
5652
5654
|
null,
|
5653
5655
|
1,
|
@@ -9754,6 +9756,6 @@
|
|
9754
9756
|
]
|
9755
9757
|
}
|
9756
9758
|
},
|
9757
|
-
"timestamp":
|
9759
|
+
"timestamp": 1693423043
|
9758
9760
|
}
|
9759
9761
|
}
|