export type PrincipalMap = { [key in PrincipalType]: Principal[] | undefined; }; export type PrincipalType = 'LEGAL' | 'NATURAL'; export interface Principal { countryCode?: string; eoriNr?: string; kmkrNr?: string; mrrCode?: string; principalId: number; principalCode: string; principalName: string; principalPersonType: PrincipalType; principalUserId: number; latelyRegisteredAsSoleProprietor?: boolean; } export interface SessionUser

{ code: string; dataUsageReason?: 'offenceProceeding' | 'administrativeProceeding'; name: string; principal: P; } export type ChosenPerson = { fullName: string; registrationNumber: string; }; export type TempFramePerson = { code?: string; name?: string; representativeCode?: string; representativeName?: string; };