@coveo/thermidor-schema 1.0.0-beta.24 → 1.0.0-beta.26
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/dist/generated/schemas.d.ts +685 -0
- package/dist/generated/schemas.js +127 -0
- package/dist/generated/zod3/index.d.ts +2 -2
- package/dist/generated/zod3/index.js +1 -1
- package/dist/generated/zod3/schemas.d.ts +10115 -3820
- package/dist/generated/zod3/schemas.js +127 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/schema/component-contracts.schema.json +3 -0
- package/schema/components/breadbox.schema.json +82 -0
- package/schema/definitions/badge-placement.schema.json +22 -0
- package/schema/definitions/badge.schema.json +27 -0
- package/schema/definitions/breadbox-date-range-facet.schema.json +56 -0
- package/schema/definitions/breadbox-deselect-date-range.schema.json +28 -0
- package/schema/definitions/breadbox-deselect-hierarchical-path.schema.json +28 -0
- package/schema/definitions/breadbox-deselect-numerical-range.schema.json +28 -0
- package/schema/definitions/breadbox-deselect-payload.schema.json +20 -0
- package/schema/definitions/breadbox-deselect-regular-value.schema.json +25 -0
- package/schema/definitions/breadbox-facet.schema.json +20 -0
- package/schema/definitions/breadbox-hierarchical-facet.schema.json +37 -0
- package/schema/definitions/breadbox-numerical-range-facet.schema.json +56 -0
- package/schema/definitions/breadbox-regular-facet.schema.json +59 -0
- package/schema/definitions/product.schema.json +7 -0
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import * as z from 'zod/v4';
|
|
2
|
+
export declare const BreadboxRegularFacetValueStateSchema: z.ZodEnum<{
|
|
3
|
+
excluded: "excluded";
|
|
4
|
+
selected: "selected";
|
|
5
|
+
}>;
|
|
6
|
+
export type BreadboxRegularFacetValueState = z.infer<typeof BreadboxRegularFacetValueStateSchema>;
|
|
2
7
|
export declare const CartUpdateOperationSchema: z.ZodEnum<{
|
|
3
8
|
add: "add";
|
|
4
9
|
remove: "remove";
|
|
@@ -27,8 +32,24 @@ export declare const SelectableFacetValueStateSchema: z.ZodEnum<{
|
|
|
27
32
|
selected: "selected";
|
|
28
33
|
}>;
|
|
29
34
|
export type SelectableFacetValueState = z.infer<typeof SelectableFacetValueStateSchema>;
|
|
35
|
+
export declare const BreadboxFacetTypeSchema: z.ZodEnum<{
|
|
36
|
+
dateRange: "dateRange";
|
|
37
|
+
hierarchical: "hierarchical";
|
|
38
|
+
numericalRange: "numericalRange";
|
|
39
|
+
regular: "regular";
|
|
40
|
+
}>;
|
|
41
|
+
export type BreadboxFacetType = z.infer<typeof BreadboxFacetTypeSchema>;
|
|
30
42
|
export declare const ProductSchema: z.ZodObject<{
|
|
31
43
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
44
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
45
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
46
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
47
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
48
|
+
text: z.ZodString;
|
|
49
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
50
|
+
}, z.core.$strict>>;
|
|
51
|
+
placementId: z.ZodString;
|
|
52
|
+
}, z.core.$strict>>>;
|
|
32
53
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
33
54
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
34
55
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -73,12 +94,73 @@ export declare const ChildListClassSchema: z.ZodObject<{
|
|
|
73
94
|
path: z.ZodString;
|
|
74
95
|
}, z.core.$strict>;
|
|
75
96
|
export type ChildListClass = z.infer<typeof ChildListClassSchema>;
|
|
97
|
+
export declare const BreadboxRegularFacetValueSchema: z.ZodObject<{
|
|
98
|
+
state: z.ZodEnum<{
|
|
99
|
+
excluded: "excluded";
|
|
100
|
+
selected: "selected";
|
|
101
|
+
}>;
|
|
102
|
+
value: z.ZodString;
|
|
103
|
+
}, z.core.$strict>;
|
|
104
|
+
export type BreadboxRegularFacetValue = z.infer<typeof BreadboxRegularFacetValueSchema>;
|
|
105
|
+
export declare const BreadboxNumericalRangeFacetValueSchema: z.ZodObject<{
|
|
106
|
+
end: z.ZodNumber;
|
|
107
|
+
start: z.ZodNumber;
|
|
108
|
+
}, z.core.$strict>;
|
|
109
|
+
export type BreadboxNumericalRangeFacetValue = z.infer<typeof BreadboxNumericalRangeFacetValueSchema>;
|
|
110
|
+
export declare const BreadboxDateRangeFacetValueSchema: z.ZodObject<{
|
|
111
|
+
end: z.ZodString;
|
|
112
|
+
start: z.ZodString;
|
|
113
|
+
}, z.core.$strict>;
|
|
114
|
+
export type BreadboxDateRangeFacetValue = z.infer<typeof BreadboxDateRangeFacetValueSchema>;
|
|
115
|
+
export declare const BreadboxHierarchicalFacetSchema: z.ZodObject<{
|
|
116
|
+
displayName: z.ZodString;
|
|
117
|
+
facetId: z.ZodString;
|
|
118
|
+
field: z.ZodString;
|
|
119
|
+
path: z.ZodArray<z.ZodString>;
|
|
120
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
121
|
+
}, z.core.$strict>;
|
|
122
|
+
export type BreadboxHierarchicalFacet = z.infer<typeof BreadboxHierarchicalFacetSchema>;
|
|
123
|
+
export declare const BreadboxDeselectRegularValueSchema: z.ZodObject<{
|
|
124
|
+
facetId: z.ZodString;
|
|
125
|
+
type: z.ZodLiteral<"regular">;
|
|
126
|
+
value: z.ZodString;
|
|
127
|
+
}, z.core.$strict>;
|
|
128
|
+
export type BreadboxDeselectRegularValue = z.infer<typeof BreadboxDeselectRegularValueSchema>;
|
|
129
|
+
export declare const BreadboxDeselectNumericalRangeSchema: z.ZodObject<{
|
|
130
|
+
end: z.ZodNumber;
|
|
131
|
+
facetId: z.ZodString;
|
|
132
|
+
start: z.ZodNumber;
|
|
133
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
134
|
+
}, z.core.$strict>;
|
|
135
|
+
export type BreadboxDeselectNumericalRange = z.infer<typeof BreadboxDeselectNumericalRangeSchema>;
|
|
136
|
+
export declare const BreadboxDeselectDateRangeSchema: z.ZodObject<{
|
|
137
|
+
end: z.ZodString;
|
|
138
|
+
facetId: z.ZodString;
|
|
139
|
+
start: z.ZodString;
|
|
140
|
+
type: z.ZodLiteral<"dateRange">;
|
|
141
|
+
}, z.core.$strict>;
|
|
142
|
+
export type BreadboxDeselectDateRange = z.infer<typeof BreadboxDeselectDateRangeSchema>;
|
|
143
|
+
export declare const BreadboxDeselectHierarchicalPathSchema: z.ZodObject<{
|
|
144
|
+
facetId: z.ZodString;
|
|
145
|
+
path: z.ZodArray<z.ZodString>;
|
|
146
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
147
|
+
}, z.core.$strict>;
|
|
148
|
+
export type BreadboxDeselectHierarchicalPath = z.infer<typeof BreadboxDeselectHierarchicalPathSchema>;
|
|
76
149
|
export declare const ProductCarouselActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
77
150
|
export type ProductCarouselActions = z.infer<typeof ProductCarouselActionsSchema>;
|
|
78
151
|
export declare const ProductCarouselStateSchema: z.ZodObject<{
|
|
79
152
|
heading: z.ZodString;
|
|
80
153
|
products: z.ZodArray<z.ZodObject<{
|
|
81
154
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
155
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
156
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
157
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
158
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
159
|
+
text: z.ZodString;
|
|
160
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
161
|
+
}, z.core.$strict>>;
|
|
162
|
+
placementId: z.ZodString;
|
|
163
|
+
}, z.core.$strict>>>;
|
|
82
164
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
83
165
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
84
166
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -99,6 +181,13 @@ export declare const ProductCarouselStateSchema: z.ZodObject<{
|
|
|
99
181
|
}, z.core.$strict>>;
|
|
100
182
|
}, z.core.$strict>;
|
|
101
183
|
export type ProductCarouselState = z.infer<typeof ProductCarouselStateSchema>;
|
|
184
|
+
export declare const BadgeSchema: z.ZodObject<{
|
|
185
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
186
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
187
|
+
text: z.ZodString;
|
|
188
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
189
|
+
}, z.core.$strict>;
|
|
190
|
+
export type Badge = z.infer<typeof BadgeSchema>;
|
|
102
191
|
export declare const PurchaseProductSchema: z.ZodObject<{
|
|
103
192
|
name: z.ZodOptional<z.ZodString>;
|
|
104
193
|
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
@@ -195,6 +284,15 @@ export type SelectProductsPayload = z.infer<typeof SelectProductsPayloadSchema>;
|
|
|
195
284
|
export declare const ProductListStateSchema: z.ZodObject<{
|
|
196
285
|
products: z.ZodArray<z.ZodObject<{
|
|
197
286
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
287
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
288
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
289
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
290
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
291
|
+
text: z.ZodString;
|
|
292
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
293
|
+
}, z.core.$strict>>;
|
|
294
|
+
placementId: z.ZodString;
|
|
295
|
+
}, z.core.$strict>>>;
|
|
198
296
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
199
297
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
200
298
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -221,6 +319,15 @@ export declare const ProductSummaryStateSchema: z.ZodObject<{
|
|
|
221
319
|
categoryLabel: z.ZodString;
|
|
222
320
|
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
223
321
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
322
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
323
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
324
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
325
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
326
|
+
text: z.ZodString;
|
|
327
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
328
|
+
}, z.core.$strict>>;
|
|
329
|
+
placementId: z.ZodString;
|
|
330
|
+
}, z.core.$strict>>>;
|
|
224
331
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
225
332
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
226
333
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -247,6 +354,15 @@ export declare const ProductResearchCardStateSchema: z.ZodObject<{
|
|
|
247
354
|
bullets: z.ZodArray<z.ZodString>;
|
|
248
355
|
product: z.ZodObject<{
|
|
249
356
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
357
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
358
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
359
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
360
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
361
|
+
text: z.ZodString;
|
|
362
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
363
|
+
}, z.core.$strict>>;
|
|
364
|
+
placementId: z.ZodString;
|
|
365
|
+
}, z.core.$strict>>>;
|
|
250
366
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
251
367
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
252
368
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -437,6 +553,36 @@ export declare const FacetManagerActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
|
437
553
|
export type FacetManagerActions = z.infer<typeof FacetManagerActionsSchema>;
|
|
438
554
|
export declare const FacetManagerStateSchema: z.ZodObject<{}, z.core.$strict>;
|
|
439
555
|
export type FacetManagerState = z.infer<typeof FacetManagerStateSchema>;
|
|
556
|
+
export declare const BreadboxDeselectPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
557
|
+
facetId: z.ZodString;
|
|
558
|
+
type: z.ZodLiteral<"regular">;
|
|
559
|
+
value: z.ZodString;
|
|
560
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
561
|
+
end: z.ZodNumber;
|
|
562
|
+
facetId: z.ZodString;
|
|
563
|
+
start: z.ZodNumber;
|
|
564
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
565
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
566
|
+
end: z.ZodString;
|
|
567
|
+
facetId: z.ZodString;
|
|
568
|
+
start: z.ZodString;
|
|
569
|
+
type: z.ZodLiteral<"dateRange">;
|
|
570
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
571
|
+
facetId: z.ZodString;
|
|
572
|
+
path: z.ZodArray<z.ZodString>;
|
|
573
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
574
|
+
}, z.core.$strict>], "type">;
|
|
575
|
+
export type BreadboxDeselectPayload = z.infer<typeof BreadboxDeselectPayloadSchema>;
|
|
576
|
+
export declare const BreadboxFacetValueSchema: z.ZodObject<{
|
|
577
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
578
|
+
excluded: "excluded";
|
|
579
|
+
selected: "selected";
|
|
580
|
+
}>>;
|
|
581
|
+
value: z.ZodOptional<z.ZodString>;
|
|
582
|
+
end: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
583
|
+
start: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
584
|
+
}, z.core.$strict>;
|
|
585
|
+
export type BreadboxFacetValue = z.infer<typeof BreadboxFacetValueSchema>;
|
|
440
586
|
export declare const OverrideCorrectionPayloadSchema: z.ZodObject<{
|
|
441
587
|
originalQuery: z.ZodString;
|
|
442
588
|
}, z.core.$strict>;
|
|
@@ -474,6 +620,42 @@ export declare const PageSizeStateSchema: z.ZodObject<{
|
|
|
474
620
|
pageSize: z.ZodNumber;
|
|
475
621
|
}, z.core.$strict>;
|
|
476
622
|
export type PageSizeState = z.infer<typeof PageSizeStateSchema>;
|
|
623
|
+
export declare const BreadboxRegularFacetSchema: z.ZodObject<{
|
|
624
|
+
displayName: z.ZodString;
|
|
625
|
+
facetId: z.ZodString;
|
|
626
|
+
field: z.ZodString;
|
|
627
|
+
type: z.ZodLiteral<"regular">;
|
|
628
|
+
values: z.ZodArray<z.ZodObject<{
|
|
629
|
+
state: z.ZodEnum<{
|
|
630
|
+
excluded: "excluded";
|
|
631
|
+
selected: "selected";
|
|
632
|
+
}>;
|
|
633
|
+
value: z.ZodString;
|
|
634
|
+
}, z.core.$strict>>;
|
|
635
|
+
}, z.core.$strict>;
|
|
636
|
+
export type BreadboxRegularFacet = z.infer<typeof BreadboxRegularFacetSchema>;
|
|
637
|
+
export declare const BreadboxNumericalRangeFacetSchema: z.ZodObject<{
|
|
638
|
+
displayName: z.ZodString;
|
|
639
|
+
facetId: z.ZodString;
|
|
640
|
+
field: z.ZodString;
|
|
641
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
642
|
+
values: z.ZodArray<z.ZodObject<{
|
|
643
|
+
end: z.ZodNumber;
|
|
644
|
+
start: z.ZodNumber;
|
|
645
|
+
}, z.core.$strict>>;
|
|
646
|
+
}, z.core.$strict>;
|
|
647
|
+
export type BreadboxNumericalRangeFacet = z.infer<typeof BreadboxNumericalRangeFacetSchema>;
|
|
648
|
+
export declare const BreadboxDateRangeFacetSchema: z.ZodObject<{
|
|
649
|
+
displayName: z.ZodString;
|
|
650
|
+
facetId: z.ZodString;
|
|
651
|
+
field: z.ZodString;
|
|
652
|
+
type: z.ZodLiteral<"dateRange">;
|
|
653
|
+
values: z.ZodArray<z.ZodObject<{
|
|
654
|
+
end: z.ZodString;
|
|
655
|
+
start: z.ZodString;
|
|
656
|
+
}, z.core.$strict>>;
|
|
657
|
+
}, z.core.$strict>;
|
|
658
|
+
export type BreadboxDateRangeFacet = z.infer<typeof BreadboxDateRangeFacetSchema>;
|
|
477
659
|
export declare const ProductCarouselSchema: z.ZodObject<{
|
|
478
660
|
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
479
661
|
component: z.ZodLiteral<"ProductCarousel">;
|
|
@@ -482,6 +664,15 @@ export declare const ProductCarouselSchema: z.ZodObject<{
|
|
|
482
664
|
heading: z.ZodString;
|
|
483
665
|
products: z.ZodArray<z.ZodObject<{
|
|
484
666
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
667
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
668
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
669
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
670
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
671
|
+
text: z.ZodString;
|
|
672
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
673
|
+
}, z.core.$strict>>;
|
|
674
|
+
placementId: z.ZodString;
|
|
675
|
+
}, z.core.$strict>>>;
|
|
485
676
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
486
677
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
487
678
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -503,6 +694,16 @@ export declare const ProductCarouselSchema: z.ZodObject<{
|
|
|
503
694
|
}, z.core.$strict>>;
|
|
504
695
|
}, z.core.$loose>;
|
|
505
696
|
export type ProductCarousel = z.infer<typeof ProductCarouselSchema>;
|
|
697
|
+
export declare const BadgePlacementSchema: z.ZodObject<{
|
|
698
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
699
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
700
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
701
|
+
text: z.ZodString;
|
|
702
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
703
|
+
}, z.core.$strict>>;
|
|
704
|
+
placementId: z.ZodString;
|
|
705
|
+
}, z.core.$strict>;
|
|
706
|
+
export type BadgePlacement = z.infer<typeof BadgePlacementSchema>;
|
|
506
707
|
export declare const PurchasePayloadSchema: z.ZodObject<{
|
|
507
708
|
products: z.ZodArray<z.ZodObject<{
|
|
508
709
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -543,6 +744,15 @@ export declare const QuerySuggestionsStateSchema: z.ZodObject<{
|
|
|
543
744
|
}, z.core.$strict>>;
|
|
544
745
|
products: z.ZodArray<z.ZodObject<{
|
|
545
746
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
747
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
748
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
749
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
750
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
751
|
+
text: z.ZodString;
|
|
752
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
753
|
+
}, z.core.$strict>>;
|
|
754
|
+
placementId: z.ZodString;
|
|
755
|
+
}, z.core.$strict>>>;
|
|
546
756
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
547
757
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
548
758
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -644,6 +854,15 @@ export declare const ProductSummarySchema: z.ZodObject<{
|
|
|
644
854
|
categoryLabel: z.ZodString;
|
|
645
855
|
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
646
856
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
857
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
858
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
859
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
860
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
861
|
+
text: z.ZodString;
|
|
862
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
863
|
+
}, z.core.$strict>>;
|
|
864
|
+
placementId: z.ZodString;
|
|
865
|
+
}, z.core.$strict>>>;
|
|
647
866
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
648
867
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
649
868
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -673,6 +892,15 @@ export declare const ProductResearchCardSchema: z.ZodObject<{
|
|
|
673
892
|
bullets: z.ZodArray<z.ZodString>;
|
|
674
893
|
product: z.ZodObject<{
|
|
675
894
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
895
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
896
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
897
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
898
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
899
|
+
text: z.ZodString;
|
|
900
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
901
|
+
}, z.core.$strict>>;
|
|
902
|
+
placementId: z.ZodString;
|
|
903
|
+
}, z.core.$strict>>>;
|
|
676
904
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
677
905
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
678
906
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -887,6 +1115,66 @@ export declare const FacetManagerSchema: z.ZodObject<{
|
|
|
887
1115
|
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
888
1116
|
}, z.core.$loose>;
|
|
889
1117
|
export type FacetManager = z.infer<typeof FacetManagerSchema>;
|
|
1118
|
+
export declare const BreadboxDeselectSchema: z.ZodObject<{
|
|
1119
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1120
|
+
facetId: z.ZodString;
|
|
1121
|
+
type: z.ZodLiteral<"regular">;
|
|
1122
|
+
value: z.ZodString;
|
|
1123
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1124
|
+
end: z.ZodNumber;
|
|
1125
|
+
facetId: z.ZodString;
|
|
1126
|
+
start: z.ZodNumber;
|
|
1127
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
1128
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1129
|
+
end: z.ZodString;
|
|
1130
|
+
facetId: z.ZodString;
|
|
1131
|
+
start: z.ZodString;
|
|
1132
|
+
type: z.ZodLiteral<"dateRange">;
|
|
1133
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1134
|
+
facetId: z.ZodString;
|
|
1135
|
+
path: z.ZodArray<z.ZodString>;
|
|
1136
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
1137
|
+
}, z.core.$strict>], "type">;
|
|
1138
|
+
}, z.core.$strict>;
|
|
1139
|
+
export type BreadboxDeselect = z.infer<typeof BreadboxDeselectSchema>;
|
|
1140
|
+
export declare const BreadboxFacetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1141
|
+
displayName: z.ZodString;
|
|
1142
|
+
facetId: z.ZodString;
|
|
1143
|
+
field: z.ZodString;
|
|
1144
|
+
type: z.ZodLiteral<"regular">;
|
|
1145
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1146
|
+
state: z.ZodEnum<{
|
|
1147
|
+
excluded: "excluded";
|
|
1148
|
+
selected: "selected";
|
|
1149
|
+
}>;
|
|
1150
|
+
value: z.ZodString;
|
|
1151
|
+
}, z.core.$strict>>;
|
|
1152
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1153
|
+
displayName: z.ZodString;
|
|
1154
|
+
facetId: z.ZodString;
|
|
1155
|
+
field: z.ZodString;
|
|
1156
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
1157
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1158
|
+
end: z.ZodNumber;
|
|
1159
|
+
start: z.ZodNumber;
|
|
1160
|
+
}, z.core.$strict>>;
|
|
1161
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1162
|
+
displayName: z.ZodString;
|
|
1163
|
+
facetId: z.ZodString;
|
|
1164
|
+
field: z.ZodString;
|
|
1165
|
+
type: z.ZodLiteral<"dateRange">;
|
|
1166
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1167
|
+
end: z.ZodString;
|
|
1168
|
+
start: z.ZodString;
|
|
1169
|
+
}, z.core.$strict>>;
|
|
1170
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1171
|
+
displayName: z.ZodString;
|
|
1172
|
+
facetId: z.ZodString;
|
|
1173
|
+
field: z.ZodString;
|
|
1174
|
+
path: z.ZodArray<z.ZodString>;
|
|
1175
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
1176
|
+
}, z.core.$strict>], "type">;
|
|
1177
|
+
export type BreadboxFacet = z.infer<typeof BreadboxFacetSchema>;
|
|
890
1178
|
export declare const OverrideCorrectionSchema: z.ZodObject<{
|
|
891
1179
|
payload: z.ZodObject<{
|
|
892
1180
|
originalQuery: z.ZodString;
|
|
@@ -1239,6 +1527,73 @@ export declare const CategoryFacetStateSchema: z.ZodObject<{
|
|
|
1239
1527
|
}, z.core.$strict>;
|
|
1240
1528
|
}, z.core.$strict>;
|
|
1241
1529
|
export type CategoryFacetState = z.infer<typeof CategoryFacetStateSchema>;
|
|
1530
|
+
export declare const BreadboxActionsSchema: z.ZodObject<{
|
|
1531
|
+
clearAll: z.ZodObject<{
|
|
1532
|
+
payload: z.ZodUnknown;
|
|
1533
|
+
}, z.core.$strict>;
|
|
1534
|
+
deselect: z.ZodObject<{
|
|
1535
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1536
|
+
facetId: z.ZodString;
|
|
1537
|
+
type: z.ZodLiteral<"regular">;
|
|
1538
|
+
value: z.ZodString;
|
|
1539
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1540
|
+
end: z.ZodNumber;
|
|
1541
|
+
facetId: z.ZodString;
|
|
1542
|
+
start: z.ZodNumber;
|
|
1543
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
1544
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1545
|
+
end: z.ZodString;
|
|
1546
|
+
facetId: z.ZodString;
|
|
1547
|
+
start: z.ZodString;
|
|
1548
|
+
type: z.ZodLiteral<"dateRange">;
|
|
1549
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1550
|
+
facetId: z.ZodString;
|
|
1551
|
+
path: z.ZodArray<z.ZodString>;
|
|
1552
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
1553
|
+
}, z.core.$strict>], "type">;
|
|
1554
|
+
}, z.core.$strict>;
|
|
1555
|
+
}, z.core.$strict>;
|
|
1556
|
+
export type BreadboxActions = z.infer<typeof BreadboxActionsSchema>;
|
|
1557
|
+
export declare const BreadboxStateSchema: z.ZodObject<{
|
|
1558
|
+
facets: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1559
|
+
displayName: z.ZodString;
|
|
1560
|
+
facetId: z.ZodString;
|
|
1561
|
+
field: z.ZodString;
|
|
1562
|
+
type: z.ZodLiteral<"regular">;
|
|
1563
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1564
|
+
state: z.ZodEnum<{
|
|
1565
|
+
excluded: "excluded";
|
|
1566
|
+
selected: "selected";
|
|
1567
|
+
}>;
|
|
1568
|
+
value: z.ZodString;
|
|
1569
|
+
}, z.core.$strict>>;
|
|
1570
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1571
|
+
displayName: z.ZodString;
|
|
1572
|
+
facetId: z.ZodString;
|
|
1573
|
+
field: z.ZodString;
|
|
1574
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
1575
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1576
|
+
end: z.ZodNumber;
|
|
1577
|
+
start: z.ZodNumber;
|
|
1578
|
+
}, z.core.$strict>>;
|
|
1579
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1580
|
+
displayName: z.ZodString;
|
|
1581
|
+
facetId: z.ZodString;
|
|
1582
|
+
field: z.ZodString;
|
|
1583
|
+
type: z.ZodLiteral<"dateRange">;
|
|
1584
|
+
values: z.ZodArray<z.ZodObject<{
|
|
1585
|
+
end: z.ZodString;
|
|
1586
|
+
start: z.ZodString;
|
|
1587
|
+
}, z.core.$strict>>;
|
|
1588
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1589
|
+
displayName: z.ZodString;
|
|
1590
|
+
facetId: z.ZodString;
|
|
1591
|
+
field: z.ZodString;
|
|
1592
|
+
path: z.ZodArray<z.ZodString>;
|
|
1593
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
1594
|
+
}, z.core.$strict>], "type">>;
|
|
1595
|
+
}, z.core.$strict>;
|
|
1596
|
+
export type BreadboxState = z.infer<typeof BreadboxStateSchema>;
|
|
1242
1597
|
export declare const RestoreStatePayloadSchema: z.ZodObject<{
|
|
1243
1598
|
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1244
1599
|
facetId: z.ZodString;
|
|
@@ -1311,6 +1666,15 @@ export declare const QuerySuggestionsSchema: z.ZodObject<{
|
|
|
1311
1666
|
}, z.core.$strict>>;
|
|
1312
1667
|
products: z.ZodArray<z.ZodObject<{
|
|
1313
1668
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1669
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1670
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
1671
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
1672
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1673
|
+
text: z.ZodString;
|
|
1674
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
1675
|
+
}, z.core.$strict>>;
|
|
1676
|
+
placementId: z.ZodString;
|
|
1677
|
+
}, z.core.$strict>>>;
|
|
1314
1678
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
1315
1679
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
1316
1680
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -1406,6 +1770,15 @@ export declare const ProductListSchema: z.ZodObject<{
|
|
|
1406
1770
|
state: z.ZodOptional<z.ZodObject<{
|
|
1407
1771
|
products: z.ZodArray<z.ZodObject<{
|
|
1408
1772
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1773
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1774
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
1775
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
1776
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1777
|
+
text: z.ZodString;
|
|
1778
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
1779
|
+
}, z.core.$strict>>;
|
|
1780
|
+
placementId: z.ZodString;
|
|
1781
|
+
}, z.core.$strict>>>;
|
|
1409
1782
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
1410
1783
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
1411
1784
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -1725,6 +2098,76 @@ export declare const CategoryFacetSchema: z.ZodObject<{
|
|
|
1725
2098
|
}, z.core.$strict>>;
|
|
1726
2099
|
}, z.core.$loose>;
|
|
1727
2100
|
export type CategoryFacet = z.infer<typeof CategoryFacetSchema>;
|
|
2101
|
+
export declare const BreadboxSchema: z.ZodObject<{
|
|
2102
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2103
|
+
clearAll: z.ZodObject<{
|
|
2104
|
+
payload: z.ZodUnknown;
|
|
2105
|
+
}, z.core.$strict>;
|
|
2106
|
+
deselect: z.ZodObject<{
|
|
2107
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2108
|
+
facetId: z.ZodString;
|
|
2109
|
+
type: z.ZodLiteral<"regular">;
|
|
2110
|
+
value: z.ZodString;
|
|
2111
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2112
|
+
end: z.ZodNumber;
|
|
2113
|
+
facetId: z.ZodString;
|
|
2114
|
+
start: z.ZodNumber;
|
|
2115
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
2116
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2117
|
+
end: z.ZodString;
|
|
2118
|
+
facetId: z.ZodString;
|
|
2119
|
+
start: z.ZodString;
|
|
2120
|
+
type: z.ZodLiteral<"dateRange">;
|
|
2121
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2122
|
+
facetId: z.ZodString;
|
|
2123
|
+
path: z.ZodArray<z.ZodString>;
|
|
2124
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
2125
|
+
}, z.core.$strict>], "type">;
|
|
2126
|
+
}, z.core.$strict>;
|
|
2127
|
+
}, z.core.$strict>>;
|
|
2128
|
+
component: z.ZodLiteral<"Breadbox">;
|
|
2129
|
+
id: z.ZodString;
|
|
2130
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2131
|
+
facets: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2132
|
+
displayName: z.ZodString;
|
|
2133
|
+
facetId: z.ZodString;
|
|
2134
|
+
field: z.ZodString;
|
|
2135
|
+
type: z.ZodLiteral<"regular">;
|
|
2136
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2137
|
+
state: z.ZodEnum<{
|
|
2138
|
+
excluded: "excluded";
|
|
2139
|
+
selected: "selected";
|
|
2140
|
+
}>;
|
|
2141
|
+
value: z.ZodString;
|
|
2142
|
+
}, z.core.$strict>>;
|
|
2143
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2144
|
+
displayName: z.ZodString;
|
|
2145
|
+
facetId: z.ZodString;
|
|
2146
|
+
field: z.ZodString;
|
|
2147
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
2148
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2149
|
+
end: z.ZodNumber;
|
|
2150
|
+
start: z.ZodNumber;
|
|
2151
|
+
}, z.core.$strict>>;
|
|
2152
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2153
|
+
displayName: z.ZodString;
|
|
2154
|
+
facetId: z.ZodString;
|
|
2155
|
+
field: z.ZodString;
|
|
2156
|
+
type: z.ZodLiteral<"dateRange">;
|
|
2157
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2158
|
+
end: z.ZodString;
|
|
2159
|
+
start: z.ZodString;
|
|
2160
|
+
}, z.core.$strict>>;
|
|
2161
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2162
|
+
displayName: z.ZodString;
|
|
2163
|
+
facetId: z.ZodString;
|
|
2164
|
+
field: z.ZodString;
|
|
2165
|
+
path: z.ZodArray<z.ZodString>;
|
|
2166
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
2167
|
+
}, z.core.$strict>], "type">>;
|
|
2168
|
+
}, z.core.$strict>>;
|
|
2169
|
+
}, z.core.$loose>;
|
|
2170
|
+
export type Breadbox = z.infer<typeof BreadboxSchema>;
|
|
1728
2171
|
export declare const RestoreStateSchema: z.ZodObject<{
|
|
1729
2172
|
payload: z.ZodObject<{
|
|
1730
2173
|
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1869,6 +2312,15 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1869
2312
|
heading: z.ZodString;
|
|
1870
2313
|
products: z.ZodArray<z.ZodObject<{
|
|
1871
2314
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2315
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2316
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
2317
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
2318
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2319
|
+
text: z.ZodString;
|
|
2320
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
2321
|
+
}, z.core.$strict>>;
|
|
2322
|
+
placementId: z.ZodString;
|
|
2323
|
+
}, z.core.$strict>>>;
|
|
1872
2324
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
1873
2325
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
1874
2326
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -1938,6 +2390,15 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1938
2390
|
}, z.core.$strict>>;
|
|
1939
2391
|
products: z.ZodArray<z.ZodObject<{
|
|
1940
2392
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2393
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2394
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
2395
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
2396
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2397
|
+
text: z.ZodString;
|
|
2398
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
2399
|
+
}, z.core.$strict>>;
|
|
2400
|
+
placementId: z.ZodString;
|
|
2401
|
+
}, z.core.$strict>>>;
|
|
1941
2402
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
1942
2403
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
1943
2404
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -2047,6 +2508,15 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2047
2508
|
state: z.ZodOptional<z.ZodObject<{
|
|
2048
2509
|
products: z.ZodArray<z.ZodObject<{
|
|
2049
2510
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2511
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2512
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
2513
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
2514
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2515
|
+
text: z.ZodString;
|
|
2516
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
2517
|
+
}, z.core.$strict>>;
|
|
2518
|
+
placementId: z.ZodString;
|
|
2519
|
+
}, z.core.$strict>>>;
|
|
2050
2520
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
2051
2521
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
2052
2522
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -2074,6 +2544,15 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2074
2544
|
categoryLabel: z.ZodString;
|
|
2075
2545
|
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
2076
2546
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2547
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2548
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
2549
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
2550
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2551
|
+
text: z.ZodString;
|
|
2552
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
2553
|
+
}, z.core.$strict>>;
|
|
2554
|
+
placementId: z.ZodString;
|
|
2555
|
+
}, z.core.$strict>>>;
|
|
2077
2556
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
2078
2557
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
2079
2558
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -2101,6 +2580,15 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2101
2580
|
bullets: z.ZodArray<z.ZodString>;
|
|
2102
2581
|
product: z.ZodObject<{
|
|
2103
2582
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2583
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2584
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
2585
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
2586
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2587
|
+
text: z.ZodString;
|
|
2588
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
2589
|
+
}, z.core.$strict>>;
|
|
2590
|
+
placementId: z.ZodString;
|
|
2591
|
+
}, z.core.$strict>>>;
|
|
2104
2592
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
2105
2593
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
2106
2594
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -2412,6 +2900,74 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2412
2900
|
component: z.ZodLiteral<"FacetManager">;
|
|
2413
2901
|
id: z.ZodString;
|
|
2414
2902
|
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2903
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2904
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2905
|
+
clearAll: z.ZodObject<{
|
|
2906
|
+
payload: z.ZodUnknown;
|
|
2907
|
+
}, z.core.$strict>;
|
|
2908
|
+
deselect: z.ZodObject<{
|
|
2909
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2910
|
+
facetId: z.ZodString;
|
|
2911
|
+
type: z.ZodLiteral<"regular">;
|
|
2912
|
+
value: z.ZodString;
|
|
2913
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2914
|
+
end: z.ZodNumber;
|
|
2915
|
+
facetId: z.ZodString;
|
|
2916
|
+
start: z.ZodNumber;
|
|
2917
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
2918
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2919
|
+
end: z.ZodString;
|
|
2920
|
+
facetId: z.ZodString;
|
|
2921
|
+
start: z.ZodString;
|
|
2922
|
+
type: z.ZodLiteral<"dateRange">;
|
|
2923
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2924
|
+
facetId: z.ZodString;
|
|
2925
|
+
path: z.ZodArray<z.ZodString>;
|
|
2926
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
2927
|
+
}, z.core.$strict>], "type">;
|
|
2928
|
+
}, z.core.$strict>;
|
|
2929
|
+
}, z.core.$strict>>;
|
|
2930
|
+
component: z.ZodLiteral<"Breadbox">;
|
|
2931
|
+
id: z.ZodString;
|
|
2932
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2933
|
+
facets: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2934
|
+
displayName: z.ZodString;
|
|
2935
|
+
facetId: z.ZodString;
|
|
2936
|
+
field: z.ZodString;
|
|
2937
|
+
type: z.ZodLiteral<"regular">;
|
|
2938
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2939
|
+
state: z.ZodEnum<{
|
|
2940
|
+
excluded: "excluded";
|
|
2941
|
+
selected: "selected";
|
|
2942
|
+
}>;
|
|
2943
|
+
value: z.ZodString;
|
|
2944
|
+
}, z.core.$strict>>;
|
|
2945
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2946
|
+
displayName: z.ZodString;
|
|
2947
|
+
facetId: z.ZodString;
|
|
2948
|
+
field: z.ZodString;
|
|
2949
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
2950
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2951
|
+
end: z.ZodNumber;
|
|
2952
|
+
start: z.ZodNumber;
|
|
2953
|
+
}, z.core.$strict>>;
|
|
2954
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2955
|
+
displayName: z.ZodString;
|
|
2956
|
+
facetId: z.ZodString;
|
|
2957
|
+
field: z.ZodString;
|
|
2958
|
+
type: z.ZodLiteral<"dateRange">;
|
|
2959
|
+
values: z.ZodArray<z.ZodObject<{
|
|
2960
|
+
end: z.ZodString;
|
|
2961
|
+
start: z.ZodString;
|
|
2962
|
+
}, z.core.$strict>>;
|
|
2963
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2964
|
+
displayName: z.ZodString;
|
|
2965
|
+
facetId: z.ZodString;
|
|
2966
|
+
field: z.ZodString;
|
|
2967
|
+
path: z.ZodArray<z.ZodString>;
|
|
2968
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
2969
|
+
}, z.core.$strict>], "type">>;
|
|
2970
|
+
}, z.core.$strict>>;
|
|
2415
2971
|
}, z.core.$loose>, z.ZodObject<{
|
|
2416
2972
|
actions: z.ZodOptional<z.ZodObject<{
|
|
2417
2973
|
overrideCorrection: z.ZodObject<{
|
|
@@ -2599,6 +3155,59 @@ export type DynamicAction = z.infer<typeof DynamicActionSchema>;
|
|
|
2599
3155
|
* data model; composition child-ref props stay static so child ids reach the renderer
|
|
2600
3156
|
* untouched. The resolved shape a renderer actually reads is the `XxxProps` type.
|
|
2601
3157
|
*/
|
|
3158
|
+
export declare const BreadboxPropsSchema: z.ZodObject<{
|
|
3159
|
+
facets: z.ZodUnion<readonly [z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3160
|
+
displayName: z.ZodString;
|
|
3161
|
+
facetId: z.ZodString;
|
|
3162
|
+
field: z.ZodString;
|
|
3163
|
+
type: z.ZodLiteral<"regular">;
|
|
3164
|
+
values: z.ZodArray<z.ZodObject<{
|
|
3165
|
+
state: z.ZodEnum<{
|
|
3166
|
+
excluded: "excluded";
|
|
3167
|
+
selected: "selected";
|
|
3168
|
+
}>;
|
|
3169
|
+
value: z.ZodString;
|
|
3170
|
+
}, z.core.$strict>>;
|
|
3171
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3172
|
+
displayName: z.ZodString;
|
|
3173
|
+
facetId: z.ZodString;
|
|
3174
|
+
field: z.ZodString;
|
|
3175
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
3176
|
+
values: z.ZodArray<z.ZodObject<{
|
|
3177
|
+
end: z.ZodNumber;
|
|
3178
|
+
start: z.ZodNumber;
|
|
3179
|
+
}, z.core.$strict>>;
|
|
3180
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3181
|
+
displayName: z.ZodString;
|
|
3182
|
+
facetId: z.ZodString;
|
|
3183
|
+
field: z.ZodString;
|
|
3184
|
+
type: z.ZodLiteral<"dateRange">;
|
|
3185
|
+
values: z.ZodArray<z.ZodObject<{
|
|
3186
|
+
end: z.ZodString;
|
|
3187
|
+
start: z.ZodString;
|
|
3188
|
+
}, z.core.$strict>>;
|
|
3189
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3190
|
+
displayName: z.ZodString;
|
|
3191
|
+
facetId: z.ZodString;
|
|
3192
|
+
field: z.ZodString;
|
|
3193
|
+
path: z.ZodArray<z.ZodString>;
|
|
3194
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
3195
|
+
}, z.core.$strict>], "type">>, z.ZodObject<{
|
|
3196
|
+
path: z.ZodString;
|
|
3197
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3198
|
+
call: z.ZodString;
|
|
3199
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3200
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3201
|
+
any: "any";
|
|
3202
|
+
array: "array";
|
|
3203
|
+
boolean: "boolean";
|
|
3204
|
+
number: "number";
|
|
3205
|
+
object: "object";
|
|
3206
|
+
string: "string";
|
|
3207
|
+
void: "void";
|
|
3208
|
+
}>>;
|
|
3209
|
+
}, z.core.$strip>]>;
|
|
3210
|
+
}, z.core.$strip>;
|
|
2602
3211
|
export declare const BundleDisplayPropsSchema: z.ZodObject<{
|
|
2603
3212
|
heading: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
2604
3213
|
path: z.ZodString;
|
|
@@ -3219,6 +3828,15 @@ export declare const ProductCarouselPropsSchema: z.ZodObject<{
|
|
|
3219
3828
|
}, z.core.$strip>]>;
|
|
3220
3829
|
products: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3221
3830
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3831
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3832
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
3833
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
3834
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
3835
|
+
text: z.ZodString;
|
|
3836
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
3837
|
+
}, z.core.$strict>>;
|
|
3838
|
+
placementId: z.ZodString;
|
|
3839
|
+
}, z.core.$strict>>>;
|
|
3222
3840
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
3223
3841
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
3224
3842
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -3255,6 +3873,15 @@ export declare const ProductCarouselPropsSchema: z.ZodObject<{
|
|
|
3255
3873
|
export declare const ProductListPropsSchema: z.ZodObject<{
|
|
3256
3874
|
products: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3257
3875
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3876
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3877
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
3878
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
3879
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
3880
|
+
text: z.ZodString;
|
|
3881
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
3882
|
+
}, z.core.$strict>>;
|
|
3883
|
+
placementId: z.ZodString;
|
|
3884
|
+
}, z.core.$strict>>>;
|
|
3258
3885
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
3259
3886
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
3260
3887
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -3291,6 +3918,15 @@ export declare const ProductListPropsSchema: z.ZodObject<{
|
|
|
3291
3918
|
export declare const ProductResearchCardPropsSchema: z.ZodObject<{
|
|
3292
3919
|
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
3293
3920
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3921
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3922
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
3923
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
3924
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
3925
|
+
text: z.ZodString;
|
|
3926
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
3927
|
+
}, z.core.$strict>>;
|
|
3928
|
+
placementId: z.ZodString;
|
|
3929
|
+
}, z.core.$strict>>>;
|
|
3294
3930
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
3295
3931
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
3296
3932
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -3372,6 +4008,15 @@ export declare const ProductSummaryPropsSchema: z.ZodObject<{
|
|
|
3372
4008
|
}, z.core.$strip>]>;
|
|
3373
4009
|
product: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
3374
4010
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4011
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4012
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
4013
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
4014
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
4015
|
+
text: z.ZodString;
|
|
4016
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
4017
|
+
}, z.core.$strict>>;
|
|
4018
|
+
placementId: z.ZodString;
|
|
4019
|
+
}, z.core.$strict>>>;
|
|
3375
4020
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
3376
4021
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
3377
4022
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -3441,6 +4086,15 @@ export declare const QuerySuggestionsPropsSchema: z.ZodObject<{
|
|
|
3441
4086
|
}, z.core.$strip>]>;
|
|
3442
4087
|
products: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3443
4088
|
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4089
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4090
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
4091
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
4092
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
4093
|
+
text: z.ZodString;
|
|
4094
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
4095
|
+
}, z.core.$strict>>;
|
|
4096
|
+
placementId: z.ZodString;
|
|
4097
|
+
}, z.core.$strict>>>;
|
|
3444
4098
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
3445
4099
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
3446
4100
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -3704,6 +4358,36 @@ export declare const SortPropsSchema: z.ZodObject<{
|
|
|
3704
4358
|
* never`. The wire field is `context`; the internal validation layer calls the same data
|
|
3705
4359
|
* `payload` (see design: Action typing).
|
|
3706
4360
|
*/
|
|
4361
|
+
export declare const BreadboxActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4362
|
+
event: z.ZodObject<{
|
|
4363
|
+
name: z.ZodLiteral<"deselect">;
|
|
4364
|
+
context: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4365
|
+
facetId: z.ZodString;
|
|
4366
|
+
type: z.ZodLiteral<"regular">;
|
|
4367
|
+
value: z.ZodString;
|
|
4368
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4369
|
+
end: z.ZodNumber;
|
|
4370
|
+
facetId: z.ZodString;
|
|
4371
|
+
start: z.ZodNumber;
|
|
4372
|
+
type: z.ZodLiteral<"numericalRange">;
|
|
4373
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4374
|
+
end: z.ZodString;
|
|
4375
|
+
facetId: z.ZodString;
|
|
4376
|
+
start: z.ZodString;
|
|
4377
|
+
type: z.ZodLiteral<"dateRange">;
|
|
4378
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4379
|
+
facetId: z.ZodString;
|
|
4380
|
+
path: z.ZodArray<z.ZodString>;
|
|
4381
|
+
type: z.ZodLiteral<"hierarchical">;
|
|
4382
|
+
}, z.core.$strict>], "type">;
|
|
4383
|
+
}, z.core.$strip>;
|
|
4384
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4385
|
+
event: z.ZodObject<{
|
|
4386
|
+
name: z.ZodLiteral<"clearAll">;
|
|
4387
|
+
context: z.ZodUnknown;
|
|
4388
|
+
}, z.core.$strip>;
|
|
4389
|
+
}, z.core.$strip>]>;
|
|
4390
|
+
export type BreadboxAction = z.infer<typeof BreadboxActionSchema>;
|
|
3707
4391
|
export declare const BundleDisplayActionSchema: z.ZodNever;
|
|
3708
4392
|
export type BundleDisplayAction = never;
|
|
3709
4393
|
export declare const CartActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -4055,6 +4739,7 @@ export type SortAction = z.infer<typeof SortActionSchema>;
|
|
|
4055
4739
|
* `props`. The matching bindable schema you pass to the renderer catalog is `XxxPropsSchema`
|
|
4056
4740
|
* (its fields may still be `{ path }` bindings; this resolved type is what the renderer reads).
|
|
4057
4741
|
*/
|
|
4742
|
+
export type BreadboxProps = BreadboxState;
|
|
4058
4743
|
export type BundleDisplayProps = BundleDisplayState;
|
|
4059
4744
|
export type CartProps = CartState;
|
|
4060
4745
|
export type CategoryFacetProps = CategoryFacetState;
|