@cimulate/copilot-widget 0.6.0 → 0.7.0
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.
|
@@ -67,7 +67,7 @@ export declare const eventHandlers: {
|
|
|
67
67
|
updateCatalogSegment: (segment: string | null) => void;
|
|
68
68
|
};
|
|
69
69
|
components: {
|
|
70
|
-
toggleWidgetOpen: (isOpen
|
|
70
|
+
toggleWidgetOpen: (isOpen?: boolean) => void;
|
|
71
71
|
toggleModalFullscreen: (isFullscreen: boolean) => void;
|
|
72
72
|
setWidgetType: (type: "chat" | "dialog" | "modal") => void;
|
|
73
73
|
setWidgetDialogPosition: (position: DialogPosition) => void;
|
|
@@ -94,6 +94,7 @@ export declare interface SearchPayload {
|
|
|
94
94
|
facetFilters?: FacetFilters_2;
|
|
95
95
|
rangeFilters?: RangeFilters;
|
|
96
96
|
catalogSegment?: string | null;
|
|
97
|
+
pricebooks?: string[] | null;
|
|
97
98
|
};
|
|
98
99
|
}
|
|
99
100
|
|
|
@@ -119,7 +120,7 @@ export declare const useCopilot: () => SocketSdkContextType;
|
|
|
119
120
|
* CopilotDispatch (redux dispatch) >
|
|
120
121
|
* SocketSdk (copilot-sdk)
|
|
121
122
|
*/
|
|
122
|
-
export declare const WidgetProvider: ({ apiKey, apiToken, baseUrl, logoUrl, headerText, isDevelopment, onConnect, children, }: CopilotWidgetProps & {
|
|
123
|
+
export declare const WidgetProvider: ({ apiKey, apiToken, baseUrl, logoUrl, headerText, theme, globalClassName, isDevelopment, onConnect, children, }: CopilotWidgetProps & {
|
|
123
124
|
children: ReactNode;
|
|
124
125
|
}) => JSX_2.Element;
|
|
125
126
|
|