import{q as a}from"./index-B1H8BCL7.js";const u=a.injectEndpoints({endpoints:t=>({getmeasurement:t.query({query:()=>"measurement"}),measurementByPage:t.mutation({query:e=>({url:"measurement/search",method:"POST",body:e})}),measurement:t.mutation({query:e=>({url:"measurement/add/all",method:"POST",body:e})}),UpdateMeasurement:t.mutation({query:e=>({url:"measurement/update/all",method:"PUT",body:e})}),deleteMeasurementDetails:t.mutation({query:e=>({url:`measurement/delete/${e}`,method:"DELETE"})}),measurementDuplicate:t.mutation({query:e=>({url:"measurement/check-duplicate",method:"POST",body:e})})})}),{useGetmeasurementQuery:s,useMeasurementMutation:n,useDeleteMeasurementDetailsMutation:r,useUpdateMeasurementMutation:o,useMeasurementDuplicateMutation:i,useMeasurementByPageMutation:d}=u;export{n as a,i as b,o as c,d,s as u};
