From Bright Pattern Documentation
The Embedded Agent Desktop SDK supports the following types of events.
Agent Login events, such as onAgentLogin(callback), are used for showing whether an agent is logged in or out of Agent Desktop.
Agent Status events, such as onStatusChange(callback), are used for retrieving an agent's state and reason.
Call Flow events, such as addInteractionRenderedHandler(callback) and addInteractionCompletedHandler(callback), are used for getting information about active interactions and completed interactions.
For more information about how these events are used, see the Embedded Agent Desktop SDK Specification.