Skip to content
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
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", "{0213CF75-AC44-4279-B991-A8ED63FD9803}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{7AA0ED8A-8E3C-40C0-9782-CD7900DB5B67}"
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
{0213CF75-AC44-4279-B991-A8ED63FD9803}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0213CF75-AC44-4279-B991-A8ED63FD9803}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0213CF75-AC44-4279-B991-A8ED63FD9803}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0213CF75-AC44-4279-B991-A8ED63FD9803}.Release|Any CPU.Build.0 = Release|Any CPU
{7AA0ED8A-8E3C-40C0-9782-CD7900DB5B67}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7AA0ED8A-8E3C-40C0-9782-CD7900DB5B67}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7AA0ED8A-8E3C-40C0-9782-CD7900DB5B67}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7AA0ED8A-8E3C-40C0-9782-CD7900DB5B67}.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
86 changes: 59 additions & 27 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14692,11 +14692,38 @@ components:
description: Reason code for denial.
example: 511
type: integer
denialStatusCodeNullable:
description: Reason code for denial.
example: 511
nullable: true
type: integer
resubmitAllowed:
description: Whether a Toll-Free Verification request qualifies for resubmission
via PUT.
example: true
type: boolean
additionalDenialReason:
properties:
statusCode:
description: Reason code for denial.
example: 511
type: integer
reason:
description: Explanation for why a verification request was declined.
example: Invalid Information - Can't Validate URL - Website is not accessible
/ not available
nullable: false
type: string
resubmitAllowed:
description: Whether a Toll-Free Verification request qualifies for resubmission
via PUT.
example: true
type: boolean
required:
- reason
- resubmitAllowed
- statusCode
type: object
blocked:
description: Whether a Toll-Free Verification is blocked. This attribute will
only be defined when the number is blocked.
Expand Down Expand Up @@ -14815,28 +14842,6 @@ components:
description: Indicates whether the content is age-gated.
example: false
type: boolean
additionalDenialReason:
properties:
statusCode:
description: Reason code for denial.
example: 511
type: integer
reason:
description: Explanation for why a verification request was declined.
example: Invalid Information - Can't Validate URL - Website is not accessible
/ not available
nullable: false
type: string
resubmitAllowed:
description: Whether a Toll-Free Verification request qualifies for resubmission
via PUT.
example: true
type: boolean
required:
- reason
- resubmitAllowed
- statusCode
type: object
internalTicketNumber:
description: Unique identifier (UUID) generated by Bandwidth to assist in tracking
the verification status of a toll-free number - included in all webhook payloads.
Expand Down Expand Up @@ -15740,12 +15745,22 @@ components:
type: object
tfvStatus:
example:
internalTicketNumber: acde070d-8c4c-4f0d-9d8a-162843c10333
phoneNumber: "+18005555555"
blocked: true
blockedReason: Toll-free number was used to send spam messages
resubmitAllowed: true
createdDateTime: 2021-06-08T06:45:13Z
declineReasonDescription: Invalid Information - Can't Validate URL - Website
is not accessible / not available
internalTicketNumber: acde070d-8c4c-4f0d-9d8a-162843c10333
phoneNumber: "+18005555555"
blocked: true
denialStatusCode: 511
additionalDenialReasons:
- statusCode: 512
reason: Reason A
resubmitAllowed: true
- statusCode: 513
reason: Reason B
resubmitAllowed: true
modifiedDateTime: 2021-06-08T06:45:13Z
submission:
additionalInformation: Any additional information
Expand Down Expand Up @@ -15780,8 +15795,6 @@ components:
state: NC
url: https://www.example.com/path/to/resource
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:
Expand All @@ -15807,6 +15820,25 @@ components:
/ not available
nullable: false
type: string
denialStatusCode:
description: Reason code for denial.
example: 511
nullable: true
type: integer
additionalDenialReasons:
description: An optional list of denial reasons in addition to declineReasonDescription
when multiple reasons apply.
example:
- statusCode: 512
reason: Reason A
resubmitAllowed: true
- statusCode: 513
reason: Reason B
resubmitAllowed: true
items:
$ref: '#/components/schemas/additionalDenialReason'
nullable: true
type: array
resubmitAllowed:
description: Whether a Toll-Free Verification request qualifies for resubmission
via PUT.
Expand Down
50 changes: 36 additions & 14 deletions bandwidth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6034,12 +6034,30 @@ components:
description: Reason code for denial.
type: integer
example: 511
denialStatusCodeNullable:
description: Reason code for denial.
nullable: true
type: integer
example: 511
resubmitAllowed:
description: >-
Whether a Toll-Free Verification request qualifies for resubmission via
PUT.
example: true
type: boolean
additionalDenialReason:
type: object
properties:
statusCode:
$ref: '#/components/schemas/denialStatusCode'
reason:
$ref: '#/components/schemas/declineReasonDescription'
resubmitAllowed:
$ref: '#/components/schemas/resubmitAllowed'
required:
- statusCode
- reason
- resubmitAllowed
blocked:
description: >-
Whether a Toll-Free Verification is blocked. This attribute will only be
Expand Down Expand Up @@ -6194,19 +6212,6 @@ components:
type: boolean
description: Indicates whether the content is age-gated.
example: false
additionalDenialReason:
properties:
statusCode:
$ref: '#/components/schemas/denialStatusCode'
reason:
$ref: '#/components/schemas/declineReasonDescription'
resubmitAllowed:
$ref: '#/components/schemas/resubmitAllowed'
required:
- statusCode
- reason
- resubmitAllowed
type: object
internalTicketNumber:
type: string
description: >-
Expand Down Expand Up @@ -6402,6 +6407,7 @@ components:
description: >-
An optional list of denial reasons in addition to
declineReasonDescription when multiple reasons apply.
type: array
items:
$ref: '#/components/schemas/additionalDenialReason'
example:
Expand All @@ -6411,7 +6417,6 @@ components:
- statusCode: 513
reason: Reason B
resubmitAllowed: true
type: array
declineReasonDescription:
$ref: '#/components/schemas/declineReasonDescription'
denialStatusCode:
Expand Down Expand Up @@ -6779,6 +6784,23 @@ components:
$ref: '#/components/schemas/internalTicketNumber'
declineReasonDescription:
$ref: '#/components/schemas/declineReasonDescription'
denialStatusCode:
$ref: '#/components/schemas/denialStatusCodeNullable'
additionalDenialReasons:
description: >-
An optional list of denial reasons in addition to
declineReasonDescription when multiple reasons apply.
nullable: true
type: array
items:
$ref: '#/components/schemas/additionalDenialReason'
example:
- statusCode: 512
reason: Reason A
resubmitAllowed: true
- statusCode: 513
reason: Reason B
resubmitAllowed: true
resubmitAllowed:
$ref: '#/components/schemas/resubmitAllowed'
createdDateTime:
Expand Down
2 changes: 2 additions & 0 deletions docs/TfvStatus.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Name | Type | Description | Notes
**Status** | **TfvStatusEnum** | | [optional]
**InternalTicketNumber** | **string** | Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number - included in all webhook payloads. | [optional]
**DeclineReasonDescription** | **string** | Explanation for why a verification request was declined. | [optional]
**DenialStatusCode** | **int?** | Reason code for denial. | [optional]
**AdditionalDenialReasons** | [**List<AdditionalDenialReason>**](AdditionalDenialReason.md) | An optional list of denial reasons in addition to declineReasonDescription when multiple reasons apply. | [optional]
**ResubmitAllowed** | **bool** | Whether a Toll-Free Verification request qualifies for resubmission via PUT. | [optional]
**CreatedDateTime** | **DateTime** | Date and time the verification request was created. | [optional]
**ModifiedDateTime** | **DateTime** | Date and time the verification request was last modified. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion src/Bandwidth.Standard/Model/RbmActionBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ protected RbmActionBase() { }
/// Base64 payload the customer receives when the reply is clicked.
/// </summary>
/// <value>Base64 payload the customer receives when the reply is clicked.</value>
/// <example>[B@18356951</example>
/// <example>[B@3c205259</example>
[DataMember(Name = "postbackData", IsRequired = true, EmitDefaultValue = true)]
public byte[] PostbackData { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion src/Bandwidth.Standard/Model/RbmSuggestionResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public partial class RbmSuggestionResponse : IValidatableObject
/// Base64 payload the customer receives when the reply is clicked.
/// </summary>
/// <value>Base64 payload the customer receives when the reply is clicked.</value>
/// <example>[B@18356951</example>
/// <example>[B@3c205259</example>
[DataMember(Name = "postbackData", EmitDefaultValue = false)]
public byte[] PostbackData { get; set; }

Expand Down
24 changes: 23 additions & 1 deletion src/Bandwidth.Standard/Model/TfvStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,23 @@ public partial class TfvStatus : IValidatableObject
/// <param name="status">status.</param>
/// <param name="internalTicketNumber">Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number - included in all webhook payloads..</param>
/// <param name="declineReasonDescription">Explanation for why a verification request was declined..</param>
/// <param name="denialStatusCode">Reason code for denial..</param>
/// <param name="additionalDenialReasons">An optional list of denial reasons in addition to declineReasonDescription when multiple reasons apply..</param>
/// <param name="resubmitAllowed">Whether a Toll-Free Verification request qualifies for resubmission via PUT..</param>
/// <param name="createdDateTime">Date and time the verification request was created..</param>
/// <param name="modifiedDateTime">Date and time the verification request was last modified..</param>
/// <param name="submission">submission.</param>
/// <param name="blocked">Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked..</param>
/// <param name="blockedReason">The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked..</param>
/// <param name="cvToken">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..</param>
public TfvStatus(string phoneNumber = default(string), TfvStatusEnum? status = default(TfvStatusEnum?), string internalTicketNumber = default(string), 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))
public TfvStatus(string phoneNumber = default(string), TfvStatusEnum? status = default(TfvStatusEnum?), string internalTicketNumber = default(string), string declineReasonDescription = default(string), int? denialStatusCode = default(int?), List<AdditionalDenialReason> additionalDenialReasons = default(List<AdditionalDenialReason>), 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;
this.InternalTicketNumber = internalTicketNumber;
this.DeclineReasonDescription = declineReasonDescription;
this.DenialStatusCode = denialStatusCode;
this.AdditionalDenialReasons = additionalDenialReasons;
this.ResubmitAllowed = resubmitAllowed;
this.CreatedDateTime = createdDateTime;
this.ModifiedDateTime = modifiedDateTime;
Expand Down Expand Up @@ -91,6 +95,22 @@ public partial class TfvStatus : IValidatableObject
[DataMember(Name = "declineReasonDescription", EmitDefaultValue = false)]
public string DeclineReasonDescription { get; set; }

/// <summary>
/// Reason code for denial.
/// </summary>
/// <value>Reason code for denial.</value>
/// <example>511</example>
[DataMember(Name = "denialStatusCode", EmitDefaultValue = true)]
public int? DenialStatusCode { get; set; }

/// <summary>
/// An optional list of denial reasons in addition to declineReasonDescription when multiple reasons apply.
/// </summary>
/// <value>An optional list of denial reasons in addition to declineReasonDescription when multiple reasons apply.</value>
/// <example>[{&quot;statusCode&quot;:512,&quot;reason&quot;:&quot;Reason A&quot;,&quot;resubmitAllowed&quot;:true},{&quot;statusCode&quot;:513,&quot;reason&quot;:&quot;Reason B&quot;,&quot;resubmitAllowed&quot;:true}]</example>
[DataMember(Name = "additionalDenialReasons", EmitDefaultValue = true)]
public List<AdditionalDenialReason> AdditionalDenialReasons { get; set; }

/// <summary>
/// Whether a Toll-Free Verification request qualifies for resubmission via PUT.
/// </summary>
Expand Down Expand Up @@ -157,6 +177,8 @@ public override string ToString()
sb.Append(" Status: ").Append(Status).Append("\n");
sb.Append(" InternalTicketNumber: ").Append(InternalTicketNumber).Append("\n");
sb.Append(" DeclineReasonDescription: ").Append(DeclineReasonDescription).Append("\n");
sb.Append(" DenialStatusCode: ").Append(DenialStatusCode).Append("\n");
sb.Append(" AdditionalDenialReasons: ").Append(AdditionalDenialReasons).Append("\n");
sb.Append(" ResubmitAllowed: ").Append(ResubmitAllowed).Append("\n");
sb.Append(" CreatedDateTime: ").Append(CreatedDateTime).Append("\n");
sb.Append(" ModifiedDateTime: ").Append(ModifiedDateTime).Append("\n");
Expand Down
Loading