@coveo/thermidor-schema 1.0.0-beta.2 → 1.0.0-beta.20
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 +32 -5
- package/dist/generated/schemas.d.ts +2553 -373
- package/dist/generated/schemas.js +712 -166
- package/dist/generated/zod3/index.d.ts +3 -0
- package/dist/generated/zod3/index.js +5 -0
- package/dist/generated/zod3/schemas.d.ts +23928 -0
- package/dist/generated/zod3/schemas.js +1087 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/zod3-compat.d.ts +79 -0
- package/dist/zod3-compat.js +82 -0
- package/package.json +26 -20
- package/schema/base/catalog.schema.json +5 -4
- package/schema/base/component.schema.json +22 -20
- package/schema/{components/component-contracts.schema.json → component-contracts.schema.json} +23 -5
- package/schema/components/bundle-display.schema.json +11 -6
- package/schema/components/cart.schema.json +85 -46
- package/schema/components/category-facet.schema.json +35 -26
- package/schema/components/commerce-search.schema.json +186 -0
- package/schema/components/comparison-table.schema.json +35 -11
- package/schema/components/date-facet.schema.json +39 -26
- package/schema/components/facet-manager.schema.json +16 -18
- package/schema/components/layout-stack.schema.json +50 -0
- package/schema/components/next-actions-bar.schema.json +21 -18
- package/schema/components/numeric-facet.schema.json +43 -28
- package/schema/components/page-size.schema.json +79 -0
- package/schema/components/pagination.schema.json +45 -19
- package/schema/components/product-carousel.schema.json +15 -7
- package/schema/components/product-list.schema.json +77 -7
- package/schema/components/product-research-card.schema.json +70 -0
- package/schema/components/product-summary.schema.json +64 -0
- package/schema/components/query-suggestions.schema.json +113 -0
- package/schema/components/query-summary.schema.json +76 -0
- package/schema/components/regular-facet.schema.json +42 -51
- package/schema/components/sort.schema.json +18 -18
- package/schema/definitions/action-item.schema.json +5 -0
- package/schema/definitions/bundle-tier.schema.json +9 -4
- package/schema/definitions/child-list.schema.json +31 -0
- package/schema/definitions/comparison-attribute.schema.json +2 -2
- package/schema/definitions/comparison-product.schema.json +2 -4
- package/schema/definitions/component-id.schema.json +9 -0
- package/schema/definitions/data-binding.schema.json +16 -0
- package/schema/definitions/product.schema.json +3 -6
- package/schema/components/search-box.schema.json +0 -74
- package/schema/definitions/cart-item.schema.json +0 -29
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import * as z from 'zod/v4';
|
|
2
|
+
export declare const CartUpdateOperationSchema: z.ZodEnum<{
|
|
3
|
+
add: "add";
|
|
4
|
+
remove: "remove";
|
|
5
|
+
setQuantity: "setQuantity";
|
|
6
|
+
}>;
|
|
7
|
+
export type CartUpdateOperation = z.infer<typeof CartUpdateOperationSchema>;
|
|
2
8
|
export declare const TypeSchema: z.ZodEnum<{
|
|
3
9
|
followup: "followup";
|
|
4
10
|
search: "search";
|
|
@@ -18,12 +24,12 @@ export type SelectableFacetValueState = z.infer<typeof SelectableFacetValueState
|
|
|
18
24
|
export declare const ProductSchema: z.ZodObject<{
|
|
19
25
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
20
26
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
21
|
-
clickUri: z.ZodOptional<z.
|
|
27
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
22
28
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
23
29
|
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24
30
|
ec_color: z.ZodOptional<z.ZodString>;
|
|
25
31
|
ec_description: z.ZodOptional<z.ZodString>;
|
|
26
|
-
ec_images: z.ZodOptional<z.ZodArray<z.
|
|
32
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27
33
|
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
28
34
|
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
29
35
|
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
@@ -32,10 +38,19 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
32
38
|
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
33
39
|
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
34
40
|
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
35
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.
|
|
41
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36
42
|
permanentid: z.ZodString;
|
|
37
43
|
}, z.core.$strict>;
|
|
38
44
|
export type Product = z.infer<typeof ProductSchema>;
|
|
45
|
+
export declare const DataBindingSchema: z.ZodObject<{
|
|
46
|
+
path: z.ZodString;
|
|
47
|
+
}, z.core.$strict>;
|
|
48
|
+
export type DataBinding = z.infer<typeof DataBindingSchema>;
|
|
49
|
+
export declare const ChildListClassSchema: z.ZodObject<{
|
|
50
|
+
componentId: z.ZodString;
|
|
51
|
+
path: z.ZodString;
|
|
52
|
+
}, z.core.$strict>;
|
|
53
|
+
export type ChildListClass = z.infer<typeof ChildListClassSchema>;
|
|
39
54
|
export declare const ProductCarouselActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
40
55
|
export type ProductCarouselActions = z.infer<typeof ProductCarouselActionsSchema>;
|
|
41
56
|
export declare const ProductCarouselStateSchema: z.ZodObject<{
|
|
@@ -43,12 +58,12 @@ export declare const ProductCarouselStateSchema: z.ZodObject<{
|
|
|
43
58
|
products: z.ZodArray<z.ZodObject<{
|
|
44
59
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
45
60
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
46
|
-
clickUri: z.ZodOptional<z.
|
|
61
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
47
62
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
48
63
|
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
49
64
|
ec_color: z.ZodOptional<z.ZodString>;
|
|
50
65
|
ec_description: z.ZodOptional<z.ZodString>;
|
|
51
|
-
ec_images: z.ZodOptional<z.ZodArray<z.
|
|
66
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
52
67
|
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
53
68
|
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
54
69
|
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
@@ -57,37 +72,48 @@ export declare const ProductCarouselStateSchema: z.ZodObject<{
|
|
|
57
72
|
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
58
73
|
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
59
74
|
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
60
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.
|
|
75
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
61
76
|
permanentid: z.ZodString;
|
|
62
77
|
}, z.core.$strict>>;
|
|
63
78
|
}, z.core.$strict>;
|
|
64
79
|
export type ProductCarouselState = z.infer<typeof ProductCarouselStateSchema>;
|
|
65
|
-
export declare const
|
|
66
|
-
name: z.ZodString
|
|
67
|
-
price: z.ZodNumber
|
|
80
|
+
export declare const PurchaseProductSchema: z.ZodObject<{
|
|
81
|
+
name: z.ZodOptional<z.ZodString>;
|
|
82
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
68
83
|
productId: z.ZodString;
|
|
69
84
|
quantity: z.ZodNumber;
|
|
70
85
|
}, z.core.$strict>;
|
|
71
|
-
export type
|
|
72
|
-
export declare const
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
}, z.core.$strict>>;
|
|
86
|
+
export type PurchaseProduct = z.infer<typeof PurchaseProductSchema>;
|
|
87
|
+
export declare const TransactionSchema: z.ZodObject<{
|
|
88
|
+
id: z.ZodString;
|
|
89
|
+
revenue: z.ZodNumber;
|
|
90
|
+
}, z.core.$strict>;
|
|
91
|
+
export type Transaction = z.infer<typeof TransactionSchema>;
|
|
92
|
+
export declare const UpdateCartPayloadSchema: z.ZodObject<{
|
|
93
|
+
name: z.ZodOptional<z.ZodString>;
|
|
94
|
+
operation: z.ZodEnum<{
|
|
95
|
+
add: "add";
|
|
96
|
+
remove: "remove";
|
|
97
|
+
setQuantity: "setQuantity";
|
|
98
|
+
}>;
|
|
99
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
100
|
+
productId: z.ZodString;
|
|
101
|
+
quantity: z.ZodNumber;
|
|
88
102
|
}, z.core.$strict>;
|
|
103
|
+
export type UpdateCartPayload = z.infer<typeof UpdateCartPayloadSchema>;
|
|
104
|
+
export declare const CartStateSchema: z.ZodObject<{}, z.core.$strict>;
|
|
89
105
|
export type CartState = z.infer<typeof CartStateSchema>;
|
|
106
|
+
export declare const FetchSuggestionsPayloadSchema: z.ZodObject<{
|
|
107
|
+
query: z.ZodString;
|
|
108
|
+
}, z.core.$strict>;
|
|
109
|
+
export type FetchSuggestionsPayload = z.infer<typeof FetchSuggestionsPayloadSchema>;
|
|
110
|
+
export declare const QueryCompletionSchema: z.ZodObject<{
|
|
111
|
+
expression: z.ZodString;
|
|
112
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
113
|
+
}, z.core.$strict>;
|
|
114
|
+
export type QueryCompletion = z.infer<typeof QueryCompletionSchema>;
|
|
90
115
|
export declare const SelectActionPayloadSchema: z.ZodObject<{
|
|
116
|
+
optionId: z.ZodOptional<z.ZodString>;
|
|
91
117
|
text: z.ZodString;
|
|
92
118
|
type: z.ZodEnum<{
|
|
93
119
|
followup: "followup";
|
|
@@ -96,6 +122,7 @@ export declare const SelectActionPayloadSchema: z.ZodObject<{
|
|
|
96
122
|
}, z.core.$strict>;
|
|
97
123
|
export type SelectActionPayload = z.infer<typeof SelectActionPayloadSchema>;
|
|
98
124
|
export declare const ActionItemSchema: z.ZodObject<{
|
|
125
|
+
optionId: z.ZodOptional<z.ZodString>;
|
|
99
126
|
text: z.ZodString;
|
|
100
127
|
type: z.ZodEnum<{
|
|
101
128
|
followup: "followup";
|
|
@@ -107,7 +134,7 @@ export declare const BundleDisplayActionsSchema: z.ZodObject<{}, z.core.$strict>
|
|
|
107
134
|
export type BundleDisplayActions = z.infer<typeof BundleDisplayActionsSchema>;
|
|
108
135
|
export declare const BundleSlotSchema: z.ZodObject<{
|
|
109
136
|
categoryLabel: z.ZodString;
|
|
110
|
-
|
|
137
|
+
childId: z.ZodString;
|
|
111
138
|
}, z.core.$strict>;
|
|
112
139
|
export type BundleSlot = z.infer<typeof BundleSlotSchema>;
|
|
113
140
|
export declare const ComparisonTableActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
@@ -118,26 +145,35 @@ export declare const ComparisonAttributeSchema: z.ZodObject<{
|
|
|
118
145
|
}, z.core.$strict>;
|
|
119
146
|
export type ComparisonAttribute = z.infer<typeof ComparisonAttributeSchema>;
|
|
120
147
|
export declare const ComparisonProductSchema: z.ZodObject<{
|
|
121
|
-
imageUrl: z.ZodOptional<z.
|
|
148
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
122
149
|
name: z.ZodString;
|
|
123
150
|
price: z.ZodOptional<z.ZodNumber>;
|
|
124
151
|
productId: z.ZodString;
|
|
125
152
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
126
|
-
values: z.ZodRecord<z.ZodString, z.ZodString
|
|
153
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
127
154
|
}, z.core.$strict>;
|
|
128
155
|
export type ComparisonProduct = z.infer<typeof ComparisonProductSchema>;
|
|
129
|
-
export declare const
|
|
130
|
-
|
|
156
|
+
export declare const ProductClickPayloadSchema: z.ZodObject<{
|
|
157
|
+
name: z.ZodOptional<z.ZodString>;
|
|
158
|
+
position: z.ZodNumber;
|
|
159
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
160
|
+
productId: z.ZodString;
|
|
161
|
+
}, z.core.$strict>;
|
|
162
|
+
export type ProductClickPayload = z.infer<typeof ProductClickPayloadSchema>;
|
|
163
|
+
export declare const SelectProductsPayloadSchema: z.ZodObject<{
|
|
164
|
+
productIds: z.ZodArray<z.ZodString>;
|
|
165
|
+
}, z.core.$strict>;
|
|
166
|
+
export type SelectProductsPayload = z.infer<typeof SelectProductsPayloadSchema>;
|
|
131
167
|
export declare const ProductListStateSchema: z.ZodObject<{
|
|
132
168
|
products: z.ZodArray<z.ZodObject<{
|
|
133
169
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
134
170
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
135
|
-
clickUri: z.ZodOptional<z.
|
|
171
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
136
172
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
137
173
|
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
138
174
|
ec_color: z.ZodOptional<z.ZodString>;
|
|
139
175
|
ec_description: z.ZodOptional<z.ZodString>;
|
|
140
|
-
ec_images: z.ZodOptional<z.ZodArray<z.
|
|
176
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
141
177
|
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
142
178
|
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
143
179
|
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
@@ -146,19 +182,74 @@ export declare const ProductListStateSchema: z.ZodObject<{
|
|
|
146
182
|
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
147
183
|
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
148
184
|
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
149
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.
|
|
185
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
150
186
|
permanentid: z.ZodString;
|
|
151
187
|
}, z.core.$strict>>;
|
|
152
188
|
}, z.core.$strict>;
|
|
153
189
|
export type ProductListState = z.infer<typeof ProductListStateSchema>;
|
|
190
|
+
export declare const ProductSummaryActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
191
|
+
export type ProductSummaryActions = z.infer<typeof ProductSummaryActionsSchema>;
|
|
192
|
+
export declare const ProductSummaryStateSchema: z.ZodObject<{
|
|
193
|
+
categoryLabel: z.ZodString;
|
|
194
|
+
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
195
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
196
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
197
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
198
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
199
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
200
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
201
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
202
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
203
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
204
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
205
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
206
|
+
ec_name: z.ZodString;
|
|
207
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
208
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
209
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
210
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
211
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
212
|
+
permanentid: z.ZodString;
|
|
213
|
+
}, z.core.$strict>, z.ZodNull]>;
|
|
214
|
+
}, z.core.$strict>;
|
|
215
|
+
export type ProductSummaryState = z.infer<typeof ProductSummaryStateSchema>;
|
|
216
|
+
export declare const ProductResearchCardActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
217
|
+
export type ProductResearchCardActions = z.infer<typeof ProductResearchCardActionsSchema>;
|
|
218
|
+
export declare const ProductResearchCardStateSchema: z.ZodObject<{
|
|
219
|
+
bullets: z.ZodArray<z.ZodString>;
|
|
220
|
+
product: z.ZodObject<{
|
|
221
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
222
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
223
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
224
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
225
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
226
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
227
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
228
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
229
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
230
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
231
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
232
|
+
ec_name: z.ZodString;
|
|
233
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
234
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
235
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
236
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
237
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
238
|
+
permanentid: z.ZodString;
|
|
239
|
+
}, z.core.$strict>;
|
|
240
|
+
summary: z.ZodString;
|
|
241
|
+
}, z.core.$strict>;
|
|
242
|
+
export type ProductResearchCardState = z.infer<typeof ProductResearchCardStateSchema>;
|
|
154
243
|
export declare const SelectPagePayloadSchema: z.ZodObject<{
|
|
155
244
|
page: z.ZodNumber;
|
|
156
245
|
}, z.core.$strict>;
|
|
157
246
|
export type SelectPagePayload = z.infer<typeof SelectPagePayloadSchema>;
|
|
158
|
-
export declare const
|
|
247
|
+
export declare const PayloadSchema: z.ZodObject<{
|
|
159
248
|
pageSize: z.ZodNumber;
|
|
160
249
|
}, z.core.$strict>;
|
|
161
|
-
export type
|
|
250
|
+
export type Payload = z.infer<typeof PayloadSchema>;
|
|
251
|
+
export declare const ShowMorePayloadSchema: z.ZodObject<{}, z.core.$strict>;
|
|
252
|
+
export type ShowMorePayload = z.infer<typeof ShowMorePayloadSchema>;
|
|
162
253
|
export declare const PaginationStateSchema: z.ZodObject<{
|
|
163
254
|
page: z.ZodNumber;
|
|
164
255
|
pageSize: z.ZodNumber;
|
|
@@ -176,14 +267,6 @@ export declare const SortCriterionSchema: z.ZodObject<{
|
|
|
176
267
|
sortCriteria: z.ZodString;
|
|
177
268
|
}, z.core.$strict>;
|
|
178
269
|
export type SortCriterion = z.infer<typeof SortCriterionSchema>;
|
|
179
|
-
export declare const SubmitQueryPayloadSchema: z.ZodObject<{
|
|
180
|
-
query: z.ZodString;
|
|
181
|
-
}, z.core.$strict>;
|
|
182
|
-
export type SubmitQueryPayload = z.infer<typeof SubmitQueryPayloadSchema>;
|
|
183
|
-
export declare const SearchBoxStateSchema: z.ZodObject<{
|
|
184
|
-
query: z.ZodString;
|
|
185
|
-
}, z.core.$strict>;
|
|
186
|
-
export type SearchBoxState = z.infer<typeof SearchBoxStateSchema>;
|
|
187
270
|
export declare const ActionSchema: z.ZodObject<{
|
|
188
271
|
payload: z.ZodUnknown;
|
|
189
272
|
}, z.core.$strict>;
|
|
@@ -324,24 +407,60 @@ export declare const CategoryFacetValuesSchema: z.ZodObject<{
|
|
|
324
407
|
export type CategoryFacetValues = z.infer<typeof CategoryFacetValuesSchema>;
|
|
325
408
|
export declare const FacetManagerActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
326
409
|
export type FacetManagerActions = z.infer<typeof FacetManagerActionsSchema>;
|
|
327
|
-
export declare const FacetManagerStateSchema: z.ZodObject<{
|
|
328
|
-
facetIds: z.ZodArray<z.ZodString>;
|
|
329
|
-
}, z.core.$strict>;
|
|
410
|
+
export declare const FacetManagerStateSchema: z.ZodObject<{}, z.core.$strict>;
|
|
330
411
|
export type FacetManagerState = z.infer<typeof FacetManagerStateSchema>;
|
|
412
|
+
export declare const OverrideCorrectionPayloadSchema: z.ZodObject<{
|
|
413
|
+
originalQuery: z.ZodString;
|
|
414
|
+
}, z.core.$strict>;
|
|
415
|
+
export type OverrideCorrectionPayload = z.infer<typeof OverrideCorrectionPayloadSchema>;
|
|
416
|
+
export declare const NumericRangeRestoreSchema: z.ZodObject<{
|
|
417
|
+
end: z.ZodNumber;
|
|
418
|
+
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
419
|
+
start: z.ZodNumber;
|
|
420
|
+
}, z.core.$strict>;
|
|
421
|
+
export type NumericRangeRestore = z.infer<typeof NumericRangeRestoreSchema>;
|
|
422
|
+
export declare const SubmitQueryPayloadSchema: z.ZodObject<{
|
|
423
|
+
query: z.ZodString;
|
|
424
|
+
}, z.core.$strict>;
|
|
425
|
+
export type SubmitQueryPayload = z.infer<typeof SubmitQueryPayloadSchema>;
|
|
426
|
+
export declare const CommerceSearchStateSchema: z.ZodObject<{}, z.core.$strict>;
|
|
427
|
+
export type CommerceSearchState = z.infer<typeof CommerceSearchStateSchema>;
|
|
428
|
+
export declare const LayoutStackActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
429
|
+
export type LayoutStackActions = z.infer<typeof LayoutStackActionsSchema>;
|
|
430
|
+
export declare const LayoutStackStateSchema: z.ZodObject<{}, z.core.$strict>;
|
|
431
|
+
export type LayoutStackState = z.infer<typeof LayoutStackStateSchema>;
|
|
432
|
+
export declare const QuerySummaryActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
433
|
+
export type QuerySummaryActions = z.infer<typeof QuerySummaryActionsSchema>;
|
|
434
|
+
export declare const QuerySummaryStateSchema: z.ZodObject<{
|
|
435
|
+
firstIndex: z.ZodNumber;
|
|
436
|
+
lastIndex: z.ZodNumber;
|
|
437
|
+
query: z.ZodString;
|
|
438
|
+
totalEntries: z.ZodNumber;
|
|
439
|
+
}, z.core.$strict>;
|
|
440
|
+
export type QuerySummaryState = z.infer<typeof QuerySummaryStateSchema>;
|
|
441
|
+
export declare const SetPageSizePayloadSchema: z.ZodObject<{
|
|
442
|
+
pageSize: z.ZodNumber;
|
|
443
|
+
}, z.core.$strict>;
|
|
444
|
+
export type SetPageSizePayload = z.infer<typeof SetPageSizePayloadSchema>;
|
|
445
|
+
export declare const PageSizeStateSchema: z.ZodObject<{
|
|
446
|
+
pageSize: z.ZodNumber;
|
|
447
|
+
}, z.core.$strict>;
|
|
448
|
+
export type PageSizeState = z.infer<typeof PageSizeStateSchema>;
|
|
331
449
|
export declare const ProductCarouselSchema: z.ZodObject<{
|
|
332
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
333
|
-
|
|
334
|
-
|
|
450
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
451
|
+
component: z.ZodLiteral<"ProductCarousel">;
|
|
452
|
+
id: z.ZodString;
|
|
453
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
335
454
|
heading: z.ZodString;
|
|
336
455
|
products: z.ZodArray<z.ZodObject<{
|
|
337
456
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
338
457
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
339
|
-
clickUri: z.ZodOptional<z.
|
|
458
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
340
459
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
341
460
|
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
342
461
|
ec_color: z.ZodOptional<z.ZodString>;
|
|
343
462
|
ec_description: z.ZodOptional<z.ZodString>;
|
|
344
|
-
ec_images: z.ZodOptional<z.ZodArray<z.
|
|
463
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
345
464
|
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
346
465
|
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
347
466
|
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
@@ -350,34 +469,76 @@ export declare const ProductCarouselSchema: z.ZodObject<{
|
|
|
350
469
|
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
351
470
|
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
352
471
|
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
353
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.
|
|
472
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
354
473
|
permanentid: z.ZodString;
|
|
355
474
|
}, z.core.$strict>>;
|
|
356
|
-
}, z.core.$strict
|
|
357
|
-
}, z.core.$
|
|
475
|
+
}, z.core.$strict>>;
|
|
476
|
+
}, z.core.$loose>;
|
|
358
477
|
export type ProductCarousel = z.infer<typeof ProductCarouselSchema>;
|
|
359
|
-
export declare const
|
|
360
|
-
|
|
361
|
-
name: z.ZodString
|
|
362
|
-
price: z.ZodNumber
|
|
478
|
+
export declare const PurchasePayloadSchema: z.ZodObject<{
|
|
479
|
+
products: z.ZodArray<z.ZodObject<{
|
|
480
|
+
name: z.ZodOptional<z.ZodString>;
|
|
481
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
363
482
|
productId: z.ZodString;
|
|
364
483
|
quantity: z.ZodNumber;
|
|
365
484
|
}, z.core.$strict>>;
|
|
485
|
+
transaction: z.ZodObject<{
|
|
486
|
+
id: z.ZodString;
|
|
487
|
+
revenue: z.ZodNumber;
|
|
488
|
+
}, z.core.$strict>;
|
|
366
489
|
}, z.core.$strict>;
|
|
367
|
-
export type
|
|
368
|
-
export declare const
|
|
490
|
+
export type PurchasePayload = z.infer<typeof PurchasePayloadSchema>;
|
|
491
|
+
export declare const UpdateCartSchema: z.ZodObject<{
|
|
369
492
|
payload: z.ZodObject<{
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
}
|
|
493
|
+
name: z.ZodOptional<z.ZodString>;
|
|
494
|
+
operation: z.ZodEnum<{
|
|
495
|
+
add: "add";
|
|
496
|
+
remove: "remove";
|
|
497
|
+
setQuantity: "setQuantity";
|
|
498
|
+
}>;
|
|
499
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
500
|
+
productId: z.ZodString;
|
|
501
|
+
quantity: z.ZodNumber;
|
|
502
|
+
}, z.core.$strict>;
|
|
503
|
+
}, z.core.$strict>;
|
|
504
|
+
export type UpdateCart = z.infer<typeof UpdateCartSchema>;
|
|
505
|
+
export declare const FetchSuggestionsSchema: z.ZodObject<{
|
|
506
|
+
payload: z.ZodObject<{
|
|
507
|
+
query: z.ZodString;
|
|
376
508
|
}, z.core.$strict>;
|
|
377
509
|
}, z.core.$strict>;
|
|
378
|
-
export type
|
|
510
|
+
export type FetchSuggestions = z.infer<typeof FetchSuggestionsSchema>;
|
|
511
|
+
export declare const QuerySuggestionsStateSchema: z.ZodObject<{
|
|
512
|
+
completions: z.ZodArray<z.ZodObject<{
|
|
513
|
+
expression: z.ZodString;
|
|
514
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
515
|
+
}, z.core.$strict>>;
|
|
516
|
+
products: z.ZodArray<z.ZodObject<{
|
|
517
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
518
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
519
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
520
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
521
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
522
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
523
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
524
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
525
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
526
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
527
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
528
|
+
ec_name: z.ZodString;
|
|
529
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
530
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
531
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
532
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
533
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
534
|
+
permanentid: z.ZodString;
|
|
535
|
+
}, z.core.$strict>>;
|
|
536
|
+
query: z.ZodString;
|
|
537
|
+
}, z.core.$strict>;
|
|
538
|
+
export type QuerySuggestionsState = z.infer<typeof QuerySuggestionsStateSchema>;
|
|
379
539
|
export declare const SelectActionSchema: z.ZodObject<{
|
|
380
540
|
payload: z.ZodObject<{
|
|
541
|
+
optionId: z.ZodOptional<z.ZodString>;
|
|
381
542
|
text: z.ZodString;
|
|
382
543
|
type: z.ZodEnum<{
|
|
383
544
|
followup: "followup";
|
|
@@ -387,7 +548,8 @@ export declare const SelectActionSchema: z.ZodObject<{
|
|
|
387
548
|
}, z.core.$strict>;
|
|
388
549
|
export type SelectAction = z.infer<typeof SelectActionSchema>;
|
|
389
550
|
export declare const NextActionsStateSchema: z.ZodObject<{
|
|
390
|
-
|
|
551
|
+
suggestedActions: z.ZodArray<z.ZodObject<{
|
|
552
|
+
optionId: z.ZodOptional<z.ZodString>;
|
|
391
553
|
text: z.ZodString;
|
|
392
554
|
type: z.ZodEnum<{
|
|
393
555
|
followup: "followup";
|
|
@@ -401,8 +563,9 @@ export declare const BundleTierSchema: z.ZodObject<{
|
|
|
401
563
|
label: z.ZodString;
|
|
402
564
|
slots: z.ZodArray<z.ZodObject<{
|
|
403
565
|
categoryLabel: z.ZodString;
|
|
404
|
-
|
|
566
|
+
childId: z.ZodString;
|
|
405
567
|
}, z.core.$strict>>;
|
|
568
|
+
total: z.ZodNumber;
|
|
406
569
|
}, z.core.$strict>;
|
|
407
570
|
export type BundleTier = z.infer<typeof BundleTierSchema>;
|
|
408
571
|
export declare const ComparisonTableStateSchema: z.ZodObject<{
|
|
@@ -410,29 +573,48 @@ export declare const ComparisonTableStateSchema: z.ZodObject<{
|
|
|
410
573
|
key: z.ZodString;
|
|
411
574
|
label: z.ZodString;
|
|
412
575
|
}, z.core.$strict>>;
|
|
576
|
+
heading: z.ZodString;
|
|
413
577
|
products: z.ZodArray<z.ZodObject<{
|
|
414
|
-
imageUrl: z.ZodOptional<z.
|
|
578
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
415
579
|
name: z.ZodString;
|
|
416
580
|
price: z.ZodOptional<z.ZodNumber>;
|
|
417
581
|
productId: z.ZodString;
|
|
418
582
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
419
|
-
values: z.ZodRecord<z.ZodString, z.ZodString
|
|
583
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
420
584
|
}, z.core.$strict>>;
|
|
585
|
+
summary: z.ZodString;
|
|
421
586
|
}, z.core.$strict>;
|
|
422
587
|
export type ComparisonTableState = z.infer<typeof ComparisonTableStateSchema>;
|
|
423
|
-
export declare const
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
588
|
+
export declare const ProductClickSchema: z.ZodObject<{
|
|
589
|
+
payload: z.ZodObject<{
|
|
590
|
+
name: z.ZodOptional<z.ZodString>;
|
|
591
|
+
position: z.ZodNumber;
|
|
592
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
593
|
+
productId: z.ZodString;
|
|
594
|
+
}, z.core.$strict>;
|
|
595
|
+
}, z.core.$strict>;
|
|
596
|
+
export type ProductClick = z.infer<typeof ProductClickSchema>;
|
|
597
|
+
export declare const SelectProductsSchema: z.ZodObject<{
|
|
598
|
+
payload: z.ZodObject<{
|
|
599
|
+
productIds: z.ZodArray<z.ZodString>;
|
|
600
|
+
}, z.core.$strict>;
|
|
601
|
+
}, z.core.$strict>;
|
|
602
|
+
export type SelectProducts = z.infer<typeof SelectProductsSchema>;
|
|
603
|
+
export declare const ProductSummarySchema: z.ZodObject<{
|
|
604
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
605
|
+
component: z.ZodLiteral<"ProductSummary">;
|
|
606
|
+
id: z.ZodString;
|
|
607
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
608
|
+
categoryLabel: z.ZodString;
|
|
609
|
+
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
428
610
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
429
611
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
430
|
-
clickUri: z.ZodOptional<z.
|
|
612
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
431
613
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
432
614
|
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
433
615
|
ec_color: z.ZodOptional<z.ZodString>;
|
|
434
616
|
ec_description: z.ZodOptional<z.ZodString>;
|
|
435
|
-
ec_images: z.ZodOptional<z.ZodArray<z.
|
|
617
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
436
618
|
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
437
619
|
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
438
620
|
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
@@ -441,24 +623,58 @@ export declare const ProductListSchema: z.ZodObject<{
|
|
|
441
623
|
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
442
624
|
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
443
625
|
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
444
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.
|
|
626
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
445
627
|
permanentid: z.ZodString;
|
|
446
|
-
}, z.core.$strict
|
|
447
|
-
}, z.core.$strict
|
|
448
|
-
}, z.core.$
|
|
449
|
-
export type
|
|
628
|
+
}, z.core.$strict>, z.ZodNull]>;
|
|
629
|
+
}, z.core.$strict>>;
|
|
630
|
+
}, z.core.$loose>;
|
|
631
|
+
export type ProductSummary = z.infer<typeof ProductSummarySchema>;
|
|
632
|
+
export declare const ProductResearchCardSchema: z.ZodObject<{
|
|
633
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
634
|
+
component: z.ZodLiteral<"ProductResearchCard">;
|
|
635
|
+
id: z.ZodString;
|
|
636
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
637
|
+
bullets: z.ZodArray<z.ZodString>;
|
|
638
|
+
product: z.ZodObject<{
|
|
639
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
640
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
641
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
642
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
643
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
644
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
645
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
646
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
647
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
648
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
649
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
650
|
+
ec_name: z.ZodString;
|
|
651
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
652
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
653
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
654
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
655
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
656
|
+
permanentid: z.ZodString;
|
|
657
|
+
}, z.core.$strict>;
|
|
658
|
+
summary: z.ZodString;
|
|
659
|
+
}, z.core.$strict>>;
|
|
660
|
+
}, z.core.$loose>;
|
|
661
|
+
export type ProductResearchCard = z.infer<typeof ProductResearchCardSchema>;
|
|
450
662
|
export declare const SelectPageSchema: z.ZodObject<{
|
|
451
663
|
payload: z.ZodObject<{
|
|
452
664
|
page: z.ZodNumber;
|
|
453
665
|
}, z.core.$strict>;
|
|
454
666
|
}, z.core.$strict>;
|
|
455
667
|
export type SelectPage = z.infer<typeof SelectPageSchema>;
|
|
456
|
-
export declare const
|
|
668
|
+
export declare const PurpleSetPageSizeSchema: z.ZodObject<{
|
|
457
669
|
payload: z.ZodObject<{
|
|
458
670
|
pageSize: z.ZodNumber;
|
|
459
671
|
}, z.core.$strict>;
|
|
460
672
|
}, z.core.$strict>;
|
|
461
|
-
export type
|
|
673
|
+
export type PurpleSetPageSize = z.infer<typeof PurpleSetPageSizeSchema>;
|
|
674
|
+
export declare const ShowMoreSchema: z.ZodObject<{
|
|
675
|
+
payload: z.ZodObject<{}, z.core.$strict>;
|
|
676
|
+
}, z.core.$strict>;
|
|
677
|
+
export type ShowMore = z.infer<typeof ShowMoreSchema>;
|
|
462
678
|
export declare const SelectSortSchema: z.ZodObject<{
|
|
463
679
|
payload: z.ZodObject<{
|
|
464
680
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
@@ -477,12 +693,6 @@ export declare const SortStateSchema: z.ZodObject<{
|
|
|
477
693
|
}, z.core.$strict>>;
|
|
478
694
|
}, z.core.$strict>;
|
|
479
695
|
export type SortState = z.infer<typeof SortStateSchema>;
|
|
480
|
-
export declare const SubmitQuerySchema: z.ZodObject<{
|
|
481
|
-
payload: z.ZodObject<{
|
|
482
|
-
query: z.ZodString;
|
|
483
|
-
}, z.core.$strict>;
|
|
484
|
-
}, z.core.$strict>;
|
|
485
|
-
export type SubmitQuery = z.infer<typeof SubmitQuerySchema>;
|
|
486
696
|
export declare const SearchSchema: z.ZodObject<{
|
|
487
697
|
payload: z.ZodObject<{
|
|
488
698
|
query: z.ZodString;
|
|
@@ -635,27 +845,86 @@ export declare const FacetSearchClassSchema: z.ZodObject<{
|
|
|
635
845
|
}, z.core.$strict>;
|
|
636
846
|
export type FacetSearchClass = z.infer<typeof FacetSearchClassSchema>;
|
|
637
847
|
export declare const FacetManagerSchema: z.ZodObject<{
|
|
638
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
848
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
849
|
+
component: z.ZodLiteral<"FacetManager">;
|
|
850
|
+
id: z.ZodString;
|
|
851
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
852
|
+
}, z.core.$loose>;
|
|
853
|
+
export type FacetManager = z.infer<typeof FacetManagerSchema>;
|
|
854
|
+
export declare const OverrideCorrectionSchema: z.ZodObject<{
|
|
855
|
+
payload: z.ZodObject<{
|
|
856
|
+
originalQuery: z.ZodString;
|
|
642
857
|
}, z.core.$strict>;
|
|
643
858
|
}, z.core.$strict>;
|
|
644
|
-
export type
|
|
645
|
-
export declare const
|
|
859
|
+
export type OverrideCorrection = z.infer<typeof OverrideCorrectionSchema>;
|
|
860
|
+
export declare const FacetRestoreSchema: z.ZodObject<{
|
|
861
|
+
facetId: z.ZodString;
|
|
862
|
+
numericRanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
863
|
+
end: z.ZodNumber;
|
|
864
|
+
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
865
|
+
start: z.ZodNumber;
|
|
866
|
+
}, z.core.$strict>>>;
|
|
867
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
868
|
+
}, z.core.$strict>;
|
|
869
|
+
export type FacetRestore = z.infer<typeof FacetRestoreSchema>;
|
|
870
|
+
export declare const SubmitQuerySchema: z.ZodObject<{
|
|
646
871
|
payload: z.ZodObject<{
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
872
|
+
query: z.ZodString;
|
|
873
|
+
}, z.core.$strict>;
|
|
874
|
+
}, z.core.$strict>;
|
|
875
|
+
export type SubmitQuery = z.infer<typeof SubmitQuerySchema>;
|
|
876
|
+
export declare const LayoutStackSchema: z.ZodObject<{
|
|
877
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
878
|
+
component: z.ZodLiteral<"LayoutStack">;
|
|
879
|
+
id: z.ZodString;
|
|
880
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
881
|
+
}, z.core.$loose>;
|
|
882
|
+
export type LayoutStack = z.infer<typeof LayoutStackSchema>;
|
|
883
|
+
export declare const QuerySummarySchema: z.ZodObject<{
|
|
884
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
885
|
+
component: z.ZodLiteral<"QuerySummary">;
|
|
886
|
+
id: z.ZodString;
|
|
887
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
888
|
+
firstIndex: z.ZodNumber;
|
|
889
|
+
lastIndex: z.ZodNumber;
|
|
890
|
+
query: z.ZodString;
|
|
891
|
+
totalEntries: z.ZodNumber;
|
|
892
|
+
}, z.core.$strict>>;
|
|
893
|
+
}, z.core.$loose>;
|
|
894
|
+
export type QuerySummary = z.infer<typeof QuerySummarySchema>;
|
|
895
|
+
export declare const FluffySetPageSizeSchema: z.ZodObject<{
|
|
896
|
+
payload: z.ZodObject<{
|
|
897
|
+
pageSize: z.ZodNumber;
|
|
898
|
+
}, z.core.$strict>;
|
|
899
|
+
}, z.core.$strict>;
|
|
900
|
+
export type FluffySetPageSize = z.infer<typeof FluffySetPageSizeSchema>;
|
|
901
|
+
export declare const PurchaseSchema: z.ZodObject<{
|
|
902
|
+
payload: z.ZodObject<{
|
|
903
|
+
products: z.ZodArray<z.ZodObject<{
|
|
904
|
+
name: z.ZodOptional<z.ZodString>;
|
|
905
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
650
906
|
productId: z.ZodString;
|
|
651
907
|
quantity: z.ZodNumber;
|
|
652
908
|
}, z.core.$strict>>;
|
|
909
|
+
transaction: z.ZodObject<{
|
|
910
|
+
id: z.ZodString;
|
|
911
|
+
revenue: z.ZodNumber;
|
|
912
|
+
}, z.core.$strict>;
|
|
913
|
+
}, z.core.$strict>;
|
|
914
|
+
}, z.core.$strict>;
|
|
915
|
+
export type Purchase = z.infer<typeof PurchaseSchema>;
|
|
916
|
+
export declare const QuerySuggestionsActionsSchema: z.ZodObject<{
|
|
917
|
+
fetchSuggestions: z.ZodObject<{
|
|
918
|
+
payload: z.ZodObject<{
|
|
919
|
+
query: z.ZodString;
|
|
920
|
+
}, z.core.$strict>;
|
|
653
921
|
}, z.core.$strict>;
|
|
654
922
|
}, z.core.$strict>;
|
|
655
|
-
export type
|
|
923
|
+
export type QuerySuggestionsActions = z.infer<typeof QuerySuggestionsActionsSchema>;
|
|
656
924
|
export declare const NextActionsBarActionsSchema: z.ZodObject<{
|
|
657
925
|
selectAction: z.ZodObject<{
|
|
658
926
|
payload: z.ZodObject<{
|
|
927
|
+
optionId: z.ZodOptional<z.ZodString>;
|
|
659
928
|
text: z.ZodString;
|
|
660
929
|
type: z.ZodEnum<{
|
|
661
930
|
followup: "followup";
|
|
@@ -671,30 +940,50 @@ export declare const BundleDisplayStateSchema: z.ZodObject<{
|
|
|
671
940
|
label: z.ZodString;
|
|
672
941
|
slots: z.ZodArray<z.ZodObject<{
|
|
673
942
|
categoryLabel: z.ZodString;
|
|
674
|
-
|
|
943
|
+
childId: z.ZodString;
|
|
675
944
|
}, z.core.$strict>>;
|
|
945
|
+
total: z.ZodNumber;
|
|
676
946
|
}, z.core.$strict>>;
|
|
677
947
|
}, z.core.$strict>;
|
|
678
948
|
export type BundleDisplayState = z.infer<typeof BundleDisplayStateSchema>;
|
|
679
949
|
export declare const ComparisonTableSchema: z.ZodObject<{
|
|
680
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
681
|
-
|
|
682
|
-
|
|
950
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
951
|
+
component: z.ZodLiteral<"ComparisonTable">;
|
|
952
|
+
id: z.ZodString;
|
|
953
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
683
954
|
attributes: z.ZodArray<z.ZodObject<{
|
|
684
955
|
key: z.ZodString;
|
|
685
956
|
label: z.ZodString;
|
|
686
957
|
}, z.core.$strict>>;
|
|
958
|
+
heading: z.ZodString;
|
|
687
959
|
products: z.ZodArray<z.ZodObject<{
|
|
688
|
-
imageUrl: z.ZodOptional<z.
|
|
960
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
689
961
|
name: z.ZodString;
|
|
690
962
|
price: z.ZodOptional<z.ZodNumber>;
|
|
691
963
|
productId: z.ZodString;
|
|
692
964
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
693
|
-
values: z.ZodRecord<z.ZodString, z.ZodString
|
|
965
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
694
966
|
}, z.core.$strict>>;
|
|
967
|
+
summary: z.ZodString;
|
|
968
|
+
}, z.core.$strict>>;
|
|
969
|
+
}, z.core.$loose>;
|
|
970
|
+
export type ComparisonTable = z.infer<typeof ComparisonTableSchema>;
|
|
971
|
+
export declare const ProductListActionsSchema: z.ZodObject<{
|
|
972
|
+
productClick: z.ZodObject<{
|
|
973
|
+
payload: z.ZodObject<{
|
|
974
|
+
name: z.ZodOptional<z.ZodString>;
|
|
975
|
+
position: z.ZodNumber;
|
|
976
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
977
|
+
productId: z.ZodString;
|
|
978
|
+
}, z.core.$strict>;
|
|
979
|
+
}, z.core.$strict>;
|
|
980
|
+
selectProducts: z.ZodObject<{
|
|
981
|
+
payload: z.ZodObject<{
|
|
982
|
+
productIds: z.ZodArray<z.ZodString>;
|
|
983
|
+
}, z.core.$strict>;
|
|
695
984
|
}, z.core.$strict>;
|
|
696
985
|
}, z.core.$strict>;
|
|
697
|
-
export type
|
|
986
|
+
export type ProductListActions = z.infer<typeof ProductListActionsSchema>;
|
|
698
987
|
export declare const PaginationActionsSchema: z.ZodObject<{
|
|
699
988
|
selectPage: z.ZodObject<{
|
|
700
989
|
payload: z.ZodObject<{
|
|
@@ -706,6 +995,9 @@ export declare const PaginationActionsSchema: z.ZodObject<{
|
|
|
706
995
|
pageSize: z.ZodNumber;
|
|
707
996
|
}, z.core.$strict>;
|
|
708
997
|
}, z.core.$strict>;
|
|
998
|
+
showMore: z.ZodObject<{
|
|
999
|
+
payload: z.ZodObject<{}, z.core.$strict>;
|
|
1000
|
+
}, z.core.$strict>;
|
|
709
1001
|
}, z.core.$strict>;
|
|
710
1002
|
export type PaginationActions = z.infer<typeof PaginationActionsSchema>;
|
|
711
1003
|
export declare const SortActionsSchema: z.ZodObject<{
|
|
@@ -717,14 +1009,6 @@ export declare const SortActionsSchema: z.ZodObject<{
|
|
|
717
1009
|
}, z.core.$strict>;
|
|
718
1010
|
}, z.core.$strict>;
|
|
719
1011
|
export type SortActions = z.infer<typeof SortActionsSchema>;
|
|
720
|
-
export declare const SearchBoxActionsSchema: z.ZodObject<{
|
|
721
|
-
submitQuery: z.ZodObject<{
|
|
722
|
-
payload: z.ZodObject<{
|
|
723
|
-
query: z.ZodString;
|
|
724
|
-
}, z.core.$strict>;
|
|
725
|
-
}, z.core.$strict>;
|
|
726
|
-
}, z.core.$strict>;
|
|
727
|
-
export type SearchBoxActions = z.infer<typeof SearchBoxActionsSchema>;
|
|
728
1012
|
export declare const RegularFacetActionsSchema: z.ZodObject<{
|
|
729
1013
|
clearAllActiveValues: z.ZodObject<{
|
|
730
1014
|
payload: z.ZodUnknown;
|
|
@@ -914,33 +1198,105 @@ export declare const CategoryFacetStateSchema: z.ZodObject<{
|
|
|
914
1198
|
}, z.core.$strict>;
|
|
915
1199
|
}, z.core.$strict>;
|
|
916
1200
|
export type CategoryFacetState = z.infer<typeof CategoryFacetStateSchema>;
|
|
1201
|
+
export declare const RestoreStatePayloadSchema: z.ZodObject<{
|
|
1202
|
+
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1203
|
+
facetId: z.ZodString;
|
|
1204
|
+
numericRanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1205
|
+
end: z.ZodNumber;
|
|
1206
|
+
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1207
|
+
start: z.ZodNumber;
|
|
1208
|
+
}, z.core.$strict>>>;
|
|
1209
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1210
|
+
}, z.core.$strict>>>;
|
|
1211
|
+
page: z.ZodNumber;
|
|
1212
|
+
pageSize: z.ZodNumber;
|
|
1213
|
+
pinnedProducts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1214
|
+
query: z.ZodString;
|
|
1215
|
+
sortCriteria: z.ZodOptional<z.ZodString>;
|
|
1216
|
+
}, z.core.$strict>;
|
|
1217
|
+
export type RestoreStatePayload = z.infer<typeof RestoreStatePayloadSchema>;
|
|
1218
|
+
export declare const PageSizeActionsSchema: z.ZodObject<{
|
|
1219
|
+
setPageSize: z.ZodObject<{
|
|
1220
|
+
payload: z.ZodObject<{
|
|
1221
|
+
pageSize: z.ZodNumber;
|
|
1222
|
+
}, z.core.$strict>;
|
|
1223
|
+
}, z.core.$strict>;
|
|
1224
|
+
}, z.core.$strict>;
|
|
1225
|
+
export type PageSizeActions = z.infer<typeof PageSizeActionsSchema>;
|
|
917
1226
|
export declare const CartActionsSchema: z.ZodObject<{
|
|
918
|
-
|
|
1227
|
+
purchase: z.ZodObject<{
|
|
919
1228
|
payload: z.ZodObject<{
|
|
920
|
-
|
|
921
|
-
name: z.ZodString
|
|
922
|
-
price: z.ZodNumber
|
|
1229
|
+
products: z.ZodArray<z.ZodObject<{
|
|
1230
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1231
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
923
1232
|
productId: z.ZodString;
|
|
924
1233
|
quantity: z.ZodNumber;
|
|
925
1234
|
}, z.core.$strict>>;
|
|
1235
|
+
transaction: z.ZodObject<{
|
|
1236
|
+
id: z.ZodString;
|
|
1237
|
+
revenue: z.ZodNumber;
|
|
1238
|
+
}, z.core.$strict>;
|
|
926
1239
|
}, z.core.$strict>;
|
|
927
1240
|
}, z.core.$strict>;
|
|
928
|
-
|
|
1241
|
+
updateCart: z.ZodObject<{
|
|
929
1242
|
payload: z.ZodObject<{
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
}
|
|
1243
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1244
|
+
operation: z.ZodEnum<{
|
|
1245
|
+
add: "add";
|
|
1246
|
+
remove: "remove";
|
|
1247
|
+
setQuantity: "setQuantity";
|
|
1248
|
+
}>;
|
|
1249
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1250
|
+
productId: z.ZodString;
|
|
1251
|
+
quantity: z.ZodNumber;
|
|
936
1252
|
}, z.core.$strict>;
|
|
937
1253
|
}, z.core.$strict>;
|
|
938
1254
|
}, z.core.$strict>;
|
|
939
1255
|
export type CartActions = z.infer<typeof CartActionsSchema>;
|
|
1256
|
+
export declare const QuerySuggestionsSchema: z.ZodObject<{
|
|
1257
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1258
|
+
fetchSuggestions: z.ZodObject<{
|
|
1259
|
+
payload: z.ZodObject<{
|
|
1260
|
+
query: z.ZodString;
|
|
1261
|
+
}, z.core.$strict>;
|
|
1262
|
+
}, z.core.$strict>;
|
|
1263
|
+
}, z.core.$strict>>;
|
|
1264
|
+
component: z.ZodLiteral<"QuerySuggestions">;
|
|
1265
|
+
id: z.ZodString;
|
|
1266
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1267
|
+
completions: z.ZodArray<z.ZodObject<{
|
|
1268
|
+
expression: z.ZodString;
|
|
1269
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1270
|
+
}, z.core.$strict>>;
|
|
1271
|
+
products: z.ZodArray<z.ZodObject<{
|
|
1272
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1273
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
1274
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
1275
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
1276
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1277
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
1278
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
1279
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1280
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
1281
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
1282
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
1283
|
+
ec_name: z.ZodString;
|
|
1284
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
1285
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
1286
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1287
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
1288
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1289
|
+
permanentid: z.ZodString;
|
|
1290
|
+
}, z.core.$strict>>;
|
|
1291
|
+
query: z.ZodString;
|
|
1292
|
+
}, z.core.$strict>>;
|
|
1293
|
+
}, z.core.$loose>;
|
|
1294
|
+
export type QuerySuggestions = z.infer<typeof QuerySuggestionsSchema>;
|
|
940
1295
|
export declare const NextActionsBarSchema: z.ZodObject<{
|
|
941
|
-
actions: z.ZodObject<{
|
|
1296
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
942
1297
|
selectAction: z.ZodObject<{
|
|
943
1298
|
payload: z.ZodObject<{
|
|
1299
|
+
optionId: z.ZodOptional<z.ZodString>;
|
|
944
1300
|
text: z.ZodString;
|
|
945
1301
|
type: z.ZodEnum<{
|
|
946
1302
|
followup: "followup";
|
|
@@ -948,36 +1304,82 @@ export declare const NextActionsBarSchema: z.ZodObject<{
|
|
|
948
1304
|
}>;
|
|
949
1305
|
}, z.core.$strict>;
|
|
950
1306
|
}, z.core.$strict>;
|
|
951
|
-
}, z.core.$strict
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
1307
|
+
}, z.core.$strict>>;
|
|
1308
|
+
component: z.ZodLiteral<"NextActionsBar">;
|
|
1309
|
+
id: z.ZodString;
|
|
1310
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1311
|
+
suggestedActions: z.ZodArray<z.ZodObject<{
|
|
1312
|
+
optionId: z.ZodOptional<z.ZodString>;
|
|
955
1313
|
text: z.ZodString;
|
|
956
1314
|
type: z.ZodEnum<{
|
|
957
1315
|
followup: "followup";
|
|
958
1316
|
search: "search";
|
|
959
1317
|
}>;
|
|
960
1318
|
}, z.core.$strict>>;
|
|
961
|
-
}, z.core.$strict
|
|
962
|
-
}, z.core.$
|
|
1319
|
+
}, z.core.$strict>>;
|
|
1320
|
+
}, z.core.$loose>;
|
|
963
1321
|
export type NextActionsBar = z.infer<typeof NextActionsBarSchema>;
|
|
964
1322
|
export declare const BundleDisplaySchema: z.ZodObject<{
|
|
965
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
966
|
-
|
|
967
|
-
|
|
1323
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1324
|
+
component: z.ZodLiteral<"BundleDisplay">;
|
|
1325
|
+
id: z.ZodString;
|
|
1326
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
968
1327
|
tiers: z.ZodArray<z.ZodObject<{
|
|
969
1328
|
description: z.ZodString;
|
|
970
1329
|
label: z.ZodString;
|
|
971
1330
|
slots: z.ZodArray<z.ZodObject<{
|
|
972
1331
|
categoryLabel: z.ZodString;
|
|
973
|
-
|
|
1332
|
+
childId: z.ZodString;
|
|
974
1333
|
}, z.core.$strict>>;
|
|
1334
|
+
total: z.ZodNumber;
|
|
975
1335
|
}, z.core.$strict>>;
|
|
976
|
-
}, z.core.$strict
|
|
977
|
-
}, z.core.$
|
|
1336
|
+
}, z.core.$strict>>;
|
|
1337
|
+
}, z.core.$loose>;
|
|
978
1338
|
export type BundleDisplay = z.infer<typeof BundleDisplaySchema>;
|
|
1339
|
+
export declare const ProductListSchema: z.ZodObject<{
|
|
1340
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1341
|
+
productClick: z.ZodObject<{
|
|
1342
|
+
payload: z.ZodObject<{
|
|
1343
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1344
|
+
position: z.ZodNumber;
|
|
1345
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1346
|
+
productId: z.ZodString;
|
|
1347
|
+
}, z.core.$strict>;
|
|
1348
|
+
}, z.core.$strict>;
|
|
1349
|
+
selectProducts: z.ZodObject<{
|
|
1350
|
+
payload: z.ZodObject<{
|
|
1351
|
+
productIds: z.ZodArray<z.ZodString>;
|
|
1352
|
+
}, z.core.$strict>;
|
|
1353
|
+
}, z.core.$strict>;
|
|
1354
|
+
}, z.core.$strict>>;
|
|
1355
|
+
component: z.ZodLiteral<"ProductList">;
|
|
1356
|
+
id: z.ZodString;
|
|
1357
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1358
|
+
products: z.ZodArray<z.ZodObject<{
|
|
1359
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1360
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
1361
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
1362
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
1363
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1364
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
1365
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
1366
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1367
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
1368
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
1369
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
1370
|
+
ec_name: z.ZodString;
|
|
1371
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
1372
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
1373
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1374
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
1375
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1376
|
+
permanentid: z.ZodString;
|
|
1377
|
+
}, z.core.$strict>>;
|
|
1378
|
+
}, z.core.$strict>>;
|
|
1379
|
+
}, z.core.$loose>;
|
|
1380
|
+
export type ProductList = z.infer<typeof ProductListSchema>;
|
|
979
1381
|
export declare const PaginationSchema: z.ZodObject<{
|
|
980
|
-
actions: z.ZodObject<{
|
|
1382
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
981
1383
|
selectPage: z.ZodObject<{
|
|
982
1384
|
payload: z.ZodObject<{
|
|
983
1385
|
page: z.ZodNumber;
|
|
@@ -988,27 +1390,32 @@ export declare const PaginationSchema: z.ZodObject<{
|
|
|
988
1390
|
pageSize: z.ZodNumber;
|
|
989
1391
|
}, z.core.$strict>;
|
|
990
1392
|
}, z.core.$strict>;
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
1393
|
+
showMore: z.ZodObject<{
|
|
1394
|
+
payload: z.ZodObject<{}, z.core.$strict>;
|
|
1395
|
+
}, z.core.$strict>;
|
|
1396
|
+
}, z.core.$strict>>;
|
|
1397
|
+
component: z.ZodLiteral<"Pagination">;
|
|
1398
|
+
id: z.ZodString;
|
|
1399
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
994
1400
|
page: z.ZodNumber;
|
|
995
1401
|
pageSize: z.ZodNumber;
|
|
996
1402
|
totalEntries: z.ZodNumber;
|
|
997
1403
|
totalPages: z.ZodNumber;
|
|
998
|
-
}, z.core.$strict
|
|
999
|
-
}, z.core.$
|
|
1404
|
+
}, z.core.$strict>>;
|
|
1405
|
+
}, z.core.$loose>;
|
|
1000
1406
|
export type Pagination = z.infer<typeof PaginationSchema>;
|
|
1001
1407
|
export declare const SortSchema: z.ZodObject<{
|
|
1002
|
-
actions: z.ZodObject<{
|
|
1408
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1003
1409
|
selectSort: z.ZodObject<{
|
|
1004
1410
|
payload: z.ZodObject<{
|
|
1005
1411
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
1006
1412
|
sortCriteria: z.ZodString;
|
|
1007
1413
|
}, z.core.$strict>;
|
|
1008
1414
|
}, z.core.$strict>;
|
|
1009
|
-
}, z.core.$strict
|
|
1010
|
-
|
|
1011
|
-
|
|
1415
|
+
}, z.core.$strict>>;
|
|
1416
|
+
component: z.ZodLiteral<"Sort">;
|
|
1417
|
+
id: z.ZodString;
|
|
1418
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1012
1419
|
appliedSort: z.ZodObject<{
|
|
1013
1420
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
1014
1421
|
sortCriteria: z.ZodString;
|
|
@@ -1017,25 +1424,11 @@ export declare const SortSchema: z.ZodObject<{
|
|
|
1017
1424
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
1018
1425
|
sortCriteria: z.ZodString;
|
|
1019
1426
|
}, z.core.$strict>>;
|
|
1020
|
-
}, z.core.$strict
|
|
1021
|
-
}, z.core.$
|
|
1427
|
+
}, z.core.$strict>>;
|
|
1428
|
+
}, z.core.$loose>;
|
|
1022
1429
|
export type Sort = z.infer<typeof SortSchema>;
|
|
1023
|
-
export declare const SearchBoxSchema: z.ZodObject<{
|
|
1024
|
-
actions: z.ZodObject<{
|
|
1025
|
-
submitQuery: z.ZodObject<{
|
|
1026
|
-
payload: z.ZodObject<{
|
|
1027
|
-
query: z.ZodString;
|
|
1028
|
-
}, z.core.$strict>;
|
|
1029
|
-
}, z.core.$strict>;
|
|
1030
|
-
}, z.core.$strict>;
|
|
1031
|
-
componentType: z.ZodLiteral<"search-box">;
|
|
1032
|
-
state: z.ZodObject<{
|
|
1033
|
-
query: z.ZodString;
|
|
1034
|
-
}, z.core.$strict>;
|
|
1035
|
-
}, z.core.$strict>;
|
|
1036
|
-
export type SearchBox = z.infer<typeof SearchBoxSchema>;
|
|
1037
1430
|
export declare const RegularFacetSchema: z.ZodObject<{
|
|
1038
|
-
actions: z.ZodObject<{
|
|
1431
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1039
1432
|
clearAllActiveValues: z.ZodObject<{
|
|
1040
1433
|
payload: z.ZodUnknown;
|
|
1041
1434
|
}, z.core.$strict>;
|
|
@@ -1076,9 +1469,10 @@ export declare const RegularFacetSchema: z.ZodObject<{
|
|
|
1076
1469
|
value: z.ZodString;
|
|
1077
1470
|
}, z.core.$strict>;
|
|
1078
1471
|
}, z.core.$strict>;
|
|
1079
|
-
}, z.core.$strict
|
|
1080
|
-
|
|
1081
|
-
|
|
1472
|
+
}, z.core.$strict>>;
|
|
1473
|
+
component: z.ZodLiteral<"RegularFacet">;
|
|
1474
|
+
id: z.ZodString;
|
|
1475
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1082
1476
|
canShowLessValues: z.ZodBoolean;
|
|
1083
1477
|
canShowMoreValues: z.ZodBoolean;
|
|
1084
1478
|
displayName: z.ZodString;
|
|
@@ -1101,11 +1495,11 @@ export declare const RegularFacetSchema: z.ZodObject<{
|
|
|
1101
1495
|
}>;
|
|
1102
1496
|
value: z.ZodString;
|
|
1103
1497
|
}, z.core.$strict>>;
|
|
1104
|
-
}, z.core.$strict
|
|
1105
|
-
}, z.core.$
|
|
1498
|
+
}, z.core.$strict>>;
|
|
1499
|
+
}, z.core.$loose>;
|
|
1106
1500
|
export type RegularFacet = z.infer<typeof RegularFacetSchema>;
|
|
1107
1501
|
export declare const NumericFacetSchema: z.ZodObject<{
|
|
1108
|
-
actions: z.ZodObject<{
|
|
1502
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1109
1503
|
applyCustomRange: z.ZodObject<{
|
|
1110
1504
|
payload: z.ZodObject<{
|
|
1111
1505
|
end: z.ZodNumber;
|
|
@@ -1133,9 +1527,10 @@ export declare const NumericFacetSchema: z.ZodObject<{
|
|
|
1133
1527
|
start: z.ZodNumber;
|
|
1134
1528
|
}, z.core.$strict>;
|
|
1135
1529
|
}, z.core.$strict>;
|
|
1136
|
-
}, z.core.$strict
|
|
1137
|
-
|
|
1138
|
-
|
|
1530
|
+
}, z.core.$strict>>;
|
|
1531
|
+
component: z.ZodLiteral<"NumericFacet">;
|
|
1532
|
+
id: z.ZodString;
|
|
1533
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1139
1534
|
canShowLessValues: z.ZodBoolean;
|
|
1140
1535
|
canShowMoreValues: z.ZodBoolean;
|
|
1141
1536
|
customRange: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1159,11 +1554,11 @@ export declare const NumericFacetSchema: z.ZodObject<{
|
|
|
1159
1554
|
selected: "selected";
|
|
1160
1555
|
}>;
|
|
1161
1556
|
}, z.core.$strict>>;
|
|
1162
|
-
}, z.core.$strict
|
|
1163
|
-
}, z.core.$
|
|
1557
|
+
}, z.core.$strict>>;
|
|
1558
|
+
}, z.core.$loose>;
|
|
1164
1559
|
export type NumericFacet = z.infer<typeof NumericFacetSchema>;
|
|
1165
1560
|
export declare const DateFacetSchema: z.ZodObject<{
|
|
1166
|
-
actions: z.ZodObject<{
|
|
1561
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1167
1562
|
applyCustomRange: z.ZodObject<{
|
|
1168
1563
|
payload: z.ZodObject<{
|
|
1169
1564
|
end: z.ZodString;
|
|
@@ -1191,9 +1586,10 @@ export declare const DateFacetSchema: z.ZodObject<{
|
|
|
1191
1586
|
start: z.ZodString;
|
|
1192
1587
|
}, z.core.$strict>;
|
|
1193
1588
|
}, z.core.$strict>;
|
|
1194
|
-
}, z.core.$strict
|
|
1195
|
-
|
|
1196
|
-
|
|
1589
|
+
}, z.core.$strict>>;
|
|
1590
|
+
component: z.ZodLiteral<"DateFacet">;
|
|
1591
|
+
id: z.ZodString;
|
|
1592
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1197
1593
|
canShowLessValues: z.ZodBoolean;
|
|
1198
1594
|
canShowMoreValues: z.ZodBoolean;
|
|
1199
1595
|
customRange: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1213,11 +1609,11 @@ export declare const DateFacetSchema: z.ZodObject<{
|
|
|
1213
1609
|
selected: "selected";
|
|
1214
1610
|
}>;
|
|
1215
1611
|
}, z.core.$strict>>;
|
|
1216
|
-
}, z.core.$strict
|
|
1217
|
-
}, z.core.$
|
|
1612
|
+
}, z.core.$strict>>;
|
|
1613
|
+
}, z.core.$loose>;
|
|
1218
1614
|
export type DateFacet = z.infer<typeof DateFacetSchema>;
|
|
1219
1615
|
export declare const CategoryFacetSchema: z.ZodObject<{
|
|
1220
|
-
actions: z.ZodObject<{
|
|
1616
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1221
1617
|
clearSearch: z.ZodObject<{
|
|
1222
1618
|
payload: z.ZodUnknown;
|
|
1223
1619
|
}, z.core.$strict>;
|
|
@@ -1243,9 +1639,10 @@ export declare const CategoryFacetSchema: z.ZodObject<{
|
|
|
1243
1639
|
showMoreValues: z.ZodObject<{
|
|
1244
1640
|
payload: z.ZodUnknown;
|
|
1245
1641
|
}, z.core.$strict>;
|
|
1246
|
-
}, z.core.$strict
|
|
1247
|
-
|
|
1248
|
-
|
|
1642
|
+
}, z.core.$strict>>;
|
|
1643
|
+
component: z.ZodLiteral<"CategoryFacet">;
|
|
1644
|
+
id: z.ZodString;
|
|
1645
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1249
1646
|
canShowLessValues: z.ZodBoolean;
|
|
1250
1647
|
canShowMoreValues: z.ZodBoolean;
|
|
1251
1648
|
displayName: z.ZodString;
|
|
@@ -1276,57 +1673,160 @@ export declare const CategoryFacetSchema: z.ZodObject<{
|
|
|
1276
1673
|
value: z.ZodString;
|
|
1277
1674
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1278
1675
|
}, z.core.$strict>;
|
|
1676
|
+
}, z.core.$strict>>;
|
|
1677
|
+
}, z.core.$loose>;
|
|
1678
|
+
export type CategoryFacet = z.infer<typeof CategoryFacetSchema>;
|
|
1679
|
+
export declare const RestoreStateSchema: z.ZodObject<{
|
|
1680
|
+
payload: z.ZodObject<{
|
|
1681
|
+
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1682
|
+
facetId: z.ZodString;
|
|
1683
|
+
numericRanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1684
|
+
end: z.ZodNumber;
|
|
1685
|
+
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1686
|
+
start: z.ZodNumber;
|
|
1687
|
+
}, z.core.$strict>>>;
|
|
1688
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1689
|
+
}, z.core.$strict>>>;
|
|
1690
|
+
page: z.ZodNumber;
|
|
1691
|
+
pageSize: z.ZodNumber;
|
|
1692
|
+
pinnedProducts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1693
|
+
query: z.ZodString;
|
|
1694
|
+
sortCriteria: z.ZodOptional<z.ZodString>;
|
|
1279
1695
|
}, z.core.$strict>;
|
|
1280
1696
|
}, z.core.$strict>;
|
|
1281
|
-
export type
|
|
1697
|
+
export type RestoreState = z.infer<typeof RestoreStateSchema>;
|
|
1698
|
+
export declare const PageSizeSchema: z.ZodObject<{
|
|
1699
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1700
|
+
setPageSize: z.ZodObject<{
|
|
1701
|
+
payload: z.ZodObject<{
|
|
1702
|
+
pageSize: z.ZodNumber;
|
|
1703
|
+
}, z.core.$strict>;
|
|
1704
|
+
}, z.core.$strict>;
|
|
1705
|
+
}, z.core.$strict>>;
|
|
1706
|
+
component: z.ZodLiteral<"PageSize">;
|
|
1707
|
+
id: z.ZodString;
|
|
1708
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1709
|
+
pageSize: z.ZodNumber;
|
|
1710
|
+
}, z.core.$strict>>;
|
|
1711
|
+
}, z.core.$loose>;
|
|
1712
|
+
export type PageSize = z.infer<typeof PageSizeSchema>;
|
|
1282
1713
|
export declare const CartSchema: z.ZodObject<{
|
|
1283
|
-
actions: z.ZodObject<{
|
|
1284
|
-
|
|
1714
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1715
|
+
purchase: z.ZodObject<{
|
|
1285
1716
|
payload: z.ZodObject<{
|
|
1286
|
-
|
|
1287
|
-
name: z.ZodString
|
|
1288
|
-
price: z.ZodNumber
|
|
1717
|
+
products: z.ZodArray<z.ZodObject<{
|
|
1718
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1719
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1289
1720
|
productId: z.ZodString;
|
|
1290
1721
|
quantity: z.ZodNumber;
|
|
1291
1722
|
}, z.core.$strict>>;
|
|
1723
|
+
transaction: z.ZodObject<{
|
|
1724
|
+
id: z.ZodString;
|
|
1725
|
+
revenue: z.ZodNumber;
|
|
1726
|
+
}, z.core.$strict>;
|
|
1292
1727
|
}, z.core.$strict>;
|
|
1293
1728
|
}, z.core.$strict>;
|
|
1294
|
-
|
|
1729
|
+
updateCart: z.ZodObject<{
|
|
1295
1730
|
payload: z.ZodObject<{
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
}
|
|
1731
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1732
|
+
operation: z.ZodEnum<{
|
|
1733
|
+
add: "add";
|
|
1734
|
+
remove: "remove";
|
|
1735
|
+
setQuantity: "setQuantity";
|
|
1736
|
+
}>;
|
|
1737
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1738
|
+
productId: z.ZodString;
|
|
1739
|
+
quantity: z.ZodNumber;
|
|
1302
1740
|
}, z.core.$strict>;
|
|
1303
1741
|
}, z.core.$strict>;
|
|
1742
|
+
}, z.core.$strict>>;
|
|
1743
|
+
component: z.ZodLiteral<"Cart">;
|
|
1744
|
+
id: z.ZodString;
|
|
1745
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1746
|
+
}, z.core.$loose>;
|
|
1747
|
+
export type Cart = z.infer<typeof CartSchema>;
|
|
1748
|
+
export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
1749
|
+
overrideCorrection: z.ZodObject<{
|
|
1750
|
+
payload: z.ZodObject<{
|
|
1751
|
+
originalQuery: z.ZodString;
|
|
1752
|
+
}, z.core.$strict>;
|
|
1304
1753
|
}, z.core.$strict>;
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1754
|
+
restoreState: z.ZodObject<{
|
|
1755
|
+
payload: z.ZodObject<{
|
|
1756
|
+
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1757
|
+
facetId: z.ZodString;
|
|
1758
|
+
numericRanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1759
|
+
end: z.ZodNumber;
|
|
1760
|
+
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1761
|
+
start: z.ZodNumber;
|
|
1762
|
+
}, z.core.$strict>>>;
|
|
1763
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1764
|
+
}, z.core.$strict>>>;
|
|
1765
|
+
page: z.ZodNumber;
|
|
1766
|
+
pageSize: z.ZodNumber;
|
|
1767
|
+
pinnedProducts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1768
|
+
query: z.ZodString;
|
|
1769
|
+
sortCriteria: z.ZodOptional<z.ZodString>;
|
|
1770
|
+
}, z.core.$strict>;
|
|
1771
|
+
}, z.core.$strict>;
|
|
1772
|
+
submitQuery: z.ZodObject<{
|
|
1773
|
+
payload: z.ZodObject<{
|
|
1774
|
+
query: z.ZodString;
|
|
1775
|
+
}, z.core.$strict>;
|
|
1313
1776
|
}, z.core.$strict>;
|
|
1314
1777
|
}, z.core.$strict>;
|
|
1315
|
-
export type
|
|
1778
|
+
export type CommerceSearchActions = z.infer<typeof CommerceSearchActionsSchema>;
|
|
1779
|
+
export declare const CommerceSearchSchema: z.ZodObject<{
|
|
1780
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1781
|
+
overrideCorrection: z.ZodObject<{
|
|
1782
|
+
payload: z.ZodObject<{
|
|
1783
|
+
originalQuery: z.ZodString;
|
|
1784
|
+
}, z.core.$strict>;
|
|
1785
|
+
}, z.core.$strict>;
|
|
1786
|
+
restoreState: z.ZodObject<{
|
|
1787
|
+
payload: z.ZodObject<{
|
|
1788
|
+
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1789
|
+
facetId: z.ZodString;
|
|
1790
|
+
numericRanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1791
|
+
end: z.ZodNumber;
|
|
1792
|
+
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1793
|
+
start: z.ZodNumber;
|
|
1794
|
+
}, z.core.$strict>>>;
|
|
1795
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1796
|
+
}, z.core.$strict>>>;
|
|
1797
|
+
page: z.ZodNumber;
|
|
1798
|
+
pageSize: z.ZodNumber;
|
|
1799
|
+
pinnedProducts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1800
|
+
query: z.ZodString;
|
|
1801
|
+
sortCriteria: z.ZodOptional<z.ZodString>;
|
|
1802
|
+
}, z.core.$strict>;
|
|
1803
|
+
}, z.core.$strict>;
|
|
1804
|
+
submitQuery: z.ZodObject<{
|
|
1805
|
+
payload: z.ZodObject<{
|
|
1806
|
+
query: z.ZodString;
|
|
1807
|
+
}, z.core.$strict>;
|
|
1808
|
+
}, z.core.$strict>;
|
|
1809
|
+
}, z.core.$strict>>;
|
|
1810
|
+
component: z.ZodLiteral<"CommerceSearch">;
|
|
1811
|
+
id: z.ZodString;
|
|
1812
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1813
|
+
}, z.core.$loose>;
|
|
1814
|
+
export type CommerceSearch = z.infer<typeof CommerceSearchSchema>;
|
|
1316
1815
|
export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1317
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
1318
|
-
|
|
1319
|
-
|
|
1816
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1817
|
+
component: z.ZodLiteral<"ProductCarousel">;
|
|
1818
|
+
id: z.ZodString;
|
|
1819
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1320
1820
|
heading: z.ZodString;
|
|
1321
1821
|
products: z.ZodArray<z.ZodObject<{
|
|
1322
1822
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1323
1823
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
1324
|
-
clickUri: z.ZodOptional<z.
|
|
1824
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
1325
1825
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
1326
1826
|
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1327
1827
|
ec_color: z.ZodOptional<z.ZodString>;
|
|
1328
1828
|
ec_description: z.ZodOptional<z.ZodString>;
|
|
1329
|
-
ec_images: z.ZodOptional<z.ZodArray<z.
|
|
1829
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1330
1830
|
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
1331
1831
|
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
1332
1832
|
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
@@ -1335,46 +1835,85 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1335
1835
|
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
1336
1836
|
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1337
1837
|
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
1338
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.
|
|
1838
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1339
1839
|
permanentid: z.ZodString;
|
|
1340
1840
|
}, z.core.$strict>>;
|
|
1341
|
-
}, z.core.$strict
|
|
1342
|
-
}, z.core.$
|
|
1343
|
-
actions: z.ZodObject<{
|
|
1344
|
-
|
|
1841
|
+
}, z.core.$strict>>;
|
|
1842
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1843
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1844
|
+
purchase: z.ZodObject<{
|
|
1345
1845
|
payload: z.ZodObject<{
|
|
1346
|
-
|
|
1347
|
-
name: z.ZodString
|
|
1348
|
-
price: z.ZodNumber
|
|
1846
|
+
products: z.ZodArray<z.ZodObject<{
|
|
1847
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1848
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1349
1849
|
productId: z.ZodString;
|
|
1350
1850
|
quantity: z.ZodNumber;
|
|
1351
1851
|
}, z.core.$strict>>;
|
|
1852
|
+
transaction: z.ZodObject<{
|
|
1853
|
+
id: z.ZodString;
|
|
1854
|
+
revenue: z.ZodNumber;
|
|
1855
|
+
}, z.core.$strict>;
|
|
1352
1856
|
}, z.core.$strict>;
|
|
1353
1857
|
}, z.core.$strict>;
|
|
1354
|
-
|
|
1858
|
+
updateCart: z.ZodObject<{
|
|
1355
1859
|
payload: z.ZodObject<{
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
}
|
|
1860
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1861
|
+
operation: z.ZodEnum<{
|
|
1862
|
+
add: "add";
|
|
1863
|
+
remove: "remove";
|
|
1864
|
+
setQuantity: "setQuantity";
|
|
1865
|
+
}>;
|
|
1866
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1867
|
+
productId: z.ZodString;
|
|
1868
|
+
quantity: z.ZodNumber;
|
|
1362
1869
|
}, z.core.$strict>;
|
|
1363
1870
|
}, z.core.$strict>;
|
|
1364
|
-
}, z.core.$strict
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1871
|
+
}, z.core.$strict>>;
|
|
1872
|
+
component: z.ZodLiteral<"Cart">;
|
|
1873
|
+
id: z.ZodString;
|
|
1874
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1875
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1876
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1877
|
+
fetchSuggestions: z.ZodObject<{
|
|
1878
|
+
payload: z.ZodObject<{
|
|
1879
|
+
query: z.ZodString;
|
|
1880
|
+
}, z.core.$strict>;
|
|
1881
|
+
}, z.core.$strict>;
|
|
1882
|
+
}, z.core.$strict>>;
|
|
1883
|
+
component: z.ZodLiteral<"QuerySuggestions">;
|
|
1884
|
+
id: z.ZodString;
|
|
1885
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1886
|
+
completions: z.ZodArray<z.ZodObject<{
|
|
1887
|
+
expression: z.ZodString;
|
|
1888
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1372
1889
|
}, z.core.$strict>>;
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1890
|
+
products: z.ZodArray<z.ZodObject<{
|
|
1891
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1892
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
1893
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
1894
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
1895
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1896
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
1897
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
1898
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1899
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
1900
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
1901
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
1902
|
+
ec_name: z.ZodString;
|
|
1903
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
1904
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
1905
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1906
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
1907
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1908
|
+
permanentid: z.ZodString;
|
|
1909
|
+
}, z.core.$strict>>;
|
|
1910
|
+
query: z.ZodString;
|
|
1911
|
+
}, z.core.$strict>>;
|
|
1912
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1913
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1376
1914
|
selectAction: z.ZodObject<{
|
|
1377
1915
|
payload: z.ZodObject<{
|
|
1916
|
+
optionId: z.ZodOptional<z.ZodString>;
|
|
1378
1917
|
text: z.ZodString;
|
|
1379
1918
|
type: z.ZodEnum<{
|
|
1380
1919
|
followup: "followup";
|
|
@@ -1382,60 +1921,82 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1382
1921
|
}>;
|
|
1383
1922
|
}, z.core.$strict>;
|
|
1384
1923
|
}, z.core.$strict>;
|
|
1385
|
-
}, z.core.$strict
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1924
|
+
}, z.core.$strict>>;
|
|
1925
|
+
component: z.ZodLiteral<"NextActionsBar">;
|
|
1926
|
+
id: z.ZodString;
|
|
1927
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1928
|
+
suggestedActions: z.ZodArray<z.ZodObject<{
|
|
1929
|
+
optionId: z.ZodOptional<z.ZodString>;
|
|
1389
1930
|
text: z.ZodString;
|
|
1390
1931
|
type: z.ZodEnum<{
|
|
1391
1932
|
followup: "followup";
|
|
1392
1933
|
search: "search";
|
|
1393
1934
|
}>;
|
|
1394
1935
|
}, z.core.$strict>>;
|
|
1395
|
-
}, z.core.$strict
|
|
1396
|
-
}, z.core.$
|
|
1397
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
1398
|
-
|
|
1399
|
-
|
|
1936
|
+
}, z.core.$strict>>;
|
|
1937
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1938
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1939
|
+
component: z.ZodLiteral<"BundleDisplay">;
|
|
1940
|
+
id: z.ZodString;
|
|
1941
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1400
1942
|
tiers: z.ZodArray<z.ZodObject<{
|
|
1401
1943
|
description: z.ZodString;
|
|
1402
1944
|
label: z.ZodString;
|
|
1403
1945
|
slots: z.ZodArray<z.ZodObject<{
|
|
1404
1946
|
categoryLabel: z.ZodString;
|
|
1405
|
-
|
|
1947
|
+
childId: z.ZodString;
|
|
1406
1948
|
}, z.core.$strict>>;
|
|
1949
|
+
total: z.ZodNumber;
|
|
1407
1950
|
}, z.core.$strict>>;
|
|
1408
|
-
}, z.core.$strict
|
|
1409
|
-
}, z.core.$
|
|
1410
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
1411
|
-
|
|
1412
|
-
|
|
1951
|
+
}, z.core.$strict>>;
|
|
1952
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1953
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1954
|
+
component: z.ZodLiteral<"ComparisonTable">;
|
|
1955
|
+
id: z.ZodString;
|
|
1956
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1413
1957
|
attributes: z.ZodArray<z.ZodObject<{
|
|
1414
1958
|
key: z.ZodString;
|
|
1415
1959
|
label: z.ZodString;
|
|
1416
1960
|
}, z.core.$strict>>;
|
|
1961
|
+
heading: z.ZodString;
|
|
1417
1962
|
products: z.ZodArray<z.ZodObject<{
|
|
1418
|
-
imageUrl: z.ZodOptional<z.
|
|
1963
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1419
1964
|
name: z.ZodString;
|
|
1420
1965
|
price: z.ZodOptional<z.ZodNumber>;
|
|
1421
1966
|
productId: z.ZodString;
|
|
1422
1967
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
1423
|
-
values: z.ZodRecord<z.ZodString, z.ZodString
|
|
1968
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1424
1969
|
}, z.core.$strict>>;
|
|
1425
|
-
|
|
1426
|
-
}, z.core.$strict
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1970
|
+
summary: z.ZodString;
|
|
1971
|
+
}, z.core.$strict>>;
|
|
1972
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1973
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1974
|
+
productClick: z.ZodObject<{
|
|
1975
|
+
payload: z.ZodObject<{
|
|
1976
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1977
|
+
position: z.ZodNumber;
|
|
1978
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1979
|
+
productId: z.ZodString;
|
|
1980
|
+
}, z.core.$strict>;
|
|
1981
|
+
}, z.core.$strict>;
|
|
1982
|
+
selectProducts: z.ZodObject<{
|
|
1983
|
+
payload: z.ZodObject<{
|
|
1984
|
+
productIds: z.ZodArray<z.ZodString>;
|
|
1985
|
+
}, z.core.$strict>;
|
|
1986
|
+
}, z.core.$strict>;
|
|
1987
|
+
}, z.core.$strict>>;
|
|
1988
|
+
component: z.ZodLiteral<"ProductList">;
|
|
1989
|
+
id: z.ZodString;
|
|
1990
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1430
1991
|
products: z.ZodArray<z.ZodObject<{
|
|
1431
1992
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1432
1993
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
1433
|
-
clickUri: z.ZodOptional<z.
|
|
1994
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
1434
1995
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
1435
1996
|
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1436
1997
|
ec_color: z.ZodOptional<z.ZodString>;
|
|
1437
1998
|
ec_description: z.ZodOptional<z.ZodString>;
|
|
1438
|
-
ec_images: z.ZodOptional<z.ZodArray<z.
|
|
1999
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1439
2000
|
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
1440
2001
|
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
1441
2002
|
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
@@ -1444,12 +2005,67 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1444
2005
|
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
1445
2006
|
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1446
2007
|
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
1447
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.
|
|
2008
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1448
2009
|
permanentid: z.ZodString;
|
|
1449
2010
|
}, z.core.$strict>>;
|
|
1450
|
-
}, z.core.$strict
|
|
1451
|
-
}, z.core.$
|
|
1452
|
-
actions: z.ZodObject<{
|
|
2011
|
+
}, z.core.$strict>>;
|
|
2012
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2013
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2014
|
+
component: z.ZodLiteral<"ProductSummary">;
|
|
2015
|
+
id: z.ZodString;
|
|
2016
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2017
|
+
categoryLabel: z.ZodString;
|
|
2018
|
+
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
2019
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2020
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
2021
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
2022
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
2023
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2024
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
2025
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
2026
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2027
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
2028
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
2029
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
2030
|
+
ec_name: z.ZodString;
|
|
2031
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
2032
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
2033
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2034
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
2035
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2036
|
+
permanentid: z.ZodString;
|
|
2037
|
+
}, z.core.$strict>, z.ZodNull]>;
|
|
2038
|
+
}, z.core.$strict>>;
|
|
2039
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2040
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2041
|
+
component: z.ZodLiteral<"ProductResearchCard">;
|
|
2042
|
+
id: z.ZodString;
|
|
2043
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2044
|
+
bullets: z.ZodArray<z.ZodString>;
|
|
2045
|
+
product: z.ZodObject<{
|
|
2046
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2047
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
2048
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
2049
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
2050
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2051
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
2052
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
2053
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2054
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
2055
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
2056
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
2057
|
+
ec_name: z.ZodString;
|
|
2058
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
2059
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
2060
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2061
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
2062
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2063
|
+
permanentid: z.ZodString;
|
|
2064
|
+
}, z.core.$strict>;
|
|
2065
|
+
summary: z.ZodString;
|
|
2066
|
+
}, z.core.$strict>>;
|
|
2067
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2068
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1453
2069
|
selectPage: z.ZodObject<{
|
|
1454
2070
|
payload: z.ZodObject<{
|
|
1455
2071
|
page: z.ZodNumber;
|
|
@@ -1460,25 +2076,30 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1460
2076
|
pageSize: z.ZodNumber;
|
|
1461
2077
|
}, z.core.$strict>;
|
|
1462
2078
|
}, z.core.$strict>;
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
2079
|
+
showMore: z.ZodObject<{
|
|
2080
|
+
payload: z.ZodObject<{}, z.core.$strict>;
|
|
2081
|
+
}, z.core.$strict>;
|
|
2082
|
+
}, z.core.$strict>>;
|
|
2083
|
+
component: z.ZodLiteral<"Pagination">;
|
|
2084
|
+
id: z.ZodString;
|
|
2085
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1466
2086
|
page: z.ZodNumber;
|
|
1467
2087
|
pageSize: z.ZodNumber;
|
|
1468
2088
|
totalEntries: z.ZodNumber;
|
|
1469
2089
|
totalPages: z.ZodNumber;
|
|
1470
|
-
}, z.core.$strict
|
|
1471
|
-
}, z.core.$
|
|
1472
|
-
actions: z.ZodObject<{
|
|
2090
|
+
}, z.core.$strict>>;
|
|
2091
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2092
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1473
2093
|
selectSort: z.ZodObject<{
|
|
1474
2094
|
payload: z.ZodObject<{
|
|
1475
2095
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
1476
2096
|
sortCriteria: z.ZodString;
|
|
1477
2097
|
}, z.core.$strict>;
|
|
1478
2098
|
}, z.core.$strict>;
|
|
1479
|
-
}, z.core.$strict
|
|
1480
|
-
|
|
1481
|
-
|
|
2099
|
+
}, z.core.$strict>>;
|
|
2100
|
+
component: z.ZodLiteral<"Sort">;
|
|
2101
|
+
id: z.ZodString;
|
|
2102
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1482
2103
|
appliedSort: z.ZodObject<{
|
|
1483
2104
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
1484
2105
|
sortCriteria: z.ZodString;
|
|
@@ -1487,21 +2108,9 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1487
2108
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
1488
2109
|
sortCriteria: z.ZodString;
|
|
1489
2110
|
}, z.core.$strict>>;
|
|
1490
|
-
}, z.core.$strict
|
|
1491
|
-
}, z.core.$
|
|
1492
|
-
actions: z.ZodObject<{
|
|
1493
|
-
submitQuery: z.ZodObject<{
|
|
1494
|
-
payload: z.ZodObject<{
|
|
1495
|
-
query: z.ZodString;
|
|
1496
|
-
}, z.core.$strict>;
|
|
1497
|
-
}, z.core.$strict>;
|
|
1498
|
-
}, z.core.$strict>;
|
|
1499
|
-
componentType: z.ZodLiteral<"search-box">;
|
|
1500
|
-
state: z.ZodObject<{
|
|
1501
|
-
query: z.ZodString;
|
|
1502
|
-
}, z.core.$strict>;
|
|
1503
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1504
|
-
actions: z.ZodObject<{
|
|
2111
|
+
}, z.core.$strict>>;
|
|
2112
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2113
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1505
2114
|
clearAllActiveValues: z.ZodObject<{
|
|
1506
2115
|
payload: z.ZodUnknown;
|
|
1507
2116
|
}, z.core.$strict>;
|
|
@@ -1542,9 +2151,10 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1542
2151
|
value: z.ZodString;
|
|
1543
2152
|
}, z.core.$strict>;
|
|
1544
2153
|
}, z.core.$strict>;
|
|
1545
|
-
}, z.core.$strict
|
|
1546
|
-
|
|
1547
|
-
|
|
2154
|
+
}, z.core.$strict>>;
|
|
2155
|
+
component: z.ZodLiteral<"RegularFacet">;
|
|
2156
|
+
id: z.ZodString;
|
|
2157
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1548
2158
|
canShowLessValues: z.ZodBoolean;
|
|
1549
2159
|
canShowMoreValues: z.ZodBoolean;
|
|
1550
2160
|
displayName: z.ZodString;
|
|
@@ -1567,9 +2177,9 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1567
2177
|
}>;
|
|
1568
2178
|
value: z.ZodString;
|
|
1569
2179
|
}, z.core.$strict>>;
|
|
1570
|
-
}, z.core.$strict
|
|
1571
|
-
}, z.core.$
|
|
1572
|
-
actions: z.ZodObject<{
|
|
2180
|
+
}, z.core.$strict>>;
|
|
2181
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2182
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1573
2183
|
applyCustomRange: z.ZodObject<{
|
|
1574
2184
|
payload: z.ZodObject<{
|
|
1575
2185
|
end: z.ZodNumber;
|
|
@@ -1597,9 +2207,10 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1597
2207
|
start: z.ZodNumber;
|
|
1598
2208
|
}, z.core.$strict>;
|
|
1599
2209
|
}, z.core.$strict>;
|
|
1600
|
-
}, z.core.$strict
|
|
1601
|
-
|
|
1602
|
-
|
|
2210
|
+
}, z.core.$strict>>;
|
|
2211
|
+
component: z.ZodLiteral<"NumericFacet">;
|
|
2212
|
+
id: z.ZodString;
|
|
2213
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1603
2214
|
canShowLessValues: z.ZodBoolean;
|
|
1604
2215
|
canShowMoreValues: z.ZodBoolean;
|
|
1605
2216
|
customRange: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1623,9 +2234,9 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1623
2234
|
selected: "selected";
|
|
1624
2235
|
}>;
|
|
1625
2236
|
}, z.core.$strict>>;
|
|
1626
|
-
}, z.core.$strict
|
|
1627
|
-
}, z.core.$
|
|
1628
|
-
actions: z.ZodObject<{
|
|
2237
|
+
}, z.core.$strict>>;
|
|
2238
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2239
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1629
2240
|
applyCustomRange: z.ZodObject<{
|
|
1630
2241
|
payload: z.ZodObject<{
|
|
1631
2242
|
end: z.ZodString;
|
|
@@ -1653,9 +2264,10 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1653
2264
|
start: z.ZodString;
|
|
1654
2265
|
}, z.core.$strict>;
|
|
1655
2266
|
}, z.core.$strict>;
|
|
1656
|
-
}, z.core.$strict
|
|
1657
|
-
|
|
1658
|
-
|
|
2267
|
+
}, z.core.$strict>>;
|
|
2268
|
+
component: z.ZodLiteral<"DateFacet">;
|
|
2269
|
+
id: z.ZodString;
|
|
2270
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1659
2271
|
canShowLessValues: z.ZodBoolean;
|
|
1660
2272
|
canShowMoreValues: z.ZodBoolean;
|
|
1661
2273
|
customRange: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1675,9 +2287,9 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1675
2287
|
selected: "selected";
|
|
1676
2288
|
}>;
|
|
1677
2289
|
}, z.core.$strict>>;
|
|
1678
|
-
}, z.core.$strict
|
|
1679
|
-
}, z.core.$
|
|
1680
|
-
actions: z.ZodObject<{
|
|
2290
|
+
}, z.core.$strict>>;
|
|
2291
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2292
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1681
2293
|
clearSearch: z.ZodObject<{
|
|
1682
2294
|
payload: z.ZodUnknown;
|
|
1683
2295
|
}, z.core.$strict>;
|
|
@@ -1703,9 +2315,10 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1703
2315
|
showMoreValues: z.ZodObject<{
|
|
1704
2316
|
payload: z.ZodUnknown;
|
|
1705
2317
|
}, z.core.$strict>;
|
|
1706
|
-
}, z.core.$strict
|
|
1707
|
-
|
|
1708
|
-
|
|
2318
|
+
}, z.core.$strict>>;
|
|
2319
|
+
component: z.ZodLiteral<"CategoryFacet">;
|
|
2320
|
+
id: z.ZodString;
|
|
2321
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1709
2322
|
canShowLessValues: z.ZodBoolean;
|
|
1710
2323
|
canShowMoreValues: z.ZodBoolean;
|
|
1711
2324
|
displayName: z.ZodString;
|
|
@@ -1736,88 +2349,1655 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1736
2349
|
value: z.ZodString;
|
|
1737
2350
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1738
2351
|
}, z.core.$strict>;
|
|
1739
|
-
}, z.core.$strict
|
|
1740
|
-
}, z.core.$
|
|
1741
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
2352
|
+
}, z.core.$strict>>;
|
|
2353
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2354
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2355
|
+
component: z.ZodLiteral<"FacetManager">;
|
|
2356
|
+
id: z.ZodString;
|
|
2357
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2358
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2359
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2360
|
+
overrideCorrection: z.ZodObject<{
|
|
2361
|
+
payload: z.ZodObject<{
|
|
2362
|
+
originalQuery: z.ZodString;
|
|
2363
|
+
}, z.core.$strict>;
|
|
2364
|
+
}, z.core.$strict>;
|
|
2365
|
+
restoreState: z.ZodObject<{
|
|
2366
|
+
payload: z.ZodObject<{
|
|
2367
|
+
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2368
|
+
facetId: z.ZodString;
|
|
2369
|
+
numericRanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2370
|
+
end: z.ZodNumber;
|
|
2371
|
+
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2372
|
+
start: z.ZodNumber;
|
|
2373
|
+
}, z.core.$strict>>>;
|
|
2374
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2375
|
+
}, z.core.$strict>>>;
|
|
2376
|
+
page: z.ZodNumber;
|
|
2377
|
+
pageSize: z.ZodNumber;
|
|
2378
|
+
pinnedProducts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2379
|
+
query: z.ZodString;
|
|
2380
|
+
sortCriteria: z.ZodOptional<z.ZodString>;
|
|
2381
|
+
}, z.core.$strict>;
|
|
2382
|
+
}, z.core.$strict>;
|
|
2383
|
+
submitQuery: z.ZodObject<{
|
|
2384
|
+
payload: z.ZodObject<{
|
|
2385
|
+
query: z.ZodString;
|
|
2386
|
+
}, z.core.$strict>;
|
|
2387
|
+
}, z.core.$strict>;
|
|
2388
|
+
}, z.core.$strict>>;
|
|
2389
|
+
component: z.ZodLiteral<"CommerceSearch">;
|
|
2390
|
+
id: z.ZodString;
|
|
2391
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2392
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2393
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2394
|
+
component: z.ZodLiteral<"LayoutStack">;
|
|
2395
|
+
id: z.ZodString;
|
|
2396
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2397
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2398
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2399
|
+
component: z.ZodLiteral<"QuerySummary">;
|
|
2400
|
+
id: z.ZodString;
|
|
2401
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2402
|
+
firstIndex: z.ZodNumber;
|
|
2403
|
+
lastIndex: z.ZodNumber;
|
|
2404
|
+
query: z.ZodString;
|
|
2405
|
+
totalEntries: z.ZodNumber;
|
|
2406
|
+
}, z.core.$strict>>;
|
|
2407
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2408
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2409
|
+
setPageSize: z.ZodObject<{
|
|
2410
|
+
payload: z.ZodObject<{
|
|
2411
|
+
pageSize: z.ZodNumber;
|
|
2412
|
+
}, z.core.$strict>;
|
|
2413
|
+
}, z.core.$strict>;
|
|
2414
|
+
}, z.core.$strict>>;
|
|
2415
|
+
component: z.ZodLiteral<"PageSize">;
|
|
2416
|
+
id: z.ZodString;
|
|
2417
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2418
|
+
pageSize: z.ZodNumber;
|
|
2419
|
+
}, z.core.$strict>>;
|
|
2420
|
+
}, z.core.$loose>], "component">;
|
|
1747
2421
|
export type ComponentContracts = z.infer<typeof ComponentContractsSchema>;
|
|
1748
2422
|
/**
|
|
1749
|
-
*
|
|
1750
|
-
*
|
|
1751
|
-
*
|
|
1752
|
-
*
|
|
2423
|
+
* A2-UI dynamic-value building blocks (self-contained; no renderer / @a2ui/web_core dependency).
|
|
2424
|
+
* A bindable prop is an A2-UI Dynamic_Value: a union admitting a literal resolved value, an
|
|
2425
|
+
* A2-UI Data_Binding object { path }, or a function-call form. The frozen renderer's binder
|
|
2426
|
+
* classifies a field as resolvable only when its schema is such a union including DataBinding,
|
|
2427
|
+
* so it dereferences the { path } against the data model before the renderer sees it.
|
|
2428
|
+
*
|
|
2429
|
+
* `DataBindingSchema` is projected from the shared definitions/data-binding.schema.json (like
|
|
2430
|
+
* ComponentId / ChildList), so it is not re-declared here; the unions below reference it.
|
|
1753
2431
|
*/
|
|
1754
|
-
export declare const
|
|
1755
|
-
|
|
1756
|
-
|
|
2432
|
+
export declare const FunctionCallSchema: z.ZodObject<{
|
|
2433
|
+
call: z.ZodString;
|
|
2434
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2435
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2436
|
+
any: "any";
|
|
2437
|
+
array: "array";
|
|
2438
|
+
boolean: "boolean";
|
|
2439
|
+
number: "number";
|
|
2440
|
+
object: "object";
|
|
2441
|
+
string: "string";
|
|
2442
|
+
void: "void";
|
|
2443
|
+
}>>;
|
|
1757
2444
|
}, z.core.$strip>;
|
|
1758
|
-
export type
|
|
1759
|
-
export declare const
|
|
1760
|
-
|
|
1761
|
-
|
|
2445
|
+
export type FunctionCall = z.infer<typeof FunctionCallSchema>;
|
|
2446
|
+
export declare const DynamicNumberSchema: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2447
|
+
path: z.ZodString;
|
|
2448
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2449
|
+
call: z.ZodString;
|
|
2450
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2451
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2452
|
+
any: "any";
|
|
2453
|
+
array: "array";
|
|
2454
|
+
boolean: "boolean";
|
|
2455
|
+
number: "number";
|
|
2456
|
+
object: "object";
|
|
2457
|
+
string: "string";
|
|
2458
|
+
void: "void";
|
|
2459
|
+
}>>;
|
|
2460
|
+
}, z.core.$strip>]>;
|
|
2461
|
+
export type DynamicNumber = z.infer<typeof DynamicNumberSchema>;
|
|
2462
|
+
export declare const DynamicStringSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2463
|
+
path: z.ZodString;
|
|
2464
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2465
|
+
call: z.ZodString;
|
|
2466
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2467
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2468
|
+
any: "any";
|
|
2469
|
+
array: "array";
|
|
2470
|
+
boolean: "boolean";
|
|
2471
|
+
number: "number";
|
|
2472
|
+
object: "object";
|
|
2473
|
+
string: "string";
|
|
2474
|
+
void: "void";
|
|
2475
|
+
}>>;
|
|
2476
|
+
}, z.core.$strip>]>;
|
|
2477
|
+
export type DynamicString = z.infer<typeof DynamicStringSchema>;
|
|
2478
|
+
export declare const DynamicBooleanSchema: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2479
|
+
path: z.ZodString;
|
|
2480
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2481
|
+
call: z.ZodString;
|
|
2482
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2483
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2484
|
+
any: "any";
|
|
2485
|
+
array: "array";
|
|
2486
|
+
boolean: "boolean";
|
|
2487
|
+
number: "number";
|
|
2488
|
+
object: "object";
|
|
2489
|
+
string: "string";
|
|
2490
|
+
void: "void";
|
|
2491
|
+
}>>;
|
|
2492
|
+
}, z.core.$strip>]>;
|
|
2493
|
+
export type DynamicBoolean = z.infer<typeof DynamicBooleanSchema>;
|
|
2494
|
+
export declare const DynamicStringListSchema: z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodObject<{
|
|
2495
|
+
path: z.ZodString;
|
|
2496
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2497
|
+
call: z.ZodString;
|
|
2498
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2499
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2500
|
+
any: "any";
|
|
2501
|
+
array: "array";
|
|
2502
|
+
boolean: "boolean";
|
|
2503
|
+
number: "number";
|
|
2504
|
+
object: "object";
|
|
2505
|
+
string: "string";
|
|
2506
|
+
void: "void";
|
|
2507
|
+
}>>;
|
|
2508
|
+
}, z.core.$strip>]>;
|
|
2509
|
+
export type DynamicStringList = z.infer<typeof DynamicStringListSchema>;
|
|
2510
|
+
export declare const DynamicValueSchema: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
2511
|
+
path: z.ZodString;
|
|
2512
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2513
|
+
call: z.ZodString;
|
|
2514
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2515
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2516
|
+
any: "any";
|
|
2517
|
+
array: "array";
|
|
2518
|
+
boolean: "boolean";
|
|
2519
|
+
number: "number";
|
|
2520
|
+
object: "object";
|
|
2521
|
+
string: "string";
|
|
2522
|
+
void: "void";
|
|
2523
|
+
}>>;
|
|
2524
|
+
}, z.core.$strip>]>;
|
|
2525
|
+
export type DynamicValue = z.infer<typeof DynamicValueSchema>;
|
|
2526
|
+
/**
|
|
2527
|
+
* The A2-UI Action schema for an action-typed prop: the standard A2-UI event shape
|
|
2528
|
+
* { event: { name; context } }. Named DynamicAction to stay distinct from the generated base
|
|
2529
|
+
* action-contract ActionSchema and from a component's dispatchable *Actions contract.
|
|
2530
|
+
*/
|
|
2531
|
+
export declare const DynamicActionSchema: z.ZodObject<{
|
|
2532
|
+
event: z.ZodObject<{
|
|
2533
|
+
name: z.ZodString;
|
|
2534
|
+
context: z.ZodOptional<z.ZodUnknown>;
|
|
2535
|
+
}, z.core.$strip>;
|
|
2536
|
+
}, z.core.$strip>;
|
|
2537
|
+
export type DynamicAction = z.infer<typeof DynamicActionSchema>;
|
|
2538
|
+
/**
|
|
2539
|
+
* Per-component props schemas for the renderer catalog (one per component), passed to
|
|
2540
|
+
* `createCatalog` as each component's `{ props }` schema. Each bindable prop is an A2-UI
|
|
2541
|
+
* Dynamic_Value, so the renderer's binder resolves its `{ path }` binding against the A2-UI
|
|
2542
|
+
* data model; composition child-ref props stay static so child ids reach the renderer
|
|
2543
|
+
* untouched. The resolved shape a renderer actually reads is the `XxxProps` type.
|
|
2544
|
+
*/
|
|
2545
|
+
export declare const BundleDisplayPropsSchema: z.ZodObject<{
|
|
2546
|
+
tiers: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
2547
|
+
description: z.ZodString;
|
|
2548
|
+
label: z.ZodString;
|
|
2549
|
+
slots: z.ZodArray<z.ZodObject<{
|
|
2550
|
+
categoryLabel: z.ZodString;
|
|
2551
|
+
childId: z.ZodString;
|
|
2552
|
+
}, z.core.$strict>>;
|
|
2553
|
+
total: z.ZodNumber;
|
|
2554
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
2555
|
+
path: z.ZodString;
|
|
2556
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2557
|
+
call: z.ZodString;
|
|
2558
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2559
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2560
|
+
any: "any";
|
|
2561
|
+
array: "array";
|
|
2562
|
+
boolean: "boolean";
|
|
2563
|
+
number: "number";
|
|
2564
|
+
object: "object";
|
|
2565
|
+
string: "string";
|
|
2566
|
+
void: "void";
|
|
2567
|
+
}>>;
|
|
2568
|
+
}, z.core.$strip>]>;
|
|
1762
2569
|
}, z.core.$strip>;
|
|
1763
|
-
export
|
|
2570
|
+
export declare const CartPropsSchema: z.ZodObject<{}, z.core.$strip>;
|
|
1764
2571
|
export declare const CategoryFacetPropsSchema: z.ZodObject<{
|
|
1765
|
-
|
|
1766
|
-
|
|
2572
|
+
field: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2573
|
+
path: z.ZodString;
|
|
2574
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2575
|
+
call: z.ZodString;
|
|
2576
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2577
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2578
|
+
any: "any";
|
|
2579
|
+
array: "array";
|
|
2580
|
+
boolean: "boolean";
|
|
2581
|
+
number: "number";
|
|
2582
|
+
object: "object";
|
|
2583
|
+
string: "string";
|
|
2584
|
+
void: "void";
|
|
2585
|
+
}>>;
|
|
2586
|
+
}, z.core.$strip>]>;
|
|
2587
|
+
displayName: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2588
|
+
path: z.ZodString;
|
|
2589
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2590
|
+
call: z.ZodString;
|
|
2591
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2592
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2593
|
+
any: "any";
|
|
2594
|
+
array: "array";
|
|
2595
|
+
boolean: "boolean";
|
|
2596
|
+
number: "number";
|
|
2597
|
+
object: "object";
|
|
2598
|
+
string: "string";
|
|
2599
|
+
void: "void";
|
|
2600
|
+
}>>;
|
|
2601
|
+
}, z.core.$strip>]>;
|
|
2602
|
+
values: z.ZodUnion<readonly [z.ZodObject<{
|
|
2603
|
+
ancestry: z.ZodArray<z.ZodObject<{
|
|
2604
|
+
numberOfResults: z.ZodNumber;
|
|
2605
|
+
path: z.ZodArray<z.ZodString>;
|
|
2606
|
+
value: z.ZodString;
|
|
2607
|
+
}, z.core.$strict>>;
|
|
2608
|
+
children: z.ZodArray<z.ZodObject<{
|
|
2609
|
+
numberOfResults: z.ZodNumber;
|
|
2610
|
+
path: z.ZodArray<z.ZodString>;
|
|
2611
|
+
value: z.ZodString;
|
|
2612
|
+
}, z.core.$strict>>;
|
|
2613
|
+
selected: z.ZodUnion<readonly [z.ZodObject<{
|
|
2614
|
+
numberOfResults: z.ZodNumber;
|
|
2615
|
+
path: z.ZodArray<z.ZodString>;
|
|
2616
|
+
value: z.ZodString;
|
|
2617
|
+
}, z.core.$strict>, z.ZodNull]>;
|
|
2618
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2619
|
+
path: z.ZodString;
|
|
2620
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2621
|
+
call: z.ZodString;
|
|
2622
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2623
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2624
|
+
any: "any";
|
|
2625
|
+
array: "array";
|
|
2626
|
+
boolean: "boolean";
|
|
2627
|
+
number: "number";
|
|
2628
|
+
object: "object";
|
|
2629
|
+
string: "string";
|
|
2630
|
+
void: "void";
|
|
2631
|
+
}>>;
|
|
2632
|
+
}, z.core.$strip>]>;
|
|
2633
|
+
canShowMoreValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2634
|
+
path: z.ZodString;
|
|
2635
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2636
|
+
call: z.ZodString;
|
|
2637
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2638
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2639
|
+
any: "any";
|
|
2640
|
+
array: "array";
|
|
2641
|
+
boolean: "boolean";
|
|
2642
|
+
number: "number";
|
|
2643
|
+
object: "object";
|
|
2644
|
+
string: "string";
|
|
2645
|
+
void: "void";
|
|
2646
|
+
}>>;
|
|
2647
|
+
}, z.core.$strip>]>;
|
|
2648
|
+
canShowLessValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2649
|
+
path: z.ZodString;
|
|
2650
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2651
|
+
call: z.ZodString;
|
|
2652
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2653
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2654
|
+
any: "any";
|
|
2655
|
+
array: "array";
|
|
2656
|
+
boolean: "boolean";
|
|
2657
|
+
number: "number";
|
|
2658
|
+
object: "object";
|
|
2659
|
+
string: "string";
|
|
2660
|
+
void: "void";
|
|
2661
|
+
}>>;
|
|
2662
|
+
}, z.core.$strip>]>;
|
|
2663
|
+
facetSearch: z.ZodUnion<readonly [z.ZodObject<{
|
|
2664
|
+
canShowMoreResults: z.ZodBoolean;
|
|
2665
|
+
query: z.ZodString;
|
|
2666
|
+
results: z.ZodArray<z.ZodObject<{
|
|
2667
|
+
numberOfResults: z.ZodNumber;
|
|
2668
|
+
path: z.ZodArray<z.ZodString>;
|
|
2669
|
+
value: z.ZodString;
|
|
2670
|
+
}, z.core.$strict>>;
|
|
2671
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2672
|
+
path: z.ZodString;
|
|
2673
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2674
|
+
call: z.ZodString;
|
|
2675
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2676
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2677
|
+
any: "any";
|
|
2678
|
+
array: "array";
|
|
2679
|
+
boolean: "boolean";
|
|
2680
|
+
number: "number";
|
|
2681
|
+
object: "object";
|
|
2682
|
+
string: "string";
|
|
2683
|
+
void: "void";
|
|
2684
|
+
}>>;
|
|
2685
|
+
}, z.core.$strip>]>;
|
|
2686
|
+
}, z.core.$strip>;
|
|
2687
|
+
export declare const CommerceSearchPropsSchema: z.ZodObject<{
|
|
2688
|
+
sidebarChild: z.ZodOptional<z.ZodString>;
|
|
2689
|
+
mainChild: z.ZodOptional<z.ZodString>;
|
|
1767
2690
|
}, z.core.$strip>;
|
|
1768
|
-
export type CategoryFacetProps = z.infer<typeof CategoryFacetPropsSchema>;
|
|
1769
2691
|
export declare const ComparisonTablePropsSchema: z.ZodObject<{
|
|
1770
|
-
|
|
1771
|
-
|
|
2692
|
+
heading: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2693
|
+
path: z.ZodString;
|
|
2694
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2695
|
+
call: z.ZodString;
|
|
2696
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2697
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2698
|
+
any: "any";
|
|
2699
|
+
array: "array";
|
|
2700
|
+
boolean: "boolean";
|
|
2701
|
+
number: "number";
|
|
2702
|
+
object: "object";
|
|
2703
|
+
string: "string";
|
|
2704
|
+
void: "void";
|
|
2705
|
+
}>>;
|
|
2706
|
+
}, z.core.$strip>]>;
|
|
2707
|
+
summary: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2708
|
+
path: z.ZodString;
|
|
2709
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2710
|
+
call: z.ZodString;
|
|
2711
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2712
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2713
|
+
any: "any";
|
|
2714
|
+
array: "array";
|
|
2715
|
+
boolean: "boolean";
|
|
2716
|
+
number: "number";
|
|
2717
|
+
object: "object";
|
|
2718
|
+
string: "string";
|
|
2719
|
+
void: "void";
|
|
2720
|
+
}>>;
|
|
2721
|
+
}, z.core.$strip>]>;
|
|
2722
|
+
products: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
2723
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
2724
|
+
name: z.ZodString;
|
|
2725
|
+
price: z.ZodOptional<z.ZodNumber>;
|
|
2726
|
+
productId: z.ZodString;
|
|
2727
|
+
rating: z.ZodOptional<z.ZodNumber>;
|
|
2728
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2729
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
2730
|
+
path: z.ZodString;
|
|
2731
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2732
|
+
call: z.ZodString;
|
|
2733
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2734
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2735
|
+
any: "any";
|
|
2736
|
+
array: "array";
|
|
2737
|
+
boolean: "boolean";
|
|
2738
|
+
number: "number";
|
|
2739
|
+
object: "object";
|
|
2740
|
+
string: "string";
|
|
2741
|
+
void: "void";
|
|
2742
|
+
}>>;
|
|
2743
|
+
}, z.core.$strip>]>;
|
|
2744
|
+
attributes: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
2745
|
+
key: z.ZodString;
|
|
2746
|
+
label: z.ZodString;
|
|
2747
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
2748
|
+
path: z.ZodString;
|
|
2749
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2750
|
+
call: z.ZodString;
|
|
2751
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2752
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2753
|
+
any: "any";
|
|
2754
|
+
array: "array";
|
|
2755
|
+
boolean: "boolean";
|
|
2756
|
+
number: "number";
|
|
2757
|
+
object: "object";
|
|
2758
|
+
string: "string";
|
|
2759
|
+
void: "void";
|
|
2760
|
+
}>>;
|
|
2761
|
+
}, z.core.$strip>]>;
|
|
1772
2762
|
}, z.core.$strip>;
|
|
1773
|
-
export type ComparisonTableProps = z.infer<typeof ComparisonTablePropsSchema>;
|
|
1774
2763
|
export declare const DateFacetPropsSchema: z.ZodObject<{
|
|
1775
|
-
|
|
1776
|
-
|
|
2764
|
+
field: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2765
|
+
path: z.ZodString;
|
|
2766
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2767
|
+
call: z.ZodString;
|
|
2768
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2769
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2770
|
+
any: "any";
|
|
2771
|
+
array: "array";
|
|
2772
|
+
boolean: "boolean";
|
|
2773
|
+
number: "number";
|
|
2774
|
+
object: "object";
|
|
2775
|
+
string: "string";
|
|
2776
|
+
void: "void";
|
|
2777
|
+
}>>;
|
|
2778
|
+
}, z.core.$strip>]>;
|
|
2779
|
+
displayName: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2780
|
+
path: z.ZodString;
|
|
2781
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2782
|
+
call: z.ZodString;
|
|
2783
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2784
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2785
|
+
any: "any";
|
|
2786
|
+
array: "array";
|
|
2787
|
+
boolean: "boolean";
|
|
2788
|
+
number: "number";
|
|
2789
|
+
object: "object";
|
|
2790
|
+
string: "string";
|
|
2791
|
+
void: "void";
|
|
2792
|
+
}>>;
|
|
2793
|
+
}, z.core.$strip>]>;
|
|
2794
|
+
values: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
2795
|
+
end: z.ZodString;
|
|
2796
|
+
numberOfResults: z.ZodNumber;
|
|
2797
|
+
start: z.ZodString;
|
|
2798
|
+
state: z.ZodEnum<{
|
|
2799
|
+
idle: "idle";
|
|
2800
|
+
selected: "selected";
|
|
2801
|
+
}>;
|
|
2802
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
2803
|
+
path: z.ZodString;
|
|
2804
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2805
|
+
call: z.ZodString;
|
|
2806
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2807
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2808
|
+
any: "any";
|
|
2809
|
+
array: "array";
|
|
2810
|
+
boolean: "boolean";
|
|
2811
|
+
number: "number";
|
|
2812
|
+
object: "object";
|
|
2813
|
+
string: "string";
|
|
2814
|
+
void: "void";
|
|
2815
|
+
}>>;
|
|
2816
|
+
}, z.core.$strip>]>;
|
|
2817
|
+
customRange: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
2818
|
+
end: z.ZodString;
|
|
2819
|
+
numberOfResults: z.ZodNumber;
|
|
2820
|
+
start: z.ZodString;
|
|
2821
|
+
}, z.core.$strict>, z.ZodNull]>, z.ZodObject<{
|
|
2822
|
+
path: z.ZodString;
|
|
2823
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2824
|
+
call: z.ZodString;
|
|
2825
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2826
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2827
|
+
any: "any";
|
|
2828
|
+
array: "array";
|
|
2829
|
+
boolean: "boolean";
|
|
2830
|
+
number: "number";
|
|
2831
|
+
object: "object";
|
|
2832
|
+
string: "string";
|
|
2833
|
+
void: "void";
|
|
2834
|
+
}>>;
|
|
2835
|
+
}, z.core.$strip>]>;
|
|
2836
|
+
hasActiveValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2837
|
+
path: z.ZodString;
|
|
2838
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2839
|
+
call: z.ZodString;
|
|
2840
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2841
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2842
|
+
any: "any";
|
|
2843
|
+
array: "array";
|
|
2844
|
+
boolean: "boolean";
|
|
2845
|
+
number: "number";
|
|
2846
|
+
object: "object";
|
|
2847
|
+
string: "string";
|
|
2848
|
+
void: "void";
|
|
2849
|
+
}>>;
|
|
2850
|
+
}, z.core.$strip>]>;
|
|
2851
|
+
canShowMoreValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2852
|
+
path: z.ZodString;
|
|
2853
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2854
|
+
call: z.ZodString;
|
|
2855
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2856
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2857
|
+
any: "any";
|
|
2858
|
+
array: "array";
|
|
2859
|
+
boolean: "boolean";
|
|
2860
|
+
number: "number";
|
|
2861
|
+
object: "object";
|
|
2862
|
+
string: "string";
|
|
2863
|
+
void: "void";
|
|
2864
|
+
}>>;
|
|
2865
|
+
}, z.core.$strip>]>;
|
|
2866
|
+
canShowLessValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2867
|
+
path: z.ZodString;
|
|
2868
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2869
|
+
call: z.ZodString;
|
|
2870
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2871
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2872
|
+
any: "any";
|
|
2873
|
+
array: "array";
|
|
2874
|
+
boolean: "boolean";
|
|
2875
|
+
number: "number";
|
|
2876
|
+
object: "object";
|
|
2877
|
+
string: "string";
|
|
2878
|
+
void: "void";
|
|
2879
|
+
}>>;
|
|
2880
|
+
}, z.core.$strip>]>;
|
|
1777
2881
|
}, z.core.$strip>;
|
|
1778
|
-
export type DateFacetProps = z.infer<typeof DateFacetPropsSchema>;
|
|
1779
2882
|
export declare const FacetManagerPropsSchema: z.ZodObject<{
|
|
1780
|
-
|
|
1781
|
-
|
|
2883
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2884
|
+
}, z.core.$strip>;
|
|
2885
|
+
export declare const LayoutStackPropsSchema: z.ZodObject<{
|
|
2886
|
+
direction: z.ZodOptional<z.ZodString>;
|
|
2887
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1782
2888
|
}, z.core.$strip>;
|
|
1783
|
-
export type FacetManagerProps = z.infer<typeof FacetManagerPropsSchema>;
|
|
1784
2889
|
export declare const NextActionsBarPropsSchema: z.ZodObject<{
|
|
1785
|
-
|
|
1786
|
-
|
|
2890
|
+
suggestedActions: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
2891
|
+
optionId: z.ZodOptional<z.ZodString>;
|
|
2892
|
+
text: z.ZodString;
|
|
2893
|
+
type: z.ZodEnum<{
|
|
2894
|
+
followup: "followup";
|
|
2895
|
+
search: "search";
|
|
2896
|
+
}>;
|
|
2897
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
2898
|
+
path: z.ZodString;
|
|
2899
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2900
|
+
call: z.ZodString;
|
|
2901
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2902
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2903
|
+
any: "any";
|
|
2904
|
+
array: "array";
|
|
2905
|
+
boolean: "boolean";
|
|
2906
|
+
number: "number";
|
|
2907
|
+
object: "object";
|
|
2908
|
+
string: "string";
|
|
2909
|
+
void: "void";
|
|
2910
|
+
}>>;
|
|
2911
|
+
}, z.core.$strip>]>;
|
|
1787
2912
|
}, z.core.$strip>;
|
|
1788
|
-
export type NextActionsBarProps = z.infer<typeof NextActionsBarPropsSchema>;
|
|
1789
2913
|
export declare const NumericFacetPropsSchema: z.ZodObject<{
|
|
1790
|
-
|
|
1791
|
-
|
|
2914
|
+
field: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2915
|
+
path: z.ZodString;
|
|
2916
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2917
|
+
call: z.ZodString;
|
|
2918
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2919
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2920
|
+
any: "any";
|
|
2921
|
+
array: "array";
|
|
2922
|
+
boolean: "boolean";
|
|
2923
|
+
number: "number";
|
|
2924
|
+
object: "object";
|
|
2925
|
+
string: "string";
|
|
2926
|
+
void: "void";
|
|
2927
|
+
}>>;
|
|
2928
|
+
}, z.core.$strip>]>;
|
|
2929
|
+
displayName: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2930
|
+
path: z.ZodString;
|
|
2931
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2932
|
+
call: z.ZodString;
|
|
2933
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2934
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2935
|
+
any: "any";
|
|
2936
|
+
array: "array";
|
|
2937
|
+
boolean: "boolean";
|
|
2938
|
+
number: "number";
|
|
2939
|
+
object: "object";
|
|
2940
|
+
string: "string";
|
|
2941
|
+
void: "void";
|
|
2942
|
+
}>>;
|
|
2943
|
+
}, z.core.$strip>]>;
|
|
2944
|
+
values: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
2945
|
+
end: z.ZodNumber;
|
|
2946
|
+
numberOfResults: z.ZodNumber;
|
|
2947
|
+
start: z.ZodNumber;
|
|
2948
|
+
state: z.ZodEnum<{
|
|
2949
|
+
idle: "idle";
|
|
2950
|
+
selected: "selected";
|
|
2951
|
+
}>;
|
|
2952
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
2953
|
+
path: z.ZodString;
|
|
2954
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2955
|
+
call: z.ZodString;
|
|
2956
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2957
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2958
|
+
any: "any";
|
|
2959
|
+
array: "array";
|
|
2960
|
+
boolean: "boolean";
|
|
2961
|
+
number: "number";
|
|
2962
|
+
object: "object";
|
|
2963
|
+
string: "string";
|
|
2964
|
+
void: "void";
|
|
2965
|
+
}>>;
|
|
2966
|
+
}, z.core.$strip>]>;
|
|
2967
|
+
customRange: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
2968
|
+
end: z.ZodNumber;
|
|
2969
|
+
numberOfResults: z.ZodNumber;
|
|
2970
|
+
start: z.ZodNumber;
|
|
2971
|
+
}, z.core.$strict>, z.ZodNull]>, z.ZodObject<{
|
|
2972
|
+
path: z.ZodString;
|
|
2973
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2974
|
+
call: z.ZodString;
|
|
2975
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2976
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2977
|
+
any: "any";
|
|
2978
|
+
array: "array";
|
|
2979
|
+
boolean: "boolean";
|
|
2980
|
+
number: "number";
|
|
2981
|
+
object: "object";
|
|
2982
|
+
string: "string";
|
|
2983
|
+
void: "void";
|
|
2984
|
+
}>>;
|
|
2985
|
+
}, z.core.$strip>]>;
|
|
2986
|
+
hasActiveValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
2987
|
+
path: z.ZodString;
|
|
2988
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2989
|
+
call: z.ZodString;
|
|
2990
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2991
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
2992
|
+
any: "any";
|
|
2993
|
+
array: "array";
|
|
2994
|
+
boolean: "boolean";
|
|
2995
|
+
number: "number";
|
|
2996
|
+
object: "object";
|
|
2997
|
+
string: "string";
|
|
2998
|
+
void: "void";
|
|
2999
|
+
}>>;
|
|
3000
|
+
}, z.core.$strip>]>;
|
|
3001
|
+
canShowMoreValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
3002
|
+
path: z.ZodString;
|
|
3003
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3004
|
+
call: z.ZodString;
|
|
3005
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3006
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3007
|
+
any: "any";
|
|
3008
|
+
array: "array";
|
|
3009
|
+
boolean: "boolean";
|
|
3010
|
+
number: "number";
|
|
3011
|
+
object: "object";
|
|
3012
|
+
string: "string";
|
|
3013
|
+
void: "void";
|
|
3014
|
+
}>>;
|
|
3015
|
+
}, z.core.$strip>]>;
|
|
3016
|
+
canShowLessValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
3017
|
+
path: z.ZodString;
|
|
3018
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3019
|
+
call: z.ZodString;
|
|
3020
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3021
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3022
|
+
any: "any";
|
|
3023
|
+
array: "array";
|
|
3024
|
+
boolean: "boolean";
|
|
3025
|
+
number: "number";
|
|
3026
|
+
object: "object";
|
|
3027
|
+
string: "string";
|
|
3028
|
+
void: "void";
|
|
3029
|
+
}>>;
|
|
3030
|
+
}, z.core.$strip>]>;
|
|
3031
|
+
domain: z.ZodUnion<readonly [z.ZodOptional<z.ZodObject<{
|
|
3032
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
3033
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
3034
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
3035
|
+
path: z.ZodString;
|
|
3036
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3037
|
+
call: z.ZodString;
|
|
3038
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3039
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3040
|
+
any: "any";
|
|
3041
|
+
array: "array";
|
|
3042
|
+
boolean: "boolean";
|
|
3043
|
+
number: "number";
|
|
3044
|
+
object: "object";
|
|
3045
|
+
string: "string";
|
|
3046
|
+
void: "void";
|
|
3047
|
+
}>>;
|
|
3048
|
+
}, z.core.$strip>]>;
|
|
3049
|
+
}, z.core.$strip>;
|
|
3050
|
+
export declare const PageSizePropsSchema: z.ZodObject<{
|
|
3051
|
+
pageSize: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3052
|
+
path: z.ZodString;
|
|
3053
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3054
|
+
call: z.ZodString;
|
|
3055
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3056
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3057
|
+
any: "any";
|
|
3058
|
+
array: "array";
|
|
3059
|
+
boolean: "boolean";
|
|
3060
|
+
number: "number";
|
|
3061
|
+
object: "object";
|
|
3062
|
+
string: "string";
|
|
3063
|
+
void: "void";
|
|
3064
|
+
}>>;
|
|
3065
|
+
}, z.core.$strip>]>;
|
|
1792
3066
|
}, z.core.$strip>;
|
|
1793
|
-
export type NumericFacetProps = z.infer<typeof NumericFacetPropsSchema>;
|
|
1794
3067
|
export declare const PaginationPropsSchema: z.ZodObject<{
|
|
1795
|
-
|
|
1796
|
-
|
|
3068
|
+
page: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3069
|
+
path: z.ZodString;
|
|
3070
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3071
|
+
call: z.ZodString;
|
|
3072
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3073
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3074
|
+
any: "any";
|
|
3075
|
+
array: "array";
|
|
3076
|
+
boolean: "boolean";
|
|
3077
|
+
number: "number";
|
|
3078
|
+
object: "object";
|
|
3079
|
+
string: "string";
|
|
3080
|
+
void: "void";
|
|
3081
|
+
}>>;
|
|
3082
|
+
}, z.core.$strip>]>;
|
|
3083
|
+
pageSize: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3084
|
+
path: z.ZodString;
|
|
3085
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3086
|
+
call: z.ZodString;
|
|
3087
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3088
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3089
|
+
any: "any";
|
|
3090
|
+
array: "array";
|
|
3091
|
+
boolean: "boolean";
|
|
3092
|
+
number: "number";
|
|
3093
|
+
object: "object";
|
|
3094
|
+
string: "string";
|
|
3095
|
+
void: "void";
|
|
3096
|
+
}>>;
|
|
3097
|
+
}, z.core.$strip>]>;
|
|
3098
|
+
totalEntries: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3099
|
+
path: z.ZodString;
|
|
3100
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3101
|
+
call: z.ZodString;
|
|
3102
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3103
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3104
|
+
any: "any";
|
|
3105
|
+
array: "array";
|
|
3106
|
+
boolean: "boolean";
|
|
3107
|
+
number: "number";
|
|
3108
|
+
object: "object";
|
|
3109
|
+
string: "string";
|
|
3110
|
+
void: "void";
|
|
3111
|
+
}>>;
|
|
3112
|
+
}, z.core.$strip>]>;
|
|
3113
|
+
totalPages: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3114
|
+
path: z.ZodString;
|
|
3115
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3116
|
+
call: z.ZodString;
|
|
3117
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3118
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3119
|
+
any: "any";
|
|
3120
|
+
array: "array";
|
|
3121
|
+
boolean: "boolean";
|
|
3122
|
+
number: "number";
|
|
3123
|
+
object: "object";
|
|
3124
|
+
string: "string";
|
|
3125
|
+
void: "void";
|
|
3126
|
+
}>>;
|
|
3127
|
+
}, z.core.$strip>]>;
|
|
1797
3128
|
}, z.core.$strip>;
|
|
1798
|
-
export type PaginationProps = z.infer<typeof PaginationPropsSchema>;
|
|
1799
3129
|
export declare const ProductCarouselPropsSchema: z.ZodObject<{
|
|
1800
|
-
|
|
1801
|
-
|
|
3130
|
+
heading: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3131
|
+
path: z.ZodString;
|
|
3132
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3133
|
+
call: z.ZodString;
|
|
3134
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3135
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3136
|
+
any: "any";
|
|
3137
|
+
array: "array";
|
|
3138
|
+
boolean: "boolean";
|
|
3139
|
+
number: "number";
|
|
3140
|
+
object: "object";
|
|
3141
|
+
string: "string";
|
|
3142
|
+
void: "void";
|
|
3143
|
+
}>>;
|
|
3144
|
+
}, z.core.$strip>]>;
|
|
3145
|
+
products: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3146
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3147
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
3148
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
3149
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
3150
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3151
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
3152
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
3153
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3154
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
3155
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
3156
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
3157
|
+
ec_name: z.ZodString;
|
|
3158
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
3159
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
3160
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3161
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
3162
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3163
|
+
permanentid: z.ZodString;
|
|
3164
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
3165
|
+
path: z.ZodString;
|
|
3166
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3167
|
+
call: z.ZodString;
|
|
3168
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3169
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3170
|
+
any: "any";
|
|
3171
|
+
array: "array";
|
|
3172
|
+
boolean: "boolean";
|
|
3173
|
+
number: "number";
|
|
3174
|
+
object: "object";
|
|
3175
|
+
string: "string";
|
|
3176
|
+
void: "void";
|
|
3177
|
+
}>>;
|
|
3178
|
+
}, z.core.$strip>]>;
|
|
1802
3179
|
}, z.core.$strip>;
|
|
1803
|
-
export type ProductCarouselProps = z.infer<typeof ProductCarouselPropsSchema>;
|
|
1804
3180
|
export declare const ProductListPropsSchema: z.ZodObject<{
|
|
1805
|
-
|
|
1806
|
-
|
|
3181
|
+
products: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3182
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3183
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
3184
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
3185
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
3186
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3187
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
3188
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
3189
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3190
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
3191
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
3192
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
3193
|
+
ec_name: z.ZodString;
|
|
3194
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
3195
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
3196
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3197
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
3198
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3199
|
+
permanentid: z.ZodString;
|
|
3200
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
3201
|
+
path: z.ZodString;
|
|
3202
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3203
|
+
call: z.ZodString;
|
|
3204
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3205
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3206
|
+
any: "any";
|
|
3207
|
+
array: "array";
|
|
3208
|
+
boolean: "boolean";
|
|
3209
|
+
number: "number";
|
|
3210
|
+
object: "object";
|
|
3211
|
+
string: "string";
|
|
3212
|
+
void: "void";
|
|
3213
|
+
}>>;
|
|
3214
|
+
}, z.core.$strip>]>;
|
|
1807
3215
|
}, z.core.$strip>;
|
|
1808
|
-
export
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
3216
|
+
export declare const ProductResearchCardPropsSchema: z.ZodObject<{
|
|
3217
|
+
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
3218
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3219
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
3220
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
3221
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
3222
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3223
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
3224
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
3225
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3226
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
3227
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
3228
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
3229
|
+
ec_name: z.ZodString;
|
|
3230
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
3231
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
3232
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3233
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
3234
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3235
|
+
permanentid: z.ZodString;
|
|
3236
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3237
|
+
path: z.ZodString;
|
|
3238
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3239
|
+
call: z.ZodString;
|
|
3240
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3241
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3242
|
+
any: "any";
|
|
3243
|
+
array: "array";
|
|
3244
|
+
boolean: "boolean";
|
|
3245
|
+
number: "number";
|
|
3246
|
+
object: "object";
|
|
3247
|
+
string: "string";
|
|
3248
|
+
void: "void";
|
|
3249
|
+
}>>;
|
|
3250
|
+
}, z.core.$strip>]>;
|
|
3251
|
+
summary: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3252
|
+
path: z.ZodString;
|
|
3253
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3254
|
+
call: z.ZodString;
|
|
3255
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3256
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3257
|
+
any: "any";
|
|
3258
|
+
array: "array";
|
|
3259
|
+
boolean: "boolean";
|
|
3260
|
+
number: "number";
|
|
3261
|
+
object: "object";
|
|
3262
|
+
string: "string";
|
|
3263
|
+
void: "void";
|
|
3264
|
+
}>>;
|
|
3265
|
+
}, z.core.$strip>]>;
|
|
3266
|
+
bullets: z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodObject<{
|
|
3267
|
+
path: z.ZodString;
|
|
3268
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3269
|
+
call: z.ZodString;
|
|
3270
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3271
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3272
|
+
any: "any";
|
|
3273
|
+
array: "array";
|
|
3274
|
+
boolean: "boolean";
|
|
3275
|
+
number: "number";
|
|
3276
|
+
object: "object";
|
|
3277
|
+
string: "string";
|
|
3278
|
+
void: "void";
|
|
3279
|
+
}>>;
|
|
3280
|
+
}, z.core.$strip>]>;
|
|
1812
3281
|
}, z.core.$strip>;
|
|
1813
|
-
export
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
3282
|
+
export declare const ProductSummaryPropsSchema: z.ZodObject<{
|
|
3283
|
+
categoryLabel: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3284
|
+
path: z.ZodString;
|
|
3285
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3286
|
+
call: z.ZodString;
|
|
3287
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3288
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3289
|
+
any: "any";
|
|
3290
|
+
array: "array";
|
|
3291
|
+
boolean: "boolean";
|
|
3292
|
+
number: "number";
|
|
3293
|
+
object: "object";
|
|
3294
|
+
string: "string";
|
|
3295
|
+
void: "void";
|
|
3296
|
+
}>>;
|
|
3297
|
+
}, z.core.$strip>]>;
|
|
3298
|
+
product: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
3299
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3300
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
3301
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
3302
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
3303
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3304
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
3305
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
3306
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3307
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
3308
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
3309
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
3310
|
+
ec_name: z.ZodString;
|
|
3311
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
3312
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
3313
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3314
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
3315
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3316
|
+
permanentid: z.ZodString;
|
|
3317
|
+
}, z.core.$strict>, z.ZodNull]>, z.ZodObject<{
|
|
3318
|
+
path: z.ZodString;
|
|
3319
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3320
|
+
call: z.ZodString;
|
|
3321
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3322
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3323
|
+
any: "any";
|
|
3324
|
+
array: "array";
|
|
3325
|
+
boolean: "boolean";
|
|
3326
|
+
number: "number";
|
|
3327
|
+
object: "object";
|
|
3328
|
+
string: "string";
|
|
3329
|
+
void: "void";
|
|
3330
|
+
}>>;
|
|
3331
|
+
}, z.core.$strip>]>;
|
|
3332
|
+
}, z.core.$strip>;
|
|
3333
|
+
export declare const QuerySuggestionsPropsSchema: z.ZodObject<{
|
|
3334
|
+
query: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3335
|
+
path: z.ZodString;
|
|
3336
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3337
|
+
call: z.ZodString;
|
|
3338
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3339
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3340
|
+
any: "any";
|
|
3341
|
+
array: "array";
|
|
3342
|
+
boolean: "boolean";
|
|
3343
|
+
number: "number";
|
|
3344
|
+
object: "object";
|
|
3345
|
+
string: "string";
|
|
3346
|
+
void: "void";
|
|
3347
|
+
}>>;
|
|
3348
|
+
}, z.core.$strip>]>;
|
|
3349
|
+
completions: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3350
|
+
expression: z.ZodString;
|
|
3351
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
3352
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
3353
|
+
path: z.ZodString;
|
|
3354
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3355
|
+
call: z.ZodString;
|
|
3356
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3357
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3358
|
+
any: "any";
|
|
3359
|
+
array: "array";
|
|
3360
|
+
boolean: "boolean";
|
|
3361
|
+
number: "number";
|
|
3362
|
+
object: "object";
|
|
3363
|
+
string: "string";
|
|
3364
|
+
void: "void";
|
|
3365
|
+
}>>;
|
|
3366
|
+
}, z.core.$strip>]>;
|
|
3367
|
+
products: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3368
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3369
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
3370
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
3371
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
3372
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3373
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
3374
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
3375
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3376
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
3377
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
3378
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
3379
|
+
ec_name: z.ZodString;
|
|
3380
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
3381
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
3382
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3383
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
3384
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3385
|
+
permanentid: z.ZodString;
|
|
3386
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
3387
|
+
path: z.ZodString;
|
|
3388
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3389
|
+
call: z.ZodString;
|
|
3390
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3391
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3392
|
+
any: "any";
|
|
3393
|
+
array: "array";
|
|
3394
|
+
boolean: "boolean";
|
|
3395
|
+
number: "number";
|
|
3396
|
+
object: "object";
|
|
3397
|
+
string: "string";
|
|
3398
|
+
void: "void";
|
|
3399
|
+
}>>;
|
|
3400
|
+
}, z.core.$strip>]>;
|
|
3401
|
+
}, z.core.$strip>;
|
|
3402
|
+
export declare const QuerySummaryPropsSchema: z.ZodObject<{
|
|
3403
|
+
query: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3404
|
+
path: z.ZodString;
|
|
3405
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3406
|
+
call: z.ZodString;
|
|
3407
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3408
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3409
|
+
any: "any";
|
|
3410
|
+
array: "array";
|
|
3411
|
+
boolean: "boolean";
|
|
3412
|
+
number: "number";
|
|
3413
|
+
object: "object";
|
|
3414
|
+
string: "string";
|
|
3415
|
+
void: "void";
|
|
3416
|
+
}>>;
|
|
3417
|
+
}, z.core.$strip>]>;
|
|
3418
|
+
firstIndex: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3419
|
+
path: z.ZodString;
|
|
3420
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3421
|
+
call: z.ZodString;
|
|
3422
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3423
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3424
|
+
any: "any";
|
|
3425
|
+
array: "array";
|
|
3426
|
+
boolean: "boolean";
|
|
3427
|
+
number: "number";
|
|
3428
|
+
object: "object";
|
|
3429
|
+
string: "string";
|
|
3430
|
+
void: "void";
|
|
3431
|
+
}>>;
|
|
3432
|
+
}, z.core.$strip>]>;
|
|
3433
|
+
lastIndex: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3434
|
+
path: z.ZodString;
|
|
3435
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3436
|
+
call: z.ZodString;
|
|
3437
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3438
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3439
|
+
any: "any";
|
|
3440
|
+
array: "array";
|
|
3441
|
+
boolean: "boolean";
|
|
3442
|
+
number: "number";
|
|
3443
|
+
object: "object";
|
|
3444
|
+
string: "string";
|
|
3445
|
+
void: "void";
|
|
3446
|
+
}>>;
|
|
3447
|
+
}, z.core.$strip>]>;
|
|
3448
|
+
totalEntries: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3449
|
+
path: z.ZodString;
|
|
3450
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3451
|
+
call: z.ZodString;
|
|
3452
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3453
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3454
|
+
any: "any";
|
|
3455
|
+
array: "array";
|
|
3456
|
+
boolean: "boolean";
|
|
3457
|
+
number: "number";
|
|
3458
|
+
object: "object";
|
|
3459
|
+
string: "string";
|
|
3460
|
+
void: "void";
|
|
3461
|
+
}>>;
|
|
3462
|
+
}, z.core.$strip>]>;
|
|
3463
|
+
}, z.core.$strip>;
|
|
3464
|
+
export declare const RegularFacetPropsSchema: z.ZodObject<{
|
|
3465
|
+
field: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3466
|
+
path: z.ZodString;
|
|
3467
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3468
|
+
call: z.ZodString;
|
|
3469
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3470
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3471
|
+
any: "any";
|
|
3472
|
+
array: "array";
|
|
3473
|
+
boolean: "boolean";
|
|
3474
|
+
number: "number";
|
|
3475
|
+
object: "object";
|
|
3476
|
+
string: "string";
|
|
3477
|
+
void: "void";
|
|
3478
|
+
}>>;
|
|
3479
|
+
}, z.core.$strip>]>;
|
|
3480
|
+
displayName: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3481
|
+
path: z.ZodString;
|
|
3482
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3483
|
+
call: z.ZodString;
|
|
3484
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3485
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3486
|
+
any: "any";
|
|
3487
|
+
array: "array";
|
|
3488
|
+
boolean: "boolean";
|
|
3489
|
+
number: "number";
|
|
3490
|
+
object: "object";
|
|
3491
|
+
string: "string";
|
|
3492
|
+
void: "void";
|
|
3493
|
+
}>>;
|
|
3494
|
+
}, z.core.$strip>]>;
|
|
3495
|
+
values: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3496
|
+
numberOfResults: z.ZodNumber;
|
|
3497
|
+
state: z.ZodEnum<{
|
|
3498
|
+
excluded: "excluded";
|
|
3499
|
+
idle: "idle";
|
|
3500
|
+
selected: "selected";
|
|
3501
|
+
}>;
|
|
3502
|
+
value: z.ZodString;
|
|
3503
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
3504
|
+
path: z.ZodString;
|
|
3505
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3506
|
+
call: z.ZodString;
|
|
3507
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3508
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3509
|
+
any: "any";
|
|
3510
|
+
array: "array";
|
|
3511
|
+
boolean: "boolean";
|
|
3512
|
+
number: "number";
|
|
3513
|
+
object: "object";
|
|
3514
|
+
string: "string";
|
|
3515
|
+
void: "void";
|
|
3516
|
+
}>>;
|
|
3517
|
+
}, z.core.$strip>]>;
|
|
3518
|
+
hasActiveValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
3519
|
+
path: z.ZodString;
|
|
3520
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3521
|
+
call: z.ZodString;
|
|
3522
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3523
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3524
|
+
any: "any";
|
|
3525
|
+
array: "array";
|
|
3526
|
+
boolean: "boolean";
|
|
3527
|
+
number: "number";
|
|
3528
|
+
object: "object";
|
|
3529
|
+
string: "string";
|
|
3530
|
+
void: "void";
|
|
3531
|
+
}>>;
|
|
3532
|
+
}, z.core.$strip>]>;
|
|
3533
|
+
canShowMoreValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
3534
|
+
path: z.ZodString;
|
|
3535
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3536
|
+
call: z.ZodString;
|
|
3537
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3538
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3539
|
+
any: "any";
|
|
3540
|
+
array: "array";
|
|
3541
|
+
boolean: "boolean";
|
|
3542
|
+
number: "number";
|
|
3543
|
+
object: "object";
|
|
3544
|
+
string: "string";
|
|
3545
|
+
void: "void";
|
|
3546
|
+
}>>;
|
|
3547
|
+
}, z.core.$strip>]>;
|
|
3548
|
+
canShowLessValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
3549
|
+
path: z.ZodString;
|
|
3550
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3551
|
+
call: z.ZodString;
|
|
3552
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3553
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3554
|
+
any: "any";
|
|
3555
|
+
array: "array";
|
|
3556
|
+
boolean: "boolean";
|
|
3557
|
+
number: "number";
|
|
3558
|
+
object: "object";
|
|
3559
|
+
string: "string";
|
|
3560
|
+
void: "void";
|
|
3561
|
+
}>>;
|
|
3562
|
+
}, z.core.$strip>]>;
|
|
3563
|
+
facetSearch: z.ZodUnion<readonly [z.ZodObject<{
|
|
3564
|
+
canShowMoreResults: z.ZodBoolean;
|
|
3565
|
+
query: z.ZodString;
|
|
3566
|
+
results: z.ZodArray<z.ZodObject<{
|
|
3567
|
+
numberOfResults: z.ZodNumber;
|
|
3568
|
+
value: z.ZodString;
|
|
3569
|
+
}, z.core.$strict>>;
|
|
3570
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3571
|
+
path: z.ZodString;
|
|
3572
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3573
|
+
call: z.ZodString;
|
|
3574
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3575
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3576
|
+
any: "any";
|
|
3577
|
+
array: "array";
|
|
3578
|
+
boolean: "boolean";
|
|
3579
|
+
number: "number";
|
|
3580
|
+
object: "object";
|
|
3581
|
+
string: "string";
|
|
3582
|
+
void: "void";
|
|
3583
|
+
}>>;
|
|
3584
|
+
}, z.core.$strip>]>;
|
|
1817
3585
|
}, z.core.$strip>;
|
|
1818
|
-
export type SearchBoxProps = z.infer<typeof SearchBoxPropsSchema>;
|
|
1819
3586
|
export declare const SortPropsSchema: z.ZodObject<{
|
|
1820
|
-
|
|
1821
|
-
|
|
3587
|
+
appliedSort: z.ZodUnion<readonly [z.ZodObject<{
|
|
3588
|
+
fields: z.ZodArray<z.ZodUnknown>;
|
|
3589
|
+
sortCriteria: z.ZodString;
|
|
3590
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3591
|
+
path: z.ZodString;
|
|
3592
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3593
|
+
call: z.ZodString;
|
|
3594
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3595
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3596
|
+
any: "any";
|
|
3597
|
+
array: "array";
|
|
3598
|
+
boolean: "boolean";
|
|
3599
|
+
number: "number";
|
|
3600
|
+
object: "object";
|
|
3601
|
+
string: "string";
|
|
3602
|
+
void: "void";
|
|
3603
|
+
}>>;
|
|
3604
|
+
}, z.core.$strip>]>;
|
|
3605
|
+
availableSorts: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3606
|
+
fields: z.ZodArray<z.ZodUnknown>;
|
|
3607
|
+
sortCriteria: z.ZodString;
|
|
3608
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
3609
|
+
path: z.ZodString;
|
|
3610
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3611
|
+
call: z.ZodString;
|
|
3612
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3613
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3614
|
+
any: "any";
|
|
3615
|
+
array: "array";
|
|
3616
|
+
boolean: "boolean";
|
|
3617
|
+
number: "number";
|
|
3618
|
+
object: "object";
|
|
3619
|
+
string: "string";
|
|
3620
|
+
void: "void";
|
|
3621
|
+
}>>;
|
|
3622
|
+
}, z.core.$strip>]>;
|
|
1822
3623
|
}, z.core.$strip>;
|
|
1823
|
-
|
|
3624
|
+
/**
|
|
3625
|
+
* Per-component action unions in the standard A2-UI event shape
|
|
3626
|
+
* { event: { name: <literal>; context: <typed payload> } }, one member per declared action.
|
|
3627
|
+
* Derived from each component's *Actions contract (action-map key -> payload), NOT from
|
|
3628
|
+
* quicktype's auto-named payload wrappers. A component with no actions has `type XxxAction =
|
|
3629
|
+
* never`. The wire field is `context`; the internal validation layer calls the same data
|
|
3630
|
+
* `payload` (see design: Action typing).
|
|
3631
|
+
*/
|
|
3632
|
+
export declare const BundleDisplayActionSchema: z.ZodNever;
|
|
3633
|
+
export type BundleDisplayAction = never;
|
|
3634
|
+
export declare const CartActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3635
|
+
event: z.ZodObject<{
|
|
3636
|
+
name: z.ZodLiteral<"updateCart">;
|
|
3637
|
+
context: z.ZodObject<{
|
|
3638
|
+
productId: z.ZodString;
|
|
3639
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3640
|
+
price: z.ZodOptional<z.ZodUnknown>;
|
|
3641
|
+
quantity: z.ZodNumber;
|
|
3642
|
+
operation: z.ZodEnum<{
|
|
3643
|
+
add: "add";
|
|
3644
|
+
remove: "remove";
|
|
3645
|
+
setQuantity: "setQuantity";
|
|
3646
|
+
}>;
|
|
3647
|
+
}, z.core.$strict>;
|
|
3648
|
+
}, z.core.$strip>;
|
|
3649
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3650
|
+
event: z.ZodObject<{
|
|
3651
|
+
name: z.ZodLiteral<"purchase">;
|
|
3652
|
+
context: z.ZodObject<{
|
|
3653
|
+
products: z.ZodArray<z.ZodUnknown>;
|
|
3654
|
+
transaction: z.ZodUnknown;
|
|
3655
|
+
}, z.core.$strict>;
|
|
3656
|
+
}, z.core.$strip>;
|
|
3657
|
+
}, z.core.$strip>]>;
|
|
3658
|
+
export type CartAction = z.infer<typeof CartActionSchema>;
|
|
3659
|
+
export declare const CategoryFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3660
|
+
event: z.ZodObject<{
|
|
3661
|
+
name: z.ZodLiteral<"selectPath">;
|
|
3662
|
+
context: z.ZodObject<{
|
|
3663
|
+
path: z.ZodArray<z.ZodString>;
|
|
3664
|
+
}, z.core.$strict>;
|
|
3665
|
+
}, z.core.$strip>;
|
|
3666
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3667
|
+
event: z.ZodObject<{
|
|
3668
|
+
name: z.ZodLiteral<"clearSelectedPath">;
|
|
3669
|
+
context: z.ZodUnknown;
|
|
3670
|
+
}, z.core.$strip>;
|
|
3671
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3672
|
+
event: z.ZodObject<{
|
|
3673
|
+
name: z.ZodLiteral<"search">;
|
|
3674
|
+
context: z.ZodObject<{
|
|
3675
|
+
query: z.ZodString;
|
|
3676
|
+
}, z.core.$strict>;
|
|
3677
|
+
}, z.core.$strip>;
|
|
3678
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3679
|
+
event: z.ZodObject<{
|
|
3680
|
+
name: z.ZodLiteral<"showMoreSearchResults">;
|
|
3681
|
+
context: z.ZodUnknown;
|
|
3682
|
+
}, z.core.$strip>;
|
|
3683
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3684
|
+
event: z.ZodObject<{
|
|
3685
|
+
name: z.ZodLiteral<"clearSearch">;
|
|
3686
|
+
context: z.ZodUnknown;
|
|
3687
|
+
}, z.core.$strip>;
|
|
3688
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3689
|
+
event: z.ZodObject<{
|
|
3690
|
+
name: z.ZodLiteral<"showMoreValues">;
|
|
3691
|
+
context: z.ZodUnknown;
|
|
3692
|
+
}, z.core.$strip>;
|
|
3693
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3694
|
+
event: z.ZodObject<{
|
|
3695
|
+
name: z.ZodLiteral<"showLessValues">;
|
|
3696
|
+
context: z.ZodUnknown;
|
|
3697
|
+
}, z.core.$strip>;
|
|
3698
|
+
}, z.core.$strip>]>;
|
|
3699
|
+
export type CategoryFacetAction = z.infer<typeof CategoryFacetActionSchema>;
|
|
3700
|
+
export declare const CommerceSearchActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3701
|
+
event: z.ZodObject<{
|
|
3702
|
+
name: z.ZodLiteral<"submitQuery">;
|
|
3703
|
+
context: z.ZodObject<{
|
|
3704
|
+
query: z.ZodString;
|
|
3705
|
+
}, z.core.$strict>;
|
|
3706
|
+
}, z.core.$strip>;
|
|
3707
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3708
|
+
event: z.ZodObject<{
|
|
3709
|
+
name: z.ZodLiteral<"restoreState">;
|
|
3710
|
+
context: z.ZodObject<{
|
|
3711
|
+
query: z.ZodString;
|
|
3712
|
+
page: z.ZodNumber;
|
|
3713
|
+
pageSize: z.ZodNumber;
|
|
3714
|
+
sortCriteria: z.ZodOptional<z.ZodString>;
|
|
3715
|
+
facets: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
3716
|
+
pinnedProducts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3717
|
+
}, z.core.$strict>;
|
|
3718
|
+
}, z.core.$strip>;
|
|
3719
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3720
|
+
event: z.ZodObject<{
|
|
3721
|
+
name: z.ZodLiteral<"overrideCorrection">;
|
|
3722
|
+
context: z.ZodObject<{
|
|
3723
|
+
originalQuery: z.ZodString;
|
|
3724
|
+
}, z.core.$strict>;
|
|
3725
|
+
}, z.core.$strip>;
|
|
3726
|
+
}, z.core.$strip>]>;
|
|
3727
|
+
export type CommerceSearchAction = z.infer<typeof CommerceSearchActionSchema>;
|
|
3728
|
+
export declare const ComparisonTableActionSchema: z.ZodNever;
|
|
3729
|
+
export type ComparisonTableAction = never;
|
|
3730
|
+
export declare const DateFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3731
|
+
event: z.ZodObject<{
|
|
3732
|
+
name: z.ZodLiteral<"toggleSelect">;
|
|
3733
|
+
context: z.ZodObject<{
|
|
3734
|
+
start: z.ZodString;
|
|
3735
|
+
end: z.ZodString;
|
|
3736
|
+
}, z.core.$strict>;
|
|
3737
|
+
}, z.core.$strip>;
|
|
3738
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3739
|
+
event: z.ZodObject<{
|
|
3740
|
+
name: z.ZodLiteral<"toggleSingleSelect">;
|
|
3741
|
+
context: z.ZodObject<{
|
|
3742
|
+
start: z.ZodString;
|
|
3743
|
+
end: z.ZodString;
|
|
3744
|
+
}, z.core.$strict>;
|
|
3745
|
+
}, z.core.$strip>;
|
|
3746
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3747
|
+
event: z.ZodObject<{
|
|
3748
|
+
name: z.ZodLiteral<"clearAllActiveValues">;
|
|
3749
|
+
context: z.ZodUnknown;
|
|
3750
|
+
}, z.core.$strip>;
|
|
3751
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3752
|
+
event: z.ZodObject<{
|
|
3753
|
+
name: z.ZodLiteral<"applyCustomRange">;
|
|
3754
|
+
context: z.ZodObject<{
|
|
3755
|
+
start: z.ZodString;
|
|
3756
|
+
end: z.ZodString;
|
|
3757
|
+
}, z.core.$strict>;
|
|
3758
|
+
}, z.core.$strip>;
|
|
3759
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3760
|
+
event: z.ZodObject<{
|
|
3761
|
+
name: z.ZodLiteral<"showMoreValues">;
|
|
3762
|
+
context: z.ZodUnknown;
|
|
3763
|
+
}, z.core.$strip>;
|
|
3764
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3765
|
+
event: z.ZodObject<{
|
|
3766
|
+
name: z.ZodLiteral<"showLessValues">;
|
|
3767
|
+
context: z.ZodUnknown;
|
|
3768
|
+
}, z.core.$strip>;
|
|
3769
|
+
}, z.core.$strip>]>;
|
|
3770
|
+
export type DateFacetAction = z.infer<typeof DateFacetActionSchema>;
|
|
3771
|
+
export declare const FacetManagerActionSchema: z.ZodNever;
|
|
3772
|
+
export type FacetManagerAction = never;
|
|
3773
|
+
export declare const LayoutStackActionSchema: z.ZodNever;
|
|
3774
|
+
export type LayoutStackAction = never;
|
|
3775
|
+
export declare const NextActionsBarActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3776
|
+
event: z.ZodObject<{
|
|
3777
|
+
name: z.ZodLiteral<"selectAction">;
|
|
3778
|
+
context: z.ZodObject<{
|
|
3779
|
+
text: z.ZodString;
|
|
3780
|
+
type: z.ZodEnum<{
|
|
3781
|
+
followup: "followup";
|
|
3782
|
+
search: "search";
|
|
3783
|
+
}>;
|
|
3784
|
+
optionId: z.ZodOptional<z.ZodString>;
|
|
3785
|
+
}, z.core.$strict>;
|
|
3786
|
+
}, z.core.$strip>;
|
|
3787
|
+
}, z.core.$strip>]>;
|
|
3788
|
+
export type NextActionsBarAction = z.infer<typeof NextActionsBarActionSchema>;
|
|
3789
|
+
export declare const NumericFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3790
|
+
event: z.ZodObject<{
|
|
3791
|
+
name: z.ZodLiteral<"toggleSelect">;
|
|
3792
|
+
context: z.ZodObject<{
|
|
3793
|
+
start: z.ZodNumber;
|
|
3794
|
+
end: z.ZodNumber;
|
|
3795
|
+
}, z.core.$strict>;
|
|
3796
|
+
}, z.core.$strip>;
|
|
3797
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3798
|
+
event: z.ZodObject<{
|
|
3799
|
+
name: z.ZodLiteral<"toggleSingleSelect">;
|
|
3800
|
+
context: z.ZodObject<{
|
|
3801
|
+
start: z.ZodNumber;
|
|
3802
|
+
end: z.ZodNumber;
|
|
3803
|
+
}, z.core.$strict>;
|
|
3804
|
+
}, z.core.$strip>;
|
|
3805
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3806
|
+
event: z.ZodObject<{
|
|
3807
|
+
name: z.ZodLiteral<"clearAllActiveValues">;
|
|
3808
|
+
context: z.ZodUnknown;
|
|
3809
|
+
}, z.core.$strip>;
|
|
3810
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3811
|
+
event: z.ZodObject<{
|
|
3812
|
+
name: z.ZodLiteral<"applyCustomRange">;
|
|
3813
|
+
context: z.ZodObject<{
|
|
3814
|
+
start: z.ZodNumber;
|
|
3815
|
+
end: z.ZodNumber;
|
|
3816
|
+
}, z.core.$strict>;
|
|
3817
|
+
}, z.core.$strip>;
|
|
3818
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3819
|
+
event: z.ZodObject<{
|
|
3820
|
+
name: z.ZodLiteral<"showMoreValues">;
|
|
3821
|
+
context: z.ZodUnknown;
|
|
3822
|
+
}, z.core.$strip>;
|
|
3823
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3824
|
+
event: z.ZodObject<{
|
|
3825
|
+
name: z.ZodLiteral<"showLessValues">;
|
|
3826
|
+
context: z.ZodUnknown;
|
|
3827
|
+
}, z.core.$strip>;
|
|
3828
|
+
}, z.core.$strip>]>;
|
|
3829
|
+
export type NumericFacetAction = z.infer<typeof NumericFacetActionSchema>;
|
|
3830
|
+
export declare const PageSizeActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3831
|
+
event: z.ZodObject<{
|
|
3832
|
+
name: z.ZodLiteral<"setPageSize">;
|
|
3833
|
+
context: z.ZodObject<{
|
|
3834
|
+
pageSize: z.ZodNumber;
|
|
3835
|
+
}, z.core.$strict>;
|
|
3836
|
+
}, z.core.$strip>;
|
|
3837
|
+
}, z.core.$strip>]>;
|
|
3838
|
+
export type PageSizeAction = z.infer<typeof PageSizeActionSchema>;
|
|
3839
|
+
export declare const PaginationActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3840
|
+
event: z.ZodObject<{
|
|
3841
|
+
name: z.ZodLiteral<"selectPage">;
|
|
3842
|
+
context: z.ZodObject<{
|
|
3843
|
+
page: z.ZodNumber;
|
|
3844
|
+
}, z.core.$strict>;
|
|
3845
|
+
}, z.core.$strip>;
|
|
3846
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3847
|
+
event: z.ZodObject<{
|
|
3848
|
+
name: z.ZodLiteral<"setPageSize">;
|
|
3849
|
+
context: z.ZodObject<{
|
|
3850
|
+
pageSize: z.ZodNumber;
|
|
3851
|
+
}, z.core.$strict>;
|
|
3852
|
+
}, z.core.$strip>;
|
|
3853
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3854
|
+
event: z.ZodObject<{
|
|
3855
|
+
name: z.ZodLiteral<"showMore">;
|
|
3856
|
+
context: z.ZodObject<{}, z.core.$strict>;
|
|
3857
|
+
}, z.core.$strip>;
|
|
3858
|
+
}, z.core.$strip>]>;
|
|
3859
|
+
export type PaginationAction = z.infer<typeof PaginationActionSchema>;
|
|
3860
|
+
export declare const ProductCarouselActionSchema: z.ZodNever;
|
|
3861
|
+
export type ProductCarouselAction = never;
|
|
3862
|
+
export declare const ProductListActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3863
|
+
event: z.ZodObject<{
|
|
3864
|
+
name: z.ZodLiteral<"selectProducts">;
|
|
3865
|
+
context: z.ZodObject<{
|
|
3866
|
+
productIds: z.ZodArray<z.ZodString>;
|
|
3867
|
+
}, z.core.$strict>;
|
|
3868
|
+
}, z.core.$strip>;
|
|
3869
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3870
|
+
event: z.ZodObject<{
|
|
3871
|
+
name: z.ZodLiteral<"productClick">;
|
|
3872
|
+
context: z.ZodObject<{
|
|
3873
|
+
productId: z.ZodString;
|
|
3874
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3875
|
+
price: z.ZodOptional<z.ZodUnknown>;
|
|
3876
|
+
position: z.ZodNumber;
|
|
3877
|
+
}, z.core.$strict>;
|
|
3878
|
+
}, z.core.$strip>;
|
|
3879
|
+
}, z.core.$strip>]>;
|
|
3880
|
+
export type ProductListAction = z.infer<typeof ProductListActionSchema>;
|
|
3881
|
+
export declare const ProductResearchCardActionSchema: z.ZodNever;
|
|
3882
|
+
export type ProductResearchCardAction = never;
|
|
3883
|
+
export declare const ProductSummaryActionSchema: z.ZodNever;
|
|
3884
|
+
export type ProductSummaryAction = never;
|
|
3885
|
+
export declare const QuerySuggestionsActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3886
|
+
event: z.ZodObject<{
|
|
3887
|
+
name: z.ZodLiteral<"fetchSuggestions">;
|
|
3888
|
+
context: z.ZodObject<{
|
|
3889
|
+
query: z.ZodString;
|
|
3890
|
+
}, z.core.$strict>;
|
|
3891
|
+
}, z.core.$strip>;
|
|
3892
|
+
}, z.core.$strip>]>;
|
|
3893
|
+
export type QuerySuggestionsAction = z.infer<typeof QuerySuggestionsActionSchema>;
|
|
3894
|
+
export declare const QuerySummaryActionSchema: z.ZodNever;
|
|
3895
|
+
export type QuerySummaryAction = never;
|
|
3896
|
+
export declare const RegularFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3897
|
+
event: z.ZodObject<{
|
|
3898
|
+
name: z.ZodLiteral<"toggleSelect">;
|
|
3899
|
+
context: z.ZodObject<{
|
|
3900
|
+
value: z.ZodString;
|
|
3901
|
+
}, z.core.$strict>;
|
|
3902
|
+
}, z.core.$strip>;
|
|
3903
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3904
|
+
event: z.ZodObject<{
|
|
3905
|
+
name: z.ZodLiteral<"toggleExclude">;
|
|
3906
|
+
context: z.ZodObject<{
|
|
3907
|
+
value: z.ZodString;
|
|
3908
|
+
}, z.core.$strict>;
|
|
3909
|
+
}, z.core.$strip>;
|
|
3910
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3911
|
+
event: z.ZodObject<{
|
|
3912
|
+
name: z.ZodLiteral<"toggleSingleSelect">;
|
|
3913
|
+
context: z.ZodObject<{
|
|
3914
|
+
value: z.ZodString;
|
|
3915
|
+
}, z.core.$strict>;
|
|
3916
|
+
}, z.core.$strip>;
|
|
3917
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3918
|
+
event: z.ZodObject<{
|
|
3919
|
+
name: z.ZodLiteral<"toggleSingleExclude">;
|
|
3920
|
+
context: z.ZodObject<{
|
|
3921
|
+
value: z.ZodString;
|
|
3922
|
+
}, z.core.$strict>;
|
|
3923
|
+
}, z.core.$strip>;
|
|
3924
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3925
|
+
event: z.ZodObject<{
|
|
3926
|
+
name: z.ZodLiteral<"clearAllActiveValues">;
|
|
3927
|
+
context: z.ZodUnknown;
|
|
3928
|
+
}, z.core.$strip>;
|
|
3929
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3930
|
+
event: z.ZodObject<{
|
|
3931
|
+
name: z.ZodLiteral<"search">;
|
|
3932
|
+
context: z.ZodObject<{
|
|
3933
|
+
query: z.ZodString;
|
|
3934
|
+
}, z.core.$strict>;
|
|
3935
|
+
}, z.core.$strip>;
|
|
3936
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3937
|
+
event: z.ZodObject<{
|
|
3938
|
+
name: z.ZodLiteral<"showMoreSearchResults">;
|
|
3939
|
+
context: z.ZodUnknown;
|
|
3940
|
+
}, z.core.$strip>;
|
|
3941
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3942
|
+
event: z.ZodObject<{
|
|
3943
|
+
name: z.ZodLiteral<"clearSearch">;
|
|
3944
|
+
context: z.ZodUnknown;
|
|
3945
|
+
}, z.core.$strip>;
|
|
3946
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3947
|
+
event: z.ZodObject<{
|
|
3948
|
+
name: z.ZodLiteral<"showMoreValues">;
|
|
3949
|
+
context: z.ZodUnknown;
|
|
3950
|
+
}, z.core.$strip>;
|
|
3951
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3952
|
+
event: z.ZodObject<{
|
|
3953
|
+
name: z.ZodLiteral<"showLessValues">;
|
|
3954
|
+
context: z.ZodUnknown;
|
|
3955
|
+
}, z.core.$strip>;
|
|
3956
|
+
}, z.core.$strip>]>;
|
|
3957
|
+
export type RegularFacetAction = z.infer<typeof RegularFacetActionSchema>;
|
|
3958
|
+
export declare const SortActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
3959
|
+
event: z.ZodObject<{
|
|
3960
|
+
name: z.ZodLiteral<"selectSort">;
|
|
3961
|
+
context: z.ZodObject<{
|
|
3962
|
+
sortCriteria: z.ZodString;
|
|
3963
|
+
fields: z.ZodArray<z.ZodUnknown>;
|
|
3964
|
+
}, z.core.$strict>;
|
|
3965
|
+
}, z.core.$strip>;
|
|
3966
|
+
}, z.core.$strip>]>;
|
|
3967
|
+
export type SortAction = z.infer<typeof SortActionSchema>;
|
|
3968
|
+
/**
|
|
3969
|
+
* Per-component RESOLVED props — the values a renderer receives in `props` after the A2-UI
|
|
3970
|
+
* binder resolves each `{ path }` Data_Binding against the data model populated by
|
|
3971
|
+
* `updateDataModel`. For a leaf component this is its `XxxState`; for a container it also
|
|
3972
|
+
* carries the static composition child-ref fields (e.g. `sidebarChild` / `mainChild` /
|
|
3973
|
+
* `children`) declared on the component's props contract. Use this to type your renderer's
|
|
3974
|
+
* `props`. The matching bindable schema you pass to the renderer catalog is `XxxPropsSchema`
|
|
3975
|
+
* (its fields may still be `{ path }` bindings; this resolved type is what the renderer reads).
|
|
3976
|
+
*/
|
|
3977
|
+
export type BundleDisplayProps = BundleDisplayState;
|
|
3978
|
+
export type CartProps = CartState;
|
|
3979
|
+
export type CategoryFacetProps = CategoryFacetState;
|
|
3980
|
+
export type CommerceSearchProps = {
|
|
3981
|
+
sidebarChild?: string;
|
|
3982
|
+
mainChild?: string;
|
|
3983
|
+
};
|
|
3984
|
+
export type ComparisonTableProps = ComparisonTableState;
|
|
3985
|
+
export type DateFacetProps = DateFacetState;
|
|
3986
|
+
export type FacetManagerProps = {
|
|
3987
|
+
children?: string[];
|
|
3988
|
+
};
|
|
3989
|
+
export type LayoutStackProps = {
|
|
3990
|
+
children?: string[];
|
|
3991
|
+
};
|
|
3992
|
+
export type NextActionsBarProps = NextActionsState;
|
|
3993
|
+
export type NumericFacetProps = NumericFacetState;
|
|
3994
|
+
export type PageSizeProps = PageSizeState;
|
|
3995
|
+
export type PaginationProps = PaginationState;
|
|
3996
|
+
export type ProductCarouselProps = ProductCarouselState;
|
|
3997
|
+
export type ProductListProps = ProductListState;
|
|
3998
|
+
export type ProductResearchCardProps = ProductResearchCardState;
|
|
3999
|
+
export type ProductSummaryProps = ProductSummaryState;
|
|
4000
|
+
export type QuerySuggestionsProps = QuerySuggestionsState;
|
|
4001
|
+
export type QuerySummaryProps = QuerySummaryState;
|
|
4002
|
+
export type RegularFacetProps = RegularFacetState;
|
|
4003
|
+
export type SortProps = SortState;
|