import{H as r,dV as i}from"./app-k0jcl5PQ.js";const k={link(e){return{url:`{gateway}/v1/objects/${e}`,key:`links:${e}`}},videoLinks(e){return{url:`{gateway}/v1/objects/${e}/links?query=customer`,key:`videos:${e}:links`}},addLink(e,t,n,s,a){return{url:`{gateway}/v1/objects/${e}/links`,key:`create:link:${t.fileId||i.getRandomInt()}`,data:t,type:r.POST,invalidationKeys:[`videos:${e}:links`,`videos:${e}`],success:n,error:s,always:a}},updateLink(e,t,n,s,a){return{url:`{gateway}/v1/objects/${e}`,key:`update:link:${e}`,data:t,type:r.PUT,success:n,error:s,always:a}},deleteLink(e,t,n,s,a){return{url:`{gateway}/v1/objects/${e}`,key:`delete:link:${e}`,type:r.DELETE,invalidationKeys:[`videos:${t}:links`,`videos:${t}`],success:n,error:s,always:a}}};export{k as L};
//# sourceMappingURL=BIcoJTsm.chunk.js.map
