UNPKG

@botonic/plugin-hubtype-analytics

Version:

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

40 lines 2.01 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WebviewEndFailType = exports.KnowledgebaseFailReason = exports.EventAction = exports.EventType = void 0; var EventType; (function (EventType) { EventType["BotEvent"] = "botevent"; EventType["WebEvent"] = "webevent"; })(EventType = exports.EventType || (exports.EventType = {})); 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 = exports.EventAction || (exports.EventAction = {})); var KnowledgebaseFailReason; (function (KnowledgebaseFailReason) { KnowledgebaseFailReason["NoKnowledge"] = "no_knowledge"; KnowledgebaseFailReason["Hallucination"] = "hallucination"; })(KnowledgebaseFailReason = exports.KnowledgebaseFailReason || (exports.KnowledgebaseFailReason = {})); var WebviewEndFailType; (function (WebviewEndFailType) { WebviewEndFailType["CanceledByUser"] = "canceled_by_user"; WebviewEndFailType["ApiError"] = "api_error"; WebviewEndFailType["NeedsEscalation"] = "needs_escalation"; })(WebviewEndFailType = exports.WebviewEndFailType || (exports.WebviewEndFailType = {})); //# sourceMappingURL=types.js.map