@one-commerce/sdk-core 1.23.0 → 1.23.1-UNITYONE-12864.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/bundles/bundle.esm.js +25 -0
- package/lib/bundles/bundle.esm.js.map +1 -1
- package/lib/bundles/bundle.esm.min.js +1 -1
- package/lib/bundles/bundle.esm.min.js.map +1 -1
- package/lib/bundles/bundle.umd.js +25 -0
- package/lib/bundles/bundle.umd.js.map +1 -1
- package/lib/bundles/bundle.umd.min.js +1 -1
- package/lib/bundles/bundle.umd.min.js.map +1 -1
- package/lib/cjs/shop/services.js +25 -0
- package/lib/cjs/shop/services.js.map +1 -1
- package/lib/esm/shop/services.js +20 -0
- package/lib/esm/shop/services.js.map +1 -1
- package/lib/types/shop/services.d.ts +5 -0
- package/lib/types/shop/services.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -688,6 +688,31 @@ var ShopCatalog = /*#__PURE__*/function (_BaseCallClass) {
|
|
|
688
688
|
value: function fetchProduct(productId) {
|
|
689
689
|
return this.call('fetchProduct', productId);
|
|
690
690
|
}
|
|
691
|
+
}, {
|
|
692
|
+
key: "fetchProducts",
|
|
693
|
+
value: function fetchProducts(page) {
|
|
694
|
+
return this.call('fetchProducts', page);
|
|
695
|
+
}
|
|
696
|
+
}, {
|
|
697
|
+
key: "fetchStocksForProductsAndWarehouses",
|
|
698
|
+
value: function fetchStocksForProductsAndWarehouses(products, warehouses) {
|
|
699
|
+
return this.call('fetchStocksForProductsAndWarehouses', products, warehouses);
|
|
700
|
+
}
|
|
701
|
+
}, {
|
|
702
|
+
key: "getProductPrice",
|
|
703
|
+
value: function getProductPrice(productId, isGross) {
|
|
704
|
+
return this.call('getProductPrice', productId, isGross);
|
|
705
|
+
}
|
|
706
|
+
}, {
|
|
707
|
+
key: "fetchPricesForProducts",
|
|
708
|
+
value: function fetchPricesForProducts(productIds) {
|
|
709
|
+
return this.call('fetchPricesForProducts', productIds);
|
|
710
|
+
}
|
|
711
|
+
}, {
|
|
712
|
+
key: "fetchWarehouses",
|
|
713
|
+
value: function fetchWarehouses() {
|
|
714
|
+
return this.call('fetchWarehouses');
|
|
715
|
+
}
|
|
691
716
|
}, {
|
|
692
717
|
key: "getCategoryById",
|
|
693
718
|
value: function getCategoryById(categoryId) {
|