import{c as e,n as t,r as n,s as r}from"./client-BR2IEG0B.js";function i(r,i){return n(`/projects/${r}/epics${t({status:i?.status,priority:i?.priority,tag:i?.tag,limit:i?.limit,offset:i?.offset})}`).then(e)}function a(e,t){return n(`/projects/${e}/epics/${t}`)}function o(e,t){return n(`/projects/${e}/epics`,{method:`POST`,body:JSON.stringify(t)})}function s(e,t,r){return n(`/projects/${e}/epics/${t}`,{method:`PUT`,body:JSON.stringify(r)})}function c(e,t){return n(`/projects/${e}/epics/${t}`,{method:`DELETE`})}function l(e,t,r){return n(`/projects/${e}/epics/${t}/link`,{method:`POST`,body:JSON.stringify({taskId:r})})}function u(e,t,r){return n(`/projects/${e}/epics/${t}/link`,{method:`DELETE`,body:JSON.stringify({taskId:r})})}function d(e,t){return n(`/projects/${e}/epics/${t}/tasks`).then(r)}export{d as a,s as c,l as i,c as n,i as o,a as r,u as s,o as t};