@koredev/agentai-web-sdk 3.21.0-rc → 3.22.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/dist/components/aaWindow/aaWindow.d.ts +1 -0
- package/dist/components/common/constants/errorcodes.d.ts +16 -0
- package/dist/components/common/constants/events.cnst.d.ts +5 -2
- package/dist/components/common/constants/projConsts.d.ts +1 -0
- package/dist/components/common/services/rootService.d.ts +7 -6
- package/dist/components/common/templatemanager/tabs/suggestions/searchai-template/searchai-template.d.ts +3 -0
- package/dist/esm/agentai-web-sdk.min.js +1 -1
- package/dist/umd/agentai-web-sdk-umd.min.js +1 -1
- package/package.json +1 -1
- package/dist/components/common/templatemanager/base/aaContainer/splitContainer.d.ts +0 -2
- package/dist/umd/agentai-web-sdk-umd.min.js.map +0 -1
- package/dist/umd/hot/hot-update.js +0 -3622
- package/dist/umd/hot/hot-update.js.map +0 -1
- package/dist/umd/hot/hot-update.json +0 -1
|
@@ -151,4 +151,20 @@ export declare const ERROR_CODES: {
|
|
|
151
151
|
requiredFields: string[];
|
|
152
152
|
};
|
|
153
153
|
};
|
|
154
|
+
ERR_SUMMARIES_COUNT_EXCEEDED: {
|
|
155
|
+
message: string;
|
|
156
|
+
action: string;
|
|
157
|
+
code: string;
|
|
158
|
+
details: {
|
|
159
|
+
requiredFields: never[];
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
ERR_SUMMARY_NOT_ENABLED: {
|
|
163
|
+
message: string;
|
|
164
|
+
action: string;
|
|
165
|
+
code: string;
|
|
166
|
+
details: {
|
|
167
|
+
requiredFields: never[];
|
|
168
|
+
};
|
|
169
|
+
};
|
|
154
170
|
};
|
|
@@ -172,7 +172,9 @@ export declare enum SDK_EVENTS {
|
|
|
172
172
|
"ACP_AGENTIC_EMPTY_TEMPLATE" = "ACP_AGENTIC_EMPTY_TEMPLATE",
|
|
173
173
|
"ACP_AGENTIC_OVERRIDE_INPUT_TEMPLATE" = "ACP_AGENTIC_OVERRIDE_INPUT_TEMPLATE",
|
|
174
174
|
"ACP_AGENTIC_DYNAMIC_SEND_ACTION_BTN_TEMPLATE" = "ACP_AGENTIC_DYNAMIC_SEND_ACTION_BTN_TEMPLATE",
|
|
175
|
-
"ACP_AGENTIC_SEARCH_RESULTS_TEMPLATE" = "ACP_AGENTIC_SEARCH_RESULTS_TEMPLATE"
|
|
175
|
+
"ACP_AGENTIC_SEARCH_RESULTS_TEMPLATE" = "ACP_AGENTIC_SEARCH_RESULTS_TEMPLATE",
|
|
176
|
+
"SEARCHAI_TEMPLATE" = "SEARCHAI_TEMPLATE",
|
|
177
|
+
"ON_URL_CLICK" = "ON_URL_CLICK"
|
|
176
178
|
}
|
|
177
179
|
export declare enum DATA_EVENTS {
|
|
178
180
|
'AGENT_COACHING_RESPONSES' = "AGENT_COACHING_RESPONSES",
|
|
@@ -223,7 +225,8 @@ export declare enum INTERNAL_EVENTS {
|
|
|
223
225
|
'SHOW_ALL_DIALOGS' = "SHOW_ALL_DIALOGS",
|
|
224
226
|
'AGENTIC_START' = "AGENTIC_START",
|
|
225
227
|
'AGENTIC_END' = "AGENTIC_END",
|
|
226
|
-
'AGENTIC_REQUEST_ACK' = "AGENTIC_REQUEST_ACK"
|
|
228
|
+
'AGENTIC_REQUEST_ACK' = "AGENTIC_REQUEST_ACK",
|
|
229
|
+
'INTERM_SUMMARY_METHOD_CALL' = "INTERM_SUMMARY_METHOD_CALL"
|
|
227
230
|
}
|
|
228
231
|
export declare enum EVENTS_TO_SDK {
|
|
229
232
|
UPDATE_ACTIVE_TAB = "updateActiveTab",
|
|
@@ -82,7 +82,6 @@ export declare class rootService {
|
|
|
82
82
|
searchHistoryData: any;
|
|
83
83
|
menuResponse: any;
|
|
84
84
|
isGroups: boolean;
|
|
85
|
-
isHistory: boolean;
|
|
86
85
|
customTabHistoryData: any;
|
|
87
86
|
aaHelpers: any;
|
|
88
87
|
disableWidgetFlag: boolean;
|
|
@@ -111,10 +110,11 @@ export declare class rootService {
|
|
|
111
110
|
updateDefaultFeedbackData(): void;
|
|
112
111
|
formatSearchResponse(response: any, isSearch: boolean | undefined, suggestionIndex: number, suggestionFrom?: string): any;
|
|
113
112
|
formatSnippetResponse(snippetsArray: any, response: any, suggestionIndex: number): any;
|
|
113
|
+
formatAnswerTemplate(payload: any): any[];
|
|
114
114
|
updateSearchResponse(assistResponseArray: any, response: any, ambiguityTokenExt: any): any;
|
|
115
115
|
checkEmptyObjectsInArray(arr: any): any;
|
|
116
116
|
formatFAQResponse(faqArray: any): any[];
|
|
117
|
-
openurlInBrowser(url: any): void;
|
|
117
|
+
openurlInBrowser(url: any, hostInstance: any): void;
|
|
118
118
|
extractTextFromElement(element: HTMLElement): string;
|
|
119
119
|
handleSendCopyButton(actionType: any, faq_or_article_obj: any, selectType: any): any;
|
|
120
120
|
faqArticleSendorCopyEvent(selectType: any, message: any, faq_or_article_obj: any): any;
|
|
@@ -138,7 +138,7 @@ export declare class rootService {
|
|
|
138
138
|
setFaqIndividualLoader(inx: any, hide: boolean | undefined, id: string, hostInstance: any): void;
|
|
139
139
|
addOrHideFAQArrows(faqUpArrowTemplate: any, faqDownArrowTemplate: any, type: string): void;
|
|
140
140
|
toggleArrows(index: number, faqId: string, hostInstance: any): void;
|
|
141
|
-
openLinksInBrowser(url: any): void;
|
|
141
|
+
openLinksInBrowser(url: any, hostInstance: any): void;
|
|
142
142
|
openurlInBrowserForSnippet(url: any, snippet: any, hostInstance: any): void;
|
|
143
143
|
handleUrlClickEvent(url: any, snippet: any, hostInstance: any): void;
|
|
144
144
|
commonRequestParamsForActivity(snippet: any): {
|
|
@@ -158,12 +158,13 @@ export declare class rootService {
|
|
|
158
158
|
checkAnswerAndToggleForSearch(faq: any, index: number, hostInstance: any): void;
|
|
159
159
|
renderEachFaqInSuggestionList(searchResponse: any, faqListHTML: any, hostInstance: any, isAssistSuggestion: boolean, props: any): void;
|
|
160
160
|
renderEachSnippetInSuggestionList(searchResponse: any, snippetListHtml: any, hostInstance: any): void;
|
|
161
|
+
addEventListenersToSearchAISource(searchResponse: any, searchaiListHtml: any, hostInstance: any): void;
|
|
161
162
|
handleSendCopyForAgenticSearchResults(agenticSearchResultsElement: any, response: any, hostInstance: any): void;
|
|
162
163
|
renderEachArticleInSuggestionList(searchResponse: any, articlesListHTML: any, hostInstance: any): void;
|
|
163
164
|
renderEachFileInSuggestionList(searchResponse: any, filesListHtml: any, hostInstance: any): void;
|
|
164
165
|
handleSearchText(searchText: any, hostInstance: any): void;
|
|
165
166
|
addOrHideFAQActionExpandCloseElements(faq: any, suggestionHeaderTemplate: any, faqListHTML: any, index: any, hostInstance: any): void;
|
|
166
|
-
handleSeeMoreButtonsForSearchAssist(suggestionElement: any, descClassName: any, moreContainer: any, hostInstance: any): void;
|
|
167
|
+
handleSeeMoreButtonsForSearchAssist(suggestionElement: any, descClassName: any, moreContainer: any, hostInstance: any, isSearchai?: boolean): void;
|
|
167
168
|
handleSeeMoreButtonsForFaq(suggestionElement: any, descClassName: any, moreContainer: any, hostInstance: any, faqinx?: number): void;
|
|
168
169
|
prepareChecklistPayload(event: any, checkListData: any, checklistObj: any, step?: boolean, stageId?: string): any;
|
|
169
170
|
sendAndCopyForPlaybook(eventName: string, payload: any, eachPlaybookStep: any, hostInstance: any): void;
|
|
@@ -275,8 +276,8 @@ export declare class rootService {
|
|
|
275
276
|
getAutomationNodeTemplate(automation: any, automationNodeObj: any, activeTab: string, hostInstance: any): any;
|
|
276
277
|
checkForGreyOut(template: any, automationNodeObj: any, hostInstance: any): void;
|
|
277
278
|
templateRenderCheck(template: any, automationNodeObj: any, hostInstance: any): void;
|
|
278
|
-
appendTemplate: (template: any, entityNode: any) => void;
|
|
279
|
-
appendTemplateToContainer(template: HTMLElement | null, entityNode: any): void;
|
|
279
|
+
appendTemplate: (template: any, entityNode: any, hostInstance: any) => void;
|
|
280
|
+
appendTemplateToContainer(template: HTMLElement | null, entityNode: any, hostInstance: any): void;
|
|
280
281
|
handleErrorPrompts(automation: any, automationNodeObj: any, hostInstance: any): void;
|
|
281
282
|
appendAutomationEachNodeTemplate(dialogWrapper: any, template: any, automationNodeObj: any, dialogId: string): void;
|
|
282
283
|
handleEntityNodeClickEvents(askCustTemplate: any, automationNodeObj: any, currentTab: string, hostInstance: any): void;
|