bandwidth-sdk 8.1.4 → 8.2.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/.bandwidth/component.yaml +1 -0
- package/.github/workflows/deploy.yml +16 -12
- package/.github/workflows/test-pr.yml +3 -3
- package/.github/workflows/test-smoke.yml +13 -13
- package/.openapi-generator/FILES +4 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +2 -0
- package/api/calls-api.ts +14 -17
- package/api/conferences-api.ts +31 -34
- package/api/endpoints-api.ts +14 -16
- package/api/media-api.ts +28 -29
- package/api/messages-api.ts +13 -14
- package/api/mfaapi.ts +7 -10
- package/api/multi-channel-api.ts +7 -8
- package/api/phone-number-lookup-api.ts +8 -10
- package/api/recordings-api.ts +37 -39
- package/api/statistics-api.ts +3 -3
- package/api/toll-free-verification-api.ts +23 -27
- package/api/transcriptions-api.ts +12 -12
- package/bandwidth.yml +190 -51
- package/common.ts +18 -4
- package/configuration.ts +8 -2
- package/coverage/clover.xml +1033 -958
- package/coverage/coverage-final.json +22 -20
- package/coverage/lcov-report/index.html +29 -29
- package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +25 -34
- package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +46 -55
- package/coverage/lcov-report/node-sdk/api/endpoints-api.ts.html +25 -31
- package/coverage/lcov-report/node-sdk/api/index.html +69 -69
- package/coverage/lcov-report/node-sdk/api/media-api.ts.html +38 -41
- package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +21 -24
- package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +16 -25
- package/coverage/lcov-report/node-sdk/api/multi-channel-api.ts.html +14 -17
- package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +17 -23
- package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +53 -59
- package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +9 -9
- package/coverage/lcov-report/node-sdk/api/toll-free-verification-api.ts.html +38 -50
- package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +20 -20
- 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 +66 -24
- package/coverage/lcov-report/node-sdk/configuration.ts.html +31 -13
- package/coverage/lcov-report/node-sdk/index.html +19 -19
- 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 +14 -14
- 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 +13 -13
- 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/Refer.ts.html +190 -0
- 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 +5 -5
- 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 +23 -8
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.ts.html +7 -4
- package/coverage/lcov-report/node-sdk/models/call-direction-enum.ts.html +3 -3
- 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 +2 -2
- package/coverage/lcov-report/node-sdk/models/endpoint-direction-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/endpoint-event-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/endpoint-status-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/endpoint-type-enum.ts.html +2 -2
- 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 +2 -2
- package/coverage/lcov-report/node-sdk/models/index.html +20 -5
- package/coverage/lcov-report/node-sdk/models/index.ts.html +10 -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 +2 -2
- 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 +2 -2
- 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/refer-call-status-enum.ts.html +172 -0
- 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 +2 -2
- package/coverage/lcov-report/node-sdk/models/webhook-subscription-type-enum.ts.html +2 -2
- package/coverage/lcov.info +2570 -2469
- package/custom_templates/common.mustache +18 -4
- package/custom_templates/configuration.mustache +7 -1
- package/custom_templates/package.mustache +1 -1
- package/dist/api/calls-api.d.ts +5 -5
- package/dist/api/calls-api.js +13 -8
- package/dist/api/conferences-api.d.ts +9 -9
- package/dist/api/conferences-api.js +30 -21
- package/dist/api/endpoints-api.d.ts +5 -5
- package/dist/api/endpoints-api.js +13 -8
- package/dist/api/media-api.d.ts +20 -20
- package/dist/api/media-api.js +27 -23
- package/dist/api/messages-api.d.ts +10 -10
- package/dist/api/messages-api.js +12 -10
- package/dist/api/mfaapi.d.ts +3 -3
- package/dist/api/mfaapi.js +6 -3
- package/dist/api/multi-channel-api.d.ts +5 -5
- package/dist/api/multi-channel-api.js +6 -5
- package/dist/api/phone-number-lookup-api.d.ts +3 -3
- package/dist/api/phone-number-lookup-api.js +7 -4
- package/dist/api/recordings-api.d.ts +10 -10
- package/dist/api/recordings-api.js +36 -26
- package/dist/api/statistics-api.d.ts +1 -1
- package/dist/api/statistics-api.js +2 -1
- package/dist/api/toll-free-verification-api.d.ts +9 -9
- package/dist/api/toll-free-verification-api.js +22 -13
- package/dist/api/transcriptions-api.d.ts +3 -3
- package/dist/api/transcriptions-api.js +11 -8
- package/dist/common.d.ts +6 -0
- package/dist/common.js +18 -3
- package/dist/configuration.d.ts +5 -0
- package/dist/configuration.js +5 -4
- package/dist/models/answer-callback.d.ts +5 -1
- package/dist/models/bridge-complete-callback.d.ts +1 -1
- package/dist/models/bridge-target-complete-callback.d.ts +1 -1
- package/dist/models/business-entity-type-enum.js +1 -1
- package/dist/models/business-registration-type-enum.js +1 -1
- package/dist/models/bxml/verbs/Refer.d.ts +27 -0
- package/dist/models/bxml/verbs/Refer.js +45 -0
- package/dist/models/bxml/verbs/index.d.ts +1 -0
- package/dist/models/bxml/verbs/index.js +1 -0
- package/dist/models/call-direction-enum.js +1 -1
- package/dist/models/call-state-enum.js +1 -1
- package/dist/models/call-transcription-detected-language-enum.js +1 -1
- package/dist/models/call-transcription-track-enum.js +1 -1
- package/dist/models/callback-method-enum.js +1 -1
- package/dist/models/card-width-enum.js +1 -1
- package/dist/models/completed-lookup-status-enum.js +1 -1
- package/dist/models/conference-completed-callback.d.ts +1 -1
- package/dist/models/conference-created-callback.d.ts +1 -1
- package/dist/models/conference-member-exit-callback.d.ts +1 -1
- package/dist/models/conference-member-join-callback.d.ts +1 -1
- package/dist/models/conference-recording-available-callback.d.ts +1 -1
- package/dist/models/conference-redirect-callback.d.ts +1 -1
- package/dist/models/conference-state-enum.js +1 -1
- package/dist/models/deactivation-event-enum.js +1 -1
- package/dist/models/device-status-enum.js +1 -1
- package/dist/models/disconnect-callback.d.ts +9 -1
- package/dist/models/dtmf-callback.d.ts +1 -1
- package/dist/models/endpoint-direction-enum.js +1 -1
- package/dist/models/endpoint-event-type-enum.js +1 -1
- package/dist/models/endpoint-status-enum.js +1 -1
- package/dist/models/endpoint-type-enum.js +1 -1
- package/dist/models/file-format-enum.js +1 -1
- package/dist/models/gather-callback.d.ts +1 -1
- package/dist/models/in-progress-lookup-status-enum.js +1 -1
- package/dist/models/inbound-callback-type-enum.js +1 -1
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/initiate-callback.d.ts +11 -1
- package/dist/models/latest-message-delivery-status-enum.js +1 -1
- package/dist/models/line-type-enum.js +1 -1
- package/dist/models/list-message-direction-enum.js +1 -1
- package/dist/models/machine-detection-complete-callback.d.ts +1 -1
- package/dist/models/machine-detection-mode-enum.js +1 -1
- package/dist/models/message-direction-enum.js +1 -1
- package/dist/models/message-status-enum.js +1 -1
- package/dist/models/message-type-enum.js +1 -1
- package/dist/models/multi-channel-message-channel-enum.js +1 -1
- package/dist/models/priority-enum.js +1 -1
- package/dist/models/product-type-enum.js +1 -1
- package/dist/models/rbm-action-type-enum.js +1 -1
- package/dist/models/rbm-media-height-enum.js +1 -1
- package/dist/models/rbm-open-url-enum.js +1 -1
- package/dist/models/rbm-web-view-enum.js +1 -1
- package/dist/models/recording-available-callback.d.ts +1 -1
- package/dist/models/recording-complete-callback.d.ts +1 -1
- package/dist/models/recording-state-enum.js +1 -1
- package/dist/models/redirect-callback.d.ts +1 -1
- package/dist/models/redirect-method-enum.js +1 -1
- package/dist/models/refer-call-status-enum.d.ts +19 -0
- package/dist/models/refer-call-status-enum.js +23 -0
- package/dist/models/refer-complete-callback.d.ts +72 -0
- package/dist/models/refer-complete-callback.js +15 -0
- package/dist/models/standalone-card-orientation-enum.js +1 -1
- package/dist/models/status-callback-type-enum.js +1 -1
- package/dist/models/tfv-callback-status-enum.js +1 -1
- package/dist/models/tfv-status-enum.js +1 -1
- package/dist/models/thumbnail-alignment-enum.js +1 -1
- package/dist/models/transcription-available-callback.d.ts +1 -1
- package/dist/models/transfer-answer-callback.d.ts +1 -1
- package/dist/models/transfer-complete-callback.d.ts +1 -1
- package/dist/models/transfer-disconnect-callback.d.ts +1 -1
- package/dist/models/webhook-subscription-type-enum.js +1 -1
- package/docs/AnswerCallback.md +3 -1
- package/docs/BridgeCompleteCallback.md +1 -1
- package/docs/BridgeTargetCompleteCallback.md +1 -1
- package/docs/ConferenceCompletedCallback.md +1 -1
- package/docs/ConferenceCreatedCallback.md +1 -1
- package/docs/ConferenceMemberExitCallback.md +1 -1
- package/docs/ConferenceMemberJoinCallback.md +1 -1
- package/docs/ConferenceRecordingAvailableCallback.md +1 -1
- package/docs/ConferenceRedirectCallback.md +1 -1
- package/docs/DisconnectCallback.md +5 -1
- package/docs/DtmfCallback.md +1 -1
- package/docs/GatherCallback.md +1 -1
- package/docs/InitiateCallback.md +5 -1
- package/docs/MachineDetectionCompleteCallback.md +1 -1
- package/docs/MediaApi.md +8 -8
- package/docs/MessagesApi.md +4 -4
- package/docs/MultiChannelApi.md +2 -2
- package/docs/RecordingAvailableCallback.md +1 -1
- package/docs/RecordingCompleteCallback.md +1 -1
- package/docs/RedirectCallback.md +1 -1
- package/docs/ReferCallStatusEnum.md +11 -0
- package/docs/ReferCompleteCallback.md +49 -0
- package/docs/TranscriptionAvailableCallback.md +1 -1
- package/docs/TransferAnswerCallback.md +1 -1
- package/docs/TransferCompleteCallback.md +1 -1
- package/docs/TransferDisconnectCallback.md +1 -1
- package/models/answer-callback.ts +5 -1
- package/models/bridge-complete-callback.ts +1 -1
- package/models/bridge-target-complete-callback.ts +1 -1
- package/models/business-entity-type-enum.ts +1 -1
- package/models/business-registration-type-enum.ts +1 -1
- package/models/bxml/verbs/Refer.ts +35 -0
- package/models/bxml/verbs/index.ts +1 -0
- package/models/call-direction-enum.ts +1 -1
- package/models/call-state-enum.ts +1 -1
- package/models/call-transcription-detected-language-enum.ts +1 -1
- package/models/call-transcription-track-enum.ts +1 -1
- package/models/callback-method-enum.ts +1 -1
- package/models/card-width-enum.ts +1 -1
- package/models/completed-lookup-status-enum.ts +1 -1
- package/models/conference-completed-callback.ts +1 -1
- package/models/conference-created-callback.ts +1 -1
- package/models/conference-member-exit-callback.ts +1 -1
- package/models/conference-member-join-callback.ts +1 -1
- package/models/conference-recording-available-callback.ts +1 -1
- package/models/conference-redirect-callback.ts +1 -1
- package/models/conference-state-enum.ts +1 -1
- package/models/deactivation-event-enum.ts +1 -1
- package/models/device-status-enum.ts +1 -1
- package/models/disconnect-callback.ts +9 -1
- package/models/dtmf-callback.ts +1 -1
- package/models/endpoint-direction-enum.ts +1 -1
- package/models/endpoint-event-type-enum.ts +1 -1
- package/models/endpoint-status-enum.ts +1 -1
- package/models/endpoint-type-enum.ts +1 -1
- package/models/file-format-enum.ts +1 -1
- package/models/gather-callback.ts +1 -1
- package/models/in-progress-lookup-status-enum.ts +1 -1
- package/models/inbound-callback-type-enum.ts +1 -1
- package/models/index.ts +2 -0
- package/models/initiate-callback.ts +9 -1
- package/models/latest-message-delivery-status-enum.ts +1 -1
- package/models/line-type-enum.ts +1 -1
- package/models/list-message-direction-enum.ts +1 -1
- package/models/machine-detection-complete-callback.ts +1 -1
- package/models/machine-detection-mode-enum.ts +1 -1
- package/models/message-direction-enum.ts +1 -1
- package/models/message-status-enum.ts +1 -1
- package/models/message-type-enum.ts +1 -1
- package/models/multi-channel-message-channel-enum.ts +1 -1
- package/models/priority-enum.ts +1 -1
- package/models/product-type-enum.ts +1 -1
- package/models/rbm-action-type-enum.ts +1 -1
- package/models/rbm-media-height-enum.ts +1 -1
- package/models/rbm-open-url-enum.ts +1 -1
- package/models/rbm-web-view-enum.ts +1 -1
- package/models/recording-available-callback.ts +1 -1
- package/models/recording-complete-callback.ts +1 -1
- package/models/recording-state-enum.ts +1 -1
- package/models/redirect-callback.ts +1 -1
- package/models/redirect-method-enum.ts +1 -1
- package/models/refer-call-status-enum.ts +29 -0
- package/models/refer-complete-callback.ts +84 -0
- package/models/standalone-card-orientation-enum.ts +1 -1
- package/models/status-callback-type-enum.ts +1 -1
- package/models/tfv-callback-status-enum.ts +1 -1
- package/models/tfv-status-enum.ts +1 -1
- package/models/thumbnail-alignment-enum.ts +1 -1
- package/models/transcription-available-callback.ts +1 -1
- package/models/transfer-answer-callback.ts +1 -1
- package/models/transfer-complete-callback.ts +1 -1
- package/models/transfer-disconnect-callback.ts +1 -1
- package/models/webhook-subscription-type-enum.ts +1 -1
- package/openapitools.json +1 -1
- package/package.json +2 -2
- package/tests/unit/api/calls-api.test.ts +1 -2
- package/tests/unit/api/conferences-api.test.ts +1 -2
- package/tests/unit/api/endpoints-api.test.ts +1 -2
- package/tests/unit/api/media-api.test.ts +1 -2
- package/tests/unit/api/messages-api.test.ts +1 -2
- package/tests/unit/api/mfaapi.test.ts +1 -2
- package/tests/unit/api/multi-channel-api.test.ts +1 -2
- package/tests/unit/api/phone-number-lookup-api.test.ts +1 -2
- package/tests/unit/api/recordings-api.test.ts +1 -2
- package/tests/unit/api/statistics-api.test.ts +1 -2
- package/tests/unit/api/toll-free-verification-api.test.ts +1 -2
- package/tests/unit/api/transcriptions-api.test.ts +1 -2
- package/tests/unit/models/answer-callback.test.ts +2 -0
- package/tests/unit/models/bxml/verbs/Refer.test.ts +40 -0
- package/tests/unit/models/disconnect-callback.test.ts +4 -0
- package/tests/unit/models/initiate-callback.test.ts +4 -0
- package/tests/unit/models/refer-call-status-enum.test.ts +12 -0
- package/tests/unit/models/refer-complete-callback.test.ts +41 -0
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">75% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>99/132</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">73.27% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>85/116</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -511,8 +511,7 @@
|
|
|
511
511
|
<a name='L446'></a><a href='#L446'>446</a>
|
|
512
512
|
<a name='L447'></a><a href='#L447'>447</a>
|
|
513
513
|
<a name='L448'></a><a href='#L448'>448</a>
|
|
514
|
-
<a name='L449'></a><a href='#L449'>449</a>
|
|
515
|
-
<a name='L450'></a><a href='#L450'>450</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
514
|
+
<a name='L449'></a><a href='#L449'>449</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
516
515
|
<span class="cline-any cline-neutral"> </span>
|
|
517
516
|
<span class="cline-any cline-neutral"> </span>
|
|
518
517
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -592,8 +591,7 @@
|
|
|
592
591
|
<span class="cline-any cline-neutral"> </span>
|
|
593
592
|
<span class="cline-any cline-yes">4x</span>
|
|
594
593
|
<span class="cline-any cline-neutral"> </span>
|
|
595
|
-
<span class="cline-any cline-
|
|
596
|
-
<span class="cline-any cline-neutral"> </span>
|
|
594
|
+
<span class="cline-any cline-yes">2x</span>
|
|
597
595
|
<span class="cline-any cline-yes">2x</span>
|
|
598
596
|
<span class="cline-any cline-neutral"> </span>
|
|
599
597
|
<span class="cline-any cline-yes">2x</span>
|
|
@@ -772,7 +770,7 @@
|
|
|
772
770
|
<span class="cline-any cline-no"> </span>
|
|
773
771
|
<span class="cline-any cline-neutral"> </span>
|
|
774
772
|
<span class="cline-any cline-neutral"> </span>
|
|
775
|
-
<span class="cline-any cline-
|
|
773
|
+
<span class="cline-any cline-yes">2x</span>
|
|
776
774
|
<span class="cline-any cline-neutral"> </span>
|
|
777
775
|
<span class="cline-any cline-yes">2x</span>
|
|
778
776
|
<span class="cline-any cline-yes">2x</span>
|
|
@@ -981,7 +979,7 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
981
979
|
import globalAxios from 'axios';
|
|
982
980
|
// Some imports not used depending on template conditions
|
|
983
981
|
// @ts-ignore
|
|
984
|
-
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
982
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
|
|
985
983
|
// @ts-ignore
|
|
986
984
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
987
985
|
// @ts-ignore
|
|
@@ -1010,7 +1008,7 @@ export const MessagesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1010
1008
|
/**
|
|
1011
1009
|
* Endpoint for sending text messages and picture messages using V2 messaging.
|
|
1012
1010
|
* @summary Create Message
|
|
1013
|
-
* @param {string} accountId
|
|
1011
|
+
* @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
1014
1012
|
* @param {MessageRequest} messageRequest
|
|
1015
1013
|
* @param {*} [options] Override http request option.
|
|
1016
1014
|
* @throws {RequiredError}
|
|
@@ -1021,7 +1019,7 @@ export const MessagesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1021
1019
|
// verify required parameter 'messageRequest' is not null or undefined
|
|
1022
1020
|
assertParamExists('createMessage', 'messageRequest', messageRequest)
|
|
1023
1021
|
const localVarPath = `/users/{accountId}/messages`
|
|
1024
|
-
.replace(
|
|
1022
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)));
|
|
1025
1023
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1026
1024
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1027
1025
|
let baseOptions;
|
|
@@ -1041,9 +1039,8 @@ export const MessagesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1041
1039
|
// oauth required
|
|
1042
1040
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
1043
1041
|
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
1042
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1043
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1047
1044
|
|
|
1048
1045
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1049
1046
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : <span class="branch-1 cbranch-no" title="branch not covered" >{};</span>
|
|
@@ -1058,7 +1055,7 @@ export const MessagesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1058
1055
|
/**
|
|
1059
1056
|
* Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
|
|
1060
1057
|
* @summary List Messages
|
|
1061
|
-
* @param {string} accountId
|
|
1058
|
+
* @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
1062
1059
|
* @param {string} [messageId] The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter.
|
|
1063
1060
|
* @param {string} [sourceTn] The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. \&#39;%2B1919\&#39;).
|
|
1064
1061
|
* @param {string} [destinationTn] The phone number that received the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. \&#39;%2B1919\&#39;).
|
|
@@ -1093,7 +1090,7 @@ export const MessagesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1093
1090
|
// verify required parameter 'accountId' is not null or undefined
|
|
1094
1091
|
assertParamExists('listMessages', 'accountId', accountId)
|
|
1095
1092
|
const localVarPath = `/users/{accountId}/messages`
|
|
1096
|
-
.replace(
|
|
1093
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)));
|
|
1097
1094
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1098
1095
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1099
1096
|
let baseOptions;
|
|
@@ -1221,8 +1218,8 @@ export const MessagesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1221
1218
|
<span class="cstat-no" title="statement not covered" > localVarQueryParameter['limitTotalCount'] = limitTotalCount;</span>
|
|
1222
1219
|
}
|
|
1223
1220
|
|
|
1221
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1224
1222
|
|
|
1225
|
-
|
|
1226
1223
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1227
1224
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : <span class="branch-1 cbranch-no" title="branch not covered" >{};</span>
|
|
1228
1225
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1244,7 +1241,7 @@ export const MessagesApiFp = function(configuration?: Configuration) {
|
|
|
1244
1241
|
/**
|
|
1245
1242
|
* Endpoint for sending text messages and picture messages using V2 messaging.
|
|
1246
1243
|
* @summary Create Message
|
|
1247
|
-
* @param {string} accountId
|
|
1244
|
+
* @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
1248
1245
|
* @param {MessageRequest} messageRequest
|
|
1249
1246
|
* @param {*} [options] Override http request option.
|
|
1250
1247
|
* @throws {RequiredError}
|
|
@@ -1258,7 +1255,7 @@ export const MessagesApiFp = function(configuration?: Configuration) {
|
|
|
1258
1255
|
/**
|
|
1259
1256
|
* Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
|
|
1260
1257
|
* @summary List Messages
|
|
1261
|
-
* @param {string} accountId
|
|
1258
|
+
* @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
1262
1259
|
* @param {string} [messageId] The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter.
|
|
1263
1260
|
* @param {string} [sourceTn] The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. \&#39;%2B1919\&#39;).
|
|
1264
1261
|
* @param {string} [destinationTn] The phone number that received the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. \&#39;%2B1919\&#39;).
|
|
@@ -1307,7 +1304,7 @@ export const MessagesApiFactory = <span class="fstat-no" title="function not cov
|
|
|
1307
1304
|
/**
|
|
1308
1305
|
* Endpoint for sending text messages and picture messages using V2 messaging.
|
|
1309
1306
|
* @summary Create Message
|
|
1310
|
-
* @param {string} accountId
|
|
1307
|
+
* @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
1311
1308
|
* @param {MessageRequest} messageRequest
|
|
1312
1309
|
* @param {*} [options] Override http request option.
|
|
1313
1310
|
* @throws {RequiredError}
|
|
@@ -1318,7 +1315,7 @@ export const MessagesApiFactory = <span class="fstat-no" title="function not cov
|
|
|
1318
1315
|
/**
|
|
1319
1316
|
* Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
|
|
1320
1317
|
* @summary List Messages
|
|
1321
|
-
* @param {string} accountId
|
|
1318
|
+
* @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
1322
1319
|
* @param {string} [messageId] The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter.
|
|
1323
1320
|
* @param {string} [sourceTn] The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. \&#39;%2B1919\&#39;).
|
|
1324
1321
|
* @param {string} [destinationTn] The phone number that received the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. \&#39;%2B1919\&#39;).
|
|
@@ -1362,7 +1359,7 @@ export class MessagesApi extends BaseAPI {
|
|
|
1362
1359
|
/**
|
|
1363
1360
|
* Endpoint for sending text messages and picture messages using V2 messaging.
|
|
1364
1361
|
* @summary Create Message
|
|
1365
|
-
* @param {string} accountId
|
|
1362
|
+
* @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
1366
1363
|
* @param {MessageRequest} messageRequest
|
|
1367
1364
|
* @param {*} [options] Override http request option.
|
|
1368
1365
|
* @throws {RequiredError}
|
|
@@ -1374,7 +1371,7 @@ export class MessagesApi extends BaseAPI {
|
|
|
1374
1371
|
/**
|
|
1375
1372
|
* Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
|
|
1376
1373
|
* @summary List Messages
|
|
1377
|
-
* @param {string} accountId
|
|
1374
|
+
* @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
1378
1375
|
* @param {string} [messageId] The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter.
|
|
1379
1376
|
* @param {string} [sourceTn] The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. \&#39;%2B1919\&#39;).
|
|
1380
1377
|
* @param {string} [destinationTn] The phone number that received the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. \&#39;%2B1919\&#39;).
|
|
@@ -1417,7 +1414,7 @@ export class MessagesApi extends BaseAPI {
|
|
|
1417
1414
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1418
1415
|
Code coverage generated by
|
|
1419
1416
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1420
|
-
at 2026-
|
|
1417
|
+
at 2026-08-18T15:28:34.079Z
|
|
1421
1418
|
</div>
|
|
1422
1419
|
<script src="../../prettify.js"></script>
|
|
1423
1420
|
<script>
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">92.
|
|
26
|
+
<span class="strong">92.85% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>104/112</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">94.
|
|
47
|
+
<span class="strong">94.5% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>86/91</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -385,10 +385,7 @@
|
|
|
385
385
|
<a name='L320'></a><a href='#L320'>320</a>
|
|
386
386
|
<a name='L321'></a><a href='#L321'>321</a>
|
|
387
387
|
<a name='L322'></a><a href='#L322'>322</a>
|
|
388
|
-
<a name='L323'></a><a href='#L323'>323</a>
|
|
389
|
-
<a name='L324'></a><a href='#L324'>324</a>
|
|
390
|
-
<a name='L325'></a><a href='#L325'>325</a>
|
|
391
|
-
<a name='L326'></a><a href='#L326'>326</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
388
|
+
<a name='L323'></a><a href='#L323'>323</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
392
389
|
<span class="cline-any cline-neutral"> </span>
|
|
393
390
|
<span class="cline-any cline-neutral"> </span>
|
|
394
391
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -466,8 +463,7 @@
|
|
|
466
463
|
<span class="cline-any cline-neutral"> </span>
|
|
467
464
|
<span class="cline-any cline-yes">4x</span>
|
|
468
465
|
<span class="cline-any cline-neutral"> </span>
|
|
469
|
-
<span class="cline-any cline-
|
|
470
|
-
<span class="cline-any cline-neutral"> </span>
|
|
466
|
+
<span class="cline-any cline-yes">2x</span>
|
|
471
467
|
<span class="cline-any cline-yes">2x</span>
|
|
472
468
|
<span class="cline-any cline-neutral"> </span>
|
|
473
469
|
<span class="cline-any cline-yes">2x</span>
|
|
@@ -514,8 +510,7 @@
|
|
|
514
510
|
<span class="cline-any cline-neutral"> </span>
|
|
515
511
|
<span class="cline-any cline-yes">2x</span>
|
|
516
512
|
<span class="cline-any cline-neutral"> </span>
|
|
517
|
-
<span class="cline-any cline-
|
|
518
|
-
<span class="cline-any cline-neutral"> </span>
|
|
513
|
+
<span class="cline-any cline-yes">1x</span>
|
|
519
514
|
<span class="cline-any cline-yes">1x</span>
|
|
520
515
|
<span class="cline-any cline-neutral"> </span>
|
|
521
516
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -562,8 +557,7 @@
|
|
|
562
557
|
<span class="cline-any cline-neutral"> </span>
|
|
563
558
|
<span class="cline-any cline-yes">2x</span>
|
|
564
559
|
<span class="cline-any cline-neutral"> </span>
|
|
565
|
-
<span class="cline-any cline-
|
|
566
|
-
<span class="cline-any cline-neutral"> </span>
|
|
560
|
+
<span class="cline-any cline-yes">1x</span>
|
|
567
561
|
<span class="cline-any cline-yes">1x</span>
|
|
568
562
|
<span class="cline-any cline-neutral"> </span>
|
|
569
563
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -733,7 +727,7 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
733
727
|
import globalAxios from 'axios';
|
|
734
728
|
// Some imports not used depending on template conditions
|
|
735
729
|
// @ts-ignore
|
|
736
|
-
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
730
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
|
|
737
731
|
// @ts-ignore
|
|
738
732
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
739
733
|
// @ts-ignore
|
|
@@ -771,7 +765,7 @@ export const MFAApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
771
765
|
// verify required parameter 'codeRequest' is not null or undefined
|
|
772
766
|
assertParamExists('generateMessagingCode', 'codeRequest', codeRequest)
|
|
773
767
|
const localVarPath = `/accounts/{accountId}/code/messaging`
|
|
774
|
-
.replace(
|
|
768
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)));
|
|
775
769
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
776
770
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
777
771
|
let baseOptions;
|
|
@@ -791,9 +785,8 @@ export const MFAApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
791
785
|
// oauth required
|
|
792
786
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
793
787
|
|
|
794
|
-
|
|
795
|
-
|
|
796
788
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
789
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
797
790
|
|
|
798
791
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
799
792
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : <span class="branch-1 cbranch-no" title="branch not covered" >{};</span>
|
|
@@ -819,7 +812,7 @@ export const MFAApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
819
812
|
// verify required parameter 'codeRequest' is not null or undefined
|
|
820
813
|
assertParamExists('generateVoiceCode', 'codeRequest', codeRequest)
|
|
821
814
|
const localVarPath = `/accounts/{accountId}/code/voice`
|
|
822
|
-
.replace(
|
|
815
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)));
|
|
823
816
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
824
817
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
825
818
|
let baseOptions;
|
|
@@ -839,9 +832,8 @@ export const MFAApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
839
832
|
// oauth required
|
|
840
833
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
841
834
|
|
|
842
|
-
|
|
843
|
-
|
|
844
835
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
836
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
845
837
|
|
|
846
838
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
847
839
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : <span class="branch-1 cbranch-no" title="branch not covered" >{};</span>
|
|
@@ -867,7 +859,7 @@ export const MFAApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
867
859
|
// verify required parameter 'verifyCodeRequest' is not null or undefined
|
|
868
860
|
assertParamExists('verifyCode', 'verifyCodeRequest', verifyCodeRequest)
|
|
869
861
|
const localVarPath = `/accounts/{accountId}/code/verify`
|
|
870
|
-
.replace(
|
|
862
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)));
|
|
871
863
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
872
864
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
873
865
|
let baseOptions;
|
|
@@ -887,9 +879,8 @@ export const MFAApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
887
879
|
// oauth required
|
|
888
880
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
889
881
|
|
|
890
|
-
|
|
891
|
-
|
|
892
882
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
883
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
893
884
|
|
|
894
885
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
895
886
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : <span class="branch-1 cbranch-no" title="branch not covered" >{};</span>
|
|
@@ -1045,7 +1036,7 @@ export class MFAApi extends BaseAPI {
|
|
|
1045
1036
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1046
1037
|
Code coverage generated by
|
|
1047
1038
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1048
|
-
at 2026-
|
|
1039
|
+
at 2026-08-18T15:28:34.079Z
|
|
1049
1040
|
</div>
|
|
1050
1041
|
<script src="../../prettify.js"></script>
|
|
1051
1042
|
<script>
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">92% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>46/50</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
@@ -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.3% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>36/39</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -207,8 +207,7 @@
|
|
|
207
207
|
<a name='L142'></a><a href='#L142'>142</a>
|
|
208
208
|
<a name='L143'></a><a href='#L143'>143</a>
|
|
209
209
|
<a name='L144'></a><a href='#L144'>144</a>
|
|
210
|
-
<a name='L145'></a><a href='#L145'>145</a>
|
|
211
|
-
<a name='L146'></a><a href='#L146'>146</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
210
|
+
<a name='L145'></a><a href='#L145'>145</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
212
211
|
<span class="cline-any cline-neutral"> </span>
|
|
213
212
|
<span class="cline-any cline-neutral"> </span>
|
|
214
213
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -276,8 +275,7 @@
|
|
|
276
275
|
<span class="cline-any cline-neutral"> </span>
|
|
277
276
|
<span class="cline-any cline-yes">2x</span>
|
|
278
277
|
<span class="cline-any cline-neutral"> </span>
|
|
279
|
-
<span class="cline-any cline-
|
|
280
|
-
<span class="cline-any cline-neutral"> </span>
|
|
278
|
+
<span class="cline-any cline-yes">1x</span>
|
|
281
279
|
<span class="cline-any cline-yes">1x</span>
|
|
282
280
|
<span class="cline-any cline-neutral"> </span>
|
|
283
281
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -373,7 +371,7 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
373
371
|
import globalAxios from 'axios';
|
|
374
372
|
// Some imports not used depending on template conditions
|
|
375
373
|
// @ts-ignore
|
|
376
|
-
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
374
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
|
|
377
375
|
// @ts-ignore
|
|
378
376
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
379
377
|
// @ts-ignore
|
|
@@ -390,7 +388,7 @@ export const MultiChannelApiAxiosParamCreator = function (configuration?: Config
|
|
|
390
388
|
/**
|
|
391
389
|
* Endpoint for sending Multi-Channel messages.
|
|
392
390
|
* @summary Create Multi-Channel Message
|
|
393
|
-
* @param {string} accountId
|
|
391
|
+
* @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
394
392
|
* @param {MultiChannelMessageRequest} multiChannelMessageRequest
|
|
395
393
|
* @param {*} [options] Override http request option.
|
|
396
394
|
* @throws {RequiredError}
|
|
@@ -401,7 +399,7 @@ export const MultiChannelApiAxiosParamCreator = function (configuration?: Config
|
|
|
401
399
|
// verify required parameter 'multiChannelMessageRequest' is not null or undefined
|
|
402
400
|
assertParamExists('createMultiChannelMessage', 'multiChannelMessageRequest', multiChannelMessageRequest)
|
|
403
401
|
const localVarPath = `/users/{accountId}/messages/multiChannel`
|
|
404
|
-
.replace(
|
|
402
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)));
|
|
405
403
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
406
404
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
407
405
|
let baseOptions;
|
|
@@ -421,9 +419,8 @@ export const MultiChannelApiAxiosParamCreator = function (configuration?: Config
|
|
|
421
419
|
// oauth required
|
|
422
420
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
423
421
|
|
|
424
|
-
|
|
425
|
-
|
|
426
422
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
423
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
427
424
|
|
|
428
425
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
429
426
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : <span class="branch-1 cbranch-no" title="branch not covered" >{};</span>
|
|
@@ -447,7 +444,7 @@ export const MultiChannelApiFp = function(configuration?: Configuration) {
|
|
|
447
444
|
/**
|
|
448
445
|
* Endpoint for sending Multi-Channel messages.
|
|
449
446
|
* @summary Create Multi-Channel Message
|
|
450
|
-
* @param {string} accountId
|
|
447
|
+
* @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
451
448
|
* @param {MultiChannelMessageRequest} multiChannelMessageRequest
|
|
452
449
|
* @param {*} [options] Override http request option.
|
|
453
450
|
* @throws {RequiredError}
|
|
@@ -470,7 +467,7 @@ export const MultiChannelApiFactory = <span class="fstat-no" title="function not
|
|
|
470
467
|
/**
|
|
471
468
|
* Endpoint for sending Multi-Channel messages.
|
|
472
469
|
* @summary Create Multi-Channel Message
|
|
473
|
-
* @param {string} accountId
|
|
470
|
+
* @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
474
471
|
* @param {MultiChannelMessageRequest} multiChannelMessageRequest
|
|
475
472
|
* @param {*} [options] Override http request option.
|
|
476
473
|
* @throws {RequiredError}
|
|
@@ -488,7 +485,7 @@ export class MultiChannelApi extends BaseAPI {
|
|
|
488
485
|
/**
|
|
489
486
|
* Endpoint for sending Multi-Channel messages.
|
|
490
487
|
* @summary Create Multi-Channel Message
|
|
491
|
-
* @param {string} accountId
|
|
488
|
+
* @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
492
489
|
* @param {MultiChannelMessageRequest} multiChannelMessageRequest
|
|
493
490
|
* @param {*} [options] Override http request option.
|
|
494
491
|
* @throws {RequiredError}
|
|
@@ -505,7 +502,7 @@ export class MultiChannelApi extends BaseAPI {
|
|
|
505
502
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
506
503
|
Code coverage generated by
|
|
507
504
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
508
|
-
at 2026-
|
|
505
|
+
at 2026-08-18T15:28:34.079Z
|
|
509
506
|
</div>
|
|
510
507
|
<script src="../../prettify.js"></script>
|
|
511
508
|
<script>
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">92.
|
|
26
|
+
<span class="strong">92.72% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>102/110</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">94.
|
|
47
|
+
<span class="strong">94.38% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>84/89</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -380,9 +380,7 @@
|
|
|
380
380
|
<a name='L315'></a><a href='#L315'>315</a>
|
|
381
381
|
<a name='L316'></a><a href='#L316'>316</a>
|
|
382
382
|
<a name='L317'></a><a href='#L317'>317</a>
|
|
383
|
-
<a name='L318'></a><a href='#L318'>318</a>
|
|
384
|
-
<a name='L319'></a><a href='#L319'>319</a>
|
|
385
|
-
<a name='L320'></a><a href='#L320'>320</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
383
|
+
<a name='L318'></a><a href='#L318'>318</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
|
386
384
|
<span class="cline-any cline-neutral"> </span>
|
|
387
385
|
<span class="cline-any cline-neutral"> </span>
|
|
388
386
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -456,8 +454,7 @@
|
|
|
456
454
|
<span class="cline-any cline-neutral"> </span>
|
|
457
455
|
<span class="cline-any cline-yes">2x</span>
|
|
458
456
|
<span class="cline-any cline-neutral"> </span>
|
|
459
|
-
<span class="cline-any cline-
|
|
460
|
-
<span class="cline-any cline-neutral"> </span>
|
|
457
|
+
<span class="cline-any cline-yes">1x</span>
|
|
461
458
|
<span class="cline-any cline-yes">1x</span>
|
|
462
459
|
<span class="cline-any cline-neutral"> </span>
|
|
463
460
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -504,8 +501,7 @@
|
|
|
504
501
|
<span class="cline-any cline-neutral"> </span>
|
|
505
502
|
<span class="cline-any cline-yes">2x</span>
|
|
506
503
|
<span class="cline-any cline-neutral"> </span>
|
|
507
|
-
<span class="cline-any cline-
|
|
508
|
-
<span class="cline-any cline-neutral"> </span>
|
|
504
|
+
<span class="cline-any cline-yes">1x</span>
|
|
509
505
|
<span class="cline-any cline-yes">1x</span>
|
|
510
506
|
<span class="cline-any cline-neutral"> </span>
|
|
511
507
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -553,7 +549,7 @@
|
|
|
553
549
|
<span class="cline-any cline-neutral"> </span>
|
|
554
550
|
<span class="cline-any cline-yes">2x</span>
|
|
555
551
|
<span class="cline-any cline-neutral"> </span>
|
|
556
|
-
<span class="cline-any cline-
|
|
552
|
+
<span class="cline-any cline-yes">1x</span>
|
|
557
553
|
<span class="cline-any cline-neutral"> </span>
|
|
558
554
|
<span class="cline-any cline-yes">1x</span>
|
|
559
555
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -721,7 +717,7 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
721
717
|
import globalAxios from 'axios';
|
|
722
718
|
// Some imports not used depending on template conditions
|
|
723
719
|
// @ts-ignore
|
|
724
|
-
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
720
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
|
|
725
721
|
// @ts-ignore
|
|
726
722
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
727
723
|
// @ts-ignore
|
|
@@ -755,7 +751,7 @@ export const PhoneNumberLookupApiAxiosParamCreator = function (configuration?: C
|
|
|
755
751
|
// verify required parameter 'asyncLookupRequest' is not null or undefined
|
|
756
752
|
assertParamExists('createAsyncBulkLookup', 'asyncLookupRequest', asyncLookupRequest)
|
|
757
753
|
const localVarPath = `/accounts/{accountId}/phoneNumberLookup/bulk`
|
|
758
|
-
.replace(
|
|
754
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)));
|
|
759
755
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
760
756
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
761
757
|
let baseOptions;
|
|
@@ -775,9 +771,8 @@ export const PhoneNumberLookupApiAxiosParamCreator = function (configuration?: C
|
|
|
775
771
|
// oauth required
|
|
776
772
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
777
773
|
|
|
778
|
-
|
|
779
|
-
|
|
780
774
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
775
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
781
776
|
|
|
782
777
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
783
778
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : <span class="branch-1 cbranch-no" title="branch not covered" >{};</span>
|
|
@@ -803,7 +798,7 @@ export const PhoneNumberLookupApiAxiosParamCreator = function (configuration?: C
|
|
|
803
798
|
// verify required parameter 'syncLookupRequest' is not null or undefined
|
|
804
799
|
assertParamExists('createSyncLookup', 'syncLookupRequest', syncLookupRequest)
|
|
805
800
|
const localVarPath = `/accounts/{accountId}/phoneNumberLookup`
|
|
806
|
-
.replace(
|
|
801
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)));
|
|
807
802
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
808
803
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
809
804
|
let baseOptions;
|
|
@@ -823,9 +818,8 @@ export const PhoneNumberLookupApiAxiosParamCreator = function (configuration?: C
|
|
|
823
818
|
// oauth required
|
|
824
819
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
825
820
|
|
|
826
|
-
|
|
827
|
-
|
|
828
821
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
822
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
829
823
|
|
|
830
824
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
831
825
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : <span class="branch-1 cbranch-no" title="branch not covered" >{};</span>
|
|
@@ -851,8 +845,8 @@ export const PhoneNumberLookupApiAxiosParamCreator = function (configuration?: C
|
|
|
851
845
|
// verify required parameter 'requestId' is not null or undefined
|
|
852
846
|
assertParamExists('getAsyncBulkLookup', 'requestId', requestId)
|
|
853
847
|
const localVarPath = `/accounts/{accountId}/phoneNumberLookup/bulk/{requestId}`
|
|
854
|
-
.replace(
|
|
855
|
-
.replace(
|
|
848
|
+
.replace('{accountId}', encodeURIComponent(String(accountId)))
|
|
849
|
+
.replace('{requestId}', encodeURIComponent(String(requestId)));
|
|
856
850
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
857
851
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
858
852
|
let baseOptions;
|
|
@@ -872,8 +866,8 @@ export const PhoneNumberLookupApiAxiosParamCreator = function (configuration?: C
|
|
|
872
866
|
// oauth required
|
|
873
867
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
874
868
|
|
|
869
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
875
870
|
|
|
876
|
-
|
|
877
871
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
878
872
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : <span class="branch-1 cbranch-no" title="branch not covered" >{};</span>
|
|
879
873
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1027,7 +1021,7 @@ export class PhoneNumberLookupApi extends BaseAPI {
|
|
|
1027
1021
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1028
1022
|
Code coverage generated by
|
|
1029
1023
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1030
|
-
at 2026-
|
|
1024
|
+
at 2026-08-18T15:28:34.079Z
|
|
1031
1025
|
</div>
|
|
1032
1026
|
<script src="../../prettify.js"></script>
|
|
1033
1027
|
<script>
|