Skip to content

Commit 779811b

Browse files
committed
fix: add verification_phone_number property to create sign request (box/box-openapi#515)
1 parent 2394b11 commit 779811b

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

.codegen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "engineHash": "41feeaa", "specHash": "3dc6f70", "version": "1.12.0" }
1+
{ "engineHash": "41feeaa", "specHash": "1080bb4", "version": "1.12.0" }

box_sdk_gen/schemas/sign_request_create_signer.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def __init__(
2525
redirect_url: Optional[str] = None,
2626
declined_redirect_url: Optional[str] = None,
2727
login_required: Optional[bool] = None,
28+
verification_phone_number: Optional[str] = None,
2829
password: Optional[str] = None,
2930
signer_group_id: Optional[str] = None,
3031
suppress_notifications: Optional[bool] = None,
@@ -64,6 +65,10 @@ def __init__(
6465
an existing account, they will have the option to create
6566
a free Box account., defaults to None
6667
:type login_required: Optional[bool], optional
68+
:param verification_phone_number: If set, this phone number will be used to verify the signer
69+
via two-factor authentication before they are able to sign the document.
70+
Cannot be selected in combination with `login_required`., defaults to None
71+
:type verification_phone_number: Optional[str], optional
6772
:param password: If set, the signer is required to enter the password before they are able
6873
to sign a document. This field is write only., defaults to None
6974
:type password: Optional[str], optional
@@ -87,6 +92,7 @@ def __init__(
8792
self.redirect_url = redirect_url
8893
self.declined_redirect_url = declined_redirect_url
8994
self.login_required = login_required
95+
self.verification_phone_number = verification_phone_number
9096
self.password = password
9197
self.signer_group_id = signer_group_id
9298
self.suppress_notifications = suppress_notifications

box_sdk_gen/schemas/sign_request_signer.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ def __init__(
6666
redirect_url: Optional[str] = None,
6767
declined_redirect_url: Optional[str] = None,
6868
login_required: Optional[bool] = None,
69+
verification_phone_number: Optional[str] = None,
6970
password: Optional[str] = None,
7071
signer_group_id: Optional[str] = None,
7172
suppress_notifications: Optional[bool] = None,
@@ -118,6 +119,10 @@ def __init__(
118119
an existing account, they will have the option to create
119120
a free Box account., defaults to None
120121
:type login_required: Optional[bool], optional
122+
:param verification_phone_number: If set, this phone number will be used to verify the signer
123+
via two-factor authentication before they are able to sign the document.
124+
Cannot be selected in combination with `login_required`., defaults to None
125+
:type verification_phone_number: Optional[str], optional
121126
:param password: If set, the signer is required to enter the password before they are able
122127
to sign a document. This field is write only., defaults to None
123128
:type password: Optional[str], optional
@@ -141,6 +146,7 @@ def __init__(
141146
redirect_url=redirect_url,
142147
declined_redirect_url=declined_redirect_url,
143148
login_required=login_required,
149+
verification_phone_number=verification_phone_number,
144150
password=password,
145151
signer_group_id=signer_group_id,
146152
suppress_notifications=suppress_notifications,

0 commit comments

Comments
 (0)