import { AnyObject } from '@ballerine/ui'; export const getRevisionReasonsForDocument = ( { type, category }: AnyObject, revisionReasons: string[], ) => { if (category === 'proof_of_identity' && type === 'passport') return [ 'Blurry image', 'Bad quality photo', 'Wrong document', 'Copy of a copy', 'Cut document', ]; if (category === 'proof_of_identity_ownership' && type === 'selfie') { return [ 'Blurry image', 'Bad quality photo', 'Wrong document', 'Copy of a copy', 'Person in the selfie does not match ID', 'There was no person in the photo', ]; } return revisionReasons; };