impact-chatbot 2.3.15 → 2.3.17
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/index.cjs.js +48 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +48 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/services/chatbot-services.d.ts +1 -0
- package/dist/utils/coreUtils.d.ts +7 -0
- package/dist/utlis.d.ts +1 -1
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ export declare const getSmartBotVisibilityData: () => any;
|
|
|
4
4
|
export declare const refreshAndUpdateUserManualApi: (body: any) => Promise<any>;
|
|
5
5
|
export declare const fetchScreensForModule: (flowType: any) => Promise<any>;
|
|
6
6
|
export declare const likeDislikeComment: (payload: any) => Promise<any>;
|
|
7
|
+
export declare const likeDislikeCommentForAgent: (payload: any, baseUrl: any) => Promise<any>;
|
|
7
8
|
export declare const fetchIntentApiResponse: (input?: string) => Promise<any>;
|
|
8
9
|
export declare const fetchAgentsInfo: (baseUrl: any) => Promise<any>;
|
|
9
10
|
export declare const initiateAgent: (payload: any, baseUrl: any) => Promise<any>;
|
|
@@ -10,6 +10,13 @@ export declare const pxToRem: (pxValue: number) => string;
|
|
|
10
10
|
* Replace special characters in a string
|
|
11
11
|
*/
|
|
12
12
|
export declare const replaceSpecialCharacter: (str: any) => any;
|
|
13
|
+
/**
|
|
14
|
+
* @function
|
|
15
|
+
* @description Function is used to return string by replacing the special characters with respective key mapped to SPECIAL_CHARACTER_MAPPING
|
|
16
|
+
* @param {String} str
|
|
17
|
+
* @returns {String} key of mapped special character used in the string
|
|
18
|
+
*/
|
|
19
|
+
export declare const replaceSpecialCharToCharCode: (str: any) => any;
|
|
13
20
|
/**
|
|
14
21
|
* Fetch base URL from tenant config
|
|
15
22
|
* This is a stub - the actual implementation should be passed as a prop
|
package/dist/utlis.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export declare const parseResponse: (data: any, type: string, agentId?: string,
|
|
|
26
26
|
* @param {object} templateData
|
|
27
27
|
* @returns
|
|
28
28
|
*/
|
|
29
|
-
export declare const handleMessageLike: (question: any, liked: any, setLoadingState: any, displaySnackMessages: any, templateData: any, activeConversationId: any, answer: any, chatDataInfoRef: any, chatIndex: any, setChatDataState: any) => Promise<boolean>;
|
|
29
|
+
export declare const handleMessageLike: (question: any, liked: any, setLoadingState: any, displaySnackMessages: any, templateData: any, activeConversationId: any, answer: any, chatDataInfoRef: any, chatIndex: any, setChatDataState: any, baseUrl: any, sessionId: any) => Promise<boolean>;
|
|
30
30
|
export declare const ensureConversationExists: (mode: any, conversationId: any, chatDataRef: any) => void;
|
|
31
31
|
export declare const removeAfterLastDash: (str: any) => any;
|
|
32
32
|
export declare const transformValues: (data: any) => any[];
|