Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ docs/AccountStatistics.md
docs/AdditionalDenialReason.md
docs/Address.md
docs/AnswerCallback.md
docs/BlockedWebhook.md
docs/BridgeCompleteCallback.md
docs/BridgeTargetCompleteCallback.md
docs/CallDirectionEnum.md
Expand Down Expand Up @@ -179,6 +180,7 @@ lib/bandwidth-sdk/models/account_statistics.rb
lib/bandwidth-sdk/models/additional_denial_reason.rb
lib/bandwidth-sdk/models/address.rb
lib/bandwidth-sdk/models/answer_callback.rb
lib/bandwidth-sdk/models/blocked_webhook.rb
lib/bandwidth-sdk/models/bridge_complete_callback.rb
lib/bandwidth-sdk/models/bridge_target_complete_callback.rb
lib/bandwidth-sdk/models/call_direction_enum.rb
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ Class | Method | HTTP request | Description
- [Bandwidth::AdditionalDenialReason](docs/AdditionalDenialReason.md)
- [Bandwidth::Address](docs/Address.md)
- [Bandwidth::AnswerCallback](docs/AnswerCallback.md)
- [Bandwidth::BlockedWebhook](docs/BlockedWebhook.md)
- [Bandwidth::BridgeCompleteCallback](docs/BridgeCompleteCallback.md)
- [Bandwidth::BridgeTargetCompleteCallback](docs/BridgeTargetCompleteCallback.md)
- [Bandwidth::CallDirectionEnum](docs/CallDirectionEnum.md)
Expand Down
36 changes: 26 additions & 10 deletions bandwidth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5253,17 +5253,17 @@ components:
description: >-
The Toll-Free Verification request privacy policy URL. (Not Available
Until 5/28/2025)
example: http://your-company.com/privacyPolicyUrl.pdf
example: http://your-company.com/privacyPolicy
type: string
termsAndConditionsUrl:
description: >-
The Toll-Free Verification request terms and conditions policy URL. (Not
Available Until 5/28/2025)
example: http://your-company.com/termsAndConditionsUrl.pdf
example: http://your-company.com/termsAndConditions
type: string
businessDBA:
businessDba:
description: The company 'Doing Business As'. (Not Available Until 5/28/2025)
example: SecondCompany Name
example: Another Company Name Inc.
type: string
additionalDenialReason:
properties:
Expand Down Expand Up @@ -5349,8 +5349,8 @@ components:
$ref: '#/components/schemas/privacyPolicyUrl'
termsAndConditionsUrl:
$ref: '#/components/schemas/termsAndConditionsUrl'
businessDBA:
$ref: '#/components/schemas/businessDBA'
businessDba:
$ref: '#/components/schemas/businessDba'
verificationUpdateRequest:
type: object
required:
Expand Down Expand Up @@ -5388,8 +5388,8 @@ components:
$ref: '#/components/schemas/privacyPolicyUrl'
termsAndConditionsUrl:
$ref: '#/components/schemas/termsAndConditionsUrl'
businessDBA:
$ref: '#/components/schemas/businessDBA'
businessDba:
$ref: '#/components/schemas/businessDba'
tfvBasicAuthentication:
type: object
properties:
Expand Down Expand Up @@ -5483,6 +5483,21 @@ components:
$ref: '#/components/schemas/tfvCallbackStatusEnum'
internalTicketNumber:
$ref: '#/components/schemas/internalTicketNumberForWebhook'
blockedWebhook:
type: object
properties:
accountId:
$ref: '#/components/schemas/accountId1'
phoneNumber:
$ref: '#/components/schemas/tfPhoneNumber'
status:
$ref: '#/components/schemas/tfvCallbackStatusEnum'
internalTicketNumber:
$ref: '#/components/schemas/internalTicketNumberForWebhook'
blocked:
$ref: '#/components/schemas/blocked'
blockedReason:
$ref: '#/components/schemas/blockedReason'
tfvSubmissionWrapper:
type: object
properties:
Expand Down Expand Up @@ -5849,8 +5864,8 @@ components:
$ref: '#/components/schemas/privacyPolicyUrl'
termsAndConditionsUrl:
$ref: '#/components/schemas/termsAndConditionsUrl'
businessDBA:
$ref: '#/components/schemas/businessDBA'
businessDba:
$ref: '#/components/schemas/businessDba'
tfvStatusEnum:
type: string
enum:
Expand Down Expand Up @@ -7468,6 +7483,7 @@ components:
- $ref: '#/components/schemas/verificationWebhook'
- $ref: '#/components/schemas/verificationDenialWebhook'
- $ref: '#/components/schemas/failureWebhook'
- $ref: '#/components/schemas/blockedWebhook'
webhookSubscriptionRequest:
description: >-
Information about a webhook that Bandwidth should send upon the
Expand Down
28 changes: 28 additions & 0 deletions docs/BlockedWebhook.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Bandwidth::BlockedWebhook

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **account_id** | **String** | User's account ID. | [optional] |
| **phone_number** | **String** | Toll-free telephone number in E.164 format. | [optional] |
| **status** | [**TfvCallbackStatusEnum**](TfvCallbackStatusEnum.md) | | [optional] |
| **internal_ticket_number** | **String** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional] |
| **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] |
| **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] |

## Example

```ruby
require 'bandwidth-sdk'

instance = Bandwidth::BlockedWebhook.new(
account_id: 1234567,
phone_number: +18005555555,
status: null,
internal_ticket_number: acde070d-8c4c-4f0d-9d8a-162843c10333,
blocked: true,
blocked_reason: Toll-free number was used to send spam messages
)
```

2 changes: 1 addition & 1 deletion docs/RbmActionBase.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require 'bandwidth-sdk'
instance = Bandwidth::RbmActionBase.new(
type: null,
text: Hello world,
post_back_data: [B@204c5ddf
post_back_data: [B@6b103db7
)
```

6 changes: 3 additions & 3 deletions docs/TfvSubmissionInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ instance = Bandwidth::TfvSubmissionInfo.new(
opt_in_workflow: null,
additional_information: Any additional information,
isv_reseller: Test ISV,
privacy_policy_url: http://your-company.com/privacyPolicyUrl.pdf,
terms_and_conditions_url: http://your-company.com/termsAndConditionsUrl.pdf,
business_dba: SecondCompany Name
privacy_policy_url: http://your-company.com/privacyPolicy,
terms_and_conditions_url: http://your-company.com/termsAndConditions,
business_dba: Another Company Name Inc.
)
```

6 changes: 3 additions & 3 deletions docs/VerificationRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ instance = Bandwidth::VerificationRequest.new(
opt_in_workflow: null,
additional_information: Any additional information,
isv_reseller: Test ISV,
privacy_policy_url: http://your-company.com/privacyPolicyUrl.pdf,
terms_and_conditions_url: http://your-company.com/termsAndConditionsUrl.pdf,
business_dba: SecondCompany Name
privacy_policy_url: http://your-company.com/privacyPolicy,
terms_and_conditions_url: http://your-company.com/termsAndConditions,
business_dba: Another Company Name Inc.
)
```

6 changes: 3 additions & 3 deletions docs/VerificationUpdateRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ instance = Bandwidth::VerificationUpdateRequest.new(
opt_in_workflow: null,
additional_information: Any additional information,
isv_reseller: Test ISV,
privacy_policy_url: http://your-company.com/privacyPolicyUrl.pdf,
terms_and_conditions_url: http://your-company.com/termsAndConditionsUrl.pdf,
business_dba: SecondCompany Name
privacy_policy_url: http://your-company.com/privacyPolicy,
terms_and_conditions_url: http://your-company.com/termsAndConditions,
business_dba: Another Company Name Inc.
)
```

1 change: 1 addition & 0 deletions lib/bandwidth-sdk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
require 'bandwidth-sdk/models/additional_denial_reason'
require 'bandwidth-sdk/models/address'
require 'bandwidth-sdk/models/answer_callback'
require 'bandwidth-sdk/models/blocked_webhook'
require 'bandwidth-sdk/models/bridge_complete_callback'
require 'bandwidth-sdk/models/bridge_target_complete_callback'
require 'bandwidth-sdk/models/call_direction_enum'
Expand Down
Loading