Skip to content

Commit 560dee9

Browse files
dbbrahmbhattroot
andauthored
Version 3.14.0-v2.1-21.4.02.00 release (#140)
Co-authored-by: root <[email protected]>
1 parent 330a500 commit 560dee9

24 files changed

+913
-29
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.
33

44
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
55

6+
## [v3.14.0] - eSignature API v2.1-21.4.02.00 - 2022-02-11
7+
### Changed
8+
- Added support for version v2.1-21.4.02.00 of the DocuSign ESignature API.
9+
- Updated the SDK release version.
10+
611
## [v3.14.0rc1] - eSignature API v2.1-21.4.01.00 - 2022-01-06
712
### Changed
813
- Added support for version v2.1-21.4.01.00 of the DocuSign ESignature API.

docusign_esign/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@
145145
from docusign_esign.models.bulk_recipients_response import BulkRecipientsResponse
146146
from docusign_esign.models.bulk_recipients_summary_response import BulkRecipientsSummaryResponse
147147
from docusign_esign.models.bulk_recipients_update_response import BulkRecipientsUpdateResponse
148+
from docusign_esign.models.bulk_send_batch_action_request import BulkSendBatchActionRequest
148149
from docusign_esign.models.bulk_send_batch_error import BulkSendBatchError
149150
from docusign_esign.models.bulk_send_batch_request import BulkSendBatchRequest
150151
from docusign_esign.models.bulk_send_batch_status import BulkSendBatchStatus

docusign_esign/apis/bulk_envelopes_api.py

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,6 +1055,125 @@ def get_bulk_send_lists_with_http_info(self, account_id, **kwargs):
10551055
_request_timeout=params.get('_request_timeout'),
10561056
collection_formats=collection_formats)
10571057

1058+
def update_bulk_send_batch_action(self, account_id, bulk_action, bulk_send_batch_id, **kwargs):
1059+
"""
1060+
Initiate a specific bulk send batch action
1061+
This method makes a synchronous HTTP request by default. To make an
1062+
asynchronous HTTP request, please define a `callback` function
1063+
to be invoked when receiving the response.
1064+
>>> def callback_function(response):
1065+
>>> pprint(response)
1066+
>>>
1067+
>>> thread = api.update_bulk_send_batch_action(account_id, bulk_action, bulk_send_batch_id, callback=callback_function)
1068+
1069+
:param callback function: The callback function
1070+
for asynchronous request. (optional)
1071+
:param str account_id: The external account number (int) or account ID Guid. (required)
1072+
:param str bulk_action: (required)
1073+
:param str bulk_send_batch_id: (required)
1074+
:param BulkSendBatchActionRequest bulk_send_batch_action_request:
1075+
:return: BulkSendBatchStatus
1076+
If the method is called asynchronously,
1077+
returns the request thread.
1078+
"""
1079+
kwargs['_return_http_data_only'] = True
1080+
if kwargs.get('callback'):
1081+
return self.update_bulk_send_batch_action_with_http_info(account_id, bulk_action, bulk_send_batch_id, **kwargs)
1082+
else:
1083+
(data) = self.update_bulk_send_batch_action_with_http_info(account_id, bulk_action, bulk_send_batch_id, **kwargs)
1084+
return data
1085+
1086+
def update_bulk_send_batch_action_with_http_info(self, account_id, bulk_action, bulk_send_batch_id, **kwargs):
1087+
"""
1088+
Initiate a specific bulk send batch action
1089+
This method makes a synchronous HTTP request by default. To make an
1090+
asynchronous HTTP request, please define a `callback` function
1091+
to be invoked when receiving the response.
1092+
>>> def callback_function(response):
1093+
>>> pprint(response)
1094+
>>>
1095+
>>> thread = api.update_bulk_send_batch_action_with_http_info(account_id, bulk_action, bulk_send_batch_id, callback=callback_function)
1096+
1097+
:param callback function: The callback function
1098+
for asynchronous request. (optional)
1099+
:param str account_id: The external account number (int) or account ID Guid. (required)
1100+
:param str bulk_action: (required)
1101+
:param str bulk_send_batch_id: (required)
1102+
:param BulkSendBatchActionRequest bulk_send_batch_action_request:
1103+
:return: BulkSendBatchStatus
1104+
If the method is called asynchronously,
1105+
returns the request thread.
1106+
"""
1107+
1108+
all_params = ['account_id', 'bulk_action', 'bulk_send_batch_id', 'bulk_send_batch_action_request']
1109+
all_params.append('callback')
1110+
all_params.append('_return_http_data_only')
1111+
all_params.append('_preload_content')
1112+
all_params.append('_request_timeout')
1113+
1114+
params = locals()
1115+
for key, val in iteritems(params['kwargs']):
1116+
if key not in all_params:
1117+
raise TypeError(
1118+
"Got an unexpected keyword argument '%s'"
1119+
" to method update_bulk_send_batch_action" % key
1120+
)
1121+
params[key] = val
1122+
del params['kwargs']
1123+
# verify the required parameter 'account_id' is set
1124+
if ('account_id' not in params) or (params['account_id'] is None):
1125+
raise ValueError("Missing the required parameter `account_id` when calling `update_bulk_send_batch_action`")
1126+
# verify the required parameter 'bulk_action' is set
1127+
if ('bulk_action' not in params) or (params['bulk_action'] is None):
1128+
raise ValueError("Missing the required parameter `bulk_action` when calling `update_bulk_send_batch_action`")
1129+
# verify the required parameter 'bulk_send_batch_id' is set
1130+
if ('bulk_send_batch_id' not in params) or (params['bulk_send_batch_id'] is None):
1131+
raise ValueError("Missing the required parameter `bulk_send_batch_id` when calling `update_bulk_send_batch_action`")
1132+
1133+
1134+
collection_formats = {}
1135+
1136+
resource_path = '/v2.1/accounts/{accountId}/bulk_send_batch/{bulkSendBatchId}/{bulkAction}'.replace('{format}', 'json')
1137+
path_params = {}
1138+
if 'account_id' in params:
1139+
path_params['accountId'] = params['account_id']
1140+
if 'bulk_action' in params:
1141+
path_params['bulkAction'] = params['bulk_action']
1142+
if 'bulk_send_batch_id' in params:
1143+
path_params['bulkSendBatchId'] = params['bulk_send_batch_id']
1144+
1145+
query_params = {}
1146+
1147+
header_params = {}
1148+
1149+
form_params = []
1150+
local_var_files = {}
1151+
1152+
body_params = None
1153+
if 'bulk_send_batch_action_request' in params:
1154+
body_params = params['bulk_send_batch_action_request']
1155+
# HTTP header `Accept`
1156+
header_params['Accept'] = self.api_client.\
1157+
select_header_accept(['application/json'])
1158+
1159+
# Authentication setting
1160+
auth_settings = []
1161+
1162+
return self.api_client.call_api(resource_path, 'PUT',
1163+
path_params,
1164+
query_params,
1165+
header_params,
1166+
body=body_params,
1167+
post_params=form_params,
1168+
files=local_var_files,
1169+
response_type='BulkSendBatchStatus',
1170+
auth_settings=auth_settings,
1171+
callback=params.get('callback'),
1172+
_return_http_data_only=params.get('_return_http_data_only'),
1173+
_preload_content=params.get('_preload_content', True),
1174+
_request_timeout=params.get('_request_timeout'),
1175+
collection_formats=collection_formats)
1176+
10581177
def update_bulk_send_batch_status(self, account_id, bulk_send_batch_id, **kwargs):
10591178
"""
10601179
Put/Update a specific bulk send batch status

docusign_esign/models/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
from docusign_esign.models.bulk_recipients_response import BulkRecipientsResponse
110110
from docusign_esign.models.bulk_recipients_summary_response import BulkRecipientsSummaryResponse
111111
from docusign_esign.models.bulk_recipients_update_response import BulkRecipientsUpdateResponse
112+
from docusign_esign.models.bulk_send_batch_action_request import BulkSendBatchActionRequest
112113
from docusign_esign.models.bulk_send_batch_error import BulkSendBatchError
113114
from docusign_esign.models.bulk_send_batch_request import BulkSendBatchRequest
114115
from docusign_esign.models.bulk_send_batch_status import BulkSendBatchStatus

docusign_esign/models/account_settings_information.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3304,7 +3304,7 @@ def allow_data_download_metadata(self, allow_data_download_metadata):
33043304
def allow_delayed_routing(self):
33053305
"""Gets the allow_delayed_routing of this AccountSettingsInformation. # noqa: E501
33063306

3307-
# noqa: E501
3307+
\"true\" if the account has permission to use the delayed routing feature to insert delays before routing an envelope to a recipient, \"false\" otherwise. # noqa: E501
33083308

33093309
:return: The allow_delayed_routing of this AccountSettingsInformation. # noqa: E501
33103310
:rtype: str
@@ -3315,7 +3315,7 @@ def allow_delayed_routing(self):
33153315
def allow_delayed_routing(self, allow_delayed_routing):
33163316
"""Sets the allow_delayed_routing of this AccountSettingsInformation.
33173317

3318-
# noqa: E501
3318+
\"true\" if the account has permission to use the delayed routing feature to insert delays before routing an envelope to a recipient, \"false\" otherwise. # noqa: E501
33193319

33203320
:param allow_delayed_routing: The allow_delayed_routing of this AccountSettingsInformation. # noqa: E501
33213321
:type: str
@@ -5372,7 +5372,7 @@ def allow_safe_bio_pharma_signer_certificate_metadata(self, allow_safe_bio_pharm
53725372
def allow_scheduled_sending(self):
53735373
"""Gets the allow_scheduled_sending of this AccountSettingsInformation. # noqa: E501
53745374

5375-
# noqa: E501
5375+
\"true\" if the account has permission to use the scheduled sending feature to send envelopes at a specified datetime in the future, \"false\" otherwise. # noqa: E501
53765376

53775377
:return: The allow_scheduled_sending of this AccountSettingsInformation. # noqa: E501
53785378
:rtype: str
@@ -5383,7 +5383,7 @@ def allow_scheduled_sending(self):
53835383
def allow_scheduled_sending(self, allow_scheduled_sending):
53845384
"""Sets the allow_scheduled_sending of this AccountSettingsInformation.
53855385

5386-
# noqa: E501
5386+
\"true\" if the account has permission to use the scheduled sending feature to send envelopes at a specified datetime in the future, \"false\" otherwise. # noqa: E501
53875387

53885388
:param allow_scheduled_sending: The allow_scheduled_sending of this AccountSettingsInformation. # noqa: E501
53895389
:type: str

docusign_esign/models/agent.py

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class Agent(object):
5353
'email': 'str',
5454
'email_metadata': 'PropertyMetadata',
5555
'email_notification': 'RecipientEmailNotification',
56+
'email_recipient_post_signing_url': 'str',
5657
'embedded_recipient_start_url': 'str',
5758
'error_details': 'ErrorDetails',
5859
'excluded_documents': 'list[str]',
@@ -127,6 +128,7 @@ class Agent(object):
127128
'email': 'email',
128129
'email_metadata': 'emailMetadata',
129130
'email_notification': 'emailNotification',
131+
'email_recipient_post_signing_url': 'emailRecipientPostSigningURL',
130132
'embedded_recipient_start_url': 'embeddedRecipientStartURL',
131133
'error_details': 'errorDetails',
132134
'excluded_documents': 'excludedDocuments',
@@ -206,6 +208,7 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501
206208
self._email = None
207209
self._email_metadata = None
208210
self._email_notification = None
211+
self._email_recipient_post_signing_url = None
209212
self._embedded_recipient_start_url = None
210213
self._error_details = None
211214
self._excluded_documents = None
@@ -279,6 +282,7 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501
279282
setattr(self, "_{}".format('email'), kwargs.get('email', None))
280283
setattr(self, "_{}".format('email_metadata'), kwargs.get('email_metadata', None))
281284
setattr(self, "_{}".format('email_notification'), kwargs.get('email_notification', None))
285+
setattr(self, "_{}".format('email_recipient_post_signing_url'), kwargs.get('email_recipient_post_signing_url', None))
282286
setattr(self, "_{}".format('embedded_recipient_start_url'), kwargs.get('embedded_recipient_start_url', None))
283287
setattr(self, "_{}".format('error_details'), kwargs.get('error_details', None))
284288
setattr(self, "_{}".format('excluded_documents'), kwargs.get('excluded_documents', None))
@@ -783,6 +787,29 @@ def email_notification(self, email_notification):
783787

784788
self._email_notification = email_notification
785789

790+
@property
791+
def email_recipient_post_signing_url(self):
792+
"""Gets the email_recipient_post_signing_url of this Agent. # noqa: E501
793+
794+
# noqa: E501
795+
796+
:return: The email_recipient_post_signing_url of this Agent. # noqa: E501
797+
:rtype: str
798+
"""
799+
return self._email_recipient_post_signing_url
800+
801+
@email_recipient_post_signing_url.setter
802+
def email_recipient_post_signing_url(self, email_recipient_post_signing_url):
803+
"""Sets the email_recipient_post_signing_url of this Agent.
804+
805+
# noqa: E501
806+
807+
:param email_recipient_post_signing_url: The email_recipient_post_signing_url of this Agent. # noqa: E501
808+
:type: str
809+
"""
810+
811+
self._email_recipient_post_signing_url = email_recipient_post_signing_url
812+
786813
@property
787814
def embedded_recipient_start_url(self):
788815
"""Gets the embedded_recipient_start_url of this Agent. # noqa: E501

0 commit comments

Comments
 (0)