import{b5 as i}from"./index-ip5gDR6L.js";function s(s){return i.post({url:"admin/activities",params:s})}function t(s,t){return i.put({url:`admin/activities/${s}`,params:t})}function a(s){return i.del({url:`admin/activities/${s}`})}function r(s){return i.get({url:`admin/activities/${s}`})}function e(s,t=1,a=20){return i.get({url:`admin/activities/${s}/issues`,params:{page:t,page_size:a}})}function n(s,t){return i.post({url:`admin/activities/${s}/issues`,params:t})}function u(s,t,a){return i.put({url:`admin/activities/${s}/issues/${t}`,params:a})}function c(s,t){return i.del({url:`admin/activities/${s}/issues/${t}`})}function d(s,t){return i.get({url:`admin/activities/${s}/issues/${t}/rewards`})}function m(s,t,a){return i.post({url:`admin/activities/${s}/issues/${t}/rewards`,params:{rewards:a}})}function o(s,t,a,r){return i.put({url:`admin/activities/${s}/issues/${t}/rewards/${a}`,params:r})}function $(s,t,a){return i.del({url:`admin/activities/${s}/issues/${t}/rewards/${a}`})}function l(){return i.get({url:"admin/activity_categories"})}export{l as a,t as b,n as c,c as d,s as e,a as f,r as g,m as h,o as i,d as j,$ as k,e as l,u};
