import{b3 as o}from"./index-ktJf6c6X.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};
