import{as as t,a3 as e}from"./index-BTglIPU2.js?v=1773287522785";const o=s=>t.post("/mod/push/task/get_task_list",s),n=()=>t.post("/mod/push/task/get_task_template_list"),r=s=>t.post("/mod/push/task/set_task_conf",{...s,task_data:JSON.stringify(s.task_data)},{requestOptions:{loading:e.global.t("Config.API.alarm_1"),successMessage:!0}}),g=s=>t.post("/mod/push/task/set_task_conf",{...s,task_data:JSON.stringify(s.task_data)},{requestOptions:{loading:e.global.t("Config.API.alarm_2"),successMessage:!0}}),l=s=>t.post("/mod/push/task/change_task_conf",s,{requestOptions:{loading:e.global.t("Config.API.alarm_3"),successMessage:!0}}),c=s=>t.post("/mod/push/task/remove_task_conf",s,{requestOptions:{loading:e.global.t("Config.API.alarm_4"),successMessage:!0}}),d=s=>t.post("/mod/push/task/get_task_record",s),i=s=>t.post("/mod/push/task/remove_task_records",{...s,record_ids:JSON.stringify(s.record_ids)},{requestOptions:{loading:e.global.t("Config.API.alarm_5"),successMessage:!0}}),u=s=>t.post("/mod/push/task/clear_task_record",{...s,record_ids:JSON.stringify(s.record_ids)},{requestOptions:{loading:e.global.t("Config.API.alarm_5"),successMessage:!0}}),_=s=>t.post("/mod/push/msgconf/get_sender_list",s),m=s=>t.post("/push?action=get_push_logs",s),p=s=>t.post("/mod/push/msgconf/set_sender_conf",{...s,sender_data:JSON.stringify(s.sender_data)},{requestOptions:{loading:e.global.t("Config.API.alarm_6"),successMessage:!0}}),f=s=>t.post("/mod/push/msgconf/set_sender_conf",{...s,sender_data:JSON.stringify(s.sender_data)},{requestOptions:{loading:e.global.t("Config.API.alarm_7"),successMessage:!0}}),k=s=>t.post("/mod/push/msgconf/change_sendr_used",s,{requestOptions:{loading:e.global.t("Config.API.alarm_8"),successMessage:!0}}),h=s=>t.post("/mod/push/msgconf/set_default_sender",s,{requestOptions:{loading:e.global.t("Config.API.alarm_9"),successMessage:!0}}),A=s=>t.post("/mod/push/msgconf/test_send_msg",s,{requestOptions:{loading:e.global.t("Config.API.alarm_10"),successMessage:!0}}),O=s=>t.post("/mod/push/msgconf/remove_sender",s,{requestOptions:{loading:e.global.t("Config.API.alarm_11"),successMessage:!0}});export{d as a,c as b,u as c,i as d,o as e,m as f,_ as g,r as h,n as i,g as j,f as k,p as l,k as m,h as n,l as s,A as t,O as u};
