diff --git a/CHANGELOG.md b/CHANGELOG.md index c0570146..43346660 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/README.md b/README.md index 530ad275..02645829 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ [![Build status][travis-image]][travis-url] -[PyPI module](https://pypi.python.org/pypi/docusign_esign) that wraps the DocuSign 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 @@ -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/). diff --git a/docusign_esign/__init__.py b/docusign_esign/__init__.py index ee16334d..24724f98 100644 --- a/docusign_esign/__init__.py +++ b/docusign_esign/__init__.py @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/docusign_esign/apis/__init__.py b/docusign_esign/apis/__init__.py index 301fb8b5..ad722a84 100644 --- a/docusign_esign/apis/__init__.py +++ b/docusign_esign/apis/__init__.py @@ -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 diff --git a/docusign_esign/apis/accounts_api.py b/docusign_esign/apis/accounts_api.py index 7b4cb7a3..7688451a 100644 --- a/docusign_esign/apis/accounts_api.py +++ b/docusign_esign/apis/accounts_api.py @@ -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 @@ -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. diff --git a/docusign_esign/apis/connect_api.py b/docusign_esign/apis/connect_api.py index ba340e93..47722be3 100644 --- a/docusign_esign/apis/connect_api.py +++ b/docusign_esign/apis/connect_api.py @@ -147,107 +147,6 @@ def create_configuration_with_http_info(self, account_id, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def create_connect_secret(self, account_id, **kwargs): - """ - Generates a new connect HMAC Secret. - 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.create_connect_secret(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: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.create_connect_secret_with_http_info(account_id, **kwargs) - else: - (data) = self.create_connect_secret_with_http_info(account_id, **kwargs) - return data - - def create_connect_secret_with_http_info(self, account_id, **kwargs): - """ - Generates a new connect HMAC Secret. - 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.create_connect_secret_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: None - 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 create_connect_secret" % 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 `create_connect_secret`") - - - collection_formats = {} - - resource_path = '/v2/accounts/{accountId}/connect/secret'.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, 'POST', - 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_configuration(self, account_id, connect_id, **kwargs): """ Deletes the specified connect configuration. @@ -358,114 +257,6 @@ def delete_configuration_with_http_info(self, account_id, connect_id, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def delete_connect_secret(self, account_id, key_id, **kwargs): - """ - Delete the connect HMAC Secret for AccountID - 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_connect_secret(account_id, key_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 key_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.delete_connect_secret_with_http_info(account_id, key_id, **kwargs) - else: - (data) = self.delete_connect_secret_with_http_info(account_id, key_id, **kwargs) - return data - - def delete_connect_secret_with_http_info(self, account_id, key_id, **kwargs): - """ - Delete the connect HMAC Secret for AccountID - 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_connect_secret_with_http_info(account_id, key_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 key_id: (required) - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['account_id', 'key_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 delete_connect_secret" % 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_connect_secret`") - # verify the required parameter 'key_id' is set - if ('key_id' not in params) or (params['key_id'] is None): - raise ValueError("Missing the required parameter `key_id` when calling `delete_connect_secret`") - - - collection_formats = {} - - resource_path = '/v2/accounts/{accountId}/connect/secret/{keyId}'.replace('{format}', 'json') - path_params = {} - if 'account_id' in params: - path_params['accountId'] = params['account_id'] - if 'key_id' in params: - path_params['keyId'] = params['key_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, '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_event_failure_log(self, account_id, failure_id, **kwargs): """ Deletes a Connect failure log entry. @@ -896,107 +687,6 @@ def delete_mobile_notifiers_with_http_info(self, account_id, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def generate_connect_secret(self, account_id, **kwargs): - """ - Generates a new connect HMAC Secret. - 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.generate_connect_secret(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: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.generate_connect_secret_with_http_info(account_id, **kwargs) - else: - (data) = self.generate_connect_secret_with_http_info(account_id, **kwargs) - return data - - def generate_connect_secret_with_http_info(self, account_id, **kwargs): - """ - Generates a new connect HMAC Secret. - 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.generate_connect_secret_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: None - 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 generate_connect_secret" % 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 `generate_connect_secret`") - - - collection_formats = {} - - resource_path = '/v2/accounts/{accountId}/connect/secret'.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=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_configuration(self, account_id, connect_id, **kwargs): """ Get a Connect Configuration Information @@ -1107,107 +797,6 @@ def get_configuration_with_http_info(self, account_id, connect_id, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_connect_secrets(self, account_id, **kwargs): - """ - Get the connect HMAC Secrets for AccountID - 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_connect_secrets(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: None - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.get_connect_secrets_with_http_info(account_id, **kwargs) - else: - (data) = self.get_connect_secrets_with_http_info(account_id, **kwargs) - return data - - def get_connect_secrets_with_http_info(self, account_id, **kwargs): - """ - Get the connect HMAC Secrets for AccountID - 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_connect_secrets_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: None - 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_connect_secrets" % 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_connect_secrets`") - - - collection_formats = {} - - resource_path = '/v2/accounts/{accountId}/connect/secrets'.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=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_event_log(self, account_id, log_id, **kwargs): """ Get the specified Connect log entry. diff --git a/docusign_esign/apis/trust_service_providers_api.py b/docusign_esign/apis/trust_service_providers_api.py index bc1699d0..c524c428 100644 --- a/docusign_esign/apis/trust_service_providers_api.py +++ b/docusign_esign/apis/trust_service_providers_api.py @@ -40,104 +40,6 @@ def __init__(self, api_client=None): config.api_client = ApiClient() self.api_client = config.api_client - def complete_sign_hash(self, **kwargs): - """ - Complete Sign Hash - 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.complete_sign_hash(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param CompleteSignRequest complete_sign_request: - :return: CompleteSignHashResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.complete_sign_hash_with_http_info(**kwargs) - else: - (data) = self.complete_sign_hash_with_http_info(**kwargs) - return data - - def complete_sign_hash_with_http_info(self, **kwargs): - """ - Complete Sign Hash - 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.complete_sign_hash_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param CompleteSignRequest complete_sign_request: - :return: CompleteSignHashResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['complete_sign_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 complete_sign_hash" % key - ) - params[key] = val - del params['kwargs'] - - - collection_formats = {} - - resource_path = '/v2/signature/completesignhash'.replace('{format}', 'json') - path_params = {} - - query_params = {} - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'complete_sign_request' in params: - body_params = params['complete_sign_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, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='CompleteSignHashResponse', - 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_seal_providers(self, account_id, **kwargs): """ Returns Account available seals for specified account. @@ -238,390 +140,3 @@ def get_seal_providers_with_http_info(self, account_id, **kwargs): _preload_content=params.get('_preload_content', True), _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - - def get_user_info(self, **kwargs): - """ - Get User Info To Sign Document - 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_user_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :return: UserInfoResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.get_user_info_with_http_info(**kwargs) - else: - (data) = self.get_user_info_with_http_info(**kwargs) - return data - - def get_user_info_with_http_info(self, **kwargs): - """ - Get User Info To Sign Document - 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_user_info_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :return: UserInfoResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = [] - 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_user_info" % key - ) - params[key] = val - del params['kwargs'] - - collection_formats = {} - - resource_path = '/v2/signature/userInfo'.replace('{format}', 'json') - path_params = {} - - 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='UserInfoResponse', - 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 health_check(self, **kwargs): - """ - Report status from the TSP to DocuSign - 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.health_check(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param TspHealthCheckRequest tsp_health_check_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.health_check_with_http_info(**kwargs) - else: - (data) = self.health_check_with_http_info(**kwargs) - return data - - def health_check_with_http_info(self, **kwargs): - """ - Report status from the TSP to DocuSign - 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.health_check_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param TspHealthCheckRequest tsp_health_check_request: - :return: None - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['tsp_health_check_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 health_check" % key - ) - params[key] = val - del params['kwargs'] - - - collection_formats = {} - - resource_path = '/v2/signature/healthcheck'.replace('{format}', 'json') - path_params = {} - - query_params = {} - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'tsp_health_check_request' in params: - body_params = params['tsp_health_check_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, 'POST', - 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 sign_hash_session_info(self, **kwargs): - """ - Get Signature Session Info To Sign Document Hash - 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.sign_hash_session_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param SignSessionInfoRequest sign_session_info_request: - :return: SignHashSessionInfoResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.sign_hash_session_info_with_http_info(**kwargs) - else: - (data) = self.sign_hash_session_info_with_http_info(**kwargs) - return data - - def sign_hash_session_info_with_http_info(self, **kwargs): - """ - Get Signature Session Info To Sign Document Hash - 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.sign_hash_session_info_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param SignSessionInfoRequest sign_session_info_request: - :return: SignHashSessionInfoResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['sign_session_info_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 sign_hash_session_info" % key - ) - params[key] = val - del params['kwargs'] - - - collection_formats = {} - - resource_path = '/v2/signature/signhashsessioninfo'.replace('{format}', 'json') - path_params = {} - - query_params = {} - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'sign_session_info_request' in params: - body_params = params['sign_session_info_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, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='SignHashSessionInfoResponse', - 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 update_transaction(self, **kwargs): - """ - Report an error from the tsp to docusign - 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.update_transaction(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param UpdateTransactionRequest update_transaction_request: - :return: UpdateTransactionResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.update_transaction_with_http_info(**kwargs) - else: - (data) = self.update_transaction_with_http_info(**kwargs) - return data - - def update_transaction_with_http_info(self, **kwargs): - """ - Report an error from the tsp to docusign - 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.update_transaction_with_http_info(callback=callback_function) - - :param callback function: The callback function - for asynchronous request. (optional) - :param UpdateTransactionRequest update_transaction_request: - :return: UpdateTransactionResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['update_transaction_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 update_transaction" % key - ) - params[key] = val - del params['kwargs'] - - - collection_formats = {} - - resource_path = '/v2/signature/updatetransaction'.replace('{format}', 'json') - path_params = {} - - query_params = {} - - header_params = {} - - form_params = [] - local_var_files = {} - - body_params = None - if 'update_transaction_request' in params: - body_params = params['update_transaction_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, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UpdateTransactionResponse', - 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) diff --git a/docusign_esign/apis/users_api.py b/docusign_esign/apis/users_api.py index b4285c7e..8fe08af1 100644 --- a/docusign_esign/apis/users_api.py +++ b/docusign_esign/apis/users_api.py @@ -1855,114 +1855,6 @@ def get_signature_image_with_http_info(self, account_id, image_type, signature_i _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def get_user_list_export(self, organization_id, result_id, **kwargs): - """ - Retrieves UserList Export Results data. - 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_user_list_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_user_list_export_with_http_info(organization_id, result_id, **kwargs) - else: - (data) = self.get_user_list_export_with_http_info(organization_id, result_id, **kwargs) - return data - - def get_user_list_export_with_http_info(self, organization_id, result_id, **kwargs): - """ - Retrieves UserList Export Results data. - 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_user_list_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_user_list_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_user_list_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_user_list_export`") - - - collection_formats = {} - - resource_path = '/v2/organization_exports/{organizationId}/user_list/{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 list(self, account_id, **kwargs): """ Retrieves the list of users for the specified account. diff --git a/docusign_esign/client/configuration.py b/docusign_esign/client/configuration.py index 39084758..91237dd8 100644 --- a/docusign_esign/client/configuration.py +++ b/docusign_esign/client/configuration.py @@ -90,9 +90,9 @@ def __init__(self): self.key_file = None if PY3: - self.user_agent = 'Swagger-Codegen/v2/2.9.0rc1/python3' + self.user_agent = 'Swagger-Codegen/v2/2.10.0rc1/python3' else: - self.user_agent = 'Swagger-Codegen/v2/2.9.0rc1/python2' + self.user_agent = 'Swagger-Codegen/v2/2.10.0rc1/python2' @property def logger_file(self): diff --git a/docusign_esign/models/__init__.py b/docusign_esign/models/__init__.py index f8942c5c..04224508 100644 --- a/docusign_esign/models/__init__.py +++ b/docusign_esign/models/__init__.py @@ -101,8 +101,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 @@ -121,7 +119,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 @@ -145,10 +142,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 @@ -293,24 +288,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 @@ -348,18 +336,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 diff --git a/setup.py b/setup.py index b00756f1..84e69764 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ from setuptools import setup, find_packages, Command, os # noqa: H301 NAME = "docusign-esign" -VERSION = "2.9.0" +VERSION = "2.10.0rc1" # To install the library, run the following # # python setup.py install @@ -35,6 +35,10 @@ def finalize_options(self): def run(self): os.system('rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info') +this_directory = os.path.abspath(os.path.dirname(__file__)) +with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f: + long_description = f.read() + setup( name=NAME, version=VERSION, @@ -48,7 +52,6 @@ def run(self): cmdclass={ 'clean': CleanCommand, }, - long_description="""\ - The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. # noqa: E501 - """ + long_description=long_description, + long_description_content_type='text/markdown' )