import{n as e}from"./index-kSn5YXd0.js";import{t}from"./password-transfer-crypto-Bi7McejP.js";var n=t=>e({url:`/api/admin/user/list`,method:`get`,data:t}),r=(t,n)=>e({url:`/api/admin/user/${n?`enable`:`disable`}/${t}`,method:`post`}),i=async e=>t({url:`/api/admin/user/saveOrUpdate`,method:`post`,data:e},[`password`]),a=t=>e({url:`/api/admin/user/delete/${t}`,method:`delete`}),o=t=>e({url:`/api/admin/user/${t}`,method:`get`}),s=t=>e({url:`/api/admin/user/checkDuplicate`,method:`get`,data:t}),c=async e=>t({url:`/api/admin/user/copy`,method:`post`,data:e},[`toPassword`]),l=t=>e({url:`/api/admin/user/${t}/2fa/status`,method:`get`}),u=t=>e({url:`/api/admin/user/${t}/2fa`,method:`delete`}),d=t=>e({url:`/api/admin/user/${t}/passkey/list`,method:`get`}),f=(t,n)=>e({url:`/api/admin/user/${t}/passkey/${encodeURIComponent(n)}`,method:`delete`}),p=t=>e({url:`/api/admin/user/${t}/sso/bindings`,method:`get`}),m=(t,n)=>e({url:`/api/admin/user/${t}/sso/bindings/${n}`,method:`delete`});export{a,o as c,p as d,i as f,f as i,n as l,c as n,m as o,r as p,u as r,l as s,s as t,d as u};