import{aG as t,aH as o}from"./index-ae60edf9.js";const a=(e,n)=>{const r=`/office/work_moment/find/${n?"send":"recv"}`;return t.post(r,JSON.stringify({userID:n,pagination:{pageNumber:e,showNumber:20}}),{headers:{token:o()}})},m=e=>t.post("/office/work_moment/logs",JSON.stringify({pagination:{pageNumber:e,showNumber:20}}),{headers:{token:o()}}),f=e=>t.post("/office/work_moment/add",JSON.stringify({...e}),{headers:{token:o()}}),c=e=>t.post("/office/work_moment/get",JSON.stringify({workMomentID:e}),{headers:{token:o()}}),d=(e,n)=>t.post("/office/work_moment/comment/del",JSON.stringify({workMomentID:e,commentID:n}),{headers:{token:o()}}),k=e=>t.post("/office/work_moment/del",JSON.stringify({workMomentID:e}),{headers:{token:o()}}),g=e=>t.post("/office/work_moment/comment/add",JSON.stringify({...e}),{headers:{token:o()}}),u=e=>t.post("/office/work_moment/like",JSON.stringify({...e}),{headers:{token:o()}}),h=()=>t.post("/office/work_moment/unread/count",JSON.stringify({}),{headers:{token:o()}});var s=(e=>(e[e.Count=1]="Count",e[e.List=2]="List",e[e.All=3]="All",e))(s||{});const w=e=>t.post("/office/work_moment/unread/clear",JSON.stringify({type:e}),{headers:{token:o()}});export{s as M,d as a,w as b,g as c,k as d,m as e,a as f,h as g,c as h,u as l,f as p};
