Skip to content

Commit d2ff760

Browse files
feat: Expose errorCode in sign request schemas (box/box-openapi#601) (#1484)
1 parent 3319b4a commit d2ff760

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

‎.codegen.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "engineHash": "b8db85c", "specHash": "d028758", "version": "10.11.0" }
1+
{ "engineHash": "a87c352", "specHash": "ded99bf", "version": "10.11.0" }

‎box_sdk_gen/schemas/sign_request.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def __init__(
8585
short_id: Optional[str] = None,
8686
created_at: Optional[DateTime] = None,
8787
finished_at: Optional[DateTime] = None,
88+
error_code: Optional[str] = None,
8889
sender_email: Optional[str] = None,
8990
sender_id: Optional[int] = None,
9091
is_document_preparation_needed: Optional[bool] = None,
@@ -136,6 +137,9 @@ def __init__(
136137
:type created_at: Optional[DateTime], optional
137138
:param finished_at: Timestamp indicating when all signing actions completed., defaults to None
138139
:type finished_at: Optional[DateTime], optional
140+
:param error_code: When the sign request is in an error state, identifies the specific
141+
reason. Null when no error code applies., defaults to None
142+
:type error_code: Optional[str], optional
139143
:param sender_email: The email address of the sender of the sign request., defaults to None
140144
:type sender_email: Optional[str], optional
141145
:param sender_id: The user ID of the sender of the sign request., defaults to None
@@ -198,5 +202,6 @@ def __init__(
198202
self.short_id = short_id
199203
self.created_at = created_at
200204
self.finished_at = finished_at
205+
self.error_code = error_code
201206
self.sender_email = sender_email
202207
self.sender_id = sender_id

0 commit comments

Comments
 (0)