bandwidth-sdk 3.0.0 → 3.0.1
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/.github/workflows/test-smoke.yml +0 -2
- package/bandwidth.yml +42 -19
- package/coverage/clover.xml +47 -47
- package/coverage/coverage-final.json +2 -2
- package/coverage/lcov-report/index.html +19 -19
- package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/index.html +19 -19
- package/coverage/lcov-report/node-sdk/api/media-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +57 -57
- package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +1 -1
- 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 +18 -18
- package/coverage/lcov-report/node-sdk/configuration.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/index.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Bxml.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/NestableVerb.ts.html +1 -1
- 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 +1 -1
- 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/CustomParam.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/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 +1 -1
- 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 +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/conference-state-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/file-format-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/index.html +1 -1
- package/coverage/lcov-report/node-sdk/models/index.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/list-message-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/lookup-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/machine-detection-mode-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/message-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/message-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/message-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/priority-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/recording-state-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/redirect-method-enum.ts.html +1 -1
- package/coverage/lcov.info +94 -94
- package/dist/api/calls-api.d.ts +261 -0
- package/dist/api/calls-api.js +656 -0
- package/dist/api/conferences-api.d.ts +422 -0
- package/dist/api/conferences-api.js +1045 -0
- package/dist/api/media-api.d.ts +201 -0
- package/dist/api/media-api.js +527 -0
- package/dist/api/messages-api.d.ts +176 -0
- package/dist/api/messages-api.js +420 -0
- package/dist/api/mfaapi.d.ts +156 -0
- package/dist/api/mfaapi.js +416 -0
- package/dist/api/phone-number-lookup-api.d.ts +117 -0
- package/dist/api/phone-number-lookup-api.js +322 -0
- package/dist/api/recordings-api.d.ts +462 -0
- package/dist/api/recordings-api.js +1143 -0
- package/dist/api/statistics-api.d.ts +74 -0
- package/dist/api/statistics-api.js +222 -0
- package/dist/api/transcriptions-api.d.ts +161 -0
- package/dist/api/transcriptions-api.js +427 -0
- package/dist/api.d.ts +20 -0
- package/dist/api.js +38 -0
- package/dist/base.d.ts +66 -0
- package/dist/base.js +321 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +253 -0
- package/dist/configuration.d.ts +91 -0
- package/dist/configuration.js +45 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +32 -0
- package/dist/models/account-statistics.d.ts +30 -0
- package/dist/models/account-statistics.js +15 -0
- package/dist/models/answer-callback.d.ts +104 -0
- package/dist/models/answer-callback.js +15 -0
- package/dist/models/bridge-complete-callback.d.ts +115 -0
- package/dist/models/bridge-complete-callback.js +15 -0
- package/dist/models/bridge-target-complete-callback.d.ts +97 -0
- package/dist/models/bridge-target-complete-callback.js +15 -0
- package/dist/models/bxml/Bxml.d.ts +17 -0
- package/dist/models/bxml/Bxml.js +37 -0
- package/dist/models/bxml/NestableVerb.d.ts +26 -0
- package/dist/models/bxml/NestableVerb.js +62 -0
- package/dist/models/bxml/Response.d.ts +17 -0
- package/dist/models/bxml/Response.js +37 -0
- package/dist/models/bxml/Root.d.ts +33 -0
- package/dist/models/bxml/Root.js +57 -0
- package/dist/models/bxml/Verb.d.ts +27 -0
- package/dist/models/bxml/Verb.js +38 -0
- package/dist/models/bxml/index.d.ts +2 -0
- package/dist/models/bxml/index.js +5 -0
- package/dist/models/bxml/verbs/Bridge.d.ts +32 -0
- package/dist/models/bxml/verbs/Bridge.js +38 -0
- package/dist/models/bxml/verbs/Conference.d.ts +32 -0
- package/dist/models/bxml/verbs/Conference.js +38 -0
- package/dist/models/bxml/verbs/CustomParam.d.ts +19 -0
- package/dist/models/bxml/verbs/CustomParam.js +37 -0
- package/dist/models/bxml/verbs/Forward.d.ts +23 -0
- package/dist/models/bxml/verbs/Forward.js +37 -0
- package/dist/models/bxml/verbs/Gather.d.ts +47 -0
- package/dist/models/bxml/verbs/Gather.js +53 -0
- package/dist/models/bxml/verbs/Hangup.d.ts +13 -0
- package/dist/models/bxml/verbs/Hangup.js +36 -0
- package/dist/models/bxml/verbs/Pause.d.ts +18 -0
- package/dist/models/bxml/verbs/Pause.js +37 -0
- package/dist/models/bxml/verbs/PauseRecording.d.ts +13 -0
- package/dist/models/bxml/verbs/PauseRecording.js +36 -0
- package/dist/models/bxml/verbs/PhoneNumber.d.ts +30 -0
- package/dist/models/bxml/verbs/PhoneNumber.js +38 -0
- package/dist/models/bxml/verbs/PlayAudio.d.ts +21 -0
- package/dist/models/bxml/verbs/PlayAudio.js +38 -0
- package/dist/models/bxml/verbs/Record.d.ts +35 -0
- package/dist/models/bxml/verbs/Record.js +37 -0
- package/dist/models/bxml/verbs/Redirect.d.ts +26 -0
- package/dist/models/bxml/verbs/Redirect.js +37 -0
- package/dist/models/bxml/verbs/ResumeRecording.d.ts +13 -0
- package/dist/models/bxml/verbs/ResumeRecording.js +36 -0
- package/dist/models/bxml/verbs/Ring.d.ts +19 -0
- package/dist/models/bxml/verbs/Ring.js +37 -0
- package/dist/models/bxml/verbs/SendDtmf.d.ts +21 -0
- package/dist/models/bxml/verbs/SendDtmf.js +38 -0
- package/dist/models/bxml/verbs/SipUri.d.ts +31 -0
- package/dist/models/bxml/verbs/SipUri.js +38 -0
- package/dist/models/bxml/verbs/SpeakSentence.d.ts +28 -0
- package/dist/models/bxml/verbs/SpeakSentence.js +46 -0
- package/dist/models/bxml/verbs/StartGather.d.ts +22 -0
- package/dist/models/bxml/verbs/StartGather.js +37 -0
- package/dist/models/bxml/verbs/StartRecording.d.ts +27 -0
- package/dist/models/bxml/verbs/StartRecording.js +37 -0
- package/dist/models/bxml/verbs/StartStream.d.ts +31 -0
- package/dist/models/bxml/verbs/StartStream.js +45 -0
- package/dist/models/bxml/verbs/StartTranscription.d.ts +32 -0
- package/dist/models/bxml/verbs/StartTranscription.js +45 -0
- package/dist/models/bxml/verbs/StopGather.d.ts +13 -0
- package/dist/models/bxml/verbs/StopGather.js +36 -0
- package/dist/models/bxml/verbs/StopRecording.d.ts +13 -0
- package/dist/models/bxml/verbs/StopRecording.js +36 -0
- package/dist/models/bxml/verbs/StopStream.d.ts +18 -0
- package/dist/models/bxml/verbs/StopStream.js +37 -0
- package/dist/models/bxml/verbs/StopTranscription.d.ts +18 -0
- package/dist/models/bxml/verbs/StopTranscription.js +37 -0
- package/dist/models/bxml/verbs/StreamParam.d.ts +19 -0
- package/dist/models/bxml/verbs/StreamParam.js +37 -0
- package/dist/models/bxml/verbs/Tag.d.ts +15 -0
- package/dist/models/bxml/verbs/Tag.js +37 -0
- package/dist/models/bxml/verbs/Transfer.d.ts +41 -0
- package/dist/models/bxml/verbs/Transfer.js +45 -0
- package/dist/models/bxml/verbs/index.d.ts +30 -0
- package/dist/models/bxml/verbs/index.js +46 -0
- package/dist/models/call-direction-enum.d.ts +21 -0
- package/dist/models/call-direction-enum.js +25 -0
- package/dist/models/call-recording-metadata.d.ts +135 -0
- package/dist/models/call-recording-metadata.js +15 -0
- package/dist/models/call-state-enum.d.ts +21 -0
- package/dist/models/call-state-enum.js +25 -0
- package/dist/models/call-state.d.ts +129 -0
- package/dist/models/call-state.js +15 -0
- package/dist/models/call-transcription-detected-language-enum.d.ts +22 -0
- package/dist/models/call-transcription-detected-language-enum.js +26 -0
- package/dist/models/call-transcription-metadata.d.ts +36 -0
- package/dist/models/call-transcription-metadata.js +15 -0
- package/dist/models/call-transcription-response.d.ts +43 -0
- package/dist/models/call-transcription-response.js +15 -0
- package/dist/models/call-transcription-track-enum.d.ts +21 -0
- package/dist/models/call-transcription-track-enum.js +25 -0
- package/dist/models/call-transcription.d.ts +44 -0
- package/dist/models/call-transcription.js +15 -0
- package/dist/models/callback-method-enum.d.ts +21 -0
- package/dist/models/callback-method-enum.js +25 -0
- package/dist/models/code-request.d.ts +54 -0
- package/dist/models/code-request.js +15 -0
- package/dist/models/conference-completed-callback.d.ts +48 -0
- package/dist/models/conference-completed-callback.js +15 -0
- package/dist/models/conference-created-callback.d.ts +48 -0
- package/dist/models/conference-created-callback.js +15 -0
- package/dist/models/conference-member-exit-callback.d.ts +66 -0
- package/dist/models/conference-member-exit-callback.js +15 -0
- package/dist/models/conference-member-join-callback.d.ts +66 -0
- package/dist/models/conference-member-join-callback.js +15 -0
- package/dist/models/conference-member.d.ts +54 -0
- package/dist/models/conference-member.js +15 -0
- package/dist/models/conference-recording-available-callback.d.ts +103 -0
- package/dist/models/conference-recording-available-callback.js +15 -0
- package/dist/models/conference-recording-metadata.d.ts +91 -0
- package/dist/models/conference-recording-metadata.js +15 -0
- package/dist/models/conference-redirect-callback.d.ts +48 -0
- package/dist/models/conference-redirect-callback.js +15 -0
- package/dist/models/conference-state-enum.d.ts +21 -0
- package/dist/models/conference-state-enum.js +25 -0
- package/dist/models/conference.d.ts +68 -0
- package/dist/models/conference.js +15 -0
- package/dist/models/create-call-response.d.ts +145 -0
- package/dist/models/create-call-response.js +15 -0
- package/dist/models/create-call.d.ts +146 -0
- package/dist/models/create-call.js +15 -0
- package/dist/models/create-lookup-response.d.ts +31 -0
- package/dist/models/create-lookup-response.js +15 -0
- package/dist/models/create-message-request-error.d.ts +37 -0
- package/dist/models/create-message-request-error.js +15 -0
- package/dist/models/deferred-result.d.ts +30 -0
- package/dist/models/deferred-result.js +15 -0
- package/dist/models/disconnect-callback.d.ts +121 -0
- package/dist/models/disconnect-callback.js +15 -0
- package/dist/models/diversion.d.ts +60 -0
- package/dist/models/diversion.js +15 -0
- package/dist/models/dtmf-callback.d.ts +121 -0
- package/dist/models/dtmf-callback.js +15 -0
- package/dist/models/field-error.d.ts +30 -0
- package/dist/models/field-error.js +15 -0
- package/dist/models/file-format-enum.d.ts +21 -0
- package/dist/models/file-format-enum.js +25 -0
- package/dist/models/gather-callback.d.ts +127 -0
- package/dist/models/gather-callback.js +15 -0
- package/dist/models/inbound-message-callback-message.d.ts +92 -0
- package/dist/models/inbound-message-callback-message.js +15 -0
- package/dist/models/inbound-message-callback.d.ts +49 -0
- package/dist/models/inbound-message-callback.js +15 -0
- package/dist/models/index.d.ts +94 -0
- package/dist/models/index.js +110 -0
- package/dist/models/initiate-callback.d.ts +93 -0
- package/dist/models/initiate-callback.js +15 -0
- package/dist/models/list-message-direction-enum.d.ts +21 -0
- package/dist/models/list-message-direction-enum.js +25 -0
- package/dist/models/list-message-item.d.ts +123 -0
- package/dist/models/list-message-item.js +15 -0
- package/dist/models/lookup-request.d.ts +24 -0
- package/dist/models/lookup-request.js +15 -0
- package/dist/models/lookup-result.d.ts +72 -0
- package/dist/models/lookup-result.js +15 -0
- package/dist/models/lookup-status-enum.d.ts +23 -0
- package/dist/models/lookup-status-enum.js +27 -0
- package/dist/models/lookup-status.d.ts +44 -0
- package/dist/models/lookup-status.js +15 -0
- package/dist/models/machine-detection-complete-callback.d.ts +104 -0
- package/dist/models/machine-detection-complete-callback.js +15 -0
- package/dist/models/machine-detection-configuration.d.ts +110 -0
- package/dist/models/machine-detection-configuration.js +15 -0
- package/dist/models/machine-detection-mode-enum.d.ts +21 -0
- package/dist/models/machine-detection-mode-enum.js +25 -0
- package/dist/models/machine-detection-result.d.ts +30 -0
- package/dist/models/machine-detection-result.js +15 -0
- package/dist/models/media.d.ts +36 -0
- package/dist/models/media.js +15 -0
- package/dist/models/message-delivered-callback-message.d.ts +92 -0
- package/dist/models/message-delivered-callback-message.js +15 -0
- package/dist/models/message-delivered-callback.d.ts +49 -0
- package/dist/models/message-delivered-callback.js +15 -0
- package/dist/models/message-direction-enum.d.ts +21 -0
- package/dist/models/message-direction-enum.js +25 -0
- package/dist/models/message-failed-callback-message.d.ts +92 -0
- package/dist/models/message-failed-callback-message.js +15 -0
- package/dist/models/message-failed-callback.d.ts +55 -0
- package/dist/models/message-failed-callback.js +15 -0
- package/dist/models/message-request.d.ts +67 -0
- package/dist/models/message-request.js +15 -0
- package/dist/models/message-sending-callback-message.d.ts +92 -0
- package/dist/models/message-sending-callback-message.js +15 -0
- package/dist/models/message-sending-callback.d.ts +49 -0
- package/dist/models/message-sending-callback.js +15 -0
- package/dist/models/message-status-enum.d.ts +27 -0
- package/dist/models/message-status-enum.js +31 -0
- package/dist/models/message-type-enum.d.ts +21 -0
- package/dist/models/message-type-enum.js +25 -0
- package/dist/models/message.d.ts +98 -0
- package/dist/models/message.js +15 -0
- package/dist/models/messages-list.d.ts +38 -0
- package/dist/models/messages-list.js +15 -0
- package/dist/models/messaging-code-response.d.ts +24 -0
- package/dist/models/messaging-code-response.js +15 -0
- package/dist/models/messaging-request-error.d.ts +30 -0
- package/dist/models/messaging-request-error.js +15 -0
- package/dist/models/mfa-forbidden-request-error.d.ts +24 -0
- package/dist/models/mfa-forbidden-request-error.js +15 -0
- package/dist/models/mfa-request-error.d.ts +30 -0
- package/dist/models/mfa-request-error.js +15 -0
- package/dist/models/mfa-unauthorized-request-error.d.ts +24 -0
- package/dist/models/mfa-unauthorized-request-error.js +15 -0
- package/dist/models/page-info.d.ts +42 -0
- package/dist/models/page-info.js +15 -0
- package/dist/models/priority-enum.d.ts +21 -0
- package/dist/models/priority-enum.js +25 -0
- package/dist/models/recording-available-callback.d.ts +152 -0
- package/dist/models/recording-available-callback.js +15 -0
- package/dist/models/recording-complete-callback.d.ts +152 -0
- package/dist/models/recording-complete-callback.js +15 -0
- package/dist/models/recording-state-enum.d.ts +21 -0
- package/dist/models/recording-state-enum.js +25 -0
- package/dist/models/recording-transcription-metadata.d.ts +42 -0
- package/dist/models/recording-transcription-metadata.js +15 -0
- package/dist/models/recording-transcriptions.d.ts +25 -0
- package/dist/models/recording-transcriptions.js +15 -0
- package/dist/models/redirect-callback.d.ts +115 -0
- package/dist/models/redirect-callback.js +15 -0
- package/dist/models/redirect-method-enum.d.ts +21 -0
- package/dist/models/redirect-method-enum.js +25 -0
- package/dist/models/stir-shaken.d.ts +36 -0
- package/dist/models/stir-shaken.js +15 -0
- package/dist/models/tag.d.ts +30 -0
- package/dist/models/tag.js +15 -0
- package/dist/models/tn-lookup-request-error.d.ts +24 -0
- package/dist/models/tn-lookup-request-error.js +15 -0
- package/dist/models/transcribe-recording.d.ts +61 -0
- package/dist/models/transcribe-recording.js +15 -0
- package/dist/models/transcription-available-callback.d.ts +147 -0
- package/dist/models/transcription-available-callback.js +15 -0
- package/dist/models/transcription-list.d.ts +25 -0
- package/dist/models/transcription-list.js +15 -0
- package/dist/models/transcription-metadata.d.ts +42 -0
- package/dist/models/transcription-metadata.js +15 -0
- package/dist/models/transcription.d.ts +30 -0
- package/dist/models/transcription.js +15 -0
- package/dist/models/transfer-answer-callback.d.ts +109 -0
- package/dist/models/transfer-answer-callback.js +15 -0
- package/dist/models/transfer-complete-callback.d.ts +127 -0
- package/dist/models/transfer-complete-callback.js +15 -0
- package/dist/models/transfer-disconnect-callback.d.ts +139 -0
- package/dist/models/transfer-disconnect-callback.js +15 -0
- package/dist/models/update-call-recording.d.ts +25 -0
- package/dist/models/update-call-recording.js +15 -0
- package/dist/models/update-call.d.ts +80 -0
- package/dist/models/update-call.js +15 -0
- package/dist/models/update-conference-member.d.ts +36 -0
- package/dist/models/update-conference-member.js +15 -0
- package/dist/models/update-conference.d.ts +74 -0
- package/dist/models/update-conference.js +15 -0
- package/dist/models/verify-code-request.d.ts +42 -0
- package/dist/models/verify-code-request.js +15 -0
- package/dist/models/verify-code-response.d.ts +24 -0
- package/dist/models/verify-code-response.js +15 -0
- package/dist/models/voice-api-error.d.ts +36 -0
- package/dist/models/voice-api-error.js +15 -0
- package/dist/models/voice-code-response.d.ts +24 -0
- package/dist/models/voice-code-response.js +15 -0
- package/models/call-recording-metadata.ts +6 -0
- package/models/call-transcription-metadata.ts +6 -0
- package/models/conference-recording-metadata.ts +6 -0
- package/package.json +1 -1
- package/tests/smoke/transcriptions-api.test.ts +1 -0
- package/tests/unit/api/messages-api.test.ts +1 -1
- package/tests/unit/api/recordings-api.test.ts +5 -1
- package/tests/unit/api/transcriptions-api.test.ts +1 -0
- package/tsconfig.json +1 -2
- package/global.d.ts +0 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bandwidth
|
|
3
|
+
* Bandwidth\'s Communication APIs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: letstalk@bandwidth.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MfaRequestError
|
|
16
|
+
*/
|
|
17
|
+
export interface MfaRequestError {
|
|
18
|
+
/**
|
|
19
|
+
* A message describing the error with your request.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MfaRequestError
|
|
22
|
+
*/
|
|
23
|
+
'error'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The associated requestId from AWS.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MfaRequestError
|
|
28
|
+
*/
|
|
29
|
+
'requestId'?: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Bandwidth
|
|
6
|
+
* Bandwidth\'s Communication APIs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: letstalk@bandwidth.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bandwidth
|
|
3
|
+
* Bandwidth\'s Communication APIs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: letstalk@bandwidth.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface MfaUnauthorizedRequestError
|
|
16
|
+
*/
|
|
17
|
+
export interface MfaUnauthorizedRequestError {
|
|
18
|
+
/**
|
|
19
|
+
* Unauthorized
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MfaUnauthorizedRequestError
|
|
22
|
+
*/
|
|
23
|
+
'message'?: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Bandwidth
|
|
6
|
+
* Bandwidth\'s Communication APIs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: letstalk@bandwidth.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bandwidth
|
|
3
|
+
* Bandwidth\'s Communication APIs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: letstalk@bandwidth.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PageInfo
|
|
16
|
+
*/
|
|
17
|
+
export interface PageInfo {
|
|
18
|
+
/**
|
|
19
|
+
* The link to the previous page for pagination.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PageInfo
|
|
22
|
+
*/
|
|
23
|
+
'prevPage'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The link to the next page for pagination.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PageInfo
|
|
28
|
+
*/
|
|
29
|
+
'nextPage'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The isolated pagination token for the previous page.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PageInfo
|
|
34
|
+
*/
|
|
35
|
+
'prevPageToken'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The isolated pagination token for the next page.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PageInfo
|
|
40
|
+
*/
|
|
41
|
+
'nextPageToken'?: string;
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Bandwidth
|
|
6
|
+
* Bandwidth\'s Communication APIs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: letstalk@bandwidth.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bandwidth
|
|
3
|
+
* Bandwidth\'s Communication APIs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: letstalk@bandwidth.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The priority specified by the user. Not supported on MMS.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const PriorityEnum: {
|
|
18
|
+
readonly Default: "default";
|
|
19
|
+
readonly High: "high";
|
|
20
|
+
};
|
|
21
|
+
export type PriorityEnum = typeof PriorityEnum[keyof typeof PriorityEnum];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Bandwidth
|
|
6
|
+
* Bandwidth\'s Communication APIs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: letstalk@bandwidth.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PriorityEnum = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* The priority specified by the user. Not supported on MMS.
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.PriorityEnum = {
|
|
23
|
+
Default: 'default',
|
|
24
|
+
High: 'high'
|
|
25
|
+
};
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bandwidth
|
|
3
|
+
* Bandwidth\'s Communication APIs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: letstalk@bandwidth.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { CallDirectionEnum } from './call-direction-enum';
|
|
13
|
+
import type { FileFormatEnum } from './file-format-enum';
|
|
14
|
+
/**
|
|
15
|
+
* The Recording Available event is sent after a recording has been processed. It indicates that the recording is available for download.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface RecordingAvailableCallback
|
|
18
|
+
*/
|
|
19
|
+
export interface RecordingAvailableCallback {
|
|
20
|
+
/**
|
|
21
|
+
* The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof RecordingAvailableCallback
|
|
24
|
+
*/
|
|
25
|
+
'eventType'?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof RecordingAvailableCallback
|
|
30
|
+
*/
|
|
31
|
+
'eventTime'?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The user account associated with the call.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof RecordingAvailableCallback
|
|
36
|
+
*/
|
|
37
|
+
'accountId'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The id of the application associated with the call.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof RecordingAvailableCallback
|
|
42
|
+
*/
|
|
43
|
+
'applicationId'?: string;
|
|
44
|
+
/**
|
|
45
|
+
* The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555).
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof RecordingAvailableCallback
|
|
48
|
+
*/
|
|
49
|
+
'from'?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The phone number that received the call, in E.164 format (e.g. +15555555555).
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof RecordingAvailableCallback
|
|
54
|
+
*/
|
|
55
|
+
'to'?: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {CallDirectionEnum}
|
|
59
|
+
* @memberof RecordingAvailableCallback
|
|
60
|
+
*/
|
|
61
|
+
'direction'?: CallDirectionEnum;
|
|
62
|
+
/**
|
|
63
|
+
* The call id associated with the event.
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof RecordingAvailableCallback
|
|
66
|
+
*/
|
|
67
|
+
'callId'?: string;
|
|
68
|
+
/**
|
|
69
|
+
* The URL of the call associated with the event.
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof RecordingAvailableCallback
|
|
72
|
+
*/
|
|
73
|
+
'callUrl'?: string;
|
|
74
|
+
/**
|
|
75
|
+
* (optional) If the event is related to the B leg of a <Transfer>, the call id of the original call leg that executed the <Transfer>. Otherwise, this field will not be present.
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof RecordingAvailableCallback
|
|
78
|
+
*/
|
|
79
|
+
'parentCallId'?: string;
|
|
80
|
+
/**
|
|
81
|
+
* The unique ID of this recording
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof RecordingAvailableCallback
|
|
84
|
+
*/
|
|
85
|
+
'recordingId'?: string;
|
|
86
|
+
/**
|
|
87
|
+
* The URL that can be used to download the recording. Only present if the recording is finished and may be downloaded.
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof RecordingAvailableCallback
|
|
90
|
+
*/
|
|
91
|
+
'mediaUrl'?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* (optional) If call queueing is enabled and this is an outbound call, time the call was queued, in ISO 8601 format.
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof RecordingAvailableCallback
|
|
96
|
+
*/
|
|
97
|
+
'enqueuedTime'?: string | null;
|
|
98
|
+
/**
|
|
99
|
+
* Time the call was started, in ISO 8601 format.
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof RecordingAvailableCallback
|
|
102
|
+
*/
|
|
103
|
+
'startTime'?: string;
|
|
104
|
+
/**
|
|
105
|
+
* The time that the recording ended in ISO-8601 format
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof RecordingAvailableCallback
|
|
108
|
+
*/
|
|
109
|
+
'endTime'?: string;
|
|
110
|
+
/**
|
|
111
|
+
* The duration of the recording in ISO-8601 format
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof RecordingAvailableCallback
|
|
114
|
+
*/
|
|
115
|
+
'duration'?: string;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {FileFormatEnum}
|
|
119
|
+
* @memberof RecordingAvailableCallback
|
|
120
|
+
*/
|
|
121
|
+
'fileFormat'?: FileFormatEnum;
|
|
122
|
+
/**
|
|
123
|
+
* Always `1` for conference recordings; multi-channel recordings are not supported on conferences.
|
|
124
|
+
* @type {number}
|
|
125
|
+
* @memberof RecordingAvailableCallback
|
|
126
|
+
*/
|
|
127
|
+
'channels'?: number;
|
|
128
|
+
/**
|
|
129
|
+
* (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof RecordingAvailableCallback
|
|
132
|
+
*/
|
|
133
|
+
'tag'?: string | null;
|
|
134
|
+
/**
|
|
135
|
+
* The current status of the process. For recording, current possible values are \'processing\', \'partial\', \'complete\', \'deleted\', and \'error\'. For transcriptions, current possible values are \'none\', \'processing\', \'available\', \'error\', \'timeout\', \'file-size-too-big\', and \'file-size-too-small\'. Additional states may be added in the future, so your application must be tolerant of unknown values.
|
|
136
|
+
* @type {string}
|
|
137
|
+
* @memberof RecordingAvailableCallback
|
|
138
|
+
*/
|
|
139
|
+
'status'?: string;
|
|
140
|
+
/**
|
|
141
|
+
* The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555).
|
|
142
|
+
* @type {string}
|
|
143
|
+
* @memberof RecordingAvailableCallback
|
|
144
|
+
*/
|
|
145
|
+
'transferCallerId'?: string;
|
|
146
|
+
/**
|
|
147
|
+
* The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555).
|
|
148
|
+
* @type {string}
|
|
149
|
+
* @memberof RecordingAvailableCallback
|
|
150
|
+
*/
|
|
151
|
+
'transferTo'?: string;
|
|
152
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Bandwidth
|
|
6
|
+
* Bandwidth\'s Communication APIs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: letstalk@bandwidth.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bandwidth
|
|
3
|
+
* Bandwidth\'s Communication APIs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: letstalk@bandwidth.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { CallDirectionEnum } from './call-direction-enum';
|
|
13
|
+
import type { FileFormatEnum } from './file-format-enum';
|
|
14
|
+
/**
|
|
15
|
+
* The Record Complete event is sent after a <Record> verb has executed if the call is still active. The BXML returned by this callback is executed next. When the recording is available for download, a Recording Available event will be sent.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface RecordingCompleteCallback
|
|
18
|
+
*/
|
|
19
|
+
export interface RecordingCompleteCallback {
|
|
20
|
+
/**
|
|
21
|
+
* The event type, value can be one of the following: answer, bridgeComplete, bridgeTargetComplete, conferenceCreated, conferenceRedirect, conferenceMemberJoin, conferenceMemberExit, conferenceCompleted, conferenceRecordingAvailable, disconnect, dtmf, gather, initiate, machineDetectionComplete, recordingComplete, recordingAvailable, redirect, transcriptionAvailable, transferAnswer, transferComplete, transferDisconnect.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof RecordingCompleteCallback
|
|
24
|
+
*/
|
|
25
|
+
'eventType'?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The approximate UTC date and time when the event was generated by the Bandwidth server, in ISO 8601 format. This may not be exactly the time of event execution.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof RecordingCompleteCallback
|
|
30
|
+
*/
|
|
31
|
+
'eventTime'?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The user account associated with the call.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof RecordingCompleteCallback
|
|
36
|
+
*/
|
|
37
|
+
'accountId'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The id of the application associated with the call.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof RecordingCompleteCallback
|
|
42
|
+
*/
|
|
43
|
+
'applicationId'?: string;
|
|
44
|
+
/**
|
|
45
|
+
* The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555).
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof RecordingCompleteCallback
|
|
48
|
+
*/
|
|
49
|
+
'from'?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The phone number that received the call, in E.164 format (e.g. +15555555555).
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof RecordingCompleteCallback
|
|
54
|
+
*/
|
|
55
|
+
'to'?: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {CallDirectionEnum}
|
|
59
|
+
* @memberof RecordingCompleteCallback
|
|
60
|
+
*/
|
|
61
|
+
'direction'?: CallDirectionEnum;
|
|
62
|
+
/**
|
|
63
|
+
* The call id associated with the event.
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof RecordingCompleteCallback
|
|
66
|
+
*/
|
|
67
|
+
'callId'?: string;
|
|
68
|
+
/**
|
|
69
|
+
* The URL of the call associated with the event.
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof RecordingCompleteCallback
|
|
72
|
+
*/
|
|
73
|
+
'callUrl'?: string;
|
|
74
|
+
/**
|
|
75
|
+
* (optional) If the event is related to the B leg of a <Transfer>, the call id of the original call leg that executed the <Transfer>. Otherwise, this field will not be present.
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof RecordingCompleteCallback
|
|
78
|
+
*/
|
|
79
|
+
'parentCallId'?: string;
|
|
80
|
+
/**
|
|
81
|
+
* The unique ID of this recording
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof RecordingCompleteCallback
|
|
84
|
+
*/
|
|
85
|
+
'recordingId'?: string;
|
|
86
|
+
/**
|
|
87
|
+
* The URL that can be used to download the recording. Only present if the recording is finished and may be downloaded.
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof RecordingCompleteCallback
|
|
90
|
+
*/
|
|
91
|
+
'mediaUrl'?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* (optional) If call queueing is enabled and this is an outbound call, time the call was queued, in ISO 8601 format.
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof RecordingCompleteCallback
|
|
96
|
+
*/
|
|
97
|
+
'enqueuedTime'?: string | null;
|
|
98
|
+
/**
|
|
99
|
+
* Time the call was started, in ISO 8601 format.
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof RecordingCompleteCallback
|
|
102
|
+
*/
|
|
103
|
+
'startTime'?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Time the call was answered, in ISO 8601 format.
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof RecordingCompleteCallback
|
|
108
|
+
*/
|
|
109
|
+
'answerTime'?: string | null;
|
|
110
|
+
/**
|
|
111
|
+
* The time that the recording ended in ISO-8601 format
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof RecordingCompleteCallback
|
|
114
|
+
*/
|
|
115
|
+
'endTime'?: string;
|
|
116
|
+
/**
|
|
117
|
+
* The duration of the recording in ISO-8601 format
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof RecordingCompleteCallback
|
|
120
|
+
*/
|
|
121
|
+
'duration'?: string;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {FileFormatEnum}
|
|
125
|
+
* @memberof RecordingCompleteCallback
|
|
126
|
+
*/
|
|
127
|
+
'fileFormat'?: FileFormatEnum;
|
|
128
|
+
/**
|
|
129
|
+
* Always `1` for conference recordings; multi-channel recordings are not supported on conferences.
|
|
130
|
+
* @type {number}
|
|
131
|
+
* @memberof RecordingCompleteCallback
|
|
132
|
+
*/
|
|
133
|
+
'channels'?: number;
|
|
134
|
+
/**
|
|
135
|
+
* (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
|
|
136
|
+
* @type {string}
|
|
137
|
+
* @memberof RecordingCompleteCallback
|
|
138
|
+
*/
|
|
139
|
+
'tag'?: string | null;
|
|
140
|
+
/**
|
|
141
|
+
* The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555).
|
|
142
|
+
* @type {string}
|
|
143
|
+
* @memberof RecordingCompleteCallback
|
|
144
|
+
*/
|
|
145
|
+
'transferCallerId'?: string;
|
|
146
|
+
/**
|
|
147
|
+
* The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555).
|
|
148
|
+
* @type {string}
|
|
149
|
+
* @memberof RecordingCompleteCallback
|
|
150
|
+
*/
|
|
151
|
+
'transferTo'?: string;
|
|
152
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Bandwidth
|
|
6
|
+
* Bandwidth\'s Communication APIs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: letstalk@bandwidth.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bandwidth
|
|
3
|
+
* Bandwidth\'s Communication APIs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: letstalk@bandwidth.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The recording state. Possible values: `paused` to pause an active recording `recording` to resume a paused recording
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const RecordingStateEnum: {
|
|
18
|
+
readonly Paused: "paused";
|
|
19
|
+
readonly Recording: "recording";
|
|
20
|
+
};
|
|
21
|
+
export type RecordingStateEnum = typeof RecordingStateEnum[keyof typeof RecordingStateEnum];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Bandwidth
|
|
6
|
+
* Bandwidth\'s Communication APIs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: letstalk@bandwidth.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.RecordingStateEnum = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* The recording state. Possible values: `paused` to pause an active recording `recording` to resume a paused recording
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.RecordingStateEnum = {
|
|
23
|
+
Paused: 'paused',
|
|
24
|
+
Recording: 'recording'
|
|
25
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bandwidth
|
|
3
|
+
* Bandwidth\'s Communication APIs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: letstalk@bandwidth.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* If the recording was transcribed, metadata about the transcription
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RecordingTranscriptionMetadata
|
|
16
|
+
*/
|
|
17
|
+
export interface RecordingTranscriptionMetadata {
|
|
18
|
+
/**
|
|
19
|
+
* The unique transcription ID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RecordingTranscriptionMetadata
|
|
22
|
+
*/
|
|
23
|
+
'id'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The current status of the process. For recording, current possible values are \'processing\', \'partial\', \'complete\', \'deleted\', and \'error\'. For transcriptions, current possible values are \'none\', \'processing\', \'available\', \'error\', \'timeout\', \'file-size-too-big\', and \'file-size-too-small\'. Additional states may be added in the future, so your application must be tolerant of unknown values.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RecordingTranscriptionMetadata
|
|
28
|
+
*/
|
|
29
|
+
'status'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The time that the transcription was completed
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RecordingTranscriptionMetadata
|
|
34
|
+
*/
|
|
35
|
+
'completedTime'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The URL of the [transcription](#operation/getCallTranscription)
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof RecordingTranscriptionMetadata
|
|
40
|
+
*/
|
|
41
|
+
'url'?: string;
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Bandwidth
|
|
6
|
+
* Bandwidth\'s Communication APIs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: letstalk@bandwidth.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bandwidth
|
|
3
|
+
* Bandwidth\'s Communication APIs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: letstalk@bandwidth.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Transcription } from './transcription';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RecordingTranscriptions
|
|
17
|
+
*/
|
|
18
|
+
export interface RecordingTranscriptions {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<Transcription>}
|
|
22
|
+
* @memberof RecordingTranscriptions
|
|
23
|
+
*/
|
|
24
|
+
'transcripts'?: Array<Transcription>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Bandwidth
|
|
6
|
+
* Bandwidth\'s Communication APIs
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: letstalk@bandwidth.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|