feat: complete campaign wizards and retention reporting
This commit is contained in:
@@ -295,6 +295,43 @@ export type CampaignPartialValidationResponse = {
|
||||
issues: Record<string, unknown>[];
|
||||
};
|
||||
|
||||
export type CampaignRetentionReport = {
|
||||
policy_status: "configured" | "defaults" | "unavailable" | string;
|
||||
policy_reason?: string | null;
|
||||
effective_policy: {
|
||||
store_raw_campaign_json?: boolean;
|
||||
raw_campaign_json_retention_days?: number | null;
|
||||
generated_eml_retention_days?: number | null;
|
||||
stored_report_detail_retention_days?: number | null;
|
||||
mock_mailbox_retention_days?: number | null;
|
||||
audit_detail_retention_days?: number | null;
|
||||
audit_detail_level?: string;
|
||||
};
|
||||
sources: Array<{
|
||||
scope_type?: string | null;
|
||||
path?: string | null;
|
||||
label?: string | null;
|
||||
applied_fields?: string[];
|
||||
}>;
|
||||
evidence: Record<string, {
|
||||
state?: string;
|
||||
redacted_at?: string | null;
|
||||
retained_count?: number;
|
||||
expired_count?: number;
|
||||
not_generated_count?: number;
|
||||
currently_readable_count?: number;
|
||||
withdrawn_count?: number;
|
||||
redacted_summary_count?: number;
|
||||
summary_count?: number;
|
||||
}>;
|
||||
privacy_impact: {
|
||||
state: string;
|
||||
summary: string;
|
||||
retained_categories: string[];
|
||||
minimized_categories: string[];
|
||||
};
|
||||
};
|
||||
|
||||
export type CampaignSummary = {
|
||||
generated_at?: string;
|
||||
selected_version_id?: string | null;
|
||||
@@ -336,6 +373,7 @@ export type CampaignSummary = {
|
||||
attachments?: Record<string, unknown>;
|
||||
attempts?: Record<string, unknown>;
|
||||
postbox_receipts?: Record<string, unknown>;
|
||||
retention?: CampaignRetentionReport;
|
||||
delivery?: Record<string, unknown>;
|
||||
recent_failures?: Record<string, unknown>[];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user