@botonic/plugin-hubtype-analytics
Version:
Plugin for tracking in the Hubtype backend to see the results in the Hubtype Dashbord
19 lines • 840 B
JavaScript
import { EventType, } from '../types';
import { HtEvent } from './ht-event';
export class HtEventFeedbackKnowledgebase extends HtEvent {
constructor(event, requestData) {
super(event, requestData);
this.type = EventType.WebEvent;
this.action = event.action;
this.knowledge_base_inference_id = event.knowledgebaseInferenceId;
this.feedback_target_bot_interaction_id = event.feedbackBotInteractionId;
this.feedback_target_id = event.feedbackTargetId;
this.feedback_group_id = event.feedbackGroupId;
this.possible_options = event.possibleOptions;
this.possible_values = event.possibleValues;
this.option = event.option;
this.value = event.value;
this.comment = event.comment;
}
}
//# sourceMappingURL=ht-event-feedback-knowledgebase.js.map