/** * sonamuAuditLog 플러그인이 audit-log-ingestor로 전달하는 이벤트 body 타입. */ export type AuditLogEvent = { eventType: string; eventData: Record; eventKey: string; eventDisplayName?: string; ipAddress?: string; city?: string; country?: string; countryCode?: string; }; export declare const EVENT_TYPES: { readonly USER_CREATED: "user_created"; readonly USER_SIGNED_IN: "user_signed_in"; readonly USER_SIGNED_OUT: "user_signed_out"; readonly USER_SIGN_IN_FAILED: "user_sign_in_failed"; readonly PASSWORD_RESET_REQUESTED: "password_reset_requested"; readonly PASSWORD_RESET_COMPLETED: "password_reset_completed"; readonly PASSWORD_CHANGED: "password_changed"; readonly EMAIL_VERIFICATION_SENT: "email_verification_sent"; readonly EMAIL_VERIFIED: "email_verified"; readonly PROFILE_UPDATED: "profile_updated"; readonly PROFILE_IMAGE_UPDATED: "profile_image_updated"; readonly SESSION_CREATED: "session_created"; readonly SESSION_REVOKED: "session_revoked"; readonly ALL_SESSIONS_REVOKED: "all_sessions_revoked"; readonly ACCOUNT_LINKED: "account_linked"; readonly ACCOUNT_UNLINKED: "account_unlinked"; readonly USER_BANNED: "user_banned"; readonly USER_UNBANNED: "user_unbanned"; readonly USER_DELETED: "user_deleted"; readonly USER_IMPERSONATED: "user_impersonated"; readonly USER_IMPERSONATED_STOPPED: "user_impersonated_stopped"; }; export declare const ORGANIZATION_EVENT_TYPES: { readonly ORGANIZATION_CREATED: "organization_created"; readonly ORGANIZATION_UPDATED: "organization_updated"; readonly ORGANIZATION_MEMBER_ADDED: "organization_member_added"; readonly ORGANIZATION_MEMBER_REMOVED: "organization_member_removed"; readonly ORGANIZATION_MEMBER_ROLE_UPDATED: "organization_member_role_updated"; readonly ORGANIZATION_MEMBER_INVITED: "organization_member_invited"; readonly ORGANIZATION_MEMBER_INVITE_CANCELED: "organization_member_invite_canceled"; readonly ORGANIZATION_MEMBER_INVITE_ACCEPTED: "organization_member_invite_accepted"; readonly ORGANIZATION_MEMBER_INVITE_REJECTED: "organization_member_invite_rejected"; readonly ORGANIZATION_TEAM_CREATED: "organization_team_created"; readonly ORGANIZATION_TEAM_UPDATED: "organization_team_updated"; readonly ORGANIZATION_TEAM_DELETED: "organization_team_deleted"; readonly ORGANIZATION_TEAM_MEMBER_ADDED: "organization_team_member_added"; readonly ORGANIZATION_TEAM_MEMBER_REMOVED: "organization_team_member_removed"; }; export declare const ROUTES: { readonly SIGN_IN: "/sign-in"; readonly SIGN_IN_EMAIL: "/sign-in/email"; readonly SIGN_IN_EMAIL_OTP: "/sign-in/email-otp"; readonly SIGN_IN_SOCIAL: "/sign-in/social"; readonly SIGN_IN_SOCIAL_CALLBACK: "/callback/:id"; readonly SIGN_IN_OAUTH_CALLBACK: "/oauth2/callback/:id"; readonly SIGN_UP: "/sign-up"; readonly SIGN_UP_EMAIL: "/sign-up/email"; readonly SIGN_OUT: "/sign-out"; readonly SEND_VERIFICATION_EMAIL: "/send-verification-email"; readonly UPDATE_USER: "/update-user"; readonly CHANGE_EMAIL: "/change-email"; readonly VERIFY_EMAIL: "/verify-email"; readonly CHANGE_PASSWORD: "/change-password"; readonly SET_PASSWORD: "/set-password"; readonly RESET_PASSWORD: "/reset-password"; readonly REQUEST_PASSWORD_RESET: "/request-password-reset"; readonly REVOKE_ALL_SESSIONS: "/revoke-sessions"; readonly DASH_ROUTE: "/dash"; readonly DASH_UPDATE_USER: "/dash/update-user"; readonly DASH_REVOKE_SESSIONS_ALL: "/dash/sessions/revoke-all"; readonly DASH_BAN_USER: "/dash/ban-user"; readonly DASH_UNBAN_USER: "/dash/unban-user"; readonly ADMIN_ROUTE: "/admin"; readonly ADMIN_REVOKE_USER_SESSIONS: "/admin/revoke-user-sessions"; readonly ADMIN_SET_PASSWORD: "/admin/set-user-password"; readonly ADMIN_BAN_USER: "/admin/ban-user"; readonly ADMIN_UNBAN_USER: "/admin/unban-user"; }; export type BuilderTrigger = { triggeredBy: string; triggerContext: string; }; export type BuilderLocation = { ipAddress?: string; city?: string; country?: string; countryCode?: string; }; export type UserSnapshot = { id: string; name?: string; email?: string; banned?: boolean; banReason?: string | null; banExpires?: Date | null; }; export type SessionSnapshot = { id: string; userId: string; loginMethod?: string | null; userAgent?: string | null; impersonatedBy?: string | null; }; export type AccountSnapshot = { id: string; userId: string; providerId: string; }; export type VerificationSnapshot = { id: string; value: string; }; export type OrganizationSnapshot = { id: string; slug?: string; name?: string; }; export type TeamSnapshot = { id: string; name?: string; }; export type MemberSnapshot = { id: string; userId: string; role?: string; }; export type InvitationSnapshot = { id: string; email?: string; role?: string; teamId?: string | null; }; export type UserProfileLite = { id: string; name?: string; email?: string; } | null; export type Builder = (...args: A) => AuditLogEvent; //# sourceMappingURL=events.d.ts.map