diff --git a/bandwidth.yml b/bandwidth.yml index 4f0d976..b4542b7 100644 --- a/bandwidth.yml +++ b/bandwidth.yml @@ -1484,7 +1484,7 @@ paths: $ref: '#/components/requestBodies/updateTollFreeVerificationRequestRequest' responses: '202': - description: Accepted + $ref: '#/components/responses/verifyPutResponse' '400': $ref: '#/components/responses/tfvPostBadRequestResponse' '401': @@ -5965,7 +5965,7 @@ components: ageGatedContent: $ref: '#/components/schemas/ageGatedContent' cvToken: - $ref: '#/components/schemas/cvToken' + $ref: '#/components/schemas/cvTokenNullable' verificationUpdateRequest: type: object required: @@ -6016,7 +6016,7 @@ components: ageGatedContent: $ref: '#/components/schemas/ageGatedContent' cvToken: - $ref: '#/components/schemas/cvToken' + $ref: '#/components/schemas/cvTokenNullable' tfvBasicAuthentication: type: object properties: @@ -6469,7 +6469,7 @@ components: blockedReason: $ref: '#/components/schemas/blockedReason' cvToken: - $ref: '#/components/schemas/cvToken' + $ref: '#/components/schemas/cvTokenNullable' tfvSubmissionInfo: type: object properties: @@ -6534,13 +6534,13 @@ components: nullable: true pattern: ^[ -~]{16,64}$ type: string - cvToken: + cvTokenNullable: type: string 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. + 527 political organization, this field should be omitted. Supplying an + empty string will likely result in rejection. minLength: 0 maxLength: 500 nullable: true @@ -7214,6 +7214,8 @@ components: example: description: Service Unavailable Error. type: Service Unavailable + verifyPutResponse: + description: Accepted parameters: accountId: in: path diff --git a/docs/RbmActionBase.md b/docs/RbmActionBase.md index 3e29235..a54a6cd 100644 --- a/docs/RbmActionBase.md +++ b/docs/RbmActionBase.md @@ -16,7 +16,7 @@ require 'bandwidth-sdk' instance = Bandwidth::RbmActionBase.new( type: null, text: Hello world, - postback_data: [B@cc7909f + postback_data: [B@768d27e8 ) ``` diff --git a/docs/RbmSuggestionResponse.md b/docs/RbmSuggestionResponse.md index d33881b..fd94f01 100644 --- a/docs/RbmSuggestionResponse.md +++ b/docs/RbmSuggestionResponse.md @@ -14,7 +14,7 @@ require 'bandwidth-sdk' instance = Bandwidth::RbmSuggestionResponse.new( text: Yes, I would like to proceed, - postback_data: [B@cc7909f + postback_data: [B@768d27e8 ) ``` diff --git a/docs/TfvStatus.md b/docs/TfvStatus.md index 5b87e23..16ce6a0 100644 --- a/docs/TfvStatus.md +++ b/docs/TfvStatus.md @@ -14,7 +14,7 @@ | **submission** | [**TfvSubmissionInfo**](TfvSubmissionInfo.md) | | [optional] | | **blocked** | **Boolean** | Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] | | **blocked_reason** | **String** | The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] | -| **cv_token** | **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] | +| **cv_token** | **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] | ## Example diff --git a/docs/VerificationRequest.md b/docs/VerificationRequest.md index 6624972..2b83546 100644 --- a/docs/VerificationRequest.md +++ b/docs/VerificationRequest.md @@ -22,7 +22,7 @@ | **business_entity_type** | [**BusinessEntityTypeEnum**](BusinessEntityTypeEnum.md) | | [optional] | | **help_message_response** | **String** | A message that gets sent to users requesting help. | [optional] | | **age_gated_content** | **Boolean** | Indicates whether the content is age-gated. | [optional] | -| **cv_token** | **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] | +| **cv_token** | **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] | ## Example diff --git a/docs/VerificationUpdateRequest.md b/docs/VerificationUpdateRequest.md index 9f60d66..a060e9b 100644 --- a/docs/VerificationUpdateRequest.md +++ b/docs/VerificationUpdateRequest.md @@ -21,7 +21,7 @@ | **business_entity_type** | [**BusinessEntityTypeEnum**](BusinessEntityTypeEnum.md) | | [optional] | | **help_message_response** | **String** | A message that gets sent to users requesting help. | [optional] | | **age_gated_content** | **Boolean** | Indicates whether the content is age-gated. | [optional] | -| **cv_token** | **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] | +| **cv_token** | **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] | ## Example diff --git a/lib/bandwidth-sdk/models/tfv_status.rb b/lib/bandwidth-sdk/models/tfv_status.rb index 1c02c94..a4ac44e 100644 --- a/lib/bandwidth-sdk/models/tfv_status.rb +++ b/lib/bandwidth-sdk/models/tfv_status.rb @@ -43,7 +43,7 @@ class TfvStatus < ApiModelBase # The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. attr_accessor :blocked_reason - # 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. + # 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. attr_accessor :cv_token class EnumAttributeValidator diff --git a/lib/bandwidth-sdk/models/verification_request.rb b/lib/bandwidth-sdk/models/verification_request.rb index c42d3f2..8119a72 100644 --- a/lib/bandwidth-sdk/models/verification_request.rb +++ b/lib/bandwidth-sdk/models/verification_request.rb @@ -63,7 +63,7 @@ class VerificationRequest < ApiModelBase # Indicates whether the content is age-gated. attr_accessor :age_gated_content - # 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. + # 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. attr_accessor :cv_token class EnumAttributeValidator diff --git a/lib/bandwidth-sdk/models/verification_update_request.rb b/lib/bandwidth-sdk/models/verification_update_request.rb index 433a81c..e8602f8 100644 --- a/lib/bandwidth-sdk/models/verification_update_request.rb +++ b/lib/bandwidth-sdk/models/verification_update_request.rb @@ -61,7 +61,7 @@ class VerificationUpdateRequest < ApiModelBase # Indicates whether the content is age-gated. attr_accessor :age_gated_content - # 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. + # 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. attr_accessor :cv_token class EnumAttributeValidator