@botonic/plugin-hubtype-analytics 0.56.0-alpha.0 → 0.57.0-rslib-esm.1
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.
- package/lib/{cjs/event-models → event-models}/ht-event-ai-agent-router.d.ts +2 -2
- package/lib/event-models/ht-event-ai-agent-router.js +45 -0
- package/lib/event-models/ht-event-ai-agent-router.js.map +1 -0
- package/lib/{esm/event-models → event-models}/ht-event-ai-agent.d.ts +2 -2
- package/lib/event-models/ht-event-ai-agent.js +66 -0
- package/lib/event-models/ht-event-ai-agent.js.map +1 -0
- package/lib/{esm/event-models → event-models}/ht-event-bot-action.d.ts +2 -2
- package/lib/event-models/ht-event-bot-action.js +36 -0
- package/lib/event-models/ht-event-bot-action.js.map +1 -0
- package/lib/{esm/event-models → event-models}/ht-event-capture-user-input.d.ts +2 -2
- package/lib/event-models/ht-event-capture-user-input.js +39 -0
- package/lib/event-models/ht-event-capture-user-input.js.map +1 -0
- package/lib/{esm/event-models → event-models}/ht-event-conditional-channel.d.ts +2 -2
- package/lib/event-models/ht-event-conditional-channel.js +36 -0
- package/lib/event-models/ht-event-conditional-channel.js.map +1 -0
- package/lib/{cjs/event-models → event-models}/ht-event-conditional-country.d.ts +2 -2
- package/lib/event-models/ht-event-conditional-country.js +36 -0
- package/lib/event-models/ht-event-conditional-country.js.map +1 -0
- package/lib/{esm/event-models → event-models}/ht-event-conditional-custom.d.ts +2 -2
- package/lib/event-models/ht-event-conditional-custom.js +38 -0
- package/lib/event-models/ht-event-conditional-custom.js.map +1 -0
- package/lib/{cjs/event-models → event-models}/ht-event-conditional-queue-status.d.ts +2 -2
- package/lib/event-models/ht-event-conditional-queue-status.js +39 -0
- package/lib/event-models/ht-event-conditional-queue-status.js.map +1 -0
- package/lib/{cjs/event-models → event-models}/ht-event-custom.d.ts +2 -2
- package/lib/event-models/ht-event-custom.js +31 -0
- package/lib/event-models/ht-event-custom.js.map +1 -0
- package/lib/{cjs/event-models → event-models}/ht-event-fallback.d.ts +2 -2
- package/lib/event-models/ht-event-fallback.js +36 -0
- package/lib/event-models/ht-event-fallback.js.map +1 -0
- package/lib/{esm/event-models → event-models}/ht-event-feedback.d.ts +2 -2
- package/lib/event-models/ht-event-feedback.js +36 -0
- package/lib/event-models/ht-event-feedback.js.map +1 -0
- package/lib/{cjs/event-models → event-models}/ht-event-flow.d.ts +2 -2
- package/lib/event-models/ht-event-flow.js +35 -0
- package/lib/event-models/ht-event-flow.js.map +1 -0
- package/lib/{cjs/event-models → event-models}/ht-event-handoff-option.d.ts +2 -2
- package/lib/event-models/ht-event-handoff-option.js +35 -0
- package/lib/event-models/ht-event-handoff-option.js.map +1 -0
- package/lib/{cjs/event-models → event-models}/ht-event-handoff.d.ts +2 -2
- package/lib/event-models/ht-event-handoff.js +40 -0
- package/lib/event-models/ht-event-handoff.js.map +1 -0
- package/lib/{cjs/event-models → event-models}/ht-event-intent-smart.d.ts +2 -2
- package/lib/event-models/ht-event-intent-smart.js +38 -0
- package/lib/event-models/ht-event-intent-smart.js.map +1 -0
- package/lib/{cjs/event-models → event-models}/ht-event-keyword.d.ts +2 -2
- package/lib/event-models/ht-event-keyword.js +38 -0
- package/lib/event-models/ht-event-keyword.js.map +1 -0
- package/lib/{cjs/event-models → event-models}/ht-event-redirect-flow.d.ts +2 -2
- package/lib/event-models/ht-event-redirect-flow.js +37 -0
- package/lib/event-models/ht-event-redirect-flow.js.map +1 -0
- package/lib/{cjs/event-models → event-models}/ht-event-webview-action-triggered.d.ts +2 -2
- package/lib/event-models/ht-event-webview-action-triggered.js +38 -0
- package/lib/event-models/ht-event-webview-action-triggered.js.map +1 -0
- package/lib/{esm/event-models → event-models}/ht-event-webview-end.d.ts +2 -2
- package/lib/event-models/ht-event-webview-end.js +36 -0
- package/lib/event-models/ht-event-webview-end.js.map +1 -0
- package/lib/{cjs/event-models → event-models}/ht-event-webview-step.d.ts +2 -2
- package/lib/event-models/ht-event-webview-step.js +34 -0
- package/lib/event-models/ht-event-webview-step.js.map +1 -0
- package/lib/{cjs/event-models → event-models}/ht-event.d.ts +1 -1
- package/lib/event-models/ht-event.js +40 -0
- package/lib/event-models/ht-event.js.map +1 -0
- package/lib/event-models/index.d.ts +20 -0
- package/lib/event-models/index.js +63 -0
- package/lib/event-models/index.js.map +1 -0
- package/lib/{cjs/index.d.ts → index.d.ts} +7 -4
- package/lib/{esm/index.js → index.js} +45 -22
- package/lib/index.js.map +1 -0
- package/lib/types.d.ts +14 -0
- package/lib/types.js +13 -0
- package/lib/types.js.map +1 -0
- package/lib/utils.d.ts +3 -0
- package/lib/utils.js +64 -0
- package/lib/utils.js.map +1 -0
- package/package.json +10 -8
- package/src/types.ts +40 -40
- package/lib/cjs/event-models/ht-event-ai-agent-router.js +0 -31
- package/lib/cjs/event-models/ht-event-ai-agent-router.js.map +0 -1
- package/lib/cjs/event-models/ht-event-ai-agent.d.ts +0 -28
- package/lib/cjs/event-models/ht-event-ai-agent.js +0 -55
- package/lib/cjs/event-models/ht-event-ai-agent.js.map +0 -1
- package/lib/cjs/event-models/ht-event-bot-action.d.ts +0 -12
- package/lib/cjs/event-models/ht-event-bot-action.js +0 -21
- package/lib/cjs/event-models/ht-event-bot-action.js.map +0 -1
- package/lib/cjs/event-models/ht-event-capture-user-input.d.ts +0 -15
- package/lib/cjs/event-models/ht-event-capture-user-input.js +0 -24
- package/lib/cjs/event-models/ht-event-capture-user-input.js.map +0 -1
- package/lib/cjs/event-models/ht-event-conditional-channel.d.ts +0 -12
- package/lib/cjs/event-models/ht-event-conditional-channel.js +0 -21
- package/lib/cjs/event-models/ht-event-conditional-channel.js.map +0 -1
- package/lib/cjs/event-models/ht-event-conditional-country.js +0 -21
- package/lib/cjs/event-models/ht-event-conditional-country.js.map +0 -1
- package/lib/cjs/event-models/ht-event-conditional-custom.d.ts +0 -14
- package/lib/cjs/event-models/ht-event-conditional-custom.js +0 -23
- package/lib/cjs/event-models/ht-event-conditional-custom.js.map +0 -1
- package/lib/cjs/event-models/ht-event-conditional-queue-status.js +0 -24
- package/lib/cjs/event-models/ht-event-conditional-queue-status.js.map +0 -1
- package/lib/cjs/event-models/ht-event-custom.js +0 -16
- package/lib/cjs/event-models/ht-event-custom.js.map +0 -1
- package/lib/cjs/event-models/ht-event-fallback.js +0 -21
- package/lib/cjs/event-models/ht-event-fallback.js.map +0 -1
- package/lib/cjs/event-models/ht-event-feedback.d.ts +0 -13
- package/lib/cjs/event-models/ht-event-feedback.js +0 -21
- package/lib/cjs/event-models/ht-event-feedback.js.map +0 -1
- package/lib/cjs/event-models/ht-event-flow.js +0 -20
- package/lib/cjs/event-models/ht-event-flow.js.map +0 -1
- package/lib/cjs/event-models/ht-event-handoff-option.js +0 -20
- package/lib/cjs/event-models/ht-event-handoff-option.js.map +0 -1
- package/lib/cjs/event-models/ht-event-handoff.js +0 -25
- package/lib/cjs/event-models/ht-event-handoff.js.map +0 -1
- package/lib/cjs/event-models/ht-event-intent-smart.js +0 -23
- package/lib/cjs/event-models/ht-event-intent-smart.js.map +0 -1
- package/lib/cjs/event-models/ht-event-keyword.js +0 -23
- package/lib/cjs/event-models/ht-event-keyword.js.map +0 -1
- package/lib/cjs/event-models/ht-event-redirect-flow.js +0 -22
- package/lib/cjs/event-models/ht-event-redirect-flow.js.map +0 -1
- package/lib/cjs/event-models/ht-event-webview-action-triggered.js +0 -23
- package/lib/cjs/event-models/ht-event-webview-action-triggered.js.map +0 -1
- package/lib/cjs/event-models/ht-event-webview-end.d.ts +0 -13
- package/lib/cjs/event-models/ht-event-webview-end.js +0 -21
- package/lib/cjs/event-models/ht-event-webview-end.js.map +0 -1
- package/lib/cjs/event-models/ht-event-webview-step.js +0 -19
- package/lib/cjs/event-models/ht-event-webview-step.js.map +0 -1
- package/lib/cjs/event-models/ht-event.js +0 -18
- package/lib/cjs/event-models/ht-event.js.map +0 -1
- package/lib/cjs/event-models/index.d.ts +0 -20
- package/lib/cjs/event-models/index.js +0 -44
- package/lib/cjs/event-models/index.js.map +0 -1
- package/lib/cjs/index.js +0 -70
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/types.d.ts +0 -14
- package/lib/cjs/types.js +0 -12
- package/lib/cjs/types.js.map +0 -1
- package/lib/cjs/utils.d.ts +0 -3
- package/lib/cjs/utils.js +0 -58
- package/lib/cjs/utils.js.map +0 -1
- package/lib/esm/event-models/ht-event-ai-agent-router.d.ts +0 -21
- package/lib/esm/event-models/ht-event-ai-agent-router.js +0 -31
- package/lib/esm/event-models/ht-event-ai-agent-router.js.map +0 -1
- package/lib/esm/event-models/ht-event-ai-agent.js +0 -55
- package/lib/esm/event-models/ht-event-ai-agent.js.map +0 -1
- package/lib/esm/event-models/ht-event-bot-action.js +0 -21
- package/lib/esm/event-models/ht-event-bot-action.js.map +0 -1
- package/lib/esm/event-models/ht-event-capture-user-input.js +0 -24
- package/lib/esm/event-models/ht-event-capture-user-input.js.map +0 -1
- package/lib/esm/event-models/ht-event-conditional-channel.js +0 -21
- package/lib/esm/event-models/ht-event-conditional-channel.js.map +0 -1
- package/lib/esm/event-models/ht-event-conditional-country.d.ts +0 -12
- package/lib/esm/event-models/ht-event-conditional-country.js +0 -21
- package/lib/esm/event-models/ht-event-conditional-country.js.map +0 -1
- package/lib/esm/event-models/ht-event-conditional-custom.js +0 -23
- package/lib/esm/event-models/ht-event-conditional-custom.js.map +0 -1
- package/lib/esm/event-models/ht-event-conditional-queue-status.d.ts +0 -15
- package/lib/esm/event-models/ht-event-conditional-queue-status.js +0 -24
- package/lib/esm/event-models/ht-event-conditional-queue-status.js.map +0 -1
- package/lib/esm/event-models/ht-event-custom.d.ts +0 -7
- package/lib/esm/event-models/ht-event-custom.js +0 -16
- package/lib/esm/event-models/ht-event-custom.js.map +0 -1
- package/lib/esm/event-models/ht-event-fallback.d.ts +0 -12
- package/lib/esm/event-models/ht-event-fallback.js +0 -21
- package/lib/esm/event-models/ht-event-fallback.js.map +0 -1
- package/lib/esm/event-models/ht-event-feedback.js +0 -21
- package/lib/esm/event-models/ht-event-feedback.js.map +0 -1
- package/lib/esm/event-models/ht-event-flow.d.ts +0 -11
- package/lib/esm/event-models/ht-event-flow.js +0 -20
- package/lib/esm/event-models/ht-event-flow.js.map +0 -1
- package/lib/esm/event-models/ht-event-handoff-option.d.ts +0 -13
- package/lib/esm/event-models/ht-event-handoff-option.js +0 -20
- package/lib/esm/event-models/ht-event-handoff-option.js.map +0 -1
- package/lib/esm/event-models/ht-event-handoff.d.ts +0 -17
- package/lib/esm/event-models/ht-event-handoff.js +0 -25
- package/lib/esm/event-models/ht-event-handoff.js.map +0 -1
- package/lib/esm/event-models/ht-event-intent-smart.d.ts +0 -14
- package/lib/esm/event-models/ht-event-intent-smart.js +0 -23
- package/lib/esm/event-models/ht-event-intent-smart.js.map +0 -1
- package/lib/esm/event-models/ht-event-keyword.d.ts +0 -14
- package/lib/esm/event-models/ht-event-keyword.js +0 -23
- package/lib/esm/event-models/ht-event-keyword.js.map +0 -1
- package/lib/esm/event-models/ht-event-redirect-flow.d.ts +0 -14
- package/lib/esm/event-models/ht-event-redirect-flow.js +0 -22
- package/lib/esm/event-models/ht-event-redirect-flow.js.map +0 -1
- package/lib/esm/event-models/ht-event-webview-action-triggered.d.ts +0 -14
- package/lib/esm/event-models/ht-event-webview-action-triggered.js +0 -23
- package/lib/esm/event-models/ht-event-webview-action-triggered.js.map +0 -1
- package/lib/esm/event-models/ht-event-webview-end.js +0 -21
- package/lib/esm/event-models/ht-event-webview-end.js.map +0 -1
- package/lib/esm/event-models/ht-event-webview-step.d.ts +0 -11
- package/lib/esm/event-models/ht-event-webview-step.js +0 -19
- package/lib/esm/event-models/ht-event-webview-step.js.map +0 -1
- package/lib/esm/event-models/ht-event.d.ts +0 -14
- package/lib/esm/event-models/ht-event.js +0 -18
- package/lib/esm/event-models/ht-event.js.map +0 -1
- package/lib/esm/event-models/index.d.ts +0 -20
- package/lib/esm/event-models/index.js +0 -44
- package/lib/esm/event-models/index.js.map +0 -1
- package/lib/esm/index.d.ts +0 -18
- package/lib/esm/index.js.map +0 -1
- package/lib/esm/types.d.ts +0 -14
- package/lib/esm/types.js +0 -12
- package/lib/esm/types.js.map +0 -1
- package/lib/esm/utils.d.ts +0 -3
- package/lib/esm/utils.js +0 -58
- package/lib/esm/utils.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type EventFlow, type RequestData } from '../types';
|
|
2
|
-
import { HtEvent } from './ht-event';
|
|
1
|
+
import { type EventFlow, type RequestData } from '../types.js';
|
|
2
|
+
import { HtEvent } from './ht-event.js';
|
|
3
3
|
export declare class HtEventFlow extends HtEvent {
|
|
4
4
|
flow_thread_id: string;
|
|
5
5
|
flow_id: string;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EventAction, EventType } from "../types.js";
|
|
2
|
+
import { HtEvent } from "./ht-event.js";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
function _define_property(obj, key, value) {
|
|
7
|
+
if (key in obj) {
|
|
8
|
+
Object.defineProperty(obj, key, {
|
|
9
|
+
value: value,
|
|
10
|
+
enumerable: true,
|
|
11
|
+
configurable: true,
|
|
12
|
+
writable: true
|
|
13
|
+
});
|
|
14
|
+
} else obj[key] = value;
|
|
15
|
+
return obj;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class HtEventFlow extends HtEvent {
|
|
20
|
+
constructor(event, requestData){
|
|
21
|
+
super(event, requestData), _define_property(this, "flow_thread_id", void 0), _define_property(this, "flow_id", void 0), _define_property(this, "flow_name", void 0), _define_property(this, "flow_node_id", void 0), _define_property(this, "flow_node_content_id", void 0), _define_property(this, "flow_node_is_meaningful", void 0);
|
|
22
|
+
this.type = EventType.BotEvent;
|
|
23
|
+
this.action = EventAction.FlowNode;
|
|
24
|
+
this.flow_thread_id = event.flowThreadId; // This value is managed by the flow builder plugin, stored in the session and updated every time the content connected to the conversation start is displayed
|
|
25
|
+
this.flow_id = event.flowId;
|
|
26
|
+
this.flow_name = event.flowName;
|
|
27
|
+
this.flow_node_id = event.flowNodeId;
|
|
28
|
+
this.flow_node_content_id = event.flowNodeContentId;
|
|
29
|
+
this.flow_node_is_meaningful = event.flowNodeIsMeaningful || false;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { HtEventFlow };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=ht-event-flow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-models/ht-event-flow.js","sources":["../../src/event-models/ht-event-flow.ts"],"sourcesContent":["import {\n EventAction,\n type EventFlow,\n EventType,\n type RequestData,\n} from '../types'\nimport { HtEvent } from './ht-event'\n\nexport class HtEventFlow extends HtEvent {\n flow_thread_id: string\n flow_id: string\n flow_name: string\n flow_node_id: string\n flow_node_content_id: string\n flow_node_is_meaningful: boolean\n\n constructor(event: EventFlow, requestData: RequestData) {\n super(event, requestData)\n this.type = EventType.BotEvent\n this.action = EventAction.FlowNode\n this.flow_thread_id = event.flowThreadId // This value is managed by the flow builder plugin, stored in the session and updated every time the content connected to the conversation start is displayed\n this.flow_id = event.flowId\n this.flow_name = event.flowName\n this.flow_node_id = event.flowNodeId\n this.flow_node_content_id = event.flowNodeContentId\n this.flow_node_is_meaningful = event.flowNodeIsMeaningful || false\n }\n}\n"],"names":["EventAction","EventType","HtEvent","HtEventFlow","event","requestData"],"mappings":";;;;;;;;;;;;;;;;AAKiB;AACmB;AAE7B,MAAMG,WAAWA,SAASD,OAAOA;IAQtC,YAAYE,KAAgB,EAAEC,WAAwB,CAAE;QACtD,KAAK,CAACD,OAAOC,cARf,kDACA,2CACA,6CACA,gDACA,wDACA;QAIE,IAAI,CAAC,IAAI,GAAGJ,kBAAkB;QAC9B,IAAI,CAAC,MAAM,GAAGD,oBAAoB;QAClC,IAAI,CAAC,cAAc,GAAGI,MAAM,YAAY,EAAC,8JAA8J;QACvM,IAAI,CAAC,OAAO,GAAGA,MAAM,MAAM;QAC3B,IAAI,CAAC,SAAS,GAAGA,MAAM,QAAQ;QAC/B,IAAI,CAAC,YAAY,GAAGA,MAAM,UAAU;QACpC,IAAI,CAAC,oBAAoB,GAAGA,MAAM,iBAAiB;QACnD,IAAI,CAAC,uBAAuB,GAAGA,MAAM,oBAAoB,IAAI;IAC/D;AACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type EventAction, type EventHandoffOption, type RequestData } from '../types';
|
|
2
|
-
import { HtEvent } from './ht-event';
|
|
1
|
+
import { type EventAction, type EventHandoffOption, type RequestData } from '../types.js';
|
|
2
|
+
import { HtEvent } from './ht-event.js';
|
|
3
3
|
export declare class HtEventHandoffOption extends HtEvent {
|
|
4
4
|
action: EventAction.HandoffOption;
|
|
5
5
|
flow_thread_id?: string;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EventType } from "../types.js";
|
|
2
|
+
import { HtEvent } from "./ht-event.js";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
function _define_property(obj, key, value) {
|
|
7
|
+
if (key in obj) {
|
|
8
|
+
Object.defineProperty(obj, key, {
|
|
9
|
+
value: value,
|
|
10
|
+
enumerable: true,
|
|
11
|
+
configurable: true,
|
|
12
|
+
writable: true
|
|
13
|
+
});
|
|
14
|
+
} else obj[key] = value;
|
|
15
|
+
return obj;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class HtEventHandoffOption extends HtEvent {
|
|
20
|
+
constructor(event, requestData){
|
|
21
|
+
super(event, requestData), _define_property(this, "action", void 0), _define_property(this, "flow_thread_id", void 0), _define_property(this, "flow_id", void 0), _define_property(this, "flow_name", void 0), _define_property(this, "flow_node_id", void 0), _define_property(this, "flow_node_content_id", void 0), _define_property(this, "handoff_queue_id", void 0), _define_property(this, "handoff_queue_name", void 0);
|
|
22
|
+
this.type = EventType.BotEvent;
|
|
23
|
+
this.flow_thread_id = event.flowThreadId;
|
|
24
|
+
this.flow_id = event.flowId;
|
|
25
|
+
this.flow_name = event.flowName;
|
|
26
|
+
this.flow_node_id = event.flowNodeId;
|
|
27
|
+
this.flow_node_content_id = event.flowNodeContentId;
|
|
28
|
+
this.handoff_queue_id = event.queueId;
|
|
29
|
+
this.handoff_queue_name = event.queueName;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { HtEventHandoffOption };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=ht-event-handoff-option.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-models/ht-event-handoff-option.js","sources":["../../src/event-models/ht-event-handoff-option.ts"],"sourcesContent":["import {\n type EventAction,\n type EventHandoffOption,\n EventType,\n type RequestData,\n} from '../types'\nimport { HtEvent } from './ht-event'\n\nexport class HtEventHandoffOption extends HtEvent {\n action: EventAction.HandoffOption\n flow_thread_id?: string\n flow_id: string\n flow_name: string\n flow_node_id: string\n flow_node_content_id: string\n handoff_queue_id?: string\n handoff_queue_name?: string\n\n constructor(event: EventHandoffOption, requestData: RequestData) {\n super(event, requestData)\n this.type = EventType.BotEvent\n this.flow_thread_id = event.flowThreadId\n this.flow_id = event.flowId\n this.flow_name = event.flowName\n this.flow_node_id = event.flowNodeId\n this.flow_node_content_id = event.flowNodeContentId\n this.handoff_queue_id = event.queueId\n this.handoff_queue_name = event.queueName\n }\n}\n"],"names":["EventType","HtEvent","HtEventHandoffOption","event","requestData"],"mappings":";;;;;;;;;;;;;;;;AAKiB;AACmB;AAE7B,MAAME,oBAAoBA,SAASD,OAAOA;IAU/C,YAAYE,KAAyB,EAAEC,WAAwB,CAAE;QAC/D,KAAK,CAACD,OAAOC,cAVf,0CACA,kDACA,2CACA,6CACA,gDACA,wDACA,oDACA;QAIE,IAAI,CAAC,IAAI,GAAGJ,kBAAkB;QAC9B,IAAI,CAAC,cAAc,GAAGG,MAAM,YAAY;QACxC,IAAI,CAAC,OAAO,GAAGA,MAAM,MAAM;QAC3B,IAAI,CAAC,SAAS,GAAGA,MAAM,QAAQ;QAC/B,IAAI,CAAC,YAAY,GAAGA,MAAM,UAAU;QACpC,IAAI,CAAC,oBAAoB,GAAGA,MAAM,iBAAiB;QACnD,IAAI,CAAC,gBAAgB,GAAGA,MAAM,OAAO;QACrC,IAAI,CAAC,kBAAkB,GAAGA,MAAM,SAAS;IAC3C;AACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type EventAction, type EventHandoff, type RequestData } from '../types';
|
|
2
|
-
import { HtEvent } from './ht-event';
|
|
1
|
+
import { type EventAction, type EventHandoff, type RequestData } from '../types.js';
|
|
2
|
+
import { HtEvent } from './ht-event.js';
|
|
3
3
|
export declare class HtEventHandoff extends HtEvent {
|
|
4
4
|
action: EventAction.HandoffSuccess | EventAction.HandoffFail;
|
|
5
5
|
flow_thread_id?: string;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EventType } from "../types.js";
|
|
2
|
+
import { HtEvent } from "./ht-event.js";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
function _define_property(obj, key, value) {
|
|
7
|
+
if (key in obj) {
|
|
8
|
+
Object.defineProperty(obj, key, {
|
|
9
|
+
value: value,
|
|
10
|
+
enumerable: true,
|
|
11
|
+
configurable: true,
|
|
12
|
+
writable: true
|
|
13
|
+
});
|
|
14
|
+
} else obj[key] = value;
|
|
15
|
+
return obj;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class HtEventHandoff extends HtEvent {
|
|
20
|
+
constructor(event, requestData){
|
|
21
|
+
super(event, requestData), _define_property(this, "action", void 0), _define_property(this, "flow_thread_id", void 0), _define_property(this, "flow_id", void 0), _define_property(this, "flow_name", void 0), _define_property(this, "flow_node_id", void 0), _define_property(this, "flow_node_content_id", void 0), _define_property(this, "handoff_queue_id", void 0), _define_property(this, "handoff_queue_name", void 0), _define_property(this, "handoff_case_id", void 0), _define_property(this, "handoff_is_queue_open", void 0), _define_property(this, "handoff_is_available_agent", void 0), _define_property(this, "handoff_is_threshold_reached", void 0);
|
|
22
|
+
this.type = EventType.BotEvent;
|
|
23
|
+
this.action = event.action;
|
|
24
|
+
this.flow_thread_id = event.flowThreadId;
|
|
25
|
+
this.flow_id = event.flowId;
|
|
26
|
+
this.flow_name = event.flowName;
|
|
27
|
+
this.flow_node_id = event.flowNodeId;
|
|
28
|
+
this.flow_node_content_id = event.flowNodeContentId;
|
|
29
|
+
this.handoff_queue_id = event.queueId;
|
|
30
|
+
this.handoff_queue_name = event.queueName;
|
|
31
|
+
this.handoff_case_id = event.caseId;
|
|
32
|
+
this.handoff_is_queue_open = event.isQueueOpen || false;
|
|
33
|
+
this.handoff_is_available_agent = event.isAvailableAgent || false;
|
|
34
|
+
this.handoff_is_threshold_reached = event.isThresholdReached || false;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { HtEventHandoff };
|
|
39
|
+
|
|
40
|
+
//# sourceMappingURL=ht-event-handoff.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-models/ht-event-handoff.js","sources":["../../src/event-models/ht-event-handoff.ts"],"sourcesContent":["import {\n type EventAction,\n type EventHandoff,\n EventType,\n type RequestData,\n} from '../types'\nimport { HtEvent } from './ht-event'\n\nexport class HtEventHandoff extends HtEvent {\n action: EventAction.HandoffSuccess | EventAction.HandoffFail\n flow_thread_id?: string\n flow_id: string\n flow_name: string\n flow_node_id: string\n flow_node_content_id: string\n handoff_queue_id: string\n handoff_queue_name: string\n handoff_case_id?: string\n handoff_is_queue_open: boolean\n handoff_is_available_agent: boolean\n handoff_is_threshold_reached: boolean\n\n constructor(event: EventHandoff, requestData: RequestData) {\n super(event, requestData)\n this.type = EventType.BotEvent\n this.action = event.action\n this.flow_thread_id = event.flowThreadId\n this.flow_id = event.flowId\n this.flow_name = event.flowName\n this.flow_node_id = event.flowNodeId\n this.flow_node_content_id = event.flowNodeContentId\n this.handoff_queue_id = event.queueId\n this.handoff_queue_name = event.queueName\n this.handoff_case_id = event.caseId\n this.handoff_is_queue_open = event.isQueueOpen || false\n this.handoff_is_available_agent = event.isAvailableAgent || false\n this.handoff_is_threshold_reached = event.isThresholdReached || false\n }\n}\n"],"names":["EventType","HtEvent","HtEventHandoff","event","requestData"],"mappings":";;;;;;;;;;;;;;;;AAKiB;AACmB;AAE7B,MAAME,cAAcA,SAASD,OAAOA;IAczC,YAAYE,KAAmB,EAAEC,WAAwB,CAAE;QACzD,KAAK,CAACD,OAAOC,cAdf,0CACA,kDACA,2CACA,6CACA,gDACA,wDACA,oDACA,sDACA,mDACA,yDACA,8DACA;QAIE,IAAI,CAAC,IAAI,GAAGJ,kBAAkB;QAC9B,IAAI,CAAC,MAAM,GAAGG,MAAM,MAAM;QAC1B,IAAI,CAAC,cAAc,GAAGA,MAAM,YAAY;QACxC,IAAI,CAAC,OAAO,GAAGA,MAAM,MAAM;QAC3B,IAAI,CAAC,SAAS,GAAGA,MAAM,QAAQ;QAC/B,IAAI,CAAC,YAAY,GAAGA,MAAM,UAAU;QACpC,IAAI,CAAC,oBAAoB,GAAGA,MAAM,iBAAiB;QACnD,IAAI,CAAC,gBAAgB,GAAGA,MAAM,OAAO;QACrC,IAAI,CAAC,kBAAkB,GAAGA,MAAM,SAAS;QACzC,IAAI,CAAC,eAAe,GAAGA,MAAM,MAAM;QACnC,IAAI,CAAC,qBAAqB,GAAGA,MAAM,WAAW,IAAI;QAClD,IAAI,CAAC,0BAA0B,GAAGA,MAAM,gBAAgB,IAAI;QAC5D,IAAI,CAAC,4BAA4B,GAAGA,MAAM,kBAAkB,IAAI;IAClE;AACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type EventIntentSmart, type RequestData } from '../types';
|
|
2
|
-
import { HtEvent } from './ht-event';
|
|
1
|
+
import { type EventIntentSmart, type RequestData } from '../types.js';
|
|
2
|
+
import { HtEvent } from './ht-event.js';
|
|
3
3
|
export declare class HtEventIntentSmart extends HtEvent {
|
|
4
4
|
nlu_intent_smart_title: string;
|
|
5
5
|
nlu_intent_smart_num_used: number;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EventAction, EventType } from "../types.js";
|
|
2
|
+
import { HtEvent } from "./ht-event.js";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
function _define_property(obj, key, value) {
|
|
7
|
+
if (key in obj) {
|
|
8
|
+
Object.defineProperty(obj, key, {
|
|
9
|
+
value: value,
|
|
10
|
+
enumerable: true,
|
|
11
|
+
configurable: true,
|
|
12
|
+
writable: true
|
|
13
|
+
});
|
|
14
|
+
} else obj[key] = value;
|
|
15
|
+
return obj;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class HtEventIntentSmart extends HtEvent {
|
|
20
|
+
constructor(event, requestData){
|
|
21
|
+
super(event, requestData), _define_property(this, "nlu_intent_smart_title", void 0), _define_property(this, "nlu_intent_smart_num_used", void 0), _define_property(this, "nlu_intent_smart_message_id", void 0), _define_property(this, "user_input", void 0), _define_property(this, "flow_thread_id", void 0), _define_property(this, "flow_id", void 0), _define_property(this, "flow_name", void 0), _define_property(this, "flow_node_id", void 0), _define_property(this, "flow_node_content_id", void 0);
|
|
22
|
+
this.type = EventType.BotEvent;
|
|
23
|
+
this.action = EventAction.IntentSmart;
|
|
24
|
+
this.nlu_intent_smart_title = event.nluIntentSmartTitle;
|
|
25
|
+
this.nlu_intent_smart_num_used = event.nluIntentSmartNumUsed;
|
|
26
|
+
this.nlu_intent_smart_message_id = event.nluIntentSmartMessageId;
|
|
27
|
+
this.user_input = event.userInput;
|
|
28
|
+
this.flow_thread_id = event.flowThreadId;
|
|
29
|
+
this.flow_id = event.flowId;
|
|
30
|
+
this.flow_name = event.flowName;
|
|
31
|
+
this.flow_node_id = event.flowNodeId;
|
|
32
|
+
this.flow_node_content_id = event.flowNodeContentId;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { HtEventIntentSmart };
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=ht-event-intent-smart.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-models/ht-event-intent-smart.js","sources":["../../src/event-models/ht-event-intent-smart.ts"],"sourcesContent":["import {\n EventAction,\n type EventIntentSmart,\n EventType,\n type RequestData,\n} from '../types'\nimport { HtEvent } from './ht-event'\n\nexport class HtEventIntentSmart extends HtEvent {\n nlu_intent_smart_title: string\n nlu_intent_smart_num_used: number\n nlu_intent_smart_message_id: string\n user_input: string\n flow_thread_id: string\n flow_id: string\n flow_name: string\n flow_node_id: string\n flow_node_content_id: string\n\n constructor(event: EventIntentSmart, requestData: RequestData) {\n super(event, requestData)\n this.type = EventType.BotEvent\n this.action = EventAction.IntentSmart\n this.nlu_intent_smart_title = event.nluIntentSmartTitle\n this.nlu_intent_smart_num_used = event.nluIntentSmartNumUsed\n this.nlu_intent_smart_message_id = event.nluIntentSmartMessageId\n this.user_input = event.userInput\n this.flow_thread_id = event.flowThreadId\n this.flow_id = event.flowId\n this.flow_name = event.flowName\n this.flow_node_id = event.flowNodeId\n this.flow_node_content_id = event.flowNodeContentId\n }\n}\n"],"names":["EventAction","EventType","HtEvent","HtEventIntentSmart","event","requestData"],"mappings":";;;;;;;;;;;;;;;;AAKiB;AACmB;AAE7B,MAAMG,kBAAkBA,SAASD,OAAOA;IAW7C,YAAYE,KAAuB,EAAEC,WAAwB,CAAE;QAC7D,KAAK,CAACD,OAAOC,cAXf,0DACA,6DACA,+DACA,8CACA,kDACA,2CACA,6CACA,gDACA;QAIE,IAAI,CAAC,IAAI,GAAGJ,kBAAkB;QAC9B,IAAI,CAAC,MAAM,GAAGD,uBAAuB;QACrC,IAAI,CAAC,sBAAsB,GAAGI,MAAM,mBAAmB;QACvD,IAAI,CAAC,yBAAyB,GAAGA,MAAM,qBAAqB;QAC5D,IAAI,CAAC,2BAA2B,GAAGA,MAAM,uBAAuB;QAChE,IAAI,CAAC,UAAU,GAAGA,MAAM,SAAS;QACjC,IAAI,CAAC,cAAc,GAAGA,MAAM,YAAY;QACxC,IAAI,CAAC,OAAO,GAAGA,MAAM,MAAM;QAC3B,IAAI,CAAC,SAAS,GAAGA,MAAM,QAAQ;QAC/B,IAAI,CAAC,YAAY,GAAGA,MAAM,UAAU;QACpC,IAAI,CAAC,oBAAoB,GAAGA,MAAM,iBAAiB;IACrD;AACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type EventKeyword, type RequestData } from '../types';
|
|
2
|
-
import { HtEvent } from './ht-event';
|
|
1
|
+
import { type EventKeyword, type RequestData } from '../types.js';
|
|
2
|
+
import { HtEvent } from './ht-event.js';
|
|
3
3
|
export declare class HtEventKeyword extends HtEvent {
|
|
4
4
|
nlu_keyword_name: string;
|
|
5
5
|
nlu_keyword_is_regex: boolean;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EventAction, EventType } from "../types.js";
|
|
2
|
+
import { HtEvent } from "./ht-event.js";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
function _define_property(obj, key, value) {
|
|
7
|
+
if (key in obj) {
|
|
8
|
+
Object.defineProperty(obj, key, {
|
|
9
|
+
value: value,
|
|
10
|
+
enumerable: true,
|
|
11
|
+
configurable: true,
|
|
12
|
+
writable: true
|
|
13
|
+
});
|
|
14
|
+
} else obj[key] = value;
|
|
15
|
+
return obj;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class HtEventKeyword extends HtEvent {
|
|
20
|
+
constructor(event, requestData){
|
|
21
|
+
super(event, requestData), _define_property(this, "nlu_keyword_name", void 0), _define_property(this, "nlu_keyword_is_regex", void 0), _define_property(this, "nlu_keyword_message_id", void 0), _define_property(this, "user_input", void 0), _define_property(this, "flow_thread_id", void 0), _define_property(this, "flow_id", void 0), _define_property(this, "flow_name", void 0), _define_property(this, "flow_node_id", void 0), _define_property(this, "flow_node_content_id", void 0);
|
|
22
|
+
this.type = EventType.BotEvent;
|
|
23
|
+
this.action = EventAction.Keyword;
|
|
24
|
+
this.nlu_keyword_name = event.nluKeywordName;
|
|
25
|
+
this.nlu_keyword_is_regex = event.nluKeywordIsRegex || false;
|
|
26
|
+
this.nlu_keyword_message_id = event.nluKeywordMessageId;
|
|
27
|
+
this.user_input = event.userInput;
|
|
28
|
+
this.flow_thread_id = event.flowThreadId;
|
|
29
|
+
this.flow_id = event.flowId;
|
|
30
|
+
this.flow_name = event.flowName;
|
|
31
|
+
this.flow_node_id = event.flowNodeId;
|
|
32
|
+
this.flow_node_content_id = event.flowNodeContentId;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { HtEventKeyword };
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=ht-event-keyword.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-models/ht-event-keyword.js","sources":["../../src/event-models/ht-event-keyword.ts"],"sourcesContent":["import {\n EventAction,\n type EventKeyword,\n EventType,\n type RequestData,\n} from '../types'\nimport { HtEvent } from './ht-event'\n\nexport class HtEventKeyword extends HtEvent {\n nlu_keyword_name: string\n nlu_keyword_is_regex: boolean\n nlu_keyword_message_id: string\n user_input: string\n flow_thread_id: string\n flow_id: string\n flow_name: string\n flow_node_id: string\n flow_node_content_id: string\n\n constructor(event: EventKeyword, requestData: RequestData) {\n super(event, requestData)\n this.type = EventType.BotEvent\n this.action = EventAction.Keyword\n this.nlu_keyword_name = event.nluKeywordName\n this.nlu_keyword_is_regex = event.nluKeywordIsRegex || false\n this.nlu_keyword_message_id = event.nluKeywordMessageId\n this.user_input = event.userInput\n this.flow_thread_id = event.flowThreadId\n this.flow_id = event.flowId\n this.flow_name = event.flowName\n this.flow_node_id = event.flowNodeId\n this.flow_node_content_id = event.flowNodeContentId\n }\n}\n"],"names":["EventAction","EventType","HtEvent","HtEventKeyword","event","requestData"],"mappings":";;;;;;;;;;;;;;;;AAKiB;AACmB;AAE7B,MAAMG,cAAcA,SAASD,OAAOA;IAWzC,YAAYE,KAAmB,EAAEC,WAAwB,CAAE;QACzD,KAAK,CAACD,OAAOC,cAXf,oDACA,wDACA,0DACA,8CACA,kDACA,2CACA,6CACA,gDACA;QAIE,IAAI,CAAC,IAAI,GAAGJ,kBAAkB;QAC9B,IAAI,CAAC,MAAM,GAAGD,mBAAmB;QACjC,IAAI,CAAC,gBAAgB,GAAGI,MAAM,cAAc;QAC5C,IAAI,CAAC,oBAAoB,GAAGA,MAAM,iBAAiB,IAAI;QACvD,IAAI,CAAC,sBAAsB,GAAGA,MAAM,mBAAmB;QACvD,IAAI,CAAC,UAAU,GAAGA,MAAM,SAAS;QACjC,IAAI,CAAC,cAAc,GAAGA,MAAM,YAAY;QACxC,IAAI,CAAC,OAAO,GAAGA,MAAM,MAAM;QAC3B,IAAI,CAAC,SAAS,GAAGA,MAAM,QAAQ;QAC/B,IAAI,CAAC,YAAY,GAAGA,MAAM,UAAU;QACpC,IAAI,CAAC,oBAAoB,GAAGA,MAAM,iBAAiB;IACrD;AACF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { EventRedirectFlow } from '@botonic/core';
|
|
2
|
-
import { type RequestData } from '../types';
|
|
3
|
-
import { HtEvent } from './ht-event';
|
|
2
|
+
import { type RequestData } from '../types.js';
|
|
3
|
+
import { HtEvent } from './ht-event.js';
|
|
4
4
|
export declare class HtEventRedirectFlow extends HtEvent {
|
|
5
5
|
flow_thread_id: string;
|
|
6
6
|
flow_id: string;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EventAction, EventType } from "../types.js";
|
|
2
|
+
import { HtEvent } from "./ht-event.js";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
function _define_property(obj, key, value) {
|
|
7
|
+
if (key in obj) {
|
|
8
|
+
Object.defineProperty(obj, key, {
|
|
9
|
+
value: value,
|
|
10
|
+
enumerable: true,
|
|
11
|
+
configurable: true,
|
|
12
|
+
writable: true
|
|
13
|
+
});
|
|
14
|
+
} else obj[key] = value;
|
|
15
|
+
return obj;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class HtEventRedirectFlow extends HtEvent {
|
|
20
|
+
constructor(event, requestData){
|
|
21
|
+
super(event, requestData), _define_property(this, "flow_thread_id", void 0), _define_property(this, "flow_id", void 0), _define_property(this, "flow_name", void 0), _define_property(this, "flow_node_id", void 0), _define_property(this, "flow_node_content_id", void 0), _define_property(this, "flow_node_is_meaningful", void 0), _define_property(this, "flow_target_id", void 0), _define_property(this, "flow_target_name", void 0);
|
|
22
|
+
this.type = EventType.BotEvent;
|
|
23
|
+
this.action = EventAction.RedirectFlow;
|
|
24
|
+
this.flow_thread_id = event.flowThreadId;
|
|
25
|
+
this.flow_id = event.flowId;
|
|
26
|
+
this.flow_name = event.flowName;
|
|
27
|
+
this.flow_node_id = event.flowNodeId;
|
|
28
|
+
this.flow_node_content_id = event.flowNodeContentId;
|
|
29
|
+
this.flow_node_is_meaningful = event.flowNodeIsMeaningful;
|
|
30
|
+
this.flow_target_id = event.flowTargetId;
|
|
31
|
+
this.flow_target_name = event.flowTargetName;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { HtEventRedirectFlow };
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=ht-event-redirect-flow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-models/ht-event-redirect-flow.js","sources":["../../src/event-models/ht-event-redirect-flow.ts"],"sourcesContent":["import type { EventRedirectFlow } from '@botonic/core'\n\nimport { EventAction, EventType, type RequestData } from '../types'\nimport { HtEvent } from './ht-event'\n\nexport class HtEventRedirectFlow extends HtEvent {\n flow_thread_id: string\n flow_id: string\n flow_name: string\n flow_node_id: string\n flow_node_content_id: string\n flow_node_is_meaningful: boolean\n flow_target_id: string\n flow_target_name: string\n\n constructor(event: EventRedirectFlow, requestData: RequestData) {\n super(event, requestData)\n this.type = EventType.BotEvent\n this.action = EventAction.RedirectFlow\n this.flow_thread_id = event.flowThreadId\n this.flow_id = event.flowId\n this.flow_name = event.flowName\n this.flow_node_id = event.flowNodeId\n this.flow_node_content_id = event.flowNodeContentId\n this.flow_node_is_meaningful = event.flowNodeIsMeaningful\n this.flow_target_id = event.flowTargetId\n this.flow_target_name = event.flowTargetName\n }\n}\n"],"names":["EventAction","EventType","HtEvent","HtEventRedirectFlow","event","requestData"],"mappings":";;;;;;;;;;;;;;;;AAEmE;AAC/B;AAE7B,MAAMG,mBAAmBA,SAASD,OAAOA;IAU9C,YAAYE,KAAwB,EAAEC,WAAwB,CAAE;QAC9D,KAAK,CAACD,OAAOC,cAVf,kDACA,2CACA,6CACA,gDACA,wDACA,2DACA,kDACA;QAIE,IAAI,CAAC,IAAI,GAAGJ,kBAAkB;QAC9B,IAAI,CAAC,MAAM,GAAGD,wBAAwB;QACtC,IAAI,CAAC,cAAc,GAAGI,MAAM,YAAY;QACxC,IAAI,CAAC,OAAO,GAAGA,MAAM,MAAM;QAC3B,IAAI,CAAC,SAAS,GAAGA,MAAM,QAAQ;QAC/B,IAAI,CAAC,YAAY,GAAGA,MAAM,UAAU;QACpC,IAAI,CAAC,oBAAoB,GAAGA,MAAM,iBAAiB;QACnD,IAAI,CAAC,uBAAuB,GAAGA,MAAM,oBAAoB;QACzD,IAAI,CAAC,cAAc,GAAGA,MAAM,YAAY;QACxC,IAAI,CAAC,gBAAgB,GAAGA,MAAM,cAAc;IAC9C;AACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type EventWebviewActionTriggered, type RequestData } from '../types';
|
|
2
|
-
import { HtEvent } from './ht-event';
|
|
1
|
+
import { type EventWebviewActionTriggered, type RequestData } from '../types.js';
|
|
2
|
+
import { HtEvent } from './ht-event.js';
|
|
3
3
|
export declare class HtEventWebviewActionTriggered extends HtEvent {
|
|
4
4
|
flow_thread_id: string;
|
|
5
5
|
flow_id: string;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EventAction, EventType } from "../types.js";
|
|
2
|
+
import { HtEvent } from "./ht-event.js";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
function _define_property(obj, key, value) {
|
|
7
|
+
if (key in obj) {
|
|
8
|
+
Object.defineProperty(obj, key, {
|
|
9
|
+
value: value,
|
|
10
|
+
enumerable: true,
|
|
11
|
+
configurable: true,
|
|
12
|
+
writable: true
|
|
13
|
+
});
|
|
14
|
+
} else obj[key] = value;
|
|
15
|
+
return obj;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class HtEventWebviewActionTriggered extends HtEvent {
|
|
20
|
+
constructor(event, requestData){
|
|
21
|
+
super(event, requestData), _define_property(this, "flow_thread_id", void 0), _define_property(this, "flow_id", void 0), _define_property(this, "flow_name", void 0), _define_property(this, "flow_node_id", void 0), _define_property(this, "flow_node_content_id", void 0), _define_property(this, "flow_node_is_meaningful", void 0), _define_property(this, "webview_name", void 0), _define_property(this, "webview_target_id", void 0), _define_property(this, "webview_params", void 0);
|
|
22
|
+
this.type = EventType.BotEvent;
|
|
23
|
+
this.action = EventAction.WebviewActionTriggered;
|
|
24
|
+
this.flow_thread_id = event.flowThreadId;
|
|
25
|
+
this.flow_id = event.flowId;
|
|
26
|
+
this.flow_name = event.flowName;
|
|
27
|
+
this.flow_node_id = event.flowNodeId;
|
|
28
|
+
this.flow_node_content_id = event.flowNodeContentId;
|
|
29
|
+
this.flow_node_is_meaningful = event.flowNodeIsMeaningful;
|
|
30
|
+
this.webview_name = event.webviewName;
|
|
31
|
+
this.webview_target_id = event.webviewTargetId;
|
|
32
|
+
this.webview_params = event.webviewParams;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { HtEventWebviewActionTriggered };
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=ht-event-webview-action-triggered.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-models/ht-event-webview-action-triggered.js","sources":["../../src/event-models/ht-event-webview-action-triggered.ts"],"sourcesContent":["import {\n EventAction,\n EventType,\n type EventWebviewActionTriggered,\n type RequestData,\n} from '../types'\nimport { HtEvent } from './ht-event'\n\nexport class HtEventWebviewActionTriggered extends HtEvent {\n flow_thread_id: string\n flow_id: string\n flow_name: string\n flow_node_id: string\n flow_node_content_id: string\n flow_node_is_meaningful: boolean\n webview_name: string\n webview_target_id: string\n webview_params?: Record<string, string>\n\n constructor(event: EventWebviewActionTriggered, requestData: RequestData) {\n super(event, requestData)\n this.type = EventType.BotEvent\n this.action = EventAction.WebviewActionTriggered\n this.flow_thread_id = event.flowThreadId\n this.flow_id = event.flowId\n this.flow_name = event.flowName\n this.flow_node_id = event.flowNodeId\n this.flow_node_content_id = event.flowNodeContentId\n this.flow_node_is_meaningful = event.flowNodeIsMeaningful\n this.webview_name = event.webviewName\n this.webview_target_id = event.webviewTargetId\n this.webview_params = event.webviewParams\n }\n}\n"],"names":["EventAction","EventType","HtEvent","HtEventWebviewActionTriggered","event","requestData"],"mappings":";;;;;;;;;;;;;;;;AAKiB;AACmB;AAE7B,MAAMG,6BAA6BA,SAASD,OAAOA;IAWxD,YAAYE,KAAkC,EAAEC,WAAwB,CAAE;QACxE,KAAK,CAACD,OAAOC,cAXf,kDACA,2CACA,6CACA,gDACA,wDACA,2DACA,gDACA,qDACA;QAIE,IAAI,CAAC,IAAI,GAAGJ,kBAAkB;QAC9B,IAAI,CAAC,MAAM,GAAGD,kCAAkC;QAChD,IAAI,CAAC,cAAc,GAAGI,MAAM,YAAY;QACxC,IAAI,CAAC,OAAO,GAAGA,MAAM,MAAM;QAC3B,IAAI,CAAC,SAAS,GAAGA,MAAM,QAAQ;QAC/B,IAAI,CAAC,YAAY,GAAGA,MAAM,UAAU;QACpC,IAAI,CAAC,oBAAoB,GAAGA,MAAM,iBAAiB;QACnD,IAAI,CAAC,uBAAuB,GAAGA,MAAM,oBAAoB;QACzD,IAAI,CAAC,YAAY,GAAGA,MAAM,WAAW;QACrC,IAAI,CAAC,iBAAiB,GAAGA,MAAM,eAAe;QAC9C,IAAI,CAAC,cAAc,GAAGA,MAAM,aAAa;IAC3C;AACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type EventAction, type EventWebviewEnd, type RequestData } from '../types';
|
|
2
|
-
import { HtEvent } from './ht-event';
|
|
1
|
+
import { type EventAction, type EventWebviewEnd, type RequestData } from '../types.js';
|
|
2
|
+
import { HtEvent } from './ht-event.js';
|
|
3
3
|
export declare class HtEventWebviewEnd extends HtEvent {
|
|
4
4
|
action: EventAction.WebviewEnd;
|
|
5
5
|
flow_thread_id?: string;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { EventType } from "../types.js";
|
|
2
|
+
import { HtEvent } from "./ht-event.js";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
function _define_property(obj, key, value) {
|
|
7
|
+
if (key in obj) {
|
|
8
|
+
Object.defineProperty(obj, key, {
|
|
9
|
+
value: value,
|
|
10
|
+
enumerable: true,
|
|
11
|
+
configurable: true,
|
|
12
|
+
writable: true
|
|
13
|
+
});
|
|
14
|
+
} else obj[key] = value;
|
|
15
|
+
return obj;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class HtEventWebviewEnd extends HtEvent {
|
|
20
|
+
constructor(event, requestData){
|
|
21
|
+
super(event, requestData), _define_property(this, "action", void 0), _define_property(this, "flow_thread_id", void 0), _define_property(this, "webview_thread_id", void 0), _define_property(this, "webview_name", void 0), _define_property(this, "webview_end_step_name", void 0), _define_property(this, "webview_end_step_n", void 0), _define_property(this, "webview_end_fail_type", void 0), _define_property(this, "webview_end_fail_message", void 0);
|
|
22
|
+
this.type = EventType.WebEvent;
|
|
23
|
+
this.action = event.action;
|
|
24
|
+
this.flow_thread_id = event.flowThreadId;
|
|
25
|
+
this.webview_thread_id = event.webviewThreadId;
|
|
26
|
+
this.webview_name = event.webviewName;
|
|
27
|
+
this.webview_end_step_name = event.webviewStepName;
|
|
28
|
+
this.webview_end_step_n = event.webviewStepNumber;
|
|
29
|
+
this.webview_end_fail_type = event.webviewEndFailType;
|
|
30
|
+
this.webview_end_fail_message = event.webviewEndFailMessage;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { HtEventWebviewEnd };
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=ht-event-webview-end.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-models/ht-event-webview-end.js","sources":["../../src/event-models/ht-event-webview-end.ts"],"sourcesContent":["import {\n type EventAction,\n EventType,\n type EventWebviewEnd,\n type RequestData,\n} from '../types'\nimport { HtEvent } from './ht-event'\n\nexport class HtEventWebviewEnd extends HtEvent {\n action: EventAction.WebviewEnd\n flow_thread_id?: string\n webview_thread_id: string\n webview_name: string\n webview_end_step_name?: string\n webview_end_step_n?: number\n webview_end_fail_type?: string\n webview_end_fail_message?: string\n\n constructor(event: EventWebviewEnd, requestData: RequestData) {\n super(event, requestData)\n this.type = EventType.WebEvent\n this.action = event.action\n this.flow_thread_id = event.flowThreadId\n this.webview_thread_id = event.webviewThreadId\n this.webview_name = event.webviewName\n this.webview_end_step_name = event.webviewStepName\n this.webview_end_step_n = event.webviewStepNumber\n this.webview_end_fail_type = event.webviewEndFailType\n this.webview_end_fail_message = event.webviewEndFailMessage\n }\n}\n"],"names":["EventType","HtEvent","HtEventWebviewEnd","event","requestData"],"mappings":";;;;;;;;;;;;;;;;AAKiB;AACmB;AAE7B,MAAME,iBAAiBA,SAASD,OAAOA;IAU5C,YAAYE,KAAsB,EAAEC,WAAwB,CAAE;QAC5D,KAAK,CAACD,OAAOC,cAVf,0CACA,kDACA,qDACA,gDACA,yDACA,sDACA,yDACA;QAIE,IAAI,CAAC,IAAI,GAAGJ,kBAAkB;QAC9B,IAAI,CAAC,MAAM,GAAGG,MAAM,MAAM;QAC1B,IAAI,CAAC,cAAc,GAAGA,MAAM,YAAY;QACxC,IAAI,CAAC,iBAAiB,GAAGA,MAAM,eAAe;QAC9C,IAAI,CAAC,YAAY,GAAGA,MAAM,WAAW;QACrC,IAAI,CAAC,qBAAqB,GAAGA,MAAM,eAAe;QAClD,IAAI,CAAC,kBAAkB,GAAGA,MAAM,iBAAiB;QACjD,IAAI,CAAC,qBAAqB,GAAGA,MAAM,kBAAkB;QACrD,IAAI,CAAC,wBAAwB,GAAGA,MAAM,qBAAqB;IAC7D;AACF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type EventAction, type EventWebviewStep, type RequestData } from '../types';
|
|
2
|
-
import { HtEvent } from './ht-event';
|
|
1
|
+
import { type EventAction, type EventWebviewStep, type RequestData } from '../types.js';
|
|
2
|
+
import { HtEvent } from './ht-event.js';
|
|
3
3
|
export declare class HtEventWebviewStep extends HtEvent {
|
|
4
4
|
action: EventAction.WebviewStep;
|
|
5
5
|
flow_thread_id?: string;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EventType } from "../types.js";
|
|
2
|
+
import { HtEvent } from "./ht-event.js";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
function _define_property(obj, key, value) {
|
|
7
|
+
if (key in obj) {
|
|
8
|
+
Object.defineProperty(obj, key, {
|
|
9
|
+
value: value,
|
|
10
|
+
enumerable: true,
|
|
11
|
+
configurable: true,
|
|
12
|
+
writable: true
|
|
13
|
+
});
|
|
14
|
+
} else obj[key] = value;
|
|
15
|
+
return obj;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class HtEventWebviewStep extends HtEvent {
|
|
20
|
+
constructor(event, requestData){
|
|
21
|
+
super(event, requestData), _define_property(this, "action", void 0), _define_property(this, "flow_thread_id", void 0), _define_property(this, "webview_thread_id", void 0), _define_property(this, "webview_name", void 0), _define_property(this, "webview_step_name", void 0), _define_property(this, "webview_step_n", void 0);
|
|
22
|
+
this.type = EventType.WebEvent;
|
|
23
|
+
this.action = event.action;
|
|
24
|
+
this.flow_thread_id = event.flowThreadId;
|
|
25
|
+
this.webview_thread_id = event.webviewThreadId;
|
|
26
|
+
this.webview_name = event.webviewName;
|
|
27
|
+
this.webview_step_name = event.webviewStepName;
|
|
28
|
+
this.webview_step_n = event.webviewStepNumber;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { HtEventWebviewStep };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=ht-event-webview-step.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-models/ht-event-webview-step.js","sources":["../../src/event-models/ht-event-webview-step.ts"],"sourcesContent":["import {\n type EventAction,\n EventType,\n type EventWebviewStep,\n type RequestData,\n} from '../types'\nimport { HtEvent } from './ht-event'\n\nexport class HtEventWebviewStep extends HtEvent {\n action: EventAction.WebviewStep\n flow_thread_id?: string\n webview_thread_id: string\n webview_name: string\n webview_step_name: string\n webview_step_n: number\n\n constructor(event: EventWebviewStep, requestData: RequestData) {\n super(event, requestData)\n this.type = EventType.WebEvent\n this.action = event.action\n this.flow_thread_id = event.flowThreadId\n this.webview_thread_id = event.webviewThreadId\n this.webview_name = event.webviewName\n this.webview_step_name = event.webviewStepName\n this.webview_step_n = event.webviewStepNumber\n }\n}\n"],"names":["EventType","HtEvent","HtEventWebviewStep","event","requestData"],"mappings":";;;;;;;;;;;;;;;;AAKiB;AACmB;AAE7B,MAAME,kBAAkBA,SAASD,OAAOA;IAQ7C,YAAYE,KAAuB,EAAEC,WAAwB,CAAE;QAC7D,KAAK,CAACD,OAAOC,cARf,0CACA,kDACA,qDACA,gDACA,qDACA;QAIE,IAAI,CAAC,IAAI,GAAGJ,kBAAkB;QAC9B,IAAI,CAAC,MAAM,GAAGG,MAAM,MAAM;QAC1B,IAAI,CAAC,cAAc,GAAGA,MAAM,YAAY;QACxC,IAAI,CAAC,iBAAiB,GAAGA,MAAM,eAAe;QAC9C,IAAI,CAAC,YAAY,GAAGA,MAAM,WAAW;QACrC,IAAI,CAAC,iBAAiB,GAAGA,MAAM,eAAe;QAC9C,IAAI,CAAC,cAAc,GAAGA,MAAM,iBAAiB;IAC/C;AACF"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EVENT_FORMAT_VERSION } from "@botonic/core";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
function _define_property(obj, key, value) {
|
|
5
|
+
if (key in obj) {
|
|
6
|
+
Object.defineProperty(obj, key, {
|
|
7
|
+
value: value,
|
|
8
|
+
enumerable: true,
|
|
9
|
+
configurable: true,
|
|
10
|
+
writable: true
|
|
11
|
+
});
|
|
12
|
+
} else obj[key] = value;
|
|
13
|
+
return obj;
|
|
14
|
+
}
|
|
15
|
+
/* eslint-disable @typescript-eslint/naming-convention */
|
|
16
|
+
class HtEvent {
|
|
17
|
+
constructor(event, requestData){
|
|
18
|
+
_define_property(this, "chat_id", void 0);
|
|
19
|
+
_define_property(this, "type", void 0);
|
|
20
|
+
_define_property(this, "format_version", void 0);
|
|
21
|
+
_define_property(this, "bot_version", void 0);
|
|
22
|
+
_define_property(this, "flow_version", void 0);
|
|
23
|
+
_define_property(this, "action", void 0);
|
|
24
|
+
_define_property(this, "bot_interaction_id", void 0);
|
|
25
|
+
_define_property(this, "user_locale", void 0);
|
|
26
|
+
_define_property(this, "user_country", void 0);
|
|
27
|
+
_define_property(this, "system_locale", void 0);
|
|
28
|
+
this.chat_id = requestData.userId;
|
|
29
|
+
this.format_version = EVENT_FORMAT_VERSION;
|
|
30
|
+
this.action = event.action;
|
|
31
|
+
this.bot_interaction_id = requestData.botInteractionId;
|
|
32
|
+
this.user_locale = requestData.userLocale;
|
|
33
|
+
this.user_country = requestData.userCountry;
|
|
34
|
+
this.system_locale = requestData.systemLocale;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { HtEvent };
|
|
39
|
+
|
|
40
|
+
//# sourceMappingURL=ht-event.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-models/ht-event.js","sources":["../../src/event-models/ht-event.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/naming-convention */\nimport { EVENT_FORMAT_VERSION } from '@botonic/core'\n\nimport type {\n EventAction,\n EventType,\n HtEventProps,\n RequestData,\n} from '../types'\nexport class HtEvent {\n chat_id?: string\n type: EventType\n format_version?: number\n bot_version?: string\n flow_version?: string\n action: EventAction\n bot_interaction_id?: string\n user_locale: string\n user_country: string\n system_locale: string\n\n constructor(event: HtEventProps, requestData: RequestData) {\n this.chat_id = requestData.userId\n this.format_version = EVENT_FORMAT_VERSION\n this.action = event.action\n this.bot_interaction_id = requestData.botInteractionId\n this.user_locale = requestData.userLocale\n this.user_country = requestData.userCountry\n this.system_locale = requestData.systemLocale\n }\n}\n"],"names":["EVENT_FORMAT_VERSION","HtEvent","event","requestData"],"mappings":";;;;;;;;;;;;;;AAAA,uDAAuD,GACH;AAQ7C,MAAMC,OAAOA;IAYlB,YAAYC,KAAmB,EAAEC,WAAwB,CAAE;QAX3D;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QAGE,IAAI,CAAC,OAAO,GAAGA,YAAY,MAAM;QACjC,IAAI,CAAC,cAAc,GAAGH,oBAAoBA;QAC1C,IAAI,CAAC,MAAM,GAAGE,MAAM,MAAM;QAC1B,IAAI,CAAC,kBAAkB,GAAGC,YAAY,gBAAgB;QACtD,IAAI,CAAC,WAAW,GAAGA,YAAY,UAAU;QACzC,IAAI,CAAC,YAAY,GAAGA,YAAY,WAAW;QAC3C,IAAI,CAAC,aAAa,GAAGA,YAAY,YAAY;IAC/C;AACF"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { HtEvent } from './ht-event.js';
|
|
2
|
+
export { HtEventAiAgent } from './ht-event-ai-agent.js';
|
|
3
|
+
export { HtEventAiAgentRouter } from './ht-event-ai-agent-router.js';
|
|
4
|
+
export { HtEventBotAction } from './ht-event-bot-action.js';
|
|
5
|
+
export { HtEventConditionalChannel } from './ht-event-conditional-channel.js';
|
|
6
|
+
export { HtEventConditionalCountry } from './ht-event-conditional-country.js';
|
|
7
|
+
export { HtEventConditionalCustom } from './ht-event-conditional-custom.js';
|
|
8
|
+
export { HtEventConditionalQueueStatus } from './ht-event-conditional-queue-status.js';
|
|
9
|
+
export { HtEventCustom } from './ht-event-custom.js';
|
|
10
|
+
export { HtEventFallback } from './ht-event-fallback.js';
|
|
11
|
+
export { HtEventFeedback } from './ht-event-feedback.js';
|
|
12
|
+
export { HtEventFlow } from './ht-event-flow.js';
|
|
13
|
+
export { HtEventHandoff } from './ht-event-handoff.js';
|
|
14
|
+
export { HtEventHandoffOption } from './ht-event-handoff-option.js';
|
|
15
|
+
export { HtEventIntentSmart } from './ht-event-intent-smart.js';
|
|
16
|
+
export { HtEventKeyword } from './ht-event-keyword.js';
|
|
17
|
+
export { HtEventRedirectFlow } from './ht-event-redirect-flow.js';
|
|
18
|
+
export { HtEventWebviewActionTriggered } from './ht-event-webview-action-triggered.js';
|
|
19
|
+
export { HtEventWebviewEnd } from './ht-event-webview-end.js';
|
|
20
|
+
export { HtEventWebviewStep } from './ht-event-webview-step.js';
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
export { HtEvent } from "./ht-event.js";
|
|
43
|
+
export { HtEventAiAgent } from "./ht-event-ai-agent.js";
|
|
44
|
+
export { HtEventAiAgentRouter } from "./ht-event-ai-agent-router.js";
|
|
45
|
+
export { HtEventBotAction } from "./ht-event-bot-action.js";
|
|
46
|
+
export { HtEventConditionalChannel } from "./ht-event-conditional-channel.js";
|
|
47
|
+
export { HtEventConditionalCountry } from "./ht-event-conditional-country.js";
|
|
48
|
+
export { HtEventConditionalCustom } from "./ht-event-conditional-custom.js";
|
|
49
|
+
export { HtEventConditionalQueueStatus } from "./ht-event-conditional-queue-status.js";
|
|
50
|
+
export { HtEventCustom } from "./ht-event-custom.js";
|
|
51
|
+
export { HtEventFallback } from "./ht-event-fallback.js";
|
|
52
|
+
export { HtEventFeedback } from "./ht-event-feedback.js";
|
|
53
|
+
export { HtEventFlow } from "./ht-event-flow.js";
|
|
54
|
+
export { HtEventHandoff } from "./ht-event-handoff.js";
|
|
55
|
+
export { HtEventHandoffOption } from "./ht-event-handoff-option.js";
|
|
56
|
+
export { HtEventIntentSmart } from "./ht-event-intent-smart.js";
|
|
57
|
+
export { HtEventKeyword } from "./ht-event-keyword.js";
|
|
58
|
+
export { HtEventRedirectFlow } from "./ht-event-redirect-flow.js";
|
|
59
|
+
export { HtEventWebviewActionTriggered } from "./ht-event-webview-action-triggered.js";
|
|
60
|
+
export { HtEventWebviewEnd } from "./ht-event-webview-end.js";
|
|
61
|
+
export { HtEventWebviewStep } from "./ht-event-webview-step.js";
|
|
62
|
+
|
|
63
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-models/index.js","sources":["../../src/event-models/index.ts"],"sourcesContent":["export { HtEvent } from './ht-event'\nexport { HtEventAiAgent } from './ht-event-ai-agent'\nexport { HtEventAiAgentRouter } from './ht-event-ai-agent-router'\nexport { HtEventBotAction } from './ht-event-bot-action'\nexport { HtEventConditionalChannel } from './ht-event-conditional-channel'\nexport { HtEventConditionalCountry } from './ht-event-conditional-country'\nexport { HtEventConditionalCustom } from './ht-event-conditional-custom'\nexport { HtEventConditionalQueueStatus } from './ht-event-conditional-queue-status'\nexport { HtEventCustom } from './ht-event-custom'\nexport { HtEventFallback } from './ht-event-fallback'\nexport { HtEventFeedback } from './ht-event-feedback'\nexport { HtEventFlow } from './ht-event-flow'\nexport { HtEventHandoff } from './ht-event-handoff'\nexport { HtEventHandoffOption } from './ht-event-handoff-option'\nexport { HtEventIntentSmart } from './ht-event-intent-smart'\nexport { HtEventKeyword } from './ht-event-keyword'\nexport { HtEventRedirectFlow } from './ht-event-redirect-flow'\nexport { HtEventWebviewActionTriggered } from './ht-event-webview-action-triggered'\nexport { HtEventWebviewEnd } from './ht-event-webview-end'\nexport { HtEventWebviewStep } from './ht-event-webview-step'\n"],"names":["HtEvent","HtEventAiAgent","HtEventAiAgentRouter","HtEventBotAction","HtEventConditionalChannel","HtEventConditionalCountry","HtEventConditionalCustom","HtEventConditionalQueueStatus","HtEventCustom","HtEventFallback","HtEventFeedback","HtEventFlow","HtEventHandoff","HtEventHandoffOption","HtEventIntentSmart","HtEventKeyword","HtEventRedirectFlow","HtEventWebviewActionTriggered","HtEventWebviewEnd","HtEventWebviewStep"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAoC;AACgB;AACa;AACT;AACkB;AACA;AACF;AACW;AAClC;AACI;AACA;AACR;AACM;AACa;AACJ;AACT;AACW;AACqB;AACzB;AACE"}
|