Skip to content

Commit ac25588

Browse files
Generate SDK with OpenAPI Generator Version (#173)
Co-authored-by: DX-Bandwidth <[email protected]>
1 parent 4285303 commit ac25588

13 files changed

+394
-23
lines changed

.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ docs/AccountStatistics.md
88
docs/AdditionalDenialReason.md
99
docs/Address.md
1010
docs/AnswerCallback.md
11+
docs/BlockedWebhook.md
1112
docs/BridgeCompleteCallback.md
1213
docs/BridgeTargetCompleteCallback.md
1314
docs/CallDirectionEnum.md
@@ -179,6 +180,7 @@ lib/bandwidth-sdk/models/account_statistics.rb
179180
lib/bandwidth-sdk/models/additional_denial_reason.rb
180181
lib/bandwidth-sdk/models/address.rb
181182
lib/bandwidth-sdk/models/answer_callback.rb
183+
lib/bandwidth-sdk/models/blocked_webhook.rb
182184
lib/bandwidth-sdk/models/bridge_complete_callback.rb
183185
lib/bandwidth-sdk/models/bridge_target_complete_callback.rb
184186
lib/bandwidth-sdk/models/call_direction_enum.rb

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ Class | Method | HTTP request | Description
163163
- [Bandwidth::AdditionalDenialReason](docs/AdditionalDenialReason.md)
164164
- [Bandwidth::Address](docs/Address.md)
165165
- [Bandwidth::AnswerCallback](docs/AnswerCallback.md)
166+
- [Bandwidth::BlockedWebhook](docs/BlockedWebhook.md)
166167
- [Bandwidth::BridgeCompleteCallback](docs/BridgeCompleteCallback.md)
167168
- [Bandwidth::BridgeTargetCompleteCallback](docs/BridgeTargetCompleteCallback.md)
168169
- [Bandwidth::CallDirectionEnum](docs/CallDirectionEnum.md)

bandwidth.yml

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5253,17 +5253,17 @@ components:
52535253
description: >-
52545254
The Toll-Free Verification request privacy policy URL. (Not Available
52555255
Until 5/28/2025)
5256-
example: http://your-company.com/privacyPolicyUrl.pdf
5256+
example: http://your-company.com/privacyPolicy
52575257
type: string
52585258
termsAndConditionsUrl:
52595259
description: >-
52605260
The Toll-Free Verification request terms and conditions policy URL. (Not
52615261
Available Until 5/28/2025)
5262-
example: http://your-company.com/termsAndConditionsUrl.pdf
5262+
example: http://your-company.com/termsAndConditions
52635263
type: string
5264-
businessDBA:
5264+
businessDba:
52655265
description: The company 'Doing Business As'. (Not Available Until 5/28/2025)
5266-
example: SecondCompany Name
5266+
example: Another Company Name Inc.
52675267
type: string
52685268
additionalDenialReason:
52695269
properties:
@@ -5349,8 +5349,8 @@ components:
53495349
$ref: '#/components/schemas/privacyPolicyUrl'
53505350
termsAndConditionsUrl:
53515351
$ref: '#/components/schemas/termsAndConditionsUrl'
5352-
businessDBA:
5353-
$ref: '#/components/schemas/businessDBA'
5352+
businessDba:
5353+
$ref: '#/components/schemas/businessDba'
53545354
verificationUpdateRequest:
53555355
type: object
53565356
required:
@@ -5388,8 +5388,8 @@ components:
53885388
$ref: '#/components/schemas/privacyPolicyUrl'
53895389
termsAndConditionsUrl:
53905390
$ref: '#/components/schemas/termsAndConditionsUrl'
5391-
businessDBA:
5392-
$ref: '#/components/schemas/businessDBA'
5391+
businessDba:
5392+
$ref: '#/components/schemas/businessDba'
53935393
tfvBasicAuthentication:
53945394
type: object
53955395
properties:
@@ -5483,6 +5483,21 @@ components:
54835483
$ref: '#/components/schemas/tfvCallbackStatusEnum'
54845484
internalTicketNumber:
54855485
$ref: '#/components/schemas/internalTicketNumberForWebhook'
5486+
blockedWebhook:
5487+
type: object
5488+
properties:
5489+
accountId:
5490+
$ref: '#/components/schemas/accountId1'
5491+
phoneNumber:
5492+
$ref: '#/components/schemas/tfPhoneNumber'
5493+
status:
5494+
$ref: '#/components/schemas/tfvCallbackStatusEnum'
5495+
internalTicketNumber:
5496+
$ref: '#/components/schemas/internalTicketNumberForWebhook'
5497+
blocked:
5498+
$ref: '#/components/schemas/blocked'
5499+
blockedReason:
5500+
$ref: '#/components/schemas/blockedReason'
54865501
tfvSubmissionWrapper:
54875502
type: object
54885503
properties:
@@ -5849,8 +5864,8 @@ components:
58495864
$ref: '#/components/schemas/privacyPolicyUrl'
58505865
termsAndConditionsUrl:
58515866
$ref: '#/components/schemas/termsAndConditionsUrl'
5852-
businessDBA:
5853-
$ref: '#/components/schemas/businessDBA'
5867+
businessDba:
5868+
$ref: '#/components/schemas/businessDba'
58545869
tfvStatusEnum:
58555870
type: string
58565871
enum:
@@ -7468,6 +7483,7 @@ components:
74687483
- $ref: '#/components/schemas/verificationWebhook'
74697484
- $ref: '#/components/schemas/verificationDenialWebhook'
74707485
- $ref: '#/components/schemas/failureWebhook'
7486+
- $ref: '#/components/schemas/blockedWebhook'
74717487
webhookSubscriptionRequest:
74727488
description: >-
74737489
Information about a webhook that Bandwidth should send upon the

docs/BlockedWebhook.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Bandwidth::BlockedWebhook
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **account_id** | **String** | User&#39;s account ID. | [optional] |
8+
| **phone_number** | **String** | Toll-free telephone number in E.164 format. | [optional] |
9+
| **status** | [**TfvCallbackStatusEnum**](TfvCallbackStatusEnum.md) | | [optional] |
10+
| **internal_ticket_number** | **String** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional] |
11+
| **blocked** | **Boolean** | Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. (Not Available Until 5/28/2025) | [optional] |
12+
| **blocked_reason** | **String** | The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. (Not Available Until 5/28/2025) | [optional] |
13+
14+
## Example
15+
16+
```ruby
17+
require 'bandwidth-sdk'
18+
19+
instance = Bandwidth::BlockedWebhook.new(
20+
account_id: 1234567,
21+
phone_number: +18005555555,
22+
status: null,
23+
internal_ticket_number: acde070d-8c4c-4f0d-9d8a-162843c10333,
24+
blocked: true,
25+
blocked_reason: Toll-free number was used to send spam messages
26+
)
27+
```
28+

docs/RbmActionBase.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ require 'bandwidth-sdk'
1616
instance = Bandwidth::RbmActionBase.new(
1717
type: null,
1818
text: Hello world,
19-
post_back_data: [B@204c5ddf
19+
post_back_data: [B@6b103db7
2020
)
2121
```
2222

docs/TfvSubmissionInfo.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ instance = Bandwidth::TfvSubmissionInfo.new(
3232
opt_in_workflow: null,
3333
additional_information: Any additional information,
3434
isv_reseller: Test ISV,
35-
privacy_policy_url: http://your-company.com/privacyPolicyUrl.pdf,
36-
terms_and_conditions_url: http://your-company.com/termsAndConditionsUrl.pdf,
37-
business_dba: SecondCompany Name
35+
privacy_policy_url: http://your-company.com/privacyPolicy,
36+
terms_and_conditions_url: http://your-company.com/termsAndConditions,
37+
business_dba: Another Company Name Inc.
3838
)
3939
```
4040

docs/VerificationRequest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ instance = Bandwidth::VerificationRequest.new(
3434
opt_in_workflow: null,
3535
additional_information: Any additional information,
3636
isv_reseller: Test ISV,
37-
privacy_policy_url: http://your-company.com/privacyPolicyUrl.pdf,
38-
terms_and_conditions_url: http://your-company.com/termsAndConditionsUrl.pdf,
39-
business_dba: SecondCompany Name
37+
privacy_policy_url: http://your-company.com/privacyPolicy,
38+
terms_and_conditions_url: http://your-company.com/termsAndConditions,
39+
business_dba: Another Company Name Inc.
4040
)
4141
```
4242

docs/VerificationUpdateRequest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ instance = Bandwidth::VerificationUpdateRequest.new(
3232
opt_in_workflow: null,
3333
additional_information: Any additional information,
3434
isv_reseller: Test ISV,
35-
privacy_policy_url: http://your-company.com/privacyPolicyUrl.pdf,
36-
terms_and_conditions_url: http://your-company.com/termsAndConditionsUrl.pdf,
37-
business_dba: SecondCompany Name
35+
privacy_policy_url: http://your-company.com/privacyPolicy,
36+
terms_and_conditions_url: http://your-company.com/termsAndConditions,
37+
business_dba: Another Company Name Inc.
3838
)
3939
```
4040

lib/bandwidth-sdk.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
require 'bandwidth-sdk/models/additional_denial_reason'
2222
require 'bandwidth-sdk/models/address'
2323
require 'bandwidth-sdk/models/answer_callback'
24+
require 'bandwidth-sdk/models/blocked_webhook'
2425
require 'bandwidth-sdk/models/bridge_complete_callback'
2526
require 'bandwidth-sdk/models/bridge_target_complete_callback'
2627
require 'bandwidth-sdk/models/call_direction_enum'

0 commit comments

Comments
 (0)