feat: aggregate cmpp template mismatch reviews

This commit is contained in:
hectorzhao
2026-07-12 13:25:19 +08:00
parent c8b6d0aa7c
commit 8b6ec92f4f
17 changed files with 523 additions and 38 deletions
+9
View File
@@ -305,6 +305,10 @@ export type SmsBatchTask = {
id: string;
tenantId: string;
taskNo: string;
sourceType?: string;
contentHash?: string | null;
windowStartedAt?: string | null;
windowEndsAt?: string | null;
applicationId?: string | null;
templateId?: string | null;
content: string;
@@ -559,6 +563,10 @@ export type RiskReviewTask = {
applicationId?: string | null;
templateId?: string | null;
taskNo: string;
sourceType?: string;
contentHash?: string | null;
windowStartedAt?: string | null;
windowEndsAt?: string | null;
content: string;
category?: string | null;
phoneTotal: number;
@@ -574,6 +582,7 @@ export type RiskReviewTask = {
createdAt: string;
reviewedAt?: string | null;
riskHits?: Array<{ id: string; ruleName: string; reason: string }>;
_count?: { messageRecords: number };
};
export type TenantAccount = {