bibot 1.0.45 → 1.0.51
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/component/aiFollowUps.d.ts +4 -0
- package/dist/component/bibot.d.ts +1 -1
- package/dist/component/predefinedQuestions.d.ts +4 -0
- package/dist/config/appStateEnums.d.ts +4 -1
- package/dist/hooks/useBiBotChatBot.d.ts +6 -5
- package/dist/index.d.ts +1 -1
- package/dist/index.js +217 -188
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +218 -189
- package/dist/index.modern.js.map +1 -1
- package/dist/services/plugin-api.d.ts +4 -4
- package/dist/types/coreInterfaces.d.ts +23 -15
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import { BiBotProps } from '../types/coreInterfaces';
|
3
|
-
declare const ChatBubbleBiBot: (
|
3
|
+
declare const ChatBubbleBiBot: (bibotProps: BiBotProps) => React.JSX.Element;
|
4
4
|
export default ChatBubbleBiBot;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { BiBotProps,
|
3
|
-
declare const useBiBotChatBot: (
|
2
|
+
import { BiBotProps, MESSAGES, PredefinedQuestionsType } from '../types/coreInterfaces';
|
3
|
+
declare const useBiBotChatBot: (bibotProps: BiBotProps) => {
|
4
4
|
chatIsOpen: boolean;
|
5
5
|
messages: MESSAGES;
|
6
6
|
isLoading: boolean;
|
@@ -10,9 +10,10 @@ declare const useBiBotChatBot: ({ clientId, client_session_id, test }: BiBotProp
|
|
10
10
|
handleKeyPress: (e: React.KeyboardEvent<HTMLInputElement>) => Promise<void>;
|
11
11
|
toggleChat: () => void;
|
12
12
|
sendInputInquiry: () => Promise<void>;
|
13
|
-
chatBubbleConfig: ChatBubbleConfigProps
|
13
|
+
chatBubbleConfig: import("../types/coreInterfaces").ChatBubbleConfigProps;
|
14
14
|
showPredefinedQuestions: boolean;
|
15
|
-
predefinedQuestions:
|
16
|
-
|
15
|
+
predefinedQuestions: [] | PredefinedQuestionsType[];
|
16
|
+
aiFollowUpQs: [] | PredefinedQuestionsType[];
|
17
|
+
handlePredefinedQuestionSelect: (question: PredefinedQuestionsType) => void;
|
17
18
|
};
|
18
19
|
export { useBiBotChatBot };
|
package/dist/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import './styles.css';
|
3
3
|
import { BiBotProps } from './types/coreInterfaces';
|
4
|
-
export declare const BiBot: (
|
4
|
+
export declare const BiBot: (bibotProps: BiBotProps) => React.JSX.Element;
|