bandwidth-sdk 7.0.1 → 7.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/workflows/deploy.yml +3 -1
- package/.github/workflows/test-pr.yml +3 -1
- package/.github/workflows/test-smoke.yml +4 -2
- package/README.md +10 -2
- package/api/calls-api.ts +20 -0
- package/api/conferences-api.ts +36 -0
- package/api/media-api.ts +16 -0
- package/api/messages-api.ts +8 -0
- package/api/mfaapi.ts +12 -0
- package/api/multi-channel-api.ts +4 -0
- package/api/phone-number-lookup-api.ts +12 -0
- package/api/recordings-api.ts +40 -0
- package/api/statistics-api.ts +4 -0
- package/api/toll-free-verification-api.ts +36 -0
- package/api/transcriptions-api.ts +12 -0
- package/bandwidth.yml +7 -0
- package/common.ts +3 -1
- package/configuration.ts +44 -2
- package/coverage/clover.xml +1112 -1046
- package/coverage/coverage-final.json +13 -13
- package/coverage/lcov-report/index.html +26 -26
- package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +66 -6
- package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +114 -6
- package/coverage/lcov-report/node-sdk/api/index.html +60 -60
- package/coverage/lcov-report/node-sdk/api/media-api.ts.html +54 -6
- package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +30 -6
- package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +42 -6
- package/coverage/lcov-report/node-sdk/api/multi-channel-api.ts.html +18 -6
- package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +42 -6
- package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +126 -6
- package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +18 -6
- package/coverage/lcov-report/node-sdk/api/toll-free-verification-api.ts.html +114 -6
- package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +42 -6
- 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 +24 -18
- package/coverage/lcov-report/node-sdk/configuration.ts.html +138 -12
- package/coverage/lcov-report/node-sdk/index.html +30 -30
- package/coverage/lcov-report/node-sdk/models/business-entity-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/business-registration-type-enum.ts.html +1 -1
- 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/CustomParam.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Forward.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Gather.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Hangup.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Pause.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PauseRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PhoneNumber.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PlayAudio.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Record.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Redirect.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/ResumeRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Ring.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SendDtmf.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SipUri.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SpeakSentence.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartGather.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartStream.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartTranscription.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopGather.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopStream.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopTranscription.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StreamParam.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Tag.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Transfer.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-direction-enum.ts.html +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/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 +1 -1
- package/coverage/lcov-report/node-sdk/models/index.ts.html +1 -1
- 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/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/standalone-card-orientation-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/status-callback-type-enum.ts.html +1 -1
- 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.info +2779 -2692
- package/custom_templates/README.mustache +2 -2
- package/custom_templates/common.mustache +3 -1
- package/custom_templates/configuration.mustache +43 -1
- package/custom_templates/package.mustache +5 -2
- package/dist/api/calls-api.js +192 -142
- package/dist/api/conferences-api.js +333 -243
- package/dist/api/media-api.js +142 -102
- package/dist/api/messages-api.js +145 -125
- package/dist/api/mfaapi.js +102 -72
- package/dist/api/multi-channel-api.js +34 -24
- package/dist/api/phone-number-lookup-api.js +101 -71
- package/dist/api/recordings-api.js +368 -268
- package/dist/api/statistics-api.js +30 -20
- package/dist/api/toll-free-verification-api.js +298 -208
- package/dist/api/transcriptions-api.js +105 -75
- package/dist/common.js +3 -1
- package/dist/configuration.d.ts +18 -0
- package/dist/configuration.js +71 -3
- package/docs/CallsApi.md +5 -5
- package/docs/ConferencesApi.md +9 -9
- package/docs/MFAApi.md +3 -3
- package/docs/MediaApi.md +4 -4
- package/docs/MessagesApi.md +2 -2
- package/docs/MultiChannelApi.md +1 -1
- package/docs/PhoneNumberLookupApi.md +3 -3
- package/docs/RecordingsApi.md +10 -10
- package/docs/StatisticsApi.md +1 -1
- package/docs/TollFreeVerificationApi.md +9 -9
- package/docs/TranscriptionsApi.md +3 -3
- package/jest.config.js +2 -0
- package/package.json +6 -3
- package/tests/smoke/bxml.test.ts +4 -1
- package/tests/smoke/calls-api.test.ts +4 -1
- package/tests/smoke/conferences-api.test.ts +4 -1
- package/tests/smoke/phone-number-lookup-api.test.ts +2 -2
- package/tests/smoke/recordings-api.test.ts +4 -1
- package/tests/smoke/statistics-api.test.ts +4 -1
- package/tests/smoke/toll-free-verification-api.test.ts +4 -1
- package/tests/smoke/transcriptions-api.test.ts +4 -1
package/docs/RecordingsApi.md
CHANGED
|
@@ -57,7 +57,7 @@ void (empty response body)
|
|
|
57
57
|
|
|
58
58
|
### Authorization
|
|
59
59
|
|
|
60
|
-
[Basic](../README.md#Basic)
|
|
60
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
61
61
|
|
|
62
62
|
### HTTP request headers
|
|
63
63
|
|
|
@@ -122,7 +122,7 @@ void (empty response body)
|
|
|
122
122
|
|
|
123
123
|
### Authorization
|
|
124
124
|
|
|
125
|
-
[Basic](../README.md#Basic)
|
|
125
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
126
126
|
|
|
127
127
|
### HTTP request headers
|
|
128
128
|
|
|
@@ -187,7 +187,7 @@ void (empty response body)
|
|
|
187
187
|
|
|
188
188
|
### Authorization
|
|
189
189
|
|
|
190
|
-
[Basic](../README.md#Basic)
|
|
190
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
191
191
|
|
|
192
192
|
### HTTP request headers
|
|
193
193
|
|
|
@@ -252,7 +252,7 @@ const { status, data } = await apiInstance.downloadCallRecording(
|
|
|
252
252
|
|
|
253
253
|
### Authorization
|
|
254
254
|
|
|
255
|
-
[Basic](../README.md#Basic)
|
|
255
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
256
256
|
|
|
257
257
|
### HTTP request headers
|
|
258
258
|
|
|
@@ -317,7 +317,7 @@ const { status, data } = await apiInstance.getCallRecording(
|
|
|
317
317
|
|
|
318
318
|
### Authorization
|
|
319
319
|
|
|
320
|
-
[Basic](../README.md#Basic)
|
|
320
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
321
321
|
|
|
322
322
|
### HTTP request headers
|
|
323
323
|
|
|
@@ -382,7 +382,7 @@ const { status, data } = await apiInstance.getRecordingTranscription(
|
|
|
382
382
|
|
|
383
383
|
### Authorization
|
|
384
384
|
|
|
385
|
-
[Basic](../README.md#Basic)
|
|
385
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
386
386
|
|
|
387
387
|
### HTTP request headers
|
|
388
388
|
|
|
@@ -453,7 +453,7 @@ const { status, data } = await apiInstance.listAccountCallRecordings(
|
|
|
453
453
|
|
|
454
454
|
### Authorization
|
|
455
455
|
|
|
456
|
-
[Basic](../README.md#Basic)
|
|
456
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
457
457
|
|
|
458
458
|
### HTTP request headers
|
|
459
459
|
|
|
@@ -515,7 +515,7 @@ const { status, data } = await apiInstance.listCallRecordings(
|
|
|
515
515
|
|
|
516
516
|
### Authorization
|
|
517
517
|
|
|
518
|
-
[Basic](../README.md#Basic)
|
|
518
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
519
519
|
|
|
520
520
|
### HTTP request headers
|
|
521
521
|
|
|
@@ -584,7 +584,7 @@ void (empty response body)
|
|
|
584
584
|
|
|
585
585
|
### Authorization
|
|
586
586
|
|
|
587
|
-
[Basic](../README.md#Basic)
|
|
587
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
588
588
|
|
|
589
589
|
### HTTP request headers
|
|
590
590
|
|
|
@@ -650,7 +650,7 @@ void (empty response body)
|
|
|
650
650
|
|
|
651
651
|
### Authorization
|
|
652
652
|
|
|
653
|
-
[Basic](../README.md#Basic)
|
|
653
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
654
654
|
|
|
655
655
|
### HTTP request headers
|
|
656
656
|
|
package/docs/StatisticsApi.md
CHANGED
|
@@ -54,7 +54,7 @@ const { status, data } = await apiInstance.createWebhookSubscription(
|
|
|
54
54
|
|
|
55
55
|
### Authorization
|
|
56
56
|
|
|
57
|
-
[Basic](../README.md#Basic)
|
|
57
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
58
58
|
|
|
59
59
|
### HTTP request headers
|
|
60
60
|
|
|
@@ -116,7 +116,7 @@ void (empty response body)
|
|
|
116
116
|
|
|
117
117
|
### Authorization
|
|
118
118
|
|
|
119
|
-
[Basic](../README.md#Basic)
|
|
119
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
120
120
|
|
|
121
121
|
### HTTP request headers
|
|
122
122
|
|
|
@@ -178,7 +178,7 @@ void (empty response body)
|
|
|
178
178
|
|
|
179
179
|
### Authorization
|
|
180
180
|
|
|
181
|
-
[Basic](../README.md#Basic)
|
|
181
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
182
182
|
|
|
183
183
|
### HTTP request headers
|
|
184
184
|
|
|
@@ -240,7 +240,7 @@ const { status, data } = await apiInstance.getTollFreeVerificationStatus(
|
|
|
240
240
|
|
|
241
241
|
### Authorization
|
|
242
242
|
|
|
243
|
-
[Basic](../README.md#Basic)
|
|
243
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
244
244
|
|
|
245
245
|
### HTTP request headers
|
|
246
246
|
|
|
@@ -292,7 +292,7 @@ This endpoint does not have any parameters.
|
|
|
292
292
|
|
|
293
293
|
### Authorization
|
|
294
294
|
|
|
295
|
-
[Basic](../README.md#Basic)
|
|
295
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
296
296
|
|
|
297
297
|
### HTTP request headers
|
|
298
298
|
|
|
@@ -351,7 +351,7 @@ const { status, data } = await apiInstance.listWebhookSubscriptions(
|
|
|
351
351
|
|
|
352
352
|
### Authorization
|
|
353
353
|
|
|
354
|
-
[Basic](../README.md#Basic)
|
|
354
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
355
355
|
|
|
356
356
|
### HTTP request headers
|
|
357
357
|
|
|
@@ -413,7 +413,7 @@ void (empty response body)
|
|
|
413
413
|
|
|
414
414
|
### Authorization
|
|
415
415
|
|
|
416
|
-
[Basic](../README.md#Basic)
|
|
416
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
417
417
|
|
|
418
418
|
### HTTP request headers
|
|
419
419
|
|
|
@@ -478,7 +478,7 @@ void (empty response body)
|
|
|
478
478
|
|
|
479
479
|
### Authorization
|
|
480
480
|
|
|
481
|
-
[Basic](../README.md#Basic)
|
|
481
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
482
482
|
|
|
483
483
|
### HTTP request headers
|
|
484
484
|
|
|
@@ -543,7 +543,7 @@ const { status, data } = await apiInstance.updateWebhookSubscription(
|
|
|
543
543
|
|
|
544
544
|
### Authorization
|
|
545
545
|
|
|
546
|
-
[Basic](../README.md#Basic)
|
|
546
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
547
547
|
|
|
548
548
|
### HTTP request headers
|
|
549
549
|
|
|
@@ -50,7 +50,7 @@ void (empty response body)
|
|
|
50
50
|
|
|
51
51
|
### Authorization
|
|
52
52
|
|
|
53
|
-
[Basic](../README.md#Basic)
|
|
53
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
54
54
|
|
|
55
55
|
### HTTP request headers
|
|
56
56
|
|
|
@@ -115,7 +115,7 @@ const { status, data } = await apiInstance.getRealTimeTranscription(
|
|
|
115
115
|
|
|
116
116
|
### Authorization
|
|
117
117
|
|
|
118
|
-
[Basic](../README.md#Basic)
|
|
118
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
119
119
|
|
|
120
120
|
### HTTP request headers
|
|
121
121
|
|
|
@@ -177,7 +177,7 @@ const { status, data } = await apiInstance.listRealTimeTranscriptions(
|
|
|
177
177
|
|
|
178
178
|
### Authorization
|
|
179
179
|
|
|
180
|
-
[Basic](../README.md#Basic)
|
|
180
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
181
181
|
|
|
182
182
|
### HTTP request headers
|
|
183
183
|
|
package/jest.config.js
CHANGED
|
@@ -6,6 +6,8 @@ module.exports = {
|
|
|
6
6
|
globals: {
|
|
7
7
|
'BW_USERNAME': process.env.BW_USERNAME,
|
|
8
8
|
'BW_PASSWORD': process.env.BW_PASSWORD,
|
|
9
|
+
'BW_CLIENT_ID': process.env.BW_CLIENT_ID,
|
|
10
|
+
'BW_CLIENT_SECRET': process.env.BW_CLIENT_SECRET,
|
|
9
11
|
'BW_ACCOUNT_ID': process.env.BW_ACCOUNT_ID,
|
|
10
12
|
'BW_NUMBER': process.env.BW_NUMBER,
|
|
11
13
|
'USER_NUMBER': process.env.USER_NUMBER,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bandwidth-sdk",
|
|
3
|
-
"version": "7.0
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"description": "OpenAPI client for bandwidth-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
@@ -24,9 +24,12 @@
|
|
|
24
24
|
"test-smoke": "jest --coverage --detectOpenHandles --testPathPattern=tests/smoke",
|
|
25
25
|
"test": "jest --coverage --detectOpenHandles"
|
|
26
26
|
},
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=20.0.0"
|
|
29
|
+
},
|
|
27
30
|
"dependencies": {
|
|
28
31
|
"axios": "^1.7.2",
|
|
29
|
-
"xmlbuilder2": "^
|
|
32
|
+
"xmlbuilder2": "^4.0.0"
|
|
30
33
|
},
|
|
31
34
|
"devDependencies": {
|
|
32
35
|
"@types/jest": "^29.5.12",
|
|
@@ -34,6 +37,6 @@
|
|
|
34
37
|
"jest": "^29.7.0",
|
|
35
38
|
"jest-extended": "^4.0.2",
|
|
36
39
|
"ts-jest": "^29.1.1",
|
|
37
|
-
"typescript": "^5.0"
|
|
40
|
+
"typescript": "^5.9.0"
|
|
38
41
|
}
|
|
39
42
|
}
|
package/tests/smoke/bxml.test.ts
CHANGED
|
@@ -25,7 +25,10 @@ import { sleep, createMantecaCall, cleanupCalls } from '../callUtils';
|
|
|
25
25
|
describe('BXML Integration Tests', () => {
|
|
26
26
|
jest.setTimeout(20000);
|
|
27
27
|
|
|
28
|
-
const config = new Configuration({
|
|
28
|
+
const config = new Configuration({
|
|
29
|
+
clientId: BW_CLIENT_ID,
|
|
30
|
+
clientSecret: BW_CLIENT_SECRET
|
|
31
|
+
});
|
|
29
32
|
const callsApi = new CallsApi(config);
|
|
30
33
|
let activeCalls: string[] = [];
|
|
31
34
|
|
|
@@ -13,7 +13,10 @@ import { createMantecaCall, sleep, cleanupCalls } from '../callUtils';
|
|
|
13
13
|
|
|
14
14
|
describe('CallsApi', () => {
|
|
15
15
|
jest.setTimeout(45000);
|
|
16
|
-
const config = new Configuration({
|
|
16
|
+
const config = new Configuration({
|
|
17
|
+
clientId: BW_CLIENT_ID,
|
|
18
|
+
clientSecret: BW_CLIENT_SECRET
|
|
19
|
+
});
|
|
17
20
|
const callsApi = new CallsApi(config);
|
|
18
21
|
|
|
19
22
|
const displayName = 'NodeJS SDK';
|
|
@@ -6,7 +6,10 @@ import { setupManteca, createMantecaCall, cleanupCalls, getMantecaTestStatus, sl
|
|
|
6
6
|
|
|
7
7
|
describe('ConferencesApi', () => {
|
|
8
8
|
jest.setTimeout(125000);
|
|
9
|
-
const config = new Configuration({
|
|
9
|
+
const config = new Configuration({
|
|
10
|
+
username: BW_USERNAME,
|
|
11
|
+
password: BW_PASSWORD
|
|
12
|
+
});
|
|
10
13
|
const callsApi = new CallsApi(config);
|
|
11
14
|
const conferencesApi = new ConferencesApi(config);
|
|
12
15
|
|
|
@@ -14,8 +14,8 @@ import { sleep } from '../callUtils';
|
|
|
14
14
|
describe('PhoneNumberLookupApi', () => {
|
|
15
15
|
jest.setTimeout(40000);
|
|
16
16
|
const config = new Configuration({
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
clientId: BW_CLIENT_ID,
|
|
18
|
+
clientSecret: BW_CLIENT_SECRET
|
|
19
19
|
});
|
|
20
20
|
const phoneNumberLookupApi = new PhoneNumberLookupApi(config);
|
|
21
21
|
|
|
@@ -6,7 +6,10 @@ import { getMantecaTestStatus, setupManteca, createMantecaCall, cleanupCalls, sl
|
|
|
6
6
|
|
|
7
7
|
describe('RecordingsApi', () => {
|
|
8
8
|
jest.setTimeout(240000);
|
|
9
|
-
const config = new Configuration({
|
|
9
|
+
const config = new Configuration({
|
|
10
|
+
clientId: BW_CLIENT_ID,
|
|
11
|
+
clientSecret: BW_CLIENT_SECRET
|
|
12
|
+
});
|
|
10
13
|
const callsApi = new CallsApi(config);
|
|
11
14
|
const recordingsApi = new RecordingsApi(config);
|
|
12
15
|
|
|
@@ -3,7 +3,10 @@ import { StatisticsApi } from '../../api';
|
|
|
3
3
|
import { Configuration } from '../../configuration';
|
|
4
4
|
|
|
5
5
|
describe('StatisticsApi', () => {
|
|
6
|
-
const config = new Configuration({
|
|
6
|
+
const config = new Configuration({
|
|
7
|
+
clientId: BW_CLIENT_ID,
|
|
8
|
+
clientSecret: BW_CLIENT_SECRET
|
|
9
|
+
});
|
|
7
10
|
const statisticsApi = new StatisticsApi(config);
|
|
8
11
|
|
|
9
12
|
describe('getStatistics', () => {
|
|
@@ -3,7 +3,10 @@ import { TollFreeVerificationApi } from '../../api';
|
|
|
3
3
|
import { Configuration } from '../../configuration';
|
|
4
4
|
|
|
5
5
|
describe('TollFreeVerificationApi', () => {
|
|
6
|
-
const config = new Configuration({
|
|
6
|
+
const config = new Configuration({
|
|
7
|
+
clientId: BW_CLIENT_ID,
|
|
8
|
+
clientSecret: BW_CLIENT_SECRET
|
|
9
|
+
});
|
|
7
10
|
const tfvApi = new TollFreeVerificationApi(config);
|
|
8
11
|
|
|
9
12
|
describe('listTollFreeUseCases', () => {
|
|
@@ -6,7 +6,10 @@ import { cleanupCalls, createMantecaCall, setupManteca, sleep } from "../callUti
|
|
|
6
6
|
|
|
7
7
|
describe('TranscriptionsApi', () => {
|
|
8
8
|
jest.setTimeout(240000);
|
|
9
|
-
const config = new Configuration({
|
|
9
|
+
const config = new Configuration({
|
|
10
|
+
clientId: BW_CLIENT_ID,
|
|
11
|
+
clientSecret: BW_CLIENT_SECRET
|
|
12
|
+
});
|
|
10
13
|
const callsApi = new CallsApi(config);
|
|
11
14
|
const transcriptionsApi = new TranscriptionsApi(config);
|
|
12
15
|
|