import{i as t,bf as e}from"./page_layout.js?v=1763625242172";const{t:s}=t.global,r=t=>e.post("/crontab/trigger/get_trigger_list",{data:JSON.stringify(t)}),a=t=>e.post("/crontab/trigger/create_trigger",{data:JSON.stringify(t)},{requestOptions:{loading:s("Security.Api.Index_4"),successMessage:!0}}),i=t=>e.post("/crontab/trigger/modify_trigger",{data:JSON.stringify(t)},{requestOptions:{loading:s("Crontab.Api.index_5"),successMessage:!0}}),g=()=>e.post("/crontab/script/get_script_list_by_type"),o=t=>e.post("/crontab/trigger/get_operator_where_list",{data:JSON.stringify(t)}),n=t=>e.post("/crontab/trigger/create_operator_where",{data:JSON.stringify(t)},{requestOptions:{loading:s("Security.Api.Index_4"),successMessage:!0}}),p=t=>e.post("/crontab/trigger/modify_operator_where",{data:JSON.stringify(t)},{requestOptions:{loading:s("Crontab.Api.index_5"),successMessage:!0}}),c=t=>e.post("/crontab/trigger/remove_operator_where",t,{requestOptions:{loading:s("Security.Api.Index_3"),successMessage:!0}}),_=t=>e.post("/crontab/trigger/get_operator_logs",{data:JSON.stringify(t)}),d=t=>e.post("/crontab/trigger/get_trigger_logs",t),b=t=>e.post("/crontab/trigger/test_trigger",{data:JSON.stringify(t)},{requestOptions:{loading:s("Crontab.Api.index_4"),successMessage:!1,errorMessage:!1}}),u=(t,r=!0)=>e.post("/crontab/trigger/remove_trigger",t,{requestOptions:{loading:r?s("Security.Api.Index_3"):"",successMessage:r}});export{a,r as b,d as c,u as d,i as e,b as f,g,p as h,n as i,_ as j,c as k,o as l};
