Options
All
  • Public
  • Public/Protected
  • All
Menu

This is the base class for ACD

Hierarchy

  • CXoneAcdClient

Index

Constructors

  • get instance for agent auth and session

    @example
    const cxoneAcdClient = new CXoneAcdClient();

    Returns CXoneAcdClient

Properties

agentDetailService: AgentDetailService = ...
agentLegService: AgentLegService = ...
agentStateService: AgentStateService = ...
contactManager: ContactManager = ...
indicator: CXoneIndicatorManager = ...
logger: Logger = ...
notification: CXoneNotificationManager = ...
screenPop: CXoneScreenPop = ...
session: CXoneSession = ...
skillService: SkillService = ...
singleton: CXoneAcdClient

Accessors

  • Method to create singleton object of the class

    @example
    const cxoneAcdClient = CXoneAcdClient.instance();

    Returns CXoneAcdClient

Methods

  • getAgentSkills(agentId?: string): Promise<AgentSkill[]>
  • Method to get agent skills

    example
    getAgentSkills('1001') || getAgentSkills()
    

    Parameters

    • Optional agentId: string

      nullable Agent Id

    Returns Promise<AgentSkill[]>

    • agent skills details as an AgentSkill[]
  • Method to get cached agent skills

    example
    getCachedAgentSkills('1001') || getCachedAgentSkills()
    

    Parameters

    • Optional agentId: string

      nullable Agent Id

    Returns AgentSkill[] | Promise<AgentSkill[]>

    • cached agent skills details as an AgentSkill[]
  • method to return Team Unavailable Codes

    Parameters

    • Optional teamId: string

      TeamId

    Returns Promise<CXoneSdkError | UnavailableCode[]>

    • Team Unavailable Codes
    @example 
    getTeamUnavailableCodes();
  • initAcdEngagement(): void
  • method to initialize ACDEngagement

    @example
    initAcdEngagement();

    Returns void

  • subscribeRequestMessage(): void
  • Subscription for request message over broadcast channel

    Returns void

  • subscribeResponseMessage(): void
  • Subscription for response message over broadcast channel

    Returns void

Generated using TypeDoc