Skip to content

Commit 3bb40bd

Browse files
committed
Generate SDK with OpenAPI Generator Version
1 parent 8e35fd3 commit 3bb40bd

File tree

7 files changed

+15
-13
lines changed

7 files changed

+15
-13
lines changed

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

bandwidth/models/tfv_status.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class TfvStatus(BaseModel):
4141
submission: Optional[TfvSubmissionInfo] = None
4242
blocked: Optional[StrictBool] = Field(default=None, description="Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.")
4343
blocked_reason: Optional[StrictStr] = Field(default=None, description="The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.", alias="blockedReason")
44-
cv_token: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=500)]] = Field(default=None, description="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.", alias="cvToken")
44+
cv_token: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=500)]] = Field(default=None, description="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.", alias="cvToken")
4545
additional_properties: Dict[str, Any] = {}
4646
__properties: ClassVar[List[str]] = ["phoneNumber", "status", "internalTicketNumber", "declineReasonDescription", "resubmitAllowed", "createdDateTime", "modifiedDateTime", "submission", "blocked", "blockedReason", "cvToken"]
4747

bandwidth/models/verification_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class VerificationRequest(BaseModel):
5151
business_entity_type: Optional[BusinessEntityTypeEnum] = Field(default=None, alias="businessEntityType")
5252
help_message_response: Optional[Annotated[str, Field(strict=True, max_length=500)]] = Field(default=None, description="A message that gets sent to users requesting help.", alias="helpMessageResponse")
5353
age_gated_content: Optional[StrictBool] = Field(default=None, description="Indicates whether the content is age-gated.", alias="ageGatedContent")
54-
cv_token: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=500)]] = Field(default=None, description="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.", alias="cvToken")
54+
cv_token: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=500)]] = Field(default=None, description="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.", alias="cvToken")
5555
additional_properties: Dict[str, Any] = {}
5656
__properties: ClassVar[List[str]] = ["businessAddress", "businessContact", "messageVolume", "phoneNumbers", "useCase", "useCaseSummary", "productionMessageContent", "optInWorkflow", "additionalInformation", "isvReseller", "privacyPolicyUrl", "termsAndConditionsUrl", "businessDba", "businessRegistrationNumber", "businessRegistrationType", "businessEntityType", "helpMessageResponse", "ageGatedContent", "cvToken"]
5757

bandwidth/models/verification_update_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class VerificationUpdateRequest(BaseModel):
5050
business_entity_type: Optional[BusinessEntityTypeEnum] = Field(default=None, alias="businessEntityType")
5151
help_message_response: Optional[Annotated[str, Field(strict=True, max_length=500)]] = Field(default=None, description="A message that gets sent to users requesting help.", alias="helpMessageResponse")
5252
age_gated_content: Optional[StrictBool] = Field(default=None, description="Indicates whether the content is age-gated.", alias="ageGatedContent")
53-
cv_token: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=500)]] = Field(default=None, description="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.", alias="cvToken")
53+
cv_token: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=500)]] = Field(default=None, description="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.", alias="cvToken")
5454
additional_properties: Dict[str, Any] = {}
5555
__properties: ClassVar[List[str]] = ["businessAddress", "businessContact", "messageVolume", "useCase", "useCaseSummary", "productionMessageContent", "optInWorkflow", "additionalInformation", "isvReseller", "privacyPolicyUrl", "termsAndConditionsUrl", "businessDba", "businessRegistrationNumber", "businessRegistrationType", "businessEntityType", "helpMessageResponse", "ageGatedContent", "cvToken"]
5656

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]
1616
**blocked** | **bool** | Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional]
1717
**blocked_reason** | **str** | The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional]
18-
**cv_token** | **str** | 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]
18+
**cv_token** | **str** | 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]
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
**business_entity_type** | [**BusinessEntityTypeEnum**](BusinessEntityTypeEnum.md) | | [optional]
2424
**help_message_response** | **str** | A message that gets sent to users requesting help. | [optional]
2525
**age_gated_content** | **bool** | Indicates whether the content is age-gated. | [optional]
26-
**cv_token** | **str** | 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]
26+
**cv_token** | **str** | 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]
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
**business_entity_type** | [**BusinessEntityTypeEnum**](BusinessEntityTypeEnum.md) | | [optional]
2323
**help_message_response** | **str** | A message that gets sent to users requesting help. | [optional]
2424
**age_gated_content** | **bool** | Indicates whether the content is age-gated. | [optional]
25-
**cv_token** | **str** | 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]
25+
**cv_token** | **str** | 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]
2626

2727
## Example
2828

0 commit comments

Comments
 (0)