impact-chatbot 2.3.19 → 2.3.21

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.
@@ -1,5 +1,5 @@
1
1
  export declare const useAgentFlow: (dateFormat: any, chatDataRef: any, currentMode: any, setShowChatPlaceholder: any, setLoader: any, baseUrl?: string, setCurrentSessionId?: (params: any) => void, customChatConfig?: any, chatDataInfoRef?: any, utilityObjectData?: {}) => {
2
- setAgentFlow: (payload: any, input?: string, baseUrlTemp?: string) => Promise<void>;
2
+ setAgentFlow: (payload: any, input?: string, baseUrlTemp?: string, conversationIdParam?: any) => Promise<void>;
3
3
  prepareDataAndSendToAgent: (data: any, init: boolean, utilityObjectData: any) => void;
4
- processResponse: (response: any, payload: any, currentModeValue: any, customChatConfig: any, utilsObject: any) => Promise<void>;
4
+ processResponse: (response: any, payload: any, currentModeValue: any, customChatConfig: any, utilsObject: any, conversationId: any) => Promise<void>;
5
5
  };
@@ -1,7 +1,7 @@
1
- export declare const useChatFlow: (chatDataRef: any, setLoader: any, setFlowType: any, setScreenName: any, setUserInput: any, setQuestionIndex: any, setCurrentAppLink: any, flowType: any, screenName: any, questionIndex: any, userInput: any, dateFormat: any, currentMode: any, activeConversationId: any, setIsModuleChanged: any, chatBodyRef: any, filterReducerState: any, dispatch: any, navigate: any, setShowChatPlaceholder: any, baseUrl: any, setChatDataState: any, setCurrentSessionId: any, customChatConfig: any, chatDataInfoRef: any, chatbotContext: any, setInitValue: any, setSessionId: any, thinkingContent: any, setThinkingContent: any, isThinking: any, setIsThinking: any, chatId: any, setChatId: any, isStop: any, setIsStop: any, functionsRef: any, functionsState: any, setFunctionsState: any, thinkingHeaderMessage: any, setThinkingHeaderMessage: any, uniqueChatId: any, initValue: any, sessionId: any, fieldNumber: any, setFieldNumber: any, additionalArgs: any) => {
1
+ export declare const useChatFlow: (chatDataRef: any, setLoader: any, setFlowType: any, setScreenName: any, setUserInput: any, setQuestionIndex: any, setCurrentAppLink: any, flowType: any, screenName: any, questionIndex: any, userInput: any, dateFormat: any, currentMode: any, activeConversationId: any, setIsModuleChanged: any, chatBodyRef: any, filterReducerState: any, dispatch: any, navigate: any, setShowChatPlaceholder: any, baseUrl: any, setChatDataState: any, setCurrentSessionId: any, customChatConfig: any, chatDataInfoRef: any, chatbotContext: any, setInitValue: any, setSessionId: any, thinkingContent: any, setThinkingContent: any, isThinking: any, setIsThinking: any, chatId: any, setChatId: any, isStop: any, setIsStop: any, functionsRef: any, functionsState: any, setFunctionsState: any, thinkingHeaderMessage: any, setThinkingHeaderMessage: any, uniqueChatId: any, initValue: any, sessionId: any, fieldNumber: any, setFieldNumber: any, additionalArgs: any, setActiveConversationId: any) => {
2
2
  setUserFlow: (data: any) => Promise<void>;
3
3
  setUserScreenAndFlow: (data: any) => void;
4
- fetchUserResultsFromQuery: (refObject: any, fetchQuestions?: boolean, inputValue?: any) => Promise<void>;
4
+ fetchUserResultsFromQuery: (refObject: any, fetchQuestions?: boolean, inputValue?: any, conversationId?: any) => Promise<void>;
5
5
  getCurrentDateTimeString: () => any;
6
6
  setScreens: (screens: any, headerTitle: any, timeString: any, mode: any) => {
7
7
  timeStamp: any;
@@ -123,8 +123,12 @@ export declare const useChatState: () => {
123
123
  }>;
124
124
  chatDataInfoRef: import("react").MutableRefObject<{
125
125
  insights: {};
126
- navigation: {};
127
- agent: {};
126
+ navigation: {
127
+ conversations: {};
128
+ };
129
+ agent: {
130
+ conversations: {};
131
+ };
128
132
  }>;
129
133
  functionsRef: import("react").MutableRefObject<{}>;
130
134
  navigate: any;
@@ -1,10 +1,10 @@
1
- export declare const useConversationManagement: (chatDataRef: any, currentMode: any, activeConversationId: any, setActiveConversationId: any, setChatDataState: any, selectedModule: any, setSelectedModule: any, isModuleChanged: any, setIsModuleChanged: any, setActiveChatId?: () => void, saveCurrentChanges?: () => void) => {
1
+ export declare const useConversationManagement: (chatDataRef: any, currentMode: any, activeConversationId: any, setActiveConversationId: any, setChatDataState: any, selectedModule: any, setSelectedModule: any, isModuleChanged: any, setIsModuleChanged: any, setActiveChatId?: () => void, saveCurrentChanges?: () => void, chatDataInfoRef?: any, setHistoryPanelData?: (_data: any) => void, processResponse?: any) => {
2
2
  loading: boolean;
3
3
  error: any;
4
- fetchConversations: (activeChatId?: any) => Promise<void>;
5
- fetchConversationChats: (conversationId: any) => Promise<void>;
4
+ fetchConversations: (activeChatId?: any, mode?: any) => Promise<void>;
5
+ fetchConversationChats: (conversationId: any, mode?: any) => Promise<void>;
6
6
  createNewConversation: (name: any) => Promise<void>;
7
- renameConversation: (conversationId: any, newName: any) => Promise<boolean>;
8
- deleteConversation: (conversationId: any) => Promise<boolean>;
7
+ renameConversation: (conversationId: any, newName: any, mode?: any) => Promise<boolean>;
8
+ deleteConversation: (conversationId: any, mode?: any) => Promise<boolean>;
9
9
  saveCurrentChat: () => Promise<boolean>;
10
10
  };