import{aK as o}from"./index-BiWH3VAt.js";const p=o.injectEndpoints({endpoints:s=>({getProcessTemplates:s.query({query:({page:e=0,size:a=100,templateName:t=""})=>{const r=new URLSearchParams({page:String(e),size:String(a)});return t&&r.set("templateName",t),{url:`process-template?${r.toString()}`,method:"GET",headers:{entityName:"Process Template"}}}}),getProcessTemplateById:s.query({query:({id:e})=>({url:`process-template/${e}`,method:"GET",headers:{entityName:"Process Template"}})})})}),{useLazyGetProcessTemplatesQuery:n,useGetProcessTemplatesQuery:c,useLazyGetProcessTemplateByIdQuery:i}=p;export{n as u};
