Type alias ReloginSuccess

ReloginSuccess: Msg<{
    agentId: string;
    agentSessionId: string;
    auxCodeId: string;
    channelsMap: Record<string, string[]>;
    deviceId?: string | null;
    deviceType?: DeviceType;
    dialNumber?: string;
    dn: string;
    eventType: "AgentDesktopMessage";
    interactionIds: string[];
    isEmergencyModalAlreadyDisplayed?: boolean;
    isExtension: boolean;
    lastIdleCodeChangeTimestamp: number;
    lastStateChangeReason?: string;
    lastStateChangeTimestamp: number;
    orgId: string;
    profileType: string;
    roles?: string[];
    siteId: string;
    status: "LoggedIn";
    subStatus: "Idle";
    teamId: string;
    trackingId: string;
    type: "AgentReloginSuccess";
}>

Response type received when an agent successfully relogins to the system

Type declaration

  • agentId: string

    Unique identifier of the agent

  • agentSessionId: string

    New session ID assigned to the agent

  • auxCodeId: string

    Auxiliary code ID for the agent's initial state

  • channelsMap: Record<string, string[]>

    Map of channel types to channel IDs

  • Optional deviceId?: string | null

    Unique identifier of the device

  • Optional deviceType?: DeviceType

    Type of device being used

  • Optional dialNumber?: string

    Phone number for dialing

  • dn: string

    Directory number assigned to the agent

  • eventType: "AgentDesktopMessage"

    Message type identifier for agent desktop events

  • interactionIds: string[]

    List of active interaction IDs

  • Optional isEmergencyModalAlreadyDisplayed?: boolean

    Flag indicating if emergency modal was shown

  • isExtension: boolean

    Indicates if login is via extension

  • lastIdleCodeChangeTimestamp: number

    Timestamp of last idle code change

  • Optional lastStateChangeReason?: string

    Reason for the last state change

  • lastStateChangeTimestamp: number

    Timestamp of last state change

  • orgId: string

    Organization ID the agent belongs to

  • profileType: string

    Type of agent profile

  • Optional roles?: string[]

    List of roles assigned to the agent

  • siteId: string

    ID of the site where the agent is located

  • status: "LoggedIn"

    Current login status

  • subStatus: "Idle"

    Current sub-status

  • teamId: string

    ID of the team the agent belongs to

  • trackingId: string

    Tracking ID for the relogin request

  • type: "AgentReloginSuccess"

    Type identifier for relogin success event

Remarks

Represents the response message when an agent successfully re-authenticates. Contains comprehensive information about the agent's new session, including their state, assigned channels, and device information.