Optional
autoAuto-wrapup timer for the task This is used to automatically wrap up tasks after a specified duration as defined in AutoWrapup
Event data received in the Contact Center events. Contains detailed task information including interaction details, media resources, and participant data as defined in TaskData
Map associating tasks with their corresponding call identifiers.
Answers or accepts an incoming task. Once accepted, the task will be assigned to the agent and trigger a TASK_EVENTS.TASK_ASSIGNED event. The response will contain updated agent contact information as defined in AgentContact.
Promise
task.accept();
Declines an incoming task for Browser Login
Promise
task.decline();
Ends/terminates the current task
Promise
task.end();
Places the current task on hold
Promise
task.hold();
Pauses the recording for current task
Promise
task.pauseRecording();
Resumes a task that was previously on hold
Promise
task.resume();
Resumes a previously paused recording
Parameters for resuming the recording
Promise
task.resumeRecording({
autoResumed: false
});
Initiates wrap-up process for the task with specified details
Wrap-up details including reason and auxiliary code
Promise
task.wrapup({
wrapUpReason: "Customer issue resolved",
auxCodeId: "RESOLVED"
});
Interface for managing task-related operations in the contact center Extends EventEmitter to support event-driven task updates