impact-chatbot 2.3.16 → 2.3.18

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.
@@ -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>;
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[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impact-chatbot",
3
- "version": "2.3.16",
3
+ "version": "2.3.18",
4
4
  "description": "Standalone chatbot library - 1:1 copy of smartBot converted to TypeScript",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",