import{b1 as o}from"./index-DlNZgIG9.js";const a=o.injectEndpoints({endpoints:e=>({getProcessDefinitionAll:e.query({query:()=>({url:"process-definition",method:"GET"})}),getProcessTemplate:e.query({query:()=>({url:"process-template",method:"GET"})}),createTemplateProcess:e.mutation({query:({templateProcess:t})=>({url:"process-template/all",method:"POST",body:t})}),deleteProcessTemplate:e.mutation({query:({id:t})=>({url:`process-template/${t}`,method:"DELETE"})}),getTemplaeteProcessList:e.mutation({query:({page:t,size:r,searchByName:s})=>({url:"process-template",method:"POST",body:s})}),updatetemplateProcessDetails:e.mutation({query:({edit:t})=>({url:"process-template/all",method:"PUT",body:t})})})}),{useLazyGetProcessDefinitionAllQuery:p,useGetProcessDefinitionAllQuery:m,useCreateTemplateProcessMutation:u,useUpdatetemplateProcessDetailsMutation:i,useGetTemplaeteProcessListMutation:c,useGetProcessTemplateQuery:n,useDeleteProcessTemplateMutation:P}=a;export{m as a,p as b,u as c,i as d,P as e,n as u};
