@botonic/plugin-hubtype-analytics
Version:
Plugin for tracking in the Hubtype backend to see the results in the Hubtype Dashbord
17 lines • 741 B
JavaScript
import { EventAction, EventType } from '../types';
import { HtEvent } from './ht-event';
export class HtEventIntentSmart extends HtEvent {
constructor(event, requestData) {
super(event, requestData);
this.type = EventType.BotEvent;
this.action = 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_node_id = event.flowNodeId;
}
}
//# sourceMappingURL=ht-event-intent-smart.js.map