UNPKG

@botonic/plugin-hubtype-analytics

Version:

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

23 lines 1.05 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HtEventFeedbackKnowledgebase = void 0; const types_1 = require("../types"); const ht_event_1 = require("./ht-event"); class HtEventFeedbackKnowledgebase extends ht_event_1.HtEvent { constructor(event, requestData) { super(event, requestData); this.type = types_1.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; } } exports.HtEventFeedbackKnowledgebase = HtEventFeedbackKnowledgebase; //# sourceMappingURL=ht-event-feedback-knowledgebase.js.map