{
    "componentChunkName": "component---src-templates-api-template-tsx",
    "path": "/nsa/NotificationManager/",
    "result": {"data":{"entityQuery":{"nodes":[{"name":"NotificationManager","docName":null,"properties":null,"description":null,"classdesc":"<p>NotificationsManager provides a client-side API to manage notifications in Flex UI.\nFor more go to <a href=\"https://www.twilio.com/docs/flex/developer/ui/notifications\">Flex Notifications</a></p>","examples":null}]},"membersQuery":{"nodes":[{"name":"BrowserNotificationOptions","docName":null,"longname":"NotificationManager.BrowserNotificationOptions","description":"<p>Notification options for the browser notification handler</p>","defaultvalue":null,"type":{"names":["object"]},"properties":[{"name":"title","type":{"names":["string"]},"description":"<p>Notification heading</p>","optional":true,"defaultvalue":""},{"name":"body","type":{"names":["string"]},"description":"<p>Notification content</p>","optional":true,"defaultvalue":""},{"name":"onClick","type":{"names":["function"]},"description":"<p>onclick event handler function</p>","optional":true,"defaultvalue":""},{"name":"onClose","type":{"names":["function"]},"description":"<p>onClose event handler function</p>","optional":true,"defaultvalue":""},{"name":"onShow","type":{"names":["function"]},"description":"<p>onShow event handler function</p>","optional":true,"defaultvalue":""},{"name":"onError","type":{"names":["function"]},"description":"<p>onError event handler function</p>","optional":true,"defaultvalue":""},{"name":"options","type":{"names":["object"]},"description":"<p>The Notification options object from the JS Notifications API</p>","optional":true,"defaultvalue":""}],"params":null,"returns":null,"scope":"static","readonly":null,"kind":"typedef","examples":null},{"name":"notificationDismissed","docName":null,"longname":"NotificationManager.event:notificationDismissed","description":"<p>Notification Dismissed Event.</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"notification","optional":null,"description":"<p>Dismissed notification.</p>","type":{"names":["NotificationManager.Notification"]}}],"returns":null,"scope":"static","readonly":null,"kind":"event","examples":["import { NotificationEvent } from \"@twilio/flex-ui\";\nNotificationEvent.notificationDismissed"]},{"name":"notificationAdded","docName":null,"longname":"NotificationManager.event:notificationAdded","description":"<p>Notification Added Event.</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"notification","optional":null,"description":"<p>Added notification.</p>","type":{"names":["NotificationManager.Notification"]}}],"returns":null,"scope":"static","readonly":null,"kind":"event","examples":["import { NotificationEvent } from \"@twilio/flex-ui\";\nNotificationEvent.notificationAdded"]},{"name":"beforeAddNotification","docName":null,"longname":"NotificationManager.event:beforeAddNotification","description":"<p>Event fired before notification is added.</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"notification","optional":null,"description":"<p>Notification to be added.</p>","type":{"names":["NotificationManager.Notification"]}},{"name":"cancelFunction","optional":null,"description":"<p>Function to invoke to cancel the notification.</p>","type":{"names":["NotificationManager.NotificationCancelFunction"]}}],"returns":null,"scope":"static","readonly":null,"kind":"event","examples":["import { NotificationEvent } from \"@twilio/flex-ui\";\nNotificationEvent.beforeAddNotification"]},{"name":"exports.NotificationEvent","docName":null,"longname":"NotificationManager.exports.NotificationEvent","description":"<p>List of Notification events.</p>","defaultvalue":null,"type":{"names":["\"notificationAdded\"","\"notificationDismissed\"","\"beforeAddNotification\""]},"properties":[{"name":"notificationAdded","type":{"names":["\"notificationAdded\""]},"description":"<p>Notification added.</p>","optional":null,"defaultvalue":""},{"name":"notificationDismissed","type":{"names":["\"notificationDismissed\""]},"description":"<p>Notification dismissed.</p>","optional":null,"defaultvalue":""},{"name":"beforeAddNotification","type":{"names":["\"beforeAddNotification\""]},"description":"<p>Before notification is added.</p>","optional":null,"defaultvalue":""},{"name":"notificationStatusChanged","type":{"names":["\"notificationStatusChanged\""]},"description":"<p>Notification changed.</p>","optional":null,"defaultvalue":""}],"params":null,"returns":null,"scope":"static","readonly":null,"kind":"member","examples":null},{"name":"exports.NotificationType","docName":null,"longname":"NotificationManager.exports.NotificationType","description":"<p>NotificationType</p>","defaultvalue":null,"type":{"names":["\"information\"","\"success\"","\"warning\"","\"error\""]},"properties":[{"name":"information","type":{"names":["\"information\""]},"description":"<p>Information notification.</p>","optional":null,"defaultvalue":""},{"name":"success","type":{"names":["\"success\""]},"description":"<p>Success notification.</p>","optional":null,"defaultvalue":""},{"name":"warning","type":{"names":["\"warning\""]},"description":"<p>Warning notification.</p>","optional":null,"defaultvalue":""},{"name":"error","type":{"names":["\"error\""]},"description":"<p>Error notification.</p>","optional":null,"defaultvalue":""}],"params":null,"returns":null,"scope":"static","readonly":true,"kind":"member","examples":null},{"name":"registeredNotifications","docName":null,"longname":"NotificationManager#registeredNotifications","description":"<p>Map of registered notifications.</p>","defaultvalue":null,"type":{"names":["Map<string, NotificationManager.Notification>"]},"properties":[],"params":null,"returns":null,"scope":"instance","readonly":true,"kind":"member","examples":null},{"name":"activeNotifications","docName":null,"longname":"NotificationManager#activeNotifications","description":"<p>Array of active notifications.</p>","defaultvalue":null,"type":{"names":["Array<NotificationManager.Notification>"]},"properties":[],"params":null,"returns":null,"scope":"instance","readonly":true,"kind":"member","examples":null},{"name":"handlers","docName":null,"longname":"NotificationManager#handlers","description":"<p>Registered notification handlers.</p>","defaultvalue":null,"type":{"names":["NotificationManager.DefaultNotificationHandlers"]},"properties":[],"params":null,"returns":null,"scope":"instance","readonly":true,"kind":"member","examples":null},{"name":"registerNotification","docName":null,"longname":"NotificationManager#registerNotification","description":"<p>Register notification.</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"notification","optional":null,"description":"<p>The notification to be registered.</p>","type":{"names":["NotificationManager.Notification"]}}],"returns":[{"description":null,"type":{"names":["void"]}}],"scope":"instance","readonly":null,"kind":"function","examples":["Notification.registerNotification({\n   id: \"newNotification\",\n   closeButton: true,\n   content: \"New Notification handler\",\n   timeout: 0,\n   type: NotificationType.warning,\n   actions: [\n     <NotificationBar.Action label=\"Hello\" onClick={(event, notification) => {}} icon=\"Bell\" />, // using the action component.\n     <button type=\"button\" onClick={(event, notification) => {}}>Hello world</button> // using custom action button\n   ]\n});"]},{"name":"showNotification","docName":null,"longname":"NotificationManager#showNotification","description":"<p>Show an instance of registered notification.</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"id","optional":null,"description":"<p>The id of the notification to be shown.</p>","type":{"names":["string"]}},{"name":"context","optional":true,"description":"<p>A context to be rendered in the notification.</p>","type":{"names":["object"]}},{"name":"dropdownContent","optional":true,"description":"<p>Content to be rendered in a dropdown when expanded</p>","type":{"names":["Array<object>"]}}],"returns":[{"description":"<p>Notification instance, can be used to dismiss later. <code>null</code> is returned if action was not shown.</p>","type":{"names":["NotificationManager.Notification","null"]}}],"scope":"instance","readonly":null,"kind":"function","examples":["import { Notifications, NotificationIds } from \"@twilio/flex-ui\";\nNotifications.showNotification(NotificationIds.OutboundCallCanceledNoAnswer);"]},{"name":"dismissNotification","docName":null,"longname":"NotificationManager#dismissNotification","description":"<p>Dismiss notifications.</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"notification","optional":null,"description":"<p>The notification to be dismissed.</p>","type":{"names":["NotificationManager.Notification"]}}],"returns":[{"description":null,"type":{"names":["void"]}}],"scope":"instance","readonly":null,"kind":"function","examples":["import { Notifications, NotificationIds } from \"@twilio/flex-ui\";\nconst notification = Notifications.showNotification(NotificationIds.OutboundCallCanceledNoAnswer);\nNotifications.dismissNotification(notification);"]},{"name":"dismissNotificationById","docName":null,"longname":"NotificationManager#dismissNotificationById","description":"<p>Dismiss notifications with the id.</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"id","optional":null,"description":"<p>The id of the notification(s) to be dismissed.</p>","type":{"names":["string"]}}],"returns":[{"description":null,"type":{"names":["void"]}}],"scope":"instance","readonly":null,"kind":"function","examples":["import { Notifications, NotificationIds } from \"@twilio/flex-ui\";\nNotifications.dismissNotificationById(NotificationIds.OutboundCallCanceledNoAnswer);"]},{"name":"dismissAll","docName":null,"longname":"NotificationManager#dismissAll","description":"<p>Dismiss all the active notifications.</p>","defaultvalue":null,"type":null,"properties":null,"params":[],"returns":[{"description":null,"type":{"names":["void"]}}],"scope":"instance","readonly":null,"kind":"function","examples":["import { Notifications } from \"@twilio/flex-ui\";\nNotifications.dismissAll();"]},{"name":"registerHandler","docName":null,"longname":"NotificationManager#registerHandler","description":"<p>Register notification handler. Use to expose your notification handler.</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"handler","optional":null,"description":"<p>Notification handler.</p>","type":{"names":["NotificationManager.NotificationHandler"]}}],"returns":[{"description":null,"type":{"names":["void"]}}],"scope":"instance","readonly":null,"kind":"function","examples":["import { Notifications, NotificationHandler } from \"@twilio/flex-ui\";\n\nconst handler: NotificationHandler = new MyNotificationHandler();\nNotifications.registerHandler(handler);"]},{"name":"toggleNotificationHandler","docName":null,"longname":"NotificationManager#toggleNotificationHandler","description":"<p>Enable or disable notification handler.</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"id","optional":null,"description":"<p>Of the notification handler.</p>","type":{"names":["NotificationManager.NotificationHandlerType"]}},{"name":"enabled","optional":null,"description":"<p>Whether or not to enable or disable the handler.</p>","type":{"names":["boolean"]}},{"name":"mode","optional":null,"description":"<p>Mode of the handler.</p>","type":{"names":["string"]}}],"returns":[{"description":null,"type":{"names":["void"]}}],"scope":"instance","readonly":null,"kind":"function","examples":["import { Notifications, DefaultNotificationHandlerType } from \"@twilio/flex-ui\";\nNotifications.toggleNotificationHandler(DefaultNotificationHandlerType.Browser, false);"]},{"name":"isNotificationHandlerEnabled","docName":null,"longname":"NotificationManager#isNotificationHandlerEnabled","description":"<p>Returns whether the notification handler for the given id is enabled or not.</p>","defaultvalue":null,"type":null,"properties":null,"params":[],"returns":[{"description":"<p>Whether the notification handler is enabled or not.</p>","type":{"names":["boolean"]}}],"scope":"instance","readonly":null,"kind":"function","examples":["import { Notifications, DefaultNotificationHandlerType } from \"@twilio/flex-ui\";\nNotifications.isNotificationHandlerEnabled(DefaultNotificationHandlerType.Browser);"]},{"name":"isNotificationActive","docName":null,"longname":"NotificationManager#isNotificationActive","description":"<p>Check whether the notification is already present.</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"id","optional":null,"description":"<p>The id of the notification that may already be present.</p>","type":{"names":["string"]}}],"returns":[{"description":"<ul>\n<li>Whether the notification is already present.</li>\n</ul>","type":{"names":["boolean"]}}],"scope":"instance","readonly":null,"kind":"function","examples":["import { Notifications, NotificationIds } from \"@twilio/flex-ui\";\nNotifications.isNotificationActive(NotificationIds.OutboundCallCanceledNoAnswer);"]},{"name":"defaultTimeout","docName":null,"longname":"NotificationManager.defaultTimeout","description":"<p>Default timeout in milliseconds for the notifications.</p>","defaultvalue":"8000","type":{"names":["number"]},"properties":[],"params":null,"returns":null,"scope":"static","readonly":null,"kind":"member","examples":null},{"name":"NotificationContentProps","docName":null,"longname":"NotificationManager.NotificationContentProps","description":"<p>Properties of the Notification.</p>","defaultvalue":null,"type":null,"properties":[{"name":"notificationContext","type":{"names":["object"]},"description":"<p>A optional context for the Notification.</p>","optional":true,"defaultvalue":""}],"params":null,"returns":null,"scope":"static","readonly":null,"kind":"typedef","examples":null},{"name":"NotificationOptions","docName":null,"longname":"NotificationManager.NotificationOptions","description":"<p>Notification options for handlers.</p>","defaultvalue":null,"type":null,"properties":[{"name":"browser","type":{"names":["BrowserNotificationOptions"]},"description":"<p>Browser notification options.</p>","optional":null,"defaultvalue":""},{"name":"target","type":{"names":["string"]},"description":"<p>Name of target component.</p>","optional":true,"defaultvalue":""}],"params":null,"returns":null,"scope":"static","readonly":null,"kind":"typedef","examples":null},{"name":"NotificationClickFunction","docName":null,"longname":"NotificationManager.NotificationClickFunction","description":null,"defaultvalue":null,"type":{"names":["function"]},"properties":null,"params":[{"name":"event","optional":null,"description":"<p>Click event.</p>","type":{"names":["any"]}}],"returns":[{"description":null,"type":{"names":["void"]}}],"scope":"static","readonly":null,"kind":"typedef","examples":null},{"name":"NotificationIsApplicableFunction","docName":null,"longname":"NotificationManager.NotificationIsApplicableFunction","description":null,"defaultvalue":null,"type":{"names":["function"]},"properties":null,"params":[{"name":"notificationInstance","optional":null,"description":"<p>Instance of notification to be shown.</p>","type":{"names":["NotificationManager.Notification"]}}],"returns":[{"description":"<p>Determines whether particular instance should be shown.</p>","type":{"names":["boolean"]}}],"scope":"static","readonly":null,"kind":"typedef","examples":null},{"name":"Notification","docName":null,"longname":"NotificationManager.Notification","description":null,"defaultvalue":null,"type":null,"properties":[{"name":"id","type":{"names":["string"]},"description":"<p>The id for the notification.</p>","optional":null,"defaultvalue":""},{"name":"instanceId","type":{"names":["string"]},"description":"<p>The id for the shown instance of this notification. Not assignable: generated automatically for an active notification in showNotification.</p>","optional":null,"defaultvalue":""},{"name":"content","type":{"names":["React.ReactText","React.ReactElement<NotificationContentProps>"]},"description":"<p>A content for the in-app notification. In-app notification is not shown if value is falsy.</p>","optional":true,"defaultvalue":""},{"name":"dropdownContent","type":{"names":["Array<object>"]},"description":"<p>Listed additional content that is initially collapsed.</p>","optional":true,"defaultvalue":""},{"name":"type","type":{"names":["NotificationManager.NotificationType"]},"description":"<p>The type of the notification.</p>","optional":true,"defaultvalue":""},{"name":"backgroundColor","type":{"names":["string"]},"description":"<p>Define the notification background color.</p>","optional":true,"defaultvalue":""},{"name":"icon","type":{"names":["string"]},"description":"<p>An optional icon to be rendered inside the notification message.</p>","optional":true,"defaultvalue":""},{"name":"timeout","type":{"names":["number"]},"description":"<p>It will dismiss the notification after a certain time.</p>","optional":true,"defaultvalue":""},{"name":"recurrenceTimeout","type":{"names":["number"]},"description":"<p>If set, it will re-show the notification a certain time after it is dismissed.</p>","optional":true,"defaultvalue":""},{"name":"closeButton","type":{"names":["boolean"]},"description":"<p>Show a close button.</p>","optional":true,"defaultvalue":""},{"name":"onClick","type":{"names":["NotificationManager.NotificationClickFunction"]},"description":"<p>Function called when notification message is clicked.</p>","optional":true,"defaultvalue":""},{"name":"context","type":{"names":["object"]},"description":"<p>Optional context for the notification.</p>","optional":true,"defaultvalue":""},{"name":"isApplicable","type":{"names":["NotificationManager.NotificationIsApplicableFunction"]},"description":"<p>Callback determining whether particular notification instance should be shown.</p>","optional":true,"defaultvalue":""},{"name":"options","type":{"names":["NotificationManager.NotificationOptions"]},"description":"<p>Options for the notification handlers.</p>","optional":true,"defaultvalue":""},{"name":"actions","type":{"names":["Array<React.ReactElement>"]},"description":"<p>Array of notification actions.</p>","optional":true,"defaultvalue":""}],"params":null,"returns":null,"scope":"static","readonly":null,"kind":"typedef","examples":null},{"name":"NotificationCancelFunction","docName":null,"longname":"NotificationManager.NotificationCancelFunction","description":"<p>Callback to cancel showing the notification.</p>","defaultvalue":null,"type":{"names":["function"]},"properties":null,"params":null,"returns":[{"description":null,"type":{"names":["void"]}}],"scope":"static","readonly":null,"kind":"typedef","examples":null},{"name":"NotificationHandlerType","docName":null,"longname":"NotificationManager.NotificationHandlerType","description":"<p>Notification handler type.</p>","defaultvalue":null,"type":{"names":["NotificationManager.DefaultNotificationHandlerType","string"]},"properties":null,"params":null,"returns":null,"scope":"static","readonly":null,"kind":"typedef","examples":null},{"name":"DefaultNotificationHandlers","docName":null,"longname":"NotificationManager.DefaultNotificationHandlers","description":"<p>Default notification handlers.</p>","defaultvalue":null,"type":null,"properties":[{"name":"browser","type":{"names":["NotificationHandler"]},"description":"<p>Browser notification handler.</p>","optional":null,"defaultvalue":""},{"name":"inapp","type":{"names":["NotificationHandler"]},"description":"<p>In-app notification handler.</p>","optional":null,"defaultvalue":""},{"name":"screenreader","type":{"names":["NotificationHandler"]},"description":"<p>Screen reader notification handler.</p>","optional":null,"defaultvalue":""}],"params":null,"returns":null,"scope":"static","readonly":null,"kind":"typedef","examples":null},{"name":"registeredNotifications","docName":null,"longname":"NotificationManager#registeredNotifications","description":"<p>Map of registered notifications.</p>","defaultvalue":null,"type":{"names":["Map<string, NotificationManager.Notification>"]},"properties":[],"params":null,"returns":null,"scope":"instance","readonly":true,"kind":"member","examples":null},{"name":"activeNotifications","docName":null,"longname":"NotificationManager#activeNotifications","description":"<p>Array of active notifications.</p>","defaultvalue":null,"type":{"names":["Array<NotificationManager.Notification>"]},"properties":[],"params":null,"returns":null,"scope":"instance","readonly":true,"kind":"member","examples":null},{"name":"handlers","docName":null,"longname":"NotificationManager#handlers","description":"<p>Registered notification handlers.</p>","defaultvalue":null,"type":{"names":["NotificationManager.DefaultNotificationHandlers"]},"properties":[],"params":null,"returns":null,"scope":"instance","readonly":true,"kind":"member","examples":null},{"name":"defaultTimeout","docName":null,"longname":"NotificationManager.defaultTimeout","description":"<p>Default timeout in milliseconds for the notifications.</p>","defaultvalue":"8000","type":{"names":["number"]},"properties":[],"params":null,"returns":null,"scope":"static","readonly":null,"kind":"member","examples":null}]},"interfacesQuery":{"nodes":[{"name":"TaskStatusBasedType","docName":null,"longname":"TaskStatusBasedType","description":"<p>Used to define a value based on task status. TaskStatusBasedType accepts a type parameter T which defaults to string.</p>\n<p>The valid types are: T, TaskCallbackType<T> and TaskStatusBasedTypeBase<T><br></p>\n<ul>\n<li>T is a generic type.<br></li>\n<li>TaskCallbackType is a function to provide values for Flex. Called from various areas of Flex.<br></li>\n<li>TaskStatusBasedTypeBase is an object with ReservationStatus as its key and the parameter type T as the value.</li>\n</ul>","defaultvalue":null,"type":null,"properties":null,"params":null,"returns":null},{"name":"Actions","docName":null,"longname":"Actions","description":"<p>Predefined UI actions</p>","defaultvalue":null,"type":null,"properties":[],"params":null,"returns":null},{"name":"LocalizationType","docName":null,"longname":"LocalizationType","description":"<p>Localization Type object containing the locale tag, available locales, and a function to set the locale preference</p>","defaultvalue":null,"type":null,"properties":[{"name":"localeTag","type":{"names":["string"]},"description":"<p>The preferred locale of the user</p>","optional":null,"defaultvalue":""},{"name":"availableLocales","type":{"names":["Array<AvailableLocale>"]},"description":"<p>The available locales in Flex UI</p>","optional":null,"defaultvalue":""},{"name":"setLocalePreference","type":{"names":["function"]},"description":"<p>An async function which sets the preference of the user</p>","optional":null,"defaultvalue":""}],"params":null,"returns":null},{"name":"Strings","docName":null,"longname":"Strings","description":"<p>You can override any string in Flex by editing the strings object on the Flex Manager instance.\nLanguage strings can technically contain any HTML tag like <code>h1</code>, <code>h2</code>, <code>p</code> or even <code>iframe</code>.\nThe Flex UI will not filter these values. Flex uses Handlebars for templating and supports Mustache-style syntax and\nexpressions within content strings, ie. embedding value placeholders between double braces <code>{ }</code>.</p>","defaultvalue":null,"type":null,"properties":[],"params":null,"returns":null},{"name":"AvailableLocale","docName":null,"longname":"AvailableLocale","description":"<p>Available locale containing the tag and name</p>","defaultvalue":null,"type":null,"properties":[{"name":"tag","type":{"names":["string"]},"description":"<p>The language tag of the locale</p>","optional":null,"defaultvalue":""},{"name":"name","type":{"names":["string"]},"description":"<p>The name of the locale</p>","optional":null,"defaultvalue":""}],"params":null,"returns":null},{"name":"AgentCopilotState","docName":null,"longname":"AgentCopilotState","description":"<p>Agent Copilot State for current Agent</p>","defaultvalue":null,"type":null,"properties":[{"name":"config","type":{"names":["AgentCopilotConfigState"]},"description":"<p>AgentCopilotConfigState</p>","optional":null,"defaultvalue":""}],"params":null,"returns":null},{"name":"AgentCopilotConfigState","docName":null,"longname":"AgentCopilotConfigState","description":"<p>Agent Copilot Configuration State for current Agent</p>","defaultvalue":null,"type":null,"properties":[{"name":"enabledQueues","type":{"names":["Array<string>"]},"description":"<p>List of queue SIDs that have Agent Copilot enabled, or all queues if empty</p>","optional":true,"defaultvalue":""},{"name":"displayNotes","type":{"names":["boolean"]},"description":"<p>Whether or not the Notes tab and related components are visible in the UI</p>","optional":null,"defaultvalue":""},{"name":"displaySentiment","type":{"names":["boolean"]},"description":"<p>Whether or not the sentiment input field is visible in the UI</p>","optional":null,"defaultvalue":""},{"name":"multiLanguageEnabled","type":{"names":["boolean"]},"description":"<p>Whether or not multilanguage is enabled for the account</p>","optional":null,"defaultvalue":""}],"params":null,"returns":null},{"name":"AppStatusState","docName":null,"longname":"AppStatusState","description":"<p>State of the view</p>","defaultvalue":null,"type":null,"properties":[{"name":"isAppStatusPanelOpen","type":{"names":["boolean"]},"description":"<p>whether the navigation sidebar is open</p>","optional":null,"defaultvalue":""}],"params":null,"returns":null},{"name":"ConferencesState","docName":null,"longname":"ConferencesState","description":"<p>State for known conferences</p>","defaultvalue":null,"type":null,"properties":[{"name":"states","type":{"names":["Map<string, ConferencesState.ConferenceState>"]},"description":"<p>active conferences states by conference SID</p>","optional":null,"defaultvalue":""}],"params":null,"returns":null},{"name":"ConnectionStatus","docName":null,"longname":"ConnectionStatus","description":"<p>Connection status</p>","defaultvalue":null,"type":null,"properties":[{"name":"timestampLastConnected","type":{"names":["number"]},"description":"<p>timestamp of last connection</p>","optional":null,"defaultvalue":""},{"name":"connectionState","type":{"names":["SyncClient.ConnectionState"]},"description":"<p>connection state of the sync client</p>","optional":null,"defaultvalue":""}],"params":null,"returns":null},{"name":"PhoneState","docName":null,"longname":"PhoneState","description":"<p>Voice call state</p>","defaultvalue":null,"type":null,"properties":[{"name":"listener","type":{"names":["DeviceListener"]},"description":"<p>device listener</p>","optional":true,"defaultvalue":""},{"name":"activeCall","type":{"names":["Call"]},"description":"<p>Source call object. <a href=\"https://www.twilio.com/docs/voice/sdks/javascript/twiliocall\">See</a></p>","optional":true,"defaultvalue":""}],"params":null,"returns":null},{"name":"SessionState","docName":null,"longname":"SessionState","description":"<p>Active session state</p>","defaultvalue":null,"type":null,"properties":[{"name":"identity","type":{"names":["string"]},"description":"<p>identity of a logged-in user</p>","optional":true,"defaultvalue":""},{"name":"loginError","type":{"names":["any"]},"description":"<p>last error that occurred when logging in</p>","optional":true,"defaultvalue":""},{"name":"loginState","type":{"names":["LoginState"]},"description":"<p>current state of the session</p>","optional":true,"defaultvalue":""},{"name":"ssoTokenPayload","type":{"names":["SSOTokenPayload"]},"description":"<p>SSO token payload</p>","optional":true,"defaultvalue":""},{"name":"degraded","type":{"names":["boolean"]},"description":"<p>Indicates if session is degraded</p>","optional":true,"defaultvalue":""}],"params":null,"returns":null},{"name":"SupervisorState","docName":null,"longname":"SupervisorState","description":"<p>State of the supervisor view</p>","defaultvalue":null,"type":null,"properties":[{"name":"callMonitoring","type":{"names":["CallMonitoring"]},"description":"<p>state of call monitoring</p>","optional":null,"defaultvalue":""},{"name":"stickyWorker","type":{"names":["SupervisorWorkerState"]},"description":"<p>currently selected worker state</p>","optional":true,"defaultvalue":""},{"name":"workers","type":{"names":["Array<SupervisorWorkerState>"]},"description":"<p>currently showing worker states</p>","optional":null,"defaultvalue":""},{"name":"isLoadingWorkers","type":{"names":["boolean"]},"description":"<p>if workers are being loaded</p>","optional":null,"defaultvalue":""},{"name":"errorLoadingWorkers","type":{"names":["LiveQueryError"]},"description":"<p>instance of the error when loading workers</p>","optional":null,"defaultvalue":""},{"name":"appliedFilters","type":{"names":["Array<AppliedFilter>"]},"description":"<p>array of applied filters</p>","optional":null,"defaultvalue":""},{"name":"extraFilterQuery","type":{"names":["string"]},"description":"<p>query for custom filters</p>","optional":null,"defaultvalue":""},{"name":"search","type":{"names":["string"]},"description":"<p>search string</p>","optional":null,"defaultvalue":""}],"params":null,"returns":null},{"name":"ViewState","docName":null,"longname":"ViewState","description":"<p>State of the view</p>","defaultvalue":null,"type":null,"properties":[{"name":"isSideNavOpen","type":{"names":["boolean"]},"description":"<p>whether the navigation sidebar is open</p>","optional":null,"defaultvalue":""},{"name":"isOutboundDialerOpen","type":{"names":["boolean"]},"description":"<p>whether the navigation sidebar is open</p>","optional":null,"defaultvalue":""},{"name":"activeView","type":{"names":["string"]},"description":"<p>name of the currently active view</p>","optional":true,"defaultvalue":""},{"name":"selectedTaskSid","type":{"names":["string"]},"description":"<p>ID of the selected task in Agent Desktop view</p>","optional":true,"defaultvalue":""},{"name":"selectedTaskInSupervisorSid","type":{"names":["string"]},"description":"<p>ID of the selected task in Teams view</p>","optional":true,"defaultvalue":""},{"name":"selectedWorkerInSupervisorSid","type":{"names":["string"]},"description":"<p>ID of the selected worker in Teams view</p>","optional":true,"defaultvalue":""},{"name":"isDirectoryOpen","type":{"names":["boolean"]},"description":"<p>whether the call transfer panel is open in Agent Desktop view</p>","optional":true,"defaultvalue":""},{"name":"componentViewStates","type":{"names":["object"]},"description":"<p>object containing persistent components states. Use {@link Actions.SetComponentState} to update.</p>","optional":null,"defaultvalue":""}],"params":null,"returns":null},{"name":"WorkerState","docName":null,"longname":"WorkerState","description":"<p>Worker state based on Worker SDK</p>","defaultvalue":null,"type":null,"properties":[{"name":"tasks","type":{"names":["Map<string, ITask>"]},"description":"<p>map of active tasks by reservation SID</p>","optional":null,"defaultvalue":""},{"name":"activity","type":{"names":["Activity"]},"description":"<p>current <a href=\"https://twilio.github.io/twilio-taskrouter.js/Activity.html\">Activity</a> of the worker.</p>","optional":null,"defaultvalue":""},{"name":"activities","type":{"names":["Map<string, Activity>"]},"description":"<p>map of all <a href=\"https://twilio.github.io/twilio-taskrouter.js/Activity.html\">Activities</a> instances by SID.</p>","optional":null,"defaultvalue":""},{"name":"attributes","type":{"names":["object"]},"description":"<p>attributes of the <a href=\"https://twilio.github.io/twilio-taskrouter.js/Worker.html\">Worker</a>.</p>","optional":null,"defaultvalue":""},{"name":"worker","type":{"names":["IWorker"]},"description":"<p>current worker instance.</p>","optional":null,"defaultvalue":""}],"params":null,"returns":null},{"name":"FlexState","docName":null,"longname":"FlexState","description":null,"defaultvalue":null,"type":null,"properties":[{"name":"flex","type":{"names":["AppState"]},"description":"<p>Flex application state</p>","optional":null,"defaultvalue":""}],"params":null,"returns":null},{"name":"ChatTaskChannelConfiguration","docName":null,"longname":"ChatTaskChannelConfiguration","description":"<p>Interface to define an object with the parameters needed to configure a Chat Task Channel</p>","defaultvalue":null,"type":null,"properties":[{"name":"name","type":{"names":["string"]},"description":"<p>name of the task channel definition</p>","optional":null,"defaultvalue":""},{"name":"isApplicable","type":{"names":["TaskChannelDefinition.TaskChannelApplicableCb"]},"description":"<p>Callback to determine whether this task channel is applicable for a given task.</p>","optional":null,"defaultvalue":""},{"name":"icon","type":{"names":["string","React.ReactNode"]},"description":"<p>main icon to render for the task channel</p>","optional":true,"defaultvalue":""},{"name":"iconActive","type":{"names":["string","React.ReactNode"]},"description":"<p>active icon to render for the task channel</p>","optional":true,"defaultvalue":""},{"name":"color","type":{"names":["string"]},"description":"<p>main color to be used</p>","optional":true,"defaultvalue":""},{"name":"reservedTemplate","type":{"names":["string"]},"description":"<p>template string for pending chat request</p>","optional":true,"defaultvalue":""},{"name":"charLimit","type":{"names":["number"]},"description":"<p>message character limit for task channel with chat capabilities</p>","optional":true,"defaultvalue":""},{"name":"taskHeaderAcceptedTemplate","type":{"names":["string"]},"description":"<p>template string for chat task in accepted state</p>","optional":true,"defaultvalue":""},{"name":"taskLineChatAssignedTemplate","type":{"names":["string"]},"description":"<p>template string for an assigned chat task</p>","optional":true,"defaultvalue":""},{"name":"taskLineChatWrapupTemplate","type":{"names":["string"]},"description":"<p>template string for an wrapping up chat task</p>","optional":true,"defaultvalue":""},{"name":"notificationTitleTemplate","type":{"names":["string"]},"description":"<p>template string for in-app notification title of chat task</p>","optional":true,"defaultvalue":""},{"name":"browserNotificationTitleTemplate","type":{"names":["string"]},"description":"<p>template string for browser notification title of chat task</p>","optional":true,"defaultvalue":""},{"name":"browserNotificationBodyTemplate","type":{"names":["string"]},"description":"<p>template string for browser notification body of chat task</p>","optional":true,"defaultvalue":""},{"name":"contentTabHeaderTemplate","type":{"names":["string"]},"description":"<p>template string for header of content tab for chat tasks</p>","optional":true,"defaultvalue":""},{"name":"endButtonTemplates","type":{"names":["Record<string, any>"]},"description":"<p>template strings for button to end chat task</p>","optional":true,"defaultvalue":""}],"params":null,"returns":null},{"name":"NotificationHandler","docName":null,"longname":"NotificationHandler","description":"<p>Notification Handler interface.</p>","defaultvalue":null,"type":null,"properties":[],"params":null,"returns":null},{"name":"ButtonThemeProps","docName":null,"longname":"Theme.ButtonThemeProps","description":null,"defaultvalue":null,"type":null,"properties":[{"name":"disabledColor","type":{"names":["string"]},"description":"<p>Use the disabled color</p>","optional":true,"defaultvalue":""},{"name":"lightHover","type":{"names":["boolean"]},"description":"<p>Use the light hover effect</p>","optional":true,"defaultvalue":""},{"name":"disabledColor","type":{"names":["string"]},"description":"<p>Use the disabled color</p>","optional":true,"defaultvalue":""},{"name":"lightHover","type":{"names":["boolean"]},"description":"<p>Use the light hover effect</p>","optional":true,"defaultvalue":""}],"params":null,"returns":null}]}},"pageContext":{"name":"NotificationManager","docName":null}},
    "staticQueryHashes": ["2573139180","3167116022","426031883"]}