commerce-kit 0.11.0 → 0.12.0

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.
@@ -14,6 +14,11 @@ type APIProductsBrowseResult = {
14
14
  images: string[];
15
15
  badge: unknown;
16
16
  bundleDiscountPercentage: string | null;
17
+ seo: {
18
+ title?: string | null | undefined;
19
+ description?: string | null | undefined;
20
+ canonical?: string | null | undefined;
21
+ } | null;
17
22
  categoryId: string | null;
18
23
  category: {
19
24
  id: string;
@@ -24,8 +29,13 @@ type APIProductsBrowseResult = {
24
29
  description: JSONContent | null;
25
30
  slug: string;
26
31
  active: boolean;
27
- storeId: string | null;
32
+ storeId: string;
28
33
  position: string;
34
+ seo: {
35
+ title?: string | null | undefined;
36
+ description?: string | null | undefined;
37
+ canonical?: string | null | undefined;
38
+ } | null;
29
39
  parentId: string | null;
30
40
  } | null;
31
41
  productTaxRate: {
@@ -54,7 +64,13 @@ type APIProductsBrowseResult = {
54
64
  updatedAt: string;
55
65
  description: JSONContent | null;
56
66
  slug: string;
57
- filter: unknown;
67
+ filter: {
68
+ type: "manual";
69
+ } | {
70
+ type: "dynamicPrice";
71
+ min?: number | null | undefined;
72
+ max?: number | null | undefined;
73
+ };
58
74
  active: boolean;
59
75
  storeId: string;
60
76
  };
@@ -211,6 +227,11 @@ type APIProductsBrowseResult = {
211
227
  images: string[];
212
228
  badge: unknown;
213
229
  bundleDiscountPercentage: string | null;
230
+ seo: {
231
+ title?: string | null | undefined;
232
+ description?: string | null | undefined;
233
+ canonical?: string | null | undefined;
234
+ } | null;
214
235
  categoryId: string | null;
215
236
  category: {
216
237
  id: string;
@@ -221,8 +242,13 @@ type APIProductsBrowseResult = {
221
242
  description: JSONContent | null;
222
243
  slug: string;
223
244
  active: boolean;
224
- storeId: string | null;
245
+ storeId: string;
225
246
  position: string;
247
+ seo: {
248
+ title?: string | null | undefined;
249
+ description?: string | null | undefined;
250
+ canonical?: string | null | undefined;
251
+ } | null;
226
252
  parentId: string | null;
227
253
  } | null;
228
254
  productTaxRate: {
@@ -251,7 +277,13 @@ type APIProductsBrowseResult = {
251
277
  updatedAt: string;
252
278
  description: JSONContent | null;
253
279
  slug: string;
254
- filter: unknown;
280
+ filter: {
281
+ type: "manual";
282
+ } | {
283
+ type: "dynamicPrice";
284
+ min?: number | null | undefined;
285
+ max?: number | null | undefined;
286
+ };
255
287
  active: boolean;
256
288
  storeId: string;
257
289
  };
@@ -408,6 +440,11 @@ type APIProductsBrowseResult = {
408
440
  images: string[];
409
441
  badge: unknown;
410
442
  bundleDiscountPercentage: string | null;
443
+ seo: {
444
+ title?: string | null | undefined;
445
+ description?: string | null | undefined;
446
+ canonical?: string | null | undefined;
447
+ } | null;
411
448
  categoryId: string | null;
412
449
  category: {
413
450
  id: string;
@@ -418,8 +455,13 @@ type APIProductsBrowseResult = {
418
455
  description: JSONContent | null;
419
456
  slug: string;
420
457
  active: boolean;
421
- storeId: string | null;
458
+ storeId: string;
422
459
  position: string;
460
+ seo: {
461
+ title?: string | null | undefined;
462
+ description?: string | null | undefined;
463
+ canonical?: string | null | undefined;
464
+ } | null;
423
465
  parentId: string | null;
424
466
  } | null;
425
467
  productTaxRate: {
@@ -448,7 +490,13 @@ type APIProductsBrowseResult = {
448
490
  updatedAt: string;
449
491
  description: JSONContent | null;
450
492
  slug: string;
451
- filter: unknown;
493
+ filter: {
494
+ type: "manual";
495
+ } | {
496
+ type: "dynamicPrice";
497
+ min?: number | null | undefined;
498
+ max?: number | null | undefined;
499
+ };
452
500
  active: boolean;
453
501
  storeId: string;
454
502
  };
@@ -605,6 +653,11 @@ type APIProductsBrowseResult = {
605
653
  images: string[];
606
654
  badge: unknown;
607
655
  bundleDiscountPercentage: string | null;
656
+ seo: {
657
+ title?: string | null | undefined;
658
+ description?: string | null | undefined;
659
+ canonical?: string | null | undefined;
660
+ } | null;
608
661
  categoryId: string | null;
609
662
  category: {
610
663
  id: string;
@@ -615,8 +668,13 @@ type APIProductsBrowseResult = {
615
668
  description: JSONContent | null;
616
669
  slug: string;
617
670
  active: boolean;
618
- storeId: string | null;
671
+ storeId: string;
619
672
  position: string;
673
+ seo: {
674
+ title?: string | null | undefined;
675
+ description?: string | null | undefined;
676
+ canonical?: string | null | undefined;
677
+ } | null;
620
678
  parentId: string | null;
621
679
  } | null;
622
680
  productTaxRate: {
@@ -645,7 +703,13 @@ type APIProductsBrowseResult = {
645
703
  updatedAt: string;
646
704
  description: JSONContent | null;
647
705
  slug: string;
648
- filter: unknown;
706
+ filter: {
707
+ type: "manual";
708
+ } | {
709
+ type: "dynamicPrice";
710
+ min?: number | null | undefined;
711
+ max?: number | null | undefined;
712
+ };
649
713
  active: boolean;
650
714
  storeId: string;
651
715
  };
@@ -803,6 +867,11 @@ type APIProductsBrowseResult = {
803
867
  images: string[];
804
868
  badge: unknown;
805
869
  bundleDiscountPercentage: string | null;
870
+ seo: {
871
+ title?: string | null | undefined;
872
+ description?: string | null | undefined;
873
+ canonical?: string | null | undefined;
874
+ } | null;
806
875
  categoryId: string | null;
807
876
  category: {
808
877
  id: string;
@@ -813,8 +882,13 @@ type APIProductsBrowseResult = {
813
882
  description: JSONContent | null;
814
883
  slug: string;
815
884
  active: boolean;
816
- storeId: string | null;
885
+ storeId: string;
817
886
  position: string;
887
+ seo: {
888
+ title?: string | null | undefined;
889
+ description?: string | null | undefined;
890
+ canonical?: string | null | undefined;
891
+ } | null;
818
892
  parentId: string | null;
819
893
  } | null;
820
894
  productTaxRate: {
@@ -843,7 +917,13 @@ type APIProductsBrowseResult = {
843
917
  updatedAt: string;
844
918
  description: JSONContent | null;
845
919
  slug: string;
846
- filter: unknown;
920
+ filter: {
921
+ type: "manual";
922
+ } | {
923
+ type: "dynamicPrice";
924
+ min?: number | null | undefined;
925
+ max?: number | null | undefined;
926
+ };
847
927
  active: boolean;
848
928
  storeId: string;
849
929
  };
@@ -1018,6 +1098,11 @@ type APIProductGetByIdResult = ({
1018
1098
  images: string[];
1019
1099
  badge: unknown;
1020
1100
  bundleDiscountPercentage: string | null;
1101
+ seo: {
1102
+ title?: string | null | undefined;
1103
+ description?: string | null | undefined;
1104
+ canonical?: string | null | undefined;
1105
+ } | null;
1021
1106
  categoryId: string | null;
1022
1107
  category: {
1023
1108
  id: string;
@@ -1028,8 +1113,13 @@ type APIProductGetByIdResult = ({
1028
1113
  description: JSONContent | null;
1029
1114
  slug: string;
1030
1115
  active: boolean;
1031
- storeId: string | null;
1116
+ storeId: string;
1032
1117
  position: string;
1118
+ seo: {
1119
+ title?: string | null | undefined;
1120
+ description?: string | null | undefined;
1121
+ canonical?: string | null | undefined;
1122
+ } | null;
1033
1123
  parentId: string | null;
1034
1124
  } | null;
1035
1125
  productTaxRate: {
@@ -1058,7 +1148,13 @@ type APIProductGetByIdResult = ({
1058
1148
  updatedAt: string;
1059
1149
  description: JSONContent | null;
1060
1150
  slug: string;
1061
- filter: unknown;
1151
+ filter: {
1152
+ type: "manual";
1153
+ } | {
1154
+ type: "dynamicPrice";
1155
+ min?: number | null | undefined;
1156
+ max?: number | null | undefined;
1157
+ };
1062
1158
  active: boolean;
1063
1159
  storeId: string;
1064
1160
  };
@@ -1227,6 +1323,11 @@ type APIProductGetByIdResult = ({
1227
1323
  images: string[];
1228
1324
  badge: unknown;
1229
1325
  bundleDiscountPercentage: string | null;
1326
+ seo: {
1327
+ title?: string | null | undefined;
1328
+ description?: string | null | undefined;
1329
+ canonical?: string | null | undefined;
1330
+ } | null;
1230
1331
  categoryId: string | null;
1231
1332
  category: {
1232
1333
  id: string;
@@ -1237,8 +1338,13 @@ type APIProductGetByIdResult = ({
1237
1338
  description: JSONContent | null;
1238
1339
  slug: string;
1239
1340
  active: boolean;
1240
- storeId: string | null;
1341
+ storeId: string;
1241
1342
  position: string;
1343
+ seo: {
1344
+ title?: string | null | undefined;
1345
+ description?: string | null | undefined;
1346
+ canonical?: string | null | undefined;
1347
+ } | null;
1242
1348
  parentId: string | null;
1243
1349
  } | null;
1244
1350
  productTaxRate: {
@@ -1267,7 +1373,13 @@ type APIProductGetByIdResult = ({
1267
1373
  updatedAt: string;
1268
1374
  description: JSONContent | null;
1269
1375
  slug: string;
1270
- filter: unknown;
1376
+ filter: {
1377
+ type: "manual";
1378
+ } | {
1379
+ type: "dynamicPrice";
1380
+ min?: number | null | undefined;
1381
+ max?: number | null | undefined;
1382
+ };
1271
1383
  active: boolean;
1272
1384
  storeId: string;
1273
1385
  };
@@ -1484,6 +1596,11 @@ type APICartGetResult = {
1484
1596
  images: string[];
1485
1597
  badge: unknown;
1486
1598
  bundleDiscountPercentage: string | null;
1599
+ seo: {
1600
+ title?: string | null | undefined;
1601
+ description?: string | null | undefined;
1602
+ canonical?: string | null | undefined;
1603
+ } | null;
1487
1604
  categoryId: string | null;
1488
1605
  productTaxRate: {
1489
1606
  createdAt: string;
@@ -1511,7 +1628,13 @@ type APICartGetResult = {
1511
1628
  updatedAt: string;
1512
1629
  description: JSONContent | null;
1513
1630
  slug: string;
1514
- filter: unknown;
1631
+ filter: {
1632
+ type: "manual";
1633
+ } | {
1634
+ type: "dynamicPrice";
1635
+ min?: number | null | undefined;
1636
+ max?: number | null | undefined;
1637
+ };
1515
1638
  active: boolean;
1516
1639
  storeId: string;
1517
1640
  };
@@ -1614,6 +1737,11 @@ type APICartGetResult = {
1614
1737
  images: string[];
1615
1738
  badge: unknown;
1616
1739
  bundleDiscountPercentage: string | null;
1740
+ seo: {
1741
+ title?: string | null | undefined;
1742
+ description?: string | null | undefined;
1743
+ canonical?: string | null | undefined;
1744
+ } | null;
1617
1745
  categoryId: string | null;
1618
1746
  productTaxRate: {
1619
1747
  createdAt: string;
@@ -1641,7 +1769,13 @@ type APICartGetResult = {
1641
1769
  updatedAt: string;
1642
1770
  description: JSONContent | null;
1643
1771
  slug: string;
1644
- filter: unknown;
1772
+ filter: {
1773
+ type: "manual";
1774
+ } | {
1775
+ type: "dynamicPrice";
1776
+ min?: number | null | undefined;
1777
+ max?: number | null | undefined;
1778
+ };
1645
1779
  active: boolean;
1646
1780
  storeId: string;
1647
1781
  };
@@ -1744,6 +1878,11 @@ type APICartGetResult = {
1744
1878
  images: string[];
1745
1879
  badge: unknown;
1746
1880
  bundleDiscountPercentage: string | null;
1881
+ seo: {
1882
+ title?: string | null | undefined;
1883
+ description?: string | null | undefined;
1884
+ canonical?: string | null | undefined;
1885
+ } | null;
1747
1886
  categoryId: string | null;
1748
1887
  productTaxRate: {
1749
1888
  createdAt: string;
@@ -1771,7 +1910,13 @@ type APICartGetResult = {
1771
1910
  updatedAt: string;
1772
1911
  description: JSONContent | null;
1773
1912
  slug: string;
1774
- filter: unknown;
1913
+ filter: {
1914
+ type: "manual";
1915
+ } | {
1916
+ type: "dynamicPrice";
1917
+ min?: number | null | undefined;
1918
+ max?: number | null | undefined;
1919
+ };
1775
1920
  active: boolean;
1776
1921
  storeId: string;
1777
1922
  };
@@ -1874,6 +2019,11 @@ type APICartGetResult = {
1874
2019
  images: string[];
1875
2020
  badge: unknown;
1876
2021
  bundleDiscountPercentage: string | null;
2022
+ seo: {
2023
+ title?: string | null | undefined;
2024
+ description?: string | null | undefined;
2025
+ canonical?: string | null | undefined;
2026
+ } | null;
1877
2027
  categoryId: string | null;
1878
2028
  productTaxRate: {
1879
2029
  createdAt: string;
@@ -1901,7 +2051,13 @@ type APICartGetResult = {
1901
2051
  updatedAt: string;
1902
2052
  description: JSONContent | null;
1903
2053
  slug: string;
1904
- filter: unknown;
2054
+ filter: {
2055
+ type: "manual";
2056
+ } | {
2057
+ type: "dynamicPrice";
2058
+ min?: number | null | undefined;
2059
+ max?: number | null | undefined;
2060
+ };
1905
2061
  active: boolean;
1906
2062
  storeId: string;
1907
2063
  };
@@ -2005,6 +2161,11 @@ type APICartGetResult = {
2005
2161
  images: string[];
2006
2162
  badge: unknown;
2007
2163
  bundleDiscountPercentage: string | null;
2164
+ seo: {
2165
+ title?: string | null | undefined;
2166
+ description?: string | null | undefined;
2167
+ canonical?: string | null | undefined;
2168
+ } | null;
2008
2169
  categoryId: string | null;
2009
2170
  productTaxRate: {
2010
2171
  createdAt: string;
@@ -2032,7 +2193,13 @@ type APICartGetResult = {
2032
2193
  updatedAt: string;
2033
2194
  description: JSONContent | null;
2034
2195
  slug: string;
2035
- filter: unknown;
2196
+ filter: {
2197
+ type: "manual";
2198
+ } | {
2199
+ type: "dynamicPrice";
2200
+ min?: number | null | undefined;
2201
+ max?: number | null | undefined;
2202
+ };
2036
2203
  active: boolean;
2037
2204
  storeId: string;
2038
2205
  };
@@ -2080,6 +2247,37 @@ type APICartGetResult = {
2080
2247
  } & {
2081
2248
  prePromotionPrice: string | null;
2082
2249
  });
2250
+ setSelections: {
2251
+ selectedVariant: {
2252
+ combinations: {
2253
+ createdAt: string;
2254
+ updatedAt: string;
2255
+ productVariantId: string;
2256
+ variantValueId: string;
2257
+ variantValue: {
2258
+ id: string;
2259
+ value: string;
2260
+ variantType: {
2261
+ id: string;
2262
+ label: string;
2263
+ };
2264
+ };
2265
+ }[];
2266
+ id: string;
2267
+ price: string;
2268
+ product: {
2269
+ id: string;
2270
+ name: string;
2271
+ };
2272
+ };
2273
+ id: string;
2274
+ createdAt: string;
2275
+ updatedAt: string;
2276
+ position: number;
2277
+ quantity: number;
2278
+ lineItemId: string;
2279
+ selectedVariantId: string;
2280
+ }[];
2083
2281
  id: string;
2084
2282
  createdAt: string;
2085
2283
  updatedAt: string;
@@ -2096,23 +2294,6 @@ type APICartGetResult = {
2096
2294
  interval: number;
2097
2295
  cadence: "month" | "week";
2098
2296
  } | null;
2099
- setSelections: {
2100
- id: string;
2101
- createdAt: string;
2102
- updatedAt: string;
2103
- position: number;
2104
- quantity: number;
2105
- lineItemId: string;
2106
- selectedVariantId: string;
2107
- selectedVariant: {
2108
- id: string;
2109
- price: string;
2110
- product: {
2111
- id: string;
2112
- name: string;
2113
- };
2114
- };
2115
- }[];
2116
2297
  }[];
2117
2298
  id: string;
2118
2299
  createdAt: string;
@@ -2291,6 +2472,11 @@ type APICartCreateResult = {
2291
2472
  images: string[];
2292
2473
  badge: unknown;
2293
2474
  bundleDiscountPercentage: string | null;
2475
+ seo: {
2476
+ title?: string | null | undefined;
2477
+ description?: string | null | undefined;
2478
+ canonical?: string | null | undefined;
2479
+ } | null;
2294
2480
  categoryId: string | null;
2295
2481
  productTaxRate: {
2296
2482
  createdAt: string;
@@ -2318,7 +2504,13 @@ type APICartCreateResult = {
2318
2504
  updatedAt: string;
2319
2505
  description: JSONContent | null;
2320
2506
  slug: string;
2321
- filter: unknown;
2507
+ filter: {
2508
+ type: "manual";
2509
+ } | {
2510
+ type: "dynamicPrice";
2511
+ min?: number | null | undefined;
2512
+ max?: number | null | undefined;
2513
+ };
2322
2514
  active: boolean;
2323
2515
  storeId: string;
2324
2516
  };
@@ -2421,6 +2613,11 @@ type APICartCreateResult = {
2421
2613
  images: string[];
2422
2614
  badge: unknown;
2423
2615
  bundleDiscountPercentage: string | null;
2616
+ seo: {
2617
+ title?: string | null | undefined;
2618
+ description?: string | null | undefined;
2619
+ canonical?: string | null | undefined;
2620
+ } | null;
2424
2621
  categoryId: string | null;
2425
2622
  productTaxRate: {
2426
2623
  createdAt: string;
@@ -2448,7 +2645,13 @@ type APICartCreateResult = {
2448
2645
  updatedAt: string;
2449
2646
  description: JSONContent | null;
2450
2647
  slug: string;
2451
- filter: unknown;
2648
+ filter: {
2649
+ type: "manual";
2650
+ } | {
2651
+ type: "dynamicPrice";
2652
+ min?: number | null | undefined;
2653
+ max?: number | null | undefined;
2654
+ };
2452
2655
  active: boolean;
2453
2656
  storeId: string;
2454
2657
  };
@@ -2551,6 +2754,11 @@ type APICartCreateResult = {
2551
2754
  images: string[];
2552
2755
  badge: unknown;
2553
2756
  bundleDiscountPercentage: string | null;
2757
+ seo: {
2758
+ title?: string | null | undefined;
2759
+ description?: string | null | undefined;
2760
+ canonical?: string | null | undefined;
2761
+ } | null;
2554
2762
  categoryId: string | null;
2555
2763
  productTaxRate: {
2556
2764
  createdAt: string;
@@ -2578,7 +2786,13 @@ type APICartCreateResult = {
2578
2786
  updatedAt: string;
2579
2787
  description: JSONContent | null;
2580
2788
  slug: string;
2581
- filter: unknown;
2789
+ filter: {
2790
+ type: "manual";
2791
+ } | {
2792
+ type: "dynamicPrice";
2793
+ min?: number | null | undefined;
2794
+ max?: number | null | undefined;
2795
+ };
2582
2796
  active: boolean;
2583
2797
  storeId: string;
2584
2798
  };
@@ -2681,6 +2895,11 @@ type APICartCreateResult = {
2681
2895
  images: string[];
2682
2896
  badge: unknown;
2683
2897
  bundleDiscountPercentage: string | null;
2898
+ seo: {
2899
+ title?: string | null | undefined;
2900
+ description?: string | null | undefined;
2901
+ canonical?: string | null | undefined;
2902
+ } | null;
2684
2903
  categoryId: string | null;
2685
2904
  productTaxRate: {
2686
2905
  createdAt: string;
@@ -2708,7 +2927,13 @@ type APICartCreateResult = {
2708
2927
  updatedAt: string;
2709
2928
  description: JSONContent | null;
2710
2929
  slug: string;
2711
- filter: unknown;
2930
+ filter: {
2931
+ type: "manual";
2932
+ } | {
2933
+ type: "dynamicPrice";
2934
+ min?: number | null | undefined;
2935
+ max?: number | null | undefined;
2936
+ };
2712
2937
  active: boolean;
2713
2938
  storeId: string;
2714
2939
  };
@@ -2812,6 +3037,11 @@ type APICartCreateResult = {
2812
3037
  images: string[];
2813
3038
  badge: unknown;
2814
3039
  bundleDiscountPercentage: string | null;
3040
+ seo: {
3041
+ title?: string | null | undefined;
3042
+ description?: string | null | undefined;
3043
+ canonical?: string | null | undefined;
3044
+ } | null;
2815
3045
  categoryId: string | null;
2816
3046
  productTaxRate: {
2817
3047
  createdAt: string;
@@ -2839,7 +3069,13 @@ type APICartCreateResult = {
2839
3069
  updatedAt: string;
2840
3070
  description: JSONContent | null;
2841
3071
  slug: string;
2842
- filter: unknown;
3072
+ filter: {
3073
+ type: "manual";
3074
+ } | {
3075
+ type: "dynamicPrice";
3076
+ min?: number | null | undefined;
3077
+ max?: number | null | undefined;
3078
+ };
2843
3079
  active: boolean;
2844
3080
  storeId: string;
2845
3081
  };
@@ -2887,6 +3123,37 @@ type APICartCreateResult = {
2887
3123
  } & {
2888
3124
  prePromotionPrice: string | null;
2889
3125
  });
3126
+ setSelections: {
3127
+ selectedVariant: {
3128
+ combinations: {
3129
+ createdAt: string;
3130
+ updatedAt: string;
3131
+ productVariantId: string;
3132
+ variantValueId: string;
3133
+ variantValue: {
3134
+ id: string;
3135
+ value: string;
3136
+ variantType: {
3137
+ id: string;
3138
+ label: string;
3139
+ };
3140
+ };
3141
+ }[];
3142
+ id: string;
3143
+ price: string;
3144
+ product: {
3145
+ id: string;
3146
+ name: string;
3147
+ };
3148
+ };
3149
+ id: string;
3150
+ createdAt: string;
3151
+ updatedAt: string;
3152
+ position: number;
3153
+ quantity: number;
3154
+ lineItemId: string;
3155
+ selectedVariantId: string;
3156
+ }[];
2890
3157
  id: string;
2891
3158
  createdAt: string;
2892
3159
  updatedAt: string;
@@ -2903,23 +3170,6 @@ type APICartCreateResult = {
2903
3170
  interval: number;
2904
3171
  cadence: "month" | "week";
2905
3172
  } | null;
2906
- setSelections: {
2907
- id: string;
2908
- createdAt: string;
2909
- updatedAt: string;
2910
- position: number;
2911
- quantity: number;
2912
- lineItemId: string;
2913
- selectedVariantId: string;
2914
- selectedVariant: {
2915
- id: string;
2916
- price: string;
2917
- product: {
2918
- id: string;
2919
- name: string;
2920
- };
2921
- };
2922
- }[];
2923
3173
  }[];
2924
3174
  id: string;
2925
3175
  createdAt: string;
@@ -3090,6 +3340,11 @@ type APICartRemoveItemResult = {
3090
3340
  images: string[];
3091
3341
  badge: unknown;
3092
3342
  bundleDiscountPercentage: string | null;
3343
+ seo: {
3344
+ title?: string | null | undefined;
3345
+ description?: string | null | undefined;
3346
+ canonical?: string | null | undefined;
3347
+ } | null;
3093
3348
  categoryId: string | null;
3094
3349
  productTaxRate: {
3095
3350
  createdAt: string;
@@ -3117,7 +3372,13 @@ type APICartRemoveItemResult = {
3117
3372
  updatedAt: string;
3118
3373
  description: JSONContent | null;
3119
3374
  slug: string;
3120
- filter: unknown;
3375
+ filter: {
3376
+ type: "manual";
3377
+ } | {
3378
+ type: "dynamicPrice";
3379
+ min?: number | null | undefined;
3380
+ max?: number | null | undefined;
3381
+ };
3121
3382
  active: boolean;
3122
3383
  storeId: string;
3123
3384
  };
@@ -3220,6 +3481,11 @@ type APICartRemoveItemResult = {
3220
3481
  images: string[];
3221
3482
  badge: unknown;
3222
3483
  bundleDiscountPercentage: string | null;
3484
+ seo: {
3485
+ title?: string | null | undefined;
3486
+ description?: string | null | undefined;
3487
+ canonical?: string | null | undefined;
3488
+ } | null;
3223
3489
  categoryId: string | null;
3224
3490
  productTaxRate: {
3225
3491
  createdAt: string;
@@ -3247,7 +3513,13 @@ type APICartRemoveItemResult = {
3247
3513
  updatedAt: string;
3248
3514
  description: JSONContent | null;
3249
3515
  slug: string;
3250
- filter: unknown;
3516
+ filter: {
3517
+ type: "manual";
3518
+ } | {
3519
+ type: "dynamicPrice";
3520
+ min?: number | null | undefined;
3521
+ max?: number | null | undefined;
3522
+ };
3251
3523
  active: boolean;
3252
3524
  storeId: string;
3253
3525
  };
@@ -3350,6 +3622,11 @@ type APICartRemoveItemResult = {
3350
3622
  images: string[];
3351
3623
  badge: unknown;
3352
3624
  bundleDiscountPercentage: string | null;
3625
+ seo: {
3626
+ title?: string | null | undefined;
3627
+ description?: string | null | undefined;
3628
+ canonical?: string | null | undefined;
3629
+ } | null;
3353
3630
  categoryId: string | null;
3354
3631
  productTaxRate: {
3355
3632
  createdAt: string;
@@ -3377,7 +3654,13 @@ type APICartRemoveItemResult = {
3377
3654
  updatedAt: string;
3378
3655
  description: JSONContent | null;
3379
3656
  slug: string;
3380
- filter: unknown;
3657
+ filter: {
3658
+ type: "manual";
3659
+ } | {
3660
+ type: "dynamicPrice";
3661
+ min?: number | null | undefined;
3662
+ max?: number | null | undefined;
3663
+ };
3381
3664
  active: boolean;
3382
3665
  storeId: string;
3383
3666
  };
@@ -3480,6 +3763,11 @@ type APICartRemoveItemResult = {
3480
3763
  images: string[];
3481
3764
  badge: unknown;
3482
3765
  bundleDiscountPercentage: string | null;
3766
+ seo: {
3767
+ title?: string | null | undefined;
3768
+ description?: string | null | undefined;
3769
+ canonical?: string | null | undefined;
3770
+ } | null;
3483
3771
  categoryId: string | null;
3484
3772
  productTaxRate: {
3485
3773
  createdAt: string;
@@ -3507,7 +3795,13 @@ type APICartRemoveItemResult = {
3507
3795
  updatedAt: string;
3508
3796
  description: JSONContent | null;
3509
3797
  slug: string;
3510
- filter: unknown;
3798
+ filter: {
3799
+ type: "manual";
3800
+ } | {
3801
+ type: "dynamicPrice";
3802
+ min?: number | null | undefined;
3803
+ max?: number | null | undefined;
3804
+ };
3511
3805
  active: boolean;
3512
3806
  storeId: string;
3513
3807
  };
@@ -3611,6 +3905,11 @@ type APICartRemoveItemResult = {
3611
3905
  images: string[];
3612
3906
  badge: unknown;
3613
3907
  bundleDiscountPercentage: string | null;
3908
+ seo: {
3909
+ title?: string | null | undefined;
3910
+ description?: string | null | undefined;
3911
+ canonical?: string | null | undefined;
3912
+ } | null;
3614
3913
  categoryId: string | null;
3615
3914
  productTaxRate: {
3616
3915
  createdAt: string;
@@ -3638,7 +3937,13 @@ type APICartRemoveItemResult = {
3638
3937
  updatedAt: string;
3639
3938
  description: JSONContent | null;
3640
3939
  slug: string;
3641
- filter: unknown;
3940
+ filter: {
3941
+ type: "manual";
3942
+ } | {
3943
+ type: "dynamicPrice";
3944
+ min?: number | null | undefined;
3945
+ max?: number | null | undefined;
3946
+ };
3642
3947
  active: boolean;
3643
3948
  storeId: string;
3644
3949
  };
@@ -3686,6 +3991,37 @@ type APICartRemoveItemResult = {
3686
3991
  } & {
3687
3992
  prePromotionPrice: string | null;
3688
3993
  });
3994
+ setSelections: {
3995
+ selectedVariant: {
3996
+ combinations: {
3997
+ createdAt: string;
3998
+ updatedAt: string;
3999
+ productVariantId: string;
4000
+ variantValueId: string;
4001
+ variantValue: {
4002
+ id: string;
4003
+ value: string;
4004
+ variantType: {
4005
+ id: string;
4006
+ label: string;
4007
+ };
4008
+ };
4009
+ }[];
4010
+ id: string;
4011
+ price: string;
4012
+ product: {
4013
+ id: string;
4014
+ name: string;
4015
+ };
4016
+ };
4017
+ id: string;
4018
+ createdAt: string;
4019
+ updatedAt: string;
4020
+ position: number;
4021
+ quantity: number;
4022
+ lineItemId: string;
4023
+ selectedVariantId: string;
4024
+ }[];
3689
4025
  id: string;
3690
4026
  createdAt: string;
3691
4027
  updatedAt: string;
@@ -3702,23 +4038,6 @@ type APICartRemoveItemResult = {
3702
4038
  interval: number;
3703
4039
  cadence: "month" | "week";
3704
4040
  } | null;
3705
- setSelections: {
3706
- id: string;
3707
- createdAt: string;
3708
- updatedAt: string;
3709
- position: number;
3710
- quantity: number;
3711
- lineItemId: string;
3712
- selectedVariantId: string;
3713
- selectedVariant: {
3714
- id: string;
3715
- price: string;
3716
- product: {
3717
- id: string;
3718
- name: string;
3719
- };
3720
- };
3721
- }[];
3722
4041
  }[];
3723
4042
  id: string;
3724
4043
  createdAt: string;
@@ -3958,8 +4277,19 @@ type APIOrdersBrowseResult = {
3958
4277
  slug: string;
3959
4278
  storeId: string;
3960
4279
  updatedAt: string;
3961
- filter: unknown;
4280
+ filter: {
4281
+ type: "manual";
4282
+ } | {
4283
+ type: "dynamicPrice";
4284
+ min?: number | null | undefined;
4285
+ max?: number | null | undefined;
4286
+ };
3962
4287
  active: boolean;
4288
+ seo?: {
4289
+ title?: string | null | undefined;
4290
+ description?: string | null | undefined;
4291
+ canonical?: string | null | undefined;
4292
+ } | null | undefined;
3963
4293
  };
3964
4294
  collectionId: string;
3965
4295
  position: string | null;
@@ -4014,6 +4344,11 @@ type APIOrdersBrowseResult = {
4014
4344
  allowDuplicates: boolean;
4015
4345
  discountPercentage: string;
4016
4346
  } | null;
4347
+ seo: {
4348
+ title?: string | null | undefined;
4349
+ description?: string | null | undefined;
4350
+ canonical?: string | null | undefined;
4351
+ } | null;
4017
4352
  active?: boolean | null | undefined;
4018
4353
  };
4019
4354
  createdAt: string;
@@ -4079,6 +4414,24 @@ type APIOrdersBrowseResult = {
4079
4414
  id: string;
4080
4415
  name: string;
4081
4416
  };
4417
+ combinations: {
4418
+ createdAt: string;
4419
+ updatedAt: string;
4420
+ productVariantId: string;
4421
+ variantValueId: string;
4422
+ variantValue: {
4423
+ id: string;
4424
+ value: string;
4425
+ variantType: {
4426
+ id: string;
4427
+ label: string;
4428
+ productId?: string | null | undefined;
4429
+ createdAt?: string | null | undefined;
4430
+ updatedAt?: string | null | undefined;
4431
+ };
4432
+ variantTypeId?: string | null | undefined;
4433
+ };
4434
+ }[];
4082
4435
  };
4083
4436
  }[];
4084
4437
  }[];
@@ -4289,8 +4642,19 @@ type APIOrdersBrowseResult = {
4289
4642
  slug: string;
4290
4643
  storeId: string;
4291
4644
  updatedAt: string;
4292
- filter: unknown;
4645
+ filter: {
4646
+ type: "manual";
4647
+ } | {
4648
+ type: "dynamicPrice";
4649
+ min?: number | null | undefined;
4650
+ max?: number | null | undefined;
4651
+ };
4293
4652
  active: boolean;
4653
+ seo?: {
4654
+ title?: string | null | undefined;
4655
+ description?: string | null | undefined;
4656
+ canonical?: string | null | undefined;
4657
+ } | null | undefined;
4294
4658
  };
4295
4659
  collectionId: string;
4296
4660
  position: string | null;
@@ -4345,6 +4709,11 @@ type APIOrdersBrowseResult = {
4345
4709
  allowDuplicates: boolean;
4346
4710
  discountPercentage: string;
4347
4711
  } | null;
4712
+ seo: {
4713
+ title?: string | null | undefined;
4714
+ description?: string | null | undefined;
4715
+ canonical?: string | null | undefined;
4716
+ } | null;
4348
4717
  active?: boolean | null | undefined;
4349
4718
  };
4350
4719
  createdAt: string;
@@ -4410,6 +4779,24 @@ type APIOrdersBrowseResult = {
4410
4779
  id: string;
4411
4780
  name: string;
4412
4781
  };
4782
+ combinations: {
4783
+ createdAt: string;
4784
+ updatedAt: string;
4785
+ productVariantId: string;
4786
+ variantValueId: string;
4787
+ variantValue: {
4788
+ id: string;
4789
+ value: string;
4790
+ variantType: {
4791
+ id: string;
4792
+ label: string;
4793
+ productId?: string | null | undefined;
4794
+ createdAt?: string | null | undefined;
4795
+ updatedAt?: string | null | undefined;
4796
+ };
4797
+ variantTypeId?: string | null | undefined;
4798
+ };
4799
+ }[];
4413
4800
  };
4414
4801
  }[];
4415
4802
  }[];
@@ -4636,8 +5023,19 @@ type APIOrderGetByIdResult = {
4636
5023
  slug: string;
4637
5024
  storeId: string;
4638
5025
  updatedAt: string;
4639
- filter: unknown;
5026
+ filter: {
5027
+ type: "manual";
5028
+ } | {
5029
+ type: "dynamicPrice";
5030
+ min?: number | null | undefined;
5031
+ max?: number | null | undefined;
5032
+ };
4640
5033
  active: boolean;
5034
+ seo?: {
5035
+ title?: string | null | undefined;
5036
+ description?: string | null | undefined;
5037
+ canonical?: string | null | undefined;
5038
+ } | null | undefined;
4641
5039
  };
4642
5040
  collectionId: string;
4643
5041
  position: string | null;
@@ -4692,6 +5090,11 @@ type APIOrderGetByIdResult = {
4692
5090
  allowDuplicates: boolean;
4693
5091
  discountPercentage: string;
4694
5092
  } | null;
5093
+ seo: {
5094
+ title?: string | null | undefined;
5095
+ description?: string | null | undefined;
5096
+ canonical?: string | null | undefined;
5097
+ } | null;
4695
5098
  active?: boolean | null | undefined;
4696
5099
  };
4697
5100
  createdAt: string;
@@ -4757,6 +5160,24 @@ type APIOrderGetByIdResult = {
4757
5160
  id: string;
4758
5161
  name: string;
4759
5162
  };
5163
+ combinations: {
5164
+ createdAt: string;
5165
+ updatedAt: string;
5166
+ productVariantId: string;
5167
+ variantValueId: string;
5168
+ variantValue: {
5169
+ id: string;
5170
+ value: string;
5171
+ variantType: {
5172
+ id: string;
5173
+ label: string;
5174
+ productId?: string | null | undefined;
5175
+ createdAt?: string | null | undefined;
5176
+ updatedAt?: string | null | undefined;
5177
+ };
5178
+ variantTypeId?: string | null | undefined;
5179
+ };
5180
+ }[];
4760
5181
  };
4761
5182
  }[];
4762
5183
  }[];
@@ -4983,8 +5404,19 @@ type APIOrderGetByIdResult = {
4983
5404
  slug: string;
4984
5405
  storeId: string;
4985
5406
  updatedAt: string;
4986
- filter: unknown;
5407
+ filter: {
5408
+ type: "manual";
5409
+ } | {
5410
+ type: "dynamicPrice";
5411
+ min?: number | null | undefined;
5412
+ max?: number | null | undefined;
5413
+ };
4987
5414
  active: boolean;
5415
+ seo?: {
5416
+ title?: string | null | undefined;
5417
+ description?: string | null | undefined;
5418
+ canonical?: string | null | undefined;
5419
+ } | null | undefined;
4988
5420
  };
4989
5421
  collectionId: string;
4990
5422
  position: string | null;
@@ -5039,6 +5471,11 @@ type APIOrderGetByIdResult = {
5039
5471
  allowDuplicates: boolean;
5040
5472
  discountPercentage: string;
5041
5473
  } | null;
5474
+ seo: {
5475
+ title?: string | null | undefined;
5476
+ description?: string | null | undefined;
5477
+ canonical?: string | null | undefined;
5478
+ } | null;
5042
5479
  active?: boolean | null | undefined;
5043
5480
  };
5044
5481
  createdAt: string;
@@ -5104,6 +5541,24 @@ type APIOrderGetByIdResult = {
5104
5541
  id: string;
5105
5542
  name: string;
5106
5543
  };
5544
+ combinations: {
5545
+ createdAt: string;
5546
+ updatedAt: string;
5547
+ productVariantId: string;
5548
+ variantValueId: string;
5549
+ variantValue: {
5550
+ id: string;
5551
+ value: string;
5552
+ variantType: {
5553
+ id: string;
5554
+ label: string;
5555
+ productId?: string | null | undefined;
5556
+ createdAt?: string | null | undefined;
5557
+ updatedAt?: string | null | undefined;
5558
+ };
5559
+ variantTypeId?: string | null | undefined;
5560
+ };
5561
+ }[];
5107
5562
  };
5108
5563
  }[];
5109
5564
  }[];
@@ -5202,5 +5657,366 @@ type APIOrderGetByIdResult = {
5202
5657
  type APIOrderGetByIdParams = {
5203
5658
  id: string;
5204
5659
  };
5660
+ type APICategoriesBrowseResult = {
5661
+ data: {
5662
+ id: string;
5663
+ name: string;
5664
+ image: string | null;
5665
+ createdAt: string;
5666
+ updatedAt: string;
5667
+ description: JSONContent | null;
5668
+ slug: string;
5669
+ active: boolean;
5670
+ position: string;
5671
+ parentId: string | null;
5672
+ }[];
5673
+ meta: {
5674
+ count: number;
5675
+ };
5676
+ };
5677
+ type APICategoriesBrowseQueryParams = {
5678
+ offset?: number | undefined;
5679
+ limit?: number | undefined;
5680
+ query?: string | undefined;
5681
+ active?: boolean | undefined;
5682
+ };
5683
+ type APICategoryGetByIdResult = {
5684
+ id: string;
5685
+ name: string;
5686
+ image: string | null;
5687
+ createdAt: string;
5688
+ updatedAt: string;
5689
+ description: JSONContent | null;
5690
+ slug: string;
5691
+ active: boolean;
5692
+ storeId: string;
5693
+ position: string;
5694
+ seo: {
5695
+ title?: string | null | undefined;
5696
+ description?: string | null | undefined;
5697
+ canonical?: string | null | undefined;
5698
+ } | null;
5699
+ parentId: string | null;
5700
+ products: {
5701
+ id: string;
5702
+ name: string;
5703
+ createdAt: string;
5704
+ updatedAt: string;
5705
+ type: "product" | "bundle" | "set";
5706
+ slug: string;
5707
+ status: "draft" | "published" | "hidden" | null;
5708
+ flags: unknown;
5709
+ storeId: string;
5710
+ summary: string | null;
5711
+ images: string[];
5712
+ badge: unknown;
5713
+ bundleDiscountPercentage: string | null;
5714
+ seo: {
5715
+ title?: string | null | undefined;
5716
+ description?: string | null | undefined;
5717
+ canonical?: string | null | undefined;
5718
+ } | null;
5719
+ categoryId: string | null;
5720
+ }[];
5721
+ parent: {
5722
+ id: string;
5723
+ name: string;
5724
+ image: string | null;
5725
+ createdAt: string;
5726
+ updatedAt: string;
5727
+ description: JSONContent | null;
5728
+ slug: string;
5729
+ active: boolean;
5730
+ storeId: string;
5731
+ position: string;
5732
+ seo: {
5733
+ title?: string | null | undefined;
5734
+ description?: string | null | undefined;
5735
+ canonical?: string | null | undefined;
5736
+ } | null;
5737
+ parentId: string | null;
5738
+ products: {
5739
+ id: string;
5740
+ name: string;
5741
+ createdAt: string;
5742
+ updatedAt: string;
5743
+ type: "product" | "bundle" | "set";
5744
+ slug: string;
5745
+ status: "draft" | "published" | "hidden" | null;
5746
+ flags: unknown;
5747
+ storeId: string;
5748
+ summary: string | null;
5749
+ images: string[];
5750
+ badge: unknown;
5751
+ bundleDiscountPercentage: string | null;
5752
+ seo: {
5753
+ title?: string | null | undefined;
5754
+ description?: string | null | undefined;
5755
+ canonical?: string | null | undefined;
5756
+ } | null;
5757
+ categoryId: string | null;
5758
+ }[];
5759
+ parent: {
5760
+ id: string;
5761
+ name: string;
5762
+ image: string | null;
5763
+ createdAt: string;
5764
+ updatedAt: string;
5765
+ description: JSONContent | null;
5766
+ slug: string;
5767
+ active: boolean;
5768
+ storeId: string;
5769
+ position: string;
5770
+ seo: {
5771
+ title?: string | null | undefined;
5772
+ description?: string | null | undefined;
5773
+ canonical?: string | null | undefined;
5774
+ } | null;
5775
+ parentId: string | null;
5776
+ products: {
5777
+ id: string;
5778
+ name: string;
5779
+ createdAt: string;
5780
+ updatedAt: string;
5781
+ type: "product" | "bundle" | "set";
5782
+ slug: string;
5783
+ status: "draft" | "published" | "hidden" | null;
5784
+ flags: unknown;
5785
+ storeId: string;
5786
+ summary: string | null;
5787
+ images: string[];
5788
+ badge: unknown;
5789
+ bundleDiscountPercentage: string | null;
5790
+ seo: {
5791
+ title?: string | null | undefined;
5792
+ description?: string | null | undefined;
5793
+ canonical?: string | null | undefined;
5794
+ } | null;
5795
+ categoryId: string | null;
5796
+ }[];
5797
+ } | null;
5798
+ } | null;
5799
+ children: {
5800
+ id: string;
5801
+ name: string;
5802
+ image: string | null;
5803
+ createdAt: string;
5804
+ updatedAt: string;
5805
+ description: JSONContent | null;
5806
+ slug: string;
5807
+ active: boolean;
5808
+ storeId: string;
5809
+ position: string;
5810
+ seo: {
5811
+ title?: string | null | undefined;
5812
+ description?: string | null | undefined;
5813
+ canonical?: string | null | undefined;
5814
+ } | null;
5815
+ parentId: string | null;
5816
+ products: {
5817
+ id: string;
5818
+ name: string;
5819
+ createdAt: string;
5820
+ updatedAt: string;
5821
+ type: "product" | "bundle" | "set";
5822
+ slug: string;
5823
+ status: "draft" | "published" | "hidden" | null;
5824
+ flags: unknown;
5825
+ storeId: string;
5826
+ summary: string | null;
5827
+ images: string[];
5828
+ badge: unknown;
5829
+ bundleDiscountPercentage: string | null;
5830
+ seo: {
5831
+ title?: string | null | undefined;
5832
+ description?: string | null | undefined;
5833
+ canonical?: string | null | undefined;
5834
+ } | null;
5835
+ categoryId: string | null;
5836
+ }[];
5837
+ children: {
5838
+ id: string;
5839
+ name: string;
5840
+ image: string | null;
5841
+ createdAt: string;
5842
+ updatedAt: string;
5843
+ description: JSONContent | null;
5844
+ slug: string;
5845
+ active: boolean;
5846
+ storeId: string;
5847
+ position: string;
5848
+ seo: {
5849
+ title?: string | null | undefined;
5850
+ description?: string | null | undefined;
5851
+ canonical?: string | null | undefined;
5852
+ } | null;
5853
+ parentId: string | null;
5854
+ products: {
5855
+ id: string;
5856
+ name: string;
5857
+ createdAt: string;
5858
+ updatedAt: string;
5859
+ type: "product" | "bundle" | "set";
5860
+ slug: string;
5861
+ status: "draft" | "published" | "hidden" | null;
5862
+ flags: unknown;
5863
+ storeId: string;
5864
+ summary: string | null;
5865
+ images: string[];
5866
+ badge: unknown;
5867
+ bundleDiscountPercentage: string | null;
5868
+ seo: {
5869
+ title?: string | null | undefined;
5870
+ description?: string | null | undefined;
5871
+ canonical?: string | null | undefined;
5872
+ } | null;
5873
+ categoryId: string | null;
5874
+ }[];
5875
+ }[];
5876
+ }[];
5877
+ } | {
5878
+ id: string;
5879
+ name: string;
5880
+ image: string | null;
5881
+ createdAt: string;
5882
+ updatedAt: string;
5883
+ description: JSONContent | null;
5884
+ slug: string;
5885
+ active: boolean;
5886
+ storeId: string;
5887
+ position: string;
5888
+ seo: {
5889
+ title?: string | null | undefined;
5890
+ description?: string | null | undefined;
5891
+ canonical?: string | null | undefined;
5892
+ } | null;
5893
+ parentId: string | null;
5894
+ };
5895
+ type APICategoryGetByIdParams = {
5896
+ idOrSlug: string;
5897
+ };
5898
+ type APICollectionsBrowseResult = {
5899
+ data: {
5900
+ id: string;
5901
+ name: string;
5902
+ image: string | null;
5903
+ createdAt: string;
5904
+ description: JSONContent | null;
5905
+ slug: string;
5906
+ active: boolean;
5907
+ productCollections: {
5908
+ productId: string;
5909
+ }[];
5910
+ }[];
5911
+ meta: {
5912
+ count: number;
5913
+ };
5914
+ };
5915
+ type APICollectionsBrowseQueryParams = {
5916
+ offset?: number | undefined;
5917
+ limit?: number | undefined;
5918
+ query?: string | undefined;
5919
+ active?: boolean | undefined;
5920
+ };
5921
+ type APICollectionGetByIdResult = {
5922
+ id: string;
5923
+ name: string;
5924
+ image: string | null;
5925
+ createdAt: string;
5926
+ updatedAt: string;
5927
+ description: JSONContent | null;
5928
+ slug: string;
5929
+ filter: {
5930
+ type: "manual";
5931
+ } | {
5932
+ type: "dynamicPrice";
5933
+ min?: number | null | undefined;
5934
+ max?: number | null | undefined;
5935
+ };
5936
+ active: boolean;
5937
+ storeId: string;
5938
+ seo: {
5939
+ title?: string | null | undefined;
5940
+ description?: string | null | undefined;
5941
+ canonical?: string | null | undefined;
5942
+ } | null;
5943
+ productCollections: {
5944
+ position: string | null;
5945
+ productId: string;
5946
+ collectionId: string;
5947
+ product: {
5948
+ id: string;
5949
+ name: string;
5950
+ createdAt: string;
5951
+ updatedAt: string;
5952
+ type: "product" | "bundle" | "set";
5953
+ slug: string;
5954
+ status: "draft" | "published" | "hidden" | null;
5955
+ flags: unknown;
5956
+ storeId: string;
5957
+ summary: string | null;
5958
+ images: string[];
5959
+ badge: unknown;
5960
+ bundleDiscountPercentage: string | null;
5961
+ seo: {
5962
+ title?: string | null | undefined;
5963
+ description?: string | null | undefined;
5964
+ canonical?: string | null | undefined;
5965
+ } | null;
5966
+ categoryId: string | null;
5967
+ };
5968
+ }[];
5969
+ } | {
5970
+ id: string;
5971
+ name: string;
5972
+ image: string | null;
5973
+ createdAt: string;
5974
+ updatedAt: string;
5975
+ description: JSONContent | null;
5976
+ slug: string;
5977
+ filter: {
5978
+ type: "manual";
5979
+ } | {
5980
+ type: "dynamicPrice";
5981
+ min?: number | null | undefined;
5982
+ max?: number | null | undefined;
5983
+ };
5984
+ active: boolean;
5985
+ storeId: string;
5986
+ seo: {
5987
+ title?: string | null | undefined;
5988
+ description?: string | null | undefined;
5989
+ canonical?: string | null | undefined;
5990
+ } | null;
5991
+ productCollections: {
5992
+ position: string | null;
5993
+ productId: string;
5994
+ collectionId: string;
5995
+ product: {
5996
+ id: string;
5997
+ name: string;
5998
+ createdAt: string;
5999
+ updatedAt: string;
6000
+ type: "product" | "bundle" | "set";
6001
+ slug: string;
6002
+ status: "draft" | "published" | "hidden" | null;
6003
+ flags: unknown;
6004
+ storeId: string;
6005
+ summary: string | null;
6006
+ images: string[];
6007
+ badge: unknown;
6008
+ bundleDiscountPercentage: string | null;
6009
+ seo: {
6010
+ title?: string | null | undefined;
6011
+ description?: string | null | undefined;
6012
+ canonical?: string | null | undefined;
6013
+ } | null;
6014
+ categoryId: string | null;
6015
+ };
6016
+ }[];
6017
+ };
6018
+ type APICollectionGetByIdParams = {
6019
+ idOrSlug: string;
6020
+ };
5205
6021
 
5206
- export type { APICartAddBody, APICartAddResult, APICartCreateBody, APICartCreateResult, APICartGetResult, APICartRemoveItemQueryParams, APICartRemoveItemResult, APIOrderGetByIdParams, APIOrderGetByIdResult, APIOrdersBrowseQueryParams, APIOrdersBrowseResult, APIProductGetByIdParams, APIProductGetByIdResult, APIProductsBrowseQueryParams, APIProductsBrowseResult, JSONContent };
6022
+ export type { APICartAddBody, APICartAddResult, APICartCreateBody, APICartCreateResult, APICartGetResult, APICartRemoveItemQueryParams, APICartRemoveItemResult, APICategoriesBrowseQueryParams, APICategoriesBrowseResult, APICategoryGetByIdParams, APICategoryGetByIdResult, APICollectionGetByIdParams, APICollectionGetByIdResult, APICollectionsBrowseQueryParams, APICollectionsBrowseResult, APIOrderGetByIdParams, APIOrderGetByIdResult, APIOrdersBrowseQueryParams, APIOrdersBrowseResult, APIProductGetByIdParams, APIProductGetByIdResult, APIProductsBrowseQueryParams, APIProductsBrowseResult, JSONContent };