@botonic/plugin-hubtype-analytics
Version:
Plugin for tracking in the Hubtype backend to see the results in the Hubtype Dashbord
15 lines (14 loc) • 1.69 kB
TypeScript
import { EventAction, EventAiAgent, EventBotAction, EventCaptureUserInput, EventConditionalChannel, EventConditionalCountry, EventConditionalCustom, EventConditionalQueueStatus, EventCustom, EventFallback, EventFeedback, EventFeedbackKnowledgebase, EventFlow, EventHandoff, EventHandoffOption, EventIntentSmart, EventKeyword, EventKnowledgeBase, EventRedirectFlow, EventWebviewActionTriggered, EventWebviewEnd, EventWebviewStep, KnowledgebaseFailReason, ToolExecution, WebviewEndFailType } from '@botonic/core';
export declare enum EventType {
BotEvent = "botevent",
WebEvent = "webevent"
}
export type HtEventProps = EventFeedback | EventFeedbackKnowledgebase | EventFlow | EventBotAction | EventConditionalChannel | EventConditionalCountry | EventConditionalCustom | EventConditionalQueueStatus | EventHandoff | EventHandoffOption | EventKeyword | EventIntentSmart | EventKnowledgeBase | EventWebviewActionTriggered | EventFallback | EventWebviewStep | EventWebviewEnd | EventCustom | EventAiAgent | EventRedirectFlow | EventCaptureUserInput;
export interface RequestData {
userId?: string;
botInteractionId: string;
userLocale: string;
userCountry: string;
systemLocale: string;
}
export { EventAction, EventAiAgent, EventBotAction, EventCaptureUserInput, EventConditionalChannel, EventConditionalCountry, EventConditionalCustom, EventConditionalQueueStatus, EventCustom, EventFallback, EventFeedback, EventFeedbackKnowledgebase, EventFlow, EventHandoff, EventHandoffOption, EventIntentSmart, EventKeyword, EventKnowledgeBase, EventWebviewActionTriggered, EventWebviewEnd, EventWebviewStep, KnowledgebaseFailReason, ToolExecution, WebviewEndFailType, };