@coveo/thermidor-schema 1.0.0-beta.34 → 1.0.0-beta.38
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 +217 -112
- package/dist/generated/schemas.js +41 -37
- package/dist/generated/zod3/index.d.ts +2 -2
- package/dist/generated/zod3/index.js +1 -1
- package/dist/generated/zod3/schemas.d.ts +2240 -969
- package/dist/generated/zod3/schemas.js +41 -37
- 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/breadbox.schema.json +1 -1
- package/schema/components/date-facet.schema.json +2 -2
- package/schema/components/instant-products.schema.json +85 -0
- package/schema/components/numeric-facet.schema.json +2 -2
- package/schema/components/regular-facet.schema.json +3 -57
- package/schema/components/search-box.schema.json +6 -2
- package/schema/definitions/breadbox-deselect-regular-value.schema.json +1 -1
- package/schema/definitions/breadbox-regular-facet.schema.json +3 -3
- package/schema/definitions/facet-value-state.schema.json +1 -1
- package/schema/definitions/selectable-facet-value-state.schema.json +0 -8
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
import * as z from 'zod/v4';
|
|
2
|
-
export declare const BreadboxRegularFacetValueStateSchema: z.ZodEnum<{
|
|
3
|
-
excluded: "excluded";
|
|
4
|
-
selected: "selected";
|
|
5
|
-
}>;
|
|
6
|
-
export type BreadboxRegularFacetValueState = z.infer<typeof BreadboxRegularFacetValueStateSchema>;
|
|
7
2
|
export declare const CartUpdateOperationSchema: z.ZodEnum<{
|
|
8
3
|
add: "add";
|
|
9
4
|
remove: "remove";
|
|
@@ -22,16 +17,10 @@ export declare const ActionItemTypeSchema: z.ZodEnum<{
|
|
|
22
17
|
}>;
|
|
23
18
|
export type ActionItemType = z.infer<typeof ActionItemTypeSchema>;
|
|
24
19
|
export declare const FacetValueStateSchema: z.ZodEnum<{
|
|
25
|
-
excluded: "excluded";
|
|
26
20
|
idle: "idle";
|
|
27
21
|
selected: "selected";
|
|
28
22
|
}>;
|
|
29
23
|
export type FacetValueState = z.infer<typeof FacetValueStateSchema>;
|
|
30
|
-
export declare const SelectableFacetValueStateSchema: z.ZodEnum<{
|
|
31
|
-
idle: "idle";
|
|
32
|
-
selected: "selected";
|
|
33
|
-
}>;
|
|
34
|
-
export type SelectableFacetValueState = z.infer<typeof SelectableFacetValueStateSchema>;
|
|
35
24
|
export declare const BreadboxFacetTypeSchema: z.ZodEnum<{
|
|
36
25
|
dateRange: "dateRange";
|
|
37
26
|
hierarchical: "hierarchical";
|
|
@@ -95,10 +84,7 @@ export declare const ChildListClassSchema: z.ZodObject<{
|
|
|
95
84
|
}, z.core.$strict>;
|
|
96
85
|
export type ChildListClass = z.infer<typeof ChildListClassSchema>;
|
|
97
86
|
export declare const BreadboxRegularFacetValueSchema: z.ZodObject<{
|
|
98
|
-
state: z.
|
|
99
|
-
excluded: "excluded";
|
|
100
|
-
selected: "selected";
|
|
101
|
-
}>;
|
|
87
|
+
state: z.ZodLiteral<"selected">;
|
|
102
88
|
value: z.ZodString;
|
|
103
89
|
}, z.core.$strict>;
|
|
104
90
|
export type BreadboxRegularFacetValue = z.infer<typeof BreadboxRegularFacetValueSchema>;
|
|
@@ -227,6 +213,43 @@ export declare const QueryCompletionSchema: z.ZodObject<{
|
|
|
227
213
|
score: z.ZodOptional<z.ZodNumber>;
|
|
228
214
|
}, z.core.$strict>;
|
|
229
215
|
export type QueryCompletion = z.infer<typeof QueryCompletionSchema>;
|
|
216
|
+
export declare const FetchInstantProductsPayloadSchema: z.ZodObject<{
|
|
217
|
+
query: z.ZodString;
|
|
218
|
+
}, z.core.$strict>;
|
|
219
|
+
export type FetchInstantProductsPayload = z.infer<typeof FetchInstantProductsPayloadSchema>;
|
|
220
|
+
export declare const InstantProductsStateSchema: z.ZodObject<{
|
|
221
|
+
products: z.ZodArray<z.ZodObject<{
|
|
222
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
223
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
224
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
225
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
226
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
227
|
+
text: z.ZodString;
|
|
228
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
229
|
+
}, z.core.$strict>>;
|
|
230
|
+
placementId: z.ZodString;
|
|
231
|
+
}, z.core.$strict>>>;
|
|
232
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
233
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
234
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
235
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
236
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
237
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
238
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
239
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
240
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
241
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
242
|
+
ec_name: z.ZodString;
|
|
243
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
244
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
245
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
246
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
247
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
248
|
+
permanentid: z.ZodString;
|
|
249
|
+
}, z.core.$strict>>;
|
|
250
|
+
query: z.ZodString;
|
|
251
|
+
}, z.core.$strict>;
|
|
252
|
+
export type InstantProductsState = z.infer<typeof InstantProductsStateSchema>;
|
|
230
253
|
export declare const SelectActionPayloadSchema: z.ZodObject<{
|
|
231
254
|
text: z.ZodString;
|
|
232
255
|
type: z.ZodEnum<{
|
|
@@ -403,18 +426,10 @@ export declare const SearchPayloadSchema: z.ZodObject<{
|
|
|
403
426
|
query: z.ZodString;
|
|
404
427
|
}, z.core.$strict>;
|
|
405
428
|
export type SearchPayload = z.infer<typeof SearchPayloadSchema>;
|
|
406
|
-
export declare const RegularFacetToggleExcludePayloadSchema: z.ZodObject<{
|
|
407
|
-
value: z.ZodString;
|
|
408
|
-
}, z.core.$strict>;
|
|
409
|
-
export type RegularFacetToggleExcludePayload = z.infer<typeof RegularFacetToggleExcludePayloadSchema>;
|
|
410
429
|
export declare const RegularFacetToggleSelectPayloadSchema: z.ZodObject<{
|
|
411
430
|
value: z.ZodString;
|
|
412
431
|
}, z.core.$strict>;
|
|
413
432
|
export type RegularFacetToggleSelectPayload = z.infer<typeof RegularFacetToggleSelectPayloadSchema>;
|
|
414
|
-
export declare const RegularFacetToggleSingleExcludePayloadSchema: z.ZodObject<{
|
|
415
|
-
value: z.ZodString;
|
|
416
|
-
}, z.core.$strict>;
|
|
417
|
-
export type RegularFacetToggleSingleExcludePayload = z.infer<typeof RegularFacetToggleSingleExcludePayloadSchema>;
|
|
418
433
|
export declare const RegularFacetToggleSingleSelectPayloadSchema: z.ZodObject<{
|
|
419
434
|
value: z.ZodString;
|
|
420
435
|
}, z.core.$strict>;
|
|
@@ -427,7 +442,6 @@ export type RegularFacetSearchResult = z.infer<typeof RegularFacetSearchResultSc
|
|
|
427
442
|
export declare const RegularFacetValueSchema: z.ZodObject<{
|
|
428
443
|
numberOfResults: z.ZodNumber;
|
|
429
444
|
state: z.ZodEnum<{
|
|
430
|
-
excluded: "excluded";
|
|
431
445
|
idle: "idle";
|
|
432
446
|
selected: "selected";
|
|
433
447
|
}>;
|
|
@@ -558,10 +572,7 @@ export declare const BreadboxDeselectPayloadSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
558
572
|
}, z.core.$strict>], "type">;
|
|
559
573
|
export type BreadboxDeselectPayload = z.infer<typeof BreadboxDeselectPayloadSchema>;
|
|
560
574
|
export declare const BreadboxFacetValueSchema: z.ZodObject<{
|
|
561
|
-
state: z.ZodOptional<z.
|
|
562
|
-
excluded: "excluded";
|
|
563
|
-
selected: "selected";
|
|
564
|
-
}>>;
|
|
575
|
+
state: z.ZodOptional<z.ZodLiteral<"selected">>;
|
|
565
576
|
value: z.ZodOptional<z.ZodString>;
|
|
566
577
|
end: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
567
578
|
start: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
@@ -614,10 +625,7 @@ export declare const BreadboxRegularFacetSchema: z.ZodObject<{
|
|
|
614
625
|
field: z.ZodString;
|
|
615
626
|
type: z.ZodLiteral<"regular">;
|
|
616
627
|
values: z.ZodArray<z.ZodObject<{
|
|
617
|
-
state: z.
|
|
618
|
-
excluded: "excluded";
|
|
619
|
-
selected: "selected";
|
|
620
|
-
}>;
|
|
628
|
+
state: z.ZodLiteral<"selected">;
|
|
621
629
|
value: z.ZodString;
|
|
622
630
|
}, z.core.$strict>>;
|
|
623
631
|
}, z.core.$strict>;
|
|
@@ -740,6 +748,12 @@ export declare const QuerySuggestionsStateSchema: z.ZodObject<{
|
|
|
740
748
|
query: z.ZodString;
|
|
741
749
|
}, z.core.$strict>;
|
|
742
750
|
export type QuerySuggestionsState = z.infer<typeof QuerySuggestionsStateSchema>;
|
|
751
|
+
export declare const FetchInstantProductsSchema: z.ZodObject<{
|
|
752
|
+
payload: z.ZodObject<{
|
|
753
|
+
query: z.ZodString;
|
|
754
|
+
}, z.core.$strict>;
|
|
755
|
+
}, z.core.$strict>;
|
|
756
|
+
export type FetchInstantProducts = z.infer<typeof FetchInstantProductsSchema>;
|
|
743
757
|
export declare const SelectActionSchema: z.ZodObject<{
|
|
744
758
|
payload: z.ZodObject<{
|
|
745
759
|
text: z.ZodString;
|
|
@@ -937,24 +951,12 @@ export declare const SearchSchema: z.ZodObject<{
|
|
|
937
951
|
}, z.core.$strict>;
|
|
938
952
|
}, z.core.$strict>;
|
|
939
953
|
export type Search = z.infer<typeof SearchSchema>;
|
|
940
|
-
export declare const RegularFacetToggleExcludeSchema: z.ZodObject<{
|
|
941
|
-
payload: z.ZodObject<{
|
|
942
|
-
value: z.ZodString;
|
|
943
|
-
}, z.core.$strict>;
|
|
944
|
-
}, z.core.$strict>;
|
|
945
|
-
export type RegularFacetToggleExclude = z.infer<typeof RegularFacetToggleExcludeSchema>;
|
|
946
954
|
export declare const RegularFacetToggleSelectSchema: z.ZodObject<{
|
|
947
955
|
payload: z.ZodObject<{
|
|
948
956
|
value: z.ZodString;
|
|
949
957
|
}, z.core.$strict>;
|
|
950
958
|
}, z.core.$strict>;
|
|
951
959
|
export type RegularFacetToggleSelect = z.infer<typeof RegularFacetToggleSelectSchema>;
|
|
952
|
-
export declare const RegularFacetToggleSingleExcludeSchema: z.ZodObject<{
|
|
953
|
-
payload: z.ZodObject<{
|
|
954
|
-
value: z.ZodString;
|
|
955
|
-
}, z.core.$strict>;
|
|
956
|
-
}, z.core.$strict>;
|
|
957
|
-
export type RegularFacetToggleSingleExclude = z.infer<typeof RegularFacetToggleSingleExcludeSchema>;
|
|
958
960
|
export declare const RegularFacetToggleSingleSelectSchema: z.ZodObject<{
|
|
959
961
|
payload: z.ZodObject<{
|
|
960
962
|
value: z.ZodString;
|
|
@@ -1117,10 +1119,7 @@ export declare const BreadboxFacetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1117
1119
|
field: z.ZodString;
|
|
1118
1120
|
type: z.ZodLiteral<"regular">;
|
|
1119
1121
|
values: z.ZodArray<z.ZodObject<{
|
|
1120
|
-
state: z.
|
|
1121
|
-
excluded: "excluded";
|
|
1122
|
-
selected: "selected";
|
|
1123
|
-
}>;
|
|
1122
|
+
state: z.ZodLiteral<"selected">;
|
|
1124
1123
|
value: z.ZodString;
|
|
1125
1124
|
}, z.core.$strict>>;
|
|
1126
1125
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1224,6 +1223,14 @@ export declare const QuerySuggestionsActionsSchema: z.ZodObject<{
|
|
|
1224
1223
|
}, z.core.$strict>;
|
|
1225
1224
|
}, z.core.$strict>;
|
|
1226
1225
|
export type QuerySuggestionsActions = z.infer<typeof QuerySuggestionsActionsSchema>;
|
|
1226
|
+
export declare const InstantProductsActionsSchema: z.ZodObject<{
|
|
1227
|
+
fetchInstantProducts: z.ZodObject<{
|
|
1228
|
+
payload: z.ZodObject<{
|
|
1229
|
+
query: z.ZodString;
|
|
1230
|
+
}, z.core.$strict>;
|
|
1231
|
+
}, z.core.$strict>;
|
|
1232
|
+
}, z.core.$strict>;
|
|
1233
|
+
export type InstantProductsActions = z.infer<typeof InstantProductsActionsSchema>;
|
|
1227
1234
|
export declare const NextActionsBarActionsSchema: z.ZodObject<{
|
|
1228
1235
|
selectAction: z.ZodObject<{
|
|
1229
1236
|
payload: z.ZodObject<{
|
|
@@ -1390,21 +1397,11 @@ export declare const RegularFacetActionsSchema: z.ZodObject<{
|
|
|
1390
1397
|
showMoreValues: z.ZodObject<{
|
|
1391
1398
|
payload: z.ZodUnknown;
|
|
1392
1399
|
}, z.core.$strict>;
|
|
1393
|
-
toggleExclude: z.ZodObject<{
|
|
1394
|
-
payload: z.ZodObject<{
|
|
1395
|
-
value: z.ZodString;
|
|
1396
|
-
}, z.core.$strict>;
|
|
1397
|
-
}, z.core.$strict>;
|
|
1398
1400
|
toggleSelect: z.ZodObject<{
|
|
1399
1401
|
payload: z.ZodObject<{
|
|
1400
1402
|
value: z.ZodString;
|
|
1401
1403
|
}, z.core.$strict>;
|
|
1402
1404
|
}, z.core.$strict>;
|
|
1403
|
-
toggleSingleExclude: z.ZodObject<{
|
|
1404
|
-
payload: z.ZodObject<{
|
|
1405
|
-
value: z.ZodString;
|
|
1406
|
-
}, z.core.$strict>;
|
|
1407
|
-
}, z.core.$strict>;
|
|
1408
1405
|
toggleSingleSelect: z.ZodObject<{
|
|
1409
1406
|
payload: z.ZodObject<{
|
|
1410
1407
|
value: z.ZodString;
|
|
@@ -1429,7 +1426,6 @@ export declare const RegularFacetStateSchema: z.ZodObject<{
|
|
|
1429
1426
|
values: z.ZodArray<z.ZodObject<{
|
|
1430
1427
|
numberOfResults: z.ZodNumber;
|
|
1431
1428
|
state: z.ZodEnum<{
|
|
1432
|
-
excluded: "excluded";
|
|
1433
1429
|
idle: "idle";
|
|
1434
1430
|
selected: "selected";
|
|
1435
1431
|
}>;
|
|
@@ -1592,10 +1588,7 @@ export declare const BreadboxStateSchema: z.ZodObject<{
|
|
|
1592
1588
|
field: z.ZodString;
|
|
1593
1589
|
type: z.ZodLiteral<"regular">;
|
|
1594
1590
|
values: z.ZodArray<z.ZodObject<{
|
|
1595
|
-
state: z.
|
|
1596
|
-
excluded: "excluded";
|
|
1597
|
-
selected: "selected";
|
|
1598
|
-
}>;
|
|
1591
|
+
state: z.ZodLiteral<"selected">;
|
|
1599
1592
|
value: z.ZodString;
|
|
1600
1593
|
}, z.core.$strict>>;
|
|
1601
1594
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1706,6 +1699,50 @@ export declare const QuerySuggestionsSchema: z.ZodObject<{
|
|
|
1706
1699
|
}, z.core.$strict>>;
|
|
1707
1700
|
}, z.core.$loose>;
|
|
1708
1701
|
export type QuerySuggestions = z.infer<typeof QuerySuggestionsSchema>;
|
|
1702
|
+
export declare const InstantProductsSchema: z.ZodObject<{
|
|
1703
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
1704
|
+
fetchInstantProducts: z.ZodObject<{
|
|
1705
|
+
payload: z.ZodObject<{
|
|
1706
|
+
query: z.ZodString;
|
|
1707
|
+
}, z.core.$strict>;
|
|
1708
|
+
}, z.core.$strict>;
|
|
1709
|
+
}, z.core.$strict>>;
|
|
1710
|
+
component: z.ZodLiteral<"InstantProducts">;
|
|
1711
|
+
id: z.ZodString;
|
|
1712
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1713
|
+
products: z.ZodArray<z.ZodObject<{
|
|
1714
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1715
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1716
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
1717
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
1718
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
1719
|
+
text: z.ZodString;
|
|
1720
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
1721
|
+
}, z.core.$strict>>;
|
|
1722
|
+
placementId: z.ZodString;
|
|
1723
|
+
}, z.core.$strict>>>;
|
|
1724
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
1725
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
1726
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
1727
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1728
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
1729
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
1730
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1731
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
1732
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
1733
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
1734
|
+
ec_name: z.ZodString;
|
|
1735
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
1736
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
1737
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
1738
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
1739
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1740
|
+
permanentid: z.ZodString;
|
|
1741
|
+
}, z.core.$strict>>;
|
|
1742
|
+
query: z.ZodString;
|
|
1743
|
+
}, z.core.$strict>>;
|
|
1744
|
+
}, z.core.$loose>;
|
|
1745
|
+
export type InstantProducts = z.infer<typeof InstantProductsSchema>;
|
|
1709
1746
|
export declare const NextActionsBarSchema: z.ZodObject<{
|
|
1710
1747
|
actions: z.ZodOptional<z.ZodObject<{
|
|
1711
1748
|
selectAction: z.ZodObject<{
|
|
@@ -1881,21 +1918,11 @@ export declare const RegularFacetSchema: z.ZodObject<{
|
|
|
1881
1918
|
showMoreValues: z.ZodObject<{
|
|
1882
1919
|
payload: z.ZodUnknown;
|
|
1883
1920
|
}, z.core.$strict>;
|
|
1884
|
-
toggleExclude: z.ZodObject<{
|
|
1885
|
-
payload: z.ZodObject<{
|
|
1886
|
-
value: z.ZodString;
|
|
1887
|
-
}, z.core.$strict>;
|
|
1888
|
-
}, z.core.$strict>;
|
|
1889
1921
|
toggleSelect: z.ZodObject<{
|
|
1890
1922
|
payload: z.ZodObject<{
|
|
1891
1923
|
value: z.ZodString;
|
|
1892
1924
|
}, z.core.$strict>;
|
|
1893
1925
|
}, z.core.$strict>;
|
|
1894
|
-
toggleSingleExclude: z.ZodObject<{
|
|
1895
|
-
payload: z.ZodObject<{
|
|
1896
|
-
value: z.ZodString;
|
|
1897
|
-
}, z.core.$strict>;
|
|
1898
|
-
}, z.core.$strict>;
|
|
1899
1926
|
toggleSingleSelect: z.ZodObject<{
|
|
1900
1927
|
payload: z.ZodObject<{
|
|
1901
1928
|
value: z.ZodString;
|
|
@@ -1921,7 +1948,6 @@ export declare const RegularFacetSchema: z.ZodObject<{
|
|
|
1921
1948
|
values: z.ZodArray<z.ZodObject<{
|
|
1922
1949
|
numberOfResults: z.ZodNumber;
|
|
1923
1950
|
state: z.ZodEnum<{
|
|
1924
|
-
excluded: "excluded";
|
|
1925
1951
|
idle: "idle";
|
|
1926
1952
|
selected: "selected";
|
|
1927
1953
|
}>;
|
|
@@ -2144,10 +2170,7 @@ export declare const BreadboxSchema: z.ZodObject<{
|
|
|
2144
2170
|
field: z.ZodString;
|
|
2145
2171
|
type: z.ZodLiteral<"regular">;
|
|
2146
2172
|
values: z.ZodArray<z.ZodObject<{
|
|
2147
|
-
state: z.
|
|
2148
|
-
excluded: "excluded";
|
|
2149
|
-
selected: "selected";
|
|
2150
|
-
}>;
|
|
2173
|
+
state: z.ZodLiteral<"selected">;
|
|
2151
2174
|
value: z.ZodString;
|
|
2152
2175
|
}, z.core.$strict>>;
|
|
2153
2176
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2419,6 +2442,48 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2419
2442
|
}, z.core.$strict>>;
|
|
2420
2443
|
query: z.ZodString;
|
|
2421
2444
|
}, z.core.$strict>>;
|
|
2445
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2446
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
2447
|
+
fetchInstantProducts: z.ZodObject<{
|
|
2448
|
+
payload: z.ZodObject<{
|
|
2449
|
+
query: z.ZodString;
|
|
2450
|
+
}, z.core.$strict>;
|
|
2451
|
+
}, z.core.$strict>;
|
|
2452
|
+
}, z.core.$strict>>;
|
|
2453
|
+
component: z.ZodLiteral<"InstantProducts">;
|
|
2454
|
+
id: z.ZodString;
|
|
2455
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
2456
|
+
products: z.ZodArray<z.ZodObject<{
|
|
2457
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2458
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2459
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
2460
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
2461
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
2462
|
+
text: z.ZodString;
|
|
2463
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
2464
|
+
}, z.core.$strict>>;
|
|
2465
|
+
placementId: z.ZodString;
|
|
2466
|
+
}, z.core.$strict>>>;
|
|
2467
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strict>>>;
|
|
2468
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
2469
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
2470
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2471
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
2472
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
2473
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2474
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
2475
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
2476
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
2477
|
+
ec_name: z.ZodString;
|
|
2478
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
2479
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
2480
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
2481
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
2482
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2483
|
+
permanentid: z.ZodString;
|
|
2484
|
+
}, z.core.$strict>>;
|
|
2485
|
+
query: z.ZodString;
|
|
2486
|
+
}, z.core.$strict>>;
|
|
2422
2487
|
}, z.core.$loose>, z.ZodObject<{
|
|
2423
2488
|
actions: z.ZodOptional<z.ZodObject<{
|
|
2424
2489
|
selectAction: z.ZodObject<{
|
|
@@ -2689,21 +2754,11 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2689
2754
|
showMoreValues: z.ZodObject<{
|
|
2690
2755
|
payload: z.ZodUnknown;
|
|
2691
2756
|
}, z.core.$strict>;
|
|
2692
|
-
toggleExclude: z.ZodObject<{
|
|
2693
|
-
payload: z.ZodObject<{
|
|
2694
|
-
value: z.ZodString;
|
|
2695
|
-
}, z.core.$strict>;
|
|
2696
|
-
}, z.core.$strict>;
|
|
2697
2757
|
toggleSelect: z.ZodObject<{
|
|
2698
2758
|
payload: z.ZodObject<{
|
|
2699
2759
|
value: z.ZodString;
|
|
2700
2760
|
}, z.core.$strict>;
|
|
2701
2761
|
}, z.core.$strict>;
|
|
2702
|
-
toggleSingleExclude: z.ZodObject<{
|
|
2703
|
-
payload: z.ZodObject<{
|
|
2704
|
-
value: z.ZodString;
|
|
2705
|
-
}, z.core.$strict>;
|
|
2706
|
-
}, z.core.$strict>;
|
|
2707
2762
|
toggleSingleSelect: z.ZodObject<{
|
|
2708
2763
|
payload: z.ZodObject<{
|
|
2709
2764
|
value: z.ZodString;
|
|
@@ -2729,7 +2784,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2729
2784
|
values: z.ZodArray<z.ZodObject<{
|
|
2730
2785
|
numberOfResults: z.ZodNumber;
|
|
2731
2786
|
state: z.ZodEnum<{
|
|
2732
|
-
excluded: "excluded";
|
|
2733
2787
|
idle: "idle";
|
|
2734
2788
|
selected: "selected";
|
|
2735
2789
|
}>;
|
|
@@ -2949,10 +3003,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
2949
3003
|
field: z.ZodString;
|
|
2950
3004
|
type: z.ZodLiteral<"regular">;
|
|
2951
3005
|
values: z.ZodArray<z.ZodObject<{
|
|
2952
|
-
state: z.
|
|
2953
|
-
excluded: "excluded";
|
|
2954
|
-
selected: "selected";
|
|
2955
|
-
}>;
|
|
3006
|
+
state: z.ZodLiteral<"selected">;
|
|
2956
3007
|
value: z.ZodString;
|
|
2957
3008
|
}, z.core.$strict>>;
|
|
2958
3009
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3185,10 +3236,7 @@ export declare const BreadboxPropsSchema: z.ZodObject<{
|
|
|
3185
3236
|
field: z.ZodString;
|
|
3186
3237
|
type: z.ZodLiteral<"regular">;
|
|
3187
3238
|
values: z.ZodArray<z.ZodObject<{
|
|
3188
|
-
state: z.
|
|
3189
|
-
excluded: "excluded";
|
|
3190
|
-
selected: "selected";
|
|
3191
|
-
}>;
|
|
3239
|
+
state: z.ZodLiteral<"selected">;
|
|
3192
3240
|
value: z.ZodString;
|
|
3193
3241
|
}, z.core.$strict>>;
|
|
3194
3242
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3592,6 +3640,66 @@ export declare const DateFacetPropsSchema: z.ZodObject<{
|
|
|
3592
3640
|
export declare const FacetManagerPropsSchema: z.ZodObject<{
|
|
3593
3641
|
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3594
3642
|
}, z.core.$strip>;
|
|
3643
|
+
export declare const InstantProductsPropsSchema: z.ZodObject<{
|
|
3644
|
+
query: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
3645
|
+
path: z.ZodString;
|
|
3646
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3647
|
+
call: z.ZodString;
|
|
3648
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3649
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3650
|
+
any: "any";
|
|
3651
|
+
array: "array";
|
|
3652
|
+
boolean: "boolean";
|
|
3653
|
+
number: "number";
|
|
3654
|
+
object: "object";
|
|
3655
|
+
string: "string";
|
|
3656
|
+
void: "void";
|
|
3657
|
+
}>>;
|
|
3658
|
+
}, z.core.$strip>]>;
|
|
3659
|
+
products: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
3660
|
+
additionalFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3661
|
+
badgePlacements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3662
|
+
badges: z.ZodArray<z.ZodObject<{
|
|
3663
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
3664
|
+
iconUrl: z.ZodOptional<z.ZodString>;
|
|
3665
|
+
text: z.ZodString;
|
|
3666
|
+
textColor: z.ZodOptional<z.ZodString>;
|
|
3667
|
+
}, z.core.$strict>>;
|
|
3668
|
+
placementId: z.ZodString;
|
|
3669
|
+
}, z.core.$strict>>>;
|
|
3670
|
+
children: z.ZodOptional<z.ZodArray<z.ZodObject</*elided*/ any, z.core.$strict>>>;
|
|
3671
|
+
clickUri: z.ZodOptional<z.ZodString>;
|
|
3672
|
+
ec_brand: z.ZodOptional<z.ZodString>;
|
|
3673
|
+
ec_category: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3674
|
+
ec_color: z.ZodOptional<z.ZodString>;
|
|
3675
|
+
ec_description: z.ZodOptional<z.ZodString>;
|
|
3676
|
+
ec_images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3677
|
+
ec_in_stock: z.ZodOptional<z.ZodBoolean>;
|
|
3678
|
+
ec_item_group_id: z.ZodOptional<z.ZodString>;
|
|
3679
|
+
ec_item_group_name: z.ZodOptional<z.ZodString>;
|
|
3680
|
+
ec_name: z.ZodString;
|
|
3681
|
+
ec_price: z.ZodOptional<z.ZodNumber>;
|
|
3682
|
+
ec_promo_price: z.ZodOptional<z.ZodNumber>;
|
|
3683
|
+
ec_rating: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3684
|
+
ec_shortdesc: z.ZodOptional<z.ZodString>;
|
|
3685
|
+
ec_thumbnails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3686
|
+
permanentid: z.ZodString;
|
|
3687
|
+
}, z.core.$strict>>, z.ZodObject<{
|
|
3688
|
+
path: z.ZodString;
|
|
3689
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3690
|
+
call: z.ZodString;
|
|
3691
|
+
args: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
3692
|
+
returnType: z.ZodDefault<z.ZodEnum<{
|
|
3693
|
+
any: "any";
|
|
3694
|
+
array: "array";
|
|
3695
|
+
boolean: "boolean";
|
|
3696
|
+
number: "number";
|
|
3697
|
+
object: "object";
|
|
3698
|
+
string: "string";
|
|
3699
|
+
void: "void";
|
|
3700
|
+
}>>;
|
|
3701
|
+
}, z.core.$strip>]>;
|
|
3702
|
+
}, z.core.$strip>;
|
|
3595
3703
|
export declare const LayoutStackPropsSchema: z.ZodObject<{
|
|
3596
3704
|
direction: z.ZodOptional<z.ZodString>;
|
|
3597
3705
|
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -4230,7 +4338,6 @@ export declare const RegularFacetPropsSchema: z.ZodObject<{
|
|
|
4230
4338
|
values: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
4231
4339
|
numberOfResults: z.ZodNumber;
|
|
4232
4340
|
state: z.ZodEnum<{
|
|
4233
|
-
excluded: "excluded";
|
|
4234
4341
|
idle: "idle";
|
|
4235
4342
|
selected: "selected";
|
|
4236
4343
|
}>;
|
|
@@ -4320,6 +4427,7 @@ export declare const RegularFacetPropsSchema: z.ZodObject<{
|
|
|
4320
4427
|
}, z.core.$strip>;
|
|
4321
4428
|
export declare const SearchBoxPropsSchema: z.ZodObject<{
|
|
4322
4429
|
suggestionsChild: z.ZodOptional<z.ZodString>;
|
|
4430
|
+
instantProductsChild: z.ZodOptional<z.ZodString>;
|
|
4323
4431
|
}, z.core.$strip>;
|
|
4324
4432
|
export declare const SessionShellPropsSchema: z.ZodObject<{
|
|
4325
4433
|
children: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -4541,6 +4649,15 @@ export declare const DateFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
4541
4649
|
export type DateFacetAction = z.infer<typeof DateFacetActionSchema>;
|
|
4542
4650
|
export declare const FacetManagerActionSchema: z.ZodNever;
|
|
4543
4651
|
export type FacetManagerAction = never;
|
|
4652
|
+
export declare const InstantProductsActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4653
|
+
event: z.ZodObject<{
|
|
4654
|
+
name: z.ZodLiteral<"fetchInstantProducts">;
|
|
4655
|
+
context: z.ZodObject<{
|
|
4656
|
+
query: z.ZodString;
|
|
4657
|
+
}, z.core.$strict>;
|
|
4658
|
+
}, z.core.$strip>;
|
|
4659
|
+
}, z.core.$strip>]>;
|
|
4660
|
+
export type InstantProductsAction = z.infer<typeof InstantProductsActionSchema>;
|
|
4544
4661
|
export declare const LayoutStackActionSchema: z.ZodNever;
|
|
4545
4662
|
export type LayoutStackAction = never;
|
|
4546
4663
|
export declare const NextActionsBarActionSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -4678,13 +4795,6 @@ export declare const RegularFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<
|
|
|
4678
4795
|
value: z.ZodString;
|
|
4679
4796
|
}, z.core.$strict>;
|
|
4680
4797
|
}, z.core.$strip>;
|
|
4681
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4682
|
-
event: z.ZodObject<{
|
|
4683
|
-
name: z.ZodLiteral<"toggleExclude">;
|
|
4684
|
-
context: z.ZodObject<{
|
|
4685
|
-
value: z.ZodString;
|
|
4686
|
-
}, z.core.$strict>;
|
|
4687
|
-
}, z.core.$strip>;
|
|
4688
4798
|
}, z.core.$strip>, z.ZodObject<{
|
|
4689
4799
|
event: z.ZodObject<{
|
|
4690
4800
|
name: z.ZodLiteral<"toggleSingleSelect">;
|
|
@@ -4692,13 +4802,6 @@ export declare const RegularFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<
|
|
|
4692
4802
|
value: z.ZodString;
|
|
4693
4803
|
}, z.core.$strict>;
|
|
4694
4804
|
}, z.core.$strip>;
|
|
4695
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4696
|
-
event: z.ZodObject<{
|
|
4697
|
-
name: z.ZodLiteral<"toggleSingleExclude">;
|
|
4698
|
-
context: z.ZodObject<{
|
|
4699
|
-
value: z.ZodString;
|
|
4700
|
-
}, z.core.$strict>;
|
|
4701
|
-
}, z.core.$strip>;
|
|
4702
4805
|
}, z.core.$strip>, z.ZodObject<{
|
|
4703
4806
|
event: z.ZodObject<{
|
|
4704
4807
|
name: z.ZodLiteral<"clearAllActiveValues">;
|
|
@@ -4774,6 +4877,7 @@ export type DateFacetProps = DateFacetState;
|
|
|
4774
4877
|
export type FacetManagerProps = {
|
|
4775
4878
|
children?: string[];
|
|
4776
4879
|
};
|
|
4880
|
+
export type InstantProductsProps = InstantProductsState;
|
|
4777
4881
|
export type LayoutStackProps = {
|
|
4778
4882
|
children?: string[];
|
|
4779
4883
|
};
|
|
@@ -4790,6 +4894,7 @@ export type QuerySummaryProps = QuerySummaryState;
|
|
|
4790
4894
|
export type RegularFacetProps = RegularFacetState;
|
|
4791
4895
|
export type SearchBoxProps = {
|
|
4792
4896
|
suggestionsChild?: string;
|
|
4897
|
+
instantProductsChild?: string;
|
|
4793
4898
|
};
|
|
4794
4899
|
export type SessionShellProps = {
|
|
4795
4900
|
children?: string[];
|