Options
All
  • Public
  • Public/Protected
  • All
Menu

This is the base class for Directory

Hierarchy

  • CXoneDirectory

Index

Constructors

  • Create instance for directory session and initialize it

    example
    new DirectoryBase();
    

    Returns CXoneDirectory

Properties

acdSession: ACDSessionManager = ...
addressBookService: AddressBookService
directoryEvent: Subject<DirectoryResponse> = ...
directoryProvider: CXoneDirectoryProvider = ...
dynamicDirectory: CXoneDynamicDirectory = ...
onUpdateSkillsEvent: Subject<AgentSkill[]> = ...
skillService: SkillService
teamService: TeamService
singleton: CXoneDirectory

Methods

  • clearDirectoryDB(): void
  • Used to clear out the directory data from the index DB before initiating a new directory instance

    Returns void

  • getAgentSkills(): void
  • Method to get agent skills

    example
    this.getAgentSkills();
    

    Returns void

  • Used to handle the directory data for polling, non polling and search requests

    example
    getDirectoryData(directoryRequest);
    

    Parameters

    • directoryRequest: DirectoryRequest

      directory request object with pollingOptions, entity, offset, limit and searchText

    Returns void

  • Method to get favorites for Agents

    example
    this.getFavorites(searchText);
    

    Parameters

    • agentName: string

    Returns Promise<AgentStateResponse[]>

  • get Standard Address book entries for all standardbooks for a email autocomplete search

    example
     this.getFilteredStandardBookEntries({ addressBooks: AddressBooks[];
    skip: number;
    top: number;
    searchText: string;})

    Parameters

    • data: { addressBooks: AddressBooks[]; searchText: string; skip: number; top: number }
      • addressBooks: AddressBooks[]
      • searchText: string
      • skip: number
      • top: number

    Returns Promise<AddressBookEntriesResponse[]>

  • terminateDirectoryPolling(): void
  • Used to terminate directory polling

    example
    this.directoryBase.terminateDirectoryPolling()
    

    Returns void

  • Method to toggle favorites for Agents

    example
    this.toggleFavorite();
    

    Parameters

    Returns void

Generated using TypeDoc