@coveo/thermidor-schema 1.0.0-beta.33 → 1.0.0-beta.34

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.
@@ -1166,6 +1166,7 @@ export declare const FacetRestoreSchema: z.ZodObject<{
1166
1166
  endInclusive: z.ZodOptional<z.ZodBoolean>;
1167
1167
  start: z.ZodNumber;
1168
1168
  }, z.core.$strict>>>;
1169
+ path: z.ZodOptional<z.ZodArray<z.ZodString>>;
1169
1170
  values: z.ZodOptional<z.ZodArray<z.ZodString>>;
1170
1171
  }, z.core.$strict>;
1171
1172
  export type FacetRestore = z.infer<typeof FacetRestoreSchema>;
@@ -1638,6 +1639,7 @@ export declare const RestoreStatePayloadSchema: z.ZodObject<{
1638
1639
  endInclusive: z.ZodOptional<z.ZodBoolean>;
1639
1640
  start: z.ZodNumber;
1640
1641
  }, z.core.$strict>>>;
1642
+ path: z.ZodOptional<z.ZodArray<z.ZodString>>;
1641
1643
  values: z.ZodOptional<z.ZodArray<z.ZodString>>;
1642
1644
  }, z.core.$strict>>>;
1643
1645
  page: z.ZodNumber;
@@ -2196,6 +2198,7 @@ export declare const RestoreStateSchema: z.ZodObject<{
2196
2198
  endInclusive: z.ZodOptional<z.ZodBoolean>;
2197
2199
  start: z.ZodNumber;
2198
2200
  }, z.core.$strict>>>;
2201
+ path: z.ZodOptional<z.ZodArray<z.ZodString>>;
2199
2202
  values: z.ZodOptional<z.ZodArray<z.ZodString>>;
2200
2203
  }, z.core.$strict>>>;
2201
2204
  page: z.ZodNumber;
@@ -2271,6 +2274,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
2271
2274
  endInclusive: z.ZodOptional<z.ZodBoolean>;
2272
2275
  start: z.ZodNumber;
2273
2276
  }, z.core.$strict>>>;
2277
+ path: z.ZodOptional<z.ZodArray<z.ZodString>>;
2274
2278
  values: z.ZodOptional<z.ZodArray<z.ZodString>>;
2275
2279
  }, z.core.$strict>>>;
2276
2280
  page: z.ZodNumber;
@@ -2303,6 +2307,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
2303
2307
  endInclusive: z.ZodOptional<z.ZodBoolean>;
2304
2308
  start: z.ZodNumber;
2305
2309
  }, z.core.$strict>>>;
2310
+ path: z.ZodOptional<z.ZodArray<z.ZodString>>;
2306
2311
  values: z.ZodOptional<z.ZodArray<z.ZodString>>;
2307
2312
  }, z.core.$strict>>>;
2308
2313
  page: z.ZodNumber;
@@ -3001,6 +3006,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
3001
3006
  endInclusive: z.ZodOptional<z.ZodBoolean>;
3002
3007
  start: z.ZodNumber;
3003
3008
  }, z.core.$strict>>>;
3009
+ path: z.ZodOptional<z.ZodArray<z.ZodString>>;
3004
3010
  values: z.ZodOptional<z.ZodArray<z.ZodString>>;
3005
3011
  }, z.core.$strict>>>;
3006
3012
  page: z.ZodNumber;
@@ -557,6 +557,7 @@ export const OverrideCorrectionSchema = z.strictObject({
557
557
  export const FacetRestoreSchema = z.strictObject({
558
558
  facetId: z.string().min(1),
559
559
  numericRanges: z.array(NumericRangeRestoreSchema).optional(),
560
+ path: z.array(z.string()).optional(),
560
561
  values: z.array(z.string()).optional(),
561
562
  });
562
563
  export const SubmitQuerySchema = z.strictObject({
@@ -4364,6 +4364,7 @@ export declare const FacetRestoreSchema: z.ZodObject<{
4364
4364
  endInclusive?: boolean | undefined;
4365
4365
  start: number;
4366
4366
  }>, "many">>;
4367
+ path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4367
4368
  values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4368
4369
  }, "strict", z.ZodTypeAny, {
4369
4370
  facetId: string;
@@ -4372,6 +4373,7 @@ export declare const FacetRestoreSchema: z.ZodObject<{
4372
4373
  endInclusive?: boolean | undefined;
4373
4374
  start: number;
4374
4375
  }[] | undefined;
4376
+ path?: string[] | undefined;
4375
4377
  values?: string[] | undefined;
4376
4378
  }, {
4377
4379
  facetId: string;
@@ -4380,6 +4382,7 @@ export declare const FacetRestoreSchema: z.ZodObject<{
4380
4382
  endInclusive?: boolean | undefined;
4381
4383
  start: number;
4382
4384
  }[] | undefined;
4385
+ path?: string[] | undefined;
4383
4386
  values?: string[] | undefined;
4384
4387
  }>;
4385
4388
  export type FacetRestore = z.infer<typeof FacetRestoreSchema>;
@@ -7162,6 +7165,7 @@ export declare const RestoreStatePayloadSchema: z.ZodObject<{
7162
7165
  endInclusive?: boolean | undefined;
7163
7166
  start: number;
7164
7167
  }>, "many">>;
7168
+ path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7165
7169
  values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7166
7170
  }, "strict", z.ZodTypeAny, {
7167
7171
  facetId: string;
@@ -7170,6 +7174,7 @@ export declare const RestoreStatePayloadSchema: z.ZodObject<{
7170
7174
  endInclusive?: boolean | undefined;
7171
7175
  start: number;
7172
7176
  }[] | undefined;
7177
+ path?: string[] | undefined;
7173
7178
  values?: string[] | undefined;
7174
7179
  }, {
7175
7180
  facetId: string;
@@ -7178,6 +7183,7 @@ export declare const RestoreStatePayloadSchema: z.ZodObject<{
7178
7183
  endInclusive?: boolean | undefined;
7179
7184
  start: number;
7180
7185
  }[] | undefined;
7186
+ path?: string[] | undefined;
7181
7187
  values?: string[] | undefined;
7182
7188
  }>, "many">>;
7183
7189
  page: z.ZodNumber;
@@ -7193,6 +7199,7 @@ export declare const RestoreStatePayloadSchema: z.ZodObject<{
7193
7199
  endInclusive?: boolean | undefined;
7194
7200
  start: number;
7195
7201
  }[] | undefined;
7202
+ path?: string[] | undefined;
7196
7203
  values?: string[] | undefined;
7197
7204
  }[] | undefined;
7198
7205
  page: number;
@@ -7208,6 +7215,7 @@ export declare const RestoreStatePayloadSchema: z.ZodObject<{
7208
7215
  endInclusive?: boolean | undefined;
7209
7216
  start: number;
7210
7217
  }[] | undefined;
7218
+ path?: string[] | undefined;
7211
7219
  values?: string[] | undefined;
7212
7220
  }[] | undefined;
7213
7221
  page: number;
@@ -13738,6 +13746,7 @@ export declare const RestoreStateSchema: z.ZodObject<{
13738
13746
  endInclusive?: boolean | undefined;
13739
13747
  start: number;
13740
13748
  }>, "many">>;
13749
+ path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13741
13750
  values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13742
13751
  }, "strict", z.ZodTypeAny, {
13743
13752
  facetId: string;
@@ -13746,6 +13755,7 @@ export declare const RestoreStateSchema: z.ZodObject<{
13746
13755
  endInclusive?: boolean | undefined;
13747
13756
  start: number;
13748
13757
  }[] | undefined;
13758
+ path?: string[] | undefined;
13749
13759
  values?: string[] | undefined;
13750
13760
  }, {
13751
13761
  facetId: string;
@@ -13754,6 +13764,7 @@ export declare const RestoreStateSchema: z.ZodObject<{
13754
13764
  endInclusive?: boolean | undefined;
13755
13765
  start: number;
13756
13766
  }[] | undefined;
13767
+ path?: string[] | undefined;
13757
13768
  values?: string[] | undefined;
13758
13769
  }>, "many">>;
13759
13770
  page: z.ZodNumber;
@@ -13769,6 +13780,7 @@ export declare const RestoreStateSchema: z.ZodObject<{
13769
13780
  endInclusive?: boolean | undefined;
13770
13781
  start: number;
13771
13782
  }[] | undefined;
13783
+ path?: string[] | undefined;
13772
13784
  values?: string[] | undefined;
13773
13785
  }[] | undefined;
13774
13786
  page: number;
@@ -13784,6 +13796,7 @@ export declare const RestoreStateSchema: z.ZodObject<{
13784
13796
  endInclusive?: boolean | undefined;
13785
13797
  start: number;
13786
13798
  }[] | undefined;
13799
+ path?: string[] | undefined;
13787
13800
  values?: string[] | undefined;
13788
13801
  }[] | undefined;
13789
13802
  page: number;
@@ -13801,6 +13814,7 @@ export declare const RestoreStateSchema: z.ZodObject<{
13801
13814
  endInclusive?: boolean | undefined;
13802
13815
  start: number;
13803
13816
  }[] | undefined;
13817
+ path?: string[] | undefined;
13804
13818
  values?: string[] | undefined;
13805
13819
  }[] | undefined;
13806
13820
  page: number;
@@ -13818,6 +13832,7 @@ export declare const RestoreStateSchema: z.ZodObject<{
13818
13832
  endInclusive?: boolean | undefined;
13819
13833
  start: number;
13820
13834
  }[] | undefined;
13835
+ path?: string[] | undefined;
13821
13836
  values?: string[] | undefined;
13822
13837
  }[] | undefined;
13823
13838
  page: number;
@@ -14497,6 +14512,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
14497
14512
  endInclusive?: boolean | undefined;
14498
14513
  start: number;
14499
14514
  }>, "many">>;
14515
+ path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14500
14516
  values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14501
14517
  }, "strict", z.ZodTypeAny, {
14502
14518
  facetId: string;
@@ -14505,6 +14521,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
14505
14521
  endInclusive?: boolean | undefined;
14506
14522
  start: number;
14507
14523
  }[] | undefined;
14524
+ path?: string[] | undefined;
14508
14525
  values?: string[] | undefined;
14509
14526
  }, {
14510
14527
  facetId: string;
@@ -14513,6 +14530,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
14513
14530
  endInclusive?: boolean | undefined;
14514
14531
  start: number;
14515
14532
  }[] | undefined;
14533
+ path?: string[] | undefined;
14516
14534
  values?: string[] | undefined;
14517
14535
  }>, "many">>;
14518
14536
  page: z.ZodNumber;
@@ -14528,6 +14546,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
14528
14546
  endInclusive?: boolean | undefined;
14529
14547
  start: number;
14530
14548
  }[] | undefined;
14549
+ path?: string[] | undefined;
14531
14550
  values?: string[] | undefined;
14532
14551
  }[] | undefined;
14533
14552
  page: number;
@@ -14543,6 +14562,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
14543
14562
  endInclusive?: boolean | undefined;
14544
14563
  start: number;
14545
14564
  }[] | undefined;
14565
+ path?: string[] | undefined;
14546
14566
  values?: string[] | undefined;
14547
14567
  }[] | undefined;
14548
14568
  page: number;
@@ -14560,6 +14580,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
14560
14580
  endInclusive?: boolean | undefined;
14561
14581
  start: number;
14562
14582
  }[] | undefined;
14583
+ path?: string[] | undefined;
14563
14584
  values?: string[] | undefined;
14564
14585
  }[] | undefined;
14565
14586
  page: number;
@@ -14577,6 +14598,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
14577
14598
  endInclusive?: boolean | undefined;
14578
14599
  start: number;
14579
14600
  }[] | undefined;
14601
+ path?: string[] | undefined;
14580
14602
  values?: string[] | undefined;
14581
14603
  }[] | undefined;
14582
14604
  page: number;
@@ -14618,6 +14640,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
14618
14640
  endInclusive?: boolean | undefined;
14619
14641
  start: number;
14620
14642
  }[] | undefined;
14643
+ path?: string[] | undefined;
14621
14644
  values?: string[] | undefined;
14622
14645
  }[] | undefined;
14623
14646
  page: number;
@@ -14647,6 +14670,7 @@ export declare const CommerceSearchActionsSchema: z.ZodObject<{
14647
14670
  endInclusive?: boolean | undefined;
14648
14671
  start: number;
14649
14672
  }[] | undefined;
14673
+ path?: string[] | undefined;
14650
14674
  values?: string[] | undefined;
14651
14675
  }[] | undefined;
14652
14676
  page: number;
@@ -14699,6 +14723,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
14699
14723
  endInclusive?: boolean | undefined;
14700
14724
  start: number;
14701
14725
  }>, "many">>;
14726
+ path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14702
14727
  values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14703
14728
  }, "strict", z.ZodTypeAny, {
14704
14729
  facetId: string;
@@ -14707,6 +14732,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
14707
14732
  endInclusive?: boolean | undefined;
14708
14733
  start: number;
14709
14734
  }[] | undefined;
14735
+ path?: string[] | undefined;
14710
14736
  values?: string[] | undefined;
14711
14737
  }, {
14712
14738
  facetId: string;
@@ -14715,6 +14741,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
14715
14741
  endInclusive?: boolean | undefined;
14716
14742
  start: number;
14717
14743
  }[] | undefined;
14744
+ path?: string[] | undefined;
14718
14745
  values?: string[] | undefined;
14719
14746
  }>, "many">>;
14720
14747
  page: z.ZodNumber;
@@ -14730,6 +14757,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
14730
14757
  endInclusive?: boolean | undefined;
14731
14758
  start: number;
14732
14759
  }[] | undefined;
14760
+ path?: string[] | undefined;
14733
14761
  values?: string[] | undefined;
14734
14762
  }[] | undefined;
14735
14763
  page: number;
@@ -14745,6 +14773,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
14745
14773
  endInclusive?: boolean | undefined;
14746
14774
  start: number;
14747
14775
  }[] | undefined;
14776
+ path?: string[] | undefined;
14748
14777
  values?: string[] | undefined;
14749
14778
  }[] | undefined;
14750
14779
  page: number;
@@ -14762,6 +14791,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
14762
14791
  endInclusive?: boolean | undefined;
14763
14792
  start: number;
14764
14793
  }[] | undefined;
14794
+ path?: string[] | undefined;
14765
14795
  values?: string[] | undefined;
14766
14796
  }[] | undefined;
14767
14797
  page: number;
@@ -14779,6 +14809,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
14779
14809
  endInclusive?: boolean | undefined;
14780
14810
  start: number;
14781
14811
  }[] | undefined;
14812
+ path?: string[] | undefined;
14782
14813
  values?: string[] | undefined;
14783
14814
  }[] | undefined;
14784
14815
  page: number;
@@ -14820,6 +14851,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
14820
14851
  endInclusive?: boolean | undefined;
14821
14852
  start: number;
14822
14853
  }[] | undefined;
14854
+ path?: string[] | undefined;
14823
14855
  values?: string[] | undefined;
14824
14856
  }[] | undefined;
14825
14857
  page: number;
@@ -14849,6 +14881,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
14849
14881
  endInclusive?: boolean | undefined;
14850
14882
  start: number;
14851
14883
  }[] | undefined;
14884
+ path?: string[] | undefined;
14852
14885
  values?: string[] | undefined;
14853
14886
  }[] | undefined;
14854
14887
  page: number;
@@ -14903,6 +14936,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
14903
14936
  endInclusive?: boolean | undefined;
14904
14937
  start: number;
14905
14938
  }>, "many">>;
14939
+ path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14906
14940
  values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14907
14941
  }, "strict", z.ZodTypeAny, {
14908
14942
  facetId: string;
@@ -14911,6 +14945,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
14911
14945
  endInclusive?: boolean | undefined;
14912
14946
  start: number;
14913
14947
  }[] | undefined;
14948
+ path?: string[] | undefined;
14914
14949
  values?: string[] | undefined;
14915
14950
  }, {
14916
14951
  facetId: string;
@@ -14919,6 +14954,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
14919
14954
  endInclusive?: boolean | undefined;
14920
14955
  start: number;
14921
14956
  }[] | undefined;
14957
+ path?: string[] | undefined;
14922
14958
  values?: string[] | undefined;
14923
14959
  }>, "many">>;
14924
14960
  page: z.ZodNumber;
@@ -14934,6 +14970,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
14934
14970
  endInclusive?: boolean | undefined;
14935
14971
  start: number;
14936
14972
  }[] | undefined;
14973
+ path?: string[] | undefined;
14937
14974
  values?: string[] | undefined;
14938
14975
  }[] | undefined;
14939
14976
  page: number;
@@ -14949,6 +14986,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
14949
14986
  endInclusive?: boolean | undefined;
14950
14987
  start: number;
14951
14988
  }[] | undefined;
14989
+ path?: string[] | undefined;
14952
14990
  values?: string[] | undefined;
14953
14991
  }[] | undefined;
14954
14992
  page: number;
@@ -14966,6 +15004,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
14966
15004
  endInclusive?: boolean | undefined;
14967
15005
  start: number;
14968
15006
  }[] | undefined;
15007
+ path?: string[] | undefined;
14969
15008
  values?: string[] | undefined;
14970
15009
  }[] | undefined;
14971
15010
  page: number;
@@ -14983,6 +15022,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
14983
15022
  endInclusive?: boolean | undefined;
14984
15023
  start: number;
14985
15024
  }[] | undefined;
15025
+ path?: string[] | undefined;
14986
15026
  values?: string[] | undefined;
14987
15027
  }[] | undefined;
14988
15028
  page: number;
@@ -15024,6 +15064,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
15024
15064
  endInclusive?: boolean | undefined;
15025
15065
  start: number;
15026
15066
  }[] | undefined;
15067
+ path?: string[] | undefined;
15027
15068
  values?: string[] | undefined;
15028
15069
  }[] | undefined;
15029
15070
  page: number;
@@ -15053,6 +15094,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
15053
15094
  endInclusive?: boolean | undefined;
15054
15095
  start: number;
15055
15096
  }[] | undefined;
15097
+ path?: string[] | undefined;
15056
15098
  values?: string[] | undefined;
15057
15099
  }[] | undefined;
15058
15100
  page: number;
@@ -15107,6 +15149,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
15107
15149
  endInclusive?: boolean | undefined;
15108
15150
  start: number;
15109
15151
  }>, "many">>;
15152
+ path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15110
15153
  values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15111
15154
  }, "strict", z.ZodTypeAny, {
15112
15155
  facetId: string;
@@ -15115,6 +15158,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
15115
15158
  endInclusive?: boolean | undefined;
15116
15159
  start: number;
15117
15160
  }[] | undefined;
15161
+ path?: string[] | undefined;
15118
15162
  values?: string[] | undefined;
15119
15163
  }, {
15120
15164
  facetId: string;
@@ -15123,6 +15167,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
15123
15167
  endInclusive?: boolean | undefined;
15124
15168
  start: number;
15125
15169
  }[] | undefined;
15170
+ path?: string[] | undefined;
15126
15171
  values?: string[] | undefined;
15127
15172
  }>, "many">>;
15128
15173
  page: z.ZodNumber;
@@ -15138,6 +15183,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
15138
15183
  endInclusive?: boolean | undefined;
15139
15184
  start: number;
15140
15185
  }[] | undefined;
15186
+ path?: string[] | undefined;
15141
15187
  values?: string[] | undefined;
15142
15188
  }[] | undefined;
15143
15189
  page: number;
@@ -15153,6 +15199,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
15153
15199
  endInclusive?: boolean | undefined;
15154
15200
  start: number;
15155
15201
  }[] | undefined;
15202
+ path?: string[] | undefined;
15156
15203
  values?: string[] | undefined;
15157
15204
  }[] | undefined;
15158
15205
  page: number;
@@ -15170,6 +15217,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
15170
15217
  endInclusive?: boolean | undefined;
15171
15218
  start: number;
15172
15219
  }[] | undefined;
15220
+ path?: string[] | undefined;
15173
15221
  values?: string[] | undefined;
15174
15222
  }[] | undefined;
15175
15223
  page: number;
@@ -15187,6 +15235,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
15187
15235
  endInclusive?: boolean | undefined;
15188
15236
  start: number;
15189
15237
  }[] | undefined;
15238
+ path?: string[] | undefined;
15190
15239
  values?: string[] | undefined;
15191
15240
  }[] | undefined;
15192
15241
  page: number;
@@ -15228,6 +15277,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
15228
15277
  endInclusive?: boolean | undefined;
15229
15278
  start: number;
15230
15279
  }[] | undefined;
15280
+ path?: string[] | undefined;
15231
15281
  values?: string[] | undefined;
15232
15282
  }[] | undefined;
15233
15283
  page: number;
@@ -15257,6 +15307,7 @@ export declare const CommerceSearchSchema: z.ZodObject<{
15257
15307
  endInclusive?: boolean | undefined;
15258
15308
  start: number;
15259
15309
  }[] | undefined;
15310
+ path?: string[] | undefined;
15260
15311
  values?: string[] | undefined;
15261
15312
  }[] | undefined;
15262
15313
  page: number;
@@ -24175,6 +24226,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24175
24226
  endInclusive?: boolean | undefined;
24176
24227
  start: number;
24177
24228
  }>, "many">>;
24229
+ path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
24178
24230
  values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
24179
24231
  }, "strict", z.ZodTypeAny, {
24180
24232
  facetId: string;
@@ -24183,6 +24235,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24183
24235
  endInclusive?: boolean | undefined;
24184
24236
  start: number;
24185
24237
  }[] | undefined;
24238
+ path?: string[] | undefined;
24186
24239
  values?: string[] | undefined;
24187
24240
  }, {
24188
24241
  facetId: string;
@@ -24191,6 +24244,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24191
24244
  endInclusive?: boolean | undefined;
24192
24245
  start: number;
24193
24246
  }[] | undefined;
24247
+ path?: string[] | undefined;
24194
24248
  values?: string[] | undefined;
24195
24249
  }>, "many">>;
24196
24250
  page: z.ZodNumber;
@@ -24206,6 +24260,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24206
24260
  endInclusive?: boolean | undefined;
24207
24261
  start: number;
24208
24262
  }[] | undefined;
24263
+ path?: string[] | undefined;
24209
24264
  values?: string[] | undefined;
24210
24265
  }[] | undefined;
24211
24266
  page: number;
@@ -24221,6 +24276,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24221
24276
  endInclusive?: boolean | undefined;
24222
24277
  start: number;
24223
24278
  }[] | undefined;
24279
+ path?: string[] | undefined;
24224
24280
  values?: string[] | undefined;
24225
24281
  }[] | undefined;
24226
24282
  page: number;
@@ -24238,6 +24294,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24238
24294
  endInclusive?: boolean | undefined;
24239
24295
  start: number;
24240
24296
  }[] | undefined;
24297
+ path?: string[] | undefined;
24241
24298
  values?: string[] | undefined;
24242
24299
  }[] | undefined;
24243
24300
  page: number;
@@ -24255,6 +24312,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24255
24312
  endInclusive?: boolean | undefined;
24256
24313
  start: number;
24257
24314
  }[] | undefined;
24315
+ path?: string[] | undefined;
24258
24316
  values?: string[] | undefined;
24259
24317
  }[] | undefined;
24260
24318
  page: number;
@@ -24296,6 +24354,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24296
24354
  endInclusive?: boolean | undefined;
24297
24355
  start: number;
24298
24356
  }[] | undefined;
24357
+ path?: string[] | undefined;
24299
24358
  values?: string[] | undefined;
24300
24359
  }[] | undefined;
24301
24360
  page: number;
@@ -24325,6 +24384,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24325
24384
  endInclusive?: boolean | undefined;
24326
24385
  start: number;
24327
24386
  }[] | undefined;
24387
+ path?: string[] | undefined;
24328
24388
  values?: string[] | undefined;
24329
24389
  }[] | undefined;
24330
24390
  page: number;
@@ -24379,6 +24439,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24379
24439
  endInclusive?: boolean | undefined;
24380
24440
  start: number;
24381
24441
  }>, "many">>;
24442
+ path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
24382
24443
  values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
24383
24444
  }, "strict", z.ZodTypeAny, {
24384
24445
  facetId: string;
@@ -24387,6 +24448,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24387
24448
  endInclusive?: boolean | undefined;
24388
24449
  start: number;
24389
24450
  }[] | undefined;
24451
+ path?: string[] | undefined;
24390
24452
  values?: string[] | undefined;
24391
24453
  }, {
24392
24454
  facetId: string;
@@ -24395,6 +24457,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24395
24457
  endInclusive?: boolean | undefined;
24396
24458
  start: number;
24397
24459
  }[] | undefined;
24460
+ path?: string[] | undefined;
24398
24461
  values?: string[] | undefined;
24399
24462
  }>, "many">>;
24400
24463
  page: z.ZodNumber;
@@ -24410,6 +24473,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24410
24473
  endInclusive?: boolean | undefined;
24411
24474
  start: number;
24412
24475
  }[] | undefined;
24476
+ path?: string[] | undefined;
24413
24477
  values?: string[] | undefined;
24414
24478
  }[] | undefined;
24415
24479
  page: number;
@@ -24425,6 +24489,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24425
24489
  endInclusive?: boolean | undefined;
24426
24490
  start: number;
24427
24491
  }[] | undefined;
24492
+ path?: string[] | undefined;
24428
24493
  values?: string[] | undefined;
24429
24494
  }[] | undefined;
24430
24495
  page: number;
@@ -24442,6 +24507,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24442
24507
  endInclusive?: boolean | undefined;
24443
24508
  start: number;
24444
24509
  }[] | undefined;
24510
+ path?: string[] | undefined;
24445
24511
  values?: string[] | undefined;
24446
24512
  }[] | undefined;
24447
24513
  page: number;
@@ -24459,6 +24525,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24459
24525
  endInclusive?: boolean | undefined;
24460
24526
  start: number;
24461
24527
  }[] | undefined;
24528
+ path?: string[] | undefined;
24462
24529
  values?: string[] | undefined;
24463
24530
  }[] | undefined;
24464
24531
  page: number;
@@ -24500,6 +24567,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24500
24567
  endInclusive?: boolean | undefined;
24501
24568
  start: number;
24502
24569
  }[] | undefined;
24570
+ path?: string[] | undefined;
24503
24571
  values?: string[] | undefined;
24504
24572
  }[] | undefined;
24505
24573
  page: number;
@@ -24529,6 +24597,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24529
24597
  endInclusive?: boolean | undefined;
24530
24598
  start: number;
24531
24599
  }[] | undefined;
24600
+ path?: string[] | undefined;
24532
24601
  values?: string[] | undefined;
24533
24602
  }[] | undefined;
24534
24603
  page: number;
@@ -24583,6 +24652,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24583
24652
  endInclusive?: boolean | undefined;
24584
24653
  start: number;
24585
24654
  }>, "many">>;
24655
+ path: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
24586
24656
  values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
24587
24657
  }, "strict", z.ZodTypeAny, {
24588
24658
  facetId: string;
@@ -24591,6 +24661,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24591
24661
  endInclusive?: boolean | undefined;
24592
24662
  start: number;
24593
24663
  }[] | undefined;
24664
+ path?: string[] | undefined;
24594
24665
  values?: string[] | undefined;
24595
24666
  }, {
24596
24667
  facetId: string;
@@ -24599,6 +24670,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24599
24670
  endInclusive?: boolean | undefined;
24600
24671
  start: number;
24601
24672
  }[] | undefined;
24673
+ path?: string[] | undefined;
24602
24674
  values?: string[] | undefined;
24603
24675
  }>, "many">>;
24604
24676
  page: z.ZodNumber;
@@ -24614,6 +24686,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24614
24686
  endInclusive?: boolean | undefined;
24615
24687
  start: number;
24616
24688
  }[] | undefined;
24689
+ path?: string[] | undefined;
24617
24690
  values?: string[] | undefined;
24618
24691
  }[] | undefined;
24619
24692
  page: number;
@@ -24629,6 +24702,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24629
24702
  endInclusive?: boolean | undefined;
24630
24703
  start: number;
24631
24704
  }[] | undefined;
24705
+ path?: string[] | undefined;
24632
24706
  values?: string[] | undefined;
24633
24707
  }[] | undefined;
24634
24708
  page: number;
@@ -24646,6 +24720,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24646
24720
  endInclusive?: boolean | undefined;
24647
24721
  start: number;
24648
24722
  }[] | undefined;
24723
+ path?: string[] | undefined;
24649
24724
  values?: string[] | undefined;
24650
24725
  }[] | undefined;
24651
24726
  page: number;
@@ -24663,6 +24738,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24663
24738
  endInclusive?: boolean | undefined;
24664
24739
  start: number;
24665
24740
  }[] | undefined;
24741
+ path?: string[] | undefined;
24666
24742
  values?: string[] | undefined;
24667
24743
  }[] | undefined;
24668
24744
  page: number;
@@ -24704,6 +24780,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24704
24780
  endInclusive?: boolean | undefined;
24705
24781
  start: number;
24706
24782
  }[] | undefined;
24783
+ path?: string[] | undefined;
24707
24784
  values?: string[] | undefined;
24708
24785
  }[] | undefined;
24709
24786
  page: number;
@@ -24733,6 +24810,7 @@ export declare const ComponentContractsSchema: z.ZodDiscriminatedUnion<"componen
24733
24810
  endInclusive?: boolean | undefined;
24734
24811
  start: number;
24735
24812
  }[] | undefined;
24813
+ path?: string[] | undefined;
24736
24814
  values?: string[] | undefined;
24737
24815
  }[] | undefined;
24738
24816
  page: number;
@@ -559,6 +559,7 @@ export const OverrideCorrectionSchema = z.strictObject({
559
559
  export const FacetRestoreSchema = z.strictObject({
560
560
  facetId: z.string().min(1),
561
561
  numericRanges: z.array(NumericRangeRestoreSchema).optional(),
562
+ path: z.array(z.string()).optional(),
562
563
  values: z.array(z.string()).optional(),
563
564
  });
564
565
  export const SubmitQuerySchema = z.strictObject({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coveo/thermidor-schema",
3
- "version": "1.0.0-beta.33",
3
+ "version": "1.0.0-beta.34",
4
4
  "description": "Zod and TypeScript projections of the Thermidor JSON Schema contract.",
5
5
  "homepage": "https://github.com/coveo-platform/thermidor-schema#readme",
6
6
  "bugs": {
@@ -161,6 +161,13 @@
161
161
  "items": {
162
162
  "$ref": "#/$defs/NumericRangeRestore"
163
163
  }
164
+ },
165
+ "path": {
166
+ "type": "array",
167
+ "description": "The selected path of a category facet, ordered from the root to the selected value.",
168
+ "items": {
169
+ "type": "string"
170
+ }
164
171
  }
165
172
  },
166
173
  "additionalProperties": false