@koredev/agentai-web-sdk 1.0.9-rc → 1.1.1-rc
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/README.md +0 -5
- package/dist/components/aaWindow/aaWindow.d.ts +11 -1
- package/dist/components/common/constants/events.cnst.d.ts +18 -1
- package/dist/components/common/constants/projConsts.d.ts +56 -106
- package/dist/components/common/services/rootService.d.ts +48 -0
- package/dist/components/common/services/web-socket-service.d.ts +1 -7
- package/dist/components/common/templatemanager/base/eventManager.d.ts +8 -0
- package/dist/components/common/templatemanager/tabs/all-tabs.d.ts +1 -1
- package/dist/components/common/templatemanager/tabs/assist/assist.d.ts +2 -1
- package/dist/components/common/templatemanager/tabs/assist-suggestions/assist-suggestions.d.ts +3 -0
- package/dist/components/common/templatemanager/tabs/mybot/mybot.d.ts +2 -0
- package/dist/components/common/templatemanager/tabs/search/search.d.ts +1 -0
- package/dist/components/common/templatemanager/tabs/suggestion-placeholder/suggestion-placeholder.d.ts +2 -0
- package/dist/components/common/templatemanager/tabs/suggestions/article/article.d.ts +3 -0
- package/dist/components/common/templatemanager/tabs/suggestions/faq/faq.d.ts +5 -0
- package/dist/components/common/templatemanager/tabs/suggestions/file/file.d.ts +6 -0
- package/dist/components/common/templatemanager/tabs/suggestions/snippet/snippet.d.ts +2 -0
- package/dist/components/common/utils/interceptor.d.ts +2 -2
- package/dist/components/common/utils/koregenerateuuid.d.ts +2 -0
- package/dist/esm/0079170286df1ba69b55.woff2 +1 -0
- package/dist/esm/03144e0376d9ca94818f.woff +1 -0
- package/dist/esm/079927b5fc360c0c35dc.woff +1 -0
- package/dist/esm/0bbc8c0ec7307c0e693c.woff +1 -0
- package/dist/esm/0d1206d5dbfff94b6dce.woff2 +1 -0
- package/dist/esm/10ae7867b1e998acb20c.woff +1 -0
- package/dist/esm/1580f5cacc4b379aafbe.woff +1 -0
- package/dist/esm/19e84cd57634d7c3c92c.woff2 +1 -0
- package/dist/esm/2a74a3e7f2c69f4ae46e.woff +1 -0
- package/dist/esm/2c49ff611d7e8f98ab2f.woff +1 -0
- package/dist/esm/2e7d3376ff021dde4d24.woff +1 -0
- package/dist/esm/3b7a13355150c93e7f29.woff +1 -0
- package/dist/esm/3bda6ea31a391fddf966.woff2 +1 -0
- package/dist/esm/49838a8e8497aeaab696.woff +1 -0
- package/dist/esm/5ad66c7d0ff909e60595.woff2 +1 -0
- package/dist/esm/6cf76b3591a08213d0d4.woff2 +1 -0
- package/dist/esm/76808fd1f612d73fcfd0.woff2 +1 -0
- package/dist/esm/7e955881473c7c1fc757.woff2 +1 -0
- package/dist/esm/81afbb5302557e40c7ec.woff +1 -0
- package/dist/esm/87db95a33033d6ba4aac.woff +1 -0
- package/dist/esm/89678fe39085ee870c55.woff2 +1 -0
- package/dist/esm/8d357b447c451b49fb68.woff2 +1 -0
- package/dist/esm/9bac66b48938caf4fcd5.woff2 +1 -0
- package/dist/esm/a7f05895e363ec96c912.woff2 +1 -0
- package/dist/esm/agentai-web-sdk-chat.min.js +1 -1
- package/dist/esm/b792fa235b7630bd8053.woff +1 -0
- package/dist/esm/c2027c73be1b00937b95.woff2 +1 -0
- package/dist/esm/c625ad3550b59abce9b3.woff +1 -0
- package/dist/esm/c64f6164461f7922c617.woff2 +1 -0
- package/dist/esm/cb78e0b904a54e517283.woff2 +1 -0
- package/dist/esm/cd81ec65d90cda044b24.woff +1 -0
- package/dist/esm/d5408207aa201ef28e76.woff +1 -0
- package/dist/esm/d579b39c658cc4a1bc3a.woff2 +1 -0
- package/dist/esm/d6804bc4abf778f20b6f.woff +1 -0
- package/dist/esm/e61bdd7b901fb979b6db.woff2 +1 -0
- package/dist/esm/ecfb0d5afd86736348a6.woff2 +1 -0
- package/dist/esm/fd2bc84b7ff87be0b3de.woff +1 -0
- package/dist/esm/fonts/Inter-Bold.woff +0 -0
- package/dist/esm/fonts/Inter-Bold.woff2 +0 -0
- package/dist/esm/fonts/Inter-BoldItalic.woff +0 -0
- package/dist/esm/fonts/Inter-BoldItalic.woff2 +0 -0
- package/dist/esm/fonts/Inter-Italic.woff +0 -0
- package/dist/esm/fonts/Inter-Italic.woff2 +0 -0
- package/dist/esm/fonts/Inter-Light.woff +0 -0
- package/dist/esm/fonts/Inter-Light.woff2 +0 -0
- package/dist/esm/fonts/Inter-Medium.woff +0 -0
- package/dist/esm/fonts/Inter-Medium.woff2 +0 -0
- package/dist/esm/fonts/Inter-Regular.woff +0 -0
- package/dist/esm/fonts/Inter-Regular.woff2 +0 -0
- package/dist/esm/fonts/Inter-SemiBold.woff +0 -0
- package/dist/esm/fonts/Inter-SemiBold.woff2 +0 -0
- package/dist/esm/fonts/Inter-SemiBoldItalic.woff +0 -0
- package/dist/esm/fonts/Inter-SemiBoldItalic.woff2 +0 -0
- package/dist/esm/fonts/lato-black-italic.woff +0 -0
- package/dist/esm/fonts/lato-black-italic.woff2 +0 -0
- package/dist/esm/fonts/lato-black.woff +0 -0
- package/dist/esm/fonts/lato-black.woff2 +0 -0
- package/dist/esm/fonts/lato-bold-italic.woff +0 -0
- package/dist/esm/fonts/lato-bold-italic.woff2 +0 -0
- package/dist/esm/fonts/lato-bold.woff +0 -0
- package/dist/esm/fonts/lato-bold.woff2 +0 -0
- package/dist/esm/fonts/lato-medium-italic.woff +0 -0
- package/dist/esm/fonts/lato-medium-italic.woff2 +0 -0
- package/dist/esm/fonts/lato-medium.woff +0 -0
- package/dist/esm/fonts/lato-medium.woff2 +0 -0
- package/dist/esm/fonts/lato-normal-italic.woff +0 -0
- package/dist/esm/fonts/lato-normal-italic.woff2 +0 -0
- package/dist/esm/fonts/lato-normal.woff +0 -0
- package/dist/esm/fonts/lato-normal.woff2 +0 -0
- package/dist/esm/fonts/lato-semibold-italic.woff +0 -0
- package/dist/esm/fonts/lato-semibold-italic.woff2 +0 -0
- package/dist/esm/fonts/lato-semibold.woff +0 -0
- package/dist/esm/fonts/lato-semibold.woff2 +0 -0
- package/dist/hot/hot-update.js +4497 -0
- package/dist/hot/hot-update.js.map +1 -0
- package/dist/hot/hot-update.json +1 -0
- package/dist/kore-web-sdk.esm.browser.js +3687 -1210
- package/dist/kore-web-sdk.esm.browser.js.map +1 -1
- package/dist/umd/0079170286df1ba69b55.woff2 +1 -0
- package/dist/umd/03144e0376d9ca94818f.woff +1 -0
- package/dist/umd/079927b5fc360c0c35dc.woff +1 -0
- package/dist/umd/0bbc8c0ec7307c0e693c.woff +1 -0
- package/dist/umd/0d1206d5dbfff94b6dce.woff2 +1 -0
- package/dist/umd/10ae7867b1e998acb20c.woff +1 -0
- package/dist/umd/1580f5cacc4b379aafbe.woff +1 -0
- package/dist/umd/19e84cd57634d7c3c92c.woff2 +1 -0
- package/dist/umd/2a74a3e7f2c69f4ae46e.woff +1 -0
- package/dist/umd/2c49ff611d7e8f98ab2f.woff +1 -0
- package/dist/umd/2e7d3376ff021dde4d24.woff +1 -0
- package/dist/umd/3b7a13355150c93e7f29.woff +1 -0
- package/dist/umd/3bda6ea31a391fddf966.woff2 +1 -0
- package/dist/umd/49838a8e8497aeaab696.woff +1 -0
- package/dist/umd/5ad66c7d0ff909e60595.woff2 +1 -0
- package/dist/umd/6cf76b3591a08213d0d4.woff2 +1 -0
- package/dist/umd/76808fd1f612d73fcfd0.woff2 +1 -0
- package/dist/umd/7e955881473c7c1fc757.woff2 +1 -0
- package/dist/umd/81afbb5302557e40c7ec.woff +1 -0
- package/dist/umd/87db95a33033d6ba4aac.woff +1 -0
- package/dist/umd/89678fe39085ee870c55.woff2 +1 -0
- package/dist/umd/8d357b447c451b49fb68.woff2 +1 -0
- package/dist/umd/9bac66b48938caf4fcd5.woff2 +1 -0
- package/dist/umd/a7f05895e363ec96c912.woff2 +1 -0
- package/dist/umd/agentai-web-sdk-umd.min.js +1 -1
- package/dist/umd/b792fa235b7630bd8053.woff +1 -0
- package/dist/umd/c2027c73be1b00937b95.woff2 +1 -0
- package/dist/umd/c625ad3550b59abce9b3.woff +1 -0
- package/dist/umd/c64f6164461f7922c617.woff2 +1 -0
- package/dist/umd/cb78e0b904a54e517283.woff2 +1 -0
- package/dist/umd/cd81ec65d90cda044b24.woff +1 -0
- package/dist/umd/d5408207aa201ef28e76.woff +1 -0
- package/dist/umd/d579b39c658cc4a1bc3a.woff2 +1 -0
- package/dist/umd/d6804bc4abf778f20b6f.woff +1 -0
- package/dist/umd/e61bdd7b901fb979b6db.woff2 +1 -0
- package/dist/umd/ecfb0d5afd86736348a6.woff2 +1 -0
- package/dist/umd/fd2bc84b7ff87be0b3de.woff +1 -0
- package/dist/umd/fonts/Inter-Bold.woff +0 -0
- package/dist/umd/fonts/Inter-Bold.woff2 +0 -0
- package/dist/umd/fonts/Inter-BoldItalic.woff +0 -0
- package/dist/umd/fonts/Inter-BoldItalic.woff2 +0 -0
- package/dist/umd/fonts/Inter-Italic.woff +0 -0
- package/dist/umd/fonts/Inter-Italic.woff2 +0 -0
- package/dist/umd/fonts/Inter-Light.woff +0 -0
- package/dist/umd/fonts/Inter-Light.woff2 +0 -0
- package/dist/umd/fonts/Inter-Medium.woff +0 -0
- package/dist/umd/fonts/Inter-Medium.woff2 +0 -0
- package/dist/umd/fonts/Inter-Regular.woff +0 -0
- package/dist/umd/fonts/Inter-Regular.woff2 +0 -0
- package/dist/umd/fonts/Inter-SemiBold.woff +0 -0
- package/dist/umd/fonts/Inter-SemiBold.woff2 +0 -0
- package/dist/umd/fonts/Inter-SemiBoldItalic.woff +0 -0
- package/dist/umd/fonts/Inter-SemiBoldItalic.woff2 +0 -0
- package/dist/umd/fonts/lato-black-italic.woff +0 -0
- package/dist/umd/fonts/lato-black-italic.woff2 +0 -0
- package/dist/umd/fonts/lato-black.woff +0 -0
- package/dist/umd/fonts/lato-black.woff2 +0 -0
- package/dist/umd/fonts/lato-bold-italic.woff +0 -0
- package/dist/umd/fonts/lato-bold-italic.woff2 +0 -0
- package/dist/umd/fonts/lato-bold.woff +0 -0
- package/dist/umd/fonts/lato-bold.woff2 +0 -0
- package/dist/umd/fonts/lato-medium-italic.woff +0 -0
- package/dist/umd/fonts/lato-medium-italic.woff2 +0 -0
- package/dist/umd/fonts/lato-medium.woff +0 -0
- package/dist/umd/fonts/lato-medium.woff2 +0 -0
- package/dist/umd/fonts/lato-normal-italic.woff +0 -0
- package/dist/umd/fonts/lato-normal-italic.woff2 +0 -0
- package/dist/umd/fonts/lato-normal.woff +0 -0
- package/dist/umd/fonts/lato-normal.woff2 +0 -0
- package/dist/umd/fonts/lato-semibold-italic.woff +0 -0
- package/dist/umd/fonts/lato-semibold-italic.woff2 +0 -0
- package/dist/umd/fonts/lato-semibold.woff +0 -0
- package/dist/umd/fonts/lato-semibold.woff2 +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,14 +6,24 @@ declare class aaWindow extends EventEmitter {
|
|
|
6
6
|
chatEle: any;
|
|
7
7
|
constructor();
|
|
8
8
|
show(config: any): void;
|
|
9
|
+
handleAgentUserMessage(data: any): void;
|
|
10
|
+
emitUserAgentMessage(payload: any, eType?: string): void;
|
|
9
11
|
initShow(config: any): void;
|
|
10
|
-
|
|
12
|
+
getAASettings(botId: string): Promise<any>;
|
|
13
|
+
JWTSetup(options: any): Promise<any>;
|
|
11
14
|
render(chatWindowHtml: any): void;
|
|
12
15
|
bindEvents(): void;
|
|
13
16
|
commonEmitEvents(config: any): void;
|
|
17
|
+
prepareAgentAssistRequestParams(data: any): any;
|
|
14
18
|
prepareAgentAssistAgentRequestParams(data: any): any;
|
|
15
19
|
addSourceMsgIdToRequestParams(data: any, requestParams: any): any;
|
|
20
|
+
handleOverrideMode: (toggleOverride: any, dialogId: any) => void;
|
|
16
21
|
welComeMsgReq(welComeMsgReqParam: any): void;
|
|
17
22
|
menuReq(menuReqParam: any): void;
|
|
23
|
+
openAssistTab(footerTag: any, isActive: false): void;
|
|
24
|
+
openTranscriptTab(footerTag: any, isActive: false): void;
|
|
25
|
+
openSearchTab(footerTag: any, isActive: false): void;
|
|
26
|
+
openMybotTab(footerTag: any, isActive: false): void;
|
|
27
|
+
openPlaybookTab(footerTag: any, isActive: false): void;
|
|
18
28
|
}
|
|
19
29
|
export default aaWindow;
|
|
@@ -46,5 +46,22 @@ export declare enum EVENTS {
|
|
|
46
46
|
}
|
|
47
47
|
export declare enum SDK_EVENTS {
|
|
48
48
|
'BEFORE_VIEW_INIT' = "BEFORE_VIEW_INIT",
|
|
49
|
-
'TRANSCRIPT_BUBBLE' = "TRANSCRIPT_BUBBLE"
|
|
49
|
+
'TRANSCRIPT_BUBBLE' = "TRANSCRIPT_BUBBLE",
|
|
50
|
+
'ARTICE_TEMPLATE' = "ARTICLE_TEMPLATE",
|
|
51
|
+
'SNIPPET_TEMPLATE' = "SNIPPET_TEMPLATE",
|
|
52
|
+
'FILE_TEMPLATE' = "FILE_TEMPLATE",
|
|
53
|
+
'FAQ_TEMPLATE' = "FAQ_TEMPLATE",
|
|
54
|
+
'FOOTER_TEMPLATE' = "FOOTER_TEMPLATE",
|
|
55
|
+
'HEADER_TEMPLATE' = "HEADER_TEMPLATE",
|
|
56
|
+
'SEARCH_INPUT' = "SEARCH_INPUT",
|
|
57
|
+
'FAQ_ANSWER_AFTER_TOGGLE' = "FAQ_ANSWER_AFTER_TOGGLE",
|
|
58
|
+
'SEARCH_ARTICE_TEMPLATE' = "SEARCH_ARTICE_TEMPLATE",
|
|
59
|
+
'SEARCH_SNIPPET_TEMPLATE' = "SEARCH_SNIPPET_TEMPLATE",
|
|
60
|
+
'SEARCH_FILE_TEMPLATE' = "SEARCH_FILE_TEMPLATE",
|
|
61
|
+
'SEARCH_FAQ_TEMPLATE' = "SEARCH_FAQ_TEMPLATE"
|
|
62
|
+
}
|
|
63
|
+
export declare enum DATA_EVENTS {
|
|
64
|
+
'agentAssistRespone' = "agentAssistRespone",
|
|
65
|
+
'agentassistAgentResponse' = "agentassistAgentResponse",
|
|
66
|
+
'proactiveChange' = "proactiveChange"
|
|
50
67
|
}
|
|
@@ -16,62 +16,6 @@ export declare const RenderResponseType: {
|
|
|
16
16
|
FEEDBACK: string;
|
|
17
17
|
WELCOME_MSG: string;
|
|
18
18
|
};
|
|
19
|
-
export declare const FeebackConst: {
|
|
20
|
-
LIKE: string;
|
|
21
|
-
DISLIKE: string;
|
|
22
|
-
DISLIKE_LIST: string[];
|
|
23
|
-
DIALOGS: string;
|
|
24
|
-
FAQS: string;
|
|
25
|
-
ANSWERS: string;
|
|
26
|
-
SUMMARY: string;
|
|
27
|
-
DEFAULT_FEEDBACK_LANGUAGE_LIST: string[];
|
|
28
|
-
DEFAULT_SUGGESTION: {
|
|
29
|
-
dialogs: {
|
|
30
|
-
en: string[];
|
|
31
|
-
ar: string[];
|
|
32
|
-
de: string[];
|
|
33
|
-
es: string[];
|
|
34
|
-
fr: string[];
|
|
35
|
-
it: string[];
|
|
36
|
-
ja: string[];
|
|
37
|
-
ko: string[];
|
|
38
|
-
zh_cn: string[];
|
|
39
|
-
};
|
|
40
|
-
searchassist: {
|
|
41
|
-
en: string[];
|
|
42
|
-
ar: string[];
|
|
43
|
-
de: string[];
|
|
44
|
-
es: string[];
|
|
45
|
-
fr: string[];
|
|
46
|
-
it: string[];
|
|
47
|
-
ja: string[];
|
|
48
|
-
ko: string[];
|
|
49
|
-
zh_cn: string[];
|
|
50
|
-
};
|
|
51
|
-
faqs: {
|
|
52
|
-
en: string[];
|
|
53
|
-
ar: string[];
|
|
54
|
-
de: string[];
|
|
55
|
-
es: string[];
|
|
56
|
-
fr: string[];
|
|
57
|
-
it: string[];
|
|
58
|
-
ja: string[];
|
|
59
|
-
ko: string[];
|
|
60
|
-
zh_cn: string[];
|
|
61
|
-
};
|
|
62
|
-
summary: {
|
|
63
|
-
en: string[];
|
|
64
|
-
ar: string[];
|
|
65
|
-
de: string[];
|
|
66
|
-
es: string[];
|
|
67
|
-
fr: string[];
|
|
68
|
-
it: string[];
|
|
69
|
-
ja: string[];
|
|
70
|
-
ko: string[];
|
|
71
|
-
zh_cn: string[];
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
19
|
export declare const ProjConstants: {
|
|
76
20
|
ASSIST: string;
|
|
77
21
|
MYBOT: string;
|
|
@@ -79,6 +23,7 @@ export declare const ProjConstants: {
|
|
|
79
23
|
LIBRARY: string;
|
|
80
24
|
SETTINGS: string;
|
|
81
25
|
SEARCH: string;
|
|
26
|
+
PLAYBOOK: string;
|
|
82
27
|
VOICE: string;
|
|
83
28
|
CHAT: string;
|
|
84
29
|
BOTID: string;
|
|
@@ -105,56 +50,61 @@ export declare const ProjConstants: {
|
|
|
105
50
|
VIEW_FEW_ARTICLES: string;
|
|
106
51
|
VIEW_ALL_SNIPPETS: string;
|
|
107
52
|
VIEW_FEW_SNIPPETS: string;
|
|
108
|
-
AGENT_SEARCH: string;
|
|
109
|
-
LIBRARY_SEARCH: string;
|
|
110
|
-
ENTER_DETAILS: string;
|
|
111
|
-
DISCARD_ALL: string;
|
|
112
|
-
TERMINATE: string;
|
|
113
|
-
INTERRUPT: string;
|
|
114
|
-
LISTVIEW: string;
|
|
115
|
-
RESTORE: string;
|
|
116
|
-
RESTART: string;
|
|
117
|
-
SUMMARY: string;
|
|
118
|
-
INTENT: string;
|
|
119
|
-
HISTORY: string;
|
|
120
|
-
STARTOVER: string;
|
|
121
|
-
RESTART_INPUTS: string;
|
|
122
|
-
PS_Y_REACH_START: string;
|
|
123
|
-
PS_Y_REACH_END: string;
|
|
124
|
-
PS_SCROLL_UP: string;
|
|
125
|
-
PROACTIVE_INITIAL_MODE: string;
|
|
126
|
-
SMARTASSIST_SOURCE: string;
|
|
127
|
-
INCOMING: string;
|
|
128
|
-
OUTGOING: string;
|
|
129
|
-
ASK_CUSTOMER: string;
|
|
130
|
-
TELL_CUSTOMER: string;
|
|
131
|
-
WELCOME_MSG: string;
|
|
132
|
-
YES: string;
|
|
133
|
-
NO: string;
|
|
134
53
|
SENDMSG: string;
|
|
135
54
|
COPYMSG: string;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
55
|
+
};
|
|
56
|
+
export declare const serviceTabMap: {
|
|
57
|
+
ast: string;
|
|
58
|
+
srch: string;
|
|
59
|
+
trnspt: string;
|
|
60
|
+
mB: string;
|
|
61
|
+
};
|
|
62
|
+
export declare const ClassMapConstanst: {
|
|
63
|
+
HEADER: string;
|
|
64
|
+
FOOTER: string;
|
|
65
|
+
FOOTER_BTN: string;
|
|
66
|
+
FOOTER_BTN_SEARCH: string;
|
|
67
|
+
FOOTER_BTN_MYBOT: string;
|
|
68
|
+
FOOTER_BTN_ASSIST: string;
|
|
69
|
+
FOOTER_BTN_TRANSCRIPT: string;
|
|
70
|
+
ASSIST_SECTION: string;
|
|
71
|
+
SUGGESTION_EACH: string;
|
|
72
|
+
SUGGESTION_EACH_HEADER: string;
|
|
73
|
+
SUGGESTION_EACH_TITLE: string;
|
|
74
|
+
SUGGESTION_EACH_BODY: string;
|
|
75
|
+
SUGGESTION_LESS_LINK: string;
|
|
76
|
+
SUGGESTION_MORE_LINK: string;
|
|
77
|
+
SUGGESTION_SEND_BTN: string;
|
|
78
|
+
SUGGESTION_COPY_BTN: string;
|
|
79
|
+
SUGGESTION_SENDCPY_ACTION: string;
|
|
80
|
+
SUGGESTION_FAQ_UP_ARROW: string;
|
|
81
|
+
SUGGESTION_FAQ_DOWN_ARROW: string;
|
|
82
|
+
SUGGESTION_FAQ_EXPAND: string;
|
|
83
|
+
SUGGESTION_FAQ_CLOSE: string;
|
|
84
|
+
SUGGESTION_FAQ_ANS_LENGTH: string;
|
|
85
|
+
SUGGESTION_FAQ_ANS_LOADER: string;
|
|
86
|
+
SUGGESTION_SNIPPET_SOURCE_TAG: string;
|
|
87
|
+
SUGGESTION_SNIPPET_LINK: string;
|
|
88
|
+
SUGGESTION_ARTICLE_LINK: string;
|
|
89
|
+
SUGGESTION_FILE_LINK: string;
|
|
90
|
+
SEARCH_INPUT_BLOCK: string;
|
|
91
|
+
SEARCH_INPUT_CLOSE: string;
|
|
92
|
+
SEARCH_INPUT_ICON: string;
|
|
93
|
+
SUGGESTION_SENT_TEXT: string;
|
|
94
|
+
SEARCH_SUGGESTION_WRAPPER: string;
|
|
95
|
+
HIDE_ELEMENT: string;
|
|
96
|
+
SDK_MAIN_WRAPPER: string;
|
|
97
|
+
};
|
|
98
|
+
export declare const IdMapConstant: {
|
|
99
|
+
PROACTIVE_BTN: string;
|
|
100
|
+
ASSIST_FAQ_SUGGESTION: string;
|
|
101
|
+
ASSIST_SNIPPET_SUGGESTION: string;
|
|
102
|
+
ASSIST_ARTICLE_SUGGESTION: string;
|
|
103
|
+
ASSIST_FILE_SUGGESTION: string;
|
|
104
|
+
SEARCH_FAQ_SUGGESTION: string;
|
|
105
|
+
SEARCH_SNIPPET_SUGGESTION: string;
|
|
106
|
+
SEARCH_ARTICLE_SUGGESTION: string;
|
|
107
|
+
SEARCH_FILE_SUGGESTION: string;
|
|
108
|
+
SEARCH_INPUT: string;
|
|
109
|
+
SEARCH_SUGGESTION_BLOCK: string;
|
|
160
110
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare class rootService {
|
|
2
|
+
isAutomationOnGoing: boolean;
|
|
2
3
|
grantResponseObj: any;
|
|
3
4
|
prefsAccessObj: any;
|
|
4
5
|
connectionDetails: any;
|
|
@@ -6,13 +7,60 @@ export declare class rootService {
|
|
|
6
7
|
numOfLines: any;
|
|
7
8
|
maxHeight: any;
|
|
8
9
|
scrollHeight: any;
|
|
10
|
+
classConstants: any;
|
|
11
|
+
idConstants: any;
|
|
12
|
+
faqambiguityResponse: boolean;
|
|
9
13
|
constructor();
|
|
10
14
|
formatSearchResponse(response: any, isSearch?: boolean): any;
|
|
11
15
|
formatSnippetResponse(snippetsArray: any, response: any): any;
|
|
16
|
+
updateSearchResponse(assistResponseArray: any, response: any, ambiguityTokenExt: any): any;
|
|
12
17
|
prepareFeedbackForSuggestions(suggestionType: any, suggestion: any, feedbackData?: any): any;
|
|
13
18
|
checkEmptyObjectsInArray(arr: any): any;
|
|
14
19
|
formatFAQResponse(faqArray: any): any[];
|
|
15
20
|
openurlInBrowser(url: any): void;
|
|
16
21
|
extractTextFromElement(element: HTMLElement): string;
|
|
22
|
+
handleSendCopyButton(actionType: any, faq_or_article_obj: any, selectType: any): any;
|
|
23
|
+
faqArticleSendorCopyEvent(selectType: any, message: any, faq_or_article_obj: any): any;
|
|
24
|
+
addSourceMsgIdToRequestParams(data: any, requestParams: any): any;
|
|
25
|
+
addSentOrCopiedTextForFaqs(ansObj: any, ele: any, sendText: any, hostInstance: any): void;
|
|
26
|
+
addSentOrCopiedTextForFiles(file: any, ele: any, sendText: any, hostInstance: any): void;
|
|
27
|
+
addSentOrCopiedTextForArticle(article: any, ele: any, sendText: any, hostInstance: any): void;
|
|
28
|
+
addSentOrCopiedTextForSnippets(snippet: any, ele: any, sendText: any, hostInstance: any): void;
|
|
29
|
+
handleSendCopyButtonForFaq(actionType: any, ansObj: any, selectType: any, sourceMsgId: any, hostInstance: any): void;
|
|
30
|
+
handleSendCopyButtonForSnippet(actionType: any, snippetObj: any, selectType: any, hostInstance: any): void;
|
|
31
|
+
handleSendCopyButtonArticleOrFile(actionType: any, articleObj: any, selectType: any, hostInstance: any): void;
|
|
32
|
+
handleActionTemplateClickEventsForFAQ(eachActionTemplate: any, faq: any, ansObj: any, faqListHTMLEle: any, hostInstance: any): void;
|
|
33
|
+
handleFaqExpandCloseBtnClickEvents(expandClostBtnTemplate: any, faqSuggestionBodyList: any, suggestionHeaderActionTemplate: any, faqListHTMLIndex: any, hostInstance: any): void;
|
|
34
|
+
handleActionTemplateClickEventsForSnippet(eachActionTemplate: any, snippet: any, snippetListHtmlEle: any, hostInstance: any): void;
|
|
35
|
+
handleActionTemplateClickEventsForArticle(eachActionTemplate: any, article: any, articleListHtmlEle: any, hostInstance: any): void;
|
|
36
|
+
handleActionTemplateClickEventsForFile(eachActionTemplate: any, file: any, fileListHtmlEle: any, hostInstance: any): void;
|
|
37
|
+
handleSuggestionLessClickEvent(actionHtml: any, suggestionElement: any, listHtml: any, hostInstance: any): void;
|
|
38
|
+
handleSuggestionMoreClickEvent(actionHtml: any, suggestionElement: any, listHtml: any, hostInstance: any): void;
|
|
39
|
+
setFaqIndividualLoader(inx: any, hide: boolean | undefined, id: string): void;
|
|
40
|
+
addOrHideFAQArrows(faqUpArrowTemplate: any, faqDownArrowTemplate: any, type: string): void;
|
|
41
|
+
toggleArrows(index: number, faqId: string): void;
|
|
42
|
+
openLinksInBrowser(url: any): void;
|
|
43
|
+
openurlInBrowserForSnippet(url: any, snippet: any, hostInstance: any): void;
|
|
44
|
+
handleUrlClickEvent(url: any, snippet: any, hostInstance: any): void;
|
|
45
|
+
commonRequestParamsForActivity(snippet: any): {
|
|
46
|
+
botId: any;
|
|
47
|
+
conversationId: any;
|
|
48
|
+
event: string;
|
|
49
|
+
sourceMsgId: any;
|
|
50
|
+
dataSource: string;
|
|
51
|
+
positionId: any;
|
|
52
|
+
};
|
|
53
|
+
emitSearchRequestForAssistSuggestions(value: any, isSearch: any, faq: any, hostInstance: any): void;
|
|
54
|
+
emitSearchRequestForSearch(value: any, isSearch: boolean, faq: any, hostInstance: any): void;
|
|
55
|
+
handleFaqAmbiguityDescElement(faqId: string, ambiguityToken: any, faqs: any, hideActionButtons: boolean, hideCopyButton: boolean, hideSendButton: boolean, hostInstance: any): void;
|
|
56
|
+
handleFaqToggle(faq: any, index: any, type: string, faqListHTML: any, hostInstance: any, isAssistSuggestion: boolean, props: any): void;
|
|
57
|
+
checkAnswerAndToggleForAssist(faq: any, index: number, hostInstance: any, props: any): void;
|
|
58
|
+
checkAnswerAndToggleForSearch(faq: any, index: number, hostInstance: any): void;
|
|
59
|
+
renderEachFaqInSuggestionList(searchResponse: any, faqListHTML: any, hideActionButtons: boolean, hideCopyButton: boolean, hideSendButton: boolean, hostInstance: any, isAssistSuggestion: boolean, props: any): void;
|
|
60
|
+
renderEachSnippetInSuggestionList(searchResponse: any, snippetListHtml: any, hideActionButtons: boolean, hideCopyButton: boolean, hideSendButton: boolean, hostInstance: any): void;
|
|
61
|
+
renderEachArticleInSuggestionList(searchResponse: any, articlesListHTML: any, hideActionButtons: boolean, hideCopyButton: boolean, hideSendButton: boolean, hostInstance: any): void;
|
|
62
|
+
renderEachFileInSuggestionList(searchResponse: any, filesListHtml: any, hideActionButtons: boolean, hideCopyButton: boolean, hideSendButton: boolean, hostInstance: any): void;
|
|
63
|
+
handleSearchText(searchText: any, hostInstance: any): void;
|
|
64
|
+
addOrHideFAQActionExpandCloseElements(faq: any, hideActionButtons: any, hideCopyButton: any, hideSendButton: any, suggestionHeaderTemplate: any, faqListHTML: any, index: any, hostInstance: any): void;
|
|
17
65
|
}
|
|
18
66
|
export default rootService;
|
|
@@ -3,13 +3,7 @@ declare class websocketservice {
|
|
|
3
3
|
private hostIns;
|
|
4
4
|
private configOptions;
|
|
5
5
|
constructor(hostIns: any);
|
|
6
|
-
socketConnection(configOptions:
|
|
7
|
-
token: any;
|
|
8
|
-
assertion: any;
|
|
9
|
-
botInfo: any;
|
|
10
|
-
JWTUrl: any;
|
|
11
|
-
connectionDetials: any;
|
|
12
|
-
}): void;
|
|
6
|
+
socketConnection(configOptions: any): void;
|
|
13
7
|
emitEvents(eventName: string, requestParams: any, keepOldTraceId?: boolean): void;
|
|
14
8
|
listenEvents(): void;
|
|
15
9
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare class EventManager {
|
|
2
|
+
eventMapper: any[];
|
|
3
|
+
hostInstance: any;
|
|
4
|
+
constructor(host: any);
|
|
5
|
+
addEventListener(querySelector: any, event: any, cb: any, hostele: any): void;
|
|
6
|
+
removeEventListener(querySelector: any, event: any, hostele: any): void;
|
|
7
|
+
}
|
|
8
|
+
export default EventManager;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './all-tabs.scss';
|
|
2
2
|
import { h } from 'preact';
|
|
3
|
-
export declare function AllTabs(
|
|
3
|
+
export declare function AllTabs(props: any): h.JSX.Element;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import { h } from 'preact';
|
|
2
2
|
import './article.scss';
|
|
3
|
+
export declare function ArticleSentText(props: any): h.JSX.Element;
|
|
4
|
+
export declare function ArticleViewMoreLessButtons(props: any): h.JSX.Element;
|
|
5
|
+
export declare function ArticleSendCopyActionButtons(props: any): h.JSX.Element;
|
|
3
6
|
export declare function ArticleSuggestion(props: any): h.JSX.Element;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
import { h } from 'preact';
|
|
2
2
|
import './faq.scss';
|
|
3
|
+
export declare function FaqAnswerPlacement(props: any): h.JSX.Element;
|
|
4
|
+
export declare function FaqExpandCloseBtn(props: any): h.JSX.Element;
|
|
5
|
+
export declare function FaqSentText(props: any): h.JSX.Element;
|
|
6
|
+
export declare function FAQViewMoreLessButtons(props: any): h.JSX.Element;
|
|
7
|
+
export declare function FAQSendCopyActionButtons(props: any): h.JSX.Element;
|
|
3
8
|
export declare function FAQSuggestion(props: any): h.JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { h } from 'preact';
|
|
2
|
+
import './file.scss';
|
|
3
|
+
export declare function FileSentText(props: any): h.JSX.Element;
|
|
4
|
+
export declare function FileViewMoreLessButtons(props: any): h.JSX.Element;
|
|
5
|
+
export declare function FileSendCopyActionButtons(props: any): h.JSX.Element;
|
|
6
|
+
export declare function FileSuggestion(props: any): h.JSX.Element;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import { h } from 'preact';
|
|
2
2
|
import './snippet.scss';
|
|
3
|
+
export declare function SnippetSentText(props: any): h.JSX.Element;
|
|
4
|
+
export declare function SnippetSendCopyActionButtons(props: any): h.JSX.Element;
|
|
3
5
|
export declare function SnippetSuggestion(props: any): h.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
export default
|
|
1
|
+
declare const fetchInstance: (endPoint: string, options: any, hostInst: any, params?: any) => Promise<any>;
|
|
2
|
+
export default fetchInstance;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/lato-bold.woff2";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/lato-black.woff";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/Inter-Medium.woff";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/lato-medium-italic.woff";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/Inter-Italic.woff2";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/Inter-Regular.woff";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/lato-bold.woff";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/Inter-SemiBold.woff2";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/Inter-BoldItalic.woff";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/Inter-SemiBold.woff";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/lato-normal.woff";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/lato-semibold-italic.woff";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/Inter-BoldItalic.woff2";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/lato-normal-italic.woff";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/lato-medium.woff2";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/lato-medium-italic.woff2";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/Inter-Bold.woff2";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/Inter-Light.woff2";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/Inter-SemiBoldItalic.woff";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/Inter-Bold.woff";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/Inter-SemiBoldItalic.woff2";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/lato-normal-italic.woff2";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/lato-black-italic.woff2";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "../fonts/lato-black.woff2";
|