diff --git a/mati/types/enums.py b/mati/types/enums.py index f92268a..3e95894 100644 --- a/mati/types/enums.py +++ b/mati/types/enums.py @@ -24,6 +24,7 @@ class ValidationType(SerializableEnum): national_id = 'national-id' passport = 'passport' proof_of_residency = 'proof-of-residency' + liveness = 'video/mp4' @dataclass diff --git a/mati/version.py b/mati/version.py index b5135ab..2351b34 100644 --- a/mati/version.py +++ b/mati/version.py @@ -1 +1 @@ -__version__ = '0.3.5.dev2' # pragma: no cover +__version__ = '0.3.5.dev3' # pragma: no cover diff --git a/tests/resources/test_user_verification_data.py b/tests/resources/test_user_verification_data.py index 3ce4dd2..890cc45 100644 --- a/tests/resources/test_user_verification_data.py +++ b/tests/resources/test_user_verification_data.py @@ -46,17 +46,12 @@ def test_ine_and_liveness_upload(identity: Identity): content=live, input_type=ValidationInputType.selfie_video, ) - user_validation_photo = UserValidationFile( - filename='selfie.jpg', - content=front, - input_type=ValidationInputType.selfie_photo, - ) + resp = Verification.upload_validation_data( [ user_validation_file, user_validation_file_back, user_validation_live, - user_validation_photo, ], identity.id, )