@coveo/thermidor-schema 1.0.0-beta.37 → 1.0.0-beta.39

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.
@@ -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";
@@ -89,16 +78,13 @@ export declare const SearchOptionActionItemSchema: z.ZodObject<{
89
78
  type: z.ZodLiteral<"searchOption">;
90
79
  }, z.core.$strict>;
91
80
  export type SearchOptionActionItem = z.infer<typeof SearchOptionActionItemSchema>;
92
- export declare const ChildListClassSchema: z.ZodObject<{
81
+ export declare const ChildListTemplateSchema: z.ZodObject<{
93
82
  componentId: z.ZodString;
94
83
  path: z.ZodString;
95
84
  }, z.core.$strict>;
96
- export type ChildListClass = z.infer<typeof ChildListClassSchema>;
85
+ export type ChildListTemplate = z.infer<typeof ChildListTemplateSchema>;
97
86
  export declare const BreadboxRegularFacetValueSchema: z.ZodObject<{
98
- state: z.ZodEnum<{
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>;
@@ -409,10 +395,6 @@ export declare const SelectPagePayloadSchema: z.ZodObject<{
409
395
  page: z.ZodNumber;
410
396
  }, z.core.$strict>;
411
397
  export type SelectPagePayload = z.infer<typeof SelectPagePayloadSchema>;
412
- export declare const PayloadSchema: z.ZodObject<{
413
- pageSize: z.ZodNumber;
414
- }, z.core.$strict>;
415
- export type Payload = z.infer<typeof PayloadSchema>;
416
398
  export declare const ShowMorePayloadSchema: z.ZodObject<{}, z.core.$strict>;
417
399
  export type ShowMorePayload = z.infer<typeof ShowMorePayloadSchema>;
418
400
  export declare const PaginationStateSchema: z.ZodObject<{
@@ -436,22 +418,14 @@ export declare const ActionSchema: z.ZodObject<{
436
418
  payload: z.ZodUnknown;
437
419
  }, z.core.$strict>;
438
420
  export type Action = z.infer<typeof ActionSchema>;
439
- export declare const SearchPayloadSchema: z.ZodObject<{
421
+ export declare const RegularFacetSearchPayloadSchema: z.ZodObject<{
440
422
  query: z.ZodString;
441
423
  }, z.core.$strict>;
442
- export type SearchPayload = z.infer<typeof SearchPayloadSchema>;
443
- export declare const RegularFacetToggleExcludePayloadSchema: z.ZodObject<{
444
- value: z.ZodString;
445
- }, z.core.$strict>;
446
- export type RegularFacetToggleExcludePayload = z.infer<typeof RegularFacetToggleExcludePayloadSchema>;
424
+ export type RegularFacetSearchPayload = z.infer<typeof RegularFacetSearchPayloadSchema>;
447
425
  export declare const RegularFacetToggleSelectPayloadSchema: z.ZodObject<{
448
426
  value: z.ZodString;
449
427
  }, z.core.$strict>;
450
428
  export type RegularFacetToggleSelectPayload = z.infer<typeof RegularFacetToggleSelectPayloadSchema>;
451
- export declare const RegularFacetToggleSingleExcludePayloadSchema: z.ZodObject<{
452
- value: z.ZodString;
453
- }, z.core.$strict>;
454
- export type RegularFacetToggleSingleExcludePayload = z.infer<typeof RegularFacetToggleSingleExcludePayloadSchema>;
455
429
  export declare const RegularFacetToggleSingleSelectPayloadSchema: z.ZodObject<{
456
430
  value: z.ZodString;
457
431
  }, z.core.$strict>;
@@ -464,7 +438,6 @@ export type RegularFacetSearchResult = z.infer<typeof RegularFacetSearchResultSc
464
438
  export declare const RegularFacetValueSchema: z.ZodObject<{
465
439
  numberOfResults: z.ZodNumber;
466
440
  state: z.ZodEnum<{
467
- excluded: "excluded";
468
441
  idle: "idle";
469
442
  selected: "selected";
470
443
  }>;
@@ -595,10 +568,7 @@ export declare const BreadboxDeselectPayloadSchema: z.ZodDiscriminatedUnion<[z.Z
595
568
  }, z.core.$strict>], "type">;
596
569
  export type BreadboxDeselectPayload = z.infer<typeof BreadboxDeselectPayloadSchema>;
597
570
  export declare const BreadboxFacetValueSchema: z.ZodObject<{
598
- state: z.ZodOptional<z.ZodEnum<{
599
- excluded: "excluded";
600
- selected: "selected";
601
- }>>;
571
+ state: z.ZodOptional<z.ZodLiteral<"selected">>;
602
572
  value: z.ZodOptional<z.ZodString>;
603
573
  end: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
604
574
  start: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
@@ -651,10 +621,7 @@ export declare const BreadboxRegularFacetSchema: z.ZodObject<{
651
621
  field: z.ZodString;
652
622
  type: z.ZodLiteral<"regular">;
653
623
  values: z.ZodArray<z.ZodObject<{
654
- state: z.ZodEnum<{
655
- excluded: "excluded";
656
- selected: "selected";
657
- }>;
624
+ state: z.ZodLiteral<"selected">;
658
625
  value: z.ZodString;
659
626
  }, z.core.$strict>>;
660
627
  }, z.core.$strict>;
@@ -946,12 +913,6 @@ export declare const SelectPageSchema: z.ZodObject<{
946
913
  }, z.core.$strict>;
947
914
  }, z.core.$strict>;
948
915
  export type SelectPage = z.infer<typeof SelectPageSchema>;
949
- export declare const PurpleSetPageSizeSchema: z.ZodObject<{
950
- payload: z.ZodObject<{
951
- pageSize: z.ZodNumber;
952
- }, z.core.$strict>;
953
- }, z.core.$strict>;
954
- export type PurpleSetPageSize = z.infer<typeof PurpleSetPageSizeSchema>;
955
916
  export declare const ShowMoreSchema: z.ZodObject<{
956
917
  payload: z.ZodObject<{}, z.core.$strict>;
957
918
  }, z.core.$strict>;
@@ -974,37 +935,25 @@ export declare const SortStateSchema: z.ZodObject<{
974
935
  }, z.core.$strict>>;
975
936
  }, z.core.$strict>;
976
937
  export type SortState = z.infer<typeof SortStateSchema>;
977
- export declare const SearchSchema: z.ZodObject<{
938
+ export declare const RegularFacetSearchSchema: z.ZodObject<{
978
939
  payload: z.ZodObject<{
979
940
  query: z.ZodString;
980
941
  }, z.core.$strict>;
981
942
  }, z.core.$strict>;
982
- export type Search = z.infer<typeof SearchSchema>;
983
- export declare const RegularFacetToggleExcludeSchema: z.ZodObject<{
984
- payload: z.ZodObject<{
985
- value: z.ZodString;
986
- }, z.core.$strict>;
987
- }, z.core.$strict>;
988
- export type RegularFacetToggleExclude = z.infer<typeof RegularFacetToggleExcludeSchema>;
943
+ export type RegularFacetSearch = z.infer<typeof RegularFacetSearchSchema>;
989
944
  export declare const RegularFacetToggleSelectSchema: z.ZodObject<{
990
945
  payload: z.ZodObject<{
991
946
  value: z.ZodString;
992
947
  }, z.core.$strict>;
993
948
  }, z.core.$strict>;
994
949
  export type RegularFacetToggleSelect = z.infer<typeof RegularFacetToggleSelectSchema>;
995
- export declare const RegularFacetToggleSingleExcludeSchema: z.ZodObject<{
996
- payload: z.ZodObject<{
997
- value: z.ZodString;
998
- }, z.core.$strict>;
999
- }, z.core.$strict>;
1000
- export type RegularFacetToggleSingleExclude = z.infer<typeof RegularFacetToggleSingleExcludeSchema>;
1001
950
  export declare const RegularFacetToggleSingleSelectSchema: z.ZodObject<{
1002
951
  payload: z.ZodObject<{
1003
952
  value: z.ZodString;
1004
953
  }, z.core.$strict>;
1005
954
  }, z.core.$strict>;
1006
955
  export type RegularFacetToggleSingleSelect = z.infer<typeof RegularFacetToggleSingleSelectSchema>;
1007
- export declare const RegularFacetSearchSchema: z.ZodObject<{
956
+ export declare const RegularFacetSearchStateSchema: z.ZodObject<{
1008
957
  canShowMoreResults: z.ZodBoolean;
1009
958
  query: z.ZodString;
1010
959
  results: z.ZodArray<z.ZodObject<{
@@ -1012,7 +961,7 @@ export declare const RegularFacetSearchSchema: z.ZodObject<{
1012
961
  value: z.ZodString;
1013
962
  }, z.core.$strict>>;
1014
963
  }, z.core.$strict>;
1015
- export type RegularFacetSearch = z.infer<typeof RegularFacetSearchSchema>;
964
+ export type RegularFacetSearchState = z.infer<typeof RegularFacetSearchStateSchema>;
1016
965
  export declare const NumericFacetApplyCustomRangeSchema: z.ZodObject<{
1017
966
  payload: z.ZodObject<{
1018
967
  end: z.ZodNumber;
@@ -1115,7 +1064,7 @@ export declare const CategoryFacetSelectPathSchema: z.ZodObject<{
1115
1064
  }, z.core.$strict>;
1116
1065
  }, z.core.$strict>;
1117
1066
  export type CategoryFacetSelectPath = z.infer<typeof CategoryFacetSelectPathSchema>;
1118
- export declare const FacetSearchClassSchema: z.ZodObject<{
1067
+ export declare const CategoryFacetSearchStateSchema: z.ZodObject<{
1119
1068
  canShowMoreResults: z.ZodBoolean;
1120
1069
  query: z.ZodString;
1121
1070
  results: z.ZodArray<z.ZodObject<{
@@ -1124,7 +1073,7 @@ export declare const FacetSearchClassSchema: z.ZodObject<{
1124
1073
  value: z.ZodString;
1125
1074
  }, z.core.$strict>>;
1126
1075
  }, z.core.$strict>;
1127
- export type FacetSearchClass = z.infer<typeof FacetSearchClassSchema>;
1076
+ export type CategoryFacetSearchState = z.infer<typeof CategoryFacetSearchStateSchema>;
1128
1077
  export declare const FacetManagerSchema: z.ZodObject<{
1129
1078
  actions: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
1130
1079
  component: z.ZodLiteral<"FacetManager">;
@@ -1160,10 +1109,7 @@ export declare const BreadboxFacetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1160
1109
  field: z.ZodString;
1161
1110
  type: z.ZodLiteral<"regular">;
1162
1111
  values: z.ZodArray<z.ZodObject<{
1163
- state: z.ZodEnum<{
1164
- excluded: "excluded";
1165
- selected: "selected";
1166
- }>;
1112
+ state: z.ZodLiteral<"selected">;
1167
1113
  value: z.ZodString;
1168
1114
  }, z.core.$strict>>;
1169
1115
  }, z.core.$strict>, z.ZodObject<{
@@ -1238,12 +1184,12 @@ export declare const QuerySummarySchema: z.ZodObject<{
1238
1184
  }, z.core.$strict>>;
1239
1185
  }, z.core.$loose>;
1240
1186
  export type QuerySummary = z.infer<typeof QuerySummarySchema>;
1241
- export declare const FluffySetPageSizeSchema: z.ZodObject<{
1187
+ export declare const SetPageSizeSchema: z.ZodObject<{
1242
1188
  payload: z.ZodObject<{
1243
1189
  pageSize: z.ZodNumber;
1244
1190
  }, z.core.$strict>;
1245
1191
  }, z.core.$strict>;
1246
- export type FluffySetPageSize = z.infer<typeof FluffySetPageSizeSchema>;
1192
+ export type SetPageSize = z.infer<typeof SetPageSizeSchema>;
1247
1193
  export declare const PurchaseSchema: z.ZodObject<{
1248
1194
  payload: z.ZodObject<{
1249
1195
  products: z.ZodArray<z.ZodObject<{
@@ -1401,11 +1347,6 @@ export declare const PaginationActionsSchema: z.ZodObject<{
1401
1347
  page: z.ZodNumber;
1402
1348
  }, z.core.$strict>;
1403
1349
  }, z.core.$strict>;
1404
- setPageSize: z.ZodObject<{
1405
- payload: z.ZodObject<{
1406
- pageSize: z.ZodNumber;
1407
- }, z.core.$strict>;
1408
- }, z.core.$strict>;
1409
1350
  showMore: z.ZodObject<{
1410
1351
  payload: z.ZodObject<{}, z.core.$strict>;
1411
1352
  }, z.core.$strict>;
@@ -1441,21 +1382,11 @@ export declare const RegularFacetActionsSchema: z.ZodObject<{
1441
1382
  showMoreValues: z.ZodObject<{
1442
1383
  payload: z.ZodUnknown;
1443
1384
  }, z.core.$strict>;
1444
- toggleExclude: z.ZodObject<{
1445
- payload: z.ZodObject<{
1446
- value: z.ZodString;
1447
- }, z.core.$strict>;
1448
- }, z.core.$strict>;
1449
1385
  toggleSelect: z.ZodObject<{
1450
1386
  payload: z.ZodObject<{
1451
1387
  value: z.ZodString;
1452
1388
  }, z.core.$strict>;
1453
1389
  }, z.core.$strict>;
1454
- toggleSingleExclude: z.ZodObject<{
1455
- payload: z.ZodObject<{
1456
- value: z.ZodString;
1457
- }, z.core.$strict>;
1458
- }, z.core.$strict>;
1459
1390
  toggleSingleSelect: z.ZodObject<{
1460
1391
  payload: z.ZodObject<{
1461
1392
  value: z.ZodString;
@@ -1480,7 +1411,6 @@ export declare const RegularFacetStateSchema: z.ZodObject<{
1480
1411
  values: z.ZodArray<z.ZodObject<{
1481
1412
  numberOfResults: z.ZodNumber;
1482
1413
  state: z.ZodEnum<{
1483
- excluded: "excluded";
1484
1414
  idle: "idle";
1485
1415
  selected: "selected";
1486
1416
  }>;
@@ -1643,10 +1573,7 @@ export declare const BreadboxStateSchema: z.ZodObject<{
1643
1573
  field: z.ZodString;
1644
1574
  type: z.ZodLiteral<"regular">;
1645
1575
  values: z.ZodArray<z.ZodObject<{
1646
- state: z.ZodEnum<{
1647
- excluded: "excluded";
1648
- selected: "selected";
1649
- }>;
1576
+ state: z.ZodLiteral<"selected">;
1650
1577
  value: z.ZodString;
1651
1578
  }, z.core.$strict>>;
1652
1579
  }, z.core.$strict>, z.ZodObject<{
@@ -1912,11 +1839,6 @@ export declare const PaginationSchema: z.ZodObject<{
1912
1839
  page: z.ZodNumber;
1913
1840
  }, z.core.$strict>;
1914
1841
  }, z.core.$strict>;
1915
- setPageSize: z.ZodObject<{
1916
- payload: z.ZodObject<{
1917
- pageSize: z.ZodNumber;
1918
- }, z.core.$strict>;
1919
- }, z.core.$strict>;
1920
1842
  showMore: z.ZodObject<{
1921
1843
  payload: z.ZodObject<{}, z.core.$strict>;
1922
1844
  }, z.core.$strict>;
@@ -1976,21 +1898,11 @@ export declare const RegularFacetSchema: z.ZodObject<{
1976
1898
  showMoreValues: z.ZodObject<{
1977
1899
  payload: z.ZodUnknown;
1978
1900
  }, z.core.$strict>;
1979
- toggleExclude: z.ZodObject<{
1980
- payload: z.ZodObject<{
1981
- value: z.ZodString;
1982
- }, z.core.$strict>;
1983
- }, z.core.$strict>;
1984
1901
  toggleSelect: z.ZodObject<{
1985
1902
  payload: z.ZodObject<{
1986
1903
  value: z.ZodString;
1987
1904
  }, z.core.$strict>;
1988
1905
  }, z.core.$strict>;
1989
- toggleSingleExclude: z.ZodObject<{
1990
- payload: z.ZodObject<{
1991
- value: z.ZodString;
1992
- }, z.core.$strict>;
1993
- }, z.core.$strict>;
1994
1906
  toggleSingleSelect: z.ZodObject<{
1995
1907
  payload: z.ZodObject<{
1996
1908
  value: z.ZodString;
@@ -2016,7 +1928,6 @@ export declare const RegularFacetSchema: z.ZodObject<{
2016
1928
  values: z.ZodArray<z.ZodObject<{
2017
1929
  numberOfResults: z.ZodNumber;
2018
1930
  state: z.ZodEnum<{
2019
- excluded: "excluded";
2020
1931
  idle: "idle";
2021
1932
  selected: "selected";
2022
1933
  }>;
@@ -2239,10 +2150,7 @@ export declare const BreadboxSchema: z.ZodObject<{
2239
2150
  field: z.ZodString;
2240
2151
  type: z.ZodLiteral<"regular">;
2241
2152
  values: z.ZodArray<z.ZodObject<{
2242
- state: z.ZodEnum<{
2243
- excluded: "excluded";
2244
- selected: "selected";
2245
- }>;
2153
+ state: z.ZodLiteral<"selected">;
2246
2154
  value: z.ZodString;
2247
2155
  }, z.core.$strict>>;
2248
2156
  }, z.core.$strict>, z.ZodObject<{
@@ -2766,11 +2674,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
2766
2674
  page: z.ZodNumber;
2767
2675
  }, z.core.$strict>;
2768
2676
  }, z.core.$strict>;
2769
- setPageSize: z.ZodObject<{
2770
- payload: z.ZodObject<{
2771
- pageSize: z.ZodNumber;
2772
- }, z.core.$strict>;
2773
- }, z.core.$strict>;
2774
2677
  showMore: z.ZodObject<{
2775
2678
  payload: z.ZodObject<{}, z.core.$strict>;
2776
2679
  }, z.core.$strict>;
@@ -2826,21 +2729,11 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
2826
2729
  showMoreValues: z.ZodObject<{
2827
2730
  payload: z.ZodUnknown;
2828
2731
  }, z.core.$strict>;
2829
- toggleExclude: z.ZodObject<{
2830
- payload: z.ZodObject<{
2831
- value: z.ZodString;
2832
- }, z.core.$strict>;
2833
- }, z.core.$strict>;
2834
2732
  toggleSelect: z.ZodObject<{
2835
2733
  payload: z.ZodObject<{
2836
2734
  value: z.ZodString;
2837
2735
  }, z.core.$strict>;
2838
2736
  }, z.core.$strict>;
2839
- toggleSingleExclude: z.ZodObject<{
2840
- payload: z.ZodObject<{
2841
- value: z.ZodString;
2842
- }, z.core.$strict>;
2843
- }, z.core.$strict>;
2844
2737
  toggleSingleSelect: z.ZodObject<{
2845
2738
  payload: z.ZodObject<{
2846
2739
  value: z.ZodString;
@@ -2866,7 +2759,6 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
2866
2759
  values: z.ZodArray<z.ZodObject<{
2867
2760
  numberOfResults: z.ZodNumber;
2868
2761
  state: z.ZodEnum<{
2869
- excluded: "excluded";
2870
2762
  idle: "idle";
2871
2763
  selected: "selected";
2872
2764
  }>;
@@ -3086,10 +2978,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
3086
2978
  field: z.ZodString;
3087
2979
  type: z.ZodLiteral<"regular">;
3088
2980
  values: z.ZodArray<z.ZodObject<{
3089
- state: z.ZodEnum<{
3090
- excluded: "excluded";
3091
- selected: "selected";
3092
- }>;
2981
+ state: z.ZodLiteral<"selected">;
3093
2982
  value: z.ZodString;
3094
2983
  }, z.core.$strict>>;
3095
2984
  }, z.core.$strict>, z.ZodObject<{
@@ -3322,10 +3211,7 @@ export declare const BreadboxPropsSchema: z.ZodObject<{
3322
3211
  field: z.ZodString;
3323
3212
  type: z.ZodLiteral<"regular">;
3324
3213
  values: z.ZodArray<z.ZodObject<{
3325
- state: z.ZodEnum<{
3326
- excluded: "excluded";
3327
- selected: "selected";
3328
- }>;
3214
+ state: z.ZodLiteral<"selected">;
3329
3215
  value: z.ZodString;
3330
3216
  }, z.core.$strict>>;
3331
3217
  }, z.core.$strict>, z.ZodObject<{
@@ -4427,7 +4313,6 @@ export declare const RegularFacetPropsSchema: z.ZodObject<{
4427
4313
  values: z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
4428
4314
  numberOfResults: z.ZodNumber;
4429
4315
  state: z.ZodEnum<{
4430
- excluded: "excluded";
4431
4316
  idle: "idle";
4432
4317
  selected: "selected";
4433
4318
  }>;
@@ -4828,13 +4713,6 @@ export declare const PaginationActionSchema: z.ZodUnion<readonly [z.ZodObject<{
4828
4713
  page: z.ZodNumber;
4829
4714
  }, z.core.$strict>;
4830
4715
  }, z.core.$strip>;
4831
- }, z.core.$strip>, z.ZodObject<{
4832
- event: z.ZodObject<{
4833
- name: z.ZodLiteral<"setPageSize">;
4834
- context: z.ZodObject<{
4835
- pageSize: z.ZodNumber;
4836
- }, z.core.$strict>;
4837
- }, z.core.$strip>;
4838
4716
  }, z.core.$strip>, z.ZodObject<{
4839
4717
  event: z.ZodObject<{
4840
4718
  name: z.ZodLiteral<"showMore">;
@@ -4885,13 +4763,6 @@ export declare const RegularFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<
4885
4763
  value: z.ZodString;
4886
4764
  }, z.core.$strict>;
4887
4765
  }, z.core.$strip>;
4888
- }, z.core.$strip>, z.ZodObject<{
4889
- event: z.ZodObject<{
4890
- name: z.ZodLiteral<"toggleExclude">;
4891
- context: z.ZodObject<{
4892
- value: z.ZodString;
4893
- }, z.core.$strict>;
4894
- }, z.core.$strip>;
4895
4766
  }, z.core.$strip>, z.ZodObject<{
4896
4767
  event: z.ZodObject<{
4897
4768
  name: z.ZodLiteral<"toggleSingleSelect">;
@@ -4899,13 +4770,6 @@ export declare const RegularFacetActionSchema: z.ZodUnion<readonly [z.ZodObject<
4899
4770
  value: z.ZodString;
4900
4771
  }, z.core.$strict>;
4901
4772
  }, z.core.$strip>;
4902
- }, z.core.$strip>, z.ZodObject<{
4903
- event: z.ZodObject<{
4904
- name: z.ZodLiteral<"toggleSingleExclude">;
4905
- context: z.ZodObject<{
4906
- value: z.ZodString;
4907
- }, z.core.$strict>;
4908
- }, z.core.$strip>;
4909
4773
  }, z.core.$strip>, z.ZodObject<{
4910
4774
  event: z.ZodObject<{
4911
4775
  name: z.ZodLiteral<"clearAllActiveValues">;
@@ -1,8 +1,6 @@
1
1
  // This file is generated from the canonical JSON Schema documents.
2
2
  // Do not edit it directly; run `mise run generate` from the repository root.
3
3
  import * as z from 'zod/v4';
4
- // Whether the value is selected or excluded.
5
- export const BreadboxRegularFacetValueStateSchema = z.enum(['excluded', 'selected']);
6
4
  export const CartUpdateOperationSchema = z.enum(['add', 'remove', 'setQuantity']);
7
5
  // The kind of action selected: "followup" or "search".
8
6
  export const SelectActionPayloadTypeSchema = z.enum(['followup', 'search']);
@@ -10,12 +8,7 @@ export const ActionItemTypeSchema = z.enum(['followup', 'search', 'searchOption'
10
8
  // The selection state of a facet value, shared across all commerce facet components.
11
9
  //
12
10
  // The selection state of this facet value.
13
- export const FacetValueStateSchema = z.enum(['excluded', 'idle', 'selected']);
14
- // The selection state of a facet value that supports selection but not exclusion (e.g.
15
- // numeric and date facets). Constrained to 'idle' or 'selected'.
16
- //
17
- // The selection state of this facet value (idle or selected; exclusion is not supported).
18
- export const SelectableFacetValueStateSchema = z.enum(['idle', 'selected']);
11
+ export const FacetValueStateSchema = z.enum(['idle', 'selected']);
19
12
  export const BreadboxFacetTypeSchema = z.enum([
20
13
  'dateRange',
21
14
  'hierarchical',
@@ -63,12 +56,12 @@ export const SearchOptionActionItemSchema = z.strictObject({
63
56
  text: z.string(),
64
57
  type: z.literal('searchOption'),
65
58
  });
66
- export const ChildListClassSchema = z.strictObject({
59
+ export const ChildListTemplateSchema = z.strictObject({
67
60
  componentId: z.string().regex(new RegExp('^[a-z][a-z0-9-]*$')),
68
61
  path: z.string(),
69
62
  });
70
63
  export const BreadboxRegularFacetValueSchema = z.strictObject({
71
- state: z.enum(['selected', 'excluded']),
64
+ state: z.literal('selected'),
72
65
  value: z.string().min(1),
73
66
  });
74
67
  export const BreadboxNumericalRangeFacetValueSchema = z.strictObject({
@@ -212,9 +205,6 @@ export const ProductSummaryStateSchema = z.strictObject({
212
205
  export const SelectPagePayloadSchema = z.strictObject({
213
206
  page: z.number().int().min(0),
214
207
  });
215
- export const PayloadSchema = z.strictObject({
216
- pageSize: z.number().int().min(1),
217
- });
218
208
  export const ShowMorePayloadSchema = z.strictObject({});
219
209
  export const PaginationStateSchema = z.strictObject({
220
210
  page: z.number().int().min(0),
@@ -233,18 +223,12 @@ export const SortCriterionSchema = z.strictObject({
233
223
  export const ActionSchema = z.strictObject({
234
224
  payload: z.unknown(),
235
225
  });
236
- export const SearchPayloadSchema = z.strictObject({
226
+ export const RegularFacetSearchPayloadSchema = z.strictObject({
237
227
  query: z.string(),
238
228
  });
239
- export const RegularFacetToggleExcludePayloadSchema = z.strictObject({
240
- value: z.string().min(1),
241
- });
242
229
  export const RegularFacetToggleSelectPayloadSchema = z.strictObject({
243
230
  value: z.string().min(1),
244
231
  });
245
- export const RegularFacetToggleSingleExcludePayloadSchema = z.strictObject({
246
- value: z.string().min(1),
247
- });
248
232
  export const RegularFacetToggleSingleSelectPayloadSchema = z.strictObject({
249
233
  value: z.string().min(1),
250
234
  });
@@ -254,7 +238,7 @@ export const RegularFacetSearchResultSchema = z.strictObject({
254
238
  });
255
239
  export const RegularFacetValueSchema = z.strictObject({
256
240
  numberOfResults: z.number().int().min(0),
257
- state: z.enum(['idle', 'selected', 'excluded']),
241
+ state: z.enum(['idle', 'selected']),
258
242
  value: z.string().min(1),
259
243
  });
260
244
  export const NumericFacetApplyCustomRangePayloadSchema = z.strictObject({
@@ -332,7 +316,7 @@ export const BreadboxDeselectPayloadSchema = z.discriminatedUnion('type', [
332
316
  BreadboxDeselectHierarchicalPathSchema,
333
317
  ]);
334
318
  export const BreadboxFacetValueSchema = z.strictObject({
335
- state: z.enum(['selected', 'excluded']).optional(),
319
+ state: z.literal('selected').optional(),
336
320
  value: z.string().min(1).optional(),
337
321
  end: z.union([z.number(), z.string()]).optional(),
338
322
  start: z.union([z.number(), z.string()]).optional(),
@@ -462,9 +446,6 @@ export const ProductSummarySchema = z.looseObject({
462
446
  export const SelectPageSchema = z.strictObject({
463
447
  payload: SelectPagePayloadSchema,
464
448
  });
465
- export const PurpleSetPageSizeSchema = z.strictObject({
466
- payload: PayloadSchema,
467
- });
468
449
  export const ShowMoreSchema = z.strictObject({
469
450
  payload: ShowMorePayloadSchema,
470
451
  });
@@ -475,22 +456,16 @@ export const SortStateSchema = z.strictObject({
475
456
  appliedSort: SortCriterionSchema,
476
457
  availableSorts: z.array(SortCriterionSchema),
477
458
  });
478
- export const SearchSchema = z.strictObject({
479
- payload: SearchPayloadSchema,
480
- });
481
- export const RegularFacetToggleExcludeSchema = z.strictObject({
482
- payload: RegularFacetToggleExcludePayloadSchema,
459
+ export const RegularFacetSearchSchema = z.strictObject({
460
+ payload: RegularFacetSearchPayloadSchema,
483
461
  });
484
462
  export const RegularFacetToggleSelectSchema = z.strictObject({
485
463
  payload: RegularFacetToggleSelectPayloadSchema,
486
464
  });
487
- export const RegularFacetToggleSingleExcludeSchema = z.strictObject({
488
- payload: RegularFacetToggleSingleExcludePayloadSchema,
489
- });
490
465
  export const RegularFacetToggleSingleSelectSchema = z.strictObject({
491
466
  payload: RegularFacetToggleSingleSelectPayloadSchema,
492
467
  });
493
- export const RegularFacetSearchSchema = z.strictObject({
468
+ export const RegularFacetSearchStateSchema = z.strictObject({
494
469
  canShowMoreResults: z.boolean(),
495
470
  query: z.string(),
496
471
  results: z.array(RegularFacetSearchResultSchema),
@@ -538,7 +513,7 @@ export const CategoryFacetSearchSchema = z.strictObject({
538
513
  export const CategoryFacetSelectPathSchema = z.strictObject({
539
514
  payload: CategoryFacetSelectPathPayloadSchema,
540
515
  });
541
- export const FacetSearchClassSchema = z.strictObject({
516
+ export const CategoryFacetSearchStateSchema = z.strictObject({
542
517
  canShowMoreResults: z.boolean(),
543
518
  query: z.string(),
544
519
  results: z.array(CategoryFacetValueSchema),
@@ -585,7 +560,7 @@ export const QuerySummarySchema = z.looseObject({
585
560
  id: z.string().min(1).regex(new RegExp('^[a-z][a-z0-9-]*$')),
586
561
  state: QuerySummaryStateSchema.optional(),
587
562
  });
588
- export const FluffySetPageSizeSchema = z.strictObject({
563
+ export const SetPageSizeSchema = z.strictObject({
589
564
  payload: SetPageSizePayloadSchema,
590
565
  });
591
566
  export const PurchaseSchema = z.strictObject({
@@ -623,7 +598,6 @@ export const ProductListActionsSchema = z.strictObject({
623
598
  });
624
599
  export const PaginationActionsSchema = z.strictObject({
625
600
  selectPage: SelectPageSchema,
626
- setPageSize: PurpleSetPageSizeSchema,
627
601
  showMore: ShowMoreSchema,
628
602
  });
629
603
  export const SortActionsSchema = z.strictObject({
@@ -632,20 +606,18 @@ export const SortActionsSchema = z.strictObject({
632
606
  export const RegularFacetActionsSchema = z.strictObject({
633
607
  clearAllActiveValues: ActionSchema,
634
608
  clearSearch: ActionSchema,
635
- search: SearchSchema,
609
+ search: RegularFacetSearchSchema,
636
610
  showLessValues: ActionSchema,
637
611
  showMoreSearchResults: ActionSchema,
638
612
  showMoreValues: ActionSchema,
639
- toggleExclude: RegularFacetToggleExcludeSchema,
640
613
  toggleSelect: RegularFacetToggleSelectSchema,
641
- toggleSingleExclude: RegularFacetToggleSingleExcludeSchema,
642
614
  toggleSingleSelect: RegularFacetToggleSingleSelectSchema,
643
615
  });
644
616
  export const RegularFacetStateSchema = z.strictObject({
645
617
  canShowLessValues: z.boolean(),
646
618
  canShowMoreValues: z.boolean(),
647
619
  displayName: z.string(),
648
- facetSearch: RegularFacetSearchSchema,
620
+ facetSearch: RegularFacetSearchStateSchema,
649
621
  field: z.string().min(1),
650
622
  hasActiveValues: z.boolean(),
651
623
  values: z.array(RegularFacetValueSchema),
@@ -679,7 +651,7 @@ export const CategoryFacetStateSchema = z.strictObject({
679
651
  canShowLessValues: z.boolean(),
680
652
  canShowMoreValues: z.boolean(),
681
653
  displayName: z.string(),
682
- facetSearch: FacetSearchClassSchema,
654
+ facetSearch: CategoryFacetSearchStateSchema,
683
655
  field: z.string(),
684
656
  values: CategoryFacetValuesSchema,
685
657
  });
@@ -702,7 +674,7 @@ export const RestoreStatePayloadSchema = z.strictObject({
702
674
  sortCriteria: z.string().optional(),
703
675
  });
704
676
  export const PageSizeActionsSchema = z.strictObject({
705
- setPageSize: FluffySetPageSizeSchema,
677
+ setPageSize: SetPageSizeSchema,
706
678
  });
707
679
  export const CartActionsSchema = z.strictObject({
708
680
  purchase: PurchaseSchema,
@@ -1230,12 +1202,6 @@ export const PaginationActionSchema = z.union([
1230
1202
  context: z.strictObject({ page: z.number().int().min(0) }),
1231
1203
  }),
1232
1204
  }),
1233
- z.object({
1234
- event: z.object({
1235
- name: z.literal('setPageSize'),
1236
- context: z.strictObject({ pageSize: z.number().int().min(1) }),
1237
- }),
1238
- }),
1239
1205
  z.object({ event: z.object({ name: z.literal('showMore'), context: z.strictObject({}) }) }),
1240
1206
  ]);
1241
1207
  export const ProductCarouselActionSchema = z.never();
@@ -1276,24 +1242,12 @@ export const RegularFacetActionSchema = z.union([
1276
1242
  context: z.strictObject({ value: z.string() }),
1277
1243
  }),
1278
1244
  }),
1279
- z.object({
1280
- event: z.object({
1281
- name: z.literal('toggleExclude'),
1282
- context: z.strictObject({ value: z.string() }),
1283
- }),
1284
- }),
1285
1245
  z.object({
1286
1246
  event: z.object({
1287
1247
  name: z.literal('toggleSingleSelect'),
1288
1248
  context: z.strictObject({ value: z.string() }),
1289
1249
  }),
1290
1250
  }),
1291
- z.object({
1292
- event: z.object({
1293
- name: z.literal('toggleSingleExclude'),
1294
- context: z.strictObject({ value: z.string() }),
1295
- }),
1296
- }),
1297
1251
  z.object({ event: z.object({ name: z.literal('clearAllActiveValues'), context: z.unknown() }) }),
1298
1252
  z.object({
1299
1253
  event: z.object({ name: z.literal('search'), context: z.strictObject({ query: z.string() }) }),