From 365587689f05b08b521efd3547dcb9c63ad02f9b Mon Sep 17 00:00:00 2001 From: "band-swi[bot]" <143147434+band-swi[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 11:29:37 -0500 Subject: [PATCH] SWI-6762 Update SDK Based on Recent Spec Changes (#164) * Generate SDK with OpenAPI Generator Version * 7.10.0 --------- Co-authored-by: DX-Bandwidth Co-authored-by: ckoegel --- api/openapi.yaml | 2 +- bandwidth.yml | 4 ++-- docs/CreateCall.md | 2 +- src/main/java/com/bandwidth/sdk/model/CreateCall.java | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api/openapi.yaml b/api/openapi.yaml index 35253011..789c3efa 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -6918,7 +6918,7 @@ components: A comma-separated list of 'User-To-User' headers to be sent in the INVITE when calling a SIP URI. Each value must end with an 'encoding' parameter as described in RFC - 7433. Only 'jwt' and 'base64' encodings are allowed. The entire value + 7433. Only 'jwt', 'base64' and 'hex' encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators. example: "eyJhbGciOiJIUzI1NiJ9.WyJoaSJd.-znkjYyCkgz4djmHUPSXl9YrJ6Nix_XvmlwKGFh5ERM;encoding=jwt,aGVsbG8gd29ybGQ;encoding=base64" nullable: true diff --git a/bandwidth.yml b/bandwidth.yml index c4b1fb2b..11c79d23 100644 --- a/bandwidth.yml +++ b/bandwidth.yml @@ -2202,8 +2202,8 @@ components: parameter as described in RFC - 7433. Only 'jwt' and 'base64' encodings are allowed. The entire - value + 7433. Only 'jwt', 'base64' and 'hex' encodings are allowed. The + entire value cannot exceed 350 characters, including parameters and separators. applicationId: diff --git a/docs/CreateCall.md b/docs/CreateCall.md index 90cf7ad7..109c9170 100644 --- a/docs/CreateCall.md +++ b/docs/CreateCall.md @@ -11,7 +11,7 @@ |**from** | **String** | A Bandwidth phone number on your account the call should come from (must be in E.164 format, like `+15555551212`) even if `privacy` is set to true. | | |**privacy** | **Boolean** | Hide the calling number. The `displayName` field can be used to customize the displayed name. | [optional] | |**displayName** | **String** | The caller display name to use when the call is created. May not exceed 256 characters nor contain control characters such as new lines. If `privacy` is true, only the following values are valid: `Restricted`, `Anonymous`, `Private`, or `Unavailable`. | [optional] | -|**uui** | **String** | A comma-separated list of 'User-To-User' headers to be sent in the INVITE when calling a SIP URI. Each value must end with an 'encoding' parameter as described in <a href='https://tools.ietf.org/html/rfc7433'>RFC 7433</a>. Only 'jwt' and 'base64' encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators. | [optional] | +|**uui** | **String** | A comma-separated list of 'User-To-User' headers to be sent in the INVITE when calling a SIP URI. Each value must end with an 'encoding' parameter as described in <a href='https://tools.ietf.org/html/rfc7433'>RFC 7433</a>. Only 'jwt', 'base64' and 'hex' encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators. | [optional] | |**applicationId** | **String** | The id of the application associated with the `from` number. | | |**answerUrl** | **URI** | The full URL to send the <a href='/docs/voice/webhooks/answer'>Answer</a> event to when the called party answers. This endpoint should return the first <a href='/docs/voice/bxml'>BXML document</a> to be executed in the call. Must use `https` if specifying `username` and `password`. | | |**answerMethod** | **CallbackMethodEnum** | | [optional] | diff --git a/src/main/java/com/bandwidth/sdk/model/CreateCall.java b/src/main/java/com/bandwidth/sdk/model/CreateCall.java index c92451c4..4735e05a 100644 --- a/src/main/java/com/bandwidth/sdk/model/CreateCall.java +++ b/src/main/java/com/bandwidth/sdk/model/CreateCall.java @@ -244,7 +244,7 @@ public CreateCall uui(@javax.annotation.Nullable String uui) { } /** - * A comma-separated list of 'User-To-User' headers to be sent in the INVITE when calling a SIP URI. Each value must end with an 'encoding' parameter as described in <a href='https://tools.ietf.org/html/rfc7433'>RFC 7433</a>. Only 'jwt' and 'base64' encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators. + * A comma-separated list of 'User-To-User' headers to be sent in the INVITE when calling a SIP URI. Each value must end with an 'encoding' parameter as described in <a href='https://tools.ietf.org/html/rfc7433'>RFC 7433</a>. Only 'jwt', 'base64' and 'hex' encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators. * @return uui */ @javax.annotation.Nullable