Skip to content

Commit 26763a2

Browse files
garg-muditroot
andauthored
Version 6.1.0-v2.1-26.1.00.00 release (#212)
Co-authored-by: root <root@devcenteradmin.docusigntest.com>
1 parent b57ecf9 commit 26763a2

25 files changed

Lines changed: 1617 additions & 87 deletions

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+
## [v6.1.0] - eSignature API v2.1-26.1.00.00 - 2026-03-05
7+
### Changed
8+
- Added support for version v2.1-26.1.00.00 of the DocuSign ESignature API.
9+
- Updated the SDK release version.
10+
611
## [v6.0.0] - eSignature API v2.1-25.4.01.00 - 2026-01-27
712
### Changed
813
- Added support for version v2.1-25.4.01.00 of the DocuSign ESignature API.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This client SDK is provided as open source, which enables you to customize its f
3333
<a id="versionInformation"></a>
3434
### Version Information
3535
- **API version**: v2.1
36-
- **Latest SDK version**: 6.0.0
36+
- **Latest SDK version**: 6.1.0
3737

3838
<a id="requirements"></a>
3939
## Requirements

docusign_esign/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@
238238
from docusign_esign.models.doc_gen_form_field_row_value import DocGenFormFieldRowValue
239239
from docusign_esign.models.doc_gen_form_field_validation import DocGenFormFieldValidation
240240
from docusign_esign.models.doc_gen_form_fields import DocGenFormFields
241+
from docusign_esign.models.doc_gen_format import DocGenFormat
241242
from docusign_esign.models.doc_gen_syntax_error import DocGenSyntaxError
242243
from docusign_esign.models.document import Document
243244
from docusign_esign.models.document_fields_information import DocumentFieldsInformation
@@ -298,6 +299,10 @@
298299
from docusign_esign.models.envelope_view_tagger_settings import EnvelopeViewTaggerSettings
299300
from docusign_esign.models.envelope_view_template_settings import EnvelopeViewTemplateSettings
300301
from docusign_esign.models.envelopes_information import EnvelopesInformation
302+
from docusign_esign.models.envelopes_shares_request import EnvelopesSharesRequest
303+
from docusign_esign.models.envelopes_shares_request_item import EnvelopesSharesRequestItem
304+
from docusign_esign.models.envelopes_shares_response import EnvelopesSharesResponse
305+
from docusign_esign.models.envelopes_shares_response_item import EnvelopesSharesResponseItem
301306
from docusign_esign.models.error_details import ErrorDetails
302307
from docusign_esign.models.event_notification import EventNotification
303308
from docusign_esign.models.event_result import EventResult

docusign_esign/apis/envelopes_api.py

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2004,6 +2004,118 @@ def create_envelope_workflow_step_definition_with_http_info(self, account_id, en
20042004
_request_timeout=params.get('_request_timeout'),
20052005
collection_formats=collection_formats)
20062006

2007+
def create_envelopes_shares(self, account_id, envelope_id, **kwargs):
2008+
"""
2009+
Creates new envelopes shares
2010+
This method makes a synchronous HTTP request by default. To make an
2011+
asynchronous HTTP request, please define a `callback` function
2012+
to be invoked when receiving the response.
2013+
>>> def callback_function(response):
2014+
>>> pprint(response)
2015+
>>>
2016+
>>> thread = api.create_envelopes_shares(account_id, envelope_id, callback=callback_function)
2017+
2018+
:param callback function: The callback function
2019+
for asynchronous request. (optional)
2020+
:param str account_id: The external account number (int) or account ID Guid. (required)
2021+
:param str envelope_id: The envelopeId Guid of the envelope being accessed. (required)
2022+
:param EnvelopesSharesRequest envelopes_shares_request:
2023+
:return: EnvelopesSharesResponse
2024+
If the method is called asynchronously,
2025+
returns the request thread.
2026+
"""
2027+
kwargs['_return_http_data_only'] = True
2028+
if kwargs.get('callback'):
2029+
return self.create_envelopes_shares_with_http_info(account_id, envelope_id, **kwargs)
2030+
else:
2031+
(data) = self.create_envelopes_shares_with_http_info(account_id, envelope_id, **kwargs)
2032+
return data
2033+
2034+
def create_envelopes_shares_with_http_info(self, account_id, envelope_id, **kwargs):
2035+
"""
2036+
Creates new envelopes shares
2037+
This method makes a synchronous HTTP request by default. To make an
2038+
asynchronous HTTP request, please define a `callback` function
2039+
to be invoked when receiving the response.
2040+
>>> def callback_function(response):
2041+
>>> pprint(response)
2042+
>>>
2043+
>>> thread = api.create_envelopes_shares_with_http_info(account_id, envelope_id, callback=callback_function)
2044+
2045+
:param callback function: The callback function
2046+
for asynchronous request. (optional)
2047+
:param str account_id: The external account number (int) or account ID Guid. (required)
2048+
:param str envelope_id: The envelopeId Guid of the envelope being accessed. (required)
2049+
:param EnvelopesSharesRequest envelopes_shares_request:
2050+
:return: EnvelopesSharesResponse
2051+
If the method is called asynchronously,
2052+
returns the request thread.
2053+
"""
2054+
2055+
all_params = ['account_id', 'envelope_id', 'envelopes_shares_request']
2056+
all_params.append('callback')
2057+
all_params.append('_return_http_data_only')
2058+
all_params.append('_preload_content')
2059+
all_params.append('_request_timeout')
2060+
2061+
params = locals()
2062+
for key, val in iteritems(params['kwargs']):
2063+
if key not in all_params:
2064+
raise TypeError(
2065+
"Got an unexpected keyword argument '%s'"
2066+
" to method create_envelopes_shares" % key
2067+
)
2068+
params[key] = val
2069+
del params['kwargs']
2070+
# verify the required parameter 'account_id' is set
2071+
if ('account_id' not in params) or (params['account_id'] is None):
2072+
raise ValueError("Missing the required parameter `account_id` when calling `create_envelopes_shares`")
2073+
# verify the required parameter 'envelope_id' is set
2074+
if ('envelope_id' not in params) or (params['envelope_id'] is None):
2075+
raise ValueError("Missing the required parameter `envelope_id` when calling `create_envelopes_shares`")
2076+
2077+
2078+
collection_formats = {}
2079+
2080+
resource_path = '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/shares'.replace('{format}', 'json')
2081+
path_params = {}
2082+
if 'account_id' in params:
2083+
path_params['accountId'] = params['account_id']
2084+
if 'envelope_id' in params:
2085+
path_params['envelopeId'] = params['envelope_id']
2086+
2087+
query_params = {}
2088+
2089+
header_params = {}
2090+
2091+
form_params = []
2092+
local_var_files = {}
2093+
2094+
body_params = None
2095+
if 'envelopes_shares_request' in params:
2096+
body_params = params['envelopes_shares_request']
2097+
# HTTP header `Accept`
2098+
header_params['Accept'] = self.api_client.\
2099+
select_header_accept(['application/json'])
2100+
2101+
# Authentication setting
2102+
auth_settings = []
2103+
2104+
return self.api_client.call_api(resource_path, 'POST',
2105+
path_params,
2106+
query_params,
2107+
header_params,
2108+
body=body_params,
2109+
post_params=form_params,
2110+
files=local_var_files,
2111+
response_type='EnvelopesSharesResponse',
2112+
auth_settings=auth_settings,
2113+
callback=params.get('callback'),
2114+
_return_http_data_only=params.get('_return_http_data_only'),
2115+
_preload_content=params.get('_preload_content', True),
2116+
_request_timeout=params.get('_request_timeout'),
2117+
collection_formats=collection_formats)
2118+
20072119
def create_historical_envelope_publish_transaction(self, account_id, **kwargs):
20082120
"""
20092121
Submits a batch of historical envelopes for republish to an adhoc config.

docusign_esign/client/configuration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ def __init__(self):
116116
python_version = platform.python_version()
117117

118118
if six.PY3:
119-
self.user_agent = "Swagger-Codegen/v2.1/6.0.0/python3/" + f"{python_version}"
119+
self.user_agent = "Swagger-Codegen/v2.1/6.1.0/python3/" + f"{python_version}"
120120
else:
121-
self.user_agent = "Swagger-Codegen/v2.1/6.0.0/python2/" + f"{python_version}"
121+
self.user_agent = "Swagger-Codegen/v2.1/6.1.0/python2/" + f"{python_version}"
122122

123123

124124
@classmethod
@@ -274,5 +274,5 @@ def to_debug_report(self):
274274
"OS: {env}\n"\
275275
"Python Version: {pyversion}\n"\
276276
"Version of the API: v2.1\n"\
277-
"SDK Package Version: 6.0.0".\
277+
"SDK Package Version: 6.1.0".\
278278
format(env=sys.platform, pyversion=sys.version)

docusign_esign/models/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@
202202
from docusign_esign.models.doc_gen_form_field_row_value import DocGenFormFieldRowValue
203203
from docusign_esign.models.doc_gen_form_field_validation import DocGenFormFieldValidation
204204
from docusign_esign.models.doc_gen_form_fields import DocGenFormFields
205+
from docusign_esign.models.doc_gen_format import DocGenFormat
205206
from docusign_esign.models.doc_gen_syntax_error import DocGenSyntaxError
206207
from docusign_esign.models.document import Document
207208
from docusign_esign.models.document_fields_information import DocumentFieldsInformation
@@ -262,6 +263,10 @@
262263
from docusign_esign.models.envelope_view_tagger_settings import EnvelopeViewTaggerSettings
263264
from docusign_esign.models.envelope_view_template_settings import EnvelopeViewTemplateSettings
264265
from docusign_esign.models.envelopes_information import EnvelopesInformation
266+
from docusign_esign.models.envelopes_shares_request import EnvelopesSharesRequest
267+
from docusign_esign.models.envelopes_shares_request_item import EnvelopesSharesRequestItem
268+
from docusign_esign.models.envelopes_shares_response import EnvelopesSharesResponse
269+
from docusign_esign.models.envelopes_shares_response_item import EnvelopesSharesResponseItem
265270
from docusign_esign.models.error_details import ErrorDetails
266271
from docusign_esign.models.event_notification import EventNotification
267272
from docusign_esign.models.event_result import EventResult

0 commit comments

Comments
 (0)