@koredev/agentai-web-sdk 1.2.0-rc → 1.2.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 +1 -1
- package/dist/components/common/constants/projConsts.d.ts +6 -6
- package/dist/components/common/services/rootService.d.ts +8 -1
- package/dist/components/common/services/web-socket-service.d.ts +4 -0
- package/dist/esm/agentai-web-sdk-chat.min.js +1 -1
- package/dist/esm/exports.js +1 -1
- package/dist/umd/agentai-web-sdk-umd.min.js +1 -1
- package/dist/umd/agentai-web-sdk-umd.min.js.map +1 -1
- package/dist/umd/hot/hot-update.js +894 -1016
- package/dist/umd/hot/hot-update.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ To show
|
|
|
18
18
|
conversationId,
|
|
19
19
|
botId,
|
|
20
20
|
"domainURL": "https://huddl-agentassist-dev.kore.ai",
|
|
21
|
-
"token": "",
|
|
21
|
+
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJjcy1hYTdmN2Y1Ni01NGM1LTUyOWQtOTQ5OC04MTczNDMwYmU3YzkiLCJhcHBJZCI6ImNzLWFhN2Y3ZjU2LTU0YzUtNTI5ZC05NDk4LTgxNzM0MzBiZTdjOSIsImlzcyI6ImNzLWFhN2Y3ZjU2LTU0YzUtNTI5ZC05NDk4LTgxNzM0MzBiZTdjOSIsImlhdCI6MTcyNDQxNjcxM30.trH3s5SFDekQkW_UGAmQYyPJ48a09grqkfSKzXPlaQk",
|
|
22
22
|
"interactiveLanguage": "en",
|
|
23
23
|
"customData": {},
|
|
24
24
|
"userName": "",
|
|
@@ -77,12 +77,7 @@ export declare const ProjConstants: {
|
|
|
77
77
|
SUGGESTION_MAXHEIGHT: number;
|
|
78
78
|
};
|
|
79
79
|
export declare const coachingConst: any;
|
|
80
|
-
export declare const serviceTabMap:
|
|
81
|
-
ast: string;
|
|
82
|
-
srch: string;
|
|
83
|
-
trnspt: string;
|
|
84
|
-
mB: string;
|
|
85
|
-
};
|
|
80
|
+
export declare const serviceTabMap: any;
|
|
86
81
|
export declare const ClassMapConstanst: {
|
|
87
82
|
HEADER: string;
|
|
88
83
|
FOOTER: string;
|
|
@@ -118,6 +113,11 @@ export declare const ClassMapConstanst: {
|
|
|
118
113
|
SEARCH_SUGGESTION_WRAPPER: string;
|
|
119
114
|
HIDE_ELEMENT: string;
|
|
120
115
|
SDK_MAIN_WRAPPER: string;
|
|
116
|
+
NUDGE_TEMPLATE: string;
|
|
117
|
+
NUDGE_CLOSE: string;
|
|
118
|
+
HINT_CLOSE: string;
|
|
119
|
+
HINT_TEMPLATE: string;
|
|
120
|
+
SEND_TEXT: string;
|
|
121
121
|
};
|
|
122
122
|
export declare const IdMapConstant: {
|
|
123
123
|
PROACTIVE_BTN: string;
|
|
@@ -10,6 +10,12 @@ export declare class rootService {
|
|
|
10
10
|
classConstants: any;
|
|
11
11
|
idConstants: any;
|
|
12
12
|
faqambiguityResponse: boolean;
|
|
13
|
+
activeTab: string;
|
|
14
|
+
myBotTabSessionId: any;
|
|
15
|
+
assistTabSessionId: any;
|
|
16
|
+
sentSearchResponse: boolean;
|
|
17
|
+
searchedResultData: any;
|
|
18
|
+
proactiveMode: boolean;
|
|
13
19
|
constructor();
|
|
14
20
|
formatWelcomeMessageResponse(data: any): any;
|
|
15
21
|
formatSearchResponse(response: any, isSearch?: boolean): any;
|
|
@@ -31,6 +37,7 @@ export declare class rootService {
|
|
|
31
37
|
handleSendCopyButtonForSnippet(actionType: any, snippetObj: any, selectType: any, hostInstance: any): void;
|
|
32
38
|
handleSendCopyButtonArticleOrFile(actionType: any, articleObj: any, selectType: any, hostInstance: any): void;
|
|
33
39
|
handleActionTemplateClickEventsForFAQ(eachActionTemplate: any, faq: any, ansObj: any, faqListHTMLEle: any, hostInstance: any): void;
|
|
40
|
+
emitSendOrCopyEvent(copyEventData: any, hostInstance: any): void;
|
|
34
41
|
handleFaqExpandCloseBtnClickEvents(expandClostBtnTemplate: any, faqSuggestionBodyList: any, suggestionHeaderActionTemplate: any, faqListHTMLIndex: any, hostInstance: any): void;
|
|
35
42
|
handleActionTemplateClickEventsForSnippet(eachActionTemplate: any, snippet: any, snippetListHtmlEle: any, hostInstance: any): void;
|
|
36
43
|
handleActionTemplateClickEventsForArticle(eachActionTemplate: any, article: any, articleListHtmlEle: any, hostInstance: any): void;
|
|
@@ -52,7 +59,7 @@ export declare class rootService {
|
|
|
52
59
|
positionId: any;
|
|
53
60
|
};
|
|
54
61
|
emitSearchRequestForAssistSuggestions(value: any, isSearch: any, faq: any, hostInstance: any): void;
|
|
55
|
-
emitSearchRequestForSearch(
|
|
62
|
+
emitSearchRequestForSearch(searchTextObj: any, isSearch: boolean, faq: any, hostInstance: any): void;
|
|
56
63
|
handleFaqAmbiguityDescElement(faqId: string, ambiguityToken: any, faqs: any, hideActionButtons: boolean, hideCopyButton: boolean, hideSendButton: boolean, hostInstance: any): void;
|
|
57
64
|
handleFaqToggle(faq: any, index: any, type: string, faqListHTML: any, hostInstance: any, isAssistSuggestion: boolean, props: any): void;
|
|
58
65
|
checkAnswerAndToggleForAssist(faq: any, index: number, hostInstance: any, props: any): void;
|
|
@@ -2,9 +2,13 @@ declare class websocketservice {
|
|
|
2
2
|
private _agentAssistSocket;
|
|
3
3
|
private hostIns;
|
|
4
4
|
private configOptions;
|
|
5
|
+
prevTimeStamp: number;
|
|
6
|
+
intervalTime: number;
|
|
7
|
+
count: number;
|
|
5
8
|
constructor(hostIns: any);
|
|
6
9
|
socketConnection(configOptions: any): void;
|
|
7
10
|
emitEvents(eventName: string, requestParams: any, keepOldTraceId?: boolean): void;
|
|
8
11
|
listenEvents(): void;
|
|
12
|
+
getTimeout(): number;
|
|
9
13
|
}
|
|
10
14
|
export default websocketservice;
|