import{q as a}from"./index-B1H8BCL7.js";const o=a.injectEndpoints({endpoints:e=>({getCategory:e.query({query:()=>"test-category"}),categoryByPage:e.mutation({query:t=>({url:"test-category/search",method:"POST",body:t})}),addCategory:e.mutation({query:t=>({url:"test-category/add",method:"POST",body:t})}),updateCategory:e.mutation({query:t=>({url:"test-category/update",method:"POST",body:t})}),deleteTestCategoryConfiguration:e.mutation({query:t=>({url:`test-category/delete/${t}`,method:"DELETE"})}),testCategoryDuplicate:e.mutation({query:t=>({url:"test-category/check-duplicate",method:"POST",body:t})})})}),{useGetCategoryQuery:u,useAddCategoryMutation:y,useUpdateCategoryMutation:s,useDeleteTestCategoryConfigurationMutation:g,useTestCategoryDuplicateMutation:n,useCategoryByPageMutation:d}=o;export{n as a,s as b,u as c,g as d,d as e,y as u};
