export interface ApproveResponse {
    readonly fileId: string;
    readonly hasWarnings?: boolean;
    readonly fileWarnings: WarningModel[];
}

export interface WarningModel {
    id: string;
    value: string;
    pages: number[];
    type: string;
    warningType: WarningType;
}

export enum WarningType {
    PENDING_CHANGE = 'PENDING_CHANGE',
    LEGAL_BASIS_MISSING = 'LEGAL_BASIS_MISSING',
    UNMAPPED_JUSTIFICATION = 'UNMAPPED_JUSTIFICATION',
}
