bandwidth-sdk 4.0.0 → 4.1.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 +1 -1
- package/.github/workflows/deploy.yml +8 -2
- package/.github/workflows/test-pr.yml +2 -2
- package/.github/workflows/test-smoke.yml +39 -10
- package/.openapi-generator/FILES +25 -0
- package/README.md +3 -4
- package/api/toll-free-verification-api.ts +715 -0
- package/api.ts +1 -0
- package/bandwidth.yml +1102 -0
- package/base.ts +48 -0
- package/configuration.ts +1 -1
- package/coverage/clover.xml +674 -438
- package/coverage/coverage-final.json +70 -66
- package/coverage/lcov-report/index.html +26 -26
- package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +14 -14
- package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +18 -18
- package/coverage/lcov-report/node-sdk/api/index.html +24 -9
- package/coverage/lcov-report/node-sdk/api/media-api.ts.html +13 -13
- package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +11 -11
- package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +12 -12
- package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +11 -11
- package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +19 -19
- package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +10 -10
- package/coverage/lcov-report/node-sdk/api/toll-free-verification-api.ts.html +2230 -0
- package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +12 -12
- package/coverage/lcov-report/node-sdk/api.ts.html +16 -13
- package/coverage/lcov-report/node-sdk/base.ts.html +158 -14
- package/coverage/lcov-report/node-sdk/common.ts.html +32 -32
- package/coverage/lcov-report/node-sdk/configuration.ts.html +16 -16
- package/coverage/lcov-report/node-sdk/index.html +7 -7
- package/coverage/lcov-report/node-sdk/models/bxml/Bxml.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/NestableVerb.ts.html +6 -6
- package/coverage/lcov-report/node-sdk/models/bxml/Response.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/Root.ts.html +8 -8
- package/coverage/lcov-report/node-sdk/models/bxml/Verb.ts.html +6 -6
- package/coverage/lcov-report/node-sdk/models/bxml/index.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/index.ts.html +3 -3
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Bridge.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Conference.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/CustomParam.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Forward.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Gather.ts.html +7 -7
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Hangup.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Pause.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PauseRecording.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PhoneNumber.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PlayAudio.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Record.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Redirect.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/ResumeRecording.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Ring.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SendDtmf.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SipUri.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SpeakSentence.ts.html +6 -6
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartGather.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartRecording.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartStream.ts.html +5 -5
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartTranscription.ts.html +5 -5
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopGather.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopRecording.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopStream.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopTranscription.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StreamParam.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Tag.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Transfer.ts.html +5 -5
- 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 +31 -31
- package/coverage/lcov-report/node-sdk/models/call-direction-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/callback-type-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/file-format-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/index.html +50 -5
- package/coverage/lcov-report/node-sdk/models/index.ts.html +164 -92
- package/coverage/lcov-report/node-sdk/models/list-message-direction-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/lookup-status-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/priority-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/tfv-callback-status-enum.ts.html +178 -0
- package/coverage/lcov-report/node-sdk/models/tfv-status-enum.ts.html +187 -0
- package/coverage/lcov-report/node-sdk/models/webhook-subscription-type-enum.ts.html +178 -0
- package/coverage/lcov.info +1106 -526
- package/custom_templates/README.mustache +3 -4
- package/dist/api/toll-free-verification-api.d.ts +338 -0
- package/dist/api/toll-free-verification-api.js +870 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/base.js +48 -0
- package/dist/configuration.js +1 -1
- package/dist/models/additional-denial-reason.d.ts +36 -0
- package/dist/models/additional-denial-reason.js +15 -0
- package/dist/models/address.d.ts +60 -0
- package/dist/models/address.js +15 -0
- package/dist/models/contact.d.ts +42 -0
- package/dist/models/contact.js +15 -0
- package/dist/models/failure-webhook.d.ts +54 -0
- package/dist/models/failure-webhook.js +15 -0
- package/dist/models/index.d.ts +24 -0
- package/dist/models/index.js +24 -0
- package/dist/models/links-object.d.ts +42 -0
- package/dist/models/links-object.js +15 -0
- package/dist/models/model-error.d.ts +37 -0
- package/dist/models/model-error.js +15 -0
- package/dist/models/opt-in-workflow.d.ts +30 -0
- package/dist/models/opt-in-workflow.js +15 -0
- package/dist/models/telephone-number.d.ts +24 -0
- package/dist/models/telephone-number.js +15 -0
- package/dist/models/tfv-basic-authentication.d.ts +30 -0
- package/dist/models/tfv-basic-authentication.js +15 -0
- package/dist/models/tfv-callback-status-enum.d.ts +21 -0
- package/dist/models/tfv-callback-status-enum.js +25 -0
- package/dist/models/tfv-error.d.ts +36 -0
- package/dist/models/tfv-error.js +15 -0
- package/dist/models/tfv-status-enum.d.ts +24 -0
- package/dist/models/tfv-status-enum.js +28 -0
- package/dist/models/tfv-status.d.ts +68 -0
- package/dist/models/tfv-status.js +15 -0
- package/dist/models/tfv-submission-info.d.ts +75 -0
- package/dist/models/tfv-submission-info.js +15 -0
- package/dist/models/tfv-submission-wrapper.d.ts +25 -0
- package/dist/models/tfv-submission-wrapper.js +15 -0
- package/dist/models/verification-denial-webhook.d.ts +67 -0
- package/dist/models/verification-denial-webhook.js +15 -0
- package/dist/models/verification-request.d.ts +81 -0
- package/dist/models/verification-request.js +15 -0
- package/dist/models/verification-update-request.d.ts +75 -0
- package/dist/models/verification-update-request.js +15 -0
- package/dist/models/verification-webhook.d.ts +43 -0
- package/dist/models/verification-webhook.js +15 -0
- package/dist/models/webhook-subscription-basic-authentication.d.ts +30 -0
- package/dist/models/webhook-subscription-basic-authentication.js +15 -0
- package/dist/models/webhook-subscription-request-schema.d.ts +37 -0
- package/dist/models/webhook-subscription-request-schema.js +15 -0
- package/dist/models/webhook-subscription-type-enum.d.ts +21 -0
- package/dist/models/webhook-subscription-type-enum.js +25 -0
- package/dist/models/webhook-subscription.d.ts +62 -0
- package/dist/models/webhook-subscription.js +15 -0
- package/dist/models/webhook-subscriptions-list-body.d.ts +39 -0
- package/dist/models/webhook-subscriptions-list-body.js +15 -0
- package/models/additional-denial-reason.ts +42 -0
- package/models/address.ts +66 -0
- package/models/contact.ts +48 -0
- package/models/failure-webhook.ts +60 -0
- package/models/index.ts +24 -0
- package/models/links-object.ts +48 -0
- package/models/model-error.ts +45 -0
- package/models/opt-in-workflow.ts +36 -0
- package/models/telephone-number.ts +30 -0
- package/models/tfv-basic-authentication.ts +36 -0
- package/models/tfv-callback-status-enum.ts +31 -0
- package/models/tfv-error.ts +42 -0
- package/models/tfv-status-enum.ts +34 -0
- package/models/tfv-status.ts +80 -0
- package/models/tfv-submission-info.ts +87 -0
- package/models/tfv-submission-wrapper.ts +33 -0
- package/models/verification-denial-webhook.ts +75 -0
- package/models/verification-request.ts +93 -0
- package/models/verification-update-request.ts +87 -0
- package/models/verification-webhook.ts +53 -0
- package/models/webhook-subscription-basic-authentication.ts +36 -0
- package/models/webhook-subscription-request-schema.ts +45 -0
- package/models/webhook-subscription-type-enum.ts +31 -0
- package/models/webhook-subscription.ts +74 -0
- package/models/webhook-subscriptions-list-body.ts +51 -0
- package/openapi-config.yml +0 -1
- package/package.json +1 -1
- package/tests/callUtils.ts +0 -8
- package/tests/smoke/phone-number-lookup-api.test.ts +2 -12
- package/tests/smoke/toll-free-verification-api.test.ts +18 -0
- package/tests/unit/api/calls-api.test.ts +5 -5
- package/tests/unit/api/conferences-api.test.ts +4 -4
- package/tests/unit/api/messages-api.test.ts +5 -14
- package/tests/unit/api/phone-number-lookup-api.test.ts +2 -12
- package/tests/unit/api/recordings-api.test.ts +6 -6
- package/tests/unit/api/toll-free-verification-api.test.ts +159 -0
- package/tests/unit/models/tfv-callback-status-enum.test.ts +8 -0
- package/tests/unit/models/tfv-status-enum.test.ts +11 -0
- package/tests/unit/models/webhook-subscription-type-enum.test.ts +8 -0
package/.github/CODEOWNERS
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Global rule:
|
|
2
|
-
* @Bandwidth/band-swi @Bandwidth/band-swi-github-repo-admin
|
|
2
|
+
* @Bandwidth/band-swi @Bandwidth/band-swi-github-repo-admin @Bandwidth/band-programmable-voice-swi @Bandwidth/band-devx
|
|
3
3
|
|
|
4
4
|
# SWI as reviewers on catalog files
|
|
5
5
|
.bandwidth @Bandwidth/band-swi
|
|
@@ -49,10 +49,16 @@ jobs:
|
|
|
49
49
|
node-version: 22
|
|
50
50
|
registry-url: "https://registry.npmjs.org"
|
|
51
51
|
|
|
52
|
+
- name: Set OpenAPI Generator Version
|
|
53
|
+
run: |
|
|
54
|
+
OPENAPI_VERSION=$(jq .[\"generator-cli\"].version openapitools.json)
|
|
55
|
+
echo "OPENAPI_GENERATOR_VERSION=$OPENAPI_VERSION" >> $GITHUB_ENV
|
|
56
|
+
shell: bash
|
|
57
|
+
|
|
52
58
|
- name: Generate SDK with Updated Version
|
|
53
59
|
uses: Bandwidth/generate-sdk-action@v4.0.0
|
|
54
60
|
with:
|
|
55
|
-
openapi-generator-version:
|
|
61
|
+
openapi-generator-version: ${{ env.OPENAPI_GENERATOR_VERSION }}
|
|
56
62
|
language: typescript-axios
|
|
57
63
|
additional-properties: --additional-properties=npmVersion=$PACKAGE_VERSION
|
|
58
64
|
|
|
@@ -70,7 +76,7 @@ jobs:
|
|
|
70
76
|
env:
|
|
71
77
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
|
|
72
78
|
|
|
73
|
-
- uses: Bandwidth/build-notify-slack-action@v2
|
|
79
|
+
- uses: Bandwidth/build-notify-slack-action@v2
|
|
74
80
|
if: always()
|
|
75
81
|
with:
|
|
76
82
|
job-status: ${{ job.status }}
|
|
@@ -26,12 +26,12 @@ env:
|
|
|
26
26
|
MANTECA_APPLICATION_ID: ${{ secrets.MANTECA_APPLICATION_ID }}
|
|
27
27
|
|
|
28
28
|
jobs:
|
|
29
|
-
|
|
29
|
+
test:
|
|
30
30
|
name: Test PR
|
|
31
31
|
runs-on: ${{ matrix.os }}
|
|
32
32
|
strategy:
|
|
33
33
|
matrix:
|
|
34
|
-
os: [windows-
|
|
34
|
+
os: [windows-2019, windows-2022, ubuntu-22.04, ubuntu-24.04]
|
|
35
35
|
node-version: [18, 20, 22]
|
|
36
36
|
fail-fast: false
|
|
37
37
|
steps:
|
|
@@ -6,31 +6,60 @@ on:
|
|
|
6
6
|
pull_request:
|
|
7
7
|
paths:
|
|
8
8
|
- "tests/smoke/**"
|
|
9
|
+
- ".github/workflows/test-smoke.yml"
|
|
9
10
|
|
|
10
11
|
concurrency:
|
|
11
12
|
group: ${{ github.workflow }}-${{ github.head_ref }}
|
|
12
13
|
cancel-in-progress: true
|
|
13
14
|
|
|
14
15
|
env:
|
|
15
|
-
BW_ACCOUNT_ID: ${{ secrets.BW_ACCOUNT_ID }}
|
|
16
16
|
BW_USERNAME: ${{ secrets.BW_USERNAME }}
|
|
17
17
|
BW_PASSWORD: ${{ secrets.BW_PASSWORD }}
|
|
18
18
|
BW_USERNAME_FORBIDDEN: ${{ secrets.BW_USERNAME_FORBIDDEN }}
|
|
19
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
20
|
USER_NUMBER: ${{ secrets.USER_NUMBER }}
|
|
24
21
|
BASE_CALLBACK_URL: ${{ secrets.BASE_CALLBACK_URL }}
|
|
25
|
-
MANTECA_ACTIVE_NUMBER: ${{ secrets.MANTECA_ACTIVE_NUMBER }}
|
|
26
|
-
MANTECA_IDLE_NUMBER: ${{ secrets.MANTECA_IDLE_NUMBER }}
|
|
27
22
|
MANTECA_BASE_URL: ${{ secrets.MANTECA_BASE_URL }}
|
|
28
|
-
MANTECA_APPLICATION_ID: ${{ secrets.MANTECA_APPLICATION_ID }}
|
|
29
23
|
|
|
30
24
|
jobs:
|
|
31
|
-
|
|
25
|
+
test:
|
|
32
26
|
name: Smoke Test
|
|
33
27
|
runs-on: ubuntu-latest
|
|
28
|
+
env:
|
|
29
|
+
BW_ACCOUNT_ID: ${{ secrets.BW_ACCOUNT_ID }}
|
|
30
|
+
BW_VOICE_APPLICATION_ID: ${{ secrets.BW_VOICE_APPLICATION_ID }}
|
|
31
|
+
BW_MESSAGING_APPLICATION_ID: ${{ secrets.BW_MESSAGING_APPLICATION_ID }}
|
|
32
|
+
BW_NUMBER: ${{ secrets.BW_NUMBER }}
|
|
33
|
+
MANTECA_ACTIVE_NUMBER: ${{ secrets.MANTECA_ACTIVE_NUMBER }}
|
|
34
|
+
MANTECA_IDLE_NUMBER: ${{ secrets.MANTECA_IDLE_NUMBER }}
|
|
35
|
+
MANTECA_APPLICATION_ID: ${{ secrets.MANTECA_APPLICATION_ID }}
|
|
36
|
+
steps:
|
|
37
|
+
- name: Checkout
|
|
38
|
+
uses: actions/checkout@v4
|
|
39
|
+
|
|
40
|
+
- name: Setup Node
|
|
41
|
+
uses: actions/setup-node@v4
|
|
42
|
+
with:
|
|
43
|
+
node-version: 22
|
|
44
|
+
|
|
45
|
+
- name: Install Packages and Test
|
|
46
|
+
run: |
|
|
47
|
+
yarn
|
|
48
|
+
yarn test-smoke
|
|
49
|
+
env:
|
|
50
|
+
OPERATING_SYSTEM: "ubuntu"
|
|
51
|
+
|
|
52
|
+
test_up:
|
|
53
|
+
name: Smoke Test UP Account
|
|
54
|
+
runs-on: ubuntu-latest
|
|
55
|
+
env:
|
|
56
|
+
BW_ACCOUNT_ID: ${{ secrets.BW_UP_ACCOUNT_ID }}
|
|
57
|
+
BW_VOICE_APPLICATION_ID: ${{ secrets.BW_UP_VOICE_APPLICATION_ID }}
|
|
58
|
+
BW_MESSAGING_APPLICATION_ID: ${{ secrets.BW_UP_MESSAGING_APPLICATION_ID }}
|
|
59
|
+
BW_NUMBER: ${{ secrets.BW_UP_NUMBER }}
|
|
60
|
+
MANTECA_ACTIVE_NUMBER: ${{ secrets.MANTECA_UP_ACTIVE_NUMBER }}
|
|
61
|
+
MANTECA_IDLE_NUMBER: ${{ secrets.MANTECA_UP_IDLE_NUMBER }}
|
|
62
|
+
MANTECA_APPLICATION_ID: ${{ secrets.MANTECA_UP_APPLICATION_ID }}
|
|
34
63
|
steps:
|
|
35
64
|
- name: Checkout
|
|
36
65
|
uses: actions/checkout@v4
|
|
@@ -49,12 +78,12 @@ jobs:
|
|
|
49
78
|
|
|
50
79
|
notify_for_failures:
|
|
51
80
|
name: Notify for Failures
|
|
52
|
-
needs: [
|
|
81
|
+
needs: [test, test_up]
|
|
53
82
|
if: failure()
|
|
54
83
|
runs-on: ubuntu-latest
|
|
55
84
|
steps:
|
|
56
85
|
- name: Notify Slack of Failures
|
|
57
|
-
uses: Bandwidth/build-notify-slack-action@v2
|
|
86
|
+
uses: Bandwidth/build-notify-slack-action@v2
|
|
58
87
|
with:
|
|
59
88
|
job-status: failure
|
|
60
89
|
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
|
package/.openapi-generator/FILES
CHANGED
|
@@ -9,6 +9,7 @@ api/mfaapi.ts
|
|
|
9
9
|
api/phone-number-lookup-api.ts
|
|
10
10
|
api/recordings-api.ts
|
|
11
11
|
api/statistics-api.ts
|
|
12
|
+
api/toll-free-verification-api.ts
|
|
12
13
|
api/transcriptions-api.ts
|
|
13
14
|
base.ts
|
|
14
15
|
common.ts
|
|
@@ -16,6 +17,8 @@ configuration.ts
|
|
|
16
17
|
git_push.sh
|
|
17
18
|
index.ts
|
|
18
19
|
models/account-statistics.ts
|
|
20
|
+
models/additional-denial-reason.ts
|
|
21
|
+
models/address.ts
|
|
19
22
|
models/answer-callback.ts
|
|
20
23
|
models/bridge-complete-callback.ts
|
|
21
24
|
models/bridge-target-complete-callback.ts
|
|
@@ -41,6 +44,7 @@ models/conference-recording-metadata.ts
|
|
|
41
44
|
models/conference-redirect-callback.ts
|
|
42
45
|
models/conference-state-enum.ts
|
|
43
46
|
models/conference.ts
|
|
47
|
+
models/contact.ts
|
|
44
48
|
models/create-call-response.ts
|
|
45
49
|
models/create-call.ts
|
|
46
50
|
models/create-lookup-response.ts
|
|
@@ -49,11 +53,13 @@ models/deferred-result.ts
|
|
|
49
53
|
models/disconnect-callback.ts
|
|
50
54
|
models/diversion.ts
|
|
51
55
|
models/dtmf-callback.ts
|
|
56
|
+
models/failure-webhook.ts
|
|
52
57
|
models/field-error.ts
|
|
53
58
|
models/file-format-enum.ts
|
|
54
59
|
models/gather-callback.ts
|
|
55
60
|
models/index.ts
|
|
56
61
|
models/initiate-callback.ts
|
|
62
|
+
models/links-object.ts
|
|
57
63
|
models/list-message-direction-enum.ts
|
|
58
64
|
models/list-message-item.ts
|
|
59
65
|
models/lookup-request.ts
|
|
@@ -78,6 +84,8 @@ models/messaging-request-error.ts
|
|
|
78
84
|
models/mfa-forbidden-request-error.ts
|
|
79
85
|
models/mfa-request-error.ts
|
|
80
86
|
models/mfa-unauthorized-request-error.ts
|
|
87
|
+
models/model-error.ts
|
|
88
|
+
models/opt-in-workflow.ts
|
|
81
89
|
models/page-info.ts
|
|
82
90
|
models/priority-enum.ts
|
|
83
91
|
models/recording-available-callback.ts
|
|
@@ -89,6 +97,14 @@ models/redirect-callback.ts
|
|
|
89
97
|
models/redirect-method-enum.ts
|
|
90
98
|
models/stir-shaken.ts
|
|
91
99
|
models/tag.ts
|
|
100
|
+
models/telephone-number.ts
|
|
101
|
+
models/tfv-basic-authentication.ts
|
|
102
|
+
models/tfv-callback-status-enum.ts
|
|
103
|
+
models/tfv-error.ts
|
|
104
|
+
models/tfv-status-enum.ts
|
|
105
|
+
models/tfv-status.ts
|
|
106
|
+
models/tfv-submission-info.ts
|
|
107
|
+
models/tfv-submission-wrapper.ts
|
|
92
108
|
models/tn-lookup-request-error.ts
|
|
93
109
|
models/transcribe-recording.ts
|
|
94
110
|
models/transcription-available-callback.ts
|
|
@@ -100,9 +116,18 @@ models/update-call-recording.ts
|
|
|
100
116
|
models/update-call.ts
|
|
101
117
|
models/update-conference-member.ts
|
|
102
118
|
models/update-conference.ts
|
|
119
|
+
models/verification-denial-webhook.ts
|
|
120
|
+
models/verification-request.ts
|
|
121
|
+
models/verification-update-request.ts
|
|
122
|
+
models/verification-webhook.ts
|
|
103
123
|
models/verify-code-request.ts
|
|
104
124
|
models/verify-code-response.ts
|
|
105
125
|
models/voice-api-error.ts
|
|
106
126
|
models/voice-code-response.ts
|
|
127
|
+
models/webhook-subscription-basic-authentication.ts
|
|
128
|
+
models/webhook-subscription-request-schema.ts
|
|
129
|
+
models/webhook-subscription-type-enum.ts
|
|
130
|
+
models/webhook-subscription.ts
|
|
131
|
+
models/webhook-subscriptions-list-body.ts
|
|
107
132
|
package.json
|
|
108
133
|
tsconfig.json
|
package/README.md
CHANGED
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://github.com/Bandwidth/node-sdk/actions/workflows/deploy.yml)
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|:---:|:---:|
|
|
5
|
+
| **OS** | **Node** |
|
|
6
|
+
|:------------:|:----------:|
|
|
8
7
|
| Windows 2019 | 18, 20, 22 |
|
|
9
8
|
| Windows 2022 | 18, 20, 22 |
|
|
10
|
-
| Ubuntu 20.04 | 18, 20, 22 |
|
|
11
9
|
| Ubuntu 22.04 | 18, 20, 22 |
|
|
10
|
+
| Ubuntu 24.04 | 18, 20, 22 |
|
|
12
11
|
|
|
13
12
|
#### Available on NPM
|
|
14
13
|
```
|