import{L as e}from"./index-ktJf6c6X.js";const o=e.injectEndpoints({endpoints:r=>({createCustomerGroup:r.mutation({query:u=>({url:"pricing/customer-group",method:"POST",body:u})}),updateCustomerGroup:r.mutation({query:u=>({url:"pricing/customer-group",method:"PUT",body:u})}),getCustomerGroupById:r.query({query:u=>`pricing/customer-group/${u}`}),getAllCustomerGroups:r.query({query:()=>"pricing/customer-group"}),deleteCustomerGroup:r.mutation({query:u=>({url:`pricing/customer-group/${u}`,method:"DELETE"})})})}),{useCreateCustomerGroupMutation:s,useUpdateCustomerGroupMutation:p,useGetCustomerGroupByIdQuery:m,useLazyGetCustomerGroupByIdQuery:n,useGetAllCustomerGroupsQuery:i,useDeleteCustomerGroupMutation:a}=o;export{p as a,i as b,a as c,s as u};
