Files
klz-cables.com/.pnpm-store/v10/files/5b/cccc87a3ad09f61b4660c2e0e0ae30b01d2d956766b1a3176ed424b49daa9f6fb04a462caf354c712c1c4fba785cec3f07150a216177320bdde8cec5f83de5
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

2 lines
874 B
Plaintext

const e=(e,t,n)=>()=>({path:`/users/invite`,method:`POST`,body:JSON.stringify({email:e,role:t,...n?{invite_url:n}:{}})}),t=(e,t)=>()=>({path:`/users/invite/accept`,method:`POST`,body:JSON.stringify({token:e,password:t})}),n=(e,t,n={})=>()=>({path:`/users/register`,method:`POST`,body:JSON.stringify({email:e,password:t,...n})}),r=e=>()=>({path:`/users/register/verify-email`,params:{token:e},method:`GET`}),i=e=>()=>({path:`/users/me/tfa/generate`,method:`POST`,body:JSON.stringify({password:e})}),a=(e,t)=>()=>({path:`/users/me/tfa/enable`,method:`POST`,body:JSON.stringify({secret:e,otp:t})}),o=e=>()=>({path:`/users/me/tfa/disable`,method:`POST`,body:JSON.stringify({otp:e})});export{t as acceptUserInvite,o as disableTwoFactor,a as enableTwoFactor,i as generateTwoFactorSecret,e as inviteUser,n as registerUser,r as registerUserVerify};
//# sourceMappingURL=users.js.map