bandwidth-sdk 14.0.0 → 14.1.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 +9 -9
- data/README.md +42 -10
- data/bandwidth.yml +1102 -0
- data/coverage/.last_run.json +1 -1
- data/coverage/.resultset.json +1204 -231
- data/coverage/index.html +20499 -10053
- data/custom_templates/README.mustache +6 -6
- data/docs/AdditionalDenialReason.md +22 -0
- data/docs/Address.md +30 -0
- data/docs/Contact.md +24 -0
- data/docs/Error.md +22 -0
- data/docs/FailureWebhook.md +28 -0
- data/docs/LinksObject.md +24 -0
- data/docs/OptInWorkflow.md +20 -0
- data/docs/TelephoneNumber.md +18 -0
- data/docs/TfvBasicAuthentication.md +20 -0
- data/docs/TfvCallbackStatusEnum.md +15 -0
- data/docs/TfvError.md +22 -0
- data/docs/TfvStatus.md +32 -0
- data/docs/TfvStatusEnum.md +15 -0
- data/docs/TfvSubmissionInfo.md +34 -0
- data/docs/TfvSubmissionWrapper.md +18 -0
- data/docs/TollFreeVerificationApi.md +585 -0
- data/docs/VerificationDenialWebhook.md +32 -0
- data/docs/VerificationRequest.md +36 -0
- data/docs/VerificationUpdateRequest.md +34 -0
- data/docs/VerificationWebhook.md +24 -0
- data/docs/WebhookSubscription.md +30 -0
- data/docs/WebhookSubscriptionBasicAuthentication.md +20 -0
- data/docs/WebhookSubscriptionRequestSchema.md +22 -0
- data/docs/WebhookSubscriptionTypeEnum.md +15 -0
- data/docs/WebhookSubscriptionsListBody.md +22 -0
- data/lib/bandwidth-sdk/api/toll_free_verification_api.rb +614 -0
- data/lib/bandwidth-sdk/configuration.rb +48 -0
- data/lib/bandwidth-sdk/models/additional_denial_reason.rb +254 -0
- data/lib/bandwidth-sdk/models/address.rb +501 -0
- data/lib/bandwidth-sdk/models/contact.rb +393 -0
- data/lib/bandwidth-sdk/models/error.rb +232 -0
- data/lib/bandwidth-sdk/models/failure_webhook.rb +304 -0
- data/lib/bandwidth-sdk/models/links_object.rb +243 -0
- data/lib/bandwidth-sdk/models/opt_in_workflow.rb +265 -0
- data/lib/bandwidth-sdk/models/telephone_number.rb +213 -0
- data/lib/bandwidth-sdk/models/tfv_basic_authentication.rb +273 -0
- data/lib/bandwidth-sdk/models/tfv_callback_status_enum.rb +40 -0
- data/lib/bandwidth-sdk/models/tfv_error.rb +232 -0
- data/lib/bandwidth-sdk/models/tfv_status.rb +342 -0
- data/lib/bandwidth-sdk/models/tfv_status_enum.rb +43 -0
- data/lib/bandwidth-sdk/models/tfv_submission_info.rb +452 -0
- data/lib/bandwidth-sdk/models/tfv_submission_wrapper.rb +212 -0
- data/lib/bandwidth-sdk/models/verification_denial_webhook.rb +325 -0
- data/lib/bandwidth-sdk/models/verification_request.rb +547 -0
- data/lib/bandwidth-sdk/models/verification_update_request.rb +501 -0
- data/lib/bandwidth-sdk/models/verification_webhook.rb +303 -0
- data/lib/bandwidth-sdk/models/webhook_subscription.rb +328 -0
- data/lib/bandwidth-sdk/models/webhook_subscription_basic_authentication.rb +274 -0
- data/lib/bandwidth-sdk/models/webhook_subscription_request_schema.rb +306 -0
- data/lib/bandwidth-sdk/models/webhook_subscription_type_enum.rb +40 -0
- data/lib/bandwidth-sdk/models/webhook_subscriptions_list_body.rb +242 -0
- data/lib/bandwidth-sdk/version.rb +1 -1
- data/lib/bandwidth-sdk.rb +25 -0
- data/openapi-config.yml +1 -1
- data/spec/call_utils.rb +2 -2
- data/spec/smoke/toll_free_verification_api_spec.rb +69 -0
- data/spec/spec_helper.rb +1 -1
- data/spec/unit/api/mfa_api_spec.rb +1 -1
- data/spec/unit/api/toll_free_verification_api_spec.rb +278 -0
- data/spec/unit/client/api_client_spec.rb +1 -1
- metadata +100 -46
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdb1b7c482e15f9c426d84f1292002787add71f9dd04ad1087d9f7efb0fb9a08
|
4
|
+
data.tar.gz: 4a21ad6e7a9abacbecf39d1a979f516110481fba4131946da5d396a9301011cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d96e4474ef6c991bba0bfaf4dee3753cac624d40a276cf1356fc3c021264f2c641da8ba209d38662f7df3e4e2b4924122ebd5923a7229e801fea11231a3295b
|
7
|
+
data.tar.gz: 2f64031e34bcab9cda314a889ceca8dd5582a24819c351ce6996e979283d6854fc40ad4c80bed0800d9dca016ee6626dc0e9e9786e163547383481d735907d71
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
bandwidth-sdk (14.
|
4
|
+
bandwidth-sdk (14.1.0)
|
5
5
|
faraday (>= 1.0.1, < 3.0)
|
6
6
|
faraday-multipart
|
7
7
|
marcel
|
@@ -14,7 +14,7 @@ GEM
|
|
14
14
|
bigdecimal (3.1.9)
|
15
15
|
byebug (11.1.3)
|
16
16
|
coderay (1.1.3)
|
17
|
-
diff-lcs (1.
|
17
|
+
diff-lcs (1.6.0)
|
18
18
|
docile (1.4.1)
|
19
19
|
faraday (2.12.2)
|
20
20
|
faraday-net_http (>= 2.0, < 3.5)
|
@@ -24,17 +24,17 @@ GEM
|
|
24
24
|
multipart-post (~> 2.0)
|
25
25
|
faraday-net_http (3.4.0)
|
26
26
|
net-http (>= 0.5.0)
|
27
|
-
json (2.
|
28
|
-
logger (1.6.
|
27
|
+
json (2.10.1)
|
28
|
+
logger (1.6.6)
|
29
29
|
marcel (1.0.4)
|
30
30
|
method_source (1.1.0)
|
31
31
|
multipart-post (2.4.1)
|
32
32
|
net-http (0.6.0)
|
33
33
|
uri
|
34
|
-
ox (2.14.
|
34
|
+
ox (2.14.22)
|
35
35
|
bigdecimal (>= 3.0)
|
36
36
|
parallel (1.26.3)
|
37
|
-
parser (3.3.7.
|
37
|
+
parser (3.3.7.1)
|
38
38
|
ast (~> 2.4.1)
|
39
39
|
racc
|
40
40
|
pry (0.14.2)
|
@@ -47,12 +47,12 @@ GEM
|
|
47
47
|
rainbow (3.1.1)
|
48
48
|
rake (13.2.1)
|
49
49
|
regexp_parser (2.10.0)
|
50
|
-
rexml (3.4.
|
50
|
+
rexml (3.4.1)
|
51
51
|
rspec (3.13.0)
|
52
52
|
rspec-core (~> 3.13.0)
|
53
53
|
rspec-expectations (~> 3.13.0)
|
54
54
|
rspec-mocks (~> 3.13.0)
|
55
|
-
rspec-core (3.13.
|
55
|
+
rspec-core (3.13.3)
|
56
56
|
rspec-support (~> 3.13.0)
|
57
57
|
rspec-expectations (3.13.3)
|
58
58
|
diff-lcs (>= 1.2.0, < 2.0)
|
@@ -71,7 +71,7 @@ GEM
|
|
71
71
|
rubocop-ast (>= 1.28.0, < 2.0)
|
72
72
|
ruby-progressbar (~> 1.7)
|
73
73
|
unicode-display_width (>= 2.4.0, < 3.0)
|
74
|
-
rubocop-ast (1.
|
74
|
+
rubocop-ast (1.38.0)
|
75
75
|
parser (>= 3.3.1.0)
|
76
76
|
ruby-progressbar (1.13.0)
|
77
77
|
simplecov (0.21.2)
|
data/README.md
CHANGED
@@ -5,12 +5,12 @@
|
|
5
5
|
[](https://github.com/rubocop/rubocop)
|
6
6
|
|
7
7
|
|
8
|
-
|
|
9
|
-
|
10
|
-
| Windows 2019 |
|
11
|
-
| Windows 2022 |
|
12
|
-
| Ubuntu
|
13
|
-
| Ubuntu
|
8
|
+
| **OS** | **Ruby** |
|
9
|
+
|:------------:|:------------------:|
|
10
|
+
| Windows 2019 | 3.0, 3.1, 3.2, 3.3 |
|
11
|
+
| Windows 2022 | 3.0, 3.1, 3.2, 3.3 |
|
12
|
+
| Ubuntu 22.04 | 3.0, 3.1, 3.2, 3.3 |
|
13
|
+
| Ubuntu 24.04 | 3.0, 3.1, 3.2, 3.3 |
|
14
14
|
|
15
15
|
Bandwidth - the Ruby gem for the Bandwidth SDK
|
16
16
|
|
@@ -22,7 +22,7 @@ Bandwidth's Communication APIs
|
|
22
22
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
23
23
|
|
24
24
|
- API version: 1.0.0
|
25
|
-
- Package version: 1.0.0
|
25
|
+
- Package version: 1.0.0
|
26
26
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
27
27
|
For more information, please visit [https://dev.bandwidth.com](https://dev.bandwidth.com)
|
28
28
|
|
@@ -45,16 +45,16 @@ gem build bandwidth-sdk.gemspec
|
|
45
45
|
Then either install the gem locally:
|
46
46
|
|
47
47
|
```shell
|
48
|
-
gem install ./bandwidth-sdk-1.0.0
|
48
|
+
gem install ./bandwidth-sdk-1.0.0.gem
|
49
49
|
```
|
50
50
|
|
51
|
-
(for development, run `gem install --dev ./bandwidth-sdk-1.0.0
|
51
|
+
(for development, run `gem install --dev ./bandwidth-sdk-1.0.0.gem` to install the development dependencies)
|
52
52
|
|
53
53
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
54
54
|
|
55
55
|
Finally add this to the Gemfile:
|
56
56
|
|
57
|
-
gem 'bandwidth-sdk', '~> 1.0.0
|
57
|
+
gem 'bandwidth-sdk', '~> 1.0.0'
|
58
58
|
|
59
59
|
### Install from Git
|
60
60
|
|
@@ -143,6 +143,14 @@ Class | Method | HTTP request | Description
|
|
143
143
|
*Bandwidth::RecordingsApi* | [**transcribe_call_recording**](docs/RecordingsApi.md#transcribe_call_recording) | **POST** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription | Create Transcription Request
|
144
144
|
*Bandwidth::RecordingsApi* | [**update_call_recording_state**](docs/RecordingsApi.md#update_call_recording_state) | **PUT** /accounts/{accountId}/calls/{callId}/recording | Update Recording
|
145
145
|
*Bandwidth::StatisticsApi* | [**get_statistics**](docs/StatisticsApi.md#get_statistics) | **GET** /accounts/{accountId}/statistics | Get Account Statistics
|
146
|
+
*Bandwidth::TollFreeVerificationApi* | [**create_webhook_subscription**](docs/TollFreeVerificationApi.md#create_webhook_subscription) | **POST** /accounts/{accountId}/tollFreeVerification/webhooks/subscriptions | Create Webhook Subscription
|
147
|
+
*Bandwidth::TollFreeVerificationApi* | [**delete_webhook_subscription**](docs/TollFreeVerificationApi.md#delete_webhook_subscription) | **DELETE** /accounts/{accountId}/tollFreeVerification/webhooks/subscriptions/{id} | Delete Webhook Subscription
|
148
|
+
*Bandwidth::TollFreeVerificationApi* | [**get_toll_free_verification_status**](docs/TollFreeVerificationApi.md#get_toll_free_verification_status) | **GET** /accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification | Get Toll-Free Verification Status
|
149
|
+
*Bandwidth::TollFreeVerificationApi* | [**list_toll_free_use_cases**](docs/TollFreeVerificationApi.md#list_toll_free_use_cases) | **GET** /tollFreeVerification/useCases | List Toll-Free Use Cases
|
150
|
+
*Bandwidth::TollFreeVerificationApi* | [**list_webhook_subscriptions**](docs/TollFreeVerificationApi.md#list_webhook_subscriptions) | **GET** /accounts/{accountId}/tollFreeVerification/webhooks/subscriptions | List Webhook Subscriptions
|
151
|
+
*Bandwidth::TollFreeVerificationApi* | [**request_toll_free_verification**](docs/TollFreeVerificationApi.md#request_toll_free_verification) | **POST** /accounts/{accountId}/tollFreeVerification | Request Toll-Free Verification
|
152
|
+
*Bandwidth::TollFreeVerificationApi* | [**update_toll_free_verification_request**](docs/TollFreeVerificationApi.md#update_toll_free_verification_request) | **PUT** /accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification | Update Toll-Free Verification Request
|
153
|
+
*Bandwidth::TollFreeVerificationApi* | [**update_webhook_subscription**](docs/TollFreeVerificationApi.md#update_webhook_subscription) | **PUT** /accounts/{accountId}/tollFreeVerification/webhooks/subscriptions/{id} | Update Webhook Subscription
|
146
154
|
*Bandwidth::TranscriptionsApi* | [**delete_real_time_transcription**](docs/TranscriptionsApi.md#delete_real_time_transcription) | **DELETE** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Delete a specific transcription
|
147
155
|
*Bandwidth::TranscriptionsApi* | [**get_real_time_transcription**](docs/TranscriptionsApi.md#get_real_time_transcription) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Retrieve a specific transcription
|
148
156
|
*Bandwidth::TranscriptionsApi* | [**list_real_time_transcriptions**](docs/TranscriptionsApi.md#list_real_time_transcriptions) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions | Enumerate transcriptions made with StartTranscription
|
@@ -151,6 +159,8 @@ Class | Method | HTTP request | Description
|
|
151
159
|
## Documentation for Models
|
152
160
|
|
153
161
|
- [Bandwidth::AccountStatistics](docs/AccountStatistics.md)
|
162
|
+
- [Bandwidth::AdditionalDenialReason](docs/AdditionalDenialReason.md)
|
163
|
+
- [Bandwidth::Address](docs/Address.md)
|
154
164
|
- [Bandwidth::AnswerCallback](docs/AnswerCallback.md)
|
155
165
|
- [Bandwidth::BridgeCompleteCallback](docs/BridgeCompleteCallback.md)
|
156
166
|
- [Bandwidth::BridgeTargetCompleteCallback](docs/BridgeTargetCompleteCallback.md)
|
@@ -176,6 +186,7 @@ Class | Method | HTTP request | Description
|
|
176
186
|
- [Bandwidth::ConferenceRecordingMetadata](docs/ConferenceRecordingMetadata.md)
|
177
187
|
- [Bandwidth::ConferenceRedirectCallback](docs/ConferenceRedirectCallback.md)
|
178
188
|
- [Bandwidth::ConferenceStateEnum](docs/ConferenceStateEnum.md)
|
189
|
+
- [Bandwidth::Contact](docs/Contact.md)
|
179
190
|
- [Bandwidth::CreateCall](docs/CreateCall.md)
|
180
191
|
- [Bandwidth::CreateCallResponse](docs/CreateCallResponse.md)
|
181
192
|
- [Bandwidth::CreateLookupResponse](docs/CreateLookupResponse.md)
|
@@ -184,10 +195,13 @@ Class | Method | HTTP request | Description
|
|
184
195
|
- [Bandwidth::DisconnectCallback](docs/DisconnectCallback.md)
|
185
196
|
- [Bandwidth::Diversion](docs/Diversion.md)
|
186
197
|
- [Bandwidth::DtmfCallback](docs/DtmfCallback.md)
|
198
|
+
- [Bandwidth::Error](docs/Error.md)
|
199
|
+
- [Bandwidth::FailureWebhook](docs/FailureWebhook.md)
|
187
200
|
- [Bandwidth::FieldError](docs/FieldError.md)
|
188
201
|
- [Bandwidth::FileFormatEnum](docs/FileFormatEnum.md)
|
189
202
|
- [Bandwidth::GatherCallback](docs/GatherCallback.md)
|
190
203
|
- [Bandwidth::InitiateCallback](docs/InitiateCallback.md)
|
204
|
+
- [Bandwidth::LinksObject](docs/LinksObject.md)
|
191
205
|
- [Bandwidth::ListMessageDirectionEnum](docs/ListMessageDirectionEnum.md)
|
192
206
|
- [Bandwidth::ListMessageItem](docs/ListMessageItem.md)
|
193
207
|
- [Bandwidth::LookupRequest](docs/LookupRequest.md)
|
@@ -212,6 +226,7 @@ Class | Method | HTTP request | Description
|
|
212
226
|
- [Bandwidth::MfaForbiddenRequestError](docs/MfaForbiddenRequestError.md)
|
213
227
|
- [Bandwidth::MfaRequestError](docs/MfaRequestError.md)
|
214
228
|
- [Bandwidth::MfaUnauthorizedRequestError](docs/MfaUnauthorizedRequestError.md)
|
229
|
+
- [Bandwidth::OptInWorkflow](docs/OptInWorkflow.md)
|
215
230
|
- [Bandwidth::PageInfo](docs/PageInfo.md)
|
216
231
|
- [Bandwidth::PriorityEnum](docs/PriorityEnum.md)
|
217
232
|
- [Bandwidth::RecordingAvailableCallback](docs/RecordingAvailableCallback.md)
|
@@ -223,6 +238,14 @@ Class | Method | HTTP request | Description
|
|
223
238
|
- [Bandwidth::RedirectMethodEnum](docs/RedirectMethodEnum.md)
|
224
239
|
- [Bandwidth::StirShaken](docs/StirShaken.md)
|
225
240
|
- [Bandwidth::Tag](docs/Tag.md)
|
241
|
+
- [Bandwidth::TelephoneNumber](docs/TelephoneNumber.md)
|
242
|
+
- [Bandwidth::TfvBasicAuthentication](docs/TfvBasicAuthentication.md)
|
243
|
+
- [Bandwidth::TfvCallbackStatusEnum](docs/TfvCallbackStatusEnum.md)
|
244
|
+
- [Bandwidth::TfvError](docs/TfvError.md)
|
245
|
+
- [Bandwidth::TfvStatus](docs/TfvStatus.md)
|
246
|
+
- [Bandwidth::TfvStatusEnum](docs/TfvStatusEnum.md)
|
247
|
+
- [Bandwidth::TfvSubmissionInfo](docs/TfvSubmissionInfo.md)
|
248
|
+
- [Bandwidth::TfvSubmissionWrapper](docs/TfvSubmissionWrapper.md)
|
226
249
|
- [Bandwidth::TnLookupRequestError](docs/TnLookupRequestError.md)
|
227
250
|
- [Bandwidth::TranscribeRecording](docs/TranscribeRecording.md)
|
228
251
|
- [Bandwidth::Transcription](docs/Transcription.md)
|
@@ -234,10 +257,19 @@ Class | Method | HTTP request | Description
|
|
234
257
|
- [Bandwidth::UpdateCallRecording](docs/UpdateCallRecording.md)
|
235
258
|
- [Bandwidth::UpdateConference](docs/UpdateConference.md)
|
236
259
|
- [Bandwidth::UpdateConferenceMember](docs/UpdateConferenceMember.md)
|
260
|
+
- [Bandwidth::VerificationDenialWebhook](docs/VerificationDenialWebhook.md)
|
261
|
+
- [Bandwidth::VerificationRequest](docs/VerificationRequest.md)
|
262
|
+
- [Bandwidth::VerificationUpdateRequest](docs/VerificationUpdateRequest.md)
|
263
|
+
- [Bandwidth::VerificationWebhook](docs/VerificationWebhook.md)
|
237
264
|
- [Bandwidth::VerifyCodeRequest](docs/VerifyCodeRequest.md)
|
238
265
|
- [Bandwidth::VerifyCodeResponse](docs/VerifyCodeResponse.md)
|
239
266
|
- [Bandwidth::VoiceApiError](docs/VoiceApiError.md)
|
240
267
|
- [Bandwidth::VoiceCodeResponse](docs/VoiceCodeResponse.md)
|
268
|
+
- [Bandwidth::WebhookSubscription](docs/WebhookSubscription.md)
|
269
|
+
- [Bandwidth::WebhookSubscriptionBasicAuthentication](docs/WebhookSubscriptionBasicAuthentication.md)
|
270
|
+
- [Bandwidth::WebhookSubscriptionRequestSchema](docs/WebhookSubscriptionRequestSchema.md)
|
271
|
+
- [Bandwidth::WebhookSubscriptionTypeEnum](docs/WebhookSubscriptionTypeEnum.md)
|
272
|
+
- [Bandwidth::WebhookSubscriptionsListBody](docs/WebhookSubscriptionsListBody.md)
|
241
273
|
|
242
274
|
|
243
275
|
## Documentation for Authorization
|