import { DocumentVerificationCard } from './DocumentVerificationCard'; import { useUpdateCandidateLicense } from '@/hooks/backoffice/useUpdateCandidateLicense'; import { CandidateDocumentTypes, DocumentStatuses } from '@heygermany/sdk'; type LicenseVerificationCardProps = { candidateId: string; license: any; documents?: any[]; verbose?: boolean; }; export function LicenseVerificationCard({ candidateId, license, documents = [], verbose = false }: LicenseVerificationCardProps) { const mutationHook = useUpdateCandidateLicense(candidateId); const verificationDocuments = documents .map((document, index) => ({ documentId: document.documentId, documentStatus: document.documentStatus ?? DocumentStatuses.UNVERIFIED, label: document.fileName || `File ${index + 1}` })); return ( ); }