bandwidth-sdk 8.3.0 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/CODEOWNERS +0 -3
- package/.github/workflows/deploy.yml +1 -30
- package/.github/workflows/test-pr.yml +0 -20
- package/.github/workflows/test-smoke.yml +0 -4
- package/.openapi-generator/FILES +2 -0
- package/README.md +1 -5
- package/api/calls-api.ts +0 -20
- package/api/conferences-api.ts +0 -36
- package/api/endpoints-api.ts +0 -20
- package/api/media-api.ts +8 -24
- package/api/messages-api.ts +0 -8
- package/api/mfaapi.ts +0 -12
- package/api/multi-channel-api.ts +0 -4
- package/api/phone-number-lookup-api.ts +0 -12
- package/api/recordings-api.ts +0 -40
- package/api/statistics-api.ts +0 -4
- package/api/toll-free-verification-api.ts +12 -48
- package/api/transcriptions-api.ts +0 -12
- package/bandwidth.yml +341 -122
- package/common.ts +2 -5
- package/configuration.ts +4 -13
- package/coverage/clover.xml +1249 -1293
- package/coverage/coverage-final.json +17 -16
- package/coverage/lcov-report/index.html +41 -26
- package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +6 -66
- package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +6 -114
- package/coverage/lcov-report/node-sdk/api/endpoints-api.ts.html +6 -66
- package/coverage/lcov-report/node-sdk/api/index.html +69 -69
- package/coverage/lcov-report/node-sdk/api/media-api.ts.html +14 -62
- package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +6 -30
- package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +6 -42
- package/coverage/lcov-report/node-sdk/api/multi-channel-api.ts.html +6 -18
- package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +6 -42
- package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +6 -126
- package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +6 -18
- package/coverage/lcov-report/node-sdk/api/toll-free-verification-api.ts.html +18 -126
- package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +6 -42
- 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 +13 -22
- package/coverage/lcov-report/node-sdk/configuration.ts.html +11 -38
- package/coverage/lcov-report/node-sdk/index.html +20 -20
- 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/Refer.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 +1 -1
- package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/card-width-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/completed-lookup-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/conference-state-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/deactivation-event-enum.ts.html +1 -1
- 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 +1 -1
- package/coverage/lcov-report/node-sdk/models/in-progress-lookup-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/inbound-callback-type-enum.ts.html +1 -1
- 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 +1 -1
- package/coverage/lcov-report/node-sdk/models/line-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/list-message-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/machine-detection-mode-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/message-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/message-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/message-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/multi-channel-message-channel-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/priority-enum.ts.html +1 -1
- 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 +1 -1
- package/coverage/lcov-report/node-sdk/models/rbm-media-height-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/rbm-open-url-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/rbm-web-view-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/recording-state-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/redirect-method-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/refer-call-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/standalone-card-orientation-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/status-callback-type-enum.ts.html +6 -3
- package/coverage/lcov-report/node-sdk/models/tfv-callback-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/tfv-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/thumbnail-alignment-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/webhook-subscription-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/tests/unit/constants.ts.html +103 -0
- package/coverage/lcov-report/node-sdk/tests/unit/index.html +116 -0
- package/coverage/lcov.info +3073 -3115
- package/custom_templates/common.mustache +2 -5
- package/custom_templates/configuration.mustache +3 -12
- package/dist/api/calls-api.js +0 -15
- package/dist/api/conferences-api.js +0 -27
- package/dist/api/endpoints-api.js +0 -15
- package/dist/api/media-api.d.ts +8 -8
- package/dist/api/media-api.js +8 -20
- package/dist/api/messages-api.js +0 -6
- package/dist/api/mfaapi.js +0 -9
- package/dist/api/multi-channel-api.js +0 -3
- package/dist/api/phone-number-lookup-api.js +0 -9
- package/dist/api/recordings-api.js +0 -30
- package/dist/api/statistics-api.js +0 -3
- package/dist/api/toll-free-verification-api.d.ts +12 -12
- package/dist/api/toll-free-verification-api.js +12 -39
- package/dist/api/transcriptions-api.js +0 -9
- package/dist/common.js +2 -5
- package/dist/configuration.d.ts +0 -10
- package/dist/configuration.js +4 -3
- package/dist/models/business-entity-type-enum.d.ts +1 -1
- package/dist/models/business-entity-type-enum.js +1 -1
- package/dist/models/business-registration-type-enum.d.ts +1 -1
- package/dist/models/business-registration-type-enum.js +1 -1
- package/dist/models/callback.d.ts +2 -0
- package/dist/models/disconnect-callback.d.ts +11 -1
- package/dist/models/inbound-callback-message.d.ts +2 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/initiate-callback.d.ts +1 -1
- package/dist/models/list-message-item.d.ts +1 -1
- package/dist/models/multi-channel-action-calendar-event.d.ts +1 -1
- package/dist/models/multi-channel-action.d.ts +1 -1
- package/dist/models/rbm-action-base.d.ts +1 -1
- package/dist/models/rbm-action-dial.d.ts +1 -1
- package/dist/models/rbm-action-open-url.d.ts +1 -1
- package/dist/models/rbm-action-view-location.d.ts +1 -1
- package/dist/models/rbm-session.d.ts +36 -0
- package/dist/models/rbm-session.js +15 -0
- package/dist/models/rbm-suggestion-response.d.ts +2 -2
- package/dist/models/status-callback-message.d.ts +2 -0
- package/dist/models/status-callback-type-enum.d.ts +2 -1
- package/dist/models/status-callback-type-enum.js +2 -1
- package/dist/models/tfv-submission-info.d.ts +2 -2
- package/dist/models/transfer-disconnect-callback.d.ts +14 -0
- package/dist/models/verification-request.d.ts +2 -2
- package/dist/models/verification-update-request.d.ts +3 -3
- package/docs/BusinessEntityTypeEnum.md +1 -1
- package/docs/BusinessRegistrationTypeEnum.md +1 -1
- package/docs/CallsApi.md +5 -5
- package/docs/ConferencesApi.md +9 -9
- package/docs/DisconnectCallback.md +5 -1
- package/docs/EndpointsApi.md +5 -5
- package/docs/InboundCallbackMessage.md +2 -0
- package/docs/InitiateCallback.md +1 -1
- package/docs/MFAApi.md +3 -3
- package/docs/MediaApi.md +7 -7
- package/docs/MessagesApi.md +2 -2
- package/docs/MultiChannelAction.md +1 -1
- package/docs/MultiChannelActionCalendarEvent.md +1 -1
- package/docs/MultiChannelApi.md +1 -1
- package/docs/PhoneNumberLookupApi.md +3 -3
- package/docs/RbmActionBase.md +1 -1
- package/docs/RbmActionDial.md +1 -1
- package/docs/RbmActionOpenUrl.md +1 -1
- package/docs/RbmActionViewLocation.md +1 -1
- package/docs/RbmSession.md +29 -0
- package/docs/RbmSuggestionResponse.md +2 -2
- package/docs/RecordingsApi.md +10 -10
- package/docs/StatisticsApi.md +1 -1
- package/docs/StatusCallbackMessage.md +2 -0
- package/docs/StatusCallbackTypeEnum.md +3 -1
- package/docs/TfvSubmissionInfo.md +2 -2
- package/docs/TollFreeVerificationApi.md +15 -12
- package/docs/TranscriptionsApi.md +3 -3
- package/docs/TransferDisconnectCallback.md +6 -0
- package/docs/VerificationRequest.md +2 -2
- package/docs/VerificationUpdateRequest.md +3 -3
- package/generate.sh +6 -0
- package/jest.config.js +0 -6
- package/models/business-entity-type-enum.ts +1 -1
- package/models/business-registration-type-enum.ts +1 -1
- package/models/callback.ts +1 -1
- package/models/disconnect-callback.ts +9 -1
- package/models/inbound-callback-message.ts +4 -0
- package/models/index.ts +1 -0
- package/models/initiate-callback.ts +1 -1
- package/models/list-message-item.ts +1 -1
- package/models/multi-channel-action-calendar-event.ts +1 -1
- package/models/multi-channel-action.ts +1 -1
- package/models/rbm-action-base.ts +1 -1
- package/models/rbm-action-dial.ts +1 -1
- package/models/rbm-action-open-url.ts +1 -1
- package/models/rbm-action-view-location.ts +1 -1
- package/models/rbm-session.ts +42 -0
- package/models/rbm-suggestion-response.ts +2 -2
- package/models/status-callback-message.ts +4 -0
- package/models/status-callback-type-enum.ts +2 -1
- package/models/tfv-submission-info.ts +2 -2
- package/models/transfer-disconnect-callback.ts +12 -0
- package/models/verification-request.ts +2 -2
- package/models/verification-update-request.ts +3 -3
- package/package.json +1 -1
- package/tests/globals.d.ts +0 -6
- package/tests/smoke/calls-api.test.ts +1 -23
- package/tests/smoke/conferences-api.test.ts +2 -2
- package/tests/smoke/media-api.test.ts +4 -1
- package/tests/smoke/messages-api.test.ts +4 -19
- package/tests/smoke/mfaapi.test.ts +4 -20
- package/tests/smoke/multi-channel-api.test.ts +2 -2
- package/tests/smoke/statistics-api.test.ts +0 -24
- package/tests/unit/api/calls-api.test.ts +2 -1
- package/tests/unit/api/conferences-api.test.ts +3 -2
- package/tests/unit/api/media-api.test.ts +1 -0
- package/tests/unit/api/messages-api.test.ts +1 -0
- package/tests/unit/api/mfaapi.test.ts +1 -0
- package/tests/unit/api/multi-channel-api.test.ts +1 -0
- package/tests/unit/api/phone-number-lookup-api.test.ts +1 -0
- package/tests/unit/api/recordings-api.test.ts +2 -1
- package/tests/unit/api/statistics-api.test.ts +1 -0
- package/tests/unit/api/toll-free-verification-api.test.ts +1 -0
- package/tests/unit/api/transcriptions-api.test.ts +1 -0
- package/tests/unit/configuration.test.ts +19 -0
- package/tests/unit/constants.ts +6 -0
- package/tests/unit/models/disconnect-callback.test.ts +4 -0
- package/tests/unit/models/inbound-callback-message.test.ts +3 -0
- package/tests/unit/models/rbm-session.test.ts +19 -0
- package/tests/unit/models/status-callback-message.test.ts +3 -0
- package/tests/unit/models/status-callback-type-enum.test.ts +3 -1
- package/tests/unit/models/transfer-disconnect-callback.test.ts +6 -0
package/.github/CODEOWNERS
CHANGED
|
@@ -13,25 +13,6 @@ jobs:
|
|
|
13
13
|
deploy:
|
|
14
14
|
name: Deploy SDK to NPM
|
|
15
15
|
runs-on: ubuntu-latest
|
|
16
|
-
env:
|
|
17
|
-
BW_ACCOUNT_ID: ${{ secrets.BW_ACCOUNT_ID }}
|
|
18
|
-
BW_USERNAME: ${{ secrets.BW_USERNAME }}
|
|
19
|
-
BW_PASSWORD: ${{ secrets.BW_PASSWORD }}
|
|
20
|
-
BW_CLIENT_ID: ${{ secrets.BW_CLIENT_ID }}
|
|
21
|
-
BW_CLIENT_SECRET: ${{ secrets.BW_CLIENT_SECRET }}
|
|
22
|
-
BW_USERNAME_FORBIDDEN: ${{ secrets.BW_USERNAME_FORBIDDEN }}
|
|
23
|
-
BW_PASSWORD_FORBIDDEN: ${{ secrets.BW_PASSWORD_FORBIDDEN }}
|
|
24
|
-
BW_VOICE_APPLICATION_ID: ${{ secrets.BW_VOICE_APPLICATION_ID }}
|
|
25
|
-
BW_MESSAGING_APPLICATION_ID: ${{ secrets.BW_MESSAGING_APPLICATION_ID }}
|
|
26
|
-
BW_NUMBER: ${{ secrets.BW_NUMBER }}
|
|
27
|
-
USER_NUMBER: ${{ secrets.USER_NUMBER }}
|
|
28
|
-
BASE_CALLBACK_URL: ${{ secrets.BASE_CALLBACK_URL }}
|
|
29
|
-
OPERATING_SYSTEM: "ubuntu"
|
|
30
|
-
MANTECA_ACTIVE_NUMBER: ${{ secrets.MANTECA_ACTIVE_NUMBER }}
|
|
31
|
-
MANTECA_IDLE_NUMBER: ${{ secrets.MANTECA_IDLE_NUMBER }}
|
|
32
|
-
MANTECA_BASE_URL: ${{ secrets.MANTECA_BASE_URL }}
|
|
33
|
-
MANTECA_APPLICATION_ID: ${{ secrets.MANTECA_APPLICATION_ID }}
|
|
34
|
-
BW_NUMBER_PROVIDER: ${{ secrets.BW_NUMBER_PROVIDER }}
|
|
35
16
|
|
|
36
17
|
steps:
|
|
37
18
|
- name: Set Release Version
|
|
@@ -51,18 +32,8 @@ jobs:
|
|
|
51
32
|
- name: Checkout
|
|
52
33
|
uses: actions/checkout@v7
|
|
53
34
|
|
|
54
|
-
- name: Set OpenAPI Generator Version
|
|
55
|
-
run: |
|
|
56
|
-
OPENAPI_VERSION=$(jq .[\"generator-cli\"].version openapitools.json)
|
|
57
|
-
echo "OPENAPI_GENERATOR_VERSION=$OPENAPI_VERSION" >> $GITHUB_ENV
|
|
58
|
-
shell: bash
|
|
59
|
-
|
|
60
35
|
- name: Generate SDK with Updated Version
|
|
61
|
-
|
|
62
|
-
with:
|
|
63
|
-
openapi-generator-version: ${{ env.OPENAPI_GENERATOR_VERSION }}
|
|
64
|
-
language: typescript-axios
|
|
65
|
-
additional-properties: --additional-properties=npmVersion=$PACKAGE_VERSION
|
|
36
|
+
run: bash generate.sh --additional-properties=npmVersion=$PACKAGE_VERSION
|
|
66
37
|
|
|
67
38
|
- name: Setup Node
|
|
68
39
|
uses: actions/setup-node@v7
|
|
@@ -9,24 +9,6 @@ concurrency:
|
|
|
9
9
|
group: ${{ github.workflow }}-${{ github.head_ref }}
|
|
10
10
|
cancel-in-progress: true
|
|
11
11
|
|
|
12
|
-
env:
|
|
13
|
-
BW_ACCOUNT_ID: ${{ secrets.BW_ACCOUNT_ID }}
|
|
14
|
-
BW_USERNAME: ${{ secrets.BW_USERNAME }}
|
|
15
|
-
BW_PASSWORD: ${{ secrets.BW_PASSWORD }}
|
|
16
|
-
BW_CLIENT_ID: ${{ secrets.BW_CLIENT_ID }}
|
|
17
|
-
BW_CLIENT_SECRET: ${{ secrets.BW_CLIENT_SECRET }}
|
|
18
|
-
BW_USERNAME_FORBIDDEN: ${{ secrets.BW_USERNAME_FORBIDDEN }}
|
|
19
|
-
BW_PASSWORD_FORBIDDEN: ${{ secrets.BW_PASSWORD_FORBIDDEN }}
|
|
20
|
-
BW_VOICE_APPLICATION_ID: ${{ secrets.BW_VOICE_APPLICATION_ID }}
|
|
21
|
-
BW_MESSAGING_APPLICATION_ID: ${{ secrets.BW_MESSAGING_APPLICATION_ID }}
|
|
22
|
-
BW_NUMBER: ${{ secrets.BW_NUMBER }}
|
|
23
|
-
USER_NUMBER: ${{ secrets.USER_NUMBER }}
|
|
24
|
-
BASE_CALLBACK_URL: ${{ secrets.BASE_CALLBACK_URL }}
|
|
25
|
-
MANTECA_ACTIVE_NUMBER: ${{ secrets.MANTECA_ACTIVE_NUMBER }}
|
|
26
|
-
MANTECA_IDLE_NUMBER: ${{ secrets.MANTECA_IDLE_NUMBER }}
|
|
27
|
-
MANTECA_BASE_URL: ${{ secrets.MANTECA_BASE_URL }}
|
|
28
|
-
MANTECA_APPLICATION_ID: ${{ secrets.MANTECA_APPLICATION_ID }}
|
|
29
|
-
|
|
30
12
|
jobs:
|
|
31
13
|
test:
|
|
32
14
|
name: Test PR
|
|
@@ -50,6 +32,4 @@ jobs:
|
|
|
50
32
|
yarn
|
|
51
33
|
npm install -g @stoplight/prism-cli
|
|
52
34
|
prism mock ./bandwidth.yml & yarn test-unit
|
|
53
|
-
env:
|
|
54
|
-
OPERATING_SYSTEM: ${{ matrix.os }}
|
|
55
35
|
shell: bash
|
|
@@ -13,12 +13,8 @@ concurrency:
|
|
|
13
13
|
cancel-in-progress: true
|
|
14
14
|
|
|
15
15
|
env:
|
|
16
|
-
BW_USERNAME: ${{ secrets.BW_USERNAME }}
|
|
17
|
-
BW_PASSWORD: ${{ secrets.BW_PASSWORD }}
|
|
18
16
|
BW_CLIENT_ID: ${{ secrets.BW_CLIENT_ID }}
|
|
19
17
|
BW_CLIENT_SECRET: ${{ secrets.BW_CLIENT_SECRET }}
|
|
20
|
-
BW_USERNAME_FORBIDDEN: ${{ secrets.BW_USERNAME_FORBIDDEN }}
|
|
21
|
-
BW_PASSWORD_FORBIDDEN: ${{ secrets.BW_PASSWORD_FORBIDDEN }}
|
|
22
18
|
USER_NUMBER: ${{ secrets.USER_NUMBER }}
|
|
23
19
|
BASE_CALLBACK_URL: ${{ secrets.BASE_CALLBACK_URL }}
|
|
24
20
|
MANTECA_BASE_URL: ${{ secrets.MANTECA_BASE_URL }}
|
package/.openapi-generator/FILES
CHANGED
|
@@ -170,6 +170,7 @@ docs/RbmMessageContentRichCard.md
|
|
|
170
170
|
docs/RbmMessageContentText.md
|
|
171
171
|
docs/RbmMessageMedia.md
|
|
172
172
|
docs/RbmOpenUrlEnum.md
|
|
173
|
+
docs/RbmSession.md
|
|
173
174
|
docs/RbmStandaloneCard.md
|
|
174
175
|
docs/RbmSuggestionResponse.md
|
|
175
176
|
docs/RbmWebViewEnum.md
|
|
@@ -378,6 +379,7 @@ models/rbm-message-content-rich-card.ts
|
|
|
378
379
|
models/rbm-message-content-text.ts
|
|
379
380
|
models/rbm-message-media.ts
|
|
380
381
|
models/rbm-open-url-enum.ts
|
|
382
|
+
models/rbm-session.ts
|
|
381
383
|
models/rbm-standalone-card.ts
|
|
382
384
|
models/rbm-suggestion-response.ts
|
|
383
385
|
models/rbm-web-view-enum.ts
|
package/README.md
CHANGED
|
@@ -311,6 +311,7 @@ Class | Method | HTTP request | Description
|
|
|
311
311
|
- [RbmMessageContentText](docs/RbmMessageContentText.md)
|
|
312
312
|
- [RbmMessageMedia](docs/RbmMessageMedia.md)
|
|
313
313
|
- [RbmOpenUrlEnum](docs/RbmOpenUrlEnum.md)
|
|
314
|
+
- [RbmSession](docs/RbmSession.md)
|
|
314
315
|
- [RbmStandaloneCard](docs/RbmStandaloneCard.md)
|
|
315
316
|
- [RbmSuggestionResponse](docs/RbmSuggestionResponse.md)
|
|
316
317
|
- [RbmWebViewEnum](docs/RbmWebViewEnum.md)
|
|
@@ -373,11 +374,6 @@ Class | Method | HTTP request | Description
|
|
|
373
374
|
|
|
374
375
|
|
|
375
376
|
Authentication schemes defined for the API:
|
|
376
|
-
<a id="Basic"></a>
|
|
377
|
-
### Basic
|
|
378
|
-
|
|
379
|
-
- **Type**: HTTP basic authentication
|
|
380
|
-
|
|
381
377
|
<a id="OAuth2"></a>
|
|
382
378
|
### OAuth2
|
|
383
379
|
|
package/api/calls-api.ts
CHANGED
|
@@ -62,10 +62,6 @@ export const CallsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
62
62
|
const localVarHeaderParameter = {} as any;
|
|
63
63
|
const localVarQueryParameter = {} as any;
|
|
64
64
|
|
|
65
|
-
// authentication Basic required
|
|
66
|
-
// http basic authentication required
|
|
67
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
68
|
-
|
|
69
65
|
// authentication OAuth2 required
|
|
70
66
|
// oauth required
|
|
71
67
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -110,10 +106,6 @@ export const CallsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
110
106
|
const localVarHeaderParameter = {} as any;
|
|
111
107
|
const localVarQueryParameter = {} as any;
|
|
112
108
|
|
|
113
|
-
// authentication Basic required
|
|
114
|
-
// http basic authentication required
|
|
115
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
116
|
-
|
|
117
109
|
// authentication OAuth2 required
|
|
118
110
|
// oauth required
|
|
119
111
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -159,10 +151,6 @@ export const CallsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
159
151
|
const localVarHeaderParameter = {} as any;
|
|
160
152
|
const localVarQueryParameter = {} as any;
|
|
161
153
|
|
|
162
|
-
// authentication Basic required
|
|
163
|
-
// http basic authentication required
|
|
164
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
165
|
-
|
|
166
154
|
// authentication OAuth2 required
|
|
167
155
|
// oauth required
|
|
168
156
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -236,10 +224,6 @@ export const CallsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
236
224
|
const localVarHeaderParameter = {} as any;
|
|
237
225
|
const localVarQueryParameter = {} as any;
|
|
238
226
|
|
|
239
|
-
// authentication Basic required
|
|
240
|
-
// http basic authentication required
|
|
241
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
242
|
-
|
|
243
227
|
// authentication OAuth2 required
|
|
244
228
|
// oauth required
|
|
245
229
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -287,10 +271,6 @@ export const CallsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
287
271
|
const localVarHeaderParameter = {} as any;
|
|
288
272
|
const localVarQueryParameter = {} as any;
|
|
289
273
|
|
|
290
|
-
// authentication Basic required
|
|
291
|
-
// http basic authentication required
|
|
292
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
293
|
-
|
|
294
274
|
// authentication OAuth2 required
|
|
295
275
|
// oauth required
|
|
296
276
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
package/api/conferences-api.ts
CHANGED
|
@@ -69,10 +69,6 @@ export const ConferencesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
69
69
|
const localVarHeaderParameter = {} as any;
|
|
70
70
|
const localVarQueryParameter = {} as any;
|
|
71
71
|
|
|
72
|
-
// authentication Basic required
|
|
73
|
-
// http basic authentication required
|
|
74
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
75
|
-
|
|
76
72
|
// authentication OAuth2 required
|
|
77
73
|
// oauth required
|
|
78
74
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -115,10 +111,6 @@ export const ConferencesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
115
111
|
const localVarHeaderParameter = {} as any;
|
|
116
112
|
const localVarQueryParameter = {} as any;
|
|
117
113
|
|
|
118
|
-
// authentication Basic required
|
|
119
|
-
// http basic authentication required
|
|
120
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
121
|
-
|
|
122
114
|
// authentication OAuth2 required
|
|
123
115
|
// oauth required
|
|
124
116
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -165,10 +157,6 @@ export const ConferencesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
165
157
|
const localVarHeaderParameter = {} as any;
|
|
166
158
|
const localVarQueryParameter = {} as any;
|
|
167
159
|
|
|
168
|
-
// authentication Basic required
|
|
169
|
-
// http basic authentication required
|
|
170
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
171
|
-
|
|
172
160
|
// authentication OAuth2 required
|
|
173
161
|
// oauth required
|
|
174
162
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -215,10 +203,6 @@ export const ConferencesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
215
203
|
const localVarHeaderParameter = {} as any;
|
|
216
204
|
const localVarQueryParameter = {} as any;
|
|
217
205
|
|
|
218
|
-
// authentication Basic required
|
|
219
|
-
// http basic authentication required
|
|
220
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
221
|
-
|
|
222
206
|
// authentication OAuth2 required
|
|
223
207
|
// oauth required
|
|
224
208
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -261,10 +245,6 @@ export const ConferencesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
261
245
|
const localVarHeaderParameter = {} as any;
|
|
262
246
|
const localVarQueryParameter = {} as any;
|
|
263
247
|
|
|
264
|
-
// authentication Basic required
|
|
265
|
-
// http basic authentication required
|
|
266
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
267
|
-
|
|
268
248
|
// authentication OAuth2 required
|
|
269
249
|
// oauth required
|
|
270
250
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -308,10 +288,6 @@ export const ConferencesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
308
288
|
const localVarHeaderParameter = {} as any;
|
|
309
289
|
const localVarQueryParameter = {} as any;
|
|
310
290
|
|
|
311
|
-
// authentication Basic required
|
|
312
|
-
// http basic authentication required
|
|
313
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
314
|
-
|
|
315
291
|
// authentication OAuth2 required
|
|
316
292
|
// oauth required
|
|
317
293
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -377,10 +353,6 @@ export const ConferencesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
377
353
|
const localVarHeaderParameter = {} as any;
|
|
378
354
|
const localVarQueryParameter = {} as any;
|
|
379
355
|
|
|
380
|
-
// authentication Basic required
|
|
381
|
-
// http basic authentication required
|
|
382
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
383
|
-
|
|
384
356
|
// authentication OAuth2 required
|
|
385
357
|
// oauth required
|
|
386
358
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -428,10 +400,6 @@ export const ConferencesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
428
400
|
const localVarHeaderParameter = {} as any;
|
|
429
401
|
const localVarQueryParameter = {} as any;
|
|
430
402
|
|
|
431
|
-
// authentication Basic required
|
|
432
|
-
// http basic authentication required
|
|
433
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
434
|
-
|
|
435
403
|
// authentication OAuth2 required
|
|
436
404
|
// oauth required
|
|
437
405
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -483,10 +451,6 @@ export const ConferencesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
483
451
|
const localVarHeaderParameter = {} as any;
|
|
484
452
|
const localVarQueryParameter = {} as any;
|
|
485
453
|
|
|
486
|
-
// authentication Basic required
|
|
487
|
-
// http basic authentication required
|
|
488
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
489
|
-
|
|
490
454
|
// authentication OAuth2 required
|
|
491
455
|
// oauth required
|
|
492
456
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
package/api/endpoints-api.ts
CHANGED
|
@@ -66,10 +66,6 @@ export const EndpointsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
66
66
|
const localVarHeaderParameter = {} as any;
|
|
67
67
|
const localVarQueryParameter = {} as any;
|
|
68
68
|
|
|
69
|
-
// authentication Basic required
|
|
70
|
-
// http basic authentication required
|
|
71
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
72
|
-
|
|
73
69
|
// authentication OAuth2 required
|
|
74
70
|
// oauth required
|
|
75
71
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -114,10 +110,6 @@ export const EndpointsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
114
110
|
const localVarHeaderParameter = {} as any;
|
|
115
111
|
const localVarQueryParameter = {} as any;
|
|
116
112
|
|
|
117
|
-
// authentication Basic required
|
|
118
|
-
// http basic authentication required
|
|
119
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
120
|
-
|
|
121
113
|
// authentication OAuth2 required
|
|
122
114
|
// oauth required
|
|
123
115
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -160,10 +152,6 @@ export const EndpointsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
160
152
|
const localVarHeaderParameter = {} as any;
|
|
161
153
|
const localVarQueryParameter = {} as any;
|
|
162
154
|
|
|
163
|
-
// authentication Basic required
|
|
164
|
-
// http basic authentication required
|
|
165
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
166
|
-
|
|
167
155
|
// authentication OAuth2 required
|
|
168
156
|
// oauth required
|
|
169
157
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -206,10 +194,6 @@ export const EndpointsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
206
194
|
const localVarHeaderParameter = {} as any;
|
|
207
195
|
const localVarQueryParameter = {} as any;
|
|
208
196
|
|
|
209
|
-
// authentication Basic required
|
|
210
|
-
// http basic authentication required
|
|
211
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
212
|
-
|
|
213
197
|
// authentication OAuth2 required
|
|
214
198
|
// oauth required
|
|
215
199
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -271,10 +255,6 @@ export const EndpointsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
271
255
|
const localVarHeaderParameter = {} as any;
|
|
272
256
|
const localVarQueryParameter = {} as any;
|
|
273
257
|
|
|
274
|
-
// authentication Basic required
|
|
275
|
-
// http basic authentication required
|
|
276
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
277
|
-
|
|
278
258
|
// authentication OAuth2 required
|
|
279
259
|
// oauth required
|
|
280
260
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
package/api/media-api.ts
CHANGED
|
@@ -57,10 +57,6 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
57
57
|
const localVarHeaderParameter = {} as any;
|
|
58
58
|
const localVarQueryParameter = {} as any;
|
|
59
59
|
|
|
60
|
-
// authentication Basic required
|
|
61
|
-
// http basic authentication required
|
|
62
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
63
|
-
|
|
64
60
|
// authentication OAuth2 required
|
|
65
61
|
// oauth required
|
|
66
62
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -103,10 +99,6 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
103
99
|
const localVarHeaderParameter = {} as any;
|
|
104
100
|
const localVarQueryParameter = {} as any;
|
|
105
101
|
|
|
106
|
-
// authentication Basic required
|
|
107
|
-
// http basic authentication required
|
|
108
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
109
|
-
|
|
110
102
|
// authentication OAuth2 required
|
|
111
103
|
// oauth required
|
|
112
104
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -146,10 +138,6 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
146
138
|
const localVarHeaderParameter = {} as any;
|
|
147
139
|
const localVarQueryParameter = {} as any;
|
|
148
140
|
|
|
149
|
-
// authentication Basic required
|
|
150
|
-
// http basic authentication required
|
|
151
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
152
|
-
|
|
153
141
|
// authentication OAuth2 required
|
|
154
142
|
// oauth required
|
|
155
143
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -169,13 +157,13 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
169
157
|
};
|
|
170
158
|
},
|
|
171
159
|
/**
|
|
172
|
-
* Upload a file.
|
|
160
|
+
* Upload a file. Filename should always be unique. Reusing filenames may result in the wrong media being sent. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported).
|
|
173
161
|
* @summary Upload Media
|
|
174
162
|
* @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
175
163
|
* @param {string} mediaId The ID of the media file.
|
|
176
164
|
* @param {File} body
|
|
177
165
|
* @param {string} [contentType] The media type of the entity-body.
|
|
178
|
-
* @param {string} [cacheControl]
|
|
166
|
+
* @param {string} [cacheControl] Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior.
|
|
179
167
|
* @param {*} [options] Override http request option.
|
|
180
168
|
* @throws {RequiredError}
|
|
181
169
|
*/
|
|
@@ -200,10 +188,6 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
200
188
|
const localVarHeaderParameter = {} as any;
|
|
201
189
|
const localVarQueryParameter = {} as any;
|
|
202
190
|
|
|
203
|
-
// authentication Basic required
|
|
204
|
-
// http basic authentication required
|
|
205
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
206
|
-
|
|
207
191
|
// authentication OAuth2 required
|
|
208
192
|
// oauth required
|
|
209
193
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -279,13 +263,13 @@ export const MediaApiFp = function(configuration?: Configuration) {
|
|
|
279
263
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
280
264
|
},
|
|
281
265
|
/**
|
|
282
|
-
* Upload a file.
|
|
266
|
+
* Upload a file. Filename should always be unique. Reusing filenames may result in the wrong media being sent. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported).
|
|
283
267
|
* @summary Upload Media
|
|
284
268
|
* @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
285
269
|
* @param {string} mediaId The ID of the media file.
|
|
286
270
|
* @param {File} body
|
|
287
271
|
* @param {string} [contentType] The media type of the entity-body.
|
|
288
|
-
* @param {string} [cacheControl]
|
|
272
|
+
* @param {string} [cacheControl] Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior.
|
|
289
273
|
* @param {*} [options] Override http request option.
|
|
290
274
|
* @throws {RequiredError}
|
|
291
275
|
*/
|
|
@@ -338,13 +322,13 @@ export const MediaApiFactory = function (configuration?: Configuration, basePath
|
|
|
338
322
|
return localVarFp.listMedia(accountId, continuationToken, options).then((request) => request(axios, basePath));
|
|
339
323
|
},
|
|
340
324
|
/**
|
|
341
|
-
* Upload a file.
|
|
325
|
+
* Upload a file. Filename should always be unique. Reusing filenames may result in the wrong media being sent. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported).
|
|
342
326
|
* @summary Upload Media
|
|
343
327
|
* @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
344
328
|
* @param {string} mediaId The ID of the media file.
|
|
345
329
|
* @param {File} body
|
|
346
330
|
* @param {string} [contentType] The media type of the entity-body.
|
|
347
|
-
* @param {string} [cacheControl]
|
|
331
|
+
* @param {string} [cacheControl] Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior.
|
|
348
332
|
* @param {*} [options] Override http request option.
|
|
349
333
|
* @throws {RequiredError}
|
|
350
334
|
*/
|
|
@@ -395,13 +379,13 @@ export class MediaApi extends BaseAPI {
|
|
|
395
379
|
}
|
|
396
380
|
|
|
397
381
|
/**
|
|
398
|
-
* Upload a file.
|
|
382
|
+
* Upload a file. Filename should always be unique. Reusing filenames may result in the wrong media being sent. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported).
|
|
399
383
|
* @summary Upload Media
|
|
400
384
|
* @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
|
|
401
385
|
* @param {string} mediaId The ID of the media file.
|
|
402
386
|
* @param {File} body
|
|
403
387
|
* @param {string} [contentType] The media type of the entity-body.
|
|
404
|
-
* @param {string} [cacheControl]
|
|
388
|
+
* @param {string} [cacheControl] Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior.
|
|
405
389
|
* @param {*} [options] Override http request option.
|
|
406
390
|
* @throws {RequiredError}
|
|
407
391
|
*/
|
package/api/messages-api.ts
CHANGED
|
@@ -70,10 +70,6 @@ export const MessagesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
70
70
|
const localVarHeaderParameter = {} as any;
|
|
71
71
|
const localVarQueryParameter = {} as any;
|
|
72
72
|
|
|
73
|
-
// authentication Basic required
|
|
74
|
-
// http basic authentication required
|
|
75
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
76
|
-
|
|
77
73
|
// authentication OAuth2 required
|
|
78
74
|
// oauth required
|
|
79
75
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -141,10 +137,6 @@ export const MessagesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
141
137
|
const localVarHeaderParameter = {} as any;
|
|
142
138
|
const localVarQueryParameter = {} as any;
|
|
143
139
|
|
|
144
|
-
// authentication Basic required
|
|
145
|
-
// http basic authentication required
|
|
146
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
147
|
-
|
|
148
140
|
// authentication OAuth2 required
|
|
149
141
|
// oauth required
|
|
150
142
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
package/api/mfaapi.ts
CHANGED
|
@@ -68,10 +68,6 @@ export const MFAApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
68
68
|
const localVarHeaderParameter = {} as any;
|
|
69
69
|
const localVarQueryParameter = {} as any;
|
|
70
70
|
|
|
71
|
-
// authentication Basic required
|
|
72
|
-
// http basic authentication required
|
|
73
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
74
|
-
|
|
75
71
|
// authentication OAuth2 required
|
|
76
72
|
// oauth required
|
|
77
73
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -115,10 +111,6 @@ export const MFAApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
115
111
|
const localVarHeaderParameter = {} as any;
|
|
116
112
|
const localVarQueryParameter = {} as any;
|
|
117
113
|
|
|
118
|
-
// authentication Basic required
|
|
119
|
-
// http basic authentication required
|
|
120
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
121
|
-
|
|
122
114
|
// authentication OAuth2 required
|
|
123
115
|
// oauth required
|
|
124
116
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -162,10 +154,6 @@ export const MFAApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
162
154
|
const localVarHeaderParameter = {} as any;
|
|
163
155
|
const localVarQueryParameter = {} as any;
|
|
164
156
|
|
|
165
|
-
// authentication Basic required
|
|
166
|
-
// http basic authentication required
|
|
167
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
168
|
-
|
|
169
157
|
// authentication OAuth2 required
|
|
170
158
|
// oauth required
|
|
171
159
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
package/api/multi-channel-api.ts
CHANGED
|
@@ -58,10 +58,6 @@ export const MultiChannelApiAxiosParamCreator = function (configuration?: Config
|
|
|
58
58
|
const localVarHeaderParameter = {} as any;
|
|
59
59
|
const localVarQueryParameter = {} as any;
|
|
60
60
|
|
|
61
|
-
// authentication Basic required
|
|
62
|
-
// http basic authentication required
|
|
63
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
64
|
-
|
|
65
61
|
// authentication OAuth2 required
|
|
66
62
|
// oauth required
|
|
67
63
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -64,10 +64,6 @@ export const PhoneNumberLookupApiAxiosParamCreator = function (configuration?: C
|
|
|
64
64
|
const localVarHeaderParameter = {} as any;
|
|
65
65
|
const localVarQueryParameter = {} as any;
|
|
66
66
|
|
|
67
|
-
// authentication Basic required
|
|
68
|
-
// http basic authentication required
|
|
69
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
70
|
-
|
|
71
67
|
// authentication OAuth2 required
|
|
72
68
|
// oauth required
|
|
73
69
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -111,10 +107,6 @@ export const PhoneNumberLookupApiAxiosParamCreator = function (configuration?: C
|
|
|
111
107
|
const localVarHeaderParameter = {} as any;
|
|
112
108
|
const localVarQueryParameter = {} as any;
|
|
113
109
|
|
|
114
|
-
// authentication Basic required
|
|
115
|
-
// http basic authentication required
|
|
116
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
117
|
-
|
|
118
110
|
// authentication OAuth2 required
|
|
119
111
|
// oauth required
|
|
120
112
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|
|
@@ -159,10 +151,6 @@ export const PhoneNumberLookupApiAxiosParamCreator = function (configuration?: C
|
|
|
159
151
|
const localVarHeaderParameter = {} as any;
|
|
160
152
|
const localVarQueryParameter = {} as any;
|
|
161
153
|
|
|
162
|
-
// authentication Basic required
|
|
163
|
-
// http basic authentication required
|
|
164
|
-
setBasicAuthToObject(localVarRequestOptions, configuration)
|
|
165
|
-
|
|
166
154
|
// authentication OAuth2 required
|
|
167
155
|
// oauth required
|
|
168
156
|
await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
|