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
2 changes: 1 addition & 1 deletion .codegen.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "engineHash": "35c5d34", "specHash": "e7ce024", "version": "4.1.0" }
{ "engineHash": "49f3695", "specHash": "7e4908e", "version": "4.1.0" }
6 changes: 4 additions & 2 deletions box_sdk_gen/schemas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,12 +274,14 @@

from box_sdk_gen.schemas.sign_request_signer_input import *

from box_sdk_gen.schemas.sign_request_signer import *

from box_sdk_gen.schemas.sign_request_base import *

from box_sdk_gen.schemas.sign_request_create_request import *

from box_sdk_gen.schemas.sign_request_signer_attachment import *

from box_sdk_gen.schemas.sign_request_signer import *

from box_sdk_gen.schemas.sign_request import *

from box_sdk_gen.schemas.sign_requests import *
Expand Down
12 changes: 12 additions & 0 deletions box_sdk_gen/schemas/sign_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ def __init__(
auto_expire_at: Optional[DateTime] = None,
parent_folder: Optional[FolderMini] = None,
collaborator_level: Optional[str] = None,
short_id: Optional[str] = None,
created_at: Optional[DateTime] = None,
finished_at: Optional[DateTime] = None,
sender_email: Optional[str] = None,
sender_id: Optional[int] = None,
is_document_preparation_needed: Optional[bool] = None,
Expand Down Expand Up @@ -124,6 +127,12 @@ def __init__(
:type auto_expire_at: Optional[DateTime], optional
:param collaborator_level: The collaborator level of the user to the sign request. Values can include "owner", "editor", and "viewer"., defaults to None
:type collaborator_level: Optional[str], optional
:param short_id: Short identifier for the sign request., defaults to None
:type short_id: Optional[str], optional
:param created_at: Timestamp marking when the sign request was created., defaults to None
:type created_at: Optional[DateTime], optional
:param finished_at: Timestamp indicating when all signing actions completed., defaults to None
:type finished_at: Optional[DateTime], optional
:param sender_email: The email address of the sender of the sign request., defaults to None
:type sender_email: Optional[str], optional
:param sender_id: The user ID of the sender of the sign request., defaults to None
Expand Down Expand Up @@ -183,5 +192,8 @@ def __init__(
self.auto_expire_at = auto_expire_at
self.parent_folder = parent_folder
self.collaborator_level = collaborator_level
self.short_id = short_id
self.created_at = created_at
self.finished_at = finished_at
self.sender_email = sender_email
self.sender_id = sender_id
8 changes: 8 additions & 0 deletions box_sdk_gen/schemas/sign_request_signer.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@

from box_sdk_gen.schemas.sign_request_signer_input import SignRequestSignerInput

from box_sdk_gen.schemas.sign_request_signer_attachment import (
SignRequestSignerAttachment,
)

from box_sdk_gen.box.errors import BoxSDKError

from box_sdk_gen.internal.utils import DateTime
Expand Down Expand Up @@ -58,6 +62,7 @@ def __init__(
inputs: Optional[List[SignRequestSignerInput]] = None,
embed_url: Optional[str] = None,
iframeable_embed_url: Optional[str] = None,
attachments: Optional[List[SignRequestSignerAttachment]] = None,
email: Optional[str] = None,
role: Optional[SignRequestCreateSignerRoleField] = None,
is_in_person: Optional[bool] = None,
Expand Down Expand Up @@ -86,6 +91,8 @@ def __init__(
parameter was passed in the
`create Box Sign request` call., defaults to None
:type iframeable_embed_url: Optional[str], optional
:param attachments: Attachments that the signer uploaded., defaults to None
:type attachments: Optional[List[SignRequestSignerAttachment]], optional
:param email: Email address of the signer.
The email address of the signer is required when making signature requests, except when using templates that are configured to include emails., defaults to None
:type email: Optional[str], optional
Expand Down Expand Up @@ -157,3 +164,4 @@ def __init__(
self.inputs = inputs
self.embed_url = embed_url
self.iframeable_embed_url = iframeable_embed_url
self.attachments = attachments
20 changes: 20 additions & 0 deletions box_sdk_gen/schemas/sign_request_signer_attachment.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
from typing import Optional

from box_sdk_gen.internal.base_object import BaseObject

from box_sdk_gen.box.errors import BoxSDKError


class SignRequestSignerAttachment(BaseObject):
def __init__(
self, *, id: Optional[str] = None, name: Optional[str] = None, **kwargs
):
"""
:param id: Identifier of the attachment file., defaults to None
:type id: Optional[str], optional
:param name: Display name of the attachment file., defaults to None
:type name: Optional[str], optional
"""
super().__init__(**kwargs)
self.id = id
self.name = name