Skip to content

Commit

Permalink
Version 3.6.0rc1 release (#88)
Browse files Browse the repository at this point in the history
* Version 3.6.0rc1-v2.1-20.3.00 release

* Update .travis.yml

* Update README.md

Co-authored-by: DevCenter-DocuSign <[email protected]>
  • Loading branch information
harsharahul and DevCenter-DocuSign authored Sep 24, 2020
1 parent 81657cf commit 677d22f
Show file tree
Hide file tree
Showing 24 changed files with 11,687 additions and 766 deletions.
2,518 changes: 1,767 additions & 751 deletions docusign_esign/apis/accounts_api.py

Large diffs are not rendered by default.

116 changes: 114 additions & 2 deletions docusign_esign/apis/envelopes_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3730,6 +3730,118 @@ def delete_email_settings_with_http_info(self, account_id, envelope_id, **kwargs
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)

def delete_envelope_correct_view(self, account_id, envelope_id, **kwargs):
"""
Revokes the correction view URL to the Envelope UI
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.delete_envelope_correct_view(account_id, envelope_id, callback=callback_function)

:param callback function: The callback function
for asynchronous request. (optional)
:param str account_id: The external account number (int) or account ID Guid. (required)
:param str envelope_id: The envelopeId Guid of the envelope being accessed. (required)
:param CorrectViewRequest correct_view_request:
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.delete_envelope_correct_view_with_http_info(account_id, envelope_id, **kwargs)
else:
(data) = self.delete_envelope_correct_view_with_http_info(account_id, envelope_id, **kwargs)
return data

def delete_envelope_correct_view_with_http_info(self, account_id, envelope_id, **kwargs):
"""
Revokes the correction view URL to the Envelope UI
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.delete_envelope_correct_view_with_http_info(account_id, envelope_id, callback=callback_function)

:param callback function: The callback function
for asynchronous request. (optional)
:param str account_id: The external account number (int) or account ID Guid. (required)
:param str envelope_id: The envelopeId Guid of the envelope being accessed. (required)
:param CorrectViewRequest correct_view_request:
:return: None
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['account_id', 'envelope_id', 'correct_view_request']
all_params.append('callback')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')

params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method delete_envelope_correct_view" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'account_id' is set
if ('account_id' not in params) or (params['account_id'] is None):
raise ValueError("Missing the required parameter `account_id` when calling `delete_envelope_correct_view`")
# verify the required parameter 'envelope_id' is set
if ('envelope_id' not in params) or (params['envelope_id'] is None):
raise ValueError("Missing the required parameter `envelope_id` when calling `delete_envelope_correct_view`")


collection_formats = {}

resource_path = '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/views/correct'.replace('{format}', 'json')
path_params = {}
if 'account_id' in params:
path_params['accountId'] = params['account_id']
if 'envelope_id' in params:
path_params['envelopeId'] = params['envelope_id']

query_params = {}

header_params = {}

form_params = []
local_var_files = {}

body_params = None
if 'correct_view_request' in params:
body_params = params['correct_view_request']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])

# Authentication setting
auth_settings = []

return self.api_client.call_api(resource_path, 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None,
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)

def delete_envelope_transfer_rules(self, account_id, envelope_transfer_rule_id, **kwargs):
"""
Delete envelope transfer rules for an account.
Expand Down Expand Up @@ -5103,7 +5215,7 @@ def get_consumer_disclosure(self, account_id, envelope_id, lang_code, recipient_
for asynchronous request. (optional)
:param str account_id: The external account number (int) or account ID Guid. (required)
:param str envelope_id: The envelopeId Guid of the envelope being accessed. (required)
: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)
: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)
:param str recipient_id: The ID of the recipient being accessed. (required)
:param str lang_code2:
:return: ConsumerDisclosure
Expand Down Expand Up @@ -5133,7 +5245,7 @@ def get_consumer_disclosure_with_http_info(self, account_id, envelope_id, lang_c
for asynchronous request. (optional)
:param str account_id: The external account number (int) or account ID Guid. (required)
:param str envelope_id: The envelopeId Guid of the envelope being accessed. (required)
: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)
: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)
:param str recipient_id: The ID of the recipient being accessed. (required)
:param str lang_code2:
:return: ConsumerDisclosure
Expand Down
10 changes: 10 additions & 0 deletions docusign_esign/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,12 @@
from docusign_esign.models.account_seals import AccountSeals
from docusign_esign.models.account_settings_information import AccountSettingsInformation
from docusign_esign.models.account_shared_access import AccountSharedAccess
from docusign_esign.models.account_signature import AccountSignature
from docusign_esign.models.account_signature_definition import AccountSignatureDefinition
from docusign_esign.models.account_signature_provider import AccountSignatureProvider
from docusign_esign.models.account_signature_provider_option import AccountSignatureProviderOption
from docusign_esign.models.account_signature_providers import AccountSignatureProviders
from docusign_esign.models.account_signatures_information import AccountSignaturesInformation
from docusign_esign.models.account_ui_settings import AccountUISettings
from docusign_esign.models.add_on import AddOn
from docusign_esign.models.address_information import AddressInformation
Expand Down Expand Up @@ -281,14 +284,17 @@
from docusign_esign.models.new_users_summary import NewUsersSummary
from docusign_esign.models.notarize import Notarize
from docusign_esign.models.notary import Notary
from docusign_esign.models.notary_certificate import NotaryCertificate
from docusign_esign.models.notary_host import NotaryHost
from docusign_esign.models.notary_journal import NotaryJournal
from docusign_esign.models.notary_journal_credible_witness import NotaryJournalCredibleWitness
from docusign_esign.models.notary_journal_list import NotaryJournalList
from docusign_esign.models.notary_journal_meta_data import NotaryJournalMetaData
from docusign_esign.models.notary_jurisdiction import NotaryJurisdiction
from docusign_esign.models.notary_jurisdiction_list import NotaryJurisdictionList
from docusign_esign.models.notary_recipient import NotaryRecipient
from docusign_esign.models.notary_result import NotaryResult
from docusign_esign.models.notary_seal import NotarySeal
from docusign_esign.models.note import Note
from docusign_esign.models.notification import Notification
from docusign_esign.models.notification_default_settings import NotificationDefaultSettings
Expand Down Expand Up @@ -380,8 +386,12 @@
from docusign_esign.models.settings_metadata import SettingsMetadata
from docusign_esign.models.shared_item import SharedItem
from docusign_esign.models.sign_here import SignHere
from docusign_esign.models.signature_group import SignatureGroup
from docusign_esign.models.signature_group_def import SignatureGroupDef
from docusign_esign.models.signature_provider_required_option import SignatureProviderRequiredOption
from docusign_esign.models.signature_type import SignatureType
from docusign_esign.models.signature_user import SignatureUser
from docusign_esign.models.signature_user_def import SignatureUserDef
from docusign_esign.models.signer import Signer
from docusign_esign.models.signer_attachment import SignerAttachment
from docusign_esign.models.signer_email_notifications import SignerEmailNotifications
Expand Down
50 changes: 50 additions & 0 deletions docusign_esign/models/account_settings_information.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ class AccountSettingsInformation(object):
'access_code_format': 'AccessCodeFormat',
'account_date_time_format': 'str',
'account_date_time_format_metadata': 'SettingsMetadata',
'account_default_language': 'str',
'account_default_language_metadata': 'SettingsMetadata',
'account_name': 'str',
'account_name_metadata': 'SettingsMetadata',
'account_notification': 'AccountNotification',
Expand Down Expand Up @@ -552,6 +554,8 @@ class AccountSettingsInformation(object):
'access_code_format': 'accessCodeFormat',
'account_date_time_format': 'accountDateTimeFormat',
'account_date_time_format_metadata': 'accountDateTimeFormatMetadata',
'account_default_language': 'accountDefaultLanguage',
'account_default_language_metadata': 'accountDefaultLanguageMetadata',
'account_name': 'accountName',
'account_name_metadata': 'accountNameMetadata',
'account_notification': 'accountNotification',
Expand Down Expand Up @@ -1072,6 +1076,8 @@ def __init__(self, **kwargs):
self._access_code_format = None
self._account_date_time_format = None
self._account_date_time_format_metadata = None
self._account_default_language = None
self._account_default_language_metadata = None
self._account_name = None
self._account_name_metadata = None
self._account_notification = None
Expand Down Expand Up @@ -1655,6 +1661,50 @@ def account_date_time_format_metadata(self, account_date_time_format_metadata):

self._account_date_time_format_metadata = account_date_time_format_metadata

@property
def account_default_language(self):
"""Gets the account_default_language of this AccountSettingsInformation. # noqa: E501

# noqa: E501

:return: The account_default_language of this AccountSettingsInformation. # noqa: E501
:rtype: str
"""
return self._account_default_language

@account_default_language.setter
def account_default_language(self, account_default_language):
"""Sets the account_default_language of this AccountSettingsInformation.

# noqa: E501

:param account_default_language: The account_default_language of this AccountSettingsInformation. # noqa: E501
:type: str
"""

self._account_default_language = account_default_language

@property
def account_default_language_metadata(self):
"""Gets the account_default_language_metadata of this AccountSettingsInformation. # noqa: E501


:return: The account_default_language_metadata of this AccountSettingsInformation. # noqa: E501
:rtype: SettingsMetadata
"""
return self._account_default_language_metadata

@account_default_language_metadata.setter
def account_default_language_metadata(self, account_default_language_metadata):
"""Sets the account_default_language_metadata of this AccountSettingsInformation.


:param account_default_language_metadata: The account_default_language_metadata of this AccountSettingsInformation. # noqa: E501
:type: SettingsMetadata
"""

self._account_default_language_metadata = account_default_language_metadata

@property
def account_name(self):
"""Gets the account_name of this AccountSettingsInformation. # noqa: E501
Expand Down
Loading

0 comments on commit 677d22f

Please sign in to comment.