bandwidth-sdk 3.2.1 → 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 +28 -8
- package/README.md +3 -4
- package/api/toll-free-verification-api.ts +715 -0
- package/api.ts +1 -0
- package/bandwidth.yml +1638 -589
- package/base.ts +48 -0
- package/configuration.ts +1 -1
- package/coverage/clover.xml +677 -442
- package/coverage/coverage-final.json +70 -65
- 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 +184 -0
- 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 +65 -5
- package/coverage/lcov-report/node-sdk/models/index.ts.html +162 -105
- 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 +1115 -530
- 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/address.d.ts +60 -0
- package/dist/models/callback-type-enum.d.ts +23 -0
- package/dist/models/callback-type-enum.js +27 -0
- package/dist/models/contact.d.ts +42 -0
- package/dist/models/failure-webhook.d.ts +54 -0
- package/dist/models/index.d.ts +27 -8
- package/dist/models/index.js +27 -8
- package/dist/models/links-object.d.ts +42 -0
- package/dist/models/{message-sending-callback-message.d.ts → message-callback-message.d.ts} +17 -17
- package/dist/models/message-callback.d.ts +56 -0
- package/dist/models/model-error.d.ts +37 -0
- package/dist/models/opt-in-workflow.d.ts +30 -0
- package/dist/models/{transcription-list.d.ts → telephone-number.d.ts} +6 -7
- 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/callback-type-enum.ts +33 -0
- package/models/contact.ts +48 -0
- package/models/failure-webhook.ts +60 -0
- package/models/index.ts +27 -8
- package/models/links-object.ts +48 -0
- package/models/{message-sending-callback-message.ts → message-callback-message.ts} +17 -17
- package/models/message-callback.ts +68 -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/{transcription-list.ts → tfv-submission-wrapper.ts} +6 -6
- 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/callback-type-enum.test.ts +10 -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/dist/models/inbound-message-callback-message.d.ts +0 -92
- package/dist/models/inbound-message-callback.d.ts +0 -49
- package/dist/models/message-delivered-callback-message.d.ts +0 -92
- package/dist/models/message-delivered-callback.d.ts +0 -49
- package/dist/models/message-failed-callback-message.d.ts +0 -92
- package/dist/models/message-failed-callback.d.ts +0 -55
- package/dist/models/message-sending-callback.d.ts +0 -49
- package/dist/models/transcription-metadata.d.ts +0 -42
- package/models/inbound-message-callback-message.ts +0 -104
- package/models/inbound-message-callback.ts +0 -57
- package/models/message-delivered-callback-message.ts +0 -104
- package/models/message-delivered-callback.ts +0 -57
- package/models/message-failed-callback-message.ts +0 -104
- package/models/message-failed-callback.ts +0 -63
- package/models/message-sending-callback.ts +0 -57
- package/models/transcription-metadata.ts +0 -48
- /package/dist/models/{inbound-message-callback-message.js → additional-denial-reason.js} +0 -0
- /package/dist/models/{inbound-message-callback.js → address.js} +0 -0
- /package/dist/models/{message-delivered-callback-message.js → contact.js} +0 -0
- /package/dist/models/{message-delivered-callback.js → failure-webhook.js} +0 -0
- /package/dist/models/{message-failed-callback-message.js → links-object.js} +0 -0
- /package/dist/models/{message-failed-callback.js → message-callback-message.js} +0 -0
- /package/dist/models/{message-sending-callback-message.js → message-callback.js} +0 -0
- /package/dist/models/{message-sending-callback.js → model-error.js} +0 -0
- /package/dist/models/{transcription-list.js → opt-in-workflow.js} +0 -0
- /package/dist/models/{transcription-metadata.js → telephone-number.js} +0 -0
package/base.ts
CHANGED
|
@@ -299,6 +299,54 @@ export const operationServerMap: ServerMap = {
|
|
|
299
299
|
description: "Production",
|
|
300
300
|
}
|
|
301
301
|
],
|
|
302
|
+
"TollFreeVerificationApi.createWebhookSubscription": [
|
|
303
|
+
{
|
|
304
|
+
url: "https://api.bandwidth.com/api/v2",
|
|
305
|
+
description: "Production",
|
|
306
|
+
}
|
|
307
|
+
],
|
|
308
|
+
"TollFreeVerificationApi.deleteWebhookSubscription": [
|
|
309
|
+
{
|
|
310
|
+
url: "https://api.bandwidth.com/api/v2",
|
|
311
|
+
description: "Production",
|
|
312
|
+
}
|
|
313
|
+
],
|
|
314
|
+
"TollFreeVerificationApi.getTollFreeVerificationStatus": [
|
|
315
|
+
{
|
|
316
|
+
url: "https://api.bandwidth.com/api/v2",
|
|
317
|
+
description: "Production",
|
|
318
|
+
}
|
|
319
|
+
],
|
|
320
|
+
"TollFreeVerificationApi.listTollFreeUseCases": [
|
|
321
|
+
{
|
|
322
|
+
url: "https://api.bandwidth.com/api/v2",
|
|
323
|
+
description: "Production",
|
|
324
|
+
}
|
|
325
|
+
],
|
|
326
|
+
"TollFreeVerificationApi.listWebhookSubscriptions": [
|
|
327
|
+
{
|
|
328
|
+
url: "https://api.bandwidth.com/api/v2",
|
|
329
|
+
description: "Production",
|
|
330
|
+
}
|
|
331
|
+
],
|
|
332
|
+
"TollFreeVerificationApi.requestTollFreeVerification": [
|
|
333
|
+
{
|
|
334
|
+
url: "https://api.bandwidth.com/api/v2",
|
|
335
|
+
description: "Production",
|
|
336
|
+
}
|
|
337
|
+
],
|
|
338
|
+
"TollFreeVerificationApi.updateTollFreeVerificationRequest": [
|
|
339
|
+
{
|
|
340
|
+
url: "https://api.bandwidth.com/api/v2",
|
|
341
|
+
description: "Production",
|
|
342
|
+
}
|
|
343
|
+
],
|
|
344
|
+
"TollFreeVerificationApi.updateWebhookSubscription": [
|
|
345
|
+
{
|
|
346
|
+
url: "https://api.bandwidth.com/api/v2",
|
|
347
|
+
description: "Production",
|
|
348
|
+
}
|
|
349
|
+
],
|
|
302
350
|
"TranscriptionsApi.deleteRealTimeTranscription": [
|
|
303
351
|
{
|
|
304
352
|
url: "https://voice.bandwidth.com/api/v2",
|
package/configuration.ts
CHANGED
|
@@ -93,7 +93,7 @@ export class Configuration {
|
|
|
93
93
|
...param.baseOptions,
|
|
94
94
|
headers: {
|
|
95
95
|
...param.baseOptions?.headers,
|
|
96
|
-
'User-Agent': "OpenAPI-Generator/
|
|
96
|
+
'User-Agent': "OpenAPI-Generator/4.1.0/typescript-axios"
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
this.formDataCtor = param.formDataCtor;
|