Skip to content

Commit

Permalink
Generate SDK with OpenAPI Generator Version 7.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DX-Bandwidth committed Oct 8, 2024
1 parent 9626bb9 commit 474dc11
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 6 deletions.
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

0 comments on commit 474dc11

Please sign in to comment.