commerce-kit 0.22.0 → 0.23.0

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