import{b8 as n}from"./index-BiWH3VAt.js";const o="qc-configuration",u=n.injectEndpoints({endpoints:e=>({saveQcConfigurationDetails:e.mutation({query:({setup:t})=>({url:o,method:"POST",body:t})}),updateQcConfigurationDetails:e.mutation({query:({edit:t})=>({url:o,method:"PUT",body:t})}),getQcConfigurationById:e.query({query:({id:t})=>({url:`${o}/${t}`,method:"GET"})}),deleteQcConfigurationDetails:e.mutation({query:({id:t})=>({url:`${o}/${t}`,method:"DELETE"})}),checkDuplicateQcConfiguration:e.mutation({query:({check:t})=>({url:`${o}/duplicate`,method:"POST",body:t})}),getQcConfigurationDetailsBypage:e.mutation({query:({page:t,size:i,searchByName:a})=>({url:`${o}/search-by-criteria?page=${t}&size=${i}`,method:"POST",body:a})}),getQcConfigurationDetails:e.query({query:()=>({url:o,method:"GET"})})})}),{useSaveQcConfigurationDetailsMutation:s,useUpdateQcConfigurationDetailsMutation:c,useLazyGetQcConfigurationByIdQuery:y,useGetQcConfigurationByIdQuery:g,useDeleteQcConfigurationDetailsMutation:Q,useCheckDuplicateQcConfigurationMutation:f,useGetQcConfigurationDetailsBypageMutation:C,useGetQcConfigurationDetailsQuery:d,useLazyGetQcConfigurationDetailsQuery:l}=u;export{y as a,s as b,c,f as d,Q as e,C as u};
