Skip to content

Commit 0a45d21

Browse files
feat: Add security settings properties on sign template schema (box/box-openapi#518) (#543)
1 parent ffa6628 commit 0a45d21

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.codegen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "engineHash": "e5d612a", "specHash": "c303afc", "version": "1.13.0" }
1+
{ "engineHash": "e5d612a", "specHash": "f737b7b", "version": "1.13.0" }

box_sdk_gen/schemas/template_signer.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ def __init__(
2929
signer_group_id: Optional[str] = None,
3030
label: Optional[str] = None,
3131
public_id: Optional[str] = None,
32+
is_password_required: Optional[bool] = None,
33+
is_phone_number_required: Optional[bool] = None,
34+
login_required: Optional[bool] = None,
3235
**kwargs
3336
):
3437
"""
@@ -54,6 +57,14 @@ def __init__(
5457
:type label: Optional[str], optional
5558
:param public_id: An identifier for the signer. This can be used to identify a signer within the template., defaults to None
5659
:type public_id: Optional[str], optional
60+
:param is_password_required: If true for signers with a defined email, the password provided when the template was created is used by default.
61+
If true for signers without a specified / defined email, the creator needs to provide a password when using the template., defaults to None
62+
:type is_password_required: Optional[bool], optional
63+
:param is_phone_number_required: If true for signers with a defined email, the phone number provided when the template was created is used by default.
64+
If true for signers without a specified / defined email, the template creator needs to provide a phone number when creating a request., defaults to None
65+
:type is_phone_number_required: Optional[bool], optional
66+
:param login_required: If true, the signer is required to login to access the document., defaults to None
67+
:type login_required: Optional[bool], optional
5768
"""
5869
super().__init__(**kwargs)
5970
self.inputs = inputs
@@ -64,3 +75,6 @@ def __init__(
6475
self.signer_group_id = signer_group_id
6576
self.label = label
6677
self.public_id = public_id
78+
self.is_password_required = is_password_required
79+
self.is_phone_number_required = is_phone_number_required
80+
self.login_required = login_required

0 commit comments

Comments
 (0)