@lancom/shared 0.0.272 → 0.0.274

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.
@@ -167,6 +167,9 @@ export default {
167
167
  sendOrderRefundRequest(order, refund, shop) {
168
168
  return _post(`shop/${shop}/order/${order}/refund/${refund}/send`);
169
169
  },
170
+ generateRefundInvoice(order, refund, shop) {
171
+ return _post(`shop/${shop}/order/${order}/refund/${refund}/invoice`);
172
+ },
170
173
  chargeOrderRefund(order, refund, shop) {
171
174
  return _post(`shop/${shop}/order/${order}/refund/${refund}/charge`);
172
175
  },
@@ -102,7 +102,7 @@ async function googleShoppingFeed(axios, config, availableStores) {
102
102
  info['g:shipping_width'] = { _text: `${parseInt(product.volume.width)} cm` };
103
103
  }
104
104
  if (product.volume.height) {
105
- info['g:shipping_height'] = { _text: `${parseInt(product.volume.height * (sp.multipackQty || 1))} cm` };
105
+ info['g:shipping_height'] = { _text: `${parseInt(+product.volume.height * (+sp.multipackQty || 1)) || 1} cm` };
106
106
  }
107
107
  }
108
108
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lancom/shared",
3
- "version": "0.0.272",
3
+ "version": "0.0.274",
4
4
  "description": "lancom common scripts",
5
5
  "author": "e.tokovenko <e.tokovenko@gmail.com>",
6
6
  "repository": {