import{aK as o}from"./index-BiWH3VAt.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})}),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:l,useGetProcessDefinitionAllQuery:i,useCreateTemplateProcessMutation:u,useUpdatetemplateProcessDetailsMutation:m,useGetTemplaeteProcessListMutation:c,useGetProcessTemplateQuery:n}=a;export{u as a,m as b,n as c,i as d,l as u};
