McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 484

↗ View in doc context
page
484
source
finesse/v12.5/developer-guide/developer-guide.md
chunk_id
finesse::v12.5::developer-guide::developer-guide::468

getWrapUpTimer() Retrieves the maximum amount of time the user can be in Wrap Up state (in seconds). Returns {String} The WrapUp time configured for the user. For example, 3600 (1 hour). hasAgentRole() Checks whether the user is an agent. Returns {Boolean} True if the user has the role of an agent, else false. hasSupervisorRole() Checks whether the user is a supervisor. Returns {Boolean} True if the user has the role of the supervisor, else false. isDeviceSelectionEnabled() Retrieves whether the device selection is enabled for the user. Example /**

if device selection is disabled. */ isDeviceSelectionEnabled: function() { this.isLoaded(); if (this.getData().settings) { return this.getData().settings.deviceSelection === 'enabled'; } return false; } Returns {Boolean} True if the device selection is enabled and false if device selection is disabled. isMobileAgent() Checks whether the user is a mobile agent. Returns {Boolean} True if this agent is a mobile agent, else false. isPendingStateChange() Checks whether there is a pending state change. A pending state change is a request to change state that does not result in an immediate state change. For example, if an agent in the TALKING state attempts to change Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 468 Cisco Finesse JavaScript APIs User