Skip to content

Commit 36177db

Browse files
committed
added missing fields to user resource
1 parent 1632abe commit 36177db

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

cuenca/resources/users.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
UserRequest,
1414
UserStatus,
1515
UserUpdateRequest,
16+
VerificationStatus,
1617
)
1718
from cuenca_validations.types.identities import CurpField
1819
from pydantic import EmailStr
@@ -44,6 +45,13 @@ class User(Creatable, Retrievable, Updateable, Queryable):
4445
beneficiaries: Optional[List[Beneficiary]]
4546
platform_id: Optional[str] = None
4647
clabe: Optional[Clabe] = None
48+
blacklist_validation_status: Optional[VerificationStatus]
49+
# These fields are added by identify when retrieving a User:
50+
names: Optional[str]
51+
first_surname: Optional[str]
52+
second_surname: Optional[str]
53+
curp: Optional[str]
54+
rfc: Optional[str]
4755

4856
@property
4957
def balance(self) -> int:

0 commit comments

Comments
 (0)