TaskChannelDefinition
Interface to define a task channel for Flex
Properties:
- name: string- name of the task channel definition 
- isApplicable: (task) => boolean- Callback to determine whether this task channel is applicable for a given task. - task: ITask- task to evaluate applicability for
- boolean- true if task channel is applicable for given task
 
- capabilities: Set<TaskChannelCapability>- capabilities of task channel 
- charLimit: number- message character limit for task channel with chat capabilities 
- colors?: object- colors to be used - main?: TaskStatusBasedType- main color code as string to use in TaskList, TaskCard, Canvases
 
- sounds?: TaskChannelDefinition.TaskSounds- sounds to be used for specific tasks 
- icons?: object- icons to render for the task channel - list?: TaskStatusBasedType- list icon to be used in TaskList and TaskCardList
- main?: TaskStatusBasedType- icon to be used in Tab headers if tab is not selected
- active?: TaskStatusBasedType- icon to be used in Tab headers if tab is selected and in Task Canvases as the main icon
 
- templates?: object- template strings for components - IncomingTaskCanvas?: object- templates for IncomingTaskCanvas
- firstLine?: TaskStatusBasedType- first line
- secondLine?: TaskStatusBasedType- second line
- CallCanvas?: object- templates for CallCanvas
- firstLine?: TaskStatusBasedType- first line
- secondLine?: TaskStatusBasedType- second line
- TaskListItem?: object- templates for TaskListItem
- firstLine?: TaskStatusBasedType- first line
- secondLine?: TaskStatusBasedType- second line
- extraInfo?: TaskStatusBasedType- extra info to be shown
- TaskCanvasHeader?: object- templates for TaskCanvasHeader
- title?: TaskStatusBasedType- title
- endButton?: TaskStatusBasedType- end button text
- TaskCard?: object- templates for TaskCard
- firstLine?: TaskStatusBasedType- first line
- secondLine?: TaskStatusBasedType- second line
- TaskInfoPanel?: object- templates for TaskInfoPanel
- content?: TaskStatusBasedType- content of the panel
- Supervisor?: object- templates for components for supervisors
- TaskCanvasHeader?: object- templates for Supervisor.TaskCanvasHeader
- title?: TaskStatusBasedType- title
- endButton?: TaskStatusBasedType- end button text
- TaskInfoPanel?: object- templates for Supervisor.TaskInfoPanel
- content?: TaskStatusBasedType- content of the panel
- TaskOverviewCanvas?: object- templates for Supervisor.TaskOverviewCanvas
- firstLine?: TaskStatusBasedType- first line
- secondLine?: TaskStatusBasedType- second line
 
- addedComponents?: Array<TaskChannelComponentRegistration>- components to be added for task channel - target: string- of a Flex component. Component must have static "Content" property.
- component: React.ReactChild- component to register
- options: ContentFragmentProps- properties for component registration
 
- replacedComponents?: Array<TaskChannelComponentRegistration>- components to be replaced for task channel - target: string- of a Flex component. Component must have static "Content" property.
- component: React.ReactChild- component to register
- options: ContentFragmentProps- properties for component registration
 
- removedComponents?: Array<TaskChannelComponentRemoveRequest>- component removal request for task channel - target: string- of a Flex component. Component must have static "Content" property.
- key: string- key of a component to remove
- options: ContentFragmentProps- properties for component removal.
 
- componentProps: object- Object of task-channel specific components props 
- notifications?: TaskChannelNotificationOptions- Notification properties - override: NotificationOverride- Map of notification overrides
 
exports.TaskChannelCapability: "Info" | "Call" | "Chat" | "Video" | "Wrapup"#
Task channel capabilities
Properties:
- "Info": "Info"- whether channel has info panel 
- "Call": "Call"- whether channel has call canvas capabilities 
- "Chat": "Chat"- whether channel has chat canvas capabilities 
- "Video": "Video"- whether channel has video calling capabilities 
- "Wrapup": "Wrapup"- whether channel needs to go to Wrapup state before can be completed 
exports.ReservationStatuses: "Accepted" | "Wrapping" | "Completed" | "Canceled" | "Pending" | "Rescinded"#
ReservationStatuses
Properties:
- Wrapping: "Wrapping"- wrapping state 
- Completed: "Completed"- completed state 
- Canceled: "Canceled"- canceled state 
- Pending: "Pending"- pending state 
- Accepted: "Accepted"- accepted state 
- Rescinded: "Rescinded"- rescinded state