import{p as t}from"./http-BoPYlvwK.js";async function e(){const{data:a}=await t.get("/user/email");return a}async function i(a){const{data:s}=await t.post("/user/bind-email",a);return s}async function r(){const{data:a}=await t.post("/user/unbind-email",{});return a}async function c(){const{data:a}=await t.get("/user/email-notify");return a}async function o(a){const{data:s}=await t.post("/user/email-notify",a);return s}async function u(a){const{data:s}=await t.post("/user/password",a);return s}async function d(){const{data:a}=await t.get("/user/kdocs");return a}async function y(a){const{data:s}=await t.post("/user/kdocs",a);return s}async function f(){const{data:a}=await t.get("/kdocs/status");return a}async function p(){const{data:a}=await t.get("/user/passkeys");return a}async function l(a){const{data:s}=await t.post("/user/passkeys/register/options",a);return s}async function w(a){const{data:s}=await t.post("/user/passkeys/register/verify",a);return s}async function g(a){const{data:s}=await t.delete(`/user/passkeys/${a}`);return s}async function k(a){const{data:s}=await t.post("/user/passkeys/client-error",a||{});return s}async function m(){const{data:a}=await t.get("/user/social-bindings");return a}async function b(a){const{data:s}=await t.post("/user/social-bindings",a||{});return s}async function h(a){const{data:s}=await t.delete(`/user/social-bindings/${encodeURIComponent(a)}`);return s}export{i as a,b,o as c,u as d,l as e,w as f,g,h,y as i,e as j,p as k,m as l,c as m,d as n,f as o,k as r,r as u};
