import{n as e}from"./index-BcZTP2Ia.js";var t=(t={})=>e({url:`/user/login/passkey/config`,method:`get`,data:{entry:t.entry},config:{showDefaultMsg:!1}}),n=(t={})=>{let n={entry:t.entry};return t.username&&(n.username=t.username),e({url:`/user/login/passkey/start`,method:`get`,data:n,config:{showDefaultMsg:!1}})},r=(t,n)=>e({url:`/user/login/passkey/finish`,method:`post`,data:n,config:{params:{entry:t},showDefaultMsg:!1}}),i=()=>e({url:`/user/passkey/enabled`,method:`get`,config:{showDefaultMsg:!1}}),a=()=>e({url:`/user/passkey/register/start`,method:`get`}),o=t=>e({url:`/user/passkey/register/finish`,method:`post`,data:t}),s=(t=!0)=>e({url:`/user/passkey/list`,method:`get`,config:{showDefaultMsg:t}}),c=t=>e({url:`/user/passkey/${encodeURIComponent(t)}`,method:`delete`});export{t as a,a as c,i,r as n,s as o,o as r,n as s,c as t};