fix: validate signatures and restore report metrics

This commit is contained in:
hectorzhao
2026-07-27 20:51:14 +08:00
parent 04a497c791
commit 94aeacd3a2
19 changed files with 438 additions and 42 deletions
+13
View File
@@ -923,6 +923,19 @@ export type ReportTask = DictionaryItem & {
signature?: { id: string; name: string; purpose?: string | null; drainageInfo?: Record<string, unknown> | null };
drainageInfo?: SmsDrainageInfo | null;
channel?: { id: string; name: string; code: string };
deliveryStats?: {
total: number;
acceptedCount: number;
submitFailureCount: number;
submitFailureRate: number;
successCount: number;
successRate: number;
unknownCount: number;
unknownRate: number;
failureCount: number;
failureRate: number;
};
lastSuccessfulSentAt?: string | null;
};
export type ReportRecord = DictionaryItem & {