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
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">92% </span>
|
|
26
|
+
<span class="strong">92.3% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>96/104</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
33
|
<span class="strong">76% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>57/75</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">72
|
|
40
|
+
<span class="strong">72% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>
|
|
42
|
+
<span class='fraction'>18/25</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">93.
|
|
47
|
+
<span class="strong">93.97% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>78/83</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -301,7 +301,76 @@
|
|
|
301
301
|
<a name='L236'></a><a href='#L236'>236</a>
|
|
302
302
|
<a name='L237'></a><a href='#L237'>237</a>
|
|
303
303
|
<a name='L238'></a><a href='#L238'>238</a>
|
|
304
|
-
<a name='L239'></a><a href='#L239'>239</a
|
|
304
|
+
<a name='L239'></a><a href='#L239'>239</a>
|
|
305
|
+
<a name='L240'></a><a href='#L240'>240</a>
|
|
306
|
+
<a name='L241'></a><a href='#L241'>241</a>
|
|
307
|
+
<a name='L242'></a><a href='#L242'>242</a>
|
|
308
|
+
<a name='L243'></a><a href='#L243'>243</a>
|
|
309
|
+
<a name='L244'></a><a href='#L244'>244</a>
|
|
310
|
+
<a name='L245'></a><a href='#L245'>245</a>
|
|
311
|
+
<a name='L246'></a><a href='#L246'>246</a>
|
|
312
|
+
<a name='L247'></a><a href='#L247'>247</a>
|
|
313
|
+
<a name='L248'></a><a href='#L248'>248</a>
|
|
314
|
+
<a name='L249'></a><a href='#L249'>249</a>
|
|
315
|
+
<a name='L250'></a><a href='#L250'>250</a>
|
|
316
|
+
<a name='L251'></a><a href='#L251'>251</a>
|
|
317
|
+
<a name='L252'></a><a href='#L252'>252</a>
|
|
318
|
+
<a name='L253'></a><a href='#L253'>253</a>
|
|
319
|
+
<a name='L254'></a><a href='#L254'>254</a>
|
|
320
|
+
<a name='L255'></a><a href='#L255'>255</a>
|
|
321
|
+
<a name='L256'></a><a href='#L256'>256</a>
|
|
322
|
+
<a name='L257'></a><a href='#L257'>257</a>
|
|
323
|
+
<a name='L258'></a><a href='#L258'>258</a>
|
|
324
|
+
<a name='L259'></a><a href='#L259'>259</a>
|
|
325
|
+
<a name='L260'></a><a href='#L260'>260</a>
|
|
326
|
+
<a name='L261'></a><a href='#L261'>261</a>
|
|
327
|
+
<a name='L262'></a><a href='#L262'>262</a>
|
|
328
|
+
<a name='L263'></a><a href='#L263'>263</a>
|
|
329
|
+
<a name='L264'></a><a href='#L264'>264</a>
|
|
330
|
+
<a name='L265'></a><a href='#L265'>265</a>
|
|
331
|
+
<a name='L266'></a><a href='#L266'>266</a>
|
|
332
|
+
<a name='L267'></a><a href='#L267'>267</a>
|
|
333
|
+
<a name='L268'></a><a href='#L268'>268</a>
|
|
334
|
+
<a name='L269'></a><a href='#L269'>269</a>
|
|
335
|
+
<a name='L270'></a><a href='#L270'>270</a>
|
|
336
|
+
<a name='L271'></a><a href='#L271'>271</a>
|
|
337
|
+
<a name='L272'></a><a href='#L272'>272</a>
|
|
338
|
+
<a name='L273'></a><a href='#L273'>273</a>
|
|
339
|
+
<a name='L274'></a><a href='#L274'>274</a>
|
|
340
|
+
<a name='L275'></a><a href='#L275'>275</a>
|
|
341
|
+
<a name='L276'></a><a href='#L276'>276</a>
|
|
342
|
+
<a name='L277'></a><a href='#L277'>277</a>
|
|
343
|
+
<a name='L278'></a><a href='#L278'>278</a>
|
|
344
|
+
<a name='L279'></a><a href='#L279'>279</a>
|
|
345
|
+
<a name='L280'></a><a href='#L280'>280</a>
|
|
346
|
+
<a name='L281'></a><a href='#L281'>281</a>
|
|
347
|
+
<a name='L282'></a><a href='#L282'>282</a>
|
|
348
|
+
<a name='L283'></a><a href='#L283'>283</a>
|
|
349
|
+
<a name='L284'></a><a href='#L284'>284</a>
|
|
350
|
+
<a name='L285'></a><a href='#L285'>285</a>
|
|
351
|
+
<a name='L286'></a><a href='#L286'>286</a>
|
|
352
|
+
<a name='L287'></a><a href='#L287'>287</a>
|
|
353
|
+
<a name='L288'></a><a href='#L288'>288</a>
|
|
354
|
+
<a name='L289'></a><a href='#L289'>289</a>
|
|
355
|
+
<a name='L290'></a><a href='#L290'>290</a>
|
|
356
|
+
<a name='L291'></a><a href='#L291'>291</a>
|
|
357
|
+
<a name='L292'></a><a href='#L292'>292</a>
|
|
358
|
+
<a name='L293'></a><a href='#L293'>293</a>
|
|
359
|
+
<a name='L294'></a><a href='#L294'>294</a>
|
|
360
|
+
<a name='L295'></a><a href='#L295'>295</a>
|
|
361
|
+
<a name='L296'></a><a href='#L296'>296</a>
|
|
362
|
+
<a name='L297'></a><a href='#L297'>297</a>
|
|
363
|
+
<a name='L298'></a><a href='#L298'>298</a>
|
|
364
|
+
<a name='L299'></a><a href='#L299'>299</a>
|
|
365
|
+
<a name='L300'></a><a href='#L300'>300</a>
|
|
366
|
+
<a name='L301'></a><a href='#L301'>301</a>
|
|
367
|
+
<a name='L302'></a><a href='#L302'>302</a>
|
|
368
|
+
<a name='L303'></a><a href='#L303'>303</a>
|
|
369
|
+
<a name='L304'></a><a href='#L304'>304</a>
|
|
370
|
+
<a name='L305'></a><a href='#L305'>305</a>
|
|
371
|
+
<a name='L306'></a><a href='#L306'>306</a>
|
|
372
|
+
<a name='L307'></a><a href='#L307'>307</a>
|
|
373
|
+
<a name='L308'></a><a href='#L308'>308</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
305
374
|
<span class="cline-any cline-neutral"> </span>
|
|
306
375
|
<span class="cline-any cline-neutral"> </span>
|
|
307
376
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -336,51 +405,51 @@
|
|
|
336
405
|
<span class="cline-any cline-neutral"> </span>
|
|
337
406
|
<span class="cline-any cline-neutral"> </span>
|
|
338
407
|
<span class="cline-any cline-neutral"> </span>
|
|
339
|
-
<span class="cline-any cline-yes">11x</span>
|
|
340
|
-
<span class="cline-any cline-yes">4x</span>
|
|
341
408
|
<span class="cline-any cline-neutral"> </span>
|
|
342
409
|
<span class="cline-any cline-neutral"> </span>
|
|
343
410
|
<span class="cline-any cline-neutral"> </span>
|
|
411
|
+
<span class="cline-any cline-yes">11x</span>
|
|
412
|
+
<span class="cline-any cline-yes">3x</span>
|
|
344
413
|
<span class="cline-any cline-neutral"> </span>
|
|
345
414
|
<span class="cline-any cline-neutral"> </span>
|
|
346
415
|
<span class="cline-any cline-neutral"> </span>
|
|
347
416
|
<span class="cline-any cline-neutral"> </span>
|
|
348
417
|
<span class="cline-any cline-neutral"> </span>
|
|
349
418
|
<span class="cline-any cline-neutral"> </span>
|
|
350
|
-
<span class="cline-any cline-yes">4x</span>
|
|
351
419
|
<span class="cline-any cline-neutral"> </span>
|
|
352
|
-
<span class="cline-any cline-yes">2x</span>
|
|
353
420
|
<span class="cline-any cline-neutral"> </span>
|
|
354
421
|
<span class="cline-any cline-yes">2x</span>
|
|
355
|
-
<span class="cline-any cline-yes">2x</span>
|
|
356
422
|
<span class="cline-any cline-neutral"> </span>
|
|
423
|
+
<span class="cline-any cline-yes">1x</span>
|
|
357
424
|
<span class="cline-any cline-neutral"> </span>
|
|
358
|
-
<span class="cline-any cline-yes">
|
|
425
|
+
<span class="cline-any cline-yes">1x</span>
|
|
426
|
+
<span class="cline-any cline-yes">1x</span>
|
|
359
427
|
<span class="cline-any cline-neutral"> </span>
|
|
360
|
-
<span class="cline-any cline-yes">2x</span>
|
|
361
|
-
<span class="cline-any cline-yes">2x</span>
|
|
362
428
|
<span class="cline-any cline-neutral"> </span>
|
|
429
|
+
<span class="cline-any cline-yes">1x</span>
|
|
363
430
|
<span class="cline-any cline-neutral"> </span>
|
|
364
|
-
<span class="cline-any cline-yes">
|
|
365
|
-
<span class="cline-any cline-yes">
|
|
366
|
-
<span class="cline-any cline-yes">2x</span>
|
|
431
|
+
<span class="cline-any cline-yes">1x</span>
|
|
432
|
+
<span class="cline-any cline-yes">1x</span>
|
|
367
433
|
<span class="cline-any cline-neutral"> </span>
|
|
368
434
|
<span class="cline-any cline-neutral"> </span>
|
|
435
|
+
<span class="cline-any cline-yes">1x</span>
|
|
436
|
+
<span class="cline-any cline-yes">1x</span>
|
|
437
|
+
<span class="cline-any cline-yes">1x</span>
|
|
369
438
|
<span class="cline-any cline-neutral"> </span>
|
|
370
|
-
<span class="cline-any cline-yes">2x</span>
|
|
371
439
|
<span class="cline-any cline-neutral"> </span>
|
|
372
440
|
<span class="cline-any cline-neutral"> </span>
|
|
441
|
+
<span class="cline-any cline-yes">1x</span>
|
|
373
442
|
<span class="cline-any cline-neutral"> </span>
|
|
374
|
-
<span class="cline-any cline-yes">2x</span>
|
|
375
443
|
<span class="cline-any cline-neutral"> </span>
|
|
376
|
-
<span class="cline-any cline-yes">2x</span>
|
|
377
|
-
<span class="cline-any cline-yes">2x</span>
|
|
378
|
-
<span class="cline-any cline-yes">2x</span>
|
|
379
|
-
<span class="cline-any cline-yes">2x</span>
|
|
380
444
|
<span class="cline-any cline-neutral"> </span>
|
|
381
|
-
<span class="cline-any cline-yes">
|
|
445
|
+
<span class="cline-any cline-yes">1x</span>
|
|
382
446
|
<span class="cline-any cline-neutral"> </span>
|
|
447
|
+
<span class="cline-any cline-yes">1x</span>
|
|
448
|
+
<span class="cline-any cline-yes">1x</span>
|
|
449
|
+
<span class="cline-any cline-yes">1x</span>
|
|
450
|
+
<span class="cline-any cline-yes">1x</span>
|
|
383
451
|
<span class="cline-any cline-neutral"> </span>
|
|
452
|
+
<span class="cline-any cline-yes">1x</span>
|
|
384
453
|
<span class="cline-any cline-neutral"> </span>
|
|
385
454
|
<span class="cline-any cline-neutral"> </span>
|
|
386
455
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -392,37 +461,81 @@
|
|
|
392
461
|
<span class="cline-any cline-neutral"> </span>
|
|
393
462
|
<span class="cline-any cline-neutral"> </span>
|
|
394
463
|
<span class="cline-any cline-neutral"> </span>
|
|
395
|
-
<span class="cline-any cline-yes">3x</span>
|
|
396
464
|
<span class="cline-any cline-neutral"> </span>
|
|
397
465
|
<span class="cline-any cline-yes">2x</span>
|
|
398
466
|
<span class="cline-any cline-neutral"> </span>
|
|
399
|
-
<span class="cline-any cline-yes">
|
|
400
|
-
<span class="cline-any cline-yes">2x</span>
|
|
467
|
+
<span class="cline-any cline-yes">1x</span>
|
|
401
468
|
<span class="cline-any cline-neutral"> </span>
|
|
469
|
+
<span class="cline-any cline-yes">1x</span>
|
|
470
|
+
<span class="cline-any cline-yes">1x</span>
|
|
471
|
+
<span class="cline-any cline-neutral"> </span>
|
|
472
|
+
<span class="cline-any cline-neutral"> </span>
|
|
473
|
+
<span class="cline-any cline-yes">1x</span>
|
|
474
|
+
<span class="cline-any cline-neutral"> </span>
|
|
475
|
+
<span class="cline-any cline-yes">1x</span>
|
|
476
|
+
<span class="cline-any cline-yes">1x</span>
|
|
477
|
+
<span class="cline-any cline-neutral"> </span>
|
|
478
|
+
<span class="cline-any cline-neutral"> </span>
|
|
479
|
+
<span class="cline-any cline-yes">1x</span>
|
|
480
|
+
<span class="cline-any cline-yes">1x</span>
|
|
481
|
+
<span class="cline-any cline-yes">1x</span>
|
|
482
|
+
<span class="cline-any cline-neutral"> </span>
|
|
483
|
+
<span class="cline-any cline-neutral"> </span>
|
|
484
|
+
<span class="cline-any cline-neutral"> </span>
|
|
485
|
+
<span class="cline-any cline-yes">1x</span>
|
|
486
|
+
<span class="cline-any cline-neutral"> </span>
|
|
487
|
+
<span class="cline-any cline-neutral"> </span>
|
|
488
|
+
<span class="cline-any cline-neutral"> </span>
|
|
489
|
+
<span class="cline-any cline-yes">1x</span>
|
|
490
|
+
<span class="cline-any cline-neutral"> </span>
|
|
491
|
+
<span class="cline-any cline-yes">1x</span>
|
|
492
|
+
<span class="cline-any cline-yes">1x</span>
|
|
493
|
+
<span class="cline-any cline-yes">1x</span>
|
|
494
|
+
<span class="cline-any cline-yes">1x</span>
|
|
495
|
+
<span class="cline-any cline-neutral"> </span>
|
|
496
|
+
<span class="cline-any cline-yes">1x</span>
|
|
402
497
|
<span class="cline-any cline-neutral"> </span>
|
|
403
498
|
<span class="cline-any cline-neutral"> </span>
|
|
404
|
-
<span class="cline-any cline-yes">2x</span>
|
|
405
499
|
<span class="cline-any cline-neutral"> </span>
|
|
406
|
-
<span class="cline-any cline-yes">2x</span>
|
|
407
|
-
<span class="cline-any cline-yes">2x</span>
|
|
408
500
|
<span class="cline-any cline-neutral"> </span>
|
|
409
501
|
<span class="cline-any cline-neutral"> </span>
|
|
410
|
-
<span class="cline-any cline-yes">2x</span>
|
|
411
|
-
<span class="cline-any cline-yes">2x</span>
|
|
412
|
-
<span class="cline-any cline-yes">2x</span>
|
|
413
502
|
<span class="cline-any cline-neutral"> </span>
|
|
414
503
|
<span class="cline-any cline-neutral"> </span>
|
|
415
504
|
<span class="cline-any cline-neutral"> </span>
|
|
416
|
-
<span class="cline-any cline-yes">2x</span>
|
|
417
505
|
<span class="cline-any cline-neutral"> </span>
|
|
418
506
|
<span class="cline-any cline-neutral"> </span>
|
|
419
507
|
<span class="cline-any cline-neutral"> </span>
|
|
420
|
-
<span class="cline-any cline-yes">2x</span>
|
|
421
|
-
<span class="cline-any cline-yes">2x</span>
|
|
422
|
-
<span class="cline-any cline-yes">2x</span>
|
|
423
508
|
<span class="cline-any cline-neutral"> </span>
|
|
424
509
|
<span class="cline-any cline-yes">2x</span>
|
|
425
510
|
<span class="cline-any cline-neutral"> </span>
|
|
511
|
+
<span class="cline-any cline-yes">1x</span>
|
|
512
|
+
<span class="cline-any cline-neutral"> </span>
|
|
513
|
+
<span class="cline-any cline-yes">1x</span>
|
|
514
|
+
<span class="cline-any cline-yes">1x</span>
|
|
515
|
+
<span class="cline-any cline-neutral"> </span>
|
|
516
|
+
<span class="cline-any cline-neutral"> </span>
|
|
517
|
+
<span class="cline-any cline-neutral"> </span>
|
|
518
|
+
<span class="cline-any cline-yes">1x</span>
|
|
519
|
+
<span class="cline-any cline-neutral"> </span>
|
|
520
|
+
<span class="cline-any cline-yes">1x</span>
|
|
521
|
+
<span class="cline-any cline-yes">1x</span>
|
|
522
|
+
<span class="cline-any cline-neutral"> </span>
|
|
523
|
+
<span class="cline-any cline-neutral"> </span>
|
|
524
|
+
<span class="cline-any cline-yes">1x</span>
|
|
525
|
+
<span class="cline-any cline-yes">1x</span>
|
|
526
|
+
<span class="cline-any cline-yes">1x</span>
|
|
527
|
+
<span class="cline-any cline-neutral"> </span>
|
|
528
|
+
<span class="cline-any cline-neutral"> </span>
|
|
529
|
+
<span class="cline-any cline-neutral"> </span>
|
|
530
|
+
<span class="cline-any cline-yes">1x</span>
|
|
531
|
+
<span class="cline-any cline-neutral"> </span>
|
|
532
|
+
<span class="cline-any cline-neutral"> </span>
|
|
533
|
+
<span class="cline-any cline-neutral"> </span>
|
|
534
|
+
<span class="cline-any cline-yes">1x</span>
|
|
535
|
+
<span class="cline-any cline-yes">1x</span>
|
|
536
|
+
<span class="cline-any cline-yes">1x</span>
|
|
537
|
+
<span class="cline-any cline-neutral"> </span>
|
|
538
|
+
<span class="cline-any cline-yes">1x</span>
|
|
426
539
|
<span class="cline-any cline-neutral"> </span>
|
|
427
540
|
<span class="cline-any cline-neutral"> </span>
|
|
428
541
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -434,8 +547,8 @@
|
|
|
434
547
|
<span class="cline-any cline-neutral"> </span>
|
|
435
548
|
<span class="cline-any cline-neutral"> </span>
|
|
436
549
|
<span class="cline-any cline-yes">11x</span>
|
|
437
|
-
<span class="cline-any cline-yes">
|
|
438
|
-
<span class="cline-any cline-yes">
|
|
550
|
+
<span class="cline-any cline-yes">3x</span>
|
|
551
|
+
<span class="cline-any cline-yes">3x</span>
|
|
439
552
|
<span class="cline-any cline-neutral"> </span>
|
|
440
553
|
<span class="cline-any cline-neutral"> </span>
|
|
441
554
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -445,11 +558,11 @@
|
|
|
445
558
|
<span class="cline-any cline-neutral"> </span>
|
|
446
559
|
<span class="cline-any cline-neutral"> </span>
|
|
447
560
|
<span class="cline-any cline-neutral"> </span>
|
|
561
|
+
<span class="cline-any cline-yes">1x</span>
|
|
562
|
+
<span class="cline-any cline-yes">1x</span>
|
|
563
|
+
<span class="cline-any cline-yes">1x</span>
|
|
564
|
+
<span class="cline-any cline-yes">1x</span>
|
|
448
565
|
<span class="cline-any cline-neutral"> </span>
|
|
449
|
-
<span class="cline-any cline-yes">2x</span>
|
|
450
|
-
<span class="cline-any cline-yes">2x</span>
|
|
451
|
-
<span class="cline-any cline-yes">2x</span>
|
|
452
|
-
<span class="cline-any cline-yes">2x</span>
|
|
453
566
|
<span class="cline-any cline-neutral"> </span>
|
|
454
567
|
<span class="cline-any cline-neutral"> </span>
|
|
455
568
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -459,13 +572,24 @@
|
|
|
459
572
|
<span class="cline-any cline-neutral"> </span>
|
|
460
573
|
<span class="cline-any cline-neutral"> </span>
|
|
461
574
|
<span class="cline-any cline-neutral"> </span>
|
|
575
|
+
<span class="cline-any cline-yes">1x</span>
|
|
576
|
+
<span class="cline-any cline-yes">1x</span>
|
|
577
|
+
<span class="cline-any cline-yes">1x</span>
|
|
578
|
+
<span class="cline-any cline-yes">1x</span>
|
|
579
|
+
<span class="cline-any cline-neutral"> </span>
|
|
580
|
+
<span class="cline-any cline-neutral"> </span>
|
|
581
|
+
<span class="cline-any cline-neutral"> </span>
|
|
582
|
+
<span class="cline-any cline-neutral"> </span>
|
|
583
|
+
<span class="cline-any cline-neutral"> </span>
|
|
584
|
+
<span class="cline-any cline-neutral"> </span>
|
|
585
|
+
<span class="cline-any cline-neutral"> </span>
|
|
462
586
|
<span class="cline-any cline-neutral"> </span>
|
|
463
587
|
<span class="cline-any cline-neutral"> </span>
|
|
464
|
-
<span class="cline-any cline-yes">2x</span>
|
|
465
|
-
<span class="cline-any cline-yes">2x</span>
|
|
466
|
-
<span class="cline-any cline-yes">2x</span>
|
|
467
|
-
<span class="cline-any cline-yes">2x</span>
|
|
468
588
|
<span class="cline-any cline-neutral"> </span>
|
|
589
|
+
<span class="cline-any cline-yes">1x</span>
|
|
590
|
+
<span class="cline-any cline-yes">1x</span>
|
|
591
|
+
<span class="cline-any cline-yes">1x</span>
|
|
592
|
+
<span class="cline-any cline-yes">1x</span>
|
|
469
593
|
<span class="cline-any cline-neutral"> </span>
|
|
470
594
|
<span class="cline-any cline-neutral"> </span>
|
|
471
595
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -485,7 +609,6 @@
|
|
|
485
609
|
<span class="cline-any cline-neutral"> </span>
|
|
486
610
|
<span class="cline-any cline-neutral"> </span>
|
|
487
611
|
<span class="cline-any cline-neutral"> </span>
|
|
488
|
-
<span class="cline-any cline-neutral"> </span>
|
|
489
612
|
<span class="cline-any cline-no"> </span>
|
|
490
613
|
<span class="cline-any cline-neutral"> </span>
|
|
491
614
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -497,7 +620,6 @@
|
|
|
497
620
|
<span class="cline-any cline-neutral"> </span>
|
|
498
621
|
<span class="cline-any cline-neutral"> </span>
|
|
499
622
|
<span class="cline-any cline-neutral"> </span>
|
|
500
|
-
<span class="cline-any cline-neutral"> </span>
|
|
501
623
|
<span class="cline-any cline-no"> </span>
|
|
502
624
|
<span class="cline-any cline-neutral"> </span>
|
|
503
625
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -509,21 +631,37 @@
|
|
|
509
631
|
<span class="cline-any cline-neutral"> </span>
|
|
510
632
|
<span class="cline-any cline-neutral"> </span>
|
|
511
633
|
<span class="cline-any cline-neutral"> </span>
|
|
512
|
-
<span class="cline-any cline-
|
|
634
|
+
<span class="cline-any cline-no"> </span>
|
|
635
|
+
<span class="cline-any cline-neutral"> </span>
|
|
513
636
|
<span class="cline-any cline-neutral"> </span>
|
|
514
637
|
<span class="cline-any cline-neutral"> </span>
|
|
515
638
|
<span class="cline-any cline-neutral"> </span>
|
|
516
639
|
<span class="cline-any cline-neutral"> </span>
|
|
517
640
|
<span class="cline-any cline-neutral"> </span>
|
|
518
641
|
<span class="cline-any cline-neutral"> </span>
|
|
642
|
+
<span class="cline-any cline-yes">11x</span>
|
|
643
|
+
<span class="cline-any cline-neutral"> </span>
|
|
644
|
+
<span class="cline-any cline-neutral"> </span>
|
|
645
|
+
<span class="cline-any cline-neutral"> </span>
|
|
646
|
+
<span class="cline-any cline-neutral"> </span>
|
|
519
647
|
<span class="cline-any cline-neutral"> </span>
|
|
520
648
|
<span class="cline-any cline-neutral"> </span>
|
|
521
649
|
<span class="cline-any cline-neutral"> </span>
|
|
522
650
|
<span class="cline-any cline-neutral"> </span>
|
|
523
651
|
<span class="cline-any cline-yes">11x</span>
|
|
524
|
-
<span class="cline-any cline-yes">
|
|
652
|
+
<span class="cline-any cline-yes">1x</span>
|
|
653
|
+
<span class="cline-any cline-neutral"> </span>
|
|
654
|
+
<span class="cline-any cline-neutral"> </span>
|
|
655
|
+
<span class="cline-any cline-neutral"> </span>
|
|
656
|
+
<span class="cline-any cline-neutral"> </span>
|
|
657
|
+
<span class="cline-any cline-neutral"> </span>
|
|
658
|
+
<span class="cline-any cline-neutral"> </span>
|
|
659
|
+
<span class="cline-any cline-neutral"> </span>
|
|
660
|
+
<span class="cline-any cline-neutral"> </span>
|
|
525
661
|
<span class="cline-any cline-neutral"> </span>
|
|
526
662
|
<span class="cline-any cline-neutral"> </span>
|
|
663
|
+
<span class="cline-any cline-yes">11x</span>
|
|
664
|
+
<span class="cline-any cline-yes">1x</span>
|
|
527
665
|
<span class="cline-any cline-neutral"> </span>
|
|
528
666
|
<span class="cline-any cline-neutral"> </span>
|
|
529
667
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -535,7 +673,7 @@
|
|
|
535
673
|
<span class="cline-any cline-neutral"> </span>
|
|
536
674
|
<span class="cline-any cline-neutral"> </span>
|
|
537
675
|
<span class="cline-any cline-yes">11x</span>
|
|
538
|
-
<span class="cline-any cline-yes">
|
|
676
|
+
<span class="cline-any cline-yes">1x</span>
|
|
539
677
|
<span class="cline-any cline-neutral"> </span>
|
|
540
678
|
<span class="cline-any cline-yes">11x</span>
|
|
541
679
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -563,34 +701,36 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
563
701
|
// @ts-ignore
|
|
564
702
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
565
703
|
// @ts-ignore
|
|
566
|
-
import type {
|
|
704
|
+
import type { AsyncLookupRequest } from '../models';
|
|
705
|
+
// @ts-ignore
|
|
706
|
+
import type { CreateAsyncBulkLookupResponse } from '../models';
|
|
567
707
|
// @ts-ignore
|
|
568
|
-
import type {
|
|
708
|
+
import type { CreateSyncLookupResponse } from '../models';
|
|
569
709
|
// @ts-ignore
|
|
570
|
-
import type {
|
|
710
|
+
import type { GetAsyncBulkLookupResponse } from '../models';
|
|
571
711
|
// @ts-ignore
|
|
572
|
-
import type {
|
|
712
|
+
import type { LookupErrorResponse } from '../models';
|
|
713
|
+
// @ts-ignore
|
|
714
|
+
import type { SyncLookupRequest } from '../models';
|
|
573
715
|
/**
|
|
574
716
|
* PhoneNumberLookupApi - axios parameter creator
|
|
575
|
-
* @export
|
|
576
717
|
*/
|
|
577
718
|
export const PhoneNumberLookupApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
578
719
|
return {
|
|
579
720
|
/**
|
|
580
|
-
*
|
|
581
|
-
* @summary Create Lookup
|
|
582
|
-
* @param {string} accountId
|
|
583
|
-
* @param {
|
|
721
|
+
* 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.
|
|
722
|
+
* @summary Create Asynchronous Bulk Number Lookup
|
|
723
|
+
* @param {string} accountId
|
|
724
|
+
* @param {AsyncLookupRequest} asyncLookupRequest Asynchronous bulk phone number lookup request.
|
|
584
725
|
* @param {*} [options] Override http request option.
|
|
585
|
-
* @deprecated
|
|
586
726
|
* @throws {RequiredError}
|
|
587
727
|
*/
|
|
588
|
-
|
|
728
|
+
createAsyncBulkLookup: async (accountId: string, asyncLookupRequest: AsyncLookupRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
589
729
|
// verify required parameter 'accountId' is not null or undefined
|
|
590
|
-
assertParamExists('
|
|
591
|
-
// verify required parameter '
|
|
592
|
-
assertParamExists('
|
|
593
|
-
const localVarPath = `/accounts/{accountId}/
|
|
730
|
+
assertParamExists('createAsyncBulkLookup', 'accountId', accountId)
|
|
731
|
+
// verify required parameter 'asyncLookupRequest' is not null or undefined
|
|
732
|
+
assertParamExists('createAsyncBulkLookup', 'asyncLookupRequest', asyncLookupRequest)
|
|
733
|
+
const localVarPath = `/accounts/{accountId}/phoneNumberLookup/bulk`
|
|
594
734
|
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
595
735
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
596
736
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -614,7 +754,7 @@ export const PhoneNumberLookupApiAxiosParamCreator = function (configuration?: C
|
|
|
614
754
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
615
755
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : <span class="branch-1 cbranch-no" title="branch not covered" >{};</span>
|
|
616
756
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
617
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
757
|
+
localVarRequestOptions.data = serializeDataIfNeeded(asyncLookupRequest, localVarRequestOptions, configuration)
|
|
618
758
|
|
|
619
759
|
return {
|
|
620
760
|
url: toPathString(localVarUrlObj),
|
|
@@ -622,20 +762,63 @@ export const PhoneNumberLookupApiAxiosParamCreator = function (configuration?: C
|
|
|
622
762
|
};
|
|
623
763
|
},
|
|
624
764
|
/**
|
|
625
|
-
*
|
|
626
|
-
* @summary
|
|
627
|
-
* @param {string} accountId
|
|
628
|
-
* @param {
|
|
765
|
+
* Creates a synchronous phone number lookup request. Maximum of 100 telephone numbers per request.
|
|
766
|
+
* @summary Create Synchronous Number Lookup
|
|
767
|
+
* @param {string} accountId
|
|
768
|
+
* @param {SyncLookupRequest} syncLookupRequest Synchronous phone number lookup request.
|
|
629
769
|
* @param {*} [options] Override http request option.
|
|
630
|
-
* @deprecated
|
|
631
770
|
* @throws {RequiredError}
|
|
632
771
|
*/
|
|
633
|
-
|
|
772
|
+
createSyncLookup: async (accountId: string, syncLookupRequest: SyncLookupRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
634
773
|
// verify required parameter 'accountId' is not null or undefined
|
|
635
|
-
assertParamExists('
|
|
774
|
+
assertParamExists('createSyncLookup', 'accountId', accountId)
|
|
775
|
+
// verify required parameter 'syncLookupRequest' is not null or undefined
|
|
776
|
+
assertParamExists('createSyncLookup', 'syncLookupRequest', syncLookupRequest)
|
|
777
|
+
const localVarPath = `/accounts/{accountId}/phoneNumberLookup`
|
|
778
|
+
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
|
|
779
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
780
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
781
|
+
let baseOptions;
|
|
782
|
+
if (configuration) {
|
|
783
|
+
baseOptions = configuration.baseOptions;
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
787
|
+
const localVarHeaderParameter = {} as any;
|
|
788
|
+
const localVarQueryParameter = {} as any;
|
|
789
|
+
|
|
790
|
+
// authentication Basic required
|
|
791
|
+
// http basic authentication required
|
|
792
|
+
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
797
|
+
|
|
798
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
799
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : <span class="branch-1 cbranch-no" title="branch not covered" >{};</span>
|
|
800
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
801
|
+
localVarRequestOptions.data = serializeDataIfNeeded(syncLookupRequest, localVarRequestOptions, configuration)
|
|
802
|
+
|
|
803
|
+
return {
|
|
804
|
+
url: toPathString(localVarUrlObj),
|
|
805
|
+
options: localVarRequestOptions,
|
|
806
|
+
};
|
|
807
|
+
},
|
|
808
|
+
/**
|
|
809
|
+
* 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.
|
|
810
|
+
* @summary Get Asynchronous Bulk Number Lookup
|
|
811
|
+
* @param {string} accountId
|
|
812
|
+
* @param {string} requestId
|
|
813
|
+
* @param {*} [options] Override http request option.
|
|
814
|
+
* @throws {RequiredError}
|
|
815
|
+
*/
|
|
816
|
+
getAsyncBulkLookup: async (accountId: string, requestId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
817
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
818
|
+
assertParamExists('getAsyncBulkLookup', 'accountId', accountId)
|
|
636
819
|
// verify required parameter 'requestId' is not null or undefined
|
|
637
|
-
assertParamExists('
|
|
638
|
-
const localVarPath = `/accounts/{accountId}/
|
|
820
|
+
assertParamExists('getAsyncBulkLookup', 'requestId', requestId)
|
|
821
|
+
const localVarPath = `/accounts/{accountId}/phoneNumberLookup/bulk/{requestId}`
|
|
639
822
|
.replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)))
|
|
640
823
|
.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
|
|
641
824
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -669,39 +852,50 @@ export const PhoneNumberLookupApiAxiosParamCreator = function (configuration?: C
|
|
|
669
852
|
|
|
670
853
|
/**
|
|
671
854
|
* PhoneNumberLookupApi - functional programming interface
|
|
672
|
-
* @export
|
|
673
855
|
*/
|
|
674
856
|
export const PhoneNumberLookupApiFp = function(configuration?: Configuration) {
|
|
675
857
|
const localVarAxiosParamCreator = PhoneNumberLookupApiAxiosParamCreator(configuration)
|
|
676
858
|
return {
|
|
677
859
|
/**
|
|
678
|
-
*
|
|
679
|
-
* @summary Create Lookup
|
|
680
|
-
* @param {string} accountId
|
|
681
|
-
* @param {
|
|
860
|
+
* 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.
|
|
861
|
+
* @summary Create Asynchronous Bulk Number Lookup
|
|
862
|
+
* @param {string} accountId
|
|
863
|
+
* @param {AsyncLookupRequest} asyncLookupRequest Asynchronous bulk phone number lookup request.
|
|
682
864
|
* @param {*} [options] Override http request option.
|
|
683
|
-
* @deprecated
|
|
684
865
|
* @throws {RequiredError}
|
|
685
866
|
*/
|
|
686
|
-
async
|
|
687
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
867
|
+
async createAsyncBulkLookup(accountId: string, asyncLookupRequest: AsyncLookupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAsyncBulkLookupResponse>> {
|
|
868
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createAsyncBulkLookup(accountId, asyncLookupRequest, options);
|
|
688
869
|
const localVarOperationServerIndex = configuration<span class="branch-0 cbranch-no" title="branch not covered" >?.s</span>erverIndex<span class="branch-0 cbranch-no" title="branch not covered" > ?? 0</span>;
|
|
689
|
-
const localVarOperationServerBasePath = operationServerMap['PhoneNumberLookupApi.
|
|
870
|
+
const localVarOperationServerBasePath = operationServerMap['PhoneNumberLookupApi.createAsyncBulkLookup']<span class="branch-0 cbranch-no" title="branch not covered" >?.[l</span>ocalVarOperationServerIndex]<span class="branch-0 cbranch-no" title="branch not covered" >?.u</span>rl;
|
|
690
871
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || <span class="branch-1 cbranch-no" title="branch not covered" >basePath)</span>;
|
|
691
872
|
},
|
|
692
873
|
/**
|
|
693
|
-
*
|
|
694
|
-
* @summary
|
|
695
|
-
* @param {string} accountId
|
|
696
|
-
* @param {
|
|
874
|
+
* Creates a synchronous phone number lookup request. Maximum of 100 telephone numbers per request.
|
|
875
|
+
* @summary Create Synchronous Number Lookup
|
|
876
|
+
* @param {string} accountId
|
|
877
|
+
* @param {SyncLookupRequest} syncLookupRequest Synchronous phone number lookup request.
|
|
697
878
|
* @param {*} [options] Override http request option.
|
|
698
|
-
* @deprecated
|
|
699
879
|
* @throws {RequiredError}
|
|
700
880
|
*/
|
|
701
|
-
async
|
|
702
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
881
|
+
async createSyncLookup(accountId: string, syncLookupRequest: SyncLookupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSyncLookupResponse>> {
|
|
882
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createSyncLookup(accountId, syncLookupRequest, options);
|
|
703
883
|
const localVarOperationServerIndex = configuration<span class="branch-0 cbranch-no" title="branch not covered" >?.s</span>erverIndex<span class="branch-0 cbranch-no" title="branch not covered" > ?? 0</span>;
|
|
704
|
-
const localVarOperationServerBasePath = operationServerMap['PhoneNumberLookupApi.
|
|
884
|
+
const localVarOperationServerBasePath = operationServerMap['PhoneNumberLookupApi.createSyncLookup']<span class="branch-0 cbranch-no" title="branch not covered" >?.[l</span>ocalVarOperationServerIndex]<span class="branch-0 cbranch-no" title="branch not covered" >?.u</span>rl;
|
|
885
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || <span class="branch-1 cbranch-no" title="branch not covered" >basePath)</span>;
|
|
886
|
+
},
|
|
887
|
+
/**
|
|
888
|
+
* 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.
|
|
889
|
+
* @summary Get Asynchronous Bulk Number Lookup
|
|
890
|
+
* @param {string} accountId
|
|
891
|
+
* @param {string} requestId
|
|
892
|
+
* @param {*} [options] Override http request option.
|
|
893
|
+
* @throws {RequiredError}
|
|
894
|
+
*/
|
|
895
|
+
async getAsyncBulkLookup(accountId: string, requestId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAsyncBulkLookupResponse>> {
|
|
896
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAsyncBulkLookup(accountId, requestId, options);
|
|
897
|
+
const localVarOperationServerIndex = configuration<span class="branch-0 cbranch-no" title="branch not covered" >?.s</span>erverIndex<span class="branch-0 cbranch-no" title="branch not covered" > ?? 0</span>;
|
|
898
|
+
const localVarOperationServerBasePath = operationServerMap['PhoneNumberLookupApi.getAsyncBulkLookup']<span class="branch-0 cbranch-no" title="branch not covered" >?.[l</span>ocalVarOperationServerIndex]<span class="branch-0 cbranch-no" title="branch not covered" >?.u</span>rl;
|
|
705
899
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || <span class="branch-1 cbranch-no" title="branch not covered" >basePath)</span>;
|
|
706
900
|
},
|
|
707
901
|
}
|
|
@@ -709,71 +903,84 @@ export const PhoneNumberLookupApiFp = function(configuration?: Configuration) {
|
|
|
709
903
|
|
|
710
904
|
/**
|
|
711
905
|
* PhoneNumberLookupApi - factory interface
|
|
712
|
-
* @export
|
|
713
906
|
*/
|
|
714
907
|
export const PhoneNumberLookupApiFactory = <span class="fstat-no" title="function not covered" >function (c</span>onfiguration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
715
908
|
const localVarFp = <span class="cstat-no" title="statement not covered" >PhoneNumberLookupApiFp(configuration)</span>
|
|
716
909
|
<span class="cstat-no" title="statement not covered" > return {</span>
|
|
717
910
|
/**
|
|
718
|
-
*
|
|
719
|
-
* @summary Create Lookup
|
|
720
|
-
* @param {string} accountId
|
|
721
|
-
* @param {
|
|
911
|
+
* 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.
|
|
912
|
+
* @summary Create Asynchronous Bulk Number Lookup
|
|
913
|
+
* @param {string} accountId
|
|
914
|
+
* @param {AsyncLookupRequest} asyncLookupRequest Asynchronous bulk phone number lookup request.
|
|
915
|
+
* @param {*} [options] Override http request option.
|
|
916
|
+
* @throws {RequiredError}
|
|
917
|
+
*/
|
|
918
|
+
createAsyncBulkLookup<span class="fstat-no" title="function not covered" >(a</span>ccountId: string, asyncLookupRequest: AsyncLookupRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAsyncBulkLookupResponse> {
|
|
919
|
+
<span class="cstat-no" title="statement not covered" > return localVarFp.createAsyncBulkLookup(accountId, asyncLookupRequest, options).then(<span class="fstat-no" title="function not covered" >(r</span>equest) => <span class="cstat-no" title="statement not covered" >request(axios, basePath));</span></span>
|
|
920
|
+
},
|
|
921
|
+
/**
|
|
922
|
+
* Creates a synchronous phone number lookup request. Maximum of 100 telephone numbers per request.
|
|
923
|
+
* @summary Create Synchronous Number Lookup
|
|
924
|
+
* @param {string} accountId
|
|
925
|
+
* @param {SyncLookupRequest} syncLookupRequest Synchronous phone number lookup request.
|
|
722
926
|
* @param {*} [options] Override http request option.
|
|
723
|
-
* @deprecated
|
|
724
927
|
* @throws {RequiredError}
|
|
725
928
|
*/
|
|
726
|
-
|
|
727
|
-
<span class="cstat-no" title="statement not covered" > return localVarFp.
|
|
929
|
+
createSyncLookup<span class="fstat-no" title="function not covered" >(a</span>ccountId: string, syncLookupRequest: SyncLookupRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateSyncLookupResponse> {
|
|
930
|
+
<span class="cstat-no" title="statement not covered" > return localVarFp.createSyncLookup(accountId, syncLookupRequest, options).then(<span class="fstat-no" title="function not covered" >(r</span>equest) => <span class="cstat-no" title="statement not covered" >request(axios, basePath));</span></span>
|
|
728
931
|
},
|
|
729
932
|
/**
|
|
730
|
-
* Get an existing
|
|
731
|
-
* @summary Get
|
|
732
|
-
* @param {string} accountId
|
|
733
|
-
* @param {string} requestId
|
|
933
|
+
* 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.
|
|
934
|
+
* @summary Get Asynchronous Bulk Number Lookup
|
|
935
|
+
* @param {string} accountId
|
|
936
|
+
* @param {string} requestId
|
|
734
937
|
* @param {*} [options] Override http request option.
|
|
735
|
-
* @deprecated
|
|
736
938
|
* @throws {RequiredError}
|
|
737
939
|
*/
|
|
738
|
-
|
|
739
|
-
<span class="cstat-no" title="statement not covered" > return localVarFp.
|
|
940
|
+
getAsyncBulkLookup<span class="fstat-no" title="function not covered" >(a</span>ccountId: string, requestId: string, options?: RawAxiosRequestConfig): AxiosPromise<GetAsyncBulkLookupResponse> {
|
|
941
|
+
<span class="cstat-no" title="statement not covered" > return localVarFp.getAsyncBulkLookup(accountId, requestId, options).then(<span class="fstat-no" title="function not covered" >(r</span>equest) => <span class="cstat-no" title="statement not covered" >request(axios, basePath));</span></span>
|
|
740
942
|
},
|
|
741
943
|
};
|
|
742
944
|
};
|
|
743
945
|
|
|
744
946
|
/**
|
|
745
947
|
* PhoneNumberLookupApi - object-oriented interface
|
|
746
|
-
* @export
|
|
747
|
-
* @class PhoneNumberLookupApi
|
|
748
|
-
* @extends {BaseAPI}
|
|
749
948
|
*/
|
|
750
949
|
export class PhoneNumberLookupApi extends BaseAPI {
|
|
751
950
|
/**
|
|
752
|
-
*
|
|
753
|
-
* @summary Create Lookup
|
|
754
|
-
* @param {string} accountId
|
|
755
|
-
* @param {
|
|
951
|
+
* 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.
|
|
952
|
+
* @summary Create Asynchronous Bulk Number Lookup
|
|
953
|
+
* @param {string} accountId
|
|
954
|
+
* @param {AsyncLookupRequest} asyncLookupRequest Asynchronous bulk phone number lookup request.
|
|
955
|
+
* @param {*} [options] Override http request option.
|
|
956
|
+
* @throws {RequiredError}
|
|
957
|
+
*/
|
|
958
|
+
public createAsyncBulkLookup(accountId: string, asyncLookupRequest: AsyncLookupRequest, options?: RawAxiosRequestConfig) {
|
|
959
|
+
return PhoneNumberLookupApiFp(this.configuration).createAsyncBulkLookup(accountId, asyncLookupRequest, options).then((request) => request(this.axios, this.basePath));
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
/**
|
|
963
|
+
* Creates a synchronous phone number lookup request. Maximum of 100 telephone numbers per request.
|
|
964
|
+
* @summary Create Synchronous Number Lookup
|
|
965
|
+
* @param {string} accountId
|
|
966
|
+
* @param {SyncLookupRequest} syncLookupRequest Synchronous phone number lookup request.
|
|
756
967
|
* @param {*} [options] Override http request option.
|
|
757
|
-
* @deprecated
|
|
758
968
|
* @throws {RequiredError}
|
|
759
|
-
* @memberof PhoneNumberLookupApi
|
|
760
969
|
*/
|
|
761
|
-
public
|
|
762
|
-
return PhoneNumberLookupApiFp(this.configuration).
|
|
970
|
+
public createSyncLookup(accountId: string, syncLookupRequest: SyncLookupRequest, options?: RawAxiosRequestConfig) {
|
|
971
|
+
return PhoneNumberLookupApiFp(this.configuration).createSyncLookup(accountId, syncLookupRequest, options).then((request) => request(this.axios, this.basePath));
|
|
763
972
|
}
|
|
764
973
|
|
|
765
974
|
/**
|
|
766
|
-
* Get an existing
|
|
767
|
-
* @summary Get
|
|
768
|
-
* @param {string} accountId
|
|
769
|
-
* @param {string} requestId
|
|
975
|
+
* 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.
|
|
976
|
+
* @summary Get Asynchronous Bulk Number Lookup
|
|
977
|
+
* @param {string} accountId
|
|
978
|
+
* @param {string} requestId
|
|
770
979
|
* @param {*} [options] Override http request option.
|
|
771
|
-
* @deprecated
|
|
772
980
|
* @throws {RequiredError}
|
|
773
|
-
* @memberof PhoneNumberLookupApi
|
|
774
981
|
*/
|
|
775
|
-
public
|
|
776
|
-
return PhoneNumberLookupApiFp(this.configuration).
|
|
982
|
+
public getAsyncBulkLookup(accountId: string, requestId: string, options?: RawAxiosRequestConfig) {
|
|
983
|
+
return PhoneNumberLookupApiFp(this.configuration).getAsyncBulkLookup(accountId, requestId, options).then((request) => request(this.axios, this.basePath));
|
|
777
984
|
}
|
|
778
985
|
}
|
|
779
986
|
|
|
@@ -784,7 +991,7 @@ export class PhoneNumberLookupApi extends BaseAPI {
|
|
|
784
991
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
785
992
|
Code coverage generated by
|
|
786
993
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
787
|
-
at 2025-
|
|
994
|
+
at 2025-11-11T19:17:20.168Z
|
|
788
995
|
</div>
|
|
789
996
|
<script src="../../prettify.js"></script>
|
|
790
997
|
<script>
|