UNPKG

@golemio/pid

Version:
34 lines (33 loc) 1.12 kB
import { JISEventSeverityLevel } from "../../../../helpers/jis/JISEventSeverityLevelEnum"; import { IJISEventType } from "../../constants/jisEventType"; import { IJISEventRoute } from "./IJISEventRoute"; import { IJISTranslationText } from "./IJISTranslationText"; import { IJISTranslationTextNullable } from "./IJISTranslationTextNullable"; export interface IJISEvent { id: string; type: IJISEventType; header_text: IJISTranslationText; cause: string; cause_detail: IJISTranslationTextNullable; severity_level: JISEventSeverityLevel; active_period: { start: string; end: string | null; }; display_period: { start: string; end: string | null; }; effect: string | string[]; effect_detail: IJISTranslationText; description_text: IJISTranslationText; description_html: IJISTranslationText; url: IJISTranslationText; organization_name: string; informed_entity?: { routes?: IJISEventRoute[] | null; } | null; created_timestamp: string; last_modified_timestamp: string; deleted_at: string | null; }