import{a as u,u as r,b as n}from"./query-PJ0ZdjbV.js";import{p as e}from"./index-BSPIaiZU.js";function c(){return r({queryKey:["auth","mfa-status"],queryFn:()=>e.get("/auth/mfa/status/").then(t=>t.data)})}function f(){const t=n();return u({mutationFn:()=>e.post("/auth/mfa/enroll/").then(a=>a.data),onSuccess:()=>t.invalidateQueries({queryKey:["auth","mfa-status"]})})}function m(){const t=n();return u({mutationFn:a=>e.post("/auth/mfa/verify/",a).then(s=>s.data),onSuccess:()=>t.invalidateQueries({queryKey:["auth","mfa-status"]})})}function h(){const t=n();return u({mutationFn:a=>e.post("/auth/mfa/disable/",a).then(s=>s.data),onSuccess:()=>t.invalidateQueries({queryKey:["auth","mfa-status"]})})}function l(){return u({mutationFn:t=>e.post("/auth/mfa/challenge/",t).then(a=>a.data)})}export{c as a,f as b,m as c,h as d,l as u};
