Files
klz-cables.com/.pnpm-store/v10/files/12/6b49196f7a2f9681a14207629e42799021de0f70949cd215085bf0b5ff601dbfd9a29284649a95794cd62352a07355ff06deea42095cf55de12b7df9834052
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
902 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})});exports.acceptUserInvite=t,exports.disableTwoFactor=o,exports.enableTwoFactor=a,exports.generateTwoFactorSecret=i,exports.inviteUser=e,exports.registerUser=n,exports.registerUserVerify=r;
//# sourceMappingURL=users.cjs.map