@robylon/web-react-sdk 1.1.36-staging.5 → 1.1.36
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/README.md +179 -19
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/ChatbotContainer/ChatbotContainer.d.ts +5 -0
- package/dist/cjs/types/components/ChatbotFloatingButton.d.ts +3 -0
- package/dist/cjs/types/components/ChatbotIframe.d.ts +2 -0
- package/dist/cjs/types/components/RobylonChatbot.d.ts +7 -3
- package/dist/cjs/types/constants/fontStyles.d.ts +2 -0
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/cjs/types/types/events.d.ts +8 -1
- package/dist/cjs/types/types.d.ts +46 -0
- package/dist/cjs/types/utils/fetchData.d.ts +17 -0
- package/dist/cjs/types/utils/proactive.d.ts +4 -0
- package/dist/cjs/types/vanilla/components/ChatbotContainer.d.ts +3 -1
- package/dist/cjs/types/vanilla/components/ChatbotFloatingButton.d.ts +8 -0
- package/dist/cjs/types/vanilla/components/ChatbotIframe.d.ts +2 -0
- package/dist/cjs/types/vanilla/index.d.ts +3 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/ChatbotContainer/ChatbotContainer.d.ts +5 -0
- package/dist/esm/types/components/ChatbotFloatingButton.d.ts +3 -0
- package/dist/esm/types/components/ChatbotIframe.d.ts +2 -0
- package/dist/esm/types/components/RobylonChatbot.d.ts +7 -3
- package/dist/esm/types/constants/fontStyles.d.ts +2 -0
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/esm/types/types/events.d.ts +8 -1
- package/dist/esm/types/types.d.ts +46 -0
- package/dist/esm/types/utils/fetchData.d.ts +17 -0
- package/dist/esm/types/utils/proactive.d.ts +4 -0
- package/dist/esm/types/vanilla/components/ChatbotContainer.d.ts +3 -1
- package/dist/esm/types/vanilla/components/ChatbotFloatingButton.d.ts +8 -0
- package/dist/esm/types/vanilla/components/ChatbotIframe.d.ts +2 -0
- package/dist/esm/types/vanilla/index.d.ts +3 -0
- package/dist/index.d.ts +63 -3
- package/dist/umd/robylon-chatbot.js +1 -1
- package/dist/umd/robylon-chatbot.js.map +1 -1
- package/dist/umd/types/components/ChatbotContainer/ChatbotContainer.d.ts +5 -0
- package/dist/umd/types/components/ChatbotFloatingButton.d.ts +3 -0
- package/dist/umd/types/components/ChatbotIframe.d.ts +2 -0
- package/dist/umd/types/components/RobylonChatbot.d.ts +7 -3
- package/dist/umd/types/constants/fontStyles.d.ts +2 -0
- package/dist/umd/types/index.d.ts +1 -0
- package/dist/umd/types/types/events.d.ts +8 -1
- package/dist/umd/types/types.d.ts +46 -0
- package/dist/umd/types/utils/fetchData.d.ts +17 -0
- package/dist/umd/types/utils/proactive.d.ts +4 -0
- package/dist/umd/types/vanilla/components/ChatbotContainer.d.ts +3 -1
- package/dist/umd/types/vanilla/components/ChatbotFloatingButton.d.ts +8 -0
- package/dist/umd/types/vanilla/components/ChatbotIframe.d.ts +2 -0
- package/dist/umd/types/vanilla/index.d.ts +3 -0
- package/package.json +2 -2
- package/dist/cjs/types/types/config.d.ts +0 -33
- package/dist/cjs/types/types/index.d.ts +0 -16
- package/dist/esm/types/types/config.d.ts +0 -33
- package/dist/esm/types/types/index.d.ts +0 -16
- package/dist/umd/types/types/config.d.ts +0 -33
- package/dist/umd/types/types/index.d.ts +0 -16
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export interface UserProfile {
|
|
2
|
-
email: string;
|
|
3
|
-
name: string;
|
|
4
|
-
platform?: string;
|
|
5
|
-
OS?: string;
|
|
6
|
-
browser?: string;
|
|
7
|
-
sdkVersion?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface ChatbotStyles {
|
|
10
|
-
buttonPosition?: "bottom-right" | "bottom-left";
|
|
11
|
-
primaryColor?: string;
|
|
12
|
-
buttonSize?: "small" | "medium" | "large";
|
|
13
|
-
}
|
|
14
|
-
export interface ChatbotConfig {
|
|
15
|
-
chatbotId: string;
|
|
16
|
-
userId: string;
|
|
17
|
-
token: string;
|
|
18
|
-
userProfile?: Record<string, any>;
|
|
19
|
-
domain: string;
|
|
20
|
-
brand_colour: string;
|
|
21
|
-
image_url?: string;
|
|
22
|
-
chat_interface_config?: {
|
|
23
|
-
chat_bubble_prompts?: string[];
|
|
24
|
-
display_name?: string;
|
|
25
|
-
welcome_message?: string;
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
export interface RobylonSdkConfig {
|
|
29
|
-
chatbot_id: string;
|
|
30
|
-
user_id: string;
|
|
31
|
-
token?: string;
|
|
32
|
-
userProfile: UserProfile;
|
|
33
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export * from "./config";
|
|
2
|
-
export * from "./state";
|
|
3
|
-
export interface ChatbotConfig {
|
|
4
|
-
chatbotId: string;
|
|
5
|
-
userId: string;
|
|
6
|
-
token: string;
|
|
7
|
-
userProfile?: Record<string, any>;
|
|
8
|
-
domain: string;
|
|
9
|
-
brand_colour: string;
|
|
10
|
-
image_url?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface ChatbotState {
|
|
13
|
-
isLoading: boolean;
|
|
14
|
-
isInitialized: boolean;
|
|
15
|
-
error: string | null;
|
|
16
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export interface UserProfile {
|
|
2
|
-
email: string;
|
|
3
|
-
name: string;
|
|
4
|
-
platform?: string;
|
|
5
|
-
OS?: string;
|
|
6
|
-
browser?: string;
|
|
7
|
-
sdkVersion?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface ChatbotStyles {
|
|
10
|
-
buttonPosition?: "bottom-right" | "bottom-left";
|
|
11
|
-
primaryColor?: string;
|
|
12
|
-
buttonSize?: "small" | "medium" | "large";
|
|
13
|
-
}
|
|
14
|
-
export interface ChatbotConfig {
|
|
15
|
-
chatbotId: string;
|
|
16
|
-
userId: string;
|
|
17
|
-
token: string;
|
|
18
|
-
userProfile?: Record<string, any>;
|
|
19
|
-
domain: string;
|
|
20
|
-
brand_colour: string;
|
|
21
|
-
image_url?: string;
|
|
22
|
-
chat_interface_config?: {
|
|
23
|
-
chat_bubble_prompts?: string[];
|
|
24
|
-
display_name?: string;
|
|
25
|
-
welcome_message?: string;
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
export interface RobylonSdkConfig {
|
|
29
|
-
chatbot_id: string;
|
|
30
|
-
user_id: string;
|
|
31
|
-
token?: string;
|
|
32
|
-
userProfile: UserProfile;
|
|
33
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export * from "./config";
|
|
2
|
-
export * from "./state";
|
|
3
|
-
export interface ChatbotConfig {
|
|
4
|
-
chatbotId: string;
|
|
5
|
-
userId: string;
|
|
6
|
-
token: string;
|
|
7
|
-
userProfile?: Record<string, any>;
|
|
8
|
-
domain: string;
|
|
9
|
-
brand_colour: string;
|
|
10
|
-
image_url?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface ChatbotState {
|
|
13
|
-
isLoading: boolean;
|
|
14
|
-
isInitialized: boolean;
|
|
15
|
-
error: string | null;
|
|
16
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export interface UserProfile {
|
|
2
|
-
email: string;
|
|
3
|
-
name: string;
|
|
4
|
-
platform?: string;
|
|
5
|
-
OS?: string;
|
|
6
|
-
browser?: string;
|
|
7
|
-
sdkVersion?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface ChatbotStyles {
|
|
10
|
-
buttonPosition?: "bottom-right" | "bottom-left";
|
|
11
|
-
primaryColor?: string;
|
|
12
|
-
buttonSize?: "small" | "medium" | "large";
|
|
13
|
-
}
|
|
14
|
-
export interface ChatbotConfig {
|
|
15
|
-
chatbotId: string;
|
|
16
|
-
userId: string;
|
|
17
|
-
token: string;
|
|
18
|
-
userProfile?: Record<string, any>;
|
|
19
|
-
domain: string;
|
|
20
|
-
brand_colour: string;
|
|
21
|
-
image_url?: string;
|
|
22
|
-
chat_interface_config?: {
|
|
23
|
-
chat_bubble_prompts?: string[];
|
|
24
|
-
display_name?: string;
|
|
25
|
-
welcome_message?: string;
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
export interface RobylonSdkConfig {
|
|
29
|
-
chatbot_id: string;
|
|
30
|
-
user_id: string;
|
|
31
|
-
token?: string;
|
|
32
|
-
userProfile: UserProfile;
|
|
33
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export * from "./config";
|
|
2
|
-
export * from "./state";
|
|
3
|
-
export interface ChatbotConfig {
|
|
4
|
-
chatbotId: string;
|
|
5
|
-
userId: string;
|
|
6
|
-
token: string;
|
|
7
|
-
userProfile?: Record<string, any>;
|
|
8
|
-
domain: string;
|
|
9
|
-
brand_colour: string;
|
|
10
|
-
image_url?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface ChatbotState {
|
|
13
|
-
isLoading: boolean;
|
|
14
|
-
isInitialized: boolean;
|
|
15
|
-
error: string | null;
|
|
16
|
-
}
|