Options
All
  • Public
  • Public/Protected
  • All
Menu

This class to manage notification

Hierarchy

  • CXoneNotificationManager

Index

Constructors

Properties

acdSession: ACDSessionManager = ...
agentMessageNotificationSvc: AgentMessageNotificationService = ...
logger: Logger = ...
onCXoneNotificationEvent: Subject<CXoneSdkError | WemNotificationDisplayData | WemSuccessResponse> = ...
onUpdateMessageEvent: Subject<CXoneSdkError | AgentMessageNotification[]> = ...
tenant: CXoneTenant = ...
validationUtils: ValidationUtils = ...
wemNotificationProvider: WemNotificationProvider = ...

Methods

  • Method to add agent message notifications to indexDB

    example
    this.addACDNotificationToIndexDB();
    

    Parameters

    Returns Promise<void>

  • getAgentMessageNotification(): void
  • Method to get agent message notification

    example
    this.getAgentMessageNotification();
    

    Returns void

  • markACDNotificationAcknowledge(notificationId: string): Promise<CXoneSdkError>
  • Method to add agent message notification to indexDB

    example
    this.markACDNotificationAcknowledge();
    

    Parameters

    • notificationId: string

    Returns Promise<CXoneSdkError>

  • This method to send message is ready Acknowledgement to WebSocket

    example
    sendWemAcknowledge('abc1234')
    

    Parameters

    • msgId: string

      Notification message id

    Returns void | CXoneSdkError

    • boolean | CXoneSdkError
  • This method to start websocket

    example
    startWemWebsocket('en-US', 'Asia/Calcutta',{maxRetryAttempts:5, retryInterval: 2000})
    

    Parameters

    Returns Promise<boolean | CXoneSdkError>

    • Promise boolean or CXoneSdkError
  • Use to terminate the ws worker instance

    example
    this.terminateWsWorker();
    

    Returns void | CXoneSdkError

Generated using TypeDoc