commerce-kit 0.47.0 → 0.49.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.
@@ -75,6 +75,12 @@ type APIProductsBrowseResult = Omit<{
75
75
  type: "dynamicPrice";
76
76
  min?: number | null | undefined;
77
77
  max?: number | null | undefined;
78
+ } | {
79
+ type: "variantValues";
80
+ values: Record<string, string[]>;
81
+ } | {
82
+ type: "newest";
83
+ days?: number | null | undefined;
78
84
  };
79
85
  storeId: string;
80
86
  description: JSONContent | null;
@@ -92,9 +98,11 @@ type APIProductsBrowseResult = Omit<{
92
98
  createdAt: string;
93
99
  updatedAt: string;
94
100
  storeId: string;
101
+ description: string | null;
95
102
  price: string;
96
103
  images: string[];
97
104
  sku: string | null;
105
+ barcode: string | null;
98
106
  calculatedPrice: string | null;
99
107
  stock: number | null;
100
108
  depth: number | null;
@@ -132,9 +140,11 @@ type APIProductsBrowseResult = Omit<{
132
140
  createdAt: string;
133
141
  updatedAt: string;
134
142
  storeId: string;
143
+ description: string | null;
135
144
  price: string;
136
145
  images: string[];
137
146
  sku: string | null;
147
+ barcode: string | null;
138
148
  calculatedPrice: string | null;
139
149
  stock: number | null;
140
150
  depth: number | null;
@@ -175,9 +185,11 @@ type APIProductsBrowseResult = Omit<{
175
185
  createdAt: string;
176
186
  updatedAt: string;
177
187
  storeId: string;
188
+ description: string | null;
178
189
  price: string;
179
190
  images: string[];
180
191
  sku: string | null;
192
+ barcode: string | null;
181
193
  calculatedPrice: string | null;
182
194
  stock: number | null;
183
195
  depth: number | null;
@@ -242,7 +254,7 @@ type APIProductsBrowseResult = Omit<{
242
254
  id: string;
243
255
  price: string;
244
256
  } & {
245
- prePromotionPrice: undefined;
257
+ prePromotionPrice: string | null;
246
258
  })[];
247
259
  }) | ({
248
260
  id: string;
@@ -319,6 +331,12 @@ type APIProductsBrowseResult = Omit<{
319
331
  type: "dynamicPrice";
320
332
  min?: number | null | undefined;
321
333
  max?: number | null | undefined;
334
+ } | {
335
+ type: "variantValues";
336
+ values: Record<string, string[]>;
337
+ } | {
338
+ type: "newest";
339
+ days?: number | null | undefined;
322
340
  };
323
341
  storeId: string;
324
342
  description: JSONContent | null;
@@ -336,9 +354,11 @@ type APIProductsBrowseResult = Omit<{
336
354
  createdAt: string;
337
355
  updatedAt: string;
338
356
  storeId: string;
357
+ description: string | null;
339
358
  price: string;
340
359
  images: string[];
341
360
  sku: string | null;
361
+ barcode: string | null;
342
362
  calculatedPrice: string | null;
343
363
  stock: number | null;
344
364
  depth: number | null;
@@ -376,9 +396,11 @@ type APIProductsBrowseResult = Omit<{
376
396
  createdAt: string;
377
397
  updatedAt: string;
378
398
  storeId: string;
399
+ description: string | null;
379
400
  price: string;
380
401
  images: string[];
381
402
  sku: string | null;
403
+ barcode: string | null;
382
404
  calculatedPrice: string | null;
383
405
  stock: number | null;
384
406
  depth: number | null;
@@ -419,9 +441,11 @@ type APIProductsBrowseResult = Omit<{
419
441
  createdAt: string;
420
442
  updatedAt: string;
421
443
  storeId: string;
444
+ description: string | null;
422
445
  price: string;
423
446
  images: string[];
424
447
  sku: string | null;
448
+ barcode: string | null;
425
449
  calculatedPrice: string | null;
426
450
  stock: number | null;
427
451
  depth: number | null;
@@ -486,7 +510,7 @@ type APIProductsBrowseResult = Omit<{
486
510
  id: string;
487
511
  price: string;
488
512
  } & {
489
- prePromotionPrice: undefined;
513
+ prePromotionPrice: string | null;
490
514
  })[];
491
515
  }) | ({
492
516
  id: string;
@@ -563,6 +587,12 @@ type APIProductsBrowseResult = Omit<{
563
587
  type: "dynamicPrice";
564
588
  min?: number | null | undefined;
565
589
  max?: number | null | undefined;
590
+ } | {
591
+ type: "variantValues";
592
+ values: Record<string, string[]>;
593
+ } | {
594
+ type: "newest";
595
+ days?: number | null | undefined;
566
596
  };
567
597
  storeId: string;
568
598
  description: JSONContent | null;
@@ -580,9 +610,11 @@ type APIProductsBrowseResult = Omit<{
580
610
  createdAt: string;
581
611
  updatedAt: string;
582
612
  storeId: string;
613
+ description: string | null;
583
614
  price: string;
584
615
  images: string[];
585
616
  sku: string | null;
617
+ barcode: string | null;
586
618
  calculatedPrice: string | null;
587
619
  stock: number | null;
588
620
  depth: number | null;
@@ -620,9 +652,11 @@ type APIProductsBrowseResult = Omit<{
620
652
  createdAt: string;
621
653
  updatedAt: string;
622
654
  storeId: string;
655
+ description: string | null;
623
656
  price: string;
624
657
  images: string[];
625
658
  sku: string | null;
659
+ barcode: string | null;
626
660
  calculatedPrice: string | null;
627
661
  stock: number | null;
628
662
  depth: number | null;
@@ -663,9 +697,11 @@ type APIProductsBrowseResult = Omit<{
663
697
  createdAt: string;
664
698
  updatedAt: string;
665
699
  storeId: string;
700
+ description: string | null;
666
701
  price: string;
667
702
  images: string[];
668
703
  sku: string | null;
704
+ barcode: string | null;
669
705
  calculatedPrice: string | null;
670
706
  stock: number | null;
671
707
  depth: number | null;
@@ -730,7 +766,7 @@ type APIProductsBrowseResult = Omit<{
730
766
  id: string;
731
767
  price: string;
732
768
  } & {
733
- prePromotionPrice: undefined;
769
+ prePromotionPrice: string | null;
734
770
  })[];
735
771
  }) | ({
736
772
  id: string;
@@ -807,6 +843,12 @@ type APIProductsBrowseResult = Omit<{
807
843
  type: "dynamicPrice";
808
844
  min?: number | null | undefined;
809
845
  max?: number | null | undefined;
846
+ } | {
847
+ type: "variantValues";
848
+ values: Record<string, string[]>;
849
+ } | {
850
+ type: "newest";
851
+ days?: number | null | undefined;
810
852
  };
811
853
  storeId: string;
812
854
  description: JSONContent | null;
@@ -824,9 +866,11 @@ type APIProductsBrowseResult = Omit<{
824
866
  createdAt: string;
825
867
  updatedAt: string;
826
868
  storeId: string;
869
+ description: string | null;
827
870
  price: string;
828
871
  images: string[];
829
872
  sku: string | null;
873
+ barcode: string | null;
830
874
  calculatedPrice: string | null;
831
875
  stock: number | null;
832
876
  depth: number | null;
@@ -864,9 +908,11 @@ type APIProductsBrowseResult = Omit<{
864
908
  createdAt: string;
865
909
  updatedAt: string;
866
910
  storeId: string;
911
+ description: string | null;
867
912
  price: string;
868
913
  images: string[];
869
914
  sku: string | null;
915
+ barcode: string | null;
870
916
  calculatedPrice: string | null;
871
917
  stock: number | null;
872
918
  depth: number | null;
@@ -907,9 +953,11 @@ type APIProductsBrowseResult = Omit<{
907
953
  createdAt: string;
908
954
  updatedAt: string;
909
955
  storeId: string;
956
+ description: string | null;
910
957
  price: string;
911
958
  images: string[];
912
959
  sku: string | null;
960
+ barcode: string | null;
913
961
  calculatedPrice: string | null;
914
962
  stock: number | null;
915
963
  depth: number | null;
@@ -974,8 +1022,9 @@ type APIProductsBrowseResult = Omit<{
974
1022
  id: string;
975
1023
  price: string;
976
1024
  } & {
977
- prePromotionPrice: undefined;
978
1025
  price: string;
1026
+ } & {
1027
+ prePromotionPrice: string | null;
979
1028
  })[];
980
1029
  }) | ({
981
1030
  id: string;
@@ -1052,6 +1101,12 @@ type APIProductsBrowseResult = Omit<{
1052
1101
  type: "dynamicPrice";
1053
1102
  min?: number | null | undefined;
1054
1103
  max?: number | null | undefined;
1104
+ } | {
1105
+ type: "variantValues";
1106
+ values: Record<string, string[]>;
1107
+ } | {
1108
+ type: "newest";
1109
+ days?: number | null | undefined;
1055
1110
  };
1056
1111
  storeId: string;
1057
1112
  description: JSONContent | null;
@@ -1069,9 +1124,11 @@ type APIProductsBrowseResult = Omit<{
1069
1124
  createdAt: string;
1070
1125
  updatedAt: string;
1071
1126
  storeId: string;
1127
+ description: string | null;
1072
1128
  price: string;
1073
1129
  images: string[];
1074
1130
  sku: string | null;
1131
+ barcode: string | null;
1075
1132
  calculatedPrice: string | null;
1076
1133
  stock: number | null;
1077
1134
  depth: number | null;
@@ -1109,9 +1166,11 @@ type APIProductsBrowseResult = Omit<{
1109
1166
  createdAt: string;
1110
1167
  updatedAt: string;
1111
1168
  storeId: string;
1169
+ description: string | null;
1112
1170
  price: string;
1113
1171
  images: string[];
1114
1172
  sku: string | null;
1173
+ barcode: string | null;
1115
1174
  calculatedPrice: string | null;
1116
1175
  stock: number | null;
1117
1176
  depth: number | null;
@@ -1152,9 +1211,11 @@ type APIProductsBrowseResult = Omit<{
1152
1211
  createdAt: string;
1153
1212
  updatedAt: string;
1154
1213
  storeId: string;
1214
+ description: string | null;
1155
1215
  price: string;
1156
1216
  images: string[];
1157
1217
  sku: string | null;
1218
+ barcode: string | null;
1158
1219
  calculatedPrice: string | null;
1159
1220
  stock: number | null;
1160
1221
  depth: number | null;
@@ -1306,6 +1367,12 @@ type APIProductsBrowseResult = Omit<{
1306
1367
  type: "dynamicPrice";
1307
1368
  min?: number | null | undefined;
1308
1369
  max?: number | null | undefined;
1370
+ } | {
1371
+ type: "variantValues";
1372
+ values: Record<string, string[]>;
1373
+ } | {
1374
+ type: "newest";
1375
+ days?: number | null | undefined;
1309
1376
  };
1310
1377
  storeId: string;
1311
1378
  description: JSONContent | null;
@@ -1323,9 +1390,11 @@ type APIProductsBrowseResult = Omit<{
1323
1390
  createdAt: string;
1324
1391
  updatedAt: string;
1325
1392
  storeId: string;
1393
+ description: string | null;
1326
1394
  price: string;
1327
1395
  images: string[];
1328
1396
  sku: string | null;
1397
+ barcode: string | null;
1329
1398
  calculatedPrice: string | null;
1330
1399
  stock: number | null;
1331
1400
  depth: number | null;
@@ -1363,9 +1432,11 @@ type APIProductsBrowseResult = Omit<{
1363
1432
  createdAt: string;
1364
1433
  updatedAt: string;
1365
1434
  storeId: string;
1435
+ description: string | null;
1366
1436
  price: string;
1367
1437
  images: string[];
1368
1438
  sku: string | null;
1439
+ barcode: string | null;
1369
1440
  calculatedPrice: string | null;
1370
1441
  stock: number | null;
1371
1442
  depth: number | null;
@@ -1406,9 +1477,11 @@ type APIProductsBrowseResult = Omit<{
1406
1477
  createdAt: string;
1407
1478
  updatedAt: string;
1408
1479
  storeId: string;
1480
+ description: string | null;
1409
1481
  price: string;
1410
1482
  images: string[];
1411
1483
  sku: string | null;
1484
+ barcode: string | null;
1412
1485
  calculatedPrice: string | null;
1413
1486
  stock: number | null;
1414
1487
  depth: number | null;
@@ -1473,7 +1546,7 @@ type APIProductsBrowseResult = Omit<{
1473
1546
  id: string;
1474
1547
  price: string;
1475
1548
  } & {
1476
- prePromotionPrice: undefined;
1549
+ prePromotionPrice: string | null;
1477
1550
  })[];
1478
1551
  }) | ({
1479
1552
  id: string;
@@ -1550,6 +1623,12 @@ type APIProductsBrowseResult = Omit<{
1550
1623
  type: "dynamicPrice";
1551
1624
  min?: number | null | undefined;
1552
1625
  max?: number | null | undefined;
1626
+ } | {
1627
+ type: "variantValues";
1628
+ values: Record<string, string[]>;
1629
+ } | {
1630
+ type: "newest";
1631
+ days?: number | null | undefined;
1553
1632
  };
1554
1633
  storeId: string;
1555
1634
  description: JSONContent | null;
@@ -1567,9 +1646,11 @@ type APIProductsBrowseResult = Omit<{
1567
1646
  createdAt: string;
1568
1647
  updatedAt: string;
1569
1648
  storeId: string;
1649
+ description: string | null;
1570
1650
  price: string;
1571
1651
  images: string[];
1572
1652
  sku: string | null;
1653
+ barcode: string | null;
1573
1654
  calculatedPrice: string | null;
1574
1655
  stock: number | null;
1575
1656
  depth: number | null;
@@ -1607,9 +1688,11 @@ type APIProductsBrowseResult = Omit<{
1607
1688
  createdAt: string;
1608
1689
  updatedAt: string;
1609
1690
  storeId: string;
1691
+ description: string | null;
1610
1692
  price: string;
1611
1693
  images: string[];
1612
1694
  sku: string | null;
1695
+ barcode: string | null;
1613
1696
  calculatedPrice: string | null;
1614
1697
  stock: number | null;
1615
1698
  depth: number | null;
@@ -1650,9 +1733,11 @@ type APIProductsBrowseResult = Omit<{
1650
1733
  createdAt: string;
1651
1734
  updatedAt: string;
1652
1735
  storeId: string;
1736
+ description: string | null;
1653
1737
  price: string;
1654
1738
  images: string[];
1655
1739
  sku: string | null;
1740
+ barcode: string | null;
1656
1741
  calculatedPrice: string | null;
1657
1742
  stock: number | null;
1658
1743
  depth: number | null;
@@ -1717,7 +1802,7 @@ type APIProductsBrowseResult = Omit<{
1717
1802
  id: string;
1718
1803
  price: string;
1719
1804
  } & {
1720
- prePromotionPrice: undefined;
1805
+ prePromotionPrice: string | null;
1721
1806
  })[];
1722
1807
  }) | ({
1723
1808
  id: string;
@@ -1794,6 +1879,12 @@ type APIProductsBrowseResult = Omit<{
1794
1879
  type: "dynamicPrice";
1795
1880
  min?: number | null | undefined;
1796
1881
  max?: number | null | undefined;
1882
+ } | {
1883
+ type: "variantValues";
1884
+ values: Record<string, string[]>;
1885
+ } | {
1886
+ type: "newest";
1887
+ days?: number | null | undefined;
1797
1888
  };
1798
1889
  storeId: string;
1799
1890
  description: JSONContent | null;
@@ -1811,9 +1902,11 @@ type APIProductsBrowseResult = Omit<{
1811
1902
  createdAt: string;
1812
1903
  updatedAt: string;
1813
1904
  storeId: string;
1905
+ description: string | null;
1814
1906
  price: string;
1815
1907
  images: string[];
1816
1908
  sku: string | null;
1909
+ barcode: string | null;
1817
1910
  calculatedPrice: string | null;
1818
1911
  stock: number | null;
1819
1912
  depth: number | null;
@@ -1851,9 +1944,11 @@ type APIProductsBrowseResult = Omit<{
1851
1944
  createdAt: string;
1852
1945
  updatedAt: string;
1853
1946
  storeId: string;
1947
+ description: string | null;
1854
1948
  price: string;
1855
1949
  images: string[];
1856
1950
  sku: string | null;
1951
+ barcode: string | null;
1857
1952
  calculatedPrice: string | null;
1858
1953
  stock: number | null;
1859
1954
  depth: number | null;
@@ -1894,9 +1989,11 @@ type APIProductsBrowseResult = Omit<{
1894
1989
  createdAt: string;
1895
1990
  updatedAt: string;
1896
1991
  storeId: string;
1992
+ description: string | null;
1897
1993
  price: string;
1898
1994
  images: string[];
1899
1995
  sku: string | null;
1996
+ barcode: string | null;
1900
1997
  calculatedPrice: string | null;
1901
1998
  stock: number | null;
1902
1999
  depth: number | null;
@@ -1961,7 +2058,7 @@ type APIProductsBrowseResult = Omit<{
1961
2058
  id: string;
1962
2059
  price: string;
1963
2060
  } & {
1964
- prePromotionPrice: undefined;
2061
+ prePromotionPrice: string | null;
1965
2062
  })[];
1966
2063
  }) | ({
1967
2064
  id: string;
@@ -2038,6 +2135,12 @@ type APIProductsBrowseResult = Omit<{
2038
2135
  type: "dynamicPrice";
2039
2136
  min?: number | null | undefined;
2040
2137
  max?: number | null | undefined;
2138
+ } | {
2139
+ type: "variantValues";
2140
+ values: Record<string, string[]>;
2141
+ } | {
2142
+ type: "newest";
2143
+ days?: number | null | undefined;
2041
2144
  };
2042
2145
  storeId: string;
2043
2146
  description: JSONContent | null;
@@ -2055,9 +2158,11 @@ type APIProductsBrowseResult = Omit<{
2055
2158
  createdAt: string;
2056
2159
  updatedAt: string;
2057
2160
  storeId: string;
2161
+ description: string | null;
2058
2162
  price: string;
2059
2163
  images: string[];
2060
2164
  sku: string | null;
2165
+ barcode: string | null;
2061
2166
  calculatedPrice: string | null;
2062
2167
  stock: number | null;
2063
2168
  depth: number | null;
@@ -2095,9 +2200,11 @@ type APIProductsBrowseResult = Omit<{
2095
2200
  createdAt: string;
2096
2201
  updatedAt: string;
2097
2202
  storeId: string;
2203
+ description: string | null;
2098
2204
  price: string;
2099
2205
  images: string[];
2100
2206
  sku: string | null;
2207
+ barcode: string | null;
2101
2208
  calculatedPrice: string | null;
2102
2209
  stock: number | null;
2103
2210
  depth: number | null;
@@ -2138,9 +2245,11 @@ type APIProductsBrowseResult = Omit<{
2138
2245
  createdAt: string;
2139
2246
  updatedAt: string;
2140
2247
  storeId: string;
2248
+ description: string | null;
2141
2249
  price: string;
2142
2250
  images: string[];
2143
2251
  sku: string | null;
2252
+ barcode: string | null;
2144
2253
  calculatedPrice: string | null;
2145
2254
  stock: number | null;
2146
2255
  depth: number | null;
@@ -2205,8 +2314,9 @@ type APIProductsBrowseResult = Omit<{
2205
2314
  id: string;
2206
2315
  price: string;
2207
2316
  } & {
2208
- prePromotionPrice: undefined;
2209
2317
  price: string;
2318
+ } & {
2319
+ prePromotionPrice: string | null;
2210
2320
  })[];
2211
2321
  }) | ({
2212
2322
  id: string;
@@ -2283,6 +2393,12 @@ type APIProductsBrowseResult = Omit<{
2283
2393
  type: "dynamicPrice";
2284
2394
  min?: number | null | undefined;
2285
2395
  max?: number | null | undefined;
2396
+ } | {
2397
+ type: "variantValues";
2398
+ values: Record<string, string[]>;
2399
+ } | {
2400
+ type: "newest";
2401
+ days?: number | null | undefined;
2286
2402
  };
2287
2403
  storeId: string;
2288
2404
  description: JSONContent | null;
@@ -2300,9 +2416,11 @@ type APIProductsBrowseResult = Omit<{
2300
2416
  createdAt: string;
2301
2417
  updatedAt: string;
2302
2418
  storeId: string;
2419
+ description: string | null;
2303
2420
  price: string;
2304
2421
  images: string[];
2305
2422
  sku: string | null;
2423
+ barcode: string | null;
2306
2424
  calculatedPrice: string | null;
2307
2425
  stock: number | null;
2308
2426
  depth: number | null;
@@ -2340,9 +2458,11 @@ type APIProductsBrowseResult = Omit<{
2340
2458
  createdAt: string;
2341
2459
  updatedAt: string;
2342
2460
  storeId: string;
2461
+ description: string | null;
2343
2462
  price: string;
2344
2463
  images: string[];
2345
2464
  sku: string | null;
2465
+ barcode: string | null;
2346
2466
  calculatedPrice: string | null;
2347
2467
  stock: number | null;
2348
2468
  depth: number | null;
@@ -2383,9 +2503,11 @@ type APIProductsBrowseResult = Omit<{
2383
2503
  createdAt: string;
2384
2504
  updatedAt: string;
2385
2505
  storeId: string;
2506
+ description: string | null;
2386
2507
  price: string;
2387
2508
  images: string[];
2388
2509
  sku: string | null;
2510
+ barcode: string | null;
2389
2511
  calculatedPrice: string | null;
2390
2512
  stock: number | null;
2391
2513
  depth: number | null;
@@ -2505,7 +2627,7 @@ type APIProductFiltersResult = {
2505
2627
  slug: string;
2506
2628
  }[];
2507
2629
  };
2508
- type APIProductGetByIdResult = ({
2630
+ type APIProductGetByIdResult = {
2509
2631
  id: string;
2510
2632
  name: string;
2511
2633
  createdAt: string;
@@ -2580,6 +2702,12 @@ type APIProductGetByIdResult = ({
2580
2702
  type: "dynamicPrice";
2581
2703
  min?: number | null | undefined;
2582
2704
  max?: number | null | undefined;
2705
+ } | {
2706
+ type: "variantValues";
2707
+ values: Record<string, string[]>;
2708
+ } | {
2709
+ type: "newest";
2710
+ days?: number | null | undefined;
2583
2711
  };
2584
2712
  storeId: string;
2585
2713
  description: JSONContent | null;
@@ -2597,9 +2725,11 @@ type APIProductGetByIdResult = ({
2597
2725
  createdAt: string;
2598
2726
  updatedAt: string;
2599
2727
  storeId: string;
2728
+ description: string | null;
2600
2729
  price: string;
2601
2730
  images: string[];
2602
2731
  sku: string | null;
2732
+ barcode: string | null;
2603
2733
  calculatedPrice: string | null;
2604
2734
  stock: number | null;
2605
2735
  depth: number | null;
@@ -2637,9 +2767,11 @@ type APIProductGetByIdResult = ({
2637
2767
  createdAt: string;
2638
2768
  updatedAt: string;
2639
2769
  storeId: string;
2770
+ description: string | null;
2640
2771
  price: string;
2641
2772
  images: string[];
2642
2773
  sku: string | null;
2774
+ barcode: string | null;
2643
2775
  calculatedPrice: string | null;
2644
2776
  stock: number | null;
2645
2777
  depth: number | null;
@@ -2686,14 +2818,16 @@ type APIProductGetByIdResult = ({
2686
2818
  tr: {
2687
2819
  locale: string;
2688
2820
  }[];
2689
- variants: {
2821
+ variants: ({
2690
2822
  id: string;
2691
2823
  createdAt: string;
2692
2824
  updatedAt: string;
2693
2825
  storeId: string;
2826
+ description: string | null;
2694
2827
  price: string;
2695
2828
  images: string[];
2696
2829
  sku: string | null;
2830
+ barcode: string | null;
2697
2831
  calculatedPrice: string | null;
2698
2832
  stock: number | null;
2699
2833
  depth: number | null;
@@ -2732,274 +2866,14 @@ type APIProductGetByIdResult = ({
2732
2866
  calculatedPrice: string | null;
2733
2867
  variantId: string;
2734
2868
  }[];
2735
- }[];
2736
- subscriptionPlanProducts: {
2737
- createdAt: string;
2738
- updatedAt: string;
2739
- position: number;
2740
- productId: string;
2741
- subscriptionPlanId: string;
2742
- subscriptionPlan: {
2743
- id: string;
2744
- name: string;
2745
- createdAt: string;
2746
- updatedAt: string;
2747
- interval: number;
2748
- active: boolean;
2749
- storeId: string;
2750
- description: string | null;
2751
- position: number;
2752
- cadence: "month" | "week";
2753
- discountPercent: number;
2754
- benefits: string | null;
2755
- };
2756
- }[];
2757
- volumePricingTiers: {
2758
- id: string;
2759
- createdAt: string;
2760
- updatedAt: string;
2761
- storeId: string;
2762
- price: string;
2763
- minQuantity: number;
2764
- maxQuantity: number | null;
2765
- productId: string | null;
2766
- productVariantId: string | null;
2767
- }[];
2768
- } & {
2769
- variants: ({
2869
+ } & {
2770
2870
  id: string;
2771
2871
  price: string;
2772
2872
  } & {
2773
- prePromotionPrice: undefined;
2873
+ prePromotionPrice: string | null;
2874
+ } & {
2875
+ omnibusPrice: string | null;
2774
2876
  })[];
2775
- }) | (({
2776
- id: string;
2777
- name: string;
2778
- createdAt: string;
2779
- updatedAt: string;
2780
- type: "set" | "product" | "bundle";
2781
- slug: string;
2782
- status: "published" | "draft" | "hidden" | null;
2783
- flags: unknown;
2784
- storeId: string;
2785
- summary: string | null;
2786
- content: JSONContent | null;
2787
- images: string[];
2788
- badge: unknown;
2789
- bundleDiscountPercentage: string | null;
2790
- seo: {
2791
- title?: string | null | undefined;
2792
- description?: string | null | undefined;
2793
- canonical?: string | null | undefined;
2794
- } | null;
2795
- stripeTaxCode: string | null;
2796
- categoryId: string | null;
2797
- brandId: string | null;
2798
- category: {
2799
- id: string;
2800
- name: string;
2801
- image: string | null;
2802
- createdAt: string;
2803
- updatedAt: string;
2804
- slug: string;
2805
- active: boolean;
2806
- storeId: string;
2807
- description: JSONContent | null;
2808
- position: string;
2809
- seo: {
2810
- title?: string | null | undefined;
2811
- description?: string | null | undefined;
2812
- canonical?: string | null | undefined;
2813
- } | null;
2814
- longDescription: JSONContent | null;
2815
- parentId: string | null;
2816
- } | null;
2817
- productTaxRate: {
2818
- createdAt: string;
2819
- updatedAt: string;
2820
- taxRateId: string;
2821
- productId: string;
2822
- taxRate: {
2823
- id: string;
2824
- name: string;
2825
- createdAt: string;
2826
- updatedAt: string;
2827
- storeId: string;
2828
- rate: string;
2829
- label: string | null;
2830
- };
2831
- } | null;
2832
- productCollections: {
2833
- position: string | null;
2834
- productId: string;
2835
- collectionId: string;
2836
- collection: {
2837
- id: string;
2838
- name: string;
2839
- image: string | null;
2840
- createdAt: string;
2841
- updatedAt: string;
2842
- slug: string;
2843
- active: boolean;
2844
- filter: {
2845
- type: "manual";
2846
- } | {
2847
- type: "dynamicPrice";
2848
- min?: number | null | undefined;
2849
- max?: number | null | undefined;
2850
- };
2851
- storeId: string;
2852
- description: JSONContent | null;
2853
- };
2854
- }[];
2855
- bundleProducts: {
2856
- createdAt: string;
2857
- updatedAt: string;
2858
- position: number;
2859
- bundleId: string;
2860
- quantity: number;
2861
- variantId: string;
2862
- variant: {
2863
- id: string;
2864
- createdAt: string;
2865
- updatedAt: string;
2866
- storeId: string;
2867
- price: string;
2868
- images: string[];
2869
- sku: string | null;
2870
- calculatedPrice: string | null;
2871
- stock: number | null;
2872
- depth: number | null;
2873
- width: number | null;
2874
- height: number | null;
2875
- weight: number | null;
2876
- digital: string[] | null;
2877
- shippable: boolean;
2878
- externalId: string | null;
2879
- productId: string;
2880
- attributes: unknown;
2881
- originalPrice: string;
2882
- product: {
2883
- id: string;
2884
- name: string;
2885
- slug: string;
2886
- images: string[];
2887
- productTaxRate: {
2888
- createdAt: string;
2889
- updatedAt: string;
2890
- taxRateId: string;
2891
- productId: string;
2892
- taxRate: {
2893
- id: string;
2894
- name: string;
2895
- createdAt: string;
2896
- updatedAt: string;
2897
- storeId: string;
2898
- rate: string;
2899
- label: string | null;
2900
- };
2901
- } | null;
2902
- variants: {
2903
- id: string;
2904
- createdAt: string;
2905
- updatedAt: string;
2906
- storeId: string;
2907
- price: string;
2908
- images: string[];
2909
- sku: string | null;
2910
- calculatedPrice: string | null;
2911
- stock: number | null;
2912
- depth: number | null;
2913
- width: number | null;
2914
- height: number | null;
2915
- weight: number | null;
2916
- digital: string[] | null;
2917
- shippable: boolean;
2918
- externalId: string | null;
2919
- productId: string;
2920
- attributes: unknown;
2921
- originalPrice: string;
2922
- }[];
2923
- };
2924
- combinations: {
2925
- createdAt: string;
2926
- updatedAt: string;
2927
- productVariantId: string;
2928
- variantValueId: string;
2929
- variantValue: {
2930
- id: string;
2931
- value: string;
2932
- colorValue: string | null;
2933
- variantType: {
2934
- id: string;
2935
- type: "string" | "color";
2936
- label: string;
2937
- };
2938
- };
2939
- }[];
2940
- };
2941
- }[];
2942
- variantsTypes: {
2943
- id: string;
2944
- type: "string" | "color";
2945
- label: string;
2946
- variantValues: {
2947
- id: string;
2948
- value: string;
2949
- position: number | null;
2950
- colorValue: string | null;
2951
- }[];
2952
- }[];
2953
- tr: {
2954
- locale: string;
2955
- }[];
2956
- variants: {
2957
- id: string;
2958
- createdAt: string;
2959
- updatedAt: string;
2960
- storeId: string;
2961
- price: string;
2962
- images: string[];
2963
- sku: string | null;
2964
- calculatedPrice: string | null;
2965
- stock: number | null;
2966
- depth: number | null;
2967
- width: number | null;
2968
- height: number | null;
2969
- weight: number | null;
2970
- digital: string[] | null;
2971
- shippable: boolean;
2972
- externalId: string | null;
2973
- productId: string;
2974
- attributes: unknown;
2975
- originalPrice: string;
2976
- combinations: {
2977
- createdAt: string;
2978
- updatedAt: string;
2979
- productVariantId: string;
2980
- variantValueId: string;
2981
- variantValue: {
2982
- id: string;
2983
- value: string;
2984
- position: number | null;
2985
- colorValue: string | null;
2986
- variantType: {
2987
- id: string;
2988
- type: "string" | "color";
2989
- label: string;
2990
- };
2991
- };
2992
- }[];
2993
- prices: {
2994
- createdAt: string;
2995
- updatedAt: string;
2996
- currency: string;
2997
- storeId: string;
2998
- price: string;
2999
- calculatedPrice: string | null;
3000
- variantId: string;
3001
- }[];
3002
- }[];
3003
2877
  subscriptionPlanProducts: {
3004
2878
  createdAt: string;
3005
2879
  updatedAt: string;
@@ -3033,19 +2907,9 @@ type APIProductGetByIdResult = ({
3033
2907
  productVariantId: string | null;
3034
2908
  }[];
3035
2909
  } & {
3036
- variants: ({
3037
- id: string;
3038
- price: string;
3039
- } & {
3040
- prePromotionPrice: string | null;
3041
- })[];
3042
- }) & {
3043
2910
  lang?: string;
3044
- omnibusPrices: Record<string, string>;
3045
- });
3046
- type APIProductGetByIdParams = {
3047
- idOrSlug: string;
3048
2911
  };
2912
+ type APIProductGetByIdParams = any;
3049
2913
  type APIProductGetByIdQueryParams = {
3050
2914
  lang?: string;
3051
2915
  currency?: string;
@@ -3072,9 +2936,11 @@ type APICartGetResult = {
3072
2936
  id: string;
3073
2937
  createdAt: string;
3074
2938
  updatedAt: string;
2939
+ description: string | null;
3075
2940
  price: string;
3076
2941
  images: string[];
3077
2942
  sku: string | null;
2943
+ barcode: string | null;
3078
2944
  calculatedPrice: string | null;
3079
2945
  stock: number | null;
3080
2946
  depth: number | null;
@@ -3158,6 +3024,12 @@ type APICartGetResult = {
3158
3024
  type: "dynamicPrice";
3159
3025
  min?: number | null | undefined;
3160
3026
  max?: number | null | undefined;
3027
+ } | {
3028
+ type: "variantValues";
3029
+ values: Record<string, string[]>;
3030
+ } | {
3031
+ type: "newest";
3032
+ days?: number | null | undefined;
3161
3033
  };
3162
3034
  storeId: string;
3163
3035
  description: JSONContent | null;
@@ -3173,12 +3045,14 @@ type APICartGetResult = {
3173
3045
  createdAt: string;
3174
3046
  updatedAt: string;
3175
3047
  storeId: string;
3048
+ description: string | null;
3176
3049
  price: string;
3177
3050
  images: string[];
3178
3051
  sku: string | null;
3052
+ barcode: string | null;
3179
3053
  originalPrice: string;
3180
3054
  calculatedPrice: string | null;
3181
- prePromotionPrice: string | null | undefined;
3055
+ prePromotionPrice: string | null;
3182
3056
  preVolumePricingPrice: string | null;
3183
3057
  stock: number | null;
3184
3058
  depth: number | null;
@@ -3497,9 +3371,11 @@ type APICartCreateResult = {
3497
3371
  id: string;
3498
3372
  createdAt: string;
3499
3373
  updatedAt: string;
3374
+ description: string | null;
3500
3375
  price: string;
3501
3376
  images: string[];
3502
3377
  sku: string | null;
3378
+ barcode: string | null;
3503
3379
  calculatedPrice: string | null;
3504
3380
  stock: number | null;
3505
3381
  depth: number | null;
@@ -3583,6 +3459,12 @@ type APICartCreateResult = {
3583
3459
  type: "dynamicPrice";
3584
3460
  min?: number | null | undefined;
3585
3461
  max?: number | null | undefined;
3462
+ } | {
3463
+ type: "variantValues";
3464
+ values: Record<string, string[]>;
3465
+ } | {
3466
+ type: "newest";
3467
+ days?: number | null | undefined;
3586
3468
  };
3587
3469
  storeId: string;
3588
3470
  description: JSONContent | null;
@@ -3598,12 +3480,14 @@ type APICartCreateResult = {
3598
3480
  createdAt: string;
3599
3481
  updatedAt: string;
3600
3482
  storeId: string;
3483
+ description: string | null;
3601
3484
  price: string;
3602
3485
  images: string[];
3603
3486
  sku: string | null;
3487
+ barcode: string | null;
3604
3488
  originalPrice: string;
3605
3489
  calculatedPrice: string | null;
3606
- prePromotionPrice: string | null | undefined;
3490
+ prePromotionPrice: string | null;
3607
3491
  preVolumePricingPrice: string | null;
3608
3492
  stock: number | null;
3609
3493
  depth: number | null;
@@ -3912,9 +3796,11 @@ type APICartRemoveItemResult = {
3912
3796
  id: string;
3913
3797
  createdAt: string;
3914
3798
  updatedAt: string;
3799
+ description: string | null;
3915
3800
  price: string;
3916
3801
  images: string[];
3917
3802
  sku: string | null;
3803
+ barcode: string | null;
3918
3804
  calculatedPrice: string | null;
3919
3805
  stock: number | null;
3920
3806
  depth: number | null;
@@ -3998,6 +3884,12 @@ type APICartRemoveItemResult = {
3998
3884
  type: "dynamicPrice";
3999
3885
  min?: number | null | undefined;
4000
3886
  max?: number | null | undefined;
3887
+ } | {
3888
+ type: "variantValues";
3889
+ values: Record<string, string[]>;
3890
+ } | {
3891
+ type: "newest";
3892
+ days?: number | null | undefined;
4001
3893
  };
4002
3894
  storeId: string;
4003
3895
  description: JSONContent | null;
@@ -4013,12 +3905,14 @@ type APICartRemoveItemResult = {
4013
3905
  createdAt: string;
4014
3906
  updatedAt: string;
4015
3907
  storeId: string;
3908
+ description: string | null;
4016
3909
  price: string;
4017
3910
  images: string[];
4018
3911
  sku: string | null;
3912
+ barcode: string | null;
4019
3913
  originalPrice: string;
4020
3914
  calculatedPrice: string | null;
4021
- prePromotionPrice: string | null | undefined;
3915
+ prePromotionPrice: string | null;
4022
3916
  preVolumePricingPrice: string | null;
4023
3917
  stock: number | null;
4024
3918
  depth: number | null;
@@ -4379,6 +4273,8 @@ type APIOrdersBrowseResult = {
4379
4273
  productVariant: {
4380
4274
  id: string;
4381
4275
  sku: string | null;
4276
+ barcode: string | null;
4277
+ description: string | null;
4382
4278
  price: string;
4383
4279
  originalPrice: string;
4384
4280
  calculatedPrice: string | null;
@@ -4454,6 +4350,12 @@ type APIOrdersBrowseResult = {
4454
4350
  type: "dynamicPrice";
4455
4351
  min?: number | null | undefined;
4456
4352
  max?: number | null | undefined;
4353
+ } | {
4354
+ type: "variantValues";
4355
+ values: Record<string, string[]>;
4356
+ } | {
4357
+ type: "newest";
4358
+ days?: number | null | undefined;
4457
4359
  };
4458
4360
  active: boolean;
4459
4361
  seo?: {
@@ -4476,6 +4378,8 @@ type APIOrdersBrowseResult = {
4476
4378
  variant: {
4477
4379
  id: string;
4478
4380
  sku: string | null;
4381
+ barcode: string | null;
4382
+ description: string | null;
4479
4383
  price: string;
4480
4384
  shippable: boolean;
4481
4385
  originalPrice: string;
@@ -4751,6 +4655,9 @@ type APIOrdersBrowseResult = {
4751
4655
  stripeDeduplicationId: string | null;
4752
4656
  ticketCode: string | null;
4753
4657
  activeSubscriptionId: string | null;
4658
+ packedAt: string | null;
4659
+ packedBy: string | null;
4660
+ tags: string[];
4754
4661
  } & {
4755
4662
  orderData: {
4756
4663
  id: string;
@@ -4811,6 +4718,8 @@ type APIOrdersBrowseResult = {
4811
4718
  productVariant: {
4812
4719
  id: string;
4813
4720
  sku: string | null;
4721
+ barcode: string | null;
4722
+ description: string | null;
4814
4723
  price: string;
4815
4724
  originalPrice: string;
4816
4725
  calculatedPrice: string | null;
@@ -4886,6 +4795,12 @@ type APIOrdersBrowseResult = {
4886
4795
  type: "dynamicPrice";
4887
4796
  min?: number | null | undefined;
4888
4797
  max?: number | null | undefined;
4798
+ } | {
4799
+ type: "variantValues";
4800
+ values: Record<string, string[]>;
4801
+ } | {
4802
+ type: "newest";
4803
+ days?: number | null | undefined;
4889
4804
  };
4890
4805
  active: boolean;
4891
4806
  seo?: {
@@ -4908,6 +4823,8 @@ type APIOrdersBrowseResult = {
4908
4823
  variant: {
4909
4824
  id: string;
4910
4825
  sku: string | null;
4826
+ barcode: string | null;
4827
+ description: string | null;
4911
4828
  price: string;
4912
4829
  shippable: boolean;
4913
4830
  originalPrice: string;
@@ -5257,6 +5174,8 @@ type APIOrderGetByIdResult = {
5257
5174
  productVariant: {
5258
5175
  id: string;
5259
5176
  sku: string | null;
5177
+ barcode: string | null;
5178
+ description: string | null;
5260
5179
  price: string;
5261
5180
  originalPrice: string;
5262
5181
  calculatedPrice: string | null;
@@ -5332,6 +5251,12 @@ type APIOrderGetByIdResult = {
5332
5251
  type: "dynamicPrice";
5333
5252
  min?: number | null | undefined;
5334
5253
  max?: number | null | undefined;
5254
+ } | {
5255
+ type: "variantValues";
5256
+ values: Record<string, string[]>;
5257
+ } | {
5258
+ type: "newest";
5259
+ days?: number | null | undefined;
5335
5260
  };
5336
5261
  active: boolean;
5337
5262
  seo?: {
@@ -5354,6 +5279,8 @@ type APIOrderGetByIdResult = {
5354
5279
  variant: {
5355
5280
  id: string;
5356
5281
  sku: string | null;
5282
+ barcode: string | null;
5283
+ description: string | null;
5357
5284
  price: string;
5358
5285
  shippable: boolean;
5359
5286
  originalPrice: string;
@@ -5629,6 +5556,9 @@ type APIOrderGetByIdResult = {
5629
5556
  stripeDeduplicationId: string | null;
5630
5557
  ticketCode: string | null;
5631
5558
  activeSubscriptionId: string | null;
5559
+ packedAt: string | null;
5560
+ packedBy: string | null;
5561
+ tags: string[];
5632
5562
  activeSubscription: {
5633
5563
  id: string;
5634
5564
  createdAt: string;
@@ -5722,6 +5652,8 @@ type APIOrderGetByIdResult = {
5722
5652
  productVariant: {
5723
5653
  id: string;
5724
5654
  sku: string | null;
5655
+ barcode: string | null;
5656
+ description: string | null;
5725
5657
  price: string;
5726
5658
  originalPrice: string;
5727
5659
  calculatedPrice: string | null;
@@ -5797,6 +5729,12 @@ type APIOrderGetByIdResult = {
5797
5729
  type: "dynamicPrice";
5798
5730
  min?: number | null | undefined;
5799
5731
  max?: number | null | undefined;
5732
+ } | {
5733
+ type: "variantValues";
5734
+ values: Record<string, string[]>;
5735
+ } | {
5736
+ type: "newest";
5737
+ days?: number | null | undefined;
5800
5738
  };
5801
5739
  active: boolean;
5802
5740
  seo?: {
@@ -5819,6 +5757,8 @@ type APIOrderGetByIdResult = {
5819
5757
  variant: {
5820
5758
  id: string;
5821
5759
  sku: string | null;
5760
+ barcode: string | null;
5761
+ description: string | null;
5822
5762
  price: string;
5823
5763
  shippable: boolean;
5824
5764
  originalPrice: string;
@@ -6090,9 +6030,7 @@ type APIOrderGetByIdResult = {
6090
6030
  }[] | null;
6091
6031
  };
6092
6032
  };
6093
- type APIOrderGetByIdParams = {
6094
- id: string;
6095
- };
6033
+ type APIOrderGetByIdParams = any;
6096
6034
  type APICategoriesBrowseResult = Omit<{
6097
6035
  data: {
6098
6036
  id: string;
@@ -6372,9 +6310,7 @@ type APICategoryGetByIdResult = ({
6372
6310
  }) & {
6373
6311
  lang?: string;
6374
6312
  };
6375
- type APICategoryGetByIdParams = {
6376
- idOrSlug: string;
6377
- };
6313
+ type APICategoryGetByIdParams = any;
6378
6314
  type APICategoryGetByIdQueryParams = {
6379
6315
  lang?: string;
6380
6316
  };
@@ -6445,6 +6381,12 @@ type APICollectionGetByIdResult = ({
6445
6381
  type: "dynamicPrice";
6446
6382
  min?: number | null | undefined;
6447
6383
  max?: number | null | undefined;
6384
+ } | {
6385
+ type: "variantValues";
6386
+ values: Record<string, string[]>;
6387
+ } | {
6388
+ type: "newest";
6389
+ days?: number | null | undefined;
6448
6390
  };
6449
6391
  storeId: string;
6450
6392
  description: JSONContent | null;
@@ -6499,6 +6441,12 @@ type APICollectionGetByIdResult = ({
6499
6441
  type: "dynamicPrice";
6500
6442
  min?: number | null | undefined;
6501
6443
  max?: number | null | undefined;
6444
+ } | {
6445
+ type: "variantValues";
6446
+ values: Record<string, string[]>;
6447
+ } | {
6448
+ type: "newest";
6449
+ days?: number | null | undefined;
6502
6450
  };
6503
6451
  storeId: string;
6504
6452
  description: JSONContent | null;
@@ -6542,9 +6490,7 @@ type APICollectionGetByIdResult = ({
6542
6490
  }) & {
6543
6491
  lang?: string;
6544
6492
  };
6545
- type APICollectionGetByIdParams = {
6546
- idOrSlug: string;
6547
- };
6493
+ type APICollectionGetByIdParams = any;
6548
6494
  type APICollectionGetByIdQueryParams = {
6549
6495
  lang?: string;
6550
6496
  };
@@ -6573,7 +6519,6 @@ type APIMeGetResult = {
6573
6519
  withdrawalButton: boolean;
6574
6520
  events: boolean;
6575
6521
  } | null;
6576
- defaultLanguage: "en-US" | "pl-PL" | "es-ES" | "de-DE" | null;
6577
6522
  enabledLanguages: {
6578
6523
  "en-US": boolean;
6579
6524
  "pl-PL": boolean;
@@ -6715,6 +6660,7 @@ type APIMeGetResult = {
6715
6660
  trackClicks: boolean;
6716
6661
  trackOpens: boolean;
6717
6662
  } | null | undefined;
6663
+ defaultLanguage?: "en-US" | "pl-PL" | "es-ES" | "de-DE" | null | undefined;
6718
6664
  newsletterPopup?: {
6719
6665
  delaySeconds: number;
6720
6666
  heading?: string | undefined;
@@ -6958,9 +6904,7 @@ type APIPostGetByIdResult = {
6958
6904
  filters: unknown;
6959
6905
  publishedAt: string | null;
6960
6906
  } | null | undefined;
6961
- type APIPostGetByIdParams = {
6962
- idOrSlug: string;
6963
- };
6907
+ type APIPostGetByIdParams = any;
6964
6908
  type APIPostCreateBody = {
6965
6909
  title: string;
6966
6910
  slug: string;
@@ -7080,9 +7024,7 @@ type APIBlogCategoryGetByIdResult = {
7080
7024
  canonical?: string | null | undefined;
7081
7025
  } | null;
7082
7026
  };
7083
- type APIBlogCategoryGetByIdParams = {
7084
- idOrSlug: string;
7085
- };
7027
+ type APIBlogCategoryGetByIdParams = any;
7086
7028
  type APIBlogCategoryCreateBody = {
7087
7029
  name: string;
7088
7030
  slug?: string | undefined;
@@ -7200,9 +7142,7 @@ type APICustomerGetByIdResult = {
7200
7142
  }>;
7201
7143
  createdAt: string;
7202
7144
  };
7203
- type APICustomerGetByIdParams = {
7204
- id: string;
7205
- };
7145
+ type APICustomerGetByIdParams = any;
7206
7146
  type APICustomerUpdateBody = {
7207
7147
  name?: string;
7208
7148
  phone?: string;
@@ -7298,19 +7238,25 @@ type APIVariantGetByIdResult = {
7298
7238
  images: string[];
7299
7239
  };
7300
7240
  };
7301
- type APIVariantGetByIdParams = {
7302
- idOrSku: string;
7303
- };
7241
+ type APIVariantGetByIdParams = any;
7304
7242
  type APIVariantGetByIdQueryParams = {
7305
7243
  currency?: string;
7306
7244
  };
7307
7245
  type APIVariantUpdateBody = {
7308
7246
  sku?: string;
7247
+ barcode?: string | null;
7248
+ description?: string | null;
7309
7249
  title?: string;
7310
7250
  priceCents?: number;
7311
7251
  imageUrl?: string | null;
7312
7252
  images?: string[];
7313
7253
  stock?: number;
7254
+ options?: Record<string, string>;
7255
+ attributes?: Array<{
7256
+ key: string;
7257
+ value: string;
7258
+ checked?: boolean | null;
7259
+ }>;
7314
7260
  };
7315
7261
  type APIVariantUpdateResult = {
7316
7262
  id: string;
@@ -7321,13 +7267,22 @@ type APIVariantUpdateResult = {
7321
7267
  images: string[];
7322
7268
  stock: number | null;
7323
7269
  productId: string;
7270
+ attributes: unknown;
7324
7271
  };
7325
7272
  type APIVariantCreateBody = {
7326
7273
  sku: string;
7274
+ barcode?: string | null;
7275
+ description?: string | null;
7327
7276
  title: string;
7328
7277
  priceCents: number;
7329
7278
  imageUrl?: string;
7330
7279
  stock?: number;
7280
+ options?: Record<string, string>;
7281
+ attributes?: Array<{
7282
+ key: string;
7283
+ value: string;
7284
+ checked?: boolean | null;
7285
+ }>;
7331
7286
  };
7332
7287
  type APIVariantCreateResult = {
7333
7288
  id: string;
@@ -7336,6 +7291,7 @@ type APIVariantCreateResult = {
7336
7291
  priceCents: number;
7337
7292
  imageUrl: string | null;
7338
7293
  stock: number | null;
7294
+ attributes: unknown;
7339
7295
  };
7340
7296
  type APISubscriberCreateBody = {
7341
7297
  email: string;
@@ -7379,6 +7335,26 @@ type APIProductCreateBody = {
7379
7335
  images?: string[];
7380
7336
  category?: string;
7381
7337
  quantity?: number;
7338
+ variants?: Array<{
7339
+ options: Record<string, string>;
7340
+ sku?: string;
7341
+ barcode?: string | null;
7342
+ description?: string | null;
7343
+ price?: number;
7344
+ stock?: number;
7345
+ images?: string[];
7346
+ shippable?: boolean;
7347
+ weight?: number;
7348
+ width?: number;
7349
+ height?: number;
7350
+ depth?: number;
7351
+ prices?: Record<string, number>;
7352
+ attributes?: Array<{
7353
+ key: string;
7354
+ value: string;
7355
+ checked?: boolean | null;
7356
+ }>;
7357
+ }>;
7382
7358
  };
7383
7359
  type APIProductCreateResult = {
7384
7360
  message: string;
@@ -7492,23 +7468,79 @@ type APIOrderUpdateResult = {
7492
7468
  trackingNumber: string | null;
7493
7469
  };
7494
7470
  type APILegalPagesBrowseResult = {
7495
- data: Array<{
7471
+ data: {
7496
7472
  id: string;
7497
- path: string;
7498
- title: string;
7499
- content: string | null;
7473
+ key: "terms" | "privacyPolicy" | "returns";
7474
+ label: string;
7475
+ contentHtml: string | null;
7476
+ contentJson: JSONContent;
7477
+ href: string;
7478
+ locale: "en-US" | "pl-PL" | "es-ES" | "de-DE";
7479
+ isFallback: boolean;
7500
7480
  createdAt: string;
7501
7481
  updatedAt: string;
7502
- }>;
7482
+ }[];
7483
+ };
7484
+ type APILegalPagesBrowseQueryParams = {
7485
+ lang?: string;
7503
7486
  };
7504
7487
  type APILegalPageGetByPathResult = {
7505
7488
  id: string;
7506
- path: string;
7507
- title: string;
7508
- content: string | null;
7489
+ key: "terms" | "privacyPolicy" | "returns";
7490
+ label: string;
7491
+ contentHtml: string | null;
7492
+ contentJson: JSONContent;
7493
+ href: string;
7494
+ locale: "en-US" | "pl-PL" | "es-ES" | "de-DE";
7495
+ isFallback: boolean;
7496
+ createdAt: string;
7497
+ updatedAt: string;
7498
+ } | null;
7499
+ type APILegalPageGetByPathParams = any;
7500
+ type APILegalPageGetByPathQueryParams = {
7501
+ lang?: string;
7502
+ };
7503
+ type APILegalPageCreateBody = {
7504
+ key: "terms" | "privacyPolicy" | "returns";
7505
+ label: string;
7506
+ content: string | JSONContent;
7507
+ href?: string | null | undefined;
7508
+ };
7509
+ type APILegalPageCreateResult = {
7510
+ id: string;
7511
+ key: "terms" | "privacyPolicy" | "returns";
7512
+ label: string;
7513
+ contentHtml: string | null;
7514
+ contentJson: JSONContent;
7515
+ href: string;
7516
+ locale: "en-US" | "pl-PL" | "es-ES" | "de-DE";
7517
+ isFallback: boolean;
7518
+ createdAt: string;
7519
+ updatedAt: string;
7520
+ } | null;
7521
+ type APILegalPageCreateQueryParams = {
7522
+ lang?: string;
7523
+ };
7524
+ type APILegalPageUpdateBody = {
7525
+ label?: string | undefined;
7526
+ content?: string | JSONContent | undefined;
7527
+ href?: string | null | undefined;
7528
+ };
7529
+ type APILegalPageUpdateResult = {
7530
+ id: string;
7531
+ key: "terms" | "privacyPolicy" | "returns";
7532
+ label: string;
7533
+ contentHtml: string | null;
7534
+ contentJson: JSONContent;
7535
+ href: string;
7536
+ locale: "en-US" | "pl-PL" | "es-ES" | "de-DE";
7537
+ isFallback: boolean;
7509
7538
  createdAt: string;
7510
7539
  updatedAt: string;
7511
7540
  } | null;
7541
+ type APILegalPageUpdateQueryParams = {
7542
+ lang?: string;
7543
+ };
7512
7544
  type APICollectionCreateBody = {
7513
7545
  name: string;
7514
7546
  filter: {
@@ -7517,6 +7549,12 @@ type APICollectionCreateBody = {
7517
7549
  type: "dynamicPrice";
7518
7550
  min?: number | null | undefined;
7519
7551
  max?: number | null | undefined;
7552
+ } | {
7553
+ type: "variantValues";
7554
+ values: Record<string, string[]>;
7555
+ } | {
7556
+ type: "newest";
7557
+ days?: number | null | undefined;
7520
7558
  };
7521
7559
  active: boolean;
7522
7560
  slug?: string | undefined;
@@ -7556,6 +7594,12 @@ type APICollectionUpdateBody = {
7556
7594
  type: "dynamicPrice";
7557
7595
  min?: number | null | undefined;
7558
7596
  max?: number | null | undefined;
7597
+ } | {
7598
+ type: "variantValues";
7599
+ values: Record<string, string[]>;
7600
+ } | {
7601
+ type: "newest";
7602
+ days?: number | null | undefined;
7559
7603
  } | undefined;
7560
7604
  active?: boolean | undefined;
7561
7605
  group?: string | null | undefined;
@@ -7574,6 +7618,12 @@ type APICollectionUpdateResult = {
7574
7618
  type: "dynamicPrice";
7575
7619
  min?: number | null | undefined;
7576
7620
  max?: number | null | undefined;
7621
+ } | {
7622
+ type: "variantValues";
7623
+ values: Record<string, string[]>;
7624
+ } | {
7625
+ type: "newest";
7626
+ days?: number | null | undefined;
7577
7627
  };
7578
7628
  storeId: string;
7579
7629
  description: JSONContent | null;
@@ -7688,9 +7738,7 @@ type APIInstaviewImagesBrowseResult = {
7688
7738
  }>;
7689
7739
  nextCursor: string | null;
7690
7740
  };
7691
- type APIInstaviewImagesBrowseParams = {
7692
- handle: string;
7693
- };
7741
+ type APIInstaviewImagesBrowseParams = any;
7694
7742
  type APIInstaviewImagesBrowseQueryParams = {
7695
7743
  limit?: number;
7696
7744
  cursor?: string;
@@ -7728,9 +7776,7 @@ type APIEventsBrowseResult = {
7728
7776
  }[];
7729
7777
  total: number;
7730
7778
  };
7731
- type APIEventGetByIdParams = {
7732
- idOrSlug: string;
7733
- };
7779
+ type APIEventGetByIdParams = any;
7734
7780
  type APIEventGetByIdResult = {
7735
7781
  event: {
7736
7782
  id: string;
@@ -7818,9 +7864,7 @@ type APIEventAttendeesBrowseResult = {
7818
7864
  }[];
7819
7865
  totalTickets: number;
7820
7866
  };
7821
- type APITicketsGetParams = {
7822
- code: string;
7823
- };
7867
+ type APITicketsGetParams = any;
7824
7868
  type APITicketsGetQueryParams = {
7825
7869
  email: string;
7826
7870
  };
@@ -7896,15 +7940,20 @@ type APITicketsUpdateResult = {
7896
7940
  }[];
7897
7941
  }[];
7898
7942
  };
7899
- type APITicketAttendeeGetParams = {
7900
- token: string;
7901
- };
7943
+ type APITicketAttendeeGetParams = any;
7902
7944
  type APITicketAttendeeGetResult = {
7903
7945
  token: string;
7904
7946
  attendee: {
7905
7947
  name: string | null;
7906
7948
  email: string | null;
7907
7949
  };
7950
+ profile: {
7951
+ linkedinUrl: string | null;
7952
+ bio: string | null;
7953
+ photoUrl: string | null;
7954
+ listed: boolean;
7955
+ updatedAt: string;
7956
+ } | null;
7908
7957
  product: {
7909
7958
  name: string;
7910
7959
  slug: string;
@@ -7917,6 +7966,8 @@ type APITicketAttendeeGetResult = {
7917
7966
  guest: string | null;
7918
7967
  };
7919
7968
  orderStatus: string;
7969
+ checkedInAt: string | null;
7970
+ checkedInBy: string | null;
7920
7971
  };
7921
7972
  type APIBrandsBrowseResult = Omit<{
7922
7973
  data: {
@@ -7980,9 +8031,7 @@ type APIBrandsBrowseQueryParams = {
7980
8031
  active?: boolean | undefined;
7981
8032
  lang?: string | undefined;
7982
8033
  };
7983
- type APIBrandGetByIdParams = {
7984
- idOrSlug: string;
7985
- };
8034
+ type APIBrandGetByIdParams = any;
7986
8035
  type APIBrandGetByIdResult = {
7987
8036
  id: string;
7988
8037
  name: string;
@@ -8140,9 +8189,7 @@ type APIBrandAssignProductsResult = {
8140
8189
  assigned: number;
8141
8190
  notFound: string[];
8142
8191
  };
8143
- type APIOrderRefundsParams = {
8144
- id: string;
8145
- };
8192
+ type APIOrderRefundsParams = any;
8146
8193
  type APIOrderRefundsBrowseResult = {
8147
8194
  data: {
8148
8195
  createdAt: string;
@@ -8178,10 +8225,7 @@ type APIOrderRefundsBrowseQueryParams = {
8178
8225
  offset?: number | undefined;
8179
8226
  limit?: number | undefined;
8180
8227
  };
8181
- type APIOrderRefundGetParams = {
8182
- id: string;
8183
- refundId: string;
8184
- };
8228
+ type APIOrderRefundGetParams = any;
8185
8229
  type APIOrderRefundGetResult = {
8186
8230
  id: string;
8187
8231
  createdAt: string;
@@ -8217,6 +8261,8 @@ type APIProductBatchBody = {
8217
8261
  summary?: string | undefined;
8218
8262
  category_name?: string | undefined;
8219
8263
  sku?: string | undefined;
8264
+ barcode?: string | null | undefined;
8265
+ description?: string | null | undefined;
8220
8266
  stock?: number | undefined;
8221
8267
  }[];
8222
8268
  type APIProductBatchResult = {
@@ -8232,4 +8278,4 @@ type APICartDeleteResult = {
8232
8278
  success: boolean;
8233
8279
  };
8234
8280
 
8235
- export type { APIBlogCategoriesBrowseQueryParams, APIBlogCategoriesBrowseResult, APIBlogCategoryCreateBody, APIBlogCategoryCreateResult, APIBlogCategoryDeleteResult, APIBlogCategoryGetByIdParams, APIBlogCategoryGetByIdResult, APIBlogCategoryUpdateBody, APIBlogCategoryUpdateResult, APIBrandAssignProductsBody, APIBrandAssignProductsResult, APIBrandCreateBody, APIBrandCreateResult, APIBrandDeleteResult, APIBrandGetByIdParams, APIBrandGetByIdResult, APIBrandUpdateBody, APIBrandUpdateResult, APIBrandsBrowseQueryParams, APIBrandsBrowseResult, APICartAddBody, APICartAddResult, APICartCreateBody, APICartCreateResult, APICartDeleteResult, APICartGetResult, APICartRemoveItemQueryParams, APICartRemoveItemResult, APICategoriesBrowseQueryParams, APICategoriesBrowseResult, APICategoryCreateBody, APICategoryCreateResult, APICategoryDeleteResult, APICategoryGetByIdParams, APICategoryGetByIdQueryParams, APICategoryGetByIdResult, APICategoryUpdateBody, APICategoryUpdateQueryParams, APICategoryUpdateResult, APICollectionCreateBody, APICollectionCreateResult, APICollectionDeleteResult, APICollectionGetByIdParams, APICollectionGetByIdQueryParams, APICollectionGetByIdResult, APICollectionUpdateBody, APICollectionUpdateResult, APICollectionsBrowseQueryParams, APICollectionsBrowseResult, APIContactMessageCreateBody, APIContactMessageCreateResult, APICustomerAddressCreateBody, APICustomerAddressCreateResult, APICustomerGetByIdParams, APICustomerGetByIdResult, APICustomerOrdersBrowseQueryParams, APICustomerOrdersBrowseResult, APICustomerUpdateBody, APICustomerUpdateResult, APICustomersBrowseQueryParams, APICustomersBrowseResult, APIEventAttendeesBrowseResult, APIEventCreateBody, APIEventCreateResult, APIEventGetByIdParams, APIEventGetByIdResult, APIEventUpdateBody, APIEventUpdateResult, APIEventsBrowseQueryParams, APIEventsBrowseResult, APIInstaviewImagesBrowseParams, APIInstaviewImagesBrowseQueryParams, APIInstaviewImagesBrowseResult, APIInventoryAdjustBody, APIInventoryAdjustResult, APIInventoryBrowseQueryParams, APIInventoryBrowseResult, APILegalPageGetByPathResult, APILegalPagesBrowseResult, APIMeGetResult, APIOrderGetByIdParams, APIOrderGetByIdResult, APIOrderRefundGetParams, APIOrderRefundGetResult, APIOrderRefundsBrowseQueryParams, APIOrderRefundsBrowseResult, APIOrderRefundsParams, APIOrderUpdateBody, APIOrderUpdateResult, APIOrdersBrowseQueryParams, APIOrdersBrowseResult, APIPostCommentCreateBody, APIPostCommentCreateResult, APIPostCommentsBrowseQueryParams, APIPostCommentsBrowseResult, APIPostCreateBody, APIPostCreateResult, APIPostDeleteResult, APIPostGetByIdParams, APIPostGetByIdResult, APIPostUpdateBody, APIPostUpdateResult, APIPostsBrowseQueryParams, APIPostsBrowseResult, APIProductBatchBody, APIProductBatchResult, APIProductCreateBody, APIProductCreateResult, APIProductDeleteQueryParams, APIProductDeleteResult, APIProductFiltersResult, APIProductGetByIdParams, APIProductGetByIdQueryParams, APIProductGetByIdResult, APIProductReviewCreateBody, APIProductReviewCreateResult, APIProductReviewsBrowseQueryParams, APIProductReviewsBrowseResult, APIProductUpdateBody, APIProductUpdateQueryParams, APIProductUpdateResult, APIProductsBrowseQueryParams, APIProductsBrowseResult, APISearchQueryParams, APISearchResult, APISocialsGetResult, APISubscriberCreateBody, APISubscriberCreateResult, APISubscriberDeleteResult, APITicketAttendeeGetParams, APITicketAttendeeGetResult, APITicketsGetParams, APITicketsGetQueryParams, APITicketsGetResult, APITicketsUpdateBody, APITicketsUpdateResult, APIVariantCreateBody, APIVariantCreateResult, APIVariantGetByIdParams, APIVariantGetByIdQueryParams, APIVariantGetByIdResult, APIVariantUpdateBody, APIVariantUpdateResult, JSONContent };
8281
+ export type { APIBlogCategoriesBrowseQueryParams, APIBlogCategoriesBrowseResult, APIBlogCategoryCreateBody, APIBlogCategoryCreateResult, APIBlogCategoryDeleteResult, APIBlogCategoryGetByIdParams, APIBlogCategoryGetByIdResult, APIBlogCategoryUpdateBody, APIBlogCategoryUpdateResult, APIBrandAssignProductsBody, APIBrandAssignProductsResult, APIBrandCreateBody, APIBrandCreateResult, APIBrandDeleteResult, APIBrandGetByIdParams, APIBrandGetByIdResult, APIBrandUpdateBody, APIBrandUpdateResult, APIBrandsBrowseQueryParams, APIBrandsBrowseResult, APICartAddBody, APICartAddResult, APICartCreateBody, APICartCreateResult, APICartDeleteResult, APICartGetResult, APICartRemoveItemQueryParams, APICartRemoveItemResult, APICategoriesBrowseQueryParams, APICategoriesBrowseResult, APICategoryCreateBody, APICategoryCreateResult, APICategoryDeleteResult, APICategoryGetByIdParams, APICategoryGetByIdQueryParams, APICategoryGetByIdResult, APICategoryUpdateBody, APICategoryUpdateQueryParams, APICategoryUpdateResult, APICollectionCreateBody, APICollectionCreateResult, APICollectionDeleteResult, APICollectionGetByIdParams, APICollectionGetByIdQueryParams, APICollectionGetByIdResult, APICollectionUpdateBody, APICollectionUpdateResult, APICollectionsBrowseQueryParams, APICollectionsBrowseResult, APIContactMessageCreateBody, APIContactMessageCreateResult, APICustomerAddressCreateBody, APICustomerAddressCreateResult, APICustomerGetByIdParams, APICustomerGetByIdResult, APICustomerOrdersBrowseQueryParams, APICustomerOrdersBrowseResult, APICustomerUpdateBody, APICustomerUpdateResult, APICustomersBrowseQueryParams, APICustomersBrowseResult, APIEventAttendeesBrowseResult, APIEventCreateBody, APIEventCreateResult, APIEventGetByIdParams, APIEventGetByIdResult, APIEventUpdateBody, APIEventUpdateResult, APIEventsBrowseQueryParams, APIEventsBrowseResult, APIInstaviewImagesBrowseParams, APIInstaviewImagesBrowseQueryParams, APIInstaviewImagesBrowseResult, APIInventoryAdjustBody, APIInventoryAdjustResult, APIInventoryBrowseQueryParams, APIInventoryBrowseResult, APILegalPageCreateBody, APILegalPageCreateQueryParams, APILegalPageCreateResult, APILegalPageGetByPathParams, APILegalPageGetByPathQueryParams, APILegalPageGetByPathResult, APILegalPageUpdateBody, APILegalPageUpdateQueryParams, APILegalPageUpdateResult, APILegalPagesBrowseQueryParams, APILegalPagesBrowseResult, APIMeGetResult, APIOrderGetByIdParams, APIOrderGetByIdResult, APIOrderRefundGetParams, APIOrderRefundGetResult, APIOrderRefundsBrowseQueryParams, APIOrderRefundsBrowseResult, APIOrderRefundsParams, APIOrderUpdateBody, APIOrderUpdateResult, APIOrdersBrowseQueryParams, APIOrdersBrowseResult, APIPostCommentCreateBody, APIPostCommentCreateResult, APIPostCommentsBrowseQueryParams, APIPostCommentsBrowseResult, APIPostCreateBody, APIPostCreateResult, APIPostDeleteResult, APIPostGetByIdParams, APIPostGetByIdResult, APIPostUpdateBody, APIPostUpdateResult, APIPostsBrowseQueryParams, APIPostsBrowseResult, APIProductBatchBody, APIProductBatchResult, APIProductCreateBody, APIProductCreateResult, APIProductDeleteQueryParams, APIProductDeleteResult, APIProductFiltersResult, APIProductGetByIdParams, APIProductGetByIdQueryParams, APIProductGetByIdResult, APIProductReviewCreateBody, APIProductReviewCreateResult, APIProductReviewsBrowseQueryParams, APIProductReviewsBrowseResult, APIProductUpdateBody, APIProductUpdateQueryParams, APIProductUpdateResult, APIProductsBrowseQueryParams, APIProductsBrowseResult, APISearchQueryParams, APISearchResult, APISocialsGetResult, APISubscriberCreateBody, APISubscriberCreateResult, APISubscriberDeleteResult, APITicketAttendeeGetParams, APITicketAttendeeGetResult, APITicketsGetParams, APITicketsGetQueryParams, APITicketsGetResult, APITicketsUpdateBody, APITicketsUpdateResult, APIVariantCreateBody, APIVariantCreateResult, APIVariantGetByIdParams, APIVariantGetByIdQueryParams, APIVariantGetByIdResult, APIVariantUpdateBody, APIVariantUpdateResult, JSONContent };