@koredev/agentai-web-sdk 1.2.3 → 1.2.5-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/aaWindow/aaWindow.d.ts +2 -0
- package/dist/components/aaWindow/config/brandingJSON.d.ts +8 -2
- package/dist/components/common/constants/events.cnst.d.ts +8 -3
- package/dist/components/common/constants/projConsts.d.ts +10 -0
- package/dist/components/common/services/rootService.d.ts +4 -2
- package/dist/esm/agentai-web-sdk.min.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 +838 -952
- 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": "",
|
|
22
22
|
"interactiveLanguage": "en",
|
|
23
23
|
"customData": {},
|
|
24
24
|
"userName": "",
|
|
@@ -29,5 +29,7 @@ declare class AAWindow extends EventEmitter {
|
|
|
29
29
|
openSearchTab(footerTag: any, isActive: false): void;
|
|
30
30
|
openMybotTab(footerTag: any, isActive: false): void;
|
|
31
31
|
openPlaybookTab(footerTag: any, isActive: false): void;
|
|
32
|
+
endOfConversation(): void;
|
|
33
|
+
applyBranding(colors: any): void;
|
|
32
34
|
}
|
|
33
35
|
export default AAWindow;
|
|
@@ -64,7 +64,9 @@ export declare enum SDK_EVENTS {
|
|
|
64
64
|
'SEARCH_ARTICE_TEMPLATE' = "SEARCH_ARTICE_TEMPLATE",
|
|
65
65
|
'SEARCH_SNIPPET_TEMPLATE' = "SEARCH_SNIPPET_TEMPLATE",
|
|
66
66
|
'SEARCH_FILE_TEMPLATE' = "SEARCH_FILE_TEMPLATE",
|
|
67
|
-
'SEARCH_FAQ_TEMPLATE' = "SEARCH_FAQ_TEMPLATE"
|
|
67
|
+
'SEARCH_FAQ_TEMPLATE' = "SEARCH_FAQ_TEMPLATE",
|
|
68
|
+
'CONVERSATION_SUMMARY_TEMPLATE' = "CONVERSATION_SUMMARY_TEMPLATE",
|
|
69
|
+
'SUMMARY_TEMPLATE_ASSIST' = "SUMMARY_TEMPLATE_ASSIST"
|
|
68
70
|
}
|
|
69
71
|
export declare enum DATA_EVENTS {
|
|
70
72
|
'AGENT_COACHING_RESPONSES' = "AGENT_COACHING_RESPONSES",
|
|
@@ -72,9 +74,12 @@ export declare enum DATA_EVENTS {
|
|
|
72
74
|
'AGENT_TRANSCRIPT_RESPONSE' = "AGENT_TRANSCRIPT_RESPONSE",
|
|
73
75
|
'AGENT_AI_RESPONSE' = "AGENT_AI_RESPONSE",
|
|
74
76
|
'AGENT_AI_AGENT_RESPONSE' = "AGENT_AI_AGENT_RESPONSE",
|
|
75
|
-
'PRO_ACTIVE_CHANGE' = "PRO_ACTIVE_CHANGE"
|
|
77
|
+
'PRO_ACTIVE_CHANGE' = "PRO_ACTIVE_CHANGE",
|
|
78
|
+
'RESOLUTION_COMMENTS_RESPONSE' = "RESOLUTION_COMMENTS_RESPONSE"
|
|
76
79
|
}
|
|
77
80
|
export declare enum INTERNAL_EVENTS {
|
|
78
81
|
'USER_TRANSCRIPT_MSG' = "USER_TRANSCRIPT_MSG",
|
|
79
|
-
'AGENT_TRANSCRIPT_MSG' = "AGENT_TRANSCRIPT_MSG"
|
|
82
|
+
'AGENT_TRANSCRIPT_MSG' = "AGENT_TRANSCRIPT_MSG",
|
|
83
|
+
'END_OF_CONVERSATION' = "END_OF_CONVERSATION",
|
|
84
|
+
'CONVERSATION_SUMMARY_IN_ASSIST' = "CONVERSATION_SUMMARY_IN_ASSIST"
|
|
80
85
|
}
|
|
@@ -118,6 +118,15 @@ export declare const ClassMapConstanst: {
|
|
|
118
118
|
HINT_CLOSE: string;
|
|
119
119
|
HINT_TEMPLATE: string;
|
|
120
120
|
SEND_TEXT: string;
|
|
121
|
+
SCROLL_DATA_ASSIST: string;
|
|
122
|
+
DESC_TEXT_SUGGESTION: string;
|
|
123
|
+
DESC_TEXT_SNIPPET_EXTERNAL: string;
|
|
124
|
+
DESC_TEXT_SNIPPET_INTERNAL: string;
|
|
125
|
+
MORE_BTN_CONTAINER: string;
|
|
126
|
+
EXTERNAL_SNIPPET_MORE_BTN_CONTAINER: string;
|
|
127
|
+
INTERNAL_SNIPPET_MORE_BTN_CONTAINER: string;
|
|
128
|
+
MORE_BUTTON: string;
|
|
129
|
+
SUGGESTION_EXPANDED: string;
|
|
121
130
|
};
|
|
122
131
|
export declare const IdMapConstant: {
|
|
123
132
|
PROACTIVE_BTN: string;
|
|
@@ -131,4 +140,5 @@ export declare const IdMapConstant: {
|
|
|
131
140
|
SEARCH_FILE_SUGGESTION: string;
|
|
132
141
|
SEARCH_INPUT: string;
|
|
133
142
|
SEARCH_SUGGESTION_BLOCK: string;
|
|
143
|
+
SUMMARY_OVERLAY_BLOCK: string;
|
|
134
144
|
};
|
|
@@ -18,8 +18,8 @@ export declare class rootService {
|
|
|
18
18
|
proactiveMode: boolean;
|
|
19
19
|
constructor();
|
|
20
20
|
formatWelcomeMessageResponse(data: any): any;
|
|
21
|
-
formatSearchResponse(response: any, isSearch
|
|
22
|
-
formatSnippetResponse(snippetsArray: any, response: any): any;
|
|
21
|
+
formatSearchResponse(response: any, isSearch: boolean | undefined, suggestionIndex: number): any;
|
|
22
|
+
formatSnippetResponse(snippetsArray: any, response: any, suggestionIndex: number): any;
|
|
23
23
|
updateSearchResponse(assistResponseArray: any, response: any, ambiguityTokenExt: any): any;
|
|
24
24
|
prepareFeedbackForSuggestions(suggestionType: any, suggestion: any, feedbackData?: any): any;
|
|
25
25
|
checkEmptyObjectsInArray(arr: any): any;
|
|
@@ -70,5 +70,7 @@ export declare class rootService {
|
|
|
70
70
|
renderEachFileInSuggestionList(searchResponse: any, filesListHtml: any, hideActionButtons: boolean, hideCopyButton: boolean, hideSendButton: boolean, hostInstance: any): void;
|
|
71
71
|
handleSearchText(searchText: any, hostInstance: any): void;
|
|
72
72
|
addOrHideFAQActionExpandCloseElements(faq: any, hideActionButtons: any, hideCopyButton: any, hideSendButton: any, suggestionHeaderTemplate: any, faqListHTML: any, index: any, hostInstance: any): void;
|
|
73
|
+
handleSeeMoreButtonsForSearchAssist(suggestionElement: any, descClassName: any, moreContainer: any, hostInstance: any): void;
|
|
74
|
+
handleSeeMoreButtonsForFaq(suggestionElement: any, descClassName: any, moreContainer: any, hostInstance: any, faqinx?: number): void;
|
|
73
75
|
}
|
|
74
76
|
export default rootService;
|