diff --git a/Bandwidth.Standard.sln b/Bandwidth.Standard.sln
index 4567074..0f431e7 100644
--- a/Bandwidth.Standard.sln
+++ b/Bandwidth.Standard.sln
@@ -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", "{1B496B75-0E81-41BC-86C2-73D16188960A}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{0549B4D2-AA34-4364-B222-071E3996A3CD}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard.Test", "src\Bandwidth.Standard.Test\Bandwidth.Standard.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
@@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {1B496B75-0E81-41BC-86C2-73D16188960A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {1B496B75-0E81-41BC-86C2-73D16188960A}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {1B496B75-0E81-41BC-86C2-73D16188960A}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {1B496B75-0E81-41BC-86C2-73D16188960A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0549B4D2-AA34-4364-B222-071E3996A3CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0549B4D2-AA34-4364-B222-071E3996A3CD}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0549B4D2-AA34-4364-B222-071E3996A3CD}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0549B4D2-AA34-4364-B222-071E3996A3CD}.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
diff --git a/api/openapi.yaml b/api/openapi.yaml
index 9cd4e5c..9deea06 100644
--- a/api/openapi.yaml
+++ b/api/openapi.yaml
@@ -13728,6 +13728,16 @@ components:
description: Indicates whether the content is age-gated.
example: false
type: boolean
+ cvToken:
+ 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."
+ example: cv.user123|sess456|mno|tfree|read_write|X7yZ9aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVw
+ maxLength: 500
+ minLength: 0
+ nullable: true
+ type: string
required:
- businessAddress
- businessContact
@@ -13822,6 +13832,16 @@ components:
description: Indicates whether the content is age-gated.
example: false
type: boolean
+ cvToken:
+ 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."
+ example: cv.user123|sess456|mno|tfree|read_write|X7yZ9aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVw
+ maxLength: 500
+ minLength: 0
+ nullable: true
+ type: string
required:
- businessAddress
- businessContact
@@ -14484,6 +14504,7 @@ components:
useCaseSummary: Text summarizing the use case for the toll-free number
declineReasonDescription: Invalid Information - Can't Validate URL - Website
is not accessible / not available
+ cvToken: cv.user123|sess456|mno|tfree|read_write|X7yZ9aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVw
status: VERIFIED
properties:
phoneNumber:
@@ -14536,6 +14557,16 @@ components:
attribute will only be defined when the number is blocked.
example: Toll-free number was used to send spam messages
type: string
+ cvToken:
+ 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."
+ example: cv.user123|sess456|mno|tfree|read_write|X7yZ9aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVw
+ maxLength: 500
+ minLength: 0
+ nullable: true
+ type: string
type: object
tfvSubmissionInfo:
example:
@@ -14660,6 +14691,16 @@ components:
nullable: true
pattern: "^[ -~]{16,64}$"
type: string
+ cvToken:
+ 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."
+ example: cv.user123|sess456|mno|tfree|read_write|X7yZ9aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVw
+ maxLength: 500
+ minLength: 0
+ nullable: true
+ type: string
rbmCardContent_media:
allOf:
- $ref: '#/components/schemas/rbmMessageContentFile'
diff --git a/bandwidth.yml b/bandwidth.yml
index d7c3295..22b13ce 100644
--- a/bandwidth.yml
+++ b/bandwidth.yml
@@ -5956,6 +5956,8 @@ components:
$ref: '#/components/schemas/helpMessageResponse'
ageGatedContent:
$ref: '#/components/schemas/ageGatedContent'
+ cvToken:
+ $ref: '#/components/schemas/cvToken'
verificationUpdateRequest:
type: object
required:
@@ -6005,6 +6007,8 @@ components:
$ref: '#/components/schemas/helpMessageResponse'
ageGatedContent:
$ref: '#/components/schemas/ageGatedContent'
+ cvToken:
+ $ref: '#/components/schemas/cvToken'
tfvBasicAuthentication:
type: object
properties:
@@ -6456,6 +6460,8 @@ components:
$ref: '#/components/schemas/blocked'
blockedReason:
$ref: '#/components/schemas/blockedReason'
+ cvToken:
+ $ref: '#/components/schemas/cvToken'
tfvSubmissionInfo:
type: object
properties:
@@ -6520,6 +6526,18 @@ components:
nullable: true
pattern: ^[ -~]{16,64}$
type: string
+ cvToken:
+ 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.
+ minLength: 0
+ maxLength: 500
+ nullable: true
+ example: >-
+ cv.user123|sess456|mno|tfree|read_write|X7yZ9aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVw
responses:
createMessageResponse:
description: Accepted
diff --git a/docs/TfvStatus.md b/docs/TfvStatus.md
index 169a3b9..3986ec9 100644
--- a/docs/TfvStatus.md
+++ b/docs/TfvStatus.md
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
**Submission** | [**TfvSubmissionInfo**](TfvSubmissionInfo.md) | | [optional]
**Blocked** | **bool** | Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional]
**BlockedReason** | **string** | The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional]
+**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]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/VerificationRequest.md b/docs/VerificationRequest.md
index 1cc6e1e..4706817 100644
--- a/docs/VerificationRequest.md
+++ b/docs/VerificationRequest.md
@@ -22,6 +22,7 @@ Name | Type | Description | Notes
**BusinessEntityType** | **BusinessEntityTypeEnum** | | [optional]
**HelpMessageResponse** | **string** | A message that gets sent to users requesting help. | [optional]
**AgeGatedContent** | **bool** | Indicates whether the content is age-gated. | [optional]
+**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]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/docs/VerificationUpdateRequest.md b/docs/VerificationUpdateRequest.md
index 20b585d..ca59c89 100644
--- a/docs/VerificationUpdateRequest.md
+++ b/docs/VerificationUpdateRequest.md
@@ -21,6 +21,7 @@ Name | Type | Description | Notes
**BusinessEntityType** | **BusinessEntityTypeEnum** | | [optional]
**HelpMessageResponse** | **string** | A message that gets sent to users requesting help. | [optional]
**AgeGatedContent** | **bool** | Indicates whether the content is age-gated. | [optional]
+**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]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/src/Bandwidth.Standard/Model/LookupResult.cs b/src/Bandwidth.Standard/Model/LookupResult.cs
index e566406..549bafe 100644
--- a/src/Bandwidth.Standard/Model/LookupResult.cs
+++ b/src/Bandwidth.Standard/Model/LookupResult.cs
@@ -130,7 +130,7 @@ public partial class LookupResult : IValidatableObject
/// [DNI-Only](#section/DNI-Only). The date the phone number entered the status described in `latestMessageDeliveryStatus`. Think of this as the \"start time\" for that status. Value resets every time the `latestMessageDeliveryStatus` changes.
///
/// [DNI-Only](#section/DNI-Only). The date the phone number entered the status described in `latestMessageDeliveryStatus`. Think of this as the \"start time\" for that status. Value resets every time the `latestMessageDeliveryStatus` changes.
- /// Thu Jun 19 20:00:00 EDT 2025
+ /// Fri Jun 20 00:00:00 UTC 2025
[DataMember(Name = "initialMessageDeliveryStatusDate", EmitDefaultValue = false)]
[JsonConverter(typeof(OpenAPIDateConverter))]
public DateTime InitialMessageDeliveryStatusDate { get; set; }
@@ -139,7 +139,7 @@ public partial class LookupResult : IValidatableObject
/// [DNI-Only](#section/DNI-Only). The date bandwidth last received delivery status information for this phone number. Use this field to understand how up-to-date the `latestMessageDeliveryStatus` is. Value resets every time the `latestMessageDeliveryStatus` changes.
///
/// [DNI-Only](#section/DNI-Only). The date bandwidth last received delivery status information for this phone number. Use this field to understand how up-to-date the `latestMessageDeliveryStatus` is. Value resets every time the `latestMessageDeliveryStatus` changes.
- /// Fri Jun 20 20:00:00 EDT 2025
+ /// Sat Jun 21 00:00:00 UTC 2025
[DataMember(Name = "latestMessageDeliveryStatusDate", EmitDefaultValue = false)]
[JsonConverter(typeof(OpenAPIDateConverter))]
public DateTime LatestMessageDeliveryStatusDate { get; set; }
diff --git a/src/Bandwidth.Standard/Model/RbmActionBase.cs b/src/Bandwidth.Standard/Model/RbmActionBase.cs
index e786430..33ebaec 100644
--- a/src/Bandwidth.Standard/Model/RbmActionBase.cs
+++ b/src/Bandwidth.Standard/Model/RbmActionBase.cs
@@ -78,7 +78,7 @@ protected RbmActionBase() { }
/// Base64 payload the customer receives when the reply is clicked.
///
/// Base64 payload the customer receives when the reply is clicked.
- /// [B@731d0d5c
+ /// [B@43f7f48d
[DataMember(Name = "postbackData", IsRequired = true, EmitDefaultValue = true)]
public byte[] PostbackData { get; set; }
diff --git a/src/Bandwidth.Standard/Model/RbmSuggestionResponse.cs b/src/Bandwidth.Standard/Model/RbmSuggestionResponse.cs
index 732e459..a0976c1 100644
--- a/src/Bandwidth.Standard/Model/RbmSuggestionResponse.cs
+++ b/src/Bandwidth.Standard/Model/RbmSuggestionResponse.cs
@@ -55,7 +55,7 @@ public partial class RbmSuggestionResponse : IValidatableObject
/// Base64 payload the customer receives when the reply is clicked.
///
/// Base64 payload the customer receives when the reply is clicked.
- /// [B@731d0d5c
+ /// [B@43f7f48d
[DataMember(Name = "postbackData", EmitDefaultValue = false)]
public byte[] PostbackData { get; set; }
diff --git a/src/Bandwidth.Standard/Model/TfvStatus.cs b/src/Bandwidth.Standard/Model/TfvStatus.cs
index fbe325d..45d9e62 100644
--- a/src/Bandwidth.Standard/Model/TfvStatus.cs
+++ b/src/Bandwidth.Standard/Model/TfvStatus.cs
@@ -51,7 +51,8 @@ public partial class TfvStatus : IValidatableObject
/// submission.
/// Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked..
/// The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked..
- public TfvStatus(string phoneNumber = default(string), TfvStatusEnum? status = default(TfvStatusEnum?), Guid internalTicketNumber = default(Guid), string declineReasonDescription = default(string), bool resubmitAllowed = default(bool), DateTime createdDateTime = default(DateTime), DateTime modifiedDateTime = default(DateTime), TfvSubmissionInfo submission = default(TfvSubmissionInfo), bool blocked = default(bool), string blockedReason = default(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..
+ public TfvStatus(string phoneNumber = default(string), TfvStatusEnum? status = default(TfvStatusEnum?), Guid internalTicketNumber = default(Guid), string declineReasonDescription = default(string), bool resubmitAllowed = default(bool), DateTime createdDateTime = default(DateTime), DateTime modifiedDateTime = default(DateTime), TfvSubmissionInfo submission = default(TfvSubmissionInfo), bool blocked = default(bool), string blockedReason = default(string), string cvToken = default(string))
{
this.PhoneNumber = phoneNumber;
this.Status = status;
@@ -63,6 +64,7 @@ public partial class TfvStatus : IValidatableObject
this.Submission = submission;
this.Blocked = blocked;
this.BlockedReason = blockedReason;
+ this.CvToken = cvToken;
}
///
@@ -135,6 +137,14 @@ public partial class TfvStatus : IValidatableObject
[DataMember(Name = "blockedReason", EmitDefaultValue = false)]
public string BlockedReason { get; set; }
+ ///
+ /// 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. If you pass an empty string, it will be passed along and potentially rejected.
+ /// cv.user123|sess456|mno|tfree|read_write|X7yZ9aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVw
+ [DataMember(Name = "cvToken", EmitDefaultValue = true)]
+ public string CvToken { get; set; }
+
///
/// Returns the string presentation of the object
///
@@ -153,6 +163,7 @@ public override string ToString()
sb.Append(" Submission: ").Append(Submission).Append("\n");
sb.Append(" Blocked: ").Append(Blocked).Append("\n");
sb.Append(" BlockedReason: ").Append(BlockedReason).Append("\n");
+ sb.Append(" CvToken: ").Append(CvToken).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -194,6 +205,18 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali
}
}
+ // CvToken (string) maxLength
+ if (this.CvToken != null && this.CvToken.Length > 500)
+ {
+ yield return new ValidationResult("Invalid value for CvToken, length must be less than 500.", new [] { "CvToken" });
+ }
+
+ // CvToken (string) minLength
+ if (this.CvToken != null && this.CvToken.Length < 0)
+ {
+ yield return new ValidationResult("Invalid value for CvToken, length must be greater than 0.", new [] { "CvToken" });
+ }
+
yield break;
}
}
diff --git a/src/Bandwidth.Standard/Model/VerificationRequest.cs b/src/Bandwidth.Standard/Model/VerificationRequest.cs
index 0499133..987aabe 100644
--- a/src/Bandwidth.Standard/Model/VerificationRequest.cs
+++ b/src/Bandwidth.Standard/Model/VerificationRequest.cs
@@ -70,7 +70,8 @@ protected VerificationRequest() { }
/// businessEntityType.
/// A message that gets sent to users requesting help..
/// Indicates whether the content is age-gated..
- public VerificationRequest(Address businessAddress = default(Address), Contact businessContact = default(Contact), int messageVolume = default(int), List phoneNumbers = default(List), string useCase = default(string), string useCaseSummary = default(string), string productionMessageContent = default(string), OptInWorkflow optInWorkflow = default(OptInWorkflow), string additionalInformation = default(string), string isvReseller = default(string), string privacyPolicyUrl = default(string), string termsAndConditionsUrl = default(string), string businessDba = default(string), string businessRegistrationNumber = default(string), BusinessRegistrationTypeEnum? businessRegistrationType = default(BusinessRegistrationTypeEnum?), BusinessEntityTypeEnum? businessEntityType = default(BusinessEntityTypeEnum?), string helpMessageResponse = default(string), bool ageGatedContent = default(bool))
+ /// 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..
+ public VerificationRequest(Address businessAddress = default(Address), Contact businessContact = default(Contact), int messageVolume = default(int), List phoneNumbers = default(List), string useCase = default(string), string useCaseSummary = default(string), string productionMessageContent = default(string), OptInWorkflow optInWorkflow = default(OptInWorkflow), string additionalInformation = default(string), string isvReseller = default(string), string privacyPolicyUrl = default(string), string termsAndConditionsUrl = default(string), string businessDba = default(string), string businessRegistrationNumber = default(string), BusinessRegistrationTypeEnum? businessRegistrationType = default(BusinessRegistrationTypeEnum?), BusinessEntityTypeEnum? businessEntityType = default(BusinessEntityTypeEnum?), string helpMessageResponse = default(string), bool ageGatedContent = default(bool), string cvToken = default(string))
{
// to ensure "businessAddress" is required (not null)
if (businessAddress == null)
@@ -125,6 +126,7 @@ protected VerificationRequest() { }
this.BusinessEntityType = businessEntityType;
this.HelpMessageResponse = helpMessageResponse;
this.AgeGatedContent = ageGatedContent;
+ this.CvToken = cvToken;
}
///
@@ -247,6 +249,14 @@ protected VerificationRequest() { }
[DataMember(Name = "ageGatedContent", EmitDefaultValue = true)]
public bool AgeGatedContent { get; set; }
+ ///
+ /// 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. If you pass an empty string, it will be passed along and potentially rejected.
+ /// cv.user123|sess456|mno|tfree|read_write|X7yZ9aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVw
+ [DataMember(Name = "cvToken", EmitDefaultValue = true)]
+ public string CvToken { get; set; }
+
///
/// Returns the string presentation of the object
///
@@ -273,6 +283,7 @@ public override string ToString()
sb.Append(" BusinessEntityType: ").Append(BusinessEntityType).Append("\n");
sb.Append(" HelpMessageResponse: ").Append(HelpMessageResponse).Append("\n");
sb.Append(" AgeGatedContent: ").Append(AgeGatedContent).Append("\n");
+ sb.Append(" CvToken: ").Append(CvToken).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -377,6 +388,18 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali
yield return new ValidationResult("Invalid value for HelpMessageResponse, length must be less than 500.", new [] { "HelpMessageResponse" });
}
+ // CvToken (string) maxLength
+ if (this.CvToken != null && this.CvToken.Length > 500)
+ {
+ yield return new ValidationResult("Invalid value for CvToken, length must be less than 500.", new [] { "CvToken" });
+ }
+
+ // CvToken (string) minLength
+ if (this.CvToken != null && this.CvToken.Length < 0)
+ {
+ yield return new ValidationResult("Invalid value for CvToken, length must be greater than 0.", new [] { "CvToken" });
+ }
+
yield break;
}
}
diff --git a/src/Bandwidth.Standard/Model/VerificationUpdateRequest.cs b/src/Bandwidth.Standard/Model/VerificationUpdateRequest.cs
index a6e9a17..04eb9c7 100644
--- a/src/Bandwidth.Standard/Model/VerificationUpdateRequest.cs
+++ b/src/Bandwidth.Standard/Model/VerificationUpdateRequest.cs
@@ -69,7 +69,8 @@ protected VerificationUpdateRequest() { }
/// businessEntityType.
/// A message that gets sent to users requesting help..
/// Indicates whether the content is age-gated..
- public VerificationUpdateRequest(Address businessAddress = default(Address), Contact businessContact = default(Contact), int messageVolume = default(int), string useCase = default(string), string useCaseSummary = default(string), string productionMessageContent = default(string), OptInWorkflow optInWorkflow = default(OptInWorkflow), string additionalInformation = default(string), string isvReseller = default(string), string privacyPolicyUrl = default(string), string termsAndConditionsUrl = default(string), string businessDba = default(string), string businessRegistrationNumber = default(string), BusinessRegistrationTypeEnum? businessRegistrationType = default(BusinessRegistrationTypeEnum?), BusinessEntityTypeEnum? businessEntityType = default(BusinessEntityTypeEnum?), string helpMessageResponse = default(string), bool ageGatedContent = default(bool))
+ /// 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..
+ public VerificationUpdateRequest(Address businessAddress = default(Address), Contact businessContact = default(Contact), int messageVolume = default(int), string useCase = default(string), string useCaseSummary = default(string), string productionMessageContent = default(string), OptInWorkflow optInWorkflow = default(OptInWorkflow), string additionalInformation = default(string), string isvReseller = default(string), string privacyPolicyUrl = default(string), string termsAndConditionsUrl = default(string), string businessDba = default(string), string businessRegistrationNumber = default(string), BusinessRegistrationTypeEnum? businessRegistrationType = default(BusinessRegistrationTypeEnum?), BusinessEntityTypeEnum? businessEntityType = default(BusinessEntityTypeEnum?), string helpMessageResponse = default(string), bool ageGatedContent = default(bool), string cvToken = default(string))
{
// to ensure "businessAddress" is required (not null)
if (businessAddress == null)
@@ -118,6 +119,7 @@ protected VerificationUpdateRequest() { }
this.BusinessEntityType = businessEntityType;
this.HelpMessageResponse = helpMessageResponse;
this.AgeGatedContent = ageGatedContent;
+ this.CvToken = cvToken;
}
///
@@ -234,6 +236,14 @@ protected VerificationUpdateRequest() { }
[DataMember(Name = "ageGatedContent", EmitDefaultValue = true)]
public bool AgeGatedContent { get; set; }
+ ///
+ /// 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. If you pass an empty string, it will be passed along and potentially rejected.
+ /// cv.user123|sess456|mno|tfree|read_write|X7yZ9aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVw
+ [DataMember(Name = "cvToken", EmitDefaultValue = true)]
+ public string CvToken { get; set; }
+
///
/// Returns the string presentation of the object
///
@@ -259,6 +269,7 @@ public override string ToString()
sb.Append(" BusinessEntityType: ").Append(BusinessEntityType).Append("\n");
sb.Append(" HelpMessageResponse: ").Append(HelpMessageResponse).Append("\n");
sb.Append(" AgeGatedContent: ").Append(AgeGatedContent).Append("\n");
+ sb.Append(" CvToken: ").Append(CvToken).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -363,6 +374,18 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali
yield return new ValidationResult("Invalid value for HelpMessageResponse, length must be less than 500.", new [] { "HelpMessageResponse" });
}
+ // CvToken (string) maxLength
+ if (this.CvToken != null && this.CvToken.Length > 500)
+ {
+ yield return new ValidationResult("Invalid value for CvToken, length must be less than 500.", new [] { "CvToken" });
+ }
+
+ // CvToken (string) minLength
+ if (this.CvToken != null && this.CvToken.Length < 0)
+ {
+ yield return new ValidationResult("Invalid value for CvToken, length must be greater than 0.", new [] { "CvToken" });
+ }
+
yield break;
}
}