bandwidth-sdk 8.1.1 → 8.1.3
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/.openapi-generator/FILES +2 -0
- package/README.md +1 -0
- package/bandwidth.yml +141 -30
- package/configuration.ts +1 -1
- package/coverage/clover.xml +71 -70
- package/coverage/coverage-final.json +37 -37
- package/coverage/lcov-report/index.html +17 -17
- package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/endpoints-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/index.html +1 -1
- package/coverage/lcov-report/node-sdk/api/media-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/multi-channel-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/toll-free-verification-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/base.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/common.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/configuration.ts.html +47 -47
- package/coverage/lcov-report/node-sdk/index.html +16 -16
- package/coverage/lcov-report/node-sdk/models/business-entity-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/business-registration-type-enum.ts.html +2 -2
- 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/Connect.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/Endpoint.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 -2
- package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/card-width-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/completed-lookup-status-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/conference-state-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/deactivation-event-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/device-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/endpoint-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/endpoint-event-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/endpoint-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/endpoint-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/file-format-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/in-progress-lookup-status-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/inbound-callback-type-enum.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/index.html +5 -5
- package/coverage/lcov-report/node-sdk/models/index.ts.html +7 -4
- package/coverage/lcov-report/node-sdk/models/latest-message-delivery-status-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/line-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/list-message-direction-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/machine-detection-mode-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/message-direction-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/message-status-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/message-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/multi-channel-message-channel-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/priority-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/product-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/rbm-action-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/rbm-media-height-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/rbm-open-url-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/rbm-web-view-enum.ts.html +3 -3
- package/coverage/lcov-report/node-sdk/models/recording-state-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/redirect-method-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/standalone-card-orientation-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/status-callback-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/tfv-callback-status-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/tfv-status-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/thumbnail-alignment-enum.ts.html +3 -3
- package/coverage/lcov-report/node-sdk/models/webhook-subscription-type-enum.ts.html +2 -2
- package/coverage/lcov.info +89 -88
- package/dist/configuration.js +1 -1
- package/dist/models/callback.d.ts +1 -1
- package/dist/models/inbound-callback-type-enum.d.ts +2 -2
- package/dist/models/inbound-callback-type-enum.js +2 -2
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/multi-channel-action-calendar-event.d.ts +2 -2
- package/dist/models/multi-channel-action.d.ts +5 -5
- package/dist/models/rbm-action-open-url.d.ts +1 -1
- package/dist/models/rbm-action-view-location.d.ts +2 -2
- package/dist/models/rbm-card-content.d.ts +3 -0
- package/dist/models/rbm-standalone-card.d.ts +1 -1
- package/dist/models/rbm-suggestion-response.d.ts +4 -0
- package/dist/models/rbm-web-view-enum.d.ts +1 -1
- package/dist/models/rbm-web-view-enum.js +1 -1
- package/dist/models/recording-transcription-clip.d.ts +33 -0
- package/dist/models/recording-transcription-clip.js +15 -0
- package/dist/models/recording-transcriptions.d.ts +5 -0
- package/dist/models/tfv-status.d.ts +9 -0
- package/dist/models/thumbnail-alignment-enum.d.ts +1 -1
- package/dist/models/thumbnail-alignment-enum.js +1 -1
- package/dist/models/transcription.d.ts +4 -0
- package/docs/InboundCallbackTypeEnum.md +2 -2
- package/docs/MultiChannelAction.md +5 -5
- package/docs/MultiChannelActionCalendarEvent.md +2 -2
- package/docs/MultiChannelChannelListRBMObjectAllOfContent.md +1 -1
- package/docs/RbmActionOpenUrl.md +1 -1
- package/docs/RbmActionViewLocation.md +2 -2
- package/docs/RbmCardContent.md +1 -0
- package/docs/RbmMessageContentRichCard.md +1 -1
- package/docs/RbmStandaloneCard.md +1 -1
- package/docs/RbmSuggestionResponse.md +2 -0
- package/docs/RbmWebViewEnum.md +1 -1
- package/docs/RecordingTranscriptionClip.md +28 -0
- package/docs/RecordingTranscriptions.md +2 -0
- package/docs/TfvStatus.md +4 -0
- package/docs/ThumbnailAlignmentEnum.md +1 -1
- package/docs/Transcription.md +2 -0
- package/jest.config.js +3 -0
- package/models/callback.ts +1 -1
- package/models/inbound-callback-type-enum.ts +2 -2
- package/models/index.ts +1 -0
- package/models/multi-channel-action-calendar-event.ts +2 -2
- package/models/multi-channel-action.ts +5 -5
- package/models/rbm-action-open-url.ts +1 -1
- package/models/rbm-action-view-location.ts +2 -2
- package/models/rbm-card-content.ts +3 -0
- package/models/rbm-standalone-card.ts +1 -1
- package/models/rbm-suggestion-response.ts +4 -0
- package/models/rbm-web-view-enum.ts +1 -1
- package/models/recording-transcription-clip.ts +39 -0
- package/models/recording-transcriptions.ts +7 -0
- package/models/tfv-status.ts +11 -0
- package/models/thumbnail-alignment-enum.ts +1 -1
- package/models/transcription.ts +4 -0
- package/package.json +1 -1
- package/tests/globals.d.ts +23 -0
- package/tests/tsconfig.json +9 -0
- package/tests/unit/api/calls-api.test.ts +11 -4
- package/tests/unit/api/conferences-api.test.ts +0 -1
- package/tests/unit/api/endpoints-api.test.ts +10 -6
- package/tests/unit/api/media-api.test.ts +1 -1
- package/tests/unit/api/messages-api.test.ts +13 -4
- package/tests/unit/api/mfaapi.test.ts +6 -2
- package/tests/unit/api/phone-number-lookup-api.test.ts +30 -31
- package/tests/unit/api/recordings-api.test.ts +10 -4
- package/tests/unit/api/statistics-api.test.ts +5 -2
- package/tests/unit/api/toll-free-verification-api.test.ts +25 -17
- package/tests/unit/api/transcriptions-api.test.ts +0 -1
- package/tests/unit/configuration.test.ts +84 -0
- package/tests/unit/models/account-statistics.test.ts +13 -0
- package/tests/unit/models/additional-denial-reason.test.ts +15 -0
- package/tests/unit/models/address.test.ts +23 -0
- package/tests/unit/models/answer-callback.test.ts +39 -0
- package/tests/unit/models/async-lookup-request.test.ts +11 -0
- package/tests/unit/models/blocked-webhook.test.ts +22 -0
- package/tests/unit/models/bridge-complete-callback.test.ts +42 -0
- package/tests/unit/models/bridge-target-complete-callback.test.ts +36 -0
- package/tests/unit/models/business-entity-type-enum.test.ts +7 -0
- package/tests/unit/models/business-registration-type-enum.test.ts +20 -0
- package/tests/unit/models/call-direction-enum.test.ts +4 -0
- package/tests/unit/models/call-recording-metadata.test.ts +50 -0
- package/tests/unit/models/call-state-enum.test.ts +4 -0
- package/tests/unit/models/call-state.test.ts +46 -0
- package/tests/unit/models/call-transcription-detected-language-enum.test.ts +5 -0
- package/tests/unit/models/call-transcription-metadata.test.ts +15 -0
- package/tests/unit/models/call-transcription-response.test.ts +17 -0
- package/tests/unit/models/call-transcription-track-enum.test.ts +4 -0
- package/tests/unit/models/call-transcription.test.ts +19 -0
- package/tests/unit/models/callback-method-enum.test.ts +4 -0
- package/tests/unit/models/card-width-enum.test.ts +4 -0
- package/tests/unit/models/code-request.test.ts +21 -0
- package/tests/unit/models/completed-lookup-status-enum.test.ts +5 -0
- package/tests/unit/models/conference-completed-callback.test.ts +19 -0
- package/tests/unit/models/conference-created-callback.test.ts +19 -0
- package/tests/unit/models/conference-member-exit-callback.test.ts +25 -0
- package/tests/unit/models/conference-member-join-callback.test.ts +25 -0
- package/tests/unit/models/conference-member.test.ts +21 -0
- package/tests/unit/models/conference-recording-available-callback.test.ts +38 -0
- package/tests/unit/models/conference-recording-metadata.test.ts +34 -0
- package/tests/unit/models/conference-redirect-callback.test.ts +19 -0
- package/tests/unit/models/conference-state-enum.test.ts +4 -0
- package/tests/unit/models/conference.test.ts +26 -0
- package/tests/unit/models/contact.test.ts +17 -0
- package/tests/unit/models/create-async-bulk-lookup-response-data.test.ts +14 -0
- package/tests/unit/models/create-async-bulk-lookup-response.test.ts +16 -0
- package/tests/unit/models/create-call-response.test.ts +52 -0
- package/tests/unit/models/create-call.test.ts +53 -0
- package/tests/unit/models/create-endpoint-response-data.test.ts +2 -4
- package/tests/unit/models/create-endpoint-response.test.ts +4 -4
- package/tests/unit/models/create-message-request-error.test.ts +15 -0
- package/tests/unit/models/create-multi-channel-message-response.test.ts +16 -0
- package/tests/unit/models/create-sync-lookup-response-data.test.ts +16 -0
- package/tests/unit/models/create-sync-lookup-response.test.ts +16 -0
- package/tests/unit/models/deactivation-event-enum.test.ts +3 -0
- package/tests/unit/models/device.test.ts +1 -2
- package/tests/unit/models/disconnect-callback.test.ts +44 -0
- package/tests/unit/models/diversion.test.ts +23 -0
- package/tests/unit/models/dtmf-callback.test.ts +44 -0
- package/tests/unit/models/endpoint-event.test.ts +5 -7
- package/tests/unit/models/endpoint-response.test.ts +2 -2
- package/tests/unit/models/endpoint.test.ts +2 -4
- package/tests/unit/models/endpoints.test.ts +4 -6
- package/tests/unit/models/error-object.test.ts +16 -0
- package/tests/unit/models/error-source.test.ts +17 -0
- package/tests/unit/models/failure-webhook.test.ts +21 -0
- package/tests/unit/models/field-error.test.ts +13 -0
- package/tests/unit/models/file-format-enum.test.ts +4 -0
- package/tests/unit/models/gather-callback.test.ts +46 -0
- package/tests/unit/models/get-async-bulk-lookup-response-data.test.ts +16 -0
- package/tests/unit/models/get-async-bulk-lookup-response.test.ts +16 -0
- package/tests/unit/models/in-progress-lookup-status-enum.test.ts +6 -0
- package/tests/unit/models/inbound-callback-message.test.ts +48 -0
- package/tests/unit/models/inbound-callback-type-enum.test.ts +6 -1
- package/tests/unit/models/inbound-callback.test.ts +23 -0
- package/tests/unit/models/initiate-callback.test.ts +38 -0
- package/tests/unit/models/latest-message-delivery-status-enum.test.ts +6 -0
- package/tests/unit/models/line-type-enum.test.ts +6 -0
- package/tests/unit/models/link-schema.test.ts +15 -0
- package/tests/unit/models/link.test.ts +13 -0
- package/tests/unit/models/links-object.test.ts +17 -0
- package/tests/unit/models/list-endpoints-response.test.ts +2 -4
- package/tests/unit/models/list-message-direction-enum.test.ts +4 -0
- package/tests/unit/models/list-message-item.test.ts +58 -0
- package/tests/unit/models/lookup-error-response.test.ts +13 -0
- package/tests/unit/models/lookup-error-schema-meta.test.ts +15 -0
- package/tests/unit/models/lookup-error-schema.test.ts +18 -0
- package/tests/unit/models/lookup-result.test.ts +36 -0
- package/tests/unit/models/machine-detection-complete-callback.test.ts +39 -0
- package/tests/unit/models/machine-detection-configuration.test.ts +41 -0
- package/tests/unit/models/machine-detection-mode-enum.test.ts +4 -0
- package/tests/unit/models/machine-detection-result.test.ts +13 -0
- package/tests/unit/models/media.test.ts +15 -0
- package/tests/unit/models/message-direction-enum.test.ts +4 -0
- package/tests/unit/models/message-request.test.ts +27 -0
- package/tests/unit/models/message-status-enum.test.ts +10 -0
- package/tests/unit/models/message-type-enum.test.ts +5 -0
- package/tests/unit/models/message.test.ts +39 -0
- package/tests/unit/models/messages-list.test.ts +16 -0
- package/tests/unit/models/messaging-code-response.test.ts +11 -0
- package/tests/unit/models/messaging-request-error.test.ts +13 -0
- package/tests/unit/models/mfa-forbidden-request-error.test.ts +11 -0
- package/tests/unit/models/mfa-request-error.test.ts +13 -0
- package/tests/unit/models/mfa-unauthorized-request-error.test.ts +11 -0
- package/tests/unit/models/mms-message-content-file.test.ts +11 -0
- package/tests/unit/models/mms-message-content.test.ts +13 -0
- package/tests/unit/models/multi-channel-action-calendar-event.test.ts +24 -0
- package/tests/unit/models/multi-channel-action.test.ts +40 -0
- package/tests/unit/models/multi-channel-channel-list-mmsobject.test.ts +19 -0
- package/tests/unit/models/multi-channel-channel-list-mmsresponse-object.test.ts +21 -0
- package/tests/unit/models/multi-channel-channel-list-object-base.test.ts +16 -0
- package/tests/unit/models/multi-channel-channel-list-owner-object.test.ts +11 -0
- package/tests/unit/models/multi-channel-channel-list-rbmobject.test.ts +19 -0
- package/tests/unit/models/multi-channel-channel-list-rbmresponse-object.test.ts +21 -0
- package/tests/unit/models/multi-channel-channel-list-request-object.test.ts +19 -0
- package/tests/unit/models/multi-channel-channel-list-response-object.test.ts +21 -0
- package/tests/unit/models/multi-channel-channel-list-smsobject.test.ts +19 -0
- package/tests/unit/models/multi-channel-channel-list-smsresponse-object.test.ts +21 -0
- package/tests/unit/models/multi-channel-error.test.ts +13 -0
- package/tests/unit/models/multi-channel-message-channel-enum.test.ts +5 -0
- package/tests/unit/models/multi-channel-message-content.test.ts +14 -0
- package/tests/unit/models/multi-channel-message-request.test.ts +20 -0
- package/tests/unit/models/multi-channel-message-response-data.test.ts +28 -0
- package/tests/unit/models/opt-in-workflow.test.ts +15 -0
- package/tests/unit/models/page-info.test.ts +17 -0
- package/tests/unit/models/priority-enum.test.ts +4 -0
- package/tests/unit/models/product-type-enum.test.ts +11 -0
- package/tests/unit/models/rbm-action-base.test.ts +16 -0
- package/tests/unit/models/rbm-action-dial.test.ts +18 -0
- package/tests/unit/models/rbm-action-open-url.test.ts +24 -0
- package/tests/unit/models/rbm-action-type-enum.test.ts +8 -0
- package/tests/unit/models/rbm-action-view-location.test.ts +22 -0
- package/tests/unit/models/rbm-card-content-media.test.ts +16 -0
- package/tests/unit/models/rbm-card-content.test.ts +18 -0
- package/tests/unit/models/rbm-location-response.test.ts +13 -0
- package/tests/unit/models/rbm-media-height-enum.test.ts +5 -0
- package/tests/unit/models/rbm-message-carousel-card.test.ts +16 -0
- package/tests/unit/models/rbm-message-content-file.test.ts +13 -0
- package/tests/unit/models/rbm-message-content-text.test.ts +13 -0
- package/tests/unit/models/rbm-message-media.test.ts +13 -0
- package/tests/unit/models/rbm-open-url-enum.test.ts +4 -0
- package/tests/unit/models/rbm-standalone-card.test.ts +20 -0
- package/tests/unit/models/rbm-suggestion-response.test.ts +15 -0
- package/tests/unit/models/{rbm-veb-view-enum.test.ts → rbm-web-view-enum.test.ts} +5 -0
- package/tests/unit/models/recording-available-callback.test.ts +55 -0
- package/tests/unit/models/recording-complete-callback.test.ts +55 -0
- package/tests/unit/models/recording-state-enum.test.ts +4 -0
- package/tests/unit/models/recording-transcription-clip.test.ts +19 -0
- package/tests/unit/models/recording-transcription-metadata.test.ts +17 -0
- package/tests/unit/models/recording-transcriptions.test.ts +13 -0
- package/tests/unit/models/redirect-callback.test.ts +42 -0
- package/tests/unit/models/redirect-method-enum.test.ts +4 -0
- package/tests/unit/models/sms-message-content.test.ts +11 -0
- package/tests/unit/models/standalone-card-orientation-enum.test.ts +4 -0
- package/tests/unit/models/status-callback-message.test.ts +39 -0
- package/tests/unit/models/status-callback-type-enum.test.ts +6 -0
- package/tests/unit/models/status-callback.test.ts +27 -0
- package/tests/unit/models/stir-shaken.test.ts +15 -0
- package/tests/unit/models/sync-lookup-request.test.ts +13 -0
- package/tests/unit/models/telephone-number.test.ts +11 -0
- package/tests/unit/models/tfv-basic-authentication.test.ts +13 -0
- package/tests/unit/models/tfv-callback-status-enum.test.ts +4 -0
- package/tests/unit/models/tfv-error.test.ts +13 -0
- package/tests/unit/models/tfv-status-enum.test.ts +5 -0
- package/tests/unit/models/tfv-status.test.ts +41 -0
- package/tests/unit/models/tfv-submission-info.test.ts +46 -0
- package/tests/unit/models/tfv-submission-wrapper.test.ts +12 -0
- package/tests/unit/models/thumbnail-alignment-enum.test.ts +4 -0
- package/tests/unit/models/transcribe-recording.test.ts +24 -0
- package/tests/unit/models/transcription-available-callback.test.ts +54 -0
- package/tests/unit/models/transcription.test.ts +15 -0
- package/tests/unit/models/transfer-answer-callback.test.ts +40 -0
- package/tests/unit/models/transfer-complete-callback.test.ts +46 -0
- package/tests/unit/models/transfer-disconnect-callback.test.ts +50 -0
- package/tests/unit/models/update-call-recording.test.ts +12 -0
- package/tests/unit/models/update-call.test.ts +31 -0
- package/tests/unit/models/update-conference-member.test.ts +15 -0
- package/tests/unit/models/update-conference.test.ts +29 -0
- package/tests/unit/models/verification-denial-webhook.test.ts +29 -0
- package/tests/unit/models/verification-request.test.ts +54 -0
- package/tests/unit/models/verification-update-request.test.ts +52 -0
- package/tests/unit/models/verification-webhook.test.ts +18 -0
- package/tests/unit/models/verify-code-request.test.ts +17 -0
- package/tests/unit/models/verify-code-response.test.ts +11 -0
- package/tests/unit/models/voice-api-error.test.ts +15 -0
- package/tests/unit/models/voice-code-response.test.ts +11 -0
- package/tests/unit/models/webhook-subscription-basic-authentication.test.ts +13 -0
- package/tests/unit/models/webhook-subscription-error.test.ts +15 -0
- package/tests/unit/models/webhook-subscription-request-schema.test.ts +16 -0
- package/tests/unit/models/webhook-subscription-type-enum.test.ts +4 -0
- package/tests/unit/models/webhook-subscription.test.ts +25 -0
- package/tests/unit/models/webhook-subscriptions-list-body.test.ts +16 -0
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">91.
|
|
26
|
+
<span class="strong">91.29% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>2370/2596</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">72.
|
|
33
|
+
<span class="strong">72.73% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>1163/1599</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">92.
|
|
47
|
+
<span class="strong">92.37% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>1987/2151</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -80,17 +80,17 @@
|
|
|
80
80
|
</thead>
|
|
81
81
|
<tbody><tr>
|
|
82
82
|
<td class="file high" data-value="node-sdk"><a href="node-sdk/index.html">node-sdk</a></td>
|
|
83
|
-
<td data-value="
|
|
84
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
83
|
+
<td data-value="85.29" class="pic high">
|
|
84
|
+
<div class="chart"><div class="cover-fill" style="width: 85%"></div><div class="cover-empty" style="width: 15%"></div></div>
|
|
85
85
|
</td>
|
|
86
|
-
<td data-value="
|
|
87
|
-
<td data-value="136" class="abs high">
|
|
88
|
-
<td data-value="
|
|
89
|
-
<td data-value="91" class="abs medium">
|
|
86
|
+
<td data-value="85.29" class="pct high">85.29%</td>
|
|
87
|
+
<td data-value="136" class="abs high">116/136</td>
|
|
88
|
+
<td data-value="63.73" class="pct medium">63.73%</td>
|
|
89
|
+
<td data-value="91" class="abs medium">58/91</td>
|
|
90
90
|
<td data-value="86.95" class="pct high">86.95%</td>
|
|
91
91
|
<td data-value="23" class="abs high">20/23</td>
|
|
92
|
-
<td data-value="
|
|
93
|
-
<td data-value="109" class="abs
|
|
92
|
+
<td data-value="84.4" class="pct high">84.4%</td>
|
|
93
|
+
<td data-value="109" class="abs high">92/109</td>
|
|
94
94
|
</tr>
|
|
95
95
|
|
|
96
96
|
<tr>
|
|
@@ -114,13 +114,13 @@
|
|
|
114
114
|
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
115
115
|
</td>
|
|
116
116
|
<td data-value="100" class="pct high">100%</td>
|
|
117
|
-
<td data-value="
|
|
117
|
+
<td data-value="241" class="abs high">241/241</td>
|
|
118
118
|
<td data-value="100" class="pct high">100%</td>
|
|
119
119
|
<td data-value="0" class="abs high">0/0</td>
|
|
120
120
|
<td data-value="100" class="pct high">100%</td>
|
|
121
121
|
<td data-value="0" class="abs high">0/0</td>
|
|
122
122
|
<td data-value="100" class="pct high">100%</td>
|
|
123
|
-
<td data-value="
|
|
123
|
+
<td data-value="241" class="abs high">241/241</td>
|
|
124
124
|
</tr>
|
|
125
125
|
|
|
126
126
|
<tr>
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
162
162
|
Code coverage generated by
|
|
163
163
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
164
|
-
at 2026-
|
|
164
|
+
at 2026-06-23T19:47:23.453Z
|
|
165
165
|
</div>
|
|
166
166
|
<script src="prettify.js"></script>
|
|
167
167
|
<script>
|
|
@@ -1714,7 +1714,7 @@ export class CallsApi extends BaseAPI {
|
|
|
1714
1714
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1715
1715
|
Code coverage generated by
|
|
1716
1716
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1717
|
-
at 2026-
|
|
1717
|
+
at 2026-06-23T19:47:23.453Z
|
|
1718
1718
|
</div>
|
|
1719
1719
|
<script src="../../prettify.js"></script>
|
|
1720
1720
|
<script>
|
|
@@ -2773,7 +2773,7 @@ export class ConferencesApi extends BaseAPI {
|
|
|
2773
2773
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
2774
2774
|
Code coverage generated by
|
|
2775
2775
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
2776
|
-
at 2026-
|
|
2776
|
+
at 2026-06-23T19:47:23.453Z
|
|
2777
2777
|
</div>
|
|
2778
2778
|
<script src="../../prettify.js"></script>
|
|
2779
2779
|
<script>
|
|
@@ -1627,7 +1627,7 @@ export class EndpointsApi extends BaseAPI {
|
|
|
1627
1627
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1628
1628
|
Code coverage generated by
|
|
1629
1629
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1630
|
-
at 2026-
|
|
1630
|
+
at 2026-06-23T19:47:23.453Z
|
|
1631
1631
|
</div>
|
|
1632
1632
|
<script src="../../prettify.js"></script>
|
|
1633
1633
|
<script>
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
267
267
|
Code coverage generated by
|
|
268
268
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
269
|
-
at 2026-
|
|
269
|
+
at 2026-06-23T19:47:23.453Z
|
|
270
270
|
</div>
|
|
271
271
|
<script src="../../prettify.js"></script>
|
|
272
272
|
<script>
|
|
@@ -1309,7 +1309,7 @@ export class MediaApi extends BaseAPI {
|
|
|
1309
1309
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1310
1310
|
Code coverage generated by
|
|
1311
1311
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1312
|
-
at 2026-
|
|
1312
|
+
at 2026-06-23T19:47:23.453Z
|
|
1313
1313
|
</div>
|
|
1314
1314
|
<script src="../../prettify.js"></script>
|
|
1315
1315
|
<script>
|
|
@@ -1417,7 +1417,7 @@ export class MessagesApi extends BaseAPI {
|
|
|
1417
1417
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1418
1418
|
Code coverage generated by
|
|
1419
1419
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1420
|
-
at 2026-
|
|
1420
|
+
at 2026-06-23T19:47:23.453Z
|
|
1421
1421
|
</div>
|
|
1422
1422
|
<script src="../../prettify.js"></script>
|
|
1423
1423
|
<script>
|
|
@@ -1045,7 +1045,7 @@ export class MFAApi extends BaseAPI {
|
|
|
1045
1045
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1046
1046
|
Code coverage generated by
|
|
1047
1047
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1048
|
-
at 2026-
|
|
1048
|
+
at 2026-06-23T19:47:23.453Z
|
|
1049
1049
|
</div>
|
|
1050
1050
|
<script src="../../prettify.js"></script>
|
|
1051
1051
|
<script>
|
|
@@ -505,7 +505,7 @@ export class MultiChannelApi extends BaseAPI {
|
|
|
505
505
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
506
506
|
Code coverage generated by
|
|
507
507
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
508
|
-
at 2026-
|
|
508
|
+
at 2026-06-23T19:47:23.453Z
|
|
509
509
|
</div>
|
|
510
510
|
<script src="../../prettify.js"></script>
|
|
511
511
|
<script>
|
|
@@ -1027,7 +1027,7 @@ export class PhoneNumberLookupApi extends BaseAPI {
|
|
|
1027
1027
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1028
1028
|
Code coverage generated by
|
|
1029
1029
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1030
|
-
at 2026-
|
|
1030
|
+
at 2026-06-23T19:47:23.453Z
|
|
1031
1031
|
</div>
|
|
1032
1032
|
<script src="../../prettify.js"></script>
|
|
1033
1033
|
<script>
|
|
@@ -3028,7 +3028,7 @@ export class RecordingsApi extends BaseAPI {
|
|
|
3028
3028
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
3029
3029
|
Code coverage generated by
|
|
3030
3030
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
3031
|
-
at 2026-
|
|
3031
|
+
at 2026-06-23T19:47:23.453Z
|
|
3032
3032
|
</div>
|
|
3033
3033
|
<script src="../../prettify.js"></script>
|
|
3034
3034
|
<script>
|
|
@@ -472,7 +472,7 @@ export class StatisticsApi extends BaseAPI {
|
|
|
472
472
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
473
473
|
Code coverage generated by
|
|
474
474
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
475
|
-
at 2026-
|
|
475
|
+
at 2026-06-23T19:47:23.453Z
|
|
476
476
|
</div>
|
|
477
477
|
<script src="../../prettify.js"></script>
|
|
478
478
|
<script>
|
|
@@ -2518,7 +2518,7 @@ export class TollFreeVerificationApi extends BaseAPI {
|
|
|
2518
2518
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
2519
2519
|
Code coverage generated by
|
|
2520
2520
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
2521
|
-
at 2026-
|
|
2521
|
+
at 2026-06-23T19:47:23.453Z
|
|
2522
2522
|
</div>
|
|
2523
2523
|
<script src="../../prettify.js"></script>
|
|
2524
2524
|
<script>
|
|
@@ -1039,7 +1039,7 @@ export class TranscriptionsApi extends BaseAPI {
|
|
|
1039
1039
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1040
1040
|
Code coverage generated by
|
|
1041
1041
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1042
|
-
at 2026-
|
|
1042
|
+
at 2026-06-23T19:47:23.453Z
|
|
1043
1043
|
</div>
|
|
1044
1044
|
<script src="../../prettify.js"></script>
|
|
1045
1045
|
<script>
|
|
@@ -157,7 +157,7 @@ export * from './api/transcriptions-api';
|
|
|
157
157
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
158
158
|
Code coverage generated by
|
|
159
159
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
160
|
-
at 2026-
|
|
160
|
+
at 2026-06-23T19:47:23.453Z
|
|
161
161
|
</div>
|
|
162
162
|
<script src="../prettify.js"></script>
|
|
163
163
|
<script>
|
|
@@ -1246,7 +1246,7 @@ export const operationServerMap: ServerMap = {
|
|
|
1246
1246
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1247
1247
|
Code coverage generated by
|
|
1248
1248
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1249
|
-
at 2026-
|
|
1249
|
+
at 2026-06-23T19:47:23.453Z
|
|
1250
1250
|
</div>
|
|
1251
1251
|
<script src="../prettify.js"></script>
|
|
1252
1252
|
<script>
|
|
@@ -415,7 +415,7 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
|
|
|
415
415
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
416
416
|
Code coverage generated by
|
|
417
417
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
418
|
-
at 2026-
|
|
418
|
+
at 2026-06-23T19:47:23.453Z
|
|
419
419
|
</div>
|
|
420
420
|
<script src="../prettify.js"></script>
|
|
421
421
|
<script>
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">100% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>34/34</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">79.16% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>19/24</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">100% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>30/30</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
</div>
|
|
62
62
|
</template>
|
|
63
63
|
</div>
|
|
64
|
-
<div class='status-line
|
|
64
|
+
<div class='status-line high'></div>
|
|
65
65
|
<pre><table class="coverage">
|
|
66
66
|
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
|
67
67
|
<a name='L2'></a><a href='#L2'>2</a>
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
<span class="cline-any cline-neutral"> </span>
|
|
241
241
|
<span class="cline-any cline-neutral"> </span>
|
|
242
242
|
<span class="cline-any cline-neutral"> </span>
|
|
243
|
-
<span class="cline-any cline-yes">
|
|
243
|
+
<span class="cline-any cline-yes">13x</span>
|
|
244
244
|
<span class="cline-any cline-neutral"> </span>
|
|
245
245
|
<span class="cline-any cline-neutral"> </span>
|
|
246
246
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
<span class="cline-any cline-neutral"> </span>
|
|
269
269
|
<span class="cline-any cline-neutral"> </span>
|
|
270
270
|
<span class="cline-any cline-neutral"> </span>
|
|
271
|
-
<span class="cline-any cline-yes">
|
|
271
|
+
<span class="cline-any cline-yes">13x</span>
|
|
272
272
|
<span class="cline-any cline-neutral"> </span>
|
|
273
273
|
<span class="cline-any cline-neutral"> </span>
|
|
274
274
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -336,44 +336,44 @@
|
|
|
336
336
|
<span class="cline-any cline-neutral"> </span>
|
|
337
337
|
<span class="cline-any cline-neutral"> </span>
|
|
338
338
|
<span class="cline-any cline-neutral"> </span>
|
|
339
|
-
<span class="cline-any cline-yes">
|
|
340
|
-
<span class="cline-any cline-yes">
|
|
341
|
-
<span class="cline-any cline-yes">
|
|
342
|
-
<span class="cline-any cline-yes">
|
|
343
|
-
<span class="cline-any cline-yes">
|
|
344
|
-
<span class="cline-any cline-yes">
|
|
345
|
-
<span class="cline-any cline-yes">
|
|
346
|
-
<span class="cline-any cline-yes">
|
|
347
|
-
<span class="cline-any cline-yes">
|
|
348
|
-
<span class="cline-any cline-yes">
|
|
349
|
-
<span class="cline-any cline-yes">
|
|
350
|
-
<span class="cline-any cline-
|
|
351
|
-
<span class="cline-any cline-yes">
|
|
352
|
-
<span class="cline-any cline-
|
|
339
|
+
<span class="cline-any cline-yes">20x</span>
|
|
340
|
+
<span class="cline-any cline-yes">20x</span>
|
|
341
|
+
<span class="cline-any cline-yes">20x</span>
|
|
342
|
+
<span class="cline-any cline-yes">20x</span>
|
|
343
|
+
<span class="cline-any cline-yes">20x</span>
|
|
344
|
+
<span class="cline-any cline-yes">20x</span>
|
|
345
|
+
<span class="cline-any cline-yes">20x</span>
|
|
346
|
+
<span class="cline-any cline-yes">20x</span>
|
|
347
|
+
<span class="cline-any cline-yes">66x</span>
|
|
348
|
+
<span class="cline-any cline-yes">66x</span>
|
|
349
|
+
<span class="cline-any cline-yes">131x</span>
|
|
350
|
+
<span class="cline-any cline-yes">1x</span>
|
|
351
|
+
<span class="cline-any cline-yes">126x</span>
|
|
352
|
+
<span class="cline-any cline-yes">4x</span>
|
|
353
353
|
<span class="cline-any cline-neutral"> </span>
|
|
354
354
|
<span class="cline-any cline-neutral"> </span>
|
|
355
355
|
<span class="cline-any cline-neutral"> </span>
|
|
356
356
|
<span class="cline-any cline-neutral"> </span>
|
|
357
357
|
<span class="cline-any cline-neutral"> </span>
|
|
358
358
|
<span class="cline-any cline-neutral"> </span>
|
|
359
|
-
<span class="cline-any cline-
|
|
360
|
-
<span class="cline-any cline-
|
|
361
|
-
<span class="cline-any cline-
|
|
362
|
-
<span class="cline-any cline-
|
|
359
|
+
<span class="cline-any cline-yes">4x</span>
|
|
360
|
+
<span class="cline-any cline-yes">4x</span>
|
|
361
|
+
<span class="cline-any cline-yes">4x</span>
|
|
362
|
+
<span class="cline-any cline-yes">4x</span>
|
|
363
363
|
<span class="cline-any cline-neutral"> </span>
|
|
364
|
-
<span class="cline-any cline-yes">
|
|
364
|
+
<span class="cline-any cline-yes">61x</span>
|
|
365
365
|
<span class="cline-any cline-neutral"> </span>
|
|
366
|
-
<span class="cline-any cline-yes">
|
|
367
|
-
<span class="cline-any cline-yes">
|
|
368
|
-
<span class="cline-any cline-yes">
|
|
369
|
-
<span class="cline-any cline-yes">
|
|
366
|
+
<span class="cline-any cline-yes">20x</span>
|
|
367
|
+
<span class="cline-any cline-yes">20x</span>
|
|
368
|
+
<span class="cline-any cline-yes">20x</span>
|
|
369
|
+
<span class="cline-any cline-yes">20x</span>
|
|
370
370
|
<span class="cline-any cline-neutral"> </span>
|
|
371
371
|
<span class="cline-any cline-neutral"> </span>
|
|
372
372
|
<span class="cline-any cline-neutral"> </span>
|
|
373
373
|
<span class="cline-any cline-neutral"> </span>
|
|
374
374
|
<span class="cline-any cline-neutral"> </span>
|
|
375
375
|
<span class="cline-any cline-neutral"> </span>
|
|
376
|
-
<span class="cline-any cline-yes">
|
|
376
|
+
<span class="cline-any cline-yes">20x</span>
|
|
377
377
|
<span class="cline-any cline-neutral"> </span>
|
|
378
378
|
<span class="cline-any cline-neutral"> </span>
|
|
379
379
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -386,11 +386,11 @@
|
|
|
386
386
|
<span class="cline-any cline-neutral"> </span>
|
|
387
387
|
<span class="cline-any cline-neutral"> </span>
|
|
388
388
|
<span class="cline-any cline-neutral"> </span>
|
|
389
|
-
<span class="cline-any cline-yes">
|
|
389
|
+
<span class="cline-any cline-yes">13x</span>
|
|
390
390
|
<span class="cline-any cline-yes">21x</span>
|
|
391
391
|
<span class="cline-any cline-yes">21x</span>
|
|
392
392
|
<span class="cline-any cline-neutral"> </span>
|
|
393
|
-
<span class="cline-any cline-yes">
|
|
393
|
+
<span class="cline-any cline-yes">13x</span>
|
|
394
394
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">/* tslint:disable */
|
|
395
395
|
/**
|
|
396
396
|
* Bandwidth
|
|
@@ -508,22 +508,22 @@ export class Configuration {
|
|
|
508
508
|
this.clientSecret = param.clientSecret;
|
|
509
509
|
this.tempAccessToken;
|
|
510
510
|
this.tempAccessTokenExpiration;
|
|
511
|
-
this.accessToken = param.accessToken
|
|
511
|
+
this.accessToken = param.accessToken ?? (async (name, scopes) => {
|
|
512
512
|
const now = Math.floor(Date.now() / 1000);
|
|
513
|
-
if (this.tempAccessToken && (
|
|
514
|
-
|
|
515
|
-
} else if (this.clientId &&
|
|
516
|
-
const
|
|
513
|
+
if (this.tempAccessToken && (!this.tempAccessTokenExpiration || this.tempAccessTokenExpiration > now + 60)) {
|
|
514
|
+
return this.tempAccessToken;
|
|
515
|
+
} else if (this.clientId && this.clientSecret) {
|
|
516
|
+
const tokenRequestArgs = {
|
|
517
517
|
method: 'POST',
|
|
518
518
|
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
|
|
519
|
-
auth: { username: this.clientId || ''
|
|
519
|
+
auth: { username: this.clientId || <span class="branch-1 cbranch-no" title="branch not covered" >'',</span> password: this.clientSecret || <span class="branch-1 cbranch-no" title="branch not covered" >'' </span>},
|
|
520
520
|
data: 'grant_type=client_credentials',
|
|
521
521
|
url: 'https://api.bandwidth.com/api/v1/oauth2/token'
|
|
522
522
|
};
|
|
523
|
-
const
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
523
|
+
const response = await globalAxios.request(tokenRequestArgs);
|
|
524
|
+
this.tempAccessToken = response.data.access_token;
|
|
525
|
+
this.tempAccessTokenExpiration = now + response.data.expires_in;
|
|
526
|
+
return this.tempAccessToken!;
|
|
527
527
|
}
|
|
528
528
|
return undefined;
|
|
529
529
|
});
|
|
@@ -534,7 +534,7 @@ export class Configuration {
|
|
|
534
534
|
...param.baseOptions,
|
|
535
535
|
headers: {
|
|
536
536
|
...param.baseOptions<span class="branch-1 cbranch-no" title="branch not covered" >?.headers,</span>
|
|
537
|
-
'User-Agent': "OpenAPI-Generator/8.1.
|
|
537
|
+
'User-Agent': "OpenAPI-Generator/8.1.3/typescript-axios"
|
|
538
538
|
},
|
|
539
539
|
};
|
|
540
540
|
this.formDataCtor = param.formDataCtor;
|
|
@@ -562,7 +562,7 @@ export class Configuration {
|
|
|
562
562
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
563
563
|
Code coverage generated by
|
|
564
564
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
565
|
-
at 2026-
|
|
565
|
+
at 2026-06-23T19:47:23.453Z
|
|
566
566
|
</div>
|
|
567
567
|
<script src="../prettify.js"></script>
|
|
568
568
|
<script>
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">85.29% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>116/136</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">63.73% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>
|
|
35
|
+
<span class='fraction'>58/91</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">84.4% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>92/109</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -124,18 +124,18 @@
|
|
|
124
124
|
</tr>
|
|
125
125
|
|
|
126
126
|
<tr>
|
|
127
|
-
<td class="file
|
|
128
|
-
<td data-value="
|
|
129
|
-
<div class="chart"><div class="cover-fill" style="width:
|
|
127
|
+
<td class="file high" data-value="configuration.ts"><a href="configuration.ts.html">configuration.ts</a></td>
|
|
128
|
+
<td data-value="100" class="pic high">
|
|
129
|
+
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
|
|
130
130
|
</td>
|
|
131
|
-
<td data-value="
|
|
132
|
-
<td data-value="34" class="abs
|
|
133
|
-
<td data-value="
|
|
134
|
-
<td data-value="24" class="abs medium">
|
|
131
|
+
<td data-value="100" class="pct high">100%</td>
|
|
132
|
+
<td data-value="34" class="abs high">34/34</td>
|
|
133
|
+
<td data-value="79.16" class="pct medium">79.16%</td>
|
|
134
|
+
<td data-value="24" class="abs medium">19/24</td>
|
|
135
135
|
<td data-value="100" class="pct high">100%</td>
|
|
136
136
|
<td data-value="5" class="abs high">5/5</td>
|
|
137
|
-
<td data-value="
|
|
138
|
-
<td data-value="30" class="abs high">
|
|
137
|
+
<td data-value="100" class="pct high">100%</td>
|
|
138
|
+
<td data-value="30" class="abs high">30/30</td>
|
|
139
139
|
</tr>
|
|
140
140
|
|
|
141
141
|
</tbody>
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
147
147
|
Code coverage generated by
|
|
148
148
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
149
|
-
at 2026-
|
|
149
|
+
at 2026-06-23T19:47:23.453Z
|
|
150
150
|
</div>
|
|
151
151
|
<script src="../prettify.js"></script>
|
|
152
152
|
<script>
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
<span class="cline-any cline-neutral"> </span>
|
|
116
116
|
<span class="cline-any cline-neutral"> </span>
|
|
117
117
|
<span class="cline-any cline-neutral"> </span>
|
|
118
|
-
<span class="cline-any cline-yes">
|
|
118
|
+
<span class="cline-any cline-yes">13x</span>
|
|
119
119
|
<span class="cline-any cline-neutral"> </span>
|
|
120
120
|
<span class="cline-any cline-neutral"> </span>
|
|
121
121
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -166,7 +166,7 @@ export type BusinessEntityTypeEnum = typeof BusinessEntityTypeEnum[keyof typeof
|
|
|
166
166
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
167
167
|
Code coverage generated by
|
|
168
168
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
169
|
-
at 2026-
|
|
169
|
+
at 2026-06-23T19:47:23.453Z
|
|
170
170
|
</div>
|
|
171
171
|
<script src="../../prettify.js"></script>
|
|
172
172
|
<script>
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
<span class="cline-any cline-neutral"> </span>
|
|
129
129
|
<span class="cline-any cline-neutral"> </span>
|
|
130
130
|
<span class="cline-any cline-neutral"> </span>
|
|
131
|
-
<span class="cline-any cline-yes">
|
|
131
|
+
<span class="cline-any cline-yes">13x</span>
|
|
132
132
|
<span class="cline-any cline-neutral"> </span>
|
|
133
133
|
<span class="cline-any cline-neutral"> </span>
|
|
134
134
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -205,7 +205,7 @@ export type BusinessRegistrationTypeEnum = typeof BusinessRegistrationTypeEnum[k
|
|
|
205
205
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
206
206
|
Code coverage generated by
|
|
207
207
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
208
|
-
at 2026-
|
|
208
|
+
at 2026-06-23T19:47:23.453Z
|
|
209
209
|
</div>
|
|
210
210
|
<script src="../../prettify.js"></script>
|
|
211
211
|
<script>
|
|
@@ -133,7 +133,7 @@ export class Bxml extends Root {
|
|
|
133
133
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
134
134
|
Code coverage generated by
|
|
135
135
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
136
|
-
at 2026-
|
|
136
|
+
at 2026-06-23T19:47:23.453Z
|
|
137
137
|
</div>
|
|
138
138
|
<script src="../../../prettify.js"></script>
|
|
139
139
|
<script>
|
|
@@ -205,7 +205,7 @@ export class NestableVerb extends Verb {
|
|
|
205
205
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
206
206
|
Code coverage generated by
|
|
207
207
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
208
|
-
at 2026-
|
|
208
|
+
at 2026-06-23T19:47:23.453Z
|
|
209
209
|
</div>
|
|
210
210
|
<script src="../../../prettify.js"></script>
|
|
211
211
|
<script>
|
|
@@ -133,7 +133,7 @@ export class Response extends Root {
|
|
|
133
133
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
134
134
|
Code coverage generated by
|
|
135
135
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
136
|
-
at 2026-
|
|
136
|
+
at 2026-06-23T19:47:23.453Z
|
|
137
137
|
</div>
|
|
138
138
|
<script src="../../../prettify.js"></script>
|
|
139
139
|
<script>
|
|
@@ -247,7 +247,7 @@ export class Root {
|
|
|
247
247
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
248
248
|
Code coverage generated by
|
|
249
249
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
250
|
-
at 2026-
|
|
250
|
+
at 2026-06-23T19:47:23.453Z
|
|
251
251
|
</div>
|
|
252
252
|
<script src="../../../prettify.js"></script>
|
|
253
253
|
<script>
|
|
@@ -196,7 +196,7 @@ export class Verb {
|
|
|
196
196
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
197
197
|
Code coverage generated by
|
|
198
198
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
199
|
-
at 2026-
|
|
199
|
+
at 2026-06-23T19:47:23.453Z
|
|
200
200
|
</div>
|
|
201
201
|
<script src="../../../prettify.js"></script>
|
|
202
202
|
<script>
|