From b8821c4650c633f281a50b93e8fc34eb1008b8ba Mon Sep 17 00:00:00 2001 From: DX-Bandwidth Date: Tue, 13 Oct 2026 14:13:02 +0000 Subject: [PATCH] Generate SDK with OpenAPI Generator Version 7.7.0 --- api/openapi.yaml | 67 ++++++++++++++++--- bandwidth.yml | 58 +++++++++++++--- docs/MediaApi.md | 6 +- docs/TollFreeVerificationApi.md | 9 ++- src/Bandwidth.Standard/Api/MediaApi.cs | 32 ++++----- .../Api/TollFreeVerificationApi.cs | 48 ++++++------- src/Bandwidth.Standard/Model/RbmActionBase.cs | 2 +- .../Model/RbmSuggestionResponse.cs | 2 +- 8 files changed, 160 insertions(+), 64 deletions(-) diff --git a/api/openapi.yaml b/api/openapi.yaml index 93b86f0d..936140f4 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -294,9 +294,9 @@ paths: - Media put: description: |- - Upload a file. You may add headers to the request in order to provide some control to your media file. + Upload a file. - If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. + Filename should always be unique. Reusing filenames may result in the wrong media being sent. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). operationId: uploadMedia @@ -331,8 +331,9 @@ paths: schema: type: string style: simple - - description: General-header field is used to specify directives that MUST - be obeyed by all caching mechanisms along the request/response chain. + - description: Pass-through header stored with the media and returned when the + media is retrieved by the user. Does not affect internal server caching + behavior. example: no-cache explode: false in: header @@ -4836,7 +4837,12 @@ paths: callbacks: tfVerificationStatus: $ref: '#/components/callbacks/tfVerificationStatus' - description: Submit a request for verification of a toll-free phone number. + description: |- + Submit a request for verification of a toll-free phone number. + + **Upcoming change (effective January 2027):** If any phone number in the request already has a verification in progress, the request will be rejected with a `409 Conflict`. + This check is all-or-nothing: if a single phone number conflicts, the entire request is rejected and **none** of the phone numbers in the request are submitted. + Today, these requests are accepted with a `202`. operationId: requestTollFreeVerification parameters: - description: Your Bandwidth Account ID. @@ -4893,6 +4899,16 @@ paths: schema: $ref: '#/components/schemas/tfvError' description: Method Not Allowed + "409": + content: + application/json: + example: + description: "TFV request already in progress for phone number: +18005551234" + type: conflict + schema: + $ref: '#/components/schemas/tfvError' + description: Conflict. A toll-free verification for the phone number is + already in progress. "429": content: application/json: @@ -4928,7 +4944,10 @@ paths: url: https://api.bandwidth.com/api/v2 /accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification: delete: - description: Delete a toll-free verification submission for a toll-free number. + description: |- + Delete a toll-free verification submission for a toll-free number. + + **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, it will be cancelled and the submission will then be deleted asynchronously. operationId: deleteVerificationRequest parameters: - description: Your Bandwidth Account ID. @@ -5140,6 +5159,9 @@ paths: description: |- Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). + Returns a `404` if no verification request exists for the phone number, and a `400` if the existing request is not eligible for resubmission. + + **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, the update will be rejected with a `409 Conflict`. operationId: updateTollFreeVerificationRequest parameters: - description: Your Bandwidth Account ID. @@ -5196,6 +5218,15 @@ paths: schema: $ref: '#/components/schemas/tfvError' description: Forbidden + "404": + content: + application/json: + example: + description: Cannot find the requested resource. + type: Not Found + schema: + $ref: '#/components/schemas/tfvError' + description: Cannot find the requested resource. "405": content: application/json: @@ -5205,6 +5236,16 @@ paths: schema: $ref: '#/components/schemas/tfvError' description: Method Not Allowed + "409": + content: + application/json: + example: + description: "TFV request already in progress for phone number: +18005551234" + type: conflict + schema: + $ref: '#/components/schemas/tfvError' + description: Conflict. A toll-free verification for the phone number is + already in progress. "429": content: application/json: @@ -7246,8 +7287,8 @@ components: type: string style: simple cacheControl: - description: General-header field is used to specify directives that MUST be - obeyed by all caching mechanisms along the request/response chain. + description: Pass-through header stored with the media and returned when the + media is retrieved by the user. Does not affect internal server caching behavior. example: no-cache explode: false in: header @@ -8898,6 +8939,16 @@ components: schema: $ref: '#/components/schemas/tfvError' description: Cannot find the requested resource. + tfvConflictResponse: + content: + application/json: + example: + description: "TFV request already in progress for phone number: +18005551234" + type: conflict + schema: + $ref: '#/components/schemas/tfvError' + description: Conflict. A toll-free verification for the phone number is already + in progress. tfvNotAllowedResponse: content: application/json: diff --git a/bandwidth.yml b/bandwidth.yml index 53949fed..61b41e72 100644 --- a/bandwidth.yml +++ b/bandwidth.yml @@ -88,12 +88,11 @@ paths: put: summary: Upload Media description: >- - Upload a file. You may add headers to the request in order to provide - some control to your media file. + Upload a file. - If a file is uploaded with the same name as a file that already exists - under this account, the previous file will be overwritten. + Filename should always be unique. Reusing filenames may result in the + wrong media being sent. A list of supported media types can be found at [Bandwidth @@ -1404,7 +1403,19 @@ paths: tags: - Toll-Free Verification summary: Request Toll-Free Verification - description: Submit a request for verification of a toll-free phone number. + description: >- + Submit a request for verification of a toll-free phone number. + + + **Upcoming change (effective January 2027):** If any phone number in the + request already has a verification in progress, the request will be + rejected with a `409 Conflict`. + + This check is all-or-nothing: if a single phone number conflicts, the + entire request is rejected and **none** of the phone numbers in the + request are submitted. + + Today, these requests are accepted with a `202`. operationId: requestTollFreeVerification parameters: - $ref: '#/components/parameters/accountId4' @@ -1421,6 +1432,8 @@ paths: $ref: '#/components/responses/tfvForbiddenResponse' '405': $ref: '#/components/responses/tfvNotAllowedResponse' + '409': + $ref: '#/components/responses/tfvConflictResponse' '429': $ref: '#/components/responses/tfvTooManyRequestsResponse' '500': @@ -1477,6 +1490,14 @@ paths: Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). + + Returns a `404` if no verification request exists for the phone number, + and a `400` if the existing request is not eligible for resubmission. + + + **Upcoming change (effective January 2027):** If a verification for the + phone number is in progress, the update will be rejected with a `409 + Conflict`. operationId: updateTollFreeVerificationRequest parameters: - $ref: '#/components/parameters/accountId4' @@ -1492,8 +1513,12 @@ paths: $ref: '#/components/responses/tfvUnauthorizedResponse' '403': $ref: '#/components/responses/tfvForbiddenResponse' + '404': + $ref: '#/components/responses/tfvNotFoundResponse' '405': $ref: '#/components/responses/tfvNotAllowedResponse' + '409': + $ref: '#/components/responses/tfvConflictResponse' '429': $ref: '#/components/responses/tfvTooManyRequestsResponse' '500': @@ -1504,7 +1529,13 @@ paths: tfVerificationStatus: $ref: '#/components/callbacks/tfVerificationStatus' delete: - description: Delete a toll-free verification submission for a toll-free number. + description: >- + Delete a toll-free verification submission for a toll-free number. + + + **Upcoming change (effective January 2027):** If a verification for the + phone number is in progress, it will be cancelled and the submission + will then be deleted asynchronously. operationId: deleteVerificationRequest parameters: - $ref: '#/components/parameters/accountId4' @@ -8072,6 +8103,17 @@ components: example: description: Cannot find the requested resource. type: Not Found + tfvConflictResponse: + description: >- + Conflict. A toll-free verification for the phone number is already in + progress. + content: + application/json: + schema: + $ref: '#/components/schemas/tfvError' + example: + description: 'TFV request already in progress for phone number: +18005551234' + type: conflict tfvNotAllowedResponse: description: Method Not Allowed content: @@ -8256,8 +8298,8 @@ components: style: simple explode: false description: >- - General-header field is used to specify directives that MUST be obeyed - by all caching mechanisms along the request/response chain. + Pass-through header stored with the media and returned when the media is + retrieved by the user. Does not affect internal server caching behavior. example: no-cache schema: type: string diff --git a/docs/MediaApi.md b/docs/MediaApi.md index 76ba4b0c..41eb310a 100644 --- a/docs/MediaApi.md +++ b/docs/MediaApi.md @@ -332,7 +332,7 @@ catch (ApiException e) Upload Media -Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). +Upload a file. Filename should always be unique. Reusing filenames may result in the wrong media being sent. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). ### Example ```csharp @@ -361,7 +361,7 @@ namespace Example var mediaId = bw.png; // string | The ID of the media file. var body = new System.IO.MemoryStream(System.IO.File.ReadAllBytes("/path/to/file.txt")); // System.IO.Stream | var contentType = audio/wav; // string | The media type of the entity-body. (optional) - var cacheControl = no-cache; // string | General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain. (optional) + var cacheControl = no-cache; // string | Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior. (optional) try { @@ -404,7 +404,7 @@ catch (ApiException e) | **mediaId** | **string** | The ID of the media file. | | | **body** | **System.IO.Stream****System.IO.Stream** | | | | **contentType** | **string** | The media type of the entity-body. | [optional] | -| **cacheControl** | **string** | General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain. | [optional] | +| **cacheControl** | **string** | Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior. | [optional] | ### Return type diff --git a/docs/TollFreeVerificationApi.md b/docs/TollFreeVerificationApi.md index bb69f97b..a135cc06 100644 --- a/docs/TollFreeVerificationApi.md +++ b/docs/TollFreeVerificationApi.md @@ -127,7 +127,7 @@ catch (ApiException e) Delete a Toll-Free Verification Submission -Delete a toll-free verification submission for a toll-free number. +Delete a toll-free verification submission for a toll-free number. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, it will be cancelled and the submission will then be deleted asynchronously. ### Example ```csharp @@ -644,7 +644,7 @@ catch (ApiException e) Request Toll-Free Verification -Submit a request for verification of a toll-free phone number. +Submit a request for verification of a toll-free phone number. **Upcoming change (effective January 2027):** If any phone number in the request already has a verification in progress, the request will be rejected with a `409 Conflict`. This check is all-or-nothing: if a single phone number conflicts, the entire request is rejected and **none** of the phone numbers in the request are submitted. Today, these requests are accepted with a `202`. ### Example ```csharp @@ -734,6 +734,7 @@ void (empty response body) | **401** | Unauthorized | - | | **403** | Forbidden | - | | **405** | Method Not Allowed | - | +| **409** | Conflict. A toll-free verification for the phone number is already in progress. | - | | **429** | Too Many Requests | - | | **500** | Internal Server Error | - | | **503** | Service Unavailable | - | @@ -746,7 +747,7 @@ void (empty response body) Update Toll-Free Verification Request -Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). +Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). Returns a `404` if no verification request exists for the phone number, and a `400` if the existing request is not eligible for resubmission. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, the update will be rejected with a `409 Conflict`. ### Example ```csharp @@ -837,7 +838,9 @@ void (empty response body) | **400** | Bad Request | - | | **401** | Unauthorized | - | | **403** | Forbidden | - | +| **404** | Cannot find the requested resource. | - | | **405** | Method Not Allowed | - | +| **409** | Conflict. A toll-free verification for the phone number is already in progress. | - | | **429** | Too Many Requests | - | | **500** | Internal Server Error | - | | **503** | Service Unavailable | - | diff --git a/src/Bandwidth.Standard/Api/MediaApi.cs b/src/Bandwidth.Standard/Api/MediaApi.cs index ec4c852e..901201e8 100644 --- a/src/Bandwidth.Standard/Api/MediaApi.cs +++ b/src/Bandwidth.Standard/Api/MediaApi.cs @@ -107,14 +107,14 @@ public interface IMediaApiSync : IApiAccessor /// Upload Media /// /// - /// Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). + /// Upload a file. Filename should always be unique. Reusing filenames may result in the wrong media being sent. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). /// /// Thrown when fails to make API call /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** /// The ID of the media file. /// /// The media type of the entity-body. (optional) - /// General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain. (optional) + /// Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior. (optional) /// Index associated with the operation. /// void UploadMedia(string accountId, string mediaId, System.IO.Stream body, string contentType = default(string), string cacheControl = default(string), int operationIndex = 0); @@ -123,14 +123,14 @@ public interface IMediaApiSync : IApiAccessor /// Upload Media /// /// - /// Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). + /// Upload a file. Filename should always be unique. Reusing filenames may result in the wrong media being sent. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). /// /// Thrown when fails to make API call /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** /// The ID of the media file. /// /// The media type of the entity-body. (optional) - /// General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain. (optional) + /// Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior. (optional) /// Index associated with the operation. /// ApiResponse of Object(void) ApiResponse UploadMediaWithHttpInfo(string accountId, string mediaId, System.IO.Stream body, string contentType = default(string), string cacheControl = default(string), int operationIndex = 0); @@ -228,14 +228,14 @@ public interface IMediaApiAsync : IApiAccessor /// Upload Media /// /// - /// Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). + /// Upload a file. Filename should always be unique. Reusing filenames may result in the wrong media being sent. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). /// /// Thrown when fails to make API call /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** /// The ID of the media file. /// /// The media type of the entity-body. (optional) - /// General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain. (optional) + /// Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of void @@ -245,14 +245,14 @@ public interface IMediaApiAsync : IApiAccessor /// Upload Media /// /// - /// Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). + /// Upload a file. Filename should always be unique. Reusing filenames may result in the wrong media being sent. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). /// /// Thrown when fails to make API call /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** /// The ID of the media file. /// /// The media type of the entity-body. (optional) - /// General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain. (optional) + /// Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse @@ -990,14 +990,14 @@ public System.IO.Stream GetMedia(string accountId, string mediaId, int operation } /// - /// Upload Media Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). + /// Upload Media Upload a file. Filename should always be unique. Reusing filenames may result in the wrong media being sent. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). /// /// Thrown when fails to make API call /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** /// The ID of the media file. /// /// The media type of the entity-body. (optional) - /// General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain. (optional) + /// Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior. (optional) /// Index associated with the operation. /// public void UploadMedia(string accountId, string mediaId, System.IO.Stream body, string contentType = default(string), string cacheControl = default(string), int operationIndex = 0) @@ -1006,14 +1006,14 @@ public System.IO.Stream GetMedia(string accountId, string mediaId, int operation } /// - /// Upload Media Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). + /// Upload Media Upload a file. Filename should always be unique. Reusing filenames may result in the wrong media being sent. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). /// /// Thrown when fails to make API call /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** /// The ID of the media file. /// /// The media type of the entity-body. (optional) - /// General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain. (optional) + /// Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior. (optional) /// Index associated with the operation. /// ApiResponse of Object(void) public Bandwidth.Standard.Client.ApiResponse UploadMediaWithHttpInfo(string accountId, string mediaId, System.IO.Stream body, string contentType = default(string), string cacheControl = default(string), int operationIndex = 0) @@ -1159,14 +1159,14 @@ public System.IO.Stream GetMedia(string accountId, string mediaId, int operation } /// - /// Upload Media Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). + /// Upload Media Upload a file. Filename should always be unique. Reusing filenames may result in the wrong media being sent. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). /// /// Thrown when fails to make API call /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** /// The ID of the media file. /// /// The media type of the entity-body. (optional) - /// General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain. (optional) + /// Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of void @@ -1176,14 +1176,14 @@ public System.IO.Stream GetMedia(string accountId, string mediaId, int operation } /// - /// Upload Media Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). + /// Upload Media Upload a file. Filename should always be unique. Reusing filenames may result in the wrong media being sent. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported). /// /// Thrown when fails to make API call /// This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.** /// The ID of the media file. /// /// The media type of the entity-body. (optional) - /// General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain. (optional) + /// Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse diff --git a/src/Bandwidth.Standard/Api/TollFreeVerificationApi.cs b/src/Bandwidth.Standard/Api/TollFreeVerificationApi.cs index 104d8ff4..2600e597 100644 --- a/src/Bandwidth.Standard/Api/TollFreeVerificationApi.cs +++ b/src/Bandwidth.Standard/Api/TollFreeVerificationApi.cs @@ -57,7 +57,7 @@ public interface ITollFreeVerificationApiSync : IApiAccessor /// Delete a Toll-Free Verification Submission /// /// - /// Delete a toll-free verification submission for a toll-free number. + /// Delete a toll-free verification submission for a toll-free number. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, it will be cancelled and the submission will then be deleted asynchronously. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -70,7 +70,7 @@ public interface ITollFreeVerificationApiSync : IApiAccessor /// Delete a Toll-Free Verification Submission /// /// - /// Delete a toll-free verification submission for a toll-free number. + /// Delete a toll-free verification submission for a toll-free number. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, it will be cancelled and the submission will then be deleted asynchronously. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -176,7 +176,7 @@ public interface ITollFreeVerificationApiSync : IApiAccessor /// Request Toll-Free Verification /// /// - /// Submit a request for verification of a toll-free phone number. + /// Submit a request for verification of a toll-free phone number. **Upcoming change (effective January 2027):** If any phone number in the request already has a verification in progress, the request will be rejected with a `409 Conflict`. This check is all-or-nothing: if a single phone number conflicts, the entire request is rejected and **none** of the phone numbers in the request are submitted. Today, these requests are accepted with a `202`. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -189,7 +189,7 @@ public interface ITollFreeVerificationApiSync : IApiAccessor /// Request Toll-Free Verification /// /// - /// Submit a request for verification of a toll-free phone number. + /// Submit a request for verification of a toll-free phone number. **Upcoming change (effective January 2027):** If any phone number in the request already has a verification in progress, the request will be rejected with a `409 Conflict`. This check is all-or-nothing: if a single phone number conflicts, the entire request is rejected and **none** of the phone numbers in the request are submitted. Today, these requests are accepted with a `202`. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -201,7 +201,7 @@ public interface ITollFreeVerificationApiSync : IApiAccessor /// Update Toll-Free Verification Request /// /// - /// Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). + /// Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). Returns a `404` if no verification request exists for the phone number, and a `400` if the existing request is not eligible for resubmission. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, the update will be rejected with a `409 Conflict`. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -215,7 +215,7 @@ public interface ITollFreeVerificationApiSync : IApiAccessor /// Update Toll-Free Verification Request /// /// - /// Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). + /// Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). Returns a `404` if no verification request exists for the phone number, and a `400` if the existing request is not eligible for resubmission. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, the update will be rejected with a `409 Conflict`. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -291,7 +291,7 @@ public interface ITollFreeVerificationApiAsync : IApiAccessor /// Delete a Toll-Free Verification Submission /// /// - /// Delete a toll-free verification submission for a toll-free number. + /// Delete a toll-free verification submission for a toll-free number. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, it will be cancelled and the submission will then be deleted asynchronously. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -305,7 +305,7 @@ public interface ITollFreeVerificationApiAsync : IApiAccessor /// Delete a Toll-Free Verification Submission /// /// - /// Delete a toll-free verification submission for a toll-free number. + /// Delete a toll-free verification submission for a toll-free number. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, it will be cancelled and the submission will then be deleted asynchronously. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -420,7 +420,7 @@ public interface ITollFreeVerificationApiAsync : IApiAccessor /// Request Toll-Free Verification /// /// - /// Submit a request for verification of a toll-free phone number. + /// Submit a request for verification of a toll-free phone number. **Upcoming change (effective January 2027):** If any phone number in the request already has a verification in progress, the request will be rejected with a `409 Conflict`. This check is all-or-nothing: if a single phone number conflicts, the entire request is rejected and **none** of the phone numbers in the request are submitted. Today, these requests are accepted with a `202`. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -434,7 +434,7 @@ public interface ITollFreeVerificationApiAsync : IApiAccessor /// Request Toll-Free Verification /// /// - /// Submit a request for verification of a toll-free phone number. + /// Submit a request for verification of a toll-free phone number. **Upcoming change (effective January 2027):** If any phone number in the request already has a verification in progress, the request will be rejected with a `409 Conflict`. This check is all-or-nothing: if a single phone number conflicts, the entire request is rejected and **none** of the phone numbers in the request are submitted. Today, these requests are accepted with a `202`. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -447,7 +447,7 @@ public interface ITollFreeVerificationApiAsync : IApiAccessor /// Update Toll-Free Verification Request /// /// - /// Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). + /// Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). Returns a `404` if no verification request exists for the phone number, and a `400` if the existing request is not eligible for resubmission. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, the update will be rejected with a `409 Conflict`. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -462,7 +462,7 @@ public interface ITollFreeVerificationApiAsync : IApiAccessor /// Update Toll-Free Verification Request /// /// - /// Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). + /// Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). Returns a `404` if no verification request exists for the phone number, and a `400` if the existing request is not eligible for resubmission. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, the update will be rejected with a `409 Conflict`. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -830,7 +830,7 @@ public Bandwidth.Standard.Client.ApiResponse CreateWebhookS } /// - /// Delete a Toll-Free Verification Submission Delete a toll-free verification submission for a toll-free number. + /// Delete a Toll-Free Verification Submission Delete a toll-free verification submission for a toll-free number. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, it will be cancelled and the submission will then be deleted asynchronously. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -843,7 +843,7 @@ public void DeleteVerificationRequest(string accountId, string phoneNumber, int } /// - /// Delete a Toll-Free Verification Submission Delete a toll-free verification submission for a toll-free number. + /// Delete a Toll-Free Verification Submission Delete a toll-free verification submission for a toll-free number. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, it will be cancelled and the submission will then be deleted asynchronously. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -930,7 +930,7 @@ public Bandwidth.Standard.Client.ApiResponse DeleteVerificationRequestWi } /// - /// Delete a Toll-Free Verification Submission Delete a toll-free verification submission for a toll-free number. + /// Delete a Toll-Free Verification Submission Delete a toll-free verification submission for a toll-free number. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, it will be cancelled and the submission will then be deleted asynchronously. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -944,7 +944,7 @@ public Bandwidth.Standard.Client.ApiResponse DeleteVerificationRequestWi } /// - /// Delete a Toll-Free Verification Submission Delete a toll-free verification submission for a toll-free number. + /// Delete a Toll-Free Verification Submission Delete a toll-free verification submission for a toll-free number. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, it will be cancelled and the submission will then be deleted asynchronously. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -1802,7 +1802,7 @@ public Bandwidth.Standard.Client.ApiResponse ListW } /// - /// Request Toll-Free Verification Submit a request for verification of a toll-free phone number. + /// Request Toll-Free Verification Submit a request for verification of a toll-free phone number. **Upcoming change (effective January 2027):** If any phone number in the request already has a verification in progress, the request will be rejected with a `409 Conflict`. This check is all-or-nothing: if a single phone number conflicts, the entire request is rejected and **none** of the phone numbers in the request are submitted. Today, these requests are accepted with a `202`. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -1815,7 +1815,7 @@ public void RequestTollFreeVerification(string accountId, VerificationRequest ve } /// - /// Request Toll-Free Verification Submit a request for verification of a toll-free phone number. + /// Request Toll-Free Verification Submit a request for verification of a toll-free phone number. **Upcoming change (effective January 2027):** If any phone number in the request already has a verification in progress, the request will be rejected with a `409 Conflict`. This check is all-or-nothing: if a single phone number conflicts, the entire request is rejected and **none** of the phone numbers in the request are submitted. Today, these requests are accepted with a `202`. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -1903,7 +1903,7 @@ public Bandwidth.Standard.Client.ApiResponse RequestTollFreeVerification } /// - /// Request Toll-Free Verification Submit a request for verification of a toll-free phone number. + /// Request Toll-Free Verification Submit a request for verification of a toll-free phone number. **Upcoming change (effective January 2027):** If any phone number in the request already has a verification in progress, the request will be rejected with a `409 Conflict`. This check is all-or-nothing: if a single phone number conflicts, the entire request is rejected and **none** of the phone numbers in the request are submitted. Today, these requests are accepted with a `202`. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -1917,7 +1917,7 @@ public Bandwidth.Standard.Client.ApiResponse RequestTollFreeVerification } /// - /// Request Toll-Free Verification Submit a request for verification of a toll-free phone number. + /// Request Toll-Free Verification Submit a request for verification of a toll-free phone number. **Upcoming change (effective January 2027):** If any phone number in the request already has a verification in progress, the request will be rejected with a `409 Conflict`. This check is all-or-nothing: if a single phone number conflicts, the entire request is rejected and **none** of the phone numbers in the request are submitted. Today, these requests are accepted with a `202`. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -2008,7 +2008,7 @@ public Bandwidth.Standard.Client.ApiResponse RequestTollFreeVerification } /// - /// Update Toll-Free Verification Request Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). + /// Update Toll-Free Verification Request Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). Returns a `404` if no verification request exists for the phone number, and a `400` if the existing request is not eligible for resubmission. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, the update will be rejected with a `409 Conflict`. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -2022,7 +2022,7 @@ public void UpdateTollFreeVerificationRequest(string accountId, string phoneNumb } /// - /// Update Toll-Free Verification Request Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). + /// Update Toll-Free Verification Request Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). Returns a `404` if no verification request exists for the phone number, and a `400` if the existing request is not eligible for resubmission. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, the update will be rejected with a `409 Conflict`. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -2118,7 +2118,7 @@ public Bandwidth.Standard.Client.ApiResponse UpdateTollFreeVerificationR } /// - /// Update Toll-Free Verification Request Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). + /// Update Toll-Free Verification Request Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). Returns a `404` if no verification request exists for the phone number, and a `400` if the existing request is not eligible for resubmission. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, the update will be rejected with a `409 Conflict`. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -2133,7 +2133,7 @@ public Bandwidth.Standard.Client.ApiResponse UpdateTollFreeVerificationR } /// - /// Update Toll-Free Verification Request Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). + /// Update Toll-Free Verification Request Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). Returns a `404` if no verification request exists for the phone number, and a `400` if the existing request is not eligible for resubmission. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, the update will be rejected with a `409 Conflict`. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. diff --git a/src/Bandwidth.Standard/Model/RbmActionBase.cs b/src/Bandwidth.Standard/Model/RbmActionBase.cs index b40a5e64..34965104 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@eaa07bb + /// [B@758655a9 [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 dab73602..7ea22974 100644 --- a/src/Bandwidth.Standard/Model/RbmSuggestionResponse.cs +++ b/src/Bandwidth.Standard/Model/RbmSuggestionResponse.cs @@ -57,7 +57,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@eaa07bb + /// [B@758655a9 [DataMember(Name = "postbackData", EmitDefaultValue = false)] public byte[] PostbackData { get; set; }