@tagsamurai/fats-api-services 1.0.0-alpha.249 → 1.0.0-alpha.250
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
|
@@ -2009,6 +2009,12 @@ const RoutineServices = {
|
|
|
2009
2009
|
},
|
|
2010
2010
|
putUpdateRoutineTask: (id, data) => {
|
|
2011
2011
|
return API$5.put(`/routine-task/${id}/handle-overdue`, data);
|
|
2012
|
+
},
|
|
2013
|
+
getApproval: (params) => {
|
|
2014
|
+
return API$5.get("/approval", { params });
|
|
2015
|
+
},
|
|
2016
|
+
getApprovalOptions: (params) => {
|
|
2017
|
+
return API$5.get("/approval/options", { params });
|
|
2012
2018
|
}
|
|
2013
2019
|
};
|
|
2014
2020
|
const API$4 = createAxiosInstance({
|
package/api-services.system.js
CHANGED
|
@@ -2016,6 +2016,12 @@ System.register(["axios"], function(exports, module) {
|
|
|
2016
2016
|
},
|
|
2017
2017
|
putUpdateRoutineTask: (id, data) => {
|
|
2018
2018
|
return API$5.put(`/routine-task/${id}/handle-overdue`, data);
|
|
2019
|
+
},
|
|
2020
|
+
getApproval: (params) => {
|
|
2021
|
+
return API$5.get("/approval", { params });
|
|
2022
|
+
},
|
|
2023
|
+
getApprovalOptions: (params) => {
|
|
2024
|
+
return API$5.get("/approval/options", { params });
|
|
2019
2025
|
}
|
|
2020
2026
|
});
|
|
2021
2027
|
const API$4 = createAxiosInstance({
|
package/package.json
CHANGED
|
@@ -41,5 +41,9 @@ declare const RoutineServices: {
|
|
|
41
41
|
putApprovalApprove: (id: string, data: PutRoutineApprovalDTO) => Promise<AxiosResponse>;
|
|
42
42
|
putReviewRoutine: (id: string, data: PutRoutineApprovalDTO) => Promise<AxiosResponse>;
|
|
43
43
|
putUpdateRoutineTask: (id: string, data: PutUpdateRoutineTaskDTO) => Promise<AxiosResponse>;
|
|
44
|
+
getApproval: (params: QueryParams) => Promise<AxiosResponse>;
|
|
45
|
+
getApprovalOptions: (params: LoadingFilters & {
|
|
46
|
+
status: string;
|
|
47
|
+
}) => Promise<AxiosResponse>;
|
|
44
48
|
};
|
|
45
49
|
export default RoutineServices;
|