bandwidth-sdk 7.0.1 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/deploy.yml +11 -4
- package/.github/workflows/test-pr.yml +3 -1
- package/.github/workflows/test-smoke.yml +4 -2
- package/.openapi-generator/FILES +4 -0
- package/README.md +12 -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 +58 -0
- package/common.ts +3 -1
- package/configuration.ts +44 -2
- package/coverage/clover.xml +1126 -1050
- package/coverage/coverage-final.json +16 -14
- package/coverage/lcov-report/index.html +28 -28
- 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 +25 -19
- 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 +35 -5
- package/coverage/lcov-report/node-sdk/models/index.ts.html +10 -4
- package/coverage/lcov-report/node-sdk/models/latest-message-delivery-status-enum.ts.html +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 +172 -0
- package/coverage/lcov-report/node-sdk/models/rbm-web-view-enum.ts.html +175 -0
- 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 +2804 -2695
- 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 +11 -9
- 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/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/multi-channel-action.d.ts +4 -0
- package/dist/models/rbm-open-url-enum.d.ts +19 -0
- package/dist/models/rbm-open-url-enum.js +23 -0
- package/dist/models/rbm-web-view-enum.d.ts +20 -0
- package/dist/models/rbm-web-view-enum.js +24 -0
- package/dist/models/tfv-status.d.ts +4 -0
- package/dist/models/verification-request.d.ts +4 -0
- package/dist/models/verification-update-request.d.ts +4 -0
- 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/MultiChannelAction.md +4 -0
- package/docs/MultiChannelApi.md +1 -1
- package/docs/PhoneNumberLookupApi.md +3 -3
- package/docs/RbmActionOpenUrl.md +4 -0
- package/docs/RbmOpenUrlEnum.md +11 -0
- package/docs/RbmWebViewEnum.md +13 -0
- package/docs/RecordingsApi.md +10 -10
- package/docs/StatisticsApi.md +1 -1
- package/docs/TfvStatus.md +2 -0
- package/docs/TollFreeVerificationApi.md +9 -9
- package/docs/TranscriptionsApi.md +3 -3
- package/docs/VerificationRequest.md +2 -0
- package/docs/VerificationUpdateRequest.md +2 -0
- package/jest.config.js +2 -0
- package/models/index.ts +2 -0
- package/models/multi-channel-action.ts +8 -0
- package/models/rbm-action-open-url.ts +6 -0
- package/models/rbm-open-url-enum.ts +29 -0
- package/models/rbm-web-view-enum.ts +30 -0
- package/models/tfv-status.ts +4 -0
- package/models/verification-request.ts +4 -0
- package/models/verification-update-request.ts +4 -0
- package/package.json +12 -5
- 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/tests/unit/api/toll-free-verification-api.test.ts +15 -2
- package/tests/unit/models/rbm-open-url-enum.test.ts +8 -0
- package/tests/unit/models/rbm-veb-view-enum.test.ts +9 -0
package/docs/MFAApi.md
CHANGED
|
@@ -48,7 +48,7 @@ const { status, data } = await apiInstance.generateMessagingCode(
|
|
|
48
48
|
|
|
49
49
|
### Authorization
|
|
50
50
|
|
|
51
|
-
[Basic](../README.md#Basic)
|
|
51
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
52
52
|
|
|
53
53
|
### HTTP request headers
|
|
54
54
|
|
|
@@ -107,7 +107,7 @@ const { status, data } = await apiInstance.generateVoiceCode(
|
|
|
107
107
|
|
|
108
108
|
### Authorization
|
|
109
109
|
|
|
110
|
-
[Basic](../README.md#Basic)
|
|
110
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
111
111
|
|
|
112
112
|
### HTTP request headers
|
|
113
113
|
|
|
@@ -166,7 +166,7 @@ const { status, data } = await apiInstance.verifyCode(
|
|
|
166
166
|
|
|
167
167
|
### Authorization
|
|
168
168
|
|
|
169
|
-
[Basic](../README.md#Basic)
|
|
169
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
170
170
|
|
|
171
171
|
### HTTP request headers
|
|
172
172
|
|
package/docs/MediaApi.md
CHANGED
|
@@ -48,7 +48,7 @@ void (empty response body)
|
|
|
48
48
|
|
|
49
49
|
### Authorization
|
|
50
50
|
|
|
51
|
-
[Basic](../README.md#Basic)
|
|
51
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
52
52
|
|
|
53
53
|
### HTTP request headers
|
|
54
54
|
|
|
@@ -110,7 +110,7 @@ const { status, data } = await apiInstance.getMedia(
|
|
|
110
110
|
|
|
111
111
|
### Authorization
|
|
112
112
|
|
|
113
|
-
[Basic](../README.md#Basic)
|
|
113
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
114
114
|
|
|
115
115
|
### HTTP request headers
|
|
116
116
|
|
|
@@ -172,7 +172,7 @@ const { status, data } = await apiInstance.listMedia(
|
|
|
172
172
|
|
|
173
173
|
### Authorization
|
|
174
174
|
|
|
175
|
-
[Basic](../README.md#Basic)
|
|
175
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
176
176
|
|
|
177
177
|
### HTTP request headers
|
|
178
178
|
|
|
@@ -243,7 +243,7 @@ void (empty response body)
|
|
|
243
243
|
|
|
244
244
|
### Authorization
|
|
245
245
|
|
|
246
|
-
[Basic](../README.md#Basic)
|
|
246
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
247
247
|
|
|
248
248
|
### HTTP request headers
|
|
249
249
|
|
package/docs/MessagesApi.md
CHANGED
|
@@ -47,7 +47,7 @@ const { status, data } = await apiInstance.createMessage(
|
|
|
47
47
|
|
|
48
48
|
### Authorization
|
|
49
49
|
|
|
50
|
-
[Basic](../README.md#Basic)
|
|
50
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
51
51
|
|
|
52
52
|
### HTTP request headers
|
|
53
53
|
|
|
@@ -188,7 +188,7 @@ const { status, data } = await apiInstance.listMessages(
|
|
|
188
188
|
|
|
189
189
|
### Authorization
|
|
190
190
|
|
|
191
|
-
[Basic](../README.md#Basic)
|
|
191
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
192
192
|
|
|
193
193
|
### HTTP request headers
|
|
194
194
|
|
|
@@ -17,6 +17,8 @@ Name | Type | Description | Notes
|
|
|
17
17
|
**endTime** | **string** | The end time of the event. | [default to undefined]
|
|
18
18
|
**description** | **string** | The description of the event. | [optional] [default to undefined]
|
|
19
19
|
**url** | **string** | The URL to open in browser. | [default to undefined]
|
|
20
|
+
**application** | [**RbmOpenUrlEnum**](RbmOpenUrlEnum.md) | | [optional] [default to undefined]
|
|
21
|
+
**webviewViewMode** | [**RbmWebViewEnum**](RbmWebViewEnum.md) | | [optional] [default to undefined]
|
|
20
22
|
|
|
21
23
|
## Example
|
|
22
24
|
|
|
@@ -36,6 +38,8 @@ const instance: MultiChannelAction = {
|
|
|
36
38
|
endTime,
|
|
37
39
|
description,
|
|
38
40
|
url,
|
|
41
|
+
application,
|
|
42
|
+
webviewViewMode,
|
|
39
43
|
};
|
|
40
44
|
```
|
|
41
45
|
|
package/docs/MultiChannelApi.md
CHANGED
|
@@ -48,7 +48,7 @@ const { status, data } = await apiInstance.createAsyncBulkLookup(
|
|
|
48
48
|
|
|
49
49
|
### Authorization
|
|
50
50
|
|
|
51
|
-
[Basic](../README.md#Basic)
|
|
51
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
52
52
|
|
|
53
53
|
### HTTP request headers
|
|
54
54
|
|
|
@@ -104,7 +104,7 @@ const { status, data } = await apiInstance.createSyncLookup(
|
|
|
104
104
|
|
|
105
105
|
### Authorization
|
|
106
106
|
|
|
107
|
-
[Basic](../README.md#Basic)
|
|
107
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
108
108
|
|
|
109
109
|
### HTTP request headers
|
|
110
110
|
|
|
@@ -159,7 +159,7 @@ const { status, data } = await apiInstance.getAsyncBulkLookup(
|
|
|
159
159
|
|
|
160
160
|
### Authorization
|
|
161
161
|
|
|
162
|
-
[Basic](../README.md#Basic)
|
|
162
|
+
[Basic](../README.md#Basic), [OAuth2](../README.md#OAuth2)
|
|
163
163
|
|
|
164
164
|
### HTTP request headers
|
|
165
165
|
|
package/docs/RbmActionOpenUrl.md
CHANGED
|
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**text** | **string** | Displayed text for user to click | [default to undefined]
|
|
10
10
|
**postbackData** | **string** | Base64 payload the customer receives when the reply is clicked. | [default to undefined]
|
|
11
11
|
**url** | **string** | The URL to open in browser. | [default to undefined]
|
|
12
|
+
**application** | [**RbmOpenUrlEnum**](RbmOpenUrlEnum.md) | | [optional] [default to undefined]
|
|
13
|
+
**webviewViewMode** | [**RbmWebViewEnum**](RbmWebViewEnum.md) | | [optional] [default to undefined]
|
|
12
14
|
|
|
13
15
|
## Example
|
|
14
16
|
|
|
@@ -20,6 +22,8 @@ const instance: RbmActionOpenUrl = {
|
|
|
20
22
|
text,
|
|
21
23
|
postbackData,
|
|
22
24
|
url,
|
|
25
|
+
application,
|
|
26
|
+
webviewViewMode,
|
|
23
27
|
};
|
|
24
28
|
```
|
|
25
29
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# RbmOpenUrlEnum
|
|
2
|
+
|
|
3
|
+
Specifies how the URL should be opened on a mobile device. - `BROWSER` Opens the URL in the device\'s default browser. If application is not set or the device doesn’t support WebView, this option is used by default. - `WEBVIEW` Opens the URL in an in-app WebView.
|
|
4
|
+
|
|
5
|
+
## Enum
|
|
6
|
+
|
|
7
|
+
* `Browser` (value: `'BROWSER'`)
|
|
8
|
+
|
|
9
|
+
* `Webview` (value: `'WEBVIEW'`)
|
|
10
|
+
|
|
11
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# RbmWebViewEnum
|
|
2
|
+
|
|
3
|
+
Defines the layout of the WebView on a mobile device. It must be defined when application is set to `WEBVIEW` - `FULL` WebView takes the full screen. - `HALF` WebView takes half of the screen. - `TALL` WebView takes three-quarters of the screen.
|
|
4
|
+
|
|
5
|
+
## Enum
|
|
6
|
+
|
|
7
|
+
* `Full` (value: `'FULL'`)
|
|
8
|
+
|
|
9
|
+
* `Half` (value: `'HALF'`)
|
|
10
|
+
|
|
11
|
+
* `Tall` (value: `'TALL'`)
|
|
12
|
+
|
|
13
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
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
package/docs/TfvStatus.md
CHANGED
|
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
|
|
|
15
15
|
**submission** | [**TfvSubmissionInfo**](TfvSubmissionInfo.md) | | [optional] [default to undefined]
|
|
16
16
|
**blocked** | **boolean** | Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] [default to undefined]
|
|
17
17
|
**blockedReason** | **string** | The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked. | [optional] [default to undefined]
|
|
18
|
+
**cvToken** | **string** | The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. If you pass an empty string, it will be passed along and potentially rejected. | [optional] [default to undefined]
|
|
18
19
|
|
|
19
20
|
## Example
|
|
20
21
|
|
|
@@ -32,6 +33,7 @@ const instance: TfvStatus = {
|
|
|
32
33
|
submission,
|
|
33
34
|
blocked,
|
|
34
35
|
blockedReason,
|
|
36
|
+
cvToken,
|
|
35
37
|
};
|
|
36
38
|
```
|
|
37
39
|
|
|
@@ -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
|
|
|
@@ -23,6 +23,7 @@ Name | Type | Description | Notes
|
|
|
23
23
|
**businessEntityType** | [**BusinessEntityTypeEnum**](BusinessEntityTypeEnum.md) | | [optional] [default to undefined]
|
|
24
24
|
**helpMessageResponse** | **string** | A message that gets sent to users requesting help. | [optional] [default to undefined]
|
|
25
25
|
**ageGatedContent** | **boolean** | Indicates whether the content is age-gated. | [optional] [default to undefined]
|
|
26
|
+
**cvToken** | **string** | The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. If you pass an empty string, it will be passed along and potentially rejected. | [optional] [default to undefined]
|
|
26
27
|
|
|
27
28
|
## Example
|
|
28
29
|
|
|
@@ -48,6 +49,7 @@ const instance: VerificationRequest = {
|
|
|
48
49
|
businessEntityType,
|
|
49
50
|
helpMessageResponse,
|
|
50
51
|
ageGatedContent,
|
|
52
|
+
cvToken,
|
|
51
53
|
};
|
|
52
54
|
```
|
|
53
55
|
|
|
@@ -22,6 +22,7 @@ Name | Type | Description | Notes
|
|
|
22
22
|
**businessEntityType** | [**BusinessEntityTypeEnum**](BusinessEntityTypeEnum.md) | | [optional] [default to undefined]
|
|
23
23
|
**helpMessageResponse** | **string** | A message that gets sent to users requesting help. | [optional] [default to undefined]
|
|
24
24
|
**ageGatedContent** | **boolean** | Indicates whether the content is age-gated. | [optional] [default to undefined]
|
|
25
|
+
**cvToken** | **string** | The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. If you pass an empty string, it will be passed along and potentially rejected. | [optional] [default to undefined]
|
|
25
26
|
|
|
26
27
|
## Example
|
|
27
28
|
|
|
@@ -46,6 +47,7 @@ const instance: VerificationUpdateRequest = {
|
|
|
46
47
|
businessEntityType,
|
|
47
48
|
helpMessageResponse,
|
|
48
49
|
ageGatedContent,
|
|
50
|
+
cvToken,
|
|
49
51
|
};
|
|
50
52
|
```
|
|
51
53
|
|
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/models/index.ts
CHANGED
|
@@ -124,8 +124,10 @@ export * from './rbm-message-content-file';
|
|
|
124
124
|
export * from './rbm-message-content-rich-card';
|
|
125
125
|
export * from './rbm-message-content-text';
|
|
126
126
|
export * from './rbm-message-media';
|
|
127
|
+
export * from './rbm-open-url-enum';
|
|
127
128
|
export * from './rbm-standalone-card';
|
|
128
129
|
export * from './rbm-suggestion-response';
|
|
130
|
+
export * from './rbm-web-view-enum';
|
|
129
131
|
export * from './recording-available-callback';
|
|
130
132
|
export * from './recording-complete-callback';
|
|
131
133
|
export * from './recording-state-enum';
|
|
@@ -31,6 +31,12 @@ import type { RbmActionTypeEnum } from './rbm-action-type-enum';
|
|
|
31
31
|
// May contain unused imports in some cases
|
|
32
32
|
// @ts-ignore
|
|
33
33
|
import type { RbmActionViewLocation } from './rbm-action-view-location';
|
|
34
|
+
// May contain unused imports in some cases
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
import type { RbmOpenUrlEnum } from './rbm-open-url-enum';
|
|
37
|
+
// May contain unused imports in some cases
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
import type { RbmWebViewEnum } from './rbm-web-view-enum';
|
|
34
40
|
|
|
35
41
|
export interface MultiChannelAction {
|
|
36
42
|
'type': RbmActionTypeEnum;
|
|
@@ -78,6 +84,8 @@ export interface MultiChannelAction {
|
|
|
78
84
|
* The URL to open in browser.
|
|
79
85
|
*/
|
|
80
86
|
'url': string;
|
|
87
|
+
'application'?: RbmOpenUrlEnum;
|
|
88
|
+
'webviewViewMode'?: RbmWebViewEnum;
|
|
81
89
|
}
|
|
82
90
|
|
|
83
91
|
|
|
@@ -19,6 +19,12 @@ import type { RbmActionBase } from './rbm-action-base';
|
|
|
19
19
|
// May contain unused imports in some cases
|
|
20
20
|
// @ts-ignore
|
|
21
21
|
import type { RbmActionTypeEnum } from './rbm-action-type-enum';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import type { RbmOpenUrlEnum } from './rbm-open-url-enum';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import type { RbmWebViewEnum } from './rbm-web-view-enum';
|
|
22
28
|
|
|
23
29
|
/**
|
|
24
30
|
* @type RbmActionOpenUrl
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Bandwidth
|
|
5
|
+
* Bandwidth\'s Communication APIs
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: letstalk@bandwidth.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Specifies how the URL should be opened on a mobile device. - `BROWSER` Opens the URL in the device\'s default browser. If application is not set or the device doesn’t support WebView, this option is used by default. - `WEBVIEW` Opens the URL in an in-app WebView.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
export const RbmOpenUrlEnum = {
|
|
22
|
+
Browser: 'BROWSER',
|
|
23
|
+
Webview: 'WEBVIEW'
|
|
24
|
+
} as const;
|
|
25
|
+
|
|
26
|
+
export type RbmOpenUrlEnum = typeof RbmOpenUrlEnum[keyof typeof RbmOpenUrlEnum];
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Bandwidth
|
|
5
|
+
* Bandwidth\'s Communication APIs
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: letstalk@bandwidth.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Defines the layout of the WebView on a mobile device. It must be defined when application is set to `WEBVIEW` - `FULL` WebView takes the full screen. - `HALF` WebView takes half of the screen. - `TALL` WebView takes three-quarters of the screen.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
export const RbmWebViewEnum = {
|
|
22
|
+
Full: 'FULL',
|
|
23
|
+
Half: 'HALF',
|
|
24
|
+
Tall: 'TALL'
|
|
25
|
+
} as const;
|
|
26
|
+
|
|
27
|
+
export type RbmWebViewEnum = typeof RbmWebViewEnum[keyof typeof RbmWebViewEnum];
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
package/models/tfv-status.ts
CHANGED
|
@@ -55,6 +55,10 @@ export interface TfvStatus {
|
|
|
55
55
|
* The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
|
|
56
56
|
*/
|
|
57
57
|
'blockedReason'?: string;
|
|
58
|
+
/**
|
|
59
|
+
* The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. If you pass an empty string, it will be passed along and potentially rejected.
|
|
60
|
+
*/
|
|
61
|
+
'cvToken'?: string | null;
|
|
58
62
|
}
|
|
59
63
|
|
|
60
64
|
|
|
@@ -84,6 +84,10 @@ export interface VerificationRequest {
|
|
|
84
84
|
* Indicates whether the content is age-gated.
|
|
85
85
|
*/
|
|
86
86
|
'ageGatedContent'?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. If you pass an empty string, it will be passed along and potentially rejected.
|
|
89
|
+
*/
|
|
90
|
+
'cvToken'?: string | null;
|
|
87
91
|
}
|
|
88
92
|
|
|
89
93
|
|
|
@@ -83,6 +83,10 @@ export interface VerificationUpdateRequest {
|
|
|
83
83
|
* Indicates whether the content is age-gated.
|
|
84
84
|
*/
|
|
85
85
|
'ageGatedContent'?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* The token provided by Campaign Verify to validate your political use case. Only required for 527 political organizations. If you are not a 527 political organization, this field should be omitted. If you pass an empty string, it will be passed along and potentially rejected.
|
|
88
|
+
*/
|
|
89
|
+
'cvToken'?: string | null;
|
|
86
90
|
}
|
|
87
91
|
|
|
88
92
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bandwidth-sdk",
|
|
3
|
-
"version": "7.0
|
|
3
|
+
"version": "7.2.0",
|
|
4
4
|
"description": "OpenAPI client for bandwidth-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "
|
|
8
|
+
"url": "https://github.com/Bandwidth/node-sdk"
|
|
9
9
|
},
|
|
10
|
+
"homepage": "https://github.com/bandwidth/node-numbers",
|
|
10
11
|
"keywords": [
|
|
11
12
|
"axios",
|
|
12
13
|
"typescript",
|
|
@@ -14,7 +15,7 @@
|
|
|
14
15
|
"openapi-generator",
|
|
15
16
|
"bandwidth-sdk"
|
|
16
17
|
],
|
|
17
|
-
"license": "
|
|
18
|
+
"license": "MIT",
|
|
18
19
|
"main": "./dist/index.js",
|
|
19
20
|
"typings": "./dist/index.d.ts",
|
|
20
21
|
"scripts": {
|
|
@@ -24,9 +25,12 @@
|
|
|
24
25
|
"test-smoke": "jest --coverage --detectOpenHandles --testPathPattern=tests/smoke",
|
|
25
26
|
"test": "jest --coverage --detectOpenHandles"
|
|
26
27
|
},
|
|
28
|
+
"engines": {
|
|
29
|
+
"node": ">=20.0.0"
|
|
30
|
+
},
|
|
27
31
|
"dependencies": {
|
|
28
32
|
"axios": "^1.7.2",
|
|
29
|
-
"xmlbuilder2": "^
|
|
33
|
+
"xmlbuilder2": "^4.0.0"
|
|
30
34
|
},
|
|
31
35
|
"devDependencies": {
|
|
32
36
|
"@types/jest": "^29.5.12",
|
|
@@ -34,6 +38,9 @@
|
|
|
34
38
|
"jest": "^29.7.0",
|
|
35
39
|
"jest-extended": "^4.0.2",
|
|
36
40
|
"ts-jest": "^29.1.1",
|
|
37
|
-
"typescript": "^5.0"
|
|
41
|
+
"typescript": "^5.9.0"
|
|
42
|
+
},
|
|
43
|
+
"publishConfig": {
|
|
44
|
+
"access": "public"
|
|
38
45
|
}
|
|
39
46
|
}
|
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';
|