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.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +9 -9
  3. data/README.md +42 -10
  4. data/bandwidth.yml +1102 -0
  5. data/coverage/.last_run.json +1 -1
  6. data/coverage/.resultset.json +1204 -231
  7. data/coverage/index.html +20499 -10053
  8. data/custom_templates/README.mustache +6 -6
  9. data/docs/AdditionalDenialReason.md +22 -0
  10. data/docs/Address.md +30 -0
  11. data/docs/Contact.md +24 -0
  12. data/docs/Error.md +22 -0
  13. data/docs/FailureWebhook.md +28 -0
  14. data/docs/LinksObject.md +24 -0
  15. data/docs/OptInWorkflow.md +20 -0
  16. data/docs/TelephoneNumber.md +18 -0
  17. data/docs/TfvBasicAuthentication.md +20 -0
  18. data/docs/TfvCallbackStatusEnum.md +15 -0
  19. data/docs/TfvError.md +22 -0
  20. data/docs/TfvStatus.md +32 -0
  21. data/docs/TfvStatusEnum.md +15 -0
  22. data/docs/TfvSubmissionInfo.md +34 -0
  23. data/docs/TfvSubmissionWrapper.md +18 -0
  24. data/docs/TollFreeVerificationApi.md +585 -0
  25. data/docs/VerificationDenialWebhook.md +32 -0
  26. data/docs/VerificationRequest.md +36 -0
  27. data/docs/VerificationUpdateRequest.md +34 -0
  28. data/docs/VerificationWebhook.md +24 -0
  29. data/docs/WebhookSubscription.md +30 -0
  30. data/docs/WebhookSubscriptionBasicAuthentication.md +20 -0
  31. data/docs/WebhookSubscriptionRequestSchema.md +22 -0
  32. data/docs/WebhookSubscriptionTypeEnum.md +15 -0
  33. data/docs/WebhookSubscriptionsListBody.md +22 -0
  34. data/lib/bandwidth-sdk/api/toll_free_verification_api.rb +614 -0
  35. data/lib/bandwidth-sdk/configuration.rb +48 -0
  36. data/lib/bandwidth-sdk/models/additional_denial_reason.rb +254 -0
  37. data/lib/bandwidth-sdk/models/address.rb +501 -0
  38. data/lib/bandwidth-sdk/models/contact.rb +393 -0
  39. data/lib/bandwidth-sdk/models/error.rb +232 -0
  40. data/lib/bandwidth-sdk/models/failure_webhook.rb +304 -0
  41. data/lib/bandwidth-sdk/models/links_object.rb +243 -0
  42. data/lib/bandwidth-sdk/models/opt_in_workflow.rb +265 -0
  43. data/lib/bandwidth-sdk/models/telephone_number.rb +213 -0
  44. data/lib/bandwidth-sdk/models/tfv_basic_authentication.rb +273 -0
  45. data/lib/bandwidth-sdk/models/tfv_callback_status_enum.rb +40 -0
  46. data/lib/bandwidth-sdk/models/tfv_error.rb +232 -0
  47. data/lib/bandwidth-sdk/models/tfv_status.rb +342 -0
  48. data/lib/bandwidth-sdk/models/tfv_status_enum.rb +43 -0
  49. data/lib/bandwidth-sdk/models/tfv_submission_info.rb +452 -0
  50. data/lib/bandwidth-sdk/models/tfv_submission_wrapper.rb +212 -0
  51. data/lib/bandwidth-sdk/models/verification_denial_webhook.rb +325 -0
  52. data/lib/bandwidth-sdk/models/verification_request.rb +547 -0
  53. data/lib/bandwidth-sdk/models/verification_update_request.rb +501 -0
  54. data/lib/bandwidth-sdk/models/verification_webhook.rb +303 -0
  55. data/lib/bandwidth-sdk/models/webhook_subscription.rb +328 -0
  56. data/lib/bandwidth-sdk/models/webhook_subscription_basic_authentication.rb +274 -0
  57. data/lib/bandwidth-sdk/models/webhook_subscription_request_schema.rb +306 -0
  58. data/lib/bandwidth-sdk/models/webhook_subscription_type_enum.rb +40 -0
  59. data/lib/bandwidth-sdk/models/webhook_subscriptions_list_body.rb +242 -0
  60. data/lib/bandwidth-sdk/version.rb +1 -1
  61. data/lib/bandwidth-sdk.rb +25 -0
  62. data/openapi-config.yml +1 -1
  63. data/spec/call_utils.rb +2 -2
  64. data/spec/smoke/toll_free_verification_api_spec.rb +69 -0
  65. data/spec/spec_helper.rb +1 -1
  66. data/spec/unit/api/mfa_api_spec.rb +1 -1
  67. data/spec/unit/api/toll_free_verification_api_spec.rb +278 -0
  68. data/spec/unit/client/api_client_spec.rb +1 -1
  69. metadata +100 -46
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0008830c5492e408f3e64d71ab5ddfa71765978dff594f794290855a0d4b843d'
4
- data.tar.gz: fd0fa505217676b0479d7298b4f4621e10795f15ef17bdee376e8147524fc7bf
3
+ metadata.gz: bdb1b7c482e15f9c426d84f1292002787add71f9dd04ad1087d9f7efb0fb9a08
4
+ data.tar.gz: 4a21ad6e7a9abacbecf39d1a979f516110481fba4131946da5d396a9301011cc
5
5
  SHA512:
6
- metadata.gz: 11528189da5adbff31a8e63400b7314ff5b70695becfa3121adf5741872d0d7f32a10a9803648ba423bc1e2f49fb8a1b6a4d4b10635d3eddb704810a3169893a
7
- data.tar.gz: 0d66143a10ab7fd2a5f1aeb1e64ae9c5c10f6a034d19df1acd44c060d7a5aa314819c62d05f8a6f486cf1c1ff58c6b68d422b3899d4fb6d7d505e7f288ef2a73
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.0.0)
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.5.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.9.1)
28
- logger (1.6.5)
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.20)
34
+ ox (2.14.22)
35
35
  bigdecimal (>= 3.0)
36
36
  parallel (1.26.3)
37
- parser (3.3.7.0)
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.0)
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.2)
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.37.0)
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
  [![Ruby Style Guide](https://img.shields.io/badge/code_style-rubocop-brightgreen.svg)](https://github.com/rubocop/rubocop)
6
6
 
7
7
 
8
- | **OS** | **Ruby** |
9
- |:---:|:---:|
10
- | Windows 2019 | 2.7, 3.0, 3.1, 3.2, 3.3 |
11
- | Windows 2022 | 2.7, 3.0, 3.1, 3.2, 3.3 |
12
- | Ubuntu 20.04 | 2.7, 3.0, 3.1, 3.2, 3.3 |
13
- | Ubuntu 22.04 | 2.7, 3.0, 3.1, 3.2, 3.3 |
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-dev
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-dev.gem
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-dev.gem` to install the development dependencies)
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-dev'
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