@avaya/infinity-agent-sdk - v1.0.0
    Preparing search index...

    The type/category of an agent status reason code.

    Used as the type field on a ReasonCode to indicate the agent's availability state. Pass a reason with the matching type to User.changeStatus.

    const reasons = await user.getAssignableReasonCodes();
    const available = reasons.find(r => r.type === ReasonType.AVAILABLE);
    if (available) {
    await user.changeStatus(available);
    }
    Index

    Enumeration Members

    Enumeration Members

    AVAILABLE: "available"

    Agent is available and ready to receive interactions.

    BUSY: "busy"

    Agent is busy and cannot receive new interactions.

    AWAY: "away"

    Agent is away from their workstation.

    OFFLINE: "offline"

    Agent is offline and not available.

    LOGOUT: "queueLogout"

    Reason used for logging out from queues.