Skip to content

Commit 2a2100e

Browse files
garg-muditroot
andauthored
Version 2.0.0rc2-v2.1-1.4.1 release (#15)
Co-authored-by: root <root@devcenteradmin.docusigntest.com>
1 parent bb772ff commit 2a2100e

9 files changed

Lines changed: 36 additions & 26 deletions

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ 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+
## [v2.0.0rc2] - Admin API v2.1-1.4.1 - 2024-10-22
7+
### Changed
8+
- Added support for version v2.1-1.4.1 of the DocuSign Admin API.
9+
- Removed the staging base path and OAuth path constant.
10+
- Updated the SDK release version.
11+
612
## [v2.0.0rc1] - Admin API v2.1-1.4.0 - 2024-08-27
713
### Breaking Changes
814
<details>

docusign_admin/apis/users_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@ def get_users(self, organization_id, **kwargs):
11351135
:param str account_id: Select users that are members of the specified account. At least one of email, account_id or organization_reserved_domain_id must be specified.
11361136
:param str organization_reserved_domain_id: Select users that are in the specified domain. At least one of email, account_id or organization_reserved_domain_id must be specified.
11371137
:param str last_modified_since: Select users whose data have been modified since the date specified; account_id or organization_reserved_domain_id must be specified.
1138-
:param bool include_ds_groups: Select users with groups the users belong to; The organization must have entitlement AllowMultiApplication enabled.
1138+
:param bool include_ds_groups: Select users with groups the users belong to; account_id must be specified. The organization must have the entitlement AllowMultiApplication enabled.
11391139
:return: OrganizationUsersResponse
11401140
If the method is called asynchronously,
11411141
returns the request thread.
@@ -1172,7 +1172,7 @@ def get_users_with_http_info(self, organization_id, **kwargs):
11721172
:param str account_id: Select users that are members of the specified account. At least one of email, account_id or organization_reserved_domain_id must be specified.
11731173
:param str organization_reserved_domain_id: Select users that are in the specified domain. At least one of email, account_id or organization_reserved_domain_id must be specified.
11741174
:param str last_modified_since: Select users whose data have been modified since the date specified; account_id or organization_reserved_domain_id must be specified.
1175-
:param bool include_ds_groups: Select users with groups the users belong to; The organization must have entitlement AllowMultiApplication enabled.
1175+
:param bool include_ds_groups: Select users with groups the users belong to; account_id must be specified. The organization must have the entitlement AllowMultiApplication enabled.
11761176
:return: OrganizationUsersResponse
11771177
If the method is called asynchronously,
11781178
returns the request thread.

docusign_admin/client/api_client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -785,8 +785,6 @@ def set_oauth_host_name(self, oauth_host_name=None):
785785
# Derive OAuth Base Path if not given
786786
if self.base_path is None or self.base_path.startswith("https://demo") or self.base_path.startswith("http://demo") or self.base_path.startswith("https://apps-d") or self.base_path.startswith("http://apps-d"):
787787
self.oauth_host_name = OAuth.DEMO_OAUTH_BASE_PATH
788-
elif self.base_path.startswith("https://stage") or self.base_path.startswith("http://stage") or self.base_path.startswith("https://apps-s") or self.base_path.startswith("http://apps-s"):
789-
self.oauth_host_name = OAuth.STAGE_OAUTH_BASE_PATH
790788
else:
791789
self.oauth_host_name = OAuth.PRODUCTION_OAUTH_BASE_PATH
792790

docusign_admin/client/auth/oauth.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ class OAuth(object):
3333
DEMO_OAUTH_BASE_PATH = "account-d.docusign.com"
3434
# Production server base path
3535
PRODUCTION_OAUTH_BASE_PATH = "account.docusign.com"
36-
# Stage server base path
37-
STAGE_OAUTH_BASE_PATH = "account-s.docusign.com"
3836
# JWT Grant Type
3937
GRANT_TYPE_JWT = "urn:ietf:params:oauth:grant-type:jwt-bearer"
4038

docusign_admin/client/configuration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ def __init__(self):
116116
python_version = platform.python_version()
117117

118118
if six.PY3:
119-
self.user_agent = "Swagger-Codegen/v2.1/2.0.0rc1/python3/" + f"{python_version}"
119+
self.user_agent = "Swagger-Codegen/v2.1/2.0.0rc2/python3/" + f"{python_version}"
120120
else:
121-
self.user_agent = "Swagger-Codegen/v2.1/2.0.0rc1/python2/" + f"{python_version}"
121+
self.user_agent = "Swagger-Codegen/v2.1/2.0.0rc2/python2/" + f"{python_version}"
122122

123123

124124
@classmethod
@@ -274,5 +274,5 @@ def to_debug_report(self):
274274
"OS: {env}\n"\
275275
"Python Version: {pyversion}\n"\
276276
"Version of the API: v2.1\n"\
277-
"SDK Package Version: 2.0.0rc1".\
277+
"SDK Package Version: 2.0.0rc2".\
278278
format(env=sys.platform, pyversion=sys.version)

docusign_admin/models/subscription_provision_model_account_create_create_account_details.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class SubscriptionProvisionModelAccountCreateCreateAccountDetails(object):
3939
'site': 'str',
4040
'address': 'DocuSignAccountDomainModelAddress',
4141
'admin_user': 'SubscriptionProvisionModelAccountCreateAccountAdmin',
42-
'billing_profile_type': 'str'
42+
'billing_profile_type': 'int'
4343
}
4444

4545
attribute_map = {
@@ -205,21 +205,23 @@ def admin_user(self, admin_user):
205205
def billing_profile_type(self):
206206
"""Gets the billing_profile_type of this SubscriptionProvisionModelAccountCreateCreateAccountDetails. # noqa: E501
207207
208+
0 stands for Web, 1 stands for Direct # noqa: E501
208209
209210
:return: The billing_profile_type of this SubscriptionProvisionModelAccountCreateCreateAccountDetails. # noqa: E501
210-
:rtype: str
211+
:rtype: int
211212
"""
212213
return self._billing_profile_type
213214

214215
@billing_profile_type.setter
215216
def billing_profile_type(self, billing_profile_type):
216217
"""Sets the billing_profile_type of this SubscriptionProvisionModelAccountCreateCreateAccountDetails.
217218
219+
0 stands for Web, 1 stands for Direct # noqa: E501
218220
219221
:param billing_profile_type: The billing_profile_type of this SubscriptionProvisionModelAccountCreateCreateAccountDetails. # noqa: E501
220-
:type: str
222+
:type: int
221223
"""
222-
allowed_values = ["Web", "Direct"] # noqa: E501
224+
allowed_values = [0, 1] # noqa: E501
223225
if (self._configuration.client_side_validation and
224226
billing_profile_type not in allowed_values):
225227
raise ValueError(

docusign_admin/models/subscription_provision_model_account_create_create_sub_account_details.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class SubscriptionProvisionModelAccountCreateCreateSubAccountDetails(object):
4040
'site': 'str',
4141
'address': 'DocuSignAccountDomainModelAddress',
4242
'admin_user': 'SubscriptionProvisionModelAccountCreateAccountAdmin',
43-
'billing_profile_type': 'str'
43+
'billing_profile_type': 'int'
4444
}
4545

4646
attribute_map = {
@@ -230,21 +230,23 @@ def admin_user(self, admin_user):
230230
def billing_profile_type(self):
231231
"""Gets the billing_profile_type of this SubscriptionProvisionModelAccountCreateCreateSubAccountDetails. # noqa: E501
232232
233+
0 stands for Web, 1 stands for Direct # noqa: E501
233234
234235
:return: The billing_profile_type of this SubscriptionProvisionModelAccountCreateCreateSubAccountDetails. # noqa: E501
235-
:rtype: str
236+
:rtype: int
236237
"""
237238
return self._billing_profile_type
238239

239240
@billing_profile_type.setter
240241
def billing_profile_type(self, billing_profile_type):
241242
"""Sets the billing_profile_type of this SubscriptionProvisionModelAccountCreateCreateSubAccountDetails.
242243
244+
0 stands for Web, 1 stands for Direct # noqa: E501
243245
244246
:param billing_profile_type: The billing_profile_type of this SubscriptionProvisionModelAccountCreateCreateSubAccountDetails. # noqa: E501
245-
:type: str
247+
:type: int
246248
"""
247-
allowed_values = ["Web", "Direct"] # noqa: E501
249+
allowed_values = [0, 1] # noqa: E501
248250
if (self._configuration.client_side_validation and
249251
billing_profile_type not in allowed_values):
250252
raise ValueError(

docusign_admin/models/subscription_provision_model_asset_group_work.py

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ class SubscriptionProvisionModelAssetGroupWork(object):
5757
'source_system': 'str',
5858
'source_id': 'str',
5959
'created_by': 'str',
60-
'created_by_type': 'str',
60+
'created_by_type': 'int',
6161
'created_date': 'datetime',
6262
'updated_by': 'str',
63-
'updated_by_type': 'str',
63+
'updated_by_type': 'int',
6464
'updated_date': 'datetime',
6565
'update_history': 'list[SubscriptionProvisionModelChangeEvent]'
6666
}
@@ -689,21 +689,23 @@ def created_by(self, created_by):
689689
def created_by_type(self):
690690
"""Gets the created_by_type of this SubscriptionProvisionModelAssetGroupWork. # noqa: E501
691691
692+
0 stands for Application, 1 stands for User, 2 stands for Generic, 3 stands for RestAPIAuth, 4 stands for Resource, 5 stands for Restricted # noqa: E501
692693
693694
:return: The created_by_type of this SubscriptionProvisionModelAssetGroupWork. # noqa: E501
694-
:rtype: str
695+
:rtype: int
695696
"""
696697
return self._created_by_type
697698

698699
@created_by_type.setter
699700
def created_by_type(self, created_by_type):
700701
"""Sets the created_by_type of this SubscriptionProvisionModelAssetGroupWork.
701702
703+
0 stands for Application, 1 stands for User, 2 stands for Generic, 3 stands for RestAPIAuth, 4 stands for Resource, 5 stands for Restricted # noqa: E501
702704
703705
:param created_by_type: The created_by_type of this SubscriptionProvisionModelAssetGroupWork. # noqa: E501
704-
:type: str
706+
:type: int
705707
"""
706-
allowed_values = ["Application", "User", "Generic", "RestAPIAuth", "Resource", "Restricted"] # noqa: E501
708+
allowed_values = [0, 1, 2, 3, 4, 5] # noqa: E501
707709
if (self._configuration.client_side_validation and
708710
created_by_type not in allowed_values):
709711
raise ValueError(
@@ -759,21 +761,23 @@ def updated_by(self, updated_by):
759761
def updated_by_type(self):
760762
"""Gets the updated_by_type of this SubscriptionProvisionModelAssetGroupWork. # noqa: E501
761763
764+
0 stands for Application, 1 stands for User, 2 stands for Generic, 3 stands for RestAPIAuth, 4 stands for Resource, 5 stands for Restricted # noqa: E501
762765
763766
:return: The updated_by_type of this SubscriptionProvisionModelAssetGroupWork. # noqa: E501
764-
:rtype: str
767+
:rtype: int
765768
"""
766769
return self._updated_by_type
767770

768771
@updated_by_type.setter
769772
def updated_by_type(self, updated_by_type):
770773
"""Sets the updated_by_type of this SubscriptionProvisionModelAssetGroupWork.
771774
775+
0 stands for Application, 1 stands for User, 2 stands for Generic, 3 stands for RestAPIAuth, 4 stands for Resource, 5 stands for Restricted # noqa: E501
772776
773777
:param updated_by_type: The updated_by_type of this SubscriptionProvisionModelAssetGroupWork. # noqa: E501
774-
:type: str
778+
:type: int
775779
"""
776-
allowed_values = ["Application", "User", "Generic", "RestAPIAuth", "Resource", "Restricted"] # noqa: E501
780+
allowed_values = [0, 1, 2, 3, 4, 5] # noqa: E501
777781
if (self._configuration.client_side_validation and
778782
updated_by_type not in allowed_values):
779783
raise ValueError(

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from setuptools import setup, find_packages, Command, os # noqa: H301
1515

1616
NAME = "docusign-admin"
17-
VERSION = "2.0.0rc1"
17+
VERSION = "2.0.0rc2"
1818
# To install the library, run the following
1919
#
2020
# python setup.py install

0 commit comments

Comments
 (0)