From 3981733e33097e4ce97b61a4c7e0a781be0b29ff Mon Sep 17 00:00:00 2001 From: asif-docusign <165984682+asif-docusign@users.noreply.github.com> Date: Wed, 22 May 2024 17:11:06 +0530 Subject: [PATCH] Version 4.0.0-v2.1-24.1.01.00 release (#190) Co-authored-by: root --- CHANGELOG.md | 105 +++++++++++++++++++++++++ docusign_esign/client/configuration.py | 6 +- setup.py | 2 +- 3 files changed, 109 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 396ec782..9830bd6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,111 @@ 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. +## [v4.0.0] - eSignature API v2.1-24.1.01.00 - 2024-05-22 +## Endpoint-Specific Changes + +### Updated [EnvelopeRecipients: createRecipientProofFileResourceToken](https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/enveloperecipients/createrecipientprooffileresourcetoken/) +The `"token_scopes"` parameter has been moved from path parameters to query parameters for the above mentioned endpoint. + +### Updated [EnvelopeView:CreateSender](https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopeviews/createsender/) and [EnvelopeView:CreateEdit](https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/envelopeviews/createedit/) +The body parameter `returnUrlRequest` has been changed to `envelopeViewRequest`. +`envelopeViewRequest` has the same properties as the previous `returnUrlRequest` but now includes additional `viewAccess` and `settings` properties, where settings is a complex object with several UI controls for the view experience. + +### Updated [TemplateViews: createEdit](https://developers.docusign.com/docs/esign-rest-api/reference/templates/templateviews/createedit/) +The body parameter `returnUrlRequest` has been changed to `templateViewRequest`. +`templateViewRequest` has the same properties as the previous `returnUrlRequest` but now includes an additional `viewAccess` string. + +## Model Changes + +- Updated existing models + +### `accountSettingsInformation` + +- **Added fields:** + - `allowConnectEnvelopeRemovedEvent` + - `allowOrganizationBranding` + - `allowOrganizationBrandingMetadata` + - `allowPendingDestinationUrlEdition` + - `allowPendingDestinationUrlEditionMetadata` + - `disableBulkSendRecipientLimit` + - `disableBulkSendRecipientLimitMetaData` + - `enableAdvancedSearch` + - `enableAdvancedSearchMetadata` + - `enableContentSearch` + - `enableContentSearchMetadata` + - `enableMultiUserRepositoryFeatures` + - `enableMultiUserRepositoryFeaturesMetadata` + - `enablePremiumDataVerificationExtensions` + - `enablePremiumDataVerificationExtensionsMetadata` + - `enableSaveAsEnvelopeCustomFieldInWebForms` + - `enableSaveAsEnvelopeCustomFieldInWebFormsMetadata` + - `enableScheduledRelease` + - `enableScheduledReleaseMetadata` + - `isvOemEmbed` + - `isvOemEmbedMetaData` + +- **Removed fields:** + - `enableInboxRelevanceSortForRecentAccounts` + - `enableInboxRelevanceSortForRecentAccountsMetadata` + - `enableScheduledRelease` + - `enableScheduledReleaseMetadata` + - `enableSearch` + - `enableSearchMetadata` + - `enableSearchUI` + - `enableSearchUIMetadata` + +### `accountUISettings` + +- **Added fields:** + - `enableEnvelopeTypes` + - `enableEnvelopeTypesMetadata` + +### `envelopDefinitions` + +- **Added field:** + - `uSigState` + +### `envelopTemplate` + +- **Added field:** + - `uSigState` + +### `group` + +- **Added property:** + - `lastModifiedOn` + +### `receipientViewRequest` + +- **Added property:** + - `displayFormat` + +### `userSettingsInformation` + +- **Added properties:** + - `accountAgreementsAccessType` + - `accountAgreementsAccessTypeMetadata` + - `canBulkUploadAgreements` + - `canBulkUploadAgreementsMetadata` + - `canManageAgreementParties` + - `canManageAgreementPartiesMetadata` + +### Newly added Models + +- `envelopeViewDocumentSettings` +- `envelopeViewEnvelopeCustomFieldSettings` +- `envelopeViewRecipientSettings` +- `envelopeViewRequest` +- `envelopeViewSettings` +- `envelopeViewTaggerSettings` +- `envelopeViewTemplateSettings` +- `paletteItemSettings` +- `paletteSettings` +- `templateViewRequest` + +### Removed Models +- `returnUrlRequest` + ## [v4.0.0rc1] - eSignature API v2.1-24.1.01.00 - 2024-05-02 ### Changed - Added support for version v2.1-24.1.01.00 of the DocuSign ESignature API. diff --git a/docusign_esign/client/configuration.py b/docusign_esign/client/configuration.py index c0aa6a96..ae2b7a75 100644 --- a/docusign_esign/client/configuration.py +++ b/docusign_esign/client/configuration.py @@ -119,9 +119,9 @@ def __init__(self): python_version = platform.python_version() if six.PY3: - self.user_agent = "Swagger-Codegen/v2.1/4.0.0rc1/python3/" + f"{python_version}" + self.user_agent = "Swagger-Codegen/v2.1/4.0.0/python3/" + f"{python_version}" else: - self.user_agent = "Swagger-Codegen/v2.1/4.0.0rc1/python2/" + f"{python_version}" + self.user_agent = "Swagger-Codegen/v2.1/4.0.0/python2/" + f"{python_version}" @classmethod @@ -277,5 +277,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: v2.1\n"\ - "SDK Package Version: 4.0.0rc1".\ + "SDK Package Version: 4.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/setup.py b/setup.py index 7c136030..499b961e 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 = "4.0.0rc1" +VERSION = "4.0.0" # To install the library, run the following # # python setup.py install