Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CXoneAgentQueuesDetailProvider

Agent Queues Detail Provider Class

Hierarchy

  • CXoneAgentQueuesDetailProvider

Index

Constructors

Properties

acdSession: ACDSessionManager = ACDSessionManager.instance
agentId: string = ''
baseUri: string = ''
cxoneClient: CXoneClient = ...
logger: Logger = ...
pollingWorker: any
urlUtilService: UrlUtilsService = ...
utilService: HttpUtilService = ...

Methods

  • agentQueuesDetailsPolling(agentId: string): void
  • Used to initiate the polling for agent queues detail data

    example
    const agentQueuesDetailProvider = new CXoneAgentQueuesDetailProvider();
    this.agentQueuesDetailProvider.agentQueuesDetailsPolling();

    Parameters

    • agentId: string

    Returns void

  • Used to handle the agent queues detail api response and return the agent queues detail model object

    example
    formatAgentQueuesDetailResponse(data);
    

    Parameters

    • data: {}
      • [key: string]: string | any

    Returns AgentQueuesDetail[]

    • agent queue detail list
  • Callback method which will passed on to the worker and will be executed after the polling api response then will publish to the subject subscriber with the agent queues detail data

    example
    handleAgentQueuesDetailResponse(data);
    

    Parameters

    Returns void

  • initAgentQueuesDetailWorker(): void
  • Use to initializing the util worker and will return the method inside the worker

    example
    this.initAgentQueuesDetailWorker();
    

    Returns void

  • restartWorker(agentId: string): void
  • Use to restart worker

    example
    this.restartWorker(agentId: string);
    

    Parameters

    • agentId: string

    Returns void

  • Used to set the directory base instance to access the subject from the base class

    example

    Parameters

    Returns void

  • terminatePolling(): void
  • Use to terminate the agent queue worker

    example
    this.terminatePolling
    

    Returns void

Generated using TypeDoc