import { DataNode } from '@realequity/ui-core'; export interface ActorRole extends DataNode { actorId: string; showInContactLists: boolean; allowToViewInCustomerPortal: boolean; priority: number; hasActor: boolean; actorDisplayName: string; description: string; } export interface ContactInfo { primary: boolean; isVerified: boolean; } export interface Email extends ContactInfo { address: string; } export interface Phone extends ContactInfo { prefix: string; number: string; internationalNumber: string; phoneType: string; } export interface Actor extends DataNode { type: string; emails: Email[]; phones: Phone[]; consentPermissions: ConsentPermission[]; latestLogin?: Date; latestLoginDate?: Date; hasActiveProfile: boolean; } export interface ConsentPermission { displayName: string; namespace: string; }