import { LOG_PRIORITY, GroupEntity, OrganizationEntity, ApplicationEntity, DeviceEntity, UserEntity, FormEntity } from '..'; import { BaseClass } from '../base/base'; export declare enum ALERT_STATUS { NEW = "new", SEEN = "seen", CLOSED = "closed", IGNORED = "ignored" } export declare enum ALERT_ENTITY_TARGET { USERS = "users", DEVICES = "devices", FORMS = "forms", APPLICATIONS = "applications", SYSTEM = "system" } export declare class SystemHealthAlertEntity extends BaseClass { priority: LOG_PRIORITY; status: ALERT_STATUS; entityTarget: ALERT_ENTITY_TARGET; entityId: string; message: string; /** * A reference pointing to a specific alert type */ topic: string; user?: UserEntity; device?: DeviceEntity; application: ApplicationEntity; form: FormEntity; /** * Organization that owns this entry * delete entity if organization is deleted */ organization: OrganizationEntity; /** * Groups within an organization that have access to this entry */ groups: GroupEntity[]; }