bandwidth-sdk 6.2.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.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 +34 -10
- package/.openapi-generator/VERSION +1 -1
- package/README.md +245 -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 -68
- 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 +555 -279
- package/base.ts +10 -28
- package/common.ts +5 -42
- package/configuration.ts +26 -20
- package/coverage/clover.xml +1331 -1278
- package/coverage/coverage-final.json +49 -45
- package/coverage/lcov-report/index.html +25 -25
- 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 +17 -17
- 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 +2 -23
- package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +352 -121
- 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 +25 -136
- package/coverage/lcov-report/node-sdk/configuration.ts.html +52 -34
- 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 +45 -9
- 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 +2939 -2823
- 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 +5 -16
- package/dist/api/calls-api.js +0 -11
- package/dist/api/conferences-api.d.ts +9 -24
- package/dist/api/conferences-api.js +0 -15
- package/dist/api/media-api.d.ts +4 -14
- package/dist/api/media-api.js +0 -10
- package/dist/api/messages-api.d.ts +2 -10
- package/dist/api/messages-api.js +0 -8
- package/dist/api/mfaapi.d.ts +3 -12
- package/dist/api/mfaapi.js +0 -9
- package/dist/api/multi-channel-api.d.ts +1 -8
- package/dist/api/multi-channel-api.js +0 -7
- package/dist/api/phone-number-lookup-api.d.ts +81 -51
- package/dist/api/phone-number-lookup-api.js +149 -65
- package/dist/api/recordings-api.d.ts +10 -26
- package/dist/api/recordings-api.js +0 -16
- package/dist/api/statistics-api.d.ts +1 -8
- package/dist/api/statistics-api.js +0 -7
- package/dist/api/toll-free-verification-api.d.ts +9 -24
- package/dist/api/toll-free-verification-api.js +0 -15
- package/dist/api/transcriptions-api.d.ts +3 -12
- 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 +1 -45
- 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/create-sync-lookup-response.js +15 -0
- package/dist/models/deactivation-event-enum.d.ts +18 -0
- 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-data.js +15 -0
- package/dist/models/get-async-bulk-lookup-response.d.ts +19 -0
- package/dist/models/get-async-bulk-lookup-response.js +15 -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 +17 -5
- package/dist/models/index.js +17 -5
- 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/{lookup-request.d.ts → link-schema.d.ts} +11 -10
- 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 +0 -1
- package/dist/models/multi-channel-channel-list-object-content.d.ts +0 -1
- package/dist/models/multi-channel-channel-list-object.d.ts +0 -19
- 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 +0 -15
- package/dist/models/multi-channel-message-response-data-channel-list-inner.d.ts +0 -1
- package/dist/models/multi-channel-message-response-data.d.ts +0 -24
- 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 +1 -12
- 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/CallState.md +1 -1
- 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/PhoneNumberLookupApi.md +81 -34
- package/docs/StirShaken.md +1 -1
- 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 +1 -45
- 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 +17 -5
- 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 +0 -1
- package/models/multi-channel-channel-list-object-content.ts +0 -1
- package/models/multi-channel-channel-list-object.ts +0 -19
- 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 +0 -15
- package/models/multi-channel-message-response-data-channel-list-inner.ts +0 -1
- package/models/multi-channel-message-response-data.ts +0 -24
- 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 +1 -12
- 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/phone-number-lookup-api.test.ts +64 -61
- 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/{tn-lookup-request-error.js → create-sync-lookup-response-data.js} +0 -0
|
@@ -12,128 +12,83 @@
|
|
|
12
12
|
import type { CallDirectionEnum } from './call-direction-enum';
|
|
13
13
|
/**
|
|
14
14
|
* This event is sent to the transferDisconnectUrl of each <PhoneNumber> tag when its respective call leg ends for any reason. The event is sent in the normal case, when the transferred leg is answered and later hung up, but is also sent if the new leg was never answered in the first place, if it was rejected, and if the original call leg hung up before the transferred leg.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface TransferDisconnectCallback
|
|
17
15
|
*/
|
|
18
16
|
export interface TransferDisconnectCallback {
|
|
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 TransferDisconnectCallback
|
|
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 TransferDisconnectCallback
|
|
29
23
|
*/
|
|
30
24
|
'eventTime'?: string;
|
|
31
25
|
/**
|
|
32
26
|
* The user account associated with the call.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof TransferDisconnectCallback
|
|
35
27
|
*/
|
|
36
28
|
'accountId'?: string;
|
|
37
29
|
/**
|
|
38
30
|
* The id of the application associated with the call.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof TransferDisconnectCallback
|
|
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 TransferDisconnectCallback
|
|
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 TransferDisconnectCallback
|
|
53
39
|
*/
|
|
54
40
|
'to'?: string;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {CallDirectionEnum}
|
|
58
|
-
* @memberof TransferDisconnectCallback
|
|
59
|
-
*/
|
|
60
41
|
'direction'?: CallDirectionEnum;
|
|
61
42
|
/**
|
|
62
43
|
* The call id associated with the event.
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof TransferDisconnectCallback
|
|
65
44
|
*/
|
|
66
45
|
'callId'?: string;
|
|
67
46
|
/**
|
|
68
47
|
* The URL of the call associated with the event.
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @memberof TransferDisconnectCallback
|
|
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 TransferDisconnectCallback
|
|
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 TransferDisconnectCallback
|
|
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 TransferDisconnectCallback
|
|
89
60
|
*/
|
|
90
61
|
'startTime'?: string;
|
|
91
62
|
/**
|
|
92
63
|
* Time the call was answered, in ISO 8601 format.
|
|
93
|
-
* @type {string}
|
|
94
|
-
* @memberof TransferDisconnectCallback
|
|
95
64
|
*/
|
|
96
65
|
'answerTime'?: string | null;
|
|
97
66
|
/**
|
|
98
67
|
* The time that the recording ended in ISO-8601 format
|
|
99
|
-
* @type {string}
|
|
100
|
-
* @memberof TransferDisconnectCallback
|
|
101
68
|
*/
|
|
102
69
|
'endTime'?: string;
|
|
103
70
|
/**
|
|
104
71
|
* (optional) The tag specified on call creation. If no tag was specified or it was previously cleared, this field will not be present.
|
|
105
|
-
* @type {string}
|
|
106
|
-
* @memberof TransferDisconnectCallback
|
|
107
72
|
*/
|
|
108
73
|
'tag'?: string | null;
|
|
109
74
|
/**
|
|
110
75
|
* The phone number used as the from field of the B-leg call, in E.164 format (e.g. +15555555555).
|
|
111
|
-
* @type {string}
|
|
112
|
-
* @memberof TransferDisconnectCallback
|
|
113
76
|
*/
|
|
114
77
|
'transferCallerId'?: string;
|
|
115
78
|
/**
|
|
116
79
|
* The phone number used as the to field of the B-leg call, in E.164 format (e.g. +15555555555).
|
|
117
|
-
* @type {string}
|
|
118
|
-
* @memberof TransferDisconnectCallback
|
|
119
80
|
*/
|
|
120
81
|
'transferTo'?: string;
|
|
121
82
|
/**
|
|
122
83
|
* Reason the call failed - hangup, busy, timeout, cancel, rejected, callback-error, invalid-bxml, application-error, account-limit, node-capacity-exceeded, error, or unknown.
|
|
123
|
-
* @type {string}
|
|
124
|
-
* @memberof TransferDisconnectCallback
|
|
125
84
|
*/
|
|
126
85
|
'cause'?: string;
|
|
127
86
|
/**
|
|
128
87
|
* Text explaining the reason that caused the call to fail in case of errors.
|
|
129
|
-
* @type {string}
|
|
130
|
-
* @memberof TransferDisconnectCallback
|
|
131
88
|
*/
|
|
132
89
|
'errorMessage'?: string | null;
|
|
133
90
|
/**
|
|
134
91
|
* Bandwidth\'s internal id that references the error event.
|
|
135
|
-
* @type {string}
|
|
136
|
-
* @memberof TransferDisconnectCallback
|
|
137
92
|
*/
|
|
138
93
|
'errorId'?: string | null;
|
|
139
94
|
}
|
|
@@ -10,16 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { RecordingStateEnum } from './recording-state-enum';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface UpdateCallRecording
|
|
17
|
-
*/
|
|
18
13
|
export interface UpdateCallRecording {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {RecordingStateEnum}
|
|
22
|
-
* @memberof UpdateCallRecording
|
|
23
|
-
*/
|
|
24
14
|
'state': RecordingStateEnum;
|
|
25
15
|
}
|
|
@@ -11,70 +11,36 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { CallStateEnum } from './call-state-enum';
|
|
13
13
|
import type { RedirectMethodEnum } from './redirect-method-enum';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface UpdateCall
|
|
18
|
-
*/
|
|
19
14
|
export interface UpdateCall {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {CallStateEnum}
|
|
23
|
-
* @memberof UpdateCall
|
|
24
|
-
*/
|
|
25
15
|
'state'?: CallStateEnum | null;
|
|
26
16
|
/**
|
|
27
17
|
* The URL to send the [Redirect](/docs/voice/bxml/redirect) event to which will provide new BXML. Required if `state` is `active`. Not allowed if `state` is `completed`.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof UpdateCall
|
|
30
18
|
*/
|
|
31
19
|
'redirectUrl'?: string | null;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {RedirectMethodEnum}
|
|
35
|
-
* @memberof UpdateCall
|
|
36
|
-
*/
|
|
37
20
|
'redirectMethod'?: RedirectMethodEnum | null;
|
|
38
21
|
/**
|
|
39
22
|
* Basic auth username.
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof UpdateCall
|
|
42
23
|
*/
|
|
43
24
|
'username'?: string | null;
|
|
44
25
|
/**
|
|
45
26
|
* Basic auth password.
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof UpdateCall
|
|
48
27
|
*/
|
|
49
28
|
'password'?: string | null;
|
|
50
29
|
/**
|
|
51
30
|
* A fallback url which, if provided, will be used to retry the redirect callback delivery in case `redirectUrl` fails to respond.
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof UpdateCall
|
|
54
31
|
*/
|
|
55
32
|
'redirectFallbackUrl'?: string | null;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {RedirectMethodEnum}
|
|
59
|
-
* @memberof UpdateCall
|
|
60
|
-
*/
|
|
61
33
|
'redirectFallbackMethod'?: RedirectMethodEnum | null;
|
|
62
34
|
/**
|
|
63
35
|
* Basic auth username.
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof UpdateCall
|
|
66
36
|
*/
|
|
67
37
|
'fallbackUsername'?: string | null;
|
|
68
38
|
/**
|
|
69
39
|
* Basic auth password.
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof UpdateCall
|
|
72
40
|
*/
|
|
73
41
|
'fallbackPassword'?: string | null;
|
|
74
42
|
/**
|
|
75
43
|
* A custom string that will be sent with this and all future callbacks unless overwritten by a future `tag` attribute or [`<Tag>`](/docs/voice/bxml/tag) verb, or cleared. May be cleared by setting `tag=\"\"`. Max length 256 characters. Not allowed if `state` is `completed`.
|
|
76
|
-
* @type {string}
|
|
77
|
-
* @memberof UpdateCall
|
|
78
44
|
*/
|
|
79
45
|
'tag'?: string | null;
|
|
80
46
|
}
|
|
@@ -9,28 +9,17 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface UpdateConferenceMember
|
|
16
|
-
*/
|
|
17
12
|
export interface UpdateConferenceMember {
|
|
18
13
|
/**
|
|
19
14
|
* Whether or not this member is currently muted. Members who are muted are still able to hear other participants. Updates this member\'s mute status. Has no effect if omitted.
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof UpdateConferenceMember
|
|
22
15
|
*/
|
|
23
16
|
'mute'?: boolean;
|
|
24
17
|
/**
|
|
25
18
|
* Whether or not this member is currently on hold. Members who are on hold are not able to hear or speak in the conference. Updates this member\'s hold status. Has no effect if omitted.
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof UpdateConferenceMember
|
|
28
19
|
*/
|
|
29
20
|
'hold'?: boolean;
|
|
30
21
|
/**
|
|
31
22
|
* If this member had a value set for `callIdsToCoach` in its [Conference](/docs/voice/bxml/conference) verb or this list was added with a previous PUT request to modify the member, this is that list of calls. Modifies the calls that this member is coaching. Has no effect if omitted. See the documentation for the [Conference](/docs/voice/bxml/conference) verb for more details about coaching. Note that this will not add the matching calls to the conference; each call must individually execute a Conference verb to join.
|
|
32
|
-
* @type {Array<string>}
|
|
33
|
-
* @memberof UpdateConferenceMember
|
|
34
23
|
*/
|
|
35
24
|
'callIdsToCoach'?: Array<string> | null;
|
|
36
25
|
}
|
|
@@ -11,64 +11,32 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { ConferenceStateEnum } from './conference-state-enum';
|
|
13
13
|
import type { RedirectMethodEnum } from './redirect-method-enum';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface UpdateConference
|
|
18
|
-
*/
|
|
19
14
|
export interface UpdateConference {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {ConferenceStateEnum}
|
|
23
|
-
* @memberof UpdateConference
|
|
24
|
-
*/
|
|
25
15
|
'status'?: ConferenceStateEnum | null;
|
|
26
16
|
/**
|
|
27
17
|
* The URL to send the [conferenceRedirect](/docs/voice/webhooks/conferenceRedirect) event which will provide new BXML. Not allowed if `state` is `completed`, but required if `state` is `active`.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof UpdateConference
|
|
30
18
|
*/
|
|
31
19
|
'redirectUrl'?: string | null;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {RedirectMethodEnum}
|
|
35
|
-
* @memberof UpdateConference
|
|
36
|
-
*/
|
|
37
20
|
'redirectMethod'?: RedirectMethodEnum | null;
|
|
38
21
|
/**
|
|
39
22
|
* Basic auth username.
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof UpdateConference
|
|
42
23
|
*/
|
|
43
24
|
'username'?: string | null;
|
|
44
25
|
/**
|
|
45
26
|
* Basic auth password.
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof UpdateConference
|
|
48
27
|
*/
|
|
49
28
|
'password'?: string | null;
|
|
50
29
|
/**
|
|
51
30
|
* A fallback url which, if provided, will be used to retry the `conferenceRedirect` webhook delivery in case `redirectUrl` fails to respond. Not allowed if `state` is `completed`.
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof UpdateConference
|
|
54
31
|
*/
|
|
55
32
|
'redirectFallbackUrl'?: string | null;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {RedirectMethodEnum}
|
|
59
|
-
* @memberof UpdateConference
|
|
60
|
-
*/
|
|
61
33
|
'redirectFallbackMethod'?: RedirectMethodEnum | null;
|
|
62
34
|
/**
|
|
63
35
|
* Basic auth username.
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof UpdateConference
|
|
66
36
|
*/
|
|
67
37
|
'fallbackUsername'?: string | null;
|
|
68
38
|
/**
|
|
69
39
|
* Basic auth password.
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof UpdateConference
|
|
72
40
|
*/
|
|
73
41
|
'fallbackPassword'?: string | null;
|
|
74
42
|
}
|
|
@@ -10,70 +10,42 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { AdditionalDenialReason } from './additional-denial-reason';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface VerificationDenialWebhook
|
|
17
|
-
*/
|
|
18
13
|
export interface VerificationDenialWebhook {
|
|
19
14
|
/**
|
|
20
15
|
* User\'s account ID.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof VerificationDenialWebhook
|
|
23
16
|
*/
|
|
24
17
|
'accountId'?: string;
|
|
25
18
|
/**
|
|
26
19
|
* An optional list of denial reasons in addition to declineReasonDescription when multiple reasons apply.
|
|
27
|
-
* @type {Array<AdditionalDenialReason>}
|
|
28
|
-
* @memberof VerificationDenialWebhook
|
|
29
20
|
*/
|
|
30
21
|
'additionalDenialReasons'?: Array<AdditionalDenialReason>;
|
|
31
22
|
/**
|
|
32
23
|
* Explanation for why a verification request was declined.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof VerificationDenialWebhook
|
|
35
24
|
*/
|
|
36
25
|
'declineReasonDescription'?: string;
|
|
37
26
|
/**
|
|
38
27
|
* Reason code for denial.
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof VerificationDenialWebhook
|
|
41
28
|
*/
|
|
42
29
|
'denialStatusCode'?: number;
|
|
43
30
|
/**
|
|
44
31
|
* Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number.
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof VerificationDenialWebhook
|
|
47
32
|
*/
|
|
48
33
|
'internalTicketNumber'?: string;
|
|
49
34
|
/**
|
|
50
35
|
* Toll-free telephone number in E.164 format.
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof VerificationDenialWebhook
|
|
53
36
|
*/
|
|
54
37
|
'phoneNumber'?: string;
|
|
55
38
|
/**
|
|
56
39
|
* Whether a Toll-Free Verification request qualifies for resubmission via PUT.
|
|
57
|
-
* @type {boolean}
|
|
58
|
-
* @memberof VerificationDenialWebhook
|
|
59
40
|
*/
|
|
60
41
|
'resubmitAllowed'?: boolean;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof VerificationDenialWebhook
|
|
65
|
-
*/
|
|
66
42
|
'status'?: string;
|
|
67
43
|
/**
|
|
68
44
|
* Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
69
|
-
* @type {boolean}
|
|
70
|
-
* @memberof VerificationDenialWebhook
|
|
71
45
|
*/
|
|
72
46
|
'blocked'?: boolean;
|
|
73
47
|
/**
|
|
74
48
|
* The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
75
|
-
* @type {string}
|
|
76
|
-
* @memberof VerificationDenialWebhook
|
|
77
49
|
*/
|
|
78
50
|
'blockedReason'?: string;
|
|
79
51
|
}
|
|
@@ -14,118 +14,59 @@ import type { BusinessEntityTypeEnum } from './business-entity-type-enum';
|
|
|
14
14
|
import type { BusinessRegistrationTypeEnum } from './business-registration-type-enum';
|
|
15
15
|
import type { Contact } from './contact';
|
|
16
16
|
import type { OptInWorkflow } from './opt-in-workflow';
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @interface VerificationRequest
|
|
21
|
-
*/
|
|
22
17
|
export interface VerificationRequest {
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {Address}
|
|
26
|
-
* @memberof VerificationRequest
|
|
27
|
-
*/
|
|
28
18
|
'businessAddress': Address;
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {Contact}
|
|
32
|
-
* @memberof VerificationRequest
|
|
33
|
-
*/
|
|
34
19
|
'businessContact': Contact;
|
|
35
20
|
/**
|
|
36
21
|
* Estimated monthly volume of messages from the toll-free number.
|
|
37
|
-
* @type {number}
|
|
38
|
-
* @memberof VerificationRequest
|
|
39
22
|
*/
|
|
40
23
|
'messageVolume': number;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {Array<string>}
|
|
44
|
-
* @memberof VerificationRequest
|
|
45
|
-
*/
|
|
46
24
|
'phoneNumbers': Array<string>;
|
|
47
25
|
/**
|
|
48
26
|
* The category of the use case.
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof VerificationRequest
|
|
51
27
|
*/
|
|
52
28
|
'useCase': string;
|
|
53
29
|
/**
|
|
54
30
|
* A general idea of the use case and customer.
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof VerificationRequest
|
|
57
31
|
*/
|
|
58
32
|
'useCaseSummary': string;
|
|
59
33
|
/**
|
|
60
34
|
* Example of message content.
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof VerificationRequest
|
|
63
35
|
*/
|
|
64
36
|
'productionMessageContent': string;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {OptInWorkflow}
|
|
68
|
-
* @memberof VerificationRequest
|
|
69
|
-
*/
|
|
70
37
|
'optInWorkflow': OptInWorkflow;
|
|
71
38
|
/**
|
|
72
39
|
* Any additional information.
|
|
73
|
-
* @type {string}
|
|
74
|
-
* @memberof VerificationRequest
|
|
75
40
|
*/
|
|
76
41
|
'additionalInformation'?: string | null;
|
|
77
42
|
/**
|
|
78
43
|
* ISV name.
|
|
79
|
-
* @type {string}
|
|
80
|
-
* @memberof VerificationRequest
|
|
81
44
|
*/
|
|
82
45
|
'isvReseller'?: string | null;
|
|
83
46
|
/**
|
|
84
47
|
* The Toll-Free Verification request privacy policy URL.
|
|
85
|
-
* @type {string}
|
|
86
|
-
* @memberof VerificationRequest
|
|
87
48
|
*/
|
|
88
49
|
'privacyPolicyUrl'?: string;
|
|
89
50
|
/**
|
|
90
51
|
* The Toll-Free Verification request terms and conditions policy URL.
|
|
91
|
-
* @type {string}
|
|
92
|
-
* @memberof VerificationRequest
|
|
93
52
|
*/
|
|
94
53
|
'termsAndConditionsUrl'?: string;
|
|
95
54
|
/**
|
|
96
55
|
* The company \'Doing Business As\'.
|
|
97
|
-
* @type {string}
|
|
98
|
-
* @memberof VerificationRequest
|
|
99
56
|
*/
|
|
100
57
|
'businessDba'?: string;
|
|
101
58
|
/**
|
|
102
59
|
* US Federal Tax ID Number (EIN) or Canada Business Number (CBN). Optional until early 2026. If a value is provided for this field, a value must be provided for `businessRegistrationType` and `businessEntityType`. Available starting October 1st, 2025.
|
|
103
|
-
* @type {string}
|
|
104
|
-
* @memberof VerificationRequest
|
|
105
60
|
*/
|
|
106
61
|
'businessRegistrationNumber'?: string | null;
|
|
107
|
-
/**
|
|
108
|
-
*
|
|
109
|
-
* @type {BusinessRegistrationTypeEnum}
|
|
110
|
-
* @memberof VerificationRequest
|
|
111
|
-
*/
|
|
112
62
|
'businessRegistrationType'?: BusinessRegistrationTypeEnum | null;
|
|
113
|
-
/**
|
|
114
|
-
*
|
|
115
|
-
* @type {BusinessEntityTypeEnum}
|
|
116
|
-
* @memberof VerificationRequest
|
|
117
|
-
*/
|
|
118
63
|
'businessEntityType'?: BusinessEntityTypeEnum | null;
|
|
119
64
|
/**
|
|
120
65
|
* A message that gets sent to users requesting help.
|
|
121
|
-
* @type {string}
|
|
122
|
-
* @memberof VerificationRequest
|
|
123
66
|
*/
|
|
124
67
|
'helpMessageResponse'?: string | null;
|
|
125
68
|
/**
|
|
126
69
|
* Indicates whether the content is age-gated.
|
|
127
|
-
* @type {boolean}
|
|
128
|
-
* @memberof VerificationRequest
|
|
129
70
|
*/
|
|
130
71
|
'ageGatedContent'?: boolean;
|
|
131
72
|
}
|
|
@@ -14,112 +14,58 @@ import type { BusinessEntityTypeEnum } from './business-entity-type-enum';
|
|
|
14
14
|
import type { BusinessRegistrationTypeEnum } from './business-registration-type-enum';
|
|
15
15
|
import type { Contact } from './contact';
|
|
16
16
|
import type { OptInWorkflow } from './opt-in-workflow';
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @interface VerificationUpdateRequest
|
|
21
|
-
*/
|
|
22
17
|
export interface VerificationUpdateRequest {
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {Address}
|
|
26
|
-
* @memberof VerificationUpdateRequest
|
|
27
|
-
*/
|
|
28
18
|
'businessAddress': Address;
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {Contact}
|
|
32
|
-
* @memberof VerificationUpdateRequest
|
|
33
|
-
*/
|
|
34
19
|
'businessContact': Contact;
|
|
35
20
|
/**
|
|
36
21
|
* Estimated monthly volume of messages from the toll-free number.
|
|
37
|
-
* @type {number}
|
|
38
|
-
* @memberof VerificationUpdateRequest
|
|
39
22
|
*/
|
|
40
23
|
'messageVolume': number;
|
|
41
24
|
/**
|
|
42
25
|
* The category of the use case.
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof VerificationUpdateRequest
|
|
45
26
|
*/
|
|
46
27
|
'useCase': string;
|
|
47
28
|
/**
|
|
48
29
|
* A general idea of the use case and customer.
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof VerificationUpdateRequest
|
|
51
30
|
*/
|
|
52
31
|
'useCaseSummary': string;
|
|
53
32
|
/**
|
|
54
33
|
* Example of message content.
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof VerificationUpdateRequest
|
|
57
34
|
*/
|
|
58
35
|
'productionMessageContent': string;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {OptInWorkflow}
|
|
62
|
-
* @memberof VerificationUpdateRequest
|
|
63
|
-
*/
|
|
64
36
|
'optInWorkflow': OptInWorkflow;
|
|
65
37
|
/**
|
|
66
38
|
* Any additional information.
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof VerificationUpdateRequest
|
|
69
39
|
*/
|
|
70
40
|
'additionalInformation'?: string | null;
|
|
71
41
|
/**
|
|
72
42
|
* ISV name.
|
|
73
|
-
* @type {string}
|
|
74
|
-
* @memberof VerificationUpdateRequest
|
|
75
43
|
*/
|
|
76
44
|
'isvReseller'?: string | null;
|
|
77
45
|
/**
|
|
78
46
|
* The Toll-Free Verification request privacy policy URL.
|
|
79
|
-
* @type {string}
|
|
80
|
-
* @memberof VerificationUpdateRequest
|
|
81
47
|
*/
|
|
82
48
|
'privacyPolicyUrl'?: string;
|
|
83
49
|
/**
|
|
84
50
|
* The Toll-Free Verification request terms and conditions policy URL.
|
|
85
|
-
* @type {string}
|
|
86
|
-
* @memberof VerificationUpdateRequest
|
|
87
51
|
*/
|
|
88
52
|
'termsAndConditionsUrl'?: string;
|
|
89
53
|
/**
|
|
90
54
|
* The company \'Doing Business As\'.
|
|
91
|
-
* @type {string}
|
|
92
|
-
* @memberof VerificationUpdateRequest
|
|
93
55
|
*/
|
|
94
56
|
'businessDba'?: string;
|
|
95
57
|
/**
|
|
96
58
|
* US Federal Tax ID Number (EIN) or Canada Business Number (CBN). Optional until early 2026. If a value is provided for this field, a value must be provided for `businessRegistrationType` and `businessEntityType`. Available starting October 1st, 2025.
|
|
97
|
-
* @type {string}
|
|
98
|
-
* @memberof VerificationUpdateRequest
|
|
99
59
|
*/
|
|
100
60
|
'businessRegistrationNumber'?: string | null;
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
* @type {BusinessRegistrationTypeEnum}
|
|
104
|
-
* @memberof VerificationUpdateRequest
|
|
105
|
-
*/
|
|
106
61
|
'businessRegistrationType'?: BusinessRegistrationTypeEnum | null;
|
|
107
|
-
/**
|
|
108
|
-
*
|
|
109
|
-
* @type {BusinessEntityTypeEnum}
|
|
110
|
-
* @memberof VerificationUpdateRequest
|
|
111
|
-
*/
|
|
112
62
|
'businessEntityType'?: BusinessEntityTypeEnum | null;
|
|
113
63
|
/**
|
|
114
64
|
* A message that gets sent to users requesting help.
|
|
115
|
-
* @type {string}
|
|
116
|
-
* @memberof VerificationUpdateRequest
|
|
117
65
|
*/
|
|
118
66
|
'helpMessageResponse'?: string | null;
|
|
119
67
|
/**
|
|
120
68
|
* Indicates whether the content is age-gated.
|
|
121
|
-
* @type {boolean}
|
|
122
|
-
* @memberof VerificationUpdateRequest
|
|
123
69
|
*/
|
|
124
70
|
'ageGatedContent'?: boolean;
|
|
125
71
|
}
|
|
@@ -10,34 +10,18 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { TfvCallbackStatusEnum } from './tfv-callback-status-enum';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface VerificationWebhook
|
|
17
|
-
*/
|
|
18
13
|
export interface VerificationWebhook {
|
|
19
14
|
/**
|
|
20
15
|
* User\'s account ID.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof VerificationWebhook
|
|
23
16
|
*/
|
|
24
17
|
'accountId'?: string;
|
|
25
18
|
/**
|
|
26
19
|
* Toll-free telephone number in E.164 format.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof VerificationWebhook
|
|
29
20
|
*/
|
|
30
21
|
'phoneNumber'?: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {TfvCallbackStatusEnum}
|
|
34
|
-
* @memberof VerificationWebhook
|
|
35
|
-
*/
|
|
36
22
|
'status'?: TfvCallbackStatusEnum;
|
|
37
23
|
/**
|
|
38
24
|
* Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof VerificationWebhook
|
|
41
25
|
*/
|
|
42
26
|
'internalTicketNumber'?: string;
|
|
43
27
|
}
|
|
@@ -9,34 +9,21 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface VerifyCodeRequest
|
|
16
|
-
*/
|
|
17
12
|
export interface VerifyCodeRequest {
|
|
18
13
|
/**
|
|
19
14
|
* The phone number to send the mfa code to.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof VerifyCodeRequest
|
|
22
15
|
*/
|
|
23
16
|
'to': string;
|
|
24
17
|
/**
|
|
25
18
|
* An optional field to denote what scope or action the mfa code is addressing. If not supplied, defaults to \"2FA\".
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof VerifyCodeRequest
|
|
28
19
|
*/
|
|
29
20
|
'scope'?: string;
|
|
30
21
|
/**
|
|
31
22
|
* The time period, in minutes, to validate the mfa code. By setting this to 3 minutes, it will mean any code generated within the last 3 minutes are still valid. The valid range for expiration time is between 0 and 15 minutes, exclusively and inclusively, respectively.
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof VerifyCodeRequest
|
|
34
23
|
*/
|
|
35
24
|
'expirationTimeInMinutes': number;
|
|
36
25
|
/**
|
|
37
26
|
* The generated mfa code to check if valid.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof VerifyCodeRequest
|
|
40
27
|
*/
|
|
41
28
|
'code': string;
|
|
42
29
|
}
|