Type alias StateChange

StateChange: {
    agentId?: string;
    auxCodeId: string;
    lastStateChangeReason?: string;
    state: AgentState;
}

Parameters required for changing an agent's state

Type declaration

  • Optional agentId?: string

    ID of the agent whose state is being changed

  • auxCodeId: string

    Auxiliary code ID associated with the state change

  • Optional lastStateChangeReason?: string

    Reason for the state change

  • state: AgentState

    New state to transition the agent to

Remarks

Defines the necessary information for transitioning an agent from one state to another.