@debales/ai 1.1.9 → 1.1.10-canary.1
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/browser/ai-browser.js +2743 -244
- package/dist/browser/components/ChatbotComponent1.d.ts +17 -0
- package/dist/browser/components/ChatbotComponent2.d.ts +17 -0
- package/dist/browser/components/ChatbotComponent3.d.ts +17 -0
- package/dist/browser/components/Chatbotshow.d.ts +2 -0
- package/dist/browser/components/common/DynamicSuggestedQuestion1.d.ts +17 -0
- package/dist/browser/components/common/DynamicSuggestedQuestion2.d.ts +15 -0
- package/dist/browser/components/common/DynamicSuggestedQuestion3.d.ts +15 -0
- package/dist/browser/constants/index.d.ts +1 -1
- package/dist/module/ai.js +40870 -33823
- package/dist/module/ai.umd.js +2860 -361
- package/dist/module/components/ChatbotComponent1.d.ts +17 -0
- package/dist/module/components/ChatbotComponent2.d.ts +17 -0
- package/dist/module/components/ChatbotComponent3.d.ts +17 -0
- package/dist/module/components/Chatbotshow.d.ts +2 -0
- package/dist/module/components/common/DynamicSuggestedQuestion1.d.ts +17 -0
- package/dist/module/components/common/DynamicSuggestedQuestion2.d.ts +15 -0
- package/dist/module/components/common/DynamicSuggestedQuestion3.d.ts +15 -0
- package/dist/module/constants/index.d.ts +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ChatBoxProps } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
interface Window {
|
|
4
|
+
triggerGokwikCustomCheckout?: () => void;
|
|
5
|
+
shiprocketCheckoutEvents?: {
|
|
6
|
+
buyCart?: () => void;
|
|
7
|
+
};
|
|
8
|
+
openRzpCheckout?: () => void;
|
|
9
|
+
Thinkific?: {
|
|
10
|
+
current_user?: {
|
|
11
|
+
full_name: string;
|
|
12
|
+
email: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export declare const ChatbotComponent1: ({ botId }: ChatBoxProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ChatBoxProps } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
interface Window {
|
|
4
|
+
triggerGokwikCustomCheckout?: () => void;
|
|
5
|
+
shiprocketCheckoutEvents?: {
|
|
6
|
+
buyCart?: () => void;
|
|
7
|
+
};
|
|
8
|
+
openRzpCheckout?: () => void;
|
|
9
|
+
Thinkific?: {
|
|
10
|
+
current_user?: {
|
|
11
|
+
full_name: string;
|
|
12
|
+
email: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export declare const ChatbotComponent2: ({ botId }: ChatBoxProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ChatBoxProps } from '../types';
|
|
2
|
+
declare global {
|
|
3
|
+
interface Window {
|
|
4
|
+
triggerGokwikCustomCheckout?: () => void;
|
|
5
|
+
shiprocketCheckoutEvents?: {
|
|
6
|
+
buyCart?: () => void;
|
|
7
|
+
};
|
|
8
|
+
openRzpCheckout?: () => void;
|
|
9
|
+
Thinkific?: {
|
|
10
|
+
current_user?: {
|
|
11
|
+
full_name: string;
|
|
12
|
+
email: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export declare const ChatbotComponent3: ({ botId }: ChatBoxProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { UiData } from '../../types';
|
|
3
|
+
interface AnimatedSuggestionProps {
|
|
4
|
+
messages: {
|
|
5
|
+
question: string;
|
|
6
|
+
isHighlighted: boolean;
|
|
7
|
+
show_for: number;
|
|
8
|
+
hide_timing: number;
|
|
9
|
+
}[];
|
|
10
|
+
botId?: string;
|
|
11
|
+
uiData?: UiData;
|
|
12
|
+
isHighlighted?: boolean;
|
|
13
|
+
onClick?: (message: string) => void;
|
|
14
|
+
onClose?: () => void;
|
|
15
|
+
}
|
|
16
|
+
declare const AnimatedSuggestion: React.FC<AnimatedSuggestionProps>;
|
|
17
|
+
export default AnimatedSuggestion;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { UiData } from '../../types';
|
|
3
|
+
interface AnimatedSuggestionProps {
|
|
4
|
+
messages: {
|
|
5
|
+
question: string;
|
|
6
|
+
isHighlighted: boolean;
|
|
7
|
+
}[];
|
|
8
|
+
botId?: string;
|
|
9
|
+
uiData?: UiData;
|
|
10
|
+
isHighlighted?: boolean;
|
|
11
|
+
onClick?: (message: string) => void;
|
|
12
|
+
onClose?: () => void;
|
|
13
|
+
}
|
|
14
|
+
declare const AnimatedSuggestion: React.FC<AnimatedSuggestionProps>;
|
|
15
|
+
export default AnimatedSuggestion;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { UiData } from '../../types';
|
|
3
|
+
interface AnimatedSuggestionProps {
|
|
4
|
+
messages: {
|
|
5
|
+
question: string;
|
|
6
|
+
isHighlighted: boolean;
|
|
7
|
+
}[];
|
|
8
|
+
botId?: string;
|
|
9
|
+
uiData?: UiData;
|
|
10
|
+
isHighlighted?: boolean;
|
|
11
|
+
onClick?: (message: string) => void;
|
|
12
|
+
onClose?: () => void;
|
|
13
|
+
}
|
|
14
|
+
declare const AnimatedSuggestion: React.FC<AnimatedSuggestionProps>;
|
|
15
|
+
export default AnimatedSuggestion;
|