@ackplus/nest-auth 2.0.0-beta.2 → 2.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/admin-console/static/index.html +1 -1
- package/dist/lib/admin-console/static/nest-auth.json +1 -1
- package/dist/lib/auth/services/auth.service.d.ts +1 -1
- package/dist/lib/auth/services/auth.service.d.ts.map +1 -1
- package/dist/lib/auth/services/auth.service.js +6 -7
- package/dist/lib/auth/services/auth.service.js.map +1 -1
- package/package.json +2 -2
|
@@ -5441,7 +5441,7 @@ export class OnboardingService {
|
|
|
5441
5441
|
- Header mode (default): Returns new tokens in response body
|
|
5442
5442
|
- Cookie mode: Sets new tokens in HTTP-only cookies and returns success message`,operationId:"AuthController_refreshToken",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthRefreshTokenRequestDto"}}}},responses:{200:{description:"Header mode: Returns message + tokens in body",content:{"application/json":{schema:{$ref:"#/components/schemas/AuthWithTokensResponseDto"}}}}},summary:"Refresh Token",tags:["Auth"]}},"/auth/mfa/challenge":{post:{operationId:"MfaController_challenge",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthSendMfaCodeRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthMfaCodeSentResponseDto"}}}}},summary:"Send MFA code for setup/verification",tags:["Mfa"]}},"/auth/mfa/verify":{post:{description:`Verify multi-factor authentication. Response format depends on accessTokenType configuration:
|
|
5443
5443
|
- Header mode (default): Returns tokens in response body
|
|
5444
|
-
- Cookie mode: Sets tokens in HTTP-only cookies and returns success message`,operationId:"AuthController_verify2fa",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthVerify2faRequestDto"}}}},responses:{200:{description:"Header mode: Returns message + tokens in body",content:{"application/json":{schema:{$ref:"#/components/schemas/Verify2faWithTokensResponseDto"}}}}},summary:"Verify MFA",tags:["Auth"]}},"/auth/logout":{post:{operationId:"AuthController_logout",parameters:[],responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthLogoutResponseDto"}}}}},summary:"Logout",tags:["Auth"]}},"/auth/logout-all":{post:{operationId:"AuthController_logoutAll",parameters:[],responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthLogoutAllResponseDto"}}}}},summary:"Logout All",tags:["Auth"]}},"/auth/switch-tenant":{post:{operationId:"AuthController_switchTenant",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthSwitchTenantRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/AuthWithTokensResponseDto"}}}}},summary:"Switch Active Tenant",tags:["Auth"]}},"/auth/change-password":{post:{operationId:"AuthController_changePassword",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthChangePasswordRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/MessageResponseDto"}}}}},summary:"Change Password",tags:["Auth"]}},"/auth/forgot-password":{post:{operationId:"AuthController_forgotPassword",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthForgotPasswordRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthPasswordResetLinkSentResponseDto"}}}}},summary:"Forgot password",tags:["Auth"]}},"/auth/verify-forgot-password-otp":{post:{operationId:"AuthController_verifyForgotPasswordOtp",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthVerifyForgotPasswordOtpRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/VerifyOtpResponseDto"}}}}},summary:"Verify Forgot Password OTP and get reset token",tags:["Auth"]}},"/auth/reset-password":{post:{operationId:"AuthController_resetPassword",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthResetPasswordWithTokenRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthPasswordResetResponseDto"}}}}},summary:"Reset password",tags:["Auth"]}},"/auth/client-config":{get:{description:"Public configuration for clients (tenant mode, auth methods, registration, MFA, etc.). No auth required.",operationId:"AuthController_getClientConfig",parameters:[],responses:{200:{description:"Client configuration"}},summary:"Client config",tags:["Auth"]}},"/auth/user":{get:{operationId:"AuthController_getUser",parameters:[],responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/UserResponseDto"}}}}},summary:"Get Logged In User",tags:["Auth"]}},"/auth/verify-session":{get:{description:"Lightweight endpoint to verify if the current session is valid. Returns minimal information without fetching full user data.",operationId:"AuthController_verifySession",parameters:[],responses:{200:{description:"",content:{"application/json":{schema:{properties:{valid:{type:"boolean",example:!0},userId:{type:"string",example:"123e4567-e89b-12d3-a456-426614174000"},expiresAt:{type:"string",example:"2024-01-01T12:00:00.000Z"}}}}}}},summary:"Verify Session",tags:["Auth"]}},"/auth/send-email-verification":{post:{operationId:"AuthController_sendEmailVerification",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthSendEmailVerificationRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthEmailVerificationSentResponseDto"}}}}},summary:"Send email verification",tags:["Auth"]}},"/auth/verify-email":{post:{operationId:"AuthController_verifyEmail",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthVerifyEmailRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthEmailVerifiedResponseDto"}}}}},summary:"Verify Email",tags:["Auth"]}},"/auth/send-phone-verification":{post:{operationId:"AuthController_sendPhoneVerification",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthSendPhoneVerificationRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthPhoneVerificationSentResponseDto"}}}}},summary:"Send phone verification (SMS OTP)",tags:["Auth"]}},"/auth/verify-phone":{post:{operationId:"AuthController_verifyPhone",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthVerifyPhoneRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthPhoneVerifiedResponseDto"}}}}},summary:"Verify phone number with OTP",tags:["Auth"]}},"/auth/callback/{provider}":{get:{description:"OAuth callback endpoint for SSO providers. Exchanges authorization code for access token and returns raw SSO user info. Returns HTML page that posts SSO data to parent window and auto-closes.",operationId:"AuthController_ssoCallback",parameters:[{name:"provider",required:!0,in:"path",schema:{type:"string"}}],responses:{200:{description:""}},summary:"SSO Callback",tags:["Auth"]}},"/auth/mfa/status":{get:{operationId:"MfaController_getStatus",parameters:[],responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/MfaStatusResponseDto"}}}}},summary:"Get MFA status for the current user",tags:["Mfa"]}},"/auth/mfa/toggle":{post:{operationId:"MfaController_toggleMfa",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthToggleMfaRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthMfaToggleResponseDto"}}}}},summary:"Enable or disable MFA for the current user",tags:["Mfa"]}},"/auth/mfa/devices":{get:{operationId:"MfaController_listDevices",parameters:[],responses:{200:{description:"",content:{"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/MfaDeviceDto"}}}}}},summary:"List registered MFA devices",tags:["Mfa"]}},"/auth/mfa/devices/{deviceId}":{delete:{operationId:"MfaController_removeDevice",parameters:[{name:"deviceId",required:!0,in:"path",schema:{type:"string"}}],responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthMfaDeviceRemovedResponseDto"}}}}},summary:"Remove a registered MFA device",tags:["Mfa"]}},"/auth/mfa/setup-totp":{post:{operationId:"MfaController_setupTotp",parameters:[],responses:{200:{description:""}},summary:"Setup TOTP Device",tags:["Mfa"]}},"/auth/mfa/verify-totp-setup":{post:{operationId:"MfaController_verifyTotpSetup",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthVerifyTotpSetupRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthMfaDeviceVerifiedResponseDto"}}}}},summary:"Verify TOTP Setup",tags:["Mfa"]}},"/auth/mfa/generate-recovery-code":{post:{operationId:"MfaController_generateRecoveryCodes",parameters:[],responses:{200:{description:""}},summary:"Generate Recovery Codes",tags:["Mfa"]}},"/auth/mfa/reset-totp":{post:{operationId:"MfaController_resetTotp",parameters:[],responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthMfaResetResponseDto"}}}}},summary:"Reset TOTP Device",tags:["Mfa"]}}},vYt={title:"@ackplus/nest-auth API",description:"OpenAPI specification generated from the Nest Auth module",version:"2.0.0-beta.2",contact:{}},OYt=[],SYt=[],xYt={securitySchemes:{bearer:{scheme:"bearer",bearerFormat:"JWT",type:"http"}},schemas:{NestAuthSignupRequestDto:{type:"object",properties:{email:{type:"string",description:"User email address (required if phone not provided)",example:"user@example.com"},phone:{type:"string",description:"User phone number (required if email not provided)",example:"+1234567890"},password:{type:"string",description:"User password",example:"SecurePass123!",minLength:8},tenantId:{type:"string",description:"Tenant ID for multi-tenant applications",example:"123e4567-e89b-12d3-a456-426614174000"},guard:{type:"string",description:"Guard context (e.g. admin, web, vendor) for isolation. Deprecated: use client",example:"admin",deprecated:!0}},required:["password"]},UserResponseDto:{type:"object",properties:{id:{type:"string",description:"User unique identifier",example:"123e4567-e89b-12d3-a456-426614174000"},email:{type:"string",description:"User email address",example:"user@example.com"},phone:{type:"string",description:"User phone number",example:"+1234567890"},isVerified:{type:"boolean",description:"Email verification status",example:!0},isMfaEnabled:{type:"boolean",description:"Whether MFA is enabled for this user",example:!1},roles:{description:"User roles (role names)",example:["admin","user"],type:"array",items:{type:"string"}},permissions:{description:"User permissions (flattened from roles)",example:["read:users","write:users"],type:"array",items:{type:"string"}},metadata:{type:"object",description:"Additional user metadata",example:{firstName:"John",lastName:"Doe"}},tenantId:{type:"string",description:"Tenant ID for multi-tenant applications",example:"tenant-123"},tenants:{description:"Tenants the user belongs to",type:"array",items:{type:"object"}},userAccesses:{description:"User access per tenant (includes roles)",type:"array",items:{type:"object"}}},required:["id","isVerified"]},AuthWithTokensResponseDto:{type:"object",properties:{accessToken:{type:"string",description:"JWT access token (short-lived)",example:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjMiLCJpYXQiOjE2OTk5OTk5OTksImV4cCI6MTY5OTk5OTk5OX0.xyz"},refreshToken:{type:"string",description:"JWT refresh token (long-lived)",example:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjMiLCJ0eXBlIjoicmVmcmVzaCIsImlhdCI6MTY5OTk5OTk5OX0.abc"},message:{type:"string",description:"Success message (added by controller based on configuration)",example:"Login successful"},isRequiresMfa:{type:"boolean",description:"Whether multi-factor authentication is required",example:!1},mfaMethods:{type:"array",description:"Available MFA methods when isRequiresMfa is true",example:["email","totp"],items:{type:"string",enum:["email","sms","totp"]}},defaultMfaMethod:{type:"string",description:"Default/recommended MFA method",example:"email",enum:["email","sms","totp"]},user:{description:"User information",allOf:[{$ref:"#/components/schemas/UserResponseDto"}]},trustToken:{type:"string",description:"Trust token for trusted device verification",example:"1234567890"}},required:["accessToken","refreshToken","isRequiresMfa"]},EmailCredentialsDto:{type:"object",properties:{email:{type:"string",description:"User email address",example:"user@example.com"},password:{type:"string",description:"User password",example:"SecurePass123!",minLength:8}},required:["email","password"]},PhoneCredentialsDto:{type:"object",properties:{phone:{type:"string",description:"User phone number",example:"+1234567890"},password:{type:"string",description:"User password",example:"SecurePass123!",minLength:8}},required:["phone","password"]},SocialCredentialsDto:{type:"object",properties:{token:{type:"string",description:"OAuth token or ID token from social provider",example:"ya29.a0AfH6SMBx1234567890abcdefghijklmnop"}},required:["token"]},PasswordlessOtpCredentialsDto:{type:"object",properties:{identifier:{type:"string",description:"Email or phone (same value as in send request)",example:"user@example.com"},channels:{type:"array",description:"Channel(s) to try in order. Use both when the client is unsure whether `identifier` is email or phone.",example:["email","sms"],items:{type:"string",enum:["email","sms"]}},code:{type:"string",description:"One-time code from email or SMS",example:"123456"}},required:["identifier","channels","code"]},NestAuthLoginRequestDto:{type:"object",properties:{providerName:{type:"string",description:"Authentication provider name",example:"email",enum:["email","phone","passwordless","google","facebook","apple","github"],default:"email"},credentials:{description:"Login credentials - type varies by provider",examples:{emailLogin:{summary:"Email + password",value:{email:"user@example.com",password:"SecurePass123!"}},phoneLogin:{summary:"Phone + password",value:{phone:"+1234567890",password:"SecurePass123!"}},passwordlessOtp:{summary:"Passwordless OTP — set providerName to passwordless (after POST /auth/passwordless/send)",value:{providerName:"passwordless",credentials:{identifier:"user@example.com",channels:["email","sms"],code:"123456"}}},socialLogin:{summary:"Social Login (Google/Facebook/etc)",value:{token:"ya29.a0AfH6SMBx...",type:"idToken"}}},oneOf:[{$ref:"#/components/schemas/EmailCredentialsDto"},{$ref:"#/components/schemas/PhoneCredentialsDto"},{$ref:"#/components/schemas/SocialCredentialsDto"},{$ref:"#/components/schemas/PasswordlessOtpCredentialsDto"}]},tenantId:{type:"string",description:"Tenant ID for multi-tenant applications",example:"123e4567-e89b-12d3-a456-426614174000"},guard:{type:"string",description:"Guard context (e.g. admin, web, vendor) for isolation. Deprecated: use client",example:"admin",deprecated:!0},createUserIfNotExists:{type:"boolean",description:"Auto-create user if not exists (for social auth)",default:!1}},required:["credentials"]},NestAuthPasswordlessSendRequestDto:{type:"object",properties:{identifier:{type:"string",description:"Email or phone (per `channel`)",example:"user@example.com"},channel:{type:"string",enum:["email","sms"]},tenantId:{type:"string"}},required:["identifier","channel"]},MessageResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message"}},required:["message"]},NestAuthRefreshTokenRequestDto:{type:"object",properties:{refreshToken:{type:"string",description:"Refresh token to obtain new access token",example:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjMiLCJ0eXBlIjoicmVmcmVzaCJ9.abc123"}}},NestAuthMfaCodeSentResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"MFA code sent successfully"}},required:["message"]},NestAuthMFAMethodEnum:{type:"string",enum:["email","sms","totp"]},NestAuthVerify2faRequestDto:{type:"object",properties:{method:{description:"MFA method used",example:"totp",allOf:[{$ref:"#/components/schemas/NestAuthMFAMethodEnum"}]},otp:{type:"string",description:"One-time password code",example:"123456",minLength:6,maxLength:8},trustDevice:{type:"boolean",description:"Whether to trust this device for future logins",example:!0}},required:["method","otp"]},Verify2faWithTokensResponseDto:{type:"object",properties:{accessToken:{type:"string",description:"JWT access token (short-lived)",example:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjMiLCJpYXQiOjE2OTk5OTk5OTksImV4cCI6MTY5OTk5OTk5OX0.xyz"},refreshToken:{type:"string",description:"JWT refresh token (long-lived)",example:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjMiLCJ0eXBlIjoicmVmcmVzaCIsImlhdCI6MTY5OTk5OTk5OX0.abc"},message:{type:"string",description:"Verification success message (added by controller)",example:"2FA verification successful"},user:{description:"User information with roles and permissions",allOf:[{$ref:"#/components/schemas/UserResponseDto"}]}},required:["accessToken","refreshToken"]},NestAuthLogoutResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"Logged out successfully"}},required:["message"]},NestAuthLogoutAllResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"Logged out from all devices"}},required:["message"]},NestAuthSwitchTenantRequestDto:{type:"object",properties:{tenantId:{type:"string",description:"Tenant ID to switch into",example:"123e4567-e89b-12d3-a456-426614174000"}},required:["tenantId"]},NestAuthChangePasswordRequestDto:{type:"object",properties:{currentPassword:{type:"string",description:"Current password",example:"DemoOwner1!",minLength:8},newPassword:{type:"string",description:"New password",example:"DemoOwner1!New",minLength:8}},required:["currentPassword","newPassword"]},NestAuthForgotPasswordRequestDto:{type:"object",properties:{email:{type:"string",description:"User email address (required if phone not provided)",example:"user@example.com"},phone:{type:"string",description:"User phone number (required if email not provided)",example:"+1234567890"},tenantId:{type:"string",description:"Tenant ID for multi-tenant applications",example:"123e4567-e89b-12d3-a456-426614174000"}}},NestAuthPasswordResetLinkSentResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"If your email is registered, you will receive a password reset link"}},required:["message"]},NestAuthVerifyForgotPasswordOtpRequestDto:{type:"object",properties:{email:{type:"string",description:"User email address (required if phone not provided)",example:"user@example.com"},phone:{type:"string",description:"User phone number (required if email not provided)",example:"+1234567890"},code:{type:"string",description:"Verification or magic-link code (matches OTP entity `code`)",example:"123456",minLength:6,maxLength:8},tenantId:{type:"string",description:"Tenant ID for multi-tenant applications",example:"123e4567-e89b-12d3-a456-426614174000"}},required:["code"]},VerifyOtpResponseDto:{type:"object",properties:{message:{type:"string",description:"Success message"},resetToken:{type:"string",description:"Password reset token - use this to reset password"}},required:["message"]},NestAuthResetPasswordWithTokenRequestDto:{type:"object",properties:{token:{type:"string",description:"Password reset token (JWT) received after OTP verification",example:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0eXBlIjoicGFzc3dvcmQtcmVzZXQifQ.xyz"},newPassword:{type:"string",description:"New password",example:"NewSecurePass123!",minLength:8}},required:["token","newPassword"]},NestAuthPasswordResetResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"Password has been reset successfully"}},required:["message"]},NestAuthSendEmailVerificationRequestDto:{type:"object",properties:{tenantId:{type:"string",description:"Tenant ID for multi-tenant applications",example:"123e4567-e89b-12d3-a456-426614174000"}}},NestAuthEmailVerificationSentResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"Verification email sent"}},required:["message"]},NestAuthVerifyEmailRequestDto:{type:"object",properties:{code:{type:"string",description:"Verification code received via email",example:"123456",minLength:6,maxLength:8},tenantId:{type:"string",description:"Tenant ID for multi-tenant applications",example:"123e4567-e89b-12d3-a456-426614174000"}},required:["code"]},NestAuthEmailVerifiedResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"Email verified successfully"}},required:["message"]},NestAuthSendPhoneVerificationRequestDto:{type:"object",properties:{tenantId:{type:"string",description:"Tenant ID for multi-tenant applications",example:"123e4567-e89b-12d3-a456-426614174000"}}},NestAuthPhoneVerificationSentResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"Verification SMS sent"}},required:["message"]},NestAuthVerifyPhoneRequestDto:{type:"object",properties:{code:{type:"string",description:"Verification code received via SMS (matches OTP entity `code`)",example:"123456",minLength:6,maxLength:8},tenantId:{type:"string",description:"Tenant ID for multi-tenant applications",example:"123e4567-e89b-12d3-a456-426614174000"}},required:["code"]},NestAuthPhoneVerifiedResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"Phone verified successfully"}},required:["message"]},MfaDeviceDto:{type:"object",properties:{id:{type:"string",description:"Unique identifier of the MFA device",example:"4b3c9c9c-9a9d-4d1e-8d9f-123456789abc"},deviceName:{type:"string",description:"Friendly name of the registered device",example:"Work laptop"},method:{type:"string",description:"MFA method this device supports",enum:["email","sms","totp"],example:"totp"},lastUsedAt:{format:"date-time",type:"string",description:"Timestamp of when the device was last used",example:"2024-05-20T12:34:56.000Z"},verified:{type:"boolean",description:"Whether the device setup has been verified",example:!0},createdAt:{format:"date-time",type:"string",description:"Timestamp of when the device was registered",example:"2024-05-18T10:15:00.000Z"}},required:["id","deviceName","method","verified"]},MfaStatusResponseDto:{type:"object",properties:{isEnabled:{type:"boolean",description:"Whether MFA is currently enabled for the user",example:!0},verifiedMethods:{type:"array",description:"MFA methods the user has verified and can currently use (includes EMAIL/SMS if configured, and TOTP if user has verified device)",example:["email","totp"],items:{type:"string",enum:["email","sms","totp"]}},configuredMethods:{type:"array",description:"All MFA methods configured and available in the application (methods user can potentially set up)",example:["email","totp","sms"],items:{type:"string",enum:["email","sms","totp"]}},allowUserToggle:{type:"boolean",description:"Indicates if MFA toggling is allowed for the user",example:!0},allowMethodSelection:{type:"boolean",description:"Indicates if users can choose their preferred MFA method",example:!0},totpDevices:{description:"Registered TOTP devices for the user",type:"array",items:{$ref:"#/components/schemas/MfaDeviceDto"}},hasRecoveryCode:{type:"boolean",description:"Whether a recovery code has been generated for the user",example:!1},required:{type:"boolean",description:"Whether MFA is required for all users. If true, users cannot disable MFA even if allowUserToggle is true",example:!1},canToggle:{type:"boolean",description:"Whether the user can toggle MFA. This is false if MFA is required (required=true) even if allowUserToggle is true",example:!0}},required:["isEnabled","verifiedMethods","configuredMethods","allowUserToggle","allowMethodSelection","totpDevices","hasRecoveryCode","required","canToggle"]},NestAuthToggleMfaRequestDto:{type:"object",properties:{enabled:{type:"boolean",description:"Whether MFA should be enabled for the current user",example:!0}},required:["enabled"]},NestAuthMfaToggleResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"MFA enabled successfully"}},required:["message"]},NestAuthMfaDeviceRemovedResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"Device removed successfully"}},required:["message"]},NestAuthSendMfaCodeRequestDto:{type:"object",properties:{method:{description:"MFA delivery method",example:"email",examples:{email:{value:"email",description:"Send OTP via email"},sms:{value:"sms",description:"Send OTP via SMS"},totp:{value:"totp",description:"Use authenticator app (TOTP)"}},allOf:[{$ref:"#/components/schemas/NestAuthMFAMethodEnum"}]}},required:["method"]},NestAuthVerifyTotpSetupRequestDto:{type:"object",properties:{otp:{type:"string",description:"The TOTP code from authenticator app",example:"123456",minLength:6,maxLength:6},secret:{type:"string",description:"Secret key from TOTP setup",example:"JBSWY3DPEHPK3PXP"}},required:["otp","secret"]},NestAuthMfaDeviceVerifiedResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"Device setup successfully"}},required:["message"]},NestAuthMfaResetResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"MFA reset successfully"}},required:["message"]}}},wYt={openapi:bYt,paths:yYt,info:vYt,tags:OYt,servers:SYt,components:xYt},Wk=({content:e})=>E.jsx(FWt,{remarkPlugins:[z7],components:{code({node:t,inline:n,className:r,children:i,...o}){const a=/language-(\w+)/.exec(r||"");return!n&&a?E.jsx(T8e,{...o,style:dYt,language:a[1],PreTag:"div",customStyle:{margin:0,borderRadius:"0.5rem",fontSize:"0.875rem"},children:String(i).replace(/\n$/,"")}):E.jsx("code",{...o,style:{backgroundColor:"var(--mui-palette-grey-200)",color:"var(--mui-palette-grey-800)",borderRadius:4,padding:"2px 4px",fontSize:"0.875rem",fontFamily:"monospace"},children:i})},table({children:t}){return E.jsx(Xe,{sx:{overflowX:"auto",my:2,border:"1px solid",borderColor:"divider",borderRadius:1},children:E.jsx(Xe,{component:"table",sx:{minWidth:"100%",borderCollapse:"collapse","& tr":{borderBottom:"1px solid",borderColor:"divider"}},children:t})})},thead({children:t}){return E.jsx(Xe,{component:"thead",sx:{bgcolor:"grey.50"},children:t})},th({children:t}){return E.jsx(Xe,{component:"th",scope:"col",sx:{px:1.5,py:1.5,textAlign:"left",fontSize:"0.75rem",fontWeight:500,color:"text.secondary",textTransform:"uppercase",letterSpacing:"0.05em"},children:t})},td({children:t}){return E.jsx(Xe,{component:"td",sx:{px:1.5,py:1.5,whiteSpace:"nowrap",fontSize:"0.875rem",color:"text.secondary",borderTop:"1px solid",borderColor:"divider"},children:t})},a({href:t,children:n}){return E.jsx("a",{href:t,style:{color:"var(--mui-palette-primary-main)",textDecoration:"none"},className:"MuiTypography-root MuiLink-root",onMouseOver:r=>{r.currentTarget.style.textDecoration="underline"},onMouseOut:r=>{r.currentTarget.style.textDecoration="none"},target:"_blank",rel:"noopener noreferrer",children:n})},h2({children:t}){return E.jsx(ze,{component:"h2",variant:"h5",sx:{fontWeight:700,mt:3,mb:1.5,pb:1,borderBottom:"1px solid",borderColor:"divider"},children:t})},h3({children:t}){return E.jsx(ze,{component:"h3",variant:"h6",sx:{fontWeight:600,mt:2,mb:1},children:t})},p({children:t}){return E.jsx(ze,{component:"p",sx:{color:"text.primary",lineHeight:1.6,mb:1.5},children:t})},ul({children:t}){return E.jsx(Xe,{component:"ul",sx:{listStyle:"disc",pl:2,mb:1.5,color:"text.primary","& li":{mb:.5}},children:t})},li({children:t}){return E.jsx(Xe,{component:"li",sx:{ml:1},children:t})},blockquote({children:t}){return E.jsx(Xe,{component:"blockquote",sx:{borderLeft:"4px solid",borderColor:"primary.main",pl:1.5,py:.5,my:1.5,bgcolor:"primary.50",color:"text.primary",fontStyle:"italic",borderRadius:"0 4px 4px 0"},children:t})}},children:e}),EYt=()=>{const[e,t]=F.useState(!1),[n,r]=F.useState(null),[i,o]=F.useState("api");F.useEffect(()=>{const l=wYt||{};!l||!l.paths||Object.keys(l.paths||{}).length===0?t(!0):r(l)},[]);const a=()=>{if(!n)return;const l=JSON.stringify(n,null,2),c=new Blob([l],{type:"application/json"}),u=URL.createObjectURL(c),d=document.createElement("a");d.href=u,d.download="nest-auth-api.json",document.body.appendChild(d),d.click(),document.body.removeChild(d),URL.revokeObjectURL(u)},s=[{id:"api",label:"API Explorer",icon:wq},{id:"config",label:"Configuration",icon:v2t},{id:"examples",label:"Examples",icon:Gme},{id:"events",label:"Events",icon:_2t},{id:"api-reference",label:"API Reference",icon:a2t},{id:"services",label:"Services",icon:Gme}];return E.jsxs(Ot,{spacing:3,children:[E.jsx(I1,{title:"API Documentation",description:"Comprehensive guide and interactive API documentation.",action:i==="api"&&E.jsx(mn,{variant:"outlined",color:"inherit",onClick:a,disabled:e,startIcon:E.jsx(ht,{component:f2t}),children:"Download JSON"})}),E.jsx(k3e,{value:i,onChange:(l,c)=>o(c),variant:"scrollable",scrollButtons:"auto",sx:{borderBottom:1,borderColor:"divider"},children:s.map(l=>E.jsx(x3e,{value:l.id,label:l.label,icon:E.jsx(ht,{component:l.icon,sx:{fontSize:16}}),iconPosition:"start"},l.id))}),i==="api"&&(e?E.jsx(hi,{variant:"outlined",sx:{p:3,textAlign:"center"},children:E.jsxs(Xa,{severity:"warning",icon:E.jsx(ht,{component:e2,sx:{fontSize:20}}),sx:{textAlign:"left"},children:[E.jsx(ze,{variant:"subtitle2",gutterBottom:!0,children:"API Documentation Not Available"}),E.jsx(ze,{variant:"body2",children:"The OpenAPI specification file could not be loaded. Make sure the OpenAPI spec has been generated by running the build process."})]})}):E.jsxs(E.Fragment,{children:[E.jsxs(Xa,{severity:"info",icon:E.jsx(ht,{component:wq,sx:{fontSize:20}}),children:[E.jsx(ze,{variant:"subtitle2",gutterBottom:!0,children:"Interactive API Documentation"}),E.jsx(ze,{variant:"body2",children:'This documentation is auto-generated from the OpenAPI specification. You can test endpoints directly from this page. Click "Download JSON" to get the raw OpenAPI specification file for importing into Postman or other API tools.'})]}),n&&E.jsx(yHt,{spec:n})]})),i==="config"&&E.jsx(hi,{variant:"outlined",sx:{p:3},children:E.jsx(Wk,{content:fYt})}),i==="examples"&&E.jsx(hi,{variant:"outlined",sx:{p:3},children:E.jsx(Wk,{content:pYt})}),i==="events"&&E.jsx(hi,{variant:"outlined",sx:{p:3},children:E.jsx(Wk,{content:hYt})}),i==="api-reference"&&E.jsx(hi,{variant:"outlined",sx:{p:3},children:E.jsx(Wk,{content:mYt})}),i==="services"&&E.jsx(hi,{variant:"outlined",sx:{p:3},children:E.jsx(Wk,{content:gYt})})]})},S0=({children:e,authenticated:t})=>t===null?E.jsx(Xe,{sx:{minHeight:"100vh",bgcolor:"grey.50",display:"flex",alignItems:"center",justifyContent:"center"},children:E.jsxs(Xe,{sx:{textAlign:"center"},children:[E.jsx(Vh,{size:64,sx:{mb:2}}),E.jsx(ze,{color:"text.secondary",fontWeight:"medium",children:"Verifying authentication..."})]})}):t?E.jsx(E.Fragment,{children:e}):E.jsx(AO,{to:"/login",replace:!0}),kYt=()=>{const[e,t]=F.useState(null),[n,r]=F.useState(null),[i,o]=F.useState(!1),[a,s]=F.useState(null);F.useEffect(()=>{l()},[]);const l=async()=>{try{await fr.get("/me"),t(!0);const d=await fr.get("/config");r(d)}catch(d){const f=d instanceof U4e?d.status:void 0;f===401||f===403||console.error("Auth check failed:",d),t(!1);try{const h=await fr.get("/config");r(h)}catch(h){console.error("Failed to load config:",h),r({allowAdminManagement:!1})}}finally{o(!0)}},c=async d=>{s(null);try{await fr.post("/login",d),t(!0),await l()}catch(f){throw t(!1),s((f==null?void 0:f.message)||"Login failed"),f}},u=async()=>{try{await fr.post("/logout",{})}catch(d){console.error("Logout failed:",d)}t(!1)};return!i||n===null?E.jsx(Xe,{sx:{minHeight:"100vh",background:"linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #e9d5ff 100%)",display:"flex",alignItems:"center",justifyContent:"center"},children:E.jsxs(Xe,{sx:{textAlign:"center"},children:[E.jsx(Vh,{size:64,sx:{color:"primary.main",mb:2}}),E.jsx(ze,{color:"text.primary",fontWeight:"medium",variant:"h6",children:"Loading Nest Auth Dashboard..."}),E.jsx(ze,{color:"text.secondary",variant:"body2",sx:{mt:1},children:"Verifying authentication"})]})}):E.jsx(t2t,{children:E.jsx(r2t,{children:E.jsx(Iht,{children:E.jsxs(wht,{children:[E.jsx(yd,{path:"/login",element:e?E.jsx(AO,{to:"/dashboard",replace:!0}):E.jsx(oSt,{onLogin:c,error:a})}),E.jsx(yd,{path:"/dashboard",element:E.jsx(S0,{authenticated:e,children:E.jsx(y0,{config:n,onLogout:u,children:E.jsx(Ozt,{})})})}),E.jsx(yd,{path:"/users",element:E.jsx(S0,{authenticated:e,children:E.jsx(y0,{config:n,onLogout:u,children:E.jsx(_zt,{})})})}),E.jsx(yd,{path:"/users/:id",element:E.jsx(S0,{authenticated:e,children:E.jsx(y0,{config:n,onLogout:u,children:E.jsx(Qzt,{})})})}),E.jsx(yd,{path:"/roles",element:E.jsx(S0,{authenticated:e,children:E.jsx(y0,{config:n,onLogout:u,children:E.jsx(eHt,{})})})}),E.jsx(yd,{path:"/tenants",element:E.jsx(S0,{authenticated:e,children:E.jsx(y0,{config:n,onLogout:u,children:E.jsx(rHt,{})})})}),E.jsx(yd,{path:"/permissions",element:E.jsx(S0,{authenticated:e,children:E.jsx(y0,{config:n,onLogout:u,children:E.jsx(hHt,{})})})}),E.jsx(yd,{path:"/api",element:E.jsx(S0,{authenticated:e,children:E.jsx(y0,{config:n,onLogout:u,children:E.jsx(EYt,{})})})}),n.allowAdminManagement&&E.jsx(yd,{path:"/admins",element:E.jsx(S0,{authenticated:e,children:E.jsx(y0,{config:n,onLogout:u,children:E.jsx(sHt,{})})})}),E.jsx(yd,{path:"/",element:e?E.jsx(AO,{to:"/dashboard",replace:!0}):E.jsx(AO,{to:"/login",replace:!0})}),E.jsx(yd,{path:"*",element:e?E.jsx(AO,{to:"/dashboard",replace:!0}):E.jsx(AO,{to:"/login",replace:!0})})]})})})})},_Yt={defaultProps:{color:"transparent"},styleOverrides:{root:{boxShadow:"none"}}},TYt={MuiAppBar:_Yt},AYt={styleOverrides:{paper:({theme:e})=>({boxShadow:e.customShadows.dropdown})}},$Yt={MuiAutocomplete:AYt},CYt=["primary","secondary","info","success","warning","error"],IYt=e=>{const t=e.charAt(0).toLowerCase();return["a","c","f"].includes(t)?"primary":["e","d","h"].includes(t)?"secondary":["i","k","l"].includes(t)?"info":["m","n","p"].includes(t)?"success":["q","s","t"].includes(t)?"warning":["v","x","y"].includes(t)?"error":"default"},_ve={colors:CYt.map(e=>({props:({ownerState:t})=>t.color===e,style:({theme:t})=>({color:t.palette[e].contrastText,backgroundColor:t.palette[e].main})})),defaultColor:[{props:({ownerState:e})=>e.color==="default",style:({theme:e})=>({color:e.palette.text.secondary,backgroundColor:Zn(e.palette.grey[500],.5)})}]},RYt={variants:[..._ve.defaultColor,..._ve.colors],styleOverrides:{rounded:({theme:e})=>({borderRadius:(Number(e.shape.borderRadius)||1)*1.5}),colorDefault:({ownerState:e,theme:t})=>{const n=IYt(`${e.alt}`);return{...!!e.alt&&{...n!=="default"?{color:t.palette[n].contrastText,backgroundColor:t.palette[n].main}:{color:t.palette.text.secondary,backgroundColor:Zn(t.palette.grey[500],.1)}}}}}},PYt={defaultProps:{max:4},styleOverrides:{root:({ownerState:e})=>({justifyContent:"flex-end",...e.variant==="compact"&&{width:40,height:40,position:"relative",[`& .${j0t.avatar}`]:{margin:0,width:28,height:28,position:"absolute","&:first-of-type":{left:0,bottom:0,zIndex:9},"&:last-of-type":{top:0,right:0}}}}),avatar:({theme:e})=>({fontSize:16,fontWeight:e.typography.fontWeightSemiBold,"&:first-of-type":{fontSize:12,color:e.palette.primary.dark,backgroundColor:e.palette.primary.lighter}})}},NYt={MuiAvatar:RYt,MuiAvatarGroup:PYt},DYt={styleOverrides:{root:{},sizeSmall:{[`& .${Ghe.root}`]:{height:12,width:12}},sizeLarge:{[`& .${Ghe.root}`]:{height:18,width:18}}}},MYt={MuiButton:DYt},LYt={styleOverrides:{root:({theme:e})=>({position:"relative",boxShadow:e.customShadows.card,zIndex:0})}},jYt={defaultProps:{titleTypographyProps:{variant:"h6"},subheaderTypographyProps:{variant:"body2",marginTop:"4px"}},styleOverrides:{root:({theme:e})=>({padding:e.spacing(1.5,2,1.5),[e.breakpoints.down("md")]:{padding:e.spacing(2,2,.5)}}),action:{alignSelf:"center"}}},FYt={styleOverrides:{root:({theme:e})=>({padding:e.spacing(2),[e.breakpoints.down("md")]:{padding:e.spacing(2)}})}},BYt={styleOverrides:{root:({theme:e})=>({padding:e.spacing(2),[e.breakpoints.down("md")]:{padding:e.spacing(2)}})}},UYt={MuiCard:LYt,MuiCardHeader:jYt,MuiCardContent:FYt,MuiCardActions:BYt};function zYt(e){return E.jsx(px,{...e,children:E.jsx("path",{d:"M17.9 2.318A5 5 0 0 1 22.895 7.1l.005.217v10a5 5 0 0 1-4.783 4.995l-.217.005h-10a5 5 0 0 1-4.995-4.783l-.005-.217v-10a5 5 0 0 1 4.783-4.996l.217-.004h10Zm-.5 1.5h-9a4 4 0 0 0-4 4v9a4 4 0 0 0 4 4h9a4 4 0 0 0 4-4v-9a4 4 0 0 0-4-4Z"})})}function HYt(e){return E.jsx(px,{...e,children:E.jsx("path",{d:"M17 2a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm-1.625 7.255-4.13 4.13-1.75-1.75a.881.881 0 0 0-1.24 0c-.34.34-.34.89 0 1.24l2.38 2.37c.17.17.39.25.61.25.23 0 .45-.08.62-.25l4.75-4.75c.34-.34.34-.89 0-1.24a.881.881 0 0 0-1.24 0Z"})})}function VYt(e){return E.jsx(px,{...e,children:E.jsx("path",{d:"M17,2 C19.7614,2 22,4.23858 22,7 L22,7 L22,17 C22,19.7614 19.7614,22 17,22 L17,22 L7,22 C4.23858,22 2,19.7614 2,17 L2,17 L2,7 C2,4.23858 4.23858,2 7,2 L7,2 Z M15,11 L9,11 C8.44772,11 8,11.4477 8,12 C8,12.5523 8.44772,13 9,13 L15,13 C15.5523,13 16,12.5523 16,12 C16,11.4477 15.5523,11 15,11 Z"})})}const qYt={defaultProps:{size:"small",icon:E.jsx(zYt,{}),checkedIcon:E.jsx(HYt,{}),indeterminateIcon:E.jsx(VYt,{})},styleOverrides:{root:({ownerState:e,theme:t})=>({padding:t.spacing(1),...e.color==="default"&&{[`&.${_S.checked}`]:{color:t.palette.text.primary}},[`&.${_S.disabled}`]:{color:t.palette.action.disabled}})}},QYt={MuiCheckbox:qYt},WYt={defaultProps:{onClick:()=>{}},variants:[{props:{size:"x-small"},style:{height:18,fontSize:"0.6875rem",px:.2}}]},GYt={MuiChip:WYt},Vie=["primary","secondary","info","success","warning","error"],A8e=["default","inherit"],ZYt=["extended","outlinedExtended","softExtended"],Tve=["circular","extended"],Ave=["outlined","outlinedExtended"],$ve=["soft","softExtended"],cO={colors:Vie.map(e=>({props:({ownerState:t})=>!(t!=null&&t.disabled)&&Tve.includes(t==null?void 0:t.variant)&&t.color===e,style:({theme:t})=>({boxShadow:t.customShadows[e],"&:hover":{boxShadow:"none"}})})),base:[{props:({ownerState:e})=>Tve.includes(e==null?void 0:e.variant)&&A8e.includes(e==null?void 0:e.color),style:({theme:e})=>({boxShadow:e.customShadows.z8,color:e.palette.grey[800],backgroundColor:e.palette.grey[300],"&:hover":{boxShadow:"none",backgroundColor:e.palette.grey[400]},[`&.${Ox.colorInherit}`]:{color:e.palette.common.white,backgroundColor:e.palette.text.primary,"&:hover":{backgroundColor:e.palette.grey[700]},...e.palette.mode==="dark"&&{color:e.palette.grey[800],"&:hover":{backgroundColor:e.palette.grey[400]}}}})}]},uO={colors:Vie.map(e=>({props:({ownerState:t})=>!(t!=null&&t.disabled)&&Ave.includes(t==null?void 0:t.variant)&&t.color===e,style:({theme:t})=>({color:t.palette[e].main,border:`solid 1px ${Zn(t.palette[e].main,.48)}`,"&:hover":{backgroundColor:Zn(t.palette[e].main,.08)}})})),base:[{props:({ownerState:e})=>Ave.includes(e==null?void 0:e.variant),style:({theme:e})=>({boxShadow:"none",backgroundColor:"transparent",color:e.palette.text.secondary,border:`solid 1px ${Zn(e.palette.grey[500],.32)}`,"&:hover":{borderColor:"currentColor",boxShadow:"0 0 0 0.75px currentColor",backgroundColor:e.palette.action.hover},[`&.${Ox.colorInherit}`]:{color:e.palette.text.primary},[`&.${Ox.disabled}`]:{backgroundColor:"transparent",border:`1px solid ${e.palette.action.disabledBackground}`}})}]},dO={colors:Vie.map(e=>({props:({ownerState:t})=>!(t!=null&&t.disabled)&&$ve.includes(t==null?void 0:t.variant)&&t.color===e,style:({theme:t})=>({boxShadow:"none",color:t.palette[e].dark,backgroundColor:Zn(t.palette[e].main,.16),"&:hover":{boxShadow:"none",backgroundColor:Zn(t.palette[e].main,.32)},...t.palette.mode==="dark"&&{color:t.palette[e].light}})})),base:[{props:({ownerState:e})=>$ve.includes(e==null?void 0:e.variant)&&A8e.includes(e==null?void 0:e.color),style:({theme:e})=>({boxShadow:"none",color:e.palette.grey[800],backgroundColor:e.palette.grey[300],"&:hover":{boxShadow:"none",backgroundColor:e.palette.grey[400]},[`&.${Ox.colorInherit}`]:{color:e.palette.text.primary,backgroundColor:Zn(e.palette.grey[500],.08),"&:hover":{backgroundColor:Zn(e.palette.grey[500],.24)}}})}]},XYt=[{props:({ownerState:e})=>ZYt.includes(e==null?void 0:e.variant),style:({theme:e})=>({height:48,width:"auto",minHeight:48,borderRadius:48/2,gap:e.spacing(1),padding:e.spacing(0,2),[`&.${Ox.sizeSmall}`]:{height:36,minHeight:36,borderRadius:36/2,gap:e.spacing(.5),padding:e.spacing(0,1)},[`&.${Ox.sizeMedium}`]:{height:40,minHeight:40,borderRadius:40/2}})},{props:({ownerState:e})=>e.size==="x-small",style:({theme:e})=>({height:30,width:30,minHeight:30,borderRadius:30/2,gap:e.spacing(.5),padding:e.spacing(0,1)})}],YYt={defaultProps:{color:"primary"},variants:[...(cO==null?void 0:cO.base)??[],...(cO==null?void 0:cO.colors)??[],...(uO==null?void 0:uO.base)??[],...(uO==null?void 0:uO.colors)??[],...(dO==null?void 0:dO.base)??[],...(dO==null?void 0:dO.colors)??[],...XYt],styleOverrides:{}},KYt={MuiFab:YYt},JYt={styleOverrides:{root:{boxShadow:"none"}}},eKt={MuiIconButton:JYt},tKt={styleOverrides:{root:({theme:e})=>({color:"inherit",minWidth:"auto",marginRight:e.spacing(2)})}},nKt={styleOverrides:{root:({theme:e})=>({minWidth:"auto",marginRight:e.spacing(2)})}},rKt={styleOverrides:{root:({theme:e})=>({color:e.palette.text.primary})}},iKt={defaultProps:{primaryTypographyProps:{typography:"subtitle2",color:"text.primary"},secondaryTypographyProps:{typography:"caption",color:"text.secondary"}},styleOverrides:{root:{margin:0},multiline:{margin:0}}},oKt={MuiListItemIcon:tKt,MuiListItemAvatar:nKt,MuiListItemButton:rKt,MuiListItemText:iKt},aKt={styleOverrides:{root:({theme:e})=>({...e.typography.body2,padding:e.spacing(.75,1),borderRadius:(Number(e.shape.borderRadius)||1)*.75,"&:not(:last-of-type)":{marginBottom:4},[`&.${CO.selected}`]:{fontWeight:e.typography.fontWeightSemiBold,backgroundColor:e.palette.action.selected,"&:hover":{backgroundColor:e.palette.action.hover}},[`& .${_S.root}`]:{padding:e.spacing(.5),marginLeft:e.spacing(-.5),marginRight:e.spacing(.5)},[`&.${rr.option}[aria-selected="true"]`]:{backgroundColor:e.palette.action.selected,"&:hover":{backgroundColor:e.palette.action.hover}},[`&+.${pq.root}`]:{margin:e.spacing(.5,0)}})}},sKt={MuiMenuItem:aKt},lKt={defaultProps:{elevation:0},styleOverrides:{root:{backgroundImage:"none"},outlined:({theme:e})=>({borderColor:Zn(e.palette.grey[500],.16)})}},cKt={MuiPaper:lKt},uKt={defaultProps:{MenuProps:{PaperProps:{sx:e=>({maxHeight:250,transform:"translateY(4px)",boxShadow:e.customShadows.card})}}}},dKt={MuiSelect:uKt},fKt={styleOverrides:{}},pKt={MuiSvgIcon:fKt},Cve={dark:'[data-mui-color-scheme="dark"] &'},hKt={styleOverrides:{root:{alignItems:"center"},switchBase:({ownerState:e,theme:t})=>({top:"unset",transform:"translateX(6px)",[`&.${lo.checked}`]:{[`& .${lo.thumb}`]:{...e.color==="default"&&{[Cve.dark]:{color:t.palette.grey[800]}}},[`&+.${lo.track}`]:{opacity:1,...e.color==="default"&&{backgroundColor:t.palette.text.primary}}},[`&.${lo.disabled}`]:{[`& .${lo.thumb}`]:{opacity:1,[Cve.dark]:{opacity:.48}},[`&+.${lo.track}`]:{opacity:.48}}}),track:({theme:e})=>({opacity:1,borderRadius:10,backgroundColor:Zn(e.palette.grey[500],.48)}),thumb:({theme:e})=>({color:e.palette.common.white}),sizeMedium:{[`& .${lo.track}`]:{height:20},[`& .${lo.thumb}`]:{width:14,height:14}},sizeSmall:{[`& .${lo.track}`]:{height:16},[`& .${lo.thumb}`]:{width:10,height:10}}}},mKt={MuiSwitch:hKt},gKt={styleOverrides:{root:({theme:e})=>({position:"relative",scrollbarWidth:"thin",scrollbarColor:`${Zn(e.palette.text.disabled,.4)} ${Zn(e.palette.text.disabled,.08)}`})}},bKt={styleOverrides:{root:({theme:e})=>({"--palette-TableCell-border":e.palette.divider})}},yKt={styleOverrides:{root:({theme:e})=>({[`&.${xq.selected}`]:{backgroundColor:Zn(e.palette.primary.dark,.04),"&:hover":{backgroundColor:Zn(e.palette.primary.dark,.08)}},"&:last-of-type":{[`& .${E3e.root}`]:{borderColor:"transparent"}}})}},vKt={styleOverrides:{root:{borderBottomStyle:"dashed"},head:({theme:e})=>({fontSize:14,color:e.palette.text.secondary,fontWeight:e.typography.fontWeightSemiBold,backgroundColor:e.palette.background.neutral}),stickyHeader:({theme:e})=>({backgroundColor:e.palette.background.paper,backgroundImage:`linear-gradient(to bottom, ${e.palette.background.neutral} 0%, ${e.palette.background.neutral} 100%)`}),paddingCheckbox:({theme:e})=>({paddingLeft:e.spacing(1)})}},OKt={defaultProps:{backIconButtonProps:{size:"small"},nextIconButtonProps:{size:"small"}},styleOverrides:{root:({theme:e})=>({width:"100%",[e.breakpoints.down("sm")]:{"& .MuiTablePagination-input":{marginRight:8}}}),toolbar:{height:64},actions:({theme:e})=>({marginRight:8,[e.breakpoints.down("md")]:{marginLeft:16}}),select:({theme:e})=>({paddingLeft:8,"&:focus":{borderRadius:e.shape.borderRadius}}),selectIcon:{right:4,width:16,height:16,top:"calc(50% - 8px)"}}},SKt={MuiTable:bKt,MuiTableRow:yKt,MuiTableCell:vKt,MuiTableContainer:gKt,MuiTablePagination:OKt},xKt={defaultProps:{textColor:"inherit",variant:"scrollable",allowScrollButtonsMobile:!0},styleOverrides:{root:({theme:e})=>({borderBottom:`1px solid ${e.palette.divider}`}),flexContainer:({ownerState:e,theme:t})=>({...e.variant!=="fullWidth"&&{gap:"24px",[t.breakpoints.up("sm")]:{gap:"40px"}}}),indicator:{backgroundColor:"currentColor"}}},wKt={defaultProps:{disableRipple:!0,iconPosition:"start"},styleOverrides:{root:({theme:e})=>({opacity:1,minWidth:48,minHeight:48,padding:e.spacing(1,0),color:e.palette.text.secondary,fontWeight:e.typography.fontWeightMedium,lineHeight:e.typography.body2.lineHeight,[`&.${uu.selected}`]:{color:e.palette.text.primary,fontWeight:e.typography.fontWeightSemiBold}})}},EKt={MuiTabs:xKt,MuiTab:wKt},kKt={...TYt,...NYt,...SKt,...EKt,...oKt,...sKt,...MYt,...cKt,...UYt,...QYt,...mKt,...pKt,...eKt,...dKt,...$Yt,...KYt,...GYt},Va={50:"#FCFDFD",100:"#F9FAFB",200:"#F4F6F8",300:"#DFE3E8",400:"#C4CDD5",500:"#919EAB",600:"#637381",700:"#454F5B",800:"#1C252E",900:"#141A21",lighter:"#F9FAFB",light:"#DFE3E8",main:"#919EAB",dark:"#454F5B",darker:"#161C24",contrastText:"#FFFFFF"},$8e={lighter:"#e0f2fe",light:"#38bdf8",main:"#0284c7",dark:"#0369a1",darker:"#0c4a6e",contrastText:"#FFFFFF"},C8e={lighter:"#f3e8ff",light:"#94a3b8",main:"#64748b",dark:"#475569",darker:"#334155",contrastText:"#FFFFFF"},I8e={lighter:"#dbeafe",light:"#93c5fd",main:"#2563eb",dark:"#1d4ed8",darker:"#1e40af",contrastText:"#FFFFFF"},R8e={lighter:"#dcfce7",light:"#bbf7d0",main:"#16a34a",dark:"#15803d",darker:"#166534",contrastText:"#ffffff"},P8e={lighter:"#fef3c7",light:"#fde68a",main:"#ca8a04",dark:"#a16207",darker:"#854d0e",contrastText:"#1C252E"},N8e={lighter:"#fee2e2",light:"#fecaca",main:"#dc2626",dark:"#b91c1c",darker:"#991b1b",contrastText:"#FFFFFF"},Qx={common:{black:"#000000",white:"#FFFFFF"},primary:$8e,secondary:C8e,info:I8e,success:R8e,warning:P8e,error:N8e,grey:Va,divider:Zn(Va[500],.2),action:{hover:Zn(Va[500],.08),selected:Zn(Va[500],.16),disabled:Zn(Va[500],.8),disabledBackground:Zn(Va[500],.24),focus:Zn(Va[500],.24),hoverOpacity:.08,disabledOpacity:.48}},D8e={...Qx,text:{primary:Va[800],secondary:Va[600],disabled:Va[500]},background:{paper:"#FFFFFF",default:Zn(Va[500],.2),neutral:"#F5F7FA"},action:{...Qx.action,active:Va[600]}},M8e={...Qx,text:{primary:"#FFFFFF",secondary:Va[500],disabled:Va[600]},background:{paper:Va[800],default:Va[900],neutral:Zn(Va[500],.12)},action:{...Qx.action,active:Va[500]}};function qie(e){return e==="light"?D8e:M8e}const vc={light:{palette:D8e},dark:{palette:M8e}};function fO(e){return`0 8px 16px 0 ${Zn(e,.24)}`}function SW(e){const t=e==="light"?Va[500]:Qx.common.black;return{z1:`0 1px 2px 0 ${Zn(t,.16)}`,z4:`0 4px 8px 0 ${Zn(t,.16)}`,z8:`0 8px 16px 0 ${Zn(t,.16)}`,z12:`0 12px 24px -4px ${Zn(t,.16)}`,z16:`0 16px 32px -4px ${Zn(t,.16)}`,z20:`0 20px 40px -4px ${Zn(t,.16)}`,z24:`0 24px 48px 0 ${Zn(t,.16)}`,dialog:`-40px 40px 80px -8px ${Zn(Qx.common.black,.24)}`,card:`0 0 2px 0 ${Zn(t,.2)}, 0 12px 24px -4px ${Zn(t,.12)}`,dropdown:`0 0 2px 0 ${Zn(t,.24)}, -20px 20px 40px -4px ${Zn(t,.24)}`,primary:fO($8e.main),secondary:fO(C8e.main),info:fO(I8e.main),success:fO(R8e.main),warning:fO(P8e.main),error:fO(N8e.main)}}function WU(e){const t=TKt.find(r=>r.name===e);return{palette:{primary:Go.omit(t,["name"])},customShadows:{primary:`0 8px 16px 0 ${Zn(`${t==null?void 0:t.main}`,.24)}`}}}const _Kt=qie("light"),TKt=[{name:"default",lighter:"#e0f2fe",light:"#38bdf8",main:"#0284c7",dark:"#0369a1",darker:"#0c4a6e",contrastText:"#FFFFFF"},{name:"cyan",lighter:"#CCF4FE",light:"#68CDF9",main:"#078DEE",dark:"#0351AB",darker:"#012972",contrastText:"#FFFFFF"},{name:"purple",lighter:"#EBD6FD",light:"#B985F4",main:"#7635dc",dark:"#431A9E",darker:"#200A69",contrastText:"#FFFFFF"},{name:"blue",lighter:"#D1E9FC",light:"#76B0F1",main:"#2065D1",dark:"#103996",darker:"#061B64",contrastText:"#FFFFFF"},{name:"orange",lighter:"#FEF4D4",light:"#FED680",main:"#fda92d",dark:"#B66816",darker:"#793908",contrastText:_Kt.grey[800]},{name:"red",lighter:"#FFE3D5",light:"#FFC1AC",main:"#FF3030",dark:"#B71833",darker:"#7A0930",contrastText:"#FFFFFF"},{name:"green",lighter:"#D8F5E3",light:"#73D13D",main:"#52C41A",dark:"#389E0D",darker:"#237804",contrastText:"#FFFFFF"},{name:"pink",lighter:"#FFE7F1",light:"#FF85C0",main:"#FF1744",dark:"#C2185B",darker:"#880E4F",contrastText:"#FFFFFF"},{name:"indigo",lighter:"#E8EAF6",light:"#7986CB",main:"#3F51B5",dark:"#303F9F",darker:"#1A237E",contrastText:"#FFFFFF"},{name:"teal",lighter:"#E0F2F1",light:"#4DB6AC",main:"#009688",dark:"#00695C",darker:"#004D40",contrastText:"#FFFFFF"}];function AKt(e,t){const n={...e&&t==="light"&&{palette:{background:{default:qie(t).grey[100]}}}},r={...e&&{MuiCard:{styleOverrides:{root:{boxShadow:SW(t).z4}}}}};return{theme:n,components:r}}const L8e=qie("light"),$Kt=L8e.grey[500],CKt=L8e.common.black;function Ive(e){const t=Zn(e,.2),n=Zn(e,.14),r=Zn(e,.12);return["none",`0px 2px 1px -1px ${t},0px 1px 1px 0px ${n},0px 1px 3px 0px ${r}`,`0px 3px 1px -2px ${t},0px 2px 2px 0px ${n},0px 1px 5px 0px ${r}`,`0px 3px 3px -2px ${t},0px 3px 4px 0px ${n},0px 1px 8px 0px ${r}`,`0px 2px 4px -1px ${t},0px 4px 5px 0px ${n},0px 1px 10px 0px ${r}`,`0px 3px 5px -1px ${t},0px 5px 8px 0px ${n},0px 1px 14px 0px ${r}`,`0px 3px 5px -1px ${t},0px 6px 10px 0px ${n},0px 1px 18px 0px ${r}`,`0px 4px 5px -2px ${t},0px 7px 10px 1px ${n},0px 2px 16px 1px ${r}`,`0px 5px 5px -3px ${t},0px 8px 10px 1px ${n},0px 3px 14px 2px ${r}`,`0px 5px 6px -3px ${t},0px 9px 12px 1px ${n},0px 3px 16px 2px ${r}`,`0px 6px 6px -3px ${t},0px 10px 14px 1px ${n},0px 4px 18px 3px ${r}`,`0px 6px 7px -4px ${t},0px 11px 15px 1px ${n},0px 4px 20px 3px ${r}`,`0px 7px 8px -4px ${t},0px 12px 17px 2px ${n},0px 5px 22px 4px ${r}`,`0px 7px 8px -4px ${t},0px 13px 19px 2px ${n},0px 5px 24px 4px ${r}`,`0px 7px 9px -4px ${t},0px 14px 21px 2px ${n},0px 5px 26px 4px ${r}`,`0px 8px 9px -5px ${t},0px 15px 22px 2px ${n},0px 6px 28px 5px ${r}`,`0px 8px 10px -5px ${t},0px 16px 24px 2px ${n},0px 6px 30px 5px ${r}`,`0px 8px 11px -5px ${t},0px 17px 26px 2px ${n},0px 6px 32px 5px ${r}`,`0px 9px 11px -5px ${t},0px 18px 28px 2px ${n},0px 7px 34px 6px ${r}`,`0px 9px 12px -6px ${t},0px 19px 29px 2px ${n},0px 7px 36px 6px ${r}`,`0px 10px 13px -6px ${t},0px 20px 31px 3px ${n},0px 8px 38px 7px ${r}`,`0px 10px 13px -6px ${t},0px 21px 33px 3px ${n},0px 8px 40px 7px ${r}`,`0px 10px 14px -6px ${t},0px 22px 35px 3px ${n},0px 8px 42px 7px ${r}`,`0px 11px 14px -7px ${t},0px 23px 36px 3px ${n},0px 9px 44px 8px ${r}`,`0px 11px 15px -7px ${t},0px 24px 38px 3px ${n},0px 9px 46px 8px ${r}`]}function IKt(e){return Ive(e==="light"?$Kt:CKt)}function al(e){return`${e/16}rem`}function pO({sm:e,md:t,lg:n}){return{...e?{"@media (min-width:600px)":{fontSize:al(e)}}:{},...t?{"@media (min-width:900px)":{fontSize:al(t)}}:{},...n?{"@media (min-width:1200px)":{fontSize:al(n)}}:{}}}const Yb={fontFamily:'"Inter", "Public Sans", "Roboto", "Helvetica", "Arial", sans-serif',fontSecondaryFamily:"Public Sans",fontWeightRegular:400,fontWeightMedium:500,fontWeightSemiBold:600,fontWeightBold:700,h1:{fontWeight:800,lineHeight:80/64,fontSize:al(40),...pO({sm:36,md:42,lg:48})},h2:{fontWeight:800,lineHeight:64/48,fontSize:al(32),...pO({sm:32,md:36,lg:40})},h3:{fontWeight:700,lineHeight:1.5,fontSize:al(24),...pO({sm:26,md:30,lg:32})},h4:{fontWeight:700,lineHeight:1.5,fontSize:al(20),...pO({sm:20,md:24,lg:24})},h5:{fontWeight:700,lineHeight:1.5,fontSize:al(18),...pO({sm:19,md:20,lg:20})},h6:{fontWeight:600,lineHeight:28/18,fontSize:al(17),...pO({sm:18,md:18,lg:18})},subtitle1:{fontWeight:600,lineHeight:1.5,fontSize:al(16)},subtitle2:{fontWeight:600,lineHeight:22/14,fontSize:al(14)},body1:{lineHeight:1.5,fontSize:al(16)},body2:{lineHeight:22/14,fontSize:al(14)},caption:{lineHeight:1.5,fontSize:al(12)},overline:{fontWeight:700,lineHeight:1.5,fontSize:al(12),textTransform:"uppercase"},button:{fontWeight:600,lineHeight:24/14,fontSize:al(14),textTransform:"none"}};function RKt(e,t){const[n,r]=F.useState(t);F.useEffect(()=>{const s=PKt(e);s&&r(l=>({...l,...s}))},[e]);const i=F.useCallback(s=>{r(l=>(NKt(e,{...l,...s}),{...l,...s}))},[e]),o=F.useCallback((s,l)=>{i({[s]:l})},[i]),a=F.useCallback(()=>{DKt(e),r(t)},[t,e]);return{state:n,update:o,reset:a}}const PKt=e=>{let t=null;try{const n=window.localStorage.getItem(e);n&&(t=JSON.parse(n))}catch(n){console.error(n)}return t},NKt=(e,t)=>{try{window.localStorage.setItem(e,JSON.stringify(t))}catch(n){console.error(n)}},DKt=e=>{try{window.localStorage.removeItem(e)}catch(t){console.error(t)}},MKt="settings",xW={colorScheme:"light",contrast:"default",navLayout:"vertical",primaryColor:"default",navColor:"integrate",compactLayout:!1},j8e=F.createContext({});function LKt({children:e,defaultSettings:t}){const{state:n,update:r,reset:i}=RKt(MKt,{...xW,...t}),[o,a]=F.useState(!1),s=F.useCallback(()=>{a(f=>!f)},[]),l=F.useCallback(()=>{a(!1)},[]),c=F.useCallback(f=>{console.info("Direction change by language:",f)},[]),u=!G3(n,{...xW,...t}),d=F.useMemo(()=>({...n,onUpdate:r,onChangeDirectionByLang:c,canReset:u,onReset:i,open:o,onToggle:s,onClose:l}),[i,r,n,u,o,l,s,c]);return E.jsx(j8e.Provider,{value:d,children:e})}const jKt=()=>{const e=F.useContext(j8e);if(!e)throw new Error("useSettingsContext must be use inside SettingsProvider");return e};function FKt({children:e}){const t=jKt(),n=AKt(t.contrast==="bold",t.colorScheme),r=F.useMemo(()=>({colorSchemes:vc,shadows:IKt(t.colorScheme),customShadows:SW(t.colorScheme),shape:{borderRadius:t.compactLayout?4:8},components:{...kKt,...n.components},typography:{...Yb,...t.compactLayout&&{h1:{...Yb.h1,fontSize:"2rem"},h2:{...Yb.h2,fontSize:"1.75rem"},h3:{...Yb.h3,fontSize:"1.5rem"},h4:{...Yb.h4,fontSize:"1.25rem"},h5:{...Yb.h5,fontSize:"1.125rem"},h6:{...Yb.h6,fontSize:"1rem"}}},cssVarPrefix:""}),[t.colorScheme,t.contrast,t.compactLayout,n]),i=F.useMemo(()=>{var s,l,c,u,d,f,p,h,m;return{...r,colorSchemes:{...vc,light:{palette:{...(s=vc==null?void 0:vc.light)==null?void 0:s.palette,...WU(t.primaryColor).palette,...(l=n.theme)==null?void 0:l.palette,background:{...(u=(c=vc==null?void 0:vc.light)==null?void 0:c.palette)==null?void 0:u.background,...(f=(d=n.theme)==null?void 0:d.palette)==null?void 0:f.background}}},dark:{palette:{...(p=vc==null?void 0:vc.dark)==null?void 0:p.palette,...WU(t.primaryColor).palette,...t.contrast==="bold"&&{background:{...(m=(h=vc==null?void 0:vc.dark)==null?void 0:h.palette)==null?void 0:m.background,default:"#0a0a0a",paper:"#1a1a1a"}}}}},customShadows:{...SW(t.colorScheme),...WU(t.primaryColor).customShadows},components:{...r.components,...t.compactLayout&&{MuiCard:{styleOverrides:{root:{padding:"12px"}}},MuiButton:{styleOverrides:{root:{minHeight:"32px",padding:"6px 12px"}}},MuiTextField:{styleOverrides:{root:{"& .MuiInputBase-root":{minHeight:"36px"}}}}}}}},[t,r,n]),o=pM(i),a={modeStorageKey:"theme-mode",defaultMode:xW.colorScheme};return E.jsxs(mpt,{theme:o,defaultMode:a.defaultMode,modeStorageKey:a.modeStorageKey,children:[E.jsx(S1t,{}),E.jsx(C4e,{styles:{"*":{"::-webkit-scrollbar":{width:5,height:4}," ::-webkit-scrollbar-track":{background:o.palette.grey[50]},"::-webkit-scrollbar-thumb":{background:o.palette.grey[300],borderRadius:12},"::-webkit-scrollbar-thumb:hover":{background:o.palette.grey[400]}},input:{"&[type=number]":{MozAppearance:"textfield","&::-webkit-outer-spin-button":{margin:0,WebkitAppearance:"none"},"&::-webkit-inner-spin-button":{margin:0,WebkitAppearance:"none"}}},body:{a:{textDecoration:"none",color:"inherit"},...t.compactLayout&&{"& .MuiContainer-root":{paddingTop:"8px !important",paddingBottom:"8px !important"},"& .MuiStack-root":{gap:"8px !important"},"& .MuiBox-root":{padding:"8px"}}}}}),e]})}const Rve=document.getElementById("root");Rve&&GH.createRoot(Rve).render(E.jsx(Te.StrictMode,{children:E.jsx(LKt,{children:E.jsx(FKt,{children:E.jsx(kYt,{})})})}));/**
|
|
5444
|
+
- Cookie mode: Sets tokens in HTTP-only cookies and returns success message`,operationId:"AuthController_verify2fa",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthVerify2faRequestDto"}}}},responses:{200:{description:"Header mode: Returns message + tokens in body",content:{"application/json":{schema:{$ref:"#/components/schemas/Verify2faWithTokensResponseDto"}}}}},summary:"Verify MFA",tags:["Auth"]}},"/auth/logout":{post:{operationId:"AuthController_logout",parameters:[],responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthLogoutResponseDto"}}}}},summary:"Logout",tags:["Auth"]}},"/auth/logout-all":{post:{operationId:"AuthController_logoutAll",parameters:[],responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthLogoutAllResponseDto"}}}}},summary:"Logout All",tags:["Auth"]}},"/auth/switch-tenant":{post:{operationId:"AuthController_switchTenant",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthSwitchTenantRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/AuthWithTokensResponseDto"}}}}},summary:"Switch Active Tenant",tags:["Auth"]}},"/auth/change-password":{post:{operationId:"AuthController_changePassword",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthChangePasswordRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/MessageResponseDto"}}}}},summary:"Change Password",tags:["Auth"]}},"/auth/forgot-password":{post:{operationId:"AuthController_forgotPassword",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthForgotPasswordRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthPasswordResetLinkSentResponseDto"}}}}},summary:"Forgot password",tags:["Auth"]}},"/auth/verify-forgot-password-otp":{post:{operationId:"AuthController_verifyForgotPasswordOtp",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthVerifyForgotPasswordOtpRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/VerifyOtpResponseDto"}}}}},summary:"Verify Forgot Password OTP and get reset token",tags:["Auth"]}},"/auth/reset-password":{post:{operationId:"AuthController_resetPassword",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthResetPasswordWithTokenRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthPasswordResetResponseDto"}}}}},summary:"Reset password",tags:["Auth"]}},"/auth/client-config":{get:{description:"Public configuration for clients (tenant mode, auth methods, registration, MFA, etc.). No auth required.",operationId:"AuthController_getClientConfig",parameters:[],responses:{200:{description:"Client configuration"}},summary:"Client config",tags:["Auth"]}},"/auth/user":{get:{operationId:"AuthController_getUser",parameters:[],responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/UserResponseDto"}}}}},summary:"Get Logged In User",tags:["Auth"]}},"/auth/verify-session":{get:{description:"Lightweight endpoint to verify if the current session is valid. Returns minimal information without fetching full user data.",operationId:"AuthController_verifySession",parameters:[],responses:{200:{description:"",content:{"application/json":{schema:{properties:{valid:{type:"boolean",example:!0},userId:{type:"string",example:"123e4567-e89b-12d3-a456-426614174000"},expiresAt:{type:"string",example:"2024-01-01T12:00:00.000Z"}}}}}}},summary:"Verify Session",tags:["Auth"]}},"/auth/send-email-verification":{post:{operationId:"AuthController_sendEmailVerification",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthSendEmailVerificationRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthEmailVerificationSentResponseDto"}}}}},summary:"Send email verification",tags:["Auth"]}},"/auth/verify-email":{post:{operationId:"AuthController_verifyEmail",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthVerifyEmailRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthEmailVerifiedResponseDto"}}}}},summary:"Verify Email",tags:["Auth"]}},"/auth/send-phone-verification":{post:{operationId:"AuthController_sendPhoneVerification",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthSendPhoneVerificationRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthPhoneVerificationSentResponseDto"}}}}},summary:"Send phone verification (SMS OTP)",tags:["Auth"]}},"/auth/verify-phone":{post:{operationId:"AuthController_verifyPhone",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthVerifyPhoneRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthPhoneVerifiedResponseDto"}}}}},summary:"Verify phone number with OTP",tags:["Auth"]}},"/auth/callback/{provider}":{get:{description:"OAuth callback endpoint for SSO providers. Exchanges authorization code for access token and returns raw SSO user info. Returns HTML page that posts SSO data to parent window and auto-closes.",operationId:"AuthController_ssoCallback",parameters:[{name:"provider",required:!0,in:"path",schema:{type:"string"}}],responses:{200:{description:""}},summary:"SSO Callback",tags:["Auth"]}},"/auth/mfa/status":{get:{operationId:"MfaController_getStatus",parameters:[],responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/MfaStatusResponseDto"}}}}},summary:"Get MFA status for the current user",tags:["Mfa"]}},"/auth/mfa/toggle":{post:{operationId:"MfaController_toggleMfa",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthToggleMfaRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthMfaToggleResponseDto"}}}}},summary:"Enable or disable MFA for the current user",tags:["Mfa"]}},"/auth/mfa/devices":{get:{operationId:"MfaController_listDevices",parameters:[],responses:{200:{description:"",content:{"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/MfaDeviceDto"}}}}}},summary:"List registered MFA devices",tags:["Mfa"]}},"/auth/mfa/devices/{deviceId}":{delete:{operationId:"MfaController_removeDevice",parameters:[{name:"deviceId",required:!0,in:"path",schema:{type:"string"}}],responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthMfaDeviceRemovedResponseDto"}}}}},summary:"Remove a registered MFA device",tags:["Mfa"]}},"/auth/mfa/setup-totp":{post:{operationId:"MfaController_setupTotp",parameters:[],responses:{200:{description:""}},summary:"Setup TOTP Device",tags:["Mfa"]}},"/auth/mfa/verify-totp-setup":{post:{operationId:"MfaController_verifyTotpSetup",parameters:[],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthVerifyTotpSetupRequestDto"}}}},responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthMfaDeviceVerifiedResponseDto"}}}}},summary:"Verify TOTP Setup",tags:["Mfa"]}},"/auth/mfa/generate-recovery-code":{post:{operationId:"MfaController_generateRecoveryCodes",parameters:[],responses:{200:{description:""}},summary:"Generate Recovery Codes",tags:["Mfa"]}},"/auth/mfa/reset-totp":{post:{operationId:"MfaController_resetTotp",parameters:[],responses:{200:{description:"",content:{"application/json":{schema:{$ref:"#/components/schemas/NestAuthMfaResetResponseDto"}}}}},summary:"Reset TOTP Device",tags:["Mfa"]}}},vYt={title:"@ackplus/nest-auth API",description:"OpenAPI specification generated from the Nest Auth module",version:"2.0.0-beta.3",contact:{}},OYt=[],SYt=[],xYt={securitySchemes:{bearer:{scheme:"bearer",bearerFormat:"JWT",type:"http"}},schemas:{NestAuthSignupRequestDto:{type:"object",properties:{email:{type:"string",description:"User email address (required if phone not provided)",example:"user@example.com"},phone:{type:"string",description:"User phone number (required if email not provided)",example:"+1234567890"},password:{type:"string",description:"User password",example:"SecurePass123!",minLength:8},tenantId:{type:"string",description:"Tenant ID for multi-tenant applications",example:"123e4567-e89b-12d3-a456-426614174000"},guard:{type:"string",description:"Guard context (e.g. admin, web, vendor) for isolation. Deprecated: use client",example:"admin",deprecated:!0}},required:["password"]},UserResponseDto:{type:"object",properties:{id:{type:"string",description:"User unique identifier",example:"123e4567-e89b-12d3-a456-426614174000"},email:{type:"string",description:"User email address",example:"user@example.com"},phone:{type:"string",description:"User phone number",example:"+1234567890"},isVerified:{type:"boolean",description:"Email verification status",example:!0},isMfaEnabled:{type:"boolean",description:"Whether MFA is enabled for this user",example:!1},roles:{description:"User roles (role names)",example:["admin","user"],type:"array",items:{type:"string"}},permissions:{description:"User permissions (flattened from roles)",example:["read:users","write:users"],type:"array",items:{type:"string"}},metadata:{type:"object",description:"Additional user metadata",example:{firstName:"John",lastName:"Doe"}},tenantId:{type:"string",description:"Tenant ID for multi-tenant applications",example:"tenant-123"},tenants:{description:"Tenants the user belongs to",type:"array",items:{type:"object"}},userAccesses:{description:"User access per tenant (includes roles)",type:"array",items:{type:"object"}}},required:["id","isVerified"]},AuthWithTokensResponseDto:{type:"object",properties:{accessToken:{type:"string",description:"JWT access token (short-lived)",example:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjMiLCJpYXQiOjE2OTk5OTk5OTksImV4cCI6MTY5OTk5OTk5OX0.xyz"},refreshToken:{type:"string",description:"JWT refresh token (long-lived)",example:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjMiLCJ0eXBlIjoicmVmcmVzaCIsImlhdCI6MTY5OTk5OTk5OX0.abc"},message:{type:"string",description:"Success message (added by controller based on configuration)",example:"Login successful"},isRequiresMfa:{type:"boolean",description:"Whether multi-factor authentication is required",example:!1},mfaMethods:{type:"array",description:"Available MFA methods when isRequiresMfa is true",example:["email","totp"],items:{type:"string",enum:["email","sms","totp"]}},defaultMfaMethod:{type:"string",description:"Default/recommended MFA method",example:"email",enum:["email","sms","totp"]},user:{description:"User information",allOf:[{$ref:"#/components/schemas/UserResponseDto"}]},trustToken:{type:"string",description:"Trust token for trusted device verification",example:"1234567890"}},required:["accessToken","refreshToken","isRequiresMfa"]},EmailCredentialsDto:{type:"object",properties:{email:{type:"string",description:"User email address",example:"user@example.com"},password:{type:"string",description:"User password",example:"SecurePass123!",minLength:8}},required:["email","password"]},PhoneCredentialsDto:{type:"object",properties:{phone:{type:"string",description:"User phone number",example:"+1234567890"},password:{type:"string",description:"User password",example:"SecurePass123!",minLength:8}},required:["phone","password"]},SocialCredentialsDto:{type:"object",properties:{token:{type:"string",description:"OAuth token or ID token from social provider",example:"ya29.a0AfH6SMBx1234567890abcdefghijklmnop"}},required:["token"]},PasswordlessOtpCredentialsDto:{type:"object",properties:{identifier:{type:"string",description:"Email or phone (same value as in send request)",example:"user@example.com"},channels:{type:"array",description:"Channel(s) to try in order. Use both when the client is unsure whether `identifier` is email or phone.",example:["email","sms"],items:{type:"string",enum:["email","sms"]}},code:{type:"string",description:"One-time code from email or SMS",example:"123456"}},required:["identifier","channels","code"]},NestAuthLoginRequestDto:{type:"object",properties:{providerName:{type:"string",description:"Authentication provider name",example:"email",enum:["email","phone","passwordless","google","facebook","apple","github"],default:"email"},credentials:{description:"Login credentials - type varies by provider",examples:{emailLogin:{summary:"Email + password",value:{email:"user@example.com",password:"SecurePass123!"}},phoneLogin:{summary:"Phone + password",value:{phone:"+1234567890",password:"SecurePass123!"}},passwordlessOtp:{summary:"Passwordless OTP — set providerName to passwordless (after POST /auth/passwordless/send)",value:{providerName:"passwordless",credentials:{identifier:"user@example.com",channels:["email","sms"],code:"123456"}}},socialLogin:{summary:"Social Login (Google/Facebook/etc)",value:{token:"ya29.a0AfH6SMBx...",type:"idToken"}}},oneOf:[{$ref:"#/components/schemas/EmailCredentialsDto"},{$ref:"#/components/schemas/PhoneCredentialsDto"},{$ref:"#/components/schemas/SocialCredentialsDto"},{$ref:"#/components/schemas/PasswordlessOtpCredentialsDto"}]},tenantId:{type:"string",description:"Tenant ID for multi-tenant applications",example:"123e4567-e89b-12d3-a456-426614174000"},guard:{type:"string",description:"Guard context (e.g. admin, web, vendor) for isolation. Deprecated: use client",example:"admin",deprecated:!0},createUserIfNotExists:{type:"boolean",description:"Auto-create user if not exists (for social auth)",default:!1}},required:["credentials"]},NestAuthPasswordlessSendRequestDto:{type:"object",properties:{identifier:{type:"string",description:"Email or phone (per `channel`)",example:"user@example.com"},channel:{type:"string",enum:["email","sms"]},tenantId:{type:"string"}},required:["identifier","channel"]},MessageResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message"}},required:["message"]},NestAuthRefreshTokenRequestDto:{type:"object",properties:{refreshToken:{type:"string",description:"Refresh token to obtain new access token",example:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjMiLCJ0eXBlIjoicmVmcmVzaCJ9.abc123"}}},NestAuthMfaCodeSentResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"MFA code sent successfully"}},required:["message"]},NestAuthMFAMethodEnum:{type:"string",enum:["email","sms","totp"]},NestAuthVerify2faRequestDto:{type:"object",properties:{method:{description:"MFA method used",example:"totp",allOf:[{$ref:"#/components/schemas/NestAuthMFAMethodEnum"}]},otp:{type:"string",description:"One-time password code",example:"123456",minLength:6,maxLength:8},trustDevice:{type:"boolean",description:"Whether to trust this device for future logins",example:!0}},required:["method","otp"]},Verify2faWithTokensResponseDto:{type:"object",properties:{accessToken:{type:"string",description:"JWT access token (short-lived)",example:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjMiLCJpYXQiOjE2OTk5OTk5OTksImV4cCI6MTY5OTk5OTk5OX0.xyz"},refreshToken:{type:"string",description:"JWT refresh token (long-lived)",example:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjMiLCJ0eXBlIjoicmVmcmVzaCIsImlhdCI6MTY5OTk5OTk5OX0.abc"},message:{type:"string",description:"Verification success message (added by controller)",example:"2FA verification successful"},user:{description:"User information with roles and permissions",allOf:[{$ref:"#/components/schemas/UserResponseDto"}]}},required:["accessToken","refreshToken"]},NestAuthLogoutResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"Logged out successfully"}},required:["message"]},NestAuthLogoutAllResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"Logged out from all devices"}},required:["message"]},NestAuthSwitchTenantRequestDto:{type:"object",properties:{tenantId:{type:"string",description:"Tenant ID to switch into",example:"123e4567-e89b-12d3-a456-426614174000"}},required:["tenantId"]},NestAuthChangePasswordRequestDto:{type:"object",properties:{currentPassword:{type:"string",description:"Current password",example:"DemoOwner1!",minLength:8},newPassword:{type:"string",description:"New password",example:"DemoOwner1!New",minLength:8}},required:["currentPassword","newPassword"]},NestAuthForgotPasswordRequestDto:{type:"object",properties:{email:{type:"string",description:"User email address (required if phone not provided)",example:"user@example.com"},phone:{type:"string",description:"User phone number (required if email not provided)",example:"+1234567890"},tenantId:{type:"string",description:"Tenant ID for multi-tenant applications",example:"123e4567-e89b-12d3-a456-426614174000"}}},NestAuthPasswordResetLinkSentResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"If your email is registered, you will receive a password reset link"}},required:["message"]},NestAuthVerifyForgotPasswordOtpRequestDto:{type:"object",properties:{email:{type:"string",description:"User email address (required if phone not provided)",example:"user@example.com"},phone:{type:"string",description:"User phone number (required if email not provided)",example:"+1234567890"},code:{type:"string",description:"Verification or magic-link code (matches OTP entity `code`)",example:"123456",minLength:6,maxLength:8},tenantId:{type:"string",description:"Tenant ID for multi-tenant applications",example:"123e4567-e89b-12d3-a456-426614174000"}},required:["code"]},VerifyOtpResponseDto:{type:"object",properties:{message:{type:"string",description:"Success message"},resetToken:{type:"string",description:"Password reset token - use this to reset password"}},required:["message"]},NestAuthResetPasswordWithTokenRequestDto:{type:"object",properties:{token:{type:"string",description:"Password reset token (JWT) received after OTP verification",example:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0eXBlIjoicGFzc3dvcmQtcmVzZXQifQ.xyz"},newPassword:{type:"string",description:"New password",example:"NewSecurePass123!",minLength:8}},required:["token","newPassword"]},NestAuthPasswordResetResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"Password has been reset successfully"}},required:["message"]},NestAuthSendEmailVerificationRequestDto:{type:"object",properties:{tenantId:{type:"string",description:"Tenant ID for multi-tenant applications",example:"123e4567-e89b-12d3-a456-426614174000"}}},NestAuthEmailVerificationSentResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"Verification email sent"}},required:["message"]},NestAuthVerifyEmailRequestDto:{type:"object",properties:{code:{type:"string",description:"Verification code received via email",example:"123456",minLength:6,maxLength:8},tenantId:{type:"string",description:"Tenant ID for multi-tenant applications",example:"123e4567-e89b-12d3-a456-426614174000"}},required:["code"]},NestAuthEmailVerifiedResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"Email verified successfully"}},required:["message"]},NestAuthSendPhoneVerificationRequestDto:{type:"object",properties:{tenantId:{type:"string",description:"Tenant ID for multi-tenant applications",example:"123e4567-e89b-12d3-a456-426614174000"}}},NestAuthPhoneVerificationSentResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"Verification SMS sent"}},required:["message"]},NestAuthVerifyPhoneRequestDto:{type:"object",properties:{code:{type:"string",description:"Verification code received via SMS (matches OTP entity `code`)",example:"123456",minLength:6,maxLength:8},tenantId:{type:"string",description:"Tenant ID for multi-tenant applications",example:"123e4567-e89b-12d3-a456-426614174000"}},required:["code"]},NestAuthPhoneVerifiedResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"Phone verified successfully"}},required:["message"]},MfaDeviceDto:{type:"object",properties:{id:{type:"string",description:"Unique identifier of the MFA device",example:"4b3c9c9c-9a9d-4d1e-8d9f-123456789abc"},deviceName:{type:"string",description:"Friendly name of the registered device",example:"Work laptop"},method:{type:"string",description:"MFA method this device supports",enum:["email","sms","totp"],example:"totp"},lastUsedAt:{format:"date-time",type:"string",description:"Timestamp of when the device was last used",example:"2024-05-20T12:34:56.000Z"},verified:{type:"boolean",description:"Whether the device setup has been verified",example:!0},createdAt:{format:"date-time",type:"string",description:"Timestamp of when the device was registered",example:"2024-05-18T10:15:00.000Z"}},required:["id","deviceName","method","verified"]},MfaStatusResponseDto:{type:"object",properties:{isEnabled:{type:"boolean",description:"Whether MFA is currently enabled for the user",example:!0},verifiedMethods:{type:"array",description:"MFA methods the user has verified and can currently use (includes EMAIL/SMS if configured, and TOTP if user has verified device)",example:["email","totp"],items:{type:"string",enum:["email","sms","totp"]}},configuredMethods:{type:"array",description:"All MFA methods configured and available in the application (methods user can potentially set up)",example:["email","totp","sms"],items:{type:"string",enum:["email","sms","totp"]}},allowUserToggle:{type:"boolean",description:"Indicates if MFA toggling is allowed for the user",example:!0},allowMethodSelection:{type:"boolean",description:"Indicates if users can choose their preferred MFA method",example:!0},totpDevices:{description:"Registered TOTP devices for the user",type:"array",items:{$ref:"#/components/schemas/MfaDeviceDto"}},hasRecoveryCode:{type:"boolean",description:"Whether a recovery code has been generated for the user",example:!1},required:{type:"boolean",description:"Whether MFA is required for all users. If true, users cannot disable MFA even if allowUserToggle is true",example:!1},canToggle:{type:"boolean",description:"Whether the user can toggle MFA. This is false if MFA is required (required=true) even if allowUserToggle is true",example:!0}},required:["isEnabled","verifiedMethods","configuredMethods","allowUserToggle","allowMethodSelection","totpDevices","hasRecoveryCode","required","canToggle"]},NestAuthToggleMfaRequestDto:{type:"object",properties:{enabled:{type:"boolean",description:"Whether MFA should be enabled for the current user",example:!0}},required:["enabled"]},NestAuthMfaToggleResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"MFA enabled successfully"}},required:["message"]},NestAuthMfaDeviceRemovedResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"Device removed successfully"}},required:["message"]},NestAuthSendMfaCodeRequestDto:{type:"object",properties:{method:{description:"MFA delivery method",example:"email",examples:{email:{value:"email",description:"Send OTP via email"},sms:{value:"sms",description:"Send OTP via SMS"},totp:{value:"totp",description:"Use authenticator app (TOTP)"}},allOf:[{$ref:"#/components/schemas/NestAuthMFAMethodEnum"}]}},required:["method"]},NestAuthVerifyTotpSetupRequestDto:{type:"object",properties:{otp:{type:"string",description:"The TOTP code from authenticator app",example:"123456",minLength:6,maxLength:6},secret:{type:"string",description:"Secret key from TOTP setup",example:"JBSWY3DPEHPK3PXP"}},required:["otp","secret"]},NestAuthMfaDeviceVerifiedResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"Device setup successfully"}},required:["message"]},NestAuthMfaResetResponseDto:{type:"object",properties:{message:{type:"string",description:"Response message",example:"MFA reset successfully"}},required:["message"]}}},wYt={openapi:bYt,paths:yYt,info:vYt,tags:OYt,servers:SYt,components:xYt},Wk=({content:e})=>E.jsx(FWt,{remarkPlugins:[z7],components:{code({node:t,inline:n,className:r,children:i,...o}){const a=/language-(\w+)/.exec(r||"");return!n&&a?E.jsx(T8e,{...o,style:dYt,language:a[1],PreTag:"div",customStyle:{margin:0,borderRadius:"0.5rem",fontSize:"0.875rem"},children:String(i).replace(/\n$/,"")}):E.jsx("code",{...o,style:{backgroundColor:"var(--mui-palette-grey-200)",color:"var(--mui-palette-grey-800)",borderRadius:4,padding:"2px 4px",fontSize:"0.875rem",fontFamily:"monospace"},children:i})},table({children:t}){return E.jsx(Xe,{sx:{overflowX:"auto",my:2,border:"1px solid",borderColor:"divider",borderRadius:1},children:E.jsx(Xe,{component:"table",sx:{minWidth:"100%",borderCollapse:"collapse","& tr":{borderBottom:"1px solid",borderColor:"divider"}},children:t})})},thead({children:t}){return E.jsx(Xe,{component:"thead",sx:{bgcolor:"grey.50"},children:t})},th({children:t}){return E.jsx(Xe,{component:"th",scope:"col",sx:{px:1.5,py:1.5,textAlign:"left",fontSize:"0.75rem",fontWeight:500,color:"text.secondary",textTransform:"uppercase",letterSpacing:"0.05em"},children:t})},td({children:t}){return E.jsx(Xe,{component:"td",sx:{px:1.5,py:1.5,whiteSpace:"nowrap",fontSize:"0.875rem",color:"text.secondary",borderTop:"1px solid",borderColor:"divider"},children:t})},a({href:t,children:n}){return E.jsx("a",{href:t,style:{color:"var(--mui-palette-primary-main)",textDecoration:"none"},className:"MuiTypography-root MuiLink-root",onMouseOver:r=>{r.currentTarget.style.textDecoration="underline"},onMouseOut:r=>{r.currentTarget.style.textDecoration="none"},target:"_blank",rel:"noopener noreferrer",children:n})},h2({children:t}){return E.jsx(ze,{component:"h2",variant:"h5",sx:{fontWeight:700,mt:3,mb:1.5,pb:1,borderBottom:"1px solid",borderColor:"divider"},children:t})},h3({children:t}){return E.jsx(ze,{component:"h3",variant:"h6",sx:{fontWeight:600,mt:2,mb:1},children:t})},p({children:t}){return E.jsx(ze,{component:"p",sx:{color:"text.primary",lineHeight:1.6,mb:1.5},children:t})},ul({children:t}){return E.jsx(Xe,{component:"ul",sx:{listStyle:"disc",pl:2,mb:1.5,color:"text.primary","& li":{mb:.5}},children:t})},li({children:t}){return E.jsx(Xe,{component:"li",sx:{ml:1},children:t})},blockquote({children:t}){return E.jsx(Xe,{component:"blockquote",sx:{borderLeft:"4px solid",borderColor:"primary.main",pl:1.5,py:.5,my:1.5,bgcolor:"primary.50",color:"text.primary",fontStyle:"italic",borderRadius:"0 4px 4px 0"},children:t})}},children:e}),EYt=()=>{const[e,t]=F.useState(!1),[n,r]=F.useState(null),[i,o]=F.useState("api");F.useEffect(()=>{const l=wYt||{};!l||!l.paths||Object.keys(l.paths||{}).length===0?t(!0):r(l)},[]);const a=()=>{if(!n)return;const l=JSON.stringify(n,null,2),c=new Blob([l],{type:"application/json"}),u=URL.createObjectURL(c),d=document.createElement("a");d.href=u,d.download="nest-auth-api.json",document.body.appendChild(d),d.click(),document.body.removeChild(d),URL.revokeObjectURL(u)},s=[{id:"api",label:"API Explorer",icon:wq},{id:"config",label:"Configuration",icon:v2t},{id:"examples",label:"Examples",icon:Gme},{id:"events",label:"Events",icon:_2t},{id:"api-reference",label:"API Reference",icon:a2t},{id:"services",label:"Services",icon:Gme}];return E.jsxs(Ot,{spacing:3,children:[E.jsx(I1,{title:"API Documentation",description:"Comprehensive guide and interactive API documentation.",action:i==="api"&&E.jsx(mn,{variant:"outlined",color:"inherit",onClick:a,disabled:e,startIcon:E.jsx(ht,{component:f2t}),children:"Download JSON"})}),E.jsx(k3e,{value:i,onChange:(l,c)=>o(c),variant:"scrollable",scrollButtons:"auto",sx:{borderBottom:1,borderColor:"divider"},children:s.map(l=>E.jsx(x3e,{value:l.id,label:l.label,icon:E.jsx(ht,{component:l.icon,sx:{fontSize:16}}),iconPosition:"start"},l.id))}),i==="api"&&(e?E.jsx(hi,{variant:"outlined",sx:{p:3,textAlign:"center"},children:E.jsxs(Xa,{severity:"warning",icon:E.jsx(ht,{component:e2,sx:{fontSize:20}}),sx:{textAlign:"left"},children:[E.jsx(ze,{variant:"subtitle2",gutterBottom:!0,children:"API Documentation Not Available"}),E.jsx(ze,{variant:"body2",children:"The OpenAPI specification file could not be loaded. Make sure the OpenAPI spec has been generated by running the build process."})]})}):E.jsxs(E.Fragment,{children:[E.jsxs(Xa,{severity:"info",icon:E.jsx(ht,{component:wq,sx:{fontSize:20}}),children:[E.jsx(ze,{variant:"subtitle2",gutterBottom:!0,children:"Interactive API Documentation"}),E.jsx(ze,{variant:"body2",children:'This documentation is auto-generated from the OpenAPI specification. You can test endpoints directly from this page. Click "Download JSON" to get the raw OpenAPI specification file for importing into Postman or other API tools.'})]}),n&&E.jsx(yHt,{spec:n})]})),i==="config"&&E.jsx(hi,{variant:"outlined",sx:{p:3},children:E.jsx(Wk,{content:fYt})}),i==="examples"&&E.jsx(hi,{variant:"outlined",sx:{p:3},children:E.jsx(Wk,{content:pYt})}),i==="events"&&E.jsx(hi,{variant:"outlined",sx:{p:3},children:E.jsx(Wk,{content:hYt})}),i==="api-reference"&&E.jsx(hi,{variant:"outlined",sx:{p:3},children:E.jsx(Wk,{content:mYt})}),i==="services"&&E.jsx(hi,{variant:"outlined",sx:{p:3},children:E.jsx(Wk,{content:gYt})})]})},S0=({children:e,authenticated:t})=>t===null?E.jsx(Xe,{sx:{minHeight:"100vh",bgcolor:"grey.50",display:"flex",alignItems:"center",justifyContent:"center"},children:E.jsxs(Xe,{sx:{textAlign:"center"},children:[E.jsx(Vh,{size:64,sx:{mb:2}}),E.jsx(ze,{color:"text.secondary",fontWeight:"medium",children:"Verifying authentication..."})]})}):t?E.jsx(E.Fragment,{children:e}):E.jsx(AO,{to:"/login",replace:!0}),kYt=()=>{const[e,t]=F.useState(null),[n,r]=F.useState(null),[i,o]=F.useState(!1),[a,s]=F.useState(null);F.useEffect(()=>{l()},[]);const l=async()=>{try{await fr.get("/me"),t(!0);const d=await fr.get("/config");r(d)}catch(d){const f=d instanceof U4e?d.status:void 0;f===401||f===403||console.error("Auth check failed:",d),t(!1);try{const h=await fr.get("/config");r(h)}catch(h){console.error("Failed to load config:",h),r({allowAdminManagement:!1})}}finally{o(!0)}},c=async d=>{s(null);try{await fr.post("/login",d),t(!0),await l()}catch(f){throw t(!1),s((f==null?void 0:f.message)||"Login failed"),f}},u=async()=>{try{await fr.post("/logout",{})}catch(d){console.error("Logout failed:",d)}t(!1)};return!i||n===null?E.jsx(Xe,{sx:{minHeight:"100vh",background:"linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #e9d5ff 100%)",display:"flex",alignItems:"center",justifyContent:"center"},children:E.jsxs(Xe,{sx:{textAlign:"center"},children:[E.jsx(Vh,{size:64,sx:{color:"primary.main",mb:2}}),E.jsx(ze,{color:"text.primary",fontWeight:"medium",variant:"h6",children:"Loading Nest Auth Dashboard..."}),E.jsx(ze,{color:"text.secondary",variant:"body2",sx:{mt:1},children:"Verifying authentication"})]})}):E.jsx(t2t,{children:E.jsx(r2t,{children:E.jsx(Iht,{children:E.jsxs(wht,{children:[E.jsx(yd,{path:"/login",element:e?E.jsx(AO,{to:"/dashboard",replace:!0}):E.jsx(oSt,{onLogin:c,error:a})}),E.jsx(yd,{path:"/dashboard",element:E.jsx(S0,{authenticated:e,children:E.jsx(y0,{config:n,onLogout:u,children:E.jsx(Ozt,{})})})}),E.jsx(yd,{path:"/users",element:E.jsx(S0,{authenticated:e,children:E.jsx(y0,{config:n,onLogout:u,children:E.jsx(_zt,{})})})}),E.jsx(yd,{path:"/users/:id",element:E.jsx(S0,{authenticated:e,children:E.jsx(y0,{config:n,onLogout:u,children:E.jsx(Qzt,{})})})}),E.jsx(yd,{path:"/roles",element:E.jsx(S0,{authenticated:e,children:E.jsx(y0,{config:n,onLogout:u,children:E.jsx(eHt,{})})})}),E.jsx(yd,{path:"/tenants",element:E.jsx(S0,{authenticated:e,children:E.jsx(y0,{config:n,onLogout:u,children:E.jsx(rHt,{})})})}),E.jsx(yd,{path:"/permissions",element:E.jsx(S0,{authenticated:e,children:E.jsx(y0,{config:n,onLogout:u,children:E.jsx(hHt,{})})})}),E.jsx(yd,{path:"/api",element:E.jsx(S0,{authenticated:e,children:E.jsx(y0,{config:n,onLogout:u,children:E.jsx(EYt,{})})})}),n.allowAdminManagement&&E.jsx(yd,{path:"/admins",element:E.jsx(S0,{authenticated:e,children:E.jsx(y0,{config:n,onLogout:u,children:E.jsx(sHt,{})})})}),E.jsx(yd,{path:"/",element:e?E.jsx(AO,{to:"/dashboard",replace:!0}):E.jsx(AO,{to:"/login",replace:!0})}),E.jsx(yd,{path:"*",element:e?E.jsx(AO,{to:"/dashboard",replace:!0}):E.jsx(AO,{to:"/login",replace:!0})})]})})})})},_Yt={defaultProps:{color:"transparent"},styleOverrides:{root:{boxShadow:"none"}}},TYt={MuiAppBar:_Yt},AYt={styleOverrides:{paper:({theme:e})=>({boxShadow:e.customShadows.dropdown})}},$Yt={MuiAutocomplete:AYt},CYt=["primary","secondary","info","success","warning","error"],IYt=e=>{const t=e.charAt(0).toLowerCase();return["a","c","f"].includes(t)?"primary":["e","d","h"].includes(t)?"secondary":["i","k","l"].includes(t)?"info":["m","n","p"].includes(t)?"success":["q","s","t"].includes(t)?"warning":["v","x","y"].includes(t)?"error":"default"},_ve={colors:CYt.map(e=>({props:({ownerState:t})=>t.color===e,style:({theme:t})=>({color:t.palette[e].contrastText,backgroundColor:t.palette[e].main})})),defaultColor:[{props:({ownerState:e})=>e.color==="default",style:({theme:e})=>({color:e.palette.text.secondary,backgroundColor:Zn(e.palette.grey[500],.5)})}]},RYt={variants:[..._ve.defaultColor,..._ve.colors],styleOverrides:{rounded:({theme:e})=>({borderRadius:(Number(e.shape.borderRadius)||1)*1.5}),colorDefault:({ownerState:e,theme:t})=>{const n=IYt(`${e.alt}`);return{...!!e.alt&&{...n!=="default"?{color:t.palette[n].contrastText,backgroundColor:t.palette[n].main}:{color:t.palette.text.secondary,backgroundColor:Zn(t.palette.grey[500],.1)}}}}}},PYt={defaultProps:{max:4},styleOverrides:{root:({ownerState:e})=>({justifyContent:"flex-end",...e.variant==="compact"&&{width:40,height:40,position:"relative",[`& .${j0t.avatar}`]:{margin:0,width:28,height:28,position:"absolute","&:first-of-type":{left:0,bottom:0,zIndex:9},"&:last-of-type":{top:0,right:0}}}}),avatar:({theme:e})=>({fontSize:16,fontWeight:e.typography.fontWeightSemiBold,"&:first-of-type":{fontSize:12,color:e.palette.primary.dark,backgroundColor:e.palette.primary.lighter}})}},NYt={MuiAvatar:RYt,MuiAvatarGroup:PYt},DYt={styleOverrides:{root:{},sizeSmall:{[`& .${Ghe.root}`]:{height:12,width:12}},sizeLarge:{[`& .${Ghe.root}`]:{height:18,width:18}}}},MYt={MuiButton:DYt},LYt={styleOverrides:{root:({theme:e})=>({position:"relative",boxShadow:e.customShadows.card,zIndex:0})}},jYt={defaultProps:{titleTypographyProps:{variant:"h6"},subheaderTypographyProps:{variant:"body2",marginTop:"4px"}},styleOverrides:{root:({theme:e})=>({padding:e.spacing(1.5,2,1.5),[e.breakpoints.down("md")]:{padding:e.spacing(2,2,.5)}}),action:{alignSelf:"center"}}},FYt={styleOverrides:{root:({theme:e})=>({padding:e.spacing(2),[e.breakpoints.down("md")]:{padding:e.spacing(2)}})}},BYt={styleOverrides:{root:({theme:e})=>({padding:e.spacing(2),[e.breakpoints.down("md")]:{padding:e.spacing(2)}})}},UYt={MuiCard:LYt,MuiCardHeader:jYt,MuiCardContent:FYt,MuiCardActions:BYt};function zYt(e){return E.jsx(px,{...e,children:E.jsx("path",{d:"M17.9 2.318A5 5 0 0 1 22.895 7.1l.005.217v10a5 5 0 0 1-4.783 4.995l-.217.005h-10a5 5 0 0 1-4.995-4.783l-.005-.217v-10a5 5 0 0 1 4.783-4.996l.217-.004h10Zm-.5 1.5h-9a4 4 0 0 0-4 4v9a4 4 0 0 0 4 4h9a4 4 0 0 0 4-4v-9a4 4 0 0 0-4-4Z"})})}function HYt(e){return E.jsx(px,{...e,children:E.jsx("path",{d:"M17 2a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm-1.625 7.255-4.13 4.13-1.75-1.75a.881.881 0 0 0-1.24 0c-.34.34-.34.89 0 1.24l2.38 2.37c.17.17.39.25.61.25.23 0 .45-.08.62-.25l4.75-4.75c.34-.34.34-.89 0-1.24a.881.881 0 0 0-1.24 0Z"})})}function VYt(e){return E.jsx(px,{...e,children:E.jsx("path",{d:"M17,2 C19.7614,2 22,4.23858 22,7 L22,7 L22,17 C22,19.7614 19.7614,22 17,22 L17,22 L7,22 C4.23858,22 2,19.7614 2,17 L2,17 L2,7 C2,4.23858 4.23858,2 7,2 L7,2 Z M15,11 L9,11 C8.44772,11 8,11.4477 8,12 C8,12.5523 8.44772,13 9,13 L15,13 C15.5523,13 16,12.5523 16,12 C16,11.4477 15.5523,11 15,11 Z"})})}const qYt={defaultProps:{size:"small",icon:E.jsx(zYt,{}),checkedIcon:E.jsx(HYt,{}),indeterminateIcon:E.jsx(VYt,{})},styleOverrides:{root:({ownerState:e,theme:t})=>({padding:t.spacing(1),...e.color==="default"&&{[`&.${_S.checked}`]:{color:t.palette.text.primary}},[`&.${_S.disabled}`]:{color:t.palette.action.disabled}})}},QYt={MuiCheckbox:qYt},WYt={defaultProps:{onClick:()=>{}},variants:[{props:{size:"x-small"},style:{height:18,fontSize:"0.6875rem",px:.2}}]},GYt={MuiChip:WYt},Vie=["primary","secondary","info","success","warning","error"],A8e=["default","inherit"],ZYt=["extended","outlinedExtended","softExtended"],Tve=["circular","extended"],Ave=["outlined","outlinedExtended"],$ve=["soft","softExtended"],cO={colors:Vie.map(e=>({props:({ownerState:t})=>!(t!=null&&t.disabled)&&Tve.includes(t==null?void 0:t.variant)&&t.color===e,style:({theme:t})=>({boxShadow:t.customShadows[e],"&:hover":{boxShadow:"none"}})})),base:[{props:({ownerState:e})=>Tve.includes(e==null?void 0:e.variant)&&A8e.includes(e==null?void 0:e.color),style:({theme:e})=>({boxShadow:e.customShadows.z8,color:e.palette.grey[800],backgroundColor:e.palette.grey[300],"&:hover":{boxShadow:"none",backgroundColor:e.palette.grey[400]},[`&.${Ox.colorInherit}`]:{color:e.palette.common.white,backgroundColor:e.palette.text.primary,"&:hover":{backgroundColor:e.palette.grey[700]},...e.palette.mode==="dark"&&{color:e.palette.grey[800],"&:hover":{backgroundColor:e.palette.grey[400]}}}})}]},uO={colors:Vie.map(e=>({props:({ownerState:t})=>!(t!=null&&t.disabled)&&Ave.includes(t==null?void 0:t.variant)&&t.color===e,style:({theme:t})=>({color:t.palette[e].main,border:`solid 1px ${Zn(t.palette[e].main,.48)}`,"&:hover":{backgroundColor:Zn(t.palette[e].main,.08)}})})),base:[{props:({ownerState:e})=>Ave.includes(e==null?void 0:e.variant),style:({theme:e})=>({boxShadow:"none",backgroundColor:"transparent",color:e.palette.text.secondary,border:`solid 1px ${Zn(e.palette.grey[500],.32)}`,"&:hover":{borderColor:"currentColor",boxShadow:"0 0 0 0.75px currentColor",backgroundColor:e.palette.action.hover},[`&.${Ox.colorInherit}`]:{color:e.palette.text.primary},[`&.${Ox.disabled}`]:{backgroundColor:"transparent",border:`1px solid ${e.palette.action.disabledBackground}`}})}]},dO={colors:Vie.map(e=>({props:({ownerState:t})=>!(t!=null&&t.disabled)&&$ve.includes(t==null?void 0:t.variant)&&t.color===e,style:({theme:t})=>({boxShadow:"none",color:t.palette[e].dark,backgroundColor:Zn(t.palette[e].main,.16),"&:hover":{boxShadow:"none",backgroundColor:Zn(t.palette[e].main,.32)},...t.palette.mode==="dark"&&{color:t.palette[e].light}})})),base:[{props:({ownerState:e})=>$ve.includes(e==null?void 0:e.variant)&&A8e.includes(e==null?void 0:e.color),style:({theme:e})=>({boxShadow:"none",color:e.palette.grey[800],backgroundColor:e.palette.grey[300],"&:hover":{boxShadow:"none",backgroundColor:e.palette.grey[400]},[`&.${Ox.colorInherit}`]:{color:e.palette.text.primary,backgroundColor:Zn(e.palette.grey[500],.08),"&:hover":{backgroundColor:Zn(e.palette.grey[500],.24)}}})}]},XYt=[{props:({ownerState:e})=>ZYt.includes(e==null?void 0:e.variant),style:({theme:e})=>({height:48,width:"auto",minHeight:48,borderRadius:48/2,gap:e.spacing(1),padding:e.spacing(0,2),[`&.${Ox.sizeSmall}`]:{height:36,minHeight:36,borderRadius:36/2,gap:e.spacing(.5),padding:e.spacing(0,1)},[`&.${Ox.sizeMedium}`]:{height:40,minHeight:40,borderRadius:40/2}})},{props:({ownerState:e})=>e.size==="x-small",style:({theme:e})=>({height:30,width:30,minHeight:30,borderRadius:30/2,gap:e.spacing(.5),padding:e.spacing(0,1)})}],YYt={defaultProps:{color:"primary"},variants:[...(cO==null?void 0:cO.base)??[],...(cO==null?void 0:cO.colors)??[],...(uO==null?void 0:uO.base)??[],...(uO==null?void 0:uO.colors)??[],...(dO==null?void 0:dO.base)??[],...(dO==null?void 0:dO.colors)??[],...XYt],styleOverrides:{}},KYt={MuiFab:YYt},JYt={styleOverrides:{root:{boxShadow:"none"}}},eKt={MuiIconButton:JYt},tKt={styleOverrides:{root:({theme:e})=>({color:"inherit",minWidth:"auto",marginRight:e.spacing(2)})}},nKt={styleOverrides:{root:({theme:e})=>({minWidth:"auto",marginRight:e.spacing(2)})}},rKt={styleOverrides:{root:({theme:e})=>({color:e.palette.text.primary})}},iKt={defaultProps:{primaryTypographyProps:{typography:"subtitle2",color:"text.primary"},secondaryTypographyProps:{typography:"caption",color:"text.secondary"}},styleOverrides:{root:{margin:0},multiline:{margin:0}}},oKt={MuiListItemIcon:tKt,MuiListItemAvatar:nKt,MuiListItemButton:rKt,MuiListItemText:iKt},aKt={styleOverrides:{root:({theme:e})=>({...e.typography.body2,padding:e.spacing(.75,1),borderRadius:(Number(e.shape.borderRadius)||1)*.75,"&:not(:last-of-type)":{marginBottom:4},[`&.${CO.selected}`]:{fontWeight:e.typography.fontWeightSemiBold,backgroundColor:e.palette.action.selected,"&:hover":{backgroundColor:e.palette.action.hover}},[`& .${_S.root}`]:{padding:e.spacing(.5),marginLeft:e.spacing(-.5),marginRight:e.spacing(.5)},[`&.${rr.option}[aria-selected="true"]`]:{backgroundColor:e.palette.action.selected,"&:hover":{backgroundColor:e.palette.action.hover}},[`&+.${pq.root}`]:{margin:e.spacing(.5,0)}})}},sKt={MuiMenuItem:aKt},lKt={defaultProps:{elevation:0},styleOverrides:{root:{backgroundImage:"none"},outlined:({theme:e})=>({borderColor:Zn(e.palette.grey[500],.16)})}},cKt={MuiPaper:lKt},uKt={defaultProps:{MenuProps:{PaperProps:{sx:e=>({maxHeight:250,transform:"translateY(4px)",boxShadow:e.customShadows.card})}}}},dKt={MuiSelect:uKt},fKt={styleOverrides:{}},pKt={MuiSvgIcon:fKt},Cve={dark:'[data-mui-color-scheme="dark"] &'},hKt={styleOverrides:{root:{alignItems:"center"},switchBase:({ownerState:e,theme:t})=>({top:"unset",transform:"translateX(6px)",[`&.${lo.checked}`]:{[`& .${lo.thumb}`]:{...e.color==="default"&&{[Cve.dark]:{color:t.palette.grey[800]}}},[`&+.${lo.track}`]:{opacity:1,...e.color==="default"&&{backgroundColor:t.palette.text.primary}}},[`&.${lo.disabled}`]:{[`& .${lo.thumb}`]:{opacity:1,[Cve.dark]:{opacity:.48}},[`&+.${lo.track}`]:{opacity:.48}}}),track:({theme:e})=>({opacity:1,borderRadius:10,backgroundColor:Zn(e.palette.grey[500],.48)}),thumb:({theme:e})=>({color:e.palette.common.white}),sizeMedium:{[`& .${lo.track}`]:{height:20},[`& .${lo.thumb}`]:{width:14,height:14}},sizeSmall:{[`& .${lo.track}`]:{height:16},[`& .${lo.thumb}`]:{width:10,height:10}}}},mKt={MuiSwitch:hKt},gKt={styleOverrides:{root:({theme:e})=>({position:"relative",scrollbarWidth:"thin",scrollbarColor:`${Zn(e.palette.text.disabled,.4)} ${Zn(e.palette.text.disabled,.08)}`})}},bKt={styleOverrides:{root:({theme:e})=>({"--palette-TableCell-border":e.palette.divider})}},yKt={styleOverrides:{root:({theme:e})=>({[`&.${xq.selected}`]:{backgroundColor:Zn(e.palette.primary.dark,.04),"&:hover":{backgroundColor:Zn(e.palette.primary.dark,.08)}},"&:last-of-type":{[`& .${E3e.root}`]:{borderColor:"transparent"}}})}},vKt={styleOverrides:{root:{borderBottomStyle:"dashed"},head:({theme:e})=>({fontSize:14,color:e.palette.text.secondary,fontWeight:e.typography.fontWeightSemiBold,backgroundColor:e.palette.background.neutral}),stickyHeader:({theme:e})=>({backgroundColor:e.palette.background.paper,backgroundImage:`linear-gradient(to bottom, ${e.palette.background.neutral} 0%, ${e.palette.background.neutral} 100%)`}),paddingCheckbox:({theme:e})=>({paddingLeft:e.spacing(1)})}},OKt={defaultProps:{backIconButtonProps:{size:"small"},nextIconButtonProps:{size:"small"}},styleOverrides:{root:({theme:e})=>({width:"100%",[e.breakpoints.down("sm")]:{"& .MuiTablePagination-input":{marginRight:8}}}),toolbar:{height:64},actions:({theme:e})=>({marginRight:8,[e.breakpoints.down("md")]:{marginLeft:16}}),select:({theme:e})=>({paddingLeft:8,"&:focus":{borderRadius:e.shape.borderRadius}}),selectIcon:{right:4,width:16,height:16,top:"calc(50% - 8px)"}}},SKt={MuiTable:bKt,MuiTableRow:yKt,MuiTableCell:vKt,MuiTableContainer:gKt,MuiTablePagination:OKt},xKt={defaultProps:{textColor:"inherit",variant:"scrollable",allowScrollButtonsMobile:!0},styleOverrides:{root:({theme:e})=>({borderBottom:`1px solid ${e.palette.divider}`}),flexContainer:({ownerState:e,theme:t})=>({...e.variant!=="fullWidth"&&{gap:"24px",[t.breakpoints.up("sm")]:{gap:"40px"}}}),indicator:{backgroundColor:"currentColor"}}},wKt={defaultProps:{disableRipple:!0,iconPosition:"start"},styleOverrides:{root:({theme:e})=>({opacity:1,minWidth:48,minHeight:48,padding:e.spacing(1,0),color:e.palette.text.secondary,fontWeight:e.typography.fontWeightMedium,lineHeight:e.typography.body2.lineHeight,[`&.${uu.selected}`]:{color:e.palette.text.primary,fontWeight:e.typography.fontWeightSemiBold}})}},EKt={MuiTabs:xKt,MuiTab:wKt},kKt={...TYt,...NYt,...SKt,...EKt,...oKt,...sKt,...MYt,...cKt,...UYt,...QYt,...mKt,...pKt,...eKt,...dKt,...$Yt,...KYt,...GYt},Va={50:"#FCFDFD",100:"#F9FAFB",200:"#F4F6F8",300:"#DFE3E8",400:"#C4CDD5",500:"#919EAB",600:"#637381",700:"#454F5B",800:"#1C252E",900:"#141A21",lighter:"#F9FAFB",light:"#DFE3E8",main:"#919EAB",dark:"#454F5B",darker:"#161C24",contrastText:"#FFFFFF"},$8e={lighter:"#e0f2fe",light:"#38bdf8",main:"#0284c7",dark:"#0369a1",darker:"#0c4a6e",contrastText:"#FFFFFF"},C8e={lighter:"#f3e8ff",light:"#94a3b8",main:"#64748b",dark:"#475569",darker:"#334155",contrastText:"#FFFFFF"},I8e={lighter:"#dbeafe",light:"#93c5fd",main:"#2563eb",dark:"#1d4ed8",darker:"#1e40af",contrastText:"#FFFFFF"},R8e={lighter:"#dcfce7",light:"#bbf7d0",main:"#16a34a",dark:"#15803d",darker:"#166534",contrastText:"#ffffff"},P8e={lighter:"#fef3c7",light:"#fde68a",main:"#ca8a04",dark:"#a16207",darker:"#854d0e",contrastText:"#1C252E"},N8e={lighter:"#fee2e2",light:"#fecaca",main:"#dc2626",dark:"#b91c1c",darker:"#991b1b",contrastText:"#FFFFFF"},Qx={common:{black:"#000000",white:"#FFFFFF"},primary:$8e,secondary:C8e,info:I8e,success:R8e,warning:P8e,error:N8e,grey:Va,divider:Zn(Va[500],.2),action:{hover:Zn(Va[500],.08),selected:Zn(Va[500],.16),disabled:Zn(Va[500],.8),disabledBackground:Zn(Va[500],.24),focus:Zn(Va[500],.24),hoverOpacity:.08,disabledOpacity:.48}},D8e={...Qx,text:{primary:Va[800],secondary:Va[600],disabled:Va[500]},background:{paper:"#FFFFFF",default:Zn(Va[500],.2),neutral:"#F5F7FA"},action:{...Qx.action,active:Va[600]}},M8e={...Qx,text:{primary:"#FFFFFF",secondary:Va[500],disabled:Va[600]},background:{paper:Va[800],default:Va[900],neutral:Zn(Va[500],.12)},action:{...Qx.action,active:Va[500]}};function qie(e){return e==="light"?D8e:M8e}const vc={light:{palette:D8e},dark:{palette:M8e}};function fO(e){return`0 8px 16px 0 ${Zn(e,.24)}`}function SW(e){const t=e==="light"?Va[500]:Qx.common.black;return{z1:`0 1px 2px 0 ${Zn(t,.16)}`,z4:`0 4px 8px 0 ${Zn(t,.16)}`,z8:`0 8px 16px 0 ${Zn(t,.16)}`,z12:`0 12px 24px -4px ${Zn(t,.16)}`,z16:`0 16px 32px -4px ${Zn(t,.16)}`,z20:`0 20px 40px -4px ${Zn(t,.16)}`,z24:`0 24px 48px 0 ${Zn(t,.16)}`,dialog:`-40px 40px 80px -8px ${Zn(Qx.common.black,.24)}`,card:`0 0 2px 0 ${Zn(t,.2)}, 0 12px 24px -4px ${Zn(t,.12)}`,dropdown:`0 0 2px 0 ${Zn(t,.24)}, -20px 20px 40px -4px ${Zn(t,.24)}`,primary:fO($8e.main),secondary:fO(C8e.main),info:fO(I8e.main),success:fO(R8e.main),warning:fO(P8e.main),error:fO(N8e.main)}}function WU(e){const t=TKt.find(r=>r.name===e);return{palette:{primary:Go.omit(t,["name"])},customShadows:{primary:`0 8px 16px 0 ${Zn(`${t==null?void 0:t.main}`,.24)}`}}}const _Kt=qie("light"),TKt=[{name:"default",lighter:"#e0f2fe",light:"#38bdf8",main:"#0284c7",dark:"#0369a1",darker:"#0c4a6e",contrastText:"#FFFFFF"},{name:"cyan",lighter:"#CCF4FE",light:"#68CDF9",main:"#078DEE",dark:"#0351AB",darker:"#012972",contrastText:"#FFFFFF"},{name:"purple",lighter:"#EBD6FD",light:"#B985F4",main:"#7635dc",dark:"#431A9E",darker:"#200A69",contrastText:"#FFFFFF"},{name:"blue",lighter:"#D1E9FC",light:"#76B0F1",main:"#2065D1",dark:"#103996",darker:"#061B64",contrastText:"#FFFFFF"},{name:"orange",lighter:"#FEF4D4",light:"#FED680",main:"#fda92d",dark:"#B66816",darker:"#793908",contrastText:_Kt.grey[800]},{name:"red",lighter:"#FFE3D5",light:"#FFC1AC",main:"#FF3030",dark:"#B71833",darker:"#7A0930",contrastText:"#FFFFFF"},{name:"green",lighter:"#D8F5E3",light:"#73D13D",main:"#52C41A",dark:"#389E0D",darker:"#237804",contrastText:"#FFFFFF"},{name:"pink",lighter:"#FFE7F1",light:"#FF85C0",main:"#FF1744",dark:"#C2185B",darker:"#880E4F",contrastText:"#FFFFFF"},{name:"indigo",lighter:"#E8EAF6",light:"#7986CB",main:"#3F51B5",dark:"#303F9F",darker:"#1A237E",contrastText:"#FFFFFF"},{name:"teal",lighter:"#E0F2F1",light:"#4DB6AC",main:"#009688",dark:"#00695C",darker:"#004D40",contrastText:"#FFFFFF"}];function AKt(e,t){const n={...e&&t==="light"&&{palette:{background:{default:qie(t).grey[100]}}}},r={...e&&{MuiCard:{styleOverrides:{root:{boxShadow:SW(t).z4}}}}};return{theme:n,components:r}}const L8e=qie("light"),$Kt=L8e.grey[500],CKt=L8e.common.black;function Ive(e){const t=Zn(e,.2),n=Zn(e,.14),r=Zn(e,.12);return["none",`0px 2px 1px -1px ${t},0px 1px 1px 0px ${n},0px 1px 3px 0px ${r}`,`0px 3px 1px -2px ${t},0px 2px 2px 0px ${n},0px 1px 5px 0px ${r}`,`0px 3px 3px -2px ${t},0px 3px 4px 0px ${n},0px 1px 8px 0px ${r}`,`0px 2px 4px -1px ${t},0px 4px 5px 0px ${n},0px 1px 10px 0px ${r}`,`0px 3px 5px -1px ${t},0px 5px 8px 0px ${n},0px 1px 14px 0px ${r}`,`0px 3px 5px -1px ${t},0px 6px 10px 0px ${n},0px 1px 18px 0px ${r}`,`0px 4px 5px -2px ${t},0px 7px 10px 1px ${n},0px 2px 16px 1px ${r}`,`0px 5px 5px -3px ${t},0px 8px 10px 1px ${n},0px 3px 14px 2px ${r}`,`0px 5px 6px -3px ${t},0px 9px 12px 1px ${n},0px 3px 16px 2px ${r}`,`0px 6px 6px -3px ${t},0px 10px 14px 1px ${n},0px 4px 18px 3px ${r}`,`0px 6px 7px -4px ${t},0px 11px 15px 1px ${n},0px 4px 20px 3px ${r}`,`0px 7px 8px -4px ${t},0px 12px 17px 2px ${n},0px 5px 22px 4px ${r}`,`0px 7px 8px -4px ${t},0px 13px 19px 2px ${n},0px 5px 24px 4px ${r}`,`0px 7px 9px -4px ${t},0px 14px 21px 2px ${n},0px 5px 26px 4px ${r}`,`0px 8px 9px -5px ${t},0px 15px 22px 2px ${n},0px 6px 28px 5px ${r}`,`0px 8px 10px -5px ${t},0px 16px 24px 2px ${n},0px 6px 30px 5px ${r}`,`0px 8px 11px -5px ${t},0px 17px 26px 2px ${n},0px 6px 32px 5px ${r}`,`0px 9px 11px -5px ${t},0px 18px 28px 2px ${n},0px 7px 34px 6px ${r}`,`0px 9px 12px -6px ${t},0px 19px 29px 2px ${n},0px 7px 36px 6px ${r}`,`0px 10px 13px -6px ${t},0px 20px 31px 3px ${n},0px 8px 38px 7px ${r}`,`0px 10px 13px -6px ${t},0px 21px 33px 3px ${n},0px 8px 40px 7px ${r}`,`0px 10px 14px -6px ${t},0px 22px 35px 3px ${n},0px 8px 42px 7px ${r}`,`0px 11px 14px -7px ${t},0px 23px 36px 3px ${n},0px 9px 44px 8px ${r}`,`0px 11px 15px -7px ${t},0px 24px 38px 3px ${n},0px 9px 46px 8px ${r}`]}function IKt(e){return Ive(e==="light"?$Kt:CKt)}function al(e){return`${e/16}rem`}function pO({sm:e,md:t,lg:n}){return{...e?{"@media (min-width:600px)":{fontSize:al(e)}}:{},...t?{"@media (min-width:900px)":{fontSize:al(t)}}:{},...n?{"@media (min-width:1200px)":{fontSize:al(n)}}:{}}}const Yb={fontFamily:'"Inter", "Public Sans", "Roboto", "Helvetica", "Arial", sans-serif',fontSecondaryFamily:"Public Sans",fontWeightRegular:400,fontWeightMedium:500,fontWeightSemiBold:600,fontWeightBold:700,h1:{fontWeight:800,lineHeight:80/64,fontSize:al(40),...pO({sm:36,md:42,lg:48})},h2:{fontWeight:800,lineHeight:64/48,fontSize:al(32),...pO({sm:32,md:36,lg:40})},h3:{fontWeight:700,lineHeight:1.5,fontSize:al(24),...pO({sm:26,md:30,lg:32})},h4:{fontWeight:700,lineHeight:1.5,fontSize:al(20),...pO({sm:20,md:24,lg:24})},h5:{fontWeight:700,lineHeight:1.5,fontSize:al(18),...pO({sm:19,md:20,lg:20})},h6:{fontWeight:600,lineHeight:28/18,fontSize:al(17),...pO({sm:18,md:18,lg:18})},subtitle1:{fontWeight:600,lineHeight:1.5,fontSize:al(16)},subtitle2:{fontWeight:600,lineHeight:22/14,fontSize:al(14)},body1:{lineHeight:1.5,fontSize:al(16)},body2:{lineHeight:22/14,fontSize:al(14)},caption:{lineHeight:1.5,fontSize:al(12)},overline:{fontWeight:700,lineHeight:1.5,fontSize:al(12),textTransform:"uppercase"},button:{fontWeight:600,lineHeight:24/14,fontSize:al(14),textTransform:"none"}};function RKt(e,t){const[n,r]=F.useState(t);F.useEffect(()=>{const s=PKt(e);s&&r(l=>({...l,...s}))},[e]);const i=F.useCallback(s=>{r(l=>(NKt(e,{...l,...s}),{...l,...s}))},[e]),o=F.useCallback((s,l)=>{i({[s]:l})},[i]),a=F.useCallback(()=>{DKt(e),r(t)},[t,e]);return{state:n,update:o,reset:a}}const PKt=e=>{let t=null;try{const n=window.localStorage.getItem(e);n&&(t=JSON.parse(n))}catch(n){console.error(n)}return t},NKt=(e,t)=>{try{window.localStorage.setItem(e,JSON.stringify(t))}catch(n){console.error(n)}},DKt=e=>{try{window.localStorage.removeItem(e)}catch(t){console.error(t)}},MKt="settings",xW={colorScheme:"light",contrast:"default",navLayout:"vertical",primaryColor:"default",navColor:"integrate",compactLayout:!1},j8e=F.createContext({});function LKt({children:e,defaultSettings:t}){const{state:n,update:r,reset:i}=RKt(MKt,{...xW,...t}),[o,a]=F.useState(!1),s=F.useCallback(()=>{a(f=>!f)},[]),l=F.useCallback(()=>{a(!1)},[]),c=F.useCallback(f=>{console.info("Direction change by language:",f)},[]),u=!G3(n,{...xW,...t}),d=F.useMemo(()=>({...n,onUpdate:r,onChangeDirectionByLang:c,canReset:u,onReset:i,open:o,onToggle:s,onClose:l}),[i,r,n,u,o,l,s,c]);return E.jsx(j8e.Provider,{value:d,children:e})}const jKt=()=>{const e=F.useContext(j8e);if(!e)throw new Error("useSettingsContext must be use inside SettingsProvider");return e};function FKt({children:e}){const t=jKt(),n=AKt(t.contrast==="bold",t.colorScheme),r=F.useMemo(()=>({colorSchemes:vc,shadows:IKt(t.colorScheme),customShadows:SW(t.colorScheme),shape:{borderRadius:t.compactLayout?4:8},components:{...kKt,...n.components},typography:{...Yb,...t.compactLayout&&{h1:{...Yb.h1,fontSize:"2rem"},h2:{...Yb.h2,fontSize:"1.75rem"},h3:{...Yb.h3,fontSize:"1.5rem"},h4:{...Yb.h4,fontSize:"1.25rem"},h5:{...Yb.h5,fontSize:"1.125rem"},h6:{...Yb.h6,fontSize:"1rem"}}},cssVarPrefix:""}),[t.colorScheme,t.contrast,t.compactLayout,n]),i=F.useMemo(()=>{var s,l,c,u,d,f,p,h,m;return{...r,colorSchemes:{...vc,light:{palette:{...(s=vc==null?void 0:vc.light)==null?void 0:s.palette,...WU(t.primaryColor).palette,...(l=n.theme)==null?void 0:l.palette,background:{...(u=(c=vc==null?void 0:vc.light)==null?void 0:c.palette)==null?void 0:u.background,...(f=(d=n.theme)==null?void 0:d.palette)==null?void 0:f.background}}},dark:{palette:{...(p=vc==null?void 0:vc.dark)==null?void 0:p.palette,...WU(t.primaryColor).palette,...t.contrast==="bold"&&{background:{...(m=(h=vc==null?void 0:vc.dark)==null?void 0:h.palette)==null?void 0:m.background,default:"#0a0a0a",paper:"#1a1a1a"}}}}},customShadows:{...SW(t.colorScheme),...WU(t.primaryColor).customShadows},components:{...r.components,...t.compactLayout&&{MuiCard:{styleOverrides:{root:{padding:"12px"}}},MuiButton:{styleOverrides:{root:{minHeight:"32px",padding:"6px 12px"}}},MuiTextField:{styleOverrides:{root:{"& .MuiInputBase-root":{minHeight:"36px"}}}}}}}},[t,r,n]),o=pM(i),a={modeStorageKey:"theme-mode",defaultMode:xW.colorScheme};return E.jsxs(mpt,{theme:o,defaultMode:a.defaultMode,modeStorageKey:a.modeStorageKey,children:[E.jsx(S1t,{}),E.jsx(C4e,{styles:{"*":{"::-webkit-scrollbar":{width:5,height:4}," ::-webkit-scrollbar-track":{background:o.palette.grey[50]},"::-webkit-scrollbar-thumb":{background:o.palette.grey[300],borderRadius:12},"::-webkit-scrollbar-thumb:hover":{background:o.palette.grey[400]}},input:{"&[type=number]":{MozAppearance:"textfield","&::-webkit-outer-spin-button":{margin:0,WebkitAppearance:"none"},"&::-webkit-inner-spin-button":{margin:0,WebkitAppearance:"none"}}},body:{a:{textDecoration:"none",color:"inherit"},...t.compactLayout&&{"& .MuiContainer-root":{paddingTop:"8px !important",paddingBottom:"8px !important"},"& .MuiStack-root":{gap:"8px !important"},"& .MuiBox-root":{padding:"8px"}}}}}),e]})}const Rve=document.getElementById("root");Rve&&GH.createRoot(Rve).render(E.jsx(Te.StrictMode,{children:E.jsx(LKt,{children:E.jsx(FKt,{children:E.jsx(kYt,{})})})}));/**
|
|
5445
5445
|
* @vue/shared v3.5.26
|
|
5446
5446
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
5447
5447
|
* @license MIT
|
|
@@ -33,7 +33,7 @@ export declare class AuthService {
|
|
|
33
33
|
private readonly tenantContext;
|
|
34
34
|
private readonly authConfig;
|
|
35
35
|
constructor(userRepository: Repository<NestAuthUser>, authProviderRegistry: AuthProviderRegistryService, mfaService: MfaService, sessionManager: SessionManagerService, jwtService: JwtService, eventEmitter: EventEmitter2, tenantService: TenantService, debugLogger: DebugLoggerService, authConfigService: AuthConfigService, userService: UserService, otpFlow: OtpFlowService, tenantContext: ITenantContextService);
|
|
36
|
-
|
|
36
|
+
getUserWithRoles(userId: string, relations?: string[]): Promise<NestAuthUser>;
|
|
37
37
|
getUser(): Promise<any>;
|
|
38
38
|
signup(input: NestAuthSignupRequestDto): Promise<AuthResponseDto>;
|
|
39
39
|
login(input: NestAuthLoginRequestDto): Promise<AuthResponseDto>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/auth/services/auth.service.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAQ/D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAC;AAEvF,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,EAAE,2BAA2B,EAAE,MAAM,wCAAwC,CAAC;AACrF,OAAO,EAAE,qBAAqB,EAAuC,MAAM,8BAA8B,CAAC;AAS1G,OAAO,EAAE,2BAA2B,EAAE,MAAM,oDAAoD,CAAC;AACjG,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAE5E,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,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MAAM,EAAE,MAAM,EAAE,qBAAqB;YAejD,iBAAiB;IAwDzB,YAAY,CAAC,YAAY,EAAE,MAAM;IAyEjC,MAAM,CAAC,UAAU,GAAE,MAAM,GAAG,OAAO,GAAG,QAAiB,EAAE,MAAM,CAAC,EAAE,MAAM;IAwBxE,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,GAAE,MAAM,GAAG,OAAO,GAAG,QAAiB,EAAE,MAAM,CAAC,EAAE,MAAM;IA0BjG,OAAO,CAAC,aAAa;YAMP,kBAAkB;YAuBlB,qBAAqB;IA4BnC,OAAO,CAAC,WAAW;IAYb,yBAAyB,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAMnF,oBAAoB,CACtB,IAAI,EAAE,YAAY,EAClB,OAAO,EAAE,GAAG,EACZ,MAAM,EAAE;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,CAAA;KAAE,EACrD,aAAa,EAAE,OAAO,EACtB,UAAU,CAAC,EAAE,MAAM,GACpB,OAAO,CAAC,eAAe,CAAC;YAqFb,kBAAkB;CAgBnC"}
|
|
@@ -72,7 +72,7 @@ let AuthService = class AuthService {
|
|
|
72
72
|
this.tenantContext = tenantContext;
|
|
73
73
|
this.authConfig = this.authConfigService.getConfig();
|
|
74
74
|
}
|
|
75
|
-
|
|
75
|
+
getUserWithRoles(userId, relations = []) {
|
|
76
76
|
return this.userRepository.findOne({
|
|
77
77
|
where: { id: userId },
|
|
78
78
|
relations: [
|
|
@@ -87,7 +87,7 @@ let AuthService = class AuthService {
|
|
|
87
87
|
if (!user) {
|
|
88
88
|
return null;
|
|
89
89
|
}
|
|
90
|
-
const fullUser = await this.
|
|
90
|
+
const fullUser = await this.getUserWithRoles(user.id);
|
|
91
91
|
let serializedUser = fullUser;
|
|
92
92
|
if (this.authConfig.user?.serialize) {
|
|
93
93
|
serializedUser = await this.authConfig.user.serialize(fullUser);
|
|
@@ -181,7 +181,7 @@ let AuthService = class AuthService {
|
|
|
181
181
|
user = modifiedUser;
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
-
user = await this.
|
|
184
|
+
user = await this.getUserWithRoles(user.id);
|
|
185
185
|
const userRoles = user.userAccesses?.map(access => access.roles).flat();
|
|
186
186
|
if (input?.guard) {
|
|
187
187
|
const isExistsGuard = userRoles?.some(r => r.guard === input.guard);
|
|
@@ -265,7 +265,7 @@ let AuthService = class AuthService {
|
|
|
265
265
|
code: auth_constants_1.ERROR_CODES.ACCOUNT_INACTIVE,
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
|
-
user = await this.
|
|
268
|
+
user = await this.getUserWithRoles(user.id, ['userAccesses.tenant']);
|
|
269
269
|
if (this.authConfig.loginHooks?.onLogin) {
|
|
270
270
|
this.debugLogger.debug('Applying loginHooks.onLogin hook', 'AuthService', { userId: user.id });
|
|
271
271
|
const request = request_context_1.RequestContext.currentRequest();
|
|
@@ -727,10 +727,9 @@ let AuthService = class AuthService {
|
|
|
727
727
|
tenants = [fallbackTenant];
|
|
728
728
|
}
|
|
729
729
|
}
|
|
730
|
-
let userWithAccesses;
|
|
730
|
+
let userWithAccesses = user;
|
|
731
731
|
if (!user?.userAccesses?.length) {
|
|
732
|
-
userWithAccesses = await this.
|
|
733
|
-
'userAccesses',
|
|
732
|
+
userWithAccesses = await this.getUserWithRoles(user.id, [
|
|
734
733
|
'userAccesses.tenant',
|
|
735
734
|
]);
|
|
736
735
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.service.js","sourceRoot":"","sources":["../../../../src/lib/auth/services/auth.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAIwB;AACxB,2CAAwC;AACxC,6CAAmD;AACnD,qCAAqC;AACrC,iEAA+D;AAC/D,yDAM8B;AAC9B,+CAA2C;AAC3C,iEAA6D;AAC7D,yDAAsD;AACtD,4FAAuF;AACvF,2EAAuE;AAKvE,sEAA0G;AAE1G,2E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AAE,UAAU,CAAC,CAAC;YAC5E,CAAC;QACL,CAAC;QACD,OAAO,KAAK,CAAC;IACjB,CAAC;CACJ,CAAA;AAx+BY,kCAAW;sBAAX,WAAW;IADvB,IAAA,mBAAU,GAAE;IAMJ,WAAA,IAAA,0BAAgB,EAAC,0BAAY,CAAC,CAAA;IAuB9B,YAAA,IAAA,eAAM,EAAC,iDAAgC,CAAC,CAAA;qCAtBR,oBAAU;QAEJ,4DAA2B;QAErC,wBAAU;QAEN,+CAAqB;QAEzB,wBAAU;QAER,6BAAa;QAEZ,8BAAa;QAEf,yCAAkB;QAEZ,uCAAiB;QAEvB,0BAAW;QAEf,iCAAc;GA1BnC,WAAW,CAw+BvB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ackplus/nest-auth",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.3",
|
|
4
4
|
"description": "Powerful CRUD operations for NestJS with TypeORM - automatic REST endpoints, advanced filtering, relations, pagination, and more",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"qrcode": "^1.5.0",
|
|
40
40
|
"qs": "^6.11.2",
|
|
41
41
|
"speakeasy": "^2.0.0",
|
|
42
|
-
"@ackplus/nest-auth-contracts": "2.0.0-beta.
|
|
42
|
+
"@ackplus/nest-auth-contracts": "2.0.0-beta.3"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@nestjs/common": "^10 || ^11",
|