Massive update
This commit is contained in:
@@ -49,3 +49,27 @@ export interface IncidentRecord {
|
||||
summary: string | null;
|
||||
tags: string[];
|
||||
}
|
||||
|
||||
export interface AlertRule {
|
||||
rule_id: string;
|
||||
name: string;
|
||||
keywords: string[];
|
||||
talkgroup_ids: number[];
|
||||
enabled: boolean;
|
||||
discord_webhook: string | null;
|
||||
created_at?: string;
|
||||
}
|
||||
|
||||
export interface AlertEvent {
|
||||
alert_id: string;
|
||||
rule_id: string;
|
||||
rule_name: string;
|
||||
call_id: string;
|
||||
node_id: string;
|
||||
talkgroup_id: number | null;
|
||||
talkgroup_name: string | null;
|
||||
matched_keywords: string[];
|
||||
transcript_snippet: string | null;
|
||||
triggered_at: string;
|
||||
acknowledged: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user