bandwidth-sdk 8.1.4 → 8.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.bandwidth/component.yaml +1 -0
- package/.github/workflows/deploy.yml +16 -12
- package/.github/workflows/test-pr.yml +3 -3
- package/.github/workflows/test-smoke.yml +13 -13
- package/.openapi-generator/FILES +4 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -0
- package/api/calls-api.ts +14 -17
- package/api/conferences-api.ts +31 -34
- package/api/endpoints-api.ts +14 -16
- package/api/media-api.ts +28 -29
- package/api/messages-api.ts +13 -14
- package/api/mfaapi.ts +7 -10
- package/api/multi-channel-api.ts +7 -8
- package/api/phone-number-lookup-api.ts +8 -10
- package/api/recordings-api.ts +37 -39
- package/api/statistics-api.ts +3 -3
- package/api/toll-free-verification-api.ts +23 -27
- package/api/transcriptions-api.ts +12 -12
- package/bandwidth.yml +190 -51
- package/common.ts +18 -4
- package/configuration.ts +8 -2
- package/coverage/clover.xml +1033 -958
- package/coverage/coverage-final.json +22 -20
- package/coverage/lcov-report/index.html +29 -29
- package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +25 -34
- package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +46 -55
- package/coverage/lcov-report/node-sdk/api/endpoints-api.ts.html +25 -31
- package/coverage/lcov-report/node-sdk/api/index.html +69 -69
- package/coverage/lcov-report/node-sdk/api/media-api.ts.html +38 -41
- package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +21 -24
- package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +16 -25
- package/coverage/lcov-report/node-sdk/api/multi-channel-api.ts.html +14 -17
- package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +17 -23
- package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +53 -59
- package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +9 -9
- package/coverage/lcov-report/node-sdk/api/toll-free-verification-api.ts.html +38 -50
- package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +20 -20
- package/coverage/lcov-report/node-sdk/api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/base.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/common.ts.html +66 -24
- package/coverage/lcov-report/node-sdk/configuration.ts.html +31 -13
- package/coverage/lcov-report/node-sdk/index.html +19 -19
- package/coverage/lcov-report/node-sdk/models/business-entity-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/business-registration-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/bxml/Bxml.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/NestableVerb.ts.html +14 -14
- package/coverage/lcov-report/node-sdk/models/bxml/Response.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Root.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Verb.ts.html +13 -13
- package/coverage/lcov-report/node-sdk/models/bxml/index.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/index.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Bridge.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Conference.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Connect.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/CustomParam.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Endpoint.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Forward.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Gather.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Hangup.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Pause.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PauseRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PhoneNumber.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PlayAudio.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Record.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Redirect.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Refer.ts.html +190 -0
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/ResumeRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Ring.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SendDtmf.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SipUri.ts.html +5 -5
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SpeakSentence.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartGather.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartStream.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartTranscription.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopGather.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopStream.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopTranscription.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StreamParam.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Tag.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Transfer.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.html +23 -8
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.ts.html +7 -4
- package/coverage/lcov-report/node-sdk/models/call-direction-enum.ts.html +3 -3
- package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/card-width-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/completed-lookup-status-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/conference-state-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/deactivation-event-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/device-status-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/endpoint-direction-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/endpoint-event-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/endpoint-status-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/endpoint-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/file-format-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/in-progress-lookup-status-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/inbound-callback-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/index.html +20 -5
- package/coverage/lcov-report/node-sdk/models/index.ts.html +10 -4
- package/coverage/lcov-report/node-sdk/models/latest-message-delivery-status-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/line-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/list-message-direction-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/machine-detection-mode-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/message-direction-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/message-status-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/message-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/multi-channel-message-channel-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/priority-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/product-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/rbm-action-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/rbm-media-height-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/rbm-open-url-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/rbm-web-view-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/recording-state-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/redirect-method-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/refer-call-status-enum.ts.html +172 -0
- package/coverage/lcov-report/node-sdk/models/standalone-card-orientation-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/status-callback-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/tfv-callback-status-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/tfv-status-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/thumbnail-alignment-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/webhook-subscription-type-enum.ts.html +2 -2
- package/coverage/lcov.info +2570 -2469
- package/custom_templates/common.mustache +18 -4
- package/custom_templates/configuration.mustache +7 -1
- package/custom_templates/package.mustache +1 -1
- package/dist/api/calls-api.d.ts +5 -5
- package/dist/api/calls-api.js +13 -8
- package/dist/api/conferences-api.d.ts +9 -9
- package/dist/api/conferences-api.js +30 -21
- package/dist/api/endpoints-api.d.ts +5 -5
- package/dist/api/endpoints-api.js +13 -8
- package/dist/api/media-api.d.ts +20 -20
- package/dist/api/media-api.js +27 -23
- package/dist/api/messages-api.d.ts +10 -10
- package/dist/api/messages-api.js +12 -10
- package/dist/api/mfaapi.d.ts +3 -3
- package/dist/api/mfaapi.js +6 -3
- package/dist/api/multi-channel-api.d.ts +5 -5
- package/dist/api/multi-channel-api.js +6 -5
- package/dist/api/phone-number-lookup-api.d.ts +3 -3
- package/dist/api/phone-number-lookup-api.js +7 -4
- package/dist/api/recordings-api.d.ts +10 -10
- package/dist/api/recordings-api.js +36 -26
- package/dist/api/statistics-api.d.ts +1 -1
- package/dist/api/statistics-api.js +2 -1
- package/dist/api/toll-free-verification-api.d.ts +9 -9
- package/dist/api/toll-free-verification-api.js +22 -13
- package/dist/api/transcriptions-api.d.ts +3 -3
- package/dist/api/transcriptions-api.js +11 -8
- package/dist/common.d.ts +6 -0
- package/dist/common.js +18 -3
- package/dist/configuration.d.ts +5 -0
- package/dist/configuration.js +5 -4
- package/dist/models/answer-callback.d.ts +5 -1
- package/dist/models/bridge-complete-callback.d.ts +1 -1
- package/dist/models/bridge-target-complete-callback.d.ts +1 -1
- package/dist/models/business-entity-type-enum.js +1 -1
- package/dist/models/business-registration-type-enum.js +1 -1
- package/dist/models/bxml/verbs/Refer.d.ts +27 -0
- package/dist/models/bxml/verbs/Refer.js +45 -0
- package/dist/models/bxml/verbs/index.d.ts +1 -0
- package/dist/models/bxml/verbs/index.js +1 -0
- package/dist/models/call-direction-enum.js +1 -1
- package/dist/models/call-state-enum.js +1 -1
- package/dist/models/call-transcription-detected-language-enum.js +1 -1
- package/dist/models/call-transcription-track-enum.js +1 -1
- package/dist/models/callback-method-enum.js +1 -1
- package/dist/models/card-width-enum.js +1 -1
- package/dist/models/completed-lookup-status-enum.js +1 -1
- package/dist/models/conference-completed-callback.d.ts +1 -1
- package/dist/models/conference-created-callback.d.ts +1 -1
- package/dist/models/conference-member-exit-callback.d.ts +1 -1
- package/dist/models/conference-member-join-callback.d.ts +1 -1
- package/dist/models/conference-recording-available-callback.d.ts +1 -1
- package/dist/models/conference-redirect-callback.d.ts +1 -1
- package/dist/models/conference-state-enum.js +1 -1
- package/dist/models/deactivation-event-enum.js +1 -1
- package/dist/models/device-status-enum.js +1 -1
- package/dist/models/disconnect-callback.d.ts +9 -1
- package/dist/models/dtmf-callback.d.ts +1 -1
- package/dist/models/endpoint-direction-enum.js +1 -1
- package/dist/models/endpoint-event-type-enum.js +1 -1
- package/dist/models/endpoint-status-enum.js +1 -1
- package/dist/models/endpoint-type-enum.js +1 -1
- package/dist/models/file-format-enum.js +1 -1
- package/dist/models/gather-callback.d.ts +1 -1
- package/dist/models/in-progress-lookup-status-enum.js +1 -1
- package/dist/models/inbound-callback-type-enum.js +1 -1
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/initiate-callback.d.ts +11 -1
- package/dist/models/latest-message-delivery-status-enum.js +1 -1
- package/dist/models/line-type-enum.js +1 -1
- package/dist/models/list-message-direction-enum.js +1 -1
- package/dist/models/machine-detection-complete-callback.d.ts +1 -1
- package/dist/models/machine-detection-mode-enum.js +1 -1
- package/dist/models/message-direction-enum.js +1 -1
- package/dist/models/message-status-enum.js +1 -1
- package/dist/models/message-type-enum.js +1 -1
- package/dist/models/multi-channel-message-channel-enum.js +1 -1
- package/dist/models/priority-enum.js +1 -1
- package/dist/models/product-type-enum.js +1 -1
- package/dist/models/rbm-action-type-enum.js +1 -1
- package/dist/models/rbm-media-height-enum.js +1 -1
- package/dist/models/rbm-open-url-enum.js +1 -1
- package/dist/models/rbm-web-view-enum.js +1 -1
- package/dist/models/recording-available-callback.d.ts +1 -1
- package/dist/models/recording-complete-callback.d.ts +1 -1
- package/dist/models/recording-state-enum.js +1 -1
- package/dist/models/redirect-callback.d.ts +1 -1
- package/dist/models/redirect-method-enum.js +1 -1
- package/dist/models/refer-call-status-enum.d.ts +19 -0
- package/dist/models/refer-call-status-enum.js +23 -0
- package/dist/models/refer-complete-callback.d.ts +72 -0
- package/dist/models/refer-complete-callback.js +15 -0
- package/dist/models/standalone-card-orientation-enum.js +1 -1
- package/dist/models/status-callback-type-enum.js +1 -1
- package/dist/models/tfv-callback-status-enum.js +1 -1
- package/dist/models/tfv-status-enum.js +1 -1
- package/dist/models/thumbnail-alignment-enum.js +1 -1
- package/dist/models/transcription-available-callback.d.ts +1 -1
- package/dist/models/transfer-answer-callback.d.ts +1 -1
- package/dist/models/transfer-complete-callback.d.ts +1 -1
- package/dist/models/transfer-disconnect-callback.d.ts +1 -1
- package/dist/models/webhook-subscription-type-enum.js +1 -1
- package/docs/AnswerCallback.md +3 -1
- package/docs/BridgeCompleteCallback.md +1 -1
- package/docs/BridgeTargetCompleteCallback.md +1 -1
- package/docs/ConferenceCompletedCallback.md +1 -1
- package/docs/ConferenceCreatedCallback.md +1 -1
- package/docs/ConferenceMemberExitCallback.md +1 -1
- package/docs/ConferenceMemberJoinCallback.md +1 -1
- package/docs/ConferenceRecordingAvailableCallback.md +1 -1
- package/docs/ConferenceRedirectCallback.md +1 -1
- package/docs/DisconnectCallback.md +5 -1
- package/docs/DtmfCallback.md +1 -1
- package/docs/GatherCallback.md +1 -1
- package/docs/InitiateCallback.md +5 -1
- package/docs/MachineDetectionCompleteCallback.md +1 -1
- package/docs/MediaApi.md +8 -8
- package/docs/MessagesApi.md +4 -4
- package/docs/MultiChannelApi.md +2 -2
- package/docs/RecordingAvailableCallback.md +1 -1
- package/docs/RecordingCompleteCallback.md +1 -1
- package/docs/RedirectCallback.md +1 -1
- package/docs/ReferCallStatusEnum.md +11 -0
- package/docs/ReferCompleteCallback.md +49 -0
- package/docs/TranscriptionAvailableCallback.md +1 -1
- package/docs/TransferAnswerCallback.md +1 -1
- package/docs/TransferCompleteCallback.md +1 -1
- package/docs/TransferDisconnectCallback.md +1 -1
- package/models/answer-callback.ts +5 -1
- package/models/bridge-complete-callback.ts +1 -1
- package/models/bridge-target-complete-callback.ts +1 -1
- package/models/business-entity-type-enum.ts +1 -1
- package/models/business-registration-type-enum.ts +1 -1
- package/models/bxml/verbs/Refer.ts +35 -0
- package/models/bxml/verbs/index.ts +1 -0
- package/models/call-direction-enum.ts +1 -1
- package/models/call-state-enum.ts +1 -1
- package/models/call-transcription-detected-language-enum.ts +1 -1
- package/models/call-transcription-track-enum.ts +1 -1
- package/models/callback-method-enum.ts +1 -1
- package/models/card-width-enum.ts +1 -1
- package/models/completed-lookup-status-enum.ts +1 -1
- package/models/conference-completed-callback.ts +1 -1
- package/models/conference-created-callback.ts +1 -1
- package/models/conference-member-exit-callback.ts +1 -1
- package/models/conference-member-join-callback.ts +1 -1
- package/models/conference-recording-available-callback.ts +1 -1
- package/models/conference-redirect-callback.ts +1 -1
- package/models/conference-state-enum.ts +1 -1
- package/models/deactivation-event-enum.ts +1 -1
- package/models/device-status-enum.ts +1 -1
- package/models/disconnect-callback.ts +9 -1
- package/models/dtmf-callback.ts +1 -1
- package/models/endpoint-direction-enum.ts +1 -1
- package/models/endpoint-event-type-enum.ts +1 -1
- package/models/endpoint-status-enum.ts +1 -1
- package/models/endpoint-type-enum.ts +1 -1
- package/models/file-format-enum.ts +1 -1
- package/models/gather-callback.ts +1 -1
- package/models/in-progress-lookup-status-enum.ts +1 -1
- package/models/inbound-callback-type-enum.ts +1 -1
- package/models/index.ts +2 -0
- package/models/initiate-callback.ts +9 -1
- package/models/latest-message-delivery-status-enum.ts +1 -1
- package/models/line-type-enum.ts +1 -1
- package/models/list-message-direction-enum.ts +1 -1
- package/models/machine-detection-complete-callback.ts +1 -1
- package/models/machine-detection-mode-enum.ts +1 -1
- package/models/message-direction-enum.ts +1 -1
- package/models/message-status-enum.ts +1 -1
- package/models/message-type-enum.ts +1 -1
- package/models/multi-channel-message-channel-enum.ts +1 -1
- package/models/priority-enum.ts +1 -1
- package/models/product-type-enum.ts +1 -1
- package/models/rbm-action-type-enum.ts +1 -1
- package/models/rbm-media-height-enum.ts +1 -1
- package/models/rbm-open-url-enum.ts +1 -1
- package/models/rbm-web-view-enum.ts +1 -1
- package/models/recording-available-callback.ts +1 -1
- package/models/recording-complete-callback.ts +1 -1
- package/models/recording-state-enum.ts +1 -1
- package/models/redirect-callback.ts +1 -1
- package/models/redirect-method-enum.ts +1 -1
- package/models/refer-call-status-enum.ts +29 -0
- package/models/refer-complete-callback.ts +84 -0
- package/models/standalone-card-orientation-enum.ts +1 -1
- package/models/status-callback-type-enum.ts +1 -1
- package/models/tfv-callback-status-enum.ts +1 -1
- package/models/tfv-status-enum.ts +1 -1
- package/models/thumbnail-alignment-enum.ts +1 -1
- package/models/transcription-available-callback.ts +1 -1
- package/models/transfer-answer-callback.ts +1 -1
- package/models/transfer-complete-callback.ts +1 -1
- package/models/transfer-disconnect-callback.ts +1 -1
- package/models/webhook-subscription-type-enum.ts +1 -1
- package/openapitools.json +1 -1
- package/package.json +2 -2
- package/tests/unit/api/calls-api.test.ts +1 -2
- package/tests/unit/api/conferences-api.test.ts +1 -2
- package/tests/unit/api/endpoints-api.test.ts +1 -2
- package/tests/unit/api/media-api.test.ts +1 -2
- package/tests/unit/api/messages-api.test.ts +1 -2
- package/tests/unit/api/mfaapi.test.ts +1 -2
- package/tests/unit/api/multi-channel-api.test.ts +1 -2
- package/tests/unit/api/phone-number-lookup-api.test.ts +1 -2
- package/tests/unit/api/recordings-api.test.ts +1 -2
- package/tests/unit/api/statistics-api.test.ts +1 -2
- package/tests/unit/api/toll-free-verification-api.test.ts +1 -2
- package/tests/unit/api/transcriptions-api.test.ts +1 -2
- package/tests/unit/models/answer-callback.test.ts +2 -0
- package/tests/unit/models/bxml/verbs/Refer.test.ts +40 -0
- package/tests/unit/models/disconnect-callback.test.ts +4 -0
- package/tests/unit/models/initiate-callback.test.ts +4 -0
- package/tests/unit/models/refer-call-status-enum.test.ts +12 -0
- package/tests/unit/models/refer-complete-callback.test.ts +41 -0
|
@@ -124,9 +124,9 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
// verify required parameter 'recordingId' is not null or undefined
|
|
125
125
|
(0, common_1.assertParamExists)('deleteRecording', 'recordingId', recordingId);
|
|
126
126
|
localVarPath = "/accounts/{accountId}/calls/{callId}/recordings/{recordingId}"
|
|
127
|
-
.replace(
|
|
128
|
-
.replace(
|
|
129
|
-
.replace(
|
|
127
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)))
|
|
128
|
+
.replace('{callId}', encodeURIComponent(String(callId)))
|
|
129
|
+
.replace('{recordingId}', encodeURIComponent(String(recordingId)));
|
|
130
130
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
131
131
|
if (configuration) {
|
|
132
132
|
baseOptions = configuration.baseOptions;
|
|
@@ -144,6 +144,7 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
|
|
|
144
144
|
// authentication OAuth2 required
|
|
145
145
|
// oauth required
|
|
146
146
|
_a.sent();
|
|
147
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
147
148
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
148
149
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
149
150
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -182,9 +183,9 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
|
|
|
182
183
|
// verify required parameter 'recordingId' is not null or undefined
|
|
183
184
|
(0, common_1.assertParamExists)('deleteRecordingMedia', 'recordingId', recordingId);
|
|
184
185
|
localVarPath = "/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/media"
|
|
185
|
-
.replace(
|
|
186
|
-
.replace(
|
|
187
|
-
.replace(
|
|
186
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)))
|
|
187
|
+
.replace('{callId}', encodeURIComponent(String(callId)))
|
|
188
|
+
.replace('{recordingId}', encodeURIComponent(String(recordingId)));
|
|
188
189
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
189
190
|
if (configuration) {
|
|
190
191
|
baseOptions = configuration.baseOptions;
|
|
@@ -202,6 +203,7 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
|
|
|
202
203
|
// authentication OAuth2 required
|
|
203
204
|
// oauth required
|
|
204
205
|
_a.sent();
|
|
206
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
205
207
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
206
208
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
207
209
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -240,9 +242,9 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
|
|
|
240
242
|
// verify required parameter 'recordingId' is not null or undefined
|
|
241
243
|
(0, common_1.assertParamExists)('deleteRecordingTranscription', 'recordingId', recordingId);
|
|
242
244
|
localVarPath = "/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription"
|
|
243
|
-
.replace(
|
|
244
|
-
.replace(
|
|
245
|
-
.replace(
|
|
245
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)))
|
|
246
|
+
.replace('{callId}', encodeURIComponent(String(callId)))
|
|
247
|
+
.replace('{recordingId}', encodeURIComponent(String(recordingId)));
|
|
246
248
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
247
249
|
if (configuration) {
|
|
248
250
|
baseOptions = configuration.baseOptions;
|
|
@@ -260,6 +262,7 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
|
|
|
260
262
|
// authentication OAuth2 required
|
|
261
263
|
// oauth required
|
|
262
264
|
_a.sent();
|
|
265
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
263
266
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
264
267
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
265
268
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -298,9 +301,9 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
|
|
|
298
301
|
// verify required parameter 'recordingId' is not null or undefined
|
|
299
302
|
(0, common_1.assertParamExists)('downloadCallRecording', 'recordingId', recordingId);
|
|
300
303
|
localVarPath = "/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/media"
|
|
301
|
-
.replace(
|
|
302
|
-
.replace(
|
|
303
|
-
.replace(
|
|
304
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)))
|
|
305
|
+
.replace('{callId}', encodeURIComponent(String(callId)))
|
|
306
|
+
.replace('{recordingId}', encodeURIComponent(String(recordingId)));
|
|
304
307
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
305
308
|
if (configuration) {
|
|
306
309
|
baseOptions = configuration.baseOptions;
|
|
@@ -318,6 +321,7 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
|
|
|
318
321
|
// authentication OAuth2 required
|
|
319
322
|
// oauth required
|
|
320
323
|
_a.sent();
|
|
324
|
+
localVarHeaderParameter['Accept'] = 'audio/vnd.wave,audio/mpeg,application/json';
|
|
321
325
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
322
326
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
323
327
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -356,9 +360,9 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
|
|
|
356
360
|
// verify required parameter 'recordingId' is not null or undefined
|
|
357
361
|
(0, common_1.assertParamExists)('getCallRecording', 'recordingId', recordingId);
|
|
358
362
|
localVarPath = "/accounts/{accountId}/calls/{callId}/recordings/{recordingId}"
|
|
359
|
-
.replace(
|
|
360
|
-
.replace(
|
|
361
|
-
.replace(
|
|
363
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)))
|
|
364
|
+
.replace('{callId}', encodeURIComponent(String(callId)))
|
|
365
|
+
.replace('{recordingId}', encodeURIComponent(String(recordingId)));
|
|
362
366
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
363
367
|
if (configuration) {
|
|
364
368
|
baseOptions = configuration.baseOptions;
|
|
@@ -376,6 +380,7 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
|
|
|
376
380
|
// authentication OAuth2 required
|
|
377
381
|
// oauth required
|
|
378
382
|
_a.sent();
|
|
383
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
379
384
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
380
385
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
381
386
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -414,9 +419,9 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
|
|
|
414
419
|
// verify required parameter 'recordingId' is not null or undefined
|
|
415
420
|
(0, common_1.assertParamExists)('getRecordingTranscription', 'recordingId', recordingId);
|
|
416
421
|
localVarPath = "/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription"
|
|
417
|
-
.replace(
|
|
418
|
-
.replace(
|
|
419
|
-
.replace(
|
|
422
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)))
|
|
423
|
+
.replace('{callId}', encodeURIComponent(String(callId)))
|
|
424
|
+
.replace('{recordingId}', encodeURIComponent(String(recordingId)));
|
|
420
425
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
421
426
|
if (configuration) {
|
|
422
427
|
baseOptions = configuration.baseOptions;
|
|
@@ -434,6 +439,7 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
|
|
|
434
439
|
// authentication OAuth2 required
|
|
435
440
|
// oauth required
|
|
436
441
|
_a.sent();
|
|
442
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
437
443
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
438
444
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
439
445
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -470,7 +476,7 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
|
|
|
470
476
|
// verify required parameter 'accountId' is not null or undefined
|
|
471
477
|
(0, common_1.assertParamExists)('listAccountCallRecordings', 'accountId', accountId);
|
|
472
478
|
localVarPath = "/accounts/{accountId}/recordings"
|
|
473
|
-
.replace(
|
|
479
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)));
|
|
474
480
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
475
481
|
if (configuration) {
|
|
476
482
|
baseOptions = configuration.baseOptions;
|
|
@@ -500,6 +506,7 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
|
|
|
500
506
|
if (maxStartTime !== undefined) {
|
|
501
507
|
localVarQueryParameter['maxStartTime'] = maxStartTime;
|
|
502
508
|
}
|
|
509
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
503
510
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
504
511
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
505
512
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -535,8 +542,8 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
|
|
|
535
542
|
// verify required parameter 'callId' is not null or undefined
|
|
536
543
|
(0, common_1.assertParamExists)('listCallRecordings', 'callId', callId);
|
|
537
544
|
localVarPath = "/accounts/{accountId}/calls/{callId}/recordings"
|
|
538
|
-
.replace(
|
|
539
|
-
.replace(
|
|
545
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)))
|
|
546
|
+
.replace('{callId}', encodeURIComponent(String(callId)));
|
|
540
547
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
541
548
|
if (configuration) {
|
|
542
549
|
baseOptions = configuration.baseOptions;
|
|
@@ -554,6 +561,7 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
|
|
|
554
561
|
// authentication OAuth2 required
|
|
555
562
|
// oauth required
|
|
556
563
|
_a.sent();
|
|
564
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
557
565
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
558
566
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
559
567
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -595,9 +603,9 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
|
|
|
595
603
|
// verify required parameter 'transcribeRecording' is not null or undefined
|
|
596
604
|
(0, common_1.assertParamExists)('transcribeCallRecording', 'transcribeRecording', transcribeRecording);
|
|
597
605
|
localVarPath = "/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription"
|
|
598
|
-
.replace(
|
|
599
|
-
.replace(
|
|
600
|
-
.replace(
|
|
606
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)))
|
|
607
|
+
.replace('{callId}', encodeURIComponent(String(callId)))
|
|
608
|
+
.replace('{recordingId}', encodeURIComponent(String(recordingId)));
|
|
601
609
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
602
610
|
if (configuration) {
|
|
603
611
|
baseOptions = configuration.baseOptions;
|
|
@@ -616,6 +624,7 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
|
|
|
616
624
|
// oauth required
|
|
617
625
|
_a.sent();
|
|
618
626
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
627
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
619
628
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
620
629
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
621
630
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -655,8 +664,8 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
|
|
|
655
664
|
// verify required parameter 'updateCallRecording' is not null or undefined
|
|
656
665
|
(0, common_1.assertParamExists)('updateCallRecordingState', 'updateCallRecording', updateCallRecording);
|
|
657
666
|
localVarPath = "/accounts/{accountId}/calls/{callId}/recording"
|
|
658
|
-
.replace(
|
|
659
|
-
.replace(
|
|
667
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)))
|
|
668
|
+
.replace('{callId}', encodeURIComponent(String(callId)));
|
|
660
669
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
661
670
|
if (configuration) {
|
|
662
671
|
baseOptions = configuration.baseOptions;
|
|
@@ -675,6 +684,7 @@ var RecordingsApiAxiosParamCreator = function (configuration) {
|
|
|
675
684
|
// oauth required
|
|
676
685
|
_a.sent();
|
|
677
686
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
687
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
678
688
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
679
689
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
680
690
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -63,5 +63,5 @@ export declare class StatisticsApi extends BaseAPI {
|
|
|
63
63
|
* @param {*} [options] Override http request option.
|
|
64
64
|
* @throws {RequiredError}
|
|
65
65
|
*/
|
|
66
|
-
getStatistics(accountId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountStatistics, any, {}>>;
|
|
66
|
+
getStatistics(accountId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountStatistics, any, {}, any>>;
|
|
67
67
|
}
|
|
@@ -118,7 +118,7 @@ var StatisticsApiAxiosParamCreator = function (configuration) {
|
|
|
118
118
|
// verify required parameter 'accountId' is not null or undefined
|
|
119
119
|
(0, common_1.assertParamExists)('getStatistics', 'accountId', accountId);
|
|
120
120
|
localVarPath = "/accounts/{accountId}/statistics"
|
|
121
|
-
.replace(
|
|
121
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)));
|
|
122
122
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
123
123
|
if (configuration) {
|
|
124
124
|
baseOptions = configuration.baseOptions;
|
|
@@ -136,6 +136,7 @@ var StatisticsApiAxiosParamCreator = function (configuration) {
|
|
|
136
136
|
// authentication OAuth2 required
|
|
137
137
|
// oauth required
|
|
138
138
|
_a.sent();
|
|
139
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
139
140
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
140
141
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
141
142
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -285,7 +285,7 @@ export declare class TollFreeVerificationApi extends BaseAPI {
|
|
|
285
285
|
* @param {*} [options] Override http request option.
|
|
286
286
|
* @throws {RequiredError}
|
|
287
287
|
*/
|
|
288
|
-
createWebhookSubscription(accountId: string, webhookSubscriptionRequestSchema: WebhookSubscriptionRequestSchema, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookSubscription, any, {}>>;
|
|
288
|
+
createWebhookSubscription(accountId: string, webhookSubscriptionRequestSchema: WebhookSubscriptionRequestSchema, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookSubscription, any, {}, any>>;
|
|
289
289
|
/**
|
|
290
290
|
* Delete a toll-free verification submission for a toll-free number.
|
|
291
291
|
* @summary Delete a Toll-Free Verification Submission
|
|
@@ -294,7 +294,7 @@ export declare class TollFreeVerificationApi extends BaseAPI {
|
|
|
294
294
|
* @param {*} [options] Override http request option.
|
|
295
295
|
* @throws {RequiredError}
|
|
296
296
|
*/
|
|
297
|
-
deleteVerificationRequest(accountId: string, phoneNumber: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
297
|
+
deleteVerificationRequest(accountId: string, phoneNumber: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
298
298
|
/**
|
|
299
299
|
* Delete a webhook subscription by ID.
|
|
300
300
|
* @summary Delete Webhook Subscription
|
|
@@ -303,7 +303,7 @@ export declare class TollFreeVerificationApi extends BaseAPI {
|
|
|
303
303
|
* @param {*} [options] Override http request option.
|
|
304
304
|
* @throws {RequiredError}
|
|
305
305
|
*/
|
|
306
|
-
deleteWebhookSubscription(accountId: string, id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
306
|
+
deleteWebhookSubscription(accountId: string, id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
307
307
|
/**
|
|
308
308
|
* Gets the verification status for a phone number that is provisioned to your account. Submission information will be appended to the response if it is available.
|
|
309
309
|
* @summary Get Toll-Free Verification Status
|
|
@@ -312,14 +312,14 @@ export declare class TollFreeVerificationApi extends BaseAPI {
|
|
|
312
312
|
* @param {*} [options] Override http request option.
|
|
313
313
|
* @throws {RequiredError}
|
|
314
314
|
*/
|
|
315
|
-
getTollFreeVerificationStatus(accountId: string, phoneNumber: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TfvStatus, any, {}>>;
|
|
315
|
+
getTollFreeVerificationStatus(accountId: string, phoneNumber: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TfvStatus, any, {}, any>>;
|
|
316
316
|
/**
|
|
317
317
|
* Lists valid toll-free use cases.
|
|
318
318
|
* @summary List Toll-Free Use Cases
|
|
319
319
|
* @param {*} [options] Override http request option.
|
|
320
320
|
* @throws {RequiredError}
|
|
321
321
|
*/
|
|
322
|
-
listTollFreeUseCases(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any, {}>>;
|
|
322
|
+
listTollFreeUseCases(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any, {}, any>>;
|
|
323
323
|
/**
|
|
324
324
|
* Lists all webhook subscriptions that are registered to receive status updates for the toll-free verification requests submitted under this account (password will not be returned through this API If `basicAuthentication` is defined, the `password` property of that object will be null).
|
|
325
325
|
* @summary List Webhook Subscriptions
|
|
@@ -327,7 +327,7 @@ export declare class TollFreeVerificationApi extends BaseAPI {
|
|
|
327
327
|
* @param {*} [options] Override http request option.
|
|
328
328
|
* @throws {RequiredError}
|
|
329
329
|
*/
|
|
330
|
-
listWebhookSubscriptions(accountId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookSubscriptionsListBody, any, {}>>;
|
|
330
|
+
listWebhookSubscriptions(accountId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookSubscriptionsListBody, any, {}, any>>;
|
|
331
331
|
/**
|
|
332
332
|
* Submit a request for verification of a toll-free phone number.
|
|
333
333
|
* @summary Request Toll-Free Verification
|
|
@@ -336,7 +336,7 @@ export declare class TollFreeVerificationApi extends BaseAPI {
|
|
|
336
336
|
* @param {*} [options] Override http request option.
|
|
337
337
|
* @throws {RequiredError}
|
|
338
338
|
*/
|
|
339
|
-
requestTollFreeVerification(accountId: string, verificationRequest: VerificationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
339
|
+
requestTollFreeVerification(accountId: string, verificationRequest: VerificationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
340
340
|
/**
|
|
341
341
|
* 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).
|
|
342
342
|
* @summary Update Toll-Free Verification Request
|
|
@@ -346,7 +346,7 @@ export declare class TollFreeVerificationApi extends BaseAPI {
|
|
|
346
346
|
* @param {*} [options] Override http request option.
|
|
347
347
|
* @throws {RequiredError}
|
|
348
348
|
*/
|
|
349
|
-
updateTollFreeVerificationRequest(accountId: string, phoneNumber: string, tfvSubmissionWrapper: TfvSubmissionWrapper, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
349
|
+
updateTollFreeVerificationRequest(accountId: string, phoneNumber: string, tfvSubmissionWrapper: TfvSubmissionWrapper, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
350
350
|
/**
|
|
351
351
|
* Update an existing webhook subscription (`callbackUrl` and `basicAuthentication` can be updated).
|
|
352
352
|
* @summary Update Webhook Subscription
|
|
@@ -356,5 +356,5 @@ export declare class TollFreeVerificationApi extends BaseAPI {
|
|
|
356
356
|
* @param {*} [options] Override http request option.
|
|
357
357
|
* @throws {RequiredError}
|
|
358
358
|
*/
|
|
359
|
-
updateWebhookSubscription(accountId: string, id: string, webhookSubscriptionRequestSchema: WebhookSubscriptionRequestSchema, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookSubscription, any, {}>>;
|
|
359
|
+
updateWebhookSubscription(accountId: string, id: string, webhookSubscriptionRequestSchema: WebhookSubscriptionRequestSchema, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookSubscription, any, {}, any>>;
|
|
360
360
|
}
|
|
@@ -121,7 +121,7 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
|
|
|
121
121
|
// verify required parameter 'webhookSubscriptionRequestSchema' is not null or undefined
|
|
122
122
|
(0, common_1.assertParamExists)('createWebhookSubscription', 'webhookSubscriptionRequestSchema', webhookSubscriptionRequestSchema);
|
|
123
123
|
localVarPath = "/accounts/{accountId}/tollFreeVerification/webhooks/subscriptions"
|
|
124
|
-
.replace(
|
|
124
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)));
|
|
125
125
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
126
126
|
if (configuration) {
|
|
127
127
|
baseOptions = configuration.baseOptions;
|
|
@@ -140,6 +140,7 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
|
|
|
140
140
|
// oauth required
|
|
141
141
|
_a.sent();
|
|
142
142
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
143
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
143
144
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
144
145
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
145
146
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -176,8 +177,8 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
|
|
|
176
177
|
// verify required parameter 'phoneNumber' is not null or undefined
|
|
177
178
|
(0, common_1.assertParamExists)('deleteVerificationRequest', 'phoneNumber', phoneNumber);
|
|
178
179
|
localVarPath = "/accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification"
|
|
179
|
-
.replace(
|
|
180
|
-
.replace(
|
|
180
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)))
|
|
181
|
+
.replace('{phoneNumber}', encodeURIComponent(String(phoneNumber)));
|
|
181
182
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
182
183
|
if (configuration) {
|
|
183
184
|
baseOptions = configuration.baseOptions;
|
|
@@ -195,6 +196,7 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
|
|
|
195
196
|
// authentication OAuth2 required
|
|
196
197
|
// oauth required
|
|
197
198
|
_a.sent();
|
|
199
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
198
200
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
199
201
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
200
202
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -230,8 +232,8 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
|
|
|
230
232
|
// verify required parameter 'id' is not null or undefined
|
|
231
233
|
(0, common_1.assertParamExists)('deleteWebhookSubscription', 'id', id);
|
|
232
234
|
localVarPath = "/accounts/{accountId}/tollFreeVerification/webhooks/subscriptions/{id}"
|
|
233
|
-
.replace(
|
|
234
|
-
.replace(
|
|
235
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)))
|
|
236
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
235
237
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
236
238
|
if (configuration) {
|
|
237
239
|
baseOptions = configuration.baseOptions;
|
|
@@ -249,6 +251,7 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
|
|
|
249
251
|
// authentication OAuth2 required
|
|
250
252
|
// oauth required
|
|
251
253
|
_a.sent();
|
|
254
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
252
255
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
253
256
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
254
257
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -284,8 +287,8 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
|
|
|
284
287
|
// verify required parameter 'phoneNumber' is not null or undefined
|
|
285
288
|
(0, common_1.assertParamExists)('getTollFreeVerificationStatus', 'phoneNumber', phoneNumber);
|
|
286
289
|
localVarPath = "/accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification"
|
|
287
|
-
.replace(
|
|
288
|
-
.replace(
|
|
290
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)))
|
|
291
|
+
.replace('{phoneNumber}', encodeURIComponent(String(phoneNumber)));
|
|
289
292
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
290
293
|
if (configuration) {
|
|
291
294
|
baseOptions = configuration.baseOptions;
|
|
@@ -303,6 +306,7 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
|
|
|
303
306
|
// authentication OAuth2 required
|
|
304
307
|
// oauth required
|
|
305
308
|
_a.sent();
|
|
309
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
306
310
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
307
311
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
308
312
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -349,6 +353,7 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
|
|
|
349
353
|
// authentication OAuth2 required
|
|
350
354
|
// oauth required
|
|
351
355
|
_a.sent();
|
|
356
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
352
357
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
353
358
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
354
359
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -381,7 +386,7 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
|
|
|
381
386
|
// verify required parameter 'accountId' is not null or undefined
|
|
382
387
|
(0, common_1.assertParamExists)('listWebhookSubscriptions', 'accountId', accountId);
|
|
383
388
|
localVarPath = "/accounts/{accountId}/tollFreeVerification/webhooks/subscriptions"
|
|
384
|
-
.replace(
|
|
389
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)));
|
|
385
390
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
386
391
|
if (configuration) {
|
|
387
392
|
baseOptions = configuration.baseOptions;
|
|
@@ -399,6 +404,7 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
|
|
|
399
404
|
// authentication OAuth2 required
|
|
400
405
|
// oauth required
|
|
401
406
|
_a.sent();
|
|
407
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
402
408
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
403
409
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
404
410
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -434,7 +440,7 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
|
|
|
434
440
|
// verify required parameter 'verificationRequest' is not null or undefined
|
|
435
441
|
(0, common_1.assertParamExists)('requestTollFreeVerification', 'verificationRequest', verificationRequest);
|
|
436
442
|
localVarPath = "/accounts/{accountId}/tollFreeVerification"
|
|
437
|
-
.replace(
|
|
443
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)));
|
|
438
444
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
439
445
|
if (configuration) {
|
|
440
446
|
baseOptions = configuration.baseOptions;
|
|
@@ -453,6 +459,7 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
|
|
|
453
459
|
// oauth required
|
|
454
460
|
_a.sent();
|
|
455
461
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
462
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
456
463
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
457
464
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
458
465
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -492,8 +499,8 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
|
|
|
492
499
|
// verify required parameter 'tfvSubmissionWrapper' is not null or undefined
|
|
493
500
|
(0, common_1.assertParamExists)('updateTollFreeVerificationRequest', 'tfvSubmissionWrapper', tfvSubmissionWrapper);
|
|
494
501
|
localVarPath = "/accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification"
|
|
495
|
-
.replace(
|
|
496
|
-
.replace(
|
|
502
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)))
|
|
503
|
+
.replace('{phoneNumber}', encodeURIComponent(String(phoneNumber)));
|
|
497
504
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
498
505
|
if (configuration) {
|
|
499
506
|
baseOptions = configuration.baseOptions;
|
|
@@ -512,6 +519,7 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
|
|
|
512
519
|
// oauth required
|
|
513
520
|
_a.sent();
|
|
514
521
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
522
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
515
523
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
516
524
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
517
525
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -551,8 +559,8 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
|
|
|
551
559
|
// verify required parameter 'webhookSubscriptionRequestSchema' is not null or undefined
|
|
552
560
|
(0, common_1.assertParamExists)('updateWebhookSubscription', 'webhookSubscriptionRequestSchema', webhookSubscriptionRequestSchema);
|
|
553
561
|
localVarPath = "/accounts/{accountId}/tollFreeVerification/webhooks/subscriptions/{id}"
|
|
554
|
-
.replace(
|
|
555
|
-
.replace(
|
|
562
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)))
|
|
563
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
556
564
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
557
565
|
if (configuration) {
|
|
558
566
|
baseOptions = configuration.baseOptions;
|
|
@@ -571,6 +579,7 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
|
|
|
571
579
|
// oauth required
|
|
572
580
|
_a.sent();
|
|
573
581
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
582
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
574
583
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
575
584
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
576
585
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -129,7 +129,7 @@ export declare class TranscriptionsApi extends BaseAPI {
|
|
|
129
129
|
* @param {*} [options] Override http request option.
|
|
130
130
|
* @throws {RequiredError}
|
|
131
131
|
*/
|
|
132
|
-
deleteRealTimeTranscription(accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
132
|
+
deleteRealTimeTranscription(accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
133
133
|
/**
|
|
134
134
|
* Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
|
|
135
135
|
* @summary Get Real-time Transcription
|
|
@@ -139,7 +139,7 @@ export declare class TranscriptionsApi extends BaseAPI {
|
|
|
139
139
|
* @param {*} [options] Override http request option.
|
|
140
140
|
* @throws {RequiredError}
|
|
141
141
|
*/
|
|
142
|
-
getRealTimeTranscription(accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CallTranscriptionResponse, any, {}>>;
|
|
142
|
+
getRealTimeTranscription(accountId: string, callId: string, transcriptionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CallTranscriptionResponse, any, {}, any>>;
|
|
143
143
|
/**
|
|
144
144
|
* List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
|
|
145
145
|
* @summary List Real-time Transcriptions
|
|
@@ -148,5 +148,5 @@ export declare class TranscriptionsApi extends BaseAPI {
|
|
|
148
148
|
* @param {*} [options] Override http request option.
|
|
149
149
|
* @throws {RequiredError}
|
|
150
150
|
*/
|
|
151
|
-
listRealTimeTranscriptions(accountId: string, callId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CallTranscriptionMetadata[], any, {}>>;
|
|
151
|
+
listRealTimeTranscriptions(accountId: string, callId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CallTranscriptionMetadata[], any, {}, any>>;
|
|
152
152
|
}
|
|
@@ -124,9 +124,9 @@ var TranscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
124
124
|
// verify required parameter 'transcriptionId' is not null or undefined
|
|
125
125
|
(0, common_1.assertParamExists)('deleteRealTimeTranscription', 'transcriptionId', transcriptionId);
|
|
126
126
|
localVarPath = "/accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId}"
|
|
127
|
-
.replace(
|
|
128
|
-
.replace(
|
|
129
|
-
.replace(
|
|
127
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)))
|
|
128
|
+
.replace('{callId}', encodeURIComponent(String(callId)))
|
|
129
|
+
.replace('{transcriptionId}', encodeURIComponent(String(transcriptionId)));
|
|
130
130
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
131
131
|
if (configuration) {
|
|
132
132
|
baseOptions = configuration.baseOptions;
|
|
@@ -144,6 +144,7 @@ var TranscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
144
144
|
// authentication OAuth2 required
|
|
145
145
|
// oauth required
|
|
146
146
|
_a.sent();
|
|
147
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
147
148
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
148
149
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
149
150
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -182,9 +183,9 @@ var TranscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
182
183
|
// verify required parameter 'transcriptionId' is not null or undefined
|
|
183
184
|
(0, common_1.assertParamExists)('getRealTimeTranscription', 'transcriptionId', transcriptionId);
|
|
184
185
|
localVarPath = "/accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId}"
|
|
185
|
-
.replace(
|
|
186
|
-
.replace(
|
|
187
|
-
.replace(
|
|
186
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)))
|
|
187
|
+
.replace('{callId}', encodeURIComponent(String(callId)))
|
|
188
|
+
.replace('{transcriptionId}', encodeURIComponent(String(transcriptionId)));
|
|
188
189
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
189
190
|
if (configuration) {
|
|
190
191
|
baseOptions = configuration.baseOptions;
|
|
@@ -202,6 +203,7 @@ var TranscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
202
203
|
// authentication OAuth2 required
|
|
203
204
|
// oauth required
|
|
204
205
|
_a.sent();
|
|
206
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
205
207
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
206
208
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
207
209
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -237,8 +239,8 @@ var TranscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
237
239
|
// verify required parameter 'callId' is not null or undefined
|
|
238
240
|
(0, common_1.assertParamExists)('listRealTimeTranscriptions', 'callId', callId);
|
|
239
241
|
localVarPath = "/accounts/{accountId}/calls/{callId}/transcriptions"
|
|
240
|
-
.replace(
|
|
241
|
-
.replace(
|
|
242
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)))
|
|
243
|
+
.replace('{callId}', encodeURIComponent(String(callId)));
|
|
242
244
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
243
245
|
if (configuration) {
|
|
244
246
|
baseOptions = configuration.baseOptions;
|
|
@@ -256,6 +258,7 @@ var TranscriptionsApiAxiosParamCreator = function (configuration) {
|
|
|
256
258
|
// authentication OAuth2 required
|
|
257
259
|
// oauth required
|
|
258
260
|
_a.sent();
|
|
261
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
259
262
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
260
263
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
261
264
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
package/dist/common.d.ts
CHANGED
|
@@ -23,6 +23,12 @@ export declare const setBasicAuthToObject: (object: any, configuration?: Configu
|
|
|
23
23
|
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
24
24
|
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
25
25
|
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
26
|
+
/**
|
|
27
|
+
* JSON serialization helper function which replaces instances of unserializable types with serializable ones.
|
|
28
|
+
* This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
|
|
29
|
+
* Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
|
|
30
|
+
*/
|
|
31
|
+
export declare const replaceWithSerializableTypeIfNeeded: (key: string, value: any) => any;
|
|
26
32
|
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
27
33
|
export declare const toPathString: (url: URL) => string;
|
|
28
34
|
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|