/**
 * This file was auto-generated by Fern from our API Definition.
 */
import * as Merge from "../../../index";
export interface AuditLogEvent {
    id?: string;
    /** The User's full name at the time of this Event occurring. */
    userName?: string;
    /** The User's email at the time of this Event occurring. */
    userEmail?: string;
    /**
     * Designates the role of the user (or SYSTEM/API if action not taken by a user) at the time of this Event occurring.
     *
     * * `ADMIN` - ADMIN
     * * `DEVELOPER` - DEVELOPER
     * * `MEMBER` - MEMBER
     * * `API` - API
     * * `SYSTEM` - SYSTEM
     * * `MERGE_TEAM` - MERGE_TEAM
     */
    role: Merge.ats.AuditLogEventRole;
    ipAddress: string;
    /**
     * Designates the type of event that occurred.
     *
     * * `CREATED_REMOTE_PRODUCTION_API_KEY` - CREATED_REMOTE_PRODUCTION_API_KEY
     * * `DELETED_REMOTE_PRODUCTION_API_KEY` - DELETED_REMOTE_PRODUCTION_API_KEY
     * * `CREATED_TEST_API_KEY` - CREATED_TEST_API_KEY
     * * `DELETED_TEST_API_KEY` - DELETED_TEST_API_KEY
     * * `REGENERATED_PRODUCTION_API_KEY` - REGENERATED_PRODUCTION_API_KEY
     * * `REGENERATED_WEBHOOK_SIGNATURE` - REGENERATED_WEBHOOK_SIGNATURE
     * * `INVITED_USER` - INVITED_USER
     * * `TWO_FACTOR_AUTH_ENABLED` - TWO_FACTOR_AUTH_ENABLED
     * * `TWO_FACTOR_AUTH_DISABLED` - TWO_FACTOR_AUTH_DISABLED
     * * `DELETED_LINKED_ACCOUNT` - DELETED_LINKED_ACCOUNT
     * * `DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT` - DELETED_ALL_COMMON_MODELS_FOR_LINKED_ACCOUNT
     * * `CREATED_DESTINATION` - CREATED_DESTINATION
     * * `DELETED_DESTINATION` - DELETED_DESTINATION
     * * `CHANGED_DESTINATION` - CHANGED_DESTINATION
     * * `CHANGED_SCOPES` - CHANGED_SCOPES
     * * `CHANGED_PERSONAL_INFORMATION` - CHANGED_PERSONAL_INFORMATION
     * * `CHANGED_ORGANIZATION_SETTINGS` - CHANGED_ORGANIZATION_SETTINGS
     * * `ENABLED_INTEGRATION` - ENABLED_INTEGRATION
     * * `DISABLED_INTEGRATION` - DISABLED_INTEGRATION
     * * `ENABLED_CATEGORY` - ENABLED_CATEGORY
     * * `DISABLED_CATEGORY` - DISABLED_CATEGORY
     * * `CHANGED_PASSWORD` - CHANGED_PASSWORD
     * * `RESET_PASSWORD` - RESET_PASSWORD
     * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION
     * * `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT
     * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION` - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION
     * * `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT` - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT
     * * `CREATED_INTEGRATION_WIDE_FIELD_MAPPING` - CREATED_INTEGRATION_WIDE_FIELD_MAPPING
     * * `CREATED_LINKED_ACCOUNT_FIELD_MAPPING` - CREATED_LINKED_ACCOUNT_FIELD_MAPPING
     * * `CHANGED_INTEGRATION_WIDE_FIELD_MAPPING` - CHANGED_INTEGRATION_WIDE_FIELD_MAPPING
     * * `CHANGED_LINKED_ACCOUNT_FIELD_MAPPING` - CHANGED_LINKED_ACCOUNT_FIELD_MAPPING
     * * `DELETED_INTEGRATION_WIDE_FIELD_MAPPING` - DELETED_INTEGRATION_WIDE_FIELD_MAPPING
     * * `DELETED_LINKED_ACCOUNT_FIELD_MAPPING` - DELETED_LINKED_ACCOUNT_FIELD_MAPPING
     * * `CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CREATED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE
     * * `CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - CHANGED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE
     * * `DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE` - DELETED_LINKED_ACCOUNT_COMMON_MODEL_OVERRIDE
     * * `FORCED_LINKED_ACCOUNT_RESYNC` - FORCED_LINKED_ACCOUNT_RESYNC
     * * `MUTED_ISSUE` - MUTED_ISSUE
     * * `GENERATED_MAGIC_LINK` - GENERATED_MAGIC_LINK
     * * `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK
     * * `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK
     * * `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED
     * * `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED
     */
    eventType: Merge.ats.AuditLogEventEventType;
    eventDescription: string;
    createdAt?: Date;
}
