Skip to content

Commit

Permalink
delete all unused fire requests
Browse files Browse the repository at this point in the history
  • Loading branch information
sriharsh05 committed Jan 19, 2024
1 parent b757174 commit 993949d
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions src/Redux/actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 993949d

Please sign in to comment.