@@ -33,9 +33,9 @@ class User(Creatable, Retrievable, Updateable, Queryable):
3333 identity_uri : str
3434 level : int
3535 created_at : dt .datetime
36- phone_number : PhoneNumber
37- email_address : EmailStr
38- profession : str
36+ phone_number : Optional [ PhoneNumber ]
37+ email_address : Optional [ EmailStr ]
38+ profession : Optional [ str ]
3939 terms_of_service : Optional [TOSAgreement ]
4040 status : Optional [UserStatus ]
4141 address : Optional [Address ]
@@ -78,6 +78,8 @@ def update(
7878 proof_of_address : Optional [KYCFileUpdateRequest ] = None ,
7979 proof_of_life : Optional [KYCFileUpdateRequest ] = None ,
8080 terms_of_service : Optional [TOSUpdateRequest ] = None ,
81+ email_verification_id : Optional [str ] = None ,
82+ phone_verification_id : Optional [str ] = None ,
8183 * ,
8284 session : Session = global_session ,
8385 ):
@@ -91,6 +93,8 @@ def update(
9193 proof_of_address = proof_of_address ,
9294 proof_of_life = proof_of_life ,
9395 terms_of_service = terms_of_service ,
96+ email_verification_id = email_verification_id ,
97+ phone_verification_id = phone_verification_id ,
9498 )
9599 return cast (
96100 'User' ,
0 commit comments