From 993949de9aaeb42ddc21050a33dc602ed1f641b0 Mon Sep 17 00:00:00 2001 From: sriharsh05 Date: Fri, 19 Jan 2024 15:37:12 +0530 Subject: [PATCH] delete all unused fire requests --- src/Redux/actions.tsx | 37 ------------------------------------- 1 file changed, 37 deletions(-) diff --git a/src/Redux/actions.tsx b/src/Redux/actions.tsx index 173e52addd7..d3d448eb148 100644 --- a/src/Redux/actions.tsx +++ b/src/Redux/actions.tsx @@ -265,43 +265,6 @@ export const getConsultation = (id: string) => { export const updateConsultation = (id: string, params: object) => { return fireRequest("updateConsultation", [], params, { id: id }); }; -//Inventory -export const getItems = (params: object) => { - return fireRequest("getItems", [], params); -}; -export const postInventory = (params: object, pathParams: object) => { - return fireRequest("createInventory", [], params, pathParams); -}; -export const getInventoryLog = (params: object, pathParams: object) => { - return fireRequest("getInventoryLog", [params, "inventory"], pathParams); -}; - -export const setMinQuantity = (params: object, pathParams: object) => { - return fireRequest("setMinQuantity", [], params, pathParams); -}; -export const getMinQuantity = (facilityId: object, params: object) => { - return fireRequest("getMinQuantity", [facilityId, "min_quantity"], params); -}; - -export const getMinQuantityOfItem = ( - facilityId: object, - externalId: object -) => { - return fireRequest("getMinQuantity", [ - facilityId, - "min_quantity", - externalId, - ]); -}; - -export const updateMinQuantity = (pathParams: object, params: object) => { - return fireRequest("updateMinQuantity", [], pathParams, params); -}; -export const getInventorySummary = (facilityId: number, params: object) => { - return fireRequest("getInventorySummary", [], params, { - facility_external_id: facilityId, - }); -}; export const generateDischargeSummary = (pathParams: object) => { return fireRequest("dischargeSummaryGenerate", [], {}, pathParams);