@cimulate/copilot-widget 0.7.0 → 0.8.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.
|
@@ -89,15 +89,23 @@ declare type RangeFilters = Array<{
|
|
|
89
89
|
|
|
90
90
|
export declare interface SearchPayload {
|
|
91
91
|
userPrompt?: string;
|
|
92
|
-
searchParams: {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
rangeFilters?: RangeFilters;
|
|
96
|
-
catalogSegment?: string | null;
|
|
97
|
-
pricebooks?: string[] | null;
|
|
92
|
+
searchParams: Omit<SearchState, "page" | "pageSize" | "includeFacets"> & {
|
|
93
|
+
catalogSegment?: string;
|
|
94
|
+
pricebooks?: string[];
|
|
98
95
|
};
|
|
99
96
|
}
|
|
100
97
|
|
|
98
|
+
declare interface SearchState {
|
|
99
|
+
query: string;
|
|
100
|
+
page?: number | null;
|
|
101
|
+
pageSize?: number | null;
|
|
102
|
+
includeFacets?: boolean;
|
|
103
|
+
facetFilters?: FacetFilters_2;
|
|
104
|
+
rangeFilters?: RangeFilters;
|
|
105
|
+
catalogSegment?: string | null;
|
|
106
|
+
pricebooks?: string[] | null;
|
|
107
|
+
}
|
|
108
|
+
|
|
101
109
|
declare interface ThemeConfig {
|
|
102
110
|
primaryColor?: string;
|
|
103
111
|
secondaryColor?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cimulate/copilot-widget",
|
|
3
3
|
"description": "A frontend SDK for Cimulate Copilot",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.8.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cimulate",
|
|
7
7
|
"copilot",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@ark-ui/react": "~5.18.3",
|
|
54
|
-
"@cimulate/copilot-sdk": "~3.
|
|
55
|
-
"@cimulate/search-sdk": "~1.0
|
|
54
|
+
"@cimulate/copilot-sdk": "~3.5.0",
|
|
55
|
+
"@cimulate/search-sdk": "~1.1.0",
|
|
56
56
|
"axios": "~1.12.2",
|
|
57
57
|
"clsx": "2.1.1",
|
|
58
58
|
"next-themes": "~0.4.6",
|