From 552bf266fe6ccb74929e92931dcc43ffbc7dd939 Mon Sep 17 00:00:00 2001 From: Manuel Avalos Date: Fri, 24 Jun 2022 10:13:01 -0500 Subject: [PATCH] Removing kyc from update request --- cuenca/resources/users.py | 7 ------- cuenca/version.py | 2 +- requirements.txt | 2 +- tests/resources/test_users.py | 6 ------ 4 files changed, 2 insertions(+), 15 deletions(-) diff --git a/cuenca/resources/users.py b/cuenca/resources/users.py index db8bfe04..398a50a6 100644 --- a/cuenca/resources/users.py +++ b/cuenca/resources/users.py @@ -7,7 +7,6 @@ AddressUpdateRequest, Beneficiary, KYCFile, - KYCFileUpdateRequest, PhoneNumber, TOSAgreement, TOSUpdateRequest, @@ -134,9 +133,6 @@ def update( profession: Optional[str] = None, address: Optional[AddressUpdateRequest] = None, beneficiaries: Optional[List[Beneficiary]] = None, - govt_id: Optional[KYCFileUpdateRequest] = None, - proof_of_address: Optional[KYCFileUpdateRequest] = None, - proof_of_life: Optional[KYCFileUpdateRequest] = None, terms_of_service: Optional[TOSUpdateRequest] = None, verification_id: Optional[str] = None, *, @@ -148,9 +144,6 @@ def update( profession=profession, address=address, beneficiaries=beneficiaries, - govt_id=govt_id, - proof_of_address=proof_of_address, - proof_of_life=proof_of_life, terms_of_service=terms_of_service, verification_id=verification_id, ) diff --git a/cuenca/version.py b/cuenca/version.py index c7e73560..2e1e6159 100644 --- a/cuenca/version.py +++ b/cuenca/version.py @@ -1,3 +1,3 @@ -__version__ = '0.13.2' +__version__ = '0.13.5.dev0' CLIENT_VERSION = __version__ API_VERSION = '2020-03-19' diff --git a/requirements.txt b/requirements.txt index f9a62385..731ea825 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ requests==2.27.1 -cuenca-validations==0.10.15 +cuenca-validations==0.10.18.dev0 dataclasses>=0.7;python_version<"3.7" diff --git a/tests/resources/test_users.py b/tests/resources/test_users.py index c1504736..01587330 100644 --- a/tests/resources/test_users.py +++ b/tests/resources/test_users.py @@ -28,12 +28,6 @@ def test_user_update(): changes = dict( profession='programmer', phone_number='+525555555555', - govt_id=dict( - type='ine', - uri_front='cuenca.com', - uri_back='cuenca.com', - is_mx=True, - ), ) user = User.update(user_id, **changes) assert all(item in user.to_dict().keys() for item in changes.keys())