twilio-taskrouter 2.0.7 → 2.0.8
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 +10 -0
- package/dist/docs/Activity.html +1 -1
- package/dist/docs/Channel.html +1 -1
- package/dist/docs/IncomingTransfer.html +1 -1
- package/dist/docs/OutgoingTransfer.html +1 -1
- package/dist/docs/Reservation.html +1 -1
- package/dist/docs/Supervisor.html +1 -1
- package/dist/docs/Task.html +1 -1
- package/dist/docs/TaskQueue.html +1 -1
- package/dist/docs/Transfers.html +1 -1
- package/dist/docs/Worker.html +1 -1
- package/dist/docs/Workspace.html +1 -1
- package/dist/docs/classes.list.html +1 -1
- package/dist/docs/global.html +39 -1
- package/dist/docs/index.html +1 -1
- 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/dist/types.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! twilio-taskrouter.js 2.0.
|
|
1
|
+
/*! twilio-taskrouter.js 2.0.8 */
|
package/dist/types.d.ts
CHANGED
|
@@ -36,6 +36,8 @@ export class Worker extends (EventEmitter as new () => TypedEmitter<WorkerEvents
|
|
|
36
36
|
|
|
37
37
|
export class Supervisor extends Worker {
|
|
38
38
|
monitor(taskSid: string, reservationSid: string, extraParams: Object): Promise<void>;
|
|
39
|
+
setWorkerAttributes(workerSid: string, attributes: string): Promise<Worker>;
|
|
40
|
+
setWorkerActivity(workerSid: string, activitySid: string, options: Object): Promise<Worker>;
|
|
39
41
|
}
|
|
40
42
|
|
|
41
43
|
interface WorkerEvents {
|
|
@@ -326,6 +328,7 @@ export interface ReservationParticipantOptions {
|
|
|
326
328
|
export interface WorkerOptions {
|
|
327
329
|
connectActivitySid?: string;
|
|
328
330
|
closeExistingSessions?: boolean;
|
|
331
|
+
setWorkerOfflineIfDisconnected?: boolean
|
|
329
332
|
logLevel?: "error" | "warn" | "info" | "debug" | "trace" | "silent";
|
|
330
333
|
ebServer?: string;
|
|
331
334
|
wsServer?: string;
|
package/package.json
CHANGED