1 export enum AUTH_LOG_EVENTS {
2 LOGIN_FAILURE_PASSWORD = 0,
6 LOGIN_SUCCESS_AWAIT_2FA,
7 LOGIN_SUCCESS_FORBIDDEN,
8 LOGIN_SUCCESS_MNEMONIC,
9 LOGIN_FAILURE_MNEMONIC,
12 LOGIN_SUCCESS_AWAIT_VERIFY = 80,
15 REAUTH_FAILURE_PASSWORD = 10,
19 CHANGE_ACCOUNT_PASSWORD = 20,
20 CHANGE_MAILBOX_PASSWORD,
23 RESET_ACCOUNT_MNEMONIC,
27 DISABLE_HIGH_SECURITY,
29 ENABLE_MAILBOX_PASSWORD = 30,
30 DISABLE_MAILBOX_PASSWORD,
38 USER_KEY_CREATION = 40,
40 USER_KEY_REACTIVATION,
42 ADDRESS_KEY_CREATION = 50,
44 ADDRESS_KEY_REACTIVATION,
46 ENABLE_EMAIL_RECOVERY = 60,
47 ENABLE_PHONE_RECOVERY,
48 DISABLE_EMAIL_RECOVERY,
49 DISABLE_PHONE_RECOVERY,
51 REVOKE_ALL_SESSIONS = 70,
52 REVOKE_SINGLE_SESSION,
55 export enum AuthLogStatus {
61 export enum ProtectionType {
64 OWNERSHIP_VERIFICATION = 3,
65 DEVICE_VERIFICATION = 4,
67 * AuthLog action was protected by anti-abuse systems
68 * and was evaluated as safe.
73 export interface AuthLog {
74 AppVersion: string | null;
77 Event: AUTH_LOG_EVENTS;
79 InternetProvider: string | null;
80 Location: string | null;
81 ProtectionDesc: string | null;
82 Protection: ProtectionType | null;
83 Status: AuthLogStatus;
87 export interface B2BAuthLog extends AuthLog {