@debales/ai 1.1.23-canary.0 → 1.1.24
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 +595 -620
- package/dist/module/ai.js +32334 -37808
- package/dist/module/ai.umd.js +602 -627
- package/dist/module/components/common/DynamicSuggestedQuestion2.d.ts +0 -1
- package/dist/module/types/debales.d.ts +1 -2
- package/package.json +1 -1
|
@@ -12,7 +12,6 @@ interface AnimatedSuggestionProps {
|
|
|
12
12
|
isHighlighted?: boolean;
|
|
13
13
|
onClick?: (message: string) => void;
|
|
14
14
|
onClose?: () => void;
|
|
15
|
-
isLeft?: boolean;
|
|
16
15
|
}
|
|
17
16
|
declare const AnimatedSuggestion: React.FC<AnimatedSuggestionProps>;
|
|
18
17
|
export default AnimatedSuggestion;
|
|
@@ -17,7 +17,7 @@ export interface DebalesContextType {
|
|
|
17
17
|
input: string;
|
|
18
18
|
pendingQuestion: SuggestedQuestionAnswer | null;
|
|
19
19
|
isFormClosedByUser: boolean;
|
|
20
|
-
onSendMessage: (message: string, answer?: string, products?: Product[], fromKlaviyo?: boolean, leading_queries?: string[], followUpQuestion?: string
|
|
20
|
+
onSendMessage: (message: string, answer?: string, products?: Product[], fromKlaviyo?: boolean, leading_queries?: string[], followUpQuestion?: string) => Promise<void>;
|
|
21
21
|
setIsKlaviyoMessage: React.Dispatch<React.SetStateAction<boolean>>;
|
|
22
22
|
setShowUserInfoModel: React.Dispatch<React.SetStateAction<boolean>>;
|
|
23
23
|
setPendingBulkItems: React.Dispatch<React.SetStateAction<VariantQuantity[]>>;
|
|
@@ -51,5 +51,4 @@ export interface WebsocketMessageEvent extends MessageEvent {
|
|
|
51
51
|
answer?: string;
|
|
52
52
|
products?: Product[];
|
|
53
53
|
followUpQuestion?: string;
|
|
54
|
-
messType?: string;
|
|
55
54
|
}
|