bandwidth-sdk 6.2.1 → 7.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/deploy.yml +2 -2
- package/.github/workflows/test-pr.yml +2 -2
- package/.github/workflows/test-smoke.yml +4 -4
- package/.openapi-generator/FILES +56 -16
- package/.openapi-generator/VERSION +1 -1
- package/README.md +253 -6
- package/api/calls-api.ts +0 -11
- package/api/conferences-api.ts +0 -15
- package/api/media-api.ts +0 -10
- package/api/messages-api.ts +0 -8
- package/api/mfaapi.ts +0 -9
- package/api/multi-channel-api.ts +0 -7
- package/api/phone-number-lookup-api.ts +145 -76
- package/api/recordings-api.ts +0 -16
- package/api/statistics-api.ts +0 -7
- package/api/toll-free-verification-api.ts +0 -15
- package/api/transcriptions-api.ts +0 -9
- package/bandwidth.yml +629 -299
- package/base.ts +10 -28
- package/common.ts +5 -42
- package/configuration.ts +26 -20
- package/coverage/clover.xml +1344 -1283
- package/coverage/coverage-final.json +49 -45
- package/coverage/lcov-report/index.html +26 -26
- package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +2 -35
- package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +2 -47
- package/coverage/lcov-report/node-sdk/api/index.html +28 -28
- package/coverage/lcov-report/node-sdk/api/media-api.ts.html +2 -32
- package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +2 -26
- package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +2 -29
- package/coverage/lcov-report/node-sdk/api/multi-channel-api.ts.html +65 -86
- package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +338 -131
- package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +2 -50
- package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +2 -23
- package/coverage/lcov-report/node-sdk/api/toll-free-verification-api.ts.html +2 -47
- package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +2 -29
- package/coverage/lcov-report/node-sdk/api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/base.ts.html +19 -73
- package/coverage/lcov-report/node-sdk/common.ts.html +13 -124
- package/coverage/lcov-report/node-sdk/configuration.ts.html +54 -36
- package/coverage/lcov-report/node-sdk/index.html +7 -7
- package/coverage/lcov-report/node-sdk/models/business-entity-type-enum.ts.html +2 -8
- package/coverage/lcov-report/node-sdk/models/business-registration-type-enum.ts.html +2 -8
- 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 +2 -8
- package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +2 -8
- package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +2 -8
- package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +2 -8
- package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +2 -8
- package/coverage/lcov-report/node-sdk/models/card-width-enum.ts.html +2 -17
- package/coverage/lcov-report/node-sdk/models/completed-lookup-status-enum.ts.html +166 -0
- package/coverage/lcov-report/node-sdk/models/conference-state-enum.ts.html +2 -8
- package/coverage/lcov-report/node-sdk/models/deactivation-event-enum.ts.html +169 -0
- package/coverage/lcov-report/node-sdk/models/file-format-enum.ts.html +2 -8
- package/coverage/lcov-report/node-sdk/models/in-progress-lookup-status-enum.ts.html +169 -0
- package/coverage/lcov-report/node-sdk/models/inbound-callback-type-enum.ts.html +2 -8
- package/coverage/lcov-report/node-sdk/models/index.html +67 -7
- package/coverage/lcov-report/node-sdk/models/index.ts.html +72 -12
- package/coverage/lcov-report/node-sdk/models/{lookup-status-enum.ts.html → latest-message-delivery-status-enum.ts.html} +10 -19
- package/coverage/lcov-report/node-sdk/models/line-type-enum.ts.html +169 -0
- package/coverage/lcov-report/node-sdk/models/list-message-direction-enum.ts.html +2 -8
- package/coverage/lcov-report/node-sdk/models/machine-detection-mode-enum.ts.html +2 -8
- package/coverage/lcov-report/node-sdk/models/message-direction-enum.ts.html +2 -8
- package/coverage/lcov-report/node-sdk/models/message-status-enum.ts.html +2 -8
- package/coverage/lcov-report/node-sdk/models/message-type-enum.ts.html +2 -8
- package/coverage/lcov-report/node-sdk/models/multi-channel-message-channel-enum.ts.html +2 -8
- package/coverage/lcov-report/node-sdk/models/priority-enum.ts.html +2 -8
- package/coverage/lcov-report/node-sdk/models/product-type-enum.ts.html +2 -8
- package/coverage/lcov-report/node-sdk/models/rbm-action-type-enum.ts.html +2 -17
- package/coverage/lcov-report/node-sdk/models/rbm-media-height-enum.ts.html +2 -8
- package/coverage/lcov-report/node-sdk/models/recording-state-enum.ts.html +2 -8
- package/coverage/lcov-report/node-sdk/models/redirect-method-enum.ts.html +2 -8
- package/coverage/lcov-report/node-sdk/models/standalone-card-orientation-enum.ts.html +2 -17
- package/coverage/lcov-report/node-sdk/models/status-callback-type-enum.ts.html +2 -8
- package/coverage/lcov-report/node-sdk/models/tfv-callback-status-enum.ts.html +2 -17
- package/coverage/lcov-report/node-sdk/models/tfv-status-enum.ts.html +2 -17
- package/coverage/lcov-report/node-sdk/models/thumbnail-alignment-enum.ts.html +2 -8
- package/coverage/lcov-report/node-sdk/models/webhook-subscription-type-enum.ts.html +2 -17
- package/coverage/lcov.info +2959 -2835
- package/custom_templates/README.mustache +56 -6
- package/custom_templates/common.mustache +29 -44
- package/custom_templates/configuration.mustache +26 -19
- package/custom_templates/package.mustache +1 -1
- package/dist/api/calls-api.d.ts +0 -11
- package/dist/api/calls-api.js +0 -11
- package/dist/api/conferences-api.d.ts +0 -15
- package/dist/api/conferences-api.js +0 -15
- package/dist/api/media-api.d.ts +0 -10
- package/dist/api/media-api.js +0 -10
- package/dist/api/messages-api.d.ts +0 -8
- package/dist/api/messages-api.js +0 -8
- package/dist/api/mfaapi.d.ts +0 -9
- package/dist/api/mfaapi.js +0 -9
- package/dist/api/multi-channel-api.d.ts +0 -7
- package/dist/api/multi-channel-api.js +0 -7
- package/dist/api/phone-number-lookup-api.d.ts +81 -59
- package/dist/api/phone-number-lookup-api.js +149 -73
- package/dist/api/recordings-api.d.ts +0 -16
- package/dist/api/recordings-api.js +0 -16
- package/dist/api/statistics-api.d.ts +0 -7
- package/dist/api/statistics-api.js +0 -7
- package/dist/api/toll-free-verification-api.d.ts +0 -15
- package/dist/api/toll-free-verification-api.js +0 -15
- package/dist/api/transcriptions-api.d.ts +0 -9
- package/dist/api/transcriptions-api.js +0 -9
- package/dist/base.d.ts +0 -24
- package/dist/base.js +10 -23
- package/dist/common.d.ts +0 -37
- package/dist/common.js +0 -37
- package/dist/configuration.d.ts +24 -17
- package/dist/configuration.js +2 -2
- package/dist/models/account-statistics.d.ts +0 -9
- package/dist/models/additional-denial-reason.d.ts +0 -11
- package/dist/models/address.d.ts +0 -19
- package/dist/models/answer-callback.d.ts +0 -36
- package/dist/models/async-lookup-request.d.ts +17 -0
- package/dist/models/blocked-webhook.d.ts +0 -20
- package/dist/models/bridge-complete-callback.d.ts +0 -37
- package/dist/models/bridge-target-complete-callback.d.ts +0 -31
- package/dist/models/business-entity-type-enum.d.ts +0 -2
- package/dist/models/business-entity-type-enum.js +0 -2
- package/dist/models/business-registration-type-enum.d.ts +0 -2
- package/dist/models/business-registration-type-enum.js +0 -2
- package/dist/models/call-direction-enum.d.ts +0 -2
- package/dist/models/call-direction-enum.js +0 -2
- package/dist/models/call-recording-metadata.d.ts +0 -52
- package/dist/models/call-state-enum.d.ts +0 -2
- package/dist/models/call-state-enum.js +0 -2
- package/dist/models/call-state.d.ts +0 -44
- package/dist/models/call-transcription-detected-language-enum.d.ts +0 -2
- package/dist/models/call-transcription-detected-language-enum.js +0 -2
- package/dist/models/call-transcription-metadata.d.ts +0 -11
- package/dist/models/call-transcription-response.d.ts +0 -16
- package/dist/models/call-transcription-track-enum.d.ts +0 -2
- package/dist/models/call-transcription-track-enum.js +0 -2
- package/dist/models/call-transcription.d.ts +0 -19
- package/dist/models/callback-method-enum.d.ts +0 -2
- package/dist/models/callback-method-enum.js +0 -2
- package/dist/models/callback.d.ts +0 -1
- package/dist/models/card-width-enum.d.ts +0 -5
- package/dist/models/card-width-enum.js +0 -5
- package/dist/models/code-request.d.ts +0 -17
- package/dist/models/completed-lookup-status-enum.d.ts +17 -0
- package/dist/models/completed-lookup-status-enum.js +21 -0
- package/dist/models/conference-completed-callback.d.ts +0 -12
- package/dist/models/conference-created-callback.d.ts +0 -12
- package/dist/models/conference-member-exit-callback.d.ts +0 -18
- package/dist/models/conference-member-join-callback.d.ts +0 -18
- package/dist/models/conference-member.d.ts +0 -17
- package/dist/models/conference-recording-available-callback.d.ts +0 -33
- package/dist/models/conference-recording-metadata.d.ts +0 -32
- package/dist/models/conference-redirect-callback.d.ts +0 -12
- package/dist/models/conference-state-enum.d.ts +0 -2
- package/dist/models/conference-state-enum.js +0 -2
- package/dist/models/conference.d.ts +0 -24
- package/dist/models/contact.d.ts +0 -16
- package/dist/models/create-async-bulk-lookup-response-data.d.ts +22 -0
- package/dist/models/create-async-bulk-lookup-response.d.ts +22 -0
- package/dist/models/create-call-response.d.ts +0 -56
- package/dist/models/create-call.d.ts +0 -59
- package/dist/models/create-message-request-error.d.ts +0 -20
- package/dist/models/create-multi-channel-message-response.d.ts +0 -20
- package/dist/models/create-sync-lookup-response-data.d.ts +27 -0
- package/dist/models/create-sync-lookup-response.d.ts +19 -0
- package/dist/models/{multi-channel-message-response-data-channel-list-inner.d.ts → deactivation-event-enum.d.ts} +5 -4
- package/dist/models/deactivation-event-enum.js +22 -0
- package/dist/models/disconnect-callback.d.ts +0 -39
- package/dist/models/diversion.d.ts +0 -19
- package/dist/models/dtmf-callback.d.ts +0 -39
- package/dist/models/error-object.d.ts +0 -14
- package/dist/models/error-source.d.ts +0 -10
- package/dist/models/failure-webhook.d.ts +0 -17
- package/dist/models/field-error.d.ts +0 -9
- package/dist/models/file-format-enum.d.ts +0 -2
- package/dist/models/file-format-enum.js +0 -2
- package/dist/models/gather-callback.d.ts +0 -41
- package/dist/models/get-async-bulk-lookup-response-data.d.ts +27 -0
- package/dist/models/get-async-bulk-lookup-response.d.ts +19 -0
- package/dist/models/{lookup-status-enum.d.ts → in-progress-lookup-status-enum.d.ts} +2 -7
- package/dist/models/{lookup-status-enum.js → in-progress-lookup-status-enum.js} +2 -7
- package/dist/models/inbound-callback-message.d.ts +0 -1
- package/dist/models/inbound-callback-type-enum.d.ts +0 -2
- package/dist/models/inbound-callback-type-enum.js +0 -2
- package/dist/models/inbound-callback.d.ts +0 -23
- package/dist/models/index.d.ts +28 -8
- package/dist/models/index.js +28 -8
- package/dist/models/initiate-callback.d.ts +0 -37
- package/dist/models/latest-message-delivery-status-enum.d.ts +20 -0
- package/dist/models/latest-message-delivery-status-enum.js +24 -0
- package/dist/models/line-type-enum.d.ts +18 -0
- package/dist/models/line-type-enum.js +22 -0
- package/dist/models/link-schema.d.ts +25 -0
- package/dist/models/link-schema.js +15 -0
- package/dist/models/link.d.ts +0 -15
- package/dist/models/links-object.d.ts +0 -13
- package/dist/models/list-message-direction-enum.d.ts +0 -2
- package/dist/models/list-message-direction-enum.js +0 -2
- package/dist/models/list-message-item.d.ts +0 -60
- package/dist/models/lookup-error-response.d.ts +21 -0
- package/dist/models/lookup-error-response.js +15 -0
- package/dist/models/{tn-lookup-request-error.d.ts → lookup-error-schema-meta.d.ts} +7 -9
- package/dist/models/lookup-error-schema-meta.js +15 -0
- package/dist/models/lookup-error-schema.d.ts +27 -0
- package/dist/models/lookup-error-schema.js +15 -0
- package/dist/models/lookup-result.d.ts +22 -40
- package/dist/models/machine-detection-complete-callback.d.ts +0 -36
- package/dist/models/machine-detection-configuration.d.ts +0 -41
- package/dist/models/machine-detection-mode-enum.d.ts +0 -2
- package/dist/models/machine-detection-mode-enum.js +0 -2
- package/dist/models/machine-detection-result.d.ts +0 -6
- package/dist/models/media.d.ts +0 -20
- package/dist/models/message-direction-enum.d.ts +0 -2
- package/dist/models/message-direction-enum.js +0 -2
- package/dist/models/message-request.d.ts +0 -24
- package/dist/models/message-status-enum.d.ts +0 -2
- package/dist/models/message-status-enum.js +0 -2
- package/dist/models/message-type-enum.d.ts +0 -2
- package/dist/models/message-type-enum.js +0 -2
- package/dist/models/message.d.ts +0 -37
- package/dist/models/messages-list.d.ts +0 -17
- package/dist/models/messaging-code-response.d.ts +0 -7
- package/dist/models/messaging-request-error.d.ts +0 -15
- package/dist/models/mfa-forbidden-request-error.d.ts +0 -7
- package/dist/models/mfa-request-error.d.ts +0 -9
- package/dist/models/mfa-unauthorized-request-error.d.ts +0 -7
- package/dist/models/mms-message-content-file.d.ts +0 -7
- package/dist/models/mms-message-content.d.ts +0 -12
- package/dist/models/model-error.d.ts +0 -20
- package/dist/models/multi-channel-action-calendar-event.d.ts +0 -1
- package/dist/models/multi-channel-action.d.ts +48 -22
- package/dist/models/{lookup-request.d.ts → multi-channel-channel-list-mmsobject.d.ts} +3 -11
- package/dist/models/multi-channel-channel-list-mmsobject.js +15 -0
- package/dist/models/multi-channel-channel-list-mmsresponse-object.d.ts +17 -0
- package/dist/models/multi-channel-channel-list-mmsresponse-object.js +15 -0
- package/dist/models/multi-channel-channel-list-object-base.d.ts +23 -0
- package/dist/models/multi-channel-channel-list-object-base.js +15 -0
- package/dist/models/multi-channel-channel-list-owner-object.d.ts +17 -0
- package/dist/models/multi-channel-channel-list-owner-object.js +15 -0
- package/dist/models/{multi-channel-channel-list-object-content.d.ts → multi-channel-channel-list-rbmobject-all-of-content.d.ts} +2 -5
- package/dist/models/multi-channel-channel-list-rbmobject-all-of-content.js +15 -0
- package/dist/models/multi-channel-channel-list-rbmobject.d.ts +16 -0
- package/dist/models/multi-channel-channel-list-rbmobject.js +15 -0
- package/dist/models/multi-channel-channel-list-rbmresponse-object.d.ts +17 -0
- package/dist/models/multi-channel-channel-list-rbmresponse-object.js +15 -0
- package/dist/models/multi-channel-channel-list-request-object.d.ts +25 -0
- package/dist/models/multi-channel-channel-list-request-object.js +15 -0
- package/dist/models/{multi-channel-channel-list-object.d.ts → multi-channel-channel-list-response-object.d.ts} +5 -20
- package/dist/models/multi-channel-channel-list-response-object.js +15 -0
- package/dist/models/multi-channel-channel-list-smsobject.d.ts +16 -0
- package/dist/models/multi-channel-channel-list-smsobject.js +15 -0
- package/dist/models/multi-channel-channel-list-smsresponse-object.d.ts +17 -0
- package/dist/models/multi-channel-channel-list-smsresponse-object.js +15 -0
- package/dist/models/multi-channel-error.d.ts +0 -20
- package/dist/models/multi-channel-message-channel-enum.d.ts +0 -2
- package/dist/models/multi-channel-message-channel-enum.js +0 -2
- package/dist/models/multi-channel-message-content.d.ts +0 -12
- package/dist/models/multi-channel-message-request.d.ts +2 -17
- package/dist/models/multi-channel-message-response-data.d.ts +2 -26
- package/dist/models/opt-in-workflow.d.ts +0 -20
- package/dist/models/page-info.d.ts +0 -13
- package/dist/models/priority-enum.d.ts +0 -2
- package/dist/models/priority-enum.js +0 -2
- package/dist/models/product-type-enum.d.ts +0 -2
- package/dist/models/product-type-enum.js +0 -2
- package/dist/models/rbm-action-base.d.ts +0 -14
- package/dist/models/rbm-action-dial.d.ts +0 -1
- package/dist/models/rbm-action-open-url.d.ts +0 -1
- package/dist/models/rbm-action-type-enum.d.ts +0 -5
- package/dist/models/rbm-action-type-enum.js +0 -5
- package/dist/models/rbm-action-view-location.d.ts +0 -1
- package/dist/models/rbm-card-content-media.d.ts +0 -1
- package/dist/models/rbm-card-content.d.ts +0 -16
- package/dist/models/rbm-location-response.d.ts +0 -9
- package/dist/models/rbm-media-height-enum.d.ts +0 -2
- package/dist/models/rbm-media-height-enum.js +0 -2
- package/dist/models/rbm-message-carousel-card.d.ts +0 -17
- package/dist/models/rbm-message-content-file.d.ts +0 -9
- package/dist/models/rbm-message-content-rich-card.d.ts +0 -1
- package/dist/models/rbm-message-content-text.d.ts +0 -9
- package/dist/models/rbm-message-media.d.ts +0 -12
- package/dist/models/rbm-standalone-card.d.ts +0 -22
- package/dist/models/rbm-suggestion-response.d.ts +0 -9
- package/dist/models/recording-available-callback.d.ts +0 -52
- package/dist/models/recording-complete-callback.d.ts +0 -52
- package/dist/models/recording-state-enum.d.ts +0 -2
- package/dist/models/recording-state-enum.js +0 -2
- package/dist/models/recording-transcription-metadata.d.ts +0 -10
- package/dist/models/recording-transcriptions.d.ts +0 -10
- package/dist/models/redirect-callback.d.ts +0 -37
- package/dist/models/redirect-method-enum.d.ts +0 -2
- package/dist/models/redirect-method-enum.js +0 -2
- package/dist/models/sms-message-content.d.ts +0 -7
- package/dist/models/standalone-card-orientation-enum.d.ts +0 -5
- package/dist/models/standalone-card-orientation-enum.js +0 -5
- package/dist/models/status-callback-message.d.ts +0 -43
- package/dist/models/status-callback-type-enum.d.ts +0 -2
- package/dist/models/status-callback-type-enum.js +0 -2
- package/dist/models/status-callback.d.ts +0 -27
- package/dist/models/stir-shaken.d.ts +0 -11
- package/dist/models/sync-lookup-request.d.ts +17 -0
- package/dist/models/sync-lookup-request.js +15 -0
- package/dist/models/telephone-number.d.ts +0 -7
- package/dist/models/tfv-basic-authentication.d.ts +0 -15
- package/dist/models/tfv-callback-status-enum.d.ts +0 -5
- package/dist/models/tfv-callback-status-enum.js +0 -5
- package/dist/models/tfv-error.d.ts +0 -14
- package/dist/models/tfv-status-enum.d.ts +0 -5
- package/dist/models/tfv-status-enum.js +0 -5
- package/dist/models/tfv-status.d.ts +0 -31
- package/dist/models/tfv-submission-info.d.ts +0 -50
- package/dist/models/tfv-submission-wrapper.d.ts +0 -10
- package/dist/models/thumbnail-alignment-enum.d.ts +0 -2
- package/dist/models/thumbnail-alignment-enum.js +0 -2
- package/dist/models/transcribe-recording.d.ts +0 -22
- package/dist/models/transcription-available-callback.d.ts +0 -53
- package/dist/models/transcription.d.ts +0 -9
- package/dist/models/transfer-answer-callback.d.ts +0 -35
- package/dist/models/transfer-complete-callback.d.ts +0 -41
- package/dist/models/transfer-disconnect-callback.d.ts +0 -45
- package/dist/models/update-call-recording.d.ts +0 -10
- package/dist/models/update-call.d.ts +0 -34
- package/dist/models/update-conference-member.d.ts +0 -11
- package/dist/models/update-conference.d.ts +0 -32
- package/dist/models/verification-denial-webhook.d.ts +0 -28
- package/dist/models/verification-request.d.ts +0 -59
- package/dist/models/verification-update-request.d.ts +0 -54
- package/dist/models/verification-webhook.d.ts +0 -16
- package/dist/models/verify-code-request.d.ts +0 -13
- package/dist/models/verify-code-response.d.ts +0 -7
- package/dist/models/voice-api-error.d.ts +0 -20
- package/dist/models/voice-code-response.d.ts +0 -7
- package/dist/models/webhook-subscription-basic-authentication.d.ts +0 -12
- package/dist/models/webhook-subscription-request-schema.d.ts +0 -14
- package/dist/models/webhook-subscription-type-enum.d.ts +0 -5
- package/dist/models/webhook-subscription-type-enum.js +0 -5
- package/dist/models/webhook-subscription.d.ts +0 -34
- package/dist/models/webhook-subscriptions-list-body.d.ts +0 -17
- package/docs/{TnLookupRequestError.md → AsyncLookupRequest.md} +5 -5
- package/docs/CompletedLookupStatusEnum.md +12 -0
- package/docs/CreateAsyncBulkLookupResponse.md +24 -0
- package/docs/{CreateLookupResponse.md → CreateAsyncBulkLookupResponseData.md} +5 -5
- package/docs/CreateSyncLookupResponse.md +24 -0
- package/docs/CreateSyncLookupResponseData.md +25 -0
- package/docs/DeactivationEventEnum.md +9 -0
- package/docs/GetAsyncBulkLookupResponse.md +24 -0
- package/docs/GetAsyncBulkLookupResponseData.md +25 -0
- package/docs/{LookupStatusEnum.md → InProgressLookupStatusEnum.md} +1 -2
- package/docs/LatestMessageDeliveryStatusEnum.md +13 -0
- package/docs/LineTypeEnum.md +14 -0
- package/docs/LinkSchema.md +24 -0
- package/docs/LookupErrorResponse.md +24 -0
- package/docs/LookupErrorSchema.md +26 -0
- package/docs/LookupErrorSchemaMeta.md +24 -0
- package/docs/LookupResult.md +22 -18
- package/docs/{MultiChannelChannelListObject.md → MultiChannelChannelListMMSObject.md} +4 -4
- package/docs/{MultiChannelMessageResponseDataChannelListInner.md → MultiChannelChannelListMMSResponseObject.md} +4 -4
- package/docs/MultiChannelChannelListObjectBase.md +24 -0
- package/docs/MultiChannelChannelListOwnerObject.md +20 -0
- package/docs/MultiChannelChannelListRBMObject.md +26 -0
- package/docs/{MultiChannelChannelListObjectContent.md → MultiChannelChannelListRBMObjectAllOfContent.md} +5 -5
- package/docs/MultiChannelChannelListRBMResponseObject.md +28 -0
- package/docs/MultiChannelChannelListRequestObject.md +26 -0
- package/docs/MultiChannelChannelListResponseObject.md +28 -0
- package/docs/MultiChannelChannelListSMSObject.md +26 -0
- package/docs/MultiChannelChannelListSMSResponseObject.md +28 -0
- package/docs/MultiChannelMessageRequest.md +1 -1
- package/docs/MultiChannelMessageResponseData.md +1 -1
- package/docs/PhoneNumberLookupApi.md +81 -34
- package/docs/{LookupRequest.md → SyncLookupRequest.md} +5 -6
- package/models/account-statistics.ts +0 -9
- package/models/additional-denial-reason.ts +0 -11
- package/models/address.ts +0 -19
- package/models/answer-callback.ts +0 -36
- package/models/async-lookup-request.ts +23 -0
- package/models/blocked-webhook.ts +0 -20
- package/models/bridge-complete-callback.ts +0 -37
- package/models/bridge-target-complete-callback.ts +0 -31
- package/models/business-entity-type-enum.ts +0 -2
- package/models/business-registration-type-enum.ts +0 -2
- package/models/call-direction-enum.ts +0 -2
- package/models/call-recording-metadata.ts +0 -52
- package/models/call-state-enum.ts +0 -2
- package/models/call-state.ts +0 -44
- package/models/call-transcription-detected-language-enum.ts +0 -2
- package/models/call-transcription-metadata.ts +0 -11
- package/models/call-transcription-response.ts +0 -16
- package/models/call-transcription-track-enum.ts +0 -2
- package/models/call-transcription.ts +0 -19
- package/models/callback-method-enum.ts +0 -2
- package/models/callback.ts +0 -1
- package/models/card-width-enum.ts +0 -5
- package/models/code-request.ts +0 -17
- package/models/completed-lookup-status-enum.ts +27 -0
- package/models/conference-completed-callback.ts +0 -12
- package/models/conference-created-callback.ts +0 -12
- package/models/conference-member-exit-callback.ts +0 -18
- package/models/conference-member-join-callback.ts +0 -18
- package/models/conference-member.ts +0 -17
- package/models/conference-recording-available-callback.ts +0 -33
- package/models/conference-recording-metadata.ts +0 -32
- package/models/conference-redirect-callback.ts +0 -12
- package/models/conference-state-enum.ts +0 -2
- package/models/conference.ts +0 -24
- package/models/contact.ts +0 -16
- package/models/create-async-bulk-lookup-response-data.ts +32 -0
- package/models/create-async-bulk-lookup-response.ts +34 -0
- package/models/create-call-response.ts +0 -56
- package/models/create-call.ts +0 -59
- package/models/create-message-request-error.ts +0 -20
- package/models/create-multi-channel-message-response.ts +0 -20
- package/models/{create-lookup-response.ts → create-sync-lookup-response-data.ts} +9 -11
- package/models/create-sync-lookup-response.ts +31 -0
- package/models/deactivation-event-enum.ts +28 -0
- package/models/disconnect-callback.ts +0 -39
- package/models/diversion.ts +0 -19
- package/models/dtmf-callback.ts +0 -39
- package/models/error-object.ts +0 -14
- package/models/error-source.ts +0 -10
- package/models/failure-webhook.ts +0 -17
- package/models/field-error.ts +0 -9
- package/models/file-format-enum.ts +0 -2
- package/models/gather-callback.ts +0 -41
- package/models/get-async-bulk-lookup-response-data.ts +39 -0
- package/models/get-async-bulk-lookup-response.ts +31 -0
- package/models/{lookup-status-enum.ts → in-progress-lookup-status-enum.ts} +2 -7
- package/models/inbound-callback-message.ts +0 -1
- package/models/inbound-callback-type-enum.ts +0 -2
- package/models/inbound-callback.ts +0 -23
- package/models/index.ts +28 -8
- package/models/initiate-callback.ts +0 -37
- package/models/latest-message-delivery-status-enum.ts +30 -0
- package/models/line-type-enum.ts +28 -0
- package/models/{lookup-request.ts → link-schema.ts} +11 -10
- package/models/link.ts +0 -15
- package/models/links-object.ts +0 -13
- package/models/list-message-direction-enum.ts +0 -2
- package/models/list-message-item.ts +0 -60
- package/models/lookup-error-response.ts +31 -0
- package/models/{tn-lookup-request-error.ts → lookup-error-schema-meta.ts} +7 -9
- package/models/lookup-error-schema.ts +35 -0
- package/models/lookup-result.ts +30 -40
- package/models/machine-detection-complete-callback.ts +0 -36
- package/models/machine-detection-configuration.ts +0 -41
- package/models/machine-detection-mode-enum.ts +0 -2
- package/models/machine-detection-result.ts +0 -6
- package/models/media.ts +0 -20
- package/models/message-direction-enum.ts +0 -2
- package/models/message-request.ts +0 -24
- package/models/message-status-enum.ts +0 -2
- package/models/message-type-enum.ts +0 -2
- package/models/message.ts +0 -37
- package/models/messages-list.ts +0 -17
- package/models/messaging-code-response.ts +0 -7
- package/models/messaging-request-error.ts +0 -15
- package/models/mfa-forbidden-request-error.ts +0 -7
- package/models/mfa-request-error.ts +0 -9
- package/models/mfa-unauthorized-request-error.ts +0 -7
- package/models/mms-message-content-file.ts +0 -7
- package/models/mms-message-content.ts +0 -12
- package/models/model-error.ts +0 -20
- package/models/multi-channel-action-calendar-event.ts +0 -1
- package/models/multi-channel-action.ts +48 -5
- package/models/{multi-channel-message-response-data-channel-list-inner.ts → multi-channel-channel-list-mmsobject.ts} +4 -5
- package/models/multi-channel-channel-list-mmsresponse-object.ts +34 -0
- package/models/multi-channel-channel-list-object-base.ts +33 -0
- package/models/multi-channel-channel-list-owner-object.ts +23 -0
- package/models/{multi-channel-channel-list-object-content.ts → multi-channel-channel-list-rbmobject-all-of-content.ts} +5 -12
- package/models/multi-channel-channel-list-rbmobject.ts +31 -0
- package/models/multi-channel-channel-list-rbmresponse-object.ts +34 -0
- package/models/{multi-channel-channel-list-object.ts → multi-channel-channel-list-request-object.ts} +12 -22
- package/models/multi-channel-channel-list-response-object.ts +50 -0
- package/models/multi-channel-channel-list-smsobject.ts +31 -0
- package/models/multi-channel-channel-list-smsresponse-object.ts +34 -0
- package/models/multi-channel-error.ts +0 -20
- package/models/multi-channel-message-channel-enum.ts +0 -2
- package/models/multi-channel-message-content.ts +0 -12
- package/models/multi-channel-message-request.ts +2 -17
- package/models/multi-channel-message-response-data.ts +2 -26
- package/models/opt-in-workflow.ts +0 -20
- package/models/page-info.ts +0 -13
- package/models/priority-enum.ts +0 -2
- package/models/product-type-enum.ts +0 -2
- package/models/rbm-action-base.ts +0 -14
- package/models/rbm-action-dial.ts +0 -1
- package/models/rbm-action-open-url.ts +0 -1
- package/models/rbm-action-type-enum.ts +0 -5
- package/models/rbm-action-view-location.ts +0 -1
- package/models/rbm-card-content-media.ts +0 -1
- package/models/rbm-card-content.ts +0 -16
- package/models/rbm-location-response.ts +0 -9
- package/models/rbm-media-height-enum.ts +0 -2
- package/models/rbm-message-carousel-card.ts +0 -17
- package/models/rbm-message-content-file.ts +0 -9
- package/models/rbm-message-content-rich-card.ts +0 -1
- package/models/rbm-message-content-text.ts +0 -9
- package/models/rbm-message-media.ts +0 -12
- package/models/rbm-standalone-card.ts +0 -22
- package/models/rbm-suggestion-response.ts +0 -9
- package/models/recording-available-callback.ts +0 -52
- package/models/recording-complete-callback.ts +0 -52
- package/models/recording-state-enum.ts +0 -2
- package/models/recording-transcription-metadata.ts +0 -10
- package/models/recording-transcriptions.ts +0 -10
- package/models/redirect-callback.ts +0 -37
- package/models/redirect-method-enum.ts +0 -2
- package/models/sms-message-content.ts +0 -7
- package/models/standalone-card-orientation-enum.ts +0 -5
- package/models/status-callback-message.ts +0 -43
- package/models/status-callback-type-enum.ts +0 -2
- package/models/status-callback.ts +0 -27
- package/models/stir-shaken.ts +0 -11
- package/models/sync-lookup-request.ts +23 -0
- package/models/telephone-number.ts +0 -7
- package/models/tfv-basic-authentication.ts +0 -15
- package/models/tfv-callback-status-enum.ts +0 -5
- package/models/tfv-error.ts +0 -14
- package/models/tfv-status-enum.ts +0 -5
- package/models/tfv-status.ts +0 -31
- package/models/tfv-submission-info.ts +0 -50
- package/models/tfv-submission-wrapper.ts +0 -10
- package/models/thumbnail-alignment-enum.ts +0 -2
- package/models/transcribe-recording.ts +0 -22
- package/models/transcription-available-callback.ts +0 -53
- package/models/transcription.ts +0 -9
- package/models/transfer-answer-callback.ts +0 -35
- package/models/transfer-complete-callback.ts +0 -41
- package/models/transfer-disconnect-callback.ts +0 -45
- package/models/update-call-recording.ts +0 -10
- package/models/update-call.ts +0 -34
- package/models/update-conference-member.ts +0 -11
- package/models/update-conference.ts +0 -32
- package/models/verification-denial-webhook.ts +0 -28
- package/models/verification-request.ts +0 -59
- package/models/verification-update-request.ts +0 -54
- package/models/verification-webhook.ts +0 -16
- package/models/verify-code-request.ts +0 -13
- package/models/verify-code-response.ts +0 -7
- package/models/voice-api-error.ts +0 -20
- package/models/voice-code-response.ts +0 -7
- package/models/webhook-subscription-basic-authentication.ts +0 -12
- package/models/webhook-subscription-request-schema.ts +0 -14
- package/models/webhook-subscription-type-enum.ts +0 -5
- package/models/webhook-subscription.ts +0 -34
- package/models/webhook-subscriptions-list-body.ts +0 -17
- package/openapitools.json +1 -1
- package/package.json +2 -2
- package/tests/smoke/multi-channel-api.test.ts +117 -10
- package/tests/smoke/phone-number-lookup-api.test.ts +64 -61
- package/tests/unit/api/multi-channel-api.test.ts +27 -10
- package/tests/unit/api/phone-number-lookup-api.test.ts +64 -58
- package/tests/unit/models/completed-lookup-status-enum.test.ts +9 -0
- package/tests/unit/models/deactivation-event-enum.test.ts +7 -0
- package/tests/unit/models/in-progress-lookup-status-enum.test.ts +11 -0
- package/tests/unit/models/latest-message-delivery-status-enum.test.ts +10 -0
- package/tests/unit/models/line-type-enum.test.ts +11 -0
- package/dist/models/create-lookup-response.d.ts +0 -31
- package/dist/models/lookup-status.d.ts +0 -44
- package/docs/LookupStatus.md +0 -27
- package/models/lookup-status.ts +0 -56
- package/tests/unit/models/lookup-status-enum.test.ts +0 -10
- /package/dist/models/{create-lookup-response.js → async-lookup-request.js} +0 -0
- /package/dist/models/{lookup-request.js → create-async-bulk-lookup-response-data.js} +0 -0
- /package/dist/models/{lookup-status.js → create-async-bulk-lookup-response.js} +0 -0
- /package/dist/models/{multi-channel-channel-list-object-content.js → create-sync-lookup-response-data.js} +0 -0
- /package/dist/models/{multi-channel-channel-list-object.js → create-sync-lookup-response.js} +0 -0
- /package/dist/models/{multi-channel-message-response-data-channel-list-inner.js → get-async-bulk-lookup-response-data.js} +0 -0
- /package/dist/models/{tn-lookup-request-error.js → get-async-bulk-lookup-response.js} +0 -0
|
@@ -13,140 +13,88 @@ import type { CallDirectionEnum } from './call-direction-enum';
|
|
|
13
13
|
import type { FileFormatEnum } from './file-format-enum';
|
|
14
14
|
/**
|
|
15
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
16
|
*/
|
|
19
17
|
export interface RecordingAvailableCallback {
|
|
20
18
|
/**
|
|
21
19
|
* 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
20
|
*/
|
|
25
21
|
'eventType'?: string;
|
|
26
22
|
/**
|
|
27
23
|
* 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
24
|
*/
|
|
31
25
|
'eventTime'?: string;
|
|
32
26
|
/**
|
|
33
27
|
* The user account associated with the call.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof RecordingAvailableCallback
|
|
36
28
|
*/
|
|
37
29
|
'accountId'?: string;
|
|
38
30
|
/**
|
|
39
31
|
* The id of the application associated with the call.
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof RecordingAvailableCallback
|
|
42
32
|
*/
|
|
43
33
|
'applicationId'?: string;
|
|
44
34
|
/**
|
|
45
35
|
* 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
36
|
*/
|
|
49
37
|
'from'?: string;
|
|
50
38
|
/**
|
|
51
39
|
* The phone number that received the call, in E.164 format (e.g. +15555555555).
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof RecordingAvailableCallback
|
|
54
40
|
*/
|
|
55
41
|
'to'?: string;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {CallDirectionEnum}
|
|
59
|
-
* @memberof RecordingAvailableCallback
|
|
60
|
-
*/
|
|
61
42
|
'direction'?: CallDirectionEnum;
|
|
62
43
|
/**
|
|
63
44
|
* The call id associated with the event.
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof RecordingAvailableCallback
|
|
66
45
|
*/
|
|
67
46
|
'callId'?: string;
|
|
68
47
|
/**
|
|
69
48
|
* The URL of the call associated with the event.
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof RecordingAvailableCallback
|
|
72
49
|
*/
|
|
73
50
|
'callUrl'?: string;
|
|
74
51
|
/**
|
|
75
52
|
* (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
53
|
*/
|
|
79
54
|
'parentCallId'?: string;
|
|
80
55
|
/**
|
|
81
56
|
* The unique ID of this recording
|
|
82
|
-
* @type {string}
|
|
83
|
-
* @memberof RecordingAvailableCallback
|
|
84
57
|
*/
|
|
85
58
|
'recordingId'?: string;
|
|
86
59
|
/**
|
|
87
60
|
* 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
61
|
*/
|
|
91
62
|
'mediaUrl'?: string | null;
|
|
92
63
|
/**
|
|
93
64
|
* (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
65
|
*/
|
|
97
66
|
'enqueuedTime'?: string | null;
|
|
98
67
|
/**
|
|
99
68
|
* Time the call was started, in ISO 8601 format.
|
|
100
|
-
* @type {string}
|
|
101
|
-
* @memberof RecordingAvailableCallback
|
|
102
69
|
*/
|
|
103
70
|
'startTime'?: string;
|
|
104
71
|
/**
|
|
105
72
|
* The time that the recording ended in ISO-8601 format
|
|
106
|
-
* @type {string}
|
|
107
|
-
* @memberof RecordingAvailableCallback
|
|
108
73
|
*/
|
|
109
74
|
'endTime'?: string;
|
|
110
75
|
/**
|
|
111
76
|
* The duration of the recording in ISO-8601 format
|
|
112
|
-
* @type {string}
|
|
113
|
-
* @memberof RecordingAvailableCallback
|
|
114
77
|
*/
|
|
115
78
|
'duration'?: string;
|
|
116
|
-
/**
|
|
117
|
-
*
|
|
118
|
-
* @type {FileFormatEnum}
|
|
119
|
-
* @memberof RecordingAvailableCallback
|
|
120
|
-
*/
|
|
121
79
|
'fileFormat'?: FileFormatEnum;
|
|
122
80
|
/**
|
|
123
81
|
* Always `1` for conference recordings; multi-channel recordings are not supported on conferences.
|
|
124
|
-
* @type {number}
|
|
125
|
-
* @memberof RecordingAvailableCallback
|
|
126
82
|
*/
|
|
127
83
|
'channels'?: number;
|
|
128
84
|
/**
|
|
129
85
|
* (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
86
|
*/
|
|
133
87
|
'tag'?: string | null;
|
|
134
88
|
/**
|
|
135
89
|
* 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
90
|
*/
|
|
139
91
|
'status'?: string;
|
|
140
92
|
/**
|
|
141
93
|
* 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
94
|
*/
|
|
145
95
|
'transferCallerId'?: string;
|
|
146
96
|
/**
|
|
147
97
|
* 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
98
|
*/
|
|
151
99
|
'transferTo'?: string;
|
|
152
100
|
}
|
|
@@ -13,140 +13,88 @@ import type { CallDirectionEnum } from './call-direction-enum';
|
|
|
13
13
|
import type { FileFormatEnum } from './file-format-enum';
|
|
14
14
|
/**
|
|
15
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
16
|
*/
|
|
19
17
|
export interface RecordingCompleteCallback {
|
|
20
18
|
/**
|
|
21
19
|
* 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
20
|
*/
|
|
25
21
|
'eventType'?: string;
|
|
26
22
|
/**
|
|
27
23
|
* 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
24
|
*/
|
|
31
25
|
'eventTime'?: string;
|
|
32
26
|
/**
|
|
33
27
|
* The user account associated with the call.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof RecordingCompleteCallback
|
|
36
28
|
*/
|
|
37
29
|
'accountId'?: string;
|
|
38
30
|
/**
|
|
39
31
|
* The id of the application associated with the call.
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof RecordingCompleteCallback
|
|
42
32
|
*/
|
|
43
33
|
'applicationId'?: string;
|
|
44
34
|
/**
|
|
45
35
|
* 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
36
|
*/
|
|
49
37
|
'from'?: string;
|
|
50
38
|
/**
|
|
51
39
|
* The phone number that received the call, in E.164 format (e.g. +15555555555).
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof RecordingCompleteCallback
|
|
54
40
|
*/
|
|
55
41
|
'to'?: string;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {CallDirectionEnum}
|
|
59
|
-
* @memberof RecordingCompleteCallback
|
|
60
|
-
*/
|
|
61
42
|
'direction'?: CallDirectionEnum;
|
|
62
43
|
/**
|
|
63
44
|
* The call id associated with the event.
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof RecordingCompleteCallback
|
|
66
45
|
*/
|
|
67
46
|
'callId'?: string;
|
|
68
47
|
/**
|
|
69
48
|
* The URL of the call associated with the event.
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof RecordingCompleteCallback
|
|
72
49
|
*/
|
|
73
50
|
'callUrl'?: string;
|
|
74
51
|
/**
|
|
75
52
|
* (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
53
|
*/
|
|
79
54
|
'parentCallId'?: string;
|
|
80
55
|
/**
|
|
81
56
|
* The unique ID of this recording
|
|
82
|
-
* @type {string}
|
|
83
|
-
* @memberof RecordingCompleteCallback
|
|
84
57
|
*/
|
|
85
58
|
'recordingId'?: string;
|
|
86
59
|
/**
|
|
87
60
|
* 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
61
|
*/
|
|
91
62
|
'mediaUrl'?: string | null;
|
|
92
63
|
/**
|
|
93
64
|
* (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
65
|
*/
|
|
97
66
|
'enqueuedTime'?: string | null;
|
|
98
67
|
/**
|
|
99
68
|
* Time the call was started, in ISO 8601 format.
|
|
100
|
-
* @type {string}
|
|
101
|
-
* @memberof RecordingCompleteCallback
|
|
102
69
|
*/
|
|
103
70
|
'startTime'?: string;
|
|
104
71
|
/**
|
|
105
72
|
* Time the call was answered, in ISO 8601 format.
|
|
106
|
-
* @type {string}
|
|
107
|
-
* @memberof RecordingCompleteCallback
|
|
108
73
|
*/
|
|
109
74
|
'answerTime'?: string | null;
|
|
110
75
|
/**
|
|
111
76
|
* The time that the recording ended in ISO-8601 format
|
|
112
|
-
* @type {string}
|
|
113
|
-
* @memberof RecordingCompleteCallback
|
|
114
77
|
*/
|
|
115
78
|
'endTime'?: string;
|
|
116
79
|
/**
|
|
117
80
|
* The duration of the recording in ISO-8601 format
|
|
118
|
-
* @type {string}
|
|
119
|
-
* @memberof RecordingCompleteCallback
|
|
120
81
|
*/
|
|
121
82
|
'duration'?: string;
|
|
122
|
-
/**
|
|
123
|
-
*
|
|
124
|
-
* @type {FileFormatEnum}
|
|
125
|
-
* @memberof RecordingCompleteCallback
|
|
126
|
-
*/
|
|
127
83
|
'fileFormat'?: FileFormatEnum;
|
|
128
84
|
/**
|
|
129
85
|
* Always `1` for conference recordings; multi-channel recordings are not supported on conferences.
|
|
130
|
-
* @type {number}
|
|
131
|
-
* @memberof RecordingCompleteCallback
|
|
132
86
|
*/
|
|
133
87
|
'channels'?: number;
|
|
134
88
|
/**
|
|
135
89
|
* (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
90
|
*/
|
|
139
91
|
'tag'?: string | null;
|
|
140
92
|
/**
|
|
141
93
|
* 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
94
|
*/
|
|
145
95
|
'transferCallerId'?: string;
|
|
146
96
|
/**
|
|
147
97
|
* 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
98
|
*/
|
|
151
99
|
'transferTo'?: string;
|
|
152
100
|
}
|
|
@@ -16,8 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.RecordingStateEnum = void 0;
|
|
17
17
|
/**
|
|
18
18
|
* The recording state. Possible values: `paused` to pause an active recording `recording` to resume a paused recording
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
19
|
*/
|
|
22
20
|
exports.RecordingStateEnum = {
|
|
23
21
|
Paused: 'paused',
|
|
@@ -11,32 +11,22 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* If the recording was transcribed, metadata about the transcription
|
|
14
|
-
* @export
|
|
15
|
-
* @interface RecordingTranscriptionMetadata
|
|
16
14
|
*/
|
|
17
15
|
export interface RecordingTranscriptionMetadata {
|
|
18
16
|
/**
|
|
19
17
|
* The unique transcription ID
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof RecordingTranscriptionMetadata
|
|
22
18
|
*/
|
|
23
19
|
'id'?: string;
|
|
24
20
|
/**
|
|
25
21
|
* 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
22
|
*/
|
|
29
23
|
'status'?: string;
|
|
30
24
|
/**
|
|
31
25
|
* The time that the transcription was completed
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof RecordingTranscriptionMetadata
|
|
34
26
|
*/
|
|
35
27
|
'completedTime'?: string;
|
|
36
28
|
/**
|
|
37
29
|
* The URL of the [transcription](#operation/getCallTranscription)
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof RecordingTranscriptionMetadata
|
|
40
30
|
*/
|
|
41
31
|
'url'?: string;
|
|
42
32
|
}
|
|
@@ -10,16 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { Transcription } from './transcription';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface RecordingTranscriptions
|
|
17
|
-
*/
|
|
18
13
|
export interface RecordingTranscriptions {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<Transcription>}
|
|
22
|
-
* @memberof RecordingTranscriptions
|
|
23
|
-
*/
|
|
24
14
|
'transcripts'?: Array<Transcription>;
|
|
25
15
|
}
|
|
@@ -12,104 +12,67 @@
|
|
|
12
12
|
import type { CallDirectionEnum } from './call-direction-enum';
|
|
13
13
|
/**
|
|
14
14
|
* The Redirect event is fired when a <Redirect> verb is executed. Its purpose is to get the next set of verbs from the calling application.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface RedirectCallback
|
|
17
15
|
*/
|
|
18
16
|
export interface RedirectCallback {
|
|
19
17
|
/**
|
|
20
18
|
* 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.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof RedirectCallback
|
|
23
19
|
*/
|
|
24
20
|
'eventType'?: string;
|
|
25
21
|
/**
|
|
26
22
|
* 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.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof RedirectCallback
|
|
29
23
|
*/
|
|
30
24
|
'eventTime'?: string;
|
|
31
25
|
/**
|
|
32
26
|
* The user account associated with the call.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof RedirectCallback
|
|
35
27
|
*/
|
|
36
28
|
'accountId'?: string;
|
|
37
29
|
/**
|
|
38
30
|
* The id of the application associated with the call.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof RedirectCallback
|
|
41
31
|
*/
|
|
42
32
|
'applicationId'?: string;
|
|
43
33
|
/**
|
|
44
34
|
* The provided identifier of the caller. Must be a phone number in E.164 format (e.g. +15555555555).
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof RedirectCallback
|
|
47
35
|
*/
|
|
48
36
|
'from'?: string;
|
|
49
37
|
/**
|
|
50
38
|
* The phone number that received the call, in E.164 format (e.g. +15555555555).
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof RedirectCallback
|
|
53
39
|
*/
|
|
54
40
|
'to'?: string;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {CallDirectionEnum}
|
|
58
|
-
* @memberof RedirectCallback
|
|
59
|
-
*/
|
|
60
41
|
'direction'?: CallDirectionEnum;
|
|
61
42
|
/**
|
|
62
43
|
* The call id associated with the event.
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof RedirectCallback
|
|
65
44
|
*/
|
|
66
45
|
'callId'?: string;
|
|
67
46
|
/**
|
|
68
47
|
* The URL of the call associated with the event.
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof RedirectCallback
|
|
71
48
|
*/
|
|
72
49
|
'callUrl'?: string;
|
|
73
50
|
/**
|
|
74
51
|
* (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.
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof RedirectCallback
|
|
77
52
|
*/
|
|
78
53
|
'parentCallId'?: string;
|
|
79
54
|
/**
|
|
80
55
|
* (optional) If call queueing is enabled and this is an outbound call, time the call was queued, in ISO 8601 format.
|
|
81
|
-
* @type {string}
|
|
82
|
-
* @memberof RedirectCallback
|
|
83
56
|
*/
|
|
84
57
|
'enqueuedTime'?: string | null;
|
|
85
58
|
/**
|
|
86
59
|
* Time the call was started, in ISO 8601 format.
|
|
87
|
-
* @type {string}
|
|
88
|
-
* @memberof RedirectCallback
|
|
89
60
|
*/
|
|
90
61
|
'startTime'?: string;
|
|
91
62
|
/**
|
|
92
63
|
* Time the call was answered, in ISO 8601 format.
|
|
93
|
-
* @type {string}
|
|
94
|
-
* @memberof RedirectCallback
|
|
95
64
|
*/
|
|
96
65
|
'answerTime'?: string | null;
|
|
97
66
|
/**
|
|
98
67
|
* (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
|
|
99
|
-
* @type {string}
|
|
100
|
-
* @memberof RedirectCallback
|
|
101
68
|
*/
|
|
102
69
|
'tag'?: string | null;
|
|
103
70
|
/**
|
|
104
71
|
* The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555).
|
|
105
|
-
* @type {string}
|
|
106
|
-
* @memberof RedirectCallback
|
|
107
72
|
*/
|
|
108
73
|
'transferCallerId'?: string;
|
|
109
74
|
/**
|
|
110
75
|
* The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555).
|
|
111
|
-
* @type {string}
|
|
112
|
-
* @memberof RedirectCallback
|
|
113
76
|
*/
|
|
114
77
|
'transferTo'?: string;
|
|
115
78
|
}
|
|
@@ -11,8 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The HTTP method to use for the request to `redirectUrl`. GET or POST. Default value is POST.<br><br>Not allowed if `state` is `completed`.
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
14
|
*/
|
|
17
15
|
export declare const RedirectMethodEnum: {
|
|
18
16
|
readonly Get: "GET";
|
|
@@ -16,8 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.RedirectMethodEnum = void 0;
|
|
17
17
|
/**
|
|
18
18
|
* The HTTP method to use for the request to `redirectUrl`. GET or POST. Default value is POST.<br><br>Not allowed if `state` is `completed`.
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
19
|
*/
|
|
22
20
|
exports.RedirectMethodEnum = {
|
|
23
21
|
Get: 'GET',
|
|
@@ -9,16 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SmsMessageContent
|
|
16
|
-
*/
|
|
17
12
|
export interface SmsMessageContent {
|
|
18
13
|
/**
|
|
19
14
|
* The contents of the text message. Must be 2048 characters or less.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SmsMessageContent
|
|
22
15
|
*/
|
|
23
16
|
'text': string;
|
|
24
17
|
}
|
|
@@ -9,11 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
|
-
*/
|
|
17
12
|
export declare const StandaloneCardOrientationEnum: {
|
|
18
13
|
readonly Horizontal: "HORIZONTAL";
|
|
19
14
|
readonly Vertical: "VERTICAL";
|
|
@@ -14,11 +14,6 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.StandaloneCardOrientationEnum = void 0;
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
|
-
*/
|
|
22
17
|
exports.StandaloneCardOrientationEnum = {
|
|
23
18
|
Horizontal: 'HORIZONTAL',
|
|
24
19
|
Vertical: 'VERTICAL'
|
|
@@ -14,86 +14,43 @@ import type { MultiChannelMessageChannelEnum } from './multi-channel-message-cha
|
|
|
14
14
|
import type { PriorityEnum } from './priority-enum';
|
|
15
15
|
/**
|
|
16
16
|
* Message payload schema within a callback
|
|
17
|
-
* @export
|
|
18
|
-
* @interface StatusCallbackMessage
|
|
19
17
|
*/
|
|
20
18
|
export interface StatusCallbackMessage {
|
|
21
19
|
/**
|
|
22
20
|
* A unique identifier of the message.
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof StatusCallbackMessage
|
|
25
21
|
*/
|
|
26
22
|
'id': string;
|
|
27
23
|
/**
|
|
28
24
|
* The Bandwidth phone number or alphanumeric identifier associated with the message.
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof StatusCallbackMessage
|
|
31
25
|
*/
|
|
32
26
|
'owner': string;
|
|
33
27
|
/**
|
|
34
28
|
* The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard.
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof StatusCallbackMessage
|
|
37
29
|
*/
|
|
38
30
|
'applicationId': string;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof StatusCallbackMessage
|
|
43
|
-
*/
|
|
44
31
|
'time': string;
|
|
45
32
|
/**
|
|
46
33
|
* The number of segments the user\'s message is broken into before sending over carrier networks.
|
|
47
|
-
* @type {number}
|
|
48
|
-
* @memberof StatusCallbackMessage
|
|
49
34
|
*/
|
|
50
35
|
'segmentCount': number;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {MessageDirectionEnum}
|
|
54
|
-
* @memberof StatusCallbackMessage
|
|
55
|
-
*/
|
|
56
36
|
'direction': MessageDirectionEnum;
|
|
57
37
|
/**
|
|
58
38
|
* The phone number recipients of the message.
|
|
59
|
-
* @type {Set<string>}
|
|
60
|
-
* @memberof StatusCallbackMessage
|
|
61
39
|
*/
|
|
62
40
|
'to': Set<string>;
|
|
63
41
|
/**
|
|
64
42
|
* The Bandwidth phone number or alphanumeric identifier the message was sent from.
|
|
65
|
-
* @type {string}
|
|
66
|
-
* @memberof StatusCallbackMessage
|
|
67
43
|
*/
|
|
68
44
|
'from': string;
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
* @type {string}
|
|
72
|
-
* @memberof StatusCallbackMessage
|
|
73
|
-
*/
|
|
74
45
|
'text'?: string;
|
|
75
46
|
/**
|
|
76
47
|
* A custom string that will be included in callback events of the message. Max 1024 characters.
|
|
77
|
-
* @type {string}
|
|
78
|
-
* @memberof StatusCallbackMessage
|
|
79
48
|
*/
|
|
80
49
|
'tag'?: string;
|
|
81
50
|
/**
|
|
82
51
|
* Optional media, not applicable for sms
|
|
83
|
-
* @type {Array<string>}
|
|
84
|
-
* @memberof StatusCallbackMessage
|
|
85
52
|
*/
|
|
86
53
|
'media'?: Array<string>;
|
|
87
|
-
/**
|
|
88
|
-
*
|
|
89
|
-
* @type {PriorityEnum}
|
|
90
|
-
* @memberof StatusCallbackMessage
|
|
91
|
-
*/
|
|
92
54
|
'priority'?: PriorityEnum;
|
|
93
|
-
/**
|
|
94
|
-
*
|
|
95
|
-
* @type {MultiChannelMessageChannelEnum}
|
|
96
|
-
* @memberof StatusCallbackMessage
|
|
97
|
-
*/
|
|
98
55
|
'channel'?: MultiChannelMessageChannelEnum;
|
|
99
56
|
}
|
|
@@ -11,8 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The possible status callbacks when sending an MT SMS or MMS or RBM message: - `message-sending` indicates that Bandwidth is sending the message to the upstream provider. - `message-delivered` indicates that the message was successfully sent. - `message-failed` indicates that the message could not be sent to the intended recipient. - `message-read` indicates that the RBM message was read by the recipient.
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
14
|
*/
|
|
17
15
|
export declare const StatusCallbackTypeEnum: {
|
|
18
16
|
readonly MessageSending: "message-sending";
|
|
@@ -16,8 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.StatusCallbackTypeEnum = void 0;
|
|
17
17
|
/**
|
|
18
18
|
* The possible status callbacks when sending an MT SMS or MMS or RBM message: - `message-sending` indicates that Bandwidth is sending the message to the upstream provider. - `message-delivered` indicates that the message was successfully sent. - `message-failed` indicates that the message could not be sent to the intended recipient. - `message-read` indicates that the RBM message was read by the recipient.
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
19
|
*/
|
|
22
20
|
exports.StatusCallbackTypeEnum = {
|
|
23
21
|
MessageSending: 'message-sending',
|