Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SWI-6762 Update SDK Based on Recent Spec Changes #164

Merged
merged 2 commits into from
Dec 17, 2024
Merged
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
2 changes: 1 addition & 1 deletion api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href='https://tools.ietf.org/html/rfc7433'>RFC
7433</a>. Only 'jwt' and 'base64' encodings are allowed. The entire value
7433</a>. 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
Expand Down
4 changes: 2 additions & 2 deletions bandwidth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2202,8 +2202,8 @@ components:
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
7433</a>. Only 'jwt', 'base64' and 'hex' encodings are allowed. The
entire value

cannot exceed 350 characters, including parameters and separators.
applicationId:
Expand Down
2 changes: 1 addition & 1 deletion docs/CreateCall.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 &#x60;+15555551212&#x60;) even if &#x60;privacy&#x60; is set to true. | |
|**privacy** | **Boolean** | Hide the calling number. The &#x60;displayName&#x60; 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 &#x60;privacy&#x60; is true, only the following values are valid: &#x60;Restricted&#x60;, &#x60;Anonymous&#x60;, &#x60;Private&#x60;, or &#x60;Unavailable&#x60;. | [optional] |
|**uui** | **String** | A comma-separated list of &#39;User-To-User&#39; headers to be sent in the INVITE when calling a SIP URI. Each value must end with an &#39;encoding&#39; parameter as described in &lt;a href&#x3D;&#39;https://tools.ietf.org/html/rfc7433&#39;&gt;RFC 7433&lt;/a&gt;. Only &#39;jwt&#39; and &#39;base64&#39; encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators. | [optional] |
|**uui** | **String** | A comma-separated list of &#39;User-To-User&#39; headers to be sent in the INVITE when calling a SIP URI. Each value must end with an &#39;encoding&#39; parameter as described in &lt;a href&#x3D;&#39;https://tools.ietf.org/html/rfc7433&#39;&gt;RFC 7433&lt;/a&gt;. Only &#39;jwt&#39;, &#39;base64&#39; and &#39;hex&#39; 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 &#x60;from&#x60; number. | |
|**answerUrl** | **URI** | The full URL to send the &lt;a href&#x3D;&#39;/docs/voice/webhooks/answer&#39;&gt;Answer&lt;/a&gt; event to when the called party answers. This endpoint should return the first &lt;a href&#x3D;&#39;/docs/voice/bxml&#39;&gt;BXML document&lt;/a&gt; to be executed in the call. Must use &#x60;https&#x60; if specifying &#x60;username&#x60; and &#x60;password&#x60;. | |
|**answerMethod** | **CallbackMethodEnum** | | [optional] |
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/bandwidth/sdk/model/CreateCall.java
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public CreateCall uui(@javax.annotation.Nullable String uui) {
}

/**
* A comma-separated list of &#39;User-To-User&#39; headers to be sent in the INVITE when calling a SIP URI. Each value must end with an &#39;encoding&#39; parameter as described in &lt;a href&#x3D;&#39;https://tools.ietf.org/html/rfc7433&#39;&gt;RFC 7433&lt;/a&gt;. Only &#39;jwt&#39; and &#39;base64&#39; encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators.
* A comma-separated list of &#39;User-To-User&#39; headers to be sent in the INVITE when calling a SIP URI. Each value must end with an &#39;encoding&#39; parameter as described in &lt;a href&#x3D;&#39;https://tools.ietf.org/html/rfc7433&#39;&gt;RFC 7433&lt;/a&gt;. Only &#39;jwt&#39;, &#39;base64&#39; and &#39;hex&#39; encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators.
* @return uui
*/
@javax.annotation.Nullable
Expand Down