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