@tagsamurai/fats-api-services 1.0.3-alpha.86 → 1.0.3-alpha.88
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/api-services.es.js
CHANGED
|
@@ -1502,18 +1502,18 @@ const AccountingServices = {
|
|
|
1502
1502
|
},
|
|
1503
1503
|
// Account Code API Services
|
|
1504
1504
|
getAccountCodeList: (params) => {
|
|
1505
|
-
return AccountCodeAPI.get("
|
|
1505
|
+
return AccountCodeAPI.get("", { params });
|
|
1506
1506
|
},
|
|
1507
1507
|
deleteAccountCode: (id) => {
|
|
1508
|
-
return AccountCodeAPI.delete("
|
|
1508
|
+
return AccountCodeAPI.delete("", {
|
|
1509
1509
|
data: { id }
|
|
1510
1510
|
});
|
|
1511
1511
|
},
|
|
1512
1512
|
createNewAccountCode: (body) => {
|
|
1513
|
-
return AccountCodeAPI.post("
|
|
1513
|
+
return AccountCodeAPI.post("", body);
|
|
1514
1514
|
},
|
|
1515
1515
|
editAccountCode: (body, id) => {
|
|
1516
|
-
return AccountCodeAPI.put(
|
|
1516
|
+
return AccountCodeAPI.put(`/${id}`, body);
|
|
1517
1517
|
}
|
|
1518
1518
|
};
|
|
1519
1519
|
const API$p = createAxiosInstance({
|
package/api-services.system.js
CHANGED
|
@@ -1510,18 +1510,18 @@ System.register(["axios"], function(exports, module) {
|
|
|
1510
1510
|
},
|
|
1511
1511
|
// Account Code API Services
|
|
1512
1512
|
getAccountCodeList: (params) => {
|
|
1513
|
-
return AccountCodeAPI.get("
|
|
1513
|
+
return AccountCodeAPI.get("", { params });
|
|
1514
1514
|
},
|
|
1515
1515
|
deleteAccountCode: (id) => {
|
|
1516
|
-
return AccountCodeAPI.delete("
|
|
1516
|
+
return AccountCodeAPI.delete("", {
|
|
1517
1517
|
data: { id }
|
|
1518
1518
|
});
|
|
1519
1519
|
},
|
|
1520
1520
|
createNewAccountCode: (body) => {
|
|
1521
|
-
return AccountCodeAPI.post("
|
|
1521
|
+
return AccountCodeAPI.post("", body);
|
|
1522
1522
|
},
|
|
1523
1523
|
editAccountCode: (body, id) => {
|
|
1524
|
-
return AccountCodeAPI.put(
|
|
1524
|
+
return AccountCodeAPI.put(`/${id}`, body);
|
|
1525
1525
|
}
|
|
1526
1526
|
});
|
|
1527
1527
|
const API$p = createAxiosInstance({
|
package/package.json
CHANGED