TaskData: {
    agentId: string;
    autoResumed?: boolean;
    childInteractionId?: string;
    consultMediaResourceId: string;
    consultingAgentId?: string;
    destAgentId: string;
    destinationType?: string;
    eventTime?: number;
    eventType: string;
    fromOwner?: boolean;
    id?: string;
    interaction: Interaction;
    interactionId: string;
    isConferencing: boolean;
    isConsulted?: boolean;
    isWebCallMute?: boolean;
    mediaResourceId: string;
    orgId: string;
    owner: string;
    participantId?: string;
    queueMgr: string;
    queueName?: string;
    reason?: string;
    reasonCode?: string | number;
    reservationInteractionId?: string;
    ronaTimeout?: number;
    task?: Interaction;
    taskId?: string;
    toOwner?: boolean;
    trackingId: string;
    type: string;
    updatedBy?: string;
    wrapUpRequired?: boolean;
}

Task payload containing detailed information about a contact center task This structure encapsulates all relevant data for task management

Type declaration

  • agentId: string

    Identifier of the agent handling the task

  • Optional autoResumed?: boolean

    Indicates if the task was automatically resumed

  • Optional childInteractionId?: string

    Identifier for child interaction in consult/transfer scenarios

  • consultMediaResourceId: string

    Media resource identifier for consultation operations

  • Optional consultingAgentId?: string

    Identifier of the consulting agent

  • destAgentId: string

    Identifier of the destination agent for transfers/consults

  • Optional destinationType?: string

    Type of destination for transfer/consult

  • Optional eventTime?: number

    Timestamp when the event occurred

  • eventType: string

    Type of event that triggered this task data

  • Optional fromOwner?: boolean

    Indicates if the task is from the owner

  • Optional id?: string

    Unique identifier for monitoring offered events

  • interaction: Interaction

    Detailed interaction information

  • interactionId: string

    Unique identifier for the interaction

  • isConferencing: boolean

    Indicates if the task is in conference state

  • Optional isConsulted?: boolean

    Indicates if the task is in consultation state

  • Optional isWebCallMute?: boolean

    Indicates if the web call is muted

  • mediaResourceId: string

    Unique identifier for the media resource handling this task

  • orgId: string

    Organization identifier

  • owner: string

    Current owner of the task

  • Optional participantId?: string

    Unique identifier for the participant

  • queueMgr: string

    Queue manager handling the task

  • Optional queueName?: string

    Name of the queue where task is queued

  • Optional reason?: string

    Description of the reason for an action

  • Optional reasonCode?: string | number

    Code indicating the reason for an action

  • Optional reservationInteractionId?: string

    Identifier for reservation interaction

  • Optional ronaTimeout?: number

    Timeout value for RONA (Redirection on No Answer) in seconds

  • Optional task?: Interaction

    Task details including state and media information

  • Optional taskId?: string

    Unique identifier for the task

  • Optional toOwner?: boolean

    Indicates if the task is to the owner

  • trackingId: string

    Unique tracking identifier for the task

  • type: string

    Type of the task

  • Optional updatedBy?: string

    Identifier of agent who last updated the task

  • Optional wrapUpRequired?: boolean

    Indicates if wrap-up is required for this task