commerce-kit 0.48.0 → 0.50.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.
@@ -15,6 +15,9 @@ type APIProductsBrowseResult = Omit<{
15
15
  images: string[];
16
16
  badge: unknown;
17
17
  bundleDiscountPercentage: string | null;
18
+ bundlePriceMode: "fixed" | "percent" | "amount";
19
+ bundleFixedPriceAmount: string | null;
20
+ bundleAmountOffAmount: string | null;
18
21
  seo: {
19
22
  title?: string | null | undefined;
20
23
  description?: string | null | undefined;
@@ -91,8 +94,12 @@ type APIProductsBrowseResult = Omit<{
91
94
  updatedAt: string;
92
95
  position: number;
93
96
  bundleId: string;
97
+ maxQuantity: number | null;
94
98
  quantity: number;
95
99
  variantId: string;
100
+ groupId: string | null;
101
+ forced: boolean;
102
+ defaultSelected: boolean;
96
103
  variant: {
97
104
  id: string;
98
105
  createdAt: string;
@@ -254,7 +261,7 @@ type APIProductsBrowseResult = Omit<{
254
261
  id: string;
255
262
  price: string;
256
263
  } & {
257
- prePromotionPrice: undefined;
264
+ prePromotionPrice: string | null;
258
265
  })[];
259
266
  }) | ({
260
267
  id: string;
@@ -271,6 +278,9 @@ type APIProductsBrowseResult = Omit<{
271
278
  images: string[];
272
279
  badge: unknown;
273
280
  bundleDiscountPercentage: string | null;
281
+ bundlePriceMode: "fixed" | "percent" | "amount";
282
+ bundleFixedPriceAmount: string | null;
283
+ bundleAmountOffAmount: string | null;
274
284
  seo: {
275
285
  title?: string | null | undefined;
276
286
  description?: string | null | undefined;
@@ -347,8 +357,12 @@ type APIProductsBrowseResult = Omit<{
347
357
  updatedAt: string;
348
358
  position: number;
349
359
  bundleId: string;
360
+ maxQuantity: number | null;
350
361
  quantity: number;
351
362
  variantId: string;
363
+ groupId: string | null;
364
+ forced: boolean;
365
+ defaultSelected: boolean;
352
366
  variant: {
353
367
  id: string;
354
368
  createdAt: string;
@@ -510,7 +524,7 @@ type APIProductsBrowseResult = Omit<{
510
524
  id: string;
511
525
  price: string;
512
526
  } & {
513
- prePromotionPrice: undefined;
527
+ prePromotionPrice: string | null;
514
528
  })[];
515
529
  }) | ({
516
530
  id: string;
@@ -527,6 +541,9 @@ type APIProductsBrowseResult = Omit<{
527
541
  images: string[];
528
542
  badge: unknown;
529
543
  bundleDiscountPercentage: string | null;
544
+ bundlePriceMode: "fixed" | "percent" | "amount";
545
+ bundleFixedPriceAmount: string | null;
546
+ bundleAmountOffAmount: string | null;
530
547
  seo: {
531
548
  title?: string | null | undefined;
532
549
  description?: string | null | undefined;
@@ -603,8 +620,12 @@ type APIProductsBrowseResult = Omit<{
603
620
  updatedAt: string;
604
621
  position: number;
605
622
  bundleId: string;
623
+ maxQuantity: number | null;
606
624
  quantity: number;
607
625
  variantId: string;
626
+ groupId: string | null;
627
+ forced: boolean;
628
+ defaultSelected: boolean;
608
629
  variant: {
609
630
  id: string;
610
631
  createdAt: string;
@@ -766,7 +787,7 @@ type APIProductsBrowseResult = Omit<{
766
787
  id: string;
767
788
  price: string;
768
789
  } & {
769
- prePromotionPrice: undefined;
790
+ prePromotionPrice: string | null;
770
791
  })[];
771
792
  }) | ({
772
793
  id: string;
@@ -783,6 +804,9 @@ type APIProductsBrowseResult = Omit<{
783
804
  images: string[];
784
805
  badge: unknown;
785
806
  bundleDiscountPercentage: string | null;
807
+ bundlePriceMode: "fixed" | "percent" | "amount";
808
+ bundleFixedPriceAmount: string | null;
809
+ bundleAmountOffAmount: string | null;
786
810
  seo: {
787
811
  title?: string | null | undefined;
788
812
  description?: string | null | undefined;
@@ -859,8 +883,12 @@ type APIProductsBrowseResult = Omit<{
859
883
  updatedAt: string;
860
884
  position: number;
861
885
  bundleId: string;
886
+ maxQuantity: number | null;
862
887
  quantity: number;
863
888
  variantId: string;
889
+ groupId: string | null;
890
+ forced: boolean;
891
+ defaultSelected: boolean;
864
892
  variant: {
865
893
  id: string;
866
894
  createdAt: string;
@@ -1022,8 +1050,9 @@ type APIProductsBrowseResult = Omit<{
1022
1050
  id: string;
1023
1051
  price: string;
1024
1052
  } & {
1025
- prePromotionPrice: undefined;
1026
1053
  price: string;
1054
+ } & {
1055
+ prePromotionPrice: string | null;
1027
1056
  })[];
1028
1057
  }) | ({
1029
1058
  id: string;
@@ -1040,6 +1069,9 @@ type APIProductsBrowseResult = Omit<{
1040
1069
  images: string[];
1041
1070
  badge: unknown;
1042
1071
  bundleDiscountPercentage: string | null;
1072
+ bundlePriceMode: "fixed" | "percent" | "amount";
1073
+ bundleFixedPriceAmount: string | null;
1074
+ bundleAmountOffAmount: string | null;
1043
1075
  seo: {
1044
1076
  title?: string | null | undefined;
1045
1077
  description?: string | null | undefined;
@@ -1116,8 +1148,12 @@ type APIProductsBrowseResult = Omit<{
1116
1148
  updatedAt: string;
1117
1149
  position: number;
1118
1150
  bundleId: string;
1151
+ maxQuantity: number | null;
1119
1152
  quantity: number;
1120
1153
  variantId: string;
1154
+ groupId: string | null;
1155
+ forced: boolean;
1156
+ defaultSelected: boolean;
1121
1157
  variant: {
1122
1158
  id: string;
1123
1159
  createdAt: string;
@@ -1306,6 +1342,9 @@ type APIProductsBrowseResult = Omit<{
1306
1342
  images: string[];
1307
1343
  badge: unknown;
1308
1344
  bundleDiscountPercentage: string | null;
1345
+ bundlePriceMode: "fixed" | "percent" | "amount";
1346
+ bundleFixedPriceAmount: string | null;
1347
+ bundleAmountOffAmount: string | null;
1309
1348
  seo: {
1310
1349
  title?: string | null | undefined;
1311
1350
  description?: string | null | undefined;
@@ -1382,8 +1421,12 @@ type APIProductsBrowseResult = Omit<{
1382
1421
  updatedAt: string;
1383
1422
  position: number;
1384
1423
  bundleId: string;
1424
+ maxQuantity: number | null;
1385
1425
  quantity: number;
1386
1426
  variantId: string;
1427
+ groupId: string | null;
1428
+ forced: boolean;
1429
+ defaultSelected: boolean;
1387
1430
  variant: {
1388
1431
  id: string;
1389
1432
  createdAt: string;
@@ -1545,7 +1588,7 @@ type APIProductsBrowseResult = Omit<{
1545
1588
  id: string;
1546
1589
  price: string;
1547
1590
  } & {
1548
- prePromotionPrice: undefined;
1591
+ prePromotionPrice: string | null;
1549
1592
  })[];
1550
1593
  }) | ({
1551
1594
  id: string;
@@ -1562,6 +1605,9 @@ type APIProductsBrowseResult = Omit<{
1562
1605
  images: string[];
1563
1606
  badge: unknown;
1564
1607
  bundleDiscountPercentage: string | null;
1608
+ bundlePriceMode: "fixed" | "percent" | "amount";
1609
+ bundleFixedPriceAmount: string | null;
1610
+ bundleAmountOffAmount: string | null;
1565
1611
  seo: {
1566
1612
  title?: string | null | undefined;
1567
1613
  description?: string | null | undefined;
@@ -1638,8 +1684,12 @@ type APIProductsBrowseResult = Omit<{
1638
1684
  updatedAt: string;
1639
1685
  position: number;
1640
1686
  bundleId: string;
1687
+ maxQuantity: number | null;
1641
1688
  quantity: number;
1642
1689
  variantId: string;
1690
+ groupId: string | null;
1691
+ forced: boolean;
1692
+ defaultSelected: boolean;
1643
1693
  variant: {
1644
1694
  id: string;
1645
1695
  createdAt: string;
@@ -1801,7 +1851,7 @@ type APIProductsBrowseResult = Omit<{
1801
1851
  id: string;
1802
1852
  price: string;
1803
1853
  } & {
1804
- prePromotionPrice: undefined;
1854
+ prePromotionPrice: string | null;
1805
1855
  })[];
1806
1856
  }) | ({
1807
1857
  id: string;
@@ -1818,6 +1868,9 @@ type APIProductsBrowseResult = Omit<{
1818
1868
  images: string[];
1819
1869
  badge: unknown;
1820
1870
  bundleDiscountPercentage: string | null;
1871
+ bundlePriceMode: "fixed" | "percent" | "amount";
1872
+ bundleFixedPriceAmount: string | null;
1873
+ bundleAmountOffAmount: string | null;
1821
1874
  seo: {
1822
1875
  title?: string | null | undefined;
1823
1876
  description?: string | null | undefined;
@@ -1894,8 +1947,12 @@ type APIProductsBrowseResult = Omit<{
1894
1947
  updatedAt: string;
1895
1948
  position: number;
1896
1949
  bundleId: string;
1950
+ maxQuantity: number | null;
1897
1951
  quantity: number;
1898
1952
  variantId: string;
1953
+ groupId: string | null;
1954
+ forced: boolean;
1955
+ defaultSelected: boolean;
1899
1956
  variant: {
1900
1957
  id: string;
1901
1958
  createdAt: string;
@@ -2057,7 +2114,7 @@ type APIProductsBrowseResult = Omit<{
2057
2114
  id: string;
2058
2115
  price: string;
2059
2116
  } & {
2060
- prePromotionPrice: undefined;
2117
+ prePromotionPrice: string | null;
2061
2118
  })[];
2062
2119
  }) | ({
2063
2120
  id: string;
@@ -2074,6 +2131,9 @@ type APIProductsBrowseResult = Omit<{
2074
2131
  images: string[];
2075
2132
  badge: unknown;
2076
2133
  bundleDiscountPercentage: string | null;
2134
+ bundlePriceMode: "fixed" | "percent" | "amount";
2135
+ bundleFixedPriceAmount: string | null;
2136
+ bundleAmountOffAmount: string | null;
2077
2137
  seo: {
2078
2138
  title?: string | null | undefined;
2079
2139
  description?: string | null | undefined;
@@ -2150,8 +2210,12 @@ type APIProductsBrowseResult = Omit<{
2150
2210
  updatedAt: string;
2151
2211
  position: number;
2152
2212
  bundleId: string;
2213
+ maxQuantity: number | null;
2153
2214
  quantity: number;
2154
2215
  variantId: string;
2216
+ groupId: string | null;
2217
+ forced: boolean;
2218
+ defaultSelected: boolean;
2155
2219
  variant: {
2156
2220
  id: string;
2157
2221
  createdAt: string;
@@ -2313,8 +2377,9 @@ type APIProductsBrowseResult = Omit<{
2313
2377
  id: string;
2314
2378
  price: string;
2315
2379
  } & {
2316
- prePromotionPrice: undefined;
2317
2380
  price: string;
2381
+ } & {
2382
+ prePromotionPrice: string | null;
2318
2383
  })[];
2319
2384
  }) | ({
2320
2385
  id: string;
@@ -2331,6 +2396,9 @@ type APIProductsBrowseResult = Omit<{
2331
2396
  images: string[];
2332
2397
  badge: unknown;
2333
2398
  bundleDiscountPercentage: string | null;
2399
+ bundlePriceMode: "fixed" | "percent" | "amount";
2400
+ bundleFixedPriceAmount: string | null;
2401
+ bundleAmountOffAmount: string | null;
2334
2402
  seo: {
2335
2403
  title?: string | null | undefined;
2336
2404
  description?: string | null | undefined;
@@ -2407,8 +2475,12 @@ type APIProductsBrowseResult = Omit<{
2407
2475
  updatedAt: string;
2408
2476
  position: number;
2409
2477
  bundleId: string;
2478
+ maxQuantity: number | null;
2410
2479
  quantity: number;
2411
2480
  variantId: string;
2481
+ groupId: string | null;
2482
+ forced: boolean;
2483
+ defaultSelected: boolean;
2412
2484
  variant: {
2413
2485
  id: string;
2414
2486
  createdAt: string;
@@ -2625,7 +2697,7 @@ type APIProductFiltersResult = {
2625
2697
  slug: string;
2626
2698
  }[];
2627
2699
  };
2628
- type APIProductGetByIdResult = ({
2700
+ type APIProductGetByIdResult = {
2629
2701
  id: string;
2630
2702
  name: string;
2631
2703
  createdAt: string;
@@ -2640,6 +2712,9 @@ type APIProductGetByIdResult = ({
2640
2712
  images: string[];
2641
2713
  badge: unknown;
2642
2714
  bundleDiscountPercentage: string | null;
2715
+ bundlePriceMode: "fixed" | "percent" | "amount";
2716
+ bundleFixedPriceAmount: string | null;
2717
+ bundleAmountOffAmount: string | null;
2643
2718
  seo: {
2644
2719
  title?: string | null | undefined;
2645
2720
  description?: string | null | undefined;
@@ -2716,8 +2791,12 @@ type APIProductGetByIdResult = ({
2716
2791
  updatedAt: string;
2717
2792
  position: number;
2718
2793
  bundleId: string;
2794
+ maxQuantity: number | null;
2719
2795
  quantity: number;
2720
2796
  variantId: string;
2797
+ groupId: string | null;
2798
+ forced: boolean;
2799
+ defaultSelected: boolean;
2721
2800
  variant: {
2722
2801
  id: string;
2723
2802
  createdAt: string;
@@ -2816,7 +2895,7 @@ type APIProductGetByIdResult = ({
2816
2895
  tr: {
2817
2896
  locale: string;
2818
2897
  }[];
2819
- variants: {
2898
+ variants: ({
2820
2899
  id: string;
2821
2900
  createdAt: string;
2822
2901
  updatedAt: string;
@@ -2864,7 +2943,14 @@ type APIProductGetByIdResult = ({
2864
2943
  calculatedPrice: string | null;
2865
2944
  variantId: string;
2866
2945
  }[];
2867
- }[];
2946
+ } & {
2947
+ id: string;
2948
+ price: string;
2949
+ } & {
2950
+ prePromotionPrice: string | null;
2951
+ } & {
2952
+ omnibusPrice: string | null;
2953
+ })[];
2868
2954
  subscriptionPlanProducts: {
2869
2955
  createdAt: string;
2870
2956
  updatedAt: string;
@@ -2898,298 +2984,38 @@ type APIProductGetByIdResult = ({
2898
2984
  productVariantId: string | null;
2899
2985
  }[];
2900
2986
  } & {
2901
- variants: ({
2902
- id: string;
2903
- price: string;
2904
- } & {
2905
- prePromotionPrice: undefined;
2906
- })[];
2907
- }) | (({
2908
- id: string;
2909
- name: string;
2910
- createdAt: string;
2911
- updatedAt: string;
2912
- type: "set" | "product" | "bundle";
2913
- slug: string;
2914
- status: "published" | "draft" | "hidden" | null;
2915
- flags: unknown;
2916
- storeId: string;
2917
- summary: string | null;
2918
- content: JSONContent | null;
2919
- images: string[];
2920
- badge: unknown;
2921
- bundleDiscountPercentage: string | null;
2922
- seo: {
2923
- title?: string | null | undefined;
2924
- description?: string | null | undefined;
2925
- canonical?: string | null | undefined;
2926
- } | null;
2927
- stripeTaxCode: string | null;
2928
- categoryId: string | null;
2929
- brandId: string | null;
2930
- category: {
2931
- id: string;
2932
- name: string;
2933
- image: string | null;
2934
- createdAt: string;
2935
- updatedAt: string;
2936
- slug: string;
2937
- active: boolean;
2938
- storeId: string;
2939
- description: JSONContent | null;
2940
- position: string;
2941
- seo: {
2942
- title?: string | null | undefined;
2943
- description?: string | null | undefined;
2944
- canonical?: string | null | undefined;
2945
- } | null;
2946
- longDescription: JSONContent | null;
2947
- parentId: string | null;
2948
- } | null;
2949
- productTaxRate: {
2950
- createdAt: string;
2951
- updatedAt: string;
2952
- taxRateId: string;
2953
- productId: string;
2954
- taxRate: {
2955
- id: string;
2956
- name: string;
2957
- createdAt: string;
2958
- updatedAt: string;
2959
- storeId: string;
2960
- rate: string;
2961
- label: string | null;
2962
- };
2963
- } | null;
2964
- productCollections: {
2965
- position: string | null;
2966
- productId: string;
2967
- collectionId: string;
2968
- collection: {
2969
- id: string;
2970
- name: string;
2971
- image: string | null;
2972
- createdAt: string;
2973
- updatedAt: string;
2974
- slug: string;
2975
- active: boolean;
2976
- filter: {
2977
- type: "manual";
2978
- } | {
2979
- type: "dynamicPrice";
2980
- min?: number | null | undefined;
2981
- max?: number | null | undefined;
2982
- } | {
2983
- type: "variantValues";
2984
- values: Record<string, string[]>;
2985
- } | {
2986
- type: "newest";
2987
- days?: number | null | undefined;
2988
- };
2989
- storeId: string;
2990
- description: JSONContent | null;
2991
- };
2992
- }[];
2993
- bundleProducts: {
2994
- createdAt: string;
2995
- updatedAt: string;
2996
- position: number;
2997
- bundleId: string;
2998
- quantity: number;
2999
- variantId: string;
3000
- variant: {
2987
+ lang?: string;
2988
+ bundle?: {
2989
+ discountPercentage: number | null;
2990
+ groups: {
3001
2991
  id: string;
3002
- createdAt: string;
3003
- updatedAt: string;
3004
- storeId: string;
3005
- description: string | null;
3006
- price: string;
3007
- images: string[];
3008
- sku: string | null;
3009
- barcode: string | null;
3010
- calculatedPrice: string | null;
3011
- stock: number | null;
3012
- depth: number | null;
3013
- width: number | null;
3014
- height: number | null;
3015
- weight: number | null;
3016
- digital: string[] | null;
3017
- shippable: boolean;
3018
- externalId: string | null;
3019
- productId: string;
3020
- attributes: unknown;
3021
- originalPrice: string;
3022
- product: {
3023
- id: string;
3024
- name: string;
3025
- slug: string;
3026
- images: string[];
3027
- productTaxRate: {
3028
- createdAt: string;
3029
- updatedAt: string;
3030
- taxRateId: string;
3031
- productId: string;
3032
- taxRate: {
3033
- id: string;
3034
- name: string;
3035
- createdAt: string;
3036
- updatedAt: string;
3037
- storeId: string;
3038
- rate: string;
3039
- label: string | null;
3040
- };
3041
- } | null;
3042
- variants: {
2992
+ name: string | null;
2993
+ position: number;
2994
+ minQuantity: number;
2995
+ maxQuantity: number | null;
2996
+ allowDuplicates: boolean;
2997
+ items: {
2998
+ variantId: string;
2999
+ position: number;
3000
+ forced: boolean;
3001
+ defaultSelected: boolean;
3002
+ fixedQuantity: number;
3003
+ maxQuantity: number | null;
3004
+ variant: {
3043
3005
  id: string;
3044
- createdAt: string;
3045
- updatedAt: string;
3046
- storeId: string;
3047
- description: string | null;
3048
3006
  price: string;
3049
- images: string[];
3050
3007
  sku: string | null;
3051
- barcode: string | null;
3052
- calculatedPrice: string | null;
3053
3008
  stock: number | null;
3054
- depth: number | null;
3055
- width: number | null;
3056
- height: number | null;
3057
- weight: number | null;
3058
- digital: string[] | null;
3059
- shippable: boolean;
3060
- externalId: string | null;
3061
- productId: string;
3062
- attributes: unknown;
3063
- originalPrice: string;
3064
- }[];
3065
- };
3066
- combinations: {
3067
- createdAt: string;
3068
- updatedAt: string;
3069
- productVariantId: string;
3070
- variantValueId: string;
3071
- variantValue: {
3072
- id: string;
3073
- value: string;
3074
- colorValue: string | null;
3075
- variantType: {
3076
- id: string;
3077
- type: "string" | "color";
3078
- label: string;
3079
- };
3009
+ images: string[];
3010
+ productName: string;
3011
+ productSlug: string;
3012
+ productImages: string[];
3080
3013
  };
3081
3014
  }[];
3082
- };
3083
- }[];
3084
- variantsTypes: {
3085
- id: string;
3086
- type: "string" | "color";
3087
- label: string;
3088
- variantValues: {
3089
- id: string;
3090
- value: string;
3091
- position: number | null;
3092
- colorValue: string | null;
3093
3015
  }[];
3094
- }[];
3095
- tr: {
3096
- locale: string;
3097
- }[];
3098
- variants: {
3099
- id: string;
3100
- createdAt: string;
3101
- updatedAt: string;
3102
- storeId: string;
3103
- description: string | null;
3104
- price: string;
3105
- images: string[];
3106
- sku: string | null;
3107
- barcode: string | null;
3108
- calculatedPrice: string | null;
3109
- stock: number | null;
3110
- depth: number | null;
3111
- width: number | null;
3112
- height: number | null;
3113
- weight: number | null;
3114
- digital: string[] | null;
3115
- shippable: boolean;
3116
- externalId: string | null;
3117
- productId: string;
3118
- attributes: unknown;
3119
- originalPrice: string;
3120
- combinations: {
3121
- createdAt: string;
3122
- updatedAt: string;
3123
- productVariantId: string;
3124
- variantValueId: string;
3125
- variantValue: {
3126
- id: string;
3127
- value: string;
3128
- position: number | null;
3129
- colorValue: string | null;
3130
- variantType: {
3131
- id: string;
3132
- type: "string" | "color";
3133
- label: string;
3134
- };
3135
- };
3136
- }[];
3137
- prices: {
3138
- createdAt: string;
3139
- updatedAt: string;
3140
- currency: string;
3141
- storeId: string;
3142
- price: string;
3143
- calculatedPrice: string | null;
3144
- variantId: string;
3145
- }[];
3146
- }[];
3147
- subscriptionPlanProducts: {
3148
- createdAt: string;
3149
- updatedAt: string;
3150
- position: number;
3151
- productId: string;
3152
- subscriptionPlanId: string;
3153
- subscriptionPlan: {
3154
- id: string;
3155
- name: string;
3156
- createdAt: string;
3157
- updatedAt: string;
3158
- interval: number;
3159
- active: boolean;
3160
- storeId: string;
3161
- description: string | null;
3162
- position: number;
3163
- cadence: "month" | "week";
3164
- discountPercent: number;
3165
- benefits: string | null;
3166
- };
3167
- }[];
3168
- volumePricingTiers: {
3169
- id: string;
3170
- createdAt: string;
3171
- updatedAt: string;
3172
- storeId: string;
3173
- price: string;
3174
- minQuantity: number;
3175
- maxQuantity: number | null;
3176
- productId: string | null;
3177
- productVariantId: string | null;
3178
- }[];
3179
- } & {
3180
- variants: ({
3181
- id: string;
3182
- price: string;
3183
- } & {
3184
- prePromotionPrice: string | null;
3185
- })[];
3186
- }) & {
3187
- lang?: string;
3188
- omnibusPrices: Record<string, string>;
3189
- });
3190
- type APIProductGetByIdParams = {
3191
- idOrSlug: string;
3016
+ };
3192
3017
  };
3018
+ type APIProductGetByIdParams = any;
3193
3019
  type APIProductGetByIdQueryParams = {
3194
3020
  lang?: string;
3195
3021
  currency?: string;
@@ -3247,8 +3073,12 @@ type APICartGetResult = {
3247
3073
  updatedAt: string;
3248
3074
  position: number;
3249
3075
  bundleId: string;
3076
+ maxQuantity: number | null;
3250
3077
  quantity: number;
3251
3078
  variantId: string;
3079
+ groupId: string | null;
3080
+ forced: boolean;
3081
+ defaultSelected: boolean;
3252
3082
  }[];
3253
3083
  id: string;
3254
3084
  name: string;
@@ -3264,6 +3094,9 @@ type APICartGetResult = {
3264
3094
  images: string[];
3265
3095
  badge: unknown;
3266
3096
  bundleDiscountPercentage: string | null;
3097
+ bundlePriceMode: "fixed" | "percent" | "amount";
3098
+ bundleFixedPriceAmount: string | null;
3099
+ bundleAmountOffAmount: string | null;
3267
3100
  seo: {
3268
3101
  title?: string | null | undefined;
3269
3102
  description?: string | null | undefined;
@@ -3332,7 +3165,7 @@ type APICartGetResult = {
3332
3165
  barcode: string | null;
3333
3166
  originalPrice: string;
3334
3167
  calculatedPrice: string | null;
3335
- prePromotionPrice: string | null | undefined;
3168
+ prePromotionPrice: string | null;
3336
3169
  preVolumePricingPrice: string | null;
3337
3170
  stock: number | null;
3338
3171
  depth: number | null;
@@ -3622,12 +3455,18 @@ type APICartGetResult = {
3622
3455
  type APICartAddBody = unknown;
3623
3456
  type APICartAddResult = unknown;
3624
3457
  type APICartCreateBody = {
3625
- variantId: string;
3626
- quantity: number;
3458
+ variantId?: string | undefined;
3459
+ quantity?: number | undefined;
3627
3460
  mode?: "set" | "add" | undefined;
3628
3461
  cartId?: string | undefined;
3629
3462
  subscriptionPlanId?: string | null | undefined;
3630
3463
  currency?: string | undefined;
3464
+ bundleId?: string | undefined;
3465
+ selections?: {
3466
+ variantId: string;
3467
+ groupId: string;
3468
+ quantity: number;
3469
+ }[] | undefined;
3631
3470
  };
3632
3471
  type APICartCreateResult = {
3633
3472
  lineItems: {
@@ -3682,8 +3521,12 @@ type APICartCreateResult = {
3682
3521
  updatedAt: string;
3683
3522
  position: number;
3684
3523
  bundleId: string;
3524
+ maxQuantity: number | null;
3685
3525
  quantity: number;
3686
3526
  variantId: string;
3527
+ groupId: string | null;
3528
+ forced: boolean;
3529
+ defaultSelected: boolean;
3687
3530
  }[];
3688
3531
  id: string;
3689
3532
  name: string;
@@ -3699,6 +3542,9 @@ type APICartCreateResult = {
3699
3542
  images: string[];
3700
3543
  badge: unknown;
3701
3544
  bundleDiscountPercentage: string | null;
3545
+ bundlePriceMode: "fixed" | "percent" | "amount";
3546
+ bundleFixedPriceAmount: string | null;
3547
+ bundleAmountOffAmount: string | null;
3702
3548
  seo: {
3703
3549
  title?: string | null | undefined;
3704
3550
  description?: string | null | undefined;
@@ -3767,7 +3613,7 @@ type APICartCreateResult = {
3767
3613
  barcode: string | null;
3768
3614
  originalPrice: string;
3769
3615
  calculatedPrice: string | null;
3770
- prePromotionPrice: string | null | undefined;
3616
+ prePromotionPrice: string | null;
3771
3617
  preVolumePricingPrice: string | null;
3772
3618
  stock: number | null;
3773
3619
  depth: number | null;
@@ -4107,8 +3953,12 @@ type APICartRemoveItemResult = {
4107
3953
  updatedAt: string;
4108
3954
  position: number;
4109
3955
  bundleId: string;
3956
+ maxQuantity: number | null;
4110
3957
  quantity: number;
4111
3958
  variantId: string;
3959
+ groupId: string | null;
3960
+ forced: boolean;
3961
+ defaultSelected: boolean;
4112
3962
  }[];
4113
3963
  id: string;
4114
3964
  name: string;
@@ -4124,6 +3974,9 @@ type APICartRemoveItemResult = {
4124
3974
  images: string[];
4125
3975
  badge: unknown;
4126
3976
  bundleDiscountPercentage: string | null;
3977
+ bundlePriceMode: "fixed" | "percent" | "amount";
3978
+ bundleFixedPriceAmount: string | null;
3979
+ bundleAmountOffAmount: string | null;
4127
3980
  seo: {
4128
3981
  title?: string | null | undefined;
4129
3982
  description?: string | null | undefined;
@@ -4192,7 +4045,7 @@ type APICartRemoveItemResult = {
4192
4045
  barcode: string | null;
4193
4046
  originalPrice: string;
4194
4047
  calculatedPrice: string | null;
4195
- prePromotionPrice: string | null | undefined;
4048
+ prePromotionPrice: string | null;
4196
4049
  preVolumePricingPrice: string | null;
4197
4050
  stock: number | null;
4198
4051
  depth: number | null;
@@ -4614,6 +4467,9 @@ type APIOrdersBrowseResult = {
4614
4467
  } | null;
4615
4468
  type: "set" | "product" | "bundle";
4616
4469
  bundleDiscountPercentage: string | null;
4470
+ bundlePriceMode: "fixed" | "percent" | "amount";
4471
+ bundleFixedPriceAmount: string | null;
4472
+ bundleAmountOffAmount: string | null;
4617
4473
  productCollections: {
4618
4474
  collection: {
4619
4475
  createdAt: string;
@@ -4651,8 +4507,12 @@ type APIOrdersBrowseResult = {
4651
4507
  bundleProducts: {
4652
4508
  bundleId: string;
4653
4509
  variantId: string;
4510
+ groupId: string | null;
4654
4511
  quantity: number;
4655
4512
  position: number;
4513
+ forced: boolean;
4514
+ defaultSelected: boolean;
4515
+ maxQuantity: number | null;
4656
4516
  createdAt: string;
4657
4517
  updatedAt: string;
4658
4518
  variant: {
@@ -4935,6 +4795,9 @@ type APIOrdersBrowseResult = {
4935
4795
  stripeDeduplicationId: string | null;
4936
4796
  ticketCode: string | null;
4937
4797
  activeSubscriptionId: string | null;
4798
+ packedAt: string | null;
4799
+ packedBy: string | null;
4800
+ tags: string[];
4938
4801
  } & {
4939
4802
  orderData: {
4940
4803
  id: string;
@@ -5056,6 +4919,9 @@ type APIOrdersBrowseResult = {
5056
4919
  } | null;
5057
4920
  type: "set" | "product" | "bundle";
5058
4921
  bundleDiscountPercentage: string | null;
4922
+ bundlePriceMode: "fixed" | "percent" | "amount";
4923
+ bundleFixedPriceAmount: string | null;
4924
+ bundleAmountOffAmount: string | null;
5059
4925
  productCollections: {
5060
4926
  collection: {
5061
4927
  createdAt: string;
@@ -5093,8 +4959,12 @@ type APIOrdersBrowseResult = {
5093
4959
  bundleProducts: {
5094
4960
  bundleId: string;
5095
4961
  variantId: string;
4962
+ groupId: string | null;
5096
4963
  quantity: number;
5097
4964
  position: number;
4965
+ forced: boolean;
4966
+ defaultSelected: boolean;
4967
+ maxQuantity: number | null;
5098
4968
  createdAt: string;
5099
4969
  updatedAt: string;
5100
4970
  variant: {
@@ -5512,6 +5382,9 @@ type APIOrderGetByIdResult = {
5512
5382
  } | null;
5513
5383
  type: "set" | "product" | "bundle";
5514
5384
  bundleDiscountPercentage: string | null;
5385
+ bundlePriceMode: "fixed" | "percent" | "amount";
5386
+ bundleFixedPriceAmount: string | null;
5387
+ bundleAmountOffAmount: string | null;
5515
5388
  productCollections: {
5516
5389
  collection: {
5517
5390
  createdAt: string;
@@ -5549,8 +5422,12 @@ type APIOrderGetByIdResult = {
5549
5422
  bundleProducts: {
5550
5423
  bundleId: string;
5551
5424
  variantId: string;
5425
+ groupId: string | null;
5552
5426
  quantity: number;
5553
5427
  position: number;
5428
+ forced: boolean;
5429
+ defaultSelected: boolean;
5430
+ maxQuantity: number | null;
5554
5431
  createdAt: string;
5555
5432
  updatedAt: string;
5556
5433
  variant: {
@@ -5833,6 +5710,9 @@ type APIOrderGetByIdResult = {
5833
5710
  stripeDeduplicationId: string | null;
5834
5711
  ticketCode: string | null;
5835
5712
  activeSubscriptionId: string | null;
5713
+ packedAt: string | null;
5714
+ packedBy: string | null;
5715
+ tags: string[];
5836
5716
  activeSubscription: {
5837
5717
  id: string;
5838
5718
  createdAt: string;
@@ -5987,6 +5867,9 @@ type APIOrderGetByIdResult = {
5987
5867
  } | null;
5988
5868
  type: "set" | "product" | "bundle";
5989
5869
  bundleDiscountPercentage: string | null;
5870
+ bundlePriceMode: "fixed" | "percent" | "amount";
5871
+ bundleFixedPriceAmount: string | null;
5872
+ bundleAmountOffAmount: string | null;
5990
5873
  productCollections: {
5991
5874
  collection: {
5992
5875
  createdAt: string;
@@ -6024,8 +5907,12 @@ type APIOrderGetByIdResult = {
6024
5907
  bundleProducts: {
6025
5908
  bundleId: string;
6026
5909
  variantId: string;
5910
+ groupId: string | null;
6027
5911
  quantity: number;
6028
5912
  position: number;
5913
+ forced: boolean;
5914
+ defaultSelected: boolean;
5915
+ maxQuantity: number | null;
6029
5916
  createdAt: string;
6030
5917
  updatedAt: string;
6031
5918
  variant: {
@@ -6304,9 +6191,7 @@ type APIOrderGetByIdResult = {
6304
6191
  }[] | null;
6305
6192
  };
6306
6193
  };
6307
- type APIOrderGetByIdParams = {
6308
- id: string;
6309
- };
6194
+ type APIOrderGetByIdParams = any;
6310
6195
  type APICategoriesBrowseResult = Omit<{
6311
6196
  data: {
6312
6197
  id: string;
@@ -6384,6 +6269,9 @@ type APICategoryGetByIdResult = ({
6384
6269
  images: string[];
6385
6270
  badge: unknown;
6386
6271
  bundleDiscountPercentage: string | null;
6272
+ bundlePriceMode: "fixed" | "percent" | "amount";
6273
+ bundleFixedPriceAmount: string | null;
6274
+ bundleAmountOffAmount: string | null;
6387
6275
  seo: {
6388
6276
  title?: string | null | undefined;
6389
6277
  description?: string | null | undefined;
@@ -6426,6 +6314,9 @@ type APICategoryGetByIdResult = ({
6426
6314
  images: string[];
6427
6315
  badge: unknown;
6428
6316
  bundleDiscountPercentage: string | null;
6317
+ bundlePriceMode: "fixed" | "percent" | "amount";
6318
+ bundleFixedPriceAmount: string | null;
6319
+ bundleAmountOffAmount: string | null;
6429
6320
  seo: {
6430
6321
  title?: string | null | undefined;
6431
6322
  description?: string | null | undefined;
@@ -6468,6 +6359,9 @@ type APICategoryGetByIdResult = ({
6468
6359
  images: string[];
6469
6360
  badge: unknown;
6470
6361
  bundleDiscountPercentage: string | null;
6362
+ bundlePriceMode: "fixed" | "percent" | "amount";
6363
+ bundleFixedPriceAmount: string | null;
6364
+ bundleAmountOffAmount: string | null;
6471
6365
  seo: {
6472
6366
  title?: string | null | undefined;
6473
6367
  description?: string | null | undefined;
@@ -6512,6 +6406,9 @@ type APICategoryGetByIdResult = ({
6512
6406
  images: string[];
6513
6407
  badge: unknown;
6514
6408
  bundleDiscountPercentage: string | null;
6409
+ bundlePriceMode: "fixed" | "percent" | "amount";
6410
+ bundleFixedPriceAmount: string | null;
6411
+ bundleAmountOffAmount: string | null;
6515
6412
  seo: {
6516
6413
  title?: string | null | undefined;
6517
6414
  description?: string | null | undefined;
@@ -6554,6 +6451,9 @@ type APICategoryGetByIdResult = ({
6554
6451
  images: string[];
6555
6452
  badge: unknown;
6556
6453
  bundleDiscountPercentage: string | null;
6454
+ bundlePriceMode: "fixed" | "percent" | "amount";
6455
+ bundleFixedPriceAmount: string | null;
6456
+ bundleAmountOffAmount: string | null;
6557
6457
  seo: {
6558
6458
  title?: string | null | undefined;
6559
6459
  description?: string | null | undefined;
@@ -6586,9 +6486,7 @@ type APICategoryGetByIdResult = ({
6586
6486
  }) & {
6587
6487
  lang?: string;
6588
6488
  };
6589
- type APICategoryGetByIdParams = {
6590
- idOrSlug: string;
6591
- };
6489
+ type APICategoryGetByIdParams = any;
6592
6490
  type APICategoryGetByIdQueryParams = {
6593
6491
  lang?: string;
6594
6492
  };
@@ -6695,6 +6593,9 @@ type APICollectionGetByIdResult = ({
6695
6593
  images: string[];
6696
6594
  badge: unknown;
6697
6595
  bundleDiscountPercentage: string | null;
6596
+ bundlePriceMode: "fixed" | "percent" | "amount";
6597
+ bundleFixedPriceAmount: string | null;
6598
+ bundleAmountOffAmount: string | null;
6698
6599
  seo: {
6699
6600
  title?: string | null | undefined;
6700
6601
  description?: string | null | undefined;
@@ -6755,6 +6656,9 @@ type APICollectionGetByIdResult = ({
6755
6656
  images: string[];
6756
6657
  badge: unknown;
6757
6658
  bundleDiscountPercentage: string | null;
6659
+ bundlePriceMode: "fixed" | "percent" | "amount";
6660
+ bundleFixedPriceAmount: string | null;
6661
+ bundleAmountOffAmount: string | null;
6758
6662
  seo: {
6759
6663
  title?: string | null | undefined;
6760
6664
  description?: string | null | undefined;
@@ -6768,9 +6672,7 @@ type APICollectionGetByIdResult = ({
6768
6672
  }) & {
6769
6673
  lang?: string;
6770
6674
  };
6771
- type APICollectionGetByIdParams = {
6772
- idOrSlug: string;
6773
- };
6675
+ type APICollectionGetByIdParams = any;
6774
6676
  type APICollectionGetByIdQueryParams = {
6775
6677
  lang?: string;
6776
6678
  };
@@ -6799,7 +6701,6 @@ type APIMeGetResult = {
6799
6701
  withdrawalButton: boolean;
6800
6702
  events: boolean;
6801
6703
  } | null;
6802
- defaultLanguage: "en-US" | "pl-PL" | "es-ES" | "de-DE" | null;
6803
6704
  enabledLanguages: {
6804
6705
  "en-US": boolean;
6805
6706
  "pl-PL": boolean;
@@ -6866,6 +6767,7 @@ type APIMeGetResult = {
6866
6767
  notifications?: {
6867
6768
  newOrderNotifications: boolean | null;
6868
6769
  lowStockNotifications: boolean | null;
6770
+ trackingEmails: boolean | null;
6869
6771
  } | null | undefined;
6870
6772
  buttons?: {
6871
6773
  borderWidth?: number | null | undefined;
@@ -6941,6 +6843,7 @@ type APIMeGetResult = {
6941
6843
  trackClicks: boolean;
6942
6844
  trackOpens: boolean;
6943
6845
  } | null | undefined;
6846
+ defaultLanguage?: "en-US" | "pl-PL" | "es-ES" | "de-DE" | null | undefined;
6944
6847
  newsletterPopup?: {
6945
6848
  delaySeconds: number;
6946
6849
  heading?: string | undefined;
@@ -7184,9 +7087,7 @@ type APIPostGetByIdResult = {
7184
7087
  filters: unknown;
7185
7088
  publishedAt: string | null;
7186
7089
  } | null | undefined;
7187
- type APIPostGetByIdParams = {
7188
- idOrSlug: string;
7189
- };
7090
+ type APIPostGetByIdParams = any;
7190
7091
  type APIPostCreateBody = {
7191
7092
  title: string;
7192
7093
  slug: string;
@@ -7306,9 +7207,7 @@ type APIBlogCategoryGetByIdResult = {
7306
7207
  canonical?: string | null | undefined;
7307
7208
  } | null;
7308
7209
  };
7309
- type APIBlogCategoryGetByIdParams = {
7310
- idOrSlug: string;
7311
- };
7210
+ type APIBlogCategoryGetByIdParams = any;
7312
7211
  type APIBlogCategoryCreateBody = {
7313
7212
  name: string;
7314
7213
  slug?: string | undefined;
@@ -7426,9 +7325,7 @@ type APICustomerGetByIdResult = {
7426
7325
  }>;
7427
7326
  createdAt: string;
7428
7327
  };
7429
- type APICustomerGetByIdParams = {
7430
- id: string;
7431
- };
7328
+ type APICustomerGetByIdParams = any;
7432
7329
  type APICustomerUpdateBody = {
7433
7330
  name?: string;
7434
7331
  phone?: string;
@@ -7524,9 +7421,7 @@ type APIVariantGetByIdResult = {
7524
7421
  images: string[];
7525
7422
  };
7526
7423
  };
7527
- type APIVariantGetByIdParams = {
7528
- idOrSku: string;
7529
- };
7424
+ type APIVariantGetByIdParams = any;
7530
7425
  type APIVariantGetByIdQueryParams = {
7531
7426
  currency?: string;
7532
7427
  };
@@ -7784,9 +7679,7 @@ type APILegalPageGetByPathResult = {
7784
7679
  createdAt: string;
7785
7680
  updatedAt: string;
7786
7681
  } | null;
7787
- type APILegalPageGetByPathParams = {
7788
- path: string;
7789
- };
7682
+ type APILegalPageGetByPathParams = any;
7790
7683
  type APILegalPageGetByPathQueryParams = {
7791
7684
  lang?: string;
7792
7685
  };
@@ -7944,6 +7837,9 @@ type APICollectionUpdateResult = {
7944
7837
  images: string[];
7945
7838
  badge: unknown;
7946
7839
  bundleDiscountPercentage: string | null;
7840
+ bundlePriceMode: "fixed" | "percent" | "amount";
7841
+ bundleFixedPriceAmount: string | null;
7842
+ bundleAmountOffAmount: string | null;
7947
7843
  seo: {
7948
7844
  title?: string | null | undefined;
7949
7845
  description?: string | null | undefined;
@@ -8028,9 +7924,7 @@ type APIInstaviewImagesBrowseResult = {
8028
7924
  }>;
8029
7925
  nextCursor: string | null;
8030
7926
  };
8031
- type APIInstaviewImagesBrowseParams = {
8032
- handle: string;
8033
- };
7927
+ type APIInstaviewImagesBrowseParams = any;
8034
7928
  type APIInstaviewImagesBrowseQueryParams = {
8035
7929
  limit?: number;
8036
7930
  cursor?: string;
@@ -8068,9 +7962,7 @@ type APIEventsBrowseResult = {
8068
7962
  }[];
8069
7963
  total: number;
8070
7964
  };
8071
- type APIEventGetByIdParams = {
8072
- idOrSlug: string;
8073
- };
7965
+ type APIEventGetByIdParams = any;
8074
7966
  type APIEventGetByIdResult = {
8075
7967
  event: {
8076
7968
  id: string;
@@ -8158,9 +8050,7 @@ type APIEventAttendeesBrowseResult = {
8158
8050
  }[];
8159
8051
  totalTickets: number;
8160
8052
  };
8161
- type APITicketsGetParams = {
8162
- code: string;
8163
- };
8053
+ type APITicketsGetParams = any;
8164
8054
  type APITicketsGetQueryParams = {
8165
8055
  email: string;
8166
8056
  };
@@ -8236,9 +8126,7 @@ type APITicketsUpdateResult = {
8236
8126
  }[];
8237
8127
  }[];
8238
8128
  };
8239
- type APITicketAttendeeGetParams = {
8240
- token: string;
8241
- };
8129
+ type APITicketAttendeeGetParams = any;
8242
8130
  type APITicketAttendeeGetResult = {
8243
8131
  token: string;
8244
8132
  attendee: {
@@ -8329,9 +8217,7 @@ type APIBrandsBrowseQueryParams = {
8329
8217
  active?: boolean | undefined;
8330
8218
  lang?: string | undefined;
8331
8219
  };
8332
- type APIBrandGetByIdParams = {
8333
- idOrSlug: string;
8334
- };
8220
+ type APIBrandGetByIdParams = any;
8335
8221
  type APIBrandGetByIdResult = {
8336
8222
  id: string;
8337
8223
  name: string;
@@ -8489,9 +8375,7 @@ type APIBrandAssignProductsResult = {
8489
8375
  assigned: number;
8490
8376
  notFound: string[];
8491
8377
  };
8492
- type APIOrderRefundsParams = {
8493
- id: string;
8494
- };
8378
+ type APIOrderRefundsParams = any;
8495
8379
  type APIOrderRefundsBrowseResult = {
8496
8380
  data: {
8497
8381
  createdAt: string;
@@ -8527,10 +8411,7 @@ type APIOrderRefundsBrowseQueryParams = {
8527
8411
  offset?: number | undefined;
8528
8412
  limit?: number | undefined;
8529
8413
  };
8530
- type APIOrderRefundGetParams = {
8531
- id: string;
8532
- refundId: string;
8533
- };
8414
+ type APIOrderRefundGetParams = any;
8534
8415
  type APIOrderRefundGetResult = {
8535
8416
  id: string;
8536
8417
  createdAt: string;
@@ -8539,13 +8420,13 @@ type APIOrderRefundGetResult = {
8539
8420
  status: "pending" | "cancelled" | "failed" | "succeeded";
8540
8421
  currency: string;
8541
8422
  storeId: string;
8423
+ amount: string;
8542
8424
  lineItems: {
8543
8425
  lineItemIndex: number;
8544
8426
  productVariantId: string;
8545
8427
  quantity: number;
8546
8428
  amount: string;
8547
8429
  }[] | null;
8548
- amount: string;
8549
8430
  orderId: string;
8550
8431
  stripeRefundId: string | null;
8551
8432
  reason: "other" | "requested_by_customer" | "damaged_or_defective" | "duplicate" | "fraudulent" | "order_error";