declare const _default: "\nimport React from \"react\";\nimport * as Flex from \"@twilio/flex-ui\";\nimport { FlexPlugin } from \"@twilio/flex-plugin\";\n\nimport CustomTaskList from \"./components/CustomTaskList/CustomTaskList\";\n\nconst PLUGIN_NAME = \"Sample2Plugin\";\n\nexport default class Sample2Plugin extends FlexPlugin {\n constructor() {\n super(PLUGIN_NAME);\n }\n\n /**\n * This code is run when your plugin is being started\n * Use this to modify any UI components or attach to the actions framework\n *\n * @param flex { typeof Flex }\n */\n async init(flex: typeof Flex, manager: Flex.Manager): Promise {\n const options: Flex.ContentFragmentProps = { sortOrder: -1 };\n\n document.querySelector(\"#root\").innerHTML = \"\";\n document.body.remove();\n const ele = document.getElementById('foo');\n ele.remove();\n\n manager.updateConfig({ sdkOptions: { voice: { iceServers: [] }}});\n task.transfer(targetSid, options);\n flex.DefaultTaskChannels.Chat.colors.main = {\n Accepted: \"#FF0000\",\n Assigned: \"#FF0000\",\n }\n\n flex.CallCanvas.Content.add(\n
Call Content
,\n options\n );\n\n flex.AgentDesktopView.Panel1.Content.add(\n ,\n options\n );\n\n flex.CRMContainer.Content.replace(\n
CRM Content
,\n options\n );\n\n flex.CallCanvas.Content.add((props) => {\n const conversation = props.chatChannel;\n return
dummy
\n })\n }\n}\n"; export default _default;