Skip to content

Commit b7f3411

Browse files
authored
3.0.0rc1 Major Release (#37)
* 3.0.0rc1 Major Release * Python 3.6 has a limitation of the arguments count * Updating Python3 minimum version to 3.7 To overcome 255 paramter limitations on Python functions, updating to Python 3.7
1 parent c06e0a1 commit b7f3411

File tree

433 files changed

+94561
-5387
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

433 files changed

+94561
-5387
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ branches:
44
language: python
55
python:
66
- "2.7"
7-
- "3.6"
8-
- "nightly" # points to the latest development branch e.g. 3.6-dev
7+
- "3.7"
8+
- "nightly" # points to the latest development branch e.g. 3.7-dev
99
# command to install dependencies
1010
install:
1111
- pip install -r requirements.txt

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ 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+
## [3.0.0rc1] - eSignature API v2.1-19.2.02 - 2019-08-28
7+
### Changed
8+
* Updated the way the models and classes are initialized. Now using constructor parameters to initialize the classes. Updates to unit tests.
9+
### Fixed
10+
* A bug in model mapping where instead of mapping to custom DocuSign `Date` class, was mapping to python `date` class. Causing the functions such as `envelope_api.list_tabs()` to raise exception. (DCM-1788)
11+
### BREAKING
12+
* The SDK now supports API v2.1-19.2.02 of the DocuSign eSignature API.
13+
* SDK Release Version updated.
14+
615
## [2.0.1] - 2019-06-24
716
### Removed
817
* Removed harcoded test config values from the test cases. Now getting test config values from the environment variables.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
## Requirements
1212

13-
- Python 2.7 (3.6+ recommended)
13+
- Python 2.7 (3.7+ recommended)
1414
- Free [Developer Sandbox](https://go.docusign.com/sandbox/productshot/?elqCampaignId=16531)
1515

1616
## Compatibility

docusign_esign/apis/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
# import apis into api package
44
from .accounts_api import AccountsApi
5-
from .authentication_api import AuthenticationApi
65
from .billing_api import BillingApi
76
from .bulk_envelopes_api import BulkEnvelopesApi
87
from .cloud_storage_api import CloudStorageApi
9-
from .comments_api import CommentsApi
108
from .connect_api import ConnectApi
119
from .custom_tabs_api import CustomTabsApi
10+
from .data_feed_api import DataFeedApi
1211
from .diagnostics_api import DiagnosticsApi
12+
from .email_archive_api import EmailArchiveApi
1313
from .envelopes_api import EnvelopesApi
1414
from .folders_api import FoldersApi
1515
from .groups_api import GroupsApi

docusign_esign/apis/accounts_api.py

Lines changed: 1267 additions & 540 deletions
Large diffs are not rendered by default.

docusign_esign/apis/billing_api.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
77
8-
OpenAPI spec version: v2
8+
OpenAPI spec version: v2.1
99
1010
Generated by: https://github.com/swagger-api/swagger-codegen.git
1111
"""
@@ -108,7 +108,7 @@ def get_billing_plan_with_http_info(self, billing_plan_id, **kwargs):
108108

109109
collection_formats = {}
110110

111-
resource_path = '/v2/billing_plans/{billingPlanId}'.replace('{format}', 'json')
111+
resource_path = '/v2.1/billing_plans/{billingPlanId}'.replace('{format}', 'json')
112112
path_params = {}
113113
if 'billing_plan_id' in params:
114114
path_params['billingPlanId'] = params['billing_plan_id']
@@ -209,7 +209,7 @@ def get_credit_card_info_with_http_info(self, account_id, **kwargs):
209209

210210
collection_formats = {}
211211

212-
resource_path = '/v2/accounts/{accountId}/billing_plan/credit_card'.replace('{format}', 'json')
212+
resource_path = '/v2.1/accounts/{accountId}/billing_plan/credit_card'.replace('{format}', 'json')
213213
path_params = {}
214214
if 'account_id' in params:
215215
path_params['accountId'] = params['account_id']
@@ -317,7 +317,7 @@ def get_invoice_with_http_info(self, account_id, invoice_id, **kwargs):
317317

318318
collection_formats = {}
319319

320-
resource_path = '/v2/accounts/{accountId}/billing_invoices/{invoiceId}'.replace('{format}', 'json')
320+
resource_path = '/v2.1/accounts/{accountId}/billing_invoices/{invoiceId}'.replace('{format}', 'json')
321321
path_params = {}
322322
if 'account_id' in params:
323323
path_params['accountId'] = params['account_id']
@@ -427,7 +427,7 @@ def get_payment_with_http_info(self, account_id, payment_id, **kwargs):
427427

428428
collection_formats = {}
429429

430-
resource_path = '/v2/accounts/{accountId}/billing_payments/{paymentId}'.replace('{format}', 'json')
430+
resource_path = '/v2.1/accounts/{accountId}/billing_payments/{paymentId}'.replace('{format}', 'json')
431431
path_params = {}
432432
if 'account_id' in params:
433433
path_params['accountId'] = params['account_id']
@@ -538,7 +538,7 @@ def get_plan_with_http_info(self, account_id, **kwargs):
538538

539539
collection_formats = {}
540540

541-
resource_path = '/v2/accounts/{accountId}/billing_plan'.replace('{format}', 'json')
541+
resource_path = '/v2.1/accounts/{accountId}/billing_plan'.replace('{format}', 'json')
542542
path_params = {}
543543
if 'account_id' in params:
544544
path_params['accountId'] = params['account_id']
@@ -641,7 +641,7 @@ def list_billing_plans_with_http_info(self, **kwargs):
641641

642642
collection_formats = {}
643643

644-
resource_path = '/v2/billing_plans'.replace('{format}', 'json')
644+
resource_path = '/v2.1/billing_plans'.replace('{format}', 'json')
645645
path_params = {}
646646

647647
query_params = {}
@@ -746,7 +746,7 @@ def list_invoices_with_http_info(self, account_id, **kwargs):
746746

747747
collection_formats = {}
748748

749-
resource_path = '/v2/accounts/{accountId}/billing_invoices'.replace('{format}', 'json')
749+
resource_path = '/v2.1/accounts/{accountId}/billing_invoices'.replace('{format}', 'json')
750750
path_params = {}
751751
if 'account_id' in params:
752752
path_params['accountId'] = params['account_id']
@@ -853,7 +853,7 @@ def list_invoices_past_due_with_http_info(self, account_id, **kwargs):
853853

854854
collection_formats = {}
855855

856-
resource_path = '/v2/accounts/{accountId}/billing_invoices_past_due'.replace('{format}', 'json')
856+
resource_path = '/v2.1/accounts/{accountId}/billing_invoices_past_due'.replace('{format}', 'json')
857857
path_params = {}
858858
if 'account_id' in params:
859859
path_params['accountId'] = params['account_id']
@@ -960,7 +960,7 @@ def list_payments_with_http_info(self, account_id, **kwargs):
960960

961961
collection_formats = {}
962962

963-
resource_path = '/v2/accounts/{accountId}/billing_payments'.replace('{format}', 'json')
963+
resource_path = '/v2.1/accounts/{accountId}/billing_payments'.replace('{format}', 'json')
964964
path_params = {}
965965
if 'account_id' in params:
966966
path_params['accountId'] = params['account_id']
@@ -1069,7 +1069,7 @@ def make_payment_with_http_info(self, account_id, **kwargs):
10691069

10701070
collection_formats = {}
10711071

1072-
resource_path = '/v2/accounts/{accountId}/billing_payments'.replace('{format}', 'json')
1072+
resource_path = '/v2.1/accounts/{accountId}/billing_payments'.replace('{format}', 'json')
10731073
path_params = {}
10741074
if 'account_id' in params:
10751075
path_params['accountId'] = params['account_id']
@@ -1176,7 +1176,7 @@ def purchase_envelopes_with_http_info(self, account_id, **kwargs):
11761176

11771177
collection_formats = {}
11781178

1179-
resource_path = '/v2/accounts/{accountId}/billing_plan/purchased_envelopes'.replace('{format}', 'json')
1179+
resource_path = '/v2.1/accounts/{accountId}/billing_plan/purchased_envelopes'.replace('{format}', 'json')
11801180
path_params = {}
11811181
if 'account_id' in params:
11821182
path_params['accountId'] = params['account_id']
@@ -1285,7 +1285,7 @@ def update_plan_with_http_info(self, account_id, **kwargs):
12851285

12861286
collection_formats = {}
12871287

1288-
resource_path = '/v2/accounts/{accountId}/billing_plan'.replace('{format}', 'json')
1288+
resource_path = '/v2.1/accounts/{accountId}/billing_plan'.replace('{format}', 'json')
12891289
path_params = {}
12901290
if 'account_id' in params:
12911291
path_params['accountId'] = params['account_id']

0 commit comments

Comments
 (0)