Skip to content

SWI-7880 Update SDK Based on Recent Spec Changes #152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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 @@ -6,6 +6,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 @@ -190,6 +191,7 @@ src/Bandwidth.Standard/Model/AccountStatistics.cs
src/Bandwidth.Standard/Model/AdditionalDenialReason.cs
src/Bandwidth.Standard/Model/Address.cs
src/Bandwidth.Standard/Model/AnswerCallback.cs
src/Bandwidth.Standard/Model/BlockedWebhook.cs
src/Bandwidth.Standard/Model/BridgeCompleteCallback.cs
src/Bandwidth.Standard/Model/BridgeTargetCompleteCallback.cs
src/Bandwidth.Standard/Model/CallDirectionEnum.cs
Expand Down
10 changes: 5 additions & 5 deletions Bandwidth.Standard.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{EC42C0CC-D6A6-4803-AEDA-6D58A46507A9}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{025A015C-50AB-473D-9C09-76DC7BD5D3FD}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard.Test", "src\Bandwidth.Standard.Test\Bandwidth.Standard.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
Expand All @@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{EC42C0CC-D6A6-4803-AEDA-6D58A46507A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EC42C0CC-D6A6-4803-AEDA-6D58A46507A9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EC42C0CC-D6A6-4803-AEDA-6D58A46507A9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EC42C0CC-D6A6-4803-AEDA-6D58A46507A9}.Release|Any CPU.Build.0 = Release|Any CPU
{025A015C-50AB-473D-9C09-76DC7BD5D3FD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{025A015C-50AB-473D-9C09-76DC7BD5D3FD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{025A015C-50AB-473D-9C09-76DC7BD5D3FD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{025A015C-50AB-473D-9C09-76DC7BD5D3FD}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ Class | Method | HTTP request | Description
- [Model.AdditionalDenialReason](docs/AdditionalDenialReason.md)
- [Model.Address](docs/Address.md)
- [Model.AnswerCallback](docs/AnswerCallback.md)
- [Model.BlockedWebhook](docs/BlockedWebhook.md)
- [Model.BridgeCompleteCallback](docs/BridgeCompleteCallback.md)
- [Model.BridgeTargetCompleteCallback](docs/BridgeTargetCompleteCallback.md)
- [Model.CallDirectionEnum](docs/CallDirectionEnum.md)
Expand Down
80 changes: 58 additions & 22 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6671,6 +6671,7 @@ components:
- $ref: '#/components/schemas/verificationWebhook'
- $ref: '#/components/schemas/verificationDenialWebhook'
- $ref: '#/components/schemas/failureWebhook'
- $ref: '#/components/schemas/blockedWebhook'
description: Verification callback status of a toll-free phone number.
required: true
webhookSubscriptionRequest:
Expand Down Expand Up @@ -12097,16 +12098,16 @@ components:
privacyPolicyUrl:
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 @@ -12206,16 +12207,16 @@ components:
privacyPolicyUrl:
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
required:
- businessAddress
Expand Down Expand Up @@ -12278,16 +12279,16 @@ components:
privacyPolicyUrl:
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
required:
- businessAddress
Expand Down Expand Up @@ -12467,6 +12468,41 @@ components:
format: uuid
type: string
type: object
blockedWebhook:
properties:
accountId:
description: User's account ID.
example: "1234567"
type: string
phoneNumber:
description: Toll-free telephone number in E.164 format.
example: "+18005555555"
maxLength: 12
minLength: 12
nullable: false
pattern: "^\\+1(800|833|844|855|866|877|888)[2-9]\\d{6}$"
type: string
status:
$ref: '#/components/schemas/tfvCallbackStatusEnum'
internalTicketNumber:
description: Unique identifier (UUID) generated by Bandwidth to assist in
tracking the verification status of a toll-free number.
example: acde070d-8c4c-4f0d-9d8a-162843c10333
format: uuid
type: string
blocked:
description: Whether a Toll-Free Verification is blocked. This attribute
will only be defined when the number is blocked. (Not Available Until
5/28/2025)
example: true
type: boolean
blockedReason:
description: 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)
example: Toll-free number was used to send spam messages
type: string
type: object
tfvSubmissionWrapper:
properties:
submission:
Expand Down Expand Up @@ -12882,8 +12918,8 @@ components:
submission:
additionalInformation: Any additional information
useCase: 2FA
termsAndConditionsUrl: http://your-company.com/termsAndConditionsUrl.pdf
businessDBA: SecondCompany Name
termsAndConditionsUrl: http://your-company.com/termsAndConditions
businessDba: Another Company Name Inc.
isvReseller: Test ISV
businessContact:
firstName: John
Expand All @@ -12900,7 +12936,7 @@ components:
name: Bandwidth Inc.
state: NC
url: https://www.example.com/path/to/resource
privacyPolicyUrl: http://your-company.com/privacyPolicyUrl.pdf
privacyPolicyUrl: http://your-company.com/privacyPolicy
useCaseSummary: Text summarizing the use case for the toll-free number
optInWorkflow:
imageUrls:
Expand Down Expand Up @@ -12968,8 +13004,8 @@ components:
example:
additionalInformation: Any additional information
useCase: 2FA
termsAndConditionsUrl: http://your-company.com/termsAndConditionsUrl.pdf
businessDBA: SecondCompany Name
termsAndConditionsUrl: http://your-company.com/termsAndConditions
businessDba: Another Company Name Inc.
isvReseller: Test ISV
businessContact:
firstName: John
Expand All @@ -12986,7 +13022,7 @@ components:
name: Bandwidth Inc.
state: NC
url: https://www.example.com/path/to/resource
privacyPolicyUrl: http://your-company.com/privacyPolicyUrl.pdf
privacyPolicyUrl: http://your-company.com/privacyPolicy
useCaseSummary: Text summarizing the use case for the toll-free number
optInWorkflow:
imageUrls:
Expand Down Expand Up @@ -13043,16 +13079,16 @@ components:
privacyPolicyUrl:
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
type: object
tfvStatusEnum:
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
15 changes: 15 additions & 0 deletions docs/BlockedWebhook.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Bandwidth.Standard.Model.BlockedWebhook

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AccountId** | **string** | User's account ID. | [optional]
**PhoneNumber** | **string** | Toll-free telephone number in E.164 format. | [optional]
**Status** | **TfvCallbackStatusEnum** | | [optional]
**InternalTicketNumber** | **Guid** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number. | [optional]
**Blocked** | **bool** | 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]
**BlockedReason** | **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]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

2 changes: 1 addition & 1 deletion docs/TfvSubmissionInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Name | Type | Description | Notes
**IsvReseller** | **string** | ISV name. | [optional]
**PrivacyPolicyUrl** | **string** | The Toll-Free Verification request privacy policy URL. (Not Available Until 5/28/2025) | [optional]
**TermsAndConditionsUrl** | **string** | The Toll-Free Verification request terms and conditions policy URL. (Not Available Until 5/28/2025) | [optional]
**BusinessDBA** | **string** | The company 'Doing Business As'. (Not Available Until 5/28/2025) | [optional]
**BusinessDba** | **string** | The company 'Doing Business As'. (Not Available Until 5/28/2025) | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

2 changes: 1 addition & 1 deletion docs/VerificationRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Name | Type | Description | Notes
**IsvReseller** | **string** | ISV name. | [optional]
**PrivacyPolicyUrl** | **string** | The Toll-Free Verification request privacy policy URL. (Not Available Until 5/28/2025) | [optional]
**TermsAndConditionsUrl** | **string** | The Toll-Free Verification request terms and conditions policy URL. (Not Available Until 5/28/2025) | [optional]
**BusinessDBA** | **string** | The company 'Doing Business As'. (Not Available Until 5/28/2025) | [optional]
**BusinessDba** | **string** | The company 'Doing Business As'. (Not Available Until 5/28/2025) | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

2 changes: 1 addition & 1 deletion docs/VerificationUpdateRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Name | Type | Description | Notes
**IsvReseller** | **string** | ISV name. | [optional]
**PrivacyPolicyUrl** | **string** | The Toll-Free Verification request privacy policy URL. (Not Available Until 5/28/2025) | [optional]
**TermsAndConditionsUrl** | **string** | The Toll-Free Verification request terms and conditions policy URL. (Not Available Until 5/28/2025) | [optional]
**BusinessDBA** | **string** | The company 'Doing Business As'. (Not Available Until 5/28/2025) | [optional]
**BusinessDba** | **string** | The company 'Doing Business As'. (Not Available Until 5/28/2025) | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Loading
Loading