commerce-kit 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-types.d.ts +716 -173
- package/dist/index.d.ts +3 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/api-types.d.ts
CHANGED
|
@@ -26,16 +26,17 @@ type APIProductsBrowseResult = {
|
|
|
26
26
|
image: string | null;
|
|
27
27
|
createdAt: string;
|
|
28
28
|
updatedAt: string;
|
|
29
|
-
description: JSONContent | null;
|
|
30
29
|
slug: string;
|
|
31
30
|
active: boolean;
|
|
32
31
|
storeId: string;
|
|
32
|
+
description: JSONContent | null;
|
|
33
33
|
position: string;
|
|
34
34
|
seo: {
|
|
35
35
|
title?: string | null | undefined;
|
|
36
36
|
description?: string | null | undefined;
|
|
37
37
|
canonical?: string | null | undefined;
|
|
38
38
|
} | null;
|
|
39
|
+
longDescription: JSONContent | null;
|
|
39
40
|
parentId: string | null;
|
|
40
41
|
} | null;
|
|
41
42
|
productTaxRate: {
|
|
@@ -62,8 +63,8 @@ type APIProductsBrowseResult = {
|
|
|
62
63
|
image: string | null;
|
|
63
64
|
createdAt: string;
|
|
64
65
|
updatedAt: string;
|
|
65
|
-
description: JSONContent | null;
|
|
66
66
|
slug: string;
|
|
67
|
+
active: boolean;
|
|
67
68
|
filter: {
|
|
68
69
|
type: "manual";
|
|
69
70
|
} | {
|
|
@@ -71,8 +72,8 @@ type APIProductsBrowseResult = {
|
|
|
71
72
|
min?: number | null | undefined;
|
|
72
73
|
max?: number | null | undefined;
|
|
73
74
|
};
|
|
74
|
-
active: boolean;
|
|
75
75
|
storeId: string;
|
|
76
|
+
description: JSONContent | null;
|
|
76
77
|
};
|
|
77
78
|
}[];
|
|
78
79
|
bundleProducts: {
|
|
@@ -161,15 +162,6 @@ type APIProductsBrowseResult = {
|
|
|
161
162
|
}[];
|
|
162
163
|
};
|
|
163
164
|
}[];
|
|
164
|
-
subscription: {
|
|
165
|
-
id: string;
|
|
166
|
-
createdAt: string;
|
|
167
|
-
updatedAt: string;
|
|
168
|
-
storeId: string;
|
|
169
|
-
productId: string;
|
|
170
|
-
interval: number;
|
|
171
|
-
cadence: "month" | "week";
|
|
172
|
-
} | null;
|
|
173
165
|
variants: {
|
|
174
166
|
id: string;
|
|
175
167
|
createdAt: string;
|
|
@@ -207,8 +199,30 @@ type APIProductsBrowseResult = {
|
|
|
207
199
|
};
|
|
208
200
|
}[];
|
|
209
201
|
}[];
|
|
202
|
+
subscriptionPlanProducts: {
|
|
203
|
+
createdAt: string;
|
|
204
|
+
updatedAt: string;
|
|
205
|
+
position: number;
|
|
206
|
+
productId: string;
|
|
207
|
+
subscriptionPlanId: string;
|
|
208
|
+
subscriptionPlan: {
|
|
209
|
+
id: string;
|
|
210
|
+
name: string;
|
|
211
|
+
createdAt: string;
|
|
212
|
+
updatedAt: string;
|
|
213
|
+
interval: number;
|
|
214
|
+
active: boolean;
|
|
215
|
+
storeId: string;
|
|
216
|
+
description: string | null;
|
|
217
|
+
position: number;
|
|
218
|
+
cadence: "month" | "week";
|
|
219
|
+
discountPercent: number;
|
|
220
|
+
benefits: string | null;
|
|
221
|
+
};
|
|
222
|
+
}[];
|
|
210
223
|
} & {
|
|
211
224
|
variants: ({
|
|
225
|
+
id: string;
|
|
212
226
|
price: string;
|
|
213
227
|
} & {
|
|
214
228
|
prePromotionPrice: undefined;
|
|
@@ -239,16 +253,17 @@ type APIProductsBrowseResult = {
|
|
|
239
253
|
image: string | null;
|
|
240
254
|
createdAt: string;
|
|
241
255
|
updatedAt: string;
|
|
242
|
-
description: JSONContent | null;
|
|
243
256
|
slug: string;
|
|
244
257
|
active: boolean;
|
|
245
258
|
storeId: string;
|
|
259
|
+
description: JSONContent | null;
|
|
246
260
|
position: string;
|
|
247
261
|
seo: {
|
|
248
262
|
title?: string | null | undefined;
|
|
249
263
|
description?: string | null | undefined;
|
|
250
264
|
canonical?: string | null | undefined;
|
|
251
265
|
} | null;
|
|
266
|
+
longDescription: JSONContent | null;
|
|
252
267
|
parentId: string | null;
|
|
253
268
|
} | null;
|
|
254
269
|
productTaxRate: {
|
|
@@ -275,8 +290,8 @@ type APIProductsBrowseResult = {
|
|
|
275
290
|
image: string | null;
|
|
276
291
|
createdAt: string;
|
|
277
292
|
updatedAt: string;
|
|
278
|
-
description: JSONContent | null;
|
|
279
293
|
slug: string;
|
|
294
|
+
active: boolean;
|
|
280
295
|
filter: {
|
|
281
296
|
type: "manual";
|
|
282
297
|
} | {
|
|
@@ -284,8 +299,8 @@ type APIProductsBrowseResult = {
|
|
|
284
299
|
min?: number | null | undefined;
|
|
285
300
|
max?: number | null | undefined;
|
|
286
301
|
};
|
|
287
|
-
active: boolean;
|
|
288
302
|
storeId: string;
|
|
303
|
+
description: JSONContent | null;
|
|
289
304
|
};
|
|
290
305
|
}[];
|
|
291
306
|
bundleProducts: {
|
|
@@ -374,15 +389,6 @@ type APIProductsBrowseResult = {
|
|
|
374
389
|
}[];
|
|
375
390
|
};
|
|
376
391
|
}[];
|
|
377
|
-
subscription: {
|
|
378
|
-
id: string;
|
|
379
|
-
createdAt: string;
|
|
380
|
-
updatedAt: string;
|
|
381
|
-
storeId: string;
|
|
382
|
-
productId: string;
|
|
383
|
-
interval: number;
|
|
384
|
-
cadence: "month" | "week";
|
|
385
|
-
} | null;
|
|
386
392
|
variants: {
|
|
387
393
|
id: string;
|
|
388
394
|
createdAt: string;
|
|
@@ -420,8 +426,30 @@ type APIProductsBrowseResult = {
|
|
|
420
426
|
};
|
|
421
427
|
}[];
|
|
422
428
|
}[];
|
|
429
|
+
subscriptionPlanProducts: {
|
|
430
|
+
createdAt: string;
|
|
431
|
+
updatedAt: string;
|
|
432
|
+
position: number;
|
|
433
|
+
productId: string;
|
|
434
|
+
subscriptionPlanId: string;
|
|
435
|
+
subscriptionPlan: {
|
|
436
|
+
id: string;
|
|
437
|
+
name: string;
|
|
438
|
+
createdAt: string;
|
|
439
|
+
updatedAt: string;
|
|
440
|
+
interval: number;
|
|
441
|
+
active: boolean;
|
|
442
|
+
storeId: string;
|
|
443
|
+
description: string | null;
|
|
444
|
+
position: number;
|
|
445
|
+
cadence: "month" | "week";
|
|
446
|
+
discountPercent: number;
|
|
447
|
+
benefits: string | null;
|
|
448
|
+
};
|
|
449
|
+
}[];
|
|
423
450
|
} & {
|
|
424
451
|
variants: ({
|
|
452
|
+
id: string;
|
|
425
453
|
price: string;
|
|
426
454
|
} & {
|
|
427
455
|
prePromotionPrice: undefined;
|
|
@@ -452,16 +480,17 @@ type APIProductsBrowseResult = {
|
|
|
452
480
|
image: string | null;
|
|
453
481
|
createdAt: string;
|
|
454
482
|
updatedAt: string;
|
|
455
|
-
description: JSONContent | null;
|
|
456
483
|
slug: string;
|
|
457
484
|
active: boolean;
|
|
458
485
|
storeId: string;
|
|
486
|
+
description: JSONContent | null;
|
|
459
487
|
position: string;
|
|
460
488
|
seo: {
|
|
461
489
|
title?: string | null | undefined;
|
|
462
490
|
description?: string | null | undefined;
|
|
463
491
|
canonical?: string | null | undefined;
|
|
464
492
|
} | null;
|
|
493
|
+
longDescription: JSONContent | null;
|
|
465
494
|
parentId: string | null;
|
|
466
495
|
} | null;
|
|
467
496
|
productTaxRate: {
|
|
@@ -488,8 +517,8 @@ type APIProductsBrowseResult = {
|
|
|
488
517
|
image: string | null;
|
|
489
518
|
createdAt: string;
|
|
490
519
|
updatedAt: string;
|
|
491
|
-
description: JSONContent | null;
|
|
492
520
|
slug: string;
|
|
521
|
+
active: boolean;
|
|
493
522
|
filter: {
|
|
494
523
|
type: "manual";
|
|
495
524
|
} | {
|
|
@@ -497,8 +526,8 @@ type APIProductsBrowseResult = {
|
|
|
497
526
|
min?: number | null | undefined;
|
|
498
527
|
max?: number | null | undefined;
|
|
499
528
|
};
|
|
500
|
-
active: boolean;
|
|
501
529
|
storeId: string;
|
|
530
|
+
description: JSONContent | null;
|
|
502
531
|
};
|
|
503
532
|
}[];
|
|
504
533
|
bundleProducts: {
|
|
@@ -587,15 +616,6 @@ type APIProductsBrowseResult = {
|
|
|
587
616
|
}[];
|
|
588
617
|
};
|
|
589
618
|
}[];
|
|
590
|
-
subscription: {
|
|
591
|
-
id: string;
|
|
592
|
-
createdAt: string;
|
|
593
|
-
updatedAt: string;
|
|
594
|
-
storeId: string;
|
|
595
|
-
productId: string;
|
|
596
|
-
interval: number;
|
|
597
|
-
cadence: "month" | "week";
|
|
598
|
-
} | null;
|
|
599
619
|
variants: {
|
|
600
620
|
id: string;
|
|
601
621
|
createdAt: string;
|
|
@@ -633,8 +653,30 @@ type APIProductsBrowseResult = {
|
|
|
633
653
|
};
|
|
634
654
|
}[];
|
|
635
655
|
}[];
|
|
656
|
+
subscriptionPlanProducts: {
|
|
657
|
+
createdAt: string;
|
|
658
|
+
updatedAt: string;
|
|
659
|
+
position: number;
|
|
660
|
+
productId: string;
|
|
661
|
+
subscriptionPlanId: string;
|
|
662
|
+
subscriptionPlan: {
|
|
663
|
+
id: string;
|
|
664
|
+
name: string;
|
|
665
|
+
createdAt: string;
|
|
666
|
+
updatedAt: string;
|
|
667
|
+
interval: number;
|
|
668
|
+
active: boolean;
|
|
669
|
+
storeId: string;
|
|
670
|
+
description: string | null;
|
|
671
|
+
position: number;
|
|
672
|
+
cadence: "month" | "week";
|
|
673
|
+
discountPercent: number;
|
|
674
|
+
benefits: string | null;
|
|
675
|
+
};
|
|
676
|
+
}[];
|
|
636
677
|
} & {
|
|
637
678
|
variants: ({
|
|
679
|
+
id: string;
|
|
638
680
|
price: string;
|
|
639
681
|
} & {
|
|
640
682
|
prePromotionPrice: undefined;
|
|
@@ -665,16 +707,17 @@ type APIProductsBrowseResult = {
|
|
|
665
707
|
image: string | null;
|
|
666
708
|
createdAt: string;
|
|
667
709
|
updatedAt: string;
|
|
668
|
-
description: JSONContent | null;
|
|
669
710
|
slug: string;
|
|
670
711
|
active: boolean;
|
|
671
712
|
storeId: string;
|
|
713
|
+
description: JSONContent | null;
|
|
672
714
|
position: string;
|
|
673
715
|
seo: {
|
|
674
716
|
title?: string | null | undefined;
|
|
675
717
|
description?: string | null | undefined;
|
|
676
718
|
canonical?: string | null | undefined;
|
|
677
719
|
} | null;
|
|
720
|
+
longDescription: JSONContent | null;
|
|
678
721
|
parentId: string | null;
|
|
679
722
|
} | null;
|
|
680
723
|
productTaxRate: {
|
|
@@ -701,8 +744,8 @@ type APIProductsBrowseResult = {
|
|
|
701
744
|
image: string | null;
|
|
702
745
|
createdAt: string;
|
|
703
746
|
updatedAt: string;
|
|
704
|
-
description: JSONContent | null;
|
|
705
747
|
slug: string;
|
|
748
|
+
active: boolean;
|
|
706
749
|
filter: {
|
|
707
750
|
type: "manual";
|
|
708
751
|
} | {
|
|
@@ -710,8 +753,8 @@ type APIProductsBrowseResult = {
|
|
|
710
753
|
min?: number | null | undefined;
|
|
711
754
|
max?: number | null | undefined;
|
|
712
755
|
};
|
|
713
|
-
active: boolean;
|
|
714
756
|
storeId: string;
|
|
757
|
+
description: JSONContent | null;
|
|
715
758
|
};
|
|
716
759
|
}[];
|
|
717
760
|
bundleProducts: {
|
|
@@ -800,15 +843,6 @@ type APIProductsBrowseResult = {
|
|
|
800
843
|
}[];
|
|
801
844
|
};
|
|
802
845
|
}[];
|
|
803
|
-
subscription: {
|
|
804
|
-
id: string;
|
|
805
|
-
createdAt: string;
|
|
806
|
-
updatedAt: string;
|
|
807
|
-
storeId: string;
|
|
808
|
-
productId: string;
|
|
809
|
-
interval: number;
|
|
810
|
-
cadence: "month" | "week";
|
|
811
|
-
} | null;
|
|
812
846
|
variants: {
|
|
813
847
|
id: string;
|
|
814
848
|
createdAt: string;
|
|
@@ -846,8 +880,30 @@ type APIProductsBrowseResult = {
|
|
|
846
880
|
};
|
|
847
881
|
}[];
|
|
848
882
|
}[];
|
|
883
|
+
subscriptionPlanProducts: {
|
|
884
|
+
createdAt: string;
|
|
885
|
+
updatedAt: string;
|
|
886
|
+
position: number;
|
|
887
|
+
productId: string;
|
|
888
|
+
subscriptionPlanId: string;
|
|
889
|
+
subscriptionPlan: {
|
|
890
|
+
id: string;
|
|
891
|
+
name: string;
|
|
892
|
+
createdAt: string;
|
|
893
|
+
updatedAt: string;
|
|
894
|
+
interval: number;
|
|
895
|
+
active: boolean;
|
|
896
|
+
storeId: string;
|
|
897
|
+
description: string | null;
|
|
898
|
+
position: number;
|
|
899
|
+
cadence: "month" | "week";
|
|
900
|
+
discountPercent: number;
|
|
901
|
+
benefits: string | null;
|
|
902
|
+
};
|
|
903
|
+
}[];
|
|
849
904
|
} & {
|
|
850
905
|
variants: ({
|
|
906
|
+
id: string;
|
|
851
907
|
price: string;
|
|
852
908
|
} & {
|
|
853
909
|
prePromotionPrice: undefined;
|
|
@@ -879,16 +935,17 @@ type APIProductsBrowseResult = {
|
|
|
879
935
|
image: string | null;
|
|
880
936
|
createdAt: string;
|
|
881
937
|
updatedAt: string;
|
|
882
|
-
description: JSONContent | null;
|
|
883
938
|
slug: string;
|
|
884
939
|
active: boolean;
|
|
885
940
|
storeId: string;
|
|
941
|
+
description: JSONContent | null;
|
|
886
942
|
position: string;
|
|
887
943
|
seo: {
|
|
888
944
|
title?: string | null | undefined;
|
|
889
945
|
description?: string | null | undefined;
|
|
890
946
|
canonical?: string | null | undefined;
|
|
891
947
|
} | null;
|
|
948
|
+
longDescription: JSONContent | null;
|
|
892
949
|
parentId: string | null;
|
|
893
950
|
} | null;
|
|
894
951
|
productTaxRate: {
|
|
@@ -915,8 +972,8 @@ type APIProductsBrowseResult = {
|
|
|
915
972
|
image: string | null;
|
|
916
973
|
createdAt: string;
|
|
917
974
|
updatedAt: string;
|
|
918
|
-
description: JSONContent | null;
|
|
919
975
|
slug: string;
|
|
976
|
+
active: boolean;
|
|
920
977
|
filter: {
|
|
921
978
|
type: "manual";
|
|
922
979
|
} | {
|
|
@@ -924,8 +981,8 @@ type APIProductsBrowseResult = {
|
|
|
924
981
|
min?: number | null | undefined;
|
|
925
982
|
max?: number | null | undefined;
|
|
926
983
|
};
|
|
927
|
-
active: boolean;
|
|
928
984
|
storeId: string;
|
|
985
|
+
description: JSONContent | null;
|
|
929
986
|
};
|
|
930
987
|
}[];
|
|
931
988
|
bundleProducts: {
|
|
@@ -1014,15 +1071,6 @@ type APIProductsBrowseResult = {
|
|
|
1014
1071
|
}[];
|
|
1015
1072
|
};
|
|
1016
1073
|
}[];
|
|
1017
|
-
subscription: {
|
|
1018
|
-
id: string;
|
|
1019
|
-
createdAt: string;
|
|
1020
|
-
updatedAt: string;
|
|
1021
|
-
storeId: string;
|
|
1022
|
-
productId: string;
|
|
1023
|
-
interval: number;
|
|
1024
|
-
cadence: "month" | "week";
|
|
1025
|
-
} | null;
|
|
1026
1074
|
variants: {
|
|
1027
1075
|
id: string;
|
|
1028
1076
|
createdAt: string;
|
|
@@ -1060,8 +1108,30 @@ type APIProductsBrowseResult = {
|
|
|
1060
1108
|
};
|
|
1061
1109
|
}[];
|
|
1062
1110
|
}[];
|
|
1111
|
+
subscriptionPlanProducts: {
|
|
1112
|
+
createdAt: string;
|
|
1113
|
+
updatedAt: string;
|
|
1114
|
+
position: number;
|
|
1115
|
+
productId: string;
|
|
1116
|
+
subscriptionPlanId: string;
|
|
1117
|
+
subscriptionPlan: {
|
|
1118
|
+
id: string;
|
|
1119
|
+
name: string;
|
|
1120
|
+
createdAt: string;
|
|
1121
|
+
updatedAt: string;
|
|
1122
|
+
interval: number;
|
|
1123
|
+
active: boolean;
|
|
1124
|
+
storeId: string;
|
|
1125
|
+
description: string | null;
|
|
1126
|
+
position: number;
|
|
1127
|
+
cadence: "month" | "week";
|
|
1128
|
+
discountPercent: number;
|
|
1129
|
+
benefits: string | null;
|
|
1130
|
+
};
|
|
1131
|
+
}[];
|
|
1063
1132
|
} & {
|
|
1064
1133
|
variants: ({
|
|
1134
|
+
id: string;
|
|
1065
1135
|
price: string;
|
|
1066
1136
|
} & {
|
|
1067
1137
|
prePromotionPrice: string | null;
|
|
@@ -1110,16 +1180,17 @@ type APIProductGetByIdResult = ({
|
|
|
1110
1180
|
image: string | null;
|
|
1111
1181
|
createdAt: string;
|
|
1112
1182
|
updatedAt: string;
|
|
1113
|
-
description: JSONContent | null;
|
|
1114
1183
|
slug: string;
|
|
1115
1184
|
active: boolean;
|
|
1116
1185
|
storeId: string;
|
|
1186
|
+
description: JSONContent | null;
|
|
1117
1187
|
position: string;
|
|
1118
1188
|
seo: {
|
|
1119
1189
|
title?: string | null | undefined;
|
|
1120
1190
|
description?: string | null | undefined;
|
|
1121
1191
|
canonical?: string | null | undefined;
|
|
1122
1192
|
} | null;
|
|
1193
|
+
longDescription: JSONContent | null;
|
|
1123
1194
|
parentId: string | null;
|
|
1124
1195
|
} | null;
|
|
1125
1196
|
productTaxRate: {
|
|
@@ -1146,8 +1217,8 @@ type APIProductGetByIdResult = ({
|
|
|
1146
1217
|
image: string | null;
|
|
1147
1218
|
createdAt: string;
|
|
1148
1219
|
updatedAt: string;
|
|
1149
|
-
description: JSONContent | null;
|
|
1150
1220
|
slug: string;
|
|
1221
|
+
active: boolean;
|
|
1151
1222
|
filter: {
|
|
1152
1223
|
type: "manual";
|
|
1153
1224
|
} | {
|
|
@@ -1155,8 +1226,8 @@ type APIProductGetByIdResult = ({
|
|
|
1155
1226
|
min?: number | null | undefined;
|
|
1156
1227
|
max?: number | null | undefined;
|
|
1157
1228
|
};
|
|
1158
|
-
active: boolean;
|
|
1159
1229
|
storeId: string;
|
|
1230
|
+
description: JSONContent | null;
|
|
1160
1231
|
};
|
|
1161
1232
|
}[];
|
|
1162
1233
|
bundleProducts: {
|
|
@@ -1245,15 +1316,6 @@ type APIProductGetByIdResult = ({
|
|
|
1245
1316
|
}[];
|
|
1246
1317
|
};
|
|
1247
1318
|
}[];
|
|
1248
|
-
subscription: {
|
|
1249
|
-
id: string;
|
|
1250
|
-
createdAt: string;
|
|
1251
|
-
updatedAt: string;
|
|
1252
|
-
storeId: string;
|
|
1253
|
-
productId: string;
|
|
1254
|
-
interval: number;
|
|
1255
|
-
cadence: "month" | "week";
|
|
1256
|
-
} | null;
|
|
1257
1319
|
variantsTypes: {
|
|
1258
1320
|
id: string;
|
|
1259
1321
|
type: "string" | "color";
|
|
@@ -1303,8 +1365,30 @@ type APIProductGetByIdResult = ({
|
|
|
1303
1365
|
};
|
|
1304
1366
|
}[];
|
|
1305
1367
|
}[];
|
|
1368
|
+
subscriptionPlanProducts: {
|
|
1369
|
+
createdAt: string;
|
|
1370
|
+
updatedAt: string;
|
|
1371
|
+
position: number;
|
|
1372
|
+
productId: string;
|
|
1373
|
+
subscriptionPlanId: string;
|
|
1374
|
+
subscriptionPlan: {
|
|
1375
|
+
id: string;
|
|
1376
|
+
name: string;
|
|
1377
|
+
createdAt: string;
|
|
1378
|
+
updatedAt: string;
|
|
1379
|
+
interval: number;
|
|
1380
|
+
active: boolean;
|
|
1381
|
+
storeId: string;
|
|
1382
|
+
description: string | null;
|
|
1383
|
+
position: number;
|
|
1384
|
+
cadence: "month" | "week";
|
|
1385
|
+
discountPercent: number;
|
|
1386
|
+
benefits: string | null;
|
|
1387
|
+
};
|
|
1388
|
+
}[];
|
|
1306
1389
|
} & {
|
|
1307
1390
|
variants: ({
|
|
1391
|
+
id: string;
|
|
1308
1392
|
price: string;
|
|
1309
1393
|
} & {
|
|
1310
1394
|
prePromotionPrice: undefined;
|
|
@@ -1335,16 +1419,17 @@ type APIProductGetByIdResult = ({
|
|
|
1335
1419
|
image: string | null;
|
|
1336
1420
|
createdAt: string;
|
|
1337
1421
|
updatedAt: string;
|
|
1338
|
-
description: JSONContent | null;
|
|
1339
1422
|
slug: string;
|
|
1340
1423
|
active: boolean;
|
|
1341
1424
|
storeId: string;
|
|
1425
|
+
description: JSONContent | null;
|
|
1342
1426
|
position: string;
|
|
1343
1427
|
seo: {
|
|
1344
1428
|
title?: string | null | undefined;
|
|
1345
1429
|
description?: string | null | undefined;
|
|
1346
1430
|
canonical?: string | null | undefined;
|
|
1347
1431
|
} | null;
|
|
1432
|
+
longDescription: JSONContent | null;
|
|
1348
1433
|
parentId: string | null;
|
|
1349
1434
|
} | null;
|
|
1350
1435
|
productTaxRate: {
|
|
@@ -1371,8 +1456,8 @@ type APIProductGetByIdResult = ({
|
|
|
1371
1456
|
image: string | null;
|
|
1372
1457
|
createdAt: string;
|
|
1373
1458
|
updatedAt: string;
|
|
1374
|
-
description: JSONContent | null;
|
|
1375
1459
|
slug: string;
|
|
1460
|
+
active: boolean;
|
|
1376
1461
|
filter: {
|
|
1377
1462
|
type: "manual";
|
|
1378
1463
|
} | {
|
|
@@ -1380,8 +1465,8 @@ type APIProductGetByIdResult = ({
|
|
|
1380
1465
|
min?: number | null | undefined;
|
|
1381
1466
|
max?: number | null | undefined;
|
|
1382
1467
|
};
|
|
1383
|
-
active: boolean;
|
|
1384
1468
|
storeId: string;
|
|
1469
|
+
description: JSONContent | null;
|
|
1385
1470
|
};
|
|
1386
1471
|
}[];
|
|
1387
1472
|
bundleProducts: {
|
|
@@ -1470,15 +1555,6 @@ type APIProductGetByIdResult = ({
|
|
|
1470
1555
|
}[];
|
|
1471
1556
|
};
|
|
1472
1557
|
}[];
|
|
1473
|
-
subscription: {
|
|
1474
|
-
id: string;
|
|
1475
|
-
createdAt: string;
|
|
1476
|
-
updatedAt: string;
|
|
1477
|
-
storeId: string;
|
|
1478
|
-
productId: string;
|
|
1479
|
-
interval: number;
|
|
1480
|
-
cadence: "month" | "week";
|
|
1481
|
-
} | null;
|
|
1482
1558
|
variantsTypes: {
|
|
1483
1559
|
id: string;
|
|
1484
1560
|
type: "string" | "color";
|
|
@@ -1528,8 +1604,30 @@ type APIProductGetByIdResult = ({
|
|
|
1528
1604
|
};
|
|
1529
1605
|
}[];
|
|
1530
1606
|
}[];
|
|
1607
|
+
subscriptionPlanProducts: {
|
|
1608
|
+
createdAt: string;
|
|
1609
|
+
updatedAt: string;
|
|
1610
|
+
position: number;
|
|
1611
|
+
productId: string;
|
|
1612
|
+
subscriptionPlanId: string;
|
|
1613
|
+
subscriptionPlan: {
|
|
1614
|
+
id: string;
|
|
1615
|
+
name: string;
|
|
1616
|
+
createdAt: string;
|
|
1617
|
+
updatedAt: string;
|
|
1618
|
+
interval: number;
|
|
1619
|
+
active: boolean;
|
|
1620
|
+
storeId: string;
|
|
1621
|
+
description: string | null;
|
|
1622
|
+
position: number;
|
|
1623
|
+
cadence: "month" | "week";
|
|
1624
|
+
discountPercent: number;
|
|
1625
|
+
benefits: string | null;
|
|
1626
|
+
};
|
|
1627
|
+
}[];
|
|
1531
1628
|
} & {
|
|
1532
1629
|
variants: ({
|
|
1630
|
+
id: string;
|
|
1533
1631
|
price: string;
|
|
1534
1632
|
} & {
|
|
1535
1633
|
prePromotionPrice: string | null;
|
|
@@ -1626,8 +1724,8 @@ type APICartGetResult = {
|
|
|
1626
1724
|
image: string | null;
|
|
1627
1725
|
createdAt: string;
|
|
1628
1726
|
updatedAt: string;
|
|
1629
|
-
description: JSONContent | null;
|
|
1630
1727
|
slug: string;
|
|
1728
|
+
active: boolean;
|
|
1631
1729
|
filter: {
|
|
1632
1730
|
type: "manual";
|
|
1633
1731
|
} | {
|
|
@@ -1635,8 +1733,8 @@ type APICartGetResult = {
|
|
|
1635
1733
|
min?: number | null | undefined;
|
|
1636
1734
|
max?: number | null | undefined;
|
|
1637
1735
|
};
|
|
1638
|
-
active: boolean;
|
|
1639
1736
|
storeId: string;
|
|
1737
|
+
description: JSONContent | null;
|
|
1640
1738
|
};
|
|
1641
1739
|
}[];
|
|
1642
1740
|
setProduct: {
|
|
@@ -1678,6 +1776,7 @@ type APICartGetResult = {
|
|
|
1678
1776
|
};
|
|
1679
1777
|
}[];
|
|
1680
1778
|
} & {
|
|
1779
|
+
id: string;
|
|
1681
1780
|
price: string;
|
|
1682
1781
|
} & {
|
|
1683
1782
|
prePromotionPrice: undefined;
|
|
@@ -1767,8 +1866,8 @@ type APICartGetResult = {
|
|
|
1767
1866
|
image: string | null;
|
|
1768
1867
|
createdAt: string;
|
|
1769
1868
|
updatedAt: string;
|
|
1770
|
-
description: JSONContent | null;
|
|
1771
1869
|
slug: string;
|
|
1870
|
+
active: boolean;
|
|
1772
1871
|
filter: {
|
|
1773
1872
|
type: "manual";
|
|
1774
1873
|
} | {
|
|
@@ -1776,8 +1875,8 @@ type APICartGetResult = {
|
|
|
1776
1875
|
min?: number | null | undefined;
|
|
1777
1876
|
max?: number | null | undefined;
|
|
1778
1877
|
};
|
|
1779
|
-
active: boolean;
|
|
1780
1878
|
storeId: string;
|
|
1879
|
+
description: JSONContent | null;
|
|
1781
1880
|
};
|
|
1782
1881
|
}[];
|
|
1783
1882
|
setProduct: {
|
|
@@ -1819,6 +1918,7 @@ type APICartGetResult = {
|
|
|
1819
1918
|
};
|
|
1820
1919
|
}[];
|
|
1821
1920
|
} & {
|
|
1921
|
+
id: string;
|
|
1822
1922
|
price: string;
|
|
1823
1923
|
} & {
|
|
1824
1924
|
prePromotionPrice: undefined;
|
|
@@ -1908,8 +2008,8 @@ type APICartGetResult = {
|
|
|
1908
2008
|
image: string | null;
|
|
1909
2009
|
createdAt: string;
|
|
1910
2010
|
updatedAt: string;
|
|
1911
|
-
description: JSONContent | null;
|
|
1912
2011
|
slug: string;
|
|
2012
|
+
active: boolean;
|
|
1913
2013
|
filter: {
|
|
1914
2014
|
type: "manual";
|
|
1915
2015
|
} | {
|
|
@@ -1917,8 +2017,8 @@ type APICartGetResult = {
|
|
|
1917
2017
|
min?: number | null | undefined;
|
|
1918
2018
|
max?: number | null | undefined;
|
|
1919
2019
|
};
|
|
1920
|
-
active: boolean;
|
|
1921
2020
|
storeId: string;
|
|
2021
|
+
description: JSONContent | null;
|
|
1922
2022
|
};
|
|
1923
2023
|
}[];
|
|
1924
2024
|
setProduct: {
|
|
@@ -1960,6 +2060,7 @@ type APICartGetResult = {
|
|
|
1960
2060
|
};
|
|
1961
2061
|
}[];
|
|
1962
2062
|
} & {
|
|
2063
|
+
id: string;
|
|
1963
2064
|
price: string;
|
|
1964
2065
|
} & {
|
|
1965
2066
|
prePromotionPrice: undefined;
|
|
@@ -2049,8 +2150,8 @@ type APICartGetResult = {
|
|
|
2049
2150
|
image: string | null;
|
|
2050
2151
|
createdAt: string;
|
|
2051
2152
|
updatedAt: string;
|
|
2052
|
-
description: JSONContent | null;
|
|
2053
2153
|
slug: string;
|
|
2154
|
+
active: boolean;
|
|
2054
2155
|
filter: {
|
|
2055
2156
|
type: "manual";
|
|
2056
2157
|
} | {
|
|
@@ -2058,8 +2159,8 @@ type APICartGetResult = {
|
|
|
2058
2159
|
min?: number | null | undefined;
|
|
2059
2160
|
max?: number | null | undefined;
|
|
2060
2161
|
};
|
|
2061
|
-
active: boolean;
|
|
2062
2162
|
storeId: string;
|
|
2163
|
+
description: JSONContent | null;
|
|
2063
2164
|
};
|
|
2064
2165
|
}[];
|
|
2065
2166
|
setProduct: {
|
|
@@ -2101,6 +2202,7 @@ type APICartGetResult = {
|
|
|
2101
2202
|
};
|
|
2102
2203
|
}[];
|
|
2103
2204
|
} & {
|
|
2205
|
+
id: string;
|
|
2104
2206
|
price: string;
|
|
2105
2207
|
} & {
|
|
2106
2208
|
prePromotionPrice: undefined;
|
|
@@ -2191,8 +2293,8 @@ type APICartGetResult = {
|
|
|
2191
2293
|
image: string | null;
|
|
2192
2294
|
createdAt: string;
|
|
2193
2295
|
updatedAt: string;
|
|
2194
|
-
description: JSONContent | null;
|
|
2195
2296
|
slug: string;
|
|
2297
|
+
active: boolean;
|
|
2196
2298
|
filter: {
|
|
2197
2299
|
type: "manual";
|
|
2198
2300
|
} | {
|
|
@@ -2200,8 +2302,8 @@ type APICartGetResult = {
|
|
|
2200
2302
|
min?: number | null | undefined;
|
|
2201
2303
|
max?: number | null | undefined;
|
|
2202
2304
|
};
|
|
2203
|
-
active: boolean;
|
|
2204
2305
|
storeId: string;
|
|
2306
|
+
description: JSONContent | null;
|
|
2205
2307
|
};
|
|
2206
2308
|
}[];
|
|
2207
2309
|
setProduct: {
|
|
@@ -2243,6 +2345,7 @@ type APICartGetResult = {
|
|
|
2243
2345
|
};
|
|
2244
2346
|
}[];
|
|
2245
2347
|
} & {
|
|
2348
|
+
id: string;
|
|
2246
2349
|
price: string;
|
|
2247
2350
|
} & {
|
|
2248
2351
|
prePromotionPrice: string | null;
|
|
@@ -2284,15 +2387,20 @@ type APICartGetResult = {
|
|
|
2284
2387
|
cartId: string;
|
|
2285
2388
|
quantity: number;
|
|
2286
2389
|
productVariantId: string;
|
|
2287
|
-
|
|
2288
|
-
|
|
2390
|
+
subscriptionPlanId: string | null;
|
|
2391
|
+
subscriptionPlan: {
|
|
2289
2392
|
id: string;
|
|
2393
|
+
name: string;
|
|
2290
2394
|
createdAt: string;
|
|
2291
2395
|
updatedAt: string;
|
|
2292
|
-
storeId: string;
|
|
2293
|
-
productId: string;
|
|
2294
2396
|
interval: number;
|
|
2397
|
+
active: boolean;
|
|
2398
|
+
storeId: string;
|
|
2399
|
+
description: string | null;
|
|
2400
|
+
position: number;
|
|
2295
2401
|
cadence: "month" | "week";
|
|
2402
|
+
discountPercent: number;
|
|
2403
|
+
benefits: string | null;
|
|
2296
2404
|
} | null;
|
|
2297
2405
|
}[];
|
|
2298
2406
|
id: string;
|
|
@@ -2307,20 +2415,32 @@ type APICartGetResult = {
|
|
|
2307
2415
|
shippingId: string | null;
|
|
2308
2416
|
shippingAddressId: string | null;
|
|
2309
2417
|
billingAddressId: string | null;
|
|
2418
|
+
deliverySlot: unknown;
|
|
2419
|
+
ucpSessionStatus: "incomplete" | "ready_for_complete" | "requires_escalation" | "complete_in_progress" | "completed" | "canceled" | null;
|
|
2420
|
+
ucpMetadata: {
|
|
2421
|
+
buyerEmail?: string;
|
|
2422
|
+
buyerName?: string;
|
|
2423
|
+
buyerPhone?: string;
|
|
2424
|
+
agentId?: string;
|
|
2425
|
+
externalReference?: string;
|
|
2426
|
+
escalationReason?: string;
|
|
2427
|
+
} | null;
|
|
2310
2428
|
shipping: {
|
|
2311
2429
|
id: string;
|
|
2312
2430
|
name: string;
|
|
2313
2431
|
createdAt: string;
|
|
2314
2432
|
updatedAt: string;
|
|
2315
2433
|
type: "courier" | "parcel" | "pickup_point" | "in_store";
|
|
2316
|
-
description: string | null;
|
|
2317
2434
|
storeId: string;
|
|
2435
|
+
description: string | null;
|
|
2318
2436
|
price: string;
|
|
2319
2437
|
minShippingTime: number | null;
|
|
2320
2438
|
maxShippingTime: number | null;
|
|
2439
|
+
freeShippingThreshold: string | null;
|
|
2321
2440
|
position: number | null;
|
|
2322
2441
|
addonId: string | null;
|
|
2323
2442
|
addonData: unknown;
|
|
2443
|
+
deliverySlots: unknown;
|
|
2324
2444
|
countries: string[] | null;
|
|
2325
2445
|
shippingAddon: {
|
|
2326
2446
|
id: string;
|
|
@@ -2351,6 +2471,9 @@ type APICartGetResult = {
|
|
|
2351
2471
|
code: string;
|
|
2352
2472
|
startDate: string | null;
|
|
2353
2473
|
endDate: string | null;
|
|
2474
|
+
products: {
|
|
2475
|
+
id: string;
|
|
2476
|
+
}[];
|
|
2354
2477
|
} | null;
|
|
2355
2478
|
billingAddress: {
|
|
2356
2479
|
id: string;
|
|
@@ -2403,6 +2526,9 @@ type APICartGetResult = {
|
|
|
2403
2526
|
code: string;
|
|
2404
2527
|
startDate: string | null;
|
|
2405
2528
|
endDate: string | null;
|
|
2529
|
+
products: {
|
|
2530
|
+
id: string;
|
|
2531
|
+
}[];
|
|
2406
2532
|
} | null;
|
|
2407
2533
|
} | null;
|
|
2408
2534
|
} | null | undefined;
|
|
@@ -2412,7 +2538,7 @@ type APICartCreateBody = {
|
|
|
2412
2538
|
variantId: string;
|
|
2413
2539
|
quantity: number;
|
|
2414
2540
|
cartId?: string | undefined;
|
|
2415
|
-
|
|
2541
|
+
subscriptionPlanId?: string | null | undefined;
|
|
2416
2542
|
};
|
|
2417
2543
|
type APICartCreateResult = {
|
|
2418
2544
|
lineItems: {
|
|
@@ -2502,8 +2628,8 @@ type APICartCreateResult = {
|
|
|
2502
2628
|
image: string | null;
|
|
2503
2629
|
createdAt: string;
|
|
2504
2630
|
updatedAt: string;
|
|
2505
|
-
description: JSONContent | null;
|
|
2506
2631
|
slug: string;
|
|
2632
|
+
active: boolean;
|
|
2507
2633
|
filter: {
|
|
2508
2634
|
type: "manual";
|
|
2509
2635
|
} | {
|
|
@@ -2511,8 +2637,8 @@ type APICartCreateResult = {
|
|
|
2511
2637
|
min?: number | null | undefined;
|
|
2512
2638
|
max?: number | null | undefined;
|
|
2513
2639
|
};
|
|
2514
|
-
active: boolean;
|
|
2515
2640
|
storeId: string;
|
|
2641
|
+
description: JSONContent | null;
|
|
2516
2642
|
};
|
|
2517
2643
|
}[];
|
|
2518
2644
|
setProduct: {
|
|
@@ -2554,6 +2680,7 @@ type APICartCreateResult = {
|
|
|
2554
2680
|
};
|
|
2555
2681
|
}[];
|
|
2556
2682
|
} & {
|
|
2683
|
+
id: string;
|
|
2557
2684
|
price: string;
|
|
2558
2685
|
} & {
|
|
2559
2686
|
prePromotionPrice: undefined;
|
|
@@ -2643,8 +2770,8 @@ type APICartCreateResult = {
|
|
|
2643
2770
|
image: string | null;
|
|
2644
2771
|
createdAt: string;
|
|
2645
2772
|
updatedAt: string;
|
|
2646
|
-
description: JSONContent | null;
|
|
2647
2773
|
slug: string;
|
|
2774
|
+
active: boolean;
|
|
2648
2775
|
filter: {
|
|
2649
2776
|
type: "manual";
|
|
2650
2777
|
} | {
|
|
@@ -2652,8 +2779,8 @@ type APICartCreateResult = {
|
|
|
2652
2779
|
min?: number | null | undefined;
|
|
2653
2780
|
max?: number | null | undefined;
|
|
2654
2781
|
};
|
|
2655
|
-
active: boolean;
|
|
2656
2782
|
storeId: string;
|
|
2783
|
+
description: JSONContent | null;
|
|
2657
2784
|
};
|
|
2658
2785
|
}[];
|
|
2659
2786
|
setProduct: {
|
|
@@ -2695,6 +2822,7 @@ type APICartCreateResult = {
|
|
|
2695
2822
|
};
|
|
2696
2823
|
}[];
|
|
2697
2824
|
} & {
|
|
2825
|
+
id: string;
|
|
2698
2826
|
price: string;
|
|
2699
2827
|
} & {
|
|
2700
2828
|
prePromotionPrice: undefined;
|
|
@@ -2784,8 +2912,8 @@ type APICartCreateResult = {
|
|
|
2784
2912
|
image: string | null;
|
|
2785
2913
|
createdAt: string;
|
|
2786
2914
|
updatedAt: string;
|
|
2787
|
-
description: JSONContent | null;
|
|
2788
2915
|
slug: string;
|
|
2916
|
+
active: boolean;
|
|
2789
2917
|
filter: {
|
|
2790
2918
|
type: "manual";
|
|
2791
2919
|
} | {
|
|
@@ -2793,8 +2921,8 @@ type APICartCreateResult = {
|
|
|
2793
2921
|
min?: number | null | undefined;
|
|
2794
2922
|
max?: number | null | undefined;
|
|
2795
2923
|
};
|
|
2796
|
-
active: boolean;
|
|
2797
2924
|
storeId: string;
|
|
2925
|
+
description: JSONContent | null;
|
|
2798
2926
|
};
|
|
2799
2927
|
}[];
|
|
2800
2928
|
setProduct: {
|
|
@@ -2836,6 +2964,7 @@ type APICartCreateResult = {
|
|
|
2836
2964
|
};
|
|
2837
2965
|
}[];
|
|
2838
2966
|
} & {
|
|
2967
|
+
id: string;
|
|
2839
2968
|
price: string;
|
|
2840
2969
|
} & {
|
|
2841
2970
|
prePromotionPrice: undefined;
|
|
@@ -2925,8 +3054,8 @@ type APICartCreateResult = {
|
|
|
2925
3054
|
image: string | null;
|
|
2926
3055
|
createdAt: string;
|
|
2927
3056
|
updatedAt: string;
|
|
2928
|
-
description: JSONContent | null;
|
|
2929
3057
|
slug: string;
|
|
3058
|
+
active: boolean;
|
|
2930
3059
|
filter: {
|
|
2931
3060
|
type: "manual";
|
|
2932
3061
|
} | {
|
|
@@ -2934,8 +3063,8 @@ type APICartCreateResult = {
|
|
|
2934
3063
|
min?: number | null | undefined;
|
|
2935
3064
|
max?: number | null | undefined;
|
|
2936
3065
|
};
|
|
2937
|
-
active: boolean;
|
|
2938
3066
|
storeId: string;
|
|
3067
|
+
description: JSONContent | null;
|
|
2939
3068
|
};
|
|
2940
3069
|
}[];
|
|
2941
3070
|
setProduct: {
|
|
@@ -2977,6 +3106,7 @@ type APICartCreateResult = {
|
|
|
2977
3106
|
};
|
|
2978
3107
|
}[];
|
|
2979
3108
|
} & {
|
|
3109
|
+
id: string;
|
|
2980
3110
|
price: string;
|
|
2981
3111
|
} & {
|
|
2982
3112
|
prePromotionPrice: undefined;
|
|
@@ -3067,8 +3197,8 @@ type APICartCreateResult = {
|
|
|
3067
3197
|
image: string | null;
|
|
3068
3198
|
createdAt: string;
|
|
3069
3199
|
updatedAt: string;
|
|
3070
|
-
description: JSONContent | null;
|
|
3071
3200
|
slug: string;
|
|
3201
|
+
active: boolean;
|
|
3072
3202
|
filter: {
|
|
3073
3203
|
type: "manual";
|
|
3074
3204
|
} | {
|
|
@@ -3076,8 +3206,8 @@ type APICartCreateResult = {
|
|
|
3076
3206
|
min?: number | null | undefined;
|
|
3077
3207
|
max?: number | null | undefined;
|
|
3078
3208
|
};
|
|
3079
|
-
active: boolean;
|
|
3080
3209
|
storeId: string;
|
|
3210
|
+
description: JSONContent | null;
|
|
3081
3211
|
};
|
|
3082
3212
|
}[];
|
|
3083
3213
|
setProduct: {
|
|
@@ -3119,6 +3249,7 @@ type APICartCreateResult = {
|
|
|
3119
3249
|
};
|
|
3120
3250
|
}[];
|
|
3121
3251
|
} & {
|
|
3252
|
+
id: string;
|
|
3122
3253
|
price: string;
|
|
3123
3254
|
} & {
|
|
3124
3255
|
prePromotionPrice: string | null;
|
|
@@ -3160,15 +3291,20 @@ type APICartCreateResult = {
|
|
|
3160
3291
|
cartId: string;
|
|
3161
3292
|
quantity: number;
|
|
3162
3293
|
productVariantId: string;
|
|
3163
|
-
|
|
3164
|
-
|
|
3294
|
+
subscriptionPlanId: string | null;
|
|
3295
|
+
subscriptionPlan: {
|
|
3165
3296
|
id: string;
|
|
3297
|
+
name: string;
|
|
3166
3298
|
createdAt: string;
|
|
3167
3299
|
updatedAt: string;
|
|
3168
|
-
storeId: string;
|
|
3169
|
-
productId: string;
|
|
3170
3300
|
interval: number;
|
|
3301
|
+
active: boolean;
|
|
3302
|
+
storeId: string;
|
|
3303
|
+
description: string | null;
|
|
3304
|
+
position: number;
|
|
3171
3305
|
cadence: "month" | "week";
|
|
3306
|
+
discountPercent: number;
|
|
3307
|
+
benefits: string | null;
|
|
3172
3308
|
} | null;
|
|
3173
3309
|
}[];
|
|
3174
3310
|
id: string;
|
|
@@ -3183,20 +3319,32 @@ type APICartCreateResult = {
|
|
|
3183
3319
|
shippingId: string | null;
|
|
3184
3320
|
shippingAddressId: string | null;
|
|
3185
3321
|
billingAddressId: string | null;
|
|
3322
|
+
deliverySlot: unknown;
|
|
3323
|
+
ucpSessionStatus: "incomplete" | "ready_for_complete" | "requires_escalation" | "complete_in_progress" | "completed" | "canceled" | null;
|
|
3324
|
+
ucpMetadata: {
|
|
3325
|
+
buyerEmail?: string;
|
|
3326
|
+
buyerName?: string;
|
|
3327
|
+
buyerPhone?: string;
|
|
3328
|
+
agentId?: string;
|
|
3329
|
+
externalReference?: string;
|
|
3330
|
+
escalationReason?: string;
|
|
3331
|
+
} | null;
|
|
3186
3332
|
shipping: {
|
|
3187
3333
|
id: string;
|
|
3188
3334
|
name: string;
|
|
3189
3335
|
createdAt: string;
|
|
3190
3336
|
updatedAt: string;
|
|
3191
3337
|
type: "courier" | "parcel" | "pickup_point" | "in_store";
|
|
3192
|
-
description: string | null;
|
|
3193
3338
|
storeId: string;
|
|
3339
|
+
description: string | null;
|
|
3194
3340
|
price: string;
|
|
3195
3341
|
minShippingTime: number | null;
|
|
3196
3342
|
maxShippingTime: number | null;
|
|
3343
|
+
freeShippingThreshold: string | null;
|
|
3197
3344
|
position: number | null;
|
|
3198
3345
|
addonId: string | null;
|
|
3199
3346
|
addonData: unknown;
|
|
3347
|
+
deliverySlots: unknown;
|
|
3200
3348
|
countries: string[] | null;
|
|
3201
3349
|
shippingAddon: {
|
|
3202
3350
|
id: string;
|
|
@@ -3227,6 +3375,9 @@ type APICartCreateResult = {
|
|
|
3227
3375
|
code: string;
|
|
3228
3376
|
startDate: string | null;
|
|
3229
3377
|
endDate: string | null;
|
|
3378
|
+
products: {
|
|
3379
|
+
id: string;
|
|
3380
|
+
}[];
|
|
3230
3381
|
} | null;
|
|
3231
3382
|
billingAddress: {
|
|
3232
3383
|
id: string;
|
|
@@ -3279,6 +3430,9 @@ type APICartCreateResult = {
|
|
|
3279
3430
|
code: string;
|
|
3280
3431
|
startDate: string | null;
|
|
3281
3432
|
endDate: string | null;
|
|
3433
|
+
products: {
|
|
3434
|
+
id: string;
|
|
3435
|
+
}[];
|
|
3282
3436
|
} | null;
|
|
3283
3437
|
} | null;
|
|
3284
3438
|
} | null | undefined;
|
|
@@ -3370,8 +3524,8 @@ type APICartRemoveItemResult = {
|
|
|
3370
3524
|
image: string | null;
|
|
3371
3525
|
createdAt: string;
|
|
3372
3526
|
updatedAt: string;
|
|
3373
|
-
description: JSONContent | null;
|
|
3374
3527
|
slug: string;
|
|
3528
|
+
active: boolean;
|
|
3375
3529
|
filter: {
|
|
3376
3530
|
type: "manual";
|
|
3377
3531
|
} | {
|
|
@@ -3379,8 +3533,8 @@ type APICartRemoveItemResult = {
|
|
|
3379
3533
|
min?: number | null | undefined;
|
|
3380
3534
|
max?: number | null | undefined;
|
|
3381
3535
|
};
|
|
3382
|
-
active: boolean;
|
|
3383
3536
|
storeId: string;
|
|
3537
|
+
description: JSONContent | null;
|
|
3384
3538
|
};
|
|
3385
3539
|
}[];
|
|
3386
3540
|
setProduct: {
|
|
@@ -3422,6 +3576,7 @@ type APICartRemoveItemResult = {
|
|
|
3422
3576
|
};
|
|
3423
3577
|
}[];
|
|
3424
3578
|
} & {
|
|
3579
|
+
id: string;
|
|
3425
3580
|
price: string;
|
|
3426
3581
|
} & {
|
|
3427
3582
|
prePromotionPrice: undefined;
|
|
@@ -3511,8 +3666,8 @@ type APICartRemoveItemResult = {
|
|
|
3511
3666
|
image: string | null;
|
|
3512
3667
|
createdAt: string;
|
|
3513
3668
|
updatedAt: string;
|
|
3514
|
-
description: JSONContent | null;
|
|
3515
3669
|
slug: string;
|
|
3670
|
+
active: boolean;
|
|
3516
3671
|
filter: {
|
|
3517
3672
|
type: "manual";
|
|
3518
3673
|
} | {
|
|
@@ -3520,8 +3675,8 @@ type APICartRemoveItemResult = {
|
|
|
3520
3675
|
min?: number | null | undefined;
|
|
3521
3676
|
max?: number | null | undefined;
|
|
3522
3677
|
};
|
|
3523
|
-
active: boolean;
|
|
3524
3678
|
storeId: string;
|
|
3679
|
+
description: JSONContent | null;
|
|
3525
3680
|
};
|
|
3526
3681
|
}[];
|
|
3527
3682
|
setProduct: {
|
|
@@ -3563,6 +3718,7 @@ type APICartRemoveItemResult = {
|
|
|
3563
3718
|
};
|
|
3564
3719
|
}[];
|
|
3565
3720
|
} & {
|
|
3721
|
+
id: string;
|
|
3566
3722
|
price: string;
|
|
3567
3723
|
} & {
|
|
3568
3724
|
prePromotionPrice: undefined;
|
|
@@ -3652,8 +3808,8 @@ type APICartRemoveItemResult = {
|
|
|
3652
3808
|
image: string | null;
|
|
3653
3809
|
createdAt: string;
|
|
3654
3810
|
updatedAt: string;
|
|
3655
|
-
description: JSONContent | null;
|
|
3656
3811
|
slug: string;
|
|
3812
|
+
active: boolean;
|
|
3657
3813
|
filter: {
|
|
3658
3814
|
type: "manual";
|
|
3659
3815
|
} | {
|
|
@@ -3661,8 +3817,8 @@ type APICartRemoveItemResult = {
|
|
|
3661
3817
|
min?: number | null | undefined;
|
|
3662
3818
|
max?: number | null | undefined;
|
|
3663
3819
|
};
|
|
3664
|
-
active: boolean;
|
|
3665
3820
|
storeId: string;
|
|
3821
|
+
description: JSONContent | null;
|
|
3666
3822
|
};
|
|
3667
3823
|
}[];
|
|
3668
3824
|
setProduct: {
|
|
@@ -3704,6 +3860,7 @@ type APICartRemoveItemResult = {
|
|
|
3704
3860
|
};
|
|
3705
3861
|
}[];
|
|
3706
3862
|
} & {
|
|
3863
|
+
id: string;
|
|
3707
3864
|
price: string;
|
|
3708
3865
|
} & {
|
|
3709
3866
|
prePromotionPrice: undefined;
|
|
@@ -3793,8 +3950,8 @@ type APICartRemoveItemResult = {
|
|
|
3793
3950
|
image: string | null;
|
|
3794
3951
|
createdAt: string;
|
|
3795
3952
|
updatedAt: string;
|
|
3796
|
-
description: JSONContent | null;
|
|
3797
3953
|
slug: string;
|
|
3954
|
+
active: boolean;
|
|
3798
3955
|
filter: {
|
|
3799
3956
|
type: "manual";
|
|
3800
3957
|
} | {
|
|
@@ -3802,8 +3959,8 @@ type APICartRemoveItemResult = {
|
|
|
3802
3959
|
min?: number | null | undefined;
|
|
3803
3960
|
max?: number | null | undefined;
|
|
3804
3961
|
};
|
|
3805
|
-
active: boolean;
|
|
3806
3962
|
storeId: string;
|
|
3963
|
+
description: JSONContent | null;
|
|
3807
3964
|
};
|
|
3808
3965
|
}[];
|
|
3809
3966
|
setProduct: {
|
|
@@ -3845,6 +4002,7 @@ type APICartRemoveItemResult = {
|
|
|
3845
4002
|
};
|
|
3846
4003
|
}[];
|
|
3847
4004
|
} & {
|
|
4005
|
+
id: string;
|
|
3848
4006
|
price: string;
|
|
3849
4007
|
} & {
|
|
3850
4008
|
prePromotionPrice: undefined;
|
|
@@ -3935,8 +4093,8 @@ type APICartRemoveItemResult = {
|
|
|
3935
4093
|
image: string | null;
|
|
3936
4094
|
createdAt: string;
|
|
3937
4095
|
updatedAt: string;
|
|
3938
|
-
description: JSONContent | null;
|
|
3939
4096
|
slug: string;
|
|
4097
|
+
active: boolean;
|
|
3940
4098
|
filter: {
|
|
3941
4099
|
type: "manual";
|
|
3942
4100
|
} | {
|
|
@@ -3944,8 +4102,8 @@ type APICartRemoveItemResult = {
|
|
|
3944
4102
|
min?: number | null | undefined;
|
|
3945
4103
|
max?: number | null | undefined;
|
|
3946
4104
|
};
|
|
3947
|
-
active: boolean;
|
|
3948
4105
|
storeId: string;
|
|
4106
|
+
description: JSONContent | null;
|
|
3949
4107
|
};
|
|
3950
4108
|
}[];
|
|
3951
4109
|
setProduct: {
|
|
@@ -3987,6 +4145,7 @@ type APICartRemoveItemResult = {
|
|
|
3987
4145
|
};
|
|
3988
4146
|
}[];
|
|
3989
4147
|
} & {
|
|
4148
|
+
id: string;
|
|
3990
4149
|
price: string;
|
|
3991
4150
|
} & {
|
|
3992
4151
|
prePromotionPrice: string | null;
|
|
@@ -4028,15 +4187,20 @@ type APICartRemoveItemResult = {
|
|
|
4028
4187
|
cartId: string;
|
|
4029
4188
|
quantity: number;
|
|
4030
4189
|
productVariantId: string;
|
|
4031
|
-
|
|
4032
|
-
|
|
4190
|
+
subscriptionPlanId: string | null;
|
|
4191
|
+
subscriptionPlan: {
|
|
4033
4192
|
id: string;
|
|
4193
|
+
name: string;
|
|
4034
4194
|
createdAt: string;
|
|
4035
4195
|
updatedAt: string;
|
|
4036
|
-
storeId: string;
|
|
4037
|
-
productId: string;
|
|
4038
4196
|
interval: number;
|
|
4197
|
+
active: boolean;
|
|
4198
|
+
storeId: string;
|
|
4199
|
+
description: string | null;
|
|
4200
|
+
position: number;
|
|
4039
4201
|
cadence: "month" | "week";
|
|
4202
|
+
discountPercent: number;
|
|
4203
|
+
benefits: string | null;
|
|
4040
4204
|
} | null;
|
|
4041
4205
|
}[];
|
|
4042
4206
|
id: string;
|
|
@@ -4051,20 +4215,32 @@ type APICartRemoveItemResult = {
|
|
|
4051
4215
|
shippingId: string | null;
|
|
4052
4216
|
shippingAddressId: string | null;
|
|
4053
4217
|
billingAddressId: string | null;
|
|
4218
|
+
deliverySlot: unknown;
|
|
4219
|
+
ucpSessionStatus: "incomplete" | "ready_for_complete" | "requires_escalation" | "complete_in_progress" | "completed" | "canceled" | null;
|
|
4220
|
+
ucpMetadata: {
|
|
4221
|
+
buyerEmail?: string;
|
|
4222
|
+
buyerName?: string;
|
|
4223
|
+
buyerPhone?: string;
|
|
4224
|
+
agentId?: string;
|
|
4225
|
+
externalReference?: string;
|
|
4226
|
+
escalationReason?: string;
|
|
4227
|
+
} | null;
|
|
4054
4228
|
shipping: {
|
|
4055
4229
|
id: string;
|
|
4056
4230
|
name: string;
|
|
4057
4231
|
createdAt: string;
|
|
4058
4232
|
updatedAt: string;
|
|
4059
4233
|
type: "courier" | "parcel" | "pickup_point" | "in_store";
|
|
4060
|
-
description: string | null;
|
|
4061
4234
|
storeId: string;
|
|
4235
|
+
description: string | null;
|
|
4062
4236
|
price: string;
|
|
4063
4237
|
minShippingTime: number | null;
|
|
4064
4238
|
maxShippingTime: number | null;
|
|
4239
|
+
freeShippingThreshold: string | null;
|
|
4065
4240
|
position: number | null;
|
|
4066
4241
|
addonId: string | null;
|
|
4067
4242
|
addonData: unknown;
|
|
4243
|
+
deliverySlots: unknown;
|
|
4068
4244
|
countries: string[] | null;
|
|
4069
4245
|
shippingAddon: {
|
|
4070
4246
|
id: string;
|
|
@@ -4095,6 +4271,9 @@ type APICartRemoveItemResult = {
|
|
|
4095
4271
|
code: string;
|
|
4096
4272
|
startDate: string | null;
|
|
4097
4273
|
endDate: string | null;
|
|
4274
|
+
products: {
|
|
4275
|
+
id: string;
|
|
4276
|
+
}[];
|
|
4098
4277
|
} | null;
|
|
4099
4278
|
billingAddress: {
|
|
4100
4279
|
id: string;
|
|
@@ -4147,18 +4326,21 @@ type APICartRemoveItemResult = {
|
|
|
4147
4326
|
code: string;
|
|
4148
4327
|
startDate: string | null;
|
|
4149
4328
|
endDate: string | null;
|
|
4329
|
+
products: {
|
|
4330
|
+
id: string;
|
|
4331
|
+
}[];
|
|
4150
4332
|
} | null;
|
|
4151
4333
|
} | null;
|
|
4152
4334
|
} | null | undefined;
|
|
4153
4335
|
type APICartRemoveItemQueryParams = {
|
|
4154
|
-
|
|
4336
|
+
subscriptionPlanId?: string | undefined;
|
|
4155
4337
|
};
|
|
4156
4338
|
type APIOrdersBrowseResult = {
|
|
4157
4339
|
data: ({
|
|
4158
4340
|
id: string;
|
|
4159
4341
|
createdAt: string;
|
|
4160
4342
|
updatedAt: string;
|
|
4161
|
-
status: "
|
|
4343
|
+
status: "completed" | "created" | "paid" | "processing" | "shipped" | "cancelled";
|
|
4162
4344
|
environment: "live" | "test";
|
|
4163
4345
|
storeId: string;
|
|
4164
4346
|
customerId: string | null;
|
|
@@ -4173,6 +4355,7 @@ type APIOrdersBrowseResult = {
|
|
|
4173
4355
|
storeId: string;
|
|
4174
4356
|
name: string;
|
|
4175
4357
|
price: string;
|
|
4358
|
+
freeShippingThreshold: string | null;
|
|
4176
4359
|
minShippingTime: number | null;
|
|
4177
4360
|
maxShippingTime: number | null;
|
|
4178
4361
|
description: string | null;
|
|
@@ -4191,6 +4374,7 @@ type APIOrdersBrowseResult = {
|
|
|
4191
4374
|
name: string;
|
|
4192
4375
|
service: "dpd" | "fedex" | "ups" | "gls" | "poczta" | "inpost" | "orlen" | "dhl";
|
|
4193
4376
|
} | null;
|
|
4377
|
+
deliverySlots: unknown;
|
|
4194
4378
|
shippingTaxRate: {
|
|
4195
4379
|
shippingId: string;
|
|
4196
4380
|
taxRateId: string;
|
|
@@ -4381,15 +4565,20 @@ type APIOrdersBrowseResult = {
|
|
|
4381
4565
|
prePromotionPrice?: string | null | undefined;
|
|
4382
4566
|
};
|
|
4383
4567
|
productVariantId: string;
|
|
4384
|
-
|
|
4385
|
-
|
|
4568
|
+
subscriptionPlanId: string | null;
|
|
4569
|
+
subscriptionPlan: {
|
|
4386
4570
|
id: string;
|
|
4571
|
+
name: string;
|
|
4572
|
+
cadence: "month" | "week";
|
|
4573
|
+
interval: number;
|
|
4574
|
+
discountPercent: number;
|
|
4575
|
+
description: string | null;
|
|
4576
|
+
benefits: string | null;
|
|
4577
|
+
active: boolean;
|
|
4387
4578
|
createdAt: string;
|
|
4388
|
-
|
|
4579
|
+
position: number;
|
|
4389
4580
|
storeId: string;
|
|
4390
|
-
|
|
4391
|
-
interval: number;
|
|
4392
|
-
cadence: "month" | "week";
|
|
4581
|
+
updatedAt: string;
|
|
4393
4582
|
} | null;
|
|
4394
4583
|
slotId: string | null;
|
|
4395
4584
|
attendees: {
|
|
@@ -4505,6 +4694,16 @@ type APIOrdersBrowseResult = {
|
|
|
4505
4694
|
addonData: {
|
|
4506
4695
|
[x: string]: unknown;
|
|
4507
4696
|
} | null;
|
|
4697
|
+
deliverySlot: unknown;
|
|
4698
|
+
ucpSessionStatus: "incomplete" | "ready_for_complete" | "requires_escalation" | "complete_in_progress" | "completed" | "canceled" | null;
|
|
4699
|
+
ucpMetadata: {
|
|
4700
|
+
buyerEmail?: string | undefined;
|
|
4701
|
+
buyerName?: string | undefined;
|
|
4702
|
+
buyerPhone?: string | undefined;
|
|
4703
|
+
agentId?: string | undefined;
|
|
4704
|
+
externalReference?: string | undefined;
|
|
4705
|
+
escalationReason?: string | undefined;
|
|
4706
|
+
} | null;
|
|
4508
4707
|
freeShippingThreshold: number | null;
|
|
4509
4708
|
totalNet: number | null;
|
|
4510
4709
|
subtotalNet: number | null;
|
|
@@ -4525,9 +4724,16 @@ type APIOrdersBrowseResult = {
|
|
|
4525
4724
|
tax: number | null;
|
|
4526
4725
|
}> | null;
|
|
4527
4726
|
currency: string | null;
|
|
4727
|
+
checkoutConsents: {
|
|
4728
|
+
id: string;
|
|
4729
|
+
content: unknown;
|
|
4730
|
+
required: boolean;
|
|
4731
|
+
accepted: boolean;
|
|
4732
|
+
}[] | null;
|
|
4528
4733
|
};
|
|
4529
4734
|
externalShipmentId: string | null;
|
|
4530
4735
|
stripeDeduplicationId: string | null;
|
|
4736
|
+
activeSubscriptionId: string | null;
|
|
4531
4737
|
} & {
|
|
4532
4738
|
orderData: {
|
|
4533
4739
|
id: string;
|
|
@@ -4538,6 +4744,7 @@ type APIOrdersBrowseResult = {
|
|
|
4538
4744
|
storeId: string;
|
|
4539
4745
|
name: string;
|
|
4540
4746
|
price: string;
|
|
4747
|
+
freeShippingThreshold: string | null;
|
|
4541
4748
|
minShippingTime: number | null;
|
|
4542
4749
|
maxShippingTime: number | null;
|
|
4543
4750
|
description: string | null;
|
|
@@ -4556,6 +4763,7 @@ type APIOrdersBrowseResult = {
|
|
|
4556
4763
|
name: string;
|
|
4557
4764
|
service: "dpd" | "fedex" | "ups" | "gls" | "poczta" | "inpost" | "orlen" | "dhl";
|
|
4558
4765
|
} | null;
|
|
4766
|
+
deliverySlots: unknown;
|
|
4559
4767
|
shippingTaxRate: {
|
|
4560
4768
|
shippingId: string;
|
|
4561
4769
|
taxRateId: string;
|
|
@@ -4746,15 +4954,20 @@ type APIOrdersBrowseResult = {
|
|
|
4746
4954
|
prePromotionPrice?: string | null | undefined;
|
|
4747
4955
|
};
|
|
4748
4956
|
productVariantId: string;
|
|
4749
|
-
|
|
4750
|
-
|
|
4957
|
+
subscriptionPlanId: string | null;
|
|
4958
|
+
subscriptionPlan: {
|
|
4751
4959
|
id: string;
|
|
4960
|
+
name: string;
|
|
4961
|
+
cadence: "month" | "week";
|
|
4962
|
+
interval: number;
|
|
4963
|
+
discountPercent: number;
|
|
4964
|
+
description: string | null;
|
|
4965
|
+
benefits: string | null;
|
|
4966
|
+
active: boolean;
|
|
4752
4967
|
createdAt: string;
|
|
4753
|
-
|
|
4968
|
+
position: number;
|
|
4754
4969
|
storeId: string;
|
|
4755
|
-
|
|
4756
|
-
interval: number;
|
|
4757
|
-
cadence: "month" | "week";
|
|
4970
|
+
updatedAt: string;
|
|
4758
4971
|
} | null;
|
|
4759
4972
|
slotId: string | null;
|
|
4760
4973
|
attendees: {
|
|
@@ -4870,6 +5083,16 @@ type APIOrdersBrowseResult = {
|
|
|
4870
5083
|
addonData: {
|
|
4871
5084
|
[x: string]: unknown;
|
|
4872
5085
|
} | null;
|
|
5086
|
+
deliverySlot: unknown;
|
|
5087
|
+
ucpSessionStatus: "incomplete" | "ready_for_complete" | "requires_escalation" | "complete_in_progress" | "completed" | "canceled" | null;
|
|
5088
|
+
ucpMetadata: {
|
|
5089
|
+
buyerEmail?: string | undefined;
|
|
5090
|
+
buyerName?: string | undefined;
|
|
5091
|
+
buyerPhone?: string | undefined;
|
|
5092
|
+
agentId?: string | undefined;
|
|
5093
|
+
externalReference?: string | undefined;
|
|
5094
|
+
escalationReason?: string | undefined;
|
|
5095
|
+
} | null;
|
|
4873
5096
|
freeShippingThreshold: number | null;
|
|
4874
5097
|
totalNet: number | null;
|
|
4875
5098
|
subtotalNet: number | null;
|
|
@@ -4890,6 +5113,12 @@ type APIOrdersBrowseResult = {
|
|
|
4890
5113
|
tax: number | null;
|
|
4891
5114
|
}> | null;
|
|
4892
5115
|
currency: string | null;
|
|
5116
|
+
checkoutConsents: {
|
|
5117
|
+
id: string;
|
|
5118
|
+
content: unknown;
|
|
5119
|
+
required: boolean;
|
|
5120
|
+
accepted: boolean;
|
|
5121
|
+
}[] | null;
|
|
4893
5122
|
};
|
|
4894
5123
|
})[];
|
|
4895
5124
|
meta: {
|
|
@@ -4904,7 +5133,7 @@ type APIOrderGetByIdResult = {
|
|
|
4904
5133
|
id: string;
|
|
4905
5134
|
createdAt: string;
|
|
4906
5135
|
updatedAt: string;
|
|
4907
|
-
status: "
|
|
5136
|
+
status: "completed" | "created" | "paid" | "processing" | "shipped" | "cancelled";
|
|
4908
5137
|
environment: "live" | "test";
|
|
4909
5138
|
storeId: string;
|
|
4910
5139
|
customerId: string | null;
|
|
@@ -4919,6 +5148,7 @@ type APIOrderGetByIdResult = {
|
|
|
4919
5148
|
storeId: string;
|
|
4920
5149
|
name: string;
|
|
4921
5150
|
price: string;
|
|
5151
|
+
freeShippingThreshold: string | null;
|
|
4922
5152
|
minShippingTime: number | null;
|
|
4923
5153
|
maxShippingTime: number | null;
|
|
4924
5154
|
description: string | null;
|
|
@@ -4937,6 +5167,7 @@ type APIOrderGetByIdResult = {
|
|
|
4937
5167
|
name: string;
|
|
4938
5168
|
service: "dpd" | "fedex" | "ups" | "gls" | "poczta" | "inpost" | "orlen" | "dhl";
|
|
4939
5169
|
} | null;
|
|
5170
|
+
deliverySlots: unknown;
|
|
4940
5171
|
shippingTaxRate: {
|
|
4941
5172
|
shippingId: string;
|
|
4942
5173
|
taxRateId: string;
|
|
@@ -5127,15 +5358,20 @@ type APIOrderGetByIdResult = {
|
|
|
5127
5358
|
prePromotionPrice?: string | null | undefined;
|
|
5128
5359
|
};
|
|
5129
5360
|
productVariantId: string;
|
|
5130
|
-
|
|
5131
|
-
|
|
5361
|
+
subscriptionPlanId: string | null;
|
|
5362
|
+
subscriptionPlan: {
|
|
5132
5363
|
id: string;
|
|
5364
|
+
name: string;
|
|
5365
|
+
cadence: "month" | "week";
|
|
5366
|
+
interval: number;
|
|
5367
|
+
discountPercent: number;
|
|
5368
|
+
description: string | null;
|
|
5369
|
+
benefits: string | null;
|
|
5370
|
+
active: boolean;
|
|
5133
5371
|
createdAt: string;
|
|
5134
|
-
|
|
5372
|
+
position: number;
|
|
5135
5373
|
storeId: string;
|
|
5136
|
-
|
|
5137
|
-
interval: number;
|
|
5138
|
-
cadence: "month" | "week";
|
|
5374
|
+
updatedAt: string;
|
|
5139
5375
|
} | null;
|
|
5140
5376
|
slotId: string | null;
|
|
5141
5377
|
attendees: {
|
|
@@ -5251,6 +5487,16 @@ type APIOrderGetByIdResult = {
|
|
|
5251
5487
|
addonData: {
|
|
5252
5488
|
[x: string]: unknown;
|
|
5253
5489
|
} | null;
|
|
5490
|
+
deliverySlot: unknown;
|
|
5491
|
+
ucpSessionStatus: "incomplete" | "ready_for_complete" | "requires_escalation" | "complete_in_progress" | "completed" | "canceled" | null;
|
|
5492
|
+
ucpMetadata: {
|
|
5493
|
+
buyerEmail?: string | undefined;
|
|
5494
|
+
buyerName?: string | undefined;
|
|
5495
|
+
buyerPhone?: string | undefined;
|
|
5496
|
+
agentId?: string | undefined;
|
|
5497
|
+
externalReference?: string | undefined;
|
|
5498
|
+
escalationReason?: string | undefined;
|
|
5499
|
+
} | null;
|
|
5254
5500
|
freeShippingThreshold: number | null;
|
|
5255
5501
|
totalNet: number | null;
|
|
5256
5502
|
subtotalNet: number | null;
|
|
@@ -5271,25 +5517,49 @@ type APIOrderGetByIdResult = {
|
|
|
5271
5517
|
tax: number | null;
|
|
5272
5518
|
}> | null;
|
|
5273
5519
|
currency: string | null;
|
|
5520
|
+
checkoutConsents: {
|
|
5521
|
+
id: string;
|
|
5522
|
+
content: unknown;
|
|
5523
|
+
required: boolean;
|
|
5524
|
+
accepted: boolean;
|
|
5525
|
+
}[] | null;
|
|
5274
5526
|
};
|
|
5275
5527
|
externalShipmentId: string | null;
|
|
5276
5528
|
stripeDeduplicationId: string | null;
|
|
5277
|
-
|
|
5529
|
+
activeSubscriptionId: string | null;
|
|
5530
|
+
activeSubscription: {
|
|
5278
5531
|
id: string;
|
|
5279
5532
|
createdAt: string;
|
|
5280
5533
|
updatedAt: string;
|
|
5534
|
+
interval: number;
|
|
5535
|
+
status: "active" | "incomplete" | "canceled" | "past_due" | "unpaid" | "paused" | "incomplete_expired" | "trialing";
|
|
5536
|
+
stripeCustomerId: string | null;
|
|
5537
|
+
environment: "live" | "test";
|
|
5281
5538
|
stripeSubscriptionId: string;
|
|
5282
5539
|
storeId: string;
|
|
5540
|
+
quantity: number;
|
|
5283
5541
|
productId: string;
|
|
5284
5542
|
productVariantId: string;
|
|
5285
|
-
interval: number;
|
|
5286
5543
|
cadence: "month" | "week";
|
|
5287
5544
|
stripeDeduplicationId: string | null;
|
|
5288
5545
|
originalOrderId: string;
|
|
5546
|
+
canceledAt: Date | null;
|
|
5547
|
+
cancelAt: Date | null;
|
|
5548
|
+
cancelAtPeriodEnd: boolean | null;
|
|
5549
|
+
cancellationDetails: {
|
|
5550
|
+
comment?: string | null;
|
|
5551
|
+
feedback?: string | null;
|
|
5552
|
+
reason?: string | null;
|
|
5553
|
+
} | null;
|
|
5289
5554
|
productSnapshot: unknown;
|
|
5290
5555
|
productVariantSnapshot: unknown;
|
|
5291
5556
|
shippingSnapshot: unknown;
|
|
5292
|
-
|
|
5557
|
+
pausedAt: Date | null;
|
|
5558
|
+
resumeAt: Date | null;
|
|
5559
|
+
skippedUntil: Date | null;
|
|
5560
|
+
skipCount: number;
|
|
5561
|
+
nextBillingDate: Date | null;
|
|
5562
|
+
} | null;
|
|
5293
5563
|
} & {
|
|
5294
5564
|
orderData: {
|
|
5295
5565
|
id: string;
|
|
@@ -5300,6 +5570,7 @@ type APIOrderGetByIdResult = {
|
|
|
5300
5570
|
storeId: string;
|
|
5301
5571
|
name: string;
|
|
5302
5572
|
price: string;
|
|
5573
|
+
freeShippingThreshold: string | null;
|
|
5303
5574
|
minShippingTime: number | null;
|
|
5304
5575
|
maxShippingTime: number | null;
|
|
5305
5576
|
description: string | null;
|
|
@@ -5318,6 +5589,7 @@ type APIOrderGetByIdResult = {
|
|
|
5318
5589
|
name: string;
|
|
5319
5590
|
service: "dpd" | "fedex" | "ups" | "gls" | "poczta" | "inpost" | "orlen" | "dhl";
|
|
5320
5591
|
} | null;
|
|
5592
|
+
deliverySlots: unknown;
|
|
5321
5593
|
shippingTaxRate: {
|
|
5322
5594
|
shippingId: string;
|
|
5323
5595
|
taxRateId: string;
|
|
@@ -5508,15 +5780,20 @@ type APIOrderGetByIdResult = {
|
|
|
5508
5780
|
prePromotionPrice?: string | null | undefined;
|
|
5509
5781
|
};
|
|
5510
5782
|
productVariantId: string;
|
|
5511
|
-
|
|
5512
|
-
|
|
5783
|
+
subscriptionPlanId: string | null;
|
|
5784
|
+
subscriptionPlan: {
|
|
5513
5785
|
id: string;
|
|
5786
|
+
name: string;
|
|
5787
|
+
cadence: "month" | "week";
|
|
5788
|
+
interval: number;
|
|
5789
|
+
discountPercent: number;
|
|
5790
|
+
description: string | null;
|
|
5791
|
+
benefits: string | null;
|
|
5792
|
+
active: boolean;
|
|
5514
5793
|
createdAt: string;
|
|
5515
|
-
|
|
5794
|
+
position: number;
|
|
5516
5795
|
storeId: string;
|
|
5517
|
-
|
|
5518
|
-
interval: number;
|
|
5519
|
-
cadence: "month" | "week";
|
|
5796
|
+
updatedAt: string;
|
|
5520
5797
|
} | null;
|
|
5521
5798
|
slotId: string | null;
|
|
5522
5799
|
attendees: {
|
|
@@ -5632,6 +5909,16 @@ type APIOrderGetByIdResult = {
|
|
|
5632
5909
|
addonData: {
|
|
5633
5910
|
[x: string]: unknown;
|
|
5634
5911
|
} | null;
|
|
5912
|
+
deliverySlot: unknown;
|
|
5913
|
+
ucpSessionStatus: "incomplete" | "ready_for_complete" | "requires_escalation" | "complete_in_progress" | "completed" | "canceled" | null;
|
|
5914
|
+
ucpMetadata: {
|
|
5915
|
+
buyerEmail?: string | undefined;
|
|
5916
|
+
buyerName?: string | undefined;
|
|
5917
|
+
buyerPhone?: string | undefined;
|
|
5918
|
+
agentId?: string | undefined;
|
|
5919
|
+
externalReference?: string | undefined;
|
|
5920
|
+
escalationReason?: string | undefined;
|
|
5921
|
+
} | null;
|
|
5635
5922
|
freeShippingThreshold: number | null;
|
|
5636
5923
|
totalNet: number | null;
|
|
5637
5924
|
subtotalNet: number | null;
|
|
@@ -5652,6 +5939,12 @@ type APIOrderGetByIdResult = {
|
|
|
5652
5939
|
tax: number | null;
|
|
5653
5940
|
}> | null;
|
|
5654
5941
|
currency: string | null;
|
|
5942
|
+
checkoutConsents: {
|
|
5943
|
+
id: string;
|
|
5944
|
+
content: unknown;
|
|
5945
|
+
required: boolean;
|
|
5946
|
+
accepted: boolean;
|
|
5947
|
+
}[] | null;
|
|
5655
5948
|
};
|
|
5656
5949
|
};
|
|
5657
5950
|
type APIOrderGetByIdParams = {
|
|
@@ -5664,9 +5957,9 @@ type APICategoriesBrowseResult = {
|
|
|
5664
5957
|
image: string | null;
|
|
5665
5958
|
createdAt: string;
|
|
5666
5959
|
updatedAt: string;
|
|
5667
|
-
description: JSONContent | null;
|
|
5668
5960
|
slug: string;
|
|
5669
5961
|
active: boolean;
|
|
5962
|
+
description: JSONContent | null;
|
|
5670
5963
|
position: string;
|
|
5671
5964
|
parentId: string | null;
|
|
5672
5965
|
}[];
|
|
@@ -5686,16 +5979,17 @@ type APICategoryGetByIdResult = {
|
|
|
5686
5979
|
image: string | null;
|
|
5687
5980
|
createdAt: string;
|
|
5688
5981
|
updatedAt: string;
|
|
5689
|
-
description: JSONContent | null;
|
|
5690
5982
|
slug: string;
|
|
5691
5983
|
active: boolean;
|
|
5692
5984
|
storeId: string;
|
|
5985
|
+
description: JSONContent | null;
|
|
5693
5986
|
position: string;
|
|
5694
5987
|
seo: {
|
|
5695
5988
|
title?: string | null | undefined;
|
|
5696
5989
|
description?: string | null | undefined;
|
|
5697
5990
|
canonical?: string | null | undefined;
|
|
5698
5991
|
} | null;
|
|
5992
|
+
longDescription: JSONContent | null;
|
|
5699
5993
|
parentId: string | null;
|
|
5700
5994
|
products: {
|
|
5701
5995
|
id: string;
|
|
@@ -5724,16 +6018,17 @@ type APICategoryGetByIdResult = {
|
|
|
5724
6018
|
image: string | null;
|
|
5725
6019
|
createdAt: string;
|
|
5726
6020
|
updatedAt: string;
|
|
5727
|
-
description: JSONContent | null;
|
|
5728
6021
|
slug: string;
|
|
5729
6022
|
active: boolean;
|
|
5730
6023
|
storeId: string;
|
|
6024
|
+
description: JSONContent | null;
|
|
5731
6025
|
position: string;
|
|
5732
6026
|
seo: {
|
|
5733
6027
|
title?: string | null | undefined;
|
|
5734
6028
|
description?: string | null | undefined;
|
|
5735
6029
|
canonical?: string | null | undefined;
|
|
5736
6030
|
} | null;
|
|
6031
|
+
longDescription: JSONContent | null;
|
|
5737
6032
|
parentId: string | null;
|
|
5738
6033
|
products: {
|
|
5739
6034
|
id: string;
|
|
@@ -5762,16 +6057,17 @@ type APICategoryGetByIdResult = {
|
|
|
5762
6057
|
image: string | null;
|
|
5763
6058
|
createdAt: string;
|
|
5764
6059
|
updatedAt: string;
|
|
5765
|
-
description: JSONContent | null;
|
|
5766
6060
|
slug: string;
|
|
5767
6061
|
active: boolean;
|
|
5768
6062
|
storeId: string;
|
|
6063
|
+
description: JSONContent | null;
|
|
5769
6064
|
position: string;
|
|
5770
6065
|
seo: {
|
|
5771
6066
|
title?: string | null | undefined;
|
|
5772
6067
|
description?: string | null | undefined;
|
|
5773
6068
|
canonical?: string | null | undefined;
|
|
5774
6069
|
} | null;
|
|
6070
|
+
longDescription: JSONContent | null;
|
|
5775
6071
|
parentId: string | null;
|
|
5776
6072
|
products: {
|
|
5777
6073
|
id: string;
|
|
@@ -5802,16 +6098,17 @@ type APICategoryGetByIdResult = {
|
|
|
5802
6098
|
image: string | null;
|
|
5803
6099
|
createdAt: string;
|
|
5804
6100
|
updatedAt: string;
|
|
5805
|
-
description: JSONContent | null;
|
|
5806
6101
|
slug: string;
|
|
5807
6102
|
active: boolean;
|
|
5808
6103
|
storeId: string;
|
|
6104
|
+
description: JSONContent | null;
|
|
5809
6105
|
position: string;
|
|
5810
6106
|
seo: {
|
|
5811
6107
|
title?: string | null | undefined;
|
|
5812
6108
|
description?: string | null | undefined;
|
|
5813
6109
|
canonical?: string | null | undefined;
|
|
5814
6110
|
} | null;
|
|
6111
|
+
longDescription: JSONContent | null;
|
|
5815
6112
|
parentId: string | null;
|
|
5816
6113
|
products: {
|
|
5817
6114
|
id: string;
|
|
@@ -5840,16 +6137,17 @@ type APICategoryGetByIdResult = {
|
|
|
5840
6137
|
image: string | null;
|
|
5841
6138
|
createdAt: string;
|
|
5842
6139
|
updatedAt: string;
|
|
5843
|
-
description: JSONContent | null;
|
|
5844
6140
|
slug: string;
|
|
5845
6141
|
active: boolean;
|
|
5846
6142
|
storeId: string;
|
|
6143
|
+
description: JSONContent | null;
|
|
5847
6144
|
position: string;
|
|
5848
6145
|
seo: {
|
|
5849
6146
|
title?: string | null | undefined;
|
|
5850
6147
|
description?: string | null | undefined;
|
|
5851
6148
|
canonical?: string | null | undefined;
|
|
5852
6149
|
} | null;
|
|
6150
|
+
longDescription: JSONContent | null;
|
|
5853
6151
|
parentId: string | null;
|
|
5854
6152
|
products: {
|
|
5855
6153
|
id: string;
|
|
@@ -5880,16 +6178,17 @@ type APICategoryGetByIdResult = {
|
|
|
5880
6178
|
image: string | null;
|
|
5881
6179
|
createdAt: string;
|
|
5882
6180
|
updatedAt: string;
|
|
5883
|
-
description: JSONContent | null;
|
|
5884
6181
|
slug: string;
|
|
5885
6182
|
active: boolean;
|
|
5886
6183
|
storeId: string;
|
|
6184
|
+
description: JSONContent | null;
|
|
5887
6185
|
position: string;
|
|
5888
6186
|
seo: {
|
|
5889
6187
|
title?: string | null | undefined;
|
|
5890
6188
|
description?: string | null | undefined;
|
|
5891
6189
|
canonical?: string | null | undefined;
|
|
5892
6190
|
} | null;
|
|
6191
|
+
longDescription: JSONContent | null;
|
|
5893
6192
|
parentId: string | null;
|
|
5894
6193
|
};
|
|
5895
6194
|
type APICategoryGetByIdParams = {
|
|
@@ -5901,9 +6200,9 @@ type APICollectionsBrowseResult = {
|
|
|
5901
6200
|
name: string;
|
|
5902
6201
|
image: string | null;
|
|
5903
6202
|
createdAt: string;
|
|
5904
|
-
description: JSONContent | null;
|
|
5905
6203
|
slug: string;
|
|
5906
6204
|
active: boolean;
|
|
6205
|
+
description: JSONContent | null;
|
|
5907
6206
|
productCollections: {
|
|
5908
6207
|
productId: string;
|
|
5909
6208
|
}[];
|
|
@@ -5924,8 +6223,8 @@ type APICollectionGetByIdResult = {
|
|
|
5924
6223
|
image: string | null;
|
|
5925
6224
|
createdAt: string;
|
|
5926
6225
|
updatedAt: string;
|
|
5927
|
-
description: JSONContent | null;
|
|
5928
6226
|
slug: string;
|
|
6227
|
+
active: boolean;
|
|
5929
6228
|
filter: {
|
|
5930
6229
|
type: "manual";
|
|
5931
6230
|
} | {
|
|
@@ -5933,13 +6232,14 @@ type APICollectionGetByIdResult = {
|
|
|
5933
6232
|
min?: number | null | undefined;
|
|
5934
6233
|
max?: number | null | undefined;
|
|
5935
6234
|
};
|
|
5936
|
-
active: boolean;
|
|
5937
6235
|
storeId: string;
|
|
6236
|
+
description: JSONContent | null;
|
|
5938
6237
|
seo: {
|
|
5939
6238
|
title?: string | null | undefined;
|
|
5940
6239
|
description?: string | null | undefined;
|
|
5941
6240
|
canonical?: string | null | undefined;
|
|
5942
6241
|
} | null;
|
|
6242
|
+
longDescription: JSONContent | null;
|
|
5943
6243
|
productCollections: {
|
|
5944
6244
|
position: string | null;
|
|
5945
6245
|
productId: string;
|
|
@@ -5972,8 +6272,8 @@ type APICollectionGetByIdResult = {
|
|
|
5972
6272
|
image: string | null;
|
|
5973
6273
|
createdAt: string;
|
|
5974
6274
|
updatedAt: string;
|
|
5975
|
-
description: JSONContent | null;
|
|
5976
6275
|
slug: string;
|
|
6276
|
+
active: boolean;
|
|
5977
6277
|
filter: {
|
|
5978
6278
|
type: "manual";
|
|
5979
6279
|
} | {
|
|
@@ -5981,13 +6281,14 @@ type APICollectionGetByIdResult = {
|
|
|
5981
6281
|
min?: number | null | undefined;
|
|
5982
6282
|
max?: number | null | undefined;
|
|
5983
6283
|
};
|
|
5984
|
-
active: boolean;
|
|
5985
6284
|
storeId: string;
|
|
6285
|
+
description: JSONContent | null;
|
|
5986
6286
|
seo: {
|
|
5987
6287
|
title?: string | null | undefined;
|
|
5988
6288
|
description?: string | null | undefined;
|
|
5989
6289
|
canonical?: string | null | undefined;
|
|
5990
6290
|
} | null;
|
|
6291
|
+
longDescription: JSONContent | null;
|
|
5991
6292
|
productCollections: {
|
|
5992
6293
|
position: string | null;
|
|
5993
6294
|
productId: string;
|
|
@@ -6018,5 +6319,247 @@ type APICollectionGetByIdResult = {
|
|
|
6018
6319
|
type APICollectionGetByIdParams = {
|
|
6019
6320
|
idOrSlug: string;
|
|
6020
6321
|
};
|
|
6322
|
+
type APIStoresGetResult = {
|
|
6323
|
+
settings: {
|
|
6324
|
+
enabledTools: {
|
|
6325
|
+
blog: boolean;
|
|
6326
|
+
newsletter: boolean;
|
|
6327
|
+
loyalty: boolean;
|
|
6328
|
+
reviews: boolean;
|
|
6329
|
+
productSubscriptions: boolean;
|
|
6330
|
+
contactForm: boolean;
|
|
6331
|
+
wishlist: boolean;
|
|
6332
|
+
cookieConsent: boolean;
|
|
6333
|
+
auctions: boolean;
|
|
6334
|
+
surveys: boolean;
|
|
6335
|
+
bookings: boolean;
|
|
6336
|
+
productSets: boolean;
|
|
6337
|
+
restockNotifications: boolean;
|
|
6338
|
+
abandonedCarts: boolean;
|
|
6339
|
+
} | null;
|
|
6340
|
+
storeName?: string | null | undefined;
|
|
6341
|
+
storeDescription?: string | null | undefined;
|
|
6342
|
+
freeShippingThreshold?: string | number | bigint | null | undefined;
|
|
6343
|
+
pageWidth?: "default" | "full" | "narrow" | "wider" | "widest" | null | undefined;
|
|
6344
|
+
fontFamily?: "default" | "roboto" | "poppins" | "inter" | "merriweather" | "montserrat" | "nunito" | "inconsolata" | "ibmPlexSans" | "cardo" | "spaceMono" | "buenard" | "titanOne" | "bartok" | "robotoSlab" | "playwritePl" | "jetBrainsMono" | null | undefined;
|
|
6345
|
+
fontFamilyHeadings?: "default" | "roboto" | "poppins" | "inter" | "merriweather" | "montserrat" | "nunito" | "inconsolata" | "ibmPlexSans" | "cardo" | "spaceMono" | "buenard" | "titanOne" | "bartok" | "robotoSlab" | "playwritePl" | "jetBrainsMono" | null | undefined;
|
|
6346
|
+
fontSizes?: {
|
|
6347
|
+
h2?: number | null | undefined;
|
|
6348
|
+
h3?: number | null | undefined;
|
|
6349
|
+
h4?: number | null | undefined;
|
|
6350
|
+
h5?: number | null | undefined;
|
|
6351
|
+
text?: number | null | undefined;
|
|
6352
|
+
} | null | undefined;
|
|
6353
|
+
logo?: string | {
|
|
6354
|
+
imageUrl: string;
|
|
6355
|
+
width?: number | null | undefined;
|
|
6356
|
+
height?: number | null | undefined;
|
|
6357
|
+
} | null | undefined;
|
|
6358
|
+
ogimage?: string | null | undefined;
|
|
6359
|
+
favicon?: {
|
|
6360
|
+
imageUrl: string;
|
|
6361
|
+
width?: number | null | undefined;
|
|
6362
|
+
height?: number | null | undefined;
|
|
6363
|
+
} | null | undefined;
|
|
6364
|
+
colors?: {
|
|
6365
|
+
paletteName?: string | null | undefined;
|
|
6366
|
+
palette?: {
|
|
6367
|
+
theme?: {
|
|
6368
|
+
background?: string | undefined;
|
|
6369
|
+
} | undefined;
|
|
6370
|
+
"theme-primary"?: {
|
|
6371
|
+
DEFAULT?: string | undefined;
|
|
6372
|
+
background?: string | undefined;
|
|
6373
|
+
} | undefined;
|
|
6374
|
+
"theme-button"?: {
|
|
6375
|
+
DEFAULT?: string | undefined;
|
|
6376
|
+
background?: string | undefined;
|
|
6377
|
+
} | undefined;
|
|
6378
|
+
} | undefined;
|
|
6379
|
+
} | null | undefined;
|
|
6380
|
+
invoiceSettings?: {
|
|
6381
|
+
template: string;
|
|
6382
|
+
cadence: "monthly" | "yearly";
|
|
6383
|
+
enabled?: boolean | null | undefined;
|
|
6384
|
+
} | null | undefined;
|
|
6385
|
+
outboundEmail?: string | null | undefined;
|
|
6386
|
+
notificationEmail?: string | null | undefined;
|
|
6387
|
+
notifications?: {
|
|
6388
|
+
newOrderNotifications: boolean | null;
|
|
6389
|
+
lowStockNotifications: boolean | null;
|
|
6390
|
+
} | null | undefined;
|
|
6391
|
+
buttons?: {
|
|
6392
|
+
borderWidth?: number | null | undefined;
|
|
6393
|
+
borderRadius?: "full" | "none" | "sm" | "md" | "lg" | null | undefined;
|
|
6394
|
+
shadow?: "none" | "sm" | "md" | "lg" | null | undefined;
|
|
6395
|
+
colors?: {
|
|
6396
|
+
background?: string | null | undefined;
|
|
6397
|
+
text?: string | null | undefined;
|
|
6398
|
+
backgroundHover?: string | null | undefined;
|
|
6399
|
+
textHover?: string | null | undefined;
|
|
6400
|
+
border?: string | null | undefined;
|
|
6401
|
+
} | null | undefined;
|
|
6402
|
+
} | null | undefined;
|
|
6403
|
+
cartIcon?: "shopping-bag" | "shopping-cart" | "shopping-basket" | null | undefined;
|
|
6404
|
+
productCards?: {
|
|
6405
|
+
borderRadius?: "none" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
6406
|
+
} | null | undefined;
|
|
6407
|
+
blogFilterConfig?: {
|
|
6408
|
+
mode: "simple" | "faceted";
|
|
6409
|
+
facets: {
|
|
6410
|
+
id: string;
|
|
6411
|
+
label: string;
|
|
6412
|
+
type: "single" | "multiple";
|
|
6413
|
+
options: {
|
|
6414
|
+
value: string;
|
|
6415
|
+
label: string;
|
|
6416
|
+
}[];
|
|
6417
|
+
}[];
|
|
6418
|
+
} | null | undefined;
|
|
6419
|
+
omnibus?: boolean | null | undefined;
|
|
6420
|
+
apiKeys?: {
|
|
6421
|
+
id: string;
|
|
6422
|
+
apiKeyLookup: string;
|
|
6423
|
+
apiKeyHash: string;
|
|
6424
|
+
apiKeyDisplay: string;
|
|
6425
|
+
createdAt: string;
|
|
6426
|
+
name?: string | undefined;
|
|
6427
|
+
}[] | null | undefined;
|
|
6428
|
+
loyalty?: {
|
|
6429
|
+
pointsPerUnit: number;
|
|
6430
|
+
redemptionRate: number;
|
|
6431
|
+
minRedemption: number;
|
|
6432
|
+
maxRedeemPercent: number;
|
|
6433
|
+
pointsExpiryMonths: number | null;
|
|
6434
|
+
} | null | undefined;
|
|
6435
|
+
bookings?: {
|
|
6436
|
+
timezone: string;
|
|
6437
|
+
defaultSlotDuration: number;
|
|
6438
|
+
bufferTime: number;
|
|
6439
|
+
advanceBookingDays: number;
|
|
6440
|
+
cancellationHours: number;
|
|
6441
|
+
autoConfirm: boolean;
|
|
6442
|
+
requireApproval: boolean;
|
|
6443
|
+
sendReminders: boolean;
|
|
6444
|
+
reminderHours: number;
|
|
6445
|
+
} | null | undefined;
|
|
6446
|
+
subscriptions?: Record<string, never> | null | undefined;
|
|
6447
|
+
dashboard?: {
|
|
6448
|
+
widgets: {
|
|
6449
|
+
id: string;
|
|
6450
|
+
type: "revenue-summary" | "orders-summary" | "aov-summary" | "customers-summary" | "revenue-chart" | "order-status" | "customer-retention" | "top-products";
|
|
6451
|
+
position: number;
|
|
6452
|
+
size: {
|
|
6453
|
+
width: 1 | 2 | 3 | 4;
|
|
6454
|
+
height: 1 | 2 | 3 | 4;
|
|
6455
|
+
};
|
|
6456
|
+
visible: boolean;
|
|
6457
|
+
settings?: Record<string, unknown> | undefined;
|
|
6458
|
+
}[];
|
|
6459
|
+
} | null | undefined;
|
|
6460
|
+
} | null | undefined;
|
|
6461
|
+
flags: {
|
|
6462
|
+
verifyPKD?: boolean | null | undefined;
|
|
6463
|
+
gold?: boolean | null | undefined;
|
|
6464
|
+
} | undefined;
|
|
6465
|
+
id: string;
|
|
6466
|
+
name: string;
|
|
6467
|
+
createdAt: string;
|
|
6468
|
+
updatedAt: string;
|
|
6469
|
+
organizationId: string | null;
|
|
6470
|
+
addressId: string | null;
|
|
6471
|
+
subdomain: string;
|
|
6472
|
+
domain: string | null;
|
|
6473
|
+
emailDomain: string | null;
|
|
6474
|
+
emailDomainId: string | null;
|
|
6475
|
+
locale: string;
|
|
6476
|
+
currency: string;
|
|
6477
|
+
taxBehavior: "inclusive" | "exclusive";
|
|
6478
|
+
clerkOrganizationId: string | null;
|
|
6479
|
+
stripeAccountId: string | null;
|
|
6480
|
+
stripeCustomerId: string | null;
|
|
6481
|
+
environment: "live" | "test";
|
|
6482
|
+
subscribed: boolean;
|
|
6483
|
+
stripeSubscriptionId: string | null;
|
|
6484
|
+
stripeSubscriptionName: "free_monthly" | "free_yearly" | "starter_monthly" | "starter_yearly" | "growth_monthly" | "growth_yearly" | "pro_monthly" | "pro_yearly" | null;
|
|
6485
|
+
storeStatus: "active" | "suspended" | "maintenance";
|
|
6486
|
+
legacyFreeGracePeriodEnd: string | null;
|
|
6487
|
+
customTransactionFee: string | null;
|
|
6488
|
+
lastAppliedStoreThemeId: string | null;
|
|
6489
|
+
builderType: "aibuilder" | "storebuilder";
|
|
6490
|
+
builderConfig: {
|
|
6491
|
+
method: "v0";
|
|
6492
|
+
chatId: string;
|
|
6493
|
+
demoUrl?: string | undefined;
|
|
6494
|
+
} | {
|
|
6495
|
+
method: "internal";
|
|
6496
|
+
sandboxId: string;
|
|
6497
|
+
sandboxUrl: string;
|
|
6498
|
+
vercelProjectId: string;
|
|
6499
|
+
gitHubDeployKey: string;
|
|
6500
|
+
styles?: {
|
|
6501
|
+
colorPalette: {
|
|
6502
|
+
id: string;
|
|
6503
|
+
name: string;
|
|
6504
|
+
colors: {
|
|
6505
|
+
background: string;
|
|
6506
|
+
accent1: string;
|
|
6507
|
+
accent2: string;
|
|
6508
|
+
text: string;
|
|
6509
|
+
};
|
|
6510
|
+
};
|
|
6511
|
+
typography: {
|
|
6512
|
+
id: string;
|
|
6513
|
+
name: string;
|
|
6514
|
+
fontFamily: string;
|
|
6515
|
+
};
|
|
6516
|
+
corners: {
|
|
6517
|
+
id: string;
|
|
6518
|
+
name: string;
|
|
6519
|
+
radius: string;
|
|
6520
|
+
};
|
|
6521
|
+
theme?: {
|
|
6522
|
+
background: string;
|
|
6523
|
+
foreground: string;
|
|
6524
|
+
primary: string;
|
|
6525
|
+
primaryForeground: string;
|
|
6526
|
+
secondary: string;
|
|
6527
|
+
secondaryForeground: string;
|
|
6528
|
+
muted: string;
|
|
6529
|
+
mutedForeground: string;
|
|
6530
|
+
accent: string;
|
|
6531
|
+
accentForeground: string;
|
|
6532
|
+
border: string;
|
|
6533
|
+
radius: string;
|
|
6534
|
+
} | undefined;
|
|
6535
|
+
} | undefined;
|
|
6536
|
+
} | null;
|
|
6537
|
+
appSumoLicenseKey: string | null;
|
|
6538
|
+
appSumoLicense: {
|
|
6539
|
+
createdAt: string;
|
|
6540
|
+
updatedAt: string;
|
|
6541
|
+
userId: string | null;
|
|
6542
|
+
licenseKey: string;
|
|
6543
|
+
licenseStatus: "active" | "inactive";
|
|
6544
|
+
tier: number | null;
|
|
6545
|
+
extra: unknown;
|
|
6546
|
+
} | null;
|
|
6547
|
+
address: {
|
|
6548
|
+
id: string;
|
|
6549
|
+
name: string | null;
|
|
6550
|
+
createdAt: string;
|
|
6551
|
+
updatedAt: string;
|
|
6552
|
+
type: "shipping" | "billing" | "merchant";
|
|
6553
|
+
company: string | null;
|
|
6554
|
+
city: string | null;
|
|
6555
|
+
country: string | null;
|
|
6556
|
+
line1: string | null;
|
|
6557
|
+
line2: string | null;
|
|
6558
|
+
postalCode: string | null;
|
|
6559
|
+
state: string | null;
|
|
6560
|
+
phone: string | null;
|
|
6561
|
+
taxId: string | null;
|
|
6562
|
+
} | null;
|
|
6563
|
+
};
|
|
6021
6564
|
|
|
6022
|
-
export type { APICartAddBody, APICartAddResult, APICartCreateBody, APICartCreateResult, APICartGetResult, APICartRemoveItemQueryParams, APICartRemoveItemResult, APICategoriesBrowseQueryParams, APICategoriesBrowseResult, APICategoryGetByIdParams, APICategoryGetByIdResult, APICollectionGetByIdParams, APICollectionGetByIdResult, APICollectionsBrowseQueryParams, APICollectionsBrowseResult, APIOrderGetByIdParams, APIOrderGetByIdResult, APIOrdersBrowseQueryParams, APIOrdersBrowseResult, APIProductGetByIdParams, APIProductGetByIdResult, APIProductsBrowseQueryParams, APIProductsBrowseResult, JSONContent };
|
|
6565
|
+
export type { APICartAddBody, APICartAddResult, APICartCreateBody, APICartCreateResult, APICartGetResult, APICartRemoveItemQueryParams, APICartRemoveItemResult, APICategoriesBrowseQueryParams, APICategoriesBrowseResult, APICategoryGetByIdParams, APICategoryGetByIdResult, APICollectionGetByIdParams, APICollectionGetByIdResult, APICollectionsBrowseQueryParams, APICollectionsBrowseResult, APIOrderGetByIdParams, APIOrderGetByIdResult, APIOrdersBrowseQueryParams, APIOrdersBrowseResult, APIProductGetByIdParams, APIProductGetByIdResult, APIProductsBrowseQueryParams, APIProductsBrowseResult, APIStoresGetResult, JSONContent };
|