Skip to content

Commit 677d22f

Browse files
Version 3.6.0rc1 release (#88)
* Version 3.6.0rc1-v2.1-20.3.00 release * Update .travis.yml * Update README.md Co-authored-by: DevCenter-DocuSign <dcdev@docusign.com>
1 parent 81657cf commit 677d22f

24 files changed

+11687
-766
lines changed

docusign_esign/apis/accounts_api.py

Lines changed: 1767 additions & 751 deletions
Large diffs are not rendered by default.

docusign_esign/apis/envelopes_api.py

Lines changed: 114 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3730,6 +3730,118 @@ def delete_email_settings_with_http_info(self, account_id, envelope_id, **kwargs
37303730
_request_timeout=params.get('_request_timeout'),
37313731
collection_formats=collection_formats)
37323732

3733+
def delete_envelope_correct_view(self, account_id, envelope_id, **kwargs):
3734+
"""
3735+
Revokes the correction view URL to the Envelope UI
3736+
This method makes a synchronous HTTP request by default. To make an
3737+
asynchronous HTTP request, please define a `callback` function
3738+
to be invoked when receiving the response.
3739+
>>> def callback_function(response):
3740+
>>> pprint(response)
3741+
>>>
3742+
>>> thread = api.delete_envelope_correct_view(account_id, envelope_id, callback=callback_function)
3743+
3744+
:param callback function: The callback function
3745+
for asynchronous request. (optional)
3746+
:param str account_id: The external account number (int) or account ID Guid. (required)
3747+
:param str envelope_id: The envelopeId Guid of the envelope being accessed. (required)
3748+
:param CorrectViewRequest correct_view_request:
3749+
:return: None
3750+
If the method is called asynchronously,
3751+
returns the request thread.
3752+
"""
3753+
kwargs['_return_http_data_only'] = True
3754+
if kwargs.get('callback'):
3755+
return self.delete_envelope_correct_view_with_http_info(account_id, envelope_id, **kwargs)
3756+
else:
3757+
(data) = self.delete_envelope_correct_view_with_http_info(account_id, envelope_id, **kwargs)
3758+
return data
3759+
3760+
def delete_envelope_correct_view_with_http_info(self, account_id, envelope_id, **kwargs):
3761+
"""
3762+
Revokes the correction view URL to the Envelope UI
3763+
This method makes a synchronous HTTP request by default. To make an
3764+
asynchronous HTTP request, please define a `callback` function
3765+
to be invoked when receiving the response.
3766+
>>> def callback_function(response):
3767+
>>> pprint(response)
3768+
>>>
3769+
>>> thread = api.delete_envelope_correct_view_with_http_info(account_id, envelope_id, callback=callback_function)
3770+
3771+
:param callback function: The callback function
3772+
for asynchronous request. (optional)
3773+
:param str account_id: The external account number (int) or account ID Guid. (required)
3774+
:param str envelope_id: The envelopeId Guid of the envelope being accessed. (required)
3775+
:param CorrectViewRequest correct_view_request:
3776+
:return: None
3777+
If the method is called asynchronously,
3778+
returns the request thread.
3779+
"""
3780+
3781+
all_params = ['account_id', 'envelope_id', 'correct_view_request']
3782+
all_params.append('callback')
3783+
all_params.append('_return_http_data_only')
3784+
all_params.append('_preload_content')
3785+
all_params.append('_request_timeout')
3786+
3787+
params = locals()
3788+
for key, val in iteritems(params['kwargs']):
3789+
if key not in all_params:
3790+
raise TypeError(
3791+
"Got an unexpected keyword argument '%s'"
3792+
" to method delete_envelope_correct_view" % key
3793+
)
3794+
params[key] = val
3795+
del params['kwargs']
3796+
# verify the required parameter 'account_id' is set
3797+
if ('account_id' not in params) or (params['account_id'] is None):
3798+
raise ValueError("Missing the required parameter `account_id` when calling `delete_envelope_correct_view`")
3799+
# verify the required parameter 'envelope_id' is set
3800+
if ('envelope_id' not in params) or (params['envelope_id'] is None):
3801+
raise ValueError("Missing the required parameter `envelope_id` when calling `delete_envelope_correct_view`")
3802+
3803+
3804+
collection_formats = {}
3805+
3806+
resource_path = '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/views/correct'.replace('{format}', 'json')
3807+
path_params = {}
3808+
if 'account_id' in params:
3809+
path_params['accountId'] = params['account_id']
3810+
if 'envelope_id' in params:
3811+
path_params['envelopeId'] = params['envelope_id']
3812+
3813+
query_params = {}
3814+
3815+
header_params = {}
3816+
3817+
form_params = []
3818+
local_var_files = {}
3819+
3820+
body_params = None
3821+
if 'correct_view_request' in params:
3822+
body_params = params['correct_view_request']
3823+
# HTTP header `Accept`
3824+
header_params['Accept'] = self.api_client.\
3825+
select_header_accept(['application/json'])
3826+
3827+
# Authentication setting
3828+
auth_settings = []
3829+
3830+
return self.api_client.call_api(resource_path, 'DELETE',
3831+
path_params,
3832+
query_params,
3833+
header_params,
3834+
body=body_params,
3835+
post_params=form_params,
3836+
files=local_var_files,
3837+
response_type=None,
3838+
auth_settings=auth_settings,
3839+
callback=params.get('callback'),
3840+
_return_http_data_only=params.get('_return_http_data_only'),
3841+
_preload_content=params.get('_preload_content', True),
3842+
_request_timeout=params.get('_request_timeout'),
3843+
collection_formats=collection_formats)
3844+
37333845
def delete_envelope_transfer_rules(self, account_id, envelope_transfer_rule_id, **kwargs):
37343846
"""
37353847
Delete envelope transfer rules for an account.
@@ -5103,7 +5215,7 @@ def get_consumer_disclosure(self, account_id, envelope_id, lang_code, recipient_
51035215
for asynchronous request. (optional)
51045216
:param str account_id: The external account number (int) or account ID Guid. (required)
51055217
:param str envelope_id: The envelopeId Guid of the envelope being accessed. (required)
5106-
:param str lang_code: The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. (required)
5218+
:param str lang_code: The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. (required)
51075219
:param str recipient_id: The ID of the recipient being accessed. (required)
51085220
:param str lang_code2:
51095221
:return: ConsumerDisclosure
@@ -5133,7 +5245,7 @@ def get_consumer_disclosure_with_http_info(self, account_id, envelope_id, lang_c
51335245
for asynchronous request. (optional)
51345246
:param str account_id: The external account number (int) or account ID Guid. (required)
51355247
:param str envelope_id: The envelopeId Guid of the envelope being accessed. (required)
5136-
:param str lang_code: The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. (required)
5248+
:param str lang_code: The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. (required)
51375249
:param str recipient_id: The ID of the recipient being accessed. (required)
51385250
:param str lang_code2:
51395251
:return: ConsumerDisclosure

docusign_esign/models/__init__.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,12 @@
3838
from docusign_esign.models.account_seals import AccountSeals
3939
from docusign_esign.models.account_settings_information import AccountSettingsInformation
4040
from docusign_esign.models.account_shared_access import AccountSharedAccess
41+
from docusign_esign.models.account_signature import AccountSignature
42+
from docusign_esign.models.account_signature_definition import AccountSignatureDefinition
4143
from docusign_esign.models.account_signature_provider import AccountSignatureProvider
4244
from docusign_esign.models.account_signature_provider_option import AccountSignatureProviderOption
4345
from docusign_esign.models.account_signature_providers import AccountSignatureProviders
46+
from docusign_esign.models.account_signatures_information import AccountSignaturesInformation
4447
from docusign_esign.models.account_ui_settings import AccountUISettings
4548
from docusign_esign.models.add_on import AddOn
4649
from docusign_esign.models.address_information import AddressInformation
@@ -281,14 +284,17 @@
281284
from docusign_esign.models.new_users_summary import NewUsersSummary
282285
from docusign_esign.models.notarize import Notarize
283286
from docusign_esign.models.notary import Notary
287+
from docusign_esign.models.notary_certificate import NotaryCertificate
284288
from docusign_esign.models.notary_host import NotaryHost
285289
from docusign_esign.models.notary_journal import NotaryJournal
286290
from docusign_esign.models.notary_journal_credible_witness import NotaryJournalCredibleWitness
287291
from docusign_esign.models.notary_journal_list import NotaryJournalList
288292
from docusign_esign.models.notary_journal_meta_data import NotaryJournalMetaData
289293
from docusign_esign.models.notary_jurisdiction import NotaryJurisdiction
290294
from docusign_esign.models.notary_jurisdiction_list import NotaryJurisdictionList
295+
from docusign_esign.models.notary_recipient import NotaryRecipient
291296
from docusign_esign.models.notary_result import NotaryResult
297+
from docusign_esign.models.notary_seal import NotarySeal
292298
from docusign_esign.models.note import Note
293299
from docusign_esign.models.notification import Notification
294300
from docusign_esign.models.notification_default_settings import NotificationDefaultSettings
@@ -380,8 +386,12 @@
380386
from docusign_esign.models.settings_metadata import SettingsMetadata
381387
from docusign_esign.models.shared_item import SharedItem
382388
from docusign_esign.models.sign_here import SignHere
389+
from docusign_esign.models.signature_group import SignatureGroup
390+
from docusign_esign.models.signature_group_def import SignatureGroupDef
383391
from docusign_esign.models.signature_provider_required_option import SignatureProviderRequiredOption
384392
from docusign_esign.models.signature_type import SignatureType
393+
from docusign_esign.models.signature_user import SignatureUser
394+
from docusign_esign.models.signature_user_def import SignatureUserDef
385395
from docusign_esign.models.signer import Signer
386396
from docusign_esign.models.signer_attachment import SignerAttachment
387397
from docusign_esign.models.signer_email_notifications import SignerEmailNotifications

docusign_esign/models/account_settings_information.py

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ class AccountSettingsInformation(object):
3434
'access_code_format': 'AccessCodeFormat',
3535
'account_date_time_format': 'str',
3636
'account_date_time_format_metadata': 'SettingsMetadata',
37+
'account_default_language': 'str',
38+
'account_default_language_metadata': 'SettingsMetadata',
3739
'account_name': 'str',
3840
'account_name_metadata': 'SettingsMetadata',
3941
'account_notification': 'AccountNotification',
@@ -552,6 +554,8 @@ class AccountSettingsInformation(object):
552554
'access_code_format': 'accessCodeFormat',
553555
'account_date_time_format': 'accountDateTimeFormat',
554556
'account_date_time_format_metadata': 'accountDateTimeFormatMetadata',
557+
'account_default_language': 'accountDefaultLanguage',
558+
'account_default_language_metadata': 'accountDefaultLanguageMetadata',
555559
'account_name': 'accountName',
556560
'account_name_metadata': 'accountNameMetadata',
557561
'account_notification': 'accountNotification',
@@ -1072,6 +1076,8 @@ def __init__(self, **kwargs):
10721076
self._access_code_format = None
10731077
self._account_date_time_format = None
10741078
self._account_date_time_format_metadata = None
1079+
self._account_default_language = None
1080+
self._account_default_language_metadata = None
10751081
self._account_name = None
10761082
self._account_name_metadata = None
10771083
self._account_notification = None
@@ -1655,6 +1661,50 @@ def account_date_time_format_metadata(self, account_date_time_format_metadata):
16551661

16561662
self._account_date_time_format_metadata = account_date_time_format_metadata
16571663

1664+
@property
1665+
def account_default_language(self):
1666+
"""Gets the account_default_language of this AccountSettingsInformation. # noqa: E501
1667+
1668+
# noqa: E501
1669+
1670+
:return: The account_default_language of this AccountSettingsInformation. # noqa: E501
1671+
:rtype: str
1672+
"""
1673+
return self._account_default_language
1674+
1675+
@account_default_language.setter
1676+
def account_default_language(self, account_default_language):
1677+
"""Sets the account_default_language of this AccountSettingsInformation.
1678+
1679+
# noqa: E501
1680+
1681+
:param account_default_language: The account_default_language of this AccountSettingsInformation. # noqa: E501
1682+
:type: str
1683+
"""
1684+
1685+
self._account_default_language = account_default_language
1686+
1687+
@property
1688+
def account_default_language_metadata(self):
1689+
"""Gets the account_default_language_metadata of this AccountSettingsInformation. # noqa: E501
1690+
1691+
1692+
:return: The account_default_language_metadata of this AccountSettingsInformation. # noqa: E501
1693+
:rtype: SettingsMetadata
1694+
"""
1695+
return self._account_default_language_metadata
1696+
1697+
@account_default_language_metadata.setter
1698+
def account_default_language_metadata(self, account_default_language_metadata):
1699+
"""Sets the account_default_language_metadata of this AccountSettingsInformation.
1700+
1701+
1702+
:param account_default_language_metadata: The account_default_language_metadata of this AccountSettingsInformation. # noqa: E501
1703+
:type: SettingsMetadata
1704+
"""
1705+
1706+
self._account_default_language_metadata = account_default_language_metadata
1707+
16581708
@property
16591709
def account_name(self):
16601710
"""Gets the account_name of this AccountSettingsInformation. # noqa: E501

0 commit comments

Comments
 (0)