AppState
Root Redux Flex application state
Properties:
config: Configconfiguration state
session: SessionStatesession state
identity?: string- identity of a logged in userloginError?: any- last error that occurred when logging inloginState?: LoginState- current state of the sessionssoTokenPayload?: SSOTokenPayload- SSO token payloadidentity: string- identityroles: Array<string>- rolestoken: string- access tokenexpiration: string- token expiration datepermissions: Permissions- all permissions user havedegraded?: boolean- Indicates if session is degraded
chat: ChatStatechat state
conversations: ConversationsState- State of conversationssid?: ConversationState- State of conversations by sidcurrentPaginator?: Paginator- Paginator class to request messages on previous or next pages. See structure here.isLoadingMessages: boolean- Indicates if messages are currently loadingDefault Value:
false
isLoadingParticipants: boolean- Indicates if participants are currently loadingDefault Value:
false
isLoadingConversation: boolean- Indicates if conversation is currently loadingDefault Value:
false
lastReadMessageIndex: number- Index of the last read messageDefault Value:
0
participants: Map<string, ParticipantState>- Participants of the chatmessages: Array<MessageState>- Messages in the conversationDefault Value:
Map()
inputText: string- Text of the messageDefault Value:
""
selectionStart: number- Start index of the cursor selectionDefault Value:
0
selectionEnd: number- End index of the cursor selectionDefault Value:
0
attachedFiles?: Array<File>- Files attached to the messagesource?: Conversation- Reference to the conversation. See structure here.typers: Array<ParticipantState>- Participants, who are currently typing a messagesource: Participant- Represents the remote client in a Conversation. See structure here.friendlyName: string- It represents the friendly name of the remote client.online: boolean- It represents if the participant is online or not.errorWhileLoadingConversation: boolean- Indicates if there was an error while loading a conversationDefault Value:
false
session: ChatSessionState- State of the user sessionconnectionState: string- State of the connectionDefault Value:
""
isActive: boolean- Indicates if chat session is activeDefault Value:
true
users: ChatUserState- State of chat usersconversationInput: ConversationInputState- Conversation text input statemessageList: ChatMessageListState- State of message listisScrollToBottom: boolean- Whether the ChatMessageList is currently scrolled to the bottomactiveConversation: string- ID of the conversation currently shown in the ChatMessageList component
worker: WorkerStateworker state
tasks: Map<string, ITask>- map of active tasks by reservation SIDactivity: Activity- current Activity of the worker.activities: Map<string, Activity>- map of all Activities instances by SID.attributes: object- attributes of the Worker.worker: IWorker- current worker instance.
phone: PhoneStatevoice call state
listener?: DeviceListener- device listeneractiveCall?: Call- Source call object. See
view: ViewStateview state
isSideNavOpen: boolean- whether the navigation sidebar is openisOutboundDialerOpen: boolean- whether the navigation sidebar is openactiveView?: string- name of the currently active viewselectedTaskSid?: string- ID of the selected task in Agent Desktop viewselectedTaskInSupervisorSid?: string- ID of the selected task in Teams viewselectedWorkerInSupervisorSid?: string- ID of the selected worker in Teams viewisDirectoryOpen?: boolean- whether the call transfer panel is open in Agent Desktop viewcomponentViewStates: object- object containing persistent components states. Use {@link Actions.SetComponentState} to update.
appStatus: AppStatusStateapp status
isAppStatusPanelOpen: boolean- whether the navigation sidebar is open
connectionStatus: ConnectionStatusconnection status
timestampLastConnected: number- timestamp of last connectionconnectionState: SyncClient.ConnectionState- connection state of the sync client
insights: InsightsStateinsights state
segmentsById: object- Dictionary of segments with the segmentId as the keyselectedMediaLink?: number- selected media linkquestionnaires: Array<IQuestionnaire>- array of questionnairesassessments: object- Dictionary of array of assessments with the segmentId as the keycomments: object- commentsassessmentSettings: IAssessmentSettings- assessmentSettingsfindingsBySegment: object- findings by segmentsegmentId: string | undefined- segmentIdinsightsProjectDashboards: object- insights project dashboardsinsightsDashboardCategory: object- insights dashboard categorydrillableItemsByDashboard: object- drillable items by dashboarddrillableItemsAttributes: Array<string>- global drillable attributesprofileInfo: object- profile info
supervisor: SupervisorStatesupervisor state
callMonitoring: CallMonitoring- state of call monitoringstatus: CallMonitoringStatus- status of the monitor calltask?: ITask- Monitored taskworkers?: Array<IWorker>- List of the participating the callstickyWorker?: SupervisorWorkerState- currently selected worker stateworker: IWorker- worker instancetasks: Array<ITask>- tasks of the workerworkers: Array<SupervisorWorkerState>- currently showing worker statesworker: IWorker- worker instancetasks: Array<ITask>- tasks of the workerisLoadingWorkers: boolean- if workers are being loadederrorLoadingWorkers: LiveQueryError- instance of the error when loading workersappliedFilters: Array<AppliedFilter>- array of applied filtersextraFilterQuery: string- query for custom filterssearch: string- search string
conferences: ConferencesStateconferences state
states: Map<string, ConferencesState.ConferenceState>- active conferences states by conference SID
realtimeQueues: QueuesStaterealtimeQueues
featureFlags: FeatureFlagsStatefeatureFlags
flexErrors: FlexErrorStateflexErrors
errors: Array<FlexError>- Flex errors
qualityManagement: QualityManagementStatequalityManagement
participants: ParticipantStateparticipants state
source: Participant- Represents the remote client in a Conversation. See structure here.friendlyName: string- It represents the friendly name of the remote client.online: boolean- It represents if the participant is online or not.
profileConnector: ProfileConnectorStateprofileConnector state
isProfileConnectorPanelOpen: boolean- whether the navigation sidebar is open
exports.LoginState: "UNKNOWN" | "LOGGING_IN" | "LOGGED_IN" | "LOGGED_OUT" | "ERROR"#
Login states
Properties:
Unknown: "UNKNOWN"Unknown
LoggingIn: "LOGGING_IN"LoggingIn
LoggedIn: "LOGGED_IN"LoggedIn
LoggedOut: "LOGGED_OUT"LoggedOut
Error: "ERROR"Error
Rate this page