/** @public */ export interface Alert { id: number; summary: string; details: string; reportTime: string; resolvedOn: string; status: AlertStatus; priority: AlertPriority; alertKey: string; alertSource: AlertSource | null; assignedTo: User | null; responders: Responder[]; logEntries: LogEntry[]; links: Link[]; images: Image[]; subscribers: Subscriber[]; commentText: string; commentPublishToSubscribers: boolean; } /** @public */ export declare const PENDING = "PENDING"; /** @public */ export declare const ACCEPTED = "ACCEPTED"; /** @public */ export declare const RESOLVED = "RESOLVED"; /** @public */ export type AlertStatus = typeof PENDING | typeof ACCEPTED | typeof RESOLVED; /** @public */ export type AlertPriority = 'HIGH' | 'LOW'; /** @public */ export interface Link { href: string; text: string; } /** @public */ export interface Image { src: string; href: string; alt: string; } /** @public */ export type SubscriberType = 'TEAM' | 'USER'; /** @public */ export interface Subscriber { id: number; name: string; type: SubscriberType; } /** @public */ export interface LogEntry { id: number; timestamp: string; logEntryType: string; text: string; alertId?: number; iconName?: string; iconClass?: string; filterTypes?: string[]; } /** @public */ export interface User { id: number; username: string; firstName: string; lastName: string; email: string; mobile: Phone; landline: Phone; timezone?: string; language?: Language; role?: UserRole; notificationPreferences?: any[]; position: string; department: string; } /** @public */ export interface Responder { acceptedAt?: string; status: string; user: User; } /** @public */ export type UserRole = 'USER' | 'ADMIN' | 'STAKEHOLDER' | 'ACCOUNT_OWNER' | 'RESPONDER'; /** @public */ export type Language = 'de' | 'en'; /** @public */ export interface Phone { regionCode: string; number: string; } /** @public */ export interface AlertSource { id: number; name: string; status: AlertSourceStatus; escalationPolicy: EscalationPolicy; integrationType: AlertSourceIntegrationType; integrationKey?: string; iconUrl?: string; lightIconUrl?: string; darkIconUrl?: string; alertCreation?: AlertSourceAlertCreation; alertPriorityRule?: AlertSourceAlertPriorityRule; emailFiltered?: boolean; emailResolveFiltered?: boolean; active?: boolean; emailPredicates?: AlertSourceEmailPredicate[]; emailResolvePredicates?: AlertSourceEmailPredicate[]; filterOperator?: AlertSourceFilterOperator; resolveFilterOperator?: AlertSourceFilterOperator; supportHours?: AlertSourceSupportHours; heartbeat?: AlertSourceHeartbeat; autotaskMetadata?: AlertSourceAutotaskMetadata; autoResolutionTimeout?: string; teams: TeamShort[]; } /** @public */ export interface TeamShort { id: number; name: string; } /** @public */ export interface TeamMember { user: User; role: 'STAKEHOLDER' | 'RESPONDER' | 'USER' | 'ADMIN'; } /** @public */ export type AlertSourceStatus = 'PENDING' | 'ALL_ACCEPTED' | 'ALL_RESOLVED' | 'IN_MAINTENANCE' | 'DISABLED'; /** @public */ export type AlertSourceIntegrationType = 'NAGIOS' | 'ICINGA' | 'EMAIL' | 'SMS' | 'API' | 'CRN' | 'HEARTBEAT' | 'PRTG' | 'PINGDOM' | 'CLOUDWATCH' | 'AWSPHD' | 'STACKDRIVER' | 'INSTANA' | 'ZABBIX' | 'SOLARWINDS' | 'PROMETHEUS' | 'NEWRELIC' | 'GRAFANA' | 'GITHUB' | 'DATADOG' | 'UPTIMEROBOT' | 'APPDYNAMICS' | 'DYNATRACE' | 'TOPDESK' | 'STATUSCAKE' | 'MONITOR' | 'TOOL' | 'CHECKMK' | 'AUTOTASK' | 'AWSBUDGET' | 'KENTIXAM' | 'CONSUL' | 'ZAMMAD' | 'SIGNALFX' | 'SPLUNK' | 'KUBERNETES' | 'SEMATEXT' | 'SENTRY' | 'SUMOLOGIC' | 'RAYGUN' | 'MXTOOLBOX' | 'ESWATCHER' | 'AMAZONSNS' | 'KAPACITOR' | 'CORTEXXSOAR' | string; /** @public */ export type AlertSourceAlertCreation = 'ONE_ALERT_PER_EMAIL' | 'ONE_ALERT_PER_EMAIL_SUBJECT' | 'ONE_PENDING_ALERT_ALLOWED' | 'ONE_OPEN_ALERT_ALLOWED' | 'OPEN_RESOLVE_ON_EXTRACTION'; /** @public */ export type AlertSourceFilterOperator = 'AND' | 'OR'; /** @public */ export type AlertSourceAlertPriorityRule = 'HIGH' | 'LOW' | 'HIGH_DURING_SUPPORT_HOURS' | 'LOW_DURING_SUPPORT_HOURS'; /** @public */ export declare const OPERATIONAL = "OPERATIONAL"; /** @public */ export declare const UNDER_MAINTENANCE = "UNDER_MAINTENANCE"; /** @public */ export declare const DEGRADED = "DEGRADED"; /** @public */ export declare const PARTIAL_OUTAGE = "PARTIAL_OUTAGE"; /** @public */ export declare const MAJOR_OUTAGE = "MAJOR_OUTAGE"; /** @public */ export type ServiceStatus = typeof OPERATIONAL | typeof UNDER_MAINTENANCE | typeof DEGRADED | typeof PARTIAL_OUTAGE | typeof MAJOR_OUTAGE; /** @public */ export declare const PRIVATE = "PRIVATE"; /** @public */ export declare const PUBLIC = "PUBLIC"; /** @public */ export type StatusPageVisibility = typeof PRIVATE | typeof PUBLIC; /** @public */ export interface AlertSourceEmailPredicate { field: 'EMAIL_FROM' | 'EMAIL_SUBJECT' | 'EMAIL_BODY'; criteria: 'CONTAINS_ANY_WORDS' | 'CONTAINS_NOT_WORDS' | 'CONTAINS_STRING' | 'CONTAINS_NOT_STRING' | 'IS_STRING' | 'IS_NOT_STRING' | 'MATCHES_REGEX' | 'MATCHES_NOT_REGEX'; value: string; } /** @public */ export type AlertSourceTimeZone = 'Europe/Berlin' | 'America/New_York' | 'America/Los_Angeles' | 'Asia/Istanbul'; /** @public */ export interface AlertSourceSupportDay { start: string; end: string; } /** @public */ export interface AlertSourceSupportHours { timezone: AlertSourceTimeZone; autoRaiseAlerts: boolean; supportDays: { MONDAY: AlertSourceSupportDay; TUESDAY: AlertSourceSupportDay; WEDNESDAY: AlertSourceSupportDay; THURSDAY: AlertSourceSupportDay; FRIDAY: AlertSourceSupportDay; SATURDAY: AlertSourceSupportDay; SUNDAY: AlertSourceSupportDay; }; } /** @public */ export interface AlertSourceHeartbeat { summary: string; intervalSec: number; status: 'OVERDUE' | 'ON_TIME' | 'NEVER_RECEIVED'; } /** @public */ export interface AlertSourceAutotaskMetadata { userName: string; secret: string; apiIntegrationCode: string; webServer: string; } /** @public */ export interface EscalationPolicy { id: number; name: string; escalationRules: EscalationRule[]; newEscalationRule: EscalationRule; repeating?: boolean; frequency?: number; teams: TeamShort[]; } /** @public */ export interface EscalationRule { user: User | null; schedule: Schedule | null; escalationTimeout: number; } /** @public */ export interface Schedule { id: number; name: string; timezone: string; startsOn: string; currentShift: Shift; nextShift: Shift; shifts: Shift[]; overrides: Shift[]; teams: TeamShort[]; } /** @public */ export interface Shift { user: User; start: string; end: string; } /** @public */ export interface AlertResponder { group: 'SUGGESTED' | 'USER' | 'ESCALATION_POLICY' | 'ON_CALL_SCHEDULE'; id: number; name: string; disabled: boolean; } /** @public */ export interface AlertAction { name: string; type: string; webhookId: string; extensionId?: string; history?: AlertActionHistory[]; } /** @public */ export interface AlertActionHistory { id: string; webhookId: string; alertId: number; actor: User; success: boolean; } /** @public */ export interface OnCall { user: User; escalationPolicy: EscalationPolicy; schedule?: Schedule; start: string; end: string; escalationLevel: number; } /** @public */ export interface Service { id: number; name: string; status: ServiceStatus; uptime: Uptime; } /** @public */ export interface Uptime { uptimePercentage: UptimePercentage; } /** @public */ export interface UptimePercentage { p90: number; } /** @public */ export interface StatusPage { id: number; name: string; domain: string; subdomain: string; visibility: StatusPageVisibility; status: ServiceStatus; }