@coveo/thermidor-schema 1.0.0-beta.29 → 1.0.0-beta.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/schemas.d.ts +160 -130
- package/dist/generated/schemas.js +21 -20
- package/dist/generated/zod3/index.d.ts +2 -2
- package/dist/generated/zod3/index.js +1 -1
- package/dist/generated/zod3/schemas.d.ts +2049 -1701
- package/dist/generated/zod3/schemas.js +21 -20
- 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 -3
- package/schema/definitions/comparison-product.schema.json +7 -0
|
@@ -254,6 +254,15 @@ export declare const BundleSlotSchema: z.ZodObject<{
|
|
|
254
254
|
childId: z.ZodString;
|
|
255
255
|
}, z.core.$strict>;
|
|
256
256
|
export type BundleSlot = z.infer<typeof BundleSlotSchema>;
|
|
257
|
+
export declare const ProductResearchCardActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
258
|
+
export type ProductResearchCardActions = z.infer<typeof ProductResearchCardActionsSchema>;
|
|
259
|
+
export declare const ProductResearchRelatedDocumentSchema: z.ZodObject<{
|
|
260
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
261
|
+
filetype: z.ZodOptional<z.ZodString>;
|
|
262
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
263
|
+
title: z.ZodString;
|
|
264
|
+
}, z.core.$strict>;
|
|
265
|
+
export type ProductResearchRelatedDocument = z.infer<typeof ProductResearchRelatedDocumentSchema>;
|
|
257
266
|
export declare const ComparisonTableActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
258
267
|
export type ComparisonTableActions = z.infer<typeof ComparisonTableActionsSchema>;
|
|
259
268
|
export declare const ComparisonAttributeSchema: z.ZodObject<{
|
|
@@ -267,6 +276,12 @@ export declare const ComparisonProductSchema: z.ZodObject<{
|
|
|
267
276
|
price: z.ZodOptional<z.ZodNumber>;
|
|
268
277
|
productId: z.ZodString;
|
|
269
278
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
279
|
+
relatedDocuments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
280
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
281
|
+
filetype: z.ZodOptional<z.ZodString>;
|
|
282
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
283
|
+
title: z.ZodString;
|
|
284
|
+
}, z.core.$strict>>>;
|
|
270
285
|
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
271
286
|
}, z.core.$strict>;
|
|
272
287
|
export type ComparisonProduct = z.infer<typeof ComparisonProductSchema>;
|
|
@@ -348,15 +363,6 @@ export declare const ProductSummaryStateSchema: z.ZodObject<{
|
|
|
348
363
|
}, z.core.$strict>, z.ZodNull]>;
|
|
349
364
|
}, z.core.$strict>;
|
|
350
365
|
export type ProductSummaryState = z.infer<typeof ProductSummaryStateSchema>;
|
|
351
|
-
export declare const ProductResearchCardActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
352
|
-
export type ProductResearchCardActions = z.infer<typeof ProductResearchCardActionsSchema>;
|
|
353
|
-
export declare const ProductResearchRelatedDocumentSchema: z.ZodObject<{
|
|
354
|
-
clickUri: z.ZodOptional<z.ZodString>;
|
|
355
|
-
filetype: z.ZodOptional<z.ZodString>;
|
|
356
|
-
size: z.ZodOptional<z.ZodNumber>;
|
|
357
|
-
title: z.ZodString;
|
|
358
|
-
}, z.core.$strict>;
|
|
359
|
-
export type ProductResearchRelatedDocument = z.infer<typeof ProductResearchRelatedDocumentSchema>;
|
|
360
366
|
export declare const SelectPagePayloadSchema: z.ZodObject<{
|
|
361
367
|
page: z.ZodNumber;
|
|
362
368
|
}, z.core.$strict>;
|
|
@@ -787,6 +793,46 @@ export declare const BundleTierSchema: z.ZodObject<{
|
|
|
787
793
|
total: z.ZodNumber;
|
|
788
794
|
}, z.core.$strict>;
|
|
789
795
|
export type BundleTier = z.infer<typeof BundleTierSchema>;
|
|
796
|
+
export declare const ProductResearchCardStateSchema: z.ZodObject<{
|
|
797
|
+
bullets: z.ZodArray<z.ZodString>;
|
|
798
|
+
product: z.ZodObject<{
|
|
799
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
800
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
801
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
802
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
803
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
804
|
+
text: z.ZodString;
|
|
805
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
806
|
+
}, z.core.$strict>>;
|
|
807
|
+
placementId: z.ZodString;
|
|
808
|
+
}, z.core.$strict>>>;
|
|
809
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
810
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
811
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
812
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
813
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
814
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
815
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
816
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
817
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
818
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
819
|
+
ec_name: z.ZodString;
|
|
820
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
821
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
822
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
823
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
824
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
825
|
+
permanentid: z.ZodString;
|
|
826
|
+
}, z.core.$strict>;
|
|
827
|
+
relatedDocuments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
828
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
829
|
+
filetype: z.ZodOptional<z.ZodString>;
|
|
830
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
831
|
+
title: z.ZodString;
|
|
832
|
+
}, z.core.$strict>>>;
|
|
833
|
+
summary: z.ZodString;
|
|
834
|
+
}, z.core.$strict>;
|
|
835
|
+
export type ProductResearchCardState = z.infer<typeof ProductResearchCardStateSchema>;
|
|
790
836
|
export declare const ComparisonTableStateSchema: z.ZodObject<{
|
|
791
837
|
attributes: z.ZodArray<z.ZodObject<{
|
|
792
838
|
key: z.ZodString;
|
|
@@ -799,6 +845,12 @@ export declare const ComparisonTableStateSchema: z.ZodObject<{
|
|
|
799
845
|
price: z.ZodOptional<z.ZodNumber>;
|
|
800
846
|
productId: z.ZodString;
|
|
801
847
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
848
|
+
relatedDocuments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
849
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
850
|
+
filetype: z.ZodOptional<z.ZodString>;
|
|
851
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
852
|
+
title: z.ZodString;
|
|
853
|
+
}, z.core.$strict>>>;
|
|
802
854
|
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
803
855
|
}, z.core.$strict>>;
|
|
804
856
|
summary: z.ZodString;
|
|
@@ -857,46 +909,6 @@ export declare const ProductSummarySchema: z.ZodObject<{
|
|
|
857
909
|
}, z.core.$strict>>;
|
|
858
910
|
}, z.core.$loose>;
|
|
859
911
|
export type ProductSummary = z.infer<typeof ProductSummarySchema>;
|
|
860
|
-
export declare const ProductResearchCardStateSchema: z.ZodObject<{
|
|
861
|
-
bullets: z.ZodArray<z.ZodString>;
|
|
862
|
-
product: z.ZodObject<{
|
|
863
|
-
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
864
|
-
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
865
|
-
badges: z.ZodArray<z.ZodObject<{
|
|
866
|
-
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
867
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
868
|
-
text: z.ZodString;
|
|
869
|
-
textColor: z.ZodOptional<z.ZodString>;
|
|
870
|
-
}, z.core.$strict>>;
|
|
871
|
-
placementId: z.ZodString;
|
|
872
|
-
}, z.core.$strict>>>;
|
|
873
|
-
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
874
|
-
clickUri: z.ZodOptional<z.ZodString>;
|
|
875
|
-
ec_brand: z.ZodOptional<z.ZodString>;
|
|
876
|
-
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
877
|
-
ec_color: z.ZodOptional<z.ZodString>;
|
|
878
|
-
ec_description: z.ZodOptional<z.ZodString>;
|
|
879
|
-
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
880
|
-
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
881
|
-
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
882
|
-
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
883
|
-
ec_name: z.ZodString;
|
|
884
|
-
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
885
|
-
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
886
|
-
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
887
|
-
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
888
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
889
|
-
permanentid: z.ZodString;
|
|
890
|
-
}, z.core.$strict>;
|
|
891
|
-
relatedDocuments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
892
|
-
clickUri: z.ZodOptional<z.ZodString>;
|
|
893
|
-
filetype: z.ZodOptional<z.ZodString>;
|
|
894
|
-
size: z.ZodOptional<z.ZodNumber>;
|
|
895
|
-
title: z.ZodString;
|
|
896
|
-
}, z.core.$strict>>>;
|
|
897
|
-
summary: z.ZodString;
|
|
898
|
-
}, z.core.$strict>;
|
|
899
|
-
export type ProductResearchCardState = z.infer<typeof ProductResearchCardStateSchema>;
|
|
900
912
|
export declare const SelectPageSchema: z.ZodObject<{
|
|
901
913
|
payload: z.ZodObject<{
|
|
902
914
|
page: z.ZodNumber;
|
|
@@ -1249,44 +1261,6 @@ export declare const BundleDisplayStateSchema: z.ZodObject<{
|
|
|
1249
1261
|
}, z.core.$strict>>;
|
|
1250
1262
|
}, z.core.$strict>;
|
|
1251
1263
|
export type BundleDisplayState = z.infer<typeof BundleDisplayStateSchema>;
|
|
1252
|
-
export declare const ComparisonTableSchema: z.ZodObject<{
|
|
1253
|
-
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1254
|
-
component: z.ZodLiteral<"ComparisonTable">;
|
|
1255
|
-
id: z.ZodString;
|
|
1256
|
-
state: z.ZodOptional<z.ZodObject<{
|
|
1257
|
-
attributes: z.ZodArray<z.ZodObject<{
|
|
1258
|
-
key: z.ZodString;
|
|
1259
|
-
label: z.ZodString;
|
|
1260
|
-
}, z.core.$strict>>;
|
|
1261
|
-
heading: z.ZodString;
|
|
1262
|
-
products: z.ZodArray<z.ZodObject<{
|
|
1263
|
-
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1264
|
-
name: z.ZodString;
|
|
1265
|
-
price: z.ZodOptional<z.ZodNumber>;
|
|
1266
|
-
productId: z.ZodString;
|
|
1267
|
-
rating: z.ZodOptional<z.ZodNumber>;
|
|
1268
|
-
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1269
|
-
}, z.core.$strict>>;
|
|
1270
|
-
summary: z.ZodString;
|
|
1271
|
-
}, z.core.$strict>>;
|
|
1272
|
-
}, z.core.$loose>;
|
|
1273
|
-
export type ComparisonTable = z.infer<typeof ComparisonTableSchema>;
|
|
1274
|
-
export declare const ProductListActionsSchema: z.ZodObject<{
|
|
1275
|
-
productClick: z.ZodObject<{
|
|
1276
|
-
payload: z.ZodObject<{
|
|
1277
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1278
|
-
position: z.ZodNumber;
|
|
1279
|
-
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1280
|
-
productId: z.ZodString;
|
|
1281
|
-
}, z.core.$strict>;
|
|
1282
|
-
}, z.core.$strict>;
|
|
1283
|
-
selectProducts: z.ZodObject<{
|
|
1284
|
-
payload: z.ZodObject<{
|
|
1285
|
-
productIds: z.ZodArray<z.ZodString>;
|
|
1286
|
-
}, z.core.$strict>;
|
|
1287
|
-
}, z.core.$strict>;
|
|
1288
|
-
}, z.core.$strict>;
|
|
1289
|
-
export type ProductListActions = z.infer<typeof ProductListActionsSchema>;
|
|
1290
1264
|
export declare const ProductResearchCardSchema: z.ZodObject<{
|
|
1291
1265
|
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1292
1266
|
component: z.ZodLiteral<"ProductResearchCard">;
|
|
@@ -1332,6 +1306,50 @@ export declare const ProductResearchCardSchema: z.ZodObject<{
|
|
|
1332
1306
|
}, z.core.$strict>>;
|
|
1333
1307
|
}, z.core.$loose>;
|
|
1334
1308
|
export type ProductResearchCard = z.infer<typeof ProductResearchCardSchema>;
|
|
1309
|
+
export declare const ComparisonTableSchema: z.ZodObject<{
|
|
1310
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
1311
|
+
component: z.ZodLiteral<"ComparisonTable">;
|
|
1312
|
+
id: z.ZodString;
|
|
1313
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1314
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
1315
|
+
key: z.ZodString;
|
|
1316
|
+
label: z.ZodString;
|
|
1317
|
+
}, z.core.$strict>>;
|
|
1318
|
+
heading: z.ZodString;
|
|
1319
|
+
products: z.ZodArray<z.ZodObject<{
|
|
1320
|
+
imageUrl: z.ZodOptional<z.ZodString>;
|
|
1321
|
+
name: z.ZodString;
|
|
1322
|
+
price: z.ZodOptional<z.ZodNumber>;
|
|
1323
|
+
productId: z.ZodString;
|
|
1324
|
+
rating: z.ZodOptional<z.ZodNumber>;
|
|
1325
|
+
relatedDocuments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1326
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
1327
|
+
filetype: z.ZodOptional<z.ZodString>;
|
|
1328
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
1329
|
+
title: z.ZodString;
|
|
1330
|
+
}, z.core.$strict>>>;
|
|
1331
|
+
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1332
|
+
}, z.core.$strict>>;
|
|
1333
|
+
summary: z.ZodString;
|
|
1334
|
+
}, z.core.$strict>>;
|
|
1335
|
+
}, z.core.$loose>;
|
|
1336
|
+
export type ComparisonTable = z.infer<typeof ComparisonTableSchema>;
|
|
1337
|
+
export declare const ProductListActionsSchema: z.ZodObject<{
|
|
1338
|
+
productClick: z.ZodObject<{
|
|
1339
|
+
payload: z.ZodObject<{
|
|
1340
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1341
|
+
position: z.ZodNumber;
|
|
1342
|
+
price: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1343
|
+
productId: z.ZodString;
|
|
1344
|
+
}, z.core.$strict>;
|
|
1345
|
+
}, z.core.$strict>;
|
|
1346
|
+
selectProducts: z.ZodObject<{
|
|
1347
|
+
payload: z.ZodObject<{
|
|
1348
|
+
productIds: z.ZodArray<z.ZodString>;
|
|
1349
|
+
}, z.core.$strict>;
|
|
1350
|
+
}, z.core.$strict>;
|
|
1351
|
+
}, z.core.$strict>;
|
|
1352
|
+
export type ProductListActions = z.infer<typeof ProductListActionsSchema>;
|
|
1335
1353
|
export declare const PaginationActionsSchema: z.ZodObject<{
|
|
1336
1354
|
selectPage: z.ZodObject<{
|
|
1337
1355
|
payload: z.ZodObject<{
|
|
@@ -2486,6 +2504,49 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2486
2504
|
total: z.ZodNumber;
|
|
2487
2505
|
}, z.core.$strict>>;
|
|
2488
2506
|
}, z.core.$strict>>;
|
|
2507
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2508
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2509
|
+
component: z.ZodLiteral<"ProductResearchCard">;
|
|
2510
|
+
id: z.ZodString;
|
|
2511
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2512
|
+
bullets: z.ZodArray<z.ZodString>;
|
|
2513
|
+
product: z.ZodObject<{
|
|
2514
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2515
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2516
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
2517
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
2518
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2519
|
+
text: z.ZodString;
|
|
2520
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
2521
|
+
}, z.core.$strict>>;
|
|
2522
|
+
placementId: z.ZodString;
|
|
2523
|
+
}, z.core.$strict>>>;
|
|
2524
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
2525
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
2526
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
2527
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2528
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
2529
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
2530
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2531
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
2532
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
2533
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
2534
|
+
ec_name: z.ZodString;
|
|
2535
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
2536
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
2537
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2538
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
2539
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2540
|
+
permanentid: z.ZodString;
|
|
2541
|
+
}, z.core.$strict>;
|
|
2542
|
+
relatedDocuments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2543
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
2544
|
+
filetype: z.ZodOptional<z.ZodString>;
|
|
2545
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
2546
|
+
title: z.ZodString;
|
|
2547
|
+
}, z.core.$strict>>>;
|
|
2548
|
+
summary: z.ZodString;
|
|
2549
|
+
}, z.core.$strict>>;
|
|
2489
2550
|
}, z.core.$loose>, z.ZodObject<{
|
|
2490
2551
|
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2491
2552
|
component: z.ZodLiteral<"ComparisonTable">;
|
|
@@ -2502,6 +2563,12 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2502
2563
|
price: z.ZodOptional<z.ZodNumber>;
|
|
2503
2564
|
productId: z.ZodString;
|
|
2504
2565
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
2566
|
+
relatedDocuments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2567
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
2568
|
+
filetype: z.ZodOptional<z.ZodString>;
|
|
2569
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
2570
|
+
title: z.ZodString;
|
|
2571
|
+
}, z.core.$strict>>>;
|
|
2505
2572
|
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2506
2573
|
}, z.core.$strict>>;
|
|
2507
2574
|
summary: z.ZodString;
|
|
@@ -2591,49 +2658,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2591
2658
|
permanentid: z.ZodString;
|
|
2592
2659
|
}, z.core.$strict>, z.ZodNull]>;
|
|
2593
2660
|
}, z.core.$strict>>;
|
|
2594
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
2595
|
-
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2596
|
-
component: z.ZodLiteral<"ProductResearchCard">;
|
|
2597
|
-
id: z.ZodString;
|
|
2598
|
-
state: z.ZodOptional<z.ZodObject<{
|
|
2599
|
-
bullets: z.ZodArray<z.ZodString>;
|
|
2600
|
-
product: z.ZodObject<{
|
|
2601
|
-
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2602
|
-
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2603
|
-
badges: z.ZodArray<z.ZodObject<{
|
|
2604
|
-
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
2605
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2606
|
-
text: z.ZodString;
|
|
2607
|
-
textColor: z.ZodOptional<z.ZodString>;
|
|
2608
|
-
}, z.core.$strict>>;
|
|
2609
|
-
placementId: z.ZodString;
|
|
2610
|
-
}, z.core.$strict>>>;
|
|
2611
|
-
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
2612
|
-
clickUri: z.ZodOptional<z.ZodString>;
|
|
2613
|
-
ec_brand: z.ZodOptional<z.ZodString>;
|
|
2614
|
-
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2615
|
-
ec_color: z.ZodOptional<z.ZodString>;
|
|
2616
|
-
ec_description: z.ZodOptional<z.ZodString>;
|
|
2617
|
-
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2618
|
-
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
2619
|
-
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
2620
|
-
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
2621
|
-
ec_name: z.ZodString;
|
|
2622
|
-
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
2623
|
-
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
2624
|
-
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2625
|
-
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
2626
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2627
|
-
permanentid: z.ZodString;
|
|
2628
|
-
}, z.core.$strict>;
|
|
2629
|
-
relatedDocuments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2630
|
-
clickUri: z.ZodOptional<z.ZodString>;
|
|
2631
|
-
filetype: z.ZodOptional<z.ZodString>;
|
|
2632
|
-
size: z.ZodOptional<z.ZodNumber>;
|
|
2633
|
-
title: z.ZodString;
|
|
2634
|
-
}, z.core.$strict>>>;
|
|
2635
|
-
summary: z.ZodString;
|
|
2636
|
-
}, z.core.$strict>>;
|
|
2637
2661
|
}, z.core.$loose>, z.ZodObject<{
|
|
2638
2662
|
actions: z.ZodOptional<z.ZodObject<{
|
|
2639
2663
|
selectPage: z.ZodObject<{
|
|
@@ -3431,6 +3455,12 @@ export declare const ComparisonTablePropsSchema: z.ZodObject<{
|
|
|
3431
3455
|
price: z.ZodOptional<z.ZodNumber>;
|
|
3432
3456
|
productId: z.ZodString;
|
|
3433
3457
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
3458
|
+
relatedDocuments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3459
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
3460
|
+
filetype: z.ZodOptional<z.ZodString>;
|
|
3461
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
3462
|
+
title: z.ZodString;
|
|
3463
|
+
}, z.core.$strict>>>;
|
|
3434
3464
|
values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3435
3465
|
}, z.core.$strict>>, z.ZodObject<{
|
|
3436
3466
|
path: z.ZodString;
|
|
@@ -161,6 +161,13 @@ export const BundleSlotSchema = z.strictObject({
|
|
|
161
161
|
categoryLabel: z.string(),
|
|
162
162
|
childId: z.string(),
|
|
163
163
|
});
|
|
164
|
+
export const ProductResearchCardActionsSchema = z.strictObject({});
|
|
165
|
+
export const ProductResearchRelatedDocumentSchema = z.strictObject({
|
|
166
|
+
clickUri: z.string().optional(),
|
|
167
|
+
filetype: z.string().optional(),
|
|
168
|
+
size: z.number().int().min(0).optional(),
|
|
169
|
+
title: z.string(),
|
|
170
|
+
});
|
|
164
171
|
export const ComparisonTableActionsSchema = z.strictObject({});
|
|
165
172
|
export const ComparisonAttributeSchema = z.strictObject({
|
|
166
173
|
key: z.string(),
|
|
@@ -172,6 +179,7 @@ export const ComparisonProductSchema = z.strictObject({
|
|
|
172
179
|
price: z.number().optional(),
|
|
173
180
|
productId: z.string(),
|
|
174
181
|
rating: z.number().min(0).optional(),
|
|
182
|
+
relatedDocuments: z.array(ProductResearchRelatedDocumentSchema).optional(),
|
|
175
183
|
values: z.record(z.string(), z.string()).optional(),
|
|
176
184
|
});
|
|
177
185
|
export const ProductClickPayloadSchema = z.strictObject({
|
|
@@ -191,13 +199,6 @@ export const ProductSummaryStateSchema = z.strictObject({
|
|
|
191
199
|
categoryLabel: z.string(),
|
|
192
200
|
product: z.union([ProductSchema, z.null()]),
|
|
193
201
|
});
|
|
194
|
-
export const ProductResearchCardActionsSchema = z.strictObject({});
|
|
195
|
-
export const ProductResearchRelatedDocumentSchema = z.strictObject({
|
|
196
|
-
clickUri: z.string().optional(),
|
|
197
|
-
filetype: z.string().optional(),
|
|
198
|
-
size: z.number().int().min(0).optional(),
|
|
199
|
-
title: z.string(),
|
|
200
|
-
});
|
|
201
202
|
export const SelectPagePayloadSchema = z.strictObject({
|
|
202
203
|
page: z.number().int().min(0),
|
|
203
204
|
});
|
|
@@ -414,6 +415,12 @@ export const BundleTierSchema = z.strictObject({
|
|
|
414
415
|
slots: z.array(BundleSlotSchema),
|
|
415
416
|
total: z.number().min(0),
|
|
416
417
|
});
|
|
418
|
+
export const ProductResearchCardStateSchema = z.strictObject({
|
|
419
|
+
bullets: z.array(z.string().min(1)).min(1),
|
|
420
|
+
product: ProductSchema,
|
|
421
|
+
relatedDocuments: z.array(ProductResearchRelatedDocumentSchema).optional(),
|
|
422
|
+
summary: z.string().min(1),
|
|
423
|
+
});
|
|
417
424
|
export const ComparisonTableStateSchema = z.strictObject({
|
|
418
425
|
attributes: z.array(ComparisonAttributeSchema),
|
|
419
426
|
heading: z.string(),
|
|
@@ -432,12 +439,6 @@ export const ProductSummarySchema = z.looseObject({
|
|
|
432
439
|
id: z.string().min(1).regex(new RegExp('^[a-z][a-z0-9-]*$')),
|
|
433
440
|
state: ProductSummaryStateSchema.optional(),
|
|
434
441
|
});
|
|
435
|
-
export const ProductResearchCardStateSchema = z.strictObject({
|
|
436
|
-
bullets: z.array(z.string().min(1)).min(1),
|
|
437
|
-
product: ProductSchema,
|
|
438
|
-
relatedDocuments: z.array(ProductResearchRelatedDocumentSchema).optional(),
|
|
439
|
-
summary: z.string().min(1),
|
|
440
|
-
});
|
|
441
442
|
export const SelectPageSchema = z.strictObject({
|
|
442
443
|
payload: SelectPagePayloadSchema,
|
|
443
444
|
});
|
|
@@ -577,6 +578,12 @@ export const BundleDisplayStateSchema = z.strictObject({
|
|
|
577
578
|
heading: z.string().optional(),
|
|
578
579
|
tiers: z.array(BundleTierSchema),
|
|
579
580
|
});
|
|
581
|
+
export const ProductResearchCardSchema = z.looseObject({
|
|
582
|
+
actions: ProductResearchCardActionsSchema.optional(),
|
|
583
|
+
component: z.literal('ProductResearchCard'),
|
|
584
|
+
id: z.string().min(1).regex(new RegExp('^[a-z][a-z0-9-]*$')),
|
|
585
|
+
state: ProductResearchCardStateSchema.optional(),
|
|
586
|
+
});
|
|
580
587
|
export const ComparisonTableSchema = z.looseObject({
|
|
581
588
|
actions: ComparisonTableActionsSchema.optional(),
|
|
582
589
|
component: z.literal('ComparisonTable'),
|
|
@@ -587,12 +594,6 @@ export const ProductListActionsSchema = z.strictObject({
|
|
|
587
594
|
productClick: ProductClickSchema,
|
|
588
595
|
selectProducts: SelectProductsSchema,
|
|
589
596
|
});
|
|
590
|
-
export const ProductResearchCardSchema = z.looseObject({
|
|
591
|
-
actions: ProductResearchCardActionsSchema.optional(),
|
|
592
|
-
component: z.literal('ProductResearchCard'),
|
|
593
|
-
id: z.string().min(1).regex(new RegExp('^[a-z][a-z0-9-]*$')),
|
|
594
|
-
state: ProductResearchCardStateSchema.optional(),
|
|
595
|
-
});
|
|
596
597
|
export const PaginationActionsSchema = z.strictObject({
|
|
597
598
|
selectPage: SelectPageSchema,
|
|
598
599
|
setPageSize: PurpleSetPageSizeSchema,
|
|
@@ -775,10 +776,10 @@ export const ComponentContractsSchema = z.discriminatedUnion('component', [
|
|
|
775
776
|
QuerySuggestionsSchema,
|
|
776
777
|
NextActionsBarSchema,
|
|
777
778
|
BundleDisplaySchema,
|
|
779
|
+
ProductResearchCardSchema,
|
|
778
780
|
ComparisonTableSchema,
|
|
779
781
|
ProductListSchema,
|
|
780
782
|
ProductSummarySchema,
|
|
781
|
-
ProductResearchCardSchema,
|
|
782
783
|
PaginationSchema,
|
|
783
784
|
SortSchema,
|
|
784
785
|
RegularFacetSchema,
|
|
@@ -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, BadgeSchema, BadgePlacementSchema, ProductSchema, RegularFacetSchema, RegularFacetActionsSchema, RegularFacetSearchSchema, RegularFacetSearchResultSchema, RegularFacetStateSchema, RegularFacetToggleExcludePayloadSchema, RegularFacetToggleSelectPayloadSchema, RegularFacetToggleSingleExcludePayloadSchema, RegularFacetToggleSingleSelectPayloadSchema, RegularFacetValueSchema, SelectActionPayloadSchema, SelectSearchOptionPayloadSchema, SelectPagePayloadSchema, SelectSortPayloadSchema, SetPageSizePayloadSchema, SortSchema, SortActionsSchema, SortCriterionSchema, SortStateSchema, BundleDisplayPropsSchema, CartPropsSchema, CategoryFacetPropsSchema, CommerceSearchPropsSchema, ComparisonTablePropsSchema, DateFacetPropsSchema, FacetManagerPropsSchema, BreadboxPropsSchema, LayoutStackPropsSchema, NextActionsBarPropsSchema, NumericFacetPropsSchema, PageSizePropsSchema, PaginationPropsSchema, ProductCarouselPropsSchema, ProductListPropsSchema, ProductResearchCardPropsSchema, ProductSummaryPropsSchema, QuerySuggestionsPropsSchema, 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, CartProps, CategoryFacetProps, CommerceSearchProps, ComparisonTableProps, DateFacetProps, FacetManagerProps, BreadboxProps, LayoutStackProps, NextActionsBarProps, NumericFacetProps, PageSizeProps, PaginationProps, ProductCarouselProps, ProductListProps, ProductResearchCardProps, ProductSummaryProps, QuerySuggestionsProps, 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, ProductResearchRelatedDocumentSchema, 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, CartPropsSchema, CategoryFacetPropsSchema, CommerceSearchPropsSchema, ComparisonTablePropsSchema, DateFacetPropsSchema, FacetManagerPropsSchema, BreadboxPropsSchema, LayoutStackPropsSchema, NextActionsBarPropsSchema, NumericFacetPropsSchema, PageSizePropsSchema, PaginationPropsSchema, ProductCarouselPropsSchema, ProductListPropsSchema, ProductResearchCardPropsSchema, ProductSummaryPropsSchema, QuerySuggestionsPropsSchema, 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, ProductResearchRelatedDocument, 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, CartProps, CategoryFacetProps, CommerceSearchProps, ComparisonTableProps, DateFacetProps, FacetManagerProps, BreadboxProps, LayoutStackProps, NextActionsBarProps, NumericFacetProps, PageSizeProps, PaginationProps, ProductCarouselProps, ProductListProps, ProductResearchCardProps, ProductSummaryProps, QuerySuggestionsProps, 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, BadgeSchema, BadgePlacementSchema, ProductSchema, RegularFacetSchema, RegularFacetActionsSchema, RegularFacetSearchSchema, RegularFacetSearchResultSchema, RegularFacetStateSchema, RegularFacetToggleExcludePayloadSchema, RegularFacetToggleSelectPayloadSchema, RegularFacetToggleSingleExcludePayloadSchema, RegularFacetToggleSingleSelectPayloadSchema, RegularFacetValueSchema, SelectActionPayloadSchema, SelectSearchOptionPayloadSchema, SelectPagePayloadSchema, SelectSortPayloadSchema, SetPageSizePayloadSchema, SortSchema, SortActionsSchema, SortCriterionSchema, SortStateSchema, BundleDisplayPropsSchema, CartPropsSchema, CategoryFacetPropsSchema, CommerceSearchPropsSchema, ComparisonTablePropsSchema, DateFacetPropsSchema, FacetManagerPropsSchema, BreadboxPropsSchema, LayoutStackPropsSchema, NextActionsBarPropsSchema, NumericFacetPropsSchema, PageSizePropsSchema, PaginationPropsSchema, ProductCarouselPropsSchema, ProductListPropsSchema, ProductResearchCardPropsSchema, ProductSummaryPropsSchema, QuerySuggestionsPropsSchema, 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, ProductResearchRelatedDocumentSchema, 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, CartPropsSchema, CategoryFacetPropsSchema, CommerceSearchPropsSchema, ComparisonTablePropsSchema, DateFacetPropsSchema, FacetManagerPropsSchema, BreadboxPropsSchema, LayoutStackPropsSchema, NextActionsBarPropsSchema, NumericFacetPropsSchema, PageSizePropsSchema, PaginationPropsSchema, ProductCarouselPropsSchema, ProductListPropsSchema, ProductResearchCardPropsSchema, ProductSummaryPropsSchema, QuerySuggestionsPropsSchema, 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';
|