import{K as a}from"./index-CYy8zBsj.js";const o=a.injectEndpoints({endpoints:i=>({saveServiceMaster:i.mutation({query:({AddServiceMaster:e})=>({url:"service-configuration",method:"POST",body:e})}),updateServiceMaster:i.mutation({query:({AddServiceMaster:e})=>({url:"service-configuration",method:"PUT",body:e})}),checkDuplicateService:i.mutation({query:({data:e})=>({url:"service-configuration/check-duplicate",method:"POST",body:e})}),searchServiceByCriteria:i.mutation({query:e=>({url:"service-configuration/search-by-criteria?page=0&size=25",method:"POST",body:e})}),getServiceConfiguration:i.mutation({query:({page:e,size:t,searchByName:r})=>({url:`service-configuration/search-by-criteria?page=${e}&size=${t}`,method:"POST",body:r})})})}),{useSaveServiceMasterMutation:n,useUpdateServiceMasterMutation:u,useCheckDuplicateServiceMutation:s,useSearchServiceByCriteriaMutation:v,useGetServiceConfigurationMutation:S}=o;export{s as a,n as b,u as c,S as d,v as u};
