import { WxCCActivityType } from "./wxcc-activity"; export type ExtendedActivityType = WxCCActivityType | 'unmapped'; export type ReviewColorName = 'green' | 'yellow' | 'red'; export type ReviewLevel = 'confident' | 'low_confidence' | 'must_review'; export type Review = Readonly<{ color: ReviewColorName; level: ReviewLevel; reasons: string[]; }>; export type SuggestedProperties = Readonly<{ uccxDescription?: string; uccxComment?: string; closestWxccActivity?: string; mappingNotes?: string; migrationInstructions?: string; allAudioFilesInFlow?: string[]; uccxKeyFields?: string[]; uccxKeyFieldExamples?: Record; [key: string]: any; }>; export interface ExtendedActivity { id: string; name?: string; review?: Review; suggestedProperties?: SuggestedProperties; uccxDisplayType?: string; uccxTypeName?: string; uccxWfId?: number; unmappedReason?: string | null; wxccActivityId?: string; wxccActivityName?: ExtendedActivityType; wxccGroup?: string; iconUrl?: string; } export type ReadonlyExtendedActivity = Readonly; export interface ExtendedLink { id: string; sourceActivityId: string; targetActivityId: string; conditionExpr?: string; review?: Review; uccxEdgeIndex?: number; uccxFromWfId?: number; uccxLabel?: string; uccxToWfId?: number; } export type ReadonlyExtendedLink = Readonly;