bandwidth-sdk 1.0.0 → 1.0.1
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/common.ts +2 -2
- package/coverage/clover.xml +11 -10
- package/coverage/coverage-final.json +2 -2
- package/coverage/lcov-report/index.html +18 -18
- package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/index.html +1 -1
- package/coverage/lcov-report/node-sdk/api/media-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/statistics-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 +12 -12
- package/coverage/lcov-report/node-sdk/configuration.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/index.html +19 -19
- 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/callback-method-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/file-format-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/list-message-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/lookup-status-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/priority-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/tests/callUtils.js.html +5 -5
- package/coverage/lcov-report/node-sdk/tests/index.html +1 -1
- package/coverage/lcov.info +32 -24
- package/custom_templates/common.mustache +142 -0
- package/custom_templates/package.mustache +1 -1
- package/dist/common.js +3 -2
- package/package.json +2 -2
|
@@ -166,7 +166,7 @@ export class StartRecording extends Verb {
|
|
|
166
166
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
167
167
|
Code coverage generated by
|
|
168
168
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
169
|
-
at 2024-
|
|
169
|
+
at 2024-03-06T21:12:24.079Z
|
|
170
170
|
</div>
|
|
171
171
|
<script src="../../../../prettify.js"></script>
|
|
172
172
|
<script>
|
|
@@ -187,7 +187,7 @@ export class StartStream extends NestableVerb {
|
|
|
187
187
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
188
188
|
Code coverage generated by
|
|
189
189
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
190
|
-
at 2024-
|
|
190
|
+
at 2024-03-06T21:12:24.079Z
|
|
191
191
|
</div>
|
|
192
192
|
<script src="../../../../prettify.js"></script>
|
|
193
193
|
<script>
|
|
@@ -190,7 +190,7 @@ export class StartTranscription extends NestableVerb {
|
|
|
190
190
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
191
191
|
Code coverage generated by
|
|
192
192
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
193
|
-
at 2024-
|
|
193
|
+
at 2024-03-06T21:12:24.079Z
|
|
194
194
|
</div>
|
|
195
195
|
<script src="../../../../prettify.js"></script>
|
|
196
196
|
<script>
|
|
@@ -118,7 +118,7 @@ export class StopGather extends Verb {
|
|
|
118
118
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
119
119
|
Code coverage generated by
|
|
120
120
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
121
|
-
at 2024-
|
|
121
|
+
at 2024-03-06T21:12:24.079Z
|
|
122
122
|
</div>
|
|
123
123
|
<script src="../../../../prettify.js"></script>
|
|
124
124
|
<script>
|
|
@@ -118,7 +118,7 @@ export class StopRecording extends Verb {
|
|
|
118
118
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
119
119
|
Code coverage generated by
|
|
120
120
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
121
|
-
at 2024-
|
|
121
|
+
at 2024-03-06T21:12:24.079Z
|
|
122
122
|
</div>
|
|
123
123
|
<script src="../../../../prettify.js"></script>
|
|
124
124
|
<script>
|
|
@@ -139,7 +139,7 @@ export class StopStream extends Verb {
|
|
|
139
139
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
140
140
|
Code coverage generated by
|
|
141
141
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
142
|
-
at 2024-
|
|
142
|
+
at 2024-03-06T21:12:24.079Z
|
|
143
143
|
</div>
|
|
144
144
|
<script src="../../../../prettify.js"></script>
|
|
145
145
|
<script>
|
|
@@ -139,7 +139,7 @@ export class StopTranscription extends Verb {
|
|
|
139
139
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
140
140
|
Code coverage generated by
|
|
141
141
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
142
|
-
at 2024-
|
|
142
|
+
at 2024-03-06T21:12:24.079Z
|
|
143
143
|
</div>
|
|
144
144
|
<script src="../../../../prettify.js"></script>
|
|
145
145
|
<script>
|
|
@@ -142,7 +142,7 @@ export class StreamParam extends Verb {
|
|
|
142
142
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
143
143
|
Code coverage generated by
|
|
144
144
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
145
|
-
at 2024-
|
|
145
|
+
at 2024-03-06T21:12:24.079Z
|
|
146
146
|
</div>
|
|
147
147
|
<script src="../../../../prettify.js"></script>
|
|
148
148
|
<script>
|
|
@@ -127,7 +127,7 @@ export class Tag extends Verb {
|
|
|
127
127
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
128
128
|
Code coverage generated by
|
|
129
129
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
130
|
-
at 2024-
|
|
130
|
+
at 2024-03-06T21:12:24.079Z
|
|
131
131
|
</div>
|
|
132
132
|
<script src="../../../../prettify.js"></script>
|
|
133
133
|
<script>
|
|
@@ -217,7 +217,7 @@ export class Transfer extends NestableVerb {
|
|
|
217
217
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
218
218
|
Code coverage generated by
|
|
219
219
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
220
|
-
at 2024-
|
|
220
|
+
at 2024-03-06T21:12:24.079Z
|
|
221
221
|
</div>
|
|
222
222
|
<script src="../../../../prettify.js"></script>
|
|
223
223
|
<script>
|
|
@@ -521,7 +521,7 @@
|
|
|
521
521
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
522
522
|
Code coverage generated by
|
|
523
523
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
524
|
-
at 2024-
|
|
524
|
+
at 2024-03-06T21:12:24.079Z
|
|
525
525
|
</div>
|
|
526
526
|
<script src="../../../../prettify.js"></script>
|
|
527
527
|
<script>
|
|
@@ -160,7 +160,7 @@ export * from '../Response';
|
|
|
160
160
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
161
161
|
Code coverage generated by
|
|
162
162
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
163
|
-
at 2024-
|
|
163
|
+
at 2024-03-06T21:12:24.079Z
|
|
164
164
|
</div>
|
|
165
165
|
<script src="../../../../prettify.js"></script>
|
|
166
166
|
<script>
|
|
@@ -163,7 +163,7 @@ export type CallDirectionEnum = typeof CallDirectionEnum[keyof typeof CallDirect
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2024-
|
|
166
|
+
at 2024-03-06T21:12:24.079Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -163,7 +163,7 @@ export type CallStateEnum = typeof CallStateEnum[keyof typeof CallStateEnum];
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2024-
|
|
166
|
+
at 2024-03-06T21:12:24.079Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -163,7 +163,7 @@ export type CallbackMethodEnum = typeof CallbackMethodEnum[keyof typeof Callback
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2024-
|
|
166
|
+
at 2024-03-06T21:12:24.079Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -163,7 +163,7 @@ export type ConferenceStateEnum = typeof ConferenceStateEnum[keyof typeof Confer
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2024-
|
|
166
|
+
at 2024-03-06T21:12:24.079Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -163,7 +163,7 @@ export type FileFormatEnum = typeof FileFormatEnum[keyof typeof FileFormatEnum];
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2024-
|
|
166
|
+
at 2024-03-06T21:12:24.079Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -311,7 +311,7 @@
|
|
|
311
311
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
312
312
|
Code coverage generated by
|
|
313
313
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
314
|
-
at 2024-
|
|
314
|
+
at 2024-03-06T21:12:24.079Z
|
|
315
315
|
</div>
|
|
316
316
|
<script src="../../prettify.js"></script>
|
|
317
317
|
<script>
|
|
@@ -337,7 +337,7 @@ export * from './bxml';
|
|
|
337
337
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
338
338
|
Code coverage generated by
|
|
339
339
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
340
|
-
at 2024-
|
|
340
|
+
at 2024-03-06T21:12:24.079Z
|
|
341
341
|
</div>
|
|
342
342
|
<script src="../../prettify.js"></script>
|
|
343
343
|
<script>
|
|
@@ -163,7 +163,7 @@ export type ListMessageDirectionEnum = typeof ListMessageDirectionEnum[keyof typ
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2024-
|
|
166
|
+
at 2024-03-06T21:12:24.079Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -169,7 +169,7 @@ export type LookupStatusEnum = typeof LookupStatusEnum[keyof typeof LookupStatus
|
|
|
169
169
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
170
170
|
Code coverage generated by
|
|
171
171
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
172
|
-
at 2024-
|
|
172
|
+
at 2024-03-06T21:12:24.079Z
|
|
173
173
|
</div>
|
|
174
174
|
<script src="../../prettify.js"></script>
|
|
175
175
|
<script>
|
|
@@ -163,7 +163,7 @@ export type MachineDetectionModeEnum = typeof MachineDetectionModeEnum[keyof typ
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2024-
|
|
166
|
+
at 2024-03-06T21:12:24.079Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -163,7 +163,7 @@ export type MessageDirectionEnum = typeof MessageDirectionEnum[keyof typeof Mess
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2024-
|
|
166
|
+
at 2024-03-06T21:12:24.079Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -181,7 +181,7 @@ export type MessageStatusEnum = typeof MessageStatusEnum[keyof typeof MessageSta
|
|
|
181
181
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
182
182
|
Code coverage generated by
|
|
183
183
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
184
|
-
at 2024-
|
|
184
|
+
at 2024-03-06T21:12:24.079Z
|
|
185
185
|
</div>
|
|
186
186
|
<script src="../../prettify.js"></script>
|
|
187
187
|
<script>
|
|
@@ -163,7 +163,7 @@ export type MessageTypeEnum = typeof MessageTypeEnum[keyof typeof MessageTypeEnu
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2024-
|
|
166
|
+
at 2024-03-06T21:12:24.079Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -163,7 +163,7 @@ export type PriorityEnum = typeof PriorityEnum[keyof typeof PriorityEnum];
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2024-
|
|
166
|
+
at 2024-03-06T21:12:24.079Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -163,7 +163,7 @@ export type RecordingStateEnum = typeof RecordingStateEnum[keyof typeof Recordin
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2024-
|
|
166
|
+
at 2024-03-06T21:12:24.079Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -163,7 +163,7 @@ export type RedirectMethodEnum = typeof RedirectMethodEnum[keyof typeof Redirect
|
|
|
163
163
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
164
164
|
Code coverage generated by
|
|
165
165
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
166
|
-
at 2024-
|
|
166
|
+
at 2024-03-06T21:12:24.079Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
<span class="cline-any cline-yes">5x</span>
|
|
154
154
|
<span class="cline-any cline-neutral"> </span>
|
|
155
155
|
<span class="cline-any cline-yes">5x</span>
|
|
156
|
-
<span class="cline-any cline-yes">
|
|
156
|
+
<span class="cline-any cline-yes">40x</span>
|
|
157
157
|
<span class="cline-any cline-neutral"> </span>
|
|
158
158
|
<span class="cline-any cline-neutral"> </span>
|
|
159
159
|
<span class="cline-any cline-yes">5x</span>
|
|
@@ -188,9 +188,9 @@
|
|
|
188
188
|
<span class="cline-any cline-neutral"> </span>
|
|
189
189
|
<span class="cline-any cline-neutral"> </span>
|
|
190
190
|
<span class="cline-any cline-yes">5x</span>
|
|
191
|
-
<span class="cline-any cline-yes">
|
|
192
|
-
<span class="cline-any cline-yes">
|
|
193
|
-
<span class="cline-any cline-yes">
|
|
191
|
+
<span class="cline-any cline-yes">17x</span>
|
|
192
|
+
<span class="cline-any cline-yes">17x</span>
|
|
193
|
+
<span class="cline-any cline-yes">17x</span>
|
|
194
194
|
<span class="cline-any cline-neutral"> </span>
|
|
195
195
|
<span class="cline-any cline-neutral"> </span>
|
|
196
196
|
<span class="cline-any cline-yes">5x</span>
|
|
@@ -319,7 +319,7 @@ module.exports = {
|
|
|
319
319
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
320
320
|
Code coverage generated by
|
|
321
321
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
322
|
-
at 2024-
|
|
322
|
+
at 2024-03-06T21:12:24.079Z
|
|
323
323
|
</div>
|
|
324
324
|
<script src="../../prettify.js"></script>
|
|
325
325
|
<script>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at 2024-
|
|
104
|
+
at 2024-03-06T21:12:24.079Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../prettify.js"></script>
|
|
107
107
|
<script>
|
package/coverage/lcov.info
CHANGED
|
@@ -51,11 +51,12 @@ FN:91,(anonymous_27)
|
|
|
51
51
|
FN:94,(anonymous_28)
|
|
52
52
|
FN:113,(anonymous_29)
|
|
53
53
|
FN:123,(anonymous_30)
|
|
54
|
-
FN:
|
|
55
|
-
FN:
|
|
56
|
-
FN:
|
|
57
|
-
|
|
58
|
-
|
|
54
|
+
FN:129,(anonymous_31)
|
|
55
|
+
FN:137,(anonymous_32)
|
|
56
|
+
FN:145,(anonymous_33)
|
|
57
|
+
FN:146,(anonymous_34)
|
|
58
|
+
FNF:14
|
|
59
|
+
FNH:11
|
|
59
60
|
FNDA:203,(anonymous_15)
|
|
60
61
|
FNDA:0,(anonymous_16)
|
|
61
62
|
FNDA:88,(anonymous_19)
|
|
@@ -66,9 +67,10 @@ FNDA:88,(anonymous_27)
|
|
|
66
67
|
FNDA:3,(anonymous_28)
|
|
67
68
|
FNDA:88,(anonymous_29)
|
|
68
69
|
FNDA:47,(anonymous_30)
|
|
69
|
-
FNDA:
|
|
70
|
+
FNDA:32295,(anonymous_31)
|
|
70
71
|
FNDA:88,(anonymous_32)
|
|
71
72
|
FNDA:88,(anonymous_33)
|
|
73
|
+
FNDA:88,(anonymous_34)
|
|
72
74
|
DA:19,9
|
|
73
75
|
DA:25,9
|
|
74
76
|
DA:32,9
|
|
@@ -113,14 +115,15 @@ DA:123,9
|
|
|
113
115
|
DA:124,47
|
|
114
116
|
DA:125,47
|
|
115
117
|
DA:128,47
|
|
118
|
+
DA:129,32295
|
|
116
119
|
DA:137,9
|
|
117
120
|
DA:138,88
|
|
118
121
|
DA:145,9
|
|
119
122
|
DA:146,88
|
|
120
123
|
DA:147,88
|
|
121
124
|
DA:148,88
|
|
122
|
-
LF:
|
|
123
|
-
LH:
|
|
125
|
+
LF:51
|
|
126
|
+
LH:34
|
|
124
127
|
BRDA:33,0,0,0
|
|
125
128
|
BRDA:33,1,0,203
|
|
126
129
|
BRDA:33,1,1,203
|
|
@@ -162,19 +165,24 @@ BRDA:128,24,0,40
|
|
|
162
165
|
BRDA:128,24,1,7
|
|
163
166
|
BRDA:129,25,0,40
|
|
164
167
|
BRDA:129,25,1,0
|
|
165
|
-
BRDA:
|
|
166
|
-
BRDA:
|
|
167
|
-
BRDA:
|
|
168
|
+
BRDA:129,26,0,0
|
|
169
|
+
BRDA:129,26,1,32295
|
|
170
|
+
BRDA:130,27,0,7
|
|
171
|
+
BRDA:130,27,1,0
|
|
168
172
|
BRDA:146,28,0,0
|
|
169
|
-
BRDA:
|
|
170
|
-
BRDA:147,29,1,88
|
|
171
|
-
BRDA:147,29,2,88
|
|
173
|
+
BRDA:146,29,0,0
|
|
172
174
|
BRDA:147,30,0,0
|
|
173
175
|
BRDA:147,30,1,88
|
|
174
|
-
BRDA:147,31,0,
|
|
176
|
+
BRDA:147,31,0,0
|
|
175
177
|
BRDA:147,31,1,88
|
|
176
|
-
|
|
177
|
-
|
|
178
|
+
BRDA:147,32,0,88
|
|
179
|
+
BRDA:147,32,1,88
|
|
180
|
+
BRDA:147,33,0,0
|
|
181
|
+
BRDA:147,33,1,88
|
|
182
|
+
BRDA:147,34,0,88
|
|
183
|
+
BRDA:147,34,1,88
|
|
184
|
+
BRF:57
|
|
185
|
+
BRH:29
|
|
178
186
|
end_of_record
|
|
179
187
|
TN:
|
|
180
188
|
SF:configuration.ts
|
|
@@ -3799,16 +3807,16 @@ FN:48,(anonymous_5)
|
|
|
3799
3807
|
FN:65,(anonymous_6)
|
|
3800
3808
|
FNF:7
|
|
3801
3809
|
FNH:7
|
|
3802
|
-
FNDA:
|
|
3803
|
-
FNDA:
|
|
3810
|
+
FNDA:40,(anonymous_0)
|
|
3811
|
+
FNDA:40,(anonymous_1)
|
|
3804
3812
|
FNDA:2,(anonymous_2)
|
|
3805
3813
|
FNDA:9,(anonymous_3)
|
|
3806
|
-
FNDA:
|
|
3814
|
+
FNDA:17,(anonymous_4)
|
|
3807
3815
|
FNDA:4,(anonymous_5)
|
|
3808
3816
|
FNDA:10,(anonymous_6)
|
|
3809
3817
|
DA:5,5
|
|
3810
3818
|
DA:7,5
|
|
3811
|
-
DA:8,
|
|
3819
|
+
DA:8,40
|
|
3812
3820
|
DA:11,5
|
|
3813
3821
|
DA:12,2
|
|
3814
3822
|
DA:18,2
|
|
@@ -3822,9 +3830,9 @@ DA:30,9
|
|
|
3822
3830
|
DA:38,9
|
|
3823
3831
|
DA:39,9
|
|
3824
3832
|
DA:42,5
|
|
3825
|
-
DA:43,
|
|
3826
|
-
DA:44,
|
|
3827
|
-
DA:45,
|
|
3833
|
+
DA:43,17
|
|
3834
|
+
DA:44,17
|
|
3835
|
+
DA:45,17
|
|
3828
3836
|
DA:48,5
|
|
3829
3837
|
DA:49,4
|
|
3830
3838
|
DA:51,4
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
{{>licenseInfo}}
|
|
4
|
+
|
|
5
|
+
import type { Configuration } from "./configuration";
|
|
6
|
+
import type { RequestArgs } from "./base";
|
|
7
|
+
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
8
|
+
import { RequiredError } from "./base";
|
|
9
|
+
{{#withNodeImports}}
|
|
10
|
+
import { URL, URLSearchParams } from 'url';
|
|
11
|
+
{{/withNodeImports}}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const DUMMY_BASE_URL = 'https://example.com'
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @throws {RequiredError}
|
|
22
|
+
* @export
|
|
23
|
+
*/
|
|
24
|
+
export const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {
|
|
25
|
+
if (paramValue === null || paramValue === undefined) {
|
|
26
|
+
throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {
|
|
35
|
+
if (configuration && configuration.apiKey) {
|
|
36
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
37
|
+
? await configuration.apiKey(keyParamName)
|
|
38
|
+
: await configuration.apiKey;
|
|
39
|
+
object[keyParamName] = localVarApiKeyValue;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
export const setBasicAuthToObject = function (object: any, configuration?: Configuration) {
|
|
48
|
+
if (configuration && (configuration.username || configuration.password)) {
|
|
49
|
+
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @export
|
|
56
|
+
*/
|
|
57
|
+
export const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {
|
|
58
|
+
if (configuration && configuration.accessToken) {
|
|
59
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
60
|
+
? await configuration.accessToken()
|
|
61
|
+
: await configuration.accessToken;
|
|
62
|
+
object["Authorization"] = "Bearer " + accessToken;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {
|
|
71
|
+
if (configuration && configuration.accessToken) {
|
|
72
|
+
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
73
|
+
? await configuration.accessToken(name, scopes)
|
|
74
|
+
: await configuration.accessToken;
|
|
75
|
+
object["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
function setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = ""): void {
|
|
80
|
+
if (parameter == null) return;
|
|
81
|
+
if (typeof parameter === "object") {
|
|
82
|
+
if (Array.isArray(parameter)) {
|
|
83
|
+
(parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
Object.keys(parameter).forEach(currentKey =>
|
|
87
|
+
setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
if (urlSearchParams.has(key)) {
|
|
93
|
+
urlSearchParams.append(key, parameter);
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
urlSearchParams.set(key, parameter);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @export
|
|
104
|
+
*/
|
|
105
|
+
export const setSearchParams = function (url: URL, ...objects: any[]) {
|
|
106
|
+
const searchParams = new URLSearchParams(url.search);
|
|
107
|
+
setFlattenedQueryParams(searchParams, objects);
|
|
108
|
+
url.search = searchParams.toString();
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @export
|
|
114
|
+
*/
|
|
115
|
+
export const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {
|
|
116
|
+
const nonString = typeof value !== 'string';
|
|
117
|
+
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
118
|
+
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
119
|
+
: nonString;
|
|
120
|
+
return needsSerialization
|
|
121
|
+
? JSON.stringify(value !== undefined ? value : {}, (_k, v) => (v instanceof Set ? Array.from(v) : v))
|
|
122
|
+
: (value || "");
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @export
|
|
128
|
+
*/
|
|
129
|
+
export const toPathString = function (url: URL) {
|
|
130
|
+
return url.pathname + url.search + url.hash
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @export
|
|
136
|
+
*/
|
|
137
|
+
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
138
|
+
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
139
|
+
const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url};
|
|
140
|
+
return axios.request<T, R>(axiosRequestArgs);
|
|
141
|
+
};
|
|
142
|
+
}
|
package/dist/common.js
CHANGED
|
@@ -225,7 +225,7 @@ var serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
|
225
225
|
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
226
226
|
: nonString;
|
|
227
227
|
return needsSerialization
|
|
228
|
-
? JSON.stringify(value !== undefined ? value : {})
|
|
228
|
+
? JSON.stringify(value !== undefined ? value : {}, function (_k, v) { return (v instanceof Set ? Array.from(v) : v); })
|
|
229
229
|
: (value || "");
|
|
230
230
|
};
|
|
231
231
|
exports.serializeDataIfNeeded = serializeDataIfNeeded;
|
|
@@ -243,9 +243,10 @@ exports.toPathString = toPathString;
|
|
|
243
243
|
*/
|
|
244
244
|
var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
245
245
|
return function (axios, basePath) {
|
|
246
|
+
var _a;
|
|
246
247
|
if (axios === void 0) { axios = globalAxios; }
|
|
247
248
|
if (basePath === void 0) { basePath = BASE_PATH; }
|
|
248
|
-
var axiosRequestArgs = __assign(__assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath)
|
|
249
|
+
var axiosRequestArgs = __assign(__assign({}, axiosArgs.options), { url: (axios.defaults.baseURL ? '' : (_a = configuration === null || configuration === void 0 ? void 0 : configuration.basePath) !== null && _a !== void 0 ? _a : basePath) + axiosArgs.url });
|
|
249
250
|
return axios.request(axiosRequestArgs);
|
|
250
251
|
};
|
|
251
252
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bandwidth-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "OpenAPI client for bandwidth-sdk",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"test": "jest --coverage --detectOpenHandles"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"axios": "^1.6.
|
|
26
|
+
"axios": "^1.6.7",
|
|
27
27
|
"xmlbuilder2": "^3.1.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|