twilio-taskrouter 0.5.7 → 0.5.11
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/CHANGELOG.md +35 -0
- package/README.md +7 -0
- package/dist/docs/Activity.html +4 -4
- package/dist/docs/Channel.html +4 -4
- package/dist/docs/IncomingTransfer.html +6 -6
- package/dist/docs/OutgoingTransfer.html +8 -8
- package/dist/docs/Reservation.html +43 -43
- package/dist/docs/Task.html +18 -18
- package/dist/docs/TaskQueue.html +3 -3
- package/dist/docs/Transfers.html +3 -3
- package/dist/docs/Worker.html +16 -16
- package/dist/docs/classes.list.html +4 -4
- package/dist/docs/index.html +48 -23
- package/dist/docs/quicksearch.html +1 -1
- package/dist/index.commonjs2.js +2 -10
- package/dist/index.commonjs2.js.LICENSE.txt +1 -0
- package/dist/index.window.js +3 -10
- package/dist/index.window.js.LICENSE.txt +1 -0
- package/dist/types.d.ts +58 -5
- package/package.json +42 -38
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,38 @@
|
|
|
1
|
+
0.6.0
|
|
2
|
+
==========
|
|
3
|
+
New Features
|
|
4
|
+
----------
|
|
5
|
+
- Add `version` field to TaskRouter resources (Task, Reservation and Worker)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
0.5.11
|
|
9
|
+
==========
|
|
10
|
+
Bug Fixes
|
|
11
|
+
----------
|
|
12
|
+
- Improved the fix for race condition when initiating task transfer
|
|
13
|
+
|
|
14
|
+
Maintenance
|
|
15
|
+
----------
|
|
16
|
+
- Upgraded several dependencies to more recents versions
|
|
17
|
+
- Upgraded node engine requirement from 6 to >=12.17.0
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
0.5.10
|
|
21
|
+
==========
|
|
22
|
+
Bug Fixes
|
|
23
|
+
----------
|
|
24
|
+
- Fixed heartbeat attempting to close websocket after it was already closed
|
|
25
|
+
|
|
26
|
+
Maintenance
|
|
27
|
+
----------
|
|
28
|
+
- Add missing type declarations
|
|
29
|
+
|
|
30
|
+
0.5.9
|
|
31
|
+
==========
|
|
32
|
+
Bug Fixes
|
|
33
|
+
----------
|
|
34
|
+
- Fixed race condition when initiating task transfer
|
|
35
|
+
|
|
1
36
|
0.5.7
|
|
2
37
|
==========
|
|
3
38
|
Maintenance
|
package/README.md
CHANGED
|
@@ -111,6 +111,13 @@ Before commits, be sure to validate by running:
|
|
|
111
111
|
make lint
|
|
112
112
|
```
|
|
113
113
|
|
|
114
|
+
Testing
|
|
115
|
+
------------
|
|
116
|
+
- Create a twilio account
|
|
117
|
+
- copy ./test/integration_test_setup/.env.example to ./test/integration_test_setup/.env
|
|
118
|
+
- set ACCOUNT_SID, AUTH_TOKEN, SIGNING_KEY_SID, SIGNING_KEY_SECRET
|
|
119
|
+
- Run ./test/integration_test_setup/RunIntegrationTestLocal.sh this will create everything needed for running E2E tests and run the tests
|
|
120
|
+
|
|
114
121
|
Contributing
|
|
115
122
|
------------
|
|
116
123
|
|
package/dist/docs/Activity.html
CHANGED
|
@@ -546,7 +546,7 @@
|
|
|
546
546
|
|
|
547
547
|
<div class="param-desc">
|
|
548
548
|
<ul>
|
|
549
|
-
<li>Rejected if the <a href="Worker.html">Worker</a
|
|
549
|
+
<li>Rejected if the <a href="Worker.html">Worker</a>'s activity state could not be set</li>
|
|
550
550
|
</ul>
|
|
551
551
|
</div>
|
|
552
552
|
|
|
@@ -745,7 +745,7 @@
|
|
|
745
745
|
<div class="modal-dialog">
|
|
746
746
|
<div class="modal-content">
|
|
747
747
|
<div class="modal-header">
|
|
748
|
-
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"
|
|
748
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
749
749
|
<h4 class="modal-title">Search results</h4>
|
|
750
750
|
</div>
|
|
751
751
|
<div class="modal-body"></div>
|
|
@@ -761,9 +761,9 @@
|
|
|
761
761
|
|
|
762
762
|
|
|
763
763
|
<span class="jsdoc-message">
|
|
764
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.
|
|
764
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a>
|
|
765
765
|
|
|
766
|
-
on 2022-
|
|
766
|
+
on 2022-08-10T07:57:17+00:00
|
|
767
767
|
|
|
768
768
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
|
769
769
|
</span>
|
package/dist/docs/Channel.html
CHANGED
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
|
|
232
232
|
|
|
233
233
|
<td class="description last"><p>The current available capacity of this <a href="Worker.html">Worker</a> to handle
|
|
234
|
-
|
|
234
|
+
<a href="Task.html">Task</a>s of this <a href="Channel.html">Channel</a> type</p></td>
|
|
235
235
|
</tr>
|
|
236
236
|
|
|
237
237
|
|
|
@@ -821,7 +821,7 @@
|
|
|
821
821
|
<div class="modal-dialog">
|
|
822
822
|
<div class="modal-content">
|
|
823
823
|
<div class="modal-header">
|
|
824
|
-
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"
|
|
824
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
825
825
|
<h4 class="modal-title">Search results</h4>
|
|
826
826
|
</div>
|
|
827
827
|
<div class="modal-body"></div>
|
|
@@ -837,9 +837,9 @@
|
|
|
837
837
|
|
|
838
838
|
|
|
839
839
|
<span class="jsdoc-message">
|
|
840
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.
|
|
840
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a>
|
|
841
841
|
|
|
842
|
-
on 2022-
|
|
842
|
+
on 2022-08-10T07:57:17+00:00
|
|
843
843
|
|
|
844
844
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
|
845
845
|
</span>
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
|
|
207
207
|
|
|
208
208
|
|
|
209
|
-
<td class="description last"><p>Transfer mode [
|
|
209
|
+
<td class="description last"><p>Transfer mode ['WARM', 'COLD']</p></td>
|
|
210
210
|
</tr>
|
|
211
211
|
|
|
212
212
|
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
|
|
279
279
|
|
|
280
280
|
|
|
281
|
-
<td class="description last"><p>[
|
|
281
|
+
<td class="description last"><p>['INITIATED', 'FAILED', 'COMPLETE', 'CANCELED']</p></td>
|
|
282
282
|
</tr>
|
|
283
283
|
|
|
284
284
|
|
|
@@ -326,7 +326,7 @@
|
|
|
326
326
|
|
|
327
327
|
|
|
328
328
|
|
|
329
|
-
<td class="description last"><p>The transfer type [
|
|
329
|
+
<td class="description last"><p>The transfer type ['QUEUE', 'WORKER']</p></td>
|
|
330
330
|
</tr>
|
|
331
331
|
|
|
332
332
|
|
|
@@ -457,7 +457,7 @@
|
|
|
457
457
|
<div class="modal-dialog">
|
|
458
458
|
<div class="modal-content">
|
|
459
459
|
<div class="modal-header">
|
|
460
|
-
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"
|
|
460
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
461
461
|
<h4 class="modal-title">Search results</h4>
|
|
462
462
|
</div>
|
|
463
463
|
<div class="modal-body"></div>
|
|
@@ -473,9 +473,9 @@
|
|
|
473
473
|
|
|
474
474
|
|
|
475
475
|
<span class="jsdoc-message">
|
|
476
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.
|
|
476
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a>
|
|
477
477
|
|
|
478
|
-
on 2022-
|
|
478
|
+
on 2022-08-10T07:57:17+00:00
|
|
479
479
|
|
|
480
480
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
|
481
481
|
</span>
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
|
|
207
207
|
|
|
208
208
|
|
|
209
|
-
<td class="description last"><p>Transfer mode [
|
|
209
|
+
<td class="description last"><p>Transfer mode ['WARM', 'COLD']</p></td>
|
|
210
210
|
</tr>
|
|
211
211
|
|
|
212
212
|
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
|
|
279
279
|
|
|
280
280
|
|
|
281
|
-
<td class="description last"><p>[
|
|
281
|
+
<td class="description last"><p>['INITIATED', 'FAILED', 'COMPLETED', 'CANCELED']</p></td>
|
|
282
282
|
</tr>
|
|
283
283
|
|
|
284
284
|
|
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
|
|
351
351
|
|
|
352
352
|
|
|
353
|
-
<td class="description last"><p>The transfer type [
|
|
353
|
+
<td class="description last"><p>The transfer type ['QUEUE', 'WORKER']</p></td>
|
|
354
354
|
</tr>
|
|
355
355
|
|
|
356
356
|
|
|
@@ -532,7 +532,7 @@
|
|
|
532
532
|
|
|
533
533
|
<div class="param-desc">
|
|
534
534
|
<ul>
|
|
535
|
-
<li>Rejected if the <a href="OutgoingTransfer.html">OutgoingTransfer</a> state could not be updated to
|
|
535
|
+
<li>Rejected if the <a href="OutgoingTransfer.html">OutgoingTransfer</a> state could not be updated to 'canceled'</li>
|
|
536
536
|
</ul>
|
|
537
537
|
</div>
|
|
538
538
|
|
|
@@ -705,7 +705,7 @@
|
|
|
705
705
|
|
|
706
706
|
|
|
707
707
|
<div class="description">
|
|
708
|
-
<p>The <a href="Task.html">Task</a
|
|
708
|
+
<p>The <a href="Task.html">Task</a>'s current <a href="OutgoingTransfer.html">OutgoingTransfer</a> has successfully been cancelled</p>
|
|
709
709
|
</div>
|
|
710
710
|
|
|
711
711
|
|
|
@@ -1106,7 +1106,7 @@ No more attempts on the <a href="OutgoingTransfer.html">OutgoingTransfer</a> wil
|
|
|
1106
1106
|
<div class="modal-dialog">
|
|
1107
1107
|
<div class="modal-content">
|
|
1108
1108
|
<div class="modal-header">
|
|
1109
|
-
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"
|
|
1109
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
1110
1110
|
<h4 class="modal-title">Search results</h4>
|
|
1111
1111
|
</div>
|
|
1112
1112
|
<div class="modal-body"></div>
|
|
@@ -1122,9 +1122,9 @@ No more attempts on the <a href="OutgoingTransfer.html">OutgoingTransfer</a> wil
|
|
|
1122
1122
|
|
|
1123
1123
|
|
|
1124
1124
|
<span class="jsdoc-message">
|
|
1125
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.
|
|
1125
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a>
|
|
1126
1126
|
|
|
1127
|
-
on 2022-
|
|
1127
|
+
on 2022-08-10T07:57:17+00:00
|
|
1128
1128
|
|
|
1129
1129
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
|
1130
1130
|
</span>
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
|
|
282
282
|
|
|
283
283
|
<td class="description last"><p>The current state of the <a href="Reservation.html">Reservation</a>.
|
|
284
|
-
|
|
284
|
+
Options: ['pending', 'accepted', 'rejected', 'timeout', 'canceled', 'rescinded', 'wrapping', 'completed'].</p></td>
|
|
285
285
|
</tr>
|
|
286
286
|
|
|
287
287
|
|
|
@@ -683,7 +683,7 @@
|
|
|
683
683
|
|
|
684
684
|
|
|
685
685
|
|
|
686
|
-
<td class="description last"><p>A valid TwiML URI that is executed on the answering Worker
|
|
686
|
+
<td class="description last"><p>A valid TwiML URI that is executed on the answering Worker's leg</p></td>
|
|
687
687
|
</tr>
|
|
688
688
|
|
|
689
689
|
|
|
@@ -1090,8 +1090,8 @@
|
|
|
1090
1090
|
|
|
1091
1091
|
<div class="description">
|
|
1092
1092
|
<p>Dequeue the <a href="Reservation.html">Reservation</a> to the <a href="Worker.html">Worker</a>. This will perform telephony to dequeue a
|
|
1093
|
-
|
|
1094
|
-
|
|
1093
|
+
<a href="Task.html">Task</a> that was enqueued using the Enqueue TwiML verb. A contact_uri must exist
|
|
1094
|
+
in the <a href="Worker.html">Worker</a>'s attributes for this call to go through.</p>
|
|
1095
1095
|
</div>
|
|
1096
1096
|
|
|
1097
1097
|
|
|
@@ -1351,7 +1351,7 @@
|
|
|
1351
1351
|
|
|
1352
1352
|
|
|
1353
1353
|
|
|
1354
|
-
<td class="description last"><p>A valid TwiML URI that is executed on the Caller
|
|
1354
|
+
<td class="description last"><p>A valid TwiML URI that is executed on the Caller's leg upon redirecting</p></td>
|
|
1355
1355
|
</tr>
|
|
1356
1356
|
|
|
1357
1357
|
|
|
@@ -1653,7 +1653,7 @@
|
|
|
1653
1653
|
|
|
1654
1654
|
|
|
1655
1655
|
<div class="description">
|
|
1656
|
-
<p>Update the <a href="Worker.html">Worker</a
|
|
1656
|
+
<p>Update the <a href="Worker.html">Worker</a>'s leg in the Conference associated to this <a href="Reservation.html">Reservation</a></p>
|
|
1657
1657
|
</div>
|
|
1658
1658
|
|
|
1659
1659
|
|
|
@@ -1782,7 +1782,7 @@
|
|
|
1782
1782
|
|
|
1783
1783
|
<div class="param-desc">
|
|
1784
1784
|
<ul>
|
|
1785
|
-
<li>Rejected if unable to update the Worker
|
|
1785
|
+
<li>Rejected if unable to update the Worker's leg in the Conference tied to the <a href="Reservation.html">Reservation</a></li>
|
|
1786
1786
|
</ul>
|
|
1787
1787
|
</div>
|
|
1788
1788
|
|
|
@@ -2007,7 +2007,7 @@
|
|
|
2007
2007
|
|
|
2008
2008
|
|
|
2009
2009
|
<td class="description last"><p>Represents whether the <a href="Task.html">Task</a> should be
|
|
2010
|
-
|
|
2010
|
+
accepted before initiating the call</p></td>
|
|
2011
2011
|
</tr>
|
|
2012
2012
|
|
|
2013
2013
|
|
|
@@ -2040,7 +2040,7 @@
|
|
|
2040
2040
|
|
|
2041
2041
|
<td class="default">
|
|
2042
2042
|
|
|
2043
|
-
|
|
2043
|
+
'do-not-record'
|
|
2044
2044
|
|
|
2045
2045
|
</td>
|
|
2046
2046
|
|
|
@@ -2122,7 +2122,7 @@
|
|
|
2122
2122
|
|
|
2123
2123
|
|
|
2124
2124
|
<td class="description last"><p>The number or endpoint that should be called.
|
|
2125
|
-
|
|
2125
|
+
If not provided, the contact_uri defined in the <a href="Worker.html">Worker</a> attributes will be used</p></td>
|
|
2126
2126
|
</tr>
|
|
2127
2127
|
|
|
2128
2128
|
|
|
@@ -2160,7 +2160,7 @@
|
|
|
2160
2160
|
</td>
|
|
2161
2161
|
|
|
2162
2162
|
|
|
2163
|
-
<td class="description last"><p>The integer number of seconds Twilio should allow the phone associated to
|
|
2163
|
+
<td class="description last"><p>The integer number of seconds Twilio should allow the phone associated to "contact_uri" to ring</p></td>
|
|
2164
2164
|
</tr>
|
|
2165
2165
|
|
|
2166
2166
|
|
|
@@ -2299,7 +2299,7 @@
|
|
|
2299
2299
|
|
|
2300
2300
|
|
|
2301
2301
|
<td class="description last"><p>The contact uri of the <a href="Worker.html">Worker</a>; can be a phone
|
|
2302
|
-
|
|
2302
|
+
number or a client ID. Required, if no contact_uri on the <a href="Worker.html">Worker</a>'s attributes.</p></td>
|
|
2303
2303
|
</tr>
|
|
2304
2304
|
|
|
2305
2305
|
|
|
@@ -2338,7 +2338,7 @@
|
|
|
2338
2338
|
|
|
2339
2339
|
|
|
2340
2340
|
<td class="description last"><p>The caller id for the call to the <a href="Worker.html">Worker</a>.
|
|
2341
|
-
|
|
2341
|
+
Must be a verified Twilio number.</p></td>
|
|
2342
2342
|
</tr>
|
|
2343
2343
|
|
|
2344
2344
|
|
|
@@ -2377,7 +2377,7 @@
|
|
|
2377
2377
|
|
|
2378
2378
|
|
|
2379
2379
|
<td class="description last"><p>The integer number of seconds that
|
|
2380
|
-
|
|
2380
|
+
Twilio should allow the call to ring before assuming there is no answer.</p></td>
|
|
2381
2381
|
</tr>
|
|
2382
2382
|
|
|
2383
2383
|
|
|
@@ -2448,7 +2448,7 @@
|
|
|
2448
2448
|
|
|
2449
2449
|
<td class="default">
|
|
2450
2450
|
|
|
2451
|
-
|
|
2451
|
+
'POST'
|
|
2452
2452
|
|
|
2453
2453
|
</td>
|
|
2454
2454
|
|
|
@@ -2486,13 +2486,13 @@
|
|
|
2486
2486
|
|
|
2487
2487
|
<td class="default">
|
|
2488
2488
|
|
|
2489
|
-
|
|
2489
|
+
'completed'
|
|
2490
2490
|
|
|
2491
2491
|
</td>
|
|
2492
2492
|
|
|
2493
2493
|
|
|
2494
2494
|
<td class="description last"><p>A comma separated list of events to subscribe to.
|
|
2495
|
-
|
|
2495
|
+
The possible list of events are: ['initiated', 'ringing', 'answered', 'completed'].</p></td>
|
|
2496
2496
|
</tr>
|
|
2497
2497
|
|
|
2498
2498
|
|
|
@@ -2525,7 +2525,7 @@
|
|
|
2525
2525
|
|
|
2526
2526
|
<td class="default">
|
|
2527
2527
|
|
|
2528
|
-
|
|
2528
|
+
'do-not-record'
|
|
2529
2529
|
|
|
2530
2530
|
</td>
|
|
2531
2531
|
|
|
@@ -2610,7 +2610,7 @@
|
|
|
2610
2610
|
|
|
2611
2611
|
|
|
2612
2612
|
<td class="description last"><p>Whether the <a href="Worker.html">Worker</a> leg should be when entering the Conference.
|
|
2613
|
-
|
|
2613
|
+
The options for beep are: [true, false, 'onEnter', 'onExit'].</p></td>
|
|
2614
2614
|
</tr>
|
|
2615
2615
|
|
|
2616
2616
|
|
|
@@ -2833,7 +2833,7 @@
|
|
|
2833
2833
|
|
|
2834
2834
|
<td class="default">
|
|
2835
2835
|
|
|
2836
|
-
|
|
2836
|
+
'POST'
|
|
2837
2837
|
|
|
2838
2838
|
</td>
|
|
2839
2839
|
|
|
@@ -2985,7 +2985,7 @@
|
|
|
2985
2985
|
|
|
2986
2986
|
<td class="default">
|
|
2987
2987
|
|
|
2988
|
-
|
|
2988
|
+
'POST'
|
|
2989
2989
|
|
|
2990
2990
|
</td>
|
|
2991
2991
|
|
|
@@ -3023,13 +3023,13 @@
|
|
|
3023
3023
|
|
|
3024
3024
|
<td class="default">
|
|
3025
3025
|
|
|
3026
|
-
|
|
3026
|
+
'start,end'
|
|
3027
3027
|
|
|
3028
3028
|
</td>
|
|
3029
3029
|
|
|
3030
3030
|
|
|
3031
3031
|
<td class="description last"><p>A comma separated list of Conference events to subscribe to.
|
|
3032
|
-
|
|
3032
|
+
The possible list of events are: ['start', 'end', 'join', 'leave', 'mute', 'hold', 'speaker'].</p></td>
|
|
3033
3033
|
</tr>
|
|
3034
3034
|
|
|
3035
3035
|
|
|
@@ -3071,7 +3071,7 @@
|
|
|
3071
3071
|
|
|
3072
3072
|
|
|
3073
3073
|
<td class="description last"><p>Whether the entire Conference should be recorded.
|
|
3074
|
-
|
|
3074
|
+
The possible options for conferenceRecord are: [true, false, 'record-from-start', 'do-not-record'].</p></td>
|
|
3075
3075
|
</tr>
|
|
3076
3076
|
|
|
3077
3077
|
|
|
@@ -3104,13 +3104,13 @@
|
|
|
3104
3104
|
|
|
3105
3105
|
<td class="default">
|
|
3106
3106
|
|
|
3107
|
-
|
|
3107
|
+
'trim-silence'
|
|
3108
3108
|
|
|
3109
3109
|
</td>
|
|
3110
3110
|
|
|
3111
3111
|
|
|
3112
3112
|
<td class="description last"><p>Whether to trim the Conference recording.
|
|
3113
|
-
|
|
3113
|
+
The options for conferenceTrim are: ['trim-silence', 'do-not-trim'].</p></td>
|
|
3114
3114
|
</tr>
|
|
3115
3115
|
|
|
3116
3116
|
|
|
@@ -3143,12 +3143,12 @@
|
|
|
3143
3143
|
|
|
3144
3144
|
<td class="default">
|
|
3145
3145
|
|
|
3146
|
-
|
|
3146
|
+
'mono'
|
|
3147
3147
|
|
|
3148
3148
|
</td>
|
|
3149
3149
|
|
|
3150
3150
|
|
|
3151
|
-
<td class="description last"><p>Which channel of the Conference to record. The options are: [
|
|
3151
|
+
<td class="description last"><p>Which channel of the Conference to record. The options are: ['mono', 'dual'].</p></td>
|
|
3152
3152
|
</tr>
|
|
3153
3153
|
|
|
3154
3154
|
|
|
@@ -3219,7 +3219,7 @@
|
|
|
3219
3219
|
|
|
3220
3220
|
<td class="default">
|
|
3221
3221
|
|
|
3222
|
-
|
|
3222
|
+
'POST'
|
|
3223
3223
|
|
|
3224
3224
|
</td>
|
|
3225
3225
|
|
|
@@ -3295,7 +3295,7 @@
|
|
|
3295
3295
|
|
|
3296
3296
|
<td class="default">
|
|
3297
3297
|
|
|
3298
|
-
|
|
3298
|
+
'POST'
|
|
3299
3299
|
|
|
3300
3300
|
</td>
|
|
3301
3301
|
|
|
@@ -3338,7 +3338,7 @@
|
|
|
3338
3338
|
</td>
|
|
3339
3339
|
|
|
3340
3340
|
|
|
3341
|
-
<td class="description last"><p>The specific region. The options for region are: [
|
|
3341
|
+
<td class="description last"><p>The specific region. The options for region are: ['us1', 'ie1', 'sg1', 'br1', 'au1', 'jp1'].</p></td>
|
|
3342
3342
|
</tr>
|
|
3343
3343
|
|
|
3344
3344
|
|
|
@@ -3553,7 +3553,7 @@
|
|
|
3553
3553
|
|
|
3554
3554
|
|
|
3555
3555
|
<td class="description last"><p>The caller id for the call to the <a href="Worker.html">Worker</a>.
|
|
3556
|
-
|
|
3556
|
+
Must be a verified Twilio number.</p></td>
|
|
3557
3557
|
</tr>
|
|
3558
3558
|
|
|
3559
3559
|
|
|
@@ -3592,7 +3592,7 @@
|
|
|
3592
3592
|
|
|
3593
3593
|
|
|
3594
3594
|
<td class="description last"><p>The contact uri of the <a href="Worker.html">Worker</a>; can be a phone
|
|
3595
|
-
|
|
3595
|
+
number or a client ID. Required, if no contact_uri on the <a href="Worker.html">Worker</a>'s attributes.</p></td>
|
|
3596
3596
|
</tr>
|
|
3597
3597
|
|
|
3598
3598
|
|
|
@@ -3631,7 +3631,7 @@
|
|
|
3631
3631
|
|
|
3632
3632
|
|
|
3633
3633
|
<td class="description last"><p>The activitySid to update the
|
|
3634
|
-
|
|
3634
|
+
<a href="Worker.html">Worker</a> to after dequeuing the <a href="Reservation.html">Reservation</a>.</p></td>
|
|
3635
3635
|
</tr>
|
|
3636
3636
|
|
|
3637
3637
|
|
|
@@ -3664,13 +3664,13 @@
|
|
|
3664
3664
|
|
|
3665
3665
|
<td class="default">
|
|
3666
3666
|
|
|
3667
|
-
|
|
3667
|
+
'do-not-record'
|
|
3668
3668
|
|
|
3669
3669
|
</td>
|
|
3670
3670
|
|
|
3671
3671
|
|
|
3672
3672
|
<td class="description last"><p>Defines which legs of the call
|
|
3673
|
-
|
|
3673
|
+
should be recorded.</p></td>
|
|
3674
3674
|
</tr>
|
|
3675
3675
|
|
|
3676
3676
|
|
|
@@ -3709,7 +3709,7 @@
|
|
|
3709
3709
|
|
|
3710
3710
|
|
|
3711
3711
|
<td class="description last"><p>The integer number of seconds that
|
|
3712
|
-
|
|
3712
|
+
Twilio should allow the call to ring before assuming there is no answer.</p></td>
|
|
3713
3713
|
</tr>
|
|
3714
3714
|
|
|
3715
3715
|
|
|
@@ -3748,7 +3748,7 @@
|
|
|
3748
3748
|
|
|
3749
3749
|
|
|
3750
3750
|
<td class="description last"><p>A URL that Twilio will send
|
|
3751
|
-
|
|
3751
|
+
asynchronous webhook this._request. to on a completed call event.</p></td>
|
|
3752
3752
|
</tr>
|
|
3753
3753
|
|
|
3754
3754
|
|
|
@@ -4139,7 +4139,7 @@
|
|
|
4139
4139
|
|
|
4140
4140
|
|
|
4141
4141
|
<td class="description last"><p>Represents whether the <a href="Task.html">Task</a> should be
|
|
4142
|
-
|
|
4142
|
+
accepted before initiating the call</p></td>
|
|
4143
4143
|
</tr>
|
|
4144
4144
|
|
|
4145
4145
|
|
|
@@ -4260,7 +4260,7 @@
|
|
|
4260
4260
|
|
|
4261
4261
|
|
|
4262
4262
|
<td class="description last"><p>The sid of the <a href="Activity.html">Activity</a> to update the worker to
|
|
4263
|
-
|
|
4263
|
+
upon rejecting the <a href="Reservation.html">Reservation</a></p></td>
|
|
4264
4264
|
</tr>
|
|
4265
4265
|
|
|
4266
4266
|
|
|
@@ -5239,7 +5239,7 @@
|
|
|
5239
5239
|
<div class="modal-dialog">
|
|
5240
5240
|
<div class="modal-content">
|
|
5241
5241
|
<div class="modal-header">
|
|
5242
|
-
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"
|
|
5242
|
+
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
5243
5243
|
<h4 class="modal-title">Search results</h4>
|
|
5244
5244
|
</div>
|
|
5245
5245
|
<div class="modal-body"></div>
|
|
@@ -5255,9 +5255,9 @@
|
|
|
5255
5255
|
|
|
5256
5256
|
|
|
5257
5257
|
<span class="jsdoc-message">
|
|
5258
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.
|
|
5258
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.7</a>
|
|
5259
5259
|
|
|
5260
|
-
on 2022-
|
|
5260
|
+
on 2022-08-10T07:57:17+00:00
|
|
5261
5261
|
|
|
5262
5262
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
|
5263
5263
|
</span>
|