{
    "componentChunkName": "component---src-templates-api-template-tsx",
    "path": "/ui-actions/ActionsManager/",
    "result": {"data":{"entityQuery":{"nodes":[{"name":"ActionsManager","docName":null,"properties":null,"description":null,"classdesc":"<p>The Flex UI is constantly emitting event data that describes how the user is interacting with the Flex UI. As you write Plugins, the ActionsManager allows you to harness these events and define your own logic to describe how you want the Flex UI, CRM Data, or any other data, to change. You can register events before or after an action fires, or even replace the behavior of an Action.</p>","examples":null}]},"membersQuery":{"nodes":[{"name":"ActionFunction","docName":null,"longname":"ActionsManager.ActionFunction","description":null,"defaultvalue":null,"type":{"names":["function"]},"properties":null,"params":[{"name":"payload","optional":null,"description":"<p>action payload</p>","type":{"names":["ActionsManager.ActionPayload"]}}],"returns":[{"description":"<p>promise to be invoked for action</p>","type":{"names":["Promise<any>"]}}],"scope":"static","readonly":null,"kind":"typedef","examples":null},{"name":"ActionCancelFunction","docName":null,"longname":"ActionsManager.ActionCancelFunction","description":null,"defaultvalue":null,"type":{"names":["function"]},"properties":null,"params":null,"returns":[{"description":null,"type":{"names":["void"]}}],"scope":"static","readonly":null,"kind":"typedef","examples":null},{"name":"ReplacedActionFunction","docName":null,"longname":"ActionsManager.ReplacedActionFunction","description":null,"defaultvalue":null,"type":{"names":["function"]},"properties":null,"params":[{"name":"payload","optional":null,"description":"<p>action payload</p>","type":{"names":["ActionsManager.ActionPayload"]}},{"name":"original","optional":null,"description":"<p>original action invocation</p>","type":{"names":["ActionsManager.ActionFunction"]}},{"name":"next","optional":null,"description":"<p>next action invocation</p>","type":{"names":["ActionsManager.ActionFunction"]}}],"returns":[{"description":"<p>promise to be invoked for action</p>","type":{"names":["Promise<any>"]}}],"scope":"static","readonly":null,"kind":"typedef","examples":null},{"name":"PayloadUpdateFunction","docName":null,"longname":"ActionsManager.PayloadUpdateFunction","description":null,"defaultvalue":null,"type":{"names":["function"]},"properties":null,"params":[{"name":"payload","optional":null,"description":"<p>action payload</p>","type":{"names":["ActionsManager.ActionPayload"]}}],"returns":[{"description":"<p>updated action payload</p>","type":{"names":["ActionsManager.ActionPayload"]}}],"scope":"static","readonly":null,"kind":"typedef","examples":null},{"name":"ActionWithPayload","docName":null,"longname":"ActionsManager.ActionWithPayload","description":"<p>Action with payload</p>","defaultvalue":null,"type":{"names":["object"]},"properties":[{"name":"action","type":{"names":["ActionsManager.ActionName"]},"description":"<p>action code</p>","optional":null,"defaultvalue":""},{"name":"payload","type":{"names":["ActionsManager.ActionPayload"]},"description":"<p>action payload</p>","optional":true,"defaultvalue":""}],"params":null,"returns":null,"scope":"static","readonly":null,"kind":"typedef","examples":null},{"name":"ActionsWithPayload","docName":null,"longname":"ActionsManager.ActionsWithPayload","description":"<p>Actions with payload</p>","defaultvalue":null,"type":{"names":["object"]},"properties":[{"name":"first","type":{"names":["ActionsManager.ActionWithPayload"]},"description":"<p>first action with payload</p>","optional":true,"defaultvalue":""},{"name":"ACTION_CODE","type":{"names":["ActionsManager.ActionPayload"]},"description":"<p>action payload by action code in key</p>","optional":true,"defaultvalue":""}],"params":null,"returns":null,"scope":"static","readonly":null,"kind":"typedef","examples":null},{"name":"ActionPayload","docName":null,"longname":"ActionsManager.ActionPayload","description":"<p>Action payload</p>","defaultvalue":null,"type":{"names":["any"]},"properties":null,"params":null,"returns":null,"scope":"static","readonly":null,"kind":"typedef","examples":null},{"name":"ActionName","docName":null,"longname":"ActionsManager.ActionName","description":"<p>Action name</p>","defaultvalue":null,"type":{"names":["string"]},"properties":null,"params":null,"returns":null,"scope":"static","readonly":null,"kind":"typedef","examples":null},{"name":"MatchActionPayloadPredicate","docName":null,"longname":"ActionsManager.MatchActionPayloadPredicate","description":"<p>Predicate to match action by payload</p>","defaultvalue":null,"type":{"names":["function"]},"properties":null,"params":[{"name":"payload","optional":null,"description":"<p>action payload</p>","type":{"names":["ActionsManager.ActionPayload"]}},{"name":"action","optional":null,"description":"<p>action code</p>","type":{"names":["string"]}}],"returns":[{"description":"<p>true if payload is matched</p>","type":{"names":["boolean"]}}],"scope":"static","readonly":null,"kind":"typedef","examples":null},{"name":"MatchActionPayload","docName":null,"longname":"ActionsManager.MatchActionPayload","description":"<p>Action payload or predicate to match</p>","defaultvalue":null,"type":{"names":["ActionsManager.MatchActionPayloadPredicate","ActionsManager.ActionPayload"]},"properties":null,"params":null,"returns":null,"scope":"static","readonly":null,"kind":"typedef","examples":null},{"name":"before[Action]","docName":null,"longname":"ActionsManager.event:before[Action]","description":"<p>Event fired before action is invoked</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"payload","optional":null,"description":"<p>action payload</p>","type":{"names":["ActionsManager.ActionPayload"]}},{"name":"cancelFunction","optional":null,"description":"<p>function to call to cancel action invocation</p>","type":{"names":["ActionsManager.ActionCancelFunction"]}}],"returns":null,"scope":"static","readonly":null,"kind":"event","examples":null},{"name":"after[Action]","docName":null,"longname":"ActionsManager.event:after[Action]","description":"<p>Event fired after action is invoked</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"payload","optional":null,"description":"<p>action payload</p>","type":{"names":["ActionsManager.ActionPayload"]}}],"returns":null,"scope":"static","readonly":null,"kind":"event","examples":null},{"name":"actionBlockedChanged","docName":null,"longname":"ActionsManager.event:actionBlockedChanged","description":"<p>Event fired when action blocked status was changed</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"blocked","optional":null,"description":"<p>whether action was blocked or not</p>","type":{"names":["boolean"]}},{"name":"action","optional":null,"description":"<p>action name</p>","type":{"names":["string"]}},{"name":"payload","optional":null,"description":"<p>action payload</p>","type":{"names":["ActionsManager.ActionPayload"]}}],"returns":null,"scope":"static","readonly":null,"kind":"event","examples":null},{"name":"invocationBegin","docName":null,"longname":"ActionsManager.event:invocationBegin","description":"<p>Event fired before any action invocation</p>","defaultvalue":null,"type":null,"properties":null,"params":null,"returns":null,"scope":"static","readonly":null,"kind":"event","examples":null},{"name":"invocationEnd","docName":null,"longname":"ActionsManager.event:invocationEnd","description":"<p>Event fired after any action invocation</p>","defaultvalue":null,"type":null,"properties":null,"params":null,"returns":null,"scope":"static","readonly":null,"kind":"event","examples":null},{"name":"registerAction","docName":null,"longname":"ActionsManager.registerAction","description":"<p>Registers an action</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"name","optional":null,"description":"<p>Name of the action to register.</p>","type":{"names":["string"]}},{"name":"action","optional":null,"description":"<p>A function to execute when the action is invoked.</p>","type":{"names":["ActionsManager.ActionFunction"]}},{"name":"payloadUpdateFunction","optional":true,"description":"<p>A function to update the payload.</p>","type":{"names":["ActionsManager.PayloadUpdateFunction"]}}],"returns":[{"description":null,"type":{"names":["void"]}}],"scope":"static","readonly":null,"kind":"function","examples":["import { Actions, ActionFunction, PayloadUpdateFunction } from \"@twilio/flex-ui\";\n\nconst myCustomAction = \"MyCustomAction\";\nconst myCustomActionFunction: ActionFunction = (payload) => Promise.resolve(payload);\nconst payloadUpdateFunction: PayloadUpdateFunction = (payload) => {\n  payload.updated = true;\n  return payload;\n};\nActions.registerAction(myCustomAction, myCustomActionFunction, payloadUpdateFunction);"]},{"name":"invokeAction","docName":null,"longname":"ActionsManager.invokeAction","description":"<p>Invokes an action</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"name","optional":null,"description":"<p>Name of the action to invoke.</p>","type":{"names":["string"]}},{"name":"payload","optional":true,"description":"<p>Data to be passed to an action while invoking.</p>","type":{"names":["ActionsManager.ActionPayload"]}}],"returns":[{"description":"<p>Action Promise</p>","type":{"names":["Promise<any>"]}}],"scope":"static","readonly":null,"kind":"function","examples":["import { Actions } from \"@twilio/flex-ui\";\n\nActions.invokeAction(\"StartOutboundCall\", {\n  destination: \"+123456789\"\n});"]},{"name":"replaceAction","docName":null,"longname":"ActionsManager.replaceAction","description":"<p>Replace an existing action</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"name","optional":null,"description":"<p>An action name to be replaced.</p>","type":{"names":["string"]}},{"name":"action","optional":null,"description":"<p>A new function for an action to be replaced.</p>","type":{"names":["ActionsManager.ReplacedActionFunction"]}}],"returns":[{"description":null,"type":{"names":["void"]}}],"scope":"static","readonly":null,"kind":"function","examples":["import { Actions } from \"@twilio/flex-ui\";\nActions.replaceAction(\"AcceptTask\", (payload, original) =>\n  new Promise<void>((resolve, reject) => {\n    alert(\"replaced Action\");\n    resolve(undefined);\n  }).then(() => original(payload))\n);"]},{"name":"addListener","docName":null,"longname":"ActionsManager.addListener","description":"<p>Add a new listener to the action</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"event","optional":null,"description":"<p>Event name</p>","type":{"names":["string"]}},{"name":"listener","optional":null,"description":"<p>Event callback</p>","type":{"names":["function"]}}],"returns":[{"description":"<p>Event Emitter</p>","type":{"names":["EventEmitter"]}}],"scope":"static","readonly":null,"kind":"function","examples":["import { Actions } from \"@twilio/flex-ui\";\nconst beforeAcceptTaskListener = (payload, abortFunction) => {\n  alert(\"Before event\");\n  if (!window.confirm(\"Are you sure you want to accept the task?\")) {\n    abortFunction();\n  }\n};\nActions.addListener(\"beforeAcceptTask\", beforeAcceptTaskListener);"]},{"name":"removeListener","docName":null,"longname":"ActionsManager.removeListener","description":"<p>Removing a listener from the action</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"event","optional":null,"description":"<p>Event name</p>","type":{"names":["string","symbol"]}},{"name":"listener","optional":null,"description":"<p>Event callback</p>","type":{"names":["function"]}}],"returns":[{"description":"<p>Event Emitter</p>","type":{"names":["EventEmitter"]}}],"scope":"static","readonly":null,"kind":"function","examples":["import { Actions } from \"@twilio/flex-ui\";\nActions.removeListener(\"beforeAcceptTask\", beforeAcceptTaskListener);"]},{"name":"findPendingActions","docName":null,"longname":"ActionsManager.findPendingActions","description":"<p>Find pending actions by action and payload</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"action","optional":null,"description":"<p>Action or array of actions</p>","type":{"names":["string","Array<string>"]}},{"name":"payload","optional":true,"description":"<p>Payload to search for</p>","type":{"names":["ActionsManager.MatchActionPayload"]}}],"returns":[{"description":"<p>ActionsWithPayload object</p>","type":{"names":["ActionsManager.ActionsWithPayload"]}}],"scope":"static","readonly":null,"kind":"function","examples":["import { Actions } from \"@twilio/flex-ui\";\nconst pendingAcceptTaskInvocations = Actions.findPendingActions(\"AcceptTask\");"]},{"name":"findBlockedActions","docName":null,"longname":"ActionsManager.findBlockedActions","description":"<p>Find blocked actions by action and payload</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"action","optional":null,"description":"<p>Action or array of actions</p>","type":{"names":["string","Array<string>"]}},{"name":"payload","optional":true,"description":"<p>Payload to search for</p>","type":{"names":["ActionsManager.MatchActionPayload"]}}],"returns":[{"description":"<p>ActionsWithPayload object</p>","type":{"names":["ActionsManager.ActionsWithPayload"]}}],"scope":"static","readonly":null,"kind":"function","examples":["import { Actions } from \"@twilio/flex-ui\";\nconst blockedAcceptTaskInvocations = Actions.findBlockedActions(\"AcceptTask\");"]},{"name":"blockAction","docName":null,"longname":"ActionsManager.blockAction","description":"<p>Block action with given payload</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"action","optional":null,"description":"<p>Action</p>","type":{"names":["string"]}},{"name":"payload","optional":true,"description":"<p>Action payload</p>","type":{"names":["ActionsManager.ActionPayload"]}}],"returns":[{"description":null,"type":{"names":["void"]}}],"scope":"static","readonly":null,"kind":"function","examples":["import { Actions } from \"@twilio/flex-ui\";\nActions.blockAction(\"AcceptTask\");"]},{"name":"unblockAction","docName":null,"longname":"ActionsManager.unblockAction","description":"<p>Unblock previously blocked action with given payload.</p>","defaultvalue":null,"type":null,"properties":null,"params":[{"name":"action","optional":null,"description":"<p>Action name</p>","type":{"names":["string"]}},{"name":"payload","optional":true,"description":"<p>Action payload</p>","type":{"names":["ActionsManager.MatchActionPayload"]}}],"returns":[{"description":null,"type":{"names":["void"]}}],"scope":"static","readonly":null,"kind":"function","examples":["import { Actions } from \"@twilio/flex-ui\";\nActions.unblockAction(\"AcceptTask\");"]}]},"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":"ActionsManager","docName":null}},
    "staticQueryHashes": ["2573139180","3167116022","426031883"]}