diff --git a/src/services/UtilService.ts b/src/services/UtilService.ts index 605bc52..1a04af3 100644 --- a/src/services/UtilService.ts +++ b/src/services/UtilService.ts @@ -8,6 +8,14 @@ const fetchEnums = async (payload: any): Promise => { }); } +const fetchOmsEnums = async (payload: any): Promise => { + return api({ + url: "omsenums", + method: "GET", + params: payload + }); +} + const fetchFacilities = async (payload: any): Promise => { return api({ url: "facilities", @@ -52,6 +60,7 @@ export const UtilService = { fetchEnums, fetchFacilities, fetchFacilityGroups, + fetchOmsEnums, fetchShippingMethods, fetchStatusInformation } \ No newline at end of file