import{as as t,a3 as p}from"./index-BTglIPU2.js?v=1773287522785";const{t:e}=p.global,n=s=>t.post("/data?action=getData",{...s,table:"ftps"}),i=s=>t.post("/ftp?action=AddUser",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),g=s=>t.post("/ftp?action=setPort",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),c=s=>t.post("/ftp?action=SetStatus",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),r=s=>t.post("/data?action=setPs",{...s,table:"ftps"},{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),l=s=>t.post("/ftp?action=SetUserPassword",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),u=s=>t.post("/ftp?action=set_user_home",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),d=(s,o=!0)=>t.post("/ftp?action=DeleteUser",s,{requestOptions:{loading:o?e("Ftp.Api.Index_1"):"",successMessage:o}}),_=()=>t.post("/logs/ftp/set_ftp_log",{exec_name:"getlog"},{requestOptions:{loading:e("Ftp.Api.Index_1"),errorMessage:{close:!0}}}),F=()=>t.post("/logs/ftp/set_ftp_log",{exec_name:"start"},{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),f=s=>t.post("/logs/ftp/get_login_log",s),x=s=>t.post("/logs/ftp/get_action_log",s),A=()=>t.post("/logs/ftp/ftp_users"),q=()=>t.post("/logs/ftp/get_analysis_config"),I=s=>t.post("/logs/ftp/set_analysis_config",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),O=s=>t.post("/logs/ftp/log_analysis",s,{requestOptions:{loading:e("Ftp.Api.Index_1")}}),M=s=>t.post("/logs/ftp/set_cron_task",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),L=()=>t.post("/logs/ftp/get_white_list"),P=s=>t.post("/logs/ftp/set_white_list",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),S=s=>t.post("/ftp?action=SetStatus",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}}),U=s=>t.post("/ftp?action=DeleteUser",s,{requestOptions:{loading:e("Ftp.Api.Index_1"),successMessage:!0}});export{O as F,r as a,_ as b,F as c,d,x as e,f,n as g,g as h,i,I as j,q as k,A as l,M as m,P as n,L as o,U as p,S as q,u as r,c as s,l as t};
