@wix/stores 1.0.92 → 1.0.94

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.
Files changed (73) hide show
  1. package/build/cjs/src/platform-v1-wishlist.http.d.ts +2 -2
  2. package/build/cjs/src/platform-v1-wishlist.http.js.map +1 -1
  3. package/build/cjs/src/platform-v1-wishlist.public.d.ts +10 -2
  4. package/build/cjs/src/platform-v1-wishlist.types.d.ts +11 -0
  5. package/build/cjs/src/platform-v1-wishlist.universal.d.ts +12 -1
  6. package/build/cjs/src/platform-v1-wishlist.universal.js.map +1 -1
  7. package/build/cjs/src/stores-catalog-v1-collection.http.d.ts +4 -4
  8. package/build/cjs/src/stores-catalog-v1-collection.http.js.map +1 -1
  9. package/build/cjs/src/stores-catalog-v1-collection.public.d.ts +53 -3
  10. package/build/cjs/src/stores-catalog-v1-collection.types.d.ts +204 -0
  11. package/build/cjs/src/stores-catalog-v1-collection.universal.d.ts +161 -2
  12. package/build/cjs/src/stores-catalog-v1-collection.universal.js.map +1 -1
  13. package/build/cjs/src/stores-catalog-v1-product.http.d.ts +15 -15
  14. package/build/cjs/src/stores-catalog-v1-product.http.js.map +1 -1
  15. package/build/cjs/src/stores-catalog-v1-product.public.d.ts +14 -14
  16. package/build/cjs/src/stores-catalog-v1-product.types.d.ts +1501 -0
  17. package/build/cjs/src/stores-catalog-v1-product.universal.d.ts +1411 -13
  18. package/build/cjs/src/stores-catalog-v1-product.universal.js.map +1 -1
  19. package/build/cjs/src/stores-v1-abandoned-cart.http.d.ts +3 -3
  20. package/build/cjs/src/stores-v1-abandoned-cart.http.js.map +1 -1
  21. package/build/cjs/src/stores-v1-abandoned-cart.public.d.ts +13 -3
  22. package/build/cjs/src/stores-v1-abandoned-cart.types.d.ts +27 -0
  23. package/build/cjs/src/stores-v1-abandoned-cart.universal.d.ts +29 -2
  24. package/build/cjs/src/stores-v1-abandoned-cart.universal.js.map +1 -1
  25. package/build/cjs/src/stores-v1-subscription-option.http.d.ts +9 -9
  26. package/build/cjs/src/stores-v1-subscription-option.http.js.map +1 -1
  27. package/build/cjs/src/stores-v1-subscription-option.public.d.ts +36 -9
  28. package/build/cjs/src/stores-v1-subscription-option.types.d.ts +85 -0
  29. package/build/cjs/src/stores-v1-subscription-option.universal.d.ts +93 -8
  30. package/build/cjs/src/stores-v1-subscription-option.universal.js.map +1 -1
  31. package/build/cjs/src/stores-v2-inventory.http.d.ts +3 -3
  32. package/build/cjs/src/stores-v2-inventory.http.js.map +1 -1
  33. package/build/cjs/src/stores-v2-inventory.public.d.ts +3 -3
  34. package/build/cjs/src/stores-v2-inventory.types.d.ts +29 -0
  35. package/build/cjs/src/stores-v2-inventory.universal.d.ts +31 -2
  36. package/build/cjs/src/stores-v2-inventory.universal.js.map +1 -1
  37. package/build/es/src/platform-v1-wishlist.http.d.ts +2 -2
  38. package/build/es/src/platform-v1-wishlist.http.js.map +1 -1
  39. package/build/es/src/platform-v1-wishlist.public.d.ts +10 -2
  40. package/build/es/src/platform-v1-wishlist.types.d.ts +11 -0
  41. package/build/es/src/platform-v1-wishlist.universal.d.ts +12 -1
  42. package/build/es/src/platform-v1-wishlist.universal.js.map +1 -1
  43. package/build/es/src/stores-catalog-v1-collection.http.d.ts +4 -4
  44. package/build/es/src/stores-catalog-v1-collection.http.js.map +1 -1
  45. package/build/es/src/stores-catalog-v1-collection.public.d.ts +53 -3
  46. package/build/es/src/stores-catalog-v1-collection.types.d.ts +204 -0
  47. package/build/es/src/stores-catalog-v1-collection.universal.d.ts +161 -2
  48. package/build/es/src/stores-catalog-v1-collection.universal.js.map +1 -1
  49. package/build/es/src/stores-catalog-v1-product.http.d.ts +15 -15
  50. package/build/es/src/stores-catalog-v1-product.http.js.map +1 -1
  51. package/build/es/src/stores-catalog-v1-product.public.d.ts +14 -14
  52. package/build/es/src/stores-catalog-v1-product.types.d.ts +1501 -0
  53. package/build/es/src/stores-catalog-v1-product.universal.d.ts +1411 -13
  54. package/build/es/src/stores-catalog-v1-product.universal.js.map +1 -1
  55. package/build/es/src/stores-v1-abandoned-cart.http.d.ts +3 -3
  56. package/build/es/src/stores-v1-abandoned-cart.http.js.map +1 -1
  57. package/build/es/src/stores-v1-abandoned-cart.public.d.ts +13 -3
  58. package/build/es/src/stores-v1-abandoned-cart.types.d.ts +27 -0
  59. package/build/es/src/stores-v1-abandoned-cart.universal.d.ts +29 -2
  60. package/build/es/src/stores-v1-abandoned-cart.universal.js.map +1 -1
  61. package/build/es/src/stores-v1-subscription-option.http.d.ts +9 -9
  62. package/build/es/src/stores-v1-subscription-option.http.js.map +1 -1
  63. package/build/es/src/stores-v1-subscription-option.public.d.ts +36 -9
  64. package/build/es/src/stores-v1-subscription-option.types.d.ts +85 -0
  65. package/build/es/src/stores-v1-subscription-option.universal.d.ts +93 -8
  66. package/build/es/src/stores-v1-subscription-option.universal.js.map +1 -1
  67. package/build/es/src/stores-v2-inventory.http.d.ts +3 -3
  68. package/build/es/src/stores-v2-inventory.http.js.map +1 -1
  69. package/build/es/src/stores-v2-inventory.public.d.ts +3 -3
  70. package/build/es/src/stores-v2-inventory.types.d.ts +29 -0
  71. package/build/es/src/stores-v2-inventory.universal.d.ts +31 -2
  72. package/build/es/src/stores-v2-inventory.universal.js.map +1 -1
  73. package/package.json +5 -5
@@ -1379,6 +1379,1404 @@ export interface AggregateProductsRequest {
1379
1379
  export interface AggregateProductsResponse {
1380
1380
  aggregates?: Record<string, any> | null;
1381
1381
  }
1382
+ export interface CreateProductResponseNonNullableFields {
1383
+ product?: {
1384
+ _id: string;
1385
+ slug: string;
1386
+ productType: ProductType;
1387
+ weightRange?: {
1388
+ minValue: number;
1389
+ maxValue: number;
1390
+ };
1391
+ stock?: {
1392
+ trackInventory: boolean;
1393
+ inStock: boolean;
1394
+ inventoryStatus: InventoryStatus;
1395
+ };
1396
+ price?: {
1397
+ currency: string;
1398
+ discountedPrice: number;
1399
+ formatted?: {
1400
+ price: string;
1401
+ discountedPrice: string;
1402
+ };
1403
+ };
1404
+ priceData?: {
1405
+ currency: string;
1406
+ discountedPrice: number;
1407
+ formatted?: {
1408
+ price: string;
1409
+ discountedPrice: string;
1410
+ };
1411
+ };
1412
+ convertedPriceData?: {
1413
+ currency: string;
1414
+ discountedPrice: number;
1415
+ formatted?: {
1416
+ price: string;
1417
+ discountedPrice: string;
1418
+ };
1419
+ };
1420
+ priceRange?: {
1421
+ minValue: number;
1422
+ maxValue: number;
1423
+ };
1424
+ costAndProfitData?: {
1425
+ formattedItemCost: string;
1426
+ profit: number;
1427
+ formattedProfit: string;
1428
+ profitMargin: number;
1429
+ };
1430
+ costRange?: {
1431
+ minValue: number;
1432
+ maxValue: number;
1433
+ };
1434
+ pricePerUnitData?: {
1435
+ totalQuantity: number;
1436
+ totalMeasurementUnit: MeasurementUnit;
1437
+ baseQuantity: number;
1438
+ baseMeasurementUnit: MeasurementUnit;
1439
+ };
1440
+ additionalInfoSections: {
1441
+ title: string;
1442
+ description: string;
1443
+ }[];
1444
+ ribbons: {
1445
+ text: string;
1446
+ }[];
1447
+ media?: {
1448
+ mainMedia?: {
1449
+ image?: {
1450
+ url: string;
1451
+ width: number;
1452
+ height: number;
1453
+ };
1454
+ video?: {
1455
+ files: {
1456
+ url: string;
1457
+ width: number;
1458
+ height: number;
1459
+ }[];
1460
+ stillFrameMediaId: string;
1461
+ };
1462
+ thumbnail?: {
1463
+ url: string;
1464
+ width: number;
1465
+ height: number;
1466
+ };
1467
+ mediaType: MediaItemType;
1468
+ title: string;
1469
+ _id: string;
1470
+ };
1471
+ items: {
1472
+ image?: {
1473
+ url: string;
1474
+ width: number;
1475
+ height: number;
1476
+ };
1477
+ video?: {
1478
+ files: {
1479
+ url: string;
1480
+ width: number;
1481
+ height: number;
1482
+ }[];
1483
+ stillFrameMediaId: string;
1484
+ };
1485
+ thumbnail?: {
1486
+ url: string;
1487
+ width: number;
1488
+ height: number;
1489
+ };
1490
+ mediaType: MediaItemType;
1491
+ title: string;
1492
+ _id: string;
1493
+ }[];
1494
+ };
1495
+ customTextFields: {
1496
+ title: string;
1497
+ maxLength: number;
1498
+ mandatory: boolean;
1499
+ }[];
1500
+ productOptions: {
1501
+ optionType: OptionType;
1502
+ name: string;
1503
+ choices: {
1504
+ value: string;
1505
+ description: string;
1506
+ media?: {
1507
+ mainMedia?: {
1508
+ image?: {
1509
+ url: string;
1510
+ width: number;
1511
+ height: number;
1512
+ };
1513
+ video?: {
1514
+ files: {
1515
+ url: string;
1516
+ width: number;
1517
+ height: number;
1518
+ }[];
1519
+ stillFrameMediaId: string;
1520
+ };
1521
+ thumbnail?: {
1522
+ url: string;
1523
+ width: number;
1524
+ height: number;
1525
+ };
1526
+ mediaType: MediaItemType;
1527
+ title: string;
1528
+ _id: string;
1529
+ };
1530
+ items: {
1531
+ image?: {
1532
+ url: string;
1533
+ width: number;
1534
+ height: number;
1535
+ };
1536
+ video?: {
1537
+ files: {
1538
+ url: string;
1539
+ width: number;
1540
+ height: number;
1541
+ }[];
1542
+ stillFrameMediaId: string;
1543
+ };
1544
+ thumbnail?: {
1545
+ url: string;
1546
+ width: number;
1547
+ height: number;
1548
+ };
1549
+ mediaType: MediaItemType;
1550
+ title: string;
1551
+ _id: string;
1552
+ }[];
1553
+ };
1554
+ inStock: boolean;
1555
+ visible: boolean;
1556
+ }[];
1557
+ }[];
1558
+ productPageUrl?: {
1559
+ base: string;
1560
+ path: string;
1561
+ };
1562
+ numericId: string;
1563
+ inventoryItemId: string;
1564
+ discount?: {
1565
+ type: DiscountType;
1566
+ value: number;
1567
+ };
1568
+ collectionIds: string[];
1569
+ variants: {
1570
+ _id: string;
1571
+ variant?: {
1572
+ priceData?: {
1573
+ currency: string;
1574
+ discountedPrice: number;
1575
+ formatted?: {
1576
+ price: string;
1577
+ discountedPrice: string;
1578
+ };
1579
+ };
1580
+ convertedPriceData?: {
1581
+ currency: string;
1582
+ discountedPrice: number;
1583
+ formatted?: {
1584
+ price: string;
1585
+ discountedPrice: string;
1586
+ };
1587
+ };
1588
+ costAndProfitData?: {
1589
+ formattedItemCost: string;
1590
+ profit: number;
1591
+ formattedProfit: string;
1592
+ profitMargin: number;
1593
+ };
1594
+ weight: number;
1595
+ sku: string;
1596
+ visible: boolean;
1597
+ };
1598
+ stock?: {
1599
+ trackQuantity: boolean;
1600
+ inStock: boolean;
1601
+ };
1602
+ }[];
1603
+ seoData?: {
1604
+ tags: {
1605
+ type: string;
1606
+ children: string;
1607
+ custom: boolean;
1608
+ disabled: boolean;
1609
+ }[];
1610
+ settings?: {
1611
+ preventAutoRedirect: boolean;
1612
+ keywords: {
1613
+ term: string;
1614
+ isMain: boolean;
1615
+ }[];
1616
+ };
1617
+ };
1618
+ };
1619
+ }
1620
+ export interface UpdateProductResponseNonNullableFields {
1621
+ product?: {
1622
+ _id: string;
1623
+ slug: string;
1624
+ productType: ProductType;
1625
+ weightRange?: {
1626
+ minValue: number;
1627
+ maxValue: number;
1628
+ };
1629
+ stock?: {
1630
+ trackInventory: boolean;
1631
+ inStock: boolean;
1632
+ inventoryStatus: InventoryStatus;
1633
+ };
1634
+ price?: {
1635
+ currency: string;
1636
+ discountedPrice: number;
1637
+ formatted?: {
1638
+ price: string;
1639
+ discountedPrice: string;
1640
+ };
1641
+ };
1642
+ priceData?: {
1643
+ currency: string;
1644
+ discountedPrice: number;
1645
+ formatted?: {
1646
+ price: string;
1647
+ discountedPrice: string;
1648
+ };
1649
+ };
1650
+ convertedPriceData?: {
1651
+ currency: string;
1652
+ discountedPrice: number;
1653
+ formatted?: {
1654
+ price: string;
1655
+ discountedPrice: string;
1656
+ };
1657
+ };
1658
+ priceRange?: {
1659
+ minValue: number;
1660
+ maxValue: number;
1661
+ };
1662
+ costAndProfitData?: {
1663
+ formattedItemCost: string;
1664
+ profit: number;
1665
+ formattedProfit: string;
1666
+ profitMargin: number;
1667
+ };
1668
+ costRange?: {
1669
+ minValue: number;
1670
+ maxValue: number;
1671
+ };
1672
+ pricePerUnitData?: {
1673
+ totalQuantity: number;
1674
+ totalMeasurementUnit: MeasurementUnit;
1675
+ baseQuantity: number;
1676
+ baseMeasurementUnit: MeasurementUnit;
1677
+ };
1678
+ additionalInfoSections: {
1679
+ title: string;
1680
+ description: string;
1681
+ }[];
1682
+ ribbons: {
1683
+ text: string;
1684
+ }[];
1685
+ media?: {
1686
+ mainMedia?: {
1687
+ image?: {
1688
+ url: string;
1689
+ width: number;
1690
+ height: number;
1691
+ };
1692
+ video?: {
1693
+ files: {
1694
+ url: string;
1695
+ width: number;
1696
+ height: number;
1697
+ }[];
1698
+ stillFrameMediaId: string;
1699
+ };
1700
+ thumbnail?: {
1701
+ url: string;
1702
+ width: number;
1703
+ height: number;
1704
+ };
1705
+ mediaType: MediaItemType;
1706
+ title: string;
1707
+ _id: string;
1708
+ };
1709
+ items: {
1710
+ image?: {
1711
+ url: string;
1712
+ width: number;
1713
+ height: number;
1714
+ };
1715
+ video?: {
1716
+ files: {
1717
+ url: string;
1718
+ width: number;
1719
+ height: number;
1720
+ }[];
1721
+ stillFrameMediaId: string;
1722
+ };
1723
+ thumbnail?: {
1724
+ url: string;
1725
+ width: number;
1726
+ height: number;
1727
+ };
1728
+ mediaType: MediaItemType;
1729
+ title: string;
1730
+ _id: string;
1731
+ }[];
1732
+ };
1733
+ customTextFields: {
1734
+ title: string;
1735
+ maxLength: number;
1736
+ mandatory: boolean;
1737
+ }[];
1738
+ productOptions: {
1739
+ optionType: OptionType;
1740
+ name: string;
1741
+ choices: {
1742
+ value: string;
1743
+ description: string;
1744
+ media?: {
1745
+ mainMedia?: {
1746
+ image?: {
1747
+ url: string;
1748
+ width: number;
1749
+ height: number;
1750
+ };
1751
+ video?: {
1752
+ files: {
1753
+ url: string;
1754
+ width: number;
1755
+ height: number;
1756
+ }[];
1757
+ stillFrameMediaId: string;
1758
+ };
1759
+ thumbnail?: {
1760
+ url: string;
1761
+ width: number;
1762
+ height: number;
1763
+ };
1764
+ mediaType: MediaItemType;
1765
+ title: string;
1766
+ _id: string;
1767
+ };
1768
+ items: {
1769
+ image?: {
1770
+ url: string;
1771
+ width: number;
1772
+ height: number;
1773
+ };
1774
+ video?: {
1775
+ files: {
1776
+ url: string;
1777
+ width: number;
1778
+ height: number;
1779
+ }[];
1780
+ stillFrameMediaId: string;
1781
+ };
1782
+ thumbnail?: {
1783
+ url: string;
1784
+ width: number;
1785
+ height: number;
1786
+ };
1787
+ mediaType: MediaItemType;
1788
+ title: string;
1789
+ _id: string;
1790
+ }[];
1791
+ };
1792
+ inStock: boolean;
1793
+ visible: boolean;
1794
+ }[];
1795
+ }[];
1796
+ productPageUrl?: {
1797
+ base: string;
1798
+ path: string;
1799
+ };
1800
+ numericId: string;
1801
+ inventoryItemId: string;
1802
+ discount?: {
1803
+ type: DiscountType;
1804
+ value: number;
1805
+ };
1806
+ collectionIds: string[];
1807
+ variants: {
1808
+ _id: string;
1809
+ variant?: {
1810
+ priceData?: {
1811
+ currency: string;
1812
+ discountedPrice: number;
1813
+ formatted?: {
1814
+ price: string;
1815
+ discountedPrice: string;
1816
+ };
1817
+ };
1818
+ convertedPriceData?: {
1819
+ currency: string;
1820
+ discountedPrice: number;
1821
+ formatted?: {
1822
+ price: string;
1823
+ discountedPrice: string;
1824
+ };
1825
+ };
1826
+ costAndProfitData?: {
1827
+ formattedItemCost: string;
1828
+ profit: number;
1829
+ formattedProfit: string;
1830
+ profitMargin: number;
1831
+ };
1832
+ weight: number;
1833
+ sku: string;
1834
+ visible: boolean;
1835
+ };
1836
+ stock?: {
1837
+ trackQuantity: boolean;
1838
+ inStock: boolean;
1839
+ };
1840
+ }[];
1841
+ seoData?: {
1842
+ tags: {
1843
+ type: string;
1844
+ children: string;
1845
+ custom: boolean;
1846
+ disabled: boolean;
1847
+ }[];
1848
+ settings?: {
1849
+ preventAutoRedirect: boolean;
1850
+ keywords: {
1851
+ term: string;
1852
+ isMain: boolean;
1853
+ }[];
1854
+ };
1855
+ };
1856
+ };
1857
+ }
1858
+ export interface UpdateVariantsResponseNonNullableFields {
1859
+ variants: {
1860
+ _id: string;
1861
+ variant?: {
1862
+ priceData?: {
1863
+ currency: string;
1864
+ discountedPrice: number;
1865
+ formatted?: {
1866
+ price: string;
1867
+ discountedPrice: string;
1868
+ };
1869
+ };
1870
+ convertedPriceData?: {
1871
+ currency: string;
1872
+ discountedPrice: number;
1873
+ formatted?: {
1874
+ price: string;
1875
+ discountedPrice: string;
1876
+ };
1877
+ };
1878
+ costAndProfitData?: {
1879
+ formattedItemCost: string;
1880
+ profit: number;
1881
+ formattedProfit: string;
1882
+ profitMargin: number;
1883
+ };
1884
+ weight: number;
1885
+ sku: string;
1886
+ visible: boolean;
1887
+ };
1888
+ stock?: {
1889
+ trackQuantity: boolean;
1890
+ inStock: boolean;
1891
+ };
1892
+ }[];
1893
+ }
1894
+ export interface CreateCollectionResponseNonNullableFields {
1895
+ collection?: {
1896
+ media?: {
1897
+ mainMedia?: {
1898
+ image?: {
1899
+ url: string;
1900
+ width: number;
1901
+ height: number;
1902
+ };
1903
+ video?: {
1904
+ files: {
1905
+ url: string;
1906
+ width: number;
1907
+ height: number;
1908
+ }[];
1909
+ stillFrameMediaId: string;
1910
+ };
1911
+ thumbnail?: {
1912
+ url: string;
1913
+ width: number;
1914
+ height: number;
1915
+ };
1916
+ mediaType: MediaItemType;
1917
+ title: string;
1918
+ _id: string;
1919
+ };
1920
+ items: {
1921
+ image?: {
1922
+ url: string;
1923
+ width: number;
1924
+ height: number;
1925
+ };
1926
+ video?: {
1927
+ files: {
1928
+ url: string;
1929
+ width: number;
1930
+ height: number;
1931
+ }[];
1932
+ stillFrameMediaId: string;
1933
+ };
1934
+ thumbnail?: {
1935
+ url: string;
1936
+ width: number;
1937
+ height: number;
1938
+ };
1939
+ mediaType: MediaItemType;
1940
+ title: string;
1941
+ _id: string;
1942
+ }[];
1943
+ };
1944
+ numberOfProducts: number;
1945
+ };
1946
+ }
1947
+ export interface UpdateCollectionResponseNonNullableFields {
1948
+ collection?: {
1949
+ media?: {
1950
+ mainMedia?: {
1951
+ image?: {
1952
+ url: string;
1953
+ width: number;
1954
+ height: number;
1955
+ };
1956
+ video?: {
1957
+ files: {
1958
+ url: string;
1959
+ width: number;
1960
+ height: number;
1961
+ }[];
1962
+ stillFrameMediaId: string;
1963
+ };
1964
+ thumbnail?: {
1965
+ url: string;
1966
+ width: number;
1967
+ height: number;
1968
+ };
1969
+ mediaType: MediaItemType;
1970
+ title: string;
1971
+ _id: string;
1972
+ };
1973
+ items: {
1974
+ image?: {
1975
+ url: string;
1976
+ width: number;
1977
+ height: number;
1978
+ };
1979
+ video?: {
1980
+ files: {
1981
+ url: string;
1982
+ width: number;
1983
+ height: number;
1984
+ }[];
1985
+ stillFrameMediaId: string;
1986
+ };
1987
+ thumbnail?: {
1988
+ url: string;
1989
+ width: number;
1990
+ height: number;
1991
+ };
1992
+ mediaType: MediaItemType;
1993
+ title: string;
1994
+ _id: string;
1995
+ }[];
1996
+ };
1997
+ numberOfProducts: number;
1998
+ };
1999
+ }
2000
+ export interface BulkUpdateProductsResponseNonNullableFields {
2001
+ results: {
2002
+ itemMetadata?: {
2003
+ originalIndex: number;
2004
+ success: boolean;
2005
+ error?: {
2006
+ code: string;
2007
+ description: string;
2008
+ };
2009
+ };
2010
+ }[];
2011
+ bulkActionMetadata?: {
2012
+ totalSuccesses: number;
2013
+ totalFailures: number;
2014
+ undetailedFailures: number;
2015
+ };
2016
+ }
2017
+ export interface BulkAdjustProductPropertiesResponseNonNullableFields {
2018
+ results: {
2019
+ itemMetadata?: {
2020
+ originalIndex: number;
2021
+ success: boolean;
2022
+ error?: {
2023
+ code: string;
2024
+ description: string;
2025
+ };
2026
+ };
2027
+ }[];
2028
+ bulkActionMetadata?: {
2029
+ totalSuccesses: number;
2030
+ totalFailures: number;
2031
+ undetailedFailures: number;
2032
+ };
2033
+ }
2034
+ export interface QueryProductsPlatformizedResponseNonNullableFields {
2035
+ products: {
2036
+ _id: string;
2037
+ slug: string;
2038
+ productType: ProductType;
2039
+ weightRange?: {
2040
+ minValue: number;
2041
+ maxValue: number;
2042
+ };
2043
+ stock?: {
2044
+ trackInventory: boolean;
2045
+ inStock: boolean;
2046
+ inventoryStatus: InventoryStatus;
2047
+ };
2048
+ price?: {
2049
+ currency: string;
2050
+ discountedPrice: number;
2051
+ formatted?: {
2052
+ price: string;
2053
+ discountedPrice: string;
2054
+ };
2055
+ };
2056
+ priceData?: {
2057
+ currency: string;
2058
+ discountedPrice: number;
2059
+ formatted?: {
2060
+ price: string;
2061
+ discountedPrice: string;
2062
+ };
2063
+ };
2064
+ convertedPriceData?: {
2065
+ currency: string;
2066
+ discountedPrice: number;
2067
+ formatted?: {
2068
+ price: string;
2069
+ discountedPrice: string;
2070
+ };
2071
+ };
2072
+ priceRange?: {
2073
+ minValue: number;
2074
+ maxValue: number;
2075
+ };
2076
+ costAndProfitData?: {
2077
+ formattedItemCost: string;
2078
+ profit: number;
2079
+ formattedProfit: string;
2080
+ profitMargin: number;
2081
+ };
2082
+ costRange?: {
2083
+ minValue: number;
2084
+ maxValue: number;
2085
+ };
2086
+ pricePerUnitData?: {
2087
+ totalQuantity: number;
2088
+ totalMeasurementUnit: MeasurementUnit;
2089
+ baseQuantity: number;
2090
+ baseMeasurementUnit: MeasurementUnit;
2091
+ };
2092
+ additionalInfoSections: {
2093
+ title: string;
2094
+ description: string;
2095
+ }[];
2096
+ ribbons: {
2097
+ text: string;
2098
+ }[];
2099
+ media?: {
2100
+ mainMedia?: {
2101
+ image?: {
2102
+ url: string;
2103
+ width: number;
2104
+ height: number;
2105
+ };
2106
+ video?: {
2107
+ files: {
2108
+ url: string;
2109
+ width: number;
2110
+ height: number;
2111
+ }[];
2112
+ stillFrameMediaId: string;
2113
+ };
2114
+ thumbnail?: {
2115
+ url: string;
2116
+ width: number;
2117
+ height: number;
2118
+ };
2119
+ mediaType: MediaItemType;
2120
+ title: string;
2121
+ _id: string;
2122
+ };
2123
+ items: {
2124
+ image?: {
2125
+ url: string;
2126
+ width: number;
2127
+ height: number;
2128
+ };
2129
+ video?: {
2130
+ files: {
2131
+ url: string;
2132
+ width: number;
2133
+ height: number;
2134
+ }[];
2135
+ stillFrameMediaId: string;
2136
+ };
2137
+ thumbnail?: {
2138
+ url: string;
2139
+ width: number;
2140
+ height: number;
2141
+ };
2142
+ mediaType: MediaItemType;
2143
+ title: string;
2144
+ _id: string;
2145
+ }[];
2146
+ };
2147
+ customTextFields: {
2148
+ title: string;
2149
+ maxLength: number;
2150
+ mandatory: boolean;
2151
+ }[];
2152
+ productOptions: {
2153
+ optionType: OptionType;
2154
+ name: string;
2155
+ choices: {
2156
+ value: string;
2157
+ description: string;
2158
+ media?: {
2159
+ mainMedia?: {
2160
+ image?: {
2161
+ url: string;
2162
+ width: number;
2163
+ height: number;
2164
+ };
2165
+ video?: {
2166
+ files: {
2167
+ url: string;
2168
+ width: number;
2169
+ height: number;
2170
+ }[];
2171
+ stillFrameMediaId: string;
2172
+ };
2173
+ thumbnail?: {
2174
+ url: string;
2175
+ width: number;
2176
+ height: number;
2177
+ };
2178
+ mediaType: MediaItemType;
2179
+ title: string;
2180
+ _id: string;
2181
+ };
2182
+ items: {
2183
+ image?: {
2184
+ url: string;
2185
+ width: number;
2186
+ height: number;
2187
+ };
2188
+ video?: {
2189
+ files: {
2190
+ url: string;
2191
+ width: number;
2192
+ height: number;
2193
+ }[];
2194
+ stillFrameMediaId: string;
2195
+ };
2196
+ thumbnail?: {
2197
+ url: string;
2198
+ width: number;
2199
+ height: number;
2200
+ };
2201
+ mediaType: MediaItemType;
2202
+ title: string;
2203
+ _id: string;
2204
+ }[];
2205
+ };
2206
+ inStock: boolean;
2207
+ visible: boolean;
2208
+ }[];
2209
+ }[];
2210
+ productPageUrl?: {
2211
+ base: string;
2212
+ path: string;
2213
+ };
2214
+ numericId: string;
2215
+ inventoryItemId: string;
2216
+ discount?: {
2217
+ type: DiscountType;
2218
+ value: number;
2219
+ };
2220
+ collectionIds: string[];
2221
+ variants: {
2222
+ _id: string;
2223
+ variant?: {
2224
+ priceData?: {
2225
+ currency: string;
2226
+ discountedPrice: number;
2227
+ formatted?: {
2228
+ price: string;
2229
+ discountedPrice: string;
2230
+ };
2231
+ };
2232
+ convertedPriceData?: {
2233
+ currency: string;
2234
+ discountedPrice: number;
2235
+ formatted?: {
2236
+ price: string;
2237
+ discountedPrice: string;
2238
+ };
2239
+ };
2240
+ costAndProfitData?: {
2241
+ formattedItemCost: string;
2242
+ profit: number;
2243
+ formattedProfit: string;
2244
+ profitMargin: number;
2245
+ };
2246
+ weight: number;
2247
+ sku: string;
2248
+ visible: boolean;
2249
+ };
2250
+ stock?: {
2251
+ trackQuantity: boolean;
2252
+ inStock: boolean;
2253
+ };
2254
+ }[];
2255
+ seoData?: {
2256
+ tags: {
2257
+ type: string;
2258
+ children: string;
2259
+ custom: boolean;
2260
+ disabled: boolean;
2261
+ }[];
2262
+ settings?: {
2263
+ preventAutoRedirect: boolean;
2264
+ keywords: {
2265
+ term: string;
2266
+ isMain: boolean;
2267
+ }[];
2268
+ };
2269
+ };
2270
+ }[];
2271
+ }
2272
+ export interface GetProductResponseNonNullableFields {
2273
+ product?: {
2274
+ _id: string;
2275
+ slug: string;
2276
+ productType: ProductType;
2277
+ weightRange?: {
2278
+ minValue: number;
2279
+ maxValue: number;
2280
+ };
2281
+ stock?: {
2282
+ trackInventory: boolean;
2283
+ inStock: boolean;
2284
+ inventoryStatus: InventoryStatus;
2285
+ };
2286
+ price?: {
2287
+ currency: string;
2288
+ discountedPrice: number;
2289
+ formatted?: {
2290
+ price: string;
2291
+ discountedPrice: string;
2292
+ };
2293
+ };
2294
+ priceData?: {
2295
+ currency: string;
2296
+ discountedPrice: number;
2297
+ formatted?: {
2298
+ price: string;
2299
+ discountedPrice: string;
2300
+ };
2301
+ };
2302
+ convertedPriceData?: {
2303
+ currency: string;
2304
+ discountedPrice: number;
2305
+ formatted?: {
2306
+ price: string;
2307
+ discountedPrice: string;
2308
+ };
2309
+ };
2310
+ priceRange?: {
2311
+ minValue: number;
2312
+ maxValue: number;
2313
+ };
2314
+ costAndProfitData?: {
2315
+ formattedItemCost: string;
2316
+ profit: number;
2317
+ formattedProfit: string;
2318
+ profitMargin: number;
2319
+ };
2320
+ costRange?: {
2321
+ minValue: number;
2322
+ maxValue: number;
2323
+ };
2324
+ pricePerUnitData?: {
2325
+ totalQuantity: number;
2326
+ totalMeasurementUnit: MeasurementUnit;
2327
+ baseQuantity: number;
2328
+ baseMeasurementUnit: MeasurementUnit;
2329
+ };
2330
+ additionalInfoSections: {
2331
+ title: string;
2332
+ description: string;
2333
+ }[];
2334
+ ribbons: {
2335
+ text: string;
2336
+ }[];
2337
+ media?: {
2338
+ mainMedia?: {
2339
+ image?: {
2340
+ url: string;
2341
+ width: number;
2342
+ height: number;
2343
+ };
2344
+ video?: {
2345
+ files: {
2346
+ url: string;
2347
+ width: number;
2348
+ height: number;
2349
+ }[];
2350
+ stillFrameMediaId: string;
2351
+ };
2352
+ thumbnail?: {
2353
+ url: string;
2354
+ width: number;
2355
+ height: number;
2356
+ };
2357
+ mediaType: MediaItemType;
2358
+ title: string;
2359
+ _id: string;
2360
+ };
2361
+ items: {
2362
+ image?: {
2363
+ url: string;
2364
+ width: number;
2365
+ height: number;
2366
+ };
2367
+ video?: {
2368
+ files: {
2369
+ url: string;
2370
+ width: number;
2371
+ height: number;
2372
+ }[];
2373
+ stillFrameMediaId: string;
2374
+ };
2375
+ thumbnail?: {
2376
+ url: string;
2377
+ width: number;
2378
+ height: number;
2379
+ };
2380
+ mediaType: MediaItemType;
2381
+ title: string;
2382
+ _id: string;
2383
+ }[];
2384
+ };
2385
+ customTextFields: {
2386
+ title: string;
2387
+ maxLength: number;
2388
+ mandatory: boolean;
2389
+ }[];
2390
+ productOptions: {
2391
+ optionType: OptionType;
2392
+ name: string;
2393
+ choices: {
2394
+ value: string;
2395
+ description: string;
2396
+ media?: {
2397
+ mainMedia?: {
2398
+ image?: {
2399
+ url: string;
2400
+ width: number;
2401
+ height: number;
2402
+ };
2403
+ video?: {
2404
+ files: {
2405
+ url: string;
2406
+ width: number;
2407
+ height: number;
2408
+ }[];
2409
+ stillFrameMediaId: string;
2410
+ };
2411
+ thumbnail?: {
2412
+ url: string;
2413
+ width: number;
2414
+ height: number;
2415
+ };
2416
+ mediaType: MediaItemType;
2417
+ title: string;
2418
+ _id: string;
2419
+ };
2420
+ items: {
2421
+ image?: {
2422
+ url: string;
2423
+ width: number;
2424
+ height: number;
2425
+ };
2426
+ video?: {
2427
+ files: {
2428
+ url: string;
2429
+ width: number;
2430
+ height: number;
2431
+ }[];
2432
+ stillFrameMediaId: string;
2433
+ };
2434
+ thumbnail?: {
2435
+ url: string;
2436
+ width: number;
2437
+ height: number;
2438
+ };
2439
+ mediaType: MediaItemType;
2440
+ title: string;
2441
+ _id: string;
2442
+ }[];
2443
+ };
2444
+ inStock: boolean;
2445
+ visible: boolean;
2446
+ }[];
2447
+ }[];
2448
+ productPageUrl?: {
2449
+ base: string;
2450
+ path: string;
2451
+ };
2452
+ numericId: string;
2453
+ inventoryItemId: string;
2454
+ discount?: {
2455
+ type: DiscountType;
2456
+ value: number;
2457
+ };
2458
+ collectionIds: string[];
2459
+ variants: {
2460
+ _id: string;
2461
+ variant?: {
2462
+ priceData?: {
2463
+ currency: string;
2464
+ discountedPrice: number;
2465
+ formatted?: {
2466
+ price: string;
2467
+ discountedPrice: string;
2468
+ };
2469
+ };
2470
+ convertedPriceData?: {
2471
+ currency: string;
2472
+ discountedPrice: number;
2473
+ formatted?: {
2474
+ price: string;
2475
+ discountedPrice: string;
2476
+ };
2477
+ };
2478
+ costAndProfitData?: {
2479
+ formattedItemCost: string;
2480
+ profit: number;
2481
+ formattedProfit: string;
2482
+ profitMargin: number;
2483
+ };
2484
+ weight: number;
2485
+ sku: string;
2486
+ visible: boolean;
2487
+ };
2488
+ stock?: {
2489
+ trackQuantity: boolean;
2490
+ inStock: boolean;
2491
+ };
2492
+ }[];
2493
+ seoData?: {
2494
+ tags: {
2495
+ type: string;
2496
+ children: string;
2497
+ custom: boolean;
2498
+ disabled: boolean;
2499
+ }[];
2500
+ settings?: {
2501
+ preventAutoRedirect: boolean;
2502
+ keywords: {
2503
+ term: string;
2504
+ isMain: boolean;
2505
+ }[];
2506
+ };
2507
+ };
2508
+ };
2509
+ }
2510
+ export interface GetCollectionBySlugResponseNonNullableFields {
2511
+ collection?: {
2512
+ media?: {
2513
+ mainMedia?: {
2514
+ image?: {
2515
+ url: string;
2516
+ width: number;
2517
+ height: number;
2518
+ };
2519
+ video?: {
2520
+ files: {
2521
+ url: string;
2522
+ width: number;
2523
+ height: number;
2524
+ }[];
2525
+ stillFrameMediaId: string;
2526
+ };
2527
+ thumbnail?: {
2528
+ url: string;
2529
+ width: number;
2530
+ height: number;
2531
+ };
2532
+ mediaType: MediaItemType;
2533
+ title: string;
2534
+ _id: string;
2535
+ };
2536
+ items: {
2537
+ image?: {
2538
+ url: string;
2539
+ width: number;
2540
+ height: number;
2541
+ };
2542
+ video?: {
2543
+ files: {
2544
+ url: string;
2545
+ width: number;
2546
+ height: number;
2547
+ }[];
2548
+ stillFrameMediaId: string;
2549
+ };
2550
+ thumbnail?: {
2551
+ url: string;
2552
+ width: number;
2553
+ height: number;
2554
+ };
2555
+ mediaType: MediaItemType;
2556
+ title: string;
2557
+ _id: string;
2558
+ }[];
2559
+ };
2560
+ numberOfProducts: number;
2561
+ };
2562
+ }
2563
+ export interface ProductOptionsAvailabilityResponseNonNullableFields {
2564
+ selectedVariant?: {
2565
+ price?: {
2566
+ currency: string;
2567
+ discountedPrice: number;
2568
+ formatted?: {
2569
+ price: string;
2570
+ discountedPrice: string;
2571
+ };
2572
+ };
2573
+ convertedPriceData?: {
2574
+ currency: string;
2575
+ discountedPrice: number;
2576
+ formatted?: {
2577
+ price: string;
2578
+ discountedPrice: string;
2579
+ };
2580
+ };
2581
+ sku: string;
2582
+ inStock: boolean;
2583
+ visible: boolean;
2584
+ };
2585
+ media?: {
2586
+ mainMedia?: {
2587
+ image?: {
2588
+ url: string;
2589
+ width: number;
2590
+ height: number;
2591
+ };
2592
+ video?: {
2593
+ files: {
2594
+ url: string;
2595
+ width: number;
2596
+ height: number;
2597
+ }[];
2598
+ stillFrameMediaId: string;
2599
+ };
2600
+ thumbnail?: {
2601
+ url: string;
2602
+ width: number;
2603
+ height: number;
2604
+ };
2605
+ mediaType: MediaItemType;
2606
+ title: string;
2607
+ _id: string;
2608
+ };
2609
+ items: {
2610
+ image?: {
2611
+ url: string;
2612
+ width: number;
2613
+ height: number;
2614
+ };
2615
+ video?: {
2616
+ files: {
2617
+ url: string;
2618
+ width: number;
2619
+ height: number;
2620
+ }[];
2621
+ stillFrameMediaId: string;
2622
+ };
2623
+ thumbnail?: {
2624
+ url: string;
2625
+ width: number;
2626
+ height: number;
2627
+ };
2628
+ mediaType: MediaItemType;
2629
+ title: string;
2630
+ _id: string;
2631
+ }[];
2632
+ };
2633
+ productOptions: {
2634
+ optionType: OptionType;
2635
+ name: string;
2636
+ choices: {
2637
+ value: string;
2638
+ description: string;
2639
+ media?: {
2640
+ mainMedia?: {
2641
+ image?: {
2642
+ url: string;
2643
+ width: number;
2644
+ height: number;
2645
+ };
2646
+ video?: {
2647
+ files: {
2648
+ url: string;
2649
+ width: number;
2650
+ height: number;
2651
+ }[];
2652
+ stillFrameMediaId: string;
2653
+ };
2654
+ thumbnail?: {
2655
+ url: string;
2656
+ width: number;
2657
+ height: number;
2658
+ };
2659
+ mediaType: MediaItemType;
2660
+ title: string;
2661
+ _id: string;
2662
+ };
2663
+ items: {
2664
+ image?: {
2665
+ url: string;
2666
+ width: number;
2667
+ height: number;
2668
+ };
2669
+ video?: {
2670
+ files: {
2671
+ url: string;
2672
+ width: number;
2673
+ height: number;
2674
+ }[];
2675
+ stillFrameMediaId: string;
2676
+ };
2677
+ thumbnail?: {
2678
+ url: string;
2679
+ width: number;
2680
+ height: number;
2681
+ };
2682
+ mediaType: MediaItemType;
2683
+ title: string;
2684
+ _id: string;
2685
+ }[];
2686
+ };
2687
+ inStock: boolean;
2688
+ visible: boolean;
2689
+ }[];
2690
+ }[];
2691
+ availableForPurchase: boolean;
2692
+ }
2693
+ export interface QueryProductVariantsResponseNonNullableFields {
2694
+ variants: {
2695
+ _id: string;
2696
+ variant?: {
2697
+ priceData?: {
2698
+ currency: string;
2699
+ discountedPrice: number;
2700
+ formatted?: {
2701
+ price: string;
2702
+ discountedPrice: string;
2703
+ };
2704
+ };
2705
+ convertedPriceData?: {
2706
+ currency: string;
2707
+ discountedPrice: number;
2708
+ formatted?: {
2709
+ price: string;
2710
+ discountedPrice: string;
2711
+ };
2712
+ };
2713
+ costAndProfitData?: {
2714
+ formattedItemCost: string;
2715
+ profit: number;
2716
+ formattedProfit: string;
2717
+ profitMargin: number;
2718
+ };
2719
+ weight: number;
2720
+ sku: string;
2721
+ visible: boolean;
2722
+ };
2723
+ stock?: {
2724
+ trackQuantity: boolean;
2725
+ inStock: boolean;
2726
+ };
2727
+ }[];
2728
+ metadata?: {
2729
+ items: number;
2730
+ offset: number;
2731
+ };
2732
+ totalResults: number;
2733
+ }
2734
+ export interface QueryStoreVariantsResponseNonNullableFields {
2735
+ variants: {
2736
+ _id: string;
2737
+ variantId: string;
2738
+ productId: string;
2739
+ variantName: string;
2740
+ productName: string;
2741
+ managedVariant: boolean;
2742
+ sku: string;
2743
+ stock?: {
2744
+ trackQuantity: boolean;
2745
+ inStock: boolean;
2746
+ };
2747
+ collectionIds: string[];
2748
+ media?: {
2749
+ image: string;
2750
+ video: string;
2751
+ };
2752
+ preorderInfo?: {
2753
+ enabled: boolean;
2754
+ };
2755
+ }[];
2756
+ }
2757
+ export interface GetStoreVariantResponseNonNullableFields {
2758
+ variant?: {
2759
+ _id: string;
2760
+ variantId: string;
2761
+ productId: string;
2762
+ variantName: string;
2763
+ productName: string;
2764
+ managedVariant: boolean;
2765
+ sku: string;
2766
+ stock?: {
2767
+ trackQuantity: boolean;
2768
+ inStock: boolean;
2769
+ };
2770
+ collectionIds: string[];
2771
+ media?: {
2772
+ image: string;
2773
+ video: string;
2774
+ };
2775
+ preorderInfo?: {
2776
+ enabled: boolean;
2777
+ };
2778
+ };
2779
+ }
1382
2780
  /**
1383
2781
  * Creates a new product.
1384
2782
  * @param product - Product information.
@@ -1392,7 +2790,7 @@ export interface AggregateProductsResponse {
1392
2790
  * @permissionScope Manage Products
1393
2791
  * @applicableIdentity APP
1394
2792
  */
1395
- export declare function createProduct(product: Product): Promise<CreateProductResponse>;
2793
+ export declare function createProduct(product: Product): Promise<CreateProductResponse & CreateProductResponseNonNullableFields>;
1396
2794
  /**
1397
2795
  * Updates specified fields in a product.
1398
2796
  * @param _id - Product ID (generated automatically by the catalog).
@@ -1404,7 +2802,7 @@ export declare function createProduct(product: Product): Promise<CreateProductRe
1404
2802
  * @permissionScope Manage Products
1405
2803
  * @applicableIdentity APP
1406
2804
  */
1407
- export declare function updateProduct(_id: string, product: UpdateProduct): Promise<UpdateProductResponse>;
2805
+ export declare function updateProduct(_id: string, product: UpdateProduct): Promise<UpdateProductResponse & UpdateProductResponseNonNullableFields>;
1408
2806
  export interface UpdateProduct {
1409
2807
  /**
1410
2808
  * Product ID (generated automatically by the catalog).
@@ -1552,7 +2950,7 @@ export declare function deleteProduct(_id: string): Promise<void>;
1552
2950
  * @permissionScope Manage Products
1553
2951
  * @applicableIdentity APP
1554
2952
  */
1555
- export declare function updateProductVariants(_id: string, variants: VariantOverride[]): Promise<UpdateVariantsResponse>;
2953
+ export declare function updateProductVariants(_id: string, variants: VariantOverride[]): Promise<UpdateVariantsResponse & UpdateVariantsResponseNonNullableFields>;
1556
2954
  /**
1557
2955
  * Resets the data (such as the price and the weight) of all variants for a given product to their default values.
1558
2956
  * @param _id - Product ID.
@@ -1668,7 +3066,7 @@ export declare function removeBrand(_id: string): Promise<void>;
1668
3066
  * @permissionScope Manage Products
1669
3067
  * @applicableIdentity APP
1670
3068
  */
1671
- export declare function createCollection(collection: Collection): Promise<CreateCollectionResponse>;
3069
+ export declare function createCollection(collection: Collection): Promise<CreateCollectionResponse & CreateCollectionResponseNonNullableFields>;
1672
3070
  /**
1673
3071
  * Updates specified properties of a collection. To add products to a collection, call the [addProductsToCollection](#addproductstocollection) function.
1674
3072
  * @param _id - Collection ID (generated automatically by the catalog).
@@ -1680,7 +3078,7 @@ export declare function createCollection(collection: Collection): Promise<Create
1680
3078
  * @permissionScope Manage Products
1681
3079
  * @applicableIdentity APP
1682
3080
  */
1683
- export declare function updateCollection(_id: string | null, collection: UpdateCollection): Promise<UpdateCollectionResponse>;
3081
+ export declare function updateCollection(_id: string | null, collection: UpdateCollection): Promise<UpdateCollectionResponse & UpdateCollectionResponseNonNullableFields>;
1684
3082
  export interface UpdateCollection {
1685
3083
  /**
1686
3084
  * Collection ID (generated automatically by the catalog).
@@ -1737,7 +3135,7 @@ export declare function removeRibbon(_id: string): Promise<void>;
1737
3135
  * @permissionScope Manage Products
1738
3136
  * @applicableIdentity APP
1739
3137
  */
1740
- export declare function bulkUpdateProductsProperty(ids: string[], set: SetValue): Promise<BulkUpdateProductsResponse>;
3138
+ export declare function bulkUpdateProductsProperty(ids: string[], set: SetValue): Promise<BulkUpdateProductsResponse & BulkUpdateProductsResponseNonNullableFields>;
1741
3139
  /**
1742
3140
  * Adjusts a specified numerical property for up to 100 products at a time.
1743
3141
  * The property can be increased or decreased either by percentage or amount.
@@ -1750,7 +3148,7 @@ export declare function bulkUpdateProductsProperty(ids: string[], set: SetValue)
1750
3148
  * @permissionScope Manage Products
1751
3149
  * @applicableIdentity APP
1752
3150
  */
1753
- export declare function bulkAdjustProductProperty(adjust: AdjustValue, ids: string[]): Promise<BulkAdjustProductPropertiesResponse>;
3151
+ export declare function bulkAdjustProductProperty(adjust: AdjustValue, ids: string[]): Promise<BulkAdjustProductPropertiesResponse & BulkAdjustProductPropertiesResponseNonNullableFields>;
1754
3152
  /**
1755
3153
  * Returns a list of up to 100 products, given the provided paging, sorting and filtering.
1756
3154
  * @public
@@ -1860,7 +3258,7 @@ export interface ProductsQueryBuilder {
1860
3258
  * @applicableIdentity MEMBER
1861
3259
  * @applicableIdentity VISITOR
1862
3260
  */
1863
- export declare function getProduct(_id: string, options?: GetProductOptions): Promise<GetProductResponse>;
3261
+ export declare function getProduct(_id: string, options?: GetProductOptions): Promise<GetProductResponse & GetProductResponseNonNullableFields>;
1864
3262
  export interface GetProductOptions {
1865
3263
  /** Whether merchant specific data, such as cost and profit data, should be included in the response. Requires permissions to manage products. */
1866
3264
  includeMerchantSpecificData?: boolean;
@@ -1877,7 +3275,7 @@ export interface GetProductOptions {
1877
3275
  * @applicableIdentity MEMBER
1878
3276
  * @applicableIdentity VISITOR
1879
3277
  */
1880
- export declare function getCollectionBySlug(slug: string): Promise<GetCollectionBySlugResponse>;
3278
+ export declare function getCollectionBySlug(slug: string): Promise<GetCollectionBySlugResponse & GetCollectionBySlugResponseNonNullableFields>;
1881
3279
  /**
1882
3280
  * Gets the availability of relevant product variants based on the product ID and selections provided. See [Use Cases](https://dev.wix.com/api/rest/wix-stores/catalog/use-cases) for an example.
1883
3281
  * @param _id - Requested product ID.
@@ -1892,7 +3290,7 @@ export declare function getCollectionBySlug(slug: string): Promise<GetCollection
1892
3290
  * @applicableIdentity MEMBER
1893
3291
  * @applicableIdentity VISITOR
1894
3292
  */
1895
- export declare function getProductOptionsAvailability(_id: string, options: Record<string, string>): Promise<ProductOptionsAvailabilityResponse>;
3293
+ export declare function getProductOptionsAvailability(_id: string, options: Record<string, string>): Promise<ProductOptionsAvailabilityResponse & ProductOptionsAvailabilityResponseNonNullableFields>;
1896
3294
  /**
1897
3295
  * Retrieves product variants, based on either choices (option-choice key-value pairs) or variant IDs.
1898
3296
  * See [Stores Pagination](https://dev.wix.com/api/rest/wix-stores/pagination) for more information.
@@ -1907,7 +3305,7 @@ export declare function getProductOptionsAvailability(_id: string, options: Reco
1907
3305
  * @applicableIdentity MEMBER
1908
3306
  * @applicableIdentity VISITOR
1909
3307
  */
1910
- export declare function queryProductVariants(_id: string, options?: QueryProductVariantsOptions): Promise<QueryProductVariantsResponse>;
3308
+ export declare function queryProductVariants(_id: string, options?: QueryProductVariantsOptions): Promise<QueryProductVariantsResponse & QueryProductVariantsResponseNonNullableFields>;
1911
3309
  export interface QueryProductVariantsOptions {
1912
3310
  /**
1913
3311
  * The specific choices available or chosen from within a selection (e.g., choosing the red Selection triggers the red Choice).
@@ -1933,7 +3331,7 @@ export interface QueryProductVariantsOptions {
1933
3331
  * @applicableIdentity MEMBER
1934
3332
  * @applicableIdentity VISITOR
1935
3333
  */
1936
- export declare function queryStoreVariants(query: PlatformQuery): Promise<QueryStoreVariantsResponse>;
3334
+ export declare function queryStoreVariants(query: PlatformQuery): Promise<QueryStoreVariantsResponse & QueryStoreVariantsResponseNonNullableFields>;
1937
3335
  /**
1938
3336
  * Retrieves a store variant with the provided ID.
1939
3337
  * @param _id - Store variant ID. Comprised of the `productId` and the `variantId`, separated by a hyphen. For example, `{productId}-{variantId}`.
@@ -1947,5 +3345,5 @@ export declare function queryStoreVariants(query: PlatformQuery): Promise<QueryS
1947
3345
  * @applicableIdentity MEMBER
1948
3346
  * @applicableIdentity VISITOR
1949
3347
  */
1950
- export declare function getStoreVariant(_id: string): Promise<GetStoreVariantResponse>;
3348
+ export declare function getStoreVariant(_id: string): Promise<GetStoreVariantResponse & GetStoreVariantResponseNonNullableFields>;
1951
3349
  export {};