twilio-taskrouter 0.8.2 → 0.8.3
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 +6 -0
- package/dist/declarations/Activity.d.ts +17 -0
- package/dist/declarations/Channel.d.ts +19 -0
- package/dist/declarations/Reservation.d.ts +89 -0
- package/dist/declarations/Supervisor.d.ts +7 -0
- package/dist/declarations/Task.d.ts +53 -0
- package/dist/declarations/TaskQueue.d.ts +20 -0
- package/dist/declarations/Worker.d.ts +70 -0
- package/dist/declarations/WorkerContainer.d.ts +5 -0
- package/dist/declarations/Workspace.d.ts +40 -0
- package/dist/declarations/core/transfer/IncomingTransfer.d.ts +5 -0
- package/dist/declarations/core/transfer/OutgoingTransfer.d.ts +10 -0
- package/dist/declarations/core/transfer/Transfer.d.ts +21 -0
- package/dist/declarations/core/transfer/Transfers.d.ts +16 -0
- package/dist/declarations/data/ActivitiesEntity.d.ts +19 -0
- package/dist/declarations/data/ChannelsEntity.d.ts +20 -0
- package/dist/declarations/data/ReservationsEntity.d.ts +26 -0
- package/dist/declarations/data/WorkspaceEntity.d.ts +22 -0
- package/dist/declarations/descriptors/ActivityDescriptor.d.ts +10 -0
- package/dist/declarations/descriptors/ReservationDescriptor.d.ts +17 -0
- package/dist/declarations/descriptors/TaskDescriptor.d.ts +23 -0
- package/dist/declarations/descriptors/TaskQueueDescriptor.d.ts +18 -0
- package/dist/declarations/descriptors/TransferDescriptor.d.ts +15 -0
- package/dist/declarations/descriptors/WorkerChannelDescriptor.d.ts +16 -0
- package/dist/declarations/descriptors/WorkerDescriptor.d.ts +19 -0
- package/dist/declarations/handlers/TaskRouterEventHandler.d.ts +40 -0
- package/dist/declarations/index.d.ts +27 -0
- package/dist/declarations/signaling/EventBridgeSignaling.d.ts +26 -0
- package/dist/declarations/util/BaseRoutes.d.ts +4 -0
- package/dist/declarations/util/Configuration.d.ts +22 -0
- package/dist/declarations/util/Constants.d.ts +106 -0
- package/dist/declarations/util/Heartbeat.d.ts +19 -0
- package/dist/declarations/util/Logger.d.ts +17 -0
- package/dist/declarations/util/Paginator.d.ts +8 -0
- package/dist/declarations/util/Request.d.ts +8 -0
- package/dist/declarations/util/Retry.d.ts +7 -0
- package/dist/declarations/util/Routes.d.ts +67 -0
- package/dist/declarations/util/Tools.d.ts +3 -0
- package/dist/declarations/util/TwilioError.d.ts +6 -0
- package/dist/declarations/util/WorkspaceRoutes.d.ts +18 -0
- package/dist/declarations/util/errors.d.ts +51 -0
- package/dist/docs/Activity.html +525 -131
- package/dist/docs/Channel.html +900 -7
- package/dist/docs/IncomingTransfer.html +180 -14
- package/dist/docs/OutgoingTransfer.html +234 -17
- package/dist/docs/Reservation.html +901 -2351
- package/dist/docs/Supervisor.html +4385 -0
- package/dist/docs/Task.html +1738 -537
- package/dist/docs/TaskQueue.html +1021 -5
- package/dist/docs/Transfers.html +444 -4
- package/dist/docs/Worker.html +1555 -594
- package/dist/docs/Workspace.html +159 -913
- package/dist/docs/classes.list.html +1823 -14
- package/dist/docs/global.html +4755 -0
- package/dist/docs/index.html +11 -4
- package/dist/docs/quicksearch.html +1 -1
- package/dist/index.commonjs2.js +1 -1
- package/dist/index.commonjs2.js.LICENSE.txt +1 -1
- package/dist/index.window.js +2 -2
- package/dist/index.window.js.LICENSE.txt +1 -1
- package/package.json +10 -9
- package/dist/types.d.ts +0 -256
package/dist/docs/Activity.html
CHANGED
|
@@ -30,14 +30,21 @@
|
|
|
30
30
|
<li class="dropdown">
|
|
31
31
|
<a href="classes.list.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b class="caret"></b></a>
|
|
32
32
|
<ul class="dropdown-menu ">
|
|
33
|
-
<li><a href="Activity.html">Activity</a></li><li><a href="Channel.html">Channel</a></li><li><a href="IncomingTransfer.html">IncomingTransfer</a></li><li><a href="OutgoingTransfer.html">OutgoingTransfer</a></li><li><a href="Reservation.html">Reservation</a></li><li><a href="Task.html">Task</a></li><li><a href="TaskQueue.html">TaskQueue</a></li><li><a href="Transfers.html">Transfers</a></li><li><a href="Worker.html">Worker</a></li><li><a href="Workspace.html">Workspace</a></li>
|
|
33
|
+
<li><a href="Activity.html">Activity</a></li><li><a href="Channel.html">Channel</a></li><li><a href="IncomingTransfer.html">IncomingTransfer</a></li><li><a href="OutgoingTransfer.html">OutgoingTransfer</a></li><li><a href="Reservation.html">Reservation</a></li><li><a href="Supervisor.html">Supervisor</a></li><li><a href="Task.html">Task</a></li><li><a href="TaskQueue.html">TaskQueue</a></li><li><a href="Transfers.html">Transfers</a></li><li><a href="Worker.html">Worker</a></li><li><a href="Workspace.html">Workspace</a></li>
|
|
34
34
|
</ul>
|
|
35
35
|
</li>
|
|
36
36
|
|
|
37
37
|
<li class="dropdown">
|
|
38
38
|
<a href="events.list.html" class="dropdown-toggle" data-toggle="dropdown">Events<b class="caret"></b></a>
|
|
39
39
|
<ul class="dropdown-menu ">
|
|
40
|
-
<li><a href="Channel.html#event:availabilityUpdated">Channel#event:availabilityUpdated</a></li><li><a href="Channel.html#event:capacityUpdated">Channel#event:capacityUpdated</a></li><li><a href="OutgoingTransfer.html#event:attemptFailed">OutgoingTransfer#event:attemptFailed</a></li><li><a href="OutgoingTransfer.html#event:canceled">OutgoingTransfer#event:canceled</a></li><li><a href="OutgoingTransfer.html#event:completed">OutgoingTransfer#event:completed</a></li><li><a href="OutgoingTransfer.html#event:failed">OutgoingTransfer#event:failed</a></li><li><a href="Reservation.html#event:accepted">Reservation#event:accepted</a></li><li><a href="Reservation.html#event:canceled">Reservation#event:canceled</a></li><li><a href="Reservation.html#event:completed">Reservation#event:completed</a></li><li><a href="Reservation.html#event:rejected">Reservation#event:rejected</a></li><li><a href="Reservation.html#event:rescinded">Reservation#event:rescinded</a></li><li><a href="Reservation.html#event:timeout">Reservation#event:timeout</a></li><li><a href="Reservation.html#event:wrapup">Reservation#event:wrapup</a></li><li><a href="Task.html#event:canceled">Task#event:canceled</a></li><li><a href="Task.html#event:completed">Task#event:completed</a></li><li><a href="Task.html#event:transferInitiated">Task#event:transferInitiated</a></li><li><a href="Task.html#event:updated">Task#event:updated</a></li><li><a href="Task.html#event:wrapup">Task#event:wrapup</a></li><li><a href="Worker.html#event:activityUpdated">Worker#event:activityUpdated</a></li><li><a href="Worker.html#event:attributesUpdated">Worker#event:attributesUpdated</a></li><li><a href="Worker.html#event:disconnected">Worker#event:disconnected</a></li><li><a href="Worker.html#event:error">Worker#event:error</a></li><li><a href="Worker.html#event:ready">Worker#event:ready</a></li><li><a href="Worker.html#event:reservationCreated">Worker#event:reservationCreated</a></li><li><a href="Worker.html#event:reservationFailed">Worker#event:reservationFailed</a></li><li><a href="Worker.html#event:tokenExpired">Worker#event:tokenExpired</a></li><li><a href="Worker.html#event:tokenUpdated">Worker#event:tokenUpdated</a></li>
|
|
40
|
+
<li><a href="Channel.html#event:availabilityUpdated">Channel#event:availabilityUpdated</a></li><li><a href="Channel.html#event:capacityUpdated">Channel#event:capacityUpdated</a></li><li><a href="OutgoingTransfer.html#event:attemptFailed">OutgoingTransfer#event:attemptFailed</a></li><li><a href="OutgoingTransfer.html#event:canceled">OutgoingTransfer#event:canceled</a></li><li><a href="OutgoingTransfer.html#event:completed">OutgoingTransfer#event:completed</a></li><li><a href="OutgoingTransfer.html#event:failed">OutgoingTransfer#event:failed</a></li><li><a href="Reservation.html#event:accepted">Reservation#event:accepted</a></li><li><a href="Reservation.html#event:canceled">Reservation#event:canceled</a></li><li><a href="Reservation.html#event:completed">Reservation#event:completed</a></li><li><a href="Reservation.html#event:rejected">Reservation#event:rejected</a></li><li><a href="Reservation.html#event:rescinded">Reservation#event:rescinded</a></li><li><a href="Reservation.html#event:timeout">Reservation#event:timeout</a></li><li><a href="Reservation.html#event:wrapup">Reservation#event:wrapup</a></li><li><a href="Supervisor.html#event:activityUpdated">Supervisor#event:activityUpdated</a></li><li><a href="Supervisor.html#event:attributesUpdated">Supervisor#event:attributesUpdated</a></li><li><a href="Supervisor.html#event:disconnected">Supervisor#event:disconnected</a></li><li><a href="Supervisor.html#event:error">Supervisor#event:error</a></li><li><a href="Supervisor.html#event:monitor">Supervisor#event:monitor</a></li><li><a href="Supervisor.html#event:ready">Supervisor#event:ready</a></li><li><a href="Supervisor.html#event:reservationCreated">Supervisor#event:reservationCreated</a></li><li><a href="Supervisor.html#event:reservationFailed">Supervisor#event:reservationFailed</a></li><li><a href="Supervisor.html#event:tokenExpired">Supervisor#event:tokenExpired</a></li><li><a href="Supervisor.html#event:tokenUpdated">Supervisor#event:tokenUpdated</a></li><li><a href="Task.html#event:canceled">Task#event:canceled</a></li><li><a href="Task.html#event:completed">Task#event:completed</a></li><li><a href="Task.html#event:transferAttemptFailed">Task#event:transferAttemptFailed</a></li><li><a href="Task.html#event:transferCanceled">Task#event:transferCanceled</a></li><li><a href="Task.html#event:transferCompleted">Task#event:transferCompleted</a></li><li><a href="Task.html#event:transferFailed">Task#event:transferFailed</a></li><li><a href="Task.html#event:transferInitiated">Task#event:transferInitiated</a></li><li><a href="Task.html#event:updated">Task#event:updated</a></li><li><a href="Task.html#event:wrapup">Task#event:wrapup</a></li><li><a href="Worker.html#event:activityUpdated">Worker#event:activityUpdated</a></li><li><a href="Worker.html#event:attributesUpdated">Worker#event:attributesUpdated</a></li><li><a href="Worker.html#event:disconnected">Worker#event:disconnected</a></li><li><a href="Worker.html#event:error">Worker#event:error</a></li><li><a href="Worker.html#event:ready">Worker#event:ready</a></li><li><a href="Worker.html#event:reservationCreated">Worker#event:reservationCreated</a></li><li><a href="Worker.html#event:reservationFailed">Worker#event:reservationFailed</a></li><li><a href="Worker.html#event:tokenExpired">Worker#event:tokenExpired</a></li><li><a href="Worker.html#event:tokenUpdated">Worker#event:tokenUpdated</a></li>
|
|
41
|
+
</ul>
|
|
42
|
+
</li>
|
|
43
|
+
|
|
44
|
+
<li class="dropdown">
|
|
45
|
+
<a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
|
|
46
|
+
<ul class="dropdown-menu ">
|
|
47
|
+
<li><a href="global.html">Global</a></li>
|
|
41
48
|
</ul>
|
|
42
49
|
</li>
|
|
43
50
|
|
|
@@ -401,93 +408,97 @@
|
|
|
401
408
|
|
|
402
409
|
|
|
403
410
|
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
<h3 class="subsection-title">Methods</h3>
|
|
411
|
+
<h3 class="subsection-title">Members</h3>
|
|
407
412
|
|
|
408
413
|
<dl>
|
|
409
414
|
|
|
410
415
|
<hr>
|
|
411
|
-
<dt>
|
|
412
|
-
<h4
|
|
413
|
-
|
|
416
|
+
<dt class="name" id="accountSid">
|
|
417
|
+
<h4 id="accountSid"><span class="type-signature"><readonly> </span>accountSid<span class="type-signature"> :string</span></h4>
|
|
418
|
+
|
|
414
419
|
|
|
415
420
|
</dt>
|
|
416
421
|
<dd>
|
|
422
|
+
|
|
417
423
|
|
|
418
424
|
|
|
419
|
-
|
|
420
|
-
<
|
|
421
|
-
|
|
425
|
+
<h5>Type:</h5>
|
|
426
|
+
<ul>
|
|
427
|
+
<li>
|
|
428
|
+
|
|
429
|
+
<span class="param-type">string</span>
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
</li>
|
|
434
|
+
</ul>
|
|
422
435
|
|
|
423
436
|
|
|
424
437
|
|
|
438
|
+
<dl class="details">
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
|
|
425
446
|
|
|
426
447
|
|
|
427
448
|
|
|
428
449
|
|
|
450
|
+
|
|
429
451
|
|
|
430
|
-
<h5>Parameters:</h5>
|
|
431
|
-
|
|
432
452
|
|
|
433
|
-
|
|
434
|
-
<thead>
|
|
435
|
-
<tr>
|
|
436
|
-
|
|
437
|
-
<th>Name</th>
|
|
438
|
-
|
|
453
|
+
|
|
439
454
|
|
|
440
|
-
|
|
455
|
+
|
|
441
456
|
|
|
442
|
-
|
|
443
|
-
<th>Argument</th>
|
|
444
|
-
|
|
457
|
+
|
|
445
458
|
|
|
446
|
-
|
|
459
|
+
|
|
447
460
|
|
|
448
|
-
|
|
449
|
-
</tr>
|
|
450
|
-
</thead>
|
|
461
|
+
|
|
451
462
|
|
|
452
|
-
|
|
453
|
-
|
|
463
|
+
|
|
454
464
|
|
|
455
|
-
<tr>
|
|
456
|
-
|
|
457
|
-
<td class="name"><code>options</code></td>
|
|
458
|
-
|
|
459
465
|
|
|
460
|
-
<td class="type">
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
<span class="param-type"><a href="Activity.html#.UpdateOptions">Activity.UpdateOptions</a></span>
|
|
464
466
|
|
|
467
|
+
|
|
465
468
|
|
|
469
|
+
|
|
466
470
|
|
|
467
|
-
|
|
468
|
-
</td>
|
|
471
|
+
|
|
469
472
|
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
<optional><br>
|
|
474
|
-
|
|
473
|
+
|
|
474
|
+
</dl>
|
|
475
475
|
|
|
476
|
-
|
|
477
476
|
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
477
|
+
|
|
478
|
+
</dd>
|
|
481
479
|
|
|
480
|
+
|
|
482
481
|
|
|
482
|
+
<hr>
|
|
483
|
+
<dt class="name" id="available">
|
|
484
|
+
<h4 id="available"><span class="type-signature"><readonly> </span>available<span class="type-signature"> :boolean</span></h4>
|
|
483
485
|
|
|
484
|
-
|
|
485
|
-
|
|
486
|
+
|
|
487
|
+
</dt>
|
|
488
|
+
<dd>
|
|
489
|
+
|
|
486
490
|
|
|
487
491
|
|
|
488
|
-
|
|
489
|
-
|
|
492
|
+
<h5>Type:</h5>
|
|
493
|
+
<ul>
|
|
494
|
+
<li>
|
|
495
|
+
|
|
496
|
+
<span class="param-type">boolean</span>
|
|
497
|
+
|
|
490
498
|
|
|
499
|
+
|
|
500
|
+
</li>
|
|
501
|
+
</ul>
|
|
491
502
|
|
|
492
503
|
|
|
493
504
|
|
|
@@ -531,57 +542,80 @@
|
|
|
531
542
|
|
|
532
543
|
|
|
533
544
|
|
|
545
|
+
</dd>
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
<hr>
|
|
550
|
+
<dt class="name" id="dateCreated">
|
|
551
|
+
<h4 id="dateCreated"><span class="type-signature"><readonly> </span>dateCreated<span class="type-signature"> :Date</span></h4>
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
</dt>
|
|
555
|
+
<dd>
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
<h5>Type:</h5>
|
|
560
|
+
<ul>
|
|
561
|
+
<li>
|
|
562
|
+
|
|
563
|
+
<span class="param-type">Date</span>
|
|
534
564
|
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
</li>
|
|
568
|
+
</ul>
|
|
535
569
|
|
|
536
570
|
|
|
537
571
|
|
|
572
|
+
<dl class="details">
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
|
|
538
580
|
|
|
539
581
|
|
|
540
582
|
|
|
541
583
|
|
|
542
584
|
|
|
543
585
|
|
|
544
|
-
|
|
586
|
+
|
|
545
587
|
|
|
546
|
-
|
|
547
|
-
<div class="param-desc">
|
|
548
|
-
<ul>
|
|
549
|
-
<li>Rejected if the <a href="Worker.html">Worker</a>'s activity state could not be set</li>
|
|
550
|
-
</ul>
|
|
551
|
-
</div>
|
|
552
588
|
|
|
589
|
+
|
|
553
590
|
|
|
591
|
+
|
|
554
592
|
|
|
555
|
-
|
|
556
|
-
<dt>
|
|
557
|
-
Type
|
|
558
|
-
</dt>
|
|
559
|
-
<dd>
|
|
560
|
-
|
|
561
|
-
<span class="param-type">Promise.<this></span>
|
|
593
|
+
|
|
562
594
|
|
|
595
|
+
|
|
563
596
|
|
|
597
|
+
|
|
564
598
|
|
|
565
|
-
</dd>
|
|
566
|
-
</dl>
|
|
567
599
|
|
|
568
600
|
|
|
569
|
-
|
|
601
|
+
|
|
570
602
|
|
|
571
|
-
|
|
572
|
-
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
</dl>
|
|
573
609
|
|
|
574
|
-
</dl>
|
|
575
|
-
|
|
576
610
|
|
|
577
611
|
|
|
578
|
-
|
|
612
|
+
</dd>
|
|
579
613
|
|
|
580
|
-
|
|
581
|
-
|
|
614
|
+
|
|
615
|
+
|
|
582
616
|
<hr>
|
|
583
|
-
<dt class="name" id="
|
|
584
|
-
<h4 id="
|
|
617
|
+
<dt class="name" id="dateUpdated">
|
|
618
|
+
<h4 id="dateUpdated"><span class="type-signature"><readonly> </span>dateUpdated<span class="type-signature"> :Date</span></h4>
|
|
585
619
|
|
|
586
620
|
|
|
587
621
|
</dt>
|
|
@@ -593,7 +627,7 @@
|
|
|
593
627
|
<ul>
|
|
594
628
|
<li>
|
|
595
629
|
|
|
596
|
-
<span class="param-type">
|
|
630
|
+
<span class="param-type">Date</span>
|
|
597
631
|
|
|
598
632
|
|
|
599
633
|
|
|
@@ -605,76 +639,61 @@
|
|
|
605
639
|
<dl class="details">
|
|
606
640
|
|
|
607
641
|
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
<dl>
|
|
642
|
+
|
|
611
643
|
|
|
612
|
-
|
|
613
|
-
<thead>
|
|
614
|
-
<tr>
|
|
615
|
-
|
|
616
|
-
<th>Name</th>
|
|
617
|
-
|
|
644
|
+
|
|
618
645
|
|
|
619
|
-
|
|
646
|
+
|
|
620
647
|
|
|
621
|
-
|
|
622
|
-
<th>Argument</th>
|
|
623
|
-
|
|
648
|
+
|
|
624
649
|
|
|
625
|
-
|
|
626
|
-
<th>Default</th>
|
|
627
|
-
|
|
650
|
+
|
|
628
651
|
|
|
629
|
-
|
|
630
|
-
</tr>
|
|
631
|
-
</thead>
|
|
652
|
+
|
|
632
653
|
|
|
633
|
-
<tbody>
|
|
634
654
|
|
|
635
655
|
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
<td class="name"><code>rejectPendingReservations</code></td>
|
|
639
|
-
|
|
656
|
+
|
|
640
657
|
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
<span class="param-type">boolean</span>
|
|
658
|
+
|
|
645
659
|
|
|
660
|
+
|
|
646
661
|
|
|
662
|
+
|
|
647
663
|
|
|
648
|
-
|
|
649
|
-
</td>
|
|
664
|
+
|
|
650
665
|
|
|
651
|
-
|
|
652
|
-
<td class="attributes">
|
|
653
|
-
|
|
654
|
-
<optional><br>
|
|
655
|
-
|
|
656
666
|
|
|
657
|
-
|
|
658
|
-
</td>
|
|
659
|
-
|
|
660
667
|
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
</dl>
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
</dd>
|
|
680
|
+
|
|
681
|
+
|
|
661
682
|
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
</td>
|
|
667
|
-
|
|
683
|
+
<hr>
|
|
684
|
+
<dt class="name" id="isCurrent">
|
|
685
|
+
<h4 id="isCurrent"><span class="type-signature"></span>isCurrent<span class="type-signature"></span></h4>
|
|
668
686
|
|
|
669
|
-
|
|
670
|
-
|
|
687
|
+
|
|
688
|
+
</dt>
|
|
689
|
+
<dd>
|
|
690
|
+
|
|
671
691
|
|
|
672
692
|
|
|
673
|
-
</tbody>
|
|
674
|
-
</table>
|
|
675
|
-
</dl>
|
|
676
693
|
|
|
677
694
|
|
|
695
|
+
<dl class="details">
|
|
696
|
+
|
|
678
697
|
|
|
679
698
|
|
|
680
699
|
|
|
@@ -715,7 +734,382 @@
|
|
|
715
734
|
|
|
716
735
|
</dd>
|
|
717
736
|
|
|
718
|
-
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
<hr>
|
|
740
|
+
<dt class="name" id="name">
|
|
741
|
+
<h4 id="name"><span class="type-signature"><readonly> </span>name<span class="type-signature"> :string</span></h4>
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
</dt>
|
|
745
|
+
<dd>
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
<h5>Type:</h5>
|
|
750
|
+
<ul>
|
|
751
|
+
<li>
|
|
752
|
+
|
|
753
|
+
<span class="param-type">string</span>
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
</li>
|
|
758
|
+
</ul>
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
<dl class="details">
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
</dl>
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
</dd>
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
<hr>
|
|
807
|
+
<dt class="name" id="sid">
|
|
808
|
+
<h4 id="sid"><span class="type-signature"><readonly> </span>sid<span class="type-signature"> :string</span></h4>
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
</dt>
|
|
812
|
+
<dd>
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
|
|
816
|
+
<h5>Type:</h5>
|
|
817
|
+
<ul>
|
|
818
|
+
<li>
|
|
819
|
+
|
|
820
|
+
<span class="param-type">string</span>
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
</li>
|
|
825
|
+
</ul>
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
<dl class="details">
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
</dl>
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
</dd>
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
|
|
873
|
+
<hr>
|
|
874
|
+
<dt class="name" id="workspaceSid">
|
|
875
|
+
<h4 id="workspaceSid"><span class="type-signature"><readonly> </span>workspaceSid<span class="type-signature"> :string</span></h4>
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
</dt>
|
|
879
|
+
<dd>
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
<h5>Type:</h5>
|
|
884
|
+
<ul>
|
|
885
|
+
<li>
|
|
886
|
+
|
|
887
|
+
<span class="param-type">string</span>
|
|
888
|
+
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
</li>
|
|
892
|
+
</ul>
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
|
|
896
|
+
<dl class="details">
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
</dl>
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
|
|
936
|
+
</dd>
|
|
937
|
+
|
|
938
|
+
</dl>
|
|
939
|
+
|
|
940
|
+
|
|
941
|
+
|
|
942
|
+
<h3 class="subsection-title">Methods</h3>
|
|
943
|
+
|
|
944
|
+
<dl>
|
|
945
|
+
|
|
946
|
+
<hr>
|
|
947
|
+
<dt>
|
|
948
|
+
<h4 class="name" id="setAsCurrent"><span class="type-signature"></span>setAsCurrent( [options])</h4>
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
</dt>
|
|
952
|
+
<dd>
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
<div class="description">
|
|
956
|
+
<p>Make this <a href="Activity.html">Activity</a> the current state of the Worker</p>
|
|
957
|
+
</div>
|
|
958
|
+
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
<h5>Parameters:</h5>
|
|
967
|
+
|
|
968
|
+
|
|
969
|
+
<table class="params table table-striped">
|
|
970
|
+
<thead>
|
|
971
|
+
<tr>
|
|
972
|
+
|
|
973
|
+
<th>Name</th>
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
<th>Type</th>
|
|
977
|
+
|
|
978
|
+
|
|
979
|
+
<th>Argument</th>
|
|
980
|
+
|
|
981
|
+
|
|
982
|
+
|
|
983
|
+
|
|
984
|
+
<th class="last">Description</th>
|
|
985
|
+
</tr>
|
|
986
|
+
</thead>
|
|
987
|
+
|
|
988
|
+
<tbody>
|
|
989
|
+
|
|
990
|
+
|
|
991
|
+
<tr>
|
|
992
|
+
|
|
993
|
+
<td class="name"><code>options</code></td>
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
<td class="type">
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
<span class="param-type"><a href="global.html#ActivityUpdateOptions">ActivityUpdateOptions</a></span>
|
|
1000
|
+
|
|
1001
|
+
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
</td>
|
|
1005
|
+
|
|
1006
|
+
|
|
1007
|
+
<td class="attributes">
|
|
1008
|
+
|
|
1009
|
+
<optional><br>
|
|
1010
|
+
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
|
|
1014
|
+
|
|
1015
|
+
</td>
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
|
|
1020
|
+
<td class="description last"></td>
|
|
1021
|
+
</tr>
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
</tbody>
|
|
1025
|
+
</table>
|
|
1026
|
+
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
|
|
1030
|
+
<dl class="details">
|
|
1031
|
+
|
|
1032
|
+
|
|
1033
|
+
|
|
1034
|
+
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
|
|
1048
|
+
|
|
1049
|
+
|
|
1050
|
+
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
|
|
1063
|
+
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
</dl>
|
|
1067
|
+
|
|
1068
|
+
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
|
|
1074
|
+
|
|
1075
|
+
|
|
1076
|
+
|
|
1077
|
+
|
|
1078
|
+
|
|
1079
|
+
|
|
1080
|
+
<h5>Returns:</h5>
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
<div class="param-desc">
|
|
1084
|
+
<ul>
|
|
1085
|
+
<li>Rejected if the <a href="Worker.html">Worker</a>'s activity state could not be set</li>
|
|
1086
|
+
</ul>
|
|
1087
|
+
</div>
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
<dl>
|
|
1092
|
+
<dt>
|
|
1093
|
+
Type
|
|
1094
|
+
</dt>
|
|
1095
|
+
<dd>
|
|
1096
|
+
|
|
1097
|
+
<span class="param-type">Promise.<this></span>
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
|
|
1101
|
+
</dd>
|
|
1102
|
+
</dl>
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
|
|
1108
|
+
</dd>
|
|
1109
|
+
|
|
1110
|
+
</dl>
|
|
1111
|
+
|
|
1112
|
+
|
|
719
1113
|
|
|
720
1114
|
|
|
721
1115
|
|
|
@@ -761,9 +1155,9 @@
|
|
|
761
1155
|
|
|
762
1156
|
|
|
763
1157
|
<span class="jsdoc-message">
|
|
764
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.
|
|
1158
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a>
|
|
765
1159
|
|
|
766
|
-
on 2023-
|
|
1160
|
+
on 2023-07-28T07:39:46+00:00
|
|
767
1161
|
|
|
768
1162
|
using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
|
769
1163
|
</span>
|