Options
All
  • Public
  • Public/Protected
  • All
Menu

This is the base class for Digital

Hierarchy

  • CXoneDigitalClient

Index

Constructors

  • get instance for agent auth and session

    example
    const cxoneDigitalClient = new CXoneDigitalClient();
    

    Returns CXoneDigitalClient

Properties

auth: CXoneAuth = ...
cxoneDigitalWebsocket: CXoneDigitalWebsocket = ...
cxoneTenant: CXoneTenant = ...
cxoneUser: CXoneUser = ...
digitalContactManager: DigitalContactManager = ...
digitalMessageNoteService: DigitalMessageNoteService = ...
digitalService: DigitalService = ...
isStartedDigitalStatusPolling: boolean = false
logger: Logger = ...
skillService: SkillService = ...

Accessors

  • Method to create singleton object of the class

    @example
    const cxoneDigitalClient = CXoneDigitalClient.instance();

    Returns CXoneDigitalClient

Methods

  • clearDigitalCache(): Promise<void>
  • Method to clear local and session storage

    example
    clearDigitalCache()
    

    Returns Promise<void>

  • getDigitalUserDetails(): Promise<void>
  • Get digital logged in user details like UserId to call other digital APIs

    example
    getDigitalUserDetails();
    

    Returns Promise<void>

  • initDigitalEngagement(): void
  • method to initialize DigitalEngagement

    example
    initDigitalEngagement();
    

    Returns void

  • onLeaderElectionChange(): void
  • Subscription for leader change event

    Returns void

Generated using TypeDoc