Skip to content

Commit 471c363

Browse files
authored
Version 2.3.0rc1 (#59)
* sdk built through Tir * Changelog updated and tspi removed * Updated setup file * addition to setup file * swagger codegen updates and rm config outside * adding back tsps api Co-authored-by: Harsha Rahul Boggaram <[email protected]>
1 parent ad9ac1d commit 471c363

22 files changed

+656
-337
lines changed

.swagger-codegen-ignore

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Swagger Codegen Ignore
2+
3+
# Use this file to prevent files from being overwritten by the generator.
4+
# The patterns follow closely to .gitignore or .dockerignore.
5+
6+
# As an example, the C# client generator defines ApiClient.cs.
7+
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
8+
#ApiClient.cs
9+
10+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
11+
#foo/*/qux
12+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
13+
14+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
15+
#foo/**/qux
16+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
17+
18+
# You can also negate patterns with an exclamation (!).
19+
# For example, you can ignore all files in a docs folder with the file extension .md:
20+
#docs/*.md
21+
# Then explicitly reverse the ignore rule for a single file:
22+
#!docs/README.md
23+
24+
# Swagger and Git files
25+
.swagger-codegen-ignore
26+
git_push.sh
27+
.gitignore
28+
README.md
29+
CHANGELOG.md
30+
best_practices.md
31+
32+
33+
# Project files
34+
LICENSE
35+
.travis.yml
36+
requirements.txt
37+
test-requirements.txt
38+
setup.cfg
39+
setup.py
40+
41+
42+
# Specific src and test files
43+
tox.ini
44+
docs/
45+
test/
46+
docusign_esign/client/
47+
docusign_esign/__init__.py
48+
docusign_esign/api_client.py
49+
docusign_esign/configuration.py
50+
docusign_esign/rest.py

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.
33

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

6+
## [2.3.0rc1] - eSignature API v2-20.1.00 - 2020-03-13
7+
### Changed
8+
* The SDK now supports version 20.1.00 of the DocuSign eSignature API.
9+
* SDK Release Version updated.
10+
611
## [2.2.0] - eSignature API v2-19.4.01 - 2020-02-10
712
### Fixed
813
* A bug in deserialize file with the same name, if downloaded multiple times on different thread or during parallel processing, wrong files are overwritten or served. (DCM-3631)

docusign_esign/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,6 @@
395395
from .apis.power_forms_api import PowerFormsApi
396396
from .apis.signing_groups_api import SigningGroupsApi
397397
from .apis.templates_api import TemplatesApi
398-
from .apis.trust_service_providers_api import TrustServiceProvidersApi
399398
from .apis.users_api import UsersApi
400399
from .apis.workspaces_api import WorkspacesApi
401400

docusign_esign/apis/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from .billing_api import BillingApi
77
from .bulk_envelopes_api import BulkEnvelopesApi
88
from .cloud_storage_api import CloudStorageApi
9-
from .comments_api import CommentsApi
109
from .connect_api import ConnectApi
1110
from .custom_tabs_api import CustomTabsApi
1211
from .diagnostics_api import DiagnosticsApi

docusign_esign/apis/accounts_api.py

Lines changed: 2 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -3147,107 +3147,6 @@ def get_provisioning_with_http_info(self, **kwargs):
31473147
_request_timeout=params.get('_request_timeout'),
31483148
collection_formats=collection_formats)
31493149

3150-
def get_seal_providers(self, account_id, **kwargs):
3151-
"""
3152-
Returns Account available seals for specified account.
3153-
This method makes a synchronous HTTP request by default. To make an
3154-
asynchronous HTTP request, please define a `callback` function
3155-
to be invoked when receiving the response.
3156-
>>> def callback_function(response):
3157-
>>> pprint(response)
3158-
>>>
3159-
>>> thread = api.get_seal_providers(account_id, callback=callback_function)
3160-
3161-
:param callback function: The callback function
3162-
for asynchronous request. (optional)
3163-
:param str account_id: The external account number (int) or account ID Guid. (required)
3164-
:return: AccountSeals
3165-
If the method is called asynchronously,
3166-
returns the request thread.
3167-
"""
3168-
kwargs['_return_http_data_only'] = True
3169-
if kwargs.get('callback'):
3170-
return self.get_seal_providers_with_http_info(account_id, **kwargs)
3171-
else:
3172-
(data) = self.get_seal_providers_with_http_info(account_id, **kwargs)
3173-
return data
3174-
3175-
def get_seal_providers_with_http_info(self, account_id, **kwargs):
3176-
"""
3177-
Returns Account available seals for specified account.
3178-
This method makes a synchronous HTTP request by default. To make an
3179-
asynchronous HTTP request, please define a `callback` function
3180-
to be invoked when receiving the response.
3181-
>>> def callback_function(response):
3182-
>>> pprint(response)
3183-
>>>
3184-
>>> thread = api.get_seal_providers_with_http_info(account_id, callback=callback_function)
3185-
3186-
:param callback function: The callback function
3187-
for asynchronous request. (optional)
3188-
:param str account_id: The external account number (int) or account ID Guid. (required)
3189-
:return: AccountSeals
3190-
If the method is called asynchronously,
3191-
returns the request thread.
3192-
"""
3193-
3194-
all_params = ['account_id']
3195-
all_params.append('callback')
3196-
all_params.append('_return_http_data_only')
3197-
all_params.append('_preload_content')
3198-
all_params.append('_request_timeout')
3199-
3200-
params = locals()
3201-
for key, val in iteritems(params['kwargs']):
3202-
if key not in all_params:
3203-
raise TypeError(
3204-
"Got an unexpected keyword argument '%s'"
3205-
" to method get_seal_providers" % key
3206-
)
3207-
params[key] = val
3208-
del params['kwargs']
3209-
# verify the required parameter 'account_id' is set
3210-
if ('account_id' not in params) or (params['account_id'] is None):
3211-
raise ValueError("Missing the required parameter `account_id` when calling `get_seal_providers`")
3212-
3213-
3214-
collection_formats = {}
3215-
3216-
resource_path = '/v2/accounts/{accountId}/seals'.replace('{format}', 'json')
3217-
path_params = {}
3218-
if 'account_id' in params:
3219-
path_params['accountId'] = params['account_id']
3220-
3221-
query_params = {}
3222-
3223-
header_params = {}
3224-
3225-
form_params = []
3226-
local_var_files = {}
3227-
3228-
body_params = None
3229-
# HTTP header `Accept`
3230-
header_params['Accept'] = self.api_client.\
3231-
select_header_accept(['application/json'])
3232-
3233-
# Authentication setting
3234-
auth_settings = []
3235-
3236-
return self.api_client.call_api(resource_path, 'GET',
3237-
path_params,
3238-
query_params,
3239-
header_params,
3240-
body=body_params,
3241-
post_params=form_params,
3242-
files=local_var_files,
3243-
response_type='AccountSeals',
3244-
auth_settings=auth_settings,
3245-
callback=params.get('callback'),
3246-
_return_http_data_only=params.get('_return_http_data_only'),
3247-
_preload_content=params.get('_preload_content', True),
3248-
_request_timeout=params.get('_request_timeout'),
3249-
collection_formats=collection_formats)
3250-
32513150
def get_supported_languages(self, account_id, **kwargs):
32523151
"""
32533152
Gets list of supported languages for recipient language setting.
@@ -4655,7 +4554,7 @@ def update_brand_logo_by_type(self, account_id, brand_id, logo_type, logo_file_b
46554554
46564555
:param callback function: The callback function
46574556
for asynchronous request. (optional)
4658-
:param str account_id: The external account number (int) or account ID Guid. (required)
4557+
:param str account_id: The external account number (int) or account id GUID. (required)
46594558
:param str brand_id: The unique identifier of a brand. (required)
46604559
:param str logo_type: One of **Primary**, **Secondary** or **Email**. (required)
46614560
:param str logo_file_bytes: Brand logo binary Stream. Supported formats: JPG, GIF, PNG. Maximum file size: 300 KB. Recommended dimensions: 296 x 76 pixels (larger images will be resized). Changes may take up to one hour to display in all places (required)
@@ -4683,7 +4582,7 @@ def update_brand_logo_by_type_with_http_info(self, account_id, brand_id, logo_ty
46834582
46844583
:param callback function: The callback function
46854584
for asynchronous request. (optional)
4686-
:param str account_id: The external account number (int) or account ID Guid. (required)
4585+
:param str account_id: The external account number (int) or account id GUID. (required)
46874586
:param str brand_id: The unique identifier of a brand. (required)
46884587
:param str logo_type: One of **Primary**, **Secondary** or **Email**. (required)
46894588
:param str logo_file_bytes: Brand logo binary Stream. Supported formats: JPG, GIF, PNG. Maximum file size: 300 KB. Recommended dimensions: 296 x 76 pixels (larger images will be resized). Changes may take up to one hour to display in all places (required)

docusign_esign/apis/bulk_envelopes_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def get(self, account_id, batch_id, **kwargs):
174174
:param str account_id: The external account number (int) or account ID Guid. (required)
175175
:param str batch_id: (required)
176176
:param str count: Specifies the number of entries to return.
177-
:param str include: Specifies which entries are included in the response. Multiple entries can be included by using commas in the query string (example: ?include=”failed,queued”) Valid values are: * all - Returns all entries. If present, overrides all other query settings. This is the default if no query string is provided. * failed - This only returns entries with a failed status. * queued - This only returns entries with a queued status. * sent – This only returns entries with a sent status.
177+
:param str include: Specifies which entries are included in the response. Multiple entries can be included by using commas in the query string (example: ?include=\"failed,queued\") Valid values are: * all - Returns all entries. If present, overrides all other query settings. This is the default if no query string is provided. * failed - This only returns entries with a failed status. * queued - This only returns entries with a queued status. * sent - This only returns entries with a sent status.
178178
:param str start_position: Specifies the location in the list of envelopes from which to start.
179179
:return: BulkEnvelopeStatus
180180
If the method is called asynchronously,
@@ -204,7 +204,7 @@ def get_with_http_info(self, account_id, batch_id, **kwargs):
204204
:param str account_id: The external account number (int) or account ID Guid. (required)
205205
:param str batch_id: (required)
206206
:param str count: Specifies the number of entries to return.
207-
:param str include: Specifies which entries are included in the response. Multiple entries can be included by using commas in the query string (example: ?include=”failed,queued”) Valid values are: * all - Returns all entries. If present, overrides all other query settings. This is the default if no query string is provided. * failed - This only returns entries with a failed status. * queued - This only returns entries with a queued status. * sent – This only returns entries with a sent status.
207+
:param str include: Specifies which entries are included in the response. Multiple entries can be included by using commas in the query string (example: ?include=\"failed,queued\") Valid values are: * all - Returns all entries. If present, overrides all other query settings. This is the default if no query string is provided. * failed - This only returns entries with a failed status. * queued - This only returns entries with a queued status. * sent - This only returns entries with a sent status.
208208
:param str start_position: Specifies the location in the list of envelopes from which to start.
209209
:return: BulkEnvelopeStatus
210210
If the method is called asynchronously,
@@ -533,7 +533,7 @@ def update_recipients(self, account_id, envelope_id, recipient_id, bulk_recipien
533533
534534
:param callback function: The callback function
535535
for asynchronous request. (optional)
536-
:param str account_id: The external account number (int) or account ID Guid. (required)
536+
:param str account_id: The external account number (int) or account id GUID. (required)
537537
:param str envelope_id: The envelope's GUID. Eg 93be49ab-afa0-4adf-933c-f752070d71ec (required)
538538
:param str recipient_id: The `recipientId` used when the envelope or template was created. (required)
539539
:param str bulk_recipients_request: (required)
@@ -562,7 +562,7 @@ def update_recipients_with_http_info(self, account_id, envelope_id, recipient_id
562562
563563
:param callback function: The callback function
564564
for asynchronous request. (optional)
565-
:param str account_id: The external account number (int) or account ID Guid. (required)
565+
:param str account_id: The external account number (int) or account id GUID. (required)
566566
:param str envelope_id: The envelope's GUID. Eg 93be49ab-afa0-4adf-933c-f752070d71ec (required)
567567
:param str recipient_id: The `recipientId` used when the envelope or template was created. (required)
568568
:param str bulk_recipients_request: (required)

docusign_esign/apis/envelopes_api.py

Lines changed: 116 additions & 4 deletions
Large diffs are not rendered by default.

docusign_esign/apis/trust_service_providers_api.py

Lines changed: 0 additions & 142 deletions
This file was deleted.

docusign_esign/models/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,8 @@
272272
from .recipient_email_notification import RecipientEmailNotification
273273
from .recipient_event import RecipientEvent
274274
from .recipient_form_data import RecipientFormData
275+
from .recipient_identity_input_option import RecipientIdentityInputOption
276+
from .recipient_identity_phone_number import RecipientIdentityPhoneNumber
275277
from .recipient_identity_verification import RecipientIdentityVerification
276278
from .recipient_names_response import RecipientNamesResponse
277279
from .recipient_phone_authentication import RecipientPhoneAuthentication

0 commit comments

Comments
 (0)