Type alias AgentLogin

AgentLogin: {
    dialNumber?: string;
    loginOption: LoginOption;
    teamId: string;
}

Represents the request to perform agent login.

Type declaration

  • Optional dialNumber?: string

    A dialNumber field contains the number to dial such as a route point or extension. Required for AGENT_DN and EXTENSION login options.

  • loginOption: LoginOption

    The loginOption field specifies the type of login method. Controls how calls are delivered to the agent.

  • teamId: string

    The unique ID representing a team of users. The agent must belong to this team.

Example

const login: AgentLogin = { dialNumber: '1234', teamId: 'team1', loginOption: LoginOption.AGENT_DN };