@coveo/thermidor-schema 1.0.0-beta.33 → 1.0.0-beta.37
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 +215 -0
- package/dist/generated/schemas.js +38 -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 +2036 -183
- package/dist/generated/zod3/schemas.js +38 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/schema/component-contracts.schema.json +3 -0
- package/schema/components/commerce-search.schema.json +7 -0
- package/schema/components/instant-products.schema.json +85 -0
- package/schema/components/search-box.schema.json +6 -2
|
@@ -227,6 +227,43 @@ export declare const QueryCompletionSchema: z.ZodObject<{
|
|
|
227
227
|
score: z.ZodOptional<z.ZodNumber>;
|
|
228
228
|
}, z.core.$strict>;
|
|
229
229
|
export type QueryCompletion = z.infer<typeof QueryCompletionSchema>;
|
|
230
|
+
export declare const FetchInstantProductsPayloadSchema: z.ZodObject<{
|
|
231
|
+
query: z.ZodString;
|
|
232
|
+
}, z.core.$strict>;
|
|
233
|
+
export type FetchInstantProductsPayload = z.infer<typeof FetchInstantProductsPayloadSchema>;
|
|
234
|
+
export declare const InstantProductsStateSchema: z.ZodObject<{
|
|
235
|
+
products: z.ZodArray<z.ZodObject<{
|
|
236
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
237
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
238
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
239
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
240
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
241
|
+
text: z.ZodString;
|
|
242
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
243
|
+
}, z.core.$strict>>;
|
|
244
|
+
placementId: z.ZodString;
|
|
245
|
+
}, z.core.$strict>>>;
|
|
246
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
247
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
248
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
249
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
250
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
251
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
252
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
253
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
254
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
255
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
256
|
+
ec_name: z.ZodString;
|
|
257
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
258
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
259
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
260
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
261
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
262
|
+
permanentid: z.ZodString;
|
|
263
|
+
}, z.core.$strict>>;
|
|
264
|
+
query: z.ZodString;
|
|
265
|
+
}, z.core.$strict>;
|
|
266
|
+
export type InstantProductsState = z.infer<typeof InstantProductsStateSchema>;
|
|
230
267
|
export declare const SelectActionPayloadSchema: z.ZodObject<{
|
|
231
268
|
text: z.ZodString;
|
|
232
269
|
type: z.ZodEnum<{
|
|
@@ -740,6 +777,12 @@ export declare const QuerySuggestionsStateSchema: z.ZodObject<{
|
|
|
740
777
|
query: z.ZodString;
|
|
741
778
|
}, z.core.$strict>;
|
|
742
779
|
export type QuerySuggestionsState = z.infer<typeof QuerySuggestionsStateSchema>;
|
|
780
|
+
export declare const FetchInstantProductsSchema: z.ZodObject<{
|
|
781
|
+
payload: z.ZodObject<{
|
|
782
|
+
query: z.ZodString;
|
|
783
|
+
}, z.core.$strict>;
|
|
784
|
+
}, z.core.$strict>;
|
|
785
|
+
export type FetchInstantProducts = z.infer<typeof FetchInstantProductsSchema>;
|
|
743
786
|
export declare const SelectActionSchema: z.ZodObject<{
|
|
744
787
|
payload: z.ZodObject<{
|
|
745
788
|
text: z.ZodString;
|
|
@@ -1166,6 +1209,7 @@ export declare const FacetRestoreSchema: z.ZodObject<{
|
|
|
1166
1209
|
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1167
1210
|
start: z.ZodNumber;
|
|
1168
1211
|
}, z.core.$strict>>>;
|
|
1212
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1169
1213
|
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1170
1214
|
}, z.core.$strict>;
|
|
1171
1215
|
export type FacetRestore = z.infer<typeof FacetRestoreSchema>;
|
|
@@ -1223,6 +1267,14 @@ export declare const QuerySuggestionsActionsSchema: z.ZodObject<{
|
|
|
1223
1267
|
}, z.core.$strict>;
|
|
1224
1268
|
}, z.core.$strict>;
|
|
1225
1269
|
export type QuerySuggestionsActions = z.infer<typeof QuerySuggestionsActionsSchema>;
|
|
1270
|
+
export declare const InstantProductsActionsSchema: z.ZodObject<{
|
|
1271
|
+
fetchInstantProducts: z.ZodObject<{
|
|
1272
|
+
payload: z.ZodObject<{
|
|
1273
|
+
query: z.ZodString;
|
|
1274
|
+
}, z.core.$strict>;
|
|
1275
|
+
}, z.core.$strict>;
|
|
1276
|
+
}, z.core.$strict>;
|
|
1277
|
+
export type InstantProductsActions = z.infer<typeof InstantProductsActionsSchema>;
|
|
1226
1278
|
export declare const NextActionsBarActionsSchema: z.ZodObject<{
|
|
1227
1279
|
selectAction: z.ZodObject<{
|
|
1228
1280
|
payload: z.ZodObject<{
|
|
@@ -1638,6 +1690,7 @@ export declare const RestoreStatePayloadSchema: z.ZodObject<{
|
|
|
1638
1690
|
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
1639
1691
|
start: z.ZodNumber;
|
|
1640
1692
|
}, z.core.$strict>>>;
|
|
1693
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1641
1694
|
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1642
1695
|
}, z.core.$strict>>>;
|
|
1643
1696
|
page: z.ZodNumber;
|
|
@@ -1704,6 +1757,50 @@ export declare const QuerySuggestionsSchema: z.ZodObject<{
|
|
|
1704
1757
|
}, z.core.$strict>>;
|
|
1705
1758
|
}, z.core.$loose>;
|
|
1706
1759
|
export type QuerySuggestions = z.infer<typeof QuerySuggestionsSchema>;
|
|
1760
|
+
export declare const InstantProductsSchema: z.ZodObject<{
|
|
1761
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1762
|
+
fetchInstantProducts: z.ZodObject<{
|
|
1763
|
+
payload: z.ZodObject<{
|
|
1764
|
+
query: z.ZodString;
|
|
1765
|
+
}, z.core.$strict>;
|
|
1766
|
+
}, z.core.$strict>;
|
|
1767
|
+
}, z.core.$strict>>;
|
|
1768
|
+
component: z.ZodLiteral<"InstantProducts">;
|
|
1769
|
+
id: z.ZodString;
|
|
1770
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1771
|
+
products: z.ZodArray<z.ZodObject<{
|
|
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>>>;
|
|
1782
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
1783
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
1784
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
1785
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1786
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
1787
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
1788
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1789
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
1790
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
1791
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
1792
|
+
ec_name: z.ZodString;
|
|
1793
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
1794
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
1795
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1796
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
1797
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1798
|
+
permanentid: z.ZodString;
|
|
1799
|
+
}, z.core.$strict>>;
|
|
1800
|
+
query: z.ZodString;
|
|
1801
|
+
}, z.core.$strict>>;
|
|
1802
|
+
}, z.core.$loose>;
|
|
1803
|
+
export type InstantProducts = z.infer<typeof InstantProductsSchema>;
|
|
1707
1804
|
export declare const NextActionsBarSchema: z.ZodObject<{
|
|
1708
1805
|
actions: z.ZodOptional<z.ZodObject<{
|
|
1709
1806
|
selectAction: z.ZodObject<{
|
|
@@ -2196,6 +2293,7 @@ export declare const RestoreStateSchema: z.ZodObject<{
|
|
|
2196
2293
|
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2197
2294
|
start: z.ZodNumber;
|
|
2198
2295
|
}, z.core.$strict>>>;
|
|
2296
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2199
2297
|
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2200
2298
|
}, z.core.$strict>>>;
|
|
2201
2299
|
page: z.ZodNumber;
|
|
@@ -2271,6 +2369,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
|
|
|
2271
2369
|
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2272
2370
|
start: z.ZodNumber;
|
|
2273
2371
|
}, z.core.$strict>>>;
|
|
2372
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2274
2373
|
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2275
2374
|
}, z.core.$strict>>>;
|
|
2276
2375
|
page: z.ZodNumber;
|
|
@@ -2303,6 +2402,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
|
|
|
2303
2402
|
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
2304
2403
|
start: z.ZodNumber;
|
|
2305
2404
|
}, z.core.$strict>>>;
|
|
2405
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2306
2406
|
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2307
2407
|
}, z.core.$strict>>>;
|
|
2308
2408
|
page: z.ZodNumber;
|
|
@@ -2414,6 +2514,48 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2414
2514
|
}, z.core.$strict>>;
|
|
2415
2515
|
query: z.ZodString;
|
|
2416
2516
|
}, z.core.$strict>>;
|
|
2517
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2518
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2519
|
+
fetchInstantProducts: z.ZodObject<{
|
|
2520
|
+
payload: z.ZodObject<{
|
|
2521
|
+
query: z.ZodString;
|
|
2522
|
+
}, z.core.$strict>;
|
|
2523
|
+
}, z.core.$strict>;
|
|
2524
|
+
}, z.core.$strict>>;
|
|
2525
|
+
component: z.ZodLiteral<"InstantProducts">;
|
|
2526
|
+
id: z.ZodString;
|
|
2527
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2528
|
+
products: z.ZodArray<z.ZodObject<{
|
|
2529
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2530
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2531
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
2532
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
2533
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2534
|
+
text: z.ZodString;
|
|
2535
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
2536
|
+
}, z.core.$strict>>;
|
|
2537
|
+
placementId: z.ZodString;
|
|
2538
|
+
}, z.core.$strict>>>;
|
|
2539
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
2540
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
2541
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
2542
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2543
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
2544
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
2545
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2546
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
2547
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
2548
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
2549
|
+
ec_name: z.ZodString;
|
|
2550
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
2551
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
2552
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2553
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
2554
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2555
|
+
permanentid: z.ZodString;
|
|
2556
|
+
}, z.core.$strict>>;
|
|
2557
|
+
query: z.ZodString;
|
|
2558
|
+
}, z.core.$strict>>;
|
|
2417
2559
|
}, z.core.$loose>, z.ZodObject<{
|
|
2418
2560
|
actions: z.ZodOptional<z.ZodObject<{
|
|
2419
2561
|
selectAction: z.ZodObject<{
|
|
@@ -3001,6 +3143,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
3001
3143
|
endInclusive: z.ZodOptional<z.ZodBoolean>;
|
|
3002
3144
|
start: z.ZodNumber;
|
|
3003
3145
|
}, z.core.$strict>>>;
|
|
3146
|
+
path: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3004
3147
|
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3005
3148
|
}, z.core.$strict>>>;
|
|
3006
3149
|
page: z.ZodNumber;
|
|
@@ -3586,6 +3729,66 @@ export declare const DateFacetPropsSchema: z.ZodObject<{
|
|
|
3586
3729
|
export declare const FacetManagerPropsSchema: z.ZodObject<{
|
|
3587
3730
|
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3588
3731
|
}, z.core.$strip>;
|
|
3732
|
+
export declare const InstantProductsPropsSchema: z.ZodObject<{
|
|
3733
|
+
query: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3734
|
+
path: z.ZodString;
|
|
3735
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3736
|
+
call: z.ZodString;
|
|
3737
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3738
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3739
|
+
any: "any";
|
|
3740
|
+
array: "array";
|
|
3741
|
+
boolean: "boolean";
|
|
3742
|
+
number: "number";
|
|
3743
|
+
object: "object";
|
|
3744
|
+
string: "string";
|
|
3745
|
+
void: "void";
|
|
3746
|
+
}>>;
|
|
3747
|
+
}, z.core.$strip>]>;
|
|
3748
|
+
products: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3749
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3750
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3751
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
3752
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
3753
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
3754
|
+
text: z.ZodString;
|
|
3755
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
3756
|
+
}, z.core.$strict>>;
|
|
3757
|
+
placementId: z.ZodString;
|
|
3758
|
+
}, z.core.$strict>>>;
|
|
3759
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
3760
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
3761
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
3762
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3763
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
3764
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
3765
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3766
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
3767
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
3768
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
3769
|
+
ec_name: z.ZodString;
|
|
3770
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
3771
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
3772
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3773
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
3774
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3775
|
+
permanentid: z.ZodString;
|
|
3776
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
3777
|
+
path: z.ZodString;
|
|
3778
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3779
|
+
call: z.ZodString;
|
|
3780
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3781
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3782
|
+
any: "any";
|
|
3783
|
+
array: "array";
|
|
3784
|
+
boolean: "boolean";
|
|
3785
|
+
number: "number";
|
|
3786
|
+
object: "object";
|
|
3787
|
+
string: "string";
|
|
3788
|
+
void: "void";
|
|
3789
|
+
}>>;
|
|
3790
|
+
}, z.core.$strip>]>;
|
|
3791
|
+
}, z.core.$strip>;
|
|
3589
3792
|
export declare const LayoutStackPropsSchema: z.ZodObject<{
|
|
3590
3793
|
direction: z.ZodOptional<z.ZodString>;
|
|
3591
3794
|
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -4314,6 +4517,7 @@ export declare const RegularFacetPropsSchema: z.ZodObject<{
|
|
|
4314
4517
|
}, z.core.$strip>;
|
|
4315
4518
|
export declare const SearchBoxPropsSchema: z.ZodObject<{
|
|
4316
4519
|
suggestionsChild: z.ZodOptional<z.ZodString>;
|
|
4520
|
+
instantProductsChild: z.ZodOptional<z.ZodString>;
|
|
4317
4521
|
}, z.core.$strip>;
|
|
4318
4522
|
export declare const SessionShellPropsSchema: z.ZodObject<{
|
|
4319
4523
|
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -4535,6 +4739,15 @@ export declare const DateFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
4535
4739
|
export type DateFacetAction = z.infer<typeof DateFacetActionSchema>;
|
|
4536
4740
|
export declare const FacetManagerActionSchema: z.ZodNever;
|
|
4537
4741
|
export type FacetManagerAction = never;
|
|
4742
|
+
export declare const InstantProductsActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4743
|
+
event: z.ZodObject<{
|
|
4744
|
+
name: z.ZodLiteral<"fetchInstantProducts">;
|
|
4745
|
+
context: z.ZodObject<{
|
|
4746
|
+
query: z.ZodString;
|
|
4747
|
+
}, z.core.$strict>;
|
|
4748
|
+
}, z.core.$strip>;
|
|
4749
|
+
}, z.core.$strip>]>;
|
|
4750
|
+
export type InstantProductsAction = z.infer<typeof InstantProductsActionSchema>;
|
|
4538
4751
|
export declare const LayoutStackActionSchema: z.ZodNever;
|
|
4539
4752
|
export type LayoutStackAction = never;
|
|
4540
4753
|
export declare const NextActionsBarActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -4768,6 +4981,7 @@ export type DateFacetProps = DateFacetState;
|
|
|
4768
4981
|
export type FacetManagerProps = {
|
|
4769
4982
|
children?: string[];
|
|
4770
4983
|
};
|
|
4984
|
+
export type InstantProductsProps = InstantProductsState;
|
|
4771
4985
|
export type LayoutStackProps = {
|
|
4772
4986
|
children?: string[];
|
|
4773
4987
|
};
|
|
@@ -4784,6 +4998,7 @@ export type QuerySummaryProps = QuerySummaryState;
|
|
|
4784
4998
|
export type RegularFacetProps = RegularFacetState;
|
|
4785
4999
|
export type SearchBoxProps = {
|
|
4786
5000
|
suggestionsChild?: string;
|
|
5001
|
+
instantProductsChild?: string;
|
|
4787
5002
|
};
|
|
4788
5003
|
export type SessionShellProps = {
|
|
4789
5004
|
children?: string[];
|
|
@@ -146,6 +146,13 @@ export const QueryCompletionSchema = z.strictObject({
|
|
|
146
146
|
expression: z.string(),
|
|
147
147
|
score: z.number().optional(),
|
|
148
148
|
});
|
|
149
|
+
export const FetchInstantProductsPayloadSchema = z.strictObject({
|
|
150
|
+
query: z.string(),
|
|
151
|
+
});
|
|
152
|
+
export const InstantProductsStateSchema = z.strictObject({
|
|
153
|
+
products: z.array(ProductSchema),
|
|
154
|
+
query: z.string(),
|
|
155
|
+
});
|
|
149
156
|
export const SelectActionPayloadSchema = z.strictObject({
|
|
150
157
|
text: z.string(),
|
|
151
158
|
type: z.enum(['followup', 'search']),
|
|
@@ -410,6 +417,9 @@ export const QuerySuggestionsStateSchema = z.strictObject({
|
|
|
410
417
|
completions: z.array(QueryCompletionSchema),
|
|
411
418
|
query: z.string(),
|
|
412
419
|
});
|
|
420
|
+
export const FetchInstantProductsSchema = z.strictObject({
|
|
421
|
+
payload: FetchInstantProductsPayloadSchema,
|
|
422
|
+
});
|
|
413
423
|
export const SelectActionSchema = z.strictObject({
|
|
414
424
|
payload: SelectActionPayloadSchema,
|
|
415
425
|
});
|
|
@@ -557,6 +567,7 @@ export const OverrideCorrectionSchema = z.strictObject({
|
|
|
557
567
|
export const FacetRestoreSchema = z.strictObject({
|
|
558
568
|
facetId: z.string().min(1),
|
|
559
569
|
numericRanges: z.array(NumericRangeRestoreSchema).optional(),
|
|
570
|
+
path: z.array(z.string()).optional(),
|
|
560
571
|
values: z.array(z.string()).optional(),
|
|
561
572
|
});
|
|
562
573
|
export const SubmitQuerySchema = z.strictObject({
|
|
@@ -583,6 +594,9 @@ export const PurchaseSchema = z.strictObject({
|
|
|
583
594
|
export const QuerySuggestionsActionsSchema = z.strictObject({
|
|
584
595
|
fetchSuggestions: FetchSuggestionsSchema,
|
|
585
596
|
});
|
|
597
|
+
export const InstantProductsActionsSchema = z.strictObject({
|
|
598
|
+
fetchInstantProducts: FetchInstantProductsSchema,
|
|
599
|
+
});
|
|
586
600
|
export const NextActionsBarActionsSchema = z.strictObject({
|
|
587
601
|
selectAction: SelectActionSchema,
|
|
588
602
|
selectSearchOption: SelectSearchOptionSchema,
|
|
@@ -700,6 +714,12 @@ export const QuerySuggestionsSchema = z.looseObject({
|
|
|
700
714
|
id: z.string().min(1).regex(new RegExp('^[a-z][a-z0-9-]*$')),
|
|
701
715
|
state: QuerySuggestionsStateSchema.optional(),
|
|
702
716
|
});
|
|
717
|
+
export const InstantProductsSchema = z.looseObject({
|
|
718
|
+
actions: InstantProductsActionsSchema.optional(),
|
|
719
|
+
component: z.literal('InstantProducts'),
|
|
720
|
+
id: z.string().min(1).regex(new RegExp('^[a-z][a-z0-9-]*$')),
|
|
721
|
+
state: InstantProductsStateSchema.optional(),
|
|
722
|
+
});
|
|
703
723
|
export const NextActionsBarSchema = z.looseObject({
|
|
704
724
|
actions: NextActionsBarActionsSchema.optional(),
|
|
705
725
|
component: z.literal('NextActionsBar'),
|
|
@@ -797,6 +817,7 @@ export const ComponentContractsSchema = z.discriminatedUnion('component', [
|
|
|
797
817
|
CartSchema,
|
|
798
818
|
SearchBoxSchema,
|
|
799
819
|
QuerySuggestionsSchema,
|
|
820
|
+
InstantProductsSchema,
|
|
800
821
|
NextActionsBarSchema,
|
|
801
822
|
BundleDisplaySchema,
|
|
802
823
|
ProductResearchCardSchema,
|
|
@@ -919,6 +940,14 @@ export const DateFacetPropsSchema = z.object({
|
|
|
919
940
|
export const FacetManagerPropsSchema = z.object({
|
|
920
941
|
children: z.array(z.string()).optional(),
|
|
921
942
|
});
|
|
943
|
+
export const InstantProductsPropsSchema = z.object({
|
|
944
|
+
query: DynamicStringSchema,
|
|
945
|
+
products: z.union([
|
|
946
|
+
InstantProductsStateSchema.shape['products'],
|
|
947
|
+
DataBindingSchema,
|
|
948
|
+
FunctionCallSchema,
|
|
949
|
+
]),
|
|
950
|
+
});
|
|
922
951
|
export const LayoutStackPropsSchema = z.object({
|
|
923
952
|
direction: z.string().optional(),
|
|
924
953
|
children: z.array(z.string()).optional(),
|
|
@@ -1023,6 +1052,7 @@ export const RegularFacetPropsSchema = z.object({
|
|
|
1023
1052
|
});
|
|
1024
1053
|
export const SearchBoxPropsSchema = z.object({
|
|
1025
1054
|
suggestionsChild: z.string().optional(),
|
|
1055
|
+
instantProductsChild: z.string().optional(),
|
|
1026
1056
|
});
|
|
1027
1057
|
export const SessionShellPropsSchema = z.object({
|
|
1028
1058
|
children: z.array(z.string()).optional(),
|
|
@@ -1139,6 +1169,14 @@ export const DateFacetActionSchema = z.union([
|
|
|
1139
1169
|
z.object({ event: z.object({ name: z.literal('showLessValues'), context: z.unknown() }) }),
|
|
1140
1170
|
]);
|
|
1141
1171
|
export const FacetManagerActionSchema = z.never();
|
|
1172
|
+
export const InstantProductsActionSchema = z.union([
|
|
1173
|
+
z.object({
|
|
1174
|
+
event: z.object({
|
|
1175
|
+
name: z.literal('fetchInstantProducts'),
|
|
1176
|
+
context: z.strictObject({ query: z.string() }),
|
|
1177
|
+
}),
|
|
1178
|
+
}),
|
|
1179
|
+
]);
|
|
1142
1180
|
export const LayoutStackActionSchema = z.never();
|
|
1143
1181
|
export const NextActionsBarActionSchema = z.union([
|
|
1144
1182
|
z.object({
|
|
@@ -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, SearchBoxSchema, SearchBoxStateSchema, SessionShellSchema, SessionShellActionsSchema, SessionShellStateSchema, InitializeSchema, InitializePayloadSchema, 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, SearchBoxPropsSchema, SessionShellPropsSchema, 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, SearchBoxActionSchema, SessionShellActionSchema, 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, SearchBox, SearchBoxState, SessionShell, SessionShellActions, SessionShellState, Initialize, InitializePayload, 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, SearchBoxAction, SessionShellAction, NextActionsBarAction, NumericFacetAction, PageSizeAction, PaginationAction, ProductCarouselAction, ProductListAction, ProductResearchCardAction, ProductSummaryAction, QuerySummaryAction, RegularFacetAction, SortAction, BundleDisplayProps, CartProps, CategoryFacetProps, CommerceSearchProps, ComparisonTableProps, DateFacetProps, FacetManagerProps, BreadboxProps, LayoutStackProps, SearchBoxProps, SessionShellProps, 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, InstantProductsSchema, InstantProductsActionsSchema, InstantProductsStateSchema, FetchInstantProductsSchema, FetchInstantProductsPayloadSchema, 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, SearchBoxSchema, SearchBoxStateSchema, SessionShellSchema, SessionShellActionsSchema, SessionShellStateSchema, InitializeSchema, InitializePayloadSchema, 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, InstantProductsPropsSchema, LayoutStackPropsSchema, SearchBoxPropsSchema, SessionShellPropsSchema, 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, InstantProductsActionSchema, LayoutStackActionSchema, SearchBoxActionSchema, SessionShellActionSchema, 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, InstantProducts, InstantProductsActions, InstantProductsState, FetchInstantProducts, FetchInstantProductsPayload, 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, SearchBox, SearchBoxState, SessionShell, SessionShellActions, SessionShellState, Initialize, InitializePayload, 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, InstantProductsAction, LayoutStackAction, SearchBoxAction, SessionShellAction, NextActionsBarAction, NumericFacetAction, PageSizeAction, PaginationAction, ProductCarouselAction, ProductListAction, ProductResearchCardAction, ProductSummaryAction, QuerySummaryAction, RegularFacetAction, SortAction, BundleDisplayProps, CartProps, CategoryFacetProps, CommerceSearchProps, ComparisonTableProps, DateFacetProps, FacetManagerProps, BreadboxProps, InstantProductsProps, LayoutStackProps, SearchBoxProps, SessionShellProps, 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, SearchBoxSchema, SearchBoxStateSchema, SessionShellSchema, SessionShellActionsSchema, SessionShellStateSchema, InitializeSchema, InitializePayloadSchema, 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, SearchBoxPropsSchema, SessionShellPropsSchema, 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, SearchBoxActionSchema, SessionShellActionSchema, 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, InstantProductsSchema, InstantProductsActionsSchema, InstantProductsStateSchema, FetchInstantProductsSchema, FetchInstantProductsPayloadSchema, 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, SearchBoxSchema, SearchBoxStateSchema, SessionShellSchema, SessionShellActionsSchema, SessionShellStateSchema, InitializeSchema, InitializePayloadSchema, 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, InstantProductsPropsSchema, LayoutStackPropsSchema, SearchBoxPropsSchema, SessionShellPropsSchema, 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, InstantProductsActionSchema, LayoutStackActionSchema, SearchBoxActionSchema, SessionShellActionSchema, NextActionsBarActionSchema, NumericFacetActionSchema, PageSizeActionSchema, PaginationActionSchema, ProductCarouselActionSchema, ProductListActionSchema, ProductResearchCardActionSchema, ProductSummaryActionSchema, QuerySummaryActionSchema, RegularFacetActionSchema, SortActionSchema, } from './schemas.js';
|