import{bc as s,a7 as t}from"./app-BgLa5dit.js";const l={livestream(e){return{url:t.urlBuilder(`/api/discover/v1/livestreams/${e}`,{query:"audiences,classifications"}),key:`streamable:livestream:${e}}`}},livestreams(e){const r=Object.keys(e).map(a=>`${a}:${e[a]}`).join(":");return{url:t.urlBuilder("/api/discover/v1/livestreams",e),key:`streamable:livestreams:${r}`}},addLivestream(e){return{url:"/api/discover/v1/livestreams",key:"streamable:create:livestream",type:s.POST,invalidationKeys:["streamable:livestreams"],data:e}},updateLivestream(e,r){return{url:`/api/discover/v1/livestreams/${e}`,key:`streamable:update:livestream:${e}}`,type:s.PUT,invalidationKeys:["streamable:livestreams"],data:r}},removeLivestream(e){return{url:t.urlBuilder("/api/discover/v1/livestreams",{id:e}),key:`streamable:delete:livestream:${e}}`,type:s.DELETE,invalidationKeys:["streamable:livestreams"]}},updateLivestreamMember(e,r,a){return{url:t.urlBuilder(`/api/discover/v1/livestreams/${e}/members`,{memberType:r}),key:`streamable:update:livestream:${e}}:member:${r}`,type:s.PUT,data:a}},updateLivestreamBackboneMember(e,r,a){return{url:t.urlBuilder(`/api/discover/v1/livestreams/${e}/backbone-members`,{memberType:r}),key:`streamable:update:livestream:${e}}:backbone:member:${r}`,type:s.PUT,data:a}}};export{l as L};
//# sourceMappingURL=CCXfeKmU.chunk.js.map
