@coveo/thermidor-schema 1.0.0-beta.25 → 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 +206 -0
- package/dist/generated/schemas.js +13 -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 +2946 -0
- package/dist/generated/zod3/schemas.js +13 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/schema/definitions/badge-placement.schema.json +22 -0
- package/schema/definitions/badge.schema.json +27 -0
- package/schema/definitions/product.schema.json +7 -0
|
@@ -41,6 +41,15 @@ export declare const BreadboxFacetTypeSchema: z.ZodEnum<{
|
|
|
41
41
|
export type BreadboxFacetType = z.infer<typeof BreadboxFacetTypeSchema>;
|
|
42
42
|
export declare const ProductSchema: z.ZodObject<{
|
|
43
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>>>;
|
|
44
53
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
45
54
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
46
55
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -143,6 +152,15 @@ export declare const ProductCarouselStateSchema: z.ZodObject<{
|
|
|
143
152
|
heading: z.ZodString;
|
|
144
153
|
products: z.ZodArray<z.ZodObject<{
|
|
145
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>>>;
|
|
146
164
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
147
165
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
148
166
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -163,6 +181,13 @@ export declare const ProductCarouselStateSchema: z.ZodObject<{
|
|
|
163
181
|
}, z.core.$strict>>;
|
|
164
182
|
}, z.core.$strict>;
|
|
165
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>;
|
|
166
191
|
export declare const PurchaseProductSchema: z.ZodObject<{
|
|
167
192
|
name: z.ZodOptional<z.ZodString>;
|
|
168
193
|
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
@@ -259,6 +284,15 @@ export type SelectProductsPayload = z.infer<typeof SelectProductsPayloadSchema>;
|
|
|
259
284
|
export declare const ProductListStateSchema: z.ZodObject<{
|
|
260
285
|
products: z.ZodArray<z.ZodObject<{
|
|
261
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>>>;
|
|
262
296
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
263
297
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
264
298
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -285,6 +319,15 @@ export declare const ProductSummaryStateSchema: z.ZodObject<{
|
|
|
285
319
|
categoryLabel: z.ZodString;
|
|
286
320
|
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
287
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>>>;
|
|
288
331
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
289
332
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
290
333
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -311,6 +354,15 @@ export declare const ProductResearchCardStateSchema: z.ZodObject<{
|
|
|
311
354
|
bullets: z.ZodArray<z.ZodString>;
|
|
312
355
|
product: z.ZodObject<{
|
|
313
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>>>;
|
|
314
366
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
315
367
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
316
368
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -612,6 +664,15 @@ export declare const ProductCarouselSchema: z.ZodObject<{
|
|
|
612
664
|
heading: z.ZodString;
|
|
613
665
|
products: z.ZodArray<z.ZodObject<{
|
|
614
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>>>;
|
|
615
676
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
616
677
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
617
678
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -633,6 +694,16 @@ export declare const ProductCarouselSchema: z.ZodObject<{
|
|
|
633
694
|
}, z.core.$strict>>;
|
|
634
695
|
}, z.core.$loose>;
|
|
635
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>;
|
|
636
707
|
export declare const PurchasePayloadSchema: z.ZodObject<{
|
|
637
708
|
products: z.ZodArray<z.ZodObject<{
|
|
638
709
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -673,6 +744,15 @@ export declare const QuerySuggestionsStateSchema: z.ZodObject<{
|
|
|
673
744
|
}, z.core.$strict>>;
|
|
674
745
|
products: z.ZodArray<z.ZodObject<{
|
|
675
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>>>;
|
|
676
756
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
677
757
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
678
758
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -774,6 +854,15 @@ export declare const ProductSummarySchema: z.ZodObject<{
|
|
|
774
854
|
categoryLabel: z.ZodString;
|
|
775
855
|
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
776
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>>>;
|
|
777
866
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
778
867
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
779
868
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -803,6 +892,15 @@ export declare const ProductResearchCardSchema: z.ZodObject<{
|
|
|
803
892
|
bullets: z.ZodArray<z.ZodString>;
|
|
804
893
|
product: z.ZodObject<{
|
|
805
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>>>;
|
|
806
904
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
807
905
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
808
906
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -1568,6 +1666,15 @@ export declare const QuerySuggestionsSchema: z.ZodObject<{
|
|
|
1568
1666
|
}, z.core.$strict>>;
|
|
1569
1667
|
products: z.ZodArray<z.ZodObject<{
|
|
1570
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>>>;
|
|
1571
1678
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
1572
1679
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
1573
1680
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -1663,6 +1770,15 @@ export declare const ProductListSchema: z.ZodObject<{
|
|
|
1663
1770
|
state: z.ZodOptional<z.ZodObject<{
|
|
1664
1771
|
products: z.ZodArray<z.ZodObject<{
|
|
1665
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>>>;
|
|
1666
1782
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
1667
1783
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
1668
1784
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -2196,6 +2312,15 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2196
2312
|
heading: z.ZodString;
|
|
2197
2313
|
products: z.ZodArray<z.ZodObject<{
|
|
2198
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>>>;
|
|
2199
2324
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
2200
2325
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
2201
2326
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -2265,6 +2390,15 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2265
2390
|
}, z.core.$strict>>;
|
|
2266
2391
|
products: z.ZodArray<z.ZodObject<{
|
|
2267
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>>>;
|
|
2268
2402
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
2269
2403
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
2270
2404
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -2374,6 +2508,15 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2374
2508
|
state: z.ZodOptional<z.ZodObject<{
|
|
2375
2509
|
products: z.ZodArray<z.ZodObject<{
|
|
2376
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>>>;
|
|
2377
2520
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
2378
2521
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
2379
2522
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -2401,6 +2544,15 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2401
2544
|
categoryLabel: z.ZodString;
|
|
2402
2545
|
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
2403
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>>>;
|
|
2404
2556
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
2405
2557
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
2406
2558
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -2428,6 +2580,15 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2428
2580
|
bullets: z.ZodArray<z.ZodString>;
|
|
2429
2581
|
product: z.ZodObject<{
|
|
2430
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>>>;
|
|
2431
2592
|
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
2432
2593
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
2433
2594
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -3667,6 +3828,15 @@ export declare const ProductCarouselPropsSchema: z.ZodObject<{
|
|
|
3667
3828
|
}, z.core.$strip>]>;
|
|
3668
3829
|
products: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3669
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>>>;
|
|
3670
3840
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
3671
3841
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
3672
3842
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -3703,6 +3873,15 @@ export declare const ProductCarouselPropsSchema: z.ZodObject<{
|
|
|
3703
3873
|
export declare const ProductListPropsSchema: z.ZodObject<{
|
|
3704
3874
|
products: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3705
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>>>;
|
|
3706
3885
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
3707
3886
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
3708
3887
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -3739,6 +3918,15 @@ export declare const ProductListPropsSchema: z.ZodObject<{
|
|
|
3739
3918
|
export declare const ProductResearchCardPropsSchema: z.ZodObject<{
|
|
3740
3919
|
product: z.ZodUnion<readonly [z.ZodObject<{
|
|
3741
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>>>;
|
|
3742
3930
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
3743
3931
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
3744
3932
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -3820,6 +4008,15 @@ export declare const ProductSummaryPropsSchema: z.ZodObject<{
|
|
|
3820
4008
|
}, z.core.$strip>]>;
|
|
3821
4009
|
product: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
3822
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>>>;
|
|
3823
4020
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
3824
4021
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
3825
4022
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -3889,6 +4086,15 @@ export declare const QuerySuggestionsPropsSchema: z.ZodObject<{
|
|
|
3889
4086
|
}, z.core.$strip>]>;
|
|
3890
4087
|
products: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3891
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>>>;
|
|
3892
4098
|
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
3893
4099
|
clickUri: z.ZodOptional<z.ZodString>;
|
|
3894
4100
|
ec_brand: z.ZodOptional<z.ZodString>;
|
|
@@ -24,6 +24,9 @@ export const BreadboxFacetTypeSchema = z.enum([
|
|
|
24
24
|
]);
|
|
25
25
|
export const ProductSchema = z.strictObject({
|
|
26
26
|
additionalFields: z.record(z.string(), z.unknown()),
|
|
27
|
+
get badgePlacements() {
|
|
28
|
+
return z.array(BadgePlacementSchema).optional();
|
|
29
|
+
},
|
|
27
30
|
get children() {
|
|
28
31
|
return z.array(ProductSchema).optional();
|
|
29
32
|
},
|
|
@@ -110,6 +113,12 @@ export const ProductCarouselStateSchema = z.strictObject({
|
|
|
110
113
|
heading: z.string(),
|
|
111
114
|
products: z.array(ProductSchema),
|
|
112
115
|
});
|
|
116
|
+
export const BadgeSchema = z.strictObject({
|
|
117
|
+
backgroundColor: z.string().optional(),
|
|
118
|
+
iconUrl: z.string().optional(),
|
|
119
|
+
text: z.string(),
|
|
120
|
+
textColor: z.string().optional(),
|
|
121
|
+
});
|
|
113
122
|
export const PurchaseProductSchema = z.strictObject({
|
|
114
123
|
name: z.string().optional(),
|
|
115
124
|
price: z.union([z.number(), z.null()]).optional(),
|
|
@@ -370,6 +379,10 @@ export const ProductCarouselSchema = z.looseObject({
|
|
|
370
379
|
id: z.string().min(1).regex(new RegExp('^[a-z][a-z0-9-]*$')),
|
|
371
380
|
state: ProductCarouselStateSchema.optional(),
|
|
372
381
|
});
|
|
382
|
+
export const BadgePlacementSchema = z.strictObject({
|
|
383
|
+
badges: z.array(BadgeSchema),
|
|
384
|
+
placementId: z.string(),
|
|
385
|
+
});
|
|
373
386
|
export const PurchasePayloadSchema = z.strictObject({
|
|
374
387
|
products: z.array(PurchaseProductSchema),
|
|
375
388
|
transaction: TransactionSchema,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const THERMIDOR_CATALOG_ID = "https://schema.thermidor.coveo.com/a2-ui/catalog.json";
|
|
2
|
-
export { ActionItemSchema, FollowupActionItemSchema, SearchActionItemSchema, SearchOptionActionItemSchema, CartSchema, CartActionsSchema, CartStateSchema, UpdateCartSchema, UpdateCartPayloadSchema, CartUpdateOperationSchema, PurchaseSchema, PurchasePayloadSchema, PurchaseProductSchema, TransactionSchema, QuerySuggestionsSchema, QuerySuggestionsActionsSchema, QuerySuggestionsStateSchema, QueryCompletionSchema, FetchSuggestionsSchema, FetchSuggestionsPayloadSchema, RestoreStateSchema, RestoreStatePayloadSchema, FacetRestoreSchema, NumericRangeRestoreSchema, OverrideCorrectionSchema, OverrideCorrectionPayloadSchema, ShowMoreSchema, ShowMorePayloadSchema, SelectProductsSchema, SelectProductsPayloadSchema, ProductClickSchema, ProductClickPayloadSchema, BundleDisplaySchema, BundleDisplayStateSchema, BundleSlotSchema, BundleTierSchema, CategoryFacetSchema, CategoryFacetActionsSchema, CategoryFacetValueSchema, CategoryFacetSearchSchema, CategoryFacetSearchPayloadSchema, CategoryFacetSelectPathPayloadSchema, CategoryFacetStateSchema, CategoryFacetValuesSchema, CommerceSearchSchema, CommerceSearchActionsSchema, CommerceSearchStateSchema, SubmitQuerySchema, SubmitQueryPayloadSchema, ComparisonAttributeSchema, ComparisonProductSchema, ComparisonTableSchema, ComparisonTableStateSchema, ComponentContractsSchema, DateFacetSchema, DateFacetActionsSchema, DateFacetApplyCustomRangePayloadSchema, DateFacetCustomRangeSchema, DateFacetStateSchema, DateFacetToggleSelectPayloadSchema, DateFacetToggleSingleSelectPayloadSchema, DateFacetValueSchema, FacetManagerSchema, FacetManagerActionsSchema, FacetManagerStateSchema, BreadboxSchema, BreadboxActionsSchema, BreadboxStateSchema, BreadboxFacetSchema, BreadboxRegularFacetSchema, BreadboxRegularFacetValueSchema, BreadboxNumericalRangeFacetSchema, BreadboxNumericalRangeFacetValueSchema, BreadboxDateRangeFacetSchema, BreadboxDateRangeFacetValueSchema, BreadboxHierarchicalFacetSchema, BreadboxDeselectPayloadSchema, BreadboxDeselectRegularValueSchema, BreadboxDeselectNumericalRangeSchema, BreadboxDeselectDateRangeSchema, BreadboxDeselectHierarchicalPathSchema, FacetValueStateSchema, SelectableFacetValueStateSchema, LayoutStackSchema, LayoutStackStateSchema, NextActionsBarSchema, NextActionsStateSchema, NumericFacetSchema, NumericFacetActionsSchema, NumericFacetCustomRangeSchema, NumericFacetDomainSchema, NumericFacetApplyCustomRangePayloadSchema, NumericFacetStateSchema, NumericFacetToggleSelectPayloadSchema, NumericFacetToggleSingleSelectPayloadSchema, NumericFacetValueSchema, PageSizeSchema, PageSizeActionsSchema, PageSizeStateSchema, PaginationSchema, PaginationActionsSchema, PaginationStateSchema, ProductCarouselSchema, ProductCarouselStateSchema, ProductListSchema, ProductListActionsSchema, ProductListStateSchema, ProductResearchCardSchema, ProductResearchCardActionsSchema, ProductResearchCardStateSchema, ProductSummarySchema, ProductSummaryActionsSchema, ProductSummaryStateSchema, QuerySummarySchema, QuerySummaryStateSchema, ProductSchema, RegularFacetSchema, RegularFacetActionsSchema, RegularFacetSearchSchema, RegularFacetSearchResultSchema, RegularFacetStateSchema, RegularFacetToggleExcludePayloadSchema, RegularFacetToggleSelectPayloadSchema, RegularFacetToggleSingleExcludePayloadSchema, RegularFacetToggleSingleSelectPayloadSchema, RegularFacetValueSchema, SelectActionPayloadSchema, SelectSearchOptionPayloadSchema, SelectPagePayloadSchema, SelectSortPayloadSchema, SetPageSizePayloadSchema, SortSchema, SortActionsSchema, SortCriterionSchema, SortStateSchema, BundleDisplayPropsSchema, CategoryFacetPropsSchema, CommerceSearchPropsSchema, ComparisonTablePropsSchema, DateFacetPropsSchema, FacetManagerPropsSchema, BreadboxPropsSchema, LayoutStackPropsSchema, NextActionsBarPropsSchema, NumericFacetPropsSchema, PageSizePropsSchema, PaginationPropsSchema, ProductCarouselPropsSchema, ProductListPropsSchema, ProductResearchCardPropsSchema, ProductSummaryPropsSchema, QuerySummaryPropsSchema, RegularFacetPropsSchema, SortPropsSchema, DataBindingSchema, FunctionCallSchema, DynamicNumberSchema, DynamicStringSchema, DynamicBooleanSchema, DynamicStringListSchema, DynamicValueSchema, DynamicActionSchema, BundleDisplayActionSchema, CategoryFacetActionSchema, CommerceSearchActionSchema, ComparisonTableActionSchema, DateFacetActionSchema, FacetManagerActionSchema, BreadboxActionSchema, LayoutStackActionSchema, NextActionsBarActionSchema, NumericFacetActionSchema, PageSizeActionSchema, PaginationActionSchema, ProductCarouselActionSchema, ProductListActionSchema, ProductResearchCardActionSchema, ProductSummaryActionSchema, QuerySummaryActionSchema, RegularFacetActionSchema, SortActionSchema, } from './schemas.js';
|
|
3
|
-
export type { ActionItem, FollowupActionItem, SearchActionItem, SearchOptionActionItem, Cart, CartActions, CartState, UpdateCart, UpdateCartPayload, CartUpdateOperation, Purchase, PurchasePayload, PurchaseProduct, Transaction, QuerySuggestions, QuerySuggestionsActions, QuerySuggestionsState, QueryCompletion, FetchSuggestions, FetchSuggestionsPayload, RestoreState, RestoreStatePayload, FacetRestore, NumericRangeRestore, OverrideCorrection, OverrideCorrectionPayload, ShowMore, ShowMorePayload, SelectProducts, SelectProductsPayload, ProductClick, ProductClickPayload, BundleDisplay, BundleDisplayState, BundleSlot, BundleTier, CategoryFacet, CategoryFacetActions, CategoryFacetValue, CategoryFacetSearch, CategoryFacetSearchPayload, CategoryFacetSelectPathPayload, CategoryFacetState, CategoryFacetValues, CommerceSearch, CommerceSearchActions, CommerceSearchState, SubmitQuery, SubmitQueryPayload, ComparisonAttribute, ComparisonProduct, ComparisonTable, ComparisonTableState, ComponentContracts, DateFacet, DateFacetActions, DateFacetApplyCustomRangePayload, DateFacetCustomRange, DateFacetState, DateFacetToggleSelectPayload, DateFacetToggleSingleSelectPayload, DateFacetValue, FacetManager, FacetManagerActions, FacetManagerState, Breadbox, BreadboxActions, BreadboxState, BreadboxFacet, BreadboxRegularFacet, BreadboxRegularFacetValue, BreadboxNumericalRangeFacet, BreadboxNumericalRangeFacetValue, BreadboxDateRangeFacet, BreadboxDateRangeFacetValue, BreadboxHierarchicalFacet, BreadboxDeselectPayload, BreadboxDeselectRegularValue, BreadboxDeselectNumericalRange, BreadboxDeselectDateRange, BreadboxDeselectHierarchicalPath, FacetValueState, SelectableFacetValueState, LayoutStack, LayoutStackState, NextActionsBar, NextActionsState, NumericFacet, NumericFacetActions, NumericFacetCustomRange, NumericFacetDomain, NumericFacetApplyCustomRangePayload, NumericFacetState, NumericFacetToggleSelectPayload, NumericFacetToggleSingleSelectPayload, NumericFacetValue, PageSize, PageSizeActions, PageSizeState, Pagination, PaginationActions, PaginationState, Product, ProductCarousel, ProductCarouselState, ProductList, ProductListActions, ProductListState, ProductResearchCard, ProductResearchCardActions, ProductResearchCardState, ProductSummary, ProductSummaryActions, ProductSummaryState, QuerySummary, QuerySummaryState, RegularFacet, RegularFacetActions, RegularFacetSearch, RegularFacetSearchResult, RegularFacetState, RegularFacetToggleExcludePayload, RegularFacetToggleSelectPayload, RegularFacetToggleSingleExcludePayload, RegularFacetToggleSingleSelectPayload, RegularFacetValue, SelectActionPayload, SelectSearchOptionPayload, SelectPagePayload, SelectSortPayload, SetPageSizePayload, Sort, SortActions, SortCriterion, SortState, DataBinding, FunctionCall, DynamicNumber, DynamicString, DynamicBoolean, DynamicStringList, DynamicValue, DynamicAction, BundleDisplayAction, CategoryFacetAction, CommerceSearchAction, ComparisonTableAction, DateFacetAction, FacetManagerAction, BreadboxAction, LayoutStackAction, NextActionsBarAction, NumericFacetAction, PageSizeAction, PaginationAction, ProductCarouselAction, ProductListAction, ProductResearchCardAction, ProductSummaryAction, QuerySummaryAction, RegularFacetAction, SortAction, BundleDisplayProps, CategoryFacetProps, CommerceSearchProps, ComparisonTableProps, DateFacetProps, FacetManagerProps, BreadboxProps, LayoutStackProps, NextActionsBarProps, NumericFacetProps, PageSizeProps, PaginationProps, ProductCarouselProps, ProductListProps, ProductResearchCardProps, ProductSummaryProps, QuerySummaryProps, RegularFacetProps, SortProps, } from './schemas.js';
|
|
2
|
+
export { ActionItemSchema, FollowupActionItemSchema, SearchActionItemSchema, SearchOptionActionItemSchema, CartSchema, CartActionsSchema, CartStateSchema, UpdateCartSchema, UpdateCartPayloadSchema, CartUpdateOperationSchema, PurchaseSchema, PurchasePayloadSchema, PurchaseProductSchema, TransactionSchema, QuerySuggestionsSchema, QuerySuggestionsActionsSchema, QuerySuggestionsStateSchema, QueryCompletionSchema, FetchSuggestionsSchema, FetchSuggestionsPayloadSchema, RestoreStateSchema, RestoreStatePayloadSchema, FacetRestoreSchema, NumericRangeRestoreSchema, OverrideCorrectionSchema, OverrideCorrectionPayloadSchema, ShowMoreSchema, ShowMorePayloadSchema, SelectProductsSchema, SelectProductsPayloadSchema, ProductClickSchema, ProductClickPayloadSchema, BundleDisplaySchema, BundleDisplayStateSchema, BundleSlotSchema, BundleTierSchema, CategoryFacetSchema, CategoryFacetActionsSchema, CategoryFacetValueSchema, CategoryFacetSearchSchema, CategoryFacetSearchPayloadSchema, CategoryFacetSelectPathPayloadSchema, CategoryFacetStateSchema, CategoryFacetValuesSchema, CommerceSearchSchema, CommerceSearchActionsSchema, CommerceSearchStateSchema, SubmitQuerySchema, SubmitQueryPayloadSchema, ComparisonAttributeSchema, ComparisonProductSchema, ComparisonTableSchema, ComparisonTableStateSchema, ComponentContractsSchema, DateFacetSchema, DateFacetActionsSchema, DateFacetApplyCustomRangePayloadSchema, DateFacetCustomRangeSchema, DateFacetStateSchema, DateFacetToggleSelectPayloadSchema, DateFacetToggleSingleSelectPayloadSchema, DateFacetValueSchema, FacetManagerSchema, FacetManagerActionsSchema, FacetManagerStateSchema, BreadboxSchema, BreadboxActionsSchema, BreadboxStateSchema, BreadboxFacetSchema, BreadboxRegularFacetSchema, BreadboxRegularFacetValueSchema, BreadboxNumericalRangeFacetSchema, BreadboxNumericalRangeFacetValueSchema, BreadboxDateRangeFacetSchema, BreadboxDateRangeFacetValueSchema, BreadboxHierarchicalFacetSchema, BreadboxDeselectPayloadSchema, BreadboxDeselectRegularValueSchema, BreadboxDeselectNumericalRangeSchema, BreadboxDeselectDateRangeSchema, BreadboxDeselectHierarchicalPathSchema, FacetValueStateSchema, SelectableFacetValueStateSchema, LayoutStackSchema, LayoutStackStateSchema, NextActionsBarSchema, NextActionsStateSchema, NumericFacetSchema, NumericFacetActionsSchema, NumericFacetCustomRangeSchema, NumericFacetDomainSchema, NumericFacetApplyCustomRangePayloadSchema, NumericFacetStateSchema, NumericFacetToggleSelectPayloadSchema, NumericFacetToggleSingleSelectPayloadSchema, NumericFacetValueSchema, PageSizeSchema, PageSizeActionsSchema, PageSizeStateSchema, PaginationSchema, PaginationActionsSchema, PaginationStateSchema, ProductCarouselSchema, ProductCarouselStateSchema, ProductListSchema, ProductListActionsSchema, ProductListStateSchema, ProductResearchCardSchema, ProductResearchCardActionsSchema, ProductResearchCardStateSchema, ProductSummarySchema, ProductSummaryActionsSchema, ProductSummaryStateSchema, QuerySummarySchema, QuerySummaryStateSchema, BadgeSchema, BadgePlacementSchema, ProductSchema, RegularFacetSchema, RegularFacetActionsSchema, RegularFacetSearchSchema, RegularFacetSearchResultSchema, RegularFacetStateSchema, RegularFacetToggleExcludePayloadSchema, RegularFacetToggleSelectPayloadSchema, RegularFacetToggleSingleExcludePayloadSchema, RegularFacetToggleSingleSelectPayloadSchema, RegularFacetValueSchema, SelectActionPayloadSchema, SelectSearchOptionPayloadSchema, SelectPagePayloadSchema, SelectSortPayloadSchema, SetPageSizePayloadSchema, SortSchema, SortActionsSchema, SortCriterionSchema, SortStateSchema, BundleDisplayPropsSchema, CategoryFacetPropsSchema, CommerceSearchPropsSchema, ComparisonTablePropsSchema, DateFacetPropsSchema, FacetManagerPropsSchema, BreadboxPropsSchema, LayoutStackPropsSchema, NextActionsBarPropsSchema, NumericFacetPropsSchema, PageSizePropsSchema, PaginationPropsSchema, ProductCarouselPropsSchema, ProductListPropsSchema, ProductResearchCardPropsSchema, ProductSummaryPropsSchema, QuerySummaryPropsSchema, RegularFacetPropsSchema, SortPropsSchema, DataBindingSchema, FunctionCallSchema, DynamicNumberSchema, DynamicStringSchema, DynamicBooleanSchema, DynamicStringListSchema, DynamicValueSchema, DynamicActionSchema, BundleDisplayActionSchema, CategoryFacetActionSchema, CommerceSearchActionSchema, ComparisonTableActionSchema, DateFacetActionSchema, FacetManagerActionSchema, BreadboxActionSchema, LayoutStackActionSchema, NextActionsBarActionSchema, NumericFacetActionSchema, PageSizeActionSchema, PaginationActionSchema, ProductCarouselActionSchema, ProductListActionSchema, ProductResearchCardActionSchema, ProductSummaryActionSchema, QuerySummaryActionSchema, RegularFacetActionSchema, SortActionSchema, } from './schemas.js';
|
|
3
|
+
export type { ActionItem, FollowupActionItem, SearchActionItem, SearchOptionActionItem, Cart, CartActions, CartState, UpdateCart, UpdateCartPayload, CartUpdateOperation, Purchase, PurchasePayload, PurchaseProduct, Transaction, QuerySuggestions, QuerySuggestionsActions, QuerySuggestionsState, QueryCompletion, FetchSuggestions, FetchSuggestionsPayload, RestoreState, RestoreStatePayload, FacetRestore, NumericRangeRestore, OverrideCorrection, OverrideCorrectionPayload, ShowMore, ShowMorePayload, SelectProducts, SelectProductsPayload, ProductClick, ProductClickPayload, BundleDisplay, BundleDisplayState, BundleSlot, BundleTier, CategoryFacet, CategoryFacetActions, CategoryFacetValue, CategoryFacetSearch, CategoryFacetSearchPayload, CategoryFacetSelectPathPayload, CategoryFacetState, CategoryFacetValues, CommerceSearch, CommerceSearchActions, CommerceSearchState, SubmitQuery, SubmitQueryPayload, ComparisonAttribute, ComparisonProduct, ComparisonTable, ComparisonTableState, ComponentContracts, DateFacet, DateFacetActions, DateFacetApplyCustomRangePayload, DateFacetCustomRange, DateFacetState, DateFacetToggleSelectPayload, DateFacetToggleSingleSelectPayload, DateFacetValue, FacetManager, FacetManagerActions, FacetManagerState, Breadbox, BreadboxActions, BreadboxState, BreadboxFacet, BreadboxRegularFacet, BreadboxRegularFacetValue, BreadboxNumericalRangeFacet, BreadboxNumericalRangeFacetValue, BreadboxDateRangeFacet, BreadboxDateRangeFacetValue, BreadboxHierarchicalFacet, BreadboxDeselectPayload, BreadboxDeselectRegularValue, BreadboxDeselectNumericalRange, BreadboxDeselectDateRange, BreadboxDeselectHierarchicalPath, FacetValueState, SelectableFacetValueState, LayoutStack, LayoutStackState, NextActionsBar, NextActionsState, NumericFacet, NumericFacetActions, NumericFacetCustomRange, NumericFacetDomain, NumericFacetApplyCustomRangePayload, NumericFacetState, NumericFacetToggleSelectPayload, NumericFacetToggleSingleSelectPayload, NumericFacetValue, PageSize, PageSizeActions, PageSizeState, Pagination, PaginationActions, PaginationState, Badge, BadgePlacement, Product, ProductCarousel, ProductCarouselState, ProductList, ProductListActions, ProductListState, ProductResearchCard, ProductResearchCardActions, ProductResearchCardState, ProductSummary, ProductSummaryActions, ProductSummaryState, QuerySummary, QuerySummaryState, RegularFacet, RegularFacetActions, RegularFacetSearch, RegularFacetSearchResult, RegularFacetState, RegularFacetToggleExcludePayload, RegularFacetToggleSelectPayload, RegularFacetToggleSingleExcludePayload, RegularFacetToggleSingleSelectPayload, RegularFacetValue, SelectActionPayload, SelectSearchOptionPayload, SelectPagePayload, SelectSortPayload, SetPageSizePayload, Sort, SortActions, SortCriterion, SortState, DataBinding, FunctionCall, DynamicNumber, DynamicString, DynamicBoolean, DynamicStringList, DynamicValue, DynamicAction, BundleDisplayAction, CategoryFacetAction, CommerceSearchAction, ComparisonTableAction, DateFacetAction, FacetManagerAction, BreadboxAction, LayoutStackAction, NextActionsBarAction, NumericFacetAction, PageSizeAction, PaginationAction, ProductCarouselAction, ProductListAction, ProductResearchCardAction, ProductSummaryAction, QuerySummaryAction, RegularFacetAction, SortAction, BundleDisplayProps, CategoryFacetProps, CommerceSearchProps, ComparisonTableProps, DateFacetProps, FacetManagerProps, BreadboxProps, LayoutStackProps, NextActionsBarProps, NumericFacetProps, PageSizeProps, PaginationProps, ProductCarouselProps, ProductListProps, ProductResearchCardProps, ProductSummaryProps, QuerySummaryProps, RegularFacetProps, SortProps, } from './schemas.js';
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
// of the default entry point against the Zod 3 schema build.
|
|
3
3
|
// Do not edit it directly; run `mise run generate` from the repository root.
|
|
4
4
|
export const THERMIDOR_CATALOG_ID = 'https://schema.thermidor.coveo.com/a2-ui/catalog.json';
|
|
5
|
-
export { ActionItemSchema, FollowupActionItemSchema, SearchActionItemSchema, SearchOptionActionItemSchema, CartSchema, CartActionsSchema, CartStateSchema, UpdateCartSchema, UpdateCartPayloadSchema, CartUpdateOperationSchema, PurchaseSchema, PurchasePayloadSchema, PurchaseProductSchema, TransactionSchema, QuerySuggestionsSchema, QuerySuggestionsActionsSchema, QuerySuggestionsStateSchema, QueryCompletionSchema, FetchSuggestionsSchema, FetchSuggestionsPayloadSchema, RestoreStateSchema, RestoreStatePayloadSchema, FacetRestoreSchema, NumericRangeRestoreSchema, OverrideCorrectionSchema, OverrideCorrectionPayloadSchema, ShowMoreSchema, ShowMorePayloadSchema, SelectProductsSchema, SelectProductsPayloadSchema, ProductClickSchema, ProductClickPayloadSchema, BundleDisplaySchema, BundleDisplayStateSchema, BundleSlotSchema, BundleTierSchema, CategoryFacetSchema, CategoryFacetActionsSchema, CategoryFacetValueSchema, CategoryFacetSearchSchema, CategoryFacetSearchPayloadSchema, CategoryFacetSelectPathPayloadSchema, CategoryFacetStateSchema, CategoryFacetValuesSchema, CommerceSearchSchema, CommerceSearchActionsSchema, CommerceSearchStateSchema, SubmitQuerySchema, SubmitQueryPayloadSchema, ComparisonAttributeSchema, ComparisonProductSchema, ComparisonTableSchema, ComparisonTableStateSchema, ComponentContractsSchema, DateFacetSchema, DateFacetActionsSchema, DateFacetApplyCustomRangePayloadSchema, DateFacetCustomRangeSchema, DateFacetStateSchema, DateFacetToggleSelectPayloadSchema, DateFacetToggleSingleSelectPayloadSchema, DateFacetValueSchema, FacetManagerSchema, FacetManagerActionsSchema, FacetManagerStateSchema, BreadboxSchema, BreadboxActionsSchema, BreadboxStateSchema, BreadboxFacetSchema, BreadboxRegularFacetSchema, BreadboxRegularFacetValueSchema, BreadboxNumericalRangeFacetSchema, BreadboxNumericalRangeFacetValueSchema, BreadboxDateRangeFacetSchema, BreadboxDateRangeFacetValueSchema, BreadboxHierarchicalFacetSchema, BreadboxDeselectPayloadSchema, BreadboxDeselectRegularValueSchema, BreadboxDeselectNumericalRangeSchema, BreadboxDeselectDateRangeSchema, BreadboxDeselectHierarchicalPathSchema, FacetValueStateSchema, SelectableFacetValueStateSchema, LayoutStackSchema, LayoutStackStateSchema, NextActionsBarSchema, NextActionsStateSchema, NumericFacetSchema, NumericFacetActionsSchema, NumericFacetCustomRangeSchema, NumericFacetDomainSchema, NumericFacetApplyCustomRangePayloadSchema, NumericFacetStateSchema, NumericFacetToggleSelectPayloadSchema, NumericFacetToggleSingleSelectPayloadSchema, NumericFacetValueSchema, PageSizeSchema, PageSizeActionsSchema, PageSizeStateSchema, PaginationSchema, PaginationActionsSchema, PaginationStateSchema, ProductCarouselSchema, ProductCarouselStateSchema, ProductListSchema, ProductListActionsSchema, ProductListStateSchema, ProductResearchCardSchema, ProductResearchCardActionsSchema, ProductResearchCardStateSchema, ProductSummarySchema, ProductSummaryActionsSchema, ProductSummaryStateSchema, QuerySummarySchema, QuerySummaryStateSchema, ProductSchema, RegularFacetSchema, RegularFacetActionsSchema, RegularFacetSearchSchema, RegularFacetSearchResultSchema, RegularFacetStateSchema, RegularFacetToggleExcludePayloadSchema, RegularFacetToggleSelectPayloadSchema, RegularFacetToggleSingleExcludePayloadSchema, RegularFacetToggleSingleSelectPayloadSchema, RegularFacetValueSchema, SelectActionPayloadSchema, SelectSearchOptionPayloadSchema, SelectPagePayloadSchema, SelectSortPayloadSchema, SetPageSizePayloadSchema, SortSchema, SortActionsSchema, SortCriterionSchema, SortStateSchema, BundleDisplayPropsSchema, CategoryFacetPropsSchema, CommerceSearchPropsSchema, ComparisonTablePropsSchema, DateFacetPropsSchema, FacetManagerPropsSchema, BreadboxPropsSchema, LayoutStackPropsSchema, NextActionsBarPropsSchema, NumericFacetPropsSchema, PageSizePropsSchema, PaginationPropsSchema, ProductCarouselPropsSchema, ProductListPropsSchema, ProductResearchCardPropsSchema, ProductSummaryPropsSchema, QuerySummaryPropsSchema, RegularFacetPropsSchema, SortPropsSchema, DataBindingSchema, FunctionCallSchema, DynamicNumberSchema, DynamicStringSchema, DynamicBooleanSchema, DynamicStringListSchema, DynamicValueSchema, DynamicActionSchema, BundleDisplayActionSchema, CategoryFacetActionSchema, CommerceSearchActionSchema, ComparisonTableActionSchema, DateFacetActionSchema, FacetManagerActionSchema, BreadboxActionSchema, LayoutStackActionSchema, NextActionsBarActionSchema, NumericFacetActionSchema, PageSizeActionSchema, PaginationActionSchema, ProductCarouselActionSchema, ProductListActionSchema, ProductResearchCardActionSchema, ProductSummaryActionSchema, QuerySummaryActionSchema, RegularFacetActionSchema, SortActionSchema, } from './schemas.js';
|
|
5
|
+
export { ActionItemSchema, FollowupActionItemSchema, SearchActionItemSchema, SearchOptionActionItemSchema, CartSchema, CartActionsSchema, CartStateSchema, UpdateCartSchema, UpdateCartPayloadSchema, CartUpdateOperationSchema, PurchaseSchema, PurchasePayloadSchema, PurchaseProductSchema, TransactionSchema, QuerySuggestionsSchema, QuerySuggestionsActionsSchema, QuerySuggestionsStateSchema, QueryCompletionSchema, FetchSuggestionsSchema, FetchSuggestionsPayloadSchema, RestoreStateSchema, RestoreStatePayloadSchema, FacetRestoreSchema, NumericRangeRestoreSchema, OverrideCorrectionSchema, OverrideCorrectionPayloadSchema, ShowMoreSchema, ShowMorePayloadSchema, SelectProductsSchema, SelectProductsPayloadSchema, ProductClickSchema, ProductClickPayloadSchema, BundleDisplaySchema, BundleDisplayStateSchema, BundleSlotSchema, BundleTierSchema, CategoryFacetSchema, CategoryFacetActionsSchema, CategoryFacetValueSchema, CategoryFacetSearchSchema, CategoryFacetSearchPayloadSchema, CategoryFacetSelectPathPayloadSchema, CategoryFacetStateSchema, CategoryFacetValuesSchema, CommerceSearchSchema, CommerceSearchActionsSchema, CommerceSearchStateSchema, SubmitQuerySchema, SubmitQueryPayloadSchema, ComparisonAttributeSchema, ComparisonProductSchema, ComparisonTableSchema, ComparisonTableStateSchema, ComponentContractsSchema, DateFacetSchema, DateFacetActionsSchema, DateFacetApplyCustomRangePayloadSchema, DateFacetCustomRangeSchema, DateFacetStateSchema, DateFacetToggleSelectPayloadSchema, DateFacetToggleSingleSelectPayloadSchema, DateFacetValueSchema, FacetManagerSchema, FacetManagerActionsSchema, FacetManagerStateSchema, BreadboxSchema, BreadboxActionsSchema, BreadboxStateSchema, BreadboxFacetSchema, BreadboxRegularFacetSchema, BreadboxRegularFacetValueSchema, BreadboxNumericalRangeFacetSchema, BreadboxNumericalRangeFacetValueSchema, BreadboxDateRangeFacetSchema, BreadboxDateRangeFacetValueSchema, BreadboxHierarchicalFacetSchema, BreadboxDeselectPayloadSchema, BreadboxDeselectRegularValueSchema, BreadboxDeselectNumericalRangeSchema, BreadboxDeselectDateRangeSchema, BreadboxDeselectHierarchicalPathSchema, FacetValueStateSchema, SelectableFacetValueStateSchema, LayoutStackSchema, LayoutStackStateSchema, NextActionsBarSchema, NextActionsStateSchema, NumericFacetSchema, NumericFacetActionsSchema, NumericFacetCustomRangeSchema, NumericFacetDomainSchema, NumericFacetApplyCustomRangePayloadSchema, NumericFacetStateSchema, NumericFacetToggleSelectPayloadSchema, NumericFacetToggleSingleSelectPayloadSchema, NumericFacetValueSchema, PageSizeSchema, PageSizeActionsSchema, PageSizeStateSchema, PaginationSchema, PaginationActionsSchema, PaginationStateSchema, ProductCarouselSchema, ProductCarouselStateSchema, ProductListSchema, ProductListActionsSchema, ProductListStateSchema, ProductResearchCardSchema, ProductResearchCardActionsSchema, ProductResearchCardStateSchema, ProductSummarySchema, ProductSummaryActionsSchema, ProductSummaryStateSchema, QuerySummarySchema, QuerySummaryStateSchema, BadgeSchema, BadgePlacementSchema, ProductSchema, RegularFacetSchema, RegularFacetActionsSchema, RegularFacetSearchSchema, RegularFacetSearchResultSchema, RegularFacetStateSchema, RegularFacetToggleExcludePayloadSchema, RegularFacetToggleSelectPayloadSchema, RegularFacetToggleSingleExcludePayloadSchema, RegularFacetToggleSingleSelectPayloadSchema, RegularFacetValueSchema, SelectActionPayloadSchema, SelectSearchOptionPayloadSchema, SelectPagePayloadSchema, SelectSortPayloadSchema, SetPageSizePayloadSchema, SortSchema, SortActionsSchema, SortCriterionSchema, SortStateSchema, BundleDisplayPropsSchema, CategoryFacetPropsSchema, CommerceSearchPropsSchema, ComparisonTablePropsSchema, DateFacetPropsSchema, FacetManagerPropsSchema, BreadboxPropsSchema, LayoutStackPropsSchema, NextActionsBarPropsSchema, NumericFacetPropsSchema, PageSizePropsSchema, PaginationPropsSchema, ProductCarouselPropsSchema, ProductListPropsSchema, ProductResearchCardPropsSchema, ProductSummaryPropsSchema, QuerySummaryPropsSchema, RegularFacetPropsSchema, SortPropsSchema, DataBindingSchema, FunctionCallSchema, DynamicNumberSchema, DynamicStringSchema, DynamicBooleanSchema, DynamicStringListSchema, DynamicValueSchema, DynamicActionSchema, BundleDisplayActionSchema, CategoryFacetActionSchema, CommerceSearchActionSchema, ComparisonTableActionSchema, DateFacetActionSchema, FacetManagerActionSchema, BreadboxActionSchema, LayoutStackActionSchema, NextActionsBarActionSchema, NumericFacetActionSchema, PageSizeActionSchema, PaginationActionSchema, ProductCarouselActionSchema, ProductListActionSchema, ProductResearchCardActionSchema, ProductSummaryActionSchema, QuerySummaryActionSchema, RegularFacetActionSchema, SortActionSchema, } from './schemas.js';
|