main
ts 46 lines 895 Bytes
Raw
1 export interface TalonMessageRequest {
2 message: string
3 sender?: string
4 }
5
6 export interface TalonInvestigateRequest {
7 alert_id: number
8 customer_code: string
9 sender?: string
10 }
11
12 export interface TalonStatusData {
13 [key: string]: unknown
14 }
15
16 export interface TalonTemplate {
17 filename: string
18 size_bytes: number
19 modified_at: string
20 first_line: string | null
21 }
22
23 export interface TalonJobData {
24 id: string
25 alert_id: number
26 customer_code: string
27 status: string
28 alert_type: string | null
29 triggered_by: string
30 template_used: string | null
31 created_at: string
32 started_at: string | null
33 completed_at: string | null
34 error_message: string | null
35 reports: {
36 id: number
37 job_id: string
38 alert_id: number
39 customer_code: string
40 severity_assessment: string | null
41 summary: string | null
42 report_markdown: string | null
43 recommended_actions: string | null
44 created_at: string
45 }[]
46 }