bandwidth-sdk 6.2.1 → 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 -76
- package/api/recordings-api.ts +0 -16
- package/api/statistics-api.ts +0 -7
- package/api/toll-free-verification-api.ts +0 -15
- package/api/transcriptions-api.ts +0 -9
- package/bandwidth.yml +551 -277
- package/base.ts +10 -28
- package/common.ts +5 -42
- package/configuration.ts +26 -20
- package/coverage/clover.xml +1332 -1279
- 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 +338 -131
- package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +2 -50
- package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +2 -23
- package/coverage/lcov-report/node-sdk/api/toll-free-verification-api.ts.html +2 -47
- package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +2 -29
- package/coverage/lcov-report/node-sdk/api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/base.ts.html +19 -73
- package/coverage/lcov-report/node-sdk/common.ts.html +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 +2940 -2824
- package/custom_templates/README.mustache +56 -6
- package/custom_templates/common.mustache +29 -44
- package/custom_templates/configuration.mustache +26 -19
- package/custom_templates/package.mustache +1 -1
- package/dist/api/calls-api.d.ts +0 -11
- package/dist/api/calls-api.js +0 -11
- package/dist/api/conferences-api.d.ts +0 -15
- package/dist/api/conferences-api.js +0 -15
- package/dist/api/media-api.d.ts +0 -10
- package/dist/api/media-api.js +0 -10
- package/dist/api/messages-api.d.ts +0 -8
- package/dist/api/messages-api.js +0 -8
- package/dist/api/mfaapi.d.ts +0 -9
- package/dist/api/mfaapi.js +0 -9
- package/dist/api/multi-channel-api.d.ts +0 -7
- package/dist/api/multi-channel-api.js +0 -7
- package/dist/api/phone-number-lookup-api.d.ts +81 -59
- package/dist/api/phone-number-lookup-api.js +149 -73
- package/dist/api/recordings-api.d.ts +0 -16
- package/dist/api/recordings-api.js +0 -16
- package/dist/api/statistics-api.d.ts +0 -7
- package/dist/api/statistics-api.js +0 -7
- package/dist/api/toll-free-verification-api.d.ts +0 -15
- package/dist/api/toll-free-verification-api.js +0 -15
- package/dist/api/transcriptions-api.d.ts +0 -9
- package/dist/api/transcriptions-api.js +0 -9
- package/dist/base.d.ts +0 -24
- package/dist/base.js +10 -23
- package/dist/common.d.ts +0 -37
- package/dist/common.js +0 -37
- package/dist/configuration.d.ts +24 -17
- package/dist/configuration.js +2 -2
- package/dist/models/account-statistics.d.ts +0 -9
- package/dist/models/additional-denial-reason.d.ts +0 -11
- package/dist/models/address.d.ts +0 -19
- package/dist/models/answer-callback.d.ts +0 -36
- package/dist/models/async-lookup-request.d.ts +17 -0
- package/dist/models/blocked-webhook.d.ts +0 -20
- package/dist/models/bridge-complete-callback.d.ts +0 -37
- package/dist/models/bridge-target-complete-callback.d.ts +0 -31
- package/dist/models/business-entity-type-enum.d.ts +0 -2
- package/dist/models/business-entity-type-enum.js +0 -2
- package/dist/models/business-registration-type-enum.d.ts +0 -2
- package/dist/models/business-registration-type-enum.js +0 -2
- package/dist/models/call-direction-enum.d.ts +0 -2
- package/dist/models/call-direction-enum.js +0 -2
- package/dist/models/call-recording-metadata.d.ts +0 -52
- package/dist/models/call-state-enum.d.ts +0 -2
- package/dist/models/call-state-enum.js +0 -2
- package/dist/models/call-state.d.ts +0 -44
- package/dist/models/call-transcription-detected-language-enum.d.ts +0 -2
- package/dist/models/call-transcription-detected-language-enum.js +0 -2
- package/dist/models/call-transcription-metadata.d.ts +0 -11
- package/dist/models/call-transcription-response.d.ts +0 -16
- package/dist/models/call-transcription-track-enum.d.ts +0 -2
- package/dist/models/call-transcription-track-enum.js +0 -2
- package/dist/models/call-transcription.d.ts +0 -19
- package/dist/models/callback-method-enum.d.ts +0 -2
- package/dist/models/callback-method-enum.js +0 -2
- package/dist/models/callback.d.ts +0 -1
- package/dist/models/card-width-enum.d.ts +0 -5
- package/dist/models/card-width-enum.js +0 -5
- package/dist/models/code-request.d.ts +0 -17
- package/dist/models/completed-lookup-status-enum.d.ts +17 -0
- package/dist/models/completed-lookup-status-enum.js +21 -0
- package/dist/models/conference-completed-callback.d.ts +0 -12
- package/dist/models/conference-created-callback.d.ts +0 -12
- package/dist/models/conference-member-exit-callback.d.ts +0 -18
- package/dist/models/conference-member-join-callback.d.ts +0 -18
- package/dist/models/conference-member.d.ts +0 -17
- package/dist/models/conference-recording-available-callback.d.ts +0 -33
- package/dist/models/conference-recording-metadata.d.ts +0 -32
- package/dist/models/conference-redirect-callback.d.ts +0 -12
- package/dist/models/conference-state-enum.d.ts +0 -2
- package/dist/models/conference-state-enum.js +0 -2
- package/dist/models/conference.d.ts +0 -24
- package/dist/models/contact.d.ts +0 -16
- package/dist/models/create-async-bulk-lookup-response-data.d.ts +22 -0
- package/dist/models/create-async-bulk-lookup-response.d.ts +22 -0
- package/dist/models/create-call-response.d.ts +0 -56
- package/dist/models/create-call.d.ts +0 -59
- package/dist/models/create-message-request-error.d.ts +0 -20
- package/dist/models/create-multi-channel-message-response.d.ts +0 -20
- package/dist/models/create-sync-lookup-response-data.d.ts +27 -0
- package/dist/models/create-sync-lookup-response.d.ts +19 -0
- package/dist/models/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 +0 -11
- package/dist/models/sync-lookup-request.d.ts +17 -0
- package/dist/models/sync-lookup-request.js +15 -0
- package/dist/models/telephone-number.d.ts +0 -7
- package/dist/models/tfv-basic-authentication.d.ts +0 -15
- package/dist/models/tfv-callback-status-enum.d.ts +0 -5
- package/dist/models/tfv-callback-status-enum.js +0 -5
- package/dist/models/tfv-error.d.ts +0 -14
- package/dist/models/tfv-status-enum.d.ts +0 -5
- package/dist/models/tfv-status-enum.js +0 -5
- package/dist/models/tfv-status.d.ts +0 -31
- package/dist/models/tfv-submission-info.d.ts +0 -50
- package/dist/models/tfv-submission-wrapper.d.ts +0 -10
- package/dist/models/thumbnail-alignment-enum.d.ts +0 -2
- package/dist/models/thumbnail-alignment-enum.js +0 -2
- package/dist/models/transcribe-recording.d.ts +0 -22
- package/dist/models/transcription-available-callback.d.ts +0 -53
- package/dist/models/transcription.d.ts +0 -9
- package/dist/models/transfer-answer-callback.d.ts +0 -35
- package/dist/models/transfer-complete-callback.d.ts +0 -41
- package/dist/models/transfer-disconnect-callback.d.ts +0 -45
- package/dist/models/update-call-recording.d.ts +0 -10
- package/dist/models/update-call.d.ts +0 -34
- package/dist/models/update-conference-member.d.ts +0 -11
- package/dist/models/update-conference.d.ts +0 -32
- package/dist/models/verification-denial-webhook.d.ts +0 -28
- package/dist/models/verification-request.d.ts +0 -59
- package/dist/models/verification-update-request.d.ts +0 -54
- package/dist/models/verification-webhook.d.ts +0 -16
- package/dist/models/verify-code-request.d.ts +0 -13
- package/dist/models/verify-code-response.d.ts +0 -7
- package/dist/models/voice-api-error.d.ts +0 -20
- package/dist/models/voice-code-response.d.ts +0 -7
- package/dist/models/webhook-subscription-basic-authentication.d.ts +0 -12
- package/dist/models/webhook-subscription-request-schema.d.ts +0 -14
- package/dist/models/webhook-subscription-type-enum.d.ts +0 -5
- package/dist/models/webhook-subscription-type-enum.js +0 -5
- package/dist/models/webhook-subscription.d.ts +0 -34
- package/dist/models/webhook-subscriptions-list-body.d.ts +0 -17
- package/docs/{TnLookupRequestError.md → AsyncLookupRequest.md} +5 -5
- package/docs/CompletedLookupStatusEnum.md +12 -0
- package/docs/CreateAsyncBulkLookupResponse.md +24 -0
- package/docs/{CreateLookupResponse.md → CreateAsyncBulkLookupResponseData.md} +5 -5
- package/docs/CreateSyncLookupResponse.md +24 -0
- package/docs/CreateSyncLookupResponseData.md +25 -0
- package/docs/DeactivationEventEnum.md +9 -0
- package/docs/GetAsyncBulkLookupResponse.md +24 -0
- package/docs/GetAsyncBulkLookupResponseData.md +25 -0
- package/docs/{LookupStatusEnum.md → InProgressLookupStatusEnum.md} +1 -2
- package/docs/LatestMessageDeliveryStatusEnum.md +13 -0
- package/docs/LineTypeEnum.md +14 -0
- package/docs/LinkSchema.md +24 -0
- package/docs/LookupErrorResponse.md +24 -0
- package/docs/LookupErrorSchema.md +26 -0
- package/docs/LookupErrorSchemaMeta.md +24 -0
- package/docs/LookupResult.md +22 -18
- package/docs/PhoneNumberLookupApi.md +81 -34
- package/docs/{LookupRequest.md → SyncLookupRequest.md} +5 -6
- package/models/account-statistics.ts +0 -9
- package/models/additional-denial-reason.ts +0 -11
- package/models/address.ts +0 -19
- package/models/answer-callback.ts +0 -36
- package/models/async-lookup-request.ts +23 -0
- package/models/blocked-webhook.ts +0 -20
- package/models/bridge-complete-callback.ts +0 -37
- package/models/bridge-target-complete-callback.ts +0 -31
- package/models/business-entity-type-enum.ts +0 -2
- package/models/business-registration-type-enum.ts +0 -2
- package/models/call-direction-enum.ts +0 -2
- package/models/call-recording-metadata.ts +0 -52
- package/models/call-state-enum.ts +0 -2
- package/models/call-state.ts +0 -44
- package/models/call-transcription-detected-language-enum.ts +0 -2
- package/models/call-transcription-metadata.ts +0 -11
- package/models/call-transcription-response.ts +0 -16
- package/models/call-transcription-track-enum.ts +0 -2
- package/models/call-transcription.ts +0 -19
- package/models/callback-method-enum.ts +0 -2
- package/models/callback.ts +0 -1
- package/models/card-width-enum.ts +0 -5
- package/models/code-request.ts +0 -17
- package/models/completed-lookup-status-enum.ts +27 -0
- package/models/conference-completed-callback.ts +0 -12
- package/models/conference-created-callback.ts +0 -12
- package/models/conference-member-exit-callback.ts +0 -18
- package/models/conference-member-join-callback.ts +0 -18
- package/models/conference-member.ts +0 -17
- package/models/conference-recording-available-callback.ts +0 -33
- package/models/conference-recording-metadata.ts +0 -32
- package/models/conference-redirect-callback.ts +0 -12
- package/models/conference-state-enum.ts +0 -2
- package/models/conference.ts +0 -24
- package/models/contact.ts +0 -16
- package/models/create-async-bulk-lookup-response-data.ts +32 -0
- package/models/create-async-bulk-lookup-response.ts +34 -0
- package/models/create-call-response.ts +0 -56
- package/models/create-call.ts +0 -59
- package/models/create-message-request-error.ts +0 -20
- package/models/create-multi-channel-message-response.ts +0 -20
- package/models/{create-lookup-response.ts → create-sync-lookup-response-data.ts} +9 -11
- package/models/create-sync-lookup-response.ts +31 -0
- package/models/deactivation-event-enum.ts +28 -0
- package/models/disconnect-callback.ts +0 -39
- package/models/diversion.ts +0 -19
- package/models/dtmf-callback.ts +0 -39
- package/models/error-object.ts +0 -14
- package/models/error-source.ts +0 -10
- package/models/failure-webhook.ts +0 -17
- package/models/field-error.ts +0 -9
- package/models/file-format-enum.ts +0 -2
- package/models/gather-callback.ts +0 -41
- package/models/get-async-bulk-lookup-response-data.ts +39 -0
- package/models/get-async-bulk-lookup-response.ts +31 -0
- package/models/{lookup-status-enum.ts → in-progress-lookup-status-enum.ts} +2 -7
- package/models/inbound-callback-message.ts +0 -1
- package/models/inbound-callback-type-enum.ts +0 -2
- package/models/inbound-callback.ts +0 -23
- package/models/index.ts +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 +0 -11
- package/models/sync-lookup-request.ts +23 -0
- package/models/telephone-number.ts +0 -7
- package/models/tfv-basic-authentication.ts +0 -15
- package/models/tfv-callback-status-enum.ts +0 -5
- package/models/tfv-error.ts +0 -14
- package/models/tfv-status-enum.ts +0 -5
- package/models/tfv-status.ts +0 -31
- package/models/tfv-submission-info.ts +0 -50
- package/models/tfv-submission-wrapper.ts +0 -10
- package/models/thumbnail-alignment-enum.ts +0 -2
- package/models/transcribe-recording.ts +0 -22
- package/models/transcription-available-callback.ts +0 -53
- package/models/transcription.ts +0 -9
- package/models/transfer-answer-callback.ts +0 -35
- package/models/transfer-complete-callback.ts +0 -41
- package/models/transfer-disconnect-callback.ts +0 -45
- package/models/update-call-recording.ts +0 -10
- package/models/update-call.ts +0 -34
- package/models/update-conference-member.ts +0 -11
- package/models/update-conference.ts +0 -32
- package/models/verification-denial-webhook.ts +0 -28
- package/models/verification-request.ts +0 -59
- package/models/verification-update-request.ts +0 -54
- package/models/verification-webhook.ts +0 -16
- package/models/verify-code-request.ts +0 -13
- package/models/verify-code-response.ts +0 -7
- package/models/voice-api-error.ts +0 -20
- package/models/voice-code-response.ts +0 -7
- package/models/webhook-subscription-basic-authentication.ts +0 -12
- package/models/webhook-subscription-request-schema.ts +0 -14
- package/models/webhook-subscription-type-enum.ts +0 -5
- package/models/webhook-subscription.ts +0 -34
- package/models/webhook-subscriptions-list-body.ts +0 -17
- package/openapitools.json +1 -1
- package/package.json +2 -2
- package/tests/smoke/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
package/api/media-api.ts
CHANGED
|
@@ -27,7 +27,6 @@ import type { Media } from '../models';
|
|
|
27
27
|
import type { MessagingRequestError } from '../models';
|
|
28
28
|
/**
|
|
29
29
|
* MediaApi - axios parameter creator
|
|
30
|
-
* @export
|
|
31
30
|
*/
|
|
32
31
|
export const MediaApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
33
32
|
return {
|
|
@@ -218,7 +217,6 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
218
217
|
|
|
219
218
|
/**
|
|
220
219
|
* MediaApi - functional programming interface
|
|
221
|
-
* @export
|
|
222
220
|
*/
|
|
223
221
|
export const MediaApiFp = function(configuration?: Configuration) {
|
|
224
222
|
const localVarAxiosParamCreator = MediaApiAxiosParamCreator(configuration)
|
|
@@ -287,7 +285,6 @@ export const MediaApiFp = function(configuration?: Configuration) {
|
|
|
287
285
|
|
|
288
286
|
/**
|
|
289
287
|
* MediaApi - factory interface
|
|
290
|
-
* @export
|
|
291
288
|
*/
|
|
292
289
|
export const MediaApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
293
290
|
const localVarFp = MediaApiFp(configuration)
|
|
@@ -344,9 +341,6 @@ export const MediaApiFactory = function (configuration?: Configuration, basePath
|
|
|
344
341
|
|
|
345
342
|
/**
|
|
346
343
|
* MediaApi - object-oriented interface
|
|
347
|
-
* @export
|
|
348
|
-
* @class MediaApi
|
|
349
|
-
* @extends {BaseAPI}
|
|
350
344
|
*/
|
|
351
345
|
export class MediaApi extends BaseAPI {
|
|
352
346
|
/**
|
|
@@ -356,7 +350,6 @@ export class MediaApi extends BaseAPI {
|
|
|
356
350
|
* @param {string} mediaId Media ID to retrieve.
|
|
357
351
|
* @param {*} [options] Override http request option.
|
|
358
352
|
* @throws {RequiredError}
|
|
359
|
-
* @memberof MediaApi
|
|
360
353
|
*/
|
|
361
354
|
public deleteMedia(accountId: string, mediaId: string, options?: RawAxiosRequestConfig) {
|
|
362
355
|
return MediaApiFp(this.configuration).deleteMedia(accountId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -369,7 +362,6 @@ export class MediaApi extends BaseAPI {
|
|
|
369
362
|
* @param {string} mediaId Media ID to retrieve.
|
|
370
363
|
* @param {*} [options] Override http request option.
|
|
371
364
|
* @throws {RequiredError}
|
|
372
|
-
* @memberof MediaApi
|
|
373
365
|
*/
|
|
374
366
|
public getMedia(accountId: string, mediaId: string, options?: RawAxiosRequestConfig) {
|
|
375
367
|
return MediaApiFp(this.configuration).getMedia(accountId, mediaId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -382,7 +374,6 @@ export class MediaApi extends BaseAPI {
|
|
|
382
374
|
* @param {string} [continuationToken] Continuation token used to retrieve subsequent media.
|
|
383
375
|
* @param {*} [options] Override http request option.
|
|
384
376
|
* @throws {RequiredError}
|
|
385
|
-
* @memberof MediaApi
|
|
386
377
|
*/
|
|
387
378
|
public listMedia(accountId: string, continuationToken?: string, options?: RawAxiosRequestConfig) {
|
|
388
379
|
return MediaApiFp(this.configuration).listMedia(accountId, continuationToken, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -398,7 +389,6 @@ export class MediaApi extends BaseAPI {
|
|
|
398
389
|
* @param {string} [cacheControl] General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain.
|
|
399
390
|
* @param {*} [options] Override http request option.
|
|
400
391
|
* @throws {RequiredError}
|
|
401
|
-
* @memberof MediaApi
|
|
402
392
|
*/
|
|
403
393
|
public uploadMedia(accountId: string, mediaId: string, body: File, contentType?: string, cacheControl?: string, options?: RawAxiosRequestConfig) {
|
|
404
394
|
return MediaApiFp(this.configuration).uploadMedia(accountId, mediaId, body, contentType, cacheControl, options).then((request) => request(this.axios, this.basePath));
|
package/api/messages-api.ts
CHANGED
|
@@ -41,7 +41,6 @@ import type { MessagingRequestError } from '../models';
|
|
|
41
41
|
import type { ProductTypeEnum } from '../models';
|
|
42
42
|
/**
|
|
43
43
|
* MessagesApi - axios parameter creator
|
|
44
|
-
* @export
|
|
45
44
|
*/
|
|
46
45
|
export const MessagesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
47
46
|
return {
|
|
@@ -267,7 +266,6 @@ export const MessagesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
267
266
|
|
|
268
267
|
/**
|
|
269
268
|
* MessagesApi - functional programming interface
|
|
270
|
-
* @export
|
|
271
269
|
*/
|
|
272
270
|
export const MessagesApiFp = function(configuration?: Configuration) {
|
|
273
271
|
const localVarAxiosParamCreator = MessagesApiAxiosParamCreator(configuration)
|
|
@@ -331,7 +329,6 @@ export const MessagesApiFp = function(configuration?: Configuration) {
|
|
|
331
329
|
|
|
332
330
|
/**
|
|
333
331
|
* MessagesApi - factory interface
|
|
334
|
-
* @export
|
|
335
332
|
*/
|
|
336
333
|
export const MessagesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
337
334
|
const localVarFp = MessagesApiFp(configuration)
|
|
@@ -389,9 +386,6 @@ export const MessagesApiFactory = function (configuration?: Configuration, baseP
|
|
|
389
386
|
|
|
390
387
|
/**
|
|
391
388
|
* MessagesApi - object-oriented interface
|
|
392
|
-
* @export
|
|
393
|
-
* @class MessagesApi
|
|
394
|
-
* @extends {BaseAPI}
|
|
395
389
|
*/
|
|
396
390
|
export class MessagesApi extends BaseAPI {
|
|
397
391
|
/**
|
|
@@ -401,7 +395,6 @@ export class MessagesApi extends BaseAPI {
|
|
|
401
395
|
* @param {MessageRequest} messageRequest
|
|
402
396
|
* @param {*} [options] Override http request option.
|
|
403
397
|
* @throws {RequiredError}
|
|
404
|
-
* @memberof MessagesApi
|
|
405
398
|
*/
|
|
406
399
|
public createMessage(accountId: string, messageRequest: MessageRequest, options?: RawAxiosRequestConfig) {
|
|
407
400
|
return MessagesApiFp(this.configuration).createMessage(accountId, messageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -440,7 +433,6 @@ export class MessagesApi extends BaseAPI {
|
|
|
440
433
|
* @param {boolean} [limitTotalCount] When set to true, the response\'s totalCount field will have a maximum value of 10,000. When set to false, or excluded, this will give an accurate totalCount of all messages that match the provided filters. If you are experiencing latency, try using this parameter to limit your results.
|
|
441
434
|
* @param {*} [options] Override http request option.
|
|
442
435
|
* @throws {RequiredError}
|
|
443
|
-
* @memberof MessagesApi
|
|
444
436
|
*/
|
|
445
437
|
public listMessages(accountId: string, messageId?: string, sourceTn?: string, destinationTn?: string, messageStatus?: MessageStatusEnum, messageDirection?: ListMessageDirectionEnum, carrierName?: string, messageType?: MessageTypeEnum, errorCode?: number, fromDateTime?: string, toDateTime?: string, campaignId?: string, fromBwLatency?: number, bwQueued?: boolean, product?: ProductTypeEnum, location?: string, carrierQueued?: boolean, fromCarrierLatency?: number, callingNumberCountryA3?: string, calledNumberCountryA3?: string, fromSegmentCount?: number, toSegmentCount?: number, fromMessageSize?: number, toMessageSize?: number, sort?: string, pageToken?: string, limit?: number, limitTotalCount?: boolean, options?: RawAxiosRequestConfig) {
|
|
446
438
|
return MessagesApiFp(this.configuration).listMessages(accountId, messageId, sourceTn, destinationTn, messageStatus, messageDirection, carrierName, messageType, errorCode, fromDateTime, toDateTime, campaignId, fromBwLatency, bwQueued, product, location, carrierQueued, fromCarrierLatency, callingNumberCountryA3, calledNumberCountryA3, fromSegmentCount, toSegmentCount, fromMessageSize, toMessageSize, sort, pageToken, limit, limitTotalCount, options).then((request) => request(this.axios, this.basePath));
|
package/api/mfaapi.ts
CHANGED
|
@@ -39,7 +39,6 @@ import type { VerifyCodeResponse } from '../models';
|
|
|
39
39
|
import type { VoiceCodeResponse } from '../models';
|
|
40
40
|
/**
|
|
41
41
|
* MFAApi - axios parameter creator
|
|
42
|
-
* @export
|
|
43
42
|
*/
|
|
44
43
|
export const MFAApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
45
44
|
return {
|
|
@@ -180,7 +179,6 @@ export const MFAApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
180
179
|
|
|
181
180
|
/**
|
|
182
181
|
* MFAApi - functional programming interface
|
|
183
|
-
* @export
|
|
184
182
|
*/
|
|
185
183
|
export const MFAApiFp = function(configuration?: Configuration) {
|
|
186
184
|
const localVarAxiosParamCreator = MFAApiAxiosParamCreator(configuration)
|
|
@@ -232,7 +230,6 @@ export const MFAApiFp = function(configuration?: Configuration) {
|
|
|
232
230
|
|
|
233
231
|
/**
|
|
234
232
|
* MFAApi - factory interface
|
|
235
|
-
* @export
|
|
236
233
|
*/
|
|
237
234
|
export const MFAApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
238
235
|
const localVarFp = MFAApiFp(configuration)
|
|
@@ -275,9 +272,6 @@ export const MFAApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
275
272
|
|
|
276
273
|
/**
|
|
277
274
|
* MFAApi - object-oriented interface
|
|
278
|
-
* @export
|
|
279
|
-
* @class MFAApi
|
|
280
|
-
* @extends {BaseAPI}
|
|
281
275
|
*/
|
|
282
276
|
export class MFAApi extends BaseAPI {
|
|
283
277
|
/**
|
|
@@ -287,7 +281,6 @@ export class MFAApi extends BaseAPI {
|
|
|
287
281
|
* @param {CodeRequest} codeRequest MFA code request body.
|
|
288
282
|
* @param {*} [options] Override http request option.
|
|
289
283
|
* @throws {RequiredError}
|
|
290
|
-
* @memberof MFAApi
|
|
291
284
|
*/
|
|
292
285
|
public generateMessagingCode(accountId: string, codeRequest: CodeRequest, options?: RawAxiosRequestConfig) {
|
|
293
286
|
return MFAApiFp(this.configuration).generateMessagingCode(accountId, codeRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -300,7 +293,6 @@ export class MFAApi extends BaseAPI {
|
|
|
300
293
|
* @param {CodeRequest} codeRequest MFA code request body.
|
|
301
294
|
* @param {*} [options] Override http request option.
|
|
302
295
|
* @throws {RequiredError}
|
|
303
|
-
* @memberof MFAApi
|
|
304
296
|
*/
|
|
305
297
|
public generateVoiceCode(accountId: string, codeRequest: CodeRequest, options?: RawAxiosRequestConfig) {
|
|
306
298
|
return MFAApiFp(this.configuration).generateVoiceCode(accountId, codeRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -313,7 +305,6 @@ export class MFAApi extends BaseAPI {
|
|
|
313
305
|
* @param {VerifyCodeRequest} verifyCodeRequest MFA code verify request body.
|
|
314
306
|
* @param {*} [options] Override http request option.
|
|
315
307
|
* @throws {RequiredError}
|
|
316
|
-
* @memberof MFAApi
|
|
317
308
|
*/
|
|
318
309
|
public verifyCode(accountId: string, verifyCodeRequest: VerifyCodeRequest, options?: RawAxiosRequestConfig) {
|
|
319
310
|
return MFAApiFp(this.configuration).verifyCode(accountId, verifyCodeRequest, options).then((request) => request(this.axios, this.basePath));
|
package/api/multi-channel-api.ts
CHANGED
|
@@ -29,7 +29,6 @@ import type { MultiChannelError } from '../models';
|
|
|
29
29
|
import type { MultiChannelMessageRequest } from '../models';
|
|
30
30
|
/**
|
|
31
31
|
* MultiChannelApi - axios parameter creator
|
|
32
|
-
* @export
|
|
33
32
|
*/
|
|
34
33
|
export const MultiChannelApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
35
34
|
return {
|
|
@@ -82,7 +81,6 @@ export const MultiChannelApiAxiosParamCreator = function (configuration?: Config
|
|
|
82
81
|
|
|
83
82
|
/**
|
|
84
83
|
* MultiChannelApi - functional programming interface
|
|
85
|
-
* @export
|
|
86
84
|
*/
|
|
87
85
|
export const MultiChannelApiFp = function(configuration?: Configuration) {
|
|
88
86
|
const localVarAxiosParamCreator = MultiChannelApiAxiosParamCreator(configuration)
|
|
@@ -106,7 +104,6 @@ export const MultiChannelApiFp = function(configuration?: Configuration) {
|
|
|
106
104
|
|
|
107
105
|
/**
|
|
108
106
|
* MultiChannelApi - factory interface
|
|
109
|
-
* @export
|
|
110
107
|
*/
|
|
111
108
|
export const MultiChannelApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
112
109
|
const localVarFp = MultiChannelApiFp(configuration)
|
|
@@ -127,9 +124,6 @@ export const MultiChannelApiFactory = function (configuration?: Configuration, b
|
|
|
127
124
|
|
|
128
125
|
/**
|
|
129
126
|
* MultiChannelApi - object-oriented interface
|
|
130
|
-
* @export
|
|
131
|
-
* @class MultiChannelApi
|
|
132
|
-
* @extends {BaseAPI}
|
|
133
127
|
*/
|
|
134
128
|
export class MultiChannelApi extends BaseAPI {
|
|
135
129
|
/**
|
|
@@ -139,7 +133,6 @@ export class MultiChannelApi extends BaseAPI {
|
|
|
139
133
|
* @param {MultiChannelMessageRequest} multiChannelMessageRequest
|
|
140
134
|
* @param {*} [options] Override http request option.
|
|
141
135
|
* @throws {RequiredError}
|
|
142
|
-
* @memberof MultiChannelApi
|
|
143
136
|
*/
|
|
144
137
|
public createMultiChannelMessage(accountId: string, multiChannelMessageRequest: MultiChannelMessageRequest, options?: RawAxiosRequestConfig) {
|
|
145
138
|
return MultiChannelApiFp(this.configuration).createMultiChannelMessage(accountId, multiChannelMessageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -22,34 +22,80 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
// @ts-ignore
|
|
23
23
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
24
|
// @ts-ignore
|
|
25
|
-
import type {
|
|
25
|
+
import type { AsyncLookupRequest } from '../models';
|
|
26
26
|
// @ts-ignore
|
|
27
|
-
import type {
|
|
27
|
+
import type { CreateAsyncBulkLookupResponse } from '../models';
|
|
28
28
|
// @ts-ignore
|
|
29
|
-
import type {
|
|
29
|
+
import type { CreateSyncLookupResponse } from '../models';
|
|
30
30
|
// @ts-ignore
|
|
31
|
-
import type {
|
|
31
|
+
import type { GetAsyncBulkLookupResponse } from '../models';
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import type { LookupErrorResponse } from '../models';
|
|
34
|
+
// @ts-ignore
|
|
35
|
+
import type { SyncLookupRequest } from '../models';
|
|
32
36
|
/**
|
|
33
37
|
* PhoneNumberLookupApi - axios parameter creator
|
|
34
|
-
* @export
|
|
35
38
|
*/
|
|
36
39
|
export const PhoneNumberLookupApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
37
40
|
return {
|
|
38
41
|
/**
|
|
39
|
-
*
|
|
40
|
-
* @summary Create Lookup
|
|
41
|
-
* @param {string} accountId
|
|
42
|
-
* @param {
|
|
42
|
+
* Creates an asynchronous bulk phone number lookup request. Maximum of 15,000 telephone numbers per request. Use the [Get Asynchronous Bulk Number Lookup](#tag/Phone-Number-Lookup/operation/getAsyncBulkLookup) endpoint to check the status of the request and view the results.
|
|
43
|
+
* @summary Create Asynchronous Bulk Number Lookup
|
|
44
|
+
* @param {string} accountId
|
|
45
|
+
* @param {AsyncLookupRequest} asyncLookupRequest Asynchronous bulk phone number lookup request.
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
createAsyncBulkLookup: async (accountId: string, asyncLookupRequest: AsyncLookupRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
51
|
+
assertParamExists('createAsyncBulkLookup', 'accountId', accountId)
|
|
52
|
+
// verify required parameter 'asyncLookupRequest' is not null or undefined
|
|
53
|
+
assertParamExists('createAsyncBulkLookup', 'asyncLookupRequest', asyncLookupRequest)
|
|
54
|
+
const localVarPath = `/accounts/{accountId}/phoneNumberLookup/bulk`
|
|
55
|
+
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
56
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
58
|
+
let baseOptions;
|
|
59
|
+
if (configuration) {
|
|
60
|
+
baseOptions = configuration.baseOptions;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
64
|
+
const localVarHeaderParameter = {} as any;
|
|
65
|
+
const localVarQueryParameter = {} as any;
|
|
66
|
+
|
|
67
|
+
// authentication Basic required
|
|
68
|
+
// http basic authentication required
|
|
69
|
+
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
74
|
+
|
|
75
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
76
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
77
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
78
|
+
localVarRequestOptions.data = serializeDataIfNeeded(asyncLookupRequest, localVarRequestOptions, configuration)
|
|
79
|
+
|
|
80
|
+
return {
|
|
81
|
+
url: toPathString(localVarUrlObj),
|
|
82
|
+
options: localVarRequestOptions,
|
|
83
|
+
};
|
|
84
|
+
},
|
|
85
|
+
/**
|
|
86
|
+
* Creates a synchronous phone number lookup request. Maximum of 100 telephone numbers per request.
|
|
87
|
+
* @summary Create Synchronous Number Lookup
|
|
88
|
+
* @param {string} accountId
|
|
89
|
+
* @param {SyncLookupRequest} syncLookupRequest Synchronous phone number lookup request.
|
|
43
90
|
* @param {*} [options] Override http request option.
|
|
44
|
-
* @deprecated
|
|
45
91
|
* @throws {RequiredError}
|
|
46
92
|
*/
|
|
47
|
-
|
|
93
|
+
createSyncLookup: async (accountId: string, syncLookupRequest: SyncLookupRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48
94
|
// verify required parameter 'accountId' is not null or undefined
|
|
49
|
-
assertParamExists('
|
|
50
|
-
// verify required parameter '
|
|
51
|
-
assertParamExists('
|
|
52
|
-
const localVarPath = `/accounts/{accountId}/
|
|
95
|
+
assertParamExists('createSyncLookup', 'accountId', accountId)
|
|
96
|
+
// verify required parameter 'syncLookupRequest' is not null or undefined
|
|
97
|
+
assertParamExists('createSyncLookup', 'syncLookupRequest', syncLookupRequest)
|
|
98
|
+
const localVarPath = `/accounts/{accountId}/phoneNumberLookup`
|
|
53
99
|
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
54
100
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
55
101
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -73,7 +119,7 @@ export const PhoneNumberLookupApiAxiosParamCreator = function (configuration?: C
|
|
|
73
119
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
74
120
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
75
121
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
76
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
122
|
+
localVarRequestOptions.data = serializeDataIfNeeded(syncLookupRequest, localVarRequestOptions, configuration)
|
|
77
123
|
|
|
78
124
|
return {
|
|
79
125
|
url: toPathString(localVarUrlObj),
|
|
@@ -81,20 +127,19 @@ export const PhoneNumberLookupApiAxiosParamCreator = function (configuration?: C
|
|
|
81
127
|
};
|
|
82
128
|
},
|
|
83
129
|
/**
|
|
84
|
-
* Get an existing
|
|
85
|
-
* @summary Get
|
|
86
|
-
* @param {string} accountId
|
|
87
|
-
* @param {string} requestId
|
|
130
|
+
* Get an existing [Asynchronous Bulk Number Lookup](#tag/Phone-Number-Lookup/operation/createAsyncBulkLookup). Use this endpoint to check the status of the request and view the results.
|
|
131
|
+
* @summary Get Asynchronous Bulk Number Lookup
|
|
132
|
+
* @param {string} accountId
|
|
133
|
+
* @param {string} requestId
|
|
88
134
|
* @param {*} [options] Override http request option.
|
|
89
|
-
* @deprecated
|
|
90
135
|
* @throws {RequiredError}
|
|
91
136
|
*/
|
|
92
|
-
|
|
137
|
+
getAsyncBulkLookup: async (accountId: string, requestId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
93
138
|
// verify required parameter 'accountId' is not null or undefined
|
|
94
|
-
assertParamExists('
|
|
139
|
+
assertParamExists('getAsyncBulkLookup', 'accountId', accountId)
|
|
95
140
|
// verify required parameter 'requestId' is not null or undefined
|
|
96
|
-
assertParamExists('
|
|
97
|
-
const localVarPath = `/accounts/{accountId}/
|
|
141
|
+
assertParamExists('getAsyncBulkLookup', 'requestId', requestId)
|
|
142
|
+
const localVarPath = `/accounts/{accountId}/phoneNumberLookup/bulk/{requestId}`
|
|
98
143
|
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)))
|
|
99
144
|
.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
|
|
100
145
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -128,39 +173,50 @@ export const PhoneNumberLookupApiAxiosParamCreator = function (configuration?: C
|
|
|
128
173
|
|
|
129
174
|
/**
|
|
130
175
|
* PhoneNumberLookupApi - functional programming interface
|
|
131
|
-
* @export
|
|
132
176
|
*/
|
|
133
177
|
export const PhoneNumberLookupApiFp = function(configuration?: Configuration) {
|
|
134
178
|
const localVarAxiosParamCreator = PhoneNumberLookupApiAxiosParamCreator(configuration)
|
|
135
179
|
return {
|
|
136
180
|
/**
|
|
137
|
-
*
|
|
138
|
-
* @summary Create Lookup
|
|
139
|
-
* @param {string} accountId
|
|
140
|
-
* @param {
|
|
181
|
+
* Creates an asynchronous bulk phone number lookup request. Maximum of 15,000 telephone numbers per request. Use the [Get Asynchronous Bulk Number Lookup](#tag/Phone-Number-Lookup/operation/getAsyncBulkLookup) endpoint to check the status of the request and view the results.
|
|
182
|
+
* @summary Create Asynchronous Bulk Number Lookup
|
|
183
|
+
* @param {string} accountId
|
|
184
|
+
* @param {AsyncLookupRequest} asyncLookupRequest Asynchronous bulk phone number lookup request.
|
|
141
185
|
* @param {*} [options] Override http request option.
|
|
142
|
-
* @deprecated
|
|
143
186
|
* @throws {RequiredError}
|
|
144
187
|
*/
|
|
145
|
-
async
|
|
146
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
188
|
+
async createAsyncBulkLookup(accountId: string, asyncLookupRequest: AsyncLookupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAsyncBulkLookupResponse>> {
|
|
189
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createAsyncBulkLookup(accountId, asyncLookupRequest, options);
|
|
147
190
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
148
|
-
const localVarOperationServerBasePath = operationServerMap['PhoneNumberLookupApi.
|
|
191
|
+
const localVarOperationServerBasePath = operationServerMap['PhoneNumberLookupApi.createAsyncBulkLookup']?.[localVarOperationServerIndex]?.url;
|
|
149
192
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
150
193
|
},
|
|
151
194
|
/**
|
|
152
|
-
*
|
|
153
|
-
* @summary
|
|
154
|
-
* @param {string} accountId
|
|
155
|
-
* @param {
|
|
195
|
+
* Creates a synchronous phone number lookup request. Maximum of 100 telephone numbers per request.
|
|
196
|
+
* @summary Create Synchronous Number Lookup
|
|
197
|
+
* @param {string} accountId
|
|
198
|
+
* @param {SyncLookupRequest} syncLookupRequest Synchronous phone number lookup request.
|
|
156
199
|
* @param {*} [options] Override http request option.
|
|
157
|
-
* @deprecated
|
|
158
200
|
* @throws {RequiredError}
|
|
159
201
|
*/
|
|
160
|
-
async
|
|
161
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
202
|
+
async createSyncLookup(accountId: string, syncLookupRequest: SyncLookupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSyncLookupResponse>> {
|
|
203
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSyncLookup(accountId, syncLookupRequest, options);
|
|
162
204
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
163
|
-
const localVarOperationServerBasePath = operationServerMap['PhoneNumberLookupApi.
|
|
205
|
+
const localVarOperationServerBasePath = operationServerMap['PhoneNumberLookupApi.createSyncLookup']?.[localVarOperationServerIndex]?.url;
|
|
206
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
207
|
+
},
|
|
208
|
+
/**
|
|
209
|
+
* Get an existing [Asynchronous Bulk Number Lookup](#tag/Phone-Number-Lookup/operation/createAsyncBulkLookup). Use this endpoint to check the status of the request and view the results.
|
|
210
|
+
* @summary Get Asynchronous Bulk Number Lookup
|
|
211
|
+
* @param {string} accountId
|
|
212
|
+
* @param {string} requestId
|
|
213
|
+
* @param {*} [options] Override http request option.
|
|
214
|
+
* @throws {RequiredError}
|
|
215
|
+
*/
|
|
216
|
+
async getAsyncBulkLookup(accountId: string, requestId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAsyncBulkLookupResponse>> {
|
|
217
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAsyncBulkLookup(accountId, requestId, options);
|
|
218
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
219
|
+
const localVarOperationServerBasePath = operationServerMap['PhoneNumberLookupApi.getAsyncBulkLookup']?.[localVarOperationServerIndex]?.url;
|
|
164
220
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
165
221
|
},
|
|
166
222
|
}
|
|
@@ -168,71 +224,84 @@ export const PhoneNumberLookupApiFp = function(configuration?: Configuration) {
|
|
|
168
224
|
|
|
169
225
|
/**
|
|
170
226
|
* PhoneNumberLookupApi - factory interface
|
|
171
|
-
* @export
|
|
172
227
|
*/
|
|
173
228
|
export const PhoneNumberLookupApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
174
229
|
const localVarFp = PhoneNumberLookupApiFp(configuration)
|
|
175
230
|
return {
|
|
176
231
|
/**
|
|
177
|
-
*
|
|
178
|
-
* @summary Create Lookup
|
|
179
|
-
* @param {string} accountId
|
|
180
|
-
* @param {
|
|
232
|
+
* Creates an asynchronous bulk phone number lookup request. Maximum of 15,000 telephone numbers per request. Use the [Get Asynchronous Bulk Number Lookup](#tag/Phone-Number-Lookup/operation/getAsyncBulkLookup) endpoint to check the status of the request and view the results.
|
|
233
|
+
* @summary Create Asynchronous Bulk Number Lookup
|
|
234
|
+
* @param {string} accountId
|
|
235
|
+
* @param {AsyncLookupRequest} asyncLookupRequest Asynchronous bulk phone number lookup request.
|
|
236
|
+
* @param {*} [options] Override http request option.
|
|
237
|
+
* @throws {RequiredError}
|
|
238
|
+
*/
|
|
239
|
+
createAsyncBulkLookup(accountId: string, asyncLookupRequest: AsyncLookupRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAsyncBulkLookupResponse> {
|
|
240
|
+
return localVarFp.createAsyncBulkLookup(accountId, asyncLookupRequest, options).then((request) => request(axios, basePath));
|
|
241
|
+
},
|
|
242
|
+
/**
|
|
243
|
+
* Creates a synchronous phone number lookup request. Maximum of 100 telephone numbers per request.
|
|
244
|
+
* @summary Create Synchronous Number Lookup
|
|
245
|
+
* @param {string} accountId
|
|
246
|
+
* @param {SyncLookupRequest} syncLookupRequest Synchronous phone number lookup request.
|
|
181
247
|
* @param {*} [options] Override http request option.
|
|
182
|
-
* @deprecated
|
|
183
248
|
* @throws {RequiredError}
|
|
184
249
|
*/
|
|
185
|
-
|
|
186
|
-
return localVarFp.
|
|
250
|
+
createSyncLookup(accountId: string, syncLookupRequest: SyncLookupRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateSyncLookupResponse> {
|
|
251
|
+
return localVarFp.createSyncLookup(accountId, syncLookupRequest, options).then((request) => request(axios, basePath));
|
|
187
252
|
},
|
|
188
253
|
/**
|
|
189
|
-
* Get an existing
|
|
190
|
-
* @summary Get
|
|
191
|
-
* @param {string} accountId
|
|
192
|
-
* @param {string} requestId
|
|
254
|
+
* Get an existing [Asynchronous Bulk Number Lookup](#tag/Phone-Number-Lookup/operation/createAsyncBulkLookup). Use this endpoint to check the status of the request and view the results.
|
|
255
|
+
* @summary Get Asynchronous Bulk Number Lookup
|
|
256
|
+
* @param {string} accountId
|
|
257
|
+
* @param {string} requestId
|
|
193
258
|
* @param {*} [options] Override http request option.
|
|
194
|
-
* @deprecated
|
|
195
259
|
* @throws {RequiredError}
|
|
196
260
|
*/
|
|
197
|
-
|
|
198
|
-
return localVarFp.
|
|
261
|
+
getAsyncBulkLookup(accountId: string, requestId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetAsyncBulkLookupResponse> {
|
|
262
|
+
return localVarFp.getAsyncBulkLookup(accountId, requestId, options).then((request) => request(axios, basePath));
|
|
199
263
|
},
|
|
200
264
|
};
|
|
201
265
|
};
|
|
202
266
|
|
|
203
267
|
/**
|
|
204
268
|
* PhoneNumberLookupApi - object-oriented interface
|
|
205
|
-
* @export
|
|
206
|
-
* @class PhoneNumberLookupApi
|
|
207
|
-
* @extends {BaseAPI}
|
|
208
269
|
*/
|
|
209
270
|
export class PhoneNumberLookupApi extends BaseAPI {
|
|
210
271
|
/**
|
|
211
|
-
*
|
|
212
|
-
* @summary Create Lookup
|
|
213
|
-
* @param {string} accountId
|
|
214
|
-
* @param {
|
|
272
|
+
* Creates an asynchronous bulk phone number lookup request. Maximum of 15,000 telephone numbers per request. Use the [Get Asynchronous Bulk Number Lookup](#tag/Phone-Number-Lookup/operation/getAsyncBulkLookup) endpoint to check the status of the request and view the results.
|
|
273
|
+
* @summary Create Asynchronous Bulk Number Lookup
|
|
274
|
+
* @param {string} accountId
|
|
275
|
+
* @param {AsyncLookupRequest} asyncLookupRequest Asynchronous bulk phone number lookup request.
|
|
276
|
+
* @param {*} [options] Override http request option.
|
|
277
|
+
* @throws {RequiredError}
|
|
278
|
+
*/
|
|
279
|
+
public createAsyncBulkLookup(accountId: string, asyncLookupRequest: AsyncLookupRequest, options?: RawAxiosRequestConfig) {
|
|
280
|
+
return PhoneNumberLookupApiFp(this.configuration).createAsyncBulkLookup(accountId, asyncLookupRequest, options).then((request) => request(this.axios, this.basePath));
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Creates a synchronous phone number lookup request. Maximum of 100 telephone numbers per request.
|
|
285
|
+
* @summary Create Synchronous Number Lookup
|
|
286
|
+
* @param {string} accountId
|
|
287
|
+
* @param {SyncLookupRequest} syncLookupRequest Synchronous phone number lookup request.
|
|
215
288
|
* @param {*} [options] Override http request option.
|
|
216
|
-
* @deprecated
|
|
217
289
|
* @throws {RequiredError}
|
|
218
|
-
* @memberof PhoneNumberLookupApi
|
|
219
290
|
*/
|
|
220
|
-
public
|
|
221
|
-
return PhoneNumberLookupApiFp(this.configuration).
|
|
291
|
+
public createSyncLookup(accountId: string, syncLookupRequest: SyncLookupRequest, options?: RawAxiosRequestConfig) {
|
|
292
|
+
return PhoneNumberLookupApiFp(this.configuration).createSyncLookup(accountId, syncLookupRequest, options).then((request) => request(this.axios, this.basePath));
|
|
222
293
|
}
|
|
223
294
|
|
|
224
295
|
/**
|
|
225
|
-
* Get an existing
|
|
226
|
-
* @summary Get
|
|
227
|
-
* @param {string} accountId
|
|
228
|
-
* @param {string} requestId
|
|
296
|
+
* Get an existing [Asynchronous Bulk Number Lookup](#tag/Phone-Number-Lookup/operation/createAsyncBulkLookup). Use this endpoint to check the status of the request and view the results.
|
|
297
|
+
* @summary Get Asynchronous Bulk Number Lookup
|
|
298
|
+
* @param {string} accountId
|
|
299
|
+
* @param {string} requestId
|
|
229
300
|
* @param {*} [options] Override http request option.
|
|
230
|
-
* @deprecated
|
|
231
301
|
* @throws {RequiredError}
|
|
232
|
-
* @memberof PhoneNumberLookupApi
|
|
233
302
|
*/
|
|
234
|
-
public
|
|
235
|
-
return PhoneNumberLookupApiFp(this.configuration).
|
|
303
|
+
public getAsyncBulkLookup(accountId: string, requestId: string, options?: RawAxiosRequestConfig) {
|
|
304
|
+
return PhoneNumberLookupApiFp(this.configuration).getAsyncBulkLookup(accountId, requestId, options).then((request) => request(this.axios, this.basePath));
|
|
236
305
|
}
|
|
237
306
|
}
|
|
238
307
|
|
package/api/recordings-api.ts
CHANGED
|
@@ -33,7 +33,6 @@ import type { UpdateCallRecording } from '../models';
|
|
|
33
33
|
import type { VoiceApiError } from '../models';
|
|
34
34
|
/**
|
|
35
35
|
* RecordingsApi - axios parameter creator
|
|
36
|
-
* @export
|
|
37
36
|
*/
|
|
38
37
|
export const RecordingsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
39
38
|
return {
|
|
@@ -518,7 +517,6 @@ export const RecordingsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
518
517
|
|
|
519
518
|
/**
|
|
520
519
|
* RecordingsApi - functional programming interface
|
|
521
|
-
* @export
|
|
522
520
|
*/
|
|
523
521
|
export const RecordingsApiFp = function(configuration?: Configuration) {
|
|
524
522
|
const localVarAxiosParamCreator = RecordingsApiAxiosParamCreator(configuration)
|
|
@@ -680,7 +678,6 @@ export const RecordingsApiFp = function(configuration?: Configuration) {
|
|
|
680
678
|
|
|
681
679
|
/**
|
|
682
680
|
* RecordingsApi - factory interface
|
|
683
|
-
* @export
|
|
684
681
|
*/
|
|
685
682
|
export const RecordingsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
686
683
|
const localVarFp = RecordingsApiFp(configuration)
|
|
@@ -812,9 +809,6 @@ export const RecordingsApiFactory = function (configuration?: Configuration, bas
|
|
|
812
809
|
|
|
813
810
|
/**
|
|
814
811
|
* RecordingsApi - object-oriented interface
|
|
815
|
-
* @export
|
|
816
|
-
* @class RecordingsApi
|
|
817
|
-
* @extends {BaseAPI}
|
|
818
812
|
*/
|
|
819
813
|
export class RecordingsApi extends BaseAPI {
|
|
820
814
|
/**
|
|
@@ -825,7 +819,6 @@ export class RecordingsApi extends BaseAPI {
|
|
|
825
819
|
* @param {string} recordingId Programmable Voice API Recording ID.
|
|
826
820
|
* @param {*} [options] Override http request option.
|
|
827
821
|
* @throws {RequiredError}
|
|
828
|
-
* @memberof RecordingsApi
|
|
829
822
|
*/
|
|
830
823
|
public deleteRecording(accountId: string, callId: string, recordingId: string, options?: RawAxiosRequestConfig) {
|
|
831
824
|
return RecordingsApiFp(this.configuration).deleteRecording(accountId, callId, recordingId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -839,7 +832,6 @@ export class RecordingsApi extends BaseAPI {
|
|
|
839
832
|
* @param {string} recordingId Programmable Voice API Recording ID.
|
|
840
833
|
* @param {*} [options] Override http request option.
|
|
841
834
|
* @throws {RequiredError}
|
|
842
|
-
* @memberof RecordingsApi
|
|
843
835
|
*/
|
|
844
836
|
public deleteRecordingMedia(accountId: string, callId: string, recordingId: string, options?: RawAxiosRequestConfig) {
|
|
845
837
|
return RecordingsApiFp(this.configuration).deleteRecordingMedia(accountId, callId, recordingId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -853,7 +845,6 @@ export class RecordingsApi extends BaseAPI {
|
|
|
853
845
|
* @param {string} recordingId Programmable Voice API Recording ID.
|
|
854
846
|
* @param {*} [options] Override http request option.
|
|
855
847
|
* @throws {RequiredError}
|
|
856
|
-
* @memberof RecordingsApi
|
|
857
848
|
*/
|
|
858
849
|
public deleteRecordingTranscription(accountId: string, callId: string, recordingId: string, options?: RawAxiosRequestConfig) {
|
|
859
850
|
return RecordingsApiFp(this.configuration).deleteRecordingTranscription(accountId, callId, recordingId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -867,7 +858,6 @@ export class RecordingsApi extends BaseAPI {
|
|
|
867
858
|
* @param {string} recordingId Programmable Voice API Recording ID.
|
|
868
859
|
* @param {*} [options] Override http request option.
|
|
869
860
|
* @throws {RequiredError}
|
|
870
|
-
* @memberof RecordingsApi
|
|
871
861
|
*/
|
|
872
862
|
public downloadCallRecording(accountId: string, callId: string, recordingId: string, options?: RawAxiosRequestConfig) {
|
|
873
863
|
return RecordingsApiFp(this.configuration).downloadCallRecording(accountId, callId, recordingId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -881,7 +871,6 @@ export class RecordingsApi extends BaseAPI {
|
|
|
881
871
|
* @param {string} recordingId Programmable Voice API Recording ID.
|
|
882
872
|
* @param {*} [options] Override http request option.
|
|
883
873
|
* @throws {RequiredError}
|
|
884
|
-
* @memberof RecordingsApi
|
|
885
874
|
*/
|
|
886
875
|
public getCallRecording(accountId: string, callId: string, recordingId: string, options?: RawAxiosRequestConfig) {
|
|
887
876
|
return RecordingsApiFp(this.configuration).getCallRecording(accountId, callId, recordingId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -895,7 +884,6 @@ export class RecordingsApi extends BaseAPI {
|
|
|
895
884
|
* @param {string} recordingId Programmable Voice API Recording ID.
|
|
896
885
|
* @param {*} [options] Override http request option.
|
|
897
886
|
* @throws {RequiredError}
|
|
898
|
-
* @memberof RecordingsApi
|
|
899
887
|
*/
|
|
900
888
|
public getRecordingTranscription(accountId: string, callId: string, recordingId: string, options?: RawAxiosRequestConfig) {
|
|
901
889
|
return RecordingsApiFp(this.configuration).getRecordingTranscription(accountId, callId, recordingId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -911,7 +899,6 @@ export class RecordingsApi extends BaseAPI {
|
|
|
911
899
|
* @param {string} [maxStartTime] Filter results to recordings which have a `startTime` before `maxStartTime` (in ISO8601 format).
|
|
912
900
|
* @param {*} [options] Override http request option.
|
|
913
901
|
* @throws {RequiredError}
|
|
914
|
-
* @memberof RecordingsApi
|
|
915
902
|
*/
|
|
916
903
|
public listAccountCallRecordings(accountId: string, to?: string, from?: string, minStartTime?: string, maxStartTime?: string, options?: RawAxiosRequestConfig) {
|
|
917
904
|
return RecordingsApiFp(this.configuration).listAccountCallRecordings(accountId, to, from, minStartTime, maxStartTime, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -924,7 +911,6 @@ export class RecordingsApi extends BaseAPI {
|
|
|
924
911
|
* @param {string} callId Programmable Voice API Call ID.
|
|
925
912
|
* @param {*} [options] Override http request option.
|
|
926
913
|
* @throws {RequiredError}
|
|
927
|
-
* @memberof RecordingsApi
|
|
928
914
|
*/
|
|
929
915
|
public listCallRecordings(accountId: string, callId: string, options?: RawAxiosRequestConfig) {
|
|
930
916
|
return RecordingsApiFp(this.configuration).listCallRecordings(accountId, callId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -939,7 +925,6 @@ export class RecordingsApi extends BaseAPI {
|
|
|
939
925
|
* @param {TranscribeRecording} transcribeRecording
|
|
940
926
|
* @param {*} [options] Override http request option.
|
|
941
927
|
* @throws {RequiredError}
|
|
942
|
-
* @memberof RecordingsApi
|
|
943
928
|
*/
|
|
944
929
|
public transcribeCallRecording(accountId: string, callId: string, recordingId: string, transcribeRecording: TranscribeRecording, options?: RawAxiosRequestConfig) {
|
|
945
930
|
return RecordingsApiFp(this.configuration).transcribeCallRecording(accountId, callId, recordingId, transcribeRecording, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -953,7 +938,6 @@ export class RecordingsApi extends BaseAPI {
|
|
|
953
938
|
* @param {UpdateCallRecording} updateCallRecording
|
|
954
939
|
* @param {*} [options] Override http request option.
|
|
955
940
|
* @throws {RequiredError}
|
|
956
|
-
* @memberof RecordingsApi
|
|
957
941
|
*/
|
|
958
942
|
public updateCallRecordingState(accountId: string, callId: string, updateCallRecording: UpdateCallRecording, options?: RawAxiosRequestConfig) {
|
|
959
943
|
return RecordingsApiFp(this.configuration).updateCallRecordingState(accountId, callId, updateCallRecording, options).then((request) => request(this.axios, this.basePath));
|