import{K as e}from"./index-CYy8zBsj.js";const u=e.injectEndpoints({endpoints:o=>({saveProductGroupDetails:o.mutation({query:({AddProductGroup:t})=>({url:"product-category",method:"POST",body:t})}),updateProductGroupDetails:o.mutation({query:t=>({url:"product-category",method:"PUT",body:t})}),getProductGroupDetails:o.query({query:()=>"product-category"}),duplicateCategoryCheck:o.mutation({query:({data:t})=>({url:"product-category/check-duplicate",method:"POST",body:t})})})}),{useSaveProductGroupDetailsMutation:a,useUpdateProductGroupDetailsMutation:c,useGetProductGroupDetailsQuery:p,useDuplicateCategoryCheckMutation:i}=u;export{i as a,a as b,c,p as u};
