Skip to content

Commit

Permalink
Version 3.20.0-v2.1-22.4.02.00 release (#163)
Browse files Browse the repository at this point in the history
Co-authored-by: root <[email protected]>
  • Loading branch information
eleanorharris and root authored Feb 10, 2023
1 parent 72a2d39 commit e9a560f
Show file tree
Hide file tree
Showing 31 changed files with 4,525 additions and 281 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ 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.

## [v3.20.0] - eSignature API v2.1-22.4.02.00 - 2023-02-10
### Changed
- Added support for version v2.1-22.4.02.00 of the DocuSign ESignature API.
- Updated the SDK release version.

## [v3.19.0] - eSignature API v2.1-22.3.01.00 - 2022-11-22
### Changed
- Added support for version v2.1-22.3.01.00 of the DocuSign ESignature API.
Expand Down
8 changes: 4 additions & 4 deletions docusign_esign/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,6 @@
from docusign_esign.models.bulk_processing_list_summaries import BulkProcessingListSummaries
from docusign_esign.models.bulk_processing_list_summary import BulkProcessingListSummary
from docusign_esign.models.bulk_processing_lists import BulkProcessingLists
from docusign_esign.models.bulk_recipient import BulkRecipient
from docusign_esign.models.bulk_recipient_signature_provider import BulkRecipientSignatureProvider
from docusign_esign.models.bulk_recipient_tab_label import BulkRecipientTabLabel
from docusign_esign.models.bulk_recipients_response import BulkRecipientsResponse
from docusign_esign.models.bulk_recipients_update_response import BulkRecipientsUpdateResponse
from docusign_esign.models.bulk_send_batch_action_request import BulkSendBatchActionRequest
from docusign_esign.models.bulk_send_batch_error import BulkSendBatchError
Expand All @@ -161,6 +157,7 @@
from docusign_esign.models.bulk_sending_list import BulkSendingList
from docusign_esign.models.bulk_sending_list_summaries import BulkSendingListSummaries
from docusign_esign.models.bulk_sending_list_summary import BulkSendingListSummary
from docusign_esign.models.bulksending_copy_doc_gen_form_field import BulksendingCopyDocGenFormField
from docusign_esign.models.captive_recipient import CaptiveRecipient
from docusign_esign.models.captive_recipient_information import CaptiveRecipientInformation
from docusign_esign.models.carbon_copy import CarbonCopy
Expand Down Expand Up @@ -325,6 +322,7 @@
from docusign_esign.models.integrated_user_info_list import IntegratedUserInfoList
from docusign_esign.models.intermediary import Intermediary
from docusign_esign.models.jurisdiction import Jurisdiction
from docusign_esign.models.jurisdiction_summary import JurisdictionSummary
from docusign_esign.models.last_name import LastName
from docusign_esign.models.linked_external_primary_account import LinkedExternalPrimaryAccount
from docusign_esign.models.list import List
Expand Down Expand Up @@ -352,6 +350,7 @@
from docusign_esign.models.new_users_summary import NewUsersSummary
from docusign_esign.models.notarize import Notarize
from docusign_esign.models.notary import Notary
from docusign_esign.models.notary_contact_details import NotaryContactDetails
from docusign_esign.models.notary_host import NotaryHost
from docusign_esign.models.notary_journal import NotaryJournal
from docusign_esign.models.notary_journal_credible_witness import NotaryJournalCredibleWitness
Expand All @@ -367,6 +366,7 @@
from docusign_esign.models.notification_default_settings import NotificationDefaultSettings
from docusign_esign.models.notification_defaults import NotificationDefaults
from docusign_esign.models.number import Number
from docusign_esign.models.numerical import Numerical
from docusign_esign.models.oauth_access import OauthAccess
from docusign_esign.models.offline_attributes import OfflineAttributes
from docusign_esign.models.page import Page
Expand Down
105 changes: 105 additions & 0 deletions docusign_esign/apis/connect_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2238,6 +2238,111 @@ def update_configuration_with_http_info(self, account_id, **kwargs):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)

def update_connect_o_auth_config(self, account_id, **kwargs):
"""
Updates the existing Connect OAuth Config for the account.
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.update_connect_o_auth_config(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 ConnectOAuthConfig connect_o_auth_config:
:return: ConnectOAuthConfig
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('callback'):
return self.update_connect_o_auth_config_with_http_info(account_id, **kwargs)
else:
(data) = self.update_connect_o_auth_config_with_http_info(account_id, **kwargs)
return data

def update_connect_o_auth_config_with_http_info(self, account_id, **kwargs):
"""
Updates the existing Connect OAuth Config for the account.
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.update_connect_o_auth_config_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 ConnectOAuthConfig connect_o_auth_config:
:return: ConnectOAuthConfig
If the method is called asynchronously,
returns the request thread.
"""

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

params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method update_connect_o_auth_config" % 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 `update_connect_o_auth_config`")


collection_formats = {}

resource_path = '/v2.1/accounts/{accountId}/connect/oauth'.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
if 'connect_o_auth_config' in params:
body_params = params['connect_o_auth_config']
# 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, 'PUT',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ConnectOAuthConfig',
auth_settings=auth_settings,
callback=params.get('callback'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)

def update_mobile_notifiers(self, account_id, **kwargs):
"""
Reserved
Expand Down
Loading

0 comments on commit e9a560f

Please sign in to comment.