@lancom/shared 0.0.466 → 0.0.467
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/assets/js/api/admin.js +3 -0
- package/package.json +1 -1
package/assets/js/api/admin.js
CHANGED
|
@@ -155,6 +155,9 @@ export default {
|
|
|
155
155
|
markShipmentAsDispatched(order, shipment) {
|
|
156
156
|
return _post(`admin/shop/${order.shop?._id || order.shop}/order/${order._id}/shipment/${shipment._id || shipment.guid}/dispatched`, shipment);
|
|
157
157
|
},
|
|
158
|
+
markLabelsPrinted(order) {
|
|
159
|
+
return _post(`admin/order/${order._id}/mark-labels-printed`);
|
|
160
|
+
},
|
|
158
161
|
markShipmentAsHasException(order, shipment) {
|
|
159
162
|
return _post(`admin/shop/${order.shop?._id || order.shop}/order/${order._id}/shipment/${shipment._id || shipment.guid}/has-exception`, shipment);
|
|
160
163
|
},
|