UNPKG

@botonic/plugin-hubtype-analytics

Version:

Plugin for tracking in the Hubtype backend to see the results in the Hubtype Dashbord

37 lines 1.71 kB
export var EventType; (function (EventType) { EventType["BotEvent"] = "botevent"; EventType["WebEvent"] = "webevent"; })(EventType || (EventType = {})); export var EventAction; (function (EventAction) { EventAction["FeedbackCase"] = "feedback_case"; EventAction["FeedbackMessage"] = "feedback_message"; EventAction["FeedbackConversation"] = "feedback_conversation"; EventAction["FeedbackKnowledgebase"] = "feedback_knowledgebase"; EventAction["FeedbackWebview"] = "feedback_webview"; EventAction["FlowNode"] = "flow_node"; EventAction["HandoffOption"] = "handoff_option"; EventAction["HandoffSuccess"] = "handoff_success"; EventAction["HandoffFail"] = "handoff_fail"; EventAction["Keyword"] = "nlu_keyword"; EventAction["Intent"] = "nlu_intent"; EventAction["IntentSmart"] = "nlu_intent_smart"; EventAction["Knowledgebase"] = "knowledgebase"; EventAction["Fallback"] = "fallback"; EventAction["WebviewStep"] = "webview_step"; EventAction["WebviewEnd"] = "webview_end"; EventAction["Custom"] = "custom"; })(EventAction || (EventAction = {})); export var KnowledgebaseFailReason; (function (KnowledgebaseFailReason) { KnowledgebaseFailReason["NoKnowledge"] = "no_knowledge"; KnowledgebaseFailReason["Hallucination"] = "hallucination"; })(KnowledgebaseFailReason || (KnowledgebaseFailReason = {})); export var WebviewEndFailType; (function (WebviewEndFailType) { WebviewEndFailType["CanceledByUser"] = "canceled_by_user"; WebviewEndFailType["ApiError"] = "api_error"; WebviewEndFailType["NeedsEscalation"] = "needs_escalation"; })(WebviewEndFailType || (WebviewEndFailType = {})); //# sourceMappingURL=types.js.map