diff --git a/CHANGELOG.md b/CHANGELOG.md index 4366da7..ba0a1f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,21 @@ 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. +## [v7.0.0rc1] - eSignature API v2.1-26.1.02.00 - 2026-05-05 +## [v7.0.0rc1] - eSignature API v2.1-26.1.02.00 - 2026-05-04 +### Removed +- Removed the deprecated `listRecipientNamesByEmail` endpoint (`/v2.1/accounts/{accountId}/recipient_names`). + +### Added +- **Accounts API**: Template completion-rate methods (`get_completion_rate_for_template`, `get_completion_rate_for_template_owner`). +- **Connect API**: Secret key management methods (`create_connect_secret`, `get_connect_secret`, `delete_connect_secret`). +- **Models**: `SenderCompletionInfo`, `TemplateCompletionInfo`, `TemplateCompletionRateResponse`, `UserCompletionRateResponse`. + +### Changed +- Added support for version v2.1-26.1.02.00 of the DocuSign ESignature API. +- Updated the SDK release version to 7.0.0rc1. +- Added query parameters: `include_is_edited` and `link_configuration_id` for document listing methods. + ## [v6.1.0] - eSignature API v2.1-26.1.00.00 - 2026-03-05 ### Changed - Added support for version v2.1-26.1.00.00 of the DocuSign ESignature API. diff --git a/README.md b/README.md index 28594d9..3311c04 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ This client SDK is provided as open source, which enables you to customize its f ### Version Information - **API version**: v2.1 -- **Latest SDK version**: 6.1.0 +- **Latest SDK version**: 7.0.0rc1 ## Requirements diff --git a/docusign_esign/__init__.py b/docusign_esign/__init__.py index 2bd47cd..9acc7d7 100644 --- a/docusign_esign/__init__.py +++ b/docusign_esign/__init__.py @@ -442,7 +442,6 @@ from docusign_esign.models.recipient_identity_input_option import RecipientIdentityInputOption from docusign_esign.models.recipient_identity_phone_number import RecipientIdentityPhoneNumber from docusign_esign.models.recipient_identity_verification import RecipientIdentityVerification -from docusign_esign.models.recipient_names_response import RecipientNamesResponse from docusign_esign.models.recipient_option import RecipientOption from docusign_esign.models.recipient_phone_authentication import RecipientPhoneAuthentication from docusign_esign.models.recipient_phone_number import RecipientPhoneNumber @@ -467,6 +466,7 @@ from docusign_esign.models.seal_sign import SealSign from docusign_esign.models.seat_discount import SeatDiscount from docusign_esign.models.sender_company import SenderCompany +from docusign_esign.models.sender_completion_info import SenderCompletionInfo from docusign_esign.models.sender_email_notifications import SenderEmailNotifications from docusign_esign.models.sender_name import SenderName from docusign_esign.models.server_template import ServerTemplate @@ -507,6 +507,8 @@ from docusign_esign.models.tabs import Tabs from docusign_esign.models.template_auto_match import TemplateAutoMatch from docusign_esign.models.template_auto_match_list import TemplateAutoMatchList +from docusign_esign.models.template_completion_info import TemplateCompletionInfo +from docusign_esign.models.template_completion_rate_response import TemplateCompletionRateResponse from docusign_esign.models.template_custom_fields import TemplateCustomFields from docusign_esign.models.template_document_visibility_list import TemplateDocumentVisibilityList from docusign_esign.models.template_documents_result import TemplateDocumentsResult @@ -538,6 +540,7 @@ from docusign_esign.models.user_authorizations_delete_response import UserAuthorizationsDeleteResponse from docusign_esign.models.user_authorizations_request import UserAuthorizationsRequest from docusign_esign.models.user_authorizations_response import UserAuthorizationsResponse +from docusign_esign.models.user_completion_rate_response import UserCompletionRateResponse from docusign_esign.models.user_info import UserInfo from docusign_esign.models.user_info_list import UserInfoList from docusign_esign.models.user_information import UserInformation diff --git a/docusign_esign/apis/accounts_api.py b/docusign_esign/apis/accounts_api.py index 6450621..5a5fadc 100644 --- a/docusign_esign/apis/accounts_api.py +++ b/docusign_esign/apis/accounts_api.py @@ -3741,6 +3741,215 @@ def get_brand_resources_by_content_type_with_http_info(self, account_id, brand_i _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def get_completion_rate_for_template(self, account_id, template_id, **kwargs): + """ + Gets completion rate for the template + 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_completion_rate_for_template(account_id, template_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 template_id: The ID of the template being accessed. (required) + :return: TemplateCompletionRateResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.get_completion_rate_for_template_with_http_info(account_id, template_id, **kwargs) + else: + (data) = self.get_completion_rate_for_template_with_http_info(account_id, template_id, **kwargs) + return data + + def get_completion_rate_for_template_with_http_info(self, account_id, template_id, **kwargs): + """ + Gets completion rate for the template + 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_completion_rate_for_template_with_http_info(account_id, template_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 template_id: The ID of the template being accessed. (required) + :return: TemplateCompletionRateResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['account_id', 'template_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_completion_rate_for_template" % 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_completion_rate_for_template`") + # verify the required parameter 'template_id' is set + if ('template_id' not in params) or (params['template_id'] is None): + raise ValueError("Missing the required parameter `template_id` when calling `get_completion_rate_for_template`") + + + collection_formats = {} + + resource_path = '/v2.1/accounts/{accountId}/templates/{templateId}/insights/completionRate'.replace('{format}', 'json') + path_params = {} + if 'account_id' in params: + path_params['accountId'] = params['account_id'] + if 'template_id' in params: + path_params['templateId'] = params['template_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='TemplateCompletionRateResponse', + 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_completion_rate_for_template_owner(self, account_id, **kwargs): + """ + Gets completion rate for the user + 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_completion_rate_for_template_owner(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: UserCompletionRateResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('callback'): + return self.get_completion_rate_for_template_owner_with_http_info(account_id, **kwargs) + else: + (data) = self.get_completion_rate_for_template_owner_with_http_info(account_id, **kwargs) + return data + + def get_completion_rate_for_template_owner_with_http_info(self, account_id, **kwargs): + """ + Gets completion rate for the user + 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_completion_rate_for_template_owner_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: UserCompletionRateResponse + 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_completion_rate_for_template_owner" % 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_completion_rate_for_template_owner`") + + + collection_formats = {} + + resource_path = '/v2.1/accounts/{accountId}/templates/insights/completionRate'.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='UserCompletionRateResponse', + 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_consumer_disclosure(self, account_id, lang_code, **kwargs): """ Gets the Electronic Record and Signature Disclosure. @@ -5662,113 +5871,6 @@ def list_permissions_with_http_info(self, account_id, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) - def list_recipient_names_by_email(self, account_id, **kwargs): - """ - Gets recipient names associated with an email address. - Retrieves a list of recipients in the specified account that are associated with a email address supplied in the query string. - 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.list_recipient_names_by_email(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) - :param str email: The email address for the user - :return: RecipientNamesResponse - If the method is called asynchronously, - returns the request thread. - """ - kwargs['_return_http_data_only'] = True - if kwargs.get('callback'): - return self.list_recipient_names_by_email_with_http_info(account_id, **kwargs) - else: - (data) = self.list_recipient_names_by_email_with_http_info(account_id, **kwargs) - return data - - def list_recipient_names_by_email_with_http_info(self, account_id, **kwargs): - """ - Gets recipient names associated with an email address. - Retrieves a list of recipients in the specified account that are associated with a email address supplied in the query string. - 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.list_recipient_names_by_email_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) - :param str email: The email address for the user - :return: RecipientNamesResponse - If the method is called asynchronously, - returns the request thread. - """ - - all_params = ['account_id', 'email'] - 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 list_recipient_names_by_email" % 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 `list_recipient_names_by_email`") - - - collection_formats = {} - - resource_path = '/v2.1/accounts/{accountId}/recipient_names'.replace('{format}', 'json') - path_params = {} - if 'account_id' in params: - path_params['accountId'] = params['account_id'] - - query_params = {} - if 'email' in params: - query_params['email'] = params['email'] - - 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='RecipientNamesResponse', - 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_settings(self, account_id, **kwargs): """ Gets account settings information. diff --git a/docusign_esign/apis/connect_api.py b/docusign_esign/apis/connect_api.py index 5456321..4f2f89b 100644 --- a/docusign_esign/apis/connect_api.py +++ b/docusign_esign/apis/connect_api.py @@ -252,6 +252,107 @@ def create_connect_o_auth_config_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.1/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. @@ -463,6 +564,114 @@ def delete_connect_o_auth_config_with_http_info(self, account_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.1/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. @@ -1238,6 +1447,107 @@ def get_connect_o_auth_config_with_http_info(self, account_id, **kwargs): _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def get_connect_secret(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_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.get_connect_secret_with_http_info(account_id, **kwargs) + else: + (data) = self.get_connect_secret_with_http_info(account_id, **kwargs) + return data + + def get_connect_secret_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_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 get_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 `get_connect_secret`") + + + collection_formats = {} + + resource_path = '/v2.1/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_event_log(self, account_id, log_id, **kwargs): """ Get the specified Connect log entry. diff --git a/docusign_esign/apis/envelopes_api.py b/docusign_esign/apis/envelopes_api.py index 507cf64..3c880bf 100644 --- a/docusign_esign/apis/envelopes_api.py +++ b/docusign_esign/apis/envelopes_api.py @@ -10380,6 +10380,7 @@ def list_documents(self, account_id, envelope_id, **kwargs): :param str include_agreement_type: :param str include_docgen_formfields: :param str include_document_size: + :param str include_is_edited: :param str include_metadata: :param str include_tabs: :param str recipient_id: @@ -10415,6 +10416,7 @@ def list_documents_with_http_info(self, account_id, envelope_id, **kwargs): :param str include_agreement_type: :param str include_docgen_formfields: :param str include_document_size: + :param str include_is_edited: :param str include_metadata: :param str include_tabs: :param str recipient_id: @@ -10424,7 +10426,7 @@ def list_documents_with_http_info(self, account_id, envelope_id, **kwargs): returns the request thread. """ - all_params = ['account_id', 'envelope_id', 'documents_by_userid', 'include_agreement_type', 'include_docgen_formfields', 'include_document_size', 'include_metadata', 'include_tabs', 'recipient_id', 'shared_user_id'] + all_params = ['account_id', 'envelope_id', 'documents_by_userid', 'include_agreement_type', 'include_docgen_formfields', 'include_document_size', 'include_is_edited', 'include_metadata', 'include_tabs', 'recipient_id', 'shared_user_id'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -10465,6 +10467,8 @@ def list_documents_with_http_info(self, account_id, envelope_id, **kwargs): query_params['include_docgen_formfields'] = params['include_docgen_formfields'] if 'include_document_size' in params: query_params['include_document_size'] = params['include_document_size'] + if 'include_is_edited' in params: + query_params['include_is_edited'] = params['include_is_edited'] if 'include_metadata' in params: query_params['include_metadata'] = params['include_metadata'] if 'include_tabs' in params: diff --git a/docusign_esign/apis/templates_api.py b/docusign_esign/apis/templates_api.py index eb77185..c1ea16c 100644 --- a/docusign_esign/apis/templates_api.py +++ b/docusign_esign/apis/templates_api.py @@ -3972,6 +3972,7 @@ def list_documents(self, account_id, template_id, **kwargs): :param str account_id: The external account number (int) or account ID Guid. (required) :param str template_id: The ID of the template being accessed. (required) :param str include_agreement_type: + :param str include_is_edited: :param str include_tabs: :return: TemplateDocumentsResult If the method is called asynchronously, @@ -4001,13 +4002,14 @@ def list_documents_with_http_info(self, account_id, template_id, **kwargs): :param str account_id: The external account number (int) or account ID Guid. (required) :param str template_id: The ID of the template being accessed. (required) :param str include_agreement_type: + :param str include_is_edited: :param str include_tabs: :return: TemplateDocumentsResult If the method is called asynchronously, returns the request thread. """ - all_params = ['account_id', 'template_id', 'include_agreement_type', 'include_tabs'] + all_params = ['account_id', 'template_id', 'include_agreement_type', 'include_is_edited', 'include_tabs'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -4042,6 +4044,8 @@ def list_documents_with_http_info(self, account_id, template_id, **kwargs): query_params = {} if 'include_agreement_type' in params: query_params['include_agreement_type'] = params['include_agreement_type'] + if 'include_is_edited' in params: + query_params['include_is_edited'] = params['include_is_edited'] if 'include_tabs' in params: query_params['include_tabs'] = params['include_tabs'] @@ -4344,6 +4348,7 @@ def list_templates(self, account_id, **kwargs): :param str include: A comma separated list of additional template attributes to include in the response. Valid values are: recipients, folders, documents, custom_fields, and notifications. :param str is_deleted_template_only: :param str is_download: + :param str link_configuration_id: :param str modified_from_date: :param str modified_to_date: :param str order: Sets the direction order used to sort the list. Valid values are: -asc = ascending sort order (a to z) -desc = descending sort order (z to a) @@ -4393,6 +4398,7 @@ def list_templates_with_http_info(self, account_id, **kwargs): :param str include: A comma separated list of additional template attributes to include in the response. Valid values are: recipients, folders, documents, custom_fields, and notifications. :param str is_deleted_template_only: :param str is_download: + :param str link_configuration_id: :param str modified_from_date: :param str modified_to_date: :param str order: Sets the direction order used to sort the list. Valid values are: -asc = ascending sort order (a to z) -desc = descending sort order (z to a) @@ -4412,7 +4418,7 @@ def list_templates_with_http_info(self, account_id, **kwargs): returns the request thread. """ - all_params = ['account_id', 'count', 'created_from_date', 'created_to_date', 'folder_ids', 'folder_types', 'from_date', 'include', 'is_deleted_template_only', 'is_download', 'modified_from_date', 'modified_to_date', 'order', 'order_by', 'search_fields', 'search_text', 'shared_by_me', 'start_position', 'template_ids', 'to_date', 'used_from_date', 'used_to_date', 'user_filter', 'user_id'] + all_params = ['account_id', 'count', 'created_from_date', 'created_to_date', 'folder_ids', 'folder_types', 'from_date', 'include', 'is_deleted_template_only', 'is_download', 'link_configuration_id', 'modified_from_date', 'modified_to_date', 'order', 'order_by', 'search_fields', 'search_text', 'shared_by_me', 'start_position', 'template_ids', 'to_date', 'used_from_date', 'used_to_date', 'user_filter', 'user_id'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -4458,6 +4464,8 @@ def list_templates_with_http_info(self, account_id, **kwargs): query_params['is_deleted_template_only'] = params['is_deleted_template_only'] if 'is_download' in params: query_params['is_download'] = params['is_download'] + if 'link_configuration_id' in params: + query_params['link_configuration_id'] = params['link_configuration_id'] if 'modified_from_date' in params: query_params['modified_from_date'] = params['modified_from_date'] if 'modified_to_date' in params: diff --git a/docusign_esign/client/configuration.py b/docusign_esign/client/configuration.py index cf13a86..592d6bd 100644 --- a/docusign_esign/client/configuration.py +++ b/docusign_esign/client/configuration.py @@ -116,9 +116,9 @@ def __init__(self): python_version = platform.python_version() if six.PY3: - self.user_agent = "Swagger-Codegen/v2.1/6.1.0/python3/" + f"{python_version}" + self.user_agent = "Swagger-Codegen/v2.1/7.0.0rc1/python3/" + f"{python_version}" else: - self.user_agent = "Swagger-Codegen/v2.1/6.1.0/python2/" + f"{python_version}" + self.user_agent = "Swagger-Codegen/v2.1/7.0.0rc1/python2/" + f"{python_version}" @classmethod @@ -274,5 +274,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: v2.1\n"\ - "SDK Package Version: 6.1.0".\ + "SDK Package Version: 7.0.0rc1".\ format(env=sys.platform, pyversion=sys.version) diff --git a/docusign_esign/models/__init__.py b/docusign_esign/models/__init__.py index a3936fa..1b8d691 100644 --- a/docusign_esign/models/__init__.py +++ b/docusign_esign/models/__init__.py @@ -406,7 +406,6 @@ from docusign_esign.models.recipient_identity_input_option import RecipientIdentityInputOption from docusign_esign.models.recipient_identity_phone_number import RecipientIdentityPhoneNumber from docusign_esign.models.recipient_identity_verification import RecipientIdentityVerification -from docusign_esign.models.recipient_names_response import RecipientNamesResponse from docusign_esign.models.recipient_option import RecipientOption from docusign_esign.models.recipient_phone_authentication import RecipientPhoneAuthentication from docusign_esign.models.recipient_phone_number import RecipientPhoneNumber @@ -431,6 +430,7 @@ from docusign_esign.models.seal_sign import SealSign from docusign_esign.models.seat_discount import SeatDiscount from docusign_esign.models.sender_company import SenderCompany +from docusign_esign.models.sender_completion_info import SenderCompletionInfo from docusign_esign.models.sender_email_notifications import SenderEmailNotifications from docusign_esign.models.sender_name import SenderName from docusign_esign.models.server_template import ServerTemplate @@ -471,6 +471,8 @@ from docusign_esign.models.tabs import Tabs from docusign_esign.models.template_auto_match import TemplateAutoMatch from docusign_esign.models.template_auto_match_list import TemplateAutoMatchList +from docusign_esign.models.template_completion_info import TemplateCompletionInfo +from docusign_esign.models.template_completion_rate_response import TemplateCompletionRateResponse from docusign_esign.models.template_custom_fields import TemplateCustomFields from docusign_esign.models.template_document_visibility_list import TemplateDocumentVisibilityList from docusign_esign.models.template_documents_result import TemplateDocumentsResult @@ -502,6 +504,7 @@ from docusign_esign.models.user_authorizations_delete_response import UserAuthorizationsDeleteResponse from docusign_esign.models.user_authorizations_request import UserAuthorizationsRequest from docusign_esign.models.user_authorizations_response import UserAuthorizationsResponse +from docusign_esign.models.user_completion_rate_response import UserCompletionRateResponse from docusign_esign.models.user_info import UserInfo from docusign_esign.models.user_info_list import UserInfoList from docusign_esign.models.user_information import UserInformation diff --git a/docusign_esign/models/account_identity_verification_workflow.py b/docusign_esign/models/account_identity_verification_workflow.py index 368286e..1346309 100644 --- a/docusign_esign/models/account_identity_verification_workflow.py +++ b/docusign_esign/models/account_identity_verification_workflow.py @@ -35,6 +35,7 @@ class AccountIdentityVerificationWorkflow(object): swagger_types = { 'default_description': 'str', 'default_name': 'str', + 'display_order': 'str', 'input_options': 'list[AccountIdentityInputOption]', 'is_disabled': 'str', 'owner_type': 'str', @@ -48,6 +49,7 @@ class AccountIdentityVerificationWorkflow(object): attribute_map = { 'default_description': 'defaultDescription', 'default_name': 'defaultName', + 'display_order': 'displayOrder', 'input_options': 'inputOptions', 'is_disabled': 'isDisabled', 'owner_type': 'ownerType', @@ -66,6 +68,7 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 self._default_description = None self._default_name = None + self._display_order = None self._input_options = None self._is_disabled = None self._owner_type = None @@ -78,6 +81,7 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 setattr(self, "_{}".format('default_description'), kwargs.get('default_description', None)) setattr(self, "_{}".format('default_name'), kwargs.get('default_name', None)) + setattr(self, "_{}".format('display_order'), kwargs.get('display_order', None)) setattr(self, "_{}".format('input_options'), kwargs.get('input_options', None)) setattr(self, "_{}".format('is_disabled'), kwargs.get('is_disabled', None)) setattr(self, "_{}".format('owner_type'), kwargs.get('owner_type', None)) @@ -133,6 +137,29 @@ def default_name(self, default_name): self._default_name = default_name + @property + def display_order(self): + """Gets the display_order of this AccountIdentityVerificationWorkflow. # noqa: E501 + + # noqa: E501 + + :return: The display_order of this AccountIdentityVerificationWorkflow. # noqa: E501 + :rtype: str + """ + return self._display_order + + @display_order.setter + def display_order(self, display_order): + """Sets the display_order of this AccountIdentityVerificationWorkflow. + + # noqa: E501 + + :param display_order: The display_order of this AccountIdentityVerificationWorkflow. # noqa: E501 + :type: str + """ + + self._display_order = display_order + @property def input_options(self): """Gets the input_options of this AccountIdentityVerificationWorkflow. # noqa: E501 diff --git a/docusign_esign/models/account_settings_information.py b/docusign_esign/models/account_settings_information.py index 28b765c..61b796c 100644 --- a/docusign_esign/models/account_settings_information.py +++ b/docusign_esign/models/account_settings_information.py @@ -410,6 +410,8 @@ class AccountSettingsInformation(object): 'enable_batch_update_envelope_types_metadata': 'SettingsMetadata', 'enable_bcc_dummy_link': 'str', 'enable_bcc_dummy_link_metadata': 'SettingsMetadata', + 'enable_cac_piv_signature_group': 'str', + 'enable_cac_piv_signature_group_metadata': 'SettingsMetadata', 'enable_calculated_fields': 'str', 'enable_calculated_fields_metadata': 'SettingsMetadata', 'enable_cfr_rapid_signing_embedded_auth': 'str', @@ -435,6 +437,8 @@ class AccountSettingsInformation(object): 'enable_content_search_metadata': 'SettingsMetadata', 'enable_coupa_core_extension': 'str', 'enable_coupa_core_extension_metadata': 'SettingsMetadata', + 'enable_coupa_iam_connector': 'str', + 'enable_coupa_iam_connector_metadata': 'SettingsMetadata', 'enable_custom_data_verification_extensions': 'str', 'enable_custom_data_verification_extensions_metadata': 'SettingsMetadata', 'enable_customer_satisfaction_metric_tracking': 'str', @@ -476,6 +480,12 @@ class AccountSettingsInformation(object): 'enable_esign_task_list_metadata': 'SettingsMetadata', 'enable_generation_with3_p_integration': 'str', 'enable_generation_with3_p_integration_meta_data': 'SettingsMetadata', + 'enable_greenhouse_app': 'str', + 'enable_greenhouse_app_metadata': 'SettingsMetadata', + 'enable_i9_on_demand': 'str', + 'enable_i9_on_demand_metadata': 'SettingsMetadata', + 'enable_iam_clause_library': 'str', + 'enable_iam_clause_library_metadata': 'SettingsMetadata', 'enable_id_fx_accountless_sms_auth_for_part11': 'str', 'enable_id_fx_accountless_sms_auth_for_part11_metadata': 'SettingsMetadata', 'enable_id_fx_intuit_kba': 'str', @@ -608,6 +618,8 @@ class AccountSettingsInformation(object): 'enable_witnessing_metadata': 'SettingsMetadata', 'enable_workday_financials_extension': 'str', 'enable_workday_financials_extension_meta_data': 'SettingsMetadata', + 'enable_workday_hr_app': 'str', + 'enable_workday_hr_app_metadata': 'SettingsMetadata', 'enforce_template_name_uniqueness': 'str', 'enforce_template_name_uniqueness_metadata': 'SettingsMetadata', 'enforce_tls_emails': 'str', @@ -1256,6 +1268,8 @@ class AccountSettingsInformation(object): 'enable_batch_update_envelope_types_metadata': 'enableBatchUpdateEnvelopeTypesMetadata', 'enable_bcc_dummy_link': 'enableBccDummyLink', 'enable_bcc_dummy_link_metadata': 'enableBccDummyLinkMetadata', + 'enable_cac_piv_signature_group': 'enableCacPivSignatureGroup', + 'enable_cac_piv_signature_group_metadata': 'enableCacPivSignatureGroupMetadata', 'enable_calculated_fields': 'enableCalculatedFields', 'enable_calculated_fields_metadata': 'enableCalculatedFieldsMetadata', 'enable_cfr_rapid_signing_embedded_auth': 'enableCFRRapidSigningEmbeddedAuth', @@ -1281,6 +1295,8 @@ class AccountSettingsInformation(object): 'enable_content_search_metadata': 'enableContentSearchMetadata', 'enable_coupa_core_extension': 'enableCoupaCoreExtension', 'enable_coupa_core_extension_metadata': 'enableCoupaCoreExtensionMetadata', + 'enable_coupa_iam_connector': 'enableCoupaIAMConnector', + 'enable_coupa_iam_connector_metadata': 'enableCoupaIAMConnectorMetadata', 'enable_custom_data_verification_extensions': 'enableCustomDataVerificationExtensions', 'enable_custom_data_verification_extensions_metadata': 'enableCustomDataVerificationExtensionsMetadata', 'enable_customer_satisfaction_metric_tracking': 'enableCustomerSatisfactionMetricTracking', @@ -1322,6 +1338,12 @@ class AccountSettingsInformation(object): 'enable_esign_task_list_metadata': 'enableEsignTaskListMetadata', 'enable_generation_with3_p_integration': 'enableGenerationWith3PIntegration', 'enable_generation_with3_p_integration_meta_data': 'enableGenerationWith3PIntegrationMetaData', + 'enable_greenhouse_app': 'enableGreenhouseApp', + 'enable_greenhouse_app_metadata': 'enableGreenhouseAppMetadata', + 'enable_i9_on_demand': 'enableI9OnDemand', + 'enable_i9_on_demand_metadata': 'enableI9OnDemandMetadata', + 'enable_iam_clause_library': 'enableIAMClauseLibrary', + 'enable_iam_clause_library_metadata': 'enableIAMClauseLibraryMetadata', 'enable_id_fx_accountless_sms_auth_for_part11': 'enableIDFxAccountlessSMSAuthForPart11', 'enable_id_fx_accountless_sms_auth_for_part11_metadata': 'enableIDFxAccountlessSMSAuthForPart11Metadata', 'enable_id_fx_intuit_kba': 'enableIDFxIntuitKBA', @@ -1454,6 +1476,8 @@ class AccountSettingsInformation(object): 'enable_witnessing_metadata': 'enableWitnessingMetadata', 'enable_workday_financials_extension': 'enableWorkdayFinancialsExtension', 'enable_workday_financials_extension_meta_data': 'enableWorkdayFinancialsExtensionMetaData', + 'enable_workday_hr_app': 'enableWorkdayHRApp', + 'enable_workday_hr_app_metadata': 'enableWorkdayHRAppMetadata', 'enforce_template_name_uniqueness': 'enforceTemplateNameUniqueness', 'enforce_template_name_uniqueness_metadata': 'enforceTemplateNameUniquenessMetadata', 'enforce_tls_emails': 'enforceTlsEmails', @@ -2107,6 +2131,8 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 self._enable_batch_update_envelope_types_metadata = None self._enable_bcc_dummy_link = None self._enable_bcc_dummy_link_metadata = None + self._enable_cac_piv_signature_group = None + self._enable_cac_piv_signature_group_metadata = None self._enable_calculated_fields = None self._enable_calculated_fields_metadata = None self._enable_cfr_rapid_signing_embedded_auth = None @@ -2132,6 +2158,8 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 self._enable_content_search_metadata = None self._enable_coupa_core_extension = None self._enable_coupa_core_extension_metadata = None + self._enable_coupa_iam_connector = None + self._enable_coupa_iam_connector_metadata = None self._enable_custom_data_verification_extensions = None self._enable_custom_data_verification_extensions_metadata = None self._enable_customer_satisfaction_metric_tracking = None @@ -2173,6 +2201,12 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 self._enable_esign_task_list_metadata = None self._enable_generation_with3_p_integration = None self._enable_generation_with3_p_integration_meta_data = None + self._enable_greenhouse_app = None + self._enable_greenhouse_app_metadata = None + self._enable_i9_on_demand = None + self._enable_i9_on_demand_metadata = None + self._enable_iam_clause_library = None + self._enable_iam_clause_library_metadata = None self._enable_id_fx_accountless_sms_auth_for_part11 = None self._enable_id_fx_accountless_sms_auth_for_part11_metadata = None self._enable_id_fx_intuit_kba = None @@ -2305,6 +2339,8 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 self._enable_witnessing_metadata = None self._enable_workday_financials_extension = None self._enable_workday_financials_extension_meta_data = None + self._enable_workday_hr_app = None + self._enable_workday_hr_app_metadata = None self._enforce_template_name_uniqueness = None self._enforce_template_name_uniqueness_metadata = None self._enforce_tls_emails = None @@ -2952,6 +2988,8 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 setattr(self, "_{}".format('enable_batch_update_envelope_types_metadata'), kwargs.get('enable_batch_update_envelope_types_metadata', None)) setattr(self, "_{}".format('enable_bcc_dummy_link'), kwargs.get('enable_bcc_dummy_link', None)) setattr(self, "_{}".format('enable_bcc_dummy_link_metadata'), kwargs.get('enable_bcc_dummy_link_metadata', None)) + setattr(self, "_{}".format('enable_cac_piv_signature_group'), kwargs.get('enable_cac_piv_signature_group', None)) + setattr(self, "_{}".format('enable_cac_piv_signature_group_metadata'), kwargs.get('enable_cac_piv_signature_group_metadata', None)) setattr(self, "_{}".format('enable_calculated_fields'), kwargs.get('enable_calculated_fields', None)) setattr(self, "_{}".format('enable_calculated_fields_metadata'), kwargs.get('enable_calculated_fields_metadata', None)) setattr(self, "_{}".format('enable_cfr_rapid_signing_embedded_auth'), kwargs.get('enable_cfr_rapid_signing_embedded_auth', None)) @@ -2977,6 +3015,8 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 setattr(self, "_{}".format('enable_content_search_metadata'), kwargs.get('enable_content_search_metadata', None)) setattr(self, "_{}".format('enable_coupa_core_extension'), kwargs.get('enable_coupa_core_extension', None)) setattr(self, "_{}".format('enable_coupa_core_extension_metadata'), kwargs.get('enable_coupa_core_extension_metadata', None)) + setattr(self, "_{}".format('enable_coupa_iam_connector'), kwargs.get('enable_coupa_iam_connector', None)) + setattr(self, "_{}".format('enable_coupa_iam_connector_metadata'), kwargs.get('enable_coupa_iam_connector_metadata', None)) setattr(self, "_{}".format('enable_custom_data_verification_extensions'), kwargs.get('enable_custom_data_verification_extensions', None)) setattr(self, "_{}".format('enable_custom_data_verification_extensions_metadata'), kwargs.get('enable_custom_data_verification_extensions_metadata', None)) setattr(self, "_{}".format('enable_customer_satisfaction_metric_tracking'), kwargs.get('enable_customer_satisfaction_metric_tracking', None)) @@ -3018,6 +3058,12 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 setattr(self, "_{}".format('enable_esign_task_list_metadata'), kwargs.get('enable_esign_task_list_metadata', None)) setattr(self, "_{}".format('enable_generation_with3_p_integration'), kwargs.get('enable_generation_with3_p_integration', None)) setattr(self, "_{}".format('enable_generation_with3_p_integration_meta_data'), kwargs.get('enable_generation_with3_p_integration_meta_data', None)) + setattr(self, "_{}".format('enable_greenhouse_app'), kwargs.get('enable_greenhouse_app', None)) + setattr(self, "_{}".format('enable_greenhouse_app_metadata'), kwargs.get('enable_greenhouse_app_metadata', None)) + setattr(self, "_{}".format('enable_i9_on_demand'), kwargs.get('enable_i9_on_demand', None)) + setattr(self, "_{}".format('enable_i9_on_demand_metadata'), kwargs.get('enable_i9_on_demand_metadata', None)) + setattr(self, "_{}".format('enable_iam_clause_library'), kwargs.get('enable_iam_clause_library', None)) + setattr(self, "_{}".format('enable_iam_clause_library_metadata'), kwargs.get('enable_iam_clause_library_metadata', None)) setattr(self, "_{}".format('enable_id_fx_accountless_sms_auth_for_part11'), kwargs.get('enable_id_fx_accountless_sms_auth_for_part11', None)) setattr(self, "_{}".format('enable_id_fx_accountless_sms_auth_for_part11_metadata'), kwargs.get('enable_id_fx_accountless_sms_auth_for_part11_metadata', None)) setattr(self, "_{}".format('enable_id_fx_intuit_kba'), kwargs.get('enable_id_fx_intuit_kba', None)) @@ -3150,6 +3196,8 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 setattr(self, "_{}".format('enable_witnessing_metadata'), kwargs.get('enable_witnessing_metadata', None)) setattr(self, "_{}".format('enable_workday_financials_extension'), kwargs.get('enable_workday_financials_extension', None)) setattr(self, "_{}".format('enable_workday_financials_extension_meta_data'), kwargs.get('enable_workday_financials_extension_meta_data', None)) + setattr(self, "_{}".format('enable_workday_hr_app'), kwargs.get('enable_workday_hr_app', None)) + setattr(self, "_{}".format('enable_workday_hr_app_metadata'), kwargs.get('enable_workday_hr_app_metadata', None)) setattr(self, "_{}".format('enforce_template_name_uniqueness'), kwargs.get('enforce_template_name_uniqueness', None)) setattr(self, "_{}".format('enforce_template_name_uniqueness_metadata'), kwargs.get('enforce_template_name_uniqueness_metadata', None)) setattr(self, "_{}".format('enforce_tls_emails'), kwargs.get('enforce_tls_emails', None)) @@ -12090,6 +12138,52 @@ def enable_bcc_dummy_link_metadata(self, enable_bcc_dummy_link_metadata): self._enable_bcc_dummy_link_metadata = enable_bcc_dummy_link_metadata + @property + def enable_cac_piv_signature_group(self): + """Gets the enable_cac_piv_signature_group of this AccountSettingsInformation. # noqa: E501 + + # noqa: E501 + + :return: The enable_cac_piv_signature_group of this AccountSettingsInformation. # noqa: E501 + :rtype: str + """ + return self._enable_cac_piv_signature_group + + @enable_cac_piv_signature_group.setter + def enable_cac_piv_signature_group(self, enable_cac_piv_signature_group): + """Sets the enable_cac_piv_signature_group of this AccountSettingsInformation. + + # noqa: E501 + + :param enable_cac_piv_signature_group: The enable_cac_piv_signature_group of this AccountSettingsInformation. # noqa: E501 + :type: str + """ + + self._enable_cac_piv_signature_group = enable_cac_piv_signature_group + + @property + def enable_cac_piv_signature_group_metadata(self): + """Gets the enable_cac_piv_signature_group_metadata of this AccountSettingsInformation. # noqa: E501 + + # noqa: E501 + + :return: The enable_cac_piv_signature_group_metadata of this AccountSettingsInformation. # noqa: E501 + :rtype: SettingsMetadata + """ + return self._enable_cac_piv_signature_group_metadata + + @enable_cac_piv_signature_group_metadata.setter + def enable_cac_piv_signature_group_metadata(self, enable_cac_piv_signature_group_metadata): + """Sets the enable_cac_piv_signature_group_metadata of this AccountSettingsInformation. + + # noqa: E501 + + :param enable_cac_piv_signature_group_metadata: The enable_cac_piv_signature_group_metadata of this AccountSettingsInformation. # noqa: E501 + :type: SettingsMetadata + """ + + self._enable_cac_piv_signature_group_metadata = enable_cac_piv_signature_group_metadata + @property def enable_calculated_fields(self): """Gets the enable_calculated_fields of this AccountSettingsInformation. # noqa: E501 @@ -12665,6 +12759,52 @@ def enable_coupa_core_extension_metadata(self, enable_coupa_core_extension_metad self._enable_coupa_core_extension_metadata = enable_coupa_core_extension_metadata + @property + def enable_coupa_iam_connector(self): + """Gets the enable_coupa_iam_connector of this AccountSettingsInformation. # noqa: E501 + + # noqa: E501 + + :return: The enable_coupa_iam_connector of this AccountSettingsInformation. # noqa: E501 + :rtype: str + """ + return self._enable_coupa_iam_connector + + @enable_coupa_iam_connector.setter + def enable_coupa_iam_connector(self, enable_coupa_iam_connector): + """Sets the enable_coupa_iam_connector of this AccountSettingsInformation. + + # noqa: E501 + + :param enable_coupa_iam_connector: The enable_coupa_iam_connector of this AccountSettingsInformation. # noqa: E501 + :type: str + """ + + self._enable_coupa_iam_connector = enable_coupa_iam_connector + + @property + def enable_coupa_iam_connector_metadata(self): + """Gets the enable_coupa_iam_connector_metadata of this AccountSettingsInformation. # noqa: E501 + + # noqa: E501 + + :return: The enable_coupa_iam_connector_metadata of this AccountSettingsInformation. # noqa: E501 + :rtype: SettingsMetadata + """ + return self._enable_coupa_iam_connector_metadata + + @enable_coupa_iam_connector_metadata.setter + def enable_coupa_iam_connector_metadata(self, enable_coupa_iam_connector_metadata): + """Sets the enable_coupa_iam_connector_metadata of this AccountSettingsInformation. + + # noqa: E501 + + :param enable_coupa_iam_connector_metadata: The enable_coupa_iam_connector_metadata of this AccountSettingsInformation. # noqa: E501 + :type: SettingsMetadata + """ + + self._enable_coupa_iam_connector_metadata = enable_coupa_iam_connector_metadata + @property def enable_custom_data_verification_extensions(self): """Gets the enable_custom_data_verification_extensions of this AccountSettingsInformation. # noqa: E501 @@ -13608,6 +13748,144 @@ def enable_generation_with3_p_integration_meta_data(self, enable_generation_with self._enable_generation_with3_p_integration_meta_data = enable_generation_with3_p_integration_meta_data + @property + def enable_greenhouse_app(self): + """Gets the enable_greenhouse_app of this AccountSettingsInformation. # noqa: E501 + + # noqa: E501 + + :return: The enable_greenhouse_app of this AccountSettingsInformation. # noqa: E501 + :rtype: str + """ + return self._enable_greenhouse_app + + @enable_greenhouse_app.setter + def enable_greenhouse_app(self, enable_greenhouse_app): + """Sets the enable_greenhouse_app of this AccountSettingsInformation. + + # noqa: E501 + + :param enable_greenhouse_app: The enable_greenhouse_app of this AccountSettingsInformation. # noqa: E501 + :type: str + """ + + self._enable_greenhouse_app = enable_greenhouse_app + + @property + def enable_greenhouse_app_metadata(self): + """Gets the enable_greenhouse_app_metadata of this AccountSettingsInformation. # noqa: E501 + + # noqa: E501 + + :return: The enable_greenhouse_app_metadata of this AccountSettingsInformation. # noqa: E501 + :rtype: SettingsMetadata + """ + return self._enable_greenhouse_app_metadata + + @enable_greenhouse_app_metadata.setter + def enable_greenhouse_app_metadata(self, enable_greenhouse_app_metadata): + """Sets the enable_greenhouse_app_metadata of this AccountSettingsInformation. + + # noqa: E501 + + :param enable_greenhouse_app_metadata: The enable_greenhouse_app_metadata of this AccountSettingsInformation. # noqa: E501 + :type: SettingsMetadata + """ + + self._enable_greenhouse_app_metadata = enable_greenhouse_app_metadata + + @property + def enable_i9_on_demand(self): + """Gets the enable_i9_on_demand of this AccountSettingsInformation. # noqa: E501 + + # noqa: E501 + + :return: The enable_i9_on_demand of this AccountSettingsInformation. # noqa: E501 + :rtype: str + """ + return self._enable_i9_on_demand + + @enable_i9_on_demand.setter + def enable_i9_on_demand(self, enable_i9_on_demand): + """Sets the enable_i9_on_demand of this AccountSettingsInformation. + + # noqa: E501 + + :param enable_i9_on_demand: The enable_i9_on_demand of this AccountSettingsInformation. # noqa: E501 + :type: str + """ + + self._enable_i9_on_demand = enable_i9_on_demand + + @property + def enable_i9_on_demand_metadata(self): + """Gets the enable_i9_on_demand_metadata of this AccountSettingsInformation. # noqa: E501 + + # noqa: E501 + + :return: The enable_i9_on_demand_metadata of this AccountSettingsInformation. # noqa: E501 + :rtype: SettingsMetadata + """ + return self._enable_i9_on_demand_metadata + + @enable_i9_on_demand_metadata.setter + def enable_i9_on_demand_metadata(self, enable_i9_on_demand_metadata): + """Sets the enable_i9_on_demand_metadata of this AccountSettingsInformation. + + # noqa: E501 + + :param enable_i9_on_demand_metadata: The enable_i9_on_demand_metadata of this AccountSettingsInformation. # noqa: E501 + :type: SettingsMetadata + """ + + self._enable_i9_on_demand_metadata = enable_i9_on_demand_metadata + + @property + def enable_iam_clause_library(self): + """Gets the enable_iam_clause_library of this AccountSettingsInformation. # noqa: E501 + + # noqa: E501 + + :return: The enable_iam_clause_library of this AccountSettingsInformation. # noqa: E501 + :rtype: str + """ + return self._enable_iam_clause_library + + @enable_iam_clause_library.setter + def enable_iam_clause_library(self, enable_iam_clause_library): + """Sets the enable_iam_clause_library of this AccountSettingsInformation. + + # noqa: E501 + + :param enable_iam_clause_library: The enable_iam_clause_library of this AccountSettingsInformation. # noqa: E501 + :type: str + """ + + self._enable_iam_clause_library = enable_iam_clause_library + + @property + def enable_iam_clause_library_metadata(self): + """Gets the enable_iam_clause_library_metadata of this AccountSettingsInformation. # noqa: E501 + + # noqa: E501 + + :return: The enable_iam_clause_library_metadata of this AccountSettingsInformation. # noqa: E501 + :rtype: SettingsMetadata + """ + return self._enable_iam_clause_library_metadata + + @enable_iam_clause_library_metadata.setter + def enable_iam_clause_library_metadata(self, enable_iam_clause_library_metadata): + """Sets the enable_iam_clause_library_metadata of this AccountSettingsInformation. + + # noqa: E501 + + :param enable_iam_clause_library_metadata: The enable_iam_clause_library_metadata of this AccountSettingsInformation. # noqa: E501 + :type: SettingsMetadata + """ + + self._enable_iam_clause_library_metadata = enable_iam_clause_library_metadata + @property def enable_id_fx_accountless_sms_auth_for_part11(self): """Gets the enable_id_fx_accountless_sms_auth_for_part11 of this AccountSettingsInformation. # noqa: E501 @@ -16644,6 +16922,52 @@ def enable_workday_financials_extension_meta_data(self, enable_workday_financial self._enable_workday_financials_extension_meta_data = enable_workday_financials_extension_meta_data + @property + def enable_workday_hr_app(self): + """Gets the enable_workday_hr_app of this AccountSettingsInformation. # noqa: E501 + + # noqa: E501 + + :return: The enable_workday_hr_app of this AccountSettingsInformation. # noqa: E501 + :rtype: str + """ + return self._enable_workday_hr_app + + @enable_workday_hr_app.setter + def enable_workday_hr_app(self, enable_workday_hr_app): + """Sets the enable_workday_hr_app of this AccountSettingsInformation. + + # noqa: E501 + + :param enable_workday_hr_app: The enable_workday_hr_app of this AccountSettingsInformation. # noqa: E501 + :type: str + """ + + self._enable_workday_hr_app = enable_workday_hr_app + + @property + def enable_workday_hr_app_metadata(self): + """Gets the enable_workday_hr_app_metadata of this AccountSettingsInformation. # noqa: E501 + + # noqa: E501 + + :return: The enable_workday_hr_app_metadata of this AccountSettingsInformation. # noqa: E501 + :rtype: SettingsMetadata + """ + return self._enable_workday_hr_app_metadata + + @enable_workday_hr_app_metadata.setter + def enable_workday_hr_app_metadata(self, enable_workday_hr_app_metadata): + """Sets the enable_workday_hr_app_metadata of this AccountSettingsInformation. + + # noqa: E501 + + :param enable_workday_hr_app_metadata: The enable_workday_hr_app_metadata of this AccountSettingsInformation. # noqa: E501 + :type: SettingsMetadata + """ + + self._enable_workday_hr_app_metadata = enable_workday_hr_app_metadata + @property def enforce_template_name_uniqueness(self): """Gets the enforce_template_name_uniqueness of this AccountSettingsInformation. # noqa: E501 diff --git a/docusign_esign/models/contact.py b/docusign_esign/models/contact.py index 2a42d78..44471e5 100644 --- a/docusign_esign/models/contact.py +++ b/docusign_esign/models/contact.py @@ -33,6 +33,7 @@ class Contact(object): and the value is json key in definition. """ swagger_types = { + 'can_manage': 'str', 'cloud_provider': 'str', 'cloud_provider_container_id': 'str', 'contact_id': 'str', @@ -51,6 +52,7 @@ class Contact(object): } attribute_map = { + 'can_manage': 'canManage', 'cloud_provider': 'cloudProvider', 'cloud_provider_container_id': 'cloudProviderContainerId', 'contact_id': 'contactId', @@ -74,6 +76,7 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 _configuration = Configuration() self._configuration = _configuration + self._can_manage = None self._cloud_provider = None self._cloud_provider_container_id = None self._contact_id = None @@ -91,6 +94,7 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 self._signing_group_name = None self.discriminator = None + setattr(self, "_{}".format('can_manage'), kwargs.get('can_manage', None)) setattr(self, "_{}".format('cloud_provider'), kwargs.get('cloud_provider', None)) setattr(self, "_{}".format('cloud_provider_container_id'), kwargs.get('cloud_provider_container_id', None)) setattr(self, "_{}".format('contact_id'), kwargs.get('contact_id', None)) @@ -107,6 +111,29 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 setattr(self, "_{}".format('signing_group'), kwargs.get('signing_group', None)) setattr(self, "_{}".format('signing_group_name'), kwargs.get('signing_group_name', None)) + @property + def can_manage(self): + """Gets the can_manage of this Contact. # noqa: E501 + + # noqa: E501 + + :return: The can_manage of this Contact. # noqa: E501 + :rtype: str + """ + return self._can_manage + + @can_manage.setter + def can_manage(self, can_manage): + """Sets the can_manage of this Contact. + + # noqa: E501 + + :param can_manage: The can_manage of this Contact. # noqa: E501 + :type: str + """ + + self._can_manage = can_manage + @property def cloud_provider(self): """Gets the cloud_provider of this Contact. # noqa: E501 diff --git a/docusign_esign/models/date_signed.py b/docusign_esign/models/date_signed.py index 3201e14..5ae78f5 100644 --- a/docusign_esign/models/date_signed.py +++ b/docusign_esign/models/date_signed.py @@ -116,6 +116,7 @@ class DateSigned(object): 'template_locked_metadata': 'PropertyMetadata', 'template_required': 'str', 'template_required_metadata': 'PropertyMetadata', + 'timestamp_standardized': 'str', 'tooltip': 'str', 'tool_tip_metadata': 'PropertyMetadata', 'underline': 'str', @@ -215,6 +216,7 @@ class DateSigned(object): 'template_locked_metadata': 'templateLockedMetadata', 'template_required': 'templateRequired', 'template_required_metadata': 'templateRequiredMetadata', + 'timestamp_standardized': 'timestampStandardized', 'tooltip': 'tooltip', 'tool_tip_metadata': 'toolTipMetadata', 'underline': 'underline', @@ -319,6 +321,7 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 self._template_locked_metadata = None self._template_required = None self._template_required_metadata = None + self._timestamp_standardized = None self._tooltip = None self._tool_tip_metadata = None self._underline = None @@ -417,6 +420,7 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 setattr(self, "_{}".format('template_locked_metadata'), kwargs.get('template_locked_metadata', None)) setattr(self, "_{}".format('template_required'), kwargs.get('template_required', None)) setattr(self, "_{}".format('template_required_metadata'), kwargs.get('template_required_metadata', None)) + setattr(self, "_{}".format('timestamp_standardized'), kwargs.get('timestamp_standardized', None)) setattr(self, "_{}".format('tooltip'), kwargs.get('tooltip', None)) setattr(self, "_{}".format('tool_tip_metadata'), kwargs.get('tool_tip_metadata', None)) setattr(self, "_{}".format('underline'), kwargs.get('underline', None)) @@ -2340,6 +2344,29 @@ def template_required_metadata(self, template_required_metadata): self._template_required_metadata = template_required_metadata + @property + def timestamp_standardized(self): + """Gets the timestamp_standardized of this DateSigned. # noqa: E501 + + # noqa: E501 + + :return: The timestamp_standardized of this DateSigned. # noqa: E501 + :rtype: str + """ + return self._timestamp_standardized + + @timestamp_standardized.setter + def timestamp_standardized(self, timestamp_standardized): + """Sets the timestamp_standardized of this DateSigned. + + # noqa: E501 + + :param timestamp_standardized: The timestamp_standardized of this DateSigned. # noqa: E501 + :type: str + """ + + self._timestamp_standardized = timestamp_standardized + @property def tooltip(self): """Gets the tooltip of this DateSigned. # noqa: E501 diff --git a/docusign_esign/models/envelope.py b/docusign_esign/models/envelope.py index 603d17a..0d78d9d 100644 --- a/docusign_esign/models/envelope.py +++ b/docusign_esign/models/envelope.py @@ -106,7 +106,6 @@ class Envelope(object): 'signing_location': 'str', 'status': 'str', 'status_changed_date_time': 'str', - 'status_date_time': 'str', 'templates_uri': 'str', 'transaction_id': 'str', 'use_disclosure': 'str', @@ -190,7 +189,6 @@ class Envelope(object): 'signing_location': 'signingLocation', 'status': 'status', 'status_changed_date_time': 'statusChangedDateTime', - 'status_date_time': 'statusDateTime', 'templates_uri': 'templatesUri', 'transaction_id': 'transactionId', 'use_disclosure': 'useDisclosure', @@ -279,7 +277,6 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 self._signing_location = None self._status = None self._status_changed_date_time = None - self._status_date_time = None self._templates_uri = None self._transaction_id = None self._use_disclosure = None @@ -362,7 +359,6 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 setattr(self, "_{}".format('signing_location'), kwargs.get('signing_location', None)) setattr(self, "_{}".format('status'), kwargs.get('status', None)) setattr(self, "_{}".format('status_changed_date_time'), kwargs.get('status_changed_date_time', None)) - setattr(self, "_{}".format('status_date_time'), kwargs.get('status_date_time', None)) setattr(self, "_{}".format('templates_uri'), kwargs.get('templates_uri', None)) setattr(self, "_{}".format('transaction_id'), kwargs.get('transaction_id', None)) setattr(self, "_{}".format('use_disclosure'), kwargs.get('use_disclosure', None)) @@ -2050,29 +2046,6 @@ def status_changed_date_time(self, status_changed_date_time): self._status_changed_date_time = status_changed_date_time - @property - def status_date_time(self): - """Gets the status_date_time of this Envelope. # noqa: E501 - - # noqa: E501 - - :return: The status_date_time of this Envelope. # noqa: E501 - :rtype: str - """ - return self._status_date_time - - @status_date_time.setter - def status_date_time(self, status_date_time): - """Sets the status_date_time of this Envelope. - - # noqa: E501 - - :param status_date_time: The status_date_time of this Envelope. # noqa: E501 - :type: str - """ - - self._status_date_time = status_date_time - @property def templates_uri(self): """Gets the templates_uri of this Envelope. # noqa: E501 diff --git a/docusign_esign/models/envelope_definition.py b/docusign_esign/models/envelope_definition.py index 68c45ed..a2e6818 100644 --- a/docusign_esign/models/envelope_definition.py +++ b/docusign_esign/models/envelope_definition.py @@ -115,7 +115,6 @@ class EnvelopeDefinition(object): 'signing_location': 'str', 'status': 'str', 'status_changed_date_time': 'str', - 'status_date_time': 'str', 'template_id': 'str', 'template_roles': 'list[TemplateRole]', 'templates_uri': 'str', @@ -210,7 +209,6 @@ class EnvelopeDefinition(object): 'signing_location': 'signingLocation', 'status': 'status', 'status_changed_date_time': 'statusChangedDateTime', - 'status_date_time': 'statusDateTime', 'template_id': 'templateId', 'template_roles': 'templateRoles', 'templates_uri': 'templatesUri', @@ -310,7 +308,6 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 self._signing_location = None self._status = None self._status_changed_date_time = None - self._status_date_time = None self._template_id = None self._template_roles = None self._templates_uri = None @@ -404,7 +401,6 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 setattr(self, "_{}".format('signing_location'), kwargs.get('signing_location', None)) setattr(self, "_{}".format('status'), kwargs.get('status', None)) setattr(self, "_{}".format('status_changed_date_time'), kwargs.get('status_changed_date_time', None)) - setattr(self, "_{}".format('status_date_time'), kwargs.get('status_date_time', None)) setattr(self, "_{}".format('template_id'), kwargs.get('template_id', None)) setattr(self, "_{}".format('template_roles'), kwargs.get('template_roles', None)) setattr(self, "_{}".format('templates_uri'), kwargs.get('templates_uri', None)) @@ -2301,29 +2297,6 @@ def status_changed_date_time(self, status_changed_date_time): self._status_changed_date_time = status_changed_date_time - @property - def status_date_time(self): - """Gets the status_date_time of this EnvelopeDefinition. # noqa: E501 - - # noqa: E501 - - :return: The status_date_time of this EnvelopeDefinition. # noqa: E501 - :rtype: str - """ - return self._status_date_time - - @status_date_time.setter - def status_date_time(self, status_date_time): - """Sets the status_date_time of this EnvelopeDefinition. - - # noqa: E501 - - :param status_date_time: The status_date_time of this EnvelopeDefinition. # noqa: E501 - :type: str - """ - - self._status_date_time = status_date_time - @property def template_id(self): """Gets the template_id of this EnvelopeDefinition. # noqa: E501 diff --git a/docusign_esign/models/envelope_document.py b/docusign_esign/models/envelope_document.py index 307d9cb..ec399a9 100644 --- a/docusign_esign/models/envelope_document.py +++ b/docusign_esign/models/envelope_document.py @@ -57,6 +57,7 @@ class EnvelopeDocument(object): 'include_in_download_metadata': 'PropertyMetadata', 'is_ace_gen_document': 'str', 'is_doc_gen_document': 'str', + 'is_edited': 'str', 'is_externally_available': 'str', 'is_flattened': 'str', 'name': 'str', @@ -97,6 +98,7 @@ class EnvelopeDocument(object): 'include_in_download_metadata': 'includeInDownloadMetadata', 'is_ace_gen_document': 'isAceGenDocument', 'is_doc_gen_document': 'isDocGenDocument', + 'is_edited': 'isEdited', 'is_externally_available': 'isExternallyAvailable', 'is_flattened': 'isFlattened', 'name': 'name', @@ -142,6 +144,7 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 self._include_in_download_metadata = None self._is_ace_gen_document = None self._is_doc_gen_document = None + self._is_edited = None self._is_externally_available = None self._is_flattened = None self._name = None @@ -181,6 +184,7 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 setattr(self, "_{}".format('include_in_download_metadata'), kwargs.get('include_in_download_metadata', None)) setattr(self, "_{}".format('is_ace_gen_document'), kwargs.get('is_ace_gen_document', None)) setattr(self, "_{}".format('is_doc_gen_document'), kwargs.get('is_doc_gen_document', None)) + setattr(self, "_{}".format('is_edited'), kwargs.get('is_edited', None)) setattr(self, "_{}".format('is_externally_available'), kwargs.get('is_externally_available', None)) setattr(self, "_{}".format('is_flattened'), kwargs.get('is_flattened', None)) setattr(self, "_{}".format('name'), kwargs.get('name', None)) @@ -747,6 +751,29 @@ def is_doc_gen_document(self, is_doc_gen_document): self._is_doc_gen_document = is_doc_gen_document + @property + def is_edited(self): + """Gets the is_edited of this EnvelopeDocument. # noqa: E501 + + # noqa: E501 + + :return: The is_edited of this EnvelopeDocument. # noqa: E501 + :rtype: str + """ + return self._is_edited + + @is_edited.setter + def is_edited(self, is_edited): + """Sets the is_edited of this EnvelopeDocument. + + # noqa: E501 + + :param is_edited: The is_edited of this EnvelopeDocument. # noqa: E501 + :type: str + """ + + self._is_edited = is_edited + @property def is_externally_available(self): """Gets the is_externally_available of this EnvelopeDocument. # noqa: E501 diff --git a/docusign_esign/models/envelope_template.py b/docusign_esign/models/envelope_template.py index f32bf46..1bff469 100644 --- a/docusign_esign/models/envelope_template.py +++ b/docusign_esign/models/envelope_template.py @@ -128,7 +128,6 @@ class EnvelopeTemplate(object): 'signing_location': 'str', 'status': 'str', 'status_changed_date_time': 'str', - 'status_date_time': 'str', 'template_id': 'str', 'templates_uri': 'str', 'transaction_id': 'str', @@ -236,7 +235,6 @@ class EnvelopeTemplate(object): 'signing_location': 'signingLocation', 'status': 'status', 'status_changed_date_time': 'statusChangedDateTime', - 'status_date_time': 'statusDateTime', 'template_id': 'templateId', 'templates_uri': 'templatesUri', 'transaction_id': 'transactionId', @@ -349,7 +347,6 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 self._signing_location = None self._status = None self._status_changed_date_time = None - self._status_date_time = None self._template_id = None self._templates_uri = None self._transaction_id = None @@ -456,7 +453,6 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 setattr(self, "_{}".format('signing_location'), kwargs.get('signing_location', None)) setattr(self, "_{}".format('status'), kwargs.get('status', None)) setattr(self, "_{}".format('status_changed_date_time'), kwargs.get('status_changed_date_time', None)) - setattr(self, "_{}".format('status_date_time'), kwargs.get('status_date_time', None)) setattr(self, "_{}".format('template_id'), kwargs.get('template_id', None)) setattr(self, "_{}".format('templates_uri'), kwargs.get('templates_uri', None)) setattr(self, "_{}".format('transaction_id'), kwargs.get('transaction_id', None)) @@ -2652,29 +2648,6 @@ def status_changed_date_time(self, status_changed_date_time): self._status_changed_date_time = status_changed_date_time - @property - def status_date_time(self): - """Gets the status_date_time of this EnvelopeTemplate. # noqa: E501 - - # noqa: E501 - - :return: The status_date_time of this EnvelopeTemplate. # noqa: E501 - :rtype: str - """ - return self._status_date_time - - @status_date_time.setter - def status_date_time(self, status_date_time): - """Sets the status_date_time of this EnvelopeTemplate. - - # noqa: E501 - - :param status_date_time: The status_date_time of this EnvelopeTemplate. # noqa: E501 - :type: str - """ - - self._status_date_time = status_date_time - @property def template_id(self): """Gets the template_id of this EnvelopeTemplate. # noqa: E501 diff --git a/docusign_esign/models/reminders.py b/docusign_esign/models/reminders.py index 73f2691..b424c9a 100644 --- a/docusign_esign/models/reminders.py +++ b/docusign_esign/models/reminders.py @@ -36,14 +36,16 @@ class Reminders(object): 'maximum_reminder_count': 'str', 'reminder_delay': 'str', 'reminder_enabled': 'str', - 'reminder_frequency': 'str' + 'reminder_frequency': 'str', + 'smart_reminder_enabled': 'str' } attribute_map = { 'maximum_reminder_count': 'maximumReminderCount', 'reminder_delay': 'reminderDelay', 'reminder_enabled': 'reminderEnabled', - 'reminder_frequency': 'reminderFrequency' + 'reminder_frequency': 'reminderFrequency', + 'smart_reminder_enabled': 'smartReminderEnabled' } def __init__(self, _configuration=None, **kwargs): # noqa: E501 @@ -56,12 +58,14 @@ def __init__(self, _configuration=None, **kwargs): # noqa: E501 self._reminder_delay = None self._reminder_enabled = None self._reminder_frequency = None + self._smart_reminder_enabled = None self.discriminator = None setattr(self, "_{}".format('maximum_reminder_count'), kwargs.get('maximum_reminder_count', None)) setattr(self, "_{}".format('reminder_delay'), kwargs.get('reminder_delay', None)) setattr(self, "_{}".format('reminder_enabled'), kwargs.get('reminder_enabled', None)) setattr(self, "_{}".format('reminder_frequency'), kwargs.get('reminder_frequency', None)) + setattr(self, "_{}".format('smart_reminder_enabled'), kwargs.get('smart_reminder_enabled', None)) @property def maximum_reminder_count(self): @@ -155,6 +159,29 @@ def reminder_frequency(self, reminder_frequency): self._reminder_frequency = reminder_frequency + @property + def smart_reminder_enabled(self): + """Gets the smart_reminder_enabled of this Reminders. # noqa: E501 + + # noqa: E501 + + :return: The smart_reminder_enabled of this Reminders. # noqa: E501 + :rtype: str + """ + return self._smart_reminder_enabled + + @smart_reminder_enabled.setter + def smart_reminder_enabled(self, smart_reminder_enabled): + """Sets the smart_reminder_enabled of this Reminders. + + # noqa: E501 + + :param smart_reminder_enabled: The smart_reminder_enabled of this Reminders. # noqa: E501 + :type: str + """ + + self._smart_reminder_enabled = smart_reminder_enabled + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/docusign_esign/models/sender_completion_info.py b/docusign_esign/models/sender_completion_info.py new file mode 100644 index 0000000..52450f3 --- /dev/null +++ b/docusign_esign/models/sender_completion_info.py @@ -0,0 +1,340 @@ +# coding: utf-8 + +""" + Docusign eSignature REST API + + The Docusign eSignature REST API provides you with a powerful, convenient, and simple Web services API for interacting with Docusign. # noqa: E501 + + OpenAPI spec version: v2.1 + Contact: devcenter@docusign.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from docusign_esign.client.configuration import Configuration + + +class SenderCompletionInfo(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'completed': 'str', + 'completion_rate': 'str', + 'expired': 'str', + 'expired_rate': 'str', + 'name': 'str', + 'sender_id': 'str', + 'sent': 'str', + 'voided': 'str', + 'voided_rate': 'str' + } + + attribute_map = { + 'completed': 'completed', + 'completion_rate': 'completionRate', + 'expired': 'expired', + 'expired_rate': 'expiredRate', + 'name': 'name', + 'sender_id': 'senderId', + 'sent': 'sent', + 'voided': 'voided', + 'voided_rate': 'voidedRate' + } + + def __init__(self, _configuration=None, **kwargs): # noqa: E501 + """SenderCompletionInfo - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._completed = None + self._completion_rate = None + self._expired = None + self._expired_rate = None + self._name = None + self._sender_id = None + self._sent = None + self._voided = None + self._voided_rate = None + self.discriminator = None + + setattr(self, "_{}".format('completed'), kwargs.get('completed', None)) + setattr(self, "_{}".format('completion_rate'), kwargs.get('completion_rate', None)) + setattr(self, "_{}".format('expired'), kwargs.get('expired', None)) + setattr(self, "_{}".format('expired_rate'), kwargs.get('expired_rate', None)) + setattr(self, "_{}".format('name'), kwargs.get('name', None)) + setattr(self, "_{}".format('sender_id'), kwargs.get('sender_id', None)) + setattr(self, "_{}".format('sent'), kwargs.get('sent', None)) + setattr(self, "_{}".format('voided'), kwargs.get('voided', None)) + setattr(self, "_{}".format('voided_rate'), kwargs.get('voided_rate', None)) + + @property + def completed(self): + """Gets the completed of this SenderCompletionInfo. # noqa: E501 + + # noqa: E501 + + :return: The completed of this SenderCompletionInfo. # noqa: E501 + :rtype: str + """ + return self._completed + + @completed.setter + def completed(self, completed): + """Sets the completed of this SenderCompletionInfo. + + # noqa: E501 + + :param completed: The completed of this SenderCompletionInfo. # noqa: E501 + :type: str + """ + + self._completed = completed + + @property + def completion_rate(self): + """Gets the completion_rate of this SenderCompletionInfo. # noqa: E501 + + # noqa: E501 + + :return: The completion_rate of this SenderCompletionInfo. # noqa: E501 + :rtype: str + """ + return self._completion_rate + + @completion_rate.setter + def completion_rate(self, completion_rate): + """Sets the completion_rate of this SenderCompletionInfo. + + # noqa: E501 + + :param completion_rate: The completion_rate of this SenderCompletionInfo. # noqa: E501 + :type: str + """ + + self._completion_rate = completion_rate + + @property + def expired(self): + """Gets the expired of this SenderCompletionInfo. # noqa: E501 + + # noqa: E501 + + :return: The expired of this SenderCompletionInfo. # noqa: E501 + :rtype: str + """ + return self._expired + + @expired.setter + def expired(self, expired): + """Sets the expired of this SenderCompletionInfo. + + # noqa: E501 + + :param expired: The expired of this SenderCompletionInfo. # noqa: E501 + :type: str + """ + + self._expired = expired + + @property + def expired_rate(self): + """Gets the expired_rate of this SenderCompletionInfo. # noqa: E501 + + # noqa: E501 + + :return: The expired_rate of this SenderCompletionInfo. # noqa: E501 + :rtype: str + """ + return self._expired_rate + + @expired_rate.setter + def expired_rate(self, expired_rate): + """Sets the expired_rate of this SenderCompletionInfo. + + # noqa: E501 + + :param expired_rate: The expired_rate of this SenderCompletionInfo. # noqa: E501 + :type: str + """ + + self._expired_rate = expired_rate + + @property + def name(self): + """Gets the name of this SenderCompletionInfo. # noqa: E501 + + # noqa: E501 + + :return: The name of this SenderCompletionInfo. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this SenderCompletionInfo. + + # noqa: E501 + + :param name: The name of this SenderCompletionInfo. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def sender_id(self): + """Gets the sender_id of this SenderCompletionInfo. # noqa: E501 + + # noqa: E501 + + :return: The sender_id of this SenderCompletionInfo. # noqa: E501 + :rtype: str + """ + return self._sender_id + + @sender_id.setter + def sender_id(self, sender_id): + """Sets the sender_id of this SenderCompletionInfo. + + # noqa: E501 + + :param sender_id: The sender_id of this SenderCompletionInfo. # noqa: E501 + :type: str + """ + + self._sender_id = sender_id + + @property + def sent(self): + """Gets the sent of this SenderCompletionInfo. # noqa: E501 + + # noqa: E501 + + :return: The sent of this SenderCompletionInfo. # noqa: E501 + :rtype: str + """ + return self._sent + + @sent.setter + def sent(self, sent): + """Sets the sent of this SenderCompletionInfo. + + # noqa: E501 + + :param sent: The sent of this SenderCompletionInfo. # noqa: E501 + :type: str + """ + + self._sent = sent + + @property + def voided(self): + """Gets the voided of this SenderCompletionInfo. # noqa: E501 + + # noqa: E501 + + :return: The voided of this SenderCompletionInfo. # noqa: E501 + :rtype: str + """ + return self._voided + + @voided.setter + def voided(self, voided): + """Sets the voided of this SenderCompletionInfo. + + # noqa: E501 + + :param voided: The voided of this SenderCompletionInfo. # noqa: E501 + :type: str + """ + + self._voided = voided + + @property + def voided_rate(self): + """Gets the voided_rate of this SenderCompletionInfo. # noqa: E501 + + # noqa: E501 + + :return: The voided_rate of this SenderCompletionInfo. # noqa: E501 + :rtype: str + """ + return self._voided_rate + + @voided_rate.setter + def voided_rate(self, voided_rate): + """Sets the voided_rate of this SenderCompletionInfo. + + # noqa: E501 + + :param voided_rate: The voided_rate of this SenderCompletionInfo. # noqa: E501 + :type: str + """ + + self._voided_rate = voided_rate + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(SenderCompletionInfo, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SenderCompletionInfo): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, SenderCompletionInfo): + return True + + return self.to_dict() != other.to_dict() diff --git a/docusign_esign/models/template_completion_info.py b/docusign_esign/models/template_completion_info.py new file mode 100644 index 0000000..b13b135 --- /dev/null +++ b/docusign_esign/models/template_completion_info.py @@ -0,0 +1,340 @@ +# coding: utf-8 + +""" + Docusign eSignature REST API + + The Docusign eSignature REST API provides you with a powerful, convenient, and simple Web services API for interacting with Docusign. # noqa: E501 + + OpenAPI spec version: v2.1 + Contact: devcenter@docusign.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from docusign_esign.client.configuration import Configuration + + +class TemplateCompletionInfo(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'completed': 'str', + 'completion_rate': 'str', + 'expired': 'str', + 'expired_rate': 'str', + 'name': 'str', + 'sent': 'str', + 'template_id': 'str', + 'voided': 'str', + 'voided_rate': 'str' + } + + attribute_map = { + 'completed': 'completed', + 'completion_rate': 'completionRate', + 'expired': 'expired', + 'expired_rate': 'expiredRate', + 'name': 'name', + 'sent': 'sent', + 'template_id': 'templateId', + 'voided': 'voided', + 'voided_rate': 'voidedRate' + } + + def __init__(self, _configuration=None, **kwargs): # noqa: E501 + """TemplateCompletionInfo - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._completed = None + self._completion_rate = None + self._expired = None + self._expired_rate = None + self._name = None + self._sent = None + self._template_id = None + self._voided = None + self._voided_rate = None + self.discriminator = None + + setattr(self, "_{}".format('completed'), kwargs.get('completed', None)) + setattr(self, "_{}".format('completion_rate'), kwargs.get('completion_rate', None)) + setattr(self, "_{}".format('expired'), kwargs.get('expired', None)) + setattr(self, "_{}".format('expired_rate'), kwargs.get('expired_rate', None)) + setattr(self, "_{}".format('name'), kwargs.get('name', None)) + setattr(self, "_{}".format('sent'), kwargs.get('sent', None)) + setattr(self, "_{}".format('template_id'), kwargs.get('template_id', None)) + setattr(self, "_{}".format('voided'), kwargs.get('voided', None)) + setattr(self, "_{}".format('voided_rate'), kwargs.get('voided_rate', None)) + + @property + def completed(self): + """Gets the completed of this TemplateCompletionInfo. # noqa: E501 + + # noqa: E501 + + :return: The completed of this TemplateCompletionInfo. # noqa: E501 + :rtype: str + """ + return self._completed + + @completed.setter + def completed(self, completed): + """Sets the completed of this TemplateCompletionInfo. + + # noqa: E501 + + :param completed: The completed of this TemplateCompletionInfo. # noqa: E501 + :type: str + """ + + self._completed = completed + + @property + def completion_rate(self): + """Gets the completion_rate of this TemplateCompletionInfo. # noqa: E501 + + # noqa: E501 + + :return: The completion_rate of this TemplateCompletionInfo. # noqa: E501 + :rtype: str + """ + return self._completion_rate + + @completion_rate.setter + def completion_rate(self, completion_rate): + """Sets the completion_rate of this TemplateCompletionInfo. + + # noqa: E501 + + :param completion_rate: The completion_rate of this TemplateCompletionInfo. # noqa: E501 + :type: str + """ + + self._completion_rate = completion_rate + + @property + def expired(self): + """Gets the expired of this TemplateCompletionInfo. # noqa: E501 + + # noqa: E501 + + :return: The expired of this TemplateCompletionInfo. # noqa: E501 + :rtype: str + """ + return self._expired + + @expired.setter + def expired(self, expired): + """Sets the expired of this TemplateCompletionInfo. + + # noqa: E501 + + :param expired: The expired of this TemplateCompletionInfo. # noqa: E501 + :type: str + """ + + self._expired = expired + + @property + def expired_rate(self): + """Gets the expired_rate of this TemplateCompletionInfo. # noqa: E501 + + # noqa: E501 + + :return: The expired_rate of this TemplateCompletionInfo. # noqa: E501 + :rtype: str + """ + return self._expired_rate + + @expired_rate.setter + def expired_rate(self, expired_rate): + """Sets the expired_rate of this TemplateCompletionInfo. + + # noqa: E501 + + :param expired_rate: The expired_rate of this TemplateCompletionInfo. # noqa: E501 + :type: str + """ + + self._expired_rate = expired_rate + + @property + def name(self): + """Gets the name of this TemplateCompletionInfo. # noqa: E501 + + # noqa: E501 + + :return: The name of this TemplateCompletionInfo. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this TemplateCompletionInfo. + + # noqa: E501 + + :param name: The name of this TemplateCompletionInfo. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def sent(self): + """Gets the sent of this TemplateCompletionInfo. # noqa: E501 + + # noqa: E501 + + :return: The sent of this TemplateCompletionInfo. # noqa: E501 + :rtype: str + """ + return self._sent + + @sent.setter + def sent(self, sent): + """Sets the sent of this TemplateCompletionInfo. + + # noqa: E501 + + :param sent: The sent of this TemplateCompletionInfo. # noqa: E501 + :type: str + """ + + self._sent = sent + + @property + def template_id(self): + """Gets the template_id of this TemplateCompletionInfo. # noqa: E501 + + The unique identifier of the template. If this is not provided, DocuSign will generate a value. # noqa: E501 + + :return: The template_id of this TemplateCompletionInfo. # noqa: E501 + :rtype: str + """ + return self._template_id + + @template_id.setter + def template_id(self, template_id): + """Sets the template_id of this TemplateCompletionInfo. + + The unique identifier of the template. If this is not provided, DocuSign will generate a value. # noqa: E501 + + :param template_id: The template_id of this TemplateCompletionInfo. # noqa: E501 + :type: str + """ + + self._template_id = template_id + + @property + def voided(self): + """Gets the voided of this TemplateCompletionInfo. # noqa: E501 + + # noqa: E501 + + :return: The voided of this TemplateCompletionInfo. # noqa: E501 + :rtype: str + """ + return self._voided + + @voided.setter + def voided(self, voided): + """Sets the voided of this TemplateCompletionInfo. + + # noqa: E501 + + :param voided: The voided of this TemplateCompletionInfo. # noqa: E501 + :type: str + """ + + self._voided = voided + + @property + def voided_rate(self): + """Gets the voided_rate of this TemplateCompletionInfo. # noqa: E501 + + # noqa: E501 + + :return: The voided_rate of this TemplateCompletionInfo. # noqa: E501 + :rtype: str + """ + return self._voided_rate + + @voided_rate.setter + def voided_rate(self, voided_rate): + """Sets the voided_rate of this TemplateCompletionInfo. + + # noqa: E501 + + :param voided_rate: The voided_rate of this TemplateCompletionInfo. # noqa: E501 + :type: str + """ + + self._voided_rate = voided_rate + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(TemplateCompletionInfo, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TemplateCompletionInfo): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, TemplateCompletionInfo): + return True + + return self.to_dict() != other.to_dict() diff --git a/docusign_esign/models/template_completion_rate_response.py b/docusign_esign/models/template_completion_rate_response.py new file mode 100644 index 0000000..564a26b --- /dev/null +++ b/docusign_esign/models/template_completion_rate_response.py @@ -0,0 +1,340 @@ +# coding: utf-8 + +""" + Docusign eSignature REST API + + The Docusign eSignature REST API provides you with a powerful, convenient, and simple Web services API for interacting with Docusign. # noqa: E501 + + OpenAPI spec version: v2.1 + Contact: devcenter@docusign.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from docusign_esign.client.configuration import Configuration + + +class TemplateCompletionRateResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'bottom_senders': 'list[SenderCompletionInfo]', + 'completed': 'str', + 'completion_rate': 'str', + 'expired': 'str', + 'expired_rate': 'str', + 'sent': 'str', + 'top_senders': 'list[SenderCompletionInfo]', + 'voided': 'str', + 'voided_rate': 'str' + } + + attribute_map = { + 'bottom_senders': 'bottomSenders', + 'completed': 'completed', + 'completion_rate': 'completionRate', + 'expired': 'expired', + 'expired_rate': 'expiredRate', + 'sent': 'sent', + 'top_senders': 'topSenders', + 'voided': 'voided', + 'voided_rate': 'voidedRate' + } + + def __init__(self, _configuration=None, **kwargs): # noqa: E501 + """TemplateCompletionRateResponse - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._bottom_senders = None + self._completed = None + self._completion_rate = None + self._expired = None + self._expired_rate = None + self._sent = None + self._top_senders = None + self._voided = None + self._voided_rate = None + self.discriminator = None + + setattr(self, "_{}".format('bottom_senders'), kwargs.get('bottom_senders', None)) + setattr(self, "_{}".format('completed'), kwargs.get('completed', None)) + setattr(self, "_{}".format('completion_rate'), kwargs.get('completion_rate', None)) + setattr(self, "_{}".format('expired'), kwargs.get('expired', None)) + setattr(self, "_{}".format('expired_rate'), kwargs.get('expired_rate', None)) + setattr(self, "_{}".format('sent'), kwargs.get('sent', None)) + setattr(self, "_{}".format('top_senders'), kwargs.get('top_senders', None)) + setattr(self, "_{}".format('voided'), kwargs.get('voided', None)) + setattr(self, "_{}".format('voided_rate'), kwargs.get('voided_rate', None)) + + @property + def bottom_senders(self): + """Gets the bottom_senders of this TemplateCompletionRateResponse. # noqa: E501 + + # noqa: E501 + + :return: The bottom_senders of this TemplateCompletionRateResponse. # noqa: E501 + :rtype: list[SenderCompletionInfo] + """ + return self._bottom_senders + + @bottom_senders.setter + def bottom_senders(self, bottom_senders): + """Sets the bottom_senders of this TemplateCompletionRateResponse. + + # noqa: E501 + + :param bottom_senders: The bottom_senders of this TemplateCompletionRateResponse. # noqa: E501 + :type: list[SenderCompletionInfo] + """ + + self._bottom_senders = bottom_senders + + @property + def completed(self): + """Gets the completed of this TemplateCompletionRateResponse. # noqa: E501 + + # noqa: E501 + + :return: The completed of this TemplateCompletionRateResponse. # noqa: E501 + :rtype: str + """ + return self._completed + + @completed.setter + def completed(self, completed): + """Sets the completed of this TemplateCompletionRateResponse. + + # noqa: E501 + + :param completed: The completed of this TemplateCompletionRateResponse. # noqa: E501 + :type: str + """ + + self._completed = completed + + @property + def completion_rate(self): + """Gets the completion_rate of this TemplateCompletionRateResponse. # noqa: E501 + + # noqa: E501 + + :return: The completion_rate of this TemplateCompletionRateResponse. # noqa: E501 + :rtype: str + """ + return self._completion_rate + + @completion_rate.setter + def completion_rate(self, completion_rate): + """Sets the completion_rate of this TemplateCompletionRateResponse. + + # noqa: E501 + + :param completion_rate: The completion_rate of this TemplateCompletionRateResponse. # noqa: E501 + :type: str + """ + + self._completion_rate = completion_rate + + @property + def expired(self): + """Gets the expired of this TemplateCompletionRateResponse. # noqa: E501 + + # noqa: E501 + + :return: The expired of this TemplateCompletionRateResponse. # noqa: E501 + :rtype: str + """ + return self._expired + + @expired.setter + def expired(self, expired): + """Sets the expired of this TemplateCompletionRateResponse. + + # noqa: E501 + + :param expired: The expired of this TemplateCompletionRateResponse. # noqa: E501 + :type: str + """ + + self._expired = expired + + @property + def expired_rate(self): + """Gets the expired_rate of this TemplateCompletionRateResponse. # noqa: E501 + + # noqa: E501 + + :return: The expired_rate of this TemplateCompletionRateResponse. # noqa: E501 + :rtype: str + """ + return self._expired_rate + + @expired_rate.setter + def expired_rate(self, expired_rate): + """Sets the expired_rate of this TemplateCompletionRateResponse. + + # noqa: E501 + + :param expired_rate: The expired_rate of this TemplateCompletionRateResponse. # noqa: E501 + :type: str + """ + + self._expired_rate = expired_rate + + @property + def sent(self): + """Gets the sent of this TemplateCompletionRateResponse. # noqa: E501 + + # noqa: E501 + + :return: The sent of this TemplateCompletionRateResponse. # noqa: E501 + :rtype: str + """ + return self._sent + + @sent.setter + def sent(self, sent): + """Sets the sent of this TemplateCompletionRateResponse. + + # noqa: E501 + + :param sent: The sent of this TemplateCompletionRateResponse. # noqa: E501 + :type: str + """ + + self._sent = sent + + @property + def top_senders(self): + """Gets the top_senders of this TemplateCompletionRateResponse. # noqa: E501 + + # noqa: E501 + + :return: The top_senders of this TemplateCompletionRateResponse. # noqa: E501 + :rtype: list[SenderCompletionInfo] + """ + return self._top_senders + + @top_senders.setter + def top_senders(self, top_senders): + """Sets the top_senders of this TemplateCompletionRateResponse. + + # noqa: E501 + + :param top_senders: The top_senders of this TemplateCompletionRateResponse. # noqa: E501 + :type: list[SenderCompletionInfo] + """ + + self._top_senders = top_senders + + @property + def voided(self): + """Gets the voided of this TemplateCompletionRateResponse. # noqa: E501 + + # noqa: E501 + + :return: The voided of this TemplateCompletionRateResponse. # noqa: E501 + :rtype: str + """ + return self._voided + + @voided.setter + def voided(self, voided): + """Sets the voided of this TemplateCompletionRateResponse. + + # noqa: E501 + + :param voided: The voided of this TemplateCompletionRateResponse. # noqa: E501 + :type: str + """ + + self._voided = voided + + @property + def voided_rate(self): + """Gets the voided_rate of this TemplateCompletionRateResponse. # noqa: E501 + + # noqa: E501 + + :return: The voided_rate of this TemplateCompletionRateResponse. # noqa: E501 + :rtype: str + """ + return self._voided_rate + + @voided_rate.setter + def voided_rate(self, voided_rate): + """Sets the voided_rate of this TemplateCompletionRateResponse. + + # noqa: E501 + + :param voided_rate: The voided_rate of this TemplateCompletionRateResponse. # noqa: E501 + :type: str + """ + + self._voided_rate = voided_rate + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(TemplateCompletionRateResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, TemplateCompletionRateResponse): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, TemplateCompletionRateResponse): + return True + + return self.to_dict() != other.to_dict() diff --git a/docusign_esign/models/user_completion_rate_response.py b/docusign_esign/models/user_completion_rate_response.py new file mode 100644 index 0000000..1a341a0 --- /dev/null +++ b/docusign_esign/models/user_completion_rate_response.py @@ -0,0 +1,286 @@ +# coding: utf-8 + +""" + Docusign eSignature REST API + + The Docusign eSignature REST API provides you with a powerful, convenient, and simple Web services API for interacting with Docusign. # noqa: E501 + + OpenAPI spec version: v2.1 + Contact: devcenter@docusign.com + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + +from docusign_esign.client.configuration import Configuration + + +class UserCompletionRateResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'bottom_templates': 'list[TemplateCompletionInfo]', + 'completed': 'str', + 'completion_rate': 'str', + 'expired': 'str', + 'sent': 'str', + 'top_templates': 'list[TemplateCompletionInfo]', + 'voided': 'str' + } + + attribute_map = { + 'bottom_templates': 'bottomTemplates', + 'completed': 'completed', + 'completion_rate': 'completionRate', + 'expired': 'expired', + 'sent': 'sent', + 'top_templates': 'topTemplates', + 'voided': 'voided' + } + + def __init__(self, _configuration=None, **kwargs): # noqa: E501 + """UserCompletionRateResponse - a model defined in Swagger""" # noqa: E501 + if _configuration is None: + _configuration = Configuration() + self._configuration = _configuration + + self._bottom_templates = None + self._completed = None + self._completion_rate = None + self._expired = None + self._sent = None + self._top_templates = None + self._voided = None + self.discriminator = None + + setattr(self, "_{}".format('bottom_templates'), kwargs.get('bottom_templates', None)) + setattr(self, "_{}".format('completed'), kwargs.get('completed', None)) + setattr(self, "_{}".format('completion_rate'), kwargs.get('completion_rate', None)) + setattr(self, "_{}".format('expired'), kwargs.get('expired', None)) + setattr(self, "_{}".format('sent'), kwargs.get('sent', None)) + setattr(self, "_{}".format('top_templates'), kwargs.get('top_templates', None)) + setattr(self, "_{}".format('voided'), kwargs.get('voided', None)) + + @property + def bottom_templates(self): + """Gets the bottom_templates of this UserCompletionRateResponse. # noqa: E501 + + # noqa: E501 + + :return: The bottom_templates of this UserCompletionRateResponse. # noqa: E501 + :rtype: list[TemplateCompletionInfo] + """ + return self._bottom_templates + + @bottom_templates.setter + def bottom_templates(self, bottom_templates): + """Sets the bottom_templates of this UserCompletionRateResponse. + + # noqa: E501 + + :param bottom_templates: The bottom_templates of this UserCompletionRateResponse. # noqa: E501 + :type: list[TemplateCompletionInfo] + """ + + self._bottom_templates = bottom_templates + + @property + def completed(self): + """Gets the completed of this UserCompletionRateResponse. # noqa: E501 + + # noqa: E501 + + :return: The completed of this UserCompletionRateResponse. # noqa: E501 + :rtype: str + """ + return self._completed + + @completed.setter + def completed(self, completed): + """Sets the completed of this UserCompletionRateResponse. + + # noqa: E501 + + :param completed: The completed of this UserCompletionRateResponse. # noqa: E501 + :type: str + """ + + self._completed = completed + + @property + def completion_rate(self): + """Gets the completion_rate of this UserCompletionRateResponse. # noqa: E501 + + # noqa: E501 + + :return: The completion_rate of this UserCompletionRateResponse. # noqa: E501 + :rtype: str + """ + return self._completion_rate + + @completion_rate.setter + def completion_rate(self, completion_rate): + """Sets the completion_rate of this UserCompletionRateResponse. + + # noqa: E501 + + :param completion_rate: The completion_rate of this UserCompletionRateResponse. # noqa: E501 + :type: str + """ + + self._completion_rate = completion_rate + + @property + def expired(self): + """Gets the expired of this UserCompletionRateResponse. # noqa: E501 + + # noqa: E501 + + :return: The expired of this UserCompletionRateResponse. # noqa: E501 + :rtype: str + """ + return self._expired + + @expired.setter + def expired(self, expired): + """Sets the expired of this UserCompletionRateResponse. + + # noqa: E501 + + :param expired: The expired of this UserCompletionRateResponse. # noqa: E501 + :type: str + """ + + self._expired = expired + + @property + def sent(self): + """Gets the sent of this UserCompletionRateResponse. # noqa: E501 + + # noqa: E501 + + :return: The sent of this UserCompletionRateResponse. # noqa: E501 + :rtype: str + """ + return self._sent + + @sent.setter + def sent(self, sent): + """Sets the sent of this UserCompletionRateResponse. + + # noqa: E501 + + :param sent: The sent of this UserCompletionRateResponse. # noqa: E501 + :type: str + """ + + self._sent = sent + + @property + def top_templates(self): + """Gets the top_templates of this UserCompletionRateResponse. # noqa: E501 + + # noqa: E501 + + :return: The top_templates of this UserCompletionRateResponse. # noqa: E501 + :rtype: list[TemplateCompletionInfo] + """ + return self._top_templates + + @top_templates.setter + def top_templates(self, top_templates): + """Sets the top_templates of this UserCompletionRateResponse. + + # noqa: E501 + + :param top_templates: The top_templates of this UserCompletionRateResponse. # noqa: E501 + :type: list[TemplateCompletionInfo] + """ + + self._top_templates = top_templates + + @property + def voided(self): + """Gets the voided of this UserCompletionRateResponse. # noqa: E501 + + # noqa: E501 + + :return: The voided of this UserCompletionRateResponse. # noqa: E501 + :rtype: str + """ + return self._voided + + @voided.setter + def voided(self, voided): + """Sets the voided of this UserCompletionRateResponse. + + # noqa: E501 + + :param voided: The voided of this UserCompletionRateResponse. # noqa: E501 + :type: str + """ + + self._voided = voided + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(UserCompletionRateResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, UserCompletionRateResponse): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, UserCompletionRateResponse): + return True + + return self.to_dict() != other.to_dict() diff --git a/setup.cfg b/setup.cfg index b88034e..08aedd7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,2 @@ [metadata] -description-file = README.md +description_file = README.md diff --git a/setup.py b/setup.py index dd2e8a1..de728fa 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 = "6.1.0" +VERSION = "7.0.0rc1" # To install the library, run the following # # python setup.py install