Skip to content

Commit 0f0c383

Browse files
Generate SDK with OpenAPI Generator Version (#103)
Co-authored-by: DX-Bandwidth <dx@bandwidth.com>
1 parent d55a246 commit 0f0c383

7 files changed

Lines changed: 15 additions & 13 deletions

bandwidth.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,7 @@ paths:
14841484
$ref: '#/components/requestBodies/updateTollFreeVerificationRequestRequest'
14851485
responses:
14861486
'202':
1487-
description: Accepted
1487+
$ref: '#/components/responses/verifyPutResponse'
14881488
'400':
14891489
$ref: '#/components/responses/tfvPostBadRequestResponse'
14901490
'401':
@@ -5965,7 +5965,7 @@ components:
59655965
ageGatedContent:
59665966
$ref: '#/components/schemas/ageGatedContent'
59675967
cvToken:
5968-
$ref: '#/components/schemas/cvToken'
5968+
$ref: '#/components/schemas/cvTokenNullable'
59695969
verificationUpdateRequest:
59705970
type: object
59715971
required:
@@ -6016,7 +6016,7 @@ components:
60166016
ageGatedContent:
60176017
$ref: '#/components/schemas/ageGatedContent'
60186018
cvToken:
6019-
$ref: '#/components/schemas/cvToken'
6019+
$ref: '#/components/schemas/cvTokenNullable'
60206020
tfvBasicAuthentication:
60216021
type: object
60226022
properties:
@@ -6469,7 +6469,7 @@ components:
64696469
blockedReason:
64706470
$ref: '#/components/schemas/blockedReason'
64716471
cvToken:
6472-
$ref: '#/components/schemas/cvToken'
6472+
$ref: '#/components/schemas/cvTokenNullable'
64736473
tfvSubmissionInfo:
64746474
type: object
64756475
properties:
@@ -6534,13 +6534,13 @@ components:
65346534
nullable: true
65356535
pattern: ^[ -~]{16,64}$
65366536
type: string
6537-
cvToken:
6537+
cvTokenNullable:
65386538
type: string
65396539
description: >-
65406540
The token provided by Campaign Verify to validate your political use
65416541
case. Only required for 527 political organizations. If you are not a
6542-
527 political organization, this field should be omitted. If you pass an
6543-
empty string, it will be passed along and potentially rejected.
6542+
527 political organization, this field should be omitted. Supplying an
6543+
empty string will likely result in rejection.
65446544
minLength: 0
65456545
maxLength: 500
65466546
nullable: true
@@ -7214,6 +7214,8 @@ components:
72147214
example:
72157215
description: Service Unavailable Error.
72167216
type: Service Unavailable
7217+
verifyPutResponse:
7218+
description: Accepted
72177219
parameters:
72187220
accountId:
72197221
in: path

docs/TfvStatus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
1515
**submission** | [**TfvSubmissionInfo**](TfvSubmissionInfo.md) | | [optional] [default to undefined]
1616
**blocked** | **boolean** | Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] [default to undefined]
1717
**blockedReason** | **string** | The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] [default to undefined]
18-
**cvToken** | **string** | The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. If you pass an empty string, it will be passed along and potentially rejected. | [optional] [default to undefined]
18+
**cvToken** | **string** | The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. Supplying an empty string will likely result in rejection. | [optional] [default to undefined]
1919

2020
## Example
2121

docs/VerificationRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Name | Type | Description | Notes
2323
**businessEntityType** | [**BusinessEntityTypeEnum**](BusinessEntityTypeEnum.md) | | [optional] [default to undefined]
2424
**helpMessageResponse** | **string** | A message that gets sent to users requesting help. | [optional] [default to undefined]
2525
**ageGatedContent** | **boolean** | Indicates whether the content is age-gated. | [optional] [default to undefined]
26-
**cvToken** | **string** | The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. If you pass an empty string, it will be passed along and potentially rejected. | [optional] [default to undefined]
26+
**cvToken** | **string** | The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. Supplying an empty string will likely result in rejection. | [optional] [default to undefined]
2727

2828
## Example
2929

docs/VerificationUpdateRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Name | Type | Description | Notes
2222
**businessEntityType** | [**BusinessEntityTypeEnum**](BusinessEntityTypeEnum.md) | | [optional] [default to undefined]
2323
**helpMessageResponse** | **string** | A message that gets sent to users requesting help. | [optional] [default to undefined]
2424
**ageGatedContent** | **boolean** | Indicates whether the content is age-gated. | [optional] [default to undefined]
25-
**cvToken** | **string** | The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. If you pass an empty string, it will be passed along and potentially rejected. | [optional] [default to undefined]
25+
**cvToken** | **string** | The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. Supplying an empty string will likely result in rejection. | [optional] [default to undefined]
2626

2727
## Example
2828

models/tfv-status.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface TfvStatus {
5656
*/
5757
'blockedReason'?: string;
5858
/**
59-
* The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. If you pass an empty string, it will be passed along and potentially rejected.
59+
* The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. Supplying an empty string will likely result in rejection.
6060
*/
6161
'cvToken'?: string | null;
6262
}

models/verification-request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export interface VerificationRequest {
8585
*/
8686
'ageGatedContent'?: boolean;
8787
/**
88-
* The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. If you pass an empty string, it will be passed along and potentially rejected.
88+
* The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. Supplying an empty string will likely result in rejection.
8989
*/
9090
'cvToken'?: string | null;
9191
}

models/verification-update-request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export interface VerificationUpdateRequest {
8484
*/
8585
'ageGatedContent'?: boolean;
8686
/**
87-
* The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. If you pass an empty string, it will be passed along and potentially rejected.
87+
* The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. Supplying an empty string will likely result in rejection.
8888
*/
8989
'cvToken'?: string | null;
9090
}

0 commit comments

Comments
 (0)