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
|
@@ -41,10 +41,10 @@ jobs:
|
|
|
41
41
|
fi
|
|
42
42
|
|
|
43
43
|
- name: Checkout
|
|
44
|
-
uses: actions/checkout@
|
|
44
|
+
uses: actions/checkout@v5
|
|
45
45
|
|
|
46
46
|
- name: Setup Node
|
|
47
|
-
uses: actions/setup-node@
|
|
47
|
+
uses: actions/setup-node@v6
|
|
48
48
|
with:
|
|
49
49
|
node-version: 22
|
|
50
50
|
registry-url: "https://registry.npmjs.org"
|
|
@@ -36,10 +36,10 @@ jobs:
|
|
|
36
36
|
fail-fast: false
|
|
37
37
|
steps:
|
|
38
38
|
- name: Checkout
|
|
39
|
-
uses: actions/checkout@
|
|
39
|
+
uses: actions/checkout@v5
|
|
40
40
|
|
|
41
41
|
- name: Setup Node
|
|
42
|
-
uses: actions/setup-node@
|
|
42
|
+
uses: actions/setup-node@v6
|
|
43
43
|
with:
|
|
44
44
|
node-version: ${{ matrix.node-version }}
|
|
45
45
|
|
|
@@ -35,10 +35,10 @@ jobs:
|
|
|
35
35
|
MANTECA_APPLICATION_ID: ${{ secrets.MANTECA_APPLICATION_ID }}
|
|
36
36
|
steps:
|
|
37
37
|
- name: Checkout
|
|
38
|
-
uses: actions/checkout@
|
|
38
|
+
uses: actions/checkout@v5
|
|
39
39
|
|
|
40
40
|
- name: Setup Node
|
|
41
|
-
uses: actions/setup-node@
|
|
41
|
+
uses: actions/setup-node@v6
|
|
42
42
|
with:
|
|
43
43
|
node-version: 22
|
|
44
44
|
|
|
@@ -62,10 +62,10 @@ jobs:
|
|
|
62
62
|
MANTECA_APPLICATION_ID: ${{ secrets.MANTECA_UP_APPLICATION_ID }}
|
|
63
63
|
steps:
|
|
64
64
|
- name: Checkout
|
|
65
|
-
uses: actions/checkout@
|
|
65
|
+
uses: actions/checkout@v5
|
|
66
66
|
|
|
67
67
|
- name: Setup Node
|
|
68
|
-
uses: actions/setup-node@
|
|
68
|
+
uses: actions/setup-node@v6
|
|
69
69
|
with:
|
|
70
70
|
node-version: 22
|
|
71
71
|
|
package/.openapi-generator/FILES
CHANGED
|
@@ -19,6 +19,7 @@ docs/AccountStatistics.md
|
|
|
19
19
|
docs/AdditionalDenialReason.md
|
|
20
20
|
docs/Address.md
|
|
21
21
|
docs/AnswerCallback.md
|
|
22
|
+
docs/AsyncLookupRequest.md
|
|
22
23
|
docs/BlockedWebhook.md
|
|
23
24
|
docs/BridgeCompleteCallback.md
|
|
24
25
|
docs/BridgeTargetCompleteCallback.md
|
|
@@ -38,6 +39,7 @@ docs/CallbackMethodEnum.md
|
|
|
38
39
|
docs/CallsApi.md
|
|
39
40
|
docs/CardWidthEnum.md
|
|
40
41
|
docs/CodeRequest.md
|
|
42
|
+
docs/CompletedLookupStatusEnum.md
|
|
41
43
|
docs/Conference.md
|
|
42
44
|
docs/ConferenceCompletedCallback.md
|
|
43
45
|
docs/ConferenceCreatedCallback.md
|
|
@@ -50,11 +52,15 @@ docs/ConferenceRedirectCallback.md
|
|
|
50
52
|
docs/ConferenceStateEnum.md
|
|
51
53
|
docs/ConferencesApi.md
|
|
52
54
|
docs/Contact.md
|
|
55
|
+
docs/CreateAsyncBulkLookupResponse.md
|
|
56
|
+
docs/CreateAsyncBulkLookupResponseData.md
|
|
53
57
|
docs/CreateCall.md
|
|
54
58
|
docs/CreateCallResponse.md
|
|
55
|
-
docs/CreateLookupResponse.md
|
|
56
59
|
docs/CreateMessageRequestError.md
|
|
57
60
|
docs/CreateMultiChannelMessageResponse.md
|
|
61
|
+
docs/CreateSyncLookupResponse.md
|
|
62
|
+
docs/CreateSyncLookupResponseData.md
|
|
63
|
+
docs/DeactivationEventEnum.md
|
|
58
64
|
docs/DisconnectCallback.md
|
|
59
65
|
docs/Diversion.md
|
|
60
66
|
docs/DtmfCallback.md
|
|
@@ -65,18 +71,24 @@ docs/FailureWebhook.md
|
|
|
65
71
|
docs/FieldError.md
|
|
66
72
|
docs/FileFormatEnum.md
|
|
67
73
|
docs/GatherCallback.md
|
|
74
|
+
docs/GetAsyncBulkLookupResponse.md
|
|
75
|
+
docs/GetAsyncBulkLookupResponseData.md
|
|
76
|
+
docs/InProgressLookupStatusEnum.md
|
|
68
77
|
docs/InboundCallback.md
|
|
69
78
|
docs/InboundCallbackMessage.md
|
|
70
79
|
docs/InboundCallbackTypeEnum.md
|
|
71
80
|
docs/InitiateCallback.md
|
|
81
|
+
docs/LatestMessageDeliveryStatusEnum.md
|
|
82
|
+
docs/LineTypeEnum.md
|
|
72
83
|
docs/Link.md
|
|
84
|
+
docs/LinkSchema.md
|
|
73
85
|
docs/LinksObject.md
|
|
74
86
|
docs/ListMessageDirectionEnum.md
|
|
75
87
|
docs/ListMessageItem.md
|
|
76
|
-
docs/
|
|
88
|
+
docs/LookupErrorResponse.md
|
|
89
|
+
docs/LookupErrorSchema.md
|
|
90
|
+
docs/LookupErrorSchemaMeta.md
|
|
77
91
|
docs/LookupResult.md
|
|
78
|
-
docs/LookupStatus.md
|
|
79
|
-
docs/LookupStatusEnum.md
|
|
80
92
|
docs/MFAApi.md
|
|
81
93
|
docs/MachineDetectionCompleteCallback.md
|
|
82
94
|
docs/MachineDetectionConfiguration.md
|
|
@@ -145,6 +157,7 @@ docs/StatusCallback.md
|
|
|
145
157
|
docs/StatusCallbackMessage.md
|
|
146
158
|
docs/StatusCallbackTypeEnum.md
|
|
147
159
|
docs/StirShaken.md
|
|
160
|
+
docs/SyncLookupRequest.md
|
|
148
161
|
docs/TelephoneNumber.md
|
|
149
162
|
docs/TfvBasicAuthentication.md
|
|
150
163
|
docs/TfvCallbackStatusEnum.md
|
|
@@ -154,7 +167,6 @@ docs/TfvStatusEnum.md
|
|
|
154
167
|
docs/TfvSubmissionInfo.md
|
|
155
168
|
docs/TfvSubmissionWrapper.md
|
|
156
169
|
docs/ThumbnailAlignmentEnum.md
|
|
157
|
-
docs/TnLookupRequestError.md
|
|
158
170
|
docs/TollFreeVerificationApi.md
|
|
159
171
|
docs/TranscribeRecording.md
|
|
160
172
|
docs/Transcription.md
|
|
@@ -186,6 +198,7 @@ models/account-statistics.ts
|
|
|
186
198
|
models/additional-denial-reason.ts
|
|
187
199
|
models/address.ts
|
|
188
200
|
models/answer-callback.ts
|
|
201
|
+
models/async-lookup-request.ts
|
|
189
202
|
models/blocked-webhook.ts
|
|
190
203
|
models/bridge-complete-callback.ts
|
|
191
204
|
models/bridge-target-complete-callback.ts
|
|
@@ -204,6 +217,7 @@ models/callback-method-enum.ts
|
|
|
204
217
|
models/callback.ts
|
|
205
218
|
models/card-width-enum.ts
|
|
206
219
|
models/code-request.ts
|
|
220
|
+
models/completed-lookup-status-enum.ts
|
|
207
221
|
models/conference-completed-callback.ts
|
|
208
222
|
models/conference-created-callback.ts
|
|
209
223
|
models/conference-member-exit-callback.ts
|
|
@@ -215,11 +229,15 @@ models/conference-redirect-callback.ts
|
|
|
215
229
|
models/conference-state-enum.ts
|
|
216
230
|
models/conference.ts
|
|
217
231
|
models/contact.ts
|
|
232
|
+
models/create-async-bulk-lookup-response-data.ts
|
|
233
|
+
models/create-async-bulk-lookup-response.ts
|
|
218
234
|
models/create-call-response.ts
|
|
219
235
|
models/create-call.ts
|
|
220
|
-
models/create-lookup-response.ts
|
|
221
236
|
models/create-message-request-error.ts
|
|
222
237
|
models/create-multi-channel-message-response.ts
|
|
238
|
+
models/create-sync-lookup-response-data.ts
|
|
239
|
+
models/create-sync-lookup-response.ts
|
|
240
|
+
models/deactivation-event-enum.ts
|
|
223
241
|
models/disconnect-callback.ts
|
|
224
242
|
models/diversion.ts
|
|
225
243
|
models/dtmf-callback.ts
|
|
@@ -229,19 +247,25 @@ models/failure-webhook.ts
|
|
|
229
247
|
models/field-error.ts
|
|
230
248
|
models/file-format-enum.ts
|
|
231
249
|
models/gather-callback.ts
|
|
250
|
+
models/get-async-bulk-lookup-response-data.ts
|
|
251
|
+
models/get-async-bulk-lookup-response.ts
|
|
252
|
+
models/in-progress-lookup-status-enum.ts
|
|
232
253
|
models/inbound-callback-message.ts
|
|
233
254
|
models/inbound-callback-type-enum.ts
|
|
234
255
|
models/inbound-callback.ts
|
|
235
256
|
models/index.ts
|
|
236
257
|
models/initiate-callback.ts
|
|
258
|
+
models/latest-message-delivery-status-enum.ts
|
|
259
|
+
models/line-type-enum.ts
|
|
260
|
+
models/link-schema.ts
|
|
237
261
|
models/link.ts
|
|
238
262
|
models/links-object.ts
|
|
239
263
|
models/list-message-direction-enum.ts
|
|
240
264
|
models/list-message-item.ts
|
|
241
|
-
models/lookup-
|
|
265
|
+
models/lookup-error-response.ts
|
|
266
|
+
models/lookup-error-schema-meta.ts
|
|
267
|
+
models/lookup-error-schema.ts
|
|
242
268
|
models/lookup-result.ts
|
|
243
|
-
models/lookup-status-enum.ts
|
|
244
|
-
models/lookup-status.ts
|
|
245
269
|
models/machine-detection-complete-callback.ts
|
|
246
270
|
models/machine-detection-configuration.ts
|
|
247
271
|
models/machine-detection-mode-enum.ts
|
|
@@ -304,6 +328,7 @@ models/status-callback-message.ts
|
|
|
304
328
|
models/status-callback-type-enum.ts
|
|
305
329
|
models/status-callback.ts
|
|
306
330
|
models/stir-shaken.ts
|
|
331
|
+
models/sync-lookup-request.ts
|
|
307
332
|
models/telephone-number.ts
|
|
308
333
|
models/tfv-basic-authentication.ts
|
|
309
334
|
models/tfv-callback-status-enum.ts
|
|
@@ -313,7 +338,6 @@ models/tfv-status.ts
|
|
|
313
338
|
models/tfv-submission-info.ts
|
|
314
339
|
models/tfv-submission-wrapper.ts
|
|
315
340
|
models/thumbnail-alignment-enum.ts
|
|
316
|
-
models/tn-lookup-request-error.ts
|
|
317
341
|
models/transcribe-recording.ts
|
|
318
342
|
models/transcription-available-callback.ts
|
|
319
343
|
models/transcription.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.17.0
|
package/README.md
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
| **OS** | **Node** |
|
|
6
6
|
|:------------:|:----------:|
|
|
7
|
-
| Windows
|
|
8
|
-
| Windows
|
|
9
|
-
| Ubuntu 22.04 | 18, 20, 22 |
|
|
10
|
-
| Ubuntu 24.04 | 18, 20, 22 |
|
|
7
|
+
| Windows 2022 | 18, 20, 22, 24 |
|
|
8
|
+
| Windows 2025 | 18, 20, 22, 24 |
|
|
9
|
+
| Ubuntu 22.04 | 18, 20, 22, 24 |
|
|
10
|
+
| Ubuntu 24.04 | 18, 20, 22, 24 |
|
|
11
11
|
|
|
12
12
|
#### Available on NPM
|
|
13
13
|
```
|
|
@@ -46,7 +46,7 @@ Module system
|
|
|
46
46
|
* CommonJS
|
|
47
47
|
* ES6 module system
|
|
48
48
|
|
|
49
|
-
It can be used in both TypeScript and JavaScript. In TypeScript, the definition
|
|
49
|
+
It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))
|
|
50
50
|
|
|
51
51
|
### Building
|
|
52
52
|
|
|
@@ -58,7 +58,7 @@ npm run build
|
|
|
58
58
|
|
|
59
59
|
### Publishing
|
|
60
60
|
|
|
61
|
-
First build the package then run
|
|
61
|
+
First build the package then run `npm publish`
|
|
62
62
|
|
|
63
63
|
### Consuming
|
|
64
64
|
|
|
@@ -99,3 +99,242 @@ await callsApi.createCall(BW_ACCOUNT_ID, body);
|
|
|
99
99
|
```
|
|
100
100
|
|
|
101
101
|
More samples can be found in the [Bandwidth Samples](https://github.com/orgs/Bandwidth-Samples/repositories?q=lang%3Ajavascript&type=all) GitHub Organization.
|
|
102
|
+
|
|
103
|
+
### Documentation for API Endpoints
|
|
104
|
+
|
|
105
|
+
All URIs are relative to *http://localhost*
|
|
106
|
+
|
|
107
|
+
Class | Method | HTTP request | Description
|
|
108
|
+
------------ | ------------- | ------------- | -------------
|
|
109
|
+
*CallsApi* | [**createCall**](docs/CallsApi.md#createcall) | **POST** /accounts/{accountId}/calls | Create Call
|
|
110
|
+
*CallsApi* | [**getCallState**](docs/CallsApi.md#getcallstate) | **GET** /accounts/{accountId}/calls/{callId} | Get Call State Information
|
|
111
|
+
*CallsApi* | [**listCalls**](docs/CallsApi.md#listcalls) | **GET** /accounts/{accountId}/calls | Get Calls
|
|
112
|
+
*CallsApi* | [**updateCall**](docs/CallsApi.md#updatecall) | **POST** /accounts/{accountId}/calls/{callId} | Update Call
|
|
113
|
+
*CallsApi* | [**updateCallBxml**](docs/CallsApi.md#updatecallbxml) | **PUT** /accounts/{accountId}/calls/{callId}/bxml | Update Call BXML
|
|
114
|
+
*ConferencesApi* | [**downloadConferenceRecording**](docs/ConferencesApi.md#downloadconferencerecording) | **GET** /accounts/{accountId}/conferences/{conferenceId}/recordings/{recordingId}/media | Download Conference Recording
|
|
115
|
+
*ConferencesApi* | [**getConference**](docs/ConferencesApi.md#getconference) | **GET** /accounts/{accountId}/conferences/{conferenceId} | Get Conference Information
|
|
116
|
+
*ConferencesApi* | [**getConferenceMember**](docs/ConferencesApi.md#getconferencemember) | **GET** /accounts/{accountId}/conferences/{conferenceId}/members/{memberId} | Get Conference Member
|
|
117
|
+
*ConferencesApi* | [**getConferenceRecording**](docs/ConferencesApi.md#getconferencerecording) | **GET** /accounts/{accountId}/conferences/{conferenceId}/recordings/{recordingId} | Get Conference Recording Information
|
|
118
|
+
*ConferencesApi* | [**listConferenceRecordings**](docs/ConferencesApi.md#listconferencerecordings) | **GET** /accounts/{accountId}/conferences/{conferenceId}/recordings | Get Conference Recordings
|
|
119
|
+
*ConferencesApi* | [**listConferences**](docs/ConferencesApi.md#listconferences) | **GET** /accounts/{accountId}/conferences | Get Conferences
|
|
120
|
+
*ConferencesApi* | [**updateConference**](docs/ConferencesApi.md#updateconference) | **POST** /accounts/{accountId}/conferences/{conferenceId} | Update Conference
|
|
121
|
+
*ConferencesApi* | [**updateConferenceBxml**](docs/ConferencesApi.md#updateconferencebxml) | **PUT** /accounts/{accountId}/conferences/{conferenceId}/bxml | Update Conference BXML
|
|
122
|
+
*ConferencesApi* | [**updateConferenceMember**](docs/ConferencesApi.md#updateconferencemember) | **PUT** /accounts/{accountId}/conferences/{conferenceId}/members/{memberId} | Update Conference Member
|
|
123
|
+
*MFAApi* | [**generateMessagingCode**](docs/MFAApi.md#generatemessagingcode) | **POST** /accounts/{accountId}/code/messaging | Messaging Authentication Code
|
|
124
|
+
*MFAApi* | [**generateVoiceCode**](docs/MFAApi.md#generatevoicecode) | **POST** /accounts/{accountId}/code/voice | Voice Authentication Code
|
|
125
|
+
*MFAApi* | [**verifyCode**](docs/MFAApi.md#verifycode) | **POST** /accounts/{accountId}/code/verify | Verify Authentication Code
|
|
126
|
+
*MediaApi* | [**deleteMedia**](docs/MediaApi.md#deletemedia) | **DELETE** /users/{accountId}/media/{mediaId} | Delete Media
|
|
127
|
+
*MediaApi* | [**getMedia**](docs/MediaApi.md#getmedia) | **GET** /users/{accountId}/media/{mediaId} | Get Media
|
|
128
|
+
*MediaApi* | [**listMedia**](docs/MediaApi.md#listmedia) | **GET** /users/{accountId}/media | List Media
|
|
129
|
+
*MediaApi* | [**uploadMedia**](docs/MediaApi.md#uploadmedia) | **PUT** /users/{accountId}/media/{mediaId} | Upload Media
|
|
130
|
+
*MessagesApi* | [**createMessage**](docs/MessagesApi.md#createmessage) | **POST** /users/{accountId}/messages | Create Message
|
|
131
|
+
*MessagesApi* | [**listMessages**](docs/MessagesApi.md#listmessages) | **GET** /users/{accountId}/messages | List Messages
|
|
132
|
+
*MultiChannelApi* | [**createMultiChannelMessage**](docs/MultiChannelApi.md#createmultichannelmessage) | **POST** /users/{accountId}/messages/multiChannel | Create Multi-Channel Message
|
|
133
|
+
*PhoneNumberLookupApi* | [**createAsyncBulkLookup**](docs/PhoneNumberLookupApi.md#createasyncbulklookup) | **POST** /accounts/{accountId}/phoneNumberLookup/bulk | Create Asynchronous Bulk Number Lookup
|
|
134
|
+
*PhoneNumberLookupApi* | [**createSyncLookup**](docs/PhoneNumberLookupApi.md#createsynclookup) | **POST** /accounts/{accountId}/phoneNumberLookup | Create Synchronous Number Lookup
|
|
135
|
+
*PhoneNumberLookupApi* | [**getAsyncBulkLookup**](docs/PhoneNumberLookupApi.md#getasyncbulklookup) | **GET** /accounts/{accountId}/phoneNumberLookup/bulk/{requestId} | Get Asynchronous Bulk Number Lookup
|
|
136
|
+
*RecordingsApi* | [**deleteRecording**](docs/RecordingsApi.md#deleterecording) | **DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId} | Delete Recording
|
|
137
|
+
*RecordingsApi* | [**deleteRecordingMedia**](docs/RecordingsApi.md#deleterecordingmedia) | **DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/media | Delete Recording Media
|
|
138
|
+
*RecordingsApi* | [**deleteRecordingTranscription**](docs/RecordingsApi.md#deleterecordingtranscription) | **DELETE** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription | Delete Transcription
|
|
139
|
+
*RecordingsApi* | [**downloadCallRecording**](docs/RecordingsApi.md#downloadcallrecording) | **GET** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/media | Download Recording
|
|
140
|
+
*RecordingsApi* | [**getCallRecording**](docs/RecordingsApi.md#getcallrecording) | **GET** /accounts/{accountId}/calls/{callId}/recordings/{recordingId} | Get Call Recording
|
|
141
|
+
*RecordingsApi* | [**getRecordingTranscription**](docs/RecordingsApi.md#getrecordingtranscription) | **GET** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription | Get Transcription
|
|
142
|
+
*RecordingsApi* | [**listAccountCallRecordings**](docs/RecordingsApi.md#listaccountcallrecordings) | **GET** /accounts/{accountId}/recordings | Get Call Recordings
|
|
143
|
+
*RecordingsApi* | [**listCallRecordings**](docs/RecordingsApi.md#listcallrecordings) | **GET** /accounts/{accountId}/calls/{callId}/recordings | List Call Recordings
|
|
144
|
+
*RecordingsApi* | [**transcribeCallRecording**](docs/RecordingsApi.md#transcribecallrecording) | **POST** /accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription | Create Transcription Request
|
|
145
|
+
*RecordingsApi* | [**updateCallRecordingState**](docs/RecordingsApi.md#updatecallrecordingstate) | **PUT** /accounts/{accountId}/calls/{callId}/recording | Update Recording
|
|
146
|
+
*StatisticsApi* | [**getStatistics**](docs/StatisticsApi.md#getstatistics) | **GET** /accounts/{accountId}/statistics | Get Account Statistics
|
|
147
|
+
*TollFreeVerificationApi* | [**createWebhookSubscription**](docs/TollFreeVerificationApi.md#createwebhooksubscription) | **POST** /accounts/{accountId}/tollFreeVerification/webhooks/subscriptions | Create Webhook Subscription
|
|
148
|
+
*TollFreeVerificationApi* | [**deleteVerificationRequest**](docs/TollFreeVerificationApi.md#deleteverificationrequest) | **DELETE** /accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification | Delete a Toll-Free Verification Submission
|
|
149
|
+
*TollFreeVerificationApi* | [**deleteWebhookSubscription**](docs/TollFreeVerificationApi.md#deletewebhooksubscription) | **DELETE** /accounts/{accountId}/tollFreeVerification/webhooks/subscriptions/{id} | Delete Webhook Subscription
|
|
150
|
+
*TollFreeVerificationApi* | [**getTollFreeVerificationStatus**](docs/TollFreeVerificationApi.md#gettollfreeverificationstatus) | **GET** /accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification | Get Toll-Free Verification Status
|
|
151
|
+
*TollFreeVerificationApi* | [**listTollFreeUseCases**](docs/TollFreeVerificationApi.md#listtollfreeusecases) | **GET** /tollFreeVerification/useCases | List Toll-Free Use Cases
|
|
152
|
+
*TollFreeVerificationApi* | [**listWebhookSubscriptions**](docs/TollFreeVerificationApi.md#listwebhooksubscriptions) | **GET** /accounts/{accountId}/tollFreeVerification/webhooks/subscriptions | List Webhook Subscriptions
|
|
153
|
+
*TollFreeVerificationApi* | [**requestTollFreeVerification**](docs/TollFreeVerificationApi.md#requesttollfreeverification) | **POST** /accounts/{accountId}/tollFreeVerification | Request Toll-Free Verification
|
|
154
|
+
*TollFreeVerificationApi* | [**updateTollFreeVerificationRequest**](docs/TollFreeVerificationApi.md#updatetollfreeverificationrequest) | **PUT** /accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification | Update Toll-Free Verification Request
|
|
155
|
+
*TollFreeVerificationApi* | [**updateWebhookSubscription**](docs/TollFreeVerificationApi.md#updatewebhooksubscription) | **PUT** /accounts/{accountId}/tollFreeVerification/webhooks/subscriptions/{id} | Update Webhook Subscription
|
|
156
|
+
*TranscriptionsApi* | [**deleteRealTimeTranscription**](docs/TranscriptionsApi.md#deleterealtimetranscription) | **DELETE** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Delete Real-time Transcription
|
|
157
|
+
*TranscriptionsApi* | [**getRealTimeTranscription**](docs/TranscriptionsApi.md#getrealtimetranscription) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Get Real-time Transcription
|
|
158
|
+
*TranscriptionsApi* | [**listRealTimeTranscriptions**](docs/TranscriptionsApi.md#listrealtimetranscriptions) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions | List Real-time Transcriptions
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
### Documentation For Models
|
|
162
|
+
|
|
163
|
+
- [AccountStatistics](docs/AccountStatistics.md)
|
|
164
|
+
- [AdditionalDenialReason](docs/AdditionalDenialReason.md)
|
|
165
|
+
- [Address](docs/Address.md)
|
|
166
|
+
- [AnswerCallback](docs/AnswerCallback.md)
|
|
167
|
+
- [AsyncLookupRequest](docs/AsyncLookupRequest.md)
|
|
168
|
+
- [BlockedWebhook](docs/BlockedWebhook.md)
|
|
169
|
+
- [BridgeCompleteCallback](docs/BridgeCompleteCallback.md)
|
|
170
|
+
- [BridgeTargetCompleteCallback](docs/BridgeTargetCompleteCallback.md)
|
|
171
|
+
- [BusinessEntityTypeEnum](docs/BusinessEntityTypeEnum.md)
|
|
172
|
+
- [BusinessRegistrationTypeEnum](docs/BusinessRegistrationTypeEnum.md)
|
|
173
|
+
- [CallDirectionEnum](docs/CallDirectionEnum.md)
|
|
174
|
+
- [CallRecordingMetadata](docs/CallRecordingMetadata.md)
|
|
175
|
+
- [CallState](docs/CallState.md)
|
|
176
|
+
- [CallStateEnum](docs/CallStateEnum.md)
|
|
177
|
+
- [CallTranscription](docs/CallTranscription.md)
|
|
178
|
+
- [CallTranscriptionDetectedLanguageEnum](docs/CallTranscriptionDetectedLanguageEnum.md)
|
|
179
|
+
- [CallTranscriptionMetadata](docs/CallTranscriptionMetadata.md)
|
|
180
|
+
- [CallTranscriptionResponse](docs/CallTranscriptionResponse.md)
|
|
181
|
+
- [CallTranscriptionTrackEnum](docs/CallTranscriptionTrackEnum.md)
|
|
182
|
+
- [Callback](docs/Callback.md)
|
|
183
|
+
- [CallbackMethodEnum](docs/CallbackMethodEnum.md)
|
|
184
|
+
- [CardWidthEnum](docs/CardWidthEnum.md)
|
|
185
|
+
- [CodeRequest](docs/CodeRequest.md)
|
|
186
|
+
- [CompletedLookupStatusEnum](docs/CompletedLookupStatusEnum.md)
|
|
187
|
+
- [Conference](docs/Conference.md)
|
|
188
|
+
- [ConferenceCompletedCallback](docs/ConferenceCompletedCallback.md)
|
|
189
|
+
- [ConferenceCreatedCallback](docs/ConferenceCreatedCallback.md)
|
|
190
|
+
- [ConferenceMember](docs/ConferenceMember.md)
|
|
191
|
+
- [ConferenceMemberExitCallback](docs/ConferenceMemberExitCallback.md)
|
|
192
|
+
- [ConferenceMemberJoinCallback](docs/ConferenceMemberJoinCallback.md)
|
|
193
|
+
- [ConferenceRecordingAvailableCallback](docs/ConferenceRecordingAvailableCallback.md)
|
|
194
|
+
- [ConferenceRecordingMetadata](docs/ConferenceRecordingMetadata.md)
|
|
195
|
+
- [ConferenceRedirectCallback](docs/ConferenceRedirectCallback.md)
|
|
196
|
+
- [ConferenceStateEnum](docs/ConferenceStateEnum.md)
|
|
197
|
+
- [Contact](docs/Contact.md)
|
|
198
|
+
- [CreateAsyncBulkLookupResponse](docs/CreateAsyncBulkLookupResponse.md)
|
|
199
|
+
- [CreateAsyncBulkLookupResponseData](docs/CreateAsyncBulkLookupResponseData.md)
|
|
200
|
+
- [CreateCall](docs/CreateCall.md)
|
|
201
|
+
- [CreateCallResponse](docs/CreateCallResponse.md)
|
|
202
|
+
- [CreateMessageRequestError](docs/CreateMessageRequestError.md)
|
|
203
|
+
- [CreateMultiChannelMessageResponse](docs/CreateMultiChannelMessageResponse.md)
|
|
204
|
+
- [CreateSyncLookupResponse](docs/CreateSyncLookupResponse.md)
|
|
205
|
+
- [CreateSyncLookupResponseData](docs/CreateSyncLookupResponseData.md)
|
|
206
|
+
- [DeactivationEventEnum](docs/DeactivationEventEnum.md)
|
|
207
|
+
- [DisconnectCallback](docs/DisconnectCallback.md)
|
|
208
|
+
- [Diversion](docs/Diversion.md)
|
|
209
|
+
- [DtmfCallback](docs/DtmfCallback.md)
|
|
210
|
+
- [ErrorObject](docs/ErrorObject.md)
|
|
211
|
+
- [ErrorSource](docs/ErrorSource.md)
|
|
212
|
+
- [FailureWebhook](docs/FailureWebhook.md)
|
|
213
|
+
- [FieldError](docs/FieldError.md)
|
|
214
|
+
- [FileFormatEnum](docs/FileFormatEnum.md)
|
|
215
|
+
- [GatherCallback](docs/GatherCallback.md)
|
|
216
|
+
- [GetAsyncBulkLookupResponse](docs/GetAsyncBulkLookupResponse.md)
|
|
217
|
+
- [GetAsyncBulkLookupResponseData](docs/GetAsyncBulkLookupResponseData.md)
|
|
218
|
+
- [InProgressLookupStatusEnum](docs/InProgressLookupStatusEnum.md)
|
|
219
|
+
- [InboundCallback](docs/InboundCallback.md)
|
|
220
|
+
- [InboundCallbackMessage](docs/InboundCallbackMessage.md)
|
|
221
|
+
- [InboundCallbackTypeEnum](docs/InboundCallbackTypeEnum.md)
|
|
222
|
+
- [InitiateCallback](docs/InitiateCallback.md)
|
|
223
|
+
- [LatestMessageDeliveryStatusEnum](docs/LatestMessageDeliveryStatusEnum.md)
|
|
224
|
+
- [LineTypeEnum](docs/LineTypeEnum.md)
|
|
225
|
+
- [Link](docs/Link.md)
|
|
226
|
+
- [LinkSchema](docs/LinkSchema.md)
|
|
227
|
+
- [LinksObject](docs/LinksObject.md)
|
|
228
|
+
- [ListMessageDirectionEnum](docs/ListMessageDirectionEnum.md)
|
|
229
|
+
- [ListMessageItem](docs/ListMessageItem.md)
|
|
230
|
+
- [LookupErrorResponse](docs/LookupErrorResponse.md)
|
|
231
|
+
- [LookupErrorSchema](docs/LookupErrorSchema.md)
|
|
232
|
+
- [LookupErrorSchemaMeta](docs/LookupErrorSchemaMeta.md)
|
|
233
|
+
- [LookupResult](docs/LookupResult.md)
|
|
234
|
+
- [MachineDetectionCompleteCallback](docs/MachineDetectionCompleteCallback.md)
|
|
235
|
+
- [MachineDetectionConfiguration](docs/MachineDetectionConfiguration.md)
|
|
236
|
+
- [MachineDetectionModeEnum](docs/MachineDetectionModeEnum.md)
|
|
237
|
+
- [MachineDetectionResult](docs/MachineDetectionResult.md)
|
|
238
|
+
- [Media](docs/Media.md)
|
|
239
|
+
- [Message](docs/Message.md)
|
|
240
|
+
- [MessageDirectionEnum](docs/MessageDirectionEnum.md)
|
|
241
|
+
- [MessageRequest](docs/MessageRequest.md)
|
|
242
|
+
- [MessageStatusEnum](docs/MessageStatusEnum.md)
|
|
243
|
+
- [MessageTypeEnum](docs/MessageTypeEnum.md)
|
|
244
|
+
- [MessagesList](docs/MessagesList.md)
|
|
245
|
+
- [MessagingCodeResponse](docs/MessagingCodeResponse.md)
|
|
246
|
+
- [MessagingRequestError](docs/MessagingRequestError.md)
|
|
247
|
+
- [MfaForbiddenRequestError](docs/MfaForbiddenRequestError.md)
|
|
248
|
+
- [MfaRequestError](docs/MfaRequestError.md)
|
|
249
|
+
- [MfaUnauthorizedRequestError](docs/MfaUnauthorizedRequestError.md)
|
|
250
|
+
- [MmsMessageContent](docs/MmsMessageContent.md)
|
|
251
|
+
- [MmsMessageContentFile](docs/MmsMessageContentFile.md)
|
|
252
|
+
- [ModelError](docs/ModelError.md)
|
|
253
|
+
- [MultiChannelAction](docs/MultiChannelAction.md)
|
|
254
|
+
- [MultiChannelActionCalendarEvent](docs/MultiChannelActionCalendarEvent.md)
|
|
255
|
+
- [MultiChannelChannelListObject](docs/MultiChannelChannelListObject.md)
|
|
256
|
+
- [MultiChannelChannelListObjectContent](docs/MultiChannelChannelListObjectContent.md)
|
|
257
|
+
- [MultiChannelError](docs/MultiChannelError.md)
|
|
258
|
+
- [MultiChannelMessageChannelEnum](docs/MultiChannelMessageChannelEnum.md)
|
|
259
|
+
- [MultiChannelMessageContent](docs/MultiChannelMessageContent.md)
|
|
260
|
+
- [MultiChannelMessageRequest](docs/MultiChannelMessageRequest.md)
|
|
261
|
+
- [MultiChannelMessageResponseData](docs/MultiChannelMessageResponseData.md)
|
|
262
|
+
- [MultiChannelMessageResponseDataChannelListInner](docs/MultiChannelMessageResponseDataChannelListInner.md)
|
|
263
|
+
- [OptInWorkflow](docs/OptInWorkflow.md)
|
|
264
|
+
- [PageInfo](docs/PageInfo.md)
|
|
265
|
+
- [PriorityEnum](docs/PriorityEnum.md)
|
|
266
|
+
- [ProductTypeEnum](docs/ProductTypeEnum.md)
|
|
267
|
+
- [RbmActionBase](docs/RbmActionBase.md)
|
|
268
|
+
- [RbmActionDial](docs/RbmActionDial.md)
|
|
269
|
+
- [RbmActionOpenUrl](docs/RbmActionOpenUrl.md)
|
|
270
|
+
- [RbmActionTypeEnum](docs/RbmActionTypeEnum.md)
|
|
271
|
+
- [RbmActionViewLocation](docs/RbmActionViewLocation.md)
|
|
272
|
+
- [RbmCardContent](docs/RbmCardContent.md)
|
|
273
|
+
- [RbmCardContentMedia](docs/RbmCardContentMedia.md)
|
|
274
|
+
- [RbmLocationResponse](docs/RbmLocationResponse.md)
|
|
275
|
+
- [RbmMediaHeightEnum](docs/RbmMediaHeightEnum.md)
|
|
276
|
+
- [RbmMessageCarouselCard](docs/RbmMessageCarouselCard.md)
|
|
277
|
+
- [RbmMessageContentFile](docs/RbmMessageContentFile.md)
|
|
278
|
+
- [RbmMessageContentRichCard](docs/RbmMessageContentRichCard.md)
|
|
279
|
+
- [RbmMessageContentText](docs/RbmMessageContentText.md)
|
|
280
|
+
- [RbmMessageMedia](docs/RbmMessageMedia.md)
|
|
281
|
+
- [RbmStandaloneCard](docs/RbmStandaloneCard.md)
|
|
282
|
+
- [RbmSuggestionResponse](docs/RbmSuggestionResponse.md)
|
|
283
|
+
- [RecordingAvailableCallback](docs/RecordingAvailableCallback.md)
|
|
284
|
+
- [RecordingCompleteCallback](docs/RecordingCompleteCallback.md)
|
|
285
|
+
- [RecordingStateEnum](docs/RecordingStateEnum.md)
|
|
286
|
+
- [RecordingTranscriptionMetadata](docs/RecordingTranscriptionMetadata.md)
|
|
287
|
+
- [RecordingTranscriptions](docs/RecordingTranscriptions.md)
|
|
288
|
+
- [RedirectCallback](docs/RedirectCallback.md)
|
|
289
|
+
- [RedirectMethodEnum](docs/RedirectMethodEnum.md)
|
|
290
|
+
- [SmsMessageContent](docs/SmsMessageContent.md)
|
|
291
|
+
- [StandaloneCardOrientationEnum](docs/StandaloneCardOrientationEnum.md)
|
|
292
|
+
- [StatusCallback](docs/StatusCallback.md)
|
|
293
|
+
- [StatusCallbackMessage](docs/StatusCallbackMessage.md)
|
|
294
|
+
- [StatusCallbackTypeEnum](docs/StatusCallbackTypeEnum.md)
|
|
295
|
+
- [StirShaken](docs/StirShaken.md)
|
|
296
|
+
- [SyncLookupRequest](docs/SyncLookupRequest.md)
|
|
297
|
+
- [TelephoneNumber](docs/TelephoneNumber.md)
|
|
298
|
+
- [TfvBasicAuthentication](docs/TfvBasicAuthentication.md)
|
|
299
|
+
- [TfvCallbackStatusEnum](docs/TfvCallbackStatusEnum.md)
|
|
300
|
+
- [TfvError](docs/TfvError.md)
|
|
301
|
+
- [TfvStatus](docs/TfvStatus.md)
|
|
302
|
+
- [TfvStatusEnum](docs/TfvStatusEnum.md)
|
|
303
|
+
- [TfvSubmissionInfo](docs/TfvSubmissionInfo.md)
|
|
304
|
+
- [TfvSubmissionWrapper](docs/TfvSubmissionWrapper.md)
|
|
305
|
+
- [ThumbnailAlignmentEnum](docs/ThumbnailAlignmentEnum.md)
|
|
306
|
+
- [TranscribeRecording](docs/TranscribeRecording.md)
|
|
307
|
+
- [Transcription](docs/Transcription.md)
|
|
308
|
+
- [TranscriptionAvailableCallback](docs/TranscriptionAvailableCallback.md)
|
|
309
|
+
- [TransferAnswerCallback](docs/TransferAnswerCallback.md)
|
|
310
|
+
- [TransferCompleteCallback](docs/TransferCompleteCallback.md)
|
|
311
|
+
- [TransferDisconnectCallback](docs/TransferDisconnectCallback.md)
|
|
312
|
+
- [UpdateCall](docs/UpdateCall.md)
|
|
313
|
+
- [UpdateCallRecording](docs/UpdateCallRecording.md)
|
|
314
|
+
- [UpdateConference](docs/UpdateConference.md)
|
|
315
|
+
- [UpdateConferenceMember](docs/UpdateConferenceMember.md)
|
|
316
|
+
- [VerificationDenialWebhook](docs/VerificationDenialWebhook.md)
|
|
317
|
+
- [VerificationRequest](docs/VerificationRequest.md)
|
|
318
|
+
- [VerificationUpdateRequest](docs/VerificationUpdateRequest.md)
|
|
319
|
+
- [VerificationWebhook](docs/VerificationWebhook.md)
|
|
320
|
+
- [VerifyCodeRequest](docs/VerifyCodeRequest.md)
|
|
321
|
+
- [VerifyCodeResponse](docs/VerifyCodeResponse.md)
|
|
322
|
+
- [VoiceApiError](docs/VoiceApiError.md)
|
|
323
|
+
- [VoiceCodeResponse](docs/VoiceCodeResponse.md)
|
|
324
|
+
- [WebhookSubscription](docs/WebhookSubscription.md)
|
|
325
|
+
- [WebhookSubscriptionBasicAuthentication](docs/WebhookSubscriptionBasicAuthentication.md)
|
|
326
|
+
- [WebhookSubscriptionRequestSchema](docs/WebhookSubscriptionRequestSchema.md)
|
|
327
|
+
- [WebhookSubscriptionTypeEnum](docs/WebhookSubscriptionTypeEnum.md)
|
|
328
|
+
- [WebhookSubscriptionsListBody](docs/WebhookSubscriptionsListBody.md)
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
<a id="documentation-for-authorization"></a>
|
|
332
|
+
## Documentation For Authorization
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
Authentication schemes defined for the API:
|
|
336
|
+
<a id="Basic"></a>
|
|
337
|
+
### Basic
|
|
338
|
+
|
|
339
|
+
- **Type**: HTTP basic authentication
|
|
340
|
+
|
package/api/calls-api.ts
CHANGED
|
@@ -33,7 +33,6 @@ import type { UpdateCall } from '../models';
|
|
|
33
33
|
import type { VoiceApiError } from '../models';
|
|
34
34
|
/**
|
|
35
35
|
* CallsApi - axios parameter creator
|
|
36
|
-
* @export
|
|
37
36
|
*/
|
|
38
37
|
export const CallsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
39
38
|
return {
|
|
@@ -297,7 +296,6 @@ export const CallsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
297
296
|
|
|
298
297
|
/**
|
|
299
298
|
* CallsApi - functional programming interface
|
|
300
|
-
* @export
|
|
301
299
|
*/
|
|
302
300
|
export const CallsApiFp = function(configuration?: Configuration) {
|
|
303
301
|
const localVarAxiosParamCreator = CallsApiAxiosParamCreator(configuration)
|
|
@@ -385,7 +383,6 @@ export const CallsApiFp = function(configuration?: Configuration) {
|
|
|
385
383
|
|
|
386
384
|
/**
|
|
387
385
|
* CallsApi - factory interface
|
|
388
|
-
* @export
|
|
389
386
|
*/
|
|
390
387
|
export const CallsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
391
388
|
const localVarFp = CallsApiFp(configuration)
|
|
@@ -458,9 +455,6 @@ export const CallsApiFactory = function (configuration?: Configuration, basePath
|
|
|
458
455
|
|
|
459
456
|
/**
|
|
460
457
|
* CallsApi - object-oriented interface
|
|
461
|
-
* @export
|
|
462
|
-
* @class CallsApi
|
|
463
|
-
* @extends {BaseAPI}
|
|
464
458
|
*/
|
|
465
459
|
export class CallsApi extends BaseAPI {
|
|
466
460
|
/**
|
|
@@ -470,7 +464,6 @@ export class CallsApi extends BaseAPI {
|
|
|
470
464
|
* @param {CreateCall} createCall JSON object containing information to create an outbound call
|
|
471
465
|
* @param {*} [options] Override http request option.
|
|
472
466
|
* @throws {RequiredError}
|
|
473
|
-
* @memberof CallsApi
|
|
474
467
|
*/
|
|
475
468
|
public createCall(accountId: string, createCall: CreateCall, options?: RawAxiosRequestConfig) {
|
|
476
469
|
return CallsApiFp(this.configuration).createCall(accountId, createCall, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -483,7 +476,6 @@ export class CallsApi extends BaseAPI {
|
|
|
483
476
|
* @param {string} callId Programmable Voice API Call ID.
|
|
484
477
|
* @param {*} [options] Override http request option.
|
|
485
478
|
* @throws {RequiredError}
|
|
486
|
-
* @memberof CallsApi
|
|
487
479
|
*/
|
|
488
480
|
public getCallState(accountId: string, callId: string, options?: RawAxiosRequestConfig) {
|
|
489
481
|
return CallsApiFp(this.configuration).getCallState(accountId, callId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -502,7 +494,6 @@ export class CallsApi extends BaseAPI {
|
|
|
502
494
|
* @param {string} [pageToken] Not intended for explicit use. To use pagination, follow the links in the `Link` header of the response, as indicated in the endpoint description.
|
|
503
495
|
* @param {*} [options] Override http request option.
|
|
504
496
|
* @throws {RequiredError}
|
|
505
|
-
* @memberof CallsApi
|
|
506
497
|
*/
|
|
507
498
|
public listCalls(accountId: string, to?: string, from?: string, minStartTime?: string, maxStartTime?: string, disconnectCause?: string, pageSize?: number, pageToken?: string, options?: RawAxiosRequestConfig) {
|
|
508
499
|
return CallsApiFp(this.configuration).listCalls(accountId, to, from, minStartTime, maxStartTime, disconnectCause, pageSize, pageToken, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -516,7 +507,6 @@ export class CallsApi extends BaseAPI {
|
|
|
516
507
|
* @param {UpdateCall} updateCall JSON object containing information to redirect an existing call to a new BXML document
|
|
517
508
|
* @param {*} [options] Override http request option.
|
|
518
509
|
* @throws {RequiredError}
|
|
519
|
-
* @memberof CallsApi
|
|
520
510
|
*/
|
|
521
511
|
public updateCall(accountId: string, callId: string, updateCall: UpdateCall, options?: RawAxiosRequestConfig) {
|
|
522
512
|
return CallsApiFp(this.configuration).updateCall(accountId, callId, updateCall, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -530,7 +520,6 @@ export class CallsApi extends BaseAPI {
|
|
|
530
520
|
* @param {string} body
|
|
531
521
|
* @param {*} [options] Override http request option.
|
|
532
522
|
* @throws {RequiredError}
|
|
533
|
-
* @memberof CallsApi
|
|
534
523
|
*/
|
|
535
524
|
public updateCallBxml(accountId: string, callId: string, body: string, options?: RawAxiosRequestConfig) {
|
|
536
525
|
return CallsApiFp(this.configuration).updateCallBxml(accountId, callId, body, options).then((request) => request(this.axios, this.basePath));
|
package/api/conferences-api.ts
CHANGED
|
@@ -35,7 +35,6 @@ import type { UpdateConferenceMember } from '../models';
|
|
|
35
35
|
import type { VoiceApiError } from '../models';
|
|
36
36
|
/**
|
|
37
37
|
* ConferencesApi - axios parameter creator
|
|
38
|
-
* @export
|
|
39
38
|
*/
|
|
40
39
|
export const ConferencesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
41
40
|
return {
|
|
@@ -477,7 +476,6 @@ export const ConferencesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
477
476
|
|
|
478
477
|
/**
|
|
479
478
|
* ConferencesApi - functional programming interface
|
|
480
|
-
* @export
|
|
481
479
|
*/
|
|
482
480
|
export const ConferencesApiFp = function(configuration?: Configuration) {
|
|
483
481
|
const localVarAxiosParamCreator = ConferencesApiAxiosParamCreator(configuration)
|
|
@@ -624,7 +622,6 @@ export const ConferencesApiFp = function(configuration?: Configuration) {
|
|
|
624
622
|
|
|
625
623
|
/**
|
|
626
624
|
* ConferencesApi - factory interface
|
|
627
|
-
* @export
|
|
628
625
|
*/
|
|
629
626
|
export const ConferencesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
630
627
|
const localVarFp = ConferencesApiFp(configuration)
|
|
@@ -744,9 +741,6 @@ export const ConferencesApiFactory = function (configuration?: Configuration, ba
|
|
|
744
741
|
|
|
745
742
|
/**
|
|
746
743
|
* ConferencesApi - object-oriented interface
|
|
747
|
-
* @export
|
|
748
|
-
* @class ConferencesApi
|
|
749
|
-
* @extends {BaseAPI}
|
|
750
744
|
*/
|
|
751
745
|
export class ConferencesApi extends BaseAPI {
|
|
752
746
|
/**
|
|
@@ -757,7 +751,6 @@ export class ConferencesApi extends BaseAPI {
|
|
|
757
751
|
* @param {string} recordingId Programmable Voice API Recording ID.
|
|
758
752
|
* @param {*} [options] Override http request option.
|
|
759
753
|
* @throws {RequiredError}
|
|
760
|
-
* @memberof ConferencesApi
|
|
761
754
|
*/
|
|
762
755
|
public downloadConferenceRecording(accountId: string, conferenceId: string, recordingId: string, options?: RawAxiosRequestConfig) {
|
|
763
756
|
return ConferencesApiFp(this.configuration).downloadConferenceRecording(accountId, conferenceId, recordingId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -770,7 +763,6 @@ export class ConferencesApi extends BaseAPI {
|
|
|
770
763
|
* @param {string} conferenceId Programmable Voice API Conference ID.
|
|
771
764
|
* @param {*} [options] Override http request option.
|
|
772
765
|
* @throws {RequiredError}
|
|
773
|
-
* @memberof ConferencesApi
|
|
774
766
|
*/
|
|
775
767
|
public getConference(accountId: string, conferenceId: string, options?: RawAxiosRequestConfig) {
|
|
776
768
|
return ConferencesApiFp(this.configuration).getConference(accountId, conferenceId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -784,7 +776,6 @@ export class ConferencesApi extends BaseAPI {
|
|
|
784
776
|
* @param {string} memberId Programmable Voice API Conference Member ID.
|
|
785
777
|
* @param {*} [options] Override http request option.
|
|
786
778
|
* @throws {RequiredError}
|
|
787
|
-
* @memberof ConferencesApi
|
|
788
779
|
*/
|
|
789
780
|
public getConferenceMember(accountId: string, conferenceId: string, memberId: string, options?: RawAxiosRequestConfig) {
|
|
790
781
|
return ConferencesApiFp(this.configuration).getConferenceMember(accountId, conferenceId, memberId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -798,7 +789,6 @@ export class ConferencesApi extends BaseAPI {
|
|
|
798
789
|
* @param {string} recordingId Programmable Voice API Recording ID.
|
|
799
790
|
* @param {*} [options] Override http request option.
|
|
800
791
|
* @throws {RequiredError}
|
|
801
|
-
* @memberof ConferencesApi
|
|
802
792
|
*/
|
|
803
793
|
public getConferenceRecording(accountId: string, conferenceId: string, recordingId: string, options?: RawAxiosRequestConfig) {
|
|
804
794
|
return ConferencesApiFp(this.configuration).getConferenceRecording(accountId, conferenceId, recordingId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -811,7 +801,6 @@ export class ConferencesApi extends BaseAPI {
|
|
|
811
801
|
* @param {string} conferenceId Programmable Voice API Conference ID.
|
|
812
802
|
* @param {*} [options] Override http request option.
|
|
813
803
|
* @throws {RequiredError}
|
|
814
|
-
* @memberof ConferencesApi
|
|
815
804
|
*/
|
|
816
805
|
public listConferenceRecordings(accountId: string, conferenceId: string, options?: RawAxiosRequestConfig) {
|
|
817
806
|
return ConferencesApiFp(this.configuration).listConferenceRecordings(accountId, conferenceId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -828,7 +817,6 @@ export class ConferencesApi extends BaseAPI {
|
|
|
828
817
|
* @param {string} [pageToken] Not intended for explicit use. To use pagination, follow the links in the `Link` header of the response, as indicated in the endpoint description.
|
|
829
818
|
* @param {*} [options] Override http request option.
|
|
830
819
|
* @throws {RequiredError}
|
|
831
|
-
* @memberof ConferencesApi
|
|
832
820
|
*/
|
|
833
821
|
public listConferences(accountId: string, name?: string, minCreatedTime?: string, maxCreatedTime?: string, pageSize?: number, pageToken?: string, options?: RawAxiosRequestConfig) {
|
|
834
822
|
return ConferencesApiFp(this.configuration).listConferences(accountId, name, minCreatedTime, maxCreatedTime, pageSize, pageToken, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -842,7 +830,6 @@ export class ConferencesApi extends BaseAPI {
|
|
|
842
830
|
* @param {UpdateConference} updateConference
|
|
843
831
|
* @param {*} [options] Override http request option.
|
|
844
832
|
* @throws {RequiredError}
|
|
845
|
-
* @memberof ConferencesApi
|
|
846
833
|
*/
|
|
847
834
|
public updateConference(accountId: string, conferenceId: string, updateConference: UpdateConference, options?: RawAxiosRequestConfig) {
|
|
848
835
|
return ConferencesApiFp(this.configuration).updateConference(accountId, conferenceId, updateConference, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -856,7 +843,6 @@ export class ConferencesApi extends BaseAPI {
|
|
|
856
843
|
* @param {string} body
|
|
857
844
|
* @param {*} [options] Override http request option.
|
|
858
845
|
* @throws {RequiredError}
|
|
859
|
-
* @memberof ConferencesApi
|
|
860
846
|
*/
|
|
861
847
|
public updateConferenceBxml(accountId: string, conferenceId: string, body: string, options?: RawAxiosRequestConfig) {
|
|
862
848
|
return ConferencesApiFp(this.configuration).updateConferenceBxml(accountId, conferenceId, body, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -871,7 +857,6 @@ export class ConferencesApi extends BaseAPI {
|
|
|
871
857
|
* @param {UpdateConferenceMember} updateConferenceMember
|
|
872
858
|
* @param {*} [options] Override http request option.
|
|
873
859
|
* @throws {RequiredError}
|
|
874
|
-
* @memberof ConferencesApi
|
|
875
860
|
*/
|
|
876
861
|
public updateConferenceMember(accountId: string, conferenceId: string, memberId: string, updateConferenceMember: UpdateConferenceMember, options?: RawAxiosRequestConfig) {
|
|
877
862
|
return ConferencesApiFp(this.configuration).updateConferenceMember(accountId, conferenceId, memberId, updateConferenceMember, options).then((request) => request(this.axios, this.basePath));
|