Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .swagger-codegen/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.13-SNAPSHOT
2.4.21-SNAPSHOT
12 changes: 7 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ 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.

## [v1.0.0b0] - Admin API 1.0.0b3-v2.1-1.0.0 - 2020-07-30
### Added
- First Beta version of Admin API, supports DocuSign Admin
## [1.0.0] - Admin API v2.1-1.0.0 - 2021-09-16
### Changed
- Added support for version v2.1-1.0.0 of the DocuSign Admin API.
- Updated the SDK release version.


## [v1.0.0a0] - Admin API v2.0-1.0.2 - 2020-06-07
## [v1.0.0a0] - OrgAdmin API v2.0-1.0.2 - 2020-06-07
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason this name got changed to the old version

### Added
- First Alpha version of Admin API, supports DocuSign Admin
- First Alpha version of OrgAdmin API, supports DocuSign OrgAdmin
18 changes: 13 additions & 5 deletions docusign_admin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

An API for an organization administrator to manage organizations, accounts and users # noqa: E501

OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand All @@ -26,9 +26,16 @@
from .apis.users_api import UsersApi

# import ApiClient
from docusign_admin.client.api_client import ApiClient
from docusign_admin.client.configuration import Configuration
from docusign_admin.client.api_exception import ApiException
from .client.api_client import ApiClient
from .client.configuration import Configuration
from .client.api_exception import ApiException

from .client.auth.oauth import OAuth
from .client.auth.oauth import OAuthToken
from .client.auth.oauth import Account
from .client.auth.oauth import Organization
from .client.auth.oauth import Link

# import models into sdk package
from docusign_admin.models.add_ds_group_and_users_response import AddDSGroupAndUsersResponse
from docusign_admin.models.add_ds_group_users_response import AddDSGroupUsersResponse
Expand Down Expand Up @@ -130,4 +137,5 @@
from docusign_admin.models.users_drilldown_response import UsersDrilldownResponse
from docusign_admin.models.users_update_response import UsersUpdateResponse

configuration = Configuration()

configuration = Configuration()
2 changes: 1 addition & 1 deletion docusign_admin/apis/accounts_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

An API for an organization administrator to manage organizations, accounts and users # noqa: E501

OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion docusign_admin/apis/bulk_exports_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

An API for an organization administrator to manage organizations, accounts and users # noqa: E501

OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion docusign_admin/apis/bulk_imports_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

An API for an organization administrator to manage organizations, accounts and users # noqa: E501

OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion docusign_admin/apis/ds_groups_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

An API for an organization administrator to manage organizations, accounts and users # noqa: E501

OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion docusign_admin/apis/identity_providers_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

An API for an organization administrator to manage organizations, accounts and users # noqa: E501

OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion docusign_admin/apis/product_permission_profiles_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

An API for an organization administrator to manage organizations, accounts and users # noqa: E501

OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion docusign_admin/apis/reserved_domains_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

An API for an organization administrator to manage organizations, accounts and users # noqa: E501

OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion docusign_admin/apis/users_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

An API for an organization administrator to manage organizations, accounts and users # noqa: E501

OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
4 changes: 2 additions & 2 deletions docusign_admin/client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ def __init__(self):
self.key_file = None

if PY3:
self.user_agent = 'Swagger-Codegen/v2.1/1.0.0b1/python3'
self.user_agent = 'Swagger-Codegen/v2.1/1.0.0/python3'
else:
self.user_agent = 'Swagger-Codegen/v2.1/1.0.0b1/python2'
self.user_agent = 'Swagger-Codegen/v2.1/1.0.0/python2'

@property
def logger_file(self):
Expand Down
2 changes: 1 addition & 1 deletion docusign_admin/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

An API for an organization administrator to manage organizations, accounts and users # noqa: E501

OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
22 changes: 14 additions & 8 deletions docusign_admin/models/add_ds_group_and_users_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

An API for an organization administrator to manage organizations, accounts and users # noqa: E501

OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand All @@ -16,6 +16,8 @@

import six

from docusign_admin.client.configuration import Configuration


class AddDSGroupAndUsersResponse(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Expand All @@ -40,17 +42,18 @@ class AddDSGroupAndUsersResponse(object):
'group_users': 'group_users'
}

def __init__(self, group=None, group_users=None): # noqa: E501
def __init__(self, _configuration=None, **kwargs): # noqa: E501
"""AddDSGroupAndUsersResponse - a model defined in Swagger""" # noqa: E501
if _configuration is None:
_configuration = Configuration()
self._configuration = _configuration

self._group = None
self._group_users = None
self.discriminator = None

if group is not None:
self.group = group
if group_users is not None:
self.group_users = group_users
setattr(self, "_{}".format('group'), kwargs.get('group', None))
setattr(self, "_{}".format('group_users'), kwargs.get('group_users', None))

@property
def group(self):
Expand Down Expand Up @@ -134,8 +137,11 @@ def __eq__(self, other):
if not isinstance(other, AddDSGroupAndUsersResponse):
return False

return self.__dict__ == other.__dict__
return self.to_dict() == other.to_dict()

def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
if not isinstance(other, AddDSGroupAndUsersResponse):
return True

return self.to_dict() != other.to_dict()
25 changes: 15 additions & 10 deletions docusign_admin/models/add_ds_group_users_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

An API for an organization administrator to manage organizations, accounts and users # noqa: E501

OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand All @@ -16,6 +16,8 @@

import six

from docusign_admin.client.configuration import Configuration


class AddDSGroupUsersResponse(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Expand All @@ -42,20 +44,20 @@ class AddDSGroupUsersResponse(object):
'users': 'users'
}

def __init__(self, is_success=None, total_count=None, users=None): # noqa: E501
def __init__(self, _configuration=None, **kwargs): # noqa: E501
"""AddDSGroupUsersResponse - a model defined in Swagger""" # noqa: E501
if _configuration is None:
_configuration = Configuration()
self._configuration = _configuration

self._is_success = None
self._total_count = None
self._users = None
self.discriminator = None

if is_success is not None:
self.is_success = is_success
if total_count is not None:
self.total_count = total_count
if users is not None:
self.users = users
setattr(self, "_{}".format('is_success'), kwargs.get('is_success', None))
setattr(self, "_{}".format('total_count'), kwargs.get('total_count', None))
setattr(self, "_{}".format('users'), kwargs.get('users', None))

@property
def is_success(self):
Expand Down Expand Up @@ -160,8 +162,11 @@ def __eq__(self, other):
if not isinstance(other, AddDSGroupUsersResponse):
return False

return self.__dict__ == other.__dict__
return self.to_dict() == other.to_dict()

def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
if not isinstance(other, AddDSGroupUsersResponse):
return True

return self.to_dict() != other.to_dict()
43 changes: 21 additions & 22 deletions docusign_admin/models/add_user_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

An API for an organization administrator to manage organizations, accounts and users # noqa: E501

OpenAPI spec version: v2
OpenAPI spec version: v2.1
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand All @@ -16,6 +16,8 @@

import six

from docusign_admin.client.configuration import Configuration


class AddUserResponse(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Expand Down Expand Up @@ -54,8 +56,11 @@ class AddUserResponse(object):
'accounts': 'accounts'
}

def __init__(self, id=None, site_id=None, user_name=None, first_name=None, last_name=None, email=None, language_culture=None, federated_status=None, accounts=None): # noqa: E501
def __init__(self, _configuration=None, **kwargs): # noqa: E501
"""AddUserResponse - a model defined in Swagger""" # noqa: E501
if _configuration is None:
_configuration = Configuration()
self._configuration = _configuration

self._id = None
self._site_id = None
Expand All @@ -68,24 +73,15 @@ def __init__(self, id=None, site_id=None, user_name=None, first_name=None, last_
self._accounts = None
self.discriminator = None

if id is not None:
self.id = id
if site_id is not None:
self.site_id = site_id
if user_name is not None:
self.user_name = user_name
if first_name is not None:
self.first_name = first_name
if last_name is not None:
self.last_name = last_name
if email is not None:
self.email = email
if language_culture is not None:
self.language_culture = language_culture
if federated_status is not None:
self.federated_status = federated_status
if accounts is not None:
self.accounts = accounts
setattr(self, "_{}".format('id'), kwargs.get('id', None))
setattr(self, "_{}".format('site_id'), kwargs.get('site_id', None))
setattr(self, "_{}".format('user_name'), kwargs.get('user_name', None))
setattr(self, "_{}".format('first_name'), kwargs.get('first_name', None))
setattr(self, "_{}".format('last_name'), kwargs.get('last_name', None))
setattr(self, "_{}".format('email'), kwargs.get('email', None))
setattr(self, "_{}".format('language_culture'), kwargs.get('language_culture', None))
setattr(self, "_{}".format('federated_status'), kwargs.get('federated_status', None))
setattr(self, "_{}".format('accounts'), kwargs.get('accounts', None))

@property
def id(self):
Expand Down Expand Up @@ -316,8 +312,11 @@ def __eq__(self, other):
if not isinstance(other, AddUserResponse):
return False

return self.__dict__ == other.__dict__
return self.to_dict() == other.to_dict()

def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
if not isinstance(other, AddUserResponse):
return True

return self.to_dict() != other.to_dict()
Loading