import{b0 as y}from"./index-DlNZgIG9.js";const r=y.injectEndpoints({endpoints:e=>({getUtilityChargeDetailsBypage:e.mutation({query:({page:t,size:i,searchByName:a})=>({url:`utility-charge/search-by-criteria?page=${t}&size=${i}`,method:"POST",body:a,headers:{entityName:"Utility Charges"}})}),getUtilityChargeById:e.query({query:({id:t})=>({url:`utility-charge/${t}`,method:"GET"})}),saveUtilityChargeDetails:e.mutation({query:({utilityCharge:t})=>({url:"utility-charge/create",method:"POST",body:t,headers:{entityName:"Utility Charges"}})}),updateUtilityChargeDetails:e.mutation({query:({edit:t})=>({url:"utility-charge/update",method:"PUT",body:t,headers:{entityName:"Utility Charges"}})}),deleteUtilityChargeDetails:e.mutation({query:({id:t})=>({url:`utility-charge/${t}`,method:"DELETE",headers:{entityName:"Utility Charges"}})}),checkDuplicateUtilityCharge:e.mutation({query:({check:t})=>({url:"utility-charge/duplicate",method:"POST",body:t,headers:{entityName:"Utility Charges"}})})})}),{useGetUtilityChargeDetailsBypageMutation:h,useGetUtilityChargeByIdQuery:l,useLazyGetUtilityChargeByIdQuery:s,useSaveUtilityChargeDetailsMutation:g,useUpdateUtilityChargeDetailsMutation:o,useDeleteUtilityChargeDetailsMutation:n,useCheckDuplicateUtilityChargeMutation:d}=r;export{g as a,o as b,d as c,s as d,n as e,h as u};
