bandwidth-sdk 0.1.0 → 0.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/test-nightly.yml +1 -0
- package/.github/workflows/test-pr.yml +1 -0
- package/README.md +2 -2
- package/coverage/clover.xml +61 -51
- package/coverage/coverage-final.json +11 -11
- package/coverage/lcov-report/index.html +14 -14
- 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 +1 -1
- package/coverage/lcov-report/node-sdk/configuration.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/index.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Bxml.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/NestableVerb.ts.html +38 -14
- package/coverage/lcov-report/node-sdk/models/bxml/Response.ts.html +4 -4
- package/coverage/lcov-report/node-sdk/models/bxml/Root.ts.html +63 -15
- package/coverage/lcov-report/node-sdk/models/bxml/Verb.ts.html +11 -11
- package/coverage/lcov-report/node-sdk/models/bxml/index.html +15 -15
- 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 +10 -10
- 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 +5 -5
- 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 +9 -9
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartTranscription.ts.html +9 -9
- 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 +9 -9
- 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 +127 -109
- package/custom_templates/README.mustache +45 -0
- package/custom_templates/package.mustache +1 -1
- package/dist/models/bxml/Bxml.d.ts +2 -2
- package/dist/models/bxml/Bxml.js +1 -1
- package/dist/models/bxml/NestableVerb.d.ts +2 -2
- package/dist/models/bxml/NestableVerb.js +12 -2
- package/dist/models/bxml/Response.d.ts +2 -2
- package/dist/models/bxml/Response.js +1 -1
- package/dist/models/bxml/Root.d.ts +7 -2
- package/dist/models/bxml/Root.js +19 -2
- package/dist/models/bxml/verbs/Gather.d.ts +5 -5
- package/dist/models/bxml/verbs/Gather.js +5 -5
- package/dist/models/bxml/verbs/StartStream.d.ts +5 -5
- package/dist/models/bxml/verbs/StartStream.js +5 -5
- package/dist/models/bxml/verbs/StartTranscription.d.ts +5 -5
- package/dist/models/bxml/verbs/StartTranscription.js +5 -5
- package/dist/models/bxml/verbs/Transfer.d.ts +5 -5
- package/dist/models/bxml/verbs/Transfer.js +5 -5
- package/models/bxml/Bxml.ts +2 -2
- package/models/bxml/NestableVerb.ts +11 -3
- package/models/bxml/Response.ts +2 -2
- package/models/bxml/Root.ts +19 -3
- package/models/bxml/verbs/Gather.ts +6 -6
- package/models/bxml/verbs/StartStream.ts +6 -6
- package/models/bxml/verbs/StartTranscription.ts +6 -6
- package/models/bxml/verbs/Transfer.ts +6 -6
- package/package.json +2 -2
- package/tests/unit/bxml/Bxml.test.js +33 -0
- package/tests/unit/bxml/Response.test.js +35 -2
- package/tests/unit/bxml/verbs/Gather.test.js +11 -3
- package/tests/unit/bxml/verbs/StartStream.test.js +11 -3
- package/tests/unit/bxml/verbs/StartTranscription.test.js +11 -3
- package/tests/unit/bxml/verbs/Transfer.test.js +11 -3
- package/.github/workflows/update-sdk.yml +0 -95
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
<a name='L14'></a><a href='#L14'>14</a>
|
|
80
80
|
<a name='L15'></a><a href='#L15'>15</a>
|
|
81
81
|
<a name='L16'></a><a href='#L16'>16</a>
|
|
82
|
-
<a name='L17'></a><a href='#L17'>17</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">
|
|
82
|
+
<a name='L17'></a><a href='#L17'>17</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">8x</span>
|
|
83
83
|
<span class="cline-any cline-neutral"> </span>
|
|
84
84
|
<span class="cline-any cline-neutral"> </span>
|
|
85
85
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -87,14 +87,14 @@
|
|
|
87
87
|
<span class="cline-any cline-neutral"> </span>
|
|
88
88
|
<span class="cline-any cline-neutral"> </span>
|
|
89
89
|
<span class="cline-any cline-neutral"> </span>
|
|
90
|
-
<span class="cline-any cline-yes">
|
|
90
|
+
<span class="cline-any cline-yes">8x</span>
|
|
91
91
|
<span class="cline-any cline-neutral"> </span>
|
|
92
92
|
<span class="cline-any cline-neutral"> </span>
|
|
93
93
|
<span class="cline-any cline-neutral"> </span>
|
|
94
94
|
<span class="cline-any cline-neutral"> </span>
|
|
95
|
-
<span class="cline-any cline-yes">
|
|
95
|
+
<span class="cline-any cline-yes">4x</span>
|
|
96
96
|
<span class="cline-any cline-neutral"> </span>
|
|
97
|
-
<span class="cline-any cline-yes">
|
|
97
|
+
<span class="cline-any cline-yes">8x</span>
|
|
98
98
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import { Verb } from '../Verb';
|
|
99
99
|
|
|
100
100
|
/**
|
|
@@ -118,7 +118,7 @@ export class PauseRecording 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
|
|
121
|
+
at 2024-01-16T20:19:56.135Z
|
|
122
122
|
</div>
|
|
123
123
|
<script src="../../../../prettify.js"></script>
|
|
124
124
|
<script>
|
|
@@ -175,7 +175,7 @@ export class PhoneNumber extends Verb {
|
|
|
175
175
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
176
176
|
Code coverage generated by
|
|
177
177
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
178
|
-
at
|
|
178
|
+
at 2024-01-16T20:19:56.135Z
|
|
179
179
|
</div>
|
|
180
180
|
<script src="../../../../prettify.js"></script>
|
|
181
181
|
<script>
|
|
@@ -148,7 +148,7 @@ export class PlayAudio extends Verb {
|
|
|
148
148
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
149
149
|
Code coverage generated by
|
|
150
150
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
151
|
-
at
|
|
151
|
+
at 2024-01-16T20:19:56.135Z
|
|
152
152
|
</div>
|
|
153
153
|
<script src="../../../../prettify.js"></script>
|
|
154
154
|
<script>
|
|
@@ -190,7 +190,7 @@ export class Record extends Verb {
|
|
|
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
|
|
193
|
+
at 2024-01-16T20:19:56.135Z
|
|
194
194
|
</div>
|
|
195
195
|
<script src="../../../../prettify.js"></script>
|
|
196
196
|
<script>
|
|
@@ -163,7 +163,7 @@ export class Redirect extends Verb {
|
|
|
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
|
|
166
|
+
at 2024-01-16T20:19:56.135Z
|
|
167
167
|
</div>
|
|
168
168
|
<script src="../../../../prettify.js"></script>
|
|
169
169
|
<script>
|
|
@@ -118,7 +118,7 @@ export class ResumeRecording 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
|
|
121
|
+
at 2024-01-16T20:19:56.135Z
|
|
122
122
|
</div>
|
|
123
123
|
<script src="../../../../prettify.js"></script>
|
|
124
124
|
<script>
|
|
@@ -142,7 +142,7 @@ export class Ring 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
|
|
145
|
+
at 2024-01-16T20:19:56.135Z
|
|
146
146
|
</div>
|
|
147
147
|
<script src="../../../../prettify.js"></script>
|
|
148
148
|
<script>
|
|
@@ -148,7 +148,7 @@ export class SendDtmf extends Verb {
|
|
|
148
148
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
149
149
|
Code coverage generated by
|
|
150
150
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
151
|
-
at
|
|
151
|
+
at 2024-01-16T20:19:56.135Z
|
|
152
152
|
</div>
|
|
153
153
|
<script src="../../../../prettify.js"></script>
|
|
154
154
|
<script>
|
|
@@ -178,7 +178,7 @@ export class SipUri extends Verb {
|
|
|
178
178
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
179
179
|
Code coverage generated by
|
|
180
180
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
181
|
-
at
|
|
181
|
+
at 2024-01-16T20:19:56.135Z
|
|
182
182
|
</div>
|
|
183
183
|
<script src="../../../../prettify.js"></script>
|
|
184
184
|
<script>
|
|
@@ -181,7 +181,7 @@ export class SpeakSentence extends Verb {
|
|
|
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
|
|
184
|
+
at 2024-01-16T20:19:56.135Z
|
|
185
185
|
</div>
|
|
186
186
|
<script src="../../../../prettify.js"></script>
|
|
187
187
|
<script>
|
|
@@ -151,7 +151,7 @@ export class StartGather extends Verb {
|
|
|
151
151
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
152
152
|
Code coverage generated by
|
|
153
153
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
154
|
-
at
|
|
154
|
+
at 2024-01-16T20:19:56.135Z
|
|
155
155
|
</div>
|
|
156
156
|
<script src="../../../../prettify.js"></script>
|
|
157
157
|
<script>
|
|
@@ -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
|
|
169
|
+
at 2024-01-16T20:19:56.135Z
|
|
170
170
|
</div>
|
|
171
171
|
<script src="../../../../prettify.js"></script>
|
|
172
172
|
<script>
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
<span class="cline-any cline-neutral"> </span>
|
|
131
131
|
<span class="cline-any cline-neutral"> </span>
|
|
132
132
|
<span class="cline-any cline-neutral"> </span>
|
|
133
|
-
<span class="cline-any cline-yes">
|
|
133
|
+
<span class="cline-any cline-yes">4x</span>
|
|
134
134
|
<span class="cline-any cline-neutral"> </span>
|
|
135
135
|
<span class="cline-any cline-neutral"> </span>
|
|
136
136
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
<span class="cline-any cline-neutral"> </span>
|
|
139
139
|
<span class="cline-any cline-neutral"> </span>
|
|
140
140
|
<span class="cline-any cline-yes">6x</span>
|
|
141
|
-
<span class="cline-any cline-yes">
|
|
141
|
+
<span class="cline-any cline-yes">3x</span>
|
|
142
142
|
<span class="cline-any cline-neutral"> </span>
|
|
143
143
|
<span class="cline-any cline-yes">6x</span>
|
|
144
144
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import { NestableVerb } from '../NestableVerb';
|
|
@@ -166,18 +166,18 @@ export class StartStream extends NestableVerb {
|
|
|
166
166
|
/**
|
|
167
167
|
* Creates an instance of StartStream
|
|
168
168
|
* @param {StartStreamAttributes} attributes The attributes to add to the element
|
|
169
|
-
* @param {StreamParam[]} streamParams The stream params to add to the element
|
|
169
|
+
* @param {StreamParam | StreamParam[]} streamParams The stream params to add to the element
|
|
170
170
|
*/
|
|
171
|
-
constructor(attributes?: StartStreamAttributes, streamParams?: StreamParam[]) {
|
|
171
|
+
constructor(attributes?: StartStreamAttributes, streamParams?: StreamParam | StreamParam[]) {
|
|
172
172
|
super('StartStream', undefined, attributes, streamParams)<span class="branch-1 cbranch-no" title="branch not covered" >;</span>
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
/**
|
|
176
|
-
* Add a stream param to the StartStream
|
|
177
|
-
* @param {StreamParam}
|
|
176
|
+
* Add a stream param or params to the StartStream
|
|
177
|
+
* @param {StreamParam | StreamParam[]} streamParams The stream param or params to add
|
|
178
178
|
*/
|
|
179
|
-
|
|
180
|
-
this.nestedVerbs = this.nestedVerbs.concat(
|
|
179
|
+
addStreamParams(streamParams: StreamParam | StreamParam[]): void {
|
|
180
|
+
this.nestedVerbs = this.nestedVerbs.concat(streamParams);
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
</pre></td></tr></table></pre>
|
|
@@ -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
|
|
190
|
+
at 2024-01-16T20:19:56.135Z
|
|
191
191
|
</div>
|
|
192
192
|
<script src="../../../../prettify.js"></script>
|
|
193
193
|
<script>
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
<span class="cline-any cline-neutral"> </span>
|
|
133
133
|
<span class="cline-any cline-neutral"> </span>
|
|
134
134
|
<span class="cline-any cline-neutral"> </span>
|
|
135
|
-
<span class="cline-any cline-yes">
|
|
135
|
+
<span class="cline-any cline-yes">4x</span>
|
|
136
136
|
<span class="cline-any cline-neutral"> </span>
|
|
137
137
|
<span class="cline-any cline-neutral"> </span>
|
|
138
138
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
<span class="cline-any cline-neutral"> </span>
|
|
141
141
|
<span class="cline-any cline-neutral"> </span>
|
|
142
142
|
<span class="cline-any cline-yes">6x</span>
|
|
143
|
-
<span class="cline-any cline-yes">
|
|
143
|
+
<span class="cline-any cline-yes">3x</span>
|
|
144
144
|
<span class="cline-any cline-neutral"> </span>
|
|
145
145
|
<span class="cline-any cline-yes">6x</span>
|
|
146
146
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import { NestableVerb } from '../NestableVerb';
|
|
@@ -169,18 +169,18 @@ export class StartTranscription extends NestableVerb {
|
|
|
169
169
|
/**
|
|
170
170
|
* Creates an instance of StartTranscription
|
|
171
171
|
* @param {StartTranscriptionAttributes} attributes The attributes to add to the element
|
|
172
|
-
* @param {CustomParam[]} customParams The custom params to add to the element
|
|
172
|
+
* @param {CustomParam | CustomParam[]} customParams The custom params to add to the element
|
|
173
173
|
*/
|
|
174
|
-
constructor(attributes?: StartTranscriptionAttributes, customParams?: CustomParam[]) {
|
|
174
|
+
constructor(attributes?: StartTranscriptionAttributes, customParams?: CustomParam | CustomParam[]) {
|
|
175
175
|
super('StartTranscription', undefined, attributes, customParams)<span class="branch-1 cbranch-no" title="branch not covered" >;</span>
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
/**
|
|
179
|
-
* Add a custom param to the StartTranscription
|
|
180
|
-
* @param {CustomParam}
|
|
179
|
+
* Add a custom param or params to the StartTranscription
|
|
180
|
+
* @param {CustomParam | CustomParam[]} customParams The custom param or params to add
|
|
181
181
|
*/
|
|
182
|
-
|
|
183
|
-
this.nestedVerbs = this.nestedVerbs.concat(
|
|
182
|
+
addCustomParams(customParams: CustomParam | CustomParam[]): void {
|
|
183
|
+
this.nestedVerbs = this.nestedVerbs.concat(customParams);
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
</pre></td></tr></table></pre>
|
|
@@ -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
|
|
193
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
121
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
121
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
142
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
142
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
145
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
130
|
+
at 2024-01-16T20:19:56.135Z
|
|
131
131
|
</div>
|
|
132
132
|
<script src="../../../../prettify.js"></script>
|
|
133
133
|
<script>
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
<span class="cline-any cline-neutral"> </span>
|
|
149
149
|
<span class="cline-any cline-neutral"> </span>
|
|
150
150
|
<span class="cline-any cline-neutral"> </span>
|
|
151
|
-
<span class="cline-any cline-yes">
|
|
151
|
+
<span class="cline-any cline-yes">4x</span>
|
|
152
152
|
<span class="cline-any cline-neutral"> </span>
|
|
153
153
|
<span class="cline-any cline-neutral"> </span>
|
|
154
154
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
<span class="cline-any cline-neutral"> </span>
|
|
157
157
|
<span class="cline-any cline-neutral"> </span>
|
|
158
158
|
<span class="cline-any cline-yes">6x</span>
|
|
159
|
-
<span class="cline-any cline-yes">
|
|
159
|
+
<span class="cline-any cline-yes">3x</span>
|
|
160
160
|
<span class="cline-any cline-neutral"> </span>
|
|
161
161
|
<span class="cline-any cline-yes">6x</span>
|
|
162
162
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">import { NestableVerb } from '../NestableVerb';
|
|
@@ -193,18 +193,18 @@ export class Transfer extends NestableVerb {
|
|
|
193
193
|
/**
|
|
194
194
|
* Creates an instance of Transfer
|
|
195
195
|
* @param {TransferAttributes} attributes The attributes to add to the element
|
|
196
|
-
* @param {NumberEntities} transferTo The number entities to transfer to
|
|
196
|
+
* @param {PhoneNumber | SipUri | NumberEntities} transferTo The number entities to transfer to
|
|
197
197
|
*/
|
|
198
|
-
constructor(attributes?: TransferAttributes, transferTo?: NumberEntities) {
|
|
198
|
+
constructor(attributes?: TransferAttributes, transferTo?: PhoneNumber | SipUri | NumberEntities) {
|
|
199
199
|
super('Transfer', undefined, attributes, transferTo)<span class="branch-1 cbranch-no" title="branch not covered" >;</span>
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
|
-
* Add a number entity to the transfer
|
|
204
|
-
* @param {NumberEntities}
|
|
203
|
+
* Add a number entity or entities to the transfer
|
|
204
|
+
* @param {PhoneNumber | SipUri | NumberEntities} recipients The number entity or entities to add
|
|
205
205
|
*/
|
|
206
|
-
|
|
207
|
-
this.nestedVerbs = this.nestedVerbs.concat(
|
|
206
|
+
addTransferRecipients(recipients: PhoneNumber | SipUri | NumberEntities): void {
|
|
207
|
+
this.nestedVerbs = this.nestedVerbs.concat(recipients);
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
</pre></td></tr></table></pre>
|
|
@@ -214,7 +214,7 @@ export class Transfer extends NestableVerb {
|
|
|
214
214
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
215
215
|
Code coverage generated by
|
|
216
216
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
217
|
-
at
|
|
217
|
+
at 2024-01-16T20:19:56.135Z
|
|
218
218
|
</div>
|
|
219
219
|
<script src="../../../../prettify.js"></script>
|
|
220
220
|
<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
|
|
524
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
163
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
166
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
166
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
166
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
166
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
166
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
314
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
340
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
166
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
172
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
166
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
166
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
184
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
166
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
166
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
166
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
166
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
322
|
+
at 2024-01-16T20:19:56.135Z
|
|
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
|
|
104
|
+
at 2024-01-16T20:19:56.135Z
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../prettify.js"></script>
|
|
107
107
|
<script>
|