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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [v1.0.0] - WebForms API v1.1.0-1.0.2 - 2024-02-14
## Version 1.0.0 (Initial Release)
- Introducing the SDK based on the OpenAPI specification of DocuSign WebForms APIs.
- This release marks the initial availability of the SDK, providing developers with the necessary tools to interact with DocuSign WebForms APIs seamlessly.
## [v1.0.2rc13] - WebForms API v1.1.0-1.0.2 - 2024-02-13
### Changed
- Updated the SDK release version.
## [v1.0.2rc12] - WebForms API v1.1.0-1.0.2 - 2024-02-09
### Breaking Changes

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The Web Forms API facilitates generating semantic HTML forms around everyday con
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: 1.1.0
- Package version: 1.0.2rc12
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.PythonClientCodegen
For more information, please visit [https://developers.docusign.com/](https://developers.docusign.com/)

Expand Down Expand Up @@ -87,6 +87,7 @@ Class | Method | HTTP request | Description

## Documentation For Models

- [AuthenticationMethod](docs/AuthenticationMethod.md)
- [CreateInstanceRequestBody](docs/CreateInstanceRequestBody.md)
- [HttpError](docs/HttpError.md)
- [HttpSuccess](docs/HttpSuccess.md)
Expand Down
1 change: 1 addition & 0 deletions docusign_webforms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
from .client.auth.oauth import Link

# import models into sdk package
from docusign_webforms.models.authentication_method import AuthenticationMethod
from docusign_webforms.models.create_instance_request_body import CreateInstanceRequestBody
from docusign_webforms.models.http_error import HttpError
from docusign_webforms.models.http_success import HttpSuccess
Expand Down
6 changes: 2 additions & 4 deletions docusign_webforms/client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ def __init__(self, host=None, header_name=None, header_value=None, cookie=None,
self.host = host

self.cookie = cookie
self.oauth_host_name = oauth_host_name
self.base_path = base_path
self.set_oauth_host_name(oauth_host_name)

# Set default User-Agent.
self.user_agent = config.user_agent

Expand Down Expand Up @@ -800,9 +801,6 @@ def set_oauth_host_name(self, oauth_host_name=None):
self.oauth_host_name = oauth_host_name
return

if not oauth_host_name:
raise ArgumentException('oAuthBasePath cannot be empty')

# Derive OAuth Base Path if not given
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"):
self.oauth_host_name = OAuth.DEMO_OAUTH_BASE_PATH
Expand Down
6 changes: 3 additions & 3 deletions docusign_webforms/client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ def __init__(self):
python_version = platform.python_version()

if six.PY3:
self.user_agent = "Swagger-Codegen/1.1.0/1.0.2rc12/python3/" + f"{python_version}"
self.user_agent = "Swagger-Codegen/1.1.0/1.0.0/python3/" + f"{python_version}"
else:
self.user_agent = "Swagger-Codegen/1.1.0/1.0.2rc12/python2/" + f"{python_version}"
self.user_agent = "Swagger-Codegen/1.1.0/1.0.0/python2/" + f"{python_version}"


@classmethod
Expand Down Expand Up @@ -277,5 +277,5 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 1.1.0\n"\
"SDK Package Version: 1.0.2rc12".\
"SDK Package Version: 1.0.0".\
format(env=sys.platform, pyversion=sys.version)
1 change: 1 addition & 0 deletions docusign_webforms/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from __future__ import absolute_import

# import models into model package
from docusign_webforms.models.authentication_method import AuthenticationMethod
from docusign_webforms.models.create_instance_request_body import CreateInstanceRequestBody
from docusign_webforms.models.http_error import HttpError
from docusign_webforms.models.http_success import HttpSuccess
Expand Down
22 changes: 22 additions & 0 deletions docusign_webforms/models/authentication_method.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,28 @@ class AuthenticationMethod(object):
Do not edit the class manually.
"""

"""
allowed enum values
"""
BIOMETRIC = "Biometric"
EMAIL = "Email"
HTTPBASICAUTH = "HTTPBasicAuth"
KERBEROS = "Kerberos"
KNOWLEDGEBASEDAUTH = "KnowledgeBasedAuth"
NONE = "None"
PAPERDOCUMENTS = "PaperDocuments"
PASSWORD = "Password"
RSASECUREID = "RSASecureID"
SINGLESIGNON_CASITEMINDER = "SingleSignOn_CASiteminder"
SINGLESIGNON_INFOCARD = "SingleSignOn_InfoCard"
SINGLESIGNON_MICROSOFTACTIVEDIRECTORY = "SingleSignOn_MicrosoftActiveDirectory"
SINGLESIGNON_OTHER = "SingleSignOn_Other"
SINGLESIGNON_PASSPORT = "SingleSignOn_Passport"
SINGLESIGNON_SAML = "SingleSignOn_SAML"
SMARTCARD = "Smartcard"
SSLMUTUALAUTH = "SSLMutualAuth"
X509CERTIFICATE = "X509Certificate"

"""
Attributes:
swagger_types (dict): The key is attribute name
Expand Down
6 changes: 3 additions & 3 deletions docusign_webforms/models/create_instance_request_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class CreateInstanceRequestBody(object):
'form_values': 'WebFormValues',
'client_user_id': 'str',
'authentication_instant': 'datetime',
'authentication_method': 'str',
'authentication_method': 'AuthenticationMethod',
'assertion_id': 'str',
'security_domain': 'str',
'return_url': 'str',
Expand Down Expand Up @@ -154,7 +154,7 @@ def authentication_method(self):


:return: The authentication_method of this CreateInstanceRequestBody. # noqa: E501
:rtype: str
:rtype: AuthenticationMethod
"""
return self._authentication_method

Expand All @@ -164,7 +164,7 @@ def authentication_method(self, authentication_method):


:param authentication_method: The authentication_method of this CreateInstanceRequestBody. # noqa: E501
:type: str
:type: AuthenticationMethod
"""

self._authentication_method = authentication_method
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from setuptools import setup, find_packages, Command, os # noqa: H301

NAME = "docusign-webforms"
VERSION = "1.0.2rc12"
VERSION = "1.0.0"
# To install the library, run the following
#
# python setup.py install
Expand Down