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-6321 Update SDK Based on Recent Spec Changes #46

Closed
wants to merge 1 commit into from
Closed
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
8 changes: 4 additions & 4 deletions api/calls-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export const CallsApiAxiosParamCreator = function (configuration?: Configuration
* @summary Update Call
* @param {string} accountId Your Bandwidth Account ID.
* @param {string} callId Programmable Voice API Call ID.
* @param {UpdateCall} updateCall JSON object containing information to redirect an existing call to a new BXML document
* @param {UpdateCall} updateCall JSON or BXML object containing information to redirect an existing call to a new BXML document
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand Down Expand Up @@ -355,7 +355,7 @@ export const CallsApiFp = function(configuration?: Configuration) {
* @summary Update Call
* @param {string} accountId Your Bandwidth Account ID.
* @param {string} callId Programmable Voice API Call ID.
* @param {UpdateCall} updateCall JSON object containing information to redirect an existing call to a new BXML document
* @param {UpdateCall} updateCall JSON or BXML object containing information to redirect an existing call to a new BXML document
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand Down Expand Up @@ -434,7 +434,7 @@ export const CallsApiFactory = function (configuration?: Configuration, basePath
* @summary Update Call
* @param {string} accountId Your Bandwidth Account ID.
* @param {string} callId Programmable Voice API Call ID.
* @param {UpdateCall} updateCall JSON object containing information to redirect an existing call to a new BXML document
* @param {UpdateCall} updateCall JSON or BXML object containing information to redirect an existing call to a new BXML document
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand Down Expand Up @@ -513,7 +513,7 @@ export class CallsApi extends BaseAPI {
* @summary Update Call
* @param {string} accountId Your Bandwidth Account ID.
* @param {string} callId Programmable Voice API Call ID.
* @param {UpdateCall} updateCall JSON object containing information to redirect an existing call to a new BXML document
* @param {UpdateCall} updateCall JSON or BXML object containing information to redirect an existing call to a new BXML document
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof CallsApi
Expand Down
23 changes: 21 additions & 2 deletions bandwidth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5658,13 +5658,32 @@ components:
$ref: '#/components/schemas/createCall'
updateCallRequest:
description: >-
JSON object containing information to redirect an existing call to a new
BXML document
JSON or BXML object containing information to redirect an existing call
to a new BXML document
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/updateCall'
application/xml:
schema:
type: string
description: A valid BXML document to replace the call's current BXML.
examples:
speakSentence:
summary: Speak Sentence
value: |-
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<Bxml>
<SpeakSentence>This is a test sentence.</SpeakSentence>
</Bxml>
redirectUrl:
summary: Redirect
value: |-
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<Bxml>
<Redirect redirectUrl="https://test.example" redirectMethod="GET"/>
</Bxml>
updateCallBxmlRequest:
required: true
content:
Expand Down