Skip to content

Commit

Permalink
Version 2.10.0rc1 release (#112)
Browse files Browse the repository at this point in the history
* Version 2.10.0rc1-v2-21.1.02.00 release

* Update configuration.py

Co-authored-by: DevCenter-DocuSign <[email protected]>
  • Loading branch information
harsharahul and DevCenter-DocuSign authored May 21, 2021
1 parent cff8317 commit 89499b3
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 1,264 deletions.
14 changes: 12 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,19 @@ All notable changes to this project will be documented in this file.

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

## [2.9.0] - eSignature API v2-21.1.01.03 - 2021-04-22
## [2.10.0rc1] - eSignature API v2-21.1.02.00 - 2021-05-20
### Breaking
- Removed methods `get_account_settings_export`,`get_seal_providers` from Accounts.
- Removed methods `create_connect_secret`,`delete_connect_secret`,`generate_connect_secret`,`get_connect_secrets` from Connect.
- Removed methods `complete_sign_hash`,`get_user_info`,`health_check`,`sign_hash_session_info`,`update_transaction` from TrustServiceProviders.
- Removed method `get_user_list_export` from Users.
### Changed
- Added support for version v2-21.1.02.00 of the DocuSign eSignature API.
- Updated the SDK release version.
### Added
- Added new method `delete_connect_secret` to connect.
- PyPi description is being shown from Readme file.

## [2.9.0] - eSignature API v2-21.1.01.03 - 2021-04-22
### Changed
- Added support for version v2-21.1.01.03 of the DocuSign eSignature API.
- Updated the SDK release version.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<!--[![PyPI downloads][downloads-image]][downloads-url]-->
[![Build status][travis-image]][travis-url]

[PyPI module](https://pypi.python.org/pypi/docusign_esign) that wraps the <a href="https://www.docusign.com">DocuSign</a> API
[PyPI module](https://pypi.python.org/pypi/docusign_esign)

[Documentation about the DocuSign API](https://developers.docusign.com/)
[Documentation about DocuSign APIs](https://developers.docusign.com/)

## Requirements

Expand Down Expand Up @@ -63,7 +63,7 @@ This client has the following external dependencies:
- py-oauth2 v0.0.10+

## Code examples
You can find on our GitHub a self-executing package of code examples for the eSignature C# SDK, called a [Launcher](https://github.com/docusign/code-examples-python/blob/master/README.md), that demonstrates common use cases. You can also download a version preconfigured for your DocuSign developer account from [Quickstart](https://developers.docusign.com/docs/esign-rest-api/quickstart/). These examples can use either the [Authorization Code Grant](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-code-grant) or [JSON Web Token (JWT)](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-jsonwebtoken) authentication workflows.
You can find on our GitHub a self-executing package of code examples for the eSignature Python SDK, called a [Launcher](https://github.com/docusign/code-examples-python/blob/master/README.md), that demonstrates common use cases. You can also download a version preconfigured for your DocuSign developer account from [Quickstart](https://developers.docusign.com/docs/esign-rest-api/quickstart/). These examples can use either the [Authorization Code Grant](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-code-grant) or [JSON Web Token (JWT)](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-jsonwebtoken) authentication workflows.

## OAuth implementations
For details regarding which type of OAuth grant will work best for your DocuSign integration, see [Choose OAuth Type](https://developers.docusign.com/platform/auth/choose/) in the [DocuSign Developer Center](https://developers.docusign.com/).
Expand Down
21 changes: 1 addition & 20 deletions docusign_esign/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
from .apis.notary_api import NotaryApi
from .apis.organizations_api import OrganizationsApi
from .apis.power_forms_api import PowerFormsApi
from .apis.signature_api import SignatureApi
from .apis.signing_groups_api import SigningGroupsApi
from .apis.templates_api import TemplatesApi
from .apis.trust_service_providers_api import TrustServiceProvidersApi
from .apis.users_api import UsersApi
from .apis.workspaces_api import WorkspacesApi

Expand Down Expand Up @@ -122,8 +122,6 @@
from docusign_esign.models.cloud_storage_provider import CloudStorageProvider
from docusign_esign.models.cloud_storage_providers import CloudStorageProviders
from docusign_esign.models.company import Company
from docusign_esign.models.complete_sign_hash_response import CompleteSignHashResponse
from docusign_esign.models.complete_sign_request import CompleteSignRequest
from docusign_esign.models.composite_template import CompositeTemplate
from docusign_esign.models.connect_config_results import ConnectConfigResults
from docusign_esign.models.connect_custom_configuration import ConnectCustomConfiguration
Expand All @@ -142,7 +140,6 @@
from docusign_esign.models.contact_update_response import ContactUpdateResponse
from docusign_esign.models.correct_view_request import CorrectViewRequest
from docusign_esign.models.country import Country
from docusign_esign.models.credential import Credential
from docusign_esign.models.credit_card_information import CreditCardInformation
from docusign_esign.models.credit_card_types import CreditCardTypes
from docusign_esign.models.currency_feature_set_price import CurrencyFeatureSetPrice
Expand All @@ -166,10 +163,8 @@
from docusign_esign.models.document_html_definitions import DocumentHtmlDefinitions
from docusign_esign.models.document_html_display_anchor import DocumentHtmlDisplayAnchor
from docusign_esign.models.document_html_display_settings import DocumentHtmlDisplaySettings
from docusign_esign.models.document_security_store import DocumentSecurityStore
from docusign_esign.models.document_template import DocumentTemplate
from docusign_esign.models.document_template_list import DocumentTemplateList
from docusign_esign.models.document_update_info import DocumentUpdateInfo
from docusign_esign.models.document_visibility import DocumentVisibility
from docusign_esign.models.document_visibility_list import DocumentVisibilityList
from docusign_esign.models.e_note_configuration import ENoteConfiguration
Expand Down Expand Up @@ -314,24 +309,17 @@
from docusign_esign.models.reminders import Reminders
from docusign_esign.models.resource_information import ResourceInformation
from docusign_esign.models.return_url_request import ReturnUrlRequest
from docusign_esign.models.revision import Revision
from docusign_esign.models.saml_assertion_attribute import SamlAssertionAttribute
from docusign_esign.models.seal import Seal
from docusign_esign.models.seal_identifier import SealIdentifier
from docusign_esign.models.seal_sign import SealSign
from docusign_esign.models.seat_discount import SeatDiscount
from docusign_esign.models.sender import Sender
from docusign_esign.models.sender_email_notifications import SenderEmailNotifications
from docusign_esign.models.server_template import ServerTemplate
from docusign_esign.models.service_information import ServiceInformation
from docusign_esign.models.service_version import ServiceVersion
from docusign_esign.models.settings_metadata import SettingsMetadata
from docusign_esign.models.shared_item import SharedItem
from docusign_esign.models.sign_hash_document import SignHashDocument
from docusign_esign.models.sign_hash_session_info_response import SignHashSessionInfoResponse
from docusign_esign.models.sign_here import SignHere
from docusign_esign.models.sign_session_info_request import SignSessionInfoRequest
from docusign_esign.models.signature_data_info import SignatureDataInfo
from docusign_esign.models.signature_provider_required_option import SignatureProviderRequiredOption
from docusign_esign.models.signature_type import SignatureType
from docusign_esign.models.signer import Signer
Expand Down Expand Up @@ -369,18 +357,11 @@
from docusign_esign.models.template_update_summary import TemplateUpdateSummary
from docusign_esign.models.text import Text
from docusign_esign.models.text_custom_field import TextCustomField
from docusign_esign.models.time_stamp_field import TimeStampField
from docusign_esign.models.title import Title
from docusign_esign.models.tsp_health_check_request import TspHealthCheckRequest
from docusign_esign.models.tsp_health_check_status_description import TspHealthCheckStatusDescription
from docusign_esign.models.update_transaction_request import UpdateTransactionRequest
from docusign_esign.models.update_transaction_response import UpdateTransactionResponse
from docusign_esign.models.usage_history import UsageHistory
from docusign_esign.models.user import User
from docusign_esign.models.user_account_management_granular_information import UserAccountManagementGranularInformation
from docusign_esign.models.user_info import UserInfo
from docusign_esign.models.user_info_list import UserInfoList
from docusign_esign.models.user_info_response import UserInfoResponse
from docusign_esign.models.user_information import UserInformation
from docusign_esign.models.user_information_list import UserInformationList
from docusign_esign.models.user_password_information import UserPasswordInformation
Expand Down
2 changes: 1 addition & 1 deletion docusign_esign/apis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
from .notary_api import NotaryApi
from .organizations_api import OrganizationsApi
from .power_forms_api import PowerFormsApi
from .signature_api import SignatureApi
from .signing_groups_api import SigningGroupsApi
from .templates_api import TemplatesApi
from .trust_service_providers_api import TrustServiceProvidersApi
from .users_api import UsersApi
from .workspaces_api import WorkspacesApi
209 changes: 0 additions & 209 deletions docusign_esign/apis/accounts_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1549,114 +1549,6 @@ def get_account_information_with_http_info(self, account_id, **kwargs):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)

def get_account_settings_export(self, organization_id, result_id, **kwargs):
"""
Retrieves an account settings comparison.
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.get_account_settings_export(organization_id, result_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str organization_id: (required)
:param str result_id: (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.get_account_settings_export_with_http_info(organization_id, result_id, **kwargs)
else:
(data) = self.get_account_settings_export_with_http_info(organization_id, result_id, **kwargs)
return data

def get_account_settings_export_with_http_info(self, organization_id, result_id, **kwargs):
"""
Retrieves an account settings comparison.
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.get_account_settings_export_with_http_info(organization_id, result_id, callback=callback_function)
:param callback function: The callback function
for asynchronous request. (optional)
:param str organization_id: (required)
:param str result_id: (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['organization_id', 'result_id']
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 get_account_settings_export" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'organization_id' is set
if ('organization_id' not in params) or (params['organization_id'] is None):
raise ValueError("Missing the required parameter `organization_id` when calling `get_account_settings_export`")
# verify the required parameter 'result_id' is set
if ('result_id' not in params) or (params['result_id'] is None):
raise ValueError("Missing the required parameter `result_id` when calling `get_account_settings_export`")


collection_formats = {}

resource_path = '/v2/organization_exports/{organizationId}/account_settings/{resultId}'.replace('{format}', 'json')
path_params = {}
if 'organization_id' in params:
path_params['organizationId'] = params['organization_id']
if 'result_id' in params:
path_params['resultId'] = params['result_id']

query_params = {}

header_params = {}

form_params = []
local_var_files = {}

body_params = None
# 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, 'GET',
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 get_account_tab_settings(self, account_id, **kwargs):
"""
Returns tab settings list for specified account
Expand Down Expand Up @@ -3255,107 +3147,6 @@ def get_provisioning_with_http_info(self, **kwargs):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)

def get_seal_providers(self, account_id, **kwargs):
"""
Returns Account available seals for specified account.
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.get_seal_providers(account_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)
:return: AccountSeals
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.get_seal_providers_with_http_info(account_id, **kwargs)
else:
(data) = self.get_seal_providers_with_http_info(account_id, **kwargs)
return data

def get_seal_providers_with_http_info(self, account_id, **kwargs):
"""
Returns Account available seals for specified account.
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.get_seal_providers_with_http_info(account_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)
:return: AccountSeals
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['account_id']
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 get_seal_providers" % 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 `get_seal_providers`")


collection_formats = {}

resource_path = '/v2/accounts/{accountId}/seals'.replace('{format}', 'json')
path_params = {}
if 'account_id' in params:
path_params['accountId'] = params['account_id']

query_params = {}

header_params = {}

form_params = []
local_var_files = {}

body_params = None
# 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, 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='AccountSeals',
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 get_supported_languages(self, account_id, **kwargs):
"""
Gets list of supported languages for recipient language setting.
Expand Down
Loading

0 comments on commit 89499b3

Please sign in to comment.