commerce-kit 0.21.0 → 0.23.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.
- package/dist/api-types.d.ts +2748 -511
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/api-types.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ type APIProductsBrowseResult = {
|
|
|
7
7
|
updatedAt: string;
|
|
8
8
|
type: "product" | "bundle" | "set";
|
|
9
9
|
slug: string;
|
|
10
|
-
status: "
|
|
10
|
+
status: "published" | "draft" | "hidden" | null;
|
|
11
11
|
flags: unknown;
|
|
12
12
|
storeId: string;
|
|
13
13
|
summary: string | null;
|
|
@@ -19,6 +19,7 @@ type APIProductsBrowseResult = {
|
|
|
19
19
|
description?: string | null | undefined;
|
|
20
20
|
canonical?: string | null | undefined;
|
|
21
21
|
} | null;
|
|
22
|
+
stripeTaxCode: string | null;
|
|
22
23
|
categoryId: string | null;
|
|
23
24
|
category: {
|
|
24
25
|
id: string;
|
|
@@ -234,7 +235,7 @@ type APIProductsBrowseResult = {
|
|
|
234
235
|
updatedAt: string;
|
|
235
236
|
type: "product" | "bundle" | "set";
|
|
236
237
|
slug: string;
|
|
237
|
-
status: "
|
|
238
|
+
status: "published" | "draft" | "hidden" | null;
|
|
238
239
|
flags: unknown;
|
|
239
240
|
storeId: string;
|
|
240
241
|
summary: string | null;
|
|
@@ -246,6 +247,7 @@ type APIProductsBrowseResult = {
|
|
|
246
247
|
description?: string | null | undefined;
|
|
247
248
|
canonical?: string | null | undefined;
|
|
248
249
|
} | null;
|
|
250
|
+
stripeTaxCode: string | null;
|
|
249
251
|
categoryId: string | null;
|
|
250
252
|
category: {
|
|
251
253
|
id: string;
|
|
@@ -461,7 +463,7 @@ type APIProductsBrowseResult = {
|
|
|
461
463
|
updatedAt: string;
|
|
462
464
|
type: "product" | "bundle" | "set";
|
|
463
465
|
slug: string;
|
|
464
|
-
status: "
|
|
466
|
+
status: "published" | "draft" | "hidden" | null;
|
|
465
467
|
flags: unknown;
|
|
466
468
|
storeId: string;
|
|
467
469
|
summary: string | null;
|
|
@@ -473,6 +475,7 @@ type APIProductsBrowseResult = {
|
|
|
473
475
|
description?: string | null | undefined;
|
|
474
476
|
canonical?: string | null | undefined;
|
|
475
477
|
} | null;
|
|
478
|
+
stripeTaxCode: string | null;
|
|
476
479
|
categoryId: string | null;
|
|
477
480
|
category: {
|
|
478
481
|
id: string;
|
|
@@ -688,7 +691,7 @@ type APIProductsBrowseResult = {
|
|
|
688
691
|
updatedAt: string;
|
|
689
692
|
type: "product" | "bundle" | "set";
|
|
690
693
|
slug: string;
|
|
691
|
-
status: "
|
|
694
|
+
status: "published" | "draft" | "hidden" | null;
|
|
692
695
|
flags: unknown;
|
|
693
696
|
storeId: string;
|
|
694
697
|
summary: string | null;
|
|
@@ -700,6 +703,7 @@ type APIProductsBrowseResult = {
|
|
|
700
703
|
description?: string | null | undefined;
|
|
701
704
|
canonical?: string | null | undefined;
|
|
702
705
|
} | null;
|
|
706
|
+
stripeTaxCode: string | null;
|
|
703
707
|
categoryId: string | null;
|
|
704
708
|
category: {
|
|
705
709
|
id: string;
|
|
@@ -916,7 +920,7 @@ type APIProductsBrowseResult = {
|
|
|
916
920
|
updatedAt: string;
|
|
917
921
|
type: "product" | "bundle" | "set";
|
|
918
922
|
slug: string;
|
|
919
|
-
status: "
|
|
923
|
+
status: "published" | "draft" | "hidden" | null;
|
|
920
924
|
flags: unknown;
|
|
921
925
|
storeId: string;
|
|
922
926
|
summary: string | null;
|
|
@@ -928,6 +932,7 @@ type APIProductsBrowseResult = {
|
|
|
928
932
|
description?: string | null | undefined;
|
|
929
933
|
canonical?: string | null | undefined;
|
|
930
934
|
} | null;
|
|
935
|
+
stripeTaxCode: string | null;
|
|
931
936
|
categoryId: string | null;
|
|
932
937
|
category: {
|
|
933
938
|
id: string;
|
|
@@ -1142,11 +1147,13 @@ type APIProductsBrowseResult = {
|
|
|
1142
1147
|
countPublished: number;
|
|
1143
1148
|
countDraft: number;
|
|
1144
1149
|
countHidden: number;
|
|
1150
|
+
nextCursor: string | undefined;
|
|
1145
1151
|
};
|
|
1146
1152
|
};
|
|
1147
1153
|
type APIProductsBrowseQueryParams = {
|
|
1148
1154
|
offset?: number | undefined;
|
|
1149
1155
|
limit?: number | undefined;
|
|
1156
|
+
cursor?: string | undefined;
|
|
1150
1157
|
category?: string | undefined;
|
|
1151
1158
|
query?: string | undefined;
|
|
1152
1159
|
active?: boolean | undefined;
|
|
@@ -1161,7 +1168,7 @@ type APIProductGetByIdResult = ({
|
|
|
1161
1168
|
updatedAt: string;
|
|
1162
1169
|
type: "product" | "bundle" | "set";
|
|
1163
1170
|
slug: string;
|
|
1164
|
-
status: "
|
|
1171
|
+
status: "published" | "draft" | "hidden" | null;
|
|
1165
1172
|
flags: unknown;
|
|
1166
1173
|
storeId: string;
|
|
1167
1174
|
summary: string | null;
|
|
@@ -1173,6 +1180,7 @@ type APIProductGetByIdResult = ({
|
|
|
1173
1180
|
description?: string | null | undefined;
|
|
1174
1181
|
canonical?: string | null | undefined;
|
|
1175
1182
|
} | null;
|
|
1183
|
+
stripeTaxCode: string | null;
|
|
1176
1184
|
categoryId: string | null;
|
|
1177
1185
|
category: {
|
|
1178
1186
|
id: string;
|
|
@@ -1386,6 +1394,17 @@ type APIProductGetByIdResult = ({
|
|
|
1386
1394
|
benefits: string | null;
|
|
1387
1395
|
};
|
|
1388
1396
|
}[];
|
|
1397
|
+
volumePricingTiers: {
|
|
1398
|
+
id: string;
|
|
1399
|
+
createdAt: string;
|
|
1400
|
+
updatedAt: string;
|
|
1401
|
+
storeId: string;
|
|
1402
|
+
price: string;
|
|
1403
|
+
minQuantity: number;
|
|
1404
|
+
maxQuantity: number | null;
|
|
1405
|
+
productId: string | null;
|
|
1406
|
+
productVariantId: string | null;
|
|
1407
|
+
}[];
|
|
1389
1408
|
} & {
|
|
1390
1409
|
variants: ({
|
|
1391
1410
|
id: string;
|
|
@@ -1400,7 +1419,7 @@ type APIProductGetByIdResult = ({
|
|
|
1400
1419
|
updatedAt: string;
|
|
1401
1420
|
type: "product" | "bundle" | "set";
|
|
1402
1421
|
slug: string;
|
|
1403
|
-
status: "
|
|
1422
|
+
status: "published" | "draft" | "hidden" | null;
|
|
1404
1423
|
flags: unknown;
|
|
1405
1424
|
storeId: string;
|
|
1406
1425
|
summary: string | null;
|
|
@@ -1412,6 +1431,7 @@ type APIProductGetByIdResult = ({
|
|
|
1412
1431
|
description?: string | null | undefined;
|
|
1413
1432
|
canonical?: string | null | undefined;
|
|
1414
1433
|
} | null;
|
|
1434
|
+
stripeTaxCode: string | null;
|
|
1415
1435
|
categoryId: string | null;
|
|
1416
1436
|
category: {
|
|
1417
1437
|
id: string;
|
|
@@ -1625,6 +1645,17 @@ type APIProductGetByIdResult = ({
|
|
|
1625
1645
|
benefits: string | null;
|
|
1626
1646
|
};
|
|
1627
1647
|
}[];
|
|
1648
|
+
volumePricingTiers: {
|
|
1649
|
+
id: string;
|
|
1650
|
+
createdAt: string;
|
|
1651
|
+
updatedAt: string;
|
|
1652
|
+
storeId: string;
|
|
1653
|
+
price: string;
|
|
1654
|
+
minQuantity: number;
|
|
1655
|
+
maxQuantity: number | null;
|
|
1656
|
+
productId: string | null;
|
|
1657
|
+
productVariantId: string | null;
|
|
1658
|
+
}[];
|
|
1628
1659
|
} & {
|
|
1629
1660
|
variants: ({
|
|
1630
1661
|
id: string;
|
|
@@ -1638,7 +1669,9 @@ type APIProductGetByIdParams = {
|
|
|
1638
1669
|
};
|
|
1639
1670
|
type APICartGetResult = {
|
|
1640
1671
|
lineItems: {
|
|
1641
|
-
productVariant: ({
|
|
1672
|
+
productVariant: (({
|
|
1673
|
+
price: string;
|
|
1674
|
+
preVolumePricingPrice: string;
|
|
1642
1675
|
storeId: string | null;
|
|
1643
1676
|
product: {
|
|
1644
1677
|
bundleProducts: {
|
|
@@ -1687,7 +1720,7 @@ type APICartGetResult = {
|
|
|
1687
1720
|
updatedAt: string;
|
|
1688
1721
|
type: "product" | "bundle" | "set";
|
|
1689
1722
|
slug: string;
|
|
1690
|
-
status: "
|
|
1723
|
+
status: "published" | "draft" | "hidden" | null;
|
|
1691
1724
|
flags: unknown;
|
|
1692
1725
|
storeId: string;
|
|
1693
1726
|
summary: string | null;
|
|
@@ -1699,6 +1732,7 @@ type APICartGetResult = {
|
|
|
1699
1732
|
description?: string | null | undefined;
|
|
1700
1733
|
canonical?: string | null | undefined;
|
|
1701
1734
|
} | null;
|
|
1735
|
+
stripeTaxCode: string | null;
|
|
1702
1736
|
categoryId: string | null;
|
|
1703
1737
|
productTaxRate: {
|
|
1704
1738
|
createdAt: string;
|
|
@@ -1746,7 +1780,6 @@ type APICartGetResult = {
|
|
|
1746
1780
|
id: string;
|
|
1747
1781
|
createdAt: string;
|
|
1748
1782
|
updatedAt: string;
|
|
1749
|
-
price: string;
|
|
1750
1783
|
images: string[];
|
|
1751
1784
|
sku: string | null;
|
|
1752
1785
|
calculatedPrice: string | null;
|
|
@@ -1775,12 +1808,8 @@ type APICartGetResult = {
|
|
|
1775
1808
|
};
|
|
1776
1809
|
};
|
|
1777
1810
|
}[];
|
|
1778
|
-
}
|
|
1779
|
-
|
|
1780
|
-
price: string;
|
|
1781
|
-
} & {
|
|
1782
|
-
prePromotionPrice: undefined;
|
|
1783
|
-
}) | ({
|
|
1811
|
+
} | {
|
|
1812
|
+
preVolumePricingPrice: string | null;
|
|
1784
1813
|
storeId: string | null;
|
|
1785
1814
|
product: {
|
|
1786
1815
|
bundleProducts: {
|
|
@@ -1829,7 +1858,7 @@ type APICartGetResult = {
|
|
|
1829
1858
|
updatedAt: string;
|
|
1830
1859
|
type: "product" | "bundle" | "set";
|
|
1831
1860
|
slug: string;
|
|
1832
|
-
status: "
|
|
1861
|
+
status: "published" | "draft" | "hidden" | null;
|
|
1833
1862
|
flags: unknown;
|
|
1834
1863
|
storeId: string;
|
|
1835
1864
|
summary: string | null;
|
|
@@ -1841,6 +1870,7 @@ type APICartGetResult = {
|
|
|
1841
1870
|
description?: string | null | undefined;
|
|
1842
1871
|
canonical?: string | null | undefined;
|
|
1843
1872
|
} | null;
|
|
1873
|
+
stripeTaxCode: string | null;
|
|
1844
1874
|
categoryId: string | null;
|
|
1845
1875
|
productTaxRate: {
|
|
1846
1876
|
createdAt: string;
|
|
@@ -1917,12 +1947,14 @@ type APICartGetResult = {
|
|
|
1917
1947
|
};
|
|
1918
1948
|
};
|
|
1919
1949
|
}[];
|
|
1920
|
-
} & {
|
|
1950
|
+
}) & {
|
|
1921
1951
|
id: string;
|
|
1922
1952
|
price: string;
|
|
1923
1953
|
} & {
|
|
1924
1954
|
prePromotionPrice: undefined;
|
|
1925
|
-
}) | ({
|
|
1955
|
+
}) | (({
|
|
1956
|
+
price: string;
|
|
1957
|
+
preVolumePricingPrice: string;
|
|
1926
1958
|
storeId: string | null;
|
|
1927
1959
|
product: {
|
|
1928
1960
|
bundleProducts: {
|
|
@@ -1971,7 +2003,7 @@ type APICartGetResult = {
|
|
|
1971
2003
|
updatedAt: string;
|
|
1972
2004
|
type: "product" | "bundle" | "set";
|
|
1973
2005
|
slug: string;
|
|
1974
|
-
status: "
|
|
2006
|
+
status: "published" | "draft" | "hidden" | null;
|
|
1975
2007
|
flags: unknown;
|
|
1976
2008
|
storeId: string;
|
|
1977
2009
|
summary: string | null;
|
|
@@ -1983,6 +2015,7 @@ type APICartGetResult = {
|
|
|
1983
2015
|
description?: string | null | undefined;
|
|
1984
2016
|
canonical?: string | null | undefined;
|
|
1985
2017
|
} | null;
|
|
2018
|
+
stripeTaxCode: string | null;
|
|
1986
2019
|
categoryId: string | null;
|
|
1987
2020
|
productTaxRate: {
|
|
1988
2021
|
createdAt: string;
|
|
@@ -2030,7 +2063,6 @@ type APICartGetResult = {
|
|
|
2030
2063
|
id: string;
|
|
2031
2064
|
createdAt: string;
|
|
2032
2065
|
updatedAt: string;
|
|
2033
|
-
price: string;
|
|
2034
2066
|
images: string[];
|
|
2035
2067
|
sku: string | null;
|
|
2036
2068
|
calculatedPrice: string | null;
|
|
@@ -2059,12 +2091,8 @@ type APICartGetResult = {
|
|
|
2059
2091
|
};
|
|
2060
2092
|
};
|
|
2061
2093
|
}[];
|
|
2062
|
-
}
|
|
2063
|
-
|
|
2064
|
-
price: string;
|
|
2065
|
-
} & {
|
|
2066
|
-
prePromotionPrice: undefined;
|
|
2067
|
-
}) | ({
|
|
2094
|
+
} | {
|
|
2095
|
+
preVolumePricingPrice: string | null;
|
|
2068
2096
|
storeId: string | null;
|
|
2069
2097
|
product: {
|
|
2070
2098
|
bundleProducts: {
|
|
@@ -2113,7 +2141,7 @@ type APICartGetResult = {
|
|
|
2113
2141
|
updatedAt: string;
|
|
2114
2142
|
type: "product" | "bundle" | "set";
|
|
2115
2143
|
slug: string;
|
|
2116
|
-
status: "
|
|
2144
|
+
status: "published" | "draft" | "hidden" | null;
|
|
2117
2145
|
flags: unknown;
|
|
2118
2146
|
storeId: string;
|
|
2119
2147
|
summary: string | null;
|
|
@@ -2125,6 +2153,7 @@ type APICartGetResult = {
|
|
|
2125
2153
|
description?: string | null | undefined;
|
|
2126
2154
|
canonical?: string | null | undefined;
|
|
2127
2155
|
} | null;
|
|
2156
|
+
stripeTaxCode: string | null;
|
|
2128
2157
|
categoryId: string | null;
|
|
2129
2158
|
productTaxRate: {
|
|
2130
2159
|
createdAt: string;
|
|
@@ -2201,13 +2230,14 @@ type APICartGetResult = {
|
|
|
2201
2230
|
};
|
|
2202
2231
|
};
|
|
2203
2232
|
}[];
|
|
2204
|
-
} & {
|
|
2233
|
+
}) & {
|
|
2205
2234
|
id: string;
|
|
2206
2235
|
price: string;
|
|
2207
2236
|
} & {
|
|
2208
2237
|
prePromotionPrice: undefined;
|
|
2238
|
+
}) | (({
|
|
2209
2239
|
price: string;
|
|
2210
|
-
|
|
2240
|
+
preVolumePricingPrice: string;
|
|
2211
2241
|
storeId: string | null;
|
|
2212
2242
|
product: {
|
|
2213
2243
|
bundleProducts: {
|
|
@@ -2256,7 +2286,7 @@ type APICartGetResult = {
|
|
|
2256
2286
|
updatedAt: string;
|
|
2257
2287
|
type: "product" | "bundle" | "set";
|
|
2258
2288
|
slug: string;
|
|
2259
|
-
status: "
|
|
2289
|
+
status: "published" | "draft" | "hidden" | null;
|
|
2260
2290
|
flags: unknown;
|
|
2261
2291
|
storeId: string;
|
|
2262
2292
|
summary: string | null;
|
|
@@ -2268,6 +2298,7 @@ type APICartGetResult = {
|
|
|
2268
2298
|
description?: string | null | undefined;
|
|
2269
2299
|
canonical?: string | null | undefined;
|
|
2270
2300
|
} | null;
|
|
2301
|
+
stripeTaxCode: string | null;
|
|
2271
2302
|
categoryId: string | null;
|
|
2272
2303
|
productTaxRate: {
|
|
2273
2304
|
createdAt: string;
|
|
@@ -2315,7 +2346,6 @@ type APICartGetResult = {
|
|
|
2315
2346
|
id: string;
|
|
2316
2347
|
createdAt: string;
|
|
2317
2348
|
updatedAt: string;
|
|
2318
|
-
price: string;
|
|
2319
2349
|
images: string[];
|
|
2320
2350
|
sku: string | null;
|
|
2321
2351
|
calculatedPrice: string | null;
|
|
@@ -2344,218 +2374,8 @@ type APICartGetResult = {
|
|
|
2344
2374
|
};
|
|
2345
2375
|
};
|
|
2346
2376
|
}[];
|
|
2347
|
-
}
|
|
2348
|
-
|
|
2349
|
-
price: string;
|
|
2350
|
-
} & {
|
|
2351
|
-
prePromotionPrice: string | null;
|
|
2352
|
-
});
|
|
2353
|
-
setSelections: {
|
|
2354
|
-
selectedVariant: {
|
|
2355
|
-
combinations: {
|
|
2356
|
-
createdAt: string;
|
|
2357
|
-
updatedAt: string;
|
|
2358
|
-
productVariantId: string;
|
|
2359
|
-
variantValueId: string;
|
|
2360
|
-
variantValue: {
|
|
2361
|
-
id: string;
|
|
2362
|
-
value: string;
|
|
2363
|
-
variantType: {
|
|
2364
|
-
id: string;
|
|
2365
|
-
label: string;
|
|
2366
|
-
};
|
|
2367
|
-
};
|
|
2368
|
-
}[];
|
|
2369
|
-
id: string;
|
|
2370
|
-
price: string;
|
|
2371
|
-
product: {
|
|
2372
|
-
id: string;
|
|
2373
|
-
name: string;
|
|
2374
|
-
};
|
|
2375
|
-
};
|
|
2376
|
-
id: string;
|
|
2377
|
-
createdAt: string;
|
|
2378
|
-
updatedAt: string;
|
|
2379
|
-
position: number;
|
|
2380
|
-
quantity: number;
|
|
2381
|
-
lineItemId: string;
|
|
2382
|
-
selectedVariantId: string;
|
|
2383
|
-
}[];
|
|
2384
|
-
id: string;
|
|
2385
|
-
createdAt: string;
|
|
2386
|
-
updatedAt: string;
|
|
2387
|
-
cartId: string;
|
|
2388
|
-
quantity: number;
|
|
2389
|
-
productVariantId: string;
|
|
2390
|
-
subscriptionPlanId: string | null;
|
|
2391
|
-
subscriptionPlan: {
|
|
2392
|
-
id: string;
|
|
2393
|
-
name: string;
|
|
2394
|
-
createdAt: string;
|
|
2395
|
-
updatedAt: string;
|
|
2396
|
-
interval: number;
|
|
2397
|
-
active: boolean;
|
|
2398
|
-
storeId: string;
|
|
2399
|
-
description: string | null;
|
|
2400
|
-
position: number;
|
|
2401
|
-
cadence: "month" | "week";
|
|
2402
|
-
discountPercent: number;
|
|
2403
|
-
benefits: string | null;
|
|
2404
|
-
} | null;
|
|
2405
|
-
}[];
|
|
2406
|
-
id: string;
|
|
2407
|
-
createdAt: string;
|
|
2408
|
-
updatedAt: string;
|
|
2409
|
-
storeId: string;
|
|
2410
|
-
addonData: Record<string, unknown> | null | undefined;
|
|
2411
|
-
couponId: string | null;
|
|
2412
|
-
customerId: string | null;
|
|
2413
|
-
stripePaymentIntentId: string | null;
|
|
2414
|
-
checkoutSessionId: string | null;
|
|
2415
|
-
shippingId: string | null;
|
|
2416
|
-
shippingAddressId: string | null;
|
|
2417
|
-
billingAddressId: string | null;
|
|
2418
|
-
deliverySlot: unknown;
|
|
2419
|
-
ucpSessionStatus: "incomplete" | "ready_for_complete" | "requires_escalation" | "complete_in_progress" | "completed" | "canceled" | null;
|
|
2420
|
-
ucpMetadata: {
|
|
2421
|
-
buyerEmail?: string;
|
|
2422
|
-
buyerName?: string;
|
|
2423
|
-
buyerPhone?: string;
|
|
2424
|
-
agentId?: string;
|
|
2425
|
-
externalReference?: string;
|
|
2426
|
-
escalationReason?: string;
|
|
2427
|
-
} | null;
|
|
2428
|
-
acpSessionStatus: "completed" | "canceled" | "not_ready_for_payment" | "ready_for_payment" | null;
|
|
2429
|
-
acpMetadata: {
|
|
2430
|
-
buyerEmail?: string;
|
|
2431
|
-
buyerName?: string;
|
|
2432
|
-
buyerPhone?: string;
|
|
2433
|
-
agentId?: string;
|
|
2434
|
-
externalReference?: string;
|
|
2435
|
-
idempotencyKey?: string;
|
|
2436
|
-
} | null;
|
|
2437
|
-
shipping: {
|
|
2438
|
-
id: string;
|
|
2439
|
-
name: string;
|
|
2440
|
-
createdAt: string;
|
|
2441
|
-
updatedAt: string;
|
|
2442
|
-
type: "courier" | "parcel" | "pickup_point" | "in_store";
|
|
2443
|
-
storeId: string;
|
|
2444
|
-
description: string | null;
|
|
2445
|
-
price: string;
|
|
2446
|
-
minShippingTime: number | null;
|
|
2447
|
-
maxShippingTime: number | null;
|
|
2448
|
-
freeShippingThreshold: string | null;
|
|
2449
|
-
position: number | null;
|
|
2450
|
-
addonId: string | null;
|
|
2451
|
-
addonData: unknown;
|
|
2452
|
-
deliverySlots: unknown;
|
|
2453
|
-
countries: string[] | null;
|
|
2454
|
-
shippingAddon: {
|
|
2455
|
-
id: string;
|
|
2456
|
-
name: string;
|
|
2457
|
-
createdAt: string;
|
|
2458
|
-
updatedAt: string;
|
|
2459
|
-
type: "shipping" | "analytics" | "products" | "invoicing" | "orders";
|
|
2460
|
-
storeId: string;
|
|
2461
|
-
} | null;
|
|
2462
|
-
shippingTaxRate: {
|
|
2463
|
-
createdAt: string;
|
|
2464
|
-
updatedAt: string;
|
|
2465
|
-
shippingId: string;
|
|
2466
|
-
taxRateId: string;
|
|
2467
|
-
taxRate: {
|
|
2468
|
-
id: string;
|
|
2469
|
-
name: string;
|
|
2470
|
-
createdAt: string;
|
|
2471
|
-
updatedAt: string;
|
|
2472
|
-
storeId: string;
|
|
2473
|
-
rate: string;
|
|
2474
|
-
};
|
|
2475
|
-
} | null;
|
|
2476
|
-
} | null;
|
|
2477
|
-
coupon: {
|
|
2478
|
-
type: "fixed" | "percentage";
|
|
2479
|
-
value: string;
|
|
2480
|
-
code: string;
|
|
2481
|
-
startDate: string | null;
|
|
2482
|
-
endDate: string | null;
|
|
2483
|
-
minProductCount: number | null;
|
|
2484
|
-
maxProductCount: number | null;
|
|
2485
|
-
products: {
|
|
2486
|
-
id: string;
|
|
2487
|
-
}[];
|
|
2488
|
-
} | null;
|
|
2489
|
-
billingAddress: {
|
|
2490
|
-
id: string;
|
|
2491
|
-
name: string | null;
|
|
2492
|
-
createdAt: string;
|
|
2493
|
-
updatedAt: string;
|
|
2494
|
-
type: "shipping" | "billing" | "merchant";
|
|
2495
|
-
company: string | null;
|
|
2496
|
-
city: string | null;
|
|
2497
|
-
country: string | null;
|
|
2498
|
-
line1: string | null;
|
|
2499
|
-
line2: string | null;
|
|
2500
|
-
postalCode: string | null;
|
|
2501
|
-
state: string | null;
|
|
2502
|
-
phone: string | null;
|
|
2503
|
-
taxId: string | null;
|
|
2504
|
-
} | null;
|
|
2505
|
-
shippingAddress: {
|
|
2506
|
-
id: string;
|
|
2507
|
-
name: string | null;
|
|
2508
|
-
createdAt: string;
|
|
2509
|
-
updatedAt: string;
|
|
2510
|
-
type: "shipping" | "billing" | "merchant";
|
|
2511
|
-
company: string | null;
|
|
2512
|
-
city: string | null;
|
|
2513
|
-
country: string | null;
|
|
2514
|
-
line1: string | null;
|
|
2515
|
-
line2: string | null;
|
|
2516
|
-
postalCode: string | null;
|
|
2517
|
-
state: string | null;
|
|
2518
|
-
phone: string | null;
|
|
2519
|
-
taxId: string | null;
|
|
2520
|
-
} | null;
|
|
2521
|
-
customer: {
|
|
2522
|
-
id: string;
|
|
2523
|
-
email: string | null;
|
|
2524
|
-
createdAt: string;
|
|
2525
|
-
updatedAt: string;
|
|
2526
|
-
userId: string | null;
|
|
2527
|
-
storeId: string;
|
|
2528
|
-
couponId: string | null;
|
|
2529
|
-
user: {
|
|
2530
|
-
id: string;
|
|
2531
|
-
name: string;
|
|
2532
|
-
email: string;
|
|
2533
|
-
} | null;
|
|
2534
|
-
coupon: {
|
|
2535
|
-
type: "fixed" | "percentage";
|
|
2536
|
-
value: string;
|
|
2537
|
-
code: string;
|
|
2538
|
-
startDate: string | null;
|
|
2539
|
-
endDate: string | null;
|
|
2540
|
-
minProductCount: number | null;
|
|
2541
|
-
maxProductCount: number | null;
|
|
2542
|
-
products: {
|
|
2543
|
-
id: string;
|
|
2544
|
-
}[];
|
|
2545
|
-
} | null;
|
|
2546
|
-
} | null;
|
|
2547
|
-
} | null | undefined;
|
|
2548
|
-
type APICartAddBody = unknown;
|
|
2549
|
-
type APICartAddResult = unknown;
|
|
2550
|
-
type APICartCreateBody = {
|
|
2551
|
-
variantId: string;
|
|
2552
|
-
quantity: number;
|
|
2553
|
-
cartId?: string | undefined;
|
|
2554
|
-
subscriptionPlanId?: string | null | undefined;
|
|
2555
|
-
};
|
|
2556
|
-
type APICartCreateResult = {
|
|
2557
|
-
lineItems: {
|
|
2558
|
-
productVariant: ({
|
|
2377
|
+
} | {
|
|
2378
|
+
preVolumePricingPrice: string | null;
|
|
2559
2379
|
storeId: string | null;
|
|
2560
2380
|
product: {
|
|
2561
2381
|
bundleProducts: {
|
|
@@ -2604,7 +2424,7 @@ type APICartCreateResult = {
|
|
|
2604
2424
|
updatedAt: string;
|
|
2605
2425
|
type: "product" | "bundle" | "set";
|
|
2606
2426
|
slug: string;
|
|
2607
|
-
status: "
|
|
2427
|
+
status: "published" | "draft" | "hidden" | null;
|
|
2608
2428
|
flags: unknown;
|
|
2609
2429
|
storeId: string;
|
|
2610
2430
|
summary: string | null;
|
|
@@ -2616,6 +2436,7 @@ type APICartCreateResult = {
|
|
|
2616
2436
|
description?: string | null | undefined;
|
|
2617
2437
|
canonical?: string | null | undefined;
|
|
2618
2438
|
} | null;
|
|
2439
|
+
stripeTaxCode: string | null;
|
|
2619
2440
|
categoryId: string | null;
|
|
2620
2441
|
productTaxRate: {
|
|
2621
2442
|
createdAt: string;
|
|
@@ -2692,12 +2513,2541 @@ type APICartCreateResult = {
|
|
|
2692
2513
|
};
|
|
2693
2514
|
};
|
|
2694
2515
|
}[];
|
|
2695
|
-
} & {
|
|
2516
|
+
}) & {
|
|
2696
2517
|
id: string;
|
|
2697
2518
|
price: string;
|
|
2698
2519
|
} & {
|
|
2699
2520
|
prePromotionPrice: undefined;
|
|
2700
|
-
}) | ({
|
|
2521
|
+
}) | (({
|
|
2522
|
+
price: string;
|
|
2523
|
+
preVolumePricingPrice: string;
|
|
2524
|
+
storeId: string | null;
|
|
2525
|
+
product: {
|
|
2526
|
+
bundleProducts: {
|
|
2527
|
+
variant: {
|
|
2528
|
+
storeId: string | null;
|
|
2529
|
+
product: {
|
|
2530
|
+
productTaxRate: {
|
|
2531
|
+
taxRate: {
|
|
2532
|
+
rate: string;
|
|
2533
|
+
};
|
|
2534
|
+
} | null;
|
|
2535
|
+
id: string;
|
|
2536
|
+
name: string;
|
|
2537
|
+
slug: string;
|
|
2538
|
+
images: string[];
|
|
2539
|
+
};
|
|
2540
|
+
id: string;
|
|
2541
|
+
createdAt: string;
|
|
2542
|
+
updatedAt: string;
|
|
2543
|
+
price: string;
|
|
2544
|
+
images: string[];
|
|
2545
|
+
sku: string | null;
|
|
2546
|
+
calculatedPrice: string | null;
|
|
2547
|
+
stock: number | null;
|
|
2548
|
+
depth: number | null;
|
|
2549
|
+
width: number | null;
|
|
2550
|
+
height: number | null;
|
|
2551
|
+
weight: number | null;
|
|
2552
|
+
digital: string[] | null;
|
|
2553
|
+
shippable: boolean;
|
|
2554
|
+
externalId: string | null;
|
|
2555
|
+
productId: string;
|
|
2556
|
+
attributes: unknown;
|
|
2557
|
+
originalPrice: string;
|
|
2558
|
+
};
|
|
2559
|
+
createdAt: string;
|
|
2560
|
+
updatedAt: string;
|
|
2561
|
+
position: number;
|
|
2562
|
+
bundleId: string;
|
|
2563
|
+
quantity: number;
|
|
2564
|
+
variantId: string;
|
|
2565
|
+
}[];
|
|
2566
|
+
id: string;
|
|
2567
|
+
name: string;
|
|
2568
|
+
createdAt: string;
|
|
2569
|
+
updatedAt: string;
|
|
2570
|
+
type: "product" | "bundle" | "set";
|
|
2571
|
+
slug: string;
|
|
2572
|
+
status: "published" | "draft" | "hidden" | null;
|
|
2573
|
+
flags: unknown;
|
|
2574
|
+
storeId: string;
|
|
2575
|
+
summary: string | null;
|
|
2576
|
+
images: string[];
|
|
2577
|
+
badge: unknown;
|
|
2578
|
+
bundleDiscountPercentage: string | null;
|
|
2579
|
+
seo: {
|
|
2580
|
+
title?: string | null | undefined;
|
|
2581
|
+
description?: string | null | undefined;
|
|
2582
|
+
canonical?: string | null | undefined;
|
|
2583
|
+
} | null;
|
|
2584
|
+
stripeTaxCode: string | null;
|
|
2585
|
+
categoryId: string | null;
|
|
2586
|
+
productTaxRate: {
|
|
2587
|
+
createdAt: string;
|
|
2588
|
+
updatedAt: string;
|
|
2589
|
+
taxRateId: string;
|
|
2590
|
+
productId: string;
|
|
2591
|
+
taxRate: {
|
|
2592
|
+
id: string;
|
|
2593
|
+
name: string;
|
|
2594
|
+
createdAt: string;
|
|
2595
|
+
updatedAt: string;
|
|
2596
|
+
storeId: string;
|
|
2597
|
+
rate: string;
|
|
2598
|
+
};
|
|
2599
|
+
} | null;
|
|
2600
|
+
productCollections: {
|
|
2601
|
+
position: string | null;
|
|
2602
|
+
productId: string;
|
|
2603
|
+
collectionId: string;
|
|
2604
|
+
collection: {
|
|
2605
|
+
id: string;
|
|
2606
|
+
name: string;
|
|
2607
|
+
image: string | null;
|
|
2608
|
+
createdAt: string;
|
|
2609
|
+
updatedAt: string;
|
|
2610
|
+
slug: string;
|
|
2611
|
+
active: boolean;
|
|
2612
|
+
filter: {
|
|
2613
|
+
type: "manual";
|
|
2614
|
+
} | {
|
|
2615
|
+
type: "dynamicPrice";
|
|
2616
|
+
min?: number | null | undefined;
|
|
2617
|
+
max?: number | null | undefined;
|
|
2618
|
+
};
|
|
2619
|
+
storeId: string;
|
|
2620
|
+
description: JSONContent | null;
|
|
2621
|
+
};
|
|
2622
|
+
}[];
|
|
2623
|
+
setProduct: {
|
|
2624
|
+
selectionCount: number;
|
|
2625
|
+
allowDuplicates: boolean;
|
|
2626
|
+
discountPercentage: string;
|
|
2627
|
+
} | null;
|
|
2628
|
+
};
|
|
2629
|
+
id: string;
|
|
2630
|
+
createdAt: string;
|
|
2631
|
+
updatedAt: string;
|
|
2632
|
+
images: string[];
|
|
2633
|
+
sku: string | null;
|
|
2634
|
+
calculatedPrice: string | null;
|
|
2635
|
+
stock: number | null;
|
|
2636
|
+
depth: number | null;
|
|
2637
|
+
width: number | null;
|
|
2638
|
+
height: number | null;
|
|
2639
|
+
weight: number | null;
|
|
2640
|
+
digital: string[] | null;
|
|
2641
|
+
shippable: boolean;
|
|
2642
|
+
externalId: string | null;
|
|
2643
|
+
productId: string;
|
|
2644
|
+
attributes: unknown;
|
|
2645
|
+
originalPrice: string;
|
|
2646
|
+
combinations: {
|
|
2647
|
+
createdAt: string;
|
|
2648
|
+
updatedAt: string;
|
|
2649
|
+
productVariantId: string;
|
|
2650
|
+
variantValueId: string;
|
|
2651
|
+
variantValue: {
|
|
2652
|
+
id: string;
|
|
2653
|
+
value: string;
|
|
2654
|
+
variantType: {
|
|
2655
|
+
id: string;
|
|
2656
|
+
label: string;
|
|
2657
|
+
};
|
|
2658
|
+
};
|
|
2659
|
+
}[];
|
|
2660
|
+
} | {
|
|
2661
|
+
preVolumePricingPrice: string | null;
|
|
2662
|
+
storeId: string | null;
|
|
2663
|
+
product: {
|
|
2664
|
+
bundleProducts: {
|
|
2665
|
+
variant: {
|
|
2666
|
+
storeId: string | null;
|
|
2667
|
+
product: {
|
|
2668
|
+
productTaxRate: {
|
|
2669
|
+
taxRate: {
|
|
2670
|
+
rate: string;
|
|
2671
|
+
};
|
|
2672
|
+
} | null;
|
|
2673
|
+
id: string;
|
|
2674
|
+
name: string;
|
|
2675
|
+
slug: string;
|
|
2676
|
+
images: string[];
|
|
2677
|
+
};
|
|
2678
|
+
id: string;
|
|
2679
|
+
createdAt: string;
|
|
2680
|
+
updatedAt: string;
|
|
2681
|
+
price: string;
|
|
2682
|
+
images: string[];
|
|
2683
|
+
sku: string | null;
|
|
2684
|
+
calculatedPrice: string | null;
|
|
2685
|
+
stock: number | null;
|
|
2686
|
+
depth: number | null;
|
|
2687
|
+
width: number | null;
|
|
2688
|
+
height: number | null;
|
|
2689
|
+
weight: number | null;
|
|
2690
|
+
digital: string[] | null;
|
|
2691
|
+
shippable: boolean;
|
|
2692
|
+
externalId: string | null;
|
|
2693
|
+
productId: string;
|
|
2694
|
+
attributes: unknown;
|
|
2695
|
+
originalPrice: string;
|
|
2696
|
+
};
|
|
2697
|
+
createdAt: string;
|
|
2698
|
+
updatedAt: string;
|
|
2699
|
+
position: number;
|
|
2700
|
+
bundleId: string;
|
|
2701
|
+
quantity: number;
|
|
2702
|
+
variantId: string;
|
|
2703
|
+
}[];
|
|
2704
|
+
id: string;
|
|
2705
|
+
name: string;
|
|
2706
|
+
createdAt: string;
|
|
2707
|
+
updatedAt: string;
|
|
2708
|
+
type: "product" | "bundle" | "set";
|
|
2709
|
+
slug: string;
|
|
2710
|
+
status: "published" | "draft" | "hidden" | null;
|
|
2711
|
+
flags: unknown;
|
|
2712
|
+
storeId: string;
|
|
2713
|
+
summary: string | null;
|
|
2714
|
+
images: string[];
|
|
2715
|
+
badge: unknown;
|
|
2716
|
+
bundleDiscountPercentage: string | null;
|
|
2717
|
+
seo: {
|
|
2718
|
+
title?: string | null | undefined;
|
|
2719
|
+
description?: string | null | undefined;
|
|
2720
|
+
canonical?: string | null | undefined;
|
|
2721
|
+
} | null;
|
|
2722
|
+
stripeTaxCode: string | null;
|
|
2723
|
+
categoryId: string | null;
|
|
2724
|
+
productTaxRate: {
|
|
2725
|
+
createdAt: string;
|
|
2726
|
+
updatedAt: string;
|
|
2727
|
+
taxRateId: string;
|
|
2728
|
+
productId: string;
|
|
2729
|
+
taxRate: {
|
|
2730
|
+
id: string;
|
|
2731
|
+
name: string;
|
|
2732
|
+
createdAt: string;
|
|
2733
|
+
updatedAt: string;
|
|
2734
|
+
storeId: string;
|
|
2735
|
+
rate: string;
|
|
2736
|
+
};
|
|
2737
|
+
} | null;
|
|
2738
|
+
productCollections: {
|
|
2739
|
+
position: string | null;
|
|
2740
|
+
productId: string;
|
|
2741
|
+
collectionId: string;
|
|
2742
|
+
collection: {
|
|
2743
|
+
id: string;
|
|
2744
|
+
name: string;
|
|
2745
|
+
image: string | null;
|
|
2746
|
+
createdAt: string;
|
|
2747
|
+
updatedAt: string;
|
|
2748
|
+
slug: string;
|
|
2749
|
+
active: boolean;
|
|
2750
|
+
filter: {
|
|
2751
|
+
type: "manual";
|
|
2752
|
+
} | {
|
|
2753
|
+
type: "dynamicPrice";
|
|
2754
|
+
min?: number | null | undefined;
|
|
2755
|
+
max?: number | null | undefined;
|
|
2756
|
+
};
|
|
2757
|
+
storeId: string;
|
|
2758
|
+
description: JSONContent | null;
|
|
2759
|
+
};
|
|
2760
|
+
}[];
|
|
2761
|
+
setProduct: {
|
|
2762
|
+
selectionCount: number;
|
|
2763
|
+
allowDuplicates: boolean;
|
|
2764
|
+
discountPercentage: string;
|
|
2765
|
+
} | null;
|
|
2766
|
+
};
|
|
2767
|
+
id: string;
|
|
2768
|
+
createdAt: string;
|
|
2769
|
+
updatedAt: string;
|
|
2770
|
+
price: string;
|
|
2771
|
+
images: string[];
|
|
2772
|
+
sku: string | null;
|
|
2773
|
+
calculatedPrice: string | null;
|
|
2774
|
+
stock: number | null;
|
|
2775
|
+
depth: number | null;
|
|
2776
|
+
width: number | null;
|
|
2777
|
+
height: number | null;
|
|
2778
|
+
weight: number | null;
|
|
2779
|
+
digital: string[] | null;
|
|
2780
|
+
shippable: boolean;
|
|
2781
|
+
externalId: string | null;
|
|
2782
|
+
productId: string;
|
|
2783
|
+
attributes: unknown;
|
|
2784
|
+
originalPrice: string;
|
|
2785
|
+
combinations: {
|
|
2786
|
+
createdAt: string;
|
|
2787
|
+
updatedAt: string;
|
|
2788
|
+
productVariantId: string;
|
|
2789
|
+
variantValueId: string;
|
|
2790
|
+
variantValue: {
|
|
2791
|
+
id: string;
|
|
2792
|
+
value: string;
|
|
2793
|
+
variantType: {
|
|
2794
|
+
id: string;
|
|
2795
|
+
label: string;
|
|
2796
|
+
};
|
|
2797
|
+
};
|
|
2798
|
+
}[];
|
|
2799
|
+
}) & {
|
|
2800
|
+
id: string;
|
|
2801
|
+
price: string;
|
|
2802
|
+
} & {
|
|
2803
|
+
prePromotionPrice: undefined;
|
|
2804
|
+
price: string;
|
|
2805
|
+
}) | (({
|
|
2806
|
+
price: string;
|
|
2807
|
+
preVolumePricingPrice: string;
|
|
2808
|
+
storeId: string | null;
|
|
2809
|
+
product: {
|
|
2810
|
+
bundleProducts: {
|
|
2811
|
+
variant: {
|
|
2812
|
+
storeId: string | null;
|
|
2813
|
+
product: {
|
|
2814
|
+
productTaxRate: {
|
|
2815
|
+
taxRate: {
|
|
2816
|
+
rate: string;
|
|
2817
|
+
};
|
|
2818
|
+
} | null;
|
|
2819
|
+
id: string;
|
|
2820
|
+
name: string;
|
|
2821
|
+
slug: string;
|
|
2822
|
+
images: string[];
|
|
2823
|
+
};
|
|
2824
|
+
id: string;
|
|
2825
|
+
createdAt: string;
|
|
2826
|
+
updatedAt: string;
|
|
2827
|
+
price: string;
|
|
2828
|
+
images: string[];
|
|
2829
|
+
sku: string | null;
|
|
2830
|
+
calculatedPrice: string | null;
|
|
2831
|
+
stock: number | null;
|
|
2832
|
+
depth: number | null;
|
|
2833
|
+
width: number | null;
|
|
2834
|
+
height: number | null;
|
|
2835
|
+
weight: number | null;
|
|
2836
|
+
digital: string[] | null;
|
|
2837
|
+
shippable: boolean;
|
|
2838
|
+
externalId: string | null;
|
|
2839
|
+
productId: string;
|
|
2840
|
+
attributes: unknown;
|
|
2841
|
+
originalPrice: string;
|
|
2842
|
+
};
|
|
2843
|
+
createdAt: string;
|
|
2844
|
+
updatedAt: string;
|
|
2845
|
+
position: number;
|
|
2846
|
+
bundleId: string;
|
|
2847
|
+
quantity: number;
|
|
2848
|
+
variantId: string;
|
|
2849
|
+
}[];
|
|
2850
|
+
id: string;
|
|
2851
|
+
name: string;
|
|
2852
|
+
createdAt: string;
|
|
2853
|
+
updatedAt: string;
|
|
2854
|
+
type: "product" | "bundle" | "set";
|
|
2855
|
+
slug: string;
|
|
2856
|
+
status: "published" | "draft" | "hidden" | null;
|
|
2857
|
+
flags: unknown;
|
|
2858
|
+
storeId: string;
|
|
2859
|
+
summary: string | null;
|
|
2860
|
+
images: string[];
|
|
2861
|
+
badge: unknown;
|
|
2862
|
+
bundleDiscountPercentage: string | null;
|
|
2863
|
+
seo: {
|
|
2864
|
+
title?: string | null | undefined;
|
|
2865
|
+
description?: string | null | undefined;
|
|
2866
|
+
canonical?: string | null | undefined;
|
|
2867
|
+
} | null;
|
|
2868
|
+
stripeTaxCode: string | null;
|
|
2869
|
+
categoryId: string | null;
|
|
2870
|
+
productTaxRate: {
|
|
2871
|
+
createdAt: string;
|
|
2872
|
+
updatedAt: string;
|
|
2873
|
+
taxRateId: string;
|
|
2874
|
+
productId: string;
|
|
2875
|
+
taxRate: {
|
|
2876
|
+
id: string;
|
|
2877
|
+
name: string;
|
|
2878
|
+
createdAt: string;
|
|
2879
|
+
updatedAt: string;
|
|
2880
|
+
storeId: string;
|
|
2881
|
+
rate: string;
|
|
2882
|
+
};
|
|
2883
|
+
} | null;
|
|
2884
|
+
productCollections: {
|
|
2885
|
+
position: string | null;
|
|
2886
|
+
productId: string;
|
|
2887
|
+
collectionId: string;
|
|
2888
|
+
collection: {
|
|
2889
|
+
id: string;
|
|
2890
|
+
name: string;
|
|
2891
|
+
image: string | null;
|
|
2892
|
+
createdAt: string;
|
|
2893
|
+
updatedAt: string;
|
|
2894
|
+
slug: string;
|
|
2895
|
+
active: boolean;
|
|
2896
|
+
filter: {
|
|
2897
|
+
type: "manual";
|
|
2898
|
+
} | {
|
|
2899
|
+
type: "dynamicPrice";
|
|
2900
|
+
min?: number | null | undefined;
|
|
2901
|
+
max?: number | null | undefined;
|
|
2902
|
+
};
|
|
2903
|
+
storeId: string;
|
|
2904
|
+
description: JSONContent | null;
|
|
2905
|
+
};
|
|
2906
|
+
}[];
|
|
2907
|
+
setProduct: {
|
|
2908
|
+
selectionCount: number;
|
|
2909
|
+
allowDuplicates: boolean;
|
|
2910
|
+
discountPercentage: string;
|
|
2911
|
+
} | null;
|
|
2912
|
+
};
|
|
2913
|
+
id: string;
|
|
2914
|
+
createdAt: string;
|
|
2915
|
+
updatedAt: string;
|
|
2916
|
+
images: string[];
|
|
2917
|
+
sku: string | null;
|
|
2918
|
+
calculatedPrice: string | null;
|
|
2919
|
+
stock: number | null;
|
|
2920
|
+
depth: number | null;
|
|
2921
|
+
width: number | null;
|
|
2922
|
+
height: number | null;
|
|
2923
|
+
weight: number | null;
|
|
2924
|
+
digital: string[] | null;
|
|
2925
|
+
shippable: boolean;
|
|
2926
|
+
externalId: string | null;
|
|
2927
|
+
productId: string;
|
|
2928
|
+
attributes: unknown;
|
|
2929
|
+
originalPrice: string;
|
|
2930
|
+
combinations: {
|
|
2931
|
+
createdAt: string;
|
|
2932
|
+
updatedAt: string;
|
|
2933
|
+
productVariantId: string;
|
|
2934
|
+
variantValueId: string;
|
|
2935
|
+
variantValue: {
|
|
2936
|
+
id: string;
|
|
2937
|
+
value: string;
|
|
2938
|
+
variantType: {
|
|
2939
|
+
id: string;
|
|
2940
|
+
label: string;
|
|
2941
|
+
};
|
|
2942
|
+
};
|
|
2943
|
+
}[];
|
|
2944
|
+
} | {
|
|
2945
|
+
preVolumePricingPrice: string | null;
|
|
2946
|
+
storeId: string | null;
|
|
2947
|
+
product: {
|
|
2948
|
+
bundleProducts: {
|
|
2949
|
+
variant: {
|
|
2950
|
+
storeId: string | null;
|
|
2951
|
+
product: {
|
|
2952
|
+
productTaxRate: {
|
|
2953
|
+
taxRate: {
|
|
2954
|
+
rate: string;
|
|
2955
|
+
};
|
|
2956
|
+
} | null;
|
|
2957
|
+
id: string;
|
|
2958
|
+
name: string;
|
|
2959
|
+
slug: string;
|
|
2960
|
+
images: string[];
|
|
2961
|
+
};
|
|
2962
|
+
id: string;
|
|
2963
|
+
createdAt: string;
|
|
2964
|
+
updatedAt: string;
|
|
2965
|
+
price: string;
|
|
2966
|
+
images: string[];
|
|
2967
|
+
sku: string | null;
|
|
2968
|
+
calculatedPrice: string | null;
|
|
2969
|
+
stock: number | null;
|
|
2970
|
+
depth: number | null;
|
|
2971
|
+
width: number | null;
|
|
2972
|
+
height: number | null;
|
|
2973
|
+
weight: number | null;
|
|
2974
|
+
digital: string[] | null;
|
|
2975
|
+
shippable: boolean;
|
|
2976
|
+
externalId: string | null;
|
|
2977
|
+
productId: string;
|
|
2978
|
+
attributes: unknown;
|
|
2979
|
+
originalPrice: string;
|
|
2980
|
+
};
|
|
2981
|
+
createdAt: string;
|
|
2982
|
+
updatedAt: string;
|
|
2983
|
+
position: number;
|
|
2984
|
+
bundleId: string;
|
|
2985
|
+
quantity: number;
|
|
2986
|
+
variantId: string;
|
|
2987
|
+
}[];
|
|
2988
|
+
id: string;
|
|
2989
|
+
name: string;
|
|
2990
|
+
createdAt: string;
|
|
2991
|
+
updatedAt: string;
|
|
2992
|
+
type: "product" | "bundle" | "set";
|
|
2993
|
+
slug: string;
|
|
2994
|
+
status: "published" | "draft" | "hidden" | null;
|
|
2995
|
+
flags: unknown;
|
|
2996
|
+
storeId: string;
|
|
2997
|
+
summary: string | null;
|
|
2998
|
+
images: string[];
|
|
2999
|
+
badge: unknown;
|
|
3000
|
+
bundleDiscountPercentage: string | null;
|
|
3001
|
+
seo: {
|
|
3002
|
+
title?: string | null | undefined;
|
|
3003
|
+
description?: string | null | undefined;
|
|
3004
|
+
canonical?: string | null | undefined;
|
|
3005
|
+
} | null;
|
|
3006
|
+
stripeTaxCode: string | null;
|
|
3007
|
+
categoryId: string | null;
|
|
3008
|
+
productTaxRate: {
|
|
3009
|
+
createdAt: string;
|
|
3010
|
+
updatedAt: string;
|
|
3011
|
+
taxRateId: string;
|
|
3012
|
+
productId: string;
|
|
3013
|
+
taxRate: {
|
|
3014
|
+
id: string;
|
|
3015
|
+
name: string;
|
|
3016
|
+
createdAt: string;
|
|
3017
|
+
updatedAt: string;
|
|
3018
|
+
storeId: string;
|
|
3019
|
+
rate: string;
|
|
3020
|
+
};
|
|
3021
|
+
} | null;
|
|
3022
|
+
productCollections: {
|
|
3023
|
+
position: string | null;
|
|
3024
|
+
productId: string;
|
|
3025
|
+
collectionId: string;
|
|
3026
|
+
collection: {
|
|
3027
|
+
id: string;
|
|
3028
|
+
name: string;
|
|
3029
|
+
image: string | null;
|
|
3030
|
+
createdAt: string;
|
|
3031
|
+
updatedAt: string;
|
|
3032
|
+
slug: string;
|
|
3033
|
+
active: boolean;
|
|
3034
|
+
filter: {
|
|
3035
|
+
type: "manual";
|
|
3036
|
+
} | {
|
|
3037
|
+
type: "dynamicPrice";
|
|
3038
|
+
min?: number | null | undefined;
|
|
3039
|
+
max?: number | null | undefined;
|
|
3040
|
+
};
|
|
3041
|
+
storeId: string;
|
|
3042
|
+
description: JSONContent | null;
|
|
3043
|
+
};
|
|
3044
|
+
}[];
|
|
3045
|
+
setProduct: {
|
|
3046
|
+
selectionCount: number;
|
|
3047
|
+
allowDuplicates: boolean;
|
|
3048
|
+
discountPercentage: string;
|
|
3049
|
+
} | null;
|
|
3050
|
+
};
|
|
3051
|
+
id: string;
|
|
3052
|
+
createdAt: string;
|
|
3053
|
+
updatedAt: string;
|
|
3054
|
+
price: string;
|
|
3055
|
+
images: string[];
|
|
3056
|
+
sku: string | null;
|
|
3057
|
+
calculatedPrice: string | null;
|
|
3058
|
+
stock: number | null;
|
|
3059
|
+
depth: number | null;
|
|
3060
|
+
width: number | null;
|
|
3061
|
+
height: number | null;
|
|
3062
|
+
weight: number | null;
|
|
3063
|
+
digital: string[] | null;
|
|
3064
|
+
shippable: boolean;
|
|
3065
|
+
externalId: string | null;
|
|
3066
|
+
productId: string;
|
|
3067
|
+
attributes: unknown;
|
|
3068
|
+
originalPrice: string;
|
|
3069
|
+
combinations: {
|
|
3070
|
+
createdAt: string;
|
|
3071
|
+
updatedAt: string;
|
|
3072
|
+
productVariantId: string;
|
|
3073
|
+
variantValueId: string;
|
|
3074
|
+
variantValue: {
|
|
3075
|
+
id: string;
|
|
3076
|
+
value: string;
|
|
3077
|
+
variantType: {
|
|
3078
|
+
id: string;
|
|
3079
|
+
label: string;
|
|
3080
|
+
};
|
|
3081
|
+
};
|
|
3082
|
+
}[];
|
|
3083
|
+
}) & {
|
|
3084
|
+
id: string;
|
|
3085
|
+
price: string;
|
|
3086
|
+
} & {
|
|
3087
|
+
prePromotionPrice: string | null;
|
|
3088
|
+
});
|
|
3089
|
+
preVolumePricingPrice: string | null;
|
|
3090
|
+
setSelections: {
|
|
3091
|
+
selectedVariant: {
|
|
3092
|
+
combinations: {
|
|
3093
|
+
createdAt: string;
|
|
3094
|
+
updatedAt: string;
|
|
3095
|
+
productVariantId: string;
|
|
3096
|
+
variantValueId: string;
|
|
3097
|
+
variantValue: {
|
|
3098
|
+
id: string;
|
|
3099
|
+
value: string;
|
|
3100
|
+
variantType: {
|
|
3101
|
+
id: string;
|
|
3102
|
+
label: string;
|
|
3103
|
+
};
|
|
3104
|
+
};
|
|
3105
|
+
}[];
|
|
3106
|
+
id: string;
|
|
3107
|
+
price: string;
|
|
3108
|
+
product: {
|
|
3109
|
+
id: string;
|
|
3110
|
+
name: string;
|
|
3111
|
+
};
|
|
3112
|
+
};
|
|
3113
|
+
id: string;
|
|
3114
|
+
createdAt: string;
|
|
3115
|
+
updatedAt: string;
|
|
3116
|
+
position: number;
|
|
3117
|
+
quantity: number;
|
|
3118
|
+
lineItemId: string;
|
|
3119
|
+
selectedVariantId: string;
|
|
3120
|
+
}[];
|
|
3121
|
+
id: string;
|
|
3122
|
+
createdAt: string;
|
|
3123
|
+
updatedAt: string;
|
|
3124
|
+
cartId: string;
|
|
3125
|
+
quantity: number;
|
|
3126
|
+
productVariantId: string;
|
|
3127
|
+
subscriptionPlanId: string | null;
|
|
3128
|
+
subscriptionPlan: {
|
|
3129
|
+
id: string;
|
|
3130
|
+
name: string;
|
|
3131
|
+
createdAt: string;
|
|
3132
|
+
updatedAt: string;
|
|
3133
|
+
interval: number;
|
|
3134
|
+
active: boolean;
|
|
3135
|
+
storeId: string;
|
|
3136
|
+
description: string | null;
|
|
3137
|
+
position: number;
|
|
3138
|
+
cadence: "month" | "week";
|
|
3139
|
+
discountPercent: number;
|
|
3140
|
+
benefits: string | null;
|
|
3141
|
+
} | null;
|
|
3142
|
+
}[];
|
|
3143
|
+
id: string;
|
|
3144
|
+
createdAt: string;
|
|
3145
|
+
updatedAt: string;
|
|
3146
|
+
storeId: string;
|
|
3147
|
+
addonData: Record<string, unknown> | null | undefined;
|
|
3148
|
+
couponId: string | null;
|
|
3149
|
+
customerId: string | null;
|
|
3150
|
+
stripePaymentIntentId: string | null;
|
|
3151
|
+
checkoutSessionId: string | null;
|
|
3152
|
+
shippingId: string | null;
|
|
3153
|
+
shippingAddressId: string | null;
|
|
3154
|
+
billingAddressId: string | null;
|
|
3155
|
+
deliverySlot: unknown;
|
|
3156
|
+
ucpSessionStatus: "incomplete" | "ready_for_complete" | "requires_escalation" | "complete_in_progress" | "completed" | "canceled" | null;
|
|
3157
|
+
ucpMetadata: {
|
|
3158
|
+
buyerEmail?: string;
|
|
3159
|
+
buyerName?: string;
|
|
3160
|
+
buyerPhone?: string;
|
|
3161
|
+
agentId?: string;
|
|
3162
|
+
externalReference?: string;
|
|
3163
|
+
escalationReason?: string;
|
|
3164
|
+
} | null;
|
|
3165
|
+
acpSessionStatus: "completed" | "canceled" | "not_ready_for_payment" | "ready_for_payment" | null;
|
|
3166
|
+
acpMetadata: {
|
|
3167
|
+
buyerEmail?: string;
|
|
3168
|
+
buyerName?: string;
|
|
3169
|
+
buyerPhone?: string;
|
|
3170
|
+
agentId?: string;
|
|
3171
|
+
externalReference?: string;
|
|
3172
|
+
idempotencyKey?: string;
|
|
3173
|
+
} | null;
|
|
3174
|
+
shipping: {
|
|
3175
|
+
id: string;
|
|
3176
|
+
name: string;
|
|
3177
|
+
createdAt: string;
|
|
3178
|
+
updatedAt: string;
|
|
3179
|
+
type: "courier" | "parcel" | "pickup_point" | "in_store";
|
|
3180
|
+
storeId: string;
|
|
3181
|
+
description: string | null;
|
|
3182
|
+
price: string;
|
|
3183
|
+
minShippingTime: number | null;
|
|
3184
|
+
maxShippingTime: number | null;
|
|
3185
|
+
freeShippingThreshold: string | null;
|
|
3186
|
+
position: number | null;
|
|
3187
|
+
addonId: string | null;
|
|
3188
|
+
addonData: unknown;
|
|
3189
|
+
deliverySlots: unknown;
|
|
3190
|
+
countries: string[] | null;
|
|
3191
|
+
shippingAddon: {
|
|
3192
|
+
id: string;
|
|
3193
|
+
name: string;
|
|
3194
|
+
createdAt: string;
|
|
3195
|
+
updatedAt: string;
|
|
3196
|
+
type: "shipping" | "analytics" | "products" | "invoicing" | "orders";
|
|
3197
|
+
storeId: string;
|
|
3198
|
+
} | null;
|
|
3199
|
+
shippingTaxRate: {
|
|
3200
|
+
createdAt: string;
|
|
3201
|
+
updatedAt: string;
|
|
3202
|
+
shippingId: string;
|
|
3203
|
+
taxRateId: string;
|
|
3204
|
+
taxRate: {
|
|
3205
|
+
id: string;
|
|
3206
|
+
name: string;
|
|
3207
|
+
createdAt: string;
|
|
3208
|
+
updatedAt: string;
|
|
3209
|
+
storeId: string;
|
|
3210
|
+
rate: string;
|
|
3211
|
+
};
|
|
3212
|
+
} | null;
|
|
3213
|
+
} | null;
|
|
3214
|
+
coupon: {
|
|
3215
|
+
type: "fixed" | "percentage";
|
|
3216
|
+
value: string;
|
|
3217
|
+
code: string;
|
|
3218
|
+
startDate: string | null;
|
|
3219
|
+
endDate: string | null;
|
|
3220
|
+
minProductCount: number | null;
|
|
3221
|
+
maxProductCount: number | null;
|
|
3222
|
+
products: {
|
|
3223
|
+
id: string;
|
|
3224
|
+
}[];
|
|
3225
|
+
} | null;
|
|
3226
|
+
billingAddress: {
|
|
3227
|
+
id: string;
|
|
3228
|
+
name: string | null;
|
|
3229
|
+
createdAt: string;
|
|
3230
|
+
updatedAt: string;
|
|
3231
|
+
type: "shipping" | "billing" | "merchant";
|
|
3232
|
+
company: string | null;
|
|
3233
|
+
city: string | null;
|
|
3234
|
+
country: string | null;
|
|
3235
|
+
line1: string | null;
|
|
3236
|
+
line2: string | null;
|
|
3237
|
+
postalCode: string | null;
|
|
3238
|
+
state: string | null;
|
|
3239
|
+
phone: string | null;
|
|
3240
|
+
taxId: string | null;
|
|
3241
|
+
} | null;
|
|
3242
|
+
shippingAddress: {
|
|
3243
|
+
id: string;
|
|
3244
|
+
name: string | null;
|
|
3245
|
+
createdAt: string;
|
|
3246
|
+
updatedAt: string;
|
|
3247
|
+
type: "shipping" | "billing" | "merchant";
|
|
3248
|
+
company: string | null;
|
|
3249
|
+
city: string | null;
|
|
3250
|
+
country: string | null;
|
|
3251
|
+
line1: string | null;
|
|
3252
|
+
line2: string | null;
|
|
3253
|
+
postalCode: string | null;
|
|
3254
|
+
state: string | null;
|
|
3255
|
+
phone: string | null;
|
|
3256
|
+
taxId: string | null;
|
|
3257
|
+
} | null;
|
|
3258
|
+
customer: {
|
|
3259
|
+
id: string;
|
|
3260
|
+
email: string | null;
|
|
3261
|
+
createdAt: string;
|
|
3262
|
+
updatedAt: string;
|
|
3263
|
+
userId: string | null;
|
|
3264
|
+
storeId: string;
|
|
3265
|
+
couponId: string | null;
|
|
3266
|
+
user: {
|
|
3267
|
+
id: string;
|
|
3268
|
+
name: string;
|
|
3269
|
+
email: string;
|
|
3270
|
+
} | null;
|
|
3271
|
+
coupon: {
|
|
3272
|
+
type: "fixed" | "percentage";
|
|
3273
|
+
value: string;
|
|
3274
|
+
code: string;
|
|
3275
|
+
startDate: string | null;
|
|
3276
|
+
endDate: string | null;
|
|
3277
|
+
minProductCount: number | null;
|
|
3278
|
+
maxProductCount: number | null;
|
|
3279
|
+
products: {
|
|
3280
|
+
id: string;
|
|
3281
|
+
}[];
|
|
3282
|
+
} | null;
|
|
3283
|
+
} | null;
|
|
3284
|
+
} | null | undefined;
|
|
3285
|
+
type APICartAddBody = unknown;
|
|
3286
|
+
type APICartAddResult = unknown;
|
|
3287
|
+
type APICartCreateBody = {
|
|
3288
|
+
variantId: string;
|
|
3289
|
+
quantity: number;
|
|
3290
|
+
cartId?: string | undefined;
|
|
3291
|
+
subscriptionPlanId?: string | null | undefined;
|
|
3292
|
+
};
|
|
3293
|
+
type APICartCreateResult = {
|
|
3294
|
+
lineItems: {
|
|
3295
|
+
productVariant: (({
|
|
3296
|
+
price: string;
|
|
3297
|
+
preVolumePricingPrice: string;
|
|
3298
|
+
storeId: string | null;
|
|
3299
|
+
product: {
|
|
3300
|
+
bundleProducts: {
|
|
3301
|
+
variant: {
|
|
3302
|
+
storeId: string | null;
|
|
3303
|
+
product: {
|
|
3304
|
+
productTaxRate: {
|
|
3305
|
+
taxRate: {
|
|
3306
|
+
rate: string;
|
|
3307
|
+
};
|
|
3308
|
+
} | null;
|
|
3309
|
+
id: string;
|
|
3310
|
+
name: string;
|
|
3311
|
+
slug: string;
|
|
3312
|
+
images: string[];
|
|
3313
|
+
};
|
|
3314
|
+
id: string;
|
|
3315
|
+
createdAt: string;
|
|
3316
|
+
updatedAt: string;
|
|
3317
|
+
price: string;
|
|
3318
|
+
images: string[];
|
|
3319
|
+
sku: string | null;
|
|
3320
|
+
calculatedPrice: string | null;
|
|
3321
|
+
stock: number | null;
|
|
3322
|
+
depth: number | null;
|
|
3323
|
+
width: number | null;
|
|
3324
|
+
height: number | null;
|
|
3325
|
+
weight: number | null;
|
|
3326
|
+
digital: string[] | null;
|
|
3327
|
+
shippable: boolean;
|
|
3328
|
+
externalId: string | null;
|
|
3329
|
+
productId: string;
|
|
3330
|
+
attributes: unknown;
|
|
3331
|
+
originalPrice: string;
|
|
3332
|
+
};
|
|
3333
|
+
createdAt: string;
|
|
3334
|
+
updatedAt: string;
|
|
3335
|
+
position: number;
|
|
3336
|
+
bundleId: string;
|
|
3337
|
+
quantity: number;
|
|
3338
|
+
variantId: string;
|
|
3339
|
+
}[];
|
|
3340
|
+
id: string;
|
|
3341
|
+
name: string;
|
|
3342
|
+
createdAt: string;
|
|
3343
|
+
updatedAt: string;
|
|
3344
|
+
type: "product" | "bundle" | "set";
|
|
3345
|
+
slug: string;
|
|
3346
|
+
status: "published" | "draft" | "hidden" | null;
|
|
3347
|
+
flags: unknown;
|
|
3348
|
+
storeId: string;
|
|
3349
|
+
summary: string | null;
|
|
3350
|
+
images: string[];
|
|
3351
|
+
badge: unknown;
|
|
3352
|
+
bundleDiscountPercentage: string | null;
|
|
3353
|
+
seo: {
|
|
3354
|
+
title?: string | null | undefined;
|
|
3355
|
+
description?: string | null | undefined;
|
|
3356
|
+
canonical?: string | null | undefined;
|
|
3357
|
+
} | null;
|
|
3358
|
+
stripeTaxCode: string | null;
|
|
3359
|
+
categoryId: string | null;
|
|
3360
|
+
productTaxRate: {
|
|
3361
|
+
createdAt: string;
|
|
3362
|
+
updatedAt: string;
|
|
3363
|
+
taxRateId: string;
|
|
3364
|
+
productId: string;
|
|
3365
|
+
taxRate: {
|
|
3366
|
+
id: string;
|
|
3367
|
+
name: string;
|
|
3368
|
+
createdAt: string;
|
|
3369
|
+
updatedAt: string;
|
|
3370
|
+
storeId: string;
|
|
3371
|
+
rate: string;
|
|
3372
|
+
};
|
|
3373
|
+
} | null;
|
|
3374
|
+
productCollections: {
|
|
3375
|
+
position: string | null;
|
|
3376
|
+
productId: string;
|
|
3377
|
+
collectionId: string;
|
|
3378
|
+
collection: {
|
|
3379
|
+
id: string;
|
|
3380
|
+
name: string;
|
|
3381
|
+
image: string | null;
|
|
3382
|
+
createdAt: string;
|
|
3383
|
+
updatedAt: string;
|
|
3384
|
+
slug: string;
|
|
3385
|
+
active: boolean;
|
|
3386
|
+
filter: {
|
|
3387
|
+
type: "manual";
|
|
3388
|
+
} | {
|
|
3389
|
+
type: "dynamicPrice";
|
|
3390
|
+
min?: number | null | undefined;
|
|
3391
|
+
max?: number | null | undefined;
|
|
3392
|
+
};
|
|
3393
|
+
storeId: string;
|
|
3394
|
+
description: JSONContent | null;
|
|
3395
|
+
};
|
|
3396
|
+
}[];
|
|
3397
|
+
setProduct: {
|
|
3398
|
+
selectionCount: number;
|
|
3399
|
+
allowDuplicates: boolean;
|
|
3400
|
+
discountPercentage: string;
|
|
3401
|
+
} | null;
|
|
3402
|
+
};
|
|
3403
|
+
id: string;
|
|
3404
|
+
createdAt: string;
|
|
3405
|
+
updatedAt: string;
|
|
3406
|
+
images: string[];
|
|
3407
|
+
sku: string | null;
|
|
3408
|
+
calculatedPrice: string | null;
|
|
3409
|
+
stock: number | null;
|
|
3410
|
+
depth: number | null;
|
|
3411
|
+
width: number | null;
|
|
3412
|
+
height: number | null;
|
|
3413
|
+
weight: number | null;
|
|
3414
|
+
digital: string[] | null;
|
|
3415
|
+
shippable: boolean;
|
|
3416
|
+
externalId: string | null;
|
|
3417
|
+
productId: string;
|
|
3418
|
+
attributes: unknown;
|
|
3419
|
+
originalPrice: string;
|
|
3420
|
+
combinations: {
|
|
3421
|
+
createdAt: string;
|
|
3422
|
+
updatedAt: string;
|
|
3423
|
+
productVariantId: string;
|
|
3424
|
+
variantValueId: string;
|
|
3425
|
+
variantValue: {
|
|
3426
|
+
id: string;
|
|
3427
|
+
value: string;
|
|
3428
|
+
variantType: {
|
|
3429
|
+
id: string;
|
|
3430
|
+
label: string;
|
|
3431
|
+
};
|
|
3432
|
+
};
|
|
3433
|
+
}[];
|
|
3434
|
+
} | {
|
|
3435
|
+
preVolumePricingPrice: string | null;
|
|
3436
|
+
storeId: string | null;
|
|
3437
|
+
product: {
|
|
3438
|
+
bundleProducts: {
|
|
3439
|
+
variant: {
|
|
3440
|
+
storeId: string | null;
|
|
3441
|
+
product: {
|
|
3442
|
+
productTaxRate: {
|
|
3443
|
+
taxRate: {
|
|
3444
|
+
rate: string;
|
|
3445
|
+
};
|
|
3446
|
+
} | null;
|
|
3447
|
+
id: string;
|
|
3448
|
+
name: string;
|
|
3449
|
+
slug: string;
|
|
3450
|
+
images: string[];
|
|
3451
|
+
};
|
|
3452
|
+
id: string;
|
|
3453
|
+
createdAt: string;
|
|
3454
|
+
updatedAt: string;
|
|
3455
|
+
price: string;
|
|
3456
|
+
images: string[];
|
|
3457
|
+
sku: string | null;
|
|
3458
|
+
calculatedPrice: string | null;
|
|
3459
|
+
stock: number | null;
|
|
3460
|
+
depth: number | null;
|
|
3461
|
+
width: number | null;
|
|
3462
|
+
height: number | null;
|
|
3463
|
+
weight: number | null;
|
|
3464
|
+
digital: string[] | null;
|
|
3465
|
+
shippable: boolean;
|
|
3466
|
+
externalId: string | null;
|
|
3467
|
+
productId: string;
|
|
3468
|
+
attributes: unknown;
|
|
3469
|
+
originalPrice: string;
|
|
3470
|
+
};
|
|
3471
|
+
createdAt: string;
|
|
3472
|
+
updatedAt: string;
|
|
3473
|
+
position: number;
|
|
3474
|
+
bundleId: string;
|
|
3475
|
+
quantity: number;
|
|
3476
|
+
variantId: string;
|
|
3477
|
+
}[];
|
|
3478
|
+
id: string;
|
|
3479
|
+
name: string;
|
|
3480
|
+
createdAt: string;
|
|
3481
|
+
updatedAt: string;
|
|
3482
|
+
type: "product" | "bundle" | "set";
|
|
3483
|
+
slug: string;
|
|
3484
|
+
status: "published" | "draft" | "hidden" | null;
|
|
3485
|
+
flags: unknown;
|
|
3486
|
+
storeId: string;
|
|
3487
|
+
summary: string | null;
|
|
3488
|
+
images: string[];
|
|
3489
|
+
badge: unknown;
|
|
3490
|
+
bundleDiscountPercentage: string | null;
|
|
3491
|
+
seo: {
|
|
3492
|
+
title?: string | null | undefined;
|
|
3493
|
+
description?: string | null | undefined;
|
|
3494
|
+
canonical?: string | null | undefined;
|
|
3495
|
+
} | null;
|
|
3496
|
+
stripeTaxCode: string | null;
|
|
3497
|
+
categoryId: string | null;
|
|
3498
|
+
productTaxRate: {
|
|
3499
|
+
createdAt: string;
|
|
3500
|
+
updatedAt: string;
|
|
3501
|
+
taxRateId: string;
|
|
3502
|
+
productId: string;
|
|
3503
|
+
taxRate: {
|
|
3504
|
+
id: string;
|
|
3505
|
+
name: string;
|
|
3506
|
+
createdAt: string;
|
|
3507
|
+
updatedAt: string;
|
|
3508
|
+
storeId: string;
|
|
3509
|
+
rate: string;
|
|
3510
|
+
};
|
|
3511
|
+
} | null;
|
|
3512
|
+
productCollections: {
|
|
3513
|
+
position: string | null;
|
|
3514
|
+
productId: string;
|
|
3515
|
+
collectionId: string;
|
|
3516
|
+
collection: {
|
|
3517
|
+
id: string;
|
|
3518
|
+
name: string;
|
|
3519
|
+
image: string | null;
|
|
3520
|
+
createdAt: string;
|
|
3521
|
+
updatedAt: string;
|
|
3522
|
+
slug: string;
|
|
3523
|
+
active: boolean;
|
|
3524
|
+
filter: {
|
|
3525
|
+
type: "manual";
|
|
3526
|
+
} | {
|
|
3527
|
+
type: "dynamicPrice";
|
|
3528
|
+
min?: number | null | undefined;
|
|
3529
|
+
max?: number | null | undefined;
|
|
3530
|
+
};
|
|
3531
|
+
storeId: string;
|
|
3532
|
+
description: JSONContent | null;
|
|
3533
|
+
};
|
|
3534
|
+
}[];
|
|
3535
|
+
setProduct: {
|
|
3536
|
+
selectionCount: number;
|
|
3537
|
+
allowDuplicates: boolean;
|
|
3538
|
+
discountPercentage: string;
|
|
3539
|
+
} | null;
|
|
3540
|
+
};
|
|
3541
|
+
id: string;
|
|
3542
|
+
createdAt: string;
|
|
3543
|
+
updatedAt: string;
|
|
3544
|
+
price: string;
|
|
3545
|
+
images: string[];
|
|
3546
|
+
sku: string | null;
|
|
3547
|
+
calculatedPrice: string | null;
|
|
3548
|
+
stock: number | null;
|
|
3549
|
+
depth: number | null;
|
|
3550
|
+
width: number | null;
|
|
3551
|
+
height: number | null;
|
|
3552
|
+
weight: number | null;
|
|
3553
|
+
digital: string[] | null;
|
|
3554
|
+
shippable: boolean;
|
|
3555
|
+
externalId: string | null;
|
|
3556
|
+
productId: string;
|
|
3557
|
+
attributes: unknown;
|
|
3558
|
+
originalPrice: string;
|
|
3559
|
+
combinations: {
|
|
3560
|
+
createdAt: string;
|
|
3561
|
+
updatedAt: string;
|
|
3562
|
+
productVariantId: string;
|
|
3563
|
+
variantValueId: string;
|
|
3564
|
+
variantValue: {
|
|
3565
|
+
id: string;
|
|
3566
|
+
value: string;
|
|
3567
|
+
variantType: {
|
|
3568
|
+
id: string;
|
|
3569
|
+
label: string;
|
|
3570
|
+
};
|
|
3571
|
+
};
|
|
3572
|
+
}[];
|
|
3573
|
+
}) & {
|
|
3574
|
+
id: string;
|
|
3575
|
+
price: string;
|
|
3576
|
+
} & {
|
|
3577
|
+
prePromotionPrice: undefined;
|
|
3578
|
+
}) | (({
|
|
3579
|
+
price: string;
|
|
3580
|
+
preVolumePricingPrice: string;
|
|
3581
|
+
storeId: string | null;
|
|
3582
|
+
product: {
|
|
3583
|
+
bundleProducts: {
|
|
3584
|
+
variant: {
|
|
3585
|
+
storeId: string | null;
|
|
3586
|
+
product: {
|
|
3587
|
+
productTaxRate: {
|
|
3588
|
+
taxRate: {
|
|
3589
|
+
rate: string;
|
|
3590
|
+
};
|
|
3591
|
+
} | null;
|
|
3592
|
+
id: string;
|
|
3593
|
+
name: string;
|
|
3594
|
+
slug: string;
|
|
3595
|
+
images: string[];
|
|
3596
|
+
};
|
|
3597
|
+
id: string;
|
|
3598
|
+
createdAt: string;
|
|
3599
|
+
updatedAt: string;
|
|
3600
|
+
price: string;
|
|
3601
|
+
images: string[];
|
|
3602
|
+
sku: string | null;
|
|
3603
|
+
calculatedPrice: string | null;
|
|
3604
|
+
stock: number | null;
|
|
3605
|
+
depth: number | null;
|
|
3606
|
+
width: number | null;
|
|
3607
|
+
height: number | null;
|
|
3608
|
+
weight: number | null;
|
|
3609
|
+
digital: string[] | null;
|
|
3610
|
+
shippable: boolean;
|
|
3611
|
+
externalId: string | null;
|
|
3612
|
+
productId: string;
|
|
3613
|
+
attributes: unknown;
|
|
3614
|
+
originalPrice: string;
|
|
3615
|
+
};
|
|
3616
|
+
createdAt: string;
|
|
3617
|
+
updatedAt: string;
|
|
3618
|
+
position: number;
|
|
3619
|
+
bundleId: string;
|
|
3620
|
+
quantity: number;
|
|
3621
|
+
variantId: string;
|
|
3622
|
+
}[];
|
|
3623
|
+
id: string;
|
|
3624
|
+
name: string;
|
|
3625
|
+
createdAt: string;
|
|
3626
|
+
updatedAt: string;
|
|
3627
|
+
type: "product" | "bundle" | "set";
|
|
3628
|
+
slug: string;
|
|
3629
|
+
status: "published" | "draft" | "hidden" | null;
|
|
3630
|
+
flags: unknown;
|
|
3631
|
+
storeId: string;
|
|
3632
|
+
summary: string | null;
|
|
3633
|
+
images: string[];
|
|
3634
|
+
badge: unknown;
|
|
3635
|
+
bundleDiscountPercentage: string | null;
|
|
3636
|
+
seo: {
|
|
3637
|
+
title?: string | null | undefined;
|
|
3638
|
+
description?: string | null | undefined;
|
|
3639
|
+
canonical?: string | null | undefined;
|
|
3640
|
+
} | null;
|
|
3641
|
+
stripeTaxCode: string | null;
|
|
3642
|
+
categoryId: string | null;
|
|
3643
|
+
productTaxRate: {
|
|
3644
|
+
createdAt: string;
|
|
3645
|
+
updatedAt: string;
|
|
3646
|
+
taxRateId: string;
|
|
3647
|
+
productId: string;
|
|
3648
|
+
taxRate: {
|
|
3649
|
+
id: string;
|
|
3650
|
+
name: string;
|
|
3651
|
+
createdAt: string;
|
|
3652
|
+
updatedAt: string;
|
|
3653
|
+
storeId: string;
|
|
3654
|
+
rate: string;
|
|
3655
|
+
};
|
|
3656
|
+
} | null;
|
|
3657
|
+
productCollections: {
|
|
3658
|
+
position: string | null;
|
|
3659
|
+
productId: string;
|
|
3660
|
+
collectionId: string;
|
|
3661
|
+
collection: {
|
|
3662
|
+
id: string;
|
|
3663
|
+
name: string;
|
|
3664
|
+
image: string | null;
|
|
3665
|
+
createdAt: string;
|
|
3666
|
+
updatedAt: string;
|
|
3667
|
+
slug: string;
|
|
3668
|
+
active: boolean;
|
|
3669
|
+
filter: {
|
|
3670
|
+
type: "manual";
|
|
3671
|
+
} | {
|
|
3672
|
+
type: "dynamicPrice";
|
|
3673
|
+
min?: number | null | undefined;
|
|
3674
|
+
max?: number | null | undefined;
|
|
3675
|
+
};
|
|
3676
|
+
storeId: string;
|
|
3677
|
+
description: JSONContent | null;
|
|
3678
|
+
};
|
|
3679
|
+
}[];
|
|
3680
|
+
setProduct: {
|
|
3681
|
+
selectionCount: number;
|
|
3682
|
+
allowDuplicates: boolean;
|
|
3683
|
+
discountPercentage: string;
|
|
3684
|
+
} | null;
|
|
3685
|
+
};
|
|
3686
|
+
id: string;
|
|
3687
|
+
createdAt: string;
|
|
3688
|
+
updatedAt: string;
|
|
3689
|
+
images: string[];
|
|
3690
|
+
sku: string | null;
|
|
3691
|
+
calculatedPrice: string | null;
|
|
3692
|
+
stock: number | null;
|
|
3693
|
+
depth: number | null;
|
|
3694
|
+
width: number | null;
|
|
3695
|
+
height: number | null;
|
|
3696
|
+
weight: number | null;
|
|
3697
|
+
digital: string[] | null;
|
|
3698
|
+
shippable: boolean;
|
|
3699
|
+
externalId: string | null;
|
|
3700
|
+
productId: string;
|
|
3701
|
+
attributes: unknown;
|
|
3702
|
+
originalPrice: string;
|
|
3703
|
+
combinations: {
|
|
3704
|
+
createdAt: string;
|
|
3705
|
+
updatedAt: string;
|
|
3706
|
+
productVariantId: string;
|
|
3707
|
+
variantValueId: string;
|
|
3708
|
+
variantValue: {
|
|
3709
|
+
id: string;
|
|
3710
|
+
value: string;
|
|
3711
|
+
variantType: {
|
|
3712
|
+
id: string;
|
|
3713
|
+
label: string;
|
|
3714
|
+
};
|
|
3715
|
+
};
|
|
3716
|
+
}[];
|
|
3717
|
+
} | {
|
|
3718
|
+
preVolumePricingPrice: string | null;
|
|
3719
|
+
storeId: string | null;
|
|
3720
|
+
product: {
|
|
3721
|
+
bundleProducts: {
|
|
3722
|
+
variant: {
|
|
3723
|
+
storeId: string | null;
|
|
3724
|
+
product: {
|
|
3725
|
+
productTaxRate: {
|
|
3726
|
+
taxRate: {
|
|
3727
|
+
rate: string;
|
|
3728
|
+
};
|
|
3729
|
+
} | null;
|
|
3730
|
+
id: string;
|
|
3731
|
+
name: string;
|
|
3732
|
+
slug: string;
|
|
3733
|
+
images: string[];
|
|
3734
|
+
};
|
|
3735
|
+
id: string;
|
|
3736
|
+
createdAt: string;
|
|
3737
|
+
updatedAt: string;
|
|
3738
|
+
price: string;
|
|
3739
|
+
images: string[];
|
|
3740
|
+
sku: string | null;
|
|
3741
|
+
calculatedPrice: string | null;
|
|
3742
|
+
stock: number | null;
|
|
3743
|
+
depth: number | null;
|
|
3744
|
+
width: number | null;
|
|
3745
|
+
height: number | null;
|
|
3746
|
+
weight: number | null;
|
|
3747
|
+
digital: string[] | null;
|
|
3748
|
+
shippable: boolean;
|
|
3749
|
+
externalId: string | null;
|
|
3750
|
+
productId: string;
|
|
3751
|
+
attributes: unknown;
|
|
3752
|
+
originalPrice: string;
|
|
3753
|
+
};
|
|
3754
|
+
createdAt: string;
|
|
3755
|
+
updatedAt: string;
|
|
3756
|
+
position: number;
|
|
3757
|
+
bundleId: string;
|
|
3758
|
+
quantity: number;
|
|
3759
|
+
variantId: string;
|
|
3760
|
+
}[];
|
|
3761
|
+
id: string;
|
|
3762
|
+
name: string;
|
|
3763
|
+
createdAt: string;
|
|
3764
|
+
updatedAt: string;
|
|
3765
|
+
type: "product" | "bundle" | "set";
|
|
3766
|
+
slug: string;
|
|
3767
|
+
status: "published" | "draft" | "hidden" | null;
|
|
3768
|
+
flags: unknown;
|
|
3769
|
+
storeId: string;
|
|
3770
|
+
summary: string | null;
|
|
3771
|
+
images: string[];
|
|
3772
|
+
badge: unknown;
|
|
3773
|
+
bundleDiscountPercentage: string | null;
|
|
3774
|
+
seo: {
|
|
3775
|
+
title?: string | null | undefined;
|
|
3776
|
+
description?: string | null | undefined;
|
|
3777
|
+
canonical?: string | null | undefined;
|
|
3778
|
+
} | null;
|
|
3779
|
+
stripeTaxCode: string | null;
|
|
3780
|
+
categoryId: string | null;
|
|
3781
|
+
productTaxRate: {
|
|
3782
|
+
createdAt: string;
|
|
3783
|
+
updatedAt: string;
|
|
3784
|
+
taxRateId: string;
|
|
3785
|
+
productId: string;
|
|
3786
|
+
taxRate: {
|
|
3787
|
+
id: string;
|
|
3788
|
+
name: string;
|
|
3789
|
+
createdAt: string;
|
|
3790
|
+
updatedAt: string;
|
|
3791
|
+
storeId: string;
|
|
3792
|
+
rate: string;
|
|
3793
|
+
};
|
|
3794
|
+
} | null;
|
|
3795
|
+
productCollections: {
|
|
3796
|
+
position: string | null;
|
|
3797
|
+
productId: string;
|
|
3798
|
+
collectionId: string;
|
|
3799
|
+
collection: {
|
|
3800
|
+
id: string;
|
|
3801
|
+
name: string;
|
|
3802
|
+
image: string | null;
|
|
3803
|
+
createdAt: string;
|
|
3804
|
+
updatedAt: string;
|
|
3805
|
+
slug: string;
|
|
3806
|
+
active: boolean;
|
|
3807
|
+
filter: {
|
|
3808
|
+
type: "manual";
|
|
3809
|
+
} | {
|
|
3810
|
+
type: "dynamicPrice";
|
|
3811
|
+
min?: number | null | undefined;
|
|
3812
|
+
max?: number | null | undefined;
|
|
3813
|
+
};
|
|
3814
|
+
storeId: string;
|
|
3815
|
+
description: JSONContent | null;
|
|
3816
|
+
};
|
|
3817
|
+
}[];
|
|
3818
|
+
setProduct: {
|
|
3819
|
+
selectionCount: number;
|
|
3820
|
+
allowDuplicates: boolean;
|
|
3821
|
+
discountPercentage: string;
|
|
3822
|
+
} | null;
|
|
3823
|
+
};
|
|
3824
|
+
id: string;
|
|
3825
|
+
createdAt: string;
|
|
3826
|
+
updatedAt: string;
|
|
3827
|
+
price: string;
|
|
3828
|
+
images: string[];
|
|
3829
|
+
sku: string | null;
|
|
3830
|
+
calculatedPrice: string | null;
|
|
3831
|
+
stock: number | null;
|
|
3832
|
+
depth: number | null;
|
|
3833
|
+
width: number | null;
|
|
3834
|
+
height: number | null;
|
|
3835
|
+
weight: number | null;
|
|
3836
|
+
digital: string[] | null;
|
|
3837
|
+
shippable: boolean;
|
|
3838
|
+
externalId: string | null;
|
|
3839
|
+
productId: string;
|
|
3840
|
+
attributes: unknown;
|
|
3841
|
+
originalPrice: string;
|
|
3842
|
+
combinations: {
|
|
3843
|
+
createdAt: string;
|
|
3844
|
+
updatedAt: string;
|
|
3845
|
+
productVariantId: string;
|
|
3846
|
+
variantValueId: string;
|
|
3847
|
+
variantValue: {
|
|
3848
|
+
id: string;
|
|
3849
|
+
value: string;
|
|
3850
|
+
variantType: {
|
|
3851
|
+
id: string;
|
|
3852
|
+
label: string;
|
|
3853
|
+
};
|
|
3854
|
+
};
|
|
3855
|
+
}[];
|
|
3856
|
+
}) & {
|
|
3857
|
+
id: string;
|
|
3858
|
+
price: string;
|
|
3859
|
+
} & {
|
|
3860
|
+
prePromotionPrice: undefined;
|
|
3861
|
+
}) | (({
|
|
3862
|
+
price: string;
|
|
3863
|
+
preVolumePricingPrice: string;
|
|
3864
|
+
storeId: string | null;
|
|
3865
|
+
product: {
|
|
3866
|
+
bundleProducts: {
|
|
3867
|
+
variant: {
|
|
3868
|
+
storeId: string | null;
|
|
3869
|
+
product: {
|
|
3870
|
+
productTaxRate: {
|
|
3871
|
+
taxRate: {
|
|
3872
|
+
rate: string;
|
|
3873
|
+
};
|
|
3874
|
+
} | null;
|
|
3875
|
+
id: string;
|
|
3876
|
+
name: string;
|
|
3877
|
+
slug: string;
|
|
3878
|
+
images: string[];
|
|
3879
|
+
};
|
|
3880
|
+
id: string;
|
|
3881
|
+
createdAt: string;
|
|
3882
|
+
updatedAt: string;
|
|
3883
|
+
price: string;
|
|
3884
|
+
images: string[];
|
|
3885
|
+
sku: string | null;
|
|
3886
|
+
calculatedPrice: string | null;
|
|
3887
|
+
stock: number | null;
|
|
3888
|
+
depth: number | null;
|
|
3889
|
+
width: number | null;
|
|
3890
|
+
height: number | null;
|
|
3891
|
+
weight: number | null;
|
|
3892
|
+
digital: string[] | null;
|
|
3893
|
+
shippable: boolean;
|
|
3894
|
+
externalId: string | null;
|
|
3895
|
+
productId: string;
|
|
3896
|
+
attributes: unknown;
|
|
3897
|
+
originalPrice: string;
|
|
3898
|
+
};
|
|
3899
|
+
createdAt: string;
|
|
3900
|
+
updatedAt: string;
|
|
3901
|
+
position: number;
|
|
3902
|
+
bundleId: string;
|
|
3903
|
+
quantity: number;
|
|
3904
|
+
variantId: string;
|
|
3905
|
+
}[];
|
|
3906
|
+
id: string;
|
|
3907
|
+
name: string;
|
|
3908
|
+
createdAt: string;
|
|
3909
|
+
updatedAt: string;
|
|
3910
|
+
type: "product" | "bundle" | "set";
|
|
3911
|
+
slug: string;
|
|
3912
|
+
status: "published" | "draft" | "hidden" | null;
|
|
3913
|
+
flags: unknown;
|
|
3914
|
+
storeId: string;
|
|
3915
|
+
summary: string | null;
|
|
3916
|
+
images: string[];
|
|
3917
|
+
badge: unknown;
|
|
3918
|
+
bundleDiscountPercentage: string | null;
|
|
3919
|
+
seo: {
|
|
3920
|
+
title?: string | null | undefined;
|
|
3921
|
+
description?: string | null | undefined;
|
|
3922
|
+
canonical?: string | null | undefined;
|
|
3923
|
+
} | null;
|
|
3924
|
+
stripeTaxCode: string | null;
|
|
3925
|
+
categoryId: string | null;
|
|
3926
|
+
productTaxRate: {
|
|
3927
|
+
createdAt: string;
|
|
3928
|
+
updatedAt: string;
|
|
3929
|
+
taxRateId: string;
|
|
3930
|
+
productId: string;
|
|
3931
|
+
taxRate: {
|
|
3932
|
+
id: string;
|
|
3933
|
+
name: string;
|
|
3934
|
+
createdAt: string;
|
|
3935
|
+
updatedAt: string;
|
|
3936
|
+
storeId: string;
|
|
3937
|
+
rate: string;
|
|
3938
|
+
};
|
|
3939
|
+
} | null;
|
|
3940
|
+
productCollections: {
|
|
3941
|
+
position: string | null;
|
|
3942
|
+
productId: string;
|
|
3943
|
+
collectionId: string;
|
|
3944
|
+
collection: {
|
|
3945
|
+
id: string;
|
|
3946
|
+
name: string;
|
|
3947
|
+
image: string | null;
|
|
3948
|
+
createdAt: string;
|
|
3949
|
+
updatedAt: string;
|
|
3950
|
+
slug: string;
|
|
3951
|
+
active: boolean;
|
|
3952
|
+
filter: {
|
|
3953
|
+
type: "manual";
|
|
3954
|
+
} | {
|
|
3955
|
+
type: "dynamicPrice";
|
|
3956
|
+
min?: number | null | undefined;
|
|
3957
|
+
max?: number | null | undefined;
|
|
3958
|
+
};
|
|
3959
|
+
storeId: string;
|
|
3960
|
+
description: JSONContent | null;
|
|
3961
|
+
};
|
|
3962
|
+
}[];
|
|
3963
|
+
setProduct: {
|
|
3964
|
+
selectionCount: number;
|
|
3965
|
+
allowDuplicates: boolean;
|
|
3966
|
+
discountPercentage: string;
|
|
3967
|
+
} | null;
|
|
3968
|
+
};
|
|
3969
|
+
id: string;
|
|
3970
|
+
createdAt: string;
|
|
3971
|
+
updatedAt: string;
|
|
3972
|
+
images: string[];
|
|
3973
|
+
sku: string | null;
|
|
3974
|
+
calculatedPrice: string | null;
|
|
3975
|
+
stock: number | null;
|
|
3976
|
+
depth: number | null;
|
|
3977
|
+
width: number | null;
|
|
3978
|
+
height: number | null;
|
|
3979
|
+
weight: number | null;
|
|
3980
|
+
digital: string[] | null;
|
|
3981
|
+
shippable: boolean;
|
|
3982
|
+
externalId: string | null;
|
|
3983
|
+
productId: string;
|
|
3984
|
+
attributes: unknown;
|
|
3985
|
+
originalPrice: string;
|
|
3986
|
+
combinations: {
|
|
3987
|
+
createdAt: string;
|
|
3988
|
+
updatedAt: string;
|
|
3989
|
+
productVariantId: string;
|
|
3990
|
+
variantValueId: string;
|
|
3991
|
+
variantValue: {
|
|
3992
|
+
id: string;
|
|
3993
|
+
value: string;
|
|
3994
|
+
variantType: {
|
|
3995
|
+
id: string;
|
|
3996
|
+
label: string;
|
|
3997
|
+
};
|
|
3998
|
+
};
|
|
3999
|
+
}[];
|
|
4000
|
+
} | {
|
|
4001
|
+
preVolumePricingPrice: string | null;
|
|
4002
|
+
storeId: string | null;
|
|
4003
|
+
product: {
|
|
4004
|
+
bundleProducts: {
|
|
4005
|
+
variant: {
|
|
4006
|
+
storeId: string | null;
|
|
4007
|
+
product: {
|
|
4008
|
+
productTaxRate: {
|
|
4009
|
+
taxRate: {
|
|
4010
|
+
rate: string;
|
|
4011
|
+
};
|
|
4012
|
+
} | null;
|
|
4013
|
+
id: string;
|
|
4014
|
+
name: string;
|
|
4015
|
+
slug: string;
|
|
4016
|
+
images: string[];
|
|
4017
|
+
};
|
|
4018
|
+
id: string;
|
|
4019
|
+
createdAt: string;
|
|
4020
|
+
updatedAt: string;
|
|
4021
|
+
price: string;
|
|
4022
|
+
images: string[];
|
|
4023
|
+
sku: string | null;
|
|
4024
|
+
calculatedPrice: string | null;
|
|
4025
|
+
stock: number | null;
|
|
4026
|
+
depth: number | null;
|
|
4027
|
+
width: number | null;
|
|
4028
|
+
height: number | null;
|
|
4029
|
+
weight: number | null;
|
|
4030
|
+
digital: string[] | null;
|
|
4031
|
+
shippable: boolean;
|
|
4032
|
+
externalId: string | null;
|
|
4033
|
+
productId: string;
|
|
4034
|
+
attributes: unknown;
|
|
4035
|
+
originalPrice: string;
|
|
4036
|
+
};
|
|
4037
|
+
createdAt: string;
|
|
4038
|
+
updatedAt: string;
|
|
4039
|
+
position: number;
|
|
4040
|
+
bundleId: string;
|
|
4041
|
+
quantity: number;
|
|
4042
|
+
variantId: string;
|
|
4043
|
+
}[];
|
|
4044
|
+
id: string;
|
|
4045
|
+
name: string;
|
|
4046
|
+
createdAt: string;
|
|
4047
|
+
updatedAt: string;
|
|
4048
|
+
type: "product" | "bundle" | "set";
|
|
4049
|
+
slug: string;
|
|
4050
|
+
status: "published" | "draft" | "hidden" | null;
|
|
4051
|
+
flags: unknown;
|
|
4052
|
+
storeId: string;
|
|
4053
|
+
summary: string | null;
|
|
4054
|
+
images: string[];
|
|
4055
|
+
badge: unknown;
|
|
4056
|
+
bundleDiscountPercentage: string | null;
|
|
4057
|
+
seo: {
|
|
4058
|
+
title?: string | null | undefined;
|
|
4059
|
+
description?: string | null | undefined;
|
|
4060
|
+
canonical?: string | null | undefined;
|
|
4061
|
+
} | null;
|
|
4062
|
+
stripeTaxCode: string | null;
|
|
4063
|
+
categoryId: string | null;
|
|
4064
|
+
productTaxRate: {
|
|
4065
|
+
createdAt: string;
|
|
4066
|
+
updatedAt: string;
|
|
4067
|
+
taxRateId: string;
|
|
4068
|
+
productId: string;
|
|
4069
|
+
taxRate: {
|
|
4070
|
+
id: string;
|
|
4071
|
+
name: string;
|
|
4072
|
+
createdAt: string;
|
|
4073
|
+
updatedAt: string;
|
|
4074
|
+
storeId: string;
|
|
4075
|
+
rate: string;
|
|
4076
|
+
};
|
|
4077
|
+
} | null;
|
|
4078
|
+
productCollections: {
|
|
4079
|
+
position: string | null;
|
|
4080
|
+
productId: string;
|
|
4081
|
+
collectionId: string;
|
|
4082
|
+
collection: {
|
|
4083
|
+
id: string;
|
|
4084
|
+
name: string;
|
|
4085
|
+
image: string | null;
|
|
4086
|
+
createdAt: string;
|
|
4087
|
+
updatedAt: string;
|
|
4088
|
+
slug: string;
|
|
4089
|
+
active: boolean;
|
|
4090
|
+
filter: {
|
|
4091
|
+
type: "manual";
|
|
4092
|
+
} | {
|
|
4093
|
+
type: "dynamicPrice";
|
|
4094
|
+
min?: number | null | undefined;
|
|
4095
|
+
max?: number | null | undefined;
|
|
4096
|
+
};
|
|
4097
|
+
storeId: string;
|
|
4098
|
+
description: JSONContent | null;
|
|
4099
|
+
};
|
|
4100
|
+
}[];
|
|
4101
|
+
setProduct: {
|
|
4102
|
+
selectionCount: number;
|
|
4103
|
+
allowDuplicates: boolean;
|
|
4104
|
+
discountPercentage: string;
|
|
4105
|
+
} | null;
|
|
4106
|
+
};
|
|
4107
|
+
id: string;
|
|
4108
|
+
createdAt: string;
|
|
4109
|
+
updatedAt: string;
|
|
4110
|
+
price: string;
|
|
4111
|
+
images: string[];
|
|
4112
|
+
sku: string | null;
|
|
4113
|
+
calculatedPrice: string | null;
|
|
4114
|
+
stock: number | null;
|
|
4115
|
+
depth: number | null;
|
|
4116
|
+
width: number | null;
|
|
4117
|
+
height: number | null;
|
|
4118
|
+
weight: number | null;
|
|
4119
|
+
digital: string[] | null;
|
|
4120
|
+
shippable: boolean;
|
|
4121
|
+
externalId: string | null;
|
|
4122
|
+
productId: string;
|
|
4123
|
+
attributes: unknown;
|
|
4124
|
+
originalPrice: string;
|
|
4125
|
+
combinations: {
|
|
4126
|
+
createdAt: string;
|
|
4127
|
+
updatedAt: string;
|
|
4128
|
+
productVariantId: string;
|
|
4129
|
+
variantValueId: string;
|
|
4130
|
+
variantValue: {
|
|
4131
|
+
id: string;
|
|
4132
|
+
value: string;
|
|
4133
|
+
variantType: {
|
|
4134
|
+
id: string;
|
|
4135
|
+
label: string;
|
|
4136
|
+
};
|
|
4137
|
+
};
|
|
4138
|
+
}[];
|
|
4139
|
+
}) & {
|
|
4140
|
+
id: string;
|
|
4141
|
+
price: string;
|
|
4142
|
+
} & {
|
|
4143
|
+
prePromotionPrice: undefined;
|
|
4144
|
+
}) | (({
|
|
4145
|
+
price: string;
|
|
4146
|
+
preVolumePricingPrice: string;
|
|
4147
|
+
storeId: string | null;
|
|
4148
|
+
product: {
|
|
4149
|
+
bundleProducts: {
|
|
4150
|
+
variant: {
|
|
4151
|
+
storeId: string | null;
|
|
4152
|
+
product: {
|
|
4153
|
+
productTaxRate: {
|
|
4154
|
+
taxRate: {
|
|
4155
|
+
rate: string;
|
|
4156
|
+
};
|
|
4157
|
+
} | null;
|
|
4158
|
+
id: string;
|
|
4159
|
+
name: string;
|
|
4160
|
+
slug: string;
|
|
4161
|
+
images: string[];
|
|
4162
|
+
};
|
|
4163
|
+
id: string;
|
|
4164
|
+
createdAt: string;
|
|
4165
|
+
updatedAt: string;
|
|
4166
|
+
price: string;
|
|
4167
|
+
images: string[];
|
|
4168
|
+
sku: string | null;
|
|
4169
|
+
calculatedPrice: string | null;
|
|
4170
|
+
stock: number | null;
|
|
4171
|
+
depth: number | null;
|
|
4172
|
+
width: number | null;
|
|
4173
|
+
height: number | null;
|
|
4174
|
+
weight: number | null;
|
|
4175
|
+
digital: string[] | null;
|
|
4176
|
+
shippable: boolean;
|
|
4177
|
+
externalId: string | null;
|
|
4178
|
+
productId: string;
|
|
4179
|
+
attributes: unknown;
|
|
4180
|
+
originalPrice: string;
|
|
4181
|
+
};
|
|
4182
|
+
createdAt: string;
|
|
4183
|
+
updatedAt: string;
|
|
4184
|
+
position: number;
|
|
4185
|
+
bundleId: string;
|
|
4186
|
+
quantity: number;
|
|
4187
|
+
variantId: string;
|
|
4188
|
+
}[];
|
|
4189
|
+
id: string;
|
|
4190
|
+
name: string;
|
|
4191
|
+
createdAt: string;
|
|
4192
|
+
updatedAt: string;
|
|
4193
|
+
type: "product" | "bundle" | "set";
|
|
4194
|
+
slug: string;
|
|
4195
|
+
status: "published" | "draft" | "hidden" | null;
|
|
4196
|
+
flags: unknown;
|
|
4197
|
+
storeId: string;
|
|
4198
|
+
summary: string | null;
|
|
4199
|
+
images: string[];
|
|
4200
|
+
badge: unknown;
|
|
4201
|
+
bundleDiscountPercentage: string | null;
|
|
4202
|
+
seo: {
|
|
4203
|
+
title?: string | null | undefined;
|
|
4204
|
+
description?: string | null | undefined;
|
|
4205
|
+
canonical?: string | null | undefined;
|
|
4206
|
+
} | null;
|
|
4207
|
+
stripeTaxCode: string | null;
|
|
4208
|
+
categoryId: string | null;
|
|
4209
|
+
productTaxRate: {
|
|
4210
|
+
createdAt: string;
|
|
4211
|
+
updatedAt: string;
|
|
4212
|
+
taxRateId: string;
|
|
4213
|
+
productId: string;
|
|
4214
|
+
taxRate: {
|
|
4215
|
+
id: string;
|
|
4216
|
+
name: string;
|
|
4217
|
+
createdAt: string;
|
|
4218
|
+
updatedAt: string;
|
|
4219
|
+
storeId: string;
|
|
4220
|
+
rate: string;
|
|
4221
|
+
};
|
|
4222
|
+
} | null;
|
|
4223
|
+
productCollections: {
|
|
4224
|
+
position: string | null;
|
|
4225
|
+
productId: string;
|
|
4226
|
+
collectionId: string;
|
|
4227
|
+
collection: {
|
|
4228
|
+
id: string;
|
|
4229
|
+
name: string;
|
|
4230
|
+
image: string | null;
|
|
4231
|
+
createdAt: string;
|
|
4232
|
+
updatedAt: string;
|
|
4233
|
+
slug: string;
|
|
4234
|
+
active: boolean;
|
|
4235
|
+
filter: {
|
|
4236
|
+
type: "manual";
|
|
4237
|
+
} | {
|
|
4238
|
+
type: "dynamicPrice";
|
|
4239
|
+
min?: number | null | undefined;
|
|
4240
|
+
max?: number | null | undefined;
|
|
4241
|
+
};
|
|
4242
|
+
storeId: string;
|
|
4243
|
+
description: JSONContent | null;
|
|
4244
|
+
};
|
|
4245
|
+
}[];
|
|
4246
|
+
setProduct: {
|
|
4247
|
+
selectionCount: number;
|
|
4248
|
+
allowDuplicates: boolean;
|
|
4249
|
+
discountPercentage: string;
|
|
4250
|
+
} | null;
|
|
4251
|
+
};
|
|
4252
|
+
id: string;
|
|
4253
|
+
createdAt: string;
|
|
4254
|
+
updatedAt: string;
|
|
4255
|
+
images: string[];
|
|
4256
|
+
sku: string | null;
|
|
4257
|
+
calculatedPrice: string | null;
|
|
4258
|
+
stock: number | null;
|
|
4259
|
+
depth: number | null;
|
|
4260
|
+
width: number | null;
|
|
4261
|
+
height: number | null;
|
|
4262
|
+
weight: number | null;
|
|
4263
|
+
digital: string[] | null;
|
|
4264
|
+
shippable: boolean;
|
|
4265
|
+
externalId: string | null;
|
|
4266
|
+
productId: string;
|
|
4267
|
+
attributes: unknown;
|
|
4268
|
+
originalPrice: string;
|
|
4269
|
+
combinations: {
|
|
4270
|
+
createdAt: string;
|
|
4271
|
+
updatedAt: string;
|
|
4272
|
+
productVariantId: string;
|
|
4273
|
+
variantValueId: string;
|
|
4274
|
+
variantValue: {
|
|
4275
|
+
id: string;
|
|
4276
|
+
value: string;
|
|
4277
|
+
variantType: {
|
|
4278
|
+
id: string;
|
|
4279
|
+
label: string;
|
|
4280
|
+
};
|
|
4281
|
+
};
|
|
4282
|
+
}[];
|
|
4283
|
+
} | {
|
|
4284
|
+
preVolumePricingPrice: string | null;
|
|
4285
|
+
storeId: string | null;
|
|
4286
|
+
product: {
|
|
4287
|
+
bundleProducts: {
|
|
4288
|
+
variant: {
|
|
4289
|
+
storeId: string | null;
|
|
4290
|
+
product: {
|
|
4291
|
+
productTaxRate: {
|
|
4292
|
+
taxRate: {
|
|
4293
|
+
rate: string;
|
|
4294
|
+
};
|
|
4295
|
+
} | null;
|
|
4296
|
+
id: string;
|
|
4297
|
+
name: string;
|
|
4298
|
+
slug: string;
|
|
4299
|
+
images: string[];
|
|
4300
|
+
};
|
|
4301
|
+
id: string;
|
|
4302
|
+
createdAt: string;
|
|
4303
|
+
updatedAt: string;
|
|
4304
|
+
price: string;
|
|
4305
|
+
images: string[];
|
|
4306
|
+
sku: string | null;
|
|
4307
|
+
calculatedPrice: string | null;
|
|
4308
|
+
stock: number | null;
|
|
4309
|
+
depth: number | null;
|
|
4310
|
+
width: number | null;
|
|
4311
|
+
height: number | null;
|
|
4312
|
+
weight: number | null;
|
|
4313
|
+
digital: string[] | null;
|
|
4314
|
+
shippable: boolean;
|
|
4315
|
+
externalId: string | null;
|
|
4316
|
+
productId: string;
|
|
4317
|
+
attributes: unknown;
|
|
4318
|
+
originalPrice: string;
|
|
4319
|
+
};
|
|
4320
|
+
createdAt: string;
|
|
4321
|
+
updatedAt: string;
|
|
4322
|
+
position: number;
|
|
4323
|
+
bundleId: string;
|
|
4324
|
+
quantity: number;
|
|
4325
|
+
variantId: string;
|
|
4326
|
+
}[];
|
|
4327
|
+
id: string;
|
|
4328
|
+
name: string;
|
|
4329
|
+
createdAt: string;
|
|
4330
|
+
updatedAt: string;
|
|
4331
|
+
type: "product" | "bundle" | "set";
|
|
4332
|
+
slug: string;
|
|
4333
|
+
status: "published" | "draft" | "hidden" | null;
|
|
4334
|
+
flags: unknown;
|
|
4335
|
+
storeId: string;
|
|
4336
|
+
summary: string | null;
|
|
4337
|
+
images: string[];
|
|
4338
|
+
badge: unknown;
|
|
4339
|
+
bundleDiscountPercentage: string | null;
|
|
4340
|
+
seo: {
|
|
4341
|
+
title?: string | null | undefined;
|
|
4342
|
+
description?: string | null | undefined;
|
|
4343
|
+
canonical?: string | null | undefined;
|
|
4344
|
+
} | null;
|
|
4345
|
+
stripeTaxCode: string | null;
|
|
4346
|
+
categoryId: string | null;
|
|
4347
|
+
productTaxRate: {
|
|
4348
|
+
createdAt: string;
|
|
4349
|
+
updatedAt: string;
|
|
4350
|
+
taxRateId: string;
|
|
4351
|
+
productId: string;
|
|
4352
|
+
taxRate: {
|
|
4353
|
+
id: string;
|
|
4354
|
+
name: string;
|
|
4355
|
+
createdAt: string;
|
|
4356
|
+
updatedAt: string;
|
|
4357
|
+
storeId: string;
|
|
4358
|
+
rate: string;
|
|
4359
|
+
};
|
|
4360
|
+
} | null;
|
|
4361
|
+
productCollections: {
|
|
4362
|
+
position: string | null;
|
|
4363
|
+
productId: string;
|
|
4364
|
+
collectionId: string;
|
|
4365
|
+
collection: {
|
|
4366
|
+
id: string;
|
|
4367
|
+
name: string;
|
|
4368
|
+
image: string | null;
|
|
4369
|
+
createdAt: string;
|
|
4370
|
+
updatedAt: string;
|
|
4371
|
+
slug: string;
|
|
4372
|
+
active: boolean;
|
|
4373
|
+
filter: {
|
|
4374
|
+
type: "manual";
|
|
4375
|
+
} | {
|
|
4376
|
+
type: "dynamicPrice";
|
|
4377
|
+
min?: number | null | undefined;
|
|
4378
|
+
max?: number | null | undefined;
|
|
4379
|
+
};
|
|
4380
|
+
storeId: string;
|
|
4381
|
+
description: JSONContent | null;
|
|
4382
|
+
};
|
|
4383
|
+
}[];
|
|
4384
|
+
setProduct: {
|
|
4385
|
+
selectionCount: number;
|
|
4386
|
+
allowDuplicates: boolean;
|
|
4387
|
+
discountPercentage: string;
|
|
4388
|
+
} | null;
|
|
4389
|
+
};
|
|
4390
|
+
id: string;
|
|
4391
|
+
createdAt: string;
|
|
4392
|
+
updatedAt: string;
|
|
4393
|
+
price: string;
|
|
4394
|
+
images: string[];
|
|
4395
|
+
sku: string | null;
|
|
4396
|
+
calculatedPrice: string | null;
|
|
4397
|
+
stock: number | null;
|
|
4398
|
+
depth: number | null;
|
|
4399
|
+
width: number | null;
|
|
4400
|
+
height: number | null;
|
|
4401
|
+
weight: number | null;
|
|
4402
|
+
digital: string[] | null;
|
|
4403
|
+
shippable: boolean;
|
|
4404
|
+
externalId: string | null;
|
|
4405
|
+
productId: string;
|
|
4406
|
+
attributes: unknown;
|
|
4407
|
+
originalPrice: string;
|
|
4408
|
+
combinations: {
|
|
4409
|
+
createdAt: string;
|
|
4410
|
+
updatedAt: string;
|
|
4411
|
+
productVariantId: string;
|
|
4412
|
+
variantValueId: string;
|
|
4413
|
+
variantValue: {
|
|
4414
|
+
id: string;
|
|
4415
|
+
value: string;
|
|
4416
|
+
variantType: {
|
|
4417
|
+
id: string;
|
|
4418
|
+
label: string;
|
|
4419
|
+
};
|
|
4420
|
+
};
|
|
4421
|
+
}[];
|
|
4422
|
+
}) & {
|
|
4423
|
+
id: string;
|
|
4424
|
+
price: string;
|
|
4425
|
+
} & {
|
|
4426
|
+
prePromotionPrice: undefined;
|
|
4427
|
+
price: string;
|
|
4428
|
+
}) | (({
|
|
4429
|
+
price: string;
|
|
4430
|
+
preVolumePricingPrice: string;
|
|
4431
|
+
storeId: string | null;
|
|
4432
|
+
product: {
|
|
4433
|
+
bundleProducts: {
|
|
4434
|
+
variant: {
|
|
4435
|
+
storeId: string | null;
|
|
4436
|
+
product: {
|
|
4437
|
+
productTaxRate: {
|
|
4438
|
+
taxRate: {
|
|
4439
|
+
rate: string;
|
|
4440
|
+
};
|
|
4441
|
+
} | null;
|
|
4442
|
+
id: string;
|
|
4443
|
+
name: string;
|
|
4444
|
+
slug: string;
|
|
4445
|
+
images: string[];
|
|
4446
|
+
};
|
|
4447
|
+
id: string;
|
|
4448
|
+
createdAt: string;
|
|
4449
|
+
updatedAt: string;
|
|
4450
|
+
price: string;
|
|
4451
|
+
images: string[];
|
|
4452
|
+
sku: string | null;
|
|
4453
|
+
calculatedPrice: string | null;
|
|
4454
|
+
stock: number | null;
|
|
4455
|
+
depth: number | null;
|
|
4456
|
+
width: number | null;
|
|
4457
|
+
height: number | null;
|
|
4458
|
+
weight: number | null;
|
|
4459
|
+
digital: string[] | null;
|
|
4460
|
+
shippable: boolean;
|
|
4461
|
+
externalId: string | null;
|
|
4462
|
+
productId: string;
|
|
4463
|
+
attributes: unknown;
|
|
4464
|
+
originalPrice: string;
|
|
4465
|
+
};
|
|
4466
|
+
createdAt: string;
|
|
4467
|
+
updatedAt: string;
|
|
4468
|
+
position: number;
|
|
4469
|
+
bundleId: string;
|
|
4470
|
+
quantity: number;
|
|
4471
|
+
variantId: string;
|
|
4472
|
+
}[];
|
|
4473
|
+
id: string;
|
|
4474
|
+
name: string;
|
|
4475
|
+
createdAt: string;
|
|
4476
|
+
updatedAt: string;
|
|
4477
|
+
type: "product" | "bundle" | "set";
|
|
4478
|
+
slug: string;
|
|
4479
|
+
status: "published" | "draft" | "hidden" | null;
|
|
4480
|
+
flags: unknown;
|
|
4481
|
+
storeId: string;
|
|
4482
|
+
summary: string | null;
|
|
4483
|
+
images: string[];
|
|
4484
|
+
badge: unknown;
|
|
4485
|
+
bundleDiscountPercentage: string | null;
|
|
4486
|
+
seo: {
|
|
4487
|
+
title?: string | null | undefined;
|
|
4488
|
+
description?: string | null | undefined;
|
|
4489
|
+
canonical?: string | null | undefined;
|
|
4490
|
+
} | null;
|
|
4491
|
+
stripeTaxCode: string | null;
|
|
4492
|
+
categoryId: string | null;
|
|
4493
|
+
productTaxRate: {
|
|
4494
|
+
createdAt: string;
|
|
4495
|
+
updatedAt: string;
|
|
4496
|
+
taxRateId: string;
|
|
4497
|
+
productId: string;
|
|
4498
|
+
taxRate: {
|
|
4499
|
+
id: string;
|
|
4500
|
+
name: string;
|
|
4501
|
+
createdAt: string;
|
|
4502
|
+
updatedAt: string;
|
|
4503
|
+
storeId: string;
|
|
4504
|
+
rate: string;
|
|
4505
|
+
};
|
|
4506
|
+
} | null;
|
|
4507
|
+
productCollections: {
|
|
4508
|
+
position: string | null;
|
|
4509
|
+
productId: string;
|
|
4510
|
+
collectionId: string;
|
|
4511
|
+
collection: {
|
|
4512
|
+
id: string;
|
|
4513
|
+
name: string;
|
|
4514
|
+
image: string | null;
|
|
4515
|
+
createdAt: string;
|
|
4516
|
+
updatedAt: string;
|
|
4517
|
+
slug: string;
|
|
4518
|
+
active: boolean;
|
|
4519
|
+
filter: {
|
|
4520
|
+
type: "manual";
|
|
4521
|
+
} | {
|
|
4522
|
+
type: "dynamicPrice";
|
|
4523
|
+
min?: number | null | undefined;
|
|
4524
|
+
max?: number | null | undefined;
|
|
4525
|
+
};
|
|
4526
|
+
storeId: string;
|
|
4527
|
+
description: JSONContent | null;
|
|
4528
|
+
};
|
|
4529
|
+
}[];
|
|
4530
|
+
setProduct: {
|
|
4531
|
+
selectionCount: number;
|
|
4532
|
+
allowDuplicates: boolean;
|
|
4533
|
+
discountPercentage: string;
|
|
4534
|
+
} | null;
|
|
4535
|
+
};
|
|
4536
|
+
id: string;
|
|
4537
|
+
createdAt: string;
|
|
4538
|
+
updatedAt: string;
|
|
4539
|
+
images: string[];
|
|
4540
|
+
sku: string | null;
|
|
4541
|
+
calculatedPrice: string | null;
|
|
4542
|
+
stock: number | null;
|
|
4543
|
+
depth: number | null;
|
|
4544
|
+
width: number | null;
|
|
4545
|
+
height: number | null;
|
|
4546
|
+
weight: number | null;
|
|
4547
|
+
digital: string[] | null;
|
|
4548
|
+
shippable: boolean;
|
|
4549
|
+
externalId: string | null;
|
|
4550
|
+
productId: string;
|
|
4551
|
+
attributes: unknown;
|
|
4552
|
+
originalPrice: string;
|
|
4553
|
+
combinations: {
|
|
4554
|
+
createdAt: string;
|
|
4555
|
+
updatedAt: string;
|
|
4556
|
+
productVariantId: string;
|
|
4557
|
+
variantValueId: string;
|
|
4558
|
+
variantValue: {
|
|
4559
|
+
id: string;
|
|
4560
|
+
value: string;
|
|
4561
|
+
variantType: {
|
|
4562
|
+
id: string;
|
|
4563
|
+
label: string;
|
|
4564
|
+
};
|
|
4565
|
+
};
|
|
4566
|
+
}[];
|
|
4567
|
+
} | {
|
|
4568
|
+
preVolumePricingPrice: string | null;
|
|
4569
|
+
storeId: string | null;
|
|
4570
|
+
product: {
|
|
4571
|
+
bundleProducts: {
|
|
4572
|
+
variant: {
|
|
4573
|
+
storeId: string | null;
|
|
4574
|
+
product: {
|
|
4575
|
+
productTaxRate: {
|
|
4576
|
+
taxRate: {
|
|
4577
|
+
rate: string;
|
|
4578
|
+
};
|
|
4579
|
+
} | null;
|
|
4580
|
+
id: string;
|
|
4581
|
+
name: string;
|
|
4582
|
+
slug: string;
|
|
4583
|
+
images: string[];
|
|
4584
|
+
};
|
|
4585
|
+
id: string;
|
|
4586
|
+
createdAt: string;
|
|
4587
|
+
updatedAt: string;
|
|
4588
|
+
price: string;
|
|
4589
|
+
images: string[];
|
|
4590
|
+
sku: string | null;
|
|
4591
|
+
calculatedPrice: string | null;
|
|
4592
|
+
stock: number | null;
|
|
4593
|
+
depth: number | null;
|
|
4594
|
+
width: number | null;
|
|
4595
|
+
height: number | null;
|
|
4596
|
+
weight: number | null;
|
|
4597
|
+
digital: string[] | null;
|
|
4598
|
+
shippable: boolean;
|
|
4599
|
+
externalId: string | null;
|
|
4600
|
+
productId: string;
|
|
4601
|
+
attributes: unknown;
|
|
4602
|
+
originalPrice: string;
|
|
4603
|
+
};
|
|
4604
|
+
createdAt: string;
|
|
4605
|
+
updatedAt: string;
|
|
4606
|
+
position: number;
|
|
4607
|
+
bundleId: string;
|
|
4608
|
+
quantity: number;
|
|
4609
|
+
variantId: string;
|
|
4610
|
+
}[];
|
|
4611
|
+
id: string;
|
|
4612
|
+
name: string;
|
|
4613
|
+
createdAt: string;
|
|
4614
|
+
updatedAt: string;
|
|
4615
|
+
type: "product" | "bundle" | "set";
|
|
4616
|
+
slug: string;
|
|
4617
|
+
status: "published" | "draft" | "hidden" | null;
|
|
4618
|
+
flags: unknown;
|
|
4619
|
+
storeId: string;
|
|
4620
|
+
summary: string | null;
|
|
4621
|
+
images: string[];
|
|
4622
|
+
badge: unknown;
|
|
4623
|
+
bundleDiscountPercentage: string | null;
|
|
4624
|
+
seo: {
|
|
4625
|
+
title?: string | null | undefined;
|
|
4626
|
+
description?: string | null | undefined;
|
|
4627
|
+
canonical?: string | null | undefined;
|
|
4628
|
+
} | null;
|
|
4629
|
+
stripeTaxCode: string | null;
|
|
4630
|
+
categoryId: string | null;
|
|
4631
|
+
productTaxRate: {
|
|
4632
|
+
createdAt: string;
|
|
4633
|
+
updatedAt: string;
|
|
4634
|
+
taxRateId: string;
|
|
4635
|
+
productId: string;
|
|
4636
|
+
taxRate: {
|
|
4637
|
+
id: string;
|
|
4638
|
+
name: string;
|
|
4639
|
+
createdAt: string;
|
|
4640
|
+
updatedAt: string;
|
|
4641
|
+
storeId: string;
|
|
4642
|
+
rate: string;
|
|
4643
|
+
};
|
|
4644
|
+
} | null;
|
|
4645
|
+
productCollections: {
|
|
4646
|
+
position: string | null;
|
|
4647
|
+
productId: string;
|
|
4648
|
+
collectionId: string;
|
|
4649
|
+
collection: {
|
|
4650
|
+
id: string;
|
|
4651
|
+
name: string;
|
|
4652
|
+
image: string | null;
|
|
4653
|
+
createdAt: string;
|
|
4654
|
+
updatedAt: string;
|
|
4655
|
+
slug: string;
|
|
4656
|
+
active: boolean;
|
|
4657
|
+
filter: {
|
|
4658
|
+
type: "manual";
|
|
4659
|
+
} | {
|
|
4660
|
+
type: "dynamicPrice";
|
|
4661
|
+
min?: number | null | undefined;
|
|
4662
|
+
max?: number | null | undefined;
|
|
4663
|
+
};
|
|
4664
|
+
storeId: string;
|
|
4665
|
+
description: JSONContent | null;
|
|
4666
|
+
};
|
|
4667
|
+
}[];
|
|
4668
|
+
setProduct: {
|
|
4669
|
+
selectionCount: number;
|
|
4670
|
+
allowDuplicates: boolean;
|
|
4671
|
+
discountPercentage: string;
|
|
4672
|
+
} | null;
|
|
4673
|
+
};
|
|
4674
|
+
id: string;
|
|
4675
|
+
createdAt: string;
|
|
4676
|
+
updatedAt: string;
|
|
4677
|
+
price: string;
|
|
4678
|
+
images: string[];
|
|
4679
|
+
sku: string | null;
|
|
4680
|
+
calculatedPrice: string | null;
|
|
4681
|
+
stock: number | null;
|
|
4682
|
+
depth: number | null;
|
|
4683
|
+
width: number | null;
|
|
4684
|
+
height: number | null;
|
|
4685
|
+
weight: number | null;
|
|
4686
|
+
digital: string[] | null;
|
|
4687
|
+
shippable: boolean;
|
|
4688
|
+
externalId: string | null;
|
|
4689
|
+
productId: string;
|
|
4690
|
+
attributes: unknown;
|
|
4691
|
+
originalPrice: string;
|
|
4692
|
+
combinations: {
|
|
4693
|
+
createdAt: string;
|
|
4694
|
+
updatedAt: string;
|
|
4695
|
+
productVariantId: string;
|
|
4696
|
+
variantValueId: string;
|
|
4697
|
+
variantValue: {
|
|
4698
|
+
id: string;
|
|
4699
|
+
value: string;
|
|
4700
|
+
variantType: {
|
|
4701
|
+
id: string;
|
|
4702
|
+
label: string;
|
|
4703
|
+
};
|
|
4704
|
+
};
|
|
4705
|
+
}[];
|
|
4706
|
+
}) & {
|
|
4707
|
+
id: string;
|
|
4708
|
+
price: string;
|
|
4709
|
+
} & {
|
|
4710
|
+
prePromotionPrice: string | null;
|
|
4711
|
+
});
|
|
4712
|
+
preVolumePricingPrice: string | null;
|
|
4713
|
+
setSelections: {
|
|
4714
|
+
selectedVariant: {
|
|
4715
|
+
combinations: {
|
|
4716
|
+
createdAt: string;
|
|
4717
|
+
updatedAt: string;
|
|
4718
|
+
productVariantId: string;
|
|
4719
|
+
variantValueId: string;
|
|
4720
|
+
variantValue: {
|
|
4721
|
+
id: string;
|
|
4722
|
+
value: string;
|
|
4723
|
+
variantType: {
|
|
4724
|
+
id: string;
|
|
4725
|
+
label: string;
|
|
4726
|
+
};
|
|
4727
|
+
};
|
|
4728
|
+
}[];
|
|
4729
|
+
id: string;
|
|
4730
|
+
price: string;
|
|
4731
|
+
product: {
|
|
4732
|
+
id: string;
|
|
4733
|
+
name: string;
|
|
4734
|
+
};
|
|
4735
|
+
};
|
|
4736
|
+
id: string;
|
|
4737
|
+
createdAt: string;
|
|
4738
|
+
updatedAt: string;
|
|
4739
|
+
position: number;
|
|
4740
|
+
quantity: number;
|
|
4741
|
+
lineItemId: string;
|
|
4742
|
+
selectedVariantId: string;
|
|
4743
|
+
}[];
|
|
4744
|
+
id: string;
|
|
4745
|
+
createdAt: string;
|
|
4746
|
+
updatedAt: string;
|
|
4747
|
+
cartId: string;
|
|
4748
|
+
quantity: number;
|
|
4749
|
+
productVariantId: string;
|
|
4750
|
+
subscriptionPlanId: string | null;
|
|
4751
|
+
subscriptionPlan: {
|
|
4752
|
+
id: string;
|
|
4753
|
+
name: string;
|
|
4754
|
+
createdAt: string;
|
|
4755
|
+
updatedAt: string;
|
|
4756
|
+
interval: number;
|
|
4757
|
+
active: boolean;
|
|
4758
|
+
storeId: string;
|
|
4759
|
+
description: string | null;
|
|
4760
|
+
position: number;
|
|
4761
|
+
cadence: "month" | "week";
|
|
4762
|
+
discountPercent: number;
|
|
4763
|
+
benefits: string | null;
|
|
4764
|
+
} | null;
|
|
4765
|
+
}[];
|
|
4766
|
+
id: string;
|
|
4767
|
+
createdAt: string;
|
|
4768
|
+
updatedAt: string;
|
|
4769
|
+
storeId: string;
|
|
4770
|
+
addonData: Record<string, unknown> | null | undefined;
|
|
4771
|
+
couponId: string | null;
|
|
4772
|
+
customerId: string | null;
|
|
4773
|
+
stripePaymentIntentId: string | null;
|
|
4774
|
+
checkoutSessionId: string | null;
|
|
4775
|
+
shippingId: string | null;
|
|
4776
|
+
shippingAddressId: string | null;
|
|
4777
|
+
billingAddressId: string | null;
|
|
4778
|
+
deliverySlot: unknown;
|
|
4779
|
+
ucpSessionStatus: "incomplete" | "ready_for_complete" | "requires_escalation" | "complete_in_progress" | "completed" | "canceled" | null;
|
|
4780
|
+
ucpMetadata: {
|
|
4781
|
+
buyerEmail?: string;
|
|
4782
|
+
buyerName?: string;
|
|
4783
|
+
buyerPhone?: string;
|
|
4784
|
+
agentId?: string;
|
|
4785
|
+
externalReference?: string;
|
|
4786
|
+
escalationReason?: string;
|
|
4787
|
+
} | null;
|
|
4788
|
+
acpSessionStatus: "completed" | "canceled" | "not_ready_for_payment" | "ready_for_payment" | null;
|
|
4789
|
+
acpMetadata: {
|
|
4790
|
+
buyerEmail?: string;
|
|
4791
|
+
buyerName?: string;
|
|
4792
|
+
buyerPhone?: string;
|
|
4793
|
+
agentId?: string;
|
|
4794
|
+
externalReference?: string;
|
|
4795
|
+
idempotencyKey?: string;
|
|
4796
|
+
} | null;
|
|
4797
|
+
shipping: {
|
|
4798
|
+
id: string;
|
|
4799
|
+
name: string;
|
|
4800
|
+
createdAt: string;
|
|
4801
|
+
updatedAt: string;
|
|
4802
|
+
type: "courier" | "parcel" | "pickup_point" | "in_store";
|
|
4803
|
+
storeId: string;
|
|
4804
|
+
description: string | null;
|
|
4805
|
+
price: string;
|
|
4806
|
+
minShippingTime: number | null;
|
|
4807
|
+
maxShippingTime: number | null;
|
|
4808
|
+
freeShippingThreshold: string | null;
|
|
4809
|
+
position: number | null;
|
|
4810
|
+
addonId: string | null;
|
|
4811
|
+
addonData: unknown;
|
|
4812
|
+
deliverySlots: unknown;
|
|
4813
|
+
countries: string[] | null;
|
|
4814
|
+
shippingAddon: {
|
|
4815
|
+
id: string;
|
|
4816
|
+
name: string;
|
|
4817
|
+
createdAt: string;
|
|
4818
|
+
updatedAt: string;
|
|
4819
|
+
type: "shipping" | "analytics" | "products" | "invoicing" | "orders";
|
|
4820
|
+
storeId: string;
|
|
4821
|
+
} | null;
|
|
4822
|
+
shippingTaxRate: {
|
|
4823
|
+
createdAt: string;
|
|
4824
|
+
updatedAt: string;
|
|
4825
|
+
shippingId: string;
|
|
4826
|
+
taxRateId: string;
|
|
4827
|
+
taxRate: {
|
|
4828
|
+
id: string;
|
|
4829
|
+
name: string;
|
|
4830
|
+
createdAt: string;
|
|
4831
|
+
updatedAt: string;
|
|
4832
|
+
storeId: string;
|
|
4833
|
+
rate: string;
|
|
4834
|
+
};
|
|
4835
|
+
} | null;
|
|
4836
|
+
} | null;
|
|
4837
|
+
coupon: {
|
|
4838
|
+
type: "fixed" | "percentage";
|
|
4839
|
+
value: string;
|
|
4840
|
+
code: string;
|
|
4841
|
+
startDate: string | null;
|
|
4842
|
+
endDate: string | null;
|
|
4843
|
+
minProductCount: number | null;
|
|
4844
|
+
maxProductCount: number | null;
|
|
4845
|
+
products: {
|
|
4846
|
+
id: string;
|
|
4847
|
+
}[];
|
|
4848
|
+
} | null;
|
|
4849
|
+
billingAddress: {
|
|
4850
|
+
id: string;
|
|
4851
|
+
name: string | null;
|
|
4852
|
+
createdAt: string;
|
|
4853
|
+
updatedAt: string;
|
|
4854
|
+
type: "shipping" | "billing" | "merchant";
|
|
4855
|
+
company: string | null;
|
|
4856
|
+
city: string | null;
|
|
4857
|
+
country: string | null;
|
|
4858
|
+
line1: string | null;
|
|
4859
|
+
line2: string | null;
|
|
4860
|
+
postalCode: string | null;
|
|
4861
|
+
state: string | null;
|
|
4862
|
+
phone: string | null;
|
|
4863
|
+
taxId: string | null;
|
|
4864
|
+
} | null;
|
|
4865
|
+
shippingAddress: {
|
|
4866
|
+
id: string;
|
|
4867
|
+
name: string | null;
|
|
4868
|
+
createdAt: string;
|
|
4869
|
+
updatedAt: string;
|
|
4870
|
+
type: "shipping" | "billing" | "merchant";
|
|
4871
|
+
company: string | null;
|
|
4872
|
+
city: string | null;
|
|
4873
|
+
country: string | null;
|
|
4874
|
+
line1: string | null;
|
|
4875
|
+
line2: string | null;
|
|
4876
|
+
postalCode: string | null;
|
|
4877
|
+
state: string | null;
|
|
4878
|
+
phone: string | null;
|
|
4879
|
+
taxId: string | null;
|
|
4880
|
+
} | null;
|
|
4881
|
+
customer: {
|
|
4882
|
+
id: string;
|
|
4883
|
+
email: string | null;
|
|
4884
|
+
createdAt: string;
|
|
4885
|
+
updatedAt: string;
|
|
4886
|
+
userId: string | null;
|
|
4887
|
+
storeId: string;
|
|
4888
|
+
couponId: string | null;
|
|
4889
|
+
user: {
|
|
4890
|
+
id: string;
|
|
4891
|
+
name: string;
|
|
4892
|
+
email: string;
|
|
4893
|
+
} | null;
|
|
4894
|
+
coupon: {
|
|
4895
|
+
type: "fixed" | "percentage";
|
|
4896
|
+
value: string;
|
|
4897
|
+
code: string;
|
|
4898
|
+
startDate: string | null;
|
|
4899
|
+
endDate: string | null;
|
|
4900
|
+
minProductCount: number | null;
|
|
4901
|
+
maxProductCount: number | null;
|
|
4902
|
+
products: {
|
|
4903
|
+
id: string;
|
|
4904
|
+
}[];
|
|
4905
|
+
} | null;
|
|
4906
|
+
} | null;
|
|
4907
|
+
} | null | undefined;
|
|
4908
|
+
type APICartRemoveItemResult = {
|
|
4909
|
+
lineItems: {
|
|
4910
|
+
productVariant: (({
|
|
4911
|
+
price: string;
|
|
4912
|
+
preVolumePricingPrice: string;
|
|
4913
|
+
storeId: string | null;
|
|
4914
|
+
product: {
|
|
4915
|
+
bundleProducts: {
|
|
4916
|
+
variant: {
|
|
4917
|
+
storeId: string | null;
|
|
4918
|
+
product: {
|
|
4919
|
+
productTaxRate: {
|
|
4920
|
+
taxRate: {
|
|
4921
|
+
rate: string;
|
|
4922
|
+
};
|
|
4923
|
+
} | null;
|
|
4924
|
+
id: string;
|
|
4925
|
+
name: string;
|
|
4926
|
+
slug: string;
|
|
4927
|
+
images: string[];
|
|
4928
|
+
};
|
|
4929
|
+
id: string;
|
|
4930
|
+
createdAt: string;
|
|
4931
|
+
updatedAt: string;
|
|
4932
|
+
price: string;
|
|
4933
|
+
images: string[];
|
|
4934
|
+
sku: string | null;
|
|
4935
|
+
calculatedPrice: string | null;
|
|
4936
|
+
stock: number | null;
|
|
4937
|
+
depth: number | null;
|
|
4938
|
+
width: number | null;
|
|
4939
|
+
height: number | null;
|
|
4940
|
+
weight: number | null;
|
|
4941
|
+
digital: string[] | null;
|
|
4942
|
+
shippable: boolean;
|
|
4943
|
+
externalId: string | null;
|
|
4944
|
+
productId: string;
|
|
4945
|
+
attributes: unknown;
|
|
4946
|
+
originalPrice: string;
|
|
4947
|
+
};
|
|
4948
|
+
createdAt: string;
|
|
4949
|
+
updatedAt: string;
|
|
4950
|
+
position: number;
|
|
4951
|
+
bundleId: string;
|
|
4952
|
+
quantity: number;
|
|
4953
|
+
variantId: string;
|
|
4954
|
+
}[];
|
|
4955
|
+
id: string;
|
|
4956
|
+
name: string;
|
|
4957
|
+
createdAt: string;
|
|
4958
|
+
updatedAt: string;
|
|
4959
|
+
type: "product" | "bundle" | "set";
|
|
4960
|
+
slug: string;
|
|
4961
|
+
status: "published" | "draft" | "hidden" | null;
|
|
4962
|
+
flags: unknown;
|
|
4963
|
+
storeId: string;
|
|
4964
|
+
summary: string | null;
|
|
4965
|
+
images: string[];
|
|
4966
|
+
badge: unknown;
|
|
4967
|
+
bundleDiscountPercentage: string | null;
|
|
4968
|
+
seo: {
|
|
4969
|
+
title?: string | null | undefined;
|
|
4970
|
+
description?: string | null | undefined;
|
|
4971
|
+
canonical?: string | null | undefined;
|
|
4972
|
+
} | null;
|
|
4973
|
+
stripeTaxCode: string | null;
|
|
4974
|
+
categoryId: string | null;
|
|
4975
|
+
productTaxRate: {
|
|
4976
|
+
createdAt: string;
|
|
4977
|
+
updatedAt: string;
|
|
4978
|
+
taxRateId: string;
|
|
4979
|
+
productId: string;
|
|
4980
|
+
taxRate: {
|
|
4981
|
+
id: string;
|
|
4982
|
+
name: string;
|
|
4983
|
+
createdAt: string;
|
|
4984
|
+
updatedAt: string;
|
|
4985
|
+
storeId: string;
|
|
4986
|
+
rate: string;
|
|
4987
|
+
};
|
|
4988
|
+
} | null;
|
|
4989
|
+
productCollections: {
|
|
4990
|
+
position: string | null;
|
|
4991
|
+
productId: string;
|
|
4992
|
+
collectionId: string;
|
|
4993
|
+
collection: {
|
|
4994
|
+
id: string;
|
|
4995
|
+
name: string;
|
|
4996
|
+
image: string | null;
|
|
4997
|
+
createdAt: string;
|
|
4998
|
+
updatedAt: string;
|
|
4999
|
+
slug: string;
|
|
5000
|
+
active: boolean;
|
|
5001
|
+
filter: {
|
|
5002
|
+
type: "manual";
|
|
5003
|
+
} | {
|
|
5004
|
+
type: "dynamicPrice";
|
|
5005
|
+
min?: number | null | undefined;
|
|
5006
|
+
max?: number | null | undefined;
|
|
5007
|
+
};
|
|
5008
|
+
storeId: string;
|
|
5009
|
+
description: JSONContent | null;
|
|
5010
|
+
};
|
|
5011
|
+
}[];
|
|
5012
|
+
setProduct: {
|
|
5013
|
+
selectionCount: number;
|
|
5014
|
+
allowDuplicates: boolean;
|
|
5015
|
+
discountPercentage: string;
|
|
5016
|
+
} | null;
|
|
5017
|
+
};
|
|
5018
|
+
id: string;
|
|
5019
|
+
createdAt: string;
|
|
5020
|
+
updatedAt: string;
|
|
5021
|
+
images: string[];
|
|
5022
|
+
sku: string | null;
|
|
5023
|
+
calculatedPrice: string | null;
|
|
5024
|
+
stock: number | null;
|
|
5025
|
+
depth: number | null;
|
|
5026
|
+
width: number | null;
|
|
5027
|
+
height: number | null;
|
|
5028
|
+
weight: number | null;
|
|
5029
|
+
digital: string[] | null;
|
|
5030
|
+
shippable: boolean;
|
|
5031
|
+
externalId: string | null;
|
|
5032
|
+
productId: string;
|
|
5033
|
+
attributes: unknown;
|
|
5034
|
+
originalPrice: string;
|
|
5035
|
+
combinations: {
|
|
5036
|
+
createdAt: string;
|
|
5037
|
+
updatedAt: string;
|
|
5038
|
+
productVariantId: string;
|
|
5039
|
+
variantValueId: string;
|
|
5040
|
+
variantValue: {
|
|
5041
|
+
id: string;
|
|
5042
|
+
value: string;
|
|
5043
|
+
variantType: {
|
|
5044
|
+
id: string;
|
|
5045
|
+
label: string;
|
|
5046
|
+
};
|
|
5047
|
+
};
|
|
5048
|
+
}[];
|
|
5049
|
+
} | {
|
|
5050
|
+
preVolumePricingPrice: string | null;
|
|
2701
5051
|
storeId: string | null;
|
|
2702
5052
|
product: {
|
|
2703
5053
|
bundleProducts: {
|
|
@@ -2746,7 +5096,7 @@ type APICartCreateResult = {
|
|
|
2746
5096
|
updatedAt: string;
|
|
2747
5097
|
type: "product" | "bundle" | "set";
|
|
2748
5098
|
slug: string;
|
|
2749
|
-
status: "
|
|
5099
|
+
status: "published" | "draft" | "hidden" | null;
|
|
2750
5100
|
flags: unknown;
|
|
2751
5101
|
storeId: string;
|
|
2752
5102
|
summary: string | null;
|
|
@@ -2758,6 +5108,7 @@ type APICartCreateResult = {
|
|
|
2758
5108
|
description?: string | null | undefined;
|
|
2759
5109
|
canonical?: string | null | undefined;
|
|
2760
5110
|
} | null;
|
|
5111
|
+
stripeTaxCode: string | null;
|
|
2761
5112
|
categoryId: string | null;
|
|
2762
5113
|
productTaxRate: {
|
|
2763
5114
|
createdAt: string;
|
|
@@ -2834,12 +5185,14 @@ type APICartCreateResult = {
|
|
|
2834
5185
|
};
|
|
2835
5186
|
};
|
|
2836
5187
|
}[];
|
|
2837
|
-
} & {
|
|
5188
|
+
}) & {
|
|
2838
5189
|
id: string;
|
|
2839
5190
|
price: string;
|
|
2840
5191
|
} & {
|
|
2841
5192
|
prePromotionPrice: undefined;
|
|
2842
|
-
}) | ({
|
|
5193
|
+
}) | (({
|
|
5194
|
+
price: string;
|
|
5195
|
+
preVolumePricingPrice: string;
|
|
2843
5196
|
storeId: string | null;
|
|
2844
5197
|
product: {
|
|
2845
5198
|
bundleProducts: {
|
|
@@ -2888,7 +5241,7 @@ type APICartCreateResult = {
|
|
|
2888
5241
|
updatedAt: string;
|
|
2889
5242
|
type: "product" | "bundle" | "set";
|
|
2890
5243
|
slug: string;
|
|
2891
|
-
status: "
|
|
5244
|
+
status: "published" | "draft" | "hidden" | null;
|
|
2892
5245
|
flags: unknown;
|
|
2893
5246
|
storeId: string;
|
|
2894
5247
|
summary: string | null;
|
|
@@ -2900,6 +5253,7 @@ type APICartCreateResult = {
|
|
|
2900
5253
|
description?: string | null | undefined;
|
|
2901
5254
|
canonical?: string | null | undefined;
|
|
2902
5255
|
} | null;
|
|
5256
|
+
stripeTaxCode: string | null;
|
|
2903
5257
|
categoryId: string | null;
|
|
2904
5258
|
productTaxRate: {
|
|
2905
5259
|
createdAt: string;
|
|
@@ -2947,7 +5301,6 @@ type APICartCreateResult = {
|
|
|
2947
5301
|
id: string;
|
|
2948
5302
|
createdAt: string;
|
|
2949
5303
|
updatedAt: string;
|
|
2950
|
-
price: string;
|
|
2951
5304
|
images: string[];
|
|
2952
5305
|
sku: string | null;
|
|
2953
5306
|
calculatedPrice: string | null;
|
|
@@ -2976,12 +5329,8 @@ type APICartCreateResult = {
|
|
|
2976
5329
|
};
|
|
2977
5330
|
};
|
|
2978
5331
|
}[];
|
|
2979
|
-
}
|
|
2980
|
-
|
|
2981
|
-
price: string;
|
|
2982
|
-
} & {
|
|
2983
|
-
prePromotionPrice: undefined;
|
|
2984
|
-
}) | ({
|
|
5332
|
+
} | {
|
|
5333
|
+
preVolumePricingPrice: string | null;
|
|
2985
5334
|
storeId: string | null;
|
|
2986
5335
|
product: {
|
|
2987
5336
|
bundleProducts: {
|
|
@@ -3030,7 +5379,7 @@ type APICartCreateResult = {
|
|
|
3030
5379
|
updatedAt: string;
|
|
3031
5380
|
type: "product" | "bundle" | "set";
|
|
3032
5381
|
slug: string;
|
|
3033
|
-
status: "
|
|
5382
|
+
status: "published" | "draft" | "hidden" | null;
|
|
3034
5383
|
flags: unknown;
|
|
3035
5384
|
storeId: string;
|
|
3036
5385
|
summary: string | null;
|
|
@@ -3042,6 +5391,7 @@ type APICartCreateResult = {
|
|
|
3042
5391
|
description?: string | null | undefined;
|
|
3043
5392
|
canonical?: string | null | undefined;
|
|
3044
5393
|
} | null;
|
|
5394
|
+
stripeTaxCode: string | null;
|
|
3045
5395
|
categoryId: string | null;
|
|
3046
5396
|
productTaxRate: {
|
|
3047
5397
|
createdAt: string;
|
|
@@ -3118,13 +5468,14 @@ type APICartCreateResult = {
|
|
|
3118
5468
|
};
|
|
3119
5469
|
};
|
|
3120
5470
|
}[];
|
|
3121
|
-
} & {
|
|
5471
|
+
}) & {
|
|
3122
5472
|
id: string;
|
|
3123
5473
|
price: string;
|
|
3124
5474
|
} & {
|
|
3125
5475
|
prePromotionPrice: undefined;
|
|
5476
|
+
}) | (({
|
|
3126
5477
|
price: string;
|
|
3127
|
-
|
|
5478
|
+
preVolumePricingPrice: string;
|
|
3128
5479
|
storeId: string | null;
|
|
3129
5480
|
product: {
|
|
3130
5481
|
bundleProducts: {
|
|
@@ -3173,7 +5524,7 @@ type APICartCreateResult = {
|
|
|
3173
5524
|
updatedAt: string;
|
|
3174
5525
|
type: "product" | "bundle" | "set";
|
|
3175
5526
|
slug: string;
|
|
3176
|
-
status: "
|
|
5527
|
+
status: "published" | "draft" | "hidden" | null;
|
|
3177
5528
|
flags: unknown;
|
|
3178
5529
|
storeId: string;
|
|
3179
5530
|
summary: string | null;
|
|
@@ -3185,6 +5536,7 @@ type APICartCreateResult = {
|
|
|
3185
5536
|
description?: string | null | undefined;
|
|
3186
5537
|
canonical?: string | null | undefined;
|
|
3187
5538
|
} | null;
|
|
5539
|
+
stripeTaxCode: string | null;
|
|
3188
5540
|
categoryId: string | null;
|
|
3189
5541
|
productTaxRate: {
|
|
3190
5542
|
createdAt: string;
|
|
@@ -3232,7 +5584,6 @@ type APICartCreateResult = {
|
|
|
3232
5584
|
id: string;
|
|
3233
5585
|
createdAt: string;
|
|
3234
5586
|
updatedAt: string;
|
|
3235
|
-
price: string;
|
|
3236
5587
|
images: string[];
|
|
3237
5588
|
sku: string | null;
|
|
3238
5589
|
calculatedPrice: string | null;
|
|
@@ -3261,210 +5612,8 @@ type APICartCreateResult = {
|
|
|
3261
5612
|
};
|
|
3262
5613
|
};
|
|
3263
5614
|
}[];
|
|
3264
|
-
}
|
|
3265
|
-
|
|
3266
|
-
price: string;
|
|
3267
|
-
} & {
|
|
3268
|
-
prePromotionPrice: string | null;
|
|
3269
|
-
});
|
|
3270
|
-
setSelections: {
|
|
3271
|
-
selectedVariant: {
|
|
3272
|
-
combinations: {
|
|
3273
|
-
createdAt: string;
|
|
3274
|
-
updatedAt: string;
|
|
3275
|
-
productVariantId: string;
|
|
3276
|
-
variantValueId: string;
|
|
3277
|
-
variantValue: {
|
|
3278
|
-
id: string;
|
|
3279
|
-
value: string;
|
|
3280
|
-
variantType: {
|
|
3281
|
-
id: string;
|
|
3282
|
-
label: string;
|
|
3283
|
-
};
|
|
3284
|
-
};
|
|
3285
|
-
}[];
|
|
3286
|
-
id: string;
|
|
3287
|
-
price: string;
|
|
3288
|
-
product: {
|
|
3289
|
-
id: string;
|
|
3290
|
-
name: string;
|
|
3291
|
-
};
|
|
3292
|
-
};
|
|
3293
|
-
id: string;
|
|
3294
|
-
createdAt: string;
|
|
3295
|
-
updatedAt: string;
|
|
3296
|
-
position: number;
|
|
3297
|
-
quantity: number;
|
|
3298
|
-
lineItemId: string;
|
|
3299
|
-
selectedVariantId: string;
|
|
3300
|
-
}[];
|
|
3301
|
-
id: string;
|
|
3302
|
-
createdAt: string;
|
|
3303
|
-
updatedAt: string;
|
|
3304
|
-
cartId: string;
|
|
3305
|
-
quantity: number;
|
|
3306
|
-
productVariantId: string;
|
|
3307
|
-
subscriptionPlanId: string | null;
|
|
3308
|
-
subscriptionPlan: {
|
|
3309
|
-
id: string;
|
|
3310
|
-
name: string;
|
|
3311
|
-
createdAt: string;
|
|
3312
|
-
updatedAt: string;
|
|
3313
|
-
interval: number;
|
|
3314
|
-
active: boolean;
|
|
3315
|
-
storeId: string;
|
|
3316
|
-
description: string | null;
|
|
3317
|
-
position: number;
|
|
3318
|
-
cadence: "month" | "week";
|
|
3319
|
-
discountPercent: number;
|
|
3320
|
-
benefits: string | null;
|
|
3321
|
-
} | null;
|
|
3322
|
-
}[];
|
|
3323
|
-
id: string;
|
|
3324
|
-
createdAt: string;
|
|
3325
|
-
updatedAt: string;
|
|
3326
|
-
storeId: string;
|
|
3327
|
-
addonData: Record<string, unknown> | null | undefined;
|
|
3328
|
-
couponId: string | null;
|
|
3329
|
-
customerId: string | null;
|
|
3330
|
-
stripePaymentIntentId: string | null;
|
|
3331
|
-
checkoutSessionId: string | null;
|
|
3332
|
-
shippingId: string | null;
|
|
3333
|
-
shippingAddressId: string | null;
|
|
3334
|
-
billingAddressId: string | null;
|
|
3335
|
-
deliverySlot: unknown;
|
|
3336
|
-
ucpSessionStatus: "incomplete" | "ready_for_complete" | "requires_escalation" | "complete_in_progress" | "completed" | "canceled" | null;
|
|
3337
|
-
ucpMetadata: {
|
|
3338
|
-
buyerEmail?: string;
|
|
3339
|
-
buyerName?: string;
|
|
3340
|
-
buyerPhone?: string;
|
|
3341
|
-
agentId?: string;
|
|
3342
|
-
externalReference?: string;
|
|
3343
|
-
escalationReason?: string;
|
|
3344
|
-
} | null;
|
|
3345
|
-
acpSessionStatus: "completed" | "canceled" | "not_ready_for_payment" | "ready_for_payment" | null;
|
|
3346
|
-
acpMetadata: {
|
|
3347
|
-
buyerEmail?: string;
|
|
3348
|
-
buyerName?: string;
|
|
3349
|
-
buyerPhone?: string;
|
|
3350
|
-
agentId?: string;
|
|
3351
|
-
externalReference?: string;
|
|
3352
|
-
idempotencyKey?: string;
|
|
3353
|
-
} | null;
|
|
3354
|
-
shipping: {
|
|
3355
|
-
id: string;
|
|
3356
|
-
name: string;
|
|
3357
|
-
createdAt: string;
|
|
3358
|
-
updatedAt: string;
|
|
3359
|
-
type: "courier" | "parcel" | "pickup_point" | "in_store";
|
|
3360
|
-
storeId: string;
|
|
3361
|
-
description: string | null;
|
|
3362
|
-
price: string;
|
|
3363
|
-
minShippingTime: number | null;
|
|
3364
|
-
maxShippingTime: number | null;
|
|
3365
|
-
freeShippingThreshold: string | null;
|
|
3366
|
-
position: number | null;
|
|
3367
|
-
addonId: string | null;
|
|
3368
|
-
addonData: unknown;
|
|
3369
|
-
deliverySlots: unknown;
|
|
3370
|
-
countries: string[] | null;
|
|
3371
|
-
shippingAddon: {
|
|
3372
|
-
id: string;
|
|
3373
|
-
name: string;
|
|
3374
|
-
createdAt: string;
|
|
3375
|
-
updatedAt: string;
|
|
3376
|
-
type: "shipping" | "analytics" | "products" | "invoicing" | "orders";
|
|
3377
|
-
storeId: string;
|
|
3378
|
-
} | null;
|
|
3379
|
-
shippingTaxRate: {
|
|
3380
|
-
createdAt: string;
|
|
3381
|
-
updatedAt: string;
|
|
3382
|
-
shippingId: string;
|
|
3383
|
-
taxRateId: string;
|
|
3384
|
-
taxRate: {
|
|
3385
|
-
id: string;
|
|
3386
|
-
name: string;
|
|
3387
|
-
createdAt: string;
|
|
3388
|
-
updatedAt: string;
|
|
3389
|
-
storeId: string;
|
|
3390
|
-
rate: string;
|
|
3391
|
-
};
|
|
3392
|
-
} | null;
|
|
3393
|
-
} | null;
|
|
3394
|
-
coupon: {
|
|
3395
|
-
type: "fixed" | "percentage";
|
|
3396
|
-
value: string;
|
|
3397
|
-
code: string;
|
|
3398
|
-
startDate: string | null;
|
|
3399
|
-
endDate: string | null;
|
|
3400
|
-
minProductCount: number | null;
|
|
3401
|
-
maxProductCount: number | null;
|
|
3402
|
-
products: {
|
|
3403
|
-
id: string;
|
|
3404
|
-
}[];
|
|
3405
|
-
} | null;
|
|
3406
|
-
billingAddress: {
|
|
3407
|
-
id: string;
|
|
3408
|
-
name: string | null;
|
|
3409
|
-
createdAt: string;
|
|
3410
|
-
updatedAt: string;
|
|
3411
|
-
type: "shipping" | "billing" | "merchant";
|
|
3412
|
-
company: string | null;
|
|
3413
|
-
city: string | null;
|
|
3414
|
-
country: string | null;
|
|
3415
|
-
line1: string | null;
|
|
3416
|
-
line2: string | null;
|
|
3417
|
-
postalCode: string | null;
|
|
3418
|
-
state: string | null;
|
|
3419
|
-
phone: string | null;
|
|
3420
|
-
taxId: string | null;
|
|
3421
|
-
} | null;
|
|
3422
|
-
shippingAddress: {
|
|
3423
|
-
id: string;
|
|
3424
|
-
name: string | null;
|
|
3425
|
-
createdAt: string;
|
|
3426
|
-
updatedAt: string;
|
|
3427
|
-
type: "shipping" | "billing" | "merchant";
|
|
3428
|
-
company: string | null;
|
|
3429
|
-
city: string | null;
|
|
3430
|
-
country: string | null;
|
|
3431
|
-
line1: string | null;
|
|
3432
|
-
line2: string | null;
|
|
3433
|
-
postalCode: string | null;
|
|
3434
|
-
state: string | null;
|
|
3435
|
-
phone: string | null;
|
|
3436
|
-
taxId: string | null;
|
|
3437
|
-
} | null;
|
|
3438
|
-
customer: {
|
|
3439
|
-
id: string;
|
|
3440
|
-
email: string | null;
|
|
3441
|
-
createdAt: string;
|
|
3442
|
-
updatedAt: string;
|
|
3443
|
-
userId: string | null;
|
|
3444
|
-
storeId: string;
|
|
3445
|
-
couponId: string | null;
|
|
3446
|
-
user: {
|
|
3447
|
-
id: string;
|
|
3448
|
-
name: string;
|
|
3449
|
-
email: string;
|
|
3450
|
-
} | null;
|
|
3451
|
-
coupon: {
|
|
3452
|
-
type: "fixed" | "percentage";
|
|
3453
|
-
value: string;
|
|
3454
|
-
code: string;
|
|
3455
|
-
startDate: string | null;
|
|
3456
|
-
endDate: string | null;
|
|
3457
|
-
minProductCount: number | null;
|
|
3458
|
-
maxProductCount: number | null;
|
|
3459
|
-
products: {
|
|
3460
|
-
id: string;
|
|
3461
|
-
}[];
|
|
3462
|
-
} | null;
|
|
3463
|
-
} | null;
|
|
3464
|
-
} | null | undefined;
|
|
3465
|
-
type APICartRemoveItemResult = {
|
|
3466
|
-
lineItems: {
|
|
3467
|
-
productVariant: ({
|
|
5615
|
+
} | {
|
|
5616
|
+
preVolumePricingPrice: string | null;
|
|
3468
5617
|
storeId: string | null;
|
|
3469
5618
|
product: {
|
|
3470
5619
|
bundleProducts: {
|
|
@@ -3513,7 +5662,7 @@ type APICartRemoveItemResult = {
|
|
|
3513
5662
|
updatedAt: string;
|
|
3514
5663
|
type: "product" | "bundle" | "set";
|
|
3515
5664
|
slug: string;
|
|
3516
|
-
status: "
|
|
5665
|
+
status: "published" | "draft" | "hidden" | null;
|
|
3517
5666
|
flags: unknown;
|
|
3518
5667
|
storeId: string;
|
|
3519
5668
|
summary: string | null;
|
|
@@ -3525,6 +5674,7 @@ type APICartRemoveItemResult = {
|
|
|
3525
5674
|
description?: string | null | undefined;
|
|
3526
5675
|
canonical?: string | null | undefined;
|
|
3527
5676
|
} | null;
|
|
5677
|
+
stripeTaxCode: string | null;
|
|
3528
5678
|
categoryId: string | null;
|
|
3529
5679
|
productTaxRate: {
|
|
3530
5680
|
createdAt: string;
|
|
@@ -3601,12 +5751,14 @@ type APICartRemoveItemResult = {
|
|
|
3601
5751
|
};
|
|
3602
5752
|
};
|
|
3603
5753
|
}[];
|
|
3604
|
-
} & {
|
|
5754
|
+
}) & {
|
|
3605
5755
|
id: string;
|
|
3606
5756
|
price: string;
|
|
3607
5757
|
} & {
|
|
3608
5758
|
prePromotionPrice: undefined;
|
|
3609
|
-
}) | ({
|
|
5759
|
+
}) | (({
|
|
5760
|
+
price: string;
|
|
5761
|
+
preVolumePricingPrice: string;
|
|
3610
5762
|
storeId: string | null;
|
|
3611
5763
|
product: {
|
|
3612
5764
|
bundleProducts: {
|
|
@@ -3655,7 +5807,7 @@ type APICartRemoveItemResult = {
|
|
|
3655
5807
|
updatedAt: string;
|
|
3656
5808
|
type: "product" | "bundle" | "set";
|
|
3657
5809
|
slug: string;
|
|
3658
|
-
status: "
|
|
5810
|
+
status: "published" | "draft" | "hidden" | null;
|
|
3659
5811
|
flags: unknown;
|
|
3660
5812
|
storeId: string;
|
|
3661
5813
|
summary: string | null;
|
|
@@ -3667,6 +5819,7 @@ type APICartRemoveItemResult = {
|
|
|
3667
5819
|
description?: string | null | undefined;
|
|
3668
5820
|
canonical?: string | null | undefined;
|
|
3669
5821
|
} | null;
|
|
5822
|
+
stripeTaxCode: string | null;
|
|
3670
5823
|
categoryId: string | null;
|
|
3671
5824
|
productTaxRate: {
|
|
3672
5825
|
createdAt: string;
|
|
@@ -3714,7 +5867,6 @@ type APICartRemoveItemResult = {
|
|
|
3714
5867
|
id: string;
|
|
3715
5868
|
createdAt: string;
|
|
3716
5869
|
updatedAt: string;
|
|
3717
|
-
price: string;
|
|
3718
5870
|
images: string[];
|
|
3719
5871
|
sku: string | null;
|
|
3720
5872
|
calculatedPrice: string | null;
|
|
@@ -3743,12 +5895,8 @@ type APICartRemoveItemResult = {
|
|
|
3743
5895
|
};
|
|
3744
5896
|
};
|
|
3745
5897
|
}[];
|
|
3746
|
-
}
|
|
3747
|
-
|
|
3748
|
-
price: string;
|
|
3749
|
-
} & {
|
|
3750
|
-
prePromotionPrice: undefined;
|
|
3751
|
-
}) | ({
|
|
5898
|
+
} | {
|
|
5899
|
+
preVolumePricingPrice: string | null;
|
|
3752
5900
|
storeId: string | null;
|
|
3753
5901
|
product: {
|
|
3754
5902
|
bundleProducts: {
|
|
@@ -3797,7 +5945,7 @@ type APICartRemoveItemResult = {
|
|
|
3797
5945
|
updatedAt: string;
|
|
3798
5946
|
type: "product" | "bundle" | "set";
|
|
3799
5947
|
slug: string;
|
|
3800
|
-
status: "
|
|
5948
|
+
status: "published" | "draft" | "hidden" | null;
|
|
3801
5949
|
flags: unknown;
|
|
3802
5950
|
storeId: string;
|
|
3803
5951
|
summary: string | null;
|
|
@@ -3809,6 +5957,7 @@ type APICartRemoveItemResult = {
|
|
|
3809
5957
|
description?: string | null | undefined;
|
|
3810
5958
|
canonical?: string | null | undefined;
|
|
3811
5959
|
} | null;
|
|
5960
|
+
stripeTaxCode: string | null;
|
|
3812
5961
|
categoryId: string | null;
|
|
3813
5962
|
productTaxRate: {
|
|
3814
5963
|
createdAt: string;
|
|
@@ -3885,12 +6034,15 @@ type APICartRemoveItemResult = {
|
|
|
3885
6034
|
};
|
|
3886
6035
|
};
|
|
3887
6036
|
}[];
|
|
3888
|
-
} & {
|
|
6037
|
+
}) & {
|
|
3889
6038
|
id: string;
|
|
3890
6039
|
price: string;
|
|
3891
6040
|
} & {
|
|
3892
6041
|
prePromotionPrice: undefined;
|
|
3893
|
-
|
|
6042
|
+
price: string;
|
|
6043
|
+
}) | (({
|
|
6044
|
+
price: string;
|
|
6045
|
+
preVolumePricingPrice: string;
|
|
3894
6046
|
storeId: string | null;
|
|
3895
6047
|
product: {
|
|
3896
6048
|
bundleProducts: {
|
|
@@ -3939,7 +6091,7 @@ type APICartRemoveItemResult = {
|
|
|
3939
6091
|
updatedAt: string;
|
|
3940
6092
|
type: "product" | "bundle" | "set";
|
|
3941
6093
|
slug: string;
|
|
3942
|
-
status: "
|
|
6094
|
+
status: "published" | "draft" | "hidden" | null;
|
|
3943
6095
|
flags: unknown;
|
|
3944
6096
|
storeId: string;
|
|
3945
6097
|
summary: string | null;
|
|
@@ -3951,6 +6103,7 @@ type APICartRemoveItemResult = {
|
|
|
3951
6103
|
description?: string | null | undefined;
|
|
3952
6104
|
canonical?: string | null | undefined;
|
|
3953
6105
|
} | null;
|
|
6106
|
+
stripeTaxCode: string | null;
|
|
3954
6107
|
categoryId: string | null;
|
|
3955
6108
|
productTaxRate: {
|
|
3956
6109
|
createdAt: string;
|
|
@@ -3998,7 +6151,6 @@ type APICartRemoveItemResult = {
|
|
|
3998
6151
|
id: string;
|
|
3999
6152
|
createdAt: string;
|
|
4000
6153
|
updatedAt: string;
|
|
4001
|
-
price: string;
|
|
4002
6154
|
images: string[];
|
|
4003
6155
|
sku: string | null;
|
|
4004
6156
|
calculatedPrice: string | null;
|
|
@@ -4027,13 +6179,8 @@ type APICartRemoveItemResult = {
|
|
|
4027
6179
|
};
|
|
4028
6180
|
};
|
|
4029
6181
|
}[];
|
|
4030
|
-
}
|
|
4031
|
-
|
|
4032
|
-
price: string;
|
|
4033
|
-
} & {
|
|
4034
|
-
prePromotionPrice: undefined;
|
|
4035
|
-
price: string;
|
|
4036
|
-
}) | ({
|
|
6182
|
+
} | {
|
|
6183
|
+
preVolumePricingPrice: string | null;
|
|
4037
6184
|
storeId: string | null;
|
|
4038
6185
|
product: {
|
|
4039
6186
|
bundleProducts: {
|
|
@@ -4082,7 +6229,7 @@ type APICartRemoveItemResult = {
|
|
|
4082
6229
|
updatedAt: string;
|
|
4083
6230
|
type: "product" | "bundle" | "set";
|
|
4084
6231
|
slug: string;
|
|
4085
|
-
status: "
|
|
6232
|
+
status: "published" | "draft" | "hidden" | null;
|
|
4086
6233
|
flags: unknown;
|
|
4087
6234
|
storeId: string;
|
|
4088
6235
|
summary: string | null;
|
|
@@ -4094,6 +6241,7 @@ type APICartRemoveItemResult = {
|
|
|
4094
6241
|
description?: string | null | undefined;
|
|
4095
6242
|
canonical?: string | null | undefined;
|
|
4096
6243
|
} | null;
|
|
6244
|
+
stripeTaxCode: string | null;
|
|
4097
6245
|
categoryId: string | null;
|
|
4098
6246
|
productTaxRate: {
|
|
4099
6247
|
createdAt: string;
|
|
@@ -4170,12 +6318,13 @@ type APICartRemoveItemResult = {
|
|
|
4170
6318
|
};
|
|
4171
6319
|
};
|
|
4172
6320
|
}[];
|
|
4173
|
-
} & {
|
|
6321
|
+
}) & {
|
|
4174
6322
|
id: string;
|
|
4175
6323
|
price: string;
|
|
4176
6324
|
} & {
|
|
4177
6325
|
prePromotionPrice: string | null;
|
|
4178
6326
|
});
|
|
6327
|
+
preVolumePricingPrice: string | null;
|
|
4179
6328
|
setSelections: {
|
|
4180
6329
|
selectedVariant: {
|
|
4181
6330
|
combinations: {
|
|
@@ -4446,6 +6595,8 @@ type APIOrdersBrowseResult = {
|
|
|
4446
6595
|
price: string;
|
|
4447
6596
|
originalPrice: string;
|
|
4448
6597
|
calculatedPrice: string | null;
|
|
6598
|
+
prePromotionPrice: string | null;
|
|
6599
|
+
preVolumePricingPrice: string | null;
|
|
4449
6600
|
stock: number | null;
|
|
4450
6601
|
depth: number | null;
|
|
4451
6602
|
width: number | null;
|
|
@@ -4459,7 +6610,7 @@ type APIOrdersBrowseResult = {
|
|
|
4459
6610
|
id: string;
|
|
4460
6611
|
name: string;
|
|
4461
6612
|
slug: string;
|
|
4462
|
-
status: "
|
|
6613
|
+
status: "published" | "draft" | "hidden" | null;
|
|
4463
6614
|
images: string[];
|
|
4464
6615
|
badge: {
|
|
4465
6616
|
content?: string | undefined;
|
|
@@ -4572,6 +6723,7 @@ type APIOrdersBrowseResult = {
|
|
|
4572
6723
|
description?: string | null | undefined;
|
|
4573
6724
|
canonical?: string | null | undefined;
|
|
4574
6725
|
} | null;
|
|
6726
|
+
stripeTaxCode: string | null;
|
|
4575
6727
|
active?: boolean | null | undefined;
|
|
4576
6728
|
};
|
|
4577
6729
|
createdAt: string;
|
|
@@ -4601,9 +6753,9 @@ type APIOrdersBrowseResult = {
|
|
|
4601
6753
|
value: string;
|
|
4602
6754
|
}[] | null;
|
|
4603
6755
|
storeId: string;
|
|
4604
|
-
prePromotionPrice?: string | null | undefined;
|
|
4605
6756
|
};
|
|
4606
6757
|
productVariantId: string;
|
|
6758
|
+
preVolumePricingPrice: string | null;
|
|
4607
6759
|
subscriptionPlanId: string | null;
|
|
4608
6760
|
subscriptionPlan: {
|
|
4609
6761
|
id: string;
|
|
@@ -4775,6 +6927,17 @@ type APIOrdersBrowseResult = {
|
|
|
4775
6927
|
};
|
|
4776
6928
|
tax: number | null;
|
|
4777
6929
|
}> | null;
|
|
6930
|
+
stripeTaxData: {
|
|
6931
|
+
amountTax: number;
|
|
6932
|
+
breakdown?: {
|
|
6933
|
+
amount: number;
|
|
6934
|
+
rate: {
|
|
6935
|
+
displayName: string;
|
|
6936
|
+
percentage: number;
|
|
6937
|
+
jurisdiction?: string | null | undefined;
|
|
6938
|
+
};
|
|
6939
|
+
}[] | null | undefined;
|
|
6940
|
+
} | null;
|
|
4778
6941
|
currency: string | null;
|
|
4779
6942
|
checkoutConsents: {
|
|
4780
6943
|
id: string;
|
|
@@ -4849,6 +7012,8 @@ type APIOrdersBrowseResult = {
|
|
|
4849
7012
|
price: string;
|
|
4850
7013
|
originalPrice: string;
|
|
4851
7014
|
calculatedPrice: string | null;
|
|
7015
|
+
prePromotionPrice: string | null;
|
|
7016
|
+
preVolumePricingPrice: string | null;
|
|
4852
7017
|
stock: number | null;
|
|
4853
7018
|
depth: number | null;
|
|
4854
7019
|
width: number | null;
|
|
@@ -4862,7 +7027,7 @@ type APIOrdersBrowseResult = {
|
|
|
4862
7027
|
id: string;
|
|
4863
7028
|
name: string;
|
|
4864
7029
|
slug: string;
|
|
4865
|
-
status: "
|
|
7030
|
+
status: "published" | "draft" | "hidden" | null;
|
|
4866
7031
|
images: string[];
|
|
4867
7032
|
badge: {
|
|
4868
7033
|
content?: string | undefined;
|
|
@@ -4975,6 +7140,7 @@ type APIOrdersBrowseResult = {
|
|
|
4975
7140
|
description?: string | null | undefined;
|
|
4976
7141
|
canonical?: string | null | undefined;
|
|
4977
7142
|
} | null;
|
|
7143
|
+
stripeTaxCode: string | null;
|
|
4978
7144
|
active?: boolean | null | undefined;
|
|
4979
7145
|
};
|
|
4980
7146
|
createdAt: string;
|
|
@@ -5004,9 +7170,9 @@ type APIOrdersBrowseResult = {
|
|
|
5004
7170
|
value: string;
|
|
5005
7171
|
}[] | null;
|
|
5006
7172
|
storeId: string;
|
|
5007
|
-
prePromotionPrice?: string | null | undefined;
|
|
5008
7173
|
};
|
|
5009
7174
|
productVariantId: string;
|
|
7175
|
+
preVolumePricingPrice: string | null;
|
|
5010
7176
|
subscriptionPlanId: string | null;
|
|
5011
7177
|
subscriptionPlan: {
|
|
5012
7178
|
id: string;
|
|
@@ -5178,6 +7344,17 @@ type APIOrdersBrowseResult = {
|
|
|
5178
7344
|
};
|
|
5179
7345
|
tax: number | null;
|
|
5180
7346
|
}> | null;
|
|
7347
|
+
stripeTaxData: {
|
|
7348
|
+
amountTax: number;
|
|
7349
|
+
breakdown?: {
|
|
7350
|
+
amount: number;
|
|
7351
|
+
rate: {
|
|
7352
|
+
displayName: string;
|
|
7353
|
+
percentage: number;
|
|
7354
|
+
jurisdiction?: string | null | undefined;
|
|
7355
|
+
};
|
|
7356
|
+
}[] | null | undefined;
|
|
7357
|
+
} | null;
|
|
5181
7358
|
currency: string | null;
|
|
5182
7359
|
checkoutConsents: {
|
|
5183
7360
|
id: string;
|
|
@@ -5267,6 +7444,8 @@ type APIOrderGetByIdResult = {
|
|
|
5267
7444
|
price: string;
|
|
5268
7445
|
originalPrice: string;
|
|
5269
7446
|
calculatedPrice: string | null;
|
|
7447
|
+
prePromotionPrice: string | null;
|
|
7448
|
+
preVolumePricingPrice: string | null;
|
|
5270
7449
|
stock: number | null;
|
|
5271
7450
|
depth: number | null;
|
|
5272
7451
|
width: number | null;
|
|
@@ -5280,7 +7459,7 @@ type APIOrderGetByIdResult = {
|
|
|
5280
7459
|
id: string;
|
|
5281
7460
|
name: string;
|
|
5282
7461
|
slug: string;
|
|
5283
|
-
status: "
|
|
7462
|
+
status: "published" | "draft" | "hidden" | null;
|
|
5284
7463
|
images: string[];
|
|
5285
7464
|
badge: {
|
|
5286
7465
|
content?: string | undefined;
|
|
@@ -5393,6 +7572,7 @@ type APIOrderGetByIdResult = {
|
|
|
5393
7572
|
description?: string | null | undefined;
|
|
5394
7573
|
canonical?: string | null | undefined;
|
|
5395
7574
|
} | null;
|
|
7575
|
+
stripeTaxCode: string | null;
|
|
5396
7576
|
active?: boolean | null | undefined;
|
|
5397
7577
|
};
|
|
5398
7578
|
createdAt: string;
|
|
@@ -5422,9 +7602,9 @@ type APIOrderGetByIdResult = {
|
|
|
5422
7602
|
value: string;
|
|
5423
7603
|
}[] | null;
|
|
5424
7604
|
storeId: string;
|
|
5425
|
-
prePromotionPrice?: string | null | undefined;
|
|
5426
7605
|
};
|
|
5427
7606
|
productVariantId: string;
|
|
7607
|
+
preVolumePricingPrice: string | null;
|
|
5428
7608
|
subscriptionPlanId: string | null;
|
|
5429
7609
|
subscriptionPlan: {
|
|
5430
7610
|
id: string;
|
|
@@ -5596,6 +7776,17 @@ type APIOrderGetByIdResult = {
|
|
|
5596
7776
|
};
|
|
5597
7777
|
tax: number | null;
|
|
5598
7778
|
}> | null;
|
|
7779
|
+
stripeTaxData: {
|
|
7780
|
+
amountTax: number;
|
|
7781
|
+
breakdown?: {
|
|
7782
|
+
amount: number;
|
|
7783
|
+
rate: {
|
|
7784
|
+
displayName: string;
|
|
7785
|
+
percentage: number;
|
|
7786
|
+
jurisdiction?: string | null | undefined;
|
|
7787
|
+
};
|
|
7788
|
+
}[] | null | undefined;
|
|
7789
|
+
} | null;
|
|
5599
7790
|
currency: string | null;
|
|
5600
7791
|
checkoutConsents: {
|
|
5601
7792
|
id: string;
|
|
@@ -5703,6 +7894,8 @@ type APIOrderGetByIdResult = {
|
|
|
5703
7894
|
price: string;
|
|
5704
7895
|
originalPrice: string;
|
|
5705
7896
|
calculatedPrice: string | null;
|
|
7897
|
+
prePromotionPrice: string | null;
|
|
7898
|
+
preVolumePricingPrice: string | null;
|
|
5706
7899
|
stock: number | null;
|
|
5707
7900
|
depth: number | null;
|
|
5708
7901
|
width: number | null;
|
|
@@ -5716,7 +7909,7 @@ type APIOrderGetByIdResult = {
|
|
|
5716
7909
|
id: string;
|
|
5717
7910
|
name: string;
|
|
5718
7911
|
slug: string;
|
|
5719
|
-
status: "
|
|
7912
|
+
status: "published" | "draft" | "hidden" | null;
|
|
5720
7913
|
images: string[];
|
|
5721
7914
|
badge: {
|
|
5722
7915
|
content?: string | undefined;
|
|
@@ -5829,6 +8022,7 @@ type APIOrderGetByIdResult = {
|
|
|
5829
8022
|
description?: string | null | undefined;
|
|
5830
8023
|
canonical?: string | null | undefined;
|
|
5831
8024
|
} | null;
|
|
8025
|
+
stripeTaxCode: string | null;
|
|
5832
8026
|
active?: boolean | null | undefined;
|
|
5833
8027
|
};
|
|
5834
8028
|
createdAt: string;
|
|
@@ -5858,9 +8052,9 @@ type APIOrderGetByIdResult = {
|
|
|
5858
8052
|
value: string;
|
|
5859
8053
|
}[] | null;
|
|
5860
8054
|
storeId: string;
|
|
5861
|
-
prePromotionPrice?: string | null | undefined;
|
|
5862
8055
|
};
|
|
5863
8056
|
productVariantId: string;
|
|
8057
|
+
preVolumePricingPrice: string | null;
|
|
5864
8058
|
subscriptionPlanId: string | null;
|
|
5865
8059
|
subscriptionPlan: {
|
|
5866
8060
|
id: string;
|
|
@@ -6032,6 +8226,17 @@ type APIOrderGetByIdResult = {
|
|
|
6032
8226
|
};
|
|
6033
8227
|
tax: number | null;
|
|
6034
8228
|
}> | null;
|
|
8229
|
+
stripeTaxData: {
|
|
8230
|
+
amountTax: number;
|
|
8231
|
+
breakdown?: {
|
|
8232
|
+
amount: number;
|
|
8233
|
+
rate: {
|
|
8234
|
+
displayName: string;
|
|
8235
|
+
percentage: number;
|
|
8236
|
+
jurisdiction?: string | null | undefined;
|
|
8237
|
+
};
|
|
8238
|
+
}[] | null | undefined;
|
|
8239
|
+
} | null;
|
|
6035
8240
|
currency: string | null;
|
|
6036
8241
|
checkoutConsents: {
|
|
6037
8242
|
id: string;
|
|
@@ -6093,7 +8298,7 @@ type APICategoryGetByIdResult = {
|
|
|
6093
8298
|
updatedAt: string;
|
|
6094
8299
|
type: "product" | "bundle" | "set";
|
|
6095
8300
|
slug: string;
|
|
6096
|
-
status: "
|
|
8301
|
+
status: "published" | "draft" | "hidden" | null;
|
|
6097
8302
|
flags: unknown;
|
|
6098
8303
|
storeId: string;
|
|
6099
8304
|
summary: string | null;
|
|
@@ -6105,6 +8310,7 @@ type APICategoryGetByIdResult = {
|
|
|
6105
8310
|
description?: string | null | undefined;
|
|
6106
8311
|
canonical?: string | null | undefined;
|
|
6107
8312
|
} | null;
|
|
8313
|
+
stripeTaxCode: string | null;
|
|
6108
8314
|
categoryId: string | null;
|
|
6109
8315
|
}[];
|
|
6110
8316
|
parent: {
|
|
@@ -6132,7 +8338,7 @@ type APICategoryGetByIdResult = {
|
|
|
6132
8338
|
updatedAt: string;
|
|
6133
8339
|
type: "product" | "bundle" | "set";
|
|
6134
8340
|
slug: string;
|
|
6135
|
-
status: "
|
|
8341
|
+
status: "published" | "draft" | "hidden" | null;
|
|
6136
8342
|
flags: unknown;
|
|
6137
8343
|
storeId: string;
|
|
6138
8344
|
summary: string | null;
|
|
@@ -6144,6 +8350,7 @@ type APICategoryGetByIdResult = {
|
|
|
6144
8350
|
description?: string | null | undefined;
|
|
6145
8351
|
canonical?: string | null | undefined;
|
|
6146
8352
|
} | null;
|
|
8353
|
+
stripeTaxCode: string | null;
|
|
6147
8354
|
categoryId: string | null;
|
|
6148
8355
|
}[];
|
|
6149
8356
|
parent: {
|
|
@@ -6171,7 +8378,7 @@ type APICategoryGetByIdResult = {
|
|
|
6171
8378
|
updatedAt: string;
|
|
6172
8379
|
type: "product" | "bundle" | "set";
|
|
6173
8380
|
slug: string;
|
|
6174
|
-
status: "
|
|
8381
|
+
status: "published" | "draft" | "hidden" | null;
|
|
6175
8382
|
flags: unknown;
|
|
6176
8383
|
storeId: string;
|
|
6177
8384
|
summary: string | null;
|
|
@@ -6183,6 +8390,7 @@ type APICategoryGetByIdResult = {
|
|
|
6183
8390
|
description?: string | null | undefined;
|
|
6184
8391
|
canonical?: string | null | undefined;
|
|
6185
8392
|
} | null;
|
|
8393
|
+
stripeTaxCode: string | null;
|
|
6186
8394
|
categoryId: string | null;
|
|
6187
8395
|
}[];
|
|
6188
8396
|
} | null;
|
|
@@ -6212,7 +8420,7 @@ type APICategoryGetByIdResult = {
|
|
|
6212
8420
|
updatedAt: string;
|
|
6213
8421
|
type: "product" | "bundle" | "set";
|
|
6214
8422
|
slug: string;
|
|
6215
|
-
status: "
|
|
8423
|
+
status: "published" | "draft" | "hidden" | null;
|
|
6216
8424
|
flags: unknown;
|
|
6217
8425
|
storeId: string;
|
|
6218
8426
|
summary: string | null;
|
|
@@ -6224,6 +8432,7 @@ type APICategoryGetByIdResult = {
|
|
|
6224
8432
|
description?: string | null | undefined;
|
|
6225
8433
|
canonical?: string | null | undefined;
|
|
6226
8434
|
} | null;
|
|
8435
|
+
stripeTaxCode: string | null;
|
|
6227
8436
|
categoryId: string | null;
|
|
6228
8437
|
}[];
|
|
6229
8438
|
children: {
|
|
@@ -6251,7 +8460,7 @@ type APICategoryGetByIdResult = {
|
|
|
6251
8460
|
updatedAt: string;
|
|
6252
8461
|
type: "product" | "bundle" | "set";
|
|
6253
8462
|
slug: string;
|
|
6254
|
-
status: "
|
|
8463
|
+
status: "published" | "draft" | "hidden" | null;
|
|
6255
8464
|
flags: unknown;
|
|
6256
8465
|
storeId: string;
|
|
6257
8466
|
summary: string | null;
|
|
@@ -6263,6 +8472,7 @@ type APICategoryGetByIdResult = {
|
|
|
6263
8472
|
description?: string | null | undefined;
|
|
6264
8473
|
canonical?: string | null | undefined;
|
|
6265
8474
|
} | null;
|
|
8475
|
+
stripeTaxCode: string | null;
|
|
6266
8476
|
categoryId: string | null;
|
|
6267
8477
|
}[];
|
|
6268
8478
|
}[];
|
|
@@ -6346,7 +8556,7 @@ type APICollectionGetByIdResult = {
|
|
|
6346
8556
|
updatedAt: string;
|
|
6347
8557
|
type: "product" | "bundle" | "set";
|
|
6348
8558
|
slug: string;
|
|
6349
|
-
status: "
|
|
8559
|
+
status: "published" | "draft" | "hidden" | null;
|
|
6350
8560
|
flags: unknown;
|
|
6351
8561
|
storeId: string;
|
|
6352
8562
|
summary: string | null;
|
|
@@ -6358,6 +8568,7 @@ type APICollectionGetByIdResult = {
|
|
|
6358
8568
|
description?: string | null | undefined;
|
|
6359
8569
|
canonical?: string | null | undefined;
|
|
6360
8570
|
} | null;
|
|
8571
|
+
stripeTaxCode: string | null;
|
|
6361
8572
|
categoryId: string | null;
|
|
6362
8573
|
};
|
|
6363
8574
|
}[];
|
|
@@ -6395,7 +8606,7 @@ type APICollectionGetByIdResult = {
|
|
|
6395
8606
|
updatedAt: string;
|
|
6396
8607
|
type: "product" | "bundle" | "set";
|
|
6397
8608
|
slug: string;
|
|
6398
|
-
status: "
|
|
8609
|
+
status: "published" | "draft" | "hidden" | null;
|
|
6399
8610
|
flags: unknown;
|
|
6400
8611
|
storeId: string;
|
|
6401
8612
|
summary: string | null;
|
|
@@ -6407,6 +8618,7 @@ type APICollectionGetByIdResult = {
|
|
|
6407
8618
|
description?: string | null | undefined;
|
|
6408
8619
|
canonical?: string | null | undefined;
|
|
6409
8620
|
} | null;
|
|
8621
|
+
stripeTaxCode: string | null;
|
|
6410
8622
|
categoryId: string | null;
|
|
6411
8623
|
};
|
|
6412
8624
|
}[];
|
|
@@ -6433,6 +8645,7 @@ type APIMeGetResult = {
|
|
|
6433
8645
|
restockNotifications: boolean;
|
|
6434
8646
|
abandonedCarts: boolean;
|
|
6435
8647
|
newsletterPopup: boolean;
|
|
8648
|
+
stripeTaxes: boolean;
|
|
6436
8649
|
} | null;
|
|
6437
8650
|
storeName?: string | null | undefined;
|
|
6438
8651
|
storeDescription?: string | null | undefined;
|
|
@@ -6548,8 +8761,8 @@ type APIMeGetResult = {
|
|
|
6548
8761
|
type: "revenue-summary" | "orders-summary" | "aov-summary" | "customers-summary" | "revenue-chart" | "order-status" | "customer-retention" | "top-products";
|
|
6549
8762
|
position: number;
|
|
6550
8763
|
size: {
|
|
6551
|
-
width:
|
|
6552
|
-
height:
|
|
8764
|
+
width: 2 | 1 | 3 | 4;
|
|
8765
|
+
height: 2 | 1 | 3 | 4;
|
|
6553
8766
|
};
|
|
6554
8767
|
visible: boolean;
|
|
6555
8768
|
settings?: Record<string, unknown> | undefined;
|
|
@@ -6585,6 +8798,7 @@ type APIMeGetResult = {
|
|
|
6585
8798
|
domain: string | null;
|
|
6586
8799
|
emailDomain: string | null;
|
|
6587
8800
|
emailDomainId: string | null;
|
|
8801
|
+
emailDomainVerified: boolean;
|
|
6588
8802
|
locale: string;
|
|
6589
8803
|
currency: string;
|
|
6590
8804
|
taxBehavior: "inclusive" | "exclusive";
|
|
@@ -6600,6 +8814,7 @@ type APIMeGetResult = {
|
|
|
6600
8814
|
customTransactionFee: string | null;
|
|
6601
8815
|
lastAppliedStoreThemeId: string | null;
|
|
6602
8816
|
builderType: "aibuilder" | "storebuilder";
|
|
8817
|
+
published: boolean;
|
|
6603
8818
|
builderConfig: {
|
|
6604
8819
|
method: "internal";
|
|
6605
8820
|
sandboxId: string;
|
|
@@ -6643,7 +8858,7 @@ type APIMeGetResult = {
|
|
|
6643
8858
|
radius: string;
|
|
6644
8859
|
} | undefined;
|
|
6645
8860
|
} | undefined;
|
|
6646
|
-
|
|
8861
|
+
maxMode?: boolean | undefined;
|
|
6647
8862
|
} | null;
|
|
6648
8863
|
appSumoLicenseKey: string | null;
|
|
6649
8864
|
appSumoLicense: {
|
|
@@ -7159,5 +9374,27 @@ type APISearchQueryParams = {
|
|
|
7159
9374
|
limit?: number;
|
|
7160
9375
|
offset?: number;
|
|
7161
9376
|
};
|
|
9377
|
+
type APIProductReviewsBrowseResult = {
|
|
9378
|
+
data: {
|
|
9379
|
+
id: string;
|
|
9380
|
+
author: string;
|
|
9381
|
+
content: string;
|
|
9382
|
+
rating: number;
|
|
9383
|
+
createdAt: string;
|
|
9384
|
+
}[];
|
|
9385
|
+
meta: {
|
|
9386
|
+
count: number;
|
|
9387
|
+
offset: number;
|
|
9388
|
+
limit: number;
|
|
9389
|
+
};
|
|
9390
|
+
summary: {
|
|
9391
|
+
averageRating: number;
|
|
9392
|
+
reviewCount: number;
|
|
9393
|
+
};
|
|
9394
|
+
};
|
|
9395
|
+
type APIProductReviewsBrowseQueryParams = {
|
|
9396
|
+
offset?: number;
|
|
9397
|
+
limit?: number;
|
|
9398
|
+
};
|
|
7162
9399
|
|
|
7163
|
-
export type { APICartAddBody, APICartAddResult, APICartCreateBody, APICartCreateResult, APICartGetResult, APICartRemoveItemQueryParams, APICartRemoveItemResult, APICategoriesBrowseQueryParams, APICategoriesBrowseResult, APICategoryCreateBody, APICategoryCreateResult, APICategoryGetByIdParams, APICategoryGetByIdResult, APICategoryUpdateBody, APICategoryUpdateResult, APICollectionCreateBody, APICollectionCreateResult, APICollectionGetByIdParams, APICollectionGetByIdResult, APICollectionsBrowseQueryParams, APICollectionsBrowseResult, APICustomerAddressCreateBody, APICustomerAddressCreateResult, APICustomerGetByIdParams, APICustomerGetByIdResult, APICustomerOrdersBrowseQueryParams, APICustomerOrdersBrowseResult, APICustomerUpdateBody, APICustomerUpdateResult, APICustomersBrowseQueryParams, APICustomersBrowseResult, APIInventoryAdjustBody, APIInventoryAdjustResult, APIInventoryBrowseQueryParams, APIInventoryBrowseResult, APILegalPageGetByPathResult, APILegalPagesBrowseResult, APIMeGetResult, APIOrderGetByIdParams, APIOrderGetByIdResult, APIOrderUpdateBody, APIOrderUpdateResult, APIOrdersBrowseQueryParams, APIOrdersBrowseResult, APIPostCreateBody, APIPostCreateResult, APIPostDeleteResult, APIPostGetByIdParams, APIPostGetByIdResult, APIPostUpdateBody, APIPostUpdateResult, APIPostsBrowseQueryParams, APIPostsBrowseResult, APIProductCreateBody, APIProductCreateResult, APIProductDeleteResult, APIProductGetByIdParams, APIProductGetByIdResult, APIProductUpdateBody, APIProductUpdateResult, APIProductsBrowseQueryParams, APIProductsBrowseResult, APISearchQueryParams, APISearchResult, APISubscriberCreateBody, APISubscriberCreateResult, APISubscriberDeleteResult, APIVariantCreateBody, APIVariantCreateResult, APIVariantGetByIdParams, APIVariantGetByIdResult, APIVariantUpdateBody, APIVariantUpdateResult, JSONContent };
|
|
9400
|
+
export type { APICartAddBody, APICartAddResult, APICartCreateBody, APICartCreateResult, APICartGetResult, APICartRemoveItemQueryParams, APICartRemoveItemResult, APICategoriesBrowseQueryParams, APICategoriesBrowseResult, APICategoryCreateBody, APICategoryCreateResult, APICategoryGetByIdParams, APICategoryGetByIdResult, APICategoryUpdateBody, APICategoryUpdateResult, APICollectionCreateBody, APICollectionCreateResult, APICollectionGetByIdParams, APICollectionGetByIdResult, APICollectionsBrowseQueryParams, APICollectionsBrowseResult, APICustomerAddressCreateBody, APICustomerAddressCreateResult, APICustomerGetByIdParams, APICustomerGetByIdResult, APICustomerOrdersBrowseQueryParams, APICustomerOrdersBrowseResult, APICustomerUpdateBody, APICustomerUpdateResult, APICustomersBrowseQueryParams, APICustomersBrowseResult, APIInventoryAdjustBody, APIInventoryAdjustResult, APIInventoryBrowseQueryParams, APIInventoryBrowseResult, APILegalPageGetByPathResult, APILegalPagesBrowseResult, APIMeGetResult, APIOrderGetByIdParams, APIOrderGetByIdResult, APIOrderUpdateBody, APIOrderUpdateResult, APIOrdersBrowseQueryParams, APIOrdersBrowseResult, APIPostCreateBody, APIPostCreateResult, APIPostDeleteResult, APIPostGetByIdParams, APIPostGetByIdResult, APIPostUpdateBody, APIPostUpdateResult, APIPostsBrowseQueryParams, APIPostsBrowseResult, APIProductCreateBody, APIProductCreateResult, APIProductDeleteResult, APIProductGetByIdParams, APIProductGetByIdResult, APIProductReviewsBrowseQueryParams, APIProductReviewsBrowseResult, APIProductUpdateBody, APIProductUpdateResult, APIProductsBrowseQueryParams, APIProductsBrowseResult, APISearchQueryParams, APISearchResult, APISubscriberCreateBody, APISubscriberCreateResult, APISubscriberDeleteResult, APIVariantCreateBody, APIVariantCreateResult, APIVariantGetByIdParams, APIVariantGetByIdResult, APIVariantUpdateBody, APIVariantUpdateResult, JSONContent };
|