UNPKG

@botonic/plugin-hubtype-analytics

Version:

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

23 lines 1.02 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HtEventIntentSmart = void 0; const types_1 = require("../types"); const ht_event_1 = require("./ht-event"); class HtEventIntentSmart extends ht_event_1.HtEvent { constructor(event, requestData) { super(event, requestData); this.type = types_1.EventType.BotEvent; this.action = types_1.EventAction.IntentSmart; this.nlu_intent_smart_title = event.nluIntentSmartTitle; this.nlu_intent_smart_num_used = event.nluIntentSmartNumUsed; this.nlu_intent_smart_message_id = event.nluIntentSmartMessageId; this.user_input = event.userInput; this.flow_thread_id = event.flowThreadId; this.flow_id = event.flowId; this.flow_name = event.flowName; this.flow_node_id = event.flowNodeId; this.flow_node_content_id = event.flowNodeContentId; } } exports.HtEventIntentSmart = HtEventIntentSmart; //# sourceMappingURL=ht-event-intent-smart.js.map