You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sumup/members/resource.py
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
# Code generated by `py-sdk-gen`. DO NOT EDIT.
2
2
from .._serviceimportResource, AsyncResource, HeaderTypes
3
3
from .._exceptionsimportAPIError
4
+
from .._secretimportSecret
4
5
from .typesimport (
5
6
Attributes,
6
7
Member,
@@ -48,7 +49,7 @@ class CreateMerchantMemberBody(pydantic.BaseModel):
48
49
Nickname of the member to add. Only used if `is_managed_user` is true. Used for display purposes only.
49
50
"""
50
51
51
-
password: typing.Optional[str] =None
52
+
password: typing.Optional[Secret] =None
52
53
"""
53
54
Password of the member to add. Only used if `is_managed_user` is true. In the case of service accounts, thepassword is not used and can not be defined by the caller.
54
55
Format: password
@@ -66,7 +67,7 @@ class UpdateMerchantMemberBodyUser(pydantic.BaseModel):
66
67
User's preferred name. Used for display purposes only.
67
68
"""
68
69
69
-
password: typing.Optional[str] =None
70
+
password: typing.Optional[Secret] =None
70
71
"""
71
72
Password of the member to add. Only used if `is_managed_user` is true.
0 commit comments