@lancom/shared 0.0.441 → 0.0.442

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.
@@ -323,6 +323,12 @@ export default {
323
323
  removeProduct(id) {
324
324
  return _delete(`admin/products/${id}`);
325
325
  },
326
+ importProductJson(productData) {
327
+ return _post('admin/products/import-json', productData);
328
+ },
329
+ importProductImagesJson(productId, images) {
330
+ return _post(`admin/products/${productId}/import-images-json`, { images });
331
+ },
326
332
  fetchProductsKits(params) {
327
333
  return _get('admin/products-kit', params);
328
334
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lancom/shared",
3
- "version": "0.0.441",
3
+ "version": "0.0.442",
4
4
  "description": "lancom common scripts",
5
5
  "author": "e.tokovenko <e.tokovenko@gmail.com>",
6
6
  "repository": {