Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cuenca/resources/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
Beneficiary,
KYCFile,
PhoneNumber,
SATRegimeCode,
TOSAgreement,
TOSRequest,
UserQuery,
Expand Down Expand Up @@ -58,6 +59,7 @@ class User(Creatable, Retrievable, Updateable, Queryable):
)
platform_id: Optional[str] = None
clabe: Optional[Clabe] = None
fiscal_regime_code: Optional[SATRegimeCode] = None
# These fields are added by identify when retrieving a User:
names: Optional[str] = None
first_surname: Optional[str] = None
Expand Down Expand Up @@ -149,6 +151,7 @@ def update(
email_verification_id: Optional[str] = None,
phone_verification_id: Optional[str] = None,
curp_document: Optional[SerializableHttpUrl] = None,
fiscal_regime_code: Optional[SATRegimeCode] = None,
*,
session: Session = global_session,
) -> 'User':
Expand All @@ -166,6 +169,7 @@ def update(
email_verification_id=email_verification_id,
phone_verification_id=phone_verification_id,
curp_document=curp_document,
fiscal_regime_code=fiscal_regime_code,
status=status,
)
return cls._update(id=user_id, **request.model_dump(), session=session)
Expand Down
2 changes: 1 addition & 1 deletion cuenca/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '2.1.7'
__version__ = '2.1.8'
CLIENT_VERSION = __version__
API_VERSION = '2020-03-19'
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
requests==2.32.3
cuenca-validations==2.1.12
cuenca-validations==2.1.13
pydantic-extra-types==2.10.2
Loading