@botonic/plugin-hubtype-analytics 0.37.1-alpha.0 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { EventAction, EventCustom, EventFallback, EventFeedback, EventFeedbackKnowledgebase, EventFlow, EventHandoff, EventHandoffOption, EventIntentSmart, EventKeyword, EventKnowledgeBase, EventWebviewEnd, EventWebviewStep } from '@botonic/core';
1
+ import { EventAction, EventCustom, EventFallback, EventFeedback, EventFeedbackKnowledgebase, EventFlow, EventHandoff, EventHandoffOption, EventIntentSmart, EventKeyword, EventKnowledgeBase, EventWebviewEnd, EventWebviewStep, KnowledgebaseFailReason, WebviewEndFailType } from '@botonic/core';
2
2
  export declare enum EventType {
3
3
  BotEvent = "botevent",
4
4
  WebEvent = "webevent"
@@ -11,4 +11,4 @@ export interface RequestData {
11
11
  userCountry: string;
12
12
  systemLocale: string;
13
13
  }
14
- export { EventAction, EventCustom, EventFallback, EventFeedback, EventFeedbackKnowledgebase, EventFlow, EventHandoff, EventHandoffOption, EventIntentSmart, EventKeyword, EventKnowledgeBase, EventWebviewEnd, EventWebviewStep, };
14
+ export { EventAction, EventCustom, EventFallback, EventFeedback, EventFeedbackKnowledgebase, EventFlow, EventHandoff, EventHandoffOption, EventIntentSmart, EventKeyword, EventKnowledgeBase, EventWebviewEnd, EventWebviewStep, KnowledgebaseFailReason, WebviewEndFailType, };
package/lib/cjs/types.js CHANGED
@@ -1,8 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EventAction = exports.EventType = void 0;
3
+ exports.WebviewEndFailType = exports.KnowledgebaseFailReason = exports.EventAction = exports.EventType = void 0;
4
4
  const core_1 = require("@botonic/core");
5
5
  Object.defineProperty(exports, "EventAction", { enumerable: true, get: function () { return core_1.EventAction; } });
6
+ Object.defineProperty(exports, "KnowledgebaseFailReason", { enumerable: true, get: function () { return core_1.KnowledgebaseFailReason; } });
7
+ Object.defineProperty(exports, "WebviewEndFailType", { enumerable: true, get: function () { return core_1.WebviewEndFailType; } });
6
8
  var EventType;
7
9
  (function (EventType) {
8
10
  EventType["BotEvent"] = "botevent";
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":";;;AAAA,wCAcsB;AA8BpB,4FA3CA,kBAAW,OA2CA;AA5Bb,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;AACvB,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":";;;AAAA,wCAgBsB;AA8BpB,4FA7CA,kBAAW,OA6CA;AAaX,wGA7CA,8BAAuB,OA6CA;AACvB,mGA7CA,yBAAkB,OA6CA;AA1CpB,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;AACvB,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
@@ -1,4 +1,4 @@
1
- import { EventAction, EventCustom, EventFallback, EventFeedback, EventFeedbackKnowledgebase, EventFlow, EventHandoff, EventHandoffOption, EventIntentSmart, EventKeyword, EventKnowledgeBase, EventWebviewEnd, EventWebviewStep } from '@botonic/core';
1
+ import { EventAction, EventCustom, EventFallback, EventFeedback, EventFeedbackKnowledgebase, EventFlow, EventHandoff, EventHandoffOption, EventIntentSmart, EventKeyword, EventKnowledgeBase, EventWebviewEnd, EventWebviewStep, KnowledgebaseFailReason, WebviewEndFailType } from '@botonic/core';
2
2
  export declare enum EventType {
3
3
  BotEvent = "botevent",
4
4
  WebEvent = "webevent"
@@ -11,4 +11,4 @@ export interface RequestData {
11
11
  userCountry: string;
12
12
  systemLocale: string;
13
13
  }
14
- export { EventAction, EventCustom, EventFallback, EventFeedback, EventFeedbackKnowledgebase, EventFlow, EventHandoff, EventHandoffOption, EventIntentSmart, EventKeyword, EventKnowledgeBase, EventWebviewEnd, EventWebviewStep, };
14
+ export { EventAction, EventCustom, EventFallback, EventFeedback, EventFeedbackKnowledgebase, EventFlow, EventHandoff, EventHandoffOption, EventIntentSmart, EventKeyword, EventKnowledgeBase, EventWebviewEnd, EventWebviewStep, KnowledgebaseFailReason, WebviewEndFailType, };
package/lib/esm/types.js CHANGED
@@ -1,8 +1,8 @@
1
- import { EventAction, } from '@botonic/core';
1
+ import { EventAction, KnowledgebaseFailReason, WebviewEndFailType, } from '@botonic/core';
2
2
  export var EventType;
3
3
  (function (EventType) {
4
4
  EventType["BotEvent"] = "botevent";
5
5
  EventType["WebEvent"] = "webevent";
6
6
  })(EventType || (EventType = {}));
7
- export { EventAction, };
7
+ export { EventAction, KnowledgebaseFailReason, WebviewEndFailType, };
8
8
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,GAaZ,MAAM,eAAe,CAAA;AAEtB,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;AACvB,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAwBD,OAAO,EACL,WAAW,GAaZ,CAAA"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EAaX,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,eAAe,CAAA;AAEtB,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;AACvB,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAwBD,OAAO,EACL,WAAW,EAaX,uBAAuB,EACvB,kBAAkB,GACnB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botonic/plugin-hubtype-analytics",
3
- "version": "0.37.1-alpha.0",
3
+ "version": "0.38.0",
4
4
  "description": "Plugin for tracking in the Hubtype backend to see the results in the Hubtype Dashbord",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "module": "./lib/esm/index.js",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@babel/runtime": "^7.26.0",
17
- "@botonic/core": "0.37.1-alpha.0",
17
+ "@botonic/core": "^0.38.0",
18
18
  "axios": "^1.10.0"
19
19
  },
20
20
  "devDependencies": {
package/src/types.ts CHANGED
@@ -12,6 +12,8 @@ import {
12
12
  EventKnowledgeBase,
13
13
  EventWebviewEnd,
14
14
  EventWebviewStep,
15
+ KnowledgebaseFailReason,
16
+ WebviewEndFailType,
15
17
  } from '@botonic/core'
16
18
 
17
19
  export enum EventType {
@@ -55,4 +57,6 @@ export {
55
57
  EventKnowledgeBase,
56
58
  EventWebviewEnd,
57
59
  EventWebviewStep,
60
+ KnowledgebaseFailReason,
61
+ WebviewEndFailType,
58
62
  }