Options
All
  • Public
  • Public/Protected
  • All
Menu

Class to manage agent permission

Hierarchy

  • CXoneAgentPermission

Index

Constructors

  • get instance for CXonePermission and adminService

    example
    const cxonePermission = new CXonePermission();
    

    Returns CXoneAgentPermission

Properties

adminService: AdminService

Methods

  • Method to return agent permissions

    Parameters

    Returns Promise<boolean>

    • return true if agent has the permissions for respective key otherwise false
    @example
    checkPermissions()
  • Method to return agent permissions

    Returns Promise<CXoneSdkError | Permissions[]>

    • return the agent permissions
    @example
    getPermissions()

Generated using TypeDoc