export declare enum ChatAvailabilityStateEnum { ONLINE = "ONLINE", OFFLINE = "OFFLINE", BUSY = "BUSY" } export interface ChatMachineContext { isError: boolean; waitForOpCounter: number; states: string[]; events: string[]; } export interface ChatMachineSchema { states: { botLoaded: {}; botAvailable: {}; botError: {}; botActiveOpDisabled: {}; botActiveNoOp: {}; botActiveOpBusy: {}; botActiveOpError: {}; botActiveAndWaitingToStartOfferOp: {}; opAvailCheck: {}; botActiveOfferingOp: {}; botErrorOpOffshift: {}; opAvailableBotError: {}; opErrorBotError: {}; opBusyBotError: {}; opWaitingForGdprConsent: {}; opWaitingForOp1: {}; opWaitingForUser: {}; opWaitingForOp2: {}; opDidNotStart: {}; opActive: {}; opEnded: {}; waitingForOpWasEndedByUser: {}; waitingForGdprConsentWasEndedByUser: {}; opFeedback: {}; }; } export declare enum ChatMachineStatesEnum { botLoaded = "botLoaded", botAvailable = "botAvailable", botActiveOpDisabled = "botActiveOpDisabled", botError = "botError", botActiveNoOp = "botActiveNoOp", botActiveOpBusy = "botActiveOpBusy", botActiveOpError = "botActiveOpError", botActiveAndWaitingToStartOfferOp = "botActiveAndWaitingToStartOfferOp", opAvailCheck = "opAvailCheck", botActiveOfferingOp = "botActiveOfferingOp", botErrorOpOffshift = "botErrorOpOffshift", opAvailableBotError = "opAvailableBotError", opErrorBotError = "opErrorBotError", opBusyBotError = "opBusyBotError", opWaitingForGdprConsent = "opWaitingForGdprConsent", opWaitingForOp1 = "opWaitingForOp1", opWaitingForUser = "opWaitingForUser", opWaitingForOp2 = "opWaitingForOp2", opDidNotStart = "opDidNotStart", opActive = "opActive", opFeedback = "opFeedback", opEnded = "opEnded", waitingForOpWasEndedByUser = "waitingForOpWasEndedByUser", waitingForGdprConsentWasEndedByUser = "waitingForGdprConsentWasEndedByUser" } export interface ChatMachineValue { isError?: boolean; waitForOpCounter?: number; } export declare type ChatMachineEvent = { type: 'TESTING'; value?: ChatMachineValue; } | { type: 'BOT_ONLINE'; value?: ChatMachineValue; } | { type: 'OP_DISABLED'; value?: ChatMachineValue; } | { type: 'BOT_ONLINE_OFFER_OP'; value?: ChatMachineValue; } | { type: 'BOT_OFFLINE'; value?: ChatMachineValue; } | { type: 'SWITCH_BOT'; value?: ChatMachineValue; } | { type: 'SWITCH_OP'; value?: ChatMachineValue; } | { type: 'OP_ONLINE'; value?: ChatMachineValue; } | { type: 'OP_OFFLINE'; value?: ChatMachineValue; } | { type: 'OP_BUSY'; value?: ChatMachineValue; } | { type: 'OP_ONLINE_CHAT_ERR'; value?: ChatMachineValue; } | { type: 'OP_OFFLINE_CHAT_ERR'; value?: ChatMachineValue; } | { type: 'OP_BUSY_CHAT_ERR'; value?: ChatMachineValue; } | { type: 'OP_WAITING_FOR_GDPR_CONSENT'; value?: ChatMachineValue; } | { type: 'OP_WAITING_FOR_OP_1'; value?: ChatMachineValue; } | { type: 'OP_WAITING_FOR_USER'; value?: ChatMachineValue; } | { type: 'OP_WAITING_FOR_OP_2'; value?: ChatMachineValue; } | { type: 'OP_DID_NOT_START'; value?: ChatMachineValue; } | { type: 'OP_DID_START'; value?: ChatMachineValue; } | { type: 'OP_ACTIVE'; value?: ChatMachineValue; } | { type: 'OP_ENDED_BY_OP'; value?: ChatMachineValue; } | { type: 'OP_ENDED_BY_USER'; value?: ChatMachineValue; } | { type: 'OP_FEEDBACK'; value?: ChatMachineValue; } | { type: 'OP_FEEDBACK_DONE'; value?: ChatMachineValue; } | { type: 'OP_UNEXPECTED_ERR'; value?: ChatMachineValue; } | { type: 'OP_CONTINUE_TO_WAIT'; value?: ChatMachineValue; } | { type: 'OP_ENDED_BY_USER'; value?: ChatMachineValue; }; export declare enum ChatMachineEventEnum { TESTING = "TESTING", BOT_ONLINE = "BOT_ONLINE", OP_DISABLED = "OP_DISABLED", BOT_ONLINE_OFFER_OP = "BOT_ONLINE_OFFER_OP", BOT_OFFLINE = "BOT_OFFLINE", SWITCH_BOT = "SWITCH_BOT", SWITCH_OP = "SWITCH_OP", OP_ONLINE = "OP_ONLINE", OP_OFFLINE = "OP_OFFLINE", OP_BUSY = "OP_BUSY", OP_ONLINE_CHAT_ERR = "OP_ONLINE_CHAT_ERR", OP_OFFLINE_CHAT_ERR = "OP_OFFLINE_CHAT_ERR", OP_BUSY_CHAT_ERR = "OP_BUSY_CHAT_ERR", OP_WAITING_FOR_GDPR_CONSENT = "OP_WAITING_FOR_GDPR_CONSENT", OP_WAITING_FOR_OP_1 = "OP_WAITING_FOR_OP_1", OP_WAITING_FOR_USER = "OP_WAITING_FOR_USER", OP_WAITING_FOR_OP_2 = "OP_WAITING_FOR_OP_2", OP_DID_START = "OP_DID_START", OP_DID_NOT_START = "OP_DID_NOT_START", OP_ACTIVE = "OP_ACTIVE", OP_FEEDBACK = "OP_FEEDBACK", OP_FEEDBACK_DONE = "OP_FEEDBACK_DONE", OP_ENDED_BY_OP = "OP_ENDED_BY_OP", OP_ENDED_BY_USER = "OP_ENDED_BY_USER", OP_UNEXPECTED_ERR = "OP_UNEXPECTED_ERR", OP_CONTINUE_TO_WAIT = "OP_CONTINUE_TO_WAIT" } export declare enum BrowserTypeEnumSLA { web = 1, mobile = 2 } export declare enum SourceIdEnumSLA { web = 1, onlineWeb = 2, onlineMob = 3, web2 = 4 } export declare enum QueueAnswerEnumSLA { busy = 0, free = 1, offline = -1 } export interface ReportItemSLA { date: string; time: string; sessionId: string; sourceId: SourceIdEnumSLA; queueAnswer: QueueAnswerEnumSLA; queueRequestedTime: string; }