impact-chatbot 2.3.18 → 2.3.20

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,4 +1,5 @@
1
- declare const ButtonContent: ({ bodyText }: {
1
+ declare const ButtonContent: ({ bodyText, isFormDisabled }: {
2
2
  bodyText: any;
3
+ isFormDisabled?: boolean;
3
4
  }) => import("react/jsx-runtime").JSX.Element;
4
5
  export default ButtonContent;
@@ -1,4 +1,5 @@
1
- declare const CheckboxContent: ({ bodyText }: {
1
+ declare const CheckboxContent: ({ bodyText, isFormDisabled }: {
2
2
  bodyText: any;
3
+ isFormDisabled?: boolean;
3
4
  }) => import("react/jsx-runtime").JSX.Element;
4
5
  export default CheckboxContent;
@@ -1,4 +1,5 @@
1
- declare const DatePickerContent: ({ bodyText }: {
1
+ declare const DatePickerContent: ({ bodyText, isFormDisabled }: {
2
2
  bodyText: any;
3
+ isFormDisabled?: boolean;
3
4
  }) => import("react/jsx-runtime").JSX.Element;
4
5
  export default DatePickerContent;
@@ -1,4 +1,5 @@
1
- declare const DateRangePickerContent: ({ bodyText }: {
1
+ declare const DateRangePickerContent: ({ bodyText, isFormDisabled }: {
2
2
  bodyText: any;
3
+ isFormDisabled?: boolean;
3
4
  }) => import("react/jsx-runtime").JSX.Element;
4
5
  export default DateRangePickerContent;
@@ -1,4 +1,5 @@
1
- declare const InputContent: ({ bodyText }: {
1
+ declare const InputContent: ({ bodyText, isFormDisabled }: {
2
2
  bodyText: any;
3
+ isFormDisabled?: boolean;
3
4
  }) => import("react/jsx-runtime").JSX.Element;
4
5
  export default InputContent;
@@ -1,4 +1,5 @@
1
- declare const RadioContent: ({ bodyText }: {
1
+ declare const RadioContent: ({ bodyText, isFormDisabled }: {
2
2
  bodyText: any;
3
+ isFormDisabled?: boolean;
3
4
  }) => import("react/jsx-runtime").JSX.Element;
4
5
  export default RadioContent;
@@ -1,4 +1,5 @@
1
- declare const SelectContent: ({ bodyText }: {
1
+ declare const SelectContent: ({ bodyText, isFormDisabled }: {
2
2
  bodyText: any;
3
+ isFormDisabled?: boolean;
3
4
  }) => import("react/jsx-runtime").JSX.Element;
4
5
  export default SelectContent;
@@ -1,4 +1,5 @@
1
- declare const SliderContent: ({ bodyText }: {
1
+ declare const SliderContent: ({ bodyText, isFormDisabled }: {
2
2
  bodyText: any;
3
+ isFormDisabled?: boolean;
3
4
  }) => import("react/jsx-runtime").JSX.Element;
4
5
  export default SliderContent;
@@ -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
  };