import { BaseEntityClass } from '../base/base.entity'; import { FormEntity, IntegrationEntity, UserEntity, FileEntity, DocumentEntity, DeviceEntity, ApplicationEntity, RequestOriginMeta, ProjectEntity, AccountEntity } from '..'; export declare enum LOG_PRIORITY { EMERGENCIES = "emergencies", ALERTS = "alerts", CRITICAL = "critical", ERRORS = "errors", WARNINGS = "warnings", NOFITICATION = "notification", INFORMATIONAL = "informational", DEBUGGING = "debugging" } export declare enum LOG_TYPE { AUDIT_LOG = "audit_log", SYSTEM_LOG = "system_log" } export declare class LogEntity extends BaseEntityClass { priority: LOG_PRIORITY; type: LOG_TYPE; message: string; /** * A reference pointing to a specific action or event type * users.create * users.transfer * users.delete * notifications.send.push * devices.register * devices.updates.roles * ... */ topic: string; content: any; /** * For requests coming in trough a controller, capture the IP * @deprecated use requestOriginMeta */ requestOriginIp: string; requestOriginMeta: RequestOriginMeta; file?: FileEntity; document?: DocumentEntity; user?: UserEntity; device?: DeviceEntity; application: ApplicationEntity; project: ProjectEntity; form: FormEntity; integration: IntegrationEntity; account: AccountEntity; constructor(partial: Partial); }