@lancom/shared 0.0.275 → 0.0.276
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 +6 -0
- package/package.json +1 -1
package/assets/js/api/admin.js
CHANGED
|
@@ -522,6 +522,12 @@ export default {
|
|
|
522
522
|
fetchWarehouseCanonicalProductsLocations(warehouse) {
|
|
523
523
|
return _get(`admin/warehouses/${warehouse}/locations`);
|
|
524
524
|
},
|
|
525
|
+
clearhWarehouseCanonicalProductsLocations(ids) {
|
|
526
|
+
return _post('admin/warehouse-locations/clear', ids);
|
|
527
|
+
},
|
|
528
|
+
updatehWarehouseCanonicalProductsLocations(warehouse, locations) {
|
|
529
|
+
return _post(`admin/warehouses/${warehouse}/locations/update`, locations);
|
|
530
|
+
},
|
|
525
531
|
removeCanonicalProductLocation(location) {
|
|
526
532
|
return _delete(`admin/locations/${location}`);
|
|
527
533
|
},
|