commerce-kit 0.55.0 → 0.56.1
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 +1148 -1510
- package/dist/index.d.ts +1 -1
- package/package.json +2 -7
package/dist/api-types.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
type JSONContent = Record<string, unknown>;
|
|
2
2
|
type APIProductsBrowseResult = Omit<{
|
|
3
|
-
data: (
|
|
3
|
+
data: ({
|
|
4
|
+
matchedVariantIds?: string[] | undefined;
|
|
5
|
+
bundleGroups: {
|
|
6
|
+
id: string;
|
|
7
|
+
minQuantity: number;
|
|
8
|
+
maxQuantity: number | null;
|
|
9
|
+
allowDuplicates: boolean;
|
|
10
|
+
}[];
|
|
4
11
|
id: string;
|
|
5
12
|
name: string;
|
|
6
13
|
createdAt: string;
|
|
@@ -121,6 +128,7 @@ type APIProductsBrowseResult = Omit<{
|
|
|
121
128
|
externalId: string | null;
|
|
122
129
|
productId: string;
|
|
123
130
|
attributes: unknown;
|
|
131
|
+
cost: string | null;
|
|
124
132
|
originalPrice: string;
|
|
125
133
|
product: {
|
|
126
134
|
id: string;
|
|
@@ -234,7 +242,12 @@ type APIProductsBrowseResult = Omit<{
|
|
|
234
242
|
calculatedPrice: string | null;
|
|
235
243
|
variantId: string;
|
|
236
244
|
}[];
|
|
237
|
-
}[]
|
|
245
|
+
}[] & ({
|
|
246
|
+
id: string;
|
|
247
|
+
price: string;
|
|
248
|
+
} & {
|
|
249
|
+
prePromotionPrice: string | null;
|
|
250
|
+
})[];
|
|
238
251
|
subscriptionPlanProducts: {
|
|
239
252
|
createdAt: string;
|
|
240
253
|
updatedAt: string;
|
|
@@ -256,14 +269,14 @@ type APIProductsBrowseResult = Omit<{
|
|
|
256
269
|
benefits: string | null;
|
|
257
270
|
};
|
|
258
271
|
}[];
|
|
259
|
-
}
|
|
260
|
-
|
|
272
|
+
} | {
|
|
273
|
+
matchedVariantIds?: string[] | undefined;
|
|
274
|
+
bundleGroups: {
|
|
261
275
|
id: string;
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
}
|
|
266
|
-
}) | ({
|
|
276
|
+
minQuantity: number;
|
|
277
|
+
maxQuantity: number | null;
|
|
278
|
+
allowDuplicates: boolean;
|
|
279
|
+
}[];
|
|
267
280
|
id: string;
|
|
268
281
|
name: string;
|
|
269
282
|
createdAt: string;
|
|
@@ -384,6 +397,7 @@ type APIProductsBrowseResult = Omit<{
|
|
|
384
397
|
externalId: string | null;
|
|
385
398
|
productId: string;
|
|
386
399
|
attributes: unknown;
|
|
400
|
+
cost: string | null;
|
|
387
401
|
originalPrice: string;
|
|
388
402
|
product: {
|
|
389
403
|
id: string;
|
|
@@ -497,7 +511,12 @@ type APIProductsBrowseResult = Omit<{
|
|
|
497
511
|
calculatedPrice: string | null;
|
|
498
512
|
variantId: string;
|
|
499
513
|
}[];
|
|
500
|
-
}[]
|
|
514
|
+
}[] & ({
|
|
515
|
+
id: string;
|
|
516
|
+
price: string;
|
|
517
|
+
} & {
|
|
518
|
+
prePromotionPrice: string | null;
|
|
519
|
+
})[];
|
|
501
520
|
subscriptionPlanProducts: {
|
|
502
521
|
createdAt: string;
|
|
503
522
|
updatedAt: string;
|
|
@@ -519,14 +538,14 @@ type APIProductsBrowseResult = Omit<{
|
|
|
519
538
|
benefits: string | null;
|
|
520
539
|
};
|
|
521
540
|
}[];
|
|
522
|
-
}
|
|
523
|
-
|
|
541
|
+
} | {
|
|
542
|
+
matchedVariantIds?: string[] | undefined;
|
|
543
|
+
bundleGroups: {
|
|
524
544
|
id: string;
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
}
|
|
529
|
-
}) | ({
|
|
545
|
+
minQuantity: number;
|
|
546
|
+
maxQuantity: number | null;
|
|
547
|
+
allowDuplicates: boolean;
|
|
548
|
+
}[];
|
|
530
549
|
id: string;
|
|
531
550
|
name: string;
|
|
532
551
|
createdAt: string;
|
|
@@ -647,6 +666,7 @@ type APIProductsBrowseResult = Omit<{
|
|
|
647
666
|
externalId: string | null;
|
|
648
667
|
productId: string;
|
|
649
668
|
attributes: unknown;
|
|
669
|
+
cost: string | null;
|
|
650
670
|
originalPrice: string;
|
|
651
671
|
product: {
|
|
652
672
|
id: string;
|
|
@@ -760,7 +780,12 @@ type APIProductsBrowseResult = Omit<{
|
|
|
760
780
|
calculatedPrice: string | null;
|
|
761
781
|
variantId: string;
|
|
762
782
|
}[];
|
|
763
|
-
}[]
|
|
783
|
+
}[] & ({
|
|
784
|
+
id: string;
|
|
785
|
+
price: string;
|
|
786
|
+
} & {
|
|
787
|
+
prePromotionPrice: string | null;
|
|
788
|
+
})[];
|
|
764
789
|
subscriptionPlanProducts: {
|
|
765
790
|
createdAt: string;
|
|
766
791
|
updatedAt: string;
|
|
@@ -782,14 +807,14 @@ type APIProductsBrowseResult = Omit<{
|
|
|
782
807
|
benefits: string | null;
|
|
783
808
|
};
|
|
784
809
|
}[];
|
|
785
|
-
}
|
|
786
|
-
|
|
810
|
+
} | {
|
|
811
|
+
matchedVariantIds?: string[] | undefined;
|
|
812
|
+
bundleGroups: {
|
|
787
813
|
id: string;
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
}
|
|
792
|
-
}) | ({
|
|
814
|
+
minQuantity: number;
|
|
815
|
+
maxQuantity: number | null;
|
|
816
|
+
allowDuplicates: boolean;
|
|
817
|
+
}[];
|
|
793
818
|
id: string;
|
|
794
819
|
name: string;
|
|
795
820
|
createdAt: string;
|
|
@@ -910,6 +935,7 @@ type APIProductsBrowseResult = Omit<{
|
|
|
910
935
|
externalId: string | null;
|
|
911
936
|
productId: string;
|
|
912
937
|
attributes: unknown;
|
|
938
|
+
cost: string | null;
|
|
913
939
|
originalPrice: string;
|
|
914
940
|
product: {
|
|
915
941
|
id: string;
|
|
@@ -1023,7 +1049,14 @@ type APIProductsBrowseResult = Omit<{
|
|
|
1023
1049
|
calculatedPrice: string | null;
|
|
1024
1050
|
variantId: string;
|
|
1025
1051
|
}[];
|
|
1026
|
-
}[]
|
|
1052
|
+
}[] & ({
|
|
1053
|
+
id: string;
|
|
1054
|
+
price: string;
|
|
1055
|
+
} & {
|
|
1056
|
+
price: string;
|
|
1057
|
+
} & {
|
|
1058
|
+
prePromotionPrice: string | null;
|
|
1059
|
+
})[];
|
|
1027
1060
|
subscriptionPlanProducts: {
|
|
1028
1061
|
createdAt: string;
|
|
1029
1062
|
updatedAt: string;
|
|
@@ -1045,16 +1078,14 @@ type APIProductsBrowseResult = Omit<{
|
|
|
1045
1078
|
benefits: string | null;
|
|
1046
1079
|
};
|
|
1047
1080
|
}[];
|
|
1048
|
-
}
|
|
1049
|
-
|
|
1081
|
+
} | {
|
|
1082
|
+
matchedVariantIds?: string[] | undefined;
|
|
1083
|
+
bundleGroups: {
|
|
1050
1084
|
id: string;
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
}
|
|
1055
|
-
prePromotionPrice: string | null;
|
|
1056
|
-
})[];
|
|
1057
|
-
}) | ({
|
|
1085
|
+
minQuantity: number;
|
|
1086
|
+
maxQuantity: number | null;
|
|
1087
|
+
allowDuplicates: boolean;
|
|
1088
|
+
}[];
|
|
1058
1089
|
id: string;
|
|
1059
1090
|
name: string;
|
|
1060
1091
|
createdAt: string;
|
|
@@ -1175,6 +1206,7 @@ type APIProductsBrowseResult = Omit<{
|
|
|
1175
1206
|
externalId: string | null;
|
|
1176
1207
|
productId: string;
|
|
1177
1208
|
attributes: unknown;
|
|
1209
|
+
cost: string | null;
|
|
1178
1210
|
originalPrice: string;
|
|
1179
1211
|
product: {
|
|
1180
1212
|
id: string;
|
|
@@ -1288,7 +1320,12 @@ type APIProductsBrowseResult = Omit<{
|
|
|
1288
1320
|
calculatedPrice: string | null;
|
|
1289
1321
|
variantId: string;
|
|
1290
1322
|
}[];
|
|
1291
|
-
}[]
|
|
1323
|
+
}[] & ({
|
|
1324
|
+
id: string;
|
|
1325
|
+
price: string;
|
|
1326
|
+
} & {
|
|
1327
|
+
prePromotionPrice: string | null;
|
|
1328
|
+
})[];
|
|
1292
1329
|
subscriptionPlanProducts: {
|
|
1293
1330
|
createdAt: string;
|
|
1294
1331
|
updatedAt: string;
|
|
@@ -1310,14 +1347,7 @@ type APIProductsBrowseResult = Omit<{
|
|
|
1310
1347
|
benefits: string | null;
|
|
1311
1348
|
};
|
|
1312
1349
|
}[];
|
|
1313
|
-
}
|
|
1314
|
-
variants: ({
|
|
1315
|
-
id: string;
|
|
1316
|
-
price: string;
|
|
1317
|
-
} & {
|
|
1318
|
-
prePromotionPrice: string | null;
|
|
1319
|
-
})[];
|
|
1320
|
-
}))[];
|
|
1350
|
+
})[];
|
|
1321
1351
|
meta: {
|
|
1322
1352
|
count: number;
|
|
1323
1353
|
countPublished: number;
|
|
@@ -1327,33 +1357,77 @@ type APIProductsBrowseResult = Omit<{
|
|
|
1327
1357
|
};
|
|
1328
1358
|
}, "data"> & {
|
|
1329
1359
|
data: Array<{
|
|
1330
|
-
|
|
1360
|
+
matchedVariantIds?: string[] | undefined;
|
|
1361
|
+
bundleGroups: {
|
|
1362
|
+
id: string;
|
|
1363
|
+
minQuantity: number;
|
|
1364
|
+
maxQuantity: number | null;
|
|
1365
|
+
allowDuplicates: boolean;
|
|
1366
|
+
}[];
|
|
1367
|
+
id: string;
|
|
1368
|
+
name: string;
|
|
1369
|
+
createdAt: string;
|
|
1370
|
+
updatedAt: string;
|
|
1371
|
+
type: "set" | "product" | "bundle";
|
|
1372
|
+
slug: string;
|
|
1373
|
+
status: "published" | "draft" | "hidden" | null;
|
|
1374
|
+
flags: unknown;
|
|
1375
|
+
storeId: string;
|
|
1376
|
+
summary: string | null;
|
|
1377
|
+
content: JSONContent | null;
|
|
1378
|
+
images: string[];
|
|
1379
|
+
badge: unknown;
|
|
1380
|
+
bundleDiscountPercentage: string | null;
|
|
1381
|
+
bundlePriceMode: "fixed" | "percent" | "amount";
|
|
1382
|
+
bundleFixedPriceAmount: string | null;
|
|
1383
|
+
bundleAmountOffAmount: string | null;
|
|
1384
|
+
seo: {
|
|
1385
|
+
title?: string | null | undefined;
|
|
1386
|
+
description?: string | null | undefined;
|
|
1387
|
+
canonical?: string | null | undefined;
|
|
1388
|
+
} | null;
|
|
1389
|
+
stripeTaxCode: string | null;
|
|
1390
|
+
categoryId: string | null;
|
|
1391
|
+
brandId: string | null;
|
|
1392
|
+
category: {
|
|
1331
1393
|
id: string;
|
|
1332
1394
|
name: string;
|
|
1395
|
+
image: string | null;
|
|
1333
1396
|
createdAt: string;
|
|
1334
1397
|
updatedAt: string;
|
|
1335
|
-
type: "set" | "product" | "bundle";
|
|
1336
1398
|
slug: string;
|
|
1337
|
-
|
|
1338
|
-
flags: unknown;
|
|
1399
|
+
active: boolean;
|
|
1339
1400
|
storeId: string;
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
images: string[];
|
|
1343
|
-
badge: unknown;
|
|
1344
|
-
bundleDiscountPercentage: string | null;
|
|
1345
|
-
bundlePriceMode: "fixed" | "percent" | "amount";
|
|
1346
|
-
bundleFixedPriceAmount: string | null;
|
|
1347
|
-
bundleAmountOffAmount: string | null;
|
|
1401
|
+
description: JSONContent | null;
|
|
1402
|
+
position: string;
|
|
1348
1403
|
seo: {
|
|
1349
1404
|
title?: string | null | undefined;
|
|
1350
1405
|
description?: string | null | undefined;
|
|
1351
1406
|
canonical?: string | null | undefined;
|
|
1352
1407
|
} | null;
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1408
|
+
longDescription: JSONContent | null;
|
|
1409
|
+
parentId: string | null;
|
|
1410
|
+
} | null;
|
|
1411
|
+
productTaxRate: {
|
|
1412
|
+
createdAt: string;
|
|
1413
|
+
updatedAt: string;
|
|
1414
|
+
taxRateId: string;
|
|
1415
|
+
productId: string;
|
|
1416
|
+
taxRate: {
|
|
1417
|
+
id: string;
|
|
1418
|
+
name: string;
|
|
1419
|
+
createdAt: string;
|
|
1420
|
+
updatedAt: string;
|
|
1421
|
+
storeId: string;
|
|
1422
|
+
rate: string;
|
|
1423
|
+
label: string | null;
|
|
1424
|
+
};
|
|
1425
|
+
} | null;
|
|
1426
|
+
productCollections: {
|
|
1427
|
+
position: string | null;
|
|
1428
|
+
productId: string;
|
|
1429
|
+
collectionId: string;
|
|
1430
|
+
collection: {
|
|
1357
1431
|
id: string;
|
|
1358
1432
|
name: string;
|
|
1359
1433
|
image: string | null;
|
|
@@ -1361,181 +1435,101 @@ type APIProductsBrowseResult = Omit<{
|
|
|
1361
1435
|
updatedAt: string;
|
|
1362
1436
|
slug: string;
|
|
1363
1437
|
active: boolean;
|
|
1438
|
+
filter: {
|
|
1439
|
+
type: "manual";
|
|
1440
|
+
} | {
|
|
1441
|
+
type: "dynamicPrice";
|
|
1442
|
+
min?: number | null | undefined;
|
|
1443
|
+
max?: number | null | undefined;
|
|
1444
|
+
} | {
|
|
1445
|
+
type: "variantValues";
|
|
1446
|
+
values: Record<string, string[]>;
|
|
1447
|
+
} | {
|
|
1448
|
+
type: "newest";
|
|
1449
|
+
days?: number | null | undefined;
|
|
1450
|
+
};
|
|
1364
1451
|
storeId: string;
|
|
1365
1452
|
description: JSONContent | null;
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1453
|
+
};
|
|
1454
|
+
}[];
|
|
1455
|
+
bundleProducts: {
|
|
1456
|
+
createdAt: string;
|
|
1457
|
+
updatedAt: string;
|
|
1458
|
+
position: number;
|
|
1459
|
+
bundleId: string;
|
|
1460
|
+
maxQuantity: number | null;
|
|
1461
|
+
quantity: number;
|
|
1462
|
+
variantId: string;
|
|
1463
|
+
groupId: string | null;
|
|
1464
|
+
forced: boolean;
|
|
1465
|
+
defaultSelected: boolean;
|
|
1466
|
+
variant: {
|
|
1467
|
+
id: string;
|
|
1376
1468
|
createdAt: string;
|
|
1377
1469
|
updatedAt: string;
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1470
|
+
storeId: string;
|
|
1471
|
+
description: string | null;
|
|
1472
|
+
price: string;
|
|
1473
|
+
images: string[];
|
|
1474
|
+
sku: string | null;
|
|
1475
|
+
barcode: string | null;
|
|
1476
|
+
calculatedPrice: string | null;
|
|
1477
|
+
stock: number | null;
|
|
1478
|
+
depth: number | null;
|
|
1479
|
+
width: number | null;
|
|
1480
|
+
height: number | null;
|
|
1481
|
+
weight: number | null;
|
|
1482
|
+
digital: string[] | null;
|
|
1483
|
+
shippable: boolean;
|
|
1484
|
+
externalId: string | null;
|
|
1392
1485
|
productId: string;
|
|
1393
|
-
|
|
1394
|
-
|
|
1486
|
+
attributes: unknown;
|
|
1487
|
+
cost: string | null;
|
|
1488
|
+
originalPrice: string;
|
|
1489
|
+
product: {
|
|
1395
1490
|
id: string;
|
|
1396
1491
|
name: string;
|
|
1397
|
-
image: string | null;
|
|
1398
|
-
createdAt: string;
|
|
1399
|
-
updatedAt: string;
|
|
1400
1492
|
slug: string;
|
|
1401
|
-
active: boolean;
|
|
1402
|
-
filter: {
|
|
1403
|
-
type: "manual";
|
|
1404
|
-
} | {
|
|
1405
|
-
type: "dynamicPrice";
|
|
1406
|
-
min?: number | null | undefined;
|
|
1407
|
-
max?: number | null | undefined;
|
|
1408
|
-
} | {
|
|
1409
|
-
type: "variantValues";
|
|
1410
|
-
values: Record<string, string[]>;
|
|
1411
|
-
} | {
|
|
1412
|
-
type: "newest";
|
|
1413
|
-
days?: number | null | undefined;
|
|
1414
|
-
};
|
|
1415
|
-
storeId: string;
|
|
1416
|
-
description: JSONContent | null;
|
|
1417
|
-
};
|
|
1418
|
-
}[];
|
|
1419
|
-
bundleProducts: {
|
|
1420
|
-
createdAt: string;
|
|
1421
|
-
updatedAt: string;
|
|
1422
|
-
position: number;
|
|
1423
|
-
bundleId: string;
|
|
1424
|
-
maxQuantity: number | null;
|
|
1425
|
-
quantity: number;
|
|
1426
|
-
variantId: string;
|
|
1427
|
-
groupId: string | null;
|
|
1428
|
-
forced: boolean;
|
|
1429
|
-
defaultSelected: boolean;
|
|
1430
|
-
variant: {
|
|
1431
|
-
id: string;
|
|
1432
|
-
createdAt: string;
|
|
1433
|
-
updatedAt: string;
|
|
1434
|
-
storeId: string;
|
|
1435
|
-
description: string | null;
|
|
1436
|
-
price: string;
|
|
1437
1493
|
images: string[];
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
height: number | null;
|
|
1445
|
-
weight: number | null;
|
|
1446
|
-
digital: string[] | null;
|
|
1447
|
-
shippable: boolean;
|
|
1448
|
-
externalId: string | null;
|
|
1449
|
-
productId: string;
|
|
1450
|
-
attributes: unknown;
|
|
1451
|
-
originalPrice: string;
|
|
1452
|
-
product: {
|
|
1453
|
-
id: string;
|
|
1454
|
-
name: string;
|
|
1455
|
-
slug: string;
|
|
1456
|
-
images: string[];
|
|
1457
|
-
productTaxRate: {
|
|
1458
|
-
createdAt: string;
|
|
1459
|
-
updatedAt: string;
|
|
1460
|
-
taxRateId: string;
|
|
1461
|
-
productId: string;
|
|
1462
|
-
taxRate: {
|
|
1463
|
-
id: string;
|
|
1464
|
-
name: string;
|
|
1465
|
-
createdAt: string;
|
|
1466
|
-
updatedAt: string;
|
|
1467
|
-
storeId: string;
|
|
1468
|
-
rate: string;
|
|
1469
|
-
label: string | null;
|
|
1470
|
-
};
|
|
1471
|
-
} | null;
|
|
1472
|
-
variants: {
|
|
1494
|
+
productTaxRate: {
|
|
1495
|
+
createdAt: string;
|
|
1496
|
+
updatedAt: string;
|
|
1497
|
+
taxRateId: string;
|
|
1498
|
+
productId: string;
|
|
1499
|
+
taxRate: {
|
|
1473
1500
|
id: string;
|
|
1501
|
+
name: string;
|
|
1474
1502
|
createdAt: string;
|
|
1475
1503
|
updatedAt: string;
|
|
1476
1504
|
storeId: string;
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
stock: number | null;
|
|
1484
|
-
depth: number | null;
|
|
1485
|
-
width: number | null;
|
|
1486
|
-
height: number | null;
|
|
1487
|
-
weight: number | null;
|
|
1488
|
-
digital: string[] | null;
|
|
1489
|
-
shippable: boolean;
|
|
1490
|
-
externalId: string | null;
|
|
1491
|
-
productId: string;
|
|
1492
|
-
attributes: unknown;
|
|
1493
|
-
originalPrice: string;
|
|
1494
|
-
}[];
|
|
1495
|
-
};
|
|
1496
|
-
combinations: {
|
|
1505
|
+
rate: string;
|
|
1506
|
+
label: string | null;
|
|
1507
|
+
};
|
|
1508
|
+
} | null;
|
|
1509
|
+
variants: {
|
|
1510
|
+
id: string;
|
|
1497
1511
|
createdAt: string;
|
|
1498
1512
|
updatedAt: string;
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1513
|
+
storeId: string;
|
|
1514
|
+
description: string | null;
|
|
1515
|
+
price: string;
|
|
1516
|
+
images: string[];
|
|
1517
|
+
sku: string | null;
|
|
1518
|
+
barcode: string | null;
|
|
1519
|
+
calculatedPrice: string | null;
|
|
1520
|
+
stock: number | null;
|
|
1521
|
+
depth: number | null;
|
|
1522
|
+
width: number | null;
|
|
1523
|
+
height: number | null;
|
|
1524
|
+
weight: number | null;
|
|
1525
|
+
digital: string[] | null;
|
|
1526
|
+
shippable: boolean;
|
|
1527
|
+
externalId: string | null;
|
|
1528
|
+
productId: string;
|
|
1529
|
+
attributes: unknown;
|
|
1530
|
+
originalPrice: string;
|
|
1511
1531
|
}[];
|
|
1512
1532
|
};
|
|
1513
|
-
}[];
|
|
1514
|
-
tr: {
|
|
1515
|
-
locale: string;
|
|
1516
|
-
}[];
|
|
1517
|
-
variants: {
|
|
1518
|
-
id: string;
|
|
1519
|
-
createdAt: string;
|
|
1520
|
-
updatedAt: string;
|
|
1521
|
-
storeId: string;
|
|
1522
|
-
description: string | null;
|
|
1523
|
-
price: string;
|
|
1524
|
-
images: string[];
|
|
1525
|
-
sku: string | null;
|
|
1526
|
-
barcode: string | null;
|
|
1527
|
-
calculatedPrice: string | null;
|
|
1528
|
-
stock: number | null;
|
|
1529
|
-
depth: number | null;
|
|
1530
|
-
width: number | null;
|
|
1531
|
-
height: number | null;
|
|
1532
|
-
weight: number | null;
|
|
1533
|
-
digital: string[] | null;
|
|
1534
|
-
shippable: boolean;
|
|
1535
|
-
externalId: string | null;
|
|
1536
|
-
productId: string;
|
|
1537
|
-
attributes: unknown;
|
|
1538
|
-
originalPrice: string;
|
|
1539
1533
|
combinations: {
|
|
1540
1534
|
createdAt: string;
|
|
1541
1535
|
updatedAt: string;
|
|
@@ -1552,1107 +1546,192 @@ type APIProductsBrowseResult = Omit<{
|
|
|
1552
1546
|
};
|
|
1553
1547
|
};
|
|
1554
1548
|
}[];
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1549
|
+
};
|
|
1550
|
+
}[];
|
|
1551
|
+
tr: {
|
|
1552
|
+
locale: string;
|
|
1553
|
+
}[];
|
|
1554
|
+
variants: Omit<({
|
|
1555
|
+
id: string;
|
|
1556
|
+
createdAt: string;
|
|
1557
|
+
updatedAt: string;
|
|
1558
|
+
storeId: string;
|
|
1559
|
+
description: string | null;
|
|
1560
|
+
price: string;
|
|
1561
|
+
images: string[];
|
|
1562
|
+
sku: string | null;
|
|
1563
|
+
barcode: string | null;
|
|
1564
|
+
calculatedPrice: string | null;
|
|
1565
|
+
stock: number | null;
|
|
1566
|
+
depth: number | null;
|
|
1567
|
+
width: number | null;
|
|
1568
|
+
height: number | null;
|
|
1569
|
+
weight: number | null;
|
|
1570
|
+
digital: string[] | null;
|
|
1571
|
+
shippable: boolean;
|
|
1572
|
+
externalId: string | null;
|
|
1573
|
+
productId: string;
|
|
1574
|
+
attributes: unknown;
|
|
1575
|
+
originalPrice: string;
|
|
1576
|
+
combinations: {
|
|
1566
1577
|
createdAt: string;
|
|
1567
1578
|
updatedAt: string;
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
subscriptionPlan: {
|
|
1579
|
+
productVariantId: string;
|
|
1580
|
+
variantValueId: string;
|
|
1581
|
+
variantValue: {
|
|
1572
1582
|
id: string;
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
position: number;
|
|
1581
|
-
cadence: "month" | "week";
|
|
1582
|
-
discountPercent: number;
|
|
1583
|
-
benefits: string | null;
|
|
1583
|
+
value: string;
|
|
1584
|
+
colorValue: string | null;
|
|
1585
|
+
variantType: {
|
|
1586
|
+
id: string;
|
|
1587
|
+
type: "string" | "color";
|
|
1588
|
+
label: string;
|
|
1589
|
+
};
|
|
1584
1590
|
};
|
|
1585
1591
|
}[];
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1592
|
+
prices: {
|
|
1593
|
+
createdAt: string;
|
|
1594
|
+
updatedAt: string;
|
|
1595
|
+
currency: string;
|
|
1596
|
+
storeId: string;
|
|
1589
1597
|
price: string;
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
}
|
|
1598
|
+
calculatedPrice: string | null;
|
|
1599
|
+
variantId: string;
|
|
1600
|
+
}[];
|
|
1601
|
+
} & {
|
|
1602
|
+
id: string;
|
|
1603
|
+
price: string;
|
|
1604
|
+
} & {
|
|
1605
|
+
prePromotionPrice: string | null;
|
|
1593
1606
|
}) | ({
|
|
1594
1607
|
id: string;
|
|
1595
|
-
name: string;
|
|
1596
1608
|
createdAt: string;
|
|
1597
1609
|
updatedAt: string;
|
|
1598
|
-
type: "set" | "product" | "bundle";
|
|
1599
|
-
slug: string;
|
|
1600
|
-
status: "published" | "draft" | "hidden" | null;
|
|
1601
|
-
flags: unknown;
|
|
1602
1610
|
storeId: string;
|
|
1603
|
-
|
|
1604
|
-
|
|
1611
|
+
description: string | null;
|
|
1612
|
+
price: string;
|
|
1605
1613
|
images: string[];
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
name: string;
|
|
1622
|
-
image: string | null;
|
|
1623
|
-
createdAt: string;
|
|
1624
|
-
updatedAt: string;
|
|
1625
|
-
slug: string;
|
|
1626
|
-
active: boolean;
|
|
1627
|
-
storeId: string;
|
|
1628
|
-
description: JSONContent | null;
|
|
1629
|
-
position: string;
|
|
1630
|
-
seo: {
|
|
1631
|
-
title?: string | null | undefined;
|
|
1632
|
-
description?: string | null | undefined;
|
|
1633
|
-
canonical?: string | null | undefined;
|
|
1634
|
-
} | null;
|
|
1635
|
-
longDescription: JSONContent | null;
|
|
1636
|
-
parentId: string | null;
|
|
1637
|
-
} | null;
|
|
1638
|
-
productTaxRate: {
|
|
1614
|
+
sku: string | null;
|
|
1615
|
+
barcode: string | null;
|
|
1616
|
+
calculatedPrice: string | null;
|
|
1617
|
+
stock: number | null;
|
|
1618
|
+
depth: number | null;
|
|
1619
|
+
width: number | null;
|
|
1620
|
+
height: number | null;
|
|
1621
|
+
weight: number | null;
|
|
1622
|
+
digital: string[] | null;
|
|
1623
|
+
shippable: boolean;
|
|
1624
|
+
externalId: string | null;
|
|
1625
|
+
productId: string;
|
|
1626
|
+
attributes: unknown;
|
|
1627
|
+
originalPrice: string;
|
|
1628
|
+
combinations: {
|
|
1639
1629
|
createdAt: string;
|
|
1640
1630
|
updatedAt: string;
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1631
|
+
productVariantId: string;
|
|
1632
|
+
variantValueId: string;
|
|
1633
|
+
variantValue: {
|
|
1644
1634
|
id: string;
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
} | null;
|
|
1653
|
-
productCollections: {
|
|
1654
|
-
position: string | null;
|
|
1655
|
-
productId: string;
|
|
1656
|
-
collectionId: string;
|
|
1657
|
-
collection: {
|
|
1658
|
-
id: string;
|
|
1659
|
-
name: string;
|
|
1660
|
-
image: string | null;
|
|
1661
|
-
createdAt: string;
|
|
1662
|
-
updatedAt: string;
|
|
1663
|
-
slug: string;
|
|
1664
|
-
active: boolean;
|
|
1665
|
-
filter: {
|
|
1666
|
-
type: "manual";
|
|
1667
|
-
} | {
|
|
1668
|
-
type: "dynamicPrice";
|
|
1669
|
-
min?: number | null | undefined;
|
|
1670
|
-
max?: number | null | undefined;
|
|
1671
|
-
} | {
|
|
1672
|
-
type: "variantValues";
|
|
1673
|
-
values: Record<string, string[]>;
|
|
1674
|
-
} | {
|
|
1675
|
-
type: "newest";
|
|
1676
|
-
days?: number | null | undefined;
|
|
1677
|
-
};
|
|
1678
|
-
storeId: string;
|
|
1679
|
-
description: JSONContent | null;
|
|
1680
|
-
};
|
|
1681
|
-
}[];
|
|
1682
|
-
bundleProducts: {
|
|
1683
|
-
createdAt: string;
|
|
1684
|
-
updatedAt: string;
|
|
1685
|
-
position: number;
|
|
1686
|
-
bundleId: string;
|
|
1687
|
-
maxQuantity: number | null;
|
|
1688
|
-
quantity: number;
|
|
1689
|
-
variantId: string;
|
|
1690
|
-
groupId: string | null;
|
|
1691
|
-
forced: boolean;
|
|
1692
|
-
defaultSelected: boolean;
|
|
1693
|
-
variant: {
|
|
1694
|
-
id: string;
|
|
1695
|
-
createdAt: string;
|
|
1696
|
-
updatedAt: string;
|
|
1697
|
-
storeId: string;
|
|
1698
|
-
description: string | null;
|
|
1699
|
-
price: string;
|
|
1700
|
-
images: string[];
|
|
1701
|
-
sku: string | null;
|
|
1702
|
-
barcode: string | null;
|
|
1703
|
-
calculatedPrice: string | null;
|
|
1704
|
-
stock: number | null;
|
|
1705
|
-
depth: number | null;
|
|
1706
|
-
width: number | null;
|
|
1707
|
-
height: number | null;
|
|
1708
|
-
weight: number | null;
|
|
1709
|
-
digital: string[] | null;
|
|
1710
|
-
shippable: boolean;
|
|
1711
|
-
externalId: string | null;
|
|
1712
|
-
productId: string;
|
|
1713
|
-
attributes: unknown;
|
|
1714
|
-
originalPrice: string;
|
|
1715
|
-
product: {
|
|
1716
|
-
id: string;
|
|
1717
|
-
name: string;
|
|
1718
|
-
slug: string;
|
|
1719
|
-
images: string[];
|
|
1720
|
-
productTaxRate: {
|
|
1721
|
-
createdAt: string;
|
|
1722
|
-
updatedAt: string;
|
|
1723
|
-
taxRateId: string;
|
|
1724
|
-
productId: string;
|
|
1725
|
-
taxRate: {
|
|
1726
|
-
id: string;
|
|
1727
|
-
name: string;
|
|
1728
|
-
createdAt: string;
|
|
1729
|
-
updatedAt: string;
|
|
1730
|
-
storeId: string;
|
|
1731
|
-
rate: string;
|
|
1732
|
-
label: string | null;
|
|
1733
|
-
};
|
|
1734
|
-
} | null;
|
|
1735
|
-
variants: {
|
|
1736
|
-
id: string;
|
|
1737
|
-
createdAt: string;
|
|
1738
|
-
updatedAt: string;
|
|
1739
|
-
storeId: string;
|
|
1740
|
-
description: string | null;
|
|
1741
|
-
price: string;
|
|
1742
|
-
images: string[];
|
|
1743
|
-
sku: string | null;
|
|
1744
|
-
barcode: string | null;
|
|
1745
|
-
calculatedPrice: string | null;
|
|
1746
|
-
stock: number | null;
|
|
1747
|
-
depth: number | null;
|
|
1748
|
-
width: number | null;
|
|
1749
|
-
height: number | null;
|
|
1750
|
-
weight: number | null;
|
|
1751
|
-
digital: string[] | null;
|
|
1752
|
-
shippable: boolean;
|
|
1753
|
-
externalId: string | null;
|
|
1754
|
-
productId: string;
|
|
1755
|
-
attributes: unknown;
|
|
1756
|
-
originalPrice: string;
|
|
1757
|
-
}[];
|
|
1758
|
-
};
|
|
1759
|
-
combinations: {
|
|
1760
|
-
createdAt: string;
|
|
1761
|
-
updatedAt: string;
|
|
1762
|
-
productVariantId: string;
|
|
1763
|
-
variantValueId: string;
|
|
1764
|
-
variantValue: {
|
|
1765
|
-
id: string;
|
|
1766
|
-
value: string;
|
|
1767
|
-
colorValue: string | null;
|
|
1768
|
-
variantType: {
|
|
1769
|
-
id: string;
|
|
1770
|
-
type: "string" | "color";
|
|
1771
|
-
label: string;
|
|
1772
|
-
};
|
|
1773
|
-
};
|
|
1774
|
-
}[];
|
|
1635
|
+
value: string;
|
|
1636
|
+
colorValue: string | null;
|
|
1637
|
+
variantType: {
|
|
1638
|
+
id: string;
|
|
1639
|
+
type: "string" | "color";
|
|
1640
|
+
label: string;
|
|
1641
|
+
};
|
|
1775
1642
|
};
|
|
1776
1643
|
}[];
|
|
1777
|
-
|
|
1778
|
-
locale: string;
|
|
1779
|
-
}[];
|
|
1780
|
-
variants: {
|
|
1781
|
-
id: string;
|
|
1644
|
+
prices: {
|
|
1782
1645
|
createdAt: string;
|
|
1783
1646
|
updatedAt: string;
|
|
1647
|
+
currency: string;
|
|
1784
1648
|
storeId: string;
|
|
1785
|
-
description: string | null;
|
|
1786
1649
|
price: string;
|
|
1787
|
-
images: string[];
|
|
1788
|
-
sku: string | null;
|
|
1789
|
-
barcode: string | null;
|
|
1790
1650
|
calculatedPrice: string | null;
|
|
1791
|
-
|
|
1792
|
-
depth: number | null;
|
|
1793
|
-
width: number | null;
|
|
1794
|
-
height: number | null;
|
|
1795
|
-
weight: number | null;
|
|
1796
|
-
digital: string[] | null;
|
|
1797
|
-
shippable: boolean;
|
|
1798
|
-
externalId: string | null;
|
|
1799
|
-
productId: string;
|
|
1800
|
-
attributes: unknown;
|
|
1801
|
-
originalPrice: string;
|
|
1802
|
-
combinations: {
|
|
1803
|
-
createdAt: string;
|
|
1804
|
-
updatedAt: string;
|
|
1805
|
-
productVariantId: string;
|
|
1806
|
-
variantValueId: string;
|
|
1807
|
-
variantValue: {
|
|
1808
|
-
id: string;
|
|
1809
|
-
value: string;
|
|
1810
|
-
colorValue: string | null;
|
|
1811
|
-
variantType: {
|
|
1812
|
-
id: string;
|
|
1813
|
-
type: "string" | "color";
|
|
1814
|
-
label: string;
|
|
1815
|
-
};
|
|
1816
|
-
};
|
|
1817
|
-
}[];
|
|
1818
|
-
prices: {
|
|
1819
|
-
createdAt: string;
|
|
1820
|
-
updatedAt: string;
|
|
1821
|
-
currency: string;
|
|
1822
|
-
storeId: string;
|
|
1823
|
-
price: string;
|
|
1824
|
-
calculatedPrice: string | null;
|
|
1825
|
-
variantId: string;
|
|
1826
|
-
}[];
|
|
1827
|
-
}[];
|
|
1828
|
-
subscriptionPlanProducts: {
|
|
1829
|
-
createdAt: string;
|
|
1830
|
-
updatedAt: string;
|
|
1831
|
-
position: number;
|
|
1832
|
-
productId: string;
|
|
1833
|
-
subscriptionPlanId: string;
|
|
1834
|
-
subscriptionPlan: {
|
|
1835
|
-
id: string;
|
|
1836
|
-
name: string;
|
|
1837
|
-
createdAt: string;
|
|
1838
|
-
updatedAt: string;
|
|
1839
|
-
interval: number;
|
|
1840
|
-
active: boolean;
|
|
1841
|
-
storeId: string;
|
|
1842
|
-
description: string | null;
|
|
1843
|
-
position: number;
|
|
1844
|
-
cadence: "month" | "week";
|
|
1845
|
-
discountPercent: number;
|
|
1846
|
-
benefits: string | null;
|
|
1847
|
-
};
|
|
1651
|
+
variantId: string;
|
|
1848
1652
|
}[];
|
|
1849
1653
|
} & {
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1654
|
+
id: string;
|
|
1655
|
+
price: string;
|
|
1656
|
+
} & {
|
|
1657
|
+
price: string;
|
|
1658
|
+
} & {
|
|
1659
|
+
prePromotionPrice: string | null;
|
|
1856
1660
|
}) | ({
|
|
1857
1661
|
id: string;
|
|
1858
|
-
name: string;
|
|
1859
1662
|
createdAt: string;
|
|
1860
1663
|
updatedAt: string;
|
|
1861
|
-
type: "set" | "product" | "bundle";
|
|
1862
|
-
slug: string;
|
|
1863
|
-
status: "published" | "draft" | "hidden" | null;
|
|
1864
|
-
flags: unknown;
|
|
1865
1664
|
storeId: string;
|
|
1866
|
-
|
|
1867
|
-
|
|
1665
|
+
description: string | null;
|
|
1666
|
+
price: string;
|
|
1868
1667
|
images: string[];
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
name: string;
|
|
1885
|
-
image: string | null;
|
|
1886
|
-
createdAt: string;
|
|
1887
|
-
updatedAt: string;
|
|
1888
|
-
slug: string;
|
|
1889
|
-
active: boolean;
|
|
1890
|
-
storeId: string;
|
|
1891
|
-
description: JSONContent | null;
|
|
1892
|
-
position: string;
|
|
1893
|
-
seo: {
|
|
1894
|
-
title?: string | null | undefined;
|
|
1895
|
-
description?: string | null | undefined;
|
|
1896
|
-
canonical?: string | null | undefined;
|
|
1897
|
-
} | null;
|
|
1898
|
-
longDescription: JSONContent | null;
|
|
1899
|
-
parentId: string | null;
|
|
1900
|
-
} | null;
|
|
1901
|
-
productTaxRate: {
|
|
1902
|
-
createdAt: string;
|
|
1903
|
-
updatedAt: string;
|
|
1904
|
-
taxRateId: string;
|
|
1905
|
-
productId: string;
|
|
1906
|
-
taxRate: {
|
|
1907
|
-
id: string;
|
|
1908
|
-
name: string;
|
|
1909
|
-
createdAt: string;
|
|
1910
|
-
updatedAt: string;
|
|
1911
|
-
storeId: string;
|
|
1912
|
-
rate: string;
|
|
1913
|
-
label: string | null;
|
|
1914
|
-
};
|
|
1915
|
-
} | null;
|
|
1916
|
-
productCollections: {
|
|
1917
|
-
position: string | null;
|
|
1918
|
-
productId: string;
|
|
1919
|
-
collectionId: string;
|
|
1920
|
-
collection: {
|
|
1921
|
-
id: string;
|
|
1922
|
-
name: string;
|
|
1923
|
-
image: string | null;
|
|
1924
|
-
createdAt: string;
|
|
1925
|
-
updatedAt: string;
|
|
1926
|
-
slug: string;
|
|
1927
|
-
active: boolean;
|
|
1928
|
-
filter: {
|
|
1929
|
-
type: "manual";
|
|
1930
|
-
} | {
|
|
1931
|
-
type: "dynamicPrice";
|
|
1932
|
-
min?: number | null | undefined;
|
|
1933
|
-
max?: number | null | undefined;
|
|
1934
|
-
} | {
|
|
1935
|
-
type: "variantValues";
|
|
1936
|
-
values: Record<string, string[]>;
|
|
1937
|
-
} | {
|
|
1938
|
-
type: "newest";
|
|
1939
|
-
days?: number | null | undefined;
|
|
1940
|
-
};
|
|
1941
|
-
storeId: string;
|
|
1942
|
-
description: JSONContent | null;
|
|
1943
|
-
};
|
|
1944
|
-
}[];
|
|
1945
|
-
bundleProducts: {
|
|
1668
|
+
sku: string | null;
|
|
1669
|
+
barcode: string | null;
|
|
1670
|
+
calculatedPrice: string | null;
|
|
1671
|
+
stock: number | null;
|
|
1672
|
+
depth: number | null;
|
|
1673
|
+
width: number | null;
|
|
1674
|
+
height: number | null;
|
|
1675
|
+
weight: number | null;
|
|
1676
|
+
digital: string[] | null;
|
|
1677
|
+
shippable: boolean;
|
|
1678
|
+
externalId: string | null;
|
|
1679
|
+
productId: string;
|
|
1680
|
+
attributes: unknown;
|
|
1681
|
+
originalPrice: string;
|
|
1682
|
+
combinations: {
|
|
1946
1683
|
createdAt: string;
|
|
1947
1684
|
updatedAt: string;
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
defaultSelected: boolean;
|
|
1956
|
-
variant: {
|
|
1957
|
-
id: string;
|
|
1958
|
-
createdAt: string;
|
|
1959
|
-
updatedAt: string;
|
|
1960
|
-
storeId: string;
|
|
1961
|
-
description: string | null;
|
|
1962
|
-
price: string;
|
|
1963
|
-
images: string[];
|
|
1964
|
-
sku: string | null;
|
|
1965
|
-
barcode: string | null;
|
|
1966
|
-
calculatedPrice: string | null;
|
|
1967
|
-
stock: number | null;
|
|
1968
|
-
depth: number | null;
|
|
1969
|
-
width: number | null;
|
|
1970
|
-
height: number | null;
|
|
1971
|
-
weight: number | null;
|
|
1972
|
-
digital: string[] | null;
|
|
1973
|
-
shippable: boolean;
|
|
1974
|
-
externalId: string | null;
|
|
1975
|
-
productId: string;
|
|
1976
|
-
attributes: unknown;
|
|
1977
|
-
originalPrice: string;
|
|
1978
|
-
product: {
|
|
1979
|
-
id: string;
|
|
1980
|
-
name: string;
|
|
1981
|
-
slug: string;
|
|
1982
|
-
images: string[];
|
|
1983
|
-
productTaxRate: {
|
|
1984
|
-
createdAt: string;
|
|
1985
|
-
updatedAt: string;
|
|
1986
|
-
taxRateId: string;
|
|
1987
|
-
productId: string;
|
|
1988
|
-
taxRate: {
|
|
1989
|
-
id: string;
|
|
1990
|
-
name: string;
|
|
1991
|
-
createdAt: string;
|
|
1992
|
-
updatedAt: string;
|
|
1993
|
-
storeId: string;
|
|
1994
|
-
rate: string;
|
|
1995
|
-
label: string | null;
|
|
1996
|
-
};
|
|
1997
|
-
} | null;
|
|
1998
|
-
variants: {
|
|
1999
|
-
id: string;
|
|
2000
|
-
createdAt: string;
|
|
2001
|
-
updatedAt: string;
|
|
2002
|
-
storeId: string;
|
|
2003
|
-
description: string | null;
|
|
2004
|
-
price: string;
|
|
2005
|
-
images: string[];
|
|
2006
|
-
sku: string | null;
|
|
2007
|
-
barcode: string | null;
|
|
2008
|
-
calculatedPrice: string | null;
|
|
2009
|
-
stock: number | null;
|
|
2010
|
-
depth: number | null;
|
|
2011
|
-
width: number | null;
|
|
2012
|
-
height: number | null;
|
|
2013
|
-
weight: number | null;
|
|
2014
|
-
digital: string[] | null;
|
|
2015
|
-
shippable: boolean;
|
|
2016
|
-
externalId: string | null;
|
|
2017
|
-
productId: string;
|
|
2018
|
-
attributes: unknown;
|
|
2019
|
-
originalPrice: string;
|
|
2020
|
-
}[];
|
|
2021
|
-
};
|
|
2022
|
-
combinations: {
|
|
2023
|
-
createdAt: string;
|
|
2024
|
-
updatedAt: string;
|
|
2025
|
-
productVariantId: string;
|
|
2026
|
-
variantValueId: string;
|
|
2027
|
-
variantValue: {
|
|
2028
|
-
id: string;
|
|
2029
|
-
value: string;
|
|
2030
|
-
colorValue: string | null;
|
|
2031
|
-
variantType: {
|
|
2032
|
-
id: string;
|
|
2033
|
-
type: "string" | "color";
|
|
2034
|
-
label: string;
|
|
2035
|
-
};
|
|
2036
|
-
};
|
|
2037
|
-
}[];
|
|
2038
|
-
};
|
|
2039
|
-
}[];
|
|
2040
|
-
tr: {
|
|
2041
|
-
locale: string;
|
|
2042
|
-
}[];
|
|
2043
|
-
variants: {
|
|
2044
|
-
id: string;
|
|
2045
|
-
createdAt: string;
|
|
2046
|
-
updatedAt: string;
|
|
2047
|
-
storeId: string;
|
|
2048
|
-
description: string | null;
|
|
2049
|
-
price: string;
|
|
2050
|
-
images: string[];
|
|
2051
|
-
sku: string | null;
|
|
2052
|
-
barcode: string | null;
|
|
2053
|
-
calculatedPrice: string | null;
|
|
2054
|
-
stock: number | null;
|
|
2055
|
-
depth: number | null;
|
|
2056
|
-
width: number | null;
|
|
2057
|
-
height: number | null;
|
|
2058
|
-
weight: number | null;
|
|
2059
|
-
digital: string[] | null;
|
|
2060
|
-
shippable: boolean;
|
|
2061
|
-
externalId: string | null;
|
|
2062
|
-
productId: string;
|
|
2063
|
-
attributes: unknown;
|
|
2064
|
-
originalPrice: string;
|
|
2065
|
-
combinations: {
|
|
2066
|
-
createdAt: string;
|
|
2067
|
-
updatedAt: string;
|
|
2068
|
-
productVariantId: string;
|
|
2069
|
-
variantValueId: string;
|
|
2070
|
-
variantValue: {
|
|
2071
|
-
id: string;
|
|
2072
|
-
value: string;
|
|
2073
|
-
colorValue: string | null;
|
|
2074
|
-
variantType: {
|
|
2075
|
-
id: string;
|
|
2076
|
-
type: "string" | "color";
|
|
2077
|
-
label: string;
|
|
2078
|
-
};
|
|
2079
|
-
};
|
|
2080
|
-
}[];
|
|
2081
|
-
prices: {
|
|
2082
|
-
createdAt: string;
|
|
2083
|
-
updatedAt: string;
|
|
2084
|
-
currency: string;
|
|
2085
|
-
storeId: string;
|
|
2086
|
-
price: string;
|
|
2087
|
-
calculatedPrice: string | null;
|
|
2088
|
-
variantId: string;
|
|
2089
|
-
}[];
|
|
2090
|
-
}[];
|
|
2091
|
-
subscriptionPlanProducts: {
|
|
2092
|
-
createdAt: string;
|
|
2093
|
-
updatedAt: string;
|
|
2094
|
-
position: number;
|
|
2095
|
-
productId: string;
|
|
2096
|
-
subscriptionPlanId: string;
|
|
2097
|
-
subscriptionPlan: {
|
|
2098
|
-
id: string;
|
|
2099
|
-
name: string;
|
|
2100
|
-
createdAt: string;
|
|
2101
|
-
updatedAt: string;
|
|
2102
|
-
interval: number;
|
|
2103
|
-
active: boolean;
|
|
2104
|
-
storeId: string;
|
|
2105
|
-
description: string | null;
|
|
2106
|
-
position: number;
|
|
2107
|
-
cadence: "month" | "week";
|
|
2108
|
-
discountPercent: number;
|
|
2109
|
-
benefits: string | null;
|
|
2110
|
-
};
|
|
2111
|
-
}[];
|
|
2112
|
-
} & {
|
|
2113
|
-
variants: ({
|
|
2114
|
-
id: string;
|
|
2115
|
-
price: string;
|
|
2116
|
-
} & {
|
|
2117
|
-
prePromotionPrice: string | null;
|
|
2118
|
-
})[];
|
|
2119
|
-
}) | ({
|
|
2120
|
-
id: string;
|
|
2121
|
-
name: string;
|
|
2122
|
-
createdAt: string;
|
|
2123
|
-
updatedAt: string;
|
|
2124
|
-
type: "set" | "product" | "bundle";
|
|
2125
|
-
slug: string;
|
|
2126
|
-
status: "published" | "draft" | "hidden" | null;
|
|
2127
|
-
flags: unknown;
|
|
2128
|
-
storeId: string;
|
|
2129
|
-
summary: string | null;
|
|
2130
|
-
content: JSONContent | null;
|
|
2131
|
-
images: string[];
|
|
2132
|
-
badge: unknown;
|
|
2133
|
-
bundleDiscountPercentage: string | null;
|
|
2134
|
-
bundlePriceMode: "fixed" | "percent" | "amount";
|
|
2135
|
-
bundleFixedPriceAmount: string | null;
|
|
2136
|
-
bundleAmountOffAmount: string | null;
|
|
2137
|
-
seo: {
|
|
2138
|
-
title?: string | null | undefined;
|
|
2139
|
-
description?: string | null | undefined;
|
|
2140
|
-
canonical?: string | null | undefined;
|
|
2141
|
-
} | null;
|
|
2142
|
-
stripeTaxCode: string | null;
|
|
2143
|
-
categoryId: string | null;
|
|
2144
|
-
brandId: string | null;
|
|
2145
|
-
category: {
|
|
2146
|
-
id: string;
|
|
2147
|
-
name: string;
|
|
2148
|
-
image: string | null;
|
|
2149
|
-
createdAt: string;
|
|
2150
|
-
updatedAt: string;
|
|
2151
|
-
slug: string;
|
|
2152
|
-
active: boolean;
|
|
2153
|
-
storeId: string;
|
|
2154
|
-
description: JSONContent | null;
|
|
2155
|
-
position: string;
|
|
2156
|
-
seo: {
|
|
2157
|
-
title?: string | null | undefined;
|
|
2158
|
-
description?: string | null | undefined;
|
|
2159
|
-
canonical?: string | null | undefined;
|
|
2160
|
-
} | null;
|
|
2161
|
-
longDescription: JSONContent | null;
|
|
2162
|
-
parentId: string | null;
|
|
2163
|
-
} | null;
|
|
2164
|
-
productTaxRate: {
|
|
2165
|
-
createdAt: string;
|
|
2166
|
-
updatedAt: string;
|
|
2167
|
-
taxRateId: string;
|
|
2168
|
-
productId: string;
|
|
2169
|
-
taxRate: {
|
|
2170
|
-
id: string;
|
|
2171
|
-
name: string;
|
|
2172
|
-
createdAt: string;
|
|
2173
|
-
updatedAt: string;
|
|
2174
|
-
storeId: string;
|
|
2175
|
-
rate: string;
|
|
2176
|
-
label: string | null;
|
|
2177
|
-
};
|
|
2178
|
-
} | null;
|
|
2179
|
-
productCollections: {
|
|
2180
|
-
position: string | null;
|
|
2181
|
-
productId: string;
|
|
2182
|
-
collectionId: string;
|
|
2183
|
-
collection: {
|
|
2184
|
-
id: string;
|
|
2185
|
-
name: string;
|
|
2186
|
-
image: string | null;
|
|
2187
|
-
createdAt: string;
|
|
2188
|
-
updatedAt: string;
|
|
2189
|
-
slug: string;
|
|
2190
|
-
active: boolean;
|
|
2191
|
-
filter: {
|
|
2192
|
-
type: "manual";
|
|
2193
|
-
} | {
|
|
2194
|
-
type: "dynamicPrice";
|
|
2195
|
-
min?: number | null | undefined;
|
|
2196
|
-
max?: number | null | undefined;
|
|
2197
|
-
} | {
|
|
2198
|
-
type: "variantValues";
|
|
2199
|
-
values: Record<string, string[]>;
|
|
2200
|
-
} | {
|
|
2201
|
-
type: "newest";
|
|
2202
|
-
days?: number | null | undefined;
|
|
2203
|
-
};
|
|
2204
|
-
storeId: string;
|
|
2205
|
-
description: JSONContent | null;
|
|
2206
|
-
};
|
|
2207
|
-
}[];
|
|
2208
|
-
bundleProducts: {
|
|
2209
|
-
createdAt: string;
|
|
2210
|
-
updatedAt: string;
|
|
2211
|
-
position: number;
|
|
2212
|
-
bundleId: string;
|
|
2213
|
-
maxQuantity: number | null;
|
|
2214
|
-
quantity: number;
|
|
2215
|
-
variantId: string;
|
|
2216
|
-
groupId: string | null;
|
|
2217
|
-
forced: boolean;
|
|
2218
|
-
defaultSelected: boolean;
|
|
2219
|
-
variant: {
|
|
2220
|
-
id: string;
|
|
2221
|
-
createdAt: string;
|
|
2222
|
-
updatedAt: string;
|
|
2223
|
-
storeId: string;
|
|
2224
|
-
description: string | null;
|
|
2225
|
-
price: string;
|
|
2226
|
-
images: string[];
|
|
2227
|
-
sku: string | null;
|
|
2228
|
-
barcode: string | null;
|
|
2229
|
-
calculatedPrice: string | null;
|
|
2230
|
-
stock: number | null;
|
|
2231
|
-
depth: number | null;
|
|
2232
|
-
width: number | null;
|
|
2233
|
-
height: number | null;
|
|
2234
|
-
weight: number | null;
|
|
2235
|
-
digital: string[] | null;
|
|
2236
|
-
shippable: boolean;
|
|
2237
|
-
externalId: string | null;
|
|
2238
|
-
productId: string;
|
|
2239
|
-
attributes: unknown;
|
|
2240
|
-
originalPrice: string;
|
|
2241
|
-
product: {
|
|
2242
|
-
id: string;
|
|
2243
|
-
name: string;
|
|
2244
|
-
slug: string;
|
|
2245
|
-
images: string[];
|
|
2246
|
-
productTaxRate: {
|
|
2247
|
-
createdAt: string;
|
|
2248
|
-
updatedAt: string;
|
|
2249
|
-
taxRateId: string;
|
|
2250
|
-
productId: string;
|
|
2251
|
-
taxRate: {
|
|
2252
|
-
id: string;
|
|
2253
|
-
name: string;
|
|
2254
|
-
createdAt: string;
|
|
2255
|
-
updatedAt: string;
|
|
2256
|
-
storeId: string;
|
|
2257
|
-
rate: string;
|
|
2258
|
-
label: string | null;
|
|
2259
|
-
};
|
|
2260
|
-
} | null;
|
|
2261
|
-
variants: {
|
|
2262
|
-
id: string;
|
|
2263
|
-
createdAt: string;
|
|
2264
|
-
updatedAt: string;
|
|
2265
|
-
storeId: string;
|
|
2266
|
-
description: string | null;
|
|
2267
|
-
price: string;
|
|
2268
|
-
images: string[];
|
|
2269
|
-
sku: string | null;
|
|
2270
|
-
barcode: string | null;
|
|
2271
|
-
calculatedPrice: string | null;
|
|
2272
|
-
stock: number | null;
|
|
2273
|
-
depth: number | null;
|
|
2274
|
-
width: number | null;
|
|
2275
|
-
height: number | null;
|
|
2276
|
-
weight: number | null;
|
|
2277
|
-
digital: string[] | null;
|
|
2278
|
-
shippable: boolean;
|
|
2279
|
-
externalId: string | null;
|
|
2280
|
-
productId: string;
|
|
2281
|
-
attributes: unknown;
|
|
2282
|
-
originalPrice: string;
|
|
2283
|
-
}[];
|
|
2284
|
-
};
|
|
2285
|
-
combinations: {
|
|
2286
|
-
createdAt: string;
|
|
2287
|
-
updatedAt: string;
|
|
2288
|
-
productVariantId: string;
|
|
2289
|
-
variantValueId: string;
|
|
2290
|
-
variantValue: {
|
|
2291
|
-
id: string;
|
|
2292
|
-
value: string;
|
|
2293
|
-
colorValue: string | null;
|
|
2294
|
-
variantType: {
|
|
2295
|
-
id: string;
|
|
2296
|
-
type: "string" | "color";
|
|
2297
|
-
label: string;
|
|
2298
|
-
};
|
|
2299
|
-
};
|
|
2300
|
-
}[];
|
|
2301
|
-
};
|
|
2302
|
-
}[];
|
|
2303
|
-
tr: {
|
|
2304
|
-
locale: string;
|
|
2305
|
-
}[];
|
|
2306
|
-
variants: {
|
|
2307
|
-
id: string;
|
|
2308
|
-
createdAt: string;
|
|
2309
|
-
updatedAt: string;
|
|
2310
|
-
storeId: string;
|
|
2311
|
-
description: string | null;
|
|
2312
|
-
price: string;
|
|
2313
|
-
images: string[];
|
|
2314
|
-
sku: string | null;
|
|
2315
|
-
barcode: string | null;
|
|
2316
|
-
calculatedPrice: string | null;
|
|
2317
|
-
stock: number | null;
|
|
2318
|
-
depth: number | null;
|
|
2319
|
-
width: number | null;
|
|
2320
|
-
height: number | null;
|
|
2321
|
-
weight: number | null;
|
|
2322
|
-
digital: string[] | null;
|
|
2323
|
-
shippable: boolean;
|
|
2324
|
-
externalId: string | null;
|
|
2325
|
-
productId: string;
|
|
2326
|
-
attributes: unknown;
|
|
2327
|
-
originalPrice: string;
|
|
2328
|
-
combinations: {
|
|
2329
|
-
createdAt: string;
|
|
2330
|
-
updatedAt: string;
|
|
2331
|
-
productVariantId: string;
|
|
2332
|
-
variantValueId: string;
|
|
2333
|
-
variantValue: {
|
|
2334
|
-
id: string;
|
|
2335
|
-
value: string;
|
|
2336
|
-
colorValue: string | null;
|
|
2337
|
-
variantType: {
|
|
2338
|
-
id: string;
|
|
2339
|
-
type: "string" | "color";
|
|
2340
|
-
label: string;
|
|
2341
|
-
};
|
|
2342
|
-
};
|
|
2343
|
-
}[];
|
|
2344
|
-
prices: {
|
|
2345
|
-
createdAt: string;
|
|
2346
|
-
updatedAt: string;
|
|
2347
|
-
currency: string;
|
|
2348
|
-
storeId: string;
|
|
2349
|
-
price: string;
|
|
2350
|
-
calculatedPrice: string | null;
|
|
2351
|
-
variantId: string;
|
|
2352
|
-
}[];
|
|
2353
|
-
}[];
|
|
2354
|
-
subscriptionPlanProducts: {
|
|
2355
|
-
createdAt: string;
|
|
2356
|
-
updatedAt: string;
|
|
2357
|
-
position: number;
|
|
2358
|
-
productId: string;
|
|
2359
|
-
subscriptionPlanId: string;
|
|
2360
|
-
subscriptionPlan: {
|
|
2361
|
-
id: string;
|
|
2362
|
-
name: string;
|
|
2363
|
-
createdAt: string;
|
|
2364
|
-
updatedAt: string;
|
|
2365
|
-
interval: number;
|
|
2366
|
-
active: boolean;
|
|
2367
|
-
storeId: string;
|
|
2368
|
-
description: string | null;
|
|
2369
|
-
position: number;
|
|
2370
|
-
cadence: "month" | "week";
|
|
2371
|
-
discountPercent: number;
|
|
2372
|
-
benefits: string | null;
|
|
2373
|
-
};
|
|
2374
|
-
}[];
|
|
2375
|
-
} & {
|
|
2376
|
-
variants: ({
|
|
2377
|
-
id: string;
|
|
2378
|
-
price: string;
|
|
2379
|
-
} & {
|
|
2380
|
-
price: string;
|
|
2381
|
-
} & {
|
|
2382
|
-
prePromotionPrice: string | null;
|
|
2383
|
-
})[];
|
|
2384
|
-
}) | ({
|
|
2385
|
-
id: string;
|
|
2386
|
-
name: string;
|
|
2387
|
-
createdAt: string;
|
|
2388
|
-
updatedAt: string;
|
|
2389
|
-
type: "set" | "product" | "bundle";
|
|
2390
|
-
slug: string;
|
|
2391
|
-
status: "published" | "draft" | "hidden" | null;
|
|
2392
|
-
flags: unknown;
|
|
2393
|
-
storeId: string;
|
|
2394
|
-
summary: string | null;
|
|
2395
|
-
content: JSONContent | null;
|
|
2396
|
-
images: string[];
|
|
2397
|
-
badge: unknown;
|
|
2398
|
-
bundleDiscountPercentage: string | null;
|
|
2399
|
-
bundlePriceMode: "fixed" | "percent" | "amount";
|
|
2400
|
-
bundleFixedPriceAmount: string | null;
|
|
2401
|
-
bundleAmountOffAmount: string | null;
|
|
2402
|
-
seo: {
|
|
2403
|
-
title?: string | null | undefined;
|
|
2404
|
-
description?: string | null | undefined;
|
|
2405
|
-
canonical?: string | null | undefined;
|
|
2406
|
-
} | null;
|
|
2407
|
-
stripeTaxCode: string | null;
|
|
2408
|
-
categoryId: string | null;
|
|
2409
|
-
brandId: string | null;
|
|
2410
|
-
category: {
|
|
2411
|
-
id: string;
|
|
2412
|
-
name: string;
|
|
2413
|
-
image: string | null;
|
|
2414
|
-
createdAt: string;
|
|
2415
|
-
updatedAt: string;
|
|
2416
|
-
slug: string;
|
|
2417
|
-
active: boolean;
|
|
2418
|
-
storeId: string;
|
|
2419
|
-
description: JSONContent | null;
|
|
2420
|
-
position: string;
|
|
2421
|
-
seo: {
|
|
2422
|
-
title?: string | null | undefined;
|
|
2423
|
-
description?: string | null | undefined;
|
|
2424
|
-
canonical?: string | null | undefined;
|
|
2425
|
-
} | null;
|
|
2426
|
-
longDescription: JSONContent | null;
|
|
2427
|
-
parentId: string | null;
|
|
2428
|
-
} | null;
|
|
2429
|
-
productTaxRate: {
|
|
2430
|
-
createdAt: string;
|
|
2431
|
-
updatedAt: string;
|
|
2432
|
-
taxRateId: string;
|
|
2433
|
-
productId: string;
|
|
2434
|
-
taxRate: {
|
|
2435
|
-
id: string;
|
|
2436
|
-
name: string;
|
|
2437
|
-
createdAt: string;
|
|
2438
|
-
updatedAt: string;
|
|
2439
|
-
storeId: string;
|
|
2440
|
-
rate: string;
|
|
2441
|
-
label: string | null;
|
|
2442
|
-
};
|
|
2443
|
-
} | null;
|
|
2444
|
-
productCollections: {
|
|
2445
|
-
position: string | null;
|
|
2446
|
-
productId: string;
|
|
2447
|
-
collectionId: string;
|
|
2448
|
-
collection: {
|
|
2449
|
-
id: string;
|
|
2450
|
-
name: string;
|
|
2451
|
-
image: string | null;
|
|
2452
|
-
createdAt: string;
|
|
2453
|
-
updatedAt: string;
|
|
2454
|
-
slug: string;
|
|
2455
|
-
active: boolean;
|
|
2456
|
-
filter: {
|
|
2457
|
-
type: "manual";
|
|
2458
|
-
} | {
|
|
2459
|
-
type: "dynamicPrice";
|
|
2460
|
-
min?: number | null | undefined;
|
|
2461
|
-
max?: number | null | undefined;
|
|
2462
|
-
} | {
|
|
2463
|
-
type: "variantValues";
|
|
2464
|
-
values: Record<string, string[]>;
|
|
2465
|
-
} | {
|
|
2466
|
-
type: "newest";
|
|
2467
|
-
days?: number | null | undefined;
|
|
2468
|
-
};
|
|
2469
|
-
storeId: string;
|
|
2470
|
-
description: JSONContent | null;
|
|
2471
|
-
};
|
|
2472
|
-
}[];
|
|
2473
|
-
bundleProducts: {
|
|
2474
|
-
createdAt: string;
|
|
2475
|
-
updatedAt: string;
|
|
2476
|
-
position: number;
|
|
2477
|
-
bundleId: string;
|
|
2478
|
-
maxQuantity: number | null;
|
|
2479
|
-
quantity: number;
|
|
2480
|
-
variantId: string;
|
|
2481
|
-
groupId: string | null;
|
|
2482
|
-
forced: boolean;
|
|
2483
|
-
defaultSelected: boolean;
|
|
2484
|
-
variant: {
|
|
2485
|
-
id: string;
|
|
2486
|
-
createdAt: string;
|
|
2487
|
-
updatedAt: string;
|
|
2488
|
-
storeId: string;
|
|
2489
|
-
description: string | null;
|
|
2490
|
-
price: string;
|
|
2491
|
-
images: string[];
|
|
2492
|
-
sku: string | null;
|
|
2493
|
-
barcode: string | null;
|
|
2494
|
-
calculatedPrice: string | null;
|
|
2495
|
-
stock: number | null;
|
|
2496
|
-
depth: number | null;
|
|
2497
|
-
width: number | null;
|
|
2498
|
-
height: number | null;
|
|
2499
|
-
weight: number | null;
|
|
2500
|
-
digital: string[] | null;
|
|
2501
|
-
shippable: boolean;
|
|
2502
|
-
externalId: string | null;
|
|
2503
|
-
productId: string;
|
|
2504
|
-
attributes: unknown;
|
|
2505
|
-
originalPrice: string;
|
|
2506
|
-
product: {
|
|
2507
|
-
id: string;
|
|
2508
|
-
name: string;
|
|
2509
|
-
slug: string;
|
|
2510
|
-
images: string[];
|
|
2511
|
-
productTaxRate: {
|
|
2512
|
-
createdAt: string;
|
|
2513
|
-
updatedAt: string;
|
|
2514
|
-
taxRateId: string;
|
|
2515
|
-
productId: string;
|
|
2516
|
-
taxRate: {
|
|
2517
|
-
id: string;
|
|
2518
|
-
name: string;
|
|
2519
|
-
createdAt: string;
|
|
2520
|
-
updatedAt: string;
|
|
2521
|
-
storeId: string;
|
|
2522
|
-
rate: string;
|
|
2523
|
-
label: string | null;
|
|
2524
|
-
};
|
|
2525
|
-
} | null;
|
|
2526
|
-
variants: {
|
|
2527
|
-
id: string;
|
|
2528
|
-
createdAt: string;
|
|
2529
|
-
updatedAt: string;
|
|
2530
|
-
storeId: string;
|
|
2531
|
-
description: string | null;
|
|
2532
|
-
price: string;
|
|
2533
|
-
images: string[];
|
|
2534
|
-
sku: string | null;
|
|
2535
|
-
barcode: string | null;
|
|
2536
|
-
calculatedPrice: string | null;
|
|
2537
|
-
stock: number | null;
|
|
2538
|
-
depth: number | null;
|
|
2539
|
-
width: number | null;
|
|
2540
|
-
height: number | null;
|
|
2541
|
-
weight: number | null;
|
|
2542
|
-
digital: string[] | null;
|
|
2543
|
-
shippable: boolean;
|
|
2544
|
-
externalId: string | null;
|
|
2545
|
-
productId: string;
|
|
2546
|
-
attributes: unknown;
|
|
2547
|
-
originalPrice: string;
|
|
2548
|
-
}[];
|
|
2549
|
-
};
|
|
2550
|
-
combinations: {
|
|
2551
|
-
createdAt: string;
|
|
2552
|
-
updatedAt: string;
|
|
2553
|
-
productVariantId: string;
|
|
2554
|
-
variantValueId: string;
|
|
2555
|
-
variantValue: {
|
|
2556
|
-
id: string;
|
|
2557
|
-
value: string;
|
|
2558
|
-
colorValue: string | null;
|
|
2559
|
-
variantType: {
|
|
2560
|
-
id: string;
|
|
2561
|
-
type: "string" | "color";
|
|
2562
|
-
label: string;
|
|
2563
|
-
};
|
|
2564
|
-
};
|
|
2565
|
-
}[];
|
|
2566
|
-
};
|
|
2567
|
-
}[];
|
|
2568
|
-
tr: {
|
|
2569
|
-
locale: string;
|
|
2570
|
-
}[];
|
|
2571
|
-
variants: {
|
|
2572
|
-
id: string;
|
|
2573
|
-
createdAt: string;
|
|
2574
|
-
updatedAt: string;
|
|
2575
|
-
storeId: string;
|
|
2576
|
-
description: string | null;
|
|
2577
|
-
price: string;
|
|
2578
|
-
images: string[];
|
|
2579
|
-
sku: string | null;
|
|
2580
|
-
barcode: string | null;
|
|
2581
|
-
calculatedPrice: string | null;
|
|
2582
|
-
stock: number | null;
|
|
2583
|
-
depth: number | null;
|
|
2584
|
-
width: number | null;
|
|
2585
|
-
height: number | null;
|
|
2586
|
-
weight: number | null;
|
|
2587
|
-
digital: string[] | null;
|
|
2588
|
-
shippable: boolean;
|
|
2589
|
-
externalId: string | null;
|
|
2590
|
-
productId: string;
|
|
2591
|
-
attributes: unknown;
|
|
2592
|
-
originalPrice: string;
|
|
2593
|
-
combinations: {
|
|
2594
|
-
createdAt: string;
|
|
2595
|
-
updatedAt: string;
|
|
2596
|
-
productVariantId: string;
|
|
2597
|
-
variantValueId: string;
|
|
2598
|
-
variantValue: {
|
|
1685
|
+
productVariantId: string;
|
|
1686
|
+
variantValueId: string;
|
|
1687
|
+
variantValue: {
|
|
1688
|
+
id: string;
|
|
1689
|
+
value: string;
|
|
1690
|
+
colorValue: string | null;
|
|
1691
|
+
variantType: {
|
|
2599
1692
|
id: string;
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
variantType: {
|
|
2603
|
-
id: string;
|
|
2604
|
-
type: "string" | "color";
|
|
2605
|
-
label: string;
|
|
2606
|
-
};
|
|
1693
|
+
type: "string" | "color";
|
|
1694
|
+
label: string;
|
|
2607
1695
|
};
|
|
2608
|
-
}
|
|
2609
|
-
prices: {
|
|
2610
|
-
createdAt: string;
|
|
2611
|
-
updatedAt: string;
|
|
2612
|
-
currency: string;
|
|
2613
|
-
storeId: string;
|
|
2614
|
-
price: string;
|
|
2615
|
-
calculatedPrice: string | null;
|
|
2616
|
-
variantId: string;
|
|
2617
|
-
}[];
|
|
1696
|
+
};
|
|
2618
1697
|
}[];
|
|
2619
|
-
|
|
1698
|
+
prices: {
|
|
2620
1699
|
createdAt: string;
|
|
2621
1700
|
updatedAt: string;
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
name: string;
|
|
2628
|
-
createdAt: string;
|
|
2629
|
-
updatedAt: string;
|
|
2630
|
-
interval: number;
|
|
2631
|
-
active: boolean;
|
|
2632
|
-
storeId: string;
|
|
2633
|
-
description: string | null;
|
|
2634
|
-
position: number;
|
|
2635
|
-
cadence: "month" | "week";
|
|
2636
|
-
discountPercent: number;
|
|
2637
|
-
benefits: string | null;
|
|
2638
|
-
};
|
|
1701
|
+
currency: string;
|
|
1702
|
+
storeId: string;
|
|
1703
|
+
price: string;
|
|
1704
|
+
calculatedPrice: string | null;
|
|
1705
|
+
variantId: string;
|
|
2639
1706
|
}[];
|
|
2640
1707
|
} & {
|
|
2641
|
-
|
|
1708
|
+
id: string;
|
|
1709
|
+
price: string;
|
|
1710
|
+
} & {
|
|
1711
|
+
prePromotionPrice: string | null;
|
|
1712
|
+
}), "cost">[];
|
|
1713
|
+
subscriptionPlanProducts: {
|
|
1714
|
+
createdAt: string;
|
|
1715
|
+
updatedAt: string;
|
|
1716
|
+
position: number;
|
|
1717
|
+
productId: string;
|
|
1718
|
+
subscriptionPlanId: string;
|
|
1719
|
+
subscriptionPlan: {
|
|
2642
1720
|
id: string;
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
1721
|
+
name: string;
|
|
1722
|
+
createdAt: string;
|
|
1723
|
+
updatedAt: string;
|
|
1724
|
+
interval: number;
|
|
1725
|
+
active: boolean;
|
|
1726
|
+
storeId: string;
|
|
1727
|
+
description: string | null;
|
|
1728
|
+
position: number;
|
|
1729
|
+
cadence: "month" | "week";
|
|
1730
|
+
discountPercent: number;
|
|
1731
|
+
benefits: string | null;
|
|
1732
|
+
};
|
|
1733
|
+
}[];
|
|
1734
|
+
} & {
|
|
2656
1735
|
lang?: string;
|
|
2657
1736
|
}>;
|
|
2658
1737
|
};
|
|
@@ -2753,77 +1832,374 @@ type APIProductGetByIdResult = {
|
|
|
2753
1832
|
createdAt: string;
|
|
2754
1833
|
updatedAt: string;
|
|
2755
1834
|
storeId: string;
|
|
2756
|
-
rate: string;
|
|
2757
|
-
label: string | null;
|
|
2758
|
-
};
|
|
2759
|
-
} | null;
|
|
2760
|
-
productCollections: {
|
|
2761
|
-
position: string | null;
|
|
1835
|
+
rate: string;
|
|
1836
|
+
label: string | null;
|
|
1837
|
+
};
|
|
1838
|
+
} | null;
|
|
1839
|
+
productCollections: {
|
|
1840
|
+
position: string | null;
|
|
1841
|
+
productId: string;
|
|
1842
|
+
collectionId: string;
|
|
1843
|
+
collection: {
|
|
1844
|
+
id: string;
|
|
1845
|
+
name: string;
|
|
1846
|
+
image: string | null;
|
|
1847
|
+
createdAt: string;
|
|
1848
|
+
updatedAt: string;
|
|
1849
|
+
slug: string;
|
|
1850
|
+
active: boolean;
|
|
1851
|
+
filter: {
|
|
1852
|
+
type: "manual";
|
|
1853
|
+
} | {
|
|
1854
|
+
type: "dynamicPrice";
|
|
1855
|
+
min?: number | null | undefined;
|
|
1856
|
+
max?: number | null | undefined;
|
|
1857
|
+
} | {
|
|
1858
|
+
type: "variantValues";
|
|
1859
|
+
values: Record<string, string[]>;
|
|
1860
|
+
} | {
|
|
1861
|
+
type: "newest";
|
|
1862
|
+
days?: number | null | undefined;
|
|
1863
|
+
};
|
|
1864
|
+
storeId: string;
|
|
1865
|
+
description: JSONContent | null;
|
|
1866
|
+
};
|
|
1867
|
+
}[];
|
|
1868
|
+
bundleGroups: {
|
|
1869
|
+
id: string;
|
|
1870
|
+
position: number;
|
|
1871
|
+
minQuantity: number;
|
|
1872
|
+
maxQuantity: number | null;
|
|
1873
|
+
allowDuplicates: boolean;
|
|
1874
|
+
}[];
|
|
1875
|
+
bundleProducts: {
|
|
1876
|
+
createdAt: string;
|
|
1877
|
+
updatedAt: string;
|
|
1878
|
+
position: number;
|
|
1879
|
+
bundleId: string;
|
|
1880
|
+
maxQuantity: number | null;
|
|
1881
|
+
quantity: number;
|
|
1882
|
+
variantId: string;
|
|
1883
|
+
groupId: string | null;
|
|
1884
|
+
forced: boolean;
|
|
1885
|
+
defaultSelected: boolean;
|
|
1886
|
+
variant: {
|
|
1887
|
+
id: string;
|
|
1888
|
+
createdAt: string;
|
|
1889
|
+
updatedAt: string;
|
|
1890
|
+
storeId: string;
|
|
1891
|
+
description: string | null;
|
|
1892
|
+
price: string;
|
|
1893
|
+
images: string[];
|
|
1894
|
+
sku: string | null;
|
|
1895
|
+
barcode: string | null;
|
|
1896
|
+
calculatedPrice: string | null;
|
|
1897
|
+
stock: number | null;
|
|
1898
|
+
depth: number | null;
|
|
1899
|
+
width: number | null;
|
|
1900
|
+
height: number | null;
|
|
1901
|
+
weight: number | null;
|
|
1902
|
+
digital: string[] | null;
|
|
1903
|
+
shippable: boolean;
|
|
1904
|
+
externalId: string | null;
|
|
1905
|
+
productId: string;
|
|
1906
|
+
attributes: unknown;
|
|
1907
|
+
cost: string | null;
|
|
1908
|
+
originalPrice: string;
|
|
1909
|
+
product: {
|
|
1910
|
+
id: string;
|
|
1911
|
+
name: string;
|
|
1912
|
+
slug: string;
|
|
1913
|
+
images: string[];
|
|
1914
|
+
productTaxRate: {
|
|
1915
|
+
createdAt: string;
|
|
1916
|
+
updatedAt: string;
|
|
1917
|
+
taxRateId: string;
|
|
1918
|
+
productId: string;
|
|
1919
|
+
taxRate: {
|
|
1920
|
+
id: string;
|
|
1921
|
+
name: string;
|
|
1922
|
+
createdAt: string;
|
|
1923
|
+
updatedAt: string;
|
|
1924
|
+
storeId: string;
|
|
1925
|
+
rate: string;
|
|
1926
|
+
label: string | null;
|
|
1927
|
+
};
|
|
1928
|
+
} | null;
|
|
1929
|
+
variants: {
|
|
1930
|
+
id: string;
|
|
1931
|
+
createdAt: string;
|
|
1932
|
+
updatedAt: string;
|
|
1933
|
+
storeId: string;
|
|
1934
|
+
description: string | null;
|
|
1935
|
+
price: string;
|
|
1936
|
+
images: string[];
|
|
1937
|
+
sku: string | null;
|
|
1938
|
+
barcode: string | null;
|
|
1939
|
+
calculatedPrice: string | null;
|
|
1940
|
+
stock: number | null;
|
|
1941
|
+
depth: number | null;
|
|
1942
|
+
width: number | null;
|
|
1943
|
+
height: number | null;
|
|
1944
|
+
weight: number | null;
|
|
1945
|
+
digital: string[] | null;
|
|
1946
|
+
shippable: boolean;
|
|
1947
|
+
externalId: string | null;
|
|
1948
|
+
productId: string;
|
|
1949
|
+
attributes: unknown;
|
|
1950
|
+
originalPrice: string;
|
|
1951
|
+
}[];
|
|
1952
|
+
};
|
|
1953
|
+
combinations: {
|
|
1954
|
+
createdAt: string;
|
|
1955
|
+
updatedAt: string;
|
|
1956
|
+
productVariantId: string;
|
|
1957
|
+
variantValueId: string;
|
|
1958
|
+
variantValue: {
|
|
1959
|
+
id: string;
|
|
1960
|
+
value: string;
|
|
1961
|
+
colorValue: string | null;
|
|
1962
|
+
variantType: {
|
|
1963
|
+
id: string;
|
|
1964
|
+
type: "string" | "color";
|
|
1965
|
+
label: string;
|
|
1966
|
+
};
|
|
1967
|
+
};
|
|
1968
|
+
}[];
|
|
1969
|
+
};
|
|
1970
|
+
}[];
|
|
1971
|
+
variantsTypes: {
|
|
1972
|
+
id: string;
|
|
1973
|
+
type: "string" | "color";
|
|
1974
|
+
label: string;
|
|
1975
|
+
variantValues: {
|
|
1976
|
+
id: string;
|
|
1977
|
+
value: string;
|
|
1978
|
+
position: number | null;
|
|
1979
|
+
colorValue: string | null;
|
|
1980
|
+
}[];
|
|
1981
|
+
}[];
|
|
1982
|
+
tr: {
|
|
1983
|
+
locale: string;
|
|
1984
|
+
}[];
|
|
1985
|
+
variants: (Omit<{
|
|
1986
|
+
id: string;
|
|
1987
|
+
createdAt: string;
|
|
1988
|
+
updatedAt: string;
|
|
1989
|
+
storeId: string;
|
|
1990
|
+
description: string | null;
|
|
1991
|
+
price: string;
|
|
1992
|
+
images: string[];
|
|
1993
|
+
sku: string | null;
|
|
1994
|
+
barcode: string | null;
|
|
1995
|
+
calculatedPrice: string | null;
|
|
1996
|
+
stock: number | null;
|
|
1997
|
+
depth: number | null;
|
|
1998
|
+
width: number | null;
|
|
1999
|
+
height: number | null;
|
|
2000
|
+
weight: number | null;
|
|
2001
|
+
digital: string[] | null;
|
|
2002
|
+
shippable: boolean;
|
|
2003
|
+
externalId: string | null;
|
|
2004
|
+
productId: string;
|
|
2005
|
+
attributes: unknown;
|
|
2006
|
+
cost: string | null;
|
|
2007
|
+
originalPrice: string;
|
|
2008
|
+
combinations: {
|
|
2009
|
+
createdAt: string;
|
|
2010
|
+
updatedAt: string;
|
|
2011
|
+
productVariantId: string;
|
|
2012
|
+
variantValueId: string;
|
|
2013
|
+
variantValue: {
|
|
2014
|
+
id: string;
|
|
2015
|
+
value: string;
|
|
2016
|
+
position: number | null;
|
|
2017
|
+
colorValue: string | null;
|
|
2018
|
+
variantType: {
|
|
2019
|
+
id: string;
|
|
2020
|
+
type: "string" | "color";
|
|
2021
|
+
label: string;
|
|
2022
|
+
};
|
|
2023
|
+
};
|
|
2024
|
+
}[];
|
|
2025
|
+
prices: {
|
|
2026
|
+
createdAt: string;
|
|
2027
|
+
updatedAt: string;
|
|
2028
|
+
currency: string;
|
|
2029
|
+
storeId: string;
|
|
2030
|
+
price: string;
|
|
2031
|
+
calculatedPrice: string | null;
|
|
2032
|
+
variantId: string;
|
|
2033
|
+
}[];
|
|
2034
|
+
} & {
|
|
2035
|
+
id: string;
|
|
2036
|
+
price: string;
|
|
2037
|
+
} & {
|
|
2038
|
+
prePromotionPrice: string | null;
|
|
2039
|
+
}, "cost"> & {
|
|
2040
|
+
omnibusPrice: string | null;
|
|
2041
|
+
})[];
|
|
2042
|
+
subscriptionPlanProducts: {
|
|
2043
|
+
createdAt: string;
|
|
2044
|
+
updatedAt: string;
|
|
2045
|
+
position: number;
|
|
2762
2046
|
productId: string;
|
|
2763
|
-
|
|
2764
|
-
|
|
2047
|
+
subscriptionPlanId: string;
|
|
2048
|
+
subscriptionPlan: {
|
|
2765
2049
|
id: string;
|
|
2766
2050
|
name: string;
|
|
2767
|
-
image: string | null;
|
|
2768
2051
|
createdAt: string;
|
|
2769
2052
|
updatedAt: string;
|
|
2770
|
-
|
|
2053
|
+
interval: number;
|
|
2771
2054
|
active: boolean;
|
|
2772
|
-
filter: {
|
|
2773
|
-
type: "manual";
|
|
2774
|
-
} | {
|
|
2775
|
-
type: "dynamicPrice";
|
|
2776
|
-
min?: number | null | undefined;
|
|
2777
|
-
max?: number | null | undefined;
|
|
2778
|
-
} | {
|
|
2779
|
-
type: "variantValues";
|
|
2780
|
-
values: Record<string, string[]>;
|
|
2781
|
-
} | {
|
|
2782
|
-
type: "newest";
|
|
2783
|
-
days?: number | null | undefined;
|
|
2784
|
-
};
|
|
2785
2055
|
storeId: string;
|
|
2786
|
-
description:
|
|
2056
|
+
description: string | null;
|
|
2057
|
+
position: number;
|
|
2058
|
+
cadence: "month" | "week";
|
|
2059
|
+
discountPercent: number;
|
|
2060
|
+
benefits: string | null;
|
|
2787
2061
|
};
|
|
2788
2062
|
}[];
|
|
2789
|
-
|
|
2063
|
+
volumePricingTiers: {
|
|
2064
|
+
id: string;
|
|
2790
2065
|
createdAt: string;
|
|
2791
2066
|
updatedAt: string;
|
|
2792
|
-
|
|
2793
|
-
|
|
2067
|
+
storeId: string;
|
|
2068
|
+
price: string;
|
|
2069
|
+
minQuantity: number;
|
|
2794
2070
|
maxQuantity: number | null;
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2071
|
+
productId: string | null;
|
|
2072
|
+
productVariantId: string | null;
|
|
2073
|
+
}[];
|
|
2074
|
+
} & {
|
|
2075
|
+
lang?: string;
|
|
2076
|
+
bundle?: {
|
|
2077
|
+
discountPercentage: number | null;
|
|
2078
|
+
groups: {
|
|
2801
2079
|
id: string;
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2080
|
+
name: string | null;
|
|
2081
|
+
position: number;
|
|
2082
|
+
minQuantity: number;
|
|
2083
|
+
maxQuantity: number | null;
|
|
2084
|
+
allowDuplicates: boolean;
|
|
2085
|
+
items: {
|
|
2086
|
+
variantId: string;
|
|
2087
|
+
position: number;
|
|
2088
|
+
forced: boolean;
|
|
2089
|
+
defaultSelected: boolean;
|
|
2090
|
+
fixedQuantity: number;
|
|
2091
|
+
maxQuantity: number | null;
|
|
2092
|
+
variant: {
|
|
2093
|
+
id: string;
|
|
2094
|
+
price: string;
|
|
2095
|
+
sku: string | null;
|
|
2096
|
+
stock: number | null;
|
|
2097
|
+
images: string[];
|
|
2098
|
+
productName: string;
|
|
2099
|
+
productSlug: string;
|
|
2100
|
+
productImages: string[];
|
|
2101
|
+
options: {
|
|
2102
|
+
type: string;
|
|
2103
|
+
value: string;
|
|
2104
|
+
colorValue: string | null;
|
|
2105
|
+
}[];
|
|
2106
|
+
};
|
|
2107
|
+
}[];
|
|
2108
|
+
}[];
|
|
2109
|
+
};
|
|
2110
|
+
};
|
|
2111
|
+
type APIProductGetByIdParams = {
|
|
2112
|
+
idOrSlug: string;
|
|
2113
|
+
};
|
|
2114
|
+
type APIProductGetByIdQueryParams = {
|
|
2115
|
+
lang?: string;
|
|
2116
|
+
currency?: string;
|
|
2117
|
+
};
|
|
2118
|
+
type APICartGetResult = {
|
|
2119
|
+
lineItems: {
|
|
2120
|
+
productVariant: {
|
|
2822
2121
|
product: {
|
|
2122
|
+
bundleProducts: {
|
|
2123
|
+
variant: Omit<{
|
|
2124
|
+
storeId: string | null;
|
|
2125
|
+
product: {
|
|
2126
|
+
productTaxRate: {
|
|
2127
|
+
taxRate: {
|
|
2128
|
+
rate: string;
|
|
2129
|
+
label: string | null;
|
|
2130
|
+
};
|
|
2131
|
+
} | null;
|
|
2132
|
+
id: string;
|
|
2133
|
+
name: string;
|
|
2134
|
+
slug: string;
|
|
2135
|
+
images: string[];
|
|
2136
|
+
};
|
|
2137
|
+
id: string;
|
|
2138
|
+
createdAt: string;
|
|
2139
|
+
updatedAt: string;
|
|
2140
|
+
description: string | null;
|
|
2141
|
+
price: string;
|
|
2142
|
+
images: string[];
|
|
2143
|
+
sku: string | null;
|
|
2144
|
+
barcode: string | null;
|
|
2145
|
+
calculatedPrice: string | null;
|
|
2146
|
+
stock: number | null;
|
|
2147
|
+
depth: number | null;
|
|
2148
|
+
width: number | null;
|
|
2149
|
+
height: number | null;
|
|
2150
|
+
weight: number | null;
|
|
2151
|
+
digital: string[] | null;
|
|
2152
|
+
shippable: boolean;
|
|
2153
|
+
externalId: string | null;
|
|
2154
|
+
productId: string;
|
|
2155
|
+
attributes: unknown;
|
|
2156
|
+
originalPrice: string;
|
|
2157
|
+
prices: {
|
|
2158
|
+
createdAt: string;
|
|
2159
|
+
updatedAt: string;
|
|
2160
|
+
currency: string;
|
|
2161
|
+
storeId: string;
|
|
2162
|
+
price: string;
|
|
2163
|
+
calculatedPrice: string | null;
|
|
2164
|
+
variantId: string;
|
|
2165
|
+
}[];
|
|
2166
|
+
}, "prices">;
|
|
2167
|
+
createdAt: string;
|
|
2168
|
+
updatedAt: string;
|
|
2169
|
+
position: number;
|
|
2170
|
+
bundleId: string;
|
|
2171
|
+
maxQuantity: number | null;
|
|
2172
|
+
quantity: number;
|
|
2173
|
+
variantId: string;
|
|
2174
|
+
groupId: string | null;
|
|
2175
|
+
forced: boolean;
|
|
2176
|
+
defaultSelected: boolean;
|
|
2177
|
+
}[];
|
|
2823
2178
|
id: string;
|
|
2824
2179
|
name: string;
|
|
2180
|
+
createdAt: string;
|
|
2181
|
+
updatedAt: string;
|
|
2182
|
+
type: "set" | "product" | "bundle";
|
|
2825
2183
|
slug: string;
|
|
2184
|
+
status: "published" | "draft" | "hidden" | null;
|
|
2185
|
+
flags: unknown;
|
|
2186
|
+
storeId: string;
|
|
2187
|
+
summary: string | null;
|
|
2188
|
+
content: JSONContent | null;
|
|
2826
2189
|
images: string[];
|
|
2190
|
+
badge: unknown;
|
|
2191
|
+
bundleDiscountPercentage: string | null;
|
|
2192
|
+
bundlePriceMode: "fixed" | "percent" | "amount";
|
|
2193
|
+
bundleFixedPriceAmount: string | null;
|
|
2194
|
+
bundleAmountOffAmount: string | null;
|
|
2195
|
+
seo: {
|
|
2196
|
+
title?: string | null | undefined;
|
|
2197
|
+
description?: string | null | undefined;
|
|
2198
|
+
canonical?: string | null | undefined;
|
|
2199
|
+
} | null;
|
|
2200
|
+
stripeTaxCode: string | null;
|
|
2201
|
+
categoryId: string | null;
|
|
2202
|
+
brandId: string | null;
|
|
2827
2203
|
productTaxRate: {
|
|
2828
2204
|
createdAt: string;
|
|
2829
2205
|
updatedAt: string;
|
|
@@ -2839,30 +2215,70 @@ type APIProductGetByIdResult = {
|
|
|
2839
2215
|
label: string | null;
|
|
2840
2216
|
};
|
|
2841
2217
|
} | null;
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
createdAt: string;
|
|
2845
|
-
updatedAt: string;
|
|
2846
|
-
storeId: string;
|
|
2847
|
-
description: string | null;
|
|
2848
|
-
price: string;
|
|
2849
|
-
images: string[];
|
|
2850
|
-
sku: string | null;
|
|
2851
|
-
barcode: string | null;
|
|
2852
|
-
calculatedPrice: string | null;
|
|
2853
|
-
stock: number | null;
|
|
2854
|
-
depth: number | null;
|
|
2855
|
-
width: number | null;
|
|
2856
|
-
height: number | null;
|
|
2857
|
-
weight: number | null;
|
|
2858
|
-
digital: string[] | null;
|
|
2859
|
-
shippable: boolean;
|
|
2860
|
-
externalId: string | null;
|
|
2218
|
+
productCollections: {
|
|
2219
|
+
position: string | null;
|
|
2861
2220
|
productId: string;
|
|
2862
|
-
|
|
2863
|
-
|
|
2221
|
+
collectionId: string;
|
|
2222
|
+
collection: {
|
|
2223
|
+
id: string;
|
|
2224
|
+
name: string;
|
|
2225
|
+
image: string | null;
|
|
2226
|
+
createdAt: string;
|
|
2227
|
+
updatedAt: string;
|
|
2228
|
+
slug: string;
|
|
2229
|
+
active: boolean;
|
|
2230
|
+
filter: {
|
|
2231
|
+
type: "manual";
|
|
2232
|
+
} | {
|
|
2233
|
+
type: "dynamicPrice";
|
|
2234
|
+
min?: number | null | undefined;
|
|
2235
|
+
max?: number | null | undefined;
|
|
2236
|
+
} | {
|
|
2237
|
+
type: "variantValues";
|
|
2238
|
+
values: Record<string, string[]>;
|
|
2239
|
+
} | {
|
|
2240
|
+
type: "newest";
|
|
2241
|
+
days?: number | null | undefined;
|
|
2242
|
+
};
|
|
2243
|
+
storeId: string;
|
|
2244
|
+
description: JSONContent | null;
|
|
2245
|
+
};
|
|
2246
|
+
}[];
|
|
2247
|
+
bundleGroups: {
|
|
2248
|
+
id: string;
|
|
2249
|
+
minQuantity: number;
|
|
2250
|
+
maxQuantity: number | null;
|
|
2251
|
+
allowDuplicates: boolean;
|
|
2864
2252
|
}[];
|
|
2253
|
+
setProduct: {
|
|
2254
|
+
allowDuplicates: boolean;
|
|
2255
|
+
selectionCount: number;
|
|
2256
|
+
discountPercentage: string;
|
|
2257
|
+
} | null;
|
|
2865
2258
|
};
|
|
2259
|
+
id: string;
|
|
2260
|
+
createdAt: string;
|
|
2261
|
+
updatedAt: string;
|
|
2262
|
+
storeId: string;
|
|
2263
|
+
description: string | null;
|
|
2264
|
+
price: string;
|
|
2265
|
+
images: string[];
|
|
2266
|
+
sku: string | null;
|
|
2267
|
+
barcode: string | null;
|
|
2268
|
+
originalPrice: string;
|
|
2269
|
+
calculatedPrice: string | null;
|
|
2270
|
+
prePromotionPrice: string | null;
|
|
2271
|
+
preVolumePricingPrice: string | null;
|
|
2272
|
+
stock: number | null;
|
|
2273
|
+
depth: number | null;
|
|
2274
|
+
width: number | null;
|
|
2275
|
+
height: number | null;
|
|
2276
|
+
weight: number | null;
|
|
2277
|
+
digital: string[] | null;
|
|
2278
|
+
shippable: boolean;
|
|
2279
|
+
externalId: string | null;
|
|
2280
|
+
productId: string;
|
|
2281
|
+
attributes: unknown;
|
|
2866
2282
|
combinations: {
|
|
2867
2283
|
createdAt: string;
|
|
2868
2284
|
updatedAt: string;
|
|
@@ -2871,163 +2287,317 @@ type APIProductGetByIdResult = {
|
|
|
2871
2287
|
variantValue: {
|
|
2872
2288
|
id: string;
|
|
2873
2289
|
value: string;
|
|
2874
|
-
colorValue: string | null;
|
|
2875
2290
|
variantType: {
|
|
2876
2291
|
id: string;
|
|
2877
|
-
type: "string" | "color";
|
|
2878
2292
|
label: string;
|
|
2879
2293
|
};
|
|
2880
2294
|
};
|
|
2881
2295
|
}[];
|
|
2882
2296
|
};
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2297
|
+
preVolumePricingPrice: string | null;
|
|
2298
|
+
setSelections: {
|
|
2299
|
+
selectedVariant: {
|
|
2300
|
+
combinations: {
|
|
2301
|
+
createdAt: string;
|
|
2302
|
+
updatedAt: string;
|
|
2303
|
+
productVariantId: string;
|
|
2304
|
+
variantValueId: string;
|
|
2305
|
+
variantValue: {
|
|
2306
|
+
id: string;
|
|
2307
|
+
value: string;
|
|
2308
|
+
variantType: {
|
|
2309
|
+
id: string;
|
|
2310
|
+
label: string;
|
|
2311
|
+
};
|
|
2312
|
+
};
|
|
2313
|
+
}[];
|
|
2314
|
+
id: string;
|
|
2315
|
+
price: string;
|
|
2316
|
+
product: {
|
|
2317
|
+
id: string;
|
|
2318
|
+
name: string;
|
|
2319
|
+
};
|
|
2320
|
+
};
|
|
2889
2321
|
id: string;
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2322
|
+
createdAt: string;
|
|
2323
|
+
updatedAt: string;
|
|
2324
|
+
position: number;
|
|
2325
|
+
quantity: number;
|
|
2326
|
+
lineItemId: string;
|
|
2327
|
+
selectedVariantId: string;
|
|
2893
2328
|
}[];
|
|
2329
|
+
id: string;
|
|
2330
|
+
createdAt: string;
|
|
2331
|
+
updatedAt: string;
|
|
2332
|
+
cartId: string;
|
|
2333
|
+
quantity: number;
|
|
2334
|
+
productVariantId: string;
|
|
2335
|
+
subscriptionPlanId: string | null;
|
|
2336
|
+
attendees: {
|
|
2337
|
+
name: string;
|
|
2338
|
+
email: string | null;
|
|
2339
|
+
}[] | null;
|
|
2340
|
+
subscriptionPlan: {
|
|
2341
|
+
id: string;
|
|
2342
|
+
name: string;
|
|
2343
|
+
createdAt: string;
|
|
2344
|
+
updatedAt: string;
|
|
2345
|
+
interval: number;
|
|
2346
|
+
active: boolean;
|
|
2347
|
+
storeId: string;
|
|
2348
|
+
description: string | null;
|
|
2349
|
+
position: number;
|
|
2350
|
+
cadence: "month" | "week";
|
|
2351
|
+
discountPercent: number;
|
|
2352
|
+
benefits: string | null;
|
|
2353
|
+
} | null;
|
|
2894
2354
|
}[];
|
|
2895
|
-
|
|
2896
|
-
locale: string;
|
|
2897
|
-
}[];
|
|
2898
|
-
variants: ({
|
|
2355
|
+
shipping: Omit<{
|
|
2899
2356
|
id: string;
|
|
2357
|
+
name: string;
|
|
2900
2358
|
createdAt: string;
|
|
2901
2359
|
updatedAt: string;
|
|
2360
|
+
type: "courier" | "parcel" | "pickup_point" | "in_store";
|
|
2902
2361
|
storeId: string;
|
|
2903
2362
|
description: string | null;
|
|
2904
2363
|
price: string;
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
externalId: string | null;
|
|
2917
|
-
productId: string;
|
|
2918
|
-
attributes: unknown;
|
|
2919
|
-
originalPrice: string;
|
|
2920
|
-
combinations: {
|
|
2364
|
+
minShippingTime: number | null;
|
|
2365
|
+
maxShippingTime: number | null;
|
|
2366
|
+
freeShippingThreshold: string | null;
|
|
2367
|
+
position: number | null;
|
|
2368
|
+
addonId: string | null;
|
|
2369
|
+
addonData: unknown;
|
|
2370
|
+
deliverySlots: unknown;
|
|
2371
|
+
countries: string[] | null;
|
|
2372
|
+
shippingAddon: {
|
|
2373
|
+
id: string;
|
|
2374
|
+
name: string;
|
|
2921
2375
|
createdAt: string;
|
|
2922
2376
|
updatedAt: string;
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2377
|
+
type: "shipping" | "analytics" | "products" | "invoicing" | "orders";
|
|
2378
|
+
storeId: string;
|
|
2379
|
+
} | null;
|
|
2380
|
+
shippingTaxRate: {
|
|
2381
|
+
createdAt: string;
|
|
2382
|
+
updatedAt: string;
|
|
2383
|
+
shippingId: string;
|
|
2384
|
+
taxRateId: string;
|
|
2385
|
+
taxRate: {
|
|
2926
2386
|
id: string;
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
label: string;
|
|
2934
|
-
};
|
|
2387
|
+
name: string;
|
|
2388
|
+
createdAt: string;
|
|
2389
|
+
updatedAt: string;
|
|
2390
|
+
storeId: string;
|
|
2391
|
+
rate: string;
|
|
2392
|
+
label: string | null;
|
|
2935
2393
|
};
|
|
2936
|
-
}
|
|
2394
|
+
} | null;
|
|
2937
2395
|
prices: {
|
|
2938
2396
|
createdAt: string;
|
|
2939
2397
|
updatedAt: string;
|
|
2940
2398
|
currency: string;
|
|
2941
2399
|
storeId: string;
|
|
2942
2400
|
price: string;
|
|
2943
|
-
|
|
2944
|
-
|
|
2401
|
+
freeShippingThreshold: string | null;
|
|
2402
|
+
shippingId: string;
|
|
2945
2403
|
}[];
|
|
2946
|
-
}
|
|
2404
|
+
}, "prices"> | null;
|
|
2405
|
+
coupon: Omit<{
|
|
2406
|
+
type: "fixed" | "percentage";
|
|
2407
|
+
value: string;
|
|
2408
|
+
code: string;
|
|
2409
|
+
startDate: string | null;
|
|
2410
|
+
endDate: string | null;
|
|
2411
|
+
minProductCount: number | null;
|
|
2412
|
+
maxProductCount: number | null;
|
|
2413
|
+
products: {
|
|
2414
|
+
id: string;
|
|
2415
|
+
}[];
|
|
2416
|
+
brands: {
|
|
2417
|
+
id: string;
|
|
2418
|
+
}[];
|
|
2419
|
+
collections: {
|
|
2420
|
+
id: string;
|
|
2421
|
+
}[];
|
|
2422
|
+
categories: {
|
|
2423
|
+
id: string;
|
|
2424
|
+
}[];
|
|
2425
|
+
prices: {
|
|
2426
|
+
createdAt: string;
|
|
2427
|
+
updatedAt: string;
|
|
2428
|
+
currency: string;
|
|
2429
|
+
value: string;
|
|
2430
|
+
storeId: string;
|
|
2431
|
+
couponId: string;
|
|
2432
|
+
}[];
|
|
2433
|
+
}, "prices"> | null;
|
|
2434
|
+
customer: {
|
|
2435
|
+
id: string;
|
|
2436
|
+
email: string | null;
|
|
2437
|
+
createdAt: string;
|
|
2438
|
+
updatedAt: string;
|
|
2439
|
+
userId: string | null;
|
|
2440
|
+
storeId: string;
|
|
2441
|
+
couponId: string | null;
|
|
2442
|
+
user: {
|
|
2443
|
+
id: string;
|
|
2444
|
+
name: string;
|
|
2445
|
+
email: string;
|
|
2446
|
+
} | null;
|
|
2447
|
+
coupon: {
|
|
2448
|
+
type: "fixed" | "percentage";
|
|
2449
|
+
value: string;
|
|
2450
|
+
code: string;
|
|
2451
|
+
startDate: string | null;
|
|
2452
|
+
endDate: string | null;
|
|
2453
|
+
minProductCount: number | null;
|
|
2454
|
+
maxProductCount: number | null;
|
|
2455
|
+
products: {
|
|
2456
|
+
id: string;
|
|
2457
|
+
}[];
|
|
2458
|
+
brands: {
|
|
2459
|
+
id: string;
|
|
2460
|
+
}[];
|
|
2461
|
+
collections: {
|
|
2462
|
+
id: string;
|
|
2463
|
+
}[];
|
|
2464
|
+
categories: {
|
|
2465
|
+
id: string;
|
|
2466
|
+
}[];
|
|
2467
|
+
prices: {
|
|
2468
|
+
createdAt: string;
|
|
2469
|
+
updatedAt: string;
|
|
2470
|
+
currency: string;
|
|
2471
|
+
value: string;
|
|
2472
|
+
storeId: string;
|
|
2473
|
+
couponId: string;
|
|
2474
|
+
}[];
|
|
2475
|
+
} | null;
|
|
2476
|
+
} | {
|
|
2477
|
+
coupon: Omit<{
|
|
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
|
+
brands: {
|
|
2489
|
+
id: string;
|
|
2490
|
+
}[];
|
|
2491
|
+
collections: {
|
|
2492
|
+
id: string;
|
|
2493
|
+
}[];
|
|
2494
|
+
categories: {
|
|
2495
|
+
id: string;
|
|
2496
|
+
}[];
|
|
2497
|
+
prices: {
|
|
2498
|
+
createdAt: string;
|
|
2499
|
+
updatedAt: string;
|
|
2500
|
+
currency: string;
|
|
2501
|
+
value: string;
|
|
2502
|
+
storeId: string;
|
|
2503
|
+
couponId: string;
|
|
2504
|
+
}[];
|
|
2505
|
+
}, "prices">;
|
|
2947
2506
|
id: string;
|
|
2948
|
-
|
|
2949
|
-
} & {
|
|
2950
|
-
prePromotionPrice: string | null;
|
|
2951
|
-
} & {
|
|
2952
|
-
omnibusPrice: string | null;
|
|
2953
|
-
})[];
|
|
2954
|
-
subscriptionPlanProducts: {
|
|
2507
|
+
email: string | null;
|
|
2955
2508
|
createdAt: string;
|
|
2956
2509
|
updatedAt: string;
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2510
|
+
userId: string | null;
|
|
2511
|
+
storeId: string;
|
|
2512
|
+
couponId: string | null;
|
|
2513
|
+
user: {
|
|
2961
2514
|
id: string;
|
|
2962
2515
|
name: string;
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2516
|
+
email: string;
|
|
2517
|
+
} | null;
|
|
2518
|
+
} | null;
|
|
2519
|
+
id: string;
|
|
2520
|
+
createdAt: string;
|
|
2521
|
+
updatedAt: string;
|
|
2522
|
+
currency: string | null;
|
|
2523
|
+
storeId: string;
|
|
2524
|
+
addonData: Record<string, unknown> | null | undefined;
|
|
2525
|
+
couponId: string | null;
|
|
2526
|
+
customerId: string | null;
|
|
2527
|
+
stripePaymentIntentId: string | null;
|
|
2528
|
+
checkoutSessionId: string | null;
|
|
2529
|
+
shippingId: string | null;
|
|
2530
|
+
shippingAddressId: string | null;
|
|
2531
|
+
billingAddressId: string | null;
|
|
2532
|
+
deliverySlot: unknown;
|
|
2533
|
+
ucpSessionStatus: "incomplete" | "ready_for_complete" | "requires_escalation" | "complete_in_progress" | "completed" | "canceled" | null;
|
|
2534
|
+
ucpMetadata: {
|
|
2535
|
+
buyerEmail?: string;
|
|
2536
|
+
buyerName?: string;
|
|
2537
|
+
buyerPhone?: string;
|
|
2538
|
+
agentId?: string;
|
|
2539
|
+
externalReference?: string;
|
|
2540
|
+
escalationReason?: string;
|
|
2541
|
+
} | null;
|
|
2542
|
+
acpSessionStatus: "completed" | "canceled" | "not_ready_for_payment" | "ready_for_payment" | null;
|
|
2543
|
+
acpMetadata: {
|
|
2544
|
+
buyerEmail?: string;
|
|
2545
|
+
buyerName?: string;
|
|
2546
|
+
buyerPhone?: string;
|
|
2547
|
+
agentId?: string;
|
|
2548
|
+
externalReference?: string;
|
|
2549
|
+
idempotencyKey?: string;
|
|
2550
|
+
} | null;
|
|
2551
|
+
billingAddress: {
|
|
2976
2552
|
id: string;
|
|
2553
|
+
name: string | null;
|
|
2977
2554
|
createdAt: string;
|
|
2978
2555
|
updatedAt: string;
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
};
|
|
3022
|
-
};
|
|
3023
|
-
type APIProductGetByIdParams = {
|
|
3024
|
-
idOrSlug: string;
|
|
3025
|
-
};
|
|
3026
|
-
type APIProductGetByIdQueryParams = {
|
|
3027
|
-
lang?: string;
|
|
3028
|
-
currency?: string;
|
|
2556
|
+
type: "shipping" | "billing" | "merchant";
|
|
2557
|
+
company: string | null;
|
|
2558
|
+
city: string | null;
|
|
2559
|
+
country: string | null;
|
|
2560
|
+
line1: string | null;
|
|
2561
|
+
line2: string | null;
|
|
2562
|
+
postalCode: string | null;
|
|
2563
|
+
state: string | null;
|
|
2564
|
+
phone: string | null;
|
|
2565
|
+
taxId: string | null;
|
|
2566
|
+
} | null;
|
|
2567
|
+
shippingAddress: {
|
|
2568
|
+
id: string;
|
|
2569
|
+
name: string | null;
|
|
2570
|
+
createdAt: string;
|
|
2571
|
+
updatedAt: string;
|
|
2572
|
+
type: "shipping" | "billing" | "merchant";
|
|
2573
|
+
company: string | null;
|
|
2574
|
+
city: string | null;
|
|
2575
|
+
country: string | null;
|
|
2576
|
+
line1: string | null;
|
|
2577
|
+
line2: string | null;
|
|
2578
|
+
postalCode: string | null;
|
|
2579
|
+
state: string | null;
|
|
2580
|
+
phone: string | null;
|
|
2581
|
+
taxId: string | null;
|
|
2582
|
+
} | null;
|
|
2583
|
+
} | null | undefined;
|
|
2584
|
+
type APICartAddBody = unknown;
|
|
2585
|
+
type APICartAddResult = unknown;
|
|
2586
|
+
type APICartCreateBody = {
|
|
2587
|
+
variantId?: string | undefined;
|
|
2588
|
+
quantity?: number | undefined;
|
|
2589
|
+
mode?: "set" | "add" | undefined;
|
|
2590
|
+
cartId?: string | undefined;
|
|
2591
|
+
subscriptionPlanId?: string | null | undefined;
|
|
2592
|
+
currency?: string | undefined;
|
|
2593
|
+
bundleId?: string | undefined;
|
|
2594
|
+
selections?: {
|
|
2595
|
+
variantId: string;
|
|
2596
|
+
groupId: string;
|
|
2597
|
+
quantity: number;
|
|
2598
|
+
}[] | undefined;
|
|
3029
2599
|
};
|
|
3030
|
-
type
|
|
2600
|
+
type APICartCreateResult = {
|
|
3031
2601
|
lineItems: {
|
|
3032
2602
|
productVariant: {
|
|
3033
2603
|
product: {
|
|
@@ -3156,9 +2726,15 @@ type APICartGetResult = {
|
|
|
3156
2726
|
description: JSONContent | null;
|
|
3157
2727
|
};
|
|
3158
2728
|
}[];
|
|
2729
|
+
bundleGroups: {
|
|
2730
|
+
id: string;
|
|
2731
|
+
minQuantity: number;
|
|
2732
|
+
maxQuantity: number | null;
|
|
2733
|
+
allowDuplicates: boolean;
|
|
2734
|
+
}[];
|
|
3159
2735
|
setProduct: {
|
|
3160
|
-
selectionCount: number;
|
|
3161
2736
|
allowDuplicates: boolean;
|
|
2737
|
+
selectionCount: number;
|
|
3162
2738
|
discountPercentage: string;
|
|
3163
2739
|
} | null;
|
|
3164
2740
|
};
|
|
@@ -3487,23 +3063,7 @@ type APICartGetResult = {
|
|
|
3487
3063
|
taxId: string | null;
|
|
3488
3064
|
} | null;
|
|
3489
3065
|
} | null | undefined;
|
|
3490
|
-
type
|
|
3491
|
-
type APICartAddResult = unknown;
|
|
3492
|
-
type APICartCreateBody = {
|
|
3493
|
-
variantId?: string | undefined;
|
|
3494
|
-
quantity?: number | undefined;
|
|
3495
|
-
mode?: "set" | "add" | undefined;
|
|
3496
|
-
cartId?: string | undefined;
|
|
3497
|
-
subscriptionPlanId?: string | null | undefined;
|
|
3498
|
-
currency?: string | undefined;
|
|
3499
|
-
bundleId?: string | undefined;
|
|
3500
|
-
selections?: {
|
|
3501
|
-
variantId: string;
|
|
3502
|
-
groupId: string;
|
|
3503
|
-
quantity: number;
|
|
3504
|
-
}[] | undefined;
|
|
3505
|
-
};
|
|
3506
|
-
type APICartCreateResult = {
|
|
3066
|
+
type APICartRemoveItemResult = {
|
|
3507
3067
|
lineItems: {
|
|
3508
3068
|
productVariant: {
|
|
3509
3069
|
product: {
|
|
@@ -3632,9 +3192,15 @@ type APICartCreateResult = {
|
|
|
3632
3192
|
description: JSONContent | null;
|
|
3633
3193
|
};
|
|
3634
3194
|
}[];
|
|
3195
|
+
bundleGroups: {
|
|
3196
|
+
id: string;
|
|
3197
|
+
minQuantity: number;
|
|
3198
|
+
maxQuantity: number | null;
|
|
3199
|
+
allowDuplicates: boolean;
|
|
3200
|
+
}[];
|
|
3635
3201
|
setProduct: {
|
|
3636
|
-
selectionCount: number;
|
|
3637
3202
|
allowDuplicates: boolean;
|
|
3203
|
+
selectionCount: number;
|
|
3638
3204
|
discountPercentage: string;
|
|
3639
3205
|
} | null;
|
|
3640
3206
|
};
|
|
@@ -3963,7 +3529,13 @@ type APICartCreateResult = {
|
|
|
3963
3529
|
taxId: string | null;
|
|
3964
3530
|
} | null;
|
|
3965
3531
|
} | null | undefined;
|
|
3966
|
-
type
|
|
3532
|
+
type APICartRemoveItemQueryParams = {
|
|
3533
|
+
subscriptionPlanId?: string | undefined;
|
|
3534
|
+
};
|
|
3535
|
+
type APICartCouponApplyBody = {
|
|
3536
|
+
code: string;
|
|
3537
|
+
};
|
|
3538
|
+
type APICartCouponApplyResult = {
|
|
3967
3539
|
lineItems: {
|
|
3968
3540
|
productVariant: {
|
|
3969
3541
|
product: {
|
|
@@ -4092,9 +3664,15 @@ type APICartRemoveItemResult = {
|
|
|
4092
3664
|
description: JSONContent | null;
|
|
4093
3665
|
};
|
|
4094
3666
|
}[];
|
|
3667
|
+
bundleGroups: {
|
|
3668
|
+
id: string;
|
|
3669
|
+
minQuantity: number;
|
|
3670
|
+
maxQuantity: number | null;
|
|
3671
|
+
allowDuplicates: boolean;
|
|
3672
|
+
}[];
|
|
4095
3673
|
setProduct: {
|
|
4096
|
-
selectionCount: number;
|
|
4097
3674
|
allowDuplicates: boolean;
|
|
3675
|
+
selectionCount: number;
|
|
4098
3676
|
discountPercentage: string;
|
|
4099
3677
|
} | null;
|
|
4100
3678
|
};
|
|
@@ -4423,8 +4001,8 @@ type APICartRemoveItemResult = {
|
|
|
4423
4001
|
taxId: string | null;
|
|
4424
4002
|
} | null;
|
|
4425
4003
|
} | null | undefined;
|
|
4426
|
-
type
|
|
4427
|
-
|
|
4004
|
+
type APICartCouponRemoveResult = {
|
|
4005
|
+
ok: boolean;
|
|
4428
4006
|
};
|
|
4429
4007
|
type APICouponGetByIdResult = {
|
|
4430
4008
|
id: string;
|
|
@@ -4552,7 +4130,7 @@ type APISupportCase = {
|
|
|
4552
4130
|
};
|
|
4553
4131
|
type APISupportCaseMessage = {
|
|
4554
4132
|
id: string;
|
|
4555
|
-
authorKind: "merchant" | "support";
|
|
4133
|
+
authorKind: "merchant" | "support" | "system" | "elliot";
|
|
4556
4134
|
authorLabel: string;
|
|
4557
4135
|
body: string;
|
|
4558
4136
|
attachments: {
|
|
@@ -4643,6 +4221,22 @@ type APIOrdersBrowseResult = {
|
|
|
4643
4221
|
storeId: string;
|
|
4644
4222
|
source: string | null;
|
|
4645
4223
|
customerId: string | null;
|
|
4224
|
+
attribution: {
|
|
4225
|
+
firstTouch: {
|
|
4226
|
+
source: string | null;
|
|
4227
|
+
medium: string | null;
|
|
4228
|
+
campaign: string | null;
|
|
4229
|
+
referrerHost: string | null;
|
|
4230
|
+
ts: number;
|
|
4231
|
+
};
|
|
4232
|
+
lastTouch: {
|
|
4233
|
+
source: string | null;
|
|
4234
|
+
medium: string | null;
|
|
4235
|
+
campaign: string | null;
|
|
4236
|
+
referrerHost: string | null;
|
|
4237
|
+
ts: number;
|
|
4238
|
+
};
|
|
4239
|
+
} | null;
|
|
4646
4240
|
lookup: number;
|
|
4647
4241
|
cartId: string | null;
|
|
4648
4242
|
externalId: string | null;
|
|
@@ -4708,6 +4302,7 @@ type APIOrdersBrowseResult = {
|
|
|
4708
4302
|
id: string;
|
|
4709
4303
|
cartId: string;
|
|
4710
4304
|
quantity: number;
|
|
4305
|
+
unitCost: string | null;
|
|
4711
4306
|
createdAt: string;
|
|
4712
4307
|
updatedAt: string;
|
|
4713
4308
|
productVariant: {
|
|
@@ -4819,6 +4414,12 @@ type APIOrdersBrowseResult = {
|
|
|
4819
4414
|
position: string | null;
|
|
4820
4415
|
productId: string;
|
|
4821
4416
|
}[];
|
|
4417
|
+
bundleGroups: {
|
|
4418
|
+
id: string;
|
|
4419
|
+
minQuantity: number;
|
|
4420
|
+
maxQuantity: number | null;
|
|
4421
|
+
allowDuplicates: boolean;
|
|
4422
|
+
}[];
|
|
4822
4423
|
bundleProducts: {
|
|
4823
4424
|
bundleId: string;
|
|
4824
4425
|
variantId: string;
|
|
@@ -5082,6 +4683,7 @@ type APIOrdersBrowseResult = {
|
|
|
5082
4683
|
subtotalNet: number | null;
|
|
5083
4684
|
totalGross: number | null;
|
|
5084
4685
|
subtotalGross: number | null;
|
|
4686
|
+
shippingGross: number | null;
|
|
5085
4687
|
total: number | null;
|
|
5086
4688
|
subtotal: number | null;
|
|
5087
4689
|
totalTax: number | null;
|
|
@@ -5187,6 +4789,7 @@ type APIOrdersBrowseResult = {
|
|
|
5187
4789
|
id: string;
|
|
5188
4790
|
cartId: string;
|
|
5189
4791
|
quantity: number;
|
|
4792
|
+
unitCost: string | null;
|
|
5190
4793
|
createdAt: string;
|
|
5191
4794
|
updatedAt: string;
|
|
5192
4795
|
productVariant: {
|
|
@@ -5298,6 +4901,12 @@ type APIOrdersBrowseResult = {
|
|
|
5298
4901
|
position: string | null;
|
|
5299
4902
|
productId: string;
|
|
5300
4903
|
}[];
|
|
4904
|
+
bundleGroups: {
|
|
4905
|
+
id: string;
|
|
4906
|
+
minQuantity: number;
|
|
4907
|
+
maxQuantity: number | null;
|
|
4908
|
+
allowDuplicates: boolean;
|
|
4909
|
+
}[];
|
|
5301
4910
|
bundleProducts: {
|
|
5302
4911
|
bundleId: string;
|
|
5303
4912
|
variantId: string;
|
|
@@ -5561,6 +5170,7 @@ type APIOrdersBrowseResult = {
|
|
|
5561
5170
|
subtotalNet: number | null;
|
|
5562
5171
|
totalGross: number | null;
|
|
5563
5172
|
subtotalGross: number | null;
|
|
5173
|
+
shippingGross: number | null;
|
|
5564
5174
|
total: number | null;
|
|
5565
5175
|
subtotal: number | null;
|
|
5566
5176
|
totalTax: number | null;
|
|
@@ -5614,6 +5224,22 @@ type APIOrderGetByIdResult = {
|
|
|
5614
5224
|
storeId: string;
|
|
5615
5225
|
source: string | null;
|
|
5616
5226
|
customerId: string | null;
|
|
5227
|
+
attribution: {
|
|
5228
|
+
firstTouch: {
|
|
5229
|
+
source: string | null;
|
|
5230
|
+
medium: string | null;
|
|
5231
|
+
campaign: string | null;
|
|
5232
|
+
referrerHost: string | null;
|
|
5233
|
+
ts: number;
|
|
5234
|
+
};
|
|
5235
|
+
lastTouch: {
|
|
5236
|
+
source: string | null;
|
|
5237
|
+
medium: string | null;
|
|
5238
|
+
campaign: string | null;
|
|
5239
|
+
referrerHost: string | null;
|
|
5240
|
+
ts: number;
|
|
5241
|
+
};
|
|
5242
|
+
} | null;
|
|
5617
5243
|
lookup: number;
|
|
5618
5244
|
cartId: string | null;
|
|
5619
5245
|
externalId: string | null;
|
|
@@ -5679,6 +5305,7 @@ type APIOrderGetByIdResult = {
|
|
|
5679
5305
|
id: string;
|
|
5680
5306
|
cartId: string;
|
|
5681
5307
|
quantity: number;
|
|
5308
|
+
unitCost: string | null;
|
|
5682
5309
|
createdAt: string;
|
|
5683
5310
|
updatedAt: string;
|
|
5684
5311
|
productVariant: {
|
|
@@ -5790,6 +5417,12 @@ type APIOrderGetByIdResult = {
|
|
|
5790
5417
|
position: string | null;
|
|
5791
5418
|
productId: string;
|
|
5792
5419
|
}[];
|
|
5420
|
+
bundleGroups: {
|
|
5421
|
+
id: string;
|
|
5422
|
+
minQuantity: number;
|
|
5423
|
+
maxQuantity: number | null;
|
|
5424
|
+
allowDuplicates: boolean;
|
|
5425
|
+
}[];
|
|
5793
5426
|
bundleProducts: {
|
|
5794
5427
|
bundleId: string;
|
|
5795
5428
|
variantId: string;
|
|
@@ -6053,6 +5686,7 @@ type APIOrderGetByIdResult = {
|
|
|
6053
5686
|
subtotalNet: number | null;
|
|
6054
5687
|
totalGross: number | null;
|
|
6055
5688
|
subtotalGross: number | null;
|
|
5689
|
+
shippingGross: number | null;
|
|
6056
5690
|
total: number | null;
|
|
6057
5691
|
subtotal: number | null;
|
|
6058
5692
|
totalTax: number | null;
|
|
@@ -6191,6 +5825,7 @@ type APIOrderGetByIdResult = {
|
|
|
6191
5825
|
id: string;
|
|
6192
5826
|
cartId: string;
|
|
6193
5827
|
quantity: number;
|
|
5828
|
+
unitCost: string | null;
|
|
6194
5829
|
createdAt: string;
|
|
6195
5830
|
updatedAt: string;
|
|
6196
5831
|
productVariant: {
|
|
@@ -6302,6 +5937,12 @@ type APIOrderGetByIdResult = {
|
|
|
6302
5937
|
position: string | null;
|
|
6303
5938
|
productId: string;
|
|
6304
5939
|
}[];
|
|
5940
|
+
bundleGroups: {
|
|
5941
|
+
id: string;
|
|
5942
|
+
minQuantity: number;
|
|
5943
|
+
maxQuantity: number | null;
|
|
5944
|
+
allowDuplicates: boolean;
|
|
5945
|
+
}[];
|
|
6305
5946
|
bundleProducts: {
|
|
6306
5947
|
bundleId: string;
|
|
6307
5948
|
variantId: string;
|
|
@@ -6565,6 +6206,7 @@ type APIOrderGetByIdResult = {
|
|
|
6565
6206
|
subtotalNet: number | null;
|
|
6566
6207
|
totalGross: number | null;
|
|
6567
6208
|
subtotalGross: number | null;
|
|
6209
|
+
shippingGross: number | null;
|
|
6568
6210
|
total: number | null;
|
|
6569
6211
|
subtotal: number | null;
|
|
6570
6212
|
totalTax: number | null;
|
|
@@ -7150,6 +6792,7 @@ type APIMeStore = {
|
|
|
7150
6792
|
sharedCouponCode?: string | null | undefined;
|
|
7151
6793
|
uniquePrefix?: string | null | undefined;
|
|
7152
6794
|
discountValue?: number | null | undefined;
|
|
6795
|
+
reminderDaysBefore?: number | null | undefined;
|
|
7153
6796
|
} | null | undefined;
|
|
7154
6797
|
cartRecommendations: {
|
|
7155
6798
|
layout: "inline" | "sidebar";
|
|
@@ -7457,7 +7100,6 @@ type APICustomerGetByIdParams = {
|
|
|
7457
7100
|
};
|
|
7458
7101
|
type APICustomerUpdateBody = {
|
|
7459
7102
|
name?: string;
|
|
7460
|
-
phone?: string;
|
|
7461
7103
|
};
|
|
7462
7104
|
type APICustomerUpdateResult = {
|
|
7463
7105
|
id: string;
|
|
@@ -7509,6 +7151,7 @@ type APICustomerOrdersBrowseQueryParams = {
|
|
|
7509
7151
|
type APIInventoryBrowseResult = {
|
|
7510
7152
|
items: Array<{
|
|
7511
7153
|
sku: string | null;
|
|
7154
|
+
tracked: boolean;
|
|
7512
7155
|
onHand: number;
|
|
7513
7156
|
reserved: number;
|
|
7514
7157
|
available: number;
|
|
@@ -7614,20 +7257,14 @@ type APISubscriberCreateBody = {
|
|
|
7614
7257
|
};
|
|
7615
7258
|
type APISubscriberCreateResult = {
|
|
7616
7259
|
id: string;
|
|
7617
|
-
name: string | null;
|
|
7618
7260
|
email: string;
|
|
7619
|
-
|
|
7620
|
-
updatedAt: string;
|
|
7621
|
-
storeId: string;
|
|
7622
|
-
location: string | null;
|
|
7261
|
+
name: string | null;
|
|
7623
7262
|
source: string;
|
|
7624
7263
|
placement: string | null;
|
|
7625
|
-
|
|
7626
|
-
|
|
7627
|
-
unsubscribeToken: string | null;
|
|
7628
|
-
} & {
|
|
7264
|
+
pending: boolean;
|
|
7265
|
+
createdAt: string;
|
|
7629
7266
|
welcomeOffer: {
|
|
7630
|
-
status: "queued" | "off";
|
|
7267
|
+
status: "queued" | "pending_confirmation" | "off";
|
|
7631
7268
|
};
|
|
7632
7269
|
};
|
|
7633
7270
|
type APISubscriberDeleteResult = {
|
|
@@ -8600,6 +8237,7 @@ type APIProductBatchBody = {
|
|
|
8600
8237
|
shippable: boolean;
|
|
8601
8238
|
slug?: string | undefined;
|
|
8602
8239
|
summary?: string | undefined;
|
|
8240
|
+
cost?: number | null | undefined;
|
|
8603
8241
|
category_name?: string | undefined;
|
|
8604
8242
|
sku?: string | undefined;
|
|
8605
8243
|
barcode?: string | null | undefined;
|
|
@@ -8619,4 +8257,4 @@ type APICartDeleteResult = {
|
|
|
8619
8257
|
success: boolean;
|
|
8620
8258
|
};
|
|
8621
8259
|
|
|
8622
|
-
export type { APIBlogCategoriesBrowseQueryParams, APIBlogCategoriesBrowseResult, APIBlogCategoryCreateBody, APIBlogCategoryCreateResult, APIBlogCategoryDeleteResult, APIBlogCategoryGetByIdParams, APIBlogCategoryGetByIdResult, APIBlogCategoryUpdateBody, APIBlogCategoryUpdateResult, APIBrandAssignProductsBody, APIBrandAssignProductsResult, APIBrandCreateBody, APIBrandCreateResult, APIBrandDeleteResult, APIBrandGetByIdParams, APIBrandGetByIdResult, APIBrandUpdateBody, APIBrandUpdateResult, APIBrandsBrowseQueryParams, APIBrandsBrowseResult, APICartAddBody, APICartAddResult, APICartCreateBody, APICartCreateResult, APICartDeleteResult, APICartGetResult, APICartRemoveItemQueryParams, APICartRemoveItemResult, APICategoriesBrowseQueryParams, APICategoriesBrowseResult, APICategoryCreateBody, APICategoryCreateResult, APICategoryDeleteResult, APICategoryGetByIdParams, APICategoryGetByIdQueryParams, APICategoryGetByIdResult, APICategoryUpdateBody, APICategoryUpdateQueryParams, APICategoryUpdateResult, APICollectionCreateBody, APICollectionCreateResult, APICollectionDeleteResult, APICollectionGetByIdParams, APICollectionGetByIdQueryParams, APICollectionGetByIdResult, APICollectionUpdateBody, APICollectionUpdateResult, APICollectionsBrowseQueryParams, APICollectionsBrowseResult, APIContactMessageCreateBody, APIContactMessageCreateResult, APICouponCreateBody, APICouponCreateResult, APICouponDeleteResult, APICouponGetByIdParams, APICouponGetByIdResult, APICouponUpdateBody, APICouponUpdateResult, APICouponsBrowseQueryParams, APICouponsBrowseResult, APICustomerAddressCreateBody, APICustomerAddressCreateResult, APICustomerGetByIdParams, APICustomerGetByIdResult, APICustomerOrdersBrowseQueryParams, APICustomerOrdersBrowseResult, APICustomerUpdateBody, APICustomerUpdateResult, APICustomersBrowseQueryParams, APICustomersBrowseResult, APIEventAttendeesBrowseResult, APIEventCreateBody, APIEventCreateResult, APIEventGetByIdParams, APIEventGetByIdResult, APIEventUpdateBody, APIEventUpdateResult, APIEventsBrowseQueryParams, APIEventsBrowseResult, APIInstaviewImagesBrowseParams, APIInstaviewImagesBrowseQueryParams, APIInstaviewImagesBrowseResult, APIInventoryAdjustBody, APIInventoryAdjustResult, APIInventoryBrowseQueryParams, APIInventoryBrowseResult, APILegalPageCreateBody, APILegalPageCreateQueryParams, APILegalPageCreateResult, APILegalPageGetByPathParams, APILegalPageGetByPathQueryParams, APILegalPageGetByPathResult, APILegalPageUpdateBody, APILegalPageUpdateQueryParams, APILegalPageUpdateResult, APILegalPagesBrowseQueryParams, APILegalPagesBrowseResult, APIMeGetResult, APIMeStore, APIOrderGetByIdParams, APIOrderGetByIdResult, APIOrderRefundGetParams, APIOrderRefundGetResult, APIOrderRefundsBrowseQueryParams, APIOrderRefundsBrowseResult, APIOrderRefundsParams, APIOrderUpdateBody, APIOrderUpdateResult, APIOrdersBrowseQueryParams, APIOrdersBrowseResult, APIPostCommentCreateBody, APIPostCommentCreateResult, APIPostCommentsBrowseQueryParams, APIPostCommentsBrowseResult, APIPostCreateBody, APIPostCreateResult, APIPostDeleteResult, APIPostGetByIdParams, APIPostGetByIdResult, APIPostUpdateBody, APIPostUpdateResult, APIPostsBrowseQueryParams, APIPostsBrowseResult, APIProductBatchBody, APIProductBatchResult, APIProductCreateBody, APIProductCreateResult, APIProductDeleteQueryParams, APIProductDeleteResult, APIProductFiltersResult, APIProductGetByIdParams, APIProductGetByIdQueryParams, APIProductGetByIdResult, APIProductReviewCreateBody, APIProductReviewCreateResult, APIProductReviewsBrowseQueryParams, APIProductReviewsBrowseResult, APIProductUpdateBody, APIProductUpdateQueryParams, APIProductUpdateResult, APIProductsBrowseQueryParams, APIProductsBrowseResult, APISearchQueryParams, APISearchResult, APISocialsGetResult, APISubscriberCreateBody, APISubscriberCreateResult, APISubscriberDeleteResult, APISupportCase, APISupportCaseCreateBody, APISupportCaseCreateResult, APISupportCaseGetParams, APISupportCaseGetResult, APISupportCaseMessage, APISupportCaseMessageCreateBody, APISupportCaseMessageCreateResult, APISupportCaseUpdateBody, APISupportCaseUpdateResult, APISupportCasesBrowseQueryParams, APISupportCasesBrowseResult, APITicketAttendeeGetParams, APITicketAttendeeGetResult, APITicketsGetParams, APITicketsGetQueryParams, APITicketsGetResult, APITicketsUpdateBody, APITicketsUpdateResult, APIVariantCreateBody, APIVariantCreateResult, APIVariantGetByIdParams, APIVariantGetByIdQueryParams, APIVariantGetByIdResult, APIVariantUpdateBody, APIVariantUpdateResult, JSONContent };
|
|
8260
|
+
export type { APIBlogCategoriesBrowseQueryParams, APIBlogCategoriesBrowseResult, APIBlogCategoryCreateBody, APIBlogCategoryCreateResult, APIBlogCategoryDeleteResult, APIBlogCategoryGetByIdParams, APIBlogCategoryGetByIdResult, APIBlogCategoryUpdateBody, APIBlogCategoryUpdateResult, APIBrandAssignProductsBody, APIBrandAssignProductsResult, APIBrandCreateBody, APIBrandCreateResult, APIBrandDeleteResult, APIBrandGetByIdParams, APIBrandGetByIdResult, APIBrandUpdateBody, APIBrandUpdateResult, APIBrandsBrowseQueryParams, APIBrandsBrowseResult, APICartAddBody, APICartAddResult, APICartCouponApplyBody, APICartCouponApplyResult, APICartCouponRemoveResult, APICartCreateBody, APICartCreateResult, APICartDeleteResult, APICartGetResult, APICartRemoveItemQueryParams, APICartRemoveItemResult, APICategoriesBrowseQueryParams, APICategoriesBrowseResult, APICategoryCreateBody, APICategoryCreateResult, APICategoryDeleteResult, APICategoryGetByIdParams, APICategoryGetByIdQueryParams, APICategoryGetByIdResult, APICategoryUpdateBody, APICategoryUpdateQueryParams, APICategoryUpdateResult, APICollectionCreateBody, APICollectionCreateResult, APICollectionDeleteResult, APICollectionGetByIdParams, APICollectionGetByIdQueryParams, APICollectionGetByIdResult, APICollectionUpdateBody, APICollectionUpdateResult, APICollectionsBrowseQueryParams, APICollectionsBrowseResult, APIContactMessageCreateBody, APIContactMessageCreateResult, APICouponCreateBody, APICouponCreateResult, APICouponDeleteResult, APICouponGetByIdParams, APICouponGetByIdResult, APICouponUpdateBody, APICouponUpdateResult, APICouponsBrowseQueryParams, APICouponsBrowseResult, APICustomerAddressCreateBody, APICustomerAddressCreateResult, APICustomerGetByIdParams, APICustomerGetByIdResult, APICustomerOrdersBrowseQueryParams, APICustomerOrdersBrowseResult, APICustomerUpdateBody, APICustomerUpdateResult, APICustomersBrowseQueryParams, APICustomersBrowseResult, APIEventAttendeesBrowseResult, APIEventCreateBody, APIEventCreateResult, APIEventGetByIdParams, APIEventGetByIdResult, APIEventUpdateBody, APIEventUpdateResult, APIEventsBrowseQueryParams, APIEventsBrowseResult, APIInstaviewImagesBrowseParams, APIInstaviewImagesBrowseQueryParams, APIInstaviewImagesBrowseResult, APIInventoryAdjustBody, APIInventoryAdjustResult, APIInventoryBrowseQueryParams, APIInventoryBrowseResult, APILegalPageCreateBody, APILegalPageCreateQueryParams, APILegalPageCreateResult, APILegalPageGetByPathParams, APILegalPageGetByPathQueryParams, APILegalPageGetByPathResult, APILegalPageUpdateBody, APILegalPageUpdateQueryParams, APILegalPageUpdateResult, APILegalPagesBrowseQueryParams, APILegalPagesBrowseResult, APIMeGetResult, APIMeStore, APIOrderGetByIdParams, APIOrderGetByIdResult, APIOrderRefundGetParams, APIOrderRefundGetResult, APIOrderRefundsBrowseQueryParams, APIOrderRefundsBrowseResult, APIOrderRefundsParams, APIOrderUpdateBody, APIOrderUpdateResult, APIOrdersBrowseQueryParams, APIOrdersBrowseResult, APIPostCommentCreateBody, APIPostCommentCreateResult, APIPostCommentsBrowseQueryParams, APIPostCommentsBrowseResult, APIPostCreateBody, APIPostCreateResult, APIPostDeleteResult, APIPostGetByIdParams, APIPostGetByIdResult, APIPostUpdateBody, APIPostUpdateResult, APIPostsBrowseQueryParams, APIPostsBrowseResult, APIProductBatchBody, APIProductBatchResult, APIProductCreateBody, APIProductCreateResult, APIProductDeleteQueryParams, APIProductDeleteResult, APIProductFiltersResult, APIProductGetByIdParams, APIProductGetByIdQueryParams, APIProductGetByIdResult, APIProductReviewCreateBody, APIProductReviewCreateResult, APIProductReviewsBrowseQueryParams, APIProductReviewsBrowseResult, APIProductUpdateBody, APIProductUpdateQueryParams, APIProductUpdateResult, APIProductsBrowseQueryParams, APIProductsBrowseResult, APISearchQueryParams, APISearchResult, APISocialsGetResult, APISubscriberCreateBody, APISubscriberCreateResult, APISubscriberDeleteResult, APISupportCase, APISupportCaseCreateBody, APISupportCaseCreateResult, APISupportCaseGetParams, APISupportCaseGetResult, APISupportCaseMessage, APISupportCaseMessageCreateBody, APISupportCaseMessageCreateResult, APISupportCaseUpdateBody, APISupportCaseUpdateResult, APISupportCasesBrowseQueryParams, APISupportCasesBrowseResult, APITicketAttendeeGetParams, APITicketAttendeeGetResult, APITicketsGetParams, APITicketsGetQueryParams, APITicketsGetResult, APITicketsUpdateBody, APITicketsUpdateResult, APIVariantCreateBody, APIVariantCreateResult, APIVariantGetByIdParams, APIVariantGetByIdQueryParams, APIVariantGetByIdResult, APIVariantUpdateBody, APIVariantUpdateResult, JSONContent };
|