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