@coveo/thermidor-schema 1.0.0-beta.31 → 1.0.0-beta.33
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 +77 -130
- package/dist/generated/schemas.js +36 -7
- package/dist/generated/zod3/index.d.ts +2 -2
- package/dist/generated/zod3/index.js +1 -1
- package/dist/generated/zod3/schemas.d.ts +413 -1492
- package/dist/generated/zod3/schemas.js +36 -7
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/schema/component-contracts.schema.json +6 -0
- package/schema/components/next-actions-bar.schema.json +6 -2
- package/schema/components/query-suggestions.schema.json +3 -14
- package/schema/components/search-box.schema.json +43 -0
- package/schema/components/session-shell.schema.json +65 -0
- package/schema/definitions/search-option-action-item.schema.json +1 -1
|
@@ -214,6 +214,10 @@ export declare const UpdateCartPayloadSchema: z.ZodObject<{
|
|
|
214
214
|
export type UpdateCartPayload = z.infer<typeof UpdateCartPayloadSchema>;
|
|
215
215
|
export declare const CartStateSchema: z.ZodObject<{}, z.core.$strict>;
|
|
216
216
|
export type CartState = z.infer<typeof CartStateSchema>;
|
|
217
|
+
export declare const SearchBoxActionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
218
|
+
export type SearchBoxActions = z.infer<typeof SearchBoxActionsSchema>;
|
|
219
|
+
export declare const SearchBoxStateSchema: z.ZodObject<{}, z.core.$strict>;
|
|
220
|
+
export type SearchBoxState = z.infer<typeof SearchBoxStateSchema>;
|
|
217
221
|
export declare const FetchSuggestionsPayloadSchema: z.ZodObject<{
|
|
218
222
|
query: z.ZodString;
|
|
219
223
|
}, z.core.$strict>;
|
|
@@ -233,6 +237,7 @@ export declare const SelectActionPayloadSchema: z.ZodObject<{
|
|
|
233
237
|
export type SelectActionPayload = z.infer<typeof SelectActionPayloadSchema>;
|
|
234
238
|
export declare const SelectSearchOptionPayloadSchema: z.ZodObject<{
|
|
235
239
|
optionId: z.ZodString;
|
|
240
|
+
text: z.ZodString;
|
|
236
241
|
}, z.core.$strict>;
|
|
237
242
|
export type SelectSearchOptionPayload = z.infer<typeof SelectSearchOptionPayloadSchema>;
|
|
238
243
|
export declare const ActionItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -562,6 +567,10 @@ export declare const BreadboxFacetValueSchema: z.ZodObject<{
|
|
|
562
567
|
start: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
563
568
|
}, z.core.$strict>;
|
|
564
569
|
export type BreadboxFacetValue = z.infer<typeof BreadboxFacetValueSchema>;
|
|
570
|
+
export declare const InitializePayloadSchema: z.ZodObject<{}, z.core.$strict>;
|
|
571
|
+
export type InitializePayload = z.infer<typeof InitializePayloadSchema>;
|
|
572
|
+
export declare const SessionShellStateSchema: z.ZodObject<{}, z.core.$strict>;
|
|
573
|
+
export type SessionShellState = z.infer<typeof SessionShellStateSchema>;
|
|
565
574
|
export declare const OverrideCorrectionPayloadSchema: z.ZodObject<{
|
|
566
575
|
originalQuery: z.ZodString;
|
|
567
576
|
}, z.core.$strict>;
|
|
@@ -710,6 +719,13 @@ export declare const UpdateCartSchema: z.ZodObject<{
|
|
|
710
719
|
}, z.core.$strict>;
|
|
711
720
|
}, z.core.$strict>;
|
|
712
721
|
export type UpdateCart = z.infer<typeof UpdateCartSchema>;
|
|
722
|
+
export declare const SearchBoxSchema: z.ZodObject<{
|
|
723
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
724
|
+
component: z.ZodLiteral<"SearchBox">;
|
|
725
|
+
id: z.ZodString;
|
|
726
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
727
|
+
}, z.core.$loose>;
|
|
728
|
+
export type SearchBox = z.infer<typeof SearchBoxSchema>;
|
|
713
729
|
export declare const FetchSuggestionsSchema: z.ZodObject<{
|
|
714
730
|
payload: z.ZodObject<{
|
|
715
731
|
query: z.ZodString;
|
|
@@ -721,35 +737,6 @@ export declare const QuerySuggestionsStateSchema: z.ZodObject<{
|
|
|
721
737
|
expression: z.ZodString;
|
|
722
738
|
score: z.ZodOptional<z.ZodNumber>;
|
|
723
739
|
}, z.core.$strict>>;
|
|
724
|
-
products: z.ZodArray<z.ZodObject<{
|
|
725
|
-
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
726
|
-
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
727
|
-
badges: z.ZodArray<z.ZodObject<{
|
|
728
|
-
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
729
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
730
|
-
text: z.ZodString;
|
|
731
|
-
textColor: z.ZodOptional<z.ZodString>;
|
|
732
|
-
}, z.core.$strict>>;
|
|
733
|
-
placementId: z.ZodString;
|
|
734
|
-
}, z.core.$strict>>>;
|
|
735
|
-
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
736
|
-
clickUri: z.ZodOptional<z.ZodString>;
|
|
737
|
-
ec_brand: z.ZodOptional<z.ZodString>;
|
|
738
|
-
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
739
|
-
ec_color: z.ZodOptional<z.ZodString>;
|
|
740
|
-
ec_description: z.ZodOptional<z.ZodString>;
|
|
741
|
-
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
742
|
-
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
743
|
-
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
744
|
-
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
745
|
-
ec_name: z.ZodString;
|
|
746
|
-
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
747
|
-
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
748
|
-
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
749
|
-
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
750
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
751
|
-
permanentid: z.ZodString;
|
|
752
|
-
}, z.core.$strict>>;
|
|
753
740
|
query: z.ZodString;
|
|
754
741
|
}, z.core.$strict>;
|
|
755
742
|
export type QuerySuggestionsState = z.infer<typeof QuerySuggestionsStateSchema>;
|
|
@@ -766,6 +753,7 @@ export type SelectAction = z.infer<typeof SelectActionSchema>;
|
|
|
766
753
|
export declare const SelectSearchOptionSchema: z.ZodObject<{
|
|
767
754
|
payload: z.ZodObject<{
|
|
768
755
|
optionId: z.ZodString;
|
|
756
|
+
text: z.ZodString;
|
|
769
757
|
}, z.core.$strict>;
|
|
770
758
|
}, z.core.$strict>;
|
|
771
759
|
export type SelectSearchOption = z.infer<typeof SelectSearchOptionSchema>;
|
|
@@ -1161,6 +1149,10 @@ export declare const BreadboxFacetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1161
1149
|
type: z.ZodLiteral<"hierarchical">;
|
|
1162
1150
|
}, z.core.$strict>], "type">;
|
|
1163
1151
|
export type BreadboxFacet = z.infer<typeof BreadboxFacetSchema>;
|
|
1152
|
+
export declare const InitializeSchema: z.ZodObject<{
|
|
1153
|
+
payload: z.ZodObject<{}, z.core.$strict>;
|
|
1154
|
+
}, z.core.$strict>;
|
|
1155
|
+
export type Initialize = z.infer<typeof InitializeSchema>;
|
|
1164
1156
|
export declare const OverrideCorrectionSchema: z.ZodObject<{
|
|
1165
1157
|
payload: z.ZodObject<{
|
|
1166
1158
|
originalQuery: z.ZodString;
|
|
@@ -1244,6 +1236,7 @@ export declare const NextActionsBarActionsSchema: z.ZodObject<{
|
|
|
1244
1236
|
selectSearchOption: z.ZodObject<{
|
|
1245
1237
|
payload: z.ZodObject<{
|
|
1246
1238
|
optionId: z.ZodString;
|
|
1239
|
+
text: z.ZodString;
|
|
1247
1240
|
}, z.core.$strict>;
|
|
1248
1241
|
}, z.core.$strict>;
|
|
1249
1242
|
}, z.core.$strict>;
|
|
@@ -1631,6 +1624,12 @@ export declare const BreadboxStateSchema: z.ZodObject<{
|
|
|
1631
1624
|
}, z.core.$strict>], "type">>;
|
|
1632
1625
|
}, z.core.$strict>;
|
|
1633
1626
|
export type BreadboxState = z.infer<typeof BreadboxStateSchema>;
|
|
1627
|
+
export declare const SessionShellActionsSchema: z.ZodObject<{
|
|
1628
|
+
initialize: z.ZodObject<{
|
|
1629
|
+
payload: z.ZodObject<{}, z.core.$strict>;
|
|
1630
|
+
}, z.core.$strict>;
|
|
1631
|
+
}, z.core.$strict>;
|
|
1632
|
+
export type SessionShellActions = z.infer<typeof SessionShellActionsSchema>;
|
|
1634
1633
|
export declare const RestoreStatePayloadSchema: z.ZodObject<{
|
|
1635
1634
|
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1636
1635
|
facetId: z.ZodString;
|
|
@@ -1701,35 +1700,6 @@ export declare const QuerySuggestionsSchema: z.ZodObject<{
|
|
|
1701
1700
|
expression: z.ZodString;
|
|
1702
1701
|
score: z.ZodOptional<z.ZodNumber>;
|
|
1703
1702
|
}, z.core.$strict>>;
|
|
1704
|
-
products: z.ZodArray<z.ZodObject<{
|
|
1705
|
-
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1706
|
-
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1707
|
-
badges: z.ZodArray<z.ZodObject<{
|
|
1708
|
-
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
1709
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1710
|
-
text: z.ZodString;
|
|
1711
|
-
textColor: z.ZodOptional<z.ZodString>;
|
|
1712
|
-
}, z.core.$strict>>;
|
|
1713
|
-
placementId: z.ZodString;
|
|
1714
|
-
}, z.core.$strict>>>;
|
|
1715
|
-
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
1716
|
-
clickUri: z.ZodOptional<z.ZodString>;
|
|
1717
|
-
ec_brand: z.ZodOptional<z.ZodString>;
|
|
1718
|
-
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1719
|
-
ec_color: z.ZodOptional<z.ZodString>;
|
|
1720
|
-
ec_description: z.ZodOptional<z.ZodString>;
|
|
1721
|
-
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1722
|
-
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
1723
|
-
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
1724
|
-
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
1725
|
-
ec_name: z.ZodString;
|
|
1726
|
-
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
1727
|
-
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
1728
|
-
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1729
|
-
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
1730
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1731
|
-
permanentid: z.ZodString;
|
|
1732
|
-
}, z.core.$strict>>;
|
|
1733
1703
|
query: z.ZodString;
|
|
1734
1704
|
}, z.core.$strict>>;
|
|
1735
1705
|
}, z.core.$loose>;
|
|
@@ -1748,6 +1718,7 @@ export declare const NextActionsBarSchema: z.ZodObject<{
|
|
|
1748
1718
|
selectSearchOption: z.ZodObject<{
|
|
1749
1719
|
payload: z.ZodObject<{
|
|
1750
1720
|
optionId: z.ZodString;
|
|
1721
|
+
text: z.ZodString;
|
|
1751
1722
|
}, z.core.$strict>;
|
|
1752
1723
|
}, z.core.$strict>;
|
|
1753
1724
|
}, z.core.$strict>>;
|
|
@@ -2205,6 +2176,17 @@ export declare const BreadboxSchema: z.ZodObject<{
|
|
|
2205
2176
|
}, z.core.$strict>>;
|
|
2206
2177
|
}, z.core.$loose>;
|
|
2207
2178
|
export type Breadbox = z.infer<typeof BreadboxSchema>;
|
|
2179
|
+
export declare const SessionShellSchema: z.ZodObject<{
|
|
2180
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2181
|
+
initialize: z.ZodObject<{
|
|
2182
|
+
payload: z.ZodObject<{}, z.core.$strict>;
|
|
2183
|
+
}, z.core.$strict>;
|
|
2184
|
+
}, z.core.$strict>>;
|
|
2185
|
+
component: z.ZodLiteral<"SessionShell">;
|
|
2186
|
+
id: z.ZodString;
|
|
2187
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2188
|
+
}, z.core.$loose>;
|
|
2189
|
+
export type SessionShell = z.infer<typeof SessionShellSchema>;
|
|
2208
2190
|
export declare const RestoreStateSchema: z.ZodObject<{
|
|
2209
2191
|
payload: z.ZodObject<{
|
|
2210
2192
|
facets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2410,6 +2392,11 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2410
2392
|
component: z.ZodLiteral<"Cart">;
|
|
2411
2393
|
id: z.ZodString;
|
|
2412
2394
|
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2395
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2396
|
+
actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2397
|
+
component: z.ZodLiteral<"SearchBox">;
|
|
2398
|
+
id: z.ZodString;
|
|
2399
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
2413
2400
|
}, z.core.$loose>, z.ZodObject<{
|
|
2414
2401
|
actions: z.ZodOptional<z.ZodObject<{
|
|
2415
2402
|
fetchSuggestions: z.ZodObject<{
|
|
@@ -2425,35 +2412,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2425
2412
|
expression: z.ZodString;
|
|
2426
2413
|
score: z.ZodOptional<z.ZodNumber>;
|
|
2427
2414
|
}, z.core.$strict>>;
|
|
2428
|
-
products: z.ZodArray<z.ZodObject<{
|
|
2429
|
-
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2430
|
-
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2431
|
-
badges: z.ZodArray<z.ZodObject<{
|
|
2432
|
-
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
2433
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2434
|
-
text: z.ZodString;
|
|
2435
|
-
textColor: z.ZodOptional<z.ZodString>;
|
|
2436
|
-
}, z.core.$strict>>;
|
|
2437
|
-
placementId: z.ZodString;
|
|
2438
|
-
}, z.core.$strict>>>;
|
|
2439
|
-
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
2440
|
-
clickUri: z.ZodOptional<z.ZodString>;
|
|
2441
|
-
ec_brand: z.ZodOptional<z.ZodString>;
|
|
2442
|
-
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2443
|
-
ec_color: z.ZodOptional<z.ZodString>;
|
|
2444
|
-
ec_description: z.ZodOptional<z.ZodString>;
|
|
2445
|
-
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2446
|
-
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
2447
|
-
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
2448
|
-
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
2449
|
-
ec_name: z.ZodString;
|
|
2450
|
-
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
2451
|
-
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
2452
|
-
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2453
|
-
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
2454
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2455
|
-
permanentid: z.ZodString;
|
|
2456
|
-
}, z.core.$strict>>;
|
|
2457
2415
|
query: z.ZodString;
|
|
2458
2416
|
}, z.core.$strict>>;
|
|
2459
2417
|
}, z.core.$loose>, z.ZodObject<{
|
|
@@ -2470,6 +2428,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2470
2428
|
selectSearchOption: z.ZodObject<{
|
|
2471
2429
|
payload: z.ZodObject<{
|
|
2472
2430
|
optionId: z.ZodString;
|
|
2431
|
+
text: z.ZodString;
|
|
2473
2432
|
}, z.core.$strict>;
|
|
2474
2433
|
}, z.core.$strict>;
|
|
2475
2434
|
}, z.core.$strict>>;
|
|
@@ -3017,6 +2976,15 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
3017
2976
|
type: z.ZodLiteral<"hierarchical">;
|
|
3018
2977
|
}, z.core.$strict>], "type">>;
|
|
3019
2978
|
}, z.core.$strict>>;
|
|
2979
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2980
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2981
|
+
initialize: z.ZodObject<{
|
|
2982
|
+
payload: z.ZodObject<{}, z.core.$strict>;
|
|
2983
|
+
}, z.core.$strict>;
|
|
2984
|
+
}, z.core.$strict>>;
|
|
2985
|
+
component: z.ZodLiteral<"SessionShell">;
|
|
2986
|
+
id: z.ZodString;
|
|
2987
|
+
state: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
|
|
3020
2988
|
}, z.core.$loose>, z.ZodObject<{
|
|
3021
2989
|
actions: z.ZodOptional<z.ZodObject<{
|
|
3022
2990
|
overrideCorrection: z.ZodObject<{
|
|
@@ -4159,49 +4127,6 @@ export declare const QuerySuggestionsPropsSchema: z.ZodObject<{
|
|
|
4159
4127
|
void: "void";
|
|
4160
4128
|
}>>;
|
|
4161
4129
|
}, z.core.$strip>]>;
|
|
4162
|
-
products: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
4163
|
-
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4164
|
-
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4165
|
-
badges: z.ZodArray<z.ZodObject<{
|
|
4166
|
-
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
4167
|
-
iconUrl: z.ZodOptional<z.ZodString>;
|
|
4168
|
-
text: z.ZodString;
|
|
4169
|
-
textColor: z.ZodOptional<z.ZodString>;
|
|
4170
|
-
}, z.core.$strict>>;
|
|
4171
|
-
placementId: z.ZodString;
|
|
4172
|
-
}, z.core.$strict>>>;
|
|
4173
|
-
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
4174
|
-
clickUri: z.ZodOptional<z.ZodString>;
|
|
4175
|
-
ec_brand: z.ZodOptional<z.ZodString>;
|
|
4176
|
-
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4177
|
-
ec_color: z.ZodOptional<z.ZodString>;
|
|
4178
|
-
ec_description: z.ZodOptional<z.ZodString>;
|
|
4179
|
-
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4180
|
-
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
4181
|
-
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
4182
|
-
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
4183
|
-
ec_name: z.ZodString;
|
|
4184
|
-
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
4185
|
-
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
4186
|
-
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4187
|
-
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
4188
|
-
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4189
|
-
permanentid: z.ZodString;
|
|
4190
|
-
}, z.core.$strict>>, z.ZodObject<{
|
|
4191
|
-
path: z.ZodString;
|
|
4192
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4193
|
-
call: z.ZodString;
|
|
4194
|
-
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
4195
|
-
returnType: z.ZodDefault<z.ZodEnum<{
|
|
4196
|
-
any: "any";
|
|
4197
|
-
array: "array";
|
|
4198
|
-
boolean: "boolean";
|
|
4199
|
-
number: "number";
|
|
4200
|
-
object: "object";
|
|
4201
|
-
string: "string";
|
|
4202
|
-
void: "void";
|
|
4203
|
-
}>>;
|
|
4204
|
-
}, z.core.$strip>]>;
|
|
4205
4130
|
}, z.core.$strip>;
|
|
4206
4131
|
export declare const QuerySummaryPropsSchema: z.ZodObject<{
|
|
4207
4132
|
query: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
@@ -4387,6 +4312,12 @@ export declare const RegularFacetPropsSchema: z.ZodObject<{
|
|
|
4387
4312
|
}>>;
|
|
4388
4313
|
}, z.core.$strip>]>;
|
|
4389
4314
|
}, z.core.$strip>;
|
|
4315
|
+
export declare const SearchBoxPropsSchema: z.ZodObject<{
|
|
4316
|
+
suggestionsChild: z.ZodOptional<z.ZodString>;
|
|
4317
|
+
}, z.core.$strip>;
|
|
4318
|
+
export declare const SessionShellPropsSchema: z.ZodObject<{
|
|
4319
|
+
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4320
|
+
}, z.core.$strip>;
|
|
4390
4321
|
export declare const SortPropsSchema: z.ZodObject<{
|
|
4391
4322
|
appliedSort: z.ZodUnion<readonly [z.ZodObject<{
|
|
4392
4323
|
fields: z.ZodArray<z.ZodUnknown>;
|
|
@@ -4622,6 +4553,7 @@ export declare const NextActionsBarActionSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
4622
4553
|
name: z.ZodLiteral<"selectSearchOption">;
|
|
4623
4554
|
context: z.ZodObject<{
|
|
4624
4555
|
optionId: z.ZodString;
|
|
4556
|
+
text: z.ZodString;
|
|
4625
4557
|
}, z.core.$strict>;
|
|
4626
4558
|
}, z.core.$strip>;
|
|
4627
4559
|
}, z.core.$strip>]>;
|
|
@@ -4795,6 +4727,15 @@ export declare const RegularFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<
|
|
|
4795
4727
|
}, z.core.$strip>;
|
|
4796
4728
|
}, z.core.$strip>]>;
|
|
4797
4729
|
export type RegularFacetAction = z.infer<typeof RegularFacetActionSchema>;
|
|
4730
|
+
export declare const SearchBoxActionSchema: z.ZodNever;
|
|
4731
|
+
export type SearchBoxAction = never;
|
|
4732
|
+
export declare const SessionShellActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4733
|
+
event: z.ZodObject<{
|
|
4734
|
+
name: z.ZodLiteral<"initialize">;
|
|
4735
|
+
context: z.ZodObject<{}, z.core.$strict>;
|
|
4736
|
+
}, z.core.$strip>;
|
|
4737
|
+
}, z.core.$strip>]>;
|
|
4738
|
+
export type SessionShellAction = z.infer<typeof SessionShellActionSchema>;
|
|
4798
4739
|
export declare const SortActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4799
4740
|
event: z.ZodObject<{
|
|
4800
4741
|
name: z.ZodLiteral<"selectSort">;
|
|
@@ -4841,4 +4782,10 @@ export type ProductSummaryProps = ProductSummaryState;
|
|
|
4841
4782
|
export type QuerySuggestionsProps = QuerySuggestionsState;
|
|
4842
4783
|
export type QuerySummaryProps = QuerySummaryState;
|
|
4843
4784
|
export type RegularFacetProps = RegularFacetState;
|
|
4785
|
+
export type SearchBoxProps = {
|
|
4786
|
+
suggestionsChild?: string;
|
|
4787
|
+
};
|
|
4788
|
+
export type SessionShellProps = {
|
|
4789
|
+
children?: string[];
|
|
4790
|
+
};
|
|
4844
4791
|
export type SortProps = SortState;
|
|
@@ -137,6 +137,8 @@ export const UpdateCartPayloadSchema = z.strictObject({
|
|
|
137
137
|
quantity: z.number().int().min(1),
|
|
138
138
|
});
|
|
139
139
|
export const CartStateSchema = z.strictObject({});
|
|
140
|
+
export const SearchBoxActionsSchema = z.strictObject({});
|
|
141
|
+
export const SearchBoxStateSchema = z.strictObject({});
|
|
140
142
|
export const FetchSuggestionsPayloadSchema = z.strictObject({
|
|
141
143
|
query: z.string(),
|
|
142
144
|
});
|
|
@@ -150,6 +152,7 @@ export const SelectActionPayloadSchema = z.strictObject({
|
|
|
150
152
|
});
|
|
151
153
|
export const SelectSearchOptionPayloadSchema = z.strictObject({
|
|
152
154
|
optionId: z.string().min(1),
|
|
155
|
+
text: z.string(),
|
|
153
156
|
});
|
|
154
157
|
export const ActionItemSchema = z.discriminatedUnion('type', [
|
|
155
158
|
FollowupActionItemSchema,
|
|
@@ -327,6 +330,8 @@ export const BreadboxFacetValueSchema = z.strictObject({
|
|
|
327
330
|
end: z.union([z.number(), z.string()]).optional(),
|
|
328
331
|
start: z.union([z.number(), z.string()]).optional(),
|
|
329
332
|
});
|
|
333
|
+
export const InitializePayloadSchema = z.strictObject({});
|
|
334
|
+
export const SessionShellStateSchema = z.strictObject({});
|
|
330
335
|
export const OverrideCorrectionPayloadSchema = z.strictObject({
|
|
331
336
|
originalQuery: z.string().min(1),
|
|
332
337
|
});
|
|
@@ -392,12 +397,17 @@ export const PurchasePayloadSchema = z.strictObject({
|
|
|
392
397
|
export const UpdateCartSchema = z.strictObject({
|
|
393
398
|
payload: UpdateCartPayloadSchema,
|
|
394
399
|
});
|
|
400
|
+
export const SearchBoxSchema = z.looseObject({
|
|
401
|
+
actions: SearchBoxActionsSchema.optional(),
|
|
402
|
+
component: z.literal('SearchBox'),
|
|
403
|
+
id: z.string().min(1).regex(new RegExp('^[a-z][a-z0-9-]*$')),
|
|
404
|
+
state: SearchBoxStateSchema.optional(),
|
|
405
|
+
});
|
|
395
406
|
export const FetchSuggestionsSchema = z.strictObject({
|
|
396
407
|
payload: FetchSuggestionsPayloadSchema,
|
|
397
408
|
});
|
|
398
409
|
export const QuerySuggestionsStateSchema = z.strictObject({
|
|
399
410
|
completions: z.array(QueryCompletionSchema),
|
|
400
|
-
products: z.array(ProductSchema),
|
|
401
411
|
query: z.string(),
|
|
402
412
|
});
|
|
403
413
|
export const SelectActionSchema = z.strictObject({
|
|
@@ -538,6 +548,9 @@ export const BreadboxFacetSchema = z.discriminatedUnion('type', [
|
|
|
538
548
|
BreadboxDateRangeFacetSchema,
|
|
539
549
|
BreadboxHierarchicalFacetSchema,
|
|
540
550
|
]);
|
|
551
|
+
export const InitializeSchema = z.strictObject({
|
|
552
|
+
payload: InitializePayloadSchema,
|
|
553
|
+
});
|
|
541
554
|
export const OverrideCorrectionSchema = z.strictObject({
|
|
542
555
|
payload: OverrideCorrectionPayloadSchema,
|
|
543
556
|
});
|
|
@@ -663,6 +676,9 @@ export const BreadboxActionsSchema = z.strictObject({
|
|
|
663
676
|
export const BreadboxStateSchema = z.strictObject({
|
|
664
677
|
facets: z.array(BreadboxFacetSchema),
|
|
665
678
|
});
|
|
679
|
+
export const SessionShellActionsSchema = z.strictObject({
|
|
680
|
+
initialize: InitializeSchema,
|
|
681
|
+
});
|
|
666
682
|
export const RestoreStatePayloadSchema = z.strictObject({
|
|
667
683
|
facets: z.array(FacetRestoreSchema).optional(),
|
|
668
684
|
page: z.number().int().min(0),
|
|
@@ -744,6 +760,12 @@ export const BreadboxSchema = z.looseObject({
|
|
|
744
760
|
id: z.string().min(1).regex(new RegExp('^[a-z][a-z0-9-]*$')),
|
|
745
761
|
state: BreadboxStateSchema.optional(),
|
|
746
762
|
});
|
|
763
|
+
export const SessionShellSchema = z.looseObject({
|
|
764
|
+
actions: SessionShellActionsSchema.optional(),
|
|
765
|
+
component: z.literal('SessionShell'),
|
|
766
|
+
id: z.string().min(1).regex(new RegExp('^[a-z][a-z0-9-]*$')),
|
|
767
|
+
state: SessionShellStateSchema.optional(),
|
|
768
|
+
});
|
|
747
769
|
export const RestoreStateSchema = z.strictObject({
|
|
748
770
|
payload: RestoreStatePayloadSchema,
|
|
749
771
|
});
|
|
@@ -773,6 +795,7 @@ export const CommerceSearchSchema = z.looseObject({
|
|
|
773
795
|
export const ComponentContractsSchema = z.discriminatedUnion('component', [
|
|
774
796
|
ProductCarouselSchema,
|
|
775
797
|
CartSchema,
|
|
798
|
+
SearchBoxSchema,
|
|
776
799
|
QuerySuggestionsSchema,
|
|
777
800
|
NextActionsBarSchema,
|
|
778
801
|
BundleDisplaySchema,
|
|
@@ -788,6 +811,7 @@ export const ComponentContractsSchema = z.discriminatedUnion('component', [
|
|
|
788
811
|
CategoryFacetSchema,
|
|
789
812
|
FacetManagerSchema,
|
|
790
813
|
BreadboxSchema,
|
|
814
|
+
SessionShellSchema,
|
|
791
815
|
CommerceSearchSchema,
|
|
792
816
|
LayoutStackSchema,
|
|
793
817
|
QuerySummarySchema,
|
|
@@ -977,11 +1001,6 @@ export const QuerySuggestionsPropsSchema = z.object({
|
|
|
977
1001
|
DataBindingSchema,
|
|
978
1002
|
FunctionCallSchema,
|
|
979
1003
|
]),
|
|
980
|
-
products: z.union([
|
|
981
|
-
QuerySuggestionsStateSchema.shape['products'],
|
|
982
|
-
DataBindingSchema,
|
|
983
|
-
FunctionCallSchema,
|
|
984
|
-
]),
|
|
985
1004
|
});
|
|
986
1005
|
export const QuerySummaryPropsSchema = z.object({
|
|
987
1006
|
query: DynamicStringSchema,
|
|
@@ -1002,6 +1021,12 @@ export const RegularFacetPropsSchema = z.object({
|
|
|
1002
1021
|
FunctionCallSchema,
|
|
1003
1022
|
]),
|
|
1004
1023
|
});
|
|
1024
|
+
export const SearchBoxPropsSchema = z.object({
|
|
1025
|
+
suggestionsChild: z.string().optional(),
|
|
1026
|
+
});
|
|
1027
|
+
export const SessionShellPropsSchema = z.object({
|
|
1028
|
+
children: z.array(z.string()).optional(),
|
|
1029
|
+
});
|
|
1005
1030
|
export const SortPropsSchema = z.object({
|
|
1006
1031
|
appliedSort: z.union([
|
|
1007
1032
|
SortStateSchema.shape['appliedSort'],
|
|
@@ -1125,7 +1150,7 @@ export const NextActionsBarActionSchema = z.union([
|
|
|
1125
1150
|
z.object({
|
|
1126
1151
|
event: z.object({
|
|
1127
1152
|
name: z.literal('selectSearchOption'),
|
|
1128
|
-
context: z.strictObject({ optionId: z.string() }),
|
|
1153
|
+
context: z.strictObject({ optionId: z.string(), text: z.string() }),
|
|
1129
1154
|
}),
|
|
1130
1155
|
}),
|
|
1131
1156
|
]);
|
|
@@ -1240,6 +1265,10 @@ export const RegularFacetActionSchema = z.union([
|
|
|
1240
1265
|
z.object({ event: z.object({ name: z.literal('showMoreValues'), context: z.unknown() }) }),
|
|
1241
1266
|
z.object({ event: z.object({ name: z.literal('showLessValues'), context: z.unknown() }) }),
|
|
1242
1267
|
]);
|
|
1268
|
+
export const SearchBoxActionSchema = z.never();
|
|
1269
|
+
export const SessionShellActionSchema = z.union([
|
|
1270
|
+
z.object({ event: z.object({ name: z.literal('initialize'), context: z.strictObject({}) }) }),
|
|
1271
|
+
]);
|
|
1243
1272
|
export const SortActionSchema = z.union([
|
|
1244
1273
|
z.object({
|
|
1245
1274
|
event: 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, 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
|
+
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,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, 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';
|
|
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';
|