@coveo/thermidor-schema 1.0.0-beta.3 → 1.0.0-beta.30
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 +3346 -400
- package/dist/generated/schemas.js +843 -238
- package/dist/generated/zod3/index.d.ts +3 -0
- package/dist/generated/zod3/index.js +5 -0
- package/dist/generated/zod3/schemas.d.ts +31378 -0
- package/dist/generated/zod3/schemas.js +1252 -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 -33
- package/schema/{components/component-contracts.schema.json → component-contracts.schema.json} +14 -2
- package/schema/components/breadbox.schema.json +82 -0
- package/schema/components/bundle-display.schema.json +17 -13
- package/schema/components/cart.schema.json +147 -0
- package/schema/components/category-facet.schema.json +29 -15
- package/schema/components/commerce-search.schema.json +156 -15
- package/schema/components/comparison-table.schema.json +21 -13
- package/schema/components/date-facet.schema.json +33 -13
- package/schema/components/facet-manager.schema.json +12 -14
- package/schema/components/layout-stack.schema.json +18 -15
- package/schema/components/next-actions-bar.schema.json +40 -17
- package/schema/components/numeric-facet.schema.json +37 -15
- package/schema/components/page-size.schema.json +13 -15
- package/schema/components/pagination.schema.json +41 -14
- package/schema/components/product-carousel.schema.json +13 -13
- package/schema/components/product-list.schema.json +75 -14
- package/schema/components/product-research-card.schema.json +107 -0
- package/schema/components/product-summary.schema.json +15 -14
- package/schema/components/query-suggestions.schema.json +113 -0
- package/schema/components/query-summary.schema.json +23 -14
- package/schema/components/regular-facet.schema.json +33 -32
- package/schema/components/sort.schema.json +13 -13
- package/schema/definitions/action-item.schema.json +10 -13
- package/schema/definitions/badge-placement.schema.json +22 -0
- package/schema/definitions/badge.schema.json +27 -0
- package/schema/definitions/breadbox-date-range-facet.schema.json +56 -0
- package/schema/definitions/breadbox-deselect-date-range.schema.json +28 -0
- package/schema/definitions/breadbox-deselect-hierarchical-path.schema.json +28 -0
- package/schema/definitions/breadbox-deselect-numerical-range.schema.json +28 -0
- package/schema/definitions/breadbox-deselect-payload.schema.json +20 -0
- package/schema/definitions/breadbox-deselect-regular-value.schema.json +25 -0
- package/schema/definitions/breadbox-facet.schema.json +20 -0
- package/schema/definitions/breadbox-hierarchical-facet.schema.json +37 -0
- package/schema/definitions/breadbox-numerical-range-facet.schema.json +56 -0
- package/schema/definitions/breadbox-regular-facet.schema.json +59 -0
- package/schema/definitions/bundle-tier.schema.json +6 -1
- package/schema/definitions/child-list.schema.json +31 -0
- package/schema/definitions/comparison-product.schema.json +7 -2
- package/schema/definitions/component-id.schema.json +9 -0
- package/schema/definitions/data-binding.schema.json +16 -0
- package/schema/definitions/followup-action-item.schema.json +20 -0
- package/schema/definitions/product.schema.json +10 -6
- package/schema/definitions/search-action-item.schema.json +20 -0
- package/schema/definitions/search-option-action-item.schema.json +25 -0
- package/schema/definitions/child-ref.schema.json +0 -8
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import * as z from 'zod/v4';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const BreadboxRegularFacetValueStateSchema: z.ZodEnum<{
|
|
3
|
+
excluded: "excluded";
|
|
4
|
+
selected: "selected";
|
|
5
|
+
}>;
|
|
6
|
+
export type BreadboxRegularFacetValueState = z.infer<typeof BreadboxRegularFacetValueStateSchema>;
|
|
7
|
+
export declare const CartUpdateOperationSchema: z.ZodEnum<{
|
|
8
|
+
add: "add";
|
|
9
|
+
remove: "remove";
|
|
10
|
+
setQuantity: "setQuantity";
|
|
11
|
+
}>;
|
|
12
|
+
export type CartUpdateOperation = z.infer<typeof CartUpdateOperationSchema>;
|
|
13
|
+
export declare const SelectActionPayloadTypeSchema: z.ZodEnum<{
|
|
3
14
|
followup: "followup";
|
|
4
15
|
search: "search";
|
|
5
16
|
}>;
|
|
6
|
-
export type
|
|
17
|
+
export type SelectActionPayloadType = z.infer<typeof SelectActionPayloadTypeSchema>;
|
|
18
|
+
export declare const ActionItemTypeSchema: z.ZodEnum<{
|
|
19
|
+
followup: "followup";
|
|
20
|
+
search: "search";
|
|
21
|
+
searchOption: "searchOption";
|
|
22
|
+
}>;
|
|
23
|
+
export type ActionItemType = z.infer<typeof ActionItemTypeSchema>;
|
|
7
24
|
export declare const FacetValueStateSchema: z.ZodEnum<{
|
|
8
25
|
excluded: "excluded";
|
|
9
26
|
idle: "idle";
|
|
@@ -15,15 +32,31 @@ export declare const SelectableFacetValueStateSchema: z.ZodEnum<{
|
|
|
15
32
|
selected: "selected";
|
|
16
33
|
}>;
|
|
17
34
|
export type SelectableFacetValueState = z.infer<typeof SelectableFacetValueStateSchema>;
|
|
35
|
+
export declare const BreadboxFacetTypeSchema: z.ZodEnum<{
|
|
36
|
+
dateRange: "dateRange";
|
|
37
|
+
hierarchical: "hierarchical";
|
|
38
|
+
numericalRange: "numericalRange";
|
|
39
|
+
regular: "regular";
|
|
40
|
+
}>;
|
|
41
|
+
export type BreadboxFacetType = z.infer<typeof BreadboxFacetTypeSchema>;
|
|
18
42
|
export declare const ProductSchema: z.ZodObject<{
|
|
19
43
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
44
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
45
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
46
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
47
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
48
|
+
text: z.ZodString;
|
|
49
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
50
|
+
}, z.core.$strict>>;
|
|
51
|
+
placementId: z.ZodString;
|
|
52
|
+
}, z.core.$strict>>>;
|
|
20
53
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
21
|
-
clickUri: z.ZodOptional<z.
|
|
54
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
22
55
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
23
56
|
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24
57
|
ec_color: z.ZodOptional<z.ZodString>;
|
|
25
58
|
ec_description: z.ZodOptional<z.ZodString>;
|
|
26
|
-
ec_images: z.ZodOptional<z.ZodArray<z.
|
|
59
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27
60
|
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
28
61
|
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
29
62
|
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
@@ -32,23 +65,109 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
32
65
|
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
33
66
|
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
34
67
|
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
35
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.
|
|
68
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36
69
|
permanentid: z.ZodString;
|
|
37
70
|
}, z.core.$strict>;
|
|
38
71
|
export type Product = z.infer<typeof ProductSchema>;
|
|
72
|
+
export declare const DataBindingSchema: z.ZodObject<{
|
|
73
|
+
path: z.ZodString;
|
|
74
|
+
}, z.core.$strict>;
|
|
75
|
+
export type DataBinding = z.infer<typeof DataBindingSchema>;
|
|
76
|
+
export declare const FollowupActionItemSchema: z.ZodObject<{
|
|
77
|
+
text: z.ZodString;
|
|
78
|
+
type: z.ZodLiteral<"followup">;
|
|
79
|
+
}, z.core.$strict>;
|
|
80
|
+
export type FollowupActionItem = z.infer<typeof FollowupActionItemSchema>;
|
|
81
|
+
export declare const SearchActionItemSchema: z.ZodObject<{
|
|
82
|
+
text: z.ZodString;
|
|
83
|
+
type: z.ZodLiteral<"search">;
|
|
84
|
+
}, z.core.$strict>;
|
|
85
|
+
export type SearchActionItem = z.infer<typeof SearchActionItemSchema>;
|
|
86
|
+
export declare const SearchOptionActionItemSchema: z.ZodObject<{
|
|
87
|
+
optionId: z.ZodString;
|
|
88
|
+
text: z.ZodString;
|
|
89
|
+
type: z.ZodLiteral<"searchOption">;
|
|
90
|
+
}, z.core.$strict>;
|
|
91
|
+
export type SearchOptionActionItem = z.infer<typeof SearchOptionActionItemSchema>;
|
|
92
|
+
export declare const ChildListClassSchema: z.ZodObject<{
|
|
93
|
+
componentId: z.ZodString;
|
|
94
|
+
path: z.ZodString;
|
|
95
|
+
}, z.core.$strict>;
|
|
96
|
+
export type ChildListClass = z.infer<typeof ChildListClassSchema>;
|
|
97
|
+
export declare const BreadboxRegularFacetValueSchema: z.ZodObject<{
|
|
98
|
+
state: z.ZodEnum<{
|
|
99
|
+
excluded: "excluded";
|
|
100
|
+
selected: "selected";
|
|
101
|
+
}>;
|
|
102
|
+
value: z.ZodString;
|
|
103
|
+
}, z.core.$strict>;
|
|
104
|
+
export type BreadboxRegularFacetValue = z.infer<typeof BreadboxRegularFacetValueSchema>;
|
|
105
|
+
export declare const BreadboxNumericalRangeFacetValueSchema: z.ZodObject<{
|
|
106
|
+
end: z.ZodNumber;
|
|
107
|
+
start: z.ZodNumber;
|
|
108
|
+
}, z.core.$strict>;
|
|
109
|
+
export type BreadboxNumericalRangeFacetValue = z.infer<typeof BreadboxNumericalRangeFacetValueSchema>;
|
|
110
|
+
export declare const BreadboxDateRangeFacetValueSchema: z.ZodObject<{
|
|
111
|
+
end: z.ZodString;
|
|
112
|
+
start: z.ZodString;
|
|
113
|
+
}, z.core.$strict>;
|
|
114
|
+
export type BreadboxDateRangeFacetValue = z.infer<typeof BreadboxDateRangeFacetValueSchema>;
|
|
115
|
+
export declare const BreadboxHierarchicalFacetSchema: z.ZodObject<{
|
|
116
|
+
displayName: z.ZodString;
|
|
117
|
+
facetId: z.ZodString;
|
|
118
|
+
field: z.ZodString;
|
|
119
|
+
path: z.ZodArray<z.ZodString>;
|
|
120
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
121
|
+
}, z.core.$strict>;
|
|
122
|
+
export type BreadboxHierarchicalFacet = z.infer<typeof BreadboxHierarchicalFacetSchema>;
|
|
123
|
+
export declare const BreadboxDeselectRegularValueSchema: z.ZodObject<{
|
|
124
|
+
facetId: z.ZodString;
|
|
125
|
+
type: z.ZodLiteral<"regular">;
|
|
126
|
+
value: z.ZodString;
|
|
127
|
+
}, z.core.$strict>;
|
|
128
|
+
export type BreadboxDeselectRegularValue = z.infer<typeof BreadboxDeselectRegularValueSchema>;
|
|
129
|
+
export declare const BreadboxDeselectNumericalRangeSchema: z.ZodObject<{
|
|
130
|
+
end: z.ZodNumber;
|
|
131
|
+
facetId: z.ZodString;
|
|
132
|
+
start: z.ZodNumber;
|
|
133
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
134
|
+
}, z.core.$strict>;
|
|
135
|
+
export type BreadboxDeselectNumericalRange = z.infer<typeof BreadboxDeselectNumericalRangeSchema>;
|
|
136
|
+
export declare const BreadboxDeselectDateRangeSchema: z.ZodObject<{
|
|
137
|
+
end: z.ZodString;
|
|
138
|
+
facetId: z.ZodString;
|
|
139
|
+
start: z.ZodString;
|
|
140
|
+
type: z.ZodLiteral<"dateRange">;
|
|
141
|
+
}, z.core.$strict>;
|
|
142
|
+
export type BreadboxDeselectDateRange = z.infer<typeof BreadboxDeselectDateRangeSchema>;
|
|
143
|
+
export declare const BreadboxDeselectHierarchicalPathSchema: z.ZodObject<{
|
|
144
|
+
facetId: z.ZodString;
|
|
145
|
+
path: z.ZodArray<z.ZodString>;
|
|
146
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
147
|
+
}, z.core.$strict>;
|
|
148
|
+
export type BreadboxDeselectHierarchicalPath = z.infer<typeof BreadboxDeselectHierarchicalPathSchema>;
|
|
39
149
|
export declare const ProductCarouselActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
40
150
|
export type ProductCarouselActions = z.infer<typeof ProductCarouselActionsSchema>;
|
|
41
151
|
export declare const ProductCarouselStateSchema: z.ZodObject<{
|
|
42
152
|
heading: z.ZodString;
|
|
43
153
|
products: z.ZodArray<z.ZodObject<{
|
|
44
154
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
155
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
156
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
157
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
158
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
159
|
+
text: z.ZodString;
|
|
160
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
161
|
+
}, z.core.$strict>>;
|
|
162
|
+
placementId: z.ZodString;
|
|
163
|
+
}, z.core.$strict>>>;
|
|
45
164
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
46
|
-
clickUri: z.ZodOptional<z.
|
|
165
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
47
166
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
48
167
|
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
49
168
|
ec_color: z.ZodOptional<z.ZodString>;
|
|
50
169
|
ec_description: z.ZodOptional<z.ZodString>;
|
|
51
|
-
ec_images: z.ZodOptional<z.ZodArray<z.
|
|
170
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
52
171
|
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
53
172
|
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
54
173
|
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
@@ -57,26 +176,76 @@ export declare const ProductCarouselStateSchema: z.ZodObject<{
|
|
|
57
176
|
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
58
177
|
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
59
178
|
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
60
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.
|
|
179
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
61
180
|
permanentid: z.ZodString;
|
|
62
181
|
}, z.core.$strict>>;
|
|
63
182
|
}, z.core.$strict>;
|
|
64
183
|
export type ProductCarouselState = z.infer<typeof ProductCarouselStateSchema>;
|
|
65
|
-
export declare const
|
|
184
|
+
export declare const BadgeSchema: z.ZodObject<{
|
|
185
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
186
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
66
187
|
text: z.ZodString;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
188
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
189
|
+
}, z.core.$strict>;
|
|
190
|
+
export type Badge = z.infer<typeof BadgeSchema>;
|
|
191
|
+
export declare const PurchaseProductSchema: z.ZodObject<{
|
|
192
|
+
name: z.ZodOptional<z.ZodString>;
|
|
193
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
194
|
+
productId: z.ZodString;
|
|
195
|
+
quantity: z.ZodNumber;
|
|
196
|
+
}, z.core.$strict>;
|
|
197
|
+
export type PurchaseProduct = z.infer<typeof PurchaseProductSchema>;
|
|
198
|
+
export declare const TransactionSchema: z.ZodObject<{
|
|
199
|
+
id: z.ZodString;
|
|
200
|
+
revenue: z.ZodNumber;
|
|
201
|
+
}, z.core.$strict>;
|
|
202
|
+
export type Transaction = z.infer<typeof TransactionSchema>;
|
|
203
|
+
export declare const UpdateCartPayloadSchema: z.ZodObject<{
|
|
204
|
+
name: z.ZodOptional<z.ZodString>;
|
|
205
|
+
operation: z.ZodEnum<{
|
|
206
|
+
add: "add";
|
|
207
|
+
remove: "remove";
|
|
208
|
+
setQuantity: "setQuantity";
|
|
70
209
|
}>;
|
|
210
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
211
|
+
productId: z.ZodString;
|
|
212
|
+
quantity: z.ZodNumber;
|
|
71
213
|
}, z.core.$strict>;
|
|
72
|
-
export type
|
|
73
|
-
export declare const
|
|
214
|
+
export type UpdateCartPayload = z.infer<typeof UpdateCartPayloadSchema>;
|
|
215
|
+
export declare const CartStateSchema: z.ZodObject<{}, z.core.$strict>;
|
|
216
|
+
export type CartState = z.infer<typeof CartStateSchema>;
|
|
217
|
+
export declare const FetchSuggestionsPayloadSchema: z.ZodObject<{
|
|
218
|
+
query: z.ZodString;
|
|
219
|
+
}, z.core.$strict>;
|
|
220
|
+
export type FetchSuggestionsPayload = z.infer<typeof FetchSuggestionsPayloadSchema>;
|
|
221
|
+
export declare const QueryCompletionSchema: z.ZodObject<{
|
|
222
|
+
expression: z.ZodString;
|
|
223
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
224
|
+
}, z.core.$strict>;
|
|
225
|
+
export type QueryCompletion = z.infer<typeof QueryCompletionSchema>;
|
|
226
|
+
export declare const SelectActionPayloadSchema: z.ZodObject<{
|
|
74
227
|
text: z.ZodString;
|
|
75
228
|
type: z.ZodEnum<{
|
|
76
229
|
followup: "followup";
|
|
77
230
|
search: "search";
|
|
78
231
|
}>;
|
|
79
232
|
}, z.core.$strict>;
|
|
233
|
+
export type SelectActionPayload = z.infer<typeof SelectActionPayloadSchema>;
|
|
234
|
+
export declare const SelectSearchOptionPayloadSchema: z.ZodObject<{
|
|
235
|
+
optionId: z.ZodString;
|
|
236
|
+
}, z.core.$strict>;
|
|
237
|
+
export type SelectSearchOptionPayload = z.infer<typeof SelectSearchOptionPayloadSchema>;
|
|
238
|
+
export declare const ActionItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
239
|
+
text: z.ZodString;
|
|
240
|
+
type: z.ZodLiteral<"followup">;
|
|
241
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
242
|
+
text: z.ZodString;
|
|
243
|
+
type: z.ZodLiteral<"search">;
|
|
244
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
245
|
+
optionId: z.ZodString;
|
|
246
|
+
text: z.ZodString;
|
|
247
|
+
type: z.ZodLiteral<"searchOption">;
|
|
248
|
+
}, z.core.$strict>], "type">;
|
|
80
249
|
export type ActionItem = z.infer<typeof ActionItemSchema>;
|
|
81
250
|
export declare const BundleDisplayActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
82
251
|
export type BundleDisplayActions = z.infer<typeof BundleDisplayActionsSchema>;
|
|
@@ -85,6 +254,15 @@ export declare const BundleSlotSchema: z.ZodObject<{
|
|
|
85
254
|
childId: z.ZodString;
|
|
86
255
|
}, z.core.$strict>;
|
|
87
256
|
export type BundleSlot = z.infer<typeof BundleSlotSchema>;
|
|
257
|
+
export declare const ProductResearchCardActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
258
|
+
export type ProductResearchCardActions = z.infer<typeof ProductResearchCardActionsSchema>;
|
|
259
|
+
export declare const ProductResearchRelatedDocumentSchema: z.ZodObject<{
|
|
260
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
261
|
+
filetype: z.ZodOptional<z.ZodString>;
|
|
262
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
263
|
+
title: z.ZodString;
|
|
264
|
+
}, z.core.$strict>;
|
|
265
|
+
export type ProductResearchRelatedDocument = z.infer<typeof ProductResearchRelatedDocumentSchema>;
|
|
88
266
|
export declare const ComparisonTableActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
89
267
|
export type ComparisonTableActions = z.infer<typeof ComparisonTableActionsSchema>;
|
|
90
268
|
export declare const ComparisonAttributeSchema: z.ZodObject<{
|
|
@@ -93,26 +271,50 @@ export declare const ComparisonAttributeSchema: z.ZodObject<{
|
|
|
93
271
|
}, z.core.$strict>;
|
|
94
272
|
export type ComparisonAttribute = z.infer<typeof ComparisonAttributeSchema>;
|
|
95
273
|
export declare const ComparisonProductSchema: z.ZodObject<{
|
|
96
|
-
imageUrl: z.ZodOptional<z.
|
|
274
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
97
275
|
name: z.ZodString;
|
|
98
276
|
price: z.ZodOptional<z.ZodNumber>;
|
|
99
277
|
productId: z.ZodString;
|
|
100
278
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
279
|
+
relatedDocuments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
280
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
281
|
+
filetype: z.ZodOptional<z.ZodString>;
|
|
282
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
283
|
+
title: z.ZodString;
|
|
284
|
+
}, z.core.$strict>>>;
|
|
101
285
|
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
102
286
|
}, z.core.$strict>;
|
|
103
287
|
export type ComparisonProduct = z.infer<typeof ComparisonProductSchema>;
|
|
104
|
-
export declare const
|
|
105
|
-
|
|
288
|
+
export declare const ProductClickPayloadSchema: z.ZodObject<{
|
|
289
|
+
name: z.ZodOptional<z.ZodString>;
|
|
290
|
+
position: z.ZodNumber;
|
|
291
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
292
|
+
productId: z.ZodString;
|
|
293
|
+
}, z.core.$strict>;
|
|
294
|
+
export type ProductClickPayload = z.infer<typeof ProductClickPayloadSchema>;
|
|
295
|
+
export declare const SelectProductsPayloadSchema: z.ZodObject<{
|
|
296
|
+
productIds: z.ZodArray<z.ZodString>;
|
|
297
|
+
}, z.core.$strict>;
|
|
298
|
+
export type SelectProductsPayload = z.infer<typeof SelectProductsPayloadSchema>;
|
|
106
299
|
export declare const ProductListStateSchema: z.ZodObject<{
|
|
107
300
|
products: z.ZodArray<z.ZodObject<{
|
|
108
301
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
302
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
303
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
304
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
305
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
306
|
+
text: z.ZodString;
|
|
307
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
308
|
+
}, z.core.$strict>>;
|
|
309
|
+
placementId: z.ZodString;
|
|
310
|
+
}, z.core.$strict>>>;
|
|
109
311
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
110
|
-
clickUri: z.ZodOptional<z.
|
|
312
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
111
313
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
112
314
|
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
113
315
|
ec_color: z.ZodOptional<z.ZodString>;
|
|
114
316
|
ec_description: z.ZodOptional<z.ZodString>;
|
|
115
|
-
ec_images: z.ZodOptional<z.ZodArray<z.
|
|
317
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
116
318
|
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
117
319
|
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
118
320
|
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
@@ -121,7 +323,7 @@ export declare const ProductListStateSchema: z.ZodObject<{
|
|
|
121
323
|
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
122
324
|
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
123
325
|
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
124
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.
|
|
326
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
125
327
|
permanentid: z.ZodString;
|
|
126
328
|
}, z.core.$strict>>;
|
|
127
329
|
}, z.core.$strict>;
|
|
@@ -132,13 +334,22 @@ export declare const ProductSummaryStateSchema: z.ZodObject<{
|
|
|
132
334
|
categoryLabel: z.ZodString;
|
|
133
335
|
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
134
336
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
337
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
338
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
339
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
340
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
341
|
+
text: z.ZodString;
|
|
342
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
343
|
+
}, z.core.$strict>>;
|
|
344
|
+
placementId: z.ZodString;
|
|
345
|
+
}, z.core.$strict>>>;
|
|
135
346
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
136
|
-
clickUri: z.ZodOptional<z.
|
|
347
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
137
348
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
138
349
|
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
139
350
|
ec_color: z.ZodOptional<z.ZodString>;
|
|
140
351
|
ec_description: z.ZodOptional<z.ZodString>;
|
|
141
|
-
ec_images: z.ZodOptional<z.ZodArray<z.
|
|
352
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
142
353
|
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
143
354
|
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
144
355
|
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
@@ -147,7 +358,7 @@ export declare const ProductSummaryStateSchema: z.ZodObject<{
|
|
|
147
358
|
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
148
359
|
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
149
360
|
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
150
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.
|
|
361
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
151
362
|
permanentid: z.ZodString;
|
|
152
363
|
}, z.core.$strict>, z.ZodNull]>;
|
|
153
364
|
}, z.core.$strict>;
|
|
@@ -160,6 +371,8 @@ export declare const PayloadSchema: z.ZodObject<{
|
|
|
160
371
|
pageSize: z.ZodNumber;
|
|
161
372
|
}, z.core.$strict>;
|
|
162
373
|
export type Payload = z.infer<typeof PayloadSchema>;
|
|
374
|
+
export declare const ShowMorePayloadSchema: z.ZodObject<{}, z.core.$strict>;
|
|
375
|
+
export type ShowMorePayload = z.infer<typeof ShowMorePayloadSchema>;
|
|
163
376
|
export declare const PaginationStateSchema: z.ZodObject<{
|
|
164
377
|
page: z.ZodNumber;
|
|
165
378
|
pageSize: z.ZodNumber;
|
|
@@ -319,8 +532,50 @@ export declare const FacetManagerActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
|
319
532
|
export type FacetManagerActions = z.infer<typeof FacetManagerActionsSchema>;
|
|
320
533
|
export declare const FacetManagerStateSchema: z.ZodObject<{}, z.core.$strict>;
|
|
321
534
|
export type FacetManagerState = z.infer<typeof FacetManagerStateSchema>;
|
|
322
|
-
export declare const
|
|
323
|
-
|
|
535
|
+
export declare const BreadboxDeselectPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
536
|
+
facetId: z.ZodString;
|
|
537
|
+
type: z.ZodLiteral<"regular">;
|
|
538
|
+
value: z.ZodString;
|
|
539
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
540
|
+
end: z.ZodNumber;
|
|
541
|
+
facetId: z.ZodString;
|
|
542
|
+
start: z.ZodNumber;
|
|
543
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
544
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
545
|
+
end: z.ZodString;
|
|
546
|
+
facetId: z.ZodString;
|
|
547
|
+
start: z.ZodString;
|
|
548
|
+
type: z.ZodLiteral<"dateRange">;
|
|
549
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
550
|
+
facetId: z.ZodString;
|
|
551
|
+
path: z.ZodArray<z.ZodString>;
|
|
552
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
553
|
+
}, z.core.$strict>], "type">;
|
|
554
|
+
export type BreadboxDeselectPayload = z.infer<typeof BreadboxDeselectPayloadSchema>;
|
|
555
|
+
export declare const BreadboxFacetValueSchema: z.ZodObject<{
|
|
556
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
557
|
+
excluded: "excluded";
|
|
558
|
+
selected: "selected";
|
|
559
|
+
}>>;
|
|
560
|
+
value: z.ZodOptional<z.ZodString>;
|
|
561
|
+
end: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
562
|
+
start: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
563
|
+
}, z.core.$strict>;
|
|
564
|
+
export type BreadboxFacetValue = z.infer<typeof BreadboxFacetValueSchema>;
|
|
565
|
+
export declare const OverrideCorrectionPayloadSchema: z.ZodObject<{
|
|
566
|
+
originalQuery: z.ZodString;
|
|
567
|
+
}, z.core.$strict>;
|
|
568
|
+
export type OverrideCorrectionPayload = z.infer<typeof OverrideCorrectionPayloadSchema>;
|
|
569
|
+
export declare const NumericRangeRestoreSchema: z.ZodObject<{
|
|
570
|
+
end: z.ZodNumber;
|
|
571
|
+
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
572
|
+
start: z.ZodNumber;
|
|
573
|
+
}, z.core.$strict>;
|
|
574
|
+
export type NumericRangeRestore = z.infer<typeof NumericRangeRestoreSchema>;
|
|
575
|
+
export declare const SubmitQueryPayloadSchema: z.ZodObject<{
|
|
576
|
+
query: z.ZodString;
|
|
577
|
+
}, z.core.$strict>;
|
|
578
|
+
export type SubmitQueryPayload = z.infer<typeof SubmitQueryPayloadSchema>;
|
|
324
579
|
export declare const CommerceSearchStateSchema: z.ZodObject<{}, z.core.$strict>;
|
|
325
580
|
export type CommerceSearchState = z.infer<typeof CommerceSearchStateSchema>;
|
|
326
581
|
export declare const LayoutStackActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
@@ -344,22 +599,66 @@ export declare const PageSizeStateSchema: z.ZodObject<{
|
|
|
344
599
|
pageSize: z.ZodNumber;
|
|
345
600
|
}, z.core.$strict>;
|
|
346
601
|
export type PageSizeState = z.infer<typeof PageSizeStateSchema>;
|
|
602
|
+
export declare const BreadboxRegularFacetSchema: z.ZodObject<{
|
|
603
|
+
displayName: z.ZodString;
|
|
604
|
+
facetId: z.ZodString;
|
|
605
|
+
field: z.ZodString;
|
|
606
|
+
type: z.ZodLiteral<"regular">;
|
|
607
|
+
values: z.ZodArray<z.ZodObject<{
|
|
608
|
+
state: z.ZodEnum<{
|
|
609
|
+
excluded: "excluded";
|
|
610
|
+
selected: "selected";
|
|
611
|
+
}>;
|
|
612
|
+
value: z.ZodString;
|
|
613
|
+
}, z.core.$strict>>;
|
|
614
|
+
}, z.core.$strict>;
|
|
615
|
+
export type BreadboxRegularFacet = z.infer<typeof BreadboxRegularFacetSchema>;
|
|
616
|
+
export declare const BreadboxNumericalRangeFacetSchema: z.ZodObject<{
|
|
617
|
+
displayName: z.ZodString;
|
|
618
|
+
facetId: z.ZodString;
|
|
619
|
+
field: z.ZodString;
|
|
620
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
621
|
+
values: z.ZodArray<z.ZodObject<{
|
|
622
|
+
end: z.ZodNumber;
|
|
623
|
+
start: z.ZodNumber;
|
|
624
|
+
}, z.core.$strict>>;
|
|
625
|
+
}, z.core.$strict>;
|
|
626
|
+
export type BreadboxNumericalRangeFacet = z.infer<typeof BreadboxNumericalRangeFacetSchema>;
|
|
627
|
+
export declare const BreadboxDateRangeFacetSchema: z.ZodObject<{
|
|
628
|
+
displayName: z.ZodString;
|
|
629
|
+
facetId: z.ZodString;
|
|
630
|
+
field: z.ZodString;
|
|
631
|
+
type: z.ZodLiteral<"dateRange">;
|
|
632
|
+
values: z.ZodArray<z.ZodObject<{
|
|
633
|
+
end: z.ZodString;
|
|
634
|
+
start: z.ZodString;
|
|
635
|
+
}, z.core.$strict>>;
|
|
636
|
+
}, z.core.$strict>;
|
|
637
|
+
export type BreadboxDateRangeFacet = z.infer<typeof BreadboxDateRangeFacetSchema>;
|
|
347
638
|
export declare const ProductCarouselSchema: z.ZodObject<{
|
|
348
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
state: z.ZodObject<{
|
|
639
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
640
|
+
component: z.ZodLiteral<"ProductCarousel">;
|
|
641
|
+
id: z.ZodString;
|
|
642
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
353
643
|
heading: z.ZodString;
|
|
354
644
|
products: z.ZodArray<z.ZodObject<{
|
|
355
645
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
646
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
647
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
648
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
649
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
650
|
+
text: z.ZodString;
|
|
651
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
652
|
+
}, z.core.$strict>>;
|
|
653
|
+
placementId: z.ZodString;
|
|
654
|
+
}, z.core.$strict>>>;
|
|
356
655
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
357
|
-
clickUri: z.ZodOptional<z.
|
|
656
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
358
657
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
359
658
|
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
360
659
|
ec_color: z.ZodOptional<z.ZodString>;
|
|
361
660
|
ec_description: z.ZodOptional<z.ZodString>;
|
|
362
|
-
ec_images: z.ZodOptional<z.ZodArray<z.
|
|
661
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
363
662
|
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
364
663
|
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
365
664
|
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
@@ -368,12 +667,92 @@ export declare const ProductCarouselSchema: z.ZodObject<{
|
|
|
368
667
|
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
369
668
|
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
370
669
|
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
371
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.
|
|
670
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
372
671
|
permanentid: z.ZodString;
|
|
373
672
|
}, z.core.$strict>>;
|
|
673
|
+
}, z.core.$strict>>;
|
|
674
|
+
}, z.core.$loose>;
|
|
675
|
+
export type ProductCarousel = z.infer<typeof ProductCarouselSchema>;
|
|
676
|
+
export declare const BadgePlacementSchema: z.ZodObject<{
|
|
677
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
678
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
679
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
680
|
+
text: z.ZodString;
|
|
681
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
682
|
+
}, z.core.$strict>>;
|
|
683
|
+
placementId: z.ZodString;
|
|
684
|
+
}, z.core.$strict>;
|
|
685
|
+
export type BadgePlacement = z.infer<typeof BadgePlacementSchema>;
|
|
686
|
+
export declare const PurchasePayloadSchema: z.ZodObject<{
|
|
687
|
+
products: z.ZodArray<z.ZodObject<{
|
|
688
|
+
name: z.ZodOptional<z.ZodString>;
|
|
689
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
690
|
+
productId: z.ZodString;
|
|
691
|
+
quantity: z.ZodNumber;
|
|
692
|
+
}, z.core.$strict>>;
|
|
693
|
+
transaction: z.ZodObject<{
|
|
694
|
+
id: z.ZodString;
|
|
695
|
+
revenue: z.ZodNumber;
|
|
374
696
|
}, z.core.$strict>;
|
|
375
697
|
}, z.core.$strict>;
|
|
376
|
-
export type
|
|
698
|
+
export type PurchasePayload = z.infer<typeof PurchasePayloadSchema>;
|
|
699
|
+
export declare const UpdateCartSchema: z.ZodObject<{
|
|
700
|
+
payload: z.ZodObject<{
|
|
701
|
+
name: z.ZodOptional<z.ZodString>;
|
|
702
|
+
operation: z.ZodEnum<{
|
|
703
|
+
add: "add";
|
|
704
|
+
remove: "remove";
|
|
705
|
+
setQuantity: "setQuantity";
|
|
706
|
+
}>;
|
|
707
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
708
|
+
productId: z.ZodString;
|
|
709
|
+
quantity: z.ZodNumber;
|
|
710
|
+
}, z.core.$strict>;
|
|
711
|
+
}, z.core.$strict>;
|
|
712
|
+
export type UpdateCart = z.infer<typeof UpdateCartSchema>;
|
|
713
|
+
export declare const FetchSuggestionsSchema: z.ZodObject<{
|
|
714
|
+
payload: z.ZodObject<{
|
|
715
|
+
query: z.ZodString;
|
|
716
|
+
}, z.core.$strict>;
|
|
717
|
+
}, z.core.$strict>;
|
|
718
|
+
export type FetchSuggestions = z.infer<typeof FetchSuggestionsSchema>;
|
|
719
|
+
export declare const QuerySuggestionsStateSchema: z.ZodObject<{
|
|
720
|
+
completions: z.ZodArray<z.ZodObject<{
|
|
721
|
+
expression: z.ZodString;
|
|
722
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
723
|
+
}, z.core.$strict>>;
|
|
724
|
+
products: z.ZodArray<z.ZodObject<{
|
|
725
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
726
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
727
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
728
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
729
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
730
|
+
text: z.ZodString;
|
|
731
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
732
|
+
}, z.core.$strict>>;
|
|
733
|
+
placementId: z.ZodString;
|
|
734
|
+
}, z.core.$strict>>>;
|
|
735
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
736
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
737
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
738
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
739
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
740
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
741
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
742
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
743
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
744
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
745
|
+
ec_name: z.ZodString;
|
|
746
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
747
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
748
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
749
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
750
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
751
|
+
permanentid: z.ZodString;
|
|
752
|
+
}, z.core.$strict>>;
|
|
753
|
+
query: z.ZodString;
|
|
754
|
+
}, z.core.$strict>;
|
|
755
|
+
export type QuerySuggestionsState = z.infer<typeof QuerySuggestionsStateSchema>;
|
|
377
756
|
export declare const SelectActionSchema: z.ZodObject<{
|
|
378
757
|
payload: z.ZodObject<{
|
|
379
758
|
text: z.ZodString;
|
|
@@ -384,14 +763,24 @@ export declare const SelectActionSchema: z.ZodObject<{
|
|
|
384
763
|
}, z.core.$strict>;
|
|
385
764
|
}, z.core.$strict>;
|
|
386
765
|
export type SelectAction = z.infer<typeof SelectActionSchema>;
|
|
766
|
+
export declare const SelectSearchOptionSchema: z.ZodObject<{
|
|
767
|
+
payload: z.ZodObject<{
|
|
768
|
+
optionId: z.ZodString;
|
|
769
|
+
}, z.core.$strict>;
|
|
770
|
+
}, z.core.$strict>;
|
|
771
|
+
export type SelectSearchOption = z.infer<typeof SelectSearchOptionSchema>;
|
|
387
772
|
export declare const NextActionsStateSchema: z.ZodObject<{
|
|
388
|
-
|
|
773
|
+
suggestedActions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
389
774
|
text: z.ZodString;
|
|
390
|
-
type: z.
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
}, z.core.$strict
|
|
775
|
+
type: z.ZodLiteral<"followup">;
|
|
776
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
777
|
+
text: z.ZodString;
|
|
778
|
+
type: z.ZodLiteral<"search">;
|
|
779
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
780
|
+
optionId: z.ZodString;
|
|
781
|
+
text: z.ZodString;
|
|
782
|
+
type: z.ZodLiteral<"searchOption">;
|
|
783
|
+
}, z.core.$strict>], "type">>;
|
|
395
784
|
}, z.core.$strict>;
|
|
396
785
|
export type NextActionsState = z.infer<typeof NextActionsStateSchema>;
|
|
397
786
|
export declare const BundleTierSchema: z.ZodObject<{
|
|
@@ -401,8 +790,49 @@ export declare const BundleTierSchema: z.ZodObject<{
|
|
|
401
790
|
categoryLabel: z.ZodString;
|
|
402
791
|
childId: z.ZodString;
|
|
403
792
|
}, z.core.$strict>>;
|
|
793
|
+
total: z.ZodNumber;
|
|
404
794
|
}, z.core.$strict>;
|
|
405
795
|
export type BundleTier = z.infer<typeof BundleTierSchema>;
|
|
796
|
+
export declare const ProductResearchCardStateSchema: z.ZodObject<{
|
|
797
|
+
bullets: z.ZodArray<z.ZodString>;
|
|
798
|
+
product: z.ZodObject<{
|
|
799
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
800
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
801
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
802
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
803
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
804
|
+
text: z.ZodString;
|
|
805
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
806
|
+
}, z.core.$strict>>;
|
|
807
|
+
placementId: z.ZodString;
|
|
808
|
+
}, z.core.$strict>>>;
|
|
809
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
810
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
811
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
812
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
813
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
814
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
815
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
816
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
817
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
818
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
819
|
+
ec_name: z.ZodString;
|
|
820
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
821
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
822
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
823
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
824
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
825
|
+
permanentid: z.ZodString;
|
|
826
|
+
}, z.core.$strict>;
|
|
827
|
+
relatedDocuments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
828
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
829
|
+
filetype: z.ZodOptional<z.ZodString>;
|
|
830
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
831
|
+
title: z.ZodString;
|
|
832
|
+
}, z.core.$strict>>>;
|
|
833
|
+
summary: z.ZodString;
|
|
834
|
+
}, z.core.$strict>;
|
|
835
|
+
export type ProductResearchCardState = z.infer<typeof ProductResearchCardStateSchema>;
|
|
406
836
|
export declare const ComparisonTableStateSchema: z.ZodObject<{
|
|
407
837
|
attributes: z.ZodArray<z.ZodObject<{
|
|
408
838
|
key: z.ZodString;
|
|
@@ -410,61 +840,61 @@ export declare const ComparisonTableStateSchema: z.ZodObject<{
|
|
|
410
840
|
}, z.core.$strict>>;
|
|
411
841
|
heading: z.ZodString;
|
|
412
842
|
products: z.ZodArray<z.ZodObject<{
|
|
413
|
-
imageUrl: z.ZodOptional<z.
|
|
843
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
414
844
|
name: z.ZodString;
|
|
415
845
|
price: z.ZodOptional<z.ZodNumber>;
|
|
416
846
|
productId: z.ZodString;
|
|
417
847
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
848
|
+
relatedDocuments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
849
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
850
|
+
filetype: z.ZodOptional<z.ZodString>;
|
|
851
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
852
|
+
title: z.ZodString;
|
|
853
|
+
}, z.core.$strict>>>;
|
|
418
854
|
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
419
855
|
}, z.core.$strict>>;
|
|
420
856
|
summary: z.ZodString;
|
|
421
857
|
}, z.core.$strict>;
|
|
422
858
|
export type ComparisonTableState = z.infer<typeof ComparisonTableStateSchema>;
|
|
423
|
-
export declare const
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
products: z.ZodArray<z.ZodObject<{
|
|
430
|
-
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
431
|
-
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
432
|
-
clickUri: z.ZodOptional<z.ZodURL>;
|
|
433
|
-
ec_brand: z.ZodOptional<z.ZodString>;
|
|
434
|
-
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
435
|
-
ec_color: z.ZodOptional<z.ZodString>;
|
|
436
|
-
ec_description: z.ZodOptional<z.ZodString>;
|
|
437
|
-
ec_images: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
438
|
-
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
439
|
-
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
440
|
-
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
441
|
-
ec_name: z.ZodString;
|
|
442
|
-
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
443
|
-
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
444
|
-
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
445
|
-
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
446
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
447
|
-
permanentid: z.ZodString;
|
|
448
|
-
}, z.core.$strict>>;
|
|
859
|
+
export declare const ProductClickSchema: z.ZodObject<{
|
|
860
|
+
payload: z.ZodObject<{
|
|
861
|
+
name: z.ZodOptional<z.ZodString>;
|
|
862
|
+
position: z.ZodNumber;
|
|
863
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
864
|
+
productId: z.ZodString;
|
|
449
865
|
}, z.core.$strict>;
|
|
450
866
|
}, z.core.$strict>;
|
|
451
|
-
export type
|
|
867
|
+
export type ProductClick = z.infer<typeof ProductClickSchema>;
|
|
868
|
+
export declare const SelectProductsSchema: z.ZodObject<{
|
|
869
|
+
payload: z.ZodObject<{
|
|
870
|
+
productIds: z.ZodArray<z.ZodString>;
|
|
871
|
+
}, z.core.$strict>;
|
|
872
|
+
}, z.core.$strict>;
|
|
873
|
+
export type SelectProducts = z.infer<typeof SelectProductsSchema>;
|
|
452
874
|
export declare const ProductSummarySchema: z.ZodObject<{
|
|
453
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
state: z.ZodObject<{
|
|
875
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
876
|
+
component: z.ZodLiteral<"ProductSummary">;
|
|
877
|
+
id: z.ZodString;
|
|
878
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
458
879
|
categoryLabel: z.ZodString;
|
|
459
880
|
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
460
881
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
882
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
883
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
884
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
885
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
886
|
+
text: z.ZodString;
|
|
887
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
888
|
+
}, z.core.$strict>>;
|
|
889
|
+
placementId: z.ZodString;
|
|
890
|
+
}, z.core.$strict>>>;
|
|
461
891
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
462
|
-
clickUri: z.ZodOptional<z.
|
|
892
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
463
893
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
464
894
|
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
465
895
|
ec_color: z.ZodOptional<z.ZodString>;
|
|
466
896
|
ec_description: z.ZodOptional<z.ZodString>;
|
|
467
|
-
ec_images: z.ZodOptional<z.ZodArray<z.
|
|
897
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
468
898
|
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
469
899
|
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
470
900
|
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
@@ -473,11 +903,11 @@ export declare const ProductSummarySchema: z.ZodObject<{
|
|
|
473
903
|
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
474
904
|
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
475
905
|
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
476
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.
|
|
906
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
477
907
|
permanentid: z.ZodString;
|
|
478
908
|
}, z.core.$strict>, z.ZodNull]>;
|
|
479
|
-
}, z.core.$strict
|
|
480
|
-
}, z.core.$
|
|
909
|
+
}, z.core.$strict>>;
|
|
910
|
+
}, z.core.$loose>;
|
|
481
911
|
export type ProductSummary = z.infer<typeof ProductSummarySchema>;
|
|
482
912
|
export declare const SelectPageSchema: z.ZodObject<{
|
|
483
913
|
payload: z.ZodObject<{
|
|
@@ -491,6 +921,10 @@ export declare const PurpleSetPageSizeSchema: z.ZodObject<{
|
|
|
491
921
|
}, z.core.$strict>;
|
|
492
922
|
}, z.core.$strict>;
|
|
493
923
|
export type PurpleSetPageSize = z.infer<typeof PurpleSetPageSizeSchema>;
|
|
924
|
+
export declare const ShowMoreSchema: z.ZodObject<{
|
|
925
|
+
payload: z.ZodObject<{}, z.core.$strict>;
|
|
926
|
+
}, z.core.$strict>;
|
|
927
|
+
export type ShowMore = z.infer<typeof ShowMoreSchema>;
|
|
494
928
|
export declare const SelectSortSchema: z.ZodObject<{
|
|
495
929
|
payload: z.ZodObject<{
|
|
496
930
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
@@ -661,61 +1095,161 @@ export declare const FacetSearchClassSchema: z.ZodObject<{
|
|
|
661
1095
|
}, z.core.$strict>;
|
|
662
1096
|
export type FacetSearchClass = z.infer<typeof FacetSearchClassSchema>;
|
|
663
1097
|
export declare const FacetManagerSchema: z.ZodObject<{
|
|
664
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
}, z.core.$strict>;
|
|
1098
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1099
|
+
component: z.ZodLiteral<"FacetManager">;
|
|
1100
|
+
id: z.ZodString;
|
|
1101
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1102
|
+
}, z.core.$loose>;
|
|
670
1103
|
export type FacetManager = z.infer<typeof FacetManagerSchema>;
|
|
671
|
-
export declare const
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
componentType: z.ZodLiteral<"query-summary">;
|
|
692
|
-
state: z.ZodObject<{
|
|
693
|
-
firstIndex: z.ZodNumber;
|
|
694
|
-
lastIndex: z.ZodNumber;
|
|
695
|
-
query: z.ZodString;
|
|
696
|
-
totalEntries: z.ZodNumber;
|
|
697
|
-
}, z.core.$strict>;
|
|
698
|
-
}, z.core.$strict>;
|
|
699
|
-
export type QuerySummary = z.infer<typeof QuerySummarySchema>;
|
|
700
|
-
export declare const FluffySetPageSizeSchema: z.ZodObject<{
|
|
701
|
-
payload: z.ZodObject<{
|
|
702
|
-
pageSize: z.ZodNumber;
|
|
703
|
-
}, z.core.$strict>;
|
|
1104
|
+
export declare const BreadboxDeselectSchema: z.ZodObject<{
|
|
1105
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1106
|
+
facetId: z.ZodString;
|
|
1107
|
+
type: z.ZodLiteral<"regular">;
|
|
1108
|
+
value: z.ZodString;
|
|
1109
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1110
|
+
end: z.ZodNumber;
|
|
1111
|
+
facetId: z.ZodString;
|
|
1112
|
+
start: z.ZodNumber;
|
|
1113
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
1114
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1115
|
+
end: z.ZodString;
|
|
1116
|
+
facetId: z.ZodString;
|
|
1117
|
+
start: z.ZodString;
|
|
1118
|
+
type: z.ZodLiteral<"dateRange">;
|
|
1119
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1120
|
+
facetId: z.ZodString;
|
|
1121
|
+
path: z.ZodArray<z.ZodString>;
|
|
1122
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
1123
|
+
}, z.core.$strict>], "type">;
|
|
704
1124
|
}, z.core.$strict>;
|
|
705
|
-
export type
|
|
706
|
-
export declare const
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
1125
|
+
export type BreadboxDeselect = z.infer<typeof BreadboxDeselectSchema>;
|
|
1126
|
+
export declare const BreadboxFacetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1127
|
+
displayName: z.ZodString;
|
|
1128
|
+
facetId: z.ZodString;
|
|
1129
|
+
field: z.ZodString;
|
|
1130
|
+
type: z.ZodLiteral<"regular">;
|
|
1131
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1132
|
+
state: z.ZodEnum<{
|
|
1133
|
+
excluded: "excluded";
|
|
1134
|
+
selected: "selected";
|
|
1135
|
+
}>;
|
|
1136
|
+
value: z.ZodString;
|
|
1137
|
+
}, z.core.$strict>>;
|
|
1138
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1139
|
+
displayName: z.ZodString;
|
|
1140
|
+
facetId: z.ZodString;
|
|
1141
|
+
field: z.ZodString;
|
|
1142
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
1143
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1144
|
+
end: z.ZodNumber;
|
|
1145
|
+
start: z.ZodNumber;
|
|
1146
|
+
}, z.core.$strict>>;
|
|
1147
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1148
|
+
displayName: z.ZodString;
|
|
1149
|
+
facetId: z.ZodString;
|
|
1150
|
+
field: z.ZodString;
|
|
1151
|
+
type: z.ZodLiteral<"dateRange">;
|
|
1152
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1153
|
+
end: z.ZodString;
|
|
1154
|
+
start: z.ZodString;
|
|
1155
|
+
}, z.core.$strict>>;
|
|
1156
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1157
|
+
displayName: z.ZodString;
|
|
1158
|
+
facetId: z.ZodString;
|
|
1159
|
+
field: z.ZodString;
|
|
1160
|
+
path: z.ZodArray<z.ZodString>;
|
|
1161
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
1162
|
+
}, z.core.$strict>], "type">;
|
|
1163
|
+
export type BreadboxFacet = z.infer<typeof BreadboxFacetSchema>;
|
|
1164
|
+
export declare const OverrideCorrectionSchema: z.ZodObject<{
|
|
1165
|
+
payload: z.ZodObject<{
|
|
1166
|
+
originalQuery: z.ZodString;
|
|
1167
|
+
}, z.core.$strict>;
|
|
1168
|
+
}, z.core.$strict>;
|
|
1169
|
+
export type OverrideCorrection = z.infer<typeof OverrideCorrectionSchema>;
|
|
1170
|
+
export declare const FacetRestoreSchema: z.ZodObject<{
|
|
1171
|
+
facetId: z.ZodString;
|
|
1172
|
+
numericRanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1173
|
+
end: z.ZodNumber;
|
|
1174
|
+
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1175
|
+
start: z.ZodNumber;
|
|
1176
|
+
}, z.core.$strict>>>;
|
|
1177
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1178
|
+
}, z.core.$strict>;
|
|
1179
|
+
export type FacetRestore = z.infer<typeof FacetRestoreSchema>;
|
|
1180
|
+
export declare const SubmitQuerySchema: z.ZodObject<{
|
|
1181
|
+
payload: z.ZodObject<{
|
|
1182
|
+
query: z.ZodString;
|
|
1183
|
+
}, z.core.$strict>;
|
|
1184
|
+
}, z.core.$strict>;
|
|
1185
|
+
export type SubmitQuery = z.infer<typeof SubmitQuerySchema>;
|
|
1186
|
+
export declare const LayoutStackSchema: z.ZodObject<{
|
|
1187
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1188
|
+
component: z.ZodLiteral<"LayoutStack">;
|
|
1189
|
+
id: z.ZodString;
|
|
1190
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1191
|
+
}, z.core.$loose>;
|
|
1192
|
+
export type LayoutStack = z.infer<typeof LayoutStackSchema>;
|
|
1193
|
+
export declare const QuerySummarySchema: z.ZodObject<{
|
|
1194
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1195
|
+
component: z.ZodLiteral<"QuerySummary">;
|
|
1196
|
+
id: z.ZodString;
|
|
1197
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1198
|
+
firstIndex: z.ZodNumber;
|
|
1199
|
+
lastIndex: z.ZodNumber;
|
|
1200
|
+
query: z.ZodString;
|
|
1201
|
+
totalEntries: z.ZodNumber;
|
|
1202
|
+
}, z.core.$strict>>;
|
|
1203
|
+
}, z.core.$loose>;
|
|
1204
|
+
export type QuerySummary = z.infer<typeof QuerySummarySchema>;
|
|
1205
|
+
export declare const FluffySetPageSizeSchema: z.ZodObject<{
|
|
1206
|
+
payload: z.ZodObject<{
|
|
1207
|
+
pageSize: z.ZodNumber;
|
|
1208
|
+
}, z.core.$strict>;
|
|
1209
|
+
}, z.core.$strict>;
|
|
1210
|
+
export type FluffySetPageSize = z.infer<typeof FluffySetPageSizeSchema>;
|
|
1211
|
+
export declare const PurchaseSchema: z.ZodObject<{
|
|
1212
|
+
payload: z.ZodObject<{
|
|
1213
|
+
products: z.ZodArray<z.ZodObject<{
|
|
1214
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1215
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1216
|
+
productId: z.ZodString;
|
|
1217
|
+
quantity: z.ZodNumber;
|
|
1218
|
+
}, z.core.$strict>>;
|
|
1219
|
+
transaction: z.ZodObject<{
|
|
1220
|
+
id: z.ZodString;
|
|
1221
|
+
revenue: z.ZodNumber;
|
|
1222
|
+
}, z.core.$strict>;
|
|
1223
|
+
}, z.core.$strict>;
|
|
1224
|
+
}, z.core.$strict>;
|
|
1225
|
+
export type Purchase = z.infer<typeof PurchaseSchema>;
|
|
1226
|
+
export declare const QuerySuggestionsActionsSchema: z.ZodObject<{
|
|
1227
|
+
fetchSuggestions: z.ZodObject<{
|
|
1228
|
+
payload: z.ZodObject<{
|
|
1229
|
+
query: z.ZodString;
|
|
1230
|
+
}, z.core.$strict>;
|
|
1231
|
+
}, z.core.$strict>;
|
|
1232
|
+
}, z.core.$strict>;
|
|
1233
|
+
export type QuerySuggestionsActions = z.infer<typeof QuerySuggestionsActionsSchema>;
|
|
1234
|
+
export declare const NextActionsBarActionsSchema: z.ZodObject<{
|
|
1235
|
+
selectAction: z.ZodObject<{
|
|
1236
|
+
payload: z.ZodObject<{
|
|
1237
|
+
text: z.ZodString;
|
|
1238
|
+
type: z.ZodEnum<{
|
|
711
1239
|
followup: "followup";
|
|
712
1240
|
search: "search";
|
|
713
1241
|
}>;
|
|
714
1242
|
}, z.core.$strict>;
|
|
715
1243
|
}, z.core.$strict>;
|
|
1244
|
+
selectSearchOption: z.ZodObject<{
|
|
1245
|
+
payload: z.ZodObject<{
|
|
1246
|
+
optionId: z.ZodString;
|
|
1247
|
+
}, z.core.$strict>;
|
|
1248
|
+
}, z.core.$strict>;
|
|
716
1249
|
}, z.core.$strict>;
|
|
717
1250
|
export type NextActionsBarActions = z.infer<typeof NextActionsBarActionsSchema>;
|
|
718
1251
|
export declare const BundleDisplayStateSchema: z.ZodObject<{
|
|
1252
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
719
1253
|
tiers: z.ZodArray<z.ZodObject<{
|
|
720
1254
|
description: z.ZodString;
|
|
721
1255
|
label: z.ZodString;
|
|
@@ -723,32 +1257,99 @@ export declare const BundleDisplayStateSchema: z.ZodObject<{
|
|
|
723
1257
|
categoryLabel: z.ZodString;
|
|
724
1258
|
childId: z.ZodString;
|
|
725
1259
|
}, z.core.$strict>>;
|
|
1260
|
+
total: z.ZodNumber;
|
|
726
1261
|
}, z.core.$strict>>;
|
|
727
1262
|
}, z.core.$strict>;
|
|
728
1263
|
export type BundleDisplayState = z.infer<typeof BundleDisplayStateSchema>;
|
|
1264
|
+
export declare const ProductResearchCardSchema: z.ZodObject<{
|
|
1265
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1266
|
+
component: z.ZodLiteral<"ProductResearchCard">;
|
|
1267
|
+
id: z.ZodString;
|
|
1268
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1269
|
+
bullets: z.ZodArray<z.ZodString>;
|
|
1270
|
+
product: z.ZodObject<{
|
|
1271
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1272
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1273
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
1274
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
1275
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1276
|
+
text: z.ZodString;
|
|
1277
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
1278
|
+
}, z.core.$strict>>;
|
|
1279
|
+
placementId: z.ZodString;
|
|
1280
|
+
}, z.core.$strict>>>;
|
|
1281
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
1282
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
1283
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
1284
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1285
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
1286
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
1287
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1288
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
1289
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
1290
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
1291
|
+
ec_name: z.ZodString;
|
|
1292
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
1293
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
1294
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1295
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
1296
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1297
|
+
permanentid: z.ZodString;
|
|
1298
|
+
}, z.core.$strict>;
|
|
1299
|
+
relatedDocuments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1300
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
1301
|
+
filetype: z.ZodOptional<z.ZodString>;
|
|
1302
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
1303
|
+
title: z.ZodString;
|
|
1304
|
+
}, z.core.$strict>>>;
|
|
1305
|
+
summary: z.ZodString;
|
|
1306
|
+
}, z.core.$strict>>;
|
|
1307
|
+
}, z.core.$loose>;
|
|
1308
|
+
export type ProductResearchCard = z.infer<typeof ProductResearchCardSchema>;
|
|
729
1309
|
export declare const ComparisonTableSchema: z.ZodObject<{
|
|
730
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
state: z.ZodObject<{
|
|
1310
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1311
|
+
component: z.ZodLiteral<"ComparisonTable">;
|
|
1312
|
+
id: z.ZodString;
|
|
1313
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
735
1314
|
attributes: z.ZodArray<z.ZodObject<{
|
|
736
1315
|
key: z.ZodString;
|
|
737
1316
|
label: z.ZodString;
|
|
738
1317
|
}, z.core.$strict>>;
|
|
739
1318
|
heading: z.ZodString;
|
|
740
1319
|
products: z.ZodArray<z.ZodObject<{
|
|
741
|
-
imageUrl: z.ZodOptional<z.
|
|
1320
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
742
1321
|
name: z.ZodString;
|
|
743
1322
|
price: z.ZodOptional<z.ZodNumber>;
|
|
744
1323
|
productId: z.ZodString;
|
|
745
1324
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
1325
|
+
relatedDocuments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1326
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
1327
|
+
filetype: z.ZodOptional<z.ZodString>;
|
|
1328
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
1329
|
+
title: z.ZodString;
|
|
1330
|
+
}, z.core.$strict>>>;
|
|
746
1331
|
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
747
1332
|
}, z.core.$strict>>;
|
|
748
1333
|
summary: z.ZodString;
|
|
1334
|
+
}, z.core.$strict>>;
|
|
1335
|
+
}, z.core.$loose>;
|
|
1336
|
+
export type ComparisonTable = z.infer<typeof ComparisonTableSchema>;
|
|
1337
|
+
export declare const ProductListActionsSchema: z.ZodObject<{
|
|
1338
|
+
productClick: z.ZodObject<{
|
|
1339
|
+
payload: z.ZodObject<{
|
|
1340
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1341
|
+
position: z.ZodNumber;
|
|
1342
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1343
|
+
productId: z.ZodString;
|
|
1344
|
+
}, z.core.$strict>;
|
|
1345
|
+
}, z.core.$strict>;
|
|
1346
|
+
selectProducts: z.ZodObject<{
|
|
1347
|
+
payload: z.ZodObject<{
|
|
1348
|
+
productIds: z.ZodArray<z.ZodString>;
|
|
1349
|
+
}, z.core.$strict>;
|
|
749
1350
|
}, z.core.$strict>;
|
|
750
1351
|
}, z.core.$strict>;
|
|
751
|
-
export type
|
|
1352
|
+
export type ProductListActions = z.infer<typeof ProductListActionsSchema>;
|
|
752
1353
|
export declare const PaginationActionsSchema: z.ZodObject<{
|
|
753
1354
|
selectPage: z.ZodObject<{
|
|
754
1355
|
payload: z.ZodObject<{
|
|
@@ -760,6 +1361,9 @@ export declare const PaginationActionsSchema: z.ZodObject<{
|
|
|
760
1361
|
pageSize: z.ZodNumber;
|
|
761
1362
|
}, z.core.$strict>;
|
|
762
1363
|
}, z.core.$strict>;
|
|
1364
|
+
showMore: z.ZodObject<{
|
|
1365
|
+
payload: z.ZodObject<{}, z.core.$strict>;
|
|
1366
|
+
}, z.core.$strict>;
|
|
763
1367
|
}, z.core.$strict>;
|
|
764
1368
|
export type PaginationActions = z.infer<typeof PaginationActionsSchema>;
|
|
765
1369
|
export declare const SortActionsSchema: z.ZodObject<{
|
|
@@ -960,6 +1564,90 @@ export declare const CategoryFacetStateSchema: z.ZodObject<{
|
|
|
960
1564
|
}, z.core.$strict>;
|
|
961
1565
|
}, z.core.$strict>;
|
|
962
1566
|
export type CategoryFacetState = z.infer<typeof CategoryFacetStateSchema>;
|
|
1567
|
+
export declare const BreadboxActionsSchema: z.ZodObject<{
|
|
1568
|
+
clearAll: z.ZodObject<{
|
|
1569
|
+
payload: z.ZodUnknown;
|
|
1570
|
+
}, z.core.$strict>;
|
|
1571
|
+
deselect: z.ZodObject<{
|
|
1572
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1573
|
+
facetId: z.ZodString;
|
|
1574
|
+
type: z.ZodLiteral<"regular">;
|
|
1575
|
+
value: z.ZodString;
|
|
1576
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1577
|
+
end: z.ZodNumber;
|
|
1578
|
+
facetId: z.ZodString;
|
|
1579
|
+
start: z.ZodNumber;
|
|
1580
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
1581
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1582
|
+
end: z.ZodString;
|
|
1583
|
+
facetId: z.ZodString;
|
|
1584
|
+
start: z.ZodString;
|
|
1585
|
+
type: z.ZodLiteral<"dateRange">;
|
|
1586
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1587
|
+
facetId: z.ZodString;
|
|
1588
|
+
path: z.ZodArray<z.ZodString>;
|
|
1589
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
1590
|
+
}, z.core.$strict>], "type">;
|
|
1591
|
+
}, z.core.$strict>;
|
|
1592
|
+
}, z.core.$strict>;
|
|
1593
|
+
export type BreadboxActions = z.infer<typeof BreadboxActionsSchema>;
|
|
1594
|
+
export declare const BreadboxStateSchema: z.ZodObject<{
|
|
1595
|
+
facets: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1596
|
+
displayName: z.ZodString;
|
|
1597
|
+
facetId: z.ZodString;
|
|
1598
|
+
field: z.ZodString;
|
|
1599
|
+
type: z.ZodLiteral<"regular">;
|
|
1600
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1601
|
+
state: z.ZodEnum<{
|
|
1602
|
+
excluded: "excluded";
|
|
1603
|
+
selected: "selected";
|
|
1604
|
+
}>;
|
|
1605
|
+
value: z.ZodString;
|
|
1606
|
+
}, z.core.$strict>>;
|
|
1607
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1608
|
+
displayName: z.ZodString;
|
|
1609
|
+
facetId: z.ZodString;
|
|
1610
|
+
field: z.ZodString;
|
|
1611
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
1612
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1613
|
+
end: z.ZodNumber;
|
|
1614
|
+
start: z.ZodNumber;
|
|
1615
|
+
}, z.core.$strict>>;
|
|
1616
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1617
|
+
displayName: z.ZodString;
|
|
1618
|
+
facetId: z.ZodString;
|
|
1619
|
+
field: z.ZodString;
|
|
1620
|
+
type: z.ZodLiteral<"dateRange">;
|
|
1621
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1622
|
+
end: z.ZodString;
|
|
1623
|
+
start: z.ZodString;
|
|
1624
|
+
}, z.core.$strict>>;
|
|
1625
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1626
|
+
displayName: z.ZodString;
|
|
1627
|
+
facetId: z.ZodString;
|
|
1628
|
+
field: z.ZodString;
|
|
1629
|
+
path: z.ZodArray<z.ZodString>;
|
|
1630
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
1631
|
+
}, z.core.$strict>], "type">>;
|
|
1632
|
+
}, z.core.$strict>;
|
|
1633
|
+
export type BreadboxState = z.infer<typeof BreadboxStateSchema>;
|
|
1634
|
+
export declare const RestoreStatePayloadSchema: z.ZodObject<{
|
|
1635
|
+
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1636
|
+
facetId: z.ZodString;
|
|
1637
|
+
numericRanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1638
|
+
end: z.ZodNumber;
|
|
1639
|
+
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1640
|
+
start: z.ZodNumber;
|
|
1641
|
+
}, z.core.$strict>>>;
|
|
1642
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1643
|
+
}, z.core.$strict>>>;
|
|
1644
|
+
page: z.ZodNumber;
|
|
1645
|
+
pageSize: z.ZodNumber;
|
|
1646
|
+
pinnedProducts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1647
|
+
query: z.ZodString;
|
|
1648
|
+
sortCriteria: z.ZodOptional<z.ZodString>;
|
|
1649
|
+
}, z.core.$strict>;
|
|
1650
|
+
export type RestoreStatePayload = z.infer<typeof RestoreStatePayloadSchema>;
|
|
963
1651
|
export declare const PageSizeActionsSchema: z.ZodObject<{
|
|
964
1652
|
setPageSize: z.ZodObject<{
|
|
965
1653
|
payload: z.ZodObject<{
|
|
@@ -968,8 +1656,86 @@ export declare const PageSizeActionsSchema: z.ZodObject<{
|
|
|
968
1656
|
}, z.core.$strict>;
|
|
969
1657
|
}, z.core.$strict>;
|
|
970
1658
|
export type PageSizeActions = z.infer<typeof PageSizeActionsSchema>;
|
|
1659
|
+
export declare const CartActionsSchema: z.ZodObject<{
|
|
1660
|
+
purchase: z.ZodObject<{
|
|
1661
|
+
payload: z.ZodObject<{
|
|
1662
|
+
products: z.ZodArray<z.ZodObject<{
|
|
1663
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1664
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1665
|
+
productId: z.ZodString;
|
|
1666
|
+
quantity: z.ZodNumber;
|
|
1667
|
+
}, z.core.$strict>>;
|
|
1668
|
+
transaction: z.ZodObject<{
|
|
1669
|
+
id: z.ZodString;
|
|
1670
|
+
revenue: z.ZodNumber;
|
|
1671
|
+
}, z.core.$strict>;
|
|
1672
|
+
}, z.core.$strict>;
|
|
1673
|
+
}, z.core.$strict>;
|
|
1674
|
+
updateCart: z.ZodObject<{
|
|
1675
|
+
payload: z.ZodObject<{
|
|
1676
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1677
|
+
operation: z.ZodEnum<{
|
|
1678
|
+
add: "add";
|
|
1679
|
+
remove: "remove";
|
|
1680
|
+
setQuantity: "setQuantity";
|
|
1681
|
+
}>;
|
|
1682
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1683
|
+
productId: z.ZodString;
|
|
1684
|
+
quantity: z.ZodNumber;
|
|
1685
|
+
}, z.core.$strict>;
|
|
1686
|
+
}, z.core.$strict>;
|
|
1687
|
+
}, z.core.$strict>;
|
|
1688
|
+
export type CartActions = z.infer<typeof CartActionsSchema>;
|
|
1689
|
+
export declare const QuerySuggestionsSchema: z.ZodObject<{
|
|
1690
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1691
|
+
fetchSuggestions: z.ZodObject<{
|
|
1692
|
+
payload: z.ZodObject<{
|
|
1693
|
+
query: z.ZodString;
|
|
1694
|
+
}, z.core.$strict>;
|
|
1695
|
+
}, z.core.$strict>;
|
|
1696
|
+
}, z.core.$strict>>;
|
|
1697
|
+
component: z.ZodLiteral<"QuerySuggestions">;
|
|
1698
|
+
id: z.ZodString;
|
|
1699
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1700
|
+
completions: z.ZodArray<z.ZodObject<{
|
|
1701
|
+
expression: z.ZodString;
|
|
1702
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
1703
|
+
}, z.core.$strict>>;
|
|
1704
|
+
products: z.ZodArray<z.ZodObject<{
|
|
1705
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1706
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1707
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
1708
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
1709
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1710
|
+
text: z.ZodString;
|
|
1711
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
1712
|
+
}, z.core.$strict>>;
|
|
1713
|
+
placementId: z.ZodString;
|
|
1714
|
+
}, z.core.$strict>>>;
|
|
1715
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
1716
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
1717
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
1718
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1719
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
1720
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
1721
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1722
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
1723
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
1724
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
1725
|
+
ec_name: z.ZodString;
|
|
1726
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
1727
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
1728
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1729
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
1730
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1731
|
+
permanentid: z.ZodString;
|
|
1732
|
+
}, z.core.$strict>>;
|
|
1733
|
+
query: z.ZodString;
|
|
1734
|
+
}, z.core.$strict>>;
|
|
1735
|
+
}, z.core.$loose>;
|
|
1736
|
+
export type QuerySuggestions = z.infer<typeof QuerySuggestionsSchema>;
|
|
971
1737
|
export declare const NextActionsBarSchema: z.ZodObject<{
|
|
972
|
-
actions: z.ZodObject<{
|
|
1738
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
973
1739
|
selectAction: z.ZodObject<{
|
|
974
1740
|
payload: z.ZodObject<{
|
|
975
1741
|
text: z.ZodString;
|
|
@@ -979,27 +1745,35 @@ export declare const NextActionsBarSchema: z.ZodObject<{
|
|
|
979
1745
|
}>;
|
|
980
1746
|
}, z.core.$strict>;
|
|
981
1747
|
}, z.core.$strict>;
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
1748
|
+
selectSearchOption: z.ZodObject<{
|
|
1749
|
+
payload: z.ZodObject<{
|
|
1750
|
+
optionId: z.ZodString;
|
|
1751
|
+
}, z.core.$strict>;
|
|
1752
|
+
}, z.core.$strict>;
|
|
1753
|
+
}, z.core.$strict>>;
|
|
1754
|
+
component: z.ZodLiteral<"NextActionsBar">;
|
|
1755
|
+
id: z.ZodString;
|
|
1756
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1757
|
+
suggestedActions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
988
1758
|
text: z.ZodString;
|
|
989
|
-
type: z.
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
}, z.core.$strict
|
|
994
|
-
|
|
995
|
-
|
|
1759
|
+
type: z.ZodLiteral<"followup">;
|
|
1760
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1761
|
+
text: z.ZodString;
|
|
1762
|
+
type: z.ZodLiteral<"search">;
|
|
1763
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1764
|
+
optionId: z.ZodString;
|
|
1765
|
+
text: z.ZodString;
|
|
1766
|
+
type: z.ZodLiteral<"searchOption">;
|
|
1767
|
+
}, z.core.$strict>], "type">>;
|
|
1768
|
+
}, z.core.$strict>>;
|
|
1769
|
+
}, z.core.$loose>;
|
|
996
1770
|
export type NextActionsBar = z.infer<typeof NextActionsBarSchema>;
|
|
997
1771
|
export declare const BundleDisplaySchema: z.ZodObject<{
|
|
998
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1772
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1773
|
+
component: z.ZodLiteral<"BundleDisplay">;
|
|
1774
|
+
id: z.ZodString;
|
|
1775
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1776
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
1003
1777
|
tiers: z.ZodArray<z.ZodObject<{
|
|
1004
1778
|
description: z.ZodString;
|
|
1005
1779
|
label: z.ZodString;
|
|
@@ -1007,12 +1781,64 @@ export declare const BundleDisplaySchema: z.ZodObject<{
|
|
|
1007
1781
|
categoryLabel: z.ZodString;
|
|
1008
1782
|
childId: z.ZodString;
|
|
1009
1783
|
}, z.core.$strict>>;
|
|
1784
|
+
total: z.ZodNumber;
|
|
1010
1785
|
}, z.core.$strict>>;
|
|
1011
|
-
}, z.core.$strict
|
|
1012
|
-
}, z.core.$
|
|
1786
|
+
}, z.core.$strict>>;
|
|
1787
|
+
}, z.core.$loose>;
|
|
1013
1788
|
export type BundleDisplay = z.infer<typeof BundleDisplaySchema>;
|
|
1789
|
+
export declare const ProductListSchema: z.ZodObject<{
|
|
1790
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1791
|
+
productClick: z.ZodObject<{
|
|
1792
|
+
payload: z.ZodObject<{
|
|
1793
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1794
|
+
position: z.ZodNumber;
|
|
1795
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1796
|
+
productId: z.ZodString;
|
|
1797
|
+
}, z.core.$strict>;
|
|
1798
|
+
}, z.core.$strict>;
|
|
1799
|
+
selectProducts: z.ZodObject<{
|
|
1800
|
+
payload: z.ZodObject<{
|
|
1801
|
+
productIds: z.ZodArray<z.ZodString>;
|
|
1802
|
+
}, z.core.$strict>;
|
|
1803
|
+
}, z.core.$strict>;
|
|
1804
|
+
}, z.core.$strict>>;
|
|
1805
|
+
component: z.ZodLiteral<"ProductList">;
|
|
1806
|
+
id: z.ZodString;
|
|
1807
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1808
|
+
products: z.ZodArray<z.ZodObject<{
|
|
1809
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1810
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1811
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
1812
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
1813
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1814
|
+
text: z.ZodString;
|
|
1815
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
1816
|
+
}, z.core.$strict>>;
|
|
1817
|
+
placementId: z.ZodString;
|
|
1818
|
+
}, z.core.$strict>>>;
|
|
1819
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
1820
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
1821
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
1822
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1823
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
1824
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
1825
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1826
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
1827
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
1828
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
1829
|
+
ec_name: z.ZodString;
|
|
1830
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
1831
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
1832
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1833
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
1834
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1835
|
+
permanentid: z.ZodString;
|
|
1836
|
+
}, z.core.$strict>>;
|
|
1837
|
+
}, z.core.$strict>>;
|
|
1838
|
+
}, z.core.$loose>;
|
|
1839
|
+
export type ProductList = z.infer<typeof ProductListSchema>;
|
|
1014
1840
|
export declare const PaginationSchema: z.ZodObject<{
|
|
1015
|
-
actions: z.ZodObject<{
|
|
1841
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1016
1842
|
selectPage: z.ZodObject<{
|
|
1017
1843
|
payload: z.ZodObject<{
|
|
1018
1844
|
page: z.ZodNumber;
|
|
@@ -1023,31 +1849,32 @@ export declare const PaginationSchema: z.ZodObject<{
|
|
|
1023
1849
|
pageSize: z.ZodNumber;
|
|
1024
1850
|
}, z.core.$strict>;
|
|
1025
1851
|
}, z.core.$strict>;
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1852
|
+
showMore: z.ZodObject<{
|
|
1853
|
+
payload: z.ZodObject<{}, z.core.$strict>;
|
|
1854
|
+
}, z.core.$strict>;
|
|
1855
|
+
}, z.core.$strict>>;
|
|
1856
|
+
component: z.ZodLiteral<"Pagination">;
|
|
1857
|
+
id: z.ZodString;
|
|
1858
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1031
1859
|
page: z.ZodNumber;
|
|
1032
1860
|
pageSize: z.ZodNumber;
|
|
1033
1861
|
totalEntries: z.ZodNumber;
|
|
1034
1862
|
totalPages: z.ZodNumber;
|
|
1035
|
-
}, z.core.$strict
|
|
1036
|
-
}, z.core.$
|
|
1863
|
+
}, z.core.$strict>>;
|
|
1864
|
+
}, z.core.$loose>;
|
|
1037
1865
|
export type Pagination = z.infer<typeof PaginationSchema>;
|
|
1038
1866
|
export declare const SortSchema: z.ZodObject<{
|
|
1039
|
-
actions: z.ZodObject<{
|
|
1867
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1040
1868
|
selectSort: z.ZodObject<{
|
|
1041
1869
|
payload: z.ZodObject<{
|
|
1042
1870
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
1043
1871
|
sortCriteria: z.ZodString;
|
|
1044
1872
|
}, z.core.$strict>;
|
|
1045
1873
|
}, z.core.$strict>;
|
|
1046
|
-
}, z.core.$strict
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
state: z.ZodObject<{
|
|
1874
|
+
}, z.core.$strict>>;
|
|
1875
|
+
component: z.ZodLiteral<"Sort">;
|
|
1876
|
+
id: z.ZodString;
|
|
1877
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1051
1878
|
appliedSort: z.ZodObject<{
|
|
1052
1879
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
1053
1880
|
sortCriteria: z.ZodString;
|
|
@@ -1056,11 +1883,11 @@ export declare const SortSchema: z.ZodObject<{
|
|
|
1056
1883
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
1057
1884
|
sortCriteria: z.ZodString;
|
|
1058
1885
|
}, z.core.$strict>>;
|
|
1059
|
-
}, z.core.$strict
|
|
1060
|
-
}, z.core.$
|
|
1886
|
+
}, z.core.$strict>>;
|
|
1887
|
+
}, z.core.$loose>;
|
|
1061
1888
|
export type Sort = z.infer<typeof SortSchema>;
|
|
1062
1889
|
export declare const RegularFacetSchema: z.ZodObject<{
|
|
1063
|
-
actions: z.ZodObject<{
|
|
1890
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1064
1891
|
clearAllActiveValues: z.ZodObject<{
|
|
1065
1892
|
payload: z.ZodUnknown;
|
|
1066
1893
|
}, z.core.$strict>;
|
|
@@ -1101,11 +1928,10 @@ export declare const RegularFacetSchema: z.ZodObject<{
|
|
|
1101
1928
|
value: z.ZodString;
|
|
1102
1929
|
}, z.core.$strict>;
|
|
1103
1930
|
}, z.core.$strict>;
|
|
1104
|
-
}, z.core.$strict
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
state: z.ZodObject<{
|
|
1931
|
+
}, z.core.$strict>>;
|
|
1932
|
+
component: z.ZodLiteral<"RegularFacet">;
|
|
1933
|
+
id: z.ZodString;
|
|
1934
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1109
1935
|
canShowLessValues: z.ZodBoolean;
|
|
1110
1936
|
canShowMoreValues: z.ZodBoolean;
|
|
1111
1937
|
displayName: z.ZodString;
|
|
@@ -1128,11 +1954,11 @@ export declare const RegularFacetSchema: z.ZodObject<{
|
|
|
1128
1954
|
}>;
|
|
1129
1955
|
value: z.ZodString;
|
|
1130
1956
|
}, z.core.$strict>>;
|
|
1131
|
-
}, z.core.$strict
|
|
1132
|
-
}, z.core.$
|
|
1957
|
+
}, z.core.$strict>>;
|
|
1958
|
+
}, z.core.$loose>;
|
|
1133
1959
|
export type RegularFacet = z.infer<typeof RegularFacetSchema>;
|
|
1134
1960
|
export declare const NumericFacetSchema: z.ZodObject<{
|
|
1135
|
-
actions: z.ZodObject<{
|
|
1961
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1136
1962
|
applyCustomRange: z.ZodObject<{
|
|
1137
1963
|
payload: z.ZodObject<{
|
|
1138
1964
|
end: z.ZodNumber;
|
|
@@ -1160,11 +1986,10 @@ export declare const NumericFacetSchema: z.ZodObject<{
|
|
|
1160
1986
|
start: z.ZodNumber;
|
|
1161
1987
|
}, z.core.$strict>;
|
|
1162
1988
|
}, z.core.$strict>;
|
|
1163
|
-
}, z.core.$strict
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
state: z.ZodObject<{
|
|
1989
|
+
}, z.core.$strict>>;
|
|
1990
|
+
component: z.ZodLiteral<"NumericFacet">;
|
|
1991
|
+
id: z.ZodString;
|
|
1992
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1168
1993
|
canShowLessValues: z.ZodBoolean;
|
|
1169
1994
|
canShowMoreValues: z.ZodBoolean;
|
|
1170
1995
|
customRange: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1188,11 +2013,11 @@ export declare const NumericFacetSchema: z.ZodObject<{
|
|
|
1188
2013
|
selected: "selected";
|
|
1189
2014
|
}>;
|
|
1190
2015
|
}, z.core.$strict>>;
|
|
1191
|
-
}, z.core.$strict
|
|
1192
|
-
}, z.core.$
|
|
2016
|
+
}, z.core.$strict>>;
|
|
2017
|
+
}, z.core.$loose>;
|
|
1193
2018
|
export type NumericFacet = z.infer<typeof NumericFacetSchema>;
|
|
1194
2019
|
export declare const DateFacetSchema: z.ZodObject<{
|
|
1195
|
-
actions: z.ZodObject<{
|
|
2020
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1196
2021
|
applyCustomRange: z.ZodObject<{
|
|
1197
2022
|
payload: z.ZodObject<{
|
|
1198
2023
|
end: z.ZodString;
|
|
@@ -1220,11 +2045,10 @@ export declare const DateFacetSchema: z.ZodObject<{
|
|
|
1220
2045
|
start: z.ZodString;
|
|
1221
2046
|
}, z.core.$strict>;
|
|
1222
2047
|
}, z.core.$strict>;
|
|
1223
|
-
}, z.core.$strict
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
state: z.ZodObject<{
|
|
2048
|
+
}, z.core.$strict>>;
|
|
2049
|
+
component: z.ZodLiteral<"DateFacet">;
|
|
2050
|
+
id: z.ZodString;
|
|
2051
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1228
2052
|
canShowLessValues: z.ZodBoolean;
|
|
1229
2053
|
canShowMoreValues: z.ZodBoolean;
|
|
1230
2054
|
customRange: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1244,11 +2068,11 @@ export declare const DateFacetSchema: z.ZodObject<{
|
|
|
1244
2068
|
selected: "selected";
|
|
1245
2069
|
}>;
|
|
1246
2070
|
}, z.core.$strict>>;
|
|
1247
|
-
}, z.core.$strict
|
|
1248
|
-
}, z.core.$
|
|
2071
|
+
}, z.core.$strict>>;
|
|
2072
|
+
}, z.core.$loose>;
|
|
1249
2073
|
export type DateFacet = z.infer<typeof DateFacetSchema>;
|
|
1250
2074
|
export declare const CategoryFacetSchema: z.ZodObject<{
|
|
1251
|
-
actions: z.ZodObject<{
|
|
2075
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1252
2076
|
clearSearch: z.ZodObject<{
|
|
1253
2077
|
payload: z.ZodUnknown;
|
|
1254
2078
|
}, z.core.$strict>;
|
|
@@ -1274,11 +2098,10 @@ export declare const CategoryFacetSchema: z.ZodObject<{
|
|
|
1274
2098
|
showMoreValues: z.ZodObject<{
|
|
1275
2099
|
payload: z.ZodUnknown;
|
|
1276
2100
|
}, z.core.$strict>;
|
|
1277
|
-
}, z.core.$strict
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
state: z.ZodObject<{
|
|
2101
|
+
}, z.core.$strict>>;
|
|
2102
|
+
component: z.ZodLiteral<"CategoryFacet">;
|
|
2103
|
+
id: z.ZodString;
|
|
2104
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1282
2105
|
canShowLessValues: z.ZodBoolean;
|
|
1283
2106
|
canShowMoreValues: z.ZodBoolean;
|
|
1284
2107
|
displayName: z.ZodString;
|
|
@@ -1309,41 +2132,239 @@ export declare const CategoryFacetSchema: z.ZodObject<{
|
|
|
1309
2132
|
value: z.ZodString;
|
|
1310
2133
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1311
2134
|
}, z.core.$strict>;
|
|
2135
|
+
}, z.core.$strict>>;
|
|
2136
|
+
}, z.core.$loose>;
|
|
2137
|
+
export type CategoryFacet = z.infer<typeof CategoryFacetSchema>;
|
|
2138
|
+
export declare const BreadboxSchema: z.ZodObject<{
|
|
2139
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2140
|
+
clearAll: z.ZodObject<{
|
|
2141
|
+
payload: z.ZodUnknown;
|
|
2142
|
+
}, z.core.$strict>;
|
|
2143
|
+
deselect: z.ZodObject<{
|
|
2144
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2145
|
+
facetId: z.ZodString;
|
|
2146
|
+
type: z.ZodLiteral<"regular">;
|
|
2147
|
+
value: z.ZodString;
|
|
2148
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2149
|
+
end: z.ZodNumber;
|
|
2150
|
+
facetId: z.ZodString;
|
|
2151
|
+
start: z.ZodNumber;
|
|
2152
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
2153
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2154
|
+
end: z.ZodString;
|
|
2155
|
+
facetId: z.ZodString;
|
|
2156
|
+
start: z.ZodString;
|
|
2157
|
+
type: z.ZodLiteral<"dateRange">;
|
|
2158
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2159
|
+
facetId: z.ZodString;
|
|
2160
|
+
path: z.ZodArray<z.ZodString>;
|
|
2161
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
2162
|
+
}, z.core.$strict>], "type">;
|
|
2163
|
+
}, z.core.$strict>;
|
|
2164
|
+
}, z.core.$strict>>;
|
|
2165
|
+
component: z.ZodLiteral<"Breadbox">;
|
|
2166
|
+
id: z.ZodString;
|
|
2167
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2168
|
+
facets: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2169
|
+
displayName: z.ZodString;
|
|
2170
|
+
facetId: z.ZodString;
|
|
2171
|
+
field: z.ZodString;
|
|
2172
|
+
type: z.ZodLiteral<"regular">;
|
|
2173
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2174
|
+
state: z.ZodEnum<{
|
|
2175
|
+
excluded: "excluded";
|
|
2176
|
+
selected: "selected";
|
|
2177
|
+
}>;
|
|
2178
|
+
value: z.ZodString;
|
|
2179
|
+
}, z.core.$strict>>;
|
|
2180
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2181
|
+
displayName: z.ZodString;
|
|
2182
|
+
facetId: z.ZodString;
|
|
2183
|
+
field: z.ZodString;
|
|
2184
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
2185
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2186
|
+
end: z.ZodNumber;
|
|
2187
|
+
start: z.ZodNumber;
|
|
2188
|
+
}, z.core.$strict>>;
|
|
2189
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2190
|
+
displayName: z.ZodString;
|
|
2191
|
+
facetId: z.ZodString;
|
|
2192
|
+
field: z.ZodString;
|
|
2193
|
+
type: z.ZodLiteral<"dateRange">;
|
|
2194
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2195
|
+
end: z.ZodString;
|
|
2196
|
+
start: z.ZodString;
|
|
2197
|
+
}, z.core.$strict>>;
|
|
2198
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2199
|
+
displayName: z.ZodString;
|
|
2200
|
+
facetId: z.ZodString;
|
|
2201
|
+
field: z.ZodString;
|
|
2202
|
+
path: z.ZodArray<z.ZodString>;
|
|
2203
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
2204
|
+
}, z.core.$strict>], "type">>;
|
|
2205
|
+
}, z.core.$strict>>;
|
|
2206
|
+
}, z.core.$loose>;
|
|
2207
|
+
export type Breadbox = z.infer<typeof BreadboxSchema>;
|
|
2208
|
+
export declare const RestoreStateSchema: z.ZodObject<{
|
|
2209
|
+
payload: z.ZodObject<{
|
|
2210
|
+
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2211
|
+
facetId: z.ZodString;
|
|
2212
|
+
numericRanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2213
|
+
end: z.ZodNumber;
|
|
2214
|
+
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2215
|
+
start: z.ZodNumber;
|
|
2216
|
+
}, z.core.$strict>>>;
|
|
2217
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2218
|
+
}, z.core.$strict>>>;
|
|
2219
|
+
page: z.ZodNumber;
|
|
2220
|
+
pageSize: z.ZodNumber;
|
|
2221
|
+
pinnedProducts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2222
|
+
query: z.ZodString;
|
|
2223
|
+
sortCriteria: z.ZodOptional<z.ZodString>;
|
|
1312
2224
|
}, z.core.$strict>;
|
|
1313
2225
|
}, z.core.$strict>;
|
|
1314
|
-
export type
|
|
2226
|
+
export type RestoreState = z.infer<typeof RestoreStateSchema>;
|
|
1315
2227
|
export declare const PageSizeSchema: z.ZodObject<{
|
|
1316
|
-
actions: z.ZodObject<{
|
|
2228
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1317
2229
|
setPageSize: z.ZodObject<{
|
|
1318
2230
|
payload: z.ZodObject<{
|
|
1319
2231
|
pageSize: z.ZodNumber;
|
|
1320
2232
|
}, z.core.$strict>;
|
|
1321
2233
|
}, z.core.$strict>;
|
|
1322
|
-
}, z.core.$strict
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
state: z.ZodObject<{
|
|
2234
|
+
}, z.core.$strict>>;
|
|
2235
|
+
component: z.ZodLiteral<"PageSize">;
|
|
2236
|
+
id: z.ZodString;
|
|
2237
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1327
2238
|
pageSize: z.ZodNumber;
|
|
2239
|
+
}, z.core.$strict>>;
|
|
2240
|
+
}, z.core.$loose>;
|
|
2241
|
+
export type PageSize = z.infer<typeof PageSizeSchema>;
|
|
2242
|
+
export declare const CartSchema: z.ZodObject<{
|
|
2243
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2244
|
+
purchase: z.ZodObject<{
|
|
2245
|
+
payload: z.ZodObject<{
|
|
2246
|
+
products: z.ZodArray<z.ZodObject<{
|
|
2247
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2248
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2249
|
+
productId: z.ZodString;
|
|
2250
|
+
quantity: z.ZodNumber;
|
|
2251
|
+
}, z.core.$strict>>;
|
|
2252
|
+
transaction: z.ZodObject<{
|
|
2253
|
+
id: z.ZodString;
|
|
2254
|
+
revenue: z.ZodNumber;
|
|
2255
|
+
}, z.core.$strict>;
|
|
2256
|
+
}, z.core.$strict>;
|
|
2257
|
+
}, z.core.$strict>;
|
|
2258
|
+
updateCart: z.ZodObject<{
|
|
2259
|
+
payload: z.ZodObject<{
|
|
2260
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2261
|
+
operation: z.ZodEnum<{
|
|
2262
|
+
add: "add";
|
|
2263
|
+
remove: "remove";
|
|
2264
|
+
setQuantity: "setQuantity";
|
|
2265
|
+
}>;
|
|
2266
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2267
|
+
productId: z.ZodString;
|
|
2268
|
+
quantity: z.ZodNumber;
|
|
2269
|
+
}, z.core.$strict>;
|
|
2270
|
+
}, z.core.$strict>;
|
|
2271
|
+
}, z.core.$strict>>;
|
|
2272
|
+
component: z.ZodLiteral<"Cart">;
|
|
2273
|
+
id: z.ZodString;
|
|
2274
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2275
|
+
}, z.core.$loose>;
|
|
2276
|
+
export type Cart = z.infer<typeof CartSchema>;
|
|
2277
|
+
export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
2278
|
+
overrideCorrection: z.ZodObject<{
|
|
2279
|
+
payload: z.ZodObject<{
|
|
2280
|
+
originalQuery: z.ZodString;
|
|
2281
|
+
}, z.core.$strict>;
|
|
2282
|
+
}, z.core.$strict>;
|
|
2283
|
+
restoreState: z.ZodObject<{
|
|
2284
|
+
payload: z.ZodObject<{
|
|
2285
|
+
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2286
|
+
facetId: z.ZodString;
|
|
2287
|
+
numericRanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2288
|
+
end: z.ZodNumber;
|
|
2289
|
+
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2290
|
+
start: z.ZodNumber;
|
|
2291
|
+
}, z.core.$strict>>>;
|
|
2292
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2293
|
+
}, z.core.$strict>>>;
|
|
2294
|
+
page: z.ZodNumber;
|
|
2295
|
+
pageSize: z.ZodNumber;
|
|
2296
|
+
pinnedProducts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2297
|
+
query: z.ZodString;
|
|
2298
|
+
sortCriteria: z.ZodOptional<z.ZodString>;
|
|
2299
|
+
}, z.core.$strict>;
|
|
2300
|
+
}, z.core.$strict>;
|
|
2301
|
+
submitQuery: z.ZodObject<{
|
|
2302
|
+
payload: z.ZodObject<{
|
|
2303
|
+
query: z.ZodString;
|
|
2304
|
+
}, z.core.$strict>;
|
|
1328
2305
|
}, z.core.$strict>;
|
|
1329
2306
|
}, z.core.$strict>;
|
|
1330
|
-
export type
|
|
2307
|
+
export type CommerceSearchActions = z.infer<typeof CommerceSearchActionsSchema>;
|
|
2308
|
+
export declare const CommerceSearchSchema: z.ZodObject<{
|
|
2309
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2310
|
+
overrideCorrection: z.ZodObject<{
|
|
2311
|
+
payload: z.ZodObject<{
|
|
2312
|
+
originalQuery: z.ZodString;
|
|
2313
|
+
}, z.core.$strict>;
|
|
2314
|
+
}, z.core.$strict>;
|
|
2315
|
+
restoreState: z.ZodObject<{
|
|
2316
|
+
payload: z.ZodObject<{
|
|
2317
|
+
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2318
|
+
facetId: z.ZodString;
|
|
2319
|
+
numericRanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2320
|
+
end: z.ZodNumber;
|
|
2321
|
+
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2322
|
+
start: z.ZodNumber;
|
|
2323
|
+
}, z.core.$strict>>>;
|
|
2324
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2325
|
+
}, z.core.$strict>>>;
|
|
2326
|
+
page: z.ZodNumber;
|
|
2327
|
+
pageSize: z.ZodNumber;
|
|
2328
|
+
pinnedProducts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2329
|
+
query: z.ZodString;
|
|
2330
|
+
sortCriteria: z.ZodOptional<z.ZodString>;
|
|
2331
|
+
}, z.core.$strict>;
|
|
2332
|
+
}, z.core.$strict>;
|
|
2333
|
+
submitQuery: z.ZodObject<{
|
|
2334
|
+
payload: z.ZodObject<{
|
|
2335
|
+
query: z.ZodString;
|
|
2336
|
+
}, z.core.$strict>;
|
|
2337
|
+
}, z.core.$strict>;
|
|
2338
|
+
}, z.core.$strict>>;
|
|
2339
|
+
component: z.ZodLiteral<"CommerceSearch">;
|
|
2340
|
+
id: z.ZodString;
|
|
2341
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2342
|
+
}, z.core.$loose>;
|
|
2343
|
+
export type CommerceSearch = z.infer<typeof CommerceSearchSchema>;
|
|
1331
2344
|
export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1332
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
state: z.ZodObject<{
|
|
2345
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2346
|
+
component: z.ZodLiteral<"ProductCarousel">;
|
|
2347
|
+
id: z.ZodString;
|
|
2348
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1337
2349
|
heading: z.ZodString;
|
|
1338
2350
|
products: z.ZodArray<z.ZodObject<{
|
|
1339
2351
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2352
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2353
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
2354
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
2355
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2356
|
+
text: z.ZodString;
|
|
2357
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
2358
|
+
}, z.core.$strict>>;
|
|
2359
|
+
placementId: z.ZodString;
|
|
2360
|
+
}, z.core.$strict>>>;
|
|
1340
2361
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
1341
|
-
clickUri: z.ZodOptional<z.
|
|
2362
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
1342
2363
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
1343
2364
|
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1344
2365
|
ec_color: z.ZodOptional<z.ZodString>;
|
|
1345
2366
|
ec_description: z.ZodOptional<z.ZodString>;
|
|
1346
|
-
ec_images: z.ZodOptional<z.ZodArray<z.
|
|
2367
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1347
2368
|
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
1348
2369
|
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
1349
2370
|
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
@@ -1352,12 +2373,91 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1352
2373
|
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
1353
2374
|
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1354
2375
|
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
1355
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.
|
|
2376
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1356
2377
|
permanentid: z.ZodString;
|
|
1357
2378
|
}, z.core.$strict>>;
|
|
1358
|
-
}, z.core.$strict
|
|
1359
|
-
}, z.core.$
|
|
1360
|
-
actions: z.ZodObject<{
|
|
2379
|
+
}, z.core.$strict>>;
|
|
2380
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2381
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2382
|
+
purchase: z.ZodObject<{
|
|
2383
|
+
payload: z.ZodObject<{
|
|
2384
|
+
products: z.ZodArray<z.ZodObject<{
|
|
2385
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2386
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2387
|
+
productId: z.ZodString;
|
|
2388
|
+
quantity: z.ZodNumber;
|
|
2389
|
+
}, z.core.$strict>>;
|
|
2390
|
+
transaction: z.ZodObject<{
|
|
2391
|
+
id: z.ZodString;
|
|
2392
|
+
revenue: z.ZodNumber;
|
|
2393
|
+
}, z.core.$strict>;
|
|
2394
|
+
}, z.core.$strict>;
|
|
2395
|
+
}, z.core.$strict>;
|
|
2396
|
+
updateCart: z.ZodObject<{
|
|
2397
|
+
payload: z.ZodObject<{
|
|
2398
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2399
|
+
operation: z.ZodEnum<{
|
|
2400
|
+
add: "add";
|
|
2401
|
+
remove: "remove";
|
|
2402
|
+
setQuantity: "setQuantity";
|
|
2403
|
+
}>;
|
|
2404
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2405
|
+
productId: z.ZodString;
|
|
2406
|
+
quantity: z.ZodNumber;
|
|
2407
|
+
}, z.core.$strict>;
|
|
2408
|
+
}, z.core.$strict>;
|
|
2409
|
+
}, z.core.$strict>>;
|
|
2410
|
+
component: z.ZodLiteral<"Cart">;
|
|
2411
|
+
id: z.ZodString;
|
|
2412
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2413
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2414
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2415
|
+
fetchSuggestions: z.ZodObject<{
|
|
2416
|
+
payload: z.ZodObject<{
|
|
2417
|
+
query: z.ZodString;
|
|
2418
|
+
}, z.core.$strict>;
|
|
2419
|
+
}, z.core.$strict>;
|
|
2420
|
+
}, z.core.$strict>>;
|
|
2421
|
+
component: z.ZodLiteral<"QuerySuggestions">;
|
|
2422
|
+
id: z.ZodString;
|
|
2423
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2424
|
+
completions: z.ZodArray<z.ZodObject<{
|
|
2425
|
+
expression: z.ZodString;
|
|
2426
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
2427
|
+
}, z.core.$strict>>;
|
|
2428
|
+
products: z.ZodArray<z.ZodObject<{
|
|
2429
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2430
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2431
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
2432
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
2433
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2434
|
+
text: z.ZodString;
|
|
2435
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
2436
|
+
}, z.core.$strict>>;
|
|
2437
|
+
placementId: z.ZodString;
|
|
2438
|
+
}, z.core.$strict>>>;
|
|
2439
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
2440
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
2441
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
2442
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2443
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
2444
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
2445
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2446
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
2447
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
2448
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
2449
|
+
ec_name: z.ZodString;
|
|
2450
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
2451
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
2452
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2453
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
2454
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2455
|
+
permanentid: z.ZodString;
|
|
2456
|
+
}, z.core.$strict>>;
|
|
2457
|
+
query: z.ZodString;
|
|
2458
|
+
}, z.core.$strict>>;
|
|
2459
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2460
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1361
2461
|
selectAction: z.ZodObject<{
|
|
1362
2462
|
payload: z.ZodObject<{
|
|
1363
2463
|
text: z.ZodString;
|
|
@@ -1367,25 +2467,33 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1367
2467
|
}>;
|
|
1368
2468
|
}, z.core.$strict>;
|
|
1369
2469
|
}, z.core.$strict>;
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
2470
|
+
selectSearchOption: z.ZodObject<{
|
|
2471
|
+
payload: z.ZodObject<{
|
|
2472
|
+
optionId: z.ZodString;
|
|
2473
|
+
}, z.core.$strict>;
|
|
2474
|
+
}, z.core.$strict>;
|
|
2475
|
+
}, z.core.$strict>>;
|
|
2476
|
+
component: z.ZodLiteral<"NextActionsBar">;
|
|
2477
|
+
id: z.ZodString;
|
|
2478
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2479
|
+
suggestedActions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1376
2480
|
text: z.ZodString;
|
|
1377
|
-
type: z.
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
}, z.core.$strict
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
2481
|
+
type: z.ZodLiteral<"followup">;
|
|
2482
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2483
|
+
text: z.ZodString;
|
|
2484
|
+
type: z.ZodLiteral<"search">;
|
|
2485
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2486
|
+
optionId: z.ZodString;
|
|
2487
|
+
text: z.ZodString;
|
|
2488
|
+
type: z.ZodLiteral<"searchOption">;
|
|
2489
|
+
}, z.core.$strict>], "type">>;
|
|
2490
|
+
}, z.core.$strict>>;
|
|
2491
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2492
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2493
|
+
component: z.ZodLiteral<"BundleDisplay">;
|
|
2494
|
+
id: z.ZodString;
|
|
2495
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2496
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
1389
2497
|
tiers: z.ZodArray<z.ZodObject<{
|
|
1390
2498
|
description: z.ZodString;
|
|
1391
2499
|
label: z.ZodString;
|
|
@@ -1393,44 +2501,115 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1393
2501
|
categoryLabel: z.ZodString;
|
|
1394
2502
|
childId: z.ZodString;
|
|
1395
2503
|
}, z.core.$strict>>;
|
|
2504
|
+
total: z.ZodNumber;
|
|
1396
2505
|
}, z.core.$strict>>;
|
|
1397
|
-
}, z.core.$strict
|
|
1398
|
-
}, z.core.$
|
|
1399
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
2506
|
+
}, z.core.$strict>>;
|
|
2507
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2508
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2509
|
+
component: z.ZodLiteral<"ProductResearchCard">;
|
|
2510
|
+
id: z.ZodString;
|
|
2511
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2512
|
+
bullets: z.ZodArray<z.ZodString>;
|
|
2513
|
+
product: z.ZodObject<{
|
|
2514
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2515
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2516
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
2517
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
2518
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2519
|
+
text: z.ZodString;
|
|
2520
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
2521
|
+
}, z.core.$strict>>;
|
|
2522
|
+
placementId: z.ZodString;
|
|
2523
|
+
}, z.core.$strict>>>;
|
|
2524
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
2525
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
2526
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
2527
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2528
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
2529
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
2530
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2531
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
2532
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
2533
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
2534
|
+
ec_name: z.ZodString;
|
|
2535
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
2536
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
2537
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2538
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
2539
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2540
|
+
permanentid: z.ZodString;
|
|
2541
|
+
}, z.core.$strict>;
|
|
2542
|
+
relatedDocuments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2543
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
2544
|
+
filetype: z.ZodOptional<z.ZodString>;
|
|
2545
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
2546
|
+
title: z.ZodString;
|
|
2547
|
+
}, z.core.$strict>>>;
|
|
2548
|
+
summary: z.ZodString;
|
|
2549
|
+
}, z.core.$strict>>;
|
|
2550
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2551
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2552
|
+
component: z.ZodLiteral<"ComparisonTable">;
|
|
2553
|
+
id: z.ZodString;
|
|
2554
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1404
2555
|
attributes: z.ZodArray<z.ZodObject<{
|
|
1405
2556
|
key: z.ZodString;
|
|
1406
2557
|
label: z.ZodString;
|
|
1407
2558
|
}, z.core.$strict>>;
|
|
1408
2559
|
heading: z.ZodString;
|
|
1409
2560
|
products: z.ZodArray<z.ZodObject<{
|
|
1410
|
-
imageUrl: z.ZodOptional<z.
|
|
2561
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1411
2562
|
name: z.ZodString;
|
|
1412
2563
|
price: z.ZodOptional<z.ZodNumber>;
|
|
1413
2564
|
productId: z.ZodString;
|
|
1414
2565
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
2566
|
+
relatedDocuments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2567
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
2568
|
+
filetype: z.ZodOptional<z.ZodString>;
|
|
2569
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
2570
|
+
title: z.ZodString;
|
|
2571
|
+
}, z.core.$strict>>>;
|
|
1415
2572
|
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1416
2573
|
}, z.core.$strict>>;
|
|
1417
2574
|
summary: z.ZodString;
|
|
1418
|
-
}, z.core.$strict
|
|
1419
|
-
}, z.core.$
|
|
1420
|
-
actions: z.ZodObject<{
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
2575
|
+
}, z.core.$strict>>;
|
|
2576
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2577
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2578
|
+
productClick: z.ZodObject<{
|
|
2579
|
+
payload: z.ZodObject<{
|
|
2580
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2581
|
+
position: z.ZodNumber;
|
|
2582
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2583
|
+
productId: z.ZodString;
|
|
2584
|
+
}, z.core.$strict>;
|
|
2585
|
+
}, z.core.$strict>;
|
|
2586
|
+
selectProducts: z.ZodObject<{
|
|
2587
|
+
payload: z.ZodObject<{
|
|
2588
|
+
productIds: z.ZodArray<z.ZodString>;
|
|
2589
|
+
}, z.core.$strict>;
|
|
2590
|
+
}, z.core.$strict>;
|
|
2591
|
+
}, z.core.$strict>>;
|
|
2592
|
+
component: z.ZodLiteral<"ProductList">;
|
|
2593
|
+
id: z.ZodString;
|
|
2594
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1425
2595
|
products: z.ZodArray<z.ZodObject<{
|
|
1426
2596
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2597
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2598
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
2599
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
2600
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2601
|
+
text: z.ZodString;
|
|
2602
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
2603
|
+
}, z.core.$strict>>;
|
|
2604
|
+
placementId: z.ZodString;
|
|
2605
|
+
}, z.core.$strict>>>;
|
|
1427
2606
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
1428
|
-
clickUri: z.ZodOptional<z.
|
|
2607
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
1429
2608
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
1430
2609
|
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1431
2610
|
ec_color: z.ZodOptional<z.ZodString>;
|
|
1432
2611
|
ec_description: z.ZodOptional<z.ZodString>;
|
|
1433
|
-
ec_images: z.ZodOptional<z.ZodArray<z.
|
|
2612
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1434
2613
|
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
1435
2614
|
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
1436
2615
|
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
@@ -1439,26 +2618,34 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1439
2618
|
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
1440
2619
|
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1441
2620
|
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
1442
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.
|
|
2621
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1443
2622
|
permanentid: z.ZodString;
|
|
1444
2623
|
}, z.core.$strict>>;
|
|
1445
|
-
}, z.core.$strict
|
|
1446
|
-
}, z.core.$
|
|
1447
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
state: z.ZodObject<{
|
|
2624
|
+
}, z.core.$strict>>;
|
|
2625
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2626
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2627
|
+
component: z.ZodLiteral<"ProductSummary">;
|
|
2628
|
+
id: z.ZodString;
|
|
2629
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1452
2630
|
categoryLabel: z.ZodString;
|
|
1453
2631
|
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
1454
2632
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2633
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2634
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
2635
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
2636
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2637
|
+
text: z.ZodString;
|
|
2638
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
2639
|
+
}, z.core.$strict>>;
|
|
2640
|
+
placementId: z.ZodString;
|
|
2641
|
+
}, z.core.$strict>>>;
|
|
1455
2642
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
1456
|
-
clickUri: z.ZodOptional<z.
|
|
2643
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
1457
2644
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
1458
2645
|
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1459
2646
|
ec_color: z.ZodOptional<z.ZodString>;
|
|
1460
2647
|
ec_description: z.ZodOptional<z.ZodString>;
|
|
1461
|
-
ec_images: z.ZodOptional<z.ZodArray<z.
|
|
2648
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1462
2649
|
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
1463
2650
|
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
1464
2651
|
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
@@ -1467,12 +2654,12 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1467
2654
|
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
1468
2655
|
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1469
2656
|
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
1470
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.
|
|
2657
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1471
2658
|
permanentid: z.ZodString;
|
|
1472
2659
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1473
|
-
}, z.core.$strict
|
|
1474
|
-
}, z.core.$
|
|
1475
|
-
actions: z.ZodObject<{
|
|
2660
|
+
}, z.core.$strict>>;
|
|
2661
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2662
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1476
2663
|
selectPage: z.ZodObject<{
|
|
1477
2664
|
payload: z.ZodObject<{
|
|
1478
2665
|
page: z.ZodNumber;
|
|
@@ -1483,29 +2670,30 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1483
2670
|
pageSize: z.ZodNumber;
|
|
1484
2671
|
}, z.core.$strict>;
|
|
1485
2672
|
}, z.core.$strict>;
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
2673
|
+
showMore: z.ZodObject<{
|
|
2674
|
+
payload: z.ZodObject<{}, z.core.$strict>;
|
|
2675
|
+
}, z.core.$strict>;
|
|
2676
|
+
}, z.core.$strict>>;
|
|
2677
|
+
component: z.ZodLiteral<"Pagination">;
|
|
2678
|
+
id: z.ZodString;
|
|
2679
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1491
2680
|
page: z.ZodNumber;
|
|
1492
2681
|
pageSize: z.ZodNumber;
|
|
1493
2682
|
totalEntries: z.ZodNumber;
|
|
1494
2683
|
totalPages: z.ZodNumber;
|
|
1495
|
-
}, z.core.$strict
|
|
1496
|
-
}, z.core.$
|
|
1497
|
-
actions: z.ZodObject<{
|
|
2684
|
+
}, z.core.$strict>>;
|
|
2685
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2686
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1498
2687
|
selectSort: z.ZodObject<{
|
|
1499
2688
|
payload: z.ZodObject<{
|
|
1500
2689
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
1501
2690
|
sortCriteria: z.ZodString;
|
|
1502
2691
|
}, z.core.$strict>;
|
|
1503
2692
|
}, z.core.$strict>;
|
|
1504
|
-
}, z.core.$strict
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
state: z.ZodObject<{
|
|
2693
|
+
}, z.core.$strict>>;
|
|
2694
|
+
component: z.ZodLiteral<"Sort">;
|
|
2695
|
+
id: z.ZodString;
|
|
2696
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1509
2697
|
appliedSort: z.ZodObject<{
|
|
1510
2698
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
1511
2699
|
sortCriteria: z.ZodString;
|
|
@@ -1514,9 +2702,9 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1514
2702
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
1515
2703
|
sortCriteria: z.ZodString;
|
|
1516
2704
|
}, z.core.$strict>>;
|
|
1517
|
-
}, z.core.$strict
|
|
1518
|
-
}, z.core.$
|
|
1519
|
-
actions: z.ZodObject<{
|
|
2705
|
+
}, z.core.$strict>>;
|
|
2706
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2707
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1520
2708
|
clearAllActiveValues: z.ZodObject<{
|
|
1521
2709
|
payload: z.ZodUnknown;
|
|
1522
2710
|
}, z.core.$strict>;
|
|
@@ -1557,11 +2745,10 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1557
2745
|
value: z.ZodString;
|
|
1558
2746
|
}, z.core.$strict>;
|
|
1559
2747
|
}, z.core.$strict>;
|
|
1560
|
-
}, z.core.$strict
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
state: z.ZodObject<{
|
|
2748
|
+
}, z.core.$strict>>;
|
|
2749
|
+
component: z.ZodLiteral<"RegularFacet">;
|
|
2750
|
+
id: z.ZodString;
|
|
2751
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1565
2752
|
canShowLessValues: z.ZodBoolean;
|
|
1566
2753
|
canShowMoreValues: z.ZodBoolean;
|
|
1567
2754
|
displayName: z.ZodString;
|
|
@@ -1584,9 +2771,9 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1584
2771
|
}>;
|
|
1585
2772
|
value: z.ZodString;
|
|
1586
2773
|
}, z.core.$strict>>;
|
|
1587
|
-
}, z.core.$strict
|
|
1588
|
-
}, z.core.$
|
|
1589
|
-
actions: z.ZodObject<{
|
|
2774
|
+
}, z.core.$strict>>;
|
|
2775
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2776
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1590
2777
|
applyCustomRange: z.ZodObject<{
|
|
1591
2778
|
payload: z.ZodObject<{
|
|
1592
2779
|
end: z.ZodNumber;
|
|
@@ -1614,11 +2801,10 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1614
2801
|
start: z.ZodNumber;
|
|
1615
2802
|
}, z.core.$strict>;
|
|
1616
2803
|
}, z.core.$strict>;
|
|
1617
|
-
}, z.core.$strict
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
state: z.ZodObject<{
|
|
2804
|
+
}, z.core.$strict>>;
|
|
2805
|
+
component: z.ZodLiteral<"NumericFacet">;
|
|
2806
|
+
id: z.ZodString;
|
|
2807
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1622
2808
|
canShowLessValues: z.ZodBoolean;
|
|
1623
2809
|
canShowMoreValues: z.ZodBoolean;
|
|
1624
2810
|
customRange: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1642,9 +2828,9 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1642
2828
|
selected: "selected";
|
|
1643
2829
|
}>;
|
|
1644
2830
|
}, z.core.$strict>>;
|
|
1645
|
-
}, z.core.$strict
|
|
1646
|
-
}, z.core.$
|
|
1647
|
-
actions: z.ZodObject<{
|
|
2831
|
+
}, z.core.$strict>>;
|
|
2832
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2833
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1648
2834
|
applyCustomRange: z.ZodObject<{
|
|
1649
2835
|
payload: z.ZodObject<{
|
|
1650
2836
|
end: z.ZodString;
|
|
@@ -1672,11 +2858,10 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1672
2858
|
start: z.ZodString;
|
|
1673
2859
|
}, z.core.$strict>;
|
|
1674
2860
|
}, z.core.$strict>;
|
|
1675
|
-
}, z.core.$strict
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
state: z.ZodObject<{
|
|
2861
|
+
}, z.core.$strict>>;
|
|
2862
|
+
component: z.ZodLiteral<"DateFacet">;
|
|
2863
|
+
id: z.ZodString;
|
|
2864
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1680
2865
|
canShowLessValues: z.ZodBoolean;
|
|
1681
2866
|
canShowMoreValues: z.ZodBoolean;
|
|
1682
2867
|
customRange: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1696,9 +2881,9 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1696
2881
|
selected: "selected";
|
|
1697
2882
|
}>;
|
|
1698
2883
|
}, z.core.$strict>>;
|
|
1699
|
-
}, z.core.$strict
|
|
1700
|
-
}, z.core.$
|
|
1701
|
-
actions: z.ZodObject<{
|
|
2884
|
+
}, z.core.$strict>>;
|
|
2885
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2886
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1702
2887
|
clearSearch: z.ZodObject<{
|
|
1703
2888
|
payload: z.ZodUnknown;
|
|
1704
2889
|
}, z.core.$strict>;
|
|
@@ -1724,11 +2909,10 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1724
2909
|
showMoreValues: z.ZodObject<{
|
|
1725
2910
|
payload: z.ZodUnknown;
|
|
1726
2911
|
}, z.core.$strict>;
|
|
1727
|
-
}, z.core.$strict
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
state: z.ZodObject<{
|
|
2912
|
+
}, z.core.$strict>>;
|
|
2913
|
+
component: z.ZodLiteral<"CategoryFacet">;
|
|
2914
|
+
id: z.ZodString;
|
|
2915
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1732
2916
|
canShowLessValues: z.ZodBoolean;
|
|
1733
2917
|
canShowMoreValues: z.ZodBoolean;
|
|
1734
2918
|
displayName: z.ZodString;
|
|
@@ -1759,140 +2943,1902 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1759
2943
|
value: z.ZodString;
|
|
1760
2944
|
}, z.core.$strict>, z.ZodNull]>;
|
|
1761
2945
|
}, z.core.$strict>;
|
|
1762
|
-
}, z.core.$strict
|
|
1763
|
-
}, z.core.$
|
|
1764
|
-
actions: z.ZodObject<{}, z.core.$strict
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
2946
|
+
}, z.core.$strict>>;
|
|
2947
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2948
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2949
|
+
component: z.ZodLiteral<"FacetManager">;
|
|
2950
|
+
id: z.ZodString;
|
|
2951
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2952
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2953
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2954
|
+
clearAll: z.ZodObject<{
|
|
2955
|
+
payload: z.ZodUnknown;
|
|
2956
|
+
}, z.core.$strict>;
|
|
2957
|
+
deselect: z.ZodObject<{
|
|
2958
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2959
|
+
facetId: z.ZodString;
|
|
2960
|
+
type: z.ZodLiteral<"regular">;
|
|
2961
|
+
value: z.ZodString;
|
|
2962
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2963
|
+
end: z.ZodNumber;
|
|
2964
|
+
facetId: z.ZodString;
|
|
2965
|
+
start: z.ZodNumber;
|
|
2966
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
2967
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2968
|
+
end: z.ZodString;
|
|
2969
|
+
facetId: z.ZodString;
|
|
2970
|
+
start: z.ZodString;
|
|
2971
|
+
type: z.ZodLiteral<"dateRange">;
|
|
2972
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2973
|
+
facetId: z.ZodString;
|
|
2974
|
+
path: z.ZodArray<z.ZodString>;
|
|
2975
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
2976
|
+
}, z.core.$strict>], "type">;
|
|
2977
|
+
}, z.core.$strict>;
|
|
2978
|
+
}, z.core.$strict>>;
|
|
2979
|
+
component: z.ZodLiteral<"Breadbox">;
|
|
2980
|
+
id: z.ZodString;
|
|
2981
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2982
|
+
facets: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2983
|
+
displayName: z.ZodString;
|
|
2984
|
+
facetId: z.ZodString;
|
|
2985
|
+
field: z.ZodString;
|
|
2986
|
+
type: z.ZodLiteral<"regular">;
|
|
2987
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2988
|
+
state: z.ZodEnum<{
|
|
2989
|
+
excluded: "excluded";
|
|
2990
|
+
selected: "selected";
|
|
2991
|
+
}>;
|
|
2992
|
+
value: z.ZodString;
|
|
2993
|
+
}, z.core.$strict>>;
|
|
2994
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2995
|
+
displayName: z.ZodString;
|
|
2996
|
+
facetId: z.ZodString;
|
|
2997
|
+
field: z.ZodString;
|
|
2998
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
2999
|
+
values: z.ZodArray<z.ZodObject<{
|
|
3000
|
+
end: z.ZodNumber;
|
|
3001
|
+
start: z.ZodNumber;
|
|
3002
|
+
}, z.core.$strict>>;
|
|
3003
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3004
|
+
displayName: z.ZodString;
|
|
3005
|
+
facetId: z.ZodString;
|
|
3006
|
+
field: z.ZodString;
|
|
3007
|
+
type: z.ZodLiteral<"dateRange">;
|
|
3008
|
+
values: z.ZodArray<z.ZodObject<{
|
|
3009
|
+
end: z.ZodString;
|
|
3010
|
+
start: z.ZodString;
|
|
3011
|
+
}, z.core.$strict>>;
|
|
3012
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3013
|
+
displayName: z.ZodString;
|
|
3014
|
+
facetId: z.ZodString;
|
|
3015
|
+
field: z.ZodString;
|
|
3016
|
+
path: z.ZodArray<z.ZodString>;
|
|
3017
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
3018
|
+
}, z.core.$strict>], "type">>;
|
|
3019
|
+
}, z.core.$strict>>;
|
|
3020
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3021
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
3022
|
+
overrideCorrection: z.ZodObject<{
|
|
3023
|
+
payload: z.ZodObject<{
|
|
3024
|
+
originalQuery: z.ZodString;
|
|
3025
|
+
}, z.core.$strict>;
|
|
3026
|
+
}, z.core.$strict>;
|
|
3027
|
+
restoreState: z.ZodObject<{
|
|
3028
|
+
payload: z.ZodObject<{
|
|
3029
|
+
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3030
|
+
facetId: z.ZodString;
|
|
3031
|
+
numericRanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3032
|
+
end: z.ZodNumber;
|
|
3033
|
+
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
3034
|
+
start: z.ZodNumber;
|
|
3035
|
+
}, z.core.$strict>>>;
|
|
3036
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3037
|
+
}, z.core.$strict>>>;
|
|
3038
|
+
page: z.ZodNumber;
|
|
3039
|
+
pageSize: z.ZodNumber;
|
|
3040
|
+
pinnedProducts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3041
|
+
query: z.ZodString;
|
|
3042
|
+
sortCriteria: z.ZodOptional<z.ZodString>;
|
|
3043
|
+
}, z.core.$strict>;
|
|
3044
|
+
}, z.core.$strict>;
|
|
3045
|
+
submitQuery: z.ZodObject<{
|
|
3046
|
+
payload: z.ZodObject<{
|
|
3047
|
+
query: z.ZodString;
|
|
3048
|
+
}, z.core.$strict>;
|
|
3049
|
+
}, z.core.$strict>;
|
|
3050
|
+
}, z.core.$strict>>;
|
|
3051
|
+
component: z.ZodLiteral<"CommerceSearch">;
|
|
3052
|
+
id: z.ZodString;
|
|
3053
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
3054
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3055
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
3056
|
+
component: z.ZodLiteral<"LayoutStack">;
|
|
3057
|
+
id: z.ZodString;
|
|
3058
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
3059
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3060
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
3061
|
+
component: z.ZodLiteral<"QuerySummary">;
|
|
3062
|
+
id: z.ZodString;
|
|
3063
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1787
3064
|
firstIndex: z.ZodNumber;
|
|
1788
3065
|
lastIndex: z.ZodNumber;
|
|
1789
3066
|
query: z.ZodString;
|
|
1790
3067
|
totalEntries: z.ZodNumber;
|
|
1791
|
-
}, z.core.$strict
|
|
1792
|
-
}, z.core.$
|
|
1793
|
-
actions: z.ZodObject<{
|
|
3068
|
+
}, z.core.$strict>>;
|
|
3069
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3070
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1794
3071
|
setPageSize: z.ZodObject<{
|
|
1795
3072
|
payload: z.ZodObject<{
|
|
1796
3073
|
pageSize: z.ZodNumber;
|
|
1797
3074
|
}, z.core.$strict>;
|
|
1798
3075
|
}, z.core.$strict>;
|
|
1799
|
-
}, z.core.$strict
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
state: z.ZodObject<{
|
|
3076
|
+
}, z.core.$strict>>;
|
|
3077
|
+
component: z.ZodLiteral<"PageSize">;
|
|
3078
|
+
id: z.ZodString;
|
|
3079
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1804
3080
|
pageSize: z.ZodNumber;
|
|
1805
|
-
}, z.core.$strict
|
|
1806
|
-
}, z.core.$
|
|
3081
|
+
}, z.core.$strict>>;
|
|
3082
|
+
}, z.core.$loose>], "component">;
|
|
1807
3083
|
export type ComponentContracts = z.infer<typeof ComponentContractsSchema>;
|
|
1808
3084
|
/**
|
|
1809
|
-
*
|
|
1810
|
-
*
|
|
1811
|
-
*
|
|
1812
|
-
*
|
|
3085
|
+
* A2-UI dynamic-value building blocks (self-contained; no renderer / @a2ui/web_core dependency).
|
|
3086
|
+
* A bindable prop is an A2-UI Dynamic_Value: a union admitting a literal resolved value, an
|
|
3087
|
+
* A2-UI Data_Binding object { path }, or a function-call form. The frozen renderer's binder
|
|
3088
|
+
* classifies a field as resolvable only when its schema is such a union including DataBinding,
|
|
3089
|
+
* so it dereferences the { path } against the data model before the renderer sees it.
|
|
3090
|
+
*
|
|
3091
|
+
* `DataBindingSchema` is projected from the shared definitions/data-binding.schema.json (like
|
|
3092
|
+
* ComponentId / ChildList), so it is not re-declared here; the unions below reference it.
|
|
3093
|
+
*/
|
|
3094
|
+
export declare const FunctionCallSchema: z.ZodObject<{
|
|
3095
|
+
call: z.ZodString;
|
|
3096
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3097
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3098
|
+
any: "any";
|
|
3099
|
+
array: "array";
|
|
3100
|
+
boolean: "boolean";
|
|
3101
|
+
number: "number";
|
|
3102
|
+
object: "object";
|
|
3103
|
+
string: "string";
|
|
3104
|
+
void: "void";
|
|
3105
|
+
}>>;
|
|
3106
|
+
}, z.core.$strip>;
|
|
3107
|
+
export type FunctionCall = z.infer<typeof FunctionCallSchema>;
|
|
3108
|
+
export declare const DynamicNumberSchema: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3109
|
+
path: z.ZodString;
|
|
3110
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3111
|
+
call: z.ZodString;
|
|
3112
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3113
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3114
|
+
any: "any";
|
|
3115
|
+
array: "array";
|
|
3116
|
+
boolean: "boolean";
|
|
3117
|
+
number: "number";
|
|
3118
|
+
object: "object";
|
|
3119
|
+
string: "string";
|
|
3120
|
+
void: "void";
|
|
3121
|
+
}>>;
|
|
3122
|
+
}, z.core.$strip>]>;
|
|
3123
|
+
export type DynamicNumber = z.infer<typeof DynamicNumberSchema>;
|
|
3124
|
+
export declare const DynamicStringSchema: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3125
|
+
path: z.ZodString;
|
|
3126
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3127
|
+
call: z.ZodString;
|
|
3128
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3129
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3130
|
+
any: "any";
|
|
3131
|
+
array: "array";
|
|
3132
|
+
boolean: "boolean";
|
|
3133
|
+
number: "number";
|
|
3134
|
+
object: "object";
|
|
3135
|
+
string: "string";
|
|
3136
|
+
void: "void";
|
|
3137
|
+
}>>;
|
|
3138
|
+
}, z.core.$strip>]>;
|
|
3139
|
+
export type DynamicString = z.infer<typeof DynamicStringSchema>;
|
|
3140
|
+
export declare const DynamicBooleanSchema: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
3141
|
+
path: z.ZodString;
|
|
3142
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3143
|
+
call: z.ZodString;
|
|
3144
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3145
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3146
|
+
any: "any";
|
|
3147
|
+
array: "array";
|
|
3148
|
+
boolean: "boolean";
|
|
3149
|
+
number: "number";
|
|
3150
|
+
object: "object";
|
|
3151
|
+
string: "string";
|
|
3152
|
+
void: "void";
|
|
3153
|
+
}>>;
|
|
3154
|
+
}, z.core.$strip>]>;
|
|
3155
|
+
export type DynamicBoolean = z.infer<typeof DynamicBooleanSchema>;
|
|
3156
|
+
export declare const DynamicStringListSchema: z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodObject<{
|
|
3157
|
+
path: z.ZodString;
|
|
3158
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3159
|
+
call: z.ZodString;
|
|
3160
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3161
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3162
|
+
any: "any";
|
|
3163
|
+
array: "array";
|
|
3164
|
+
boolean: "boolean";
|
|
3165
|
+
number: "number";
|
|
3166
|
+
object: "object";
|
|
3167
|
+
string: "string";
|
|
3168
|
+
void: "void";
|
|
3169
|
+
}>>;
|
|
3170
|
+
}, z.core.$strip>]>;
|
|
3171
|
+
export type DynamicStringList = z.infer<typeof DynamicStringListSchema>;
|
|
3172
|
+
export declare const DynamicValueSchema: z.ZodUnion<readonly [z.ZodUnknown, z.ZodObject<{
|
|
3173
|
+
path: z.ZodString;
|
|
3174
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3175
|
+
call: z.ZodString;
|
|
3176
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3177
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3178
|
+
any: "any";
|
|
3179
|
+
array: "array";
|
|
3180
|
+
boolean: "boolean";
|
|
3181
|
+
number: "number";
|
|
3182
|
+
object: "object";
|
|
3183
|
+
string: "string";
|
|
3184
|
+
void: "void";
|
|
3185
|
+
}>>;
|
|
3186
|
+
}, z.core.$strip>]>;
|
|
3187
|
+
export type DynamicValue = z.infer<typeof DynamicValueSchema>;
|
|
3188
|
+
/**
|
|
3189
|
+
* The A2-UI Action schema for an action-typed prop: the standard A2-UI event shape
|
|
3190
|
+
* { event: { name; context } }. Named DynamicAction to stay distinct from the generated base
|
|
3191
|
+
* action-contract ActionSchema and from a component's dispatchable *Actions contract.
|
|
1813
3192
|
*/
|
|
3193
|
+
export declare const DynamicActionSchema: z.ZodObject<{
|
|
3194
|
+
event: z.ZodObject<{
|
|
3195
|
+
name: z.ZodString;
|
|
3196
|
+
context: z.ZodOptional<z.ZodUnknown>;
|
|
3197
|
+
}, z.core.$strip>;
|
|
3198
|
+
}, z.core.$strip>;
|
|
3199
|
+
export type DynamicAction = z.infer<typeof DynamicActionSchema>;
|
|
3200
|
+
/**
|
|
3201
|
+
* Per-component props schemas for the renderer catalog (one per component), passed to
|
|
3202
|
+
* `createCatalog` as each component's `{ props }` schema. Each bindable prop is an A2-UI
|
|
3203
|
+
* Dynamic_Value, so the renderer's binder resolves its `{ path }` binding against the A2-UI
|
|
3204
|
+
* data model; composition child-ref props stay static so child ids reach the renderer
|
|
3205
|
+
* untouched. The resolved shape a renderer actually reads is the `XxxProps` type.
|
|
3206
|
+
*/
|
|
3207
|
+
export declare const BreadboxPropsSchema: z.ZodObject<{
|
|
3208
|
+
facets: z.ZodUnion<readonly [z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3209
|
+
displayName: z.ZodString;
|
|
3210
|
+
facetId: z.ZodString;
|
|
3211
|
+
field: z.ZodString;
|
|
3212
|
+
type: z.ZodLiteral<"regular">;
|
|
3213
|
+
values: z.ZodArray<z.ZodObject<{
|
|
3214
|
+
state: z.ZodEnum<{
|
|
3215
|
+
excluded: "excluded";
|
|
3216
|
+
selected: "selected";
|
|
3217
|
+
}>;
|
|
3218
|
+
value: z.ZodString;
|
|
3219
|
+
}, z.core.$strict>>;
|
|
3220
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3221
|
+
displayName: z.ZodString;
|
|
3222
|
+
facetId: z.ZodString;
|
|
3223
|
+
field: z.ZodString;
|
|
3224
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
3225
|
+
values: z.ZodArray<z.ZodObject<{
|
|
3226
|
+
end: z.ZodNumber;
|
|
3227
|
+
start: z.ZodNumber;
|
|
3228
|
+
}, z.core.$strict>>;
|
|
3229
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3230
|
+
displayName: z.ZodString;
|
|
3231
|
+
facetId: z.ZodString;
|
|
3232
|
+
field: z.ZodString;
|
|
3233
|
+
type: z.ZodLiteral<"dateRange">;
|
|
3234
|
+
values: z.ZodArray<z.ZodObject<{
|
|
3235
|
+
end: z.ZodString;
|
|
3236
|
+
start: z.ZodString;
|
|
3237
|
+
}, z.core.$strict>>;
|
|
3238
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3239
|
+
displayName: z.ZodString;
|
|
3240
|
+
facetId: z.ZodString;
|
|
3241
|
+
field: z.ZodString;
|
|
3242
|
+
path: z.ZodArray<z.ZodString>;
|
|
3243
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
3244
|
+
}, z.core.$strict>], "type">>, z.ZodObject<{
|
|
3245
|
+
path: z.ZodString;
|
|
3246
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3247
|
+
call: z.ZodString;
|
|
3248
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3249
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3250
|
+
any: "any";
|
|
3251
|
+
array: "array";
|
|
3252
|
+
boolean: "boolean";
|
|
3253
|
+
number: "number";
|
|
3254
|
+
object: "object";
|
|
3255
|
+
string: "string";
|
|
3256
|
+
void: "void";
|
|
3257
|
+
}>>;
|
|
3258
|
+
}, z.core.$strip>]>;
|
|
3259
|
+
}, z.core.$strip>;
|
|
1814
3260
|
export declare const BundleDisplayPropsSchema: z.ZodObject<{
|
|
1815
|
-
|
|
1816
|
-
|
|
3261
|
+
heading: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3262
|
+
path: z.ZodString;
|
|
3263
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3264
|
+
call: z.ZodString;
|
|
3265
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3266
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3267
|
+
any: "any";
|
|
3268
|
+
array: "array";
|
|
3269
|
+
boolean: "boolean";
|
|
3270
|
+
number: "number";
|
|
3271
|
+
object: "object";
|
|
3272
|
+
string: "string";
|
|
3273
|
+
void: "void";
|
|
3274
|
+
}>>;
|
|
3275
|
+
}, z.core.$strip>]>>;
|
|
3276
|
+
tiers: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3277
|
+
description: z.ZodString;
|
|
3278
|
+
label: z.ZodString;
|
|
3279
|
+
slots: z.ZodArray<z.ZodObject<{
|
|
3280
|
+
categoryLabel: z.ZodString;
|
|
3281
|
+
childId: z.ZodString;
|
|
3282
|
+
}, z.core.$strict>>;
|
|
3283
|
+
total: z.ZodNumber;
|
|
3284
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
3285
|
+
path: z.ZodString;
|
|
3286
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3287
|
+
call: z.ZodString;
|
|
3288
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3289
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3290
|
+
any: "any";
|
|
3291
|
+
array: "array";
|
|
3292
|
+
boolean: "boolean";
|
|
3293
|
+
number: "number";
|
|
3294
|
+
object: "object";
|
|
3295
|
+
string: "string";
|
|
3296
|
+
void: "void";
|
|
3297
|
+
}>>;
|
|
3298
|
+
}, z.core.$strip>]>;
|
|
1817
3299
|
}, z.core.$strip>;
|
|
1818
|
-
export
|
|
3300
|
+
export declare const CartPropsSchema: z.ZodObject<{}, z.core.$strip>;
|
|
1819
3301
|
export declare const CategoryFacetPropsSchema: z.ZodObject<{
|
|
1820
|
-
|
|
1821
|
-
|
|
3302
|
+
field: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3303
|
+
path: z.ZodString;
|
|
3304
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3305
|
+
call: z.ZodString;
|
|
3306
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3307
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3308
|
+
any: "any";
|
|
3309
|
+
array: "array";
|
|
3310
|
+
boolean: "boolean";
|
|
3311
|
+
number: "number";
|
|
3312
|
+
object: "object";
|
|
3313
|
+
string: "string";
|
|
3314
|
+
void: "void";
|
|
3315
|
+
}>>;
|
|
3316
|
+
}, z.core.$strip>]>;
|
|
3317
|
+
displayName: z.ZodUnion<readonly [z.ZodString, 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
|
+
values: z.ZodUnion<readonly [z.ZodObject<{
|
|
3333
|
+
ancestry: z.ZodArray<z.ZodObject<{
|
|
3334
|
+
numberOfResults: z.ZodNumber;
|
|
3335
|
+
path: z.ZodArray<z.ZodString>;
|
|
3336
|
+
value: z.ZodString;
|
|
3337
|
+
}, z.core.$strict>>;
|
|
3338
|
+
children: z.ZodArray<z.ZodObject<{
|
|
3339
|
+
numberOfResults: z.ZodNumber;
|
|
3340
|
+
path: z.ZodArray<z.ZodString>;
|
|
3341
|
+
value: z.ZodString;
|
|
3342
|
+
}, z.core.$strict>>;
|
|
3343
|
+
selected: z.ZodUnion<readonly [z.ZodObject<{
|
|
3344
|
+
numberOfResults: z.ZodNumber;
|
|
3345
|
+
path: z.ZodArray<z.ZodString>;
|
|
3346
|
+
value: z.ZodString;
|
|
3347
|
+
}, z.core.$strict>, z.ZodNull]>;
|
|
3348
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3349
|
+
path: z.ZodString;
|
|
3350
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3351
|
+
call: z.ZodString;
|
|
3352
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3353
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3354
|
+
any: "any";
|
|
3355
|
+
array: "array";
|
|
3356
|
+
boolean: "boolean";
|
|
3357
|
+
number: "number";
|
|
3358
|
+
object: "object";
|
|
3359
|
+
string: "string";
|
|
3360
|
+
void: "void";
|
|
3361
|
+
}>>;
|
|
3362
|
+
}, z.core.$strip>]>;
|
|
3363
|
+
canShowMoreValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
3364
|
+
path: z.ZodString;
|
|
3365
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3366
|
+
call: z.ZodString;
|
|
3367
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3368
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3369
|
+
any: "any";
|
|
3370
|
+
array: "array";
|
|
3371
|
+
boolean: "boolean";
|
|
3372
|
+
number: "number";
|
|
3373
|
+
object: "object";
|
|
3374
|
+
string: "string";
|
|
3375
|
+
void: "void";
|
|
3376
|
+
}>>;
|
|
3377
|
+
}, z.core.$strip>]>;
|
|
3378
|
+
canShowLessValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
3379
|
+
path: z.ZodString;
|
|
3380
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3381
|
+
call: z.ZodString;
|
|
3382
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3383
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3384
|
+
any: "any";
|
|
3385
|
+
array: "array";
|
|
3386
|
+
boolean: "boolean";
|
|
3387
|
+
number: "number";
|
|
3388
|
+
object: "object";
|
|
3389
|
+
string: "string";
|
|
3390
|
+
void: "void";
|
|
3391
|
+
}>>;
|
|
3392
|
+
}, z.core.$strip>]>;
|
|
3393
|
+
facetSearch: z.ZodUnion<readonly [z.ZodObject<{
|
|
3394
|
+
canShowMoreResults: z.ZodBoolean;
|
|
3395
|
+
query: z.ZodString;
|
|
3396
|
+
results: z.ZodArray<z.ZodObject<{
|
|
3397
|
+
numberOfResults: z.ZodNumber;
|
|
3398
|
+
path: z.ZodArray<z.ZodString>;
|
|
3399
|
+
value: z.ZodString;
|
|
3400
|
+
}, z.core.$strict>>;
|
|
3401
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3402
|
+
path: z.ZodString;
|
|
3403
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3404
|
+
call: z.ZodString;
|
|
3405
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3406
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3407
|
+
any: "any";
|
|
3408
|
+
array: "array";
|
|
3409
|
+
boolean: "boolean";
|
|
3410
|
+
number: "number";
|
|
3411
|
+
object: "object";
|
|
3412
|
+
string: "string";
|
|
3413
|
+
void: "void";
|
|
3414
|
+
}>>;
|
|
3415
|
+
}, z.core.$strip>]>;
|
|
1822
3416
|
}, z.core.$strip>;
|
|
1823
|
-
export type CategoryFacetProps = z.infer<typeof CategoryFacetPropsSchema>;
|
|
1824
3417
|
export declare const CommerceSearchPropsSchema: z.ZodObject<{
|
|
1825
|
-
|
|
1826
|
-
|
|
3418
|
+
sidebarChild: z.ZodOptional<z.ZodString>;
|
|
3419
|
+
mainChild: z.ZodOptional<z.ZodString>;
|
|
1827
3420
|
}, z.core.$strip>;
|
|
1828
|
-
export type CommerceSearchProps = z.infer<typeof CommerceSearchPropsSchema>;
|
|
1829
3421
|
export declare const ComparisonTablePropsSchema: z.ZodObject<{
|
|
1830
|
-
|
|
1831
|
-
|
|
3422
|
+
heading: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3423
|
+
path: z.ZodString;
|
|
3424
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3425
|
+
call: z.ZodString;
|
|
3426
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3427
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3428
|
+
any: "any";
|
|
3429
|
+
array: "array";
|
|
3430
|
+
boolean: "boolean";
|
|
3431
|
+
number: "number";
|
|
3432
|
+
object: "object";
|
|
3433
|
+
string: "string";
|
|
3434
|
+
void: "void";
|
|
3435
|
+
}>>;
|
|
3436
|
+
}, z.core.$strip>]>;
|
|
3437
|
+
summary: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3438
|
+
path: z.ZodString;
|
|
3439
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3440
|
+
call: z.ZodString;
|
|
3441
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3442
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3443
|
+
any: "any";
|
|
3444
|
+
array: "array";
|
|
3445
|
+
boolean: "boolean";
|
|
3446
|
+
number: "number";
|
|
3447
|
+
object: "object";
|
|
3448
|
+
string: "string";
|
|
3449
|
+
void: "void";
|
|
3450
|
+
}>>;
|
|
3451
|
+
}, z.core.$strip>]>;
|
|
3452
|
+
products: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3453
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
3454
|
+
name: z.ZodString;
|
|
3455
|
+
price: z.ZodOptional<z.ZodNumber>;
|
|
3456
|
+
productId: z.ZodString;
|
|
3457
|
+
rating: z.ZodOptional<z.ZodNumber>;
|
|
3458
|
+
relatedDocuments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3459
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
3460
|
+
filetype: z.ZodOptional<z.ZodString>;
|
|
3461
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
3462
|
+
title: z.ZodString;
|
|
3463
|
+
}, z.core.$strict>>>;
|
|
3464
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3465
|
+
}, z.core.$strict>>, 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
|
+
attributes: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3481
|
+
key: z.ZodString;
|
|
3482
|
+
label: z.ZodString;
|
|
3483
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
3484
|
+
path: z.ZodString;
|
|
3485
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3486
|
+
call: z.ZodString;
|
|
3487
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3488
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3489
|
+
any: "any";
|
|
3490
|
+
array: "array";
|
|
3491
|
+
boolean: "boolean";
|
|
3492
|
+
number: "number";
|
|
3493
|
+
object: "object";
|
|
3494
|
+
string: "string";
|
|
3495
|
+
void: "void";
|
|
3496
|
+
}>>;
|
|
3497
|
+
}, z.core.$strip>]>;
|
|
1832
3498
|
}, z.core.$strip>;
|
|
1833
|
-
export type ComparisonTableProps = z.infer<typeof ComparisonTablePropsSchema>;
|
|
1834
3499
|
export declare const DateFacetPropsSchema: z.ZodObject<{
|
|
1835
|
-
|
|
1836
|
-
|
|
3500
|
+
field: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3501
|
+
path: z.ZodString;
|
|
3502
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3503
|
+
call: z.ZodString;
|
|
3504
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3505
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3506
|
+
any: "any";
|
|
3507
|
+
array: "array";
|
|
3508
|
+
boolean: "boolean";
|
|
3509
|
+
number: "number";
|
|
3510
|
+
object: "object";
|
|
3511
|
+
string: "string";
|
|
3512
|
+
void: "void";
|
|
3513
|
+
}>>;
|
|
3514
|
+
}, z.core.$strip>]>;
|
|
3515
|
+
displayName: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3516
|
+
path: z.ZodString;
|
|
3517
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3518
|
+
call: z.ZodString;
|
|
3519
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3520
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3521
|
+
any: "any";
|
|
3522
|
+
array: "array";
|
|
3523
|
+
boolean: "boolean";
|
|
3524
|
+
number: "number";
|
|
3525
|
+
object: "object";
|
|
3526
|
+
string: "string";
|
|
3527
|
+
void: "void";
|
|
3528
|
+
}>>;
|
|
3529
|
+
}, z.core.$strip>]>;
|
|
3530
|
+
values: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3531
|
+
end: z.ZodString;
|
|
3532
|
+
numberOfResults: z.ZodNumber;
|
|
3533
|
+
start: z.ZodString;
|
|
3534
|
+
state: z.ZodEnum<{
|
|
3535
|
+
idle: "idle";
|
|
3536
|
+
selected: "selected";
|
|
3537
|
+
}>;
|
|
3538
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
3539
|
+
path: z.ZodString;
|
|
3540
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3541
|
+
call: z.ZodString;
|
|
3542
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3543
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3544
|
+
any: "any";
|
|
3545
|
+
array: "array";
|
|
3546
|
+
boolean: "boolean";
|
|
3547
|
+
number: "number";
|
|
3548
|
+
object: "object";
|
|
3549
|
+
string: "string";
|
|
3550
|
+
void: "void";
|
|
3551
|
+
}>>;
|
|
3552
|
+
}, z.core.$strip>]>;
|
|
3553
|
+
customRange: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
3554
|
+
end: z.ZodString;
|
|
3555
|
+
numberOfResults: z.ZodNumber;
|
|
3556
|
+
start: z.ZodString;
|
|
3557
|
+
}, z.core.$strict>, z.ZodNull]>, z.ZodObject<{
|
|
3558
|
+
path: z.ZodString;
|
|
3559
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3560
|
+
call: z.ZodString;
|
|
3561
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3562
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3563
|
+
any: "any";
|
|
3564
|
+
array: "array";
|
|
3565
|
+
boolean: "boolean";
|
|
3566
|
+
number: "number";
|
|
3567
|
+
object: "object";
|
|
3568
|
+
string: "string";
|
|
3569
|
+
void: "void";
|
|
3570
|
+
}>>;
|
|
3571
|
+
}, z.core.$strip>]>;
|
|
3572
|
+
hasActiveValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
3573
|
+
path: z.ZodString;
|
|
3574
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3575
|
+
call: z.ZodString;
|
|
3576
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3577
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3578
|
+
any: "any";
|
|
3579
|
+
array: "array";
|
|
3580
|
+
boolean: "boolean";
|
|
3581
|
+
number: "number";
|
|
3582
|
+
object: "object";
|
|
3583
|
+
string: "string";
|
|
3584
|
+
void: "void";
|
|
3585
|
+
}>>;
|
|
3586
|
+
}, z.core.$strip>]>;
|
|
3587
|
+
canShowMoreValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
3588
|
+
path: z.ZodString;
|
|
3589
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3590
|
+
call: z.ZodString;
|
|
3591
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3592
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3593
|
+
any: "any";
|
|
3594
|
+
array: "array";
|
|
3595
|
+
boolean: "boolean";
|
|
3596
|
+
number: "number";
|
|
3597
|
+
object: "object";
|
|
3598
|
+
string: "string";
|
|
3599
|
+
void: "void";
|
|
3600
|
+
}>>;
|
|
3601
|
+
}, z.core.$strip>]>;
|
|
3602
|
+
canShowLessValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
3603
|
+
path: z.ZodString;
|
|
3604
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3605
|
+
call: z.ZodString;
|
|
3606
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3607
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3608
|
+
any: "any";
|
|
3609
|
+
array: "array";
|
|
3610
|
+
boolean: "boolean";
|
|
3611
|
+
number: "number";
|
|
3612
|
+
object: "object";
|
|
3613
|
+
string: "string";
|
|
3614
|
+
void: "void";
|
|
3615
|
+
}>>;
|
|
3616
|
+
}, z.core.$strip>]>;
|
|
1837
3617
|
}, z.core.$strip>;
|
|
1838
|
-
export type DateFacetProps = z.infer<typeof DateFacetPropsSchema>;
|
|
1839
3618
|
export declare const FacetManagerPropsSchema: z.ZodObject<{
|
|
1840
|
-
|
|
1841
|
-
componentType: z.ZodLiteral<"facet-manager">;
|
|
3619
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1842
3620
|
}, z.core.$strip>;
|
|
1843
|
-
export type FacetManagerProps = z.infer<typeof FacetManagerPropsSchema>;
|
|
1844
3621
|
export declare const LayoutStackPropsSchema: z.ZodObject<{
|
|
1845
|
-
|
|
1846
|
-
|
|
3622
|
+
direction: z.ZodOptional<z.ZodString>;
|
|
3623
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1847
3624
|
}, z.core.$strip>;
|
|
1848
|
-
export type LayoutStackProps = z.infer<typeof LayoutStackPropsSchema>;
|
|
1849
3625
|
export declare const NextActionsBarPropsSchema: z.ZodObject<{
|
|
1850
|
-
|
|
1851
|
-
|
|
3626
|
+
suggestedActions: z.ZodUnion<readonly [z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3627
|
+
text: z.ZodString;
|
|
3628
|
+
type: z.ZodLiteral<"followup">;
|
|
3629
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3630
|
+
text: z.ZodString;
|
|
3631
|
+
type: z.ZodLiteral<"search">;
|
|
3632
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3633
|
+
optionId: z.ZodString;
|
|
3634
|
+
text: z.ZodString;
|
|
3635
|
+
type: z.ZodLiteral<"searchOption">;
|
|
3636
|
+
}, z.core.$strict>], "type">>, z.ZodObject<{
|
|
3637
|
+
path: z.ZodString;
|
|
3638
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3639
|
+
call: z.ZodString;
|
|
3640
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3641
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3642
|
+
any: "any";
|
|
3643
|
+
array: "array";
|
|
3644
|
+
boolean: "boolean";
|
|
3645
|
+
number: "number";
|
|
3646
|
+
object: "object";
|
|
3647
|
+
string: "string";
|
|
3648
|
+
void: "void";
|
|
3649
|
+
}>>;
|
|
3650
|
+
}, z.core.$strip>]>;
|
|
1852
3651
|
}, z.core.$strip>;
|
|
1853
|
-
export type NextActionsBarProps = z.infer<typeof NextActionsBarPropsSchema>;
|
|
1854
3652
|
export declare const NumericFacetPropsSchema: z.ZodObject<{
|
|
1855
|
-
|
|
1856
|
-
|
|
3653
|
+
field: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3654
|
+
path: z.ZodString;
|
|
3655
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3656
|
+
call: z.ZodString;
|
|
3657
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3658
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3659
|
+
any: "any";
|
|
3660
|
+
array: "array";
|
|
3661
|
+
boolean: "boolean";
|
|
3662
|
+
number: "number";
|
|
3663
|
+
object: "object";
|
|
3664
|
+
string: "string";
|
|
3665
|
+
void: "void";
|
|
3666
|
+
}>>;
|
|
3667
|
+
}, z.core.$strip>]>;
|
|
3668
|
+
displayName: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3669
|
+
path: z.ZodString;
|
|
3670
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3671
|
+
call: z.ZodString;
|
|
3672
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3673
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3674
|
+
any: "any";
|
|
3675
|
+
array: "array";
|
|
3676
|
+
boolean: "boolean";
|
|
3677
|
+
number: "number";
|
|
3678
|
+
object: "object";
|
|
3679
|
+
string: "string";
|
|
3680
|
+
void: "void";
|
|
3681
|
+
}>>;
|
|
3682
|
+
}, z.core.$strip>]>;
|
|
3683
|
+
values: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3684
|
+
end: z.ZodNumber;
|
|
3685
|
+
numberOfResults: z.ZodNumber;
|
|
3686
|
+
start: z.ZodNumber;
|
|
3687
|
+
state: z.ZodEnum<{
|
|
3688
|
+
idle: "idle";
|
|
3689
|
+
selected: "selected";
|
|
3690
|
+
}>;
|
|
3691
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
3692
|
+
path: z.ZodString;
|
|
3693
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3694
|
+
call: z.ZodString;
|
|
3695
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3696
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3697
|
+
any: "any";
|
|
3698
|
+
array: "array";
|
|
3699
|
+
boolean: "boolean";
|
|
3700
|
+
number: "number";
|
|
3701
|
+
object: "object";
|
|
3702
|
+
string: "string";
|
|
3703
|
+
void: "void";
|
|
3704
|
+
}>>;
|
|
3705
|
+
}, z.core.$strip>]>;
|
|
3706
|
+
customRange: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
3707
|
+
end: z.ZodNumber;
|
|
3708
|
+
numberOfResults: z.ZodNumber;
|
|
3709
|
+
start: z.ZodNumber;
|
|
3710
|
+
}, z.core.$strict>, z.ZodNull]>, z.ZodObject<{
|
|
3711
|
+
path: z.ZodString;
|
|
3712
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3713
|
+
call: z.ZodString;
|
|
3714
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3715
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3716
|
+
any: "any";
|
|
3717
|
+
array: "array";
|
|
3718
|
+
boolean: "boolean";
|
|
3719
|
+
number: "number";
|
|
3720
|
+
object: "object";
|
|
3721
|
+
string: "string";
|
|
3722
|
+
void: "void";
|
|
3723
|
+
}>>;
|
|
3724
|
+
}, z.core.$strip>]>;
|
|
3725
|
+
hasActiveValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
3726
|
+
path: z.ZodString;
|
|
3727
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3728
|
+
call: z.ZodString;
|
|
3729
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3730
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3731
|
+
any: "any";
|
|
3732
|
+
array: "array";
|
|
3733
|
+
boolean: "boolean";
|
|
3734
|
+
number: "number";
|
|
3735
|
+
object: "object";
|
|
3736
|
+
string: "string";
|
|
3737
|
+
void: "void";
|
|
3738
|
+
}>>;
|
|
3739
|
+
}, z.core.$strip>]>;
|
|
3740
|
+
canShowMoreValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
3741
|
+
path: z.ZodString;
|
|
3742
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3743
|
+
call: z.ZodString;
|
|
3744
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3745
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3746
|
+
any: "any";
|
|
3747
|
+
array: "array";
|
|
3748
|
+
boolean: "boolean";
|
|
3749
|
+
number: "number";
|
|
3750
|
+
object: "object";
|
|
3751
|
+
string: "string";
|
|
3752
|
+
void: "void";
|
|
3753
|
+
}>>;
|
|
3754
|
+
}, z.core.$strip>]>;
|
|
3755
|
+
canShowLessValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
3756
|
+
path: z.ZodString;
|
|
3757
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3758
|
+
call: z.ZodString;
|
|
3759
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3760
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3761
|
+
any: "any";
|
|
3762
|
+
array: "array";
|
|
3763
|
+
boolean: "boolean";
|
|
3764
|
+
number: "number";
|
|
3765
|
+
object: "object";
|
|
3766
|
+
string: "string";
|
|
3767
|
+
void: "void";
|
|
3768
|
+
}>>;
|
|
3769
|
+
}, z.core.$strip>]>;
|
|
3770
|
+
domain: z.ZodOptional<z.ZodUnion<readonly [z.ZodOptional<z.ZodObject<{
|
|
3771
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
3772
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
3773
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
3774
|
+
path: z.ZodString;
|
|
3775
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3776
|
+
call: z.ZodString;
|
|
3777
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3778
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3779
|
+
any: "any";
|
|
3780
|
+
array: "array";
|
|
3781
|
+
boolean: "boolean";
|
|
3782
|
+
number: "number";
|
|
3783
|
+
object: "object";
|
|
3784
|
+
string: "string";
|
|
3785
|
+
void: "void";
|
|
3786
|
+
}>>;
|
|
3787
|
+
}, z.core.$strip>]>>;
|
|
1857
3788
|
}, z.core.$strip>;
|
|
1858
|
-
export type NumericFacetProps = z.infer<typeof NumericFacetPropsSchema>;
|
|
1859
3789
|
export declare const PageSizePropsSchema: z.ZodObject<{
|
|
1860
|
-
|
|
1861
|
-
|
|
3790
|
+
pageSize: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3791
|
+
path: z.ZodString;
|
|
3792
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3793
|
+
call: z.ZodString;
|
|
3794
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3795
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3796
|
+
any: "any";
|
|
3797
|
+
array: "array";
|
|
3798
|
+
boolean: "boolean";
|
|
3799
|
+
number: "number";
|
|
3800
|
+
object: "object";
|
|
3801
|
+
string: "string";
|
|
3802
|
+
void: "void";
|
|
3803
|
+
}>>;
|
|
3804
|
+
}, z.core.$strip>]>;
|
|
1862
3805
|
}, z.core.$strip>;
|
|
1863
|
-
export type PageSizeProps = z.infer<typeof PageSizePropsSchema>;
|
|
1864
3806
|
export declare const PaginationPropsSchema: z.ZodObject<{
|
|
1865
|
-
|
|
1866
|
-
|
|
3807
|
+
page: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3808
|
+
path: z.ZodString;
|
|
3809
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3810
|
+
call: z.ZodString;
|
|
3811
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3812
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3813
|
+
any: "any";
|
|
3814
|
+
array: "array";
|
|
3815
|
+
boolean: "boolean";
|
|
3816
|
+
number: "number";
|
|
3817
|
+
object: "object";
|
|
3818
|
+
string: "string";
|
|
3819
|
+
void: "void";
|
|
3820
|
+
}>>;
|
|
3821
|
+
}, z.core.$strip>]>;
|
|
3822
|
+
pageSize: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3823
|
+
path: z.ZodString;
|
|
3824
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3825
|
+
call: z.ZodString;
|
|
3826
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3827
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3828
|
+
any: "any";
|
|
3829
|
+
array: "array";
|
|
3830
|
+
boolean: "boolean";
|
|
3831
|
+
number: "number";
|
|
3832
|
+
object: "object";
|
|
3833
|
+
string: "string";
|
|
3834
|
+
void: "void";
|
|
3835
|
+
}>>;
|
|
3836
|
+
}, z.core.$strip>]>;
|
|
3837
|
+
totalEntries: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3838
|
+
path: z.ZodString;
|
|
3839
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3840
|
+
call: z.ZodString;
|
|
3841
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3842
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3843
|
+
any: "any";
|
|
3844
|
+
array: "array";
|
|
3845
|
+
boolean: "boolean";
|
|
3846
|
+
number: "number";
|
|
3847
|
+
object: "object";
|
|
3848
|
+
string: "string";
|
|
3849
|
+
void: "void";
|
|
3850
|
+
}>>;
|
|
3851
|
+
}, z.core.$strip>]>;
|
|
3852
|
+
totalPages: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3853
|
+
path: z.ZodString;
|
|
3854
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3855
|
+
call: z.ZodString;
|
|
3856
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3857
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3858
|
+
any: "any";
|
|
3859
|
+
array: "array";
|
|
3860
|
+
boolean: "boolean";
|
|
3861
|
+
number: "number";
|
|
3862
|
+
object: "object";
|
|
3863
|
+
string: "string";
|
|
3864
|
+
void: "void";
|
|
3865
|
+
}>>;
|
|
3866
|
+
}, z.core.$strip>]>;
|
|
1867
3867
|
}, z.core.$strip>;
|
|
1868
|
-
export type PaginationProps = z.infer<typeof PaginationPropsSchema>;
|
|
1869
3868
|
export declare const ProductCarouselPropsSchema: z.ZodObject<{
|
|
1870
|
-
|
|
1871
|
-
|
|
3869
|
+
heading: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3870
|
+
path: z.ZodString;
|
|
3871
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3872
|
+
call: z.ZodString;
|
|
3873
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3874
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3875
|
+
any: "any";
|
|
3876
|
+
array: "array";
|
|
3877
|
+
boolean: "boolean";
|
|
3878
|
+
number: "number";
|
|
3879
|
+
object: "object";
|
|
3880
|
+
string: "string";
|
|
3881
|
+
void: "void";
|
|
3882
|
+
}>>;
|
|
3883
|
+
}, z.core.$strip>]>;
|
|
3884
|
+
products: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3885
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3886
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3887
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
3888
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
3889
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
3890
|
+
text: z.ZodString;
|
|
3891
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
3892
|
+
}, z.core.$strict>>;
|
|
3893
|
+
placementId: z.ZodString;
|
|
3894
|
+
}, z.core.$strict>>>;
|
|
3895
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
3896
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
3897
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
3898
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3899
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
3900
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
3901
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3902
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
3903
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
3904
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
3905
|
+
ec_name: z.ZodString;
|
|
3906
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
3907
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
3908
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3909
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
3910
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3911
|
+
permanentid: z.ZodString;
|
|
3912
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
3913
|
+
path: z.ZodString;
|
|
3914
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3915
|
+
call: z.ZodString;
|
|
3916
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3917
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3918
|
+
any: "any";
|
|
3919
|
+
array: "array";
|
|
3920
|
+
boolean: "boolean";
|
|
3921
|
+
number: "number";
|
|
3922
|
+
object: "object";
|
|
3923
|
+
string: "string";
|
|
3924
|
+
void: "void";
|
|
3925
|
+
}>>;
|
|
3926
|
+
}, z.core.$strip>]>;
|
|
1872
3927
|
}, z.core.$strip>;
|
|
1873
|
-
export type ProductCarouselProps = z.infer<typeof ProductCarouselPropsSchema>;
|
|
1874
3928
|
export declare const ProductListPropsSchema: z.ZodObject<{
|
|
1875
|
-
|
|
1876
|
-
|
|
3929
|
+
products: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3930
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3931
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3932
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
3933
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
3934
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
3935
|
+
text: z.ZodString;
|
|
3936
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
3937
|
+
}, z.core.$strict>>;
|
|
3938
|
+
placementId: z.ZodString;
|
|
3939
|
+
}, z.core.$strict>>>;
|
|
3940
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
3941
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
3942
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
3943
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3944
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
3945
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
3946
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3947
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
3948
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
3949
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
3950
|
+
ec_name: z.ZodString;
|
|
3951
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
3952
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
3953
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3954
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
3955
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3956
|
+
permanentid: z.ZodString;
|
|
3957
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
3958
|
+
path: z.ZodString;
|
|
3959
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3960
|
+
call: z.ZodString;
|
|
3961
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3962
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3963
|
+
any: "any";
|
|
3964
|
+
array: "array";
|
|
3965
|
+
boolean: "boolean";
|
|
3966
|
+
number: "number";
|
|
3967
|
+
object: "object";
|
|
3968
|
+
string: "string";
|
|
3969
|
+
void: "void";
|
|
3970
|
+
}>>;
|
|
3971
|
+
}, z.core.$strip>]>;
|
|
3972
|
+
}, z.core.$strip>;
|
|
3973
|
+
export declare const ProductResearchCardPropsSchema: z.ZodObject<{
|
|
3974
|
+
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
3975
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3976
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3977
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
3978
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
3979
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
3980
|
+
text: z.ZodString;
|
|
3981
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
3982
|
+
}, z.core.$strict>>;
|
|
3983
|
+
placementId: z.ZodString;
|
|
3984
|
+
}, z.core.$strict>>>;
|
|
3985
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
3986
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
3987
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
3988
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3989
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
3990
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
3991
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3992
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
3993
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
3994
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
3995
|
+
ec_name: z.ZodString;
|
|
3996
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
3997
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
3998
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3999
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
4000
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4001
|
+
permanentid: z.ZodString;
|
|
4002
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4003
|
+
path: z.ZodString;
|
|
4004
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4005
|
+
call: z.ZodString;
|
|
4006
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4007
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4008
|
+
any: "any";
|
|
4009
|
+
array: "array";
|
|
4010
|
+
boolean: "boolean";
|
|
4011
|
+
number: "number";
|
|
4012
|
+
object: "object";
|
|
4013
|
+
string: "string";
|
|
4014
|
+
void: "void";
|
|
4015
|
+
}>>;
|
|
4016
|
+
}, z.core.$strip>]>;
|
|
4017
|
+
summary: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4018
|
+
path: z.ZodString;
|
|
4019
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4020
|
+
call: z.ZodString;
|
|
4021
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4022
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4023
|
+
any: "any";
|
|
4024
|
+
array: "array";
|
|
4025
|
+
boolean: "boolean";
|
|
4026
|
+
number: "number";
|
|
4027
|
+
object: "object";
|
|
4028
|
+
string: "string";
|
|
4029
|
+
void: "void";
|
|
4030
|
+
}>>;
|
|
4031
|
+
}, z.core.$strip>]>;
|
|
4032
|
+
bullets: z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodObject<{
|
|
4033
|
+
path: z.ZodString;
|
|
4034
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4035
|
+
call: z.ZodString;
|
|
4036
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4037
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4038
|
+
any: "any";
|
|
4039
|
+
array: "array";
|
|
4040
|
+
boolean: "boolean";
|
|
4041
|
+
number: "number";
|
|
4042
|
+
object: "object";
|
|
4043
|
+
string: "string";
|
|
4044
|
+
void: "void";
|
|
4045
|
+
}>>;
|
|
4046
|
+
}, z.core.$strip>]>;
|
|
4047
|
+
relatedDocuments: z.ZodOptional<z.ZodUnion<readonly [z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4048
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
4049
|
+
filetype: z.ZodOptional<z.ZodString>;
|
|
4050
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
4051
|
+
title: z.ZodString;
|
|
4052
|
+
}, z.core.$strict>>>, z.ZodObject<{
|
|
4053
|
+
path: z.ZodString;
|
|
4054
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4055
|
+
call: z.ZodString;
|
|
4056
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4057
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4058
|
+
any: "any";
|
|
4059
|
+
array: "array";
|
|
4060
|
+
boolean: "boolean";
|
|
4061
|
+
number: "number";
|
|
4062
|
+
object: "object";
|
|
4063
|
+
string: "string";
|
|
4064
|
+
void: "void";
|
|
4065
|
+
}>>;
|
|
4066
|
+
}, z.core.$strip>]>>;
|
|
1877
4067
|
}, z.core.$strip>;
|
|
1878
|
-
export type ProductListProps = z.infer<typeof ProductListPropsSchema>;
|
|
1879
4068
|
export declare const ProductSummaryPropsSchema: z.ZodObject<{
|
|
1880
|
-
|
|
1881
|
-
|
|
4069
|
+
categoryLabel: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4070
|
+
path: z.ZodString;
|
|
4071
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4072
|
+
call: z.ZodString;
|
|
4073
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4074
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4075
|
+
any: "any";
|
|
4076
|
+
array: "array";
|
|
4077
|
+
boolean: "boolean";
|
|
4078
|
+
number: "number";
|
|
4079
|
+
object: "object";
|
|
4080
|
+
string: "string";
|
|
4081
|
+
void: "void";
|
|
4082
|
+
}>>;
|
|
4083
|
+
}, z.core.$strip>]>;
|
|
4084
|
+
product: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
4085
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4086
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4087
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
4088
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
4089
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
4090
|
+
text: z.ZodString;
|
|
4091
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
4092
|
+
}, z.core.$strict>>;
|
|
4093
|
+
placementId: z.ZodString;
|
|
4094
|
+
}, z.core.$strict>>>;
|
|
4095
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
4096
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
4097
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
4098
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4099
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
4100
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
4101
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4102
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
4103
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
4104
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
4105
|
+
ec_name: z.ZodString;
|
|
4106
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
4107
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
4108
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4109
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
4110
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4111
|
+
permanentid: z.ZodString;
|
|
4112
|
+
}, z.core.$strict>, z.ZodNull]>, z.ZodObject<{
|
|
4113
|
+
path: z.ZodString;
|
|
4114
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4115
|
+
call: z.ZodString;
|
|
4116
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4117
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4118
|
+
any: "any";
|
|
4119
|
+
array: "array";
|
|
4120
|
+
boolean: "boolean";
|
|
4121
|
+
number: "number";
|
|
4122
|
+
object: "object";
|
|
4123
|
+
string: "string";
|
|
4124
|
+
void: "void";
|
|
4125
|
+
}>>;
|
|
4126
|
+
}, z.core.$strip>]>;
|
|
4127
|
+
}, z.core.$strip>;
|
|
4128
|
+
export declare const QuerySuggestionsPropsSchema: z.ZodObject<{
|
|
4129
|
+
query: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4130
|
+
path: z.ZodString;
|
|
4131
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4132
|
+
call: z.ZodString;
|
|
4133
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4134
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4135
|
+
any: "any";
|
|
4136
|
+
array: "array";
|
|
4137
|
+
boolean: "boolean";
|
|
4138
|
+
number: "number";
|
|
4139
|
+
object: "object";
|
|
4140
|
+
string: "string";
|
|
4141
|
+
void: "void";
|
|
4142
|
+
}>>;
|
|
4143
|
+
}, z.core.$strip>]>;
|
|
4144
|
+
completions: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
4145
|
+
expression: z.ZodString;
|
|
4146
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
4147
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
4148
|
+
path: z.ZodString;
|
|
4149
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4150
|
+
call: z.ZodString;
|
|
4151
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4152
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4153
|
+
any: "any";
|
|
4154
|
+
array: "array";
|
|
4155
|
+
boolean: "boolean";
|
|
4156
|
+
number: "number";
|
|
4157
|
+
object: "object";
|
|
4158
|
+
string: "string";
|
|
4159
|
+
void: "void";
|
|
4160
|
+
}>>;
|
|
4161
|
+
}, z.core.$strip>]>;
|
|
4162
|
+
products: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
4163
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4164
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4165
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
4166
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
4167
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
4168
|
+
text: z.ZodString;
|
|
4169
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
4170
|
+
}, z.core.$strict>>;
|
|
4171
|
+
placementId: z.ZodString;
|
|
4172
|
+
}, z.core.$strict>>>;
|
|
4173
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
4174
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
4175
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
4176
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4177
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
4178
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
4179
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4180
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
4181
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
4182
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
4183
|
+
ec_name: z.ZodString;
|
|
4184
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
4185
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
4186
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4187
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
4188
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4189
|
+
permanentid: z.ZodString;
|
|
4190
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
4191
|
+
path: z.ZodString;
|
|
4192
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4193
|
+
call: z.ZodString;
|
|
4194
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4195
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4196
|
+
any: "any";
|
|
4197
|
+
array: "array";
|
|
4198
|
+
boolean: "boolean";
|
|
4199
|
+
number: "number";
|
|
4200
|
+
object: "object";
|
|
4201
|
+
string: "string";
|
|
4202
|
+
void: "void";
|
|
4203
|
+
}>>;
|
|
4204
|
+
}, z.core.$strip>]>;
|
|
1882
4205
|
}, z.core.$strip>;
|
|
1883
|
-
export type ProductSummaryProps = z.infer<typeof ProductSummaryPropsSchema>;
|
|
1884
4206
|
export declare const QuerySummaryPropsSchema: z.ZodObject<{
|
|
1885
|
-
|
|
1886
|
-
|
|
4207
|
+
query: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4208
|
+
path: z.ZodString;
|
|
4209
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4210
|
+
call: z.ZodString;
|
|
4211
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4212
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4213
|
+
any: "any";
|
|
4214
|
+
array: "array";
|
|
4215
|
+
boolean: "boolean";
|
|
4216
|
+
number: "number";
|
|
4217
|
+
object: "object";
|
|
4218
|
+
string: "string";
|
|
4219
|
+
void: "void";
|
|
4220
|
+
}>>;
|
|
4221
|
+
}, z.core.$strip>]>;
|
|
4222
|
+
firstIndex: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
4223
|
+
path: z.ZodString;
|
|
4224
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4225
|
+
call: z.ZodString;
|
|
4226
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4227
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4228
|
+
any: "any";
|
|
4229
|
+
array: "array";
|
|
4230
|
+
boolean: "boolean";
|
|
4231
|
+
number: "number";
|
|
4232
|
+
object: "object";
|
|
4233
|
+
string: "string";
|
|
4234
|
+
void: "void";
|
|
4235
|
+
}>>;
|
|
4236
|
+
}, z.core.$strip>]>;
|
|
4237
|
+
lastIndex: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
4238
|
+
path: z.ZodString;
|
|
4239
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4240
|
+
call: z.ZodString;
|
|
4241
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4242
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4243
|
+
any: "any";
|
|
4244
|
+
array: "array";
|
|
4245
|
+
boolean: "boolean";
|
|
4246
|
+
number: "number";
|
|
4247
|
+
object: "object";
|
|
4248
|
+
string: "string";
|
|
4249
|
+
void: "void";
|
|
4250
|
+
}>>;
|
|
4251
|
+
}, z.core.$strip>]>;
|
|
4252
|
+
totalEntries: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
4253
|
+
path: z.ZodString;
|
|
4254
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4255
|
+
call: z.ZodString;
|
|
4256
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4257
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4258
|
+
any: "any";
|
|
4259
|
+
array: "array";
|
|
4260
|
+
boolean: "boolean";
|
|
4261
|
+
number: "number";
|
|
4262
|
+
object: "object";
|
|
4263
|
+
string: "string";
|
|
4264
|
+
void: "void";
|
|
4265
|
+
}>>;
|
|
4266
|
+
}, z.core.$strip>]>;
|
|
1887
4267
|
}, z.core.$strip>;
|
|
1888
|
-
export type QuerySummaryProps = z.infer<typeof QuerySummaryPropsSchema>;
|
|
1889
4268
|
export declare const RegularFacetPropsSchema: z.ZodObject<{
|
|
1890
|
-
|
|
1891
|
-
|
|
4269
|
+
field: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4270
|
+
path: z.ZodString;
|
|
4271
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4272
|
+
call: z.ZodString;
|
|
4273
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4274
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4275
|
+
any: "any";
|
|
4276
|
+
array: "array";
|
|
4277
|
+
boolean: "boolean";
|
|
4278
|
+
number: "number";
|
|
4279
|
+
object: "object";
|
|
4280
|
+
string: "string";
|
|
4281
|
+
void: "void";
|
|
4282
|
+
}>>;
|
|
4283
|
+
}, z.core.$strip>]>;
|
|
4284
|
+
displayName: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
4285
|
+
path: z.ZodString;
|
|
4286
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4287
|
+
call: z.ZodString;
|
|
4288
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4289
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4290
|
+
any: "any";
|
|
4291
|
+
array: "array";
|
|
4292
|
+
boolean: "boolean";
|
|
4293
|
+
number: "number";
|
|
4294
|
+
object: "object";
|
|
4295
|
+
string: "string";
|
|
4296
|
+
void: "void";
|
|
4297
|
+
}>>;
|
|
4298
|
+
}, z.core.$strip>]>;
|
|
4299
|
+
values: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
4300
|
+
numberOfResults: z.ZodNumber;
|
|
4301
|
+
state: z.ZodEnum<{
|
|
4302
|
+
excluded: "excluded";
|
|
4303
|
+
idle: "idle";
|
|
4304
|
+
selected: "selected";
|
|
4305
|
+
}>;
|
|
4306
|
+
value: z.ZodString;
|
|
4307
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
4308
|
+
path: z.ZodString;
|
|
4309
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4310
|
+
call: z.ZodString;
|
|
4311
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4312
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4313
|
+
any: "any";
|
|
4314
|
+
array: "array";
|
|
4315
|
+
boolean: "boolean";
|
|
4316
|
+
number: "number";
|
|
4317
|
+
object: "object";
|
|
4318
|
+
string: "string";
|
|
4319
|
+
void: "void";
|
|
4320
|
+
}>>;
|
|
4321
|
+
}, z.core.$strip>]>;
|
|
4322
|
+
hasActiveValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
4323
|
+
path: z.ZodString;
|
|
4324
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4325
|
+
call: z.ZodString;
|
|
4326
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4327
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4328
|
+
any: "any";
|
|
4329
|
+
array: "array";
|
|
4330
|
+
boolean: "boolean";
|
|
4331
|
+
number: "number";
|
|
4332
|
+
object: "object";
|
|
4333
|
+
string: "string";
|
|
4334
|
+
void: "void";
|
|
4335
|
+
}>>;
|
|
4336
|
+
}, z.core.$strip>]>;
|
|
4337
|
+
canShowMoreValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
4338
|
+
path: z.ZodString;
|
|
4339
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4340
|
+
call: z.ZodString;
|
|
4341
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4342
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4343
|
+
any: "any";
|
|
4344
|
+
array: "array";
|
|
4345
|
+
boolean: "boolean";
|
|
4346
|
+
number: "number";
|
|
4347
|
+
object: "object";
|
|
4348
|
+
string: "string";
|
|
4349
|
+
void: "void";
|
|
4350
|
+
}>>;
|
|
4351
|
+
}, z.core.$strip>]>;
|
|
4352
|
+
canShowLessValues: z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
|
|
4353
|
+
path: z.ZodString;
|
|
4354
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4355
|
+
call: z.ZodString;
|
|
4356
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4357
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4358
|
+
any: "any";
|
|
4359
|
+
array: "array";
|
|
4360
|
+
boolean: "boolean";
|
|
4361
|
+
number: "number";
|
|
4362
|
+
object: "object";
|
|
4363
|
+
string: "string";
|
|
4364
|
+
void: "void";
|
|
4365
|
+
}>>;
|
|
4366
|
+
}, z.core.$strip>]>;
|
|
4367
|
+
facetSearch: z.ZodUnion<readonly [z.ZodObject<{
|
|
4368
|
+
canShowMoreResults: z.ZodBoolean;
|
|
4369
|
+
query: z.ZodString;
|
|
4370
|
+
results: z.ZodArray<z.ZodObject<{
|
|
4371
|
+
numberOfResults: z.ZodNumber;
|
|
4372
|
+
value: z.ZodString;
|
|
4373
|
+
}, z.core.$strict>>;
|
|
4374
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4375
|
+
path: z.ZodString;
|
|
4376
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4377
|
+
call: z.ZodString;
|
|
4378
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4379
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4380
|
+
any: "any";
|
|
4381
|
+
array: "array";
|
|
4382
|
+
boolean: "boolean";
|
|
4383
|
+
number: "number";
|
|
4384
|
+
object: "object";
|
|
4385
|
+
string: "string";
|
|
4386
|
+
void: "void";
|
|
4387
|
+
}>>;
|
|
4388
|
+
}, z.core.$strip>]>;
|
|
1892
4389
|
}, z.core.$strip>;
|
|
1893
|
-
export type RegularFacetProps = z.infer<typeof RegularFacetPropsSchema>;
|
|
1894
4390
|
export declare const SortPropsSchema: z.ZodObject<{
|
|
1895
|
-
|
|
1896
|
-
|
|
4391
|
+
appliedSort: z.ZodUnion<readonly [z.ZodObject<{
|
|
4392
|
+
fields: z.ZodArray<z.ZodUnknown>;
|
|
4393
|
+
sortCriteria: z.ZodString;
|
|
4394
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4395
|
+
path: z.ZodString;
|
|
4396
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4397
|
+
call: z.ZodString;
|
|
4398
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4399
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4400
|
+
any: "any";
|
|
4401
|
+
array: "array";
|
|
4402
|
+
boolean: "boolean";
|
|
4403
|
+
number: "number";
|
|
4404
|
+
object: "object";
|
|
4405
|
+
string: "string";
|
|
4406
|
+
void: "void";
|
|
4407
|
+
}>>;
|
|
4408
|
+
}, z.core.$strip>]>;
|
|
4409
|
+
availableSorts: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
4410
|
+
fields: z.ZodArray<z.ZodUnknown>;
|
|
4411
|
+
sortCriteria: z.ZodString;
|
|
4412
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
4413
|
+
path: z.ZodString;
|
|
4414
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4415
|
+
call: z.ZodString;
|
|
4416
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4417
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4418
|
+
any: "any";
|
|
4419
|
+
array: "array";
|
|
4420
|
+
boolean: "boolean";
|
|
4421
|
+
number: "number";
|
|
4422
|
+
object: "object";
|
|
4423
|
+
string: "string";
|
|
4424
|
+
void: "void";
|
|
4425
|
+
}>>;
|
|
4426
|
+
}, z.core.$strip>]>;
|
|
1897
4427
|
}, z.core.$strip>;
|
|
1898
|
-
|
|
4428
|
+
/**
|
|
4429
|
+
* Per-component action unions in the standard A2-UI event shape
|
|
4430
|
+
* { event: { name: <literal>; context: <typed payload> } }, one member per declared action.
|
|
4431
|
+
* Derived from each component's *Actions contract (action-map key -> payload), NOT from
|
|
4432
|
+
* quicktype's auto-named payload wrappers. A component with no actions has `type XxxAction =
|
|
4433
|
+
* never`. The wire field is `context`; the internal validation layer calls the same data
|
|
4434
|
+
* `payload` (see design: Action typing).
|
|
4435
|
+
*/
|
|
4436
|
+
export declare const BreadboxActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4437
|
+
event: z.ZodObject<{
|
|
4438
|
+
name: z.ZodLiteral<"deselect">;
|
|
4439
|
+
context: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4440
|
+
facetId: z.ZodString;
|
|
4441
|
+
type: z.ZodLiteral<"regular">;
|
|
4442
|
+
value: z.ZodString;
|
|
4443
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4444
|
+
end: z.ZodNumber;
|
|
4445
|
+
facetId: z.ZodString;
|
|
4446
|
+
start: z.ZodNumber;
|
|
4447
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
4448
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4449
|
+
end: z.ZodString;
|
|
4450
|
+
facetId: z.ZodString;
|
|
4451
|
+
start: z.ZodString;
|
|
4452
|
+
type: z.ZodLiteral<"dateRange">;
|
|
4453
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4454
|
+
facetId: z.ZodString;
|
|
4455
|
+
path: z.ZodArray<z.ZodString>;
|
|
4456
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
4457
|
+
}, z.core.$strict>], "type">;
|
|
4458
|
+
}, z.core.$strip>;
|
|
4459
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4460
|
+
event: z.ZodObject<{
|
|
4461
|
+
name: z.ZodLiteral<"clearAll">;
|
|
4462
|
+
context: z.ZodUnknown;
|
|
4463
|
+
}, z.core.$strip>;
|
|
4464
|
+
}, z.core.$strip>]>;
|
|
4465
|
+
export type BreadboxAction = z.infer<typeof BreadboxActionSchema>;
|
|
4466
|
+
export declare const BundleDisplayActionSchema: z.ZodNever;
|
|
4467
|
+
export type BundleDisplayAction = never;
|
|
4468
|
+
export declare const CartActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4469
|
+
event: z.ZodObject<{
|
|
4470
|
+
name: z.ZodLiteral<"updateCart">;
|
|
4471
|
+
context: z.ZodObject<{
|
|
4472
|
+
productId: z.ZodString;
|
|
4473
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4474
|
+
price: z.ZodOptional<z.ZodUnknown>;
|
|
4475
|
+
quantity: z.ZodNumber;
|
|
4476
|
+
operation: z.ZodEnum<{
|
|
4477
|
+
add: "add";
|
|
4478
|
+
remove: "remove";
|
|
4479
|
+
setQuantity: "setQuantity";
|
|
4480
|
+
}>;
|
|
4481
|
+
}, z.core.$strict>;
|
|
4482
|
+
}, z.core.$strip>;
|
|
4483
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4484
|
+
event: z.ZodObject<{
|
|
4485
|
+
name: z.ZodLiteral<"purchase">;
|
|
4486
|
+
context: z.ZodObject<{
|
|
4487
|
+
products: z.ZodArray<z.ZodUnknown>;
|
|
4488
|
+
transaction: z.ZodUnknown;
|
|
4489
|
+
}, z.core.$strict>;
|
|
4490
|
+
}, z.core.$strip>;
|
|
4491
|
+
}, z.core.$strip>]>;
|
|
4492
|
+
export type CartAction = z.infer<typeof CartActionSchema>;
|
|
4493
|
+
export declare const CategoryFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4494
|
+
event: z.ZodObject<{
|
|
4495
|
+
name: z.ZodLiteral<"selectPath">;
|
|
4496
|
+
context: z.ZodObject<{
|
|
4497
|
+
path: z.ZodArray<z.ZodString>;
|
|
4498
|
+
}, z.core.$strict>;
|
|
4499
|
+
}, z.core.$strip>;
|
|
4500
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4501
|
+
event: z.ZodObject<{
|
|
4502
|
+
name: z.ZodLiteral<"clearSelectedPath">;
|
|
4503
|
+
context: z.ZodUnknown;
|
|
4504
|
+
}, z.core.$strip>;
|
|
4505
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4506
|
+
event: z.ZodObject<{
|
|
4507
|
+
name: z.ZodLiteral<"search">;
|
|
4508
|
+
context: z.ZodObject<{
|
|
4509
|
+
query: z.ZodString;
|
|
4510
|
+
}, z.core.$strict>;
|
|
4511
|
+
}, z.core.$strip>;
|
|
4512
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4513
|
+
event: z.ZodObject<{
|
|
4514
|
+
name: z.ZodLiteral<"showMoreSearchResults">;
|
|
4515
|
+
context: z.ZodUnknown;
|
|
4516
|
+
}, z.core.$strip>;
|
|
4517
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4518
|
+
event: z.ZodObject<{
|
|
4519
|
+
name: z.ZodLiteral<"clearSearch">;
|
|
4520
|
+
context: z.ZodUnknown;
|
|
4521
|
+
}, z.core.$strip>;
|
|
4522
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4523
|
+
event: z.ZodObject<{
|
|
4524
|
+
name: z.ZodLiteral<"showMoreValues">;
|
|
4525
|
+
context: z.ZodUnknown;
|
|
4526
|
+
}, z.core.$strip>;
|
|
4527
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4528
|
+
event: z.ZodObject<{
|
|
4529
|
+
name: z.ZodLiteral<"showLessValues">;
|
|
4530
|
+
context: z.ZodUnknown;
|
|
4531
|
+
}, z.core.$strip>;
|
|
4532
|
+
}, z.core.$strip>]>;
|
|
4533
|
+
export type CategoryFacetAction = z.infer<typeof CategoryFacetActionSchema>;
|
|
4534
|
+
export declare const CommerceSearchActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4535
|
+
event: z.ZodObject<{
|
|
4536
|
+
name: z.ZodLiteral<"submitQuery">;
|
|
4537
|
+
context: z.ZodObject<{
|
|
4538
|
+
query: z.ZodString;
|
|
4539
|
+
}, z.core.$strict>;
|
|
4540
|
+
}, z.core.$strip>;
|
|
4541
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4542
|
+
event: z.ZodObject<{
|
|
4543
|
+
name: z.ZodLiteral<"restoreState">;
|
|
4544
|
+
context: z.ZodObject<{
|
|
4545
|
+
query: z.ZodString;
|
|
4546
|
+
page: z.ZodNumber;
|
|
4547
|
+
pageSize: z.ZodNumber;
|
|
4548
|
+
sortCriteria: z.ZodOptional<z.ZodString>;
|
|
4549
|
+
facets: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
4550
|
+
pinnedProducts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4551
|
+
}, z.core.$strict>;
|
|
4552
|
+
}, z.core.$strip>;
|
|
4553
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4554
|
+
event: z.ZodObject<{
|
|
4555
|
+
name: z.ZodLiteral<"overrideCorrection">;
|
|
4556
|
+
context: z.ZodObject<{
|
|
4557
|
+
originalQuery: z.ZodString;
|
|
4558
|
+
}, z.core.$strict>;
|
|
4559
|
+
}, z.core.$strip>;
|
|
4560
|
+
}, z.core.$strip>]>;
|
|
4561
|
+
export type CommerceSearchAction = z.infer<typeof CommerceSearchActionSchema>;
|
|
4562
|
+
export declare const ComparisonTableActionSchema: z.ZodNever;
|
|
4563
|
+
export type ComparisonTableAction = never;
|
|
4564
|
+
export declare const DateFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4565
|
+
event: z.ZodObject<{
|
|
4566
|
+
name: z.ZodLiteral<"toggleSelect">;
|
|
4567
|
+
context: z.ZodObject<{
|
|
4568
|
+
start: z.ZodString;
|
|
4569
|
+
end: z.ZodString;
|
|
4570
|
+
}, z.core.$strict>;
|
|
4571
|
+
}, z.core.$strip>;
|
|
4572
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4573
|
+
event: z.ZodObject<{
|
|
4574
|
+
name: z.ZodLiteral<"toggleSingleSelect">;
|
|
4575
|
+
context: z.ZodObject<{
|
|
4576
|
+
start: z.ZodString;
|
|
4577
|
+
end: z.ZodString;
|
|
4578
|
+
}, z.core.$strict>;
|
|
4579
|
+
}, z.core.$strip>;
|
|
4580
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4581
|
+
event: z.ZodObject<{
|
|
4582
|
+
name: z.ZodLiteral<"clearAllActiveValues">;
|
|
4583
|
+
context: z.ZodUnknown;
|
|
4584
|
+
}, z.core.$strip>;
|
|
4585
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4586
|
+
event: z.ZodObject<{
|
|
4587
|
+
name: z.ZodLiteral<"applyCustomRange">;
|
|
4588
|
+
context: z.ZodObject<{
|
|
4589
|
+
start: z.ZodString;
|
|
4590
|
+
end: z.ZodString;
|
|
4591
|
+
}, z.core.$strict>;
|
|
4592
|
+
}, z.core.$strip>;
|
|
4593
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4594
|
+
event: z.ZodObject<{
|
|
4595
|
+
name: z.ZodLiteral<"showMoreValues">;
|
|
4596
|
+
context: z.ZodUnknown;
|
|
4597
|
+
}, z.core.$strip>;
|
|
4598
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4599
|
+
event: z.ZodObject<{
|
|
4600
|
+
name: z.ZodLiteral<"showLessValues">;
|
|
4601
|
+
context: z.ZodUnknown;
|
|
4602
|
+
}, z.core.$strip>;
|
|
4603
|
+
}, z.core.$strip>]>;
|
|
4604
|
+
export type DateFacetAction = z.infer<typeof DateFacetActionSchema>;
|
|
4605
|
+
export declare const FacetManagerActionSchema: z.ZodNever;
|
|
4606
|
+
export type FacetManagerAction = never;
|
|
4607
|
+
export declare const LayoutStackActionSchema: z.ZodNever;
|
|
4608
|
+
export type LayoutStackAction = never;
|
|
4609
|
+
export declare const NextActionsBarActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4610
|
+
event: z.ZodObject<{
|
|
4611
|
+
name: z.ZodLiteral<"selectAction">;
|
|
4612
|
+
context: z.ZodObject<{
|
|
4613
|
+
text: z.ZodString;
|
|
4614
|
+
type: z.ZodEnum<{
|
|
4615
|
+
followup: "followup";
|
|
4616
|
+
search: "search";
|
|
4617
|
+
}>;
|
|
4618
|
+
}, z.core.$strict>;
|
|
4619
|
+
}, z.core.$strip>;
|
|
4620
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4621
|
+
event: z.ZodObject<{
|
|
4622
|
+
name: z.ZodLiteral<"selectSearchOption">;
|
|
4623
|
+
context: z.ZodObject<{
|
|
4624
|
+
optionId: z.ZodString;
|
|
4625
|
+
}, z.core.$strict>;
|
|
4626
|
+
}, z.core.$strip>;
|
|
4627
|
+
}, z.core.$strip>]>;
|
|
4628
|
+
export type NextActionsBarAction = z.infer<typeof NextActionsBarActionSchema>;
|
|
4629
|
+
export declare const NumericFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4630
|
+
event: z.ZodObject<{
|
|
4631
|
+
name: z.ZodLiteral<"toggleSelect">;
|
|
4632
|
+
context: z.ZodObject<{
|
|
4633
|
+
start: z.ZodNumber;
|
|
4634
|
+
end: z.ZodNumber;
|
|
4635
|
+
}, z.core.$strict>;
|
|
4636
|
+
}, z.core.$strip>;
|
|
4637
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4638
|
+
event: z.ZodObject<{
|
|
4639
|
+
name: z.ZodLiteral<"toggleSingleSelect">;
|
|
4640
|
+
context: z.ZodObject<{
|
|
4641
|
+
start: z.ZodNumber;
|
|
4642
|
+
end: z.ZodNumber;
|
|
4643
|
+
}, z.core.$strict>;
|
|
4644
|
+
}, z.core.$strip>;
|
|
4645
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4646
|
+
event: z.ZodObject<{
|
|
4647
|
+
name: z.ZodLiteral<"clearAllActiveValues">;
|
|
4648
|
+
context: z.ZodUnknown;
|
|
4649
|
+
}, z.core.$strip>;
|
|
4650
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4651
|
+
event: z.ZodObject<{
|
|
4652
|
+
name: z.ZodLiteral<"applyCustomRange">;
|
|
4653
|
+
context: z.ZodObject<{
|
|
4654
|
+
start: z.ZodNumber;
|
|
4655
|
+
end: z.ZodNumber;
|
|
4656
|
+
}, z.core.$strict>;
|
|
4657
|
+
}, z.core.$strip>;
|
|
4658
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4659
|
+
event: z.ZodObject<{
|
|
4660
|
+
name: z.ZodLiteral<"showMoreValues">;
|
|
4661
|
+
context: z.ZodUnknown;
|
|
4662
|
+
}, z.core.$strip>;
|
|
4663
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4664
|
+
event: z.ZodObject<{
|
|
4665
|
+
name: z.ZodLiteral<"showLessValues">;
|
|
4666
|
+
context: z.ZodUnknown;
|
|
4667
|
+
}, z.core.$strip>;
|
|
4668
|
+
}, z.core.$strip>]>;
|
|
4669
|
+
export type NumericFacetAction = z.infer<typeof NumericFacetActionSchema>;
|
|
4670
|
+
export declare const PageSizeActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4671
|
+
event: z.ZodObject<{
|
|
4672
|
+
name: z.ZodLiteral<"setPageSize">;
|
|
4673
|
+
context: z.ZodObject<{
|
|
4674
|
+
pageSize: z.ZodNumber;
|
|
4675
|
+
}, z.core.$strict>;
|
|
4676
|
+
}, z.core.$strip>;
|
|
4677
|
+
}, z.core.$strip>]>;
|
|
4678
|
+
export type PageSizeAction = z.infer<typeof PageSizeActionSchema>;
|
|
4679
|
+
export declare const PaginationActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4680
|
+
event: z.ZodObject<{
|
|
4681
|
+
name: z.ZodLiteral<"selectPage">;
|
|
4682
|
+
context: z.ZodObject<{
|
|
4683
|
+
page: z.ZodNumber;
|
|
4684
|
+
}, z.core.$strict>;
|
|
4685
|
+
}, z.core.$strip>;
|
|
4686
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4687
|
+
event: z.ZodObject<{
|
|
4688
|
+
name: z.ZodLiteral<"setPageSize">;
|
|
4689
|
+
context: z.ZodObject<{
|
|
4690
|
+
pageSize: z.ZodNumber;
|
|
4691
|
+
}, z.core.$strict>;
|
|
4692
|
+
}, z.core.$strip>;
|
|
4693
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4694
|
+
event: z.ZodObject<{
|
|
4695
|
+
name: z.ZodLiteral<"showMore">;
|
|
4696
|
+
context: z.ZodObject<{}, z.core.$strict>;
|
|
4697
|
+
}, z.core.$strip>;
|
|
4698
|
+
}, z.core.$strip>]>;
|
|
4699
|
+
export type PaginationAction = z.infer<typeof PaginationActionSchema>;
|
|
4700
|
+
export declare const ProductCarouselActionSchema: z.ZodNever;
|
|
4701
|
+
export type ProductCarouselAction = never;
|
|
4702
|
+
export declare const ProductListActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4703
|
+
event: z.ZodObject<{
|
|
4704
|
+
name: z.ZodLiteral<"selectProducts">;
|
|
4705
|
+
context: z.ZodObject<{
|
|
4706
|
+
productIds: z.ZodArray<z.ZodString>;
|
|
4707
|
+
}, z.core.$strict>;
|
|
4708
|
+
}, z.core.$strip>;
|
|
4709
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4710
|
+
event: z.ZodObject<{
|
|
4711
|
+
name: z.ZodLiteral<"productClick">;
|
|
4712
|
+
context: z.ZodObject<{
|
|
4713
|
+
productId: z.ZodString;
|
|
4714
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4715
|
+
price: z.ZodOptional<z.ZodUnknown>;
|
|
4716
|
+
position: z.ZodNumber;
|
|
4717
|
+
}, z.core.$strict>;
|
|
4718
|
+
}, z.core.$strip>;
|
|
4719
|
+
}, z.core.$strip>]>;
|
|
4720
|
+
export type ProductListAction = z.infer<typeof ProductListActionSchema>;
|
|
4721
|
+
export declare const ProductResearchCardActionSchema: z.ZodNever;
|
|
4722
|
+
export type ProductResearchCardAction = never;
|
|
4723
|
+
export declare const ProductSummaryActionSchema: z.ZodNever;
|
|
4724
|
+
export type ProductSummaryAction = never;
|
|
4725
|
+
export declare const QuerySuggestionsActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4726
|
+
event: z.ZodObject<{
|
|
4727
|
+
name: z.ZodLiteral<"fetchSuggestions">;
|
|
4728
|
+
context: z.ZodObject<{
|
|
4729
|
+
query: z.ZodString;
|
|
4730
|
+
}, z.core.$strict>;
|
|
4731
|
+
}, z.core.$strip>;
|
|
4732
|
+
}, z.core.$strip>]>;
|
|
4733
|
+
export type QuerySuggestionsAction = z.infer<typeof QuerySuggestionsActionSchema>;
|
|
4734
|
+
export declare const QuerySummaryActionSchema: z.ZodNever;
|
|
4735
|
+
export type QuerySummaryAction = never;
|
|
4736
|
+
export declare const RegularFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4737
|
+
event: z.ZodObject<{
|
|
4738
|
+
name: z.ZodLiteral<"toggleSelect">;
|
|
4739
|
+
context: z.ZodObject<{
|
|
4740
|
+
value: z.ZodString;
|
|
4741
|
+
}, z.core.$strict>;
|
|
4742
|
+
}, z.core.$strip>;
|
|
4743
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4744
|
+
event: z.ZodObject<{
|
|
4745
|
+
name: z.ZodLiteral<"toggleExclude">;
|
|
4746
|
+
context: z.ZodObject<{
|
|
4747
|
+
value: z.ZodString;
|
|
4748
|
+
}, z.core.$strict>;
|
|
4749
|
+
}, z.core.$strip>;
|
|
4750
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4751
|
+
event: z.ZodObject<{
|
|
4752
|
+
name: z.ZodLiteral<"toggleSingleSelect">;
|
|
4753
|
+
context: z.ZodObject<{
|
|
4754
|
+
value: z.ZodString;
|
|
4755
|
+
}, z.core.$strict>;
|
|
4756
|
+
}, z.core.$strip>;
|
|
4757
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4758
|
+
event: z.ZodObject<{
|
|
4759
|
+
name: z.ZodLiteral<"toggleSingleExclude">;
|
|
4760
|
+
context: z.ZodObject<{
|
|
4761
|
+
value: z.ZodString;
|
|
4762
|
+
}, z.core.$strict>;
|
|
4763
|
+
}, z.core.$strip>;
|
|
4764
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4765
|
+
event: z.ZodObject<{
|
|
4766
|
+
name: z.ZodLiteral<"clearAllActiveValues">;
|
|
4767
|
+
context: z.ZodUnknown;
|
|
4768
|
+
}, z.core.$strip>;
|
|
4769
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4770
|
+
event: z.ZodObject<{
|
|
4771
|
+
name: z.ZodLiteral<"search">;
|
|
4772
|
+
context: z.ZodObject<{
|
|
4773
|
+
query: z.ZodString;
|
|
4774
|
+
}, z.core.$strict>;
|
|
4775
|
+
}, z.core.$strip>;
|
|
4776
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4777
|
+
event: z.ZodObject<{
|
|
4778
|
+
name: z.ZodLiteral<"showMoreSearchResults">;
|
|
4779
|
+
context: z.ZodUnknown;
|
|
4780
|
+
}, z.core.$strip>;
|
|
4781
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4782
|
+
event: z.ZodObject<{
|
|
4783
|
+
name: z.ZodLiteral<"clearSearch">;
|
|
4784
|
+
context: z.ZodUnknown;
|
|
4785
|
+
}, z.core.$strip>;
|
|
4786
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4787
|
+
event: z.ZodObject<{
|
|
4788
|
+
name: z.ZodLiteral<"showMoreValues">;
|
|
4789
|
+
context: z.ZodUnknown;
|
|
4790
|
+
}, z.core.$strip>;
|
|
4791
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4792
|
+
event: z.ZodObject<{
|
|
4793
|
+
name: z.ZodLiteral<"showLessValues">;
|
|
4794
|
+
context: z.ZodUnknown;
|
|
4795
|
+
}, z.core.$strip>;
|
|
4796
|
+
}, z.core.$strip>]>;
|
|
4797
|
+
export type RegularFacetAction = z.infer<typeof RegularFacetActionSchema>;
|
|
4798
|
+
export declare const SortActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4799
|
+
event: z.ZodObject<{
|
|
4800
|
+
name: z.ZodLiteral<"selectSort">;
|
|
4801
|
+
context: z.ZodObject<{
|
|
4802
|
+
sortCriteria: z.ZodString;
|
|
4803
|
+
fields: z.ZodArray<z.ZodUnknown>;
|
|
4804
|
+
}, z.core.$strict>;
|
|
4805
|
+
}, z.core.$strip>;
|
|
4806
|
+
}, z.core.$strip>]>;
|
|
4807
|
+
export type SortAction = z.infer<typeof SortActionSchema>;
|
|
4808
|
+
/**
|
|
4809
|
+
* Per-component RESOLVED props — the values a renderer receives in `props` after the A2-UI
|
|
4810
|
+
* binder resolves each `{ path }` Data_Binding against the data model populated by
|
|
4811
|
+
* `updateDataModel`. For a leaf component this is its `XxxState`; for a container it also
|
|
4812
|
+
* carries the static composition child-ref fields (e.g. `sidebarChild` / `mainChild` /
|
|
4813
|
+
* `children`) declared on the component's props contract. Use this to type your renderer's
|
|
4814
|
+
* `props`. The matching bindable schema you pass to the renderer catalog is `XxxPropsSchema`
|
|
4815
|
+
* (its fields may still be `{ path }` bindings; this resolved type is what the renderer reads).
|
|
4816
|
+
*/
|
|
4817
|
+
export type BreadboxProps = BreadboxState;
|
|
4818
|
+
export type BundleDisplayProps = BundleDisplayState;
|
|
4819
|
+
export type CartProps = CartState;
|
|
4820
|
+
export type CategoryFacetProps = CategoryFacetState;
|
|
4821
|
+
export type CommerceSearchProps = {
|
|
4822
|
+
sidebarChild?: string;
|
|
4823
|
+
mainChild?: string;
|
|
4824
|
+
};
|
|
4825
|
+
export type ComparisonTableProps = ComparisonTableState;
|
|
4826
|
+
export type DateFacetProps = DateFacetState;
|
|
4827
|
+
export type FacetManagerProps = {
|
|
4828
|
+
children?: string[];
|
|
4829
|
+
};
|
|
4830
|
+
export type LayoutStackProps = {
|
|
4831
|
+
children?: string[];
|
|
4832
|
+
};
|
|
4833
|
+
export type NextActionsBarProps = NextActionsState;
|
|
4834
|
+
export type NumericFacetProps = NumericFacetState;
|
|
4835
|
+
export type PageSizeProps = PageSizeState;
|
|
4836
|
+
export type PaginationProps = PaginationState;
|
|
4837
|
+
export type ProductCarouselProps = ProductCarouselState;
|
|
4838
|
+
export type ProductListProps = ProductListState;
|
|
4839
|
+
export type ProductResearchCardProps = ProductResearchCardState;
|
|
4840
|
+
export type ProductSummaryProps = ProductSummaryState;
|
|
4841
|
+
export type QuerySuggestionsProps = QuerySuggestionsState;
|
|
4842
|
+
export type QuerySummaryProps = QuerySummaryState;
|
|
4843
|
+
export type RegularFacetProps = RegularFacetState;
|
|
4844
|
+
export type SortProps = SortState;
|